@umbraco-cms/backoffice 14.0.0-a8a86579 → 14.0.0-b0704cee
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-cms/custom-elements.json +148 -89
- package/dist-cms/libs/observable-api/deep-state.d.ts +1 -1
- package/dist-cms/libs/observable-api/deep-state.js +1 -1
- package/dist-cms/mocks/data/document-type.data.js +3 -2
- package/dist-cms/mocks/data/template.data.d.ts +5 -23
- package/dist-cms/mocks/data/template.data.js +44 -21
- package/dist-cms/mocks/handlers/template.handlers.js +4 -0
- package/dist-cms/packages/core/components/button-with-dropdown/button-with-dropdown.element.d.ts +2 -0
- package/dist-cms/packages/core/components/button-with-dropdown/button-with-dropdown.element.js +4 -4
- package/dist-cms/packages/core/components/code-block/code-block.element.d.ts +6 -1
- package/dist-cms/packages/core/components/code-block/code-block.element.js +93 -19
- package/dist-cms/packages/core/components/data-type/data-type-property-collection.class.d.ts +1 -1
- package/dist-cms/packages/core/components/index.d.ts +1 -0
- package/dist-cms/packages/core/components/index.js +1 -1
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.element.js +5 -0
- package/dist-cms/packages/core/components/property-editor-config/property-editor-config.element.js +2 -3
- package/dist-cms/packages/core/components/ref-property-editor-ui/ref-property-editor-ui.element.js +2 -1
- package/dist-cms/packages/core/content-type/content-type-structure-manager.class.js +11 -11
- package/dist-cms/packages/core/extension-registry/models/dashboard.model.d.ts +6 -6
- package/dist-cms/packages/core/extension-registry/models/property-editor.model.d.ts +1 -1
- package/dist-cms/packages/core/extension-registry/models/section-view.model.d.ts +21 -2
- package/dist-cms/packages/core/index.d.ts +2 -2
- package/dist-cms/packages/core/index.js +5 -5
- package/dist-cms/packages/core/modal/token/dictionary-item-picker-modal.token.d.ts +0 -1
- package/dist-cms/packages/core/modal/token/dictionary-item-picker-modal.token.js +1 -2
- package/dist-cms/packages/core/property-editor/index.d.ts +3 -0
- package/dist-cms/packages/core/property-editor/index.js +3 -0
- package/dist-cms/packages/core/{property-editors → property-editor}/uis/date-picker/property-editor-ui-date-picker.element.js +1 -1
- package/dist-cms/packages/core/section/section-views/section-views.element.js +30 -15
- package/dist-cms/packages/core/store/entity-tree-store.js +3 -3
- package/dist-cms/packages/core/store/file-system-tree.store.js +3 -3
- package/dist-cms/packages/core/tree/tree.context.js +8 -11
- package/dist-cms/packages/core/workspace/types/workspace-property-data.type.d.ts +1 -1
- package/dist-cms/packages/core/workspace/workspace-property/workspace-property.context.js +5 -5
- package/dist-cms/packages/core/workspace/workspace-property/workspace-property.element.d.ts +1 -1
- package/dist-cms/packages/core/workspace/workspace-property-layout/workspace-property-layout.element.js +22 -13
- package/dist-cms/packages/core/workspace/workspace-split-view-manager.class.js +1 -1
- package/dist-cms/packages/core/workspace/workspace-variant/workspace-variant.context.js +3 -3
- package/dist-cms/packages/documents/document-blueprints/document-blueprint.detail.store.js +1 -1
- package/dist-cms/packages/documents/document-types/repository/document-type.store.js +1 -1
- package/dist-cms/packages/documents/document-types/workspace/views/templates/document-type-workspace-view-templates.element.d.ts +1 -0
- package/dist-cms/packages/documents/document-types/workspace/views/templates/document-type-workspace-view-templates.element.js +2 -1
- package/dist-cms/packages/documents/documents/repository/document.store.js +1 -1
- package/dist-cms/packages/documents/documents/workspace/document-workspace.context.js +8 -8
- package/dist-cms/packages/documents/documents/workspace/views/edit/document-workspace-view-edit-tab.element.js +5 -0
- package/dist-cms/packages/documents/documents/workspace/views/info/document-info-workspace-view.element.js +1 -0
- package/dist-cms/packages/media/media/repository/media.store.js +1 -1
- package/dist-cms/packages/media/media/workspace/media-workspace.context.js +1 -1
- package/dist-cms/packages/media/media-types/workspace/media-type-workspace.context.js +1 -1
- package/dist-cms/packages/members/member-groups/repository/member-group.store.js +1 -1
- package/dist-cms/packages/members/member-groups/workspace/member-group-workspace.context.js +1 -1
- package/dist-cms/packages/members/member-types/repository/member-type.store.js +1 -1
- package/dist-cms/packages/members/member-types/workspace/member-type-workspace.context.js +1 -1
- package/dist-cms/packages/settings/data-types/repository/data-type-item.store.js +1 -1
- package/dist-cms/packages/settings/data-types/repository/data-type.store.js +2 -2
- package/dist-cms/packages/settings/data-types/workspace/data-type-workspace.context.js +2 -2
- package/dist-cms/packages/settings/languages/repository/language-item.store.js +1 -1
- package/dist-cms/packages/settings/languages/repository/language.store.js +1 -1
- package/dist-cms/packages/settings/relation-types/repository/relation-type.store.js +1 -1
- package/dist-cms/packages/settings/relation-types/workspace/relation-type-workspace.context.js +2 -2
- package/dist-cms/packages/tags/property-editors/tags/config/storage-type/manifests.js +1 -0
- package/dist-cms/packages/tags/repository/tag.store.js +3 -3
- package/dist-cms/packages/templating/components/insert-menu/templating-insert-menu.element.js +3 -31
- package/dist-cms/packages/templating/modals/insert-choose-type-sidebar.element.d.ts +2 -4
- package/dist-cms/packages/templating/modals/insert-choose-type-sidebar.element.js +5 -27
- package/dist-cms/packages/templating/modals/insert-section-modal/insert-section-input.element.js +1 -0
- package/dist-cms/packages/templating/modals/insert-section-modal/insert-section-modal.element.js +5 -4
- package/dist-cms/packages/templating/modals/manifests.d.ts +0 -1
- package/dist-cms/packages/templating/modals/manifests.js +0 -7
- package/dist-cms/packages/templating/templates/components/alias-input/alias-input.js +1 -1
- package/dist-cms/packages/templating/templates/components/input-template/input-template.element.d.ts +3 -2
- package/dist-cms/packages/templating/templates/components/input-template/input-template.element.js +5 -4
- package/dist-cms/packages/templating/templates/entity-actions/create/create.action.js +1 -1
- package/dist-cms/packages/templating/templates/index.d.ts +2 -0
- package/dist-cms/packages/templating/templates/index.js +2 -0
- package/dist-cms/packages/templating/templates/manifests.d.ts +1 -1
- package/dist-cms/packages/templating/templates/manifests.js +2 -0
- package/dist-cms/packages/templating/templates/modals/manifests.d.ts +3 -0
- package/dist-cms/packages/templating/templates/modals/manifests.js +10 -0
- package/dist-cms/packages/templating/templates/modals/modal-tokens.d.ts +3 -0
- package/dist-cms/packages/templating/templates/modals/modal-tokens.js +6 -0
- package/dist-cms/packages/templating/templates/modals/query-builder/query-builder-filter.element.d.ts +24 -0
- package/dist-cms/packages/templating/templates/modals/query-builder/query-builder-filter.element.js +156 -0
- package/dist-cms/packages/templating/templates/modals/query-builder/query-builder.element.d.ts +28 -0
- package/dist-cms/packages/templating/templates/modals/query-builder/query-builder.element.js +277 -0
- package/dist-cms/packages/templating/templates/repository/sources/template.query-builder.server.data.d.ts +33 -0
- package/dist-cms/packages/templating/templates/repository/sources/template.query-builder.server.data.js +37 -0
- package/dist-cms/packages/templating/templates/repository/template-item.store.js +1 -1
- package/dist-cms/packages/templating/templates/repository/template.repository.d.ts +11 -7
- package/dist-cms/packages/templating/templates/repository/template.repository.js +28 -14
- package/dist-cms/packages/templating/templates/repository/template.store.js +2 -2
- package/dist-cms/packages/templating/templates/workspace/template-workspace-editor.element.js +21 -3
- package/dist-cms/packages/templating/templates/workspace/template-workspace.context.js +3 -2
- package/dist-cms/packages/templating/templates/workspace/template-workspace.element.d.ts +1 -0
- package/dist-cms/packages/templating/templates/workspace/template-workspace.element.js +4 -3
- package/dist-cms/packages/translation/dictionary/repository/dictionary.store.js +1 -1
- package/dist-cms/packages/translation/dictionary/workspace/dictionary-workspace.context.js +2 -2
- package/dist-cms/packages/umbraco-news/manifests.js +0 -1
- package/dist-cms/packages/users/current-user/current-user-history.store.js +1 -1
- package/dist-cms/packages/users/user-groups/repository/user-group-item.store.js +1 -1
- package/dist-cms/packages/users/user-groups/repository/user-group.store.js +1 -1
- package/dist-cms/packages/users/users/repository/user-item.store.js +1 -1
- package/dist-cms/packages/users/users/repository/user.store.js +1 -1
- package/dist-cms/shared/utils/index.d.ts +3 -2
- package/dist-cms/shared/utils/index.js +3 -2
- package/dist-cms/shared/utils/path-folder-name.function.d.ts +2 -0
- package/dist-cms/shared/utils/path-folder-name.function.js +2 -0
- package/dist-cms/tinymce/langs/nb_NO.js +62 -62
- package/dist-cms/tinymce/langs/uz.js +406 -0
- package/dist-cms/tsconfig.tsbuildinfo +1 -1
- package/dist-cms/umbraco-package-schema.json +12 -8
- package/dist-cms/vscode-html-custom-data.json +43 -9
- package/package.json +5 -4
- package/dist-cms/packages/core/property-editors/index.d.ts +0 -2
- package/dist-cms/packages/core/property-editors/index.js +0 -2
- package/dist-cms/packages/templating/modals/insert-value-sidebar.element.d.ts +0 -19
- package/dist-cms/packages/templating/modals/insert-value-sidebar.element.js +0 -135
- /package/dist-cms/packages/core/{property-actions → property-action}/common/clear/property-action-clear.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/common/clear/property-action-clear.element.js +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/common/copy/property-action-copy.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/common/copy/property-action-copy.element.js +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/index.d.ts +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/index.js +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/shared/index.d.ts +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/shared/index.js +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/shared/property-action/property-action.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/shared/property-action/property-action.element.js +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/shared/property-action/property-action.model.d.ts +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/shared/property-action/property-action.model.js +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/shared/property-action-menu/property-action-menu.context.d.ts +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/shared/property-action-menu/property-action-menu.context.js +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/shared/property-action-menu/property-action-menu.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-actions → property-action}/shared/property-action-menu/property-action-menu.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/events/index.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/events/index.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/events/property-value-change.event.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/events/property-value-change.event.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.BlockGrid.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.BlockGrid.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.BlockList.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.BlockList.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.CheckboxList.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.CheckboxList.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.ColorPicker.EyeDropper.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.ColorPicker.EyeDropper.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.ColorPicker.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.ColorPicker.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.DateTime.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.DateTime.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.Decimal.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.Decimal.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.Dropdown.Flexible.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.Dropdown.Flexible.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.EmailAddress.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.EmailAddress.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.IconPicker.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.IconPicker.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.ImageCropper.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.ImageCropper.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.Integer.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.Integer.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.JSON.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.JSON.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.Label.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.Label.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.ListView.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.ListView.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.MarkdownEditor.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.MarkdownEditor.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.MediaPicker3.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.MediaPicker3.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.MemberGroupPicker.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.MemberGroupPicker.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.MemberPicker.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.MemberPicker.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.MultiNodeTreePicker.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.MultiNodeTreePicker.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.MultiUrlPicker.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.MultiUrlPicker.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.MultipleTextString.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.MultipleTextString.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.RadioButtonList.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.RadioButtonList.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.RichText.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.RichText.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.Slider.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.Slider.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.Tags.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.Tags.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.TextArea.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.TextArea.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.TextBox.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.TextBox.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.TrueFalse.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.TrueFalse.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.UploadField.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.UploadField.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.UserPicker.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/Umbraco.UserPicker.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/schemas/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/types/data-type-config.type.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/types/data-type-config.type.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/types/index.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/types/index.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/config/block-configuration/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/config/block-configuration/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/config/block-configuration/property-editor-ui-block-grid-block-configuration.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/config/block-configuration/property-editor-ui-block-grid-block-configuration.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/config/group-configuration/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/config/group-configuration/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/config/group-configuration/property-editor-ui-block-grid-group-configuration.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/config/group-configuration/property-editor-ui-block-grid-group-configuration.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/config/stylesheet-picker/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/config/stylesheet-picker/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/config/stylesheet-picker/property-editor-ui-block-grid-stylesheet-picker.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/config/stylesheet-picker/property-editor-ui-block-grid-stylesheet-picker.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/property-editor-ui-block-grid-inner-test.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/property-editor-ui-block-grid-inner-test.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/property-editor-ui-block-grid.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-grid/property-editor-ui-block-grid.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-list/config/block-configuration/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-list/config/block-configuration/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-list/config/block-configuration/property-editor-ui-block-list-block-configuration.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-list/config/block-configuration/property-editor-ui-block-list-block-configuration.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-list/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-list/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-list/property-editor-ui-block-list.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/block-list/property-editor-ui-block-list.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/checkbox-list/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/checkbox-list/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/checkbox-list/property-editor-ui-checkbox-list.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/checkbox-list/property-editor-ui-checkbox-list.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/bulk-action-permissions/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/bulk-action-permissions/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/bulk-action-permissions/property-editor-ui-collection-view-bulk-action-permissions.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/bulk-action-permissions/property-editor-ui-collection-view-bulk-action-permissions.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/column-configuration/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/column-configuration/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/column-configuration/property-editor-ui-collection-view-column-configuration.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/column-configuration/property-editor-ui-collection-view-column-configuration.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/layout-configuration/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/layout-configuration/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/layout-configuration/property-editor-ui-collection-view-layout-configuration.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/layout-configuration/property-editor-ui-collection-view-layout-configuration.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/order-by/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/order-by/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/order-by/property-editor-ui-collection-view-order-by.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/config/order-by/property-editor-ui-collection-view-order-by.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/property-editor-ui-collection-view.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/collection-view/property-editor-ui-collection-view.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/color-picker/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/color-picker/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/color-picker/property-editor-ui-color-picker.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/color-picker/property-editor-ui-color-picker.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/date-picker/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/date-picker/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/date-picker/property-editor-ui-date-picker.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/dropdown/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/dropdown/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/dropdown/property-editor-ui-dropdown.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/dropdown/property-editor-ui-dropdown.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/eye-dropper/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/eye-dropper/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/eye-dropper/property-editor-ui-eye-dropper.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/eye-dropper/property-editor-ui-eye-dropper.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/icon-picker/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/icon-picker/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/icon-picker/property-editor-ui-icon-picker.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/icon-picker/property-editor-ui-icon-picker.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/image-cropper/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/image-cropper/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/image-cropper/property-editor-ui-image-cropper.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/image-cropper/property-editor-ui-image-cropper.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/image-crops-configuration/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/image-crops-configuration/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/image-crops-configuration/property-editor-ui-image-crops-configuration.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/image-crops-configuration/property-editor-ui-image-crops-configuration.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/label/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/label/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/label/property-editor-ui-label.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/label/property-editor-ui-label.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/markdown-editor/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/markdown-editor/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/markdown-editor/property-editor-ui-markdown-editor.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/markdown-editor/property-editor-ui-markdown-editor.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/media-picker/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/media-picker/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/media-picker/property-editor-ui-media-picker.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/media-picker/property-editor-ui-media-picker.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/member-group-picker/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/member-group-picker/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/member-group-picker/property-editor-ui-member-group-picker.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/member-group-picker/property-editor-ui-member-group-picker.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/member-picker/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/member-picker/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/member-picker/property-editor-ui-member-picker.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/member-picker/property-editor-ui-member-picker.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/multi-url-picker/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/multi-url-picker/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/multi-url-picker/property-editor-ui-multi-url-picker.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/multi-url-picker/property-editor-ui-multi-url-picker.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/multiple-text-string/input-multiple-text-string/input-multiple-text-string.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/multiple-text-string/input-multiple-text-string/input-multiple-text-string.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/multiple-text-string/input-multiple-text-string-item/input-multiple-text-string-item.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/multiple-text-string/input-multiple-text-string-item/input-multiple-text-string-item.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/multiple-text-string/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/multiple-text-string/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/multiple-text-string/property-editor-ui-multiple-text-string.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/multiple-text-string/property-editor-ui-multiple-text-string.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/number/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/number/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/number/property-editor-ui-number.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/number/property-editor-ui-number.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/number-range/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/number-range/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/number-range/property-editor-ui-number-range.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/number-range/property-editor-ui-number-range.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/order-direction/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/order-direction/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/order-direction/property-editor-ui-order-direction.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/order-direction/property-editor-ui-order-direction.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/overlay-size/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/overlay-size/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/overlay-size/property-editor-ui-overlay-size.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/overlay-size/property-editor-ui-overlay-size.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/radio-button-list/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/radio-button-list/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/radio-button-list/property-editor-ui-radio-button-list.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/radio-button-list/property-editor-ui-radio-button-list.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/slider/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/slider/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/slider/property-editor-ui-slider.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/slider/property-editor-ui-slider.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/text-box/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/text-box/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/text-box/property-editor-ui-text-box.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/text-box/property-editor-ui-text-box.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/textarea/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/textarea/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/textarea/property-editor-ui-textarea.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/textarea/property-editor-ui-textarea.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/config/dimensions/property-editor-ui-tiny-mce-dimensions-configuration.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/config/dimensions/property-editor-ui-tiny-mce-dimensions-configuration.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/config/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/config/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/config/max-image-size/property-editor-ui-tiny-mce-maximagesize-configuration.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/config/max-image-size/property-editor-ui-tiny-mce-maximagesize-configuration.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/config/stylesheets/property-editor-ui-tiny-mce-stylesheets-configuration.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/config/stylesheets/property-editor-ui-tiny-mce-stylesheets-configuration.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/config/toolbar/property-editor-ui-tiny-mce-toolbar-configuration.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/config/toolbar/property-editor-ui-tiny-mce-toolbar-configuration.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/plugins/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/plugins/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/plugins/tiny-mce-code-editor.plugin.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/plugins/tiny-mce-code-editor.plugin.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/plugins/tiny-mce-embeddedmedia.plugin.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/plugins/tiny-mce-embeddedmedia.plugin.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/plugins/tiny-mce-linkpicker.plugin.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/plugins/tiny-mce-linkpicker.plugin.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/plugins/tiny-mce-macropicker.plugin.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/plugins/tiny-mce-macropicker.plugin.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/plugins/tiny-mce-mediapicker.plugin.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/plugins/tiny-mce-mediapicker.plugin.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/property-editor-ui-tiny-mce.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tiny-mce/property-editor-ui-tiny-mce.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/toggle/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/toggle/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/toggle/property-editor-ui-toggle.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/toggle/property-editor-ui-toggle.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tree-picker/config/start-node/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tree-picker/config/start-node/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tree-picker/config/start-node/property-editor-ui-tree-picker-start-node.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tree-picker/config/start-node/property-editor-ui-tree-picker-start-node.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tree-picker/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tree-picker/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tree-picker/property-editor-ui-tree-picker.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/tree-picker/property-editor-ui-tree-picker.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/upload-field/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/upload-field/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/upload-field/property-editor-ui-upload-field.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/upload-field/property-editor-ui-upload-field.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/user-picker/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/user-picker/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/user-picker/property-editor-ui-user-picker.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/user-picker/property-editor-ui-user-picker.element.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/value-type/manifests.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/value-type/manifests.js +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/value-type/property-editor-ui-value-type.element.d.ts +0 -0
- /package/dist-cms/packages/core/{property-editors → property-editor}/uis/value-type/property-editor-ui-value-type.element.js +0 -0
- /package/dist-cms/shared/utils/{umbraco-path.d.ts → umbraco-path.function.d.ts} +0 -0
- /package/dist-cms/shared/utils/{umbraco-path.js → umbraco-path.function.js} +0 -0
|
@@ -1,36 +1,18 @@
|
|
|
1
1
|
import { UmbEntityData } from './entity.data.js';
|
|
2
|
-
import { EntityTreeItemResponseModel, PagedEntityTreeItemResponseModel, TemplateResponseModel, TemplateScaffoldResponseModel, CreateTemplateRequestModel, TemplateItemResponseModel } from '../../external/backend-api/index.js';
|
|
2
|
+
import { EntityTreeItemResponseModel, PagedEntityTreeItemResponseModel, TemplateResponseModel, TemplateScaffoldResponseModel, CreateTemplateRequestModel, TemplateItemResponseModel, TemplateQuerySettingsResponseModel, TemplateQueryResultResponseModel } from '../../external/backend-api/index.js';
|
|
3
3
|
type TemplateDBItem = TemplateResponseModel & EntityTreeItemResponseModel;
|
|
4
4
|
export declare const data: Array<TemplateDBItem>;
|
|
5
5
|
export declare const createTemplateScaffold: (masterTemplateAlias: string) => string;
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
properties: {
|
|
9
|
-
alias: string;
|
|
10
|
-
type: string;
|
|
11
|
-
}[];
|
|
12
|
-
operators: {
|
|
13
|
-
operator: string;
|
|
14
|
-
applicableTypes: string[];
|
|
15
|
-
}[];
|
|
16
|
-
};
|
|
6
|
+
export declare const templateQueryResult: TemplateQueryResultResponseModel;
|
|
7
|
+
export declare const templateQuerySettings: TemplateQuerySettingsResponseModel;
|
|
17
8
|
declare class UmbTemplateData extends UmbEntityData<TemplateDBItem> {
|
|
18
9
|
constructor();
|
|
19
10
|
getById(id: string): TemplateResponseModel | undefined;
|
|
20
11
|
getItemById(id: string): TemplateItemResponseModel | null;
|
|
21
12
|
getScaffold(masterTemplateId?: string | null): TemplateScaffoldResponseModel;
|
|
22
13
|
getItems(ids: string[]): TemplateItemResponseModel[];
|
|
23
|
-
getTemplateQuerySettings: () =>
|
|
24
|
-
|
|
25
|
-
properties: {
|
|
26
|
-
alias: string;
|
|
27
|
-
type: string;
|
|
28
|
-
}[];
|
|
29
|
-
operators: {
|
|
30
|
-
operator: string;
|
|
31
|
-
applicableTypes: string[];
|
|
32
|
-
}[];
|
|
33
|
-
};
|
|
14
|
+
getTemplateQuerySettings: () => TemplateQuerySettingsResponseModel;
|
|
15
|
+
getTemplateQueryResult: () => TemplateQueryResultResponseModel;
|
|
34
16
|
create(templateData: CreateTemplateRequestModel): {
|
|
35
17
|
name?: string | undefined;
|
|
36
18
|
alias?: string | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { UmbEntityData } from './entity.data.js';
|
|
2
2
|
import { createEntityTreeItem } from './utils.js';
|
|
3
3
|
import { UmbId } from '../../packages/core/id/index.js';
|
|
4
|
+
import { TemplateQueryPropertyTypeModel, OperatorModel, } from '../../external/backend-api/index.js';
|
|
4
5
|
const createTemplate = (dbItem) => {
|
|
5
6
|
return {
|
|
6
7
|
$type: '',
|
|
@@ -87,58 +88,79 @@ export const createTemplateScaffold = (masterTemplateAlias) => {
|
|
|
87
88
|
Layout = ${masterTemplateAlias};
|
|
88
89
|
}`;
|
|
89
90
|
};
|
|
91
|
+
//prettier-ignore
|
|
92
|
+
const templateQueryExpressions = [
|
|
93
|
+
`Umbraco.ContentAtRoot().FirstOrDefault()
|
|
94
|
+
.ChildrenOfType("docTypeWithTemplate")
|
|
95
|
+
.Where(x => x.IsVisible())`,
|
|
96
|
+
`Umbraco.Content(Guid.Parse("0b3498dc-255a-4d62-aa4f-ef7bff333544"))
|
|
97
|
+
.ChildrenOfType("docTypeWithTemplate")
|
|
98
|
+
.Where(x => x.IsVisible())`,
|
|
99
|
+
`Umbraco.ContentAtRoot().FirstOrDefault()
|
|
100
|
+
.ChildrenOfType("docTypeWithTemplate")
|
|
101
|
+
.Where(x => (x.Id != -6))
|
|
102
|
+
.Where(x => x.IsVisible())
|
|
103
|
+
.OrderBy(x => x.UpdateDate)`,
|
|
104
|
+
];
|
|
105
|
+
const randomIndex = () => Math.floor(Math.random() * 3);
|
|
106
|
+
export const templateQueryResult = {
|
|
107
|
+
queryExpression: templateQueryExpressions[randomIndex()],
|
|
108
|
+
sampleResults: [],
|
|
109
|
+
resultCount: 0,
|
|
110
|
+
executionTime: 0,
|
|
111
|
+
};
|
|
90
112
|
export const templateQuerySettings = {
|
|
91
|
-
contentTypeAliases: [],
|
|
113
|
+
contentTypeAliases: ['docTypeWithTemplate', 'propertyTypeWithTemplate', 'somethingElse'],
|
|
92
114
|
properties: [
|
|
93
115
|
{
|
|
94
116
|
alias: 'Id',
|
|
95
|
-
type:
|
|
117
|
+
type: TemplateQueryPropertyTypeModel.INTEGER,
|
|
96
118
|
},
|
|
97
119
|
{
|
|
98
120
|
alias: 'Name',
|
|
99
|
-
type:
|
|
121
|
+
type: TemplateQueryPropertyTypeModel.STRING,
|
|
100
122
|
},
|
|
101
123
|
{
|
|
102
124
|
alias: 'CreateDate',
|
|
103
|
-
type:
|
|
125
|
+
type: TemplateQueryPropertyTypeModel.DATE_TIME,
|
|
104
126
|
},
|
|
105
127
|
{
|
|
106
128
|
alias: 'UpdateDate',
|
|
107
|
-
type:
|
|
129
|
+
type: TemplateQueryPropertyTypeModel.DATE_TIME,
|
|
108
130
|
},
|
|
109
131
|
],
|
|
110
132
|
operators: [
|
|
111
133
|
{
|
|
112
|
-
operator:
|
|
113
|
-
applicableTypes: [
|
|
134
|
+
operator: OperatorModel.EQUALS,
|
|
135
|
+
applicableTypes: [TemplateQueryPropertyTypeModel.INTEGER, TemplateQueryPropertyTypeModel.STRING],
|
|
114
136
|
},
|
|
115
137
|
{
|
|
116
|
-
operator:
|
|
117
|
-
applicableTypes: [
|
|
138
|
+
operator: OperatorModel.NOT_EQUALS,
|
|
139
|
+
applicableTypes: [TemplateQueryPropertyTypeModel.INTEGER, TemplateQueryPropertyTypeModel.STRING],
|
|
118
140
|
},
|
|
119
141
|
{
|
|
120
|
-
operator:
|
|
121
|
-
applicableTypes: [
|
|
142
|
+
operator: OperatorModel.LESS_THAN,
|
|
143
|
+
applicableTypes: [TemplateQueryPropertyTypeModel.INTEGER, TemplateQueryPropertyTypeModel.DATE_TIME],
|
|
122
144
|
},
|
|
123
145
|
{
|
|
124
|
-
operator:
|
|
125
|
-
applicableTypes: [
|
|
146
|
+
operator: OperatorModel.GREATER_THAN_EQUAL_TO,
|
|
147
|
+
applicableTypes: [TemplateQueryPropertyTypeModel.INTEGER, TemplateQueryPropertyTypeModel.DATE_TIME],
|
|
126
148
|
},
|
|
127
149
|
{
|
|
128
|
-
operator:
|
|
129
|
-
applicableTypes: [
|
|
150
|
+
operator: OperatorModel.GREATER_THAN,
|
|
151
|
+
applicableTypes: [TemplateQueryPropertyTypeModel.INTEGER, TemplateQueryPropertyTypeModel.DATE_TIME],
|
|
130
152
|
},
|
|
131
153
|
{
|
|
132
|
-
operator:
|
|
133
|
-
applicableTypes: [
|
|
154
|
+
operator: OperatorModel.GREATER_THAN_EQUAL_TO,
|
|
155
|
+
applicableTypes: [TemplateQueryPropertyTypeModel.INTEGER, TemplateQueryPropertyTypeModel.DATE_TIME],
|
|
134
156
|
},
|
|
135
157
|
{
|
|
136
|
-
operator:
|
|
137
|
-
applicableTypes: [
|
|
158
|
+
operator: OperatorModel.CONTAINS,
|
|
159
|
+
applicableTypes: [TemplateQueryPropertyTypeModel.STRING],
|
|
138
160
|
},
|
|
139
161
|
{
|
|
140
|
-
operator:
|
|
141
|
-
applicableTypes: [
|
|
162
|
+
operator: OperatorModel.NOT_CONTAINS,
|
|
163
|
+
applicableTypes: [TemplateQueryPropertyTypeModel.STRING],
|
|
142
164
|
},
|
|
143
165
|
],
|
|
144
166
|
};
|
|
@@ -147,6 +169,7 @@ class UmbTemplateData extends UmbEntityData {
|
|
|
147
169
|
constructor() {
|
|
148
170
|
super(data);
|
|
149
171
|
this.getTemplateQuerySettings = () => templateQuerySettings;
|
|
172
|
+
this.getTemplateQueryResult = () => templateQueryResult;
|
|
150
173
|
}
|
|
151
174
|
getById(id) {
|
|
152
175
|
const item = this.data.find((item) => item.id === id);
|
|
@@ -39,6 +39,10 @@ export const handlers = [
|
|
|
39
39
|
const response = umbTemplateData.getTemplateQuerySettings();
|
|
40
40
|
return res(ctx.status(200), ctx.json(response));
|
|
41
41
|
}),
|
|
42
|
+
rest.post(umbracoPath('/template/query/execute'), (req, res, ctx) => {
|
|
43
|
+
const response = umbTemplateData.getTemplateQueryResult();
|
|
44
|
+
return res(ctx.status(200), ctx.json(response));
|
|
45
|
+
}),
|
|
42
46
|
rest.get(umbracoPath('/template/:id'), (req, res, ctx) => {
|
|
43
47
|
const id = req.params.id;
|
|
44
48
|
if (!id)
|
package/dist-cms/packages/core/components/button-with-dropdown/button-with-dropdown.element.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ export declare class UmbButtonWithDropdownElement extends LitElement {
|
|
|
10
10
|
compact: boolean;
|
|
11
11
|
symbolExpand: UUISymbolExpandElement;
|
|
12
12
|
popover: UUIPopoverElement;
|
|
13
|
+
openPopover(): void;
|
|
14
|
+
closePopover(): void;
|
|
13
15
|
render(): import("lit-html").TemplateResult<1>;
|
|
14
16
|
static styles: import("@lit/reactive-element/css-tag").CSSResult[];
|
|
15
17
|
}
|
package/dist-cms/packages/core/components/button-with-dropdown/button-with-dropdown.element.js
CHANGED
|
@@ -18,22 +18,22 @@ export let UmbButtonWithDropdownElement = class UmbButtonWithDropdownElement ext
|
|
|
18
18
|
this.placement = 'bottom-start';
|
|
19
19
|
this.compact = false;
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
openPopover() {
|
|
22
22
|
this.open = true;
|
|
23
23
|
this.popover.open = true;
|
|
24
24
|
this.symbolExpand.open = true;
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
closePopover() {
|
|
27
27
|
this.open = false;
|
|
28
28
|
this.popover.open = false;
|
|
29
29
|
this.symbolExpand.open = false;
|
|
30
30
|
}
|
|
31
31
|
#togglePopover() {
|
|
32
|
-
this.open ? this
|
|
32
|
+
this.open ? this.closePopover() : this.openPopover();
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
return html `
|
|
36
|
-
<uui-popover placement=${this.placement} id="popover" @close=${this
|
|
36
|
+
<uui-popover placement=${this.placement} id="popover" @close=${this.closePopover}>
|
|
37
37
|
<uui-button
|
|
38
38
|
slot="trigger"
|
|
39
39
|
.look=${this.look}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { LitElement } from '../../../../external/lit/index.js';
|
|
2
2
|
/**
|
|
3
|
-
* A simple styled box for showing code-based error messages.
|
|
3
|
+
* A simple styled box for showing code-based error messages or blocks od code.
|
|
4
4
|
* @slot the full message
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
export declare class UmbCodeBlockElement extends LitElement {
|
|
8
|
+
language: string;
|
|
9
|
+
copy: boolean;
|
|
10
|
+
nodes: NodeListOf<ChildNode>;
|
|
11
|
+
copyState: 'idle' | 'success';
|
|
12
|
+
copyCode(): Promise<void>;
|
|
8
13
|
render(): import("lit-html").TemplateResult<1>;
|
|
9
14
|
static styles: import("@lit/reactive-element/css-tag").CSSResult[];
|
|
10
15
|
}
|
|
@@ -5,54 +5,128 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { UUITextStyles } from '../../../../external/uui/index.js';
|
|
8
|
-
import { css, html, LitElement, customElement } from '../../../../external/lit/index.js';
|
|
8
|
+
import { css, html, LitElement, customElement, property, queryAssignedNodes, state, } from '../../../../external/lit/index.js';
|
|
9
|
+
//TODO consider adding a highlight prop to the code block, that could spin up/access monaco instance and highlight the code
|
|
9
10
|
/**
|
|
10
|
-
* A simple styled box for showing code-based error messages.
|
|
11
|
+
* A simple styled box for showing code-based error messages or blocks od code.
|
|
11
12
|
* @slot the full message
|
|
12
13
|
*
|
|
13
14
|
*/
|
|
14
15
|
export let UmbCodeBlockElement = class UmbCodeBlockElement extends LitElement {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.language = '';
|
|
19
|
+
this.copy = false;
|
|
20
|
+
this.copyState = 'idle';
|
|
21
|
+
}
|
|
22
|
+
async copyCode() {
|
|
23
|
+
const text = this.textContent;
|
|
24
|
+
if (text) {
|
|
25
|
+
await navigator.clipboard.writeText(text);
|
|
26
|
+
this.copyState = 'success';
|
|
27
|
+
setTimeout(() => {
|
|
28
|
+
this.copyState = 'idle';
|
|
29
|
+
}, 2000);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
15
32
|
render() {
|
|
16
|
-
return html
|
|
17
|
-
|
|
18
|
-
|
|
33
|
+
return html `
|
|
34
|
+
${this.language
|
|
35
|
+
? html `<div id="header">
|
|
36
|
+
<span id="lang">${this.language}</span> ${this.copy
|
|
37
|
+
? html `<button @click=${this.copyCode}>
|
|
38
|
+
${this.copyState === 'idle'
|
|
39
|
+
? html `<uui-icon name="copy"></uui-icon>Copy`
|
|
40
|
+
: html `<uui-icon name="check"></uui-icon>Copied!`}
|
|
41
|
+
</button>`
|
|
42
|
+
: ''}
|
|
43
|
+
</div>`
|
|
44
|
+
: ''}
|
|
45
|
+
<pre style="${this.language ? 'border-top: 1px solid var(--uui-color-divider-emphasis);' : ''}">
|
|
46
|
+
<uui-scroll-container>
|
|
19
47
|
<code>
|
|
20
48
|
<slot></slot>
|
|
21
49
|
</code>
|
|
50
|
+
</uui-scroll-container>
|
|
22
51
|
</pre>
|
|
23
|
-
|
|
24
|
-
</div> `;
|
|
52
|
+
`;
|
|
25
53
|
}
|
|
26
54
|
static { this.styles = [
|
|
27
55
|
UUITextStyles,
|
|
28
56
|
css `
|
|
29
57
|
:host {
|
|
30
58
|
display: block;
|
|
31
|
-
font-family: monospace;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
#container {
|
|
35
59
|
border: 1px solid var(--uui-color-divider-emphasis);
|
|
36
|
-
color: var(--uui-color-text-alt);
|
|
37
|
-
background-color: var(--uui-color-divider-standalone);
|
|
38
|
-
padding: var(--uui-size-space-2);
|
|
39
60
|
border-radius: var(--uui-border-radius);
|
|
40
|
-
line-height: var(--uui-size-10);
|
|
41
61
|
}
|
|
42
|
-
|
|
62
|
+
|
|
63
|
+
uui-scroll-container {
|
|
43
64
|
max-height: 500px;
|
|
44
65
|
overflow-y: auto;
|
|
45
66
|
overflow-wrap: anywhere;
|
|
46
67
|
}
|
|
68
|
+
|
|
47
69
|
pre {
|
|
48
|
-
|
|
70
|
+
font-family: monospace;
|
|
71
|
+
background-color: var(--uui-color-surface-alt);
|
|
72
|
+
color: #303033;
|
|
73
|
+
display: block;
|
|
74
|
+
font-family: Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
|
|
75
|
+
margin: 0;
|
|
76
|
+
overflow-x: auto;
|
|
77
|
+
padding: 9.5px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
pre,
|
|
81
|
+
code {
|
|
82
|
+
word-wrap: normal;
|
|
49
83
|
white-space: pre-line;
|
|
50
|
-
|
|
51
|
-
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
#header {
|
|
87
|
+
display: flex;
|
|
88
|
+
justify-content: space-between;
|
|
89
|
+
align-items: center;
|
|
90
|
+
background-color: var(--uui-color-surface-alt);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
#lang {
|
|
94
|
+
margin-left: 16px;
|
|
95
|
+
font-weight: bold;
|
|
96
|
+
text-transform: uppercase;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
button {
|
|
100
|
+
font-family: inherit;
|
|
101
|
+
padding: 6px 16px;
|
|
102
|
+
background-color: transparent;
|
|
103
|
+
border: none;
|
|
104
|
+
border-left: 1px solid var(--uui-color-divider-emphasis);
|
|
105
|
+
border-radius: 0;
|
|
106
|
+
color: #000;
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
gap: 8px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
button:hover {
|
|
113
|
+
background-color: var(--uui-color-surface-emphasis);
|
|
52
114
|
}
|
|
53
115
|
`,
|
|
54
116
|
]; }
|
|
55
117
|
};
|
|
118
|
+
__decorate([
|
|
119
|
+
property()
|
|
120
|
+
], UmbCodeBlockElement.prototype, "language", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
property({ type: Boolean })
|
|
123
|
+
], UmbCodeBlockElement.prototype, "copy", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
queryAssignedNodes()
|
|
126
|
+
], UmbCodeBlockElement.prototype, "nodes", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
state()
|
|
129
|
+
], UmbCodeBlockElement.prototype, "copyState", void 0);
|
|
56
130
|
UmbCodeBlockElement = __decorate([
|
|
57
131
|
customElement('umb-code-block')
|
|
58
132
|
], UmbCodeBlockElement);
|
package/dist-cms/packages/core/components/data-type/data-type-property-collection.class.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type UmbDataTypeConfigProperty, type UmbDataTypeConfig } from '../../property-
|
|
1
|
+
import { type UmbDataTypeConfigProperty, type UmbDataTypeConfig } from '../../property-editor/index.js';
|
|
2
2
|
import { DataTypePropertyPresentationModel } from '../../../../external/backend-api/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* Extends Array to add utility functions for accessing data type properties
|
|
@@ -2,6 +2,7 @@ export * from './backoffice-modal-container/backoffice-modal-container.element.j
|
|
|
2
2
|
export * from './backoffice-notification-container/backoffice-notification-container.element.js';
|
|
3
3
|
export * from './body-layout/body-layout.element.js';
|
|
4
4
|
export * from './button-with-dropdown/button-with-dropdown.element.js';
|
|
5
|
+
export * from './code-block/index.js';
|
|
5
6
|
export * from './data-type/index.js';
|
|
6
7
|
export * from './input-date/index.js';
|
|
7
8
|
export * from './dropdown/index.js';
|
|
@@ -4,7 +4,7 @@ export * from './backoffice-modal-container/backoffice-modal-container.element.j
|
|
|
4
4
|
export * from './backoffice-notification-container/backoffice-notification-container.element.js';
|
|
5
5
|
export * from './body-layout/body-layout.element.js';
|
|
6
6
|
export * from './button-with-dropdown/button-with-dropdown.element.js'; // TODO: delete this and change usage to umb-dropdown
|
|
7
|
-
|
|
7
|
+
export * from './code-block/index.js';
|
|
8
8
|
export * from './data-type/index.js';
|
|
9
9
|
export * from './input-date/index.js';
|
|
10
10
|
export * from './dropdown/index.js';
|
|
@@ -237,6 +237,11 @@ export let UmbInputTinyMceElement = class UmbInputTinyMceElement extends FormCon
|
|
|
237
237
|
min-height: 100px;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
+
.tox-tinymce {
|
|
241
|
+
border-radius: 0;
|
|
242
|
+
border: var(--uui-input-border-width, 1px) solid var(--uui-input-border-color, var(--uui-color-border, #d8d7d9));
|
|
243
|
+
}
|
|
244
|
+
|
|
240
245
|
.tox-tinymce-aux {
|
|
241
246
|
z-index: 9000;
|
|
242
247
|
}
|
package/dist-cms/packages/core/components/property-editor-config/property-editor-config.element.js
CHANGED
|
@@ -8,6 +8,7 @@ import { html, customElement, property, state, ifDefined } from '../../../../ext
|
|
|
8
8
|
import { UUITextStyles } from '../../../../external/uui/index.js';
|
|
9
9
|
import { umbExtensionsRegistry, } from '../../extension-registry/index.js';
|
|
10
10
|
import { UmbLitElement } from '../../../../shared/lit-element/index.js';
|
|
11
|
+
import { UMB_PROPERTY_EDITOR_SCHEMA_ALIAS_DEFAULT } from '../../property-editor/index.js';
|
|
11
12
|
/**
|
|
12
13
|
* @element umb-property-editor-config
|
|
13
14
|
* @description - Element for displaying the configuration for a Property Editor based on a Property Editor UI Alias and a Property Editor Model alias.
|
|
@@ -49,7 +50,7 @@ export let UmbPropertyEditorConfigElement = class UmbPropertyEditorConfigElement
|
|
|
49
50
|
if (!this._propertyEditorUiAlias)
|
|
50
51
|
return;
|
|
51
52
|
this.observe(umbExtensionsRegistry.getByTypeAndAlias('propertyEditorUi', this.propertyEditorUiAlias), (manifest) => {
|
|
52
|
-
this._observePropertyEditorSchemaConfig(manifest?.meta.propertyEditorSchemaAlias);
|
|
53
|
+
this._observePropertyEditorSchemaConfig(manifest?.meta.propertyEditorSchemaAlias || UMB_PROPERTY_EDITOR_SCHEMA_ALIAS_DEFAULT);
|
|
53
54
|
this._propertyEditorUISettingsProperties = manifest?.meta.settings?.properties || [];
|
|
54
55
|
this._propertyEditorUISettingsDefaultData = manifest?.meta.settings?.defaultData || [];
|
|
55
56
|
this._mergeConfigProperties();
|
|
@@ -57,8 +58,6 @@ export let UmbPropertyEditorConfigElement = class UmbPropertyEditorConfigElement
|
|
|
57
58
|
});
|
|
58
59
|
}
|
|
59
60
|
_observePropertyEditorSchemaConfig(propertyEditorSchemaAlias) {
|
|
60
|
-
if (!propertyEditorSchemaAlias)
|
|
61
|
-
return;
|
|
62
61
|
this.observe(umbExtensionsRegistry.getByTypeAndAlias('propertyEditorSchema', propertyEditorSchemaAlias), (manifest) => {
|
|
63
62
|
this._propertyEditorSchemaConfigProperties = manifest?.meta.settings?.properties || [];
|
|
64
63
|
this._propertyEditorSchemaConfigDefaultData = manifest?.meta.settings?.defaultData || [];
|
package/dist-cms/packages/core/components/ref-property-editor-ui/ref-property-editor-ui.element.js
CHANGED
|
@@ -4,6 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
+
import { UMB_PROPERTY_EDITOR_SCHEMA_ALIAS_DEFAULT } from '../../property-editor/index.js';
|
|
7
8
|
import { UUIRefNodeElement } from '../../../../external/uui/index.js';
|
|
8
9
|
import { html, customElement, property } from '../../../../external/lit/index.js';
|
|
9
10
|
/**
|
|
@@ -39,7 +40,7 @@ export let UmbRefPropertyEditorUIElement = class UmbRefPropertyEditorUIElement e
|
|
|
39
40
|
details.push(this.propertyEditorSchemaAlias);
|
|
40
41
|
}
|
|
41
42
|
else {
|
|
42
|
-
details.push(
|
|
43
|
+
details.push(UMB_PROPERTY_EDITOR_SCHEMA_ALIAS_DEFAULT);
|
|
43
44
|
}
|
|
44
45
|
if (this.detail !== '') {
|
|
45
46
|
details.push(this.detail);
|
|
@@ -14,7 +14,7 @@ export class UmbContentTypePropertyStructureManager {
|
|
|
14
14
|
this.#documentTypeObservers = new Array();
|
|
15
15
|
this.#documentTypes = new UmbArrayState([], (x) => x.id);
|
|
16
16
|
this.documentTypes = this.#documentTypes.asObservable();
|
|
17
|
-
this._documentTypeContainers = this.#documentTypes.
|
|
17
|
+
this._documentTypeContainers = this.#documentTypes.asObservablePart((x) => x.flatMap((x) => x.containers ?? []));
|
|
18
18
|
this.#containers = new UmbArrayState([], (x) => x.id);
|
|
19
19
|
this.#host = host;
|
|
20
20
|
this.#contentTypeRepository = typeRepository;
|
|
@@ -114,7 +114,7 @@ export class UmbContentTypePropertyStructureManager {
|
|
|
114
114
|
*/
|
|
115
115
|
/** Public methods for consuming structure: */
|
|
116
116
|
ownerDocumentType() {
|
|
117
|
-
return this.#documentTypes.
|
|
117
|
+
return this.#documentTypes.asObservablePart((x) => x.find((y) => y.id === this.#ownerDocumentTypeId));
|
|
118
118
|
}
|
|
119
119
|
getOwnerDocumentType() {
|
|
120
120
|
return this.#documentTypes.getValue().find((y) => y.id === this.#ownerDocumentTypeId);
|
|
@@ -214,28 +214,28 @@ export class UmbContentTypePropertyStructureManager {
|
|
|
214
214
|
}
|
|
215
215
|
/*
|
|
216
216
|
rootDocumentTypeName() {
|
|
217
|
-
return this.#documentTypes.
|
|
217
|
+
return this.#documentTypes.asObservablePart((docTypes) => {
|
|
218
218
|
const docType = docTypes.find((x) => x.id === this.#rootDocumentTypeKey);
|
|
219
219
|
return docType?.name ?? '';
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
*/
|
|
223
223
|
ownerDocumentTypeObservablePart(mappingFunction) {
|
|
224
|
-
return this.#documentTypes.
|
|
224
|
+
return this.#documentTypes.asObservablePart((docTypes) => {
|
|
225
225
|
const docType = docTypes.find((x) => x.id === this.#ownerDocumentTypeId);
|
|
226
226
|
return docType ? mappingFunction(docType) : undefined;
|
|
227
227
|
});
|
|
228
228
|
}
|
|
229
229
|
/*
|
|
230
230
|
nameOfDocumentType(id: string) {
|
|
231
|
-
return this.#documentTypes.
|
|
231
|
+
return this.#documentTypes.asObservablePart((docTypes) => {
|
|
232
232
|
const docType = docTypes.find((x) => x.id === id);
|
|
233
233
|
return docType?.name ?? '';
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
236
|
*/
|
|
237
237
|
hasPropertyStructuresOf(containerId) {
|
|
238
|
-
return this.#documentTypes.
|
|
238
|
+
return this.#documentTypes.asObservablePart((docTypes) => {
|
|
239
239
|
return (docTypes.find((docType) => {
|
|
240
240
|
return docType.properties?.find((property) => property.containerId === containerId);
|
|
241
241
|
}) !== undefined);
|
|
@@ -245,7 +245,7 @@ export class UmbContentTypePropertyStructureManager {
|
|
|
245
245
|
return this.propertyStructuresOf(null);
|
|
246
246
|
}
|
|
247
247
|
propertyStructuresOf(containerId) {
|
|
248
|
-
return this.#documentTypes.
|
|
248
|
+
return this.#documentTypes.asObservablePart((docTypes) => {
|
|
249
249
|
const props = [];
|
|
250
250
|
docTypes.forEach((docType) => {
|
|
251
251
|
docType.properties?.forEach((property) => {
|
|
@@ -258,7 +258,7 @@ export class UmbContentTypePropertyStructureManager {
|
|
|
258
258
|
});
|
|
259
259
|
}
|
|
260
260
|
rootContainers(containerType) {
|
|
261
|
-
return this.#containers.
|
|
261
|
+
return this.#containers.asObservablePart((data) => {
|
|
262
262
|
return data.filter((x) => x.parentId === null && x.type === containerType);
|
|
263
263
|
});
|
|
264
264
|
}
|
|
@@ -266,7 +266,7 @@ export class UmbContentTypePropertyStructureManager {
|
|
|
266
266
|
return this.#containers.getValue().filter((x) => x.parentId === null && x.type === containerType);
|
|
267
267
|
}
|
|
268
268
|
hasRootContainers(containerType) {
|
|
269
|
-
return this.#containers.
|
|
269
|
+
return this.#containers.asObservablePart((data) => {
|
|
270
270
|
return data.filter((x) => x.parentId === null && x.type === containerType).length > 0;
|
|
271
271
|
});
|
|
272
272
|
}
|
|
@@ -280,13 +280,13 @@ export class UmbContentTypePropertyStructureManager {
|
|
|
280
280
|
return this.getOwnerDocumentType()?.containers?.filter((x) => x.id === containerId);
|
|
281
281
|
}
|
|
282
282
|
containersOfParentKey(parentId, containerType) {
|
|
283
|
-
return this.#containers.
|
|
283
|
+
return this.#containers.asObservablePart((data) => {
|
|
284
284
|
return data.filter((x) => x.parentId === parentId && x.type === containerType);
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
287
|
// In future this might need to take parentName(parentId lookup) into account as well? otherwise containers that share same name and type will always be merged, but their position might be different and they should not be merged.
|
|
288
288
|
containersByNameAndType(name, containerType) {
|
|
289
|
-
return this.#containers.
|
|
289
|
+
return this.#containers.asObservablePart((data) => {
|
|
290
290
|
return data.filter((x) => x.name === name && x.type === containerType);
|
|
291
291
|
});
|
|
292
292
|
}
|
|
@@ -6,7 +6,11 @@ export interface ManifestDashboard extends ManifestElement<UmbDashboardExtension
|
|
|
6
6
|
}
|
|
7
7
|
export interface MetaDashboard {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The displayed name (label) in the navigation.
|
|
10
|
+
*/
|
|
11
|
+
label?: string;
|
|
12
|
+
/**
|
|
13
|
+
* This is the URL path part for this view. This is used for navigating or deep linking directly to the dashboard
|
|
10
14
|
* https://yoursite.com/section/settings/dashboard/my-dashboard-path
|
|
11
15
|
*
|
|
12
16
|
* @example my-dashboard-path
|
|
@@ -14,11 +18,7 @@ export interface MetaDashboard {
|
|
|
14
18
|
* "my-dashboard-path"
|
|
15
19
|
* ]
|
|
16
20
|
*/
|
|
17
|
-
pathname
|
|
18
|
-
/**
|
|
19
|
-
* The displayed name (label) for the tab of the dashboard
|
|
20
|
-
*/
|
|
21
|
-
label?: string;
|
|
21
|
+
pathname?: string;
|
|
22
22
|
}
|
|
23
23
|
export interface ConditionsDashboard {
|
|
24
24
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { UmbPropertyEditorExtensionElement } from '../interfaces/index.js';
|
|
2
|
-
import { type UmbDataTypeConfig } from '../../property-
|
|
2
|
+
import { type UmbDataTypeConfig } from '../../property-editor/index.js';
|
|
3
3
|
import type { ManifestElement, ManifestBase } from '../../../../libs/extension-api/index.js';
|
|
4
4
|
export interface ManifestPropertyEditorUi extends ManifestElement<UmbPropertyEditorExtensionElement> {
|
|
5
5
|
type: 'propertyEditorUi';
|
|
@@ -5,8 +5,27 @@ export interface ManifestSectionView extends ManifestElement<UmbSectionViewExten
|
|
|
5
5
|
meta: MetaSectionView;
|
|
6
6
|
}
|
|
7
7
|
export interface MetaSectionView {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
/**
|
|
9
|
+
* The displayed name (label) in the navigation.
|
|
10
|
+
*/
|
|
11
|
+
label?: string;
|
|
12
|
+
/**
|
|
13
|
+
* This is the URL path part for this view. This is used for navigating or deep linking directly to the view
|
|
14
|
+
* https://yoursite.com/section/settings/view/my-view-path
|
|
15
|
+
*
|
|
16
|
+
* @example my-view-path
|
|
17
|
+
* @examples [
|
|
18
|
+
* "my-view-path"
|
|
19
|
+
* ]
|
|
20
|
+
*/
|
|
21
|
+
pathname?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The icon displayed for this view in the navigation.
|
|
24
|
+
* @example "box"
|
|
25
|
+
* @examples [
|
|
26
|
+
* "box"
|
|
27
|
+
* ]
|
|
28
|
+
*/
|
|
10
29
|
icon: string;
|
|
11
30
|
}
|
|
12
31
|
export interface ConditionsSectionView {
|
|
@@ -13,8 +13,8 @@ export * from './menu/index.js';
|
|
|
13
13
|
export * from './modal/index.js';
|
|
14
14
|
export * from './notification/index.js';
|
|
15
15
|
export * from './picker-input/index.js';
|
|
16
|
-
export * from './property-
|
|
17
|
-
export * from './property-
|
|
16
|
+
export * from './property-action/index.js';
|
|
17
|
+
export * from './property-editor/index.js';
|
|
18
18
|
export * from './section/index.js';
|
|
19
19
|
export * from './sorter/index.js';
|
|
20
20
|
export * from './store/index.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UmbBackofficeNotificationContainerElement, UmbBackofficeModalContainerElement } from './components/index.js';
|
|
2
2
|
import { manifests as debugManifests } from './debug/manifests.js';
|
|
3
|
-
import { manifests as propertyActionManifests } from './property-
|
|
4
|
-
import { manifests as propertyEditorManifests } from './property-
|
|
5
|
-
import { manifests as tinyMcePluginManifests } from './property-
|
|
3
|
+
import { manifests as propertyActionManifests } from './property-action/manifests.js';
|
|
4
|
+
import { manifests as propertyEditorManifests } from './property-editor/manifests.js';
|
|
5
|
+
import { manifests as tinyMcePluginManifests } from './property-editor/uis/tiny-mce/plugins/manifests.js';
|
|
6
6
|
import { manifests as workspaceManifests } from './workspace/manifests.js';
|
|
7
7
|
import { manifests as modalManifests } from './modal/common/manifests.js';
|
|
8
8
|
import { manifests as themeManifests } from './themes/manifests.js';
|
|
@@ -24,8 +24,8 @@ export * from './menu/index.js';
|
|
|
24
24
|
export * from './modal/index.js';
|
|
25
25
|
export * from './notification/index.js';
|
|
26
26
|
export * from './picker-input/index.js';
|
|
27
|
-
export * from './property-
|
|
28
|
-
export * from './property-
|
|
27
|
+
export * from './property-action/index.js';
|
|
28
|
+
export * from './property-editor/index.js';
|
|
29
29
|
export * from './section/index.js';
|
|
30
30
|
export * from './sorter/index.js';
|
|
31
31
|
export * from './store/index.js';
|