d355519550
feat: 将表单的布局模式,按钮设置的默认位置, 放置在右上角
2024-04-18 13:10:38 +08:00
8da9c47a7e
feat: 支持设置显示附件数量 ( #753 )
...
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachycode#753
Co-authored-by: bai.zixv <bai.zixv@foxmail.com>
Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
2024-04-18 00:03:32 +08:00
8d9fc95977
feat: 更改表格列宽默认值为20 ( #741 )
...
Reviewed-on: daoyoucloud/tachycode#741
Co-authored-by: bai.zixv <bai.zixv@foxmail.com>
Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
2024-04-17 12:48:34 +08:00
bai.jingfeng
cedcba2336
fix: 修复分页问题 ( #631 )
...
Reviewed-on: daoyoucloud/tachycode#631
Co-authored-by: bai.jingfeng <bai.jingfeng@foxmail.com>
Co-committed-by: bai.jingfeng <bai.jingfeng@foxmail.com>
2024-04-08 18:19:26 +08:00
bai.jingfeng
799603f9f2
refactor: 跟踪上游,(refactor: change useProps to x-use-component-props ( #3853 )) ( #629 )
...
Reviewed-on: daoyoucloud/tachycode#629
Co-authored-by: bai.jingfeng <bai.jingfeng@foxmail.com>
Co-committed-by: bai.jingfeng <bai.jingfeng@foxmail.com>
2024-04-08 17:09:14 +08:00
4e902fc9e0
fix: source id & subtable sort
...
Reviewed-on: daoyoucloud/tachycode#624
2024-04-08 15:47:48 +08:00
bai.jingfeng
64387242a6
feat: 更新提交数据,支持增量提交
2024-04-07 21:05:51 +08:00
bai.jingfeng
c9bbe51500
fix: 上游跟进,(fix: sort params missing when switch page numbers #3906 )
2024-04-07 18:59:52 +08:00
baijingfeng
57e14cdb77
Merge pull request 'fix: 上游跟进, source id为null的情况,fix-source id null' ( #616 ) from fix/source-id into dev
...
Reviewed-on: daoyoucloud/tachycode#616
2024-04-07 18:44:46 +08:00
bai.jingfeng
37cc172d82
fix: 上游跟进, source id为null的情况,fix-source id null
...
#3917
2024-04-07 18:43:18 +08:00
bai.jingfeng
9f12aa8ae5
fix: 上游跟踪,fix- getSourceKeyByAssocation #3947
2024-04-07 17:53:02 +08:00
b752e1afe0
feat: optimize block add menu
2024-04-03 20:02:39 +08:00
ae83be17c3
fix: import error
2024-04-03 19:42:04 +08:00
bai.jingfeng
2544dab6be
fix: 数据关联表引用自己的情况不显示内容-同步官方, 发布后需要重新配置区块
2024-04-03 18:37:12 +08:00
bai.jingfeng
953e13fce7
feat: 系统设置-交互行为优化. 系统设置区块,配置操作,提交按钮,初始化时,支持设置提交成功后的回调
2024-04-02 20:55:22 +08:00
dbb1703dff
feat: @formily/* 统一成 @nocobase/schema,清理所有的 ts build 报错 ( #566 )
...
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachycode#566
2024-04-02 18:13:33 +08:00
a2f2f9435f
fix: util path
2024-03-29 17:58:56 +08:00
fd656387ea
Merge remote-tracking branch 'upstream/main' into @hera/dev
2024-03-29 17:51:25 +08:00
jack zhang
a38e34cf9a
fix: table settings get collectionField ( #3837 )
...
* fix: table settings get collectionField
* fix: remove duplicate useCollectionField
* fix: bug
* refactor: tagComponentFieldSettings
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-03-29 09:12:52 +08:00
Zeke Zhang
08162e1004
fix(LinkageRules): should work properly after the block is saved as a template ( #3855 )
...
* test: add e2e
* chore: optimize e2e
* fix: use context in Form
2024-03-28 22:03:22 +08:00
Zeke Zhang
2468caeeb9
refactor(DataBlock): details block ( #3776 )
...
* refactor: remove useless code related 'TableField'
* refactor: add details block UI schema and hooks
* refactor: update details block schema and create new hook for details block without paging props
* refactor: add useDetailsBlockWithoutPagingDecoratorProps and useDetailsBlockWithPagingDecoratorProps
* test: add unit tests
* chore: fix build
* chore: fix import path for withDynamicSchemaProps
* fix: fix import typo in createDetailsBlockWithoutPagingUISchema test
* chore: fix unit test
* refactor: should not get collection on getting association in UISchema
* chore: fix unit test
* refactor: use x-use-component-props instead of useProps
* chore: fix Pagination
* chore: skip weird tests
* chore: remove weird test
* refactor: update details block initializers and associated schemas
* refactor: rename to useDetailsWithPaginationProps
* refactor: rename to useDetailsWithPaginationDecoratorProps
* refactor: rename to createDetailsWithPaginationUISchema
* chore: fix unit test
* refactor: rename to createDetailsUISchema
* refactor: rename to useDetailsDecoratorProps
* refactor: rename to useDetailsProps
* refactor: rename to 'blockSettings:details'
* chore: fix e2e
2024-03-28 08:48:58 +08:00
Zeke Zhang
d932546194
refactor(DataBlock): grid card block ( #3781 )
...
* refactor: migrate createGridCardBlockSchema to modules
* refactor: add grid-card block hooks and decorator props
* refactor: should not get collection on getting association in UISchema
* refactor: use x-use-component-props instead of useProps
* chore: fix build
2024-03-27 20:56:30 +08:00
Zeke Zhang
d6f38495a7
refactor(DataBlock): filter form ( #3785 )
...
* refactor: migrate to modules
* refactor: add useFilterFormBlockProps
* refactor: add useFilterFormBlockDecoratorProps hook
* chore: avoid error
* refactor: use x-use-component-props instead of useProps
* chore: fix unit test
* chore: fix build
2024-03-27 20:52:29 +08:00
86ffb8f4a9
Merge remote-tracking branch 'upstream/main' into fix_new_version
2024-03-27 19:27:21 +08:00
Zeke Zhang
71005ff9bf
refactor(DataBlock): filter collapse block ( #3786 )
...
* refactor: filter collapse block
* refactor: rename file name
2024-03-27 18:05:07 +08:00
Zeke Zhang
16cad6972e
refactor(DataBlock): table selector ( #3784 )
...
* refactor: extract to common options
* refactor: migrate to modules
* test: add unit test
* refactor: use x-use-component-props instead of useProps
* chore: fix unit test
* chore: rename
* fix: useExpressionScope
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-03-27 17:51:13 +08:00
Zeke Zhang
76cd3474c3
refactor(DataBlock): list block ( #3779 )
...
* refactor: refactor list block initializer and record association list block initializer
* refactor: add useListBlockDecoratorProps
* chore: fix import path to avoid build error
* refactor: should not get collection on getting association in UISchema
* refactor: use x-use-component-props instead of useProps
* chore: fix unit test
2024-03-27 17:41:56 +08:00
Zeke Zhang
c6922b071d
refactor(DataBlock): form block ( #3771 )
...
* refactor: extract to createCreateFormBBlockUISchema
* refactor: extract to createEditFormBlockUISchema
* refactor: use new function to create UISchema
* refactor: add x-use-decorator-props
* fix: add withDynamicSchemaProps to FormBlockProvider
* chore: update import path for withDynamicSchemaProps
* refactor: should not get collection on getting association in UISchema
* refactor: use x-use-component-props instead of useProps
* fix: fix withDynamicSchemaProps
* chore: fix unit test
2024-03-27 17:32:26 +08:00
f364b40e79
Merge remote-tracking branch 'upstream/main' into merge_from_upstream
2024-03-27 17:03:22 +08:00
katherinehhh
59e6b4a757
feat: read pretty input number field support display format config ( #3815 )
...
* feat: input number support display format
* feat: input number support display format
* feat: input number support display format
* feat: input number support display format
* feat: input number support display format
* feat: input number support display format
* refactor: local improve
* refactor: local improve
* refactor: code improve
* refactor: locale improve
* test: input-number
* test: input-number
* test: input-number
2024-03-26 17:23:14 +08:00
Zeke Zhang
e3d8a95809
fix(associationBlock): fix association blocks for parent collection f… ( #3813 )
...
* fix(associationBlock): fix association blocks for parent collection fields
* test: add e2e
2024-03-26 11:42:46 +08:00
Zeke Zhang
1c32983c00
refactor(DataBlock): table block ( #3748 )
...
* refactor: remove useless code
* chore: remove useless code
* feat: add createTableBlockSchema
* refactor: use createTableBlockUISchema
* refactor: extract useTableBlockParams
* refactor: extract useTableBlockSourceId
* refactor: compat
* refactor: fix typo in createTableBlockUISchema file
* refactor: should not get collection on getting association in UISchema
* refactor: use x-use-component-props instead of useProps
* chore: fix unit tests
* fix: fix errors
* refactor: refactor data block source ID hooks
2024-03-25 17:35:57 +08:00
Zeke Zhang
0269a1ff7d
fix(Details): block template ( #3807 )
...
* fix: add 'Details' in condition
* fix: block template
2024-03-25 16:25:41 +08:00
0249affd47
Merge remote-tracking branch 'origin/main' into merge_from_origin
2024-03-24 01:03:26 +08:00
chenos
0d2ed3f8a0
fix(client): visible -> useVisible
2024-03-23 08:12:42 +08:00
de89814eba
Merge remote-tracking branch 'origin/main' into merge_from_upstream
2024-03-21 18:40:03 +08:00
Zeke Zhang
8e322ae151
test: add e2e for Disassociate
2024-03-20 09:51:06 +08:00
chenos
54f6597b9d
feat: disassociate action ( #3759 )
...
* feat: disassociate action
* chore: compat old initializer
* chore: add translation
* chore: add translation
* fix: acl
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-03-20 09:30:10 +08:00
96f90c7024
Merge remote-tracking branch 'origin/main' into merge_from_upstream3
2024-03-19 12:29:09 +08:00
Zeke Zhang
368036923f
fix: fix the disappearing collections when searching ( #3750 )
2024-03-19 09:00:01 +08:00
d07932e9eb
Merge remote-tracking branch 'origin/main' into merge_from_upstream_1
2024-03-17 04:28:06 +08:00
Zeke Zhang
126f60c959
fix(variables): fix varaibles for table selector ( #3725 )
...
* fix(variables): fix varaibles for table selector
* test: add e2e
* chore: fix build
* fix: should not display current record in create form
* fix: fix known bugs
* test: fix e2e
2024-03-15 22:56:35 +08:00
abec9982fb
Merge remote-tracking branch 'origin/main' into merge_from_upstream
2024-03-14 22:19:15 +08:00
Zeke Zhang
286af35ff8
refactor: add blocks in a unified way ( #3668 )
...
* refactor: rename filterMenuItemChildren to filterCollections
* refactor: revert parameters to destructured object
* refactor(Details): unify details block between page and popup
* refactor(Form): refactor(Details): unify form block between page and popup
* refactor: table & list & grid card
* refactor: form
* refactor: association details
* chore: useVisible
* refactor: calendar
* chore: remove relationshipBlocks
* refactor: unify Details schema
* fix: avoid error
* chore: add translate
* chore: add tag to association fields
* fix: add block useChildren and children merge
* test: fix e2e
* test: fix e2e
* fix: fix Calendar
* fix: fix search
* test: add e2e for search
* fix: fix T-3554
* fix: fix T-3551
* feat: add no data for details block
* chore: fix unit test
* chore: fix unit test
* chore: change text
* chore: optimize text
* chore: add translation
* style: fix memu item style
* refactor: rename
* test: fix e2e
* test: fix e2e
---------
Co-authored-by: dream2023 <1098626505@qq.com>
2024-03-14 19:20:02 +08:00
Zeke Zhang
ba1e44c527
feat: support to set data loading mode ( #3712 )
...
* feat: add setDataLoadingModeSettingItem
* feat: support to set data loading mode
* chore: add translation
* chore: refresh the block immediately after the configuration has been changed
* feat: the data loading mode should also work for the filter buttons
* feat: support old version
* fix: data scope
* fix: fix known bugs
* fix: add setting for table selector
* test: fix e2e
2024-03-14 18:10:54 +08:00
Zeke Zhang
51de34251a
refactor(SchemaInitializers): unify naming style ( #3604 )
...
* refactor(SchemaSettings): unify naming style
* refactor(SchemaInitializers): unify naming stle
* refactor: replace CreateFormBlockInitializers to blockInitializers:createForm
* refactor: replace to blockInitializers:customizeCreateForm
* refactor: replace block intializers name
* refactor: replace action initializers name
* refactor: replace field initializers name
* style: fix hover style for column action (T-3297)
* refactor: revert some codes
* chore: update comment
* chore: replace iframeBlockSchemaSettings to blockSettings:iframe
* chore: delete pro-packages
* feat: add CompatibleSchemaInitializer
* test: add unit tests
* chore: add @internal for CompatibleSchemaInitializer
* chore: block
* chore: field
* chore: ations
* fix: build
* chore: typo
* fix: fix unit tests
* test: fix e2e
* chore: remove igone
* refactor: page:addBlock
* refactor: popup:addNew:addBlock
* fix: fix max call stack
* refactor: popup:addRecord:addBlock
* refactor: remove blockInitializers:recordForm
* refactor: popup:tableSelector:addBlock
* refactor: popup:view:addBlock
* refactor: popup:bulkEdit:addBlock & charts:addBlock
* refactor: mobilePage:addBlock
* refactor: popup:snapshot:addBlock
* refactor: popup:workflowManual:configureUserInterface:addBlock
* fix: avoid crashing
* chore: optimize
* refactor: popup:common:addBlock
* refactor: workflowManual:popup:configureUserInterface:addBlock
* refactor: details:configureFields
* refactor: form:configureFields
* refactor: table:configureColumns
* refactor: filterForm:configureFields
* refactor: associationFilterInitializer
* refactor: assignFieldValuesForm:configureFields
* refactor: bulkEditForm:configureFields
* refactor: auditLogsTable:configureColumns
* refactor: chartFilterForm:configureFields
* refactor: kanban:configureItemFields
* refactor: workflowManual:customForm:configureFields
* refactor: detailsWithPaging:configureActions
* refactor: details:configureActions
* refactor: createForm:configureActions
* refactor: editForm:configureActions
* refactor: gridCard:configureActions
* refactor: gridCard:configureItemActions
* refactor: list:configureActions
* refactor: list:configureItemActions
* refactor: table:configureItemActions
* refactor: table:configureActions
* refactor: filterForm:configureActions
* refactor: subTable:configureActions
* refactor: bulkEditForm:configureActions
* refactor: auditLogsTable:configureItemActions
* refactor: auditLogsTable:configureActions
* refactor: calendar:configureActions
* refactor: chartFilterForm:configureActions
* refactor: gantt:configureActions
* refactor: kanban:configureActions
* refactor: map:configureActions
* refactor: workflowManual:form:configureActions
* feat: use 'createForm:configureActions' in page
* feat: use 'details:configureActions' in Calendar
* feat: register deleteEvent initializer in calendar plugin
* fix: fix delete event action
* test: fix e2e
* test: fix e2e
* chore: only run workflow's e2e
* Revert "chore: only run workflow's e2e"
This reverts commit 9e5b4af41e40e8d616007a5ab97291fb2370d88a.
* fix: use isInitializersSame to fix some case
2024-03-14 14:13:11 +08:00
a7049de998
Merge remote-tracking branch 'origin/main' into merge_from_upstream
2024-03-13 12:17:01 +08:00
9ee80846fb
Merge pull request 'fix: 修改级联组件适配' ( #355 ) from fix_cascade into @hera/dev
...
Reviewed-on: daoyoucloud/tachycode#355
Reviewed-by: sealday <zhanglin@daoyoucloud.com>
2024-03-13 12:12:22 +08:00
7df5c093b0
fix: 修改级联组件适配
2024-03-13 12:07:50 +08:00
katherinehhh
c7cfeec6a1
feat: add uuid & nanoid & unitTimestamp interface ( #3684 )
...
* refactor: select & radio compoent supports multiple type of value
* fix: ridio test
* feat: uuid & nanoid & snowflake interface
* refactor: delete snowflake
* feat: nanoid field type (#3685 )
* refactor: add child in inheritance of tree collection (#3676 )
* refactor: add child in inheritance of tree collection
* refactor: add child in inheritance of tree collection
* style: style improve
* feat: nanoid field
* chore: nanoid field type map
---------
Co-authored-by: katherinehhh <shunai.tang@hand-china.com>
* chore: nanoid options
* refactor: unixTimestamp
* fix: test
* refactor: unixTimestamp
* refactor: unixTimestamp
* refactor: locale imrove
* refactor: local improve
* refactor: nanoIDInput
* refactor: nanoIDInput
* refactor: nanoIDInput
* refactor: unixTimestamp
* refactor: nanoIDInput
* fix: test
---------
Co-authored-by: ChengLei Shao <chareice@live.com>
2024-03-13 12:07:45 +08:00