Commit Graph

121 Commits

Author SHA1 Message Date
GitHub Actions Bot
0d6ebe16cf chore(versions): 😊 publish v1.2.1-alpha 2024-06-12 05:15:06 +00:00
GitHub Actions Bot
79634179a4 chore(versions): 😊 publish v1.2.0-alpha 2024-06-12 03:39:54 +00:00
GitHub Actions Bot
c7060aeceb chore(versions): 😊 publish v1.0.1-alpha.3 2024-06-11 23:57:39 +00:00
GitHub Actions Bot
092f3afab1 chore(versions): 😊 publish v1.0.1-alpha.2 2024-06-11 12:13:31 +00:00
Junyi
792200278e
refactor(plugin-workflow): change variable getter from collection fields (#4567)
* refactor(plugin-workflow): change variable getter from collection fields

* fix(plugin-workflow): fix import

* chore(plugin-workflow-action-trigger): remove unused import

* fix(plugin-workflow): fix collection field in workflow variable

* refactor(plugin-workflow-manual): avoid tslint error
2024-06-10 16:30:43 +08:00
GitHub Actions Bot
9218319d02 chore(versions): 😊 publish v1.0.1-alpha.1 2024-06-07 13:46:37 +00:00
GitHub Actions Bot
53eb054848 chore(versions): 😊 publish v1.0.0-alpha.17 2024-05-27 06:44:39 +00:00
GitHub Actions Bot
2e7744f85c chore(versions): 😊 publish v1.0.0-alpha.16 2024-05-27 01:28:10 +00:00
GitHub Actions Bot
4f3a3c0931 chore(versions): 😊 publish v1.0.0-alpha.15 2024-05-21 02:53:07 +00:00
Junyi
69b3cfabb0
fix(plugin-workflow-action-trigger): fix hint (#4383) 2024-05-18 12:11:21 +08:00
Zeke Zhang
ec558e3b98
refactor: flatten and merge Actions (#4336)
* chore: remove switch

* refactor: ensure compatibility with old code

* refactor: flatten Actions

* refactor: extract options

* refactor: remove isCusomeizeCreate

* refactor: merge addNew and addRecord actions

* refactor: merge Submit and Save record actions

* refactor: extract common options

* feat: add tow props called 'currentText' and 'otherText'

* chore: fix failed tests

* refactor: add ActionInitializerItem to replace ActionInitializer

* chore: fix failed tests

* fix: fix T-4284

* fix: fix inherit

* chore: fix failed test

* chore: add Switch

* chore: add Switch for delete button

* test: e2ePageObjectModel

---------

Co-authored-by: hongboji <j414562100@qq.com>
2024-05-17 09:37:23 +08:00
GitHub Actions Bot
0399272664 chore(versions): 😊 publish v1.0.0-alpha.14 2024-05-16 13:53:55 +00:00
GitHub Actions Bot
3e7d85b8fa chore(versions): 😊 publish v1.0.0-alpha.13 2024-05-14 09:18:26 +00:00
GitHub Actions Bot
52a893f989 chore(versions): 😊 publish v1.0.0-alpha.12 2024-05-13 00:44:13 +00:00
Zeke Zhang
e96afd09e4
chore: test e2e CI (#4314)
* chore: test CI

* chore: run build CI

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: reduce timeout-minutes for e2e

* chore: use cancelled insted of always

* refactor: split files

* chore: split jobs

* refactor: split files

* refactor: split files

* chore: better comment

* chore: test

* chore: test

* chore: install glob

* chore: test

* chore: test all

* chore: fix failed tests

* chore: fix tests
2024-05-11 20:51:32 +08:00
GitHub Actions Bot
fcd368cee3 chore(versions): 😊 publish v1.0.0-alpha.11 2024-05-11 05:27:54 +00:00
GitHub Actions Bot
814d5cb2d2 chore(versions): 😊 publish v1.0.0-alpha.10 2024-05-11 01:02:08 +00:00
GitHub Actions Bot
9ecdf9bc08 chore(versions): 😊 publish v1.0.0-alpha.9 2024-05-09 15:13:48 +00:00
GitHub Actions Bot
d57ebbdb44 chore(versions): 😊 publish v1.0.0-alpha.8 2024-05-09 08:31:49 +00:00
GitHub Actions Bot
24590cdd74 chore(versions): 😊 publish v1.0.0-alpha.7 2024-05-09 08:09:31 +00:00
Junyi
65f8bd48ae
fix(plugin-workflow-custom-action-trigger): fix locales (#4298) 2024-05-09 14:58:46 +08:00
Junyi
cafaa82a94
refactor(plugin-workflow): migrate directly action trigger to custom action trigger (#4253)
* refactor(plugin-workflow): migrate directly action trigger to custom action trigger

* test(plugin-workflow-action-trigger): skip legacy test case

* chore(plugin-workflow-action-trigger): adjust locale

* chore(plugin-workflow-action-trigger): adjust locale

* chore(plugin-workflow-action-trigger): match version for migration
2024-05-09 08:34:29 +08:00
chenos
a2d8870fdf chore(versions): 😊 publish v1.0.0-alpha.6 2024-05-07 16:49:53 +08:00
chenos
3c3e68acdc chore(versions): 😊 publish v1.0.0-alpha.5 2024-05-07 08:59:58 +08:00
chenos
7d24e11229 chore(versions): 😊 publish v1.0.0-alpha.4 2024-05-02 10:40:08 +08:00
chenos
2ba022ac1f chore(versions): 😊 publish v1.0.0-alpha.3 2024-04-30 16:11:28 +08:00
jack zhang
62b2b5c68b
chore: add copyright information to the file header (#4028)
* fix: add license code

* fix: bug

* fix: bug

* fix: upgrade

* fix: improve

* chore: add copyright information to the file header

* fix: d.ts bug

* fix: bug

* fix: e2e bug

* fix: merge main

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-30 15:51:31 +08:00
jack zhang
a293e9e543
fix: build order bug (#4223)
* fix: build order bug

* fix: remove getCompatible error tip

* fix: add workflow npmignore
2024-04-29 19:27:32 +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
Junyi
bcf6c1b677
test(plugin-workflow): add test cases (#4199)
* test(plugin-workflow): add test cases

* fix(plugin-workflow): fix test cases
2024-04-28 17:03: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
chenos
9b20b04e98 chore(versions): 😊 publish v0.21.0-alpha.13 2024-04-21 12:04:14 +08:00
chenos
a8eb2b719c chore(versions): 😊 publish v0.21.0-alpha.12 2024-04-19 22:53:42 +08:00
chenos
438a059c7b chore(versions): 😊 publish v0.21.0-alpha.11 2024-04-17 23:47:44 +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
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
xilesun
d66c2baa53 chore(versions): 😊 publish v0.21.0-alpha.7 2024-04-13 09:37:59 +08:00
Junyi
de935d54b6
feat(plugin-workflow-action-trigger): support association actions to trigger (#4007) 2024-04-11 10:57:14 +08:00
chenos
6017c01f02 chore(versions): 😊 publish v0.21.0-alpha.6 2024-04-07 21:52:45 +08:00
chenos
b63a685f84 chore(versions): 😊 publish v0.21.0-alpha.5 2024-04-07 11:06:02 +08:00
chenos
31713390b5 chore(versions): 😊 publish v0.21.0-alpha.4 2024-04-07 08:33:05 +08:00
chenos
d2b808671b chore(versions): 😊 publish v0.21.0-alpha.3 2024-04-06 13:04:57 +08:00
chenos
d173aef69b chore(versions): 😊 publish v0.21.0-alpha.2 2024-04-03 23:31:25 +08:00
Junyi
0544b8df45
feat(plugin-workflow-action-trigger): add global action events (#3883)
* feat(plugin-workflow-action-trigger): add global action events

* feat(plugin-workflow): refine trigger select component style

* fix(plugin-workflow-action-trigger): fix unexpected triggering on any action

* fix(plugin-workflow-action-trigger): fix global check logic

* fix(plugin-workflow): adjust workflow type select style

* refactor(plugin-workflow): adjust triggers description

* fix(plugin-workflow): adjust events descriptions

* fix(plugin-workflow): fix locale

* fix(plugin-workflow-action-trigger): fix workflow filter rule in binding configuration

* fix(plugin-workflow-action-trigger): fix locale

* fix(plugin-workflow-action-trigger): fix locale

* fix(plugin-workflow-action-trigger): fix binding filter condition

* fix(plugin-workflow-action-trigger): fix locale

* fix: trigger type locator

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: hongboji <j414562100@qq.com>
2024-04-03 15:39:56 +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
chenos
6e20ab1a77 chore(versions): 😊 publish v0.21.0-alpha.1 2024-03-29 17:43:20 +08:00
chenos
339822241f chore(versions): 😊 publish v0.20.0-alpha.17 2024-03-26 17:25:06 +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
chenos
71ec7ece6a chore(versions): 😊 publish v0.20.0-alpha.16 2024-03-23 17:54:02 +08:00
Junyi
9b27fa955a
feat(plugin-user): add model method desensitize() to filter hidden field (#3768)
* feat(plugin-user): add model method desensitize() to filter hidden field

* fix(plugin-workflow-action-trigger): fix user fields in context
2024-03-20 23:22:22 +08:00
chenos
bef9c8ab7b chore(versions): 😊 publish v0.20.0-alpha.15 2024-03-20 14:47:28 +08:00
chenos
c75d38bb05 chore(versions): 😊 publish v0.20.0-alpha.14 2024-03-18 18:29:13 +08:00
chenos
db9ff337e5 chore(versions): 😊 publish v0.20.0-alpha.13 2024-03-17 23:34:26 +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
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
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 9e5b4af41e.

* fix: use isInitializersSame to fix some case
2024-03-14 14:13:11 +08:00
chenos
40a22943b9 chore(versions): 😊 publish v0.20.0-alpha.10 2024-03-13 22:41:12 +08:00
chenos
2e7da6e29b chore(versions): 😊 publish v0.20.0-alpha.9 2024-03-12 21:15:51 +08:00
xilesun
6fd06a28c8 chore(versions): 😊 publish v0.20.0-alpha.8 2024-03-11 09:59:08 +08:00
Junyi
677eb152e0
fix(plugin-workflow-action-trigger): fix appends loading (#3659)
* fix(plugin-workflow-action-trigger): fix appends loading

* fix(plugin-workflow-action-trigger): fix test case
2024-03-08 21:06:10 +08:00
Junyi
0bb0396754
fix(plugin-workflow): fix migration (#3654) 2024-03-08 17:29:35 +08:00
chenos
63d1a8d90c chore(versions): 😊 publish v0.20.0-alpha.7 2024-03-08 14:11:35 +08:00
chenos
8b4821e2df chore(versions): 😊 publish v0.20.0-alpha.6 2024-03-08 10:23:26 +08:00
Junyi
b5ae9343b5
fix(workflow-action-trigger): change plugin name (#3631)
* fix(plugin-workflow-action-trigger): fix migration

* fix(plugin-workflow): fix useless migration logic
2024-03-06 16:36:35 +08:00
Junyi
c2b121cda6
feat(plugin-workflow-form-trigger): add trigger button to all single record action bar (#3563)
* feat(plugin-workflow-form-trigger): add trigger button to all single record actionbar

* fix(plugin-workflow-form-trigger): fix button style and triggering

* fix(plugin-workflow): fix unused hook ref in workflow

* fix(plugin-workflow-form-trigger): fix button style

* refactor(plugin-workflow-action-trigger): change plugin name

* fix(plugin-workflow-action-trigger): fix unmigrated stuff

* fix(plugin-workflow-action-trigger): fix test case

* fix(plugin-workflow-action-trigger): fix test case

* fix(presets): fix package name

* fix(plugin-workflow-action-trigger): fix e2e test and migration

* fix(plugin-workflow-action-trigger): fix migration

* fix(plugin-workflow-action-trigger): fix migration

* fix(plugin-workflow-action-trigger): fix migration

* feat(plugin-workflow-action-trigger): add destroy to trigger

* fix(plugin-workflow-action-trigger): fix appends select

* fix(plugin-workflow-action-trigger): remove support for destroy action

* fix(plugin-workflow-action-trigger): fix collection check

* fix(plugin-workflow-action-trigger): fix test case

* fix(plugin-workflow-action-trigger): fix test case

* fix(plugin-workflow-action-trigger): fix test case
2024-03-06 14:42:20 +08:00