@umbraco-cms/backoffice 14.0.0--preview007-2aa9121f → 14.0.0--preview007-bcd459cf
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/dist-cms/custom-elements.json +98 -0
- package/dist-cms/external/backend-api/index.js +1 -1
- package/dist-cms/external/backend-api/src/models/DataTypeItemResponseModel.d.ts +1 -0
- package/dist-cms/external/backend-api/src/models/DataTypeResponseModel.d.ts +1 -0
- package/dist-cms/external/backend-api/src/models/DataTypeTreeItemResponseModel.d.ts +1 -0
- package/dist-cms/external/backend-api/src/services/MemberResource.d.ts +12 -12
- package/dist-cms/external/backend-api/src/services/TemporaryFileResource.d.ts +4 -4
- package/dist-cms/external/backend-api/src/services/UserResource.d.ts +13 -13
- package/dist-cms/mocks/data/data-type/data-type.data.js +39 -0
- package/dist-cms/mocks/data/data-type/data-type.db.js +4 -0
- package/dist-cms/mocks/data/dictionary/dictionary.data.js +6 -6
- package/dist-cms/mocks/data/document/document.db.js +1 -1
- package/dist-cms/mocks/data/language/language.data.js +2 -2
- package/dist-cms/mocks/handlers/dictionary/import-export.handlers.js +2 -2
- package/dist-cms/packages/core/components/index.d.ts +1 -0
- package/dist-cms/packages/core/components/index.js +1 -0
- package/dist-cms/packages/core/components/split-panel/index.d.ts +2 -0
- package/dist-cms/packages/core/components/split-panel/index.js +2 -0
- package/dist-cms/packages/core/components/split-panel/split-panel.element.d.ts +47 -0
- package/dist-cms/packages/core/components/split-panel/split-panel.element.js +298 -0
- package/dist-cms/packages/core/debug/debug.element.d.ts +1 -1
- package/dist-cms/packages/core/debug/debug.element.js +17 -16
- package/dist-cms/packages/core/extension-registry/collection/repository/extension-collection.repository.d.ts +8 -2
- package/dist-cms/packages/core/extension-registry/collection/repository/extension-collection.repository.js +4 -1
- package/dist-cms/packages/core/section/section-default.element.js +25 -10
- package/dist-cms/packages/core/temporary-file/temporary-file.server.data-source.js +3 -3
- package/dist-cms/packages/documents/documents/entity-actions/manifests.js +2 -2
- package/dist-cms/packages/documents/documents/entity-actions/publish.action.d.ts +1 -0
- package/dist-cms/packages/documents/documents/entity-actions/publish.action.js +21 -3
- package/dist-cms/packages/documents/documents/entity-actions/unpublish.action.d.ts +1 -0
- package/dist-cms/packages/documents/documents/entity-actions/unpublish.action.js +21 -3
- package/dist-cms/packages/documents/documents/global-contexts/document-variant-manager.context.d.ts +34 -0
- package/dist-cms/packages/documents/documents/global-contexts/document-variant-manager.context.js +104 -0
- package/dist-cms/packages/documents/documents/global-contexts/index.d.ts +1 -0
- package/dist-cms/packages/documents/documents/global-contexts/index.js +1 -0
- package/dist-cms/packages/documents/documents/global-contexts/manifests.d.ts +2 -0
- package/dist-cms/packages/documents/documents/global-contexts/manifests.js +8 -0
- package/dist-cms/packages/documents/documents/manifests.js +2 -0
- package/dist-cms/packages/documents/documents/modals/variant-picker/document-variant-picker-modal.element.js +5 -0
- package/dist-cms/packages/documents/documents/modals/variant-picker/document-variant-picker-modal.token.js +0 -1
- package/dist-cms/packages/documents/documents/workspace/document-workspace-split-view.element.js +20 -12
- package/dist-cms/packages/documents/documents/workspace/document-workspace.context.d.ts +1 -1
- package/dist-cms/packages/documents/documents/workspace/document-workspace.context.js +18 -42
- package/dist-cms/packages/language/app-language-select/app-language-select.element.js +2 -2
- package/dist-cms/packages/language/app-language-select/manifests.js +0 -6
- package/dist-cms/packages/language/{app-language-select → global-contexts}/app-language.context.d.ts +1 -0
- package/dist-cms/packages/language/{app-language-select → global-contexts}/app-language.context.js +1 -0
- package/dist-cms/packages/language/global-contexts/index.d.ts +1 -0
- package/dist-cms/packages/language/global-contexts/index.js +1 -0
- package/dist-cms/packages/language/global-contexts/manifests.d.ts +2 -0
- package/dist-cms/packages/language/global-contexts/manifests.js +8 -0
- package/dist-cms/packages/language/index.d.ts +1 -0
- package/dist-cms/packages/language/index.js +1 -0
- package/dist-cms/packages/language/manifests.js +2 -0
- package/dist-cms/packages/user/user/collection/repository/user-collection.server.data-source.js +1 -1
- package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
- package/dist-cms/vscode-html-custom-data.json +30 -0
- package/package.json +1 -1
|
@@ -6,6 +6,18 @@ import type { PagedMemberResponseModel } from '../models/PagedMemberResponseMode
|
|
|
6
6
|
import type { UpdateMemberRequestModel } from '../models/UpdateMemberRequestModel';
|
|
7
7
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
8
8
|
export declare class MemberResource {
|
|
9
|
+
/**
|
|
10
|
+
* @returns PagedMemberResponseModel Success
|
|
11
|
+
* @throws ApiError
|
|
12
|
+
*/
|
|
13
|
+
static getFilterMember({ memberTypeId, orderBy, orderDirection, filter, skip, take, }: {
|
|
14
|
+
memberTypeId?: string;
|
|
15
|
+
orderBy?: string;
|
|
16
|
+
orderDirection?: DirectionModel;
|
|
17
|
+
filter?: string;
|
|
18
|
+
skip?: number;
|
|
19
|
+
take?: number;
|
|
20
|
+
}): CancelablePromise<PagedMemberResponseModel>;
|
|
9
21
|
/**
|
|
10
22
|
* @returns any Success
|
|
11
23
|
* @throws ApiError
|
|
@@ -50,18 +62,6 @@ export declare class MemberResource {
|
|
|
50
62
|
id: string;
|
|
51
63
|
requestBody?: UpdateMemberRequestModel;
|
|
52
64
|
}): CancelablePromise<any>;
|
|
53
|
-
/**
|
|
54
|
-
* @returns PagedMemberResponseModel Success
|
|
55
|
-
* @throws ApiError
|
|
56
|
-
*/
|
|
57
|
-
static getMemberFilter({ memberTypeId, orderBy, orderDirection, filter, skip, take, }: {
|
|
58
|
-
memberTypeId?: string;
|
|
59
|
-
orderBy?: string;
|
|
60
|
-
orderDirection?: DirectionModel;
|
|
61
|
-
filter?: string;
|
|
62
|
-
skip?: number;
|
|
63
|
-
take?: number;
|
|
64
|
-
}): CancelablePromise<PagedMemberResponseModel>;
|
|
65
65
|
/**
|
|
66
66
|
* @returns any Success
|
|
67
67
|
* @throws ApiError
|
|
@@ -5,7 +5,7 @@ export declare class TemporaryFileResource {
|
|
|
5
5
|
* @returns string Created
|
|
6
6
|
* @throws ApiError
|
|
7
7
|
*/
|
|
8
|
-
static
|
|
8
|
+
static postTemporaryFile({ formData, }: {
|
|
9
9
|
formData?: {
|
|
10
10
|
Id?: string;
|
|
11
11
|
File?: Blob;
|
|
@@ -15,19 +15,19 @@ export declare class TemporaryFileResource {
|
|
|
15
15
|
* @returns any Success
|
|
16
16
|
* @throws ApiError
|
|
17
17
|
*/
|
|
18
|
-
static
|
|
18
|
+
static getTemporaryFileById({ id, }: {
|
|
19
19
|
id: string;
|
|
20
20
|
}): CancelablePromise<TemporaryFileResponseModel>;
|
|
21
21
|
/**
|
|
22
22
|
* @returns any Success
|
|
23
23
|
* @throws ApiError
|
|
24
24
|
*/
|
|
25
|
-
static
|
|
25
|
+
static deleteTemporaryFileById({ id, }: {
|
|
26
26
|
id: string;
|
|
27
27
|
}): CancelablePromise<any>;
|
|
28
28
|
/**
|
|
29
29
|
* @returns any Success
|
|
30
30
|
* @throws ApiError
|
|
31
31
|
*/
|
|
32
|
-
static
|
|
32
|
+
static getTemporaryFileConfiguration(): CancelablePromise<any>;
|
|
33
33
|
}
|
|
@@ -28,6 +28,19 @@ import type { UserTwoFactorProviderModel } from '../models/UserTwoFactorProvider
|
|
|
28
28
|
import type { VerifyInviteUserRequestModel } from '../models/VerifyInviteUserRequestModel';
|
|
29
29
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
30
30
|
export declare class UserResource {
|
|
31
|
+
/**
|
|
32
|
+
* @returns PagedUserResponseModel Success
|
|
33
|
+
* @throws ApiError
|
|
34
|
+
*/
|
|
35
|
+
static getFilterUser({ skip, take, orderBy, orderDirection, userGroupIds, userStates, filter, }: {
|
|
36
|
+
skip?: number;
|
|
37
|
+
take?: number;
|
|
38
|
+
orderBy?: UserOrderModel;
|
|
39
|
+
orderDirection?: DirectionModel;
|
|
40
|
+
userGroupIds?: Array<string>;
|
|
41
|
+
userStates?: Array<UserStateModel>;
|
|
42
|
+
filter?: string;
|
|
43
|
+
}): CancelablePromise<PagedUserResponseModel>;
|
|
31
44
|
/**
|
|
32
45
|
* @returns any Success
|
|
33
46
|
* @throws ApiError
|
|
@@ -214,19 +227,6 @@ export declare class UserResource {
|
|
|
214
227
|
static postUserEnable({ requestBody, }: {
|
|
215
228
|
requestBody?: EnableUserRequestModel;
|
|
216
229
|
}): CancelablePromise<any>;
|
|
217
|
-
/**
|
|
218
|
-
* @returns PagedUserResponseModel Success
|
|
219
|
-
* @throws ApiError
|
|
220
|
-
*/
|
|
221
|
-
static getUserFilter({ skip, take, orderBy, orderDirection, userGroupIds, userStates, filter, }: {
|
|
222
|
-
skip?: number;
|
|
223
|
-
take?: number;
|
|
224
|
-
orderBy?: UserOrderModel;
|
|
225
|
-
orderDirection?: DirectionModel;
|
|
226
|
-
userGroupIds?: Array<string>;
|
|
227
|
-
userStates?: Array<UserStateModel>;
|
|
228
|
-
filter?: string;
|
|
229
|
-
}): CancelablePromise<PagedUserResponseModel>;
|
|
230
230
|
/**
|
|
231
231
|
* @returns string Created
|
|
232
232
|
* @throws ApiError
|
|
@@ -7,6 +7,7 @@ export const data = [
|
|
|
7
7
|
hasChildren: false,
|
|
8
8
|
editorAlias: '',
|
|
9
9
|
values: [],
|
|
10
|
+
isDeletable: true,
|
|
10
11
|
},
|
|
11
12
|
{
|
|
12
13
|
name: 'Folder 2',
|
|
@@ -16,6 +17,7 @@ export const data = [
|
|
|
16
17
|
hasChildren: true,
|
|
17
18
|
editorAlias: '',
|
|
18
19
|
values: [],
|
|
20
|
+
isDeletable: true,
|
|
19
21
|
},
|
|
20
22
|
{
|
|
21
23
|
id: '0cc0eba1-9960-42c9-bf9b-60e150b429ae',
|
|
@@ -26,6 +28,7 @@ export const data = [
|
|
|
26
28
|
values: [],
|
|
27
29
|
hasChildren: false,
|
|
28
30
|
isFolder: false,
|
|
31
|
+
isDeletable: true,
|
|
29
32
|
},
|
|
30
33
|
{
|
|
31
34
|
name: 'Text',
|
|
@@ -35,6 +38,7 @@ export const data = [
|
|
|
35
38
|
editorUiAlias: 'Umb.PropertyEditorUi.TextBox',
|
|
36
39
|
hasChildren: false,
|
|
37
40
|
isFolder: false,
|
|
41
|
+
isDeletable: true,
|
|
38
42
|
values: [
|
|
39
43
|
{
|
|
40
44
|
alias: 'maxChars',
|
|
@@ -50,6 +54,7 @@ export const data = [
|
|
|
50
54
|
editorUiAlias: 'Umb.PropertyEditorUi.TextArea',
|
|
51
55
|
hasChildren: false,
|
|
52
56
|
isFolder: false,
|
|
57
|
+
isDeletable: true,
|
|
53
58
|
values: [],
|
|
54
59
|
},
|
|
55
60
|
{
|
|
@@ -60,6 +65,7 @@ export const data = [
|
|
|
60
65
|
editorUiAlias: 'My.PropertyEditorUI.Custom',
|
|
61
66
|
hasChildren: false,
|
|
62
67
|
isFolder: false,
|
|
68
|
+
isDeletable: true,
|
|
63
69
|
values: [],
|
|
64
70
|
},
|
|
65
71
|
{
|
|
@@ -70,6 +76,7 @@ export const data = [
|
|
|
70
76
|
editorUiAlias: 'Umb.PropertyEditorUi.ColorPicker',
|
|
71
77
|
hasChildren: false,
|
|
72
78
|
isFolder: false,
|
|
79
|
+
isDeletable: true,
|
|
73
80
|
values: [
|
|
74
81
|
{
|
|
75
82
|
alias: 'useLabel',
|
|
@@ -126,6 +133,7 @@ export const data = [
|
|
|
126
133
|
editorUiAlias: 'Umb.PropertyEditorUi.DocumentPicker',
|
|
127
134
|
hasChildren: false,
|
|
128
135
|
isFolder: false,
|
|
136
|
+
isDeletable: true,
|
|
129
137
|
values: [
|
|
130
138
|
{
|
|
131
139
|
alias: 'validationLimit',
|
|
@@ -141,6 +149,7 @@ export const data = [
|
|
|
141
149
|
editorUiAlias: 'Umb.PropertyEditorUi.EyeDropper',
|
|
142
150
|
hasChildren: false,
|
|
143
151
|
isFolder: false,
|
|
152
|
+
isDeletable: true,
|
|
144
153
|
values: [
|
|
145
154
|
{
|
|
146
155
|
//showPalette
|
|
@@ -178,6 +187,7 @@ export const data = [
|
|
|
178
187
|
editorUiAlias: 'Umb.PropertyEditorUi.MultiUrlPicker',
|
|
179
188
|
hasChildren: false,
|
|
180
189
|
isFolder: false,
|
|
190
|
+
isDeletable: true,
|
|
181
191
|
values: [
|
|
182
192
|
{
|
|
183
193
|
alias: 'overlaySize',
|
|
@@ -209,6 +219,7 @@ export const data = [
|
|
|
209
219
|
editorUiAlias: 'Umb.PropertyEditorUi.TreePicker',
|
|
210
220
|
hasChildren: false,
|
|
211
221
|
isFolder: false,
|
|
222
|
+
isDeletable: true,
|
|
212
223
|
values: [
|
|
213
224
|
{
|
|
214
225
|
alias: 'startNode',
|
|
@@ -256,6 +267,7 @@ export const data = [
|
|
|
256
267
|
editorUiAlias: 'Umb.PropertyEditorUi.DatePicker',
|
|
257
268
|
hasChildren: false,
|
|
258
269
|
isFolder: false,
|
|
270
|
+
isDeletable: true,
|
|
259
271
|
values: [
|
|
260
272
|
{
|
|
261
273
|
alias: 'format',
|
|
@@ -278,6 +290,7 @@ export const data = [
|
|
|
278
290
|
editorAlias: 'Umbraco.DateTime',
|
|
279
291
|
hasChildren: false,
|
|
280
292
|
isFolder: false,
|
|
293
|
+
isDeletable: true,
|
|
281
294
|
values: [
|
|
282
295
|
{
|
|
283
296
|
alias: 'format',
|
|
@@ -297,6 +310,7 @@ export const data = [
|
|
|
297
310
|
editorUiAlias: 'Umb.PropertyEditorUi.DatePicker',
|
|
298
311
|
hasChildren: false,
|
|
299
312
|
isFolder: false,
|
|
313
|
+
isDeletable: true,
|
|
300
314
|
values: [
|
|
301
315
|
{
|
|
302
316
|
alias: 'format',
|
|
@@ -316,6 +330,7 @@ export const data = [
|
|
|
316
330
|
editorUiAlias: 'Umb.PropertyEditorUi.Email',
|
|
317
331
|
hasChildren: false,
|
|
318
332
|
isFolder: false,
|
|
333
|
+
isDeletable: true,
|
|
319
334
|
values: [
|
|
320
335
|
{
|
|
321
336
|
alias: 'inputMode',
|
|
@@ -331,6 +346,7 @@ export const data = [
|
|
|
331
346
|
editorUiAlias: 'Umb.PropertyEditorUi.MultipleTextString',
|
|
332
347
|
hasChildren: false,
|
|
333
348
|
isFolder: false,
|
|
349
|
+
isDeletable: true,
|
|
334
350
|
values: [
|
|
335
351
|
{
|
|
336
352
|
alias: 'minNumber',
|
|
@@ -350,6 +366,7 @@ export const data = [
|
|
|
350
366
|
editorUiAlias: 'Umb.PropertyEditorUi.Dropdown',
|
|
351
367
|
hasChildren: false,
|
|
352
368
|
isFolder: false,
|
|
369
|
+
isDeletable: true,
|
|
353
370
|
values: [
|
|
354
371
|
{
|
|
355
372
|
alias: 'multiple',
|
|
@@ -373,6 +390,7 @@ export const data = [
|
|
|
373
390
|
editorUiAlias: 'Umb.PropertyEditorUi.Slider',
|
|
374
391
|
hasChildren: false,
|
|
375
392
|
isFolder: false,
|
|
393
|
+
isDeletable: true,
|
|
376
394
|
values: [
|
|
377
395
|
{
|
|
378
396
|
alias: 'enableRange',
|
|
@@ -408,6 +426,7 @@ export const data = [
|
|
|
408
426
|
editorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
|
409
427
|
hasChildren: false,
|
|
410
428
|
isFolder: false,
|
|
429
|
+
isDeletable: true,
|
|
411
430
|
values: [
|
|
412
431
|
{
|
|
413
432
|
alias: 'default',
|
|
@@ -435,6 +454,7 @@ export const data = [
|
|
|
435
454
|
editorUiAlias: 'Umb.PropertyEditorUi.Tags',
|
|
436
455
|
hasChildren: false,
|
|
437
456
|
isFolder: false,
|
|
457
|
+
isDeletable: true,
|
|
438
458
|
values: [
|
|
439
459
|
{
|
|
440
460
|
alias: 'group',
|
|
@@ -454,6 +474,7 @@ export const data = [
|
|
|
454
474
|
editorUiAlias: 'Umb.PropertyEditorUi.MarkdownEditor',
|
|
455
475
|
hasChildren: false,
|
|
456
476
|
isFolder: false,
|
|
477
|
+
isDeletable: true,
|
|
457
478
|
values: [],
|
|
458
479
|
},
|
|
459
480
|
{
|
|
@@ -464,6 +485,7 @@ export const data = [
|
|
|
464
485
|
editorUiAlias: 'Umb.PropertyEditorUi.RadioButtonList',
|
|
465
486
|
hasChildren: false,
|
|
466
487
|
isFolder: false,
|
|
488
|
+
isDeletable: true,
|
|
467
489
|
values: [
|
|
468
490
|
{
|
|
469
491
|
alias: 'items',
|
|
@@ -483,6 +505,7 @@ export const data = [
|
|
|
483
505
|
editorUiAlias: 'Umb.PropertyEditorUi.CheckboxList',
|
|
484
506
|
hasChildren: false,
|
|
485
507
|
isFolder: false,
|
|
508
|
+
isDeletable: true,
|
|
486
509
|
values: [
|
|
487
510
|
{
|
|
488
511
|
alias: 'items',
|
|
@@ -502,6 +525,7 @@ export const data = [
|
|
|
502
525
|
editorUiAlias: 'Umb.PropertyEditorUi.BlockList',
|
|
503
526
|
hasChildren: false,
|
|
504
527
|
isFolder: false,
|
|
528
|
+
isDeletable: true,
|
|
505
529
|
values: [
|
|
506
530
|
{
|
|
507
531
|
alias: 'blocks',
|
|
@@ -565,6 +589,7 @@ export const data = [
|
|
|
565
589
|
editorUiAlias: 'Umb.PropertyEditorUi.MediaPicker',
|
|
566
590
|
hasChildren: false,
|
|
567
591
|
isFolder: false,
|
|
592
|
+
isDeletable: true,
|
|
568
593
|
values: [],
|
|
569
594
|
},
|
|
570
595
|
{
|
|
@@ -575,6 +600,7 @@ export const data = [
|
|
|
575
600
|
editorUiAlias: 'Umb.PropertyEditorUi.ImageCropper',
|
|
576
601
|
hasChildren: false,
|
|
577
602
|
isFolder: false,
|
|
603
|
+
isDeletable: true,
|
|
578
604
|
values: [
|
|
579
605
|
{
|
|
580
606
|
alias: 'crops',
|
|
@@ -606,6 +632,7 @@ export const data = [
|
|
|
606
632
|
editorUiAlias: 'Umb.PropertyEditorUi.UploadField',
|
|
607
633
|
hasChildren: false,
|
|
608
634
|
isFolder: false,
|
|
635
|
+
isDeletable: true,
|
|
609
636
|
values: [
|
|
610
637
|
{
|
|
611
638
|
alias: 'fileExtensions',
|
|
@@ -625,6 +652,7 @@ export const data = [
|
|
|
625
652
|
editorUiAlias: 'Umb.PropertyEditorUi.BlockGrid',
|
|
626
653
|
hasChildren: false,
|
|
627
654
|
isFolder: false,
|
|
655
|
+
isDeletable: true,
|
|
628
656
|
values: [
|
|
629
657
|
{
|
|
630
658
|
alias: 'blockGroups',
|
|
@@ -732,6 +760,7 @@ export const data = [
|
|
|
732
760
|
editorUiAlias: 'Umb.PropertyEditorUi.CollectionView',
|
|
733
761
|
hasChildren: false,
|
|
734
762
|
isFolder: false,
|
|
763
|
+
isDeletable: false,
|
|
735
764
|
values: [
|
|
736
765
|
{ alias: 'pageSize', value: 2 },
|
|
737
766
|
{ alias: 'orderDirection', value: 'desc' },
|
|
@@ -775,6 +804,7 @@ export const data = [
|
|
|
775
804
|
editorUiAlias: 'Umb.PropertyEditorUi.IconPicker',
|
|
776
805
|
hasChildren: false,
|
|
777
806
|
isFolder: false,
|
|
807
|
+
isDeletable: true,
|
|
778
808
|
values: [],
|
|
779
809
|
},
|
|
780
810
|
{
|
|
@@ -785,6 +815,7 @@ export const data = [
|
|
|
785
815
|
editorUiAlias: 'Umb.PropertyEditorUi.TinyMCE',
|
|
786
816
|
hasChildren: false,
|
|
787
817
|
isFolder: false,
|
|
818
|
+
isDeletable: true,
|
|
788
819
|
values: [
|
|
789
820
|
{
|
|
790
821
|
alias: 'hideLabel',
|
|
@@ -862,6 +893,7 @@ export const data = [
|
|
|
862
893
|
editorUiAlias: 'Umb.PropertyEditorUi.Label',
|
|
863
894
|
hasChildren: false,
|
|
864
895
|
isFolder: false,
|
|
896
|
+
isDeletable: true,
|
|
865
897
|
values: [],
|
|
866
898
|
},
|
|
867
899
|
{
|
|
@@ -872,6 +904,7 @@ export const data = [
|
|
|
872
904
|
editorUiAlias: 'Umb.PropertyEditorUi.Integer',
|
|
873
905
|
hasChildren: false,
|
|
874
906
|
isFolder: false,
|
|
907
|
+
isDeletable: true,
|
|
875
908
|
values: [],
|
|
876
909
|
},
|
|
877
910
|
{
|
|
@@ -882,6 +915,7 @@ export const data = [
|
|
|
882
915
|
editorUiAlias: 'Umb.PropertyEditorUi.Decimal',
|
|
883
916
|
hasChildren: false,
|
|
884
917
|
isFolder: false,
|
|
918
|
+
isDeletable: true,
|
|
885
919
|
values: [
|
|
886
920
|
{
|
|
887
921
|
alias: 'step',
|
|
@@ -897,6 +931,7 @@ export const data = [
|
|
|
897
931
|
editorUiAlias: 'Umb.PropertyEditorUi.UserPicker',
|
|
898
932
|
hasChildren: false,
|
|
899
933
|
isFolder: false,
|
|
934
|
+
isDeletable: true,
|
|
900
935
|
values: [],
|
|
901
936
|
},
|
|
902
937
|
{
|
|
@@ -907,6 +942,7 @@ export const data = [
|
|
|
907
942
|
editorUiAlias: 'Umb.PropertyEditorUi.MemberPicker',
|
|
908
943
|
hasChildren: false,
|
|
909
944
|
isFolder: false,
|
|
945
|
+
isDeletable: true,
|
|
910
946
|
values: [],
|
|
911
947
|
},
|
|
912
948
|
{
|
|
@@ -917,6 +953,7 @@ export const data = [
|
|
|
917
953
|
editorUiAlias: 'Umb.PropertyEditorUi.MemberGroupPicker',
|
|
918
954
|
hasChildren: false,
|
|
919
955
|
isFolder: false,
|
|
956
|
+
isDeletable: true,
|
|
920
957
|
values: [],
|
|
921
958
|
},
|
|
922
959
|
{
|
|
@@ -927,6 +964,7 @@ export const data = [
|
|
|
927
964
|
editorUiAlias: 'Umb.PropertyEditorUi.MemberGroupPicker',
|
|
928
965
|
hasChildren: false,
|
|
929
966
|
isFolder: false,
|
|
967
|
+
isDeletable: true,
|
|
930
968
|
values: [],
|
|
931
969
|
},
|
|
932
970
|
{
|
|
@@ -937,6 +975,7 @@ export const data = [
|
|
|
937
975
|
editorUiAlias: 'Umb.PropertyEditorUi.StaticFilePicker',
|
|
938
976
|
hasChildren: false,
|
|
939
977
|
isFolder: false,
|
|
978
|
+
isDeletable: true,
|
|
940
979
|
values: [],
|
|
941
980
|
},
|
|
942
981
|
];
|
|
@@ -23,6 +23,7 @@ const createFolderMockMapper = (request) => {
|
|
|
23
23
|
isFolder: true,
|
|
24
24
|
hasChildren: false,
|
|
25
25
|
editorAlias: '',
|
|
26
|
+
isDeletable: true,
|
|
26
27
|
values: [],
|
|
27
28
|
};
|
|
28
29
|
};
|
|
@@ -36,6 +37,7 @@ const createDetailMockMapper = (request) => {
|
|
|
36
37
|
values: request.values,
|
|
37
38
|
isFolder: false,
|
|
38
39
|
hasChildren: false,
|
|
40
|
+
isDeletable: true,
|
|
39
41
|
};
|
|
40
42
|
};
|
|
41
43
|
const detailResponseMapper = (item) => {
|
|
@@ -46,12 +48,14 @@ const detailResponseMapper = (item) => {
|
|
|
46
48
|
editorAlias: item.editorAlias,
|
|
47
49
|
editorUiAlias: item.editorUiAlias,
|
|
48
50
|
values: item.values,
|
|
51
|
+
isDeletable: item.isDeletable,
|
|
49
52
|
};
|
|
50
53
|
};
|
|
51
54
|
const itemResponseMapper = (item) => {
|
|
52
55
|
return {
|
|
53
56
|
id: item.id,
|
|
54
57
|
name: item.name,
|
|
58
|
+
isDeletable: item.isDeletable,
|
|
55
59
|
};
|
|
56
60
|
};
|
|
57
61
|
export const umbDataTypeMockDb = new UmbDataTypeMockDB(data);
|
|
@@ -4,10 +4,10 @@ export const data = [
|
|
|
4
4
|
id: 'aae7d0ab-53ba-485d-b8bd-12537f9925cb',
|
|
5
5
|
parent: null,
|
|
6
6
|
hasChildren: false,
|
|
7
|
-
translatedIsoCodes: ['en'],
|
|
7
|
+
translatedIsoCodes: ['en-us'],
|
|
8
8
|
translations: [
|
|
9
9
|
{
|
|
10
|
-
isoCode: 'en',
|
|
10
|
+
isoCode: 'en-us',
|
|
11
11
|
translation: 'hello in en',
|
|
12
12
|
},
|
|
13
13
|
{
|
|
@@ -21,10 +21,10 @@ export const data = [
|
|
|
21
21
|
id: 'bbe7d0ab-53bb-485d-b8bd-12537f9925cb',
|
|
22
22
|
parent: null,
|
|
23
23
|
hasChildren: true,
|
|
24
|
-
translatedIsoCodes: ['en', 'da'],
|
|
24
|
+
translatedIsoCodes: ['en-us', 'da'],
|
|
25
25
|
translations: [
|
|
26
26
|
{
|
|
27
|
-
isoCode: 'en',
|
|
27
|
+
isoCode: 'en-us',
|
|
28
28
|
translation: 'Hello again in en',
|
|
29
29
|
},
|
|
30
30
|
{
|
|
@@ -38,10 +38,10 @@ export const data = [
|
|
|
38
38
|
id: '438b8693-2156-482b-84af-ccdae0c2df6e',
|
|
39
39
|
parent: { id: 'bbe7d0ab-53bb-485d-b8bd-12537f9925cb' },
|
|
40
40
|
hasChildren: false,
|
|
41
|
-
translatedIsoCodes: ['en', 'da'],
|
|
41
|
+
translatedIsoCodes: ['en-us', 'da'],
|
|
42
42
|
translations: [
|
|
43
43
|
{
|
|
44
|
-
isoCode: 'en',
|
|
44
|
+
isoCode: 'en-us',
|
|
45
45
|
translation: 'Nested Hello again in en',
|
|
46
46
|
},
|
|
47
47
|
{
|
|
@@ -24,7 +24,7 @@ export class UmbDocumentMockDB extends UmbEntityMockDbBase {
|
|
|
24
24
|
return [];
|
|
25
25
|
}
|
|
26
26
|
getDomainsForDocument(id) {
|
|
27
|
-
return { defaultIsoCode: 'en', domains: [] };
|
|
27
|
+
return { defaultIsoCode: 'en-us', domains: [] };
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
const treeItemMapper = (model) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const data = [
|
|
2
2
|
{
|
|
3
3
|
name: 'English',
|
|
4
|
-
isoCode: 'en',
|
|
4
|
+
isoCode: 'en-us',
|
|
5
5
|
isDefault: true,
|
|
6
6
|
isMandatory: true,
|
|
7
7
|
},
|
|
@@ -10,6 +10,6 @@ export const data = [
|
|
|
10
10
|
isoCode: 'da',
|
|
11
11
|
isDefault: false,
|
|
12
12
|
isMandatory: false,
|
|
13
|
-
fallbackIsoCode: 'en',
|
|
13
|
+
fallbackIsoCode: 'en-us',
|
|
14
14
|
},
|
|
15
15
|
];
|
|
@@ -7,10 +7,10 @@ const importResponse = {
|
|
|
7
7
|
name: 'Uploaded dictionary',
|
|
8
8
|
id: 'b7e7d0ab-53ba-485d-dddd-12537f9925cb',
|
|
9
9
|
hasChildren: false,
|
|
10
|
-
translatedIsoCodes: ['en', 'da'],
|
|
10
|
+
translatedIsoCodes: ['en-us', 'da'],
|
|
11
11
|
translations: [
|
|
12
12
|
{
|
|
13
|
-
isoCode: 'en',
|
|
13
|
+
isoCode: 'en-us',
|
|
14
14
|
translation: 'I am an imported US value',
|
|
15
15
|
},
|
|
16
16
|
{
|
|
@@ -27,5 +27,6 @@ export * from './input-upload-field/index.js';
|
|
|
27
27
|
export * from './multiple-color-picker-input/index.js';
|
|
28
28
|
export * from './multiple-text-string-input/index.js';
|
|
29
29
|
export * from './popover-layout/index.js';
|
|
30
|
+
export * from './split-panel/index.js';
|
|
30
31
|
export * from './table/index.js';
|
|
31
32
|
export * from './tooltip-menu/index.js';
|
|
@@ -29,5 +29,6 @@ export * from './input-upload-field/index.js';
|
|
|
29
29
|
export * from './multiple-color-picker-input/index.js';
|
|
30
30
|
export * from './multiple-text-string-input/index.js';
|
|
31
31
|
export * from './popover-layout/index.js';
|
|
32
|
+
export * from './split-panel/index.js';
|
|
32
33
|
export * from './table/index.js';
|
|
33
34
|
export * from './tooltip-menu/index.js';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type PropertyValueMap, LitElement } from '../../../../external/lit/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Custom element for a split panel with adjustable divider.
|
|
4
|
+
* @element umb-split-panel
|
|
5
|
+
* @slot start - Content for the start panel.
|
|
6
|
+
* @slot end - Content for the end panel.
|
|
7
|
+
* @cssprop --umb-split-panel-initial-position - Initial position of the divider.
|
|
8
|
+
* @cssprop --umb-split-panel-start-min-width - Minimum width of the start panel.
|
|
9
|
+
* @cssprop --umb-split-panel-end-min-width - Minimum width of the end panel.
|
|
10
|
+
* @cssprop --umb-split-panel-divider-touch-area-width - Width of the divider touch area.
|
|
11
|
+
* @cssprop --umb-split-panel-divider-width - Width of the divider.
|
|
12
|
+
* @cssprop --umb-split-panel-divider-color - Color of the divider.
|
|
13
|
+
*/
|
|
14
|
+
export declare class UmbSplitPanelElement extends LitElement {
|
|
15
|
+
#private;
|
|
16
|
+
mainElement: HTMLElement;
|
|
17
|
+
dividerTouchAreaElement: HTMLElement;
|
|
18
|
+
dividerElement: HTMLElement;
|
|
19
|
+
/**
|
|
20
|
+
* Snap points for the divider position.
|
|
21
|
+
* Pixel or percent space-separated values: e.g., "100px 50% -75% -200px".
|
|
22
|
+
* Negative values are relative to the end of the container.
|
|
23
|
+
*/
|
|
24
|
+
snap?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Locking mode for the split panel.
|
|
27
|
+
* Possible values: "start", "end", "none" (default).
|
|
28
|
+
*/
|
|
29
|
+
lock: 'start' | 'end' | 'none';
|
|
30
|
+
/**
|
|
31
|
+
* Initial position of the divider.
|
|
32
|
+
* Pixel or percent value: e.g., "100px" or "25%".
|
|
33
|
+
* Defaults to a CSS variable if not set: "var(--umb-split-panel-initial-position) which defaults to 50%".
|
|
34
|
+
*/
|
|
35
|
+
position: string;
|
|
36
|
+
_hasStartPanel: boolean;
|
|
37
|
+
_hasEndPanel: boolean;
|
|
38
|
+
disconnectedCallback(): void;
|
|
39
|
+
protected updated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
40
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
41
|
+
static styles: import("@lit/reactive-element/css-tag.js").CSSResult;
|
|
42
|
+
}
|
|
43
|
+
declare global {
|
|
44
|
+
interface HTMLElementTagNameMap {
|
|
45
|
+
'umb-split-panel': UmbSplitPanelElement;
|
|
46
|
+
}
|
|
47
|
+
}
|