@orangelogic/design-system 4.15.0 → 4.17.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/{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.CFHDtHvK.js} +10 -10
- package/library/chunks/{config-manager.utils.D7HXAqjy.js → config-manager.utils.Bl-vXLQp.js} +12 -12
- package/library/chunks/{configs-controller.vXw3EK_q.js → configs-controller.BJi93f6O.js} +98 -122
- 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/{file-on-demand.SOeN9tQJ.js → file-on-demand.DgSknSTy.js} +2 -2
- 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/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/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +4 -4
- package/library/components/organisms.js +2 -2
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/tab-group.js +1 -1
- package/library/components/types.js +26 -18
- package/library/package.json +1 -1
- package/library/packages/organisms/src/content-builder/blocks/search-box/search-box.d.ts +1 -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/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.Cyg4JQcE.js";
|
|
18
|
+
import { n as w } from "./folder-select.rWIoC8P3.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,14 +600,14 @@ 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 [];
|
|
@@ -645,13 +645,13 @@ function tn(e) {
|
|
|
645
645
|
}
|
|
646
646
|
async function nn() {
|
|
647
647
|
try {
|
|
648
|
-
return (await
|
|
648
|
+
return (await x.request({
|
|
649
649
|
method: "GET",
|
|
650
|
-
transformResponse: [...Array.isArray(
|
|
650
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
651
651
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
652
652
|
return e.statuses ?? [];
|
|
653
653
|
}],
|
|
654
|
-
url:
|
|
654
|
+
url: C.GET_DAM_VIEW_ASSET_STATUSES
|
|
655
655
|
})).data;
|
|
656
656
|
} catch {
|
|
657
657
|
return [];
|
|
@@ -659,14 +659,14 @@ async function nn() {
|
|
|
659
659
|
}
|
|
660
660
|
async function rn(e) {
|
|
661
661
|
try {
|
|
662
|
-
return (await
|
|
662
|
+
return (await x.request({
|
|
663
663
|
method: "GET",
|
|
664
664
|
params: { AdditionalFilterOnly: e?.additionalFilterOnly },
|
|
665
|
-
transformResponse: [...Array.isArray(
|
|
665
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
666
666
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
667
667
|
return e.panels ?? [];
|
|
668
668
|
}],
|
|
669
|
-
url:
|
|
669
|
+
url: C.GET_DAM_VIEW_AVAILABLE_PANELS
|
|
670
670
|
})).data;
|
|
671
671
|
} catch {
|
|
672
672
|
return [];
|
|
@@ -674,13 +674,13 @@ async function rn(e) {
|
|
|
674
674
|
}
|
|
675
675
|
async function an() {
|
|
676
676
|
try {
|
|
677
|
-
return (await
|
|
677
|
+
return (await x.request({
|
|
678
678
|
method: "GET",
|
|
679
|
-
transformResponse: [...Array.isArray(
|
|
679
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
680
680
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
681
681
|
return e.options ?? [];
|
|
682
682
|
}],
|
|
683
|
-
url:
|
|
683
|
+
url: C.GET_DAM_VIEW_DISPLAY_MODE_OPTIONS
|
|
684
684
|
})).data;
|
|
685
685
|
} catch {
|
|
686
686
|
return [];
|
|
@@ -688,13 +688,13 @@ async function an() {
|
|
|
688
688
|
}
|
|
689
689
|
async function on() {
|
|
690
690
|
try {
|
|
691
|
-
return (await
|
|
691
|
+
return (await x.request({
|
|
692
692
|
method: "GET",
|
|
693
|
-
transformResponse: [...Array.isArray(
|
|
693
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
694
694
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
695
695
|
return e.templates ?? [];
|
|
696
696
|
}],
|
|
697
|
-
url:
|
|
697
|
+
url: C.GET_DAM_VIEW_AVAILABLE_TEMPLATES
|
|
698
698
|
})).data;
|
|
699
699
|
} catch {
|
|
700
700
|
return [];
|
|
@@ -702,13 +702,13 @@ async function on() {
|
|
|
702
702
|
}
|
|
703
703
|
async function sn() {
|
|
704
704
|
try {
|
|
705
|
-
return (await
|
|
705
|
+
return (await x.request({
|
|
706
706
|
method: "GET",
|
|
707
|
-
transformResponse: [...Array.isArray(
|
|
707
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
708
708
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
709
709
|
return e.spaces ?? [];
|
|
710
710
|
}],
|
|
711
|
-
url:
|
|
711
|
+
url: C.GET_DAM_VIEW_AVAILABLE_SPACES
|
|
712
712
|
})).data;
|
|
713
713
|
} catch {
|
|
714
714
|
return [];
|
|
@@ -716,16 +716,16 @@ async function sn() {
|
|
|
716
716
|
}
|
|
717
717
|
async function cn() {
|
|
718
718
|
try {
|
|
719
|
-
return (await
|
|
719
|
+
return (await x.request({
|
|
720
720
|
method: "GET",
|
|
721
|
-
transformResponse: [...Array.isArray(
|
|
721
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
722
722
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
723
723
|
return {
|
|
724
724
|
hasMore: e.hasMore ?? !1,
|
|
725
725
|
pages: e.pages ?? []
|
|
726
726
|
};
|
|
727
727
|
}],
|
|
728
|
-
url:
|
|
728
|
+
url: C.GET_DAM_VIEW_AVAILABLE_PAGES
|
|
729
729
|
})).data;
|
|
730
730
|
} catch {
|
|
731
731
|
return {
|
|
@@ -738,10 +738,10 @@ async function cn() {
|
|
|
738
738
|
//#region ../../packages/services/src/api/metadata/metadata.ts
|
|
739
739
|
async function N() {
|
|
740
740
|
try {
|
|
741
|
-
return (await
|
|
741
|
+
return (await x.request({
|
|
742
742
|
method: "GET",
|
|
743
743
|
params: { TableName: "DO_DOCUMENTS" },
|
|
744
|
-
transformResponse: [...Array.isArray(
|
|
744
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
745
745
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
746
746
|
return {
|
|
747
747
|
data: e.listFields.map((e) => ({
|
|
@@ -751,7 +751,7 @@ async function N() {
|
|
|
751
751
|
hasMore: !1
|
|
752
752
|
};
|
|
753
753
|
}],
|
|
754
|
-
url:
|
|
754
|
+
url: S.GET_SEARCHABLE_FIELDS
|
|
755
755
|
})).data;
|
|
756
756
|
} catch {
|
|
757
757
|
return [];
|
|
@@ -759,10 +759,10 @@ async function N() {
|
|
|
759
759
|
}
|
|
760
760
|
async function ln() {
|
|
761
761
|
try {
|
|
762
|
-
return (await
|
|
762
|
+
return (await x.request({
|
|
763
763
|
method: "GET",
|
|
764
|
-
transformResponse: [...Array.isArray(
|
|
765
|
-
url:
|
|
764
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => !e || !Array.isArray(e.sortOrders) ? [] : e.sortOrders],
|
|
765
|
+
url: S.GET_SORT_ORDERS
|
|
766
766
|
})).data;
|
|
767
767
|
} catch {
|
|
768
768
|
return [];
|
|
@@ -773,10 +773,10 @@ function un(e, t) {
|
|
|
773
773
|
}
|
|
774
774
|
async function dn() {
|
|
775
775
|
try {
|
|
776
|
-
return (await
|
|
776
|
+
return (await x.request({
|
|
777
777
|
method: "GET",
|
|
778
778
|
responseType: "json",
|
|
779
|
-
transformResponse: [...Array.isArray(
|
|
779
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => !e || !Array.isArray(e.subTypes) ? {
|
|
780
780
|
flat: [],
|
|
781
781
|
grouped: {}
|
|
782
782
|
} : e.subTypes.reduce((e, t) => {
|
|
@@ -792,7 +792,7 @@ async function dn() {
|
|
|
792
792
|
flat: [],
|
|
793
793
|
grouped: {}
|
|
794
794
|
})],
|
|
795
|
-
url:
|
|
795
|
+
url: S.GET_SUBTYPES_WITH_WILDCARD
|
|
796
796
|
})).data;
|
|
797
797
|
} catch {
|
|
798
798
|
return {
|
|
@@ -803,11 +803,11 @@ async function dn() {
|
|
|
803
803
|
}
|
|
804
804
|
async function fn() {
|
|
805
805
|
try {
|
|
806
|
-
return (await
|
|
806
|
+
return (await x.request({
|
|
807
807
|
method: "GET",
|
|
808
808
|
responseType: "json",
|
|
809
|
-
transformResponse: [...Array.isArray(
|
|
810
|
-
url:
|
|
809
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => !e || !Array.isArray(e.listFields) ? [] : e.listFields],
|
|
810
|
+
url: S.GET_ALL_ALIAS_FIELDS
|
|
811
811
|
})).data;
|
|
812
812
|
} catch {
|
|
813
813
|
return [];
|
|
@@ -815,15 +815,15 @@ async function fn() {
|
|
|
815
815
|
}
|
|
816
816
|
async function pn() {
|
|
817
817
|
try {
|
|
818
|
-
return (await
|
|
818
|
+
return (await x.request({
|
|
819
819
|
method: "GET",
|
|
820
820
|
params: { tableName: "DO_DOCUMENTS" },
|
|
821
821
|
responseType: "json",
|
|
822
|
-
transformResponse: [...Array.isArray(
|
|
822
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => !e || !Array.isArray(e.listFields) ? [] : e.listFields.map((e) => ({
|
|
823
823
|
id: e.value,
|
|
824
824
|
label: e.text
|
|
825
825
|
}))],
|
|
826
|
-
url:
|
|
826
|
+
url: S.GET_ALL_SEARCHABLE_FIELDS_FOR_CURRENT_USER
|
|
827
827
|
})).data;
|
|
828
828
|
} catch {
|
|
829
829
|
return [];
|
|
@@ -831,11 +831,11 @@ async function pn() {
|
|
|
831
831
|
}
|
|
832
832
|
async function mn() {
|
|
833
833
|
try {
|
|
834
|
-
return (await
|
|
834
|
+
return (await x.request({
|
|
835
835
|
method: "GET",
|
|
836
836
|
responseType: "json",
|
|
837
|
-
transformResponse: [...Array.isArray(
|
|
838
|
-
url:
|
|
837
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => !e || !Array.isArray(e.enabledRelations) ? [] : e.enabledRelations],
|
|
838
|
+
url: S.GET_ENABLED_RELATIONS
|
|
839
839
|
})).data;
|
|
840
840
|
} catch {
|
|
841
841
|
return [];
|
|
@@ -1279,14 +1279,14 @@ var P = /* @__PURE__ */ function(e) {
|
|
|
1279
1279
|
]), En = 10;
|
|
1280
1280
|
async function Dn() {
|
|
1281
1281
|
try {
|
|
1282
|
-
return (await
|
|
1282
|
+
return (await x.request({
|
|
1283
1283
|
method: "GET",
|
|
1284
1284
|
responseType: "json",
|
|
1285
|
-
transformResponse: [...Array.isArray(
|
|
1285
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
1286
1286
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
1287
1287
|
return e.roles;
|
|
1288
1288
|
}],
|
|
1289
|
-
url:
|
|
1289
|
+
url: Se.GET_USER_ROLE
|
|
1290
1290
|
})).data;
|
|
1291
1291
|
} catch {
|
|
1292
1292
|
return [];
|
|
@@ -1294,10 +1294,10 @@ async function Dn() {
|
|
|
1294
1294
|
}
|
|
1295
1295
|
async function On() {
|
|
1296
1296
|
try {
|
|
1297
|
-
return (await
|
|
1297
|
+
return (await x.request({
|
|
1298
1298
|
method: "GET",
|
|
1299
1299
|
responseType: "json",
|
|
1300
|
-
url:
|
|
1300
|
+
url: Se.GET_SPACE_FONT_FAMILY
|
|
1301
1301
|
})).data;
|
|
1302
1302
|
} catch {
|
|
1303
1303
|
return;
|
|
@@ -1305,11 +1305,11 @@ async function On() {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
async function B() {
|
|
1307
1307
|
try {
|
|
1308
|
-
return (await
|
|
1308
|
+
return (await x.request({
|
|
1309
1309
|
method: "GET",
|
|
1310
1310
|
responseType: "json",
|
|
1311
|
-
transformResponse: [...Array.isArray(
|
|
1312
|
-
url:
|
|
1311
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => e.fontFamilies],
|
|
1312
|
+
url: Se.GET_FONT_FAMILIES
|
|
1313
1313
|
})).data;
|
|
1314
1314
|
} catch {
|
|
1315
1315
|
return [];
|
|
@@ -1317,12 +1317,12 @@ async function B() {
|
|
|
1317
1317
|
}
|
|
1318
1318
|
async function kn({ searchTerm: e = "" }) {
|
|
1319
1319
|
try {
|
|
1320
|
-
return (await
|
|
1320
|
+
return (await x.request({
|
|
1321
1321
|
method: "GET",
|
|
1322
1322
|
params: { SearchTerm: e || void 0 },
|
|
1323
1323
|
responseType: "json",
|
|
1324
|
-
transformResponse: [...Array.isArray(
|
|
1325
|
-
url:
|
|
1324
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => e.teamspaces],
|
|
1325
|
+
url: Se.GET_SPACE_LIST
|
|
1326
1326
|
})).data;
|
|
1327
1327
|
} catch {
|
|
1328
1328
|
return [];
|
|
@@ -1346,7 +1346,7 @@ async function An({ searchTerm: e = "" }) {
|
|
|
1346
1346
|
}
|
|
1347
1347
|
async function jn({ forcedPageId: e = "", limit: t = En, parentId: n = "", searchTerm: r = "", seeThru: i, start: a }) {
|
|
1348
1348
|
try {
|
|
1349
|
-
return (await
|
|
1349
|
+
return (await x.request({
|
|
1350
1350
|
method: "GET",
|
|
1351
1351
|
params: {
|
|
1352
1352
|
...e ? { ForcedPageID: e } : {},
|
|
@@ -1357,7 +1357,7 @@ async function jn({ forcedPageId: e = "", limit: t = En, parentId: n = "", searc
|
|
|
1357
1357
|
SeeThru: i ?? !!r
|
|
1358
1358
|
},
|
|
1359
1359
|
responseType: "json",
|
|
1360
|
-
transformResponse: [...Array.isArray(
|
|
1360
|
+
transformResponse: [...Array.isArray(x.defaults.transformResponse) ? x.defaults.transformResponse : [], (e) => {
|
|
1361
1361
|
if (!e || typeof e != "object") throw Error("Invalid response format");
|
|
1362
1362
|
return {
|
|
1363
1363
|
data: e.pagesAndLinks.map((e) => ({
|
|
@@ -1371,7 +1371,7 @@ async function jn({ forcedPageId: e = "", limit: t = En, parentId: n = "", searc
|
|
|
1371
1371
|
hasMore: e.hasMore
|
|
1372
1372
|
};
|
|
1373
1373
|
}],
|
|
1374
|
-
url:
|
|
1374
|
+
url: Se.GET_PAGES_AND_LINKS
|
|
1375
1375
|
})).data;
|
|
1376
1376
|
} catch {
|
|
1377
1377
|
return {
|
|
@@ -1883,35 +1883,11 @@ var V = class {
|
|
|
1883
1883
|
id: "--collapse-icon-width",
|
|
1884
1884
|
label: e.term("iconWidth"),
|
|
1885
1885
|
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
|
-
] : []
|
|
1886
|
+
}
|
|
1911
1887
|
];
|
|
1912
1888
|
},
|
|
1913
1889
|
defaultValue: Pn,
|
|
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-
|
|
1890
|
+
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(".")
|
|
1915
1891
|
}, Rn = {
|
|
1916
1892
|
configs: (e, t = {}) => {
|
|
1917
1893
|
let n = new V(e), { enableAssetFormatControls: r = !1 } = t;
|
|
@@ -2191,7 +2167,7 @@ var V = class {
|
|
|
2191
2167
|
{
|
|
2192
2168
|
api: An,
|
|
2193
2169
|
controlType: "select",
|
|
2194
|
-
folderPickerConfigs: { variant:
|
|
2170
|
+
folderPickerConfigs: { variant: w.Select },
|
|
2195
2171
|
id: "click-space",
|
|
2196
2172
|
label: e.term("space"),
|
|
2197
2173
|
name: "click-space",
|
|
@@ -5049,7 +5025,7 @@ var ar = {
|
|
|
5049
5025
|
folderPickerConfigs: {
|
|
5050
5026
|
useAllowedFolders: !0,
|
|
5051
5027
|
useFullPath: !0,
|
|
5052
|
-
variant:
|
|
5028
|
+
variant: w.Select
|
|
5053
5029
|
},
|
|
5054
5030
|
id: "default-folders",
|
|
5055
5031
|
label: e.term("defaultFolders"),
|
|
@@ -5363,7 +5339,7 @@ var ar = {
|
|
|
5363
5339
|
folderPickerConfigs: {
|
|
5364
5340
|
useAllowedFolders: !0,
|
|
5365
5341
|
useFullPath: !0,
|
|
5366
|
-
variant:
|
|
5342
|
+
variant: w.Select
|
|
5367
5343
|
},
|
|
5368
5344
|
id: "expanded-folders",
|
|
5369
5345
|
label: e.term("expandedFolders"),
|
|
@@ -8573,7 +8549,7 @@ var Or = {
|
|
|
8573
8549
|
{
|
|
8574
8550
|
api: An,
|
|
8575
8551
|
controlType: "select",
|
|
8576
|
-
folderPickerConfigs: { variant:
|
|
8552
|
+
folderPickerConfigs: { variant: w.Select },
|
|
8577
8553
|
id: "click-space",
|
|
8578
8554
|
label: e.term("space"),
|
|
8579
8555
|
name: "click-space",
|
|
@@ -10493,7 +10469,7 @@ var Ur = {
|
|
|
10493
10469
|
{
|
|
10494
10470
|
api: An,
|
|
10495
10471
|
controlType: "select",
|
|
10496
|
-
folderPickerConfigs: { variant:
|
|
10472
|
+
folderPickerConfigs: { variant: w.Select },
|
|
10497
10473
|
id: "click-space",
|
|
10498
10474
|
label: e.term("space"),
|
|
10499
10475
|
name: "click-space",
|
|
@@ -7,7 +7,7 @@ import { t as l } from "./i18n.CpiuF-f4.js";
|
|
|
7
7
|
import { t as u } from "./class-map.D8nsNOVJ.js";
|
|
8
8
|
import { t as d } from "./button.F15zfy2d.js";
|
|
9
9
|
import { t as f } from "./typography.B0mkhqTB.js";
|
|
10
|
-
import { t as p } from "./dropdown.
|
|
10
|
+
import { t as p } from "./dropdown.Yz1dFrzN.js";
|
|
11
11
|
import { o as m, t as h } from "./dialog.DyVvpdaY.js";
|
|
12
12
|
//#region ../../packages/types/src/confirm-popover.ts
|
|
13
13
|
var g = /* @__PURE__ */ function(e) {
|
|
@@ -17,11 +17,11 @@ import { t as tooltip_default } from "./tooltip.EVa9qa8X.js";
|
|
|
17
17
|
import { t as resize_observer_default } from "./resize-observer.D9EHlnZI.js";
|
|
18
18
|
import { a as ObjectFit } from "./src.BJhIYoMP.js";
|
|
19
19
|
import { t as typography_default } from "./typography.B0mkhqTB.js";
|
|
20
|
-
import { t as dropdown_default } from "./dropdown.
|
|
20
|
+
import { t as dropdown_default } from "./dropdown.Yz1dFrzN.js";
|
|
21
21
|
import { t as focusWhenVisible } from "./focus-when-visible.DKscgyKo.js";
|
|
22
22
|
import { t as input_default } from "./input.HC75Gdv_.js";
|
|
23
|
-
import { t as menu_default } from "./menu.
|
|
24
|
-
import { t as menu_item_default } from "./menu-item.
|
|
23
|
+
import { t as menu_default } from "./menu.yAc9YFlN.js";
|
|
24
|
+
import { t as menu_item_default } from "./menu-item.BXd8ZyH5.js";
|
|
25
25
|
import { t as drawer_default } from "./drawer.rdGcXxzU.js";
|
|
26
26
|
import { t as progress_bar_default } from "./progress-bar.Br8Zi53n.js";
|
|
27
27
|
import { fetchCortexApi } from "../utils.js";
|
|
@@ -14,7 +14,7 @@ import { t as y } from "./if-defined.B29V_rEp.js";
|
|
|
14
14
|
import { t as b } from "./focus-when-visible.DKscgyKo.js";
|
|
15
15
|
import { t as x } from "./tabbable.Bflg1dha.js";
|
|
16
16
|
import { t as S } from "./input.HC75Gdv_.js";
|
|
17
|
-
import { t as C } from "./menu.
|
|
17
|
+
import { t as C } from "./menu.yAc9YFlN.js";
|
|
18
18
|
import { t as w } from "./textarea.Bc4eCJgT.js";
|
|
19
19
|
//#region ../../packages/utils/src/custom-element/escapable-overlays.ts
|
|
20
20
|
var T = [], E = class {
|