@tachybase/client 1.3.8 → 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/api-client/__tests__/APIClient.test.mjs +0 -55
- package/es/api-client/demos/demo1.mjs +0 -32
- package/es/api-client/demos/demo2.mjs +0 -31
- package/es/api-client/demos/demo3.mjs +0 -74
- package/es/application/__tests__/Application.test.mjs +0 -481
- package/es/application/__tests__/Plugin.test.mjs +0 -197
- package/es/application/__tests__/PluginSettingsManager.test.mjs +0 -156
- package/es/application/__tests__/RouterManager.test.mjs +0 -311
- package/es/application/__tests__/SchemaInitializer.test.mjs +0 -163
- package/es/application/__tests__/SchemaToolbar.test.mjs +0 -143
- package/es/application/__tests__/hoc/withDynamicSchemaProps.test.mjs +0 -187
- package/es/application/__tests__/hooks.test.mjs +0 -85
- package/es/application/__tests__/utils/remotePlugins.test.mjs +0 -318
- package/es/application/__tests__/utils.test.mjs +0 -99
- package/es/application/demos/demo1.mjs +0 -110
- package/es/application/demos/demo2.mjs +0 -126
- package/es/application/demos/demo3.mjs +0 -11
- package/es/collection-manager/demos/demo2.mjs +0 -106
- package/es/collection-manager/demos/demo3.mjs +0 -76
- package/es/collection-manager/demos/demo4.mjs +0 -168
- package/es/collection-manager/demos/demo5.mjs +0 -152
- package/es/collection-manager/interfaces/__tests__/json.mjs +0 -40
- package/es/data-source/__tests__/collection/AssociationProvider.test.mjs +0 -113
- package/es/data-source/__tests__/collection/Collection.test.mjs +0 -297
- package/es/data-source/__tests__/collection/CollectionManager.test.mjs +0 -297
- package/es/data-source/__tests__/collection/CollectionManagerProvider.test.mjs +0 -114
- package/es/data-source/__tests__/collection/CollectionProvider.test.mjs +0 -106
- package/es/data-source/__tests__/collection/ExtendCollectionsProvider.test.mjs +0 -87
- package/es/data-source/__tests__/collection-field/CollectionField.test.mjs +0 -67
- package/es/data-source/__tests__/collection-field/CollectionFieldProvider.test.mjs +0 -51
- package/es/data-source/__tests__/collection-field-interface/CollectionFieldInterfaceManager.test.mjs +0 -162
- package/es/data-source/__tests__/collection-record/CollectionRecord.test.mjs +0 -21
- package/es/data-source/__tests__/collection-record/CollectionRecordProvider.test.mjs +0 -253
- package/es/data-source/__tests__/collection-record/isNewRecord.test.mjs +0 -45
- package/es/data-source/__tests__/collection-template/CollectionTemplateManager.test.mjs +0 -123
- package/es/data-source/__tests__/components/CollectionDeletedPlaceholder.test.mjs +0 -43
- package/es/data-source/__tests__/data-block/DataBlockProvider.test.mjs +0 -114
- package/es/data-source/__tests__/data-block/data-block-demos/association-table-list-and-parent-record.mjs +0 -88
- package/es/data-source/__tests__/data-block/data-block-demos/association-table-list-and-source-id.mjs +0 -139
- package/es/data-source/__tests__/data-block/data-block-demos/collection-form-create.mjs +0 -109
- package/es/data-source/__tests__/data-block/data-block-demos/collection-form-get-and-update.mjs +0 -174
- package/es/data-source/__tests__/data-block/data-block-demos/collection-form-record-and-update.mjs +0 -138
- package/es/data-source/__tests__/data-block/data-block-demos/collection-table-list.mjs +0 -94
- package/es/data-source/__tests__/data-block/data-block-demos/createApp.mjs +0 -55
- package/es/data-source/__tests__/data-source/CollectionDataSourceProvider.test.mjs +0 -35
- package/es/data-source/__tests__/data-source/DataSource.test.mjs +0 -75
- package/es/data-source/__tests__/data-source/DataSourceManager.test.mjs +0 -166
- package/es/data-source/__tests__/data-source/DataSourceManagerProvider.test.mjs +0 -30
- package/es/data-source/__tests__/data-source/DataSourceProvider.test.mjs +0 -79
- package/es/data-source/__tests__/utils.test.mjs +0 -55
- package/es/env.d.mjs +0 -0
- package/es/filter-provider/__tests__/transformToFilter.mjs +0 -65
- package/es/filter-provider/__tests__/useFilter.mjs +0 -41
- package/es/filter-provider/__tests__/utiles.test.mjs +0 -265
- package/es/flag-provider/__tests__/flag-provider.test.mjs +0 -19
- package/es/icon/__tests__/icon.test.mjs +0 -25
- package/es/icon/demos/antd-icon.mjs +0 -7
- package/es/icon/demos/custom-icon.mjs +0 -16
- package/es/icon/demos/iconfont.mjs +0 -10
- package/es/icon/demos/register-icon.mjs +0 -23
- package/es/modules/actions/disassociate/__e2e__/disassociate.test.mjs +0 -39
- package/es/modules/actions/disassociate/__e2e__/templatesOfPage.mjs +0 -383
- package/es/modules/blocks/data-blocks/details-multi/__e2e__/schemaInitializer.test.mjs +0 -112
- package/es/modules/blocks/data-blocks/details-multi/__e2e__/schemaSettings.test.mjs +0 -72
- package/es/modules/blocks/data-blocks/details-multi/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/blocks/data-blocks/details-multi/__tests__/createDetailsBlockWithPagingUISchema.test.mjs +0 -14
- package/es/modules/blocks/data-blocks/details-single/__e2e__/schemaInitializer.test.mjs +0 -98
- package/es/modules/blocks/data-blocks/details-single/__e2e__/schemaSettings.test.mjs +0 -24
- package/es/modules/blocks/data-blocks/details-single/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/blocks/data-blocks/details-single/__tests__/createDetailsBlockWithoutPagingUISchema.test.mjs +0 -14
- package/es/modules/blocks/data-blocks/form/__e2e__/form-create/associationForm.test.mjs +0 -14
- package/es/modules/blocks/data-blocks/form/__e2e__/form-create/dragAndDrop.test.mjs +0 -26
- package/es/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadAssociationFields.test.mjs +0 -168
- package/es/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadVariables.test.mjs +0 -28
- package/es/modules/blocks/data-blocks/form/__e2e__/form-create/schemaInitializer.test.mjs +0 -141
- package/es/modules/blocks/data-blocks/form/__e2e__/form-create/schemaSettings.test.mjs +0 -1254
- package/es/modules/blocks/data-blocks/form/__e2e__/form-create/templatesOfBug.mjs +0 -6002
- package/es/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaInitializer.test.mjs +0 -16
- package/es/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaSettings.test.mjs +0 -212
- package/es/modules/blocks/data-blocks/form/__e2e__/form-edit/templatesOfBug.mjs +0 -0
- package/es/modules/blocks/data-blocks/form/__tests__/createCreateFormBlockUISchema.test.mjs +0 -19
- package/es/modules/blocks/data-blocks/form/__tests__/createEditFormBlockUISchema.test.mjs +0 -18
- package/es/modules/blocks/data-blocks/grid-card/__e2e__/schemaInitializer.test.mjs +0 -220
- package/es/modules/blocks/data-blocks/grid-card/__e2e__/schemaSettings.test.mjs +0 -48
- package/es/modules/blocks/data-blocks/grid-card/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/blocks/data-blocks/grid-card/__tests__/createGridCardBlockSchema.test.mjs +0 -26
- package/es/modules/blocks/data-blocks/list/__e2e__/schemaInitializer.test.mjs +0 -211
- package/es/modules/blocks/data-blocks/list/__e2e__/schemaSettings.test.mjs +0 -23
- package/es/modules/blocks/data-blocks/list/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/blocks/data-blocks/list/__tests__/createListBlockSchema.test.mjs +0 -24
- package/es/modules/blocks/data-blocks/table/__e2e__/actions/duplicate.test.mjs +0 -9
- package/es/modules/blocks/data-blocks/table/__e2e__/actions/filter.test.mjs +0 -33
- package/es/modules/blocks/data-blocks/table/__e2e__/checkboxForTableRow.test.mjs +0 -19
- package/es/modules/blocks/data-blocks/table/__e2e__/dragAndDrop.test.mjs +0 -31
- package/es/modules/blocks/data-blocks/table/__e2e__/schemaInitializer.test.mjs +0 -419
- package/es/modules/blocks/data-blocks/table/__e2e__/schemaSettings.test.mjs +0 -869
- package/es/modules/blocks/data-blocks/table/__e2e__/templatesOfBug.mjs +0 -934
- package/es/modules/blocks/data-blocks/table/__e2e__/tree/schemaSettings.test.mjs +0 -42
- package/es/modules/blocks/data-blocks/table/__tests__/createTableBLockSchema.test.mjs +0 -16
- package/es/modules/blocks/data-blocks/table-selector/__e2e__/schemaInitializer.test.mjs +0 -159
- package/es/modules/blocks/data-blocks/table-selector/__e2e__/schemaSettings.test.mjs +0 -146
- package/es/modules/blocks/data-blocks/table-selector/__e2e__/templatesOfBug.mjs +0 -692
- package/es/modules/blocks/data-blocks/table-selector/__e2e__/utils.mjs +0 -12
- package/es/modules/blocks/data-blocks/table-selector/__tests__/createTableSelectorSchema.test.mjs +0 -14
- package/es/modules/blocks/filter-blocks/collapse/__e2e__/schemaInitializer.test.mjs +0 -59
- package/es/modules/blocks/filter-blocks/collapse/__e2e__/schemaSettings.test.mjs +0 -62
- package/es/modules/blocks/filter-blocks/collapse/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/blocks/filter-blocks/collapse/__tests__/createCollapseBlockSchema.test.mjs +0 -40
- package/es/modules/blocks/filter-blocks/form/__e2e__/schemaInitializer.test.mjs +0 -115
- package/es/modules/blocks/filter-blocks/form/__e2e__/schemaSettings.test.mjs +0 -98
- package/es/modules/blocks/filter-blocks/form/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/blocks/filter-blocks/form/__tests__/createFilterFormBlockSchema.test.mjs +0 -23
- package/es/modules/blocks/other-blocks/markdown/__e2e__/schemaInitializer.test.mjs +0 -10
- package/es/modules/blocks/other-blocks/markdown/__e2e__/schemaSettings.test.mjs +0 -33
- package/es/modules/blocks/other-blocks/markdown/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/dialog/__e2e__/schemaInitializer.test.mjs +0 -388
- package/es/modules/dialog/__e2e__/schemaSettings.test.mjs +0 -59
- package/es/modules/dialog/__e2e__/templatesOfBug.mjs +0 -2122
- package/es/modules/dialog/__e2e__/zIndex.test.mjs +0 -35
- package/es/modules/fields/component/DatePicker/__e2e__/schemaSettings.test.mjs +0 -74
- package/es/modules/fields/component/DatePicker/__e2e__/utils.mjs +0 -323
- package/es/modules/menu/__e2e__/dragAndDrop.test.mjs +0 -27
- package/es/modules/menu/__e2e__/schemaInitializer.test.mjs +0 -101
- package/es/modules/menu/__e2e__/schemaSettings.test.mjs +0 -347
- package/es/modules/menu/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/page/__e2e__/blockInitializers.test.mjs +0 -17
- package/es/modules/page/__e2e__/dragAndDrop.test.mjs +0 -16
- package/es/modules/page/__e2e__/schemaInitailizer.test.mjs +0 -15
- package/es/modules/page/__e2e__/schemaSettings.test.mjs +0 -134
- package/es/modules/page/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/plugin-manager/__e2e__/pluginManager.test.mjs +0 -113
- package/es/modules/plugin-manager/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/user-center/__e2e__/settings.test.mjs +0 -12
- package/es/schema-component/antd/action/__tests__/action.test.mjs +0 -116
- package/es/schema-component/antd/action/demos/demo1.mjs +0 -70
- package/es/schema-component/antd/action/demos/demo2.mjs +0 -75
- package/es/schema-component/antd/action/demos/demo3.mjs +0 -127
- package/es/schema-component/antd/action/demos/demo4.mjs +0 -58
- package/es/schema-component/antd/action/demos/demo5.mjs +0 -211
- package/es/schema-component/antd/action/demos/demo6.mjs +0 -95
- package/es/schema-component/antd/association-select/__tests__/association-select.test.mjs +0 -16
- package/es/schema-component/antd/association-select/demos/demo1.mjs +0 -55
- package/es/schema-component/antd/block-item/__tests__/block-item.test.mjs +0 -14
- package/es/schema-component/antd/block-item/demos/demo1.mjs +0 -60
- package/es/schema-component/antd/card-item/__tests__/card-item.test.mjs +0 -11
- package/es/schema-component/antd/card-item/demos/demo1.mjs +0 -31
- package/es/schema-component/antd/cascader/__tests__/cascader.test.mjs +0 -29
- package/es/schema-component/antd/cascader/demos/demo1.mjs +0 -82
- package/es/schema-component/antd/cascader/demos/demo2.mjs +0 -115
- package/es/schema-component/antd/checkbox/__tests__/checkbox.test.mjs +0 -40
- package/es/schema-component/antd/checkbox/demos/checkbox.group.mjs +0 -54
- package/es/schema-component/antd/checkbox/demos/checkbox.mjs +0 -40
- package/es/schema-component/antd/collection-select/__tests__/collection-select.test.mjs +0 -16
- package/es/schema-component/antd/collection-select/demos/demo1.mjs +0 -36
- package/es/schema-component/antd/color-picker/demos/demo1.mjs +0 -49
- package/es/schema-component/antd/color-select/__tests__/color-select.test.mjs +0 -16
- package/es/schema-component/antd/color-select/demos/demo1.mjs +0 -40
- package/es/schema-component/antd/cron/__tests__/cron-set.test.mjs +0 -30
- package/es/schema-component/antd/cron/demos/demo1.mjs +0 -32
- package/es/schema-component/antd/cron/demos/demo2.mjs +0 -51
- package/es/schema-component/antd/date-picker/__tests__/date-picker.test.mjs +0 -178
- package/es/schema-component/antd/date-picker/__tests__/getDateRanges.test.mjs +0 -110
- package/es/schema-component/antd/date-picker/__tests__/mapDatePicker.test.mjs +0 -200
- package/es/schema-component/antd/date-picker/__tests__/mapRangePicker.test.mjs +0 -59
- package/es/schema-component/antd/date-picker/__tests__/util.test.mjs +0 -166
- package/es/schema-component/antd/date-picker/demos/demo1.mjs +0 -57
- package/es/schema-component/antd/date-picker/demos/demo10.mjs +0 -61
- package/es/schema-component/antd/date-picker/demos/demo11.mjs +0 -65
- package/es/schema-component/antd/date-picker/demos/demo2.mjs +0 -60
- package/es/schema-component/antd/date-picker/demos/demo3.mjs +0 -58
- package/es/schema-component/antd/date-picker/demos/demo4.mjs +0 -72
- package/es/schema-component/antd/date-picker/demos/demo5.mjs +0 -71
- package/es/schema-component/antd/date-picker/demos/demo6.mjs +0 -71
- package/es/schema-component/antd/date-picker/demos/demo7.mjs +0 -61
- package/es/schema-component/antd/date-picker/demos/demo8.mjs +0 -61
- package/es/schema-component/antd/date-picker/demos/demo9.mjs +0 -61
- package/es/schema-component/antd/details/__tests__/details.test.mjs +0 -10
- package/es/schema-component/antd/details/demos/demo1.mjs +0 -42
- package/es/schema-component/antd/error-fallback/__tests__/error-fallback.test.mjs +0 -17
- package/es/schema-component/antd/error-fallback/demos/demo1.mjs +0 -13
- package/es/schema-component/antd/filter/__tests__/filter.test.mjs +0 -113
- package/es/schema-component/antd/filter/demos/demo2.mjs +0 -129
- package/es/schema-component/antd/filter/demos/demo3.mjs +0 -196
- package/es/schema-component/antd/filter/demos/demo4.mjs +0 -184
- package/es/schema-component/antd/filter/demos/demo5.mjs +0 -131
- package/es/schema-component/antd/filter/demos/demo6.mjs +0 -118
- package/es/schema-component/antd/form/__tests__/form.test.mjs +0 -113
- package/es/schema-component/antd/form/demos/apiClient.mjs +0 -17
- package/es/schema-component/antd/form/demos/demo1.mjs +0 -73
- package/es/schema-component/antd/form/demos/demo2.mjs +0 -73
- package/es/schema-component/antd/form/demos/demo3.mjs +0 -72
- package/es/schema-component/antd/form/demos/demo4.mjs +0 -80
- package/es/schema-component/antd/form/demos/demo5.mjs +0 -114
- package/es/schema-component/antd/form/demos/demo6.mjs +0 -71
- package/es/schema-component/antd/form/demos/demo7.mjs +0 -75
- package/es/schema-component/antd/form/demos/demo8.mjs +0 -86
- package/es/schema-component/antd/form-item/__tests__/form-item.test.mjs +0 -12
- package/es/schema-component/antd/form-item/__tests__/hooks/useSpecialCase.test.mjs +0 -27
- package/es/schema-component/antd/form-item/__tests__/utils.test.mjs +0 -65
- package/es/schema-component/antd/form-item/demos/demo1.mjs +0 -37
- package/es/schema-component/antd/form-v2/__tests__/form-v2.test.mjs +0 -47
- package/es/schema-component/antd/form-v2/demos/collections.mjs +0 -1565
- package/es/schema-component/antd/form-v2/demos/demo1.mjs +0 -108
- package/es/schema-component/antd/form-v2/demos/demo2.mjs +0 -131
- package/es/schema-component/antd/form-v2/demos/demo3.mjs +0 -117
- package/es/schema-component/antd/grid/__tests__/grid.test.mjs +0 -26
- package/es/schema-component/antd/grid/demos/demo1.mjs +0 -194
- package/es/schema-component/antd/grid/demos/demo2.mjs +0 -97
- package/es/schema-component/antd/grid/demos/demo3.mjs +0 -83
- package/es/schema-component/antd/grid-card/__tests__/grid-card.test.mjs +0 -9
- package/es/schema-component/antd/grid-card/demos/demo1.mjs +0 -6
- package/es/schema-component/antd/icon-picker/__tests__/icon-picker.test.mjs +0 -25
- package/es/schema-component/antd/icon-picker/demos/icon-picker.mjs +0 -40
- package/es/schema-component/antd/input/__tests__/Input.test.mjs +0 -115
- package/es/schema-component/antd/input/demos/input.mjs +0 -40
- package/es/schema-component/antd/input/demos/json.mjs +0 -46
- package/es/schema-component/antd/input/demos/textarea.mjs +0 -68
- package/es/schema-component/antd/input/demos/url.mjs +0 -42
- package/es/schema-component/antd/input-number/__tests__/input-number.test.mjs +0 -116
- package/es/schema-component/antd/input-number/demos/addonBefore&addonAfter.mjs +0 -48
- package/es/schema-component/antd/input-number/demos/highPrecisionDecimals.mjs +0 -50
- package/es/schema-component/antd/input-number/demos/inputNumber.mjs +0 -40
- package/es/schema-component/antd/list/__tests__/list.test.mjs +0 -9
- package/es/schema-component/antd/list/demos/demo1.mjs +0 -6
- package/es/schema-component/antd/markdown/__tests__/markdown.test.mjs +0 -27
- package/es/schema-component/antd/markdown/demos/demo1.mjs +0 -40
- package/es/schema-component/antd/markdown/demos/demo2.mjs +0 -51
- package/es/schema-component/antd/menu/__tests__/menu.test.mjs +0 -38
- package/es/schema-component/antd/menu/demos/demo1.mjs +0 -93
- package/es/schema-component/antd/menu/demos/demo2.mjs +0 -96
- package/es/schema-component/antd/menu/demos/demo3.mjs +0 -135
- package/es/schema-component/antd/page/__tests__/page.test.mjs +0 -18
- package/es/schema-component/antd/page/demos/demo1.mjs +0 -38
- package/es/schema-component/antd/password/__tests__/password.test.mjs +0 -28
- package/es/schema-component/antd/password/__tests__/utils.test.mjs +0 -21
- package/es/schema-component/antd/password/demos/demo1.mjs +0 -40
- package/es/schema-component/antd/password/demos/demo2.mjs +0 -43
- package/es/schema-component/antd/percent/__tests__/percent.test.mjs +0 -16
- package/es/schema-component/antd/percent/demos/percent.mjs +0 -40
- package/es/schema-component/antd/preview/__tests__/preview.test.mjs +0 -11
- package/es/schema-component/antd/preview/demos/demo1.mjs +0 -81
- package/es/schema-component/antd/radio/__tests__/radio.test.mjs +0 -43
- package/es/schema-component/antd/radio/demos/demo1.mjs +0 -40
- package/es/schema-component/antd/radio/demos/demo2.mjs +0 -52
- package/es/schema-component/antd/radio/demos/demo3.mjs +0 -54
- package/es/schema-component/antd/record-picker/__tests__/record-picker.test.mjs +0 -27
- package/es/schema-component/antd/record-picker/demos/demo1.mjs +0 -175
- package/es/schema-component/antd/record-picker/demos/mockData.mjs +0 -211
- package/es/schema-component/antd/remote-select/__tests__/remote-select.test.mjs +0 -16
- package/es/schema-component/antd/remote-select/demos/demo1.mjs +0 -55
- package/es/schema-component/antd/rich-text/__tests__/rich-text.test.mjs +0 -13
- package/es/schema-component/antd/rich-text/demos/demo1.mjs +0 -41
- package/es/schema-component/antd/select/__tests__/select.test.mjs +0 -41
- package/es/schema-component/antd/select/__tests__/utils.test.mjs +0 -129
- package/es/schema-component/antd/select/demos/demo1.mjs +0 -72
- package/es/schema-component/antd/select/demos/demo2.mjs +0 -76
- package/es/schema-component/antd/select/demos/demo3.mjs +0 -84
- package/es/schema-component/antd/table/__tests__/table.test.mjs +0 -21
- package/es/schema-component/antd/table/demos/demo1.mjs +0 -63
- package/es/schema-component/antd/table/demos/demo2.mjs +0 -63
- package/es/schema-component/antd/table/demos/demo3.mjs +0 -63
- package/es/schema-component/antd/table/demos/demo4.mjs +0 -217
- package/es/schema-component/antd/table-v2/__tests__/table-v2.test.mjs +0 -13
- package/es/schema-component/antd/table-v2/demos/collections.mjs +0 -1560
- package/es/schema-component/antd/table-v2/demos/demo1.mjs +0 -220
- package/es/schema-component/antd/table-v2/demos/demo2.mjs +0 -117
- package/es/schema-component/antd/tabs/__tests__/tabs.test.mjs +0 -14
- package/es/schema-component/antd/tabs/demos/demo1.mjs +0 -67
- package/es/schema-component/antd/time-picker/__tests__/time-picker.test.mjs +0 -45
- package/es/schema-component/antd/time-picker/demos/demo1.mjs +0 -40
- package/es/schema-component/antd/time-picker/demos/demo2.mjs +0 -40
- package/es/schema-component/antd/tree-select/__tests__/tree-select.test.mjs +0 -14
- package/es/schema-component/antd/tree-select/demos/demo1.mjs +0 -84
- package/es/schema-component/antd/upload/__tests__/upload.test.mjs +0 -13
- package/es/schema-component/antd/upload/demos/apiClient.mjs +0 -43
- package/es/schema-component/antd/upload/demos/demo1.mjs +0 -48
- package/es/schema-component/antd/upload/demos/demo2.mjs +0 -115
- package/es/schema-component/antd/upload/type.d.mjs +0 -1
- package/es/schema-component/antd/variable/__tests__/variable.test.mjs +0 -45
- package/es/schema-component/antd/variable/demos/demo1.mjs +0 -44
- package/es/schema-component/antd/variable/demos/demo2.mjs +0 -44
- package/es/schema-component/antd/variable/demos/demo3.mjs +0 -44
- package/es/schema-component/demos/demo1.mjs +0 -89
- package/es/schema-component/demos/demo2.mjs +0 -23
- package/es/schema-component/demos/demo3.mjs +0 -24
- package/es/schema-component/demos/demo4.mjs +0 -24
- package/es/schema-component/hooks/__tests__/designable.test.mjs +0 -548
- package/es/schema-component/hooks/__tests__/splitWrapSchema.test.mjs +0 -89
- package/es/schema-initializer/demos/basic.mjs +0 -62
- package/es/schema-initializer/demos/build-type.mjs +0 -83
- package/es/schema-initializer/demos/custom-button.mjs +0 -94
- package/es/schema-initializer/demos/custom-items-component.mjs +0 -100
- package/es/schema-initializer/demos/dynamic-visible-children.mjs +0 -81
- package/es/schema-initializer/demos/insert-schema-action.mjs +0 -92
- package/es/schema-initializer/demos/insert-schema-basic.mjs +0 -112
- package/es/schema-initializer/demos/insert-schema-form-item.mjs +0 -136
- package/es/schema-initializer/demos/nested-items.mjs +0 -148
- package/es/schema-settings/demos/basic.mjs +0 -60
- package/es/schema-settings/demos/built-type.mjs +0 -142
- package/es/schema-settings/demos/custom-component.mjs +0 -42
- package/es/schema-settings/demos/demo3.mjs +0 -100
- package/es/schema-settings/demos/schema-basic.mjs +0 -64
- package/es/user/__tests__/current-user-settings-menu-provider.test.mjs +0 -36
- package/es/variables/__tests__/useVariables.test.mjs +0 -406
- package/es/variables/__tests__/utils/filterEmptyValues.test.mjs +0 -46
- package/es/variables/__tests__/utils/getPath.test.mjs +0 -4
- package/es/variables/__tests__/utils/getVariableName.test.mjs +0 -4
- package/es/variables/__tests__/utils/isVariable.test.mjs +0 -22
- package/es/variables/__tests__/utils/transformVariableValue.test.mjs +0 -136
- package/es/variables/__tests__/utils/uniq.test.mjs +0 -77
- package/lib/api-client/__tests__/APIClient.test.js +0 -90
- package/lib/api-client/demos/demo1.js +0 -80
- package/lib/api-client/demos/demo2.js +0 -79
- package/lib/api-client/demos/demo3.js +0 -122
- package/lib/application/__tests__/Application.test.js +0 -517
- package/lib/application/__tests__/Plugin.test.js +0 -233
- package/lib/application/__tests__/PluginSettingsManager.test.js +0 -192
- package/lib/application/__tests__/RouterManager.test.js +0 -347
- package/lib/application/__tests__/SchemaInitializer.test.js +0 -170
- package/lib/application/__tests__/SchemaToolbar.test.js +0 -150
- package/lib/application/__tests__/hoc/withDynamicSchemaProps.test.js +0 -194
- package/lib/application/__tests__/hooks.test.js +0 -92
- package/lib/application/__tests__/utils/remotePlugins.test.js +0 -325
- package/lib/application/__tests__/utils.test.js +0 -106
- package/lib/application/demos/demo1.js +0 -144
- package/lib/application/demos/demo2.js +0 -160
- package/lib/application/demos/demo3.js +0 -46
- package/lib/collection-manager/demos/demo2.js +0 -140
- package/lib/collection-manager/demos/demo3.js +0 -124
- package/lib/collection-manager/demos/demo4.js +0 -202
- package/lib/collection-manager/demos/demo5.js +0 -186
- package/lib/collection-manager/interfaces/__tests__/json.js +0 -47
- package/lib/data-source/__tests__/collection/AssociationProvider.test.js +0 -120
- package/lib/data-source/__tests__/collection/Collection.test.js +0 -304
- package/lib/data-source/__tests__/collection/CollectionManager.test.js +0 -304
- package/lib/data-source/__tests__/collection/CollectionManagerProvider.test.js +0 -121
- package/lib/data-source/__tests__/collection/CollectionProvider.test.js +0 -113
- package/lib/data-source/__tests__/collection/ExtendCollectionsProvider.test.js +0 -94
- package/lib/data-source/__tests__/collection-field/CollectionField.test.js +0 -74
- package/lib/data-source/__tests__/collection-field/CollectionFieldProvider.test.js +0 -58
- package/lib/data-source/__tests__/collection-field-interface/CollectionFieldInterfaceManager.test.js +0 -169
- package/lib/data-source/__tests__/collection-record/CollectionRecord.test.js +0 -28
- package/lib/data-source/__tests__/collection-record/CollectionRecordProvider.test.js +0 -260
- package/lib/data-source/__tests__/collection-record/isNewRecord.test.js +0 -52
- package/lib/data-source/__tests__/collection-template/CollectionTemplateManager.test.js +0 -130
- package/lib/data-source/__tests__/components/CollectionDeletedPlaceholder.test.js +0 -50
- package/lib/data-source/__tests__/data-block/DataBlockProvider.test.js +0 -154
- package/lib/data-source/__tests__/data-block/data-block-demos/association-table-list-and-parent-record.js +0 -122
- package/lib/data-source/__tests__/data-block/data-block-demos/association-table-list-and-source-id.js +0 -187
- package/lib/data-source/__tests__/data-block/data-block-demos/collection-form-create.js +0 -143
- package/lib/data-source/__tests__/data-block/data-block-demos/collection-form-get-and-update.js +0 -222
- package/lib/data-source/__tests__/data-block/data-block-demos/collection-form-record-and-update.js +0 -172
- package/lib/data-source/__tests__/data-block/data-block-demos/collection-table-list.js +0 -128
- package/lib/data-source/__tests__/data-block/data-block-demos/createApp.js +0 -103
- package/lib/data-source/__tests__/data-source/CollectionDataSourceProvider.test.js +0 -42
- package/lib/data-source/__tests__/data-source/DataSource.test.js +0 -82
- package/lib/data-source/__tests__/data-source/DataSourceManager.test.js +0 -173
- package/lib/data-source/__tests__/data-source/DataSourceManagerProvider.test.js +0 -37
- package/lib/data-source/__tests__/data-source/DataSourceProvider.test.js +0 -86
- package/lib/data-source/__tests__/utils.test.js +0 -62
- package/lib/env.d.js +0 -6
- package/lib/filter-provider/__tests__/transformToFilter.js +0 -72
- package/lib/filter-provider/__tests__/useFilter.js +0 -48
- package/lib/filter-provider/__tests__/utiles.test.js +0 -272
- package/lib/flag-provider/__tests__/flag-provider.test.js +0 -26
- package/lib/icon/__tests__/icon.test.js +0 -63
- package/lib/icon/demos/antd-icon.js +0 -41
- package/lib/icon/demos/custom-icon.js +0 -50
- package/lib/icon/demos/iconfont.js +0 -44
- package/lib/icon/demos/register-icon.js +0 -57
- package/lib/modules/actions/disassociate/__e2e__/disassociate.test.js +0 -46
- package/lib/modules/actions/disassociate/__e2e__/templatesOfPage.js +0 -419
- package/lib/modules/blocks/data-blocks/details-multi/__e2e__/schemaInitializer.test.js +0 -119
- package/lib/modules/blocks/data-blocks/details-multi/__e2e__/schemaSettings.test.js +0 -79
- package/lib/modules/blocks/data-blocks/details-multi/__e2e__/templatesOfBug.js +0 -6
- package/lib/modules/blocks/data-blocks/details-multi/__tests__/createDetailsBlockWithPagingUISchema.test.js +0 -21
- package/lib/modules/blocks/data-blocks/details-single/__e2e__/schemaInitializer.test.js +0 -105
- package/lib/modules/blocks/data-blocks/details-single/__e2e__/schemaSettings.test.js +0 -31
- package/lib/modules/blocks/data-blocks/details-single/__e2e__/templatesOfBug.js +0 -6
- package/lib/modules/blocks/data-blocks/details-single/__tests__/createDetailsBlockWithoutPagingUISchema.test.js +0 -21
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/associationForm.test.js +0 -21
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/dragAndDrop.test.js +0 -33
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadAssociationFields.test.js +0 -175
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadVariables.test.js +0 -35
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/schemaInitializer.test.js +0 -148
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/schemaSettings.test.js +0 -1261
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/templatesOfBug.js +0 -6047
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaInitializer.test.js +0 -23
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaSettings.test.js +0 -219
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-edit/templatesOfBug.js +0 -6
- package/lib/modules/blocks/data-blocks/form/__tests__/createCreateFormBlockUISchema.test.js +0 -26
- package/lib/modules/blocks/data-blocks/form/__tests__/createEditFormBlockUISchema.test.js +0 -25
- package/lib/modules/blocks/data-blocks/grid-card/__e2e__/schemaInitializer.test.js +0 -227
- package/lib/modules/blocks/data-blocks/grid-card/__e2e__/schemaSettings.test.js +0 -55
- package/lib/modules/blocks/data-blocks/grid-card/__e2e__/templatesOfBug.js +0 -6
- package/lib/modules/blocks/data-blocks/grid-card/__tests__/createGridCardBlockSchema.test.js +0 -33
- package/lib/modules/blocks/data-blocks/list/__e2e__/schemaInitializer.test.js +0 -218
- package/lib/modules/blocks/data-blocks/list/__e2e__/schemaSettings.test.js +0 -30
- package/lib/modules/blocks/data-blocks/list/__e2e__/templatesOfBug.js +0 -6
- package/lib/modules/blocks/data-blocks/list/__tests__/createListBlockSchema.test.js +0 -31
- package/lib/modules/blocks/data-blocks/table/__e2e__/actions/duplicate.test.js +0 -16
- package/lib/modules/blocks/data-blocks/table/__e2e__/actions/filter.test.js +0 -40
- package/lib/modules/blocks/data-blocks/table/__e2e__/checkboxForTableRow.test.js +0 -26
- package/lib/modules/blocks/data-blocks/table/__e2e__/dragAndDrop.test.js +0 -38
- package/lib/modules/blocks/data-blocks/table/__e2e__/schemaInitializer.test.js +0 -426
- package/lib/modules/blocks/data-blocks/table/__e2e__/schemaSettings.test.js +0 -876
- package/lib/modules/blocks/data-blocks/table/__e2e__/templatesOfBug.js +0 -979
- package/lib/modules/blocks/data-blocks/table/__e2e__/tree/schemaSettings.test.js +0 -49
- package/lib/modules/blocks/data-blocks/table/__tests__/createTableBLockSchema.test.js +0 -23
- package/lib/modules/blocks/data-blocks/table-selector/__e2e__/schemaInitializer.test.js +0 -166
- package/lib/modules/blocks/data-blocks/table-selector/__e2e__/schemaSettings.test.js +0 -153
- package/lib/modules/blocks/data-blocks/table-selector/__e2e__/templatesOfBug.js +0 -728
- package/lib/modules/blocks/data-blocks/table-selector/__e2e__/utils.js +0 -46
- package/lib/modules/blocks/data-blocks/table-selector/__tests__/createTableSelectorSchema.test.js +0 -21
- package/lib/modules/blocks/filter-blocks/collapse/__e2e__/schemaInitializer.test.js +0 -66
- package/lib/modules/blocks/filter-blocks/collapse/__e2e__/schemaSettings.test.js +0 -69
- package/lib/modules/blocks/filter-blocks/collapse/__e2e__/templatesOfBug.js +0 -6
- package/lib/modules/blocks/filter-blocks/collapse/__tests__/createCollapseBlockSchema.test.js +0 -47
- package/lib/modules/blocks/filter-blocks/form/__e2e__/schemaInitializer.test.js +0 -122
- package/lib/modules/blocks/filter-blocks/form/__e2e__/schemaSettings.test.js +0 -105
- package/lib/modules/blocks/filter-blocks/form/__e2e__/templatesOfBug.js +0 -6
- package/lib/modules/blocks/filter-blocks/form/__tests__/createFilterFormBlockSchema.test.js +0 -30
- package/lib/modules/blocks/other-blocks/markdown/__e2e__/schemaInitializer.test.js +0 -17
- package/lib/modules/blocks/other-blocks/markdown/__e2e__/schemaSettings.test.js +0 -40
- package/lib/modules/blocks/other-blocks/markdown/__e2e__/templatesOfBug.js +0 -6
- package/lib/modules/dialog/__e2e__/schemaInitializer.test.js +0 -395
- package/lib/modules/dialog/__e2e__/schemaSettings.test.js +0 -66
- package/lib/modules/dialog/__e2e__/templatesOfBug.js +0 -2161
- package/lib/modules/dialog/__e2e__/zIndex.test.js +0 -42
- package/lib/modules/fields/component/DatePicker/__e2e__/schemaSettings.test.js +0 -109
- package/lib/modules/fields/component/DatePicker/__e2e__/utils.js +0 -358
- package/lib/modules/menu/__e2e__/dragAndDrop.test.js +0 -34
- package/lib/modules/menu/__e2e__/schemaInitializer.test.js +0 -108
- package/lib/modules/menu/__e2e__/schemaSettings.test.js +0 -354
- package/lib/modules/menu/__e2e__/templatesOfBug.js +0 -6
- package/lib/modules/page/__e2e__/blockInitializers.test.js +0 -24
- package/lib/modules/page/__e2e__/dragAndDrop.test.js +0 -23
- package/lib/modules/page/__e2e__/schemaInitailizer.test.js +0 -22
- package/lib/modules/page/__e2e__/schemaSettings.test.js +0 -141
- package/lib/modules/page/__e2e__/templatesOfBug.js +0 -6
- package/lib/modules/plugin-manager/__e2e__/pluginManager.test.js +0 -120
- package/lib/modules/plugin-manager/__e2e__/templatesOfBug.js +0 -6
- package/lib/modules/user-center/__e2e__/settings.test.js +0 -19
- package/lib/schema-component/antd/action/__tests__/action.test.js +0 -154
- package/lib/schema-component/antd/action/demos/demo1.js +0 -104
- package/lib/schema-component/antd/action/demos/demo2.js +0 -109
- package/lib/schema-component/antd/action/demos/demo3.js +0 -175
- package/lib/schema-component/antd/action/demos/demo4.js +0 -92
- package/lib/schema-component/antd/action/demos/demo5.js +0 -245
- package/lib/schema-component/antd/action/demos/demo6.js +0 -129
- package/lib/schema-component/antd/association-select/__tests__/association-select.test.js +0 -51
- package/lib/schema-component/antd/association-select/demos/demo1.js +0 -89
- package/lib/schema-component/antd/block-item/__tests__/block-item.test.js +0 -49
- package/lib/schema-component/antd/block-item/demos/demo1.js +0 -94
- package/lib/schema-component/antd/card-item/__tests__/card-item.test.js +0 -46
- package/lib/schema-component/antd/card-item/demos/demo1.js +0 -65
- package/lib/schema-component/antd/cascader/__tests__/cascader.test.js +0 -65
- package/lib/schema-component/antd/cascader/demos/demo1.js +0 -116
- package/lib/schema-component/antd/cascader/demos/demo2.js +0 -163
- package/lib/schema-component/antd/checkbox/__tests__/checkbox.test.js +0 -76
- package/lib/schema-component/antd/checkbox/demos/checkbox.group.js +0 -88
- package/lib/schema-component/antd/checkbox/demos/checkbox.js +0 -74
- package/lib/schema-component/antd/collection-select/__tests__/collection-select.test.js +0 -51
- package/lib/schema-component/antd/collection-select/demos/demo1.js +0 -70
- package/lib/schema-component/antd/color-picker/demos/demo1.js +0 -83
- package/lib/schema-component/antd/color-select/__tests__/color-select.test.js +0 -51
- package/lib/schema-component/antd/color-select/demos/demo1.js +0 -74
- package/lib/schema-component/antd/cron/__tests__/cron-set.test.js +0 -66
- package/lib/schema-component/antd/cron/demos/demo1.js +0 -66
- package/lib/schema-component/antd/cron/demos/demo2.js +0 -85
- package/lib/schema-component/antd/date-picker/__tests__/date-picker.test.js +0 -222
- package/lib/schema-component/antd/date-picker/__tests__/getDateRanges.test.js +0 -145
- package/lib/schema-component/antd/date-picker/__tests__/mapDatePicker.test.js +0 -235
- package/lib/schema-component/antd/date-picker/__tests__/mapRangePicker.test.js +0 -94
- package/lib/schema-component/antd/date-picker/__tests__/util.test.js +0 -201
- package/lib/schema-component/antd/date-picker/demos/demo1.js +0 -91
- package/lib/schema-component/antd/date-picker/demos/demo10.js +0 -95
- package/lib/schema-component/antd/date-picker/demos/demo11.js +0 -99
- package/lib/schema-component/antd/date-picker/demos/demo2.js +0 -94
- package/lib/schema-component/antd/date-picker/demos/demo3.js +0 -92
- package/lib/schema-component/antd/date-picker/demos/demo4.js +0 -120
- package/lib/schema-component/antd/date-picker/demos/demo5.js +0 -119
- package/lib/schema-component/antd/date-picker/demos/demo6.js +0 -119
- package/lib/schema-component/antd/date-picker/demos/demo7.js +0 -95
- package/lib/schema-component/antd/date-picker/demos/demo8.js +0 -95
- package/lib/schema-component/antd/date-picker/demos/demo9.js +0 -95
- package/lib/schema-component/antd/details/__tests__/details.test.js +0 -45
- package/lib/schema-component/antd/details/demos/demo1.js +0 -76
- package/lib/schema-component/antd/error-fallback/__tests__/error-fallback.test.js +0 -52
- package/lib/schema-component/antd/error-fallback/demos/demo1.js +0 -47
- package/lib/schema-component/antd/filter/__tests__/filter.test.js +0 -152
- package/lib/schema-component/antd/filter/demos/demo2.js +0 -163
- package/lib/schema-component/antd/filter/demos/demo3.js +0 -230
- package/lib/schema-component/antd/filter/demos/demo4.js +0 -218
- package/lib/schema-component/antd/filter/demos/demo5.js +0 -165
- package/lib/schema-component/antd/filter/demos/demo6.js +0 -152
- package/lib/schema-component/antd/form/__tests__/form.test.js +0 -155
- package/lib/schema-component/antd/form/demos/apiClient.js +0 -65
- package/lib/schema-component/antd/form/demos/demo1.js +0 -107
- package/lib/schema-component/antd/form/demos/demo2.js +0 -107
- package/lib/schema-component/antd/form/demos/demo3.js +0 -106
- package/lib/schema-component/antd/form/demos/demo4.js +0 -114
- package/lib/schema-component/antd/form/demos/demo5.js +0 -148
- package/lib/schema-component/antd/form/demos/demo6.js +0 -105
- package/lib/schema-component/antd/form/demos/demo7.js +0 -109
- package/lib/schema-component/antd/form/demos/demo8.js +0 -120
- package/lib/schema-component/antd/form-item/__tests__/form-item.test.js +0 -47
- package/lib/schema-component/antd/form-item/__tests__/hooks/useSpecialCase.test.js +0 -34
- package/lib/schema-component/antd/form-item/__tests__/utils.test.js +0 -72
- package/lib/schema-component/antd/form-item/demos/demo1.js +0 -71
- package/lib/schema-component/antd/form-v2/__tests__/form-v2.test.js +0 -84
- package/lib/schema-component/antd/form-v2/demos/collections.js +0 -1601
- package/lib/schema-component/antd/form-v2/demos/demo1.js +0 -156
- package/lib/schema-component/antd/form-v2/demos/demo2.js +0 -179
- package/lib/schema-component/antd/form-v2/demos/demo3.js +0 -165
- package/lib/schema-component/antd/grid/__tests__/grid.test.js +0 -63
- package/lib/schema-component/antd/grid/demos/demo1.js +0 -228
- package/lib/schema-component/antd/grid/demos/demo2.js +0 -131
- package/lib/schema-component/antd/grid/demos/demo3.js +0 -118
- package/lib/schema-component/antd/grid-card/__tests__/grid-card.test.js +0 -44
- package/lib/schema-component/antd/grid-card/demos/demo1.js +0 -40
- package/lib/schema-component/antd/icon-picker/__tests__/icon-picker.test.js +0 -60
- package/lib/schema-component/antd/icon-picker/demos/icon-picker.js +0 -74
- package/lib/schema-component/antd/input/__tests__/Input.test.js +0 -153
- package/lib/schema-component/antd/input/demos/input.js +0 -74
- package/lib/schema-component/antd/input/demos/json.js +0 -80
- package/lib/schema-component/antd/input/demos/textarea.js +0 -102
- package/lib/schema-component/antd/input/demos/url.js +0 -76
- package/lib/schema-component/antd/input-number/__tests__/input-number.test.js +0 -153
- package/lib/schema-component/antd/input-number/demos/addonBefore&addonAfter.js +0 -82
- package/lib/schema-component/antd/input-number/demos/highPrecisionDecimals.js +0 -84
- package/lib/schema-component/antd/input-number/demos/inputNumber.js +0 -74
- package/lib/schema-component/antd/list/__tests__/list.test.js +0 -44
- package/lib/schema-component/antd/list/demos/demo1.js +0 -40
- package/lib/schema-component/antd/markdown/__tests__/markdown.test.js +0 -63
- package/lib/schema-component/antd/markdown/demos/demo1.js +0 -74
- package/lib/schema-component/antd/markdown/demos/demo2.js +0 -85
- package/lib/schema-component/antd/menu/__tests__/menu.test.js +0 -75
- package/lib/schema-component/antd/menu/demos/demo1.js +0 -127
- package/lib/schema-component/antd/menu/demos/demo2.js +0 -130
- package/lib/schema-component/antd/menu/demos/demo3.js +0 -169
- package/lib/schema-component/antd/page/__tests__/page.test.js +0 -53
- package/lib/schema-component/antd/page/demos/demo1.js +0 -72
- package/lib/schema-component/antd/password/__tests__/password.test.js +0 -64
- package/lib/schema-component/antd/password/__tests__/utils.test.js +0 -28
- package/lib/schema-component/antd/password/demos/demo1.js +0 -74
- package/lib/schema-component/antd/password/demos/demo2.js +0 -77
- package/lib/schema-component/antd/percent/__tests__/percent.test.js +0 -51
- package/lib/schema-component/antd/percent/demos/percent.js +0 -74
- package/lib/schema-component/antd/preview/__tests__/preview.test.js +0 -46
- package/lib/schema-component/antd/preview/demos/demo1.js +0 -129
- package/lib/schema-component/antd/radio/__tests__/radio.test.js +0 -80
- package/lib/schema-component/antd/radio/demos/demo1.js +0 -74
- package/lib/schema-component/antd/radio/demos/demo2.js +0 -86
- package/lib/schema-component/antd/radio/demos/demo3.js +0 -88
- package/lib/schema-component/antd/record-picker/__tests__/record-picker.test.js +0 -62
- package/lib/schema-component/antd/record-picker/demos/demo1.js +0 -223
- package/lib/schema-component/antd/record-picker/demos/mockData.js +0 -247
- package/lib/schema-component/antd/remote-select/__tests__/remote-select.test.js +0 -51
- package/lib/schema-component/antd/remote-select/demos/demo1.js +0 -89
- package/lib/schema-component/antd/rich-text/__tests__/rich-text.test.js +0 -48
- package/lib/schema-component/antd/rich-text/demos/demo1.js +0 -75
- package/lib/schema-component/antd/select/__tests__/select.test.js +0 -78
- package/lib/schema-component/antd/select/__tests__/utils.test.js +0 -136
- package/lib/schema-component/antd/select/demos/demo1.js +0 -106
- package/lib/schema-component/antd/select/demos/demo2.js +0 -110
- package/lib/schema-component/antd/select/demos/demo3.js +0 -118
- package/lib/schema-component/antd/table/__tests__/table.test.js +0 -59
- package/lib/schema-component/antd/table/demos/demo1.js +0 -97
- package/lib/schema-component/antd/table/demos/demo2.js +0 -97
- package/lib/schema-component/antd/table/demos/demo3.js +0 -97
- package/lib/schema-component/antd/table/demos/demo4.js +0 -251
- package/lib/schema-component/antd/table-v2/__tests__/table-v2.test.js +0 -49
- package/lib/schema-component/antd/table-v2/demos/collections.js +0 -1596
- package/lib/schema-component/antd/table-v2/demos/demo1.js +0 -268
- package/lib/schema-component/antd/table-v2/demos/demo2.js +0 -151
- package/lib/schema-component/antd/tabs/__tests__/tabs.test.js +0 -49
- package/lib/schema-component/antd/tabs/demos/demo1.js +0 -101
- package/lib/schema-component/antd/time-picker/__tests__/time-picker.test.js +0 -81
- package/lib/schema-component/antd/time-picker/demos/demo1.js +0 -74
- package/lib/schema-component/antd/time-picker/demos/demo2.js +0 -74
- package/lib/schema-component/antd/tree-select/__tests__/tree-select.test.js +0 -49
- package/lib/schema-component/antd/tree-select/demos/demo1.js +0 -118
- package/lib/schema-component/antd/upload/__tests__/upload.test.js +0 -49
- package/lib/schema-component/antd/upload/demos/apiClient.js +0 -77
- package/lib/schema-component/antd/upload/demos/demo1.js +0 -96
- package/lib/schema-component/antd/upload/demos/demo2.js +0 -163
- package/lib/schema-component/antd/upload/type.d.js +0 -8
- package/lib/schema-component/antd/variable/__tests__/variable.test.js +0 -82
- package/lib/schema-component/antd/variable/demos/demo1.js +0 -78
- package/lib/schema-component/antd/variable/demos/demo2.js +0 -78
- package/lib/schema-component/antd/variable/demos/demo3.js +0 -78
- package/lib/schema-component/demos/demo1.js +0 -123
- package/lib/schema-component/demos/demo2.js +0 -57
- package/lib/schema-component/demos/demo3.js +0 -58
- package/lib/schema-component/demos/demo4.js +0 -58
- package/lib/schema-component/hooks/__tests__/designable.test.js +0 -555
- package/lib/schema-component/hooks/__tests__/splitWrapSchema.test.js +0 -96
- package/lib/schema-initializer/demos/basic.js +0 -96
- package/lib/schema-initializer/demos/build-type.js +0 -117
- package/lib/schema-initializer/demos/custom-button.js +0 -128
- package/lib/schema-initializer/demos/custom-items-component.js +0 -134
- package/lib/schema-initializer/demos/dynamic-visible-children.js +0 -115
- package/lib/schema-initializer/demos/insert-schema-action.js +0 -126
- package/lib/schema-initializer/demos/insert-schema-basic.js +0 -146
- package/lib/schema-initializer/demos/insert-schema-form-item.js +0 -170
- package/lib/schema-initializer/demos/nested-items.js +0 -182
- package/lib/schema-settings/demos/basic.js +0 -94
- package/lib/schema-settings/demos/built-type.js +0 -176
- package/lib/schema-settings/demos/custom-component.js +0 -76
- package/lib/schema-settings/demos/demo3.js +0 -134
- package/lib/schema-settings/demos/schema-basic.js +0 -98
- package/lib/user/__tests__/current-user-settings-menu-provider.test.js +0 -43
- package/lib/variables/__tests__/useVariables.test.js +0 -442
- package/lib/variables/__tests__/utils/filterEmptyValues.test.js +0 -53
- package/lib/variables/__tests__/utils/getPath.test.js +0 -11
- package/lib/variables/__tests__/utils/getVariableName.test.js +0 -11
- package/lib/variables/__tests__/utils/isVariable.test.js +0 -29
- package/lib/variables/__tests__/utils/transformVariableValue.test.js +0 -143
- package/lib/variables/__tests__/utils/uniq.test.js +0 -84
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
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
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
const formItemSettings = new
|
|
3
|
+
import { ArrayCollapse, FormLayout } from "@tachybase/components";
|
|
4
|
+
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
5
|
+
import lodash from "lodash";
|
|
6
|
+
import { useTranslation } from "react-i18next";
|
|
7
|
+
import { SchemaSettings } from "../../../application/schema-settings/index.mjs";
|
|
8
|
+
import { useFormBlockContext } from "../../../block-provider/FormBlockProvider.mjs";
|
|
9
|
+
import { useCollectionField_deprecated, useCollectionManager_deprecated, useCollection_deprecated } from "../../../collection-manager/index.mjs";
|
|
10
|
+
import { useCollectionManager } from "../../../data-source/index.mjs";
|
|
11
|
+
import { useRecord } from "../../../record-provider/index.mjs";
|
|
12
|
+
import { useColumnSchema } from "../table-v2/Table.Column.Decorator.mjs";
|
|
13
|
+
import { generalSettingsItems } from "../../../schema-items/GeneralSettings.mjs";
|
|
14
|
+
import { useFormulaTitleOptions } from "../../../schema-settings/index.mjs";
|
|
15
|
+
import { useIsAllowToSetDefaultValue } from "../../../schema-settings/hooks/useIsAllowToSetDefaultValue.mjs";
|
|
16
|
+
import { useIsShowMultipleSwitch } from "../../../schema-settings/hooks/useIsShowMultipleSwitch.mjs";
|
|
17
|
+
import { isPatternDisabled } from "../../../schema-settings/isPatternDisabled.mjs";
|
|
18
|
+
import { ActionType } from "../../../schema-settings/LinkageRules/type.mjs";
|
|
19
|
+
import { SchemaSettingsDataScope } from "../../../schema-settings/SchemaSettingsDataScope.mjs";
|
|
20
|
+
import { SchemaSettingsDateFormat } from "../../../schema-settings/SchemaSettingsDateFormat.mjs";
|
|
21
|
+
import { SchemaSettingsDefaultValue } from "../../../schema-settings/SchemaSettingsDefaultValue.mjs";
|
|
22
|
+
import { SchemaSettingsSortingRule } from "../../../schema-settings/SchemaSettingsSortingRule.mjs";
|
|
23
|
+
import { VariableInput, getShouldChange } from "../../../schema-settings/VariableInput/VariableInput.mjs";
|
|
24
|
+
import { useLocalVariables, useVariables } from "../../../variables/index.mjs";
|
|
25
|
+
import { useCompile, useDesignable, useFieldModeOptions } from "../../hooks/index.mjs";
|
|
26
|
+
import { isSubMode } from "../association-field/util.mjs";
|
|
27
|
+
import { removeNullCondition } from "../filter/index.mjs";
|
|
28
|
+
import { getTempFieldState } from "../form-v2/utils.mjs";
|
|
29
|
+
import { useColorFields } from "../table-v2/Table.Column.Designer.mjs";
|
|
30
|
+
const formItemSettings = new SchemaSettings({
|
|
31
31
|
name: 'FormItemSettings',
|
|
32
32
|
items: [
|
|
33
|
-
...
|
|
33
|
+
...generalSettingsItems,
|
|
34
34
|
{
|
|
35
35
|
name: 'allowAddNewData',
|
|
36
36
|
type: 'switch',
|
|
@@ -44,13 +44,13 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
44
44
|
},
|
|
45
45
|
useComponentProps () {
|
|
46
46
|
var _fieldSchema_xcomponentprops;
|
|
47
|
-
const { t } =
|
|
48
|
-
const field =
|
|
49
|
-
const fieldSchema =
|
|
50
|
-
const { dn, refresh } =
|
|
47
|
+
const { t } = useTranslation();
|
|
48
|
+
const field = useField();
|
|
49
|
+
const fieldSchema = useFieldSchema();
|
|
50
|
+
const { dn, refresh } = useDesignable();
|
|
51
51
|
return {
|
|
52
52
|
title: t('Allow add new'),
|
|
53
|
-
checked: (null
|
|
53
|
+
checked: (null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops.allowAddnew) !== false,
|
|
54
54
|
onChange (value) {
|
|
55
55
|
const schema = {
|
|
56
56
|
['x-uid']: fieldSchema['x-uid']
|
|
@@ -80,13 +80,13 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
80
80
|
},
|
|
81
81
|
useComponentProps () {
|
|
82
82
|
var _fieldSchema_xcomponentprops;
|
|
83
|
-
const { t } =
|
|
84
|
-
const field =
|
|
85
|
-
const fieldSchema =
|
|
86
|
-
const { dn, refresh } =
|
|
83
|
+
const { t } = useTranslation();
|
|
84
|
+
const field = useField();
|
|
85
|
+
const fieldSchema = useFieldSchema();
|
|
86
|
+
const { dn, refresh } = useDesignable();
|
|
87
87
|
return {
|
|
88
88
|
title: t('Allow selection of existing records'),
|
|
89
|
-
checked: null
|
|
89
|
+
checked: null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops.allowSelectExistingRecord,
|
|
90
90
|
onChange (value) {
|
|
91
91
|
const schema = {
|
|
92
92
|
['x-uid']: fieldSchema['x-uid']
|
|
@@ -113,13 +113,13 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
113
113
|
},
|
|
114
114
|
useComponentProps () {
|
|
115
115
|
var _fieldSchema_xcomponentprops;
|
|
116
|
-
const { t } =
|
|
117
|
-
const field =
|
|
118
|
-
const fieldSchema =
|
|
119
|
-
const { dn, refresh } =
|
|
116
|
+
const { t } = useTranslation();
|
|
117
|
+
const field = useField();
|
|
118
|
+
const fieldSchema = useFieldSchema();
|
|
119
|
+
const { dn, refresh } = useDesignable();
|
|
120
120
|
return {
|
|
121
121
|
title: t('Quick upload'),
|
|
122
|
-
checked: (null
|
|
122
|
+
checked: (null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops.quickUpload) !== false,
|
|
123
123
|
onChange (value) {
|
|
124
124
|
const schema = {
|
|
125
125
|
['x-uid']: fieldSchema['x-uid']
|
|
@@ -146,13 +146,13 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
146
146
|
},
|
|
147
147
|
useComponentProps () {
|
|
148
148
|
var _fieldSchema_xcomponentprops;
|
|
149
|
-
const { t } =
|
|
150
|
-
const field =
|
|
151
|
-
const fieldSchema =
|
|
152
|
-
const { dn, refresh } =
|
|
149
|
+
const { t } = useTranslation();
|
|
150
|
+
const field = useField();
|
|
151
|
+
const fieldSchema = useFieldSchema();
|
|
152
|
+
const { dn, refresh } = useDesignable();
|
|
153
153
|
return {
|
|
154
154
|
title: t('Select file'),
|
|
155
|
-
checked: (null
|
|
155
|
+
checked: (null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops.selectFile) !== false,
|
|
156
156
|
onChange (value) {
|
|
157
157
|
const schema = {
|
|
158
158
|
['x-uid']: fieldSchema['x-uid']
|
|
@@ -173,19 +173,19 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
173
173
|
name: 'validationRules',
|
|
174
174
|
type: 'modal',
|
|
175
175
|
useComponentProps () {
|
|
176
|
-
const { t } =
|
|
177
|
-
const field =
|
|
178
|
-
const fieldSchema =
|
|
179
|
-
const { dn, refresh } =
|
|
176
|
+
const { t } = useTranslation();
|
|
177
|
+
const field = useField();
|
|
178
|
+
const fieldSchema = useFieldSchema();
|
|
179
|
+
const { dn, refresh } = useDesignable();
|
|
180
180
|
const validateSchema = useValidateSchema();
|
|
181
|
-
const { getCollectionJoinField } =
|
|
182
|
-
const { getField } =
|
|
181
|
+
const { getCollectionJoinField } = useCollectionManager_deprecated();
|
|
182
|
+
const { getField } = useCollection_deprecated();
|
|
183
183
|
const collectionField = getField(fieldSchema['name']) || getCollectionJoinField(fieldSchema['x-collection-field']);
|
|
184
184
|
return {
|
|
185
185
|
title: t('Set validation rules'),
|
|
186
186
|
components: {
|
|
187
|
-
ArrayCollapse:
|
|
188
|
-
FormLayout:
|
|
187
|
+
ArrayCollapse: ArrayCollapse,
|
|
188
|
+
FormLayout: FormLayout
|
|
189
189
|
},
|
|
190
190
|
schema: {
|
|
191
191
|
type: 'object',
|
|
@@ -274,7 +274,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
274
274
|
onSubmit (v) {
|
|
275
275
|
var _collectionField_uiSchema;
|
|
276
276
|
const rules = [];
|
|
277
|
-
for (const rule of v.rules)rules.push(
|
|
277
|
+
for (const rule of v.rules)rules.push(lodash.pickBy(rule, lodash.identity));
|
|
278
278
|
const schema = {
|
|
279
279
|
['x-uid']: fieldSchema['x-uid']
|
|
280
280
|
};
|
|
@@ -284,7 +284,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
284
284
|
if (!!rule.maxValue || !!rule.minValue) rule['percentMode'] = true;
|
|
285
285
|
if (rule.percentFormat) rule['percentFormats'] = true;
|
|
286
286
|
}
|
|
287
|
-
const concatValidator =
|
|
287
|
+
const concatValidator = lodash.concat([], (null == collectionField ? void 0 : null == (_collectionField_uiSchema = collectionField.uiSchema) ? void 0 : _collectionField_uiSchema['x-validator']) || [], rules);
|
|
288
288
|
field.validator = concatValidator;
|
|
289
289
|
fieldSchema['x-validator'] = rules;
|
|
290
290
|
schema['x-validator'] = rules;
|
|
@@ -296,7 +296,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
296
296
|
};
|
|
297
297
|
},
|
|
298
298
|
useVisible () {
|
|
299
|
-
const { form } =
|
|
299
|
+
const { form } = useFormBlockContext();
|
|
300
300
|
const isFormReadPretty = useIsFormReadPretty();
|
|
301
301
|
const validateSchema = useValidateSchema();
|
|
302
302
|
return form && !isFormReadPretty && validateSchema;
|
|
@@ -315,13 +315,13 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
315
315
|
},
|
|
316
316
|
useComponentProps () {
|
|
317
317
|
var _fieldSchema_xcomponentprops;
|
|
318
|
-
const { t } =
|
|
319
|
-
const field =
|
|
320
|
-
const fieldSchema =
|
|
321
|
-
const { dn, refresh } =
|
|
318
|
+
const { t } = useTranslation();
|
|
319
|
+
const field = useField();
|
|
320
|
+
const fieldSchema = useFieldSchema();
|
|
321
|
+
const { dn, refresh } = useDesignable();
|
|
322
322
|
return {
|
|
323
323
|
title: t('Is Quick Add Tabs'),
|
|
324
|
-
checked: (null
|
|
324
|
+
checked: (null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops.isQuickAdd) || false,
|
|
325
325
|
onChange (value) {
|
|
326
326
|
const schema = {
|
|
327
327
|
['x-uid']: fieldSchema['x-uid']
|
|
@@ -342,21 +342,21 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
342
342
|
name: 'setquickaddtabs',
|
|
343
343
|
type: 'select',
|
|
344
344
|
useComponentProps () {
|
|
345
|
-
const { t } =
|
|
346
|
-
const field =
|
|
347
|
-
const compile =
|
|
348
|
-
const fieldSchema =
|
|
349
|
-
const cm =
|
|
345
|
+
const { t } = useTranslation();
|
|
346
|
+
const field = useField();
|
|
347
|
+
const compile = useCompile();
|
|
348
|
+
const fieldSchema = useFieldSchema();
|
|
349
|
+
const cm = useCollectionManager();
|
|
350
350
|
const options = cm.getCollection(fieldSchema['x-collection-field']);
|
|
351
351
|
const defVal = fieldSchema['x-component-props']['quickAddField'] || 'none';
|
|
352
|
-
const { dn } =
|
|
352
|
+
const { dn } = useDesignable();
|
|
353
353
|
const isAddNewForm = useIsAddNewForm();
|
|
354
354
|
const fieldTabsOptions = options.fields.map((item)=>{
|
|
355
355
|
if ('m2o' === item.interface || 'select' === item.interface) {
|
|
356
356
|
var _item_uiSchema;
|
|
357
357
|
return {
|
|
358
358
|
...item,
|
|
359
|
-
label: compile(null
|
|
359
|
+
label: compile(null == (_item_uiSchema = item.uiSchema) ? void 0 : _item_uiSchema.title),
|
|
360
360
|
value: item.name
|
|
361
361
|
};
|
|
362
362
|
}
|
|
@@ -381,7 +381,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
381
381
|
schema['x-component-props'] = fieldSchema['x-component-props'];
|
|
382
382
|
field.componentProps = field.componentProps || {};
|
|
383
383
|
field.componentProps['quickAddField'] = fieldSchema['x-component-props']['quickAddField'];
|
|
384
|
-
if (
|
|
384
|
+
if (isSubMode(fieldSchema) && isAddNewForm) {
|
|
385
385
|
schema.default = null;
|
|
386
386
|
fieldSchema.default = null;
|
|
387
387
|
field.setInitialValue(null);
|
|
@@ -395,7 +395,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
395
395
|
};
|
|
396
396
|
},
|
|
397
397
|
useVisible () {
|
|
398
|
-
const fieldSchema =
|
|
398
|
+
const fieldSchema = useFieldSchema();
|
|
399
399
|
return fieldSchema['x-component-props']['isQuickAdd'];
|
|
400
400
|
}
|
|
401
401
|
},
|
|
@@ -404,14 +404,14 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
404
404
|
type: 'select',
|
|
405
405
|
useComponentProps () {
|
|
406
406
|
var _fieldSchema_xcomponentprops, _fieldSchema_xcomponentprops_quickAddParentCollection, _fieldSchema_xcomponentprops1;
|
|
407
|
-
const { t } =
|
|
408
|
-
const field =
|
|
409
|
-
const compile =
|
|
410
|
-
const fieldSchema =
|
|
411
|
-
const cm =
|
|
412
|
-
const { value: quickField } = (null
|
|
407
|
+
const { t } = useTranslation();
|
|
408
|
+
const field = useField();
|
|
409
|
+
const compile = useCompile();
|
|
410
|
+
const fieldSchema = useFieldSchema();
|
|
411
|
+
const cm = useCollectionManager();
|
|
412
|
+
const { value: quickField } = (null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops['quickAddField']) || {};
|
|
413
413
|
const options = cm.getCollectionFields("".concat(fieldSchema['x-collection-field'], ".").concat(quickField));
|
|
414
|
-
const { dn } =
|
|
414
|
+
const { dn } = useDesignable();
|
|
415
415
|
const isAddNewForm = useIsAddNewForm();
|
|
416
416
|
const fieldTabsOptions = options.map((item)=>{
|
|
417
417
|
if ('m2o' === item.interface) return {
|
|
@@ -424,7 +424,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
424
424
|
label: t('none'),
|
|
425
425
|
value: 'none'
|
|
426
426
|
});
|
|
427
|
-
const defValue = (null
|
|
427
|
+
const defValue = (null == (_fieldSchema_xcomponentprops1 = fieldSchema['x-component-props']) ? void 0 : null == (_fieldSchema_xcomponentprops_quickAddParentCollection = _fieldSchema_xcomponentprops1['quickAddParentCollection']) ? void 0 : _fieldSchema_xcomponentprops_quickAddParentCollection.value) || 'none';
|
|
428
428
|
return {
|
|
429
429
|
title: t('Set Quick Add Parent Tabs'),
|
|
430
430
|
options: fieldTabsOptions,
|
|
@@ -444,7 +444,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
444
444
|
collectionField: "".concat(fieldSchema['x-collection-field'], ".").concat(quickField, ".").concat(mode),
|
|
445
445
|
value: mode
|
|
446
446
|
};
|
|
447
|
-
if (
|
|
447
|
+
if (isSubMode(fieldSchema) && isAddNewForm) {
|
|
448
448
|
schema.default = null;
|
|
449
449
|
fieldSchema.default = null;
|
|
450
450
|
field.setInitialValue(null);
|
|
@@ -458,21 +458,21 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
458
458
|
};
|
|
459
459
|
},
|
|
460
460
|
useVisible () {
|
|
461
|
-
const fieldSchema =
|
|
461
|
+
const fieldSchema = useFieldSchema();
|
|
462
462
|
return fieldSchema['x-component-props']['isQuickAdd'] && fieldSchema['x-component-props']['quickAddField'] && 'none' !== fieldSchema['x-component-props']['quickAddField'];
|
|
463
463
|
}
|
|
464
464
|
},
|
|
465
465
|
{
|
|
466
466
|
name: 'defaultValue',
|
|
467
|
-
Component:
|
|
467
|
+
Component: SchemaSettingsDefaultValue,
|
|
468
468
|
useVisible () {
|
|
469
|
-
const { isAllowToSetDefaultValue } =
|
|
469
|
+
const { isAllowToSetDefaultValue } = useIsAllowToSetDefaultValue();
|
|
470
470
|
return isAllowToSetDefaultValue();
|
|
471
471
|
}
|
|
472
472
|
},
|
|
473
473
|
{
|
|
474
474
|
name: 'dataScope',
|
|
475
|
-
Component:
|
|
475
|
+
Component: SchemaSettingsDataScope,
|
|
476
476
|
useVisible () {
|
|
477
477
|
const isSelectFieldMode = useIsSelectFieldMode();
|
|
478
478
|
const isFormReadPretty = useIsFormReadPretty();
|
|
@@ -480,26 +480,26 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
480
480
|
},
|
|
481
481
|
useComponentProps () {
|
|
482
482
|
var _fieldSchema_xcomponentprops_service_params, _fieldSchema_xcomponentprops_service, _fieldSchema_xcomponentprops;
|
|
483
|
-
const { getCollectionJoinField, getAllCollectionsInheritChain } =
|
|
484
|
-
const { getField } =
|
|
485
|
-
const { form } =
|
|
486
|
-
const record =
|
|
487
|
-
const field =
|
|
488
|
-
const fieldSchema =
|
|
483
|
+
const { getCollectionJoinField, getAllCollectionsInheritChain } = useCollectionManager_deprecated();
|
|
484
|
+
const { getField } = useCollection_deprecated();
|
|
485
|
+
const { form } = useFormBlockContext();
|
|
486
|
+
const record = useRecord();
|
|
487
|
+
const field = useField();
|
|
488
|
+
const fieldSchema = useFieldSchema();
|
|
489
489
|
const collectionField = getField(fieldSchema['name']) || getCollectionJoinField(fieldSchema['x-collection-field']);
|
|
490
|
-
const variables =
|
|
491
|
-
const localVariables =
|
|
492
|
-
const { dn } =
|
|
490
|
+
const variables = useVariables();
|
|
491
|
+
const localVariables = useLocalVariables();
|
|
492
|
+
const { dn } = useDesignable();
|
|
493
493
|
return {
|
|
494
494
|
collectionName: null == collectionField ? void 0 : collectionField.target,
|
|
495
|
-
defaultFilter: (null == fieldSchema ? void 0 : null
|
|
495
|
+
defaultFilter: (null == fieldSchema ? void 0 : null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : null == (_fieldSchema_xcomponentprops_service = _fieldSchema_xcomponentprops.service) ? void 0 : null == (_fieldSchema_xcomponentprops_service_params = _fieldSchema_xcomponentprops_service.params) ? void 0 : _fieldSchema_xcomponentprops_service_params.filter) || {},
|
|
496
496
|
form,
|
|
497
|
-
dynamicComponent: (props)=>/*#__PURE__*/
|
|
497
|
+
dynamicComponent: (props)=>/*#__PURE__*/ jsx(VariableInput, {
|
|
498
498
|
...props,
|
|
499
499
|
form: form,
|
|
500
500
|
collectionField: props.collectionField,
|
|
501
501
|
record: record,
|
|
502
|
-
shouldChange:
|
|
502
|
+
shouldChange: getShouldChange({
|
|
503
503
|
collectionField: props.collectionField,
|
|
504
504
|
variables,
|
|
505
505
|
localVariables,
|
|
@@ -508,8 +508,8 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
508
508
|
}),
|
|
509
509
|
onSubmit: (param)=>{
|
|
510
510
|
let { filter } = param;
|
|
511
|
-
filter =
|
|
512
|
-
|
|
511
|
+
filter = removeNullCondition(filter);
|
|
512
|
+
lodash.set(field.componentProps, 'service.params.filter', filter);
|
|
513
513
|
fieldSchema['x-component-props'] = field.componentProps;
|
|
514
514
|
dn.emit('patch', {
|
|
515
515
|
schema: {
|
|
@@ -523,7 +523,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
523
523
|
},
|
|
524
524
|
{
|
|
525
525
|
name: 'sortingRule',
|
|
526
|
-
Component:
|
|
526
|
+
Component: SchemaSettingsSortingRule,
|
|
527
527
|
useVisible () {
|
|
528
528
|
const isSelectFieldMode = useIsSelectFieldMode();
|
|
529
529
|
const isFormReadPretty = useIsFormReadPretty();
|
|
@@ -534,11 +534,11 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
534
534
|
name: 'fieldMode',
|
|
535
535
|
type: 'select',
|
|
536
536
|
useComponentProps () {
|
|
537
|
-
const { t } =
|
|
538
|
-
const field =
|
|
539
|
-
const fieldSchema =
|
|
540
|
-
const { dn } =
|
|
541
|
-
const fieldModeOptions =
|
|
537
|
+
const { t } = useTranslation();
|
|
538
|
+
const field = useField();
|
|
539
|
+
const fieldSchema = useFieldSchema();
|
|
540
|
+
const { dn } = useDesignable();
|
|
541
|
+
const fieldModeOptions = useFieldModeOptions();
|
|
542
542
|
const isAddNewForm = useIsAddNewForm();
|
|
543
543
|
const fieldMode = useFieldMode();
|
|
544
544
|
return {
|
|
@@ -554,7 +554,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
554
554
|
schema['x-component-props'] = fieldSchema['x-component-props'];
|
|
555
555
|
field.componentProps = field.componentProps || {};
|
|
556
556
|
field.componentProps.mode = mode;
|
|
557
|
-
if (
|
|
557
|
+
if (isSubMode(fieldSchema) && isAddNewForm) {
|
|
558
558
|
schema.default = null;
|
|
559
559
|
fieldSchema.default = null;
|
|
560
560
|
field.setInitialValue(null);
|
|
@@ -574,14 +574,14 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
574
574
|
type: 'modal',
|
|
575
575
|
useComponentProps () {
|
|
576
576
|
var _fieldSchema_xcomponentprops_fieldNames, _fieldSchema_xcomponentprops;
|
|
577
|
-
const schema =
|
|
578
|
-
const { fieldSchema: tableColumnSchema } =
|
|
577
|
+
const schema = useFieldSchema();
|
|
578
|
+
const { fieldSchema: tableColumnSchema } = useColumnSchema();
|
|
579
579
|
const fieldSchema = tableColumnSchema || schema;
|
|
580
|
-
const { t } =
|
|
581
|
-
const { dn } =
|
|
582
|
-
const options =
|
|
583
|
-
const def = null
|
|
584
|
-
const field =
|
|
580
|
+
const { t } = useTranslation();
|
|
581
|
+
const { dn } = useDesignable();
|
|
582
|
+
const options = useFormulaTitleOptions();
|
|
583
|
+
const def = null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : null == (_fieldSchema_xcomponentprops_fieldNames = _fieldSchema_xcomponentprops.fieldNames) ? void 0 : _fieldSchema_xcomponentprops_fieldNames.formula;
|
|
584
|
+
const field = useField();
|
|
585
585
|
return {
|
|
586
586
|
title: t('Custom option label'),
|
|
587
587
|
schema: {
|
|
@@ -606,7 +606,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
606
606
|
const componentProps = {
|
|
607
607
|
...fieldSchema['x-component-props'],
|
|
608
608
|
fieldNames: {
|
|
609
|
-
...null
|
|
609
|
+
...null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops['fieldNames'],
|
|
610
610
|
formula
|
|
611
611
|
},
|
|
612
612
|
appends: [
|
|
@@ -627,7 +627,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
627
627
|
field.componentProps = {
|
|
628
628
|
...field.componentProps,
|
|
629
629
|
fieldNames: {
|
|
630
|
-
...null
|
|
630
|
+
...null == (_field_componentProps = field.componentProps) ? void 0 : _field_componentProps.fieldNames,
|
|
631
631
|
formula
|
|
632
632
|
}
|
|
633
633
|
};
|
|
@@ -644,7 +644,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
644
644
|
};
|
|
645
645
|
},
|
|
646
646
|
useVisible: ()=>{
|
|
647
|
-
const fieldSchema =
|
|
647
|
+
const fieldSchema = useFieldSchema();
|
|
648
648
|
const formula = 'CustomTitle' === fieldSchema['x-component-props'].mode;
|
|
649
649
|
return useShowFieldMode() && formula;
|
|
650
650
|
}
|
|
@@ -654,10 +654,10 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
654
654
|
type: 'select',
|
|
655
655
|
useComponentProps () {
|
|
656
656
|
var _fieldSchema_xcomponentprops;
|
|
657
|
-
const { t } =
|
|
658
|
-
const field =
|
|
659
|
-
const fieldSchema =
|
|
660
|
-
const { dn } =
|
|
657
|
+
const { t } = useTranslation();
|
|
658
|
+
const field = useField();
|
|
659
|
+
const fieldSchema = useFieldSchema();
|
|
660
|
+
const { dn } = useDesignable();
|
|
661
661
|
var _fieldSchema_xcomponentprops_openSize;
|
|
662
662
|
return {
|
|
663
663
|
title: t('Popup size'),
|
|
@@ -675,7 +675,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
675
675
|
value: 'large'
|
|
676
676
|
}
|
|
677
677
|
],
|
|
678
|
-
value: null
|
|
678
|
+
value: null != (_fieldSchema_xcomponentprops_openSize = null == fieldSchema ? void 0 : null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops['openSize']) ? _fieldSchema_xcomponentprops_openSize : 'middle',
|
|
679
679
|
onChange: (value)=>{
|
|
680
680
|
field.componentProps.openSize = value;
|
|
681
681
|
fieldSchema['x-component-props'] = field.componentProps;
|
|
@@ -692,8 +692,8 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
692
692
|
useVisible () {
|
|
693
693
|
var _fieldSchema_xcomponentprops;
|
|
694
694
|
const showFieldMode = useShowFieldMode();
|
|
695
|
-
const fieldSchema =
|
|
696
|
-
const isPickerMode = (null
|
|
695
|
+
const fieldSchema = useFieldSchema();
|
|
696
|
+
const isPickerMode = (null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops.mode) === 'Picker';
|
|
697
697
|
const showModeSelect = showFieldMode && isPickerMode;
|
|
698
698
|
return showModeSelect;
|
|
699
699
|
}
|
|
@@ -710,10 +710,10 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
710
710
|
].includes(fieldMode);
|
|
711
711
|
},
|
|
712
712
|
useComponentProps () {
|
|
713
|
-
const { t } =
|
|
714
|
-
const field =
|
|
715
|
-
const fieldSchema =
|
|
716
|
-
const { dn, refresh, insertAdjacent } =
|
|
713
|
+
const { t } = useTranslation();
|
|
714
|
+
const field = useField();
|
|
715
|
+
const fieldSchema = useFieldSchema();
|
|
716
|
+
const { dn, refresh, insertAdjacent } = useDesignable();
|
|
717
717
|
return {
|
|
718
718
|
title: t('Allow add new data'),
|
|
719
719
|
checked: fieldSchema['x-add-new'],
|
|
@@ -766,10 +766,10 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
766
766
|
},
|
|
767
767
|
useComponentProps () {
|
|
768
768
|
var _field_componentProps;
|
|
769
|
-
const { t } =
|
|
770
|
-
const field =
|
|
771
|
-
const fieldSchema =
|
|
772
|
-
const { dn, insertAdjacent } =
|
|
769
|
+
const { t } = useTranslation();
|
|
770
|
+
const field = useField();
|
|
771
|
+
const fieldSchema = useFieldSchema();
|
|
772
|
+
const { dn, insertAdjacent } = useDesignable();
|
|
773
773
|
return {
|
|
774
774
|
title: t('Quick create'),
|
|
775
775
|
options: [
|
|
@@ -786,7 +786,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
786
786
|
value: 'modalAdd'
|
|
787
787
|
}
|
|
788
788
|
],
|
|
789
|
-
value: (null
|
|
789
|
+
value: (null == (_field_componentProps = field.componentProps) ? void 0 : _field_componentProps.addMode) || 'none',
|
|
790
790
|
onChange (mode) {
|
|
791
791
|
if ('modalAdd' === mode) {
|
|
792
792
|
const hasAddNew = fieldSchema.reduceProperties((buf, schema)=>{
|
|
@@ -832,18 +832,18 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
832
832
|
type: 'switch',
|
|
833
833
|
useVisible () {
|
|
834
834
|
const isAssociationField = useIsAssociationField();
|
|
835
|
-
const IsShowMultipleSwitch =
|
|
835
|
+
const IsShowMultipleSwitch = useIsShowMultipleSwitch();
|
|
836
836
|
return isAssociationField && IsShowMultipleSwitch();
|
|
837
837
|
},
|
|
838
838
|
useComponentProps () {
|
|
839
839
|
var _fieldSchema_xcomponentprops;
|
|
840
|
-
const { t } =
|
|
841
|
-
const field =
|
|
842
|
-
const fieldSchema =
|
|
843
|
-
const { dn, refresh } =
|
|
840
|
+
const { t } = useTranslation();
|
|
841
|
+
const field = useField();
|
|
842
|
+
const fieldSchema = useFieldSchema();
|
|
843
|
+
const { dn, refresh } = useDesignable();
|
|
844
844
|
return {
|
|
845
845
|
title: t('Allow multiple'),
|
|
846
|
-
checked: (null
|
|
846
|
+
checked: (null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops.multiple) === void 0 ? true : fieldSchema['x-component-props'].multiple,
|
|
847
847
|
onChange (value) {
|
|
848
848
|
const schema = {
|
|
849
849
|
['x-uid']: fieldSchema['x-uid']
|
|
@@ -866,20 +866,20 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
866
866
|
type: 'switch',
|
|
867
867
|
useVisible () {
|
|
868
868
|
var _fieldSchema_xcomponentprops;
|
|
869
|
-
const IsShowMultipleSwitch =
|
|
870
|
-
const fieldSchema =
|
|
871
|
-
const isSubFormMode = (null
|
|
869
|
+
const IsShowMultipleSwitch = useIsShowMultipleSwitch();
|
|
870
|
+
const fieldSchema = useFieldSchema();
|
|
871
|
+
const isSubFormMode = (null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops.mode) === 'Nester';
|
|
872
872
|
return isSubFormMode && IsShowMultipleSwitch();
|
|
873
873
|
},
|
|
874
874
|
useComponentProps () {
|
|
875
875
|
var _fieldSchema_xcomponentprops;
|
|
876
|
-
const { t } =
|
|
877
|
-
const field =
|
|
878
|
-
const fieldSchema =
|
|
879
|
-
const { dn, refresh } =
|
|
876
|
+
const { t } = useTranslation();
|
|
877
|
+
const field = useField();
|
|
878
|
+
const fieldSchema = useFieldSchema();
|
|
879
|
+
const { dn, refresh } = useDesignable();
|
|
880
880
|
return {
|
|
881
881
|
title: t('Allow dissociate'),
|
|
882
|
-
checked: (null
|
|
882
|
+
checked: (null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops.allowDissociate) !== false,
|
|
883
883
|
onChange (value) {
|
|
884
884
|
const schema = {
|
|
885
885
|
['x-uid']: fieldSchema['x-uid']
|
|
@@ -904,18 +904,18 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
904
904
|
const options = useTitleFieldOptions();
|
|
905
905
|
const readPretty = useIsFieldReadPretty();
|
|
906
906
|
const isFileField = useIsFileField();
|
|
907
|
-
const fieldSchema =
|
|
907
|
+
const fieldSchema = useFieldSchema();
|
|
908
908
|
return readPretty && options.length > 0 && !isFileField && 'CollectionField' === fieldSchema['x-component'];
|
|
909
909
|
},
|
|
910
910
|
useComponentProps () {
|
|
911
911
|
var _fieldSchema_xcomponentprops;
|
|
912
|
-
const { t } =
|
|
913
|
-
const field =
|
|
914
|
-
const fieldSchema =
|
|
915
|
-
const { dn } =
|
|
912
|
+
const { t } = useTranslation();
|
|
913
|
+
const field = useField();
|
|
914
|
+
const fieldSchema = useFieldSchema();
|
|
915
|
+
const { dn } = useDesignable();
|
|
916
916
|
return {
|
|
917
917
|
title: t('Enable link'),
|
|
918
|
-
checked: (null
|
|
918
|
+
checked: (null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops.enableLink) !== false,
|
|
919
919
|
onChange (flag) {
|
|
920
920
|
fieldSchema['x-component-props'] = {
|
|
921
921
|
...null == fieldSchema ? void 0 : fieldSchema['x-component-props'],
|
|
@@ -939,15 +939,15 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
939
939
|
name: 'pattern',
|
|
940
940
|
type: 'select',
|
|
941
941
|
useVisible () {
|
|
942
|
-
const { form } =
|
|
943
|
-
const fieldSchema =
|
|
944
|
-
return form && !(null == form ? void 0 : form.readPretty) && !
|
|
942
|
+
const { form } = useFormBlockContext();
|
|
943
|
+
const fieldSchema = useFieldSchema();
|
|
944
|
+
return form && !(null == form ? void 0 : form.readPretty) && !isPatternDisabled(fieldSchema);
|
|
945
945
|
},
|
|
946
946
|
useComponentProps () {
|
|
947
|
-
const { t } =
|
|
948
|
-
const field =
|
|
949
|
-
const fieldSchema =
|
|
950
|
-
const { dn } =
|
|
947
|
+
const { t } = useTranslation();
|
|
948
|
+
const field = useField();
|
|
949
|
+
const fieldSchema = useFieldSchema();
|
|
950
|
+
const { dn } = useDesignable();
|
|
951
951
|
let readOnlyMode = 'editable';
|
|
952
952
|
if (true === fieldSchema['x-disabled']) readOnlyMode = 'readonly';
|
|
953
953
|
if (true === fieldSchema['x-read-pretty']) readOnlyMode = 'read-pretty';
|
|
@@ -980,7 +980,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
980
980
|
schema['x-disabled'] = true;
|
|
981
981
|
field.readPretty = false;
|
|
982
982
|
field.disabled = true;
|
|
983
|
-
|
|
983
|
+
lodash.set(field, 'initStateOfLinkageRules.pattern', getTempFieldState(true, ActionType.ReadOnly));
|
|
984
984
|
break;
|
|
985
985
|
case 'read-pretty':
|
|
986
986
|
fieldSchema['x-read-pretty'] = true;
|
|
@@ -988,7 +988,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
988
988
|
schema['x-read-pretty'] = true;
|
|
989
989
|
schema['x-disabled'] = false;
|
|
990
990
|
field.readPretty = true;
|
|
991
|
-
|
|
991
|
+
lodash.set(field, 'initStateOfLinkageRules.pattern', getTempFieldState(true, ActionType.ReadPretty));
|
|
992
992
|
break;
|
|
993
993
|
default:
|
|
994
994
|
fieldSchema['x-read-pretty'] = false;
|
|
@@ -997,7 +997,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
997
997
|
schema['x-disabled'] = false;
|
|
998
998
|
field.readPretty = false;
|
|
999
999
|
field.disabled = false;
|
|
1000
|
-
|
|
1000
|
+
lodash.set(field, 'initStateOfLinkageRules.pattern', getTempFieldState(true, ActionType.Editable));
|
|
1001
1001
|
break;
|
|
1002
1002
|
}
|
|
1003
1003
|
dn.emit('patch', {
|
|
@@ -1019,23 +1019,23 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
1019
1019
|
},
|
|
1020
1020
|
useComponentProps () {
|
|
1021
1021
|
var _field_componentProps_fieldNames, _field_componentProps;
|
|
1022
|
-
const { t } =
|
|
1023
|
-
const field =
|
|
1024
|
-
const fieldSchema =
|
|
1025
|
-
const { dn } =
|
|
1022
|
+
const { t } = useTranslation();
|
|
1023
|
+
const field = useField();
|
|
1024
|
+
const fieldSchema = useFieldSchema();
|
|
1025
|
+
const { dn } = useDesignable();
|
|
1026
1026
|
const options = useTitleFieldOptions();
|
|
1027
|
-
const collectionField =
|
|
1027
|
+
const collectionField = useCollectionField_deprecated();
|
|
1028
1028
|
return {
|
|
1029
1029
|
title: t('Title field'),
|
|
1030
1030
|
options,
|
|
1031
|
-
value: null == field ? void 0 : null
|
|
1031
|
+
value: null == field ? void 0 : null == (_field_componentProps = field.componentProps) ? void 0 : null == (_field_componentProps_fieldNames = _field_componentProps.fieldNames) ? void 0 : _field_componentProps_fieldNames.label,
|
|
1032
1032
|
onChange (label) {
|
|
1033
1033
|
var _collectionField_uiSchema_xcomponentprops, _collectionField_uiSchema;
|
|
1034
1034
|
const schema = {
|
|
1035
1035
|
['x-uid']: fieldSchema['x-uid']
|
|
1036
1036
|
};
|
|
1037
1037
|
const fieldNames = {
|
|
1038
|
-
...null == collectionField ? void 0 : null
|
|
1038
|
+
...null == collectionField ? void 0 : null == (_collectionField_uiSchema = collectionField.uiSchema) ? void 0 : null == (_collectionField_uiSchema_xcomponentprops = _collectionField_uiSchema['x-component-props']) ? void 0 : _collectionField_uiSchema_xcomponentprops['fieldNames'],
|
|
1039
1039
|
...field.componentProps.fieldNames,
|
|
1040
1040
|
label
|
|
1041
1041
|
};
|
|
@@ -1053,7 +1053,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
1053
1053
|
},
|
|
1054
1054
|
{
|
|
1055
1055
|
name: 'dateFormat',
|
|
1056
|
-
Component:
|
|
1056
|
+
Component: SchemaSettingsDateFormat,
|
|
1057
1057
|
useVisible () {
|
|
1058
1058
|
const collectionField = useFormItemCollectionField();
|
|
1059
1059
|
const isDateField = [
|
|
@@ -1064,7 +1064,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
1064
1064
|
return isDateField;
|
|
1065
1065
|
},
|
|
1066
1066
|
useComponentProps () {
|
|
1067
|
-
const fieldSchema =
|
|
1067
|
+
const fieldSchema = useFieldSchema();
|
|
1068
1068
|
return {
|
|
1069
1069
|
fieldSchema
|
|
1070
1070
|
};
|
|
@@ -1076,7 +1076,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
1076
1076
|
useVisible () {
|
|
1077
1077
|
const readPretty = useIsFieldReadPretty();
|
|
1078
1078
|
const collectionField = useFormItemCollectionField();
|
|
1079
|
-
const { getCollection } =
|
|
1079
|
+
const { getCollection } = useCollectionManager_deprecated();
|
|
1080
1080
|
const targetCollection = getCollection(null == collectionField ? void 0 : collectionField.target);
|
|
1081
1081
|
const isAttachmentField = [
|
|
1082
1082
|
'attachment'
|
|
@@ -1085,10 +1085,10 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
1085
1085
|
},
|
|
1086
1086
|
useComponentProps () {
|
|
1087
1087
|
var _field_componentProps;
|
|
1088
|
-
const { t } =
|
|
1089
|
-
const field =
|
|
1090
|
-
const fieldSchema =
|
|
1091
|
-
const { dn } =
|
|
1088
|
+
const { t } = useTranslation();
|
|
1089
|
+
const field = useField();
|
|
1090
|
+
const fieldSchema = useFieldSchema();
|
|
1091
|
+
const { dn } = useDesignable();
|
|
1092
1092
|
return {
|
|
1093
1093
|
title: t('Size'),
|
|
1094
1094
|
options: [
|
|
@@ -1105,7 +1105,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
1105
1105
|
value: 'small'
|
|
1106
1106
|
}
|
|
1107
1107
|
],
|
|
1108
|
-
value: (null == field ? void 0 : null
|
|
1108
|
+
value: (null == field ? void 0 : null == (_field_componentProps = field.componentProps) ? void 0 : _field_componentProps.size) || 'default',
|
|
1109
1109
|
onChange (size) {
|
|
1110
1110
|
const schema = {
|
|
1111
1111
|
['x-uid']: fieldSchema['x-uid']
|
|
@@ -1135,17 +1135,17 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
1135
1135
|
},
|
|
1136
1136
|
useComponentProps () {
|
|
1137
1137
|
var _field_componentProps;
|
|
1138
|
-
const { t } =
|
|
1139
|
-
const field =
|
|
1140
|
-
const fieldSchema =
|
|
1141
|
-
const { dn } =
|
|
1138
|
+
const { t } = useTranslation();
|
|
1139
|
+
const field = useField();
|
|
1140
|
+
const fieldSchema = useFieldSchema();
|
|
1141
|
+
const { dn } = useDesignable();
|
|
1142
1142
|
const collectionField = useFormItemCollectionField();
|
|
1143
1143
|
var _collectionField_target;
|
|
1144
|
-
const colorFieldOptions =
|
|
1144
|
+
const colorFieldOptions = useColorFields(null != (_collectionField_target = null == collectionField ? void 0 : collectionField.target) ? _collectionField_target : null == collectionField ? void 0 : collectionField.targetCollection);
|
|
1145
1145
|
return {
|
|
1146
1146
|
title: t('Tag color field'),
|
|
1147
1147
|
options: colorFieldOptions,
|
|
1148
|
-
value: null == field ? void 0 : null
|
|
1148
|
+
value: null == field ? void 0 : null == (_field_componentProps = field.componentProps) ? void 0 : _field_componentProps.tagColorField,
|
|
1149
1149
|
onChange (tagColorField) {
|
|
1150
1150
|
const schema = {
|
|
1151
1151
|
['x-uid']: fieldSchema['x-uid']
|
|
@@ -1174,7 +1174,7 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
1174
1174
|
name: 'remove',
|
|
1175
1175
|
type: 'remove',
|
|
1176
1176
|
useComponentProps () {
|
|
1177
|
-
const { t } =
|
|
1177
|
+
const { t } = useTranslation();
|
|
1178
1178
|
return {
|
|
1179
1179
|
removeParentsIfNoChildren: true,
|
|
1180
1180
|
confirm: {
|
|
@@ -1189,8 +1189,8 @@ const formItemSettings = new __WEBPACK_EXTERNAL_MODULE__application_schema_setti
|
|
|
1189
1189
|
]
|
|
1190
1190
|
});
|
|
1191
1191
|
function useIsAddNewForm() {
|
|
1192
|
-
const record =
|
|
1193
|
-
const isAddNewForm =
|
|
1192
|
+
const record = useRecord();
|
|
1193
|
+
const isAddNewForm = lodash.isEmpty(lodash.omit(record, [
|
|
1194
1194
|
'__parent',
|
|
1195
1195
|
'__collectionName'
|
|
1196
1196
|
]));
|
|
@@ -1200,20 +1200,20 @@ function isFileCollection(collection) {
|
|
|
1200
1200
|
return (null == collection ? void 0 : collection.template) === 'file';
|
|
1201
1201
|
}
|
|
1202
1202
|
function useIsFormReadPretty() {
|
|
1203
|
-
const { form } =
|
|
1203
|
+
const { form } = useFormBlockContext();
|
|
1204
1204
|
return !!(null == form ? void 0 : form.readPretty);
|
|
1205
1205
|
}
|
|
1206
1206
|
function useIsFieldReadPretty() {
|
|
1207
|
-
const { fieldSchema: tableColumnSchema } =
|
|
1208
|
-
const field =
|
|
1207
|
+
const { fieldSchema: tableColumnSchema } = useColumnSchema();
|
|
1208
|
+
const field = useField();
|
|
1209
1209
|
return field.readPretty || (null == tableColumnSchema ? void 0 : tableColumnSchema['x-read-pretty']);
|
|
1210
1210
|
}
|
|
1211
1211
|
function useFormItemCollectionField() {
|
|
1212
|
-
const { getCollectionJoinField } =
|
|
1213
|
-
const { getField } =
|
|
1214
|
-
const fieldSchema =
|
|
1212
|
+
const { getCollectionJoinField } = useCollectionManager_deprecated();
|
|
1213
|
+
const { getField } = useCollection_deprecated();
|
|
1214
|
+
const fieldSchema = useFieldSchema();
|
|
1215
1215
|
const collectionField = getField(fieldSchema['name']) || getCollectionJoinField(fieldSchema['x-collection-field']);
|
|
1216
|
-
const { collectionField: columnCollectionField } =
|
|
1216
|
+
const { collectionField: columnCollectionField } = useColumnSchema();
|
|
1217
1217
|
return collectionField || columnCollectionField;
|
|
1218
1218
|
}
|
|
1219
1219
|
function useIsAssociationField() {
|
|
@@ -1244,7 +1244,7 @@ function useIsMuiltipleAble() {
|
|
|
1244
1244
|
return isAssociationField || isMultipleSelect;
|
|
1245
1245
|
}
|
|
1246
1246
|
function useIsFileField() {
|
|
1247
|
-
const { getCollection } =
|
|
1247
|
+
const { getCollection } = useCollectionManager_deprecated();
|
|
1248
1248
|
const collectionField = useFormItemCollectionField();
|
|
1249
1249
|
const targetCollection = getCollection(null == collectionField ? void 0 : collectionField.target);
|
|
1250
1250
|
const isFileField = isFileCollection(targetCollection);
|
|
@@ -1252,9 +1252,9 @@ function useIsFileField() {
|
|
|
1252
1252
|
}
|
|
1253
1253
|
function useFieldMode() {
|
|
1254
1254
|
var _field_componentProps;
|
|
1255
|
-
const field =
|
|
1255
|
+
const field = useField();
|
|
1256
1256
|
const isFileField = useIsFileField();
|
|
1257
|
-
const fieldMode = (null == field ? void 0 : null
|
|
1257
|
+
const fieldMode = (null == field ? void 0 : null == (_field_componentProps = field.componentProps) ? void 0 : _field_componentProps['mode']) || (isFileField ? 'FileManager' : 'Select');
|
|
1258
1258
|
return fieldMode;
|
|
1259
1259
|
}
|
|
1260
1260
|
function useIsSelectFieldMode() {
|
|
@@ -1265,32 +1265,32 @@ function useIsSelectFieldMode() {
|
|
|
1265
1265
|
}
|
|
1266
1266
|
function useValidateSchema() {
|
|
1267
1267
|
var _interfaceConfig_validateSchema;
|
|
1268
|
-
const { getInterface } =
|
|
1269
|
-
const fieldSchema =
|
|
1268
|
+
const { getInterface } = useCollectionManager_deprecated();
|
|
1269
|
+
const fieldSchema = useFieldSchema();
|
|
1270
1270
|
const collectionField = useFormItemCollectionField();
|
|
1271
1271
|
const interfaceConfig = getInterface(null == collectionField ? void 0 : collectionField.interface);
|
|
1272
|
-
const validateSchema = null == interfaceConfig ? void 0 : null
|
|
1272
|
+
const validateSchema = null == interfaceConfig ? void 0 : null == (_interfaceConfig_validateSchema = interfaceConfig['validateSchema']) ? void 0 : _interfaceConfig_validateSchema.call(interfaceConfig, fieldSchema);
|
|
1273
1273
|
return validateSchema;
|
|
1274
1274
|
}
|
|
1275
1275
|
function useShowFieldMode() {
|
|
1276
|
-
const fieldSchema =
|
|
1277
|
-
const fieldModeOptions =
|
|
1276
|
+
const fieldSchema = useFieldSchema();
|
|
1277
|
+
const fieldModeOptions = useFieldModeOptions();
|
|
1278
1278
|
const isTableField = 'TableField' === fieldSchema['x-component'];
|
|
1279
1279
|
const isAssociationField = useIsAssociationField();
|
|
1280
1280
|
const showFieldMode = isAssociationField && fieldModeOptions && !isTableField;
|
|
1281
1281
|
return showFieldMode;
|
|
1282
1282
|
}
|
|
1283
1283
|
function useTitleFieldOptions() {
|
|
1284
|
-
const { getCollectionFields, isTitleField } =
|
|
1285
|
-
const compile =
|
|
1284
|
+
const { getCollectionFields, isTitleField } = useCollectionManager_deprecated();
|
|
1285
|
+
const compile = useCompile();
|
|
1286
1286
|
const collectionField = useFormItemCollectionField();
|
|
1287
1287
|
var _getCollectionFields;
|
|
1288
|
-
const targetFields = (null == collectionField ? void 0 : collectionField.target) ? getCollectionFields(null == collectionField ? void 0 : collectionField.target) : null
|
|
1288
|
+
const targetFields = (null == collectionField ? void 0 : collectionField.target) ? getCollectionFields(null == collectionField ? void 0 : collectionField.target) : null != (_getCollectionFields = getCollectionFields(null == collectionField ? void 0 : collectionField.targetCollection)) ? _getCollectionFields : [];
|
|
1289
1289
|
const options = targetFields.map((field)=>{
|
|
1290
1290
|
var _field_uiSchema;
|
|
1291
1291
|
return {
|
|
1292
1292
|
value: null == field ? void 0 : field.name,
|
|
1293
|
-
label: compile(null == field ? void 0 : null
|
|
1293
|
+
label: compile(null == field ? void 0 : null == (_field_uiSchema = field.uiSchema) ? void 0 : _field_uiSchema.title) || (null == field ? void 0 : field.name)
|
|
1294
1294
|
};
|
|
1295
1295
|
});
|
|
1296
1296
|
return options;
|