@orangelogic/design-system 4.16.0 → 4.18.0
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/library/assets/validation.worker-DnJlaA8S.js +1 -0
- package/library/chunks/{asset-link-format.QScvoSeH.js → asset-link-format.B-wi80wk.js} +1 -1
- package/library/chunks/{bicolor-picker.DxvwdlPy.js → bicolor-picker.BHwn7qgI.js} +1 -1
- package/library/chunks/{border-input-group.BG6WuXiC.js → border-input-group.DlxLP_Yi.js} +1 -1
- package/library/chunks/{color-picker.DVCwSWmW.js → color-picker.NFpX0hDd.js} +2 -2
- package/library/chunks/{color-swatch-group.CYwte4Jm.js → color-swatch-group.DHrDL5W4.js} +15 -16
- package/library/chunks/{config-manager.Bgo1T59U.js → config-manager.j-83Ts1D.js} +12 -12
- package/library/chunks/{config-manager.utils.D7HXAqjy.js → config-manager.utils.C-G0Iimp.js} +246 -233
- package/library/chunks/{configs-controller.vXw3EK_q.js → configs-controller.FjT3LVI8.js} +342 -348
- package/library/chunks/{confirm-popover.Blq5LRa-.js → confirm-popover.B60_VW9E.js} +1 -1
- package/library/chunks/{document-viewer.CdWveLvo.js → document-viewer.BUAq7eW6.js} +3 -3
- package/library/chunks/{dropdown.DJXWFtei.js → dropdown.Yz1dFrzN.js} +1 -1
- package/library/chunks/{endpoints.Cyg4JQcE.js → endpoints.jOHOmF_t.js} +1 -1
- package/library/chunks/{file-on-demand.SOeN9tQJ.js → file-on-demand.DgSknSTy.js} +2 -2
- package/library/chunks/{folder-select.rWIoC8P3.js → folder-select.CmyEyzfA.js} +1 -1
- package/library/chunks/{menu-item.Dvh8F11T.js → menu-item.BXd8ZyH5.js} +1 -1
- package/library/chunks/{menu.qVOsnelB.js → menu.yAc9YFlN.js} +1 -1
- package/library/chunks/{shadow-input-group.Dyq74iNl.js → shadow-input-group.ClTseaRz.js} +1 -1
- package/library/chunks/{src.AeZ0-viY.js → src.BQQW1rcJ.js} +6 -6
- package/library/chunks/{tab-group.8ElFsJYM.js → tab-group.CPL6IRZr.js} +3 -3
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +7 -7
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/color-picker.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/confirm-popover.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/dropdown.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +1 -1
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +5 -5
- package/library/components/organisms.js +3 -3
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/tab-group.js +1 -1
- package/library/components/types.js +7114 -7106
- package/library/package.json +1 -1
- package/library/packages/organisms/src/dam-custom-toolbar-buttons-editor/dam-custom-toolbar-buttons-editor.d.ts +16 -1
- package/library/packages/organisms/src/downloader/data/core/WorkerProxy.d.ts +1 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/DownloadManager.d.ts +6 -0
- package/library/packages/organisms/src/downloader/downloader.d.ts +2 -0
- package/library/packages/services/src/api/cms5/cms5.d.ts +9 -0
- package/library/packages/services/src/api/cms5/cms5.types.d.ts +3 -0
- package/library/packages/services/src/api/endpoints.d.ts +1 -0
- package/package.json +1 -1
- package/library/assets/validation.worker-BSuTSsWh.js +0 -1
|
@@ -5,26 +5,26 @@ import { a as o, c as s, i as c, l, o as u, s as d } from "./resizable-component
|
|
|
5
5
|
import { D as f, E as p, O as m, u as h } from "./string.DamEXDH2.js";
|
|
6
6
|
import { n as g } from "./position-picker.dY_vgF_H.js";
|
|
7
7
|
import { a as _, n as v, o as ee, s as y } from "./src.BJhIYoMP.js";
|
|
8
|
-
import { a as te, i as ne, r as re } from "./tab-group.
|
|
8
|
+
import { a as te, i as ne, r as re } from "./tab-group.CPL6IRZr.js";
|
|
9
9
|
import { t as ie } from "./parse.CDrJ-NY7.js";
|
|
10
10
|
import { t as ae } from "./toString.r2ImdBrm.js";
|
|
11
11
|
import { t as oe } from "./capitalize.BT_EavGy.js";
|
|
12
|
-
import { a as se, i as ce, n as le, r as ue } from "./document-viewer.
|
|
12
|
+
import { a as se, i as ce, n as le, r as ue } from "./document-viewer.BUAq7eW6.js";
|
|
13
13
|
import { f as de, l as fe } from "./url.CZO_DV8Y.js";
|
|
14
14
|
import { _ as pe, g as me, p as he, v as ge } from "./color.CIOzHtLK.js";
|
|
15
15
|
import { g as _e, m as ve, p as ye, s as b } from "./responsive.L9Csz2w2.js";
|
|
16
16
|
import { n as be, r as xe } from "./header.DpccEGpQ.js";
|
|
17
|
-
import { d as
|
|
18
|
-
import { n as
|
|
19
|
-
import { a as T, i as E, o as D, r as O, s as we } from "./color-swatch-group.
|
|
17
|
+
import { d as Se, f as x, l as S, o as C, s as Ce } from "./endpoints.jOHOmF_t.js";
|
|
18
|
+
import { n as w } from "./folder-select.CmyEyzfA.js";
|
|
19
|
+
import { a as T, i as E, o as D, r as O, s as we } from "./color-swatch-group.DHrDL5W4.js";
|
|
20
20
|
import { n as Te } from "./isEmpty.D3QQduJ5.js";
|
|
21
21
|
import { a as k } from "./cloneDeep.C6x5LNv3.js";
|
|
22
22
|
//#region ../../packages/services/src/api/dashboard/dashboard.ts
|
|
23
23
|
async function Ee() {
|
|
24
24
|
try {
|
|
25
|
-
return (await
|
|
25
|
+
return (await x.request({
|
|
26
26
|
method: "GET",
|
|
27
|
-
transformResponse: [...Array.isArray(
|
|
27
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
28
28
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
29
29
|
return {
|
|
30
30
|
data: e.dashboards.map((e) => ({
|
|
@@ -34,7 +34,7 @@ async function Ee() {
|
|
|
34
34
|
hasMore: !1
|
|
35
35
|
};
|
|
36
36
|
}],
|
|
37
|
-
url:
|
|
37
|
+
url: Ce.GET_DASHBOARD_LIST
|
|
38
38
|
})).data;
|
|
39
39
|
} catch {
|
|
40
40
|
return [];
|
|
@@ -42,17 +42,17 @@ async function Ee() {
|
|
|
42
42
|
}
|
|
43
43
|
async function De({ dashboardId: e, pageId: t }) {
|
|
44
44
|
try {
|
|
45
|
-
return (await
|
|
45
|
+
return (await x.request({
|
|
46
46
|
method: "GET",
|
|
47
47
|
params: {
|
|
48
48
|
DashboardId: e,
|
|
49
49
|
PageID: t || void 0
|
|
50
50
|
},
|
|
51
|
-
transformResponse: [...Array.isArray(
|
|
51
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
52
52
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
53
53
|
return e.embedUrl || "";
|
|
54
54
|
}],
|
|
55
|
-
url:
|
|
55
|
+
url: Ce.GET_DASHBOARD_EMBEDDED_URL
|
|
56
56
|
})).data;
|
|
57
57
|
} catch {
|
|
58
58
|
return "";
|
|
@@ -417,7 +417,7 @@ var wt = Ct(function(e, t, n) {
|
|
|
417
417
|
], zt = "Block", Bt = (e) => e.startsWith(zt) ? e : zt + e, Vt = (e) => e.startsWith(zt) ? e.substring(5) : e;
|
|
418
418
|
async function Ht({ blockType: e, description: t, name: n, settings: r }) {
|
|
419
419
|
try {
|
|
420
|
-
return (await
|
|
420
|
+
return (await x.request({
|
|
421
421
|
data: {
|
|
422
422
|
BlockDescription: t,
|
|
423
423
|
BlockName: n,
|
|
@@ -425,7 +425,7 @@ async function Ht({ blockType: e, description: t, name: n, settings: r }) {
|
|
|
425
425
|
BlockType: Bt(e)
|
|
426
426
|
},
|
|
427
427
|
method: "POST",
|
|
428
|
-
url:
|
|
428
|
+
url: C.BLOCK_TEMPLATE
|
|
429
429
|
})).data;
|
|
430
430
|
} catch {
|
|
431
431
|
return null;
|
|
@@ -433,10 +433,10 @@ async function Ht({ blockType: e, description: t, name: n, settings: r }) {
|
|
|
433
433
|
}
|
|
434
434
|
async function Ut({ ids: e }) {
|
|
435
435
|
try {
|
|
436
|
-
return (await
|
|
436
|
+
return (await x.request({
|
|
437
437
|
data: { BlockClientIds: (0, Lt.default)(e) },
|
|
438
438
|
method: "POST",
|
|
439
|
-
transformResponse: [...Array.isArray(
|
|
439
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
440
440
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
441
441
|
return Object.entries(e.blockTemplates ?? {}).reduce((e, [t, n]) => {
|
|
442
442
|
try {
|
|
@@ -455,7 +455,7 @@ async function Ut({ ids: e }) {
|
|
|
455
455
|
return e;
|
|
456
456
|
}, {});
|
|
457
457
|
}],
|
|
458
|
-
url:
|
|
458
|
+
url: C.LIST_BLOCK_TEMPLATES
|
|
459
459
|
})).data;
|
|
460
460
|
} catch {
|
|
461
461
|
return {};
|
|
@@ -463,7 +463,7 @@ async function Ut({ ids: e }) {
|
|
|
463
463
|
}
|
|
464
464
|
async function Wt({ description: e, id: t, name: n, settings: r }) {
|
|
465
465
|
try {
|
|
466
|
-
return (await
|
|
466
|
+
return (await x.request({
|
|
467
467
|
data: {
|
|
468
468
|
BlockDescription: e,
|
|
469
469
|
BlockName: n,
|
|
@@ -471,7 +471,7 @@ async function Wt({ description: e, id: t, name: n, settings: r }) {
|
|
|
471
471
|
BlockTemplateClientID: t
|
|
472
472
|
},
|
|
473
473
|
method: "PUT",
|
|
474
|
-
url:
|
|
474
|
+
url: C.BLOCK_TEMPLATE
|
|
475
475
|
})).data;
|
|
476
476
|
} catch {
|
|
477
477
|
return null;
|
|
@@ -479,14 +479,14 @@ async function Wt({ description: e, id: t, name: n, settings: r }) {
|
|
|
479
479
|
}
|
|
480
480
|
async function Gt({ id: e }) {
|
|
481
481
|
try {
|
|
482
|
-
return (await
|
|
482
|
+
return (await x.request({
|
|
483
483
|
method: "GET",
|
|
484
484
|
params: { BlockTemplateClientID: e },
|
|
485
|
-
transformResponse: [...Array.isArray(
|
|
485
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
486
486
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
487
487
|
return e.permissions;
|
|
488
488
|
}],
|
|
489
|
-
url:
|
|
489
|
+
url: C.GET_PERMISSION
|
|
490
490
|
})).data;
|
|
491
491
|
} catch {
|
|
492
492
|
return "";
|
|
@@ -494,10 +494,10 @@ async function Gt({ id: e }) {
|
|
|
494
494
|
}
|
|
495
495
|
async function Kt(e) {
|
|
496
496
|
try {
|
|
497
|
-
return (await
|
|
497
|
+
return (await x.request({
|
|
498
498
|
method: "GET",
|
|
499
499
|
params: { BlockType: e ? Bt(e.type) : void 0 },
|
|
500
|
-
transformResponse: [...Array.isArray(
|
|
500
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
501
501
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
502
502
|
return e.blockTemplates?.map((e) => ({
|
|
503
503
|
description: e.blockDescription ?? "",
|
|
@@ -507,7 +507,7 @@ async function Kt(e) {
|
|
|
507
507
|
type: Vt(e.blockType)
|
|
508
508
|
})) ?? [];
|
|
509
509
|
}],
|
|
510
|
-
url:
|
|
510
|
+
url: C.GET_BLOCK_TEMPLATES
|
|
511
511
|
})).data;
|
|
512
512
|
} catch {
|
|
513
513
|
return [];
|
|
@@ -515,10 +515,10 @@ async function Kt(e) {
|
|
|
515
515
|
}
|
|
516
516
|
async function qt({ excludeBlocksWithNoTemplates: e }) {
|
|
517
517
|
try {
|
|
518
|
-
return (await
|
|
518
|
+
return (await x.request({
|
|
519
519
|
method: "GET",
|
|
520
520
|
params: { FilterBlockTypeHasTemplate: e },
|
|
521
|
-
transformResponse: [...Array.isArray(
|
|
521
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
522
522
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
523
523
|
return e.blockTypeDefinitions.map((e) => ({
|
|
524
524
|
description: e.blockTypeDescription,
|
|
@@ -528,7 +528,7 @@ async function qt({ excludeBlocksWithNoTemplates: e }) {
|
|
|
528
528
|
representative: e.representative
|
|
529
529
|
})).filter((e) => e.id !== b.Column && Object.values(b).includes(e.id));
|
|
530
530
|
}],
|
|
531
|
-
url:
|
|
531
|
+
url: C.GET_BLOCK_TYPES
|
|
532
532
|
})).data;
|
|
533
533
|
} catch {
|
|
534
534
|
return [];
|
|
@@ -540,9 +540,9 @@ async function Jt({ id: e }) {
|
|
|
540
540
|
let t = await Gt({ id: e });
|
|
541
541
|
return t && Rt.some((e) => t.includes(e)) ? ve.Template : ve.Content;
|
|
542
542
|
}
|
|
543
|
-
return (await
|
|
543
|
+
return (await x.request({
|
|
544
544
|
method: "GET",
|
|
545
|
-
url:
|
|
545
|
+
url: C.GET_CAN_CREATE_BLOCK_TEMPLATE
|
|
546
546
|
})).data.canCreate ? ve.Template : ve.Content;
|
|
547
547
|
} catch {
|
|
548
548
|
return ve.Content;
|
|
@@ -550,14 +550,14 @@ async function Jt({ id: e }) {
|
|
|
550
550
|
}
|
|
551
551
|
async function Yt({ type: e }) {
|
|
552
552
|
try {
|
|
553
|
-
return (await
|
|
553
|
+
return (await x.request({
|
|
554
554
|
method: "GET",
|
|
555
555
|
params: { BlockType: Bt(e) },
|
|
556
|
-
transformResponse: [...Array.isArray(
|
|
556
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (t) => {
|
|
557
557
|
if (!t || typeof t != "object") throw Error("Invalid response format");
|
|
558
558
|
return t.properties[e] ?? [];
|
|
559
559
|
}],
|
|
560
|
-
url:
|
|
560
|
+
url: C.GET_ADHOC_PROPERTIES
|
|
561
561
|
})).data;
|
|
562
562
|
} catch {
|
|
563
563
|
return [];
|
|
@@ -565,13 +565,13 @@ async function Yt({ type: e }) {
|
|
|
565
565
|
}
|
|
566
566
|
async function Xt() {
|
|
567
567
|
try {
|
|
568
|
-
return (await
|
|
568
|
+
return (await x.request({
|
|
569
569
|
method: "GET",
|
|
570
|
-
transformResponse: [...Array.isArray(
|
|
570
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
571
571
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
572
572
|
return e.roles ?? [];
|
|
573
573
|
}],
|
|
574
|
-
url:
|
|
574
|
+
url: C.GET_DAM_VIEW_AVAILABLE_LEVELS_OF_ACCESS
|
|
575
575
|
})).data;
|
|
576
576
|
} catch {
|
|
577
577
|
return [];
|
|
@@ -579,17 +579,17 @@ async function Xt() {
|
|
|
579
579
|
}
|
|
580
580
|
async function Zt(e) {
|
|
581
581
|
try {
|
|
582
|
-
return (await
|
|
582
|
+
return (await x.request({
|
|
583
583
|
method: "GET",
|
|
584
584
|
params: { Search: e?.search },
|
|
585
|
-
transformResponse: [...Array.isArray(
|
|
585
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
586
586
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
587
587
|
return {
|
|
588
588
|
forms: e.forms ?? [],
|
|
589
589
|
hasMore: e.hasMore ?? !1
|
|
590
590
|
};
|
|
591
591
|
}],
|
|
592
|
-
url:
|
|
592
|
+
url: C.GET_DAM_VIEW_AVAILABLE_FORMS
|
|
593
593
|
})).data;
|
|
594
594
|
} catch {
|
|
595
595
|
return {
|
|
@@ -600,36 +600,54 @@ async function Zt(e) {
|
|
|
600
600
|
}
|
|
601
601
|
async function Qt(e) {
|
|
602
602
|
try {
|
|
603
|
-
return (await
|
|
603
|
+
return (await x.request({
|
|
604
604
|
method: "GET",
|
|
605
605
|
params: { TeamspaceModule: e?.teamspaceModule },
|
|
606
|
-
transformResponse: [...Array.isArray(
|
|
606
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
607
607
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
608
608
|
return e.options ?? [];
|
|
609
609
|
}],
|
|
610
|
-
url:
|
|
610
|
+
url: C.GET_DAM_VIEW_AVAILABLE_BUTTONS
|
|
611
611
|
})).data;
|
|
612
612
|
} catch {
|
|
613
613
|
return [];
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
|
|
616
|
+
async function $t(e) {
|
|
617
|
+
try {
|
|
618
|
+
return (await x.request({
|
|
619
|
+
method: "GET",
|
|
620
|
+
params: {
|
|
621
|
+
TeamspaceModule: e.teamspaceModule,
|
|
622
|
+
Value: e.value
|
|
623
|
+
},
|
|
624
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
625
|
+
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
626
|
+
return e.detail ?? null;
|
|
627
|
+
}],
|
|
628
|
+
url: C.GET_DAM_VIEW_CUSTOM_BUTTON_DETAIL
|
|
629
|
+
})).data;
|
|
630
|
+
} catch {
|
|
631
|
+
return null;
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
var en = {
|
|
617
635
|
CreateRecord: M.CreateRecord,
|
|
618
636
|
ExecuteWorkflow: M.ExecuteWorkflow,
|
|
619
637
|
OpenForm: M.OpenForm,
|
|
620
638
|
OpenLink: M.OpenLink,
|
|
621
639
|
OpenPage: M.OpenPage,
|
|
622
640
|
OpenSpace: M.OpenSpace
|
|
623
|
-
},
|
|
641
|
+
}, tn = {
|
|
624
642
|
IconAndLabel: j.IconAndLabel,
|
|
625
643
|
IconOnly: j.IconOnly,
|
|
626
644
|
LabelOnly: j.LabelOnly
|
|
627
645
|
};
|
|
628
|
-
function
|
|
646
|
+
function nn(e) {
|
|
629
647
|
return e ? {
|
|
630
648
|
accessLevel: e.levelOfAccess || "",
|
|
631
|
-
action:
|
|
632
|
-
appearance:
|
|
649
|
+
action: en[e.actionOnClick] ?? M.OpenForm,
|
|
650
|
+
appearance: tn[e.buttonAppearanceType] ?? j.LabelOnly,
|
|
633
651
|
completionMessage: e.completionMessage || "",
|
|
634
652
|
formId: e.formToOpen || "",
|
|
635
653
|
icon: e.icon || "",
|
|
@@ -643,89 +661,89 @@ function tn(e) {
|
|
|
643
661
|
workflowId: e.buttonActionID || ""
|
|
644
662
|
} : {};
|
|
645
663
|
}
|
|
646
|
-
async function
|
|
664
|
+
async function rn() {
|
|
647
665
|
try {
|
|
648
|
-
return (await
|
|
666
|
+
return (await x.request({
|
|
649
667
|
method: "GET",
|
|
650
|
-
transformResponse: [...Array.isArray(
|
|
668
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
651
669
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
652
670
|
return e.statuses ?? [];
|
|
653
671
|
}],
|
|
654
|
-
url:
|
|
672
|
+
url: C.GET_DAM_VIEW_ASSET_STATUSES
|
|
655
673
|
})).data;
|
|
656
674
|
} catch {
|
|
657
675
|
return [];
|
|
658
676
|
}
|
|
659
677
|
}
|
|
660
|
-
async function
|
|
678
|
+
async function an(e) {
|
|
661
679
|
try {
|
|
662
|
-
return (await
|
|
680
|
+
return (await x.request({
|
|
663
681
|
method: "GET",
|
|
664
682
|
params: { AdditionalFilterOnly: e?.additionalFilterOnly },
|
|
665
|
-
transformResponse: [...Array.isArray(
|
|
683
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
666
684
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
667
685
|
return e.panels ?? [];
|
|
668
686
|
}],
|
|
669
|
-
url:
|
|
687
|
+
url: C.GET_DAM_VIEW_AVAILABLE_PANELS
|
|
670
688
|
})).data;
|
|
671
689
|
} catch {
|
|
672
690
|
return [];
|
|
673
691
|
}
|
|
674
692
|
}
|
|
675
|
-
async function
|
|
693
|
+
async function on() {
|
|
676
694
|
try {
|
|
677
|
-
return (await
|
|
695
|
+
return (await x.request({
|
|
678
696
|
method: "GET",
|
|
679
|
-
transformResponse: [...Array.isArray(
|
|
697
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
680
698
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
681
699
|
return e.options ?? [];
|
|
682
700
|
}],
|
|
683
|
-
url:
|
|
701
|
+
url: C.GET_DAM_VIEW_DISPLAY_MODE_OPTIONS
|
|
684
702
|
})).data;
|
|
685
703
|
} catch {
|
|
686
704
|
return [];
|
|
687
705
|
}
|
|
688
706
|
}
|
|
689
|
-
async function
|
|
707
|
+
async function sn() {
|
|
690
708
|
try {
|
|
691
|
-
return (await
|
|
709
|
+
return (await x.request({
|
|
692
710
|
method: "GET",
|
|
693
|
-
transformResponse: [...Array.isArray(
|
|
711
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
694
712
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
695
713
|
return e.templates ?? [];
|
|
696
714
|
}],
|
|
697
|
-
url:
|
|
715
|
+
url: C.GET_DAM_VIEW_AVAILABLE_TEMPLATES
|
|
698
716
|
})).data;
|
|
699
717
|
} catch {
|
|
700
718
|
return [];
|
|
701
719
|
}
|
|
702
720
|
}
|
|
703
|
-
async function
|
|
721
|
+
async function cn() {
|
|
704
722
|
try {
|
|
705
|
-
return (await
|
|
723
|
+
return (await x.request({
|
|
706
724
|
method: "GET",
|
|
707
|
-
transformResponse: [...Array.isArray(
|
|
725
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
708
726
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
709
727
|
return e.spaces ?? [];
|
|
710
728
|
}],
|
|
711
|
-
url:
|
|
729
|
+
url: C.GET_DAM_VIEW_AVAILABLE_SPACES
|
|
712
730
|
})).data;
|
|
713
731
|
} catch {
|
|
714
732
|
return [];
|
|
715
733
|
}
|
|
716
734
|
}
|
|
717
|
-
async function
|
|
735
|
+
async function ln() {
|
|
718
736
|
try {
|
|
719
|
-
return (await
|
|
737
|
+
return (await x.request({
|
|
720
738
|
method: "GET",
|
|
721
|
-
transformResponse: [...Array.isArray(
|
|
739
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
722
740
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
723
741
|
return {
|
|
724
742
|
hasMore: e.hasMore ?? !1,
|
|
725
743
|
pages: e.pages ?? []
|
|
726
744
|
};
|
|
727
745
|
}],
|
|
728
|
-
url:
|
|
746
|
+
url: C.GET_DAM_VIEW_AVAILABLE_PAGES
|
|
729
747
|
})).data;
|
|
730
748
|
} catch {
|
|
731
749
|
return {
|
|
@@ -738,10 +756,10 @@ async function cn() {
|
|
|
738
756
|
//#region ../../packages/services/src/api/metadata/metadata.ts
|
|
739
757
|
async function N() {
|
|
740
758
|
try {
|
|
741
|
-
return (await
|
|
759
|
+
return (await x.request({
|
|
742
760
|
method: "GET",
|
|
743
761
|
params: { TableName: "DO_DOCUMENTS" },
|
|
744
|
-
transformResponse: [...Array.isArray(
|
|
762
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
745
763
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
746
764
|
return {
|
|
747
765
|
data: e.listFields.map((e) => ({
|
|
@@ -751,32 +769,32 @@ async function N() {
|
|
|
751
769
|
hasMore: !1
|
|
752
770
|
};
|
|
753
771
|
}],
|
|
754
|
-
url:
|
|
772
|
+
url: S.GET_SEARCHABLE_FIELDS
|
|
755
773
|
})).data;
|
|
756
774
|
} catch {
|
|
757
775
|
return [];
|
|
758
776
|
}
|
|
759
777
|
}
|
|
760
|
-
async function
|
|
778
|
+
async function un() {
|
|
761
779
|
try {
|
|
762
|
-
return (await
|
|
780
|
+
return (await x.request({
|
|
763
781
|
method: "GET",
|
|
764
|
-
transformResponse: [...Array.isArray(
|
|
765
|
-
url:
|
|
782
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => !e || !Array.isArray(e.sortOrders) ? [] : e.sortOrders],
|
|
783
|
+
url: S.GET_SORT_ORDERS
|
|
766
784
|
})).data;
|
|
767
785
|
} catch {
|
|
768
786
|
return [];
|
|
769
787
|
}
|
|
770
788
|
}
|
|
771
|
-
function
|
|
789
|
+
function dn(e, t) {
|
|
772
790
|
return e === "DO_DOCUMENTS.*" ? `DO_DOCUMENTS.${t}.*` : e.endsWith("*") ? e : `DO_DOCUMENTS.${t}.${e}`;
|
|
773
791
|
}
|
|
774
|
-
async function
|
|
792
|
+
async function fn() {
|
|
775
793
|
try {
|
|
776
|
-
return (await
|
|
794
|
+
return (await x.request({
|
|
777
795
|
method: "GET",
|
|
778
796
|
responseType: "json",
|
|
779
|
-
transformResponse: [...Array.isArray(
|
|
797
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => !e || !Array.isArray(e.subTypes) ? {
|
|
780
798
|
flat: [],
|
|
781
799
|
grouped: {}
|
|
782
800
|
} : e.subTypes.reduce((e, t) => {
|
|
@@ -786,13 +804,13 @@ async function dn() {
|
|
|
786
804
|
typeDbBOName: t.typeDbBOName
|
|
787
805
|
}, e.flat.push({
|
|
788
806
|
...t,
|
|
789
|
-
subTypeValue:
|
|
807
|
+
subTypeValue: dn(t.subTypeValue, t.typeDbBOName)
|
|
790
808
|
}), e;
|
|
791
809
|
}, {
|
|
792
810
|
flat: [],
|
|
793
811
|
grouped: {}
|
|
794
812
|
})],
|
|
795
|
-
url:
|
|
813
|
+
url: S.GET_SUBTYPES_WITH_WILDCARD
|
|
796
814
|
})).data;
|
|
797
815
|
} catch {
|
|
798
816
|
return {
|
|
@@ -801,41 +819,41 @@ async function dn() {
|
|
|
801
819
|
};
|
|
802
820
|
}
|
|
803
821
|
}
|
|
804
|
-
async function
|
|
822
|
+
async function pn() {
|
|
805
823
|
try {
|
|
806
|
-
return (await
|
|
824
|
+
return (await x.request({
|
|
807
825
|
method: "GET",
|
|
808
826
|
responseType: "json",
|
|
809
|
-
transformResponse: [...Array.isArray(
|
|
810
|
-
url:
|
|
827
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => !e || !Array.isArray(e.listFields) ? [] : e.listFields],
|
|
828
|
+
url: S.GET_ALL_ALIAS_FIELDS
|
|
811
829
|
})).data;
|
|
812
830
|
} catch {
|
|
813
831
|
return [];
|
|
814
832
|
}
|
|
815
833
|
}
|
|
816
|
-
async function
|
|
834
|
+
async function mn() {
|
|
817
835
|
try {
|
|
818
|
-
return (await
|
|
836
|
+
return (await x.request({
|
|
819
837
|
method: "GET",
|
|
820
838
|
params: { tableName: "DO_DOCUMENTS" },
|
|
821
839
|
responseType: "json",
|
|
822
|
-
transformResponse: [...Array.isArray(
|
|
840
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => !e || !Array.isArray(e.listFields) ? [] : e.listFields.map((e) => ({
|
|
823
841
|
id: e.value,
|
|
824
842
|
label: e.text
|
|
825
843
|
}))],
|
|
826
|
-
url:
|
|
844
|
+
url: S.GET_ALL_SEARCHABLE_FIELDS_FOR_CURRENT_USER
|
|
827
845
|
})).data;
|
|
828
846
|
} catch {
|
|
829
847
|
return [];
|
|
830
848
|
}
|
|
831
849
|
}
|
|
832
|
-
async function
|
|
850
|
+
async function hn() {
|
|
833
851
|
try {
|
|
834
|
-
return (await
|
|
852
|
+
return (await x.request({
|
|
835
853
|
method: "GET",
|
|
836
854
|
responseType: "json",
|
|
837
|
-
transformResponse: [...Array.isArray(
|
|
838
|
-
url:
|
|
855
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => !e || !Array.isArray(e.enabledRelations) ? [] : e.enabledRelations],
|
|
856
|
+
url: S.GET_ENABLED_RELATIONS
|
|
839
857
|
})).data;
|
|
840
858
|
} catch {
|
|
841
859
|
return [];
|
|
@@ -865,7 +883,7 @@ var P = /* @__PURE__ */ function(e) {
|
|
|
865
883
|
}, z = {
|
|
866
884
|
...R,
|
|
867
885
|
mask: "numpx"
|
|
868
|
-
},
|
|
886
|
+
}, gn = {
|
|
869
887
|
"--align-items": {
|
|
870
888
|
controlType: "button-group",
|
|
871
889
|
id: "--align-items",
|
|
@@ -1249,21 +1267,21 @@ var P = /* @__PURE__ */ function(e) {
|
|
|
1249
1267
|
name: "width",
|
|
1250
1268
|
type: "style"
|
|
1251
1269
|
}
|
|
1252
|
-
},
|
|
1270
|
+
}, _n = [
|
|
1253
1271
|
b.Header,
|
|
1254
1272
|
b.RichText,
|
|
1255
1273
|
b.Text
|
|
1256
|
-
],
|
|
1257
|
-
...
|
|
1274
|
+
], vn = [..._n], yn = ["id"], bn = [
|
|
1275
|
+
..._n,
|
|
1258
1276
|
b.ColumnGroup,
|
|
1259
1277
|
b.Divider,
|
|
1260
1278
|
b.Button,
|
|
1261
1279
|
b.SearchBox
|
|
1262
|
-
],
|
|
1280
|
+
], xn = { [b.FontKitAdvanced]: b.FontKit }, Sn = {
|
|
1263
1281
|
divider: "show-dividers",
|
|
1264
1282
|
download: "show-download-button",
|
|
1265
1283
|
image: "show-title-image"
|
|
1266
|
-
},
|
|
1284
|
+
}, Cn = "font-kit-remove-element", wn = 5e3, Tn = /* @__PURE__ */ new Set([
|
|
1267
1285
|
b.Audio,
|
|
1268
1286
|
b.Carousel,
|
|
1269
1287
|
b.DamView,
|
|
@@ -1271,33 +1289,33 @@ var P = /* @__PURE__ */ function(e) {
|
|
|
1271
1289
|
b.Gallery,
|
|
1272
1290
|
b.Image,
|
|
1273
1291
|
b.Video
|
|
1274
|
-
]),
|
|
1292
|
+
]), En = /* @__PURE__ */ new Set([
|
|
1275
1293
|
b.Accordion,
|
|
1276
1294
|
b.ColorSwatches,
|
|
1277
1295
|
b.TabGroup,
|
|
1278
1296
|
b.Timeline
|
|
1279
|
-
]),
|
|
1280
|
-
async function
|
|
1297
|
+
]), Dn = 10;
|
|
1298
|
+
async function On() {
|
|
1281
1299
|
try {
|
|
1282
|
-
return (await
|
|
1300
|
+
return (await x.request({
|
|
1283
1301
|
method: "GET",
|
|
1284
1302
|
responseType: "json",
|
|
1285
|
-
transformResponse: [...Array.isArray(
|
|
1303
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
1286
1304
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
1287
1305
|
return e.roles;
|
|
1288
1306
|
}],
|
|
1289
|
-
url:
|
|
1307
|
+
url: Se.GET_USER_ROLE
|
|
1290
1308
|
})).data;
|
|
1291
1309
|
} catch {
|
|
1292
1310
|
return [];
|
|
1293
1311
|
}
|
|
1294
1312
|
}
|
|
1295
|
-
async function
|
|
1313
|
+
async function kn() {
|
|
1296
1314
|
try {
|
|
1297
|
-
return (await
|
|
1315
|
+
return (await x.request({
|
|
1298
1316
|
method: "GET",
|
|
1299
1317
|
responseType: "json",
|
|
1300
|
-
url:
|
|
1318
|
+
url: Se.GET_SPACE_FONT_FAMILY
|
|
1301
1319
|
})).data;
|
|
1302
1320
|
} catch {
|
|
1303
1321
|
return;
|
|
@@ -1305,33 +1323,33 @@ async function On() {
|
|
|
1305
1323
|
}
|
|
1306
1324
|
async function B() {
|
|
1307
1325
|
try {
|
|
1308
|
-
return (await
|
|
1326
|
+
return (await x.request({
|
|
1309
1327
|
method: "GET",
|
|
1310
1328
|
responseType: "json",
|
|
1311
|
-
transformResponse: [...Array.isArray(
|
|
1312
|
-
url:
|
|
1329
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => e.fontFamilies],
|
|
1330
|
+
url: Se.GET_FONT_FAMILIES
|
|
1313
1331
|
})).data;
|
|
1314
1332
|
} catch {
|
|
1315
1333
|
return [];
|
|
1316
1334
|
}
|
|
1317
1335
|
}
|
|
1318
|
-
async function
|
|
1336
|
+
async function An({ searchTerm: e = "" }) {
|
|
1319
1337
|
try {
|
|
1320
|
-
return (await
|
|
1338
|
+
return (await x.request({
|
|
1321
1339
|
method: "GET",
|
|
1322
1340
|
params: { SearchTerm: e || void 0 },
|
|
1323
1341
|
responseType: "json",
|
|
1324
|
-
transformResponse: [...Array.isArray(
|
|
1325
|
-
url:
|
|
1342
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => e.teamspaces],
|
|
1343
|
+
url: Se.GET_SPACE_LIST
|
|
1326
1344
|
})).data;
|
|
1327
1345
|
} catch {
|
|
1328
1346
|
return [];
|
|
1329
1347
|
}
|
|
1330
1348
|
}
|
|
1331
|
-
async function
|
|
1349
|
+
async function jn({ searchTerm: e = "" }) {
|
|
1332
1350
|
try {
|
|
1333
1351
|
return {
|
|
1334
|
-
data: (await
|
|
1352
|
+
data: (await An({ searchTerm: e })).map((e) => ({
|
|
1335
1353
|
label: e.name,
|
|
1336
1354
|
value: de(e.absoluteURL) ?? ""
|
|
1337
1355
|
})),
|
|
@@ -1344,9 +1362,9 @@ async function An({ searchTerm: e = "" }) {
|
|
|
1344
1362
|
};
|
|
1345
1363
|
}
|
|
1346
1364
|
}
|
|
1347
|
-
async function
|
|
1365
|
+
async function Mn({ forcedPageId: e = "", limit: t = Dn, parentId: n = "", searchTerm: r = "", seeThru: i, start: a }) {
|
|
1348
1366
|
try {
|
|
1349
|
-
return (await
|
|
1367
|
+
return (await x.request({
|
|
1350
1368
|
method: "GET",
|
|
1351
1369
|
params: {
|
|
1352
1370
|
...e ? { ForcedPageID: e } : {},
|
|
@@ -1357,7 +1375,7 @@ async function jn({ forcedPageId: e = "", limit: t = En, parentId: n = "", searc
|
|
|
1357
1375
|
SeeThru: i ?? !!r
|
|
1358
1376
|
},
|
|
1359
1377
|
responseType: "json",
|
|
1360
|
-
transformResponse: [...Array.isArray(
|
|
1378
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
1361
1379
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
1362
1380
|
return {
|
|
1363
1381
|
data: e.pagesAndLinks.map((e) => ({
|
|
@@ -1371,7 +1389,7 @@ async function jn({ forcedPageId: e = "", limit: t = En, parentId: n = "", searc
|
|
|
1371
1389
|
hasMore: e.hasMore
|
|
1372
1390
|
};
|
|
1373
1391
|
}],
|
|
1374
|
-
url:
|
|
1392
|
+
url: Se.GET_PAGES_AND_LINKS
|
|
1375
1393
|
})).data;
|
|
1376
1394
|
} catch {
|
|
1377
1395
|
return {
|
|
@@ -1380,8 +1398,8 @@ async function jn({ forcedPageId: e = "", limit: t = En, parentId: n = "", searc
|
|
|
1380
1398
|
};
|
|
1381
1399
|
}
|
|
1382
1400
|
}
|
|
1383
|
-
async function
|
|
1384
|
-
let { data: e } = await
|
|
1401
|
+
async function Nn() {
|
|
1402
|
+
let { data: e } = await Mn({
|
|
1385
1403
|
limit: null,
|
|
1386
1404
|
parentId: "",
|
|
1387
1405
|
searchTerm: "",
|
|
@@ -1399,9 +1417,9 @@ var V = class {
|
|
|
1399
1417
|
getStyleControl(e) {
|
|
1400
1418
|
let t = this.localize.term(wt(e));
|
|
1401
1419
|
return e === "--margin" && (t = this.localize.term("margins")), {
|
|
1402
|
-
...
|
|
1420
|
+
...gn[e],
|
|
1403
1421
|
label: t,
|
|
1404
|
-
...
|
|
1422
|
+
...gn[e]?.options?.some((e) => "name" in e) && { options: gn[e].options?.map((e) => ({
|
|
1405
1423
|
...e,
|
|
1406
1424
|
...e.name && e.name in this.localize.term && { name: this.localize.term(e.name) }
|
|
1407
1425
|
})) }
|
|
@@ -1433,7 +1451,7 @@ var V = class {
|
|
|
1433
1451
|
type: a
|
|
1434
1452
|
}];
|
|
1435
1453
|
}
|
|
1436
|
-
},
|
|
1454
|
+
}, Pn = JSON.stringify(Oe), Fn = {
|
|
1437
1455
|
"collapse-icon": JSON.stringify(ke),
|
|
1438
1456
|
data: JSON.stringify([
|
|
1439
1457
|
{
|
|
@@ -1453,12 +1471,12 @@ var V = class {
|
|
|
1453
1471
|
"data-content-width-percent": "100%",
|
|
1454
1472
|
"data-content-width-pixel": "",
|
|
1455
1473
|
"default-open-indexes": "0",
|
|
1456
|
-
"expand-icon":
|
|
1474
|
+
"expand-icon": Pn,
|
|
1457
1475
|
"full-bleed": !1,
|
|
1458
|
-
"hover-icon":
|
|
1476
|
+
"hover-icon": Pn,
|
|
1459
1477
|
"multi-language": !1,
|
|
1460
1478
|
"section-body-max-width": "100%"
|
|
1461
|
-
},
|
|
1479
|
+
}, In = [
|
|
1462
1480
|
{
|
|
1463
1481
|
backgroundColorField: "--header-background-color",
|
|
1464
1482
|
borderField: "--header-border",
|
|
@@ -1486,7 +1504,7 @@ var V = class {
|
|
|
1486
1504
|
iconField: "collapse-icon",
|
|
1487
1505
|
iconWidthField: "--collapse-icon-width"
|
|
1488
1506
|
}
|
|
1489
|
-
], H = (e) => !!e.customStyle,
|
|
1507
|
+
], H = (e) => !!e.customStyle, Ln = (e) => {
|
|
1490
1508
|
let t = [
|
|
1491
1509
|
{
|
|
1492
1510
|
configOrder: 1,
|
|
@@ -1553,7 +1571,7 @@ var V = class {
|
|
|
1553
1571
|
show: H,
|
|
1554
1572
|
title: e.term("cropFocus")
|
|
1555
1573
|
}
|
|
1556
|
-
], n =
|
|
1574
|
+
], n = In.flatMap((n, r) => {
|
|
1557
1575
|
let i = t.length + 1 + r * 6;
|
|
1558
1576
|
return [
|
|
1559
1577
|
{
|
|
@@ -1608,7 +1626,7 @@ var V = class {
|
|
|
1608
1626
|
];
|
|
1609
1627
|
});
|
|
1610
1628
|
return [...t, ...n];
|
|
1611
|
-
},
|
|
1629
|
+
}, Rn = {
|
|
1612
1630
|
configs: (e, t = {}) => {
|
|
1613
1631
|
let n = new V(e), { enableFontFamilyControls: r = !1 } = t;
|
|
1614
1632
|
return [
|
|
@@ -1637,7 +1655,7 @@ var V = class {
|
|
|
1637
1655
|
listEditorConfigs: {
|
|
1638
1656
|
addDialogLabel: e.term("addSection"),
|
|
1639
1657
|
addItemText: e.term("addSection"),
|
|
1640
|
-
columns:
|
|
1658
|
+
columns: Ln(e),
|
|
1641
1659
|
displayField: "label",
|
|
1642
1660
|
editDialogLabel: e.term("editSection"),
|
|
1643
1661
|
noHeader: !0,
|
|
@@ -1883,36 +1901,12 @@ var V = class {
|
|
|
1883
1901
|
id: "--collapse-icon-width",
|
|
1884
1902
|
label: e.term("iconWidth"),
|
|
1885
1903
|
name: "collapse-icon-width"
|
|
1886
|
-
}
|
|
1887
|
-
...r ? [
|
|
1888
|
-
{
|
|
1889
|
-
controlType: "group-heading",
|
|
1890
|
-
id: "content-options",
|
|
1891
|
-
label: e.term("content"),
|
|
1892
|
-
name: "content-options",
|
|
1893
|
-
type: "decorative"
|
|
1894
|
-
},
|
|
1895
|
-
...n.getFontPickerControls({
|
|
1896
|
-
api: B,
|
|
1897
|
-
direction: "vertical",
|
|
1898
|
-
familyKey: "--content-font-family",
|
|
1899
|
-
id: "--content-font-family",
|
|
1900
|
-
name: "content-font-family",
|
|
1901
|
-
styleKey: "--content-font-style",
|
|
1902
|
-
weightKey: "--content-font-weight"
|
|
1903
|
-
}),
|
|
1904
|
-
{
|
|
1905
|
-
...n.getStyleControl("--font-size"),
|
|
1906
|
-
id: "--content-font-size",
|
|
1907
|
-
label: e.term("textSize"),
|
|
1908
|
-
name: "content-font-size"
|
|
1909
|
-
}
|
|
1910
|
-
] : []
|
|
1904
|
+
}
|
|
1911
1905
|
];
|
|
1912
1906
|
},
|
|
1913
|
-
defaultValue:
|
|
1914
|
-
stylable: /* @__PURE__ */ "--header-background-color.--header-color.--header-border.--header-hover-background-color.--header-hover-color.--header-hover-border.--header-active-background-color.--header-active-color.--header-active-border.--header-border-radius.--header-padding.--expand-icon-width.--hover-icon-width.--collapse-icon-width.--header-font-family.--header-font-style.--header-font-weight.--header-font-size.--content-
|
|
1915
|
-
},
|
|
1907
|
+
defaultValue: Fn,
|
|
1908
|
+
stylable: /* @__PURE__ */ "--header-background-color.--header-color.--header-border.--header-hover-background-color.--header-hover-color.--header-hover-border.--header-active-background-color.--header-active-color.--header-active-border.--header-border-radius.--header-padding.--expand-icon-width.--hover-icon-width.--collapse-icon-width.--header-font-family.--header-font-style.--header-font-weight.--header-font-size.--content-padding.--margin.--margin-bottom.--margin-left.--margin-right.--margin-top.--row-gap.--min-block-height.--max-block-height".split(".")
|
|
1909
|
+
}, zn = {
|
|
1916
1910
|
configs: (e, t = {}) => {
|
|
1917
1911
|
let n = new V(e), { enableAssetFormatControls: r = !1 } = t;
|
|
1918
1912
|
return [
|
|
@@ -2069,9 +2063,9 @@ var V = class {
|
|
|
2069
2063
|
return e.DoNothing = "do-nothing", e.DownloadAsset = "download-asset", e.ExpandAssetInFullScreen = "expand-asset-in-full-screen", e.OpenAssetInLibrary = "open-asset-in-library", e.OpenAssetOverview = "open-asset-overview", e.OpenLink = "open-link", e.OpenPage = "open-page", e.OpenSpace = "open-space", e.ShareAsset = "share-asset", e.ShowAssetInLibrary = "show-asset-in-library", e.Zoom = "zoom", e;
|
|
2070
2064
|
}({}), W = /* @__PURE__ */ function(e) {
|
|
2071
2065
|
return e.Custom = "custom", e.Outline = "outline", e.Primary = "primary", e.Secondary = "default", e.Text = "text", e;
|
|
2072
|
-
}({}),
|
|
2066
|
+
}({}), Bn = /* @__PURE__ */ function(e) {
|
|
2073
2067
|
return e.Image = "image", e.Other = "other", e.Unknown = "unknown", e.Video = "video", e;
|
|
2074
|
-
}({}),
|
|
2068
|
+
}({}), Vn = {
|
|
2075
2069
|
configs: (e, t = {}) => {
|
|
2076
2070
|
let n = new V(e), { enableFontFamilyControls: r = !1 } = t;
|
|
2077
2071
|
return [
|
|
@@ -2189,9 +2183,9 @@ var V = class {
|
|
|
2189
2183
|
type: "attribute"
|
|
2190
2184
|
},
|
|
2191
2185
|
{
|
|
2192
|
-
api:
|
|
2186
|
+
api: jn,
|
|
2193
2187
|
controlType: "select",
|
|
2194
|
-
folderPickerConfigs: { variant:
|
|
2188
|
+
folderPickerConfigs: { variant: w.Select },
|
|
2195
2189
|
id: "click-space",
|
|
2196
2190
|
label: e.term("space"),
|
|
2197
2191
|
name: "click-space",
|
|
@@ -2213,7 +2207,7 @@ var V = class {
|
|
|
2213
2207
|
{
|
|
2214
2208
|
callback: ({ extraValue: e, record: t }) => ({
|
|
2215
2209
|
...t,
|
|
2216
|
-
"asset-type": e?.type ??
|
|
2210
|
+
"asset-type": e?.type ?? Bn.Unknown,
|
|
2217
2211
|
"record-id": e?.id ?? "",
|
|
2218
2212
|
"record-name": e?.name ?? ""
|
|
2219
2213
|
}),
|
|
@@ -2465,7 +2459,7 @@ var V = class {
|
|
|
2465
2459
|
"--margin-right",
|
|
2466
2460
|
"--margin-top"
|
|
2467
2461
|
]
|
|
2468
|
-
},
|
|
2462
|
+
}, Hn = {
|
|
2469
2463
|
configs: (e, t = {}) => {
|
|
2470
2464
|
let n = new V(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
|
|
2471
2465
|
return [
|
|
@@ -3609,7 +3603,7 @@ var V = class {
|
|
|
3609
3603
|
"zoom-style": l.WithinBorders
|
|
3610
3604
|
},
|
|
3611
3605
|
stylable: /* @__PURE__ */ "--content-background-color.--content-border.--content-border-radius.--content-margin.--content-margin-bottom.--content-margin-left.--content-margin-right.--content-margin-top.--content-min-height.--content-padding.--content-width.--details-color.--details-font-size.--details-font-family.--details-font-style.--details-font-weight.--details-letter-spacing.--details-line-height.--details-text-align.--highlightable-item-effect-jump-distance.--highlightable-item-effect-text-reveal-distance.--highlightable-item-effect-zoom-scale.--carousel-highlight-border-color.--carousel-highlight-drop-shadow.--highlightable-item-highlight-color-overlay-color.--header-color.--header-font-size.--header-font-family.--header-font-style.--header-font-weight.--header-letter-spacing.--header-line-height.--header-text-align.--margin.--margin-bottom.--margin-left.--margin-right.--margin-top.--gallery-max-height.--gallery-min-height.--scroll-container-border.--scroll-container-border-radius.--scroll-container-border-width.--scroll-hint.--slide-transition-duration.--transition-duration.--transition-transform-duration".split(".")
|
|
3612
|
-
},
|
|
3606
|
+
}, Un = r`<svg width="180" height="67" viewBox="0 0 188 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="9.16211" y="11" width="19.343" height="13" rx="2" fill="white"/><rect opacity="0.5" x="30.541" y="11" width="37.6679" height="13" rx="2" fill="white"/><rect opacity="0.5" x="70.2461" y="11" width="68.2094" height="13" rx="2" fill="white"/><rect opacity="0.5" x="140.49" y="11" width="37.6679" height="13" rx="2" fill="white"/><rect opacity="0.5" x="9.16211" y="28" width="19.343" height="13" rx="2" fill="white"/><rect opacity="0.5" x="30.541" y="28" width="37.6679" height="13" rx="2" fill="white"/><rect opacity="0.5" x="70.2461" y="28" width="68.2094" height="13" rx="2" fill="white"/><rect opacity="0.5" x="140.49" y="28" width="37.6679" height="13" rx="2" fill="white"/><rect opacity="0.5" x="9.16211" y="45" width="19.343" height="13" rx="2" fill="white"/><rect opacity="0.5" x="30.541" y="45" width="37.6679" height="13" rx="2" fill="white"/><rect opacity="0.5" x="70.2461" y="45" width="68.2094" height="13" rx="2" fill="white"/><rect opacity="0.5" x="140.49" y="45" width="37.6679" height="13" rx="2" fill="white"/></svg>`, Wn = r`<svg xmlns="http://www.w3.org/2000/svg" width="180" height="67" viewBox="0 0 188 70" fill="none" aria-hidden="true"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="30" y="8" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="30" y="36" width="40" height="26" rx="4" fill="white"/><rect opacity="0.5" x="74" y="8" width="38" height="24" rx="4" fill="white"/><rect opacity="0.5" x="74" y="36" width="38" height="26" rx="4" fill="white"/><rect opacity="0.5" x="116" y="8" width="42" height="24" rx="4" fill="white"/><rect opacity="0.5" x="116" y="36" width="42" height="26" rx="4" fill="white"/></svg>`, Gn = r`<svg xmlns="http://www.w3.org/2000/svg" width="180" height="68" viewBox="0 0 185 70" fill="none" aria-hidden="true"><rect width="184.667" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="184.667" height="70" fill="white"/><rect opacity="0.5" x="24.668" y="12" width="46" height="46" rx="23" fill="white"/><rect opacity="0.5" x="54.668" y="12" width="46" height="46" rx="23" fill="white"/><rect opacity="0.5" x="84.668" y="12" width="46" height="46" rx="23" fill="white"/><rect opacity="0.5" x="114.668" y="12" width="46" height="46" rx="23" fill="white"/></svg>`, Kn = {
|
|
3613
3607
|
"can-copy": !0,
|
|
3614
3608
|
"can-custom-shadow-and-border-radius": !1,
|
|
3615
3609
|
"code-alignment": me.SameLine,
|
|
@@ -3661,7 +3655,7 @@ var V = class {
|
|
|
3661
3655
|
T.SeparatorLine
|
|
3662
3656
|
].join(" "),
|
|
3663
3657
|
variant: D.Circles
|
|
3664
|
-
},
|
|
3658
|
+
}, qn = (e) => ({ record: t, value: n }) => {
|
|
3665
3659
|
if (typeof n != "string") return t;
|
|
3666
3660
|
let r = n.trim().split(/\s+/), i, a, o, s;
|
|
3667
3661
|
switch (r.length) {
|
|
@@ -3683,7 +3677,7 @@ var V = class {
|
|
|
3683
3677
|
[`${e}-right`]: a,
|
|
3684
3678
|
[`${e}-top`]: i
|
|
3685
3679
|
};
|
|
3686
|
-
},
|
|
3680
|
+
}, Jn = {
|
|
3687
3681
|
configs: (e, t = {}) => {
|
|
3688
3682
|
let n = new V(e), { enableFontFamilyControls: r = !1 } = t, i = (e) => e.variant === D.Grid, a = (e) => e.variant === D.Circles, o = (e) => e.variant === D.Table, s = (e) => i(e) && (e["can-custom-shadow-and-border-radius"] ?? !1), c = (t, n) => [{
|
|
3689
3683
|
clearable: !1,
|
|
@@ -4014,19 +4008,19 @@ var V = class {
|
|
|
4014
4008
|
name: "variant",
|
|
4015
4009
|
options: [
|
|
4016
4010
|
{
|
|
4017
|
-
children:
|
|
4011
|
+
children: Un,
|
|
4018
4012
|
id: "table",
|
|
4019
4013
|
name: e.term("table"),
|
|
4020
4014
|
value: D.Table
|
|
4021
4015
|
},
|
|
4022
4016
|
{
|
|
4023
|
-
children:
|
|
4017
|
+
children: Wn,
|
|
4024
4018
|
id: "grid",
|
|
4025
4019
|
name: e.term("grid"),
|
|
4026
4020
|
value: D.Grid
|
|
4027
4021
|
},
|
|
4028
4022
|
{
|
|
4029
|
-
children:
|
|
4023
|
+
children: Gn,
|
|
4030
4024
|
id: "circles",
|
|
4031
4025
|
name: e.term("circles"),
|
|
4032
4026
|
value: D.Circles
|
|
@@ -4118,7 +4112,7 @@ var V = class {
|
|
|
4118
4112
|
},
|
|
4119
4113
|
{
|
|
4120
4114
|
...n.getStyleControl("--padding"),
|
|
4121
|
-
callback:
|
|
4115
|
+
callback: qn("--row-padding"),
|
|
4122
4116
|
id: "--row-padding",
|
|
4123
4117
|
label: e.term("rowsPaddings"),
|
|
4124
4118
|
name: "row-padding",
|
|
@@ -4461,13 +4455,13 @@ var V = class {
|
|
|
4461
4455
|
}
|
|
4462
4456
|
];
|
|
4463
4457
|
},
|
|
4464
|
-
defaultValue:
|
|
4458
|
+
defaultValue: Kn,
|
|
4465
4459
|
stylable: /* @__PURE__ */ "--width.--color.--dash-width.--dash-spacing.--max-width.--grid-gap.--grid-column-gap.--grid-row-gap.--swatch-font-family.--swatch-font-style.--swatch-font-weight.--swatch-font-size.--swatch-text-color.--swatch-min-height.--swatch-border.--swatch-box-shadow.--swatch-border-radius.--swatch-content-justify.--swatch-content-margin.--swatch-circle-size.--swatch-circle-border-radius.--swatch-circle-content-align.--swatch-circle-content-justify.--swatch-circle-content-margin.--swatch-group-horizontal-gap.--table-width.--table-row-gap.--table-column-gap.--row-padding.--row-padding-bottom.--row-padding-left.--row-padding-right.--row-padding-top.--name-swatch-width.--name-swatch-height.--name-swatch-border-radius.--palette-title-font-family.--palette-title-font-style.--palette-title-font-weight.--palette-title-font-size.--palette-title-color.--column-title-font-family.--column-title-font-style.--column-title-font-weight.--column-title-font-size.--column-title-color.--margin.--margin-bottom.--margin-left.--margin-right.--margin-top".split(".")
|
|
4466
4460
|
}, G = /* @__PURE__ */ function(e) {
|
|
4467
4461
|
return e.Adaptive = "adaptive", e.Default = "default", e.Fill = "fill", e.Fit = "fit", e.Fixed = "fixed", e.PageWidth = "page-width", e;
|
|
4468
4462
|
}({}), K = /* @__PURE__ */ function(e) {
|
|
4469
4463
|
return e.Fill = "fill", e.Fit = "fit", e.Fixed = "fixed", e.PageWidth = "page-width", e.Relative = "relative", e;
|
|
4470
|
-
}({}),
|
|
4464
|
+
}({}), Yn = {
|
|
4471
4465
|
configs: (e, t = {}) => {
|
|
4472
4466
|
let n = new V(e), { enableAssetFormatControls: r = !1 } = t;
|
|
4473
4467
|
return [
|
|
@@ -4667,7 +4661,7 @@ var V = class {
|
|
|
4667
4661
|
"--border-radius",
|
|
4668
4662
|
"--custom-width"
|
|
4669
4663
|
]
|
|
4670
|
-
},
|
|
4664
|
+
}, Xn = {
|
|
4671
4665
|
configs: (e, t = {}) => {
|
|
4672
4666
|
let n = new V(e), { enableAssetFormatControls: r = !1 } = t;
|
|
4673
4667
|
return [
|
|
@@ -4921,7 +4915,7 @@ var V = class {
|
|
|
4921
4915
|
"--column-max-width",
|
|
4922
4916
|
"--column-min-width"
|
|
4923
4917
|
]
|
|
4924
|
-
},
|
|
4918
|
+
}, Zn = {
|
|
4925
4919
|
"allow-asset-selection": !1,
|
|
4926
4920
|
"apply-border-radius-to-panels": !0,
|
|
4927
4921
|
"asset-statuses": "",
|
|
@@ -4972,26 +4966,26 @@ var V = class {
|
|
|
4972
4966
|
"show-top-pagination": !1,
|
|
4973
4967
|
"show-view-and-sort": !1
|
|
4974
4968
|
};
|
|
4975
|
-
async function
|
|
4976
|
-
return { data: (await
|
|
4969
|
+
async function Qn() {
|
|
4970
|
+
return { data: (await un()).map((e) => ({
|
|
4977
4971
|
label: e.name,
|
|
4978
4972
|
value: e.id
|
|
4979
4973
|
})) };
|
|
4980
4974
|
}
|
|
4981
|
-
async function
|
|
4982
|
-
return { data: (await
|
|
4975
|
+
async function $n() {
|
|
4976
|
+
return { data: (await sn()).map((e) => ({
|
|
4983
4977
|
label: e.name,
|
|
4984
4978
|
value: e.id
|
|
4985
4979
|
})) };
|
|
4986
4980
|
}
|
|
4987
|
-
async function
|
|
4988
|
-
return { data: (await
|
|
4981
|
+
async function er() {
|
|
4982
|
+
return { data: (await on()).map((e) => ({
|
|
4989
4983
|
label: e.label,
|
|
4990
4984
|
value: e.value
|
|
4991
4985
|
})) };
|
|
4992
4986
|
}
|
|
4993
|
-
async function
|
|
4994
|
-
return { data: (await
|
|
4987
|
+
async function tr() {
|
|
4988
|
+
return { data: (await an()).map((e) => ({
|
|
4995
4989
|
extra: {
|
|
4996
4990
|
description: e.description,
|
|
4997
4991
|
securityPoint: e.securityPoint
|
|
@@ -5001,8 +4995,8 @@ async function er() {
|
|
|
5001
4995
|
value: e.name
|
|
5002
4996
|
})) };
|
|
5003
4997
|
}
|
|
5004
|
-
async function
|
|
5005
|
-
return { data: (await
|
|
4998
|
+
async function nr() {
|
|
4999
|
+
return { data: (await an()).filter((e) => e.type !== Dt.AdditionalFilter).map((e) => ({
|
|
5006
5000
|
extra: {
|
|
5007
5001
|
description: e.description,
|
|
5008
5002
|
securityPoint: e.securityPoint
|
|
@@ -5012,8 +5006,8 @@ async function tr() {
|
|
|
5012
5006
|
value: e.name
|
|
5013
5007
|
})) };
|
|
5014
5008
|
}
|
|
5015
|
-
async function
|
|
5016
|
-
return { data: (await
|
|
5009
|
+
async function rr() {
|
|
5010
|
+
return { data: (await an({ additionalFilterOnly: !0 })).map((e) => ({
|
|
5017
5011
|
extra: {
|
|
5018
5012
|
description: e.description,
|
|
5019
5013
|
securityPoint: e.securityPoint
|
|
@@ -5023,8 +5017,8 @@ async function nr() {
|
|
|
5023
5017
|
value: e.name
|
|
5024
5018
|
})) };
|
|
5025
5019
|
}
|
|
5026
|
-
async function
|
|
5027
|
-
let { grouped: e } = await
|
|
5020
|
+
async function ir() {
|
|
5021
|
+
let { grouped: e } = await fn();
|
|
5028
5022
|
return Object.entries(e).map(([e, t]) => ({
|
|
5029
5023
|
label: e.replaceAll("_", " "),
|
|
5030
5024
|
subOptions: Object.entries(t).map(([e, t]) => ({
|
|
@@ -5034,13 +5028,13 @@ async function rr() {
|
|
|
5034
5028
|
value: Object.values(t)[0]?.typeDbBOName ?? ""
|
|
5035
5029
|
}));
|
|
5036
5030
|
}
|
|
5037
|
-
async function
|
|
5038
|
-
return { data: (await
|
|
5031
|
+
async function ar() {
|
|
5032
|
+
return { data: (await rn()).map((e) => ({
|
|
5039
5033
|
label: e.name,
|
|
5040
5034
|
value: e.id
|
|
5041
5035
|
})) };
|
|
5042
5036
|
}
|
|
5043
|
-
var
|
|
5037
|
+
var or = {
|
|
5044
5038
|
configs: (e) => {
|
|
5045
5039
|
let t = new V(e);
|
|
5046
5040
|
return [
|
|
@@ -5049,7 +5043,7 @@ var ar = {
|
|
|
5049
5043
|
folderPickerConfigs: {
|
|
5050
5044
|
useAllowedFolders: !0,
|
|
5051
5045
|
useFullPath: !0,
|
|
5052
|
-
variant:
|
|
5046
|
+
variant: w.Select
|
|
5053
5047
|
},
|
|
5054
5048
|
id: "default-folders",
|
|
5055
5049
|
label: e.term("defaultFolders"),
|
|
@@ -5096,7 +5090,7 @@ var ar = {
|
|
|
5096
5090
|
type: "attribute"
|
|
5097
5091
|
},
|
|
5098
5092
|
{
|
|
5099
|
-
api:
|
|
5093
|
+
api: tr,
|
|
5100
5094
|
clearable: !1,
|
|
5101
5095
|
controlType: "select",
|
|
5102
5096
|
id: "left-default-panel",
|
|
@@ -5125,7 +5119,7 @@ var ar = {
|
|
|
5125
5119
|
type: "attribute"
|
|
5126
5120
|
},
|
|
5127
5121
|
{
|
|
5128
|
-
api:
|
|
5122
|
+
api: nr,
|
|
5129
5123
|
controlType: "select",
|
|
5130
5124
|
id: "left-available-panels",
|
|
5131
5125
|
label: e.term("availablePanels"),
|
|
@@ -5154,7 +5148,7 @@ var ar = {
|
|
|
5154
5148
|
type: "attribute"
|
|
5155
5149
|
},
|
|
5156
5150
|
{
|
|
5157
|
-
api:
|
|
5151
|
+
api: rr,
|
|
5158
5152
|
controlType: "select",
|
|
5159
5153
|
id: "left-additional-filters",
|
|
5160
5154
|
label: e.term("additionalFilters"),
|
|
@@ -5226,7 +5220,7 @@ var ar = {
|
|
|
5226
5220
|
type: "attribute"
|
|
5227
5221
|
},
|
|
5228
5222
|
{
|
|
5229
|
-
api:
|
|
5223
|
+
api: tr,
|
|
5230
5224
|
clearable: !1,
|
|
5231
5225
|
controlType: "select",
|
|
5232
5226
|
id: "right-default-panel",
|
|
@@ -5255,7 +5249,7 @@ var ar = {
|
|
|
5255
5249
|
type: "attribute"
|
|
5256
5250
|
},
|
|
5257
5251
|
{
|
|
5258
|
-
api:
|
|
5252
|
+
api: nr,
|
|
5259
5253
|
controlType: "select",
|
|
5260
5254
|
id: "right-available-panels",
|
|
5261
5255
|
label: e.term("availablePanels"),
|
|
@@ -5284,7 +5278,7 @@ var ar = {
|
|
|
5284
5278
|
type: "attribute"
|
|
5285
5279
|
},
|
|
5286
5280
|
{
|
|
5287
|
-
api:
|
|
5281
|
+
api: rr,
|
|
5288
5282
|
controlType: "select",
|
|
5289
5283
|
id: "right-additional-filters",
|
|
5290
5284
|
label: e.term("additionalFilters"),
|
|
@@ -5348,7 +5342,7 @@ var ar = {
|
|
|
5348
5342
|
type: "decorative"
|
|
5349
5343
|
},
|
|
5350
5344
|
{
|
|
5351
|
-
api:
|
|
5345
|
+
api: er,
|
|
5352
5346
|
clearable: !1,
|
|
5353
5347
|
controlType: "select",
|
|
5354
5348
|
id: "folder-hierarchy",
|
|
@@ -5363,7 +5357,7 @@ var ar = {
|
|
|
5363
5357
|
folderPickerConfigs: {
|
|
5364
5358
|
useAllowedFolders: !0,
|
|
5365
5359
|
useFullPath: !0,
|
|
5366
|
-
variant:
|
|
5360
|
+
variant: w.Select
|
|
5367
5361
|
},
|
|
5368
5362
|
id: "expanded-folders",
|
|
5369
5363
|
label: e.term("expandedFolders"),
|
|
@@ -5529,7 +5523,7 @@ var ar = {
|
|
|
5529
5523
|
type: "decorative"
|
|
5530
5524
|
},
|
|
5531
5525
|
{
|
|
5532
|
-
api:
|
|
5526
|
+
api: rr,
|
|
5533
5527
|
controlType: "select",
|
|
5534
5528
|
id: "filter-button-action",
|
|
5535
5529
|
label: e.term("filterButtonOpens"),
|
|
@@ -5615,7 +5609,7 @@ var ar = {
|
|
|
5615
5609
|
type: "decorative"
|
|
5616
5610
|
},
|
|
5617
5611
|
{
|
|
5618
|
-
api:
|
|
5612
|
+
api: $n,
|
|
5619
5613
|
controlType: "select",
|
|
5620
5614
|
id: "available-views",
|
|
5621
5615
|
label: e.term("availableViews"),
|
|
@@ -5626,7 +5620,7 @@ var ar = {
|
|
|
5626
5620
|
type: "attribute"
|
|
5627
5621
|
},
|
|
5628
5622
|
{
|
|
5629
|
-
api:
|
|
5623
|
+
api: $n,
|
|
5630
5624
|
clearable: !1,
|
|
5631
5625
|
controlType: "select",
|
|
5632
5626
|
id: "default-view",
|
|
@@ -5646,7 +5640,7 @@ var ar = {
|
|
|
5646
5640
|
type: "decorative"
|
|
5647
5641
|
},
|
|
5648
5642
|
{
|
|
5649
|
-
api:
|
|
5643
|
+
api: Qn,
|
|
5650
5644
|
controlType: "select",
|
|
5651
5645
|
id: "available-sort-orders",
|
|
5652
5646
|
label: e.term("availableSortOrders"),
|
|
@@ -5657,7 +5651,7 @@ var ar = {
|
|
|
5657
5651
|
type: "attribute"
|
|
5658
5652
|
},
|
|
5659
5653
|
{
|
|
5660
|
-
api:
|
|
5654
|
+
api: Qn,
|
|
5661
5655
|
clearable: !1,
|
|
5662
5656
|
controlType: "select",
|
|
5663
5657
|
id: "default-sort-order",
|
|
@@ -5684,12 +5678,12 @@ var ar = {
|
|
|
5684
5678
|
tab: "appearance",
|
|
5685
5679
|
type: "attribute",
|
|
5686
5680
|
typeSubtypeSelectConfigs: {
|
|
5687
|
-
api:
|
|
5681
|
+
api: ir,
|
|
5688
5682
|
multiple: !0
|
|
5689
5683
|
}
|
|
5690
5684
|
},
|
|
5691
5685
|
{
|
|
5692
|
-
api:
|
|
5686
|
+
api: ar,
|
|
5693
5687
|
controlType: "select",
|
|
5694
5688
|
id: "asset-statuses",
|
|
5695
5689
|
label: e.term("assetStatuses"),
|
|
@@ -5828,7 +5822,7 @@ var ar = {
|
|
|
5828
5822
|
t.getStyleControl("--border")
|
|
5829
5823
|
];
|
|
5830
5824
|
},
|
|
5831
|
-
defaultValue:
|
|
5825
|
+
defaultValue: Zn,
|
|
5832
5826
|
stylable: [
|
|
5833
5827
|
"--background-color",
|
|
5834
5828
|
"--border",
|
|
@@ -5845,7 +5839,7 @@ var ar = {
|
|
|
5845
5839
|
"--padding-right",
|
|
5846
5840
|
"--padding-top"
|
|
5847
5841
|
]
|
|
5848
|
-
},
|
|
5842
|
+
}, sr = {
|
|
5849
5843
|
configs: (e) => {
|
|
5850
5844
|
let t = new V(e);
|
|
5851
5845
|
return [
|
|
@@ -5907,7 +5901,7 @@ var ar = {
|
|
|
5907
5901
|
"--margin-right",
|
|
5908
5902
|
"--margin-top"
|
|
5909
5903
|
]
|
|
5910
|
-
},
|
|
5904
|
+
}, cr = {
|
|
5911
5905
|
"can-open-asset": !1,
|
|
5912
5906
|
"data-width-percent": "100%",
|
|
5913
5907
|
"data-width-pixel": "",
|
|
@@ -5921,7 +5915,7 @@ var ar = {
|
|
|
5921
5915
|
representative: "",
|
|
5922
5916
|
src: "",
|
|
5923
5917
|
width: ""
|
|
5924
|
-
},
|
|
5918
|
+
}, lr = /* @__PURE__ */ new Set([".pdf", ".pptx"]), ur = {
|
|
5925
5919
|
configs: (e) => {
|
|
5926
5920
|
let t = new V(e);
|
|
5927
5921
|
return [
|
|
@@ -5943,7 +5937,7 @@ var ar = {
|
|
|
5943
5937
|
callback: ({ extraValue: e, record: t }) => ({
|
|
5944
5938
|
...t,
|
|
5945
5939
|
extension: e?.extension ?? "",
|
|
5946
|
-
"height-mode": typeof e?.extension == "string" &&
|
|
5940
|
+
"height-mode": typeof e?.extension == "string" && lr.has(e.extension) ? c.Fixed : t["height-mode"],
|
|
5947
5941
|
identifier: e?.identifier ?? "",
|
|
5948
5942
|
name: e?.name ?? "",
|
|
5949
5943
|
"record-id": e?.id ?? "",
|
|
@@ -6019,7 +6013,7 @@ var ar = {
|
|
|
6019
6013
|
name: e.term("custom"),
|
|
6020
6014
|
value: c.Fixed
|
|
6021
6015
|
}],
|
|
6022
|
-
show: (e) => !(typeof e.extension == "string" &&
|
|
6016
|
+
show: (e) => !(typeof e.extension == "string" && lr.has(e.extension)),
|
|
6023
6017
|
type: "attribute",
|
|
6024
6018
|
width: (e) => {
|
|
6025
6019
|
let t = e["height-mode"] === c.Fixed;
|
|
@@ -6035,7 +6029,7 @@ var ar = {
|
|
|
6035
6029
|
skipShowCheck: !0,
|
|
6036
6030
|
type: "attribute",
|
|
6037
6031
|
width: (e) => {
|
|
6038
|
-
let t = typeof e.extension == "string" &&
|
|
6032
|
+
let t = typeof e.extension == "string" && lr.has(e.extension);
|
|
6039
6033
|
return e["full-bleed"] ? t ? "100%" : "50%" : t ? "55%" : "25%";
|
|
6040
6034
|
}
|
|
6041
6035
|
}
|
|
@@ -6061,7 +6055,7 @@ var ar = {
|
|
|
6061
6055
|
t.getStyleControl("--margin")
|
|
6062
6056
|
];
|
|
6063
6057
|
},
|
|
6064
|
-
defaultValue:
|
|
6058
|
+
defaultValue: cr,
|
|
6065
6059
|
stylable: [
|
|
6066
6060
|
"--border",
|
|
6067
6061
|
"--border-radius",
|
|
@@ -6072,7 +6066,7 @@ var ar = {
|
|
|
6072
6066
|
"--margin-top",
|
|
6073
6067
|
"--width"
|
|
6074
6068
|
]
|
|
6075
|
-
},
|
|
6069
|
+
}, dr = /* @__PURE__ */ function(e) {
|
|
6076
6070
|
return e.Cff = "cff", e.TrueType = "truetype", e;
|
|
6077
6071
|
}({}), q = /* @__PURE__ */ function(e) {
|
|
6078
6072
|
return e.Hidden = "hidden", e.WholeKit = "whole-kit", e.WholeKitAndIndividual = "whole-kit-and-individual", e;
|
|
@@ -6080,7 +6074,7 @@ var ar = {
|
|
|
6080
6074
|
return e.Custom = "custom", e.Primary = "primary", e.Secondary = "secondary", e;
|
|
6081
6075
|
}({}), Y = /* @__PURE__ */ function(e) {
|
|
6082
6076
|
return e.Custom = "custom", e.Large = "large", e.Medium = "medium", e.Small = "small", e;
|
|
6083
|
-
}({}),
|
|
6077
|
+
}({}), fr = {
|
|
6084
6078
|
"download-appearance": J.Primary,
|
|
6085
6079
|
"download-icon": JSON.stringify({
|
|
6086
6080
|
name: "cloud_download",
|
|
@@ -6100,7 +6094,7 @@ var ar = {
|
|
|
6100
6094
|
"preview-text": "Deliciously",
|
|
6101
6095
|
typefaces: "",
|
|
6102
6096
|
variant: "detailed"
|
|
6103
|
-
},
|
|
6097
|
+
}, pr = r`<svg width="152" height="70" viewBox="0 0 152 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="152" height="70" rx="6" fill="#DCEFFD"/><rect opacity="0.5" x="9" y="17" width="16" height="13" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="117" y="17" width="26" height="13" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="11" width="48" height="4" rx="2" fill="#3A80F7"/><rect opacity="0.5" x="27" y="17" width="88" height="13" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="46" width="16" height="13" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="117" y="46" width="26" height="13" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="40" width="48" height="4" rx="2" fill="#3A80F7"/><rect opacity="0.5" x="27" y="46" width="88" height="13" rx="4" fill="#3A80F7"/></svg>`, mr = r`<svg width="152" height="70" viewBox="0 0 152 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="152" height="70" rx="6" fill="#DCEFFD"/><rect opacity="0.5" x="86" y="11" width="48" height="12" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="11" width="72" height="12" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="86" y="29" width="48" height="12" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="29" width="72" height="12" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="86" y="47" width="48" height="12" rx="4" fill="#3A80F7"/><rect opacity="0.5" x="9" y="47" width="72" height="12" rx="4" fill="#3A80F7"/></svg>`, hr = {
|
|
6104
6098
|
configs: (e, t = {}) => {
|
|
6105
6099
|
let n = new V(e), { enableFontFamilyControls: r = !1 } = t;
|
|
6106
6100
|
return [
|
|
@@ -6314,12 +6308,12 @@ var ar = {
|
|
|
6314
6308
|
id: "variant",
|
|
6315
6309
|
name: "variant",
|
|
6316
6310
|
options: [{
|
|
6317
|
-
children:
|
|
6311
|
+
children: pr,
|
|
6318
6312
|
id: "detailed",
|
|
6319
6313
|
name: e.term("detailed"),
|
|
6320
6314
|
value: "detailed"
|
|
6321
6315
|
}, {
|
|
6322
|
-
children:
|
|
6316
|
+
children: mr,
|
|
6323
6317
|
id: "compact",
|
|
6324
6318
|
name: e.term("compact"),
|
|
6325
6319
|
value: "compact"
|
|
@@ -6560,7 +6554,7 @@ var ar = {
|
|
|
6560
6554
|
}
|
|
6561
6555
|
];
|
|
6562
6556
|
},
|
|
6563
|
-
defaultValue:
|
|
6557
|
+
defaultValue: fr,
|
|
6564
6558
|
stylable: [
|
|
6565
6559
|
"--color",
|
|
6566
6560
|
"--download-alignment",
|
|
@@ -6587,9 +6581,9 @@ var ar = {
|
|
|
6587
6581
|
]
|
|
6588
6582
|
}, X = /* @__PURE__ */ function(e) {
|
|
6589
6583
|
return e.Custom = "custom", e.Default = "default", e;
|
|
6590
|
-
}({}),
|
|
6584
|
+
}({}), gr = /* @__PURE__ */ function(e) {
|
|
6591
6585
|
return e.FileFormat = "format", e.FontFamily = "family", e.Style = "style", e.Weight = "weight", e.WeightNumber = "weight_n", e.Width = "width", e;
|
|
6592
|
-
}({}),
|
|
6586
|
+
}({}), _r = {
|
|
6593
6587
|
configs: (e) => {
|
|
6594
6588
|
let t = new V(e);
|
|
6595
6589
|
return [
|
|
@@ -6705,7 +6699,7 @@ var ar = {
|
|
|
6705
6699
|
"--margin-top",
|
|
6706
6700
|
"--padding"
|
|
6707
6701
|
]
|
|
6708
|
-
},
|
|
6702
|
+
}, vr = {
|
|
6709
6703
|
"additional-fields": "",
|
|
6710
6704
|
autoplay: !1,
|
|
6711
6705
|
"can-custom-shadow-and-border-radius": !1,
|
|
@@ -6754,13 +6748,13 @@ var ar = {
|
|
|
6754
6748
|
variant: P.Grid,
|
|
6755
6749
|
width: "",
|
|
6756
6750
|
"zoom-style": l.WithinBorders
|
|
6757
|
-
},
|
|
6751
|
+
}, yr = r`<svg width="188" height="70" viewBox="0 0 188 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="30" y="8" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="30" y="36" width="40" height="26" rx="4" fill="white"/><rect opacity="0.5" x="74" y="8" width="38" height="24" rx="4" fill="white"/><rect opacity="0.5" x="74" y="36" width="38" height="26" rx="4" fill="white"/><rect opacity="0.5" x="116" y="8" width="42" height="24" rx="4" fill="white"/><rect opacity="0.5" x="116" y="36" width="42" height="26" rx="4" fill="white"/></svg>`, br = r`<svg width="188" height="70" viewBox="0 0 188 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="7" y="23" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="51" y="23" width="38" height="24" rx="4" fill="white"/><rect opacity="0.5" x="93" y="23" width="42" height="24" rx="4" fill="white"/><rect opacity="0.5" x="139" y="23" width="42" height="24" rx="4" fill="white"/></svg>`, xr = r`<svg width="188" height="70" viewBox="0 0 188 70" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="20" y="8" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="84" y="36" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="64" y="8" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="128" y="36" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="108" y="8" width="60" height="24" rx="4" fill="white"/><rect opacity="0.5" x="20" y="36" width="60" height="24" rx="4" fill="white"/></svg>`, Sr = ({ record: e, value: t }) => {
|
|
6758
6752
|
let n = Number.parseInt(String(t), 10);
|
|
6759
6753
|
return Number.isSafeInteger(n) && n <= 1 ? {
|
|
6760
6754
|
...e,
|
|
6761
6755
|
"can-pin-first-card": !1
|
|
6762
6756
|
} : e;
|
|
6763
|
-
},
|
|
6757
|
+
}, Cr = {
|
|
6764
6758
|
configs: (e, t = {}) => {
|
|
6765
6759
|
let n = new V(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
|
|
6766
6760
|
return [
|
|
@@ -7150,19 +7144,19 @@ var ar = {
|
|
|
7150
7144
|
name: "variant",
|
|
7151
7145
|
options: [
|
|
7152
7146
|
{
|
|
7153
|
-
children:
|
|
7147
|
+
children: yr,
|
|
7154
7148
|
id: P.Grid,
|
|
7155
7149
|
name: e.term("grid"),
|
|
7156
7150
|
value: P.Grid
|
|
7157
7151
|
},
|
|
7158
7152
|
{
|
|
7159
|
-
children:
|
|
7153
|
+
children: br,
|
|
7160
7154
|
id: P.Ribbon,
|
|
7161
7155
|
name: e.term("ribbon"),
|
|
7162
7156
|
value: P.Ribbon
|
|
7163
7157
|
},
|
|
7164
7158
|
{
|
|
7165
|
-
children:
|
|
7159
|
+
children: xr,
|
|
7166
7160
|
id: P.Bento,
|
|
7167
7161
|
name: e.term("bento"),
|
|
7168
7162
|
value: P.Bento
|
|
@@ -7223,7 +7217,7 @@ var ar = {
|
|
|
7223
7217
|
},
|
|
7224
7218
|
{
|
|
7225
7219
|
children: [{
|
|
7226
|
-
callback:
|
|
7220
|
+
callback: Sr,
|
|
7227
7221
|
controlType: "input",
|
|
7228
7222
|
id: "max-rows",
|
|
7229
7223
|
inputConfigs: { label: e.term("desktopAndTablet") },
|
|
@@ -7233,7 +7227,7 @@ var ar = {
|
|
|
7233
7227
|
type: "attribute",
|
|
7234
7228
|
width: "50%"
|
|
7235
7229
|
}, {
|
|
7236
|
-
callback:
|
|
7230
|
+
callback: Sr,
|
|
7237
7231
|
controlType: "input",
|
|
7238
7232
|
id: "max-rows-mobile",
|
|
7239
7233
|
inputConfigs: { label: e.term("mobile") },
|
|
@@ -7911,9 +7905,9 @@ var ar = {
|
|
|
7911
7905
|
}
|
|
7912
7906
|
];
|
|
7913
7907
|
},
|
|
7914
|
-
defaultValue:
|
|
7908
|
+
defaultValue: vr,
|
|
7915
7909
|
stylable: /* @__PURE__ */ "--border.--content-background-color.--content-border.--content-border-radius.--content-padding.--content-width.--details-color.--details-font-size.--details-font-family.--details-font-style.--details-font-weight.--details-letter-spacing.--details-line-height.--details-text-align.--gallery-item-border.--highlightable-item-effect-jump-distance.--highlightable-item-effect-text-reveal-distance.--highlightable-item-effect-zoom-scale.--highlightable-item-highlight-background.--highlightable-item-highlight-border-color.--highlightable-item-highlight-color-overlay-color.--highlightable-item-highlight-drop-shadow.--highlightable-item-highlight-siblings-fade-out-opacity.--header-color.--header-font-size.--header-font-family.--header-font-style.--header-font-weight.--header-letter-spacing.--header-line-height.--header-text-align.--item-border-radius.--item-box-shadow.--margin.--margin-bottom.--margin-left.--margin-right.--margin-top.--scroll-hint.--transition-duration.--transition-transform-duration".split(".")
|
|
7916
|
-
},
|
|
7910
|
+
}, wr = {
|
|
7917
7911
|
alignment: be.Left,
|
|
7918
7912
|
"custom-line-height": !0,
|
|
7919
7913
|
"data-constraints": !1,
|
|
@@ -7922,14 +7916,14 @@ var ar = {
|
|
|
7922
7916
|
"has-anchor-link": !0,
|
|
7923
7917
|
role: "heading",
|
|
7924
7918
|
variant: xe.H2
|
|
7925
|
-
},
|
|
7919
|
+
}, Tr = {
|
|
7926
7920
|
h1: "32px",
|
|
7927
7921
|
h2: "28px",
|
|
7928
7922
|
h3: "24px",
|
|
7929
7923
|
h4: "20px",
|
|
7930
7924
|
h5: "16px",
|
|
7931
7925
|
h6: "14px"
|
|
7932
|
-
},
|
|
7926
|
+
}, Er = {
|
|
7933
7927
|
configs: (e, t = {}) => {
|
|
7934
7928
|
let n = new V(e), { enableFontFamilyControls: r = !1 } = t;
|
|
7935
7929
|
return [
|
|
@@ -7945,7 +7939,7 @@ var ar = {
|
|
|
7945
7939
|
})),
|
|
7946
7940
|
{
|
|
7947
7941
|
callback: ({ record: e, value: t }) => {
|
|
7948
|
-
let n =
|
|
7942
|
+
let n = Tr[t];
|
|
7949
7943
|
return {
|
|
7950
7944
|
...e,
|
|
7951
7945
|
"font-size": n,
|
|
@@ -8107,7 +8101,7 @@ var ar = {
|
|
|
8107
8101
|
}
|
|
8108
8102
|
];
|
|
8109
8103
|
},
|
|
8110
|
-
defaultValue:
|
|
8104
|
+
defaultValue: wr,
|
|
8111
8105
|
stylable: [
|
|
8112
8106
|
"--border-radius",
|
|
8113
8107
|
"--color",
|
|
@@ -8123,7 +8117,7 @@ var ar = {
|
|
|
8123
8117
|
"--min-block-width",
|
|
8124
8118
|
"--max-block-width"
|
|
8125
8119
|
]
|
|
8126
|
-
},
|
|
8120
|
+
}, Dr = {
|
|
8127
8121
|
configs: (e) => {
|
|
8128
8122
|
let t = new V(e);
|
|
8129
8123
|
return [
|
|
@@ -8154,10 +8148,10 @@ var ar = {
|
|
|
8154
8148
|
};
|
|
8155
8149
|
//#endregion
|
|
8156
8150
|
//#region ../../packages/organisms/src/content-builder/configs/image.ts
|
|
8157
|
-
function
|
|
8151
|
+
function Or(e) {
|
|
8158
8152
|
return e["height-mode"] === c.Fixed;
|
|
8159
8153
|
}
|
|
8160
|
-
var
|
|
8154
|
+
var kr = {
|
|
8161
8155
|
configs: (e, t = {}) => {
|
|
8162
8156
|
let n = new V(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
|
|
8163
8157
|
return [
|
|
@@ -8325,7 +8319,7 @@ var Or = {
|
|
|
8325
8319
|
value: c.Fixed
|
|
8326
8320
|
}],
|
|
8327
8321
|
type: "attribute",
|
|
8328
|
-
width: (e) => e["full-bleed"] ?
|
|
8322
|
+
width: (e) => e["full-bleed"] ? Or(e) ? "50%" : "100%" : Or(e) ? "30%" : "55%"
|
|
8329
8323
|
},
|
|
8330
8324
|
{
|
|
8331
8325
|
...n.getStyleControl("--height"),
|
|
@@ -8362,7 +8356,7 @@ var Or = {
|
|
|
8362
8356
|
value: _.Cover
|
|
8363
8357
|
}],
|
|
8364
8358
|
radioGroupConfigs: { horizontal: !0 },
|
|
8365
|
-
show:
|
|
8359
|
+
show: Or,
|
|
8366
8360
|
type: "attribute"
|
|
8367
8361
|
},
|
|
8368
8362
|
{
|
|
@@ -8370,7 +8364,7 @@ var Or = {
|
|
|
8370
8364
|
id: "crop-focus",
|
|
8371
8365
|
label: e.term("cropFocus"),
|
|
8372
8366
|
name: "crop-focus",
|
|
8373
|
-
show:
|
|
8367
|
+
show: Or,
|
|
8374
8368
|
type: "attribute"
|
|
8375
8369
|
},
|
|
8376
8370
|
{
|
|
@@ -8571,9 +8565,9 @@ var Or = {
|
|
|
8571
8565
|
type: "attribute"
|
|
8572
8566
|
},
|
|
8573
8567
|
{
|
|
8574
|
-
api:
|
|
8568
|
+
api: jn,
|
|
8575
8569
|
controlType: "select",
|
|
8576
|
-
folderPickerConfigs: { variant:
|
|
8570
|
+
folderPickerConfigs: { variant: w.Select },
|
|
8577
8571
|
id: "click-space",
|
|
8578
8572
|
label: e.term("space"),
|
|
8579
8573
|
name: "click-space",
|
|
@@ -9174,7 +9168,7 @@ var Or = {
|
|
|
9174
9168
|
"zoom-style": l.WithinBorders
|
|
9175
9169
|
},
|
|
9176
9170
|
stylable: /* @__PURE__ */ "--border.--border-radius.--content-background-color.--content-border.--content-border-radius.--content-margin.--content-margin-bottom.--content-margin-left.--content-margin-right.--content-margin-top.--content-min-height.--content-padding.--content-width.--details-color.--details-font-size.--details-font-family.--details-font-style.--details-font-weight.--details-letter-spacing.--details-line-height.--details-text-align.--header-color.--header-font-size.--header-font-family.--header-font-style.--header-font-weight.--header-letter-spacing.--header-line-height.--header-text-align.--highlightable-item-effect-jump-distance.--highlightable-item-effect-text-reveal-distance.--highlightable-item-effect-zoom-scale.--highlightable-item-highlight-background.--highlightable-item-highlight-border-color.--highlightable-item-highlight-color-overlay-color.--highlightable-item-highlight-drop-shadow.--highlightable-item-highlight-opacity.--image-max-height.--image-max-width.--image-min-height.--image-min-width.--justify-content.--margin.--margin-bottom.--margin-left.--margin-right.--margin-top.--transition-duration.--transition-transform-duration".split(".")
|
|
9177
|
-
},
|
|
9171
|
+
}, Ar = {
|
|
9178
9172
|
configs: (e) => {
|
|
9179
9173
|
let t = new V(e);
|
|
9180
9174
|
return [...[].map((e) => ({
|
|
@@ -9197,19 +9191,19 @@ var Or = {
|
|
|
9197
9191
|
return e.Custom = "custom", e.Large = "large", e.Medium = "medium", e.Small = "small", e;
|
|
9198
9192
|
}({}), $ = /* @__PURE__ */ function(e) {
|
|
9199
9193
|
return e.Adaptive = "adaptive", e.Fill = "fill", e.Fixed = "fixed", e;
|
|
9200
|
-
}({}),
|
|
9194
|
+
}({}), jr = JSON.stringify({
|
|
9201
9195
|
name: "search",
|
|
9202
9196
|
src: ""
|
|
9203
|
-
}),
|
|
9197
|
+
}), Mr = {
|
|
9204
9198
|
appearance: Z.Default,
|
|
9205
9199
|
"can-search-by-icon": !0,
|
|
9206
|
-
"data-icon-name":
|
|
9200
|
+
"data-icon-name": jr,
|
|
9207
9201
|
label: "",
|
|
9208
9202
|
placeholder: "Search",
|
|
9209
9203
|
size: Q.Medium,
|
|
9210
9204
|
"width-type": $.Adaptive
|
|
9211
9205
|
};
|
|
9212
|
-
function
|
|
9206
|
+
function Nr(e) {
|
|
9213
9207
|
if (typeof e != "string" || !e) return null;
|
|
9214
9208
|
try {
|
|
9215
9209
|
let t = JSON.parse(e);
|
|
@@ -9221,18 +9215,18 @@ function Mr(e) {
|
|
|
9221
9215
|
return null;
|
|
9222
9216
|
}
|
|
9223
9217
|
}
|
|
9224
|
-
var
|
|
9225
|
-
function
|
|
9226
|
-
let t =
|
|
9218
|
+
var Pr = "custom";
|
|
9219
|
+
function Fr(e) {
|
|
9220
|
+
let t = Nr(e);
|
|
9227
9221
|
if (!t) return !1;
|
|
9228
9222
|
let n = t.name.trim();
|
|
9229
|
-
return !!(n && n !==
|
|
9223
|
+
return !!(n && n !== Pr || t.src.trim());
|
|
9230
9224
|
}
|
|
9231
|
-
function
|
|
9232
|
-
let t =
|
|
9233
|
-
return t ? !!(t.src.trim() || t.name.trim() ===
|
|
9225
|
+
function Ir(e) {
|
|
9226
|
+
let t = Nr(e);
|
|
9227
|
+
return t ? !!(t.src.trim() || t.name.trim() === Pr) : !1;
|
|
9234
9228
|
}
|
|
9235
|
-
var
|
|
9229
|
+
var Lr = {
|
|
9236
9230
|
configs: (e, t = {}) => {
|
|
9237
9231
|
let n = new V(e), { enableFontFamilyControls: r = !1 } = t;
|
|
9238
9232
|
return [
|
|
@@ -9415,14 +9409,14 @@ var Ir = {
|
|
|
9415
9409
|
id: "--icon-size",
|
|
9416
9410
|
label: e.term("iconWidth"),
|
|
9417
9411
|
name: "icon-size",
|
|
9418
|
-
show: (e) => e.appearance === Z.Custom &&
|
|
9412
|
+
show: (e) => e.appearance === Z.Custom && Fr(e["data-icon-name"])
|
|
9419
9413
|
},
|
|
9420
9414
|
{
|
|
9421
9415
|
...n.getStyleControl("--color"),
|
|
9422
9416
|
id: "--icon-color",
|
|
9423
9417
|
label: e.term("iconColor"),
|
|
9424
9418
|
name: "icon-color",
|
|
9425
|
-
show: (e) => e.appearance === Z.Custom &&
|
|
9419
|
+
show: (e) => e.appearance === Z.Custom && Fr(e["data-icon-name"]) && !Ir(e["data-icon-name"])
|
|
9426
9420
|
},
|
|
9427
9421
|
{
|
|
9428
9422
|
...n.getStyleControl("--box-shadow"),
|
|
@@ -9431,7 +9425,7 @@ var Ir = {
|
|
|
9431
9425
|
}
|
|
9432
9426
|
];
|
|
9433
9427
|
},
|
|
9434
|
-
defaultValue:
|
|
9428
|
+
defaultValue: Mr,
|
|
9435
9429
|
stylable: [
|
|
9436
9430
|
"--background-color",
|
|
9437
9431
|
"--border",
|
|
@@ -9455,7 +9449,7 @@ var Ir = {
|
|
|
9455
9449
|
"--search-box-custom-padding",
|
|
9456
9450
|
"--width"
|
|
9457
9451
|
]
|
|
9458
|
-
},
|
|
9452
|
+
}, Rr = {
|
|
9459
9453
|
configs: (e, t = {}) => {
|
|
9460
9454
|
let n = new V(e), { enableFontFamilyControls: r = !1 } = t;
|
|
9461
9455
|
return [
|
|
@@ -9758,7 +9752,7 @@ var Ir = {
|
|
|
9758
9752
|
"--tab-padding",
|
|
9759
9753
|
"--tab-panel-padding"
|
|
9760
9754
|
]
|
|
9761
|
-
},
|
|
9755
|
+
}, zr = {
|
|
9762
9756
|
configs: (e, t = {}) => {
|
|
9763
9757
|
let n = new V(e), { containerFontVariants: r, enableFontFamilyControls: i = !1 } = t;
|
|
9764
9758
|
return [
|
|
@@ -9841,7 +9835,7 @@ var Ir = {
|
|
|
9841
9835
|
"--min-block-width",
|
|
9842
9836
|
"--max-block-width"
|
|
9843
9837
|
]
|
|
9844
|
-
},
|
|
9838
|
+
}, Br = {
|
|
9845
9839
|
configs: (e, t = {}) => {
|
|
9846
9840
|
let n = new V(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
|
|
9847
9841
|
return [
|
|
@@ -10108,11 +10102,11 @@ var Ir = {
|
|
|
10108
10102
|
"--marker-image-height",
|
|
10109
10103
|
"--marker-image-border-radius"
|
|
10110
10104
|
]
|
|
10111
|
-
},
|
|
10112
|
-
function
|
|
10105
|
+
}, Vr = "300px", Hr = "100%";
|
|
10106
|
+
function Ur(e) {
|
|
10113
10107
|
return e["height-mode"] === c.Fixed;
|
|
10114
10108
|
}
|
|
10115
|
-
var
|
|
10109
|
+
var Wr = {
|
|
10116
10110
|
configs: (e, t = {}) => {
|
|
10117
10111
|
let n = new V(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
|
|
10118
10112
|
return [
|
|
@@ -10280,14 +10274,14 @@ var Ur = {
|
|
|
10280
10274
|
value: c.Fixed
|
|
10281
10275
|
}],
|
|
10282
10276
|
type: "attribute",
|
|
10283
|
-
width: (e) => e["full-bleed"] ?
|
|
10277
|
+
width: (e) => e["full-bleed"] ? Ur(e) ? "50%" : "100%" : Ur(e) ? "30%" : "55%"
|
|
10284
10278
|
},
|
|
10285
10279
|
{
|
|
10286
10280
|
...n.getStyleControl("--height"),
|
|
10287
10281
|
id: "height",
|
|
10288
10282
|
inputConfigs: { label: e.term("height") },
|
|
10289
10283
|
name: "height",
|
|
10290
|
-
show:
|
|
10284
|
+
show: Ur,
|
|
10291
10285
|
type: "attribute",
|
|
10292
10286
|
width: (e) => e["full-bleed"] ? "50%" : "25%"
|
|
10293
10287
|
}
|
|
@@ -10316,7 +10310,7 @@ var Ur = {
|
|
|
10316
10310
|
value: _.Cover
|
|
10317
10311
|
}],
|
|
10318
10312
|
radioGroupConfigs: { horizontal: !0 },
|
|
10319
|
-
show:
|
|
10313
|
+
show: Ur,
|
|
10320
10314
|
type: "attribute"
|
|
10321
10315
|
},
|
|
10322
10316
|
{
|
|
@@ -10324,7 +10318,7 @@ var Ur = {
|
|
|
10324
10318
|
id: "crop-focus",
|
|
10325
10319
|
label: e.term("cropFocus"),
|
|
10326
10320
|
name: "crop-focus",
|
|
10327
|
-
show:
|
|
10321
|
+
show: Ur,
|
|
10328
10322
|
type: "attribute"
|
|
10329
10323
|
},
|
|
10330
10324
|
{
|
|
@@ -10491,9 +10485,9 @@ var Ur = {
|
|
|
10491
10485
|
type: "attribute"
|
|
10492
10486
|
},
|
|
10493
10487
|
{
|
|
10494
|
-
api:
|
|
10488
|
+
api: jn,
|
|
10495
10489
|
controlType: "select",
|
|
10496
|
-
folderPickerConfigs: { variant:
|
|
10490
|
+
folderPickerConfigs: { variant: w.Select },
|
|
10497
10491
|
id: "click-space",
|
|
10498
10492
|
label: e.term("space"),
|
|
10499
10493
|
name: "click-space",
|
|
@@ -10853,7 +10847,7 @@ var Ur = {
|
|
|
10853
10847
|
"format-src": "",
|
|
10854
10848
|
"full-bleed": !1,
|
|
10855
10849
|
"header-source-field": "",
|
|
10856
|
-
height:
|
|
10850
|
+
height: Vr,
|
|
10857
10851
|
"height-mode": c.Auto,
|
|
10858
10852
|
loop: !1,
|
|
10859
10853
|
"manual-thumbnail-format": !1,
|
|
@@ -10868,37 +10862,37 @@ var Ur = {
|
|
|
10868
10862
|
"thumbnail-record-id": "",
|
|
10869
10863
|
"thumbnail-transformations": "[]",
|
|
10870
10864
|
"version-label": "",
|
|
10871
|
-
width:
|
|
10865
|
+
width: Hr
|
|
10872
10866
|
},
|
|
10873
10867
|
stylable: /* @__PURE__ */ "--border.--border-radius.--content-background-color.--content-border.--content-border-radius.--content-margin.--content-margin-bottom.--content-margin-left.--content-margin-right.--content-margin-top.--content-min-height.--content-padding.--content-width.--details-color.--details-font-size.--details-font-family.--details-font-style.--details-font-weight.--details-letter-spacing.--details-line-height.--details-text-align.--header-color.--header-font-size.--header-font-family.--header-font-style.--header-font-weight.--header-letter-spacing.--header-line-height.--header-text-align.--margin.--margin-bottom.--margin-left.--margin-right.--margin-top.--video-max-height.--video-max-width.--video-min-height.--video-min-width".split(".")
|
|
10874
|
-
},
|
|
10868
|
+
}, Gr = /* @__PURE__ */ t({ default: () => Kr }), Kr = class {
|
|
10875
10869
|
constructor(e) {
|
|
10876
10870
|
this.localize = e, this.localize = e;
|
|
10877
10871
|
}
|
|
10878
10872
|
getConfigs(e, t = {}) {
|
|
10879
10873
|
switch (e) {
|
|
10880
|
-
case b.Accordion: return
|
|
10881
|
-
case b.Analytics: return
|
|
10882
|
-
case b.Audio: return
|
|
10883
|
-
case b.Button: return
|
|
10884
|
-
case b.Carousel: return
|
|
10885
|
-
case b.ColorSwatches: return
|
|
10886
|
-
case b.Column: return
|
|
10887
|
-
case b.ColumnGroup: return
|
|
10888
|
-
case b.DamView: return
|
|
10889
|
-
case b.Divider: return
|
|
10890
|
-
case b.DocumentViewer: return
|
|
10891
|
-
case b.FontKit: return
|
|
10892
|
-
case b.FontKitAdvanced: return
|
|
10893
|
-
case b.Gallery: return
|
|
10894
|
-
case b.Header: return
|
|
10895
|
-
case b.Image: return
|
|
10896
|
-
case b.RichText: return
|
|
10897
|
-
case b.SearchBox: return
|
|
10898
|
-
case b.TabGroup: return
|
|
10899
|
-
case b.Text: return
|
|
10900
|
-
case b.Timeline: return
|
|
10901
|
-
case b.Video: return
|
|
10874
|
+
case b.Accordion: return Rn.configs(this.localize, t);
|
|
10875
|
+
case b.Analytics: return Dr.configs(this.localize);
|
|
10876
|
+
case b.Audio: return zn.configs(this.localize, t);
|
|
10877
|
+
case b.Button: return Vn.configs(this.localize, t);
|
|
10878
|
+
case b.Carousel: return Hn.configs(this.localize, t);
|
|
10879
|
+
case b.ColorSwatches: return Jn.configs(this.localize, t);
|
|
10880
|
+
case b.Column: return Yn.configs(this.localize, t);
|
|
10881
|
+
case b.ColumnGroup: return Xn.configs(this.localize, t);
|
|
10882
|
+
case b.DamView: return or.configs(this.localize);
|
|
10883
|
+
case b.Divider: return sr.configs(this.localize);
|
|
10884
|
+
case b.DocumentViewer: return ur.configs(this.localize);
|
|
10885
|
+
case b.FontKit: return hr.configs(this.localize, t);
|
|
10886
|
+
case b.FontKitAdvanced: return _r.configs(this.localize);
|
|
10887
|
+
case b.Gallery: return Cr.configs(this.localize, t);
|
|
10888
|
+
case b.Header: return Er.configs(this.localize, t);
|
|
10889
|
+
case b.Image: return kr.configs(this.localize, t);
|
|
10890
|
+
case b.RichText: return Ar.configs(this.localize);
|
|
10891
|
+
case b.SearchBox: return Lr.configs(this.localize, t);
|
|
10892
|
+
case b.TabGroup: return Rr.configs(this.localize, t);
|
|
10893
|
+
case b.Text: return zr.configs(this.localize, t);
|
|
10894
|
+
case b.Timeline: return Br.configs(this.localize, t);
|
|
10895
|
+
case b.Video: return Wr.configs(this.localize, t);
|
|
10902
10896
|
default: return [];
|
|
10903
10897
|
}
|
|
10904
10898
|
}
|
|
@@ -10931,57 +10925,57 @@ var Ur = {
|
|
|
10931
10925
|
}
|
|
10932
10926
|
getDefaultValue(e) {
|
|
10933
10927
|
switch (e) {
|
|
10934
|
-
case b.Accordion: return
|
|
10935
|
-
case b.Analytics: return
|
|
10936
|
-
case b.Audio: return
|
|
10937
|
-
case b.Button: return
|
|
10938
|
-
case b.Carousel: return
|
|
10939
|
-
case b.ColorSwatches: return
|
|
10940
|
-
case b.Column: return
|
|
10941
|
-
case b.ColumnGroup: return
|
|
10942
|
-
case b.DamView: return
|
|
10943
|
-
case b.Divider: return
|
|
10944
|
-
case b.DocumentViewer: return
|
|
10945
|
-
case b.FontKit: return
|
|
10946
|
-
case b.FontKitAdvanced: return
|
|
10947
|
-
case b.Gallery: return
|
|
10948
|
-
case b.Header: return
|
|
10949
|
-
case b.Image: return
|
|
10950
|
-
case b.SearchBox: return
|
|
10951
|
-
case b.TabGroup: return
|
|
10952
|
-
case b.Text: return
|
|
10953
|
-
case b.Timeline: return
|
|
10954
|
-
case b.Video: return
|
|
10928
|
+
case b.Accordion: return Rn.defaultValue;
|
|
10929
|
+
case b.Analytics: return Dr.defaultValue;
|
|
10930
|
+
case b.Audio: return zn.defaultValue;
|
|
10931
|
+
case b.Button: return Vn.defaultValue;
|
|
10932
|
+
case b.Carousel: return Hn.defaultValue;
|
|
10933
|
+
case b.ColorSwatches: return Jn.defaultValue;
|
|
10934
|
+
case b.Column: return Yn.defaultValue;
|
|
10935
|
+
case b.ColumnGroup: return Xn.defaultValue;
|
|
10936
|
+
case b.DamView: return or.defaultValue;
|
|
10937
|
+
case b.Divider: return sr.defaultValue;
|
|
10938
|
+
case b.DocumentViewer: return ur.defaultValue;
|
|
10939
|
+
case b.FontKit: return hr.defaultValue;
|
|
10940
|
+
case b.FontKitAdvanced: return _r.defaultValue;
|
|
10941
|
+
case b.Gallery: return Cr.defaultValue;
|
|
10942
|
+
case b.Header: return Er.defaultValue;
|
|
10943
|
+
case b.Image: return kr.defaultValue;
|
|
10944
|
+
case b.SearchBox: return Lr.defaultValue;
|
|
10945
|
+
case b.TabGroup: return Rr.defaultValue;
|
|
10946
|
+
case b.Text: return zr.defaultValue;
|
|
10947
|
+
case b.Timeline: return Br.defaultValue;
|
|
10948
|
+
case b.Video: return Wr.defaultValue;
|
|
10955
10949
|
default: return {};
|
|
10956
10950
|
}
|
|
10957
10951
|
}
|
|
10958
10952
|
getStylable(e) {
|
|
10959
10953
|
switch (e) {
|
|
10960
|
-
case b.Accordion: return
|
|
10961
|
-
case b.Analytics: return
|
|
10962
|
-
case b.Audio: return
|
|
10963
|
-
case b.Button: return
|
|
10964
|
-
case b.Carousel: return
|
|
10965
|
-
case b.ColorSwatches: return
|
|
10966
|
-
case b.Column: return
|
|
10967
|
-
case b.ColumnGroup: return
|
|
10968
|
-
case b.DamView: return
|
|
10969
|
-
case b.Divider: return
|
|
10970
|
-
case b.DocumentViewer: return
|
|
10971
|
-
case b.FontKit: return
|
|
10972
|
-
case b.FontKitAdvanced: return
|
|
10973
|
-
case b.Gallery: return
|
|
10974
|
-
case b.Header: return
|
|
10975
|
-
case b.Image: return
|
|
10976
|
-
case b.RichText: return
|
|
10977
|
-
case b.SearchBox: return
|
|
10978
|
-
case b.TabGroup: return
|
|
10979
|
-
case b.Text: return
|
|
10980
|
-
case b.Timeline: return
|
|
10981
|
-
case b.Video: return
|
|
10954
|
+
case b.Accordion: return Rn.stylable;
|
|
10955
|
+
case b.Analytics: return Dr.stylable;
|
|
10956
|
+
case b.Audio: return zn.stylable;
|
|
10957
|
+
case b.Button: return Vn.stylable;
|
|
10958
|
+
case b.Carousel: return Hn.stylable;
|
|
10959
|
+
case b.ColorSwatches: return Jn.stylable;
|
|
10960
|
+
case b.Column: return Yn.stylable;
|
|
10961
|
+
case b.ColumnGroup: return Xn.stylable;
|
|
10962
|
+
case b.DamView: return or.stylable;
|
|
10963
|
+
case b.Divider: return sr.stylable;
|
|
10964
|
+
case b.DocumentViewer: return ur.stylable;
|
|
10965
|
+
case b.FontKit: return hr.stylable;
|
|
10966
|
+
case b.FontKitAdvanced: return _r.stylable;
|
|
10967
|
+
case b.Gallery: return Cr.stylable;
|
|
10968
|
+
case b.Header: return Er.stylable;
|
|
10969
|
+
case b.Image: return kr.stylable;
|
|
10970
|
+
case b.RichText: return Ar.stylable;
|
|
10971
|
+
case b.SearchBox: return Lr.stylable;
|
|
10972
|
+
case b.TabGroup: return Rr.stylable;
|
|
10973
|
+
case b.Text: return zr.stylable;
|
|
10974
|
+
case b.Timeline: return Br.stylable;
|
|
10975
|
+
case b.Video: return Wr.stylable;
|
|
10982
10976
|
default: return [];
|
|
10983
10977
|
}
|
|
10984
10978
|
}
|
|
10985
10979
|
};
|
|
10986
10980
|
//#endregion
|
|
10987
|
-
export {
|
|
10981
|
+
export { wt as $, pn as A, Xt as B, yn as C, L as D, wn as E, Ht as F, Ut as G, cn as H, Yt as I, nn as J, Kt as K, qt as L, hn as M, un as N, P as O, fn as P, Tt as Q, Qt as R, En as S, _n as T, $t as U, ln as V, Jt as W, j as X, M as Y, Et as Z, xn as _, q as a, Sn as b, W as c, Nn as d, Ct as et, Mn as f, jn as g, An as h, gr as i, mn as j, I as k, Bn as l, On as m, Gr as n, Oe as nt, dr as o, kn as p, Wt as q, jr as r, De as rt, G as s, Kr as t, ke as tt, U as u, vn as v, Tn as w, Cn as x, bn as y, Zt as z };
|