@umbraco-cms/backoffice 14.0.0-40e04294 → 14.0.0-43239cee
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/apps/app/app.element.js +0 -3
- package/dist-cms/assets/lang/da-dk.js +3 -0
- package/dist-cms/assets/lang/da-dk.ts +3 -0
- package/dist-cms/assets/lang/en-us.js +21 -18
- package/dist-cms/assets/lang/en-us.ts +21 -18
- package/dist-cms/custom-elements.json +288 -19
- package/dist-cms/external/tinymce/index.js +36 -36
- package/dist-cms/mocks/browser-handlers.js +1 -1
- package/dist-cms/mocks/data/entity.data.d.ts +1 -1
- package/dist-cms/mocks/data/entity.data.js +1 -9
- package/dist-cms/mocks/data/media.data.d.ts +2 -1
- package/dist-cms/mocks/data/media.data.js +11 -0
- package/dist-cms/mocks/data/user-group.data.d.ts +17 -0
- package/dist-cms/mocks/data/user-group.data.js +61 -0
- package/dist-cms/mocks/data/user.data.d.ts +15 -0
- package/dist-cms/mocks/data/{users.data.js → user.data.js} +27 -41
- package/dist-cms/mocks/handlers/dictionary.handlers.js +2 -2
- package/dist-cms/mocks/handlers/media.handlers.js +8 -0
- package/dist-cms/mocks/handlers/partial-views.handlers.js +3 -3
- package/dist-cms/mocks/handlers/user-group/collection.handlers.d.ts +1 -0
- package/dist-cms/mocks/handlers/user-group/collection.handlers.js +10 -0
- package/dist-cms/mocks/handlers/user-group/detail.handlers.d.ts +1 -0
- package/dist-cms/mocks/handlers/user-group/detail.handlers.js +37 -0
- package/dist-cms/mocks/handlers/user-group/index.js +4 -0
- package/dist-cms/mocks/handlers/user-group/item.handlers.d.ts +1 -0
- package/dist-cms/mocks/handlers/user-group/item.handlers.js +13 -0
- package/dist-cms/mocks/handlers/user-group/slug.d.ts +1 -0
- package/dist-cms/mocks/handlers/user-group/slug.js +1 -0
- package/dist-cms/mocks/handlers/user.handlers.js +15 -1
- package/dist-cms/packages/core/components/input-list-base/input-list-base.js +1 -1
- package/dist-cms/packages/core/components/input-section/input-section.element.d.ts +2 -2
- package/dist-cms/packages/core/components/input-section/input-section.element.js +5 -5
- package/dist-cms/packages/core/extension-registry/conditions/types.d.ts +3 -2
- package/dist-cms/packages/core/extension-registry/models/index.d.ts +5 -1
- package/dist-cms/packages/core/extension-registry/models/index.js +2 -0
- package/dist-cms/packages/core/extension-registry/models/user-granular-permission.model.d.ts +8 -0
- package/dist-cms/packages/core/extension-registry/models/user-granular-permission.model.js +1 -0
- package/dist-cms/packages/core/extension-registry/models/user-permission.model.d.ts +11 -0
- package/dist-cms/packages/core/extension-registry/models/user-permission.model.js +1 -0
- package/dist-cms/packages/core/localization/index.d.ts +3 -0
- package/dist-cms/packages/core/localization/index.js +3 -0
- package/dist-cms/packages/core/localization/localize-date.element.d.ts +28 -0
- package/dist-cms/packages/core/localization/localize-date.element.js +42 -0
- package/dist-cms/packages/core/localization/localize-number.element.d.ts +28 -0
- package/dist-cms/packages/core/localization/localize-number.element.js +42 -0
- package/dist-cms/packages/core/localization/localize-relative-time.element.d.ts +34 -0
- package/dist-cms/packages/core/localization/localize-relative-time.element.js +54 -0
- package/dist-cms/packages/core/localization/localize.element.js +1 -1
- package/dist-cms/packages/core/modal/common/entity-user-permission-settings/entity-user-permission-settings-modal.element.d.ts +19 -0
- package/dist-cms/packages/core/modal/common/entity-user-permission-settings/entity-user-permission-settings-modal.element.js +97 -0
- package/dist-cms/packages/core/modal/common/manifests.js +6 -0
- package/dist-cms/packages/core/modal/common/tree-picker/tree-picker-modal.element.js +5 -3
- package/dist-cms/packages/core/modal/token/entity-user-permission-settings-modal.token.d.ts +7 -0
- package/dist-cms/packages/core/modal/token/entity-user-permission-settings-modal.token.js +4 -0
- package/dist-cms/packages/core/modal/token/index.d.ts +1 -0
- package/dist-cms/packages/core/modal/token/index.js +1 -0
- package/dist-cms/packages/core/picker-input/picker-input.context.js +1 -3
- package/dist-cms/packages/core/tree/tree.context.js +3 -2
- package/dist-cms/packages/documents/documents/components/index.d.ts +1 -0
- package/dist-cms/packages/documents/documents/components/index.js +1 -0
- package/dist-cms/packages/documents/documents/components/input-document/input-document.context.d.ts +6 -0
- package/dist-cms/packages/documents/documents/components/input-document/input-document.context.js +7 -0
- package/dist-cms/packages/documents/documents/components/input-document/input-document.element.d.ts +7 -12
- package/dist-cms/packages/documents/documents/components/input-document/input-document.element.js +51 -64
- package/dist-cms/packages/documents/documents/components/input-document-granular-permission/input-document-granular-permission.element.d.ts +23 -0
- package/dist-cms/packages/documents/documents/components/input-document-granular-permission/input-document-granular-permission.element.js +102 -0
- package/dist-cms/packages/documents/documents/entity-actions/create/manifests.js +9 -0
- package/dist-cms/packages/documents/documents/entity-actions/manifests.js +1 -1
- package/dist-cms/packages/documents/documents/entity-actions/permissions.action.d.ts +2 -1
- package/dist-cms/packages/documents/documents/entity-actions/permissions.action.js +22 -2
- package/dist-cms/packages/documents/documents/index.d.ts +2 -0
- package/dist-cms/packages/documents/documents/index.js +2 -0
- package/dist-cms/packages/documents/documents/manifests.d.ts +4 -0
- package/dist-cms/packages/documents/documents/manifests.js +2 -0
- package/dist-cms/packages/documents/documents/recycle-bin/entity-action/manifests.d.ts +4 -0
- package/dist-cms/packages/documents/documents/recycle-bin/entity-action/manifests.js +6 -0
- package/dist-cms/packages/documents/documents/recycle-bin/manifests.d.ts +4 -0
- package/dist-cms/packages/documents/documents/repository/document.repository.js +4 -4
- package/dist-cms/packages/documents/documents/repository/manifests.d.ts +3 -2
- package/dist-cms/packages/documents/documents/repository/manifests.js +9 -1
- package/dist-cms/packages/documents/documents/user-permissions/index.d.ts +1 -0
- package/dist-cms/packages/documents/documents/user-permissions/index.js +1 -0
- package/dist-cms/packages/documents/documents/user-permissions/manifests.d.ts +19 -0
- package/dist-cms/packages/documents/documents/user-permissions/manifests.js +196 -0
- package/dist-cms/packages/documents/documents/workspace/views/info/document-info-workspace-view.element.js +29 -28
- package/dist-cms/packages/documents/manifests.d.ts +4 -0
- package/dist-cms/packages/log-viewer/workspace/views/overview/components/log-viewer-saved-searches-overview.element.js +1 -1
- package/dist-cms/packages/media/manifests.d.ts +2 -1
- package/dist-cms/packages/media/manifests.js +1 -0
- package/dist-cms/packages/media/media/components/index.d.ts +1 -0
- package/dist-cms/packages/media/media/components/index.js +1 -0
- package/dist-cms/packages/media/media/components/input-media/input-media.context.d.ts +6 -0
- package/dist-cms/packages/media/media/components/input-media/input-media.context.js +7 -0
- package/dist-cms/packages/media/media/components/input-media/input-media.element.d.ts +7 -15
- package/dist-cms/packages/media/media/components/input-media/input-media.element.js +50 -72
- package/dist-cms/packages/media/media/index.d.ts +2 -0
- package/dist-cms/packages/media/media/index.js +1 -1
- package/dist-cms/packages/media/media/manifests.d.ts +1 -1
- package/dist-cms/packages/media/media/manifests.js +2 -0
- package/dist-cms/packages/media/media/repository/manifests.d.ts +3 -2
- package/dist-cms/packages/media/media/repository/manifests.js +9 -1
- package/dist-cms/packages/media/media/repository/media-item.store.d.ts +20 -0
- package/dist-cms/packages/media/media/repository/media-item.store.js +23 -0
- package/dist-cms/packages/media/media/repository/media.repository.d.ts +6 -0
- package/dist-cms/packages/media/media/repository/media.repository.js +22 -0
- package/dist-cms/packages/media/media/repository/sources/media-item.server.data.d.ts +24 -0
- package/dist-cms/packages/media/media/repository/sources/media-item.server.data.js +31 -0
- package/dist-cms/packages/media/media/user-permissions/index.d.ts +1 -0
- package/dist-cms/packages/media/media/user-permissions/index.js +1 -0
- package/dist-cms/packages/media/media/user-permissions/manifests.d.ts +4 -0
- package/dist-cms/packages/media/media/user-permissions/manifests.js +27 -0
- package/dist-cms/packages/users/current-user/conditions/index.d.ts +1 -0
- package/dist-cms/packages/users/current-user/conditions/index.js +1 -0
- package/dist-cms/packages/users/current-user/conditions/user-permission.condition.d.ts +18 -0
- package/dist-cms/packages/users/current-user/conditions/user-permission.condition.js +23 -0
- package/dist-cms/packages/users/current-user/index.d.ts +1 -0
- package/dist-cms/packages/users/current-user/index.js +1 -0
- package/dist-cms/packages/users/current-user/manifests.js +7 -1
- package/dist-cms/packages/users/current-user/modals/current-user/current-user-modal.element.js +7 -7
- package/dist-cms/packages/users/index.d.ts +4 -2
- package/dist-cms/packages/users/index.js +4 -2
- package/dist-cms/packages/users/manifests.d.ts +2 -0
- package/dist-cms/packages/users/manifests.js +3 -0
- package/dist-cms/packages/users/user-groups/collection/user-group-collection-header.element.js +2 -2
- package/dist-cms/packages/users/user-groups/collection/user-group-collection-view.element.js +6 -6
- package/dist-cms/packages/users/user-groups/components/index.d.ts +1 -0
- package/dist-cms/packages/users/user-groups/components/index.js +1 -0
- package/dist-cms/packages/users/user-groups/entity-actions/manifests.d.ts +2 -0
- package/dist-cms/packages/users/user-groups/entity-actions/manifests.js +19 -0
- package/dist-cms/packages/users/user-groups/index.d.ts +2 -0
- package/dist-cms/packages/users/user-groups/index.js +2 -0
- package/dist-cms/packages/users/user-groups/manifests.d.ts +1 -1
- package/dist-cms/packages/users/user-groups/manifests.js +2 -0
- package/dist-cms/packages/users/user-groups/workspace/components/user-group-default-permission-list.element.d.ts +16 -0
- package/dist-cms/packages/users/user-groups/workspace/components/user-group-default-permission-list.element.js +69 -0
- package/dist-cms/packages/users/user-groups/workspace/components/user-group-granular-permission-list.element.d.ts +14 -0
- package/dist-cms/packages/users/user-groups/workspace/components/user-group-granular-permission-list.element.js +31 -0
- package/dist-cms/packages/users/user-groups/workspace/user-group-workspace-editor.element.d.ts +2 -0
- package/dist-cms/packages/users/user-groups/workspace/user-group-workspace-editor.element.js +57 -56
- package/dist-cms/packages/users/user-groups/workspace/user-group-workspace.context.d.ts +12 -0
- package/dist-cms/packages/users/user-groups/workspace/user-group-workspace.context.js +20 -0
- package/dist-cms/packages/users/user-groups/workspace/user-group-workspace.element.js +1 -1
- package/dist-cms/packages/users/users/collection/user-collection-header.element.js +18 -11
- package/dist-cms/packages/users/users/collection/views/grid/user-collection-grid-view.element.js +6 -6
- package/dist-cms/packages/users/users/collection/views/table/column-layouts/status/user-table-status-column-layout.element.js +3 -3
- package/dist-cms/packages/users/users/components/index.d.ts +3 -0
- package/dist-cms/packages/users/users/components/index.js +3 -0
- package/dist-cms/packages/users/users/components/user-input/user-input.element.js +2 -2
- package/dist-cms/packages/users/users/components/user-permission-setting/user-permission-setting.element.d.ts +15 -0
- package/dist-cms/packages/users/users/components/user-permission-setting/user-permission-setting.element.js +66 -0
- package/dist-cms/packages/users/users/index.d.ts +2 -0
- package/dist-cms/packages/users/users/index.js +2 -0
- package/dist-cms/packages/users/users/modals/user-picker/user-picker-modal.element.d.ts +3 -1
- package/dist-cms/packages/users/users/modals/user-picker/user-picker-modal.element.js +20 -25
- package/dist-cms/packages/users/users/repository/index.d.ts +1 -0
- package/dist-cms/packages/users/users/repository/index.js +1 -0
- package/dist-cms/packages/users/users/repository/user.repository.js +1 -1
- package/dist-cms/packages/users/users/workspace/user-workspace-editor.element.js +73 -56
- package/dist-cms/packages/users/utils.d.ts +5 -2
- package/dist-cms/packages/users/utils.js +14 -14
- package/dist-cms/shared/auth/auth-flow.d.ts +0 -4
- package/dist-cms/shared/auth/auth-flow.js +6 -25
- package/dist-cms/shared/repository/repository-items.manager.js +5 -0
- package/dist-cms/shared/umb-events/index.d.ts +1 -0
- package/dist-cms/shared/umb-events/index.js +1 -0
- package/dist-cms/shared/umb-events/selected.event.d.ts +3 -0
- package/dist-cms/shared/umb-events/selected.event.js +6 -0
- package/dist-cms/tinymce/CHANGELOG.md +48 -0
- package/dist-cms/tinymce/composer.json +1 -1
- package/dist-cms/tinymce/models/dom/model.js +1 -1
- package/dist-cms/tinymce/models/dom/model.min.js +1 -1
- package/dist-cms/tinymce/package.json +1 -1
- package/dist-cms/tinymce/plugins/accordion/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/accordion/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/advlist/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/advlist/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/anchor/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/anchor/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/autolink/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/autolink/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/autoresize/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/autoresize/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/autosave/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/autosave/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/charmap/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/charmap/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/code/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/code/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/codesample/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/codesample/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/directionality/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/directionality/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/emoticons/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/emoticons/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/fullscreen/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/fullscreen/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/help/plugin.js +5 -5
- package/dist-cms/tinymce/plugins/help/plugin.min.js +2 -2
- package/dist-cms/tinymce/plugins/image/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/image/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/importcss/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/importcss/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/insertdatetime/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/link/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/link/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/lists/plugin.js +63 -8
- package/dist-cms/tinymce/plugins/lists/plugin.min.js +2 -2
- package/dist-cms/tinymce/plugins/media/plugin.js +3 -23
- package/dist-cms/tinymce/plugins/media/plugin.min.js +2 -2
- package/dist-cms/tinymce/plugins/nonbreaking/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/pagebreak/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/pagebreak/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/preview/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/preview/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/quickbars/plugin.js +13 -4
- package/dist-cms/tinymce/plugins/quickbars/plugin.min.js +2 -2
- package/dist-cms/tinymce/plugins/save/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/save/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/searchreplace/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/searchreplace/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/table/plugin.js +2 -2
- package/dist-cms/tinymce/plugins/table/plugin.min.js +2 -2
- package/dist-cms/tinymce/plugins/template/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/template/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/visualblocks/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/visualblocks/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/visualchars/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/visualchars/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/wordcount/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/wordcount/plugin.min.js +1 -1
- package/dist-cms/tinymce/skins/ui/oxide/content.css +1 -1
- package/dist-cms/tinymce/skins/ui/oxide/content.inline.css +1 -1
- package/dist-cms/tinymce/skins/ui/oxide/content.inline.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/oxide/content.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/oxide/skin.css +51 -11
- package/dist-cms/tinymce/skins/ui/oxide/skin.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/oxide-dark/content.css +1 -1
- package/dist-cms/tinymce/skins/ui/oxide-dark/content.inline.css +1 -1
- package/dist-cms/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/oxide-dark/content.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/oxide-dark/skin.css +54 -14
- package/dist-cms/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/tinymce-5/content.css +1 -1
- package/dist-cms/tinymce/skins/ui/tinymce-5/content.inline.css +1 -1
- package/dist-cms/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/tinymce-5/content.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/tinymce-5/skin.css +51 -11
- package/dist-cms/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/content.css +1 -1
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/content.inline.css +1 -1
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.css +51 -11
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
- package/dist-cms/tinymce/themes/silver/theme.js +158 -55
- package/dist-cms/tinymce/themes/silver/theme.min.js +2 -2
- package/dist-cms/tinymce/tinymce.d.ts +4 -6
- package/dist-cms/tinymce/tinymce.js +911 -691
- package/dist-cms/tinymce/tinymce.min.js +2 -2
- package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
- package/dist-cms/umbraco-package-schema.json +154 -0
- package/dist-cms/vscode-html-custom-data.json +167 -18
- package/package.json +2 -2
- package/dist-cms/mocks/data/user-groups.data.d.ts +0 -9
- package/dist-cms/mocks/data/user-groups.data.js +0 -21
- package/dist-cms/mocks/data/users.data.d.ts +0 -16
- package/dist-cms/mocks/handlers/user-group.handlers.js +0 -17
- /package/dist-cms/mocks/handlers/{user-group.handlers.d.ts → user-group/index.d.ts} +0 -0
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
{
|
|
13
13
|
"$ref": "#/definitions/WorkspaceAliasConditionConfig"
|
|
14
14
|
},
|
|
15
|
+
{
|
|
16
|
+
"$ref": "#/definitions/UserPermissionConditionConfig"
|
|
17
|
+
},
|
|
15
18
|
{
|
|
16
19
|
"$ref": "#/definitions/UmbConditionConfigBase<string>_1"
|
|
17
20
|
}
|
|
@@ -1842,9 +1845,98 @@
|
|
|
1842
1845
|
},
|
|
1843
1846
|
{
|
|
1844
1847
|
"$ref": "#/definitions/ManifestWorkspaceViewCollection"
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
"$ref": "#/definitions/ManifestUserPermission"
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"$ref": "#/definitions/ManifestUserGranularPermission"
|
|
1845
1854
|
}
|
|
1846
1855
|
]
|
|
1847
1856
|
},
|
|
1857
|
+
"ManifestUserGranularPermission": {
|
|
1858
|
+
"properties": {
|
|
1859
|
+
"alias": {
|
|
1860
|
+
"description": "The alias of the extension, ensure it is unique",
|
|
1861
|
+
"type": "string"
|
|
1862
|
+
},
|
|
1863
|
+
"elementName": {
|
|
1864
|
+
"description": "The HTML web component name to use such as 'my-dashboard'\nNote it is NOT <my-dashboard></my-dashboard> but just the name",
|
|
1865
|
+
"type": "string"
|
|
1866
|
+
},
|
|
1867
|
+
"js": {
|
|
1868
|
+
"description": "The file location of the javascript file to load",
|
|
1869
|
+
"type": "string"
|
|
1870
|
+
},
|
|
1871
|
+
"kind": {
|
|
1872
|
+
"description": "The kind of the extension, used to group extensions together",
|
|
1873
|
+
"examples": [
|
|
1874
|
+
"button"
|
|
1875
|
+
]
|
|
1876
|
+
},
|
|
1877
|
+
"meta": {
|
|
1878
|
+
"$ref": "#/definitions/MetaUserGranularPermission",
|
|
1879
|
+
"description": "This contains properties specific to the type of extension"
|
|
1880
|
+
},
|
|
1881
|
+
"name": {
|
|
1882
|
+
"description": "The friendly name of the extension",
|
|
1883
|
+
"type": "string"
|
|
1884
|
+
},
|
|
1885
|
+
"type": {
|
|
1886
|
+
"const": "userGranularPermission",
|
|
1887
|
+
"description": "The type of extension such as dashboard etc...",
|
|
1888
|
+
"type": "string"
|
|
1889
|
+
},
|
|
1890
|
+
"weight": {
|
|
1891
|
+
"description": "Extensions such as dashboards are ordered by weight with lower numbers being first in the list",
|
|
1892
|
+
"type": "number"
|
|
1893
|
+
}
|
|
1894
|
+
},
|
|
1895
|
+
"required": [
|
|
1896
|
+
"alias",
|
|
1897
|
+
"meta",
|
|
1898
|
+
"name",
|
|
1899
|
+
"type"
|
|
1900
|
+
],
|
|
1901
|
+
"type": "object"
|
|
1902
|
+
},
|
|
1903
|
+
"ManifestUserPermission": {
|
|
1904
|
+
"properties": {
|
|
1905
|
+
"alias": {
|
|
1906
|
+
"description": "The alias of the extension, ensure it is unique",
|
|
1907
|
+
"type": "string"
|
|
1908
|
+
},
|
|
1909
|
+
"kind": {
|
|
1910
|
+
"description": "The kind of the extension, used to group extensions together",
|
|
1911
|
+
"examples": [
|
|
1912
|
+
"button"
|
|
1913
|
+
]
|
|
1914
|
+
},
|
|
1915
|
+
"meta": {
|
|
1916
|
+
"$ref": "#/definitions/MetaUserPermission"
|
|
1917
|
+
},
|
|
1918
|
+
"name": {
|
|
1919
|
+
"description": "The friendly name of the extension",
|
|
1920
|
+
"type": "string"
|
|
1921
|
+
},
|
|
1922
|
+
"type": {
|
|
1923
|
+
"const": "userPermission",
|
|
1924
|
+
"description": "The type of extension such as dashboard etc...",
|
|
1925
|
+
"type": "string"
|
|
1926
|
+
},
|
|
1927
|
+
"weight": {
|
|
1928
|
+
"description": "Extensions such as dashboards are ordered by weight with lower numbers being first in the list",
|
|
1929
|
+
"type": "number"
|
|
1930
|
+
}
|
|
1931
|
+
},
|
|
1932
|
+
"required": [
|
|
1933
|
+
"alias",
|
|
1934
|
+
"meta",
|
|
1935
|
+
"name",
|
|
1936
|
+
"type"
|
|
1937
|
+
],
|
|
1938
|
+
"type": "object"
|
|
1939
|
+
},
|
|
1848
1940
|
"ManifestUserProfileApp": {
|
|
1849
1941
|
"properties": {
|
|
1850
1942
|
"alias": {
|
|
@@ -2670,6 +2762,38 @@
|
|
|
2670
2762
|
],
|
|
2671
2763
|
"type": "object"
|
|
2672
2764
|
},
|
|
2765
|
+
"MetaUserGranularPermission": {
|
|
2766
|
+
"properties": {
|
|
2767
|
+
"entityType": {
|
|
2768
|
+
"type": "string"
|
|
2769
|
+
}
|
|
2770
|
+
},
|
|
2771
|
+
"required": [
|
|
2772
|
+
"entityType"
|
|
2773
|
+
],
|
|
2774
|
+
"type": "object"
|
|
2775
|
+
},
|
|
2776
|
+
"MetaUserPermission": {
|
|
2777
|
+
"properties": {
|
|
2778
|
+
"description": {
|
|
2779
|
+
"type": "string"
|
|
2780
|
+
},
|
|
2781
|
+
"entityType": {
|
|
2782
|
+
"type": "string"
|
|
2783
|
+
},
|
|
2784
|
+
"group": {
|
|
2785
|
+
"type": "string"
|
|
2786
|
+
},
|
|
2787
|
+
"label": {
|
|
2788
|
+
"type": "string"
|
|
2789
|
+
}
|
|
2790
|
+
},
|
|
2791
|
+
"required": [
|
|
2792
|
+
"entityType",
|
|
2793
|
+
"label"
|
|
2794
|
+
],
|
|
2795
|
+
"type": "object"
|
|
2796
|
+
},
|
|
2673
2797
|
"MetaUserProfileApp": {
|
|
2674
2798
|
"properties": {
|
|
2675
2799
|
"label": {
|
|
@@ -2836,6 +2960,18 @@
|
|
|
2836
2960
|
],
|
|
2837
2961
|
"type": "object"
|
|
2838
2962
|
},
|
|
2963
|
+
"UmbConditionConfigBase<\"Umb.Condition.UserPermission\">": {
|
|
2964
|
+
"properties": {
|
|
2965
|
+
"alias": {
|
|
2966
|
+
"const": "Umb.Condition.UserPermission",
|
|
2967
|
+
"type": "string"
|
|
2968
|
+
}
|
|
2969
|
+
},
|
|
2970
|
+
"required": [
|
|
2971
|
+
"alias"
|
|
2972
|
+
],
|
|
2973
|
+
"type": "object"
|
|
2974
|
+
},
|
|
2839
2975
|
"UmbConditionConfigBase<\"Umb.Condition.WorkspaceAlias\">": {
|
|
2840
2976
|
"properties": {
|
|
2841
2977
|
"alias": {
|
|
@@ -2884,6 +3020,24 @@
|
|
|
2884
3020
|
"UmbLocalizationDictionary": {
|
|
2885
3021
|
"type": "object"
|
|
2886
3022
|
},
|
|
3023
|
+
"UserPermissionConditionConfig": {
|
|
3024
|
+
"allOf": [
|
|
3025
|
+
{
|
|
3026
|
+
"$ref": "#/definitions/UmbConditionConfigBase<\"Umb.Condition.UserPermission\">"
|
|
3027
|
+
},
|
|
3028
|
+
{
|
|
3029
|
+
"properties": {
|
|
3030
|
+
"match": {
|
|
3031
|
+
"type": "string"
|
|
3032
|
+
}
|
|
3033
|
+
},
|
|
3034
|
+
"required": [
|
|
3035
|
+
"match"
|
|
3036
|
+
],
|
|
3037
|
+
"type": "object"
|
|
3038
|
+
}
|
|
3039
|
+
]
|
|
3040
|
+
},
|
|
2887
3041
|
"WorkspaceAliasConditionConfig": {
|
|
2888
3042
|
"allOf": [
|
|
2889
3043
|
{
|
|
@@ -905,6 +905,107 @@
|
|
|
905
905
|
"description": "Properties:\n\n * `_selection` {`string[]`} - \n\n * `selection` {`string[]`} - \n\n * `_manifest` - \n\n * `manifest` - ",
|
|
906
906
|
"attributes": []
|
|
907
907
|
},
|
|
908
|
+
{
|
|
909
|
+
"name": "umb-localize-date",
|
|
910
|
+
"description": "This element allows you to localize a date\n\nSlots:\n\n * ` ` {} - The fallback value if the key is not found.\n\nAttributes:\n\n * `date` {`string | Date`} - The date to localize.\n\n * `options` {`DateTimeFormatOptions | undefined`} - Formatting options\n\nProperties:\n\n * `date` {`string | Date`} - The date to localize.\n\n * `options` {`DateTimeFormatOptions | undefined`} - Formatting options\n\n * `text` {`string`} - \n\n * `styles` {`any[]`} - ",
|
|
911
|
+
"attributes": [
|
|
912
|
+
{
|
|
913
|
+
"name": "date",
|
|
914
|
+
"description": "`date` {`string | Date`} - The date to localize.\n\nProperty: date",
|
|
915
|
+
"values": []
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"name": "options",
|
|
919
|
+
"description": "`options` {`DateTimeFormatOptions | undefined`} - Formatting options\n\nProperty: options",
|
|
920
|
+
"values": []
|
|
921
|
+
}
|
|
922
|
+
]
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"name": "umb-localize-number",
|
|
926
|
+
"description": "This element allows you to localize a number\n\nSlots:\n\n * ` ` {} - The fallback value if the key is not found.\n\nAttributes:\n\n * `number` {`string | number`} - The number to localize.\n\n * `options` {`NumberFormatOptions | undefined`} - Formatting options\n\nProperties:\n\n * `number` {`string | number`} - The number to localize.\n\n * `options` {`NumberFormatOptions | undefined`} - Formatting options\n\n * `text` {`string`} - \n\n * `styles` {`any[]`} - ",
|
|
927
|
+
"attributes": [
|
|
928
|
+
{
|
|
929
|
+
"name": "number",
|
|
930
|
+
"description": "`number` {`string | number`} - The number to localize.\n\nProperty: number",
|
|
931
|
+
"values": []
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"name": "options",
|
|
935
|
+
"description": "`options` {`NumberFormatOptions | undefined`} - Formatting options\n\nProperty: options",
|
|
936
|
+
"values": []
|
|
937
|
+
}
|
|
938
|
+
]
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"name": "umb-localize-relative-time",
|
|
942
|
+
"description": "This element allows you to localize a relative time\n\nSlots:\n\n * ` ` {} - The fallback value if the key is not found.\n\nAttributes:\n\n * `time` {`number`} - The date to localize.\n\n * `options` {`RelativeTimeFormatOptions | undefined`} - Formatting options\n\n * `unit` {`RelativeTimeFormatUnit`} - Unit\n\nProperties:\n\n * `time` {`number`} - The date to localize.\n\n * `options` {`RelativeTimeFormatOptions | undefined`} - Formatting options\n\n * `unit` {`RelativeTimeFormatUnit`} - Unit\n\n * `text` {`string`} - \n\n * `styles` {`any[]`} - ",
|
|
943
|
+
"attributes": [
|
|
944
|
+
{
|
|
945
|
+
"name": "time",
|
|
946
|
+
"description": "`time` {`number`} - The date to localize.\n\nProperty: time"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"name": "options",
|
|
950
|
+
"description": "`options` {`RelativeTimeFormatOptions | undefined`} - Formatting options\n\nProperty: options",
|
|
951
|
+
"values": []
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"name": "unit",
|
|
955
|
+
"description": "`unit` {`RelativeTimeFormatUnit`} - Unit\n\nProperty: unit\n\nDefault: seconds",
|
|
956
|
+
"values": [
|
|
957
|
+
{
|
|
958
|
+
"name": "year"
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"name": "years"
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"name": "quarter"
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"name": "quarters"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"name": "month"
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"name": "months"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"name": "week"
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"name": "weeks"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"name": "day"
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"name": "days"
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"name": "hour"
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"name": "hours"
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"name": "minute"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"name": "minutes"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"name": "second"
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"name": "seconds"
|
|
1004
|
+
}
|
|
1005
|
+
]
|
|
1006
|
+
}
|
|
1007
|
+
]
|
|
1008
|
+
},
|
|
908
1009
|
{
|
|
909
1010
|
"name": "umb-localize",
|
|
910
1011
|
"description": "This element allows you to localize a string with optional interpolation values.\n\nSlots:\n\n * ` ` {} - The fallback value if the key is not found.\n\nAttributes:\n\n * `key` {`string`} - The key to localize. The key is case sensitive.\n\n * `args` {any[] | undefined} - The values to forward to the localization function (must be JSON compatible).\n\n * `debug` {`boolean`} - If true, the key will be rendered instead of the localized value if the key is not found.\n\nProperties:\n\n * `key` {`string`} - The key to localize. The key is case sensitive.\n\n * `args` {any[] | undefined} - The values to forward to the localization function (must be JSON compatible).\n\n * `debug` {`boolean`} - If true, the key will be rendered instead of the localized value if the key is not found.\n\n * `text` {`string`} - \n\n * `styles` {`any[]`} - ",
|
|
@@ -979,6 +1080,26 @@
|
|
|
979
1080
|
"description": "Properties:\n\n * `_model` {`UmbEmbeddedMediaModalModel`} - \n\n * `styles` {`any[]`} - ",
|
|
980
1081
|
"attributes": []
|
|
981
1082
|
},
|
|
1083
|
+
{
|
|
1084
|
+
"name": "umb-entity-user-permission-settings-modal",
|
|
1085
|
+
"description": "Attributes:\n\n * `data` - \n\nProperties:\n\n * `modalContext` - \n\n * `data` - \n\n * `_userPermissionManifests` {`any[]`} - \n\n * `styles` {`any[]`} - ",
|
|
1086
|
+
"attributes": [
|
|
1087
|
+
{
|
|
1088
|
+
"name": "data",
|
|
1089
|
+
"description": "`data` - \n\nProperty: data"
|
|
1090
|
+
}
|
|
1091
|
+
]
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"name": "umb-entity-user-permission-modal",
|
|
1095
|
+
"description": "Attributes:\n\n * `data` - \n\nProperties:\n\n * `modalContext` - \n\n * `data` - \n\n * `_userPermissionManifests` {`any[]`} - \n\n * `styles` {`any[]`} - ",
|
|
1096
|
+
"attributes": [
|
|
1097
|
+
{
|
|
1098
|
+
"name": "data",
|
|
1099
|
+
"description": "`data` - \n\nProperty: data"
|
|
1100
|
+
}
|
|
1101
|
+
]
|
|
1102
|
+
},
|
|
982
1103
|
{
|
|
983
1104
|
"name": "umb-folder-modal",
|
|
984
1105
|
"description": "Properties:\n\n * `modalContext` - \n\n * `_data` - \n\n * `data` - \n\n * `_folder` - \n\n * `_headline` {`string | undefined`} - \n\n * `_isNew` {`boolean`} - \n\n * `_formElement` {`HTMLFormElement | undefined`} - \n\n * `styles` {`any[]`} - ",
|
|
@@ -2143,19 +2264,27 @@
|
|
|
2143
2264
|
"description": "Properties:\n\n * `_items` {`any[] | undefined`} - \n\n * `_tableConfig` - \n\n * `_tableColumns` {`any[]`} - \n\n * `_tableItems` {`any[]`} - \n\n * `_selection` {`string[]`} - \n\n * `_collectionContext` - \n\n * `styles` {`any[]`} - ",
|
|
2144
2265
|
"attributes": []
|
|
2145
2266
|
},
|
|
2267
|
+
{
|
|
2268
|
+
"name": "umb-input-document-granular-permission",
|
|
2269
|
+
"description": "Attributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `_selectedIds` {`string[]`} - \n\n * `selectedIds` {`string[]`} - \n\n * `value` {`string`} - \n\n * `_items` {`any[] | undefined`} - \n\n * `styles` {`any[]`} - ",
|
|
2270
|
+
"attributes": [
|
|
2271
|
+
{
|
|
2272
|
+
"name": "value",
|
|
2273
|
+
"description": "`value` {`string`} - \n\nProperty: value"
|
|
2274
|
+
}
|
|
2275
|
+
]
|
|
2276
|
+
},
|
|
2146
2277
|
{
|
|
2147
2278
|
"name": "umb-input-document",
|
|
2148
|
-
"description": "
|
|
2279
|
+
"description": "Attributes:\n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `min-message` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `value` {`string`} - \n\nProperties:\n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `minMessage` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `selectedIds` {`string[]`} - \n\n * `value` {`string`} - \n\n * `_items` {`any[] | undefined`} - \n\n * `styles` {`any[]`} - ",
|
|
2149
2280
|
"attributes": [
|
|
2150
2281
|
{
|
|
2151
2282
|
"name": "min",
|
|
2152
|
-
"description": "`min` {number} - This is a minimum amount of selected items in this input.\n\nProperty: min\n\nDefault:
|
|
2153
|
-
"values": []
|
|
2283
|
+
"description": "`min` {number} - This is a minimum amount of selected items in this input.\n\nProperty: min\n\nDefault: 0"
|
|
2154
2284
|
},
|
|
2155
2285
|
{
|
|
2156
2286
|
"name": "max",
|
|
2157
|
-
"description": "`max` {number} - This is a maximum amount of selected items in this input.\n\nProperty: max\n\nDefault:
|
|
2158
|
-
"values": []
|
|
2287
|
+
"description": "`max` {number} - This is a maximum amount of selected items in this input.\n\nProperty: max\n\nDefault: Infinity"
|
|
2159
2288
|
},
|
|
2160
2289
|
{
|
|
2161
2290
|
"name": "min-message",
|
|
@@ -2168,10 +2297,6 @@
|
|
|
2168
2297
|
{
|
|
2169
2298
|
"name": "value",
|
|
2170
2299
|
"description": "`value` {`string`} - \n\nProperty: value"
|
|
2171
|
-
},
|
|
2172
|
-
{
|
|
2173
|
-
"name": "onchange",
|
|
2174
|
-
"description": "`change` {`CustomEvent<unknown>`} - "
|
|
2175
2300
|
}
|
|
2176
2301
|
]
|
|
2177
2302
|
},
|
|
@@ -2525,17 +2650,15 @@
|
|
|
2525
2650
|
},
|
|
2526
2651
|
{
|
|
2527
2652
|
"name": "umb-input-media",
|
|
2528
|
-
"description": "
|
|
2653
|
+
"description": "Attributes:\n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `min-message` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `value` {`string`} - \n\nProperties:\n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `minMessage` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `selectedIds` {`string[]`} - \n\n * `value` {`string`} - \n\n * `_items` {`any[] | undefined`} - \n\n * `styles` {`any[]`} - ",
|
|
2529
2654
|
"attributes": [
|
|
2530
2655
|
{
|
|
2531
2656
|
"name": "min",
|
|
2532
|
-
"description": "`min` {number} - This is a minimum amount of selected items in this input.\n\nProperty: min\n\nDefault:
|
|
2533
|
-
"values": []
|
|
2657
|
+
"description": "`min` {number} - This is a minimum amount of selected items in this input.\n\nProperty: min\n\nDefault: 0"
|
|
2534
2658
|
},
|
|
2535
2659
|
{
|
|
2536
2660
|
"name": "max",
|
|
2537
|
-
"description": "`max` {number} - This is a maximum amount of selected items in this input.\n\nProperty: max\n\nDefault:
|
|
2538
|
-
"values": []
|
|
2661
|
+
"description": "`max` {number} - This is a maximum amount of selected items in this input.\n\nProperty: max\n\nDefault: Infinity"
|
|
2539
2662
|
},
|
|
2540
2663
|
{
|
|
2541
2664
|
"name": "min-message",
|
|
@@ -2548,10 +2671,6 @@
|
|
|
2548
2671
|
{
|
|
2549
2672
|
"name": "value",
|
|
2550
2673
|
"description": "`value` {`string`} - \n\nProperty: value"
|
|
2551
|
-
},
|
|
2552
|
-
{
|
|
2553
|
-
"name": "onchange",
|
|
2554
|
-
"description": "`change` {`CustomEvent<unknown>`} - "
|
|
2555
2674
|
}
|
|
2556
2675
|
]
|
|
2557
2676
|
},
|
|
@@ -3411,6 +3530,16 @@
|
|
|
3411
3530
|
"description": "Properties:\n\n * `_saveButtonState` - \n\n * `_workspaceContext` - \n\n * `styles` {`any[]`} - ",
|
|
3412
3531
|
"attributes": []
|
|
3413
3532
|
},
|
|
3533
|
+
{
|
|
3534
|
+
"name": "umb-user-group-default-permission-list",
|
|
3535
|
+
"description": "Properties:\n\n * `_userGroup` - \n\n * `_manifests` {`any[]`} - \n\n * `_entityTypes` {`string[]`} - \n\n * `styles` {`any[]`} - ",
|
|
3536
|
+
"attributes": []
|
|
3537
|
+
},
|
|
3538
|
+
{
|
|
3539
|
+
"name": "umb-user-group-granular-permission-list",
|
|
3540
|
+
"description": "Properties:\n\n * `_userGroup` - \n\n * `styles` {`any[]`} - ",
|
|
3541
|
+
"attributes": []
|
|
3542
|
+
},
|
|
3414
3543
|
{
|
|
3415
3544
|
"name": "umb-user-group-workspace-editor",
|
|
3416
3545
|
"description": "Properties:\n\n * `_userGroup` - \n\n * `_userKeys` {`string[] | undefined`} - \n\n * `styles` {`any[]`} - ",
|
|
@@ -3482,6 +3611,26 @@
|
|
|
3482
3611
|
}
|
|
3483
3612
|
]
|
|
3484
3613
|
},
|
|
3614
|
+
{
|
|
3615
|
+
"name": "umb-user-permission-setting",
|
|
3616
|
+
"description": "Attributes:\n\n * `label` {`string`} - \n\n * `description` {`string | undefined`} - \n\n * `allowed` {`boolean`} - \n\nProperties:\n\n * `label` {`string`} - \n\n * `description` {`string | undefined`} - \n\n * `allowed` {`boolean`} - \n\n * `styles` {`any[]`} - ",
|
|
3617
|
+
"attributes": [
|
|
3618
|
+
{
|
|
3619
|
+
"name": "label",
|
|
3620
|
+
"description": "`label` {`string`} - \n\nProperty: label\n\nDefault: "
|
|
3621
|
+
},
|
|
3622
|
+
{
|
|
3623
|
+
"name": "description",
|
|
3624
|
+
"description": "`description` {`string | undefined`} - \n\nProperty: description\n\nDefault: ",
|
|
3625
|
+
"values": []
|
|
3626
|
+
},
|
|
3627
|
+
{
|
|
3628
|
+
"name": "allowed",
|
|
3629
|
+
"description": "`allowed` {`boolean`} - \n\nProperty: allowed\n\nDefault: false",
|
|
3630
|
+
"valueSet": "v"
|
|
3631
|
+
}
|
|
3632
|
+
]
|
|
3633
|
+
},
|
|
3485
3634
|
{
|
|
3486
3635
|
"name": "umb-user-create-modal",
|
|
3487
3636
|
"description": "Properties:\n\n * `_form` {`HTMLFormElement`} - \n\n * `_createdUser` - \n\n * `_createdUserInitialPassword` {`string | null | undefined`} - \n\n * `styles` {`any[]`} - ",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-cms/backoffice",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "14.0.0-
|
|
4
|
+
"version": "14.0.0-43239cee",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": null,
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"lodash-es": "4.17.21",
|
|
137
137
|
"monaco-editor": "^0.41.0",
|
|
138
138
|
"rxjs": "^7.8.1",
|
|
139
|
-
"tinymce": "^6.
|
|
139
|
+
"tinymce": "^6.7.0",
|
|
140
140
|
"tinymce-i18n": "^23.8.7",
|
|
141
141
|
"uuid": "^9.0.0"
|
|
142
142
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { UmbEntityData } from './entity.data.js';
|
|
2
|
-
import { PagedUserGroupResponseModel, UserGroupResponseModel } from '../../external/backend-api/index.js';
|
|
3
|
-
declare class UmbUserGroupsData extends UmbEntityData<UserGroupResponseModel> {
|
|
4
|
-
constructor(data: Array<UserGroupResponseModel>);
|
|
5
|
-
getAll(): PagedUserGroupResponseModel;
|
|
6
|
-
}
|
|
7
|
-
export declare const data: Array<UserGroupResponseModel>;
|
|
8
|
-
export declare const umbUserGroupsData: UmbUserGroupsData;
|
|
9
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { UmbEntityData } from './entity.data.js';
|
|
2
|
-
// Temp mocked database
|
|
3
|
-
class UmbUserGroupsData extends UmbEntityData {
|
|
4
|
-
constructor(data) {
|
|
5
|
-
super(data);
|
|
6
|
-
}
|
|
7
|
-
getAll() {
|
|
8
|
-
return {
|
|
9
|
-
total: this.data.length,
|
|
10
|
-
items: this.data,
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export const data = [
|
|
15
|
-
{
|
|
16
|
-
id: 'c630d49e-4e7b-42ea-b2bc-edc0edacb6b1',
|
|
17
|
-
name: 'Administrators',
|
|
18
|
-
icon: 'umb:medal',
|
|
19
|
-
},
|
|
20
|
-
];
|
|
21
|
-
export const umbUserGroupsData = new UmbUserGroupsData(data);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { UmbData } from './data.js';
|
|
2
|
-
import { UmbLoggedInUser } from '../../shared/auth/index.js';
|
|
3
|
-
import { PagedUserResponseModel, UserResponseModel } from '../../external/backend-api/index.js';
|
|
4
|
-
declare class UmbUsersData extends UmbData<UserResponseModel> {
|
|
5
|
-
constructor(data: UserResponseModel[]);
|
|
6
|
-
getAll(): PagedUserResponseModel;
|
|
7
|
-
getById(id: string): UserResponseModel | undefined;
|
|
8
|
-
getCurrentUser(): UmbLoggedInUser;
|
|
9
|
-
save(id: string, saveItem: UserResponseModel): UserResponseModel;
|
|
10
|
-
protected updateData(updateItem: UserResponseModel): void;
|
|
11
|
-
}
|
|
12
|
-
export declare const data: Array<UserResponseModel & {
|
|
13
|
-
type: string;
|
|
14
|
-
}>;
|
|
15
|
-
export declare const umbUsersData: UmbUsersData;
|
|
16
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const { rest } = window.MockServiceWorker;
|
|
2
|
-
import { umbUserGroupsData } from '../data/user-groups.data.js';
|
|
3
|
-
import { umbracoPath } from '../../shared/utils/index.js';
|
|
4
|
-
const slug = '/user-group';
|
|
5
|
-
export const handlers = [
|
|
6
|
-
rest.get(umbracoPath(`${slug}`), (req, res, ctx) => {
|
|
7
|
-
const response = umbUserGroupsData.getAll();
|
|
8
|
-
return res(ctx.status(200), ctx.json(response));
|
|
9
|
-
}),
|
|
10
|
-
rest.get(umbracoPath(`${slug}/:id`), (req, res, ctx) => {
|
|
11
|
-
const id = req.params.id;
|
|
12
|
-
if (!id)
|
|
13
|
-
return;
|
|
14
|
-
const userGroup = umbUserGroupsData.getById(id);
|
|
15
|
-
return res(ctx.status(200), ctx.json(userGroup));
|
|
16
|
-
}),
|
|
17
|
-
];
|
|
File without changes
|