Commit Graph

1828 Commits

Author SHA1 Message Date
wjh
2b0e1fa573 fix: 修改录单的维修赔偿级联点击能显示名称,修改级联组价查看显示标题 (#958)
Reviewed-on: daoyoucloud/tachybase#958
Reviewed-by: sealday <zhanglin@daoyoucloud.com>
Co-authored-by: wjh <wwwjh0710@163.com>
Co-committed-by: wjh <wwwjh0710@163.com>
2024-05-09 23:02:57 +08:00
9e63e1c392 chore(version): release v0.21.26 (#955)
Reviewed-on: daoyoucloud/tachybase#955
2024-05-09 20:14:23 +08:00
wjh
3072cd67db fix: 修改组件创建树形结构时默认为级联组件 (#948)
Reviewed-on: daoyoucloud/tachybase#948
Reviewed-by: sealday <zhanglin@daoyoucloud.com>
Co-authored-by: wjh <wwwjh0710@163.com>
Co-committed-by: wjh <wwwjh0710@163.com>
2024-05-09 16:03:59 +08:00
be802543a4 fix: cascader filter (#940)
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#940
2024-05-09 01:56:16 +08:00
f1bc617cda fix: plugin-core, collection compatibility (#935)
Reviewed-on: daoyoucloud/tachybase#935
Co-authored-by: bai.zixv <bai.zixv@foxmail.com>
Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
2024-05-08 23:09:31 +08:00
1225588938 chore(version): release v0.21.25 (#931)
Reviewed-on: daoyoucloud/tachybase#931
2024-05-08 20:39:31 +08:00
2a03c6bf5c fix: current object in drawersubtable (#924)
Reviewed-on: daoyoucloud/tachybase#924
2024-05-08 17:51:23 +08:00
3e58c54aa8 feat: 仓库二期 (#719)
Co-authored-by: hello@lv <2256334253@qq.com>
Co-authored-by: wjh <wwwjh0710@163.com>
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#719
2024-05-08 16:20:31 +08:00
dcd89df482 feat: support edit associated form (#920)
Reviewed-on: daoyoucloud/tachybase#920
2024-05-07 20:30:14 +08:00
330b8b13da fix: load schema not working (#919)
Reviewed-on: daoyoucloud/tachybase#919
2024-05-07 16:09:05 +08:00
a596a8ee8d feat: support default setting items (#918)
Reviewed-on: daoyoucloud/tachybase#918
2024-05-07 15:17:28 +08:00
1bbb769951 chore: power-by and error-fallback (#917)
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#917
2024-05-07 02:56:20 +08:00
adfb78d936 feat: support other collection in popup (#916) close #838
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#916
2024-05-07 01:19:24 +08:00
b562ab8b28 feat: support tab dump and load (#915)
Reviewed-on: daoyoucloud/tachybase#915
2024-05-06 21:44:44 +08:00
4bb491f2e3 feat: 三聪头相关移动端支持逻辑 (#798)
Co-authored-by: sealday <zhanglin@daoyoucloud.com>
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#798
Co-authored-by: bai.zixv <bai.zixv@foxmail.com>
Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
2024-05-06 12:41:25 +08:00
46129499be feat: support workflow bulk (#858)
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#858
2024-04-30 16:27:50 +08:00
fda9853509 feat: support vditor (#894)
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#894
2024-04-30 02:24:09 +08:00
8a789c70f1 chore: migrate components (#893)
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#893
2024-04-30 02:00:13 +08:00
8c156c35d2 refactor: @hera/plugin-core @tachybase/schema, remove unused plugin-charts (#887)
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#887
2024-04-29 21:41:13 +08:00
wjh
6f625b7ad8 fix: 修改级联选择在置空后没有及时清除表单内容 close #831 (#866)
Reviewed-on: daoyoucloud/tachybase#866
Co-authored-by: wjh <wwwjh0710@163.com>
Co-committed-by: wjh <wwwjh0710@163.com>
2024-04-26 20:19:20 +08:00
022c315523 chore(version): release v0.21.24 (#864)
Reviewed-on: daoyoucloud/tachybase#864
2024-04-26 15:44:15 +08:00
e84fb947db chore(version): release v0.21.23 (#855)
Reviewed-on: daoyoucloud/tachybase#855
2024-04-25 19:06:10 +08:00
c82fe54fe4 feat: support date range field (#828)
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#828
2024-04-24 20:56:07 +08:00
a5f865c112 chore(version): release v0.21.22 (#841)
Reviewed-on: daoyoucloud/tachybase#841
2024-04-24 18:57:53 +08:00
021c8a9a16 fix: plugin-approval, submit approval or reject faild (#835)
Reviewed-on: daoyoucloud/tachybase#835
Co-authored-by: bai.zixv <bai.zixv@foxmail.com>
Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
2024-04-24 16:05:44 +08:00
ff3496ea79 chore(version): release v0.21.21 (#830)
Reviewed-on: daoyoucloud/tachybase#830
2024-04-24 13:11:55 +08:00
72bb3b43fe chore(version): release v0.21.20 (#819)
Reviewed-on: daoyoucloud/tachybase#819
2024-04-23 20:55:26 +08:00
1b59cb2a6b feat: 工作流审批组件完善 (#673)
Co-authored-by: sealday <zhanglin@daoyoucloud.com>
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#673
Co-authored-by: bai.zixv <bai.zixv@foxmail.com>
Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
2024-04-23 20:51:33 +08:00
13fa2ffea3 chore: version 20240423 组件补全组件报错 (#807)
Co-authored-by: lyx <2027667395@qq.com>
Reviewed-on: daoyoucloud/tachybase#807
Co-authored-by: hello@lv <2256334253@qq.com>
Co-committed-by: hello@lv <2256334253@qq.com>
2024-04-23 12:21:14 +08:00
a5f2dea973 fix: support attachment showCount set (#801)
Reviewed-on: daoyoucloud/tachybase#801
Co-authored-by: bai.zixv <bai.zixv@foxmail.com>
Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
2024-04-22 21:26:30 +08:00
f0472afcb5 feat: 支持快速更新插件版本 (#797)
Reviewed-on: daoyoucloud/tachybase#797
Co-authored-by: bai.zixv <bai.zixv@foxmail.com>
Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
2024-04-22 16:26:32 +08:00
99b79d87ad chore(version): release v0.21.18 (#784)
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#784
2024-04-20 07:02:22 +08:00
7371495cda chore(version): release version v0.21.17 (#778)
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#778
2024-04-20 04:35:49 +08:00
e9a090d674 fix: 修复视图, 当日期没有数据时,前端显示Invalid Date (#767)
![image](/attachments/be7d49d9-2d06-4f06-8087-46be51add4cb)
![image](/attachments/f969e654-7d3f-4eef-8bea-21f8dcf3a909)

Co-authored-by: sealday <zhanglin@daoyoucloud.com>
Reviewed-on: daoyoucloud/tachybase#767
Co-authored-by: bai.zixv <bai.zixv@foxmail.com>
Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
2024-04-19 14:17:16 +08:00
b1bff7d27e feat: 图标搜索优化, 给选中的图标添加背景色,方便识别 (#754)
![image](/attachments/52e527f2-5952-4ad4-b09e-d49222425be6)

Reviewed-on: daoyoucloud/tachybase#754
Co-authored-by: bai.zixv <bai.zixv@foxmail.com>
Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
2024-04-18 13:37:13 +08:00
d355519550 feat: 将表单的布局模式,按钮设置的默认位置, 放置在右上角 2024-04-18 13:10:38 +08:00
b4aa7ddea7 chore(version): release v0.21.16 2024-04-18 03:09:15 +08:00
a5bf64eb93 chore(version): release v0.21.15 2024-04-18 01:33:03 +08:00
c53dedd2b2 chore(version): release v0.21.14 2024-04-18 00:10:10 +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
wjh
4935dff231 fix: 修复级联选择在编辑的时候没有默认值 close #633 (#749)
Reviewed-on: daoyoucloud/tachycode#749
Co-authored-by: wjh <wwwjh0710@163.com>
Co-committed-by: wjh <wwwjh0710@163.com>
2024-04-17 16:53:19 +08:00
6d0e3eded2 fix: 重命名图标搜索文件 (#745)
Reviewed-on: daoyoucloud/tachycode#745
Co-authored-by: bai.zixv <bai.zixv@foxmail.com>
Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
2024-04-17 14:00:14 +08:00
e3f23fa7b1 feat: 图标支持快捷搜索, 悬浮提示 (#743)
![image](/attachments/24bd3a25-990d-431c-8682-a7e034d7826d)

Co-authored-by: sealday <zhanglin@daoyoucloud.com>
Reviewed-on: daoyoucloud/tachycode#743
Co-authored-by: bai.zixv <bai.zixv@foxmail.com>
Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
2024-04-17 13:56:39 +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
2ba865af2c feat: 更改npm包管理器默认地址, 以及 更改dump-load的file选项为必选 (#740)
Reviewed-on: daoyoucloud/tachycode#740
Co-authored-by: bai.zixv <bai.zixv@foxmail.com>
Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
2024-04-17 12:14:33 +08:00
lyx
25418ffbde chore: version 2024-04-16 21:48:28 +08:00
wjh
e0be6a7aba fix: 修复自定义组件下拉框没有自定义显示选项 (#730)
Reviewed-on: daoyoucloud/tachycode#730
Co-authored-by: wjh <wwwjh0710@163.com>
Co-committed-by: wjh <wwwjh0710@163.com>
2024-04-16 15:53:13 +08:00
520b0024d4 chore(version): release v0.21.12 2024-04-16 04:44:41 +08:00
2733e513d2 chore(release): release v0.21.11 2024-04-16 04:35:58 +08:00
bbf19d31c7 fix: support fuzzy search in cascader & fix undefined label (#718)
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachycode#718
Co-authored-by: sealday <zhanglin@daoyoucloud.com>
Co-committed-by: sealday <zhanglin@daoyoucloud.com>
2024-04-15 19:03:29 +08:00
9116a74823 chore(version): release v0.21.7 2024-04-15 05:32:07 +08:00
f64a661e05 chore: 清理部分插件,修复 @tachybase/cli 工具 关联 #704
Reviewed-on: daoyoucloud/tachycode#706
2024-04-15 01:58:18 +08:00
b253ffafb6 chore(version): release v0.21.6 2024-04-11 00:06:27 +08:00
d2ba989f56 chore(version): release v0.21.5 2024-04-10 22:20:34 +08:00
6351c1c44f chore(version): release v0.21.4
Reviewed-on: daoyoucloud/tachycode#668
2024-04-10 16:14:26 +08:00
8a2548f480 feat: 移动端支持筛选
Reviewed-on: daoyoucloud/tachycode#638
2024-04-10 15:54:01 +08:00
33a0b34c07 chore(version): release v0.21.3 2024-04-10 01:28:26 +08:00
311e74e3f7 chore(version): release new version 2024-04-10 01:26:07 +08:00
464a963316 chore(version): release 0.21.2-alpha.12 2024-04-10 00:37:35 +08:00
bai.jingfeng
a329ab5727 fix: 临时修复,模板第一次进入无法加载 (#655)
Reviewed-on: daoyoucloud/tachycode#655
Co-authored-by: bai.jingfeng <bai.jingfeng@foxmail.com>
Co-committed-by: bai.jingfeng <bai.jingfeng@foxmail.com>
2024-04-09 20:20:48 +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
0add483693 chore(version): fix sort 2024-04-08 15:58:36 +08:00
4e902fc9e0 fix: source id & subtable sort
Reviewed-on: daoyoucloud/tachycode#624
2024-04-08 15:47:48 +08:00
a1c8115480 refactor: remove unsed formula plugins 2024-04-08 13:42:23 +08:00
cdb6247a99 Merge pull request 'feat: 更新提交数据,支持增量提交' (#622) from feat/submit-edit-field-only into dev
Reviewed-on: daoyoucloud/tachycode#622
2024-04-08 12:14:59 +08:00
bai.jingfeng
64387242a6 feat: 更新提交数据,支持增量提交 2024-04-07 21:05:51 +08:00
c8917cec52 chore: release new version 2024-04-07 20:20:24 +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
e41536ed42 Merge pull request 'fix: 上游跟进,fix- getSourceKeyByAssocation #3947' (#613) from fix/source-key into dev
Reviewed-on: daoyoucloud/tachycode#613
2024-04-07 18:39:30 +08:00
bai.jingfeng
9f12aa8ae5 fix: 上游跟踪,fix- getSourceKeyByAssocation #3947 2024-04-07 17:53:02 +08:00
bai.jingfeng
7f43de4e23 fix: 配置字段,显示一对一的关联表的筛选项 2024-04-07 11:34:37 +08:00
5db6f51e70 chore: upgrade version 2024-04-06 03:36:20 +08:00
5897990f05 chore: remove help 2024-04-06 03:35:27 +08:00
b752e1afe0 feat: optimize block add menu 2024-04-03 20:02:39 +08:00
93d0e17912 fix: add menu 2024-04-03 19:57:59 +08:00
ae83be17c3 fix: import error 2024-04-03 19:42:04 +08:00
732a2673a0 chore: upgrade version 2024-04-03 19:40:05 +08:00
7d500fe1c9 fix: should shadow merge 2024-04-03 19:37:19 +08:00
4a0575985e Merge pull request 'fix: 日期提交给后端设置为utc类型,单选类型有误差,后期需要系统整理日期格式问题' (#595) from fix_date_utc into dev
Reviewed-on: daoyoucloud/tachycode#595
2024-04-03 19:21:53 +08:00
bai.jingfeng
2544dab6be fix: 数据关联表引用自己的情况不显示内容-同步官方, 发布后需要重新配置区块 2024-04-03 18:37:12 +08:00
bai.jingfeng
213a1b2dd4 fix: 日期提交给后端设置为utc类型,单选类型有误差,后期需要系统整理日期格式问题 2024-04-03 18:08:50 +08:00
ec4779a94d chore: upgrade version 2024-04-03 00:24:39 +08:00
bai.jingfeng
953e13fce7 feat: 系统设置-交互行为优化. 系统设置区块,配置操作,提交按钮,初始化时,支持设置提交成功后的回调 2024-04-02 20:55:22 +08:00
67d6b2d5f4 chore: upgrade version 2024-04-02 20:38:48 +08:00
f70de8501b chore: upgrade version 2024-04-02 19:17:40 +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
3d7af7734c feat: 支持 docker 构建
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachycode#561
2024-04-01 17:29:46 +08:00
d1b50a8f31 feat: 将 yarn + learn 的 monorepo 转成 pnpm (#548) (#555)
Reviewed-on: daoyoucloud/tachycode#555
2024-04-01 13:39:44 +08:00
lyx
b8406d8436 feat: git revert 005b5a313d 2024-04-01 11:28:38 +08:00
8c4730a4ab fix: table style error 2024-03-30 22:53:30 +08:00
katherinehhh
9acb908981 fix: templateBlockProvider support association field append 2024-03-30 21:41:37 +08:00
f06518a05c refactor: move menu load and dump function to core/client 2024-03-30 05:28:26 +08:00
e4125ee1df Merge remote-tracking branch 'origin/main' into merge_from_upstream 2024-03-30 02:24:40 +08:00
dc7c6a5052 Revert "refactor: linkage rule fireImmediately (#3847)"
This reverts commit 0191070547.
2024-03-29 18:50:42 +08:00
92f31ef92a Revert "fix: template block linkage and association data load failed"
This reverts commit 44c6d89e54.
2024-03-29 18:48:45 +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
chenos
6e20ab1a77 chore(versions): 😊 publish v0.21.0-alpha.1 2024-03-29 17:43:20 +08:00
jack zhang
005b5a313d
fix: association parent request (#3865)
* fix: association parent request

* fix: bug
2024-03-29 15:59:41 +08:00
Zeke Zhang
d0746b1155
test: add unit test for parseHTML (#3870) 2024-03-29 14:52:20 +08:00
YANG QIA
868a487b2d
fix(data-vi): bug when filtering chart with assocations (#3867)
* fix(data-vi): bug when filtering chart with assocations

* fix: remote select
2024-03-29 14:13:59 +08:00
chenos
11536cb0e0 fix(client): the reference template was deleted by mistake 2024-03-29 12:14:10 +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
29af40f504 style(Help): optimize style 2024-03-29 08:40:16 +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
katherinehhh
44e7f48f99
test: main data source e2e test (#3816)
* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: main data source e2e test

* test: test

* test: test

* refactor: code improve

* test: test
2024-03-28 21:04:53 +08:00
jack zhang
467699cdf9
fix: delete field style improve (#3820) 2024-03-28 16:54:31 +08:00
katherinehhh
9a66301ec7
refactor: default role & default field storage (#3844)
* refactor: default role & default field storage

* refactor: verification

* refactor: verification
2024-03-28 16:47:43 +08:00
katherinehhh
0191070547
refactor: linkage rule fireImmediately (#3847) 2024-03-28 14:46:55 +08:00
katherinehhh
e88082232d
fix: reporting error when clicking on the print button for the detail block (#3845) 2024-03-28 14:42:56 +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
jack zhang
7566a7b357
fix: client internal method (T-3711 and T-3712 and T-3713) (#3839)
* fix: client internal method (T-3711 and T-3712 and T-3712)

* fix: bug
2024-03-27 21:03:51 +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
74051ff0a5
refactor(DataBlock): kanban and gantt and map and calendar (#3792)
* refactor: kanban

* refactor: gantt

* refactor: map

* refactor: calendar

* refactor: compat

* refactor: rename to createKanbanBlockUISchema

* refactor(kanban): use x-use-component-props instead of useProps

* refactor(Gantt): rename to createGanttBlockUISchema

* refactor: use x-use-component-props instead of useProps

* refactor: rename

* refactor(Map): use x-use-component-props instead of useProps

* refactor(Calendar): rename

* refactor(Calendar): should not get collection on getting association in UISchema

* refactor(Calendar): use x-use-component-props instead of useProps

* chore: add comment

* chore: fix unit test

* fix: add scopes to fix e2e

* fix(Calendar): add association property to CalendarBlockProvider decorator

* test: add e2e for Calenndar
2024-03-27 18:06:28 +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
03a0ba57ff fix: formula select pick wrong field 2024-03-27 17:59:58 +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
wjh
9b405b4b9d fix: 把remoteSelect和Select组件合并到框架 (#499)
Reviewed-on: daoyoucloud/tachycode#499
Co-authored-by: wjh <wwwjh0710@163.com>
Co-committed-by: wjh <wwwjh0710@163.com>
2024-03-27 16:49:56 +08:00
chenos
cfa6930d70
fix(client): disable the default onSubmit event of the form (#3834) 2024-03-27 16:37:33 +08:00
chenos
d04a60d386
fix: e2e-failed (#3828)
* fix: e2e-failed

* fix: ci

* fix: ci bug

* fix: ci(skip server ci)

* fix: ci [skip ci]

* fix: ci(skip server ci)

* fix: ci

* fix: ci

* fix: remove skip if

---------

Co-authored-by: dream2023 <1098626505@qq.com>
2024-03-27 12:03:00 +08:00
chenos
b1be8381b5 fix(filter-form): htmlType=submit 2024-03-26 19:51:14 +08:00
chenos
339822241f chore(versions): 😊 publish v0.20.0-alpha.17 2024-03-26 17:25:06 +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
ac5a82fde3
fix(Table): fix invalid pagination (#3821)
* fix(Table): fix invalid pagination

* test: add test

* fix: unit test bug

---------

Co-authored-by: dream2023 <1098626505@qq.com>
2024-03-26 17:15:34 +08:00
chenos
c4aa8b78c2
chore: add tsdoc (#3788)
* chore: tsdoc

* chore: tsdoc

* fix: error

* chore: code format

* chore: code format
2024-03-26 17:08:45 +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
YANG QIA
088f3977a2
feat(data-vi): support multiple data sources (#3743)
* feat(data-vi): support multiple data sources

* chore: update

* chore: new pr

* chore: update

* chore: merge

* fix: bug

* fix: isDBInstance

* fix: fix T-3624

* fix: fix T-3625

* fix: test

* fix: fix T-3659

* fix: fix T-3660

* fix: backend tests

* fix: acl

* fix: fix T-3680

* fix: build
2024-03-25 14:54:13 +08:00
Junyi
d691e4c7e6
feat(plugin-workflow): support multiple data source in workflow (#3739)
* feat(plugin-workflow): support multiple data source in workflow

* fix(plugin-workflow): fix test cases

* test(plugin-workflow-sql): debug test case

* fix(plugin-workflow): fix collection trigger creation without config

* test(plugin-workflow-sql): debug test case

* fix: workflow e2e test

* chore(ci): disable console intercept in vitest

* chore(ci): disable console intercept in vitest

* chore(ci): disable console intercept in vitest

* chore(ci): disable console intercept in vitest

* test(plugin-workflow-sql): debug test case

* test: approval e2e

* fix: remove pro-plugins from packages

* refactor(plugin-workflow): support pass collection from props to CollectionBlockInitializer

* test(plugin-workflow): add test case

* fix(plugin-workflow): disable modification of executed workflow

* fix: e2ePageObjectModel

* fix: load data source when data source load failed (#3793)

* chore: console.log

* fix(subTable): fix sorting rule setting (#3795)

* fix: through collection support search (#3800)

* fix(client): visible -> useVisible

* fix(client): fix action designer error occured in custom form (#3801)

* fix(client): fix action designer error occured in custom form

* fix(client): fix from the source

* chore(module): remove submodule

* fix(plugin-workflow): fix client cycling import

* fix(plugin-workflow): fix collection event name

* fix(plugin-workflow): fix undefined ref

---------

Co-authored-by: hongboji <j414562100@qq.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: katherinehhh <shunai.tang@hand-china.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-03-25 14:46:22 +08:00
katherinehhh
5e22103e33
chore: file collection template preset fields should be disabled (#3810) 2024-03-25 11:39:52 +08:00
katherinehhh
66229cc92b
fix: plugin manager keywords (#3809) 2024-03-25 09:51:57 +08:00
katherinehhh
88d1bdbefb
fix: expand action and add new action should support drag & sort (#3808) 2024-03-24 19:44:39 +08:00
chenos
921696f40b
fix: useExpressionScope (#3805) 2024-03-24 12:51:41 +08:00
0249affd47 Merge remote-tracking branch 'origin/main' into merge_from_origin 2024-03-24 01:03:26 +08:00
chenos
71ec7ece6a chore(versions): 😊 publish v0.20.0-alpha.16 2024-03-23 17:54:02 +08:00
jack zhang
b879d11235
fix: hide child when useVisible() is false (#3803) 2024-03-23 11:14:56 +08:00
Junyi
e82a33f1f7
fix(client): fix action designer error occured in custom form (#3801)
* fix(client): fix action designer error occured in custom form

* fix(client): fix from the source
2024-03-23 10:24:51 +08:00
chenos
0d2ed3f8a0 fix(client): visible -> useVisible 2024-03-23 08:12:42 +08:00
katherinehhh
4f0907be1b
fix: through collection support search (#3800) 2024-03-22 23:08:17 +08:00
Zeke Zhang
cef18eb979
fix(subTable): fix sorting rule setting (#3795) 2024-03-22 16:42:34 +08:00
daf93e62c2 Revert "Revert "fix: modal app not found""
This reverts commit f4e75348d7.
2024-03-21 22:18:27 +08:00
f4e75348d7 Revert "fix: modal app not found"
This reverts commit f5a83d48da.
2024-03-21 22:14:32 +08:00
wjh
2b405fbf1a fix: 修改表格表头居中 2024-03-21 20:25:43 +08:00
de89814eba Merge remote-tracking branch 'origin/main' into merge_from_upstream 2024-03-21 18:40:03 +08:00
katherinehhh
f385c34c72
fix: filter does not allow passing empty objects (#3780) 2024-03-21 16:32:51 +08:00
f5a83d48da fix: modal app not found 2024-03-20 19:57:54 +08:00
katherinehhh
36ce29eace
fix: first character entered in foreign key input is not displayed (#3770) 2024-03-20 17:27:33 +08:00
chenos
bef9c8ab7b chore(versions): 😊 publish v0.20.0-alpha.15 2024-03-20 14:47:28 +08:00
katherinehhh
77cae4779a
fix: uuid & nanoid should be disabled when editing (#3762) 2024-03-20 09:51:40 +08:00
Zeke Zhang
8e322ae151 test: add e2e for Disassociate 2024-03-20 09:51:06 +08:00
ChengLei Shao
5153ce9ab2
fix: uuid field (#3736)
* fix: uuid test

* chore: uuid test

* fix: test

* fix: uuid field name support edit

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-03-20 09:39:11 +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
f82dc6a052 refactor: change powered-by 2024-03-19 12:28:27 +08:00
Zeke Zhang
368036923f
fix: fix the disappearing collections when searching (#3750) 2024-03-19 09:00:01 +08:00
katherinehhh
23c6e146e2
fix: configure openSize for table action is only immediately valid for one row (#3752)
* fix: opensize for table action is only immediately  valid for that row

* fix: opensize for table action is only immediately  valid for that row
2024-03-18 19:55:03 +08:00
chenos
c75d38bb05 chore(versions): 😊 publish v0.20.0-alpha.14 2024-03-18 18:29:13 +08:00
katherinehhh
2236ac5be2
refactor: url field support text type as availableTypes (#3751) 2024-03-18 17:58:32 +08:00
Chareice
1660a62399
chore: using text type as url field 2024-03-18 16:00:53 +08:00
chenos
220eafbda5 fix(client): plugin aliases 2024-03-18 15:55:10 +08:00
Zeke Zhang
aa1823cd73
chore: adapt to plugin-custom-brand (#3740)
* chore: adapt to plugin-custom-brand

* chore: add parseHTML

* chore: adapt to plugin-custom-brand
2024-03-18 13:22:18 +08:00
85ba307506 Merge remote-tracking branch 'hera/@hera/dev' into feat_drawer_in_page 2024-03-18 11:07:10 +08:00
chenos
3b619682ee fix(field-interface): nested filterable 2024-03-18 09:56:28 +08:00
chenos
db9ff337e5 chore(versions): 😊 publish v0.20.0-alpha.13 2024-03-17 23:34:26 +08:00
dbd5622f27 feat: support tachycode issue feedback 2024-03-17 23:30:55 +08:00
2af767c7ef refactor: migrate popover(drawer) to core/client 2024-03-17 23:30:24 +08:00
f40fb6684f Merge remote-tracking branch 'origin/main' into merge_from_upstream_2 2024-03-17 23:29:16 +08:00
katherinehhh
7e32842a6d
fix: collections undefined inuseCollectionState (#3741) 2024-03-17 22:16:11 +08:00
katherinehhh
483f45765d
refactor: colDivider style improve for draging overing (#3709)
* refactor: colDivider style improve for draging overing

* refactor: stle improve

* style: grid.Col style improve
2024-03-17 16:35:59 +08:00
katherinehhh
4cf560b177
fix(acl): invalid action permission judgment (#3735)
* fix: x-acl-action is missing in action schema

* fix: useACLRoleContext

* fix: useACLRoleContext

* fix: useACLRoleContext
2024-03-17 09:26:35 +08:00
d07932e9eb Merge remote-tracking branch 'origin/main' into merge_from_upstream_1 2024-03-17 04:28:06 +08:00
chenos
c1be864124 chore(versions): 😊 publish v0.20.0-alpha.12 2024-03-16 23:18:19 +08:00
chenos
15ef81854e chore(versions): 😊 publish v0.20.0-alpha.11 2024-03-16 20:05:34 +08:00
chenos
b359f9eac6
feat: supports subdirectory deployment (#3731)
* feat: supports subdirectory deployment

* feat: auto publicPath

* fix: buildIndexHtml

* fix: format

* fix: regexp

* fix: test error

* fix: nocobase.conf

* fix: path

* fix: nocobase.conf

* fix: bugs

* fix: resourcer prefix

* fix: cas
2024-03-16 20:01:34 +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
d8590a6a95 fix: subtable copy error 2024-03-15 17:34:32 +08:00
1f5c9fbdf5 Merge remote-tracking branch 'origin/main' into merge_from_upstream 2024-03-15 16:04:04 +08:00
jack zhang
04ee7b84ec
feat: add data source filter (#3724) 2024-03-15 15:38:33 +08:00
Zeke Zhang
b0705843e5
fix(Table): fix disappearing content after selecting a row (#3726) 2024-03-15 14:14:41 +08:00
abec9982fb Merge remote-tracking branch 'origin/main' into merge_from_upstream 2024-03-14 22:19:15 +08:00
katherinehhh
032352985b
refactor: view collection set name as default title when title is missing (#3719) 2024-03-14 21:51:48 +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
jack zhang
99358ee796
fix: block template (#3714) 2024-03-14 14:30:02 +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
jack zhang
ca01bdc306
fix: remove env in colletion delete button (#3682) 2024-03-14 10:35:19 +08:00
chenos
40a22943b9 chore(versions): 😊 publish v0.20.0-alpha.10 2024-03-13 22:41:12 +08:00
72f62d359e feat: support copy after line 2024-03-13 19:27:47 +08:00
katherinehhh
e5c1bef8de
fix(client): size undefined in nanoid (#3708)
* fix(data-source): foreignkey

* fix: size undefined in nanoid
2024-03-13 19:00:28 +08:00
wjh
d64ff60674 feat: 添加子表格复制功能 2024-03-13 17:54:24 +08:00
wjh
aa8ac55c28 feat: 添加子表格复制功能 2024-03-13 17:52:32 +08:00