Commit Graph

599 Commits

Author SHA1 Message Date
katherinehhh
f5df009465
fix: data scope not effect in gantt (#1716) 2023-04-17 18:05:24 +08:00
katherinehhh
eeb07112c7
fix: button loading does not disappear when the operation submit failed (#1698)
* fix: button loading does not disappear when the view operation submission failed

* fix: add field button loading

* refactor: code improve
2023-04-17 17:20:35 +08:00
katherinehhh
12f95810d0
fix(linkage rule):multiple select condition judgment failed (#1715)
* fix: linkageCollectionFilterOptions

* fix: multiple select  condition judgment failed

* fix: multiple select  condition judgment failed

* fix: multiple select  condition judgment failed
2023-04-17 17:19:54 +08:00
Dunqing
1654b42037
feat: improve ui design for linkage action (#1659)
* feat: improve ui design for linkage action

* revert

* fix: not working
2023-04-17 10:30:13 +08:00
被雨水过滤的空气-Rairn
06d67a93ab
feat(map): support to filter other blocks (#1691)
* feat(Map): support to filter other blocks

* feat: highlight marker when selected

* feat: clear filter params when cancel connect

* feat: support line and polygon
2023-04-17 10:12:49 +08:00
katherinehhh
e8bb962389
refactor: improve linkage rule enable (#1700) 2023-04-17 09:28:22 +08:00
Rairn
76faa9e30c fix(data-templates): filter out some fileds 2023-04-16 19:14:12 +08:00
Rairn
11fb951b55 fix(data-templates): should also show data-templates option when add new subrecord 2023-04-16 18:57:25 +08:00
Rairn
6abe97291e fix(data-templates): fix subform 2023-04-16 17:25:18 +08:00
chenos
2a05e60504 fix: data template filter 2023-04-16 16:56:35 +08:00
被雨水过滤的空气-Rairn
69bc18e166
feat(form-block): data templates (#1704)
* feat(Form): support to select existing data as template

* refactor: extract useDataTemplates

* feat(Form): support to use template

* fix: template switch

* fix: fix association field

* fix: filter fields

* fix: fix unselected default value

* fix: avoid errors

* refactor: remove useless code

* refactor: move templateSelect to FormBlockProvider

* feat: add a checkbox to toggle template selector

* feat: change the options order

* feat: hide Collection option when no inherit

* fix: optimize the label text

* fix: should empty form

* fix: should hide configuration when is not added

* chore: change text

* fix: template selector not displayed

* feat: optimize template

* feat: data template middleware

* fix: template select

* fix: default

* fix: fields

* feat: field delete button changed from hidden to disabled

* fix: improve code

* fix: prefix error

* fix: items

* feat: use Tree

* fix: maxDepth

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-16 14:22:46 +08:00
Rairn
67dc21baf7 fix: avoid errors 2023-04-14 23:34:58 +08:00
katherinehhh
cd78192f84
fix: linkage relationship data condition judgment failed (#1681) 2023-04-14 22:46:21 +08:00
katherinehhh
dca370eacf
fix(gantt): update permission check in gantt block (#1701)
* fix: view collection can  update in gantt

* fix: gantt update without acl check

* style: style improve

* style: style improve

* style: style improve

* style: style improve
2023-04-14 22:08:01 +08:00
katherinehhh
2e95d3bf85
fix: clearFormGraph (#1706) 2023-04-14 21:57:44 +08:00
Junyi
0450789d63
fix(plugin-workflow): fix request body variable component (#1703)
* fix(plugin-workflow): fix request body variable component

* fix(client): add missed file
2023-04-14 16:46:51 +08:00
katherinehhh
d0171b179f
fix(gantt): improve task bar text (#1696)
* fix:  progress value is too large, resulting in incorrect calculation of bar width

* style: style improve

* style: style improve
2023-04-13 15:00:41 +08:00
Dunqing
74e2811255
fix: long text should be line feed (#1686)
* fix: long text should be line feed

* feat: remove unused styles
2023-04-13 14:26:14 +08:00
Dunqing
ca88638edf
fix: cannot display data when remove last page and the page only just one item (#1685)
* fix: cannot display data when remove last page and the page only just one item

* fix: hidden pagination when pageSize = totalSize
2023-04-13 14:14:26 +08:00
katherinehhh
2ed3565d43
fix: linkage rule title can not set empty (#1688) 2023-04-12 12:25:35 +08:00
Dunqing
1fdc456c0b
feat: improve plugin manager ui (#1650)
* feat: improve plugin view

* feat: work compatibility

* feat: avoid cause error

* feat: complete

* docs: revert

* fix: header cannot displayed

* feat: improve

* feat: update page css

* feat: update fixedblock design

* chore: upgrade antd

* fix: improve code

* fix: build error

* fix: build error

* fix: pagination cannot be fully displayed

* feat: improve

* fix: ts error

* chore: sqlite view field test

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: chareice <chareice@live.com>
2023-04-12 12:24:09 +08:00
katherinehhh
95bab2de33 refactor: style improve 2023-04-12 11:44:04 +08:00
katherinehhh
1a933315e4
feat: gantt block (#1393)
* feat: add Gantt block

* feat:  gantt block congiure action

* feat:  gantt block congiure fields

* feat:  gantt block congiure fields

* feat:  gantt block congiure fields

* feat:  gantt block code improve

* feat:  gantt block code improve

* feat:  gantt block code improve

* feat:  gantt block time range

* feat:  gantt block date change

* feat:  gantt block progress change

* feat:  gantt block columnWidth fix

* feat:  gantt block action configure

* feat: gant block init fix

* feat: gant block table configure

* feat: gant block table configure

* feat: gant block table configure

* feat: gant expend when table expend

* feat: modulecss ->less

* feat: style improve

* feat: style module -> emotion css

* feat: gantt process handle

* feat: gantt block empty state placeholder

* feat: table actions suport config

* feat: gantt block suprt  time range change

* feat: gantt block suprt process update

* feat: gantt block suprt process update

* feat: gantt block suprt process update

* feat: gantt block suprt process update

* feat: gantt block configure actions

* feat: gantt block style improve

* feat: gantt table actions column is configured by default

* feat: gantt block surport bulk update

* feat: gantt block surport bulk update&bulk edit

* feat: gantt block action configure fix

* feat: gant block code improve

* feat: do not display  gantt bar when the start date is empty

* feat: gant configure actions

* feat: gant task change

* feat: gant calendar style improve

* style: gant local

* style: gant grid style improve

* style: gant calendar style improve

* style: gant style improve

* refactor: gant bar suport click

* feat: adjacency list

* fix: error

* feat: collection extender

* Revert "feat: collection extender"

This reverts commit a942eee769.

* fix: registerBuiltInListeners

* chore: getAllNodeIds

# Conflicts:
#	packages/plugins/acl/src/server.ts

* fix: get list data tree ids

# Conflicts:
#	packages/plugins/acl/src/__tests__/list-action.test.ts

* feat: suport add child

* feat: demo3

* feat: suport add child

* feat: support add child

* feat: support add child

* fix: tree true

* feat: suport expend and collapse

* feat: support expend and collapse

* feat: support expend and collapse

* feat:  table block of the selector supports tree table

* feat: expand and collapse are only displayed in the tree table

* fix: when the tree table is closed and opened, it needs to be refreshed to take effect

* fix: test

* refactor: add child is hidden when the tree table is closed

* refactor: tree table filter the children field

* refactor: tree table filter the children field

* refactor: tree table filter the children field

* refactor: expand and collapse button does not support modify name and icon

* refactor: parent cannot be modified when adding child

* refactor: expand and collapse button hide when treetable is closed

* refactor: expand and collapse button hide when treetable is closed

* refactor: expand and collapse button hide when treetable is closed

* refactor: expand and collapse button hide when treetable is closed

* refactor: expand and collapse button hide when treetable is closed

* refactor: expand and collapse button hide when treetable is closed

* refactor: expand and collapse button hide when treetable is closed

* refactor: expand and collapse button hide when treetable is closed

* refactor: filter out the node itself when selecting parent

* refactor: filter out the node itself when selecting parent

* refactor:  tree collection locale

* refactor:  tree collection locale

* feat: gantt block support tree collection

* fix: parameter exception when creating data selector

* feat: gantt block support tree collection

* feat: gantt block support tree collection

* fix: tableActionColumnInitializers

* style: style improve

* fix: gantt  expansion exception

* style: style improve

* style: style improve

* style: calendar style improve

* style: style improve

* style: code  improve

* refactor: gantt chart also highlights when table rows are selected

* fix: time scale default value

* fix: end field is nor requried to set

* fix:  detailed blocks not appear when child record is clicked

* fix:  detailed blocks not appear when child record is clicked

* refactor: gantt default  expand all

* feat: gantt adapt to compact themes

* feat: gantt adapt to compact themes

* refactor: style improve

* refactor: style improve

* refactor: style improve

* refactor: style improve

* refactor: style improve

* refactor: style improve

* refactor: style improve

* refactor: sort by start date

* refactor: style improve

* refactor: style improve

* fix: styling

* fix: font-family

* fix: font-weight: 400

* feat: custom color

* fix: styling

* fix: style

* refactor: style improve

* refactor: style improve

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-12 11:19:22 +08:00
Junyi
59865248f0
fix(client): fix constant input lose focus in variable (#1689) 2023-04-10 20:14:37 -07:00
Dunqing
cd59cd8568
fix: remove designer (#1684) 2023-04-10 20:35:16 +08:00
Dunqing
bbc2db424f
fix: incorrect language after logout (#1679) 2023-04-09 18:21:58 +08:00
被雨水过滤的空气-Rairn
2050eb5317
feat: optimize file collection (#1666)
* feat(Upload.DraggerV2): add loading

* feat: auto close on uploading over

* feat: auto selected when upload is complete

* feat: filter selected options

* feat: add quick-upload and select-file

* fix: should not appear on readPretty mode

* fix: radio

* fix: compatible with older version

* feat: improving the interaction of radio selections

* fix: show two butons by default
2023-04-09 16:46:53 +08:00
Junyi
93348c9ce6
fix(client): fix variable component read pretty mode (#1673) 2023-04-07 23:40:18 -07:00
Dunqing
13b74bde3f
fix: ui problem of compact theme (#1670)
* fix: graphical interface override tabs

* fix: link of markdown too longer

* fix: page tab designer override in compact theme

* feat: url should be ellipsis
2023-04-08 14:30:16 +08:00
katherinehhh
a529d9b7eb
fix: linkage rule enable effect in form (#1669) 2023-04-08 14:26:12 +08:00
katherinehhh
7821af4024
feat: collection template summary (#1672)
* feat: collection template description

* refactor: improve translation

* refactor: improve translation
2023-04-08 14:18:20 +08:00
Junyi
52329df140
feat: (plugin-workflow) dynamic expression (#1560)
* feat(plugin-formula): add dynamic expression field

* feat(plugin-workflow): add dynamic expression for calculation

* refactor(client): allow select part of paths in variable component

* fix(client): fix types

* feat(plugin-formula): add dynamic expression config

* feat(plugin-workflow): add dynamic calculation

* refactor(plugin-formula): move expression field type to workflow plugin

* fix(plugin-workflow): fix types

* fix(plugin-workflow): fix register field in client

* fix(plugin-workflow): fix expression result value default

* fix(plugin-workflow): fix dynamic expression field error when switch collection

* fix(plugin-workflow): test component value change

* test(plugin-workflow): test component linkages

* refactor(plugin-workflow): change to expression collection template

* fix(client): fix hooks of Variable.TextArea

* fix(client): fix to import evaluators in client

* fix(evaluators): move renderReference method to plugin

* fix(plugin-workflow): fix missed component

* fix(plugin-workflow): fix dynamic expression test case

* refactor(client): change popover to double click to choose entire object

* refactor(plugin-workflow): make variable options and filter more sensible

* fix(plugin-workflow): fix form effect

* fix(plugin-workflow): fix variable filtering in collection trigger

* fix(plugin-workflow): fix types

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-07 19:52:31 -07:00
chenos
b8776fe2d0 fix: linkage rule 2023-04-08 09:16:15 +08:00
katherinehhh
59326dbf90
fix: linkage rule title config clear exception (#1665)
* fix: linkage rule title config clear exception

* fix: form linkage rules disabled without immediate effect

* refactor: improve translation
2023-04-07 18:05:00 +08:00
katherinehhh
1d6417f7f9
feat: support tableoid filter (#1657)
* feat: support inherited collection filter

* refactor: improve translation

* chore: filter inherted collectiion

* feat: data scope support inherited collection filter
2023-04-07 16:48:32 +08:00
katherinehhh
28ee5d1477
refactor(client): improve translation (#1654)
* refactor(enabled child collection ): locale

* refactor: locale
2023-04-06 16:15:44 +08:00
被雨水过滤的空气-Rairn
c1057ad52b
fix: fix the 'Add menu item' button disappears (#1655) 2023-04-06 16:10:38 +08:00
katherinehhh
4274f605dd
chore: add new allowAddtoCurrent config (#1652) 2023-04-06 12:49:11 +08:00
被雨水过滤的空气-Rairn
53d0c2dd23
feat: support file collection (#1636)
* feat: support to add File collection

* feat: support to upload files

* refactor: rename 'ReadPretty.Attachment' to 'ReadPretty.File'

* feat: support to associate the File collection

* refactor: add Preview and replace Upload.Selector

* fix(Preview): fix some problems in ReadPretty mode

* feat: use 'preview' as a default title field

* feat: support only local storage now

* fix: should not show 'Add new' button

* chore: add default value for file storage

* fix: fix preview field of file collection cannot be displayed normally

* fix: only Table and Details can display File collection

* chore: translate

* refactor: migration to plugin from core

* refactor: change 'preview' to 'url'

* fix: only 'belongsTo' and 'belongsToMany' can linked file collection

* fix: fix storage and add a field called storage in file collection

* feat: add 'deletable' to configure the visibility of the delete button

* fix: fix can't upload attachment problem

* fix: remove more option

* fix: can't use preview to filter

* fix: remove Import action option

* refactor: remove useless code

* chore: optimize condition

* chore: remove comment

* test: windows compatible

* refactor: optimize upload

* fix: upload action

* fix: createAction

* fix: uploads

* fix: file collection cannot be inherited by other collections

* fix: url should be editable

* fix: url is filterable

* fix: use input interface for url field

* fix: fix error

* fix: remove subform

* Revert "chore: translate"

This reverts commit 53cd346dab.

* refactor: move translation to plugin

* fix: title is editable

* fix: collection?.template === 'file'

* fix: fix order of URL

* fix(collection-manager): allow collectionCategories:list

* chore: add translation

* fix(upload): should enable to use drawer

* refactor: move code to plugin

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-06 12:43:40 +08:00
Rairn
d37cadee6a refactor: remove useless code 2023-04-05 15:45:56 +08:00
katherinehhh
c4ef0dea8c
fix: select record can not enable child collection (#1649) 2023-04-04 17:47:31 +08:00
katherinehhh
28ef3b6952 refactor: loading wthen action submit 2023-04-04 11:35:36 +08:00
katherinehhh
b7abdfb9e6
fix(linkage rule):linkage rule not display in action (#1644)
* fix: islinageActionlogical judgment

* fix: add new linkage rule setting is not effective
2023-04-04 10:53:06 +08:00
ChengLei Shao
fff11df2ba
refactor: view collection options (#1643)
* feat: add schema prefix to view only if view name exists

* chore: view-collection name without schema prefix

* chore: skip list views already connected

* chore: comment

* fix: update field error

* refactor: collection edit can not config fields

* fix: viewName set

* fix: transaction

* refactor: viewname

* chore: collection view name

* refactor: viewname

* chore: remove rename view collection name

* refactor: loading wthen action submjit

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-04-04 10:52:47 +08:00
Dunqing
2d84cc34ea
feat(Table): column action support linkage rules (#1638) 2023-04-03 13:54:12 +08:00
katherinehhh
c38dbd1675
fix(view-collection): field name cannot be edited when there with field source (#1642)
* fix:  field name cannot be edited when there with field source

* fix:  did not bring the uiSchema  when selecting interface
2023-04-03 12:08:26 +08:00
katherinehhh
ffcf1d9cf1
fix: linkage rule config closing rules require reopening the form to take effect (#1640) 2023-04-03 10:22:50 +08:00
Junyi
7036879ea6
refactor(client): change Variable.TextArea to controlled component (#1605)
* refactor(client): change Variable.TextArea to controlled component

* fix(client): fix space and range index

* fix(client): fix ime state in Variable.TextArea

* chore(ci): trigger ci

* fix(client): fix expression validation

* fix(plugin-workflow): fix test case

* fix(client): fix caret when not focused

* fix(client): add html-sanitize

* fix(client): fix range errors on any input

* fix(client): fix start and end range
2023-04-03 08:57:19 +08:00
Dunqing
ecdd46bf83
fix: form action dragging area is too large (#1628) 2023-04-02 07:11:01 +08:00
Dunqing
f5171ce6e7
fix: FixedBlock related ui (#1632)
* fix: the AssociationFilter

* feat: grid dragging area support compact theme
2023-04-02 07:10:05 +08:00