@umbraco-cms/backoffice 1.0.0-next.5f16605c → 1.0.0-next.658354ad

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.
@@ -1012,8 +1012,7 @@
1012
1012
  "type": "string | undefined"
1013
1013
  },
1014
1014
  {
1015
- "name": "variantId",
1016
- "type": "string | UmbVariantId | undefined"
1015
+ "name": "variantId"
1017
1016
  },
1018
1017
  {
1019
1018
  "name": "min",
@@ -1061,8 +1060,7 @@
1061
1060
  },
1062
1061
  {
1063
1062
  "name": "variantId",
1064
- "attribute": "variantId",
1065
- "type": "string | UmbVariantId | undefined"
1063
+ "attribute": "variantId"
1066
1064
  },
1067
1065
  {
1068
1066
  "name": "min",
@@ -1821,6 +1819,52 @@
1821
1819
  }
1822
1820
  ]
1823
1821
  },
1822
+ {
1823
+ "name": "umb-property-creator",
1824
+ "path": "./../../src/backoffice/core/components/property-creator/property-creator.element.ts",
1825
+ "properties": [
1826
+ {
1827
+ "name": "styles",
1828
+ "type": "CSSResult[]",
1829
+ "default": "[\"UUITextStyles\",null]"
1830
+ }
1831
+ ]
1832
+ },
1833
+ {
1834
+ "name": "umb-property-editor-config",
1835
+ "path": "./../../src/backoffice/core/components/property-editor-config/property-editor-config.element.ts",
1836
+ "attributes": [
1837
+ {
1838
+ "name": "property-editor-ui-alias",
1839
+ "type": "string"
1840
+ },
1841
+ {
1842
+ "name": "data",
1843
+ "description": "Data. The element will render configuration editors with values from this data.\nIf a value is not found in this data, the element will use the default value from the configuration.",
1844
+ "type": "Array<{ alias: string; value: unknown }>",
1845
+ "default": "\"[]\""
1846
+ }
1847
+ ],
1848
+ "properties": [
1849
+ {
1850
+ "name": "propertyEditorUiAlias",
1851
+ "attribute": "property-editor-ui-alias",
1852
+ "type": "string"
1853
+ },
1854
+ {
1855
+ "name": "data",
1856
+ "attribute": "data",
1857
+ "description": "Data. The element will render configuration editors with values from this data.\nIf a value is not found in this data, the element will use the default value from the configuration.",
1858
+ "type": "Array<{ alias: string; value: unknown }>",
1859
+ "default": "\"[]\""
1860
+ },
1861
+ {
1862
+ "name": "styles",
1863
+ "type": "CSSResult[]",
1864
+ "default": "[\"UUITextStyles\"]"
1865
+ }
1866
+ ]
1867
+ },
1824
1868
  {
1825
1869
  "name": "umb-property-type-based-property",
1826
1870
  "path": "./../../src/backoffice/core/components/property-type-based-property/property-type-based-property.element.ts",
@@ -2218,8 +2262,7 @@
2218
2262
  "path": "./../../src/backoffice/core/components/tree/tree.element.ts",
2219
2263
  "attributes": [
2220
2264
  {
2221
- "name": "alias",
2222
- "type": "string | undefined"
2265
+ "name": "alias"
2223
2266
  },
2224
2267
  {
2225
2268
  "name": "selectable"
@@ -2238,8 +2281,7 @@
2238
2281
  "properties": [
2239
2282
  {
2240
2283
  "name": "alias",
2241
- "attribute": "alias",
2242
- "type": "string | undefined"
2284
+ "attribute": "alias"
2243
2285
  },
2244
2286
  {
2245
2287
  "name": "selectable",
@@ -2849,6 +2891,33 @@
2849
2891
  }
2850
2892
  ]
2851
2893
  },
2894
+ {
2895
+ "name": "umb-notification-layout-default",
2896
+ "path": "./../../src/backoffice/core/notification/layouts/default/notification-layout-default.element.ts",
2897
+ "attributes": [
2898
+ {
2899
+ "name": "data"
2900
+ }
2901
+ ],
2902
+ "properties": [
2903
+ {
2904
+ "name": "notificationHandler"
2905
+ },
2906
+ {
2907
+ "name": "data",
2908
+ "attribute": "data"
2909
+ },
2910
+ {
2911
+ "name": "styles",
2912
+ "type": "CSSResult[]",
2913
+ "default": "[\"UUITextStyles\"]"
2914
+ }
2915
+ ]
2916
+ },
2917
+ {
2918
+ "name": "umb-story-notification-default-example",
2919
+ "path": "./../../src/backoffice/core/notification/stories/story-notification-default-example.element.ts"
2920
+ },
2852
2921
  {
2853
2922
  "name": "umb-property-action-clear",
2854
2923
  "path": "./../../src/backoffice/core/property-actions/clear/property-action-clear.element.ts",
@@ -2957,17 +3026,6 @@
2957
3026
  }
2958
3027
  ]
2959
3028
  },
2960
- {
2961
- "name": "umb-property-creator",
2962
- "path": "./../../src/backoffice/core/property-creator/property-creator.element.ts",
2963
- "properties": [
2964
- {
2965
- "name": "styles",
2966
- "type": "CSSResult[]",
2967
- "default": "[\"UUITextStyles\",null]"
2968
- }
2969
- ]
2970
- },
2971
3029
  {
2972
3030
  "name": "umb-property-editor-ui-picker-modal",
2973
3031
  "path": "./../../src/backoffice/core/property-editors/modals/property-editor-ui-picker/property-editor-ui-picker-modal.element.ts",
@@ -2991,41 +3049,6 @@
2991
3049
  }
2992
3050
  ]
2993
3051
  },
2994
- {
2995
- "name": "umb-property-editor-config",
2996
- "path": "./../../src/backoffice/core/property-editors/shared/property-editor-config/property-editor-config.element.ts",
2997
- "attributes": [
2998
- {
2999
- "name": "property-editor-ui-alias",
3000
- "type": "string"
3001
- },
3002
- {
3003
- "name": "data",
3004
- "description": "Data. The element will render configuration editors with values from this data.\nIf a value is not found in this data, the element will use the default value from the configuration.",
3005
- "type": "Array<{ alias: string; value: unknown }>",
3006
- "default": "\"[]\""
3007
- }
3008
- ],
3009
- "properties": [
3010
- {
3011
- "name": "propertyEditorUiAlias",
3012
- "attribute": "property-editor-ui-alias",
3013
- "type": "string"
3014
- },
3015
- {
3016
- "name": "data",
3017
- "attribute": "data",
3018
- "description": "Data. The element will render configuration editors with values from this data.\nIf a value is not found in this data, the element will use the default value from the configuration.",
3019
- "type": "Array<{ alias: string; value: unknown }>",
3020
- "default": "\"[]\""
3021
- },
3022
- {
3023
- "name": "styles",
3024
- "type": "CSSResult[]",
3025
- "default": "[\"UUITextStyles\"]"
3026
- }
3027
- ]
3028
- },
3029
3052
  {
3030
3053
  "name": "umb-property-editor-ui-block-grid-block-configuration",
3031
3054
  "path": "./../../src/backoffice/core/property-editors/uis/block-grid/config/block-configuration/property-editor-ui-block-grid-block-configuration.element.ts",
@@ -3616,6 +3639,11 @@
3616
3639
  "name": "value",
3617
3640
  "type": "string",
3618
3641
  "default": "\"\""
3642
+ },
3643
+ {
3644
+ "name": "description",
3645
+ "type": "string",
3646
+ "default": "\"\""
3619
3647
  }
3620
3648
  ],
3621
3649
  "properties": [
@@ -3625,6 +3653,12 @@
3625
3653
  "type": "string",
3626
3654
  "default": "\"\""
3627
3655
  },
