@umbraco-cms/backoffice 14.0.0--preview004-b3446294 → 14.0.0--preview003
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 +3 -0
- package/dist-cms/assets/lang/da-dk.js +0 -3
- package/dist-cms/assets/lang/da-dk.ts +0 -3
- package/dist-cms/assets/lang/en-us.js +18 -21
- package/dist-cms/assets/lang/en-us.ts +18 -21
- package/dist-cms/custom-elements.json +19 -288
- 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 +9 -1
- package/dist-cms/mocks/data/media.data.d.ts +1 -2
- package/dist-cms/mocks/data/media.data.js +0 -11
- package/dist-cms/mocks/data/user-groups.data.d.ts +9 -0
- package/dist-cms/mocks/data/user-groups.data.js +21 -0
- package/dist-cms/mocks/data/users.data.d.ts +16 -0
- package/dist-cms/mocks/data/{user.data.js → users.data.js} +41 -27
- package/dist-cms/mocks/handlers/dictionary.handlers.js +2 -2
- package/dist-cms/mocks/handlers/media.handlers.js +0 -8
- package/dist-cms/mocks/handlers/partial-views.handlers.js +3 -3
- package/dist-cms/mocks/handlers/user-group.handlers.js +17 -0
- package/dist-cms/mocks/handlers/user.handlers.js +1 -15
- 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 +2 -3
- package/dist-cms/packages/core/extension-registry/models/index.d.ts +1 -5
- package/dist-cms/packages/core/extension-registry/models/index.js +0 -2
- package/dist-cms/packages/core/localization/index.d.ts +0 -3
- package/dist-cms/packages/core/localization/index.js +0 -3
- package/dist-cms/packages/core/localization/localize.element.js +1 -1
- package/dist-cms/packages/core/modal/common/manifests.js +0 -6
- package/dist-cms/packages/core/modal/common/tree-picker/tree-picker-modal.element.js +3 -5
- package/dist-cms/packages/core/modal/token/index.d.ts +0 -1
- package/dist-cms/packages/core/modal/token/index.js +0 -1
- package/dist-cms/packages/core/picker-input/picker-input.context.js +3 -1
- package/dist-cms/packages/core/tree/tree.context.js +2 -3
- package/dist-cms/packages/documents/documents/components/index.d.ts +0 -1
- package/dist-cms/packages/documents/documents/components/index.js +0 -1
- package/dist-cms/packages/documents/documents/components/input-document/input-document.element.d.ts +12 -7
- package/dist-cms/packages/documents/documents/components/input-document/input-document.element.js +64 -51
- package/dist-cms/packages/documents/documents/entity-actions/create/manifests.js +0 -9
- package/dist-cms/packages/documents/documents/entity-actions/manifests.js +1 -1
- package/dist-cms/packages/documents/documents/entity-actions/permissions.action.d.ts +1 -2
- package/dist-cms/packages/documents/documents/entity-actions/permissions.action.js +2 -22
- package/dist-cms/packages/documents/documents/index.d.ts +0 -2
- package/dist-cms/packages/documents/documents/index.js +0 -2
- package/dist-cms/packages/documents/documents/manifests.d.ts +0 -4
- package/dist-cms/packages/documents/documents/manifests.js +0 -2
- package/dist-cms/packages/documents/documents/recycle-bin/entity-action/manifests.d.ts +0 -4
- package/dist-cms/packages/documents/documents/recycle-bin/entity-action/manifests.js +0 -6
- package/dist-cms/packages/documents/documents/recycle-bin/manifests.d.ts +0 -4
- package/dist-cms/packages/documents/documents/repository/document.repository.js +4 -4
- package/dist-cms/packages/documents/documents/repository/manifests.d.ts +2 -3
- package/dist-cms/packages/documents/documents/repository/manifests.js +1 -9
- package/dist-cms/packages/documents/documents/workspace/views/info/document-info-workspace-view.element.js +28 -29
- package/dist-cms/packages/documents/manifests.d.ts +0 -4
- 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 +1 -2
- package/dist-cms/packages/media/manifests.js +0 -1
- package/dist-cms/packages/media/media/components/index.d.ts +0 -1
- package/dist-cms/packages/media/media/components/index.js +0 -1
- package/dist-cms/packages/media/media/components/input-media/input-media.element.d.ts +15 -7
- package/dist-cms/packages/media/media/components/input-media/input-media.element.js +72 -50
- package/dist-cms/packages/media/media/index.d.ts +0 -2
- 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 +0 -2
- package/dist-cms/packages/media/media/repository/manifests.d.ts +2 -3
- package/dist-cms/packages/media/media/repository/manifests.js +1 -9
- package/dist-cms/packages/media/media/repository/media.repository.d.ts +0 -6
- package/dist-cms/packages/media/media/repository/media.repository.js +0 -22
- package/dist-cms/packages/users/current-user/index.d.ts +0 -1
- package/dist-cms/packages/users/current-user/index.js +0 -1
- package/dist-cms/packages/users/current-user/manifests.js +1 -7
- 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 +2 -4
- package/dist-cms/packages/users/index.js +2 -4
- package/dist-cms/packages/users/manifests.d.ts +0 -2
- package/dist-cms/packages/users/manifests.js +0 -3
- 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 +0 -1
- package/dist-cms/packages/users/user-groups/components/index.js +0 -1
- package/dist-cms/packages/users/user-groups/index.d.ts +0 -2
- package/dist-cms/packages/users/user-groups/index.js +0 -2
- package/dist-cms/packages/users/user-groups/manifests.d.ts +1 -1
- package/dist-cms/packages/users/user-groups/manifests.js +0 -2
- package/dist-cms/packages/users/user-groups/workspace/user-group-workspace-editor.element.d.ts +0 -2
- package/dist-cms/packages/users/user-groups/workspace/user-group-workspace-editor.element.js +56 -57
- package/dist-cms/packages/users/user-groups/workspace/user-group-workspace.context.d.ts +0 -12
- package/dist-cms/packages/users/user-groups/workspace/user-group-workspace.context.js +0 -20
- 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 +11 -18
- 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 +0 -3
- package/dist-cms/packages/users/users/components/index.js +0 -3
- package/dist-cms/packages/users/users/components/user-input/user-input.element.js +2 -2
- package/dist-cms/packages/users/users/index.d.ts +0 -2
- package/dist-cms/packages/users/users/index.js +0 -2
- package/dist-cms/packages/users/users/modals/user-picker/user-picker-modal.element.d.ts +1 -3
- package/dist-cms/packages/users/users/modals/user-picker/user-picker-modal.element.js +25 -20
- package/dist-cms/packages/users/users/repository/user.repository.js +1 -1
- package/dist-cms/packages/users/users/workspace/user-workspace-editor.element.js +56 -73
- package/dist-cms/packages/users/utils.d.ts +2 -5
- package/dist-cms/packages/users/utils.js +14 -14
- package/dist-cms/shared/auth/auth-flow.d.ts +4 -0
- package/dist-cms/shared/auth/auth-flow.js +25 -6
- package/dist-cms/shared/repository/repository-items.manager.js +0 -5
- package/dist-cms/shared/umb-events/index.d.ts +0 -1
- package/dist-cms/shared/umb-events/index.js +0 -1
- package/dist-cms/tinymce/CHANGELOG.md +0 -48
- 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 +8 -63
- package/dist-cms/tinymce/plugins/lists/plugin.min.js +2 -2
- package/dist-cms/tinymce/plugins/media/plugin.js +23 -3
- 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 +4 -13
- 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 +11 -51
- 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 +14 -54
- 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 +11 -51
- 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 +11 -51
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
- package/dist-cms/tinymce/themes/silver/theme.js +55 -158
- package/dist-cms/tinymce/themes/silver/theme.min.js +2 -2
- package/dist-cms/tinymce/tinymce.d.ts +6 -4
- package/dist-cms/tinymce/tinymce.js +644 -864
- package/dist-cms/tinymce/tinymce.min.js +2 -2
- package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
- package/dist-cms/umbraco-package-schema.json +0 -154
- package/dist-cms/vscode-html-custom-data.json +18 -167
- package/package.json +2 -2
- package/dist-cms/mocks/data/user-group.data.d.ts +0 -17
- package/dist-cms/mocks/data/user-group.data.js +0 -61
- package/dist-cms/mocks/data/user.data.d.ts +0 -15
- package/dist-cms/mocks/handlers/user-group/collection.handlers.d.ts +0 -1
- package/dist-cms/mocks/handlers/user-group/collection.handlers.js +0 -10
- package/dist-cms/mocks/handlers/user-group/detail.handlers.d.ts +0 -1
- package/dist-cms/mocks/handlers/user-group/detail.handlers.js +0 -37
- package/dist-cms/mocks/handlers/user-group/index.js +0 -4
- package/dist-cms/mocks/handlers/user-group/item.handlers.d.ts +0 -1
- package/dist-cms/mocks/handlers/user-group/item.handlers.js +0 -13
- package/dist-cms/mocks/handlers/user-group/slug.d.ts +0 -1
- package/dist-cms/mocks/handlers/user-group/slug.js +0 -1
- package/dist-cms/packages/core/extension-registry/models/user-granular-permission.model.d.ts +0 -8
- package/dist-cms/packages/core/extension-registry/models/user-granular-permission.model.js +0 -1
- package/dist-cms/packages/core/extension-registry/models/user-permission.model.d.ts +0 -11
- package/dist-cms/packages/core/extension-registry/models/user-permission.model.js +0 -1
- package/dist-cms/packages/core/localization/localize-date.element.d.ts +0 -28
- package/dist-cms/packages/core/localization/localize-date.element.js +0 -42
- package/dist-cms/packages/core/localization/localize-number.element.d.ts +0 -28
- package/dist-cms/packages/core/localization/localize-number.element.js +0 -42
- package/dist-cms/packages/core/localization/localize-relative-time.element.d.ts +0 -34
- package/dist-cms/packages/core/localization/localize-relative-time.element.js +0 -54
- package/dist-cms/packages/core/modal/common/entity-user-permission-settings/entity-user-permission-settings-modal.element.d.ts +0 -19
- package/dist-cms/packages/core/modal/common/entity-user-permission-settings/entity-user-permission-settings-modal.element.js +0 -97
- package/dist-cms/packages/core/modal/token/entity-user-permission-settings-modal.token.d.ts +0 -7
- package/dist-cms/packages/core/modal/token/entity-user-permission-settings-modal.token.js +0 -4
- package/dist-cms/packages/documents/documents/components/input-document/input-document.context.d.ts +0 -6
- package/dist-cms/packages/documents/documents/components/input-document/input-document.context.js +0 -7
- package/dist-cms/packages/documents/documents/components/input-document-granular-permission/input-document-granular-permission.element.d.ts +0 -23
- package/dist-cms/packages/documents/documents/components/input-document-granular-permission/input-document-granular-permission.element.js +0 -102
- package/dist-cms/packages/documents/documents/user-permissions/index.d.ts +0 -1
- package/dist-cms/packages/documents/documents/user-permissions/index.js +0 -1
- package/dist-cms/packages/documents/documents/user-permissions/manifests.d.ts +0 -19
- package/dist-cms/packages/documents/documents/user-permissions/manifests.js +0 -196
- package/dist-cms/packages/media/media/components/input-media/input-media.context.d.ts +0 -6
- package/dist-cms/packages/media/media/components/input-media/input-media.context.js +0 -7
- package/dist-cms/packages/media/media/repository/media-item.store.d.ts +0 -20
- package/dist-cms/packages/media/media/repository/media-item.store.js +0 -23
- package/dist-cms/packages/media/media/repository/sources/media-item.server.data.d.ts +0 -24
- package/dist-cms/packages/media/media/repository/sources/media-item.server.data.js +0 -31
- package/dist-cms/packages/media/media/user-permissions/index.d.ts +0 -1
- package/dist-cms/packages/media/media/user-permissions/index.js +0 -1
- package/dist-cms/packages/media/media/user-permissions/manifests.d.ts +0 -4
- package/dist-cms/packages/media/media/user-permissions/manifests.js +0 -27
- package/dist-cms/packages/users/current-user/conditions/index.d.ts +0 -1
- package/dist-cms/packages/users/current-user/conditions/index.js +0 -1
- package/dist-cms/packages/users/current-user/conditions/user-permission.condition.d.ts +0 -18
- package/dist-cms/packages/users/current-user/conditions/user-permission.condition.js +0 -23
- package/dist-cms/packages/users/user-groups/entity-actions/manifests.d.ts +0 -2
- package/dist-cms/packages/users/user-groups/entity-actions/manifests.js +0 -19
- package/dist-cms/packages/users/user-groups/workspace/components/user-group-default-permission-list.element.d.ts +0 -16
- package/dist-cms/packages/users/user-groups/workspace/components/user-group-default-permission-list.element.js +0 -69
- package/dist-cms/packages/users/user-groups/workspace/components/user-group-granular-permission-list.element.d.ts +0 -14
- package/dist-cms/packages/users/user-groups/workspace/components/user-group-granular-permission-list.element.js +0 -31
- package/dist-cms/packages/users/users/components/user-permission-setting/user-permission-setting.element.d.ts +0 -15
- package/dist-cms/packages/users/users/components/user-permission-setting/user-permission-setting.element.js +0 -66
- package/dist-cms/packages/users/users/repository/index.d.ts +0 -1
- package/dist-cms/packages/users/users/repository/index.js +0 -1
- package/dist-cms/shared/umb-events/selected.event.d.ts +0 -3
- package/dist-cms/shared/umb-events/selected.event.js +0 -6
- /package/dist-cms/mocks/handlers/{user-group/index.d.ts → user-group.handlers.d.ts} +0 -0
|
@@ -12,9 +12,6 @@
|
|
|
12
12
|
{
|
|
13
13
|
"$ref": "#/definitions/WorkspaceAliasConditionConfig"
|
|
14
14
|
},
|
|
15
|
-
{
|
|
16
|
-
"$ref": "#/definitions/UserPermissionConditionConfig"
|
|
17
|
-
},
|
|
18
15
|
{
|
|
19
16
|
"$ref": "#/definitions/UmbConditionConfigBase<string>_1"
|
|
20
17
|
}
|
|
@@ -1845,98 +1842,9 @@
|
|
|
1845
1842
|
},
|
|
1846
1843
|
{
|
|
1847
1844
|
"$ref": "#/definitions/ManifestWorkspaceViewCollection"
|
|
1848
|
-
},
|
|
1849
|
-
{
|
|
1850
|
-
"$ref": "#/definitions/ManifestUserPermission"
|
|
1851
|
-
},
|
|
1852
|
-
{
|
|
1853
|
-
"$ref": "#/definitions/ManifestUserGranularPermission"
|
|
1854
1845
|
}
|
|
1855
1846
|
]
|
|
1856
1847
|
},
|
|
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
|
-
},
|
|
1940
1848
|
"ManifestUserProfileApp": {
|
|
1941
1849
|
"properties": {
|
|
1942
1850
|
"alias": {
|
|
@@ -2762,38 +2670,6 @@
|
|
|
2762
2670
|
],
|
|
2763
2671
|
"type": "object"
|
|
2764
2672
|
},
|
|
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
|
-
},
|
|
2797
2673
|
"MetaUserProfileApp": {
|
|
2798
2674
|
"properties": {
|
|
2799
2675
|
"label": {
|
|
@@ -2960,18 +2836,6 @@
|
|
|
2960
2836
|
],
|
|
2961
2837
|
"type": "object"
|
|
2962
2838
|
},
|
|
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
|
-
},
|
|
2975
2839
|
"UmbConditionConfigBase<\"Umb.Condition.WorkspaceAlias\">": {
|
|
2976
2840
|
"properties": {
|
|
2977
2841
|
"alias": {
|
|
@@ -3020,24 +2884,6 @@
|
|
|
3020
2884
|
"UmbLocalizationDictionary": {
|
|
3021
2885
|
"type": "object"
|
|
3022
2886
|
},
|
|
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
|
-
},
|
|
3041
2887
|
"WorkspaceAliasConditionConfig": {
|
|
3042
2888
|
"allOf": [
|
|
3043
2889
|
{
|
|
@@ -905,107 +905,6 @@
|
|
|
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
|
-
},
|
|
1009
908
|
{
|
|
1010
909
|
"name": "umb-localize",
|
|
1011
910
|
"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[]`} - ",
|
|
@@ -1080,26 +979,6 @@
|
|
|
1080
979
|
"description": "Properties:\n\n * `_model` {`UmbEmbeddedMediaModalModel`} - \n\n * `styles` {`any[]`} - ",
|
|
1081
980
|
"attributes": []
|
|
1082
981
|
},
|
|
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
|
-
},
|
|
1103
982
|
{
|
|
1104
983
|
"name": "umb-folder-modal",
|
|
1105
984
|
"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[]`} - ",
|
|
@@ -2264,27 +2143,19 @@
|
|
|
2264
2143
|
"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[]`} - ",
|
|
2265
2144
|
"attributes": []
|
|
2266
2145
|
},
|
|
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
|
-
},
|
|
2277
2146
|
{
|
|
2278
2147
|
"name": "umb-input-document",
|
|
2279
|
-
"description": "
|
|
2148
|
+
"description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\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 * `selectedIds` {`string[]`} - \n\n * `value` {`string`} - \n\n * `_items` {`any[] | undefined`} - \n\n * `_modalContext` - \n\n * `_documentStore` - \n\n * `_pickedItemsObserver` - \n\n * `styles` {`any[]`} - ",
|
|
2280
2149
|
"attributes": [
|
|
2281
2150
|
{
|
|
2282
2151
|
"name": "min",
|
|
2283
|
-
"description": "`min` {number} - This is a minimum amount of selected items in this input.\n\nProperty: min\n\nDefault:
|
|
2152
|
+
"description": "`min` {number} - This is a minimum amount of selected items in this input.\n\nProperty: min\n\nDefault: undefined",
|
|
2153
|
+
"values": []
|
|
2284
2154
|
},
|
|
2285
2155
|
{
|
|
2286
2156
|
"name": "max",
|
|
2287
|
-
"description": "`max` {number} - This is a maximum amount of selected items in this input.\n\nProperty: max\n\nDefault:
|
|
2157
|
+
"description": "`max` {number} - This is a maximum amount of selected items in this input.\n\nProperty: max\n\nDefault: undefined",
|
|
2158
|
+
"values": []
|
|
2288
2159
|
},
|
|
2289
2160
|
{
|
|
2290
2161
|
"name": "min-message",
|
|
@@ -2297,6 +2168,10 @@
|
|
|
2297
2168
|
{
|
|
2298
2169
|
"name": "value",
|
|
2299
2170
|
"description": "`value` {`string`} - \n\nProperty: value"
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
"name": "onchange",
|
|
2174
|
+
"description": "`change` {`CustomEvent<unknown>`} - "
|
|
2300
2175
|
}
|
|
2301
2176
|
]
|
|
2302
2177
|
},
|
|
@@ -2650,15 +2525,17 @@
|
|
|
2650
2525
|
},
|
|
2651
2526
|
{
|
|
2652
2527
|
"name": "umb-input-media",
|
|
2653
|
-
"description": "
|
|
2528
|
+
"description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\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 * `selectedIds` {`string[]`} - \n\n * `value` {`string`} - \n\n * `_items` {`any[] | undefined`} - \n\n * `_modalContext` - \n\n * `_pickedItemsObserver` - \n\n * `_repository` - \n\n * `styles` {`any[]`} - ",
|
|
2654
2529
|
"attributes": [
|
|
2655
2530
|
{
|
|
2656
2531
|
"name": "min",
|
|
2657
|
-
"description": "`min` {number} - This is a minimum amount of selected items in this input.\n\nProperty: min\n\nDefault:
|
|
2532
|
+
"description": "`min` {number} - This is a minimum amount of selected items in this input.\n\nProperty: min\n\nDefault: undefined",
|
|
2533
|
+
"values": []
|
|
2658
2534
|
},
|
|
2659
2535
|
{
|
|
2660
2536
|
"name": "max",
|
|
2661
|
-
"description": "`max` {number} - This is a maximum amount of selected items in this input.\n\nProperty: max\n\nDefault:
|
|
2537
|
+
"description": "`max` {number} - This is a maximum amount of selected items in this input.\n\nProperty: max\n\nDefault: undefined",
|
|
2538
|
+
"values": []
|
|
2662
2539
|
},
|
|
2663
2540
|
{
|
|
2664
2541
|
"name": "min-message",
|
|
@@ -2671,6 +2548,10 @@
|
|
|
2671
2548
|
{
|
|
2672
2549
|
"name": "value",
|
|
2673
2550
|
"description": "`value` {`string`} - \n\nProperty: value"
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
"name": "onchange",
|
|
2554
|
+
"description": "`change` {`CustomEvent<unknown>`} - "
|
|
2674
2555
|
}
|
|
2675
2556
|
]
|
|
2676
2557
|
},
|
|
@@ -3530,16 +3411,6 @@
|
|
|
3530
3411
|
"description": "Properties:\n\n * `_saveButtonState` - \n\n * `_workspaceContext` - \n\n * `styles` {`any[]`} - ",
|
|
3531
3412
|
"attributes": []
|
|
3532
3413
|
},
|
|
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
|
-
},
|
|
3543
3414
|
{
|
|
3544
3415
|
"name": "umb-user-group-workspace-editor",
|
|
3545
3416
|
"description": "Properties:\n\n * `_userGroup` - \n\n * `_userKeys` {`string[] | undefined`} - \n\n * `styles` {`any[]`} - ",
|
|
@@ -3611,26 +3482,6 @@
|
|
|
3611
3482
|
}
|
|
3612
3483
|
]
|
|
3613
3484
|
},
|
|
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
|
-
},
|
|
3634
3485
|
{
|
|
3635
3486
|
"name": "umb-user-create-modal",
|
|
3636
3487
|
"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--preview003",
|
|
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.6.1",
|
|
140
140
|
"tinymce-i18n": "^23.8.7",
|
|
141
141
|
"uuid": "^9.0.0"
|
|
142
142
|
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { UmbEntityData } from './entity.data.js';
|
|
2
|
-
import { PagedUserGroupResponseModel, UserGroupItemResponseModel, UserGroupResponseModel } from '../../external/backend-api/index.js';
|
|
3
|
-
declare class UmbUserGroupData extends UmbEntityData<UserGroupResponseModel> {
|
|
4
|
-
constructor(data: Array<UserGroupResponseModel>);
|
|
5
|
-
getAll(): PagedUserGroupResponseModel;
|
|
6
|
-
getItems(ids: Array<string>): Array<UserGroupItemResponseModel>;
|
|
7
|
-
/**
|
|
8
|
-
* Returns a list of permissions for the given user group ids
|
|
9
|
-
* @param {string[]} userGroupIds
|
|
10
|
-
* @return {*} {string[]}
|
|
11
|
-
* @memberof UmbUserGroupData
|
|
12
|
-
*/
|
|
13
|
-
getPermissions(userGroupIds: string[]): string[];
|
|
14
|
-
}
|
|
15
|
-
export declare const data: Array<UserGroupResponseModel>;
|
|
16
|
-
export declare const umbUserGroupData: UmbUserGroupData;
|
|
17
|
-
export {};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { UmbEntityData } from './entity.data.js';
|
|
2
|
-
import { UMB_USER_PERMISSION_DOCUMENT_CREATE, UMB_USER_PERMISSION_DOCUMENT_DELETE, UMB_USER_PERMISSION_DOCUMENT_READ, } from '../../packages/documents/documents/index.js';
|
|
3
|
-
const createUserGroupItem = (item) => {
|
|
4
|
-
return {
|
|
5
|
-
name: item.name,
|
|
6
|
-
id: item.id,
|
|
7
|
-
icon: item.icon,
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
// Temp mocked database
|
|
11
|
-
class UmbUserGroupData extends UmbEntityData {
|
|
12
|
-
constructor(data) {
|
|
13
|
-
super(data);
|
|
14
|
-
}
|
|
15
|
-
getAll() {
|
|
16
|
-
return {
|
|
17
|
-
total: this.data.length,
|
|
18
|
-
items: this.data,
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
getItems(ids) {
|
|
22
|
-
const items = this.data.filter((item) => ids.includes(item.id ?? ''));
|
|
23
|
-
return items.map((item) => createUserGroupItem(item));
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Returns a list of permissions for the given user group ids
|
|
27
|
-
* @param {string[]} userGroupIds
|
|
28
|
-
* @return {*} {string[]}
|
|
29
|
-
* @memberof UmbUserGroupData
|
|
30
|
-
*/
|
|
31
|
-
getPermissions(userGroupIds) {
|
|
32
|
-
const permissions = this.data
|
|
33
|
-
.filter((userGroup) => userGroupIds.includes(userGroup.id || ''))
|
|
34
|
-
.map((userGroup) => (userGroup.permissions?.length ? userGroup.permissions : []))
|
|
35
|
-
.flat();
|
|
36
|
-
// Remove duplicates
|
|
37
|
-
return [...new Set(permissions)];
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
export const data = [
|
|
41
|
-
{
|
|
42
|
-
id: 'c630d49e-4e7b-42ea-b2bc-edc0edacb6b1',
|
|
43
|
-
name: 'Administrators',
|
|
44
|
-
icon: 'umb:medal',
|
|
45
|
-
documentStartNodeId: 'all-property-editors-document-id',
|
|
46
|
-
permissions: [UMB_USER_PERMISSION_DOCUMENT_CREATE, UMB_USER_PERMISSION_DOCUMENT_DELETE],
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
id: '9d24dc47-a4bf-427f-8a4a-b900f03b8a12',
|
|
50
|
-
name: 'User Group 1',
|
|
51
|
-
icon: 'umb:bell',
|
|
52
|
-
permissions: [UMB_USER_PERMISSION_DOCUMENT_DELETE],
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
id: 'f4626511-b0d7-4ab1-aebc-a87871a5dcfa',
|
|
56
|
-
name: 'User Group 2',
|
|
57
|
-
icon: 'umb:ball',
|
|
58
|
-
permissions: [UMB_USER_PERMISSION_DOCUMENT_READ],
|
|
59
|
-
},
|
|
60
|
-
];
|
|
61
|
-
export const umbUserGroupData = new UmbUserGroupData(data);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { UmbEntityData } from './entity.data.js';
|
|
2
|
-
import { UmbLoggedInUser } from '../../shared/auth/index.js';
|
|
3
|
-
import { PagedUserResponseModel, UpdateUserGroupsOnUserRequestModel, UserItemResponseModel, UserResponseModel } from '../../external/backend-api/index.js';
|
|
4
|
-
declare class UmbUserData extends UmbEntityData<UserResponseModel> {
|
|
5
|
-
constructor(data: UserResponseModel[]);
|
|
6
|
-
getAll(): PagedUserResponseModel;
|
|
7
|
-
getItems(ids: Array<string>): Array<UserItemResponseModel>;
|
|
8
|
-
setUserGroups(data: UpdateUserGroupsOnUserRequestModel): void;
|
|
9
|
-
getCurrentUser(): UmbLoggedInUser;
|
|
10
|
-
}
|
|
11
|
-
export declare const data: Array<UserResponseModel & {
|
|
12
|
-
type: string;
|
|
13
|
-
}>;
|
|
14
|
-
export declare const umbUsersData: UmbUserData;
|
|
15
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const collectionHandlers: import("msw").RestHandler<import("msw/lib/glossary-de6278a9.js").M<import("msw/lib/glossary-de6278a9.js").h>>[];
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
const { rest } = window.MockServiceWorker;
|
|
2
|
-
import { umbUserGroupData } from '../../data/user-group.data.js';
|
|
3
|
-
import { slug } from './slug.js';
|
|
4
|
-
import { umbracoPath } from '../../../shared/utils/index.js';
|
|
5
|
-
export const collectionHandlers = [
|
|
6
|
-
rest.get(umbracoPath(`${slug}`), (req, res, ctx) => {
|
|
7
|
-
const response = umbUserGroupData.getAll();
|
|
8
|
-
return res(ctx.status(200), ctx.json(response));
|
|
9
|
-
}),
|
|
10
|
-
];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const detailHandlers: import("msw").RestHandler<import("msw/lib/glossary-de6278a9.js").M<import("msw/lib/glossary-de6278a9.js").h>>[];
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
const { rest } = window.MockServiceWorker;
|
|
2
|
-
import { umbUserGroupData } from '../../data/user-group.data.js';
|
|
3
|
-
import { slug } from './slug.js';
|
|
4
|
-
import { umbracoPath } from '../../../shared/utils/index.js';
|
|
5
|
-
export const detailHandlers = [
|
|
6
|
-
rest.post(umbracoPath(`${slug}`), async (req, res, ctx) => {
|
|
7
|
-
const data = await req.json();
|
|
8
|
-
if (!data)
|
|
9
|
-
return;
|
|
10
|
-
umbUserGroupData.insert(data);
|
|
11
|
-
return res(ctx.status(200));
|
|
12
|
-
}),
|
|
13
|
-
rest.get(umbracoPath(`${slug}/:id`), (req, res, ctx) => {
|
|
14
|
-
const id = req.params.id;
|
|
15
|
-
if (!id)
|
|
16
|
-
return;
|
|
17
|
-
const dataType = umbUserGroupData.getById(id);
|
|
18
|
-
return res(ctx.status(200), ctx.json(dataType));
|
|
19
|
-
}),
|
|
20
|
-
rest.put(umbracoPath(`${slug}/:id`), async (req, res, ctx) => {
|
|
21
|
-
const id = req.params.id;
|
|
22
|
-
if (!id)
|
|
23
|
-
return;
|
|
24
|
-
const data = await req.json();
|
|
25
|
-
if (!data)
|
|
26
|
-
return;
|
|
27
|
-
umbUserGroupData.save(id, data);
|
|
28
|
-
return res(ctx.status(200));
|
|
29
|
-
}),
|
|
30
|
-
rest.delete(umbracoPath(`${slug}/:id`), async (req, res, ctx) => {
|
|
31
|
-
const id = req.params.id;
|
|
32
|
-
if (!id)
|
|
33
|
-
return;
|
|
34
|
-
umbUserGroupData.delete([id]);
|
|
35
|
-
return res(ctx.status(200));
|
|
36
|
-
}),
|
|
37
|
-
];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const itemHandlers: import("msw").RestHandler<import("msw/lib/glossary-de6278a9.js").M<import("msw/lib/glossary-de6278a9.js").h>>[];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
const { rest } = window.MockServiceWorker;
|
|
2
|
-
import { umbUserGroupData } from '../../data/user-group.data.js';
|
|
3
|
-
import { slug } from './slug.js';
|
|
4
|
-
import { umbracoPath } from '../../../shared/utils/index.js';
|
|
5
|
-
export const itemHandlers = [
|
|
6
|
-
rest.get(umbracoPath(`${slug}/item`), (req, res, ctx) => {
|
|
7
|
-
const ids = req.url.searchParams.getAll('id');
|
|
8
|
-
if (!ids)
|
|
9
|
-
return;
|
|
10
|
-
const items = umbUserGroupData.getItems(ids);
|
|
11
|
-
return res(ctx.status(200), ctx.json(items));
|
|
12
|
-
}),
|
|
13
|
-
];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const slug = "/user-group";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const slug = '/user-group';
|
package/dist-cms/packages/core/extension-registry/models/user-granular-permission.model.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ManifestElement } from '../../../../libs/extension-api/index.js';
|
|
2
|
-
export interface ManifestUserGranularPermission extends ManifestElement {
|
|
3
|
-
type: 'userGranularPermission';
|
|
4
|
-
meta: MetaUserGranularPermission;
|
|
5
|
-
}
|
|
6
|
-
export interface MetaUserGranularPermission {
|
|
7
|
-
entityType: string;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|