Commit Graph

1804 Commits

Author SHA1 Message Date
katherinehhh
964d631c1d
fix: missing pageSize parameters when setting column field sorting (#4219)
* fix: missing pageSize parameters when setting column field sorting

* fix: missing pageSize parameters when setting column field sorting
2024-04-29 13:16:33 +08:00
chenos
b7fb765fca chore(versions): 😊 publish v1.0.0-alpha.2 2024-04-29 13:00:44 +08:00
YANG QIA
b71bcc1889
chore(versions): 😊 publish v1.0.0-alpha.1 (#4186)
* feat: rename plugin-collection-manager to plugin-data-source-main (#4136)

* feat: rename plugin

* feat: rename

* chore: rename classes of data-source-main

* chore: use name for migrating instead of packageName

* chore: rename china-region to field-china-region (#4167)

* chore: rename china-region to field-china-region

* chore: update yarn.lock

* chore: rename classes

* chore: use name instead of pkgName

* chore: rename export to action-export (#4169)

* chore: rename export to action-export

* chore: rename classes

* chore: use name

* chore: rename formula-field to field-formula (#4170)

* chore: rename formula-field to field-formula

* chore: use name

* chore: rename localization-management to localization (#4173)

* chore: rename localization-management to localization

* fix: test

* chore: rename sequence-field to field-sequence (#4174)

* chore: rename sequence-field to field-sequence

* chore: use name

* chore: rename custom-request to action-custom-request (#4168)

* chore: rename custom-request to action-custom-request

* chore: rename classes

* chore: use name

* fix: ns

* chore: rename iframe-block to block-iframe (#4171)

* chore: rename iframe-block to block-iframe

* chore: use name

* chore: rename sms-auth to auth-sms (#4175)

* chore: rename sms-auth to auth-sms

* chore: use name

* chore: rename import to action-import (#4172)

* chore: rename import to action-import

* chore: use name

* fix: ns

* fix: packages

* test: add rename test

* fix: move rename migrations to preset

* fix: version

* fix(localization): remove duplicate records (#4182)

* fix: locale ns

* fix(localization): remove duplicate records

* chore: merge

* fix: migration

* fix: test

* feat: improve pm add command (#4198)

* chore: remove sso auth plugins and add upgrade warning (#4192)

* chore: remove sso auth plugins and add upgrade warning

* chore: remove sso plugins dir

* chore: remove dependencies

* fix: names

* refactor: move to migration

* chore: adjust log

* feat: allows to remove plugins from sub apps

* fix: pm remove

* chore: add test

* chore: just for pro plugins

* refactor: optimize migration

* test: add test

* fix: auth-sms

* fix: add transaction

---------

Co-authored-by: chenos <chenlinxh@gmail.com>

* chore: make e2e more stable

* chore(license): update LICENSE to AGPL-3.0 (#4207)

* fix: improve pm (#4200)

* fix: improve pm

* feat: improve pm update

* fix: test error

* fix: rename plugin

* fix: remove only

* refactor(e2e): extract

* fix: await

* fix: nameOrPkg

* feat: remove multi-app-share-collection from local

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>

* chore: add new line

* chore: rename migration

* fix: version

* fix: test

* feat: v1.0.0-alpha.1

* fix: multi-app-share-collection

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-29 00:46:21 +08:00
chenos
fdd3ca614e chore(versions): 😊 publish v0.21.0-alpha.16 2024-04-28 21:24:57 +08:00
chenos
674093e84c fix: appName 2024-04-28 14:51:18 +08:00
Zeke Zhang
08f68720bf chore: make e2e more stable 2024-04-28 12:07:35 +08:00
katherinehhh
132f626fa3
test: input number separator test (#4204) 2024-04-28 11:17:43 +08:00
katherinehhh
fb41cce7b1
fix: number field shuold support separator setting (#4197) 2024-04-27 21:29:02 +08:00
katherinehhh
c5d8a7e251
refactor: external data source collection manager (#4193)
* refactor: data source collection manager

* refactor: data source collection manager
2024-04-27 17:07:20 +08:00
Zeke Zhang
def7530d14
chore: add e2e (#4184)
* test: schemaInitializer of map

* test: settings of map block

* refactor: extract common options

* chore: test filter blocks in page

* chore: test filter block in popup

* chore: add e2e for inherit fields

* chore: attachement field

* chore: file block

* chore: should use beforEach instead of beforAll

* chore: make e2e pass

* chore: only run map e2e

* Revert "chore: only run map e2e"

This reverts commit fbdae1a573.
2024-04-27 14:06:42 +08:00
katherinehhh
0a011841d5
refactor: form data template locale improve (#4188) 2024-04-26 21:06:09 +08:00
Zeke Zhang
ccd2ade2aa
chore: add e2e for variables (#4152)
* chore: optimize e2e

* chore: test default value

* chore: data scope

* chore: test Assign field values

* chore: fix e2e

* refactor: extract

* chore: skip failed e2e

* chore: fix failed e2e

* chore: fix T-4133

* chore: fix e2e
2024-04-26 14:26:02 +08:00
ChengLei Shao
7748a33138
chore: unsupportedFields in view collection (#4155)
* chore: unsupportedFields in view collection

* refactor: view display unsupportedFields

* refactor: locale improve

* chore: test

* chore: test

* fix: bug

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-04-26 10:11:47 +08:00
Sun668
4165d8baae
feat: add plugin-field-markdown-vditor (#4065)
* feat: create vditor field type, use Vditor as Markdown Editor

* feat: clear Markdown Vditor value when set props.value to null

* feat: add plugin-field-markdown-field to preset local plugin

* fix: fix the plugin-field-markdown-vditor name in preset

* fix: fix the plugin-field-markdown-vditor version in preset

* feat: set vditor disable if props.disable is true after init

* feat: use data from localstorage as vditor upload request headers

* fix: plugin-field-markdown-vditor version to 0.21.0-alpha.11

* feat: when fileCollection is not defined, remove upload from vditor toolbar

* feat: add temp function to reset vditor value

* fix: temp function to reset vditor value may include reset tag

* feat: update plugin-field-markdown-vditor i18n

* fix: i18n

* feat: temp disable fullscreen

* fix: remove useless file

* fix: plugin description

* fix: plugin description

* fix: plugin-field-markdown-vditor componentCls

* fix: plugin-field-markdown-vditadd default toobar config

* fix: use long text to save mardkwon

* fix: vditor fullscreen style

* feat: change vditor field datatype

* fix: code review

* fix: code review

* feat: change import method of katex in plugin-field-markdown-vditor

* fix: version

* fix: resize will cause blur

* fix: vditor base font-size

* fix: vditor base font-size

* feat: use style config from token as vditor base size

* fix: plugin-field-markdown-vditor i18n

* fix: toobar config tooltip can not be seen

* fix: vditor toobar default config

* feat: plugin-field-markdown-vditor doc url

* feat: move cursor to end when reset vditor value

* fix: value change will not set vditor

* feat: support getHeaders

* fix: improve component

* fix: enhance vditor init

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-26 08:42:01 +08:00
Junyi
f16add313d
fix(plugin-fm): fix confusing size limit hint (#4153) 2024-04-25 18:27:02 +08:00
chenos
b25db239a3
fix(client): get api url (#4161)
* fix(client): get api url

* fix: trim /
2024-04-25 16:30:46 +08:00
katherinehhh
2d66f4d44b
refactor: collection template support presetFieldsDisabled (#4159)
* refactor: collection template support presetFieldsDisabled

* refactor: code improve
2024-04-25 13:17:45 +08:00
katherinehhh
343b97de14
fix: grid schema (#4157) 2024-04-25 11:38:22 +08:00
Zeke Zhang
205984b812 chore: fix fialed e2e 2024-04-25 10:07:20 +08:00
jack zhang
229e5d1a40
client unit test (#4150)
* fix: add more unit test
2024-04-24 20:33:14 +08:00
katherinehhh
5c7004ff43
refactor: form data template locale improve (#4148) 2024-04-24 14:31:46 +08:00
katherinehhh
e96e9aea6e
test: refresh on action e2e test (#4147) 2024-04-24 11:55:10 +08:00
Zeke Zhang
fd4c9cb288
chore: deprecate the current record variable from the form (#4063)
* chore: remove the current record variable from the form

* chore: fix failed e2e

* refactor(VariableInput): support for setting the react node for label

* feat: support to show tooltip

* chore: stash

* chore: add translation

* chore: add translation

* chore: fix expresion

* test: add e2e for deprecated variables

* refactor: migrate file

* chore: make e2e pass

* chore: make e2e pass

* chore: make e2e pass

* chore: adjust

* chore: natch

* chore: revert match
2024-04-23 21:18:27 +08:00
Zeke Zhang
785cc525c4
feat(Theme): add some tokens (#4137)
* chore: use token better

* chore: use rgba

* feat: add some custom tokens

* Revert "chore: use rgba"

This reverts commit dac660f693.

* feat: adaptor tokens

* chore: adjust details

* chore: fix unit tests

* chore: remove box shadow from buttons in the upper right corner of the page

* fix: font size
2024-04-23 21:17:20 +08:00
Junyi
b0ba197915
fix(client): fix some warnings (#4143) 2024-04-23 21:12:37 +08:00
katherinehhh
90144e32ce
style: tableActionColumn style improve (#4138) 2024-04-23 19:50:44 +08:00
katherinehhh
7f1caf018f
fix: actionBar style improve (#4123) 2024-04-23 17:09:29 +08:00
chenos
05504b5678 chore(versions): 😊 publish v0.21.0-alpha.15 2024-04-23 11:18:20 +08:00
chenos
7e4ad0daae chore(versions): 😊 publish v0.21.0-alpha.14 2024-04-22 11:26:15 +08:00
Zeke Zhang
15325101d6
perf: remove all Skeleton animation (#4113)
* perf: remove Skeleton

* chore: add lazy render

* chore: remove all animation
2024-04-22 09:03:20 +08:00
Zeke Zhang
03cf42db9b
test: add e2e (#4121)
* test: connecting two blocks connected by a foreign key

* test: save as template, then delete it
2024-04-21 22:24:00 +08:00
Zeke Zhang
451bcca06f chore: add deprecated comment for CompatibleSchemaInitializer 2024-04-21 22:18:35 +08:00
chenos
9b20b04e98 chore(versions): 😊 publish v0.21.0-alpha.13 2024-04-21 12:04:14 +08:00
Zeke Zhang
9fe1ecdf1e
feat: add filterOtherRecordsCollection for DataBlockInitializer (#4117) 2024-04-21 07:59:07 +08:00
Zeke Zhang
5f8e442a15
refactor: optimize CollectionField (#4111) 2024-04-21 07:58:45 +08:00
chenos
a8eb2b719c chore(versions): 😊 publish v0.21.0-alpha.12 2024-04-19 22:53:42 +08:00
chenos
7b9e5c2cde
fix: field component (#4102)
* fix: field component

* chore: fix e2e

* fix: optimize CollectionField

* fix: add test case

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-19 22:52:55 +08:00
katherinehhh
31c5ff6624
fix: association select support add mode (#4108) 2024-04-19 22:00:55 +08:00
katherinehhh
2093bc0058
fix(linkage-rule): linkage rule support empty condiction (#4103)
* fix: linkage rule support empty condiction

* fix: linkage rule support empty condiction
2024-04-19 17:30:04 +08:00
chenos
0af40dfa3e
fix: add SanitizedCollectionProvider (#4100)
* fix: add SanitizedCollectionProvider

* fix: client unit test

* chore: add comment [skip ci]

---------

Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-19 17:19:07 +08:00
katherinehhh
d24c30a7f8
fix: tree collection target error (#4105) 2024-04-19 16:29:15 +08:00
chenos
1bacd00739
fix: add ClearCollectionFieldContext (#4101)
* fix: add ClearCollectionFieldContext

* chore: add comment

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-19 16:25:29 +08:00
chenos
cb91f7dbd4
feat: improve form block (#4099)
* feat: improve form block

* fix: remove RenderChildrenWithAssociationFilter

* fix: improve form block
2024-04-19 16:15:03 +08:00
ChengLei Shao
c460354b69
feat: support sort option in appends (#4056)
* feat: support sort option in append

* chore: build

* refactor: sub-table support setDefaultSortingRules

* refactor: sub-table support setDefaultSortingRules

* fix: bug

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-04-19 09:08:46 +08:00
Zeke Zhang
ca29515bcd
perf(LinkageRules): solve lagging problems (#4090) 2024-04-18 16:52:34 +08:00
Zeke Zhang
8f17456d93
fix(subTable): should not display Allow add new data option (#4086)
* fix(subTable): should not display Allow add new data option

* chore: make e2e more stable
2024-04-18 15:07:59 +08:00
katherinehhh
a3795c2ec3
fix: table select pagination error (#4078) 2024-04-18 11:30:38 +08:00
katherinehhh
a88b32bc7a
fix: reset page when setting block data scope (#4081) 2024-04-18 09:06:12 +08:00
chenos
438a059c7b chore(versions): 😊 publish v0.21.0-alpha.11 2024-04-17 23:47:44 +08:00
jack zhang
c9171a7117
fix: custom request role list (#4074)
* fix: custom request role list

* fix: custom request body users

* fix: support external data sources

* fix: record data

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-17 21:15:04 +05:30
Zeke Zhang
ce6011dbc1
fix(sourceId): avoid error (#4077) 2024-04-17 21:34:05 +08:00
YANG QIA
946debc737
fix(sql-collection): can't select interface when setting fields (#4079) 2024-04-17 21:20:50 +08:00
katherinehhh
f808d99656
fix: deletion of operation linkage rules does not take effect in real time (#4058)
* fix: deletion of operation linkage rules does not take effect in real time

* fix: bug
2024-04-17 19:26:00 +08:00
Zeke Zhang
ac45742e34
test: add e2e for data loading mode (#4069) 2024-04-17 18:32:05 +08:00
Zeke Zhang
0bebdfe150
fix(filterForm): avoid duplicate names (#4071) 2024-04-17 18:31:33 +08:00
Zeke Zhang
01f1440005
chore: optimize block title (#4040)
* chore: optimize block title

* chore: fix failed e2e
2024-04-17 16:48:31 +08:00
Zeke Zhang
8bff5c32a7
fix(defaultValue): fix the issue of default values disappearing after refreshing the page (#4066)
* test: add e2e

* fix(defaultValue): fix the issue of default values disappearing after refreshing the page
2024-04-17 14:07:26 +08:00
katherinehhh
6a0777397a
fix: sub-table big field should support variable default value (#4062) 2024-04-17 10:50:07 +08:00
Zeke Zhang
a9407b3a49
test: add e2e for actions (#4053)
* test: add e2e for bulk delete

* chore: add e2e for Secondary confirmation
2024-04-17 08:31:39 +08:00
chenos
d76d657622 chore(versions): 😊 publish v0.21.0-alpha.10 2024-04-16 23:51:49 +08:00
chenos
64e12bb08b chore(versions): 😊 publish v0.21.0-alpha.9 2024-04-16 22:53:12 +08:00
Zeke Zhang
3d857d2e69
fix(variable): missing variables and invalid translations (#4054)
* fix(variable):  missing variables and invalid translations

* refactor: better

* fix: should display current record variable

* fix: template

* chore: add deps

* chore: add e2e for table view

* fix: current record variable

* chore: avoid error

* fix: bugs

* chore: fix failed e2e

* chore: fix e2e

* fix: colection name
2024-04-16 22:50:52 +08:00
jack zhang
769de9a69e
fix: improve card item (#4036)
* fix: add block card item(T-4026 and T-4022)

* fix: bug
2024-04-16 09:14:51 +08:00
chenos
8c779b4cf6 chore(versions): 😊 publish v0.21.0-alpha.8 2024-04-16 00:26:13 +08:00
ChengLei Shao
57449bb2df
chore(acl): disable register association fields actions (#4014)
* chore: disable register association fields actions

* chore: test

* chore: association field acl

* fix: snippet test

* fix: pm.data-source-manager

* fix: acl roles snippets

* chore: update snippet migration

* fix: bug (#4035)

Co-authored-by: katherinehhh <katherine_15995@163.com>

* fix: save role strategy

* fix: x-acl-action

* fix: acl snippet

* fix: bug

* fix: graph

* fix: association permission

* chore: data source manager snippet

* fix: test

* chore: test

* test: e2e test

* fix: undefined list

* fix: useApp

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-04-16 00:25:35 +08:00
Zeke Zhang
fe4be822b9 feat: add to more blocks 2024-04-15 19:46:13 +08:00
Zeke Zhang
b43bf22afc
fix(variable): fix parent record variable reporting errors in data scope (#4039) 2024-04-15 17:51:06 +08:00
Zeke Zhang
0ed17af122
test(e2e): add assertions on field values (#4034)
* chore: optimize e2e

* test(e2e): add assertions on field values

* chore: fix e2e
2024-04-15 17:50:18 +08:00
Zeke Zhang
0274e65cec
feat(Variable): add a new variable (#4025)
* feat: add DeclareVariable

* feat: add a new variable

* test: add e2e

* fix: current form variable

* chore: rename '弹窗记录' to 'Current popup record'

* fix(Details): fix data scope error

* fix(Calendar): fix data scope

* fix: varaible's data souce

* fix: data souce
2024-04-15 14:50:38 +08:00
chenos
31d68f91e8
feat: run e2e with pro plugins (#3890)
* feat: run e2e with pro plugins

* fix: name

* chore: fix typo

* fix: make e2e pass

* chore: only run pro e2e

* Revert "chore: only run pro e2e"

This reverts commit 9beff480c1.

* chore: increase timeout

* feat: support to set maxDepth

* chore: set default maxDepth to 1

* chore: fix e2e to make pass

* chore: add test for BlockSchemaToolbar

* chore: split files to avoid slowing down testing

* chore: make e2e more stable

* chore: make e2e more stable

* refactor: e2e

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-15 12:40:53 +08:00
Zeke Zhang
a00f4ac69b test: fix e2e to make pass 2024-04-13 12:53:25 +08:00
xilesun
d66c2baa53 chore(versions): 😊 publish v0.21.0-alpha.7 2024-04-13 09:37:59 +08:00
katherinehhh
3fd5b05940
fix: scopeKeyOptions should be obtained in real-time (#4029)
* fix: formula field caluation error

* fix: scopeKeyOptions

* fix: bug

* fix: bug
2024-04-13 09:28:24 +08:00
Zeke Zhang
f36bc41a11
fix(addText): should use FormItemSchemaToolbar instead of BlockSchema… (#3963)
* fix(addText): should use FormItemSchemaToolbar instead of BlockSchemaToolbar

* chore: unskip

* fix: add component Slider
2024-04-13 09:14:46 +08:00
jack zhang
91254bdf55
test: add frontend unit test (#3991)
* test: add unit test

* fix: build error

* fix: exclude requirejs

* fix: e2e bug

* fix: block delete refresh(T-3936)

* fix: add test utils

* fix: build bug

* fix: remove test only

* fix: kanban bug

* fix: add more unit tests

* fix: coverage bug

* fix: update

* fix: refactor

* fix: add more tests

* fix: unit test bug

* fix: refactor code

* fix: refactor nocobase test

* test: add test case

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-12 21:55:37 +08:00
Zeke Zhang
17793c2ab9
feat: support Others option in popup (#4015)
* feat: support Others option in popup

* chore: hide Other records in popup for edit form

* chore: rename 'Others' to 'Other records'

* fix: in other records, the data table does not need to filter itself

* feat: optimize title for association block

* fix: template

* fix: block title

* chore: fix e2e

* fix: should use compile

* fix: remove useVisible

* test: add e2e
2024-04-12 19:14:18 +08:00
katherinehhh
1658415402
fix(collection-manager): no refresh after override the field (#4022)
* refactor: code improve

* fix: bug
2024-04-12 17:57:38 +08:00
YANG QIA
a18dab363a
chore: add export & import warnings (#4027)
* chore: add export & import warnings

* chore: update
2024-04-12 16:22:18 +08:00
katherinehhh
bfbec4c004
refactor: third party data source support sort field grouped sorting edit (#4023)
* fix: formula field caluation error

* refactor: third party data souce support sort field grouped sorting configure
2024-04-12 16:09:05 +08:00
katherinehhh
d4b4391aba
test: association name block e2e test (#4021)
* fix: initializer use useAassociationName

* test: association table block e2e test
2024-04-12 00:24:06 +08:00
chenos
e1533ec800
fix: get api url (#4020) 2024-04-11 23:02:34 +08:00
Zeke Zhang
beab81818f
fix(Sub-details): the initializer button is not displayed when the field value is empty (#4019)
* test: add e2e

* fix: remove return
2024-04-11 23:02:04 +08:00
katherinehhh
0f0ccfa9da
fix: initializer use useAassociationName (#4018) 2024-04-11 21:56:34 +08:00
Zeke Zhang
fa815aeb3c
fix(TreeTable): add child error (#4008)
* fix(TreeTable): add new error

* test: add e2e for T-3235

* fix: parentId
2024-04-11 17:25:46 +08:00
katherinehhh
6d7ecba59e
fix: remove active field should not clear value (#4012)
* fix: remove active field

* fix: fix field value submission on field removal

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-11 17:23:31 +08:00
katherinehhh
82df150c30
refactor: tree table is not enabled by default (#4001)
* refactor: table block do not enable trees by default

* fix: bug

* fix: bug

* fix: bug
2024-04-11 14:10:30 +08:00
katherinehhh
89ad13de29
fix: tag filed setting (#4009)
* fix: tag filed setting

* fix: tag filed setting
2024-04-10 21:51:07 +08:00
YANG QIA
127e2b332b
fix(users): remove phone validation due to incorrect check of foreign phone numebrs (#4005) 2024-04-10 17:14:44 +08:00
katherinehhh
ca49cc9dbd
fix: association block action permission verification failed (#3994)
* fix: association block action permission verification failed

* test: association block action permission test

* fix: useDataBlockProps

* fix: useDataBlockProps

* fix: useResourceName

* fix: bug

* fix: bug

* fix: bug

* fix: bug

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-10 16:38:37 +08:00
katherinehhh
e9f0e32a26
refactor: fields for table sorting cannot select sorting fields with scopekey (#3984)
* refactor: fields for table sorting cannot select sorting fields with scopeke y

* refactor: sort field

* refactor: sort field
2024-04-10 16:37:18 +08:00
Zeke Zhang
b7fc50e47e
fix(Form): invalid parentRecord (#3998)
* test: add e2e

* fix(Form): invalid parentRecord

* chore: make e2e more stable

* chore: make e2e more stable

* test: fix e2e
2024-04-10 15:22:34 +08:00
Junyi
a38ce654af
fix(plugin-workflow): adjust locale (#3993) 2024-04-10 15:20:43 +08:00
katherinehhh
7b2e042598
fix: sub -table support allowSelectExistingRecord setting (#4004) 2024-04-10 15:07:48 +08:00
Zeke Zhang
3dcbdf3592 test: fix e2e 2024-04-10 12:30:54 +08:00
katherinehhh
8eee6756d4
fix: gantt collapse & expand (#3982) 2024-04-09 16:37:02 +08:00
Zeke Zhang
de7b75fea7
fix(BulkForm): should be required when switching to 'Changed to' (#3965)
* fix(BulkForm): should be required when switching to 'Changed to'

* fix: clear error on value is empty

* chore: optimize unit test log
2024-04-09 16:07:14 +08:00
katherinehhh
771fdf48fc
refactor: sort field should not has defaultValue (#3986) 2024-04-09 12:25:06 +08:00
Zeke Zhang
cceb326239 chore: skip failed test 2024-04-08 19:07:32 +08:00
katherinehhh
bbdfad4ea3
refactor: select options configuration (#3964) 2024-04-08 17:40:59 +08:00
Zeke Zhang
ce0f4ddf04
fix(GridCard): set the count of columns displayed in a row (#3960)
* fix(GridCard): set the count of columns displayed in a row

* test: add e2e

* chore: fix e2e
2024-04-08 15:23:52 +08:00
Junyi
d14f8d23d7
chore: remove legacy formula plugins (#3939)
* chore: remove legacy formula plugins

* fix(plugin-formula-field): fix readme
2024-04-08 08:44:10 +08:00
chenos
6017c01f02 chore(versions): 😊 publish v0.21.0-alpha.6 2024-04-07 21:52:45 +08:00
Zeke Zhang
ef53f4abca
fix(LinkageRules): should be effective immediately (#3958)
* test: add e2e

* fix: fix bug
2024-04-07 19:49:43 +08:00
Zeke Zhang
286ddb6b38
fix(Picker): should display Allow add new data option (#3957) 2024-04-07 19:36:42 +08:00
Zeke Zhang
d75db22777
fix(connect-data-blocks): should immediately show in the drop-down menu (#3953)
* test: add e2e tests

* fix: should immediately show in the drop-down menu

* fix: should not lose the filtering function when dragging and connecting
2024-04-07 17:21:26 +08:00
jack zhang
606ef55db8
fix: left menu title modify (#3956) 2024-04-07 16:14:02 +08:00
jack zhang
89b73ba389
fix: template list provider bug (#3950) 2024-04-07 14:29:20 +08:00
katherinehhh
e81cfcbe98
refactor: nanoid &uuid autoFill (#3955) 2024-04-07 13:55:21 +08:00
chenos
b63a685f84 chore(versions): 😊 publish v0.21.0-alpha.5 2024-04-07 11:06:02 +08:00
chenos
099316fa8d fix(client): can not find bignumber.js module 2024-04-07 11:05:46 +08:00
katherinehhh
04b6d79dcb
fix: throughCollection support fuzzy search (#3949) 2024-04-07 09:53:53 +08:00
chenos
31713390b5 chore(versions): 😊 publish v0.21.0-alpha.4 2024-04-07 08:33:05 +08:00
chenos
04762f4028
fix: getSourceKeyByAssocation (#3947)
* fix: getSourceKeyByAssocation

* fix: getSourceKeyByAssocation
2024-04-07 08:28:42 +08:00
Zeke Zhang
f1f9f3ec28
fix(RichText): unify style (#3946) 2024-04-06 19:41:52 +08:00
Zeke Zhang
10ad3f16fd
fix(connectDataBlocks): should add FilterBlockProvider to Grid (#3944)
* fix(connectDataBlocks): should add FilterBlockProvider to Grid

* chore: fix unit test
2024-04-06 18:57:32 +08:00
Zeke Zhang
1bcfc5bb8e
chore: add appVersion to Schema (#3936)
* chore: add appVersion to Schema

* refactor: rename appVersion to x-app-version

* fix: should not override existing x-app-version

* chore: fix build
2024-04-06 17:26:54 +08:00
Zeke Zhang
aae936aa01
fix: fix sourceId of templates (#3941)
* chore: add sourceId

* chore: add e2e

* fix: fix sourceId of templates

* chore: add e2e for Form

* chore: make e2e more stable

* test: skip test
2024-04-06 17:14:30 +08:00
katherinehhh
bd6ffcef83
fix(collection manager): collection manager primarykey & nanoid & uuid suport index setting (#3943)
* fix: formula field caluation error

* fix: collection manager primarykey

* fix: nanoid & uuid suport index
2024-04-06 16:26:24 +08:00
chenos
d2b808671b chore(versions): 😊 publish v0.21.0-alpha.3 2024-04-06 13:04:57 +08:00
katherinehhh
2a41573bd7
fix: nanoid availableTypes (#3942) 2024-04-06 12:31:10 +08:00
katherinehhh
c7c61e005f
fix: automatically generate default values (#3940) 2024-04-06 11:07:29 +08:00
katherinehhh
cca2987511
fix: formula field caluation error (#3938)
* fix: formula field caluation error

* fix: bug
2024-04-06 10:56:25 +08:00
katherinehhh
d8e969b9ae
fix: formula field support format (#3928) 2024-04-06 08:15:22 +08:00
Zeke Zhang
b750cab942
refactor: unify tab initailizer naming (#3932)
* refactor: rename dialog to popup

* feat: add tabPaneInitializers

* refactor: rename TabPaneInitializers to popup:addTab

* refactor: rename TabPaneInitializersForCreateFormBlock to popup:addTab

* refactor: rename TabPaneInitializersForBulkEditFormBlock to popup:addTab

* chore: fix unit tests

* chore: fix e2e
2024-04-05 23:19:09 +08:00
Zeke Zhang
385ac5a488
fix: add zIndex to Lightbox overlay style (#3934) 2024-04-05 21:57:39 +08:00
Zeke Zhang
2d0482449d
fix(Table): fix the problem that the content of the association field is not displayed (#3930)
* test: add e2e test

* fix(Table): fix the problem that the content of the association field is not displayed

* fix(Calendar): avoid infinite loops
2024-04-05 16:02:25 +08:00
katherinehhh
a4cbec293d
refactor: main data source view collection support filterTargetKey (#3818) 2024-04-05 12:11:51 +08:00
katherinehhh
aa96a16d1d
fix: formula field calculation error (#3929)
* fix: formula field calculation error

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* test: foumula e2e test
2024-04-05 09:52:08 +08:00
katherinehhh
e7187e536d
fix: edit form unchanged should not appear unSaveed warning when cloas modal (#3920) 2024-04-04 22:42:05 +08:00
Zeke Zhang
59c1aea942
fix(Collapse): fix error for chinaRegions (#3925)
* fix: fix error for chinaRegions

* fix: collapse
2024-04-04 14:47:09 +08:00
katherinehhh
4006b17a53
fix: number display format (#3924) 2024-04-04 10:32:15 +08:00
Zeke Zhang
e0521170d1
fix(defaultValue): should immediate effect when set default value (#3923) 2024-04-04 09:50:46 +08:00
katherinehhh
6e5a2c81b3
feat: action support refreshDataBlockRequest configuration (#3882)
* feat: action support refreshDataBlockRequest configuration

* feat: refreshDataBlockRequest

* fix: block templates

* fix: bug

* fix: bug

* refactor: submitted

* fix: bug

* fix: bug

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* refactor: refreshDataBlockRequest

* fix: bug

* fix: bug

* fix: bug

* fix: bug

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-04 09:30:13 +08:00
katherinehhh
fcd2b766cf
refactor: formBlockProvider & detailBlockProvider (#3898)
* refactor: formBlockProvider

* refactor: detailBlockProvider

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve
2024-04-04 09:29:09 +08:00
chenos
d173aef69b chore(versions): 😊 publish v0.21.0-alpha.2 2024-04-03 23:31:25 +08:00
Zeke Zhang
2f40bfab2b
chore: add API comments (#3919)
* chore: add API comments

* refactor: rename
2024-04-03 23:19:54 +08:00
Zeke Zhang
0a64855bfe
fix: fix Pagination (#3921) 2024-04-03 23:18:19 +08:00
katherinehhh
fc503321ae
fix: gantt block pagination (#3918)
* fix: gantt block  pagination

* fix: gantt block  pagination
2024-04-03 20:48:51 +08:00
chenos
2be065984c
fix: source id null (#3917)
* fix: source id null

* refactor: use parentRecord instead of sourceId

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-03 20:41:23 +08:00
Zeke Zhang
fb43a3b479
fix(Table): fix Pagination (#3916)
* fix(Table): fix Pagination

* test: add e2e
2024-04-03 19:26:39 +08:00
Zeke Zhang
768dfc624a
fix: get the correct sourceId (#3897)
* fix(withDynamicSchemaProps): replace recursive merge with simple merge

* refactor: add useDetailsByAssociationRecordDecoratorProps

* chore: update comment

* fix: get the correct sourceId

* test: add e2e

* refactor: extract to template

* refactor: add x-is-current

* refactor: optimize code

* Revert "refactor: optimize code"

This reverts commit b2b03c3c0c.

* refactor: add useSourceIdCommon hook and update usage in multiple files

* fix(EditForm): refactor form block sourceId logic

* chore: add test for form block

* chore: update comment

* fix: fix filterKey assignment in useParentRequest function

* refactor: refactor useParentRequest function to use fieldCollection for filterTargetKey

* refactor: extract to useSourceKey

* refactor: optimize code
2024-04-03 16:36:20 +08:00
Zeke Zhang
ac655f6866
fix(DataScope): fix no immediate effect issue after saving (#3910)
* fix(DataScope): fix immediate effect issue after saving

* test: add e2e

* refactor: extract to template
2024-04-03 16:17:18 +08:00
katherinehhh
953d9b2e6e
fix: select field options initialValue (#3911) 2024-04-03 16:02:12 +08:00
jack zhang
0fc1d96a48
fix: external link click (#3908) 2024-04-03 15:56:13 +08:00
katherinehhh
986dc85392
fix(inputNumber): loss of accuracy in inputNumber (#3902)
* fix: inputNumber loss of accuracy

* fix: bug

* test: fix test

* fix: test

* fix: test
2024-04-03 15:47:36 +08:00
jack zhang
84d2a47361
fix: table fixed bug (#3901) 2024-04-03 09:25:52 +08:00
jack zhang
cc75f6f4d2
fix: lazy render bug (#3886)
* fix: lazy render bug
---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-03 09:13:45 +08:00
katherinehhh
6fd456faf7
fix: sort params missing (#3906) 2024-04-03 09:04:57 +08:00
Zeke Zhang
e572f6645e
refactor: change useProps to x-use-component-props (#3853)
* refactor: update TableV2 component props

* refactor: update Action component

* refactor: update Filter.Action

* refactor: update FormV2

* refactor: update TableV2.Selector

* refactor: update Details

* refactor: update Action.Link

* refactor: about acl

* refactor: useCustomizeUpdateActionProps

* refactor: update decrator FormV2

* refactor(plugin-data-visualization): useProps to x-use-component-props

* refactor: update Pagination

* refactor: update CalendarV2

* refactor: update TitleField

* refactor: useProps

* refactor: update AssociationFilter.Item

* feat(withDynamicSchemaProps): support function useComponentPropsStr

* refactor: update FormDataTemplates

* chore: fix unit tests

* chore: fix e2e

* refactor: update

* feat(withDynamicSchemaProps): support to use dot

* refactor: update

* refactor: update

* chore: avoid error
2024-04-02 21:38:40 +08:00
Zeke Zhang
65b5504d65
fix(withDynamicSchemaProps): change deep merge to shallow merge (#3899)
* fix(withDynamicSchemaProps): change deep merge to shallow merge to avoid error

* refactor: remove useless code
2024-04-02 14:20:18 +08:00