Commit Graph

716 Commits

Author SHA1 Message Date
Junyi
17ccdee9ab
fix(client): fix some warnings (#1934)
* fix(client): fix some warnings

* fix(client): fix warning
2023-05-25 18:54:06 -07:00
chenos
9c94840c6b chore(versions): 😊 publish v0.9.4-alpha.1 2023-05-25 22:48:39 +08:00
被雨水过滤的空气-Rairn
e61568ac57
feat(data-template): support to set data scope and title field (#1918)
* refactor: optimize

* feat(Data-template): support to set data scope and title field

* fix: fix error when no template data

* fix: fix error

* fix: operator

* chore: remove id

* fix: filter

* fix: should be global

* fix: submit

* fix: global sync

* fix: title field

* fix: fix filter

* fix: fix first created

* fix: collection

* fix: collection

* fix: collection

* chore: should show N/A

* Revert "chore: should show N/A"

This reverts commit 00c91d77612aea0801fec88b5f3f91e4be999439.

* chore: should show N/A

* chore: remove useless code
2023-05-25 17:09:29 +08:00
被雨水过滤的空气-Rairn
c722ca41d9
feat(data-template): support for unlimited levels of fields selection (#1910)
* refactor: use useMemo

* refactor: use useCallback

* feat(Data-template): change maxDepth from 3 to 10

* feat(Data-template): support for unlimited levels of fields selection

* fix: fix invalid selection

* fix: should be updated when data changes

* feat: parent treeNode and children treeNodes are not associated

* fix: avoid error

* fix: fix error

* chore: remove notification

* fix: parant node should be selected when child is selected

* fix: auto select all ancester nodes
2023-05-25 15:23:32 +08:00
black
948d39bab4
chore: when using association field by picker mode,it's open size can be changed (#1926) 2023-05-25 13:05:00 +08:00
被雨水过滤的空气-Rairn
e787890671
fix(ConfigurationTabs): avoid error (#1782) 2023-05-25 12:24:47 +08:00
katherinehhh
0086037425
fix: tableField query data in add child action (#1876) 2023-05-25 12:23:48 +08:00
被雨水过滤的空气-Rairn
49117afb72
refactor: front-end testing with vitest (#1900)
* refactor: front-end testing with vitest

* fix: fix build failed
2023-05-25 10:40:08 +08:00
李小斐
c603108542
fix: disable popup button in add-modal (#1808)
* fix: disable popup button in add-modal

* fix: disable popup button in form block
2023-05-25 10:33:59 +08:00
katherinehhh
e299f5452c
refactor: initialization when switching field components (#1915)
* fix: toManyNester only display one data

* fix: sub-nester

* fix: initialValue

* fix: [null]

* fix: record picker initValue

* fix: initValue filter

* fix: association select  initialValue filter

* fix: association select  initialValue filter

* fix: [null]

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-24 10:36:29 +08:00
Rairn
a0dd58e7e3 fix(Data-templates): avoid errors and add log 2023-05-23 16:18:01 +08:00
katherinehhh
58fda41513
fix(association-field): only when the new data is successfully created can the data be associated (#1884)
* fix: only when the new data is successfully created can the data be associated

* fix: associate empty object data

* Update index.ts

* fix:  to many nester  cannot be deleted when there is  one data

* fix: code improve

* fix: association field add new button should not drag

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-23 15:48:08 +08:00
xilesun
3b732d6db7 fix(ui): dnd error read properties of null 2023-05-23 11:02:40 +08:00
katherinehhh
d0f2bd96a8
fix: hiding the title of a subform will hide all embedded titles (#1904)
* fix: hiding the title of a subform will hide all embedded titles

* fix: display title not immediately effective
2023-05-23 09:50:20 +08:00
katherinehhh
0318034b7c
fix: updateAssociationValues (#1903) 2023-05-23 09:44:17 +08:00
xilesun
518ca740f8 fix(locale): translation typo 2023-05-22 19:58:55 +08:00
black
db349ccb68
fix: can't set default value when turn on the form field required (#1887)
* fix: can't set default value when turn on the form field required

* fix: can't set default value when turn on the association select field required
2023-05-22 17:22:01 +08:00
被雨水过滤的空气-Rairn
110b00bc01
fix(Data-template): fix bug when deleting fields (#1907)
* chore: add translation

* fix(Data-template): fix bug when deleting fields

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-22 17:17:33 +08:00
YANG QIA
d35f67d2e1
feat(app): add clear cache button (#1909) 2023-05-22 17:16:12 +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
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
katherinehhh
27cdd7b78a
fix: field required when setting sorting rules (#1885) 2023-05-18 22:23:47 +08:00
chenos
a26ac4f217 docs: routes demo 2023-05-17 18:06:19 +08:00
chenos
be50cb5929 chore: remove link to field and association fields filter 2023-05-17 17:04:33 +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
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
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
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
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