@orangelogic/design-system 2.0.0-29DUO2-beta-1 → 2.0.0-29DUO2-beta-2
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/chunks/{asset.DRyD94KY.js → asset.CG_yXtWK.js} +1 -1
- package/library/chunks/{button.Dy5bRiPQ.js → button.KnE3mcyM.js} +1 -1
- package/library/chunks/{color-swatch-group.nog-pq8b.js → color-swatch-group.p3Sdqlat.js} +5 -5
- package/library/chunks/{color-swatch.CLHdvqso.js → color-swatch.C0oPHfOu.js} +1 -1
- package/library/chunks/{confirm-popover.B6BAaXeR.js → confirm-popover.DlN4hgLS.js} +3 -3
- package/library/chunks/content-builder.D_phDrlo.js +127 -0
- package/library/chunks/{dialog.DZGlXo8d.js → dialog.CKP1W_u1.js} +2 -2
- package/library/chunks/{dot-pagination.Cp57TPpZ.js → dot-pagination.COBkyhoJ.js} +1 -1
- package/library/chunks/{endpoints.CkJu-Ory.js → endpoints.B7lcoc1N.js} +178 -179
- package/library/chunks/{file-on-demand.DCn6zLyM.js → file-on-demand.DZtadqgL.js} +7 -7
- package/library/chunks/{folder-select.DTmBImnZ.js → folder-select.Bl_WkhVE.js} +4 -4
- package/library/chunks/{header.D_90t23Q.js → header.BduX6KJP.js} +1 -1
- package/library/chunks/{i18n.Bge6Wbrz.js → i18n.C0iakJkV.js} +12 -16
- package/library/chunks/{iframe.B0Z8DiDR.js → iframe.BPKV2K7z.js} +1 -1
- package/library/chunks/{image.CBjclAIZ.js → image.C9avagDq.js} +1 -1
- package/library/chunks/{index.Compqu8J.js → index.CwrqgSke.js} +83 -88
- package/library/chunks/{list-editor.Dl366-77.js → list-editor.C-0PQZX9.js} +8 -8
- package/library/chunks/{modal.U1QltQKe.js → modal.CG-kZq41.js} +1 -1
- package/library/chunks/{option.CiBFEqo6.js → option.DnpkE8Xi.js} +1 -1
- package/library/chunks/{pagination.CTKL1LBP.js → pagination.C30LoTya.js} +3 -3
- package/library/chunks/{responsive.CEZXXas3.js → responsive.CrX-HUow.js} +1 -1
- package/library/chunks/{tab-group.3eI4V3C7.js → tab-group.05PY0smt.js} +2 -2
- package/library/chunks/{tabbable.CcMz3mIL.js → tabbable.BwnZBHrm.js} +2 -2
- package/library/chunks/{table.ZGeb7I52.js → table.DNTm_GMS.js} +5 -5
- package/library/chunks/{tree.dSjb5nEi.js → tree.CeMLCbs-.js} +1 -1
- package/library/components/alert.js +1 -1
- package/library/components/asset-link-format.js +4 -4
- package/library/components/atoms.js +11 -11
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/color-picker.js +2 -2
- package/library/components/color-swatch-group.js +6 -6
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +2 -2
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +3 -3
- package/library/components/e-chart.js +1335 -1303
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +8 -8
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +1 -1
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/input.js +1 -1
- package/library/components/line-clamp.js +1 -1
- package/library/components/list-editor.js +6 -6
- package/library/components/masonry.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/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/pagination.js +4 -4
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +2 -2
- package/library/components/share-option-list.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/tab-group.js +3 -3
- package/library/components/tab.js +1 -1
- package/library/components/table.js +4 -4
- package/library/components/tag.js +1 -1
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +1 -1
- package/library/components/types.js +24386 -24383
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/e-chart/e-chart.d.ts +6 -1
- package/library/packages/events/src/cx-e-chart-drill-down.d.ts +16 -0
- package/library/packages/events/src/events.d.ts +1 -0
- package/library/packages/molecules/src/stat-card/stat-card.d.ts +4 -4
- package/library/packages/organisms/src/content-builder/configs/index.d.ts +0 -5
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +0 -28
- package/library/packages/organisms/src/content-builder/content-builder-config.d.ts +0 -15
- package/library/packages/organisms/src/content-builder/plugins/index.d.ts +0 -5
- package/library/packages/organisms/src/dashboard-filter/dashboard-filter.d.ts +83 -0
- package/library/packages/organisms/src/dashboard-filter/dashboard-filter.styles.d.ts +2 -0
- package/library/packages/organisms/src/dashboard-table/dashboard-table.d.ts +45 -0
- package/library/packages/organisms/src/dashboard-table/dashboard-table.styles.d.ts +2 -0
- package/library/packages/organisms/src/index.d.ts +3 -1
- package/library/packages/services/src/api/dashboard/dashboard.d.ts +1 -8
- package/library/packages/services/src/api/endpoints.d.ts +0 -9
- package/library/packages/types/src/content-builder.d.ts +1 -6
- package/library/packages/utils/src/custom-element/i18n.d.ts +0 -4
- package/library/packages/utils/src/object/object.d.ts +0 -1
- package/library/react-web-component.d.ts +91 -125
- package/library/utils.js +158 -159
- package/package.json +1 -1
- package/library/chunks/content-builder.ViUhoc1l.js +0 -127
- package/library/packages/organisms/src/content-builder/configs/dashboard-chart.d.ts +0 -13
- package/library/packages/organisms/src/content-builder/configs/dashboard-filter.d.ts +0 -17
- package/library/packages/organisms/src/content-builder/configs/dashboard-table.d.ts +0 -12
- package/library/packages/organisms/src/content-builder/configs/dashboard.d.ts +0 -10
- package/library/packages/organisms/src/content-builder/configs/stat-card.d.ts +0 -18
- package/library/packages/organisms/src/content-builder/plugins/dashboard-chart.d.ts +0 -5
- package/library/packages/organisms/src/content-builder/plugins/dashboard-filter.d.ts +0 -5
- package/library/packages/organisms/src/content-builder/plugins/dashboard-table.d.ts +0 -5
- package/library/packages/organisms/src/content-builder/plugins/dashboard.d.ts +0 -5
- package/library/packages/organisms/src/content-builder/plugins/stat-card.d.ts +0 -5
- package/library/packages/organisms/src/content-builder/components/{chart-plan.builder → chart-plan-builder}/chart-plan-builder.d.ts +0 -0
- package/library/packages/organisms/src/content-builder/components/{chart-plan.builder → chart-plan-builder}/chart-plan-builder.styles.d.ts +0 -0
- package/library/packages/organisms/src/content-builder/components/{chart-plan.builder → chart-plan-builder}/chart-plan-schema.d.ts +0 -0
- package/library/packages/types/src/{state-card.d.ts → stat-card.d.ts} +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as i, A as T, a as U } from "./endpoints.
|
|
1
|
+
import { h as i, A as T, a as U } from "./endpoints.B7lcoc1N.js";
|
|
2
2
|
import { f as M, t as C } from "./toast.BXNbwZV8.js";
|
|
3
3
|
const L = "CoreField.LargeSizePreview", h = "CoreField.DocType", b = "Document.Title", j = "Document.CaptionLong", S = "Document.FileExtension", O = "CoreField.FileSize", N = "CoreField.Identifier", g = "CoreField.Keywords", R = "CoreField.MaxHeight", G = "CoreField.MaxWidth", x = "Document.RecordID", P = "CoreField.DocSubType", w = "CoreField.TitleWithFallback", I = "CoreField.OriginalFileName", F = "CoreField.UpdatedFileName", E = "CoreField.OriginalPreview";
|
|
4
4
|
function B(o) {
|
|
@@ -2,7 +2,7 @@ import { n as i, C as v } from "./lib-cortex-element.CVMmyPMC.js";
|
|
|
2
2
|
import { c as g } from "./component.styles.DMSLciL5.js";
|
|
3
3
|
import { c as C } from "./custom-element.L4WJXn1j.js";
|
|
4
4
|
import { F as x, v as w } from "./form.DgwYWi0O.js";
|
|
5
|
-
import { L as $ } from "./i18n.
|
|
5
|
+
import { L as $ } from "./i18n.C0iakJkV.js";
|
|
6
6
|
import { H as S, g as O } from "./slot.j5oheLJC.js";
|
|
7
7
|
import { w as m } from "./watch.q1sEjPWL.js";
|
|
8
8
|
import { r as u } from "./state.CSDxrqLd.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import z from "../components/space.js";
|
|
2
|
-
import { C as $ } from "./table.
|
|
2
|
+
import { C as $ } from "./table.DNTm_GMS.js";
|
|
3
3
|
import { C as k } from "./typography.oDzoLbZS.js";
|
|
4
4
|
import { n as h, C as F } from "./lib-cortex-element.CVMmyPMC.js";
|
|
5
|
-
import { C, a as m } from "./color-swatch.
|
|
5
|
+
import { C, a as m } from "./color-swatch.C0oPHfOu.js";
|
|
6
6
|
import { c as A } from "./component.styles.DMSLciL5.js";
|
|
7
|
-
import { D as p } from "./content-builder.
|
|
7
|
+
import { D as p } from "./content-builder.D_phDrlo.js";
|
|
8
8
|
import { c as S } from "./custom-element.L4WJXn1j.js";
|
|
9
9
|
import { d as T } from "./debounce.DaHuiSGU.js";
|
|
10
|
-
import { L as E } from "./i18n.
|
|
10
|
+
import { L as E } from "./i18n.C0iakJkV.js";
|
|
11
11
|
import { w as x } from "./watch.q1sEjPWL.js";
|
|
12
|
-
import { g as D, a as R } from "./responsive.
|
|
12
|
+
import { g as D, a as R } from "./responsive.CrX-HUow.js";
|
|
13
13
|
import { x as l, B as H, i as O } from "./lit-element.jLBm65_O.js";
|
|
14
14
|
import { r as d } from "./state.CSDxrqLd.js";
|
|
15
15
|
import { e as P } from "./query.BBf1UFkC.js";
|
|
@@ -8,7 +8,7 @@ import { c as F } from "./component.styles.DMSLciL5.js";
|
|
|
8
8
|
import { c as n, C as h, H as $, l as z } from "./color.vLD2sNTs.js";
|
|
9
9
|
import { c as O } from "./custom-element.L4WJXn1j.js";
|
|
10
10
|
import { d as W } from "./debounce.DaHuiSGU.js";
|
|
11
|
-
import { L as A } from "./i18n.
|
|
11
|
+
import { L as A } from "./i18n.C0iakJkV.js";
|
|
12
12
|
import { w as i } from "./watch.q1sEjPWL.js";
|
|
13
13
|
import { i as G, x as u } from "./lit-element.jLBm65_O.js";
|
|
14
14
|
import { r as c } from "./state.CSDxrqLd.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { C as _ } from "./button.
|
|
2
|
-
import { C as u, D as h } from "./dialog.
|
|
1
|
+
import { C as _ } from "./button.KnE3mcyM.js";
|
|
2
|
+
import { C as u, D as h } from "./dialog.CKP1W_u1.js";
|
|
3
3
|
import g from "../components/dropdown.js";
|
|
4
4
|
import { C as x } from "./typography.oDzoLbZS.js";
|
|
5
5
|
import { n as e, C as b } from "./lib-cortex-element.CVMmyPMC.js";
|
|
6
6
|
import { c as y } from "./component.styles.DMSLciL5.js";
|
|
7
7
|
import { c as w } from "./custom-element.L4WJXn1j.js";
|
|
8
|
-
import { L as $ } from "./i18n.
|
|
8
|
+
import { L as $ } from "./i18n.C0iakJkV.js";
|
|
9
9
|
import { i as z, x as d } from "./lit-element.jLBm65_O.js";
|
|
10
10
|
import { e as m } from "./query.BBf1UFkC.js";
|
|
11
11
|
import { e as a } from "./class-map.BiVq-cVR.js";
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { c as s } from "./capitalize.WSkCXkNE.js";
|
|
2
|
+
function v(n, a) {
|
|
3
|
+
return n.filter((t, e) => e !== a);
|
|
4
|
+
}
|
|
5
|
+
function b(n, a) {
|
|
6
|
+
return n.filter((t, e) => !a.includes(e));
|
|
7
|
+
}
|
|
8
|
+
function R(n, a, t) {
|
|
9
|
+
return [...n.slice(0, a), t, ...n.slice(a)];
|
|
10
|
+
}
|
|
11
|
+
function B(n, a, t) {
|
|
12
|
+
return [...n.slice(0, a), ...t, ...n.slice(a)];
|
|
13
|
+
}
|
|
14
|
+
function T(n, a, t) {
|
|
15
|
+
return n.findIndex((e) => e[a] === t);
|
|
16
|
+
}
|
|
17
|
+
function _(n, a, t) {
|
|
18
|
+
const e = [...n], i = v(e, a);
|
|
19
|
+
let r = t;
|
|
20
|
+
return r >= n.length - 1 && (r = r + 1), R(i, r, n[a]);
|
|
21
|
+
}
|
|
22
|
+
function G(n, a, t) {
|
|
23
|
+
const e = [...n], i = b(e, a), r = t !== 0 ? a.reduce(
|
|
24
|
+
(o, u) => t > u ? o - 1 : o,
|
|
25
|
+
t
|
|
26
|
+
) : t;
|
|
27
|
+
return B(
|
|
28
|
+
i,
|
|
29
|
+
r,
|
|
30
|
+
a.map((o) => n[o])
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
function V(n, a) {
|
|
34
|
+
return n.reduce(
|
|
35
|
+
(t, e) => {
|
|
36
|
+
const i = e[a];
|
|
37
|
+
return t[i] ??= [], t[i].push(e), t;
|
|
38
|
+
},
|
|
39
|
+
{}
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
function j(n, a, t) {
|
|
43
|
+
if (!n.length)
|
|
44
|
+
return [a];
|
|
45
|
+
const e = t.findIndex(
|
|
46
|
+
(l) => l.id === a
|
|
47
|
+
), i = n[n.length - 1], r = t.findIndex(
|
|
48
|
+
(l) => l.id === i
|
|
49
|
+
);
|
|
50
|
+
if (e < 0 || r < 0)
|
|
51
|
+
return [a];
|
|
52
|
+
const d = t.reduce(
|
|
53
|
+
(l, c, x) => (l[c.id] = x, l),
|
|
54
|
+
{}
|
|
55
|
+
), o = e > r, u = o ? r : e, f = o ? e : r, C = t.slice(u, f + 1).filter((l) => !(!l || n.includes(l.id))).map((l) => l.id), g = o ? C : [...C].reverse(), A = n.includes(a) ? n.slice(0, n.indexOf(a) + 1) : [...n, ...g];
|
|
56
|
+
return A.sort((l, c) => d[l] - d[c]), A;
|
|
57
|
+
}
|
|
58
|
+
function p(n, a, t, e, i, r) {
|
|
59
|
+
const d = t + 1;
|
|
60
|
+
if (n.length < 2)
|
|
61
|
+
throw new Error("Values array must contain at least 2 elements");
|
|
62
|
+
if (t < 0 || d >= n.length)
|
|
63
|
+
throw new Error("Invalid index or not enough values to adjust");
|
|
64
|
+
if (e < 0)
|
|
65
|
+
throw new Error("Minimum value must be non-negative");
|
|
66
|
+
let o = i + a;
|
|
67
|
+
o < e && (a = e - i, o = e);
|
|
68
|
+
let u = r - a;
|
|
69
|
+
u < e && (a = r - e, o = i + a, u = e), n[t] = parseFloat(o.toFixed(2)), n[d] = parseFloat(u.toFixed(2));
|
|
70
|
+
}
|
|
71
|
+
var w = /* @__PURE__ */ ((n) => (n.Desktop = "desktop", n.Mobile = "mobile", n.Tablet = "tablet", n))(w || {});
|
|
72
|
+
const E = {
|
|
73
|
+
canvasWidth: "",
|
|
74
|
+
height: "",
|
|
75
|
+
id: "desktop",
|
|
76
|
+
maxWidth: "",
|
|
77
|
+
name: s(
|
|
78
|
+
"desktop"
|
|
79
|
+
/* Desktop */
|
|
80
|
+
)
|
|
81
|
+
}, L = {
|
|
82
|
+
canvasWidth: "770px",
|
|
83
|
+
height: "",
|
|
84
|
+
id: "tablet",
|
|
85
|
+
maxWidth: "1280px",
|
|
86
|
+
name: s(
|
|
87
|
+
"tablet"
|
|
88
|
+
/* Tablet */
|
|
89
|
+
)
|
|
90
|
+
}, M = {
|
|
91
|
+
canvasWidth: "320px",
|
|
92
|
+
height: "",
|
|
93
|
+
id: "mobile",
|
|
94
|
+
maxWidth: "480px",
|
|
95
|
+
name: s(
|
|
96
|
+
"mobile"
|
|
97
|
+
/* Mobile */
|
|
98
|
+
)
|
|
99
|
+
}, K = [E, L, M];
|
|
100
|
+
var O = /* @__PURE__ */ ((n) => (n.All = "ALL", n.CanDelete = "CanDelete", n.CanDownload = "CanDownload", n.CanFind = "CanFind", n.CanManageRights = "CanManageRights", n.CanMove = "CanMove", n.CanRead = "CanRead", n.CanReadAll = "CanReadAll", n.CanReadAndWrite = "CanReadAndWrite", n.CanReadLarge = "CanReadLarge", n.CanReadMedium = "CanReadMedium", n.CanReadOriginal = "CanReadOriginal", n.CanShare = "CanShare", n.CanUpload = "CanUpload", n.CanWrite = "CanWrite", n.None = "NONE", n))(O || {}), S = /* @__PURE__ */ ((n) => (n.All = "all", n.Audio = "audio", n.Image = "image", n.Other = "other", n.Video = "video", n))(S || {}), F = /* @__PURE__ */ ((n) => (n.Content = "content", n.Template = "template", n))(F || {}), k = /* @__PURE__ */ ((n) => (n.Administrator = "Administrator", n.Designer = "Designer", n.Editor = "Editor", n))(k || {}), h = /* @__PURE__ */ ((n) => (n.Accordion = "BlockAccordion", n.Analytics = "BlockAnalytics", n.Button = "BlockButton", n.Carousel = "BlockCarousel", n.ColorSwatches = "BlockColorSwatches", n.Column = "BlockCell", n.ColumnGroup = "BlockColumns", n.Divider = "BlockDivider", n.FontKit = "BlockFontKit", n.Gallery = "BlockGallery", n.Header = "BlockHeader", n.Image = "BlockImage", n.RichText = "BlockRichText", n.SearchBox = "BlockSearchBox", n.TabGroup = "BlockTabs", n.Text = "BlockText", n.Timeline = "BlockTimeline", n.Video = "BlockVideo", n))(h || {});
|
|
101
|
+
const U = Object.values(h).filter(
|
|
102
|
+
(n) => n !== "BlockCell"
|
|
103
|
+
/* Column */
|
|
104
|
+
);
|
|
105
|
+
var D = /* @__PURE__ */ ((n) => (n.Carousel = "carousel", n.Gallery = "gallery", n))(D || {}), N = /* @__PURE__ */ ((n) => (n.Templates = "TEMPLATES", n.TranslatableAttributes = "TRANSLATABLE_ATTRIBUTES", n.TranslatableTexts = "TRANSLATABLE_TEXTS", n))(N || {});
|
|
106
|
+
export {
|
|
107
|
+
S as A,
|
|
108
|
+
h as B,
|
|
109
|
+
w as D,
|
|
110
|
+
F as E,
|
|
111
|
+
O as P,
|
|
112
|
+
k as T,
|
|
113
|
+
D as a,
|
|
114
|
+
N as b,
|
|
115
|
+
U as c,
|
|
116
|
+
K as d,
|
|
117
|
+
G as e,
|
|
118
|
+
T as f,
|
|
119
|
+
V as g,
|
|
120
|
+
v as h,
|
|
121
|
+
B as i,
|
|
122
|
+
R as j,
|
|
123
|
+
_ as k,
|
|
124
|
+
p as l,
|
|
125
|
+
j as m,
|
|
126
|
+
b as r
|
|
127
|
+
};
|
|
@@ -4,8 +4,8 @@ import { O, C as D, H as B, z as L, o as P } from "./overlayscrollbars.XhGWx9Zk.
|
|
|
4
4
|
import { a as h, s as u } from "./animate.El-MpOws.js";
|
|
5
5
|
import { c as $ } from "./custom-element.L4WJXn1j.js";
|
|
6
6
|
import { w as x } from "./event.mFzZi4sr.js";
|
|
7
|
-
import { L as H } from "./i18n.
|
|
8
|
-
import { M as E } from "./modal.
|
|
7
|
+
import { L as H } from "./i18n.C0iakJkV.js";
|
|
8
|
+
import { M as E } from "./modal.CG-kZq41.js";
|
|
9
9
|
import { l as w, u as _ } from "./scroll.xtO5yojm.js";
|
|
10
10
|
import { H as R } from "./slot.j5oheLJC.js";
|
|
11
11
|
import { w as k } from "./watch.q1sEjPWL.js";
|
|
@@ -2,7 +2,7 @@ import { n as a, C as P } from "./lib-cortex-element.CVMmyPMC.js";
|
|
|
2
2
|
import { c as F } from "./component.styles.DMSLciL5.js";
|
|
3
3
|
import { O as C } from "./index.Cpamj0jB.js";
|
|
4
4
|
import { c as z } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as S } from "./i18n.
|
|
5
|
+
import { L as S } from "./i18n.C0iakJkV.js";
|
|
6
6
|
import { w as m } from "./watch.q1sEjPWL.js";
|
|
7
7
|
import { i as O, x as y } from "./lit-element.jLBm65_O.js";
|
|
8
8
|
import { r as j } from "./state.CSDxrqLd.js";
|