Commit Graph

2419 Commits

Author SHA1 Message Date
JoGosGitHub
770f53ec4e
Feat/translation es_ES (#1801)
* feat: client and plugin translation ES

* fix: es translation

* fix: es translation
2023-05-17 11:39:37 +08:00
Dunqing
fdca52ae60
fix: data is not updated when appends are changed (#1872) 2023-05-17 11:38:42 +08:00
katherinehhh
3603b2fe23
fix:association select no options when clearing filter (#1866)
* fix: inherit fields filter Foreign Key fields

* fix: association select no options displayed when clearing filter

* fix: association select no options displayed when clearing filter
2023-05-17 11:37:54 +08:00
chenos
3b8af6e863 feat(client): change the order of blocks 2023-05-17 11:36:41 +08:00
YANG QIA
f5d6dd7d09
fix(acl): issue with repeated createdById field (#1871) 2023-05-16 20:33:05 +08:00
Rairn
fbbd90ca3c chore: avoid error 2023-05-16 20:16:45 +08:00
Rairn
2e4636a8ca chore: avoid errors generated by collectionField 2023-05-16 20:09:36 +08:00
Rairn
8ba90b126f fix: avoid error 2023-05-16 19:51:07 +08:00
Junyi
0eb1c31514
feat(client): allow search by title in collection select (#1869) 2023-05-16 02:07:56 -07:00
ChengLei Shao
29956150ba
chore: skip get standalone deployment sub application (#1868)
* chore: skip get standalone deployment sub application

* feat: standalone deployment

* fix: link

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-16 16:38:17 +08:00
Junyi
9931e6a486
fix(plugin-workflow): remove useless context option (#1867) 2023-05-15 23:16:13 -07:00
katherinehhh
190ba4db1f
fix: inherit fields filter Foreign Key fields (#1864) 2023-05-16 11:28:35 +08:00
Junyi
238af440e3
feat(plugin-workflow): loop (#1787)
* feat(plugin-workflow): add loop instruction

* fix(plugin-workflow): fix lint error

* feat(plugin-workflow): add loop variable in client

* feat(plugin-workflow): refactor and add job list to nodes in execution

* feat(plugin-workflow): allow to query multiple records

* fix(plugin-workflow): fix i18n

* fix(plugin-workflow): fix undefined value in component

* fix(plugin-workflow): fix parse context value with current node

* fix(plugin-workflow): fix revision with scope variable

* test(plugin-workflow): add failing case

* fix(plugin-workflow): fix revision with scope variable

* chore(plugin-workflow): fix lint errors

* fix(plugin-workflow): fix workflow canvas page style

* fix(plugin-workflow): revert abstracted node config drawer back to each node

* fix(plugin-workflow): fix parallel extra call

* fix(plugin-workflow): fix parallel branch end

* fix(plugin-workflow): fix jobs variable in processor

* fix(plugin-workflow): fix workflow canvas scroll style

* fix(plugin-workflow): fix slowly opening job modal

* fix(plugin-workflow): fix cycling reference
2023-05-15 18:45:45 -07:00
katherinehhh
8cf3c40ad4
fix: insertAdjacent not find (#1861) 2023-05-16 09:20:45 +08:00
katherinehhh
d58174011c
refactor(add-new):association field add new support button edit (#1854)
* feat: assoociation add new supoort button edit

* feat: assoociation add new supoort button edit

* fix: add new button type

* refactor: add new support button edit
2023-05-16 09:06:03 +08:00
Dunqing
3a77e4376a
feat: support List and Grid Card block (#1753)
* feat: support details block

* feat: rename to list

* fix: imports

* feat: improve list block

* feat: support title hidden

* fix: showTitle default value

* feat: support table column actions

* feat: support appendsOnDemand

* feat: reuse same schema items

* feat: shouldn't display pagination when pages only one

* feat: block order

* feat: support card list

* fix: appends on demand

* fix: remove unused code

* fix: params

* fix: improve default pageSize

* feat: improve performance

* feat: add title designer

* feat: improve huge performance

* fix: better key

* feat: improve schema perf

* feat: improve initializer

* fix: improve grid perf

* fix: avoid haven't properties

* feat: support automatic run service when params changed

* fix: revert params

* fix: grid col width

* refactor: improve CardList performance

* fix: initializer related

* feat: i18n supports

* fix: improve get schema

* fix: create new form

* fix: revert code

* feat: css improve

* fix: i18n copy

* refactor: the CardList rename to GridCard

* feat: remove AssociationFilter item

* fix: edit and view data is incorrect

* feat: remove bulk actions

* feat: improve action bar

* feat: supports configuration of columns with different screen sizes

* fix: incorrect place to save the template

* feat: keep height in all card

* fix: remove console

* fix: rename

* refactor: improve GridCard implementation

* feat: support import/export actions

* fix: remove padding when actions is empty

* fix: remove incorrect import

* fix: remove unused props

* fix: action place

* feat: improve column count

* refactor: remove appendsOnDemand, and use useAssociationNames instated it

* fix: incorrect component

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-16 09:05:47 +08:00
被雨水过滤的空气-Rairn
19a33dfe74
fix: fix multi-select field not show 'Allow multiple' switch (#1857)
* fix: fix multi-select field not show 'Allow multiple' switch

* fix: use uiSchema
2023-05-15 15:26:46 +08:00
katherinehhh
d2e92ead7f
fix: field for attachment interface type without appends (#1856)
* fix: attachment without appends

* fix: association fields  appends
2023-05-15 11:08:38 +08:00
chenos
83749ccd53 fix(client): import declaration conflicts with local declaration of 'DeletedField' 2023-05-15 11:06:31 +08:00
李小斐
975b7dfe93
fix: action error when field deleted (#1849)
* fix: action error when field deleted

* fix: delete field cannot set dynamic value
2023-05-15 09:34:14 +08:00
ChengLei Shao
1c757bd025
feat: support running single sub app (#1853) 2023-05-14 16:48:53 +08:00
Rairn
ff6f37c589 refactor(Form): rename 2023-05-13 11:06:33 +08:00
katherinehhh
77b7adb97c
fix: assign field with delete field (#1850) 2023-05-13 11:01:01 +08:00
chenos
3a8db04161 fix: use AssignedField 2023-05-13 10:51:32 +08:00
chenos
901c05bc35 fix: dropdownMatchSelectWidth: false 2023-05-12 14:33:20 +08:00
katherinehhh
81b3afb57b
fix: title field in assign fields value (#1848) 2023-05-12 13:42:18 +08:00
chenos
94284c6210 fix: mode undefined 2023-05-12 10:20:02 +08:00
katherinehhh
3fcdd94549
fix:association appends (#1842)
* fix: getNesterAppends filter bug

* fix: associationSelect

* fix: associationSelect

* fix: associationSelect

* fix: getAssociationAppends

* fix: sub-form collection context

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve
2023-05-12 07:20:27 +08:00
Junyi
6c149aadfc
feat(plugin-workflow): add delete button in workflow canvas page (#1844)
* feat(plugin-workflow): add delete button in workflow canvas page

* fix(plugin-workflow): fix redirect url after deleted

* fix(plugin-workflow): fix antd version
2023-05-11 07:48:10 -07:00
Rairn
eccfac5666 fix: fix translations 2023-05-11 16:59:25 +08:00
Rairn
d34b3fc5e3 chore: add translations 2023-05-11 16:56:05 +08:00
katherinehhh
a7dcbf4288
fix(block-provider): getNesterAppends filter fix (#1839)
* fix: getNesterAppends filter bug

* fix: associationSelect
2023-05-11 15:45:47 +08:00
ChengLei Shao
f8fa36d016
feat: repository aggregate method (#1829)
* feat: repository aggregate method

* chore: aggregate with distinct

* feat: has many repository aggregation

* feat: belongs to  many repository aggregation

* chore: using model aggregate method

* chore: aggregate with association filter

* chore: aggregate type

* chore: type error
2023-05-11 15:16:33 +08:00
chenos
cf0a921f85 chore(versions): 😊 publish v0.9.3-alpha.1 2023-05-11 12:49:18 +08:00
katherinehhh
55efa40cdd
refactor: association field (#1838)
* feat: association field

* fix: bug

* refactor: association field

* style: style improve

* style: style improve

* refactor: support subtable

* refactor: support file collection

* refactor: locale improve

* refactor: subtable improve

* refactor: association select  improve

* refactor: association select  improve

* refactor: association select  improve

* refactor: useAssociationNames

* refactor: enable link

* refactor: selector

* refactor: selector

* refactor: locale improve

* refactor: on demand loading of relational data

* refactor: locale improve

* refactor: select button

* refactor: association field

* refactor: formformBlock provider

* refactor: formformBlock provider

* refactor: internalSelect recordPicker

* refactor: formBlocklockProvider

* fix: addNewer schema

* fix: useServiceOptions

* fix: useCreateActionProps

* fix: useCreateActionProps

* refactor: nester delete

* refactor: nester delete in detail

* refactor: subTable suport select

* refactor: subTable suport select

* style: style improve

* style: style improve

* chore: fileManger

* fix: association readPrety

* fix: filemanger

* refactor: field mode

* refactor: enable link

* chore: error message

* refactor: association schemaInitialize

* refactor: association schemaInitialize

* refactor: currentMode

* refactor: field mode default value

* fix: file manage readPretty

* fix: appends

* chore: file manage readPretty

* fix: updateAssociationValues

* fix: updateAssociationValues

* fix: updateAssociationValues

* fix: nester appends

* fix: nester appends

* fix:  tree collection association fields

* fix:  tree collection association fields

* fix: nester appends

* fix: subtable to select field value missing

* fix: subtable to select field value missing

* fix: compatible with historical blocks

* fix: compatible with historical blocks

* fix: compatible with historical blocks

* feat: add migration

* fix: filter block allow add new

* fix: compatible with historical blocks

* fix: skip if not RecordPicker

* fix: compatible with historical blocks

* fix: detail block not support nester

* fix: association select support data scope and sort setting

* fix: appends on demand loading

* fix: asociationSelect support multiple

* fix: recordPicker -> AssociationField

* fix: add migration

* fix: audit logs not show assication data

* fix: flattenNestedList

* refactor: file manager field mode

* refactor: field mode refactor

* fix: subtable action

* fix: subtable appends

* refactor: code improve

* fix: nester add new

* feat: sub table

* fix: data scope not effect immediately

* fix: association add new

* fix: association field failed to  add new and mutual influence

* style: style improve

* style: style improve

* refactor: updateAssociationValues

* refactor: form init values

* refactor: select options

* fix: form initialValues

* fix: record picker values

* fix: field value change when field mode change

* fix: select data scope

* feat: add migration

* fix: table column enable link

* fix: table column enable link

* refactor: locale improve

* fix: migration

* fix: mutiple config

* fix: readPretty enable link

* fix: appends on demand

* fix: enable link style

* refactor: locale improve

* refactor: locale improve

* feat: sub-form migration

* fix: skip migration

* fix: translation

* fix: skip migration

* fix: getLabelFormatValue

* fix: error TS2339: Property 'find' does not exist on type 'string | SchemaEnum<any>'

* refactor: remove the logic code for converting old record picker

* refactor: locale

* refactor: locale

* fix: sub-table should not support add new

* refactor: code improve

* refactor: locale

* fix: compatibility history Subtable

* fix: improve

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
2023-05-11 12:47:31 +08:00
ChengLei Shao
ecd7540f7a
fix: tree with fields option (#1833) 2023-05-10 16:32:36 +08:00
Junyi
fab448c486
fix(client): fix ime status in variable textarea (#1832) 2023-05-10 00:57:59 -07:00
ChengLei Shao
8183ff5564
chore: should not return children property when child nodes are empty (#1825) 2023-05-09 16:48:40 +08:00
ChengLei Shao
088acd906d
fix: tree with sort field (#1822) 2023-05-09 12:10:53 +08:00
Junyi
7fcdc5d336
fix(plugin-workflow): select menu width (#1820) 2023-05-07 22:50:43 -07:00
ChengLei Shao
2c29daedb5
fix: filter with appends (#1819) 2023-05-08 11:18:42 +08:00
Rairn
c8c081eba5 fix(filter-form): avoid error 2023-05-08 07:25:54 +08:00
ChengLei Shao
7b550ce5aa
Fix/filter by array field (#1813)
* test: filter by association array field

* fix: match operator in pg

* chore: cast
2023-05-07 23:08:41 +08:00
ChengLei Shao
b3d4e47ef3
Fix/empty tree query (#1814)
* fix: empty tree query

* fix: traverse get
2023-05-07 23:08:20 +08:00
katherinehhh
8aee0eef9b
fix: association scope inherit (#1806) 2023-05-06 21:44:01 +08:00
ChengLei Shao
54432a4314
fix: update tree node (#1812)
* fix: update tree node

* chore: test
2023-05-06 15:14:05 +08:00
ChengLei Shao
258f4e980d
fix: list trees (#1810)
* fix: list trees

* fix: test
2023-05-06 14:28:13 +08:00
ChengLei Shao
b8c85c91b4
test: filter nested association (#1802)
* test: filter nested association

* chore: log

* fix: tree instance to json

* ci: test case

* chore: test

* chore: log

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-06 07:55:26 +08:00
Jack
d0edc6ce3f
fix: table configuration delete button problem (#1764)
* fix: table configuration delete button problem

* fix: change copy

* refactor: optimize code

---------

Co-authored-by: Rairn <958414905@qq.com>
2023-05-05 11:30:10 +08:00
李小斐
7feeda4906
fix: fix Menu dismiss on Drag&Drop (#1772) 2023-05-05 11:03:49 +08:00
katherinehhh
89938191a3
fix(linkage-rule): condition variable field is allow select To many association fields (#1798)
* fix: linkage rule condiction variables allow select to manyassociation field

* fix: linkage rule condiction variables filter

* fix: linkage rule condiction variables filter
2023-05-05 10:59:33 +08:00
katherinehhh
6d342d0643
chore: duration calculation (#1770) 2023-05-05 10:51:25 +08:00
ChengLei Shao
e5d286a131
fix: tree performance (#1779)
* chore: tree performance

* chore: build index value

* chore: get tree index

* fix: children key

* fix: test

* fix: tree child to json

* fix: tree with fields
2023-05-05 10:33:44 +08:00
Rairn
9be1f7ac61 fix(RecordPicker): avoid error 2023-05-04 18:14:34 +08:00
black
5c29262c95
fix: close the drawer incorrectly after submit (#1775) 2023-05-03 23:11:52 +08:00
ChengLei Shao
d4636311e8
Fix/recreate association field (#1789)
* chore: test

* fix: recreate association with same name as field
2023-05-03 08:05:55 +08:00
black
cba7de55d8
fix: drop repeated "Connect data blocks" (#1763) 2023-05-02 17:05:12 +08:00
katherinehhh
03f845246e
fix: failed to open child collections add new modal (#1780) 2023-04-30 11:21:24 +08:00
Junyi
eb0089190e
fix(utils): fix json-templates bug and moved to utils (#1784) 2023-04-28 22:22:08 +08:00
Junyi
4db3b283b0
fix(evaluators): fix date result in variable (#1781) 2023-04-28 14:50:35 +08:00
Rairn
23ad507261 chore: fix lint errors 2023-04-27 15:22:34 +08:00
李小斐
7ddc5fb33c
fix: fix button design about edit action (#1755)
* fix: fix button design about edit action

* fix: fix import module

* Update packages/core/client/src/schema-component/antd/expand-action/Expand.Action.Design.tsx

Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>

* Update packages/core/client/src/schema-component/antd/expand-action/Expand.Action.tsx

Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>

* Update packages/core/client/src/schema-component/antd/expand-action/Expand.Action.tsx

Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>

* fix: fix merge error

---------

Co-authored-by: 被雨水过滤的空气-Rairn <958414905@qq.com>
2023-04-27 15:09:45 +08:00
ChengLei Shao
f0816c663e
chore: enable overring field default value (#1777) 2023-04-27 13:36:41 +08:00
chenos
923f6e7884 chore(versions): 😊 publish v0.9.2-alpha.4 2023-04-26 22:33:55 +08:00
chenos
77a6cbf773 chore: cleanup 2023-04-26 22:32:45 +08:00
ChengLei Shao
76527465f3
feat: node args in pm2 runtime (#1774) 2023-04-26 20:54:38 +08:00
被雨水过滤的空气-Rairn
e45b3ce95c
fix: hide default value for expression (#1765) 2023-04-26 00:23:31 -07:00
被雨水过滤的空气-Rairn
07d1c7ccc0
fix(AssociationSelect): fix x-read-pretty not working (#1766)
* fix: the default value input should not be disabled

* fix(AssociationSelect): fix x-read-pretty not working
2023-04-26 13:54:15 +08:00
Jack
de5260bc2c
fix: fixed the configuration field filter (#1742)
* fix: fixed the configuration field filter

* fix: batch update filter automatic number field

* refactor: optimize code

---------

Co-authored-by: Rairn <958414905@qq.com>
2023-04-26 11:20:58 +08:00
black
00b3c8c257
fix(filter-block): fix association fields not being filtered (#1758) 2023-04-26 10:43:48 +08:00
被雨水过滤的空气-Rairn
95e4e7e7b0
fix(variable-input): fix style (#1761)
* fix(variable-input): fix style

* refactor: avoid lint error

* feat: add invariable

* fix: fix the default value variable of the expression is empty
2023-04-26 09:56:25 +08:00
ChengLei Shao
9101bbbb1b
chore: skip sync overriding field default value (#1762)
* chore: skip sync overriding field default value

* chore: test

* chore: override field does not allow setting default values

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-04-25 19:31:16 +08:00
katherinehhh
5d95eed09a
fix: gantt abnormal drag and drop update action (#1760) 2023-04-25 17:59:31 +08:00
Rairn
bc8d81333b fix: fix error when clear RecordPicker 2023-04-25 16:45:03 +08:00
Rairn
0a8fd44816 fix: fix error with setting default value for date type 2023-04-25 16:18:08 +08:00
Rairn
ea33974ec5 fix: the default value Input should not be disabled and hidden 2023-04-25 16:05:15 +08:00
chenos
9756dd134b chore(versions): 😊 publish v0.9.2-alpha.3 2023-04-25 13:15:40 +08:00
chenos
883f1e6fd1
fix: eslint (#1759)
* fix: eslint

* fix: eslint --fix

* fix: changelog
2023-04-25 13:12:14 +08:00
chenos
fb997bc6b3 fix: remove updateCollection 2023-04-24 23:40:34 +08:00
chenos
e087be887b fix(collection-manager): filter null 2023-04-24 22:56:37 +08:00
李小斐
c03d271481
feat: deleted collection field give some tips (#1744)
* feat: deleted collection field give some tips

* chore: optimize traslation

---------

Co-authored-by: Rairn <958414905@qq.com>
2023-04-24 21:49:56 +08:00
被雨水过滤的空气-Rairn
cd596925ee
chore: optimize the white screen problem (#1639)
* chore: add react-error-boundary

* fix: optimize the white screen problem

* fix: fix translation
2023-04-24 16:40:02 +08:00
Rairn
5fa490e9a1 fix(data-templates): fix unselectable problem 2023-04-24 16:14:55 +08:00
Rairn
d79af627ec fix: avoid errors 2023-04-24 15:21:42 +08:00
李小斐
fbe73d1e80
fix: plugin-manage and designable-switch add tooltip (#1749) 2023-04-24 14:29:26 +08:00
Rairn
5868cfa8a0 fix(collection-manager): fix incorrect grouping 2023-04-24 10:44:35 +08:00
Rairn
7d63262f8e fix: avoid errors 2023-04-24 10:29:01 +08:00
Rairn
460d69fba8 fix(collection-manager): should expand all rows by default when adding a new field 2023-04-24 10:10:37 +08:00
Rairn
683db5b3ba fix(collection-manager): fix table layout 2023-04-23 18:30:07 +08:00
YANG QIA
25d2ebf02a
chore(comment): collectionOptions.duplicator (#1752) 2023-04-23 18:29:48 +08:00
李小斐
6d693a5ab6
fix: custom column title, same as form field title (#1745) 2023-04-23 18:29:17 +08:00
被雨水过滤的空气-Rairn
b1068f2d51
feat: support to use variables to set default value (#1726)
* fix: fix the default value being overwriitten

* feat: supports association fields to set default value

* feat: support to toggle multiple

* feat: support to use variables to set default value

* refactor: migrate hooks

* fix: fix the title disappearing

* feat: suport to use current-user variable

* fix: fix error

* fix: one to one and one to many should not support to set default value

* fix: fix error when searching

* style: set the width of modal

* fix: should not support to set default value for system fields

* refactor: fix lint error

* style: optimize inputNumber width

* refactor: extract to one function

* refactor: extract function

* fix: should not display default when field is readPretty

* style: optimize width of select

* fix: avoid error

* fix: should not display multiple option when subtable

* fix: should not display default when attachment

* fix: chinaRegion

* chore: optimize code

* fix: build error

* fix: multiple should be true by default

* refactor: optimize code

* fix: fix Select multiple mode

* refactor: optimize code

* fix: width
2023-04-23 18:27:21 +08:00
Junyi
eac3c6f0c8
fix(plugin-workflow): request headers and params should support input (#1750) 2023-04-23 01:51:56 -07:00
Rairn
7b9bfa116f refactor: fix lint error 2023-04-22 12:36:07 +08:00
Junyi
4c232980b5
fix(client): fix initializer meno props based on antd@^4.24 (#1746) 2023-04-22 11:27:19 +08:00
被雨水过滤的空气-Rairn
71af0f16a9
fix: improve the display of the title field (#1741)
* fix: fix the displaying problem of Select

* fix: fix error

* fix: filter out fields

* feat: format date

* feat: optimize

* fix: fix error

* feat: use the default title field

* fix: fix bug
2023-04-22 11:04:10 +08:00
Jack
7b892cec50
fix: batch edit deletes relational table fields (#1743) 2023-04-22 11:01:16 +08:00
katherinehhh
564fe24c8a
style: automatically omit table cell content based on width (#1646)
* style: automatically omit cell content based on width

* fix: cell tooltips are only displayed when the width is exceeded

* chore: multiple select ellipsis in table collection

* fix: no automatic thumbnail when table column content exceeds width

* refactor: table ellipsis

* refactor: isOverflowTooltip
2023-04-22 10:36:21 +08:00
被雨水过滤的空气-Rairn
3c884cdd36
feat(collection-manager): support for setting the title field (#1729)
* feat: configure fields

* feat: edit

* feat: enable delete action

* style: indent style

* feat: support to override and view inherited fields

* feat: support to delete and add field and sync

* fix: should delete the seleted option

* feat: support to setting title field

* feat: avoid infinite loops and add default title field

* feat(data-templates): use titleField to display title

* fix: fix the pagination of collection manager

* feat: add prompt for title field switch

* feat: filter field types

* feat: not use title switch when field interface is icon

* feat: translate

* fix: sync update collections data

* feat: translate

* fix: fix build error

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-21 11:19:59 +08:00
chenos
5930218811
fix: acl scope support variables (#1660)
* fix: acl scope support variables

* fix: parse filter

* fix: dynamicComponent
2023-04-21 11:13:43 +08:00