* refactor(client): split to small components
* fix(client): fix component warning
* feat(plugin-workflow): allow form button to be configured more than one for each type
* test(plugin-workflow): add test cases
* chore(plugin-workflow): add modal tips
* fix(plugin-workflow): fix test bugs
* fix(plugin-workflow): fix manual button configuration and params
* test(plugin-workflow): fix test cases
* fix(plugin-workflow): fix manual form values
* refactor(plugin-workflow): adjust component
* fix(plugin-workflow): fix typo
* refactor(plugin-workflow): avoid one more load when manual node resume
* fix(plugin-workflow): fix currentUser to be plain object
* chore(plugin-workflow): clean code
* fix(plugin-workflow): fix typo
* fix(plugin-workflow): try to avoid occasionally duplicated executions
* test(plugin-workflow): avoid appends error and add more test cases
* test(plugin-workflow): fix type and adjust waiting time for test cases
* fix(plugin-workflow): refactor delay logic and fix failed cases
* feat(api-keys): the expiration field support custom option
* feat: support never option
* feat: support if expiresIn = never the expiresIn will replace to 1000y
* fix: toggle datepicker
* feat: update syntax
* fix: option order
* docs: update
* fix: maskCloseable should be false
* refactor: performance and remove unused code
* feat: should not allow clear
* fix: decode maybe fail
* fix: i18n
* refactor(plugin-workflow): change collection variables to lazy load
* fix(plugin-workflow): avoid to-many reverse loading for association field
* fix(client): fix variable components
* chore(client): fix type
* fix(client): fix current user lazy load options
* refactor(client): remove compile from variable components which potencially causing bug
* fix(plugin-workflow): fix scope argument for new api
* fix(client): fix constant type options
* fix(client): fix infinity rerendering
* fix: avoid closure problem
* fix(client): should use no children when lazy load
* refactor(client): refactor AssignedField to use Variable component
* fix(client): fix type
* fix(plugin-workflow): fix variable options in some node not changes
* fix(plugin-workflow): fix select variable for operand crash (T-815)
* fix(plugin-workflow): variable types detect
* fix(plugin-workflow): detect association to match types
* fix(plugin-workflow): fix variable type filter logic
* fix(plugin-workflow): fix optional types
* fix(plugin-workflow): make changeOnSelect configurable in TextArea and JSONInput
---------
Co-authored-by: Rairn <958414905@qq.com>
* feat(map-plugin): support google map
* fix: should render current position
* feat: support google map in field
* feat: support google map block
* feat: support connect data
* fix: update
* feat: support autocomplete instated of search
* feat: support language
* fix: drawing not work
* feat: support same labe lstyle
* feat: use better configuration
* fix: avoid rerender
* chore: update deps
* feat: add tips for lineString, Close T-591
* fix: zoom to big
* feat: improve api key incorrect flow
* fix: remove unreleated file
* feat: improve setFitView
* feat: update tips
* feat: improve code
* fix: avoid crash, Close T-713
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: deleting the last field from sub table, the entire table will be deleted
* refactor: association select support data scope in sub-table
* refactor: locale improve
* style: sub-table style improve
* refactor(db): add batch logic to update for better performance
* test(plugin-workflow): fix test cases
* fix(db): treat belongsTo field in update values as foreignKey
* fix(db): also handle object with id for belongsTo field
* fix(db): avoid 0 as falsy
* fix(db): fix test case
* fix: avoid delete last tab will brake mobile client
* fix: when schema not exists
* feat: support redirect to mobile route in app
* fix: re-insert repeat routes
* feat: sync title
* fix: sync title
* fix: when TabBar is empty will cause page crashed
* fix: default label i18n not work
* fix: delete last menu will cannot add block ,Close T-434
* fix: tab cannot add block in drawer, Close T-437
* fix: hidden connect data block
* fix: login should use replace
* feat: display configuration of mobile-client address
* fix(client): fix json input component value handling
* fix(client): fix json input test case
* refactor(client): remove format button from json variable component
* refactor(client): move json input style to global
* test(client): remove unused test case
* refactor(plugin-workflow): change node config api render to component
* fix(plugin-workflow): fix trigger drawer error and remove unused api
* fix(plugin-workflow): fix return value of request node run phase
* fix(client): fix classname order in action button
* feat: init mobile client
* feat: add plugin
* feat: ready to develop
* feat: update pm styels
* feat: add mobile center
* feat: router ready
* feat: support menu block, then menu ready
* fix: incorrect path
* feat: support TabBar
* feat: tabbar, menu support dragging
* feat: support page and header
* feat: mobile view
* fix: optional schema
* feat: improve styles
* fix: user-scalable
* feat: support pc component show in mobile
* feat: hidden divider
* fix: improve drawer props
* feat: support list block
* feat: rename to details list
* feat: page support tabs
* feat: improve designer css
* feat: complete enable/disabled header of page
* feat: some improve
* feat: improve empty data
* fix: header info cannot displayed
* chore: update deps
* fix: incorrect spacing
* fix: menu designer
* refactor: re implement
* feat: support page template
* feat: clean code
* feat: support i18n
* chore: update lock
* feat: support GirdCard in mobile
* fix: build failed
* feat: only render one column in mobile interface
* fix: back button should not display in container
* fix: switch to padding
* fix: fixedBlockDesignRItem shouldn't display in dosen't support block
* fix: update font family
* fix: remove gridcard title
* fix: dragging scope is too wide
* fix: add menu cannot direct display
* refactor: improve tabbar schema usage
* refactor: improve menu schema
* feat: should to use simple pagination
* feat: the tag should pre-wrap
* feat: improve the configuration button
* feat: improve name
* fix: clear data when modal is closed
* fix: the tag is too long
* fix: i18n
* fix: font incorrect
* feat: add map block
* fix: some maps error
* feat: support global action in page
* feat: improve border color
* feat: improve performance, the count stop early
* style: improve
* fix: incorrect font
* fix: style conflict
* chore: update version
* chore: missing dep
* feat: support setting block
* feat: improve settings block and improve
* feat: support onBackPressed
* fix: ts error
* feat: improve cannot find tab should navigate to mobile
* docs: update
* chore: update deps
* fix: showTitle state is incorrect
* feat: improve jsbridge apis
* fix: navigate to admin after signout
* chore: remove mgrid block
* fix: ts error
* fix: switch role will reload to root page
* fix: update deps
* fix: upgrade formily to 2.2.24
---------
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
* chore: useAssociationNames
* refactor: code improve
* refactor: support blocktemplate
* refactor: support blocktemplate
* refactor: useAssociationNames in block template
* fix: cross hierarchical association field layout
* fix: normal field of association field should be append
* refactor: useAssociationNames
* refactor: useCreateActionProps
* refactor: useAssociationNames params
* fix: cleanup
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: init multiple Application instances while
starting up sub app
by Jacob
* fix: import error
by Jacob
* feat: use async-mutex for locking process
by Jacob
* revert: unused update
by Jacob
* test: should get same obj ref
when asynchronously access with same sub app name
by Jacob
* feat: add async-mutex dependency
to multi-app-manager package.json
by Jacob
* feat(plugin-workflow): add create record form for manual node
* feat(plugin-workflow): add update form for manual node
* fix(plugin-workflow): fix antd version and menu
* refactor(plugin-workflow): change collection config modal to initializer sub-menu
* test(plugin-workflow): add test case
* fix(plugin-workflow): fix todo components based on forms
* fix(plugin-workflow): fix cycling trigger when create or update
* fix(plugin-workflow): fix transaction in manual processor
* refactor(plugin-workflow): optimize todo list data loading
* fix(plugin-workflow): fix uncommitted manual action effects
* fix(plugin-workflow): fix save multiple forms and only submit one
* chore(plugin-workflow): fix lint
* fix(plugin-workflow): fix lint error
* refactor(plugin-workflow): abstract workflow scoped FormBlockProvider
* fix(plugin-workflow): adjust designable api to use current schema in refresh
* fix(plugin-workflow): fix schema config and support block template
* fix(plugin-workflow): fix lint and build error
* fix(plugin-workflow): adjust components and scope to inner schema component
* fix(plugin-workflow): fix ref template in todo drawer
* fix(plugin-workflow): fix todo form undefined
* fix(plugin-workflow): fix manual form schema
* fix(plugin-workflow): fix manual createdBy/updatedBy user
* fix(plugin-workflow): disable save to template on create form
* fix(plugin-workflow): fix manual form variables
* fix(plugin-workflow): fix FormBlockProvider for default field value
* fix(plugin-workflow): fix manual node variables
* chore: eager loading tree
* feat: load eager loading tree
* feat: merge stage of eager loading
* feat: merge stage of belongs to
* feat: merge stage of has one
* feat: merge stage of belongs to many
* chore: test
* chore: print tree
* chore: using eager loading tree in repository find
* fix: empty ids load
* fix: belongs to many query
* fix: load belongs to association
* fix: eager load data accessor
* fix: has many
* fix: test
* fix: filter with appends
* chore: remove handle appends query
* chore: console.log
* chore: console.log
* fix: test
* 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>
* 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
* 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>
* 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
* 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>
* fix: load view collection
* refactor: using graphlib at collections load
* test: destory through collection
* feat: throw error when collection manager cycle found
* test: view collection as through collection
* fix: data is incorrect
* fix: the data is incorrect when switch page at details
* feat: improve map configuration
* fix: shouldn't display tip when type = point
* fix: cache
* feat(Map): support to filter other blocks
* feat: highlight marker when selected
* feat: clear filter params when cancel connect
* feat: support line and polygon
* 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>
* 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
* fix: graphical interface override tabs
* fix: link of markdown too longer
* fix: page tab designer override in compact theme
* feat: url should be ellipsis
* 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>
* refactor: getTableNameWithSchema
* feat: allow create collection with same name in difference schema
* feat: support multiple schema with inherit
* feat: repository after find hook & relation repository __colection attribute
* chore: debug info
* chore: tmp commit
* fix: tableoid to tablename error
* feat: filter child table by tableoid
* feat: filter child table by collection name
* fix: sync runner
* chore: test
* fix: jest empty test error
* 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
* test: create view collection
* feat: view collection class
* feat: list view
* chore: skip sync view collection
* test: should create view collection in difference schema
* test: create view collection in collection manager
* feat: create view collection by user sql
* test: view resourcer
* feat: view collection
* feat: view collection cannot be added, deleted, or modified
* feat: view collection cannot be added, deleted, or modified
* feat: view collection cannot be added, deleted, or modified
* feat: view collection cannot be added, deleted, or modified
* refactor: connect to database view
* refactor: sync from database
* chore: rename list view sql
* chore: list view fields api
* chore: create collection without viewName
* feat: bring out fields when selecting a view
* chore: bring out fields when selecting a view
* feat: view field inference class
* chore: bring out fields when selecting a view
* chore: sync form database view
* chore: sync form database view
* refactor: view collection local
* feat: view get api
* feat: database type infer
* feat: integer map
* chore: remove from in view list
* chore: build error
* chore: uniq collection
* fix: typo
* chore: replace collection list source field
* fix: destroy view collection
* chore: timestamp field map
* refactor: interface avalableTypes
* refactor: interface avalableTypes
* chore: list fields test
* refactor: interface avalableTypes
* chore: uiSchema response in field source
* fix: view query
* chore: collection snippet
* refactor: view collection support preview
* fix: handle field source
* fix: typo
* fix: configure fileds title
* fix: configure fileds title
* fix: configure fileds title
* fix: sync from databse interface
* fix: sync from databse interface
* feat: set fields api
* fix: sync from databse fix
* feat: possibleTypes
* chore: fields get
* fix: sync from databse
* fix: list view test
* fix: view test in difference schema
* chore: comment
* feat: when there is only one source collection, the view is a subset of a Collection
* feat: view collection add field
* fix: inherit query with schema
* fix: test
* fix: ci test
* fix: test with schema
* chore: set pg default search path
* chore: mysql test
* fix: test with schema
* chore: test
* chore: action test
* chore: view column usage return type
* feat: mysql field inference
* fix: tableName
* chore: node sql parser
* fix: sql build
* fix: database build
* fix: mysql test
* feat: view collection uiSchema title
* fix: incorrect field source display when switching views
* refactor: view collection not allow modify
* fix: view collection is allow add, delete, and modify
* fix: mysql test
* fix: sqlite test
* fix: sqlite test
* fix: sqlite test
* fix: sqlite test
* chore: add id field as default target key
* style: style improve
* feat: load source field options
* style: style improve
* chore: disable remove column in view collection
* chore: support creating view collection with different schemas with the same name
* chore: support creating view collection with different schemas with the same name
* fix: query view in difference schema
* refactor: view collection viewname
* fix: query view collection in difference schema
* fix: field load
* chore: field options
* fix: mysql test
* fix: uiSchema component error when using a view field in a block
* fix: sqlite test
* chore: test
* fix: dump user views
* fix: view collection can be updated and edited in table block
* chore: sync from database display last field configuration
* chore: loadCollections
* chore: sync from database display last field configuration
* fix: field options merge issues
* style: preview table
* fix: view collection is allow using in kanban blocks
* refactor: code improve
* fix: view collection can be updated an edited in calendar block
* chore: disable infer field without interface
* feat: preview only shows source or interface fields
* fix: test
* refactor: locale
* feat: sql parser
* chore: remove node-sql-parser
* fix: yarn.lock
* test: view repository
* fix: view repository test
* chore: console.log
* chore: console.log
* fix: mysql without schema
* fix: mysql without schema
* chore: preview with field schema
* chore: tableActionInitializers
* style: preview style improve
* chore: parameter is filter when there is no filterByTk
* fix: preview pagination
* fix: preview pagination
* style: preview table style improve
* fix: sync from database loading
* chore: preview performance optimization
* chore: preview performance optimization
* feat: limit & offset
* chore: preview performance optimization
* test: field with dot column
* fix: datetime interface display
* fix: missing boolean type
* fix: sync
* fix: sync from database
* style: style improve
* style: style improve
* style: style improve
* chore: preview table
* chore: preview table
* chore: preview table
* fix: styling
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: add field linkage on setting default datetime
* fix: fix dateonly timezone problem
* fix: improve test
* docs(DatePicker): add demos
* fix(DatePicker): should return the beginning of a second
* feat(DatePicker): support non-UTC
* refactor: rename
* fix(RangePicker): get correct end date
* test(mapDatePicker): add test
* test(mapRangePicker): add test
* feat(Filter): use non-UTC to filter
* feat(FilterBlock): use non-UTC to filter
* feat: add '$dateBetween' operator in datetime
* feat: use RangePicker on toggled to 'dateBetween' operator
* feat: set ranges for RangePicker
* feat: backend support to parse 'dateBetween' operator
* fix: fix build error
* fix: adaptive content width
* feat: support to use var on data scope
* feat: add parse-variables plugin
* feat: support to parse variables
* feat: support only to set system variables
* test: rename
* feat: cover all
* fix: fix build error
* feat(RangePicker): extend more shortcut keys
* feat(parse-variables): support more date var
* feat: support user variables
* feat: disable unmatched options
* fix: use component name to filter option
* fix: fix build error
* feat: remove some operator of id
* chore: remove useless operators
* fix: built in plugin
* refactor: move to core from plugin
* refactor: remove code of plugin
* refactor: remove useless code
* fix: should after acl
* Update server.ts
* fix: compatible with old version
* feat: test cases
* refactor: rename to 'is between'
* refactor: parse filter
* fix: improve code
* feat: test cases
* fix: fix error
* fix: improve parse date
* fix: date variables
* fix: day range
* fix: test error
* fix: typo
* fix: test error
* feat: $user variable
* fix: toDate
* fix: fix the value range of shortcuts
* feat: add quarter and test
* feat: support to use user's association fields to filter
* refactor: use maxDepth
* refactor: remove useless code
* fix: make AssociationSelect.Designer to support variables
* fix: getField
* fix: parse utc
* fix: remove only
* fix: filter by ctx.db.getFieldByPath
* fix: avoid error
* fix: add translation
* fix(RangePicker): can be set to empty
* feat(utils): add hasEmptyValue
* fix: should not save empty
* fix: last few days should include today
* fix: limit user variable type to display
* fix: parse filter error
* fix: empty
* test: [skip ci]
* fix: remove ';'
* feat: improve code
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: when the page has FixedBlock, the table of popup is not displayed
* feat: improve disable link
* docs: update
* feat: improve fixedblock design item