@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.
Files changed (123) hide show
  1. package/library/chunks/{asset.DRyD94KY.js → asset.CG_yXtWK.js} +1 -1
  2. package/library/chunks/{button.Dy5bRiPQ.js → button.KnE3mcyM.js} +1 -1
  3. package/library/chunks/{color-swatch-group.nog-pq8b.js → color-swatch-group.p3Sdqlat.js} +5 -5
  4. package/library/chunks/{color-swatch.CLHdvqso.js → color-swatch.C0oPHfOu.js} +1 -1
  5. package/library/chunks/{confirm-popover.B6BAaXeR.js → confirm-popover.zmOFI4e-.js} +3 -3
  6. package/library/chunks/content-builder.D_phDrlo.js +127 -0
  7. package/library/chunks/{dialog.DZGlXo8d.js → dialog.DpZBbTCn.js} +1 -1
  8. package/library/chunks/{dot-pagination.Cp57TPpZ.js → dot-pagination.COBkyhoJ.js} +1 -1
  9. package/library/chunks/{endpoints.CkJu-Ory.js → endpoints.B7lcoc1N.js} +178 -179
  10. package/library/chunks/{file-on-demand.DCn6zLyM.js → file-on-demand.CbE-qsiP.js} +7 -7
  11. package/library/chunks/{folder-select.DTmBImnZ.js → folder-select.Bl_WkhVE.js} +4 -4
  12. package/library/chunks/{header.D_90t23Q.js → header.BduX6KJP.js} +1 -1
  13. package/library/chunks/{i18n.Bge6Wbrz.js → i18n.C0iakJkV.js} +12 -16
  14. package/library/chunks/{iframe.B0Z8DiDR.js → iframe.BPKV2K7z.js} +1 -1
  15. package/library/chunks/{image.CBjclAIZ.js → image.C9avagDq.js} +1 -1
  16. package/library/chunks/{index.Compqu8J.js → index.B3wJT3XS.js} +81 -86
  17. package/library/chunks/{list-editor.Dl366-77.js → list-editor.B2mFE9f7.js} +8 -8
  18. package/library/chunks/{option.CiBFEqo6.js → option.DnpkE8Xi.js} +1 -1
  19. package/library/chunks/{pagination.CTKL1LBP.js → pagination.C30LoTya.js} +3 -3
  20. package/library/chunks/{responsive.CEZXXas3.js → responsive.CrX-HUow.js} +1 -1
  21. package/library/chunks/{tab-group.3eI4V3C7.js → tab-group.05PY0smt.js} +2 -2
  22. package/library/chunks/{table.ZGeb7I52.js → table.DNTm_GMS.js} +5 -5
  23. package/library/chunks/{tree.dSjb5nEi.js → tree.CeMLCbs-.js} +1 -1
  24. package/library/components/alert.js +1 -1
  25. package/library/components/asset-link-format.js +4 -4
  26. package/library/components/atoms.js +11 -11
  27. package/library/components/border-input-group.js +1 -1
  28. package/library/components/breadcrumb.js +1 -1
  29. package/library/components/button.js +2 -2
  30. package/library/components/color-picker.js +2 -2
  31. package/library/components/color-swatch-group.js +6 -6
  32. package/library/components/color-swatch.js +2 -2
  33. package/library/components/confirm-popover.js +4 -4
  34. package/library/components/copy-button.js +1 -1
  35. package/library/components/corner-position-input-group.js +2 -2
  36. package/library/components/details.js +1 -1
  37. package/library/components/dialog.js +2 -2
  38. package/library/components/dot-pagination.js +2 -2
  39. package/library/components/drawer.js +1 -1
  40. package/library/components/dropdown.js +1 -1
  41. package/library/components/dynamic-select.js +3 -3
  42. package/library/components/e-chart.js +1744 -1710
  43. package/library/components/element-clamp.js +2 -2
  44. package/library/components/file-on-demand.js +8 -8
  45. package/library/components/folder-select.js +4 -4
  46. package/library/components/format-bytes.js +1 -1
  47. package/library/components/format-date.js +1 -1
  48. package/library/components/format-number.js +1 -1
  49. package/library/components/format-time.js +1 -1
  50. package/library/components/header.js +2 -2
  51. package/library/components/icon-button.js +1 -1
  52. package/library/components/iframe.js +2 -2
  53. package/library/components/image-comparer.js +1 -1
  54. package/library/components/image.js +2 -2
  55. package/library/components/input.js +1 -1
  56. package/library/components/line-clamp.js +1 -1
  57. package/library/components/list-editor.js +6 -6
  58. package/library/components/masonry.js +1 -1
  59. package/library/components/menu-item.js +1 -1
  60. package/library/components/menu.js +1 -1
  61. package/library/components/molecules.js +4 -4
  62. package/library/components/option.js +2 -2
  63. package/library/components/organisms.js +2 -2
  64. package/library/components/pagination.js +4 -4
  65. package/library/components/popup.js +1 -1
  66. package/library/components/position-picker.js +1 -1
  67. package/library/components/progress-bar.js +1 -1
  68. package/library/components/progress-ring.js +1 -1
  69. package/library/components/range.js +1 -1
  70. package/library/components/rating.js +1 -1
  71. package/library/components/relative-time.js +1 -1
  72. package/library/components/select.js +2 -2
  73. package/library/components/share-option-list.js +1 -1
  74. package/library/components/size-input-group.js +1 -1
  75. package/library/components/spinner.js +1 -1
  76. package/library/components/split-panel.js +1 -1
  77. package/library/components/tab-group.js +3 -3
  78. package/library/components/tab.js +1 -1
  79. package/library/components/table.js +4 -4
  80. package/library/components/tag.js +1 -1
  81. package/library/components/tooltip.js +1 -1
  82. package/library/components/tree-item.js +2 -2
  83. package/library/components/tree.js +2 -2
  84. package/library/components/typeface.js +1 -1
  85. package/library/components/types.js +24386 -24383
  86. package/library/components/video.js +2 -2
  87. package/library/package.json +1 -1
  88. package/library/packages/atoms/src/components/e-chart/e-chart.d.ts +6 -1
  89. package/library/packages/events/src/cx-e-chart-drill-down.d.ts +16 -0
  90. package/library/packages/events/src/events.d.ts +1 -0
  91. package/library/packages/molecules/src/stat-card/stat-card.d.ts +4 -4
  92. package/library/packages/organisms/src/content-builder/configs/index.d.ts +0 -5
  93. package/library/packages/organisms/src/content-builder/configs-controller.d.ts +0 -28
  94. package/library/packages/organisms/src/content-builder/content-builder-config.d.ts +0 -15
  95. package/library/packages/organisms/src/content-builder/plugins/index.d.ts +0 -5
  96. package/library/packages/organisms/src/dashboard-filter/dashboard-filter.d.ts +83 -0
  97. package/library/packages/organisms/src/dashboard-filter/dashboard-filter.styles.d.ts +2 -0
  98. package/library/packages/organisms/src/dashboard-table/dashboard-table.d.ts +45 -0
  99. package/library/packages/organisms/src/dashboard-table/dashboard-table.styles.d.ts +2 -0
  100. package/library/packages/organisms/src/index.d.ts +3 -1
  101. package/library/packages/services/src/api/dashboard/dashboard.d.ts +1 -8
  102. package/library/packages/services/src/api/endpoints.d.ts +0 -9
  103. package/library/packages/types/src/content-builder.d.ts +1 -6
  104. package/library/packages/utils/src/custom-element/i18n.d.ts +0 -4
  105. package/library/packages/utils/src/object/object.d.ts +0 -1
  106. package/library/react-web-component.d.ts +91 -125
  107. package/library/utils.js +158 -159
  108. package/package.json +1 -1
  109. package/library/chunks/content-builder.ViUhoc1l.js +0 -127
  110. package/library/packages/organisms/src/content-builder/configs/dashboard-chart.d.ts +0 -13
  111. package/library/packages/organisms/src/content-builder/configs/dashboard-filter.d.ts +0 -17
  112. package/library/packages/organisms/src/content-builder/configs/dashboard-table.d.ts +0 -12
  113. package/library/packages/organisms/src/content-builder/configs/dashboard.d.ts +0 -10
  114. package/library/packages/organisms/src/content-builder/configs/stat-card.d.ts +0 -18
  115. package/library/packages/organisms/src/content-builder/plugins/dashboard-chart.d.ts +0 -5
  116. package/library/packages/organisms/src/content-builder/plugins/dashboard-filter.d.ts +0 -5
  117. package/library/packages/organisms/src/content-builder/plugins/dashboard-table.d.ts +0 -5
  118. package/library/packages/organisms/src/content-builder/plugins/dashboard.d.ts +0 -5
  119. package/library/packages/organisms/src/content-builder/plugins/stat-card.d.ts +0 -5
  120. package/library/packages/organisms/src/content-builder/components/{chart-plan.builder → chart-plan-builder}/chart-plan-builder.d.ts +0 -0
  121. package/library/packages/organisms/src/content-builder/components/{chart-plan.builder → chart-plan-builder}/chart-plan-builder.styles.d.ts +0 -0
  122. package/library/packages/organisms/src/content-builder/components/{chart-plan.builder → chart-plan-builder}/chart-plan-schema.d.ts +0 -0
  123. 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.dSjb5nEi.js";
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.Bge6Wbrz.js";
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.Dy5bRiPQ.js";
19
- import { C as jt } from "./dialog.DZGlXo8d.js";
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.CiBFEqo6.js";
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.3eI4V3C7.js";
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.B6BAaXeR.js";
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.dSjb5nEi.js";
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.CkJu-Ory.js";
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.Bge6Wbrz.js";
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.Dy5bRiPQ.js";
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.Bge6Wbrz.js";
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 b } from "./purify.es.BIuh5IAZ.js";
2
- const s = /* @__PURE__ */ new Set(), v = new MutationObserver(f), l = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map();
3
- let d = document.documentElement.dir || "ltr", m = document.documentElement.lang || navigator.language, r;
4
- v.observe(document.documentElement, {
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
- l.has(o) ? l.set(o, { ...l.get(o), ...t }) : l.set(o, t), r || (r = t);
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 C = class {
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 && l.get(`${a}-${i}`) ? l.get(`${a}-${i}`) : void 0, y = l.get(a);
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 && r && r[t]);
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 (r && r[t])
89
- n = r[t];
88
+ else if (l && l[t])
89
+ n = l[t];
90
90
  else
91
91
  return String(t);
92
- return typeof n == "function" ? b.sanitize(n(...o)) : n;
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 C {
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.Bge6Wbrz.js";
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.Bge6Wbrz.js";
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.ViUhoc1l.js";
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.Bge6Wbrz.js";
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.CEZXXas3.js";
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 m = /* @__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))(m || {}), E = /* @__PURE__ */ ((t) => (t.Bento = "bento", t.Carousel = "carousel", t.Grid = "grid", t.Ribbon = "ribbon", t))(E || {}), L = /* @__PURE__ */ ((t) => (t.Expand = "expand", t.Split = "split", t))(L || {}), b = /* @__PURE__ */ ((t) => (t.Api = "api", t.Manual = "manual", t))(b || {}), 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 || {});
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 dt(t) {
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 mt(t, e) {
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 m.OpenAssetOverview:
84
+ case d.OpenAssetOverview:
85
85
  return f.OpenAssetOverview;
86
- case m.ShowAssetInLibrary:
86
+ case d.ShowAssetInLibrary:
87
87
  return f.OpenAssetInLibrary;
88
- case m.ExpandAssetInFullScreen:
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, r = 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 -= r, this.lastClientX = e.clientX, this.lastClientY = e.clientY;
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", r = "32px", o = t.document.createElement("canvas").getContext("2d"), i = (l) => o ? (o.font = `${r} ${l}, monospace`, o.measureText(s).width) : 0, a = i("monospace");
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((r) => {
144
- r.family.replace(/['"]/g, "").toLowerCase() === e.toLowerCase() && (s = !0);
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, r = (n) => {
149
- const o = n.fontFamily.toLowerCase(), i = n.fontStyle.toLowerCase(), a = e.test(i), h = s.test(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: n.fontFamily,
152
+ family: r.fontFamily,
153
153
  styleRank: l,
154
- weight: Number(n.fontWeight)
154
+ weight: Number(r.fontWeight)
155
155
  };
156
156
  };
157
- return [...t].sort((n, o) => {
158
- const i = r(n), a = r(o);
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], r = ["normal", "italic"]) {
163
- const n = [];
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 r)
167
- n.push({
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(n);
173
+ return A(r);
174
174
  }
175
175
  function Mt(t) {
176
176
  const e = new FormData(t), s = {};
177
- return e.forEach((r, n) => {
178
- if (Reflect.has(s, n)) {
179
- const o = s[n];
180
- Array.isArray(o) ? o.push(r) : s[n] = [s[n], r];
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[n] = r;
182
+ s[r] = n;
183
183
  }), s;
184
184
  }
185
185
  function I(t) {
186
- const s = [...t.getRootNode().querySelectorAll("*")], r = [...t.elements], n = x.get(t), o = n ? Array.from(n) : [];
187
- return [...r, ...o].sort(
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 = {}, r = new Set(e);
235
- return Object.keys(t).forEach((n) => {
236
- r.has(n) || (s[n] = t[n]);
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((r) => {
242
- r in t && (s[r] = t[r]);
241
+ return e.forEach((n) => {
242
+ n in t && (s[n] = t[n]);
243
243
  }), s;
244
244
  }
245
- function Et(t, e) {
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 bt(t, e) {
248
+ function Et(t, e) {
253
249
  typeof Storage < "u" && localStorage.setItem(t, e.toString());
254
250
  }
255
251
  const F = 10;
256
- function Ot(t, e) {
257
- let s = 0, r = t.length;
258
- for (; s < r; ) {
259
- const n = Math.floor((s + r) / 2);
260
- t[n].time < e.time ? s = n + 1 : r = n;
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 V(t, e, s) {
260
+ function k(t, e, s) {
265
261
  return t.find(
266
- (r) => r.col === e && r.row === s
262
+ (n) => n.col === e && n.row === s
267
263
  ) ?? null;
268
264
  }
269
- function k(t, e, s) {
270
- return new Promise((r) => {
265
+ function V(t, e, s) {
266
+ return new Promise((n) => {
271
267
  if (e > 0 && Math.abs(t.currentTime - e) < 1e-3) {
272
- r();
268
+ n();
273
269
  return;
274
270
  }
275
271
  if (e === 0) {
276
- const n = () => {
277
- t.removeEventListener("seeked", n);
272
+ const r = () => {
273
+ t.removeEventListener("seeked", r);
278
274
  const o = () => {
279
- t.removeEventListener("seeked", o), r();
275
+ t.removeEventListener("seeked", o), n();
280
276
  };
281
277
  t.addEventListener("seeked", o), t.currentTime = 0;
282
278
  };
283
- t.addEventListener("seeked", n), t.currentTime = s;
279
+ t.addEventListener("seeked", r), t.currentTime = s;
284
280
  } else {
285
- const n = () => {
286
- t.removeEventListener("seeked", n), r();
281
+ const r = () => {
282
+ t.removeEventListener("seeked", r), n();
287
283
  };
288
- t.addEventListener("seeked", n), t.currentTime = e;
284
+ t.addEventListener("seeked", r), t.currentTime = e;
289
285
  }
290
286
  });
291
287
  }
292
- async function* At({
288
+ async function* Ot({
293
289
  cache: t,
294
290
  canvas: e,
295
291
  duration: s,
296
- maxInterval: r,
297
- src: n,
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, d = p * r;
309
- if (d >= s)
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 = V(t[n] ?? [], c, u), D = c === i - 1 && u === l - 1 || d + r >= s;
312
- y ? yield { ...y, isLastFrame: D } : (await k(o, d, r), v.drawImage(
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(d.toFixed(F)),
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 It({
331
+ function At({
336
332
  duration: t,
337
333
  frameWidth: e,
338
334
  playbackSpeed: s,
339
- scale: r
335
+ scale: n
340
336
  }) {
341
- let n = e * s / r;
342
- return n > t && (n = t / 2), n;
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
- E as G,
343
+ b as G,
348
344
  vt as H,
349
- L as O,
345
+ E as O,
350
346
  F as P,
351
- b as S,
352
- m as a,
347
+ L as S,
348
+ d as a,
353
349
  O as b,
354
350
  f as c,
355
351
  Ct as d,
356
- At as e,
357
- V as f,
358
- It as g,
359
- Ot as h,
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
- mt as m,
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
- Lt as r,
370
- dt as s,
365
+ bt as r,
366
+ mt as s,
371
367
  ft as t,
372
368
  Dt as u,
373
369
  Mt as v,
374
- bt as w,
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.Dy5bRiPQ.js";
2
- import { C as q, D as G } from "./dialog.DZGlXo8d.js";
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.CiBFEqo6.js";
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.ZGeb7I52.js";
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.Bge6Wbrz.js";
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.CBjclAIZ.js";
33
- import { a as ie, D as $ } from "./asset.DRyD94KY.js";
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.ViUhoc1l.js";
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.Bge6Wbrz.js";
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.Bge6Wbrz.js";
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.Dy5bRiPQ.js";
11
+ import { C as z } from "./button.KnE3mcyM.js";
12
12
  import v from "../components/icon-button.js";
13
- import { C as $ } from "./option.CiBFEqo6.js";
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";
@@ -1,4 +1,4 @@
1
- import { D as i } from "./content-builder.ViUhoc1l.js";
1
+ import { D as i } from "./content-builder.D_phDrlo.js";
2
2
  function s(r, t = [350, 696, 1024]) {
3
3
  const o = getComputedStyle(r), e = [
4
4
  Number.parseFloat(o.getPropertyValue("--breakpoint-mobile").trim()),
@@ -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.Bge6Wbrz.js";
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.Dy5bRiPQ.js";
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";