@umbraco-cms/backoffice 1.0.0-next.47cc3341 → 1.0.0-next.4e56c5c5
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/backend-api.d.ts +592 -270
- package/context-api.d.ts +1 -1
- package/custom-elements.json +21 -21
- package/modal.d.ts +5 -5
- package/models.d.ts +8 -8
- package/observable-api.d.ts +10 -10
- package/package.json +1 -1
- package/repository.d.ts +7 -7
- package/store.d.ts +11 -11
- package/vscode-html-custom-data.json +22 -22
- package/workspace.d.ts +1 -1
package/context-api.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ declare class UmbContextProvideEventImplementation extends Event implements UmbC
|
|
|
165
165
|
declare const isUmbContextProvideEventType: (event: Event) => event is UmbContextProvideEventImplementation;
|
|
166
166
|
|
|
167
167
|
interface UmbEntityWorkspaceContextInterface<EntityType = unknown> extends UmbWorkspaceContextInterface<EntityType> {
|
|
168
|
-
|
|
168
|
+
getEntityId(): string | undefined;
|
|
169
169
|
getEntityType(): string;
|
|
170
170
|
save(): Promise<void>;
|
|
171
171
|
}
|
package/custom-elements.json
CHANGED
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
],
|
|
155
155
|
"properties": [
|
|
156
156
|
{
|
|
157
|
-
"name": "
|
|
157
|
+
"name": "containerId",
|
|
158
158
|
"type": "string | undefined"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
"path": "./src/backoffice/documents/document-types/workspace/views/design/document-type-workspace-view-edit-tab.element.ts",
|
|
217
217
|
"attributes": [
|
|
218
218
|
{
|
|
219
|
-
"name": "
|
|
219
|
+
"name": "ownerTabId",
|
|
220
220
|
"type": "string | undefined"
|
|
221
221
|
},
|
|
222
222
|
{
|
|
@@ -235,8 +235,8 @@
|
|
|
235
235
|
"default": "[\"UUITextStyles\",null]"
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
|
-
"name": "
|
|
239
|
-
"attribute": "
|
|
238
|
+
"name": "ownerTabId",
|
|
239
|
+
"attribute": "ownerTabId",
|
|
240
240
|
"type": "string | undefined"
|
|
241
241
|
},
|
|
242
242
|
{
|
|
@@ -714,7 +714,7 @@
|
|
|
714
714
|
"path": "./src/backoffice/packages/package-builder/workspace/workspace-package-builder.element.ts",
|
|
715
715
|
"attributes": [
|
|
716
716
|
{
|
|
717
|
-
"name": "
|
|
717
|
+
"name": "entityId",
|
|
718
718
|
"type": "string | undefined"
|
|
719
719
|
}
|
|
720
720
|
],
|
|
@@ -725,8 +725,8 @@
|
|
|
725
725
|
"default": "[\"UUITextStyles\",null]"
|
|
726
726
|
},
|
|
727
727
|
{
|
|
728
|
-
"name": "
|
|
729
|
-
"attribute": "
|
|
728
|
+
"name": "entityId",
|
|
729
|
+
"attribute": "entityId",
|
|
730
730
|
"type": "string | undefined"
|
|
731
731
|
}
|
|
732
732
|
]
|
|
@@ -736,7 +736,7 @@
|
|
|
736
736
|
"path": "./src/backoffice/packages/package-repo/workspace/workspace-package.element.ts",
|
|
737
737
|
"attributes": [
|
|
738
738
|
{
|
|
739
|
-
"name": "
|
|
739
|
+
"name": "entityId",
|
|
740
740
|
"type": "string | undefined"
|
|
741
741
|
}
|
|
742
742
|
],
|
|
@@ -747,8 +747,8 @@
|
|
|
747
747
|
"default": "[\"UUITextStyles\",null]"
|
|
748
748
|
},
|
|
749
749
|
{
|
|
750
|
-
"name": "
|
|
751
|
-
"attribute": "
|
|
750
|
+
"name": "entityId",
|
|
751
|
+
"attribute": "entityId",
|
|
752
752
|
"type": "string | undefined"
|
|
753
753
|
}
|
|
754
754
|
]
|
|
@@ -2748,7 +2748,7 @@
|
|
|
2748
2748
|
"default": "\"\""
|
|
2749
2749
|
},
|
|
2750
2750
|
{
|
|
2751
|
-
"name": "
|
|
2751
|
+
"name": "selectedIds",
|
|
2752
2752
|
"type": "string[]"
|
|
2753
2753
|
},
|
|
2754
2754
|
{
|
|
@@ -2815,7 +2815,7 @@
|
|
|
2815
2815
|
"default": "[\"UUITextStyles\",null]"
|
|
2816
2816
|
},
|
|
2817
2817
|
{
|
|
2818
|
-
"name": "
|
|
2818
|
+
"name": "selectedIds",
|
|
2819
2819
|
"type": "string[]"
|
|
2820
2820
|
},
|
|
2821
2821
|
{
|
|
@@ -3133,7 +3133,7 @@
|
|
|
3133
3133
|
"default": "\"\""
|
|
3134
3134
|
},
|
|
3135
3135
|
{
|
|
3136
|
-
"name": "
|
|
3136
|
+
"name": "selectedIds",
|
|
3137
3137
|
"type": "string[]"
|
|
3138
3138
|
},
|
|
3139
3139
|
{
|
|
@@ -4566,7 +4566,7 @@
|
|
|
4566
4566
|
"default": "false"
|
|
4567
4567
|
},
|
|
4568
4568
|
{
|
|
4569
|
-
"name": "
|
|
4569
|
+
"name": "id",
|
|
4570
4570
|
"type": "string"
|
|
4571
4571
|
},
|
|
4572
4572
|
{
|
|
@@ -4576,11 +4576,6 @@
|
|
|
4576
4576
|
}
|
|
4577
4577
|
],
|
|
4578
4578
|
"properties": [
|
|
4579
|
-
{
|
|
4580
|
-
"name": "styles",
|
|
4581
|
-
"type": "CSSResult[]",
|
|
4582
|
-
"default": "[\"UUITextStyles\",null]"
|
|
4583
|
-
},
|
|
4584
4579
|
{
|
|
4585
4580
|
"name": "default",
|
|
4586
4581
|
"attribute": "default",
|
|
@@ -4588,10 +4583,15 @@
|
|
|
4588
4583
|
"default": "false"
|
|
4589
4584
|
},
|
|
4590
4585
|
{
|
|
4591
|
-
"name": "
|
|
4592
|
-
"attribute": "
|
|
4586
|
+
"name": "id",
|
|
4587
|
+
"attribute": "id",
|
|
4593
4588
|
"type": "string"
|
|
4594
4589
|
},
|
|
4590
|
+
{
|
|
4591
|
+
"name": "styles",
|
|
4592
|
+
"type": "CSSResult[]",
|
|
4593
|
+
"default": "[\"UUITextStyles\",null]"
|
|
4594
|
+
},
|
|
4595
4595
|
{
|
|
4596
4596
|
"name": "formAssociated",
|
|
4597
4597
|
"type": "boolean"
|
package/modal.d.ts
CHANGED
|
@@ -478,7 +478,7 @@ declare class UmbModalRouteRegistrationController<D extends object = object, R =
|
|
|
478
478
|
}
|
|
479
479
|
|
|
480
480
|
interface UmbAllowedDocumentTypesModalData {
|
|
481
|
-
|
|
481
|
+
id: string | null;
|
|
482
482
|
}
|
|
483
483
|
interface UmbAllowedDocumentTypesModalResult {
|
|
484
484
|
documentTypeKey: string;
|
|
@@ -589,8 +589,8 @@ interface UmbImportDictionaryModalData {
|
|
|
589
589
|
unique: string | null;
|
|
590
590
|
}
|
|
591
591
|
interface UmbImportDictionaryModalResult {
|
|
592
|
-
|
|
593
|
-
|
|
592
|
+
temporaryFileId?: string;
|
|
593
|
+
parentId?: string;
|
|
594
594
|
}
|
|
595
595
|
declare const UMB_IMPORT_DICTIONARY_MODAL: UmbModalToken$1<UmbImportDictionaryModalData, UmbImportDictionaryModalResult>;
|
|
596
596
|
|
|
@@ -674,11 +674,11 @@ interface UmbSectionPickerModalData {
|
|
|
674
674
|
declare const UMB_SECTION_PICKER_MODAL: UmbModalToken$1<UmbSectionPickerModalData, unknown>;
|
|
675
675
|
|
|
676
676
|
interface UmbTemplateModalData {
|
|
677
|
-
|
|
677
|
+
id: string;
|
|
678
678
|
language?: 'razor' | 'typescript' | 'javascript' | 'css' | 'markdown' | 'json' | 'html';
|
|
679
679
|
}
|
|
680
680
|
interface UmbTemplateModalResult {
|
|
681
|
-
|
|
681
|
+
id: string;
|
|
682
682
|
}
|
|
683
683
|
declare const UMB_TEMPLATE_MODAL: UmbModalToken$1<UmbTemplateModalData, UmbTemplateModalResult>;
|
|
684
684
|
|
package/models.d.ts
CHANGED
|
@@ -3,16 +3,16 @@ import { EntityTreeItemResponseModel, FolderTreeItemResponseModel, PackageManife
|
|
|
3
3
|
type HTMLElementConstructor<T = HTMLElement> = new (...args: any[]) => T;
|
|
4
4
|
type ClassConstructor<T> = new (...args: any[]) => T;
|
|
5
5
|
interface Entity {
|
|
6
|
-
|
|
6
|
+
id: string;
|
|
7
7
|
name: string;
|
|
8
8
|
icon: string;
|
|
9
9
|
type: string;
|
|
10
10
|
hasChildren: boolean;
|
|
11
|
-
|
|
11
|
+
parentId: string | null;
|
|
12
12
|
}
|
|
13
13
|
/** Tried to find a common base of our entities — used by Entity Workspace Context */
|
|
14
14
|
type BaseEntity = {
|
|
15
|
-
|
|
15
|
+
id?: string;
|
|
16
16
|
name?: string;
|
|
17
17
|
};
|
|
18
18
|
interface UserEntity extends Entity {
|
|
@@ -43,23 +43,23 @@ interface UserGroupDetails extends UserGroupEntity {
|
|
|
43
43
|
permissions: Array<string>;
|
|
44
44
|
}
|
|
45
45
|
interface MemberTypeDetails extends EntityTreeItemResponseModel {
|
|
46
|
-
|
|
46
|
+
id: string;
|
|
47
47
|
alias: string;
|
|
48
48
|
properties: [];
|
|
49
49
|
}
|
|
50
50
|
interface MediaTypeDetails extends FolderTreeItemResponseModel {
|
|
51
|
-
|
|
51
|
+
id: string;
|
|
52
52
|
alias: string;
|
|
53
53
|
properties: [];
|
|
54
54
|
}
|
|
55
55
|
interface MemberGroupDetails extends EntityTreeItemResponseModel {
|
|
56
|
-
|
|
56
|
+
id: string;
|
|
57
57
|
}
|
|
58
58
|
interface MemberDetails extends EntityTreeItemResponseModel {
|
|
59
|
-
|
|
59
|
+
id: string;
|
|
60
60
|
}
|
|
61
61
|
interface DocumentBlueprintDetails {
|
|
62
|
-
|
|
62
|
+
id: string;
|
|
63
63
|
name: string;
|
|
64
64
|
type: 'document-blueprint';
|
|
65
65
|
properties: Array<any>;
|
package/observable-api.d.ts
CHANGED
|
@@ -119,12 +119,12 @@ declare class ArrayState<T> extends DeepState<T[]> {
|
|
|
119
119
|
* @param {unknown[]} uniques - The unique values to remove.
|
|
120
120
|
* @return {ArrayState<T>} Reference to it self.
|
|
121
121
|
* @description - Remove some new data of this Subject.
|
|
122
|
-
* @example <caption>Example remove entry with
|
|
122
|
+
* @example <caption>Example remove entry with id '1' and '2'</caption>
|
|
123
123
|
* const data = [
|
|
124
|
-
* {
|
|
125
|
-
* {
|
|
124
|
+
* { id: 1, value: 'foo'},
|
|
125
|
+
* { id: 2, value: 'bar'}
|
|
126
126
|
* ];
|
|
127
|
-
* const myState = new ArrayState(data, (x) => x.
|
|
127
|
+
* const myState = new ArrayState(data, (x) => x.id);
|
|
128
128
|
* myState.remove([1, 2]);
|
|
129
129
|
*/
|
|
130
130
|
remove(uniques: unknown[]): this;
|
|
@@ -133,12 +133,12 @@ declare class ArrayState<T> extends DeepState<T[]> {
|
|
|
133
133
|
* @param {unknown} unique - The unique value to remove.
|
|
134
134
|
* @return {ArrayState<T>} Reference to it self.
|
|
135
135
|
* @description - Remove some new data of this Subject.
|
|
136
|
-
* @example <caption>Example remove entry with
|
|
136
|
+
* @example <caption>Example remove entry with id '1'</caption>
|
|
137
137
|
* const data = [
|
|
138
|
-
* {
|
|
139
|
-
* {
|
|
138
|
+
* { id: 1, value: 'foo'},
|
|
139
|
+
* { id: 2, value: 'bar'}
|
|
140
140
|
* ];
|
|
141
|
-
* const myState = new ArrayState(data, (x) => x.
|
|
141
|
+
* const myState = new ArrayState(data, (x) => x.id);
|
|
142
142
|
* myState.removeOne(1);
|
|
143
143
|
*/
|
|
144
144
|
removeOne(unique: unknown): this;
|
|
@@ -255,8 +255,8 @@ declare function createObservablePart<R, T>(source$: Observable<T>, mappingFunct
|
|
|
255
255
|
* @param {(previousResult: R, currentResult: R) => boolean} [memoizationFunction] - Method to Compare if the data has changed. Should return true when data is different.
|
|
256
256
|
* @description - Creates a RxJS Observable from RxJS Subject.
|
|
257
257
|
* @example <caption>Example append new entry for a ArrayState or a part of DeepState/ObjectState it which is an array. Where the key is unique and the item will be updated if matched with existing.</caption>
|
|
258
|
-
* const entry = {
|
|
259
|
-
* const newDataSet = appendToFrozenArray(mySubject.getValue(), entry, x => x.
|
|
258
|
+
* const entry = {id: 'myKey', value: 'myValue'};
|
|
259
|
+
* const newDataSet = appendToFrozenArray(mySubject.getValue(), entry, x => x.id === id);
|
|
260
260
|
* mySubject.next(newDataSet);
|
|
261
261
|
*/
|
|
262
262
|
declare function appendToFrozenArray<T>(data: T[], entry: T, getUniqueMethod?: (entry: T) => unknown): T[];
|
package/package.json
CHANGED
package/repository.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ interface DataSourceResponse<T = undefined> {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
interface UmbDataSource<CreateRequestType, UpdateRequestType, ResponseType> {
|
|
11
|
-
createScaffold(
|
|
11
|
+
createScaffold(parentId: string | null): Promise<DataSourceResponse$1<ResponseType>>;
|
|
12
12
|
get(unique: string): Promise<DataSourceResponse$1<ResponseType>>;
|
|
13
13
|
insert(data: CreateRequestType): Promise<any>;
|
|
14
14
|
update(unique: string, data: UpdateRequestType): Promise<DataSourceResponse$1<ResponseType>>;
|
|
@@ -16,7 +16,7 @@ interface UmbDataSource<CreateRequestType, UpdateRequestType, ResponseType> {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
interface UmbFolderDataSource {
|
|
19
|
-
createScaffold(
|
|
19
|
+
createScaffold(parentId: string | null): Promise<DataSourceResponse<FolderReponseModel>>;
|
|
20
20
|
get(unique: string): Promise<DataSourceResponse<FolderReponseModel>>;
|
|
21
21
|
insert(data: CreateFolderRequestModel): Promise<DataSourceResponse<string>>;
|
|
22
22
|
update(unique: string, data: CreateFolderRequestModel): Promise<DataSourceResponse<UpdateFolderReponseModel>>;
|
|
@@ -30,11 +30,11 @@ interface UmbTreeDataSource<PagedItemsType = any, ItemsType = any> {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
interface UmbDetailRepository<DetailType> {
|
|
33
|
-
createScaffold(
|
|
33
|
+
createScaffold(parentId: string | null): Promise<{
|
|
34
34
|
data?: DetailType;
|
|
35
35
|
error?: ProblemDetailsModel;
|
|
36
36
|
}>;
|
|
37
|
-
|
|
37
|
+
requestById(id: string): Promise<{
|
|
38
38
|
data?: DetailType;
|
|
39
39
|
error?: ProblemDetailsModel;
|
|
40
40
|
}>;
|
|
@@ -44,7 +44,7 @@ interface UmbDetailRepository<DetailType> {
|
|
|
44
44
|
save(data: DetailType): Promise<{
|
|
45
45
|
error?: ProblemDetailsModel;
|
|
46
46
|
}>;
|
|
47
|
-
delete(
|
|
47
|
+
delete(id: string): Promise<{
|
|
48
48
|
error?: ProblemDetailsModel;
|
|
49
49
|
}>;
|
|
50
50
|
}
|
|
@@ -75,7 +75,7 @@ interface UmbTreeRepository<ItemType = any, PagedItemType = UmbPagedData<ItemTyp
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
interface UmbFolderRepository {
|
|
78
|
-
createFolderScaffold(
|
|
78
|
+
createFolderScaffold(parentId: string | null): Promise<{
|
|
79
79
|
data?: FolderReponseModel;
|
|
80
80
|
error?: ProblemDetailsModel;
|
|
81
81
|
}>;
|
|
@@ -91,7 +91,7 @@ interface UmbFolderRepository {
|
|
|
91
91
|
data?: UpdateFolderReponseModel;
|
|
92
92
|
error?: ProblemDetailsModel;
|
|
93
93
|
}>;
|
|
94
|
-
deleteFolder(
|
|
94
|
+
deleteFolder(id: string): Promise<{
|
|
95
95
|
error?: ProblemDetailsModel;
|
|
96
96
|
}>;
|
|
97
97
|
}
|
package/store.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ interface UmbEntityDetailStore<T> extends UmbDataStore {
|
|
|
18
18
|
* @return {*} {T}
|
|
19
19
|
* @memberof UmbEntityDetailStore
|
|
20
20
|
*/
|
|
21
|
-
getScaffold: (entityType: string,
|
|
21
|
+
getScaffold: (entityType: string, parentId: string | null) => T;
|
|
22
22
|
/**
|
|
23
23
|
* @description - Request data by key. The data is added to the store and is returned as an Observable.
|
|
24
24
|
* @param {string} key
|
|
@@ -60,17 +60,17 @@ declare class UmbEntityTreeStore extends UmbStoreBase$1 implements UmbTreeStore$
|
|
|
60
60
|
appendItems(items: Array<EntityTreeItemResponseModel>): void;
|
|
61
61
|
/**
|
|
62
62
|
* Updates an item in the store
|
|
63
|
-
* @param {string}
|
|
63
|
+
* @param {string} id
|
|
64
64
|
* @param {Partial<EntityTreeItemResponseModel>} data
|
|
65
65
|
* @memberof UmbEntityTreeStore
|
|
66
66
|
*/
|
|
67
|
-
updateItem(
|
|
67
|
+
updateItem(id: string, data: Partial<EntityTreeItemResponseModel>): void;
|
|
68
68
|
/**
|
|
69
69
|
* Removes an item from the store
|
|
70
|
-
* @param {string}
|
|
70
|
+
* @param {string} id
|
|
71
71
|
* @memberof UmbEntityTreeStore
|
|
72
72
|
*/
|
|
73
|
-
removeItem(
|
|
73
|
+
removeItem(id: string): void;
|
|
74
74
|
/**
|
|
75
75
|
* An observable to observe the root items
|
|
76
76
|
* @memberof UmbEntityTreeStore
|
|
@@ -78,18 +78,18 @@ declare class UmbEntityTreeStore extends UmbStoreBase$1 implements UmbTreeStore$
|
|
|
78
78
|
rootItems: rxjs.Observable<EntityTreeItemResponseModel[]>;
|
|
79
79
|
/**
|
|
80
80
|
* Returns an observable to observe the children of a given parent
|
|
81
|
-
* @param {(string | null)}
|
|
81
|
+
* @param {(string | null)} parentId
|
|
82
82
|
* @return {*}
|
|
83
83
|
* @memberof UmbEntityTreeStore
|
|
84
84
|
*/
|
|
85
|
-
childrenOf(
|
|
85
|
+
childrenOf(parentId: string | null): rxjs.Observable<EntityTreeItemResponseModel[]>;
|
|
86
86
|
/**
|
|
87
|
-
* Returns an observable to observe the items with the given
|
|
88
|
-
* @param {Array<string>}
|
|
87
|
+
* Returns an observable to observe the items with the given ids
|
|
88
|
+
* @param {Array<string>} ids
|
|
89
89
|
* @return {*}
|
|
90
90
|
* @memberof UmbEntityTreeStore
|
|
91
91
|
*/
|
|
92
|
-
items(
|
|
92
|
+
items(ids: Array<string>): rxjs.Observable<EntityTreeItemResponseModel[]>;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
/**
|
|
@@ -132,7 +132,7 @@ declare class UmbFileSystemTreeStore extends UmbStoreBase$1 implements UmbTreeSt
|
|
|
132
132
|
*/
|
|
133
133
|
childrenOf(parentPath: string | null): rxjs.Observable<FileSystemTreeItemPresentationModel[]>;
|
|
134
134
|
/**
|
|
135
|
-
* Returns an observable to observe the items with the given
|
|
135
|
+
* Returns an observable to observe the items with the given ids
|
|
136
136
|
* @param {Array<string>} paths
|
|
137
137
|
* @return {*}
|
|
138
138
|
* @memberof UmbFileSystemTreeStore
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"name": "umb-document-type-workspace-view-edit-properties",
|
|
70
|
-
"description": "Attributes:\n\n * `container-name` {`string | undefined`} - \n\n * `container-type` {`PropertyContainerTypes | undefined`} - \n\nProperties:\n\n * `
|
|
70
|
+
"description": "Attributes:\n\n * `container-name` {`string | undefined`} - \n\n * `container-type` {`PropertyContainerTypes | undefined`} - \n\nProperties:\n\n * `_containerId` {`string | undefined`} - \n\n * `containerId` {`string | undefined`} - \n\n * `containerName` {`string | undefined`} - \n\n * `containerType` {`PropertyContainerTypes | undefined`} - \n\n * `_propertyStructureHelper` - \n\n * `_propertyStructure` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
71
71
|
"attributes": [
|
|
72
72
|
{
|
|
73
73
|
"name": "container-name",
|
|
@@ -104,11 +104,11 @@
|
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
"name": "umb-document-type-workspace-view-edit-tab",
|
|
107
|
-
"description": "Attributes:\n\n * `
|
|
107
|
+
"description": "Attributes:\n\n * `ownerTabId` {`string | undefined`} - \n\n * `tabName` {`string | undefined`} - \n\n * `noTabName` {`boolean`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_ownerTabId` {`string | undefined`} - \n\n * `ownerTabId` {`string | undefined`} - \n\n * `_tabName` {`string | undefined`} - \n\n * `tabName` {`string | undefined`} - \n\n * `noTabName` {`boolean`} - \n\n * `_groupStructureHelper` - \n\n * `_groups` {`any[]`} - \n\n * `_hasProperties` {`boolean`} - ",
|
|
108
108
|
"attributes": [
|
|
109
109
|
{
|
|
110
|
-
"name": "
|
|
111
|
-
"description": "`
|
|
110
|
+
"name": "ownerTabId",
|
|
111
|
+
"description": "`ownerTabId` {`string | undefined`} - \n\nProperty: ownerTabId",
|
|
112
112
|
"values": []
|
|
113
113
|
},
|
|
114
114
|
{
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
284
|
"name": "umb-media-workspace-edit",
|
|
285
|
-
"description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `
|
|
285
|
+
"description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_id` {`string | undefined`} - ",
|
|
286
286
|
"attributes": []
|
|
287
287
|
},
|
|
288
288
|
{
|
|
@@ -342,22 +342,22 @@
|
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
344
|
"name": "umb-workspace-package-builder",
|
|
345
|
-
"description": "Attributes:\n\n * `
|
|
345
|
+
"description": "Attributes:\n\n * `entityId` {`string | undefined`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `entityId` {`string | undefined`} - \n\n * `_package` - \n\n * `_packageNameInput` - \n\n * `_notificationContext` - ",
|
|
346
346
|
"attributes": [
|
|
347
347
|
{
|
|
348
|
-
"name": "
|
|
349
|
-
"description": "`
|
|
348
|
+
"name": "entityId",
|
|
349
|
+
"description": "`entityId` {`string | undefined`} - \n\nProperty: entityId",
|
|
350
350
|
"values": []
|
|
351
351
|
}
|
|
352
352
|
]
|
|
353
353
|
},
|
|
354
354
|
{
|
|
355
355
|
"name": "umb-workspace-package",
|
|
356
|
-
"description": "Attributes:\n\n * `
|
|
356
|
+
"description": "Attributes:\n\n * `entityId` {`string | undefined`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `entityId` {`string | undefined`} - \n\n * `_package` - ",
|
|
357
357
|
"attributes": [
|
|
358
358
|
{
|
|
359
|
-
"name": "
|
|
360
|
-
"description": "`
|
|
359
|
+
"name": "entityId",
|
|
360
|
+
"description": "`entityId` {`string | undefined`} - \n\nProperty: entityId",
|
|
361
361
|
"values": []
|
|
362
362
|
}
|
|
363
363
|
]
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
},
|
|
480
480
|
{
|
|
481
481
|
"name": "umb-dashboard-health-check-group",
|
|
482
|
-
"description": "Attributes:\n\n * `groupName` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `groupName` {`string`} - \n\n * `_buttonState` {`UUIButtonState`} - \n\n * `_group` - \n\n * `_healthCheckContext` - \n\n * `_checks` {`any[] | undefined`} - \n\n * `
|
|
482
|
+
"description": "Attributes:\n\n * `groupName` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `groupName` {`string`} - \n\n * `_buttonState` {`UUIButtonState`} - \n\n * `_group` - \n\n * `_healthCheckContext` - \n\n * `_checks` {`any[] | undefined`} - \n\n * `_idResults` {`any[] | undefined`} - \n\n * `_api` - ",
|
|
483
483
|
"attributes": [
|
|
484
484
|
{
|
|
485
485
|
"name": "groupName",
|
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
},
|
|
726
726
|
{
|
|
727
727
|
"name": "umb-relation-type-workspace-view-relation-type",
|
|
728
|
-
"description": "Properties:\n\n * `
|
|
728
|
+
"description": "Properties:\n\n * `_relationType` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
729
729
|
"attributes": []
|
|
730
730
|
},
|
|
731
731
|
{
|
|
@@ -1253,7 +1253,7 @@
|
|
|
1253
1253
|
},
|
|
1254
1254
|
{
|
|
1255
1255
|
"name": "umb-input-document-picker",
|
|
1256
|
-
"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 * `styles` {`CSSResult[]`} - \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 * `
|
|
1256
|
+
"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 * `styles` {`CSSResult[]`} - \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 * `_items` {`any[] | undefined`} - \n\n * `_modalContext` - \n\n * `_documentStore` - \n\n * `_pickedItemsObserver` - \n\n * `formAssociated` {`boolean`} - \n\n * `value` {`string`} - \n\n * `name` {`string`} - \n\n * `validationMessage` {`string`} - \n\n * `validity` {`ValidityState`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_internals` - \n\n * `addValidator` - \n\n * `pristine` {`boolean`} - \n\n * `required` {`boolean`} - \n\n * `requiredMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `errorMessage` {`string`} - ",
|
|
1257
1257
|
"attributes": [
|
|
1258
1258
|
{
|
|
1259
1259
|
"name": "min",
|
|
@@ -1285,7 +1285,7 @@
|
|
|
1285
1285
|
},
|
|
1286
1286
|
{
|
|
1287
1287
|
"name": "umb-input-document-type-picker",
|
|
1288
|
-
"description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `
|
|
1288
|
+
"description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_selectedIds` {`string[]`} - \n\n * `selectedIds` {`string[]`} - \n\n * `_items` {`any[] | undefined`} - \n\n * `_modalContext` - \n\n * `_documentTypeStore` - \n\n * `_pickedItemsObserver` - \n\n * `formAssociated` {`boolean`} - \n\n * `value` {`string`} - \n\n * `name` {`string`} - \n\n * `validationMessage` {`string`} - \n\n * `validity` {`ValidityState`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_internals` - \n\n * `addValidator` - \n\n * `pristine` {`boolean`} - \n\n * `required` {`boolean`} - \n\n * `requiredMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `errorMessage` {`string`} - ",
|
|
1289
1289
|
"attributes": [
|
|
1290
1290
|
{
|
|
1291
1291
|
"name": "value",
|
|
@@ -1346,7 +1346,7 @@
|
|
|
1346
1346
|
},
|
|
1347
1347
|
{
|
|
1348
1348
|
"name": "umb-input-media-picker",
|
|
1349
|
-
"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 * `styles` {`CSSResult[]`} - \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 * `
|
|
1349
|
+
"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 * `styles` {`CSSResult[]`} - \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 * `_items` {`any[] | undefined`} - \n\n * `_modalContext` - \n\n * `_pickedItemsObserver` - \n\n * `_repository` - \n\n * `formAssociated` {`boolean`} - \n\n * `value` {`string`} - \n\n * `name` {`string`} - \n\n * `validationMessage` {`string`} - \n\n * `validity` {`ValidityState`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_internals` - \n\n * `addValidator` - \n\n * `pristine` {`boolean`} - \n\n * `required` {`boolean`} - \n\n * `requiredMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `errorMessage` {`string`} - ",
|
|
1350
1350
|
"attributes": [
|
|
1351
1351
|
{
|
|
1352
1352
|
"name": "min",
|
|
@@ -1912,7 +1912,7 @@
|
|
|
1912
1912
|
},
|
|
1913
1913
|
{
|
|
1914
1914
|
"name": "umb-template-card",
|
|
1915
|
-
"description": "Events:\n\n * `open` {`CustomEvent<unknown>`} - \n\n * `selected` {} - \n\n * `change-default` {`CustomEvent<unknown>`} - \n\nSlots:\n\n * `actions` {} - \n\nAttributes:\n\n * `default` {`boolean`} - \n\n * `
|
|
1915
|
+
"description": "Events:\n\n * `open` {`CustomEvent<unknown>`} - \n\n * `selected` {} - \n\n * `change-default` {`CustomEvent<unknown>`} - \n\nSlots:\n\n * `actions` {} - \n\nAttributes:\n\n * `default` {`boolean`} - \n\n * `id` {`string`} - \n\n * `name` {`string`} - \n\nProperties:\n\n * `default` {`boolean`} - \n\n * `_id` {`string`} - \n\n * `id` {`string`} - \n\n * `styles` {`CSSResult[]`} - \n\n * `formAssociated` {`boolean`} - \n\n * `value` {`FormDataEntryValue | FormData`} - \n\n * `name` {`string`} - \n\n * `validationMessage` {`string`} - \n\n * `validity` {`ValidityState`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_internals` - \n\n * `addValidator` - \n\n * `pristine` {`boolean`} - \n\n * `required` {`boolean`} - \n\n * `requiredMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `errorMessage` {`string`} - ",
|
|
1916
1916
|
"attributes": [
|
|
1917
1917
|
{
|
|
1918
1918
|
"name": "default",
|
|
@@ -1920,8 +1920,8 @@
|
|
|
1920
1920
|
"valueSet": "v"
|
|
1921
1921
|
},
|
|
1922
1922
|
{
|
|
1923
|
-
"name": "
|
|
1924
|
-
"description": "`
|
|
1923
|
+
"name": "id",
|
|
1924
|
+
"description": "`id` {`string`} - \n\nProperty: id"
|
|
1925
1925
|
},
|
|
1926
1926
|
{
|
|
1927
1927
|
"name": "name",
|
|
@@ -2064,7 +2064,7 @@
|
|
|
2064
2064
|
},
|
|
2065
2065
|
{
|
|
2066
2066
|
"name": "umb-workspace-action-menu",
|
|
2067
|
-
"description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_actionMenuIsOpen` {`boolean`} - \n\n * `_workspaceContext` - \n\n * `
|
|
2067
|
+
"description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_actionMenuIsOpen` {`boolean`} - \n\n * `_workspaceContext` - \n\n * `_entityId` {`string | undefined`} - \n\n * `_entityType` {`string | undefined`} - ",
|
|
2068
2068
|
"attributes": []
|
|
2069
2069
|
},
|
|
2070
2070
|
{
|
|
@@ -2235,7 +2235,7 @@
|
|
|
2235
2235
|
},
|
|
2236
2236
|
{
|
|
2237
2237
|
"name": "umb-template-modal",
|
|
2238
|
-
"description": "Properties:\n\n * `
|
|
2238
|
+
"description": "Properties:\n\n * `_id` {`string`} - \n\n * `_template` - \n\n * `_codeEditor` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
2239
2239
|
"attributes": []
|
|
2240
2240
|
},
|
|
2241
2241
|
{
|
|
@@ -2953,7 +2953,7 @@
|
|
|
2953
2953
|
},
|
|
2954
2954
|
{
|
|
2955
2955
|
"name": "umb-import-dictionary-modal",
|
|
2956
|
-
"description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_form` {`HTMLFormElement`} - \n\n * `
|
|
2956
|
+
"description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_form` {`HTMLFormElement`} - \n\n * `_uploadedDictionaryTempId` {`string | undefined`} - \n\n * `_showUploadView` {`boolean`} - \n\n * `_showImportView` {`boolean`} - \n\n * `_showErrorView` {`boolean`} - \n\n * `_selection` {`string[]`} - ",
|
|
2957
2957
|
"attributes": []
|
|
2958
2958
|
},
|
|
2959
2959
|
{
|
package/workspace.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ declare class UmbSaveWorkspaceAction extends UmbWorkspaceActionBase<UmbWorkspace
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
interface UmbEntityWorkspaceContextInterface<EntityType = unknown> extends UmbWorkspaceContextInterface$1<EntityType> {
|
|
35
|
-
|
|
35
|
+
getEntityId(): string | undefined;
|
|
36
36
|
getEntityType(): string;
|
|
37
37
|
save(): Promise<void>;
|
|
38
38
|
}
|