@orangelogic/design-system 2.0.0-29DUO2-beta-1 → 2.0.0-29DUO2-beta-3
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.zmOFI4e-.js} +3 -3
- package/library/chunks/content-builder.D_phDrlo.js +127 -0
- package/library/chunks/{dialog.DZGlXo8d.js → dialog.DpZBbTCn.js} +1 -1
- 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.CbE-qsiP.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.B3wJT3XS.js} +81 -86
- package/library/chunks/{list-editor.Dl366-77.js → list-editor.B2mFE9f7.js} +8 -8
- 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/{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 +2 -2
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +1 -1
- package/library/components/dropdown.js +1 -1
- package/library/components/dynamic-select.js +3 -3
- package/library/components/e-chart.js +1744 -1710
- 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,10 +1,10 @@
|
|
|
1
1
|
import J from "../components/icon.js";
|
|
2
2
|
import Q from "../components/line-clamp.js";
|
|
3
|
-
import { C as ft, s as vt, a as yt, b as lt } from "./tree.
|
|
3
|
+
import { C as ft, s as vt, a as yt, b as lt } from "./tree.CeMLCbs-.js";
|
|
4
4
|
import { n as d, C as H } from "./lib-cortex-element.CVMmyPMC.js";
|
|
5
5
|
import { c as tt } from "./component.styles.DMSLciL5.js";
|
|
6
6
|
import { c as W } from "./custom-element.L4WJXn1j.js";
|
|
7
|
-
import { L as q } from "./i18n.
|
|
7
|
+
import { L as q } from "./i18n.C0iakJkV.js";
|
|
8
8
|
import { k as Dt, a as bt, i as $t, w as P, S as Tt, b as Pt, c as zt, d as Et, e as Lt, f as Ft } from "./watch.q1sEjPWL.js";
|
|
9
9
|
import { p as R } from "./string.B_rEG27K.js";
|
|
10
10
|
import { x as o, i as at, E as Ut } from "./lit-element.jLBm65_O.js";
|
|
@@ -15,22 +15,22 @@ import { c as U } from "./repeat.DbF2p5ae.js";
|
|
|
15
15
|
import { n as p } from "./when.Dr1es41R.js";
|
|
16
16
|
import { a as Rt, c as kt, b as dt } from "./_baseUniq.Df-fLIBx.js";
|
|
17
17
|
import Ot from "../components/avatar.js";
|
|
18
|
-
import { C as Nt } from "./button.
|
|
19
|
-
import { C as jt } from "./dialog.
|
|
18
|
+
import { C as Nt } from "./button.KnE3mcyM.js";
|
|
19
|
+
import { C as jt } from "./dialog.DpZBbTCn.js";
|
|
20
20
|
import Bt from "../components/divider.js";
|
|
21
21
|
import ot from "../components/format-bytes.js";
|
|
22
22
|
import It from "../components/icon-button.js";
|
|
23
23
|
import Mt from "../components/input.js";
|
|
24
|
-
import { C as Vt } from "./option.
|
|
24
|
+
import { C as Vt } from "./option.DnpkE8Xi.js";
|
|
25
25
|
import St from "../components/relative-time.js";
|
|
26
26
|
import Ht from "../components/select.js";
|
|
27
27
|
import Wt from "../components/space.js";
|
|
28
28
|
import qt from "../components/tab.js";
|
|
29
|
-
import { C as Gt } from "./tab-group.
|
|
29
|
+
import { C as Gt } from "./tab-group.05PY0smt.js";
|
|
30
30
|
import Yt from "../components/tab-panel.js";
|
|
31
31
|
import wt from "../components/tooltip.js";
|
|
32
32
|
import { C as nt } from "./typography.oDzoLbZS.js";
|
|
33
|
-
import { C as Kt } from "./confirm-popover.
|
|
33
|
+
import { C as Kt } from "./confirm-popover.zmOFI4e-.js";
|
|
34
34
|
import { d as Xt } from "./debounce.DaHuiSGU.js";
|
|
35
35
|
import { a as et } from "./number.CjNxU7Xs.js";
|
|
36
36
|
import { i as K, a as ht } from "./url.LjsR2sB5.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import A from "../components/icon.js";
|
|
2
2
|
import X from "../components/input.js";
|
|
3
3
|
import Y from "../components/select.js";
|
|
4
|
-
import { C as $, a as ee } from "./tree.
|
|
4
|
+
import { C as $, a as ee } from "./tree.CeMLCbs-.js";
|
|
5
5
|
import { n as r, C as O } from "./lib-cortex-element.CVMmyPMC.js";
|
|
6
|
-
import { h as I, F as te, b as re } from "./endpoints.
|
|
6
|
+
import { h as I, F as te, b as re } from "./endpoints.B7lcoc1N.js";
|
|
7
7
|
import { c as R } from "./component.styles.DMSLciL5.js";
|
|
8
8
|
import { c as D } from "./custom-element.L4WJXn1j.js";
|
|
9
|
-
import { L as w } from "./i18n.
|
|
9
|
+
import { L as w } from "./i18n.C0iakJkV.js";
|
|
10
10
|
import { w as m } from "./watch.q1sEjPWL.js";
|
|
11
11
|
import { x as f, i as ae } from "./lit-element.jLBm65_O.js";
|
|
12
12
|
import { r as x } from "./state.CSDxrqLd.js";
|
|
13
13
|
import { e as B } from "./query.BBf1UFkC.js";
|
|
14
14
|
import { r as se } from "./choose.BTbF6BAn.js";
|
|
15
|
-
import { C as W } from "./button.
|
|
15
|
+
import { C as W } from "./button.KnE3mcyM.js";
|
|
16
16
|
import { d as le } from "./debounce.DaHuiSGU.js";
|
|
17
17
|
import { o as y } from "./if-defined.BRoBj_Rp.js";
|
|
18
18
|
import { c as q } from "./repeat.DbF2p5ae.js";
|
|
@@ -3,7 +3,7 @@ import { n as c, C as b } from "./lib-cortex-element.CVMmyPMC.js";
|
|
|
3
3
|
import { c as x } from "./component.styles.DMSLciL5.js";
|
|
4
4
|
import { i as u } from "./lit-element.jLBm65_O.js";
|
|
5
5
|
import { c as v } from "./custom-element.L4WJXn1j.js";
|
|
6
|
-
import { L as y } from "./i18n.
|
|
6
|
+
import { L as y } from "./i18n.C0iakJkV.js";
|
|
7
7
|
import { w } from "./watch.q1sEjPWL.js";
|
|
8
8
|
import { e as m } from "./query.BBf1UFkC.js";
|
|
9
9
|
import { e as g } from "./class-map.BiVq-cVR.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
const s = /* @__PURE__ */ new Set(),
|
|
3
|
-
let d = document.documentElement.dir || "ltr", m = document.documentElement.lang || navigator.language,
|
|
4
|
-
|
|
1
|
+
import { p as v } from "./purify.es.BIuh5IAZ.js";
|
|
2
|
+
const s = /* @__PURE__ */ new Set(), C = new MutationObserver(f), r = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map();
|
|
3
|
+
let d = document.documentElement.dir || "ltr", m = document.documentElement.lang || navigator.language, l;
|
|
4
|
+
C.observe(document.documentElement, {
|
|
5
5
|
attributeFilter: ["dir", "lang"],
|
|
6
6
|
attributes: !0
|
|
7
7
|
});
|
|
@@ -11,7 +11,7 @@ function A(e) {
|
|
|
11
11
|
function u(...e) {
|
|
12
12
|
e.map((t) => {
|
|
13
13
|
const o = t.$code.toLowerCase();
|
|
14
|
-
|
|
14
|
+
r.has(o) ? r.set(o, { ...r.get(o), ...t }) : r.set(o, t), l || (l = t);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
function g(...e) {
|
|
@@ -32,7 +32,7 @@ function f() {
|
|
|
32
32
|
typeof e.requestUpdate == "function" && e.requestUpdate();
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
|
-
let
|
|
35
|
+
let b = class {
|
|
36
36
|
constructor(t) {
|
|
37
37
|
this.host = t, this.host.addController(this);
|
|
38
38
|
}
|
|
@@ -64,7 +64,7 @@ let C = class {
|
|
|
64
64
|
const [c, p] = t.replace(/_/g, "-").split("-");
|
|
65
65
|
a = c ? c.toLowerCase() : "", i = p ? p.toLowerCase() : "", o = { language: a, region: i };
|
|
66
66
|
}
|
|
67
|
-
const n = i &&
|
|
67
|
+
const n = i && r.get(`${a}-${i}`) ? r.get(`${a}-${i}`) : void 0, y = r.get(a);
|
|
68
68
|
return { language: a, locale: o, primary: n, region: i, secondary: y };
|
|
69
69
|
}
|
|
70
70
|
/** Determines if the specified term exists, optionally checking the fallback translation. */
|
|
@@ -75,7 +75,7 @@ let C = class {
|
|
|
75
75
|
return o = {
|
|
76
76
|
includeFallback: !1,
|
|
77
77
|
...o
|
|
78
|
-
}, !!(a && a[t] || i && i[t] || o.includeFallback &&
|
|
78
|
+
}, !!(a && a[t] || i && i[t] || o.includeFallback && l && l[t]);
|
|
79
79
|
}
|
|
80
80
|
/** Outputs a translated term. */
|
|
81
81
|
term(t, ...o) {
|
|
@@ -85,11 +85,11 @@ let C = class {
|
|
|
85
85
|
n = a[t];
|
|
86
86
|
else if (i && i[t])
|
|
87
87
|
n = i[t];
|
|
88
|
-
else if (
|
|
89
|
-
n =
|
|
88
|
+
else if (l && l[t])
|
|
89
|
+
n = l[t];
|
|
90
90
|
else
|
|
91
91
|
return String(t);
|
|
92
|
-
return typeof n == "function" ?
|
|
92
|
+
return typeof n == "function" ? v.sanitize(n(...o)) : n;
|
|
93
93
|
}
|
|
94
94
|
languageName(t) {
|
|
95
95
|
return String(h.get(t) ?? "");
|
|
@@ -319,9 +319,6 @@ const w = {
|
|
|
319
319
|
darkModeImage: "Dark mode image",
|
|
320
320
|
dashSpacing: "Dash spacing",
|
|
321
321
|
dashWidth: "Dash width",
|
|
322
|
-
dashboardChart: "Dashboard chart",
|
|
323
|
-
dashboardFilter: "Dashboard filter",
|
|
324
|
-
dashboardTable: "Dashboard table",
|
|
325
322
|
dashed: "Dashed",
|
|
326
323
|
dateFormat: "Date Format",
|
|
327
324
|
default: "Default",
|
|
@@ -775,7 +772,6 @@ const w = {
|
|
|
775
772
|
splitIntoMultipleScreens: "Split into multiple screens",
|
|
776
773
|
splitIntoMultipleScreensHelpText: "Creates a slideshow of images split into scrollable screens",
|
|
777
774
|
start: "Start",
|
|
778
|
-
statCard: "Stat card",
|
|
779
775
|
status: "Status",
|
|
780
776
|
statusDate: "Status date",
|
|
781
777
|
stop: "Stop",
|
|
@@ -900,7 +896,7 @@ const w = {
|
|
|
900
896
|
zoomToFit: "Zoom to fit"
|
|
901
897
|
};
|
|
902
898
|
g(w);
|
|
903
|
-
class k extends
|
|
899
|
+
class k extends b {
|
|
904
900
|
}
|
|
905
901
|
g(w);
|
|
906
902
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as r, C as d } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as h } from "./component.styles.DMSLciL5.js";
|
|
3
3
|
import { c as y } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as u } from "./i18n.
|
|
4
|
+
import { L as u } from "./i18n.C0iakJkV.js";
|
|
5
5
|
import { w as g } from "./watch.q1sEjPWL.js";
|
|
6
6
|
import { i as v, x as p } from "./lit-element.jLBm65_O.js";
|
|
7
7
|
import { e as b } from "./query.BBf1UFkC.js";
|
|
@@ -6,7 +6,7 @@ import { E as He, b as de, a as $e } from "./index.Cpamj0jB.js";
|
|
|
6
6
|
import { c as We } from "./component.styles.DMSLciL5.js";
|
|
7
7
|
import { c as Ae } from "./custom-element.L4WJXn1j.js";
|
|
8
8
|
import { d as Oe } from "./debounce.DaHuiSGU.js";
|
|
9
|
-
import { L as Me } from "./i18n.
|
|
9
|
+
import { L as Me } from "./i18n.C0iakJkV.js";
|
|
10
10
|
import { w as q } from "./watch.q1sEjPWL.js";
|
|
11
11
|
import { e as j } from "./class-map.BiVq-cVR.js";
|
|
12
12
|
import { o as De } from "./if-defined.BRoBj_Rp.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as S } from "./url.LjsR2sB5.js";
|
|
2
|
-
import "./content-builder.
|
|
2
|
+
import "./content-builder.D_phDrlo.js";
|
|
3
3
|
import "./browser.BHOCIF_A.js";
|
|
4
4
|
import "./color.vLD2sNTs.js";
|
|
5
5
|
import "./modal.U1QltQKe.js";
|
|
@@ -11,7 +11,7 @@ import "./default-value.COZopaet.js";
|
|
|
11
11
|
import "./drag.DXEXVXPv.js";
|
|
12
12
|
import "./event.mFzZi4sr.js";
|
|
13
13
|
import { f as x } from "./form.DgwYWi0O.js";
|
|
14
|
-
import "./i18n.
|
|
14
|
+
import "./i18n.C0iakJkV.js";
|
|
15
15
|
import "./math.DqTA6ya4.js";
|
|
16
16
|
import "./scroll.xtO5yojm.js";
|
|
17
17
|
import { j as M } from "./dom.BQVKDNd8.js";
|
|
@@ -23,11 +23,11 @@ import "./toast.BXNbwZV8.js";
|
|
|
23
23
|
import "./image.mbpyiQpQ.js";
|
|
24
24
|
import "./number.CjNxU7Xs.js";
|
|
25
25
|
import "./parse.Cu5nBDTb.js";
|
|
26
|
-
import "./responsive.
|
|
26
|
+
import "./responsive.CrX-HUow.js";
|
|
27
27
|
import "./string.B_rEG27K.js";
|
|
28
28
|
import "./template.CsJd8Pb_.js";
|
|
29
29
|
import "./time.D_uFZqqe.js";
|
|
30
|
-
var
|
|
30
|
+
var d = /* @__PURE__ */ ((t) => (t.DoNothing = "do-nothing", t.DownloadAsset = "download-asset", t.ExpandAssetInFullScreen = "expand-asset-in-full-screen", t.OpenAssetOverview = "open-asset-overview", t.OpenLink = "open-link", t.OpenPage = "open-page", t.OpenSpace = "open-space", t.ShareAsset = "share-asset", t.ShowAssetInLibrary = "show-asset-in-library", t))(d || {}), b = /* @__PURE__ */ ((t) => (t.Bento = "bento", t.Carousel = "carousel", t.Grid = "grid", t.Ribbon = "ribbon", t))(b || {}), E = /* @__PURE__ */ ((t) => (t.Expand = "expand", t.Split = "split", t))(E || {}), L = /* @__PURE__ */ ((t) => (t.Api = "api", t.Manual = "manual", t))(L || {}), O = /* @__PURE__ */ ((t) => (t.Automatic = "automatic", t.Custom = "custom", t))(O || {}), f = /* @__PURE__ */ ((t) => (t.DoNothing = "do-nothing", t.OpenAssetInLibrary = "open-asset-in-library", t.OpenAssetOverview = "open-asset-overview", t.Zoom = "zoom", t))(f || {});
|
|
31
31
|
function ut(t) {
|
|
32
32
|
if (!this.ownerDocument.defaultView?.Matrix3 || !t)
|
|
33
33
|
return;
|
|
@@ -58,7 +58,7 @@ function ht(t, e = void 0) {
|
|
|
58
58
|
e ?? "_blank"
|
|
59
59
|
);
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function mt(t) {
|
|
62
62
|
if (!this.ownerDocument.defaultView?.Matrix3 || !t)
|
|
63
63
|
return;
|
|
64
64
|
const e = this.ownerDocument.defaultView?.location.origin;
|
|
@@ -70,7 +70,7 @@ function dt(t) {
|
|
|
70
70
|
e
|
|
71
71
|
);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function dt(t, e) {
|
|
74
74
|
if (!this.ownerDocument.defaultView?.Matrix3 || !t || !e)
|
|
75
75
|
return;
|
|
76
76
|
const s = this.ownerDocument.defaultView?.location.origin;
|
|
@@ -81,11 +81,11 @@ function mt(t, e) {
|
|
|
81
81
|
}
|
|
82
82
|
function ft(t) {
|
|
83
83
|
switch (t) {
|
|
84
|
-
case
|
|
84
|
+
case d.OpenAssetOverview:
|
|
85
85
|
return f.OpenAssetOverview;
|
|
86
|
-
case
|
|
86
|
+
case d.ShowAssetInLibrary:
|
|
87
87
|
return f.OpenAssetInLibrary;
|
|
88
|
-
case
|
|
88
|
+
case d.ExpandAssetInFullScreen:
|
|
89
89
|
return f.Zoom;
|
|
90
90
|
default:
|
|
91
91
|
return t;
|
|
@@ -119,8 +119,8 @@ class gt {
|
|
|
119
119
|
onMouseMove(e) {
|
|
120
120
|
if (!this.isDragging)
|
|
121
121
|
return;
|
|
122
|
-
const s = e.clientX - this.lastClientX,
|
|
123
|
-
!this.hasDragged && (Math.abs(e.clientX - this.startX) > this.dragThreshold || Math.abs(e.clientY - this.startY) > this.dragThreshold) && (this.hasDragged = !0), this.element.scrollLeft -= s, this.element.scrollTop -=
|
|
122
|
+
const s = e.clientX - this.lastClientX, n = e.clientY - this.lastClientY;
|
|
123
|
+
!this.hasDragged && (Math.abs(e.clientX - this.startX) > this.dragThreshold || Math.abs(e.clientY - this.startY) > this.dragThreshold) && (this.hasDragged = !0), this.element.scrollLeft -= s, this.element.scrollTop -= n, this.lastClientX = e.clientX, this.lastClientY = e.clientY;
|
|
124
124
|
}
|
|
125
125
|
onMouseUp() {
|
|
126
126
|
this.isDragging = !1;
|
|
@@ -133,58 +133,58 @@ const wt = (t) => t.ctrlKey || t.metaKey;
|
|
|
133
133
|
function C(t, e) {
|
|
134
134
|
if (!t?.document)
|
|
135
135
|
return !1;
|
|
136
|
-
const s = "mmmmmmmmmmwwwwwww",
|
|
136
|
+
const s = "mmmmmmmmmmwwwwwww", n = "32px", o = t.document.createElement("canvas").getContext("2d"), i = (l) => o ? (o.font = `${n} ${l}, monospace`, o.measureText(s).width) : 0, a = i("monospace");
|
|
137
137
|
return i(e) !== a;
|
|
138
138
|
}
|
|
139
139
|
function yt(t, e) {
|
|
140
140
|
if (!t?.document.fonts)
|
|
141
141
|
return !1;
|
|
142
142
|
let s = !1;
|
|
143
|
-
return t.document.fonts.forEach((
|
|
144
|
-
|
|
143
|
+
return t.document.fonts.forEach((n) => {
|
|
144
|
+
n.family.replace(/['"]/g, "").toLowerCase() === e.toLowerCase() && (s = !0);
|
|
145
145
|
}), s ? !0 : C(t, e);
|
|
146
146
|
}
|
|
147
147
|
function A(t) {
|
|
148
|
-
const e = /\bitalic\b/i, s = /\b(semi[-\s]?condensed|condensed)\b/i,
|
|
149
|
-
const o =
|
|
148
|
+
const e = /\bitalic\b/i, s = /\b(semi[-\s]?condensed|condensed)\b/i, n = (r) => {
|
|
149
|
+
const o = r.fontFamily.toLowerCase(), i = r.fontStyle.toLowerCase(), a = e.test(i), h = s.test(o);
|
|
150
150
|
let l = 0;
|
|
151
151
|
return a && (l = 1), h && (l = a ? 3 : 2), {
|
|
152
|
-
family:
|
|
152
|
+
family: r.fontFamily,
|
|
153
153
|
styleRank: l,
|
|
154
|
-
weight: Number(
|
|
154
|
+
weight: Number(r.fontWeight)
|
|
155
155
|
};
|
|
156
156
|
};
|
|
157
|
-
return [...t].sort((
|
|
158
|
-
const i = r
|
|
157
|
+
return [...t].sort((r, o) => {
|
|
158
|
+
const i = n(r), a = n(o);
|
|
159
159
|
return i.weight !== a.weight ? i.weight - a.weight : i.styleRank !== a.styleRank ? i.styleRank - a.styleRank : i.family.localeCompare(a.family);
|
|
160
160
|
});
|
|
161
161
|
}
|
|
162
|
-
function Dt(t, e, s = [300, 400, 500, 700, 900],
|
|
163
|
-
const
|
|
162
|
+
function Dt(t, e, s = [300, 400, 500, 700, 900], n = ["normal", "italic"]) {
|
|
163
|
+
const r = [];
|
|
164
164
|
if (C(t, e))
|
|
165
165
|
for (const o of s)
|
|
166
|
-
for (const i of
|
|
167
|
-
|
|
166
|
+
for (const i of n)
|
|
167
|
+
r.push({
|
|
168
168
|
fontFamily: e,
|
|
169
169
|
fontStyle: i,
|
|
170
170
|
fontWeight: o.toString(),
|
|
171
171
|
src: ""
|
|
172
172
|
});
|
|
173
|
-
return A(
|
|
173
|
+
return A(r);
|
|
174
174
|
}
|
|
175
175
|
function Mt(t) {
|
|
176
176
|
const e = new FormData(t), s = {};
|
|
177
|
-
return e.forEach((
|
|
178
|
-
if (Reflect.has(s,
|
|
179
|
-
const o = s[
|
|
180
|
-
Array.isArray(o) ? o.push(
|
|
177
|
+
return e.forEach((n, r) => {
|
|
178
|
+
if (Reflect.has(s, r)) {
|
|
179
|
+
const o = s[r];
|
|
180
|
+
Array.isArray(o) ? o.push(n) : s[r] = [s[r], n];
|
|
181
181
|
} else
|
|
182
|
-
s[
|
|
182
|
+
s[r] = n;
|
|
183
183
|
}), s;
|
|
184
184
|
}
|
|
185
185
|
function I(t) {
|
|
186
|
-
const s = [...t.getRootNode().querySelectorAll("*")],
|
|
187
|
-
return [...
|
|
186
|
+
const s = [...t.getRootNode().querySelectorAll("*")], n = [...t.elements], r = x.get(t), o = r ? Array.from(r) : [];
|
|
187
|
+
return [...n, ...o].sort(
|
|
188
188
|
(i, a) => s.indexOf(i) < s.indexOf(a) ? -1 : s.indexOf(i) > s.indexOf(a) ? 1 : 0
|
|
189
189
|
);
|
|
190
190
|
}
|
|
@@ -231,70 +231,66 @@ class vt {
|
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
function St(t, e) {
|
|
234
|
-
const s = {},
|
|
235
|
-
return Object.keys(t).forEach((
|
|
236
|
-
|
|
234
|
+
const s = {}, n = new Set(e);
|
|
235
|
+
return Object.keys(t).forEach((r) => {
|
|
236
|
+
n.has(r) || (s[r] = t[r]);
|
|
237
237
|
}), s;
|
|
238
238
|
}
|
|
239
239
|
function xt(t, e) {
|
|
240
240
|
const s = {};
|
|
241
|
-
return e.forEach((
|
|
242
|
-
|
|
241
|
+
return e.forEach((n) => {
|
|
242
|
+
n in t && (s[n] = t[n]);
|
|
243
243
|
}), s;
|
|
244
244
|
}
|
|
245
|
-
function
|
|
246
|
-
if (!(typeof t != "object" || t === null) && Object.prototype.hasOwnProperty.call(t, e))
|
|
247
|
-
return t[e];
|
|
248
|
-
}
|
|
249
|
-
function Lt(t, e) {
|
|
245
|
+
function bt(t, e) {
|
|
250
246
|
return typeof Storage < "u" && localStorage.getItem(t) !== null ? localStorage.getItem(t) : e;
|
|
251
247
|
}
|
|
252
|
-
function
|
|
248
|
+
function Et(t, e) {
|
|
253
249
|
typeof Storage < "u" && localStorage.setItem(t, e.toString());
|
|
254
250
|
}
|
|
255
251
|
const F = 10;
|
|
256
|
-
function
|
|
257
|
-
let s = 0,
|
|
258
|
-
for (; s <
|
|
259
|
-
const
|
|
260
|
-
t[
|
|
252
|
+
function Lt(t, e) {
|
|
253
|
+
let s = 0, n = t.length;
|
|
254
|
+
for (; s < n; ) {
|
|
255
|
+
const r = Math.floor((s + n) / 2);
|
|
256
|
+
t[r].time < e.time ? s = r + 1 : n = r;
|
|
261
257
|
}
|
|
262
258
|
t.splice(s, 0, e);
|
|
263
259
|
}
|
|
264
|
-
function
|
|
260
|
+
function k(t, e, s) {
|
|
265
261
|
return t.find(
|
|
266
|
-
(
|
|
262
|
+
(n) => n.col === e && n.row === s
|
|
267
263
|
) ?? null;
|
|
268
264
|
}
|
|
269
|
-
function
|
|
270
|
-
return new Promise((
|
|
265
|
+
function V(t, e, s) {
|
|
266
|
+
return new Promise((n) => {
|
|
271
267
|
if (e > 0 && Math.abs(t.currentTime - e) < 1e-3) {
|
|
272
|
-
|
|
268
|
+
n();
|
|
273
269
|
return;
|
|
274
270
|
}
|
|
275
271
|
if (e === 0) {
|
|
276
|
-
const
|
|
277
|
-
t.removeEventListener("seeked",
|
|
272
|
+
const r = () => {
|
|
273
|
+
t.removeEventListener("seeked", r);
|
|
278
274
|
const o = () => {
|
|
279
|
-
t.removeEventListener("seeked", o),
|
|
275
|
+
t.removeEventListener("seeked", o), n();
|
|
280
276
|
};
|
|
281
277
|
t.addEventListener("seeked", o), t.currentTime = 0;
|
|
282
278
|
};
|
|
283
|
-
t.addEventListener("seeked",
|
|
279
|
+
t.addEventListener("seeked", r), t.currentTime = s;
|
|
284
280
|
} else {
|
|
285
|
-
const
|
|
286
|
-
t.removeEventListener("seeked",
|
|
281
|
+
const r = () => {
|
|
282
|
+
t.removeEventListener("seeked", r), n();
|
|
287
283
|
};
|
|
288
|
-
t.addEventListener("seeked",
|
|
284
|
+
t.addEventListener("seeked", r), t.currentTime = e;
|
|
289
285
|
}
|
|
290
286
|
});
|
|
291
287
|
}
|
|
292
|
-
async function*
|
|
288
|
+
async function* Ot({
|
|
293
289
|
cache: t,
|
|
294
290
|
canvas: e,
|
|
295
291
|
duration: s,
|
|
296
|
-
maxInterval:
|
|
297
|
-
src:
|
|
292
|
+
maxInterval: n,
|
|
293
|
+
src: r,
|
|
298
294
|
video: o
|
|
299
295
|
}) {
|
|
300
296
|
if (!e)
|
|
@@ -305,11 +301,11 @@ async function* At({
|
|
|
305
301
|
try {
|
|
306
302
|
for (let u = 0; u < l; u++)
|
|
307
303
|
for (let c = 0; c < i; c++) {
|
|
308
|
-
const p = u * i + c,
|
|
309
|
-
if (
|
|
304
|
+
const p = u * i + c, m = p * n;
|
|
305
|
+
if (m >= s)
|
|
310
306
|
continue;
|
|
311
|
-
const g = c * h, w = u * a, y =
|
|
312
|
-
y ? yield { ...y, isLastFrame: D } : (await
|
|
307
|
+
const g = c * h, w = u * a, y = k(t[r] ?? [], c, u), D = c === i - 1 && u === l - 1 || m + n >= s;
|
|
308
|
+
y ? yield { ...y, isLastFrame: D } : (await V(o, m, n), v.drawImage(
|
|
313
309
|
o,
|
|
314
310
|
g,
|
|
315
311
|
w,
|
|
@@ -324,7 +320,7 @@ async function* At({
|
|
|
324
320
|
isLastFrame: D,
|
|
325
321
|
row: u,
|
|
326
322
|
rows: l,
|
|
327
|
-
time: Number(
|
|
323
|
+
time: Number(m.toFixed(F)),
|
|
328
324
|
x: g,
|
|
329
325
|
y: w
|
|
330
326
|
}), await new Promise(requestAnimationFrame);
|
|
@@ -332,47 +328,46 @@ async function* At({
|
|
|
332
328
|
} catch {
|
|
333
329
|
}
|
|
334
330
|
}
|
|
335
|
-
function
|
|
331
|
+
function At({
|
|
336
332
|
duration: t,
|
|
337
333
|
frameWidth: e,
|
|
338
334
|
playbackSpeed: s,
|
|
339
|
-
scale:
|
|
335
|
+
scale: n
|
|
340
336
|
}) {
|
|
341
|
-
let
|
|
342
|
-
return
|
|
337
|
+
let r = e * s / n;
|
|
338
|
+
return r > t && (r = t / 2), r;
|
|
343
339
|
}
|
|
344
340
|
export {
|
|
345
341
|
pt as C,
|
|
346
342
|
gt as D,
|
|
347
|
-
|
|
343
|
+
b as G,
|
|
348
344
|
vt as H,
|
|
349
|
-
|
|
345
|
+
E as O,
|
|
350
346
|
F as P,
|
|
351
|
-
|
|
352
|
-
|
|
347
|
+
L as S,
|
|
348
|
+
d as a,
|
|
353
349
|
O as b,
|
|
354
350
|
f as c,
|
|
355
351
|
Ct as d,
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
352
|
+
Ot as e,
|
|
353
|
+
k as f,
|
|
354
|
+
At as g,
|
|
355
|
+
Lt as h,
|
|
360
356
|
wt as i,
|
|
361
357
|
ut as j,
|
|
362
358
|
ct as k,
|
|
363
359
|
ht as l,
|
|
364
|
-
|
|
360
|
+
dt as m,
|
|
365
361
|
C as n,
|
|
366
362
|
St as o,
|
|
367
363
|
yt as p,
|
|
368
364
|
A as q,
|
|
369
|
-
|
|
370
|
-
|
|
365
|
+
bt as r,
|
|
366
|
+
mt as s,
|
|
371
367
|
ft as t,
|
|
372
368
|
Dt as u,
|
|
373
369
|
Mt as v,
|
|
374
|
-
|
|
370
|
+
Et as w,
|
|
375
371
|
I as x,
|
|
376
|
-
xt as y
|
|
377
|
-
Et as z
|
|
372
|
+
xt as y
|
|
378
373
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { C as _ } from "./button.
|
|
2
|
-
import { C as q, D as G } from "./dialog.
|
|
1
|
+
import { C as _ } from "./button.KnE3mcyM.js";
|
|
2
|
+
import { C as q, D as G } from "./dialog.DpZBbTCn.js";
|
|
3
3
|
import j from "../components/grid.js";
|
|
4
4
|
import P from "../components/grid-item.js";
|
|
5
5
|
import S from "../components/input.js";
|
|
6
6
|
import R from "../components/line-clamp.js";
|
|
7
|
-
import { C as F } from "./option.
|
|
7
|
+
import { C as F } from "./option.DnpkE8Xi.js";
|
|
8
8
|
import B from "../components/radio.js";
|
|
9
9
|
import K from "../components/radio-group.js";
|
|
10
10
|
import U from "../components/select.js";
|
|
11
11
|
import E from "../components/space.js";
|
|
12
|
-
import { C as H, H as V } from "./table.
|
|
12
|
+
import { C as H, H as V } from "./table.DNTm_GMS.js";
|
|
13
13
|
import { C as L } from "./typography.oDzoLbZS.js";
|
|
14
14
|
import { n as o, C as T } from "./lib-cortex-element.CVMmyPMC.js";
|
|
15
15
|
import W from "../components/dynamic-select.js";
|
|
16
16
|
import { c as D } from "./component.styles.DMSLciL5.js";
|
|
17
17
|
import { c as M } from "./custom-element.L4WJXn1j.js";
|
|
18
18
|
import { d as J } from "./debounce.DaHuiSGU.js";
|
|
19
|
-
import { L as z } from "./i18n.
|
|
19
|
+
import { L as z } from "./i18n.C0iakJkV.js";
|
|
20
20
|
import { w as g } from "./watch.q1sEjPWL.js";
|
|
21
21
|
import { a as X } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
22
22
|
import { i as O, x as l } from "./lit-element.jLBm65_O.js";
|
|
@@ -29,10 +29,10 @@ import { c as b } from "./repeat.DbF2p5ae.js";
|
|
|
29
29
|
import { n as N } from "./when.Dr1es41R.js";
|
|
30
30
|
import { t as ee } from "./toString.CRT5zqEU.js";
|
|
31
31
|
import ae from "../components/icon-button.js";
|
|
32
|
-
import { C as te } from "./image.
|
|
33
|
-
import { a as ie, D as $ } from "./asset.
|
|
32
|
+
import { C as te } from "./image.C9avagDq.js";
|
|
33
|
+
import { a as ie, D as $ } from "./asset.CG_yXtWK.js";
|
|
34
34
|
import { a as ne } from "./index.Cpamj0jB.js";
|
|
35
|
-
import { A as v } from "./content-builder.
|
|
35
|
+
import { A as v } from "./content-builder.D_phDrlo.js";
|
|
36
36
|
import { e as se, t as w } from "./string.B_rEG27K.js";
|
|
37
37
|
import { t as re } from "./toast.BXNbwZV8.js";
|
|
38
38
|
var A, I;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as s, C as x } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as m } from "./component.styles.DMSLciL5.js";
|
|
3
3
|
import { c as v } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as g } from "./i18n.
|
|
4
|
+
import { L as g } from "./i18n.C0iakJkV.js";
|
|
5
5
|
import { w as d } from "./watch.q1sEjPWL.js";
|
|
6
6
|
import { i as b, x as h } from "./lit-element.jLBm65_O.js";
|
|
7
7
|
import { r as f } from "./state.CSDxrqLd.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as p, C as _ } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as b } from "./custom-element.L4WJXn1j.js";
|
|
3
|
-
import { L as C } from "./i18n.
|
|
3
|
+
import { L as C } from "./i18n.C0iakJkV.js";
|
|
4
4
|
import { c } from "./math.DqTA6ya4.js";
|
|
5
5
|
import { w as d } from "./watch.q1sEjPWL.js";
|
|
6
6
|
import { i as y, x as s } from "./lit-element.jLBm65_O.js";
|
|
@@ -8,9 +8,9 @@ import { r as m } from "./state.CSDxrqLd.js";
|
|
|
8
8
|
import { e as f } from "./class-map.BiVq-cVR.js";
|
|
9
9
|
import { c as x } from "./repeat.DbF2p5ae.js";
|
|
10
10
|
import { n as h } from "./when.Dr1es41R.js";
|
|
11
|
-
import { C as z } from "./button.
|
|
11
|
+
import { C as z } from "./button.KnE3mcyM.js";
|
|
12
12
|
import v from "../components/icon-button.js";
|
|
13
|
-
import { C as $ } from "./option.
|
|
13
|
+
import { C as $ } from "./option.DnpkE8Xi.js";
|
|
14
14
|
import S from "../components/select.js";
|
|
15
15
|
import w from "../components/tooltip.js";
|
|
16
16
|
import { C as I } from "./typography.oDzoLbZS.js";
|
|
@@ -2,7 +2,7 @@ import In from "../components/resize-observer.js";
|
|
|
2
2
|
import { n as wt, C as Fn } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
3
|
import { c as Ln } from "./component.styles.DMSLciL5.js";
|
|
4
4
|
import { c as $n } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as Nn } from "./i18n.
|
|
5
|
+
import { L as Nn } from "./i18n.C0iakJkV.js";
|
|
6
6
|
import { s as Zi } from "./scroll.xtO5yojm.js";
|
|
7
7
|
import { w as ft } from "./watch.q1sEjPWL.js";
|
|
8
8
|
import { i as Bn } from "./dom.BQVKDNd8.js";
|
|
@@ -17,7 +17,7 @@ import { i as Ji } from "./guard.D4axKaMo.js";
|
|
|
17
17
|
import { o as tr } from "./map.D8heArFD.js";
|
|
18
18
|
import { o as Ue } from "./style-map.llVFPd__.js";
|
|
19
19
|
import { n as Pe } from "./when.Dr1es41R.js";
|
|
20
|
-
import { C as Yn } from "./button.
|
|
20
|
+
import { C as Yn } from "./button.KnE3mcyM.js";
|
|
21
21
|
import Xn from "../components/dropdown.js";
|
|
22
22
|
import qn from "../components/icon-button.js";
|
|
23
23
|
import Gn from "../components/menu.js";
|