3656
+ {
3657
+ "name": "description",
3658
+ "attribute": "description",
3659
+ "type": "string",
3660
+ "default": "\"\""
3661
+ },
3628
3662
  {
3629
3663
  "name": "config",
3630
3664
  "type": "never[]",
@@ -4108,8 +4142,7 @@
4108
4142
  },
4109
4143
  {
4110
4144
  "name": "config",
4111
- "type": "never[]",
4112
- "default": "[]"
4145
+ "type": "array"
4113
4146
  },
4114
4147
  {
4115
4148
  "name": "styles",
@@ -4322,8 +4355,7 @@
4322
4355
  },
4323
4356
  {
4324
4357
  "name": "config",
4325
- "type": "never[]",
4326
- "default": "[]"
4358
+ "type": "array"
4327
4359
  },
4328
4360
  {
4329
4361
  "name": "styles",
@@ -4356,8 +4388,7 @@
4356
4388
  },
4357
4389
  {
4358
4390
  "name": "config",
4359
- "type": "never[]",
4360
- "default": "[]"
4391
+ "type": "array"
4361
4392
  },
4362
4393
  {
4363
4394
  "name": "styles",
@@ -4609,6 +4640,11 @@
4609
4640
  "type": "CSSResult[]",
4610
4641
  "default": "[\"UUITextStyles\"]"
4611
4642
  }
4643
+ ],
4644
+ "events": [
4645
+ {
4646
+ "name": "property-value-change"
4647
+ }
4612
4648
  ]
4613
4649
  },
