@orangelogic/design-system 2.100.0 → 2.102.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.
Files changed (70) hide show
  1. package/library/chunks/{asset.CKtT9q4k.js → asset.CtL7ACp7.js} +1 -1
  2. package/library/chunks/{color-swatch-group.Cfn8EGfK.js → color-swatch-group.C6c53two.js} +3 -3
  3. package/library/chunks/{color-swatch.BUwHT5Cx.js → color-swatch.GsiCvj1n.js} +1 -1
  4. package/library/chunks/{confirm-popover.BMGnWZnC.js → confirm-popover.PiSCZY6-.js} +1 -1
  5. package/library/chunks/debounce.CIEhztrj.js +97 -0
  6. package/library/chunks/{dialog._xvAZqaE.js → dialog.BTU6B2_4.js} +9 -10
  7. package/library/chunks/event.BeKOsirN.js +46 -0
  8. package/library/chunks/{file-on-demand.CIjtKP0H.js → file-on-demand.DCxabV6T.js} +4 -4
  9. package/library/chunks/{folder-select.D4Ft0qRc.js → folder-select.BM7yeAsU.js} +2 -2
  10. package/library/chunks/{image.BnB-fJ8g.js → image.D207g003.js} +1 -1
  11. package/library/chunks/{list-editor.B_mnvgtZ.js → list-editor.CMakbQyU.js} +182 -184
  12. package/library/chunks/{table.D4HIzy47.js → table.Cm-ynClk.js} +977 -962
  13. package/library/chunks/transformation.Dir8s_wm.js +151 -0
  14. package/library/chunks/{tree.Hh8WCK7l.js → tree.DAiWVFiY.js} +91 -80
  15. package/library/components/alert.js +7 -8
  16. package/library/components/asset-link-format.js +867 -672
  17. package/library/components/atoms.js +4 -4
  18. package/library/components/color-picker.js +1 -1
  19. package/library/components/color-swatch-group.js +4 -4
  20. package/library/components/color-swatch.js +2 -2
  21. package/library/components/confirm-popover.js +2 -2
  22. package/library/components/details.js +1 -2
  23. package/library/components/dialog.js +3 -4
  24. package/library/components/drawer.js +83 -73
  25. package/library/components/dropdown.js +7 -8
  26. package/library/components/dynamic-select.js +1 -1
  27. package/library/components/element-clamp.js +1 -2
  28. package/library/components/file-on-demand.js +5 -5
  29. package/library/components/folder-select.js +2 -2
  30. package/library/components/image.js +2 -2
  31. package/library/components/line-clamp.js +4 -5
  32. package/library/components/list-editor.js +4 -4
  33. package/library/components/masonry.js +1 -1
  34. package/library/components/molecules.js +4 -4
  35. package/library/components/organisms.js +2 -2
  36. package/library/components/popup.js +73 -74
  37. package/library/components/range.js +1 -1
  38. package/library/components/select.js +1 -2
  39. package/library/components/share-option-list.js +1 -1
  40. package/library/components/sidebar.js +6 -6
  41. package/library/components/table.js +1 -1
  42. package/library/components/tag.js +44 -31
  43. package/library/components/tooltip.js +1 -2
  44. package/library/components/tree-item.js +4 -3
  45. package/library/components/tree.js +1 -1
  46. package/library/components/types.js +760 -765
  47. package/library/components/video.js +2 -2
  48. package/library/package.json +1 -1
  49. package/library/packages/atoms/src/components/drawer/drawer.d.ts +8 -0
  50. package/library/packages/atoms/src/components/table/components/table-toolbar/table-toolbar.d.ts +11 -1
  51. package/library/packages/atoms/src/components/tag/tag.d.ts +11 -1
  52. package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +10 -0
  53. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +8 -0
  54. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +4 -0
  55. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-quality/asset-link-format-quality.d.ts +4 -0
  56. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-resize/asset-link-format-resize.d.ts +4 -0
  57. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-rotation/asset-link-format-rotation.d.ts +4 -0
  58. package/library/packages/organisms/src/content-builder/styleController.d.ts +2 -1
  59. package/library/packages/types/src/asset-link-format.d.ts +2 -0
  60. package/library/packages/types/src/content-builder.d.ts +5 -1
  61. package/library/packages/types/src/tag.d.ts +1 -0
  62. package/library/packages/utils/src/transformation/transformation.d.ts +4 -1
  63. package/library/react-web-component.d.ts +19 -3
  64. package/library/utils.js +138 -140
  65. package/package.json +1 -1
  66. package/library/chunks/animate.El-MpOws.js +0 -37
  67. package/library/chunks/browser.BHOCIF_A.js +0 -84
  68. package/library/chunks/debounce.DaHuiSGU.js +0 -15
  69. package/library/chunks/event.mFzZi4sr.js +0 -11
  70. package/library/chunks/transformation.Cqz3hPaQ.js +0 -144
@@ -1,12 +1,12 @@
1
1
  import { default as e } from "./bicolor-picker.js";
2
2
  import { default as a } from "./border-input-group.js";
3
- import { C as p } from "../chunks/color-swatch.BUwHT5Cx.js";
4
- import { C } from "../chunks/confirm-popover.BMGnWZnC.js";
3
+ import { C as p } from "../chunks/color-swatch.GsiCvj1n.js";
4
+ import { C } from "../chunks/confirm-popover.PiSCZY6-.js";
5
5
  import { default as u } from "./corner-position-input-group.js";
6
6
  import { C as m } from "../chunks/cropper.Bib8Abm3.js";
7
7
  import { default as i } from "./dynamic-select.js";
8
- import { C as c } from "../chunks/folder-select.D4Ft0qRc.js";
9
- import { C as P } from "../chunks/list-editor.B_mnvgtZ.js";
8
+ import { C as c } from "../chunks/folder-select.BM7yeAsU.js";
9
+ import { C as P } from "../chunks/list-editor.CMakbQyU.js";
10
10
  import { default as I } from "./masonry.js";
11
11
  import { default as y } from "./padding-input-group.js";
12
12
  import { default as w } from "./position-picker.js";
@@ -1,6 +1,6 @@
1
1
  import { default as a } from "./asset-link-format.js";
