@umbraco-cms/backoffice 1.0.0-next.b7d4efa4 → 1.0.0-next.b82f3242

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/utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { InterfaceLook, InterfaceColor } from '@umbraco-ui/uui-base/lib/types';
2
- import { UserStatus } from './models';
2
+ import { UserStatus } from '@umbraco-cms/backoffice/models';
3
3
 
4
4
  declare const getLookAndColorFromUserStatus: (status: UserStatus) => {
5
5
  look: InterfaceLook;
@@ -57,7 +57,7 @@
57
57
  },
58
58
  {
59
59
  "name": "umb-document-type-workspace",
60
- "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_routes` {`{ path: string; component: () => UmbDocumentTypeWorkspaceEditorElement; setup: (component: HTMLElement, info: any) => void; }[]`} - ",
60
+ "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_routes` {`any[]`} - ",
61
61
  "attributes": []
62
62
  },
63
63
  {
@@ -67,7 +67,7 @@
67
67
  },
68
68
  {
69
69
  "name": "umb-document-type-workspace-view-edit-properties",
70
- "description": "Attributes:\n\n * `container-name` {`string | undefined`} - \n\n * `container-type` {`PropertyContainerTypes | undefined`} - \n\nProperties:\n\n * `_containerKey` {`string | undefined`} - \n\n * `containerKey` {`string | undefined`} - \n\n * `containerName` {`string | undefined`} - \n\n * `containerType` {`PropertyContainerTypes | undefined`} - \n\n * `_propertyStructureHelper` - \n\n * `_propertyStructure` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
70
+ "description": "Attributes:\n\n * `container-name` {`string | undefined`} - \n\n * `container-type` {`PropertyContainerTypes | undefined`} - \n\nProperties:\n\n * `_containerId` {`string | undefined`} - \n\n * `containerId` {`string | undefined`} - \n\n * `containerName` {`string | undefined`} - \n\n * `containerType` {`PropertyContainerTypes | undefined`} - \n\n * `_propertyStructureHelper` - \n\n * `_propertyStructure` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
71
71
  "attributes": [
72
72
  {
73
73
  "name": "container-name",
@@ -104,11 +104,11 @@
104
104
  },
105
105
  {
106
106
  "name": "umb-document-type-workspace-view-edit-tab",
107
- "description": "Attributes:\n\n * `ownerTabKey` {`string | undefined`} - \n\n * `tabName` {`string | undefined`} - \n\n * `noTabName` {`boolean`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_ownerTabKey` {`string | undefined`} - \n\n * `ownerTabKey` {`string | undefined`} - \n\n * `_tabName` {`string | undefined`} - \n\n * `tabName` {`string | undefined`} - \n\n * `noTabName` {`boolean`} - \n\n * `_groupStructureHelper` - \n\n * `_groups` {`any[]`} - \n\n * `_hasProperties` {`boolean`} - ",
107
+ "description": "Attributes:\n\n * `ownerTabId` {`string | undefined`} - \n\n * `tabName` {`string | undefined`} - \n\n * `noTabName` {`boolean`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_ownerTabId` {`string | undefined`} - \n\n * `ownerTabId` {`string | undefined`} - \n\n * `_tabName` {`string | undefined`} - \n\n * `tabName` {`string | undefined`} - \n\n * `noTabName` {`boolean`} - \n\n * `_groupStructureHelper` - \n\n * `_groups` {`any[]`} - \n\n * `_hasProperties` {`boolean`} - ",
108
108
  "attributes": [
109
109
  {
110
- "name": "ownerTabKey",
111
- "description": "`ownerTabKey` {`string | undefined`} - \n\nProperty: ownerTabKey",
110
+ "name": "ownerTabId",
111
+ "description": "`ownerTabId` {`string | undefined`} - \n\nProperty: ownerTabId",
112
112
  "values": []
113
113
  },
114
114
  {
@@ -179,7 +179,7 @@
179
179
  },
180
180
  {
181
181
  "name": "umb-document-workspace-editor",
182
- "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `splitViewElement` - \n\n * `_unique` {`string | undefined`} - \n\n * `_routes` {`IRoute<any>[] | undefined`} - \n\n * `_availableVariants` {`any[]`} - \n\n * `_workspaceSplitViews` {`ActiveVariant[]`} - \n\n * `_gotWorkspaceRoute` - ",
182
+ "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `splitViewElement` - \n\n * `_unique` {`string | undefined`} - \n\n * `_routes` {`any[] | undefined`} - \n\n * `_availableVariants` {`any[]`} - \n\n * `_workspaceSplitViews` {`ActiveVariant[]`} - \n\n * `_gotWorkspaceRoute` - ",
183
183
  "attributes": []
184
184
  },
185
185
  {
@@ -189,7 +189,7 @@
189
189
  },
190
190
  {
191
191
  "name": "umb-document-workspace",
192
- "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_routes` {`IRoute<any>[]`} - ",
192
+ "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_routes` {`any[]`} - ",
193
193
  "attributes": []
194
194
  },
195
195
  {
@@ -282,7 +282,7 @@
282
282
  },
283
283
  {
284
284
  "name": "umb-media-workspace-edit",
285
- "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_key` {`string | undefined`} - ",
285
+ "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_id` {`string | undefined`} - ",
286
286
  "attributes": []
287
287
  },
288
288
  {
@@ -342,22 +342,22 @@
342
342
  },
343
343
  {
344
344
  "name": "umb-workspace-package-builder",
345
- "description": "Attributes:\n\n * `entityKey` {`string | undefined`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `entityKey` {`string | undefined`} - \n\n * `_package` - \n\n * `_packageNameInput` - \n\n * `_notificationContext` - ",
345
+ "description": "Attributes:\n\n * `entityId` {`string | undefined`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `entityId` {`string | undefined`} - \n\n * `_package` - \n\n * `_packageNameInput` - \n\n * `_notificationContext` - ",
346
346
  "attributes": [
347
347
  {
348
- "name": "entityKey",
349
- "description": "`entityKey` {`string | undefined`} - \n\nProperty: entityKey",
348
+ "name": "entityId",
349
+ "description": "`entityId` {`string | undefined`} - \n\nProperty: entityId",
350
350
  "values": []
351
351
  }
352
352
  ]
353
353
  },
354
354
  {
355
355
  "name": "umb-workspace-package",
356
- "description": "Attributes:\n\n * `entityKey` {`string | undefined`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `entityKey` {`string | undefined`} - \n\n * `_package` - ",
356
+ "description": "Attributes:\n\n * `entityId` {`string | undefined`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `entityId` {`string | undefined`} - \n\n * `_package` - ",
357
357
  "attributes": [
358
358
  {
359
- "name": "entityKey",
360
- "description": "`entityKey` {`string | undefined`} - \n\nProperty: entityKey",
359
+ "name": "entityId",
360
+ "description": "`entityId` {`string | undefined`} - \n\nProperty: entityId",
361
361
  "values": []
362
362
  }
363
363
  ]
@@ -479,7 +479,7 @@
479
479
  },
480
480
  {
481
481
  "name": "umb-dashboard-health-check-group",
482
- "description": "Attributes:\n\n * `groupName` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `groupName` {`string`} - \n\n * `_buttonState` {`UUIButtonState`} - \n\n * `_group` - \n\n * `_healthCheckContext` - \n\n * `_checks` {`any[] | undefined`} - \n\n * `_keyResults` {`any[] | undefined`} - \n\n * `_api` - ",
482
+ "description": "Attributes:\n\n * `groupName` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `groupName` {`string`} - \n\n * `_buttonState` {`UUIButtonState`} - \n\n * `_group` - \n\n * `_healthCheckContext` - \n\n * `_checks` {`any[] | undefined`} - \n\n * `_idResults` {`any[] | undefined`} - \n\n * `_api` - ",
483
483
  "attributes": [
484
484
  {
485
485
  "name": "groupName",
@@ -518,8 +518,45 @@
518
518
  "attributes": []
519
519
  },
520
520
  {
521
- "name": "umb-create-data-type-modal",
522
- "description": "Properties:\n\n * `styles` {`CSSResult[]`} - ",
521
+ "name": "umb-data-type-input",
522
+ "description": "Attributes:\n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `min-message` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `value` {`string`} - \n\nProperties:\n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `minMessage` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `selectedIds` {`string[]`} - \n\n * `_items` {`any[] | undefined`} - \n\n * `styles` {`CSSResult[]`} - \n\n * `formAssociated` {`boolean`} - \n\n * `value` {`string`} - \n\n * `name` {`string`} - \n\n * `validationMessage` {`string`} - \n\n * `validity` {`ValidityState`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_internals` - \n\n * `addValidator` - \n\n * `pristine` {`boolean`} - \n\n * `required` {`boolean`} - \n\n * `requiredMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `errorMessage` {`string`} - ",
523
+ "attributes": [
524
+ {
525
+ "name": "min",
526
+ "description": "`min` {number} - This is a minimum amount of selected items in this input.\n\nProperty: min\n\nDefault: 0"
527
+ },
528
+ {
529
+ "name": "max",
530
+ "description": "`max` {number} - This is a maximum amount of selected items in this input.\n\nProperty: max\n\nDefault: Infinity"
531
+ },
532
+ {
533
+ "name": "min-message",
534
+ "description": "`min-message` {boolean} - Min validation message.\n\nProperty: minMessage\n\nDefault: "
535
+ },
536
+ {
537
+ "name": "maxMessage",
538
+ "description": "`maxMessage` {boolean} - Max validation message.\n\nProperty: maxMessage\n\nDefault: "
539
+ },
540
+ {
541
+ "name": "value",
542
+ "description": "`value` {`string`} - \n\nProperty: value"
543
+ }
544
+ ]
545
+ },
546
+ {
547
+ "name": "umb-data-type-create-options-modal",
548
+ "description": "Attributes:\n\n * `data` {`UmbDataTypeCreateOptionsModalData | undefined`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `modalHandler` - \n\n * `data` {`UmbDataTypeCreateOptionsModalData | undefined`} - ",
549
+ "attributes": [
550
+ {
551
+ "name": "data",
552
+ "description": "`data` {`UmbDataTypeCreateOptionsModalData | undefined`} - \n\nProperty: data",
553
+ "values": []
554
+ }
555
+ ]
556
+ },
557
+ {
558
+ "name": "umb-data-type-picker-modal",
559
+ "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `modalHandler` - \n\n * `data` - \n\n * `_selection` {`string[]`} - \n\n * `_multiple` {`boolean`} - ",
523
560
  "attributes": []
524
561
  },
525
562
  {
@@ -583,17 +620,17 @@
583
620
  },
584
621
  {
585
622
  "name": "umb-language-workspace-edit",
586
- "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_language` - \n\n * `_isNew` {`boolean`} - ",
623
+ "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_language` - \n\n * `_isNew` {`boolean | undefined`} - ",
587
624
  "attributes": []
588
625
  },
589
626
  {
590
627
  "name": "umb-language-workspace",
591
- "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_routes` {`{ path: string; component: () => UmbLanguageWorkspaceEditElement; setup: (component: HTMLElement, info: IRoutingInfo<any, any>) => void; }[]`} - ",
628
+ "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_routes` {`any[]`} - ",
592
629
  "attributes": []
593
630
  },
594
631
  {
595
632
  "name": "umb-language-details-workspace-view",
596
- "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_language` - \n\n * `_isDefaultLanguage` {`boolean`} - \n\n * `_isNew` {`boolean`} - \n\n * `_validationErrors` - ",
633
+ "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_language` - \n\n * `_isDefaultLanguage` {`boolean`} - \n\n * `_isNew` {`boolean | undefined`} - \n\n * `_validationErrors` - ",
597
634
  "attributes": []
598
635
  },
599
636
  {
@@ -703,9 +740,14 @@
703
740
  "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_pollingPopover` - \n\n * `_polingExpandSymbol` - \n\n * `_poolingConfig` {`PoolingCOnfig`} - ",
704
741
  "attributes": []
705
742
  },
743
+ {
744
+ "name": "umb-log-viewer-save-search-modal",
745
+ "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_input` - \n\n * `_hasValue` {`boolean`} - ",
746
+ "attributes": []
747
+ },
706
748
  {
707
749
  "name": "umb-log-viewer-search-input",
708
- "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_savedSearchesPopover` - \n\n * `_savedSearchesExpandSymbol` - \n\n * `_savedSearches` {`any[]`} - \n\n * `_inputQuery` {`string`} - ",
750
+ "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_savedSearchesPopover` - \n\n * `_savedSearchesExpandSymbol` - \n\n * `_savedSearches` {`any[]`} - \n\n * `_inputQuery` {`string`} - \n\n * `_showLoader` {`boolean`} - \n\n * `inputQuery$` - \n\n * `_modalContext` - ",
709
751
  "attributes": []
710
752
  },
711
753
  {
@@ -725,7 +767,7 @@
725
767
  },
726
768
  {
727
769
  "name": "umb-relation-type-workspace-view-relation-type",
728
- "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_relationType` - ",
770
+ "description": "Properties:\n\n * `_relationType` - \n\n * `styles` {`CSSResult[]`} - ",
729
771
  "attributes": []
730
772
  },
731
773
  {
@@ -924,7 +966,7 @@
924
966
  ]
925
967
  },
926
968
  {
927
- "name": "uui-code-block",
969
+ "name": "umb-code-block",
928
970
  "description": "A simple styled box for showing code-based error messages.\n\nSlots:\n\n * ` ` {} - the full message\n\nProperties:\n\n * `styles` {`CSSResult[]`} - ",
929
971
  "attributes": []
930
972
  },
@@ -936,9 +978,6 @@
936
978
  "name": "language",
937
979
  "description": "`language` {CodeEditorLanguage} - Language of the editor. Default is javascript.\n\nProperty: language\n\nDefault: javascript",
938
980
  "values": [
939
- {
940
- "name": "html"
941
- },
942
981
  {
943
982
  "name": "razor"
944
983
  },
@@ -956,6 +995,9 @@
956
995
  },
957
996
  {
958
997
  "name": "json"
998
+ },
999
+ {
1000
+ "name": "html"
959
1001
  }
960
1002
  ]
961
1003
  },
@@ -1253,7 +1295,7 @@
1253
1295
  },
1254
1296
  {
1255
1297
  "name": "umb-input-document-picker",
1256
- "description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `min-message` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `value` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `minMessage` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `_selectedKeys` {`string[]`} - \n\n * `selectedKeys` {`string[]`} - \n\n * `_items` {`any[] | undefined`} - \n\n * `_modalContext` - \n\n * `_documentStore` - \n\n * `_pickedItemsObserver` - \n\n * `formAssociated` {`boolean`} - \n\n * `value` {`string`} - \n\n * `name` {`string`} - \n\n * `validationMessage` {`string`} - \n\n * `validity` {`ValidityState`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_internals` - \n\n * `addValidator` - \n\n * `pristine` {`boolean`} - \n\n * `required` {`boolean`} - \n\n * `requiredMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `errorMessage` {`string`} - ",
1298
+ "description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `min-message` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `value` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `minMessage` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `_selectedIds` {`string[]`} - \n\n * `selectedIds` {`string[]`} - \n\n * `_items` {`any[] | undefined`} - \n\n * `_modalContext` - \n\n * `_documentStore` - \n\n * `_pickedItemsObserver` - \n\n * `formAssociated` {`boolean`} - \n\n * `value` {`string`} - \n\n * `name` {`string`} - \n\n * `validationMessage` {`string`} - \n\n * `validity` {`ValidityState`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_internals` - \n\n * `addValidator` - \n\n * `pristine` {`boolean`} - \n\n * `required` {`boolean`} - \n\n * `requiredMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `errorMessage` {`string`} - ",
1257
1299
  "attributes": [
1258
1300
  {
1259
1301
  "name": "min",
@@ -1285,7 +1327,7 @@
1285
1327
  },
1286
1328
  {
1287
1329
  "name": "umb-input-document-type-picker",
1288
- "description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_selectedKeys` {`string[]`} - \n\n * `selectedKeys` {`string[]`} - \n\n * `_items` {`any[] | undefined`} - \n\n * `_modalContext` - \n\n * `_documentTypeStore` - \n\n * `_pickedItemsObserver` - \n\n * `formAssociated` {`boolean`} - \n\n * `value` {`string`} - \n\n * `name` {`string`} - \n\n * `validationMessage` {`string`} - \n\n * `validity` {`ValidityState`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_internals` - \n\n * `addValidator` - \n\n * `pristine` {`boolean`} - \n\n * `required` {`boolean`} - \n\n * `requiredMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `errorMessage` {`string`} - ",
1330
+ "description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_selectedIds` {`string[]`} - \n\n * `selectedIds` {`string[]`} - \n\n * `_items` {`any[] | undefined`} - \n\n * `_modalContext` - \n\n * `_documentTypeStore` - \n\n * `_pickedItemsObserver` - \n\n * `formAssociated` {`boolean`} - \n\n * `value` {`string`} - \n\n * `name` {`string`} - \n\n * `validationMessage` {`string`} - \n\n * `validity` {`ValidityState`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_internals` - \n\n * `addValidator` - \n\n * `pristine` {`boolean`} - \n\n * `required` {`boolean`} - \n\n * `requiredMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `errorMessage` {`string`} - ",
1289
1331
  "attributes": [
1290
1332
  {
1291
1333
  "name": "value",
@@ -1318,17 +1360,15 @@
1318
1360
  },
1319
1361
  {
1320
1362
  "name": "umb-input-language-picker",
1321
- "description": "Attributes:\n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `min-message` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `value` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `minMessage` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `filter` - \n\n * `_selectedIsoCodes` {`string[]`} - \n\n * `selectedIsoCodes` {`string[]`} - \n\n * `_items` {`any[] | undefined`} - \n\n * `_modalContext` - \n\n * `_repository` - \n\n * `_pickedItemsObserver` - \n\n * `formAssociated` {`boolean`} - \n\n * `value` {`string`} - \n\n * `name` {`string`} - \n\n * `validationMessage` {`string`} - \n\n * `validity` {`ValidityState`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_internals` - \n\n * `addValidator` - \n\n * `pristine` {`boolean`} - \n\n * `required` {`boolean`} - \n\n * `requiredMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `errorMessage` {`string`} - ",
1363
+ "description": "Attributes:\n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `min-message` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `value` {`string`} - \n\nProperties:\n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `minMessage` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `filter` - \n\n * `selectedIsoCodes` {`string[]`} - \n\n * `_items` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - \n\n * `formAssociated` {`boolean`} - \n\n * `value` {`string`} - \n\n * `name` {`string`} - \n\n * `validationMessage` {`string`} - \n\n * `validity` {`ValidityState`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_internals` - \n\n * `addValidator` - \n\n * `pristine` {`boolean`} - \n\n * `required` {`boolean`} - \n\n * `requiredMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `errorMessage` {`string`} - ",
1322
1364
  "attributes": [
1323
1365
  {
1324
1366
  "name": "min",
1325
- "description": "`min` {number} - This is a minimum amount of selected items in this input.\n\nProperty: min\n\nDefault: undefined",
1326
- "values": []
1367
+ "description": "`min` {number} - This is a minimum amount of selected items in this input.\n\nProperty: min\n\nDefault: 0"
1327
1368
  },
1328
1369
  {
1329
1370
  "name": "max",
1330
- "description": "`max` {number} - This is a maximum amount of selected items in this input.\n\nProperty: max\n\nDefault: undefined",
1331
- "values": []
1371
+ "description": "`max` {number} - This is a maximum amount of selected items in this input.\n\nProperty: max\n\nDefault: Infinity"
1332
1372
  },
1333
1373
  {
1334
1374
  "name": "min-message",
@@ -1346,7 +1386,7 @@
1346
1386
  },
1347
1387
  {
1348
1388
  "name": "umb-input-media-picker",
1349
- "description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `min-message` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `value` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `minMessage` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `_selectedKeys` {`string[]`} - \n\n * `selectedKeys` {`string[]`} - \n\n * `_items` {`any[] | undefined`} - \n\n * `_modalContext` - \n\n * `_pickedItemsObserver` - \n\n * `_repository` - \n\n * `formAssociated` {`boolean`} - \n\n * `value` {`string`} - \n\n * `name` {`string`} - \n\n * `validationMessage` {`string`} - \n\n * `validity` {`ValidityState`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_internals` - \n\n * `addValidator` - \n\n * `pristine` {`boolean`} - \n\n * `required` {`boolean`} - \n\n * `requiredMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `errorMessage` {`string`} - ",
1389
+ "description": "Events:\n\n * `change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `min-message` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `value` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `min` {number} - This is a minimum amount of selected items in this input.\n\n * `max` {number} - This is a maximum amount of selected items in this input.\n\n * `minMessage` {boolean} - Min validation message.\n\n * `maxMessage` {boolean} - Max validation message.\n\n * `_selectedIds` {`string[]`} - \n\n * `selectedIds` {`string[]`} - \n\n * `_items` {`any[] | undefined`} - \n\n * `_modalContext` - \n\n * `_pickedItemsObserver` - \n\n * `_repository` - \n\n * `formAssociated` {`boolean`} - \n\n * `value` {`string`} - \n\n * `name` {`string`} - \n\n * `validationMessage` {`string`} - \n\n * `validity` {`ValidityState`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_internals` - \n\n * `addValidator` - \n\n * `pristine` {`boolean`} - \n\n * `required` {`boolean`} - \n\n * `requiredMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `errorMessage` {`string`} - ",
1350
1390
  "attributes": [
1351
1391
  {
1352
1392
  "name": "min",
@@ -1648,7 +1688,7 @@
1648
1688
  },
1649
1689
  {
1650
1690
  "name": "umb-input-upload-field",
1651
- "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 * `styles` {`CSSResult[]`} - \n\n * `_keys` {`string[]`} - \n\n * `keys` {Array<String>} - \n\n * `fileExtensions` {Array<String>} - \n\n * `multiple` {Boolean} - \n\n * `_currentFiles` {`Blob[]`} - \n\n * `_currentFilesTemp` {`Blob[] | undefined`} - \n\n * `extensions` {`string[] | undefined`} - \n\n * `_dropzone` - \n\n * `_notificationContext` - \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`} - ",
1691
+ "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 * `styles` {`CSSResult[]`} - \n\n * `_keys` {`string[]`} - \n\n * `keys` {Array<String>} - \n\n * `fileExtensions` {Array<String>} - \n\n * `multiple` {Boolean} - \n\n * `_currentFiles` {`File[]`} - \n\n * `_currentFilesTemp` {`File[] | undefined`} - \n\n * `extensions` {`string[] | undefined`} - \n\n * `_dropzone` - \n\n * `_notificationContext` - \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`} - ",
1652
1692
  "attributes": [
1653
1693
  {
1654
1694
  "name": "keys",
@@ -1912,7 +1952,7 @@
1912
1952
  },
1913
1953
  {
1914
1954
  "name": "umb-template-card",
1915
- "description": "Events:\n\n * `open` {`CustomEvent<unknown>`} - \n\n * `selected` {} - \n\n * `change-default` {`CustomEvent<unknown>`} - \n\nSlots:\n\n * `actions` {} - \n\nAttributes:\n\n * `default` {`boolean`} - \n\n * `key` {`string`} - \n\n * `name` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `default` {`boolean`} - \n\n * `_key` {`string`} - \n\n * `key` {`string`} - \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`} - ",
1955
+ "description": "Events:\n\n * `open` {`CustomEvent<unknown>`} - \n\n * `selected` {} - \n\n * `change-default` {`CustomEvent<unknown>`} - \n\nSlots:\n\n * `actions` {} - \n\nAttributes:\n\n * `default` {`boolean`} - \n\n * `id` {`string`} - \n\n * `name` {`string`} - \n\nProperties:\n\n * `default` {`boolean`} - \n\n * `_id` {`string`} - \n\n * `id` {`string`} - \n\n * `styles` {`CSSResult[]`} - \n\n * `formAssociated` {`boolean`} - \n\n * `value` {`FormDataEntryValue | FormData`} - \n\n * `name` {`string`} - \n\n * `validationMessage` {`string`} - \n\n * `validity` {`ValidityState`} - \n\n * `_value` {`FormDataEntryValue | FormData`} - \n\n * `_internals` - \n\n * `addValidator` - \n\n * `pristine` {`boolean`} - \n\n * `required` {`boolean`} - \n\n * `requiredMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `errorMessage` {`string`} - ",
1916
1956
  "attributes": [
1917
1957
  {
1918
1958
  "name": "default",
@@ -1920,8 +1960,8 @@
1920
1960
  "valueSet": "v"
1921
1961
  },
1922
1962
  {
1923
- "name": "key",
1924
- "description": "`key` {`string`} - \n\nProperty: key"
1963
+ "name": "id",
1964
+ "description": "`id` {`string`} - \n\nProperty: id"
1925
1965
  },
1926
1966
  {
1927
1967
  "name": "name",
@@ -1983,7 +2023,7 @@
1983
2023
  },
1984
2024
  {
1985
2025
  "name": "umb-tree",
1986
- "description": "Events:\n\n * `selected` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `alias` {`string`} - \n\n * `selectable` {`boolean`} - \n\n * `selection` {`string[]`} - \n\nProperties:\n\n * `_alias` {`string`} - \n\n * `alias` {`string`} - \n\n * `_selectable` {`boolean`} - \n\n * `selectable` {`boolean`} - \n\n * `_selection` {`string[]`} - \n\n * `selection` {`string[]`} - \n\n * `_tree` - \n\n * `_items` {`any[]`} - \n\n * `_treeContext` - ",
2026
+ "description": "Events:\n\n * `selected` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `alias` {`string`} - \n\n * `selectable` {`boolean`} - \n\n * `selection` {`string[]`} - \n\n * `multiple` {`boolean`} - \n\nProperties:\n\n * `_alias` {`string`} - \n\n * `alias` {`string`} - \n\n * `_selectable` {`boolean`} - \n\n * `selectable` {`boolean`} - \n\n * `_selection` {`string[]`} - \n\n * `selection` {`string[]`} - \n\n * `_multiple` {`boolean`} - \n\n * `multiple` {`boolean`} - \n\n * `_tree` - \n\n * `_items` {`any[]`} - \n\n * `_treeContext` - ",
1987
2027
  "attributes": [
1988
2028
  {
1989
2029
  "name": "alias",
@@ -1998,6 +2038,11 @@
1998
2038
  "name": "selection",
1999
2039
  "description": "`selection` {`string[]`} - \n\nProperty: selection"
2000
2040
  },
2041
+ {
2042
+ "name": "multiple",
2043
+ "description": "`multiple` {`boolean`} - \n\nProperty: multiple",
2044
+ "valueSet": "v"
2045
+ },
2001
2046
  {
2002
2047
  "name": "onselected",
2003
2048
  "description": "`selected` {`CustomEvent<unknown>`} - "
@@ -2064,7 +2109,7 @@
2064
2109
  },
2065
2110
  {
2066
2111
  "name": "umb-workspace-action-menu",
2067
- "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_actionMenuIsOpen` {`boolean`} - \n\n * `_workspaceContext` - \n\n * `_entityKey` {`string | undefined`} - \n\n * `_entityType` {`string | undefined`} - ",
2112
+ "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_actionMenuIsOpen` {`boolean`} - \n\n * `_workspaceContext` - \n\n * `_entityId` {`string | undefined`} - \n\n * `_entityType` {`string | undefined`} - ",
2068
2113
  "attributes": []
2069
2114
  },
2070
2115
  {
@@ -2235,7 +2280,7 @@
2235
2280
  },
2236
2281
  {
2237
2282
  "name": "umb-template-modal",
2238
- "description": "Properties:\n\n * `_key` {`string`} - \n\n * `_template` - \n\n * `_codeEditor` - \n\n * `styles` {`CSSResult[]`} - ",
2283
+ "description": "Properties:\n\n * `_id` {`string`} - \n\n * `_template` - \n\n * `_codeEditor` - \n\n * `styles` {`CSSResult[]`} - ",
2239
2284
  "attributes": []
2240
2285
  },
2241
2286
  {
@@ -2361,7 +2406,7 @@
2361
2406
  },
2362
2407
  {
2363
2408
  "name": "umb-property-editor-ui-block-grid-inner-test",
2364
- "description": "Attributes:\n\n * `name` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `name` {`string`} - \n\n * `_routerPath` {`string | undefined`} - \n\n * `_activePath` {`string | undefined`} - \n\n * `_routes` {`IRoute<any>[]`} - ",
2409
+ "description": "Attributes:\n\n * `name` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `name` {`string`} - \n\n * `_routerPath` {`string | undefined`} - \n\n * `_activePath` {`string | undefined`} - \n\n * `_routes` {`any[]`} - ",
2365
2410
  "attributes": [
2366
2411
  {
2367
2412
  "name": "name",
@@ -2371,7 +2416,7 @@
2371
2416
  },
2372
2417
  {
2373
2418
  "name": "umb-property-editor-ui-block-grid",
2374
- "description": "Attributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_variantContext` - \n\n * `value` {`string`} - \n\n * `config` {`never[]`} - \n\n * `_routes` {`IRoute<any>[]`} - \n\n * `_routerPath` {`string | undefined`} - \n\n * `_activePath` {`string | undefined`} - \n\n * `_variantId` - ",
2419
+ "description": "Attributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_variantContext` - \n\n * `value` {`string`} - \n\n * `config` {`never[]`} - \n\n * `_routes` {`any[]`} - \n\n * `_routerPath` {`string | undefined`} - \n\n * `_activePath` {`string | undefined`} - \n\n * `_variantId` - ",
2375
2420
  "attributes": [
2376
2421
  {
2377
2422
  "name": "value",
@@ -2953,7 +2998,7 @@
2953
2998
  },
2954
2999
  {
2955
3000
  "name": "umb-import-dictionary-modal",
2956
- "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_form` {`HTMLFormElement`} - \n\n * `_uploadedDictionary` - \n\n * `_showUploadView` {`boolean`} - \n\n * `_showImportView` {`boolean`} - \n\n * `_showErrorView` {`boolean`} - \n\n * `_selection` {`string[]`} - ",
3001
+ "description": "Properties:\n\n * `styles` {`CSSResult[]`} - \n\n * `_form` {`HTMLFormElement`} - \n\n * `_uploadedDictionaryTempId` {`string | undefined`} - \n\n * `_showUploadView` {`boolean`} - \n\n * `_showImportView` {`boolean`} - \n\n * `_showErrorView` {`boolean`} - \n\n * `_selection` {`string[]`} - ",
2957
3002
  "attributes": []
2958
3003
  },
2959
3004
  {
@@ -3154,7 +3199,7 @@
3154
3199
  "attributes": []
3155
3200
  },
3156
3201
  {
3157
- "name": "story-modal-context-example",
3202
+ "name": "umb-story-modal-context-example",
3158
3203
  "description": "Attributes:\n\n * `modalLayout` {`string`} - \n\nProperties:\n\n * `modalLayout` {`string`} - \n\n * `value` {`string`} - \n\n * `_modalContext` - ",
3159
3204
  "attributes": [
3160
3205
  {
@@ -3174,7 +3219,7 @@
3174
3219
  ]
3175
3220
  },
3176
3221
  {
3177
- "name": "story-notification-default-example",
3222
+ "name": "umb-story-notification-default-example",
3178
3223
  "description": "Properties:\n\n * `_notificationContext` - \n\n * `_handleNotification` - ",
3179
3224
  "attributes": []
3180
3225
  },
package/workspace.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { UmbControllerHostElement } from './controller';
1
+ import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
2
2
  import { Observable } from 'rxjs';
3
- import { UmbWorkspaceContextInterface as UmbWorkspaceContextInterface$1 } from './workspace';
3
+ import { UmbWorkspaceContextInterface as UmbWorkspaceContextInterface$1 } from '@umbraco-cms/backoffice/workspace';
4
4
 
5
5
  interface UmbWorkspaceAction<T = unknown> {
6
6
  host: UmbControllerHostElement;
@@ -16,23 +16,23 @@ declare class UmbWorkspaceActionBase<WorkspaceType> {
16
16
  interface UmbWorkspaceContextInterface<DataType = unknown> {
17
17
  host: UmbControllerHostElement;
18
18
  repository: any;
19
- isNew: Observable<boolean>;
20
- getIsNew(): boolean;
19
+ isNew: Observable<boolean | undefined>;
20
+ getIsNew(): boolean | undefined;
21
21
  setIsNew(value: boolean): void;
22
22
  getEntityType(): string;
23
23
  getData(): DataType | undefined;
24
+ save(): Promise<void>;
24
25
  destroy(): void;
25
26
  setValidationErrors?(errorMap: any): void;
26
27
  }
27
28
 
28
29
  declare class UmbSaveWorkspaceAction extends UmbWorkspaceActionBase<UmbWorkspaceContextInterface> {
29
- #private;
30
30
  constructor(host: UmbControllerHostElement);
31
31
  execute(): Promise<void>;
32
32
  }
33
33
 
34
34
  interface UmbEntityWorkspaceContextInterface<EntityType = unknown> extends UmbWorkspaceContextInterface$1<EntityType> {
35
- getEntityKey(): string | undefined;
35
+ getEntityId(): string | undefined;
36
36
  getEntityType(): string;
37
37
  save(): Promise<void>;
38
38
  }