@pimcore/studio-ui-bundle 0.13.20 → 0.14.19
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/dist/build/rsbuild/entrypoints.js +13 -0
- package/dist/build/rsbuild/utils.js +36 -0
- package/dist/build/types/src/core/app/api/pimcore/tags.d.ts +66 -0
- package/dist/build/types/src/core/app/config/services/service-ids.d.ts +43 -0
- package/dist/build/types/src/core/app/public-api/document/document-api.d.ts +4 -2
- package/dist/build/types/src/core/bootstrap.d.ts +3 -0
- package/dist/build/types/src/core/components/asset-target/asset-target.d.ts +2 -1
- package/dist/build/types/src/core/components/background/background.styles.d.ts +1 -0
- package/dist/build/types/src/core/components/code-editor/code-editor.d.ts +2 -2
- package/dist/build/types/src/core/components/code-editor/helpers.d.ts +12 -0
- package/dist/build/types/src/core/components/date-picker/date-picker.d.ts +1 -0
- package/dist/build/types/src/core/components/dropdown/dropdown.stories.d.ts +2 -2
- package/dist/build/types/src/core/components/form/form.d.ts +15 -4
- package/dist/build/types/src/core/components/form/form.stories.d.ts +1 -0
- package/dist/build/types/src/core/components/form/hooks/use-debounced-form-change.d.ts +10 -0
- package/dist/build/types/src/core/components/form/hooks/use-debounced-form-flush.d.ts +15 -0
- package/dist/build/types/src/core/components/form/providers/debounced-form-provider.d.ts +31 -0
- package/dist/build/types/src/core/components/form/use-form.d.ts +29 -0
- package/dist/build/types/src/core/components/geo-map/utils/lat-lng-convert.d.ts +2 -1
- package/dist/build/types/src/core/components/grid/grid-cell/grid-row.d.ts +6 -1
- package/dist/build/types/src/core/components/grid/grid.d.ts +1 -1
- package/dist/build/types/src/core/components/grid/grid.styles.d.ts +3 -1
- package/dist/build/types/src/core/components/grid-button/grid-button.d.ts +18 -0
- package/dist/build/types/src/core/components/grid-button/grid-button.stories.d.ts +16 -0
- package/dist/build/types/src/core/{modules/document/editor/sidebar/tabs/areablock-types/components/draggable-areablock-type/draggable-areablock-type.styles.d.ts → components/grid-button/grid-button.styles.d.ts} +3 -3
- package/dist/build/types/src/core/components/hotspot-image/hotspot-image.d.ts +3 -1
- package/dist/build/types/src/core/components/hotspot-image/utils/resize.d.ts +2 -2
- package/dist/build/types/src/core/components/icon/icon.d.ts +5 -2
- package/dist/build/types/src/core/components/icon-button/icon-button.d.ts +2 -0
- package/dist/build/types/src/core/components/image-picker/image-picker.d.ts +28 -0
- package/dist/build/types/src/core/components/image-picker/image-picker.styles.d.ts +13 -0
- package/dist/build/types/src/core/components/import-modal/components/file-drop-zone/file-drop-zone.d.ts +17 -0
- package/dist/build/types/src/core/components/import-modal/components/file-drop-zone/file-drop-zone.styles.d.ts +13 -0
- package/dist/build/types/src/core/components/import-modal/components/selected-file-view/selected-file-view.d.ts +20 -0
- package/dist/build/types/src/core/components/import-modal/components/selected-file-view/selected-file-view.styles.d.ts +14 -0
- package/dist/build/types/src/core/components/import-modal/hooks/use-file-upload.d.ts +26 -0
- package/dist/build/types/src/core/components/import-modal/hooks/use-file-validation.d.ts +16 -0
- package/dist/build/types/src/core/components/import-modal/import-modal.d.ts +32 -0
- package/dist/build/types/src/core/components/import-modal/index.d.ts +10 -0
- package/dist/build/types/src/core/components/many-to-one-relation/components/many-to-one-relation/index.d.ts +11 -0
- package/dist/build/types/src/core/components/many-to-one-relation/components/many-to-one-relation/many-to-one-relation-path.d.ts +16 -0
- package/dist/build/types/src/core/components/many-to-one-relation/index.d.ts +2 -1
- package/dist/build/types/src/core/components/many-to-one-relation/many-to-one-relation.d.ts +1 -0
- package/dist/build/types/src/core/components/modal/alert-modal/hooks/use-alert-modal.d.ts +5 -5
- package/dist/build/types/src/core/components/modal/form-modal/components/input-form.d.ts +3 -2
- package/dist/build/types/src/core/components/modal/form-modal/components/textarea-form.d.ts +3 -2
- package/dist/build/types/src/core/components/modal/form-modal/components/upload-form.d.ts +3 -2
- package/dist/build/types/src/core/components/panel/panel.d.ts +2 -1
- package/dist/build/types/src/core/components/panel/panel.stories.d.ts +1 -0
- package/dist/build/types/src/core/components/rule-condition/components/add-condition-button/add-condition-button.d.ts +17 -0
- package/dist/build/types/src/core/components/rule-condition/components/bracket-button/bracket-button.d.ts +19 -0
- package/dist/build/types/src/core/components/rule-condition/components/bracket-button/bracket-button.styles.d.ts +14 -0
- package/dist/build/types/src/core/components/rule-condition/components/condition-item/condition-item.d.ts +22 -0
- package/dist/build/types/src/core/components/rule-condition/components/condition-item/condition-item.styles.d.ts +18 -0
- package/dist/build/types/src/core/components/rule-condition/components/condition-list/condition-list.d.ts +16 -0
- package/dist/build/types/src/core/components/rule-condition/components/operator-selector/operator-selector.d.ts +21 -0
- package/dist/build/types/src/core/components/rule-condition/hooks/use-add-condition-menu-items.d.ts +14 -0
- package/dist/build/types/src/core/components/rule-condition/hooks/use-rule-condition.d.ts +26 -0
- package/dist/build/types/src/core/components/rule-condition/index.d.ts +11 -0
- package/dist/build/types/src/core/components/rule-condition/provider/rule-condition-provider/rule-condition-provider.d.ts +24 -0
- package/dist/build/types/src/core/components/rule-condition/provider/rule-condition-provider/use-rule-condition-context.d.ts +11 -0
- package/dist/build/types/src/core/components/rule-condition/rule-condition.constants.d.ts +19 -0
- package/dist/build/types/src/core/components/rule-condition/rule-condition.d.ts +12 -0
- package/dist/build/types/src/core/components/rule-condition/rule-condition.styles.d.ts +12 -0
- package/dist/build/types/src/core/components/rule-condition/types/rule-condition.types.d.ts +64 -0
- package/dist/build/types/src/core/components/rule-condition/utils/condition-array-utils.d.ts +18 -0
- package/dist/build/types/src/core/components/select/select.d.ts +1 -0
- package/dist/build/types/src/core/components/switch/switch.d.ts +4 -1
- package/dist/build/types/src/core/components/toolstrip/tool-strip.d.ts +9 -2
- package/dist/build/types/src/core/components/toolstrip/utils/get-icon-color.d.ts +36 -0
- package/dist/build/types/src/core/components/tooltip-icon/tooltip-icon.d.ts +16 -0
- package/dist/build/types/src/core/components/tooltip-icon/tooltip-icon.styles.d.ts +12 -0
- package/dist/build/types/src/core/components/tree-element/tree-element.d.ts +4 -0
- package/dist/build/types/src/core/modules/app/app-loader/loader/admin-settings/loader.d.ts +13 -0
- package/dist/build/types/src/core/modules/app/app-loader/loader/brand-thumbnail-urls/loader.d.ts +13 -0
- package/dist/build/types/src/core/modules/app/app-loader/loader/global-message-bus/loader.d.ts +14 -0
- package/dist/build/types/src/core/modules/app/branding/hooks/use-admin-thumbnails.d.ts +16 -0
- package/dist/build/types/src/core/modules/app/settings/settings-slice-enhanced.d.ts +527 -175
- package/dist/build/types/src/core/modules/app/settings/settings-slice.d.ts +4 -2
- package/dist/build/types/src/core/modules/app/settings/settings-slice.gen.d.ts +1262 -74
- package/dist/build/types/src/core/modules/app/theme/dynamic-types/definitions/studio-default-light/dynamic-type-theme-studio-default-light.d.ts +31 -0
- package/dist/build/types/src/core/modules/app/types/column-filter.d.ts +33 -0
- package/dist/build/types/src/core/modules/app/types/sort-filter.d.ts +13 -0
- package/dist/build/types/src/core/modules/app/utils/download.d.ts +11 -0
- package/dist/build/types/src/core/modules/app/utils/sort-filter-helper.d.ts +13 -0
- package/dist/build/types/src/core/modules/appearance-branding/components/appearance-form/appearance-form.d.ts +11 -0
- package/dist/build/types/src/core/modules/appearance-branding/components/appearance-form/components/color-panel/color-panel.d.ts +11 -0
- package/dist/build/types/src/core/modules/appearance-branding/components/appearance-form/components/image-panel/image-panel.d.ts +19 -0
- package/dist/build/types/src/core/modules/appearance-branding/hooks/use-appearance-branding.d.ts +19 -0
- package/dist/build/types/src/core/modules/appearance-branding/index.d.ts +11 -0
- package/dist/build/types/src/core/modules/asset/editor/types/asset-thumbnails-api-slice.gen.d.ts +1916 -39
- package/dist/build/types/src/core/modules/auth/enums/user-permission.d.ts +4 -1
- package/dist/build/types/src/core/modules/auth/login-page.styles.d.ts +5 -1
- package/dist/build/types/src/core/modules/class-definition/class-definition-slice-enhanced.d.ts +1089 -7
- package/dist/build/types/src/core/modules/class-definition/class-definition-slice.gen.d.ts +946 -320
- package/dist/build/types/src/core/modules/class-definition/components/class-editor/composite-indices-block.d.ts +11 -0
- package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/custom-layout-editor.d.ts +11 -0
- package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/custom-layout-general-settings-form-fields.d.ts +11 -0
- package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/editor/add-modal.d.ts +11 -0
- package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/editor/use-custom-layout-collection-query.d.ts +11 -0
- package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/editor/use-custom-layout-delete-mutation.d.ts +11 -0
- package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/editor/use-custom-layout-detail-query.d.ts +11 -0
- package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/editor/use-custom-layout-layout-accessor.d.ts +11 -0
- package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/editor/use-custom-layout-update-mutation.d.ts +11 -0
- package/dist/build/types/src/core/modules/class-definition/components/class-editor/general-settings-form-fields.d.ts +11 -0
- package/dist/build/types/src/core/modules/class-definition/components/class-editor/object-bricks-grid.d.ts +15 -0
- package/dist/build/types/src/core/modules/data-object/classification-store/classification-store-api-slice.gen.d.ts +201 -0
- package/dist/build/types/src/core/modules/data-object/data-object-api-slice.gen.d.ts +1 -1
- package/dist/build/types/src/core/modules/data-object/editor/types/object/tab-manager/tabs/edit/providers/edit-form-provider/edit-form-provider.d.ts +2 -2
- package/dist/build/types/src/core/modules/document/actions/site/provider/site-modal.d.ts +2 -2
- package/dist/build/types/src/core/modules/document/actions/site/site-form.d.ts +2 -2
- package/dist/build/types/src/core/modules/document/document-api-slice.gen.d.ts +2 -0
- package/dist/build/types/src/core/modules/document/document-draft-slice.d.ts +1 -1
- package/dist/build/types/src/core/modules/document/document-editor-slice.d.ts +28 -2
- package/dist/build/types/src/core/modules/document/editor/shared-tab-manager/tabs/edit/iframe-app/bootstrap.d.ts +1 -0
- package/dist/build/types/src/core/modules/document/editor/sidebar/tabs/content-settings/content-settings-form.d.ts +3 -1
- package/dist/build/types/src/core/modules/document/editor/sidebar/tabs/content-settings/content-settings-sidebar.d.ts +3 -1
- package/dist/build/types/src/core/modules/document/editor/sidebar/tabs/document-configuration/document-configuration-form.d.ts +8 -7
- package/dist/build/types/src/core/modules/document/hooks/use-document-url-processor.d.ts +1 -1
- package/dist/build/types/src/core/modules/document/hooks/use-sites.d.ts +4 -1
- package/dist/build/types/src/core/modules/element/actions/delete/use-delete.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/components/crop-modal/crop-modal.d.ts +2 -2
- package/dist/build/types/src/core/modules/element/components/crop-modal/hooks/use-crop-modal.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/components/crop-modal/provider/crop-modal-provider.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/components/hotspot-markers-modal/hooks/use-hotspot-markers-modal.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/components/hotspot-markers-modal/hotspot-markers-modal.d.ts +10 -0
- package/dist/build/types/src/core/modules/element/components/hotspot-markers-modal/provider/hotspot-markers-modal-provider.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/areablock-editable.d.ts +4 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/hooks/use-areablock-editable.d.ts +3 -2
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/with-areablock-render-query.d.ts +12 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/types/dynamic-type-document-editable-areablock.d.ts +2 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/types/dynamic-type-document-editable-scheduledblock.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/grid-cell/components/element-subtype-icon-cell/element-subtype-icon-cell.d.ts +16 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/grid-cell/components/element-subtype-icon-cell/element-subtype-icon-cell.styles.d.ts +12 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/grid-cell/types/element-subtype-icon/dynamic-type-grid-cell-element-subtype-icon.d.ts +19 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/hotspot-image/hotspot-image.d.ts +4 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/hotspot-image/image-preview.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/image/footer.d.ts +5 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/image-gallery/components/image-preview/image-preview.d.ts +5 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/image-gallery/components/sortable-item/sortable-item.d.ts +5 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/image-gallery/image-gallery.d.ts +4 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/helpers/hotspot-image/utils/crop-converter.d.ts +3 -2
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/notes-and-events/form/add-note-form.d.ts +1 -1
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/versions/version-api-slice.gen.d.ts +24 -0
- package/dist/build/types/src/core/modules/element/element-api-slice-enhanced.d.ts +184 -1
- package/dist/build/types/src/core/modules/element/hooks/use-path-to-id.d.ts +19 -0
- package/dist/build/types/src/core/modules/element/services/processors/element-icon-processor-registry.d.ts +1 -1
- package/dist/build/types/src/core/modules/email/log/components/email-preview/email-preview.d.ts +2 -2
- package/dist/build/types/src/core/modules/email/log/components/parameters-tab/parameters-tab.d.ts +2 -2
- package/dist/build/types/src/core/modules/email/test-mail/component/send-test-mail-form/send-test-mail-form.d.ts +2 -2
- package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/current-configuration-provider.d.ts +21 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/custom-layout-modal.d.ts +2 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/detail/custom-layout-actions.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/detail/detail-renderer.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/detail/layout-provider.d.ts +10 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/detail/parent-tree.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/detail.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/top-bar/add-modal-trigger.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/top-bar/item-select.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/top-bar.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/view.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/items/detail/content/general-settings-form.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/items/detail/general-settings-provider.d.ts +1 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/items/detail/import-export-actions.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/items/detail/layout-provider.d.ts +1 -33
- package/dist/build/types/src/core/modules/field-definitions/components/editor/items/detail/sidebar.d.ts +14 -1
- package/dist/build/types/src/core/modules/field-definitions/components/editor/items/provider.d.ts +3 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/settings-provider.d.ts +30 -2
- package/dist/build/types/src/core/modules/field-definitions/components/editor/view.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor.d.ts +8 -1
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/components/field-definition-crop-panel/field-definition-crop-panel.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/components/field-definition-decimal-settings/field-definition-decimal-settings.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/components/field-definition-default-value-grid/field-definition-default-value-grid.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/components/field-definition-geo-settings/field-definition-geo-settings.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/components/field-definition-options-source-fields/field-definition-options-source-fields.d.ts +14 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/components/field-definition-regex-validation/field-definition-regex-validation.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/components/field-definition-select-options-grid/field-definition-select-options-grid.d.ts +20 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/dynamic-type-field-definition-abstract.d.ts +11 -3
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/dynamic-type-field-definition-registry.d.ts +11 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/hooks/use-class-select-options.d.ts +13 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/_abstracts/data/dynamic-type-field-defintion-data-abstract.d.ts +3 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/_abstracts/layout/dynamic-type-field-defintion-layout-abstract.d.ts +1 -1
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/block/dynamic-type-field-definition-block.d.ts +3 -2
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/booleanSelect/dynamic-type-field-definition-boolean-select.d.ts +20 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/booleanSelect/field-definition-boolean-select-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/calculatedValue/dynamic-type-field-definition-calculated-value.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/calculatedValue/field-definition-calculated-value-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/checkbox/dynamic-type-field-definition-checkbox.d.ts +20 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/checkbox/field-definition-checkbox-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/country/dynamic-type-field-definition-country.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/country/field-definition-country-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/countrymultiselect/dynamic-type-field-definition-countrymultiselect.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/countrymultiselect/field-definition-countrymultiselect-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/date/dynamic-type-field-definition-date.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/date/field-definition-date-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/dateRange/dynamic-type-field-definition-date-range.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/dateRange/field-definition-date-range-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/dateTime/dynamic-type-field-definition-date-time.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/dateTime/field-definition-date-time-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/encryptedField/dynamic-type-field-definition-encrypted-field.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/encryptedField/field-definition-encrypted-field-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/externalImage/dynamic-type-field-definition-external-image.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/externalImage/field-definition-external-image-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geobounds/dynamic-type-field-definition-geobounds.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geobounds/field-definition-geobounds-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geopoint/dynamic-type-field-definition-geopoint.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geopoint/field-definition-geopoint-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geopolygon/dynamic-type-field-definition-geopolygon.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geopolygon/field-definition-geopolygon-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geopolyline/dynamic-type-field-definition-geopolyline.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geopolyline/field-definition-geopolyline-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/image/dynamic-type-field-definition-image.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/image/field-definition-image-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/imageAdvanced/dynamic-type-field-definition-hotspot-image.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/imageAdvanced/field-definition-image-advanced-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/imageGallery/dynamic-type-field-definition-image-gallery.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/imageGallery/field-definition-image-gallery-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/inputQuantityValue/dynamic-type-field-definition-input-quantity-value.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/inputQuantityValue/field-defintion-input-quantity-value-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/language/dynamic-type-field-definition-language.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/language/field-definition-language-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/languagemultiselect/dynamic-type-field-definition-languagemultiselect.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/languagemultiselect/field-definition-languagemultiselect-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/link/dynamic-type-field-definition-link.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/link/field-definition-link-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/multiselection/dynamic-type-field-definition-multiselection.d.ts +21 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/multiselection/field-definition-multiselection-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/number/dynamic-type-field-definition-number.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/number/field-definition-number-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/numericRange/dynamic-type-field-definition-numeric-range.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/numericRange/field-definition-numeric-range-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/panel/dynamic-type-field-definition-panel.d.ts +2 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/password/dynamic-type-field-definition-password.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/password/field-defintion-password-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/quantityValue/dynamic-type-field-definition-quantity-value.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/quantityValue/field-definition-quantity-value-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/quantityValueRange/dynamic-type-field-definition-quantity-value-range.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/quantityValueRange/field-definition-quantity-value-range-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/rgbaColor/dynamic-type-field-definition-rgba-color.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/rgbaColor/field-definition-rgba-color-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/select/dynamic-type-field-definition-select.d.ts +20 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/select/field-definition-select-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/slider/dynamic-type-field-definition-slider.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/slider/field-definition-slider-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/textarea/dynamic-type-field-definition-textarea.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/textarea/field-definition-textarea-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/time/dynamic-type-field-definition-time.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/time/field-definition-time-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/urlSlug/dynamic-type-field-definition-url-slug.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/urlSlug/field-definition-url-slug-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/user/dynamic-type-field-definition-user.d.ts +18 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/video/dynamic-type-field-definition-video.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/video/field-definition-video-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/wysiwyg/dynamic-type-field-definition-wysiwyg.d.ts +19 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/wysiwyg/field-definition-wysiwyg-form-fields.d.ts +12 -0
- package/dist/build/types/src/core/modules/field-definitions/utils/context-helpers.d.ts +1 -1
- package/dist/build/types/src/core/modules/field-definitions/utils/layout-helpers.d.ts +29 -0
- package/dist/build/types/src/core/modules/field-definitions/utils/layout-provider-factory.d.ts +54 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/components/delete-button/delete-button.d.ts +20 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/components/export-button/export-button.d.ts +17 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/components/open-button/open-button.d.ts +18 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/components/search-form/search-form.d.ts +18 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/components/search-form/search-form.styles.d.ts +12 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/assets-tab/assets-tab.d.ts +25 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/data-objects-tab/data-objects-tab.d.ts +24 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/emails-tab/components/delete-button/delete-button.d.ts +18 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/emails-tab/components/email-parameters-button/email-parameters-button.d.ts +16 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/emails-tab/components/email-preview-button/email-preview-button.d.ts +16 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/emails-tab/emails-tab.d.ts +29 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/users-tab/components/delete-button/delete-button.d.ts +19 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/users-tab/hooks/use-user.d.ts +16 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/users-tab/users-tab.d.ts +26 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/tab-panel.d.ts +30 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/dynamic-types/definitions/dynamic-type-abstract-gdpr-provider.d.ts +15 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/dynamic-types/definitions/dynamic-type-assets-gdpr-provider.d.ts +16 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/dynamic-types/definitions/dynamic-type-data-object-gdpr-provider.d.ts +16 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/dynamic-types/definitions/dynamic-type-email-gdpr-provider.d.ts +16 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/dynamic-types/definitions/dynamic-type-users-gdpr-provider.d.ts +16 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/dynamic-types/registry/dynamic-type-gdpr-provider-registry.d.ts +13 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/gdpr-data-extractor-api-slice.gen.d.ts +618 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/gdpr-data-extractor-container.d.ts +20 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/gdpr-data-extractor-slice-enhanced.d.ts +935 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/index.d.ts +10 -0
- package/dist/build/types/src/core/modules/image-thumbnails/components/image-thumbnails-tree/image-thumbnails-tree.d.ts +16 -0
- package/dist/build/types/src/core/modules/image-thumbnails/components/image-thumbnails-tree/image-thumbnails-tree.styles.d.ts +12 -0
- package/dist/build/types/src/core/modules/image-thumbnails/components/image-thumbnails-tree-toolbar/image-thumbnails-tree-toolbar.d.ts +16 -0
- package/dist/build/types/src/core/modules/image-thumbnails/hooks/use-thumbnail-config.d.ts +19 -0
- package/dist/build/types/src/core/modules/image-thumbnails/image-thumbnails-container.d.ts +11 -0
- package/dist/build/types/src/core/modules/image-thumbnails/image-thumbnails-container.styles.d.ts +12 -0
- package/dist/build/types/src/core/modules/image-thumbnails/index.d.ts +11 -0
- package/dist/build/types/src/core/modules/image-thumbnails/providers/image-thumbnails-provider.d.ts +27 -0
- package/dist/build/types/src/core/modules/image-thumbnails/utils/tree-helpers.d.ts +12 -0
- package/dist/build/types/src/core/modules/notifications/send-notification/components/notification-form/notification-form.d.ts +2 -2
- package/dist/build/types/src/core/modules/perspectives/enums/nav-permission.d.ts +3 -0
- package/dist/build/types/src/core/modules/reports/custom-reports-api-slice.gen.d.ts +2 -2
- package/dist/build/types/src/core/modules/reports/reports-view/components/report-chart/components/bar-chart/bar-chart.d.ts +1 -1
- package/dist/build/types/src/core/modules/reports/reports-view/components/report-chart/components/line-chart/line-chart.d.ts +1 -1
- package/dist/build/types/src/core/modules/reports/reports-view/components/report-chart/components/pie-chart/pie-chart.d.ts +1 -1
- package/dist/build/types/src/core/modules/reports/reports-view/components/report-chart/types.d.ts +1 -0
- package/dist/build/types/src/core/modules/reports/reports-view/reports-view.styles.d.ts +1 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-actions/components/action-item.d.ts +16 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-actions/components/add-action-button/add-action-button.d.ts +16 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-actions/hooks/use-add-action-menu-items.d.ts +14 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-actions/provider/rule-actions-provider/rule-actions-provider.d.ts +28 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-actions/provider/rule-actions-provider/use-rule-actions.d.ts +13 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-actions/rule-actions.d.ts +12 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-actions/types/rule-actions.types.d.ts +19 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-conditions/rule-conditions.d.ts +12 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-conditions/types/rule-conditions.types.d.ts +17 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-config-form/index.d.ts +10 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-config-form/rule-config-form.d.ts +29 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-triggers/components/add-trigger-button/add-trigger-button.d.ts +16 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-triggers/components/trigger-item.d.ts +16 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-triggers/hooks/use-add-trigger-menu-items.d.ts +14 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-triggers/provider/rule-triggers-provider/rule-triggers-provider.d.ts +28 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-triggers/provider/rule-triggers-provider/use-rule-triggers.d.ts +13 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-triggers/rule-triggers.d.ts +12 -0
- package/dist/build/types/src/core/modules/rule-builder/components/rule-triggers/types/rule-triggers.types.d.ts +19 -0
- package/dist/build/types/src/core/modules/rule-builder/components/shared/hooks/use-rule-item-drag-drop.d.ts +18 -0
- package/dist/build/types/src/core/modules/rule-builder/components/shared/hooks/use-rule-items.d.ts +28 -0
- package/dist/build/types/src/core/modules/rule-builder/components/shared/hooks/use-sortable-item.d.ts +21 -0
- package/dist/build/types/src/core/modules/rule-builder/components/shared/rule-item-list.d.ts +21 -0
- package/dist/build/types/src/core/modules/rule-builder/components/shared/rule-item-tool-strip.d.ts +24 -0
- package/dist/build/types/src/core/modules/rule-builder/components/sortable-rules-list/index.d.ts +12 -0
- package/dist/build/types/src/core/modules/rule-builder/components/sortable-rules-list/sortable-rule-item.d.ts +20 -0
- package/dist/build/types/src/core/modules/rule-builder/components/sortable-rules-list/sortable-rules-list.d.ts +20 -0
- package/dist/build/types/src/core/modules/rule-builder/components/sortable-rules-list/sortable-rules-list.styles.d.ts +15 -0
- package/dist/build/types/src/core/modules/rule-builder/components/sortable-rules-list/sortable-rules-list.types.d.ts +20 -0
- package/dist/build/types/src/core/modules/rule-builder/dynamic-types/rule-action/dynamic-type-rule-action-abstract.d.ts +45 -0
- package/dist/build/types/src/core/modules/rule-builder/dynamic-types/rule-action/dynamic-type-rule-action-registry.d.ts +17 -0
- package/dist/build/types/src/core/modules/rule-builder/dynamic-types/rule-condition/dynamic-type-rule-condition-abstract.d.ts +40 -0
- package/dist/build/types/src/core/modules/rule-builder/dynamic-types/rule-condition/dynamic-type-rule-condition-registry.d.ts +15 -0
- package/dist/build/types/src/core/modules/rule-builder/dynamic-types/rule-trigger/dynamic-type-rule-trigger-abstract.d.ts +45 -0
- package/dist/build/types/src/core/modules/rule-builder/dynamic-types/rule-trigger/dynamic-type-rule-trigger-registry.d.ts +17 -0
- package/dist/build/types/src/core/modules/rule-builder/types/rule-item.types.d.ts +28 -0
- package/dist/build/types/src/core/modules/user/user-api-slice-enhanced.d.ts +160 -160
- package/dist/build/types/src/core/modules/widget-editor/components/widget-create-form/widget-create-form.d.ts +3 -2
- package/dist/build/types/src/core/modules/widget-manager/hooks/use-widget-title.d.ts +1 -1
- package/dist/build/types/src/core/modules/widget-manager/title/border-title-view.d.ts +1 -1
- package/dist/build/types/src/core/modules/widget-manager/title/tab-title-container.d.ts +1 -1
- package/dist/build/types/src/core/modules/widget-manager/title/tab-title-view.d.ts +1 -1
- package/dist/build/types/src/core/modules/widget-manager/widget/widget-content-title-container.d.ts +1 -1
- package/dist/build/types/src/core/modules/widget-manager/widget/widget-view.d.ts +1 -1
- package/dist/build/types/src/core/modules/widget-manager/widget-manager-slice.d.ts +1 -1
- package/dist/build/types/src/core/types/components/types.d.ts +1 -0
- package/dist/build/types/src/core/utils/hooks/use-controlled-state.d.ts +34 -0
- package/dist/build/types/src/sdk/_internal_/mf-bootstrap-document-editor-iframe.d.ts +1 -0
- package/dist/build/types/src/sdk/_internal_/mf-bootstrap.d.ts +1 -0
- package/dist/build/types/src/sdk/components/index.d.ts +7 -0
- package/dist/build/types/src/sdk/main.d.ts +1 -0
- package/dist/build/types/src/sdk/modules/app/index.d.ts +1 -0
- package/dist/build/types/src/sdk/modules/document/index.d.ts +2 -0
- package/dist/build/types/src/sdk/modules/element/index.d.ts +4 -0
- package/dist/build/types/src/sdk/modules/field-definitions/index.d.ts +14 -0
- package/dist/build/types/src/sdk/modules/gdpr-data-extractor/index.d.ts +12 -0
- package/dist/build/types/src/sdk/modules/rule-builder/index.d.ts +24 -0
- package/dist/build/types/src/sdk/modules/translations/index.d.ts +10 -0
- package/dist/build/types/src/sdk/modules/widget-manager/index.d.ts +1 -1
- package/dist/build/types/src/sdk/utils/index.d.ts +1 -0
- package/dist/types/entrypoints.d.ts +5 -1
- package/dist/types/utils.d.ts +1 -0
- package/package.json +8 -2
- package/dist/build/rsbuild/plugins/entrypoints.js +0 -7
- package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/custom-layout-modal-provider.d.ts +0 -21
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type ConfigurationPartial } from '../../../../../modules/field-definitions/components/editor/items/provider';
|
|
11
|
+
import React from 'react';
|
|
12
|
+
export interface ICurrentConfigurationContext {
|
|
13
|
+
configuration: ConfigurationPartial | undefined;
|
|
14
|
+
}
|
|
15
|
+
export declare const CurrentConfigurationContext: React.Context<ICurrentConfigurationContext | undefined>;
|
|
16
|
+
export interface CurrentConfigurationProviderProps {
|
|
17
|
+
configuration: ConfigurationPartial | undefined;
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
export declare const CurrentConfigurationProvider: (props: CurrentConfigurationProviderProps) => React.JSX.Element;
|
|
21
|
+
export declare const useCurrentConfiguration: () => ICurrentConfigurationContext;
|
|
@@ -8,4 +8,6 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
+
declare const CustomLayoutModalProvider: React.ComponentType<import("../../../../../components/modal/factory/modal-factory").ModalProviderProps>, useCustomLayoutModal: () => import("../../../../../components/modal/factory/modal-factory").IModalContext;
|
|
12
|
+
export { CustomLayoutModalProvider, useCustomLayoutModal };
|
|
11
13
|
export declare const CustomLayoutModal: () => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const CustomLayoutActions: () => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const DetailRenderer: () => React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export declare const CustomLayoutLayoutProvider: (props: import("../../../../../../../modules/field-definitions/utils/layout-provider-factory").LayoutProviderProps) => React.JSX.Element, useCustomLayoutLayout: () => import("../../../../../../../modules/field-definitions/utils/layout-provider-factory").ILayoutContext;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const DetailParentTree: () => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const ItemDetail: () => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const AddModalTrigger: () => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const TopBarItemSelect: () => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const ItemsTopBar: () => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const CustomLayoutView: () => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const GeneralSettingsForm: () => React.JSX.Element;
|
|
@@ -12,6 +12,7 @@ import React from 'react';
|
|
|
12
12
|
export type GeneralSettings = ClassDefinition | CustomLayouts;
|
|
13
13
|
export interface IGeneralSettingsContext {
|
|
14
14
|
generalSettings: GeneralSettings | undefined;
|
|
15
|
+
setGeneralSettings: (settings: GeneralSettings | undefined) => void;
|
|
15
16
|
}
|
|
16
17
|
export declare const GeneralSettingsContext: React.Context<IGeneralSettingsContext | undefined>;
|
|
17
18
|
export interface IGeneralSettingsProviderProps {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const ImportExportActions: () => React.JSX.Element;
|
|
@@ -7,36 +7,4 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
-
|
|
11
|
-
import React from 'react';
|
|
12
|
-
export type Layout = LayoutType;
|
|
13
|
-
export interface StructureNode {
|
|
14
|
-
id: string;
|
|
15
|
-
children: StructureNode[];
|
|
16
|
-
}
|
|
17
|
-
export interface FieldDefinition extends Record<string, any> {
|
|
18
|
-
fieldtype: string;
|
|
19
|
-
}
|
|
20
|
-
export interface ILayoutContext {
|
|
21
|
-
structure: StructureNode | undefined;
|
|
22
|
-
fieldDefinitions: Record<string, FieldDefinition>;
|
|
23
|
-
currentFieldDefinitionId: StructureNode['id'] | null;
|
|
24
|
-
currentFieldDefinitionIdPath: string[] | null;
|
|
25
|
-
invalidFieldDefinitionIds: string[];
|
|
26
|
-
setInvalidFieldDefinitionIds: (ids: string[]) => void;
|
|
27
|
-
setCurrentFieldDefinitionId: (id: StructureNode['id'] | null) => void;
|
|
28
|
-
setCurrentFieldDefinitionIdPath: (path: string[] | null) => void;
|
|
29
|
-
updateFieldDefinition: (structureNodeId: StructureNode['id'], updatedFieldDefinition: FieldDefinition) => void;
|
|
30
|
-
addFieldDefinition: (structureNodeId: StructureNode['id'], newFieldDefinition: FieldDefinition) => StructureNode['id'];
|
|
31
|
-
removeFieldDefinition: (structureNodeId: StructureNode['id']) => void;
|
|
32
|
-
cloneFieldDefinition: (structureNodeId: StructureNode['id']) => StructureNode['id'];
|
|
33
|
-
moveFieldDefinition: (structureNodeId: StructureNode['id'], newParentId: StructureNode['id'], newIndex: number) => void;
|
|
34
|
-
getLayout: () => Layout;
|
|
35
|
-
}
|
|
36
|
-
export declare const LayoutContext: React.Context<ILayoutContext | undefined>;
|
|
37
|
-
export interface LayoutProviderProps {
|
|
38
|
-
layout: Layout | undefined;
|
|
39
|
-
children: React.ReactNode;
|
|
40
|
-
}
|
|
41
|
-
export declare const LayoutProvider: (props: LayoutProviderProps) => React.JSX.Element;
|
|
42
|
-
export declare const useLayout: () => ILayoutContext;
|
|
10
|
+
export declare const LayoutProvider: (props: import("../../../../../../modules/field-definitions/utils/layout-provider-factory").LayoutProviderProps) => React.JSX.Element, useLayout: () => import("../../../../../../modules/field-definitions/utils/layout-provider-factory").ILayoutContext;
|
|
@@ -7,9 +7,22 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
+
import { type Layout, type FieldDefinition } from '../../../../../../modules/field-definitions/utils/layout-provider-factory';
|
|
11
|
+
import { type DragAndDropInfo } from '../../../../../../../sdk/components';
|
|
10
12
|
import React from 'react';
|
|
11
13
|
export interface DetailSidebarProps {
|
|
12
|
-
allowExternalDrag?: boolean;
|
|
13
14
|
allowExternalDrop?: boolean;
|
|
14
15
|
}
|
|
16
|
+
export interface FieldDefinitionDragDropInfo extends DragAndDropInfo {
|
|
17
|
+
type: 'field-definition';
|
|
18
|
+
data: {
|
|
19
|
+
area: string[];
|
|
20
|
+
internal: {
|
|
21
|
+
id: string;
|
|
22
|
+
fieldDefinition: FieldDefinition;
|
|
23
|
+
path: string[];
|
|
24
|
+
};
|
|
25
|
+
external: Layout;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
15
28
|
export declare const DetailSidebar: (props: DetailSidebarProps) => React.JSX.Element;
|
package/dist/build/types/src/core/modules/field-definitions/components/editor/items/provider.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export interface ConfigurationPartial {
|
|
|
17
17
|
color?: string;
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
+
export type DetailView = 'layout' | 'general';
|
|
20
21
|
export interface IItemsContext {
|
|
21
22
|
configurations: ConfigurationPartial[];
|
|
22
23
|
activeConfiguration: ConfigurationPartial | undefined;
|
|
@@ -24,6 +25,8 @@ export interface IItemsContext {
|
|
|
24
25
|
openConfiguration: (config: ConfigurationPartial) => void;
|
|
25
26
|
setActiveConfiguration: (config: ConfigurationPartial) => void;
|
|
26
27
|
closeActiveConfiguration: () => void;
|
|
28
|
+
detailView: DetailView;
|
|
29
|
+
setDetailView: (view: DetailView) => void;
|
|
27
30
|
}
|
|
28
31
|
export declare const ItemsContext: React.Context<IItemsContext | undefined>;
|
|
29
32
|
export interface ItemsProviderProps {
|
package/dist/build/types/src/core/modules/field-definitions/components/editor/settings-provider.d.ts
CHANGED
|
@@ -8,19 +8,47 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import { type OptionalModalProps } from '../../../../components/modal/factory/modal-factory';
|
|
11
|
+
import { LayoutProvider as DefaultLayoutProvider, useLayout as useDefaultLayout } from '../../../../modules/field-definitions/components/editor/items/detail/layout-provider';
|
|
12
|
+
import { type Layout } from '../../../../modules/field-definitions/utils/layout-provider-factory';
|
|
11
13
|
import React, { type ComponentType } from 'react';
|
|
12
14
|
import { type AnyMutationHook, type AnyQueryHook } from 'types/react-query';
|
|
15
|
+
export interface UseDetailLayoutAccessorReturn {
|
|
16
|
+
accessor: (detailData: Record<string, unknown>) => Layout | undefined;
|
|
17
|
+
}
|
|
18
|
+
export interface ImportExportConfig {
|
|
19
|
+
getExportUrl: (id: number | string) => string;
|
|
20
|
+
getImportUrl: (id: number | string) => string;
|
|
21
|
+
getIdFromGeneralSettings: (generalSettings: Record<string, unknown> | undefined) => number | string | undefined;
|
|
22
|
+
validateFile?: (file: File) => boolean;
|
|
23
|
+
acceptFileTypes?: string;
|
|
24
|
+
acceptMimeTypes?: string[];
|
|
25
|
+
successMessageKey?: string;
|
|
26
|
+
}
|
|
13
27
|
export interface ISettingsContext {
|
|
14
28
|
AddModal: ComponentType<OptionalModalProps>;
|
|
15
29
|
useItemsQuery: AnyQueryHook;
|
|
16
30
|
useItemsDeleteMutation: AnyMutationHook;
|
|
17
|
-
useDetailLayoutQuery
|
|
31
|
+
useDetailLayoutQuery?: AnyQueryHook;
|
|
32
|
+
useDetailLayoutAccessor?: () => UseDetailLayoutAccessorReturn;
|
|
18
33
|
useDetailGeneralSettingsQuery: AnyQueryHook;
|
|
19
34
|
useDetailUpdateMutation: AnyMutationHook;
|
|
35
|
+
LayoutProvider: typeof DefaultLayoutProvider;
|
|
36
|
+
useLayout: typeof useDefaultLayout;
|
|
37
|
+
GeneralSettingsFormFields: React.ComponentType;
|
|
38
|
+
importExportConfig?: ImportExportConfig;
|
|
39
|
+
customLayouts?: {
|
|
40
|
+
ModalContent?: React.JSX.Element;
|
|
41
|
+
parent?: {
|
|
42
|
+
area: string[];
|
|
43
|
+
useLayout: typeof useDefaultLayout;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
20
46
|
}
|
|
21
47
|
export declare const SettingsContext: React.Context<ISettingsContext | undefined>;
|
|
22
|
-
export interface SettingsProviderProps extends ISettingsContext {
|
|
48
|
+
export interface SettingsProviderProps extends Omit<ISettingsContext, 'LayoutProvider' | 'useLayout'> {
|
|
23
49
|
children: React.ReactNode;
|
|
50
|
+
LayoutProvider?: typeof DefaultLayoutProvider;
|
|
51
|
+
useLayout?: typeof useDefaultLayout;
|
|
24
52
|
}
|
|
25
53
|
export declare const SettingsProvider: (props: SettingsProviderProps) => React.JSX.Element;
|
|
26
54
|
export declare const useSettings: () => ISettingsContext;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const EditorView: () => React.JSX.Element;
|
|
@@ -16,7 +16,14 @@ export interface EditorProps {
|
|
|
16
16
|
useItemsQuery: SettingsProviderProps['useItemsQuery'];
|
|
17
17
|
useItemsDeleteMutation: SettingsProviderProps['useItemsDeleteMutation'];
|
|
18
18
|
useDetailGeneralSettingsQuery: SettingsProviderProps['useDetailGeneralSettingsQuery'];
|
|
19
|
-
useDetailLayoutQuery
|
|
19
|
+
useDetailLayoutQuery?: SettingsProviderProps['useDetailLayoutQuery'];
|
|
20
|
+
useDetailLayoutAccessor?: SettingsProviderProps['useDetailLayoutAccessor'];
|
|
20
21
|
useDetailUpdateMutation: SettingsProviderProps['useDetailUpdateMutation'];
|
|
22
|
+
GeneralSettingsFormFields: SettingsProviderProps['GeneralSettingsFormFields'];
|
|
23
|
+
LayoutProvider?: SettingsProviderProps['LayoutProvider'];
|
|
24
|
+
useLayout?: SettingsProviderProps['useLayout'];
|
|
25
|
+
customLayouts?: SettingsProviderProps['customLayouts'];
|
|
26
|
+
importExportConfig?: SettingsProviderProps['importExportConfig'];
|
|
27
|
+
view?: React.JSX.Element;
|
|
21
28
|
}
|
|
22
29
|
export declare const Editor: (props: EditorProps) => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const FieldDefinitionCropPanel: () => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const FieldDefinitionDecimalSettings: () => React.JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
interface DefaultValueItem {
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
14
|
+
interface FieldDefinitionDefaultValueGridProps {
|
|
15
|
+
value?: DefaultValueItem[];
|
|
16
|
+
onChange?: (value: DefaultValueItem[]) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const FieldDefinitionDefaultValueGrid: ({ value, onChange }: FieldDefinitionDefaultValueGridProps) => React.JSX.Element;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const FieldDefinitionGeoSettings: () => React.JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export interface FieldDefinitionOptionsSourceFieldsProps {
|
|
12
|
+
renderAdditionalConfigureFields?: () => React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export declare const FieldDefinitionOptionsSourceFields: (props: FieldDefinitionOptionsSourceFieldsProps) => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const FieldDefinitionRegexValidation: () => React.JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
interface SelectOption {
|
|
12
|
+
key: string;
|
|
13
|
+
value: string;
|
|
14
|
+
}
|
|
15
|
+
interface FieldDefinitionSelectOptionsGridProps {
|
|
16
|
+
value?: SelectOption[];
|
|
17
|
+
onChange?: (value: SelectOption[]) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const FieldDefinitionSelectOptionsGrid: ({ value, onChange }: FieldDefinitionSelectOptionsGridProps) => React.JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import type React from 'react';
|
|
11
|
-
import { type ILayoutContext } from '../../../modules/field-definitions/
|
|
11
|
+
import { type ILayoutContext } from '../../../modules/field-definitions/utils/layout-provider-factory';
|
|
12
12
|
import { DynamicTypeAbstract } from '../../../../sdk/modules/element';
|
|
13
13
|
import { type ElementIcon } from '../../../../sdk/modules/widget-manager';
|
|
14
14
|
export interface FieldDefinitionDataAbstract extends Record<string, any> {
|
|
@@ -19,20 +19,28 @@ export interface FieldDefinitionContext extends Record<string, any> {
|
|
|
19
19
|
path: string[];
|
|
20
20
|
fieldDefinitions: ILayoutContext['fieldDefinitions'];
|
|
21
21
|
}
|
|
22
|
+
export interface FieldDefinitionConvertibleContext extends FieldDefinitionContext {
|
|
23
|
+
newTypeId: string;
|
|
24
|
+
}
|
|
22
25
|
export interface FieldDefinitionAbstractFormFieldsProps {
|
|
23
26
|
context: FieldDefinitionContext;
|
|
27
|
+
id: string;
|
|
28
|
+
type: string;
|
|
24
29
|
}
|
|
25
30
|
export declare abstract class DynamicTypeFieldDefinitionAbstract extends DynamicTypeAbstract {
|
|
26
31
|
abstract getGroup(): string[];
|
|
27
32
|
getIcon(): ElementIcon;
|
|
28
33
|
getTags(props: FieldDefinitionContext): string[];
|
|
29
|
-
|
|
30
|
-
|
|
34
|
+
getAllowedChildTags(props: FieldDefinitionContext): string[];
|
|
35
|
+
getDisallowedRecursiveChildTags(props: FieldDefinitionContext): string[];
|
|
31
36
|
getConvertibleTags(props: FieldDefinitionContext): string[];
|
|
37
|
+
getDropdownTags(props: FieldDefinitionContext): string[];
|
|
32
38
|
getValidChildTags(props: FieldDefinitionContext): string[];
|
|
33
39
|
getValidConvertibleTags(props: FieldDefinitionContext): string[];
|
|
40
|
+
getValidDropdownTags(props: FieldDefinitionContext): string[];
|
|
34
41
|
isValid(data: FieldDefinitionDataAbstract, context: FieldDefinitionContext): boolean;
|
|
35
42
|
abstract getDefaultData(context: FieldDefinitionContext): FieldDefinitionDataAbstract;
|
|
43
|
+
getConvertibleData(context: FieldDefinitionConvertibleContext): Partial<FieldDefinitionDataAbstract>;
|
|
36
44
|
abstract getFormFields(context: FieldDefinitionContext): React.JSX.Element;
|
|
37
45
|
getAdditionalFormFields(context: FieldDefinitionContext): React.JSX.Element | null;
|
|
38
46
|
protected computeValidTags(tags: string[], context: FieldDefinitionContext): string[];
|
|
@@ -8,7 +8,18 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import { type DynamicTypeFieldDefinitionAbstract, type FieldDefinitionContext } from '../../../modules/field-definitions/dynamic-types/dynamic-type-field-definition-abstract';
|
|
11
|
+
import { type TreeDataItem } from '../../../../sdk/components';
|
|
11
12
|
import { DynamicTypeRegistryAbstract } from '../../../../sdk/modules/element';
|
|
13
|
+
import { type ElementIcon } from '../../../../sdk/modules/widget-manager';
|
|
14
|
+
export interface GroupInfo {
|
|
15
|
+
icon: ElementIcon;
|
|
16
|
+
translationKey: string;
|
|
17
|
+
}
|
|
12
18
|
export declare class DynamicTypeFieldDefinitionRegistry extends DynamicTypeRegistryAbstract<DynamicTypeFieldDefinitionAbstract> {
|
|
13
19
|
getTypesByTags(tags: string[], context: FieldDefinitionContext): DynamicTypeFieldDefinitionAbstract[];
|
|
20
|
+
resolveTags(tags: string[], context: FieldDefinitionContext): string[];
|
|
21
|
+
getDropdownGroupInfos(): Record<string, GroupInfo>;
|
|
22
|
+
protected buildGroupedActions(types: DynamicTypeFieldDefinitionAbstract[], actionKeyPrefix: string): TreeDataItem['actions'];
|
|
23
|
+
protected optimizeActions(actions: TreeDataItem['actions'], actionKeyPrefix: string, isRootLevel?: boolean): TreeDataItem['actions'];
|
|
24
|
+
getDropdownActions(context: FieldDefinitionContext): TreeDataItem['actions'];
|
|
14
25
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export declare const useClassSelectOptions: () => Array<{
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}>;
|
|
@@ -16,8 +16,11 @@ export interface FieldDefinitionData extends FieldDefinitionDataAbstract {
|
|
|
16
16
|
}
|
|
17
17
|
export declare abstract class DynamicTypeFieldDefinitionDataAbstract extends DynamicTypeFieldDefinitionAbstract {
|
|
18
18
|
getTags(props: FieldDefinitionContext): string[];
|
|
19
|
+
getConvertibleTags(props: FieldDefinitionContext): string[];
|
|
20
|
+
getDropdownTags(props: FieldDefinitionContext): string[];
|
|
19
21
|
getGroup(): string[];
|
|
20
22
|
getDefaultData(): FieldDefinitionData;
|
|
21
23
|
isValid(data: FieldDefinitionData): boolean;
|
|
24
|
+
getId(context: FieldDefinitionContext): string;
|
|
22
25
|
getFormFields(context: FieldDefinitionContext): React.JSX.Element;
|
|
23
26
|
}
|
|
@@ -15,7 +15,7 @@ export interface FieldDefinitionLayout extends FieldDefinitionDataAbstract {
|
|
|
15
15
|
region: string;
|
|
16
16
|
}
|
|
17
17
|
export declare abstract class DynamicTypeFieldDefinitionLayoutAbstract extends DynamicTypeFieldDefinitionAbstract {
|
|
18
|
-
|
|
18
|
+
getAllowedChildTags(props: FieldDefinitionContext): string[];
|
|
19
19
|
getTags(props: FieldDefinitionContext): string[];
|
|
20
20
|
getGroup(): string[];
|
|
21
21
|
getDefaultData(): FieldDefinitionLayout;
|
|
@@ -13,7 +13,8 @@ import { type ElementIcon } from '../../../../../../sdk/modules/widget-manager';
|
|
|
13
13
|
export declare class DynamicTypeFieldDefinitionBlock extends DynamicTypeFieldDefinitionDataAbstract {
|
|
14
14
|
id: string;
|
|
15
15
|
getIcon(): ElementIcon;
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
getDropdownTags(props: FieldDefinitionContext): string[];
|
|
17
|
+
getAllowedChildTags(props: FieldDefinitionContext): string[];
|
|
18
|
+
getDisallowedRecursiveChildTags(props: FieldDefinitionContext): string[];
|
|
18
19
|
getGroup(): string[];
|
|
19
20
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type FieldDefinitionContext } from '../../../../../modules/field-definitions/dynamic-types/dynamic-type-field-definition-abstract';
|
|
11
|
+
import { DynamicTypeFieldDefinitionDataAbstract, type FieldDefinitionData } from '../../../../../modules/field-definitions/dynamic-types/types/_abstracts/data/dynamic-type-field-defintion-data-abstract';
|
|
12
|
+
import { type ElementIcon } from '../../../../../../sdk/modules/widget-manager';
|
|
13
|
+
import React from 'react';
|
|
14
|
+
export declare class DynamicTypeFieldDefinitionBooleanSelect extends DynamicTypeFieldDefinitionDataAbstract {
|
|
15
|
+
id: string;
|
|
16
|
+
getIcon(): ElementIcon;
|
|
17
|
+
getGroup(): string[];
|
|
18
|
+
getDefaultData(): FieldDefinitionData;
|
|
19
|
+
getFormFields(context: FieldDefinitionContext): React.JSX.Element;
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type FieldDefinitionAbstractFormFieldsProps } from '../../../../../modules/field-definitions/dynamic-types/dynamic-type-field-definition-abstract';
|
|
11
|
+
import React from 'react';
|
|
12
|
+
export declare const FieldDefinitionBooleanSelectFormFields: (props: FieldDefinitionAbstractFormFieldsProps) => React.JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type FieldDefinitionContext } from '../../../../../modules/field-definitions/dynamic-types/dynamic-type-field-definition-abstract';
|
|
11
|
+
import { DynamicTypeFieldDefinitionDataAbstract } from '../../../../../modules/field-definitions/dynamic-types/types/_abstracts/data/dynamic-type-field-defintion-data-abstract';
|
|
12
|
+
import { type ElementIcon } from '../../../../../../sdk/modules/widget-manager';
|
|
13
|
+
import React from 'react';
|
|
14
|
+
export declare class DynamicTypeFieldDefinitionCalculatedValue extends DynamicTypeFieldDefinitionDataAbstract {
|
|
15
|
+
id: string;
|
|
16
|
+
getIcon(): ElementIcon;
|
|
17
|
+
getGroup(): string[];
|
|
18
|
+
getFormFields(context: FieldDefinitionContext): React.JSX.Element;
|
|
19
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type FieldDefinitionAbstractFormFieldsProps } from '../../../../../modules/field-definitions/dynamic-types/dynamic-type-field-definition-abstract';
|
|
11
|
+
import React from 'react';
|
|
12
|
+
export declare const FieldDefinitionCalculatedValueFormFields: (props: FieldDefinitionAbstractFormFieldsProps) => React.JSX.Element;
|