2
- import { C as t } from "../chunks/color-swatch-group.Cfn8EGfK.js";
3
- import { C } from "../chunks/file-on-demand.CIjtKP0H.js";
2
+ import { C as t } from "../chunks/color-swatch-group.C6c53two.js";
3
+ import { C } from "../chunks/file-on-demand.DCxabV6T.js";
4
4
  export {
5
5
  a as CxAssetLinkFormat,
6
6
  t as CxColorSwatchGroup,
@@ -6,10 +6,9 @@ import { e as He } from "../chunks/base.D76d76ww.js";
6
6
  import { e as ht } from "../chunks/class-map.BiVq-cVR.js";
7
7
  import { o as Lt } from "../chunks/if-defined.BRoBj_Rp.js";
8
8
  import { o as se } from "../chunks/style-map.llVFPd__.js";
9
- import { i as gt, p as ne, f as Ie, a as We } from "../chunks/browser.BHOCIF_A.js";
9
+ import { i as mt, d as Ie, p as ne, f as We, a as qe } from "../chunks/debounce.CIEhztrj.js";
10
10
  import { c as ye } from "../chunks/component.styles.CRO4Odto.js";
11
- import { c as qe } from "../chunks/custom-element.L4WJXn1j.js";
12
- import { d as Ve } from "../chunks/debounce.DaHuiSGU.js";
11
+ import { c as Ve } from "../chunks/custom-element.L4WJXn1j.js";
13
12
  import { L as je } from "../chunks/i18n.DK1uYlJT.js";
14
13
  import { n as Ue } from "../chunks/when.Dr1es41R.js";
15
14
  /**
@@ -617,7 +616,7 @@ function kt(e) {
617
616
  }
618
617
  return t || o;
619
618
  }
620
- function mi(e) {
619
+ function gi(e) {
621
620
  class t extends e {
622
621
  constructor(...i) {
623
622
  super(...i), this.handleFullscreenChange = this.handleFullscreenChange.bind(this);
@@ -666,15 +665,15 @@ function mi(e) {
666
665
  kt(this.dialogEl) && (this.dialogEl.hidePopover(), this.dialogEl.showPopover());
667
666
  }
668
667
  firstUpdated(i) {
669
- super.firstUpdated(i), gt() && k().then(() => {
668
+ super.firstUpdated(i), mt() && k().then(() => {
670
669
  this.dialogEl.showPopover();
671
670
  });
672
671
  }
673
672
  runConnectedCallback() {
674
- gt() && document.addEventListener("fullscreenchange", this.handleFullscreenChange);
673
+ mt() && document.addEventListener("fullscreenchange", this.handleFullscreenChange);
675
674
  }
676
675
  disconnectedCallback() {
677
- super.disconnectedCallback(), gt() && document.removeEventListener(
676
+ super.disconnectedCallback(), mt() && document.removeEventListener(
678
677
  "fullscreenchange",
679
678
  this.handleFullscreenChange
680
679
  );
@@ -740,7 +739,7 @@ function mi(e) {
740
739
  h();
741
740
  },
742
741
  { once: !0 }
743
- ), gt() || this.dialogEl.hidePopover()) : h();
742
+ ), mt() || this.dialogEl.hidePopover()) : h();
744
743
  };
745
744
  return this.elements.forEach((a, l) => {
746
745
  Xt(a, r(a, l), n(a, l));
@@ -749,7 +748,7 @@ function mi(e) {
749
748
  }
750
749
  return t;
751
750
  }
752
- const gi = "showPopover" in document.createElement("div");
751
+ const mi = "showPopover" in document.createElement("div");
753
752
  class yi {
754
753
  constructor() {
755
754
  this.root = document.body, this.stack = [], this.handlePointerdown = (t) => {
@@ -784,7 +783,7 @@ class yi {
784
783
  t.preventDefault();
785
784
  return;
786
785
  }
787
- gi || o?.type !== "manual" && o && this.closeOverlay(o);
786
+ mi || o?.type !== "manual" && o && this.closeOverlay(o);
788
787
  }, this.bindEvents();
789
788
  }
790
789
  get document() {
@@ -1025,11 +1024,11 @@ const Ti = async (e, t, o) => {
1025
1024
  x: h,
1026
1025
  y: d
1027
1026
  } = de(c, i, l), u = i, p = {}, f = 0;
1028
- for (let m = 0; m < a.length; m++) {
1027
+ for (let g = 0; g < a.length; g++) {
1029
1028
  const {
1030
- name: g,
1029
+ name: m,
1031
1030
  fn: v
1032
- } = a[m], {
1031
+ } = a[g], {
1033
1032
  x,
1034
1033
  y: E,
1035
1034
  data: C,
@@ -1050,8 +1049,8 @@ const Ti = async (e, t, o) => {
1050
1049
  });
1051
1050
  h = x ?? h, d = E ?? d, p = {
1052
1051
  ...p,
1053
- [g]: {
1054
- ...p[g],
1052
+ [m]: {
1053
+ ...p[m],
1055
1054
  ...C
1056
1055
  }
1057
1056
  }, P && f <= 50 && (f++, typeof P == "object" && (P.placement && (u = P.placement), P.rects && (c = P.rects === !0 ? await n.getElementRects({
@@ -1061,7 +1060,7 @@ const Ti = async (e, t, o) => {
1061
1060
  }) : P.rects), {
1062
1061
  x: h,
1063
1062
  y: d
1064
- } = de(c, u, l)), m = -1);
1063
+ } = de(c, u, l)), g = -1);
1065
1064
  }
1066
1065
  return {
1067
1066
  x: h,
@@ -1087,8 +1086,8 @@ async function pt(e, t) {
1087
1086
  elementContext: d = "floating",
1088
1087
  altBoundary: u = !1,
1089
1088
  padding: p = 0
1090
- } = st(t, e), f = we(p), g = a[u ? d === "floating" ? "reference" : "floating" : d], v = Pt(await r.getClippingRect({
1091
- element: (o = await (r.isElement == null ? void 0 : r.isElement(g))) == null || o ? g : g.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(a.floating)),
1089
+ } = st(t, e), f = we(p), m = a[u ? d === "floating" ? "reference" : "floating" : d], v = Pt(await r.getClippingRect({
1090
+ element: (o = await (r.isElement == null ? void 0 : r.isElement(m))) == null || o ? m : m.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(a.floating)),
1092
1091
  boundary: c,
1093
1092
  rootBoundary: h,
1094
1093
  strategy: l
@@ -1137,10 +1136,10 @@ const Di = (e) => ({
1137
1136
  const d = we(h), u = {
1138
1137
  x: o,
1139
1138
  y: i
1140
- }, p = Zt(s), f = Qt(p), m = await n.getDimensions(c), g = p === "y", v = g ? "top" : "left", x = g ? "bottom" : "right", E = g ? "clientHeight" : "clientWidth", C = r.reference[f] + r.reference[p] - u[p] - r.floating[f], P = u[p] - r.reference[p], $ = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(c));
1139
+ }, p = Zt(s), f = Qt(p), g = await n.getDimensions(c), m = p === "y", v = m ? "top" : "left", x = m ? "bottom" : "right", E = m ? "clientHeight" : "clientWidth", C = r.reference[f] + r.reference[p] - u[p] - r.floating[f], P = u[p] - r.reference[p], $ = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(c));
1141
1140
  let A = $ ? $[E] : 0;
1142
1141
  (!A || !await (n.isElement == null ? void 0 : n.isElement($))) && (A = a.floating[E] || r.floating[f]);
1143
- const V = C / 2 - P / 2, M = A / 2 - m[f] / 2 - 1, L = Q(d[v], M), X = Q(d[x], M), H = L, G = A - m[f] - X, R = A / 2 - m[f] / 2 + V, et = _t(H, R, G), j = !l.arrow && at(s) != null && R !== et && r.reference[f] / 2 - (R < H ? L : X) - m[f] / 2 < 0, F = j ? R < H ? R - H : R - G : 0;
1142
+ const V = C / 2 - P / 2, M = A / 2 - g[f] / 2 - 1, L = Q(d[v], M), X = Q(d[x], M), H = L, G = A - g[f] - X, R = A / 2 - g[f] / 2 + V, et = _t(H, R, G), j = !l.arrow && at(s) != null && R !== et && r.reference[f] / 2 - (R < H ? L : X) - g[f] / 2 < 0, F = j ? R < H ? R - H : R - G : 0;
1144
1143
  return {
1145
1144
  [p]: u[p] + F,
1146
1145
  data: {
@@ -1172,14 +1171,14 @@ const Di = (e) => ({
1172
1171
  fallbackPlacements: u,
1173
1172
  fallbackStrategy: p = "bestFit",
1174
1173
  fallbackAxisSideDirection: f = "none",
1175
- flipAlignment: m = !0,
1176
- ...g
1174
+ flipAlignment: g = !0,
1175
+ ...m
1177
1176
  } = st(e, t);
1178
1177
  if ((o = r.arrow) != null && o.alignmentOffset)
1179
1178
  return {};
1180
- const v = Z(s), x = Y(a), E = Z(a) === a, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), P = u || (E || !m ? [Et(a)] : Pi(a)), $ = f !== "none";
1181
- !u && $ && P.push(...Si(a, m, f, C));
1182
- const A = [a, ...P], V = await pt(t, g), M = [];
1179
+ const v = Z(s), x = Y(a), E = Z(a) === a, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), P = u || (E || !g ? [Et(a)] : Pi(a)), $ = f !== "none";
1180
+ !u && $ && P.push(...Si(a, g, f, C));
1181
+ const A = [a, ...P], V = await pt(t, m), M = [];
1183
1182
  let L = ((i = r.flip) == null ? void 0 : i.overflows) || [];
1184
1183
  if (h && M.push(V[v]), d) {
1185
1184
  const R = Ei(s, n, C);
@@ -1350,11 +1349,11 @@ const Ni = function(e) {
1350
1349
  mainAxis: r = !0,
1351
1350
  crossAxis: n = !1,
1352
1351
  limiter: a = {
1353
- fn: (g) => {
1352
+ fn: (m) => {
1354
1353
  let {
1355
1354
  x: v,
1356
1355
  y: x
1357
- } = g;
1356
+ } = m;
1358
1357
  return {
1359
1358
  x: v,
1360
1359
  y: x
@@ -1368,23 +1367,23 @@ const Ni = function(e) {
1368
1367
  }, h = await pt(t, l), d = Y(Z(s)), u = be(d);
1369
1368
  let p = c[u], f = c[d];
1370
1369
  if (r) {
1371
- const g = u === "y" ? "top" : "left", v = u === "y" ? "bottom" : "right", x = p + h[g], E = p - h[v];
1370
+ const m = u === "y" ? "top" : "left", v = u === "y" ? "bottom" : "right", x = p + h[m], E = p - h[v];
1372
1371
  p = _t(x, p, E);
1373
1372
  }
1374
1373
  if (n) {
1375
- const g = d === "y" ? "top" : "left", v = d === "y" ? "bottom" : "right", x = f + h[g], E = f - h[v];
1374
+ const m = d === "y" ? "top" : "left", v = d === "y" ? "bottom" : "right", x = f + h[m], E = f - h[v];
1376
1375
  f = _t(x, f, E);
1377
1376
  }
1378
- const m = a.fn({
1377
+ const g = a.fn({
1379
1378
  ...t,
1380
1379
  [u]: p,
1381
1380
  [d]: f
1382
1381
  });
1383
1382
  return {
1384
- ...m,
1383
+ ...g,
1385
1384
  data: {
1386
- x: m.x - o,
1387
- y: m.y - i,
1385
+ x: g.x - o,
1386
+ y: g.y - i,
1388
1387
  enabled: {
1389
1388
  [u]: r,
1390
1389
  [d]: n
@@ -1410,15 +1409,15 @@ const Ni = function(e) {
1410
1409
  ...c
1411
1410
  } = st(e, t), h = await pt(t, c), d = Z(s), u = at(s), p = Y(s) === "y", {
1412
1411
  width: f,
1413
- height: m
1412
+ height: g
1414
1413
  } = r.floating;
1415
- let g, v;
1416
- d === "top" || d === "bottom" ? (g = d, v = u === (await (n.isRTL == null ? void 0 : n.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (v = d, g = u === "end" ? "top" : "bottom");
1417
- const x = m - h.top - h.bottom, E = f - h.left - h.right, C = Q(m - h[g], x), P = Q(f - h[v], E), $ = !t.middlewareData.shift;
1414
+ let m, v;
1415
+ d === "top" || d === "bottom" ? (m = d, v = u === (await (n.isRTL == null ? void 0 : n.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (v = d, m = u === "end" ? "top" : "bottom");
1416
+ const x = g - h.top - h.bottom, E = f - h.left - h.right, C = Q(g - h[m], x), P = Q(f - h[v], E), $ = !t.middlewareData.shift;
1418
1417
  let A = C, V = P;
1419
1418
  if ((o = t.middlewareData.shift) != null && o.enabled.x && (V = E), (i = t.middlewareData.shift) != null && i.enabled.y && (A = x), $ && !u) {
1420
1419
  const L = T(h.left, 0), X = T(h.right, 0), H = T(h.top, 0), G = T(h.bottom, 0);
1421
- p ? V = f - 2 * (L !== 0 || X !== 0 ? L + X : T(h.left, h.right)) : A = m - 2 * (H !== 0 || G !== 0 ? H + G : T(h.top, h.bottom));
1420
+ p ? V = f - 2 * (L !== 0 || X !== 0 ? L + X : T(h.left, h.right)) : A = g - 2 * (H !== 0 || G !== 0 ? H + G : T(h.top, h.bottom));
1422
1421
  }
1423
1422
  await l({
1424
1423
  ...t,
@@ -1426,7 +1425,7 @@ const Ni = function(e) {
1426
1425
  availableHeight: A
1427
1426
  });
1428
1427
  const M = await n.getDimensions(a.floating);
1429
- return f !== M.width || m !== M.height ? {
1428
+ return f !== M.width || g !== M.height ? {
1430
1429
  reset: {
1431
1430
  rects: !0
1432
1431
  }
@@ -1461,7 +1460,7 @@ function fe(e) {
1461
1460
  return !At() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof D(e).ShadowRoot;
1462
1461
  }
1463
1462
  const Bi = /* @__PURE__ */ new Set(["inline", "contents"]);
1464
- function mt(e) {
1463
+ function gt(e) {
1465
1464
  const {
1466
1465
  overflow: t,
1467
1466
  overflowX: o,
@@ -1533,7 +1532,7 @@ function tt(e) {
1533
1532
  }
1534
1533
  function Ee(e) {
1535
1534
  const t = tt(e);
1536
- return rt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : W(t) && mt(t) ? t : Ee(t);
1535
+ return rt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : W(t) && gt(t) ? t : Ee(t);
1537
1536
  }
1538
1537
  function ut(e, t, o) {
1539
1538
  var i;
@@ -1541,7 +1540,7 @@ function ut(e, t, o) {
1541
1540
  const s = Ee(e), r = s === ((i = e.ownerDocument) == null ? void 0 : i.body), n = D(s);
1542
1541
  if (r) {
1543
1542
  const a = Bt(n);
1544
- return t.concat(n, n.visualViewport || [], mt(s) ? s : [], a && o ? ut(a) : []);
1543
+ return t.concat(n, n.visualViewport || [], gt(s) ? s : [], a && o ? ut(a) : []);
1545
1544
  }
1546
1545
  return t.concat(s, ut(s, [], o));
1547
1546
  }
@@ -1596,10 +1595,10 @@ function ot(e, t, o, i) {
1596
1595
  let l = (s.left + a.x) / n.x, c = (s.top + a.y) / n.y, h = s.width / n.x, d = s.height / n.y;
1597
1596
  if (r) {
1598
1597
  const u = D(r), p = i && z(i) ? D(i) : i;
1599
- let f = u, m = Bt(f);
1600
- for (; m && i && p !== f; ) {
1601
- const g = nt(m), v = m.getBoundingClientRect(), x = B(m), E = v.left + (m.clientLeft + parseFloat(x.paddingLeft)) * g.x, C = v.top + (m.clientTop + parseFloat(x.paddingTop)) * g.y;
1602
- l *= g.x, c *= g.y, h *= g.x, d *= g.y, l += E, c += C, f = D(m), m = Bt(f);
1598
+ let f = u, g = Bt(f);
1599
+ for (; g && i && p !== f; ) {
1600
+ const m = nt(g), v = g.getBoundingClientRect(), x = B(g), E = v.left + (g.clientLeft + parseFloat(x.paddingLeft)) * m.x, C = v.top + (g.clientTop + parseFloat(x.paddingTop)) * m.y;
1601
+ l *= m.x, c *= m.y, h *= m.x, d *= m.y, l += E, c += C, f = D(g), g = Bt(f);
1603
1602
  }
1604
1603
  }
1605
1604
  return Pt({
@@ -1639,7 +1638,7 @@ function Xi(e) {
1639
1638
  scrollTop: 0
1640
1639
  }, c = I(1);
1641
1640
  const h = I(0), d = W(i);
1642
- if ((d || !d && !r) && ((lt(i) !== "body" || mt(n)) && (l = Tt(i)), W(i))) {
1641
+ if ((d || !d && !r) && ((lt(i) !== "body" || gt(n)) && (l = Tt(i)), W(i))) {
1643
1642
  const p = ot(i);
1644
1643
  c = nt(i), h.x = p.x + i.clientLeft, h.y = p.y + i.clientTop;
1645
1644
  }
@@ -1690,7 +1689,7 @@ function to(e, t) {
1690
1689
  y: c
1691
1690
  };
1692
1691
  }
1693
- function me(e, t, o) {
1692
+ function ge(e, t, o) {
1694
1693
  let i;
1695
1694
  if (t === "viewport")
1696
1695
  i = Qi(e, o);
@@ -1722,7 +1721,7 @@ function eo(e, t) {
1722
1721
  let n = r ? tt(e) : e;
1723
1722
  for (; z(n) && !rt(n); ) {
1724
1723
  const a = B(n), l = Rt(n);
1725
- !l && a.position === "fixed" && (s = null), (r ? !l && !s : !l && a.position === "static" && !!s && Zi.has(s.position) || mt(n) && !l && Ae(e, n)) ? i = i.filter((h) => h !== n) : s = a, n = tt(n);
1724
+ !l && a.position === "fixed" && (s = null), (r ? !l && !s : !l && a.position === "static" && !!s && Zi.has(s.position) || gt(n) && !l && Ae(e, n)) ? i = i.filter((h) => h !== n) : s = a, n = tt(n);
1726
1725
  }
1727
1726
  return t.set(e, i), i;
1728
1727
  }
@@ -1734,9 +1733,9 @@ function io(e) {
1734
1733
  strategy: s
1735
1734
  } = e;
1736
1735
  const n = [...o === "clippingAncestors" ? St(t) ? [] : eo(t, this._c) : [].concat(o), i], a = n[0], l = n.reduce((c, h) => {
1737
- const d = me(t, h, s);
1736
+ const d = ge(t, h, s);
1738
1737
  return c.top = T(d.top, c.top), c.right = Q(d.right, c.right), c.bottom = Q(d.bottom, c.bottom), c.left = T(d.left, c.left), c;
1739
- }, me(t, a, s));
1738
+ }, ge(t, a, s));
1740
1739
  return {
1741
1740
  width: l.right - l.left,
1742
1741
  height: l.bottom - l.top,
@@ -1765,7 +1764,7 @@ function so(e, t, o) {
1765
1764
  l.x = ie(s);
1766
1765
  }
1767
1766
  if (i || !i && !r)
1768
- if ((lt(t) !== "body" || mt(s)) && (a = Tt(t)), i) {
1767
+ if ((lt(t) !== "body" || gt(s)) && (a = Tt(t)), i) {
1769
1768
  const p = ot(t, !0, r, t);
1770
1769
  l.x = p.x + t.clientLeft, l.y = p.y + t.clientTop;
1771
1770
  } else s && c();
@@ -1781,7 +1780,7 @@ function so(e, t, o) {
1781
1780
  function $t(e) {
1782
1781
  return B(e).position === "static";
1783
1782
  }
1784
- function ge(e, t) {
1783
+ function me(e, t) {
1785
1784
  if (!W(e) || B(e).position === "fixed")
1786
1785
  return null;
1787
1786
  if (t)
@@ -1802,9 +1801,9 @@ function Se(e, t) {
1802
1801
  }
1803
1802
  return o;
1804
1803
  }
1805
- let i = ge(e, t);
1804
+ let i = me(e, t);
1806
1805
  for (; i && Hi(i) && $t(i); )
1807
- i = ge(i, t);
1806
+ i = me(i, t);
1808
1807
  return i && rt(i) && $t(i) && !Rt(i) ? o : i || ji(e) || o;
1809
1808
  }
1810
1809
  const no = async function(e) {
@@ -1854,8 +1853,8 @@ function ao(e, t) {
1854
1853
  } = c;
1855
1854
  if (a || t(), !u || !p)
1856
1855
  return;
1857
- const f = yt(d), m = yt(s.clientWidth - (h + u)), g = yt(s.clientHeight - (d + p)), v = yt(h), E = {
1858
- rootMargin: -f + "px " + -m + "px " + -g + "px " + -v + "px",
1856
+ const f = yt(d), g = yt(s.clientWidth - (h + u)), m = yt(s.clientHeight - (d + p)), v = yt(h), E = {
1857
+ rootMargin: -f + "px " + -g + "px " + -m + "px " + -v + "px",
1859
1858
  threshold: T(0, Q(1, l)) || 1
1860
1859
  };
1861
1860
  let C = !0;
@@ -1906,11 +1905,11 @@ function Ht(e, t, o, i) {
1906
1905
  (E = p) == null || E.observe(t);
1907
1906
  })), o();
1908
1907
  }), c && !l && p.observe(c), p.observe(t));
1909
- let f, m = l ? ot(e) : null;
1910
- l && g();
1911
- function g() {
1908
+ let f, g = l ? ot(e) : null;
1909
+ l && m();
1910
+ function m() {
1912
1911
  const v = ot(e);
1913
- m && !Re(m, v) && o(), m = v, f = requestAnimationFrame(g);
1912
+ g && !Re(g, v) && o(), g = v, f = requestAnimationFrame(m);
1914
1913
  }
1915
1914
  return o(), () => {
1916
1915
  var v;
@@ -2012,12 +2011,12 @@ class po {
2012
2011
  i,
2013
2012
  qt({
2014
2013
  apply: ({ availableHeight: u, availableWidth: p, rects: { floating: f } }) => {
2015
- const m = Math.max(
2014
+ const g = Math.max(
2016
2015
  co,
2017
2016
  Math.floor(u)
2018
- ), g = f.height;
2019
- this.initialHeight = this.isConstrained && this.initialHeight || g, this.isConstrained = g < this.initialHeight || m <= g;
2020
- const v = this.isConstrained ? `${m}px` : "";
2017
+ ), m = f.height;
2018
+ this.initialHeight = this.isConstrained && this.initialHeight || m, this.isConstrained = m < this.initialHeight || g <= m;
2019
+ const v = this.isConstrained ? `${g}px` : "";
2021
2020
  Object.assign(o.style, {
2022
2021
  maxHeight: v,
2023
2022
  maxWidth: `${Math.floor(p)}px`
@@ -2226,8 +2225,8 @@ class fo extends oe {
2226
2225
  ));
2227
2226
  }
2228
2227
  }
2229
- const mo = Vt`:host{pointer-events:none;--swc-overlay-animation-distance:var(--cx-spacing-medium);display:contents}.dialog{box-sizing:border-box;--cx-overlay-open:true;background:0 0;border:0;max-width:calc(100vw - 16px);height:auto;max-height:calc(100dvh - 16px);margin:0;padding:0;display:flex;position:fixed;inset:0 auto auto 0;overflow:visible;opacity:1!important}.dialog:focus{outline:none}:host(:not([open])) .dialog{--cx-overlay-open:false}.dialog::backdrop{display:none}.dialog:before{content:"";position:absolute;inset:-999em;pointer-events:auto!important}.dialog:not(.not-immediately-closable):before{display:none}.dialog>div{width:100%}::slotted(*){pointer-events:auto;visibility:visible!important}.dialog.defer-slotted-visibility>slot::slotted(*){filter:opacity(0);pointer-events:none;translate:-200vw -200vh;visibility:hidden!important}.dialog.defer-slotted-visibility.defer-slotted-opened>slot::slotted(*){filter:none;pointer-events:auto;translate:none;visibility:visible!important}.dialog:not([actual-placement])[placement*=top]{padding-block:var(--swc-overlay-animation-distance);margin-top:var(--swc-overlay-animation-distance)}.dialog:not([actual-placement])[placement*=right]{padding-inline:var(--swc-overlay-animation-distance);margin-left:calc(-1 * var(--swc-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=bottom]{padding-block:var(--swc-overlay-animation-distance);margin-top:calc(-1 * var(--swc-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=left]{padding-inline:var(--swc-overlay-animation-distance);margin-left:var(--swc-overlay-animation-distance)}.dialog[actual-placement*=top]{padding-block:var(--swc-overlay-animation-distance);margin-top:var(--swc-overlay-animation-distance)}.dialog[actual-placement*=right]{padding-inline:var(--swc-overlay-animation-distance);margin-left:calc(-1 * var(--swc-overlay-animation-distance))}.dialog[actual-placement*=bottom]{padding-block:var(--swc-overlay-animation-distance);margin-top:calc(-1 * var(--swc-overlay-animation-distance))}.dialog[actual-placement*=left]{padding-inline:var(--swc-overlay-animation-distance);margin-left:var(--swc-overlay-animation-distance)}slot[name=longpress-describedby-descriptor]{display:none}@supports selector(:open){.dialog{opacity:0}.dialog:open{opacity:1}}@supports selector(:popover-open){.dialog{opacity:0}.dialog:popover-open{opacity:1}}@supports (overlay:auto){.dialog{transition:all var(--cx-transition-fast,.13s), translate 0s, display var(--cx-transition-fast,.13s);transition-behavior:allow-discrete}.dialog:popover-open,.dialog:modal{display:flex}}.dialog[actual-placement]{z-index:calc(var(--swc-overlay-z-index-base,1000) + var(--swc-overlay-open-count))}@supports (not selector(:open)) and (not selector(:popover-open)){:host:not([open]) .dialog{pointer-events:none}}`;
2230
- class go extends Event {
2228
+ const go = Vt`:host{pointer-events:none;--swc-overlay-animation-distance:var(--cx-spacing-medium);display:contents}.dialog{box-sizing:border-box;--cx-overlay-open:true;background:0 0;border:0;max-width:calc(100vw - 16px);height:auto;max-height:calc(100dvh - 16px);margin:0;padding:0;display:flex;position:fixed;inset:0 auto auto 0;overflow:visible;opacity:1!important}.dialog:focus{outline:none}:host(:not([open])) .dialog{--cx-overlay-open:false}.dialog::backdrop{display:none}.dialog:before{content:"";position:absolute;inset:-999em;pointer-events:auto!important}.dialog:not(.not-immediately-closable):before{display:none}.dialog>div{width:100%}::slotted(*){pointer-events:auto;visibility:visible!important}.dialog.defer-slotted-visibility>slot::slotted(*){filter:opacity(0);pointer-events:none;translate:-200vw -200vh;visibility:hidden!important}.dialog.defer-slotted-visibility.defer-slotted-opened>slot::slotted(*){filter:none;pointer-events:auto;translate:none;visibility:visible!important}.dialog:not([actual-placement])[placement*=top]{padding-block:var(--swc-overlay-animation-distance);margin-top:var(--swc-overlay-animation-distance)}.dialog:not([actual-placement])[placement*=right]{padding-inline:var(--swc-overlay-animation-distance);margin-left:calc(-1 * var(--swc-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=bottom]{padding-block:var(--swc-overlay-animation-distance);margin-top:calc(-1 * var(--swc-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=left]{padding-inline:var(--swc-overlay-animation-distance);margin-left:var(--swc-overlay-animation-distance)}.dialog[actual-placement*=top]{padding-block:var(--swc-overlay-animation-distance);margin-top:var(--swc-overlay-animation-distance)}.dialog[actual-placement*=right]{padding-inline:var(--swc-overlay-animation-distance);margin-left:calc(-1 * var(--swc-overlay-animation-distance))}.dialog[actual-placement*=bottom]{padding-block:var(--swc-overlay-animation-distance);margin-top:calc(-1 * var(--swc-overlay-animation-distance))}.dialog[actual-placement*=left]{padding-inline:var(--swc-overlay-animation-distance);margin-left:var(--swc-overlay-animation-distance)}slot[name=longpress-describedby-descriptor]{display:none}@supports selector(:open){.dialog{opacity:0}.dialog:open{opacity:1}}@supports selector(:popover-open){.dialog{opacity:0}.dialog:popover-open{opacity:1}}@supports (overlay:auto){.dialog{transition:all var(--cx-transition-fast,.13s), translate 0s, display var(--cx-transition-fast,.13s);transition-behavior:allow-discrete}.dialog:popover-open,.dialog:modal{display:flex}}.dialog[actual-placement]{z-index:calc(var(--swc-overlay-z-index-base,1000) + var(--swc-overlay-open-count))}@supports (not selector(:open)) and (not selector(:popover-open)){:host:not([open]) .dialog{pointer-events:none}}`;
2229
+ class mo extends Event {
2231
2230
  constructor(t, o, i) {
2232
2231
  super("slottable-request", {
2233
2232
  bubbles: !1,
@@ -2367,7 +2366,7 @@ var Eo = Object.defineProperty, Po = Object.getOwnPropertyDescriptor, S = (e, t,
2367
2366
  };
2368
2367
  const Co = "showPopover" in document.createElement("div");
2369
2368
  let ct = pi(dt);
2370
- Co ? ct = mi(ct) : ct = ui(ct);
2369
+ Co ? ct = gi(ct) : ct = ui(ct);
2371
2370
  var K;
2372
2371
  const O = (K = class extends ct {
2373
2372
  constructor() {
@@ -2528,7 +2527,7 @@ const O = (K = class extends ct {
2528
2527
  }
2529
2528
  requestSlottable() {
2530
2529
  this.lastRequestSlottableState !== this.open && (this.open || document.body.offsetHeight, this.dispatchEvent(
2531
- new go(
2530
+ new mo(
2532
2531
  "overlay-content",
2533
2532
  this.open ? {} : yo
2534
2533
  )
@@ -2592,7 +2591,7 @@ const O = (K = class extends ct {
2592
2591
  }, K.styles = [
2593
2592
  ye,
2594
2593
  Vt`
2595
- ${ze(mo)}
2594
+ ${ze(go)}
2596
2595
  `
2597
2596
  ], K.openCount = 1, K);
2598
2597
  S([
@@ -2719,7 +2718,7 @@ let b = class extends Be {
2719
2718
  }
2720
2719
  connectedUpdatedCallback() {
2721
2720
  if (this.strategy === "overlay" && (this.start(), !ne)) {
2722
- const e = Ie(this);
2721
+ const e = We(this);
2723
2722
  e && (this.autoSizeBoundary = e, this.flipBoundary = e, this.shiftBoundary = e);
2724
2723
  }
2725
2724
  }
@@ -2811,7 +2810,7 @@ let b = class extends Be {
2811
2810
  placement: this.placement === "center" ? "bottom" : this.placement,
2812
2811
  platform: {
2813
2812
  ...Mt,
2814
- getOffsetParent: (t) => this.strategy === "absolute" ? Mt.getOffsetParent(t, Ao) : this.strategy === "overlay" && ne ? window : We(t) || window
2813
+ getOffsetParent: (t) => this.strategy === "absolute" ? Mt.getOffsetParent(t, Ao) : this.strategy === "overlay" && ne ? window : qe(t) || window
2815
2814
  },
2816
2815
  strategy: ["overlay", "fixed"].includes(this.strategy) ? "fixed" : "absolute"
2817
2816
  }).then(({ middlewareData: t, placement: o, x: i, y: s }) => {
@@ -2978,10 +2977,10 @@ w([
2978
2977
  y({ attribute: "auto-width-factor" })
2979
2978
  ], b.prototype, "autoWidthFactor", 2);
2980
2979
  w([
2981
- Ve(200)
2980
+ Ie(200)
2982
2981
  ], b.prototype, "start", 1);
2983
2982
  b = w([
2984
- qe("cx-popup")
2983
+ Ve("cx-popup")
2985
2984
  ], b);
2986
2985
  export {
2987
2986
  b as default
@@ -3,7 +3,7 @@ import { n as u, C as I } from "../chunks/lib-cortex-element.CVMmyPMC.js";
3
3
  import { c as P } from "../chunks/component.styles.CRO4Odto.js";
4
4
  import { f as F } from "../chunks/form-control.styles.CaGWmeAS.js";
5
5
  import { c as U } from "../chunks/custom-element.L4WJXn1j.js";
6
- import { d as $ } from "../chunks/debounce.DaHuiSGU.js";
6
+ import { d as $ } from "../chunks/debounce.CIEhztrj.js";
7
7
  import { d as O } from "../chunks/default-value.COZopaet.js";
8
8
  import { d as w } from "../chunks/drag.DXEXVXPv.js";
9
9
  import { F as N } from "../chunks/form.Ch1cwYzO.js";
@@ -3,10 +3,9 @@ import { C } from "../chunks/typography.DJC_UXgs.js";
3
3
  import { n as a, C as S } from "../chunks/lib-cortex-element.CVMmyPMC.js";
4
4
  import { c as k } from "../chunks/component.styles.CRO4Odto.js";
5
5
  import { f as D } from "../chunks/form-control.styles.CaGWmeAS.js";
6
- import { s as x, a as y } from "../chunks/animate.El-MpOws.js";
6
+ import { s as x, a as y, w as v } from "../chunks/event.BeKOsirN.js";
7
7
  import { c as z } from "../chunks/custom-element.L4WJXn1j.js";
8
8
  import { d as L } from "../chunks/default-value.COZopaet.js";
9
- import { w as v } from "../chunks/event.mFzZi4sr.js";
10
9
  import { F as $ } from "../chunks/form.Ch1cwYzO.js";
11
10
  import { L as I } from "../chunks/i18n.DK1uYlJT.js";
12
11
  import { s as F } from "../chunks/scroll.xtO5yojm.js";
@@ -2,7 +2,7 @@ import _ from "./icon.js";
2
2
  import I from "./resize-observer.js";
3
3
  import { n as h, C as P } from "../chunks/lib-cortex-element.CVMmyPMC.js";
4
4
  import { c as C } from "../chunks/component.styles.CRO4Odto.js";
5
- import { c as O } from "../chunks/animate.El-MpOws.js";
5
+ import { c as O } from "../chunks/event.BeKOsirN.js";
6
6
  import { c as w } from "../chunks/custom-element.L4WJXn1j.js";
7
7
  import { L as E } from "../chunks/i18n.DK1uYlJT.js";
8
8
  import { c as b } from "../chunks/math.DqTA6ya4.js";
@@ -8,11 +8,11 @@ import { c as x } from "../chunks/custom-element.L4WJXn1j.js";
8
8
  import { d as y } from "../chunks/drag.DXEXVXPv.js";
9
9
  import { H as C } from "../chunks/slot.j5oheLJC.js";
10
10
  import { w as g } from "../chunks/watch.BCJD77bD.js";
11
- import { i as z, E as h, x as l } from "../chunks/lit-element.jLBm65_O.js";
11
+ import { i as z, E as p, x as l } from "../chunks/lit-element.jLBm65_O.js";
12
12
  import { r as w } from "../chunks/state.CSDxrqLd.js";
13
13
  import { e as $ } from "../chunks/query.BBf1UFkC.js";
14
- import { e as p } from "../chunks/class-map.BiVq-cVR.js";
15
- const k = z`:host{--_background-color:var(--background-color,var(--cx-color-neutral-0));--_hint-color:var(--hint-color,var(--cx-color-primary-300));--closed-width:0px;display:block}.sidebar{grid-template-areas:"main";display:grid;position:relative}.sidebar,.group--opened,.group--closed,.group_content,.open_trigger{height:100%}.group--opened,.group--closed{grid-area:main}.sidebar__header{padding:var(--cx-spacing-x-small) var(--cx-spacing-small);position:relative}.sidebar--no-header .sidebar__header{display:none}.content{padding:var(--cx-spacing-small);padding-bottom:var(--cx-spacing-small);flex-grow:1}.sidebar__divider{--spacing:6px;position:absolute;top:0}.sidebar__divider:hover{--color:var(--_hint-color);cursor:col-resize}.sidebar--not-resizable .sidebar__divider{cursor:default;pointer-events:none}.sidebar--not-resizable .sidebar__divider:hover{--color:inherit;cursor:default}.sidebar--left .sidebar__divider{right:calc(0px - var(--spacing))}.sidebar--right .sidebar__divider{left:calc(0px - var(--spacing))}.close_trigger{visibility:hidden;top:max(calc(var(--header-height) / 2), 32px);position:absolute;transform:translateY(-50%)}.close_trigger>cx-icon-button::part(base){background-color:var(--cx-color-neutral-0)}.sidebar--left .close_trigger{right:0;transform:translate(50%,-50%)}.sidebar--right .close_trigger{left:0;transform:translate(-50%,-50%)}.sidebar--opened:hover .close_trigger{visibility:visible}.open_trigger{padding:var(--cx-spacing-medium);cursor:pointer;background-color:var(--_background-color);position:relative}.open_trigger_hint{--spacing:0;position:absolute;top:0;right:0}.open_trigger:hover .open_trigger_hint{--color:var(--_hint-color)}.group_container{overflow-x:clip}.group--opened,.group--closed{flex-direction:column;display:flex}.group--closed{width:var(--closed-width)}.group_content{background-color:var(--_background-color);contain:inline-size;overflow-x:clip}.group--opened .group_content{width:var(--size);min-width:var(--min-width);max-width:var(--max-width)}.sidebar--opened .group--opened{visibility:visible}.sidebar--opened .group--closed{visibility:hidden;width:0}.sidebar:not(.sidebar--opened) .group--closed{visibility:visible}.sidebar:not(.sidebar--opened) .group--opened{contain:inline-size;visibility:hidden;width:0}`;
14
+ import { e as h } from "../chunks/class-map.BiVq-cVR.js";
15
+ const k = z`:host{--_background-color:var(--background-color,var(--cx-color-neutral-0));--_hint-color:var(--hint-color,var(--cx-color-primary-300));--closed-width:0px;display:block}.sidebar{grid-template-rows:100%;grid-template-areas:"main";display:grid;position:relative}.sidebar,.group--opened,.group--closed,.group_content,.open_trigger{height:100%}.group--opened,.group--closed{grid-area:main}.sidebar__header{padding:var(--cx-spacing-x-small) var(--cx-spacing-small);position:relative}.sidebar--no-header .sidebar__header{display:none}.content{padding:var(--cx-spacing-small);padding-bottom:var(--cx-spacing-small);flex-grow:1}.sidebar__divider{--spacing:6px;position:absolute;top:0}.sidebar__divider:hover{--color:var(--_hint-color);cursor:col-resize}.sidebar--not-resizable .sidebar__divider{cursor:default;pointer-events:none}.sidebar--not-resizable .sidebar__divider:hover{--color:inherit;cursor:default}.sidebar--left .sidebar__divider{right:calc(0px - var(--spacing))}.sidebar--right .sidebar__divider{left:calc(0px - var(--spacing))}.close_trigger{visibility:hidden;top:max(calc(var(--header-height) / 2), 32px);position:absolute;transform:translateY(-50%)}.close_trigger>cx-icon-button::part(base){background-color:var(--cx-color-neutral-0)}.sidebar--left .close_trigger{right:0;transform:translate(50%,-50%)}.sidebar--right .close_trigger{left:0;transform:translate(-50%,-50%)}.sidebar--opened:hover .close_trigger{visibility:visible}.open_trigger{padding:var(--cx-spacing-medium);cursor:pointer;background-color:var(--_background-color);position:relative}.open_trigger_hint{--spacing:0;position:absolute;top:0;right:0}.open_trigger:hover .open_trigger_hint{--color:var(--_hint-color)}.group_container{overflow-x:clip}.group--opened,.group--closed{flex-direction:column;display:flex}.group--closed{width:var(--closed-width)}.group_content{background-color:var(--_background-color);contain:inline-size;overflow:clip auto}.group--opened .group_content{width:var(--size);min-width:var(--min-width);max-width:var(--max-width)}.sidebar--opened .group--opened{visibility:visible}.sidebar--opened .group--closed{visibility:hidden;width:0}.sidebar:not(.sidebar--opened) .group--closed{visibility:visible}.sidebar:not(.sidebar--opened) .group--opened{contain:inline-size;visibility:hidden;width:0}`;
16
16
  var S = Object.defineProperty, B = Object.getOwnPropertyDescriptor, r = (e, o, t, a) => {
17
17
  for (var s = a > 1 ? void 0 : a ? B(o, t) : o, n = e.length - 1, c; n >= 0; n--)
18
18
  (c = e[n]) && (s = (a ? c(o, t, s) : c(s)) || s);
@@ -66,17 +66,17 @@ let i = class extends m {
66
66
  }
67
67
  render() {
68
68
  const e = this.hasSlotController.test("header");
69
- return l`<div part="base" class=${p({
69
+ return l`<div part="base" class=${h({
70
70
  sidebar: !0,
71
71
  "sidebar--left": this.side === "left",
72
72
  "sidebar--no-header": !e,
73
73
  "sidebar--not-resizable": !this.resizable,
74
74
  "sidebar--opened": this.open,
75
75
  "sidebar--right": this.side === "right"
76
- })}><div class=${p({
76
+ })}><div class=${h({
77
77
  "group--closed": !this.open,
78
78
  "group--opened": this.open
79
- })}><div class="group_content"><cx-resize-observer @cx-resize=${this.handleResize}><div part="header" class="sidebar__header"><slot name="header"></slot></div></cx-resize-observer>${e ? l`<cx-divider style="--spacing:0"></cx-divider>` : h}<div part="content" class="content"><slot></slot></div></div><cx-divider class="sidebar__divider" vertical @mousedown=${this.handleDrag} @touchstart=${this.handleDrag}></cx-divider>${this.collapsible ? l`<div class="close_trigger" @click=${this.handleCloseTriggerClick}><cx-icon-button outline size="small" name=${this.side === "right" ? "keyboard_double_arrow_right" : "keyboard_double_arrow_left"}></cx-icon-button></div>` : h}</div>${this.collapsible ? l`<div class="group--closed"><div class="group_content"><div class="open_trigger" @click=${this.handleOpenTriggerClick}><slot name="open_trigger"><cx-icon name=${this.side === "right" ? "keyboard_double_arrow_left" : "keyboard_double_arrow_right"}></cx-icon></slot><cx-divider class="open_trigger_hint" vertical></cx-divider></div></div></div>` : h}</div>`;
79
+ })}><div class="group_content"><cx-resize-observer @cx-resize=${this.handleResize}><div part="header" class="sidebar__header"><slot name="header"></slot></div></cx-resize-observer>${e ? l`<cx-divider style="--spacing:0"></cx-divider>` : p}<div part="content" class="content"><slot></slot></div></div><cx-divider class="sidebar__divider" vertical @mousedown=${this.handleDrag} @touchstart=${this.handleDrag}></cx-divider>${this.collapsible ? l`<div class="close_trigger" @click=${this.handleCloseTriggerClick}><cx-icon-button outline size="small" name=${this.side === "right" ? "keyboard_double_arrow_right" : "keyboard_double_arrow_left"}></cx-icon-button></div>` : p}</div>${this.collapsible ? l`<div class="group--closed"><div class="group_content"><div class="open_trigger" @click=${this.handleOpenTriggerClick}><slot name="open_trigger"><cx-icon name=${this.side === "right" ? "keyboard_double_arrow_left" : "keyboard_double_arrow_right"}></cx-icon></slot><cx-divider class="open_trigger_hint" vertical></cx-divider></div></div></div>` : p}</div>`;
80
80
  }
81
81
  };
82
82
  i.styles = [f, k];
@@ -9,7 +9,7 @@ import "./spinner.js";
9
9
  import "../chunks/lib-cortex-element.CVMmyPMC.js";
10
10
  import "../chunks/component.styles.CRO4Odto.js";
11
11
  import "../chunks/overlayscrollbars.BMav4RQ4.js";
12
- import { A as z, k as F, l as P, d as S, g, b as y, i as A, m as D, n as I, c as f, a2 as h, a3 as E, D as G, o as H, E as j, p as k, F as K, q as L, r as V, s as q, G as B, t as J, u as N, j as O, v as Q, I as U, w as W, K as X, x as Y, M as Z, y as _, z as $, B as oo, J as eo, L as ao, N as so, O as lo, P as to, e as uo, Q as ro, h as Mo, U as io, V as po, W as mo, X as no, f as Co, R as Ro, Z as co, Y as bo, S as wo, _ as To, $ as vo, T as xo, a as zo, a0 as Fo, a1 as Po, C as So } from "../chunks/table.D4HIzy47.js";
12
+ import { A as z, k as F, l as P, d as S, g, b as y, i as A, m as D, n as I, c as f, a2 as h, a3 as E, D as G, o as H, E as j, p as k, F as K, q as L, r as V, s as q, G as B, t as J, u as N, j as O, v as Q, I as U, w as W, K as X, x as Y, M as Z, y as _, z as $, B as oo, J as eo, L as ao, N as so, O as lo, P as to, e as uo, Q as ro, h as Mo, U as io, V as po, W as mo, X as no, f as Co, R as Ro, Z as co, Y as bo, S as wo, _ as To, $ as vo, T as xo, a as zo, a0 as Fo, a1 as Po, C as So } from "../chunks/table.Cm-ynClk.js";
13
13
  import "../chunks/pagination.Bi-8gmcy.js";
14
14
  import "../chunks/custom-element.L4WJXn1j.js";
15
15
  import "../chunks/i18n.DK1uYlJT.js";