@umbraco-cms/backoffice 1.0.0-next.23b74307 → 1.0.0-next.249bf505
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/controller.d.ts +1 -1
- package/custom-elements.json +253 -27
- package/element.d.ts +1 -1
- package/extensions-api.d.ts +2 -1
- package/modal.d.ts +7 -316
- package/models.d.ts +8 -8
- package/observable-api.d.ts +25 -11
- package/package.json +1 -1
- package/repository.d.ts +7 -7
- package/router.d.ts +268 -22
- package/store.d.ts +11 -11
- package/utils.d.ts +3 -1
- package/vscode-html-custom-data.json +125 -34
- 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/controller.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ declare class UmbControllerHostElement extends HTMLElement {
|
|
|
20
20
|
* @param {Object} superClass - superclass to be extended.
|
|
21
21
|
* @mixin
|
|
22
22
|
*/
|
|
23
|
-
declare const UmbControllerHostMixin: <T extends HTMLElementConstructor
|
|
23
|
+
declare const UmbControllerHostMixin: <T extends HTMLElementConstructor>(superClass: T) => HTMLElementConstructor<UmbControllerHostElement> & T;
|
|
24
24
|
declare global {
|
|
25
25
|
interface HTMLElement {
|
|
26
26
|
connectedCallback(): void;
|
package/custom-elements.json
CHANGED
|
@@ -139,6 +139,129 @@
|
|
|
139
139
|
}
|
|
140
140
|
]
|
|
141
141
|
},
|
|
142
|
+
{
|
|
143
|
+
"name": "umb-document-type-workspace-view-edit-properties",
|
|
144
|
+
"path": "./src/backoffice/documents/document-types/workspace/views/design/document-type-workspace-view-edit-properties.element.ts",
|
|
145
|
+
"attributes": [
|
|
146
|
+
{
|
|
147
|
+
"name": "container-name",
|
|
148
|
+
"type": "string | undefined"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "container-type",
|
|
152
|
+
"type": "PropertyContainerTypes | undefined"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"properties": [
|
|
156
|
+
{
|
|
157
|
+
"name": "containerId",
|
|
158
|
+
"type": "string | undefined"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "containerName",
|
|
162
|
+
"attribute": "container-name",
|
|
163
|
+
"type": "string | undefined"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "containerType",
|
|
167
|
+
"attribute": "container-type",
|
|
168
|
+
"type": "PropertyContainerTypes | undefined"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "styles",
|
|
172
|
+
"type": "CSSResult[]",
|
|
173
|
+
"default": "[\"UUITextStyles\",null]"
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "document-type-workspace-view-edit-property",
|
|
179
|
+
"path": "./src/backoffice/documents/document-types/workspace/views/design/document-type-workspace-view-edit-property.element.ts",
|
|
180
|
+
"attributes": [
|
|
181
|
+
{
|
|
182
|
+
"name": "property",
|
|
183
|
+
"description": "Property, the data object for the property.",
|
|
184
|
+
"type": "string",
|
|
185
|
+
"default": "\"''\""
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"properties": [
|
|
189
|
+
{
|
|
190
|
+
"name": "property",
|
|
191
|
+
"attribute": "property",
|
|
192
|
+
"description": "Property, the data object for the property.",
|
|
193
|
+
"type": "string",
|
|
194
|
+
"default": "\"''\""
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "styles",
|
|
198
|
+
"type": "CSSResult[]",
|
|
199
|
+
"default": "[\"UUITextStyles\",null]"
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"events": [
|
|
203
|
+
{
|
|
204
|
+
"name": "partial-property-update"
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
"slots": [
|
|
208
|
+
{
|
|
209
|
+
"name": "editor",
|
|
210
|
+
"description": "Slot for rendering the Property Editor"
|
|
211
|
+
}
|
|
212
|
+
]
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "umb-document-type-workspace-view-edit-tab",
|
|
216
|
+
"path": "./src/backoffice/documents/document-types/workspace/views/design/document-type-workspace-view-edit-tab.element.ts",
|
|
217
|
+
"attributes": [
|
|
218
|
+
{
|
|
219
|
+
"name": "ownerTabId",
|
|
220
|
+
"type": "string | undefined"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "tabName",
|
|
224
|
+
"type": "string | undefined"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "noTabName",
|
|
228
|
+
"type": "boolean"
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"properties": [
|
|
232
|
+
{
|
|
233
|
+
"name": "styles",
|
|
234
|
+
"type": "CSSResult[]",
|
|
235
|
+
"default": "[\"UUITextStyles\",null]"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "ownerTabId",
|
|
239
|
+
"attribute": "ownerTabId",
|
|
240
|
+
"type": "string | undefined"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "tabName",
|
|
244
|
+
"attribute": "tabName",
|
|
245
|
+
"type": "string | undefined"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "noTabName",
|
|
249
|
+
"attribute": "noTabName",
|
|
250
|
+
"type": "boolean"
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "umb-document-type-workspace-view-edit",
|
|
256
|
+
"path": "./src/backoffice/documents/document-types/workspace/views/design/document-type-workspace-view-edit.element.ts",
|
|
257
|
+
"properties": [
|
|
258
|
+
{
|
|
259
|
+
"name": "styles",
|
|
260
|
+
"type": "CSSResult[]",
|
|
261
|
+
"default": "[\"UUITextStyles\",null]"
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
},
|
|
142
265
|
{
|
|
143
266
|
"name": "umb-document-type-workspace-view-details",
|
|
144
267
|
"path": "./src/backoffice/documents/document-types/workspace/views/details/document-type-workspace-view-details.element.ts",
|
|
@@ -299,7 +422,7 @@
|
|
|
299
422
|
},
|
|
300
423
|
{
|
|
301
424
|
"name": "container-type",
|
|
302
|
-
"type": "
|
|
425
|
+
"type": "PropertyContainerTypes | undefined"
|
|
303
426
|
}
|
|
304
427
|
],
|
|
305
428
|
"properties": [
|
|
@@ -316,7 +439,7 @@
|
|
|
316
439
|
{
|
|
317
440
|
"name": "containerType",
|
|
318
441
|
"attribute": "container-type",
|
|
319
|
-
"type": "
|
|
442
|
+
"type": "PropertyContainerTypes | undefined"
|
|
320
443
|
}
|
|
321
444
|
]
|
|
322
445
|
},
|
|
@@ -591,7 +714,7 @@
|
|
|
591
714
|
"path": "./src/backoffice/packages/package-builder/workspace/workspace-package-builder.element.ts",
|
|
592
715
|
"attributes": [
|
|
593
716
|
{
|
|
594
|
-
"name": "
|
|
717
|
+
"name": "entityId",
|
|
595
718
|
"type": "string | undefined"
|
|
596
719
|
}
|
|
597
720
|
],
|
|
@@ -602,8 +725,8 @@
|
|
|
602
725
|
"default": "[\"UUITextStyles\",null]"
|
|
603
726
|
},
|
|
604
727
|
{
|
|
605
|
-
"name": "
|
|
606
|
-
"attribute": "
|
|
728
|
+
"name": "entityId",
|
|
729
|
+
"attribute": "entityId",
|
|
607
730
|
"type": "string | undefined"
|
|
608
731
|
}
|
|
609
732
|
]
|
|
@@ -613,7 +736,7 @@
|
|
|
613
736
|
"path": "./src/backoffice/packages/package-repo/workspace/workspace-package.element.ts",
|
|
614
737
|
"attributes": [
|
|
615
738
|
{
|
|
616
|
-
"name": "
|
|
739
|
+
"name": "entityId",
|
|
617
740
|
"type": "string | undefined"
|
|
618
741
|
}
|
|
619
742
|
],
|
|
@@ -624,8 +747,8 @@
|
|
|
624
747
|
"default": "[\"UUITextStyles\",null]"
|
|
625
748
|
},
|
|
626
749
|
{
|
|
627
|
-
"name": "
|
|
628
|
-
"attribute": "
|
|
750
|
+
"name": "entityId",
|
|
751
|
+
"attribute": "entityId",
|
|
629
752
|
"type": "string | undefined"
|
|
630
753
|
}
|
|
631
754
|
]
|
|
@@ -1088,7 +1211,7 @@
|
|
|
1088
1211
|
]
|
|
1089
1212
|
},
|
|
1090
1213
|
{
|
|
1091
|
-
"name": "umb-language-workspace-
|
|
1214
|
+
"name": "umb-language-workspace-edit",
|
|
1092
1215
|
"path": "./src/backoffice/settings/languages/workspace/language/language-workspace-edit.element.ts",
|
|
1093
1216
|
"properties": [
|
|
1094
1217
|
{
|
|
@@ -2625,7 +2748,7 @@
|
|
|
2625
2748
|
"default": "\"\""
|
|
2626
2749
|
},
|
|
2627
2750
|
{
|
|
2628
|
-
"name": "
|
|
2751
|
+
"name": "selectedIds",
|
|
2629
2752
|
"type": "string[]"
|
|
2630
2753
|
},
|
|
2631
2754
|
{
|
|
@@ -2692,7 +2815,7 @@
|
|
|
2692
2815
|
"default": "[\"UUITextStyles\",null]"
|
|
2693
2816
|
},
|
|
2694
2817
|
{
|
|
2695
|
-
"name": "
|
|
2818
|
+
"name": "selectedIds",
|
|
2696
2819
|
"type": "string[]"
|
|
2697
2820
|
},
|
|
2698
2821
|
{
|
|
@@ -3010,7 +3133,7 @@
|
|
|
3010
3133
|
"default": "\"\""
|
|
3011
3134
|
},
|
|
3012
3135
|
{
|
|
3013
|
-
"name": "
|
|
3136
|
+
"name": "selectedIds",
|
|
3014
3137
|
"type": "string[]"
|
|
3015
3138
|
},
|
|
3016
3139
|
{
|
|
@@ -3826,6 +3949,101 @@
|
|
|
3826
3949
|
}
|
|
3827
3950
|
]
|
|
3828
3951
|
},
|
|
3952
|
+
{
|
|
3953
|
+
"name": "umb-input-upload-field",
|
|
3954
|
+
"path": "./src/backoffice/shared/components/input-upload-field/input-upload-field.element.ts",
|
|
3955
|
+
"attributes": [
|
|
3956
|
+
{
|
|
3957
|
+
"name": "keys",
|
|
3958
|
+
"type": "Array<String>",
|
|
3959
|
+
"default": "\"[]\""
|
|
3960
|
+
},
|
|
3961
|
+
{
|
|
3962
|
+
"name": "fileExtensions",
|
|
3963
|
+
"type": "Array<String>",
|
|
3964
|
+
"default": "\"undefined\""
|
|
3965
|
+
},
|
|
3966
|
+
{
|
|
3967
|
+
"name": "multiple",
|
|
3968
|
+
"type": "Boolean",
|
|
3969
|
+
"default": "\"false\""
|
|
3970
|
+
}
|
|
3971
|
+
],
|
|
3972
|
+
"properties": [
|
|
3973
|
+
{
|
|
3974
|
+
"name": "styles",
|
|
3975
|
+
"type": "CSSResult[]",
|
|
3976
|
+
"default": "[\"UUITextStyles\",null]"
|
|
3977
|
+
},
|
|
3978
|
+
{
|
|
3979
|
+
"name": "keys",
|
|
3980
|
+
"attribute": "keys",
|
|
3981
|
+
"type": "Array<String>",
|
|
3982
|
+
"default": "\"[]\""
|
|
3983
|
+
},
|
|
3984
|
+
{
|
|
3985
|
+
"name": "fileExtensions",
|
|
3986
|
+
"attribute": "fileExtensions",
|
|
3987
|
+
"type": "Array<String>",
|
|
3988
|
+
"default": "\"undefined\""
|
|
3989
|
+
},
|
|
3990
|
+
{
|
|
3991
|
+
"name": "multiple",
|
|
3992
|
+
"attribute": "multiple",
|
|
3993
|
+
"type": "Boolean",
|
|
3994
|
+
"default": "\"false\""
|
|
3995
|
+
},
|
|
3996
|
+
{
|
|
3997
|
+
"name": "extensions",
|
|
3998
|
+
"type": "string[] | undefined"
|
|
3999
|
+
},
|
|
4000
|
+
{
|
|
4001
|
+
"name": "formAssociated",
|
|
4002
|
+
"type": "boolean"
|
|
4003
|
+
},
|
|
4004
|
+
{
|
|
4005
|
+
"name": "value",
|
|
4006
|
+
"type": "FormDataEntryValue | FormData"
|
|
4007
|
+
},
|
|
4008
|
+
{
|
|
4009
|
+
"name": "name",
|
|
4010
|
+
"type": "string"
|
|
4011
|
+
},
|
|
4012
|
+
{
|
|
4013
|
+
"name": "validationMessage",
|
|
4014
|
+
"type": "string"
|
|
4015
|
+
},
|
|
4016
|
+
{
|
|
4017
|
+
"name": "validity",
|
|
4018
|
+
"type": "ValidityState"
|
|
4019
|
+
},
|
|
4020
|
+
{
|
|
4021
|
+
"name": "pristine",
|
|
4022
|
+
"type": "boolean"
|
|
4023
|
+
},
|
|
4024
|
+
{
|
|
4025
|
+
"name": "required",
|
|
4026
|
+
"type": "boolean"
|
|
4027
|
+
},
|
|
4028
|
+
{
|
|
4029
|
+
"name": "requiredMessage",
|
|
4030
|
+
"type": "string"
|
|
4031
|
+
},
|
|
4032
|
+
{
|
|
4033
|
+
"name": "error",
|
|
4034
|
+
"type": "boolean"
|
|
4035
|
+
},
|
|
4036
|
+
{
|
|
4037
|
+
"name": "errorMessage",
|
|
4038
|
+
"type": "string"
|
|
4039
|
+
}
|
|
4040
|
+
],
|
|
4041
|
+
"events": [
|
|
4042
|
+
{
|
|
4043
|
+
"name": "change"
|
|
4044
|
+
}
|
|
4045
|
+
]
|
|
4046
|
+
},
|
|
3829
4047
|
{
|
|
3830
4048
|
"name": "umb-input-user-group",
|
|
3831
4049
|
"path": "./src/backoffice/shared/components/input-user-group/input-user-group.element.ts",
|
|
@@ -4348,7 +4566,7 @@
|
|
|
4348
4566
|
"default": "false"
|
|
4349
4567
|
},
|
|
4350
4568
|
{
|
|
4351
|
-
"name": "
|
|
4569
|
+
"name": "id",
|
|
4352
4570
|
"type": "string"
|
|
4353
4571
|
},
|
|
4354
4572
|
{
|
|
@@ -4358,11 +4576,6 @@
|
|
|
4358
4576
|
}
|
|
4359
4577
|
],
|
|
4360
4578
|
"properties": [
|
|
4361
|
-
{
|
|
4362
|
-
"name": "styles",
|
|
4363
|
-
"type": "CSSResult[]",
|
|
4364
|
-
"default": "[\"UUITextStyles\",null]"
|
|
4365
|
-
},
|
|
4366
4579
|
{
|
|
4367
4580
|
"name": "default",
|
|
4368
4581
|
"attribute": "default",
|
|
@@ -4370,10 +4583,15 @@
|
|
|
4370
4583
|
"default": "false"
|
|
4371
4584
|
},
|
|
4372
4585
|
{
|
|
4373
|
-
"name": "
|
|
4374
|
-
"attribute": "
|
|
4586
|
+
"name": "id",
|
|
4587
|
+
"attribute": "id",
|
|
4375
4588
|
"type": "string"
|
|
4376
4589
|
},
|
|
4590
|
+
{
|
|
4591
|
+
"name": "styles",
|
|
4592
|
+
"type": "CSSResult[]",
|
|
4593
|
+
"default": "[\"UUITextStyles\",null]"
|
|
4594
|
+
},
|
|
4377
4595
|
{
|
|
4378
4596
|
"name": "formAssociated",
|
|
4379
4597
|
"type": "boolean"
|
|
@@ -4850,6 +5068,10 @@
|
|
|
4850
5068
|
"name": "icon",
|
|
4851
5069
|
"description": "Slot for icon"
|
|
4852
5070
|
},
|
|
5071
|
+
{
|
|
5072
|
+
"name": "header",
|
|
5073
|
+
"description": "Slot for workspace header"
|
|
5074
|
+
},
|
|
4853
5075
|
{
|
|
4854
5076
|
"name": "name",
|
|
4855
5077
|
"description": "Slot for name"
|
|
@@ -4898,11 +5120,6 @@
|
|
|
4898
5120
|
}
|
|
4899
5121
|
],
|
|
4900
5122
|
"properties": [
|
|
4901
|
-
{
|
|
4902
|
-
"name": "styles",
|
|
4903
|
-
"type": "CSSResult[]",
|
|
4904
|
-
"default": "[\"UUITextStyles\",null]"
|
|
4905
|
-
},
|
|
4906
5123
|
{
|
|
4907
5124
|
"name": "alias",
|
|
4908
5125
|
"attribute": "alias",
|
|
@@ -4930,6 +5147,11 @@
|
|
|
4930
5147
|
"description": "Description: render a description underneath the label.",
|
|
4931
5148
|
"type": "string",
|
|
4932
5149
|
"default": "\"''\""
|
|
5150
|
+
},
|
|
5151
|
+
{
|
|
5152
|
+
"name": "styles",
|
|
5153
|
+
"type": "CSSResult[]",
|
|
5154
|
+
"default": "[\"UUITextStyles\",null]"
|
|
4933
5155
|
}
|
|
4934
5156
|
],
|
|
4935
5157
|
"slots": [
|
|
@@ -6902,8 +7124,12 @@
|
|
|
6902
7124
|
},
|
|
6903
7125
|
{
|
|
6904
7126
|
"name": "config",
|
|
6905
|
-
"type": "
|
|
6906
|
-
|
|
7127
|
+
"type": "array"
|
|
7128
|
+
}
|
|
7129
|
+
],
|
|
7130
|
+
"events": [
|
|
7131
|
+
{
|
|
7132
|
+
"name": "property-value-change"
|
|
6907
7133
|
}
|
|
6908
7134
|
]
|
|
6909
7135
|
},
|
package/element.d.ts
CHANGED
|
@@ -13,6 +13,6 @@ declare class UmbElementMixinInterface extends UmbControllerHostElement {
|
|
|
13
13
|
consumeContext<R = unknown>(alias: string | UmbContextToken<R>, callback: UmbContextCallback<R>): UmbContextConsumerController<R>;
|
|
14
14
|
consumeAllContexts(contextAliases: string[], callback: (_instances: ResolvedContexts) => void): void;
|
|
15
15
|
}
|
|
16
|
-
declare const UmbElementMixin: <T extends HTMLElementConstructor
|
|
16
|
+
declare const UmbElementMixin: <T extends HTMLElementConstructor>(superClass: T) => HTMLElementConstructor<UmbElementMixinInterface> & T;
|
|
17
17
|
|
|
18
18
|
export { UmbElementMixin, UmbElementMixinInterface };
|
package/extensions-api.d.ts
CHANGED
|
@@ -1,6 +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 { PageComponent } from './router';
|
|
4
5
|
import { UmbControllerHostElement } from './controller';
|
|
5
6
|
|
|
6
7
|
declare class UmbExtensionRegistry {
|
|
@@ -22,7 +23,7 @@ declare class UmbExtensionRegistry {
|
|
|
22
23
|
}
|
|
23
24
|
declare const UMB_EXTENSION_REGISTRY_TOKEN: UmbContextToken<UmbExtensionRegistry>;
|
|
24
25
|
|
|
25
|
-
declare function createExtensionElement(manifest: ManifestElement): Promise<
|
|
26
|
+
declare function createExtensionElement(manifest: ManifestElement): Promise<PageComponent>;
|
|
26
27
|
|
|
27
28
|
declare function hasDefaultExport<ConstructorType>(object: unknown): object is {
|
|
28
29
|
default: ConstructorType;
|