@tachybase/client 0.23.8-alpha.30 → 0.23.8-alpha.32
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 +131 -0
- package/es/api-client/APIClientProvider.mjs +11 -0
- package/es/api-client/__tests__/APIClient.test.mjs +55 -0
- package/es/api-client/context.mjs +5 -0
- package/es/api-client/demos/demo1.mjs +32 -0
- package/es/api-client/demos/demo2.mjs +31 -0
- package/es/api-client/demos/demo3.mjs +74 -0
- package/es/api-client/hooks/assign.mjs +61 -0
- package/es/api-client/hooks/index.mjs +3 -0
- package/es/api-client/hooks/useAPIClient.mjs +6 -0
- package/es/api-client/hooks/useRequest.mjs +38 -0
- package/es/api-client/hooks/useResource.mjs +6 -0
- package/es/api-client/index.mjs +4 -0
- package/es/application/AppSchemaComponentProvider.mjs +29 -0
- package/es/application/Application.mjs +312 -0
- package/es/application/AttachmentPreviewManager.mjs +31 -0
- package/es/application/NoticesManager.mjs +99 -0
- package/es/application/Plugin.mjs +60 -0
- package/es/application/PluginContextMenu.mjs +29 -0
- package/es/application/PluginManager.mjs +83 -0
- package/es/application/RouterManager.mjs +101 -0
- package/es/application/SystemSettingsManager.mjs +108 -0
- package/es/application/UserSettingsManager.mjs +110 -0
- package/es/application/WebSocketClient.mjs +156 -0
- package/es/application/__tests__/Application.test.mjs +481 -0
- package/es/application/__tests__/Plugin.test.mjs +197 -0
- package/es/application/__tests__/PluginSettingsManager.test.mjs +156 -0
- package/es/application/__tests__/RouterManager.test.mjs +311 -0
- package/es/application/__tests__/SchemaInitializer.test.mjs +163 -0
- package/es/application/__tests__/SchemaToolbar.test.mjs +143 -0
- package/es/application/__tests__/hoc/withDynamicSchemaProps.test.mjs +187 -0
- package/es/application/__tests__/hooks.test.mjs +85 -0
- package/es/application/__tests__/utils/remotePlugins.test.mjs +318 -0
- package/es/application/__tests__/utils.test.mjs +99 -0
- package/es/application/components/AppComponent.mjs +55 -0
- package/es/application/components/BlankComponent.mjs +9 -0
- package/es/application/components/MainComponent.mjs +17 -0
- package/es/application/components/RouterContextCleaner.mjs +16 -0
- package/es/application/components/defaultComponents.mjs +25 -0
- package/es/application/components/index.mjs +4 -0
- package/es/application/context.mjs +4 -0
- package/es/application/demos/demo1.mjs +110 -0
- package/es/application/demos/demo2.mjs +126 -0
- package/es/application/demos/demo3.mjs +11 -0
- package/es/application/hoc/index.mjs +1 -0
- package/es/application/hoc/withDynamicSchemaProps.mjs +115 -0
- package/es/application/hooks/index.mjs +3 -0
- package/es/application/hooks/useApp.mjs +4 -0
- package/es/application/hooks/usePlugin.mjs +6 -0
- package/es/application/hooks/useRouter.mjs +6 -0
- package/es/application/index.mjs +17 -0
- package/es/application/schema-initializer/SchemaInitializer.mjs +76 -0
- package/es/application/schema-initializer/SchemaInitializerManager.mjs +72 -0
- package/es/application/schema-initializer/components/SchemaInitializerActionModal.mjs +110 -0
- package/es/application/schema-initializer/components/SchemaInitializerButton.mjs +39 -0
- package/es/application/schema-initializer/components/SchemaInitializerChildren.mjs +69 -0
- package/es/application/schema-initializer/components/SchemaInitializerDivider.mjs +13 -0
- package/es/application/schema-initializer/components/SchemaInitializerItem.mjs +89 -0
- package/es/application/schema-initializer/components/SchemaInitializerItemGroup.mjs +36 -0
- package/es/application/schema-initializer/components/SchemaInitializerItems.mjs +11 -0
- package/es/application/schema-initializer/components/SchemaInitializerSelect.mjs +63 -0
- package/es/application/schema-initializer/components/SchemaInitializerSubMenu.mjs +105 -0
- package/es/application/schema-initializer/components/SchemaInitializerSwitch.mjs +38 -0
- package/es/application/schema-initializer/components/index.mjs +10 -0
- package/es/application/schema-initializer/components/style.mjs +41 -0
- package/es/application/schema-initializer/context/index.mjs +8 -0
- package/es/application/schema-initializer/hoc/index.mjs +117 -0
- package/es/application/schema-initializer/hooks/index.mjs +153 -0
- package/es/application/schema-initializer/hooks/useAriaAttributeOfMenuItem.mjs +17 -0
- package/es/application/schema-initializer/index.mjs +7 -0
- package/es/application/schema-initializer/types.mjs +0 -0
- package/es/application/schema-settings/SchemaSettings.mjs +71 -0
- package/es/application/schema-settings/SchemaSettingsDefaults.mjs +215 -0
- package/es/application/schema-settings/SchemaSettingsManager.mjs +72 -0
- package/es/application/schema-settings/components/SchemaSettingsChildren.mjs +90 -0
- package/es/application/schema-settings/components/SchemaSettingsIcon.mjs +19 -0
- package/es/application/schema-settings/components/SchemaSettingsWrapper.mjs +33 -0
- package/es/application/schema-settings/components/index.mjs +2 -0
- package/es/application/schema-settings/context/index.mjs +7 -0
- package/es/application/schema-settings/hooks/index.mjs +44 -0
- package/es/application/schema-settings/index.mjs +6 -0
- package/es/application/schema-settings/types.mjs +0 -0
- package/es/application/schema-toolbar/context/index.mjs +15 -0
- package/es/application/schema-toolbar/hooks/index.mjs +25 -0
- package/es/application/schema-toolbar/index.mjs +2 -0
- package/es/application/utils/globalDeps.mjs +60 -0
- package/es/application/utils/index.mjs +39 -0
- package/es/application/utils/remotePlugins.mjs +102 -0
- package/es/async-data-provider/index.mjs +21 -0
- package/es/block-provider/BlockProvider.mjs +308 -0
- package/es/block-provider/DetailsBlockProvider.mjs +98 -0
- package/es/block-provider/FilterFormBlockProvider.mjs +19 -0
- package/es/block-provider/FormBlockProvider.mjs +166 -0
- package/es/block-provider/FormFieldProvider.mjs +84 -0
- package/es/block-provider/MobileProvider.mjs +15 -0
- package/es/block-provider/PageLayout.mjs +9 -0
- package/es/block-provider/TableBlockProvider.mjs +110 -0
- package/es/block-provider/TableFieldProvider.mjs +163 -0
- package/es/block-provider/TableSelectorProvider.mjs +285 -0
- package/es/block-provider/TreeBlockProvider.mjs +117 -0
- package/es/block-provider/hooks/index.mjs +1206 -0
- package/es/block-provider/hooks/useDataBlockSourceId.mjs +14 -0
- package/es/block-provider/hooks/useFormActiveFields.mjs +34 -0
- package/es/block-provider/hooks/useIsMobile.mjs +7 -0
- package/es/block-provider/hooks/useParsedFilter.mjs +48 -0
- package/es/block-provider/index.mjs +11 -0
- package/es/built-in/acl/ACLPlugin.mjs +13 -0
- package/es/built-in/acl/ACLProvider.mjs +280 -0
- package/es/built-in/acl/ACLShortcut.mjs +23 -0
- package/es/built-in/acl/Configuration/ConfigureCenter.mjs +123 -0
- package/es/built-in/acl/Configuration/MenuConfigure.mjs +147 -0
- package/es/built-in/acl/Configuration/MenuItemsProvider.mjs +40 -0
- package/es/built-in/acl/Configuration/PermisionProvider.mjs +69 -0
- package/es/built-in/acl/Configuration/RoleConfigure.mjs +127 -0
- package/es/built-in/acl/Configuration/RoleTable.mjs +40 -0
- package/es/built-in/acl/Configuration/RolesResourcesActions.mjs +216 -0
- package/es/built-in/acl/Configuration/ScopeSelect.mjs +41 -0
- package/es/built-in/acl/Configuration/StrategyActions.mjs +109 -0
- package/es/built-in/acl/Configuration/index.mjs +17 -0
- package/es/built-in/acl/Configuration/schemas/roles.mjs +395 -0
- package/es/built-in/acl/Configuration/schemas/scopes.mjs +362 -0
- package/es/built-in/acl/Configuration/schemas/useRoleResourceValues.mjs +35 -0
- package/es/built-in/acl/Configuration/schemas/useSaveRoleResourceAction.mjs +23 -0
- package/es/built-in/acl/index.mjs +4 -0
- package/es/built-in/acl/style.mjs +23 -0
- package/es/built-in/admin-layout/AdminContent.mjs +13 -0
- package/es/built-in/admin-layout/AdminTabs.mjs +9 -0
- package/es/built-in/admin-layout/NoticeArea.mjs +16 -0
- package/es/built-in/admin-layout/components/AddNewButton.mjs +55 -0
- package/es/built-in/admin-layout/components/WelcomeCard.mjs +81 -0
- package/es/built-in/admin-layout/index.mjs +233 -0
- package/es/built-in/admin-layout/style.mjs +142 -0
- package/es/built-in/assistant/Assistant.provider.mjs +77 -0
- package/es/built-in/assistant/ai-chat/index.mjs +330 -0
- package/es/built-in/assistant/ai-chat/index.module.mjs +30 -0
- package/es/built-in/assistant/calculator/AutoScalingText.mjs +33 -0
- package/es/built-in/assistant/calculator/Calculator.mjs +235 -0
- package/es/built-in/assistant/calculator/CalculatorDisplay.mjs +21 -0
- package/es/built-in/assistant/calculator/CalculatorKey.mjs +11 -0
- package/es/built-in/assistant/calculator/CalculatorProvider.mjs +29 -0
- package/es/built-in/assistant/calculator/Draggable.mjs +54 -0
- package/es/built-in/assistant/calculator/style.mjs +25 -0
- package/es/built-in/assistant/index.mjs +12 -0
- package/es/built-in/assistant/search-and-jump/index.mjs +59 -0
- package/es/built-in/attachment-preview/index.mjs +15 -0
- package/es/built-in/attachment-preview/interface.mjs +0 -0
- package/es/built-in/attachment-preview/previewers/file-default.mjs +83 -0
- package/es/built-in/attachment-preview/previewers/file-pdf.mjs +109 -0
- package/es/built-in/attachment-preview/previewers/file-pdf.style.mjs +45 -0
- package/es/built-in/attachment-preview/previewers/file-sheet.mjs +103 -0
- package/es/built-in/attachment-preview/previewers/file-sheet.style.mjs +45 -0
- package/es/built-in/attachment-preview/previewers/image-jpeg.mjs +34 -0
- package/es/built-in/attachment-preview/previewers/image-png.mjs +34 -0
- package/es/built-in/attachment-preview/previewers/image-svg.mjs +20 -0
- package/es/built-in/attachment-preview/previewers/index.mjs +6 -0
- package/es/built-in/block-schema-component/index.mjs +87 -0
- package/es/built-in/built-in-collections/index.mjs +59 -0
- package/es/built-in/context-menu/ContextMenu.provider.mjs +68 -0
- package/es/built-in/context-menu/ContextMenuItemsProps.mjs +146 -0
- package/es/built-in/context-menu/index.mjs +18 -0
- package/es/built-in/context-menu/useContextMenu.mjs +4 -0
- package/es/built-in/document-title/index.mjs +52 -0
- package/es/built-in/dynamic-page/DynamicPage.mjs +36 -0
- package/es/built-in/dynamic-page/index.mjs +58 -0
- package/es/built-in/dynamic-page/style.mjs +52 -0
- package/es/built-in/dynamic-page/utils.mjs +61 -0
- package/es/built-in/index.mjs +454 -0
- package/es/built-in/locale/LocalePlugin.mjs +70 -0
- package/es/built-in/locale/loadConstrueLocale.mjs +185 -0
- package/es/built-in/page-style/CustomAdminHeader.mjs +9 -0
- package/es/built-in/page-style/PageStyle.provider.mjs +32 -0
- package/es/built-in/page-style/TabContent.mjs +65 -0
- package/es/built-in/page-style/TabHeader.mjs +80 -0
- package/es/built-in/page-style/index.mjs +14 -0
- package/es/built-in/page-style/usePageStyle.mjs +4 -0
- package/es/built-in/page-style/useTabSettings.mjs +69 -0
- package/es/built-in/pinned-list/PinnedPluginListProvider.mjs +61 -0
- package/es/built-in/pinned-list/PluginPinnedList.mjs +8 -0
- package/es/built-in/pinned-list/context.mjs +6 -0
- package/es/built-in/pinned-list/index.mjs +2 -0
- package/es/built-in/pm/PluginCard.mjs +256 -0
- package/es/built-in/pm/PluginDetail.mjs +320 -0
- package/es/built-in/pm/PluginDocument.mjs +71 -0
- package/es/built-in/pm/PluginForm/form/PluginNpmForm.mjs +140 -0
- package/es/built-in/pm/PluginForm/form/PluginUploadForm.mjs +107 -0
- package/es/built-in/pm/PluginForm/form/PluginUrlForm.mjs +101 -0
- package/es/built-in/pm/PluginForm/modal/PluginAddModal.mjs +61 -0
- package/es/built-in/pm/PluginForm/modal/PluginUpgradeModal.mjs +65 -0
- package/es/built-in/pm/PluginManager.mjs +271 -0
- package/es/built-in/pm/index.mjs +55 -0
- package/es/built-in/pm/style.mjs +72 -0
- package/es/built-in/pm/types.mjs +0 -0
- package/es/built-in/quick-access/Action.mjs +90 -0
- package/es/built-in/quick-access/Block.mjs +128 -0
- package/es/built-in/quick-access/CustomRequestActionSchemaInitializerItem.mjs +90 -0
- package/es/built-in/quick-access/LinkActionSchemaInitializerItem.mjs +83 -0
- package/es/built-in/quick-access/ModalActionSchemaInitializerItem.mjs +92 -0
- package/es/built-in/quick-access/PopupActionSchemaInitializerItem.mjs +118 -0
- package/es/built-in/quick-access/SchemaSettingsBlockTitleItem.mjs +45 -0
- package/es/built-in/quick-access/blockInitializerItem.mjs +19 -0
- package/es/built-in/quick-access/blockSchema.mjs +17 -0
- package/es/built-in/quick-access/blockSettings.mjs +65 -0
- package/es/built-in/quick-access/configureActions.mjs +15 -0
- package/es/built-in/quick-access/index.mjs +31 -0
- package/es/built-in/scroll-assistant/ScrollAssistant.provider.mjs +42 -0
- package/es/built-in/scroll-assistant/ScrollAssistantStatus.provider.mjs +22 -0
- package/es/built-in/scroll-assistant/index.mjs +26 -0
- package/es/built-in/scroll-assistant/useJoystick.mjs +167 -0
- package/es/built-in/setting-layout/AdminSettings.mjs +126 -0
- package/es/built-in/setting-layout/SettingLayout.mjs +136 -0
- package/es/built-in/setting-layout/SettingsCenterDropdown.mjs +75 -0
- package/es/built-in/system-settings/SystemSettingsProvider.mjs +17 -0
- package/es/built-in/system-settings/SystemSettingsShortcut.mjs +148 -0
- package/es/built-in/system-settings/index.mjs +12 -0
- package/es/built-in/system-version/SystemVersion.provider.mjs +34 -0
- package/es/built-in/system-version/index.mjs +8 -0
- package/es/built-in/user-settings/UserSettingsLayout.mjs +169 -0
- package/es/built-in/user-settings/index.mjs +17 -0
- package/es/built-in/user-settings/style.mjs +72 -0
- package/es/collection-manager/CollectionHistoryProvider.mjs +58 -0
- package/es/collection-manager/CollectionManagerProvider.mjs +57 -0
- package/es/collection-manager/CollectionManagerSchemaComponentProvider.mjs +23 -0
- package/es/collection-manager/CollectionProvider_deprecated.mjs +21 -0
- package/es/collection-manager/Configuration/AddCollectionAction.mjs +224 -0
- package/es/collection-manager/Configuration/AddFieldAction.mjs +359 -0
- package/es/collection-manager/Configuration/AddSubFieldAction.mjs +140 -0
- package/es/collection-manager/Configuration/DeleteCollectionAction.mjs +218 -0
- package/es/collection-manager/Configuration/EditCollectionAction.mjs +171 -0
- package/es/collection-manager/Configuration/EditFieldAction.mjs +245 -0
- package/es/collection-manager/Configuration/EditSubFieldAction.mjs +115 -0
- package/es/collection-manager/Configuration/ImportCollectionMetaAction.mjs +128 -0
- package/es/collection-manager/Configuration/OverridingCollectionField.mjs +216 -0
- package/es/collection-manager/Configuration/SyncFieldsAction.mjs +198 -0
- package/es/collection-manager/Configuration/SyncSQLFieldsAction.mjs +166 -0
- package/es/collection-manager/Configuration/ViewInheritedField.mjs +138 -0
- package/es/collection-manager/Configuration/components/CollectionCategory.mjs +18 -0
- package/es/collection-manager/Configuration/components/CollectionFieldInterfaceTag.mjs +19 -0
- package/es/collection-manager/Configuration/components/CollectionTemplateTag.mjs +18 -0
- package/es/collection-manager/Configuration/components/FieldSummary.mjs +19 -0
- package/es/collection-manager/Configuration/components/Summary.mjs +61 -0
- package/es/collection-manager/Configuration/components/TemplateSummary.mjs +19 -0
- package/es/collection-manager/Configuration/components/index.mjs +319 -0
- package/es/collection-manager/Configuration/index.mjs +22 -0
- package/es/collection-manager/Configuration/interfaces.mjs +35 -0
- package/es/collection-manager/ResourceActionProvider.mjs +136 -0
- package/es/collection-manager/action-hooks.mjs +538 -0
- package/es/collection-manager/collectionPlugin.mjs +129 -0
- package/es/collection-manager/context.mjs +7 -0
- package/es/collection-manager/demos/demo2.mjs +106 -0
- package/es/collection-manager/demos/demo3.mjs +76 -0
- package/es/collection-manager/demos/demo4.mjs +168 -0
- package/es/collection-manager/demos/demo5.mjs +152 -0
- package/es/collection-manager/hooks/index.mjs +4 -0
- package/es/collection-manager/hooks/useCollectionDataSource.mjs +17 -0
- package/es/collection-manager/hooks/useCollectionField_deprecated.mjs +21 -0
- package/es/collection-manager/hooks/useCollectionManager_deprecated.mjs +224 -0
- package/es/collection-manager/hooks/useCollection_deprecated.mjs +54 -0
- package/es/collection-manager/hooks/useDialect.mjs +11 -0
- package/es/collection-manager/index.mjs +30 -0
- package/es/collection-manager/interfaces/__tests__/json.mjs +40 -0
- package/es/collection-manager/interfaces/checkbox.mjs +49 -0
- package/es/collection-manager/interfaces/checkboxGroup.mjs +43 -0
- package/es/collection-manager/interfaces/chinaRegion.mjs +102 -0
- package/es/collection-manager/interfaces/collection.mjs +43 -0
- package/es/collection-manager/interfaces/color.mjs +31 -0
- package/es/collection-manager/interfaces/components/index.mjs +49 -0
- package/es/collection-manager/interfaces/createdAt.mjs +35 -0
- package/es/collection-manager/interfaces/createdBy.mjs +55 -0
- package/es/collection-manager/interfaces/datetime.mjs +44 -0
- package/es/collection-manager/interfaces/email.mjs +42 -0
- package/es/collection-manager/interfaces/icon.mjs +28 -0
- package/es/collection-manager/interfaces/id.mjs +54 -0
- package/es/collection-manager/interfaces/index.mjs +39 -0
- package/es/collection-manager/interfaces/input.mjs +182 -0
- package/es/collection-manager/interfaces/integer.mjs +118 -0
- package/es/collection-manager/interfaces/json.mjs +75 -0
- package/es/collection-manager/interfaces/linkTo.mjs +92 -0
- package/es/collection-manager/interfaces/m2m.mjs +217 -0
- package/es/collection-manager/interfaces/m2o.mjs +159 -0
- package/es/collection-manager/interfaces/markdown.mjs +77 -0
- package/es/collection-manager/interfaces/multipleSelect.mjs +48 -0
- package/es/collection-manager/interfaces/nanoid.mjs +60 -0
- package/es/collection-manager/interfaces/number.mjs +131 -0
- package/es/collection-manager/interfaces/o2m.mjs +191 -0
- package/es/collection-manager/interfaces/o2o.mjs +452 -0
- package/es/collection-manager/interfaces/password.mjs +63 -0
- package/es/collection-manager/interfaces/percent.mjs +162 -0
- package/es/collection-manager/interfaces/phone.mjs +34 -0
- package/es/collection-manager/interfaces/properties/index.mjs +493 -0
- package/es/collection-manager/interfaces/properties/operators.mjs +367 -0
- package/es/collection-manager/interfaces/radioGroup.mjs +34 -0
- package/es/collection-manager/interfaces/richText.mjs +75 -0
- package/es/collection-manager/interfaces/select.mjs +46 -0
- package/es/collection-manager/interfaces/sort.mjs +106 -0
- package/es/collection-manager/interfaces/subTable.mjs +197 -0
- package/es/collection-manager/interfaces/tableoid.mjs +48 -0
- package/es/collection-manager/interfaces/textarea.mjs +75 -0
- package/es/collection-manager/interfaces/time.mjs +47 -0
- package/es/collection-manager/interfaces/types.mjs +0 -0
- package/es/collection-manager/interfaces/unixTimestamp.mjs +52 -0
- package/es/collection-manager/interfaces/updatedAt.mjs +35 -0
- package/es/collection-manager/interfaces/updatedBy.mjs +55 -0
- package/es/collection-manager/interfaces/url.mjs +34 -0
- package/es/collection-manager/interfaces/uuid.mjs +48 -0
- package/es/collection-manager/mixins/InheritanceCollectionMixin.mjs +187 -0
- package/es/collection-manager/sub-table.mjs +238 -0
- package/es/collection-manager/templates/components/PresetFields.mjs +228 -0
- package/es/collection-manager/templates/components/PreviewFields.mjs +309 -0
- package/es/collection-manager/templates/components/PreviewTable.mjs +140 -0
- package/es/collection-manager/templates/components/sql-collection/FieldsConfigure.mjs +280 -0
- package/es/collection-manager/templates/components/sql-collection/PreviewTable.mjs +60 -0
- package/es/collection-manager/templates/components/sql-collection/SQLInput.mjs +90 -0
- package/es/collection-manager/templates/components/sql-collection/SQLRequestProvider.mjs +51 -0
- package/es/collection-manager/templates/components/sql-collection/index.mjs +4 -0
- package/es/collection-manager/templates/expression.mjs +62 -0
- package/es/collection-manager/templates/general.mjs +20 -0
- package/es/collection-manager/templates/import.mjs +19 -0
- package/es/collection-manager/templates/index.mjs +6 -0
- package/es/collection-manager/templates/properties/index.mjs +69 -0
- package/es/collection-manager/templates/sql.mjs +85 -0
- package/es/collection-manager/templates/tree.mjs +78 -0
- package/es/collection-manager/templates/types.mjs +0 -0
- package/es/collection-manager/templates/view.mjs +159 -0
- package/es/collection-manager/types.mjs +0 -0
- package/es/collection-manager/utils.mjs +16 -0
- package/es/common/SelectWithTitle.mjs +44 -0
- package/es/common/appInfo/CurrentAppInfoProvider.mjs +17 -0
- package/es/common/appInfo/index.mjs +1 -0
- package/es/common/index.mjs +3 -0
- package/es/common/useFieldComponentName.mjs +23 -0
- package/es/common/useNiceDropdownHeight.mjs +18 -0
- package/es/data-source/__tests__/collection/AssociationProvider.test.mjs +113 -0
- package/es/data-source/__tests__/collection/Collection.test.mjs +297 -0
- package/es/data-source/__tests__/collection/CollectionManager.test.mjs +297 -0
- package/es/data-source/__tests__/collection/CollectionManagerProvider.test.mjs +114 -0
- package/es/data-source/__tests__/collection/CollectionProvider.test.mjs +106 -0
- package/es/data-source/__tests__/collection/ExtendCollectionsProvider.test.mjs +87 -0
- package/es/data-source/__tests__/collection-field/CollectionField.test.mjs +67 -0
- package/es/data-source/__tests__/collection-field/CollectionFieldProvider.test.mjs +51 -0
- package/es/data-source/__tests__/collection-field-interface/CollectionFieldInterfaceManager.test.mjs +162 -0
- package/es/data-source/__tests__/collection-record/CollectionRecord.test.mjs +21 -0
- package/es/data-source/__tests__/collection-record/CollectionRecordProvider.test.mjs +253 -0
- package/es/data-source/__tests__/collection-record/isNewRecord.test.mjs +45 -0
- package/es/data-source/__tests__/collection-template/CollectionTemplateManager.test.mjs +123 -0
- package/es/data-source/__tests__/components/CollectionDeletedPlaceholder.test.mjs +43 -0
- package/es/data-source/__tests__/data-block/DataBlockProvider.test.mjs +114 -0
- package/es/data-source/__tests__/data-block/data-block-demos/association-table-list-and-parent-record.mjs +88 -0
- package/es/data-source/__tests__/data-block/data-block-demos/association-table-list-and-source-id.mjs +139 -0
- package/es/data-source/__tests__/data-block/data-block-demos/collection-form-create.mjs +109 -0
- package/es/data-source/__tests__/data-block/data-block-demos/collection-form-get-and-update.mjs +174 -0
- package/es/data-source/__tests__/data-block/data-block-demos/collection-form-record-and-update.mjs +138 -0
- package/es/data-source/__tests__/data-block/data-block-demos/collection-table-list.mjs +94 -0
- package/es/data-source/__tests__/data-block/data-block-demos/createApp.mjs +55 -0
- package/es/data-source/__tests__/data-source/CollectionDataSourceProvider.test.mjs +35 -0
- package/es/data-source/__tests__/data-source/DataSource.test.mjs +75 -0
- package/es/data-source/__tests__/data-source/DataSourceManager.test.mjs +166 -0
- package/es/data-source/__tests__/data-source/DataSourceManagerProvider.test.mjs +30 -0
- package/es/data-source/__tests__/data-source/DataSourceProvider.test.mjs +79 -0
- package/es/data-source/__tests__/utils.test.mjs +55 -0
- package/es/data-source/collection/AssociationProvider.mjs +42 -0
- package/es/data-source/collection/Collection.mjs +177 -0
- package/es/data-source/collection/CollectionManager.mjs +119 -0
- package/es/data-source/collection/CollectionManagerProvider.mjs +47 -0
- package/es/data-source/collection/CollectionProvider.mjs +38 -0
- package/es/data-source/collection/ExtendCollectionsProvider.mjs +30 -0
- package/es/data-source/collection/index.mjs +6 -0
- package/es/data-source/collection/utils.mjs +46 -0
- package/es/data-source/collection-field/CollectionField.mjs +73 -0
- package/es/data-source/collection-field/CollectionFieldProvider.mjs +40 -0
- package/es/data-source/collection-field/index.mjs +2 -0
- package/es/data-source/collection-field-interface/CollectionFieldInterface.mjs +33 -0
- package/es/data-source/collection-field-interface/CollectionFieldInterfaceManager.mjs +59 -0
- package/es/data-source/collection-field-interface/index.mjs +2 -0
- package/es/data-source/collection-record/CollectionRecord.mjs +28 -0
- package/es/data-source/collection-record/CollectionRecordProvider.mjs +62 -0
- package/es/data-source/collection-record/index.mjs +2 -0
- package/es/data-source/collection-record/isNewRecord.mjs +9 -0
- package/es/data-source/collection-template/CollectionTemplate.mjs +32 -0
- package/es/data-source/collection-template/CollectionTemplateManager.mjs +52 -0
- package/es/data-source/collection-template/index.mjs +2 -0
- package/es/data-source/commonsSettingsItem/fieldComponent.mjs +57 -0
- package/es/data-source/commonsSettingsItem/index.mjs +1 -0
- package/es/data-source/components/CollectionDeletedPlaceholder.mjs +81 -0
- package/es/data-source/components/DataSourceApplicationProvider.mjs +15 -0
- package/es/data-source/components/index.mjs +2 -0
- package/es/data-source/data-block/DataBlockProvider.mjs +79 -0
- package/es/data-source/data-block/DataBlockRequestProvider.mjs +124 -0
- package/es/data-source/data-block/DataBlockResourceProvider.mjs +54 -0
- package/es/data-source/data-block/context/ConfigSetting.provider.mjs +10 -0
- package/es/data-source/data-block/index.mjs +4 -0
- package/es/data-source/data-source/DataSource.mjs +72 -0
- package/es/data-source/data-source/DataSourceManager.mjs +108 -0
- package/es/data-source/data-source/DataSourceManagerProvider.mjs +16 -0
- package/es/data-source/data-source/DataSourceProvider.mjs +54 -0
- package/es/data-source/data-source/index.mjs +4 -0
- package/es/data-source/index.mjs +10 -0
- package/es/data-source/utils.mjs +17 -0
- package/es/env.d.mjs +0 -0
- package/es/filter-provider/FilterProvider.mjs +127 -0
- package/es/filter-provider/__tests__/transformToFilter.mjs +65 -0
- package/es/filter-provider/__tests__/useFilter.mjs +41 -0
- package/es/filter-provider/__tests__/utiles.test.mjs +265 -0
- package/es/filter-provider/index.mjs +2 -0
- package/es/filter-provider/utils.mjs +180 -0
- package/es/flag-provider/FlagProvider.mjs +8 -0
- package/es/flag-provider/__tests__/flag-provider.test.mjs +19 -0
- package/es/flag-provider/hooks/useFlag.mjs +4 -0
- package/es/flag-provider/index.mjs +2 -0
- package/es/hooks/index.mjs +2 -0
- package/es/hooks/useAdminSchemaUid.mjs +2 -0
- package/es/hooks/useMenuItem.mjs +70 -0
- package/es/hooks/useViewport.mjs +35 -0
- package/es/i18n/i18n.mjs +23 -0
- package/es/i18n/index.mjs +1 -0
- package/es/icon/Icon.mjs +56 -0
- package/es/icon/__tests__/icon.test.mjs +25 -0
- package/es/icon/demos/antd-icon.mjs +7 -0
- package/es/icon/demos/custom-icon.mjs +16 -0
- package/es/icon/demos/iconfont.mjs +10 -0
- package/es/icon/demos/register-icon.mjs +23 -0
- package/es/icon/index.mjs +1 -0
- package/es/icon/preloaded.mjs +122 -0
- package/es/index.mjs +50 -0
- package/es/locale/index.mjs +269 -0
- package/es/modules/actions/ActionSchemaToolbar.mjs +10 -0
- package/es/modules/actions/add-child/CreateChildInitializer.mjs +64 -0
- package/es/modules/actions/add-child/addChildActionSettings.mjs +64 -0
- package/es/modules/actions/add-new/CreateActionInitializer.mjs +67 -0
- package/es/modules/actions/add-new/addNewActionSettings.mjs +57 -0
- package/es/modules/actions/add-new/createFormBlockInitializers.mjs +56 -0
- package/es/modules/actions/add-record/CustomizeAddRecordActionInitializer.mjs +63 -0
- package/es/modules/actions/add-record/customizeAddRecordActionSettings.mjs +35 -0
- package/es/modules/actions/add-record/customizeCreateFormBlockInitializers.mjs +36 -0
- package/es/modules/actions/bulk-destroy/BulkDestroyActionInitializer.mjs +35 -0
- package/es/modules/actions/bulk-destroy/bulkDeleteActionSettings.mjs +30 -0
- package/es/modules/actions/delete/DestroyActionInitializer.mjs +28 -0
- package/es/modules/actions/delete/deleteActionSettings.mjs +39 -0
- package/es/modules/actions/disassociate/DisassociateActionInitializer.mjs +28 -0
- package/es/modules/actions/disassociate/__e2e__/disassociate.test.mjs +39 -0
- package/es/modules/actions/disassociate/__e2e__/templatesOfPage.mjs +383 -0
- package/es/modules/actions/disassociate/disassociateActionSettings.mjs +39 -0
- package/es/modules/actions/expand-collapse/ExpandableActionInitializer.mjs +26 -0
- package/es/modules/actions/expand-collapse/expendableActionSettings.mjs +118 -0
- package/es/modules/actions/filter/FilterActionInitializer.mjs +22 -0
- package/es/modules/actions/filter/filterActionSettings.mjs +83 -0
- package/es/modules/actions/link/customizeLinkActionSettings.mjs +107 -0
- package/es/modules/actions/link/hooks.mjs +199 -0
- package/es/modules/actions/refresh/RefreshActionInitializer.mjs +21 -0
- package/es/modules/actions/refresh/refreshActionSettings.mjs +30 -0
- package/es/modules/actions/save-record/SaveRecordActionInitializer.mjs +34 -0
- package/es/modules/actions/save-record/customizeSaveRecordActionSettings.mjs +52 -0
- package/es/modules/actions/submit/CreateSubmitActionInitializer.mjs +27 -0
- package/es/modules/actions/submit/UpdateSubmitActionInitializer.mjs +31 -0
- package/es/modules/actions/submit/createSubmitActionSettings.mjs +210 -0
- package/es/modules/actions/submit/updateSubmitActionSettings.mjs +89 -0
- package/es/modules/actions/update-record/UpdateRecordActionInitializer.mjs +32 -0
- package/es/modules/actions/update-record/customizeUpdateRecordActionSettings.mjs +62 -0
- package/es/modules/actions/view-edit-popup/PopupActionInitializer.mjs +59 -0
- package/es/modules/actions/view-edit-popup/RecordFormBlockInitializers.mjs +35 -0
- package/es/modules/actions/view-edit-popup/UpdateActionInitializer.mjs +57 -0
- package/es/modules/actions/view-edit-popup/ViewActionInitializer.mjs +56 -0
- package/es/modules/actions/view-edit-popup/customizePopupActionSettings.mjs +49 -0
- package/es/modules/actions/view-edit-popup/editActionSettings.mjs +44 -0
- package/es/modules/actions/view-edit-popup/viewActionSettings.mjs +49 -0
- package/es/modules/blocks/BlockSchemaToolbar.mjs +56 -0
- package/es/modules/blocks/data-blocks/details-multi/DetailsActionInitializers.mjs +40 -0
- package/es/modules/blocks/data-blocks/details-multi/DetailsBlockInitializer.mjs +49 -0
- package/es/modules/blocks/data-blocks/details-multi/__e2e__/schemaInitializer.test.mjs +112 -0
- package/es/modules/blocks/data-blocks/details-multi/__e2e__/schemaSettings.test.mjs +72 -0
- 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 +14 -0
- package/es/modules/blocks/data-blocks/details-multi/createDetailsWithPaginationUISchema.mjs +58 -0
- package/es/modules/blocks/data-blocks/details-multi/detailsWithPaginationSettings.mjs +216 -0
- package/es/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationDecoratorProps.mjs +9 -0
- package/es/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationProps.mjs +5 -0
- package/es/modules/blocks/data-blocks/details-multi/setDataLoadingModeSettingsItem.mjs +73 -0
- package/es/modules/blocks/data-blocks/details-single/ReadPrettyFormActionInitializers.mjs +85 -0
- package/es/modules/blocks/data-blocks/details-single/ReadPrettyFormItemInitializers.mjs +86 -0
- package/es/modules/blocks/data-blocks/details-single/RecordReadPrettyFormBlockInitializer.mjs +73 -0
- package/es/modules/blocks/data-blocks/details-single/__e2e__/schemaInitializer.test.mjs +98 -0
- package/es/modules/blocks/data-blocks/details-single/__e2e__/schemaSettings.test.mjs +24 -0
- 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 +14 -0
- package/es/modules/blocks/data-blocks/details-single/createDetailsUISchema.mjs +54 -0
- package/es/modules/blocks/data-blocks/details-single/detailsBlockSettings.mjs +49 -0
- package/es/modules/blocks/data-blocks/details-single/hooks/useDetailsDecoratorProps.mjs +21 -0
- package/es/modules/blocks/data-blocks/details-single/hooks/useDetailsProps.mjs +5 -0
- package/es/modules/blocks/data-blocks/form/CreateFormBlockInitializer.mjs +48 -0
- package/es/modules/blocks/data-blocks/form/FilterItemCustomSettings.mjs +279 -0
- package/es/modules/blocks/data-blocks/form/FormBlockInitializer.mjs +79 -0
- package/es/modules/blocks/data-blocks/form/FormItemSchemaToolbar.mjs +9 -0
- package/es/modules/blocks/data-blocks/form/RecordFormBlockInitializer.mjs +84 -0
- package/es/modules/blocks/data-blocks/form/__e2e__/form-create/associationForm.test.mjs +14 -0
- package/es/modules/blocks/data-blocks/form/__e2e__/form-create/dragAndDrop.test.mjs +26 -0
- package/es/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadAssociationFields.test.mjs +168 -0
- package/es/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadVariables.test.mjs +28 -0
- package/es/modules/blocks/data-blocks/form/__e2e__/form-create/schemaInitializer.test.mjs +141 -0
- package/es/modules/blocks/data-blocks/form/__e2e__/form-create/schemaSettings.test.mjs +1254 -0
- package/es/modules/blocks/data-blocks/form/__e2e__/form-create/templatesOfBug.mjs +6002 -0
- package/es/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaInitializer.test.mjs +16 -0
- package/es/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaSettings.test.mjs +212 -0
- 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 +19 -0
- package/es/modules/blocks/data-blocks/form/__tests__/createEditFormBlockUISchema.test.mjs +18 -0
- package/es/modules/blocks/data-blocks/form/createCreateFormBlockUISchema.mjs +51 -0
- package/es/modules/blocks/data-blocks/form/createEditFormBlockUISchema.mjs +54 -0
- package/es/modules/blocks/data-blocks/form/createFormActionInitializers.mjs +45 -0
- package/es/modules/blocks/data-blocks/form/createFormBlockSettings.mjs +138 -0
- package/es/modules/blocks/data-blocks/form/editFormBlockSettings.mjs +72 -0
- package/es/modules/blocks/data-blocks/form/fieldSettingsFormItem.mjs +525 -0
- package/es/modules/blocks/data-blocks/form/formActionInitializers.mjs +45 -0
- package/es/modules/blocks/data-blocks/form/formItemInitializers.mjs +39 -0
- package/es/modules/blocks/data-blocks/form/hooks/useCreateFormBlockDecoratorProps.mjs +9 -0
- package/es/modules/blocks/data-blocks/form/hooks/useCreateFormBlockProps.mjs +5 -0
- package/es/modules/blocks/data-blocks/form/hooks/useEditFormBlockDecoratorProps.mjs +15 -0
- package/es/modules/blocks/data-blocks/form/hooks/useEditFormBlockProps.mjs +5 -0
- package/es/modules/blocks/data-blocks/form/index.d.ts +2 -2
- package/es/modules/blocks/data-blocks/form/index.mjs +14 -0
- package/es/modules/blocks/data-blocks/form/updateFormActionInitializers.mjs +56 -0
- package/es/modules/blocks/data-blocks/grid-card/GridCardActionInitializers.mjs +85 -0
- package/es/modules/blocks/data-blocks/grid-card/GridCardBlockInitializer.mjs +43 -0
- package/es/modules/blocks/data-blocks/grid-card/__e2e__/schemaInitializer.test.mjs +220 -0
- package/es/modules/blocks/data-blocks/grid-card/__e2e__/schemaSettings.test.mjs +48 -0
- 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 +26 -0
- package/es/modules/blocks/data-blocks/grid-card/createGridCardBlockUISchema.mjs +73 -0
- package/es/modules/blocks/data-blocks/grid-card/gridCardBlockSettings.mjs +431 -0
- package/es/modules/blocks/data-blocks/grid-card/gridCardItemActionInitializers.mjs +100 -0
- package/es/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockDecoratorProps.mjs +12 -0
- package/es/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockParams.mjs +17 -0
- package/es/modules/blocks/data-blocks/grid-card/utils.mjs +14 -0
- package/es/modules/blocks/data-blocks/list/ListActionInitializers.mjs +81 -0
- package/es/modules/blocks/data-blocks/list/ListBlockInitializer.mjs +43 -0
- package/es/modules/blocks/data-blocks/list/__e2e__/schemaInitializer.test.mjs +211 -0
- package/es/modules/blocks/data-blocks/list/__e2e__/schemaSettings.test.mjs +23 -0
- package/es/modules/blocks/data-blocks/list/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/blocks/data-blocks/list/__tests__/createListBlockSchema.test.mjs +24 -0
- package/es/modules/blocks/data-blocks/list/createListBlockUISchema.mjs +68 -0
- package/es/modules/blocks/data-blocks/list/hooks/useListBlockDecoratorProps.mjs +9 -0
- package/es/modules/blocks/data-blocks/list/listBlockSettings.mjs +249 -0
- package/es/modules/blocks/data-blocks/list/listItemActionInitializers.mjs +100 -0
- package/es/modules/blocks/data-blocks/table/TableActionColumnInitializers.mjs +238 -0
- package/es/modules/blocks/data-blocks/table/TableActionInitializers.mjs +131 -0
- package/es/modules/blocks/data-blocks/table/TableBlockInitializer.mjs +43 -0
- package/es/modules/blocks/data-blocks/table/TableColumnInitializers.mjs +105 -0
- package/es/modules/blocks/data-blocks/table/TableColumnSchemaToolbar.mjs +15 -0
- package/es/modules/blocks/data-blocks/table/__e2e__/actions/duplicate.test.mjs +9 -0
- package/es/modules/blocks/data-blocks/table/__e2e__/actions/filter.test.mjs +33 -0
- package/es/modules/blocks/data-blocks/table/__e2e__/checkboxForTableRow.test.mjs +19 -0
- package/es/modules/blocks/data-blocks/table/__e2e__/dragAndDrop.test.mjs +31 -0
- package/es/modules/blocks/data-blocks/table/__e2e__/schemaInitializer.test.mjs +419 -0
- package/es/modules/blocks/data-blocks/table/__e2e__/schemaSettings.test.mjs +869 -0
- package/es/modules/blocks/data-blocks/table/__e2e__/templatesOfBug.mjs +934 -0
- package/es/modules/blocks/data-blocks/table/__e2e__/tree/schemaSettings.test.mjs +42 -0
- package/es/modules/blocks/data-blocks/table/__tests__/createTableBLockSchema.test.mjs +16 -0
- package/es/modules/blocks/data-blocks/table/createTableBlockUISchema.mjs +82 -0
- package/es/modules/blocks/data-blocks/table/hooks/useTableBlockDecoratorProps.mjs +35 -0
- package/es/modules/blocks/data-blocks/table/hooks/useTableBlockProps.mjs +137 -0
- package/es/modules/blocks/data-blocks/table/index.mjs +9 -0
- package/es/modules/blocks/data-blocks/table/tableBlockSettings.mjs +416 -0
- package/es/modules/blocks/data-blocks/table/tableColumnSettings.mjs +333 -0
- package/es/modules/blocks/data-blocks/table/utils.mjs +17 -0
- package/es/modules/blocks/data-blocks/table-selector/TableSelectorInitializer.mjs +24 -0
- package/es/modules/blocks/data-blocks/table-selector/__e2e__/schemaInitializer.test.mjs +159 -0
- package/es/modules/blocks/data-blocks/table-selector/__e2e__/schemaSettings.test.mjs +146 -0
- package/es/modules/blocks/data-blocks/table-selector/__e2e__/templatesOfBug.mjs +692 -0
- package/es/modules/blocks/data-blocks/table-selector/__e2e__/utils.mjs +12 -0
- package/es/modules/blocks/data-blocks/table-selector/__tests__/createTableSelectorSchema.test.mjs +14 -0
- package/es/modules/blocks/data-blocks/table-selector/createTableSelectorUISchema.mjs +47 -0
- package/es/modules/blocks/data-blocks/table-selector/hooks/useTableSelectorDecoratorProps.mjs +2 -0
- package/es/modules/blocks/data-blocks/table-selector/index.mjs +2 -0
- package/es/modules/blocks/data-blocks/table-selector/tableSelectorBlockSettings.mjs +310 -0
- package/es/modules/blocks/filter-blocks/collapse/CollapseItemSchemaToolbar.mjs +8 -0
- package/es/modules/blocks/filter-blocks/collapse/FilterCollapseBlockInitializer.mjs +29 -0
- package/es/modules/blocks/filter-blocks/collapse/__e2e__/schemaInitializer.test.mjs +59 -0
- package/es/modules/blocks/filter-blocks/collapse/__e2e__/schemaSettings.test.mjs +62 -0
- package/es/modules/blocks/filter-blocks/collapse/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/blocks/filter-blocks/collapse/__tests__/createCollapseBlockSchema.test.mjs +40 -0
- package/es/modules/blocks/filter-blocks/collapse/createFilterCollapseBlockSchema.mjs +31 -0
- package/es/modules/blocks/filter-blocks/collapse/filterCollapseBlockSettings.mjs +58 -0
- package/es/modules/blocks/filter-blocks/collapse/filterCollapseItemFieldSettings.mjs +213 -0
- package/es/modules/blocks/filter-blocks/collapse/filterCollapseItemInitializer.mjs +153 -0
- package/es/modules/blocks/filter-blocks/collapse/hooks/useCollapseBlockDecoratorProps.mjs +2 -0
- package/es/modules/blocks/filter-blocks/form/FilterFormActionInitializers.mjs +32 -0
- package/es/modules/blocks/filter-blocks/form/FilterFormBlockInitializer.mjs +37 -0
- package/es/modules/blocks/filter-blocks/form/__e2e__/schemaInitializer.test.mjs +115 -0
- package/es/modules/blocks/filter-blocks/form/__e2e__/schemaSettings.test.mjs +98 -0
- package/es/modules/blocks/filter-blocks/form/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/blocks/filter-blocks/form/__tests__/createFilterFormBlockSchema.test.mjs +23 -0
- package/es/modules/blocks/filter-blocks/form/createFilterFormBlockSchema.mjs +46 -0
- package/es/modules/blocks/filter-blocks/form/filterFormBlockSettings.mjs +66 -0
- package/es/modules/blocks/filter-blocks/form/filterFormItemFieldSettings.mjs +355 -0
- package/es/modules/blocks/filter-blocks/form/filterFormItemInitializers.mjs +41 -0
- package/es/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockDecoratorProps.mjs +2 -0
- package/es/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockProps.mjs +5 -0
- package/es/modules/blocks/filter-blocks/tree/FilterTreeActionInitializers.mjs +32 -0
- package/es/modules/blocks/filter-blocks/tree/FilterTreeBlockInitializer.mjs +73 -0
- package/es/modules/blocks/filter-blocks/tree/filterTreeBlockSettings.mjs +66 -0
- package/es/modules/blocks/filter-blocks/tree/filterTreeItemFieldSettings.mjs +355 -0
- package/es/modules/blocks/filter-blocks/tree/filterTreeItemInitializers.mjs +41 -0
- package/es/modules/blocks/other-blocks/markdown/MarkdownBlockInitializer.mjs +30 -0
- package/es/modules/blocks/other-blocks/markdown/MarkdownFormItemInitializer.mjs +26 -0
- package/es/modules/blocks/other-blocks/markdown/__e2e__/schemaInitializer.test.mjs +10 -0
- package/es/modules/blocks/other-blocks/markdown/__e2e__/schemaSettings.test.mjs +33 -0
- package/es/modules/blocks/other-blocks/markdown/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/blocks/other-blocks/markdown/markdownBlockSettings.mjs +39 -0
- package/es/modules/blocks/useParentRecordCommon.mjs +7 -0
- package/es/modules/blocks/useSourceId.mjs +12 -0
- package/es/modules/blocks/useSourceKey.mjs +6 -0
- package/es/modules/dialog/__e2e__/schemaInitializer.test.mjs +388 -0
- package/es/modules/dialog/__e2e__/schemaSettings.test.mjs +59 -0
- package/es/modules/dialog/__e2e__/templatesOfBug.mjs +2122 -0
- package/es/modules/dialog/__e2e__/zIndex.test.mjs +35 -0
- package/es/modules/fields/component/CascadeSelect/cascadeSelectComponentFieldSettings.mjs +91 -0
- package/es/modules/fields/component/Cascader/cascaderComponentFieldSettings.mjs +380 -0
- package/es/modules/fields/component/Checkbox/checkboxComponentFieldSettings.mjs +53 -0
- package/es/modules/fields/component/DatePicker/__e2e__/schemaSettings.test.mjs +74 -0
- package/es/modules/fields/component/DatePicker/__e2e__/utils.mjs +323 -0
- package/es/modules/fields/component/DatePicker/datePickerComponentFieldSettings.mjs +22 -0
- package/es/modules/fields/component/DrawerSubTable/drawerSubTableComponentFieldSettings.mjs +149 -0
- package/es/modules/fields/component/FileManager/fileManagerComponentFieldSettings.mjs +190 -0
- package/es/modules/fields/component/FileManager/uploadAttachmentComponentFieldSettings.mjs +102 -0
- package/es/modules/fields/component/InputNumber/inputNumberComponentFieldSettings.mjs +27 -0
- package/es/modules/fields/component/Nester/subformComponentFieldSettings.mjs +125 -0
- package/es/modules/fields/component/Picker/TableSelectorInitializers.mjs +86 -0
- package/es/modules/fields/component/Picker/recordPickerComponentFieldSettings.mjs +190 -0
- package/es/modules/fields/component/PopoverNester/subformPopoverComponentFieldSettings.mjs +99 -0
- package/es/modules/fields/component/Radio/radioComponentFieldSettings.mjs +53 -0
- package/es/modules/fields/component/Select/selectComponentFieldSettings.mjs +378 -0
- package/es/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.mjs +404 -0
- package/es/modules/fields/component/Tag/tagComponentFieldSettings.mjs +172 -0
- package/es/modules/fields/component/UnixTimestamp/unixTimestampComponentFieldSettings.mjs +22 -0
- package/es/modules/fields/initializer/CollectionFieldInitializer.mjs +15 -0
- package/es/modules/fields/initializer/TableCollectionFieldInitializer.mjs +15 -0
- package/es/modules/menu/GroupItem.mjs +78 -0
- package/es/modules/menu/LinkMenuItem.mjs +84 -0
- package/es/modules/menu/PageMenuItem.mjs +93 -0
- package/es/modules/menu/__e2e__/dragAndDrop.test.mjs +27 -0
- package/es/modules/menu/__e2e__/schemaInitializer.test.mjs +101 -0
- package/es/modules/menu/__e2e__/schemaSettings.test.mjs +347 -0
- package/es/modules/menu/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/menu/menuItemInitializer.mjs +48 -0
- package/es/modules/page/BlockInitializers.mjs +77 -0
- package/es/modules/page/__e2e__/blockInitializers.test.mjs +17 -0
- package/es/modules/page/__e2e__/dragAndDrop.test.mjs +16 -0
- package/es/modules/page/__e2e__/schemaInitailizer.test.mjs +15 -0
- package/es/modules/page/__e2e__/schemaSettings.test.mjs +134 -0
- package/es/modules/page/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/plugin-manager/__e2e__/pluginManager.test.mjs +113 -0
- package/es/modules/plugin-manager/__e2e__/templatesOfBug.mjs +0 -0
- package/es/modules/user-center/__e2e__/settings.test.mjs +12 -0
- package/es/modules/variable/DeclareVariable.mjs +16 -0
- package/es/modules/variable/useVariable.mjs +12 -0
- package/es/powered-by/index.mjs +43 -0
- package/es/record-provider/index.mjs +51 -0
- package/es/route-switch/RouteSchemaComponent.mjs +12 -0
- package/es/route-switch/index.mjs +1 -0
- package/es/schema-component/antd/AntdSchemaComponentProvider.mjs +39 -0
- package/es/schema-component/antd/__builtins__/hooks/index.mjs +3 -0
- package/es/schema-component/antd/__builtins__/hooks/useConfig.mjs +5 -0
- package/es/schema-component/antd/__builtins__/hooks/usePrefixCls.mjs +12 -0
- package/es/schema-component/antd/__builtins__/hooks/useToken.mjs +6 -0
- package/es/schema-component/antd/__builtins__/index.mjs +4 -0
- package/es/schema-component/antd/__builtins__/loading.mjs +15 -0
- package/es/schema-component/antd/__builtins__/portal.mjs +51 -0
- package/es/schema-component/antd/__builtins__/render.mjs +47 -0
- package/es/schema-component/antd/__builtins__/style.mjs +65 -0
- package/es/schema-component/antd/action/Action.Area.mjs +102 -0
- package/es/schema-component/antd/action/Action.Area.style.mjs +40 -0
- package/es/schema-component/antd/action/Action.Container.mjs +42 -0
- package/es/schema-component/antd/action/Action.Designer.mjs +906 -0
- package/es/schema-component/antd/action/Action.Drawer.mjs +136 -0
- package/es/schema-component/antd/action/Action.Drawer.style.mjs +46 -0
- package/es/schema-component/antd/action/Action.Link.mjs +14 -0
- package/es/schema-component/antd/action/Action.Modal.mjs +172 -0
- package/es/schema-component/antd/action/Action.Page.mjs +83 -0
- package/es/schema-component/antd/action/Action.Popover.mjs +0 -0
- package/es/schema-component/antd/action/Action.Sheet.mjs +81 -0
- package/es/schema-component/antd/action/Action.mjs +228 -0
- package/es/schema-component/antd/action/Action.style.mjs +47 -0
- package/es/schema-component/antd/action/ActionBar.mjs +128 -0
- package/es/schema-component/antd/action/__tests__/action.test.mjs +116 -0
- package/es/schema-component/antd/action/context.mjs +17 -0
- package/es/schema-component/antd/action/demos/demo1.mjs +70 -0
- package/es/schema-component/antd/action/demos/demo2.mjs +75 -0
- package/es/schema-component/antd/action/demos/demo3.mjs +127 -0
- package/es/schema-component/antd/action/demos/demo4.mjs +58 -0
- package/es/schema-component/antd/action/demos/demo5.mjs +211 -0
- package/es/schema-component/antd/action/demos/demo6.mjs +95 -0
- package/es/schema-component/antd/action/hooks/useGetAriaLabelOfAction.mjs +37 -0
- package/es/schema-component/antd/action/hooks/useGetAriaLabelOfDrawer.mjs +25 -0
- package/es/schema-component/antd/action/hooks/useGetAriaLabelOfModal.mjs +25 -0
- package/es/schema-component/antd/action/hooks/useGetAriaLabelOfPopover.mjs +25 -0
- package/es/schema-component/antd/action/hooks/useSetAriaLabelForDrawer.mjs +30 -0
- package/es/schema-component/antd/action/hooks/useSetAriaLabelForModal.mjs +30 -0
- package/es/schema-component/antd/action/hooks/useSetAriaLabelForPopover.mjs +22 -0
- package/es/schema-component/antd/action/hooks.mjs +60 -0
- package/es/schema-component/antd/action/index.mjs +10 -0
- package/es/schema-component/antd/action/types.mjs +0 -0
- package/es/schema-component/antd/action/utils.mjs +213 -0
- package/es/schema-component/antd/appends-tree-select/AppendsTreeSelect.mjs +216 -0
- package/es/schema-component/antd/appends-tree-select/AppendsTreeSelectV2.mjs +215 -0
- package/es/schema-component/antd/appends-tree-select/index.mjs +2 -0
- package/es/schema-component/antd/association-cascader/AssociationCascader.mjs +135 -0
- package/es/schema-component/antd/association-cascader/index.mjs +1 -0
- package/es/schema-component/antd/association-field/AssociationFieldProvider.mjs +125 -0
- package/es/schema-component/antd/association-field/AssociationSelect.mjs +172 -0
- package/es/schema-component/antd/association-field/Editable.mjs +103 -0
- package/es/schema-component/antd/association-field/FileManager.mjs +201 -0
- package/es/schema-component/antd/association-field/InternalCascadeSelect.mjs +394 -0
- package/es/schema-component/antd/association-field/InternalCascader.mjs +365 -0
- package/es/schema-component/antd/association-field/InternalDrawerSubTable.mjs +99 -0
- package/es/schema-component/antd/association-field/InternalNester.mjs +80 -0
- package/es/schema-component/antd/association-field/InternalPicker.mjs +228 -0
- package/es/schema-component/antd/association-field/InternalPopoverNester.mjs +131 -0
- package/es/schema-component/antd/association-field/InternalSubTable.mjs +91 -0
- package/es/schema-component/antd/association-field/InternalTag.mjs +122 -0
- package/es/schema-component/antd/association-field/InternalViewer.mjs +136 -0
- package/es/schema-component/antd/association-field/Nester.mjs +247 -0
- package/es/schema-component/antd/association-field/ReadPretty.mjs +47 -0
- package/es/schema-component/antd/association-field/SubTable.mjs +278 -0
- package/es/schema-component/antd/association-field/SubTabs/InternalCollapse.mjs +321 -0
- package/es/schema-component/antd/association-field/SubTabs/hook.mjs +53 -0
- package/es/schema-component/antd/association-field/SubTabs/index.mjs +1 -0
- package/es/schema-component/antd/association-field/SubTabs/styles.mjs +25 -0
- package/es/schema-component/antd/association-field/components/CreateRecordAction.mjs +55 -0
- package/es/schema-component/antd/association-field/context.mjs +4 -0
- package/es/schema-component/antd/association-field/hooks.mjs +150 -0
- package/es/schema-component/antd/association-field/index.mjs +17 -0
- package/es/schema-component/antd/association-field/schema.mjs +131 -0
- package/es/schema-component/antd/association-field/util.mjs +103 -0
- package/es/schema-component/antd/association-filter/ActionBarAssociationFilterAction.mjs +54 -0
- package/es/schema-component/antd/association-filter/AssociationFilter.BlockDesigner.mjs +40 -0
- package/es/schema-component/antd/association-filter/AssociationFilter.Initializer.mjs +55 -0
- package/es/schema-component/antd/association-filter/AssociationFilter.Item.Designer.mjs +134 -0
- package/es/schema-component/antd/association-filter/AssociationFilter.Item.mjs +131 -0
- package/es/schema-component/antd/association-filter/AssociationFilter.Item.style.mjs +101 -0
- package/es/schema-component/antd/association-filter/AssociationFilter.mjs +75 -0
- package/es/schema-component/antd/association-filter/AssociationFilterDesignerDelete.mjs +31 -0
- package/es/schema-component/antd/association-filter/AssociationFilterDesignerDisplayField.mjs +23 -0
- package/es/schema-component/antd/association-filter/utilts.mjs +2 -0
- package/es/schema-component/antd/association-select/AssociationSelect.mjs +865 -0
- package/es/schema-component/antd/association-select/ReadPretty.mjs +17 -0
- package/es/schema-component/antd/association-select/__tests__/association-select.test.mjs +16 -0
- package/es/schema-component/antd/association-select/demos/demo1.mjs +55 -0
- package/es/schema-component/antd/association-select/index.mjs +1 -0
- package/es/schema-component/antd/association-select/useServiceOptions.mjs +82 -0
- package/es/schema-component/antd/auto-complete/AutoComplete.mjs +58 -0
- package/es/schema-component/antd/auto-complete/index.mjs +1 -0
- package/es/schema-component/antd/block-item/BlockItem.mjs +49 -0
- package/es/schema-component/antd/block-item/BlockToolbar.d.ts +48 -3
- package/es/schema-component/antd/block-item/BlockToolbar.mjs +88 -0
- package/es/schema-component/antd/block-item/__tests__/block-item.test.mjs +14 -0
- package/es/schema-component/antd/block-item/demos/demo1.mjs +60 -0
- package/es/schema-component/antd/block-item/hooks/useGetAriaLabelOfBlockItem.mjs +39 -0
- package/es/schema-component/antd/block-item/index.mjs +1 -0
- package/es/schema-component/antd/block-item/useBlockToolbar.mjs +81 -0
- package/es/schema-component/antd/card-item/CardItem.mjs +25 -0
- package/es/schema-component/antd/card-item/__tests__/card-item.test.mjs +11 -0
- package/es/schema-component/antd/card-item/demos/demo1.mjs +31 -0
- package/es/schema-component/antd/card-item/index.mjs +1 -0
- package/es/schema-component/antd/card-item/style.mjs +25 -0
- package/es/schema-component/antd/cascader/Cascader.mjs +73 -0
- package/es/schema-component/antd/cascader/ReadPretty.mjs +30 -0
- package/es/schema-component/antd/cascader/__tests__/cascader.test.mjs +29 -0
- package/es/schema-component/antd/cascader/defaultFieldNames.mjs +6 -0
- package/es/schema-component/antd/cascader/demos/demo1.mjs +82 -0
- package/es/schema-component/antd/cascader/demos/demo2.mjs +115 -0
- package/es/schema-component/antd/cascader/index.mjs +1 -0
- package/es/schema-component/antd/checkbox/Checkbox.mjs +83 -0
- package/es/schema-component/antd/checkbox/__tests__/checkbox.test.mjs +40 -0
- package/es/schema-component/antd/checkbox/demos/checkbox.group.mjs +54 -0
- package/es/schema-component/antd/checkbox/demos/checkbox.mjs +40 -0
- package/es/schema-component/antd/checkbox/index.mjs +1 -0
- package/es/schema-component/antd/collection-select/CollectionSelect.mjs +146 -0
- package/es/schema-component/antd/collection-select/__tests__/collection-select.test.mjs +16 -0
- package/es/schema-component/antd/collection-select/demos/demo1.mjs +36 -0
- package/es/schema-component/antd/collection-select/index.mjs +1 -0
- package/es/schema-component/antd/color-picker/ColorPicker.mjs +86 -0
- package/es/schema-component/antd/color-picker/ReadPretty.mjs +19 -0
- package/es/schema-component/antd/color-picker/demos/demo1.mjs +49 -0
- package/es/schema-component/antd/color-picker/index.mjs +1 -0
- package/es/schema-component/antd/color-picker/util.mjs +158 -0
- package/es/schema-component/antd/color-select/ColorSelect.mjs +48 -0
- package/es/schema-component/antd/color-select/__tests__/color-select.test.mjs +16 -0
- package/es/schema-component/antd/color-select/demos/demo1.mjs +40 -0
- package/es/schema-component/antd/color-select/index.mjs +1 -0
- package/es/schema-component/antd/cron/Cron.mjs +68 -0
- package/es/schema-component/antd/cron/CronSet.mjs +106 -0
- package/es/schema-component/antd/cron/__tests__/cron-set.test.mjs +30 -0
- package/es/schema-component/antd/cron/demos/demo1.mjs +32 -0
- package/es/schema-component/antd/cron/demos/demo2.mjs +51 -0
- package/es/schema-component/antd/cron/index.mjs +2 -0
- package/es/schema-component/antd/custom-cascader/CustomCascader.mjs +34 -0
- package/es/schema-component/antd/custom-cascader/ReadPretty.mjs +30 -0
- package/es/schema-component/antd/custom-cascader/defaultFieldNames.mjs +6 -0
- package/es/schema-component/antd/custom-cascader/index.mjs +1 -0
- package/es/schema-component/antd/date-picker/DatePicker.mjs +144 -0
- package/es/schema-component/antd/date-picker/ReadPretty.mjs +38 -0
- package/es/schema-component/antd/date-picker/__tests__/date-picker.test.mjs +178 -0
- package/es/schema-component/antd/date-picker/__tests__/getDateRanges.test.mjs +110 -0
- package/es/schema-component/antd/date-picker/__tests__/mapDatePicker.test.mjs +200 -0
- package/es/schema-component/antd/date-picker/__tests__/mapRangePicker.test.mjs +59 -0
- package/es/schema-component/antd/date-picker/__tests__/util.test.mjs +166 -0
- package/es/schema-component/antd/date-picker/demos/demo1.mjs +57 -0
- package/es/schema-component/antd/date-picker/demos/demo10.mjs +61 -0
- package/es/schema-component/antd/date-picker/demos/demo11.mjs +65 -0
- package/es/schema-component/antd/date-picker/demos/demo2.mjs +60 -0
- package/es/schema-component/antd/date-picker/demos/demo3.mjs +58 -0
- package/es/schema-component/antd/date-picker/demos/demo4.mjs +72 -0
- package/es/schema-component/antd/date-picker/demos/demo5.mjs +71 -0
- package/es/schema-component/antd/date-picker/demos/demo6.mjs +71 -0
- package/es/schema-component/antd/date-picker/demos/demo7.mjs +61 -0
- package/es/schema-component/antd/date-picker/demos/demo8.mjs +61 -0
- package/es/schema-component/antd/date-picker/demos/demo9.mjs +61 -0
- package/es/schema-component/antd/date-picker/index.mjs +1 -0
- package/es/schema-component/antd/date-picker/util.mjs +179 -0
- package/es/schema-component/antd/details/Details.mjs +18 -0
- package/es/schema-component/antd/details/__tests__/details.test.mjs +10 -0
- package/es/schema-component/antd/details/demos/demo1.mjs +42 -0
- package/es/schema-component/antd/details/index.mjs +1 -0
- package/es/schema-component/antd/error-fallback/ErrorFallback.mjs +59 -0
- package/es/schema-component/antd/error-fallback/__tests__/error-fallback.test.mjs +17 -0
- package/es/schema-component/antd/error-fallback/demos/demo1.mjs +13 -0
- package/es/schema-component/antd/error-fallback/index.mjs +1 -0
- package/es/schema-component/antd/expand-action/Expand.Action.Design.mjs +107 -0
- package/es/schema-component/antd/expand-action/Expand.Action.mjs +70 -0
- package/es/schema-component/antd/expand-action/index.mjs +6 -0
- package/es/schema-component/antd/filter/DynamicComponent.mjs +58 -0
- package/es/schema-component/antd/filter/Filter.Action.Designer.mjs +121 -0
- package/es/schema-component/antd/filter/Filter.mjs +56 -0
- package/es/schema-component/antd/filter/FilterAction.mjs +164 -0
- package/es/schema-component/antd/filter/FilterGroup.mjs +134 -0
- package/es/schema-component/antd/filter/FilterItem.mjs +85 -0
- package/es/schema-component/antd/filter/FilterItems.mjs +24 -0
- package/es/schema-component/antd/filter/SaveDefaultValue.mjs +36 -0
- package/es/schema-component/antd/filter/__tests__/filter.test.mjs +113 -0
- package/es/schema-component/antd/filter/context.mjs +8 -0
- package/es/schema-component/antd/filter/demos/demo2.mjs +129 -0
- package/es/schema-component/antd/filter/demos/demo3.mjs +196 -0
- package/es/schema-component/antd/filter/demos/demo4.mjs +184 -0
- package/es/schema-component/antd/filter/demos/demo5.mjs +131 -0
- package/es/schema-component/antd/filter/demos/demo6.mjs +118 -0
- package/es/schema-component/antd/filter/index.mjs +3 -0
- package/es/schema-component/antd/filter/useFilterActionProps.mjs +213 -0
- package/es/schema-component/antd/filter/useOperators.mjs +23 -0
- package/es/schema-component/antd/filter/useValues.mjs +122 -0
- package/es/schema-component/antd/filter/utils.mjs +13 -0
- package/es/schema-component/antd/form/Form.Designer.mjs +12 -0
- package/es/schema-component/antd/form/Form.Settings.mjs +34 -0
- package/es/schema-component/antd/form/Form.mjs +148 -0
- package/es/schema-component/antd/form/__tests__/form.test.mjs +113 -0
- package/es/schema-component/antd/form/demos/apiClient.mjs +17 -0
- package/es/schema-component/antd/form/demos/demo1.mjs +73 -0
- package/es/schema-component/antd/form/demos/demo2.mjs +73 -0
- package/es/schema-component/antd/form/demos/demo3.mjs +72 -0
- package/es/schema-component/antd/form/demos/demo4.mjs +80 -0
- package/es/schema-component/antd/form/demos/demo5.mjs +114 -0
- package/es/schema-component/antd/form/demos/demo6.mjs +71 -0
- package/es/schema-component/antd/form/demos/demo7.mjs +75 -0
- package/es/schema-component/antd/form/demos/demo8.mjs +86 -0
- package/es/schema-component/antd/form/index.mjs +2 -0
- package/es/schema-component/antd/form-dialog/index.mjs +154 -0
- package/es/schema-component/antd/form-item/FormItem.FilterFormDesigner.mjs +7 -0
- package/es/schema-component/antd/form-item/FormItem.FilterFormSettings.mjs +128 -0
- package/es/schema-component/antd/form-item/FormItem.Settings.mjs +1204 -0
- package/es/schema-component/antd/form-item/FormItem.mjs +133 -0
- package/es/schema-component/antd/form-item/SchemaSettingOptions.mjs +562 -0
- package/es/schema-component/antd/form-item/__tests__/form-item.test.mjs +12 -0
- package/es/schema-component/antd/form-item/__tests__/hooks/useSpecialCase.test.mjs +27 -0
- package/es/schema-component/antd/form-item/__tests__/utils.test.mjs +65 -0
- package/es/schema-component/antd/form-item/demos/demo1.mjs +37 -0
- package/es/schema-component/antd/form-item/hooks/useLazyLoadDisplayAssociationFieldsOfForm.mjs +69 -0
- package/es/schema-component/antd/form-item/hooks/useParseDefaultValue.mjs +84 -0
- package/es/schema-component/antd/form-item/hooks/useSpecialCase.mjs +106 -0
- package/es/schema-component/antd/form-item/index.mjs +4 -0
- package/es/schema-component/antd/form-item/utils.mjs +7 -0
- package/es/schema-component/antd/form-tab/index.mjs +140 -0
- package/es/schema-component/antd/form-v2/Form.Designer.mjs +33 -0
- package/es/schema-component/antd/form-v2/Form.FilterDesigner.mjs +15 -0
- package/es/schema-component/antd/form-v2/Form.Settings.mjs +315 -0
- package/es/schema-component/antd/form-v2/Form.mjs +330 -0
- package/es/schema-component/antd/form-v2/FormField.mjs +30 -0
- package/es/schema-component/antd/form-v2/Templates.mjs +191 -0
- package/es/schema-component/antd/form-v2/__tests__/form-v2.test.mjs +47 -0
- package/es/schema-component/antd/form-v2/demos/collections.mjs +1565 -0
- package/es/schema-component/antd/form-v2/demos/demo1.mjs +108 -0
- package/es/schema-component/antd/form-v2/demos/demo2.mjs +131 -0
- package/es/schema-component/antd/form-v2/demos/demo3.mjs +117 -0
- package/es/schema-component/antd/form-v2/index.mjs +14 -0
- package/es/schema-component/antd/form-v2/utils.mjs +143 -0
- package/es/schema-component/antd/grid/Block.mjs +24 -0
- package/es/schema-component/antd/grid/Grid.mjs +479 -0
- package/es/schema-component/antd/grid/Grid.style.mjs +45 -0
- package/es/schema-component/antd/grid/__tests__/grid.test.mjs +26 -0
- package/es/schema-component/antd/grid/demos/demo1.mjs +194 -0
- package/es/schema-component/antd/grid/demos/demo2.mjs +97 -0
- package/es/schema-component/antd/grid/demos/demo3.mjs +83 -0
- package/es/schema-component/antd/grid/index.mjs +2 -0
- package/es/schema-component/antd/grid-card/GridCard.Decorator.mjs +67 -0
- package/es/schema-component/antd/grid-card/GridCard.Decorator.style.mjs +24 -0
- package/es/schema-component/antd/grid-card/GridCard.Designer.mjs +252 -0
- package/es/schema-component/antd/grid-card/GridCard.Item.mjs +77 -0
- package/es/schema-component/antd/grid-card/GridCard.mjs +156 -0
- package/es/schema-component/antd/grid-card/__tests__/grid-card.test.mjs +9 -0
- package/es/schema-component/antd/grid-card/demos/demo1.mjs +6 -0
- package/es/schema-component/antd/grid-card/hooks.mjs +32 -0
- package/es/schema-component/antd/grid-card/index.mjs +1 -0
- package/es/schema-component/antd/grid-card/options.mjs +35 -0
- package/es/schema-component/antd/icon-picker/IconFilterInput.mjs +17 -0
- package/es/schema-component/antd/icon-picker/IconList.mjs +50 -0
- package/es/schema-component/antd/icon-picker/IconPicker.mjs +74 -0
- package/es/schema-component/antd/icon-picker/__tests__/icon-picker.test.mjs +25 -0
- package/es/schema-component/antd/icon-picker/demos/icon-picker.mjs +40 -0
- package/es/schema-component/antd/icon-picker/index.mjs +1 -0
- package/es/schema-component/antd/index.mjs +65 -0
- package/es/schema-component/antd/input/EllipsisWithTooltip.mjs +64 -0
- package/es/schema-component/antd/input/Input.mjs +27 -0
- package/es/schema-component/antd/input/Json.mjs +60 -0
- package/es/schema-component/antd/input/ReadPretty.mjs +153 -0
- package/es/schema-component/antd/input/__tests__/Input.test.mjs +115 -0
- package/es/schema-component/antd/input/demos/input.mjs +40 -0
- package/es/schema-component/antd/input/demos/json.mjs +46 -0
- package/es/schema-component/antd/input/demos/textarea.mjs +68 -0
- package/es/schema-component/antd/input/demos/url.mjs +42 -0
- package/es/schema-component/antd/input/index.mjs +5 -0
- package/es/schema-component/antd/input/shared.mjs +8 -0
- package/es/schema-component/antd/input-number/InputNumber.mjs +19 -0
- package/es/schema-component/antd/input-number/ReadPretty.mjs +115 -0
- package/es/schema-component/antd/input-number/__tests__/input-number.test.mjs +116 -0
- package/es/schema-component/antd/input-number/demos/addonBefore&addonAfter.mjs +48 -0
- package/es/schema-component/antd/input-number/demos/highPrecisionDecimals.mjs +50 -0
- package/es/schema-component/antd/input-number/demos/inputNumber.mjs +40 -0
- package/es/schema-component/antd/input-number/index.mjs +1 -0
- package/es/schema-component/antd/list/List.Decorator.mjs +94 -0
- package/es/schema-component/antd/list/List.Designer.mjs +206 -0
- package/es/schema-component/antd/list/List.Item.mjs +53 -0
- package/es/schema-component/antd/list/List.mjs +80 -0
- package/es/schema-component/antd/list/List.style.mjs +55 -0
- package/es/schema-component/antd/list/__tests__/list.test.mjs +9 -0
- package/es/schema-component/antd/list/demos/demo1.mjs +6 -0
- package/es/schema-component/antd/list/hooks.mjs +11 -0
- package/es/schema-component/antd/list/index.mjs +1 -0
- package/es/schema-component/antd/markdown/Markdown.Void.Designer.mjs +27 -0
- package/es/schema-component/antd/markdown/Markdown.Void.mjs +110 -0
- package/es/schema-component/antd/markdown/Markdown.mjs +46 -0
- package/es/schema-component/antd/markdown/__tests__/markdown.test.mjs +27 -0
- package/es/schema-component/antd/markdown/demos/demo1.mjs +40 -0
- package/es/schema-component/antd/markdown/demos/demo2.mjs +51 -0
- package/es/schema-component/antd/markdown/index.mjs +1 -0
- package/es/schema-component/antd/markdown/markdown-it-plugins/mermaidPlugin.mjs +51 -0
- package/es/schema-component/antd/markdown/md.mjs +13 -0
- package/es/schema-component/antd/markdown/style.mjs +220 -0
- package/es/schema-component/antd/markdown/util.mjs +38 -0
- package/es/schema-component/antd/menu/Menu.Designer.mjs +435 -0
- package/es/schema-component/antd/menu/Menu.mjs +591 -0
- package/es/schema-component/antd/menu/Menu.styles.mjs +77 -0
- package/es/schema-component/antd/menu/MenuItemInitializers/index.mjs +11 -0
- package/es/schema-component/antd/menu/__tests__/menu.test.mjs +38 -0
- package/es/schema-component/antd/menu/demos/demo1.mjs +93 -0
- package/es/schema-component/antd/menu/demos/demo2.mjs +96 -0
- package/es/schema-component/antd/menu/demos/demo3.mjs +135 -0
- package/es/schema-component/antd/menu/index.mjs +3 -0
- package/es/schema-component/antd/menu/locale.mjs +3 -0
- package/es/schema-component/antd/menu/util.mjs +34 -0
- package/es/schema-component/antd/nanoIDInput/NanoIDInput.mjs +33 -0
- package/es/schema-component/antd/nanoIDInput/index.mjs +1 -0
- package/es/schema-component/antd/page/FixedBlock.mjs +96 -0
- package/es/schema-component/antd/page/FixedBlockDesignerItem.mjs +40 -0
- package/es/schema-component/antd/page/Page.Settings.mjs +147 -0
- package/es/schema-component/antd/page/Page.mjs +220 -0
- package/es/schema-component/antd/page/PageTab.Settings.mjs +88 -0
- package/es/schema-component/antd/page/PageTabDesigner.mjs +64 -0
- package/es/schema-component/antd/page/__tests__/page.test.mjs +18 -0
- package/es/schema-component/antd/page/demos/demo1.mjs +38 -0
- package/es/schema-component/antd/page/hooks/useIsBlockInPage.mjs +12 -0
- package/es/schema-component/antd/page/index.mjs +5 -0
- package/es/schema-component/antd/page/style.mjs +143 -0
- package/es/schema-component/antd/pagination/index.mjs +22 -0
- package/es/schema-component/antd/password/Password.mjs +80 -0
- package/es/schema-component/antd/password/PasswordStrength.mjs +11 -0
- package/es/schema-component/antd/password/__tests__/password.test.mjs +28 -0
- package/es/schema-component/antd/password/__tests__/utils.test.mjs +21 -0
- package/es/schema-component/antd/password/demos/demo1.mjs +40 -0
- package/es/schema-component/antd/password/demos/demo2.mjs +43 -0
- package/es/schema-component/antd/password/index.mjs +1 -0
- package/es/schema-component/antd/password/utils.mjs +104 -0
- package/es/schema-component/antd/percent/Percent.mjs +34 -0
- package/es/schema-component/antd/percent/__tests__/percent.test.mjs +16 -0
- package/es/schema-component/antd/percent/demos/percent.mjs +40 -0
- package/es/schema-component/antd/percent/index.mjs +1 -0
- package/es/schema-component/antd/popover/Popover.mjs +39 -0
- package/es/schema-component/antd/popover/index.mjs +1 -0
- package/es/schema-component/antd/preview/Preview.mjs +273 -0
- package/es/schema-component/antd/preview/__tests__/preview.test.mjs +11 -0
- package/es/schema-component/antd/preview/demos/demo1.mjs +81 -0
- package/es/schema-component/antd/preview/index.mjs +1 -0
- package/es/schema-component/antd/quick-edit/QuickEdit.mjs +115 -0
- package/es/schema-component/antd/quick-edit/index.mjs +1 -0
- package/es/schema-component/antd/radio/Radio.mjs +40 -0
- package/es/schema-component/antd/radio/__tests__/radio.test.mjs +43 -0
- package/es/schema-component/antd/radio/demos/demo1.mjs +40 -0
- package/es/schema-component/antd/radio/demos/demo2.mjs +52 -0
- package/es/schema-component/antd/radio/demos/demo3.mjs +54 -0
- package/es/schema-component/antd/radio/index.mjs +1 -0
- package/es/schema-component/antd/record-picker/InputRecordPicker.mjs +252 -0
- package/es/schema-component/antd/record-picker/ReadPrettyRecordPicker.mjs +120 -0
- package/es/schema-component/antd/record-picker/RecordPicker.mjs +5 -0
- package/es/schema-component/antd/record-picker/__tests__/record-picker.test.mjs +27 -0
- package/es/schema-component/antd/record-picker/demos/demo1.mjs +175 -0
- package/es/schema-component/antd/record-picker/demos/mockData.mjs +211 -0
- package/es/schema-component/antd/record-picker/index.mjs +10 -0
- package/es/schema-component/antd/record-picker/useFieldNames.mjs +12 -0
- package/es/schema-component/antd/record-picker/util.mjs +37 -0
- package/es/schema-component/antd/remote-select/ReadPretty.mjs +44 -0
- package/es/schema-component/antd/remote-select/RemoteSelect.mjs +224 -0
- package/es/schema-component/antd/remote-select/__tests__/remote-select.test.mjs +16 -0
- package/es/schema-component/antd/remote-select/demos/demo1.mjs +55 -0
- package/es/schema-component/antd/remote-select/index.mjs +1 -0
- package/es/schema-component/antd/remote-select/shared.mjs +3 -0
- package/es/schema-component/antd/rich-text/RichText.mjs +59 -0
- package/es/schema-component/antd/rich-text/__tests__/rich-text.test.mjs +13 -0
- package/es/schema-component/antd/rich-text/demos/demo1.mjs +41 -0
- package/es/schema-component/antd/rich-text/index.mjs +1 -0
- package/es/schema-component/antd/rich-text/style.mjs +813 -0
- package/es/schema-component/antd/rich-text/style.mjs.LICENSE.txt +6 -0
- package/es/schema-component/antd/scroll-area/ScrollArea.mjs +43 -0
- package/es/schema-component/antd/scroll-area/index.mjs +1 -0
- package/es/schema-component/antd/select/FormulaSelect.mjs +196 -0
- package/es/schema-component/antd/select/ReadPretty.mjs +33 -0
- package/es/schema-component/antd/select/Select.mjs +155 -0
- package/es/schema-component/antd/select/__tests__/select.test.mjs +41 -0
- package/es/schema-component/antd/select/__tests__/utils.test.mjs +129 -0
- package/es/schema-component/antd/select/demos/demo1.mjs +72 -0
- package/es/schema-component/antd/select/demos/demo2.mjs +76 -0
- package/es/schema-component/antd/select/demos/demo3.mjs +84 -0
- package/es/schema-component/antd/select/index.mjs +2 -0
- package/es/schema-component/antd/select/utils.mjs +38 -0
- package/es/schema-component/antd/space/index.mjs +19 -0
- package/es/schema-component/antd/table/Table.Array.Designer.mjs +12 -0
- package/es/schema-component/antd/table/Table.Array.mjs +293 -0
- package/es/schema-component/antd/table/Table.Column.ActionBar.mjs +42 -0
- package/es/schema-component/antd/table/Table.Column.Decorator.mjs +49 -0
- package/es/schema-component/antd/table/Table.Column.Designer.mjs +144 -0
- package/es/schema-component/antd/table/Table.Column.mjs +10 -0
- package/es/schema-component/antd/table/Table.Designer.mjs +17 -0
- package/es/schema-component/antd/table/Table.RowActionDesigner.mjs +33 -0
- package/es/schema-component/antd/table/Table.RowSelection.mjs +29 -0
- package/es/schema-component/antd/table/Table.Void.Designer.mjs +241 -0
- package/es/schema-component/antd/table/Table.Void.mjs +119 -0
- package/es/schema-component/antd/table/__tests__/table.test.mjs +21 -0
- package/es/schema-component/antd/table/demos/demo1.mjs +63 -0
- package/es/schema-component/antd/table/demos/demo2.mjs +63 -0
- package/es/schema-component/antd/table/demos/demo3.mjs +63 -0
- package/es/schema-component/antd/table/demos/demo4.mjs +217 -0
- package/es/schema-component/antd/table/index.mjs +24 -0
- package/es/schema-component/antd/table-v2/Table.ActionColumnDesigner.mjs +33 -0
- package/es/schema-component/antd/table-v2/Table.Column.ActionBar.mjs +49 -0
- package/es/schema-component/antd/table-v2/Table.Column.Decorator.mjs +60 -0
- package/es/schema-component/antd/table-v2/Table.Column.Designer.mjs +445 -0
- package/es/schema-component/antd/table-v2/Table.Column.mjs +11 -0
- package/es/schema-component/antd/table-v2/Table.Designer.mjs +17 -0
- package/es/schema-component/antd/table-v2/Table.Index.mjs +10 -0
- package/es/schema-component/antd/table-v2/Table.mjs +445 -0
- package/es/schema-component/antd/table-v2/Table.styles.mjs +135 -0
- package/es/schema-component/antd/table-v2/TableBlockDesigner.mjs +328 -0
- package/es/schema-component/antd/table-v2/TableField.mjs +51 -0
- package/es/schema-component/antd/table-v2/TableSelector.mjs +3 -0
- package/es/schema-component/antd/table-v2/TableSelectorDesigner.mjs +272 -0
- package/es/schema-component/antd/table-v2/__tests__/table-v2.test.mjs +13 -0
- package/es/schema-component/antd/table-v2/components/ColumnFieldProvider.mjs +39 -0
- package/es/schema-component/antd/table-v2/demos/collections.mjs +1560 -0
- package/es/schema-component/antd/table-v2/demos/demo1.mjs +220 -0
- package/es/schema-component/antd/table-v2/demos/demo2.mjs +117 -0
- package/es/schema-component/antd/table-v2/index.mjs +21 -0
- package/es/schema-component/antd/table-v2/utils.mjs +13 -0
- package/es/schema-component/antd/tabs/Tabs.Designer.mjs +132 -0
- package/es/schema-component/antd/tabs/Tabs.mjs +98 -0
- package/es/schema-component/antd/tabs/__tests__/tabs.test.mjs +14 -0
- package/es/schema-component/antd/tabs/context.mjs +12 -0
- package/es/schema-component/antd/tabs/demos/demo1.mjs +67 -0
- package/es/schema-component/antd/tabs/index.mjs +2 -0
- package/es/schema-component/antd/time-picker/ReadPretty.mjs +21 -0
- package/es/schema-component/antd/time-picker/TimePicker.mjs +22 -0
- package/es/schema-component/antd/time-picker/__tests__/time-picker.test.mjs +45 -0
- package/es/schema-component/antd/time-picker/demos/demo1.mjs +40 -0
- package/es/schema-component/antd/time-picker/demos/demo2.mjs +40 -0
- package/es/schema-component/antd/time-picker/index.mjs +1 -0
- package/es/schema-component/antd/tree/Tree.mjs +82 -0
- package/es/schema-component/antd/tree/index.mjs +3 -0
- package/es/schema-component/antd/tree-select/ReadPretty.mjs +62 -0
- package/es/schema-component/antd/tree-select/TreeSelect.mjs +14 -0
- package/es/schema-component/antd/tree-select/__tests__/tree-select.test.mjs +14 -0
- package/es/schema-component/antd/tree-select/demos/demo1.mjs +84 -0
- package/es/schema-component/antd/tree-select/index.mjs +1 -0
- package/es/schema-component/antd/unixTimestamp/UnixTimestamp.mjs +42 -0
- package/es/schema-component/antd/unixTimestamp/index.mjs +1 -0
- package/es/schema-component/antd/upload/ReadPretty.mjs +199 -0
- package/es/schema-component/antd/upload/Upload.mjs +330 -0
- package/es/schema-component/antd/upload/__tests__/upload.test.mjs +13 -0
- package/es/schema-component/antd/upload/demos/apiClient.mjs +43 -0
- package/es/schema-component/antd/upload/demos/demo1.mjs +48 -0
- package/es/schema-component/antd/upload/demos/demo2.mjs +115 -0
- package/es/schema-component/antd/upload/index.mjs +1 -0
- package/es/schema-component/antd/upload/placeholder.mjs +63 -0
- package/es/schema-component/antd/upload/shared.mjs +185 -0
- package/es/schema-component/antd/upload/style.mjs +75 -0
- package/es/schema-component/antd/upload/type.d.mjs +1 -0
- package/es/schema-component/antd/variable/CodeMirror.mjs +98 -0
- package/es/schema-component/antd/variable/Input.mjs +310 -0
- package/es/schema-component/antd/variable/JSONInput.mjs +37 -0
- package/es/schema-component/antd/variable/RawTextArea.mjs +99 -0
- package/es/schema-component/antd/variable/TextArea.mjs +387 -0
- package/es/schema-component/antd/variable/Variable.mjs +30 -0
- package/es/schema-component/antd/variable/VariableSelect.mjs +66 -0
- package/es/schema-component/antd/variable/VariableSelect.style.mjs +30 -0
- package/es/schema-component/antd/variable/XButton.mjs +21 -0
- package/es/schema-component/antd/variable/__tests__/variable.test.mjs +45 -0
- package/es/schema-component/antd/variable/demos/demo1.mjs +44 -0
- package/es/schema-component/antd/variable/demos/demo2.mjs +44 -0
- package/es/schema-component/antd/variable/demos/demo3.mjs +44 -0
- package/es/schema-component/antd/variable/index.mjs +1 -0
- package/es/schema-component/antd/variable/style.mjs +175 -0
- package/es/schema-component/common/dnd-context/index.mjs +100 -0
- package/es/schema-component/common/index.mjs +2 -0
- package/es/schema-component/common/infinite-scroll/infinite-scroll.mjs +123 -0
- package/es/schema-component/common/infinite-scroll/style.mjs +28 -0
- package/es/schema-component/common/sortable-item/SortableItem.mjs +131 -0
- package/es/schema-component/common/sortable-item/index.mjs +1 -0
- package/es/schema-component/common/utils/logic.mjs +386 -0
- package/es/schema-component/common/utils/uitls.mjs +111 -0
- package/es/schema-component/context.mjs +4 -0
- package/es/schema-component/core/DesignableSwitch.mjs +37 -0
- package/es/schema-component/core/FormProvider.mjs +53 -0
- package/es/schema-component/core/RemoteSchemaComponent.mjs +44 -0
- package/es/schema-component/core/SchemaComponent.mjs +60 -0
- package/es/schema-component/core/SchemaComponentOptions.mjs +44 -0
- package/es/schema-component/core/SchemaComponentPlugin.d.ts +1 -1
- package/es/schema-component/core/SchemaComponentPlugin.mjs +13 -0
- package/es/schema-component/core/SchemaComponentProvider.mjs +84 -0
- package/es/schema-component/core/index.mjs +7 -0
- package/es/schema-component/demos/demo1.mjs +89 -0
- package/es/schema-component/demos/demo2.mjs +23 -0
- package/es/schema-component/demos/demo3.mjs +24 -0
- package/es/schema-component/demos/demo4.mjs +24 -0
- package/es/schema-component/hooks/__tests__/designable.test.mjs +548 -0
- package/es/schema-component/hooks/__tests__/splitWrapSchema.test.mjs +89 -0
- package/es/schema-component/hooks/index.mjs +12 -0
- package/es/schema-component/hooks/useAttach.mjs +16 -0
- package/es/schema-component/hooks/useCompile.mjs +40 -0
- package/es/schema-component/hooks/useComponent.mjs +10 -0
- package/es/schema-component/hooks/useDesignable.mjs +675 -0
- package/es/schema-component/hooks/useDesigner.mjs +19 -0
- package/es/schema-component/hooks/useFieldComponentOptions.mjs +87 -0
- package/es/schema-component/hooks/useFieldModeOptions.mjs +283 -0
- package/es/schema-component/hooks/useFieldProps.mjs +18 -0
- package/es/schema-component/hooks/useFieldTitle.mjs +22 -0
- package/es/schema-component/hooks/useProps.mjs +13 -0
- package/es/schema-component/hooks/useSchemaComponentContext.mjs +6 -0
- package/es/schema-component/hooks/useTableSize.mjs +31 -0
- package/es/schema-component/index.mjs +6 -0
- package/es/schema-component/types.mjs +1 -0
- package/es/schema-initializer/SchemaInitializerPlugin.d.ts +1 -1
- package/es/schema-initializer/SchemaInitializerPlugin.mjs +126 -0
- package/es/schema-initializer/buttons/CustomFormItemInitializers.mjs +46 -0
- package/es/schema-initializer/buttons/FormItemInitializers.mjs +152 -0
- package/es/schema-initializer/buttons/RecordBlockInitializers.mjs +375 -0
- package/es/schema-initializer/buttons/SubTableActionInitializers.mjs +35 -0
- package/es/schema-initializer/buttons/TabPaneInitializers.mjs +162 -0
- package/es/schema-initializer/buttons/index.mjs +6 -0
- package/es/schema-initializer/components/CreateRecordAction.mjs +340 -0
- package/es/schema-initializer/components/DeletedField.mjs +13 -0
- package/es/schema-initializer/components/assigned-field/AssignedField.mjs +119 -0
- package/es/schema-initializer/components/assigned-field/index.mjs +1 -0
- package/es/schema-initializer/components/index.mjs +2 -0
- package/es/schema-initializer/demos/basic.mjs +62 -0
- package/es/schema-initializer/demos/build-type.mjs +83 -0
- package/es/schema-initializer/demos/custom-button.mjs +94 -0
- package/es/schema-initializer/demos/custom-items-component.mjs +100 -0
- package/es/schema-initializer/demos/dynamic-visible-children.mjs +81 -0
- package/es/schema-initializer/demos/insert-schema-action.mjs +92 -0
- package/es/schema-initializer/demos/insert-schema-basic.mjs +112 -0
- package/es/schema-initializer/demos/insert-schema-form-item.mjs +136 -0
- package/es/schema-initializer/demos/nested-items.mjs +148 -0
- package/es/schema-initializer/hooks/useGetAriaLabelOfSchemaInitializer.mjs +21 -0
- package/es/schema-initializer/index.mjs +20 -0
- package/es/schema-initializer/items/ActionInitializer.mjs +14 -0
- package/es/schema-initializer/items/BlockInitializer.mjs +27 -0
- package/es/schema-initializer/items/CreateFilterActionInitializer.mjs +21 -0
- package/es/schema-initializer/items/CreateResetActionInitializer.mjs +16 -0
- package/es/schema-initializer/items/CustomFilterFormItemInitializer.mjs +461 -0
- package/es/schema-initializer/items/CustomizeActionInitializer.mjs +12 -0
- package/es/schema-initializer/items/DataBlockInitializer.mjs +310 -0
- package/es/schema-initializer/items/DeleteEventActionInitializer.mjs +24 -0
- package/es/schema-initializer/items/FilterBlockInitializer.mjs +3 -0
- package/es/schema-initializer/items/G2PlotInitializer.mjs +16 -0
- package/es/schema-initializer/items/InitializerWithSwitch.mjs +25 -0
- package/es/schema-initializer/items/RecordAssociationBlockInitializer.mjs +55 -0
- package/es/schema-initializer/items/RecordAssociationDetailsBlockInitializer.mjs +55 -0
- package/es/schema-initializer/items/RecordAssociationFormBlockInitializer.mjs +81 -0
- package/es/schema-initializer/items/RecordAssociationGridCardBlockInitializer.mjs +55 -0
- package/es/schema-initializer/items/RecordAssociationListBlockInitializer.mjs +55 -0
- package/es/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.mjs +80 -0
- package/es/schema-initializer/items/SelectActionInitializer.mjs +63 -0
- package/es/schema-initializer/items/SubmitActionInitializer.mjs +21 -0
- package/es/schema-initializer/items/TableActionColumnInitializer.mjs +39 -0
- package/es/schema-initializer/items/index.mjs +23 -0
- package/es/schema-initializer/style.mjs +17 -0
- package/es/schema-initializer/utils.mjs +1368 -0
- package/es/schema-items/GeneralSchemaItems.mjs +150 -0
- package/es/schema-items/GeneralSettings.mjs +207 -0
- package/es/schema-items/OpenModeSchemaItems.mjs +186 -0
- package/es/schema-items/index.mjs +2 -0
- package/es/schema-settings/DataTemplates/FormDataTemplates.mjs +274 -0
- package/es/schema-settings/DataTemplates/TreeLabel.mjs +30 -0
- package/es/schema-settings/DataTemplates/components/AsDefaultTemplate.mjs +46 -0
- package/es/schema-settings/DataTemplates/components/DataTemplateTitle.mjs +256 -0
- package/es/schema-settings/DataTemplates/components/DataTemplateTitle.style.mjs +7 -0
- package/es/schema-settings/DataTemplates/components/Designer.mjs +159 -0
- package/es/schema-settings/DataTemplates/hooks/useCollectionState.mjs +270 -0
- package/es/schema-settings/DataTemplates/index.mjs +1 -0
- package/es/schema-settings/DataTemplates/utils.mjs +233 -0
- package/es/schema-settings/DateFormat/ExpiresRadio.mjs +122 -0
- package/es/schema-settings/EditCustomDefaultValue.mjs +108 -0
- package/es/schema-settings/EditFormulaTitleField.d.ts +2 -2
- package/es/schema-settings/EditFormulaTitleField.mjs +97 -0
- package/es/schema-settings/EnableChildCollections/DynamicComponent.mjs +64 -0
- package/es/schema-settings/EnableChildCollections/index.mjs +101 -0
- package/es/schema-settings/GeneralSchemaDesigner.mjs +264 -0
- package/es/schema-settings/LinkageRules/DynamicComponent.mjs +56 -0
- package/es/schema-settings/LinkageRules/LinkageRuleAction.mjs +223 -0
- package/es/schema-settings/LinkageRules/LinkageRuleActionGroup.mjs +83 -0
- package/es/schema-settings/LinkageRules/ValueDynamicComponent.mjs +156 -0
- package/es/schema-settings/LinkageRules/Variables.mjs +98 -0
- package/es/schema-settings/LinkageRules/action-hooks.mjs +103 -0
- package/es/schema-settings/LinkageRules/components/EnableLinkage.mjs +38 -0
- package/es/schema-settings/LinkageRules/components/LinkageHeader.mjs +254 -0
- package/es/schema-settings/LinkageRules/components/LinkageHeader.style.mjs +7 -0
- package/es/schema-settings/LinkageRules/context.mjs +8 -0
- package/es/schema-settings/LinkageRules/index.mjs +194 -0
- package/es/schema-settings/LinkageRules/type.mjs +15 -0
- package/es/schema-settings/LinkageRules/useValues.mjs +68 -0
- package/es/schema-settings/SchemaSettingCollection.mjs +50 -0
- package/es/schema-settings/SchemaSettingComponent.d.ts +1 -1
- package/es/schema-settings/SchemaSettingComponent.mjs +38 -0
- package/es/schema-settings/SchemaSettings.mjs +1334 -0
- package/es/schema-settings/SchemaSettingsDataScope.mjs +100 -0
- package/es/schema-settings/SchemaSettingsDateFormat.mjs +199 -0
- package/es/schema-settings/SchemaSettingsDefaultValue.mjs +204 -0
- package/es/schema-settings/SchemaSettingsNumberFormat.mjs +178 -0
- package/es/schema-settings/SchemaSettingsPlugin.mjs +108 -0
- package/es/schema-settings/SchemaSettingsSortingRule.mjs +123 -0
- package/es/schema-settings/VariableInput/VariableInput.mjs +164 -0
- package/es/schema-settings/VariableInput/hooks/index.mjs +3 -0
- package/es/schema-settings/VariableInput/hooks/useBaseVariable.mjs +160 -0
- package/es/schema-settings/VariableInput/hooks/useBlockCollection.mjs +10 -0
- package/es/schema-settings/VariableInput/hooks/useContextAssociationFields.mjs +97 -0
- package/es/schema-settings/VariableInput/hooks/useDateVariable.mjs +163 -0
- package/es/schema-settings/VariableInput/hooks/useFilterVariable.mjs +52 -0
- package/es/schema-settings/VariableInput/hooks/useFormVariable.mjs +42 -0
- package/es/schema-settings/VariableInput/hooks/useIterationVariable.mjs +45 -0
- package/es/schema-settings/VariableInput/hooks/useParentRecordVariable.mjs +43 -0
- package/es/schema-settings/VariableInput/hooks/usePopupVariable.mjs +24 -0
- package/es/schema-settings/VariableInput/hooks/useRecordVariable.mjs +38 -0
- package/es/schema-settings/VariableInput/hooks/useRoleVariable.mjs +41 -0
- package/es/schema-settings/VariableInput/hooks/useUserVariable.mjs +41 -0
- package/es/schema-settings/VariableInput/hooks/useVariableOptions.mjs +102 -0
- package/es/schema-settings/VariableInput/index.mjs +2 -0
- package/es/schema-settings/VariableInput/type.mjs +0 -0
- package/es/schema-settings/VariableInput/utils/formatVariableScop.mjs +11 -0
- package/es/schema-settings/demos/basic.mjs +60 -0
- package/es/schema-settings/demos/built-type.mjs +142 -0
- package/es/schema-settings/demos/custom-component.mjs +42 -0
- package/es/schema-settings/demos/demo3.mjs +100 -0
- package/es/schema-settings/demos/schema-basic.mjs +64 -0
- package/es/schema-settings/filter-form/FormFilterScope.mjs +109 -0
- package/es/schema-settings/filter-form/context.mjs +6 -0
- package/es/schema-settings/hooks/useFilterFormCustomProps.mjs +16 -0
- package/es/schema-settings/hooks/useGetAriaLabelOfDesigner.mjs +24 -0
- package/es/schema-settings/hooks/useIsAllowToSetDefaultValue.mjs +67 -0
- package/es/schema-settings/hooks/useIsShowMultipleSwitch.mjs +16 -0
- package/es/schema-settings/hooks/useParseDataScopeFilter.mjs +54 -0
- package/es/schema-settings/index.mjs +18 -0
- package/es/schema-settings/isPatternDisabled.mjs +5 -0
- package/es/schema-settings/styles.mjs +84 -0
- package/es/schema-settings/types.mjs +0 -0
- package/es/schema-templates/BlockTemplate.mjs +41 -0
- package/es/schema-templates/BlockTemplateDetails.mjs +100 -0
- package/es/schema-templates/BlockTemplatePage.mjs +32 -0
- package/es/schema-templates/SchemaTemplateManagerProvider.mjs +74 -0
- package/es/schema-templates/collections/uiSchemaTemplates.mjs +19 -0
- package/es/schema-templates/index.mjs +4 -0
- package/es/schema-templates/schemas/CollectionTitle.mjs +37 -0
- package/es/schema-templates/schemas/uiSchemaTemplates.mjs +231 -0
- package/es/schema-templates/useSchemaTemplateManager.mjs +88 -0
- package/es/style/css-variable/CSSVariableProvider.mjs +74 -0
- package/es/style/css-variable/index.mjs +3 -0
- package/es/style/index.mjs +11 -0
- package/es/style/theme/AntdAppProvider.mjs +35 -0
- package/es/style/theme/defaultTheme.mjs +19 -0
- package/es/style/theme/index.mjs +63 -0
- package/es/style/theme/type.mjs +0 -0
- package/es/style/useToken.mjs +6 -0
- package/es/testUtils/index.mjs +1 -0
- package/es/testUtils/mockAPIClient.mjs +32 -0
- package/es/user/ChangePassword.mjs +157 -0
- package/es/user/CurrentUser.mjs +222 -0
- package/es/user/CurrentUserProvider.mjs +59 -0
- package/es/user/CurrentUserSettingsMenuProvider.mjs +69 -0
- package/es/user/EditProfile.mjs +149 -0
- package/es/user/LanguageSettings.mjs +46 -0
- package/es/user/SwitchRole.mjs +41 -0
- package/es/user/VerificationCode.mjs +83 -0
- package/es/user/__tests__/current-user-settings-menu-provider.test.mjs +36 -0
- package/es/user/index.mjs +3 -0
- package/es/variables/VariablesProvider.mjs +214 -0
- package/es/variables/__tests__/useVariables.test.mjs +406 -0
- package/es/variables/__tests__/utils/filterEmptyValues.test.mjs +46 -0
- package/es/variables/__tests__/utils/getPath.test.mjs +4 -0
- package/es/variables/__tests__/utils/getVariableName.test.mjs +4 -0
- package/es/variables/__tests__/utils/isVariable.test.mjs +22 -0
- package/es/variables/__tests__/utils/transformVariableValue.test.mjs +136 -0
- package/es/variables/__tests__/utils/uniq.test.mjs +77 -0
- package/es/variables/constants.mjs +2 -0
- package/es/variables/hooks/useBuiltinVariables.mjs +51 -0
- package/es/variables/hooks/useContextVariable.mjs +27 -0
- package/es/variables/hooks/useLocalVariables.mjs +68 -0
- package/es/variables/hooks/useVariables.mjs +5 -0
- package/es/variables/index.mjs +15 -0
- package/es/variables/types.mjs +0 -0
- package/es/variables/utils/filterEmptyValues.mjs +5 -0
- package/es/variables/utils/getAction.mjs +8 -0
- package/es/variables/utils/getPath.mjs +7 -0
- package/es/variables/utils/getVariableName.mjs +10 -0
- package/es/variables/utils/hasRequested.mjs +13 -0
- package/es/variables/utils/isVariable.mjs +8 -0
- package/es/variables/utils/transformVariableValue.mjs +30 -0
- package/es/variables/utils/uniq.mjs +10 -0
- package/lib/index.css +321 -0
- package/lib/index.mjs +94747 -48
- package/package.json +4 -6
- package/LICENSE +0 -201
- package/lib/api-client/APIClient.mjs +0 -176
- package/lib/api-client/APIClientProvider.mjs +0 -23
- package/lib/api-client/__tests__/APIClient.test.mjs +0 -64
- package/lib/api-client/context.mjs +0 -14
- package/lib/api-client/demos/demo1.mjs +0 -47
- package/lib/api-client/demos/demo2.mjs +0 -46
- package/lib/api-client/demos/demo3.mjs +0 -97
- package/lib/api-client/hooks/assign.mjs +0 -106
- package/lib/api-client/hooks/index.mjs +0 -9
- package/lib/api-client/hooks/useAPIClient.mjs +0 -15
- package/lib/api-client/hooks/useRequest.mjs +0 -70
- package/lib/api-client/hooks/useResource.mjs +0 -12
- package/lib/api-client/index.mjs +0 -11
- package/lib/application/AppSchemaComponentProvider.mjs +0 -48
- package/lib/application/Application.mjs +0 -431
- package/lib/application/AttachmentPreviewManager.mjs +0 -37
- package/lib/application/NoticesManager.mjs +0 -132
- package/lib/application/Plugin.mjs +0 -66
- package/lib/application/PluginContextMenu.mjs +0 -35
- package/lib/application/PluginManager.mjs +0 -113
- package/lib/application/RouterManager.mjs +0 -148
- package/lib/application/SystemSettingsManager.mjs +0 -133
- package/lib/application/UserSettingsManager.mjs +0 -135
- package/lib/application/WebSocketClient.mjs +0 -202
- package/lib/application/__tests__/Application.test.mjs +0 -518
- package/lib/application/__tests__/Plugin.test.mjs +0 -213
- package/lib/application/__tests__/PluginSettingsManager.test.mjs +0 -168
- package/lib/application/__tests__/RouterManager.test.mjs +0 -345
- package/lib/application/__tests__/SchemaInitializer.test.mjs +0 -169
- package/lib/application/__tests__/SchemaToolbar.test.mjs +0 -171
- package/lib/application/__tests__/hoc/withDynamicSchemaProps.test.mjs +0 -207
- package/lib/application/__tests__/hooks.test.mjs +0 -112
- package/lib/application/__tests__/utils/remotePlugins.test.mjs +0 -331
- package/lib/application/__tests__/utils.test.mjs +0 -117
- package/lib/application/components/AppComponent.mjs +0 -78
- package/lib/application/components/BlankComponent.mjs +0 -18
- package/lib/application/components/MainComponent.mjs +0 -29
- package/lib/application/components/RouterContextCleaner.mjs +0 -30
- package/lib/application/components/defaultComponents.mjs +0 -37
- package/lib/application/components/index.mjs +0 -11
- package/lib/application/context.mjs +0 -10
- package/lib/application/demos/demo1.mjs +0 -136
- package/lib/application/demos/demo2.mjs +0 -149
- package/lib/application/demos/demo3.mjs +0 -17
- package/lib/application/hoc/index.mjs +0 -5
- package/lib/application/hoc/withDynamicSchemaProps.mjs +0 -165
- package/lib/application/hooks/index.mjs +0 -9
- package/lib/application/hooks/useApp.mjs +0 -15
- package/lib/application/hooks/usePlugin.mjs +0 -12
- package/lib/application/hooks/useRouter.mjs +0 -12
- package/lib/application/index.mjs +0 -37
- package/lib/application/schema-initializer/SchemaInitializer.mjs +0 -103
- package/lib/application/schema-initializer/SchemaInitializerManager.mjs +0 -86
- package/lib/application/schema-initializer/components/SchemaInitializerActionModal.mjs +0 -134
- package/lib/application/schema-initializer/components/SchemaInitializerButton.mjs +0 -60
- package/lib/application/schema-initializer/components/SchemaInitializerChildren.mjs +0 -91
- package/lib/application/schema-initializer/components/SchemaInitializerDivider.mjs +0 -25
- package/lib/application/schema-initializer/components/SchemaInitializerItem.mjs +0 -124
- package/lib/application/schema-initializer/components/SchemaInitializerItemGroup.mjs +0 -63
- package/lib/application/schema-initializer/components/SchemaInitializerItems.mjs +0 -23
- package/lib/application/schema-initializer/components/SchemaInitializerSelect.mjs +0 -86
- package/lib/application/schema-initializer/components/SchemaInitializerSubMenu.mjs +0 -147
- package/lib/application/schema-initializer/components/SchemaInitializerSwitch.mjs +0 -59
- package/lib/application/schema-initializer/components/index.mjs +0 -23
- package/lib/application/schema-initializer/components/style.mjs +0 -47
- package/lib/application/schema-initializer/context/index.mjs +0 -18
- package/lib/application/schema-initializer/hoc/index.mjs +0 -159
- package/lib/application/schema-initializer/hooks/index.mjs +0 -193
- package/lib/application/schema-initializer/hooks/useAriaAttributeOfMenuItem.mjs +0 -32
- package/lib/application/schema-initializer/index.mjs +0 -17
- package/lib/application/schema-initializer/types.mjs +0 -4
- package/lib/application/schema-settings/SchemaSettings.mjs +0 -94
- package/lib/application/schema-settings/SchemaSettingsDefaults.mjs +0 -241
- package/lib/application/schema-settings/SchemaSettingsManager.mjs +0 -86
- package/lib/application/schema-settings/components/SchemaSettingsChildren.mjs +0 -123
- package/lib/application/schema-settings/components/SchemaSettingsIcon.mjs +0 -34
- package/lib/application/schema-settings/components/SchemaSettingsWrapper.mjs +0 -59
- package/lib/application/schema-settings/components/index.mjs +0 -7
- package/lib/application/schema-settings/context/index.mjs +0 -13
- package/lib/application/schema-settings/hooks/index.mjs +0 -63
- package/lib/application/schema-settings/index.mjs +0 -15
- package/lib/application/schema-settings/types.mjs +0 -4
- package/lib/application/schema-toolbar/context/index.mjs +0 -24
- package/lib/application/schema-toolbar/hooks/index.mjs +0 -46
- package/lib/application/schema-toolbar/index.mjs +0 -7
- package/lib/application/utils/globalDeps.mjs +0 -162
- package/lib/application/utils/index.mjs +0 -59
- package/lib/application/utils/remotePlugins.mjs +0 -129
- package/lib/async-data-provider/index.mjs +0 -37
- package/lib/block-provider/BlockProvider.mjs +0 -401
- package/lib/block-provider/DetailsBlockProvider.mjs +0 -145
- package/lib/block-provider/FilterFormBlockProvider.mjs +0 -42
- package/lib/block-provider/FormBlockProvider.mjs +0 -222
- package/lib/block-provider/FormFieldProvider.mjs +0 -124
- package/lib/block-provider/MobileProvider.mjs +0 -24
- package/lib/block-provider/PageLayout.mjs +0 -25
- package/lib/block-provider/TableBlockProvider.mjs +0 -155
- package/lib/block-provider/TableFieldProvider.mjs +0 -197
- package/lib/block-provider/TableSelectorProvider.mjs +0 -372
- package/lib/block-provider/TreeBlockProvider.mjs +0 -158
- package/lib/block-provider/hooks/index.mjs +0 -1465
- package/lib/block-provider/hooks/useDataBlockSourceId.mjs +0 -33
- package/lib/block-provider/hooks/useFormActiveFields.mjs +0 -56
- package/lib/block-provider/hooks/useIsMobile.mjs +0 -16
- package/lib/block-provider/hooks/useParsedFilter.mjs +0 -85
- package/lib/block-provider/index.mjs +0 -25
- package/lib/built-in/acl/ACLPlugin.mjs +0 -22
- package/lib/built-in/acl/ACLProvider.mjs +0 -396
- package/lib/built-in/acl/ACLShortcut.mjs +0 -46
- package/lib/built-in/acl/Configuration/ConfigureCenter.mjs +0 -182
- package/lib/built-in/acl/Configuration/MenuConfigure.mjs +0 -188
- package/lib/built-in/acl/Configuration/MenuItemsProvider.mjs +0 -66
- package/lib/built-in/acl/Configuration/PermisionProvider.mjs +0 -95
- package/lib/built-in/acl/Configuration/RoleConfigure.mjs +0 -173
- package/lib/built-in/acl/Configuration/RoleTable.mjs +0 -73
- package/lib/built-in/acl/Configuration/RolesResourcesActions.mjs +0 -265
- package/lib/built-in/acl/Configuration/ScopeSelect.mjs +0 -61
- package/lib/built-in/acl/Configuration/StrategyActions.mjs +0 -143
- package/lib/built-in/acl/Configuration/index.mjs +0 -41
- package/lib/built-in/acl/Configuration/schemas/roles.mjs +0 -427
- package/lib/built-in/acl/Configuration/schemas/scopes.mjs +0 -384
- package/lib/built-in/acl/Configuration/schemas/useRoleResourceValues.mjs +0 -46
- package/lib/built-in/acl/Configuration/schemas/useSaveRoleResourceAction.mjs +0 -32
- package/lib/built-in/acl/index.mjs +0 -11
- package/lib/built-in/acl/style.mjs +0 -31
- package/lib/built-in/admin-layout/AdminContent.mjs +0 -34
- package/lib/built-in/admin-layout/AdminTabs.mjs +0 -21
- package/lib/built-in/admin-layout/NoticeArea.mjs +0 -37
- package/lib/built-in/admin-layout/components/AddNewButton.mjs +0 -89
- package/lib/built-in/admin-layout/components/WelcomeCard.mjs +0 -114
- package/lib/built-in/admin-layout/index.mjs +0 -299
- package/lib/built-in/admin-layout/style.mjs +0 -150
- package/lib/built-in/assistant/Assistant.provider.mjs +0 -114
- package/lib/built-in/assistant/ai-chat/index.mjs +0 -359
- package/lib/built-in/assistant/ai-chat/index.module.mjs +0 -9
- package/lib/built-in/assistant/calculator/AutoScalingText.mjs +0 -45
- package/lib/built-in/assistant/calculator/Calculator.mjs +0 -259
- package/lib/built-in/assistant/calculator/CalculatorDisplay.mjs +0 -34
- package/lib/built-in/assistant/calculator/CalculatorKey.mjs +0 -20
- package/lib/built-in/assistant/calculator/CalculatorProvider.mjs +0 -52
- package/lib/built-in/assistant/calculator/Draggable.mjs +0 -66
- package/lib/built-in/assistant/calculator/style.mjs +0 -33
- package/lib/built-in/assistant/index.mjs +0 -27
- package/lib/built-in/assistant/search-and-jump/index.mjs +0 -75
- package/lib/built-in/attachment-preview/index.mjs +0 -24
- package/lib/built-in/attachment-preview/interface.mjs +0 -4
- package/lib/built-in/attachment-preview/previewers/file-default.mjs +0 -97
- package/lib/built-in/attachment-preview/previewers/file-pdf.mjs +0 -142
- package/lib/built-in/attachment-preview/previewers/file-pdf.style.mjs +0 -53
- package/lib/built-in/attachment-preview/previewers/file-sheet.mjs +0 -132
- package/lib/built-in/attachment-preview/previewers/file-sheet.style.mjs +0 -53
- package/lib/built-in/attachment-preview/previewers/image-jpeg.mjs +0 -43
- package/lib/built-in/attachment-preview/previewers/image-png.mjs +0 -43
- package/lib/built-in/attachment-preview/previewers/image-svg.mjs +0 -29
- package/lib/built-in/attachment-preview/previewers/index.mjs +0 -15
- package/lib/built-in/block-schema-component/index.mjs +0 -186
- package/lib/built-in/built-in-collections/index.mjs +0 -74
- package/lib/built-in/context-menu/ContextMenu.provider.mjs +0 -89
- package/lib/built-in/context-menu/ContextMenuItemsProps.mjs +0 -176
- package/lib/built-in/context-menu/index.mjs +0 -37
- package/lib/built-in/context-menu/useContextMenu.mjs +0 -12
- package/lib/built-in/document-title/index.mjs +0 -75
- package/lib/built-in/dynamic-page/DynamicPage.mjs +0 -67
- package/lib/built-in/dynamic-page/index.mjs +0 -79
- package/lib/built-in/dynamic-page/style.mjs +0 -60
- package/lib/built-in/dynamic-page/utils.mjs +0 -84
- package/lib/built-in/index.mjs +0 -595
- package/lib/built-in/locale/LocalePlugin.mjs +0 -96
- package/lib/built-in/locale/loadConstrueLocale.mjs +0 -194
- package/lib/built-in/page-style/CustomAdminHeader.mjs +0 -24
- package/lib/built-in/page-style/PageStyle.provider.mjs +0 -47
- package/lib/built-in/page-style/TabContent.mjs +0 -97
- package/lib/built-in/page-style/TabHeader.mjs +0 -114
- package/lib/built-in/page-style/index.mjs +0 -29
- package/lib/built-in/page-style/usePageStyle.mjs +0 -15
- package/lib/built-in/page-style/useTabSettings.mjs +0 -97
- package/lib/built-in/pinned-list/PinnedPluginListProvider.mjs +0 -87
- package/lib/built-in/pinned-list/PluginPinnedList.mjs +0 -17
- package/lib/built-in/pinned-list/context.mjs +0 -12
- package/lib/built-in/pinned-list/index.mjs +0 -7
- package/lib/built-in/pm/PluginCard.mjs +0 -306
- package/lib/built-in/pm/PluginDetail.mjs +0 -350
- package/lib/built-in/pm/PluginDocument.mjs +0 -99
- package/lib/built-in/pm/PluginForm/form/PluginNpmForm.mjs +0 -189
- package/lib/built-in/pm/PluginForm/form/PluginUploadForm.mjs +0 -142
- package/lib/built-in/pm/PluginForm/form/PluginUrlForm.mjs +0 -133
- package/lib/built-in/pm/PluginForm/modal/PluginAddModal.mjs +0 -88
- package/lib/built-in/pm/PluginForm/modal/PluginUpgradeModal.mjs +0 -92
- package/lib/built-in/pm/PluginManager.mjs +0 -341
- package/lib/built-in/pm/index.mjs +0 -88
- package/lib/built-in/pm/style.mjs +0 -86
- package/lib/built-in/pm/types.mjs +0 -4
- package/lib/built-in/quick-access/Action.mjs +0 -125
- package/lib/built-in/quick-access/Block.mjs +0 -170
- package/lib/built-in/quick-access/CustomRequestActionSchemaInitializerItem.mjs +0 -115
- package/lib/built-in/quick-access/LinkActionSchemaInitializerItem.mjs +0 -108
- package/lib/built-in/quick-access/ModalActionSchemaInitializerItem.mjs +0 -118
- package/lib/built-in/quick-access/PopupActionSchemaInitializerItem.mjs +0 -143
- package/lib/built-in/quick-access/SchemaSettingsBlockTitleItem.mjs +0 -66
- package/lib/built-in/quick-access/blockInitializerItem.mjs +0 -31
- package/lib/built-in/quick-access/blockSchema.mjs +0 -20
- package/lib/built-in/quick-access/blockSettings.mjs +0 -92
- package/lib/built-in/quick-access/configureActions.mjs +0 -25
- package/lib/built-in/quick-access/index.mjs +0 -66
- package/lib/built-in/scroll-assistant/ScrollAssistant.provider.mjs +0 -62
- package/lib/built-in/scroll-assistant/ScrollAssistantStatus.provider.mjs +0 -31
- package/lib/built-in/scroll-assistant/index.mjs +0 -41
- package/lib/built-in/scroll-assistant/useJoystick.mjs +0 -216
- package/lib/built-in/setting-layout/AdminSettings.mjs +0 -174
- package/lib/built-in/setting-layout/SettingLayout.mjs +0 -171
- package/lib/built-in/setting-layout/SettingsCenterDropdown.mjs +0 -104
- package/lib/built-in/system-settings/SystemSettingsProvider.mjs +0 -33
- package/lib/built-in/system-settings/SystemSettingsShortcut.mjs +0 -189
- package/lib/built-in/system-settings/index.mjs +0 -23
- package/lib/built-in/system-version/SystemVersion.provider.mjs +0 -52
- package/lib/built-in/system-version/index.mjs +0 -17
- package/lib/built-in/user-settings/UserSettingsLayout.mjs +0 -221
- package/lib/built-in/user-settings/index.mjs +0 -38
- package/lib/built-in/user-settings/style.mjs +0 -86
- package/lib/collection-manager/CollectionHistoryProvider.mjs +0 -81
- package/lib/collection-manager/CollectionManagerProvider.mjs +0 -92
- package/lib/collection-manager/CollectionManagerSchemaComponentProvider.mjs +0 -46
- package/lib/collection-manager/CollectionProvider_deprecated.mjs +0 -40
- package/lib/collection-manager/Configuration/AddCollectionAction.mjs +0 -292
- package/lib/collection-manager/Configuration/AddFieldAction.mjs +0 -457
- package/lib/collection-manager/Configuration/AddSubFieldAction.mjs +0 -211
- package/lib/collection-manager/Configuration/DeleteCollectionAction.mjs +0 -268
- package/lib/collection-manager/Configuration/EditCollectionAction.mjs +0 -221
- package/lib/collection-manager/Configuration/EditFieldAction.mjs +0 -315
- package/lib/collection-manager/Configuration/EditSubFieldAction.mjs +0 -163
- package/lib/collection-manager/Configuration/ImportCollectionMetaAction.mjs +0 -210
- package/lib/collection-manager/Configuration/OverridingCollectionField.mjs +0 -274
- package/lib/collection-manager/Configuration/SyncFieldsAction.mjs +0 -257
- package/lib/collection-manager/Configuration/SyncSQLFieldsAction.mjs +0 -214
- package/lib/collection-manager/Configuration/ViewInheritedField.mjs +0 -187
- package/lib/collection-manager/Configuration/components/CollectionCategory.mjs +0 -38
- package/lib/collection-manager/Configuration/components/CollectionFieldInterfaceTag.mjs +0 -40
- package/lib/collection-manager/Configuration/components/CollectionTemplateTag.mjs +0 -39
- package/lib/collection-manager/Configuration/components/FieldSummary.mjs +0 -39
- package/lib/collection-manager/Configuration/components/Summary.mjs +0 -84
- package/lib/collection-manager/Configuration/components/TemplateSummary.mjs +0 -39
- package/lib/collection-manager/Configuration/components/index.mjs +0 -359
- package/lib/collection-manager/Configuration/index.mjs +0 -46
- package/lib/collection-manager/Configuration/interfaces.mjs +0 -48
- package/lib/collection-manager/ResourceActionProvider.mjs +0 -168
- package/lib/collection-manager/action-hooks.mjs +0 -658
- package/lib/collection-manager/collectionPlugin.mjs +0 -151
- package/lib/collection-manager/context.mjs +0 -13
- package/lib/collection-manager/demos/demo2.mjs +0 -143
- package/lib/collection-manager/demos/demo3.mjs +0 -96
- package/lib/collection-manager/demos/demo4.mjs +0 -183
- package/lib/collection-manager/demos/demo5.mjs +0 -187
- package/lib/collection-manager/hooks/index.mjs +0 -11
- package/lib/collection-manager/hooks/useCollectionDataSource.mjs +0 -29
- package/lib/collection-manager/hooks/useCollectionField_deprecated.mjs +0 -43
- package/lib/collection-manager/hooks/useCollectionManager_deprecated.mjs +0 -272
- package/lib/collection-manager/hooks/useCollection_deprecated.mjs +0 -70
- package/lib/collection-manager/hooks/useDialect.mjs +0 -17
- package/lib/collection-manager/index.mjs +0 -63
- package/lib/collection-manager/interfaces/__tests__/json.mjs +0 -73
- package/lib/collection-manager/interfaces/checkbox.mjs +0 -61
- package/lib/collection-manager/interfaces/checkboxGroup.mjs +0 -55
- package/lib/collection-manager/interfaces/chinaRegion.mjs +0 -127
- package/lib/collection-manager/interfaces/collection.mjs +0 -57
- package/lib/collection-manager/interfaces/color.mjs +0 -43
- package/lib/collection-manager/interfaces/components/index.mjs +0 -73
- package/lib/collection-manager/interfaces/createdAt.mjs +0 -47
- package/lib/collection-manager/interfaces/createdBy.mjs +0 -70
- package/lib/collection-manager/interfaces/datetime.mjs +0 -56
- package/lib/collection-manager/interfaces/email.mjs +0 -54
- package/lib/collection-manager/interfaces/icon.mjs +0 -40
- package/lib/collection-manager/interfaces/id.mjs +0 -66
- package/lib/collection-manager/interfaces/index.mjs +0 -81
- package/lib/collection-manager/interfaces/input.mjs +0 -200
- package/lib/collection-manager/interfaces/integer.mjs +0 -138
- package/lib/collection-manager/interfaces/json.mjs +0 -102
- package/lib/collection-manager/interfaces/linkTo.mjs +0 -119
- package/lib/collection-manager/interfaces/m2m.mjs +0 -253
- package/lib/collection-manager/interfaces/m2o.mjs +0 -182
- package/lib/collection-manager/interfaces/markdown.mjs +0 -94
- package/lib/collection-manager/interfaces/multipleSelect.mjs +0 -62
- package/lib/collection-manager/interfaces/nanoid.mjs +0 -72
- package/lib/collection-manager/interfaces/number.mjs +0 -146
- package/lib/collection-manager/interfaces/o2m.mjs +0 -211
- package/lib/collection-manager/interfaces/o2o.mjs +0 -493
- package/lib/collection-manager/interfaces/password.mjs +0 -80
- package/lib/collection-manager/interfaces/percent.mjs +0 -193
- package/lib/collection-manager/interfaces/phone.mjs +0 -46
- package/lib/collection-manager/interfaces/properties/index.mjs +0 -506
- package/lib/collection-manager/interfaces/properties/operators.mjs +0 -370
- package/lib/collection-manager/interfaces/radioGroup.mjs +0 -46
- package/lib/collection-manager/interfaces/richText.mjs +0 -92
- package/lib/collection-manager/interfaces/select.mjs +0 -60
- package/lib/collection-manager/interfaces/sort.mjs +0 -123
- package/lib/collection-manager/interfaces/subTable.mjs +0 -218
- package/lib/collection-manager/interfaces/tableoid.mjs +0 -60
- package/lib/collection-manager/interfaces/textarea.mjs +0 -92
- package/lib/collection-manager/interfaces/time.mjs +0 -59
- package/lib/collection-manager/interfaces/types.mjs +0 -4
- package/lib/collection-manager/interfaces/unixTimestamp.mjs +0 -64
- package/lib/collection-manager/interfaces/updatedAt.mjs +0 -47
- package/lib/collection-manager/interfaces/updatedBy.mjs +0 -70
- package/lib/collection-manager/interfaces/url.mjs +0 -46
- package/lib/collection-manager/interfaces/uuid.mjs +0 -60
- package/lib/collection-manager/mixins/InheritanceCollectionMixin.mjs +0 -249
- package/lib/collection-manager/sub-table.mjs +0 -270
- package/lib/collection-manager/templates/components/PresetFields.mjs +0 -271
- package/lib/collection-manager/templates/components/PreviewFields.mjs +0 -345
- package/lib/collection-manager/templates/components/PreviewTable.mjs +0 -171
- package/lib/collection-manager/templates/components/sql-collection/FieldsConfigure.mjs +0 -348
- package/lib/collection-manager/templates/components/sql-collection/PreviewTable.mjs +0 -81
- package/lib/collection-manager/templates/components/sql-collection/SQLInput.mjs +0 -130
- package/lib/collection-manager/templates/components/sql-collection/SQLRequestProvider.mjs +0 -74
- package/lib/collection-manager/templates/components/sql-collection/index.mjs +0 -11
- package/lib/collection-manager/templates/expression.mjs +0 -78
- package/lib/collection-manager/templates/general.mjs +0 -32
- package/lib/collection-manager/templates/import.mjs +0 -28
- package/lib/collection-manager/templates/index.mjs +0 -15
- package/lib/collection-manager/templates/properties/index.mjs +0 -81
- package/lib/collection-manager/templates/sql.mjs +0 -105
- package/lib/collection-manager/templates/tree.mjs +0 -94
- package/lib/collection-manager/templates/types.mjs +0 -4
- package/lib/collection-manager/templates/view.mjs +0 -177
- package/lib/collection-manager/types.mjs +0 -4
- package/lib/collection-manager/utils.mjs +0 -23
- package/lib/common/SelectWithTitle.mjs +0 -56
- package/lib/common/appInfo/CurrentAppInfoProvider.mjs +0 -33
- package/lib/common/appInfo/index.mjs +0 -5
- package/lib/common/index.mjs +0 -9
- package/lib/common/useFieldComponentName.mjs +0 -39
- package/lib/common/useNiceDropdownHeight.mjs +0 -28
- package/lib/data-source/__tests__/collection/AssociationProvider.test.mjs +0 -132
- package/lib/data-source/__tests__/collection/Collection.test.mjs +0 -308
- package/lib/data-source/__tests__/collection/CollectionManager.test.mjs +0 -308
- package/lib/data-source/__tests__/collection/CollectionManagerProvider.test.mjs +0 -135
- package/lib/data-source/__tests__/collection/CollectionProvider.test.mjs +0 -123
- package/lib/data-source/__tests__/collection/ExtendCollectionsProvider.test.mjs +0 -105
- package/lib/data-source/__tests__/collection-field/CollectionField.test.mjs +0 -84
- package/lib/data-source/__tests__/collection-field/CollectionFieldProvider.test.mjs +0 -70
- package/lib/data-source/__tests__/collection-field-interface/CollectionFieldInterfaceManager.test.mjs +0 -171
- package/lib/data-source/__tests__/collection-record/CollectionRecord.test.mjs +0 -27
- package/lib/data-source/__tests__/collection-record/CollectionRecordProvider.test.mjs +0 -268
- package/lib/data-source/__tests__/collection-record/isNewRecord.test.mjs +0 -55
- package/lib/data-source/__tests__/collection-template/CollectionTemplateManager.test.mjs +0 -132
- package/lib/data-source/__tests__/components/CollectionDeletedPlaceholder.test.mjs +0 -58
- package/lib/data-source/__tests__/data-block/DataBlockProvider.test.mjs +0 -151
- package/lib/data-source/__tests__/data-block/data-block-demos/association-table-list-and-parent-record.mjs +0 -108
- package/lib/data-source/__tests__/data-block/data-block-demos/association-table-list-and-source-id.mjs +0 -160
- package/lib/data-source/__tests__/data-block/data-block-demos/collection-form-create.mjs +0 -131
- package/lib/data-source/__tests__/data-block/data-block-demos/collection-form-get-and-update.mjs +0 -197
- package/lib/data-source/__tests__/data-block/data-block-demos/collection-form-record-and-update.mjs +0 -160
- package/lib/data-source/__tests__/data-block/data-block-demos/collection-table-list.mjs +0 -114
- package/lib/data-source/__tests__/data-block/data-block-demos/createApp.mjs +0 -66
- package/lib/data-source/__tests__/data-source/CollectionDataSourceProvider.test.mjs +0 -56
- package/lib/data-source/__tests__/data-source/DataSource.test.mjs +0 -81
- package/lib/data-source/__tests__/data-source/DataSourceManager.test.mjs +0 -174
- package/lib/data-source/__tests__/data-source/DataSourceManagerProvider.test.mjs +0 -45
- package/lib/data-source/__tests__/data-source/DataSourceProvider.test.mjs +0 -100
- package/lib/data-source/__tests__/utils.test.mjs +0 -66
- package/lib/data-source/collection/AssociationProvider.mjs +0 -68
- package/lib/data-source/collection/Collection.mjs +0 -200
- package/lib/data-source/collection/CollectionManager.mjs +0 -165
- package/lib/data-source/collection/CollectionManagerProvider.mjs +0 -64
- package/lib/data-source/collection/CollectionProvider.mjs +0 -53
- package/lib/data-source/collection/ExtendCollectionsProvider.mjs +0 -47
- package/lib/data-source/collection/index.mjs +0 -15
- package/lib/data-source/collection/utils.mjs +0 -62
- package/lib/data-source/collection-field/CollectionField.mjs +0 -116
- package/lib/data-source/collection-field/CollectionFieldProvider.mjs +0 -65
- package/lib/data-source/collection-field/index.mjs +0 -7
- package/lib/data-source/collection-field-interface/CollectionFieldInterface.mjs +0 -42
- package/lib/data-source/collection-field-interface/CollectionFieldInterfaceManager.mjs +0 -65
- package/lib/data-source/collection-field-interface/index.mjs +0 -7
- package/lib/data-source/collection-record/CollectionRecord.mjs +0 -34
- package/lib/data-source/collection-record/CollectionRecordProvider.mjs +0 -78
- package/lib/data-source/collection-record/index.mjs +0 -7
- package/lib/data-source/collection-record/isNewRecord.mjs +0 -26
- package/lib/data-source/collection-template/CollectionTemplate.mjs +0 -39
- package/lib/data-source/collection-template/CollectionTemplateManager.mjs +0 -61
- package/lib/data-source/collection-template/index.mjs +0 -7
- package/lib/data-source/commonsSettingsItem/fieldComponent.mjs +0 -80
- package/lib/data-source/commonsSettingsItem/index.mjs +0 -5
- package/lib/data-source/components/CollectionDeletedPlaceholder.mjs +0 -125
- package/lib/data-source/components/DataSourceApplicationProvider.mjs +0 -32
- package/lib/data-source/components/index.mjs +0 -7
- package/lib/data-source/data-block/DataBlockProvider.mjs +0 -115
- package/lib/data-source/data-block/DataBlockRequestProvider.mjs +0 -168
- package/lib/data-source/data-block/DataBlockResourceProvider.mjs +0 -84
- package/lib/data-source/data-block/context/ConfigSetting.provider.mjs +0 -18
- package/lib/data-source/data-block/index.mjs +0 -11
- package/lib/data-source/data-source/DataSource.mjs +0 -83
- package/lib/data-source/data-source/DataSourceManager.mjs +0 -127
- package/lib/data-source/data-source/DataSourceManagerProvider.mjs +0 -25
- package/lib/data-source/data-source/DataSourceProvider.mjs +0 -87
- package/lib/data-source/data-source/index.mjs +0 -11
- package/lib/data-source/index.mjs +0 -23
- package/lib/data-source/utils.mjs +0 -28
- package/lib/env.d.mjs +0 -1
- package/lib/filter-provider/FilterProvider.mjs +0 -182
- package/lib/filter-provider/__tests__/transformToFilter.mjs +0 -74
- package/lib/filter-provider/__tests__/useFilter.mjs +0 -61
- package/lib/filter-provider/__tests__/utiles.test.mjs +0 -271
- package/lib/filter-provider/index.mjs +0 -7
- package/lib/filter-provider/utils.mjs +0 -262
- package/lib/flag-provider/FlagProvider.mjs +0 -19
- package/lib/flag-provider/__tests__/flag-provider.test.mjs +0 -37
- package/lib/flag-provider/hooks/useFlag.mjs +0 -15
- package/lib/flag-provider/index.mjs +0 -7
- package/lib/hooks/index.mjs +0 -7
- package/lib/hooks/useAdminSchemaUid.mjs +0 -7
- package/lib/hooks/useMenuItem.mjs +0 -101
- package/lib/hooks/useViewport.mjs +0 -47
- package/lib/i18n/i18n.mjs +0 -37
- package/lib/i18n/index.mjs +0 -5
- package/lib/icon/Icon.mjs +0 -80
- package/lib/icon/__tests__/icon.test.mjs +0 -49
- package/lib/icon/demos/antd-icon.mjs +0 -19
- package/lib/icon/demos/custom-icon.mjs +0 -28
- package/lib/icon/demos/iconfont.mjs +0 -22
- package/lib/icon/demos/register-icon.mjs +0 -35
- package/lib/icon/index.mjs +0 -5
- package/lib/icon/preloaded.mjs +0 -139
- package/lib/locale/index.mjs +0 -274
- package/lib/modules/actions/ActionSchemaToolbar.mjs +0 -24
- package/lib/modules/actions/add-child/CreateChildInitializer.mjs +0 -76
- package/lib/modules/actions/add-child/addChildActionSettings.mjs +0 -88
- package/lib/modules/actions/add-new/CreateActionInitializer.mjs +0 -82
- package/lib/modules/actions/add-new/addNewActionSettings.mjs +0 -81
- package/lib/modules/actions/add-new/createFormBlockInitializers.mjs +0 -75
- package/lib/modules/actions/add-record/CustomizeAddRecordActionInitializer.mjs +0 -78
- package/lib/modules/actions/add-record/customizeAddRecordActionSettings.mjs +0 -50
- package/lib/modules/actions/add-record/customizeCreateFormBlockInitializers.mjs +0 -45
- package/lib/modules/actions/bulk-destroy/BulkDestroyActionInitializer.mjs +0 -52
- package/lib/modules/actions/bulk-destroy/bulkDeleteActionSettings.mjs +0 -42
- package/lib/modules/actions/delete/DestroyActionInitializer.mjs +0 -40
- package/lib/modules/actions/delete/deleteActionSettings.mjs +0 -57
- package/lib/modules/actions/disassociate/DisassociateActionInitializer.mjs +0 -40
- package/lib/modules/actions/disassociate/__e2e__/disassociate.test.mjs +0 -53
- package/lib/modules/actions/disassociate/__e2e__/templatesOfPage.mjs +0 -386
- package/lib/modules/actions/disassociate/disassociateActionSettings.mjs +0 -57
- package/lib/modules/actions/expand-collapse/ExpandableActionInitializer.mjs +0 -40
- package/lib/modules/actions/expand-collapse/expendableActionSettings.mjs +0 -148
- package/lib/modules/actions/filter/FilterActionInitializer.mjs +0 -34
- package/lib/modules/actions/filter/filterActionSettings.mjs +0 -103
- package/lib/modules/actions/link/customizeLinkActionSettings.mjs +0 -149
- package/lib/modules/actions/link/hooks.mjs +0 -243
- package/lib/modules/actions/refresh/RefreshActionInitializer.mjs +0 -33
- package/lib/modules/actions/refresh/refreshActionSettings.mjs +0 -42
- package/lib/modules/actions/save-record/SaveRecordActionInitializer.mjs +0 -49
- package/lib/modules/actions/save-record/customizeSaveRecordActionSettings.mjs +0 -67
- package/lib/modules/actions/submit/CreateSubmitActionInitializer.mjs +0 -39
- package/lib/modules/actions/submit/UpdateSubmitActionInitializer.mjs +0 -44
- package/lib/modules/actions/submit/createSubmitActionSettings.mjs +0 -250
- package/lib/modules/actions/submit/updateSubmitActionSettings.mjs +0 -107
- package/lib/modules/actions/update-record/UpdateRecordActionInitializer.mjs +0 -48
- package/lib/modules/actions/update-record/customizeUpdateRecordActionSettings.mjs +0 -83
- package/lib/modules/actions/view-edit-popup/PopupActionInitializer.mjs +0 -74
- package/lib/modules/actions/view-edit-popup/RecordFormBlockInitializers.mjs +0 -46
- package/lib/modules/actions/view-edit-popup/UpdateActionInitializer.mjs +0 -69
- package/lib/modules/actions/view-edit-popup/ViewActionInitializer.mjs +0 -68
- package/lib/modules/actions/view-edit-popup/customizePopupActionSettings.mjs +0 -70
- package/lib/modules/actions/view-edit-popup/editActionSettings.mjs +0 -65
- package/lib/modules/actions/view-edit-popup/viewActionSettings.mjs +0 -70
- package/lib/modules/blocks/BlockSchemaToolbar.mjs +0 -85
- package/lib/modules/blocks/data-blocks/details-multi/DetailsActionInitializers.mjs +0 -49
- package/lib/modules/blocks/data-blocks/details-multi/DetailsBlockInitializer.mjs +0 -76
- package/lib/modules/blocks/data-blocks/details-multi/__e2e__/schemaInitializer.test.mjs +0 -123
- package/lib/modules/blocks/data-blocks/details-multi/__e2e__/schemaSettings.test.mjs +0 -81
- package/lib/modules/blocks/data-blocks/details-multi/__e2e__/templatesOfBug.mjs +0 -1
- package/lib/modules/blocks/data-blocks/details-multi/__tests__/createDetailsBlockWithPagingUISchema.test.mjs +0 -20
- package/lib/modules/blocks/data-blocks/details-multi/createDetailsWithPaginationUISchema.mjs +0 -66
- package/lib/modules/blocks/data-blocks/details-multi/detailsWithPaginationSettings.mjs +0 -256
- package/lib/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationDecoratorProps.mjs +0 -19
- package/lib/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationProps.mjs +0 -11
- package/lib/modules/blocks/data-blocks/details-multi/setDataLoadingModeSettingsItem.mjs +0 -106
- package/lib/modules/blocks/data-blocks/details-single/ReadPrettyFormActionInitializers.mjs +0 -94
- package/lib/modules/blocks/data-blocks/details-single/ReadPrettyFormItemInitializers.mjs +0 -110
- package/lib/modules/blocks/data-blocks/details-single/RecordReadPrettyFormBlockInitializer.mjs +0 -108
- package/lib/modules/blocks/data-blocks/details-single/__e2e__/schemaInitializer.test.mjs +0 -110
- package/lib/modules/blocks/data-blocks/details-single/__e2e__/schemaSettings.test.mjs +0 -31
- package/lib/modules/blocks/data-blocks/details-single/__e2e__/templatesOfBug.mjs +0 -1
- package/lib/modules/blocks/data-blocks/details-single/__tests__/createDetailsBlockWithoutPagingUISchema.test.mjs +0 -21
- package/lib/modules/blocks/data-blocks/details-single/createDetailsUISchema.mjs +0 -62
- package/lib/modules/blocks/data-blocks/details-single/detailsBlockSettings.mjs +0 -67
- package/lib/modules/blocks/data-blocks/details-single/hooks/useDetailsDecoratorProps.mjs +0 -43
- package/lib/modules/blocks/data-blocks/details-single/hooks/useDetailsProps.mjs +0 -11
- package/lib/modules/blocks/data-blocks/form/CreateFormBlockInitializer.mjs +0 -85
- package/lib/modules/blocks/data-blocks/form/FilterItemCustomSettings.mjs +0 -321
- package/lib/modules/blocks/data-blocks/form/FormBlockInitializer.mjs +0 -113
- package/lib/modules/blocks/data-blocks/form/FormItemSchemaToolbar.mjs +0 -23
- package/lib/modules/blocks/data-blocks/form/RecordFormBlockInitializer.mjs +0 -123
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/associationForm.test.mjs +0 -27
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/dragAndDrop.test.mjs +0 -33
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadAssociationFields.test.mjs +0 -207
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadVariables.test.mjs +0 -36
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/schemaInitializer.test.mjs +0 -167
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/schemaSettings.test.mjs +0 -1367
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/templatesOfBug.mjs +0 -6009
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaInitializer.test.mjs +0 -22
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaSettings.test.mjs +0 -235
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-edit/templatesOfBug.mjs +0 -1
- package/lib/modules/blocks/data-blocks/form/__tests__/createCreateFormBlockUISchema.test.mjs +0 -27
- package/lib/modules/blocks/data-blocks/form/__tests__/createEditFormBlockUISchema.test.mjs +0 -27
- package/lib/modules/blocks/data-blocks/form/createCreateFormBlockUISchema.mjs +0 -63
- package/lib/modules/blocks/data-blocks/form/createEditFormBlockUISchema.mjs +0 -62
- package/lib/modules/blocks/data-blocks/form/createFormActionInitializers.mjs +0 -51
- package/lib/modules/blocks/data-blocks/form/createFormBlockSettings.mjs +0 -157
- package/lib/modules/blocks/data-blocks/form/editFormBlockSettings.mjs +0 -90
- package/lib/modules/blocks/data-blocks/form/fieldSettingsFormItem.mjs +0 -598
- package/lib/modules/blocks/data-blocks/form/formActionInitializers.mjs +0 -54
- package/lib/modules/blocks/data-blocks/form/formItemInitializers.mjs +0 -51
- package/lib/modules/blocks/data-blocks/form/hooks/useCreateFormBlockDecoratorProps.mjs +0 -19
- package/lib/modules/blocks/data-blocks/form/hooks/useCreateFormBlockProps.mjs +0 -11
- package/lib/modules/blocks/data-blocks/form/hooks/useEditFormBlockDecoratorProps.mjs +0 -29
- package/lib/modules/blocks/data-blocks/form/hooks/useEditFormBlockProps.mjs +0 -11
- package/lib/modules/blocks/data-blocks/form/index.mjs +0 -31
- package/lib/modules/blocks/data-blocks/form/updateFormActionInitializers.mjs +0 -62
- package/lib/modules/blocks/data-blocks/grid-card/GridCardActionInitializers.mjs +0 -94
- package/lib/modules/blocks/data-blocks/grid-card/GridCardBlockInitializer.mjs +0 -69
- package/lib/modules/blocks/data-blocks/grid-card/__e2e__/schemaInitializer.test.mjs +0 -231
- package/lib/modules/blocks/data-blocks/grid-card/__e2e__/schemaSettings.test.mjs +0 -58
- package/lib/modules/blocks/data-blocks/grid-card/__e2e__/templatesOfBug.mjs +0 -1
- package/lib/modules/blocks/data-blocks/grid-card/__tests__/createGridCardBlockSchema.test.mjs +0 -32
- package/lib/modules/blocks/data-blocks/grid-card/createGridCardBlockUISchema.mjs +0 -78
- package/lib/modules/blocks/data-blocks/grid-card/gridCardBlockSettings.mjs +0 -484
- package/lib/modules/blocks/data-blocks/grid-card/gridCardItemActionInitializers.mjs +0 -109
- package/lib/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockDecoratorProps.mjs +0 -25
- package/lib/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockParams.mjs +0 -28
- package/lib/modules/blocks/data-blocks/grid-card/utils.mjs +0 -17
- package/lib/modules/blocks/data-blocks/list/ListActionInitializers.mjs +0 -90
- package/lib/modules/blocks/data-blocks/list/ListBlockInitializer.mjs +0 -69
- package/lib/modules/blocks/data-blocks/list/__e2e__/schemaInitializer.test.mjs +0 -224
- package/lib/modules/blocks/data-blocks/list/__e2e__/schemaSettings.test.mjs +0 -29
- package/lib/modules/blocks/data-blocks/list/__e2e__/templatesOfBug.mjs +0 -1
- package/lib/modules/blocks/data-blocks/list/__tests__/createListBlockSchema.test.mjs +0 -30
- package/lib/modules/blocks/data-blocks/list/createListBlockUISchema.mjs +0 -71
- package/lib/modules/blocks/data-blocks/list/hooks/useListBlockDecoratorProps.mjs +0 -19
- package/lib/modules/blocks/data-blocks/list/listBlockSettings.mjs +0 -286
- package/lib/modules/blocks/data-blocks/list/listItemActionInitializers.mjs +0 -109
- package/lib/modules/blocks/data-blocks/table/TableActionColumnInitializers.mjs +0 -287
- package/lib/modules/blocks/data-blocks/table/TableActionInitializers.mjs +0 -143
- package/lib/modules/blocks/data-blocks/table/TableBlockInitializer.mjs +0 -69
- package/lib/modules/blocks/data-blocks/table/TableColumnInitializers.mjs +0 -135
- package/lib/modules/blocks/data-blocks/table/TableColumnSchemaToolbar.mjs +0 -35
- package/lib/modules/blocks/data-blocks/table/__e2e__/actions/duplicate.test.mjs +0 -19
- package/lib/modules/blocks/data-blocks/table/__e2e__/actions/filter.test.mjs +0 -46
- package/lib/modules/blocks/data-blocks/table/__e2e__/checkboxForTableRow.test.mjs +0 -28
- package/lib/modules/blocks/data-blocks/table/__e2e__/dragAndDrop.test.mjs +0 -40
- package/lib/modules/blocks/data-blocks/table/__e2e__/schemaInitializer.test.mjs +0 -450
- package/lib/modules/blocks/data-blocks/table/__e2e__/schemaSettings.test.mjs +0 -922
- package/lib/modules/blocks/data-blocks/table/__e2e__/templatesOfBug.mjs +0 -937
- package/lib/modules/blocks/data-blocks/table/__e2e__/tree/schemaSettings.test.mjs +0 -53
- package/lib/modules/blocks/data-blocks/table/__tests__/createTableBLockSchema.test.mjs +0 -24
- package/lib/modules/blocks/data-blocks/table/createTableBlockUISchema.mjs +0 -90
- package/lib/modules/blocks/data-blocks/table/hooks/useTableBlockDecoratorProps.mjs +0 -54
- package/lib/modules/blocks/data-blocks/table/hooks/useTableBlockProps.mjs +0 -176
- package/lib/modules/blocks/data-blocks/table/index.mjs +0 -21
- package/lib/modules/blocks/data-blocks/table/tableBlockSettings.mjs +0 -461
- package/lib/modules/blocks/data-blocks/table/tableColumnSettings.mjs +0 -388
- package/lib/modules/blocks/data-blocks/table/utils.mjs +0 -30
- package/lib/modules/blocks/data-blocks/table-selector/TableSelectorInitializer.mjs +0 -45
- package/lib/modules/blocks/data-blocks/table-selector/__e2e__/schemaInitializer.test.mjs +0 -174
- package/lib/modules/blocks/data-blocks/table-selector/__e2e__/schemaSettings.test.mjs +0 -169
- package/lib/modules/blocks/data-blocks/table-selector/__e2e__/templatesOfBug.mjs +0 -695
- package/lib/modules/blocks/data-blocks/table-selector/__e2e__/utils.mjs +0 -20
- package/lib/modules/blocks/data-blocks/table-selector/__tests__/createTableSelectorSchema.test.mjs +0 -22
- package/lib/modules/blocks/data-blocks/table-selector/createTableSelectorUISchema.mjs +0 -55
- package/lib/modules/blocks/data-blocks/table-selector/hooks/useTableSelectorDecoratorProps.mjs +0 -5
- package/lib/modules/blocks/data-blocks/table-selector/index.mjs +0 -7
- package/lib/modules/blocks/data-blocks/table-selector/tableSelectorBlockSettings.mjs +0 -353
- package/lib/modules/blocks/filter-blocks/collapse/CollapseItemSchemaToolbar.mjs +0 -22
- package/lib/modules/blocks/filter-blocks/collapse/FilterCollapseBlockInitializer.mjs +0 -51
- package/lib/modules/blocks/filter-blocks/collapse/__e2e__/schemaInitializer.test.mjs +0 -67
- package/lib/modules/blocks/filter-blocks/collapse/__e2e__/schemaSettings.test.mjs +0 -72
- package/lib/modules/blocks/filter-blocks/collapse/__e2e__/templatesOfBug.mjs +0 -1
- package/lib/modules/blocks/filter-blocks/collapse/__tests__/createCollapseBlockSchema.test.mjs +0 -46
- package/lib/modules/blocks/filter-blocks/collapse/createFilterCollapseBlockSchema.mjs +0 -37
- package/lib/modules/blocks/filter-blocks/collapse/filterCollapseBlockSettings.mjs +0 -79
- package/lib/modules/blocks/filter-blocks/collapse/filterCollapseItemFieldSettings.mjs +0 -244
- package/lib/modules/blocks/filter-blocks/collapse/filterCollapseItemInitializer.mjs +0 -170
- package/lib/modules/blocks/filter-blocks/collapse/hooks/useCollapseBlockDecoratorProps.mjs +0 -5
- package/lib/modules/blocks/filter-blocks/form/FilterFormActionInitializers.mjs +0 -38
- package/lib/modules/blocks/filter-blocks/form/FilterFormBlockInitializer.mjs +0 -60
- package/lib/modules/blocks/filter-blocks/form/__e2e__/schemaInitializer.test.mjs +0 -127
- package/lib/modules/blocks/filter-blocks/form/__e2e__/schemaSettings.test.mjs +0 -111
- package/lib/modules/blocks/filter-blocks/form/__e2e__/templatesOfBug.mjs +0 -1
- package/lib/modules/blocks/filter-blocks/form/__tests__/createFilterFormBlockSchema.test.mjs +0 -31
- package/lib/modules/blocks/filter-blocks/form/createFilterFormBlockSchema.mjs +0 -56
- package/lib/modules/blocks/filter-blocks/form/filterFormBlockSettings.mjs +0 -87
- package/lib/modules/blocks/filter-blocks/form/filterFormItemFieldSettings.mjs +0 -394
- package/lib/modules/blocks/filter-blocks/form/filterFormItemInitializers.mjs +0 -53
- package/lib/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockDecoratorProps.mjs +0 -5
- package/lib/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockProps.mjs +0 -11
- package/lib/modules/blocks/filter-blocks/tree/FilterTreeActionInitializers.mjs +0 -38
- package/lib/modules/blocks/filter-blocks/tree/FilterTreeBlockInitializer.mjs +0 -101
- package/lib/modules/blocks/filter-blocks/tree/filterTreeBlockSettings.mjs +0 -87
- package/lib/modules/blocks/filter-blocks/tree/filterTreeItemFieldSettings.mjs +0 -394
- package/lib/modules/blocks/filter-blocks/tree/filterTreeItemInitializers.mjs +0 -53
- package/lib/modules/blocks/other-blocks/markdown/MarkdownBlockInitializer.mjs +0 -48
- package/lib/modules/blocks/other-blocks/markdown/MarkdownFormItemInitializer.mjs +0 -42
- package/lib/modules/blocks/other-blocks/markdown/__e2e__/schemaInitializer.test.mjs +0 -16
- package/lib/modules/blocks/other-blocks/markdown/__e2e__/schemaSettings.test.mjs +0 -40
- package/lib/modules/blocks/other-blocks/markdown/__e2e__/templatesOfBug.mjs +0 -1
- package/lib/modules/blocks/other-blocks/markdown/markdownBlockSettings.mjs +0 -51
- package/lib/modules/blocks/useParentRecordCommon.mjs +0 -18
- package/lib/modules/blocks/useSourceId.mjs +0 -23
- package/lib/modules/blocks/useSourceKey.mjs +0 -16
- package/lib/modules/dialog/__e2e__/schemaInitializer.test.mjs +0 -435
- package/lib/modules/dialog/__e2e__/schemaSettings.test.mjs +0 -65
- package/lib/modules/dialog/__e2e__/templatesOfBug.mjs +0 -2128
- package/lib/modules/dialog/__e2e__/zIndex.test.mjs +0 -46
- package/lib/modules/fields/component/CascadeSelect/cascadeSelectComponentFieldSettings.mjs +0 -120
- package/lib/modules/fields/component/Cascader/cascaderComponentFieldSettings.mjs +0 -457
- package/lib/modules/fields/component/Checkbox/checkboxComponentFieldSettings.mjs +0 -71
- package/lib/modules/fields/component/DatePicker/__e2e__/schemaSettings.test.mjs +0 -86
- package/lib/modules/fields/component/DatePicker/__e2e__/utils.mjs +0 -335
- package/lib/modules/fields/component/DatePicker/datePickerComponentFieldSettings.mjs +0 -37
- package/lib/modules/fields/component/DrawerSubTable/drawerSubTableComponentFieldSettings.mjs +0 -184
- package/lib/modules/fields/component/FileManager/fileManagerComponentFieldSettings.mjs +0 -225
- package/lib/modules/fields/component/FileManager/uploadAttachmentComponentFieldSettings.mjs +0 -123
- package/lib/modules/fields/component/InputNumber/inputNumberComponentFieldSettings.mjs +0 -45
- package/lib/modules/fields/component/Nester/subformComponentFieldSettings.mjs +0 -157
- package/lib/modules/fields/component/Picker/TableSelectorInitializers.mjs +0 -98
- package/lib/modules/fields/component/Picker/recordPickerComponentFieldSettings.mjs +0 -222
- package/lib/modules/fields/component/PopoverNester/subformPopoverComponentFieldSettings.mjs +0 -134
- package/lib/modules/fields/component/Radio/radioComponentFieldSettings.mjs +0 -71
- package/lib/modules/fields/component/Select/selectComponentFieldSettings.mjs +0 -453
- package/lib/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.mjs +0 -447
- package/lib/modules/fields/component/Tag/tagComponentFieldSettings.mjs +0 -207
- package/lib/modules/fields/component/UnixTimestamp/unixTimestampComponentFieldSettings.mjs +0 -37
- package/lib/modules/fields/initializer/CollectionFieldInitializer.mjs +0 -30
- package/lib/modules/fields/initializer/TableCollectionFieldInitializer.mjs +0 -30
- package/lib/modules/menu/GroupItem.mjs +0 -110
- package/lib/modules/menu/LinkMenuItem.mjs +0 -116
- package/lib/modules/menu/PageMenuItem.mjs +0 -125
- package/lib/modules/menu/__e2e__/dragAndDrop.test.mjs +0 -34
- package/lib/modules/menu/__e2e__/schemaInitializer.test.mjs +0 -114
- package/lib/modules/menu/__e2e__/schemaSettings.test.mjs +0 -366
- package/lib/modules/menu/__e2e__/templatesOfBug.mjs +0 -1
- package/lib/modules/menu/menuItemInitializer.mjs +0 -65
- package/lib/modules/page/BlockInitializers.mjs +0 -86
- package/lib/modules/page/__e2e__/blockInitializers.test.mjs +0 -23
- package/lib/modules/page/__e2e__/dragAndDrop.test.mjs +0 -24
- package/lib/modules/page/__e2e__/schemaInitailizer.test.mjs +0 -22
- package/lib/modules/page/__e2e__/schemaSettings.test.mjs +0 -154
- package/lib/modules/page/__e2e__/templatesOfBug.mjs +0 -1
- package/lib/modules/plugin-manager/__e2e__/pluginManager.test.mjs +0 -132
- package/lib/modules/plugin-manager/__e2e__/templatesOfBug.mjs +0 -1
- package/lib/modules/user-center/__e2e__/settings.test.mjs +0 -18
- package/lib/modules/variable/DeclareVariable.mjs +0 -27
- package/lib/modules/variable/useVariable.mjs +0 -27
- package/lib/powered-by/index.mjs +0 -57
- package/lib/record-provider/index.mjs +0 -77
- package/lib/route-switch/RouteSchemaComponent.mjs +0 -27
- package/lib/route-switch/index.mjs +0 -5
- package/lib/schema-component/antd/AntdSchemaComponentProvider.mjs +0 -74
- package/lib/schema-component/antd/__builtins__/hooks/index.mjs +0 -9
- package/lib/schema-component/antd/__builtins__/hooks/useConfig.mjs +0 -14
- package/lib/schema-component/antd/__builtins__/hooks/usePrefixCls.mjs +0 -22
- package/lib/schema-component/antd/__builtins__/hooks/useToken.mjs +0 -13
- package/lib/schema-component/antd/__builtins__/index.mjs +0 -11
- package/lib/schema-component/antd/__builtins__/loading.mjs +0 -21
- package/lib/schema-component/antd/__builtins__/portal.mjs +0 -76
- package/lib/schema-component/antd/__builtins__/render.mjs +0 -65
- package/lib/schema-component/antd/__builtins__/style.mjs +0 -79
- package/lib/schema-component/antd/action/Action.Area.mjs +0 -130
- package/lib/schema-component/antd/action/Action.Area.style.mjs +0 -48
- package/lib/schema-component/antd/action/Action.Container.mjs +0 -75
- package/lib/schema-component/antd/action/Action.Designer.mjs +0 -1053
- package/lib/schema-component/antd/action/Action.Drawer.mjs +0 -179
- package/lib/schema-component/antd/action/Action.Drawer.style.mjs +0 -52
- package/lib/schema-component/antd/action/Action.Link.mjs +0 -37
- package/lib/schema-component/antd/action/Action.Modal.mjs +0 -214
- package/lib/schema-component/antd/action/Action.Page.mjs +0 -112
- package/lib/schema-component/antd/action/Action.Popover.mjs +0 -1
- package/lib/schema-component/antd/action/Action.Sheet.mjs +0 -115
- package/lib/schema-component/antd/action/Action.mjs +0 -349
- package/lib/schema-component/antd/action/Action.style.mjs +0 -53
- package/lib/schema-component/antd/action/ActionBar.mjs +0 -172
- package/lib/schema-component/antd/action/__tests__/action.test.mjs +0 -161
- package/lib/schema-component/antd/action/context.mjs +0 -29
- package/lib/schema-component/antd/action/demos/demo1.mjs +0 -87
- package/lib/schema-component/antd/action/demos/demo2.mjs +0 -90
- package/lib/schema-component/antd/action/demos/demo3.mjs +0 -148
- package/lib/schema-component/antd/action/demos/demo4.mjs +0 -75
- package/lib/schema-component/antd/action/demos/demo5.mjs +0 -237
- package/lib/schema-component/antd/action/demos/demo6.mjs +0 -114
- package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfAction.mjs +0 -62
- package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfDrawer.mjs +0 -43
- package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfModal.mjs +0 -43
- package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfPopover.mjs +0 -43
- package/lib/schema-component/antd/action/hooks/useSetAriaLabelForDrawer.mjs +0 -42
- package/lib/schema-component/antd/action/hooks/useSetAriaLabelForModal.mjs +0 -44
- package/lib/schema-component/antd/action/hooks/useSetAriaLabelForPopover.mjs +0 -33
- package/lib/schema-component/antd/action/hooks.mjs +0 -86
- package/lib/schema-component/antd/action/index.mjs +0 -23
- package/lib/schema-component/antd/action/types.mjs +0 -4
- package/lib/schema-component/antd/action/utils.mjs +0 -229
- package/lib/schema-component/antd/appends-tree-select/AppendsTreeSelect.mjs +0 -268
- package/lib/schema-component/antd/appends-tree-select/AppendsTreeSelectV2.mjs +0 -267
- package/lib/schema-component/antd/appends-tree-select/index.mjs +0 -7
- package/lib/schema-component/antd/association-cascader/AssociationCascader.mjs +0 -173
- package/lib/schema-component/antd/association-cascader/index.mjs +0 -5
- package/lib/schema-component/antd/association-field/AssociationFieldProvider.mjs +0 -166
- package/lib/schema-component/antd/association-field/AssociationSelect.mjs +0 -229
- package/lib/schema-component/antd/association-field/Editable.mjs +0 -165
- package/lib/schema-component/antd/association-field/FileManager.mjs +0 -261
- package/lib/schema-component/antd/association-field/InternalCascadeSelect.mjs +0 -467
- package/lib/schema-component/antd/association-field/InternalCascader.mjs +0 -443
- package/lib/schema-component/antd/association-field/InternalDrawerSubTable.mjs +0 -138
- package/lib/schema-component/antd/association-field/InternalNester.mjs +0 -117
- package/lib/schema-component/antd/association-field/InternalPicker.mjs +0 -276
- package/lib/schema-component/antd/association-field/InternalPopoverNester.mjs +0 -176
- package/lib/schema-component/antd/association-field/InternalSubTable.mjs +0 -133
- package/lib/schema-component/antd/association-field/InternalTag.mjs +0 -180
- package/lib/schema-component/antd/association-field/InternalViewer.mjs +0 -197
- package/lib/schema-component/antd/association-field/Nester.mjs +0 -330
- package/lib/schema-component/antd/association-field/ReadPretty.mjs +0 -82
- package/lib/schema-component/antd/association-field/SubTable.mjs +0 -351
- package/lib/schema-component/antd/association-field/SubTabs/InternalCollapse.mjs +0 -384
- package/lib/schema-component/antd/association-field/SubTabs/hook.mjs +0 -87
- package/lib/schema-component/antd/association-field/SubTabs/index.mjs +0 -5
- package/lib/schema-component/antd/association-field/SubTabs/styles.mjs +0 -33
- package/lib/schema-component/antd/association-field/components/CreateRecordAction.mjs +0 -84
- package/lib/schema-component/antd/association-field/context.mjs +0 -10
- package/lib/schema-component/antd/association-field/hooks.mjs +0 -221
- package/lib/schema-component/antd/association-field/index.mjs +0 -42
- package/lib/schema-component/antd/association-field/schema.mjs +0 -135
- package/lib/schema-component/antd/association-field/util.mjs +0 -133
- package/lib/schema-component/antd/association-filter/ActionBarAssociationFilterAction.mjs +0 -88
- package/lib/schema-component/antd/association-filter/AssociationFilter.BlockDesigner.mjs +0 -67
- package/lib/schema-component/antd/association-filter/AssociationFilter.Initializer.mjs +0 -67
- package/lib/schema-component/antd/association-filter/AssociationFilter.Item.Designer.mjs +0 -168
- package/lib/schema-component/antd/association-filter/AssociationFilter.Item.mjs +0 -183
- package/lib/schema-component/antd/association-filter/AssociationFilter.Item.style.mjs +0 -107
- package/lib/schema-component/antd/association-filter/AssociationFilter.mjs +0 -128
- package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDelete.mjs +0 -55
- package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDisplayField.mjs +0 -43
- package/lib/schema-component/antd/association-filter/utilts.mjs +0 -7
- package/lib/schema-component/antd/association-select/AssociationSelect.mjs +0 -1010
- package/lib/schema-component/antd/association-select/ReadPretty.mjs +0 -38
- package/lib/schema-component/antd/association-select/__tests__/association-select.test.mjs +0 -33
- package/lib/schema-component/antd/association-select/demos/demo1.mjs +0 -75
- package/lib/schema-component/antd/association-select/index.mjs +0 -5
- package/lib/schema-component/antd/association-select/useServiceOptions.mjs +0 -114
- package/lib/schema-component/antd/auto-complete/AutoComplete.mjs +0 -92
- package/lib/schema-component/antd/auto-complete/index.mjs +0 -5
- package/lib/schema-component/antd/block-item/BlockItem.mjs +0 -93
- package/lib/schema-component/antd/block-item/BlockToolbar.mjs +0 -114
- package/lib/schema-component/antd/block-item/__tests__/block-item.test.mjs +0 -29
- package/lib/schema-component/antd/block-item/demos/demo1.mjs +0 -75
- package/lib/schema-component/antd/block-item/hooks/useGetAriaLabelOfBlockItem.mjs +0 -63
- package/lib/schema-component/antd/block-item/index.mjs +0 -5
- package/lib/schema-component/antd/block-item/useBlockToolbar.mjs +0 -107
- package/lib/schema-component/antd/card-item/CardItem.mjs +0 -49
- package/lib/schema-component/antd/card-item/__tests__/card-item.test.mjs +0 -28
- package/lib/schema-component/antd/card-item/demos/demo1.mjs +0 -45
- package/lib/schema-component/antd/card-item/index.mjs +0 -5
- package/lib/schema-component/antd/card-item/style.mjs +0 -33
- package/lib/schema-component/antd/cascader/Cascader.mjs +0 -123
- package/lib/schema-component/antd/cascader/ReadPretty.mjs +0 -50
- package/lib/schema-component/antd/cascader/__tests__/cascader.test.mjs +0 -56
- package/lib/schema-component/antd/cascader/defaultFieldNames.mjs +0 -9
- package/lib/schema-component/antd/cascader/demos/demo1.mjs +0 -100
- package/lib/schema-component/antd/cascader/demos/demo2.mjs +0 -140
- package/lib/schema-component/antd/cascader/index.mjs +0 -5
- package/lib/schema-component/antd/checkbox/Checkbox.mjs +0 -120
- package/lib/schema-component/antd/checkbox/__tests__/checkbox.test.mjs +0 -60
- package/lib/schema-component/antd/checkbox/demos/checkbox.group.mjs +0 -73
- package/lib/schema-component/antd/checkbox/demos/checkbox.mjs +0 -59
- package/lib/schema-component/antd/checkbox/index.mjs +0 -5
- package/lib/schema-component/antd/collection-select/CollectionSelect.mjs +0 -194
- package/lib/schema-component/antd/collection-select/__tests__/collection-select.test.mjs +0 -33
- package/lib/schema-component/antd/collection-select/demos/demo1.mjs +0 -54
- package/lib/schema-component/antd/collection-select/index.mjs +0 -5
- package/lib/schema-component/antd/color-picker/ColorPicker.mjs +0 -114
- package/lib/schema-component/antd/color-picker/ReadPretty.mjs +0 -36
- package/lib/schema-component/antd/color-picker/demos/demo1.mjs +0 -68
- package/lib/schema-component/antd/color-picker/index.mjs +0 -5
- package/lib/schema-component/antd/color-picker/util.mjs +0 -196
- package/lib/schema-component/antd/color-select/ColorSelect.mjs +0 -73
- package/lib/schema-component/antd/color-select/__tests__/color-select.test.mjs +0 -32
- package/lib/schema-component/antd/color-select/demos/demo1.mjs +0 -59
- package/lib/schema-component/antd/color-select/index.mjs +0 -5
- package/lib/schema-component/antd/cron/Cron.mjs +0 -100
- package/lib/schema-component/antd/cron/CronSet.mjs +0 -147
- package/lib/schema-component/antd/cron/__tests__/cron-set.test.mjs +0 -50
- package/lib/schema-component/antd/cron/demos/demo1.mjs +0 -50
- package/lib/schema-component/antd/cron/demos/demo2.mjs +0 -69
- package/lib/schema-component/antd/cron/index.mjs +0 -7
- package/lib/schema-component/antd/custom-cascader/CustomCascader.mjs +0 -63
- package/lib/schema-component/antd/custom-cascader/ReadPretty.mjs +0 -50
- package/lib/schema-component/antd/custom-cascader/defaultFieldNames.mjs +0 -9
- package/lib/schema-component/antd/custom-cascader/index.mjs +0 -5
- package/lib/schema-component/antd/date-picker/DatePicker.mjs +0 -176
- package/lib/schema-component/antd/date-picker/ReadPretty.mjs +0 -66
- package/lib/schema-component/antd/date-picker/__tests__/date-picker.test.mjs +0 -250
- package/lib/schema-component/antd/date-picker/__tests__/getDateRanges.test.mjs +0 -119
- package/lib/schema-component/antd/date-picker/__tests__/mapDatePicker.test.mjs +0 -212
- package/lib/schema-component/antd/date-picker/__tests__/mapRangePicker.test.mjs +0 -71
- package/lib/schema-component/antd/date-picker/__tests__/util.test.mjs +0 -182
- package/lib/schema-component/antd/date-picker/demos/demo1.mjs +0 -76
- package/lib/schema-component/antd/date-picker/demos/demo10.mjs +0 -80
- package/lib/schema-component/antd/date-picker/demos/demo11.mjs +0 -84
- package/lib/schema-component/antd/date-picker/demos/demo2.mjs +0 -79
- package/lib/schema-component/antd/date-picker/demos/demo3.mjs +0 -77
- package/lib/schema-component/antd/date-picker/demos/demo4.mjs +0 -94
- package/lib/schema-component/antd/date-picker/demos/demo5.mjs +0 -93
- package/lib/schema-component/antd/date-picker/demos/demo6.mjs +0 -93
- package/lib/schema-component/antd/date-picker/demos/demo7.mjs +0 -80
- package/lib/schema-component/antd/date-picker/demos/demo8.mjs +0 -80
- package/lib/schema-component/antd/date-picker/demos/demo9.mjs +0 -80
- package/lib/schema-component/antd/date-picker/index.mjs +0 -5
- package/lib/schema-component/antd/date-picker/util.mjs +0 -217
- package/lib/schema-component/antd/details/Details.mjs +0 -44
- package/lib/schema-component/antd/details/__tests__/details.test.mjs +0 -25
- package/lib/schema-component/antd/details/demos/demo1.mjs +0 -59
- package/lib/schema-component/antd/details/index.mjs +0 -5
- package/lib/schema-component/antd/error-fallback/ErrorFallback.mjs +0 -77
- package/lib/schema-component/antd/error-fallback/__tests__/error-fallback.test.mjs +0 -33
- package/lib/schema-component/antd/error-fallback/demos/demo1.mjs +0 -30
- package/lib/schema-component/antd/error-fallback/index.mjs +0 -5
- package/lib/schema-component/antd/expand-action/Expand.Action.Design.mjs +0 -134
- package/lib/schema-component/antd/expand-action/Expand.Action.mjs +0 -103
- package/lib/schema-component/antd/expand-action/index.mjs +0 -15
- package/lib/schema-component/antd/filter/DynamicComponent.mjs +0 -81
- package/lib/schema-component/antd/filter/Filter.Action.Designer.mjs +0 -156
- package/lib/schema-component/antd/filter/Filter.mjs +0 -95
- package/lib/schema-component/antd/filter/FilterAction.mjs +0 -218
- package/lib/schema-component/antd/filter/FilterGroup.mjs +0 -166
- package/lib/schema-component/antd/filter/FilterItem.mjs +0 -120
- package/lib/schema-component/antd/filter/FilterItems.mjs +0 -47
- package/lib/schema-component/antd/filter/SaveDefaultValue.mjs +0 -61
- package/lib/schema-component/antd/filter/__tests__/filter.test.mjs +0 -152
- package/lib/schema-component/antd/filter/context.mjs +0 -14
- package/lib/schema-component/antd/filter/demos/demo2.mjs +0 -143
- package/lib/schema-component/antd/filter/demos/demo3.mjs +0 -213
- package/lib/schema-component/antd/filter/demos/demo4.mjs +0 -203
- package/lib/schema-component/antd/filter/demos/demo5.mjs +0 -145
- package/lib/schema-component/antd/filter/demos/demo6.mjs +0 -140
- package/lib/schema-component/antd/filter/index.mjs +0 -9
- package/lib/schema-component/antd/filter/useFilterActionProps.mjs +0 -298
- package/lib/schema-component/antd/filter/useOperators.mjs +0 -38
- package/lib/schema-component/antd/filter/useValues.mjs +0 -155
- package/lib/schema-component/antd/filter/utils.mjs +0 -20
- package/lib/schema-component/antd/form/Form.Designer.mjs +0 -27
- package/lib/schema-component/antd/form/Form.Settings.mjs +0 -48
- package/lib/schema-component/antd/form/Form.mjs +0 -187
- package/lib/schema-component/antd/form/__tests__/form.test.mjs +0 -155
- package/lib/schema-component/antd/form/demos/apiClient.mjs +0 -26
- package/lib/schema-component/antd/form/demos/demo1.mjs +0 -93
- package/lib/schema-component/antd/form/demos/demo2.mjs +0 -95
- package/lib/schema-component/antd/form/demos/demo3.mjs +0 -94
- package/lib/schema-component/antd/form/demos/demo4.mjs +0 -98
- package/lib/schema-component/antd/form/demos/demo5.mjs +0 -142
- package/lib/schema-component/antd/form/demos/demo6.mjs +0 -95
- package/lib/schema-component/antd/form/demos/demo7.mjs +0 -103
- package/lib/schema-component/antd/form/demos/demo8.mjs +0 -110
- package/lib/schema-component/antd/form/index.mjs +0 -7
- package/lib/schema-component/antd/form-dialog/index.mjs +0 -199
- package/lib/schema-component/antd/form-item/FormItem.FilterFormDesigner.mjs +0 -21
- package/lib/schema-component/antd/form-item/FormItem.FilterFormSettings.mjs +0 -183
- package/lib/schema-component/antd/form-item/FormItem.Settings.mjs +0 -1326
- package/lib/schema-component/antd/form-item/FormItem.mjs +0 -200
- package/lib/schema-component/antd/form-item/SchemaSettingOptions.mjs +0 -638
- package/lib/schema-component/antd/form-item/__tests__/form-item.test.mjs +0 -27
- package/lib/schema-component/antd/form-item/__tests__/hooks/useSpecialCase.test.mjs +0 -33
- package/lib/schema-component/antd/form-item/__tests__/utils.test.mjs +0 -71
- package/lib/schema-component/antd/form-item/demos/demo1.mjs +0 -56
- package/lib/schema-component/antd/form-item/hooks/useLazyLoadDisplayAssociationFieldsOfForm.mjs +0 -135
- package/lib/schema-component/antd/form-item/hooks/useParseDefaultValue.mjs +0 -164
- package/lib/schema-component/antd/form-item/hooks/useSpecialCase.mjs +0 -182
- package/lib/schema-component/antd/form-item/index.mjs +0 -11
- package/lib/schema-component/antd/form-item/utils.mjs +0 -22
- package/lib/schema-component/antd/form-tab/index.mjs +0 -168
- package/lib/schema-component/antd/form-v2/Form.Designer.mjs +0 -51
- package/lib/schema-component/antd/form-v2/Form.FilterDesigner.mjs +0 -36
- package/lib/schema-component/antd/form-v2/Form.Settings.mjs +0 -364
- package/lib/schema-component/antd/form-v2/Form.mjs +0 -432
- package/lib/schema-component/antd/form-v2/FormField.mjs +0 -51
- package/lib/schema-component/antd/form-v2/Templates.mjs +0 -257
- package/lib/schema-component/antd/form-v2/__tests__/form-v2.test.mjs +0 -69
- package/lib/schema-component/antd/form-v2/demos/collections.mjs +0 -1568
- package/lib/schema-component/antd/form-v2/demos/demo1.mjs +0 -139
- package/lib/schema-component/antd/form-v2/demos/demo2.mjs +0 -162
- package/lib/schema-component/antd/form-v2/demos/demo3.mjs +0 -139
- package/lib/schema-component/antd/form-v2/index.mjs +0 -32
- package/lib/schema-component/antd/form-v2/utils.mjs +0 -182
- package/lib/schema-component/antd/grid/Block.mjs +0 -39
- package/lib/schema-component/antd/grid/Grid.mjs +0 -562
- package/lib/schema-component/antd/grid/Grid.style.mjs +0 -51
- package/lib/schema-component/antd/grid/__tests__/grid.test.mjs +0 -47
- package/lib/schema-component/antd/grid/demos/demo1.mjs +0 -211
- package/lib/schema-component/antd/grid/demos/demo2.mjs +0 -119
- package/lib/schema-component/antd/grid/demos/demo3.mjs +0 -101
- package/lib/schema-component/antd/grid/index.mjs +0 -7
- package/lib/schema-component/antd/grid-card/GridCard.Decorator.mjs +0 -108
- package/lib/schema-component/antd/grid-card/GridCard.Decorator.style.mjs +0 -30
- package/lib/schema-component/antd/grid-card/GridCard.Designer.mjs +0 -317
- package/lib/schema-component/antd/grid-card/GridCard.Item.mjs +0 -120
- package/lib/schema-component/antd/grid-card/GridCard.mjs +0 -215
- package/lib/schema-component/antd/grid-card/__tests__/grid-card.test.mjs +0 -24
- package/lib/schema-component/antd/grid-card/demos/demo1.mjs +0 -17
- package/lib/schema-component/antd/grid-card/hooks.mjs +0 -37
- package/lib/schema-component/antd/grid-card/index.mjs +0 -5
- package/lib/schema-component/antd/grid-card/options.mjs +0 -38
- package/lib/schema-component/antd/icon-picker/IconFilterInput.mjs +0 -32
- package/lib/schema-component/antd/icon-picker/IconList.mjs +0 -71
- package/lib/schema-component/antd/icon-picker/IconPicker.mjs +0 -116
- package/lib/schema-component/antd/icon-picker/__tests__/icon-picker.test.mjs +0 -43
- package/lib/schema-component/antd/icon-picker/demos/icon-picker.mjs +0 -57
- package/lib/schema-component/antd/icon-picker/index.mjs +0 -5
- package/lib/schema-component/antd/index.mjs +0 -137
- package/lib/schema-component/antd/input/EllipsisWithTooltip.mjs +0 -82
- package/lib/schema-component/antd/input/Input.mjs +0 -56
- package/lib/schema-component/antd/input/Json.mjs +0 -83
- package/lib/schema-component/antd/input/ReadPretty.mjs +0 -186
- package/lib/schema-component/antd/input/__tests__/Input.test.mjs +0 -141
- package/lib/schema-component/antd/input/demos/input.mjs +0 -57
- package/lib/schema-component/antd/input/demos/json.mjs +0 -63
- package/lib/schema-component/antd/input/demos/textarea.mjs +0 -85
- package/lib/schema-component/antd/input/demos/url.mjs +0 -59
- package/lib/schema-component/antd/input/index.mjs +0 -13
- package/lib/schema-component/antd/input/shared.mjs +0 -11
- package/lib/schema-component/antd/input-number/InputNumber.mjs +0 -37
- package/lib/schema-component/antd/input-number/ReadPretty.mjs +0 -161
- package/lib/schema-component/antd/input-number/__tests__/input-number.test.mjs +0 -152
- package/lib/schema-component/antd/input-number/demos/addonBefore&addonAfter.mjs +0 -65
- package/lib/schema-component/antd/input-number/demos/highPrecisionDecimals.mjs +0 -67
- package/lib/schema-component/antd/input-number/demos/inputNumber.mjs +0 -57
- package/lib/schema-component/antd/input-number/index.mjs +0 -5
- package/lib/schema-component/antd/list/List.Decorator.mjs +0 -135
- package/lib/schema-component/antd/list/List.Designer.mjs +0 -260
- package/lib/schema-component/antd/list/List.Item.mjs +0 -85
- package/lib/schema-component/antd/list/List.mjs +0 -129
- package/lib/schema-component/antd/list/List.style.mjs +0 -62
- package/lib/schema-component/antd/list/__tests__/list.test.mjs +0 -24
- package/lib/schema-component/antd/list/demos/demo1.mjs +0 -17
- package/lib/schema-component/antd/list/hooks.mjs +0 -16
- package/lib/schema-component/antd/list/index.mjs +0 -5
- package/lib/schema-component/antd/markdown/Markdown.Void.Designer.mjs +0 -45
- package/lib/schema-component/antd/markdown/Markdown.Void.mjs +0 -148
- package/lib/schema-component/antd/markdown/Markdown.mjs +0 -83
- package/lib/schema-component/antd/markdown/__tests__/markdown.test.mjs +0 -48
- package/lib/schema-component/antd/markdown/demos/demo1.mjs +0 -59
- package/lib/schema-component/antd/markdown/demos/demo2.mjs +0 -78
- package/lib/schema-component/antd/markdown/index.mjs +0 -5
- package/lib/schema-component/antd/markdown/markdown-it-plugins/mermaidPlugin.mjs +0 -73
- package/lib/schema-component/antd/markdown/md.mjs +0 -25
- package/lib/schema-component/antd/markdown/style.mjs +0 -233
- package/lib/schema-component/antd/markdown/util.mjs +0 -49
- package/lib/schema-component/antd/menu/Menu.Designer.mjs +0 -478
- package/lib/schema-component/antd/menu/Menu.mjs +0 -686
- package/lib/schema-component/antd/menu/Menu.styles.mjs +0 -85
- package/lib/schema-component/antd/menu/MenuItemInitializers/index.mjs +0 -17
- package/lib/schema-component/antd/menu/__tests__/menu.test.mjs +0 -65
- package/lib/schema-component/antd/menu/demos/demo1.mjs +0 -109
- package/lib/schema-component/antd/menu/demos/demo2.mjs +0 -112
- package/lib/schema-component/antd/menu/demos/demo3.mjs +0 -152
- package/lib/schema-component/antd/menu/index.mjs +0 -9
- package/lib/schema-component/antd/menu/locale.mjs +0 -11
- package/lib/schema-component/antd/menu/util.mjs +0 -56
- package/lib/schema-component/antd/nanoIDInput/NanoIDInput.mjs +0 -71
- package/lib/schema-component/antd/nanoIDInput/index.mjs +0 -5
- package/lib/schema-component/antd/page/FixedBlock.mjs +0 -118
- package/lib/schema-component/antd/page/FixedBlockDesignerItem.mjs +0 -72
- package/lib/schema-component/antd/page/Page.Settings.mjs +0 -167
- package/lib/schema-component/antd/page/Page.mjs +0 -317
- package/lib/schema-component/antd/page/PageTab.Settings.mjs +0 -108
- package/lib/schema-component/antd/page/PageTabDesigner.mjs +0 -98
- package/lib/schema-component/antd/page/__tests__/page.test.mjs +0 -33
- package/lib/schema-component/antd/page/demos/demo1.mjs +0 -52
- package/lib/schema-component/antd/page/hooks/useIsBlockInPage.mjs +0 -25
- package/lib/schema-component/antd/page/index.mjs +0 -13
- package/lib/schema-component/antd/page/style.mjs +0 -149
- package/lib/schema-component/antd/pagination/index.mjs +0 -48
- package/lib/schema-component/antd/password/Password.mjs +0 -102
- package/lib/schema-component/antd/password/PasswordStrength.mjs +0 -29
- package/lib/schema-component/antd/password/__tests__/password.test.mjs +0 -46
- package/lib/schema-component/antd/password/__tests__/utils.test.mjs +0 -27
- package/lib/schema-component/antd/password/demos/demo1.mjs +0 -59
- package/lib/schema-component/antd/password/demos/demo2.mjs +0 -62
- package/lib/schema-component/antd/password/index.mjs +0 -5
- package/lib/schema-component/antd/password/utils.mjs +0 -146
- package/lib/schema-component/antd/percent/Percent.mjs +0 -59
- package/lib/schema-component/antd/percent/__tests__/percent.test.mjs +0 -31
- package/lib/schema-component/antd/percent/demos/percent.mjs +0 -57
- package/lib/schema-component/antd/percent/index.mjs +0 -5
- package/lib/schema-component/antd/popover/Popover.mjs +0 -67
- package/lib/schema-component/antd/popover/index.mjs +0 -5
- package/lib/schema-component/antd/preview/Preview.mjs +0 -324
- package/lib/schema-component/antd/preview/__tests__/preview.test.mjs +0 -26
- package/lib/schema-component/antd/preview/demos/demo1.mjs +0 -103
- package/lib/schema-component/antd/preview/index.mjs +0 -5
- package/lib/schema-component/antd/quick-edit/QuickEdit.mjs +0 -148
- package/lib/schema-component/antd/quick-edit/index.mjs +0 -5
- package/lib/schema-component/antd/radio/Radio.mjs +0 -62
- package/lib/schema-component/antd/radio/__tests__/radio.test.mjs +0 -64
- package/lib/schema-component/antd/radio/demos/demo1.mjs +0 -60
- package/lib/schema-component/antd/radio/demos/demo2.mjs +0 -72
- package/lib/schema-component/antd/radio/demos/demo3.mjs +0 -73
- package/lib/schema-component/antd/radio/index.mjs +0 -5
- package/lib/schema-component/antd/record-picker/InputRecordPicker.mjs +0 -308
- package/lib/schema-component/antd/record-picker/ReadPrettyRecordPicker.mjs +0 -177
- package/lib/schema-component/antd/record-picker/RecordPicker.mjs +0 -17
- package/lib/schema-component/antd/record-picker/__tests__/record-picker.test.mjs +0 -44
- package/lib/schema-component/antd/record-picker/demos/demo1.mjs +0 -198
- package/lib/schema-component/antd/record-picker/demos/mockData.mjs +0 -214
- package/lib/schema-component/antd/record-picker/index.mjs +0 -24
- package/lib/schema-component/antd/record-picker/useFieldNames.mjs +0 -18
- package/lib/schema-component/antd/record-picker/util.mjs +0 -59
- package/lib/schema-component/antd/remote-select/ReadPretty.mjs +0 -71
- package/lib/schema-component/antd/remote-select/RemoteSelect.mjs +0 -291
- package/lib/schema-component/antd/remote-select/__tests__/remote-select.test.mjs +0 -33
- package/lib/schema-component/antd/remote-select/demos/demo1.mjs +0 -75
- package/lib/schema-component/antd/remote-select/index.mjs +0 -5
- package/lib/schema-component/antd/remote-select/shared.mjs +0 -11
- package/lib/schema-component/antd/rich-text/RichText.mjs +0 -85
- package/lib/schema-component/antd/rich-text/__tests__/rich-text.test.mjs +0 -28
- package/lib/schema-component/antd/rich-text/demos/demo1.mjs +0 -61
- package/lib/schema-component/antd/rich-text/index.mjs +0 -5
- package/lib/schema-component/antd/rich-text/style.mjs +0 -818
- package/lib/schema-component/antd/scroll-area/ScrollArea.mjs +0 -63
- package/lib/schema-component/antd/scroll-area/index.mjs +0 -5
- package/lib/schema-component/antd/select/FormulaSelect.mjs +0 -263
- package/lib/schema-component/antd/select/ReadPretty.mjs +0 -61
- package/lib/schema-component/antd/select/Select.mjs +0 -214
- package/lib/schema-component/antd/select/__tests__/select.test.mjs +0 -63
- package/lib/schema-component/antd/select/__tests__/utils.test.mjs +0 -135
- package/lib/schema-component/antd/select/demos/demo1.mjs +0 -91
- package/lib/schema-component/antd/select/demos/demo2.mjs +0 -95
- package/lib/schema-component/antd/select/demos/demo3.mjs +0 -105
- package/lib/schema-component/antd/select/index.mjs +0 -7
- package/lib/schema-component/antd/select/utils.mjs +0 -49
- package/lib/schema-component/antd/space/index.mjs +0 -36
- package/lib/schema-component/antd/table/Table.Array.Designer.mjs +0 -26
- package/lib/schema-component/antd/table/Table.Array.mjs +0 -358
- package/lib/schema-component/antd/table/Table.Column.ActionBar.mjs +0 -62
- package/lib/schema-component/antd/table/Table.Column.Decorator.mjs +0 -77
- package/lib/schema-component/antd/table/Table.Column.Designer.mjs +0 -173
- package/lib/schema-component/antd/table/Table.Column.mjs +0 -22
- package/lib/schema-component/antd/table/Table.Designer.mjs +0 -32
- package/lib/schema-component/antd/table/Table.RowActionDesigner.mjs +0 -60
- package/lib/schema-component/antd/table/Table.RowSelection.mjs +0 -47
- package/lib/schema-component/antd/table/Table.Void.Designer.mjs +0 -278
- package/lib/schema-component/antd/table/Table.Void.mjs +0 -155
- package/lib/schema-component/antd/table/__tests__/table.test.mjs +0 -45
- package/lib/schema-component/antd/table/demos/demo1.mjs +0 -77
- package/lib/schema-component/antd/table/demos/demo2.mjs +0 -77
- package/lib/schema-component/antd/table/demos/demo3.mjs +0 -77
- package/lib/schema-component/antd/table/demos/demo4.mjs +0 -242
- package/lib/schema-component/antd/table/index.mjs +0 -60
- package/lib/schema-component/antd/table-v2/Table.ActionColumnDesigner.mjs +0 -60
- package/lib/schema-component/antd/table-v2/Table.Column.ActionBar.mjs +0 -72
- package/lib/schema-component/antd/table-v2/Table.Column.Decorator.mjs +0 -91
- package/lib/schema-component/antd/table-v2/Table.Column.Designer.mjs +0 -514
- package/lib/schema-component/antd/table-v2/Table.Column.mjs +0 -23
- package/lib/schema-component/antd/table-v2/Table.Designer.mjs +0 -32
- package/lib/schema-component/antd/table-v2/Table.Index.mjs +0 -22
- package/lib/schema-component/antd/table-v2/Table.mjs +0 -574
- package/lib/schema-component/antd/table-v2/Table.styles.mjs +0 -146
- package/lib/schema-component/antd/table-v2/TableBlockDesigner.mjs +0 -392
- package/lib/schema-component/antd/table-v2/TableField.mjs +0 -77
- package/lib/schema-component/antd/table-v2/TableSelector.mjs +0 -9
- package/lib/schema-component/antd/table-v2/TableSelectorDesigner.mjs +0 -347
- package/lib/schema-component/antd/table-v2/__tests__/table-v2.test.mjs +0 -31
- package/lib/schema-component/antd/table-v2/components/ColumnFieldProvider.mjs +0 -59
- package/lib/schema-component/antd/table-v2/demos/collections.mjs +0 -1563
- package/lib/schema-component/antd/table-v2/demos/demo1.mjs +0 -251
- package/lib/schema-component/antd/table-v2/demos/demo2.mjs +0 -145
- package/lib/schema-component/antd/table-v2/index.mjs +0 -52
- package/lib/schema-component/antd/table-v2/utils.mjs +0 -20
- package/lib/schema-component/antd/tabs/Tabs.Designer.mjs +0 -159
- package/lib/schema-component/antd/tabs/Tabs.mjs +0 -141
- package/lib/schema-component/antd/tabs/__tests__/tabs.test.mjs +0 -29
- package/lib/schema-component/antd/tabs/context.mjs +0 -23
- package/lib/schema-component/antd/tabs/demos/demo1.mjs +0 -86
- package/lib/schema-component/antd/tabs/index.mjs +0 -7
- package/lib/schema-component/antd/time-picker/ReadPretty.mjs +0 -42
- package/lib/schema-component/antd/time-picker/TimePicker.mjs +0 -40
- package/lib/schema-component/antd/time-picker/__tests__/time-picker.test.mjs +0 -68
- package/lib/schema-component/antd/time-picker/demos/demo1.mjs +0 -59
- package/lib/schema-component/antd/time-picker/demos/demo2.mjs +0 -59
- package/lib/schema-component/antd/time-picker/index.mjs +0 -5
- package/lib/schema-component/antd/tree/Tree.mjs +0 -115
- package/lib/schema-component/antd/tree/index.mjs +0 -10
- package/lib/schema-component/antd/tree-select/ReadPretty.mjs +0 -91
- package/lib/schema-component/antd/tree-select/TreeSelect.mjs +0 -37
- package/lib/schema-component/antd/tree-select/__tests__/tree-select.test.mjs +0 -29
- package/lib/schema-component/antd/tree-select/demos/demo1.mjs +0 -103
- package/lib/schema-component/antd/tree-select/index.mjs +0 -5
- package/lib/schema-component/antd/unixTimestamp/UnixTimestamp.mjs +0 -69
- package/lib/schema-component/antd/unixTimestamp/index.mjs +0 -5
- package/lib/schema-component/antd/upload/ReadPretty.mjs +0 -249
- package/lib/schema-component/antd/upload/Upload.mjs +0 -394
- package/lib/schema-component/antd/upload/__tests__/upload.test.mjs +0 -31
- package/lib/schema-component/antd/upload/demos/apiClient.mjs +0 -51
- package/lib/schema-component/antd/upload/demos/demo1.mjs +0 -71
- package/lib/schema-component/antd/upload/demos/demo2.mjs +0 -137
- package/lib/schema-component/antd/upload/index.mjs +0 -5
- package/lib/schema-component/antd/upload/placeholder.mjs +0 -66
- package/lib/schema-component/antd/upload/shared.mjs +0 -254
- package/lib/schema-component/antd/upload/style.mjs +0 -81
- package/lib/schema-component/antd/upload/type.d.mjs +0 -7
- package/lib/schema-component/antd/variable/CodeMirror.mjs +0 -124
- package/lib/schema-component/antd/variable/Input.mjs +0 -384
- package/lib/schema-component/antd/variable/JSONInput.mjs +0 -57
- package/lib/schema-component/antd/variable/RawTextArea.mjs +0 -125
- package/lib/schema-component/antd/variable/TextArea.mjs +0 -504
- package/lib/schema-component/antd/variable/Variable.mjs +0 -57
- package/lib/schema-component/antd/variable/VariableSelect.mjs +0 -101
- package/lib/schema-component/antd/variable/VariableSelect.style.mjs +0 -36
- package/lib/schema-component/antd/variable/XButton.mjs +0 -35
- package/lib/schema-component/antd/variable/__tests__/variable.test.mjs +0 -66
- package/lib/schema-component/antd/variable/demos/demo1.mjs +0 -63
- package/lib/schema-component/antd/variable/demos/demo2.mjs +0 -63
- package/lib/schema-component/antd/variable/demos/demo3.mjs +0 -63
- package/lib/schema-component/antd/variable/index.mjs +0 -5
- package/lib/schema-component/antd/variable/style.mjs +0 -186
- package/lib/schema-component/common/dnd-context/index.mjs +0 -124
- package/lib/schema-component/common/index.mjs +0 -7
- package/lib/schema-component/common/infinite-scroll/infinite-scroll.mjs +0 -153
- package/lib/schema-component/common/infinite-scroll/style.mjs +0 -36
- package/lib/schema-component/common/sortable-item/SortableItem.mjs +0 -166
- package/lib/schema-component/common/sortable-item/index.mjs +0 -5
- package/lib/schema-component/common/utils/logic.mjs +0 -578
- package/lib/schema-component/common/utils/uitls.mjs +0 -155
- package/lib/schema-component/context.mjs +0 -10
- package/lib/schema-component/core/DesignableSwitch.mjs +0 -67
- package/lib/schema-component/core/FormProvider.mjs +0 -70
- package/lib/schema-component/core/RemoteSchemaComponent.mjs +0 -72
- package/lib/schema-component/core/SchemaComponent.mjs +0 -86
- package/lib/schema-component/core/SchemaComponentOptions.mjs +0 -62
- package/lib/schema-component/core/SchemaComponentPlugin.mjs +0 -22
- package/lib/schema-component/core/SchemaComponentProvider.mjs +0 -116
- package/lib/schema-component/core/index.mjs +0 -17
- package/lib/schema-component/demos/demo1.mjs +0 -111
- package/lib/schema-component/demos/demo2.mjs +0 -40
- package/lib/schema-component/demos/demo3.mjs +0 -41
- package/lib/schema-component/demos/demo4.mjs +0 -41
- package/lib/schema-component/hooks/__tests__/designable.test.mjs +0 -564
- package/lib/schema-component/hooks/__tests__/splitWrapSchema.test.mjs +0 -98
- package/lib/schema-component/hooks/index.mjs +0 -27
- package/lib/schema-component/hooks/useAttach.mjs +0 -24
- package/lib/schema-component/hooks/useCompile.mjs +0 -59
- package/lib/schema-component/hooks/useComponent.mjs +0 -26
- package/lib/schema-component/hooks/useDesignable.mjs +0 -858
- package/lib/schema-component/hooks/useDesigner.mjs +0 -36
- package/lib/schema-component/hooks/useFieldComponentOptions.mjs +0 -106
- package/lib/schema-component/hooks/useFieldModeOptions.mjs +0 -304
- package/lib/schema-component/hooks/useFieldProps.mjs +0 -27
- package/lib/schema-component/hooks/useFieldTitle.mjs +0 -37
- package/lib/schema-component/hooks/useProps.mjs +0 -22
- package/lib/schema-component/hooks/useSchemaComponentContext.mjs +0 -15
- package/lib/schema-component/hooks/useTableSize.mjs +0 -40
- package/lib/schema-component/index.mjs +0 -15
- package/lib/schema-component/types.mjs +0 -7
- package/lib/schema-initializer/SchemaInitializerPlugin.mjs +0 -292
- package/lib/schema-initializer/buttons/CustomFormItemInitializers.mjs +0 -71
- package/lib/schema-initializer/buttons/FormItemInitializers.mjs +0 -187
- package/lib/schema-initializer/buttons/RecordBlockInitializers.mjs +0 -460
- package/lib/schema-initializer/buttons/SubTableActionInitializers.mjs +0 -41
- package/lib/schema-initializer/buttons/TabPaneInitializers.mjs +0 -232
- package/lib/schema-initializer/buttons/index.mjs +0 -16
- package/lib/schema-initializer/components/CreateRecordAction.mjs +0 -414
- package/lib/schema-initializer/components/DeletedField.mjs +0 -25
- package/lib/schema-initializer/components/assigned-field/AssignedField.mjs +0 -177
- package/lib/schema-initializer/components/assigned-field/index.mjs +0 -5
- package/lib/schema-initializer/components/index.mjs +0 -7
- package/lib/schema-initializer/demos/basic.mjs +0 -81
- package/lib/schema-initializer/demos/build-type.mjs +0 -96
- package/lib/schema-initializer/demos/custom-button.mjs +0 -114
- package/lib/schema-initializer/demos/custom-items-component.mjs +0 -116
- package/lib/schema-initializer/demos/dynamic-visible-children.mjs +0 -94
- package/lib/schema-initializer/demos/insert-schema-action.mjs +0 -111
- package/lib/schema-initializer/demos/insert-schema-basic.mjs +0 -133
- package/lib/schema-initializer/demos/insert-schema-form-item.mjs +0 -153
- package/lib/schema-initializer/demos/nested-items.mjs +0 -170
- package/lib/schema-initializer/hooks/useGetAriaLabelOfSchemaInitializer.mjs +0 -36
- package/lib/schema-initializer/index.mjs +0 -29
- package/lib/schema-initializer/items/ActionInitializer.mjs +0 -29
- package/lib/schema-initializer/items/BlockInitializer.mjs +0 -43
- package/lib/schema-initializer/items/CreateFilterActionInitializer.mjs +0 -33
- package/lib/schema-initializer/items/CreateResetActionInitializer.mjs +0 -28
- package/lib/schema-initializer/items/CustomFilterFormItemInitializer.mjs +0 -540
- package/lib/schema-initializer/items/CustomizeActionInitializer.mjs +0 -27
- package/lib/schema-initializer/items/DataBlockInitializer.mjs +0 -393
- package/lib/schema-initializer/items/DeleteEventActionInitializer.mjs +0 -36
- package/lib/schema-initializer/items/FilterBlockInitializer.mjs +0 -9
- package/lib/schema-initializer/items/G2PlotInitializer.mjs +0 -28
- package/lib/schema-initializer/items/InitializerWithSwitch.mjs +0 -47
- package/lib/schema-initializer/items/RecordAssociationBlockInitializer.mjs +0 -86
- package/lib/schema-initializer/items/RecordAssociationDetailsBlockInitializer.mjs +0 -84
- package/lib/schema-initializer/items/RecordAssociationFormBlockInitializer.mjs +0 -119
- package/lib/schema-initializer/items/RecordAssociationGridCardBlockInitializer.mjs +0 -86
- package/lib/schema-initializer/items/RecordAssociationListBlockInitializer.mjs +0 -84
- package/lib/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.mjs +0 -118
- package/lib/schema-initializer/items/SelectActionInitializer.mjs +0 -76
- package/lib/schema-initializer/items/SubmitActionInitializer.mjs +0 -34
- package/lib/schema-initializer/items/TableActionColumnInitializer.mjs +0 -57
- package/lib/schema-initializer/items/index.mjs +0 -50
- package/lib/schema-initializer/style.mjs +0 -23
- package/lib/schema-initializer/utils.mjs +0 -1535
- package/lib/schema-items/GeneralSchemaItems.mjs +0 -181
- package/lib/schema-items/GeneralSettings.mjs +0 -226
- package/lib/schema-items/OpenModeSchemaItems.mjs +0 -215
- package/lib/schema-items/index.mjs +0 -7
- package/lib/schema-settings/DataTemplates/FormDataTemplates.mjs +0 -332
- package/lib/schema-settings/DataTemplates/TreeLabel.mjs +0 -42
- package/lib/schema-settings/DataTemplates/components/AsDefaultTemplate.mjs +0 -64
- package/lib/schema-settings/DataTemplates/components/DataTemplateTitle.mjs +0 -305
- package/lib/schema-settings/DataTemplates/components/DataTemplateTitle.style.mjs +0 -15
- package/lib/schema-settings/DataTemplates/components/Designer.mjs +0 -208
- package/lib/schema-settings/DataTemplates/hooks/useCollectionState.mjs +0 -348
- package/lib/schema-settings/DataTemplates/index.mjs +0 -5
- package/lib/schema-settings/DataTemplates/utils.mjs +0 -300
- package/lib/schema-settings/DateFormat/ExpiresRadio.mjs +0 -160
- package/lib/schema-settings/EditCustomDefaultValue.mjs +0 -137
- package/lib/schema-settings/EditFormulaTitleField.mjs +0 -127
- package/lib/schema-settings/EnableChildCollections/DynamicComponent.mjs +0 -91
- package/lib/schema-settings/EnableChildCollections/index.mjs +0 -129
- package/lib/schema-settings/GeneralSchemaDesigner.mjs +0 -328
- package/lib/schema-settings/LinkageRules/DynamicComponent.mjs +0 -79
- package/lib/schema-settings/LinkageRules/LinkageRuleAction.mjs +0 -272
- package/lib/schema-settings/LinkageRules/LinkageRuleActionGroup.mjs +0 -116
- package/lib/schema-settings/LinkageRules/ValueDynamicComponent.mjs +0 -200
- package/lib/schema-settings/LinkageRules/Variables.mjs +0 -119
- package/lib/schema-settings/LinkageRules/action-hooks.mjs +0 -128
- package/lib/schema-settings/LinkageRules/components/EnableLinkage.mjs +0 -56
- package/lib/schema-settings/LinkageRules/components/LinkageHeader.mjs +0 -304
- package/lib/schema-settings/LinkageRules/components/LinkageHeader.style.mjs +0 -15
- package/lib/schema-settings/LinkageRules/context.mjs +0 -14
- package/lib/schema-settings/LinkageRules/index.mjs +0 -247
- package/lib/schema-settings/LinkageRules/type.mjs +0 -18
- package/lib/schema-settings/LinkageRules/useValues.mjs +0 -84
- package/lib/schema-settings/SchemaSettingCollection.mjs +0 -73
- package/lib/schema-settings/SchemaSettingComponent.mjs +0 -62
- package/lib/schema-settings/SchemaSettings.mjs +0 -1517
- package/lib/schema-settings/SchemaSettingsDataScope.mjs +0 -152
- package/lib/schema-settings/SchemaSettingsDateFormat.mjs +0 -231
- package/lib/schema-settings/SchemaSettingsDefaultValue.mjs +0 -274
- package/lib/schema-settings/SchemaSettingsNumberFormat.mjs +0 -205
- package/lib/schema-settings/SchemaSettingsPlugin.mjs +0 -265
- package/lib/schema-settings/SchemaSettingsSortingRule.mjs +0 -155
- package/lib/schema-settings/VariableInput/VariableInput.mjs +0 -260
- package/lib/schema-settings/VariableInput/hooks/index.mjs +0 -9
- package/lib/schema-settings/VariableInput/hooks/useBaseVariable.mjs +0 -228
- package/lib/schema-settings/VariableInput/hooks/useBlockCollection.mjs +0 -16
- package/lib/schema-settings/VariableInput/hooks/useContextAssociationFields.mjs +0 -126
- package/lib/schema-settings/VariableInput/hooks/useDateVariable.mjs +0 -179
- package/lib/schema-settings/VariableInput/hooks/useFilterVariable.mjs +0 -77
- package/lib/schema-settings/VariableInput/hooks/useFormVariable.mjs +0 -85
- package/lib/schema-settings/VariableInput/hooks/useIterationVariable.mjs +0 -94
- package/lib/schema-settings/VariableInput/hooks/useParentRecordVariable.mjs +0 -71
- package/lib/schema-settings/VariableInput/hooks/usePopupVariable.mjs +0 -37
- package/lib/schema-settings/VariableInput/hooks/useRecordVariable.mjs +0 -64
- package/lib/schema-settings/VariableInput/hooks/useRoleVariable.mjs +0 -64
- package/lib/schema-settings/VariableInput/hooks/useUserVariable.mjs +0 -67
- package/lib/schema-settings/VariableInput/hooks/useVariableOptions.mjs +0 -140
- package/lib/schema-settings/VariableInput/index.mjs +0 -7
- package/lib/schema-settings/VariableInput/type.mjs +0 -4
- package/lib/schema-settings/VariableInput/utils/formatVariableScop.mjs +0 -16
- package/lib/schema-settings/demos/basic.mjs +0 -75
- package/lib/schema-settings/demos/built-type.mjs +0 -157
- package/lib/schema-settings/demos/custom-component.mjs +0 -58
- package/lib/schema-settings/demos/demo3.mjs +0 -120
- package/lib/schema-settings/demos/schema-basic.mjs +0 -84
- package/lib/schema-settings/filter-form/FormFilterScope.mjs +0 -147
- package/lib/schema-settings/filter-form/context.mjs +0 -14
- package/lib/schema-settings/hooks/useFilterFormCustomProps.mjs +0 -22
- package/lib/schema-settings/hooks/useGetAriaLabelOfDesigner.mjs +0 -39
- package/lib/schema-settings/hooks/useIsAllowToSetDefaultValue.mjs +0 -109
- package/lib/schema-settings/hooks/useIsShowMultipleSwitch.mjs +0 -27
- package/lib/schema-settings/hooks/useParseDataScopeFilter.mjs +0 -83
- package/lib/schema-settings/index.mjs +0 -39
- package/lib/schema-settings/isPatternDisabled.mjs +0 -8
- package/lib/schema-settings/styles.mjs +0 -92
- package/lib/schema-settings/types.mjs +0 -4
- package/lib/schema-templates/BlockTemplate.mjs +0 -63
- package/lib/schema-templates/BlockTemplateDetails.mjs +0 -126
- package/lib/schema-templates/BlockTemplatePage.mjs +0 -55
- package/lib/schema-templates/SchemaTemplateManagerProvider.mjs +0 -103
- package/lib/schema-templates/collections/uiSchemaTemplates.mjs +0 -22
- package/lib/schema-templates/index.mjs +0 -11
- package/lib/schema-templates/schemas/CollectionTitle.mjs +0 -52
- package/lib/schema-templates/schemas/uiSchemaTemplates.mjs +0 -249
- package/lib/schema-templates/useSchemaTemplateManager.mjs +0 -119
- package/lib/style/css-variable/CSSVariableProvider.mjs +0 -90
- package/lib/style/css-variable/index.mjs +0 -9
- package/lib/style/index.mjs +0 -23
- package/lib/style/theme/AntdAppProvider.mjs +0 -54
- package/lib/style/theme/defaultTheme.mjs +0 -24
- package/lib/style/theme/index.mjs +0 -96
- package/lib/style/theme/type.mjs +0 -4
- package/lib/style/useToken.mjs +0 -13
- package/lib/testUtils/index.mjs +0 -5
- package/lib/testUtils/mockAPIClient.mjs +0 -57
- package/lib/user/ChangePassword.mjs +0 -180
- package/lib/user/CurrentUser.mjs +0 -282
- package/lib/user/CurrentUserProvider.mjs +0 -89
- package/lib/user/CurrentUserSettingsMenuProvider.mjs +0 -88
- package/lib/user/EditProfile.mjs +0 -172
- package/lib/user/LanguageSettings.mjs +0 -70
- package/lib/user/SwitchRole.mjs +0 -66
- package/lib/user/VerificationCode.mjs +0 -115
- package/lib/user/__tests__/current-user-settings-menu-provider.test.mjs +0 -64
- package/lib/user/index.mjs +0 -9
- package/lib/variables/VariablesProvider.mjs +0 -319
- package/lib/variables/__tests__/useVariables.test.mjs +0 -473
- package/lib/variables/__tests__/utils/filterEmptyValues.test.mjs +0 -52
- package/lib/variables/__tests__/utils/getPath.test.mjs +0 -10
- package/lib/variables/__tests__/utils/getVariableName.test.mjs +0 -10
- package/lib/variables/__tests__/utils/isVariable.test.mjs +0 -28
- package/lib/variables/__tests__/utils/transformVariableValue.test.mjs +0 -142
- package/lib/variables/__tests__/utils/uniq.test.mjs +0 -83
- package/lib/variables/constants.mjs +0 -5
- package/lib/variables/hooks/useBuiltinVariables.mjs +0 -80
- package/lib/variables/hooks/useContextVariable.mjs +0 -38
- package/lib/variables/hooks/useLocalVariables.mjs +0 -102
- package/lib/variables/hooks/useVariables.mjs +0 -16
- package/lib/variables/index.mjs +0 -36
- package/lib/variables/types.mjs +0 -4
- package/lib/variables/utils/filterEmptyValues.mjs +0 -12
- package/lib/variables/utils/getAction.mjs +0 -14
- package/lib/variables/utils/getPath.mjs +0 -19
- package/lib/variables/utils/getVariableName.mjs +0 -25
- package/lib/variables/utils/hasRequested.mjs +0 -24
- package/lib/variables/utils/isVariable.mjs +0 -15
- package/lib/variables/utils/transformVariableValue.mjs +0 -55
- package/lib/variables/utils/uniq.mjs +0 -26
- /package/{lib → es}/built-in/assistant/ai-chat/index_module.css +0 -0
- /package/{lib → es}/global.css +0 -0
- /package/{lib → es}/schema-component/antd/index.css +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__index_mjs__ from "../../index.mjs";
|
|
2
|
+
const useDataBlockParentRecord = (param)=>{
|
|
3
|
+
let { association } = param;
|
|
4
|
+
var _currentRecordCollection_getParentCollectionsName;
|
|
5
|
+
const recordData = (0, __WEBPACK_EXTERNAL_MODULE__index_mjs__.useCollectionRecordData)();
|
|
6
|
+
const parentRecordData = (0, __WEBPACK_EXTERNAL_MODULE__index_mjs__.useCollectionParentRecordData)();
|
|
7
|
+
const cm = (0, __WEBPACK_EXTERNAL_MODULE__index_mjs__.useCollectionManager)();
|
|
8
|
+
const currentRecordCollection = (0, __WEBPACK_EXTERNAL_MODULE__index_mjs__.useCollection)();
|
|
9
|
+
if (!association) return;
|
|
10
|
+
const sourceCollection = cm.getCollection(association.split('.')[0]);
|
|
11
|
+
if (currentRecordCollection.name === sourceCollection.name || (null === (_currentRecordCollection_getParentCollectionsName = currentRecordCollection.getParentCollectionsName) || void 0 === _currentRecordCollection_getParentCollectionsName ? void 0 : _currentRecordCollection_getParentCollectionsName.call(currentRecordCollection).includes(sourceCollection.name))) return recordData;
|
|
12
|
+
return parentRecordData;
|
|
13
|
+
};
|
|
14
|
+
export { useDataBlockParentRecord };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
|
+
const FormActiveFieldsContext = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.createContext)(null);
|
|
4
|
+
const FormActiveFieldsProvider = (param)=>{
|
|
5
|
+
let { children, name, getActiveFieldsName, addActiveFieldName, removeActiveFieldName } = param;
|
|
6
|
+
const activeFieldsNameRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(new Set());
|
|
7
|
+
const upLevelContext = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(FormActiveFieldsContext);
|
|
8
|
+
const value = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>({
|
|
9
|
+
getActiveFieldsName: getActiveFieldsName || ((_name)=>{
|
|
10
|
+
if (!_name || _name === name) return Array.from(activeFieldsNameRef.current);
|
|
11
|
+
return null == upLevelContext ? void 0 : upLevelContext.getActiveFieldsName(_name);
|
|
12
|
+
}),
|
|
13
|
+
addActiveFieldName: addActiveFieldName || ((field)=>{
|
|
14
|
+
activeFieldsNameRef.current.add(field);
|
|
15
|
+
}),
|
|
16
|
+
removeActiveFieldName: removeActiveFieldName || ((field)=>{
|
|
17
|
+
activeFieldsNameRef.current.delete(field);
|
|
18
|
+
}),
|
|
19
|
+
name,
|
|
20
|
+
parent: upLevelContext
|
|
21
|
+
}), [
|
|
22
|
+
addActiveFieldName,
|
|
23
|
+
getActiveFieldsName,
|
|
24
|
+
name,
|
|
25
|
+
removeActiveFieldName,
|
|
26
|
+
upLevelContext
|
|
27
|
+
]);
|
|
28
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(FormActiveFieldsContext.Provider, {
|
|
29
|
+
value: value,
|
|
30
|
+
children: children
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
const useFormActiveFields = ()=>(0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(FormActiveFieldsContext);
|
|
34
|
+
export { FormActiveFieldsProvider, useFormActiveFields };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__MobileProvider_mjs__ from "../MobileProvider.mjs";
|
|
3
|
+
const useIsMobile = ()=>{
|
|
4
|
+
const ctx = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(__WEBPACK_EXTERNAL_MODULE__MobileProvider_mjs__.MobileContext);
|
|
5
|
+
return null == ctx ? void 0 : ctx.isMobile;
|
|
6
|
+
};
|
|
7
|
+
export { useIsMobile };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_schema__ from "@tachybase/schema";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_utils_client__ from "@tachybase/utils/client";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_ahooks__ from "ahooks";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE_lodash__ from "lodash";
|
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__schema_settings_index_mjs__ from "../../schema-settings/index.mjs";
|
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE__variables_index_mjs__ from "../../variables/index.mjs";
|
|
8
|
+
import * as __WEBPACK_EXTERNAL_MODULE__variables_utils_getPath_mjs__ from "../../variables/utils/getPath.mjs";
|
|
9
|
+
import * as __WEBPACK_EXTERNAL_MODULE__variables_utils_getVariableName_mjs__ from "../../variables/utils/getVariableName.mjs";
|
|
10
|
+
import * as __WEBPACK_EXTERNAL_MODULE__variables_utils_isVariable_mjs__ from "../../variables/utils/isVariable.mjs";
|
|
11
|
+
function useParsedFilter(param) {
|
|
12
|
+
let { filterOption } = param;
|
|
13
|
+
const { parseFilter, findVariable } = (0, __WEBPACK_EXTERNAL_MODULE__schema_settings_index_mjs__.useParseDataScopeFilter)();
|
|
14
|
+
const [filter, setFilter] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)({});
|
|
15
|
+
(0, __WEBPACK_EXTERNAL_MODULE_ahooks__.useDeepCompareEffect)(()=>{
|
|
16
|
+
if (!filterOption) return;
|
|
17
|
+
const _run = async ()=>{
|
|
18
|
+
const result = await parseFilter(filterOption);
|
|
19
|
+
setFilter(result);
|
|
20
|
+
};
|
|
21
|
+
_run();
|
|
22
|
+
const run = __WEBPACK_EXTERNAL_MODULE_lodash__["default"].debounce(_run, __WEBPACK_EXTERNAL_MODULE__variables_index_mjs__.DEBOUNCE_WAIT);
|
|
23
|
+
(0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.reaction)(()=>{
|
|
24
|
+
const flat = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_utils_client__.flatten)(filterOption, {
|
|
25
|
+
breakOn (param) {
|
|
26
|
+
let { key } = param;
|
|
27
|
+
return key.startsWith('$') && '$and' !== key && '$or' !== key;
|
|
28
|
+
},
|
|
29
|
+
transformValue (value) {
|
|
30
|
+
if (!(0, __WEBPACK_EXTERNAL_MODULE__variables_utils_isVariable_mjs__.isVariable)(value)) return value;
|
|
31
|
+
const variableName = (0, __WEBPACK_EXTERNAL_MODULE__variables_utils_getVariableName_mjs__.getVariableName)(value);
|
|
32
|
+
const variable = findVariable(variableName);
|
|
33
|
+
const result = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_utils_client__.getValuesByPath)({
|
|
34
|
+
[variableName]: (null == variable ? void 0 : variable.ctx) || {}
|
|
35
|
+
}, (0, __WEBPACK_EXTERNAL_MODULE__variables_utils_getPath_mjs__.getPath)(value));
|
|
36
|
+
return result;
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
return flat;
|
|
40
|
+
}, run);
|
|
41
|
+
}, [
|
|
42
|
+
filterOption
|
|
43
|
+
]);
|
|
44
|
+
return {
|
|
45
|
+
filter
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export { useParsedFilter };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./BlockProvider.mjs";
|
|
2
|
+
export * from "./DetailsBlockProvider.mjs";
|
|
3
|
+
export * from "./FilterFormBlockProvider.mjs";
|
|
4
|
+
export * from "./FormBlockProvider.mjs";
|
|
5
|
+
export * from "./FormFieldProvider.mjs";
|
|
6
|
+
export * from "./MobileProvider.mjs";
|
|
7
|
+
export * from "./TableBlockProvider.mjs";
|
|
8
|
+
export * from "./TableFieldProvider.mjs";
|
|
9
|
+
export * from "./TableSelectorProvider.mjs";
|
|
10
|
+
export * from "./TreeBlockProvider.mjs";
|
|
11
|
+
export * from "./hooks/index.mjs";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__application_Plugin_mjs__ from "../../application/Plugin.mjs";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__ACLProvider_mjs__ from "./ACLProvider.mjs";
|
|
3
|
+
class ACLPlugin extends __WEBPACK_EXTERNAL_MODULE__application_Plugin_mjs__.Plugin {
|
|
4
|
+
async load() {
|
|
5
|
+
this.app.addComponents({
|
|
6
|
+
ACLCollectionFieldProvider: __WEBPACK_EXTERNAL_MODULE__ACLProvider_mjs__.ACLCollectionFieldProvider,
|
|
7
|
+
ACLActionProvider: __WEBPACK_EXTERNAL_MODULE__ACLProvider_mjs__.ACLActionProvider,
|
|
8
|
+
ACLMenuItemProvider: __WEBPACK_EXTERNAL_MODULE__ACLProvider_mjs__.ACLMenuItemProvider,
|
|
9
|
+
ACLCollectionProvider: __WEBPACK_EXTERNAL_MODULE__ACLProvider_mjs__.ACLCollectionProvider
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export { ACLPlugin };
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_schema__ from "@tachybase/schema";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_lodash__ from "lodash";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_router_dom__ from "react-router-dom";
|
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__api_client_index_mjs__ from "../../api-client/index.mjs";
|
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE__application_index_mjs__ from "../../application/index.mjs";
|
|
8
|
+
import * as __WEBPACK_EXTERNAL_MODULE__block_provider_BlockProvider_mjs__ from "../../block-provider/BlockProvider.mjs";
|
|
9
|
+
import * as __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__ from "../../collection-manager/index.mjs";
|
|
10
|
+
import * as __WEBPACK_EXTERNAL_MODULE__collection_manager_ResourceActionProvider_mjs__ from "../../collection-manager/ResourceActionProvider.mjs";
|
|
11
|
+
import * as __WEBPACK_EXTERNAL_MODULE__data_source_data_source_DataSourceProvider_mjs__ from "../../data-source/data-source/DataSourceProvider.mjs";
|
|
12
|
+
import * as __WEBPACK_EXTERNAL_MODULE__record_provider_index_mjs__ from "../../record-provider/index.mjs";
|
|
13
|
+
import * as __WEBPACK_EXTERNAL_MODULE__schema_component_index_mjs__ from "../../schema-component/index.mjs";
|
|
14
|
+
const ACLContext = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.createContext)({});
|
|
15
|
+
ACLContext.displayName = 'ACLContext';
|
|
16
|
+
const ACLProvider = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__schema_component_index_mjs__.SchemaComponentOptions, {
|
|
17
|
+
components: {
|
|
18
|
+
ACLCollectionFieldProvider,
|
|
19
|
+
ACLActionProvider,
|
|
20
|
+
ACLMenuItemProvider,
|
|
21
|
+
ACLCollectionProvider
|
|
22
|
+
},
|
|
23
|
+
children: props.children
|
|
24
|
+
});
|
|
25
|
+
const getRouteUrl = (props)=>{
|
|
26
|
+
var _props_children;
|
|
27
|
+
if (null == props ? void 0 : props.match) return props.match;
|
|
28
|
+
return props && getRouteUrl(null == props ? void 0 : null === (_props_children = props.children) || void 0 === _props_children ? void 0 : _props_children.props);
|
|
29
|
+
};
|
|
30
|
+
const ACLRolesCheckProvider = (props)=>{
|
|
31
|
+
getRouteUrl(props.children.props);
|
|
32
|
+
const { setDesignable } = (0, __WEBPACK_EXTERNAL_MODULE__schema_component_index_mjs__.useDesignable)();
|
|
33
|
+
const api = (0, __WEBPACK_EXTERNAL_MODULE__api_client_index_mjs__.useAPIClient)();
|
|
34
|
+
const app = (0, __WEBPACK_EXTERNAL_MODULE__application_index_mjs__.useApp)();
|
|
35
|
+
const result = (0, __WEBPACK_EXTERNAL_MODULE__api_client_index_mjs__.useRequest)({
|
|
36
|
+
url: 'roles:check'
|
|
37
|
+
}, {
|
|
38
|
+
onSuccess (data) {
|
|
39
|
+
var _data_data, _data_data1, _data_data2;
|
|
40
|
+
if (!(null == data ? void 0 : null === (_data_data = data.data) || void 0 === _data_data ? void 0 : _data_data.snippets.includes('ui.*'))) setDesignable(false);
|
|
41
|
+
if ((null == data ? void 0 : null === (_data_data1 = data.data) || void 0 === _data_data1 ? void 0 : _data_data1.role) !== api.auth.role) {
|
|
42
|
+
var _data_data3;
|
|
43
|
+
api.auth.setRole(null == data ? void 0 : null === (_data_data3 = data.data) || void 0 === _data_data3 ? void 0 : _data_data3.role);
|
|
44
|
+
}
|
|
45
|
+
app.systemSettingsManager.setAclSnippets((null == data ? void 0 : null === (_data_data2 = data.data) || void 0 === _data_data2 ? void 0 : _data_data2.snippets) || []);
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
if (result.loading) return;
|
|
49
|
+
if (result.error) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_router_dom__.Navigate, {
|
|
50
|
+
replace: true,
|
|
51
|
+
to: '/signin'
|
|
52
|
+
});
|
|
53
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(ACLContext.Provider, {
|
|
54
|
+
value: result,
|
|
55
|
+
children: props.children
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
const useRoleRecheck = ()=>{
|
|
59
|
+
const ctx = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(ACLContext);
|
|
60
|
+
const { allowAll } = useACLRoleContext();
|
|
61
|
+
return ()=>{
|
|
62
|
+
if (allowAll) return;
|
|
63
|
+
ctx.refresh();
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
const useACLContext = ()=>(0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(ACLContext);
|
|
67
|
+
const ACLActionParamsContext = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.createContext)({});
|
|
68
|
+
ACLActionParamsContext.displayName = 'ACLActionParamsContext';
|
|
69
|
+
const useACLRolesCheck = ()=>{
|
|
70
|
+
var _ctx_data, _ctx_data1;
|
|
71
|
+
const ctx = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(ACLContext);
|
|
72
|
+
const dataSourceName = (0, __WEBPACK_EXTERNAL_MODULE__data_source_data_source_DataSourceProvider_mjs__.useDataSourceKey)();
|
|
73
|
+
const { dataSources: dataSourcesAcl } = (null == ctx ? void 0 : null === (_ctx_data = ctx.data) || void 0 === _ctx_data ? void 0 : _ctx_data.meta) || {};
|
|
74
|
+
const data = {
|
|
75
|
+
...null == ctx ? void 0 : null === (_ctx_data1 = ctx.data) || void 0 === _ctx_data1 ? void 0 : _ctx_data1.data,
|
|
76
|
+
...(0, __WEBPACK_EXTERNAL_MODULE_lodash__.omit)(null == dataSourcesAcl ? void 0 : dataSourcesAcl[dataSourceName], 'snippets')
|
|
77
|
+
};
|
|
78
|
+
const getActionAlias = (actionPath)=>{
|
|
79
|
+
var _data_actionAlias;
|
|
80
|
+
const actionName = actionPath.split(':').pop();
|
|
81
|
+
return (null == data ? void 0 : null === (_data_actionAlias = data.actionAlias) || void 0 === _data_actionAlias ? void 0 : _data_actionAlias[actionName]) || actionName;
|
|
82
|
+
};
|
|
83
|
+
return {
|
|
84
|
+
data,
|
|
85
|
+
getActionAlias,
|
|
86
|
+
inResources: (resourceName)=>{
|
|
87
|
+
var _data_resources_includes, _data_resources;
|
|
88
|
+
return null == data ? void 0 : null === (_data_resources = data.resources) || void 0 === _data_resources ? void 0 : null === (_data_resources_includes = _data_resources.includes) || void 0 === _data_resources_includes ? void 0 : _data_resources_includes.call(_data_resources, resourceName);
|
|
89
|
+
},
|
|
90
|
+
getResourceActionParams: (actionPath)=>{
|
|
91
|
+
var _data_actions, _data_actions1;
|
|
92
|
+
const [resourceName] = actionPath.split(':');
|
|
93
|
+
const actionAlias = getActionAlias(actionPath);
|
|
94
|
+
return (null == data ? void 0 : null === (_data_actions = data.actions) || void 0 === _data_actions ? void 0 : _data_actions["".concat(resourceName, ":").concat(actionAlias)]) || (null == data ? void 0 : null === (_data_actions1 = data.actions) || void 0 === _data_actions1 ? void 0 : _data_actions1[actionPath]);
|
|
95
|
+
},
|
|
96
|
+
getStrategyActionParams: (actionPath)=>{
|
|
97
|
+
var _data_strategy_actions, _data_strategy;
|
|
98
|
+
const actionAlias = getActionAlias(actionPath);
|
|
99
|
+
const strategyAction = null == data ? void 0 : null === (_data_strategy = data.strategy) || void 0 === _data_strategy ? void 0 : null === (_data_strategy_actions = _data_strategy.actions) || void 0 === _data_strategy_actions ? void 0 : _data_strategy_actions.find((action)=>{
|
|
100
|
+
const [value] = action.split(':');
|
|
101
|
+
return value === actionAlias;
|
|
102
|
+
});
|
|
103
|
+
return strategyAction ? {} : null;
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
const getIgnoreScope = function() {
|
|
108
|
+
let options = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
109
|
+
var _schema_xaclactionprops;
|
|
110
|
+
const { schema, recordPkValue } = options;
|
|
111
|
+
let ignoreScope = false;
|
|
112
|
+
if (options.ignoreScope) ignoreScope = true;
|
|
113
|
+
if (null == schema ? void 0 : schema['x-acl-ignore-scope']) ignoreScope = true;
|
|
114
|
+
if (null == schema ? void 0 : null === (_schema_xaclactionprops = schema['x-acl-action-props']) || void 0 === _schema_xaclactionprops ? void 0 : _schema_xaclactionprops['skipScopeCheck']) ignoreScope = true;
|
|
115
|
+
if (!recordPkValue) ignoreScope = true;
|
|
116
|
+
return ignoreScope;
|
|
117
|
+
};
|
|
118
|
+
const useAllowedActions = ()=>{
|
|
119
|
+
var _service_data_meta, _service_data;
|
|
120
|
+
const service = (0, __WEBPACK_EXTERNAL_MODULE__collection_manager_ResourceActionProvider_mjs__.useResourceActionContext)();
|
|
121
|
+
const result = (0, __WEBPACK_EXTERNAL_MODULE__block_provider_BlockProvider_mjs__.useBlockRequestContext)();
|
|
122
|
+
var _result_allowedActions;
|
|
123
|
+
return null !== (_result_allowedActions = null == result ? void 0 : result.allowedActions) && void 0 !== _result_allowedActions ? _result_allowedActions : null == service ? void 0 : null === (_service_data = service.data) || void 0 === _service_data ? void 0 : null === (_service_data_meta = _service_data.meta) || void 0 === _service_data_meta ? void 0 : _service_data_meta.allowedActions;
|
|
124
|
+
};
|
|
125
|
+
const useResourceName = ()=>{
|
|
126
|
+
var _result_props, _result_props1, _result_service_defaultRequest, _result_service;
|
|
127
|
+
const service = (0, __WEBPACK_EXTERNAL_MODULE__collection_manager_ResourceActionProvider_mjs__.useResourceActionContext)();
|
|
128
|
+
const result = (0, __WEBPACK_EXTERNAL_MODULE__block_provider_BlockProvider_mjs__.useBlockRequestContext)() || {
|
|
129
|
+
service
|
|
130
|
+
};
|
|
131
|
+
return (null == result ? void 0 : null === (_result_props = result.props) || void 0 === _result_props ? void 0 : _result_props.resource) || (null == result ? void 0 : null === (_result_props1 = result.props) || void 0 === _result_props1 ? void 0 : _result_props1.collection) || (null == result ? void 0 : null === (_result_service = result.service) || void 0 === _result_service ? void 0 : null === (_result_service_defaultRequest = _result_service.defaultRequest) || void 0 === _result_service_defaultRequest ? void 0 : _result_service_defaultRequest.resource);
|
|
132
|
+
};
|
|
133
|
+
function useACLRoleContext() {
|
|
134
|
+
const { data, getActionAlias, inResources, getResourceActionParams, getStrategyActionParams } = useACLRolesCheck();
|
|
135
|
+
const allowedActions = useAllowedActions();
|
|
136
|
+
const { getCollectionJoinField } = (0, __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.useCollectionManager_deprecated)();
|
|
137
|
+
const verifyScope = (actionName, recordPkValue)=>{
|
|
138
|
+
const actionAlias = getActionAlias(actionName);
|
|
139
|
+
if (!Array.isArray(null == allowedActions ? void 0 : allowedActions[actionAlias])) return null;
|
|
140
|
+
return allowedActions[actionAlias].includes(recordPkValue);
|
|
141
|
+
};
|
|
142
|
+
return {
|
|
143
|
+
...data,
|
|
144
|
+
parseAction: function(actionPath) {
|
|
145
|
+
let options = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
|
|
146
|
+
var _getCollectionJoinField;
|
|
147
|
+
const [resourceName, actionName] = actionPath.split(':');
|
|
148
|
+
const targetResource = (null == resourceName ? void 0 : resourceName.includes('.')) && (null === (_getCollectionJoinField = getCollectionJoinField(resourceName)) || void 0 === _getCollectionJoinField ? void 0 : _getCollectionJoinField.target);
|
|
149
|
+
if (!getIgnoreScope(options)) {
|
|
150
|
+
const r = verifyScope(actionName, options.recordPkValue);
|
|
151
|
+
if (null !== r) return r ? {} : null;
|
|
152
|
+
}
|
|
153
|
+
if (null == data ? void 0 : data.allowAll) return {};
|
|
154
|
+
if (inResources(targetResource)) return getResourceActionParams("".concat(targetResource, ":").concat(actionName));
|
|
155
|
+
if (inResources(resourceName)) return getResourceActionParams(actionPath);
|
|
156
|
+
return getStrategyActionParams(actionPath);
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
const ACLCollectionProvider = (props)=>{
|
|
161
|
+
const { allowAll, parseAction } = useACLRoleContext();
|
|
162
|
+
const schema = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useFieldSchema)();
|
|
163
|
+
if (allowAll) return props.children;
|
|
164
|
+
const actionPath = (null == schema ? void 0 : schema['x-acl-action']) || props.actionPath;
|
|
165
|
+
if (!actionPath) return props.children;
|
|
166
|
+
const params = parseAction(actionPath, {
|
|
167
|
+
schema
|
|
168
|
+
});
|
|
169
|
+
if (!params) return null;
|
|
170
|
+
const [_, actionName] = actionPath.split(':');
|
|
171
|
+
params.actionName = actionName;
|
|
172
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(ACLActionParamsContext.Provider, {
|
|
173
|
+
value: params,
|
|
174
|
+
children: props.children
|
|
175
|
+
});
|
|
176
|
+
};
|
|
177
|
+
const useACLActionParamsContext = ()=>(0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(ACLActionParamsContext);
|
|
178
|
+
const useRecordPkValue = ()=>{
|
|
179
|
+
const { getPrimaryKey } = (0, __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.useCollection_deprecated)();
|
|
180
|
+
const record = (0, __WEBPACK_EXTERNAL_MODULE__record_provider_index_mjs__.useRecord)();
|
|
181
|
+
const primaryKey = getPrimaryKey();
|
|
182
|
+
return null == record ? void 0 : record[primaryKey];
|
|
183
|
+
};
|
|
184
|
+
const ACLActionProvider = (props)=>{
|
|
185
|
+
const { template, writableView } = (0, __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.useCollection_deprecated)();
|
|
186
|
+
const recordPkValue = useRecordPkValue();
|
|
187
|
+
const resource = useResourceName();
|
|
188
|
+
const { parseAction } = useACLRoleContext();
|
|
189
|
+
const schema = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useFieldSchema)();
|
|
190
|
+
let actionPath = schema['x-acl-action'];
|
|
191
|
+
const editablePath = [
|
|
192
|
+
'create',
|
|
193
|
+
'update',
|
|
194
|
+
'destroy',
|
|
195
|
+
'importXlsx'
|
|
196
|
+
];
|
|
197
|
+
if (!actionPath && resource && schema['x-action']) actionPath = "".concat(resource, ":").concat(schema['x-action']);
|
|
198
|
+
if (!(null == actionPath ? void 0 : actionPath.includes(':'))) actionPath = "".concat(resource, ":").concat(actionPath);
|
|
199
|
+
if (!actionPath) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.Fragment, {
|
|
200
|
+
children: props.children
|
|
201
|
+
});
|
|
202
|
+
if (!resource) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.Fragment, {
|
|
203
|
+
children: props.children
|
|
204
|
+
});
|
|
205
|
+
const params = parseAction(actionPath, {
|
|
206
|
+
schema,
|
|
207
|
+
recordPkValue
|
|
208
|
+
});
|
|
209
|
+
if (!params) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(ACLActionParamsContext.Provider, {
|
|
210
|
+
value: params,
|
|
211
|
+
children: props.children
|
|
212
|
+
});
|
|
213
|
+
if (editablePath.includes(actionPath) || editablePath.includes(null == actionPath ? void 0 : actionPath.split(':')[1])) {
|
|
214
|
+
if ('view' !== template || writableView) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(ACLActionParamsContext.Provider, {
|
|
215
|
+
value: params,
|
|
216
|
+
children: props.children
|
|
217
|
+
});
|
|
218
|
+
return null;
|
|
219
|
+
}
|
|
220
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(ACLActionParamsContext.Provider, {
|
|
221
|
+
value: params,
|
|
222
|
+
children: props.children
|
|
223
|
+
});
|
|
224
|
+
};
|
|
225
|
+
const useACLFieldWhitelist = ()=>{
|
|
226
|
+
const params = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(ACLActionParamsContext);
|
|
227
|
+
const whitelist = [].concat((null == params ? void 0 : params.whitelist) || []).concat((null == params ? void 0 : params.fields) || []).concat((null == params ? void 0 : params.appends) || []);
|
|
228
|
+
return {
|
|
229
|
+
whitelist,
|
|
230
|
+
schemaInWhitelist (fieldSchema, isSkip) {
|
|
231
|
+
if (isSkip) return true;
|
|
232
|
+
if (0 === whitelist.length) return true;
|
|
233
|
+
if (!fieldSchema) return true;
|
|
234
|
+
if (!fieldSchema['x-collection-field']) return true;
|
|
235
|
+
const [key1, key2] = fieldSchema['x-collection-field'].split('.');
|
|
236
|
+
return null == whitelist ? void 0 : whitelist.includes(key2 || key1);
|
|
237
|
+
}
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
const ACLCollectionFieldProvider = (props)=>{
|
|
241
|
+
const fieldSchema = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useFieldSchema)();
|
|
242
|
+
const field = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useField)();
|
|
243
|
+
const { allowAll } = useACLRoleContext();
|
|
244
|
+
const { whitelist } = useACLFieldWhitelist();
|
|
245
|
+
const [name] = fieldSchema.name.split('.');
|
|
246
|
+
const allowed = !!fieldSchema['x-acl-ignore'] || !(whitelist.length > 0) || whitelist.includes(name);
|
|
247
|
+
(0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
248
|
+
if (!allowed) {
|
|
249
|
+
field.required = false;
|
|
250
|
+
field.display = 'hidden';
|
|
251
|
+
}
|
|
252
|
+
}, [
|
|
253
|
+
allowed
|
|
254
|
+
]);
|
|
255
|
+
if (allowAll) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.Fragment, {
|
|
256
|
+
children: props.children
|
|
257
|
+
});
|
|
258
|
+
if (!fieldSchema['x-collection-field']) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.Fragment, {
|
|
259
|
+
children: props.children
|
|
260
|
+
});
|
|
261
|
+
if (!allowed) return null;
|
|
262
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.Fragment, {
|
|
263
|
+
children: props.children
|
|
264
|
+
});
|
|
265
|
+
};
|
|
266
|
+
const ACLMenuItemProvider = (props)=>{
|
|
267
|
+
const { allowAll, allowMenuItemIds = [], snippets } = useACLRoleContext();
|
|
268
|
+
const fieldSchema = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useFieldSchema)();
|
|
269
|
+
if (allowAll || snippets.includes('ui.*')) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.Fragment, {
|
|
270
|
+
children: props.children
|
|
271
|
+
});
|
|
272
|
+
if (!fieldSchema['x-uid']) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.Fragment, {
|
|
273
|
+
children: props.children
|
|
274
|
+
});
|
|
275
|
+
if (allowMenuItemIds.includes(fieldSchema['x-uid'])) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.Fragment, {
|
|
276
|
+
children: props.children
|
|
277
|
+
});
|
|
278
|
+
return null;
|
|
279
|
+
};
|
|
280
|
+
export { ACLActionParamsContext, ACLActionProvider, ACLCollectionFieldProvider, ACLCollectionProvider, ACLContext, ACLMenuItemProvider, ACLProvider, ACLRolesCheckProvider, useACLActionParamsContext, useACLContext, useACLFieldWhitelist, useACLRoleContext, useACLRolesCheck, useRecordPkValue, useRoleRecheck };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_schema__ from "@tachybase/schema";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_antd__ from "antd";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__schema_component_index_mjs__ from "../../schema-component/index.mjs";
|
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__Configuration_index_mjs__ from "./Configuration/index.mjs";
|
|
7
|
+
const schema2 = {
|
|
8
|
+
type: 'object',
|
|
9
|
+
properties: {
|
|
10
|
+
[(0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.uid)()]: {
|
|
11
|
+
'x-component': 'RoleTable'
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
const ACLPane = ()=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_antd__.Card, {
|
|
16
|
+
"data-testid": "acl-pane-card",
|
|
17
|
+
bordered: false,
|
|
18
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__schema_component_index_mjs__.SchemaComponent, {
|
|
19
|
+
components: __WEBPACK_EXTERNAL_MODULE__Configuration_index_mjs__,
|
|
20
|
+
schema: schema2
|
|
21
|
+
})
|
|
22
|
+
});
|
|
23
|
+
export { ACLPane };
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_antd__ from "antd";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_lodash__ from "lodash";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_i18next__ from "react-i18next";
|
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__api_client_index_mjs__ from "../../../api-client/index.mjs";
|
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE__application_index_mjs__ from "../../../application/index.mjs";
|
|
8
|
+
import * as __WEBPACK_EXTERNAL_MODULE__record_provider_index_mjs__ from "../../../record-provider/index.mjs";
|
|
9
|
+
import * as __WEBPACK_EXTERNAL_MODULE__schema_component_index_mjs__ from "../../../schema-component/index.mjs";
|
|
10
|
+
import * as __WEBPACK_EXTERNAL_MODULE__pm_index_mjs__ from "../../pm/index.mjs";
|
|
11
|
+
import * as __WEBPACK_EXTERNAL_MODULE__style_mjs__ from "../style.mjs";
|
|
12
|
+
const getChildrenKeys = function() {
|
|
13
|
+
let data = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [], arr = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : [];
|
|
14
|
+
for (const item of data){
|
|
15
|
+
arr.push(item.aclSnippet);
|
|
16
|
+
if (item.children && item.children.length) getChildrenKeys(item.children, arr);
|
|
17
|
+
}
|
|
18
|
+
return arr;
|
|
19
|
+
};
|
|
20
|
+
const SettingMenuContext = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.createContext)(null);
|
|
21
|
+
SettingMenuContext.displayName = 'SettingMenuContext';
|
|
22
|
+
const SettingCenterProvider = (props)=>{
|
|
23
|
+
const configureItems = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(__WEBPACK_EXTERNAL_MODULE__pm_index_mjs__.SettingsCenterContext);
|
|
24
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(SettingMenuContext.Provider, {
|
|
25
|
+
value: configureItems,
|
|
26
|
+
children: props.children
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
const SettingsCenterConfigure = ()=>{
|
|
30
|
+
const app = (0, __WEBPACK_EXTERNAL_MODULE__application_index_mjs__.useApp)();
|
|
31
|
+
const { message } = __WEBPACK_EXTERNAL_MODULE_antd__.App.useApp();
|
|
32
|
+
const { styles } = (0, __WEBPACK_EXTERNAL_MODULE__style_mjs__.useStyles)();
|
|
33
|
+
const record = (0, __WEBPACK_EXTERNAL_MODULE__record_provider_index_mjs__.useRecord)();
|
|
34
|
+
const api = (0, __WEBPACK_EXTERNAL_MODULE__api_client_index_mjs__.useAPIClient)();
|
|
35
|
+
const compile = (0, __WEBPACK_EXTERNAL_MODULE__schema_component_index_mjs__.useCompile)();
|
|
36
|
+
const settings = app.systemSettingsManager.getList(false);
|
|
37
|
+
const allAclSnippets = app.systemSettingsManager.getAclSnippets();
|
|
38
|
+
const [snippets, setSnippets] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)([]);
|
|
39
|
+
const allChecked = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>snippets.includes('pm.*') && snippets.every((item)=>!item.startsWith('!pm.')), [
|
|
40
|
+
snippets
|
|
41
|
+
]);
|
|
42
|
+
const { t } = (0, __WEBPACK_EXTERNAL_MODULE_react_i18next__.useTranslation)();
|
|
43
|
+
const { loading, refresh } = (0, __WEBPACK_EXTERNAL_MODULE__api_client_index_mjs__.useRequest)({
|
|
44
|
+
resource: 'roles.snippets',
|
|
45
|
+
resourceOf: record.name,
|
|
46
|
+
action: 'list',
|
|
47
|
+
params: {
|
|
48
|
+
paginate: false
|
|
49
|
+
}
|
|
50
|
+
}, {
|
|
51
|
+
onSuccess (data) {
|
|
52
|
+
setSnippets((null == data ? void 0 : data.data) || []);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
const resource = api.resource('roles.snippets', record.name);
|
|
56
|
+
const handleChange = async (checked, record)=>{
|
|
57
|
+
const childrenKeys = getChildrenKeys(null == record ? void 0 : record.children, []);
|
|
58
|
+
const totalKeys = childrenKeys.concat(record.aclSnippet);
|
|
59
|
+
if (checked) {
|
|
60
|
+
await resource.add({
|
|
61
|
+
values: totalKeys.map((v)=>'!' + v)
|
|
62
|
+
});
|
|
63
|
+
refresh();
|
|
64
|
+
} else {
|
|
65
|
+
await resource.remove({
|
|
66
|
+
values: totalKeys.map((v)=>'!' + v)
|
|
67
|
+
});
|
|
68
|
+
refresh();
|
|
69
|
+
}
|
|
70
|
+
message.success(t('Saved successfully'));
|
|
71
|
+
};
|
|
72
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_antd__.Table, {
|
|
73
|
+
className: styles,
|
|
74
|
+
loading: loading,
|
|
75
|
+
rowKey: 'key',
|
|
76
|
+
pagination: false,
|
|
77
|
+
expandable: {
|
|
78
|
+
defaultExpandAllRows: true
|
|
79
|
+
},
|
|
80
|
+
columns: [
|
|
81
|
+
{
|
|
82
|
+
dataIndex: 'title',
|
|
83
|
+
title: t('Plugin name'),
|
|
84
|
+
render: (value)=>compile(value)
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
dataIndex: 'accessible',
|
|
88
|
+
title: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsxs)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.Fragment, {
|
|
89
|
+
children: [
|
|
90
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_antd__.Checkbox, {
|
|
91
|
+
checked: allChecked,
|
|
92
|
+
onChange: async ()=>{
|
|
93
|
+
const values = allAclSnippets.map((v)=>'!' + v);
|
|
94
|
+
if (allChecked) await resource.add({
|
|
95
|
+
values
|
|
96
|
+
});
|
|
97
|
+
else await resource.remove({
|
|
98
|
+
values
|
|
99
|
+
});
|
|
100
|
+
refresh();
|
|
101
|
+
message.success(t('Saved successfully'));
|
|
102
|
+
}
|
|
103
|
+
}),
|
|
104
|
+
' ',
|
|
105
|
+
t('Accessible')
|
|
106
|
+
]
|
|
107
|
+
}),
|
|
108
|
+
render: (_, record)=>{
|
|
109
|
+
const checked = !snippets.includes('!' + record.aclSnippet);
|
|
110
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_antd__.Checkbox, {
|
|
111
|
+
checked: checked,
|
|
112
|
+
onChange: ()=>handleChange(checked, record)
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
dataSource: settings.filter((v)=>false !== v.isTopLevel).map((v)=>{
|
|
118
|
+
if (false !== v.showTabs) return v;
|
|
119
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_lodash__.omit)(v, 'children');
|
|
120
|
+
})
|
|
121
|
+
});
|
|
122
|
+
};
|
|
123
|
+
export { SettingCenterProvider, SettingsCenterConfigure };
|