@umbraco-cms/backoffice 1.0.0-next.e3cf00d3 → 1.0.0-next.e8be58ec
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/collection.d.ts +9 -3
- package/context-api.d.ts +2 -2
- package/custom-elements.json +60 -60
- package/modal.d.ts +3 -4
- package/models.d.ts +3 -87
- package/package.json +1 -1
- package/repository.d.ts +1 -1
- package/section.d.ts +1 -3
- package/tree.d.ts +14 -0
- package/vscode-html-custom-data.json +49 -49
- package/workspace.d.ts +2 -2
package/collection.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
|
|
3
3
|
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
|
4
4
|
import { UmbObserverController } from '@umbraco-cms/backoffice/observable-api';
|
|
5
5
|
import { UmbCollectionRepository } from '@umbraco-cms/backoffice/repository';
|
|
6
|
-
import {
|
|
6
|
+
import { UmbCollectionFilterModel as UmbCollectionFilterModel$1 } from '@umbraco-cms/backoffice/collection';
|
|
7
7
|
|
|
8
|
-
declare class UmbCollectionContext<ItemType, FilterModelType extends
|
|
8
|
+
declare class UmbCollectionContext<ItemType, FilterModelType extends UmbCollectionFilterModel$1> {
|
|
9
9
|
#private;
|
|
10
10
|
private _host;
|
|
11
11
|
private _entityType;
|
|
@@ -29,4 +29,10 @@ declare class UmbCollectionContext<ItemType, FilterModelType extends UmbFilterMo
|
|
|
29
29
|
}
|
|
30
30
|
declare const UMB_COLLECTION_CONTEXT_TOKEN: UmbContextToken<UmbCollectionContext<any, any>>;
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
interface UmbCollectionFilterModel {
|
|
33
|
+
skip?: number;
|
|
34
|
+
take?: number;
|
|
35
|
+
filter?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { UMB_COLLECTION_CONTEXT_TOKEN, UmbCollectionContext, UmbCollectionFilterModel };
|
package/context-api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UmbControllerHostElement, UmbControllerInterface } from '@umbraco-cms/backoffice/controller';
|
|
2
2
|
import { UmbWorkspaceContextInterface } from '@umbraco-cms/backoffice/workspace';
|
|
3
|
-
import {
|
|
3
|
+
import { UmbEntityBase } from '@umbraco-cms/backoffice/models';
|
|
4
4
|
|
|
5
5
|
declare class UmbContextToken<T = unknown> {
|
|
6
6
|
protected alias: string;
|
|
@@ -170,7 +170,7 @@ interface UmbEntityWorkspaceContextInterface<EntityType = unknown> extends UmbWo
|
|
|
170
170
|
save(): Promise<void>;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
declare const UMB_ENTITY_WORKSPACE_CONTEXT: UmbContextToken<UmbEntityWorkspaceContextInterface<
|
|
173
|
+
declare const UMB_ENTITY_WORKSPACE_CONTEXT: UmbContextToken<UmbEntityWorkspaceContextInterface<UmbEntityBase>>;
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
176
|
* Change the collection of Contexts into a simplified array of data
|
package/custom-elements.json
CHANGED
|
@@ -4187,66 +4187,6 @@
|
|
|
4187
4187
|
}
|
|
4188
4188
|
]
|
|
4189
4189
|
},
|
|
4190
|
-
{
|
|
4191
|
-
"name": "umb-input-user-group",
|
|
4192
|
-
"path": "./../../src/backoffice/shared/components/input-user-group/input-user-group.element.ts",
|
|
4193
|
-
"attributes": [
|
|
4194
|
-
{
|
|
4195
|
-
"name": "value",
|
|
4196
|
-
"type": "string[]",
|
|
4197
|
-
"default": "[]"
|
|
4198
|
-
},
|
|
4199
|
-
{
|
|
4200
|
-
"name": "multiple",
|
|
4201
|
-
"type": "boolean",
|
|
4202
|
-
"default": "true"
|
|
4203
|
-
},
|
|
4204
|
-
{
|
|
4205
|
-
"name": "modalType",
|
|
4206
|
-
"default": "\"sidebar\""
|
|
4207
|
-
},
|
|
4208
|
-
{
|
|
4209
|
-
"name": "modalSize",
|
|
4210
|
-
"type": "UUIModalSidebarSize",
|
|
4211
|
-
"default": "\"small\""
|
|
4212
|
-
}
|
|
4213
|
-
],
|
|
4214
|
-
"properties": [
|
|
4215
|
-
{
|
|
4216
|
-
"name": "styles",
|
|
4217
|
-
"type": "CSSResult[]",
|
|
4218
|
-
"default": "[\"UUITextStyles\",null]"
|
|
4219
|
-
},
|
|
4220
|
-
{
|
|
4221
|
-
"name": "value",
|
|
4222
|
-
"attribute": "value",
|
|
4223
|
-
"type": "string[]",
|
|
4224
|
-
"default": "[]"
|
|
4225
|
-
},
|
|
4226
|
-
{
|
|
4227
|
-
"name": "multiple",
|
|
4228
|
-
"attribute": "multiple",
|
|
4229
|
-
"type": "boolean",
|
|
4230
|
-
"default": "true"
|
|
4231
|
-
},
|
|
4232
|
-
{
|
|
4233
|
-
"name": "modalType",
|
|
4234
|
-
"attribute": "modalType",
|
|
4235
|
-
"default": "\"sidebar\""
|
|
4236
|
-
},
|
|
4237
|
-
{
|
|
4238
|
-
"name": "modalSize",
|
|
4239
|
-
"attribute": "modalSize",
|
|
4240
|
-
"type": "UUIModalSidebarSize",
|
|
4241
|
-
"default": "\"small\""
|
|
4242
|
-
}
|
|
4243
|
-
],
|
|
4244
|
-
"events": [
|
|
4245
|
-
{
|
|
4246
|
-
"name": "change"
|
|
4247
|
-
}
|
|
4248
|
-
]
|
|
4249
|
-
},
|
|
4250
4190
|
{
|
|
4251
4191
|
"name": "umb-menu-item-base",
|
|
4252
4192
|
"path": "./../../src/backoffice/shared/components/menu/menu-item-base/menu-item-base.element.ts",
|
|
@@ -7490,6 +7430,66 @@
|
|
|
7490
7430
|
}
|
|
7491
7431
|
]
|
|
7492
7432
|
},
|
|
7433
|
+
{
|
|
7434
|
+
"name": "umb-input-user-group",
|
|
7435
|
+
"path": "./../../src/backoffice/users/user-groups/components/input-user-group/input-user-group.element.ts",
|
|
7436
|
+
"attributes": [
|
|
7437
|
+
{
|
|
7438
|
+
"name": "value",
|
|
7439
|
+
"type": "string[]",
|
|
7440
|
+
"default": "[]"
|
|
7441
|
+
},
|
|
7442
|
+
{
|
|
7443
|
+
"name": "multiple",
|
|
7444
|
+
"type": "boolean",
|
|
7445
|
+
"default": "true"
|
|
7446
|
+
},
|
|
7447
|
+
{
|
|
7448
|
+
"name": "modalType",
|
|
7449
|
+
"default": "\"sidebar\""
|
|
7450
|
+
},
|
|
7451
|
+
{
|
|
7452
|
+
"name": "modalSize",
|
|
7453
|
+
"type": "UUIModalSidebarSize",
|
|
7454
|
+
"default": "\"small\""
|
|
7455
|
+
}
|
|
7456
|
+
],
|
|
7457
|
+
"properties": [
|
|
7458
|
+
{
|
|
7459
|
+
"name": "styles",
|
|
7460
|
+
"type": "CSSResult[]",
|
|
7461
|
+
"default": "[\"UUITextStyles\",null]"
|
|
7462
|
+
},
|
|
7463
|
+
{
|
|
7464
|
+
"name": "value",
|
|
7465
|
+
"attribute": "value",
|
|
7466
|
+
"type": "string[]",
|
|
7467
|
+
"default": "[]"
|
|
7468
|
+
},
|
|
7469
|
+
{
|
|
7470
|
+
"name": "multiple",
|
|
7471
|
+
"attribute": "multiple",
|
|
7472
|
+
"type": "boolean",
|
|
7473
|
+
"default": "true"
|
|
7474
|
+
},
|
|
7475
|
+
{
|
|
7476
|
+
"name": "modalType",
|
|
7477
|
+
"attribute": "modalType",
|
|
7478
|
+
"default": "\"sidebar\""
|
|
7479
|
+
},
|
|
7480
|
+
{
|
|
7481
|
+
"name": "modalSize",
|
|
7482
|
+
"attribute": "modalSize",
|
|
7483
|
+
"type": "UUIModalSidebarSize",
|
|
7484
|
+
"default": "\"small\""
|
|
7485
|
+
}
|
|
7486
|
+
],
|
|
7487
|
+
"events": [
|
|
7488
|
+
{
|
|
7489
|
+
"name": "change"
|
|
7490
|
+
}
|
|
7491
|
+
]
|
|
7492
|
+
},
|
|
7493
7493
|
{
|
|
7494
7494
|
"name": "umb-user-group-picker-modal",
|
|
7495
7495
|
"path": "./../../src/backoffice/users/user-groups/modals/user-group-picker/user-group-picker-modal.element.ts",
|
package/modal.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
|
|
9
9
|
import { Params } from '@umbraco-cms/backoffice/router';
|
|
10
10
|
import { UmbModalToken as UmbModalToken$1, UmbModalConfig as UmbModalConfig$1, UmbPickerModalData as UmbPickerModalData$1 } from '@umbraco-cms/backoffice/modal';
|
|
11
11
|
import { LanguageResponseModel, UserResponseModel, FolderReponseModel } from '@umbraco-cms/backoffice/backend-api';
|
|
12
|
-
import { UserDetails } from '@umbraco-cms/backoffice/models';
|
|
13
12
|
|
|
14
13
|
declare class UmbSearchModalElement extends LitElement {
|
|
15
14
|
#private;
|
|
@@ -382,7 +381,7 @@ interface UmbTemplatePickerModalResult {
|
|
|
382
381
|
}
|
|
383
382
|
declare const UMB_TEMPLATE_PICKER_MODAL: UmbModalToken$1<UmbTemplatePickerModalData, UmbTemplatePickerModalResult>;
|
|
384
383
|
|
|
385
|
-
declare const UMB_USER_GROUP_PICKER_MODAL: UmbModalToken$1<UmbPickerModalData$1<
|
|
384
|
+
declare const UMB_USER_GROUP_PICKER_MODAL: UmbModalToken$1<UmbPickerModalData$1<any>, unknown>;
|
|
386
385
|
|
|
387
386
|
type UmbUserPickerModalData = UmbPickerModalData$1<UserResponseModel>;
|
|
388
387
|
interface UmbUserPickerModalResult {
|
|
@@ -410,11 +409,11 @@ declare const UMB_DATA_TYPE_PICKER_MODAL: UmbModalToken$1<UmbDataTypePickerModal
|
|
|
410
409
|
|
|
411
410
|
interface UmbPickerModalData<T> {
|
|
412
411
|
multiple: boolean;
|
|
413
|
-
selection: Array<string>;
|
|
412
|
+
selection: Array<string | null>;
|
|
414
413
|
filter?: (item: T) => boolean;
|
|
415
414
|
}
|
|
416
415
|
interface UmbPickerModalResult {
|
|
417
|
-
selection: Array<string>;
|
|
416
|
+
selection: Array<string | null>;
|
|
418
417
|
}
|
|
419
418
|
|
|
420
419
|
export { OEmbedResult, OEmbedStatus, UMB_ALLOWED_DOCUMENT_TYPES_MODAL, UMB_CHANGE_PASSWORD_MODAL, UMB_CONFIRM_MODAL, UMB_CONTEXT_DEBUGGER_MODAL, UMB_CREATE_DICTIONARY_MODAL, UMB_CREATE_USER_MODAL, UMB_CURRENT_USER_MODAL, UMB_DATA_TYPE_PICKER_MODAL, UMB_DOCUMENT_PICKER_MODAL, UMB_DOCUMENT_TYPE_PICKER_MODAL, UMB_EMBEDDED_MEDIA_MODAL, UMB_EXAMINE_FIELDS_SETTINGS_MODAL, UMB_EXPORT_DICTIONARY_MODAL, UMB_FOLDER_MODAL, UMB_ICON_PICKER_MODAL, UMB_IMPORT_DICTIONARY_MODAL, UMB_INVITE_USER_MODAL, UMB_LANGUAGE_PICKER_MODAL, UMB_LINK_PICKER_MODAL, UMB_MEDIA_PICKER_MODAL, UMB_MODAL_CONTEXT_TOKEN, UMB_PROPERTY_EDITOR_UI_PICKER_MODAL, UMB_PROPERTY_SETTINGS_MODAL, UMB_SEARCH_MODAL, UMB_SECTION_PICKER_MODAL, UMB_TEMPLATE_MODAL, UMB_TEMPLATE_PICKER_MODAL, UMB_USER_GROUP_PICKER_MODAL, UMB_USER_PICKER_MODAL, UmbAllowedDocumentTypesModalData, UmbAllowedDocumentTypesModalResult, UmbChangePasswordModalData, UmbConfirmModalData, UmbConfirmModalResult, UmbContextDebuggerModalData, UmbCreateDictionaryModalData, UmbCreateDictionaryModalResult, UmbCreateDocumentModalResultData, UmbDataTypePickerModalData, UmbDataTypePickerModalResult, UmbDocumentPickerModalData, UmbDocumentPickerModalResult, UmbDocumentTypePickerModalData, UmbDocumentTypePickerModalResult, UmbEmbeddedMediaModalData, UmbEmbeddedMediaModalResult, UmbExamineFieldsSettingsModalData, UmbExportDictionaryModalData, UmbExportDictionaryModalResult, UmbFolderModalData, UmbFolderModalResult, UmbIconPickerModalData, UmbIconPickerModalResult, UmbImportDictionaryModalData, UmbImportDictionaryModalResult, UmbLanguagePickerModalData, UmbLanguagePickerModalResult, UmbLinkPickerConfig, UmbLinkPickerLink, UmbLinkPickerModalData, UmbLinkPickerModalResult, UmbMediaPickerModalData, UmbMediaPickerModalResult, UmbModalConfig, UmbModalContext, UmbModalHandler, UmbModalHandlerClass, UmbModalRouteBuilder, UmbModalRouteRegistration, UmbModalRouteRegistrationController, UmbModalToken, UmbModalType, UmbPickerModalData, UmbPickerModalResult, UmbPropertyEditorUIPickerModalData, UmbPropertyEditorUIPickerModalResult, UmbPropertySettingsModalResult, UmbSectionPickerModalData, UmbTemplateModalData, UmbTemplateModalResult, UmbTemplatePickerModalData, UmbTemplatePickerModalResult, UmbUserPickerModalData, UmbUserPickerModalResult };
|
package/models.d.ts
CHANGED
|
@@ -1,97 +1,13 @@
|
|
|
1
|
-
import { EntityTreeItemResponseModel, FolderTreeItemResponseModel, PackageManifestResponseModel } from '@umbraco-cms/backoffice/backend-api';
|
|
2
|
-
|
|
3
1
|
type HTMLElementConstructor<T = HTMLElement> = new (...args: any[]) => T;
|
|
4
2
|
type ClassConstructor<T> = new (...args: any[]) => T;
|
|
5
|
-
interface Entity {
|
|
6
|
-
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
icon: string;
|
|
9
|
-
type: string;
|
|
10
|
-
hasChildren: boolean;
|
|
11
|
-
parentId: string | null;
|
|
12
|
-
}
|
|
13
3
|
/** Tried to find a common base of our entities — used by Entity Workspace Context */
|
|
14
|
-
type
|
|
4
|
+
type UmbEntityBase = {
|
|
15
5
|
id?: string;
|
|
16
6
|
name?: string;
|
|
17
7
|
};
|
|
18
|
-
interface
|
|
19
|
-
type: 'user';
|
|
20
|
-
}
|
|
21
|
-
type UserStatus = 'enabled' | 'inactive' | 'invited' | 'disabled';
|
|
22
|
-
interface UserDetails extends UserEntity {
|
|
23
|
-
email: string;
|
|
24
|
-
status: UserStatus;
|
|
25
|
-
language: string;
|
|
26
|
-
lastLoginDate?: string;
|
|
27
|
-
lastLockoutDate?: string;
|
|
28
|
-
lastPasswordChangeDate?: string;
|
|
29
|
-
updateDate: string;
|
|
30
|
-
createDate: string;
|
|
31
|
-
failedLoginAttempts: number;
|
|
32
|
-
userGroups: Array<string>;
|
|
33
|
-
contentStartNodes: Array<string>;
|
|
34
|
-
mediaStartNodes: Array<string>;
|
|
35
|
-
}
|
|
36
|
-
interface UserGroupEntity extends Entity {
|
|
37
|
-
type: 'user-group';
|
|
38
|
-
}
|
|
39
|
-
interface UserGroupDetails extends UserGroupEntity {
|
|
40
|
-
sections: Array<string>;
|
|
41
|
-
contentStartNode?: string;
|
|
42
|
-
mediaStartNode?: string;
|
|
43
|
-
permissions: Array<string>;
|
|
44
|
-
}
|
|
45
|
-
interface MemberTypeDetails extends EntityTreeItemResponseModel {
|
|
46
|
-
id: string;
|
|
47
|
-
alias: string;
|
|
48
|
-
properties: [];
|
|
49
|
-
}
|
|
50
|
-
interface MediaTypeDetails extends FolderTreeItemResponseModel {
|
|
51
|
-
id: string;
|
|
52
|
-
alias: string;
|
|
53
|
-
properties: [];
|
|
54
|
-
}
|
|
55
|
-
interface MemberGroupDetails extends EntityTreeItemResponseModel {
|
|
56
|
-
id: string;
|
|
57
|
-
}
|
|
58
|
-
interface MemberDetails extends EntityTreeItemResponseModel {
|
|
59
|
-
id: string;
|
|
60
|
-
}
|
|
61
|
-
interface DocumentBlueprintDetails {
|
|
62
|
-
id: string;
|
|
63
|
-
name: string;
|
|
64
|
-
type: 'document-blueprint';
|
|
65
|
-
properties: Array<any>;
|
|
66
|
-
data: Array<any>;
|
|
67
|
-
icon: string;
|
|
68
|
-
documentTypeKey: string;
|
|
69
|
-
}
|
|
70
|
-
interface SwatchDetails {
|
|
8
|
+
interface UmbSwatchDetails {
|
|
71
9
|
label: string;
|
|
72
10
|
value: string;
|
|
73
11
|
}
|
|
74
|
-
type UmbPackage = PackageManifestResponseModel;
|
|
75
|
-
type PackageManifestResponse = UmbPackage[];
|
|
76
|
-
type UmbPackageWithMigrationStatus = UmbPackage & {
|
|
77
|
-
hasPendingMigrations: boolean;
|
|
78
|
-
};
|
|
79
|
-
interface UmbFilterModel {
|
|
80
|
-
skip?: number;
|
|
81
|
-
take?: number;
|
|
82
|
-
filter?: string;
|
|
83
|
-
}
|
|
84
|
-
interface UmbTreeRootModel {
|
|
85
|
-
type: string;
|
|
86
|
-
name: string;
|
|
87
|
-
hasChildren: boolean;
|
|
88
|
-
icon?: string;
|
|
89
|
-
}
|
|
90
|
-
interface UmbTreeRootEntityModel extends UmbTreeRootModel {
|
|
91
|
-
id: string | null;
|
|
92
|
-
}
|
|
93
|
-
interface UmbTreeRootFileSystemModel extends UmbTreeRootModel {
|
|
94
|
-
path: string | null;
|
|
95
|
-
}
|
|
96
12
|
|
|
97
|
-
export {
|
|
13
|
+
export { ClassConstructor, HTMLElementConstructor, UmbEntityBase, UmbSwatchDetails };
|
package/package.json
CHANGED
package/repository.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiError, CancelError, FolderReponseModel, CreateFolderRequestModel, UpdateFolderReponseModel, TreeItemPresentationModel, ProblemDetailsModel, FolderModelBaseModel, ItemResponseModelBaseModel } from '@umbraco-cms/backoffice/backend-api';
|
|
2
2
|
import { DataSourceResponse as DataSourceResponse$1, UmbDataSourceErrorResponse as UmbDataSourceErrorResponse$1 } from '@umbraco-cms/backoffice/repository';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { UmbTreeRootModel, UmbTreeRootEntityModel } from '@umbraco-cms/backoffice/
|
|
4
|
+
import { UmbTreeRootModel, UmbTreeRootEntityModel } from '@umbraco-cms/backoffice/tree';
|
|
5
5
|
|
|
6
6
|
interface DataSourceResponse<T = undefined> extends UmbDataSourceErrorResponse {
|
|
7
7
|
data?: T;
|
package/section.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import * as rxjs from 'rxjs';
|
|
|
2
2
|
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
|
3
3
|
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
|
4
4
|
import { ManifestSection } from '@umbraco-cms/backoffice/extensions-registry';
|
|
5
|
-
import { Entity } from '@umbraco-cms/backoffice/models';
|
|
6
5
|
|
|
7
6
|
declare class UmbSectionSidebarContext {
|
|
8
7
|
#private;
|
|
@@ -17,7 +16,6 @@ declare class UmbSectionSidebarContext {
|
|
|
17
16
|
}
|
|
18
17
|
declare const UMB_SECTION_SIDEBAR_CONTEXT_TOKEN: UmbContextToken<UmbSectionSidebarContext>;
|
|
19
18
|
|
|
20
|
-
type ActiveTreeItemType = Entity | undefined;
|
|
21
19
|
declare class UmbSectionContext {
|
|
22
20
|
#private;
|
|
23
21
|
readonly alias: rxjs.Observable<string | undefined>;
|
|
@@ -28,4 +26,4 @@ declare class UmbSectionContext {
|
|
|
28
26
|
}
|
|
29
27
|
declare const UMB_SECTION_CONTEXT_TOKEN: UmbContextToken<UmbSectionContext>;
|
|
30
28
|
|
|
31
|
-
export {
|
|
29
|
+
export { UMB_SECTION_CONTEXT_TOKEN, UMB_SECTION_SIDEBAR_CONTEXT_TOKEN, UmbSectionContext, UmbSectionSidebarContext };
|
package/tree.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface UmbTreeRootModel {
|
|
2
|
+
type: string;
|
|
3
|
+
name: string;
|
|
4
|
+
hasChildren: boolean;
|
|
5
|
+
icon?: string;
|
|
6
|
+
}
|
|
7
|
+
interface UmbTreeRootEntityModel extends UmbTreeRootModel {
|
|
8
|
+
id: string | null;
|
|
9
|
+
}
|
|
10
|
+
interface UmbTreeRootFileSystemModel extends UmbTreeRootModel {
|
|
11
|
+
path: string | null;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { UmbTreeRootEntityModel, UmbTreeRootFileSystemModel, UmbTreeRootModel };
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
298
|
"name": "umb-member-group-workspace-edit",
|
|
299
|
-
"description": "Properties:\n\n * `_memberGroup` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
299
|
+
"description": "Properties:\n\n * `_memberGroup` {`MemberGroupDetails | undefined`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
300
300
|
"attributes": []
|
|
301
301
|
},
|
|
302
302
|
{
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
},
|
|
307
307
|
{
|
|
308
308
|
"name": "umb-workspace-view-member-group-info",
|
|
309
|
-
"description": "Properties:\n\n * `_memberGroup` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
309
|
+
"description": "Properties:\n\n * `_memberGroup` {`MemberGroupDetails | undefined`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
310
310
|
"attributes": []
|
|
311
311
|
},
|
|
312
312
|
{
|
|
@@ -1689,47 +1689,6 @@
|
|
|
1689
1689
|
}
|
|
1690
1690
|
]
|
|
1691
1691
|
},
|
|
1692
|
-
{
|
|
1693
|
-
"name": "umb-input-user-group",
|
|
1694
|
-
"description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string[]`} - \n\n * `multiple` {`boolean`} - \n\n * `modalType` - \n\n * `modalSize` {`UUIModalSidebarSize`} - \n\nProperties:\n\n * `_userGroups` {`any[]`} - \n\n * `_userGroupStore` - \n\n * `styles` {`CSSResult[]`} - \n\n * `value` {`string[]`} - \n\n * `multiple` {`boolean`} - \n\n * `modalType` - \n\n * `modalSize` {`UUIModalSidebarSize`} - \n\n * `pickerToken` - \n\n * `_modalContext` - ",
|
|
1695
|
-
"attributes": [
|
|
1696
|
-
{
|
|
1697
|
-
"name": "value",
|
|
1698
|
-
"description": "`value` {`string[]`} - \n\nProperty: value\n\nDefault: "
|
|
1699
|
-
},
|
|
1700
|
-
{
|
|
1701
|
-
"name": "multiple",
|
|
1702
|
-
"description": "`multiple` {`boolean`} - \n\nProperty: multiple\n\nDefault: true",
|
|
1703
|
-
"valueSet": "v"
|
|
1704
|
-
},
|
|
1705
|
-
{
|
|
1706
|
-
"name": "modalType",
|
|
1707
|
-
"description": "`modalType` - \n\nProperty: modalType\n\nDefault: sidebar"
|
|
1708
|
-
},
|
|
1709
|
-
{
|
|
1710
|
-
"name": "modalSize",
|
|
1711
|
-
"description": "`modalSize` {`UUIModalSidebarSize`} - \n\nProperty: modalSize\n\nDefault: small",
|
|
1712
|
-
"values": [
|
|
1713
|
-
{
|
|
1714
|
-
"name": "small"
|
|
1715
|
-
},
|
|
1716
|
-
{
|
|
1717
|
-
"name": "large"
|
|
1718
|
-
},
|
|
1719
|
-
{
|
|
1720
|
-
"name": "medium"
|
|
1721
|
-
},
|
|
1722
|
-
{
|
|
1723
|
-
"name": "full"
|
|
1724
|
-
}
|
|
1725
|
-
]
|
|
1726
|
-
},
|
|
1727
|
-
{
|
|
1728
|
-
"name": "onchange",
|
|
1729
|
-
"description": "`change` {`CustomEvent<unknown>`} - "
|
|
1730
|
-
}
|
|
1731
|
-
]
|
|
1732
|
-
},
|
|
1733
1692
|
{
|
|
1734
1693
|
"name": "umb-menu-item-base",
|
|
1735
1694
|
"description": "Attributes:\n\n * `entity-type` {`string | undefined`} - \n\n * `icon-name` {`string`} - \n\n * `label` {`string`} - \n\n * `has-children` {`boolean`} - \n\nProperties:\n\n * `_entityType` {`string | undefined`} - \n\n * `entityType` {`string | undefined`} - \n\n * `iconName` {`string`} - \n\n * `label` {`string`} - \n\n * `hasChildren` {`boolean`} - \n\n * `_href` {`string | undefined`} - \n\n * `_hasActions` {`boolean`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
@@ -2952,7 +2911,7 @@
|
|
|
2952
2911
|
},
|
|
2953
2912
|
{
|
|
2954
2913
|
"name": "umb-current-user-header-app",
|
|
2955
|
-
"description": "Properties:\n\n * `_currentUser` - \n\n * `_currentUserStore` - \n\n * `_modalContext` - \n\n * `styles` - ",
|
|
2914
|
+
"description": "Properties:\n\n * `_currentUser` {`UmbLoggedInUser | undefined`} - \n\n * `_currentUserStore` - \n\n * `_modalContext` - \n\n * `styles` - ",
|
|
2956
2915
|
"attributes": []
|
|
2957
2916
|
},
|
|
2958
2917
|
{
|
|
@@ -2967,7 +2926,7 @@
|
|
|
2967
2926
|
},
|
|
2968
2927
|
{
|
|
2969
2928
|
"name": "umb-current-user-modal",
|
|
2970
|
-
"description": "Properties:\n\n * `modalHandler` - \n\n * `_currentUser` - \n\n * `_currentUserStore` - \n\n * `styles` - ",
|
|
2929
|
+
"description": "Properties:\n\n * `modalHandler` - \n\n * `_currentUser` {`UmbLoggedInUser | undefined`} - \n\n * `_currentUserStore` - \n\n * `styles` - ",
|
|
2971
2930
|
"attributes": []
|
|
2972
2931
|
},
|
|
2973
2932
|
{
|
|
@@ -2987,7 +2946,7 @@
|
|
|
2987
2946
|
},
|
|
2988
2947
|
{
|
|
2989
2948
|
"name": "umb-user-profile-app-profile",
|
|
2990
|
-
"description": "Properties:\n\n * `_currentUser` - \n\n * `_modalContext` - \n\n * `_currentUserStore` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
2949
|
+
"description": "Properties:\n\n * `_currentUser` {`UmbLoggedInUser | undefined`} - \n\n * `_modalContext` - \n\n * `_currentUserStore` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
2991
2950
|
"attributes": []
|
|
2992
2951
|
},
|
|
2993
2952
|
{
|
|
@@ -2995,9 +2954,50 @@
|
|
|
2995
2954
|
"description": "Properties:\n\n * `_themeAlias` {`string | null`} - \n\n * `_themes` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
2996
2955
|
"attributes": []
|
|
2997
2956
|
},
|
|
2957
|
+
{
|
|
2958
|
+
"name": "umb-input-user-group",
|
|
2959
|
+
"description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string[]`} - \n\n * `multiple` {`boolean`} - \n\n * `modalType` - \n\n * `modalSize` {`UUIModalSidebarSize`} - \n\nProperties:\n\n * `_userGroups` {`UserGroupEntity[]`} - \n\n * `_userGroupStore` - \n\n * `styles` {`CSSResult[]`} - \n\n * `value` {`string[]`} - \n\n * `multiple` {`boolean`} - \n\n * `modalType` - \n\n * `modalSize` {`UUIModalSidebarSize`} - \n\n * `pickerToken` - \n\n * `_modalContext` - ",
|
|
2960
|
+
"attributes": [
|
|
2961
|
+
{
|
|
2962
|
+
"name": "value",
|
|
2963
|
+
"description": "`value` {`string[]`} - \n\nProperty: value\n\nDefault: "
|
|
2964
|
+
},
|
|
2965
|
+
{
|
|
2966
|
+
"name": "multiple",
|
|
2967
|
+
"description": "`multiple` {`boolean`} - \n\nProperty: multiple\n\nDefault: true",
|
|
2968
|
+
"valueSet": "v"
|
|
2969
|
+
},
|
|
2970
|
+
{
|
|
2971
|
+
"name": "modalType",
|
|
2972
|
+
"description": "`modalType` - \n\nProperty: modalType\n\nDefault: sidebar"
|
|
2973
|
+
},
|
|
2974
|
+
{
|
|
2975
|
+
"name": "modalSize",
|
|
2976
|
+
"description": "`modalSize` {`UUIModalSidebarSize`} - \n\nProperty: modalSize\n\nDefault: small",
|
|
2977
|
+
"values": [
|
|
2978
|
+
{
|
|
2979
|
+
"name": "small"
|
|
2980
|
+
},
|
|
2981
|
+
{
|
|
2982
|
+
"name": "large"
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"name": "medium"
|
|
2986
|
+
},
|
|
2987
|
+
{
|
|
2988
|
+
"name": "full"
|
|
2989
|
+
}
|
|
2990
|
+
]
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"name": "onchange",
|
|
2994
|
+
"description": "`change` {`CustomEvent<unknown>`} - "
|
|
2995
|
+
}
|
|
2996
|
+
]
|
|
2997
|
+
},
|
|
2998
2998
|
{
|
|
2999
2999
|
"name": "umb-user-group-picker-modal",
|
|
3000
|
-
"description": "Properties:\n\n * `_userGroups` {`
|
|
3000
|
+
"description": "Properties:\n\n * `_userGroups` {`UserGroupDetails[]`} - \n\n * `_userGroupStore` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
3001
3001
|
"attributes": []
|
|
3002
3002
|
},
|
|
3003
3003
|
{
|
|
@@ -3022,7 +3022,7 @@
|
|
|
3022
3022
|
},
|
|
3023
3023
|
{
|
|
3024
3024
|
"name": "umb-user-group-workspace-edit",
|
|
3025
|
-
"description": "Properties:\n\n * `defaultPermissions` {`{ name: string; permissions: { name: string; description: string; value: boolean; }[]; }[]`} - \n\n * `_userStore` - \n\n * `_userGroup` - \n\n * `_userKeys` {`string[] | undefined`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
3025
|
+
"description": "Properties:\n\n * `defaultPermissions` {`{ name: string; permissions: { name: string; description: string; value: boolean; }[]; }[]`} - \n\n * `_userStore` - \n\n * `_userGroup` {`UserGroupDetails | undefined`} - \n\n * `_userKeys` {`string[] | undefined`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
3026
3026
|
"attributes": []
|
|
3027
3027
|
},
|
|
3028
3028
|
{
|
|
@@ -3032,7 +3032,7 @@
|
|
|
3032
3032
|
},
|
|
3033
3033
|
{
|
|
3034
3034
|
"name": "umb-workspace-view-user-groups",
|
|
3035
|
-
"description": "Properties:\n\n * `_userGroups` {`
|
|
3035
|
+
"description": "Properties:\n\n * `_userGroups` {`UserGroupDetails[]`} - \n\n * `_tableConfig` {`UmbTableConfig`} - \n\n * `_tableColumns` {`UmbTableColumn[]`} - \n\n * `_tableItems` {`UmbTableItem[]`} - \n\n * `_selection` {`string[]`} - \n\n * `_userGroupStore` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
3036
3036
|
"attributes": []
|
|
3037
3037
|
},
|
|
3038
3038
|
{
|
package/workspace.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as rxjs from 'rxjs';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
|
4
4
|
import { UmbWorkspaceContextInterface as UmbWorkspaceContextInterface$1 } from '@umbraco-cms/backoffice/workspace';
|
|
5
|
-
import {
|
|
5
|
+
import { UmbEntityBase } from '@umbraco-cms/backoffice/models';
|
|
6
6
|
|
|
7
7
|
interface UmbWorkspaceContextInterface<DataType = unknown> {
|
|
8
8
|
host: UmbControllerHostElement;
|
|
@@ -23,7 +23,7 @@ interface UmbEntityWorkspaceContextInterface<EntityType = unknown> extends UmbWo
|
|
|
23
23
|
save(): Promise<void>;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
declare abstract class UmbWorkspaceContext<T, EntityType extends
|
|
26
|
+
declare abstract class UmbWorkspaceContext<T, EntityType extends UmbEntityBase> implements UmbEntityWorkspaceContextInterface<EntityType> {
|
|
27
27
|
#private;
|
|
28
28
|
host: UmbControllerHostElement;
|
|
29
29
|
repository: T;
|