@tachybase/client 0.23.8-alpha.21 → 0.23.8-alpha.22
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/lib/api-client/APIClient.mjs +176 -0
- package/lib/api-client/APIClientProvider.mjs +23 -0
- package/lib/api-client/__tests__/APIClient.test.mjs +64 -0
- package/lib/api-client/context.mjs +14 -0
- package/lib/api-client/demos/demo1.mjs +47 -0
- package/lib/api-client/demos/demo2.mjs +46 -0
- package/lib/api-client/demos/demo3.mjs +97 -0
- package/lib/api-client/hooks/assign.mjs +106 -0
- package/lib/api-client/hooks/index.mjs +9 -0
- package/lib/api-client/hooks/useAPIClient.mjs +15 -0
- package/lib/api-client/hooks/useRequest.mjs +70 -0
- package/lib/api-client/hooks/useResource.mjs +12 -0
- package/lib/api-client/index.mjs +11 -0
- package/lib/application/AppSchemaComponentProvider.mjs +48 -0
- package/lib/application/Application.mjs +431 -0
- package/lib/application/AttachmentPreviewManager.mjs +37 -0
- package/lib/application/NoticesManager.mjs +132 -0
- package/lib/application/Plugin.mjs +66 -0
- package/lib/application/PluginContextMenu.mjs +35 -0
- package/lib/application/PluginManager.mjs +113 -0
- package/lib/application/RouterManager.mjs +148 -0
- package/lib/application/SystemSettingsManager.mjs +133 -0
- package/lib/application/UserSettingsManager.mjs +135 -0
- package/lib/application/WebSocketClient.mjs +202 -0
- package/lib/application/__tests__/Application.test.mjs +518 -0
- package/lib/application/__tests__/Plugin.test.mjs +213 -0
- package/lib/application/__tests__/PluginSettingsManager.test.mjs +168 -0
- package/lib/application/__tests__/RouterManager.test.mjs +345 -0
- package/lib/application/__tests__/SchemaInitializer.test.mjs +169 -0
- package/lib/application/__tests__/SchemaToolbar.test.mjs +171 -0
- package/lib/application/__tests__/hoc/withDynamicSchemaProps.test.mjs +207 -0
- package/lib/application/__tests__/hooks.test.mjs +112 -0
- package/lib/application/__tests__/utils/remotePlugins.test.mjs +331 -0
- package/lib/application/__tests__/utils.test.mjs +117 -0
- package/lib/application/components/AppComponent.mjs +78 -0
- package/lib/application/components/BlankComponent.mjs +18 -0
- package/lib/application/components/MainComponent.mjs +29 -0
- package/lib/application/components/RouterContextCleaner.mjs +30 -0
- package/lib/application/components/defaultComponents.mjs +37 -0
- package/lib/application/components/index.mjs +11 -0
- package/lib/application/context.mjs +10 -0
- package/lib/application/demos/demo1.mjs +136 -0
- package/lib/application/demos/demo2.mjs +149 -0
- package/lib/application/demos/demo3.mjs +17 -0
- package/lib/application/hoc/index.mjs +5 -0
- package/lib/application/hoc/withDynamicSchemaProps.mjs +165 -0
- package/lib/application/hooks/index.mjs +9 -0
- package/lib/application/hooks/useApp.mjs +15 -0
- package/lib/application/hooks/usePlugin.mjs +12 -0
- package/lib/application/hooks/useRouter.mjs +12 -0
- package/lib/application/index.mjs +37 -0
- package/lib/application/schema-initializer/SchemaInitializer.mjs +103 -0
- package/lib/application/schema-initializer/SchemaInitializerManager.mjs +86 -0
- package/lib/application/schema-initializer/components/SchemaInitializerActionModal.mjs +134 -0
- package/lib/application/schema-initializer/components/SchemaInitializerButton.mjs +60 -0
- package/lib/application/schema-initializer/components/SchemaInitializerChildren.mjs +91 -0
- package/lib/application/schema-initializer/components/SchemaInitializerDivider.mjs +25 -0
- package/lib/application/schema-initializer/components/SchemaInitializerItem.mjs +124 -0
- package/lib/application/schema-initializer/components/SchemaInitializerItemGroup.mjs +63 -0
- package/lib/application/schema-initializer/components/SchemaInitializerItems.mjs +23 -0
- package/lib/application/schema-initializer/components/SchemaInitializerSelect.mjs +86 -0
- package/lib/application/schema-initializer/components/SchemaInitializerSubMenu.mjs +147 -0
- package/lib/application/schema-initializer/components/SchemaInitializerSwitch.mjs +59 -0
- package/lib/application/schema-initializer/components/index.mjs +23 -0
- package/lib/application/schema-initializer/components/style.mjs +47 -0
- package/lib/application/schema-initializer/context/index.mjs +18 -0
- package/lib/application/schema-initializer/hoc/index.mjs +159 -0
- package/lib/application/schema-initializer/hooks/index.mjs +193 -0
- package/lib/application/schema-initializer/hooks/useAriaAttributeOfMenuItem.mjs +32 -0
- package/lib/application/schema-initializer/index.mjs +17 -0
- package/lib/application/schema-initializer/types.mjs +4 -0
- package/lib/application/schema-settings/SchemaSettings.mjs +94 -0
- package/lib/application/schema-settings/SchemaSettingsDefaults.mjs +241 -0
- package/lib/application/schema-settings/SchemaSettingsManager.mjs +86 -0
- package/lib/application/schema-settings/components/SchemaSettingsChildren.mjs +123 -0
- package/lib/application/schema-settings/components/SchemaSettingsIcon.mjs +34 -0
- package/lib/application/schema-settings/components/SchemaSettingsWrapper.mjs +59 -0
- package/lib/application/schema-settings/components/index.mjs +7 -0
- package/lib/application/schema-settings/context/index.mjs +13 -0
- package/lib/application/schema-settings/hooks/index.mjs +63 -0
- package/lib/application/schema-settings/index.mjs +15 -0
- package/lib/application/schema-settings/types.mjs +4 -0
- package/lib/application/schema-toolbar/context/index.mjs +24 -0
- package/lib/application/schema-toolbar/hooks/index.mjs +46 -0
- package/lib/application/schema-toolbar/index.mjs +7 -0
- package/lib/application/utils/globalDeps.mjs +162 -0
- package/lib/application/utils/index.mjs +59 -0
- package/lib/application/utils/remotePlugins.mjs +129 -0
- package/lib/async-data-provider/index.mjs +37 -0
- package/lib/block-provider/BlockProvider.mjs +401 -0
- package/lib/block-provider/DetailsBlockProvider.mjs +145 -0
- package/lib/block-provider/FilterFormBlockProvider.mjs +42 -0
- package/lib/block-provider/FormBlockProvider.mjs +222 -0
- package/lib/block-provider/FormFieldProvider.mjs +124 -0
- package/lib/block-provider/MobileProvider.mjs +24 -0
- package/lib/block-provider/PageLayout.mjs +25 -0
- package/lib/block-provider/TableBlockProvider.mjs +155 -0
- package/lib/block-provider/TableFieldProvider.mjs +197 -0
- package/lib/block-provider/TableSelectorProvider.mjs +372 -0
- package/lib/block-provider/TreeBlockProvider.mjs +158 -0
- package/lib/block-provider/hooks/index.mjs +1465 -0
- package/lib/block-provider/hooks/useDataBlockSourceId.mjs +33 -0
- package/lib/block-provider/hooks/useFormActiveFields.mjs +56 -0
- package/lib/block-provider/hooks/useIsMobile.mjs +16 -0
- package/lib/block-provider/hooks/useParsedFilter.mjs +85 -0
- package/lib/block-provider/index.mjs +25 -0
- package/lib/built-in/acl/ACLProvider.mjs +396 -0
- package/lib/built-in/acl/ACLShortcut.mjs +46 -0
- package/lib/built-in/acl/Configuration/ConfigureCenter.mjs +182 -0
- package/lib/built-in/acl/Configuration/MenuConfigure.mjs +188 -0
- package/lib/built-in/acl/Configuration/MenuItemsProvider.mjs +66 -0
- package/lib/built-in/acl/Configuration/PermisionProvider.mjs +95 -0
- package/lib/built-in/acl/Configuration/RoleConfigure.mjs +173 -0
- package/lib/built-in/acl/Configuration/RoleTable.mjs +73 -0
- package/lib/built-in/acl/Configuration/RolesResourcesActions.mjs +265 -0
- package/lib/built-in/acl/Configuration/ScopeSelect.mjs +61 -0
- package/lib/built-in/acl/Configuration/StrategyActions.mjs +143 -0
- package/lib/built-in/acl/Configuration/index.mjs +41 -0
- package/lib/built-in/acl/Configuration/schemas/roles.mjs +427 -0
- package/lib/built-in/acl/Configuration/schemas/scopes.mjs +384 -0
- package/lib/built-in/acl/Configuration/schemas/useRoleResourceValues.mjs +46 -0
- package/lib/built-in/acl/Configuration/schemas/useSaveRoleResourceAction.mjs +32 -0
- package/lib/built-in/acl/index.mjs +25 -0
- package/lib/built-in/acl/style.mjs +31 -0
- package/lib/built-in/admin-layout/AdminContent.mjs +34 -0
- package/lib/built-in/admin-layout/AdminTabs.mjs +21 -0
- package/lib/built-in/admin-layout/NoticeArea.mjs +37 -0
- package/lib/built-in/admin-layout/components/AddNewButton.mjs +89 -0
- package/lib/built-in/admin-layout/components/WelcomeCard.mjs +114 -0
- package/lib/built-in/admin-layout/index.mjs +299 -0
- package/lib/built-in/admin-layout/style.mjs +150 -0
- package/lib/built-in/assistant/Assistant.provider.mjs +114 -0
- package/lib/built-in/assistant/ai-chat/index.mjs +359 -0
- package/lib/built-in/assistant/ai-chat/index.module.mjs +9 -0
- package/lib/{index.css → built-in/assistant/ai-chat/index_module.css} +0 -64
- package/lib/built-in/assistant/calculator/AutoScalingText.mjs +45 -0
- package/lib/built-in/assistant/calculator/Calculator.mjs +259 -0
- package/lib/built-in/assistant/calculator/CalculatorDisplay.mjs +34 -0
- package/lib/built-in/assistant/calculator/CalculatorKey.mjs +20 -0
- package/lib/built-in/assistant/calculator/CalculatorProvider.mjs +52 -0
- package/lib/built-in/assistant/calculator/Draggable.mjs +66 -0
- package/lib/built-in/assistant/calculator/style.mjs +33 -0
- package/lib/built-in/assistant/index.mjs +27 -0
- package/lib/built-in/assistant/search-and-jump/index.mjs +75 -0
- package/lib/built-in/attachment-preview/index.mjs +24 -0
- package/lib/built-in/attachment-preview/interface.mjs +4 -0
- package/lib/built-in/attachment-preview/previewers/file-default.mjs +97 -0
- package/lib/built-in/attachment-preview/previewers/file-pdf.mjs +142 -0
- package/lib/built-in/attachment-preview/previewers/file-pdf.style.mjs +53 -0
- package/lib/built-in/attachment-preview/previewers/file-sheet.mjs +132 -0
- package/lib/built-in/attachment-preview/previewers/file-sheet.style.mjs +53 -0
- package/lib/built-in/attachment-preview/previewers/image-jpeg.mjs +43 -0
- package/lib/built-in/attachment-preview/previewers/image-png.mjs +43 -0
- package/lib/built-in/attachment-preview/previewers/image-svg.mjs +29 -0
- package/lib/built-in/attachment-preview/previewers/index.mjs +15 -0
- package/lib/built-in/block-schema-component/index.mjs +186 -0
- package/lib/built-in/built-in-collections/index.mjs +74 -0
- package/lib/built-in/context-menu/ContextMenu.provider.mjs +89 -0
- package/lib/built-in/context-menu/ContextMenuItemsProps.mjs +176 -0
- package/lib/built-in/context-menu/index.mjs +33 -0
- package/lib/built-in/context-menu/useContextMenu.mjs +12 -0
- package/lib/built-in/document-title/index.mjs +75 -0
- package/lib/built-in/dynamic-page/DynamicPage.mjs +67 -0
- package/lib/built-in/dynamic-page/index.mjs +79 -0
- package/lib/built-in/dynamic-page/style.mjs +60 -0
- package/lib/built-in/dynamic-page/utils.mjs +84 -0
- package/lib/built-in/index.mjs +591 -0
- package/lib/built-in/locale/LocalePlugin.mjs +96 -0
- package/lib/built-in/locale/loadConstrueLocale.mjs +193 -0
- package/lib/built-in/page-style/CustomAdminHeader.mjs +24 -0
- package/lib/built-in/page-style/PageStyle.provider.mjs +47 -0
- package/lib/built-in/page-style/TabContent.mjs +97 -0
- package/lib/built-in/page-style/TabHeader.mjs +114 -0
- package/lib/built-in/page-style/index.mjs +29 -0
- package/lib/built-in/page-style/usePageStyle.mjs +15 -0
- package/lib/built-in/page-style/useTabSettings.mjs +97 -0
- package/lib/built-in/pinned-list/PinnedPluginListProvider.mjs +87 -0
- package/lib/built-in/pinned-list/context.mjs +12 -0
- package/lib/built-in/pinned-list/index.mjs +18 -0
- package/lib/built-in/pm/PluginCard.mjs +306 -0
- package/lib/built-in/pm/PluginDetail.mjs +350 -0
- package/lib/built-in/pm/PluginDocument.mjs +99 -0
- package/lib/built-in/pm/PluginForm/form/PluginNpmForm.mjs +189 -0
- package/lib/built-in/pm/PluginForm/form/PluginUploadForm.mjs +142 -0
- package/lib/built-in/pm/PluginForm/form/PluginUrlForm.mjs +133 -0
- package/lib/built-in/pm/PluginForm/modal/PluginAddModal.mjs +88 -0
- package/lib/built-in/pm/PluginForm/modal/PluginUpgradeModal.mjs +92 -0
- package/lib/built-in/pm/PluginManager.mjs +341 -0
- package/lib/built-in/pm/index.mjs +78 -0
- package/lib/built-in/pm/style.mjs +86 -0
- package/lib/built-in/pm/types.mjs +4 -0
- package/lib/built-in/quick-access/Action.mjs +125 -0
- package/lib/built-in/quick-access/Block.mjs +170 -0
- package/lib/built-in/quick-access/CustomRequestActionSchemaInitializerItem.mjs +115 -0
- package/lib/built-in/quick-access/LinkActionSchemaInitializerItem.mjs +108 -0
- package/lib/built-in/quick-access/ModalActionSchemaInitializerItem.mjs +118 -0
- package/lib/built-in/quick-access/PopupActionSchemaInitializerItem.mjs +143 -0
- package/lib/built-in/quick-access/SchemaSettingsBlockTitleItem.mjs +66 -0
- package/lib/built-in/quick-access/blockInitializerItem.mjs +31 -0
- package/lib/built-in/quick-access/blockSchema.mjs +20 -0
- package/lib/built-in/quick-access/blockSettings.mjs +92 -0
- package/lib/built-in/quick-access/configureActions.mjs +25 -0
- package/lib/built-in/quick-access/index.mjs +66 -0
- package/lib/built-in/scroll-assistant/ScrollAssistant.provider.mjs +62 -0
- package/lib/built-in/scroll-assistant/ScrollAssistantStatus.provider.mjs +31 -0
- package/lib/built-in/scroll-assistant/index.mjs +41 -0
- package/lib/built-in/scroll-assistant/useJoystick.mjs +216 -0
- package/lib/built-in/setting-layout/AdminSettings.mjs +174 -0
- package/lib/built-in/setting-layout/SettingLayout.mjs +171 -0
- package/lib/built-in/setting-layout/SettingsCenterDropdown.mjs +104 -0
- package/lib/built-in/system-settings/SystemSettingsProvider.mjs +33 -0
- package/lib/built-in/system-settings/SystemSettingsShortcut.mjs +189 -0
- package/lib/built-in/system-settings/index.mjs +18 -0
- package/lib/built-in/system-version/SystemVersion.provider.mjs +52 -0
- package/lib/built-in/system-version/index.mjs +17 -0
- package/lib/built-in/user-settings/UserSettingsLayout.mjs +221 -0
- package/lib/built-in/user-settings/index.mjs +38 -0
- package/lib/built-in/user-settings/style.mjs +86 -0
- package/lib/collection-manager/CollectionHistoryProvider.mjs +81 -0
- package/lib/collection-manager/CollectionManagerProvider.mjs +92 -0
- package/lib/collection-manager/CollectionManagerSchemaComponentProvider.mjs +46 -0
- package/lib/collection-manager/CollectionProvider_deprecated.mjs +40 -0
- package/lib/collection-manager/Configuration/AddCollectionAction.mjs +292 -0
- package/lib/collection-manager/Configuration/AddFieldAction.mjs +457 -0
- package/lib/collection-manager/Configuration/AddSubFieldAction.mjs +211 -0
- package/lib/collection-manager/Configuration/DeleteCollectionAction.mjs +268 -0
- package/lib/collection-manager/Configuration/EditCollectionAction.mjs +221 -0
- package/lib/collection-manager/Configuration/EditFieldAction.mjs +315 -0
- package/lib/collection-manager/Configuration/EditSubFieldAction.mjs +163 -0
- package/lib/collection-manager/Configuration/ImportCollectionMetaAction.mjs +210 -0
- package/lib/collection-manager/Configuration/OverridingCollectionField.mjs +274 -0
- package/lib/collection-manager/Configuration/SyncFieldsAction.mjs +257 -0
- package/lib/collection-manager/Configuration/SyncSQLFieldsAction.mjs +214 -0
- package/lib/collection-manager/Configuration/ViewInheritedField.mjs +187 -0
- package/lib/collection-manager/Configuration/components/CollectionCategory.mjs +38 -0
- package/lib/collection-manager/Configuration/components/CollectionFieldInterfaceTag.mjs +40 -0
- package/lib/collection-manager/Configuration/components/CollectionTemplateTag.mjs +39 -0
- package/lib/collection-manager/Configuration/components/FieldSummary.mjs +39 -0
- package/lib/collection-manager/Configuration/components/Summary.mjs +84 -0
- package/lib/collection-manager/Configuration/components/TemplateSummary.mjs +39 -0
- package/lib/collection-manager/Configuration/components/index.mjs +359 -0
- package/lib/collection-manager/Configuration/index.mjs +46 -0
- package/lib/collection-manager/Configuration/interfaces.mjs +48 -0
- package/lib/collection-manager/ResourceActionProvider.mjs +168 -0
- package/lib/collection-manager/action-hooks.mjs +658 -0
- package/lib/collection-manager/collectionPlugin.mjs +151 -0
- package/lib/collection-manager/context.mjs +13 -0
- package/lib/collection-manager/demos/demo2.mjs +143 -0
- package/lib/collection-manager/demos/demo3.mjs +96 -0
- package/lib/collection-manager/demos/demo4.mjs +183 -0
- package/lib/collection-manager/demos/demo5.mjs +187 -0
- package/lib/collection-manager/hooks/index.mjs +11 -0
- package/lib/collection-manager/hooks/useCollectionDataSource.mjs +29 -0
- package/lib/collection-manager/hooks/useCollectionField_deprecated.mjs +43 -0
- package/lib/collection-manager/hooks/useCollectionManager_deprecated.mjs +272 -0
- package/lib/collection-manager/hooks/useCollection_deprecated.mjs +70 -0
- package/lib/collection-manager/hooks/useDialect.mjs +17 -0
- package/lib/collection-manager/index.mjs +63 -0
- package/lib/collection-manager/interfaces/__tests__/json.mjs +73 -0
- package/lib/collection-manager/interfaces/checkbox.mjs +61 -0
- package/lib/collection-manager/interfaces/checkboxGroup.mjs +55 -0
- package/lib/collection-manager/interfaces/chinaRegion.mjs +127 -0
- package/lib/collection-manager/interfaces/collection.mjs +57 -0
- package/lib/collection-manager/interfaces/color.mjs +43 -0
- package/lib/collection-manager/interfaces/components/index.mjs +73 -0
- package/lib/collection-manager/interfaces/createdAt.mjs +47 -0
- package/lib/collection-manager/interfaces/createdBy.mjs +70 -0
- package/lib/collection-manager/interfaces/datetime.mjs +56 -0
- package/lib/collection-manager/interfaces/email.mjs +54 -0
- package/lib/collection-manager/interfaces/icon.mjs +40 -0
- package/lib/collection-manager/interfaces/id.mjs +66 -0
- package/lib/collection-manager/interfaces/index.mjs +81 -0
- package/lib/collection-manager/interfaces/input.mjs +200 -0
- package/lib/collection-manager/interfaces/integer.mjs +138 -0
- package/lib/collection-manager/interfaces/json.mjs +102 -0
- package/lib/collection-manager/interfaces/linkTo.mjs +119 -0
- package/lib/collection-manager/interfaces/m2m.mjs +253 -0
- package/lib/collection-manager/interfaces/m2o.mjs +182 -0
- package/lib/collection-manager/interfaces/markdown.mjs +94 -0
- package/lib/collection-manager/interfaces/multipleSelect.mjs +62 -0
- package/lib/collection-manager/interfaces/nanoid.mjs +72 -0
- package/lib/collection-manager/interfaces/number.mjs +146 -0
- package/lib/collection-manager/interfaces/o2m.mjs +211 -0
- package/lib/collection-manager/interfaces/o2o.mjs +493 -0
- package/lib/collection-manager/interfaces/password.mjs +80 -0
- package/lib/collection-manager/interfaces/percent.mjs +193 -0
- package/lib/collection-manager/interfaces/phone.mjs +46 -0
- package/lib/collection-manager/interfaces/properties/index.mjs +506 -0
- package/lib/collection-manager/interfaces/properties/operators.mjs +370 -0
- package/lib/collection-manager/interfaces/radioGroup.mjs +46 -0
- package/lib/collection-manager/interfaces/richText.mjs +92 -0
- package/lib/collection-manager/interfaces/select.mjs +60 -0
- package/lib/collection-manager/interfaces/sort.mjs +123 -0
- package/lib/collection-manager/interfaces/subTable.mjs +218 -0
- package/lib/collection-manager/interfaces/tableoid.mjs +60 -0
- package/lib/collection-manager/interfaces/textarea.mjs +92 -0
- package/lib/collection-manager/interfaces/time.mjs +59 -0
- package/lib/collection-manager/interfaces/types.mjs +4 -0
- package/lib/collection-manager/interfaces/unixTimestamp.mjs +64 -0
- package/lib/collection-manager/interfaces/updatedAt.mjs +47 -0
- package/lib/collection-manager/interfaces/updatedBy.mjs +70 -0
- package/lib/collection-manager/interfaces/url.mjs +46 -0
- package/lib/collection-manager/interfaces/uuid.mjs +60 -0
- package/lib/collection-manager/mixins/InheritanceCollectionMixin.mjs +249 -0
- package/lib/collection-manager/sub-table.mjs +270 -0
- package/lib/collection-manager/templates/components/PresetFields.mjs +271 -0
- package/lib/collection-manager/templates/components/PreviewFields.mjs +345 -0
- package/lib/collection-manager/templates/components/PreviewTable.mjs +171 -0
- package/lib/collection-manager/templates/components/sql-collection/FieldsConfigure.mjs +348 -0
- package/lib/collection-manager/templates/components/sql-collection/PreviewTable.mjs +81 -0
- package/lib/collection-manager/templates/components/sql-collection/SQLInput.mjs +130 -0
- package/lib/collection-manager/templates/components/sql-collection/SQLRequestProvider.mjs +74 -0
- package/lib/collection-manager/templates/components/sql-collection/index.mjs +11 -0
- package/lib/collection-manager/templates/expression.mjs +78 -0
- package/lib/collection-manager/templates/general.mjs +32 -0
- package/lib/collection-manager/templates/import.mjs +28 -0
- package/lib/collection-manager/templates/index.mjs +15 -0
- package/lib/collection-manager/templates/properties/index.mjs +81 -0
- package/lib/collection-manager/templates/sql.mjs +105 -0
- package/lib/collection-manager/templates/tree.mjs +94 -0
- package/lib/collection-manager/templates/types.mjs +4 -0
- package/lib/collection-manager/templates/view.mjs +177 -0
- package/lib/collection-manager/types.mjs +4 -0
- package/lib/collection-manager/utils.mjs +23 -0
- package/lib/common/SelectWithTitle.mjs +56 -0
- package/lib/common/appInfo/CurrentAppInfoProvider.mjs +33 -0
- package/lib/common/appInfo/index.mjs +5 -0
- package/lib/common/index.mjs +9 -0
- package/lib/common/useFieldComponentName.mjs +39 -0
- package/lib/common/useNiceDropdownHeight.mjs +28 -0
- package/lib/data-source/__tests__/collection/AssociationProvider.test.mjs +132 -0
- package/lib/data-source/__tests__/collection/Collection.test.mjs +308 -0
- package/lib/data-source/__tests__/collection/CollectionManager.test.mjs +308 -0
- package/lib/data-source/__tests__/collection/CollectionManagerProvider.test.mjs +135 -0
- package/lib/data-source/__tests__/collection/CollectionProvider.test.mjs +123 -0
- package/lib/data-source/__tests__/collection/ExtendCollectionsProvider.test.mjs +105 -0
- package/lib/data-source/__tests__/collection-field/CollectionField.test.mjs +84 -0
- package/lib/data-source/__tests__/collection-field/CollectionFieldProvider.test.mjs +70 -0
- package/lib/data-source/__tests__/collection-field-interface/CollectionFieldInterfaceManager.test.mjs +171 -0
- package/lib/data-source/__tests__/collection-record/CollectionRecord.test.mjs +27 -0
- package/lib/data-source/__tests__/collection-record/CollectionRecordProvider.test.mjs +268 -0
- package/lib/data-source/__tests__/collection-record/isNewRecord.test.mjs +55 -0
- package/lib/data-source/__tests__/collection-template/CollectionTemplateManager.test.mjs +132 -0
- package/lib/data-source/__tests__/components/CollectionDeletedPlaceholder.test.mjs +58 -0
- package/lib/data-source/__tests__/data-block/DataBlockProvider.test.mjs +151 -0
- package/lib/data-source/__tests__/data-block/data-block-demos/association-table-list-and-parent-record.mjs +108 -0
- package/lib/data-source/__tests__/data-block/data-block-demos/association-table-list-and-source-id.mjs +160 -0
- package/lib/data-source/__tests__/data-block/data-block-demos/collection-form-create.mjs +131 -0
- package/lib/data-source/__tests__/data-block/data-block-demos/collection-form-get-and-update.mjs +197 -0
- package/lib/data-source/__tests__/data-block/data-block-demos/collection-form-record-and-update.mjs +160 -0
- package/lib/data-source/__tests__/data-block/data-block-demos/collection-table-list.mjs +114 -0
- package/lib/data-source/__tests__/data-block/data-block-demos/createApp.mjs +66 -0
- package/lib/data-source/__tests__/data-source/CollectionDataSourceProvider.test.mjs +56 -0
- package/lib/data-source/__tests__/data-source/DataSource.test.mjs +81 -0
- package/lib/data-source/__tests__/data-source/DataSourceManager.test.mjs +174 -0
- package/lib/data-source/__tests__/data-source/DataSourceManagerProvider.test.mjs +45 -0
- package/lib/data-source/__tests__/data-source/DataSourceProvider.test.mjs +100 -0
- package/lib/data-source/__tests__/utils.test.mjs +66 -0
- package/lib/data-source/collection/AssociationProvider.mjs +68 -0
- package/lib/data-source/collection/Collection.mjs +200 -0
- package/lib/data-source/collection/CollectionManager.mjs +165 -0
- package/lib/data-source/collection/CollectionManagerProvider.mjs +64 -0
- package/lib/data-source/collection/CollectionProvider.mjs +53 -0
- package/lib/data-source/collection/ExtendCollectionsProvider.mjs +47 -0
- package/lib/data-source/collection/index.mjs +15 -0
- package/lib/data-source/collection/utils.mjs +62 -0
- package/lib/data-source/collection-field/CollectionField.mjs +116 -0
- package/lib/data-source/collection-field/CollectionFieldProvider.mjs +65 -0
- package/lib/data-source/collection-field/index.mjs +7 -0
- package/lib/data-source/collection-field-interface/CollectionFieldInterface.mjs +42 -0
- package/lib/data-source/collection-field-interface/CollectionFieldInterfaceManager.mjs +65 -0
- package/lib/data-source/collection-field-interface/index.mjs +7 -0
- package/lib/data-source/collection-record/CollectionRecord.mjs +34 -0
- package/lib/data-source/collection-record/CollectionRecordProvider.mjs +78 -0
- package/lib/data-source/collection-record/index.mjs +7 -0
- package/lib/data-source/collection-record/isNewRecord.mjs +26 -0
- package/lib/data-source/collection-template/CollectionTemplate.mjs +39 -0
- package/lib/data-source/collection-template/CollectionTemplateManager.mjs +61 -0
- package/lib/data-source/collection-template/index.mjs +7 -0
- package/lib/data-source/commonsSettingsItem/fieldComponent.mjs +80 -0
- package/lib/data-source/commonsSettingsItem/index.mjs +5 -0
- package/lib/data-source/components/CollectionDeletedPlaceholder.mjs +125 -0
- package/lib/data-source/components/DataSourceApplicationProvider.mjs +32 -0
- package/lib/data-source/components/index.mjs +7 -0
- package/lib/data-source/data-block/DataBlockProvider.mjs +115 -0
- package/lib/data-source/data-block/DataBlockRequestProvider.mjs +168 -0
- package/lib/data-source/data-block/DataBlockResourceProvider.mjs +84 -0
- package/lib/data-source/data-block/context/ConfigSetting.provider.mjs +18 -0
- package/lib/data-source/data-block/index.mjs +11 -0
- package/lib/data-source/data-source/DataSource.mjs +83 -0
- package/lib/data-source/data-source/DataSourceManager.mjs +127 -0
- package/lib/data-source/data-source/DataSourceManagerProvider.mjs +25 -0
- package/lib/data-source/data-source/DataSourceProvider.mjs +87 -0
- package/lib/data-source/data-source/index.mjs +11 -0
- package/lib/data-source/index.mjs +23 -0
- package/lib/data-source/utils.mjs +28 -0
- package/lib/env.d.mjs +1 -0
- package/lib/filter-provider/FilterProvider.mjs +182 -0
- package/lib/filter-provider/__tests__/transformToFilter.mjs +74 -0
- package/lib/filter-provider/__tests__/useFilter.mjs +61 -0
- package/lib/filter-provider/__tests__/utiles.test.mjs +271 -0
- package/lib/filter-provider/index.mjs +7 -0
- package/lib/filter-provider/utils.mjs +262 -0
- package/lib/flag-provider/FlagProvider.mjs +19 -0
- package/lib/flag-provider/__tests__/flag-provider.test.mjs +37 -0
- package/lib/flag-provider/hooks/useFlag.mjs +15 -0
- package/lib/flag-provider/index.mjs +7 -0
- package/lib/global.css +34 -0
- package/lib/hooks/index.mjs +7 -0
- package/lib/hooks/useAdminSchemaUid.mjs +7 -0
- package/lib/hooks/useMenuItem.mjs +101 -0
- package/lib/hooks/useViewport.mjs +47 -0
- package/lib/i18n/i18n.mjs +37 -0
- package/lib/i18n/index.mjs +5 -0
- package/lib/icon/Icon.mjs +80 -0
- package/lib/icon/__tests__/icon.test.mjs +49 -0
- package/lib/icon/demos/antd-icon.mjs +19 -0
- package/lib/icon/demos/custom-icon.mjs +28 -0
- package/lib/icon/demos/iconfont.mjs +22 -0
- package/lib/icon/demos/register-icon.mjs +35 -0
- package/lib/icon/index.mjs +5 -0
- package/lib/icon/preloaded.mjs +139 -0
- package/lib/index.mjs +53 -102387
- package/lib/locale/index.mjs +274 -0
- package/lib/modules/actions/ActionSchemaToolbar.mjs +24 -0
- package/lib/modules/actions/add-child/CreateChildInitializer.mjs +76 -0
- package/lib/modules/actions/add-child/addChildActionSettings.mjs +88 -0
- package/lib/modules/actions/add-new/CreateActionInitializer.mjs +82 -0
- package/lib/modules/actions/add-new/addNewActionSettings.mjs +81 -0
- package/lib/modules/actions/add-new/createFormBlockInitializers.mjs +75 -0
- package/lib/modules/actions/add-record/CustomizeAddRecordActionInitializer.mjs +78 -0
- package/lib/modules/actions/add-record/customizeAddRecordActionSettings.mjs +50 -0
- package/lib/modules/actions/add-record/customizeCreateFormBlockInitializers.mjs +45 -0
- package/lib/modules/actions/bulk-destroy/BulkDestroyActionInitializer.mjs +52 -0
- package/lib/modules/actions/bulk-destroy/bulkDeleteActionSettings.mjs +42 -0
- package/lib/modules/actions/delete/DestroyActionInitializer.mjs +40 -0
- package/lib/modules/actions/delete/deleteActionSettings.mjs +57 -0
- package/lib/modules/actions/disassociate/DisassociateActionInitializer.mjs +40 -0
- package/lib/modules/actions/disassociate/__e2e__/disassociate.test.mjs +53 -0
- package/lib/modules/actions/disassociate/__e2e__/templatesOfPage.mjs +386 -0
- package/lib/modules/actions/disassociate/disassociateActionSettings.mjs +57 -0
- package/lib/modules/actions/expand-collapse/ExpandableActionInitializer.mjs +40 -0
- package/lib/modules/actions/expand-collapse/expendableActionSettings.mjs +148 -0
- package/lib/modules/actions/filter/FilterActionInitializer.mjs +34 -0
- package/lib/modules/actions/filter/filterActionSettings.mjs +103 -0
- package/lib/modules/actions/link/customizeLinkActionSettings.mjs +149 -0
- package/lib/modules/actions/link/hooks.mjs +243 -0
- package/lib/modules/actions/refresh/RefreshActionInitializer.mjs +33 -0
- package/lib/modules/actions/refresh/refreshActionSettings.mjs +42 -0
- package/lib/modules/actions/save-record/SaveRecordActionInitializer.mjs +49 -0
- package/lib/modules/actions/save-record/customizeSaveRecordActionSettings.mjs +67 -0
- package/lib/modules/actions/submit/CreateSubmitActionInitializer.mjs +39 -0
- package/lib/modules/actions/submit/UpdateSubmitActionInitializer.mjs +44 -0
- package/lib/modules/actions/submit/createSubmitActionSettings.mjs +250 -0
- package/lib/modules/actions/submit/updateSubmitActionSettings.mjs +107 -0
- package/lib/modules/actions/update-record/UpdateRecordActionInitializer.mjs +48 -0
- package/lib/modules/actions/update-record/customizeUpdateRecordActionSettings.mjs +83 -0
- package/lib/modules/actions/view-edit-popup/PopupActionInitializer.mjs +74 -0
- package/lib/modules/actions/view-edit-popup/RecordFormBlockInitializers.mjs +46 -0
- package/lib/modules/actions/view-edit-popup/UpdateActionInitializer.mjs +69 -0
- package/lib/modules/actions/view-edit-popup/ViewActionInitializer.mjs +68 -0
- package/lib/modules/actions/view-edit-popup/customizePopupActionSettings.mjs +70 -0
- package/lib/modules/actions/view-edit-popup/editActionSettings.mjs +65 -0
- package/lib/modules/actions/view-edit-popup/viewActionSettings.mjs +70 -0
- package/lib/modules/blocks/BlockSchemaToolbar.mjs +85 -0
- package/lib/modules/blocks/data-blocks/details-multi/DetailsActionInitializers.mjs +49 -0
- package/lib/modules/blocks/data-blocks/details-multi/DetailsBlockInitializer.mjs +76 -0
- package/lib/modules/blocks/data-blocks/details-multi/__e2e__/schemaInitializer.test.mjs +123 -0
- package/lib/modules/blocks/data-blocks/details-multi/__e2e__/schemaSettings.test.mjs +81 -0
- package/lib/modules/blocks/data-blocks/details-multi/__e2e__/templatesOfBug.mjs +1 -0
- package/lib/modules/blocks/data-blocks/details-multi/__tests__/createDetailsBlockWithPagingUISchema.test.mjs +20 -0
- package/lib/modules/blocks/data-blocks/details-multi/createDetailsWithPaginationUISchema.mjs +66 -0
- package/lib/modules/blocks/data-blocks/details-multi/detailsWithPaginationSettings.mjs +256 -0
- package/lib/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationDecoratorProps.mjs +19 -0
- package/lib/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationProps.mjs +11 -0
- package/lib/modules/blocks/data-blocks/details-multi/setDataLoadingModeSettingsItem.mjs +106 -0
- package/lib/modules/blocks/data-blocks/details-single/ReadPrettyFormActionInitializers.mjs +94 -0
- package/lib/modules/blocks/data-blocks/details-single/ReadPrettyFormItemInitializers.mjs +110 -0
- package/lib/modules/blocks/data-blocks/details-single/RecordReadPrettyFormBlockInitializer.mjs +108 -0
- package/lib/modules/blocks/data-blocks/details-single/__e2e__/schemaInitializer.test.mjs +110 -0
- package/lib/modules/blocks/data-blocks/details-single/__e2e__/schemaSettings.test.mjs +31 -0
- package/lib/modules/blocks/data-blocks/details-single/__e2e__/templatesOfBug.mjs +1 -0
- package/lib/modules/blocks/data-blocks/details-single/__tests__/createDetailsBlockWithoutPagingUISchema.test.mjs +21 -0
- package/lib/modules/blocks/data-blocks/details-single/createDetailsUISchema.mjs +62 -0
- package/lib/modules/blocks/data-blocks/details-single/detailsBlockSettings.mjs +67 -0
- package/lib/modules/blocks/data-blocks/details-single/hooks/useDetailsDecoratorProps.mjs +43 -0
- package/lib/modules/blocks/data-blocks/details-single/hooks/useDetailsProps.mjs +11 -0
- package/lib/modules/blocks/data-blocks/form/CreateFormBlockInitializer.mjs +85 -0
- package/lib/modules/blocks/data-blocks/form/FilterItemCustomSettings.mjs +321 -0
- package/lib/modules/blocks/data-blocks/form/FormBlockInitializer.mjs +113 -0
- package/lib/modules/blocks/data-blocks/form/FormItemSchemaToolbar.mjs +23 -0
- package/lib/modules/blocks/data-blocks/form/RecordFormBlockInitializer.mjs +123 -0
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/associationForm.test.mjs +27 -0
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/dragAndDrop.test.mjs +33 -0
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadAssociationFields.test.mjs +207 -0
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadVariables.test.mjs +36 -0
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/schemaInitializer.test.mjs +167 -0
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/schemaSettings.test.mjs +1367 -0
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/templatesOfBug.mjs +6009 -0
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaInitializer.test.mjs +22 -0
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaSettings.test.mjs +235 -0
- package/lib/modules/blocks/data-blocks/form/__e2e__/form-edit/templatesOfBug.mjs +1 -0
- package/lib/modules/blocks/data-blocks/form/__tests__/createCreateFormBlockUISchema.test.mjs +27 -0
- package/lib/modules/blocks/data-blocks/form/__tests__/createEditFormBlockUISchema.test.mjs +27 -0
- package/lib/modules/blocks/data-blocks/form/createCreateFormBlockUISchema.mjs +63 -0
- package/lib/modules/blocks/data-blocks/form/createEditFormBlockUISchema.mjs +62 -0
- package/lib/modules/blocks/data-blocks/form/createFormActionInitializers.mjs +51 -0
- package/lib/modules/blocks/data-blocks/form/createFormBlockSettings.mjs +157 -0
- package/lib/modules/blocks/data-blocks/form/editFormBlockSettings.mjs +90 -0
- package/lib/modules/blocks/data-blocks/form/fieldSettingsFormItem.mjs +598 -0
- package/lib/modules/blocks/data-blocks/form/formActionInitializers.mjs +54 -0
- package/lib/modules/blocks/data-blocks/form/formItemInitializers.mjs +51 -0
- package/lib/modules/blocks/data-blocks/form/hooks/useCreateFormBlockDecoratorProps.mjs +19 -0
- package/lib/modules/blocks/data-blocks/form/hooks/useCreateFormBlockProps.mjs +11 -0
- package/lib/modules/blocks/data-blocks/form/hooks/useEditFormBlockDecoratorProps.mjs +29 -0
- package/lib/modules/blocks/data-blocks/form/hooks/useEditFormBlockProps.mjs +11 -0
- package/lib/modules/blocks/data-blocks/form/index.mjs +31 -0
- package/lib/modules/blocks/data-blocks/form/updateFormActionInitializers.mjs +62 -0
- package/lib/modules/blocks/data-blocks/grid-card/GridCardActionInitializers.mjs +94 -0
- package/lib/modules/blocks/data-blocks/grid-card/GridCardBlockInitializer.mjs +69 -0
- package/lib/modules/blocks/data-blocks/grid-card/__e2e__/schemaInitializer.test.mjs +231 -0
- package/lib/modules/blocks/data-blocks/grid-card/__e2e__/schemaSettings.test.mjs +58 -0
- package/lib/modules/blocks/data-blocks/grid-card/__e2e__/templatesOfBug.mjs +1 -0
- package/lib/modules/blocks/data-blocks/grid-card/__tests__/createGridCardBlockSchema.test.mjs +32 -0
- package/lib/modules/blocks/data-blocks/grid-card/createGridCardBlockUISchema.mjs +78 -0
- package/lib/modules/blocks/data-blocks/grid-card/gridCardBlockSettings.mjs +484 -0
- package/lib/modules/blocks/data-blocks/grid-card/gridCardItemActionInitializers.mjs +109 -0
- package/lib/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockDecoratorProps.mjs +25 -0
- package/lib/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockParams.mjs +28 -0
- package/lib/modules/blocks/data-blocks/grid-card/utils.mjs +17 -0
- package/lib/modules/blocks/data-blocks/list/ListActionInitializers.mjs +90 -0
- package/lib/modules/blocks/data-blocks/list/ListBlockInitializer.mjs +69 -0
- package/lib/modules/blocks/data-blocks/list/__e2e__/schemaInitializer.test.mjs +224 -0
- package/lib/modules/blocks/data-blocks/list/__e2e__/schemaSettings.test.mjs +29 -0
- package/lib/modules/blocks/data-blocks/list/__e2e__/templatesOfBug.mjs +1 -0
- package/lib/modules/blocks/data-blocks/list/__tests__/createListBlockSchema.test.mjs +30 -0
- package/lib/modules/blocks/data-blocks/list/createListBlockUISchema.mjs +71 -0
- package/lib/modules/blocks/data-blocks/list/hooks/useListBlockDecoratorProps.mjs +19 -0
- package/lib/modules/blocks/data-blocks/list/listBlockSettings.mjs +286 -0
- package/lib/modules/blocks/data-blocks/list/listItemActionInitializers.mjs +109 -0
- package/lib/modules/blocks/data-blocks/table/TableActionColumnInitializers.mjs +287 -0
- package/lib/modules/blocks/data-blocks/table/TableActionInitializers.mjs +143 -0
- package/lib/modules/blocks/data-blocks/table/TableBlockInitializer.mjs +69 -0
- package/lib/modules/blocks/data-blocks/table/TableColumnInitializers.mjs +135 -0
- package/lib/modules/blocks/data-blocks/table/TableColumnSchemaToolbar.mjs +35 -0
- package/lib/modules/blocks/data-blocks/table/__e2e__/actions/duplicate.test.mjs +19 -0
- package/lib/modules/blocks/data-blocks/table/__e2e__/actions/filter.test.mjs +46 -0
- package/lib/modules/blocks/data-blocks/table/__e2e__/checkboxForTableRow.test.mjs +28 -0
- package/lib/modules/blocks/data-blocks/table/__e2e__/dragAndDrop.test.mjs +40 -0
- package/lib/modules/blocks/data-blocks/table/__e2e__/schemaInitializer.test.mjs +450 -0
- package/lib/modules/blocks/data-blocks/table/__e2e__/schemaSettings.test.mjs +922 -0
- package/lib/modules/blocks/data-blocks/table/__e2e__/templatesOfBug.mjs +937 -0
- package/lib/modules/blocks/data-blocks/table/__e2e__/tree/schemaSettings.test.mjs +53 -0
- package/lib/modules/blocks/data-blocks/table/__tests__/createTableBLockSchema.test.mjs +24 -0
- package/lib/modules/blocks/data-blocks/table/createTableBlockUISchema.mjs +90 -0
- package/lib/modules/blocks/data-blocks/table/hooks/useTableBlockDecoratorProps.mjs +54 -0
- package/lib/modules/blocks/data-blocks/table/hooks/useTableBlockProps.mjs +176 -0
- package/lib/modules/blocks/data-blocks/table/index.mjs +21 -0
- package/lib/modules/blocks/data-blocks/table/tableBlockSettings.mjs +461 -0
- package/lib/modules/blocks/data-blocks/table/tableColumnSettings.mjs +388 -0
- package/lib/modules/blocks/data-blocks/table/utils.mjs +30 -0
- package/lib/modules/blocks/data-blocks/table-selector/TableSelectorInitializer.mjs +45 -0
- package/lib/modules/blocks/data-blocks/table-selector/__e2e__/schemaInitializer.test.mjs +174 -0
- package/lib/modules/blocks/data-blocks/table-selector/__e2e__/schemaSettings.test.mjs +169 -0
- package/lib/modules/blocks/data-blocks/table-selector/__e2e__/templatesOfBug.mjs +695 -0
- package/lib/modules/blocks/data-blocks/table-selector/__e2e__/utils.mjs +20 -0
- package/lib/modules/blocks/data-blocks/table-selector/__tests__/createTableSelectorSchema.test.mjs +22 -0
- package/lib/modules/blocks/data-blocks/table-selector/createTableSelectorUISchema.mjs +55 -0
- package/lib/modules/blocks/data-blocks/table-selector/hooks/useTableSelectorDecoratorProps.mjs +5 -0
- package/lib/modules/blocks/data-blocks/table-selector/index.mjs +7 -0
- package/lib/modules/blocks/data-blocks/table-selector/tableSelectorBlockSettings.mjs +353 -0
- package/lib/modules/blocks/filter-blocks/collapse/CollapseItemSchemaToolbar.mjs +22 -0
- package/lib/modules/blocks/filter-blocks/collapse/FilterCollapseBlockInitializer.mjs +51 -0
- package/lib/modules/blocks/filter-blocks/collapse/__e2e__/schemaInitializer.test.mjs +67 -0
- package/lib/modules/blocks/filter-blocks/collapse/__e2e__/schemaSettings.test.mjs +72 -0
- package/lib/modules/blocks/filter-blocks/collapse/__e2e__/templatesOfBug.mjs +1 -0
- package/lib/modules/blocks/filter-blocks/collapse/__tests__/createCollapseBlockSchema.test.mjs +46 -0
- package/lib/modules/blocks/filter-blocks/collapse/createFilterCollapseBlockSchema.mjs +37 -0
- package/lib/modules/blocks/filter-blocks/collapse/filterCollapseBlockSettings.mjs +79 -0
- package/lib/modules/blocks/filter-blocks/collapse/filterCollapseItemFieldSettings.mjs +244 -0
- package/lib/modules/blocks/filter-blocks/collapse/filterCollapseItemInitializer.mjs +170 -0
- package/lib/modules/blocks/filter-blocks/collapse/hooks/useCollapseBlockDecoratorProps.mjs +5 -0
- package/lib/modules/blocks/filter-blocks/form/FilterFormActionInitializers.mjs +38 -0
- package/lib/modules/blocks/filter-blocks/form/FilterFormBlockInitializer.mjs +60 -0
- package/lib/modules/blocks/filter-blocks/form/__e2e__/schemaInitializer.test.mjs +127 -0
- package/lib/modules/blocks/filter-blocks/form/__e2e__/schemaSettings.test.mjs +111 -0
- package/lib/modules/blocks/filter-blocks/form/__e2e__/templatesOfBug.mjs +1 -0
- package/lib/modules/blocks/filter-blocks/form/__tests__/createFilterFormBlockSchema.test.mjs +31 -0
- package/lib/modules/blocks/filter-blocks/form/createFilterFormBlockSchema.mjs +56 -0
- package/lib/modules/blocks/filter-blocks/form/filterFormBlockSettings.mjs +87 -0
- package/lib/modules/blocks/filter-blocks/form/filterFormItemFieldSettings.mjs +394 -0
- package/lib/modules/blocks/filter-blocks/form/filterFormItemInitializers.mjs +53 -0
- package/lib/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockDecoratorProps.mjs +5 -0
- package/lib/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockProps.mjs +11 -0
- package/lib/modules/blocks/filter-blocks/tree/FilterTreeActionInitializers.mjs +38 -0
- package/lib/modules/blocks/filter-blocks/tree/FilterTreeBlockInitializer.mjs +101 -0
- package/lib/modules/blocks/filter-blocks/tree/filterTreeBlockSettings.mjs +87 -0
- package/lib/modules/blocks/filter-blocks/tree/filterTreeItemFieldSettings.mjs +394 -0
- package/lib/modules/blocks/filter-blocks/tree/filterTreeItemInitializers.mjs +53 -0
- package/lib/modules/blocks/other-blocks/markdown/MarkdownBlockInitializer.mjs +48 -0
- package/lib/modules/blocks/other-blocks/markdown/MarkdownFormItemInitializer.mjs +42 -0
- package/lib/modules/blocks/other-blocks/markdown/__e2e__/schemaInitializer.test.mjs +16 -0
- package/lib/modules/blocks/other-blocks/markdown/__e2e__/schemaSettings.test.mjs +40 -0
- package/lib/modules/blocks/other-blocks/markdown/__e2e__/templatesOfBug.mjs +1 -0
- package/lib/modules/blocks/other-blocks/markdown/markdownBlockSettings.mjs +51 -0
- package/lib/modules/blocks/useParentRecordCommon.mjs +18 -0
- package/lib/modules/blocks/useSourceId.mjs +23 -0
- package/lib/modules/blocks/useSourceKey.mjs +16 -0
- package/lib/modules/dialog/__e2e__/schemaInitializer.test.mjs +435 -0
- package/lib/modules/dialog/__e2e__/schemaSettings.test.mjs +65 -0
- package/lib/modules/dialog/__e2e__/templatesOfBug.mjs +2128 -0
- package/lib/modules/dialog/__e2e__/zIndex.test.mjs +46 -0
- package/lib/modules/fields/component/CascadeSelect/cascadeSelectComponentFieldSettings.mjs +120 -0
- package/lib/modules/fields/component/Cascader/cascaderComponentFieldSettings.mjs +457 -0
- package/lib/modules/fields/component/Checkbox/checkboxComponentFieldSettings.mjs +71 -0
- package/lib/modules/fields/component/DatePicker/__e2e__/schemaSettings.test.mjs +86 -0
- package/lib/modules/fields/component/DatePicker/__e2e__/utils.mjs +335 -0
- package/lib/modules/fields/component/DatePicker/datePickerComponentFieldSettings.mjs +37 -0
- package/lib/modules/fields/component/DrawerSubTable/drawerSubTableComponentFieldSettings.mjs +184 -0
- package/lib/modules/fields/component/FileManager/fileManagerComponentFieldSettings.mjs +225 -0
- package/lib/modules/fields/component/FileManager/uploadAttachmentComponentFieldSettings.mjs +123 -0
- package/lib/modules/fields/component/InputNumber/inputNumberComponentFieldSettings.mjs +45 -0
- package/lib/modules/fields/component/Nester/subformComponentFieldSettings.mjs +157 -0
- package/lib/modules/fields/component/Picker/TableSelectorInitializers.mjs +98 -0
- package/lib/modules/fields/component/Picker/recordPickerComponentFieldSettings.mjs +222 -0
- package/lib/modules/fields/component/PopoverNester/subformPopoverComponentFieldSettings.mjs +134 -0
- package/lib/modules/fields/component/Radio/radioComponentFieldSettings.mjs +71 -0
- package/lib/modules/fields/component/Select/selectComponentFieldSettings.mjs +453 -0
- package/lib/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.mjs +447 -0
- package/lib/modules/fields/component/Tag/tagComponentFieldSettings.mjs +207 -0
- package/lib/modules/fields/component/UnixTimestamp/unixTimestampComponentFieldSettings.mjs +37 -0
- package/lib/modules/fields/initializer/CollectionFieldInitializer.mjs +30 -0
- package/lib/modules/fields/initializer/TableCollectionFieldInitializer.mjs +30 -0
- package/lib/modules/menu/GroupItem.mjs +110 -0
- package/lib/modules/menu/LinkMenuItem.mjs +116 -0
- package/lib/modules/menu/PageMenuItem.mjs +125 -0
- package/lib/modules/menu/__e2e__/dragAndDrop.test.mjs +34 -0
- package/lib/modules/menu/__e2e__/schemaInitializer.test.mjs +114 -0
- package/lib/modules/menu/__e2e__/schemaSettings.test.mjs +366 -0
- package/lib/modules/menu/__e2e__/templatesOfBug.mjs +1 -0
- package/lib/modules/menu/menuItemInitializer.mjs +65 -0
- package/lib/modules/page/BlockInitializers.mjs +86 -0
- package/lib/modules/page/__e2e__/blockInitializers.test.mjs +23 -0
- package/lib/modules/page/__e2e__/dragAndDrop.test.mjs +24 -0
- package/lib/modules/page/__e2e__/schemaInitailizer.test.mjs +22 -0
- package/lib/modules/page/__e2e__/schemaSettings.test.mjs +154 -0
- package/lib/modules/page/__e2e__/templatesOfBug.mjs +1 -0
- package/lib/modules/plugin-manager/__e2e__/pluginManager.test.mjs +132 -0
- package/lib/modules/plugin-manager/__e2e__/templatesOfBug.mjs +1 -0
- package/lib/modules/user-center/__e2e__/settings.test.mjs +18 -0
- package/lib/modules/variable/DeclareVariable.mjs +27 -0
- package/lib/modules/variable/useVariable.mjs +27 -0
- package/lib/powered-by/index.mjs +57 -0
- package/lib/record-provider/index.mjs +77 -0
- package/lib/route-switch/RouteSchemaComponent.mjs +27 -0
- package/lib/route-switch/index.mjs +5 -0
- package/lib/schema-component/antd/AntdSchemaComponentProvider.mjs +74 -0
- package/lib/schema-component/antd/__builtins__/hooks/index.mjs +9 -0
- package/lib/schema-component/antd/__builtins__/hooks/useConfig.mjs +14 -0
- package/lib/schema-component/antd/__builtins__/hooks/usePrefixCls.mjs +22 -0
- package/lib/schema-component/antd/__builtins__/hooks/useToken.mjs +13 -0
- package/lib/schema-component/antd/__builtins__/index.mjs +11 -0
- package/lib/schema-component/antd/__builtins__/loading.mjs +21 -0
- package/lib/schema-component/antd/__builtins__/portal.mjs +76 -0
- package/lib/schema-component/antd/__builtins__/render.mjs +65 -0
- package/lib/schema-component/antd/__builtins__/style.mjs +79 -0
- package/lib/schema-component/antd/action/Action.Area.mjs +130 -0
- package/lib/schema-component/antd/action/Action.Area.style.mjs +48 -0
- package/lib/schema-component/antd/action/Action.Container.mjs +75 -0
- package/lib/schema-component/antd/action/Action.Designer.mjs +1053 -0
- package/lib/schema-component/antd/action/Action.Drawer.mjs +179 -0
- package/lib/schema-component/antd/action/Action.Drawer.style.mjs +52 -0
- package/lib/schema-component/antd/action/Action.Link.mjs +37 -0
- package/lib/schema-component/antd/action/Action.Modal.mjs +214 -0
- package/lib/schema-component/antd/action/Action.Page.mjs +112 -0
- package/lib/schema-component/antd/action/Action.Popover.mjs +1 -0
- package/lib/schema-component/antd/action/Action.Sheet.mjs +115 -0
- package/lib/schema-component/antd/action/Action.mjs +349 -0
- package/lib/schema-component/antd/action/Action.style.mjs +53 -0
- package/lib/schema-component/antd/action/ActionBar.mjs +172 -0
- package/lib/schema-component/antd/action/__tests__/action.test.mjs +161 -0
- package/lib/schema-component/antd/action/context.mjs +29 -0
- package/lib/schema-component/antd/action/demos/demo1.mjs +87 -0
- package/lib/schema-component/antd/action/demos/demo2.mjs +90 -0
- package/lib/schema-component/antd/action/demos/demo3.mjs +148 -0
- package/lib/schema-component/antd/action/demos/demo4.mjs +75 -0
- package/lib/schema-component/antd/action/demos/demo5.mjs +237 -0
- package/lib/schema-component/antd/action/demos/demo6.mjs +114 -0
- package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfAction.mjs +62 -0
- package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfDrawer.mjs +43 -0
- package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfModal.mjs +43 -0
- package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfPopover.mjs +43 -0
- package/lib/schema-component/antd/action/hooks/useSetAriaLabelForDrawer.mjs +42 -0
- package/lib/schema-component/antd/action/hooks/useSetAriaLabelForModal.mjs +44 -0
- package/lib/schema-component/antd/action/hooks/useSetAriaLabelForPopover.mjs +33 -0
- package/lib/schema-component/antd/action/hooks.mjs +86 -0
- package/lib/schema-component/antd/action/index.mjs +23 -0
- package/lib/schema-component/antd/action/types.mjs +4 -0
- package/lib/schema-component/antd/action/utils.mjs +229 -0
- package/lib/schema-component/antd/appends-tree-select/AppendsTreeSelect.mjs +268 -0
- package/lib/schema-component/antd/appends-tree-select/AppendsTreeSelectV2.mjs +267 -0
- package/lib/schema-component/antd/appends-tree-select/index.mjs +7 -0
- package/lib/schema-component/antd/association-cascader/AssociationCascader.mjs +173 -0
- package/lib/schema-component/antd/association-cascader/index.mjs +5 -0
- package/lib/schema-component/antd/association-field/AssociationFieldProvider.mjs +166 -0
- package/lib/schema-component/antd/association-field/AssociationSelect.mjs +229 -0
- package/lib/schema-component/antd/association-field/Editable.mjs +165 -0
- package/lib/schema-component/antd/association-field/FileManager.mjs +261 -0
- package/lib/schema-component/antd/association-field/InternalCascadeSelect.mjs +463 -0
- package/lib/schema-component/antd/association-field/InternalCascader.mjs +443 -0
- package/lib/schema-component/antd/association-field/InternalDrawerSubTable.mjs +138 -0
- package/lib/schema-component/antd/association-field/InternalNester.mjs +117 -0
- package/lib/schema-component/antd/association-field/InternalPicker.mjs +276 -0
- package/lib/schema-component/antd/association-field/InternalPopoverNester.mjs +176 -0
- package/lib/schema-component/antd/association-field/InternalSubTable.mjs +133 -0
- package/lib/schema-component/antd/association-field/InternalTag.mjs +180 -0
- package/lib/schema-component/antd/association-field/InternalViewer.mjs +197 -0
- package/lib/schema-component/antd/association-field/Nester.mjs +330 -0
- package/lib/schema-component/antd/association-field/ReadPretty.mjs +82 -0
- package/lib/schema-component/antd/association-field/SubTable.mjs +351 -0
- package/lib/schema-component/antd/association-field/SubTabs/InternalCollapse.mjs +384 -0
- package/lib/schema-component/antd/association-field/SubTabs/hook.mjs +87 -0
- package/lib/schema-component/antd/association-field/SubTabs/index.mjs +5 -0
- package/lib/schema-component/antd/association-field/SubTabs/styles.mjs +33 -0
- package/lib/schema-component/antd/association-field/components/CreateRecordAction.mjs +84 -0
- package/lib/schema-component/antd/association-field/context.mjs +10 -0
- package/lib/schema-component/antd/association-field/hooks.mjs +221 -0
- package/lib/schema-component/antd/association-field/index.mjs +42 -0
- package/lib/schema-component/antd/association-field/schema.mjs +135 -0
- package/lib/schema-component/antd/association-field/util.mjs +133 -0
- package/lib/schema-component/antd/association-filter/ActionBarAssociationFilterAction.mjs +88 -0
- package/lib/schema-component/antd/association-filter/AssociationFilter.BlockDesigner.mjs +67 -0
- package/lib/schema-component/antd/association-filter/AssociationFilter.Initializer.mjs +67 -0
- package/lib/schema-component/antd/association-filter/AssociationFilter.Item.Designer.mjs +168 -0
- package/lib/schema-component/antd/association-filter/AssociationFilter.Item.mjs +183 -0
- package/lib/schema-component/antd/association-filter/AssociationFilter.Item.style.mjs +107 -0
- package/lib/schema-component/antd/association-filter/AssociationFilter.mjs +128 -0
- package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDelete.mjs +55 -0
- package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDisplayField.mjs +43 -0
- package/lib/schema-component/antd/association-filter/utilts.mjs +7 -0
- package/lib/schema-component/antd/association-select/AssociationSelect.mjs +1010 -0
- package/lib/schema-component/antd/association-select/ReadPretty.mjs +38 -0
- package/lib/schema-component/antd/association-select/__tests__/association-select.test.mjs +33 -0
- package/lib/schema-component/antd/association-select/demos/demo1.mjs +75 -0
- package/lib/schema-component/antd/association-select/index.mjs +5 -0
- package/lib/schema-component/antd/association-select/useServiceOptions.mjs +114 -0
- package/lib/schema-component/antd/auto-complete/AutoComplete.mjs +92 -0
- package/lib/schema-component/antd/auto-complete/index.mjs +5 -0
- package/lib/schema-component/antd/block-item/BlockItem.mjs +93 -0
- package/lib/schema-component/antd/block-item/BlockToolbar.mjs +114 -0
- package/lib/schema-component/antd/block-item/__tests__/block-item.test.mjs +29 -0
- package/lib/schema-component/antd/block-item/demos/demo1.mjs +75 -0
- package/lib/schema-component/antd/block-item/hooks/useGetAriaLabelOfBlockItem.mjs +63 -0
- package/lib/schema-component/antd/block-item/index.mjs +5 -0
- package/lib/schema-component/antd/block-item/useBlockToolbar.mjs +107 -0
- package/lib/schema-component/antd/card-item/CardItem.mjs +49 -0
- package/lib/schema-component/antd/card-item/__tests__/card-item.test.mjs +28 -0
- package/lib/schema-component/antd/card-item/demos/demo1.mjs +45 -0
- package/lib/schema-component/antd/card-item/index.mjs +5 -0
- package/lib/schema-component/antd/card-item/style.mjs +33 -0
- package/lib/schema-component/antd/cascader/Cascader.mjs +123 -0
- package/lib/schema-component/antd/cascader/ReadPretty.mjs +50 -0
- package/lib/schema-component/antd/cascader/__tests__/cascader.test.mjs +56 -0
- package/lib/schema-component/antd/cascader/defaultFieldNames.mjs +9 -0
- package/lib/schema-component/antd/cascader/demos/demo1.mjs +100 -0
- package/lib/schema-component/antd/cascader/demos/demo2.mjs +140 -0
- package/lib/schema-component/antd/cascader/index.mjs +5 -0
- package/lib/schema-component/antd/checkbox/Checkbox.mjs +120 -0
- package/lib/schema-component/antd/checkbox/__tests__/checkbox.test.mjs +60 -0
- package/lib/schema-component/antd/checkbox/demos/checkbox.group.mjs +73 -0
- package/lib/schema-component/antd/checkbox/demos/checkbox.mjs +59 -0
- package/lib/schema-component/antd/checkbox/index.mjs +5 -0
- package/lib/schema-component/antd/collection-select/CollectionSelect.mjs +194 -0
- package/lib/schema-component/antd/collection-select/__tests__/collection-select.test.mjs +33 -0
- package/lib/schema-component/antd/collection-select/demos/demo1.mjs +54 -0
- package/lib/schema-component/antd/collection-select/index.mjs +5 -0
- package/lib/schema-component/antd/color-picker/ColorPicker.mjs +114 -0
- package/lib/schema-component/antd/color-picker/ReadPretty.mjs +36 -0
- package/lib/schema-component/antd/color-picker/demos/demo1.mjs +68 -0
- package/lib/schema-component/antd/color-picker/index.mjs +5 -0
- package/lib/schema-component/antd/color-picker/util.mjs +196 -0
- package/lib/schema-component/antd/color-select/ColorSelect.mjs +73 -0
- package/lib/schema-component/antd/color-select/__tests__/color-select.test.mjs +32 -0
- package/lib/schema-component/antd/color-select/demos/demo1.mjs +59 -0
- package/lib/schema-component/antd/color-select/index.mjs +5 -0
- package/lib/schema-component/antd/cron/Cron.mjs +100 -0
- package/lib/schema-component/antd/cron/CronSet.mjs +147 -0
- package/lib/schema-component/antd/cron/__tests__/cron-set.test.mjs +50 -0
- package/lib/schema-component/antd/cron/demos/demo1.mjs +50 -0
- package/lib/schema-component/antd/cron/demos/demo2.mjs +69 -0
- package/lib/schema-component/antd/cron/index.mjs +7 -0
- package/lib/schema-component/antd/custom-cascader/CustomCascader.mjs +63 -0
- package/lib/schema-component/antd/custom-cascader/ReadPretty.mjs +50 -0
- package/lib/schema-component/antd/custom-cascader/defaultFieldNames.mjs +9 -0
- package/lib/schema-component/antd/custom-cascader/index.mjs +5 -0
- package/lib/schema-component/antd/date-picker/DatePicker.mjs +176 -0
- package/lib/schema-component/antd/date-picker/ReadPretty.mjs +66 -0
- package/lib/schema-component/antd/date-picker/__tests__/date-picker.test.mjs +250 -0
- package/lib/schema-component/antd/date-picker/__tests__/getDateRanges.test.mjs +119 -0
- package/lib/schema-component/antd/date-picker/__tests__/mapDatePicker.test.mjs +212 -0
- package/lib/schema-component/antd/date-picker/__tests__/mapRangePicker.test.mjs +71 -0
- package/lib/schema-component/antd/date-picker/__tests__/util.test.mjs +182 -0
- package/lib/schema-component/antd/date-picker/demos/demo1.mjs +76 -0
- package/lib/schema-component/antd/date-picker/demos/demo10.mjs +80 -0
- package/lib/schema-component/antd/date-picker/demos/demo11.mjs +84 -0
- package/lib/schema-component/antd/date-picker/demos/demo2.mjs +79 -0
- package/lib/schema-component/antd/date-picker/demos/demo3.mjs +77 -0
- package/lib/schema-component/antd/date-picker/demos/demo4.mjs +94 -0
- package/lib/schema-component/antd/date-picker/demos/demo5.mjs +93 -0
- package/lib/schema-component/antd/date-picker/demos/demo6.mjs +93 -0
- package/lib/schema-component/antd/date-picker/demos/demo7.mjs +80 -0
- package/lib/schema-component/antd/date-picker/demos/demo8.mjs +80 -0
- package/lib/schema-component/antd/date-picker/demos/demo9.mjs +80 -0
- package/lib/schema-component/antd/date-picker/index.mjs +5 -0
- package/lib/schema-component/antd/date-picker/util.mjs +217 -0
- package/lib/schema-component/antd/details/Details.mjs +44 -0
- package/lib/schema-component/antd/details/__tests__/details.test.mjs +25 -0
- package/lib/schema-component/antd/details/demos/demo1.mjs +59 -0
- package/lib/schema-component/antd/details/index.mjs +5 -0
- package/lib/schema-component/antd/error-fallback/ErrorFallback.mjs +77 -0
- package/lib/schema-component/antd/error-fallback/__tests__/error-fallback.test.mjs +33 -0
- package/lib/schema-component/antd/error-fallback/demos/demo1.mjs +30 -0
- package/lib/schema-component/antd/error-fallback/index.mjs +5 -0
- package/lib/schema-component/antd/expand-action/Expand.Action.Design.mjs +134 -0
- package/lib/schema-component/antd/expand-action/Expand.Action.mjs +103 -0
- package/lib/schema-component/antd/expand-action/index.mjs +15 -0
- package/lib/schema-component/antd/filter/DynamicComponent.mjs +81 -0
- package/lib/schema-component/antd/filter/Filter.Action.Designer.mjs +156 -0
- package/lib/schema-component/antd/filter/Filter.mjs +95 -0
- package/lib/schema-component/antd/filter/FilterAction.mjs +218 -0
- package/lib/schema-component/antd/filter/FilterGroup.mjs +166 -0
- package/lib/schema-component/antd/filter/FilterItem.mjs +120 -0
- package/lib/schema-component/antd/filter/FilterItems.mjs +47 -0
- package/lib/schema-component/antd/filter/SaveDefaultValue.mjs +61 -0
- package/lib/schema-component/antd/filter/__tests__/filter.test.mjs +152 -0
- package/lib/schema-component/antd/filter/context.mjs +14 -0
- package/lib/schema-component/antd/filter/demos/demo2.mjs +143 -0
- package/lib/schema-component/antd/filter/demos/demo3.mjs +213 -0
- package/lib/schema-component/antd/filter/demos/demo4.mjs +203 -0
- package/lib/schema-component/antd/filter/demos/demo5.mjs +145 -0
- package/lib/schema-component/antd/filter/demos/demo6.mjs +140 -0
- package/lib/schema-component/antd/filter/index.mjs +9 -0
- package/lib/schema-component/antd/filter/useFilterActionProps.mjs +298 -0
- package/lib/schema-component/antd/filter/useOperators.mjs +38 -0
- package/lib/schema-component/antd/filter/useValues.mjs +155 -0
- package/lib/schema-component/antd/filter/utils.mjs +20 -0
- package/lib/schema-component/antd/form/Form.Designer.mjs +27 -0
- package/lib/schema-component/antd/form/Form.Settings.mjs +48 -0
- package/lib/schema-component/antd/form/Form.mjs +187 -0
- package/lib/schema-component/antd/form/__tests__/form.test.mjs +155 -0
- package/lib/schema-component/antd/form/demos/apiClient.mjs +26 -0
- package/lib/schema-component/antd/form/demos/demo1.mjs +93 -0
- package/lib/schema-component/antd/form/demos/demo2.mjs +95 -0
- package/lib/schema-component/antd/form/demos/demo3.mjs +94 -0
- package/lib/schema-component/antd/form/demos/demo4.mjs +98 -0
- package/lib/schema-component/antd/form/demos/demo5.mjs +142 -0
- package/lib/schema-component/antd/form/demos/demo6.mjs +95 -0
- package/lib/schema-component/antd/form/demos/demo7.mjs +103 -0
- package/lib/schema-component/antd/form/demos/demo8.mjs +110 -0
- package/lib/schema-component/antd/form/index.mjs +7 -0
- package/lib/schema-component/antd/form-dialog/index.mjs +199 -0
- package/lib/schema-component/antd/form-item/FormItem.FilterFormDesigner.mjs +21 -0
- package/lib/schema-component/antd/form-item/FormItem.FilterFormSettings.mjs +183 -0
- package/lib/schema-component/antd/form-item/FormItem.Settings.mjs +1326 -0
- package/lib/schema-component/antd/form-item/FormItem.mjs +200 -0
- package/lib/schema-component/antd/form-item/SchemaSettingOptions.mjs +638 -0
- package/lib/schema-component/antd/form-item/__tests__/form-item.test.mjs +27 -0
- package/lib/schema-component/antd/form-item/__tests__/hooks/useSpecialCase.test.mjs +33 -0
- package/lib/schema-component/antd/form-item/__tests__/utils.test.mjs +71 -0
- package/lib/schema-component/antd/form-item/demos/demo1.mjs +56 -0
- package/lib/schema-component/antd/form-item/hooks/useLazyLoadDisplayAssociationFieldsOfForm.mjs +135 -0
- package/lib/schema-component/antd/form-item/hooks/useParseDefaultValue.mjs +164 -0
- package/lib/schema-component/antd/form-item/hooks/useSpecialCase.mjs +182 -0
- package/lib/schema-component/antd/form-item/index.mjs +11 -0
- package/lib/schema-component/antd/form-item/utils.mjs +22 -0
- package/lib/schema-component/antd/form-tab/index.mjs +168 -0
- package/lib/schema-component/antd/form-v2/Form.Designer.mjs +51 -0
- package/lib/schema-component/antd/form-v2/Form.FilterDesigner.mjs +36 -0
- package/lib/schema-component/antd/form-v2/Form.Settings.mjs +364 -0
- package/lib/schema-component/antd/form-v2/Form.mjs +432 -0
- package/lib/schema-component/antd/form-v2/FormField.mjs +51 -0
- package/lib/schema-component/antd/form-v2/Templates.mjs +257 -0
- package/lib/schema-component/antd/form-v2/__tests__/form-v2.test.mjs +69 -0
- package/lib/schema-component/antd/form-v2/demos/collections.mjs +1568 -0
- package/lib/schema-component/antd/form-v2/demos/demo1.mjs +139 -0
- package/lib/schema-component/antd/form-v2/demos/demo2.mjs +162 -0
- package/lib/schema-component/antd/form-v2/demos/demo3.mjs +139 -0
- package/lib/schema-component/antd/form-v2/index.mjs +30 -0
- package/lib/schema-component/antd/form-v2/utils.mjs +182 -0
- package/lib/schema-component/antd/grid/Block.mjs +39 -0
- package/lib/schema-component/antd/grid/Grid.mjs +562 -0
- package/lib/schema-component/antd/grid/Grid.style.mjs +51 -0
- package/lib/schema-component/antd/grid/__tests__/grid.test.mjs +47 -0
- package/lib/schema-component/antd/grid/demos/demo1.mjs +211 -0
- package/lib/schema-component/antd/grid/demos/demo2.mjs +119 -0
- package/lib/schema-component/antd/grid/demos/demo3.mjs +101 -0
- package/lib/schema-component/antd/grid/index.mjs +7 -0
- package/lib/schema-component/antd/grid-card/GridCard.Decorator.mjs +108 -0
- package/lib/schema-component/antd/grid-card/GridCard.Decorator.style.mjs +30 -0
- package/lib/schema-component/antd/grid-card/GridCard.Designer.mjs +317 -0
- package/lib/schema-component/antd/grid-card/GridCard.Item.mjs +120 -0
- package/lib/schema-component/antd/grid-card/GridCard.mjs +215 -0
- package/lib/schema-component/antd/grid-card/__tests__/grid-card.test.mjs +24 -0
- package/lib/schema-component/antd/grid-card/demos/demo1.mjs +17 -0
- package/lib/schema-component/antd/grid-card/hooks.mjs +37 -0
- package/lib/schema-component/antd/grid-card/index.mjs +5 -0
- package/lib/schema-component/antd/grid-card/options.mjs +38 -0
- package/lib/schema-component/antd/icon-picker/IconFilterInput.mjs +32 -0
- package/lib/schema-component/antd/icon-picker/IconList.mjs +71 -0
- package/lib/schema-component/antd/icon-picker/IconPicker.mjs +116 -0
- package/lib/schema-component/antd/icon-picker/__tests__/icon-picker.test.mjs +43 -0
- package/lib/schema-component/antd/icon-picker/demos/icon-picker.mjs +57 -0
- package/lib/schema-component/antd/icon-picker/index.mjs +5 -0
- package/lib/schema-component/antd/index.css +30 -0
- package/lib/schema-component/antd/index.mjs +137 -0
- package/lib/schema-component/antd/input/EllipsisWithTooltip.mjs +82 -0
- package/lib/schema-component/antd/input/Input.mjs +56 -0
- package/lib/schema-component/antd/input/Json.mjs +83 -0
- package/lib/schema-component/antd/input/ReadPretty.mjs +186 -0
- package/lib/schema-component/antd/input/__tests__/Input.test.mjs +141 -0
- package/lib/schema-component/antd/input/demos/input.mjs +57 -0
- package/lib/schema-component/antd/input/demos/json.mjs +63 -0
- package/lib/schema-component/antd/input/demos/textarea.mjs +85 -0
- package/lib/schema-component/antd/input/demos/url.mjs +59 -0
- package/lib/schema-component/antd/input/index.mjs +13 -0
- package/lib/schema-component/antd/input/shared.mjs +11 -0
- package/lib/schema-component/antd/input-number/InputNumber.mjs +37 -0
- package/lib/schema-component/antd/input-number/ReadPretty.mjs +161 -0
- package/lib/schema-component/antd/input-number/__tests__/input-number.test.mjs +152 -0
- package/lib/schema-component/antd/input-number/demos/addonBefore&addonAfter.mjs +65 -0
- package/lib/schema-component/antd/input-number/demos/highPrecisionDecimals.mjs +67 -0
- package/lib/schema-component/antd/input-number/demos/inputNumber.mjs +57 -0
- package/lib/schema-component/antd/input-number/index.mjs +5 -0
- package/lib/schema-component/antd/list/List.Decorator.mjs +135 -0
- package/lib/schema-component/antd/list/List.Designer.mjs +260 -0
- package/lib/schema-component/antd/list/List.Item.mjs +85 -0
- package/lib/schema-component/antd/list/List.mjs +129 -0
- package/lib/schema-component/antd/list/List.style.mjs +62 -0
- package/lib/schema-component/antd/list/__tests__/list.test.mjs +24 -0
- package/lib/schema-component/antd/list/demos/demo1.mjs +17 -0
- package/lib/schema-component/antd/list/hooks.mjs +16 -0
- package/lib/schema-component/antd/list/index.mjs +5 -0
- package/lib/schema-component/antd/markdown/Markdown.Void.Designer.mjs +45 -0
- package/lib/schema-component/antd/markdown/Markdown.Void.mjs +148 -0
- package/lib/schema-component/antd/markdown/Markdown.mjs +83 -0
- package/lib/schema-component/antd/markdown/__tests__/markdown.test.mjs +48 -0
- package/lib/schema-component/antd/markdown/demos/demo1.mjs +59 -0
- package/lib/schema-component/antd/markdown/demos/demo2.mjs +78 -0
- package/lib/schema-component/antd/markdown/index.mjs +5 -0
- package/lib/schema-component/antd/markdown/markdown-it-plugins/mermaidPlugin.mjs +73 -0
- package/lib/schema-component/antd/markdown/md.mjs +25 -0
- package/lib/schema-component/antd/markdown/style.mjs +233 -0
- package/lib/schema-component/antd/markdown/util.mjs +49 -0
- package/lib/schema-component/antd/menu/Menu.Designer.mjs +478 -0
- package/lib/schema-component/antd/menu/Menu.mjs +686 -0
- package/lib/schema-component/antd/menu/Menu.styles.mjs +85 -0
- package/lib/schema-component/antd/menu/MenuItemInitializers/index.mjs +17 -0
- package/lib/schema-component/antd/menu/__tests__/menu.test.mjs +65 -0
- package/lib/schema-component/antd/menu/demos/demo1.mjs +109 -0
- package/lib/schema-component/antd/menu/demos/demo2.mjs +112 -0
- package/lib/schema-component/antd/menu/demos/demo3.mjs +152 -0
- package/lib/schema-component/antd/menu/index.mjs +9 -0
- package/lib/schema-component/antd/menu/locale.mjs +11 -0
- package/lib/schema-component/antd/menu/util.mjs +56 -0
- package/lib/schema-component/antd/nanoIDInput/NanoIDInput.mjs +71 -0
- package/lib/schema-component/antd/nanoIDInput/index.mjs +5 -0
- package/lib/schema-component/antd/page/FixedBlock.mjs +118 -0
- package/lib/schema-component/antd/page/FixedBlockDesignerItem.mjs +72 -0
- package/lib/schema-component/antd/page/Page.Settings.mjs +167 -0
- package/lib/schema-component/antd/page/Page.mjs +317 -0
- package/lib/schema-component/antd/page/PageTab.Settings.mjs +108 -0
- package/lib/schema-component/antd/page/PageTabDesigner.mjs +98 -0
- package/lib/schema-component/antd/page/__tests__/page.test.mjs +33 -0
- package/lib/schema-component/antd/page/demos/demo1.mjs +52 -0
- package/lib/schema-component/antd/page/hooks/useIsBlockInPage.mjs +25 -0
- package/lib/schema-component/antd/page/index.mjs +13 -0
- package/lib/schema-component/antd/page/style.mjs +149 -0
- package/lib/schema-component/antd/pagination/index.mjs +48 -0
- package/lib/schema-component/antd/password/Password.mjs +102 -0
- package/lib/schema-component/antd/password/PasswordStrength.mjs +29 -0
- package/lib/schema-component/antd/password/__tests__/password.test.mjs +46 -0
- package/lib/schema-component/antd/password/__tests__/utils.test.mjs +27 -0
- package/lib/schema-component/antd/password/demos/demo1.mjs +59 -0
- package/lib/schema-component/antd/password/demos/demo2.mjs +62 -0
- package/lib/schema-component/antd/password/index.mjs +5 -0
- package/lib/schema-component/antd/password/utils.mjs +146 -0
- package/lib/schema-component/antd/percent/Percent.mjs +59 -0
- package/lib/schema-component/antd/percent/__tests__/percent.test.mjs +31 -0
- package/lib/schema-component/antd/percent/demos/percent.mjs +57 -0
- package/lib/schema-component/antd/percent/index.mjs +5 -0
- package/lib/schema-component/antd/popover/Popover.mjs +67 -0
- package/lib/schema-component/antd/popover/index.mjs +5 -0
- package/lib/schema-component/antd/preview/Preview.mjs +324 -0
- package/lib/schema-component/antd/preview/__tests__/preview.test.mjs +26 -0
- package/lib/schema-component/antd/preview/demos/demo1.mjs +103 -0
- package/lib/schema-component/antd/preview/index.mjs +5 -0
- package/lib/schema-component/antd/quick-edit/QuickEdit.mjs +148 -0
- package/lib/schema-component/antd/quick-edit/index.mjs +5 -0
- package/lib/schema-component/antd/radio/Radio.mjs +62 -0
- package/lib/schema-component/antd/radio/__tests__/radio.test.mjs +64 -0
- package/lib/schema-component/antd/radio/demos/demo1.mjs +60 -0
- package/lib/schema-component/antd/radio/demos/demo2.mjs +72 -0
- package/lib/schema-component/antd/radio/demos/demo3.mjs +73 -0
- package/lib/schema-component/antd/radio/index.mjs +5 -0
- package/lib/schema-component/antd/record-picker/InputRecordPicker.mjs +308 -0
- package/lib/schema-component/antd/record-picker/ReadPrettyRecordPicker.mjs +177 -0
- package/lib/schema-component/antd/record-picker/RecordPicker.mjs +17 -0
- package/lib/schema-component/antd/record-picker/__tests__/record-picker.test.mjs +44 -0
- package/lib/schema-component/antd/record-picker/demos/demo1.mjs +198 -0
- package/lib/schema-component/antd/record-picker/demos/mockData.mjs +214 -0
- package/lib/schema-component/antd/record-picker/index.mjs +24 -0
- package/lib/schema-component/antd/record-picker/useFieldNames.mjs +18 -0
- package/lib/schema-component/antd/record-picker/util.mjs +59 -0
- package/lib/schema-component/antd/remote-select/ReadPretty.mjs +71 -0
- package/lib/schema-component/antd/remote-select/RemoteSelect.mjs +291 -0
- package/lib/schema-component/antd/remote-select/__tests__/remote-select.test.mjs +33 -0
- package/lib/schema-component/antd/remote-select/demos/demo1.mjs +75 -0
- package/lib/schema-component/antd/remote-select/index.mjs +5 -0
- package/lib/schema-component/antd/remote-select/shared.mjs +11 -0
- package/lib/schema-component/antd/rich-text/RichText.mjs +85 -0
- package/lib/schema-component/antd/rich-text/__tests__/rich-text.test.mjs +28 -0
- package/lib/schema-component/antd/rich-text/demos/demo1.mjs +61 -0
- package/lib/schema-component/antd/rich-text/index.mjs +5 -0
- package/lib/schema-component/antd/rich-text/style.mjs +818 -0
- package/lib/schema-component/antd/scroll-area/ScrollArea.mjs +63 -0
- package/lib/schema-component/antd/scroll-area/index.mjs +5 -0
- package/lib/schema-component/antd/select/FormulaSelect.mjs +263 -0
- package/lib/schema-component/antd/select/ReadPretty.mjs +61 -0
- package/lib/schema-component/antd/select/Select.mjs +214 -0
- package/lib/schema-component/antd/select/__tests__/select.test.mjs +63 -0
- package/lib/schema-component/antd/select/__tests__/utils.test.mjs +135 -0
- package/lib/schema-component/antd/select/demos/demo1.mjs +91 -0
- package/lib/schema-component/antd/select/demos/demo2.mjs +95 -0
- package/lib/schema-component/antd/select/demos/demo3.mjs +105 -0
- package/lib/schema-component/antd/select/index.mjs +7 -0
- package/lib/schema-component/antd/select/utils.mjs +49 -0
- package/lib/schema-component/antd/space/index.mjs +36 -0
- package/lib/schema-component/antd/table/Table.Array.Designer.mjs +26 -0
- package/lib/schema-component/antd/table/Table.Array.mjs +358 -0
- package/lib/schema-component/antd/table/Table.Column.ActionBar.mjs +62 -0
- package/lib/schema-component/antd/table/Table.Column.Decorator.mjs +77 -0
- package/lib/schema-component/antd/table/Table.Column.Designer.mjs +173 -0
- package/lib/schema-component/antd/table/Table.Column.mjs +22 -0
- package/lib/schema-component/antd/table/Table.Designer.mjs +32 -0
- package/lib/schema-component/antd/table/Table.RowActionDesigner.mjs +60 -0
- package/lib/schema-component/antd/table/Table.RowSelection.mjs +47 -0
- package/lib/schema-component/antd/table/Table.Void.Designer.mjs +278 -0
- package/lib/schema-component/antd/table/Table.Void.mjs +155 -0
- package/lib/schema-component/antd/table/__tests__/table.test.mjs +45 -0
- package/lib/schema-component/antd/table/demos/demo1.mjs +77 -0
- package/lib/schema-component/antd/table/demos/demo2.mjs +77 -0
- package/lib/schema-component/antd/table/demos/demo3.mjs +77 -0
- package/lib/schema-component/antd/table/demos/demo4.mjs +242 -0
- package/lib/schema-component/antd/table/index.mjs +60 -0
- package/lib/schema-component/antd/table-v2/Table.ActionColumnDesigner.mjs +60 -0
- package/lib/schema-component/antd/table-v2/Table.Column.ActionBar.mjs +72 -0
- package/lib/schema-component/antd/table-v2/Table.Column.Decorator.mjs +91 -0
- package/lib/schema-component/antd/table-v2/Table.Column.Designer.mjs +514 -0
- package/lib/schema-component/antd/table-v2/Table.Column.mjs +23 -0
- package/lib/schema-component/antd/table-v2/Table.Designer.mjs +32 -0
- package/lib/schema-component/antd/table-v2/Table.Index.mjs +22 -0
- package/lib/schema-component/antd/table-v2/Table.mjs +574 -0
- package/lib/schema-component/antd/table-v2/Table.styles.mjs +146 -0
- package/lib/schema-component/antd/table-v2/TableBlockDesigner.mjs +392 -0
- package/lib/schema-component/antd/table-v2/TableField.mjs +77 -0
- package/lib/schema-component/antd/table-v2/TableSelector.mjs +9 -0
- package/lib/schema-component/antd/table-v2/TableSelectorDesigner.mjs +347 -0
- package/lib/schema-component/antd/table-v2/__tests__/table-v2.test.mjs +31 -0
- package/lib/schema-component/antd/table-v2/components/ColumnFieldProvider.mjs +59 -0
- package/lib/schema-component/antd/table-v2/demos/collections.mjs +1563 -0
- package/lib/schema-component/antd/table-v2/demos/demo1.mjs +251 -0
- package/lib/schema-component/antd/table-v2/demos/demo2.mjs +145 -0
- package/lib/schema-component/antd/table-v2/index.mjs +52 -0
- package/lib/schema-component/antd/table-v2/utils.mjs +20 -0
- package/lib/schema-component/antd/tabs/Tabs.Designer.mjs +159 -0
- package/lib/schema-component/antd/tabs/Tabs.mjs +141 -0
- package/lib/schema-component/antd/tabs/__tests__/tabs.test.mjs +29 -0
- package/lib/schema-component/antd/tabs/context.mjs +23 -0
- package/lib/schema-component/antd/tabs/demos/demo1.mjs +86 -0
- package/lib/schema-component/antd/tabs/index.mjs +7 -0
- package/lib/schema-component/antd/time-picker/ReadPretty.mjs +42 -0
- package/lib/schema-component/antd/time-picker/TimePicker.mjs +40 -0
- package/lib/schema-component/antd/time-picker/__tests__/time-picker.test.mjs +68 -0
- package/lib/schema-component/antd/time-picker/demos/demo1.mjs +59 -0
- package/lib/schema-component/antd/time-picker/demos/demo2.mjs +59 -0
- package/lib/schema-component/antd/time-picker/index.mjs +5 -0
- package/lib/schema-component/antd/tree/Tree.mjs +115 -0
- package/lib/schema-component/antd/tree/index.mjs +10 -0
- package/lib/schema-component/antd/tree-select/ReadPretty.mjs +91 -0
- package/lib/schema-component/antd/tree-select/TreeSelect.mjs +37 -0
- package/lib/schema-component/antd/tree-select/__tests__/tree-select.test.mjs +29 -0
- package/lib/schema-component/antd/tree-select/demos/demo1.mjs +103 -0
- package/lib/schema-component/antd/tree-select/index.mjs +5 -0
- package/lib/schema-component/antd/unixTimestamp/UnixTimestamp.mjs +69 -0
- package/lib/schema-component/antd/unixTimestamp/index.mjs +5 -0
- package/lib/schema-component/antd/upload/ReadPretty.mjs +249 -0
- package/lib/schema-component/antd/upload/Upload.mjs +394 -0
- package/lib/schema-component/antd/upload/__tests__/upload.test.mjs +31 -0
- package/lib/schema-component/antd/upload/demos/apiClient.mjs +51 -0
- package/lib/schema-component/antd/upload/demos/demo1.mjs +71 -0
- package/lib/schema-component/antd/upload/demos/demo2.mjs +137 -0
- package/lib/schema-component/antd/upload/index.mjs +5 -0
- package/lib/schema-component/antd/upload/placeholder.mjs +66 -0
- package/lib/schema-component/antd/upload/shared.mjs +254 -0
- package/lib/schema-component/antd/upload/style.mjs +81 -0
- package/lib/schema-component/antd/upload/type.d.mjs +7 -0
- package/lib/schema-component/antd/variable/CodeMirror.mjs +124 -0
- package/lib/schema-component/antd/variable/Input.mjs +384 -0
- package/lib/schema-component/antd/variable/JSONInput.mjs +57 -0
- package/lib/schema-component/antd/variable/RawTextArea.mjs +125 -0
- package/lib/schema-component/antd/variable/TextArea.mjs +504 -0
- package/lib/schema-component/antd/variable/Variable.mjs +57 -0
- package/lib/schema-component/antd/variable/VariableSelect.mjs +101 -0
- package/lib/schema-component/antd/variable/VariableSelect.style.mjs +36 -0
- package/lib/schema-component/antd/variable/XButton.mjs +35 -0
- package/lib/schema-component/antd/variable/__tests__/variable.test.mjs +66 -0
- package/lib/schema-component/antd/variable/demos/demo1.mjs +63 -0
- package/lib/schema-component/antd/variable/demos/demo2.mjs +63 -0
- package/lib/schema-component/antd/variable/demos/demo3.mjs +63 -0
- package/lib/schema-component/antd/variable/index.mjs +5 -0
- package/lib/schema-component/antd/variable/style.mjs +186 -0
- package/lib/schema-component/common/dnd-context/index.mjs +124 -0
- package/lib/schema-component/common/index.mjs +7 -0
- package/lib/schema-component/common/infinite-scroll/infinite-scroll.mjs +153 -0
- package/lib/schema-component/common/infinite-scroll/style.mjs +36 -0
- package/lib/schema-component/common/sortable-item/SortableItem.mjs +166 -0
- package/lib/schema-component/common/sortable-item/index.mjs +5 -0
- package/lib/schema-component/common/utils/logic.mjs +578 -0
- package/lib/schema-component/common/utils/uitls.mjs +155 -0
- package/lib/schema-component/context.mjs +10 -0
- package/lib/schema-component/core/DesignableSwitch.mjs +67 -0
- package/lib/schema-component/core/FormProvider.mjs +70 -0
- package/lib/schema-component/core/RemoteSchemaComponent.mjs +72 -0
- package/lib/schema-component/core/SchemaComponent.mjs +86 -0
- package/lib/schema-component/core/SchemaComponentOptions.mjs +62 -0
- package/lib/schema-component/core/SchemaComponentProvider.mjs +116 -0
- package/lib/schema-component/core/index.mjs +32 -0
- package/lib/schema-component/demos/demo1.mjs +111 -0
- package/lib/schema-component/demos/demo2.mjs +40 -0
- package/lib/schema-component/demos/demo3.mjs +41 -0
- package/lib/schema-component/demos/demo4.mjs +41 -0
- package/lib/schema-component/hooks/__tests__/designable.test.mjs +564 -0
- package/lib/schema-component/hooks/__tests__/splitWrapSchema.test.mjs +98 -0
- package/lib/schema-component/hooks/index.mjs +27 -0
- package/lib/schema-component/hooks/useAttach.mjs +24 -0
- package/lib/schema-component/hooks/useCompile.mjs +59 -0
- package/lib/schema-component/hooks/useComponent.mjs +26 -0
- package/lib/schema-component/hooks/useDesignable.mjs +858 -0
- package/lib/schema-component/hooks/useDesigner.mjs +36 -0
- package/lib/schema-component/hooks/useFieldComponentOptions.mjs +106 -0
- package/lib/schema-component/hooks/useFieldModeOptions.mjs +304 -0
- package/lib/schema-component/hooks/useFieldProps.mjs +27 -0
- package/lib/schema-component/hooks/useFieldTitle.mjs +37 -0
- package/lib/schema-component/hooks/useProps.mjs +22 -0
- package/lib/schema-component/hooks/useSchemaComponentContext.mjs +15 -0
- package/lib/schema-component/hooks/useTableSize.mjs +40 -0
- package/lib/schema-component/index.mjs +15 -0
- package/lib/schema-component/types.mjs +7 -0
- package/lib/schema-initializer/buttons/CustomFormItemInitializers.mjs +71 -0
- package/lib/schema-initializer/buttons/FormItemInitializers.mjs +187 -0
- package/lib/schema-initializer/buttons/RecordBlockInitializers.mjs +460 -0
- package/lib/schema-initializer/buttons/SubTableActionInitializers.mjs +41 -0
- package/lib/schema-initializer/buttons/TabPaneInitializers.mjs +232 -0
- package/lib/schema-initializer/buttons/index.mjs +16 -0
- package/lib/schema-initializer/components/CreateRecordAction.mjs +414 -0
- package/lib/schema-initializer/components/DeletedField.mjs +25 -0
- package/lib/schema-initializer/components/assigned-field/AssignedField.mjs +177 -0
- package/lib/schema-initializer/components/assigned-field/index.mjs +5 -0
- package/lib/schema-initializer/components/index.mjs +7 -0
- package/lib/schema-initializer/demos/basic.mjs +81 -0
- package/lib/schema-initializer/demos/build-type.mjs +96 -0
- package/lib/schema-initializer/demos/custom-button.mjs +114 -0
- package/lib/schema-initializer/demos/custom-items-component.mjs +116 -0
- package/lib/schema-initializer/demos/dynamic-visible-children.mjs +94 -0
- package/lib/schema-initializer/demos/insert-schema-action.mjs +111 -0
- package/lib/schema-initializer/demos/insert-schema-basic.mjs +133 -0
- package/lib/schema-initializer/demos/insert-schema-form-item.mjs +153 -0
- package/lib/schema-initializer/demos/nested-items.mjs +170 -0
- package/lib/schema-initializer/hooks/useGetAriaLabelOfSchemaInitializer.mjs +36 -0
- package/lib/schema-initializer/index.mjs +329 -0
- package/lib/schema-initializer/items/ActionInitializer.mjs +29 -0
- package/lib/schema-initializer/items/BlockInitializer.mjs +43 -0
- package/lib/schema-initializer/items/CreateFilterActionInitializer.mjs +33 -0
- package/lib/schema-initializer/items/CreateResetActionInitializer.mjs +28 -0
- package/lib/schema-initializer/items/CustomFilterFormItemInitializer.mjs +540 -0
- package/lib/schema-initializer/items/CustomizeActionInitializer.mjs +27 -0
- package/lib/schema-initializer/items/DataBlockInitializer.mjs +393 -0
- package/lib/schema-initializer/items/DeleteEventActionInitializer.mjs +36 -0
- package/lib/schema-initializer/items/FilterBlockInitializer.mjs +9 -0
- package/lib/schema-initializer/items/G2PlotInitializer.mjs +28 -0
- package/lib/schema-initializer/items/InitializerWithSwitch.mjs +47 -0
- package/lib/schema-initializer/items/RecordAssociationBlockInitializer.mjs +86 -0
- package/lib/schema-initializer/items/RecordAssociationDetailsBlockInitializer.mjs +84 -0
- package/lib/schema-initializer/items/RecordAssociationFormBlockInitializer.mjs +119 -0
- package/lib/schema-initializer/items/RecordAssociationGridCardBlockInitializer.mjs +86 -0
- package/lib/schema-initializer/items/RecordAssociationListBlockInitializer.mjs +84 -0
- package/lib/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.mjs +118 -0
- package/lib/schema-initializer/items/SelectActionInitializer.mjs +76 -0
- package/lib/schema-initializer/items/SubmitActionInitializer.mjs +34 -0
- package/lib/schema-initializer/items/TableActionColumnInitializer.mjs +57 -0
- package/lib/schema-initializer/items/index.mjs +50 -0
- package/lib/schema-initializer/style.mjs +23 -0
- package/lib/schema-initializer/utils.mjs +1535 -0
- package/lib/schema-items/GeneralSchemaItems.mjs +181 -0
- package/lib/schema-items/GeneralSettings.mjs +226 -0
- package/lib/schema-items/OpenModeSchemaItems.mjs +215 -0
- package/lib/schema-items/index.mjs +7 -0
- package/lib/schema-settings/DataTemplates/FormDataTemplates.mjs +332 -0
- package/lib/schema-settings/DataTemplates/TreeLabel.mjs +42 -0
- package/lib/schema-settings/DataTemplates/components/AsDefaultTemplate.mjs +64 -0
- package/lib/schema-settings/DataTemplates/components/DataTemplateTitle.mjs +305 -0
- package/lib/schema-settings/DataTemplates/components/DataTemplateTitle.style.mjs +15 -0
- package/lib/schema-settings/DataTemplates/components/Designer.mjs +208 -0
- package/lib/schema-settings/DataTemplates/hooks/useCollectionState.mjs +348 -0
- package/lib/schema-settings/DataTemplates/index.mjs +5 -0
- package/lib/schema-settings/DataTemplates/utils.mjs +300 -0
- package/lib/schema-settings/DateFormat/ExpiresRadio.mjs +160 -0
- package/lib/schema-settings/EditCustomDefaultValue.mjs +137 -0
- package/lib/schema-settings/EditFormulaTitleField.mjs +127 -0
- package/lib/schema-settings/EnableChildCollections/DynamicComponent.mjs +91 -0
- package/lib/schema-settings/EnableChildCollections/index.mjs +129 -0
- package/lib/schema-settings/GeneralSchemaDesigner.mjs +328 -0
- package/lib/schema-settings/LinkageRules/DynamicComponent.mjs +79 -0
- package/lib/schema-settings/LinkageRules/LinkageRuleAction.mjs +272 -0
- package/lib/schema-settings/LinkageRules/LinkageRuleActionGroup.mjs +116 -0
- package/lib/schema-settings/LinkageRules/ValueDynamicComponent.mjs +200 -0
- package/lib/schema-settings/LinkageRules/Variables.mjs +119 -0
- package/lib/schema-settings/LinkageRules/action-hooks.mjs +128 -0
- package/lib/schema-settings/LinkageRules/components/EnableLinkage.mjs +56 -0
- package/lib/schema-settings/LinkageRules/components/LinkageHeader.mjs +304 -0
- package/lib/schema-settings/LinkageRules/components/LinkageHeader.style.mjs +15 -0
- package/lib/schema-settings/LinkageRules/context.mjs +14 -0
- package/lib/schema-settings/LinkageRules/index.mjs +247 -0
- package/lib/schema-settings/LinkageRules/type.mjs +18 -0
- package/lib/schema-settings/LinkageRules/useValues.mjs +84 -0
- package/lib/schema-settings/SchemaSettingCollection.mjs +73 -0
- package/lib/schema-settings/SchemaSettingComponent.mjs +62 -0
- package/lib/schema-settings/SchemaSettings.mjs +1517 -0
- package/lib/schema-settings/SchemaSettingsDataScope.mjs +152 -0
- package/lib/schema-settings/SchemaSettingsDateFormat.mjs +231 -0
- package/lib/schema-settings/SchemaSettingsDefaultValue.mjs +274 -0
- package/lib/schema-settings/SchemaSettingsNumberFormat.mjs +205 -0
- package/lib/schema-settings/SchemaSettingsPlugin.mjs +265 -0
- package/lib/schema-settings/SchemaSettingsSortingRule.mjs +155 -0
- package/lib/schema-settings/VariableInput/VariableInput.mjs +260 -0
- package/lib/schema-settings/VariableInput/hooks/index.mjs +9 -0
- package/lib/schema-settings/VariableInput/hooks/useBaseVariable.mjs +228 -0
- package/lib/schema-settings/VariableInput/hooks/useBlockCollection.mjs +16 -0
- package/lib/schema-settings/VariableInput/hooks/useContextAssociationFields.mjs +126 -0
- package/lib/schema-settings/VariableInput/hooks/useDateVariable.mjs +179 -0
- package/lib/schema-settings/VariableInput/hooks/useFilterVariable.mjs +77 -0
- package/lib/schema-settings/VariableInput/hooks/useFormVariable.mjs +85 -0
- package/lib/schema-settings/VariableInput/hooks/useIterationVariable.mjs +94 -0
- package/lib/schema-settings/VariableInput/hooks/useParentRecordVariable.mjs +71 -0
- package/lib/schema-settings/VariableInput/hooks/usePopupVariable.mjs +37 -0
- package/lib/schema-settings/VariableInput/hooks/useRecordVariable.mjs +64 -0
- package/lib/schema-settings/VariableInput/hooks/useRoleVariable.mjs +64 -0
- package/lib/schema-settings/VariableInput/hooks/useUserVariable.mjs +67 -0
- package/lib/schema-settings/VariableInput/hooks/useVariableOptions.mjs +140 -0
- package/lib/schema-settings/VariableInput/index.mjs +7 -0
- package/lib/schema-settings/VariableInput/type.mjs +4 -0
- package/lib/schema-settings/VariableInput/utils/formatVariableScop.mjs +16 -0
- package/lib/schema-settings/demos/basic.mjs +75 -0
- package/lib/schema-settings/demos/built-type.mjs +157 -0
- package/lib/schema-settings/demos/custom-component.mjs +58 -0
- package/lib/schema-settings/demos/demo3.mjs +120 -0
- package/lib/schema-settings/demos/schema-basic.mjs +84 -0
- package/lib/schema-settings/filter-form/FormFilterScope.mjs +147 -0
- package/lib/schema-settings/filter-form/context.mjs +14 -0
- package/lib/schema-settings/hooks/useFilterFormCustomProps.mjs +22 -0
- package/lib/schema-settings/hooks/useGetAriaLabelOfDesigner.mjs +39 -0
- package/lib/schema-settings/hooks/useIsAllowToSetDefaultValue.mjs +109 -0
- package/lib/schema-settings/hooks/useIsShowMultipleSwitch.mjs +27 -0
- package/lib/schema-settings/hooks/useParseDataScopeFilter.mjs +84 -0
- package/lib/schema-settings/index.mjs +46 -0
- package/lib/schema-settings/isPatternDisabled.mjs +8 -0
- package/lib/schema-settings/styles.mjs +92 -0
- package/lib/schema-settings/types.mjs +4 -0
- package/lib/schema-templates/BlockTemplate.mjs +63 -0
- package/lib/schema-templates/BlockTemplateDetails.mjs +126 -0
- package/lib/schema-templates/BlockTemplatePage.mjs +55 -0
- package/lib/schema-templates/SchemaTemplateManagerProvider.mjs +103 -0
- package/lib/schema-templates/collections/uiSchemaTemplates.mjs +22 -0
- package/lib/schema-templates/index.mjs +11 -0
- package/lib/schema-templates/schemas/CollectionTitle.mjs +52 -0
- package/lib/schema-templates/schemas/uiSchemaTemplates.mjs +249 -0
- package/lib/schema-templates/useSchemaTemplateManager.mjs +119 -0
- package/lib/style/css-variable/CSSVariableProvider.mjs +90 -0
- package/lib/style/css-variable/index.mjs +9 -0
- package/lib/style/index.mjs +16 -0
- package/lib/style/theme/AntdAppProvider.mjs +54 -0
- package/lib/style/theme/defaultTheme.mjs +24 -0
- package/lib/style/theme/index.mjs +96 -0
- package/lib/style/theme/type.mjs +4 -0
- package/lib/style/useToken.mjs +13 -0
- package/lib/testUtils/index.mjs +5 -0
- package/lib/testUtils/mockAPIClient.mjs +57 -0
- package/lib/user/ChangePassword.mjs +180 -0
- package/lib/user/CurrentUser.mjs +282 -0
- package/lib/user/CurrentUserProvider.mjs +89 -0
- package/lib/user/CurrentUserSettingsMenuProvider.mjs +88 -0
- package/lib/user/EditProfile.mjs +172 -0
- package/lib/user/LanguageSettings.mjs +70 -0
- package/lib/user/SwitchRole.mjs +66 -0
- package/lib/user/VerificationCode.mjs +115 -0
- package/lib/user/__tests__/current-user-settings-menu-provider.test.mjs +64 -0
- package/lib/user/index.mjs +9 -0
- package/lib/variables/VariablesProvider.mjs +319 -0
- package/lib/variables/__tests__/useVariables.test.mjs +473 -0
- package/lib/variables/__tests__/utils/filterEmptyValues.test.mjs +52 -0
- package/lib/variables/__tests__/utils/getPath.test.mjs +10 -0
- package/lib/variables/__tests__/utils/getVariableName.test.mjs +10 -0
- package/lib/variables/__tests__/utils/isVariable.test.mjs +28 -0
- package/lib/variables/__tests__/utils/transformVariableValue.test.mjs +142 -0
- package/lib/variables/__tests__/utils/uniq.test.mjs +83 -0
- package/lib/variables/constants.mjs +5 -0
- package/lib/variables/hooks/useBuiltinVariables.mjs +80 -0
- package/lib/variables/hooks/useContextVariable.mjs +38 -0
- package/lib/variables/hooks/useLocalVariables.mjs +102 -0
- package/lib/variables/hooks/useVariables.mjs +16 -0
- package/lib/variables/index.mjs +36 -0
- package/lib/variables/types.mjs +4 -0
- package/lib/variables/utils/filterEmptyValues.mjs +12 -0
- package/lib/variables/utils/getAction.mjs +14 -0
- package/lib/variables/utils/getPath.mjs +19 -0
- package/lib/variables/utils/getVariableName.mjs +25 -0
- package/lib/variables/utils/hasRequested.mjs +24 -0
- package/lib/variables/utils/isVariable.mjs +15 -0
- package/lib/variables/utils/transformVariableValue.mjs +55 -0
- package/lib/variables/utils/uniq.mjs +26 -0
- package/package.json +4 -4
|
@@ -0,0 +1,818 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__builtins_index_mjs__ from "../__builtins__/index.mjs";
|
|
2
|
+
|
|
3
|
+
;// CONCATENATED MODULE: external "../__builtins__/index.mjs"
|
|
4
|
+
|
|
5
|
+
;// CONCATENATED MODULE: ./packages/client/src/schema-component/antd/rich-text/style.ts?__rslib_entry__
|
|
6
|
+
|
|
7
|
+
/*!
|
|
8
|
+
* Quill Editor v1.3.7
|
|
9
|
+
* https://quilljs.com/
|
|
10
|
+
* Copyright (c) 2014, Jason Chen
|
|
11
|
+
* Copyright (c) 2013, salesforce.com
|
|
12
|
+
*/ const useStyles = (0,__WEBPACK_EXTERNAL_MODULE__builtins_index_mjs__.genStyleHook)('tb-rich-text', (token)=>{
|
|
13
|
+
const { componentCls } = token;
|
|
14
|
+
return {
|
|
15
|
+
[componentCls]: {
|
|
16
|
+
'.ql-container': {
|
|
17
|
+
boxSizing: 'border-box',
|
|
18
|
+
height: '100%',
|
|
19
|
+
margin: '0px',
|
|
20
|
+
position: 'relative'
|
|
21
|
+
},
|
|
22
|
+
'.ql-container.ql-disabled .ql-tooltip': {
|
|
23
|
+
visibility: 'hidden'
|
|
24
|
+
},
|
|
25
|
+
'.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before': {
|
|
26
|
+
pointerEvents: 'none'
|
|
27
|
+
},
|
|
28
|
+
'.ql-clipboard': {
|
|
29
|
+
left: '-100000px',
|
|
30
|
+
height: '1px',
|
|
31
|
+
overflowY: 'hidden',
|
|
32
|
+
position: 'absolute',
|
|
33
|
+
top: '50%'
|
|
34
|
+
},
|
|
35
|
+
'.ql-clipboard p': {
|
|
36
|
+
margin: '0',
|
|
37
|
+
padding: '0'
|
|
38
|
+
},
|
|
39
|
+
'.ql-editor': {
|
|
40
|
+
minHeight: '10em',
|
|
41
|
+
boxSizing: 'border-box',
|
|
42
|
+
lineHeight: 1.42,
|
|
43
|
+
height: '100%',
|
|
44
|
+
outline: 'none',
|
|
45
|
+
overflowY: 'auto',
|
|
46
|
+
padding: '12px 15px',
|
|
47
|
+
tabSize: 4,
|
|
48
|
+
MozTabSize: '4',
|
|
49
|
+
textAlign: 'left',
|
|
50
|
+
whiteSpace: 'pre-wrap',
|
|
51
|
+
wordWrap: 'break-word'
|
|
52
|
+
},
|
|
53
|
+
'.ql-editor > *': {
|
|
54
|
+
cursor: 'text'
|
|
55
|
+
},
|
|
56
|
+
'.ql-editor p,\n.ql-editor ol,\n.ql-editor ul,\n.ql-editor pre,\n.ql-editor blockquote,\n.ql-editor h1,\n.ql-editor h2,\n.ql-editor h3,\n.ql-editor h4,\n.ql-editor h5,\n.ql-editor h6': {
|
|
57
|
+
margin: '0',
|
|
58
|
+
padding: '0',
|
|
59
|
+
counterReset: 'list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9'
|
|
60
|
+
},
|
|
61
|
+
'.ql-editor ol,\n.ql-editor ul': {
|
|
62
|
+
paddingLeft: '0'
|
|
63
|
+
},
|
|
64
|
+
'.ql-editor ol > li,\n.ql-editor ul > li': {
|
|
65
|
+
listStyleType: 'none'
|
|
66
|
+
},
|
|
67
|
+
'.ql-editor ul > li::before': {
|
|
68
|
+
content: "'\\2022'"
|
|
69
|
+
},
|
|
70
|
+
".ql-editor ul[data-checked='true'],\n.ql-editor ul[data-checked='false']": {
|
|
71
|
+
pointerEvents: 'none'
|
|
72
|
+
},
|
|
73
|
+
".ql-editor ul[data-checked='true'] > li *,\n.ql-editor ul[data-checked='false'] > li *": {
|
|
74
|
+
pointerEvents: 'all'
|
|
75
|
+
},
|
|
76
|
+
".ql-editor ul[data-checked='true'] > li::before,\n.ql-editor ul[data-checked='false'] > li::before": {
|
|
77
|
+
color: '#777',
|
|
78
|
+
cursor: 'pointer',
|
|
79
|
+
pointerEvents: 'all'
|
|
80
|
+
},
|
|
81
|
+
".ql-editor ul[data-checked='true'] > li::before": {
|
|
82
|
+
content: "'\\2611'"
|
|
83
|
+
},
|
|
84
|
+
".ql-editor ul[data-checked='false'] > li::before": {
|
|
85
|
+
content: "'\\2610'"
|
|
86
|
+
},
|
|
87
|
+
'.ql-editor li::before': {
|
|
88
|
+
display: 'inline-block',
|
|
89
|
+
whiteSpace: 'nowrap',
|
|
90
|
+
width: '1.2em'
|
|
91
|
+
},
|
|
92
|
+
'.ql-editor li:not(.ql-direction-rtl)::before': {
|
|
93
|
+
marginLeft: '-1.5em',
|
|
94
|
+
marginRight: '0.3em',
|
|
95
|
+
textAlign: 'right'
|
|
96
|
+
},
|
|
97
|
+
'.ql-editor li.ql-direction-rtl::before': {
|
|
98
|
+
marginLeft: '0.3em',
|
|
99
|
+
marginRight: '-1.5em'
|
|
100
|
+
},
|
|
101
|
+
'.ql-editor ol li:not(.ql-direction-rtl),\n.ql-editor ul li:not(.ql-direction-rtl)': {
|
|
102
|
+
paddingLeft: '1.5em'
|
|
103
|
+
},
|
|
104
|
+
'.ql-editor ol li.ql-direction-rtl,\n.ql-editor ul li.ql-direction-rtl': {
|
|
105
|
+
paddingRight: '1.5em'
|
|
106
|
+
},
|
|
107
|
+
'.ql-editor ol li': {
|
|
108
|
+
counterReset: 'list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9',
|
|
109
|
+
counterIncrement: 'list-0'
|
|
110
|
+
},
|
|
111
|
+
'.ql-editor ol li:before': {
|
|
112
|
+
content: "counter(list-0, decimal) '. '"
|
|
113
|
+
},
|
|
114
|
+
'.ql-editor ol li.ql-indent-1': {
|
|
115
|
+
counterIncrement: 'list-1',
|
|
116
|
+
counterReset: 'list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9'
|
|
117
|
+
},
|
|
118
|
+
'.ql-editor ol li.ql-indent-1:before': {
|
|
119
|
+
content: "counter(list-1, lower-alpha) '. '"
|
|
120
|
+
},
|
|
121
|
+
'.ql-editor ol li.ql-indent-2': {
|
|
122
|
+
counterIncrement: 'list-2',
|
|
123
|
+
counterReset: 'list-3 list-4 list-5 list-6 list-7 list-8 list-9'
|
|
124
|
+
},
|
|
125
|
+
'.ql-editor ol li.ql-indent-2:before': {
|
|
126
|
+
content: "counter(list-2, lower-roman) '. '"
|
|
127
|
+
},
|
|
128
|
+
'.ql-editor ol li.ql-indent-3': {
|
|
129
|
+
counterIncrement: 'list-3',
|
|
130
|
+
counterReset: 'list-4 list-5 list-6 list-7 list-8 list-9'
|
|
131
|
+
},
|
|
132
|
+
'.ql-editor ol li.ql-indent-3:before': {
|
|
133
|
+
content: "counter(list-3, decimal) '. '"
|
|
134
|
+
},
|
|
135
|
+
'.ql-editor ol li.ql-indent-4': {
|
|
136
|
+
counterIncrement: 'list-4',
|
|
137
|
+
counterReset: 'list-5 list-6 list-7 list-8 list-9'
|
|
138
|
+
},
|
|
139
|
+
'.ql-editor ol li.ql-indent-4:before': {
|
|
140
|
+
content: "counter(list-4, lower-alpha) '. '"
|
|
141
|
+
},
|
|
142
|
+
'.ql-editor ol li.ql-indent-5': {
|
|
143
|
+
counterIncrement: 'list-5',
|
|
144
|
+
counterReset: 'list-6 list-7 list-8 list-9'
|
|
145
|
+
},
|
|
146
|
+
'.ql-editor ol li.ql-indent-5:before': {
|
|
147
|
+
content: "counter(list-5, lower-roman) '. '"
|
|
148
|
+
},
|
|
149
|
+
'.ql-editor ol li.ql-indent-6': {
|
|
150
|
+
counterIncrement: 'list-6',
|
|
151
|
+
counterReset: 'list-7 list-8 list-9'
|
|
152
|
+
},
|
|
153
|
+
'.ql-editor ol li.ql-indent-6:before': {
|
|
154
|
+
content: "counter(list-6, decimal) '. '"
|
|
155
|
+
},
|
|
156
|
+
'.ql-editor ol li.ql-indent-7': {
|
|
157
|
+
counterIncrement: 'list-7',
|
|
158
|
+
counterReset: 'list-8 list-9'
|
|
159
|
+
},
|
|
160
|
+
'.ql-editor ol li.ql-indent-7:before': {
|
|
161
|
+
content: "counter(list-7, lower-alpha) '. '"
|
|
162
|
+
},
|
|
163
|
+
'.ql-editor ol li.ql-indent-8': {
|
|
164
|
+
counterIncrement: 'list-8',
|
|
165
|
+
counterReset: 'list-9'
|
|
166
|
+
},
|
|
167
|
+
'.ql-editor ol li.ql-indent-8:before': {
|
|
168
|
+
content: "counter(list-8, lower-roman) '. '"
|
|
169
|
+
},
|
|
170
|
+
'.ql-editor ol li.ql-indent-9': {
|
|
171
|
+
counterIncrement: 'list-9'
|
|
172
|
+
},
|
|
173
|
+
'.ql-editor ol li.ql-indent-9:before': {
|
|
174
|
+
content: "counter(list-9, decimal) '. '"
|
|
175
|
+
},
|
|
176
|
+
'.ql-editor .ql-indent-1:not(.ql-direction-rtl)': {
|
|
177
|
+
paddingLeft: '3em'
|
|
178
|
+
},
|
|
179
|
+
'.ql-editor li.ql-indent-1:not(.ql-direction-rtl)': {
|
|
180
|
+
paddingLeft: '4.5em'
|
|
181
|
+
},
|
|
182
|
+
'.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right': {
|
|
183
|
+
paddingRight: '3em'
|
|
184
|
+
},
|
|
185
|
+
'.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right': {
|
|
186
|
+
paddingRight: '4.5em'
|
|
187
|
+
},
|
|
188
|
+
'.ql-editor .ql-indent-2:not(.ql-direction-rtl)': {
|
|
189
|
+
paddingLeft: '6em'
|
|
190
|
+
},
|
|
191
|
+
'.ql-editor li.ql-indent-2:not(.ql-direction-rtl)': {
|
|
192
|
+
paddingLeft: '7.5em'
|
|
193
|
+
},
|
|
194
|
+
'.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right': {
|
|
195
|
+
paddingRight: '6em'
|
|
196
|
+
},
|
|
197
|
+
'.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right': {
|
|
198
|
+
paddingRight: '7.5em'
|
|
199
|
+
},
|
|
200
|
+
'.ql-editor .ql-indent-3:not(.ql-direction-rtl)': {
|
|
201
|
+
paddingLeft: '9em'
|
|
202
|
+
},
|
|
203
|
+
'.ql-editor li.ql-indent-3:not(.ql-direction-rtl)': {
|
|
204
|
+
paddingLeft: '10.5em'
|
|
205
|
+
},
|
|
206
|
+
'.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right': {
|
|
207
|
+
paddingRight: '9em'
|
|
208
|
+
},
|
|
209
|
+
'.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right': {
|
|
210
|
+
paddingRight: '10.5em'
|
|
211
|
+
},
|
|
212
|
+
'.ql-editor .ql-indent-4:not(.ql-direction-rtl)': {
|
|
213
|
+
paddingLeft: '12em'
|
|
214
|
+
},
|
|
215
|
+
'.ql-editor li.ql-indent-4:not(.ql-direction-rtl)': {
|
|
216
|
+
paddingLeft: '13.5em'
|
|
217
|
+
},
|
|
218
|
+
'.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right': {
|
|
219
|
+
paddingRight: '12em'
|
|
220
|
+
},
|
|
221
|
+
'.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right': {
|
|
222
|
+
paddingRight: '13.5em'
|
|
223
|
+
},
|
|
224
|
+
'.ql-editor .ql-indent-5:not(.ql-direction-rtl)': {
|
|
225
|
+
paddingLeft: '15em'
|
|
226
|
+
},
|
|
227
|
+
'.ql-editor li.ql-indent-5:not(.ql-direction-rtl)': {
|
|
228
|
+
paddingLeft: '16.5em'
|
|
229
|
+
},
|
|
230
|
+
'.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right': {
|
|
231
|
+
paddingRight: '15em'
|
|
232
|
+
},
|
|
233
|
+
'.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right': {
|
|
234
|
+
paddingRight: '16.5em'
|
|
235
|
+
},
|
|
236
|
+
'.ql-editor .ql-indent-6:not(.ql-direction-rtl)': {
|
|
237
|
+
paddingLeft: '18em'
|
|
238
|
+
},
|
|
239
|
+
'.ql-editor li.ql-indent-6:not(.ql-direction-rtl)': {
|
|
240
|
+
paddingLeft: '19.5em'
|
|
241
|
+
},
|
|
242
|
+
'.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right': {
|
|
243
|
+
paddingRight: '18em'
|
|
244
|
+
},
|
|
245
|
+
'.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right': {
|
|
246
|
+
paddingRight: '19.5em'
|
|
247
|
+
},
|
|
248
|
+
'.ql-editor .ql-indent-7:not(.ql-direction-rtl)': {
|
|
249
|
+
paddingLeft: '21em'
|
|
250
|
+
},
|
|
251
|
+
'.ql-editor li.ql-indent-7:not(.ql-direction-rtl)': {
|
|
252
|
+
paddingLeft: '22.5em'
|
|
253
|
+
},
|
|
254
|
+
'.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right': {
|
|
255
|
+
paddingRight: '21em'
|
|
256
|
+
},
|
|
257
|
+
'.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right': {
|
|
258
|
+
paddingRight: '22.5em'
|
|
259
|
+
},
|
|
260
|
+
'.ql-editor .ql-indent-8:not(.ql-direction-rtl)': {
|
|
261
|
+
paddingLeft: '24em'
|
|
262
|
+
},
|
|
263
|
+
'.ql-editor li.ql-indent-8:not(.ql-direction-rtl)': {
|
|
264
|
+
paddingLeft: '25.5em'
|
|
265
|
+
},
|
|
266
|
+
'.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right': {
|
|
267
|
+
paddingRight: '24em'
|
|
268
|
+
},
|
|
269
|
+
'.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right': {
|
|
270
|
+
paddingRight: '25.5em'
|
|
271
|
+
},
|
|
272
|
+
'.ql-editor .ql-indent-9:not(.ql-direction-rtl)': {
|
|
273
|
+
paddingLeft: '27em'
|
|
274
|
+
},
|
|
275
|
+
'.ql-editor li.ql-indent-9:not(.ql-direction-rtl)': {
|
|
276
|
+
paddingLeft: '28.5em'
|
|
277
|
+
},
|
|
278
|
+
'.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right': {
|
|
279
|
+
paddingRight: '27em'
|
|
280
|
+
},
|
|
281
|
+
'.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right': {
|
|
282
|
+
paddingRight: '28.5em'
|
|
283
|
+
},
|
|
284
|
+
'.ql-editor .ql-video': {
|
|
285
|
+
display: 'block',
|
|
286
|
+
maxWidth: '100%'
|
|
287
|
+
},
|
|
288
|
+
'.ql-editor .ql-video.ql-align-center': {
|
|
289
|
+
margin: '0 auto'
|
|
290
|
+
},
|
|
291
|
+
'.ql-editor .ql-video.ql-align-right': {
|
|
292
|
+
margin: '0 0 0 auto'
|
|
293
|
+
},
|
|
294
|
+
'.ql-editor .ql-bg-black': {
|
|
295
|
+
backgroundColor: '#000'
|
|
296
|
+
},
|
|
297
|
+
'.ql-editor .ql-bg-red': {
|
|
298
|
+
backgroundColor: '#e60000'
|
|
299
|
+
},
|
|
300
|
+
'.ql-editor .ql-bg-orange': {
|
|
301
|
+
backgroundColor: '#f90'
|
|
302
|
+
},
|
|
303
|
+
'.ql-editor .ql-bg-yellow': {
|
|
304
|
+
backgroundColor: '#ff0'
|
|
305
|
+
},
|
|
306
|
+
'.ql-editor .ql-bg-green': {
|
|
307
|
+
backgroundColor: '#008a00'
|
|
308
|
+
},
|
|
309
|
+
'.ql-editor .ql-bg-blue': {
|
|
310
|
+
backgroundColor: token.colorPrimaryTextHover
|
|
311
|
+
},
|
|
312
|
+
'.ql-editor .ql-bg-purple': {
|
|
313
|
+
backgroundColor: '#93f'
|
|
314
|
+
},
|
|
315
|
+
'.ql-editor .ql-color-white': {
|
|
316
|
+
color: '#fff'
|
|
317
|
+
},
|
|
318
|
+
'.ql-editor .ql-color-red': {
|
|
319
|
+
color: '#e60000'
|
|
320
|
+
},
|
|
321
|
+
'.ql-editor .ql-color-orange': {
|
|
322
|
+
color: '#f90'
|
|
323
|
+
},
|
|
324
|
+
'.ql-editor .ql-color-yellow': {
|
|
325
|
+
color: '#ff0'
|
|
326
|
+
},
|
|
327
|
+
'.ql-editor .ql-color-green': {
|
|
328
|
+
color: '#008a00'
|
|
329
|
+
},
|
|
330
|
+
'.ql-editor .ql-color-blue': {
|
|
331
|
+
color: token.colorPrimaryTextHover
|
|
332
|
+
},
|
|
333
|
+
'.ql-editor .ql-color-purple': {
|
|
334
|
+
color: '#93f'
|
|
335
|
+
},
|
|
336
|
+
'.ql-editor .ql-font-serif': {
|
|
337
|
+
fontFamily: 'Georgia, Times New Roman, serif'
|
|
338
|
+
},
|
|
339
|
+
'.ql-editor .ql-font-monospace': {
|
|
340
|
+
fontFamily: 'Monaco, Courier New, monospace'
|
|
341
|
+
},
|
|
342
|
+
'.ql-editor .ql-size-small': {
|
|
343
|
+
fontSize: '0.75em'
|
|
344
|
+
},
|
|
345
|
+
'.ql-editor .ql-size-large': {
|
|
346
|
+
fontSize: '1.5em'
|
|
347
|
+
},
|
|
348
|
+
'.ql-editor .ql-size-huge': {
|
|
349
|
+
fontSize: '2.5em'
|
|
350
|
+
},
|
|
351
|
+
'.ql-editor .ql-direction-rtl': {
|
|
352
|
+
direction: 'rtl',
|
|
353
|
+
textAlign: 'inherit'
|
|
354
|
+
},
|
|
355
|
+
'.ql-editor .ql-align-center': {
|
|
356
|
+
textAlign: 'center'
|
|
357
|
+
},
|
|
358
|
+
'.ql-editor .ql-align-justify': {
|
|
359
|
+
textAlign: 'justify'
|
|
360
|
+
},
|
|
361
|
+
'.ql-editor .ql-align-right': {
|
|
362
|
+
textAlign: 'right'
|
|
363
|
+
},
|
|
364
|
+
'.ql-editor.ql-blank::before': {
|
|
365
|
+
color: 'rgba(0, 0, 0, 0.6)',
|
|
366
|
+
content: 'attr(data-placeholder)',
|
|
367
|
+
fontStyle: 'italic',
|
|
368
|
+
left: '15px',
|
|
369
|
+
pointerEvents: 'none',
|
|
370
|
+
position: 'absolute',
|
|
371
|
+
right: '15px'
|
|
372
|
+
},
|
|
373
|
+
'.ql-snow.ql-toolbar:after,\n.ql-snow .ql-toolbar:after': {
|
|
374
|
+
clear: 'both',
|
|
375
|
+
content: "''",
|
|
376
|
+
display: 'table'
|
|
377
|
+
},
|
|
378
|
+
'.ql-snow.ql-toolbar button,\n.ql-snow .ql-toolbar button': {
|
|
379
|
+
background: 'none',
|
|
380
|
+
border: 'none',
|
|
381
|
+
cursor: 'pointer',
|
|
382
|
+
display: 'inline-block',
|
|
383
|
+
cssFloat: 'left',
|
|
384
|
+
height: '24px',
|
|
385
|
+
padding: '3px 5px',
|
|
386
|
+
width: '28px'
|
|
387
|
+
},
|
|
388
|
+
'.ql-snow.ql-toolbar button svg,\n.ql-snow .ql-toolbar button svg': {
|
|
389
|
+
cssFloat: 'left',
|
|
390
|
+
height: '100%'
|
|
391
|
+
},
|
|
392
|
+
'.ql-snow.ql-toolbar button:active:hover,\n.ql-snow .ql-toolbar button:active:hover': {
|
|
393
|
+
outline: 'none'
|
|
394
|
+
},
|
|
395
|
+
".ql-snow.ql-toolbar input.ql-image[type='file'],\n.ql-snow .ql-toolbar input.ql-image[type='file']": {
|
|
396
|
+
display: 'none'
|
|
397
|
+
},
|
|
398
|
+
'.ql-snow.ql-toolbar button:hover,\n.ql-snow .ql-toolbar button:hover,\n.ql-snow.ql-toolbar button:focus,\n.ql-snow .ql-toolbar button:focus,\n.ql-snow.ql-toolbar button.ql-active,\n.ql-snow .ql-toolbar button.ql-active,\n.ql-snow.ql-toolbar .ql-picker-label:hover,\n.ql-snow .ql-toolbar .ql-picker-label:hover,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active,\n.ql-snow.ql-toolbar .ql-picker-item:hover,\n.ql-snow .ql-toolbar .ql-picker-item:hover,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected': {
|
|
399
|
+
color: token.colorPrimaryTextHover
|
|
400
|
+
},
|
|
401
|
+
'.ql-snow.ql-toolbar button:hover .ql-fill,\n.ql-snow .ql-toolbar button:hover .ql-fill,\n.ql-snow.ql-toolbar button:focus .ql-fill,\n.ql-snow .ql-toolbar button:focus .ql-fill,\n.ql-snow.ql-toolbar button.ql-active .ql-fill,\n.ql-snow .ql-toolbar button.ql-active .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,\n.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill': {
|
|
402
|
+
fill: token.colorPrimaryTextHover
|
|
403
|
+
},
|
|
404
|
+
'.ql-snow.ql-toolbar button:hover .ql-stroke,\n.ql-snow .ql-toolbar button:hover .ql-stroke,\n.ql-snow.ql-toolbar button:focus .ql-stroke,\n.ql-snow .ql-toolbar button:focus .ql-stroke,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,\n.ql-snow.ql-toolbar button:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar button:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar button:focus .ql-stroke-miter,\n.ql-snow .ql-toolbar button:focus .ql-stroke-miter,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter': {
|
|
405
|
+
stroke: token.colorPrimaryTextHover
|
|
406
|
+
},
|
|
407
|
+
'@media (pointer: coarse)': {
|
|
408
|
+
'.ql-snow.ql-toolbar button:hover:not(.ql-active),\n .ql-snow .ql-toolbar button:hover:not(.ql-active)': {
|
|
409
|
+
color: token.colorTextSecondary
|
|
410
|
+
},
|
|
411
|
+
'.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill': {
|
|
412
|
+
fill: token.colorTextSecondary
|
|
413
|
+
},
|
|
414
|
+
'.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter': {
|
|
415
|
+
stroke: token.colorTextSecondary
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
'.ql-snow': {
|
|
419
|
+
boxSizing: 'border-box'
|
|
420
|
+
},
|
|
421
|
+
'.ql-snow *': {
|
|
422
|
+
boxSizing: 'border-box'
|
|
423
|
+
},
|
|
424
|
+
'.ql-snow .ql-hidden': {
|
|
425
|
+
display: 'none'
|
|
426
|
+
},
|
|
427
|
+
'.ql-snow .ql-out-bottom,\n.ql-snow .ql-out-top': {
|
|
428
|
+
visibility: 'hidden'
|
|
429
|
+
},
|
|
430
|
+
'.ql-snow .ql-tooltip': {
|
|
431
|
+
position: 'absolute',
|
|
432
|
+
transform: 'translateY(10px)',
|
|
433
|
+
backgroundColor: '#fff',
|
|
434
|
+
border: "1px solid ".concat(token.colorBorder),
|
|
435
|
+
boxShadow: '0px 0px 5px #ddd',
|
|
436
|
+
color: token.colorTextSecondary,
|
|
437
|
+
padding: '5px 12px',
|
|
438
|
+
whiteSpace: 'nowrap'
|
|
439
|
+
},
|
|
440
|
+
'.ql-snow .ql-tooltip a': {
|
|
441
|
+
cursor: 'pointer',
|
|
442
|
+
textDecoration: 'none',
|
|
443
|
+
lineHeight: '26px'
|
|
444
|
+
},
|
|
445
|
+
'.ql-snow .ql-tooltip.ql-flip': {
|
|
446
|
+
transform: 'translateY(-10px)'
|
|
447
|
+
},
|
|
448
|
+
'.ql-snow .ql-formats': {
|
|
449
|
+
display: 'inline-block',
|
|
450
|
+
verticalAlign: 'middle'
|
|
451
|
+
},
|
|
452
|
+
'.ql-snow .ql-formats:after': {
|
|
453
|
+
clear: 'both',
|
|
454
|
+
content: "''",
|
|
455
|
+
display: 'table'
|
|
456
|
+
},
|
|
457
|
+
'.ql-snow .ql-stroke': {
|
|
458
|
+
fill: 'none',
|
|
459
|
+
stroke: token.colorTextSecondary,
|
|
460
|
+
strokeLinecap: 'round',
|
|
461
|
+
strokeLinejoin: 'round',
|
|
462
|
+
strokeWidth: 2
|
|
463
|
+
},
|
|
464
|
+
'.ql-snow .ql-stroke-miter': {
|
|
465
|
+
fill: 'none',
|
|
466
|
+
stroke: token.colorTextSecondary,
|
|
467
|
+
strokeMiterlimit: '10',
|
|
468
|
+
strokeWidth: 2
|
|
469
|
+
},
|
|
470
|
+
'.ql-snow .ql-fill,\n.ql-snow .ql-stroke.ql-fill': {
|
|
471
|
+
fill: token.colorTextSecondary
|
|
472
|
+
},
|
|
473
|
+
'.ql-snow .ql-empty': {
|
|
474
|
+
fill: 'none'
|
|
475
|
+
},
|
|
476
|
+
'.ql-snow .ql-even': {
|
|
477
|
+
fillRule: 'evenodd'
|
|
478
|
+
},
|
|
479
|
+
'.ql-snow .ql-thin,\n.ql-snow .ql-stroke.ql-thin': {
|
|
480
|
+
strokeWidth: 1
|
|
481
|
+
},
|
|
482
|
+
'.ql-snow .ql-transparent': {
|
|
483
|
+
opacity: 0.4
|
|
484
|
+
},
|
|
485
|
+
'.ql-snow .ql-direction svg:last-child': {
|
|
486
|
+
display: 'none'
|
|
487
|
+
},
|
|
488
|
+
'.ql-snow .ql-direction.ql-active svg:last-child': {
|
|
489
|
+
display: 'inline'
|
|
490
|
+
},
|
|
491
|
+
'.ql-snow .ql-direction.ql-active svg:first-child': {
|
|
492
|
+
display: 'none'
|
|
493
|
+
},
|
|
494
|
+
'.ql-snow .ql-editor h1': {
|
|
495
|
+
fontSize: '2em'
|
|
496
|
+
},
|
|
497
|
+
'.ql-snow .ql-editor h2': {
|
|
498
|
+
fontSize: '1.5em'
|
|
499
|
+
},
|
|
500
|
+
'.ql-snow .ql-editor h3': {
|
|
501
|
+
fontSize: '1.17em'
|
|
502
|
+
},
|
|
503
|
+
'.ql-snow .ql-editor h4': {
|
|
504
|
+
fontSize: '1em'
|
|
505
|
+
},
|
|
506
|
+
'.ql-snow .ql-editor h5': {
|
|
507
|
+
fontSize: '0.83em'
|
|
508
|
+
},
|
|
509
|
+
'.ql-snow .ql-editor h6': {
|
|
510
|
+
fontSize: '0.67em'
|
|
511
|
+
},
|
|
512
|
+
'.ql-snow .ql-editor a': {
|
|
513
|
+
textDecoration: 'underline'
|
|
514
|
+
},
|
|
515
|
+
'.ql-snow .ql-editor blockquote': {
|
|
516
|
+
borderLeft: '4px solid #ccc',
|
|
517
|
+
marginBottom: '5px',
|
|
518
|
+
marginTop: '5px',
|
|
519
|
+
paddingLeft: '16px'
|
|
520
|
+
},
|
|
521
|
+
'.ql-snow .ql-editor code,\n.ql-snow .ql-editor pre': {
|
|
522
|
+
backgroundColor: '#f0f0f0',
|
|
523
|
+
borderRadius: '3px'
|
|
524
|
+
},
|
|
525
|
+
'.ql-snow .ql-editor pre': {
|
|
526
|
+
whiteSpace: 'pre-wrap',
|
|
527
|
+
marginBottom: '5px',
|
|
528
|
+
marginTop: '5px',
|
|
529
|
+
padding: '5px 10px'
|
|
530
|
+
},
|
|
531
|
+
'.ql-snow .ql-editor code': {
|
|
532
|
+
fontSize: '85%',
|
|
533
|
+
padding: '2px 4px'
|
|
534
|
+
},
|
|
535
|
+
'.ql-snow .ql-editor pre.ql-syntax': {
|
|
536
|
+
backgroundColor: '#23241f',
|
|
537
|
+
color: '#f8f8f2',
|
|
538
|
+
overflow: 'visible'
|
|
539
|
+
},
|
|
540
|
+
'.ql-snow .ql-editor img': {
|
|
541
|
+
maxWidth: '100%'
|
|
542
|
+
},
|
|
543
|
+
'.ql-snow .ql-picker': {
|
|
544
|
+
color: token.colorTextSecondary,
|
|
545
|
+
display: 'inline-block',
|
|
546
|
+
cssFloat: 'left',
|
|
547
|
+
fontSize: '14px',
|
|
548
|
+
fontWeight: 500,
|
|
549
|
+
height: '24px',
|
|
550
|
+
position: 'relative',
|
|
551
|
+
verticalAlign: 'middle'
|
|
552
|
+
},
|
|
553
|
+
'.ql-snow .ql-picker-label': {
|
|
554
|
+
cursor: 'pointer',
|
|
555
|
+
display: 'inline-block',
|
|
556
|
+
height: '100%',
|
|
557
|
+
paddingLeft: '8px',
|
|
558
|
+
paddingRight: '2px',
|
|
559
|
+
position: 'relative',
|
|
560
|
+
width: '100%'
|
|
561
|
+
},
|
|
562
|
+
'.ql-snow .ql-picker-label::before': {
|
|
563
|
+
display: 'inline-block',
|
|
564
|
+
lineHeight: '22px'
|
|
565
|
+
},
|
|
566
|
+
'.ql-snow .ql-picker-options': {
|
|
567
|
+
backgroundColor: '#fff',
|
|
568
|
+
display: 'none',
|
|
569
|
+
minWidth: '100%',
|
|
570
|
+
padding: '4px 8px',
|
|
571
|
+
position: 'absolute',
|
|
572
|
+
whiteSpace: 'nowrap'
|
|
573
|
+
},
|
|
574
|
+
'.ql-snow .ql-picker-options .ql-picker-item': {
|
|
575
|
+
cursor: 'pointer',
|
|
576
|
+
display: 'block',
|
|
577
|
+
paddingBottom: '5px',
|
|
578
|
+
paddingTop: '5px'
|
|
579
|
+
},
|
|
580
|
+
'.ql-snow .ql-picker.ql-expanded .ql-picker-label': {
|
|
581
|
+
color: '#ccc',
|
|
582
|
+
zIndex: 2
|
|
583
|
+
},
|
|
584
|
+
'.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill': {
|
|
585
|
+
fill: '#ccc'
|
|
586
|
+
},
|
|
587
|
+
'.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke': {
|
|
588
|
+
stroke: '#ccc'
|
|
589
|
+
},
|
|
590
|
+
'.ql-snow .ql-picker.ql-expanded .ql-picker-options': {
|
|
591
|
+
display: 'block',
|
|
592
|
+
marginTop: '-1px',
|
|
593
|
+
top: '100%',
|
|
594
|
+
zIndex: 1
|
|
595
|
+
},
|
|
596
|
+
'.ql-snow .ql-color-picker,\n.ql-snow .ql-icon-picker': {
|
|
597
|
+
width: '28px'
|
|
598
|
+
},
|
|
599
|
+
'.ql-snow .ql-color-picker .ql-picker-label,\n.ql-snow .ql-icon-picker .ql-picker-label': {
|
|
600
|
+
padding: '2px 4px'
|
|
601
|
+
},
|
|
602
|
+
'.ql-snow .ql-color-picker .ql-picker-label svg,\n.ql-snow .ql-icon-picker .ql-picker-label svg': {
|
|
603
|
+
right: '4px'
|
|
604
|
+
},
|
|
605
|
+
'.ql-snow .ql-icon-picker .ql-picker-options': {
|
|
606
|
+
padding: '4px 0px'
|
|
607
|
+
},
|
|
608
|
+
'.ql-snow .ql-icon-picker .ql-picker-item': {
|
|
609
|
+
height: '24px',
|
|
610
|
+
width: '24px',
|
|
611
|
+
padding: '2px 4px'
|
|
612
|
+
},
|
|
613
|
+
'.ql-snow .ql-color-picker .ql-picker-options': {
|
|
614
|
+
padding: '3px 5px',
|
|
615
|
+
width: '152px'
|
|
616
|
+
},
|
|
617
|
+
'.ql-snow .ql-color-picker .ql-picker-item': {
|
|
618
|
+
border: '1px solid transparent',
|
|
619
|
+
cssFloat: 'left',
|
|
620
|
+
height: '16px',
|
|
621
|
+
margin: '2px',
|
|
622
|
+
padding: '0px',
|
|
623
|
+
width: '16px'
|
|
624
|
+
},
|
|
625
|
+
'.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg': {
|
|
626
|
+
position: 'absolute',
|
|
627
|
+
marginTop: '-9px',
|
|
628
|
+
right: '0',
|
|
629
|
+
top: '50%',
|
|
630
|
+
width: '18px'
|
|
631
|
+
},
|
|
632
|
+
".ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before": {
|
|
633
|
+
content: 'attr(data-label)'
|
|
634
|
+
},
|
|
635
|
+
'.ql-snow .ql-picker.ql-header': {
|
|
636
|
+
width: '98px'
|
|
637
|
+
},
|
|
638
|
+
'.ql-snow .ql-picker.ql-header .ql-picker-label::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item::before': {
|
|
639
|
+
content: "'Normal'"
|
|
640
|
+
},
|
|
641
|
+
".ql-snow .ql-picker.ql-header .ql-picker-label[data-value='1']::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='1']::before": {
|
|
642
|
+
content: "'Heading 1'"
|
|
643
|
+
},
|
|
644
|
+
".ql-snow .ql-picker.ql-header .ql-picker-label[data-value='2']::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='2']::before": {
|
|
645
|
+
content: "'Heading 2'"
|
|
646
|
+
},
|
|
647
|
+
".ql-snow .ql-picker.ql-header .ql-picker-label[data-value='3']::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='3']::before": {
|
|
648
|
+
content: "'Heading 3'"
|
|
649
|
+
},
|
|
650
|
+
".ql-snow .ql-picker.ql-header .ql-picker-label[data-value='4']::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='4']::before": {
|
|
651
|
+
content: "'Heading 4'"
|
|
652
|
+
},
|
|
653
|
+
".ql-snow .ql-picker.ql-header .ql-picker-label[data-value='5']::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='5']::before": {
|
|
654
|
+
content: "'Heading 5'"
|
|
655
|
+
},
|
|
656
|
+
".ql-snow .ql-picker.ql-header .ql-picker-label[data-value='6']::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='6']::before": {
|
|
657
|
+
content: "'Heading 6'"
|
|
658
|
+
},
|
|
659
|
+
".ql-snow .ql-picker.ql-header .ql-picker-item[data-value='1']::before": {
|
|
660
|
+
fontSize: '2em'
|
|
661
|
+
},
|
|
662
|
+
".ql-snow .ql-picker.ql-header .ql-picker-item[data-value='2']::before": {
|
|
663
|
+
fontSize: '1.5em'
|
|
664
|
+
},
|
|
665
|
+
".ql-snow .ql-picker.ql-header .ql-picker-item[data-value='3']::before": {
|
|
666
|
+
fontSize: '1.17em'
|
|
667
|
+
},
|
|
668
|
+
".ql-snow .ql-picker.ql-header .ql-picker-item[data-value='4']::before": {
|
|
669
|
+
fontSize: '1em'
|
|
670
|
+
},
|
|
671
|
+
".ql-snow .ql-picker.ql-header .ql-picker-item[data-value='5']::before": {
|
|
672
|
+
fontSize: '0.83em'
|
|
673
|
+
},
|
|
674
|
+
".ql-snow .ql-picker.ql-header .ql-picker-item[data-value='6']::before": {
|
|
675
|
+
fontSize: '0.67em'
|
|
676
|
+
},
|
|
677
|
+
'.ql-snow .ql-picker.ql-font': {
|
|
678
|
+
width: '108px'
|
|
679
|
+
},
|
|
680
|
+
'.ql-snow .ql-picker.ql-font .ql-picker-label::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item::before': {
|
|
681
|
+
content: "'Sans Serif'"
|
|
682
|
+
},
|
|
683
|
+
".ql-snow .ql-picker.ql-font .ql-picker-label[data-value='serif']::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value='serif']::before": {
|
|
684
|
+
content: "'Serif'"
|
|
685
|
+
},
|
|
686
|
+
".ql-snow .ql-picker.ql-font .ql-picker-label[data-value='monospace']::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value='monospace']::before": {
|
|
687
|
+
content: "'Monospace'"
|
|
688
|
+
},
|
|
689
|
+
".ql-snow .ql-picker.ql-font .ql-picker-item[data-value='serif']::before": {
|
|
690
|
+
fontFamily: 'Georgia, Times New Roman, serif'
|
|
691
|
+
},
|
|
692
|
+
".ql-snow .ql-picker.ql-font .ql-picker-item[data-value='monospace']::before": {
|
|
693
|
+
fontFamily: 'Monaco, Courier New, monospace'
|
|
694
|
+
},
|
|
695
|
+
'.ql-snow .ql-picker.ql-size': {
|
|
696
|
+
width: '98px'
|
|
697
|
+
},
|
|
698
|
+
'.ql-snow .ql-picker.ql-size .ql-picker-label::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item::before': {
|
|
699
|
+
content: "'Normal'"
|
|
700
|
+
},
|
|
701
|
+
".ql-snow .ql-picker.ql-size .ql-picker-label[data-value='small']::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='small']::before": {
|
|
702
|
+
content: "'Small'"
|
|
703
|
+
},
|
|
704
|
+
".ql-snow .ql-picker.ql-size .ql-picker-label[data-value='large']::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='large']::before": {
|
|
705
|
+
content: "'Large'"
|
|
706
|
+
},
|
|
707
|
+
".ql-snow .ql-picker.ql-size .ql-picker-label[data-value='huge']::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='huge']::before": {
|
|
708
|
+
content: "'Huge'"
|
|
709
|
+
},
|
|
710
|
+
".ql-snow .ql-picker.ql-size .ql-picker-item[data-value='small']::before": {
|
|
711
|
+
fontSize: '10px'
|
|
712
|
+
},
|
|
713
|
+
".ql-snow .ql-picker.ql-size .ql-picker-item[data-value='large']::before": {
|
|
714
|
+
fontSize: '18px'
|
|
715
|
+
},
|
|
716
|
+
".ql-snow .ql-picker.ql-size .ql-picker-item[data-value='huge']::before": {
|
|
717
|
+
fontSize: '32px'
|
|
718
|
+
},
|
|
719
|
+
'.ql-snow .ql-color-picker.ql-background .ql-picker-item': {
|
|
720
|
+
backgroundColor: '#fff'
|
|
721
|
+
},
|
|
722
|
+
'.ql-snow .ql-color-picker.ql-color .ql-picker-item': {
|
|
723
|
+
backgroundColor: '#000'
|
|
724
|
+
},
|
|
725
|
+
'.ql-toolbar.ql-snow': {
|
|
726
|
+
border: "1px solid ".concat(token.colorBorder),
|
|
727
|
+
boxSizing: 'border-box',
|
|
728
|
+
padding: '8px',
|
|
729
|
+
borderTopLeftRadius: '2px',
|
|
730
|
+
borderTopRightRadius: '2px',
|
|
731
|
+
lineHeight: 1.6
|
|
732
|
+
},
|
|
733
|
+
'.ql-toolbar.ql-snow .ql-formats': {
|
|
734
|
+
marginRight: '15px'
|
|
735
|
+
},
|
|
736
|
+
'.ql-toolbar.ql-snow .ql-picker-label': {
|
|
737
|
+
border: '1px solid transparent'
|
|
738
|
+
},
|
|
739
|
+
'.ql-toolbar.ql-snow .ql-picker-options': {
|
|
740
|
+
border: '1px solid transparent',
|
|
741
|
+
boxShadow: 'rgba(0, 0, 0, 0.2) 0 2px 8px'
|
|
742
|
+
},
|
|
743
|
+
'.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label': {
|
|
744
|
+
borderColor: token.colorBorder
|
|
745
|
+
},
|
|
746
|
+
'.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options': {
|
|
747
|
+
borderColor: token.colorBorder
|
|
748
|
+
},
|
|
749
|
+
'.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,\n.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover': {
|
|
750
|
+
borderColor: '#000'
|
|
751
|
+
},
|
|
752
|
+
'.ql-toolbar.ql-snow + .ql-container.ql-snow': {
|
|
753
|
+
borderTop: '0px'
|
|
754
|
+
},
|
|
755
|
+
'.ql-snow .ql-tooltip::before': {
|
|
756
|
+
content: "'Visit URL:'",
|
|
757
|
+
lineHeight: '26px',
|
|
758
|
+
marginRight: '8px'
|
|
759
|
+
},
|
|
760
|
+
".ql-snow .ql-tooltip input[type='text']": {
|
|
761
|
+
display: 'none',
|
|
762
|
+
border: "1px solid ".concat(token.colorBorder),
|
|
763
|
+
fontSize: '13px',
|
|
764
|
+
height: '26px',
|
|
765
|
+
margin: '0px',
|
|
766
|
+
padding: '3px 5px',
|
|
767
|
+
width: '170px'
|
|
768
|
+
},
|
|
769
|
+
'.ql-snow .ql-tooltip a.ql-preview': {
|
|
770
|
+
display: 'inline-block',
|
|
771
|
+
maxWidth: '200px',
|
|
772
|
+
overflowX: 'hidden',
|
|
773
|
+
textOverflow: 'ellipsis',
|
|
774
|
+
verticalAlign: 'top'
|
|
775
|
+
},
|
|
776
|
+
'.ql-snow .ql-tooltip a.ql-action::after': {
|
|
777
|
+
borderRight: '1px solid #ccc',
|
|
778
|
+
content: "'Edit'",
|
|
779
|
+
marginLeft: '16px',
|
|
780
|
+
paddingRight: '8px'
|
|
781
|
+
},
|
|
782
|
+
'.ql-snow .ql-tooltip a.ql-remove::before': {
|
|
783
|
+
content: "'Remove'",
|
|
784
|
+
marginLeft: '8px'
|
|
785
|
+
},
|
|
786
|
+
'.ql-snow .ql-tooltip.ql-editing a.ql-preview,\n.ql-snow .ql-tooltip.ql-editing a.ql-remove': {
|
|
787
|
+
display: 'none'
|
|
788
|
+
},
|
|
789
|
+
".ql-snow .ql-tooltip.ql-editing input[type='text']": {
|
|
790
|
+
display: 'inline-block'
|
|
791
|
+
},
|
|
792
|
+
'.ql-snow .ql-tooltip.ql-editing a.ql-action::after': {
|
|
793
|
+
borderRight: '0px',
|
|
794
|
+
content: "'Save'",
|
|
795
|
+
paddingRight: '0px'
|
|
796
|
+
},
|
|
797
|
+
".ql-snow .ql-tooltip[data-mode='link']::before": {
|
|
798
|
+
content: "'Enter link:'"
|
|
799
|
+
},
|
|
800
|
+
".ql-snow .ql-tooltip[data-mode='formula']::before": {
|
|
801
|
+
content: "'Enter formula:'"
|
|
802
|
+
},
|
|
803
|
+
".ql-snow .ql-tooltip[data-mode='video']::before": {
|
|
804
|
+
content: "'Enter video:'"
|
|
805
|
+
},
|
|
806
|
+
'.ql-snow a': {
|
|
807
|
+
color: token.colorPrimaryTextHover
|
|
808
|
+
},
|
|
809
|
+
'.ql-container.ql-snow': {
|
|
810
|
+
border: "1px solid ".concat(token.colorBorder),
|
|
811
|
+
borderBottomLeftRadius: '2px',
|
|
812
|
+
borderBottomRightRadius: '2px'
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
};
|
|
816
|
+
});
|
|
817
|
+
|
|
818
|
+
export { useStyles };
|