@umbraco-cms/backoffice 14.0.0-e7aa9547 → 14.0.0-f96e8145
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/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/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-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/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/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 +2 -1
- 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 +2 -1
- 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/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 +2 -1
- 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,6 +1,5 @@
|
|
|
1
1
|
import { UmbModalToken } from '../index.js';
|
|
2
|
-
export const
|
|
3
|
-
export const UMB_DICTIONARY_ITEM_PICKER_MODAL = new UmbModalToken(UMB_DICTIONARY_ITEM_PICKER_MODAL_ALIAS, {
|
|
2
|
+
export const UMB_DICTIONARY_ITEM_PICKER_MODAL = new UmbModalToken('Umb.Modal.TreePicker', {
|
|
4
3
|
type: 'sidebar',
|
|
5
4
|
size: 'small',
|
|
6
5
|
}, {
|
|
@@ -68,7 +68,7 @@ export let UmbPropertyEditorUIDatePickerElement = class UmbPropertyEditorUIDateP
|
|
|
68
68
|
.min=${this._min}
|
|
69
69
|
.max=${this._max}
|
|
70
70
|
.step=${this._step}
|
|
71
|
-
.offsetTime=${this._offsetTime}
|
|
71
|
+
.offsetTime=${this._offsetTime || false}
|
|
72
72
|
label="Pick a date or time"></umb-input-date>`;
|
|
73
73
|
}
|
|
74
74
|
static { this.styles = [UUITextStyles]; }
|
|
@@ -11,6 +11,7 @@ import { map, of } from '../../../../external/rxjs/index.js';
|
|
|
11
11
|
import { umbExtensionsRegistry, } from '../../extension-registry/index.js';
|
|
12
12
|
import { createExtensionElement } from '../../../../libs/extension-api/index.js';
|
|
13
13
|
import { UmbLitElement } from '../../../../shared/lit-element/index.js';
|
|
14
|
+
import { pathFolderName } from '../../../../shared/utils/index.js';
|
|
14
15
|
// TODO: this might need a new name, since it's both view and dashboard now
|
|
15
16
|
export let UmbSectionViewsElement = class UmbSectionViewsElement extends UmbLitElement {
|
|
16
17
|
constructor() {
|
|
@@ -23,10 +24,18 @@ export let UmbSectionViewsElement = class UmbSectionViewsElement extends UmbLitE
|
|
|
23
24
|
this._observeSectionAlias();
|
|
24
25
|
});
|
|
25
26
|
}
|
|
27
|
+
#constructDashboardPath(manifest) {
|
|
28
|
+
const dashboardName = manifest.meta.label ?? manifest.name;
|
|
29
|
+
return 'dashboard/' + (manifest.meta.pathname ? manifest.meta.pathname : pathFolderName(dashboardName));
|
|
30
|
+
}
|
|
31
|
+
#constructViewPath(manifest) {
|
|
32
|
+
const viewName = manifest.meta.label ?? manifest.name;
|
|
33
|
+
return 'view/' + (manifest.meta.pathname ? manifest.meta.pathname : pathFolderName(viewName));
|
|
34
|
+
}
|
|
26
35
|
async #createRoutes() {
|
|
27
36
|
const dashboardRoutes = this._dashboards?.map((manifest) => {
|
|
28
37
|
return {
|
|
29
|
-
path:
|
|
38
|
+
path: this.#constructDashboardPath(manifest),
|
|
30
39
|
component: () => createExtensionElement(manifest),
|
|
31
40
|
setup: (component) => {
|
|
32
41
|
component.manifest = manifest;
|
|
@@ -35,7 +44,7 @@ export let UmbSectionViewsElement = class UmbSectionViewsElement extends UmbLitE
|
|
|
35
44
|
});
|
|
36
45
|
const viewRoutes = this._views?.map((manifest) => {
|
|
37
46
|
return {
|
|
38
|
-
path:
|
|
47
|
+
path: this.#constructViewPath(manifest),
|
|
39
48
|
component: () => createExtensionElement(manifest),
|
|
40
49
|
setup: (component) => {
|
|
41
50
|
component.manifest = manifest;
|
|
@@ -97,14 +106,16 @@ export let UmbSectionViewsElement = class UmbSectionViewsElement extends UmbLitE
|
|
|
97
106
|
return this._dashboards.length > 0
|
|
98
107
|
? html `
|
|
99
108
|
<uui-tab-group slot="header" id="dashboards">
|
|
100
|
-
${this._dashboards.map((dashboard) =>
|
|
109
|
+
${this._dashboards.map((dashboard) => {
|
|
110
|
+
const dashboardName = dashboard.meta.label ?? dashboard.name;
|
|
111
|
+
const dashboardPath = this.#constructDashboardPath(dashboard);
|
|
112
|
+
return html `
|
|
101
113
|
<uui-tab
|
|
102
|
-
.label="${
|
|
103
|
-
href="${this._routerPath}
|
|
104
|
-
?active="${this._activePath ===
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
`)}
|
|
114
|
+
.label="${dashboardName}"
|
|
115
|
+
href="${this._routerPath}/${dashboardPath}"
|
|
116
|
+
?active="${this._activePath === dashboardPath}"></uui-tab>
|
|
117
|
+
`;
|
|
118
|
+
})}
|
|
108
119
|
</uui-tab-group>
|
|
109
120
|
`
|
|
110
121
|
: '';
|
|
@@ -113,15 +124,19 @@ export let UmbSectionViewsElement = class UmbSectionViewsElement extends UmbLitE
|
|
|
113
124
|
return this._views.length > 0
|
|
114
125
|
? html `
|
|
115
126
|
<uui-tab-group slot="navigation" id="views">
|
|
116
|
-
${this._views.map((view) =>
|
|
127
|
+
${this._views.map((view) => {
|
|
128
|
+
const viewName = view.meta.label ?? view.name;
|
|
129
|
+
const viewPath = this.#constructViewPath(view);
|
|
130
|
+
return html `
|
|
117
131
|
<uui-tab
|
|
118
|
-
.label="${
|
|
119
|
-
href="${this._routerPath}
|
|
120
|
-
?active="${this._activePath ===
|
|
132
|
+
.label="${viewName}"
|
|
133
|
+
href="${this._routerPath}/${viewPath}"
|
|
134
|
+
?active="${this._activePath === viewPath}">
|
|
121
135
|
<uui-icon slot="icon" name=${view.meta.icon}></uui-icon>
|
|
122
|
-
${
|
|
136
|
+
${viewName}
|
|
123
137
|
</uui-tab>
|
|
124
|
-
|
|
138
|
+
`;
|
|
139
|
+
})}
|
|
125
140
|
</uui-tab-group>
|
|
126
141
|
`
|
|
127
142
|
: '';
|
|
@@ -13,7 +13,7 @@ export class UmbEntityTreeStore extends UmbStoreBase {
|
|
|
13
13
|
* An observable to observe the root items
|
|
14
14
|
* @memberof UmbEntityTreeStore
|
|
15
15
|
*/
|
|
16
|
-
this.rootItems = this._data.
|
|
16
|
+
this.rootItems = this._data.asObservablePart((items) => items.filter((item) => item.parentId === null));
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* Returns an observable to observe the children of a given parent
|
|
@@ -22,7 +22,7 @@ export class UmbEntityTreeStore extends UmbStoreBase {
|
|
|
22
22
|
* @memberof UmbEntityTreeStore
|
|
23
23
|
*/
|
|
24
24
|
childrenOf(parentId) {
|
|
25
|
-
return this._data.
|
|
25
|
+
return this._data.asObservablePart((items) => items.filter((item) => item.parentId === parentId));
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Returns an observable to observe the items with the given ids
|
|
@@ -31,6 +31,6 @@ export class UmbEntityTreeStore extends UmbStoreBase {
|
|
|
31
31
|
* @memberof UmbEntityTreeStore
|
|
32
32
|
*/
|
|
33
33
|
items(ids) {
|
|
34
|
-
return this._data.
|
|
34
|
+
return this._data.asObservablePart((items) => items.filter((item) => ids.includes(item.id ?? '')));
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -13,7 +13,7 @@ export class UmbFileSystemTreeStore extends UmbStoreBase {
|
|
|
13
13
|
* An observable to observe the root items
|
|
14
14
|
* @memberof UmbFileSystemTreeStore
|
|
15
15
|
*/
|
|
16
|
-
this.rootItems = this._data.
|
|
16
|
+
this.rootItems = this._data.asObservablePart((items) => items.filter((item) => item.path?.includes('/') === false));
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* Returns an observable to observe the children of a given parent
|
|
@@ -22,7 +22,7 @@ export class UmbFileSystemTreeStore extends UmbStoreBase {
|
|
|
22
22
|
* @memberof UmbFileSystemTreeStore
|
|
23
23
|
*/
|
|
24
24
|
childrenOf(parentPath) {
|
|
25
|
-
return this._data.
|
|
25
|
+
return this._data.asObservablePart((items) => items.filter((item) => item.path?.startsWith(parentPath + '/') || parentPath === null));
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Returns an observable to observe the items with the given ids
|
|
@@ -31,6 +31,6 @@ export class UmbFileSystemTreeStore extends UmbStoreBase {
|
|
|
31
31
|
* @memberof UmbFileSystemTreeStore
|
|
32
32
|
*/
|
|
33
33
|
items(paths) {
|
|
34
|
-
return this._data.
|
|
34
|
+
return this._data.asObservablePart((items) => items.filter((item) => paths.includes(item.path ?? '')));
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { map } from '../../../external/rxjs/index.js';
|
|
2
1
|
import { umbExtensionsRegistry } from '../extension-registry/index.js';
|
|
3
2
|
import { UmbBooleanState } from '../../../libs/observable-api/index.js';
|
|
4
3
|
import { UmbBaseController } from '../../../libs/controller-api/index.js';
|
|
@@ -36,9 +35,7 @@ export class UmbTreeContextBase extends UmbBaseController {
|
|
|
36
35
|
if (this.#treeAlias === treeAlias)
|
|
37
36
|
return;
|
|
38
37
|
this.#treeAlias = treeAlias;
|
|
39
|
-
|
|
40
|
-
this.#observeTreeManifest();
|
|
41
|
-
}
|
|
38
|
+
this.#observeTreeManifest();
|
|
42
39
|
}
|
|
43
40
|
getTreeAlias() {
|
|
44
41
|
return this.#treeAlias;
|
|
@@ -94,13 +91,13 @@ export class UmbTreeContextBase extends UmbBaseController {
|
|
|
94
91
|
return this.repository.treeItemsOf(parentUnique);
|
|
95
92
|
}
|
|
96
93
|
#observeTreeManifest() {
|
|
97
|
-
this
|
|
98
|
-
.
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
94
|
+
if (this.#treeAlias) {
|
|
95
|
+
this.observe(umbExtensionsRegistry.getByTypeAndAlias('tree', this.#treeAlias), async (treeManifest) => {
|
|
96
|
+
if (!treeManifest)
|
|
97
|
+
return;
|
|
98
|
+
this.#observeRepository(treeManifest);
|
|
99
|
+
}, '_observeTreeManifest');
|
|
100
|
+
}
|
|
104
101
|
}
|
|
105
102
|
#observeRepository(treeManifest) {
|
|
106
103
|
const repositoryAlias = treeManifest.meta.repositoryAlias;
|
|
@@ -16,11 +16,11 @@ export class UmbWorkspacePropertyContext {
|
|
|
16
16
|
#variantId;
|
|
17
17
|
constructor(host) {
|
|
18
18
|
this.#data = new UmbObjectState({});
|
|
19
|
-
this.alias = this.#data.
|
|
20
|
-
this.label = this.#data.
|
|
21
|
-
this.description = this.#data.
|
|
22
|
-
this.value = this.#data.
|
|
23
|
-
this.configValues = this.#data.
|
|
19
|
+
this.alias = this.#data.asObservablePart((data) => data.alias);
|
|
20
|
+
this.label = this.#data.asObservablePart((data) => data.label);
|
|
21
|
+
this.description = this.#data.asObservablePart((data) => data.description);
|
|
22
|
+
this.value = this.#data.asObservablePart((data) => data.value);
|
|
23
|
+
this.configValues = this.#data.asObservablePart((data) => data.config);
|
|
24
24
|
this.#configCollection = new UmbClassState(undefined);
|
|
25
25
|
this.config = this.#configCollection.asObservable();
|
|
26
26
|
this._editor = new UmbBasicState(undefined);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type UmbDataTypeConfig } from '../../property-
|
|
1
|
+
import { type UmbDataTypeConfig } from '../../property-editor/index.js';
|
|
2
2
|
import { UmbVariantId } from '../../variant/index.js';
|
|
3
3
|
import { UmbLitElement } from '../../../../shared/lit-element/index.js';
|
|
4
4
|
/**
|
|
@@ -31,7 +31,7 @@ export class UmbWorkspaceSplitViewManager {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
activeVariantByIndex(index) {
|
|
34
|
-
return this.#activeVariantsInfo.
|
|
34
|
+
return this.#activeVariantsInfo.asObservablePart((data) => data[index] || undefined);
|
|
35
35
|
}
|
|
36
36
|
switchVariant(index, variantId) {
|
|
37
37
|
// TODO: remember current path and extend url with it.
|
|
@@ -17,9 +17,9 @@ export class UmbWorkspaceVariantContext {
|
|
|
17
17
|
this.index = this.#index.asObservable();
|
|
18
18
|
this.#currentVariant = new UmbObjectState(undefined);
|
|
19
19
|
this.currentVariant = this.#currentVariant.asObservable();
|
|
20
|
-
this.name = this.#currentVariant.
|
|
21
|
-
this.culture = this.#currentVariant.
|
|
22
|
-
this.segment = this.#currentVariant.
|
|
20
|
+
this.name = this.#currentVariant.asObservablePart((x) => x?.name);
|
|
21
|
+
this.culture = this.#currentVariant.asObservablePart((x) => x?.culture);
|
|
22
|
+
this.segment = this.#currentVariant.asObservablePart((x) => x?.segment);
|
|
23
23
|
this.#variantId = new UmbClassState(undefined);
|
|
24
24
|
this.variantId = this.#variantId.asObservable();
|
|
25
25
|
this.#host = host;
|
|
@@ -26,7 +26,7 @@ export class UmbDocumentBlueprintStore extends UmbStoreBase {
|
|
|
26
26
|
.then((data) => {
|
|
27
27
|
this._data.append(data);
|
|
28
28
|
});
|
|
29
|
-
return this._data.
|
|
29
|
+
return this._data.asObservablePart((documents) => documents.find((document) => document.id === id));
|
|
30
30
|
}
|
|
31
31
|
getScaffold(entityType, parentId) {
|
|
32
32
|
return {};
|
|
@@ -30,7 +30,7 @@ export class UmbDocumentTypeStore extends UmbStoreBase {
|
|
|
30
30
|
* @memberof UmbDocumentTypeStore
|
|
31
31
|
*/
|
|
32
32
|
byId(id) {
|
|
33
|
-
return this._data.
|
|
33
|
+
return this._data.asObservablePart((x) => x.find((y) => y.id === id));
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* Removes document-types in the store with the given uniques
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../../templating/templates/components/input-template/input-template.element.js';
|
|
1
2
|
import { UmbLitElement } from '../../../../../../shared/lit-element/index.js';
|
|
2
3
|
import { UmbWorkspaceEditorViewExtensionElement } from '../../../../../core/extension-registry/index.js';
|
|
3
4
|
export declare class UmbDocumentTypeWorkspaceViewTemplatesElement extends UmbLitElement implements UmbWorkspaceEditorViewExtensionElement {
|
|
@@ -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 '../../../../../templating/templates/components/input-template/input-template.element.js';
|
|
7
8
|
import { css, html, customElement, state } from '../../../../../../external/lit/index.js';
|
|
8
9
|
import { UUITextStyles } from '../../../../../../external/uui/index.js';
|
|
9
10
|
import { UmbLitElement } from '../../../../../../shared/lit-element/index.js';
|
|
@@ -34,7 +35,7 @@ export let UmbDocumentTypeWorkspaceViewTemplatesElement = class UmbDocumentTypeW
|
|
|
34
35
|
#templateInputChange(e) {
|
|
35
36
|
// save new allowed ids
|
|
36
37
|
const input = e.target;
|
|
37
|
-
const idsWithoutRoot = input.selectedIds
|
|
38
|
+
const idsWithoutRoot = input.selectedIds?.filter((id) => id !== null) ?? [];
|
|
38
39
|
this.#workspaceContext?.setAllowedTemplateIds(idsWithoutRoot);
|
|
39
40
|
this.#workspaceContext?.setDefaultTemplateId(input.defaultId);
|
|
40
41
|
}
|
|
@@ -30,7 +30,7 @@ export class UmbDocumentStore extends UmbStoreBase {
|
|
|
30
30
|
* @memberof UmbDocumentStore
|
|
31
31
|
*/
|
|
32
32
|
byId(id) {
|
|
33
|
-
return this._data.
|
|
33
|
+
return this._data.asObservablePart((x) => x.find((y) => y.id === id));
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* Removes documents in the store with the given uniques
|
|
@@ -26,11 +26,11 @@ export class UmbDocumentWorkspaceContext extends UmbWorkspaceContext {
|
|
|
26
26
|
* The document is the current state/draft version of the document.
|
|
27
27
|
*/
|
|
28
28
|
this.#draft = new UmbObjectState(undefined);
|
|
29
|
-
this.unique = this.#draft.
|
|
30
|
-
this.documentTypeKey = this.#draft.
|
|
31
|
-
this.variants = this.#draft.
|
|
32
|
-
this.urls = this.#draft.
|
|
33
|
-
this.templateId = this.#draft.
|
|
29
|
+
this.unique = this.#draft.asObservablePart((data) => data?.id);
|
|
30
|
+
this.documentTypeKey = this.#draft.asObservablePart((data) => data?.contentTypeId);
|
|
31
|
+
this.variants = this.#draft.asObservablePart((data) => data?.variants || []);
|
|
32
|
+
this.urls = this.#draft.asObservablePart((data) => data?.urls || []);
|
|
33
|
+
this.templateId = this.#draft.asObservablePart((data) => data?.templateId || null);
|
|
34
34
|
this.structure = new UmbContentTypePropertyStructureManager(this.host, new UmbDocumentTypeRepository(this.host));
|
|
35
35
|
this.splitView = new UmbWorkspaceSplitViewManager(this.host);
|
|
36
36
|
new UmbObserverController(this.host, this.documentTypeKey, (id) => this.structure.loadType(id));
|
|
@@ -93,13 +93,13 @@ export class UmbDocumentWorkspaceContext extends UmbWorkspaceContext {
|
|
|
93
93
|
this.#draft.update({ variants });
|
|
94
94
|
}
|
|
95
95
|
propertyValuesOf(variantId) {
|
|
96
|
-
return this.#draft.
|
|
96
|
+
return this.#draft.asObservablePart((data) => variantId ? data?.values?.filter((x) => variantId.compare(x)) : data?.values);
|
|
97
97
|
}
|
|
98
98
|
propertyDataByAlias(propertyAlias, variantId) {
|
|
99
|
-
return this.#draft.
|
|
99
|
+
return this.#draft.asObservablePart((data) => data?.values?.find((x) => x?.alias === propertyAlias && (variantId ? variantId.compare(x) : true)));
|
|
100
100
|
}
|
|
101
101
|
propertyValueByAlias(propertyAlias, variantId) {
|
|
102
|
-
return this.#draft.
|
|
102
|
+
return this.#draft.asObservablePart((data) => data?.values?.find((x) => x?.alias === propertyAlias && (variantId ? variantId.compare(x) : true))?.value);
|
|
103
103
|
}
|
|
104
104
|
getPropertyValue(alias, variantId) {
|
|
105
105
|
const currentData = this.#draft.value;
|
|
@@ -75,6 +75,7 @@ export let UmbDocumentInfoWorkspaceViewElement = class UmbDocumentInfoWorkspaceV
|
|
|
75
75
|
this.itemsPerPage = 10;
|
|
76
76
|
this._editDocumentTypePath = '';
|
|
77
77
|
new UmbModalRouteRegistrationController(this, UMB_WORKSPACE_MODAL)
|
|
78
|
+
.addAdditionalPath('document-type')
|
|
78
79
|
.onSetup(() => {
|
|
79
80
|
return { entityType: 'document-type', preset: {} };
|
|
80
81
|
})
|
|
@@ -30,7 +30,7 @@ export class UmbMediaStore extends UmbStoreBase {
|
|
|
30
30
|
* @memberof UmbMediaStore
|
|
31
31
|
*/
|
|
32
32
|
byId(id) {
|
|
33
|
-
return this._data.
|
|
33
|
+
return this._data.asObservablePart((x) => x.find((y) => y.id === id));
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* Removes media in the store with the given uniques
|
|
@@ -7,7 +7,7 @@ export class UmbMediaWorkspaceContext extends UmbWorkspaceContext {
|
|
|
7
7
|
super(host, new UmbMediaRepository(host));
|
|
8
8
|
this.#data = new UmbObjectState(undefined);
|
|
9
9
|
this.data = this.#data.asObservable();
|
|
10
|
-
this.name = this.#data.
|
|
10
|
+
this.name = this.#data.asObservablePart((data) => data?.name);
|
|
11
11
|
}
|
|
12
12
|
getData() {
|
|
13
13
|
return this.#data.getValue();
|
|
@@ -7,7 +7,7 @@ export class UmbWorkspaceMediaTypeContext extends UmbWorkspaceContext {
|
|
|
7
7
|
super(host, new UmbMediaTypeRepository(host));
|
|
8
8
|
this.#data = new UmbObjectState(undefined);
|
|
9
9
|
this.data = this.#data.asObservable();
|
|
10
|
-
this.name = this.#data.
|
|
10
|
+
this.name = this.#data.asObservablePart((data) => data?.name);
|
|
11
11
|
}
|
|
12
12
|
getData() {
|
|
13
13
|
return this.#data.getValue();
|
|
@@ -21,7 +21,7 @@ export class UmbMemberGroupStore extends UmbStoreBase {
|
|
|
21
21
|
* @memberof UmbMemberGroupStore
|
|
22
22
|
*/
|
|
23
23
|
byId(id) {
|
|
24
|
-
return this._data.
|
|
24
|
+
return this._data.asObservablePart((x) => x.find((y) => y.id === id));
|
|
25
25
|
}
|
|
26
26
|
remove(uniques) {
|
|
27
27
|
this._data.remove(uniques);
|
|
@@ -7,7 +7,7 @@ export class UmbWorkspaceMemberGroupContext extends UmbWorkspaceContext {
|
|
|
7
7
|
super(host, new UmbMemberGroupRepository(host));
|
|
8
8
|
this.#data = new UmbObjectState(undefined);
|
|
9
9
|
this.data = this.#data.asObservable();
|
|
10
|
-
this.name = this.#data.
|
|
10
|
+
this.name = this.#data.asObservablePart((data) => data?.name);
|
|
11
11
|
}
|
|
12
12
|
getData() {
|
|
13
13
|
return this.#data.getValue();
|
|
@@ -20,7 +20,7 @@ export class UmbMemberTypeStore extends UmbStoreBase {
|
|
|
20
20
|
* @memberof UmbMemberTypeStore
|
|
21
21
|
*/
|
|
22
22
|
byId(id) {
|
|
23
|
-
return this._data.
|
|
23
|
+
return this._data.asObservablePart((x) => x.find((y) => y.id === id));
|
|
24
24
|
}
|
|
25
25
|
remove(uniques) {
|
|
26
26
|
this._data.remove(uniques);
|
|
@@ -6,7 +6,7 @@ export class UmbMemberTypeWorkspaceContext extends UmbWorkspaceContext {
|
|
|
6
6
|
constructor(host) {
|
|
7
7
|
super(host, new UmbMemberTypeRepository(host));
|
|
8
8
|
this.#data = new UmbObjectState(undefined);
|
|
9
|
-
this.name = this.#data.
|
|
9
|
+
this.name = this.#data.asObservablePart((data) => data?.name);
|
|
10
10
|
}
|
|
11
11
|
async load(entityId) {
|
|
12
12
|
const { data } = await this.repository.requestById(entityId);
|
|
@@ -17,7 +17,7 @@ export class UmbDataTypeItemStore extends UmbStoreBase {
|
|
|
17
17
|
super(host, UMB_DATA_TYPE_ITEM_STORE_CONTEXT_TOKEN.toString(), new UmbArrayState([], (x) => x.id));
|
|
18
18
|
}
|
|
19
19
|
items(ids) {
|
|
20
|
-
return this._data.
|
|
20
|
+
return this._data.asObservablePart((items) => items.filter((item) => ids.includes(item.id ?? '')));
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
export const UMB_DATA_TYPE_ITEM_STORE_CONTEXT_TOKEN = new UmbContextToken('UmbDataTypeItemStore');
|
|
@@ -31,7 +31,7 @@ export class UmbDataTypeStore extends UmbStoreBase {
|
|
|
31
31
|
* @memberof UmbDataTypeStore
|
|
32
32
|
*/
|
|
33
33
|
byId(id) {
|
|
34
|
-
return this._data.
|
|
34
|
+
return this._data.asObservablePart((x) => x.find((y) => y.id === id));
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* Removes data-types in the store with the given uniques
|
|
@@ -43,6 +43,6 @@ export class UmbDataTypeStore extends UmbStoreBase {
|
|
|
43
43
|
}
|
|
44
44
|
withPropertyEditorUiAlias(propertyEditorUiAlias) {
|
|
45
45
|
// TODO: Use a model for the data-type tree items: ^^Most likely it should be parsed to the UmbEntityTreeStore as a generic type.
|
|
46
|
-
return this._data.
|
|
46
|
+
return this._data.asObservablePart((items) => items.filter((item) => item.propertyEditorUiAlias === propertyEditorUiAlias));
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -9,8 +9,8 @@ export class UmbDataTypeWorkspaceContext extends UmbWorkspaceContext {
|
|
|
9
9
|
// TODO: revisit. temp solution because the create and response models are different.
|
|
10
10
|
this.#data = new UmbObjectState(undefined);
|
|
11
11
|
this.data = this.#data.asObservable();
|
|
12
|
-
this.name = this.#data.
|
|
13
|
-
this.id = this.#data.
|
|
12
|
+
this.name = this.#data.asObservablePart((data) => data?.name);
|
|
13
|
+
this.id = this.#data.asObservablePart((data) => data?.id);
|
|
14
14
|
}
|
|
15
15
|
async load(id) {
|
|
16
16
|
const { data } = await this.repository.requestById(id);
|
|
@@ -13,6 +13,6 @@ export class UmbLanguageItemStore extends UmbStoreBase {
|
|
|
13
13
|
super(host, UMB_LANGUAGE_ITEM_STORE_CONTEXT_TOKEN.toString(), new UmbArrayState([], (x) => x.isoCode));
|
|
14
14
|
}
|
|
15
15
|
items(isoCodes) {
|
|
16
|
-
return this._data.
|
|
16
|
+
return this._data.asObservablePart((items) => items.filter((item) => isoCodes.includes(item.isoCode ?? '')));
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -21,6 +21,6 @@ export class UmbLanguageStore extends UmbStoreBase {
|
|
|
21
21
|
}
|
|
22
22
|
// TODO: how do we best handle this? They might have a smaller data set than the details
|
|
23
23
|
items(isoCodes) {
|
|
24
|
-
return this._data.
|
|
24
|
+
return this._data.asObservablePart((items) => items.filter((item) => isoCodes.includes(item.isoCode ?? '')));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -31,7 +31,7 @@ export class UmbRelationTypeStore extends UmbStoreBase {
|
|
|
31
31
|
* @memberof UmbRelationTypeStore
|
|
32
32
|
*/
|
|
33
33
|
byId(id) {
|
|
34
|
-
return this._data.
|
|
34
|
+
return this._data.asObservablePart((x) => x.find((y) => y.id === id));
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* Removes relation-types in the store with the given uniques
|
package/dist-cms/packages/settings/relation-types/workspace/relation-type-workspace.context.js
CHANGED
|
@@ -7,8 +7,8 @@ export class UmbRelationTypeWorkspaceContext extends UmbWorkspaceContext {
|
|
|
7
7
|
super(host, new UmbRelationTypeRepository(host));
|
|
8
8
|
this.#data = new UmbObjectState(undefined);
|
|
9
9
|
this.data = this.#data.asObservable();
|
|
10
|
-
this.name = this.#data.
|
|
11
|
-
this.id = this.#data.
|
|
10
|
+
this.name = this.#data.asObservablePart((data) => data?.name);
|
|
11
|
+
this.id = this.#data.asObservablePart((data) => data?.id);
|
|
12
12
|
}
|
|
13
13
|
async load(id) {
|
|
14
14
|
const { data } = await this.repository.requestById(id);
|
|
@@ -32,10 +32,10 @@ export class UmbTagStore extends UmbStoreBase {
|
|
|
32
32
|
* @memberof UmbTagStore
|
|
33
33
|
*/
|
|
34
34
|
byId(id) {
|
|
35
|
-
return this._data.
|
|
35
|
+
return this._data.asObservablePart((x) => x.find((y) => y.id === id));
|
|
36
36
|
}
|
|
37
37
|
items(group, culture) {
|
|
38
|
-
return this._data.
|
|
38
|
+
return this._data.asObservablePart((items) => items.filter((item) => item.group === group && item.culture === culture));
|
|
39
39
|
}
|
|
40
40
|
// TODO
|
|
41
41
|
// There isnt really any way to exclude certain tags when searching for suggestions.
|
|
@@ -43,7 +43,7 @@ export class UmbTagStore extends UmbStoreBase {
|
|
|
43
43
|
// Forexample: we have 10 different tags that includes "berry" (and searched for "berry") and we have a skip of 0 and take of 5.
|
|
44
44
|
// If we already has picked lets say 4 of them, the list will only show 1 more, even though there is more remaining in the database.
|
|
45
45
|
byQuery(group, culture, query) {
|
|
46
|
-
return this._data.
|
|
46
|
+
return this._data.asObservablePart((items) => items.filter((item) => item.group === group &&
|
|
47
47
|
item.culture === culture &&
|
|
48
48
|
item.query?.toLocaleLowerCase().includes(query.toLocaleLowerCase())));
|
|
49
49
|
}
|