@umbraco-cms/backoffice 17.8.2 → 17.9.0-rc
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/custom-elements.json +504 -245
- package/dist-cms/apps/app/app-auth.controller.d.ts +8 -0
- package/dist-cms/apps/app/app-auth.controller.js +48 -2
- package/dist-cms/apps/app/app.element.js +11 -1
- package/dist-cms/assets/lang/da.js +3 -0
- package/dist-cms/assets/lang/en.js +5 -0
- package/dist-cms/assets/lang/nb.js +1 -0
- package/dist-cms/assets/lang/pt.js +1 -0
- package/dist-cms/assets/lang/vi.js +1 -0
- package/dist-cms/external/uui/package.json +1 -1
- package/dist-cms/libs/extension-api/functions/has-init-export.function.d.ts +1 -1
- package/dist-cms/libs/extension-api/functions/has-init-export.function.js +1 -1
- package/dist-cms/libs/extension-api/functions/has-on-unload-export.function.d.ts +1 -1
- package/dist-cms/libs/extension-api/functions/has-on-unload-export.function.js +1 -1
- package/dist-cms/libs/extension-api/models/entry-point.interface.d.ts +1 -2
- package/dist-cms/packages/block/block/components/block-ref-name-slot/block-ref-name-slot.mixin.d.ts +32 -0
- package/dist-cms/packages/block/block/components/block-ref-name-slot/block-ref-name-slot.mixin.js +67 -0
- package/dist-cms/packages/block/block/components/index.d.ts +1 -0
- package/dist-cms/packages/block/block/components/index.js +1 -0
- package/dist-cms/packages/block/block/context/block-manager.context.js +2 -1
- package/dist-cms/packages/block/block/property-value-resolver/block-value-resolver.api.js +2 -1
- package/dist-cms/packages/block/block/utils/block-expose-sort-compare.function.d.ts +10 -0
- package/dist-cms/packages/block/block/utils/block-expose-sort-compare.function.js +17 -0
- package/dist-cms/packages/block/block/workspace/block-element-manager.js +3 -3
- package/dist-cms/packages/block/block-grid/components/block-grid-block/block-grid-block.element.d.ts +7 -5
- package/dist-cms/packages/block/block-grid/components/block-grid-block/block-grid-block.element.js +11 -24
- package/dist-cms/packages/block/block-grid/components/block-grid-block-inline/block-grid-block-inline.element.d.ts +7 -3
- package/dist-cms/packages/block/block-grid/components/block-grid-block-inline/block-grid-block-inline.element.js +11 -19
- package/dist-cms/packages/block/block-grid/components/block-grid-entries/block-grid-entries.element.js +3 -3
- package/dist-cms/packages/block/block-grid/components/block-grid-entry/block-grid-entry.element.d.ts +2 -2
- package/dist-cms/packages/block/block-grid/components/block-grid-entry/block-grid-entry.element.js +11 -6
- package/dist-cms/packages/block/block-grid/property-editors/block-grid-editor/Umbraco.BlockGrid.js +1 -1
- package/dist-cms/packages/block/block-list/components/block-list-entry/block-list-entry.element.d.ts +1 -1
- package/dist-cms/packages/block/block-list/components/block-list-entry/block-list-entry.element.js +3 -13
- package/dist-cms/packages/block/block-list/components/inline-list-block/inline-list-block.element.d.ts +3 -9
- package/dist-cms/packages/block/block-list/components/inline-list-block/inline-list-block.element.js +37 -67
- package/dist-cms/packages/block/block-list/components/ref-list-block/ref-list-block.element.d.ts +3 -10
- package/dist-cms/packages/block/block-list/components/ref-list-block/ref-list-block.element.js +4 -44
- package/dist-cms/packages/block/block-list/property-editors/block-list-editor/Umbraco.BlockList.js +1 -1
- package/dist-cms/packages/block/block-list/property-editors/block-list-editor/property-editor-ui-block-list.element.js +2 -2
- package/dist-cms/packages/block/block-rte/components/block-rte-entry/block-rte-entry.element.d.ts +1 -1
- package/dist-cms/packages/block/block-rte/components/block-rte-entry/block-rte-entry.element.js +12 -6
- package/dist-cms/packages/block/block-rte/components/ref-rte-block/ref-rte-block.element.d.ts +3 -4
- package/dist-cms/packages/block/block-rte/components/ref-rte-block/ref-rte-block.element.js +10 -26
- package/dist-cms/packages/block/block-rte/context/block-rte-entry.context.js +1 -1
- package/dist-cms/packages/block/block-single/components/block-single-entry/block-single-entry.element.d.ts +3 -4
- package/dist-cms/packages/block/block-single/components/block-single-entry/block-single-entry.element.js +58 -48
- package/dist-cms/packages/block/block-single/components/inline-single-block/inline-single-block.element.d.ts +4 -3
- package/dist-cms/packages/block/block-single/components/inline-single-block/inline-single-block.element.js +27 -32
- package/dist-cms/packages/block/block-single/components/ref-single-block/ref-single-block.element.d.ts +7 -5
- package/dist-cms/packages/block/block-single/components/ref-single-block/ref-single-block.element.js +14 -27
- package/dist-cms/packages/content/content/controller/merge-content-variant-data.controller.js +5 -3
- package/dist-cms/packages/content/content/index.d.ts +1 -0
- package/dist-cms/packages/content/content/index.js +1 -0
- package/dist-cms/packages/content/content/manager/content-data-manager.d.ts +0 -1
- package/dist-cms/packages/content/content/manager/content-data-manager.js +2 -17
- package/dist-cms/packages/content/content/manager/element-data-manager.d.ts +0 -1
- package/dist-cms/packages/content/content/manager/element-data-manager.js +1 -25
- package/dist-cms/packages/content/content/rollback/modal/content-rollback-modal.element.js +9 -3
- package/dist-cms/packages/content/content/rollback/types.d.ts +1 -0
- package/dist-cms/packages/content/content/utils/append-content-value.function.d.ts +14 -0
- package/dist-cms/packages/content/content/utils/append-content-value.function.js +23 -0
- package/dist-cms/packages/content/content/utils/index.d.ts +1 -0
- package/dist-cms/packages/content/content/utils/index.js +1 -0
- package/dist-cms/packages/content/content/utils/sort-content-values-by-variant.function.d.ts +11 -0
- package/dist-cms/packages/content/content/utils/sort-content-values-by-variant.function.js +20 -0
- package/dist-cms/packages/content/content/workspace/content-detail-workspace-base.d.ts +6 -0
- package/dist-cms/packages/content/content/workspace/content-detail-workspace-base.js +15 -3
- package/dist-cms/packages/content/content/workspace/content-type-variance-change-redirect.controller.d.ts +32 -0
- package/dist-cms/packages/content/content/workspace/content-type-variance-change-redirect.controller.js +77 -0
- package/dist-cms/packages/content/content/workspace/resolve-stale-variant-route.function.d.ts +40 -0
- package/dist-cms/packages/content/content/workspace/resolve-stale-variant-route.function.js +63 -0
- package/dist-cms/packages/content/content-type/global-components/content-type-workspace-editor-header.element.d.ts +1 -0
- package/dist-cms/packages/content/content-type/global-components/content-type-workspace-editor-header.element.js +24 -1
- package/dist-cms/packages/content/content-type/global-components/input-content-type-collection-configuration/input-content-type-collection-configuration.element.d.ts +7 -0
- package/dist-cms/packages/content/content-type/global-components/input-content-type-collection-configuration/input-content-type-collection-configuration.element.js +25 -8
- package/dist-cms/packages/content/content-type/workspace/views/design/content-type-design-editor-group.element.d.ts +7 -0
- package/dist-cms/packages/content/content-type/workspace/views/design/content-type-design-editor-group.element.js +15 -3
- package/dist-cms/packages/content/content-type/workspace/views/design/content-type-design-editor-properties.element.d.ts +8 -0
- package/dist-cms/packages/content/content-type/workspace/views/design/content-type-design-editor-properties.element.js +29 -1
- package/dist-cms/packages/content/content-type/workspace/views/design/content-type-design-editor-property.element.d.ts +7 -0
- package/dist-cms/packages/content/content-type/workspace/views/design/content-type-design-editor-property.element.js +15 -7
- package/dist-cms/packages/content/content-type/workspace/views/design/content-type-design-editor-tab.element.d.ts +8 -0
- package/dist-cms/packages/content/content-type/workspace/views/design/content-type-design-editor-tab.element.js +31 -2
- package/dist-cms/packages/content/content-type/workspace/views/design/content-type-design-editor.element.d.ts +1 -0
- package/dist-cms/packages/content/content-type/workspace/views/design/content-type-design-editor.element.js +26 -7
- package/dist-cms/packages/core/auth/auth-provider.extension.d.ts +7 -7
- package/dist-cms/packages/core/auth/auth.context.d.ts +23 -0
- package/dist-cms/packages/core/auth/auth.context.js +145 -23
- package/dist-cms/packages/core/auth/controllers/auth-session-timeout.controller.js +29 -1
- package/dist-cms/packages/core/auth/modals/umb-app-auth-modal.element.js +5 -0
- package/dist-cms/packages/core/backend-api/types.gen.d.ts +1 -0
- package/dist-cms/packages/core/collection/default/collection-default.context.d.ts +8 -0
- package/dist-cms/packages/core/collection/default/collection-default.context.js +26 -6
- package/dist-cms/packages/core/components/dropdown/dropdown.element.js +6 -3
- package/dist-cms/packages/core/components/entity-actions-bundle/entity-actions-bundle.element.d.ts +0 -1
- package/dist-cms/packages/core/components/entity-actions-bundle/entity-actions-bundle.element.js +1 -8
- package/dist-cms/packages/core/components/input-entity/input-entity.element.d.ts +6 -6
- package/dist-cms/packages/core/components/input-entity/input-entity.element.js +28 -37
- package/dist-cms/packages/core/components/input-time-zone/input-time-zone.element.d.ts +6 -2
- package/dist-cms/packages/core/components/input-time-zone/input-time-zone.element.js +13 -19
- package/dist-cms/packages/core/components/input-with-alias/input-with-alias.element.d.ts +4 -0
- package/dist-cms/packages/core/components/input-with-alias/input-with-alias.element.js +5 -0
- package/dist-cms/packages/core/components/multiple-color-picker-input/multiple-color-picker-input.element.d.ts +6 -6
- package/dist-cms/packages/core/components/multiple-color-picker-input/multiple-color-picker-input.element.js +9 -18
- package/dist-cms/packages/core/components/multiple-text-string-input/input-multiple-text-string.element.js +6 -4
- package/dist-cms/packages/core/entity-action/default/types.d.ts +0 -1
- package/dist-cms/packages/core/entity-action/global-components/entity-actions-dropdown/entity-actions-dropdown.element.js +2 -5
- package/dist-cms/packages/core/entity-bulk-action/entity-bulk-action.element.js +13 -1
- package/dist-cms/packages/core/entity-create-option-action/entity-create-option-action.extension.d.ts +0 -1
- package/dist-cms/packages/core/extension-registry/extensions/mfa-login-provider.extension.d.ts +1 -1
- package/dist-cms/packages/core/menu/menu-tree-structure-workspace-context-base.js +5 -1
- package/dist-cms/packages/core/menu/menu-tree-structure-workspace-context.test-utils.d.ts +2 -0
- package/dist-cms/packages/core/menu/menu-tree-structure-workspace-context.test-utils.js +5 -0
- package/dist-cms/packages/core/menu/menu-variant-tree-structure-workspace-context-base.js +5 -1
- package/dist-cms/packages/core/menu/menu-variant-tree-structure-workspace-context.test-utils.d.ts +2 -0
- package/dist-cms/packages/core/menu/menu-variant-tree-structure-workspace-context.test-utils.js +5 -0
- package/dist-cms/packages/core/modal/common/discard-changes/discard-changes-modal.element.js +6 -1
- package/dist-cms/packages/core/notification/notification-handler.d.ts +1 -1
- package/dist-cms/packages/core/notification/notification-handler.js +2 -1
- package/dist-cms/packages/core/property-editor/extensions/property-editor-ui.extension.d.ts +0 -1
- package/dist-cms/packages/core/property-editor-data-source/input/input-property-editor-data-source.element.d.ts +6 -6
- package/dist-cms/packages/core/property-editor-data-source/input/input-property-editor-data-source.element.js +15 -19
- package/dist-cms/packages/core/repository/repository-details.manager.d.ts +3 -1
- package/dist-cms/packages/core/repository/repository-details.manager.js +17 -2
- package/dist-cms/packages/core/resources/api-interceptor.controller.d.ts +2 -1
- package/dist-cms/packages/core/resources/api-interceptor.controller.js +23 -18
- package/dist-cms/packages/core/resources/resource.controller.js +1 -1
- package/dist-cms/packages/core/resources/try-execute/api-error-was-notified.function.js +8 -7
- package/dist-cms/packages/core/resources/types.d.ts +5 -0
- package/dist-cms/packages/core/resources/umb-error.js +3 -3
- package/dist-cms/packages/core/section/components/input-section/input-section.element.d.ts +6 -6
- package/dist-cms/packages/core/section/components/input-section/input-section.element.js +6 -19
- package/dist-cms/packages/core/server/server.context.d.ts +6 -1
- package/dist-cms/packages/core/server/server.context.js +6 -1
- package/dist-cms/packages/core/sorter/sorter.controller.js +1 -1
- package/dist-cms/packages/core/validation/components/form-validation-message.element.js +2 -1
- package/dist-cms/packages/core/validation/const.d.ts +1 -0
- package/dist-cms/packages/core/validation/const.js +1 -0
- package/dist-cms/packages/core/validation/context/server-model-validator.context.js +11 -1
- package/dist-cms/packages/core/validation/utils/index.d.ts +1 -0
- package/dist-cms/packages/core/validation/utils/index.js +1 -0
- package/dist-cms/packages/core/validation/utils/is-above-zero-and-below-minimum.function.d.ts +7 -0
- package/dist-cms/packages/core/validation/utils/is-above-zero-and-below-minimum.function.js +9 -0
- package/dist-cms/packages/core/variant/index.d.ts +1 -0
- package/dist-cms/packages/core/variant/index.js +1 -0
- package/dist-cms/packages/core/variant/variant-object-sort-compare.function.d.ts +22 -0
- package/dist-cms/packages/core/variant/variant-object-sort-compare.function.js +29 -0
- package/dist-cms/packages/core/workspace/components/workspace-action/common/submit/submit.action.js +21 -11
- package/dist-cms/packages/core/workspace/components/workspace-header-name-editable/workspace-header-name-editable.element.d.ts +1 -0
- package/dist-cms/packages/core/workspace/components/workspace-header-name-editable/workspace-header-name-editable.element.js +26 -3
- package/dist-cms/packages/core/workspace/contexts/tokens/submittable-workspace-context.interface.d.ts +2 -0
- package/dist-cms/packages/core/workspace/controllers/resolve-stale-variant-route.function.d.ts +3 -0
- package/dist-cms/packages/core/workspace/controllers/resolve-stale-variant-route.function.js +7 -0
- package/dist-cms/packages/core/workspace/controllers/workspace-stale-variant-redirect.controller.d.ts +3 -0
- package/dist-cms/packages/core/workspace/controllers/workspace-stale-variant-redirect.controller.js +8 -0
- package/dist-cms/packages/core/workspace/entity-detail/entity-detail-workspace-base.d.ts +8 -1
- package/dist-cms/packages/core/workspace/entity-detail/entity-detail-workspace-base.js +13 -1
- package/dist-cms/packages/core/workspace/entity-detail/global-components/entity-detail-workspace-editor.element.js +1 -1
- package/dist-cms/packages/core/workspace/extensions/workspace-action-menu-item.model.d.ts +1 -1
- package/dist-cms/packages/core/workspace/namable/namable-workspace-context.interface.d.ts +2 -0
- package/dist-cms/packages/core/workspace/workspace-property-dataset/invariant-workspace-property-dataset-context.d.ts +2 -1
- package/dist-cms/packages/core/workspace/workspace-property-dataset/invariant-workspace-property-dataset-context.js +6 -1
- package/dist-cms/packages/data-type/components/data-type-input/data-type-input.element.d.ts +6 -6
- package/dist-cms/packages/data-type/components/data-type-input/data-type-input.element.js +27 -34
- package/dist-cms/packages/data-type/workspace/views/details/data-type-details-workspace-property-editor-picker.element.d.ts +1 -0
- package/dist-cms/packages/data-type/workspace/views/details/data-type-details-workspace-property-editor-picker.element.js +19 -6
- package/dist-cms/packages/data-type/workspace/views/details/data-type-details-workspace-view.element.d.ts +1 -0
- package/dist-cms/packages/data-type/workspace/views/details/data-type-details-workspace-view.element.js +8 -0
- package/dist-cms/packages/dictionary/workspace/views/workspace-view-dictionary-editor.element.d.ts +1 -0
- package/dist-cms/packages/dictionary/workspace/views/workspace-view-dictionary-editor.element.js +7 -0
- package/dist-cms/packages/documents/document-blueprints/workspace/document-blueprint-workspace-editor.element.js +1 -9
- package/dist-cms/packages/documents/document-blueprints/workspace/views/info/document-blueprint-workspace-view-info.element.js +1 -0
- package/dist-cms/packages/documents/document-types/components/input-document-type/input-document-type.element.d.ts +8 -7
- package/dist-cms/packages/documents/document-types/components/input-document-type/input-document-type.element.js +28 -20
- package/dist-cms/packages/documents/document-types/workspace/document-type/views/settings/document-type-workspace-view-settings.element.d.ts +1 -0
- package/dist-cms/packages/documents/document-types/workspace/document-type/views/settings/document-type-workspace-view-settings.element.js +13 -1
- package/dist-cms/packages/documents/document-types/workspace/document-type/views/structure/document-type-workspace-view-structure.element.d.ts +1 -0
- package/dist-cms/packages/documents/document-types/workspace/document-type/views/structure/document-type-workspace-view-structure.element.js +8 -0
- package/dist-cms/packages/documents/document-types/workspace/document-type/views/templates/document-type-workspace-view-templates.element.d.ts +1 -0
- package/dist-cms/packages/documents/document-types/workspace/document-type/views/templates/document-type-workspace-view-templates.element.js +6 -0
- package/dist-cms/packages/documents/documents/components/input-document/input-document.element.d.ts +6 -6
- package/dist-cms/packages/documents/documents/components/input-document/input-document.element.js +11 -19
- package/dist-cms/packages/documents/documents/entity-actions/move-to/repository/document-move.server.data-source.js +1 -1
- package/dist-cms/packages/documents/documents/entity-bulk-actions/move-to/repository/move-to.repository.js +5 -2
- package/dist-cms/packages/documents/documents/publishing/schedule-publish/modal/document-schedule-modal.element.d.ts +1 -0
- package/dist-cms/packages/documents/documents/publishing/schedule-publish/modal/document-schedule-modal.element.js +62 -19
- package/dist-cms/packages/documents/documents/publishing/schedule-publish/modal/document-schedule-modal.token.d.ts +5 -0
- package/dist-cms/packages/documents/documents/publishing/schedule-publish/modal/mirror-schedules.function.d.ts +9 -0
- package/dist-cms/packages/documents/documents/publishing/schedule-publish/modal/mirror-schedules.function.js +13 -0
- package/dist-cms/packages/documents/documents/publishing/workspace-context/document-publishing.workspace-context.js +13 -0
- package/dist-cms/packages/documents/documents/rollback/modal/rollback-modal.element.js +9 -3
- package/dist-cms/packages/documents/documents/rollback/repository/rollback.repository.js +1 -0
- package/dist-cms/packages/documents/documents/user-permissions/document-property-value/workspace-context/property-value-user-permission-workspace-context-base.d.ts +1 -0
- package/dist-cms/packages/documents/documents/user-permissions/document-property-value/workspace-context/property-value-user-permission-workspace-context-base.js +20 -1
- package/dist-cms/packages/documents/documents/workspace/context/document-workspace.context.d.ts +1 -0
- package/dist-cms/packages/documents/documents/workspace/context/document-workspace.context.js +11 -1
- package/dist-cms/packages/documents/documents/workspace/document-workspace-editor.element.js +1 -9
- package/dist-cms/packages/documents/documents/workspace/views/info/document-workspace-view-info.element.js +1 -0
- package/dist-cms/packages/language/components/input-language/input-language.element.d.ts +6 -6
- package/dist-cms/packages/language/components/input-language/input-language.element.js +15 -19
- package/dist-cms/packages/language/workspace/language/views/language-details-workspace-view.element.d.ts +1 -0
- package/dist-cms/packages/language/workspace/language/views/language-details-workspace-view.element.js +9 -0
- package/dist-cms/packages/management-api/detail/cache-invalidation.manager.js +12 -1
- package/dist-cms/packages/management-api/detail/cache.d.ts +17 -0
- package/dist-cms/packages/management-api/detail/cache.js +25 -0
- package/dist-cms/packages/management-api/detail/detail-data.request-manager.js +5 -25
- package/dist-cms/packages/management-api/item/cache-invalidation.manager.js +12 -1
- package/dist-cms/packages/management-api/item/cache.d.ts +17 -0
- package/dist-cms/packages/management-api/item/cache.js +25 -0
- package/dist-cms/packages/management-api/item/item-data.request-manager.js +2 -22
- package/dist-cms/packages/media/media/collection/media-collection.context.d.ts +2 -1
- package/dist-cms/packages/media/media/collection/media-collection.context.js +5 -16
- package/dist-cms/packages/media/media/components/input-media/input-media.element.d.ts +6 -6
- package/dist-cms/packages/media/media/components/input-media/input-media.element.js +11 -19
- package/dist-cms/packages/media/media/components/input-rich-media/input-rich-media.element.d.ts +8 -7
- package/dist-cms/packages/media/media/components/input-rich-media/input-rich-media.element.js +35 -34
- package/dist-cms/packages/media/media/dropzone/media-dropzone.manager.js +54 -29
- package/dist-cms/packages/media/media/dropzone/modals/dropzone-media-type-picker/dropzone-media-type-picker-modal.element.js +43 -15
- package/dist-cms/packages/media/media/property-editors/media-picker/Umbraco.MediaPicker.js +1 -1
- package/dist-cms/packages/media/media-types/components/input-media-type/input-media-type.element.d.ts +14 -6
- package/dist-cms/packages/media/media-types/components/input-media-type/input-media-type.element.js +49 -26
- package/dist-cms/packages/media/media-types/workspace/views/structure/media-type-workspace-view-structure.element.d.ts +1 -0
- package/dist-cms/packages/media/media-types/workspace/views/structure/media-type-workspace-view-structure.element.js +8 -0
- package/dist-cms/packages/members/member/components/input-member/input-member.element.d.ts +6 -6
- package/dist-cms/packages/members/member/components/input-member/input-member.element.js +11 -19
- package/dist-cms/packages/members/member-group/components/input-member-group/input-member-group.element.d.ts +6 -6
- package/dist-cms/packages/members/member-group/components/input-member-group/input-member-group.element.js +21 -22
- package/dist-cms/packages/members/member-type/components/input-member-type/input-member-type.element.d.ts +6 -6
- package/dist-cms/packages/members/member-type/components/input-member-type/input-member-type.element.js +6 -19
- package/dist-cms/packages/multi-url-picker/components/input-multi-url/input-multi-url.element.d.ts +8 -7
- package/dist-cms/packages/multi-url-picker/components/input-multi-url/input-multi-url.element.js +23 -20
- package/dist-cms/packages/multi-url-picker/property-editor/Umbraco.MultiUrlPicker.js +1 -1
- package/dist-cms/packages/performance-profiling/dashboard-performance-profiling.element.d.ts +3 -3
- package/dist-cms/packages/performance-profiling/dashboard-performance-profiling.element.js +20 -8
- package/dist-cms/packages/property-editors/content-picker/Umbraco.MultiNodeTreePicker.js +1 -1
- package/dist-cms/packages/property-editors/content-picker/components/input-content/input-content.element.d.ts +6 -6
- package/dist-cms/packages/property-editors/content-picker/components/input-content/input-content.element.js +1 -15
- package/dist-cms/packages/property-editors/content-picker/property-editor-ui-content-picker.element.d.ts +0 -2
- package/dist-cms/packages/property-editors/content-picker/property-editor-ui-content-picker.element.js +0 -12
- package/dist-cms/packages/property-editors/entity-data-picker/input/input-entity-data.element.d.ts +6 -6
- package/dist-cms/packages/property-editors/entity-data-picker/input/input-entity-data.element.js +11 -19
- package/dist-cms/packages/property-editors/entity-data-picker/property-editor/Umbraco.EntityDataPicker.js +1 -0
- package/dist-cms/packages/property-editors/entity-data-picker/property-editor/entity-data-picker-property-editor-ui.element.d.ts +0 -2
- package/dist-cms/packages/property-editors/entity-data-picker/property-editor/entity-data-picker-property-editor-ui.element.js +0 -12
- package/dist-cms/packages/property-editors/multiple-text-string/Umbraco.MultipleTextString.js +1 -1
- package/dist-cms/packages/static-file/components/input-static-file/input-static-file.element.d.ts +6 -6
- package/dist-cms/packages/static-file/components/input-static-file/input-static-file.element.js +7 -21
- package/dist-cms/packages/templating/partial-views/workspace/manifests.js +1 -5
- package/dist-cms/packages/templating/partial-views/workspace/partial-view-workspace-editor.element.d.ts +1 -5
- package/dist-cms/packages/templating/partial-views/workspace/partial-view-workspace-editor.element.js +4 -14
- package/dist-cms/packages/templating/partial-views/workspace/partial-view-workspace.context.d.ts +1 -0
- package/dist-cms/packages/templating/partial-views/workspace/partial-view-workspace.context.js +24 -0
- package/dist-cms/packages/templating/partial-views/workspace/views/code-editor/partial-view-code-editor-workspace-view.element.d.ts +1 -5
- package/dist-cms/packages/templating/partial-views/workspace/views/code-editor/partial-view-code-editor-workspace-view.element.js +6 -16
- package/dist-cms/packages/templating/scripts/workspace/views/code-editor/script-code-editor-workspace-view.element.d.ts +1 -0
- package/dist-cms/packages/templating/scripts/workspace/views/code-editor/script-code-editor-workspace-view.element.js +6 -0
- package/dist-cms/packages/templating/stylesheets/global-components/stylesheet-input/stylesheet-input.element.d.ts +6 -6
- package/dist-cms/packages/templating/stylesheets/global-components/stylesheet-input/stylesheet-input.element.js +5 -16
- package/dist-cms/packages/templating/stylesheets/workspace/views/code-editor/stylesheet-code-editor-workspace-view.element.d.ts +1 -0
- package/dist-cms/packages/templating/stylesheets/workspace/views/code-editor/stylesheet-code-editor-workspace-view.element.js +7 -1
- package/dist-cms/packages/templating/templates/global-components/input-template/input-template.element.d.ts +13 -6
- package/dist-cms/packages/templating/templates/global-components/input-template/input-template.element.js +33 -25
- package/dist-cms/packages/templating/templates/global-components/template-card/template-card.element.d.ts +7 -0
- package/dist-cms/packages/templating/templates/global-components/template-card/template-card.element.js +26 -10
- package/dist-cms/packages/templating/templates/workspace/manifests.js +1 -5
- package/dist-cms/packages/templating/templates/workspace/template-workspace-editor.element.d.ts +1 -5
- package/dist-cms/packages/templating/templates/workspace/template-workspace-editor.element.js +16 -15
- package/dist-cms/packages/templating/templates/workspace/template-workspace.context.d.ts +1 -0
- package/dist-cms/packages/templating/templates/workspace/template-workspace.context.js +24 -0
- package/dist-cms/packages/templating/templates/workspace/views/code-editor/template-code-editor-workspace-view.element.d.ts +1 -5
- package/dist-cms/packages/templating/templates/workspace/views/code-editor/template-code-editor-workspace-view.element.js +9 -19
- package/dist-cms/packages/tiptap/extensions/media-upload/media-upload.tiptap-api.js +3 -3
- package/dist-cms/packages/ufm/utils/index.d.ts +1 -0
- package/dist-cms/packages/ufm/utils/index.js +1 -0
- package/dist-cms/packages/ufm/utils/render-ufm.function.d.ts +12 -0
- package/dist-cms/packages/ufm/utils/render-ufm.function.js +22 -0
- package/dist-cms/packages/user/current-user/conditions/group-id/group-id.condition-config.d.ts +4 -4
- package/dist-cms/packages/user/current-user/current-user.context.d.ts +1 -0
- package/dist-cms/packages/user/current-user/current-user.context.js +14 -3
- package/dist-cms/packages/user/current-user/user-entry-point/user-entry-point-extension-initializer.js +11 -1
- package/dist-cms/packages/user/user/collection/user-collection-header.element.js +1 -1
- package/dist-cms/packages/user/user/components/user-input/user-input.element.d.ts +8 -7
- package/dist-cms/packages/user/user/components/user-input/user-input.element.js +46 -44
- package/dist-cms/packages/user/user-group/collection/repository/user-group-collection.repository.d.ts +16 -0
- package/dist-cms/packages/user/user-group/collection/repository/user-group-collection.repository.js +23 -0
- package/dist-cms/packages/user/user-group/components/input-user-group/user-group-input.element.d.ts +6 -6
- package/dist-cms/packages/user/user-group/components/input-user-group/user-group-input.element.js +5 -16
- package/dist-cms/packages/user/user-group/modals/user-group-picker/user-group-picker-modal.element.js +1 -1
- package/dist-cms/packages/webhook/components/input-webhook-headers.element.d.ts +7 -0
- package/dist-cms/packages/webhook/components/input-webhook-headers.element.js +27 -3
- package/dist-cms/packages/webhook/webhook/workspace/views/webhook-details-workspace-view.element.d.ts +1 -0
- package/dist-cms/packages/webhook/webhook/workspace/views/webhook-details-workspace-view.element.js +16 -5
- package/dist-cms/packages/webhook/webhook/workspace/webhook-workspace-editor.element.d.ts +1 -0
- package/dist-cms/packages/webhook/webhook/workspace/webhook-workspace-editor.element.js +19 -1
- package/dist-cms/packages/webhook/webhook-event/input-webhook-events.element.d.ts +7 -0
- package/dist-cms/packages/webhook/webhook-event/input-webhook-events.element.js +34 -12
- package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
- package/examples/multi-brand-block-views/README.md +27 -0
- package/examples/multi-brand-block-views/article-teaser-block-view.element.ts +53 -0
- package/examples/multi-brand-block-views/block-view-base.element.ts +78 -0
- package/examples/multi-brand-block-views/block-view.styles.ts +95 -0
- package/examples/multi-brand-block-views/block-view.utils.ts +60 -0
- package/examples/multi-brand-block-views/entry-point.ts +17 -0
- package/examples/multi-brand-block-views/hero-block-view.element.ts +88 -0
- package/examples/multi-brand-block-views/image-block-view.element.ts +48 -0
- package/examples/multi-brand-block-views/index.ts +67 -0
- package/examples/multi-brand-block-views/layout-block-view.element.ts +55 -0
- package/examples/multi-brand-block-views/material-showcase-block-view.element.ts +106 -0
- package/examples/multi-brand-block-views/product-teaser-block-view.element.ts +96 -0
- package/examples/multi-brand-block-views/text-block-view.element.ts +53 -0
- package/package.json +3 -2
- package/umbraco-package-schema.json +69 -28
- package/vscode-html-custom-data.json +250 -140
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { ExampleBlockViewBase } from './block-view-base.element.js';
|
|
2
|
+
import { exampleBlockViewStyles } from './block-view.styles.js';
|
|
3
|
+
import { css, customElement, html, nothing, repeat, state } from '@umbraco-cms/backoffice/external/lit';
|
|
4
|
+
|
|
5
|
+
interface ExampleNestedBlockItem {
|
|
6
|
+
key: string;
|
|
7
|
+
values: Array<{ alias: string; culture?: string | null; value: unknown }>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
interface ExampleNestedBlockValue {
|
|
11
|
+
contentData?: Array<ExampleNestedBlockItem>;
|
|
12
|
+
layout?: { 'Umbraco.BlockList'?: Array<{ contentKey: string }> };
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
interface ExampleMaterialSwatch {
|
|
16
|
+
key: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
imageUrl?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@customElement('example-material-showcase-block-view')
|
|
22
|
+
export class ExampleMaterialShowcaseBlockView extends ExampleBlockViewBase {
|
|
23
|
+
@state()
|
|
24
|
+
private _swatches: Array<ExampleMaterialSwatch> = [];
|
|
25
|
+
|
|
26
|
+
protected override async _load(isCurrent: () => boolean) {
|
|
27
|
+
const nested = this.content?.materials as ExampleNestedBlockValue | undefined;
|
|
28
|
+
const items = nested?.contentData ?? [];
|
|
29
|
+
const layout = nested?.layout?.['Umbraco.BlockList'];
|
|
30
|
+
|
|
31
|
+
// The order of a Block List is kept in its layout; contentData keeps the order the blocks were created in.
|
|
32
|
+
const ordered = layout
|
|
33
|
+
? layout.flatMap((entry) => items.find((item) => item.key === entry.contentKey) ?? [])
|
|
34
|
+
: items;
|
|
35
|
+
|
|
36
|
+
const swatches = await Promise.all(
|
|
37
|
+
ordered.map(async (item) => {
|
|
38
|
+
const names = item.values.filter((value) => value.alias === 'material');
|
|
39
|
+
const name = (names.find((value) => value.culture === this._culture) ?? names[0])?.value as string | undefined;
|
|
40
|
+
const image = item.values.find((value) => value.alias === 'image')?.value;
|
|
41
|
+
|
|
42
|
+
return { key: item.key, name, imageUrl: await this._requestMediaUrl(image) };
|
|
43
|
+
}),
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
if (!isCurrent()) return;
|
|
47
|
+
this._swatches = swatches;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
override render() {
|
|
51
|
+
return html`
|
|
52
|
+
<div class="body">
|
|
53
|
+
<h2 class="title">${this.content?.headline}</h2>
|
|
54
|
+
${this.content?.intro ? html`<p class="lead">${this.content.intro}</p>` : nothing}
|
|
55
|
+
<div class="swatches">
|
|
56
|
+
${repeat(
|
|
57
|
+
this._swatches,
|
|
58
|
+
(swatch) => swatch.key,
|
|
59
|
+
(swatch) => html`
|
|
60
|
+
<figure>
|
|
61
|
+
<div class="media">${swatch.imageUrl ? html`<img src=${swatch.imageUrl} alt="" />` : nothing}</div>
|
|
62
|
+
<figcaption class="eyebrow">${swatch.name}</figcaption>
|
|
63
|
+
</figure>
|
|
64
|
+
`,
|
|
65
|
+
)}
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
`;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
static override styles = [
|
|
72
|
+
exampleBlockViewStyles,
|
|
73
|
+
css`
|
|
74
|
+
.swatches {
|
|
75
|
+
display: grid;
|
|
76
|
+
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
77
|
+
gap: var(--uui-size-space-4);
|
|
78
|
+
align-self: stretch;
|
|
79
|
+
margin-top: var(--uui-size-space-3);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
figure {
|
|
83
|
+
margin: 0;
|
|
84
|
+
display: flex;
|
|
85
|
+
flex-direction: column;
|
|
86
|
+
gap: var(--uui-size-space-2);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
img {
|
|
90
|
+
aspect-ratio: 1;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.lead {
|
|
94
|
+
-webkit-line-clamp: unset;
|
|
95
|
+
}
|
|
96
|
+
`,
|
|
97
|
+
];
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export default ExampleMaterialShowcaseBlockView;
|
|
101
|
+
|
|
102
|
+
declare global {
|
|
103
|
+
interface HTMLElementTagNameMap {
|
|
104
|
+
'example-material-showcase-block-view': ExampleMaterialShowcaseBlockView;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { ExampleBlockViewBase } from './block-view-base.element.js';
|
|
2
|
+
import { exampleBlockViewStyles } from './block-view.styles.js';
|
|
3
|
+
import { getDocumentName, getDocumentValue } from './block-view.utils.js';
|
|
4
|
+
import { css, customElement, html, nothing, state } from '@umbraco-cms/backoffice/external/lit';
|
|
5
|
+
import type { UmbDocumentDetailModel } from '@umbraco-cms/backoffice/document';
|
|
6
|
+
|
|
7
|
+
@customElement('example-product-teaser-block-view')
|
|
8
|
+
export class ExampleProductTeaserBlockView extends ExampleBlockViewBase {
|
|
9
|
+
@state()
|
|
10
|
+
private _product?: UmbDocumentDetailModel;
|
|
11
|
+
|
|
12
|
+
@state()
|
|
13
|
+
private _imageUrl?: string;
|
|
14
|
+
|
|
15
|
+
protected override async _load(isCurrent: () => boolean) {
|
|
16
|
+
const product = await this._requestDocument(this.content?.product);
|
|
17
|
+
const imageUrl = await this._requestMediaUrl(getDocumentValue(product, 'picture', this._culture));
|
|
18
|
+
if (!isCurrent()) return;
|
|
19
|
+
this._product = product;
|
|
20
|
+
this._imageUrl = imageUrl;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
override render() {
|
|
24
|
+
if (!this._product) return html`<div class="body"><p class="lead">Pick a product</p></div>`;
|
|
25
|
+
|
|
26
|
+
const price = getDocumentValue<number>(this._product, 'price', this._culture);
|
|
27
|
+
const inStock = getDocumentValue<boolean>(this._product, 'inStock', this._culture);
|
|
28
|
+
|
|
29
|
+
return html`
|
|
30
|
+
<div class="media">${this._imageUrl ? html`<img src=${this._imageUrl} alt="" />` : nothing}</div>
|
|
31
|
+
<div class="body">
|
|
32
|
+
${this.content?.label ? html`<span class="pill">${this.content.label}</span>` : nothing}
|
|
33
|
+
<h4 class="title">${getDocumentName(this._product, this._culture)}</h4>
|
|
34
|
+
<div class="row">
|
|
35
|
+
<span class="price">${price !== undefined ? `${price} DKK` : ''}</span>
|
|
36
|
+
<span class="stock ${inStock ? 'in' : 'out'}">${inStock ? 'In stock' : 'Out of stock'}</span>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
`;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
static override styles = [
|
|
43
|
+
exampleBlockViewStyles,
|
|
44
|
+
css`
|
|
45
|
+
img {
|
|
46
|
+
aspect-ratio: 1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.row {
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: baseline;
|
|
52
|
+
justify-content: space-between;
|
|
53
|
+
align-self: stretch;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.price {
|
|
57
|
+
font-size: 1.125rem;
|
|
58
|
+
font-weight: 800;
|
|
59
|
+
letter-spacing: -0.02em;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.stock {
|
|
63
|
+
font-size: 0.6875rem;
|
|
64
|
+
font-weight: 700;
|
|
65
|
+
letter-spacing: 0.12em;
|
|
66
|
+
text-transform: uppercase;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.stock::before {
|
|
70
|
+
content: '';
|
|
71
|
+
display: inline-block;
|
|
72
|
+
width: 0.5em;
|
|
73
|
+
height: 0.5em;
|
|
74
|
+
margin-right: 0.6em;
|
|
75
|
+
border-radius: 50%;
|
|
76
|
+
background-color: currentColor;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.stock.in {
|
|
80
|
+
color: var(--uui-color-positive);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.stock.out {
|
|
84
|
+
color: var(--uui-color-danger);
|
|
85
|
+
}
|
|
86
|
+
`,
|
|
87
|
+
];
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export default ExampleProductTeaserBlockView;
|
|
91
|
+
|
|
92
|
+
declare global {
|
|
93
|
+
interface HTMLElementTagNameMap {
|
|
94
|
+
'example-product-teaser-block-view': ExampleProductTeaserBlockView;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ExampleBlockViewBase } from './block-view-base.element.js';
|
|
2
|
+
import { exampleBlockViewStyles } from './block-view.styles.js';
|
|
3
|
+
import type { ExampleRichTextValue } from './block-view.utils.js';
|
|
4
|
+
import { css, customElement, html, unsafeHTML } from '@umbraco-cms/backoffice/external/lit';
|
|
5
|
+
import { sanitizeHTML } from '@umbraco-cms/backoffice/utils';
|
|
6
|
+
|
|
7
|
+
@customElement('example-text-block-view')
|
|
8
|
+
export class ExampleTextBlockView extends ExampleBlockViewBase {
|
|
9
|
+
override render() {
|
|
10
|
+
const markup = (this.content?.text as ExampleRichTextValue | undefined)?.markup ?? '';
|
|
11
|
+
return html`<div class="copy">${unsafeHTML(sanitizeHTML(markup))}</div>`;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
static override styles = [
|
|
15
|
+
exampleBlockViewStyles,
|
|
16
|
+
css`
|
|
17
|
+
:host {
|
|
18
|
+
border: none;
|
|
19
|
+
background-color: transparent;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.copy {
|
|
23
|
+
max-width: 60ch;
|
|
24
|
+
padding: var(--uui-size-space-5) 0;
|
|
25
|
+
font-size: 1.0625rem;
|
|
26
|
+
line-height: 1.6;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.copy h1,
|
|
30
|
+
.copy h2,
|
|
31
|
+
.copy h3 {
|
|
32
|
+
margin: 0 0 var(--uui-size-space-4);
|
|
33
|
+
font-size: clamp(1.5rem, 3vw, 2.25rem);
|
|
34
|
+
font-weight: 800;
|
|
35
|
+
letter-spacing: -0.03em;
|
|
36
|
+
line-height: 1.05;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.copy p {
|
|
40
|
+
margin: 0 0 var(--uui-size-space-4);
|
|
41
|
+
color: var(--uui-color-text-alt);
|
|
42
|
+
}
|
|
43
|
+
`,
|
|
44
|
+
];
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export default ExampleTextBlockView;
|
|
48
|
+
|
|
49
|
+
declare global {
|
|
50
|
+
interface HTMLElementTagNameMap {
|
|
51
|
+
'example-text-block-view': ExampleTextBlockView;
|
|
52
|
+
}
|
|
53
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-cms/backoffice",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "17.
|
|
4
|
+
"version": "17.9.0-rc",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": null,
|
|
@@ -187,6 +187,7 @@
|
|
|
187
187
|
"dev:mock": "cross-env VITE_UMBRACO_USE_MSW=on vite",
|
|
188
188
|
"dev:icon-manager": "npm install --prefix devops/icon-manager && npm run dev --prefix devops/icon-manager",
|
|
189
189
|
"example": "node ./devops/example-runner/index.js",
|
|
190
|
+
"example:mock": "node ./devops/example-runner/index.js --mock",
|
|
190
191
|
"format:fix": "npm run format -- --write",
|
|
191
192
|
"format": "prettier 'src/**/*.ts' --check",
|
|
192
193
|
"generate:openapi": "node ./devops/openapi/index.js",
|
|
@@ -257,7 +258,7 @@
|
|
|
257
258
|
"monaco-editor": ">=0.55.1 <1.0.0",
|
|
258
259
|
"rxjs": "^7.8.2",
|
|
259
260
|
"@microsoft/signalr": "^10.0.0",
|
|
260
|
-
"@umbraco-ui/uui": "^2.
|
|
261
|
+
"@umbraco-ui/uui": "^2.2.1",
|
|
261
262
|
"@hey-api/openapi-ts": ">=0.99.0 <1.0.0",
|
|
262
263
|
"@types/diff": "^7.0.2",
|
|
263
264
|
"diff": "^9.0.0",
|
|
@@ -449,7 +449,9 @@
|
|
|
449
449
|
},
|
|
450
450
|
"forProviderName": {
|
|
451
451
|
"description": "The provider name that this provider is for.",
|
|
452
|
-
"examples":
|
|
452
|
+
"examples": [
|
|
453
|
+
"Umbraco.Github"
|
|
454
|
+
],
|
|
453
455
|
"type": "string"
|
|
454
456
|
},
|
|
455
457
|
"js": {
|
|
@@ -8277,7 +8279,9 @@
|
|
|
8277
8279
|
},
|
|
8278
8280
|
"forProviderName": {
|
|
8279
8281
|
"description": "The provider names that this provider is for.",
|
|
8280
|
-
"examples":
|
|
8282
|
+
"examples": [
|
|
8283
|
+
"Umbraco.GoogleAuthenticator"
|
|
8284
|
+
],
|
|
8281
8285
|
"type": "string"
|
|
8282
8286
|
},
|
|
8283
8287
|
"js": {
|
|
@@ -11761,7 +11765,13 @@
|
|
|
11761
11765
|
}
|
|
11762
11766
|
],
|
|
11763
11767
|
"description": "Define which workspace actions this menu item should be shown for.",
|
|
11764
|
-
"examples":
|
|
11768
|
+
"examples": [
|
|
11769
|
+
[
|
|
11770
|
+
"Umb.WorkspaceAction.Document.Save",
|
|
11771
|
+
"Umb.WorkspaceAction.Document.SaveAndPublish"
|
|
11772
|
+
],
|
|
11773
|
+
"Umb.WorkspaceAction.Document.Save"
|
|
11774
|
+
]
|
|
11765
11775
|
},
|
|
11766
11776
|
"js": {
|
|
11767
11777
|
"description": "The file location of the javascript file to load",
|
|
@@ -11952,7 +11962,13 @@
|
|
|
11952
11962
|
}
|
|
11953
11963
|
],
|
|
11954
11964
|
"description": "Define which workspace actions this menu item should be shown for.",
|
|
11955
|
-
"examples":
|
|
11965
|
+
"examples": [
|
|
11966
|
+
[
|
|
11967
|
+
"Umb.WorkspaceAction.Document.Save",
|
|
11968
|
+
"Umb.WorkspaceAction.Document.SaveAndPublish"
|
|
11969
|
+
],
|
|
11970
|
+
"Umb.WorkspaceAction.Document.Save"
|
|
11971
|
+
]
|
|
11956
11972
|
},
|
|
11957
11973
|
"js": {
|
|
11958
11974
|
"description": "The file location of the javascript file to load",
|
|
@@ -14143,12 +14159,12 @@
|
|
|
14143
14159
|
"type": "boolean"
|
|
14144
14160
|
},
|
|
14145
14161
|
"popupFeatures": {
|
|
14146
|
-
"default": "
|
|
14162
|
+
"default": "width=600,height=600,menubar=no,location=no,resizable=yes,scrollbars=yes,status=no,toolbar=no",
|
|
14147
14163
|
"description": "The features of the popup that is opened when the user logs in.",
|
|
14148
14164
|
"type": "string"
|
|
14149
14165
|
},
|
|
14150
14166
|
"popupTarget": {
|
|
14151
|
-
"default": "
|
|
14167
|
+
"default": "umbracoAuthPopup",
|
|
14152
14168
|
"description": "The target of the popup that is opened when the user logs in.",
|
|
14153
14169
|
"type": "string"
|
|
14154
14170
|
}
|
|
@@ -14159,7 +14175,7 @@
|
|
|
14159
14175
|
"description": "The default view of the provider that is shown to the user.\nIf no element is provided, then the button will be rendered as a {@link UUIButtonElement} using these options.",
|
|
14160
14176
|
"properties": {
|
|
14161
14177
|
"color": {
|
|
14162
|
-
"default": "
|
|
14178
|
+
"default": "secondary",
|
|
14163
14179
|
"description": "The color of the provider that is shown to the user.",
|
|
14164
14180
|
"enum": [
|
|
14165
14181
|
"",
|
|
@@ -14172,13 +14188,21 @@
|
|
|
14172
14188
|
"type": "string"
|
|
14173
14189
|
},
|
|
14174
14190
|
"icon": {
|
|
14175
|
-
"default": "
|
|
14191
|
+
"default": "icon-cloud",
|
|
14176
14192
|
"description": "The icon of the provider that is shown to the user.",
|
|
14177
|
-
"examples":
|
|
14193
|
+
"examples": [
|
|
14194
|
+
"icon-cloud",
|
|
14195
|
+
"icon-github",
|
|
14196
|
+
"icon-google",
|
|
14197
|
+
"icon-facebook",
|
|
14198
|
+
"icon-twitter",
|
|
14199
|
+
"icon-x",
|
|
14200
|
+
"icon-microsoft"
|
|
14201
|
+
],
|
|
14178
14202
|
"type": "string"
|
|
14179
14203
|
},
|
|
14180
14204
|
"look": {
|
|
14181
|
-
"default": "
|
|
14205
|
+
"default": "default",
|
|
14182
14206
|
"description": "The look of the provider that is shown to the user.",
|
|
14183
14207
|
"enum": [
|
|
14184
14208
|
"",
|
|
@@ -14366,7 +14390,7 @@
|
|
|
14366
14390
|
"properties": {
|
|
14367
14391
|
"additionalOptions": {
|
|
14368
14392
|
"description": "The action requires additional input from the user.\nA dialog will prompt the user for more information or to make a choice.",
|
|
14369
|
-
"type": "
|
|
14393
|
+
"type": "boolean"
|
|
14370
14394
|
},
|
|
14371
14395
|
"detailRepositoryAlias": {
|
|
14372
14396
|
"description": "Alias of the detail repository used to load the content item.",
|
|
@@ -14413,7 +14437,7 @@
|
|
|
14413
14437
|
"properties": {
|
|
14414
14438
|
"additionalOptions": {
|
|
14415
14439
|
"description": "The action requires additional input from the user.\nA dialog will prompt the user for more information or to make a choice.",
|
|
14416
|
-
"type": "
|
|
14440
|
+
"type": "boolean"
|
|
14417
14441
|
},
|
|
14418
14442
|
"detailRepositoryAlias": {
|
|
14419
14443
|
"type": "string"
|
|
@@ -14454,7 +14478,7 @@
|
|
|
14454
14478
|
"properties": {
|
|
14455
14479
|
"additionalOptions": {
|
|
14456
14480
|
"description": "The action requires additional input from the user.\nA dialog will prompt the user for more information or to make a choice.",
|
|
14457
|
-
"type": "
|
|
14481
|
+
"type": "boolean"
|
|
14458
14482
|
},
|
|
14459
14483
|
"configurationRepositoryAlias": {
|
|
14460
14484
|
"description": "Alias of the configuration repository used by the modal to read unpublish behaviour configuration.",
|
|
@@ -14512,7 +14536,7 @@
|
|
|
14512
14536
|
"properties": {
|
|
14513
14537
|
"additionalOptions": {
|
|
14514
14538
|
"description": "The action requires additional input from the user.\nA dialog will prompt the user for more information or to make a choice.",
|
|
14515
|
-
"type": "
|
|
14539
|
+
"type": "boolean"
|
|
14516
14540
|
},
|
|
14517
14541
|
"icon": {
|
|
14518
14542
|
"description": "An icon to represent the action to be performed",
|
|
@@ -14541,7 +14565,7 @@
|
|
|
14541
14565
|
"properties": {
|
|
14542
14566
|
"additionalOptions": {
|
|
14543
14567
|
"description": "The action requires additional input from the user.\nA dialog will prompt the user for more information or to make a choice.",
|
|
14544
|
-
"type": "
|
|
14568
|
+
"type": "boolean"
|
|
14545
14569
|
},
|
|
14546
14570
|
"icon": {
|
|
14547
14571
|
"description": "An icon to represent the action to be performed",
|
|
@@ -14570,7 +14594,7 @@
|
|
|
14570
14594
|
"properties": {
|
|
14571
14595
|
"additionalOptions": {
|
|
14572
14596
|
"description": "The action requires additional input from the user.\nA dialog will prompt the user for more information or to make a choice.",
|
|
14573
|
-
"type": "
|
|
14597
|
+
"type": "boolean"
|
|
14574
14598
|
},
|
|
14575
14599
|
"confirm": {
|
|
14576
14600
|
"properties": {
|
|
@@ -14618,7 +14642,7 @@
|
|
|
14618
14642
|
"properties": {
|
|
14619
14643
|
"additionalOptions": {
|
|
14620
14644
|
"description": "The action requires additional input from the user.\nA dialog will prompt the user for more information or to make a choice.",
|
|
14621
|
-
"type": "
|
|
14645
|
+
"type": "boolean"
|
|
14622
14646
|
},
|
|
14623
14647
|
"duplicateRepositoryAlias": {
|
|
14624
14648
|
"type": "string"
|
|
@@ -14662,7 +14686,7 @@
|
|
|
14662
14686
|
"properties": {
|
|
14663
14687
|
"additionalOptions": {
|
|
14664
14688
|
"description": "The action requires additional input from the user.\nA dialog will prompt the user for more information or to make a choice.",
|
|
14665
|
-
"type": "
|
|
14689
|
+
"type": "boolean"
|
|
14666
14690
|
},
|
|
14667
14691
|
"folderRepositoryAlias": {
|
|
14668
14692
|
"type": "string"
|
|
@@ -14695,7 +14719,7 @@
|
|
|
14695
14719
|
"properties": {
|
|
14696
14720
|
"additionalOptions": {
|
|
14697
14721
|
"description": "The action requires additional input from the user.\nA dialog will prompt the user for more information or to make a choice.",
|
|
14698
|
-
"type": "
|
|
14722
|
+
"type": "boolean"
|
|
14699
14723
|
},
|
|
14700
14724
|
"foldersOnly": {
|
|
14701
14725
|
"type": "boolean"
|
|
@@ -14743,7 +14767,7 @@
|
|
|
14743
14767
|
"properties": {
|
|
14744
14768
|
"additionalOptions": {
|
|
14745
14769
|
"description": "The action requires additional input from the user.\nA dialog will prompt the user for more information or to make a choice.",
|
|
14746
|
-
"type": "
|
|
14770
|
+
"type": "boolean"
|
|
14747
14771
|
},
|
|
14748
14772
|
"icon": {
|
|
14749
14773
|
"description": "An icon to represent the action to be performed",
|
|
@@ -14772,7 +14796,7 @@
|
|
|
14772
14796
|
"properties": {
|
|
14773
14797
|
"additionalOptions": {
|
|
14774
14798
|
"description": "The action requires additional input from the user.\nA dialog will prompt the user for more information or to make a choice.",
|
|
14775
|
-
"type": "
|
|
14799
|
+
"type": "boolean"
|
|
14776
14800
|
},
|
|
14777
14801
|
"icon": {
|
|
14778
14802
|
"description": "An icon to represent the action to be performed",
|
|
@@ -14812,7 +14836,7 @@
|
|
|
14812
14836
|
"properties": {
|
|
14813
14837
|
"additionalOptions": {
|
|
14814
14838
|
"description": "The action requires additional input from the user.\nA dialog will prompt the user for more information or to make a choice.",
|
|
14815
|
-
"type": "
|
|
14839
|
+
"type": "boolean"
|
|
14816
14840
|
},
|
|
14817
14841
|
"icon": {
|
|
14818
14842
|
"description": "An icon to represent the action to be performed",
|
|
@@ -15180,7 +15204,7 @@
|
|
|
15180
15204
|
"properties": {
|
|
15181
15205
|
"additionalOptions": {
|
|
15182
15206
|
"description": "The action requires additional input from the user.\nA dialog will prompt the user for more information or to make a choice.",
|
|
15183
|
-
"type": "
|
|
15207
|
+
"type": "boolean"
|
|
15184
15208
|
},
|
|
15185
15209
|
"description": {
|
|
15186
15210
|
"description": "A description of the action to be performed",
|
|
@@ -15533,7 +15557,7 @@
|
|
|
15533
15557
|
"properties": {
|
|
15534
15558
|
"enabled": {
|
|
15535
15559
|
"description": "Whether the property editor UI is enabled for use with data sources.",
|
|
15536
|
-
"type": "
|
|
15560
|
+
"type": "boolean"
|
|
15537
15561
|
},
|
|
15538
15562
|
"forDataSourceTypes": {
|
|
15539
15563
|
"description": "A list of allowed property editor data source kinds that can be used with this property editor UI.\nIf not specified, any data sources can be used.",
|
|
@@ -16441,7 +16465,12 @@
|
|
|
16441
16465
|
},
|
|
16442
16466
|
"allOf": {
|
|
16443
16467
|
"description": "The user groups that the current user must be a member of to pass the condition.",
|
|
16444
|
-
"examples":
|
|
16468
|
+
"examples": [
|
|
16469
|
+
[
|
|
16470
|
+
"guid1",
|
|
16471
|
+
"guid2"
|
|
16472
|
+
]
|
|
16473
|
+
],
|
|
16445
16474
|
"items": {
|
|
16446
16475
|
"type": "string"
|
|
16447
16476
|
},
|
|
@@ -16449,12 +16478,19 @@
|
|
|
16449
16478
|
},
|
|
16450
16479
|
"match": {
|
|
16451
16480
|
"description": "The user group that the current user must be a member of to pass the condition.",
|
|
16452
|
-
"examples":
|
|
16481
|
+
"examples": [
|
|
16482
|
+
"guid1"
|
|
16483
|
+
],
|
|
16453
16484
|
"type": "string"
|
|
16454
16485
|
},
|
|
16455
16486
|
"noneOf": {
|
|
16456
16487
|
"description": "The user group(s) that the current user must not be a member of to pass the condition.",
|
|
16457
|
-
"examples":
|
|
16488
|
+
"examples": [
|
|
16489
|
+
[
|
|
16490
|
+
"guid1",
|
|
16491
|
+
"guid2"
|
|
16492
|
+
]
|
|
16493
|
+
],
|
|
16458
16494
|
"items": {
|
|
16459
16495
|
"type": "string"
|
|
16460
16496
|
},
|
|
@@ -16462,7 +16498,12 @@
|
|
|
16462
16498
|
},
|
|
16463
16499
|
"oneOf": {
|
|
16464
16500
|
"description": "The user group(s) that the current user must be a member of to pass the condition.",
|
|
16465
|
-
"examples":
|
|
16501
|
+
"examples": [
|
|
16502
|
+
[
|
|
16503
|
+
"guid1",
|
|
16504
|
+
"guid2"
|
|
16505
|
+
]
|
|
16506
|
+
],
|
|
16466
16507
|
"items": {
|
|
16467
16508
|
"type": "string"
|
|
16468
16509
|
},
|