4614
4650
  {
@@ -4932,12 +4968,10 @@
4932
4968
  "path": "./../../src/backoffice/documents/documents/collection/views/table/column-layouts/document-table-actions-column-layout.element.ts",
4933
4969
  "properties": [
4934
4970
  {
4935
- "name": "column",
4936
- "type": "UmbTableColumn"
4971
+ "name": "column"
4937
4972
  },
4938
4973
  {
4939
- "name": "item",
4940
- "type": "UmbTableItem"
4974
+ "name": "item"
4941
4975
  },
4942
4976
  {
4943
4977
  "name": "value"
@@ -7528,8 +7562,7 @@
7528
7562
  "path": "./../../src/backoffice/users/user-groups/workspace/user-group-table-name-column-layout.element.ts",
7529
7563
  "properties": [
7530
7564
  {
7531
- "name": "item",
7532
- "type": "UmbTableItem"
7565
+ "name": "item"
7533
7566
  },
7534
7567
  {
7535
7568
  "name": "value"
@@ -7541,8 +7574,7 @@
7541
7574
  "path": "./../../src/backoffice/users/user-groups/workspace/user-group-table-sections-column-layout.element.ts",
7542
7575
  "properties": [
7543
7576
  {
7544
- "name": "item",
7545
- "type": "UmbTableItem"
7577
+ "name": "item"
7546
7578
  },
7547
7579
  {
7548
7580
  "name": "value"
@@ -7625,12 +7657,10 @@
7625
7657
  "path": "./../../src/backoffice/users/users/collection/views/table/column-layouts/name/user-table-name-column-layout.element.ts",
7626
7658
  "properties": [
7627
7659
  {
7628
- "name": "column",
7629
- "type": "UmbTableColumn"
7660
+ "name": "column"
7630
7661
  },
7631
7662
  {
7632
- "name": "item",
7633
- "type": "UmbTableItem"
7663
+ "name": "item"
7634
7664
  },
7635
7665
  {
7636
7666
  "name": "value"
@@ -7865,41 +7895,6 @@
7865
7895
  }
7866
7896
  ]
7867
7897
  },
7868
- {
7869
- "name": "umb-context-provider",
7870
- "path": "./../../src/core/context-provider/context-provider.element.ts",
7871
- "attributes": [
7872
- {
7873
- "name": "value",
7874
- "description": "The value to provide to the context.",
7875
- "type": "unknown"
7876
- },
7877
- {
7878
- "name": "key",
7879
- "description": "The key to provide to the context.",
7880
- "type": "string"
7881
- }
7882
- ],
7883
- "properties": [
7884
- {
7885
- "name": "create",
7886
- "description": "The value to provide to the context.",
7887
- "type": "((host: any) => unknown) | undefined"
7888
- },
7889
- {
7890
- "name": "value",
7891
- "attribute": "value",
7892
- "description": "The value to provide to the context.",
7893
- "type": "unknown"
7894
- },
7895
- {
7896
- "name": "key",
7897
- "attribute": "key",
7898
- "description": "The key to provide to the context.",
7899
- "type": "string"
7900
- }
7901
- ]
7902
- },
7903
7898
  {
7904
7899
  "name": "umb-controller-host-test",
7905
7900
  "path": "./../../src/core/controller-host/controller-host-test.element.ts",
@@ -7935,33 +7930,6 @@
7935
7930
  }
7936
7931
  ]
7937
7932
  },
7938
- {
7939
- "name": "umb-notification-layout-default",
7940
- "path": "./../../src/core/notification/layouts/default/notification-layout-default.element.ts",
7941
- "attributes": [
7942
- {
7943
- "name": "data"
7944
- }
7945
- ],
7946
- "properties": [
7947
- {
7948
- "name": "notificationHandler"
7949
- },
7950
- {
7951
- "name": "data",
7952
- "attribute": "data"
7953
- },
7954
- {
7955
- "name": "styles",
7956
- "type": "CSSResult[]",
7957
- "default": "[\"UUITextStyles\"]"
7958
- }
7959
- ]
7960
- },
7961
- {
7962
- "name": "umb-story-notification-default-example",
7963
- "path": "./../../src/core/notification/stories/story-notification-default-example.element.ts"
7964
- },
7965
7933
  {
7966
7934
  "name": "umb-router-slot",
7967
7935
  "path": "./../../src/core/router/router-slot.element.ts",
@@ -8012,7 +7980,7 @@
8012
7980
  "attributes": [
8013
7981
  {
8014
7982
  "name": "variantId",
8015
- "type": "UmbVariantId[]"
7983
+ "type": "array"
8016
7984
  },
8017
7985
  {
8018
7986
  "name": "routes",
@@ -8023,7 +7991,7 @@
8023
7991
  {
8024
7992
  "name": "variantId",
8025
7993
  "attribute": "variantId",
8026
- "type": "UmbVariantId[]"
7994
+ "type": "array"
8027
7995
  },
8028
7996
  {
8029
7997
  "name": "routes",
@@ -8247,6 +8215,41 @@
8247
8215
  {
8248
8216
  "name": "umb-upgrader",
8249
8217
  "path": "./../../src/upgrader/upgrader.element.ts"
8218
+ },
8219
+ {
8220
+ "name": "umb-context-provider",
8221
+ "path": "./../../storybook/utils/context-provider/context-provider.element.ts",
8222
+ "attributes": [
8223
+ {
8224
+ "name": "value",
8225
+ "description": "The value to provide to the context.",
8226
+ "type": "unknown"
8227
+ },
8228
+ {
8229
+ "name": "key",
8230
+ "description": "The key to provide to the context.",
8231
+ "type": "string"
8232
+ }
8233
+ ],
8234
+ "properties": [
8235
+ {
8236
+ "name": "create",
8237
+ "description": "The value to provide to the context.",
8238
+ "type": "((host: any) => unknown) | undefined"
8239
+ },
8240
+ {
8241
+ "name": "value",
8242
+ "attribute": "value",
8243
+ "description": "The value to provide to the context.",
8244
+ "type": "unknown"
8245
+ },
8246
+ {
8247
+ "name": "key",
8248
+ "attribute": "key",
8249
+ "description": "The key to provide to the context.",
8250
+ "type": "string"
8251
+ }
8252
+ ]
8250
8253
  }
8251
8254
  ]
8252
8255
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-cms/backoffice",
3
- "version": "1.0.0-next.5f16605c",
3
+ "version": "1.0.0-next.658354ad",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "umbraco",
package/tree.d.ts CHANGED
@@ -1,3 +1,121 @@
1
+ import * as _umbraco_cms_backoffice_backend_api from '@umbraco-cms/backoffice/backend-api';
2
+ import { TreeItemPresentationModel, ProblemDetailsModel } from '@umbraco-cms/backoffice/backend-api';
3
+ import * as rxjs from 'rxjs';
4
+ import { Observable } from 'rxjs';
5
+ import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
6
+ import { UmbPagedData as UmbPagedData$1, UmbTreeRepository } from '@umbraco-cms/backoffice/repository';
7
+ import { UmbTreeContextBase as UmbTreeContextBase$1 } from '@umbraco-cms/backoffice/tree';
8
+ import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
9
+
10
+ interface UmbTreeContext<TreeItemType extends TreeItemPresentationModel> {
11
+ readonly selectable: Observable<boolean>;
12
+ readonly selection: Observable<Array<string | null>>;
13
+ setSelectable(value: boolean): void;
14
+ setMultiple(value: boolean): void;
15
+ setSelection(value: Array<string | null>): void;
16
+ select(unique: string | null): void;
17
+ deselect(unique: string | null): void;
18
+ requestChildrenOf: (parentUnique: string | null) => Promise<{
19
+ data?: UmbPagedData$1<TreeItemType>;
20
+ error?: ProblemDetailsModel;
21
+ asObservable?: () => Observable<TreeItemType[]>;
22
+ }>;
23
+ }
24
+ declare class UmbTreeContextBase<TreeItemType extends TreeItemPresentationModel> implements UmbTreeContext<TreeItemType> {
25
+ #private;
26
+ host: UmbControllerHostElement;
27
+ readonly selectable: Observable<boolean>;
28
+ readonly multiple: Observable<boolean>;
29
+ readonly selection: Observable<(string | null)[]>;
30
+ repository?: UmbTreeRepository<TreeItemType>;
31
+ constructor(host: UmbControllerHostElement);
32
+ setTreeAlias(treeAlias?: string): Promise<void>;
33
+ getTreeAlias(): string | undefined;
34
+ setSelectable(value: boolean): void;
35
+ getSelectable(): boolean;
36
+ setMultiple(value: boolean): void;
37
+ getMultiple(): boolean;
38
+ setSelection(value: Array<string | null>): void;
39
+ getSelection(): (string | null)[];
40
+ select(unique: string | null): void;
41
+ deselect(unique: string | null): void;
42
+ requestTreeRoot(): Promise<{
43
+ data?: UmbTreeRootEntityModel | undefined;
44
+ error?: ProblemDetailsModel | undefined;
45
+ }>;
46
+ requestRootItems(): Promise<{
47
+ data?: UmbPagedData$1<TreeItemType> | undefined;
48
+ error?: ProblemDetailsModel | undefined;
49
+ asObservable?: (() => Observable<TreeItemType[]>) | undefined;
50
+ }>;
51
+ requestChildrenOf(parentUnique: string | null): Promise<{
52
+ data?: UmbPagedData$1<TreeItemType> | undefined;
53
+ error?: ProblemDetailsModel | undefined;
54
+ asObservable?: (() => Observable<TreeItemType[]>) | undefined;
55
+ }>;
56
+ rootItems(): Promise<Observable<TreeItemType[]>>;
57
+ childrenOf(parentUnique: string | null): Promise<Observable<TreeItemType[]>>;
58
+ }
59
+
60
+ interface UmbPagedData<T> {
61
+ total: number;
62
+ items: Array<T>;
63
+ }
64
+
65
+ interface UmbTreeItemContext<TreeItemType extends TreeItemPresentationModel> {
66
+ host: UmbControllerHostElement;
67
+ unique?: string | null;
68
+ type?: string;
69
+ treeItem: Observable<TreeItemType | undefined>;
70
+ hasChildren: Observable<boolean>;
71
+ isLoading: Observable<boolean>;
72
+ isSelectable: Observable<boolean>;
73
+ isSelected: Observable<boolean>;
74
+ isActive: Observable<boolean>;
75
+ hasActions: Observable<boolean>;
76
+ path: Observable<string>;
77
+ setTreeItem(treeItem: TreeItemType | undefined): void;
78
+ requestChildren(): Promise<{
79
+ data?: UmbPagedData$1<TreeItemType> | undefined;
80
+ error?: ProblemDetailsModel | undefined;
81
+ asObservable?: () => Observable<TreeItemType[]>;
82
+ }>;
83
+ toggleContextMenu(): void;
84
+ select(): void;
85
+ deselect(): void;
86
+ constructPath(pathname: string, entityType: string, unique: string): string;
87
+ }
88
+
89
+ type UmbTreeItemUniqueFunction<TreeItemType extends TreeItemPresentationModel> = (x: TreeItemType) => string | null | undefined;
90
+ declare class UmbTreeItemContextBase<TreeItemType extends TreeItemPresentationModel> implements UmbTreeItemContext<TreeItemType> {
91
+ #private;
92
+ host: UmbControllerHostElement;
93
+ unique?: string | null;
94
+ type?: string;
95
+ treeItem: rxjs.Observable<TreeItemType | undefined>;
96
+ hasChildren: rxjs.Observable<boolean>;
97
+ isLoading: rxjs.Observable<boolean>;
98
+ isSelectable: rxjs.Observable<boolean>;
99
+ isSelected: rxjs.Observable<boolean>;
100
+ isActive: rxjs.Observable<boolean>;
101
+ hasActions: rxjs.Observable<boolean>;
102
+ path: rxjs.Observable<string>;
103
+ treeContext?: UmbTreeContextBase$1<TreeItemType>;
104
+ constructor(host: UmbControllerHostElement, getUniqueFunction: UmbTreeItemUniqueFunction<TreeItemType>);
105
+ setTreeItem(treeItem: TreeItemType | undefined): void;
106
+ requestChildren(): Promise<{
107
+ data?: UmbPagedData<TreeItemType> | undefined;
108
+ error?: _umbraco_cms_backoffice_backend_api.ProblemDetailsModel | undefined;
109
+ asObservable?: (() => rxjs.Observable<TreeItemType[]>) | undefined;
110
+ }>;
111
+ toggleContextMenu(): void;
112
+ select(): void;
113
+ deselect(): void;
114
+ getTreeItem(): TreeItemType | undefined;
115
+ constructPath(pathname: string, entityType: string, unique: string | null): string;
116
+ }
117
+ declare const UMB_TREE_ITEM_CONTEXT_TOKEN: UmbContextToken<UmbTreeItemContext<any>>;
118
+
1
119
  interface UmbTreeRootModel {
2
120
  type: string;
3
121
  name: string;
@@ -11,4 +129,4 @@ interface UmbTreeRootFileSystemModel extends UmbTreeRootModel {
11
129
  path: string | null;
12
130
  }
13
131
 
14
- export { UmbTreeRootEntityModel, UmbTreeRootFileSystemModel, UmbTreeRootModel };
132
+ export { UMB_TREE_ITEM_CONTEXT_TOKEN, UmbTreeContext, UmbTreeContextBase, UmbTreeItemContext, UmbTreeItemContextBase, UmbTreeItemUniqueFunction, UmbTreeRootEntityModel, UmbTreeRootFileSystemModel, UmbTreeRootModel };
@@ -3241,7 +3241,7 @@
3241
3241
  },
3242
3242
  "FontFaceSet": {
3243
3243
  "properties": {
3244
- "__@toStringTag@555": {
3244
+ "__@toStringTag@556": {
3245
3245
  "type": "string"
3246
3246
  },
3247
3247
  "onloading": {
@@ -3273,7 +3273,7 @@
3273
3273
  }
3274
3274
  },
3275
3275
  "required": [
3276
- "__@toStringTag@555",
3276
+ "__@toStringTag@556",
3277
3277
  "onloading",
3278
3278
  "onloadingdone",
3279
3279
  "onloadingerror",
@@ -18263,23 +18263,23 @@
18263
18263
  },
18264
18264
  "Promise<FontFaceSet>": {
18265
18265
  "properties": {
18266
- "__@toStringTag@555": {
18266
+ "__@toStringTag@556": {
18267
18267
  "type": "string"
18268
18268
  }
18269
18269
  },
18270
18270
  "required": [
18271
- "__@toStringTag@555"
18271
+ "__@toStringTag@556"
18272
18272
  ],
18273
18273
  "type": "object"
18274
18274
  },
18275
18275
  "Promise<ServiceWorkerRegistration>": {
18276
18276
  "properties": {
18277
- "__@toStringTag@555": {
18277
+ "__@toStringTag@556": {
18278
18278
  "type": "string"
18279
18279
  }
18280
18280
  },
18281
18281
  "required": [
18282
- "__@toStringTag@555"
18282
+ "__@toStringTag@556"
18283
18283
  ],
18284
18284
  "type": "object"
18285
18285
  },
package/variant.d.ts ADDED
@@ -0,0 +1,21 @@
1
+ declare class UmbVariantId {
2
+ static Create(variantData: {
3
+ culture?: string | null;
4
+ segment?: string | null;
5
+ }): UmbVariantId;
6
+ readonly culture: string | null;
7
+ readonly segment: string | null;
8
+ constructor(variantData: {
9
+ culture?: string | null;
10
+ segment?: string | null;
11
+ });
12
+ compare(obj: {
13
+ culture?: string | null;
14
+ segment?: string | null;
15
+ }): boolean;
16
+ equal(variantId: UmbVariantId): boolean;
17
+ toString(): string;
18
+ toDifferencesString(variantId: UmbVariantId): string;
19
+ }
20
+
21
+ export { UmbVariantId };
@@ -499,8 +499,7 @@
499
499
  },
500
500
  {
501
501
  "name": "variantId",
502
- "description": "`variantId` - \n\nProperty: variantId",
503
- "values": []
502
+ "description": "`variantId` - \n\nProperty: variantId"
504
503
  },
505
504
  {
506
505
  "name": "min",
@@ -781,14 +780,36 @@
781
780
  }
782
781
  ]
783
782
  },
783
+ {
784
+ "name": "umb-property-creator",
785
+ "description": "Properties:\n\n * `styles` {`CSSResult[]`} - ",
786
+ "attributes": []
787
+ },
788
+ {
789
+ "name": "umb-property-editor-config",
790
+ "description": "Attributes:\n\n * `_propertyEditorUiAlias` {string} - Property Editor UI Alias. The element will render configuration for a Property Editor UI with this alias.\n\n * `property-editor-ui-alias` {`string`} - \n\n * `data` {Array<{ alias: string; value: unknown }>} - Data. The element will render configuration editors with values from this data.\nIf a value is not found in this data, the element will use the default value from the configuration.\n\nProperties:\n\n * `_propertyEditorUiAlias` {string} - Property Editor UI Alias. The element will render configuration for a Property Editor UI with this alias.\n\n * `propertyEditorUiAlias` {`string`} - \n\n * `data` {Array<{ alias: string; value: unknown }>} - Data. The element will render configuration editors with values from this data.\nIf a value is not found in this data, the element will use the default value from the configuration.\n\n * `_properties` {`any[]`} - \n\n * `_propertyEditorModelConfigDefaultData` {`any[]`} - \n\n * `_propertyEditorUIConfigDefaultData` {`any[]`} - \n\n * `_configDefaultData` {`any[] | undefined`} - \n\n * `_propertyEditorModelConfigProperties` {`any[]`} - \n\n * `_propertyEditorUIConfigProperties` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
791
+ "attributes": [
792
+ {
793
+ "name": "_propertyEditorUiAlias",
794
+ "description": "`_propertyEditorUiAlias` {string} - Property Editor UI Alias. The element will render configuration for a Property Editor UI with this alias.\n\nProperty: _propertyEditorUiAlias\n\nDefault: ''"
795
+ },
796
+ {
797
+ "name": "property-editor-ui-alias",
798
+ "description": "`property-editor-ui-alias` {`string`} - \n\nProperty: propertyEditorUiAlias"
799
+ },
800
+ {
801
+ "name": "data",
802
+ "description": "`data` {Array<{ alias: string; value: unknown }>} - Data. The element will render configuration editors with values from this data.\nIf a value is not found in this data, the element will use the default value from the configuration.\n\nProperty: data\n\nDefault: []"
803
+ }
804
+ ]
805
+ },
784
806
  {
785
807
  "name": "umb-property-type-based-property",
786
808
  "description": "Attributes:\n\n * `propertyVariantId` {UmbVariantId} - propertyVariantId. A VariantID to identify which the variant of this properties value.\n\nProperties:\n\n * `property` - \n\n * `_property` - \n\n * `_propertyEditorUiAlias` {`string | undefined`} - \n\n * `_dataTypeData` {`any[]`} - \n\n * `_dataTypeRepository` - \n\n * `_dataTypeObserver` - \n\n * `_value` {`unknown`} - \n\n * `propertyVariantId` {UmbVariantId} - propertyVariantId. A VariantID to identify which the variant of this properties value.\n\n * `_propertyVariantId` - \n\n * `_workspaceContext` - \n\n * `_observePropertyValue` - \n\n * `styles` {`CSSResult[]`} - ",
787
809
  "attributes": [
788
810
  {
789
811
  "name": "propertyVariantId",
790
- "description": "`propertyVariantId` {UmbVariantId} - propertyVariantId. A VariantID to identify which the variant of this properties value.\n\nProperty: propertyVariantId\n\nDefault: undefined",
791
- "values": []
812
+ "description": "`propertyVariantId` {UmbVariantId} - propertyVariantId. A VariantID to identify which the variant of this properties value.\n\nProperty: propertyVariantId\n\nDefault: undefined"
792
813
  }
793
814
  ]
794
815
  },
@@ -942,12 +963,11 @@
942
963
  },
943
964
  {
944
965
  "name": "umb-tree",
945
- "description": "Attributes:\n\n * `alias` {`string | undefined`} - \n\n * `selectable` - \n\n * `selection` - \n\n * `multiple` - \n\n * `hide-tree-root` {`boolean`} - \n\nProperties:\n\n * `alias` {`string | undefined`} - \n\n * `selectable` - \n\n * `selection` - \n\n * `multiple` - \n\n * `_hideTreeRoot` {`boolean`} - \n\n * `hideTreeRoot` {`boolean`} - \n\n * `_items` {`any[]`} - \n\n * `_treeRoot` - ",
966
+ "description": "Attributes:\n\n * `alias` - \n\n * `selectable` - \n\n * `selection` - \n\n * `multiple` - \n\n * `hide-tree-root` {`boolean`} - \n\nProperties:\n\n * `alias` - \n\n * `selectable` - \n\n * `selection` - \n\n * `multiple` - \n\n * `_hideTreeRoot` {`boolean`} - \n\n * `hideTreeRoot` {`boolean`} - \n\n * `_items` {`any[]`} - \n\n * `_treeRoot` - ",
946
967
  "attributes": [
947
968
  {
948
969
  "name": "alias",
949
- "description": "`alias` {`string | undefined`} - \n\nProperty: alias",
950
- "values": []
970
+ "description": "`alias` - \n\nProperty: alias"
951
971
  },
952
972
  {
953
973
  "name": "selectable",
@@ -970,7 +990,7 @@
970
990
  },
971
991
  {
972
992
  "name": "umb-variant-selector",
973
- "description": "Attributes:\n\n * `alias` {`string`} - \n\n * `_activeVariantsCultures` {`string[]`} - \n\nProperties:\n\n * `alias` {`string`} - \n\n * `_variants` {`any[]`} - \n\n * `_activeVariants` {`ActiveVariant[]`} - \n\n * `_activeVariantsCultures` {`string[]`} - \n\n * `_variantContext` - \n\n * `_name` {`string | undefined`} - \n\n * `_culture` {`string | null | undefined`} - \n\n * `_segment` {`string | null | undefined`} - \n\n * `_variantDisplayName` {`string | undefined`} - \n\n * `_variantTitleName` {`string | undefined`} - \n\n * `_cultureNames` - \n\n * `_variantSelectorIsOpen` {`boolean`} - \n\n * `styles` {`CSSResult[]`} - ",
993
+ "description": "Attributes:\n\n * `alias` {`string`} - \n\n * `_activeVariantsCultures` {`string[]`} - \n\nProperties:\n\n * `alias` {`string`} - \n\n * `_variants` {`any[]`} - \n\n * `_activeVariants` {`any[]`} - \n\n * `_activeVariantsCultures` {`string[]`} - \n\n * `_variantContext` - \n\n * `_name` {`string | undefined`} - \n\n * `_culture` {`string | null | undefined`} - \n\n * `_segment` {`string | null | undefined`} - \n\n * `_variantDisplayName` {`string | undefined`} - \n\n * `_variantTitleName` {`string | undefined`} - \n\n * `_cultureNames` - \n\n * `_variantSelectorIsOpen` {`boolean`} - \n\n * `styles` {`CSSResult[]`} - ",
974
994
  "attributes": [
975
995
  {
976
996
  "name": "alias",
@@ -1021,8 +1041,7 @@
1021
1041
  },
1022
1042
  {
1023
1043
  "name": "propertyVariantId",
1024
- "description": "`propertyVariantId` {UmbVariantId} - PropertyVariantId. A Variant ID to identify which variant its value is stored on.\n\nProperty: propertyVariantId\n\nDefault: null",
1025
- "values": []
1044
+ "description": "`propertyVariantId` {UmbVariantId} - PropertyVariantId. A Variant ID to identify which variant its value is stored on.\n\nProperty: propertyVariantId\n\nDefault: null"
1026
1045
  }
1027
1046
  ]
1028
1047
  },
@@ -1189,6 +1208,21 @@
1189
1208
  "description": "Properties:\n\n * `_id` {`string`} - \n\n * `_template` - \n\n * `_codeEditor` - \n\n * `styles` {`CSSResult[]`} - ",
1190
1209
  "attributes": []
1191
1210
  },
1211
+ {
1212
+ "name": "umb-notification-layout-default",
1213
+ "description": "Attributes:\n\n * `data` - \n\nProperties:\n\n * `notificationHandler` - \n\n * `data` - \n\n * `styles` {`CSSResult[]`} - ",
1214
+ "attributes": [
1215
+ {
1216
+ "name": "data",
1217
+ "description": "`data` - \n\nProperty: data"
1218
+ }
1219
+ ]
1220
+ },
1221
+ {
1222
+ "name": "umb-story-notification-default-example",
1223
+ "description": "Properties:\n\n * `_notificationContext` - \n\n * `_handleNotification` - ",
1224
+ "attributes": []
1225
+ },
1192
1226
  {
1193
1227
  "name": "umb-property-action-clear",
1194
1228
  "description": "Events:\n\n * `close` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `_propertyContext` - \n\n * `value` {`string`} - ",
@@ -1247,11 +1281,6 @@
1247
1281
  }
1248
1282
  ]
1249
1283
  },
1250
- {
1251
- "name": "umb-property-creator",
1252
- "description": "Properties:\n\n * `styles` {`CSSResult[]`} - ",
1253
- "attributes": []
1254
- },
1255
1284
  {
1256
1285
  "name": "umb-property-editor-ui-picker-modal",
1257
1286
  "description": "Attributes:\n\n * `data` - \n\nProperties:\n\n * `data` - \n\n * `_groupedPropertyEditorUIs` {`GroupedPropertyEditorUIs`} - \n\n * `_propertyEditorUIs` {`any[]`} - \n\n * `_selection` {`string[]`} - \n\n * `_submitLabel` {`string`} - \n\n * `modalHandler` - \n\n * `styles` {`CSSResult[]`} - ",
@@ -1262,24 +1291,6 @@
1262
1291
  }
1263
1292
  ]
1264
1293
  },
1265
- {
1266
- "name": "umb-property-editor-config",
1267
- "description": "Attributes:\n\n * `_propertyEditorUiAlias` {string} - Property Editor UI Alias. The element will render configuration for a Property Editor UI with this alias.\n\n * `property-editor-ui-alias` {`string`} - \n\n * `data` {Array<{ alias: string; value: unknown }>} - Data. The element will render configuration editors with values from this data.\nIf a value is not found in this data, the element will use the default value from the configuration.\n\nProperties:\n\n * `_propertyEditorUiAlias` {string} - Property Editor UI Alias. The element will render configuration for a Property Editor UI with this alias.\n\n * `propertyEditorUiAlias` {`string`} - \n\n * `data` {Array<{ alias: string; value: unknown }>} - Data. The element will render configuration editors with values from this data.\nIf a value is not found in this data, the element will use the default value from the configuration.\n\n * `_properties` {`any[]`} - \n\n * `_propertyEditorModelConfigDefaultData` {`any[]`} - \n\n * `_propertyEditorUIConfigDefaultData` {`any[]`} - \n\n * `_configDefaultData` {`any[] | undefined`} - \n\n * `_propertyEditorModelConfigProperties` {`any[]`} - \n\n * `_propertyEditorUIConfigProperties` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
1268
- "attributes": [
1269
- {
1270
- "name": "_propertyEditorUiAlias",
1271
- "description": "`_propertyEditorUiAlias` {string} - Property Editor UI Alias. The element will render configuration for a Property Editor UI with this alias.\n\nProperty: _propertyEditorUiAlias\n\nDefault: ''"
1272
- },
1273
- {
1274
- "name": "property-editor-ui-alias",
1275
- "description": "`property-editor-ui-alias` {`string`} - \n\nProperty: propertyEditorUiAlias"
1276
- },
1277
- {
1278
- "name": "data",
1279
- "description": "`data` {Array<{ alias: string; value: unknown }>} - Data. The element will render configuration editors with values from this data.\nIf a value is not found in this data, the element will use the default value from the configuration.\n\nProperty: data\n\nDefault: []"
1280
- }
1281
- ]
1282
- },
1283
1294
  {
1284
1295
  "name": "umb-property-editor-ui-block-grid-block-configuration",
1285
1296
  "description": "Attributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `value` {`string`} - \n\n * `config` {`never[]`} - \n\n * `styles` {`CSSResult[]`} - ",
@@ -1495,11 +1506,15 @@
1495
1506
  },
1496
1507
  {
1497
1508
  "name": "umb-property-editor-ui-label",
1498
- "description": "Attributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `value` {`string`} - \n\n * `config` {`never[]`} - \n\n * `styles` {`CSSResult[]`} - ",
1509
+ "description": "Attributes:\n\n * `value` {`string`} - \n\n * `description` {`string`} - \n\nProperties:\n\n * `value` {`string`} - \n\n * `description` {`string`} - \n\n * `config` {`never[]`} - \n\n * `styles` {`CSSResult[]`} - ",
1499
1510
  "attributes": [
1500
1511
  {
1501
1512
  "name": "value",
1502
1513
  "description": "`value` {`string`} - \n\nProperty: value\n\nDefault: "
1514
+ },
1515
+ {
1516
+ "name": "description",
1517
+ "description": "`description` {`string`} - \n\nProperty: description\n\nDefault: "
1503
1518
  }
1504
1519
  ]
1505
1520
  },
@@ -1656,7 +1671,7 @@
1656
1671
  },
1657
1672
  {
1658
1673
  "name": "umb-property-editor-ui-number",
1659
- "description": "Events:\n\n * `property-value-change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `value` {`string`} - \n\n * `config` {`never[]`} - \n\n * `styles` {`CSSResult[]`} - ",
1674
+ "description": "Events:\n\n * `property-value-change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `value` {`string`} - \n\n * `_max` {`number | undefined`} - \n\n * `_min` {`number | undefined`} - \n\n * `_step` {`number | undefined`} - \n\n * `config` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
1660
1675
  "attributes": [
1661
1676
  {
1662
1677
  "name": "value",
@@ -1738,7 +1753,7 @@
1738
1753
  },
1739
1754
  {
1740
1755
  "name": "umb-property-editor-ui-text-box",
1741
- "description": "Events:\n\n * `property-value-change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `value` {`string`} - \n\n * `config` {`never[]`} - \n\n * `styles` {`CSSResult[]`} - ",
1756
+ "description": "Events:\n\n * `property-value-change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `value` {`string`} - \n\n * `_type` {`string`} - \n\n * `_maxChars` {`number | undefined`} - \n\n * `config` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
1742
1757
  "attributes": [
1743
1758
  {
1744
1759
  "name": "value",
@@ -1752,7 +1767,7 @@
1752
1767
  },
1753
1768
  {
1754
1769
  "name": "umb-property-editor-ui-textarea",
1755
- "description": "Events:\n\n * `property-value-change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `value` {`string`} - \n\n * `config` {`never[]`} - \n\n * `propertyContext` - \n\n * `styles` {`CSSResult[]`} - ",
1770
+ "description": "Events:\n\n * `property-value-change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `value` {`string`} - \n\n * `_maxChars` {`number | undefined`} - \n\n * `_rows` {`number | undefined`} - \n\n * `_maxheight` {`number | undefined`} - \n\n * `_minheight` {`number | undefined`} - \n\n * `_css` - \n\n * `config` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
1756
1771
  "attributes": [
1757
1772
  {
1758
1773
  "name": "value",
@@ -1845,11 +1860,15 @@
1845
1860
  },
1846
1861
  {
1847
1862
  "name": "umb-property-editor-ui-value-type",
1848
- "description": "Attributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `value` {`string`} - \n\n * `config` {`never[]`} - \n\n * `styles` {`CSSResult[]`} - ",
1863
+ "description": "Events:\n\n * `property-value-change` {`CustomEvent<unknown>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\nProperties:\n\n * `value` {`string`} - \n\n * `_options` {`Option[]`} - \n\n * `config` {`never[]`} - \n\n * `styles` {`CSSResult[]`} - ",
1849
1864
  "attributes": [
1850
1865
  {
1851
1866
  "name": "value",
1852
1867
  "description": "`value` {`string`} - \n\nProperty: value\n\nDefault: "
1868
+ },
1869
+ {
1870
+ "name": "onproperty-value-change",
1871
+ "description": "`property-value-change` {`CustomEvent<unknown>`} - "
1853
1872
  }
1854
1873
  ]
1855
1874
  },
@@ -1987,17 +2006,17 @@
1987
2006
  },
1988
2007
  {
1989
2008
  "name": "umb-document-table-actions-column-layout",
1990
- "description": "Properties:\n\n * `column` {`UmbTableColumn`} - \n\n * `item` {`UmbTableItem`} - \n\n * `value` - \n\n * `_actionMenuIsOpen` {`boolean`} - \n\n * `styles` {`CSSResult[]`} - ",
2009
+ "description": "Properties:\n\n * `column` - \n\n * `item` - \n\n * `value` - \n\n * `_actionMenuIsOpen` {`boolean`} - \n\n * `styles` {`CSSResult[]`} - ",
1991
2010
  "attributes": []
1992
2011
  },
1993
2012
  {
1994
2013
  "name": "umb-document-table-collection-view",
1995
- "description": "Properties:\n\n * `_items` {`any[] | undefined`} - \n\n * `_tableConfig` {`UmbTableConfig`} - \n\n * `_tableColumns` {`UmbTableColumn[]`} - \n\n * `_tableItems` {`UmbTableItem[]`} - \n\n * `_selection` {`string[]`} - \n\n * `_collectionContext` - \n\n * `styles` {`CSSResult[]`} - ",
2014
+ "description": "Properties:\n\n * `_items` {`any[] | undefined`} - \n\n * `_tableConfig` - \n\n * `_tableColumns` {`any[]`} - \n\n * `_tableItems` {`any[]`} - \n\n * `_selection` {`string[]`} - \n\n * `_collectionContext` - \n\n * `styles` {`CSSResult[]`} - ",
1996
2015
  "attributes": []
1997
2016
  },
1998
2017
  {
1999
2018
  "name": "umb-collection-view-document-table",
2000
- "description": "Properties:\n\n * `_items` {`any[] | undefined`} - \n\n * `_tableConfig` {`UmbTableConfig`} - \n\n * `_tableColumns` {`UmbTableColumn[]`} - \n\n * `_tableItems` {`UmbTableItem[]`} - \n\n * `_selection` {`string[]`} - \n\n * `_collectionContext` - \n\n * `styles` {`CSSResult[]`} - ",
2019
+ "description": "Properties:\n\n * `_items` {`any[] | undefined`} - \n\n * `_tableConfig` - \n\n * `_tableColumns` {`any[]`} - \n\n * `_tableItems` {`any[]`} - \n\n * `_selection` {`string[]`} - \n\n * `_collectionContext` - \n\n * `styles` {`CSSResult[]`} - ",
2001
2020
  "attributes": []
2002
2021
  },
2003
2022
  {
@@ -2067,12 +2086,12 @@
2067
2086
  },
2068
2087
  {
2069
2088
  "name": "umb-document-workspace-editor",
2070
- "description": "Properties:\n\n * `splitViewElement` - \n\n * `_unique` {`string | undefined`} - \n\n * `_routes` {`any[] | undefined`} - \n\n * `_availableVariants` {`any[]`} - \n\n * `_workspaceSplitViews` {`ActiveVariant[]`} - \n\n * `_gotWorkspaceRoute` - \n\n * `styles` {`CSSResult[]`} - ",
2089
+ "description": "Properties:\n\n * `splitViewElement` - \n\n * `_unique` {`string | undefined`} - \n\n * `_routes` {`any[] | undefined`} - \n\n * `_availableVariants` {`any[]`} - \n\n * `_workspaceSplitViews` {`any[]`} - \n\n * `_gotWorkspaceRoute` - \n\n * `styles` {`CSSResult[]`} - ",
2071
2090
  "attributes": []
2072
2091
  },
2073
2092
  {
2074
2093
  "name": "umb-document-workspace-split-view",
2075
- "description": "Properties:\n\n * `_workspaceContext` - \n\n * `_unique` {`string | undefined`} - \n\n * `_variants` {`ActiveVariant[] | undefined`} - \n\n * `styles` {`CSSResult[]`} - ",
2094
+ "description": "Properties:\n\n * `_workspaceContext` - \n\n * `_unique` {`string | undefined`} - \n\n * `_variants` {`any[] | undefined`} - \n\n * `styles` {`CSSResult[]`} - ",
2076
2095
  "attributes": []
2077
2096
  },
2078
2097
  {
@@ -2148,7 +2167,7 @@
2148
2167
  },
2149
2168
  {
2150
2169
  "name": "umb-media-table-collection-view",
2151
- "description": "Properties:\n\n * `_mediaItems` {`any[] | undefined`} - \n\n * `_tableConfig` {`UmbTableConfig`} - \n\n * `_tableColumns` {`UmbTableColumn[]`} - \n\n * `_tableItems` {`UmbTableItem[]`} - \n\n * `_selection` {`string[]`} - \n\n * `_collectionContext` - \n\n * `styles` {`CSSResult[]`} - ",
2170
+ "description": "Properties:\n\n * `_mediaItems` {`any[] | undefined`} - \n\n * `_tableConfig` - \n\n * `_tableColumns` {`any[]`} - \n\n * `_tableItems` {`any[]`} - \n\n * `_selection` {`string[]`} - \n\n * `_collectionContext` - \n\n * `styles` {`CSSResult[]`} - ",
2152
2171
  "attributes": []
2153
2172
  },
2154
2173
  {
@@ -2565,7 +2584,7 @@
2565
2584
  },
2566
2585
  {
2567
2586
  "name": "umb-language-root-workspace",
2568
- "description": "Properties:\n\n * `_tableConfig` {`UmbTableConfig`} - \n\n * `_tableColumns` {`UmbTableColumn[]`} - \n\n * `_tableItems` {`UmbTableItem[]`} - \n\n * `_cultureNames` - \n\n * `styles` {`CSSResult[]`} - ",
2587
+ "description": "Properties:\n\n * `_tableConfig` - \n\n * `_tableColumns` {`any[]`} - \n\n * `_tableItems` {`any[]`} - \n\n * `_cultureNames` - \n\n * `styles` {`CSSResult[]`} - ",
2569
2588
  "attributes": []
2570
2589
  },
2571
2590
  {
@@ -2775,7 +2794,7 @@
2775
2794
  },
2776
2795
  {
2777
2796
  "name": "umb-workspace-view-relation-type-relation",
2778
- "description": "Properties:\n\n * `_relations` {`any[]`} - \n\n * `_tableConfig` {`UmbTableConfig`} - \n\n * `_tableColumns` {`UmbTableColumn[]`} - \n\n * `_tableItems` {`{ key: string; data: { columnAlias: string; value: any; }[]; }[]`} - \n\n * `styles` {`CSSResult[]`} - ",
2797
+ "description": "Properties:\n\n * `_relations` {`any[]`} - \n\n * `_tableConfig` - \n\n * `_tableColumns` {`any[]`} - \n\n * `_tableItems` {`{ key: string; data: { columnAlias: string; value: any; }[]; }[]`} - \n\n * `styles` {`CSSResult[]`} - ",
2779
2798
  "attributes": []
2780
2799
  },
2781
2800
  {
@@ -2867,7 +2886,7 @@
2867
2886
  },
2868
2887
  {
2869
2888
  "name": "umb-dashboard-translation-dictionary",
2870
- "description": "Properties:\n\n * `_tableConfig` {`UmbTableConfig`} - \n\n * `_tableItemsFiltered` {`UmbTableItem[]`} - \n\n * `styles` {`CSSResult[]`} - ",
2889
+ "description": "Properties:\n\n * `_tableConfig` - \n\n * `_tableItemsFiltered` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
2871
2890
  "attributes": []
2872
2891
  },
2873
2892
  {
@@ -3012,12 +3031,12 @@
3012
3031
  },
3013
3032
  {
3014
3033
  "name": "umb-user-group-table-name-column-layout",
3015
- "description": "Properties:\n\n * `item` {`UmbTableItem`} - \n\n * `value` - ",
3034
+ "description": "Properties:\n\n * `item` - \n\n * `value` - ",
3016
3035
  "attributes": []
3017
3036
  },
3018
3037
  {
3019
3038
  "name": "umb-user-group-table-sections-column-layout",
3020
- "description": "Properties:\n\n * `item` {`UmbTableItem`} - \n\n * `value` - \n\n * `_sectionsNames` {`string[]`} - ",
3039
+ "description": "Properties:\n\n * `item` - \n\n * `value` - \n\n * `_sectionsNames` {`string[]`} - ",
3021
3040
  "attributes": []
3022
3041
  },
3023
3042
  {
@@ -3032,7 +3051,7 @@
3032
3051
  },
3033
3052
  {
3034
3053
  "name": "umb-workspace-view-user-groups",
3035
- "description": "Properties:\n\n * `_userGroups` {`UserGroupDetails[]`} - \n\n * `_tableConfig` {`UmbTableConfig`} - \n\n * `_tableColumns` {`UmbTableColumn[]`} - \n\n * `_tableItems` {`UmbTableItem[]`} - \n\n * `_selection` {`string[]`} - \n\n * `_userGroupStore` - \n\n * `styles` {`CSSResult[]`} - ",
3054
+ "description": "Properties:\n\n * `_userGroups` {`UserGroupDetails[]`} - \n\n * `_tableConfig` - \n\n * `_tableColumns` {`any[]`} - \n\n * `_tableItems` {`any[]`} - \n\n * `_selection` {`string[]`} - \n\n * `_userGroupStore` - \n\n * `styles` {`CSSResult[]`} - ",
3036
3055
  "attributes": []
3037
3056
  },
3038
3057
  {
@@ -3052,7 +3071,7 @@
3052
3071
  },
3053
3072
  {
3054
3073
  "name": "umb-user-table-name-column-layout",
3055
- "description": "Properties:\n\n * `column` {`UmbTableColumn`} - \n\n * `item` {`UmbTableItem`} - \n\n * `value` - ",
3074
+ "description": "Properties:\n\n * `column` - \n\n * `item` - \n\n * `value` - ",
3056
3075
  "attributes": []
3057
3076
  },
3058
3077
  {
@@ -3062,12 +3081,12 @@
3062
3081
  },
3063
3082
  {
3064
3083
  "name": "umb-user-collection-table-view",
3065
- "description": "Properties:\n\n * `_tableConfig` {`UmbTableConfig`} - \n\n * `_tableColumns` {`UmbTableColumn[]`} - \n\n * `_tableItems` {`UmbTableItem[]`} - \n\n * `_userGroups` {`any[]`} - \n\n * `_userGroupStore` - \n\n * `_users` {`any[]`} - \n\n * `_selection` {`string[]`} - \n\n * `styles` {`CSSResult[]`} - ",
3084
+ "description": "Properties:\n\n * `_tableConfig` - \n\n * `_tableColumns` {`any[]`} - \n\n * `_tableItems` {`any[]`} - \n\n * `_userGroups` {`any[]`} - \n\n * `_userGroupStore` - \n\n * `_users` {`any[]`} - \n\n * `_selection` {`string[]`} - \n\n * `styles` {`CSSResult[]`} - ",
3066
3085
  "attributes": []
3067
3086
  },
3068
3087
  {
3069
3088
  "name": "umb-workspace-view-users-table",
3070
- "description": "Properties:\n\n * `_tableConfig` {`UmbTableConfig`} - \n\n * `_tableColumns` {`UmbTableColumn[]`} - \n\n * `_tableItems` {`UmbTableItem[]`} - \n\n * `_userGroups` {`any[]`} - \n\n * `_userGroupStore` - \n\n * `_users` {`any[]`} - \n\n * `_selection` {`string[]`} - \n\n * `styles` {`CSSResult[]`} - ",
3089
+ "description": "Properties:\n\n * `_tableConfig` - \n\n * `_tableColumns` {`any[]`} - \n\n * `_tableItems` {`any[]`} - \n\n * `_userGroups` {`any[]`} - \n\n * `_userGroupStore` - \n\n * `_users` {`any[]`} - \n\n * `_selection` {`string[]`} - \n\n * `styles` {`CSSResult[]`} - ",
3071
3090
  "attributes": []
3072
3091
  },
3073
3092
  {
@@ -3131,20 +3150,6 @@
3131
3150
  "description": "Properties:\n\n * `_routes` {`any[]`} - \n\n * `styles` {`CSSResult[]`} - ",
3132
3151
  "attributes": []
3133
3152
  },
3134
- {
3135
- "name": "umb-context-provider",
3136
- "description": "Attributes:\n\n * `value` {`unknown`} - The value to provide to the context.\n\n * `key` {`string`} - 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` {`string`} - The key to provide to the context.",
3137
- "attributes": [
3138
- {
3139
- "name": "value",
3140
- "description": "`value` {`unknown`} - The value to provide to the context.\n\nProperty: value"
3141
- },
3142
- {
3143
- "name": "key",
3144
- "description": "`key` {`string`} - The key to provide to the context.\n\nProperty: key"
3145
- }
3146
- ]
3147
- },
3148
3153
  {
3149
3154
  "name": "umb-controller-host-test",
3150
3155
  "description": "Properties:\n\n * `create` - A way to initialize controllers.",
@@ -3160,21 +3165,6 @@
3160
3165
  }
3161
3166
  ]
3162
3167
  },
3163
- {
3164
- "name": "umb-notification-layout-default",
3165
- "description": "Attributes:\n\n * `data` - \n\nProperties:\n\n * `notificationHandler` - \n\n * `data` - \n\n * `styles` {`CSSResult[]`} - ",
3166
- "attributes": [
3167
- {
3168
- "name": "data",
3169
- "description": "`data` - \n\nProperty: data"
3170
- }
3171
- ]
3172
- },
3173
- {
3174
- "name": "umb-story-notification-default-example",
3175
- "description": "Properties:\n\n * `_notificationContext` - \n\n * `_handleNotification` - ",
3176
- "attributes": []
3177
- },
3178
3168
  {
3179
3169
  "name": "umb-router-slot",
3180
3170
  "description": "Events:\n\n * `init` - fires when the router is connected\n\n * `change` - fires when a path of this router is changed\n\nAttributes:\n\n * `routes` {`any[] | undefined`} - \n\nProperties:\n\n * `routes` {`any[] | undefined`} - \n\n * `_routerPath` {`string | undefined`} - \n\n * `absoluteRouterPath` {`string | undefined`} - \n\n * `_activeLocalPath` {`string | undefined`} - \n\n * `localActiveViewPath` {`string | undefined`} - \n\n * `absoluteActiveViewPath` {`string`} - \n\n * `_onNavigationChanged` - \n\n * `styles` {`CSSResult[]`} - ",
@@ -3196,11 +3186,11 @@
3196
3186
  },
3197
3187
  {
3198
3188
  "name": "umb-variant-router-slot",
3199
- "description": "Events:\n\n * `init` - fires when the router is connected\n\n * `change` - fires when a path of this router is changed\n\nAttributes:\n\n * `variantId` {`UmbVariantId[]`} - \n\n * `routes` {`any[] | undefined`} - \n\nProperties:\n\n * `_routes` {`any[] | undefined`} - \n\n * `variantId` {`UmbVariantId[]`} - \n\n * `routes` {`any[] | undefined`} - \n\n * `_routerPath` {`string | undefined`} - \n\n * `absoluteRouterPath` {`string | undefined`} - \n\n * `_activeLocalPath` {`string | undefined`} - \n\n * `localActiveViewPath` {`string | undefined`} - \n\n * `absoluteActiveViewPath` {`string`} - \n\n * `_onNavigationChanged` - \n\n * `styles` {`CSSResult[]`} - ",
3189
+ "description": "Events:\n\n * `init` - fires when the router is connected\n\n * `change` - fires when a path of this router is changed\n\nAttributes:\n\n * `variantId` {`any[]`} - \n\n * `routes` {`any[] | undefined`} - \n\nProperties:\n\n * `_routes` {`any[] | undefined`} - \n\n * `variantId` {`any[]`} - \n\n * `routes` {`any[] | undefined`} - \n\n * `_routerPath` {`string | undefined`} - \n\n * `absoluteRouterPath` {`string | undefined`} - \n\n * `_activeLocalPath` {`string | undefined`} - \n\n * `localActiveViewPath` {`string | undefined`} - \n\n * `absoluteActiveViewPath` {`string`} - \n\n * `_onNavigationChanged` - \n\n * `styles` {`CSSResult[]`} - ",
3200
3190
  "attributes": [
3201
3191
  {
3202
3192
  "name": "variantId",
3203
- "description": "`variantId` {`UmbVariantId[]`} - \n\nProperty: variantId"
3193
+ "description": "`variantId` {`any[]`} - \n\nProperty: variantId"
3204
3194
  },
3205
3195
  {
3206
3196
  "name": "routes",
@@ -3299,6 +3289,20 @@
3299
3289
  "name": "umb-upgrader",
3300
3290
  "description": "Properties:\n\n * `upgradeSettings` - \n\n * `fetching` {`boolean`} - \n\n * `upgrading` {`boolean`} - \n\n * `errorMessage` {`string`} - \n\n * `_handleSubmit` - ",
3301
3291
  "attributes": []
3292
+ },
3293
+ {
3294
+ "name": "umb-context-provider",
3295
+ "description": "Attributes:\n\n * `value` {`unknown`} - The value to provide to the context.\n\n * `key` {`string`} - 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` {`string`} - The key to provide to the context.",
3296
+ "attributes": [
3297
+ {
3298
+ "name": "value",
3299
+ "description": "`value` {`unknown`} - The value to provide to the context.\n\nProperty: value"
3300
+ },
3301
+ {
3302
+ "name": "key",
3303
+ "description": "`key` {`string`} - The key to provide to the context.\n\nProperty: key"
3304
+ }
3305
+ ]
3302
3306
  }
3303
3307
  ],
3304
3308
  "globalAttributes": [],
package/workspace.d.ts CHANGED
@@ -3,6 +3,7 @@ import { Observable } from 'rxjs';
3
3
  import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
4
4
  import { UmbWorkspaceContextInterface as UmbWorkspaceContextInterface$1 } from '@umbraco-cms/backoffice/workspace';
5
5
  import { UmbEntityBase } from '@umbraco-cms/backoffice/models';
6
+ import { UmbVariantId } from '@umbraco-cms/backoffice/variant';
6
7
 
7
8
  interface UmbWorkspaceContextInterface<DataType = unknown> {
8
9
  host: UmbControllerHostElement;
@@ -55,4 +56,30 @@ declare class UmbSaveWorkspaceAction extends UmbWorkspaceActionBase<UmbWorkspace
55
56
  execute(): Promise<void>;
56
57
  }
57
58
 
58
- export { UmbEntityWorkspaceContextInterface, UmbSaveWorkspaceAction, UmbWorkspaceAction, UmbWorkspaceActionBase, UmbWorkspaceContext, UmbWorkspaceContextInterface };
59
+ type ActiveVariant = {
60
+ index: number;
61
+ culture: string | null;
62
+ segment: string | null;
63
+ };
64
+ /**
65
+ * @export
66
+ * @class UmbWorkspaceSplitViewManager
67
+ * @description - Class managing the split view state for a workspace context.
68
+ */
69
+ declare class UmbWorkspaceSplitViewManager {
70
+ #private;
71
+ readonly activeVariantsInfo: rxjs.Observable<ActiveVariant[]>;
72
+ constructor(host: UmbControllerHostElement);
73
+ private _routeBase?;
74
+ getWorkspaceRoute(): string | undefined;
75
+ setWorkspaceRoute(route: string | undefined): void;
76
+ setActiveVariant(index: number, culture: string | null, segment: string | null): void;
77
+ getActiveVariants(): ActiveVariant[];
78
+ removeActiveVariant(index: number): void;
79
+ activeVariantByIndex(index: number): rxjs.Observable<ActiveVariant>;
80
+ switchVariant(index: number, variantId: UmbVariantId): boolean;
81
+ openSplitView(newVariant: UmbVariantId): boolean;
82
+ closeSplitView(index: number): boolean;
83
+ }
84
+
85
+ export { ActiveVariant, UmbEntityWorkspaceContextInterface, UmbSaveWorkspaceAction, UmbWorkspaceAction, UmbWorkspaceActionBase, UmbWorkspaceContext, UmbWorkspaceContextInterface, UmbWorkspaceSplitViewManager };