Commit Graph

2489 Commits

Author SHA1 Message Date
YANG QIA
d35f67d2e1
feat(app): add clear cache button (#1909) 2023-05-22 17:16:12 +08:00
ChengLei Shao
5288cbb1cf
fix: eager load belongs to many association (#1906) 2023-05-22 16:09:37 +08:00
被雨水过滤的空气-Rairn
e27cff15c9
feat: support to-multi field variables (#1680)
* feat: support to parse association variable

* chore: change comment

* feat(operators): support array as value in string operator

* refactor: add a special marker

* feat: date support to-multi field variables

* feat: support for notIn

* refactor: rename

* test: fix test error

* Revert "test: fix test error"

This reverts commit 3d139698f6295678a39b77b08c88427f9fafe247.

* Revert "refactor: rename"

This reverts commit 2e16225c038e18ee25f1136d510cb4746bd9932f.

* Revert "feat: support for notIn"

This reverts commit 2087e5c4da1429b260890d5136c714ad541955a9.

* Revert "feat: date support to-multi field variables"

This reverts commit 0d7b2db0512ba7b632a2ab61f37cf83c0d06b9a1.

* Revert "refactor: add a special marker"

This reverts commit 7ba2e4bc00d79f60a2e90340df65b2938985750a.

* Revert "feat(operators): support array as value in string operator"

This reverts commit 0897cd19e9863248ef9e2af6c91ee14e805778a4.

* refactor: improve code

* test: fix can not import style file

* feat: only eq and ne oprators support mutil relation fields

* test: add example.test.ts

* refactor: remove jsonata

* Revert "test: add example.test.ts"

This reverts commit 0ad2ea458cd8a964891490d2021a5b000f391395.

* test: fix error

* fix: fix error

* refactor: remove async

* chore: rebase

* test: fix error

* test: fix errors
2023-05-21 17:18:35 +08:00
ChengLei Shao
aabc681245
fix: append belongs to association with fields (#1894) 2023-05-20 21:31:27 +08:00
ChengLei Shao
ccdc05b30b
fix: appends belongs to association (#1893)
* fix: merge stage in eager loading tree

* chore: test
2023-05-20 20:36:07 +08:00
katherinehhh
cb2feb304d
fix: preload relational data (#1847)
* fix: getNesterAppends filter bug

* fix: associationSelect

* fix: associationSelect

* fix: associationSelect

* fix: getAssociationAppends

* fix: sub-form collection context

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* fix: appends

* fix: sub-table-appends

* fix: undefine id

* fix: sub-table appends

* fix: sub-table-appends

* fix: sub-table-appends

* fix:  association field appends

* fix:  association field appends

* fix:  association field appends

* fix: sub-table appends

* fix: runWhenParamsChanged

* fix: runWhenParamsChanged

* chore: eager loading tree

* feat: load eager loading tree

* fix: support mutiple row

* fix: support blockTemplate appends

* feat: merge stage of eager loading

* feat: merge stage of belongs to

* feat: merge stage of has one

* fix: dynamic appends not support template schema

* feat: merge stage of belongs to many

* chore: test

* chore: print tree

* chore: using eager loading tree in repository find

* fix: empty ids load

* fix: belongs to many query

* fix: load belongs to  association

* fix: eager load data accessor

* fix: has many

* fix: test

* fix: useAssociationNames

* fix: filter with appends

* chore: remove handle appends query

* chore: console.log

* chore: console.log

* fix: test

* fix: support template block schema

* fix: sub-nester-appends

---------

Co-authored-by: Chareice <chareice@live.com>
2023-05-20 17:42:26 +08:00
YANG QIA
eac034cb23
feat: support reboot application manually (#1889)
* feat(reload-btn): reload application manually

* feat(app): support reboot

* feat: collections load after upgrade

* feat(reboot): support reboot manually

* chore(reboot): some typo

* fix(reboot): fix storage path

* fix(reboot): change restart file path

* fix: menu divider

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-19 20:34:22 +08:00
ChengLei Shao
c0ef071baf
Refactor/append fields (#1883)
* chore: eager loading tree

* feat: load eager loading tree

* feat: merge stage of eager loading

* feat: merge stage of belongs to

* feat: merge stage of has one

* feat: merge stage of belongs to many

* chore: test

* chore: print tree

* chore: using eager loading tree in repository find

* fix: empty ids load

* fix: belongs to many query

* fix: load belongs to  association

* fix: eager load data accessor

* fix: has many

* fix: test

* fix: filter with appends

* chore: remove handle appends query

* chore: console.log

* chore: console.log

* fix: test
2023-05-19 16:39:00 +08:00
ChengLei Shao
ac5f3fd67e
chore: pg sql parser (#1890) 2023-05-19 15:30:44 +08:00
Junyi
16444ae6ab
fix(plugin-workflow): fix language (#1886) 2023-05-18 08:27:18 -07:00
katherinehhh
27cdd7b78a
fix: field required when setting sorting rules (#1885) 2023-05-18 22:23:47 +08:00
Junyi
2060bd4d44
feat(plugin-workflow): add node description to drawer when edit node (#1882)
* feat(plugin-workflow): add node description to drawer when edit node

* fix(plugin-workflow): fix manual description

* fix(plugin-workflow): fix languages
2023-05-18 19:42:30 +08:00
chenos
e0646650f0 fix(database): migrations table name missing table prefix 2023-05-18 14:51:51 +08:00
chenos
a26ac4f217 docs: routes demo 2023-05-17 18:06:19 +08:00
Junyi
c988c3705a
fix(plugin-workflow): fix variable api caller in loop (#1877) 2023-05-17 17:29:18 +08:00
chenos
be50cb5929 chore: remove link to field and association fields filter 2023-05-17 17:04:33 +08:00
Chareice
390c12ab2d fix: sub app running mode when standlone deploy 2023-05-17 16:07:24 +08:00
katherinehhh
63f7112e0a
feat(association-field): default one data for to-many association (#1873)
* refactor: default one data for multiple association

* refactor: default one data for multiple association

* refactor: default one data for multiple association

* fix: initial value

* fix: add new

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-17 14:26:11 +08:00
Junyi
0264d89d14
fix(plugin-workflow): fix trigger title when workflow not loaded (#1875) 2023-05-17 14:24:50 +08:00
Junyi
f4064767c6
feat(plugin-workflow): aggregate (#1852)
* feat(plugin-workflow): add aggregate instruction

* test(plugin-workflow): add test cases

* fix(plugin-workflow): fix types

* fix(plugin-workflow): fix double result type

* test(plugin-workflow): fix test cases in mysql

* refactor(plugin-workflow): consolidate variables api

* fix(plugin-workflow): fix create node variable

* fix(plugin-workflow): fix aggregate association name

* fix(plugin-workflow): fix test cases

* fix(plugin-workflow): fix aggregate node config for duplication

* fix(plugin-workflow): fix variable api

* fix(plugin-workflow): fix variable api caller

* fix(plugin-workflow): fix job button style
2023-05-17 13:37:03 +08:00
JoGosGitHub
770f53ec4e
Feat/translation es_ES (#1801)
* feat: client and plugin translation ES

* fix: es translation

* fix: es translation
2023-05-17 11:39:37 +08:00
Dunqing
fdca52ae60
fix: data is not updated when appends are changed (#1872) 2023-05-17 11:38:42 +08:00
katherinehhh
3603b2fe23
fix:association select no options when clearing filter (#1866)
* fix: inherit fields filter Foreign Key fields

* fix: association select no options displayed when clearing filter

* fix: association select no options displayed when clearing filter
2023-05-17 11:37:54 +08:00
chenos
3b8af6e863 feat(client): change the order of blocks 2023-05-17 11:36:41 +08:00
YANG QIA
f5d6dd7d09
fix(acl): issue with repeated createdById field (#1871) 2023-05-16 20:33:05 +08:00
Rairn
fbbd90ca3c chore: avoid error 2023-05-16 20:16:45 +08:00
Rairn
2e4636a8ca chore: avoid errors generated by collectionField 2023-05-16 20:09:36 +08:00
Rairn
8ba90b126f fix: avoid error 2023-05-16 19:51:07 +08:00
Junyi
0eb1c31514
feat(client): allow search by title in collection select (#1869) 2023-05-16 02:07:56 -07:00
ChengLei Shao
29956150ba
chore: skip get standalone deployment sub application (#1868)
* chore: skip get standalone deployment sub application

* feat: standalone deployment

* fix: link

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-16 16:38:17 +08:00
Junyi
9931e6a486
fix(plugin-workflow): remove useless context option (#1867) 2023-05-15 23:16:13 -07:00
katherinehhh
190ba4db1f
fix: inherit fields filter Foreign Key fields (#1864) 2023-05-16 11:28:35 +08:00
Junyi
238af440e3
feat(plugin-workflow): loop (#1787)
* feat(plugin-workflow): add loop instruction

* fix(plugin-workflow): fix lint error

* feat(plugin-workflow): add loop variable in client

* feat(plugin-workflow): refactor and add job list to nodes in execution

* feat(plugin-workflow): allow to query multiple records

* fix(plugin-workflow): fix i18n

* fix(plugin-workflow): fix undefined value in component

* fix(plugin-workflow): fix parse context value with current node

* fix(plugin-workflow): fix revision with scope variable

* test(plugin-workflow): add failing case

* fix(plugin-workflow): fix revision with scope variable

* chore(plugin-workflow): fix lint errors

* fix(plugin-workflow): fix workflow canvas page style

* fix(plugin-workflow): revert abstracted node config drawer back to each node

* fix(plugin-workflow): fix parallel extra call

* fix(plugin-workflow): fix parallel branch end

* fix(plugin-workflow): fix jobs variable in processor

* fix(plugin-workflow): fix workflow canvas scroll style

* fix(plugin-workflow): fix slowly opening job modal

* fix(plugin-workflow): fix cycling reference
2023-05-15 18:45:45 -07:00
katherinehhh
8cf3c40ad4
fix: insertAdjacent not find (#1861) 2023-05-16 09:20:45 +08:00
katherinehhh
d58174011c
refactor(add-new):association field add new support button edit (#1854)
* feat: assoociation add new supoort button edit

* feat: assoociation add new supoort button edit

* fix: add new button type

* refactor: add new support button edit
2023-05-16 09:06:03 +08:00
Dunqing
3a77e4376a
feat: support List and Grid Card block (#1753)
* feat: support details block

* feat: rename to list

* fix: imports

* feat: improve list block

* feat: support title hidden

* fix: showTitle default value

* feat: support table column actions

* feat: support appendsOnDemand

* feat: reuse same schema items

* feat: shouldn't display pagination when pages only one

* feat: block order

* feat: support card list

* fix: appends on demand

* fix: remove unused code

* fix: params

* fix: improve default pageSize

* feat: improve performance

* feat: add title designer

* feat: improve huge performance

* fix: better key

* feat: improve schema perf

* feat: improve initializer

* fix: improve grid perf

* fix: avoid haven't properties

* feat: support automatic run service when params changed

* fix: revert params

* fix: grid col width

* refactor: improve CardList performance

* fix: initializer related

* feat: i18n supports

* fix: improve get schema

* fix: create new form

* fix: revert code

* feat: css improve

* fix: i18n copy

* refactor: the CardList rename to GridCard

* feat: remove AssociationFilter item

* fix: edit and view data is incorrect

* feat: remove bulk actions

* feat: improve action bar

* feat: supports configuration of columns with different screen sizes

* fix: incorrect place to save the template

* feat: keep height in all card

* fix: remove console

* fix: rename

* refactor: improve GridCard implementation

* feat: support import/export actions

* fix: remove padding when actions is empty

* fix: remove incorrect import

* fix: remove unused props

* fix: action place

* feat: improve column count

* refactor: remove appendsOnDemand, and use useAssociationNames instated it

* fix: incorrect component

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-16 09:05:47 +08:00
被雨水过滤的空气-Rairn
19a33dfe74
fix: fix multi-select field not show 'Allow multiple' switch (#1857)
* fix: fix multi-select field not show 'Allow multiple' switch

* fix: use uiSchema
2023-05-15 15:26:46 +08:00
katherinehhh
d2e92ead7f
fix: field for attachment interface type without appends (#1856)
* fix: attachment without appends

* fix: association fields  appends
2023-05-15 11:08:38 +08:00
chenos
83749ccd53 fix(client): import declaration conflicts with local declaration of 'DeletedField' 2023-05-15 11:06:31 +08:00
李小斐
975b7dfe93
fix: action error when field deleted (#1849)
* fix: action error when field deleted

* fix: delete field cannot set dynamic value
2023-05-15 09:34:14 +08:00
ChengLei Shao
1c757bd025
feat: support running single sub app (#1853) 2023-05-14 16:48:53 +08:00
Rairn
ff6f37c589 refactor(Form): rename 2023-05-13 11:06:33 +08:00
katherinehhh
77b7adb97c
fix: assign field with delete field (#1850) 2023-05-13 11:01:01 +08:00
chenos
3a8db04161 fix: use AssignedField 2023-05-13 10:51:32 +08:00
chenos
901c05bc35 fix: dropdownMatchSelectWidth: false 2023-05-12 14:33:20 +08:00
katherinehhh
81b3afb57b
fix: title field in assign fields value (#1848) 2023-05-12 13:42:18 +08:00
chenos
94284c6210 fix: mode undefined 2023-05-12 10:20:02 +08:00
katherinehhh
3fcdd94549
fix:association appends (#1842)
* fix: getNesterAppends filter bug

* fix: associationSelect

* fix: associationSelect

* fix: associationSelect

* fix: getAssociationAppends

* fix: sub-form collection context

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve
2023-05-12 07:20:27 +08:00
Junyi
6c149aadfc
feat(plugin-workflow): add delete button in workflow canvas page (#1844)
* feat(plugin-workflow): add delete button in workflow canvas page

* fix(plugin-workflow): fix redirect url after deleted

* fix(plugin-workflow): fix antd version
2023-05-11 07:48:10 -07:00
Rairn
eccfac5666 fix: fix translations 2023-05-11 16:59:25 +08:00
Rairn
d34b3fc5e3 chore: add translations 2023-05-11 16:56:05 +08:00
katherinehhh
a7dcbf4288
fix(block-provider): getNesterAppends filter fix (#1839)
* fix: getNesterAppends filter bug

* fix: associationSelect
2023-05-11 15:45:47 +08:00
ChengLei Shao
f8fa36d016
feat: repository aggregate method (#1829)
* feat: repository aggregate method

* chore: aggregate with distinct

* feat: has many repository aggregation

* feat: belongs to  many repository aggregation

* chore: using model aggregate method

* chore: aggregate with association filter

* chore: aggregate type

* chore: type error
2023-05-11 15:16:33 +08:00
chenos
cf0a921f85 chore(versions): 😊 publish v0.9.3-alpha.1 2023-05-11 12:49:18 +08:00
katherinehhh
55efa40cdd
refactor: association field (#1838)
* feat: association field

* fix: bug

* refactor: association field

* style: style improve

* style: style improve

* refactor: support subtable

* refactor: support file collection

* refactor: locale improve

* refactor: subtable improve

* refactor: association select  improve

* refactor: association select  improve

* refactor: association select  improve

* refactor: useAssociationNames

* refactor: enable link

* refactor: selector

* refactor: selector

* refactor: locale improve

* refactor: on demand loading of relational data

* refactor: locale improve

* refactor: select button

* refactor: association field

* refactor: formformBlock provider

* refactor: formformBlock provider

* refactor: internalSelect recordPicker

* refactor: formBlocklockProvider

* fix: addNewer schema

* fix: useServiceOptions

* fix: useCreateActionProps

* fix: useCreateActionProps

* refactor: nester delete

* refactor: nester delete in detail

* refactor: subTable suport select

* refactor: subTable suport select

* style: style improve

* style: style improve

* chore: fileManger

* fix: association readPrety

* fix: filemanger

* refactor: field mode

* refactor: enable link

* chore: error message

* refactor: association schemaInitialize

* refactor: association schemaInitialize

* refactor: currentMode

* refactor: field mode default value

* fix: file manage readPretty

* fix: appends

* chore: file manage readPretty

* fix: updateAssociationValues

* fix: updateAssociationValues

* fix: updateAssociationValues

* fix: nester appends

* fix: nester appends

* fix:  tree collection association fields

* fix:  tree collection association fields

* fix: nester appends

* fix: subtable to select field value missing

* fix: subtable to select field value missing

* fix: compatible with historical blocks

* fix: compatible with historical blocks

* fix: compatible with historical blocks

* feat: add migration

* fix: filter block allow add new

* fix: compatible with historical blocks

* fix: skip if not RecordPicker

* fix: compatible with historical blocks

* fix: detail block not support nester

* fix: association select support data scope and sort setting

* fix: appends on demand loading

* fix: asociationSelect support multiple

* fix: recordPicker -> AssociationField

* fix: add migration

* fix: audit logs not show assication data

* fix: flattenNestedList

* refactor: file manager field mode

* refactor: field mode refactor

* fix: subtable action

* fix: subtable appends

* refactor: code improve

* fix: nester add new

* feat: sub table

* fix: data scope not effect immediately

* fix: association add new

* fix: association field failed to  add new and mutual influence

* style: style improve

* style: style improve

* refactor: updateAssociationValues

* refactor: form init values

* refactor: select options

* fix: form initialValues

* fix: record picker values

* fix: field value change when field mode change

* fix: select data scope

* feat: add migration

* fix: table column enable link

* fix: table column enable link

* refactor: locale improve

* fix: migration

* fix: mutiple config

* fix: readPretty enable link

* fix: appends on demand

* fix: enable link style

* refactor: locale improve

* refactor: locale improve

* feat: sub-form migration

* fix: skip migration

* fix: translation

* fix: skip migration

* fix: getLabelFormatValue

* fix: error TS2339: Property 'find' does not exist on type 'string | SchemaEnum<any>'

* refactor: remove the logic code for converting old record picker

* refactor: locale

* refactor: locale

* fix: sub-table should not support add new

* refactor: code improve

* refactor: locale

* fix: compatibility history Subtable

* fix: improve

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
2023-05-11 12:47:31 +08:00
ChengLei Shao
ecd7540f7a
fix: tree with fields option (#1833) 2023-05-10 16:32:36 +08:00
Junyi
fab448c486
fix(client): fix ime status in variable textarea (#1832) 2023-05-10 00:57:59 -07:00
ChengLei Shao
8183ff5564
chore: should not return children property when child nodes are empty (#1825) 2023-05-09 16:48:40 +08:00
ChengLei Shao
088acd906d
fix: tree with sort field (#1822) 2023-05-09 12:10:53 +08:00
Junyi
7fcdc5d336
fix(plugin-workflow): select menu width (#1820) 2023-05-07 22:50:43 -07:00
ChengLei Shao
2c29daedb5
fix: filter with appends (#1819) 2023-05-08 11:18:42 +08:00
Rairn
c8c081eba5 fix(filter-form): avoid error 2023-05-08 07:25:54 +08:00
ChengLei Shao
7b550ce5aa
Fix/filter by array field (#1813)
* test: filter by association array field

* fix: match operator in pg

* chore: cast
2023-05-07 23:08:41 +08:00
ChengLei Shao
b3d4e47ef3
Fix/empty tree query (#1814)
* fix: empty tree query

* fix: traverse get
2023-05-07 23:08:20 +08:00
katherinehhh
8aee0eef9b
fix: association scope inherit (#1806) 2023-05-06 21:44:01 +08:00
ChengLei Shao
54432a4314
fix: update tree node (#1812)
* fix: update tree node

* chore: test
2023-05-06 15:14:05 +08:00
ChengLei Shao
258f4e980d
fix: list trees (#1810)
* fix: list trees

* fix: test
2023-05-06 14:28:13 +08:00
ChengLei Shao
b8c85c91b4
test: filter nested association (#1802)
* test: filter nested association

* chore: log

* fix: tree instance to json

* ci: test case

* chore: test

* chore: log

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-06 07:55:26 +08:00
Jack
d0edc6ce3f
fix: table configuration delete button problem (#1764)
* fix: table configuration delete button problem

* fix: change copy

* refactor: optimize code

---------

Co-authored-by: Rairn <958414905@qq.com>
2023-05-05 11:30:10 +08:00
李小斐
7feeda4906
fix: fix Menu dismiss on Drag&Drop (#1772) 2023-05-05 11:03:49 +08:00
katherinehhh
89938191a3
fix(linkage-rule): condition variable field is allow select To many association fields (#1798)
* fix: linkage rule condiction variables allow select to manyassociation field

* fix: linkage rule condiction variables filter

* fix: linkage rule condiction variables filter
2023-05-05 10:59:33 +08:00
katherinehhh
6d342d0643
chore: duration calculation (#1770) 2023-05-05 10:51:25 +08:00
ChengLei Shao
e5d286a131
fix: tree performance (#1779)
* chore: tree performance

* chore: build index value

* chore: get tree index

* fix: children key

* fix: test

* fix: tree child to json

* fix: tree with fields
2023-05-05 10:33:44 +08:00
Rairn
9be1f7ac61 fix(RecordPicker): avoid error 2023-05-04 18:14:34 +08:00
black
5c29262c95
fix: close the drawer incorrectly after submit (#1775) 2023-05-03 23:11:52 +08:00
ChengLei Shao
d4636311e8
Fix/recreate association field (#1789)
* chore: test

* fix: recreate association with same name as field
2023-05-03 08:05:55 +08:00
black
cba7de55d8
fix: drop repeated "Connect data blocks" (#1763) 2023-05-02 17:05:12 +08:00
katherinehhh
03f845246e
fix: failed to open child collections add new modal (#1780) 2023-04-30 11:21:24 +08:00
Junyi
eb0089190e
fix(utils): fix json-templates bug and moved to utils (#1784) 2023-04-28 22:22:08 +08:00
Junyi
4db3b283b0
fix(evaluators): fix date result in variable (#1781) 2023-04-28 14:50:35 +08:00
Rairn
23ad507261 chore: fix lint errors 2023-04-27 15:22:34 +08:00
李小斐
7ddc5fb33c
fix: fix button design about edit action (#1755)
* fix: fix button design about edit action

* fix: fix import module

* Update packages/core/client/src/schema-component/antd/expand-action/Expand.Action.Design.tsx

Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>

* Update packages/core/client/src/schema-component/antd/expand-action/Expand.Action.tsx

Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>

* Update packages/core/client/src/schema-component/antd/expand-action/Expand.Action.tsx

Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>

* fix: fix merge error

---------

Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>
2023-04-27 15:09:45 +08:00
ChengLei Shao
f0816c663e
chore: enable overring field default value (#1777) 2023-04-27 13:36:41 +08:00
chenos
923f6e7884 chore(versions): 😊 publish v0.9.2-alpha.4 2023-04-26 22:33:55 +08:00
chenos
77a6cbf773 chore: cleanup 2023-04-26 22:32:45 +08:00
ChengLei Shao
76527465f3
feat: node args in pm2 runtime (#1774) 2023-04-26 20:54:38 +08:00
被雨水过滤的空气-Rairn
e45b3ce95c
fix: hide default value for expression (#1765) 2023-04-26 00:23:31 -07:00
被雨水过滤的空气-Rairn
07d1c7ccc0
fix(AssociationSelect): fix x-read-pretty not working (#1766)
* fix: the default value input should not be disabled

* fix(AssociationSelect): fix x-read-pretty not working
2023-04-26 13:54:15 +08:00
Jack
de5260bc2c
fix: fixed the configuration field filter (#1742)
* fix: fixed the configuration field filter

* fix: batch update filter automatic number field

* refactor: optimize code

---------

Co-authored-by: Rairn <958414905@qq.com>
2023-04-26 11:20:58 +08:00
black
00b3c8c257
fix(filter-block): fix association fields not being filtered (#1758) 2023-04-26 10:43:48 +08:00
被雨水过滤的空气-Rairn
95e4e7e7b0
fix(variable-input): fix style (#1761)
* fix(variable-input): fix style

* refactor: avoid lint error

* feat: add invariable

* fix: fix the default value variable of the expression is empty
2023-04-26 09:56:25 +08:00
ChengLei Shao
9101bbbb1b
chore: skip sync overriding field default value (#1762)
* chore: skip sync overriding field default value

* chore: test

* chore: override field does not allow setting default values

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-04-25 19:31:16 +08:00
katherinehhh
5d95eed09a
fix: gantt abnormal drag and drop update action (#1760) 2023-04-25 17:59:31 +08:00
Rairn
bc8d81333b fix: fix error when clear RecordPicker 2023-04-25 16:45:03 +08:00
Rairn
0a8fd44816 fix: fix error with setting default value for date type 2023-04-25 16:18:08 +08:00
Rairn
ea33974ec5 fix: the default value Input should not be disabled and hidden 2023-04-25 16:05:15 +08:00
chenos
9756dd134b chore(versions): 😊 publish v0.9.2-alpha.3 2023-04-25 13:15:40 +08:00
chenos
883f1e6fd1
fix: eslint (#1759)
* fix: eslint

* fix: eslint --fix

* fix: changelog
2023-04-25 13:12:14 +08:00
chenos
fb997bc6b3 fix: remove updateCollection 2023-04-24 23:40:34 +08:00
chenos
e087be887b fix(collection-manager): filter null 2023-04-24 22:56:37 +08:00
李小斐
c03d271481
feat: deleted collection field give some tips (#1744)
* feat: deleted collection field give some tips

* chore: optimize traslation

---------

Co-authored-by: Rairn <958414905@qq.com>
2023-04-24 21:49:56 +08:00
被雨水过滤的空气-Rairn
cd596925ee
chore: optimize the white screen problem (#1639)
* chore: add react-error-boundary

* fix: optimize the white screen problem

* fix: fix translation
2023-04-24 16:40:02 +08:00
Rairn
5fa490e9a1 fix(data-templates): fix unselectable problem 2023-04-24 16:14:55 +08:00
Rairn
d79af627ec fix: avoid errors 2023-04-24 15:21:42 +08:00
李小斐
fbe73d1e80
fix: plugin-manage and designable-switch add tooltip (#1749) 2023-04-24 14:29:26 +08:00
Rairn
5868cfa8a0 fix(collection-manager): fix incorrect grouping 2023-04-24 10:44:35 +08:00
Rairn
7d63262f8e fix: avoid errors 2023-04-24 10:29:01 +08:00
Rairn
460d69fba8 fix(collection-manager): should expand all rows by default when adding a new field 2023-04-24 10:10:37 +08:00
Rairn
683db5b3ba fix(collection-manager): fix table layout 2023-04-23 18:30:07 +08:00
YANG QIA
25d2ebf02a
chore(comment): collectionOptions.duplicator (#1752) 2023-04-23 18:29:48 +08:00
李小斐
6d693a5ab6
fix: custom column title, same as form field title (#1745) 2023-04-23 18:29:17 +08:00
被雨水过滤的空气-Rairn
b1068f2d51
feat: support to use variables to set default value (#1726)
* fix: fix the default value being overwriitten

* feat: supports association fields to set default value

* feat: support to toggle multiple

* feat: support to use variables to set default value

* refactor: migrate hooks

* fix: fix the title disappearing

* feat: suport to use current-user variable

* fix: fix error

* fix: one to one and one to many should not support to set default value

* fix: fix error when searching

* style: set the width of modal

* fix: should not support to set default value for system fields

* refactor: fix lint error

* style: optimize inputNumber width

* refactor: extract to one function

* refactor: extract function

* fix: should not display default when field is readPretty

* style: optimize width of select

* fix: avoid error

* fix: should not display multiple option when subtable

* fix: should not display default when attachment

* fix: chinaRegion

* chore: optimize code

* fix: build error

* fix: multiple should be true by default

* refactor: optimize code

* fix: fix Select multiple mode

* refactor: optimize code

* fix: width
2023-04-23 18:27:21 +08:00
Junyi
eac3c6f0c8
fix(plugin-workflow): request headers and params should support input (#1750) 2023-04-23 01:51:56 -07:00
Rairn
7b9bfa116f refactor: fix lint error 2023-04-22 12:36:07 +08:00
Junyi
4c232980b5
fix(client): fix initializer meno props based on antd@^4.24 (#1746) 2023-04-22 11:27:19 +08:00
被雨水过滤的空气-Rairn
71af0f16a9
fix: improve the display of the title field (#1741)
* fix: fix the displaying problem of Select

* fix: fix error

* fix: filter out fields

* feat: format date

* feat: optimize

* fix: fix error

* feat: use the default title field

* fix: fix bug
2023-04-22 11:04:10 +08:00
Jack
7b892cec50
fix: batch edit deletes relational table fields (#1743) 2023-04-22 11:01:16 +08:00
katherinehhh
564fe24c8a
style: automatically omit table cell content based on width (#1646)
* style: automatically omit cell content based on width

* fix: cell tooltips are only displayed when the width is exceeded

* chore: multiple select ellipsis in table collection

* fix: no automatic thumbnail when table column content exceeds width

* refactor: table ellipsis

* refactor: isOverflowTooltip
2023-04-22 10:36:21 +08:00
被雨水过滤的空气-Rairn
3c884cdd36
feat(collection-manager): support for setting the title field (#1729)
* feat: configure fields

* feat: edit

* feat: enable delete action

* style: indent style

* feat: support to override and view inherited fields

* feat: support to delete and add field and sync

* fix: should delete the seleted option

* feat: support to setting title field

* feat: avoid infinite loops and add default title field

* feat(data-templates): use titleField to display title

* fix: fix the pagination of collection manager

* feat: add prompt for title field switch

* feat: filter field types

* feat: not use title switch when field interface is icon

* feat: translate

* fix: sync update collections data

* feat: translate

* fix: fix build error

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-21 11:19:59 +08:00
chenos
5930218811
fix: acl scope support variables (#1660)
* fix: acl scope support variables

* fix: parse filter

* fix: dynamicComponent
2023-04-21 11:13:43 +08:00
black
9c4f1a8d7f
fix: filter-condition-update-incorrectly(switch "and"、"or") (#1737) 2023-04-21 11:04:46 +08:00
Junyi
5d2724583c
fix(plugin-workflow): fix foreignkey in variable (#1740) 2023-04-20 19:52:13 -07:00
Junyi
673c246eed
fix(plugin-formula): remove showUnchecked option (#1730) 2023-04-20 19:23:53 -07:00
Junyi
edd2ec7fe6
fix(plugin-workflow): fix manual migration script (#1735) 2023-04-20 02:09:17 -07:00
Dunqing
8352f1a7a3 fix: remove unwanted semicolons 2023-04-20 16:03:22 +08:00
Liz
4b91b2575a
fix: correcting misspelled word (#1731)
line 160: Plugin staring --> Plugin starting
2023-04-20 10:46:43 +08:00
被雨水过滤的空气-Rairn
c02544c68b
fix(FilterFormBlock): fix association field can not to filter (#1699)
* feat: add getValuesByPath

* fix(FilterFormBlock): fix association field can not to filter

* test: hasMany filter test

* fix: remove null in filter

* fix: fix not responding for filter button

* fix: fix oho and o2m and obo

* fix: fix isInFilterFormBlock

* fix: fix errors

* fix: should filter out when params is empty

---------

Co-authored-by: chareice <chareice@live.com>
2023-04-19 23:06:20 +08:00
Dunqing
1260a8df8b
fix: missing spacing after dragging (#1671)
* fix: missing spacing after dragging

* fix: avoid scrollbar

* Update Grid.tsx

remove unused code
2023-04-19 23:00:02 +08:00
chenos
b0aa0e2c41 fix: check if primary key exists 2023-04-19 22:44:34 +08:00
ChengLei Shao
ddb6d69676
fix: load view collection (#1727)
* fix: load view collection

* refactor: using graphlib at collections load

* test: destory through collection

* feat: throw error when collection manager cycle found

* test: view collection as through collection
2023-04-19 17:59:49 +08:00
chenos
fa1785316d fix(client): option.schema?.['x-component'] 2023-04-19 16:20:20 +08:00
chenos
3dfd5a1f7a chore(versions): 😊 publish v0.9.2-alpha.2 2023-04-19 13:10:55 +08:00
saxon-y
3e2b0a3e89
fix: press enter to reload when the Pagination is focused (#1720) 2023-04-19 12:22:01 +08:00
Junyi
a5b4684a48
refactor(plugin-workflow): change single form to custom form block (#1707)
* refactor(plugin-workflow): change single form to custom form block

* fix(plugin-workflow): fix migration

* fix(plugin-workflow): fix manual node initializer

* test(plugin-workflow): migrate test cases

* refactor(plugin-workflow): split custom form code

* fix(plugin-workflow): fix types

* refactor(plugin-workflow): change manual form config data structure

* fix(plugin-workflow): fix no options manual node variable

* fix(plugin-workflow): fix migration script
2023-04-18 18:41:18 -07:00
Junyi
422429e772
refactor(plugin-workflow): migrate menu items to options (#1724) 2023-04-18 06:46:59 -07:00
Junyi
a3a91965c7
fix(client): fix error on clear value in variable input (#1723) 2023-04-18 06:44:53 -07:00
被雨水过滤的空气-Rairn
2d2e949452
fix(record-picker): fix the table paging problem (#1718)
* fix(record-picker): fix the table paging problem

* fix(recorder-picker): de-duplication
2023-04-18 10:23:27 +08:00
Dunqing
42152568ee
fix(map-plugin): some data is incorrect (#1717)
* fix: data is incorrect

* fix: the data is incorrect when switch page at details

* feat: improve map configuration

* fix: shouldn't display tip when type = point

* fix: cache
2023-04-17 21:31:24 +08:00
katherinehhh
f5df009465
fix: data scope not effect in gantt (#1716) 2023-04-17 18:05:24 +08:00
katherinehhh
eeb07112c7
fix: button loading does not disappear when the operation submit failed (#1698)
* fix: button loading does not disappear when the view operation submission failed

* fix: add field button loading

* refactor: code improve
2023-04-17 17:20:35 +08:00
katherinehhh
12f95810d0
fix(linkage rule):multiple select condition judgment failed (#1715)
* fix: linkageCollectionFilterOptions

* fix: multiple select  condition judgment failed

* fix: multiple select  condition judgment failed

* fix: multiple select  condition judgment failed
2023-04-17 17:19:54 +08:00
ChengLei Shao
9fc8f5389b
Fix/save through table data (#1714)
* fix: save through table data

* chore: variable name

* fix: format
2023-04-17 14:46:16 +08:00
Dunqing
1654b42037
feat: improve ui design for linkage action (#1659)
* feat: improve ui design for linkage action

* revert

* fix: not working
2023-04-17 10:30:13 +08:00
被雨水过滤的空气-Rairn
06d67a93ab
feat(map): support to filter other blocks (#1691)
* feat(Map): support to filter other blocks

* feat: highlight marker when selected

* feat: clear filter params when cancel connect

* feat: support line and polygon
2023-04-17 10:12:49 +08:00
katherinehhh
e8bb962389
refactor: improve linkage rule enable (#1700) 2023-04-17 09:28:22 +08:00
Rairn
76faa9e30c fix(data-templates): filter out some fileds 2023-04-16 19:14:12 +08:00
Rairn
11fb951b55 fix(data-templates): should also show data-templates option when add new subrecord 2023-04-16 18:57:25 +08:00
ChengLei Shao
221c90d835
fix: find fields arg (#1710) 2023-04-16 17:30:39 +08:00
Rairn
6abe97291e fix(data-templates): fix subform 2023-04-16 17:25:18 +08:00
chenos
2a05e60504 fix: data template filter 2023-04-16 16:56:35 +08:00