@umbraco-cms/backoffice 1.0.0-next.0107ef9c → 1.0.0-next.04da68ae
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/README.md +2 -3
- package/collection.d.ts +1 -1
- package/content-type.d.ts +1 -1
- package/context-api.d.ts +42 -2
- package/{controller.d.ts → controller-api.d.ts} +2 -3
- package/custom-elements.json +679 -151
- package/{element.d.ts → element-api.d.ts} +2 -2
- package/entity-action.d.ts +1 -1
- package/extension-api.d.ts +200 -0
- package/{extensions-registry.d.ts → extension-registry.d.ts} +9 -136
- package/modal.d.ts +52 -50
- package/models.d.ts +7 -3
- package/observable-api.d.ts +1 -1
- package/package.json +2 -2
- package/picker-input.d.ts +1 -1
- package/resources.d.ts +2 -15
- package/router.d.ts +1 -1
- package/section.d.ts +2 -2
- package/sorter.d.ts +1 -1
- package/store.d.ts +1 -1
- package/tree.d.ts +1 -1
- package/umbraco-package-schema.json +21 -21
- package/vscode-html-custom-data.json +280 -62
- package/workspace.d.ts +1 -1
- package/extensions-api.d.ts +0 -67
|
@@ -21,6 +21,63 @@
|
|
|
21
21
|
"description": "Properties:\n\n * `_loggingIn` {`boolean`} - \n\n * `_handleSubmit` - \n\n * `_greetings` {`string[]`} - \n\n * `_greeting` {`string`} - \n\n * `styles` - ",
|
|
22
22
|
"attributes": []
|
|
23
23
|
},
|
|
24
|
+
{
|
|
25
|
+
"name": "umb-context-provider",
|
|
26
|
+
"description": "Provides a value to the context down the DOM tree.\n\nSlots:\n\n * ` ` {} - The context will be available to all descendants given in the default slot.\n\nAttributes:\n\n * `value` {`unknown`} - The value to provide to the context.\n\n * `key` - The key to provide to the context.\n\nProperties:\n\n * `create` - The value to provide to the context.\n\n * `value` {`unknown`} - The value to provide to the context.\n\n * `key` - The key to provide to the context.",
|
|
27
|
+
"attributes": [
|
|
28
|
+
{
|
|
29
|
+
"name": "value",
|
|
30
|
+
"description": "`value` {`unknown`} - The value to provide to the context.\n\nProperty: value"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "key",
|
|
34
|
+
"description": "`key` - The key to provide to the context.\n\nProperty: key"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "umb-controller-host-initializer",
|
|
40
|
+
"description": "Properties:\n\n * `create` - A way to initialize controllers.",
|
|
41
|
+
"attributes": []
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "umb-app-error",
|
|
45
|
+
"description": "A full page error element that can be used either solo or for instance as the error 500 page and BootFailed\n\nAttributes:\n\n * `errorMessage` {`string | undefined`} - The error message to display\n\n * `error` {`unknown`} - The error to display\n\nProperties:\n\n * `errorMessage` {`string | undefined`} - The error message to display\n\n * `error` {`unknown`} - The error to display\n\n * `renderProblemDetails` - \n\n * `renderErrorObj` - \n\n * `render` - \n\n * `styles` - ",
|
|
46
|
+
"attributes": [
|
|
47
|
+
{
|
|
48
|
+
"name": "errorMessage",
|
|
49
|
+
"description": "`errorMessage` {`string | undefined`} - The error message to display\n\nProperty: errorMessage",
|
|
50
|
+
"values": []
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "error",
|
|
54
|
+
"description": "`error` {`unknown`} - The error to display\n\nProperty: error"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "umb-app",
|
|
60
|
+
"description": "Events:\n\n * `umb:debug-contexts:data` {`CustomEvent<{ contexts: any; }>`} - \n\nAttributes:\n\n * `serverUrl` {`string`} - The base URL of the configured Umbraco server.\n\n * `backofficePath` {`string`} - The base path of the backoffice.\n\n * `bypassAuth` {boolean} - Bypass authentication.\n\nProperties:\n\n * `serverUrl` {`string`} - The base URL of the configured Umbraco server.\n\n * `backofficePath` {`string`} - The base path of the backoffice.\n\n * `bypassAuth` {boolean} - Bypass authentication.\n\n * `_routes` {`any[]`} - \n\n * `styles` - ",
|
|
61
|
+
"attributes": [
|
|
62
|
+
{
|
|
63
|
+
"name": "serverUrl",
|
|
64
|
+
"description": "`serverUrl` {`string`} - The base URL of the configured Umbraco server.\n\nProperty: serverUrl\n\nDefault: "
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "backofficePath",
|
|
68
|
+
"description": "`backofficePath` {`string`} - The base path of the backoffice.\n\nProperty: backofficePath\n\nDefault: /umbraco"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "bypassAuth",
|
|
72
|
+
"description": "`bypassAuth` {boolean} - Bypass authentication.\n\nProperty: bypassAuth\n\nDefault: false",
|
|
73
|
+
"valueSet": "v"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "onumb:debug-contexts:data",
|
|
77
|
+
"description": "`umb:debug-contexts:data` {`CustomEvent<{ contexts: any; }>`} - "
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
},
|
|
24
81
|
{
|
|
25
82
|
"name": "umb-backoffice",
|
|
26
83
|
"description": "Properties:\n\n * `styles` {`CSSResult[]`} - ",
|
|
@@ -68,7 +125,7 @@
|
|
|
68
125
|
},
|
|
69
126
|
{
|
|
70
127
|
"name": "umb-button-with-dropdown",
|
|
71
|
-
"description": "Attributes:\n\n * `label` {`string`} - \n\n * `open` {`boolean`} - \n\n * `look` {`InterfaceLook`} - \n\n * `color` {`InterfaceColor`} - \n\n * `placement` {`PopoverPlacement`} - \n\nProperties:\n\n * `label` {`string`} - \n\n * `open` {`boolean`} - \n\n * `look` {`InterfaceLook`} - \n\n * `color` {`InterfaceColor`} - \n\n * `placement` {`PopoverPlacement`} - \n\n * `symbolExpand` - \n\n * `popover` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
128
|
+
"description": "Attributes:\n\n * `label` {`string`} - \n\n * `open` {`boolean`} - \n\n * `look` {`InterfaceLook`} - \n\n * `color` {`InterfaceColor`} - \n\n * `placement` {`PopoverPlacement`} - \n\n * `compact` {`boolean`} - \n\nProperties:\n\n * `label` {`string`} - \n\n * `open` {`boolean`} - \n\n * `look` {`InterfaceLook`} - \n\n * `color` {`InterfaceColor`} - \n\n * `placement` {`PopoverPlacement`} - \n\n * `compact` {`boolean`} - \n\n * `symbolExpand` - \n\n * `popover` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
72
129
|
"attributes": [
|
|
73
130
|
{
|
|
74
131
|
"name": "label",
|
|
@@ -168,6 +225,11 @@
|
|
|
168
225
|
"name": "left-end"
|
|
169
226
|
}
|
|
170
227
|
]
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "compact",
|
|
231
|
+
"description": "`compact` {`boolean`} - \n\nProperty: compact\n\nDefault: false",
|
|
232
|
+
"valueSet": "v"
|
|
171
233
|
}
|
|
172
234
|
]
|
|
173
235
|
},
|
|
@@ -287,6 +349,56 @@
|
|
|
287
349
|
"description": "Properties:\n\n * `_collectionContext` - \n\n * `manifest` - \n\n * `_entityType` {`string | undefined`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
288
350
|
"attributes": []
|
|
289
351
|
},
|
|
352
|
+
{
|
|
353
|
+
"name": "umb-date-input",
|
|
354
|
+
"description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `type` {'date'| 'time'| 'datetime-local'} - Specifies the type of input that will be rendered.\n\n * `displayValue` {`string | undefined`} - \n\n * `offsetTime` {`boolean`} - \n\n * `min` {`string | undefined`} - \n\n * `max` {`string | undefined`} - \n\n * `step` {`number | undefined`} - \n\nProperties:\n\n * `type` {'date'| 'time'| 'datetime-local'} - Specifies the type of input that will be rendered.\n\n * `displayValue` {`string | undefined`} - \n\n * `offsetTime` {`boolean`} - \n\n * `_offsetValue` {`number`} - \n\n * `min` {`string | undefined`} - \n\n * `max` {`string | undefined`} - \n\n * `step` {`number | undefined`} - \n\n * `_configRepository` - \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`} - ",
|
|
355
|
+
"attributes": [
|
|
356
|
+
{
|
|
357
|
+
"name": "type",
|
|
358
|
+
"description": "`type` {'date'| 'time'| 'datetime-local'} - Specifies the type of input that will be rendered.\n\nProperty: type\n\nDefault: date",
|
|
359
|
+
"values": [
|
|
360
|
+
{
|
|
361
|
+
"name": "date"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "time"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"name": "datetime-local"
|
|
368
|
+
}
|
|
369
|
+
]
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"name": "displayValue",
|
|
373
|
+
"description": "`displayValue` {`string | undefined`} - \n\nProperty: displayValue",
|
|
374
|
+
"values": []
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"name": "offsetTime",
|
|
378
|
+
"description": "`offsetTime` {`boolean`} - \n\nProperty: offsetTime\n\nDefault: false",
|
|
379
|
+
"valueSet": "v"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"name": "min",
|
|
383
|
+
"description": "`min` {`string | undefined`} - \n\nProperty: min",
|
|
384
|
+
"values": []
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"name": "max",
|
|
388
|
+
"description": "`max` {`string | undefined`} - \n\nProperty: max",
|
|
389
|
+
"values": []
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "step",
|
|
393
|
+
"description": "`step` {`number | undefined`} - \n\nProperty: step",
|
|
394
|
+
"values": []
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"name": "onchange",
|
|
398
|
+
"description": "`change` {`CustomEvent<unknown>`} - "
|
|
399
|
+
}
|
|
400
|
+
]
|
|
401
|
+
},
|
|
290
402
|
{
|
|
291
403
|
"name": "umb-debug",
|
|
292
404
|
"description": "Attributes:\n\n * `visible` {`boolean`} - \n\n * `dialog` {`boolean`} - \n\nProperties:\n\n * `visible` {`boolean`} - \n\n * `dialog` {`boolean`} - \n\n * `contextData` {`any[]`} - \n\n * `_debugPaneOpen` {`boolean`} - \n\n * `_modalContext` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
@@ -717,9 +829,14 @@
|
|
|
717
829
|
}
|
|
718
830
|
]
|
|
719
831
|
},
|
|
832
|
+
{
|
|
833
|
+
"name": "umb-input-upload-field-file",
|
|
834
|
+
"description": "Properties:\n\n * `file` {File} - \n\n * `render` - ",
|
|
835
|
+
"attributes": []
|
|
836
|
+
},
|
|
720
837
|
{
|
|
721
838
|
"name": "umb-input-upload-field",
|
|
722
|
-
"description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `keys` {Array<String>} - \n\n * `fileExtensions` {Array<String>} - \n\n * `multiple` {Boolean} - \n\nProperties:\n\n * `_keys` {`string[]`} - \n\n * `keys` {Array<String>} - \n\n * `fileExtensions` {Array<String>} - \n\n * `multiple` {Boolean} - \n\n * `_currentFiles` {`File[]`} - \n\n * `
|
|
839
|
+
"description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `keys` {Array<String>} - \n\n * `fileExtensions` {Array<String>} - \n\n * `multiple` {Boolean} - \n\nProperties:\n\n * `_keys` {`string[]`} - \n\n * `keys` {Array<String>} - \n\n * `fileExtensions` {Array<String>} - \n\n * `multiple` {Boolean} - \n\n * `_currentFiles` {`File[]`} - \n\n * `extensions` {`string[] | undefined`} - \n\n * `_dropzone` - \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`} - ",
|
|
723
840
|
"attributes": [
|
|
724
841
|
{
|
|
725
842
|
"name": "keys",
|
|
@@ -1203,13 +1320,13 @@
|
|
|
1203
1320
|
"attributes": []
|
|
1204
1321
|
},
|
|
1205
1322
|
{
|
|
1206
|
-
"name": "umb-template-
|
|
1207
|
-
"description": "Properties:\n\n * `
|
|
1323
|
+
"name": "umb-template-modal",
|
|
1324
|
+
"description": "Properties:\n\n * `_id` {`string`} - \n\n * `_template` - \n\n * `_codeEditor` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
1208
1325
|
"attributes": []
|
|
1209
1326
|
},
|
|
1210
1327
|
{
|
|
1211
|
-
"name": "umb-
|
|
1212
|
-
"description": "Properties:\n\n * `
|
|
1328
|
+
"name": "umb-tree-picker-modal",
|
|
1329
|
+
"description": "Properties:\n\n * `_selection` {`(string | null)[]`} - \n\n * `_multiple` {`boolean`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
1213
1330
|
"attributes": []
|
|
1214
1331
|
},
|
|
1215
1332
|
{
|
|
@@ -1445,7 +1562,7 @@
|
|
|
1445
1562
|
},
|
|
1446
1563
|
{
|
|
1447
1564
|
"name": "umb-property-editor-ui-date-picker",
|
|
1448
|
-
"description": "Attributes:\n\n * `value` {`string | undefined`} - \n\nProperties:\n\n * `_value` {`Date | undefined`} - \n\n * `_valueString` {`string | undefined`} - \n\n * `value` {`string | undefined`} - \n\n * `_format` {`string | undefined`} - \n\n * `_inputType` {`InputType`} - \n\n * `_offsetTime` {`boolean | undefined`} - \n\n * `config` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
1565
|
+
"description": "Attributes:\n\n * `value` {`string | undefined`} - \n\nProperties:\n\n * `_value` {`Date | undefined`} - \n\n * `_valueString` {`string | undefined`} - \n\n * `value` {`string | undefined`} - \n\n * `_format` {`string | undefined`} - \n\n * `_inputType` {`InputType`} - \n\n * `_min` {`string | undefined`} - \n\n * `_max` {`string | undefined`} - \n\n * `_step` {`number | undefined`} - \n\n * `_offsetTime` {`boolean | undefined`} - \n\n * `config` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
1449
1566
|
"attributes": [
|
|
1450
1567
|
{
|
|
1451
1568
|
"name": "value",
|
|
@@ -2039,16 +2156,6 @@
|
|
|
2039
2156
|
"name": "umb-document-menu-item",
|
|
2040
2157
|
"attributes": []
|
|
2041
2158
|
},
|
|
2042
|
-
{
|
|
2043
|
-
"name": "umb-document-picker-modal",
|
|
2044
|
-
"description": "Properties:\n\n * `_selection` {`(string | null)[]`} - \n\n * `_multiple` {`boolean`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
2045
|
-
"attributes": []
|
|
2046
|
-
},
|
|
2047
|
-
{
|
|
2048
|
-
"name": "umb-document-type-picker-modal",
|
|
2049
|
-
"description": "Properties:\n\n * `_selection` {`(string | null)[]`} - \n\n * `_multiple` {`boolean`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
2050
|
-
"attributes": []
|
|
2051
|
-
},
|
|
2052
2159
|
{
|
|
2053
2160
|
"name": "umb-property-editor-ui-document-picker",
|
|
2054
2161
|
"description": "Events:\n\n * `property-value-change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string[]`} - \n\nProperties:\n\n * `_value` {`string[]`} - \n\n * `value` {`string[]`} - \n\n * `config` {`any[]`} - \n\n * `_limitMin` {`number | undefined`} - \n\n * `_limitMax` {`number | undefined`} - ",
|
|
@@ -2190,11 +2297,6 @@
|
|
|
2190
2297
|
"name": "umb-media-menu-item",
|
|
2191
2298
|
"attributes": []
|
|
2192
2299
|
},
|
|
2193
|
-
{
|
|
2194
|
-
"name": "umb-media-picker-modal",
|
|
2195
|
-
"description": "Properties:\n\n * `_selection` {`(string | null)[]`} - \n\n * `_multiple` {`boolean`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
2196
|
-
"attributes": []
|
|
2197
|
-
},
|
|
2198
2300
|
{
|
|
2199
2301
|
"name": "umb-media-workspace-edit",
|
|
2200
2302
|
"description": "Properties:\n\n * `_id` {`string | undefined`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
@@ -2489,11 +2591,6 @@
|
|
|
2489
2591
|
}
|
|
2490
2592
|
]
|
|
2491
2593
|
},
|
|
2492
|
-
{
|
|
2493
|
-
"name": "umb-data-type-picker-modal",
|
|
2494
|
-
"description": "Properties:\n\n * `modalHandler` - \n\n * `data` - \n\n * `_selection` {`(string | null)[]`} - \n\n * `_multiple` {`boolean`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
2495
|
-
"attributes": []
|
|
2496
|
-
},
|
|
2497
2594
|
{
|
|
2498
2595
|
"name": "umb-data-type-workspace-edit-element",
|
|
2499
2596
|
"description": "Attributes:\n\n * `manifest` - \n\nProperties:\n\n * `manifest` - \n\n * `_dataTypeName` {`string`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
@@ -2838,6 +2935,151 @@
|
|
|
2838
2935
|
"description": "Properties:\n\n * `_item` - \n\n * `item` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
2839
2936
|
"attributes": []
|
|
2840
2937
|
},
|
|
2938
|
+
{
|
|
2939
|
+
"name": "umb-templating-insert-menu",
|
|
2940
|
+
"description": "Events:\n\n * `insert` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\n * `hidePartialView` {`boolean`} - \n\nProperties:\n\n * `value` {`string`} - \n\n * `_modalContext` - \n\n * `hidePartialView` {`boolean`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
2941
|
+
"attributes": [
|
|
2942
|
+
{
|
|
2943
|
+
"name": "value",
|
|
2944
|
+
"description": "`value` {`string`} - \n\nProperty: value\n\nDefault: "
|
|
2945
|
+
},
|
|
2946
|
+
{
|
|
2947
|
+
"name": "hidePartialView",
|
|
2948
|
+
"description": "`hidePartialView` {`boolean`} - \n\nProperty: hidePartialView\n\nDefault: false",
|
|
2949
|
+
"valueSet": "v"
|
|
2950
|
+
},
|
|
2951
|
+
{
|
|
2952
|
+
"name": "oninsert",
|
|
2953
|
+
"description": "`insert` {`CustomEvent<unknown>`} - "
|
|
2954
|
+
}
|
|
2955
|
+
]
|
|
2956
|
+
},
|
|
2957
|
+
{
|
|
2958
|
+
"name": "umb-templating-choose-insert-type-modal",
|
|
2959
|
+
"description": "Properties:\n\n * `_modalContext` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
2960
|
+
"attributes": []
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
"name": "umb-insert-section-checkbox",
|
|
2964
|
+
"description": "Events:\n\n * `change` {} - on change\n\nAttributes:\n\n * `show-mandatory` {`boolean`} - \n\n * `show-input` {`boolean`} - \n\n * `label-position` {'left' | 'right' | 'top' | 'bottom'} - Specifies the label position of the checkbox or the toggle\n\n * `checked` {boolean} - Reflects the state of the element.\nTrue if checkbox or toggle is checked. Change this to switch the state programmatically.\n\n * `disabled` {boolean} - Disables the input.\n\nProperties:\n\n * `showMandatory` {`boolean`} - \n\n * `showInput` {`boolean`} - \n\n * `input` - \n\n * `form` {`HTMLFormElement | undefined`} - \n\n * `checkbox` {`HTMLFormElement | undefined`} - \n\n * `inputValue` {`FormDataEntryValue | FormData | undefined`} - \n\n * `isMandatory` - \n\n * `styles` {`CSSResult[]`} - \n\n * `value` {`string`} - intentional overwrite of FormControlMixins value getter and setter method.\n\n * `labelPosition` {'left' | 'right' | 'top' | 'bottom'} - Specifies the label position of the checkbox or the toggle\n\n * `_checked` - \n\n * `checked` {boolean} - Reflects the state of the element.\nTrue if checkbox or toggle is checked. Change this to switch the state programmatically.\n\n * `disabled` {boolean} - Disables the input.\n\n * `_input` {`HTMLInputElement`} - \n\n * `inputRole` - \n\n * `_onKeypress` - \n\n * `_onInputChange` - ",
|
|
2965
|
+
"attributes": [
|
|
2966
|
+
{
|
|
2967
|
+
"name": "show-mandatory",
|
|
2968
|
+
"description": "`show-mandatory` {`boolean`} - \n\nProperty: showMandatory\n\nDefault: false",
|
|
2969
|
+
"valueSet": "v"
|
|
2970
|
+
},
|
|
2971
|
+
{
|
|
2972
|
+
"name": "show-input",
|
|
2973
|
+
"description": "`show-input` {`boolean`} - \n\nProperty: showInput\n\nDefault: false",
|
|
2974
|
+
"valueSet": "v"
|
|
2975
|
+
},
|
|
2976
|
+
{
|
|
2977
|
+
"name": "label-position",
|
|
2978
|
+
"description": "`label-position` {'left' | 'right' | 'top' | 'bottom'} - Specifies the label position of the checkbox or the toggle\n\nProperty: labelPosition\n\nDefault: right",
|
|
2979
|
+
"values": [
|
|
2980
|
+
{
|
|
2981
|
+
"name": "top"
|
|
2982
|
+
},
|
|
2983
|
+
{
|
|
2984
|
+
"name": "bottom"
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
"name": "right"
|
|
2988
|
+
},
|
|
2989
|
+
{
|
|
2990
|
+
"name": "left"
|
|
2991
|
+
}
|
|
2992
|
+
]
|
|
2993
|
+
},
|
|
2994
|
+
{
|
|
2995
|
+
"name": "checked",
|
|
2996
|
+
"description": "`checked` {boolean} - Reflects the state of the element.\nTrue if checkbox or toggle is checked. Change this to switch the state programmatically.\n\nProperty: checked\n\nDefault: false",
|
|
2997
|
+
"valueSet": "v"
|
|
2998
|
+
},
|
|
2999
|
+
{
|
|
3000
|
+
"name": "disabled",
|
|
3001
|
+
"description": "`disabled` {boolean} - Disables the input.\n\nProperty: disabled\n\nDefault: false",
|
|
3002
|
+
"valueSet": "v"
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
"name": "onchange",
|
|
3006
|
+
"description": "`change` {} - on change"
|
|
3007
|
+
}
|
|
3008
|
+
]
|
|
3009
|
+
},
|
|
3010
|
+
{
|
|
3011
|
+
"name": "umb-insert-section-input",
|
|
3012
|
+
"description": "Events:\n\n * `change` {} - on change\n\nAttributes:\n\n * `show-mandatory` {`boolean`} - \n\n * `show-input` {`boolean`} - \n\n * `label-position` {'left' | 'right' | 'top' | 'bottom'} - Specifies the label position of the checkbox or the toggle\n\n * `checked` {boolean} - Reflects the state of the element.\nTrue if checkbox or toggle is checked. Change this to switch the state programmatically.\n\n * `disabled` {boolean} - Disables the input.\n\nProperties:\n\n * `showMandatory` {`boolean`} - \n\n * `showInput` {`boolean`} - \n\n * `input` - \n\n * `form` {`HTMLFormElement | undefined`} - \n\n * `checkbox` {`HTMLFormElement | undefined`} - \n\n * `inputValue` {`FormDataEntryValue | FormData | undefined`} - \n\n * `isMandatory` - \n\n * `styles` {`CSSResult[]`} - \n\n * `value` {`string`} - intentional overwrite of FormControlMixins value getter and setter method.\n\n * `labelPosition` {'left' | 'right' | 'top' | 'bottom'} - Specifies the label position of the checkbox or the toggle\n\n * `_checked` - \n\n * `checked` {boolean} - Reflects the state of the element.\nTrue if checkbox or toggle is checked. Change this to switch the state programmatically.\n\n * `disabled` {boolean} - Disables the input.\n\n * `_input` {`HTMLInputElement`} - \n\n * `inputRole` - \n\n * `_onKeypress` - \n\n * `_onInputChange` - ",
|
|
3013
|
+
"attributes": [
|
|
3014
|
+
{
|
|
3015
|
+
"name": "show-mandatory",
|
|
3016
|
+
"description": "`show-mandatory` {`boolean`} - \n\nProperty: showMandatory\n\nDefault: false",
|
|
3017
|
+
"valueSet": "v"
|
|
3018
|
+
},
|
|
3019
|
+
{
|
|
3020
|
+
"name": "show-input",
|
|
3021
|
+
"description": "`show-input` {`boolean`} - \n\nProperty: showInput\n\nDefault: false",
|
|
3022
|
+
"valueSet": "v"
|
|
3023
|
+
},
|
|
3024
|
+
{
|
|
3025
|
+
"name": "label-position",
|
|
3026
|
+
"description": "`label-position` {'left' | 'right' | 'top' | 'bottom'} - Specifies the label position of the checkbox or the toggle\n\nProperty: labelPosition\n\nDefault: right",
|
|
3027
|
+
"values": [
|
|
3028
|
+
{
|
|
3029
|
+
"name": "top"
|
|
3030
|
+
},
|
|
3031
|
+
{
|
|
3032
|
+
"name": "bottom"
|
|
3033
|
+
},
|
|
3034
|
+
{
|
|
3035
|
+
"name": "right"
|
|
3036
|
+
},
|
|
3037
|
+
{
|
|
3038
|
+
"name": "left"
|
|
3039
|
+
}
|
|
3040
|
+
]
|
|
3041
|
+
},
|
|
3042
|
+
{
|
|
3043
|
+
"name": "checked",
|
|
3044
|
+
"description": "`checked` {boolean} - Reflects the state of the element.\nTrue if checkbox or toggle is checked. Change this to switch the state programmatically.\n\nProperty: checked\n\nDefault: false",
|
|
3045
|
+
"valueSet": "v"
|
|
3046
|
+
},
|
|
3047
|
+
{
|
|
3048
|
+
"name": "disabled",
|
|
3049
|
+
"description": "`disabled` {boolean} - Disables the input.\n\nProperty: disabled\n\nDefault: false",
|
|
3050
|
+
"valueSet": "v"
|
|
3051
|
+
},
|
|
3052
|
+
{
|
|
3053
|
+
"name": "onchange",
|
|
3054
|
+
"description": "`change` {} - on change"
|
|
3055
|
+
}
|
|
3056
|
+
]
|
|
3057
|
+
},
|
|
3058
|
+
{
|
|
3059
|
+
"name": "umb-templating-insert-section-modal",
|
|
3060
|
+
"description": "Properties:\n\n * `checkboxes` {`NodeListOf<UmbInsertSectionCheckboxElement>`} - \n\n * `selectedCheckbox` - \n\n * `snippet` {`string`} - \n\n * `snippetMethods` {`((sectionName: string, isMandatory: boolean) => string)[]`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
3061
|
+
"attributes": []
|
|
3062
|
+
},
|
|
3063
|
+
{
|
|
3064
|
+
"name": "umb-insert-value-sidebar",
|
|
3065
|
+
"description": "Properties:\n\n * `showDefaultValueInput` {`boolean`} - \n\n * `recursive` {`boolean`} - \n\n * `defaultValue` {`string | null`} - \n\n * `field` {`string | null`} - \n\n * `output` {`string`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
3066
|
+
"attributes": []
|
|
3067
|
+
},
|
|
3068
|
+
{
|
|
3069
|
+
"name": "umb-partial-view-picker-modal",
|
|
3070
|
+
"description": "Properties:\n\n * `_selection` {`(string | null)[]`} - \n\n * `_multiple` {`boolean`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
3071
|
+
"attributes": []
|
|
3072
|
+
},
|
|
3073
|
+
{
|
|
3074
|
+
"name": "umb-partial-views-workspace-edit",
|
|
3075
|
+
"description": "Properties:\n\n * `_name` {`string | null | undefined`} - \n\n * `_content` {`string | null | undefined`} - \n\n * `_codeEditor` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
3076
|
+
"attributes": []
|
|
3077
|
+
},
|
|
3078
|
+
{
|
|
3079
|
+
"name": "umb-partial-views-workspace",
|
|
3080
|
+
"description": "Properties:\n\n * `_routes` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
3081
|
+
"attributes": []
|
|
3082
|
+
},
|
|
2841
3083
|
{
|
|
2842
3084
|
"name": "umb-stylesheet-workspace-edit",
|
|
2843
3085
|
"description": "Properties:\n\n * `styles` {`CSSResult[]`} - ",
|
|
@@ -2915,9 +3157,14 @@
|
|
|
2915
3157
|
}
|
|
2916
3158
|
]
|
|
2917
3159
|
},
|
|
3160
|
+
{
|
|
3161
|
+
"name": "umb-template-workspace-edit",
|
|
3162
|
+
"description": "Properties:\n\n * `_name` {`string | null | undefined`} - \n\n * `_content` {`string | null | undefined`} - \n\n * `_codeEditor` - \n\n * `_modalContext` - \n\n * `styles` {`CSSResult[]`} - ",
|
|
3163
|
+
"attributes": []
|
|
3164
|
+
},
|
|
2918
3165
|
{
|
|
2919
3166
|
"name": "umb-template-workspace",
|
|
2920
|
-
"description": "Properties:\n\n * `_name` {`string | null | undefined`} - \n\n * `_content` {`string | null | undefined`} - \n\n * `
|
|
3167
|
+
"description": "Properties:\n\n * `_name` {`string | null | undefined`} - \n\n * `_content` {`string | null | undefined`} - \n\n * `_routes` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
2921
3168
|
"attributes": []
|
|
2922
3169
|
},
|
|
2923
3170
|
{
|
|
@@ -2959,6 +3206,11 @@
|
|
|
2959
3206
|
"description": "Properties:\n\n * `_dictionary` - \n\n * `_languages` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
2960
3207
|
"attributes": []
|
|
2961
3208
|
},
|
|
3209
|
+
{
|
|
3210
|
+
"name": "umb-dictionary-item-picker-modal",
|
|
3211
|
+
"description": "Properties:\n\n * `_selection` {`(string | null)[]`} - \n\n * `_multiple` {`boolean`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
3212
|
+
"attributes": []
|
|
3213
|
+
},
|
|
2962
3214
|
{
|
|
2963
3215
|
"name": "umb-umbraco-news-dashboard",
|
|
2964
3216
|
"description": "Properties:\n\n * `styles` {`CSSResult[]`} - ",
|
|
@@ -3186,25 +3438,6 @@
|
|
|
3186
3438
|
"description": "Properties:\n\n * `_routes` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
|
|
3187
3439
|
"attributes": []
|
|
3188
3440
|
},
|
|
3189
|
-
{
|
|
3190
|
-
"name": "umb-context-provider",
|
|
3191
|
-
"description": "Provides a value to the context down the DOM tree.\n\nSlots:\n\n * ` ` {} - The context will be available to all descendants given in the default slot.\n\nAttributes:\n\n * `value` {`unknown`} - The value to provide to the context.\n\n * `key` - The key to provide to the context.\n\nProperties:\n\n * `create` - The value to provide to the context.\n\n * `value` {`unknown`} - The value to provide to the context.\n\n * `key` - The key to provide to the context.",
|
|
3192
|
-
"attributes": [
|
|
3193
|
-
{
|
|
3194
|
-
"name": "value",
|
|
3195
|
-
"description": "`value` {`unknown`} - The value to provide to the context.\n\nProperty: value"
|
|
3196
|
-
},
|
|
3197
|
-
{
|
|
3198
|
-
"name": "key",
|
|
3199
|
-
"description": "`key` - The key to provide to the context.\n\nProperty: key"
|
|
3200
|
-
}
|
|
3201
|
-
]
|
|
3202
|
-
},
|
|
3203
|
-
{
|
|
3204
|
-
"name": "umb-controller-host-test",
|
|
3205
|
-
"description": "Properties:\n\n * `create` - A way to initialize controllers.",
|
|
3206
|
-
"attributes": []
|
|
3207
|
-
},
|
|
3208
3441
|
{
|
|
3209
3442
|
"name": "umb-story-modal-context-example",
|
|
3210
3443
|
"description": "Attributes:\n\n * `modalLayout` {`string`} - \n\nProperties:\n\n * `modalLayout` {`string`} - \n\n * `value` {`string`} - \n\n * `_modalContext` - ",
|
|
@@ -3257,21 +3490,6 @@
|
|
|
3257
3490
|
}
|
|
3258
3491
|
]
|
|
3259
3492
|
},
|
|
3260
|
-
{
|
|
3261
|
-
"name": "umb-error",
|
|
3262
|
-
"description": "A full page error element that can be used either solo or for instance as the error 500 page and BootFailed\n\nAttributes:\n\n * `errorMessage` {`string | undefined`} - The error message to display\n\n * `error` {`unknown`} - The error to display\n\nProperties:\n\n * `errorMessage` {`string | undefined`} - The error message to display\n\n * `error` {`unknown`} - The error to display\n\n * `renderProblemDetails` - \n\n * `renderErrorObj` - \n\n * `render` - \n\n * `styles` - ",
|
|
3263
|
-
"attributes": [
|
|
3264
|
-
{
|
|
3265
|
-
"name": "errorMessage",
|
|
3266
|
-
"description": "`errorMessage` {`string | undefined`} - The error message to display\n\nProperty: errorMessage",
|
|
3267
|
-
"values": []
|
|
3268
|
-
},
|
|
3269
|
-
{
|
|
3270
|
-
"name": "error",
|
|
3271
|
-
"description": "`error` {`unknown`} - The error to display\n\nProperty: error"
|
|
3272
|
-
}
|
|
3273
|
-
]
|
|
3274
|
-
},
|
|
3275
3493
|
{
|
|
3276
3494
|
"name": "umb-installer-consent",
|
|
3277
3495
|
"description": "Properties:\n\n * `_telemetryLevels` {`any[]`} - \n\n * `_telemetryFormData` - \n\n * `_installerContext` - \n\n * `_selectedTelemetryIndex` {`number`} - \n\n * `_selectedTelemetry` - \n\n * `styles` - ",
|
package/workspace.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as rxjs from 'rxjs';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
|
3
|
+
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller-api';
|
|
4
4
|
import { UmbWorkspaceContextInterface as UmbWorkspaceContextInterface$1 } from '@umbraco-cms/backoffice/workspace';
|
|
5
5
|
import { UmbEntityBase } from '@umbraco-cms/backoffice/models';
|
|
6
6
|
import { UmbVariantId } from '@umbraco-cms/backoffice/variant';
|
package/extensions-api.d.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { ManifestTypes, ManifestKind, ManifestTypeMap, ManifestBase, SpecificManifestTypeOrManifestBase, ManifestElement, ManifestElementWithElementName, ManifestWithLoader, ManifestClass } from '@umbraco-cms/backoffice/extensions-registry';
|
|
3
|
-
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
|
4
|
-
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
|
5
|
-
|
|
6
|
-
declare class UmbExtensionRegistry {
|
|
7
|
-
private _extensions;
|
|
8
|
-
readonly extensions: Observable<ManifestTypes[]>;
|
|
9
|
-
private _kinds;
|
|
10
|
-
readonly kinds: Observable<ManifestKind[]>;
|
|
11
|
-
defineKind(kind: ManifestKind): void;
|
|
12
|
-
register(manifest: ManifestTypes | ManifestKind): void;
|
|
13
|
-
registerMany(manifests: Array<ManifestTypes>): void;
|
|
14
|
-
unregister(alias: string): void;
|
|
15
|
-
isRegistered(alias: string): boolean;
|
|
16
|
-
private _kindsOfType;
|
|
17
|
-
private _extensionsOfType;
|
|
18
|
-
private _kindsOfTypes;
|
|
19
|
-
private _extensionsOfTypes;
|
|
20
|
-
getByTypeAndAlias<Key extends keyof ManifestTypeMap | string, T extends ManifestBase = SpecificManifestTypeOrManifestBase<Key>>(type: Key, alias: string): Observable<T | undefined>;
|
|
21
|
-
extensionsOfType<Key extends keyof ManifestTypeMap | string, T extends ManifestBase = SpecificManifestTypeOrManifestBase<Key>>(type: Key): Observable<T[]>;
|
|
22
|
-
extensionsOfTypes<ExtensionTypes extends ManifestBase = ManifestBase>(types: string[]): Observable<Array<ExtensionTypes>>;
|
|
23
|
-
}
|
|
24
|
-
declare const UMB_EXTENSION_REGISTRY_TOKEN: UmbContextToken<UmbExtensionRegistry>;
|
|
25
|
-
|
|
26
|
-
declare function createExtensionElement<ElementType extends HTMLElement>(manifest: ManifestElement<ElementType>): Promise<ElementType | undefined>;
|
|
27
|
-
|
|
28
|
-
declare function hasDefaultExport<ConstructorType>(object: unknown): object is {
|
|
29
|
-
default: ConstructorType;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
type UmbEntrypointOnInit = (host: UmbControllerHostElement, extensionRegistry: UmbExtensionRegistry) => void;
|
|
33
|
-
/**
|
|
34
|
-
* Interface containing supported life-cycle functions for ESModule entrypoints
|
|
35
|
-
*/
|
|
36
|
-
interface UmbEntrypointModule {
|
|
37
|
-
onInit: UmbEntrypointOnInit;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Validate if an ESModule exports a known init function called 'onInit'
|
|
42
|
-
*/
|
|
43
|
-
declare function hasInitExport(obj: unknown): obj is Pick<UmbEntrypointModule, 'onInit'>;
|
|
44
|
-
|
|
45
|
-
declare function isManifestElementNameType(manifest: unknown): manifest is ManifestElementWithElementName;
|
|
46
|
-
|
|
47
|
-
declare function isManifestElementableType<ElementType extends HTMLElement = HTMLElement>(manifest: ManifestBase): manifest is ManifestElement;
|
|
48
|
-
|
|
49
|
-
type ManifestJSType<T> = ManifestWithLoader<T> & {
|
|
50
|
-
js: string;
|
|
51
|
-
};
|
|
52
|
-
declare function isManifestJSType<T>(manifest: ManifestBase | unknown): manifest is ManifestJSType<T>;
|
|
53
|
-
|
|
54
|
-
type ManifestLoaderType<T> = ManifestWithLoader<T> & {
|
|
55
|
-
loader: () => Promise<T>;
|
|
56
|
-
};
|
|
57
|
-
declare function isManifestLoaderType<T>(manifest: ManifestBase): manifest is ManifestLoaderType<T>;
|
|
58
|
-
|
|
59
|
-
declare function loadExtension<T = unknown>(manifest: ManifestWithLoader<T>): Promise<T | null>;
|
|
60
|
-
|
|
61
|
-
declare function createExtensionElementOrFallback(manifest: any, fallbackElementName: string): Promise<HTMLElement | undefined>;
|
|
62
|
-
|
|
63
|
-
declare function createExtensionClass<T = unknown>(manifest: ManifestClass, constructorArguments: unknown[]): Promise<T | undefined>;
|
|
64
|
-
|
|
65
|
-
declare const umbExtensionsRegistry: UmbExtensionRegistry;
|
|
66
|
-
|
|
67
|
-
export { ManifestJSType, ManifestLoaderType, UMB_EXTENSION_REGISTRY_TOKEN, UmbEntrypointModule, UmbEntrypointOnInit, UmbExtensionRegistry, createExtensionClass, createExtensionElement, createExtensionElementOrFallback, hasDefaultExport, hasInitExport, isManifestElementNameType, isManifestElementableType, isManifestJSType, isManifestLoaderType, loadExtension, umbExtensionsRegistry };
|