@umbraco-cms/backoffice 1.0.0-next.d924405b → 1.0.0-next.de0ffca0
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/context-api.d.ts +16 -6
- package/controller.d.ts +5 -5
- package/custom-elements.json +143 -47
- package/element.d.ts +2 -2
- package/entity-action.d.ts +11 -11
- package/extensions-api.d.ts +2 -2
- package/extensions-registry.d.ts +8 -8
- package/modal.d.ts +585 -12
- package/models.d.ts +6 -1
- package/observable-api.d.ts +19 -4
- package/package.json +1 -1
- package/resources.d.ts +3 -3
- package/router.d.ts +130 -0
- package/store.d.ts +3 -3
- package/vscode-html-custom-data.json +88 -43
- package/workspace.d.ts +16 -9
package/context-api.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UmbControllerHostElement, UmbControllerInterface } from './controller';
|
|
2
|
+
import { UmbWorkspaceContextInterface } from './workspace';
|
|
3
|
+
import { BaseEntity } from './models';
|
|
2
4
|
|
|
3
5
|
declare class UmbContextToken<T = unknown> {
|
|
4
6
|
protected alias: string;
|
|
@@ -90,9 +92,9 @@ declare class UmbContextConsumer<HostType extends EventTarget = EventTarget, T =
|
|
|
90
92
|
destroy(): void;
|
|
91
93
|
}
|
|
92
94
|
|
|
93
|
-
declare class UmbContextConsumerController<T = unknown> extends UmbContextConsumer<
|
|
95
|
+
declare class UmbContextConsumerController<T = unknown> extends UmbContextConsumer<UmbControllerHostElement, T> implements UmbControllerInterface {
|
|
94
96
|
get unique(): undefined;
|
|
95
|
-
constructor(host:
|
|
97
|
+
constructor(host: UmbControllerHostElement, contextAlias: string | UmbContextToken<T>, callback: UmbContextCallback<T>);
|
|
96
98
|
destroy(): void;
|
|
97
99
|
}
|
|
98
100
|
|
|
@@ -136,9 +138,9 @@ declare class UmbContextProvider<HostType extends EventTarget = EventTarget> {
|
|
|
136
138
|
destroy(): void;
|
|
137
139
|
}
|
|
138
140
|
|
|
139
|
-
declare class UmbContextProviderController<T = unknown> extends UmbContextProvider<
|
|
141
|
+
declare class UmbContextProviderController<T = unknown> extends UmbContextProvider<UmbControllerHostElement> implements UmbControllerInterface {
|
|
140
142
|
get unique(): string;
|
|
141
|
-
constructor(host:
|
|
143
|
+
constructor(host: UmbControllerHostElement, contextAlias: string | UmbContextToken<T>, instance: T);
|
|
142
144
|
destroy(): void;
|
|
143
145
|
}
|
|
144
146
|
|
|
@@ -162,4 +164,12 @@ declare class UmbContextProvideEventImplementation extends Event implements UmbC
|
|
|
162
164
|
}
|
|
163
165
|
declare const isUmbContextProvideEventType: (event: Event) => event is UmbContextProvideEventImplementation;
|
|
164
166
|
|
|
165
|
-
|
|
167
|
+
interface UmbEntityWorkspaceContextInterface<EntityType = unknown> extends UmbWorkspaceContextInterface<EntityType> {
|
|
168
|
+
getEntityKey(): string | undefined;
|
|
169
|
+
getEntityType(): string;
|
|
170
|
+
save(): Promise<void>;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
declare const UMB_ENTITY_WORKSPACE_CONTEXT: UmbContextToken<UmbEntityWorkspaceContextInterface<BaseEntity>>;
|
|
174
|
+
|
|
175
|
+
export { UMB_ENTITY_WORKSPACE_CONTEXT, UmbContextCallback, UmbContextConsumer, UmbContextConsumerController, UmbContextDebugRequest, UmbContextProvideEvent, UmbContextProvideEventImplementation, UmbContextProvider, UmbContextProviderController, UmbContextRequestEvent, UmbContextRequestEventImplementation, UmbContextToken, isUmbContextProvideEventType, isUmbContextRequestEvent, umbContextProvideEventType, umbContextRequestEventType, umbDebugContextEventType };
|
package/controller.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ interface UmbControllerInterface {
|
|
|
7
7
|
destroy(): void;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
declare class
|
|
10
|
+
declare class UmbControllerHostElement extends HTMLElement {
|
|
11
11
|
hasController(controller: UmbControllerInterface): boolean;
|
|
12
12
|
getControllers(filterMethod: (ctrl: UmbControllerInterface) => boolean): UmbControllerInterface[];
|
|
13
13
|
addController(controller: UmbControllerInterface): void;
|
|
@@ -20,7 +20,7 @@ declare class UmbControllerHostInterface extends HTMLElement {
|
|
|
20
20
|
* @param {Object} superClass - superclass to be extended.
|
|
21
21
|
* @mixin
|
|
22
22
|
*/
|
|
23
|
-
declare const UmbControllerHostMixin: <T extends HTMLElementConstructor<HTMLElement>>(superClass: T) => HTMLElementConstructor<
|
|
23
|
+
declare const UmbControllerHostMixin: <T extends HTMLElementConstructor<HTMLElement>>(superClass: T) => HTMLElementConstructor<UmbControllerHostElement> & T;
|
|
24
24
|
declare global {
|
|
25
25
|
interface HTMLElement {
|
|
26
26
|
connectedCallback(): void;
|
|
@@ -29,13 +29,13 @@ declare global {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
declare abstract class UmbController implements UmbControllerInterface {
|
|
32
|
-
protected host?:
|
|
32
|
+
protected host?: UmbControllerHostElement;
|
|
33
33
|
private _alias?;
|
|
34
34
|
get unique(): string | undefined;
|
|
35
|
-
constructor(host:
|
|
35
|
+
constructor(host: UmbControllerHostElement, alias?: string);
|
|
36
36
|
abstract hostConnected(): void;
|
|
37
37
|
abstract hostDisconnected(): void;
|
|
38
38
|
destroy(): void;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
export { UmbController,
|
|
41
|
+
export { UmbController, UmbControllerHostElement, UmbControllerHostMixin, UmbControllerInterface };
|
package/custom-elements.json
CHANGED
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
]
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
|
-
"name": "umb-document-type-workspace-
|
|
111
|
-
"path": "./src/backoffice/documents/document-types/workspace/document-type-workspace-
|
|
110
|
+
"name": "umb-document-type-workspace-editor",
|
|
111
|
+
"path": "./src/backoffice/documents/document-types/workspace/document-type-workspace-editor.element.ts",
|
|
112
112
|
"properties": [
|
|
113
113
|
{
|
|
114
114
|
"name": "styles",
|
|
@@ -129,8 +129,8 @@
|
|
|
129
129
|
]
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
|
-
"name": "umb-workspace-view-
|
|
133
|
-
"path": "./src/backoffice/documents/document-types/workspace/views/design/workspace-view-
|
|
132
|
+
"name": "umb-document-type-workspace-view-design",
|
|
133
|
+
"path": "./src/backoffice/documents/document-types/workspace/views/design/document-type-workspace-view-design.element.ts",
|
|
134
134
|
"properties": [
|
|
135
135
|
{
|
|
136
136
|
"name": "styles",
|
|
@@ -140,8 +140,8 @@
|
|
|
140
140
|
]
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
|
-
"name": "umb-workspace-view-
|
|
144
|
-
"path": "./src/backoffice/documents/document-types/workspace/views/
|
|
143
|
+
"name": "umb-document-type-workspace-view-details",
|
|
144
|
+
"path": "./src/backoffice/documents/document-types/workspace/views/details/document-type-workspace-view-details.element.ts",
|
|
145
145
|
"properties": [
|
|
146
146
|
{
|
|
147
147
|
"name": "styles",
|
|
@@ -151,8 +151,8 @@
|
|
|
151
151
|
]
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
|
-
"name": "umb-workspace-view-
|
|
155
|
-
"path": "./src/backoffice/documents/document-types/workspace/views/
|
|
154
|
+
"name": "umb-document-type-workspace-view-structure",
|
|
155
|
+
"path": "./src/backoffice/documents/document-types/workspace/views/structure/document-type-workspace-view-structure.element.ts",
|
|
156
156
|
"properties": [
|
|
157
157
|
{
|
|
158
158
|
"name": "styles",
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
]
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
|
-
"name": "umb-workspace-view-
|
|
166
|
-
"path": "./src/backoffice/documents/document-types/workspace/views/templates/workspace-view-
|
|
165
|
+
"name": "umb-document-type-workspace-view-templates",
|
|
166
|
+
"path": "./src/backoffice/documents/document-types/workspace/views/templates/document-type-workspace-view-templates.element.ts",
|
|
167
167
|
"properties": [
|
|
168
168
|
{
|
|
169
169
|
"name": "styles",
|
|
@@ -257,8 +257,8 @@
|
|
|
257
257
|
]
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
|
-
"name": "umb-document-workspace-
|
|
261
|
-
"path": "./src/backoffice/documents/documents/workspace/document-workspace-
|
|
260
|
+
"name": "umb-document-workspace-editor",
|
|
261
|
+
"path": "./src/backoffice/documents/documents/workspace/document-workspace-editor.element.ts",
|
|
262
262
|
"properties": [
|
|
263
263
|
{
|
|
264
264
|
"name": "styles",
|
|
@@ -2675,9 +2675,6 @@
|
|
|
2675
2675
|
"name": "umb-input-document-type-picker",
|
|
2676
2676
|
"path": "./src/backoffice/shared/components/input-document-type-picker/input-document-type-picker.element.ts",
|
|
2677
2677
|
"attributes": [
|
|
2678
|
-
{
|
|
2679
|
-
"name": "currentDocumentType"
|
|
2680
|
-
},
|
|
2681
2678
|
{
|
|
2682
2679
|
"name": "value",
|
|
2683
2680
|
"type": "string"
|
|
@@ -2693,10 +2690,6 @@
|
|
|
2693
2690
|
"name": "selectedKeys",
|
|
2694
2691
|
"type": "string[]"
|
|
2695
2692
|
},
|
|
2696
|
-
{
|
|
2697
|
-
"name": "currentDocumentType",
|
|
2698
|
-
"attribute": "currentDocumentType"
|
|
2699
|
-
},
|
|
2700
2693
|
{
|
|
2701
2694
|
"name": "formAssociated",
|
|
2702
2695
|
"type": "boolean"
|
|
@@ -3067,6 +3060,14 @@
|
|
|
3067
3060
|
"name": "umb-input-multi-url-picker",
|
|
3068
3061
|
"path": "./src/backoffice/shared/components/input-multi-url-picker/input-multi-url-picker.element.ts",
|
|
3069
3062
|
"attributes": [
|
|
3063
|
+
{
|
|
3064
|
+
"name": "alias",
|
|
3065
|
+
"type": "string | undefined"
|
|
3066
|
+
},
|
|
3067
|
+
{
|
|
3068
|
+
"name": "variantId",
|
|
3069
|
+
"type": "string | UmbVariantId | undefined"
|
|
3070
|
+
},
|
|
3070
3071
|
{
|
|
3071
3072
|
"name": "min",
|
|
3072
3073
|
"description": "This is a minimum amount of selected items in this input.",
|
|
@@ -3111,6 +3112,16 @@
|
|
|
3111
3112
|
"type": "CSSResult[]",
|
|
3112
3113
|
"default": "[\"UUITextStyles\",null]"
|
|
3113
3114
|
},
|
|
3115
|
+
{
|
|
3116
|
+
"name": "alias",
|
|
3117
|
+
"attribute": "alias",
|
|
3118
|
+
"type": "string | undefined"
|
|
3119
|
+
},
|
|
3120
|
+
{
|
|
3121
|
+
"name": "variantId",
|
|
3122
|
+
"attribute": "variantId",
|
|
3123
|
+
"type": "string | UmbVariantId | undefined"
|
|
3124
|
+
},
|
|
3114
3125
|
{
|
|
3115
3126
|
"name": "min",
|
|
3116
3127
|
"attribute": "min",
|
|
@@ -4953,8 +4964,7 @@
|
|
|
4953
4964
|
"path": "./src/backoffice/shared/modals/confirm/confirm-modal.element.ts",
|
|
4954
4965
|
"attributes": [
|
|
4955
4966
|
{
|
|
4956
|
-
"name": "data"
|
|
4957
|
-
"type": "UmbConfirmModalData | undefined"
|
|
4967
|
+
"name": "data"
|
|
4958
4968
|
}
|
|
4959
4969
|
],
|
|
4960
4970
|
"properties": [
|
|
@@ -4968,8 +4978,7 @@
|
|
|
4968
4978
|
},
|
|
4969
4979
|
{
|
|
4970
4980
|
"name": "data",
|
|
4971
|
-
"attribute": "data"
|
|
4972
|
-
"type": "UmbConfirmModalData | undefined"
|
|
4981
|
+
"attribute": "data"
|
|
4973
4982
|
}
|
|
4974
4983
|
]
|
|
4975
4984
|
},
|
|
@@ -4978,8 +4987,7 @@
|
|
|
4978
4987
|
"path": "./src/backoffice/shared/modals/embedded-media/embedded-media-modal.element.ts",
|
|
4979
4988
|
"attributes": [
|
|
4980
4989
|
{
|
|
4981
|
-
"name": "data"
|
|
4982
|
-
"type": "UmbEmbeddedMediaModalData | undefined"
|
|
4990
|
+
"name": "data"
|
|
4983
4991
|
}
|
|
4984
4992
|
],
|
|
4985
4993
|
"properties": [
|
|
@@ -4993,8 +5001,7 @@
|
|
|
4993
5001
|
},
|
|
4994
5002
|
{
|
|
4995
5003
|
"name": "data",
|
|
4996
|
-
"attribute": "data"
|
|
4997
|
-
"type": "UmbEmbeddedMediaModalData | undefined"
|
|
5004
|
+
"attribute": "data"
|
|
4998
5005
|
}
|
|
4999
5006
|
]
|
|
5000
5007
|
},
|
|
@@ -5221,8 +5228,7 @@
|
|
|
5221
5228
|
"path": "./src/backoffice/shared/property-editors/modals/property-editor-ui-picker/property-editor-ui-picker-modal.element.ts",
|
|
5222
5229
|
"attributes": [
|
|
5223
5230
|
{
|
|
5224
|
-
"name": "data"
|
|
5225
|
-
"type": "UmbPropertyEditorUIPickerModalData | undefined"
|
|
5231
|
+
"name": "data"
|
|
5226
5232
|
}
|
|
5227
5233
|
],
|
|
5228
5234
|
"properties": [
|
|
@@ -5233,8 +5239,7 @@
|
|
|
5233
5239
|
},
|
|
5234
5240
|
{
|
|
5235
5241
|
"name": "data",
|
|
5236
|
-
"attribute": "data"
|
|
5237
|
-
"type": "UmbPropertyEditorUIPickerModalData | undefined"
|
|
5242
|
+
"attribute": "data"
|
|
5238
5243
|
},
|
|
5239
5244
|
{
|
|
5240
5245
|
"name": "modalHandler"
|
|
@@ -6032,7 +6037,7 @@
|
|
|
6032
6037
|
"attributes": [
|
|
6033
6038
|
{
|
|
6034
6039
|
"name": "value",
|
|
6035
|
-
"type": "
|
|
6040
|
+
"type": "array",
|
|
6036
6041
|
"default": "[]"
|
|
6037
6042
|
}
|
|
6038
6043
|
],
|
|
@@ -6045,7 +6050,7 @@
|
|
|
6045
6050
|
{
|
|
6046
6051
|
"name": "value",
|
|
6047
6052
|
"attribute": "value",
|
|
6048
|
-
"type": "
|
|
6053
|
+
"type": "array",
|
|
6049
6054
|
"default": "[]"
|
|
6050
6055
|
},
|
|
6051
6056
|
{
|
|
@@ -6953,8 +6958,8 @@
|
|
|
6953
6958
|
]
|
|
6954
6959
|
},
|
|
6955
6960
|
{
|
|
6956
|
-
"name": "umb-export-dictionary-modal
|
|
6957
|
-
"path": "./src/backoffice/translation/dictionary/entity-actions/export/export-dictionary-modal
|
|
6961
|
+
"name": "umb-export-dictionary-modal",
|
|
6962
|
+
"path": "./src/backoffice/translation/dictionary/entity-actions/export/export-dictionary-modal.element.ts",
|
|
6958
6963
|
"properties": [
|
|
6959
6964
|
{
|
|
6960
6965
|
"name": "styles",
|
|
@@ -6964,8 +6969,8 @@
|
|
|
6964
6969
|
]
|
|
6965
6970
|
},
|
|
6966
6971
|
{
|
|
6967
|
-
"name": "umb-import-dictionary-modal
|
|
6968
|
-
"path": "./src/backoffice/translation/dictionary/entity-actions/import/import-dictionary-modal
|
|
6972
|
+
"name": "umb-import-dictionary-modal",
|
|
6973
|
+
"path": "./src/backoffice/translation/dictionary/entity-actions/import/import-dictionary-modal.element.ts",
|
|
6969
6974
|
"properties": [
|
|
6970
6975
|
{
|
|
6971
6976
|
"name": "styles",
|
|
@@ -7027,8 +7032,7 @@
|
|
|
7027
7032
|
"path": "./src/backoffice/users/current-user/modals/change-password/change-password-modal.element.ts",
|
|
7028
7033
|
"attributes": [
|
|
7029
7034
|
{
|
|
7030
|
-
"name": "data"
|
|
7031
|
-
"type": "UmbChangePasswordModalData | undefined"
|
|
7035
|
+
"name": "data"
|
|
7032
7036
|
}
|
|
7033
7037
|
],
|
|
7034
7038
|
"properties": [
|
|
@@ -7042,8 +7046,7 @@
|
|
|
7042
7046
|
},
|
|
7043
7047
|
{
|
|
7044
7048
|
"name": "data",
|
|
7045
|
-
"attribute": "data"
|
|
7046
|
-
"type": "UmbChangePasswordModalData | undefined"
|
|
7049
|
+
"attribute": "data"
|
|
7047
7050
|
}
|
|
7048
7051
|
]
|
|
7049
7052
|
},
|
|
@@ -7061,18 +7064,58 @@
|
|
|
7061
7064
|
}
|
|
7062
7065
|
]
|
|
7063
7066
|
},
|
|
7067
|
+
{
|
|
7068
|
+
"name": "umb-user-profile-app-external-login-providers",
|
|
7069
|
+
"path": "./src/backoffice/users/current-user/user-profile-apps/user-profile-app-external-login-providers.element.ts",
|
|
7070
|
+
"properties": [
|
|
7071
|
+
{
|
|
7072
|
+
"name": "styles",
|
|
7073
|
+
"type": "CSSResult[]",
|
|
7074
|
+
"default": "[\"UUITextStyles\",null]"
|
|
7075
|
+
}
|
|
7076
|
+
]
|
|
7077
|
+
},
|
|
7078
|
+
{
|
|
7079
|
+
"name": "umb-user-profile-app-history",
|
|
7080
|
+
"path": "./src/backoffice/users/current-user/user-profile-apps/user-profile-app-history.element.ts",
|
|
7081
|
+
"properties": [
|
|
7082
|
+
{
|
|
7083
|
+
"name": "styles",
|
|
7084
|
+
"type": "CSSResult[]",
|
|
7085
|
+
"default": "[\"UUITextStyles\",null]"
|
|
7086
|
+
}
|
|
7087
|
+
]
|
|
7088
|
+
},
|
|
7064
7089
|
{
|
|
7065
7090
|
"name": "umb-user-dashboard-test",
|
|
7066
|
-
"path": "./src/backoffice/users/current-user/user-
|
|
7091
|
+
"path": "./src/backoffice/users/current-user/user-profile-apps/user-profile-app-history.element.ts",
|
|
7067
7092
|
"properties": [
|
|
7068
7093
|
{
|
|
7069
7094
|
"name": "styles",
|
|
7070
7095
|
"type": "CSSResult[]",
|
|
7071
7096
|
"default": "[\"UUITextStyles\",null]"
|
|
7072
|
-
}
|
|
7097
|
+
}
|
|
7098
|
+
]
|
|
7099
|
+
},
|
|
7100
|
+
{
|
|
7101
|
+
"name": "umb-user-profile-app-profile",
|
|
7102
|
+
"path": "./src/backoffice/users/current-user/user-profile-apps/user-profile-app-profile.element.ts",
|
|
7103
|
+
"properties": [
|
|
7073
7104
|
{
|
|
7074
|
-
"name": "
|
|
7075
|
-
"type": "
|
|
7105
|
+
"name": "styles",
|
|
7106
|
+
"type": "CSSResult[]",
|
|
7107
|
+
"default": "[\"UUITextStyles\",null]"
|
|
7108
|
+
}
|
|
7109
|
+
]
|
|
7110
|
+
},
|
|
7111
|
+
{
|
|
7112
|
+
"name": "umb-user-profile-app-themes",
|
|
7113
|
+
"path": "./src/backoffice/users/current-user/user-profile-apps/user-profile-app-themes.element.ts",
|
|
7114
|
+
"properties": [
|
|
7115
|
+
{
|
|
7116
|
+
"name": "styles",
|
|
7117
|
+
"type": "CSSResult[]",
|
|
7118
|
+
"default": "[\"UUITextStyles\",null]"
|
|
7076
7119
|
}
|
|
7077
7120
|
]
|
|
7078
7121
|
},
|
|
@@ -7452,7 +7495,7 @@
|
|
|
7452
7495
|
"attributes": [
|
|
7453
7496
|
{
|
|
7454
7497
|
"name": "routes",
|
|
7455
|
-
"type": "
|
|
7498
|
+
"type": "any[] | undefined"
|
|
7456
7499
|
}
|
|
7457
7500
|
],
|
|
7458
7501
|
"properties": [
|
|
@@ -7464,7 +7507,60 @@
|
|
|
7464
7507
|
{
|
|
7465
7508
|
"name": "routes",
|
|
7466
7509
|
"attribute": "routes",
|
|
7467
|
-
"type": "
|
|
7510
|
+
"type": "any[] | undefined"
|
|
7511
|
+
},
|
|
7512
|
+
{
|
|
7513
|
+
"name": "absoluteRouterPath",
|
|
7514
|
+
"type": "string | undefined"
|
|
7515
|
+
},
|
|
7516
|
+
{
|
|
7517
|
+
"name": "localActiveViewPath",
|
|
7518
|
+
"type": "string | undefined"
|
|
7519
|
+
},
|
|
7520
|
+
{
|
|
7521
|
+
"name": "absoluteActiveViewPath",
|
|
7522
|
+
"type": "string"
|
|
7523
|
+
}
|
|
7524
|
+
],
|
|
7525
|
+
"events": [
|
|
7526
|
+
{
|
|
7527
|
+
"name": "init",
|
|
7528
|
+
"description": "fires when the router is connected"
|
|
7529
|
+
},
|
|
7530
|
+
{
|
|
7531
|
+
"name": "change",
|
|
7532
|
+
"description": "fires when a path of this router is changed"
|
|
7533
|
+
}
|
|
7534
|
+
]
|
|
7535
|
+
},
|
|
7536
|
+
{
|
|
7537
|
+
"name": "umb-variant-router-slot",
|
|
7538
|
+
"path": "./src/core/router/variant-router-slot.element.ts",
|
|
7539
|
+
"attributes": [
|
|
7540
|
+
{
|
|
7541
|
+
"name": "variantId",
|
|
7542
|
+
"type": "UmbVariantId[]"
|
|
7543
|
+
},
|
|
7544
|
+
{
|
|
7545
|
+
"name": "routes",
|
|
7546
|
+
"type": "any[] | undefined"
|
|
7547
|
+
}
|
|
7548
|
+
],
|
|
7549
|
+
"properties": [
|
|
7550
|
+
{
|
|
7551
|
+
"name": "variantId",
|
|
7552
|
+
"attribute": "variantId",
|
|
7553
|
+
"type": "UmbVariantId[]"
|
|
7554
|
+
},
|
|
7555
|
+
{
|
|
7556
|
+
"name": "styles",
|
|
7557
|
+
"type": "CSSResult[]",
|
|
7558
|
+
"default": "[null]"
|
|
7559
|
+
},
|
|
7560
|
+
{
|
|
7561
|
+
"name": "routes",
|
|
7562
|
+
"attribute": "routes",
|
|
7563
|
+
"type": "any[] | undefined"
|
|
7468
7564
|
},
|
|
7469
7565
|
{
|
|
7470
7566
|
"name": "absoluteRouterPath",
|
package/element.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { HTMLElementConstructor } from './models';
|
|
3
|
-
import {
|
|
3
|
+
import { UmbControllerHostElement } from './controller';
|
|
4
4
|
import { UmbContextToken, UmbContextProviderController, UmbContextCallback, UmbContextConsumerController } from './context-api';
|
|
5
5
|
import { UmbObserverController } from './observable-api';
|
|
6
6
|
|
|
7
7
|
interface ResolvedContexts {
|
|
8
8
|
[key: string]: any;
|
|
9
9
|
}
|
|
10
|
-
declare class UmbElementMixinInterface extends
|
|
10
|
+
declare class UmbElementMixinInterface extends UmbControllerHostElement {
|
|
11
11
|
observe<T>(source: Observable<T>, callback: (_value: T) => void, unique?: string): UmbObserverController<T>;
|
|
12
12
|
provideContext<R = unknown>(alias: string | UmbContextToken<R>, instance: R): UmbContextProviderController<R>;
|
|
13
13
|
consumeContext<R = unknown>(alias: string | UmbContextToken<R>, callback: UmbContextCallback<R>): UmbContextConsumerController<R>;
|
package/entity-action.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UmbControllerHostElement } from './controller';
|
|
2
2
|
import { UmbEntityActionBase as UmbEntityActionBase$1 } from './entity-action';
|
|
3
3
|
|
|
4
4
|
interface UmbAction<RepositoryType = unknown> {
|
|
5
|
-
host:
|
|
5
|
+
host: UmbControllerHostElement;
|
|
6
6
|
repository: RepositoryType;
|
|
7
7
|
execute(): Promise<void>;
|
|
8
8
|
}
|
|
9
9
|
declare class UmbActionBase<RepositoryType> {
|
|
10
|
-
host:
|
|
10
|
+
host: UmbControllerHostElement;
|
|
11
11
|
repository?: RepositoryType;
|
|
12
|
-
constructor(host:
|
|
12
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
interface UmbEntityAction<RepositoryType> extends UmbAction<RepositoryType> {
|
|
@@ -17,7 +17,7 @@ interface UmbEntityAction<RepositoryType> extends UmbAction<RepositoryType> {
|
|
|
17
17
|
}
|
|
18
18
|
declare class UmbEntityActionBase<RepositoryType> extends UmbActionBase<RepositoryType> {
|
|
19
19
|
unique: string;
|
|
20
|
-
constructor(host:
|
|
20
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
interface UmbEntityBulkAction<RepositoryType = unknown> extends UmbAction<RepositoryType> {
|
|
@@ -26,14 +26,14 @@ interface UmbEntityBulkAction<RepositoryType = unknown> extends UmbAction<Reposi
|
|
|
26
26
|
}
|
|
27
27
|
declare class UmbEntityBulkActionBase<RepositoryType = unknown> extends UmbActionBase<RepositoryType> {
|
|
28
28
|
selection: Array<string>;
|
|
29
|
-
constructor(host:
|
|
29
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, selection: Array<string>);
|
|
30
30
|
setSelection(selection: Array<string>): void;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
declare class UmbCopyEntityAction<T extends {
|
|
34
34
|
copy(): Promise<void>;
|
|
35
35
|
}> extends UmbEntityActionBase$1<T> {
|
|
36
|
-
constructor(host:
|
|
36
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
37
37
|
execute(): Promise<void>;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -42,21 +42,21 @@ declare class UmbDeleteEntityAction<T extends {
|
|
|
42
42
|
requestItems(uniques: Array<string>): any;
|
|
43
43
|
}> extends UmbEntityActionBase$1<T> {
|
|
44
44
|
#private;
|
|
45
|
-
constructor(host:
|
|
45
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
46
46
|
execute(): Promise<void>;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
declare class UmbMoveEntityAction<T extends {
|
|
50
50
|
move(): Promise<void>;
|
|
51
51
|
}> extends UmbEntityActionBase$1<T> {
|
|
52
|
-
constructor(host:
|
|
52
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
53
53
|
execute(): Promise<void>;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
declare class UmbSortChildrenOfEntityAction<T extends {
|
|
57
57
|
sortChildrenOf(): Promise<void>;
|
|
58
58
|
}> extends UmbEntityActionBase$1<T> {
|
|
59
|
-
constructor(host:
|
|
59
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
60
60
|
execute(): Promise<void>;
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -65,7 +65,7 @@ declare class UmbTrashEntityAction<T extends {
|
|
|
65
65
|
requestTreeItems(uniques: Array<string>): any;
|
|
66
66
|
}> extends UmbEntityActionBase$1<T> {
|
|
67
67
|
#private;
|
|
68
|
-
constructor(host:
|
|
68
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
69
69
|
execute(): Promise<void>;
|
|
70
70
|
}
|
|
71
71
|
|
package/extensions-api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { ManifestTypes, ManifestKind, ManifestTypeMap, ManifestBase, SpecificManifestTypeOrManifestBase, ManifestElement, ManifestElementWithElementName, ManifestClass } from './extensions-registry';
|
|
3
3
|
import { UmbContextToken } from './context-api';
|
|
4
|
-
import {
|
|
4
|
+
import { UmbControllerHostElement } from './controller';
|
|
5
5
|
|
|
6
6
|
declare class UmbExtensionRegistry {
|
|
7
7
|
private _extensions;
|
|
@@ -28,7 +28,7 @@ declare function hasDefaultExport<ConstructorType>(object: unknown): object is {
|
|
|
28
28
|
default: ConstructorType;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
type UmbEntrypointOnInit = (host:
|
|
31
|
+
type UmbEntrypointOnInit = (host: UmbControllerHostElement, extensionRegistry: UmbExtensionRegistry) => void;
|
|
32
32
|
/**
|
|
33
33
|
* Interface containing supported life-cycle functions for ESModule entrypoints
|
|
34
34
|
*/
|
package/extensions-registry.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { UmbWorkspaceAction } from './workspace';
|
|
|
3
3
|
import { ClassConstructor } from './models';
|
|
4
4
|
import { UmbStoreBase, UmbTreeStore } from './store';
|
|
5
5
|
import { UmbExtensionRegistry } from './extensions-api';
|
|
6
|
-
import {
|
|
6
|
+
import { UmbControllerHostElement } from './controller';
|
|
7
7
|
|
|
8
8
|
interface ManifestCollectionView extends ManifestElement, ManifestWithConditions<ConditionsCollectionView> {
|
|
9
9
|
type: 'collectionView';
|
|
@@ -253,11 +253,11 @@ interface ConditionsTreeItem {
|
|
|
253
253
|
entityType: string;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
interface
|
|
257
|
-
type: '
|
|
258
|
-
meta:
|
|
256
|
+
interface ManifestUserProfileApp extends ManifestElement {
|
|
257
|
+
type: 'userProfileApp';
|
|
258
|
+
meta: MetaUserProfileApp;
|
|
259
259
|
}
|
|
260
|
-
interface
|
|
260
|
+
interface MetaUserProfileApp {
|
|
261
261
|
label: string;
|
|
262
262
|
pathname: string;
|
|
263
263
|
}
|
|
@@ -330,7 +330,7 @@ interface ManifestTreeStore extends ManifestClass<UmbTreeStore> {
|
|
|
330
330
|
type: 'treeStore';
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
type ManifestTypes = ManifestCollectionView | ManifestDashboard | ManifestDashboardCollection | ManifestEntityAction | ManifestEntityBulkAction | ManifestEntrypoint | ManifestExternalLoginProvider | ManifestHeaderApp | ManifestHeaderAppButtonKind | ManifestHealthCheck | ManifestPackageView | ManifestPropertyAction | ManifestPropertyEditorModel | ManifestPropertyEditorUI | ManifestRepository | ManifestSection | ManifestSectionSidebarApp | ManifestSectionSidebarAppMenuKind | ManifestSectionView | ManifestMenu | ManifestMenuItem | ManifestMenuItemTreeKind | ManifestTheme | ManifestTree | ManifestTreeItem |
|
|
333
|
+
type ManifestTypes = ManifestCollectionView | ManifestDashboard | ManifestDashboardCollection | ManifestEntityAction | ManifestEntityBulkAction | ManifestEntrypoint | ManifestExternalLoginProvider | ManifestHeaderApp | ManifestHeaderAppButtonKind | ManifestHealthCheck | ManifestPackageView | ManifestPropertyAction | ManifestPropertyEditorModel | ManifestPropertyEditorUI | ManifestRepository | ManifestSection | ManifestSectionSidebarApp | ManifestSectionSidebarAppMenuKind | ManifestSectionView | ManifestMenu | ManifestMenuItem | ManifestMenuItemTreeKind | ManifestTheme | ManifestTree | ManifestTreeItem | ManifestUserProfileApp | ManifestWorkspace | ManifestWorkspaceAction | ManifestWorkspaceView | ManifestWorkspaceViewCollection | ManifestModal | ManifestStore | ManifestTreeStore | ManifestBase;
|
|
334
334
|
type ManifestStandardTypes = ManifestTypes['type'];
|
|
335
335
|
type ManifestTypeMap = {
|
|
336
336
|
[Manifest in ManifestTypes as Manifest['type']]: Manifest;
|
|
@@ -390,8 +390,8 @@ interface ManifestEntrypoint extends ManifestBase {
|
|
|
390
390
|
|
|
391
391
|
declare class UmbEntryPointExtensionInitializer {
|
|
392
392
|
#private;
|
|
393
|
-
constructor(rootHost:
|
|
393
|
+
constructor(rootHost: UmbControllerHostElement, extensionRegistry: UmbExtensionRegistry);
|
|
394
394
|
instantiateEntryPoint(manifest: ManifestEntrypoint): void;
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
export { ConditionsCollectionView, ConditionsDashboard, ConditionsDashboardCollection, ConditionsEditorViewCollection, ConditionsEntityAction, ConditionsEntityBulkAction, ConditionsMenuItem, ConditionsPropertyAction, ConditionsSectionSidebarApp, ConditionsSectionView, ConditionsTreeItem, ConditionsWorkspaceAction, ConditionsWorkspaceView, HealthCheck, ManifestBase, ManifestClass, ManifestClassWithClassConstructor, ManifestCollectionView, ManifestDashboard, ManifestDashboardCollection, ManifestElement, ManifestElementWithElementName, ManifestEntityAction, ManifestEntityBulkAction, ManifestEntrypoint, ManifestExternalLoginProvider, ManifestHeaderApp, ManifestHeaderAppButtonKind, ManifestHealthCheck, ManifestKind, ManifestMenu, ManifestMenuItem, ManifestMenuItemTreeKind, ManifestModal, ManifestPackageView, ManifestPropertyAction, ManifestPropertyEditorModel, ManifestPropertyEditorUI, ManifestRepository, ManifestSection, ManifestSectionSidebarApp, ManifestSectionSidebarAppMenuKind, ManifestSectionView, ManifestStandardTypes, ManifestStore, ManifestTheme, ManifestTree, ManifestTreeItem, ManifestTreeStore, ManifestTypeMap, ManifestTypes,
|
|
397
|
+
export { ConditionsCollectionView, ConditionsDashboard, ConditionsDashboardCollection, ConditionsEditorViewCollection, ConditionsEntityAction, ConditionsEntityBulkAction, ConditionsMenuItem, ConditionsPropertyAction, ConditionsSectionSidebarApp, ConditionsSectionView, ConditionsTreeItem, ConditionsWorkspaceAction, ConditionsWorkspaceView, HealthCheck, ManifestBase, ManifestClass, ManifestClassWithClassConstructor, ManifestCollectionView, ManifestDashboard, ManifestDashboardCollection, ManifestElement, ManifestElementWithElementName, ManifestEntityAction, ManifestEntityBulkAction, ManifestEntrypoint, ManifestExternalLoginProvider, ManifestHeaderApp, ManifestHeaderAppButtonKind, ManifestHealthCheck, ManifestKind, ManifestMenu, ManifestMenuItem, ManifestMenuItemTreeKind, ManifestModal, ManifestPackageView, ManifestPropertyAction, ManifestPropertyEditorModel, ManifestPropertyEditorUI, ManifestRepository, ManifestSection, ManifestSectionSidebarApp, ManifestSectionSidebarAppMenuKind, ManifestSectionView, ManifestStandardTypes, ManifestStore, ManifestTheme, ManifestTree, ManifestTreeItem, ManifestTreeStore, ManifestTypeMap, ManifestTypes, ManifestUserProfileApp, ManifestWithConditions, ManifestWithLoader, ManifestWithMeta, ManifestWithView, ManifestWorkspace, ManifestWorkspaceAction, ManifestWorkspaceView, ManifestWorkspaceViewCollection, MetaCollectionView, MetaDashboard, MetaDashboardCollection, MetaEditor, MetaEditorViewCollection, MetaEntityAction, MetaEntityBulkAction, MetaExternalLoginProvider, MetaHeaderApp, MetaHeaderAppButtonKind, MetaHealthCheck, MetaManifestWithView, MetaMenuItem, MetaMenuItemTreeKind, MetaPackageView, MetaPropertyEditorModel, MetaPropertyEditorUI, MetaSection, MetaSectionSidebarAppMenuKind, MetaSectionView, MetaTree, MetaUserProfileApp, MetaWorkspaceAction, MetaWorkspaceView, PropertyEditorConfig, PropertyEditorConfigDefaultData, PropertyEditorConfigProperty, SpecificManifestTypeOrManifestBase, UmbEntryPointExtensionInitializer };
|