@tachybase/client 1.3.9 → 1.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/api-client/APIClient.mjs +20 -20
- package/es/api-client/APIClientProvider.mjs +3 -3
- package/es/api-client/context.mjs +3 -3
- package/es/api-client/hooks/assign.mjs +8 -8
- package/es/api-client/hooks/useAPIClient.mjs +3 -3
- package/es/api-client/hooks/useRequest.mjs +14 -14
- package/es/api-client/hooks/useResource.mjs +2 -2
- package/es/application/AppSchemaComponentProvider.mjs +8 -8
- package/es/application/Application.mjs +95 -110
- package/es/application/CustomRouterContextProvider.mjs +72 -72
- package/es/application/NoticesManager.mjs +21 -21
- package/es/application/Plugin.mjs +1 -1
- package/es/application/PluginManager.mjs +5 -5
- package/es/application/RouterManager.mjs +26 -26
- package/es/application/SystemSettingsManager.mjs +9 -9
- package/es/application/UserSettingsManager.mjs +9 -9
- package/es/application/WebSocketClient.mjs +11 -11
- package/es/application/components/AppComponent.mjs +14 -14
- package/es/application/components/BlankComponent.mjs +2 -2
- package/es/application/components/MainComponent.mjs +8 -8
- package/es/application/components/RouterContextCleaner.mjs +5 -5
- package/es/application/components/SharePage.mjs +40 -40
- package/es/application/components/ShareSchemaComponent.mjs +5 -5
- package/es/application/components/defaultComponents.mjs +7 -7
- package/es/application/context.mjs +2 -2
- package/es/application/hoc/withDynamicSchemaProps.mjs +21 -21
- package/es/application/hooks/useApp.mjs +3 -3
- package/es/application/hooks/useGlobalVariable.mjs +6 -6
- package/es/application/hooks/usePlugin.mjs +2 -2
- package/es/application/hooks/useRouter.mjs +2 -2
- package/es/application/index.mjs +2 -3
- package/es/application/schema-initializer/components/SchemaInitializerActionModal.mjs +15 -15
- package/es/application/schema-initializer/components/SchemaInitializerButton.mjs +12 -12
- package/es/application/schema-initializer/components/SchemaInitializerChildren.mjs +12 -12
- package/es/application/schema-initializer/components/SchemaInitializerDivider.mjs +4 -4
- package/es/application/schema-initializer/components/SchemaInitializerItem.mjs +28 -28
- package/es/application/schema-initializer/components/SchemaInitializerItemGroup.mjs +16 -16
- package/es/application/schema-initializer/components/SchemaInitializerItems.mjs +3 -3
- package/es/application/schema-initializer/components/SchemaInitializerSelect.mjs +14 -14
- package/es/application/schema-initializer/components/SchemaInitializerSubMenu.mjs +29 -29
- package/es/application/schema-initializer/components/SchemaInitializerSwitch.mjs +11 -11
- package/es/application/schema-initializer/components/style.mjs +2 -2
- package/es/application/schema-initializer/context/index.mjs +5 -5
- package/es/application/schema-initializer/hoc/index.mjs +25 -25
- package/es/application/schema-initializer/hooks/index.mjs +20 -20
- package/es/application/schema-initializer/hooks/useAriaAttributeOfMenuItem.mjs +4 -4
- package/es/application/schema-settings/SchemaSettingsDefaults.mjs +25 -25
- package/es/application/schema-settings/SchemaSettingsManager.mjs +3 -6
- package/es/application/schema-settings/components/SchemaSettingsChildren.mjs +31 -31
- package/es/application/schema-settings/components/SchemaSettingsIcon.mjs +8 -8
- package/es/application/schema-settings/components/SchemaSettingsWrapper.mjs +15 -15
- package/es/application/schema-settings/context/index.mjs +3 -3
- package/es/application/schema-settings/hooks/index.mjs +8 -8
- package/es/application/schema-toolbar/context/index.mjs +5 -5
- package/es/application/schema-toolbar/hooks/index.mjs +9 -9
- package/es/application/utils/globalDeps.mjs +52 -52
- package/es/application/utils/index.mjs +7 -7
- package/es/async-data-provider/index.mjs +8 -8
- package/es/block-provider/BlockProvider.mjs +79 -79
- package/es/block-provider/DetailsBlockProvider.mjs +33 -33
- package/es/block-provider/FilterFormBlockProvider.mjs +8 -8
- package/es/block-provider/FormBlockProvider.mjs +50 -50
- package/es/block-provider/FormFieldProvider.mjs +34 -34
- package/es/block-provider/MobileProvider.mjs +4 -4
- package/es/block-provider/PageLayout.mjs +2 -2
- package/es/block-provider/TableBlockProvider.mjs +37 -39
- package/es/block-provider/TableFieldProvider.mjs +32 -32
- package/es/block-provider/TableSelectorProvider.mjs +75 -77
- package/es/block-provider/TreeBlockProvider.mjs +30 -30
- package/es/block-provider/hooks/index.mjs +266 -280
- package/es/block-provider/hooks/useDataBlockSourceId.mjs +6 -6
- package/es/block-provider/hooks/useFormActiveFields.mjs +8 -8
- package/es/block-provider/hooks/useIsMobile.mjs +3 -3
- package/es/block-provider/hooks/useParsedFilter.mjs +20 -20
- package/es/built-in/acl/ACLPlugin.mjs +7 -7
- package/es/built-in/acl/ACLProvider.mjs +71 -71
- package/es/built-in/acl/ACLShortcut.mjs +9 -9
- package/es/built-in/acl/Configuration/ConfigureCenter.mjs +29 -29
- package/es/built-in/acl/Configuration/MenuConfigure.mjs +23 -23
- package/es/built-in/acl/Configuration/MenuItemsProvider.mjs +12 -12
- package/es/built-in/acl/Configuration/PermisionProvider.mjs +16 -16
- package/es/built-in/acl/Configuration/RoleConfigure.mjs +29 -29
- package/es/built-in/acl/Configuration/RoleTable.mjs +21 -21
- package/es/built-in/acl/Configuration/RolesResourcesActions.mjs +43 -43
- package/es/built-in/acl/Configuration/ScopeSelect.mjs +14 -14
- package/es/built-in/acl/Configuration/StrategyActions.mjs +18 -18
- package/es/built-in/acl/Configuration/index.mjs +7 -14
- package/es/built-in/acl/Configuration/schemas/roles.mjs +14 -14
- package/es/built-in/acl/Configuration/schemas/scopes.mjs +15 -15
- package/es/built-in/acl/Configuration/schemas/useRoleResourceValues.mjs +9 -12
- package/es/built-in/acl/Configuration/schemas/useSaveRoleResourceAction.mjs +7 -7
- package/es/built-in/acl/style.mjs +2 -2
- package/es/built-in/admin-layout/AdminContent.mjs +5 -9
- package/es/built-in/admin-layout/AdminLayout.mjs +13 -13
- package/es/built-in/admin-layout/AdminLayoutPlugin.mjs +6 -6
- package/es/built-in/admin-layout/AdminProvider.mjs +13 -13
- package/es/built-in/admin-layout/AdminTabs.mjs +4 -4
- package/es/built-in/admin-layout/InternalAdminLayout.mjs +34 -34
- package/es/built-in/admin-layout/MenuEditor.mjs +39 -38
- package/es/built-in/admin-layout/NoticeArea.mjs +7 -7
- package/es/built-in/admin-layout/components/AddNewButton.mjs +22 -22
- package/es/built-in/admin-layout/components/WelcomeCard.mjs +24 -24
- package/es/built-in/admin-layout/style.mjs +2 -2
- package/es/built-in/attachment-preview/index.mjs +11 -11
- package/es/built-in/attachment-preview/previewers/file-default.mjs +11 -11
- package/es/built-in/attachment-preview/previewers/file-pdf.mjs +31 -31
- package/es/built-in/attachment-preview/previewers/file-pdf.style.mjs +2 -2
- package/es/built-in/attachment-preview/previewers/file-sheet.mjs +25 -25
- package/es/built-in/attachment-preview/previewers/file-sheet.style.mjs +2 -2
- package/es/built-in/attachment-preview/previewers/image-jpeg.mjs +3 -3
- package/es/built-in/attachment-preview/previewers/image-png.mjs +3 -3
- package/es/built-in/attachment-preview/previewers/image-svg.mjs +3 -3
- package/es/built-in/block-schema-component/index.mjs +73 -73
- package/es/built-in/built-in-collections/index.mjs +5 -5
- package/es/built-in/context-menu/ContextMenu.provider.mjs +21 -21
- package/es/built-in/context-menu/ContextMenuItemsProps.mjs +13 -13
- package/es/built-in/context-menu/index.mjs +14 -16
- package/es/built-in/context-menu/useContextMenu.mjs +3 -3
- package/es/built-in/document-title/index.mjs +20 -20
- package/es/built-in/dynamic-page/DynamicPage.mjs +14 -14
- package/es/built-in/dynamic-page/index.mjs +13 -13
- package/es/built-in/dynamic-page/style.mjs +3 -3
- package/es/built-in/dynamic-page/utils.mjs +1 -1
- package/es/built-in/index.mjs +112 -111
- package/es/built-in/locale/LocalePlugin.mjs +22 -22
- package/es/built-in/locale/loadConstrueLocale.mjs +2 -2
- package/es/built-in/page-style/CustomAdminHeader.mjs +5 -5
- package/es/built-in/page-style/PageStyle.provider.mjs +12 -12
- package/es/built-in/page-style/TabContent.mjs +18 -18
- package/es/built-in/page-style/TabHeader.mjs +23 -23
- package/es/built-in/page-style/TabHeader.style.mjs +2 -2
- package/es/built-in/page-style/index.mjs +8 -8
- package/es/built-in/page-style/usePageStyle.mjs +3 -3
- package/es/built-in/page-style/useTabSettings.mjs +17 -17
- package/es/built-in/pinned-list/PinnedPluginListProvider.mjs +17 -17
- package/es/built-in/pinned-list/PluginPinnedList.mjs +4 -4
- package/es/built-in/pinned-list/context.mjs +2 -2
- package/es/built-in/pm/PluginCard.mjs +54 -60
- package/es/built-in/pm/PluginDetail.mjs +83 -83
- package/es/built-in/pm/PluginDocument.mjs +20 -20
- package/es/built-in/pm/PluginForm/form/PluginNpmForm.mjs +17 -17
- package/es/built-in/pm/PluginForm/form/PluginUploadForm.mjs +15 -15
- package/es/built-in/pm/PluginForm/form/PluginUrlForm.mjs +15 -15
- package/es/built-in/pm/PluginForm/modal/PluginAddModal.mjs +20 -20
- package/es/built-in/pm/PluginForm/modal/PluginUpgradeModal.mjs +20 -20
- package/es/built-in/pm/PluginManager.mjs +66 -66
- package/es/built-in/pm/index.mjs +17 -21
- package/es/built-in/pm/style.mjs +2 -2
- package/es/built-in/quick-access/Action.mjs +25 -25
- package/es/built-in/quick-access/Block.mjs +40 -40
- package/es/built-in/quick-access/CustomRequestActionSchemaInitializerItem.mjs +12 -12
- package/es/built-in/quick-access/LinkActionSchemaInitializerItem.mjs +13 -13
- package/es/built-in/quick-access/ModalActionSchemaInitializerItem.mjs +19 -19
- package/es/built-in/quick-access/PopupActionSchemaInitializerItem.mjs +12 -12
- package/es/built-in/quick-access/SchemaSettingsBlockTitleItem.mjs +11 -11
- package/es/built-in/quick-access/blockInitializerItem.mjs +6 -6
- package/es/built-in/quick-access/blockSettings.mjs +15 -15
- package/es/built-in/quick-access/configureActions.mjs +4 -4
- package/es/built-in/quick-access/index.mjs +21 -21
- package/es/built-in/scroll-assistant/ScrollAssistant.provider.mjs +11 -11
- package/es/built-in/scroll-assistant/ScrollAssistantStatus.provider.mjs +6 -6
- package/es/built-in/scroll-assistant/index.mjs +8 -8
- package/es/built-in/scroll-assistant/useJoystick.mjs +5 -7
- package/es/built-in/setting-layout/AdminSettings.mjs +27 -27
- package/es/built-in/setting-layout/SettingLayout.mjs +38 -38
- package/es/built-in/setting-layout/SettingsCenterDropdown.mjs +18 -18
- package/es/built-in/setting-layout/style.mjs +2 -2
- package/es/built-in/system-settings/SystemSettingsProvider.mjs +7 -7
- package/es/built-in/system-settings/SystemSettingsShortcut.mjs +27 -27
- package/es/built-in/system-settings/index.mjs +5 -8
- package/es/built-in/system-version/SystemVersion.provider.mjs +12 -12
- package/es/built-in/system-version/index.mjs +4 -4
- package/es/built-in/user-settings/UserSettingsLayout.mjs +37 -37
- package/es/built-in/user-settings/index.mjs +9 -9
- package/es/built-in/user-settings/style.mjs +2 -2
- package/es/collection-manager/CollectionHistoryProvider.mjs +13 -13
- package/es/collection-manager/CollectionManagerProvider.mjs +18 -18
- package/es/collection-manager/CollectionManagerSchemaComponentProvider.mjs +13 -13
- package/es/collection-manager/CollectionProvider_deprecated.mjs +6 -6
- package/es/collection-manager/Configuration/AddCollectionAction.mjs +60 -60
- package/es/collection-manager/Configuration/AddFieldAction.mjs +64 -64
- package/es/collection-manager/Configuration/AddSubFieldAction.mjs +38 -38
- package/es/collection-manager/Configuration/DeleteCollectionAction.mjs +43 -43
- package/es/collection-manager/Configuration/EditCollectionAction.mjs +44 -44
- package/es/collection-manager/Configuration/EditFieldAction.mjs +55 -55
- package/es/collection-manager/Configuration/EditSubFieldAction.mjs +32 -32
- package/es/collection-manager/Configuration/ImportCollectionMetaAction.mjs +30 -30
- package/es/collection-manager/Configuration/ImportXlsx/ImportXlsxMetaAction.mjs +53 -53
- package/es/collection-manager/Configuration/ImportXlsx/XlsxCollectionSchema.mjs +4 -4
- package/es/collection-manager/Configuration/ImportXlsx/XlsxEditFieldAction.mjs +17 -17
- package/es/collection-manager/Configuration/ImportXlsx/setUpdateXlsxCollectionField.mjs +15 -21
- package/es/collection-manager/Configuration/ImportXlsx/xlsxFieldsConfigure.mjs +53 -53
- package/es/collection-manager/Configuration/ImportXlsx/xlsxFormValueContextProvider.mjs +3 -3
- package/es/collection-manager/Configuration/ImportXlsx/xlsxImportAction.mjs +39 -39
- package/es/collection-manager/Configuration/ImportXlsx/xlsxPreviewTable.mjs +7 -7
- package/es/collection-manager/Configuration/OverridingCollectionField.mjs +51 -51
- package/es/collection-manager/Configuration/SyncFieldsAction.mjs +48 -48
- package/es/collection-manager/Configuration/SyncSQLFieldsAction.mjs +40 -40
- package/es/collection-manager/Configuration/ViewInheritedField.mjs +40 -40
- package/es/collection-manager/Configuration/components/CollectionCategory.mjs +8 -8
- package/es/collection-manager/Configuration/components/CollectionFieldInterfaceTag.mjs +9 -9
- package/es/collection-manager/Configuration/components/CollectionTemplateTag.mjs +9 -9
- package/es/collection-manager/Configuration/components/FieldSummary.mjs +9 -9
- package/es/collection-manager/Configuration/components/Summary.mjs +16 -16
- package/es/collection-manager/Configuration/components/TemplateSummary.mjs +9 -9
- package/es/collection-manager/Configuration/components/index.mjs +96 -96
- package/es/collection-manager/Configuration/index.mjs +2 -2
- package/es/collection-manager/Configuration/interfaces.mjs +4 -4
- package/es/collection-manager/ResourceActionProvider.mjs +33 -33
- package/es/collection-manager/action-hooks.mjs +103 -104
- package/es/collection-manager/collectionPlugin.mjs +61 -61
- package/es/collection-manager/context.mjs +2 -2
- package/es/collection-manager/hooks/useCollectionDataSource.mjs +6 -6
- package/es/collection-manager/hooks/useCollectionField_deprecated.mjs +10 -10
- package/es/collection-manager/hooks/useCollectionManager_deprecated.mjs +57 -57
- package/es/collection-manager/hooks/useCollection_deprecated.mjs +17 -17
- package/es/collection-manager/hooks/useDialect.mjs +5 -5
- package/es/collection-manager/index.mjs +5 -13
- package/es/collection-manager/interfaces/checkbox.mjs +5 -5
- package/es/collection-manager/interfaces/checkboxGroup.mjs +6 -6
- package/es/collection-manager/interfaces/chinaRegion.mjs +9 -9
- package/es/collection-manager/interfaces/collection.mjs +6 -6
- package/es/collection-manager/interfaces/color.mjs +5 -5
- package/es/collection-manager/interfaces/components/index.mjs +14 -14
- package/es/collection-manager/interfaces/createdAt.mjs +6 -6
- package/es/collection-manager/interfaces/createdBy.mjs +6 -6
- package/es/collection-manager/interfaces/datetime.mjs +6 -6
- package/es/collection-manager/interfaces/email.mjs +6 -6
- package/es/collection-manager/interfaces/icon.mjs +4 -4
- package/es/collection-manager/interfaces/id.mjs +4 -4
- package/es/collection-manager/interfaces/input.mjs +13 -13
- package/es/collection-manager/interfaces/integer.mjs +13 -13
- package/es/collection-manager/interfaces/json.mjs +11 -11
- package/es/collection-manager/interfaces/linkTo.mjs +8 -8
- package/es/collection-manager/interfaces/m2m.mjs +14 -14
- package/es/collection-manager/interfaces/m2o.mjs +10 -10
- package/es/collection-manager/interfaces/markdown.mjs +8 -8
- package/es/collection-manager/interfaces/multipleSelect.mjs +6 -6
- package/es/collection-manager/interfaces/nanoid.mjs +4 -4
- package/es/collection-manager/interfaces/number.mjs +9 -9
- package/es/collection-manager/interfaces/o2m.mjs +8 -8
- package/es/collection-manager/interfaces/o2o.mjs +22 -22
- package/es/collection-manager/interfaces/password.mjs +8 -8
- package/es/collection-manager/interfaces/percent.mjs +14 -14
- package/es/collection-manager/interfaces/phone.mjs +6 -6
- package/es/collection-manager/interfaces/properties/index.mjs +4 -4
- package/es/collection-manager/interfaces/properties/operators.mjs +5 -5
- package/es/collection-manager/interfaces/radioGroup.mjs +6 -6
- package/es/collection-manager/interfaces/richText.mjs +8 -8
- package/es/collection-manager/interfaces/select.mjs +6 -6
- package/es/collection-manager/interfaces/sort.mjs +8 -8
- package/es/collection-manager/interfaces/subTable.mjs +7 -7
- package/es/collection-manager/interfaces/tableoid.mjs +4 -4
- package/es/collection-manager/interfaces/textarea.mjs +8 -8
- package/es/collection-manager/interfaces/time.mjs +5 -5
- package/es/collection-manager/interfaces/unixTimestamp.mjs +5 -5
- package/es/collection-manager/interfaces/updatedAt.mjs +6 -6
- package/es/collection-manager/interfaces/updatedBy.mjs +6 -6
- package/es/collection-manager/interfaces/url.mjs +5 -5
- package/es/collection-manager/interfaces/uuid.mjs +4 -4
- package/es/collection-manager/mixins/InheritanceCollectionMixin.mjs +13 -13
- package/es/collection-manager/sub-table.mjs +42 -42
- package/es/collection-manager/templates/components/PresetFields.mjs +22 -22
- package/es/collection-manager/templates/components/PreviewFields.mjs +57 -57
- package/es/collection-manager/templates/components/PreviewTable.mjs +34 -34
- package/es/collection-manager/templates/components/sql-collection/FieldsConfigure.mjs +75 -77
- package/es/collection-manager/templates/components/sql-collection/PreviewTable.mjs +13 -13
- package/es/collection-manager/templates/components/sql-collection/SQLInput.mjs +21 -21
- package/es/collection-manager/templates/components/sql-collection/SQLRequestProvider.mjs +15 -15
- package/es/collection-manager/templates/expression.mjs +6 -6
- package/es/collection-manager/templates/general.mjs +4 -4
- package/es/collection-manager/templates/import.mjs +2 -2
- package/es/collection-manager/templates/properties/index.mjs +3 -3
- package/es/collection-manager/templates/sql.mjs +11 -11
- package/es/collection-manager/templates/tree.mjs +4 -4
- package/es/collection-manager/templates/view.mjs +8 -8
- package/es/collection-manager/templates/xlsx.mjs +2 -2
- package/es/collection-manager/utils.mjs +1 -1
- package/es/common/SelectWithTitle.mjs +7 -7
- package/es/common/appInfo/CurrentAppInfoProvider.mjs +7 -7
- package/es/common/useFieldComponentName.mjs +12 -12
- package/es/common/useNiceDropdownHeight.mjs +4 -4
- package/es/data-source/collection/AssociationProvider.mjs +17 -17
- package/es/data-source/collection/Collection.mjs +2 -2
- package/es/data-source/collection/CollectionManager.mjs +7 -10
- package/es/data-source/collection/CollectionManagerProvider.mjs +13 -13
- package/es/data-source/collection/CollectionProvider.mjs +12 -12
- package/es/data-source/collection/ExtendCollectionsProvider.mjs +10 -10
- package/es/data-source/collection-field/CollectionField.mjs +26 -26
- package/es/data-source/collection-field/CollectionFieldProvider.mjs +15 -15
- package/es/data-source/collection-field-interface/CollectionFieldInterface.mjs +2 -2
- package/es/data-source/collection-field-interface/CollectionFieldInterfaceManager.mjs +2 -2
- package/es/data-source/collection-fields-to-initializer-items/CollectionFieldsToFormInitializerItems.mjs +8 -8
- package/es/data-source/collection-fields-to-initializer-items/CollectionFieldsToInitializerItems.mjs +8 -8
- package/es/data-source/collection-fields-to-initializer-items/items/AssociationCollectionFields.mjs +7 -7
- package/es/data-source/collection-fields-to-initializer-items/items/ParentCollectionFields.mjs +6 -6
- package/es/data-source/collection-fields-to-initializer-items/items/SelfFields.mjs +6 -6
- package/es/data-source/collection-fields-to-initializer-items/items/index.mjs +4 -7
- package/es/data-source/collection-fields-to-initializer-items/utils/getInitializerItemsByFields.mjs +5 -5
- package/es/data-source/collection-fields-to-initializer-items/utils/useCollectionFieldContext.mjs +17 -17
- package/es/data-source/collection-record/CollectionRecordProvider.mjs +20 -21
- package/es/data-source/collection-record/isNewRecord.mjs +2 -2
- package/es/data-source/collection-template/CollectionTemplateManager.mjs +2 -2
- package/es/data-source/commonsSettingsItem/fieldComponent.mjs +20 -20
- package/es/data-source/components/CollectionDeletedPlaceholder.mjs +26 -26
- package/es/data-source/components/DataSourceApplicationProvider.mjs +5 -5
- package/es/data-source/data-block/DataBlockProvider.mjs +24 -24
- package/es/data-source/data-block/DataBlockRequestProvider.mjs +31 -31
- package/es/data-source/data-block/DataBlockResourceProvider.mjs +19 -19
- package/es/data-source/data-block/context/ConfigSetting.provider.mjs +3 -3
- package/es/data-source/data-source/DataSource.mjs +2 -2
- package/es/data-source/data-source/DataSourceManager.mjs +9 -9
- package/es/data-source/data-source/DataSourceManagerProvider.mjs +5 -5
- package/es/data-source/data-source/DataSourceProvider.mjs +22 -22
- package/es/data-source/utils.mjs +5 -5
- package/es/filter-provider/FilterProvider.mjs +29 -29
- package/es/filter-provider/utils.mjs +38 -38
- package/es/flag-provider/FlagProvider.mjs +4 -4
- package/es/flag-provider/hooks/useFlag.mjs +3 -3
- package/es/hooks/useMenuItem.mjs +21 -21
- package/es/hooks/useViewport.mjs +5 -5
- package/es/i18n/i18n.mjs +7 -7
- package/es/icon/Icon.mjs +19 -19
- package/es/icon/preloaded.mjs +24 -24
- package/es/index.mjs +5 -9
- package/es/locale/index.mjs +49 -49
- package/es/modules/actions/ActionSchemaToolbar.mjs +3 -3
- package/es/modules/actions/add-child/CreateChildInitializer.mjs +3 -3
- package/es/modules/actions/add-child/addChildActionSettings.mjs +19 -19
- package/es/modules/actions/add-new/CreateActionInitializer.mjs +5 -5
- package/es/modules/actions/add-new/addNewActionSettings.mjs +18 -18
- package/es/modules/actions/add-new/createFormBlockInitializers.mjs +8 -8
- package/es/modules/actions/add-record/CustomizeAddRecordActionInitializer.mjs +5 -5
- package/es/modules/actions/add-record/customizeAddRecordActionSettings.mjs +10 -10
- package/es/modules/actions/add-record/customizeCreateFormBlockInitializers.mjs +4 -4
- package/es/modules/actions/associate/AssociateActionInitializer.mjs +5 -5
- package/es/modules/actions/associate/AssociateActionProvider.mjs +20 -20
- package/es/modules/actions/associate/AssociateActionSettings.mjs +18 -18
- package/es/modules/actions/bulk-destroy/BulkDestroyActionInitializer.mjs +5 -5
- package/es/modules/actions/bulk-destroy/bulkDeleteActionSettings.mjs +9 -9
- package/es/modules/actions/delete/DestroyActionInitializer.mjs +3 -3
- package/es/modules/actions/delete/deleteActionSettings.mjs +16 -16
- package/es/modules/actions/disassociate/DisassociateActionInitializer.mjs +3 -3
- package/es/modules/actions/disassociate/disassociateActionSettings.mjs +12 -12
- package/es/modules/actions/expand-collapse/ExpandableActionInitializer.mjs +3 -3
- package/es/modules/actions/expand-collapse/expendableActionSettings.mjs +18 -18
- package/es/modules/actions/filter/FilterActionInitializer.mjs +3 -3
- package/es/modules/actions/filter/filterActionSettings.mjs +12 -12
- package/es/modules/actions/link/customizeLinkActionSettings.mjs +29 -29
- package/es/modules/actions/link/hooks.mjs +23 -23
- package/es/modules/actions/refresh/RefreshActionInitializer.mjs +3 -3
- package/es/modules/actions/refresh/refreshActionSettings.mjs +9 -9
- package/es/modules/actions/save-record/SaveRecordActionInitializer.mjs +5 -5
- package/es/modules/actions/save-record/customizeSaveRecordActionSettings.mjs +16 -16
- package/es/modules/actions/submit/CreateSubmitActionInitializer.mjs +3 -3
- package/es/modules/actions/submit/UpdateSubmitActionInitializer.mjs +3 -3
- package/es/modules/actions/submit/createSubmitActionSettings.mjs +40 -40
- package/es/modules/actions/submit/updateSubmitActionSettings.mjs +27 -27
- package/es/modules/actions/update-record/UpdateRecordActionInitializer.mjs +5 -5
- package/es/modules/actions/update-record/customizeUpdateRecordActionSettings.mjs +20 -20
- package/es/modules/actions/view-edit-popup/PopupActionInitializer.mjs +5 -5
- package/es/modules/actions/view-edit-popup/RecordFormBlockInitializers.mjs +4 -4
- package/es/modules/actions/view-edit-popup/UpdateActionInitializer.mjs +3 -3
- package/es/modules/actions/view-edit-popup/ViewActionInitializer.mjs +3 -3
- package/es/modules/actions/view-edit-popup/customizePopupActionSettings.mjs +15 -15
- package/es/modules/actions/view-edit-popup/editActionSettings.mjs +13 -13
- package/es/modules/actions/view-edit-popup/viewActionSettings.mjs +15 -15
- package/es/modules/blocks/BlockSchemaToolbar.mjs +17 -17
- package/es/modules/blocks/data-blocks/details-multi/DetailsActionInitializers.mjs +2 -2
- package/es/modules/blocks/data-blocks/details-multi/DetailsBlockInitializer.mjs +14 -14
- package/es/modules/blocks/data-blocks/details-multi/createDetailsWithPaginationUISchema.mjs +3 -3
- package/es/modules/blocks/data-blocks/details-multi/detailsWithPaginationSettings.mjs +40 -40
- package/es/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationDecoratorProps.mjs +2 -2
- package/es/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationProps.mjs +2 -2
- package/es/modules/blocks/data-blocks/details-multi/setDataLoadingModeSettingsItem.mjs +19 -19
- package/es/modules/blocks/data-blocks/details-single/ReadPrettyFormActionInitializers.mjs +4 -4
- package/es/modules/blocks/data-blocks/details-single/ReadPrettyFormItemInitializers.mjs +16 -16
- package/es/modules/blocks/data-blocks/details-single/RecordReadPrettyFormBlockInitializer.mjs +21 -21
- package/es/modules/blocks/data-blocks/details-single/createDetailsUISchema.mjs +3 -3
- package/es/modules/blocks/data-blocks/details-single/detailsBlockSettings.mjs +11 -11
- package/es/modules/blocks/data-blocks/details-single/hooks/useDetailsDecoratorProps.mjs +7 -7
- package/es/modules/blocks/data-blocks/details-single/hooks/useDetailsProps.mjs +2 -2
- package/es/modules/blocks/data-blocks/form/CreateFormBlockInitializer.mjs +18 -18
- package/es/modules/blocks/data-blocks/form/FilterItemCustomSettings.mjs +59 -59
- package/es/modules/blocks/data-blocks/form/FormBlockInitializer.mjs +18 -18
- package/es/modules/blocks/data-blocks/form/FormItemSchemaToolbar.mjs +3 -3
- package/es/modules/blocks/data-blocks/form/RecordFormBlockInitializer.mjs +26 -26
- package/es/modules/blocks/data-blocks/form/createCreateFormBlockUISchema.mjs +3 -3
- package/es/modules/blocks/data-blocks/form/createEditFormBlockUISchema.mjs +3 -3
- package/es/modules/blocks/data-blocks/form/createFormActionInitializers.mjs +2 -2
- package/es/modules/blocks/data-blocks/form/createFormBlockSettings.mjs +27 -27
- package/es/modules/blocks/data-blocks/form/editFormBlockSettings.mjs +16 -16
- package/es/modules/blocks/data-blocks/form/fieldSettingsFormItem.mjs +87 -87
- package/es/modules/blocks/data-blocks/form/formActionInitializers.mjs +2 -2
- package/es/modules/blocks/data-blocks/form/formItemInitializers.mjs +9 -9
- package/es/modules/blocks/data-blocks/form/hooks/useCreateFormBlockDecoratorProps.mjs +2 -2
- package/es/modules/blocks/data-blocks/form/hooks/useCreateFormBlockProps.mjs +2 -2
- package/es/modules/blocks/data-blocks/form/hooks/useEditFormBlockDecoratorProps.mjs +4 -4
- package/es/modules/blocks/data-blocks/form/hooks/useEditFormBlockProps.mjs +2 -2
- package/es/modules/blocks/data-blocks/form/updateFormActionInitializers.mjs +2 -2
- package/es/modules/blocks/data-blocks/grid-card/GridCardActionInitializers.mjs +5 -5
- package/es/modules/blocks/data-blocks/grid-card/GridCardBlockInitializer.mjs +12 -12
- package/es/modules/blocks/data-blocks/grid-card/gridCardBlockSettings.mjs +87 -87
- package/es/modules/blocks/data-blocks/grid-card/gridCardItemActionInitializers.mjs +7 -7
- package/es/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockDecoratorProps.mjs +4 -4
- package/es/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockParams.mjs +4 -4
- package/es/modules/blocks/data-blocks/list/ListActionInitializers.mjs +5 -5
- package/es/modules/blocks/data-blocks/list/ListBlockInitializer.mjs +12 -12
- package/es/modules/blocks/data-blocks/list/hooks/useListBlockDecoratorProps.mjs +2 -2
- package/es/modules/blocks/data-blocks/list/listBlockSettings.mjs +42 -42
- package/es/modules/blocks/data-blocks/list/listItemActionInitializers.mjs +7 -7
- package/es/modules/blocks/data-blocks/table/TableActionColumnInitializers.mjs +40 -40
- package/es/modules/blocks/data-blocks/table/TableActionInitializers.mjs +13 -13
- package/es/modules/blocks/data-blocks/table/TableBlockInitializer.mjs +12 -12
- package/es/modules/blocks/data-blocks/table/TableColumnInitializers.mjs +22 -22
- package/es/modules/blocks/data-blocks/table/TableColumnSchemaToolbar.mjs +7 -7
- package/es/modules/blocks/data-blocks/table/createTableBlockUISchema.mjs +3 -3
- package/es/modules/blocks/data-blocks/table/hooks/useTableBlockDecoratorProps.mjs +9 -9
- package/es/modules/blocks/data-blocks/table/hooks/useTableBlockProps.mjs +39 -42
- package/es/modules/blocks/data-blocks/table/tableBlockSettings.mjs +85 -85
- package/es/modules/blocks/data-blocks/table/tableColumnSettings.mjs +61 -61
- package/es/modules/blocks/data-blocks/table/utils.mjs +8 -8
- package/es/modules/blocks/data-blocks/table-selector/TableSelectorInitializer.mjs +11 -11
- package/es/modules/blocks/data-blocks/table-selector/createTableSelectorUISchema.mjs +2 -2
- package/es/modules/blocks/data-blocks/table-selector/tableSelectorBlockSettings.mjs +55 -55
- package/es/modules/blocks/filter-blocks/collapse/CollapseItemSchemaToolbar.mjs +3 -3
- package/es/modules/blocks/filter-blocks/collapse/FilterCollapseBlockInitializer.mjs +10 -10
- package/es/modules/blocks/filter-blocks/collapse/createFilterCollapseBlockSchema.mjs +2 -2
- package/es/modules/blocks/filter-blocks/collapse/filterCollapseBlockSettings.mjs +15 -15
- package/es/modules/blocks/filter-blocks/collapse/filterCollapseItemFieldSettings.mjs +50 -50
- package/es/modules/blocks/filter-blocks/collapse/filterCollapseItemInitializer.mjs +16 -16
- package/es/modules/blocks/filter-blocks/form/FilterFormActionInitializers.mjs +2 -2
- package/es/modules/blocks/filter-blocks/form/FilterFormBlockInitializer.mjs +11 -11
- package/es/modules/blocks/filter-blocks/form/createFilterFormBlockSchema.mjs +3 -3
- package/es/modules/blocks/filter-blocks/form/filterFormBlockSettings.mjs +17 -17
- package/es/modules/blocks/filter-blocks/form/filterFormItemFieldSettings.mjs +56 -56
- package/es/modules/blocks/filter-blocks/form/filterFormItemInitializers.mjs +8 -8
- package/es/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockProps.mjs +2 -2
- package/es/modules/blocks/filter-blocks/tree/FilterTreeActionInitializers.mjs +2 -2
- package/es/modules/blocks/filter-blocks/tree/FilterTreeBlockInitializer.mjs +10 -10
- package/es/modules/blocks/filter-blocks/tree/filterTreeBlockSettings.mjs +17 -17
- package/es/modules/blocks/filter-blocks/tree/filterTreeItemFieldSettings.mjs +52 -52
- package/es/modules/blocks/filter-blocks/tree/filterTreeItemInitializers.mjs +8 -8
- package/es/modules/blocks/other-blocks/markdown/MarkdownBlockInitializer.mjs +9 -9
- package/es/modules/blocks/other-blocks/markdown/MarkdownFormItemInitializer.mjs +7 -7
- package/es/modules/blocks/other-blocks/markdown/markdownBlockSettings.mjs +6 -6
- package/es/modules/blocks/useParentRecordCommon.mjs +2 -2
- package/es/modules/blocks/useSourceId.mjs +5 -5
- package/es/modules/blocks/useSourceKey.mjs +2 -2
- package/es/modules/fields/component/CascadeSelect/cascadeSelectComponentFieldSettings.mjs +25 -25
- package/es/modules/fields/component/Cascader/cascaderComponentFieldSettings.mjs +92 -92
- package/es/modules/fields/component/Checkbox/checkboxComponentFieldSettings.mjs +12 -12
- package/es/modules/fields/component/CustomTitle/customTitleComponentFieldSettings.mjs +27 -27
- package/es/modules/fields/component/DatePicker/datePickerComponentFieldSettings.mjs +8 -8
- package/es/modules/fields/component/DrawerSubTable/drawerSubTableComponentFieldSettings.mjs +35 -35
- package/es/modules/fields/component/FileManager/fileManagerComponentFieldSettings.mjs +48 -48
- package/es/modules/fields/component/FileManager/uploadAttachmentComponentFieldSettings.mjs +18 -18
- package/es/modules/fields/component/Input/inputComponentFieldsSettings.mjs +2 -2
- package/es/modules/fields/component/InputNumber/inputNumberComponentFieldSettings.mjs +31 -31
- package/es/modules/fields/component/Nester/subformComponentFieldSettings.mjs +32 -32
- package/es/modules/fields/component/Picker/TableSelectorInitializers.mjs +6 -6
- package/es/modules/fields/component/Picker/recordPickerComponentFieldSettings.mjs +44 -44
- package/es/modules/fields/component/PopoverNester/subformPopoverComponentFieldSettings.mjs +28 -28
- package/es/modules/fields/component/Radio/radioComponentFieldSettings.mjs +12 -12
- package/es/modules/fields/component/Select/selectComponentFieldSettings.mjs +106 -106
- package/es/modules/fields/component/SubTable/secondLevelSelect.mjs +28 -28
- package/es/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.mjs +61 -61
- package/es/modules/fields/component/Tag/tagComponentFieldSettings.mjs +43 -43
- package/es/modules/fields/component/UnixTimestamp/unixTimestampComponentFieldSettings.mjs +8 -8
- package/es/modules/fields/initializer/CollectionFieldInitializer.mjs +5 -5
- package/es/modules/fields/initializer/TableCollectionFieldInitializer.mjs +5 -5
- package/es/modules/menu/GroupItem.mjs +21 -21
- package/es/modules/menu/LinkMenuItem.mjs +21 -21
- package/es/modules/menu/PageMenuItem.mjs +22 -22
- package/es/modules/menu/UploadMenuItem.mjs +23 -23
- package/es/modules/menu/menuItemInitializer.mjs +8 -8
- package/es/modules/page/BlockInitializers.mjs +4 -4
- package/es/modules/variable/DeclareVariable.mjs +4 -4
- package/es/modules/variable/useVariable.mjs +3 -3
- package/es/powered-by/index.mjs +6 -6
- package/es/record-provider/index.mjs +16 -16
- package/es/route-switch/RouteSchemaComponent.mjs +5 -5
- package/es/schema-component/antd/AntdSchemaComponentProvider.mjs +22 -22
- package/es/schema-component/antd/__builtins__/hooks/useConfig.mjs +4 -4
- package/es/schema-component/antd/__builtins__/hooks/usePrefixCls.mjs +5 -5
- package/es/schema-component/antd/__builtins__/hooks/useToken.mjs +2 -2
- package/es/schema-component/antd/__builtins__/loading.mjs +4 -4
- package/es/schema-component/antd/__builtins__/portal.mjs +14 -14
- package/es/schema-component/antd/__builtins__/render.mjs +4 -7
- package/es/schema-component/antd/__builtins__/style.mjs +8 -8
- package/es/schema-component/antd/action/Action.Area.mjs +37 -37
- package/es/schema-component/antd/action/Action.Area.style.mjs +2 -2
- package/es/schema-component/antd/action/Action.Container.mjs +19 -19
- package/es/schema-component/antd/action/Action.Designer.mjs +175 -175
- package/es/schema-component/antd/action/Action.Drawer.mjs +35 -35
- package/es/schema-component/antd/action/Action.Drawer.style.mjs +2 -2
- package/es/schema-component/antd/action/Action.Link.mjs +7 -7
- package/es/schema-component/antd/action/Action.Modal.mjs +38 -38
- package/es/schema-component/antd/action/Action.Modal.style.mjs +2 -2
- package/es/schema-component/antd/action/Action.Page.mjs +23 -23
- package/es/schema-component/antd/action/Action.Sheet.mjs +26 -26
- package/es/schema-component/antd/action/Action.mjs +91 -91
- package/es/schema-component/antd/action/Action.style.mjs +4 -4
- package/es/schema-component/antd/action/ActionBar.mjs +37 -37
- package/es/schema-component/antd/action/context.mjs +6 -6
- package/es/schema-component/antd/action/hooks/useGetAriaLabelOfAction.mjs +13 -13
- package/es/schema-component/antd/action/hooks/useGetAriaLabelOfDrawer.mjs +8 -8
- package/es/schema-component/antd/action/hooks/useGetAriaLabelOfModal.mjs +8 -8
- package/es/schema-component/antd/action/hooks/useGetAriaLabelOfPopover.mjs +8 -8
- package/es/schema-component/antd/action/hooks/useSetAriaLabelForDrawer.mjs +4 -4
- package/es/schema-component/antd/action/hooks/useSetAriaLabelForModal.mjs +4 -4
- package/es/schema-component/antd/action/hooks/useSetAriaLabelForPopover.mjs +4 -4
- package/es/schema-component/antd/action/hooks.mjs +27 -29
- package/es/schema-component/antd/action/utils.mjs +18 -18
- package/es/schema-component/antd/appends-tree-select/AppendsTreeSelect.mjs +26 -29
- package/es/schema-component/antd/appends-tree-select/AppendsTreeSelectV2.mjs +26 -29
- package/es/schema-component/antd/association-cascader/AssociationCascader.mjs +18 -19
- package/es/schema-component/antd/association-field/AssociationFieldProvider.mjs +29 -32
- package/es/schema-component/antd/association-field/AssociationSelect.mjs +51 -51
- package/es/schema-component/antd/association-field/Editable.mjs +54 -56
- package/es/schema-component/antd/association-field/FileManager.mjs +57 -57
- package/es/schema-component/antd/association-field/InternalCascadeSelect.mjs +94 -97
- package/es/schema-component/antd/association-field/InternalCascader.mjs +92 -95
- package/es/schema-component/antd/association-field/InternalDrawerSubTable.mjs +33 -33
- package/es/schema-component/antd/association-field/InternalNester.mjs +26 -26
- package/es/schema-component/antd/association-field/InternalPicker.mjs +56 -56
- package/es/schema-component/antd/association-field/InternalPopoverNester.mjs +31 -31
- package/es/schema-component/antd/association-field/InternalSubTable.mjs +33 -33
- package/es/schema-component/antd/association-field/InternalTag.mjs +52 -52
- package/es/schema-component/antd/association-field/InternalViewer.mjs +61 -61
- package/es/schema-component/antd/association-field/Nester.mjs +68 -68
- package/es/schema-component/antd/association-field/ReadPretty.mjs +19 -19
- package/es/schema-component/antd/association-field/SubTable.mjs +62 -62
- package/es/schema-component/antd/association-field/SubTabs/InternalCollapse.mjs +72 -72
- package/es/schema-component/antd/association-field/SubTabs/hook.mjs +20 -20
- package/es/schema-component/antd/association-field/SubTabs/styles.mjs +3 -3
- package/es/schema-component/antd/association-field/components/CreateRecordAction.mjs +24 -24
- package/es/schema-component/antd/association-field/context.mjs +2 -2
- package/es/schema-component/antd/association-field/hooks.mjs +52 -52
- package/es/schema-component/antd/association-field/index.mjs +15 -15
- package/es/schema-component/antd/association-field/schema.mjs +2 -2
- package/es/schema-component/antd/association-field/util.mjs +16 -16
- package/es/schema-component/antd/association-filter/ActionBarAssociationFilterAction.mjs +19 -19
- package/es/schema-component/antd/association-filter/AssociationFilter.BlockDesigner.mjs +19 -19
- package/es/schema-component/antd/association-filter/AssociationFilter.Initializer.mjs +6 -6
- package/es/schema-component/antd/association-filter/AssociationFilter.Item.Designer.mjs +34 -34
- package/es/schema-component/antd/association-filter/AssociationFilter.Item.mjs +46 -46
- package/es/schema-component/antd/association-filter/AssociationFilter.Item.style.mjs +4 -4
- package/es/schema-component/antd/association-filter/AssociationFilter.mjs +35 -35
- package/es/schema-component/antd/association-filter/AssociationFilterDesignerDelete.mjs +15 -15
- package/es/schema-component/antd/association-filter/AssociationFilterDesignerDisplayField.mjs +10 -10
- package/es/schema-component/antd/association-select/AssociationSelect.mjs +119 -119
- package/es/schema-component/antd/association-select/ReadPretty.mjs +9 -9
- package/es/schema-component/antd/association-select/useServiceOptions.mjs +19 -19
- package/es/schema-component/antd/auto-complete/AutoComplete.mjs +19 -19
- package/es/schema-component/antd/block-item/BlockItem.mjs +17 -17
- package/es/schema-component/antd/block-item/BlockToolbar.mjs +34 -34
- package/es/schema-component/antd/block-item/hooks/useGetAriaLabelOfBlockItem.mjs +13 -13
- package/es/schema-component/antd/block-item/useBlockToolbar.mjs +22 -22
- package/es/schema-component/antd/card-item/CardItem.mjs +11 -11
- package/es/schema-component/antd/card-item/style.mjs +4 -4
- package/es/schema-component/antd/cascader/Cascader.mjs +27 -27
- package/es/schema-component/antd/cascader/ReadPretty.mjs +8 -8
- package/es/schema-component/antd/checkbox/Checkbox.mjs +35 -35
- package/es/schema-component/antd/collection-select/CollectionSelect.mjs +45 -45
- package/es/schema-component/antd/color-picker/ColorPicker.mjs +18 -18
- package/es/schema-component/antd/color-picker/ReadPretty.mjs +8 -8
- package/es/schema-component/antd/color-picker/util.mjs +12 -12
- package/es/schema-component/antd/color-select/ColorSelect.mjs +18 -18
- package/es/schema-component/antd/cron/Cron.mjs +20 -20
- package/es/schema-component/antd/cron/CronSet.mjs +30 -30
- package/es/schema-component/antd/custom-cascader/CustomCascader.mjs +16 -16
- package/es/schema-component/antd/custom-cascader/ReadPretty.mjs +8 -8
- package/es/schema-component/antd/date-picker/DatePicker.mjs +25 -28
- package/es/schema-component/antd/date-picker/ReadPretty.mjs +20 -20
- package/es/schema-component/antd/date-picker/util.mjs +13 -13
- package/es/schema-component/antd/details/Details.mjs +11 -11
- package/es/schema-component/antd/error-fallback/ErrorFallback.mjs +15 -15
- package/es/schema-component/antd/expand-action/Expand.Action.Design.mjs +14 -14
- package/es/schema-component/antd/expand-action/Expand.Action.mjs +23 -23
- package/es/schema-component/antd/expand-action/index.mjs +5 -5
- package/es/schema-component/antd/filter/DynamicComponent.mjs +17 -17
- package/es/schema-component/antd/filter/Filter.Action.Designer.mjs +30 -30
- package/es/schema-component/antd/filter/Filter.mjs +24 -24
- package/es/schema-component/antd/filter/FilterAction.mjs +41 -41
- package/es/schema-component/antd/filter/FilterGroup.mjs +29 -29
- package/es/schema-component/antd/filter/FilterItem.mjs +27 -27
- package/es/schema-component/antd/filter/FilterItems.mjs +11 -11
- package/es/schema-component/antd/filter/SaveDefaultValue.mjs +11 -11
- package/es/schema-component/antd/filter/context.mjs +4 -4
- package/es/schema-component/antd/filter/useFilterActionProps.mjs +40 -40
- package/es/schema-component/antd/filter/useOperators.mjs +10 -10
- package/es/schema-component/antd/filter/useValues.mjs +32 -32
- package/es/schema-component/antd/form/Form.Designer.mjs +5 -5
- package/es/schema-component/antd/form/Form.Settings.mjs +6 -6
- package/es/schema-component/antd/form/Form.mjs +46 -46
- package/es/schema-component/antd/form-dialog/index.mjs +42 -42
- package/es/schema-component/antd/form-item/FormItem.FilterFormDesigner.mjs +3 -3
- package/es/schema-component/antd/form-item/FormItem.FilterFormSettings.mjs +45 -45
- package/es/schema-component/antd/form-item/FormItem.Settings.mjs +208 -208
- package/es/schema-component/antd/form-item/FormItem.mjs +49 -49
- package/es/schema-component/antd/form-item/SchemaSettingOptions.mjs +114 -114
- package/es/schema-component/antd/form-item/hooks/useLazyLoadDisplayAssociationFieldsOfForm.mjs +39 -39
- package/es/schema-component/antd/form-item/hooks/useParseDefaultValue.mjs +38 -38
- package/es/schema-component/antd/form-item/hooks/useSpecialCase.mjs +19 -19
- package/es/schema-component/antd/form-item/utils.mjs +2 -2
- package/es/schema-component/antd/form-tab/index.mjs +37 -37
- package/es/schema-component/antd/form-v2/Form.Designer.mjs +13 -13
- package/es/schema-component/antd/form-v2/Form.FilterDesigner.mjs +7 -7
- package/es/schema-component/antd/form-v2/Form.Settings.mjs +57 -57
- package/es/schema-component/antd/form-v2/Form.mjs +90 -90
- package/es/schema-component/antd/form-v2/FormField.mjs +15 -15
- package/es/schema-component/antd/form-v2/Templates.mjs +43 -43
- package/es/schema-component/antd/form-v2/index.mjs +9 -12
- package/es/schema-component/antd/form-v2/utils.mjs +33 -33
- package/es/schema-component/antd/grid/Block.mjs +7 -7
- package/es/schema-component/antd/grid/Grid.mjs +117 -121
- package/es/schema-component/antd/grid/Grid.style.mjs +4 -4
- package/es/schema-component/antd/grid-card/GridCard.Decorator.mjs +26 -26
- package/es/schema-component/antd/grid-card/GridCard.Decorator.style.mjs +4 -4
- package/es/schema-component/antd/grid-card/GridCard.Designer.mjs +54 -54
- package/es/schema-component/antd/grid-card/GridCard.Item.mjs +23 -23
- package/es/schema-component/antd/grid-card/GridCard.mjs +47 -47
- package/es/schema-component/antd/grid-card/hooks.mjs +1 -1
- package/es/schema-component/antd/grid-card/options.mjs +3 -3
- package/es/schema-component/antd/icon-picker/IconFilterInput.mjs +6 -6
- package/es/schema-component/antd/icon-picker/IconList.mjs +11 -11
- package/es/schema-component/antd/icon-picker/IconPicker.mjs +33 -33
- package/es/schema-component/antd/index.mjs +4 -7
- package/es/schema-component/antd/input/EllipsisWithTooltip.mjs +13 -13
- package/es/schema-component/antd/input/Input.mjs +17 -18
- package/es/schema-component/antd/input/Json.mjs +9 -9
- package/es/schema-component/antd/input/ReadPretty.mjs +37 -37
- package/es/schema-component/antd/input-number/InputNumber.mjs +10 -10
- package/es/schema-component/antd/input-number/ReadPretty.mjs +21 -22
- package/es/schema-component/antd/list/List.Decorator.mjs +27 -27
- package/es/schema-component/antd/list/List.Designer.mjs +41 -41
- package/es/schema-component/antd/list/List.Item.mjs +16 -16
- package/es/schema-component/antd/list/List.mjs +38 -38
- package/es/schema-component/antd/list/List.style.mjs +4 -4
- package/es/schema-component/antd/markdown/Markdown.Void.Designer.mjs +10 -10
- package/es/schema-component/antd/markdown/Markdown.Void.mjs +33 -34
- package/es/schema-component/antd/markdown/Markdown.mjs +23 -23
- package/es/schema-component/antd/markdown/style.mjs +5 -5
- package/es/schema-component/antd/markdown/util.mjs +6 -6
- package/es/schema-component/antd/media-card/MediaCard.mjs +10 -10
- package/es/schema-component/antd/media-card/style.mjs +2 -2
- package/es/schema-component/antd/menu/AdminMenu.mjs +24 -24
- package/es/schema-component/antd/menu/AdminMenu.style.mjs +2 -2
- package/es/schema-component/antd/menu/Menu.Designer.mjs +45 -45
- package/es/schema-component/antd/menu/Menu.mjs +160 -164
- package/es/schema-component/antd/menu/Menu.styles.mjs +3 -3
- package/es/schema-component/antd/menu/MenuAdd.mjs +8 -8
- package/es/schema-component/antd/menu/MenuItemInitializers/index.mjs +2 -2
- package/es/schema-component/antd/menu/MenuSearchAdd.mjs +15 -15
- package/es/schema-component/antd/menu/MenuSearchAdd.style.mjs +3 -3
- package/es/schema-component/antd/menu/locale.mjs +2 -2
- package/es/schema-component/antd/menu/tools.mjs +1 -1
- package/es/schema-component/antd/menu/util.mjs +4 -4
- package/es/schema-component/antd/nanoIDInput/NanoIDInput.mjs +19 -19
- package/es/schema-component/antd/page/FixedBlock.mjs +21 -21
- package/es/schema-component/antd/page/FixedBlockDesignerItem.mjs +18 -18
- package/es/schema-component/antd/page/Page.Settings.mjs +34 -34
- package/es/schema-component/antd/page/Page.mjs +125 -125
- package/es/schema-component/antd/page/Page.style.mjs +2 -2
- package/es/schema-component/antd/page/PageDesigner.mjs +13 -13
- package/es/schema-component/antd/page/PageTab.Settings.mjs +13 -13
- package/es/schema-component/antd/page/PageTabDesigner.mjs +9 -9
- package/es/schema-component/antd/page/hooks/useIsBlockInPage.mjs +4 -4
- package/es/schema-component/antd/page/hooks/useShareActions.mjs +43 -46
- package/es/schema-component/antd/page/style.mjs +4 -4
- package/es/schema-component/antd/pagination/index.mjs +10 -10
- package/es/schema-component/antd/password/Password.mjs +19 -19
- package/es/schema-component/antd/password/PasswordStrength.mjs +6 -6
- package/es/schema-component/antd/password/utils.mjs +2 -2
- package/es/schema-component/antd/percent/Percent.mjs +14 -14
- package/es/schema-component/antd/popover/Popover.mjs +10 -10
- package/es/schema-component/antd/preview/Preview.mjs +75 -75
- package/es/schema-component/antd/quick-edit/QuickEdit.mjs +28 -28
- package/es/schema-component/antd/radio/Radio.mjs +18 -18
- package/es/schema-component/antd/record-picker/InputRecordPicker.mjs +47 -47
- package/es/schema-component/antd/record-picker/ReadPrettyRecordPicker.mjs +49 -49
- package/es/schema-component/antd/record-picker/RecordPicker.mjs +4 -4
- package/es/schema-component/antd/record-picker/index.mjs +5 -6
- package/es/schema-component/antd/record-picker/useFieldNames.mjs +3 -3
- package/es/schema-component/antd/record-picker/util.mjs +11 -11
- package/es/schema-component/antd/remote-select/ReadPretty.mjs +16 -16
- package/es/schema-component/antd/remote-select/RemoteSelect.mjs +79 -81
- package/es/schema-component/antd/remote-select/shared.mjs +2 -2
- package/es/schema-component/antd/rich-text/RichText.mjs +12 -12
- package/es/schema-component/antd/rich-text/style.mjs +2 -2
- package/es/schema-component/antd/scroll-area/ScrollArea.mjs +10 -10
- package/es/schema-component/antd/select/FormulaSelect.mjs +38 -38
- package/es/schema-component/antd/select/ReadPretty.mjs +16 -16
- package/es/schema-component/antd/select/Select.mjs +47 -47
- package/es/schema-component/antd/select/utils.mjs +3 -3
- package/es/schema-component/antd/slider/slider.mjs +9 -9
- package/es/schema-component/antd/space/index.mjs +11 -11
- package/es/schema-component/antd/table/Table.Array.Designer.mjs +4 -4
- package/es/schema-component/antd/table/Table.Array.mjs +60 -60
- package/es/schema-component/antd/table/Table.Column.ActionBar.mjs +9 -9
- package/es/schema-component/antd/table/Table.Column.Decorator.mjs +16 -16
- package/es/schema-component/antd/table/Table.Column.Designer.mjs +30 -30
- package/es/schema-component/antd/table/Table.Column.mjs +4 -4
- package/es/schema-component/antd/table/Table.Designer.mjs +6 -6
- package/es/schema-component/antd/table/Table.RowActionDesigner.mjs +15 -15
- package/es/schema-component/antd/table/Table.RowSelection.mjs +7 -7
- package/es/schema-component/antd/table/Table.Void.Designer.mjs +39 -39
- package/es/schema-component/antd/table/Table.Void.mjs +30 -30
- package/es/schema-component/antd/table/index.mjs +22 -22
- package/es/schema-component/antd/table-v2/Table.ActionColumnDesigner.mjs +15 -15
- package/es/schema-component/antd/table-v2/Table.Column.ActionBar.mjs +11 -11
- package/es/schema-component/antd/table-v2/Table.Column.Decorator.mjs +21 -21
- package/es/schema-component/antd/table-v2/Table.Column.Designer.mjs +68 -68
- package/es/schema-component/antd/table-v2/Table.Column.mjs +4 -4
- package/es/schema-component/antd/table-v2/Table.Designer.mjs +6 -6
- package/es/schema-component/antd/table-v2/Table.Index.mjs +4 -4
- package/es/schema-component/antd/table-v2/Table.mjs +126 -129
- package/es/schema-component/antd/table-v2/Table.styles.mjs +5 -5
- package/es/schema-component/antd/table-v2/TableBlockDesigner.mjs +73 -73
- package/es/schema-component/antd/table-v2/TableField.mjs +21 -21
- package/es/schema-component/antd/table-v2/TableSelector.mjs +2 -2
- package/es/schema-component/antd/table-v2/TableSelectorDesigner.mjs +57 -57
- package/es/schema-component/antd/table-v2/components/ColumnFieldProvider.mjs +8 -8
- package/es/schema-component/antd/table-v2/index.mjs +17 -18
- package/es/schema-component/antd/table-v2/utils.mjs +1 -1
- package/es/schema-component/antd/tabs/Tabs.Designer.mjs +22 -23
- package/es/schema-component/antd/tabs/Tabs.mjs +34 -34
- package/es/schema-component/antd/tabs/context.mjs +5 -5
- package/es/schema-component/antd/time-picker/ReadPretty.mjs +10 -10
- package/es/schema-component/antd/time-picker/TimePicker.mjs +10 -10
- package/es/schema-component/antd/tracking-link/index.mjs +7 -7
- package/es/schema-component/antd/tree/Tree.mjs +21 -21
- package/es/schema-component/antd/tree/index.mjs +2 -3
- package/es/schema-component/antd/tree-select/ReadPretty.mjs +18 -20
- package/es/schema-component/antd/tree-select/TreeSelect.mjs +10 -10
- package/es/schema-component/antd/unixTimestamp/UnixTimestamp.mjs +14 -14
- package/es/schema-component/antd/upload/ReadPretty.mjs +55 -55
- package/es/schema-component/antd/upload/Upload.mjs +98 -98
- package/es/schema-component/antd/upload/shared.mjs +23 -23
- package/es/schema-component/antd/upload/style.mjs +2 -2
- package/es/schema-component/antd/variable/CodeMirror.mjs +23 -23
- package/es/schema-component/antd/variable/Input.mjs +58 -61
- package/es/schema-component/antd/variable/JSONInput.mjs +7 -7
- package/es/schema-component/antd/variable/RawTextArea.mjs +16 -16
- package/es/schema-component/antd/variable/TextArea.mjs +61 -65
- package/es/schema-component/antd/variable/TextAreaWithGlobalScope.mjs +18 -18
- package/es/schema-component/antd/variable/Variable.mjs +18 -18
- package/es/schema-component/antd/variable/VariableSelect.mjs +20 -20
- package/es/schema-component/antd/variable/VariableSelect.style.mjs +4 -4
- package/es/schema-component/antd/variable/XButton.mjs +6 -6
- package/es/schema-component/antd/variable/index.mjs +2 -3
- package/es/schema-component/antd/variable/style.mjs +4 -4
- package/es/schema-component/common/dnd-context/index.mjs +32 -32
- package/es/schema-component/common/infinite-scroll/infinite-scroll.mjs +29 -29
- package/es/schema-component/common/infinite-scroll/style.mjs +4 -4
- package/es/schema-component/common/sortable-item/DragHandleMenu.mjs +18 -18
- package/es/schema-component/common/sortable-item/DragHandleMenu.style.mjs +3 -3
- package/es/schema-component/common/sortable-item/DragHandlePageTab.mjs +15 -15
- package/es/schema-component/common/sortable-item/DragHandlePageTab.style.mjs +2 -2
- package/es/schema-component/common/sortable-item/SortableItem.mjs +32 -32
- package/es/schema-component/common/utils/logic.mjs +11 -9
- package/es/schema-component/common/utils/uitls.mjs +23 -25
- package/es/schema-component/context.mjs +2 -2
- package/es/schema-component/core/DesignableSwitch.mjs +14 -14
- package/es/schema-component/core/FormProvider.mjs +16 -16
- package/es/schema-component/core/RemoteSchemaComponent.mjs +14 -14
- package/es/schema-component/core/SchemaComponent.mjs +19 -19
- package/es/schema-component/core/SchemaComponentOptions.mjs +11 -11
- package/es/schema-component/core/SchemaComponentPlugin.mjs +4 -4
- package/es/schema-component/core/SchemaComponentProvider.mjs +21 -21
- package/es/schema-component/hooks/useAttach.mjs +3 -3
- package/es/schema-component/hooks/useCompile.mjs +9 -9
- package/es/schema-component/hooks/useComponent.mjs +5 -5
- package/es/schema-component/hooks/useDesignable.mjs +76 -88
- package/es/schema-component/hooks/useDesigner.mjs +9 -9
- package/es/schema-component/hooks/useFieldComponentOptions.mjs +10 -10
- package/es/schema-component/hooks/useFieldModeOptions.mjs +12 -12
- package/es/schema-component/hooks/useFieldProps.mjs +5 -5
- package/es/schema-component/hooks/useFieldTitle.mjs +12 -12
- package/es/schema-component/hooks/useSchemaComponentContext.mjs +3 -3
- package/es/schema-component/hooks/useTableSize.mjs +10 -10
- package/es/schema-component/types.mjs +0 -1
- package/es/schema-initializer/SchemaInitializerPlugin.mjs +124 -124
- package/es/schema-initializer/buttons/CustomFormItemInitializers.mjs +13 -13
- package/es/schema-initializer/buttons/FormItemInitializers.mjs +35 -35
- package/es/schema-initializer/buttons/RecordBlockInitializers.mjs +37 -37
- package/es/schema-initializer/buttons/SubTableActionInitializers.mjs +2 -2
- package/es/schema-initializer/buttons/TabPaneInitializers.mjs +23 -23
- package/es/schema-initializer/components/CreateRecordAction.mjs +75 -75
- package/es/schema-initializer/components/DeletedField.mjs +4 -4
- package/es/schema-initializer/components/assigned-field/AssignedField.mjs +43 -43
- package/es/schema-initializer/hooks/useGetAriaLabelOfSchemaInitializer.mjs +6 -6
- package/es/schema-initializer/index.mjs +2 -17
- package/es/schema-initializer/items/ActionInitializer.mjs +5 -5
- package/es/schema-initializer/items/BlockInitializer.mjs +10 -10
- package/es/schema-initializer/items/CreateFilterActionInitializer.mjs +3 -3
- package/es/schema-initializer/items/CreateResetActionInitializer.mjs +3 -3
- package/es/schema-initializer/items/CustomFilterFormItemInitializer.mjs +94 -94
- package/es/schema-initializer/items/CustomizeActionInitializer.mjs +5 -5
- package/es/schema-initializer/items/DataBlockInitializer.mjs +53 -53
- package/es/schema-initializer/items/DeleteEventActionInitializer.mjs +3 -3
- package/es/schema-initializer/items/FilterBlockInitializer.mjs +2 -2
- package/es/schema-initializer/items/G2PlotInitializer.mjs +5 -5
- package/es/schema-initializer/items/InitializerWithSwitch.mjs +9 -9
- package/es/schema-initializer/items/RecordAssociationBlockInitializer.mjs +20 -20
- package/es/schema-initializer/items/RecordAssociationDetailsBlockInitializer.mjs +20 -20
- package/es/schema-initializer/items/RecordAssociationFormBlockInitializer.mjs +24 -24
- package/es/schema-initializer/items/RecordAssociationGridCardBlockInitializer.mjs +20 -20
- package/es/schema-initializer/items/RecordAssociationListBlockInitializer.mjs +20 -20
- package/es/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.mjs +23 -23
- package/es/schema-initializer/items/SelectActionInitializer.mjs +3 -3
- package/es/schema-initializer/items/SubmitActionInitializer.mjs +3 -3
- package/es/schema-initializer/items/TableActionColumnInitializer.mjs +7 -7
- package/es/schema-initializer/style.mjs +2 -2
- package/es/schema-initializer/utils.mjs +187 -190
- package/es/schema-items/GeneralSchemaItems.mjs +28 -28
- package/es/schema-items/GeneralSettings.mjs +43 -43
- package/es/schema-items/OpenModeSchemaItems.mjs +27 -27
- package/es/schema-settings/DataTemplates/FormDataTemplates.mjs +40 -40
- package/es/schema-settings/DataTemplates/TreeLabel.mjs +5 -5
- package/es/schema-settings/DataTemplates/components/AsDefaultTemplate.mjs +13 -13
- package/es/schema-settings/DataTemplates/components/DataTemplateTitle.mjs +61 -61
- package/es/schema-settings/DataTemplates/components/DataTemplateTitle.style.mjs +2 -2
- package/es/schema-settings/DataTemplates/components/Designer.mjs +36 -36
- package/es/schema-settings/DataTemplates/hooks/useCollectionState.mjs +31 -31
- package/es/schema-settings/DataTemplates/utils.mjs +37 -37
- package/es/schema-settings/DateFormat/ExpiresRadio.mjs +28 -28
- package/es/schema-settings/EditCustomDefaultValue.mjs +23 -23
- package/es/schema-settings/EditFormulaTitleField.mjs +26 -26
- package/es/schema-settings/EnableChildCollections/DynamicComponent.mjs +16 -16
- package/es/schema-settings/EnableChildCollections/index.mjs +14 -14
- package/es/schema-settings/GeneralSchemaDesigner.mjs +82 -82
- package/es/schema-settings/LinkageRules/DynamicComponent.mjs +16 -16
- package/es/schema-settings/LinkageRules/LinkageRuleAction.mjs +51 -51
- package/es/schema-settings/LinkageRules/LinkageRuleActionGroup.mjs +26 -26
- package/es/schema-settings/LinkageRules/ValueDynamicComponent.mjs +35 -35
- package/es/schema-settings/LinkageRules/Variables.mjs +5 -5
- package/es/schema-settings/LinkageRules/action-hooks.mjs +17 -17
- package/es/schema-settings/LinkageRules/components/EnableLinkage.mjs +12 -12
- package/es/schema-settings/LinkageRules/components/LinkageHeader.mjs +59 -59
- package/es/schema-settings/LinkageRules/components/LinkageHeader.style.mjs +2 -2
- package/es/schema-settings/LinkageRules/context.mjs +4 -4
- package/es/schema-settings/LinkageRules/index.mjs +33 -33
- package/es/schema-settings/LinkageRules/type.mjs +2 -2
- package/es/schema-settings/LinkageRules/useValues.mjs +8 -8
- package/es/schema-settings/SchemaSettingCollection.mjs +11 -11
- package/es/schema-settings/SchemaSettingComponent.mjs +10 -10
- package/es/schema-settings/SchemaSettings.mjs +295 -295
- package/es/schema-settings/SchemaSettingsDataScope.mjs +27 -27
- package/es/schema-settings/SchemaSettingsDateFormat.mjs +26 -26
- package/es/schema-settings/SchemaSettingsDefaultValue.mjs +57 -57
- package/es/schema-settings/SchemaSettingsNumberFormat.mjs +17 -17
- package/es/schema-settings/SchemaSettingsPlugin.mjs +110 -110
- package/es/schema-settings/SchemaSettingsSortingRule.mjs +21 -21
- package/es/schema-settings/VariableInput/VariableInput.mjs +31 -31
- package/es/schema-settings/VariableInput/hooks/useBaseVariable.mjs +18 -18
- package/es/schema-settings/VariableInput/hooks/useBlockCollection.mjs +3 -3
- package/es/schema-settings/VariableInput/hooks/useContextAssociationFields.mjs +12 -12
- package/es/schema-settings/VariableInput/hooks/useDateVariable.mjs +8 -8
- package/es/schema-settings/VariableInput/hooks/useFilterVariable.mjs +15 -15
- package/es/schema-settings/VariableInput/hooks/useFormVariable.mjs +8 -8
- package/es/schema-settings/VariableInput/hooks/useIterationVariable.mjs +12 -12
- package/es/schema-settings/VariableInput/hooks/useParentRecordVariable.mjs +14 -14
- package/es/schema-settings/VariableInput/hooks/usePopupVariable.mjs +4 -4
- package/es/schema-settings/VariableInput/hooks/useRecordVariable.mjs +10 -10
- package/es/schema-settings/VariableInput/hooks/useRoleVariable.mjs +9 -9
- package/es/schema-settings/VariableInput/hooks/useUserVariable.mjs +11 -11
- package/es/schema-settings/VariableInput/hooks/useVariableOptions.mjs +23 -23
- package/es/schema-settings/filter-form/FormFilterScope.mjs +25 -25
- package/es/schema-settings/filter-form/context.mjs +5 -5
- package/es/schema-settings/hooks/useFilterFormCustomProps.mjs +2 -2
- package/es/schema-settings/hooks/useGetAriaLabelOfDesigner.mjs +6 -6
- package/es/schema-settings/hooks/useIsAllowToSetDefaultValue.mjs +20 -20
- package/es/schema-settings/hooks/useIsShowMultipleSwitch.mjs +7 -7
- package/es/schema-settings/hooks/useParseDataScopeFilter.mjs +13 -13
- package/es/schema-settings/isPatternDisabled.mjs +1 -1
- package/es/schema-settings/styles.mjs +2 -2
- package/es/schema-settings/utils/createModalSettingsItem.mjs +12 -12
- package/es/schema-settings/utils/createSelectSettingsItem.mjs +12 -12
- package/es/schema-settings/utils/createSwitchSettingsItem.mjs +12 -12
- package/es/schema-settings/utils/createTextSettingsItem.mjs +6 -6
- package/es/schema-settings/utils/util.mjs +7 -7
- package/es/schema-templates/BlockTemplate.mjs +18 -18
- package/es/schema-templates/BlockTemplateDetails.mjs +29 -29
- package/es/schema-templates/BlockTemplatePage.mjs +13 -13
- package/es/schema-templates/SchemaTemplateManagerProvider.mjs +20 -20
- package/es/schema-templates/schemas/CollectionTitle.mjs +9 -9
- package/es/schema-templates/schemas/uiSchemaTemplates.mjs +17 -17
- package/es/schema-templates/useSchemaTemplateManager.mjs +18 -18
- package/es/style/css-variable/CSSVariableProvider.mjs +14 -14
- package/es/style/css-variable/index.mjs +2 -3
- package/es/style/index.mjs +4 -11
- package/es/style/theme/AntdAppProvider.mjs +15 -15
- package/es/style/theme/defaultTheme.mjs +2 -2
- package/es/style/theme/index.mjs +26 -28
- package/es/style/useToken.mjs +2 -2
- package/es/testUtils/mockAPIClient.mjs +4 -4
- package/es/user/ChangePassword.mjs +20 -20
- package/es/user/CurrentUser.mjs +47 -47
- package/es/user/CurrentUserProvider.mjs +19 -19
- package/es/user/CurrentUserSettingsMenuProvider.mjs +13 -13
- package/es/user/EditProfile.mjs +24 -24
- package/es/user/LanguageSettings.mjs +15 -15
- package/es/user/SwitchRole.mjs +11 -11
- package/es/user/VerificationCode.mjs +18 -18
- package/es/variables/VariablesProvider.mjs +66 -66
- package/es/variables/hooks/useBuiltinVariables.mjs +12 -12
- package/es/variables/hooks/useContextVariable.mjs +11 -11
- package/es/variables/hooks/useLocalVariables.mjs +21 -21
- package/es/variables/hooks/useVariables.mjs +5 -5
- package/es/variables/index.mjs +6 -12
- package/es/variables/utils/getPath.mjs +3 -3
- package/es/variables/utils/getVariableName.mjs +4 -4
- package/es/variables/utils/transformVariableValue.mjs +3 -3
- package/es/variables/utils/uniq.mjs +3 -3
- package/lib/api-client/APIClient.js +23 -27
- package/lib/api-client/APIClientProvider.js +8 -8
- package/lib/api-client/context.js +8 -8
- package/lib/api-client/hooks/assign.js +15 -17
- package/lib/api-client/hooks/index.js +28 -33
- package/lib/api-client/hooks/useAPIClient.js +8 -8
- package/lib/api-client/hooks/useRequest.js +9 -9
- package/lib/api-client/hooks/useResource.js +8 -8
- package/lib/api-client/index.js +36 -41
- package/lib/application/AppSchemaComponentProvider.js +9 -9
- package/lib/application/Application.js +20 -39
- package/lib/application/AttachmentPreviewManager.js +9 -11
- package/lib/application/CustomRouterContextProvider.js +60 -28
- package/lib/application/NoticesManager.js +33 -23
- package/lib/application/Plugin.js +10 -12
- package/lib/application/PluginContextMenu.js +9 -11
- package/lib/application/PluginManager.js +9 -9
- package/lib/application/RouterManager.js +12 -14
- package/lib/application/SystemSettingsManager.js +19 -13
- package/lib/application/TrackingManager.js +9 -11
- package/lib/application/UserSettingsManager.js +17 -11
- package/lib/application/WebSocketClient.js +12 -12
- package/lib/application/components/AppComponent.js +9 -9
- package/lib/application/components/BlankComponent.js +8 -8
- package/lib/application/components/MainComponent.js +10 -14
- package/lib/application/components/RouterContextCleaner.js +10 -14
- package/lib/application/components/SharePage.js +18 -12
- package/lib/application/components/ShareSchemaComponent.js +8 -8
- package/lib/application/components/defaultComponents.js +8 -8
- package/lib/application/components/index.js +46 -51
- package/lib/application/context.js +8 -8
- package/lib/application/hoc/index.js +16 -21
- package/lib/application/hoc/withDynamicSchemaProps.js +14 -16
- package/lib/application/hooks/index.js +34 -39
- package/lib/application/hooks/useApp.js +8 -8
- package/lib/application/hooks/useGlobalVariable.js +8 -8
- package/lib/application/hooks/usePlugin.js +8 -8
- package/lib/application/hooks/useRouter.js +8 -8
- package/lib/application/index.js +146 -150
- package/lib/application/schema-initializer/SchemaInitializer.js +9 -11
- package/lib/application/schema-initializer/SchemaInitializerManager.js +9 -11
- package/lib/application/schema-initializer/components/SchemaInitializerActionModal.js +12 -10
- package/lib/application/schema-initializer/components/SchemaInitializerButton.js +10 -14
- package/lib/application/schema-initializer/components/SchemaInitializerChildren.js +12 -10
- package/lib/application/schema-initializer/components/SchemaInitializerDivider.js +8 -8
- package/lib/application/schema-initializer/components/SchemaInitializerItem.js +14 -16
- package/lib/application/schema-initializer/components/SchemaInitializerItemGroup.js +12 -10
- package/lib/application/schema-initializer/components/SchemaInitializerItems.js +8 -8
- package/lib/application/schema-initializer/components/SchemaInitializerSelect.js +12 -10
- package/lib/application/schema-initializer/components/SchemaInitializerSubMenu.js +18 -16
- package/lib/application/schema-initializer/components/SchemaInitializerSwitch.js +12 -10
- package/lib/application/schema-initializer/components/index.js +71 -76
- package/lib/application/schema-initializer/components/style.js +8 -8
- package/lib/application/schema-initializer/context/index.js +18 -16
- package/lib/application/schema-initializer/hoc/index.js +10 -14
- package/lib/application/schema-initializer/hooks/index.js +173 -177
- package/lib/application/schema-initializer/hooks/useAriaAttributeOfMenuItem.js +8 -8
- package/lib/application/schema-initializer/index.js +54 -59
- package/lib/application/schema-initializer/types.js +3 -4
- package/lib/application/schema-settings/SchemaSettings.js +9 -11
- package/lib/application/schema-settings/SchemaSettingsDefaults.js +8 -8
- package/lib/application/schema-settings/SchemaSettingsManager.js +12 -17
- package/lib/application/schema-settings/components/SchemaSettingsChildren.js +12 -10
- package/lib/application/schema-settings/components/SchemaSettingsIcon.js +10 -14
- package/lib/application/schema-settings/components/SchemaSettingsWrapper.js +10 -14
- package/lib/application/schema-settings/components/index.js +22 -27
- package/lib/application/schema-settings/context/index.js +10 -8
- package/lib/application/schema-settings/hooks/index.js +10 -14
- package/lib/application/schema-settings/index.js +48 -53
- package/lib/application/schema-settings/types.js +3 -4
- package/lib/application/schema-toolbar/context/index.js +14 -10
- package/lib/application/schema-toolbar/hooks/index.js +8 -8
- package/lib/application/schema-toolbar/index.js +24 -29
- package/lib/application/utils/globalDeps.js +10 -14
- package/lib/application/utils/index.js +10 -8
- package/lib/application/utils/remotePlugins.js +24 -26
- package/lib/async-data-provider/index.js +14 -10
- package/lib/block-provider/BlockProvider.js +55 -29
- package/lib/block-provider/DetailsBlockProvider.js +23 -21
- package/lib/block-provider/FilterFormBlockProvider.js +8 -8
- package/lib/block-provider/FormBlockProvider.js +36 -28
- package/lib/block-provider/FormFieldProvider.js +25 -17
- package/lib/block-provider/MobileProvider.js +10 -8
- package/lib/block-provider/PageLayout.js +8 -8
- package/lib/block-provider/TableBlockProvider.js +27 -23
- package/lib/block-provider/TableFieldProvider.js +35 -25
- package/lib/block-provider/TableSelectorProvider.js +50 -46
- package/lib/block-provider/TreeBlockProvider.js +23 -17
- package/lib/block-provider/hooks/index.js +1369 -1387
- package/lib/block-provider/hooks/useDataBlockSourceId.js +9 -9
- package/lib/block-provider/hooks/useFormActiveFields.js +12 -10
- package/lib/block-provider/hooks/useIsMobile.js +8 -8
- package/lib/block-provider/hooks/useParsedFilter.js +10 -14
- package/lib/block-provider/index.js +77 -82
- package/lib/built-in/acl/ACLPlugin.js +8 -8
- package/lib/built-in/acl/ACLProvider.js +63 -35
- package/lib/built-in/acl/ACLShortcut.js +8 -8
- package/lib/built-in/acl/Configuration/ConfigureCenter.js +12 -10
- package/lib/built-in/acl/Configuration/MenuConfigure.js +9 -9
- package/lib/built-in/acl/Configuration/MenuItemsProvider.js +13 -9
- package/lib/built-in/acl/Configuration/PermisionProvider.js +15 -11
- package/lib/built-in/acl/Configuration/RoleConfigure.js +12 -16
- package/lib/built-in/acl/Configuration/RoleTable.js +10 -8
- package/lib/built-in/acl/Configuration/RolesResourcesActions.js +18 -16
- package/lib/built-in/acl/Configuration/ScopeSelect.js +11 -9
- package/lib/built-in/acl/Configuration/StrategyActions.js +9 -9
- package/lib/built-in/acl/Configuration/index.js +79 -83
- package/lib/built-in/acl/Configuration/schemas/roles.js +10 -14
- package/lib/built-in/acl/Configuration/schemas/scopes.js +10 -8
- package/lib/built-in/acl/Configuration/schemas/useRoleResourceValues.js +11 -14
- package/lib/built-in/acl/Configuration/schemas/useSaveRoleResourceAction.js +8 -8
- package/lib/built-in/acl/index.js +34 -39
- package/lib/built-in/acl/style.js +8 -8
- package/lib/built-in/admin-layout/AdminContent.js +8 -12
- package/lib/built-in/admin-layout/AdminLayout.js +8 -8
- package/lib/built-in/admin-layout/AdminLayoutPlugin.js +8 -8
- package/lib/built-in/admin-layout/AdminProvider.js +10 -14
- package/lib/built-in/admin-layout/AdminTabs.js +8 -8
- package/lib/built-in/admin-layout/InternalAdminLayout.js +10 -10
- package/lib/built-in/admin-layout/MenuEditor.js +18 -13
- package/lib/built-in/admin-layout/NoticeArea.js +8 -8
- package/lib/built-in/admin-layout/components/AddNewButton.js +9 -9
- package/lib/built-in/admin-layout/components/WelcomeCard.js +8 -8
- package/lib/built-in/admin-layout/filterByACL.js +9 -11
- package/lib/built-in/admin-layout/index.js +71 -76
- package/lib/built-in/admin-layout/style.js +8 -8
- package/lib/built-in/attachment-preview/index.js +8 -8
- package/lib/built-in/attachment-preview/interface.js +3 -4
- package/lib/built-in/attachment-preview/previewers/file-default.js +8 -8
- package/lib/built-in/attachment-preview/previewers/file-pdf.js +10 -10
- package/lib/built-in/attachment-preview/previewers/file-pdf.style.js +8 -8
- package/lib/built-in/attachment-preview/previewers/file-sheet.js +18 -18
- package/lib/built-in/attachment-preview/previewers/file-sheet.style.js +8 -8
- package/lib/built-in/attachment-preview/previewers/image-jpeg.js +8 -8
- package/lib/built-in/attachment-preview/previewers/image-png.js +8 -8
- package/lib/built-in/attachment-preview/previewers/image-svg.js +8 -8
- package/lib/built-in/attachment-preview/previewers/index.js +46 -51
- package/lib/built-in/block-schema-component/index.js +8 -8
- package/lib/built-in/built-in-collections/index.js +10 -8
- package/lib/built-in/context-menu/ContextMenu.provider.js +10 -8
- package/lib/built-in/context-menu/ContextMenuItemsProps.js +18 -12
- package/lib/built-in/context-menu/index.js +14 -10
- package/lib/built-in/context-menu/useContextMenu.js +12 -10
- package/lib/built-in/document-title/index.js +21 -11
- package/lib/built-in/dynamic-page/DynamicPage.js +8 -8
- package/lib/built-in/dynamic-page/index.js +19 -17
- package/lib/built-in/dynamic-page/style.js +10 -8
- package/lib/built-in/dynamic-page/utils.js +10 -12
- package/lib/built-in/index.js +519 -519
- package/lib/built-in/locale/LocalePlugin.js +88 -88
- package/lib/built-in/locale/loadConstrueLocale.js +10 -14
- package/lib/built-in/page-style/CustomAdminHeader.js +8 -8
- package/lib/built-in/page-style/PageStyle.provider.js +13 -11
- package/lib/built-in/page-style/TabContent.js +12 -8
- package/lib/built-in/page-style/TabHeader.js +12 -14
- package/lib/built-in/page-style/TabHeader.style.js +8 -8
- package/lib/built-in/page-style/index.js +8 -8
- package/lib/built-in/page-style/usePageStyle.js +8 -8
- package/lib/built-in/page-style/useTabSettings.js +16 -12
- package/lib/built-in/pinned-list/PinnedPluginListProvider.js +11 -9
- package/lib/built-in/pinned-list/PluginPinnedList.js +8 -8
- package/lib/built-in/pinned-list/context.js +8 -8
- package/lib/built-in/pinned-list/index.js +23 -28
- package/lib/built-in/pm/PluginCard.js +16 -24
- package/lib/built-in/pm/PluginDetail.js +25 -29
- package/lib/built-in/pm/PluginDocument.js +8 -8
- package/lib/built-in/pm/PluginForm/form/PluginNpmForm.js +10 -8
- package/lib/built-in/pm/PluginForm/form/PluginUploadForm.js +9 -9
- package/lib/built-in/pm/PluginForm/form/PluginUrlForm.js +8 -8
- package/lib/built-in/pm/PluginForm/modal/PluginAddModal.js +8 -8
- package/lib/built-in/pm/PluginForm/modal/PluginUpgradeModal.js +8 -8
- package/lib/built-in/pm/PluginManager.js +18 -22
- package/lib/built-in/pm/index.js +24 -14
- package/lib/built-in/pm/style.js +8 -8
- package/lib/built-in/pm/types.js +3 -4
- package/lib/built-in/quick-access/Action.js +10 -10
- package/lib/built-in/quick-access/Block.js +14 -12
- package/lib/built-in/quick-access/CustomRequestActionSchemaInitializerItem.js +12 -10
- package/lib/built-in/quick-access/LinkActionSchemaInitializerItem.js +10 -8
- package/lib/built-in/quick-access/ModalActionSchemaInitializerItem.js +11 -11
- package/lib/built-in/quick-access/PopupActionSchemaInitializerItem.js +12 -10
- package/lib/built-in/quick-access/SchemaSettingsBlockTitleItem.js +9 -9
- package/lib/built-in/quick-access/blockInitializerItem.js +8 -8
- package/lib/built-in/quick-access/blockSchema.js +9 -11
- package/lib/built-in/quick-access/blockSettings.js +11 -9
- package/lib/built-in/quick-access/configureActions.js +8 -8
- package/lib/built-in/quick-access/index.js +8 -8
- package/lib/built-in/scroll-assistant/ScrollAssistant.provider.js +8 -8
- package/lib/built-in/scroll-assistant/ScrollAssistantStatus.provider.js +12 -10
- package/lib/built-in/scroll-assistant/index.js +10 -8
- package/lib/built-in/scroll-assistant/useJoystick.js +11 -17
- package/lib/built-in/setting-layout/AdminSettings.js +16 -14
- package/lib/built-in/setting-layout/SettingLayout.js +11 -11
- package/lib/built-in/setting-layout/SettingsCenterDropdown.js +9 -9
- package/lib/built-in/setting-layout/style.js +8 -8
- package/lib/built-in/system-settings/SystemSettingsProvider.js +12 -8
- package/lib/built-in/system-settings/SystemSettingsShortcut.js +12 -16
- package/lib/built-in/system-settings/index.js +40 -44
- package/lib/built-in/system-version/SystemVersion.provider.js +8 -8
- package/lib/built-in/system-version/index.js +8 -8
- package/lib/built-in/user-settings/UserSettingsLayout.js +16 -16
- package/lib/built-in/user-settings/index.js +8 -8
- package/lib/built-in/user-settings/style.js +8 -8
- package/lib/collection-manager/CollectionHistoryProvider.js +15 -11
- package/lib/collection-manager/CollectionManagerProvider.js +15 -11
- package/lib/collection-manager/CollectionManagerSchemaComponentProvider.js +8 -8
- package/lib/collection-manager/CollectionProvider_deprecated.js +8 -8
- package/lib/collection-manager/Configuration/AddCollectionAction.js +13 -11
- package/lib/collection-manager/Configuration/AddFieldAction.js +24 -24
- package/lib/collection-manager/Configuration/AddSubFieldAction.js +8 -8
- package/lib/collection-manager/Configuration/DeleteCollectionAction.js +23 -13
- package/lib/collection-manager/Configuration/EditCollectionAction.js +19 -17
- package/lib/collection-manager/Configuration/EditFieldAction.js +18 -20
- package/lib/collection-manager/Configuration/EditSubFieldAction.js +11 -15
- package/lib/collection-manager/Configuration/ImportCollectionMetaAction.js +11 -15
- package/lib/collection-manager/Configuration/ImportXlsx/ImportXlsxMetaAction.js +12 -16
- package/lib/collection-manager/Configuration/ImportXlsx/XlsxCollectionSchema.js +10 -10
- package/lib/collection-manager/Configuration/ImportXlsx/XlsxEditFieldAction.js +8 -8
- package/lib/collection-manager/Configuration/ImportXlsx/setUpdateXlsxCollectionField.js +12 -18
- package/lib/collection-manager/Configuration/ImportXlsx/xlsxFieldsConfigure.js +15 -15
- package/lib/collection-manager/Configuration/ImportXlsx/xlsxFormValueContextProvider.js +12 -14
- package/lib/collection-manager/Configuration/ImportXlsx/xlsxImportAction.js +11 -15
- package/lib/collection-manager/Configuration/ImportXlsx/xlsxPreviewTable.js +8 -8
- package/lib/collection-manager/Configuration/OverridingCollectionField.js +17 -19
- package/lib/collection-manager/Configuration/SyncFieldsAction.js +13 -11
- package/lib/collection-manager/Configuration/SyncSQLFieldsAction.js +8 -8
- package/lib/collection-manager/Configuration/ViewInheritedField.js +14 -16
- package/lib/collection-manager/Configuration/components/CollectionCategory.js +8 -8
- package/lib/collection-manager/Configuration/components/CollectionFieldInterfaceTag.js +8 -8
- package/lib/collection-manager/Configuration/components/CollectionTemplateTag.js +8 -8
- package/lib/collection-manager/Configuration/components/FieldSummary.js +10 -14
- package/lib/collection-manager/Configuration/components/Summary.js +10 -10
- package/lib/collection-manager/Configuration/components/TemplateSummary.js +10 -14
- package/lib/collection-manager/Configuration/components/index.js +47 -33
- package/lib/collection-manager/Configuration/index.js +122 -127
- package/lib/collection-manager/Configuration/interfaces.js +12 -10
- package/lib/collection-manager/ResourceActionProvider.js +25 -17
- package/lib/collection-manager/action-hooks.js +108 -59
- package/lib/collection-manager/collectionPlugin.js +9 -9
- package/lib/collection-manager/context.js +8 -8
- package/lib/collection-manager/hooks/index.js +34 -39
- package/lib/collection-manager/hooks/useCollectionDataSource.js +8 -8
- package/lib/collection-manager/hooks/useCollectionField_deprecated.js +8 -8
- package/lib/collection-manager/hooks/useCollectionManager_deprecated.js +30 -34
- package/lib/collection-manager/hooks/useCollection_deprecated.js +13 -13
- package/lib/collection-manager/hooks/useDialect.js +11 -11
- package/lib/collection-manager/index.js +327 -331
- package/lib/collection-manager/interfaces/checkbox.js +8 -8
- package/lib/collection-manager/interfaces/checkboxGroup.js +8 -8
- package/lib/collection-manager/interfaces/chinaRegion.js +8 -8
- package/lib/collection-manager/interfaces/collection.js +8 -8
- package/lib/collection-manager/interfaces/color.js +8 -8
- package/lib/collection-manager/interfaces/components/index.js +24 -14
- package/lib/collection-manager/interfaces/createdAt.js +8 -8
- package/lib/collection-manager/interfaces/createdBy.js +8 -8
- package/lib/collection-manager/interfaces/datetime.js +8 -8
- package/lib/collection-manager/interfaces/email.js +8 -8
- package/lib/collection-manager/interfaces/icon.js +8 -8
- package/lib/collection-manager/interfaces/id.js +8 -8
- package/lib/collection-manager/interfaces/index.js +253 -258
- package/lib/collection-manager/interfaces/input.js +8 -8
- package/lib/collection-manager/interfaces/integer.js +8 -8
- package/lib/collection-manager/interfaces/json.js +8 -8
- package/lib/collection-manager/interfaces/linkTo.js +8 -8
- package/lib/collection-manager/interfaces/m2m.js +9 -9
- package/lib/collection-manager/interfaces/m2o.js +9 -9
- package/lib/collection-manager/interfaces/markdown.js +8 -8
- package/lib/collection-manager/interfaces/multipleSelect.js +8 -8
- package/lib/collection-manager/interfaces/nanoid.js +8 -8
- package/lib/collection-manager/interfaces/number.js +8 -8
- package/lib/collection-manager/interfaces/o2m.js +13 -11
- package/lib/collection-manager/interfaces/o2o.js +14 -10
- package/lib/collection-manager/interfaces/password.js +8 -8
- package/lib/collection-manager/interfaces/percent.js +8 -8
- package/lib/collection-manager/interfaces/phone.js +8 -8
- package/lib/collection-manager/interfaces/properties/index.js +41 -17
- package/lib/collection-manager/interfaces/properties/operators.js +45 -47
- package/lib/collection-manager/interfaces/radioGroup.js +8 -8
- package/lib/collection-manager/interfaces/richText.js +8 -8
- package/lib/collection-manager/interfaces/select.js +8 -8
- package/lib/collection-manager/interfaces/sort.js +8 -8
- package/lib/collection-manager/interfaces/subTable.js +8 -8
- package/lib/collection-manager/interfaces/tableoid.js +8 -8
- package/lib/collection-manager/interfaces/textarea.js +8 -8
- package/lib/collection-manager/interfaces/time.js +8 -8
- package/lib/collection-manager/interfaces/types.js +3 -4
- package/lib/collection-manager/interfaces/unixTimestamp.js +8 -8
- package/lib/collection-manager/interfaces/updatedAt.js +8 -8
- package/lib/collection-manager/interfaces/updatedBy.js +8 -8
- package/lib/collection-manager/interfaces/url.js +8 -8
- package/lib/collection-manager/interfaces/uuid.js +8 -8
- package/lib/collection-manager/mixins/InheritanceCollectionMixin.js +13 -13
- package/lib/collection-manager/sub-table.js +21 -15
- package/lib/collection-manager/templates/components/PresetFields.js +13 -13
- package/lib/collection-manager/templates/components/PreviewFields.js +24 -28
- package/lib/collection-manager/templates/components/PreviewTable.js +13 -13
- package/lib/collection-manager/templates/components/sql-collection/FieldsConfigure.js +50 -56
- package/lib/collection-manager/templates/components/sql-collection/PreviewTable.js +9 -9
- package/lib/collection-manager/templates/components/sql-collection/SQLInput.js +8 -8
- package/lib/collection-manager/templates/components/sql-collection/SQLRequestProvider.js +10 -10
- package/lib/collection-manager/templates/components/sql-collection/index.js +34 -39
- package/lib/collection-manager/templates/expression.js +9 -9
- package/lib/collection-manager/templates/general.js +9 -9
- package/lib/collection-manager/templates/import.js +8 -8
- package/lib/collection-manager/templates/index.js +47 -52
- package/lib/collection-manager/templates/properties/index.js +11 -9
- package/lib/collection-manager/templates/sql.js +8 -8
- package/lib/collection-manager/templates/tree.js +9 -9
- package/lib/collection-manager/templates/types.js +3 -4
- package/lib/collection-manager/templates/view.js +9 -9
- package/lib/collection-manager/templates/xlsx.js +8 -8
- package/lib/collection-manager/types.js +3 -4
- package/lib/collection-manager/utils.js +13 -15
- package/lib/common/SelectWithTitle.js +8 -8
- package/lib/common/appInfo/CurrentAppInfoProvider.js +13 -9
- package/lib/common/appInfo/index.js +16 -21
- package/lib/common/index.js +28 -33
- package/lib/common/useFieldComponentName.js +10 -10
- package/lib/common/useNiceDropdownHeight.js +8 -8
- package/lib/data-source/collection/AssociationProvider.js +14 -10
- package/lib/data-source/collection/Collection.js +8 -8
- package/lib/data-source/collection/CollectionManager.js +10 -13
- package/lib/data-source/collection/CollectionManagerProvider.js +16 -10
- package/lib/data-source/collection/CollectionProvider.js +16 -10
- package/lib/data-source/collection/ExtendCollectionsProvider.js +14 -10
- package/lib/data-source/collection/index.js +46 -51
- package/lib/data-source/collection/utils.js +12 -14
- package/lib/data-source/collection-field/CollectionField.js +11 -9
- package/lib/data-source/collection-field/CollectionFieldProvider.js +15 -11
- package/lib/data-source/collection-field/index.js +22 -27
- package/lib/data-source/collection-field-interface/CollectionFieldInterface.js +11 -13
- package/lib/data-source/collection-field-interface/CollectionFieldInterfaceManager.js +11 -13
- package/lib/data-source/collection-field-interface/index.js +22 -27
- package/lib/data-source/collection-fields-to-initializer-items/CollectionFieldsToFormInitializerItems.js +11 -9
- package/lib/data-source/collection-fields-to-initializer-items/CollectionFieldsToInitializerItems.js +8 -8
- package/lib/data-source/collection-fields-to-initializer-items/index.js +16 -21
- package/lib/data-source/collection-fields-to-initializer-items/items/AssociationCollectionFields.js +10 -10
- package/lib/data-source/collection-fields-to-initializer-items/items/ParentCollectionFields.js +8 -8
- package/lib/data-source/collection-fields-to-initializer-items/items/SelfFields.js +8 -8
- package/lib/data-source/collection-fields-to-initializer-items/items/index.js +12 -8
- package/lib/data-source/collection-fields-to-initializer-items/utils/getInitializerItemsByFields.js +14 -16
- package/lib/data-source/collection-fields-to-initializer-items/utils/index.js +28 -33
- package/lib/data-source/collection-fields-to-initializer-items/utils/type.js +3 -4
- package/lib/data-source/collection-fields-to-initializer-items/utils/useCollectionFieldContext.js +8 -8
- package/lib/data-source/collection-record/CollectionRecord.js +9 -11
- package/lib/data-source/collection-record/CollectionRecordProvider.js +31 -22
- package/lib/data-source/collection-record/index.js +22 -27
- package/lib/data-source/collection-record/isNewRecord.js +12 -10
- package/lib/data-source/collection-template/CollectionTemplate.js +9 -11
- package/lib/data-source/collection-template/CollectionTemplateManager.js +11 -13
- package/lib/data-source/collection-template/index.js +22 -27
- package/lib/data-source/commonsSettingsItem/fieldComponent.js +13 -17
- package/lib/data-source/commonsSettingsItem/index.js +16 -21
- package/lib/data-source/components/CollectionDeletedPlaceholder.js +8 -8
- package/lib/data-source/components/DataSourceApplicationProvider.js +8 -8
- package/lib/data-source/components/index.js +22 -27
- package/lib/data-source/data-block/DataBlockProvider.js +19 -11
- package/lib/data-source/data-block/DataBlockRequestProvider.js +16 -12
- package/lib/data-source/data-block/DataBlockResourceProvider.js +15 -11
- package/lib/data-source/data-block/context/ConfigSetting.provider.js +12 -8
- package/lib/data-source/data-block/index.js +34 -39
- package/lib/data-source/data-source/DataSource.js +10 -8
- package/lib/data-source/data-source/DataSourceManager.js +14 -14
- package/lib/data-source/data-source/DataSourceManagerProvider.js +14 -10
- package/lib/data-source/data-source/DataSourceProvider.js +19 -17
- package/lib/data-source/data-source/index.js +34 -39
- package/lib/data-source/index.js +78 -83
- package/lib/data-source/utils.js +13 -11
- package/lib/filter-provider/FilterProvider.js +18 -18
- package/lib/filter-provider/index.js +23 -28
- package/lib/filter-provider/utils.js +45 -29
- package/lib/flag-provider/FlagProvider.js +14 -16
- package/lib/flag-provider/hooks/useFlag.js +8 -8
- package/lib/flag-provider/index.js +22 -27
- package/lib/hooks/index.js +22 -27
- package/lib/hooks/useAdminSchemaUid.js +9 -11
- package/lib/hooks/useMenuItem.js +20 -16
- package/lib/hooks/useViewport.js +8 -8
- package/lib/i18n/i18n.js +12 -14
- package/lib/i18n/index.js +17 -22
- package/lib/icon/Icon.js +30 -24
- package/lib/icon/index.js +16 -21
- package/lib/icon/preloaded.js +27 -13
- package/lib/index.js +500 -504
- package/lib/modules/actions/ActionSchemaToolbar.js +8 -8
- package/lib/modules/actions/add-child/CreateChildInitializer.js +8 -8
- package/lib/modules/actions/add-child/addChildActionSettings.js +8 -8
- package/lib/modules/actions/add-new/CreateActionInitializer.js +8 -8
- package/lib/modules/actions/add-new/addNewActionSettings.js +8 -8
- package/lib/modules/actions/add-new/createFormBlockInitializers.js +8 -8
- package/lib/modules/actions/add-record/CustomizeAddRecordActionInitializer.js +8 -8
- package/lib/modules/actions/add-record/customizeAddRecordActionSettings.js +8 -8
- package/lib/modules/actions/add-record/customizeCreateFormBlockInitializers.js +8 -8
- package/lib/modules/actions/associate/AssociateActionInitializer.js +8 -8
- package/lib/modules/actions/associate/AssociateActionProvider.js +11 -11
- package/lib/modules/actions/associate/AssociateActionSettings.js +8 -8
- package/lib/modules/actions/bulk-destroy/BulkDestroyActionInitializer.js +8 -8
- package/lib/modules/actions/bulk-destroy/bulkDeleteActionSettings.js +8 -8
- package/lib/modules/actions/delete/DestroyActionInitializer.js +8 -8
- package/lib/modules/actions/delete/deleteActionSettings.js +9 -9
- package/lib/modules/actions/disassociate/DisassociateActionInitializer.js +8 -8
- package/lib/modules/actions/disassociate/disassociateActionSettings.js +8 -8
- package/lib/modules/actions/expand-collapse/ExpandableActionInitializer.js +8 -8
- package/lib/modules/actions/expand-collapse/expendableActionSettings.js +9 -9
- package/lib/modules/actions/filter/FilterActionInitializer.js +8 -8
- package/lib/modules/actions/filter/filterActionSettings.js +9 -9
- package/lib/modules/actions/link/customizeLinkActionSettings.js +14 -16
- package/lib/modules/actions/link/hooks.js +8 -8
- package/lib/modules/actions/refresh/RefreshActionInitializer.js +8 -8
- package/lib/modules/actions/refresh/refreshActionSettings.js +8 -8
- package/lib/modules/actions/save-record/SaveRecordActionInitializer.js +8 -8
- package/lib/modules/actions/save-record/customizeSaveRecordActionSettings.js +9 -9
- package/lib/modules/actions/submit/CreateSubmitActionInitializer.js +8 -8
- package/lib/modules/actions/submit/UpdateSubmitActionInitializer.js +8 -8
- package/lib/modules/actions/submit/createSubmitActionSettings.js +14 -12
- package/lib/modules/actions/submit/updateSubmitActionSettings.js +15 -13
- package/lib/modules/actions/update-record/UpdateRecordActionInitializer.js +8 -8
- package/lib/modules/actions/update-record/customizeUpdateRecordActionSettings.js +9 -9
- package/lib/modules/actions/view-edit-popup/PopupActionInitializer.js +8 -8
- package/lib/modules/actions/view-edit-popup/RecordFormBlockInitializers.js +8 -8
- package/lib/modules/actions/view-edit-popup/UpdateActionInitializer.js +8 -8
- package/lib/modules/actions/view-edit-popup/ViewActionInitializer.js +8 -8
- package/lib/modules/actions/view-edit-popup/customizePopupActionSettings.js +8 -8
- package/lib/modules/actions/view-edit-popup/editActionSettings.js +8 -8
- package/lib/modules/actions/view-edit-popup/viewActionSettings.js +8 -8
- package/lib/modules/blocks/BlockSchemaToolbar.js +9 -9
- package/lib/modules/blocks/data-blocks/details-multi/DetailsActionInitializers.js +8 -8
- package/lib/modules/blocks/data-blocks/details-multi/DetailsBlockInitializer.js +12 -10
- package/lib/modules/blocks/data-blocks/details-multi/createDetailsWithPaginationUISchema.js +8 -8
- package/lib/modules/blocks/data-blocks/details-multi/detailsWithPaginationSettings.js +17 -15
- package/lib/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationDecoratorProps.js +8 -8
- package/lib/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationProps.js +8 -8
- package/lib/modules/blocks/data-blocks/details-multi/setDataLoadingModeSettingsItem.js +15 -15
- package/lib/modules/blocks/data-blocks/details-single/ReadPrettyFormActionInitializers.js +8 -8
- package/lib/modules/blocks/data-blocks/details-single/ReadPrettyFormItemInitializers.js +8 -8
- package/lib/modules/blocks/data-blocks/details-single/RecordReadPrettyFormBlockInitializer.js +12 -10
- package/lib/modules/blocks/data-blocks/details-single/createDetailsUISchema.js +8 -8
- package/lib/modules/blocks/data-blocks/details-single/detailsBlockSettings.js +11 -9
- package/lib/modules/blocks/data-blocks/details-single/hooks/useDetailsDecoratorProps.js +10 -8
- package/lib/modules/blocks/data-blocks/details-single/hooks/useDetailsProps.js +8 -8
- package/lib/modules/blocks/data-blocks/form/CreateFormBlockInitializer.js +8 -8
- package/lib/modules/blocks/data-blocks/form/FilterItemCustomSettings.js +21 -25
- package/lib/modules/blocks/data-blocks/form/FormBlockInitializer.js +10 -8
- package/lib/modules/blocks/data-blocks/form/FormItemSchemaToolbar.js +8 -8
- package/lib/modules/blocks/data-blocks/form/RecordFormBlockInitializer.js +10 -8
- package/lib/modules/blocks/data-blocks/form/createCreateFormBlockUISchema.js +8 -8
- package/lib/modules/blocks/data-blocks/form/createEditFormBlockUISchema.js +8 -8
- package/lib/modules/blocks/data-blocks/form/createFormActionInitializers.js +8 -8
- package/lib/modules/blocks/data-blocks/form/createFormBlockSettings.js +14 -12
- package/lib/modules/blocks/data-blocks/form/editFormBlockSettings.js +9 -9
- package/lib/modules/blocks/data-blocks/form/fieldSettingsFormItem.js +19 -23
- package/lib/modules/blocks/data-blocks/form/formActionInitializers.js +8 -8
- package/lib/modules/blocks/data-blocks/form/formItemInitializers.js +8 -8
- package/lib/modules/blocks/data-blocks/form/hooks/useCreateFormBlockDecoratorProps.js +8 -8
- package/lib/modules/blocks/data-blocks/form/hooks/useCreateFormBlockProps.js +8 -8
- package/lib/modules/blocks/data-blocks/form/hooks/useEditFormBlockDecoratorProps.js +8 -8
- package/lib/modules/blocks/data-blocks/form/hooks/useEditFormBlockProps.js +8 -8
- package/lib/modules/blocks/data-blocks/form/index.js +94 -99
- package/lib/modules/blocks/data-blocks/form/updateFormActionInitializers.js +8 -8
- package/lib/modules/blocks/data-blocks/grid-card/GridCardActionInitializers.js +8 -8
- package/lib/modules/blocks/data-blocks/grid-card/GridCardBlockInitializer.js +10 -8
- package/lib/modules/blocks/data-blocks/grid-card/createGridCardBlockUISchema.js +9 -11
- package/lib/modules/blocks/data-blocks/grid-card/gridCardBlockSettings.js +22 -26
- package/lib/modules/blocks/data-blocks/grid-card/gridCardItemActionInitializers.js +8 -8
- package/lib/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockDecoratorProps.js +8 -8
- package/lib/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockParams.js +8 -8
- package/lib/modules/blocks/data-blocks/grid-card/utils.js +9 -11
- package/lib/modules/blocks/data-blocks/list/ListActionInitializers.js +8 -8
- package/lib/modules/blocks/data-blocks/list/ListBlockInitializer.js +12 -10
- package/lib/modules/blocks/data-blocks/list/createListBlockUISchema.js +9 -11
- package/lib/modules/blocks/data-blocks/list/hooks/useListBlockDecoratorProps.js +8 -8
- package/lib/modules/blocks/data-blocks/list/listBlockSettings.js +14 -18
- package/lib/modules/blocks/data-blocks/list/listItemActionInitializers.js +8 -8
- package/lib/modules/blocks/data-blocks/table/TableActionColumnInitializers.js +16 -18
- package/lib/modules/blocks/data-blocks/table/TableActionInitializers.js +9 -9
- package/lib/modules/blocks/data-blocks/table/TableBlockInitializer.js +12 -10
- package/lib/modules/blocks/data-blocks/table/TableColumnInitializers.js +9 -9
- package/lib/modules/blocks/data-blocks/table/TableColumnSchemaToolbar.js +10 -14
- package/lib/modules/blocks/data-blocks/table/createTableBlockUISchema.js +8 -8
- package/lib/modules/blocks/data-blocks/table/hooks/useTableBlockDecoratorProps.js +11 -9
- package/lib/modules/blocks/data-blocks/table/hooks/useTableBlockProps.js +28 -35
- package/lib/modules/blocks/data-blocks/table/index.js +64 -69
- package/lib/modules/blocks/data-blocks/table/tableBlockSettings.js +24 -24
- package/lib/modules/blocks/data-blocks/table/tableColumnSettings.js +13 -13
- package/lib/modules/blocks/data-blocks/table/utils.js +9 -9
- package/lib/modules/blocks/data-blocks/table-selector/TableSelectorInitializer.js +8 -8
- package/lib/modules/blocks/data-blocks/table-selector/createTableSelectorUISchema.js +8 -8
- package/lib/modules/blocks/data-blocks/table-selector/hooks/useTableSelectorDecoratorProps.js +9 -11
- package/lib/modules/blocks/data-blocks/table-selector/index.js +22 -27
- package/lib/modules/blocks/data-blocks/table-selector/tableSelectorBlockSettings.js +16 -16
- package/lib/modules/blocks/filter-blocks/collapse/CollapseItemSchemaToolbar.js +8 -8
- package/lib/modules/blocks/filter-blocks/collapse/FilterCollapseBlockInitializer.js +8 -8
- package/lib/modules/blocks/filter-blocks/collapse/createFilterCollapseBlockSchema.js +8 -8
- package/lib/modules/blocks/filter-blocks/collapse/filterCollapseBlockSettings.js +9 -9
- package/lib/modules/blocks/filter-blocks/collapse/filterCollapseItemFieldSettings.js +17 -21
- package/lib/modules/blocks/filter-blocks/collapse/filterCollapseItemInitializer.js +17 -15
- package/lib/modules/blocks/filter-blocks/collapse/hooks/useCollapseBlockDecoratorProps.js +9 -11
- package/lib/modules/blocks/filter-blocks/form/FilterFormActionInitializers.js +8 -8
- package/lib/modules/blocks/filter-blocks/form/FilterFormBlockInitializer.js +8 -8
- package/lib/modules/blocks/filter-blocks/form/createFilterFormBlockSchema.js +8 -8
- package/lib/modules/blocks/filter-blocks/form/filterFormBlockSettings.js +9 -9
- package/lib/modules/blocks/filter-blocks/form/filterFormItemFieldSettings.js +17 -21
- package/lib/modules/blocks/filter-blocks/form/filterFormItemInitializers.js +8 -8
- package/lib/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockDecoratorProps.js +9 -11
- package/lib/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockProps.js +8 -8
- package/lib/modules/blocks/filter-blocks/tree/FilterTreeActionInitializers.js +8 -8
- package/lib/modules/blocks/filter-blocks/tree/FilterTreeBlockInitializer.js +10 -8
- package/lib/modules/blocks/filter-blocks/tree/filterTreeBlockSettings.js +9 -9
- package/lib/modules/blocks/filter-blocks/tree/filterTreeItemFieldSettings.js +17 -21
- package/lib/modules/blocks/filter-blocks/tree/filterTreeItemInitializers.js +8 -8
- package/lib/modules/blocks/other-blocks/markdown/MarkdownBlockInitializer.js +8 -8
- package/lib/modules/blocks/other-blocks/markdown/MarkdownFormItemInitializer.js +8 -8
- package/lib/modules/blocks/other-blocks/markdown/markdownBlockSettings.js +8 -8
- package/lib/modules/blocks/useParentRecordCommon.js +8 -8
- package/lib/modules/blocks/useSourceId.js +8 -8
- package/lib/modules/blocks/useSourceKey.js +8 -8
- package/lib/modules/fields/component/CascadeSelect/cascadeSelectComponentFieldSettings.js +10 -10
- package/lib/modules/fields/component/Cascader/cascaderComponentFieldSettings.js +35 -35
- package/lib/modules/fields/component/Checkbox/checkboxComponentFieldSettings.js +9 -9
- package/lib/modules/fields/component/CustomTitle/customTitleComponentFieldSettings.js +8 -8
- package/lib/modules/fields/component/DatePicker/datePickerComponentFieldSettings.js +8 -8
- package/lib/modules/fields/component/DrawerSubTable/drawerSubTableComponentFieldSettings.js +10 -10
- package/lib/modules/fields/component/FileManager/fileManagerComponentFieldSettings.js +11 -11
- package/lib/modules/fields/component/FileManager/uploadAttachmentComponentFieldSettings.js +10 -10
- package/lib/modules/fields/component/Input/inputComponentFieldsSettings.js +8 -8
- package/lib/modules/fields/component/InputNumber/inputNumberComponentFieldSettings.js +14 -14
- package/lib/modules/fields/component/Nester/subformComponentFieldSettings.js +10 -10
- package/lib/modules/fields/component/Picker/TableSelectorInitializers.js +8 -8
- package/lib/modules/fields/component/Picker/recordPickerComponentFieldSettings.js +16 -14
- package/lib/modules/fields/component/PopoverNester/subformPopoverComponentFieldSettings.js +9 -9
- package/lib/modules/fields/component/Radio/radioComponentFieldSettings.js +9 -9
- package/lib/modules/fields/component/Select/selectComponentFieldSettings.js +47 -35
- package/lib/modules/fields/component/SubTable/secondLevelSelect.js +11 -11
- package/lib/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.js +22 -16
- package/lib/modules/fields/component/Tag/tagComponentFieldSettings.js +13 -13
- package/lib/modules/fields/component/UnixTimestamp/unixTimestampComponentFieldSettings.js +8 -8
- package/lib/modules/fields/initializer/CollectionFieldInitializer.js +8 -8
- package/lib/modules/fields/initializer/TableCollectionFieldInitializer.js +8 -8
- package/lib/modules/menu/GroupItem.js +8 -8
- package/lib/modules/menu/LinkMenuItem.js +8 -8
- package/lib/modules/menu/PageMenuItem.js +8 -8
- package/lib/modules/menu/UploadMenuItem.js +8 -8
- package/lib/modules/menu/menuItemInitializer.js +8 -8
- package/lib/modules/page/BlockInitializers.js +8 -8
- package/lib/modules/variable/DeclareVariable.js +12 -10
- package/lib/modules/variable/useVariable.js +8 -8
- package/lib/powered-by/index.js +8 -8
- package/lib/record-provider/index.js +28 -14
- package/lib/route-switch/RouteSchemaComponent.js +8 -8
- package/lib/route-switch/index.js +16 -21
- package/lib/schema-component/antd/AntdSchemaComponentProvider.js +8 -8
- package/lib/schema-component/antd/__builtins__/hooks/index.js +28 -33
- package/lib/schema-component/antd/__builtins__/hooks/useConfig.js +8 -8
- package/lib/schema-component/antd/__builtins__/hooks/usePrefixCls.js +9 -9
- package/lib/schema-component/antd/__builtins__/hooks/useToken.js +8 -8
- package/lib/schema-component/antd/__builtins__/index.js +36 -41
- package/lib/schema-component/antd/__builtins__/loading.js +10 -10
- package/lib/schema-component/antd/__builtins__/portal.js +11 -9
- package/lib/schema-component/antd/__builtins__/render.js +14 -15
- package/lib/schema-component/antd/__builtins__/style.js +12 -10
- package/lib/schema-component/antd/action/Action.Area.js +24 -18
- package/lib/schema-component/antd/action/Action.Area.style.js +8 -8
- package/lib/schema-component/antd/action/Action.Container.js +13 -11
- package/lib/schema-component/antd/action/Action.Designer.js +78 -44
- package/lib/schema-component/antd/action/Action.Drawer.js +17 -17
- package/lib/schema-component/antd/action/Action.Drawer.style.js +8 -8
- package/lib/schema-component/antd/action/Action.Link.js +10 -14
- package/lib/schema-component/antd/action/Action.Modal.js +19 -19
- package/lib/schema-component/antd/action/Action.Modal.style.js +8 -8
- package/lib/schema-component/antd/action/Action.Page.js +13 -11
- package/lib/schema-component/antd/action/Action.Popover.js +2 -3
- package/lib/schema-component/antd/action/Action.Sheet.js +15 -17
- package/lib/schema-component/antd/action/Action.js +23 -25
- package/lib/schema-component/antd/action/Action.style.js +10 -10
- package/lib/schema-component/antd/action/ActionBar.js +16 -16
- package/lib/schema-component/antd/action/context.js +12 -10
- package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfAction.js +8 -8
- package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfDrawer.js +8 -8
- package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfModal.js +8 -8
- package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfPopover.js +8 -8
- package/lib/schema-component/antd/action/hooks/useSetAriaLabelForDrawer.js +8 -8
- package/lib/schema-component/antd/action/hooks/useSetAriaLabelForModal.js +8 -8
- package/lib/schema-component/antd/action/hooks/useSetAriaLabelForPopover.js +8 -8
- package/lib/schema-component/antd/action/hooks.js +31 -27
- package/lib/schema-component/antd/action/index.js +72 -77
- package/lib/schema-component/antd/action/types.js +3 -4
- package/lib/schema-component/antd/action/utils.js +15 -11
- package/lib/schema-component/antd/appends-tree-select/AppendsTreeSelect.js +12 -15
- package/lib/schema-component/antd/appends-tree-select/AppendsTreeSelectV2.js +12 -15
- package/lib/schema-component/antd/appends-tree-select/index.js +22 -27
- package/lib/schema-component/antd/association-cascader/AssociationCascader.js +18 -15
- package/lib/schema-component/antd/association-cascader/index.js +16 -21
- package/lib/schema-component/antd/association-field/AssociationFieldProvider.js +17 -20
- package/lib/schema-component/antd/association-field/AssociationSelect.js +22 -22
- package/lib/schema-component/antd/association-field/Editable.js +23 -29
- package/lib/schema-component/antd/association-field/FileManager.js +14 -16
- package/lib/schema-component/antd/association-field/InternalCascadeSelect.js +56 -61
- package/lib/schema-component/antd/association-field/InternalCascader.js +56 -59
- package/lib/schema-component/antd/association-field/InternalDrawerSubTable.js +10 -10
- package/lib/schema-component/antd/association-field/InternalNester.js +11 -15
- package/lib/schema-component/antd/association-field/InternalPicker.js +14 -16
- package/lib/schema-component/antd/association-field/InternalPopoverNester.js +9 -9
- package/lib/schema-component/antd/association-field/InternalSubTable.js +12 -16
- package/lib/schema-component/antd/association-field/InternalTag.js +13 -17
- package/lib/schema-component/antd/association-field/InternalViewer.js +24 -26
- package/lib/schema-component/antd/association-field/Nester.js +12 -16
- package/lib/schema-component/antd/association-field/ReadPretty.js +8 -8
- package/lib/schema-component/antd/association-field/SubTable.js +10 -10
- package/lib/schema-component/antd/association-field/SubTabs/InternalCollapse.js +32 -32
- package/lib/schema-component/antd/association-field/SubTabs/hook.js +10 -14
- package/lib/schema-component/antd/association-field/SubTabs/index.js +16 -21
- package/lib/schema-component/antd/association-field/SubTabs/styles.js +9 -9
- package/lib/schema-component/antd/association-field/components/CreateRecordAction.js +10 -14
- package/lib/schema-component/antd/association-field/context.js +8 -8
- package/lib/schema-component/antd/association-field/hooks.js +28 -22
- package/lib/schema-component/antd/association-field/index.js +40 -44
- package/lib/schema-component/antd/association-field/schema.js +9 -11
- package/lib/schema-component/antd/association-field/util.js +29 -19
- package/lib/schema-component/antd/association-filter/ActionBarAssociationFilterAction.js +10 -10
- package/lib/schema-component/antd/association-filter/AssociationFilter.BlockDesigner.js +9 -9
- package/lib/schema-component/antd/association-filter/AssociationFilter.Initializer.js +10 -10
- package/lib/schema-component/antd/association-filter/AssociationFilter.Item.Designer.js +17 -21
- package/lib/schema-component/antd/association-filter/AssociationFilter.Item.js +13 -17
- package/lib/schema-component/antd/association-filter/AssociationFilter.Item.style.js +10 -10
- package/lib/schema-component/antd/association-filter/AssociationFilter.js +12 -14
- package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDelete.js +8 -8
- package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDisplayField.js +9 -9
- package/lib/schema-component/antd/association-filter/utilts.js +9 -11
- package/lib/schema-component/antd/association-select/AssociationSelect.js +36 -38
- package/lib/schema-component/antd/association-select/ReadPretty.js +10 -14
- package/lib/schema-component/antd/association-select/index.js +16 -21
- package/lib/schema-component/antd/association-select/useServiceOptions.js +8 -8
- package/lib/schema-component/antd/auto-complete/AutoComplete.js +9 -9
- package/lib/schema-component/antd/auto-complete/index.js +16 -21
- package/lib/schema-component/antd/block-item/BlockItem.js +10 -14
- package/lib/schema-component/antd/block-item/BlockToolbar.js +34 -28
- package/lib/schema-component/antd/block-item/hooks/useGetAriaLabelOfBlockItem.js +12 -16
- package/lib/schema-component/antd/block-item/index.js +16 -21
- package/lib/schema-component/antd/block-item/useBlockToolbar.js +19 -17
- package/lib/schema-component/antd/card-item/CardItem.js +10 -14
- package/lib/schema-component/antd/card-item/index.js +16 -21
- package/lib/schema-component/antd/card-item/style.js +10 -10
- package/lib/schema-component/antd/cascader/Cascader.js +13 -11
- package/lib/schema-component/antd/cascader/ReadPretty.js +8 -8
- package/lib/schema-component/antd/cascader/defaultFieldNames.js +9 -11
- package/lib/schema-component/antd/cascader/index.js +16 -21
- package/lib/schema-component/antd/checkbox/Checkbox.js +23 -21
- package/lib/schema-component/antd/checkbox/index.js +16 -21
- package/lib/schema-component/antd/collection-select/CollectionSelect.js +19 -15
- package/lib/schema-component/antd/collection-select/index.js +16 -21
- package/lib/schema-component/antd/color-picker/ColorPicker.js +15 -17
- package/lib/schema-component/antd/color-picker/ReadPretty.js +11 -15
- package/lib/schema-component/antd/color-picker/index.js +16 -21
- package/lib/schema-component/antd/color-picker/util.js +17 -11
- package/lib/schema-component/antd/color-select/ColorSelect.js +12 -10
- package/lib/schema-component/antd/color-select/index.js +16 -21
- package/lib/schema-component/antd/cron/Cron.js +15 -17
- package/lib/schema-component/antd/cron/CronSet.js +14 -18
- package/lib/schema-component/antd/cron/index.js +22 -27
- package/lib/schema-component/antd/custom-cascader/CustomCascader.js +14 -12
- package/lib/schema-component/antd/custom-cascader/ReadPretty.js +8 -8
- package/lib/schema-component/antd/custom-cascader/defaultFieldNames.js +9 -11
- package/lib/schema-component/antd/custom-cascader/index.js +16 -21
- package/lib/schema-component/antd/date-picker/DatePicker.js +21 -22
- package/lib/schema-component/antd/date-picker/ReadPretty.js +12 -16
- package/lib/schema-component/antd/date-picker/index.js +16 -21
- package/lib/schema-component/antd/date-picker/util.js +17 -11
- package/lib/schema-component/antd/details/Details.js +11 -15
- package/lib/schema-component/antd/details/index.js +16 -21
- package/lib/schema-component/antd/error-fallback/ErrorFallback.js +8 -8
- package/lib/schema-component/antd/error-fallback/index.js +16 -21
- package/lib/schema-component/antd/expand-action/Expand.Action.Design.js +9 -9
- package/lib/schema-component/antd/expand-action/Expand.Action.js +10 -10
- package/lib/schema-component/antd/expand-action/index.js +8 -8
- package/lib/schema-component/antd/filter/DynamicComponent.js +12 -16
- package/lib/schema-component/antd/filter/Filter.Action.Designer.js +19 -15
- package/lib/schema-component/antd/filter/Filter.js +8 -8
- package/lib/schema-component/antd/filter/FilterAction.js +10 -8
- package/lib/schema-component/antd/filter/FilterGroup.js +8 -8
- package/lib/schema-component/antd/filter/FilterItem.js +8 -8
- package/lib/schema-component/antd/filter/FilterItems.js +9 -9
- package/lib/schema-component/antd/filter/SaveDefaultValue.js +9 -9
- package/lib/schema-component/antd/filter/context.js +13 -9
- package/lib/schema-component/antd/filter/index.js +28 -33
- package/lib/schema-component/antd/filter/useFilterActionProps.js +43 -33
- package/lib/schema-component/antd/filter/useOperators.js +11 -11
- package/lib/schema-component/antd/filter/useValues.js +15 -19
- package/lib/schema-component/antd/filter/utils.js +9 -11
- package/lib/schema-component/antd/form/Form.Designer.js +8 -8
- package/lib/schema-component/antd/form/Form.Settings.js +8 -8
- package/lib/schema-component/antd/form/Form.js +8 -8
- package/lib/schema-component/antd/form/index.js +22 -27
- package/lib/schema-component/antd/form-dialog/index.js +22 -24
- package/lib/schema-component/antd/form-item/FormItem.FilterFormDesigner.js +8 -8
- package/lib/schema-component/antd/form-item/FormItem.FilterFormSettings.js +12 -16
- package/lib/schema-component/antd/form-item/FormItem.Settings.js +67 -49
- package/lib/schema-component/antd/form-item/FormItem.js +14 -16
- package/lib/schema-component/antd/form-item/SchemaSettingOptions.js +61 -43
- package/lib/schema-component/antd/form-item/hooks/useLazyLoadDisplayAssociationFieldsOfForm.js +14 -18
- package/lib/schema-component/antd/form-item/hooks/useParseDefaultValue.js +12 -16
- package/lib/schema-component/antd/form-item/hooks/useSpecialCase.js +24 -18
- package/lib/schema-component/antd/form-item/index.js +34 -39
- package/lib/schema-component/antd/form-item/utils.js +12 -14
- package/lib/schema-component/antd/form-tab/index.js +21 -23
- package/lib/schema-component/antd/form-v2/Form.Designer.js +14 -10
- package/lib/schema-component/antd/form-v2/Form.FilterDesigner.js +8 -8
- package/lib/schema-component/antd/form-v2/Form.Settings.js +20 -16
- package/lib/schema-component/antd/form-v2/Form.js +18 -18
- package/lib/schema-component/antd/form-v2/FormField.js +9 -9
- package/lib/schema-component/antd/form-v2/Templates.js +17 -19
- package/lib/schema-component/antd/form-v2/index.js +50 -54
- package/lib/schema-component/antd/form-v2/utils.js +23 -25
- package/lib/schema-component/antd/grid/Block.js +8 -8
- package/lib/schema-component/antd/grid/Grid.js +34 -36
- package/lib/schema-component/antd/grid/Grid.style.js +10 -10
- package/lib/schema-component/antd/grid/index.js +22 -27
- package/lib/schema-component/antd/grid-card/GridCard.Decorator.js +21 -19
- package/lib/schema-component/antd/grid-card/GridCard.Decorator.style.js +10 -10
- package/lib/schema-component/antd/grid-card/GridCard.Designer.js +14 -18
- package/lib/schema-component/antd/grid-card/GridCard.Item.js +10 -10
- package/lib/schema-component/antd/grid-card/GridCard.js +12 -16
- package/lib/schema-component/antd/grid-card/hooks.js +16 -18
- package/lib/schema-component/antd/grid-card/index.js +16 -21
- package/lib/schema-component/antd/grid-card/options.js +24 -26
- package/lib/schema-component/antd/icon-picker/IconFilterInput.js +11 -15
- package/lib/schema-component/antd/icon-picker/IconList.js +8 -8
- package/lib/schema-component/antd/icon-picker/IconPicker.js +14 -12
- package/lib/schema-component/antd/icon-picker/index.js +16 -21
- package/lib/schema-component/antd/index.js +693 -697
- package/lib/schema-component/antd/input/EllipsisWithTooltip.js +9 -9
- package/lib/schema-component/antd/input/Input.js +14 -10
- package/lib/schema-component/antd/input/Json.js +10 -14
- package/lib/schema-component/antd/input/ReadPretty.js +18 -22
- package/lib/schema-component/antd/input/index.js +40 -45
- package/lib/schema-component/antd/input/shared.js +9 -11
- package/lib/schema-component/antd/input-number/InputNumber.js +15 -13
- package/lib/schema-component/antd/input-number/ReadPretty.js +26 -19
- package/lib/schema-component/antd/input-number/index.js +16 -21
- package/lib/schema-component/antd/list/List.Decorator.js +19 -17
- package/lib/schema-component/antd/list/List.Designer.js +14 -18
- package/lib/schema-component/antd/list/List.Item.js +10 -14
- package/lib/schema-component/antd/list/List.js +13 -17
- package/lib/schema-component/antd/list/List.style.js +10 -10
- package/lib/schema-component/antd/list/hooks.js +9 -11
- package/lib/schema-component/antd/list/index.js +16 -21
- package/lib/schema-component/antd/markdown/Markdown.Void.Designer.js +8 -8
- package/lib/schema-component/antd/markdown/Markdown.Void.js +13 -18
- package/lib/schema-component/antd/markdown/Markdown.js +14 -10
- package/lib/schema-component/antd/markdown/index.js +16 -21
- package/lib/schema-component/antd/markdown/style.js +9 -9
- package/lib/schema-component/antd/markdown/util.js +15 -15
- package/lib/schema-component/antd/media-card/MediaCard.js +8 -8
- package/lib/schema-component/antd/media-card/index.js +16 -21
- package/lib/schema-component/antd/media-card/style.js +8 -8
- package/lib/schema-component/antd/menu/AdminMenu.js +8 -8
- package/lib/schema-component/antd/menu/AdminMenu.style.js +8 -8
- package/lib/schema-component/antd/menu/Menu.Designer.js +12 -10
- package/lib/schema-component/antd/menu/Menu.js +36 -40
- package/lib/schema-component/antd/menu/Menu.styles.js +9 -9
- package/lib/schema-component/antd/menu/MenuAdd.js +8 -8
- package/lib/schema-component/antd/menu/MenuItemInitializers/index.js +8 -8
- package/lib/schema-component/antd/menu/MenuSearchAdd.js +10 -14
- package/lib/schema-component/antd/menu/MenuSearchAdd.style.js +9 -9
- package/lib/schema-component/antd/menu/index.js +28 -33
- package/lib/schema-component/antd/menu/locale.js +8 -8
- package/lib/schema-component/antd/menu/tools.js +10 -12
- package/lib/schema-component/antd/menu/util.js +13 -9
- package/lib/schema-component/antd/nanoIDInput/NanoIDInput.js +8 -8
- package/lib/schema-component/antd/nanoIDInput/index.js +16 -21
- package/lib/schema-component/antd/page/FixedBlock.js +20 -18
- package/lib/schema-component/antd/page/FixedBlockDesignerItem.js +10 -10
- package/lib/schema-component/antd/page/Page.Settings.js +14 -14
- package/lib/schema-component/antd/page/Page.js +15 -19
- package/lib/schema-component/antd/page/Page.style.js +8 -8
- package/lib/schema-component/antd/page/PageDesigner.js +8 -8
- package/lib/schema-component/antd/page/PageTab.Settings.js +8 -8
- package/lib/schema-component/antd/page/PageTabDesigner.js +8 -8
- package/lib/schema-component/antd/page/hooks/index.js +16 -21
- package/lib/schema-component/antd/page/hooks/useIsBlockInPage.js +8 -8
- package/lib/schema-component/antd/page/hooks/useShareActions.js +13 -20
- package/lib/schema-component/antd/page/index.js +47 -52
- package/lib/schema-component/antd/page/style.js +10 -8
- package/lib/schema-component/antd/pagination/index.js +8 -8
- package/lib/schema-component/antd/password/Password.js +14 -12
- package/lib/schema-component/antd/password/PasswordStrength.js +8 -8
- package/lib/schema-component/antd/password/index.js +16 -21
- package/lib/schema-component/antd/password/utils.js +11 -13
- package/lib/schema-component/antd/percent/Percent.js +8 -8
- package/lib/schema-component/antd/percent/index.js +16 -21
- package/lib/schema-component/antd/popover/Popover.js +10 -10
- package/lib/schema-component/antd/popover/index.js +16 -21
- package/lib/schema-component/antd/preview/Preview.js +24 -24
- package/lib/schema-component/antd/preview/index.js +16 -21
- package/lib/schema-component/antd/quick-edit/QuickEdit.js +14 -16
- package/lib/schema-component/antd/quick-edit/index.js +16 -21
- package/lib/schema-component/antd/radio/Radio.js +13 -11
- package/lib/schema-component/antd/radio/index.js +16 -21
- package/lib/schema-component/antd/record-picker/InputRecordPicker.js +16 -10
- package/lib/schema-component/antd/record-picker/ReadPrettyRecordPicker.js +12 -12
- package/lib/schema-component/antd/record-picker/RecordPicker.js +8 -8
- package/lib/schema-component/antd/record-picker/index.js +56 -60
- package/lib/schema-component/antd/record-picker/useFieldNames.js +9 -9
- package/lib/schema-component/antd/record-picker/util.js +17 -17
- package/lib/schema-component/antd/remote-select/ReadPretty.js +8 -8
- package/lib/schema-component/antd/remote-select/RemoteSelect.js +46 -50
- package/lib/schema-component/antd/remote-select/index.js +16 -21
- package/lib/schema-component/antd/remote-select/shared.js +8 -8
- package/lib/schema-component/antd/rich-text/RichText.js +10 -14
- package/lib/schema-component/antd/rich-text/index.js +16 -21
- package/lib/schema-component/antd/rich-text/style.js +8 -8
- package/lib/schema-component/antd/scroll-area/ScrollArea.js +13 -11
- package/lib/schema-component/antd/scroll-area/index.js +16 -21
- package/lib/schema-component/antd/select/FormulaSelect.js +15 -15
- package/lib/schema-component/antd/select/ReadPretty.js +9 -9
- package/lib/schema-component/antd/select/Select.js +22 -24
- package/lib/schema-component/antd/select/index.js +23 -28
- package/lib/schema-component/antd/select/utils.js +12 -10
- package/lib/schema-component/antd/slider/index.js +17 -22
- package/lib/schema-component/antd/slider/slider.js +13 -11
- package/lib/schema-component/antd/space/index.js +16 -18
- package/lib/schema-component/antd/table/Table.Array.Designer.js +8 -8
- package/lib/schema-component/antd/table/Table.Array.js +16 -20
- package/lib/schema-component/antd/table/Table.Column.ActionBar.js +12 -10
- package/lib/schema-component/antd/table/Table.Column.Decorator.js +12 -10
- package/lib/schema-component/antd/table/Table.Column.Designer.js +19 -23
- package/lib/schema-component/antd/table/Table.Column.js +8 -8
- package/lib/schema-component/antd/table/Table.Designer.js +8 -8
- package/lib/schema-component/antd/table/Table.RowActionDesigner.js +8 -8
- package/lib/schema-component/antd/table/Table.RowSelection.js +8 -8
- package/lib/schema-component/antd/table/Table.Void.Designer.js +19 -19
- package/lib/schema-component/antd/table/Table.Void.js +19 -19
- package/lib/schema-component/antd/table/index.js +8 -8
- package/lib/schema-component/antd/table-v2/Table.ActionColumnDesigner.js +8 -8
- package/lib/schema-component/antd/table-v2/Table.Column.ActionBar.js +12 -10
- package/lib/schema-component/antd/table-v2/Table.Column.Decorator.js +12 -10
- package/lib/schema-component/antd/table-v2/Table.Column.Designer.js +36 -36
- package/lib/schema-component/antd/table-v2/Table.Column.js +8 -8
- package/lib/schema-component/antd/table-v2/Table.Designer.js +8 -8
- package/lib/schema-component/antd/table-v2/Table.Index.js +8 -8
- package/lib/schema-component/antd/table-v2/Table.js +31 -38
- package/lib/schema-component/antd/table-v2/Table.styles.js +9 -9
- package/lib/schema-component/antd/table-v2/TableBlockDesigner.js +27 -25
- package/lib/schema-component/antd/table-v2/TableField.js +9 -9
- package/lib/schema-component/antd/table-v2/TableSelector.js +8 -8
- package/lib/schema-component/antd/table-v2/TableSelectorDesigner.js +18 -22
- package/lib/schema-component/antd/table-v2/components/ColumnFieldProvider.js +8 -8
- package/lib/schema-component/antd/table-v2/index.js +64 -68
- package/lib/schema-component/antd/table-v2/utils.js +16 -18
- package/lib/schema-component/antd/tabs/Tabs.Designer.js +9 -10
- package/lib/schema-component/antd/tabs/Tabs.js +10 -14
- package/lib/schema-component/antd/tabs/context.js +12 -14
- package/lib/schema-component/antd/tabs/index.js +23 -28
- package/lib/schema-component/antd/time-picker/ReadPretty.js +11 -15
- package/lib/schema-component/antd/time-picker/TimePicker.js +12 -10
- package/lib/schema-component/antd/time-picker/index.js +16 -21
- package/lib/schema-component/antd/tracking-link/index.js +9 -9
- package/lib/schema-component/antd/tree/Tree.js +13 -13
- package/lib/schema-component/antd/tree/index.js +8 -8
- package/lib/schema-component/antd/tree-select/ReadPretty.js +17 -23
- package/lib/schema-component/antd/tree-select/TreeSelect.js +14 -12
- package/lib/schema-component/antd/tree-select/index.js +16 -21
- package/lib/schema-component/antd/unixTimestamp/UnixTimestamp.js +10 -14
- package/lib/schema-component/antd/unixTimestamp/index.js +16 -21
- package/lib/schema-component/antd/upload/ReadPretty.js +18 -20
- package/lib/schema-component/antd/upload/Upload.js +26 -26
- package/lib/schema-component/antd/upload/index.js +16 -21
- package/lib/schema-component/antd/upload/placeholder.js +9 -11
- package/lib/schema-component/antd/upload/shared.js +60 -26
- package/lib/schema-component/antd/upload/style.js +8 -8
- package/lib/schema-component/antd/variable/CodeMirror.js +9 -9
- package/lib/schema-component/antd/variable/Input.js +16 -23
- package/lib/schema-component/antd/variable/JSONInput.js +8 -8
- package/lib/schema-component/antd/variable/RawTextArea.js +10 -10
- package/lib/schema-component/antd/variable/TextArea.js +25 -33
- package/lib/schema-component/antd/variable/TextAreaWithGlobalScope.js +12 -10
- package/lib/schema-component/antd/variable/Variable.js +17 -11
- package/lib/schema-component/antd/variable/VariableSelect.js +13 -17
- package/lib/schema-component/antd/variable/VariableSelect.style.js +10 -10
- package/lib/schema-component/antd/variable/XButton.js +8 -8
- package/lib/schema-component/antd/variable/index.js +25 -29
- package/lib/schema-component/antd/variable/style.js +8 -8
- package/lib/schema-component/common/dnd-context/index.js +22 -22
- package/lib/schema-component/common/index.js +22 -27
- package/lib/schema-component/common/infinite-scroll/infinite-scroll.js +10 -14
- package/lib/schema-component/common/infinite-scroll/style.js +10 -10
- package/lib/schema-component/common/sortable-item/DragHandleMenu.js +8 -8
- package/lib/schema-component/common/sortable-item/DragHandleMenu.style.js +9 -9
- package/lib/schema-component/common/sortable-item/DragHandlePageTab.js +8 -8
- package/lib/schema-component/common/sortable-item/DragHandlePageTab.style.js +8 -8
- package/lib/schema-component/common/sortable-item/SortableItem.js +27 -21
- package/lib/schema-component/common/sortable-item/index.js +16 -21
- package/lib/schema-component/common/utils/logic.js +14 -16
- package/lib/schema-component/common/utils/uitls.js +27 -25
- package/lib/schema-component/context.js +8 -8
- package/lib/schema-component/core/DesignableSwitch.js +8 -8
- package/lib/schema-component/core/FormProvider.js +8 -8
- package/lib/schema-component/core/RemoteSchemaComponent.js +8 -8
- package/lib/schema-component/core/SchemaComponent.js +10 -10
- package/lib/schema-component/core/SchemaComponentOptions.js +10 -8
- package/lib/schema-component/core/SchemaComponentPlugin.js +8 -8
- package/lib/schema-component/core/SchemaComponentProvider.js +8 -8
- package/lib/schema-component/core/index.js +52 -57
- package/lib/schema-component/hooks/index.js +82 -87
- package/lib/schema-component/hooks/useAttach.js +8 -8
- package/lib/schema-component/hooks/useCompile.js +8 -8
- package/lib/schema-component/hooks/useComponent.js +8 -8
- package/lib/schema-component/hooks/useDesignable.js +37 -41
- package/lib/schema-component/hooks/useDesigner.js +8 -8
- package/lib/schema-component/hooks/useFieldComponentOptions.js +9 -9
- package/lib/schema-component/hooks/useFieldModeOptions.js +9 -9
- package/lib/schema-component/hooks/useFieldProps.js +8 -8
- package/lib/schema-component/hooks/useFieldTitle.js +10 -10
- package/lib/schema-component/hooks/useProps.js +9 -11
- package/lib/schema-component/hooks/useSchemaComponentContext.js +8 -8
- package/lib/schema-component/hooks/useTableSize.js +11 -11
- package/lib/schema-component/index.js +48 -53
- package/lib/schema-component/types.js +14 -4
- package/lib/schema-initializer/SchemaInitializerPlugin.js +8 -8
- package/lib/schema-initializer/buttons/CustomFormItemInitializers.js +8 -8
- package/lib/schema-initializer/buttons/FormItemInitializers.js +25 -17
- package/lib/schema-initializer/buttons/RecordBlockInitializers.js +12 -10
- package/lib/schema-initializer/buttons/SubTableActionInitializers.js +8 -8
- package/lib/schema-initializer/buttons/TabPaneInitializers.js +24 -12
- package/lib/schema-initializer/buttons/index.js +46 -51
- package/lib/schema-initializer/components/CreateRecordAction.js +23 -23
- package/lib/schema-initializer/components/DeletedField.js +8 -8
- package/lib/schema-initializer/components/assigned-field/AssignedField.js +15 -17
- package/lib/schema-initializer/components/assigned-field/index.js +16 -21
- package/lib/schema-initializer/components/index.js +22 -27
- package/lib/schema-initializer/hooks/useGetAriaLabelOfSchemaInitializer.js +8 -8
- package/lib/schema-initializer/index.js +119 -123
- package/lib/schema-initializer/items/ActionInitializer.js +8 -8
- package/lib/schema-initializer/items/BlockInitializer.js +14 -12
- package/lib/schema-initializer/items/CreateFilterActionInitializer.js +8 -8
- package/lib/schema-initializer/items/CreateResetActionInitializer.js +8 -8
- package/lib/schema-initializer/items/CustomFilterFormItemInitializer.js +32 -26
- package/lib/schema-initializer/items/CustomizeActionInitializer.js +8 -8
- package/lib/schema-initializer/items/DataBlockInitializer.js +19 -19
- package/lib/schema-initializer/items/DeleteEventActionInitializer.js +8 -8
- package/lib/schema-initializer/items/FilterBlockInitializer.js +8 -8
- package/lib/schema-initializer/items/G2PlotInitializer.js +8 -8
- package/lib/schema-initializer/items/InitializerWithSwitch.js +10 -10
- package/lib/schema-initializer/items/RecordAssociationBlockInitializer.js +10 -8
- package/lib/schema-initializer/items/RecordAssociationDetailsBlockInitializer.js +12 -10
- package/lib/schema-initializer/items/RecordAssociationFormBlockInitializer.js +12 -10
- package/lib/schema-initializer/items/RecordAssociationGridCardBlockInitializer.js +10 -8
- package/lib/schema-initializer/items/RecordAssociationListBlockInitializer.js +10 -8
- package/lib/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.js +12 -10
- package/lib/schema-initializer/items/SelectActionInitializer.js +8 -8
- package/lib/schema-initializer/items/SubmitActionInitializer.js +8 -8
- package/lib/schema-initializer/items/TableActionColumnInitializer.js +8 -8
- package/lib/schema-initializer/items/index.js +148 -153
- package/lib/schema-initializer/style.js +8 -8
- package/lib/schema-initializer/utils.js +174 -135
- package/lib/schema-items/GeneralSchemaItems.js +16 -20
- package/lib/schema-items/GeneralSettings.js +14 -14
- package/lib/schema-items/OpenModeSchemaItems.js +16 -14
- package/lib/schema-items/index.js +22 -27
- package/lib/schema-settings/DataTemplates/FormDataTemplates.js +20 -20
- package/lib/schema-settings/DataTemplates/TreeLabel.js +8 -8
- package/lib/schema-settings/DataTemplates/components/AsDefaultTemplate.js +13 -17
- package/lib/schema-settings/DataTemplates/components/DataTemplateTitle.js +26 -28
- package/lib/schema-settings/DataTemplates/components/DataTemplateTitle.style.js +8 -8
- package/lib/schema-settings/DataTemplates/components/Designer.js +15 -17
- package/lib/schema-settings/DataTemplates/hooks/useCollectionState.js +28 -30
- package/lib/schema-settings/DataTemplates/index.js +16 -21
- package/lib/schema-settings/DataTemplates/utils.js +18 -22
- package/lib/schema-settings/DateFormat/ExpiresRadio.js +15 -17
- package/lib/schema-settings/EditCustomDefaultValue.js +11 -9
- package/lib/schema-settings/EditFormulaTitleField.js +19 -15
- package/lib/schema-settings/EnableChildCollections/DynamicComponent.js +8 -8
- package/lib/schema-settings/EnableChildCollections/index.js +10 -10
- package/lib/schema-settings/GeneralSchemaDesigner.js +18 -20
- package/lib/schema-settings/LinkageRules/DynamicComponent.js +12 -16
- package/lib/schema-settings/LinkageRules/LinkageRuleAction.js +14 -16
- package/lib/schema-settings/LinkageRules/LinkageRuleActionGroup.js +11 -9
- package/lib/schema-settings/LinkageRules/ValueDynamicComponent.js +10 -14
- package/lib/schema-settings/LinkageRules/Variables.js +9 -9
- package/lib/schema-settings/LinkageRules/action-hooks.js +10 -10
- package/lib/schema-settings/LinkageRules/components/EnableLinkage.js +12 -16
- package/lib/schema-settings/LinkageRules/components/LinkageHeader.js +25 -27
- package/lib/schema-settings/LinkageRules/components/LinkageHeader.style.js +8 -8
- package/lib/schema-settings/LinkageRules/context.js +14 -10
- package/lib/schema-settings/LinkageRules/index.js +8 -8
- package/lib/schema-settings/LinkageRules/type.js +9 -11
- package/lib/schema-settings/LinkageRules/useValues.js +10 -10
- package/lib/schema-settings/SchemaSettingCollection.js +9 -9
- package/lib/schema-settings/SchemaSettingComponent.js +8 -8
- package/lib/schema-settings/SchemaSettings.js +94 -46
- package/lib/schema-settings/SchemaSettingsDataScope.js +10 -10
- package/lib/schema-settings/SchemaSettingsDateFormat.js +12 -12
- package/lib/schema-settings/SchemaSettingsDefaultValue.js +13 -17
- package/lib/schema-settings/SchemaSettingsNumberFormat.js +8 -8
- package/lib/schema-settings/SchemaSettingsPlugin.js +8 -8
- package/lib/schema-settings/SchemaSettingsSortingRule.js +13 -17
- package/lib/schema-settings/VariableInput/VariableInput.js +16 -16
- package/lib/schema-settings/VariableInput/hooks/index.js +28 -33
- package/lib/schema-settings/VariableInput/hooks/useBaseVariable.js +17 -19
- package/lib/schema-settings/VariableInput/hooks/useBlockCollection.js +9 -9
- package/lib/schema-settings/VariableInput/hooks/useContextAssociationFields.js +13 -11
- package/lib/schema-settings/VariableInput/hooks/useDateVariable.js +10 -10
- package/lib/schema-settings/VariableInput/hooks/useFilterVariable.js +13 -13
- package/lib/schema-settings/VariableInput/hooks/useFormVariable.js +10 -8
- package/lib/schema-settings/VariableInput/hooks/useIterationVariable.js +10 -8
- package/lib/schema-settings/VariableInput/hooks/useParentRecordVariable.js +12 -10
- package/lib/schema-settings/VariableInput/hooks/usePopupVariable.js +8 -8
- package/lib/schema-settings/VariableInput/hooks/useRecordVariable.js +14 -16
- package/lib/schema-settings/VariableInput/hooks/useRoleVariable.js +11 -9
- package/lib/schema-settings/VariableInput/hooks/useUserVariable.js +13 -11
- package/lib/schema-settings/VariableInput/hooks/useVariableOptions.js +9 -9
- package/lib/schema-settings/VariableInput/index.js +24 -29
- package/lib/schema-settings/VariableInput/type.js +3 -4
- package/lib/schema-settings/VariableInput/utils/formatVariableScop.js +9 -11
- package/lib/schema-settings/filter-form/FormFilterScope.js +8 -8
- package/lib/schema-settings/filter-form/context.js +17 -11
- package/lib/schema-settings/hooks/useFilterFormCustomProps.js +8 -8
- package/lib/schema-settings/hooks/useGetAriaLabelOfDesigner.js +8 -8
- package/lib/schema-settings/hooks/useIsAllowToSetDefaultValue.js +16 -16
- package/lib/schema-settings/hooks/useIsShowMultipleSwitch.js +10 -10
- package/lib/schema-settings/hooks/useParseDataScopeFilter.js +8 -8
- package/lib/schema-settings/index.js +125 -130
- package/lib/schema-settings/isPatternDisabled.js +10 -12
- package/lib/schema-settings/styles.js +8 -8
- package/lib/schema-settings/types.js +3 -4
- package/lib/schema-settings/utils/createModalSettingsItem.js +10 -14
- package/lib/schema-settings/utils/createSelectSettingsItem.js +10 -14
- package/lib/schema-settings/utils/createSwitchSettingsItem.js +10 -14
- package/lib/schema-settings/utils/createTextSettingsItem.js +8 -8
- package/lib/schema-settings/utils/index.js +34 -39
- package/lib/schema-settings/utils/util.js +16 -16
- package/lib/schema-templates/BlockTemplate.js +12 -10
- package/lib/schema-templates/BlockTemplateDetails.js +11 -11
- package/lib/schema-templates/BlockTemplatePage.js +10 -8
- package/lib/schema-templates/SchemaTemplateManagerProvider.js +23 -13
- package/lib/schema-templates/collections/uiSchemaTemplates.js +9 -11
- package/lib/schema-templates/index.js +34 -39
- package/lib/schema-templates/schemas/CollectionTitle.js +8 -8
- package/lib/schema-templates/schemas/uiSchemaTemplates.js +8 -8
- package/lib/schema-templates/useSchemaTemplateManager.js +10 -10
- package/lib/style/css-variable/CSSVariableProvider.js +13 -11
- package/lib/style/css-variable/index.js +10 -14
- package/lib/style/index.js +24 -12
- package/lib/style/theme/AntdAppProvider.js +10 -10
- package/lib/style/theme/defaultTheme.js +9 -11
- package/lib/style/theme/index.js +95 -99
- package/lib/style/theme/type.js +3 -4
- package/lib/style/useToken.js +8 -8
- package/lib/testUtils/index.js +16 -21
- package/lib/testUtils/mockAPIClient.js +27 -25
- package/lib/user/ChangePassword.js +8 -8
- package/lib/user/CurrentUser.js +16 -12
- package/lib/user/CurrentUserProvider.js +22 -14
- package/lib/user/CurrentUserSettingsMenuProvider.js +15 -13
- package/lib/user/EditProfile.js +9 -9
- package/lib/user/LanguageSettings.js +12 -16
- package/lib/user/SwitchRole.js +8 -8
- package/lib/user/VerificationCode.js +8 -8
- package/lib/user/index.js +28 -33
- package/lib/variables/VariablesProvider.js +24 -26
- package/lib/variables/constants.js +9 -11
- package/lib/variables/hooks/useBuiltinVariables.js +10 -10
- package/lib/variables/hooks/useContextVariable.js +14 -14
- package/lib/variables/hooks/useLocalVariables.js +11 -11
- package/lib/variables/hooks/useVariables.js +10 -10
- package/lib/variables/index.js +79 -83
- package/lib/variables/types.js +3 -4
- package/lib/variables/utils/filterEmptyValues.js +9 -11
- package/lib/variables/utils/getAction.js +9 -11
- package/lib/variables/utils/getPath.js +8 -8
- package/lib/variables/utils/getVariableName.js +10 -14
- package/lib/variables/utils/hasRequested.js +18 -20
- package/lib/variables/utils/isVariable.js +12 -14
- package/lib/variables/utils/transformVariableValue.js +10 -14
- package/lib/variables/utils/uniq.js +10 -14
- package/package.json +7 -7
- package/es/env.d.mjs +0 -0
- package/es/schema-component/antd/upload/type.d.mjs +0 -1
- package/lib/env.d.js +0 -6
- package/lib/schema-component/antd/upload/type.d.js +0 -8
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useCallback, useMemo, useState } from "react";
|
|
3
|
+
import { ArrayTable } from "@tachybase/components";
|
|
4
|
+
import { isValid, onFieldValueChange, uid as schema_uid, useField, useFieldSchema, useForm, useFormEffects } from "@tachybase/schema";
|
|
5
|
+
import { Alert, Flex, Tag } from "antd";
|
|
6
|
+
import { useTranslation } from "react-i18next";
|
|
7
|
+
import { RemoteSelect, useCompile, useDesignable } from "../../index.mjs";
|
|
8
|
+
import { useApp } from "../../../application/index.mjs";
|
|
9
|
+
import { withDynamicSchemaProps } from "../../../application/hoc/withDynamicSchemaProps.mjs";
|
|
10
|
+
import { usePlugin } from "../../../application/hooks/index.mjs";
|
|
11
|
+
import { SchemaSettings } from "../../../application/schema-settings/index.mjs";
|
|
12
|
+
import { useSchemaToolbar } from "../../../application/schema-toolbar/index.mjs";
|
|
13
|
+
import { useFormBlockContext, useFormBlockType } from "../../../block-provider/index.mjs";
|
|
14
|
+
import { joinCollectionName, useCollectionFilterOptions, useCollectionManager_deprecated, useCollection_deprecated } from "../../../collection-manager/index.mjs";
|
|
15
|
+
import { DataSourceProvider, useCollection, useDataSourceKey } from "../../../data-source/index.mjs";
|
|
16
|
+
import { FlagProvider } from "../../../flag-provider/index.mjs";
|
|
17
|
+
import { SaveMode } from "../../../modules/actions/submit/createSubmitActionSettings.mjs";
|
|
18
|
+
import { useRecord } from "../../../record-provider/index.mjs";
|
|
19
|
+
import { SchemaSettingOpenModeSchemaItems } from "../../../schema-items/index.mjs";
|
|
20
|
+
import { FormFilterScope } from "../../../schema-settings/filter-form/FormFilterScope.mjs";
|
|
21
|
+
import { GeneralSchemaDesigner } from "../../../schema-settings/GeneralSchemaDesigner.mjs";
|
|
22
|
+
import { DefaultValueProvider } from "../../../schema-settings/hooks/useIsAllowToSetDefaultValue.mjs";
|
|
23
|
+
import { SchemaSettingsActionModalItem, SchemaSettingsDivider, SchemaSettingsEnableChildCollections, SchemaSettingsLinkageRules, SchemaSettingsModalItem, SchemaSettingsRemove, SchemaSettingsSwitchItem } from "../../../schema-settings/SchemaSettings.mjs";
|
|
24
|
+
import { useSchemaTemplateManager } from "../../../schema-templates/index.mjs";
|
|
25
|
+
import { useLocalVariables, useVariables } from "../../../variables/index.mjs";
|
|
26
|
+
import { useActionContext, useLinkageAction } from "./hooks.mjs";
|
|
27
|
+
import { afterSuccessSchema, requestSettingsSchema } from "./utils.mjs";
|
|
28
28
|
const MenuGroup = (props)=>props.children;
|
|
29
29
|
function ButtonEditor(props) {
|
|
30
30
|
var _fieldSchema_xcomponentprops, _fieldSchema_xcomponentprops1, _fieldSchema_xcomponentprops2;
|
|
31
|
-
const field =
|
|
32
|
-
const fieldSchema =
|
|
33
|
-
const { dn } =
|
|
34
|
-
const { t } =
|
|
31
|
+
const field = useField();
|
|
32
|
+
const fieldSchema = useFieldSchema();
|
|
33
|
+
const { dn } = useDesignable();
|
|
34
|
+
const { t } = useTranslation();
|
|
35
35
|
const isLink = (null == props ? void 0 : props.isLink) || 'Action.Link' === fieldSchema['x-component'];
|
|
36
|
-
return /*#__PURE__*/
|
|
36
|
+
return /*#__PURE__*/ jsx(SchemaSettingsModalItem, {
|
|
37
37
|
title: t('Edit button'),
|
|
38
38
|
schema: {
|
|
39
39
|
type: 'object',
|
|
@@ -50,7 +50,7 @@ function ButtonEditor(props) {
|
|
|
50
50
|
'x-decorator': 'FormItem',
|
|
51
51
|
'x-component': 'IconPicker',
|
|
52
52
|
title: t('Button icon'),
|
|
53
|
-
default: null == fieldSchema ? void 0 : null
|
|
53
|
+
default: null == fieldSchema ? void 0 : null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops.icon,
|
|
54
54
|
'x-component-props': {},
|
|
55
55
|
'x-visible': !isLink
|
|
56
56
|
},
|
|
@@ -58,7 +58,7 @@ function ButtonEditor(props) {
|
|
|
58
58
|
'x-decorator': 'FormItem',
|
|
59
59
|
'x-component': 'Radio.Group',
|
|
60
60
|
title: t('Button background color'),
|
|
61
|
-
default: (null == fieldSchema ? void 0 : null
|
|
61
|
+
default: (null == fieldSchema ? void 0 : null == (_fieldSchema_xcomponentprops1 = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops1.danger) ? 'danger' : (null == fieldSchema ? void 0 : null == (_fieldSchema_xcomponentprops2 = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops2.type) === 'primary' ? 'primary' : 'default',
|
|
62
62
|
enum: [
|
|
63
63
|
{
|
|
64
64
|
value: 'default',
|
|
@@ -103,12 +103,12 @@ function ButtonEditor(props) {
|
|
|
103
103
|
}
|
|
104
104
|
function AssignedFieldValues() {
|
|
105
105
|
var _fieldSchema_xactionsettings, _fieldSchema_xactionsettings1;
|
|
106
|
-
const { dn } =
|
|
107
|
-
const { t } =
|
|
108
|
-
const fieldSchema =
|
|
106
|
+
const { dn } = useDesignable();
|
|
107
|
+
const { t } = useTranslation();
|
|
108
|
+
const fieldSchema = useFieldSchema();
|
|
109
109
|
const initialSchema = {
|
|
110
110
|
type: 'void',
|
|
111
|
-
'x-uid': (
|
|
111
|
+
'x-uid': schema_uid(),
|
|
112
112
|
'x-component': 'Grid',
|
|
113
113
|
'x-initializer': 'assignFieldValuesForm:configureFields'
|
|
114
114
|
};
|
|
@@ -117,8 +117,8 @@ function AssignedFieldValues() {
|
|
|
117
117
|
'customize:save': t('After clicking the custom button, the following fields of the current record will be saved according to the following form.')
|
|
118
118
|
};
|
|
119
119
|
var _fieldSchema_xaction;
|
|
120
|
-
const actionType = null
|
|
121
|
-
const onSubmit =
|
|
120
|
+
const actionType = null != (_fieldSchema_xaction = fieldSchema['x-action']) ? _fieldSchema_xaction : '';
|
|
121
|
+
const onSubmit = useCallback((assignedValues)=>{
|
|
122
122
|
fieldSchema['x-action-settings']['assignedValues'] = assignedValues;
|
|
123
123
|
dn.emit('patch', {
|
|
124
124
|
schema: {
|
|
@@ -130,16 +130,16 @@ function AssignedFieldValues() {
|
|
|
130
130
|
dn,
|
|
131
131
|
fieldSchema
|
|
132
132
|
]);
|
|
133
|
-
return /*#__PURE__*/
|
|
133
|
+
return /*#__PURE__*/ jsx(FlagProvider, {
|
|
134
134
|
isInAssignFieldValues: true,
|
|
135
|
-
children: /*#__PURE__*/
|
|
135
|
+
children: /*#__PURE__*/ jsx(DefaultValueProvider, {
|
|
136
136
|
isAllowToSetDefaultValue: ()=>false,
|
|
137
|
-
children: /*#__PURE__*/
|
|
137
|
+
children: /*#__PURE__*/ jsx(SchemaSettingsActionModalItem, {
|
|
138
138
|
title: t('Assign field values'),
|
|
139
139
|
initialSchema: initialSchema,
|
|
140
|
-
initialValues: null == fieldSchema ? void 0 : null
|
|
140
|
+
initialValues: null == fieldSchema ? void 0 : null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : _fieldSchema_xactionsettings.assignedValues,
|
|
141
141
|
modalTip: tips[actionType],
|
|
142
|
-
uid: null == fieldSchema ? void 0 : null
|
|
142
|
+
uid: null == fieldSchema ? void 0 : null == (_fieldSchema_xactionsettings1 = fieldSchema['x-action-settings']) ? void 0 : _fieldSchema_xactionsettings1.schemaUid,
|
|
143
143
|
onSubmit: onSubmit
|
|
144
144
|
})
|
|
145
145
|
})
|
|
@@ -147,13 +147,13 @@ function AssignedFieldValues() {
|
|
|
147
147
|
}
|
|
148
148
|
function RequestSettings() {
|
|
149
149
|
var _fieldSchema_xactionsettings;
|
|
150
|
-
const { dn } =
|
|
151
|
-
const { t } =
|
|
152
|
-
const fieldSchema =
|
|
153
|
-
return /*#__PURE__*/
|
|
150
|
+
const { dn } = useDesignable();
|
|
151
|
+
const { t } = useTranslation();
|
|
152
|
+
const fieldSchema = useFieldSchema();
|
|
153
|
+
return /*#__PURE__*/ jsx(SchemaSettingsActionModalItem, {
|
|
154
154
|
title: t('Request settings'),
|
|
155
|
-
schema:
|
|
156
|
-
initialValues: null == fieldSchema ? void 0 : null
|
|
155
|
+
schema: requestSettingsSchema,
|
|
156
|
+
initialValues: null == fieldSchema ? void 0 : null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : _fieldSchema_xactionsettings.requestSettings,
|
|
157
157
|
onSubmit: (requestSettings)=>{
|
|
158
158
|
fieldSchema['x-action-settings']['requestSettings'] = requestSettings;
|
|
159
159
|
dn.emit('patch', {
|
|
@@ -168,12 +168,12 @@ function RequestSettings() {
|
|
|
168
168
|
}
|
|
169
169
|
function SkipValidation() {
|
|
170
170
|
var _fieldSchema_xactionsettings;
|
|
171
|
-
const { dn } =
|
|
172
|
-
const { t } =
|
|
173
|
-
const fieldSchema =
|
|
174
|
-
return /*#__PURE__*/
|
|
171
|
+
const { dn } = useDesignable();
|
|
172
|
+
const { t } = useTranslation();
|
|
173
|
+
const fieldSchema = useFieldSchema();
|
|
174
|
+
return /*#__PURE__*/ jsx(SchemaSettingsSwitchItem, {
|
|
175
175
|
title: t('Skip required validation'),
|
|
176
|
-
checked: !!(null == fieldSchema ? void 0 : null
|
|
176
|
+
checked: !!(null == fieldSchema ? void 0 : null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : _fieldSchema_xactionsettings.skipValidator),
|
|
177
177
|
onChange: (value)=>{
|
|
178
178
|
fieldSchema['x-action-settings'].skipValidator = value;
|
|
179
179
|
dn.emit('patch', {
|
|
@@ -191,25 +191,25 @@ const findSchema = (schema)=>{
|
|
|
191
191
|
if (!schema) return;
|
|
192
192
|
if ('ACLActionProvider' === schema['x-decorator']) {
|
|
193
193
|
var _schema_xcomponentprops;
|
|
194
|
-
return null
|
|
194
|
+
return null == (_schema_xcomponentprops = schema['x-component-props']) ? void 0 : _schema_xcomponentprops.openMode;
|
|
195
195
|
}
|
|
196
196
|
return findSchema(null == schema ? void 0 : schema.parent);
|
|
197
197
|
};
|
|
198
198
|
function AfterSuccess() {
|
|
199
199
|
var _fieldSchema_xactionsettings;
|
|
200
|
-
const { dn } =
|
|
201
|
-
const { t } =
|
|
202
|
-
const fieldSchema =
|
|
203
|
-
const ctx =
|
|
200
|
+
const { dn } = useDesignable();
|
|
201
|
+
const { t } = useTranslation();
|
|
202
|
+
const fieldSchema = useFieldSchema();
|
|
203
|
+
const ctx = useActionContext();
|
|
204
204
|
const openMode = findSchema(ctx.fieldSchema);
|
|
205
205
|
const component = fieldSchema.parent.parent['x-component'];
|
|
206
206
|
const schema = {
|
|
207
|
-
...
|
|
207
|
+
...afterSuccessSchema(t)
|
|
208
208
|
};
|
|
209
209
|
if ((!openMode || 'page' === openMode) && component.includes('Form') || !component.includes('Form')) delete schema.properties.popupClose;
|
|
210
|
-
return /*#__PURE__*/
|
|
210
|
+
return /*#__PURE__*/ jsx(SchemaSettingsModalItem, {
|
|
211
211
|
title: t('After successful submission'),
|
|
212
|
-
initialValues: null == fieldSchema ? void 0 : null
|
|
212
|
+
initialValues: null == fieldSchema ? void 0 : null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : _fieldSchema_xactionsettings['onSuccess'],
|
|
213
213
|
schema: {
|
|
214
214
|
...schema
|
|
215
215
|
},
|
|
@@ -226,13 +226,13 @@ function AfterSuccess() {
|
|
|
226
226
|
}
|
|
227
227
|
function RemoveButton() {
|
|
228
228
|
let props = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
229
|
-
const { t } =
|
|
230
|
-
const fieldSchema =
|
|
229
|
+
const { t } = useTranslation();
|
|
230
|
+
const fieldSchema = useFieldSchema();
|
|
231
231
|
const isDeletable = (null == fieldSchema ? void 0 : fieldSchema.parent['x-component']) === 'CollectionField';
|
|
232
|
-
return !isDeletable && /*#__PURE__*/
|
|
232
|
+
return !isDeletable && /*#__PURE__*/ jsxs(Fragment, {
|
|
233
233
|
children: [
|
|
234
|
-
/*#__PURE__*/
|
|
235
|
-
/*#__PURE__*/
|
|
234
|
+
/*#__PURE__*/ jsx(SchemaSettingsDivider, {}),
|
|
235
|
+
/*#__PURE__*/ jsx(SchemaSettingsRemove, {
|
|
236
236
|
removeParentsIfNoChildren: true,
|
|
237
237
|
breakRemoveOn: (s)=>'Space' === s['x-component'] || s['x-component'].endsWith('ActionBar'),
|
|
238
238
|
confirm: {
|
|
@@ -245,20 +245,20 @@ function RemoveButton() {
|
|
|
245
245
|
}
|
|
246
246
|
function WorkflowSelectComponent(param) {
|
|
247
247
|
let { formAction, buttonAction, actionType, direct = false, noCollection = false, ...props } = param;
|
|
248
|
-
const { t } =
|
|
249
|
-
const index =
|
|
250
|
-
const { setValuesIn } =
|
|
251
|
-
const baseCollection =
|
|
252
|
-
const { getCollection } =
|
|
253
|
-
const dataSourceKey =
|
|
254
|
-
const [workflowCollection, setWorkflowCollection] =
|
|
255
|
-
const compile =
|
|
256
|
-
const workflowPlugin =
|
|
257
|
-
|
|
248
|
+
const { t } = useTranslation();
|
|
249
|
+
const index = ArrayTable.useIndex();
|
|
250
|
+
const { setValuesIn } = useForm();
|
|
251
|
+
const baseCollection = useCollection_deprecated();
|
|
252
|
+
const { getCollection } = useCollectionManager_deprecated();
|
|
253
|
+
const dataSourceKey = useDataSourceKey();
|
|
254
|
+
const [workflowCollection, setWorkflowCollection] = useState(joinCollectionName(dataSourceKey, baseCollection.name));
|
|
255
|
+
const compile = useCompile();
|
|
256
|
+
const workflowPlugin = usePlugin('workflow');
|
|
257
|
+
useMemo(()=>workflowPlugin.getTriggersOptions().filter((item)=>'function' == typeof item.options.isActionTriggerable || true === item.options.isActionTriggerable).map((item)=>item.value), [
|
|
258
258
|
workflowPlugin
|
|
259
259
|
]);
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
useFormEffects(()=>{
|
|
261
|
+
onFieldValueChange("group[".concat(index, "].context"), (field)=>{
|
|
262
262
|
let collection = baseCollection;
|
|
263
263
|
if (field.value) {
|
|
264
264
|
const paths = field.value.split('.');
|
|
@@ -268,11 +268,11 @@ function WorkflowSelectComponent(param) {
|
|
|
268
268
|
if (associationField) collection = getCollection(associationField.target, dataSourceKey);
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
setWorkflowCollection(
|
|
271
|
+
setWorkflowCollection(joinCollectionName(dataSourceKey, collection.name));
|
|
272
272
|
setValuesIn("group[".concat(index, "].workflowKey"), null);
|
|
273
273
|
});
|
|
274
274
|
});
|
|
275
|
-
const optionFilter =
|
|
275
|
+
const optionFilter = useCallback((param)=>{
|
|
276
276
|
let { key, type, config } = param;
|
|
277
277
|
if (key === props.value) return true;
|
|
278
278
|
const trigger = workflowPlugin.triggers.get(type);
|
|
@@ -291,9 +291,9 @@ function WorkflowSelectComponent(param) {
|
|
|
291
291
|
formAction,
|
|
292
292
|
buttonAction
|
|
293
293
|
]);
|
|
294
|
-
return /*#__PURE__*/
|
|
294
|
+
return /*#__PURE__*/ jsx(DataSourceProvider, {
|
|
295
295
|
dataSource: "main",
|
|
296
|
-
children: /*#__PURE__*/
|
|
296
|
+
children: /*#__PURE__*/ jsx(RemoteSelect, {
|
|
297
297
|
manual: false,
|
|
298
298
|
placeholder: t('Select workflow', {
|
|
299
299
|
ns: 'workflow'
|
|
@@ -308,7 +308,7 @@ function WorkflowSelectComponent(param) {
|
|
|
308
308
|
params: {
|
|
309
309
|
filter: {
|
|
310
310
|
type: void 0 === props.filterType ? void 0 : props.filterType,
|
|
311
|
-
enabled: void 0 === props.filterEnabled
|
|
311
|
+
enabled: void 0 === props.filterEnabled ? true : props.filterEnabled,
|
|
312
312
|
'config.collection': noCollection ? void 0 : workflowCollection,
|
|
313
313
|
sync: void 0 === props.filterSync ? void 0 : props.filterSync,
|
|
314
314
|
key: void 0 === props.filterKey ? void 0 : props.filterKey
|
|
@@ -322,13 +322,13 @@ function WorkflowSelectComponent(param) {
|
|
|
322
322
|
optionRender: (param)=>{
|
|
323
323
|
let { label, data } = param;
|
|
324
324
|
const typeOption = workflowPlugin.getTriggersOptions().find((item)=>item.value === data.type);
|
|
325
|
-
return typeOption ? /*#__PURE__*/
|
|
325
|
+
return typeOption ? /*#__PURE__*/ jsxs(Flex, {
|
|
326
326
|
justify: "space-between",
|
|
327
327
|
children: [
|
|
328
|
-
/*#__PURE__*/
|
|
328
|
+
/*#__PURE__*/ jsx("span", {
|
|
329
329
|
children: label
|
|
330
330
|
}),
|
|
331
|
-
/*#__PURE__*/
|
|
331
|
+
/*#__PURE__*/ jsx(Tag, {
|
|
332
332
|
color: typeOption.color,
|
|
333
333
|
children: compile(typeOption.label)
|
|
334
334
|
})
|
|
@@ -339,14 +339,14 @@ function WorkflowSelectComponent(param) {
|
|
|
339
339
|
})
|
|
340
340
|
});
|
|
341
341
|
}
|
|
342
|
-
const WorkflowSelect =
|
|
342
|
+
const WorkflowSelect = withDynamicSchemaProps(WorkflowSelectComponent);
|
|
343
343
|
function WorkflowConfig() {
|
|
344
344
|
var _fieldSchema_xactionsettings;
|
|
345
|
-
const { dn } =
|
|
346
|
-
const { t } =
|
|
347
|
-
const fieldSchema =
|
|
348
|
-
const collection =
|
|
349
|
-
const formBlock =
|
|
345
|
+
const { dn } = useDesignable();
|
|
346
|
+
const { t } = useTranslation();
|
|
347
|
+
const fieldSchema = useFieldSchema();
|
|
348
|
+
const collection = useCollection_deprecated();
|
|
349
|
+
const formBlock = useFormBlockContext();
|
|
350
350
|
const actionType = (null == formBlock ? void 0 : formBlock.type) || fieldSchema['x-action'];
|
|
351
351
|
const formAction = null == formBlock ? void 0 : formBlock.type;
|
|
352
352
|
const buttonAction = fieldSchema['x-action'];
|
|
@@ -398,7 +398,7 @@ function WorkflowConfig() {
|
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
};
|
|
401
|
-
return /*#__PURE__*/
|
|
401
|
+
return /*#__PURE__*/ jsx(SchemaSettingsActionModalItem, {
|
|
402
402
|
title: t('Bind workflows', {
|
|
403
403
|
ns: 'workflow'
|
|
404
404
|
}),
|
|
@@ -411,8 +411,8 @@ function WorkflowConfig() {
|
|
|
411
411
|
}
|
|
412
412
|
},
|
|
413
413
|
components: {
|
|
414
|
-
Alert:
|
|
415
|
-
ArrayTable:
|
|
414
|
+
Alert: Alert,
|
|
415
|
+
ArrayTable: ArrayTable,
|
|
416
416
|
WorkflowSelect
|
|
417
417
|
},
|
|
418
418
|
schema: {
|
|
@@ -527,7 +527,7 @@ function WorkflowConfig() {
|
|
|
527
527
|
}
|
|
528
528
|
},
|
|
529
529
|
initialValues: {
|
|
530
|
-
group: null == fieldSchema ? void 0 : null
|
|
530
|
+
group: null == fieldSchema ? void 0 : null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : _fieldSchema_xactionsettings.triggerWorkflows
|
|
531
531
|
},
|
|
532
532
|
onSubmit: (param)=>{
|
|
533
533
|
let { group } = param;
|
|
@@ -553,32 +553,32 @@ const findGridSchema = (fieldSchema)=>fieldSchema.reduceProperties((buf, s)=>{
|
|
|
553
553
|
}, null);
|
|
554
554
|
const useSetFilterScopeVisible = ()=>{
|
|
555
555
|
var _fieldSchema_xcomponentprops;
|
|
556
|
-
const fieldSchema =
|
|
557
|
-
return (null
|
|
556
|
+
const fieldSchema = useFieldSchema();
|
|
557
|
+
return (null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops.useProps) === '{{ useFilterBlockActionProps }}' || 'useFilterBlockActionProps' === fieldSchema['x-use-component-props'];
|
|
558
558
|
};
|
|
559
559
|
const SetFilterScope = (props)=>{
|
|
560
|
-
const { t } =
|
|
561
|
-
const fieldSchema =
|
|
560
|
+
const { t } = useTranslation();
|
|
561
|
+
const fieldSchema = useFieldSchema();
|
|
562
562
|
const { collectionName } = props;
|
|
563
563
|
const gridSchema = findGridSchema(fieldSchema) || fieldSchema;
|
|
564
|
-
const { form } =
|
|
564
|
+
const { form } = useFormBlockContext();
|
|
565
565
|
const type = (null == props ? void 0 : props.type) || [
|
|
566
566
|
'Action',
|
|
567
567
|
'Action.Link'
|
|
568
568
|
].includes(fieldSchema['x-component']) ? 'button' : 'field';
|
|
569
|
-
const variables =
|
|
570
|
-
const localVariables =
|
|
571
|
-
const record =
|
|
572
|
-
const { type: formBlockType } =
|
|
573
|
-
const schema =
|
|
569
|
+
const variables = useVariables();
|
|
570
|
+
const localVariables = useLocalVariables();
|
|
571
|
+
const record = useRecord();
|
|
572
|
+
const { type: formBlockType } = useFormBlockType();
|
|
573
|
+
const schema = useMemo(()=>({
|
|
574
574
|
type: 'object',
|
|
575
575
|
title: t('Custom filter'),
|
|
576
576
|
properties: {
|
|
577
577
|
fieldReaction: {
|
|
578
|
-
'x-component':
|
|
578
|
+
'x-component': FormFilterScope,
|
|
579
579
|
'x-component-props': {
|
|
580
580
|
useProps: ()=>{
|
|
581
|
-
const options =
|
|
581
|
+
const options = useCollectionFilterOptions(collectionName);
|
|
582
582
|
return {
|
|
583
583
|
options,
|
|
584
584
|
defaultValues: (null == gridSchema ? void 0 : gridSchema['x-filter-rules']) || (null == fieldSchema ? void 0 : fieldSchema['x-filter-rules']),
|
|
@@ -595,9 +595,9 @@ const SetFilterScope = (props)=>{
|
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
}), []);
|
|
598
|
-
const { getTemplateById } =
|
|
599
|
-
const { dn } =
|
|
600
|
-
const onSubmit =
|
|
598
|
+
const { getTemplateById } = useSchemaTemplateManager();
|
|
599
|
+
const { dn } = useDesignable();
|
|
600
|
+
const onSubmit = useCallback((v)=>{
|
|
601
601
|
const rules = v.fieldReaction.condition;
|
|
602
602
|
const templateId = 'BlockTemplate' === gridSchema['x-component'] && gridSchema['x-component-props'].templateId;
|
|
603
603
|
const uid = templateId && getTemplateById(templateId).uid || gridSchema['x-uid'];
|
|
@@ -615,7 +615,7 @@ const SetFilterScope = (props)=>{
|
|
|
615
615
|
getTemplateById,
|
|
616
616
|
gridSchema
|
|
617
617
|
]);
|
|
618
|
-
return /*#__PURE__*/
|
|
618
|
+
return /*#__PURE__*/ jsx(SchemaSettingsModalItem, {
|
|
619
619
|
title: t('Custom filter'),
|
|
620
620
|
width: 770,
|
|
621
621
|
schema: schema,
|
|
@@ -631,23 +631,23 @@ const actionSettingsItems = [
|
|
|
631
631
|
name: 'editButton',
|
|
632
632
|
Component: ButtonEditor,
|
|
633
633
|
useComponentProps () {
|
|
634
|
-
const { buttonEditorProps } =
|
|
634
|
+
const { buttonEditorProps } = useSchemaToolbar();
|
|
635
635
|
return buttonEditorProps;
|
|
636
636
|
}
|
|
637
637
|
},
|
|
638
638
|
{
|
|
639
639
|
name: 'linkageRules',
|
|
640
|
-
Component: (props)=>/*#__PURE__*/
|
|
640
|
+
Component: (props)=>/*#__PURE__*/ jsx(SchemaSettingsLinkageRules, {
|
|
641
641
|
...props
|
|
642
642
|
}),
|
|
643
643
|
useVisible () {
|
|
644
|
-
const isAction =
|
|
645
|
-
const { linkageAction } =
|
|
644
|
+
const isAction = useLinkageAction();
|
|
645
|
+
const { linkageAction } = useSchemaToolbar();
|
|
646
646
|
return linkageAction || isAction;
|
|
647
647
|
},
|
|
648
648
|
useComponentProps () {
|
|
649
|
-
const { name } =
|
|
650
|
-
const { linkageRulesProps } =
|
|
649
|
+
const { name } = useCollection_deprecated();
|
|
650
|
+
const { linkageRulesProps } = useSchemaToolbar();
|
|
651
651
|
return {
|
|
652
652
|
...linkageRulesProps,
|
|
653
653
|
collectionName: name
|
|
@@ -656,9 +656,9 @@ const actionSettingsItems = [
|
|
|
656
656
|
},
|
|
657
657
|
{
|
|
658
658
|
name: 'openMode',
|
|
659
|
-
Component:
|
|
659
|
+
Component: SchemaSettingOpenModeSchemaItems,
|
|
660
660
|
useComponentProps () {
|
|
661
|
-
const fieldSchema =
|
|
661
|
+
const fieldSchema = useFieldSchema();
|
|
662
662
|
const isPopupAction = [
|
|
663
663
|
'create',
|
|
664
664
|
'update',
|
|
@@ -677,7 +677,7 @@ const actionSettingsItems = [
|
|
|
677
677
|
name: 'secondConFirm',
|
|
678
678
|
Component: SecondConFirm,
|
|
679
679
|
useVisible () {
|
|
680
|
-
const fieldSchema =
|
|
680
|
+
const fieldSchema = useFieldSchema();
|
|
681
681
|
const isPopupAction = [
|
|
682
682
|
'create',
|
|
683
683
|
'update',
|
|
@@ -694,8 +694,8 @@ const actionSettingsItems = [
|
|
|
694
694
|
Component: AssignedFieldValues,
|
|
695
695
|
useVisible () {
|
|
696
696
|
var _fieldSchema_xactionsettings;
|
|
697
|
-
const fieldSchema =
|
|
698
|
-
return
|
|
697
|
+
const fieldSchema = useFieldSchema();
|
|
698
|
+
return isValid(null == fieldSchema ? void 0 : null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : _fieldSchema_xactionsettings.assignedValues);
|
|
699
699
|
}
|
|
700
700
|
},
|
|
701
701
|
{
|
|
@@ -703,8 +703,8 @@ const actionSettingsItems = [
|
|
|
703
703
|
Component: RequestSettings,
|
|
704
704
|
useVisible () {
|
|
705
705
|
var _fieldSchema_xactionsettings;
|
|
706
|
-
const fieldSchema =
|
|
707
|
-
return
|
|
706
|
+
const fieldSchema = useFieldSchema();
|
|
707
|
+
return isValid(null == fieldSchema ? void 0 : null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : _fieldSchema_xactionsettings.requestSettings);
|
|
708
708
|
}
|
|
709
709
|
},
|
|
710
710
|
{
|
|
@@ -712,8 +712,8 @@ const actionSettingsItems = [
|
|
|
712
712
|
Component: SkipValidation,
|
|
713
713
|
useVisible () {
|
|
714
714
|
var _fieldSchema_xactionsettings;
|
|
715
|
-
const fieldSchema =
|
|
716
|
-
return
|
|
715
|
+
const fieldSchema = useFieldSchema();
|
|
716
|
+
return isValid(null == fieldSchema ? void 0 : null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : _fieldSchema_xactionsettings.skipValidator);
|
|
717
717
|
}
|
|
718
718
|
},
|
|
719
719
|
{
|
|
@@ -721,8 +721,8 @@ const actionSettingsItems = [
|
|
|
721
721
|
Component: AfterSuccess,
|
|
722
722
|
useVisible () {
|
|
723
723
|
var _fieldSchema_xactionsettings;
|
|
724
|
-
const fieldSchema =
|
|
725
|
-
return
|
|
724
|
+
const fieldSchema = useFieldSchema();
|
|
725
|
+
return isValid(null == fieldSchema ? void 0 : null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : _fieldSchema_xactionsettings.onSuccess);
|
|
726
726
|
}
|
|
727
727
|
},
|
|
728
728
|
{
|
|
@@ -730,31 +730,31 @@ const actionSettingsItems = [
|
|
|
730
730
|
Component: WorkflowConfig,
|
|
731
731
|
useVisible () {
|
|
732
732
|
var _fieldSchema_xactionsettings;
|
|
733
|
-
const fieldSchema =
|
|
734
|
-
return
|
|
733
|
+
const fieldSchema = useFieldSchema();
|
|
734
|
+
return isValid(null == fieldSchema ? void 0 : null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : _fieldSchema_xactionsettings.triggerWorkflows);
|
|
735
735
|
}
|
|
736
736
|
},
|
|
737
737
|
{
|
|
738
738
|
name: 'saveMode',
|
|
739
|
-
Component:
|
|
739
|
+
Component: SaveMode,
|
|
740
740
|
useVisible () {
|
|
741
741
|
var _fieldSchema_parent;
|
|
742
|
-
const fieldSchema =
|
|
743
|
-
return 'submit' === fieldSchema['x-action'] && (null
|
|
742
|
+
const fieldSchema = useFieldSchema();
|
|
743
|
+
return 'submit' === fieldSchema['x-action'] && (null == (_fieldSchema_parent = fieldSchema.parent) ? void 0 : _fieldSchema_parent['x-initializer']) === 'createForm:configureActions';
|
|
744
744
|
}
|
|
745
745
|
},
|
|
746
746
|
{
|
|
747
747
|
name: 'enableChildCollections',
|
|
748
|
-
Component:
|
|
748
|
+
Component: SchemaSettingsEnableChildCollections,
|
|
749
749
|
useVisible () {
|
|
750
|
-
const fieldSchema =
|
|
751
|
-
const { name } =
|
|
752
|
-
const { getChildrenCollections } =
|
|
750
|
+
const fieldSchema = useFieldSchema();
|
|
751
|
+
const { name } = useCollection_deprecated();
|
|
752
|
+
const { getChildrenCollections } = useCollectionManager_deprecated();
|
|
753
753
|
const isChildCollectionAction = getChildrenCollections(name).length > 0 && 'create' === fieldSchema['x-action'];
|
|
754
754
|
return isChildCollectionAction;
|
|
755
755
|
},
|
|
756
756
|
useComponentProps () {
|
|
757
|
-
const { name } =
|
|
757
|
+
const { name } = useCollection_deprecated();
|
|
758
758
|
return {
|
|
759
759
|
collectionName: name
|
|
760
760
|
};
|
|
@@ -765,7 +765,7 @@ const actionSettingsItems = [
|
|
|
765
765
|
Component: SetFilterScope,
|
|
766
766
|
useVisible: useSetFilterScopeVisible,
|
|
767
767
|
useComponentProps () {
|
|
768
|
-
const collection =
|
|
768
|
+
const collection = useCollection();
|
|
769
769
|
return {
|
|
770
770
|
collectionName: collection.name
|
|
771
771
|
};
|
|
@@ -776,13 +776,13 @@ const actionSettingsItems = [
|
|
|
776
776
|
sort: 100,
|
|
777
777
|
Component: RemoveButton,
|
|
778
778
|
useComponentProps () {
|
|
779
|
-
const { removeButtonProps } =
|
|
779
|
+
const { removeButtonProps } = useSchemaToolbar();
|
|
780
780
|
return removeButtonProps;
|
|
781
781
|
},
|
|
782
782
|
useVisible () {
|
|
783
783
|
var _fieldSchema_xactionsettings;
|
|
784
|
-
const fieldSchema =
|
|
785
|
-
return (null == fieldSchema ? void 0 : null
|
|
784
|
+
const fieldSchema = useFieldSchema();
|
|
785
|
+
return (null == fieldSchema ? void 0 : null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : _fieldSchema_xactionsettings.removable) !== false;
|
|
786
786
|
}
|
|
787
787
|
}
|
|
788
788
|
]
|
|
@@ -790,13 +790,13 @@ const actionSettingsItems = [
|
|
|
790
790
|
];
|
|
791
791
|
function SecondConFirm() {
|
|
792
792
|
var _fieldSchema_xcomponentprops_confirm, _fieldSchema_xcomponentprops;
|
|
793
|
-
const { dn } =
|
|
794
|
-
const fieldSchema =
|
|
795
|
-
const { t } =
|
|
796
|
-
const field =
|
|
797
|
-
return /*#__PURE__*/
|
|
793
|
+
const { dn } = useDesignable();
|
|
794
|
+
const fieldSchema = useFieldSchema();
|
|
795
|
+
const { t } = useTranslation();
|
|
796
|
+
const field = useField();
|
|
797
|
+
return /*#__PURE__*/ jsx(SchemaSettingsSwitchItem, {
|
|
798
798
|
title: t('Secondary confirmation'),
|
|
799
|
-
checked: !!(null == fieldSchema ? void 0 : null
|
|
799
|
+
checked: !!(null == fieldSchema ? void 0 : null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : null == (_fieldSchema_xcomponentprops_confirm = _fieldSchema_xcomponentprops.confirm) ? void 0 : _fieldSchema_xcomponentprops_confirm.content),
|
|
800
800
|
onChange: (value)=>{
|
|
801
801
|
var _fieldSchema_xcomponentprops;
|
|
802
802
|
if (!fieldSchema['x-component-props']) fieldSchema['x-component-props'] = {};
|
|
@@ -806,7 +806,7 @@ function SecondConFirm() {
|
|
|
806
806
|
} : {};
|
|
807
807
|
else fieldSchema['x-component-props'].confirm = {};
|
|
808
808
|
field.componentProps.confirm = {
|
|
809
|
-
...null
|
|
809
|
+
...null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops.confirm
|
|
810
810
|
};
|
|
811
811
|
dn.emit('patch', {
|
|
812
812
|
schema: {
|
|
@@ -821,15 +821,15 @@ function SecondConFirm() {
|
|
|
821
821
|
}
|
|
822
822
|
function IsDownLoad() {
|
|
823
823
|
var _fieldSchema_xactionsettings_onSuccess, _fieldSchema_xactionsettings;
|
|
824
|
-
const { dn } =
|
|
825
|
-
const fieldSchema =
|
|
826
|
-
const { t } =
|
|
827
|
-
return /*#__PURE__*/
|
|
824
|
+
const { dn } = useDesignable();
|
|
825
|
+
const fieldSchema = useFieldSchema();
|
|
826
|
+
const { t } = useTranslation();
|
|
827
|
+
return /*#__PURE__*/ jsx(SchemaSettingsSwitchItem, {
|
|
828
828
|
title: t('Is DownLoad'),
|
|
829
|
-
checked: !!(null == fieldSchema ? void 0 : null
|
|
829
|
+
checked: !!(null == fieldSchema ? void 0 : null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : null == (_fieldSchema_xactionsettings_onSuccess = _fieldSchema_xactionsettings.onSuccess) ? void 0 : _fieldSchema_xactionsettings_onSuccess.down),
|
|
830
830
|
onChange: (value)=>{
|
|
831
831
|
var _fieldSchema_xactionsettings;
|
|
832
|
-
if (!(null == fieldSchema ? void 0 : null
|
|
832
|
+
if (!(null == fieldSchema ? void 0 : null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : _fieldSchema_xactionsettings.onSuccess)) fieldSchema['x-action-settings'] = {
|
|
833
833
|
...null == fieldSchema ? void 0 : fieldSchema['x-action-settings'],
|
|
834
834
|
onSuccess: {
|
|
835
835
|
down: false
|
|
@@ -849,13 +849,13 @@ function IsDownLoad() {
|
|
|
849
849
|
}
|
|
850
850
|
function ShowData() {
|
|
851
851
|
var _fieldSchema_xcomponentprops;
|
|
852
|
-
const { dn } =
|
|
853
|
-
const fieldSchema =
|
|
854
|
-
const { t } =
|
|
855
|
-
const field =
|
|
856
|
-
return /*#__PURE__*/
|
|
852
|
+
const { dn } = useDesignable();
|
|
853
|
+
const fieldSchema = useFieldSchema();
|
|
854
|
+
const { t } = useTranslation();
|
|
855
|
+
const field = useField();
|
|
856
|
+
return /*#__PURE__*/ jsx(SchemaSettingsSwitchItem, {
|
|
857
857
|
title: t('Show Data'),
|
|
858
|
-
checked: !!(null == fieldSchema ? void 0 : null
|
|
858
|
+
checked: !!(null == fieldSchema ? void 0 : null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops.showData),
|
|
859
859
|
onChange: (value)=>{
|
|
860
860
|
if (!(null == fieldSchema ? void 0 : fieldSchema['x-component-props'])) fieldSchema['x-component-props'] = {
|
|
861
861
|
showData: false
|
|
@@ -875,17 +875,17 @@ function ShowData() {
|
|
|
875
875
|
}
|
|
876
876
|
function SettingDownTitle() {
|
|
877
877
|
var _fieldSchema_xactionsettings_onSuccess, _fieldSchema_xactionsettings;
|
|
878
|
-
const fieldSchema =
|
|
879
|
-
const { dn } =
|
|
880
|
-
const { t } =
|
|
881
|
-
return /*#__PURE__*/
|
|
878
|
+
const fieldSchema = useFieldSchema();
|
|
879
|
+
const { dn } = useDesignable();
|
|
880
|
+
const { t } = useTranslation();
|
|
881
|
+
return /*#__PURE__*/ jsx(SchemaSettingsModalItem, {
|
|
882
882
|
title: t('Setting Down Title'),
|
|
883
883
|
onSubmit: (param)=>{
|
|
884
884
|
let { title } = param;
|
|
885
885
|
if (null == fieldSchema ? void 0 : fieldSchema['x-action-settings']) {
|
|
886
886
|
var _fieldSchema_xactionsettings;
|
|
887
887
|
fieldSchema['x-action-settings']['onSuccess'] = {
|
|
888
|
-
...null
|
|
888
|
+
...null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : _fieldSchema_xactionsettings['onSuccess'],
|
|
889
889
|
downTitle: title
|
|
890
890
|
};
|
|
891
891
|
} else fieldSchema['x-action-settings'] = {
|
|
@@ -908,25 +908,25 @@ function SettingDownTitle() {
|
|
|
908
908
|
properties: {
|
|
909
909
|
title: {
|
|
910
910
|
'x-component': 'Input',
|
|
911
|
-
default: (null
|
|
911
|
+
default: (null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : null == (_fieldSchema_xactionsettings_onSuccess = _fieldSchema_xactionsettings['onSuccess']) ? void 0 : _fieldSchema_xactionsettings_onSuccess.downTitle) || 'document.docx'
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
914
|
}
|
|
915
915
|
});
|
|
916
916
|
}
|
|
917
|
-
const actionSettings = new
|
|
917
|
+
const actionSettings = new SchemaSettings({
|
|
918
918
|
name: 'ActionSettings',
|
|
919
919
|
items: actionSettingsItems
|
|
920
920
|
});
|
|
921
921
|
const ActionDesigner = (props)=>{
|
|
922
922
|
const { modalTip, linkageAction, removeButtonProps, buttonEditorProps, linkageRulesProps, schemaSettings, ...restProps } = props;
|
|
923
|
-
const app =
|
|
924
|
-
const fieldSchema =
|
|
923
|
+
const app = useApp();
|
|
924
|
+
const fieldSchema = useFieldSchema();
|
|
925
925
|
const isDraggable = (null == fieldSchema ? void 0 : fieldSchema.parent['x-component']) !== 'CollectionField';
|
|
926
926
|
const settingsName = "ActionSettings:".concat(fieldSchema['x-action']);
|
|
927
927
|
const defaultActionSettings = schemaSettings || 'ActionSettings';
|
|
928
928
|
const hasAction = app.schemaSettingsManager.has(settingsName);
|
|
929
|
-
return /*#__PURE__*/
|
|
929
|
+
return /*#__PURE__*/ jsx(GeneralSchemaDesigner, {
|
|
930
930
|
schemaSettings: hasAction ? settingsName : defaultActionSettings,
|
|
931
931
|
contextValue: {
|
|
932
932
|
modalTip,
|