@umbraco-cms/backoffice 1.0.0-next.2808ac04 → 1.0.0-next.2d232d0c
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 +594 -272
- package/context-api.d.ts +1 -1
- package/controller.d.ts +1 -0
- package/custom-elements.json +168 -27
- package/extensions-api.d.ts +2 -1
- package/modal.d.ts +6 -315
- package/models.d.ts +8 -8
- package/observable-api.d.ts +25 -11
- package/package.json +1 -1
- package/repository.d.ts +17 -23
- package/router.d.ts +272 -22
- package/store.d.ts +11 -11
- package/utils.d.ts +3 -1
- package/vscode-html-custom-data.json +106 -37
- package/workspace.d.ts +4 -4
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
|
@@ -11,6 +11,7 @@ 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;
|
|
14
|
+
removeControllerByUnique(unique: UmbControllerInterface['unique']): void;
|
|
14
15
|
removeController(controller: UmbControllerInterface): void;
|
|
15
16
|
}
|
|
16
17
|
/**
|
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
|
]
|
|
@@ -944,13 +1067,27 @@
|
|
|
944
1067
|
]
|
|
945
1068
|
},
|
|
946
1069
|
{
|
|
947
|
-
"name": "umb-
|
|
948
|
-
"path": "./src/backoffice/settings/data-types/entity-actions/create/modal/
|
|
1070
|
+
"name": "umb-data-type-create-options-modal",
|
|
1071
|
+
"path": "./src/backoffice/settings/data-types/entity-actions/create/modal/data-type-create-options-modal.element.ts",
|
|
1072
|
+
"attributes": [
|
|
1073
|
+
{
|
|
1074
|
+
"name": "data",
|
|
1075
|
+
"type": "UmbDataTypeCreateOptionsModalData | undefined"
|
|
1076
|
+
}
|
|
1077
|
+
],
|
|
949
1078
|
"properties": [
|
|
950
1079
|
{
|
|
951
1080
|
"name": "styles",
|
|
952
1081
|
"type": "CSSResult[]",
|
|
953
1082
|
"default": "[\"UUITextStyles\"]"
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"name": "modalHandler"
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"name": "data",
|
|
1089
|
+
"attribute": "data",
|
|
1090
|
+
"type": "UmbDataTypeCreateOptionsModalData | undefined"
|
|
954
1091
|
}
|
|
955
1092
|
]
|
|
956
1093
|
},
|
|
@@ -1088,7 +1225,7 @@
|
|
|
1088
1225
|
]
|
|
1089
1226
|
},
|
|
1090
1227
|
{
|
|
1091
|
-
"name": "umb-language-workspace-
|
|
1228
|
+
"name": "umb-language-workspace-edit",
|
|
1092
1229
|
"path": "./src/backoffice/settings/languages/workspace/language/language-workspace-edit.element.ts",
|
|
1093
1230
|
"properties": [
|
|
1094
1231
|
{
|
|
@@ -2625,7 +2762,7 @@
|
|
|
2625
2762
|
"default": "\"\""
|
|
2626
2763
|
},
|
|
2627
2764
|
{
|
|
2628
|
-
"name": "
|
|
2765
|
+
"name": "selectedIds",
|
|
2629
2766
|
"type": "string[]"
|
|
2630
2767
|
},
|
|
2631
2768
|
{
|
|
@@ -2692,7 +2829,7 @@
|
|
|
2692
2829
|
"default": "[\"UUITextStyles\",null]"
|
|
2693
2830
|
},
|
|
2694
2831
|
{
|
|
2695
|
-
"name": "
|
|
2832
|
+
"name": "selectedIds",
|
|
2696
2833
|
"type": "string[]"
|
|
2697
2834
|
},
|
|
2698
2835
|
{
|
|
@@ -3010,7 +3147,7 @@
|
|
|
3010
3147
|
"default": "\"\""
|
|
3011
3148
|
},
|
|
3012
3149
|
{
|
|
3013
|
-
"name": "
|
|
3150
|
+
"name": "selectedIds",
|
|
3014
3151
|
"type": "string[]"
|
|
3015
3152
|
},
|
|
3016
3153
|
{
|
|
@@ -4443,7 +4580,7 @@
|
|
|
4443
4580
|
"default": "false"
|
|
4444
4581
|
},
|
|
4445
4582
|
{
|
|
4446
|
-
"name": "
|
|
4583
|
+
"name": "id",
|
|
4447
4584
|
"type": "string"
|
|
4448
4585
|
},
|
|
4449
4586
|
{
|
|
@@ -4453,11 +4590,6 @@
|
|
|
4453
4590
|
}
|
|
4454
4591
|
],
|
|
4455
4592
|
"properties": [
|
|
4456
|
-
{
|
|
4457
|
-
"name": "styles",
|
|
4458
|
-
"type": "CSSResult[]",
|
|
4459
|
-
"default": "[\"UUITextStyles\",null]"
|
|
4460
|
-
},
|
|
4461
4593
|
{
|
|
4462
4594
|
"name": "default",
|
|
4463
4595
|
"attribute": "default",
|
|
@@ -4465,10 +4597,15 @@
|
|
|
4465
4597
|
"default": "false"
|
|
4466
4598
|
},
|
|
4467
4599
|
{
|
|
4468
|
-
"name": "
|
|
4469
|
-
"attribute": "
|
|
4600
|
+
"name": "id",
|
|
4601
|
+
"attribute": "id",
|
|
4470
4602
|
"type": "string"
|
|
4471
4603
|
},
|
|
4604
|
+
{
|
|
4605
|
+
"name": "styles",
|
|
4606
|
+
"type": "CSSResult[]",
|
|
4607
|
+
"default": "[\"UUITextStyles\",null]"
|
|
4608
|
+
},
|
|
4472
4609
|
{
|
|
4473
4610
|
"name": "formAssociated",
|
|
4474
4611
|
"type": "boolean"
|
|
@@ -4945,6 +5082,10 @@
|
|
|
4945
5082
|
"name": "icon",
|
|
4946
5083
|
"description": "Slot for icon"
|
|
4947
5084
|
},
|
|
5085
|
+
{
|
|
5086
|
+
"name": "header",
|
|
5087
|
+
"description": "Slot for workspace header"
|
|
5088
|
+
},
|
|
4948
5089
|
{
|
|
4949
5090
|
"name": "name",
|
|
4950
5091
|
"description": "Slot for name"
|
|
@@ -4993,11 +5134,6 @@
|
|
|
4993
5134
|
}
|
|
4994
5135
|
],
|
|
4995
5136
|
"properties": [
|
|
4996
|
-
{
|
|
4997
|
-
"name": "styles",
|
|
4998
|
-
"type": "CSSResult[]",
|
|
4999
|
-
"default": "[\"UUITextStyles\",null]"
|
|
5000
|
-
},
|
|
5001
5137
|
{
|
|
5002
5138
|
"name": "alias",
|
|
5003
5139
|
"attribute": "alias",
|
|
@@ -5025,6 +5161,11 @@
|
|
|
5025
5161
|
"description": "Description: render a description underneath the label.",
|
|
5026
5162
|
"type": "string",
|
|
5027
5163
|
"default": "\"''\""
|
|
5164
|
+
},
|
|
5165
|
+
{
|
|
5166
|
+
"name": "styles",
|
|
5167
|
+
"type": "CSSResult[]",
|
|
5168
|
+
"default": "[\"UUITextStyles\",null]"
|
|
5028
5169
|
}
|
|
5029
5170
|
],
|
|
5030
5171
|
"slots": [
|
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;
|