@tachybase/client 0.23.8-alpha.26 → 0.23.8-alpha.28
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/built-in/system-settings/index.d.ts +1 -1
- package/es/index.css +1 -0
- package/es/index.mjs +61143 -0
- package/lib/index.css +1 -0
- package/lib/index.js +1818 -0
- package/package.json +6 -5
- package/es/schema-component/antd/association-filter/AssociationFilterProvider.d.ts +0 -1
- 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/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 -25
- 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/ai-chat/index_module.css +0 -257
- 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 -33
- 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 -591
- 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/context.mjs +0 -12
- package/lib/built-in/pinned-list/index.mjs +0 -18
- 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 -78
- 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 -18
- 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/global.css +0 -34
- 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/index.mjs +0 -111
- 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.css +0 -30
- 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/SchemaComponentProvider.mjs +0 -116
- package/lib/schema-component/core/index.mjs +0 -32
- 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/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 -329
- 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
|
@@ -1,308 +0,0 @@
|
|
|
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_antd__ from "antd";
|
|
5
|
-
import * as __WEBPACK_EXTERNAL_MODULE_lodash__ from "lodash";
|
|
6
|
-
import * as __WEBPACK_EXTERNAL_MODULE__block_provider_TableSelectorProvider_mjs__ from "../../../block-provider/TableSelectorProvider.mjs";
|
|
7
|
-
import * as __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__ from "../../../collection-manager/index.mjs";
|
|
8
|
-
import * as __WEBPACK_EXTERNAL_MODULE__core_index_mjs__ from "../../core/index.mjs";
|
|
9
|
-
import * as __WEBPACK_EXTERNAL_MODULE__hooks_index_mjs__ from "../../hooks/index.mjs";
|
|
10
|
-
import * as __WEBPACK_EXTERNAL_MODULE__action_index_mjs__ from "../action/index.mjs";
|
|
11
|
-
import * as __WEBPACK_EXTERNAL_MODULE__preview_index_mjs__ from "../preview/index.mjs";
|
|
12
|
-
import * as __WEBPACK_EXTERNAL_MODULE__useFieldNames_mjs__ from "./useFieldNames.mjs";
|
|
13
|
-
import * as __WEBPACK_EXTERNAL_MODULE__util_mjs__ from "./util.mjs";
|
|
14
|
-
|
|
15
|
-
;// CONCATENATED MODULE: external "react/jsx-runtime"
|
|
16
|
-
|
|
17
|
-
;// CONCATENATED MODULE: external "react"
|
|
18
|
-
|
|
19
|
-
;// CONCATENATED MODULE: external "@tachybase/schema"
|
|
20
|
-
|
|
21
|
-
;// CONCATENATED MODULE: external "antd"
|
|
22
|
-
|
|
23
|
-
;// CONCATENATED MODULE: external "lodash"
|
|
24
|
-
|
|
25
|
-
;// CONCATENATED MODULE: external "../../../block-provider/TableSelectorProvider.mjs"
|
|
26
|
-
|
|
27
|
-
;// CONCATENATED MODULE: external "../../../collection-manager/index.mjs"
|
|
28
|
-
|
|
29
|
-
;// CONCATENATED MODULE: external "../../core/index.mjs"
|
|
30
|
-
|
|
31
|
-
;// CONCATENATED MODULE: external "../../hooks/index.mjs"
|
|
32
|
-
|
|
33
|
-
;// CONCATENATED MODULE: external "../action/index.mjs"
|
|
34
|
-
|
|
35
|
-
;// CONCATENATED MODULE: external "../preview/index.mjs"
|
|
36
|
-
|
|
37
|
-
;// CONCATENATED MODULE: external "./useFieldNames.mjs"
|
|
38
|
-
|
|
39
|
-
;// CONCATENATED MODULE: external "./util.mjs"
|
|
40
|
-
|
|
41
|
-
;// CONCATENATED MODULE: ./packages/client/src/schema-component/antd/record-picker/InputRecordPicker.tsx?__rslib_entry__
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
const RecordPickerContext = /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react__.createContext)(null);
|
|
56
|
-
RecordPickerContext.displayName = 'RecordPickerContext';
|
|
57
|
-
function flatData(data) {
|
|
58
|
-
const newArr = [];
|
|
59
|
-
for(let i = 0; i < data.length; i++){
|
|
60
|
-
const children = data[i]['children'];
|
|
61
|
-
if (Array.isArray(children)) {
|
|
62
|
-
newArr.push(...flatData(children));
|
|
63
|
-
}
|
|
64
|
-
newArr.push({
|
|
65
|
-
...data[i]
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
return newArr;
|
|
69
|
-
}
|
|
70
|
-
const useTableSelectorProps = ()=>{
|
|
71
|
-
const field = (0,__WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useField)();
|
|
72
|
-
const { multiple, options = [], setSelectedRows, selectedRows: rcSelectRows = [], onChange } = (0,__WEBPACK_EXTERNAL_MODULE_react__.useContext)(RecordPickerContext);
|
|
73
|
-
const { onRowSelectionChange, rowKey = 'id', ...others } = (0,__WEBPACK_EXTERNAL_MODULE__block_provider_TableSelectorProvider_mjs__.useTableSelectorProps)();
|
|
74
|
-
const { setVisible } = (0,__WEBPACK_EXTERNAL_MODULE__action_index_mjs__.useActionContext)();
|
|
75
|
-
return {
|
|
76
|
-
...others,
|
|
77
|
-
rowKey,
|
|
78
|
-
rowSelection: {
|
|
79
|
-
type: multiple ? 'checkbox' : 'radio',
|
|
80
|
-
selectedRowKeys: rcSelectRows === null || rcSelectRows === void 0 ? void 0 : rcSelectRows.filter((item)=>options.every((row)=>row[rowKey] !== item[rowKey])).map((item)=>item[rowKey])
|
|
81
|
-
},
|
|
82
|
-
onRowSelectionChange (selectedRowKeys, selectedRows) {
|
|
83
|
-
if (multiple) {
|
|
84
|
-
const scopeRows = flatData(field.value) || [];
|
|
85
|
-
const allSelectedRows = rcSelectRows || [];
|
|
86
|
-
const otherRows = (0,__WEBPACK_EXTERNAL_MODULE_lodash__.differenceBy)(allSelectedRows, scopeRows, rowKey);
|
|
87
|
-
const unionSelectedRows = (0,__WEBPACK_EXTERNAL_MODULE_lodash__.unionBy)(otherRows, selectedRows, rowKey);
|
|
88
|
-
const unionSelectedRowKeys = unionSelectedRows.map((item)=>item[rowKey]);
|
|
89
|
-
setSelectedRows === null || setSelectedRows === void 0 ? void 0 : setSelectedRows(unionSelectedRows);
|
|
90
|
-
onRowSelectionChange === null || onRowSelectionChange === void 0 ? void 0 : onRowSelectionChange(unionSelectedRowKeys, unionSelectedRows);
|
|
91
|
-
} else {
|
|
92
|
-
setSelectedRows === null || setSelectedRows === void 0 ? void 0 : setSelectedRows(selectedRows);
|
|
93
|
-
onRowSelectionChange === null || onRowSelectionChange === void 0 ? void 0 : onRowSelectionChange(selectedRowKeys, selectedRows);
|
|
94
|
-
onChange((selectedRows === null || selectedRows === void 0 ? void 0 : selectedRows[0]) || null);
|
|
95
|
-
setVisible(false);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
const usePickActionProps = ()=>{
|
|
101
|
-
const { setVisible } = (0,__WEBPACK_EXTERNAL_MODULE__action_index_mjs__.useActionContext)();
|
|
102
|
-
const { multiple, selectedRows, onChange, options, collectionField } = (0,__WEBPACK_EXTERNAL_MODULE_react__.useContext)(RecordPickerContext);
|
|
103
|
-
return {
|
|
104
|
-
onClick () {
|
|
105
|
-
if (multiple) {
|
|
106
|
-
onChange((0,__WEBPACK_EXTERNAL_MODULE_lodash__.unionBy)(selectedRows, options, (collectionField === null || collectionField === void 0 ? void 0 : collectionField.targetKey) || 'id'));
|
|
107
|
-
} else {
|
|
108
|
-
onChange((selectedRows === null || selectedRows === void 0 ? void 0 : selectedRows[0]) || null);
|
|
109
|
-
}
|
|
110
|
-
setVisible(false);
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
const useAssociation = (props)=>{
|
|
115
|
-
const fieldSchema = (0,__WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useFieldSchema)();
|
|
116
|
-
const { association } = props;
|
|
117
|
-
const { getField } = (0,__WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.useCollection_deprecated)();
|
|
118
|
-
if (association) {
|
|
119
|
-
return association;
|
|
120
|
-
}
|
|
121
|
-
return getField(fieldSchema.name);
|
|
122
|
-
};
|
|
123
|
-
const InputRecordPicker = (props)=>{
|
|
124
|
-
const { value, multiple, onChange, quickUpload, selectFile, ...others } = props;
|
|
125
|
-
const fieldNames = (0,__WEBPACK_EXTERNAL_MODULE__useFieldNames_mjs__.useFieldNames)(props);
|
|
126
|
-
const [visible, setVisible] = (0,__WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
|
|
127
|
-
const fieldSchema = (0,__WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useFieldSchema)();
|
|
128
|
-
const collectionField = useAssociation(props);
|
|
129
|
-
const compile = (0,__WEBPACK_EXTERNAL_MODULE__hooks_index_mjs__.useCompile)();
|
|
130
|
-
const labelUiSchema = (0,__WEBPACK_EXTERNAL_MODULE__util_mjs__.useLabelUiSchema)(collectionField, (fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.label) || 'label');
|
|
131
|
-
const showFilePicker = isShowFilePicker(labelUiSchema);
|
|
132
|
-
const [selectedRows, setSelectedRows] = (0,__WEBPACK_EXTERNAL_MODULE_react__.useState)([]);
|
|
133
|
-
const [options, setOptions] = (0,__WEBPACK_EXTERNAL_MODULE_react__.useState)([]);
|
|
134
|
-
(0,__WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
|
|
135
|
-
if (value) {
|
|
136
|
-
const opts = (Array.isArray(value) ? value : value ? [
|
|
137
|
-
value
|
|
138
|
-
] : []).map((option)=>{
|
|
139
|
-
const label = option[fieldNames.label];
|
|
140
|
-
return {
|
|
141
|
-
...option,
|
|
142
|
-
[fieldNames.label]: (0,__WEBPACK_EXTERNAL_MODULE__util_mjs__.getLabelFormatValue)(labelUiSchema, compile(label))
|
|
143
|
-
};
|
|
144
|
-
});
|
|
145
|
-
setOptions(opts);
|
|
146
|
-
}
|
|
147
|
-
}, [
|
|
148
|
-
value,
|
|
149
|
-
fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.label
|
|
150
|
-
]);
|
|
151
|
-
const getValue = ()=>{
|
|
152
|
-
if (multiple == null) return null;
|
|
153
|
-
return Array.isArray(value) ? value === null || value === void 0 ? void 0 : value.map((v)=>v[fieldNames.value]) : value === null || value === void 0 ? void 0 : value[fieldNames.value];
|
|
154
|
-
};
|
|
155
|
-
const handleSelect = ()=>{
|
|
156
|
-
setVisible(true);
|
|
157
|
-
setSelectedRows([]);
|
|
158
|
-
};
|
|
159
|
-
const handleRemove = (file)=>{
|
|
160
|
-
const newOptions = options.filter((option)=>option.id !== file.id);
|
|
161
|
-
setOptions(newOptions);
|
|
162
|
-
if (newOptions.length === 0) {
|
|
163
|
-
return onChange(null);
|
|
164
|
-
}
|
|
165
|
-
onChange(newOptions);
|
|
166
|
-
};
|
|
167
|
-
return /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsxs)("div", {
|
|
168
|
-
children: [
|
|
169
|
-
showFilePicker ? /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__preview_index_mjs__.FileSelector, {
|
|
170
|
-
value: options,
|
|
171
|
-
multiple: multiple,
|
|
172
|
-
quickUpload: quickUpload,
|
|
173
|
-
selectFile: selectFile,
|
|
174
|
-
action: "".concat(collectionField === null || collectionField === void 0 ? void 0 : collectionField.target, ":create"),
|
|
175
|
-
onSelect: handleSelect,
|
|
176
|
-
onRemove: handleRemove,
|
|
177
|
-
onChange: (changed)=>{
|
|
178
|
-
if (changed.every((file)=>file.status !== 'uploading')) {
|
|
179
|
-
changed = changed.filter((file)=>file.status === 'done').map((file)=>file.response.data);
|
|
180
|
-
if (multiple) {
|
|
181
|
-
onChange([
|
|
182
|
-
...options,
|
|
183
|
-
...changed
|
|
184
|
-
]);
|
|
185
|
-
} else {
|
|
186
|
-
onChange(changed[0]);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}) : /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_antd__.Select, {
|
|
191
|
-
...others,
|
|
192
|
-
mode: multiple ? 'multiple' : props.mode,
|
|
193
|
-
fieldNames: fieldNames,
|
|
194
|
-
popupMatchSelectWidth: false,
|
|
195
|
-
onDropdownVisibleChange: (open)=>{
|
|
196
|
-
setVisible(true);
|
|
197
|
-
},
|
|
198
|
-
allowClear: true,
|
|
199
|
-
onChange: (changed)=>{
|
|
200
|
-
if (!changed) {
|
|
201
|
-
const value = multiple ? [] : null;
|
|
202
|
-
onChange(value);
|
|
203
|
-
setSelectedRows(value);
|
|
204
|
-
setOptions([]);
|
|
205
|
-
} else if (Array.isArray(changed)) {
|
|
206
|
-
if (!changed.length) {
|
|
207
|
-
onChange([]);
|
|
208
|
-
setSelectedRows([]);
|
|
209
|
-
return;
|
|
210
|
-
}
|
|
211
|
-
const values = options === null || options === void 0 ? void 0 : options.filter((option)=>changed.includes(option[fieldNames.value]));
|
|
212
|
-
onChange(values);
|
|
213
|
-
setSelectedRows(values);
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
options: options,
|
|
217
|
-
value: getValue(),
|
|
218
|
-
open: false
|
|
219
|
-
}),
|
|
220
|
-
Drawer({
|
|
221
|
-
multiple,
|
|
222
|
-
onChange,
|
|
223
|
-
selectedRows,
|
|
224
|
-
setSelectedRows,
|
|
225
|
-
collectionField,
|
|
226
|
-
visible,
|
|
227
|
-
setVisible,
|
|
228
|
-
fieldSchema,
|
|
229
|
-
options
|
|
230
|
-
})
|
|
231
|
-
]
|
|
232
|
-
});
|
|
233
|
-
};
|
|
234
|
-
const RecordPickerProvider = (props)=>{
|
|
235
|
-
const { multiple, onChange, selectedRows, setSelectedRows, options, collectionField, ...other } = props;
|
|
236
|
-
return /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(RecordPickerContext.Provider, {
|
|
237
|
-
value: {
|
|
238
|
-
multiple,
|
|
239
|
-
onChange,
|
|
240
|
-
selectedRows,
|
|
241
|
-
setSelectedRows,
|
|
242
|
-
options,
|
|
243
|
-
collectionField,
|
|
244
|
-
...other
|
|
245
|
-
},
|
|
246
|
-
children: props.children
|
|
247
|
-
});
|
|
248
|
-
};
|
|
249
|
-
const Drawer = (param)=>{
|
|
250
|
-
let { multiple, onChange, selectedRows, setSelectedRows, collectionField, visible, setVisible, fieldSchema, options } = param;
|
|
251
|
-
const getFilter = ()=>{
|
|
252
|
-
const targetKey = (collectionField === null || collectionField === void 0 ? void 0 : collectionField.targetKey) || 'id';
|
|
253
|
-
const list = options.map((option)=>option[targetKey]).filter(Boolean);
|
|
254
|
-
const filter = list.length ? {
|
|
255
|
-
$and: [
|
|
256
|
-
{
|
|
257
|
-
["".concat(targetKey, ".$ne")]: list
|
|
258
|
-
}
|
|
259
|
-
]
|
|
260
|
-
} : {};
|
|
261
|
-
return filter;
|
|
262
|
-
};
|
|
263
|
-
const recordPickerProps = {
|
|
264
|
-
multiple,
|
|
265
|
-
onChange,
|
|
266
|
-
selectedRows,
|
|
267
|
-
setSelectedRows,
|
|
268
|
-
options,
|
|
269
|
-
collectionField
|
|
270
|
-
};
|
|
271
|
-
return /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(RecordPickerProvider, {
|
|
272
|
-
...recordPickerProps,
|
|
273
|
-
children: /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.CollectionProvider_deprecated, {
|
|
274
|
-
allowNull: true,
|
|
275
|
-
name: collectionField === null || collectionField === void 0 ? void 0 : collectionField.target,
|
|
276
|
-
children: /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__action_index_mjs__.ActionContextProvider, {
|
|
277
|
-
openMode: "drawer",
|
|
278
|
-
visible: visible,
|
|
279
|
-
setVisible: setVisible,
|
|
280
|
-
children: /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__core_index_mjs__.FormProvider, {
|
|
281
|
-
children: /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__block_provider_TableSelectorProvider_mjs__.TableSelectorParamsProvider, {
|
|
282
|
-
params: {
|
|
283
|
-
filter: getFilter()
|
|
284
|
-
},
|
|
285
|
-
children: /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__core_index_mjs__.SchemaComponentOptions, {
|
|
286
|
-
scope: {
|
|
287
|
-
useTableSelectorProps,
|
|
288
|
-
usePickActionProps
|
|
289
|
-
},
|
|
290
|
-
children: /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__tachybase_schema__.RecursionField, {
|
|
291
|
-
schema: fieldSchema,
|
|
292
|
-
onlyRenderProperties: true,
|
|
293
|
-
filterProperties: (s)=>{
|
|
294
|
-
return s['x-component'] === 'RecordPicker.Selector';
|
|
295
|
-
}
|
|
296
|
-
})
|
|
297
|
-
})
|
|
298
|
-
})
|
|
299
|
-
})
|
|
300
|
-
})
|
|
301
|
-
})
|
|
302
|
-
});
|
|
303
|
-
};
|
|
304
|
-
function isShowFilePicker(labelUiSchema) {
|
|
305
|
-
return (labelUiSchema === null || labelUiSchema === void 0 ? void 0 : labelUiSchema['x-component']) === 'Preview';
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
export { InputRecordPicker, RecordPickerContext, RecordPickerProvider, isShowFilePicker };
|
|
@@ -1,177 +0,0 @@
|
|
|
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__block_provider_index_mjs__ from "../../../block-provider/index.mjs";
|
|
5
|
-
import * as __WEBPACK_EXTERNAL_MODULE__block_provider_BlockProvider_mjs__ from "../../../block-provider/BlockProvider.mjs";
|
|
6
|
-
import * as __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__ from "../../../collection-manager/index.mjs";
|
|
7
|
-
import * as __WEBPACK_EXTERNAL_MODULE__record_provider_index_mjs__ from "../../../record-provider/index.mjs";
|
|
8
|
-
import * as __WEBPACK_EXTERNAL_MODULE__core_index_mjs__ from "../../core/index.mjs";
|
|
9
|
-
import * as __WEBPACK_EXTERNAL_MODULE__hooks_index_mjs__ from "../../hooks/index.mjs";
|
|
10
|
-
import * as __WEBPACK_EXTERNAL_MODULE__action_index_mjs__ from "../action/index.mjs";
|
|
11
|
-
import * as __WEBPACK_EXTERNAL_MODULE__input_EllipsisWithTooltip_mjs__ from "../input/EllipsisWithTooltip.mjs";
|
|
12
|
-
import * as __WEBPACK_EXTERNAL_MODULE__preview_index_mjs__ from "../preview/index.mjs";
|
|
13
|
-
import * as __WEBPACK_EXTERNAL_MODULE__InputRecordPicker_mjs__ from "./InputRecordPicker.mjs";
|
|
14
|
-
import * as __WEBPACK_EXTERNAL_MODULE__useFieldNames_mjs__ from "./useFieldNames.mjs";
|
|
15
|
-
import * as __WEBPACK_EXTERNAL_MODULE__util_mjs__ from "./util.mjs";
|
|
16
|
-
|
|
17
|
-
;// CONCATENATED MODULE: external "react/jsx-runtime"
|
|
18
|
-
|
|
19
|
-
;// CONCATENATED MODULE: external "react"
|
|
20
|
-
|
|
21
|
-
;// CONCATENATED MODULE: external "@tachybase/schema"
|
|
22
|
-
|
|
23
|
-
;// CONCATENATED MODULE: external "../../../block-provider/index.mjs"
|
|
24
|
-
|
|
25
|
-
;// CONCATENATED MODULE: external "../../../block-provider/BlockProvider.mjs"
|
|
26
|
-
|
|
27
|
-
;// CONCATENATED MODULE: external "../../../collection-manager/index.mjs"
|
|
28
|
-
|
|
29
|
-
;// CONCATENATED MODULE: external "../../../record-provider/index.mjs"
|
|
30
|
-
|
|
31
|
-
;// CONCATENATED MODULE: external "../../core/index.mjs"
|
|
32
|
-
|
|
33
|
-
;// CONCATENATED MODULE: external "../../hooks/index.mjs"
|
|
34
|
-
|
|
35
|
-
;// CONCATENATED MODULE: external "../action/index.mjs"
|
|
36
|
-
|
|
37
|
-
;// CONCATENATED MODULE: external "../input/EllipsisWithTooltip.mjs"
|
|
38
|
-
|
|
39
|
-
;// CONCATENATED MODULE: external "../preview/index.mjs"
|
|
40
|
-
|
|
41
|
-
;// CONCATENATED MODULE: external "./InputRecordPicker.mjs"
|
|
42
|
-
|
|
43
|
-
;// CONCATENATED MODULE: external "./useFieldNames.mjs"
|
|
44
|
-
|
|
45
|
-
;// CONCATENATED MODULE: external "./util.mjs"
|
|
46
|
-
|
|
47
|
-
;// CONCATENATED MODULE: ./packages/client/src/schema-component/antd/record-picker/ReadPrettyRecordPicker.tsx?__rslib_entry__
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
// TODO: 不要使用 '../../../block-provider' 这个路径引用 BlockAssociationContext,在 Vitest 中会报错,待修复
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
const toValue = (value, placeholder)=>{
|
|
65
|
-
if (value === null || value === undefined) {
|
|
66
|
-
return placeholder;
|
|
67
|
-
}
|
|
68
|
-
return value;
|
|
69
|
-
};
|
|
70
|
-
const ReadPrettyRecordPicker = (0,__WEBPACK_EXTERNAL_MODULE__tachybase_schema__.observer)((props)=>{
|
|
71
|
-
var _fieldSchema_xcomponentprops;
|
|
72
|
-
const { ellipsis } = props;
|
|
73
|
-
const fieldSchema = (0,__WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useFieldSchema)();
|
|
74
|
-
const recordCtx = (0,__WEBPACK_EXTERNAL_MODULE__record_provider_index_mjs__.useRecord)();
|
|
75
|
-
const { getCollectionJoinField } = (0,__WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.useCollectionManager_deprecated)();
|
|
76
|
-
// value 做了转换,但 props.value 和原来 useField().value 的值不一致
|
|
77
|
-
// const field = useField<Field>();
|
|
78
|
-
const fieldNames = (0,__WEBPACK_EXTERNAL_MODULE__useFieldNames_mjs__.useFieldNames)(props);
|
|
79
|
-
const [visible, setVisible] = (0,__WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
|
|
80
|
-
const { getField } = (0,__WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.useCollection_deprecated)();
|
|
81
|
-
const collectionField = getField(fieldSchema.name) || getCollectionJoinField(fieldSchema === null || fieldSchema === void 0 ? void 0 : fieldSchema['x-collection-field']);
|
|
82
|
-
const [record, setRecord] = (0,__WEBPACK_EXTERNAL_MODULE_react__.useState)({});
|
|
83
|
-
const compile = (0,__WEBPACK_EXTERNAL_MODULE__hooks_index_mjs__.useCompile)();
|
|
84
|
-
const labelUiSchema = (0,__WEBPACK_EXTERNAL_MODULE__util_mjs__.useLabelUiSchema)(collectionField, (fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.label) || 'label');
|
|
85
|
-
const showFilePicker = (0,__WEBPACK_EXTERNAL_MODULE__InputRecordPicker_mjs__.isShowFilePicker)(labelUiSchema);
|
|
86
|
-
const { snapshot } = (0,__WEBPACK_EXTERNAL_MODULE__action_index_mjs__.useActionContext)();
|
|
87
|
-
const isTagsMode = ((_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) === null || _fieldSchema_xcomponentprops === void 0 ? void 0 : _fieldSchema_xcomponentprops.mode) === 'tags';
|
|
88
|
-
const ellipsisWithTooltipRef = (0,__WEBPACK_EXTERNAL_MODULE_react__.useRef)();
|
|
89
|
-
if (showFilePicker) {
|
|
90
|
-
return collectionField ? /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__preview_index_mjs__.Preview, {
|
|
91
|
-
...props
|
|
92
|
-
}) : null;
|
|
93
|
-
}
|
|
94
|
-
const renderRecords = ()=>(0,__WEBPACK_EXTERNAL_MODULE__tachybase_schema__.toArr)(props.value).map((record, index, arr)=>{
|
|
95
|
-
const val = toValue(compile(record === null || record === void 0 ? void 0 : record[(fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.label) || 'label']), 'N/A');
|
|
96
|
-
const text = (0,__WEBPACK_EXTERNAL_MODULE__util_mjs__.getLabelFormatValue)(labelUiSchema, val, true);
|
|
97
|
-
return /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsxs)(__WEBPACK_EXTERNAL_MODULE_react__.Fragment, {
|
|
98
|
-
children: [
|
|
99
|
-
/*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)("span", {
|
|
100
|
-
className: "test-record-picker-read-pretty-item",
|
|
101
|
-
children: snapshot || isTagsMode ? text : /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)("a", {
|
|
102
|
-
onClick: (e)=>{
|
|
103
|
-
var _ellipsisWithTooltipRef_current;
|
|
104
|
-
e.stopPropagation();
|
|
105
|
-
e.preventDefault();
|
|
106
|
-
setVisible(true);
|
|
107
|
-
setRecord(record);
|
|
108
|
-
ellipsisWithTooltipRef === null || ellipsisWithTooltipRef === void 0 ? void 0 : (_ellipsisWithTooltipRef_current = ellipsisWithTooltipRef.current) === null || _ellipsisWithTooltipRef_current === void 0 ? void 0 : _ellipsisWithTooltipRef_current.setPopoverVisible(false);
|
|
109
|
-
},
|
|
110
|
-
children: text
|
|
111
|
-
})
|
|
112
|
-
}),
|
|
113
|
-
index < arr.length - 1 ? /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)("span", {
|
|
114
|
-
style: {
|
|
115
|
-
marginRight: 4,
|
|
116
|
-
color: '#aaa'
|
|
117
|
-
},
|
|
118
|
-
children: ","
|
|
119
|
-
}) : null
|
|
120
|
-
]
|
|
121
|
-
}, "".concat(record[fieldNames.value], "_").concat(index));
|
|
122
|
-
});
|
|
123
|
-
const renderWithoutTableFieldResourceProvider = ()=>/*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__block_provider_index_mjs__.WithoutTableFieldResource.Provider, {
|
|
124
|
-
value: true,
|
|
125
|
-
children: /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__core_index_mjs__.FormProvider, {
|
|
126
|
-
children: /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__tachybase_schema__.RecursionField, {
|
|
127
|
-
schema: fieldSchema,
|
|
128
|
-
onlyRenderProperties: true,
|
|
129
|
-
filterProperties: (s)=>{
|
|
130
|
-
return s['x-component'] === 'RecordPicker.Viewer';
|
|
131
|
-
}
|
|
132
|
-
})
|
|
133
|
-
})
|
|
134
|
-
});
|
|
135
|
-
const renderRecordProvider = ()=>{
|
|
136
|
-
var _fieldSchema_xcollectionfield;
|
|
137
|
-
const collectionFieldNames = fieldSchema === null || fieldSchema === void 0 ? void 0 : (_fieldSchema_xcollectionfield = fieldSchema['x-collection-field']) === null || _fieldSchema_xcollectionfield === void 0 ? void 0 : _fieldSchema_xcollectionfield.split('.');
|
|
138
|
-
return collectionFieldNames && collectionFieldNames.length > 2 ? /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__record_provider_index_mjs__.RecordProvider, {
|
|
139
|
-
record: record,
|
|
140
|
-
parent: recordCtx[collectionFieldNames[1]],
|
|
141
|
-
children: renderWithoutTableFieldResourceProvider()
|
|
142
|
-
}) : /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__record_provider_index_mjs__.RecordProvider, {
|
|
143
|
-
record: record,
|
|
144
|
-
parent: recordCtx,
|
|
145
|
-
children: renderWithoutTableFieldResourceProvider()
|
|
146
|
-
});
|
|
147
|
-
};
|
|
148
|
-
var _collectionField_target;
|
|
149
|
-
return collectionField ? /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)("div", {
|
|
150
|
-
children: /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__block_provider_BlockProvider_mjs__.BlockAssociationContext.Provider, {
|
|
151
|
-
value: "".concat(collectionField.collectionName, ".").concat(collectionField.name),
|
|
152
|
-
children: /*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsxs)(__WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.CollectionProvider_deprecated, {
|
|
153
|
-
name: (_collectionField_target = collectionField.target) !== null && _collectionField_target !== void 0 ? _collectionField_target : collectionField.targetCollection,
|
|
154
|
-
children: [
|
|
155
|
-
/*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__input_EllipsisWithTooltip_mjs__.EllipsisWithTooltip, {
|
|
156
|
-
ellipsis: ellipsis,
|
|
157
|
-
ref: ellipsisWithTooltipRef,
|
|
158
|
-
children: renderRecords()
|
|
159
|
-
}),
|
|
160
|
-
/*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__action_index_mjs__.ActionContextProvider, {
|
|
161
|
-
value: {
|
|
162
|
-
visible,
|
|
163
|
-
setVisible,
|
|
164
|
-
openMode: 'drawer',
|
|
165
|
-
snapshot: collectionField.interface === 'snapshot'
|
|
166
|
-
},
|
|
167
|
-
children: renderRecordProvider()
|
|
168
|
-
})
|
|
169
|
-
]
|
|
170
|
-
})
|
|
171
|
-
})
|
|
172
|
-
}) : null;
|
|
173
|
-
}, {
|
|
174
|
-
displayName: 'ReadPrettyRecordPicker'
|
|
175
|
-
});
|
|
176
|
-
|
|
177
|
-
export { ReadPrettyRecordPicker };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_schema__ from "@tachybase/schema";
|
|
2
|
-
import * as __WEBPACK_EXTERNAL_MODULE__InputRecordPicker_mjs__ from "./InputRecordPicker.mjs";
|
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE__ReadPrettyRecordPicker_mjs__ from "./ReadPrettyRecordPicker.mjs";
|
|
4
|
-
|
|
5
|
-
;// CONCATENATED MODULE: external "@tachybase/schema"
|
|
6
|
-
|
|
7
|
-
;// CONCATENATED MODULE: external "./InputRecordPicker.mjs"
|
|
8
|
-
|
|
9
|
-
;// CONCATENATED MODULE: external "./ReadPrettyRecordPicker.mjs"
|
|
10
|
-
|
|
11
|
-
;// CONCATENATED MODULE: ./packages/client/src/schema-component/antd/record-picker/RecordPicker.tsx?__rslib_entry__
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const RecordPicker = (0,__WEBPACK_EXTERNAL_MODULE__tachybase_schema__.connect)(__WEBPACK_EXTERNAL_MODULE__InputRecordPicker_mjs__.InputRecordPicker, (0,__WEBPACK_EXTERNAL_MODULE__tachybase_schema__.mapReadPretty)(__WEBPACK_EXTERNAL_MODULE__ReadPrettyRecordPicker_mjs__.ReadPrettyRecordPicker));
|
|
16
|
-
|
|
17
|
-
export { RecordPicker };
|
|
@@ -1,44 +0,0 @@
|
|
|
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_test_client__ from "@tachybase/test/client";
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE__demos_demo1_mjs__ from "../demos/demo1.mjs";
|
|
5
|
-
|
|
6
|
-
;// CONCATENATED MODULE: external "react/jsx-runtime"
|
|
7
|
-
|
|
8
|
-
;// CONCATENATED MODULE: external "react"
|
|
9
|
-
|
|
10
|
-
;// CONCATENATED MODULE: external "@tachybase/test/client"
|
|
11
|
-
|
|
12
|
-
;// CONCATENATED MODULE: external "../demos/demo1.mjs"
|
|
13
|
-
|
|
14
|
-
;// CONCATENATED MODULE: ./packages/client/src/schema-component/antd/record-picker/__tests__/record-picker.test.tsx?__rslib_entry__
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
describe.skip('RecordPicker', ()=>{
|
|
20
|
-
it('should show selected options', async ()=>{
|
|
21
|
-
(0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_client__.render)(/*#__PURE__*/ (0,__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__demos_demo1_mjs__["default"], {}));
|
|
22
|
-
let selector;
|
|
23
|
-
await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_client__.waitFor)(()=>{
|
|
24
|
-
selector = document.querySelector('.ant-select-selector');
|
|
25
|
-
expect(selector).toBeInTheDocument();
|
|
26
|
-
});
|
|
27
|
-
await __WEBPACK_EXTERNAL_MODULE__tachybase_test_client__.userEvent.click(selector);
|
|
28
|
-
await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_client__.waitFor)(()=>{
|
|
29
|
-
// 弹窗标题
|
|
30
|
-
expect(__WEBPACK_EXTERNAL_MODULE__tachybase_test_client__.screen.queryByText(/select record/i)).toBeInTheDocument();
|
|
31
|
-
});
|
|
32
|
-
const checkboxes = document.querySelectorAll('.ant-checkbox');
|
|
33
|
-
// 第 3 个选项的内容是: “软件开发”
|
|
34
|
-
await __WEBPACK_EXTERNAL_MODULE__tachybase_test_client__.userEvent.click(checkboxes[2]);
|
|
35
|
-
await __WEBPACK_EXTERNAL_MODULE__tachybase_test_client__.userEvent.click(__WEBPACK_EXTERNAL_MODULE__tachybase_test_client__.screen.getByText(/submit/i));
|
|
36
|
-
await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_client__.waitFor)(()=>{
|
|
37
|
-
expect((0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_client__.within)(selector).queryByText(/软件开发/i)).toBeInTheDocument();
|
|
38
|
-
expect(__WEBPACK_EXTERNAL_MODULE__tachybase_test_client__.screen.queryByText(/软件开发/i, {
|
|
39
|
-
selector: '.test-record-picker-read-pretty-item'
|
|
40
|
-
})).toBeInTheDocument();
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
});
|
|
44
|
-
|