@orangelogic/design-system 4.27.0 → 4.29.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 (71) hide show
  1. package/library/chunks/{asset-link-format.BEJh0Fqs.js → asset-link-format.DLmg4fTR.js} +387 -381
  2. package/library/chunks/{audio.BZJvTs_4.js → audio.BVQX3_8E.js} +6 -3
  3. package/library/chunks/{bicolor-picker.C0PxxFzf.js → bicolor-picker.C9XSuhnX.js} +1 -1
  4. package/library/chunks/{block-width.CU2PEBrV.js → block-width.rWsXJkoW.js} +553 -529
  5. package/library/chunks/{border-input-group.w-T10AEY.js → border-input-group.DESRXoh1.js} +1 -1
  6. package/library/chunks/{color-picker.CDUhOLEs.js → color-picker.DUEghDon.js} +2 -2
  7. package/library/chunks/{color-swatch-group.DUskDB_p.js → color-swatch-group.Cf9NcMte.js} +45 -45
  8. package/library/chunks/{config-manager.C9OGzzbe.js → config-manager.FRWbPVTc.js} +17 -17
  9. package/library/chunks/{configs-controller.D3dYYbfz.js → configs-controller.R67BMWep.js} +26 -26
  10. package/library/chunks/{document-viewer.C7WOv7ns.js → document-viewer.DZp_IRF7.js} +16 -7
  11. package/library/chunks/{file-on-demand.DUWFRJnE.js → file-on-demand.C_2vBGS3.js} +3 -3
  12. package/library/chunks/{header.qIpzHeNc.js → header.BaWpIXRz.js} +5 -5
  13. package/library/chunks/{image.DzFSYcXq.js → image.BD0t8XU4.js} +1 -1
  14. package/library/chunks/{masonry.D7YK0FcU.js → masonry.B3G5f-eL.js} +1 -1
  15. package/library/chunks/{shadow-input-group.C9DU0Ehy.js → shadow-input-group.CFb61kzG.js} +1 -1
  16. package/library/chunks/src.DKYroWZc.js +720 -0
  17. package/library/chunks/{src.QS2741a8.js → src.fDrPRx_j.js} +8 -8
  18. package/library/chunks/{tab-group.DP9EvXFy.js → tab-group.oiueox5q.js} +627 -627
  19. package/library/chunks/{tab.C2OFvGGj.js → tab.Dd0cNxxc.js} +12 -8
  20. package/library/chunks/{url.CZO_DV8Y.js → url.BCc06dE7.js} +15 -6
  21. package/library/chunks/{video.BHfy8igQ.js → video.Ba5xl_3K.js} +1 -1
  22. package/library/components/asset-link-format.js +1 -1
  23. package/library/components/atoms.js +9 -9
  24. package/library/components/audio.js +1 -1
  25. package/library/components/bicolor-picker.js +1 -1
  26. package/library/components/border-input-group.js +1 -1
  27. package/library/components/color-picker.js +1 -1
  28. package/library/components/color-swatch-group.js +1 -1
  29. package/library/components/document-viewer.js +1 -1
  30. package/library/components/file-on-demand.js +1 -1
  31. package/library/components/header.js +1 -1
  32. package/library/components/image.js +1 -1
  33. package/library/components/masonry.js +1 -1
  34. package/library/components/molecules.js +4 -4
  35. package/library/components/organisms.js +3 -3
  36. package/library/components/shadow-input-group.js +1 -1
  37. package/library/components/tab-group.js +1 -1
  38. package/library/components/tab.js +1 -1
  39. package/library/components/types.js +12189 -12008
  40. package/library/components/video.js +1 -1
  41. package/library/package.json +1 -1
  42. package/library/packages/atoms/src/components/audio/audio.d.ts +2 -0
  43. package/library/packages/atoms/src/components/document-viewer/document-viewer.d.ts +6 -0
  44. package/library/packages/atoms/src/components/tab-group/tab-group.d.ts +65 -7
  45. package/library/packages/events/src/events.d.ts +0 -4
  46. package/library/packages/hybrid/rich-text/src/rich-text.d.ts +9 -0
  47. package/library/packages/hybrid/video-advanced/src/react/plugins/CommentLine/CommentAvatar.d.ts +0 -2
  48. package/library/packages/organisms/src/content-builder/blocks/audio/audio.d.ts +13 -0
  49. package/library/packages/organisms/src/content-builder/blocks/button/button.d.ts +8 -0
  50. package/library/packages/organisms/src/content-builder/blocks/column/column.d.ts +5 -0
  51. package/library/packages/organisms/src/content-builder/blocks/column-group/column-group.d.ts +5 -0
  52. package/library/packages/organisms/src/content-builder/blocks/document-viewer/document-viewer.d.ts +8 -0
  53. package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +16 -13
  54. package/library/packages/organisms/src/content-builder/blocks/timeline/timeline.d.ts +0 -2
  55. package/library/packages/organisms/src/content-builder/blocks/video/video.d.ts +9 -0
  56. package/library/packages/organisms/src/content-builder/components/template-manager/template-manager.d.ts +11 -0
  57. package/library/packages/organisms/src/content-builder/content-builder.d.ts +17 -1
  58. package/library/packages/organisms/src/content-builder-viewer/content-builder-viewer.d.ts +15 -6
  59. package/library/packages/organisms/src/form/control-renderer/control-renderer.d.ts +1 -1
  60. package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +2 -1
  61. package/library/packages/tools/src/fetch-image/fetch-image.d.ts +28 -0
  62. package/library/packages/utils/src/asset-url-mode/asset-url-mode.d.ts +22 -0
  63. package/library/packages/utils/src/asset-url-mode/index.d.ts +1 -0
  64. package/library/packages/utils/src/url/url.d.ts +7 -0
  65. package/library/react-web-component.d.ts +25 -1
  66. package/library/utils.js +28 -706
  67. package/package.json +1 -1
  68. package/library/packages/events/src/cx-image-src-resolved.d.ts +0 -9
  69. package/library/packages/events/src/cx-timeline-data-resolved.d.ts +0 -9
  70. package/library/packages/events/src/cx-video-src-resolved.d.ts +0 -8
  71. package/library/packages/events/src/cx-video-thumbnail-resolved.d.ts +0 -8
@@ -5,7 +5,7 @@ import { t as s } from "./custom-element.BEMYNDK1.js";
5
5
  import { t as c } from "./i18n.BMXeDUpk.js";
6
6
  import { t as l } from "./input.B3HfssSr.js";
7
7
  import { t as u } from "./space.Dd8jezXK.js";
8
- import { t as d } from "./bicolor-picker.C0PxxFzf.js";
8
+ import { t as d } from "./bicolor-picker.C9XSuhnX.js";
9
9
  //#region ../../packages/molecules/src/border-input-group/border-input-group.styles.ts
10
10
  var f = t`.border-width{width:72px}`, p = class extends a {
11
11
  constructor(...e) {
@@ -27,8 +27,8 @@ import { t as P } from "./dropdown.HoJsYnUC.js";
27
27
  import { t as F } from "./input.B3HfssSr.js";
28
28
  import { t as I } from "./option.wsYX6Pp-.js";
29
29
  import { t as L } from "./select.v6t2pNH4.js";
30
- import { t as R } from "./tab.C2OFvGGj.js";
31
- import { t as z } from "./tab-group.DP9EvXFy.js";
30
+ import { t as R } from "./tab.Dd0cNxxc.js";
31
+ import { t as z } from "./tab-group.oiueox5q.js";
32
32
  import { t as B } from "./tab-panel.BxeoKuSv.js";
33
33
  import { t as V } from "./visually-hidden.Bv3SInZp.js";
34
34
  //#region ../../packages/atoms/src/components/color-picker/color-picker.styles.ts
@@ -36,14 +36,14 @@ import { t as ye } from "./unsafe-html.Cb838aX7.js";
36
36
  import { t as be } from "./select.v6t2pNH4.js";
37
37
  import { t as xe } from "./guard.Cf17k6Vx.js";
38
38
  import { a as Se, f as Ce, l as we, r as Te } from "./date.BL4L64Hx.js";
39
- import { t as Ee } from "./details.DLqFxjTf.js";
40
- import { i as De, s as Oe, t as ke } from "./dialog.BuirdRW8.js";
41
- import { t as Ae } from "./divider.CqSNZCU8.js";
42
- import { n as je } from "./toString.r2ImdBrm.js";
43
- import { n as Me } from "./capitalize.BT_EavGy.js";
44
- import { _ as Ne, c as Pe, g as Fe, l as Ie, v as Le, y as Re } from "./color.CIOzHtLK.js";
45
- import { f as ze, n as Be, r as Ve, t as He } from "./responsive.L9Csz2w2.js";
46
- import { findIndexByProp as Ue, groupBy as We, insertMultipleAtIndex as Ge, moveMultipleToIndex as Ke, multiSelectTo as qe, removeMultipleAtIndex as Je, toast as Ye } from "../utils.js";
39
+ import { O as Ee, ct as De, et as Oe, it as ke, ot as Ae, rt as je, tt as Me } from "./src.DKYroWZc.js";
40
+ import { t as Ne } from "./details.DLqFxjTf.js";
41
+ import { i as Pe, s as Fe, t as Ie } from "./dialog.BuirdRW8.js";
42
+ import { t as Le } from "./divider.CqSNZCU8.js";
43
+ import { n as Re } from "./toString.r2ImdBrm.js";
44
+ import { n as ze } from "./capitalize.BT_EavGy.js";
45
+ import { _ as Be, c as Ve, g as He, l as Ue, v as We, y as Ge } from "./color.CIOzHtLK.js";
46
+ import { f as Ke, n as qe, r as Je, t as Ye } from "./responsive.L9Csz2w2.js";
47
47
  import Xe from "../components/format-number.js";
48
48
  import { t as Ze } from "./menu-section.BzzA6L5E.js";
49
49
  import { n as Qe, t as $e } from "./pagination.By0sijVv.js";
@@ -153,7 +153,7 @@ var At = {
153
153
  static #n = this.dependencies = {
154
154
  "cx-badge": de,
155
155
  "cx-button": te,
156
- "cx-details": Ee,
156
+ "cx-details": Ne,
157
157
  "cx-dropdown": me,
158
158
  "cx-icon": O,
159
159
  "cx-icon-button": T,
@@ -376,7 +376,7 @@ var Nt = P, Pt = /* @__PURE__ */ function(e) {
376
376
  function Gt(e, t, n) {
377
377
  for (var r = n ? st : ct, i = e[0].length, a = e.length, o = a, s = Array(a), c = Infinity, l = []; o--;) {
378
378
  var u = e[o];
379
- o && t && (u = je(u, b(t))), c = Wt(u.length, c), s[o] = !n && (t || i >= 120 && u.length >= 120) ? new x(o && u) : void 0;
379
+ o && t && (u = Re(u, b(t))), c = Wt(u.length, c), s[o] = !n && (t || i >= 120 && u.length >= 120) ? new x(o && u) : void 0;
380
380
  }
381
381
  u = e[0];
382
382
  var d = -1, f = s[0];
@@ -400,7 +400,7 @@ function Kt(e) {
400
400
  //#endregion
401
401
  //#region ../../node_modules/lodash-es/intersectionBy.js
402
402
  var qt = pt(function(e) {
403
- var t = gt(e), n = je(e, Kt);
403
+ var t = gt(e), n = Re(e, Kt);
404
404
  return t === gt(n) ? t = void 0 : n.pop(), n.length && n[0] === e[0] ? Gt(n, ot(t, 2)) : [];
405
405
  }), Jt = pt(function(e) {
406
406
  var t = gt(e);
@@ -414,7 +414,7 @@ var qt = pt(function(e) {
414
414
  //#endregion
415
415
  //#region ../../node_modules/lodash-es/_parent.js
416
416
  function Zt(e, t) {
417
- return t.length < 2 ? e : it(e, Me(t, 0, -1));
417
+ return t.length < 2 ? e : it(e, ze(t, 0, -1));
418
418
  }
419
419
  //#endregion
420
420
  //#region ../../node_modules/lodash-es/_baseUnset.js
@@ -432,7 +432,7 @@ var en = 1, tn = 2, nn = 4, rn = vt(function(e, t) {
432
432
  var n = {};
433
433
  if (e == null) return n;
434
434
  var r = !1;
435
- t = je(t, function(t) {
435
+ t = Re(t, function(t) {
436
436
  return t = rt(t, e), r ||= t.length > 1, t;
437
437
  }), bt(e, yt(e), n), r && (n = xt(n, en | tn | nn, $t));
438
438
  for (var i = t.length; i--;) Qt(n, t[i]);
@@ -497,7 +497,7 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
497
497
  static #e = this.styles = [h, sn];
498
498
  static #t = this.dependencies = {
499
499
  "cx-board-list-item": on,
500
- "cx-divider": Ae,
500
+ "cx-divider": Le,
501
501
  "cx-icon": O,
502
502
  "cx-icon-button": T,
503
503
  "cx-input": he,
@@ -604,7 +604,7 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
604
604
  let r = e.item.dataset.id, i = n.selectedItemAsArray;
605
605
  i.includes(r) || (i = [r]);
606
606
  let a = i.length > 1, o = Number(e.newIndex) - 1 + this.start, s = this.resolveRealInsertIndex(o);
607
- t = Ge(t, s, i), this.handleUpdateEvent(t, e.type, a, s);
607
+ t = je(t, s, i), this.handleUpdateEvent(t, e.type, a, s);
608
608
  }
609
609
  async handleEnd(e) {
610
610
  e.from === e.to && this.handleUpdate(e), this.isDragging = !1, await this.updateComplete;
@@ -625,7 +625,7 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
625
625
  let t = this.items.map((e) => e.id), n = e.item.dataset.id, r = this.selectedItemAsArray;
626
626
  r.includes(n) || (r = [n]);
627
627
  let i = r.length > 1;
628
- t = Je(t, r.map((e) => Ue(this.items, "id", e))), this.handleUpdateEvent(t, e.type, i, e.newIndex);
628
+ t = De(t, r.map((e) => Oe(this.items, "id", e))), this.handleUpdateEvent(t, e.type, i, e.newIndex);
629
629
  }
630
630
  handleDefaultSelect(e) {
631
631
  let t = e.dataset.id;
@@ -638,12 +638,12 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
638
638
  }), this.lastSelectedItem = e;
639
639
  }
640
640
  handleShiftSelect(e) {
641
- let t = this.filteredItems.filter((e) => this.isSelectableItem(e)), n = Ue(t, "id", this.lastSelectedItem?.dataset.id), r = Ue(t, "id", e.dataset.id);
641
+ let t = this.filteredItems.filter((e) => this.isSelectableItem(e)), n = Oe(t, "id", this.lastSelectedItem?.dataset.id), r = Oe(t, "id", e.dataset.id);
642
642
  if (n === -1 || r === -1) {
643
643
  this.handleDefaultSelect(e);
644
644
  return;
645
645
  }
646
- let i = qe(this.selectedItemAsArray, e.dataset.id, t);
646
+ let i = Ae(this.selectedItemAsArray, e.dataset.id, t);
647
647
  this._selectedItems = i.reduce((e, t) => (t && (e[t] = !0), e), {}), this._selectedItemOrder = i.reduce((e, t) => (t && (e[t] = Object.keys(e).length), e), {});
648
648
  }
649
649
  handleSelect(e) {
@@ -692,7 +692,7 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
692
692
  }
693
693
  handleUpdate(e) {
694
694
  let t = this.items.map((e) => e.id), n = this.selectedItemAsArray, r = n.length > 1, i = this.resolveDropIndex(e.item);
695
- i !== null && (t = Ke(t, n.map((e) => Ue(this.items, "id", e)), i), this.handleUpdateEvent(t, "update", r));
695
+ i !== null && (t = ke(t, n.map((e) => Oe(this.items, "id", e)), i), this.handleUpdateEvent(t, "update", r));
696
696
  }
697
697
  handleMove(e) {
698
698
  let { related: t, willInsertAfter: n } = e;
@@ -725,7 +725,7 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
725
725
  indexAfterLastVisibleRealItem() {
726
726
  for (let e = this.filteredItems.length - 1; e >= 0; e--) {
727
727
  let t = this.filteredItems[e];
728
- if (t.id !== t.group) return Ue(this.items, "id", t.id) + 1;
728
+ if (t.id !== t.group) return Oe(this.items, "id", t.id) + 1;
729
729
  }
730
730
  return this.items.length;
731
731
  }
@@ -733,12 +733,12 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
733
733
  if (e >= this.filteredItems.length) return this.indexAfterLastVisibleRealItem();
734
734
  for (let t = Math.max(e, 0); t < this.filteredItems.length; t++) {
735
735
  let e = this.filteredItems[t];
736
- if (e.id !== e.group) return Ue(this.items, "id", e.id);
736
+ if (e.id !== e.group) return Oe(this.items, "id", e.id);
737
737
  }
738
738
  return this.indexAfterLastVisibleRealItem();
739
739
  }
740
740
  resolveDropIndex(e) {
741
- let t = e.nextElementSibling, n = t instanceof HTMLElement && t.dataset.id ? Ue(this.filteredItems, "id", t.dataset.id) : Math.min(this.end, this.filteredItems.length), r = Ue(this.filteredItems, "id", e.dataset.id);
741
+ let t = e.nextElementSibling, n = t instanceof HTMLElement && t.dataset.id ? Oe(this.filteredItems, "id", t.dataset.id) : Math.min(this.end, this.filteredItems.length), r = Oe(this.filteredItems, "id", e.dataset.id);
742
742
  return n === r || n === r + 1 ? null : this.resolveRealInsertIndex(n);
743
743
  }
744
744
  initSortable() {
@@ -1001,7 +1001,7 @@ var B = class extends d {
1001
1001
  isValidChanges(e, t, n) {
1002
1002
  if (this.addLimit || this.addLimit === 0) {
1003
1003
  let r = [];
1004
- if (n === "add" ? r = e : n === "remove" && (r = Jt(Ut(t, e), this.secondColumnItemIds)), Ut(r, this.initialSecondColumnItems).length > this.addLimit) return Ye(this.localize.term("addLimitExceeded", this.addLimit), { notificationType: "warning" }), !1;
1004
+ if (n === "add" ? r = e : n === "remove" && (r = Jt(Ut(t, e), this.secondColumnItemIds)), Ut(r, this.initialSecondColumnItems).length > this.addLimit) return Ee(this.localize.term("addLimitExceeded", this.addLimit), { notificationType: "warning" }), !1;
1005
1005
  }
1006
1006
  return !0;
1007
1007
  }
@@ -1011,7 +1011,7 @@ var B = class extends d {
1011
1011
  let e = this.firstColumnData, n = this.secondColumnData;
1012
1012
  if (t === this.secondColumnData.id && (e = this.secondColumnData, n = this.firstColumnData), a === "add") {
1013
1013
  let r = this.selectedItems[n.id], o = e.items.map((e) => e.id);
1014
- if (o = Ge(o, wn(i ?? 0, s, e.items), r), t === this.firstColumnData.id) this.firstColumnData = {
1014
+ if (o = je(o, wn(i ?? 0, s, e.items), r), t === this.firstColumnData.id) this.firstColumnData = {
1015
1015
  ...this.firstColumnData,
1016
1016
  items: o.map((e) => this.itemMap[e])
1017
1017
  };
@@ -1243,7 +1243,7 @@ var Dn = B, On = /* @__PURE__ */ function(e) {
1243
1243
  static #e = this.styles = [h, kn];
1244
1244
  static #t = this.dependencies = {
1245
1245
  "cx-button": te,
1246
- "cx-dialog": ke,
1246
+ "cx-dialog": Ie,
1247
1247
  "cx-multi-select": Dn
1248
1248
  };
1249
1249
  get canApply() {
@@ -1292,7 +1292,7 @@ var Dn = B, On = /* @__PURE__ */ function(e) {
1292
1292
  return r`<cx-dialog label=${this.localize.term("editColumns")} ?open=${this.open} @cx-request-close=${this.handleDialogRequestClose}><cx-multi-select .firstColumnData=${this.firstColumnData} .secondColumnData=${this.secondColumnData} @cx-multi-select-change=${this.handleMultiSelectChange}></cx-multi-select>${D(!this.canApply, () => r`<p class="table-column-editor__note">${this.localize.term("editColumnsMinVisibleNote")}</p>`)}<div slot="footer" class="table-column-editor__footer"><cx-button @click=${this.handleCancel}>${this.localize.term("cancel")}</cx-button><cx-button variant="primary" ?disabled=${!this.canApply} @click=${this.handleApply}>${this.localize.term("apply")}</cx-button></div></cx-dialog>`;
1293
1293
  }
1294
1294
  };
1295
- l([f("cx-dialog"), u("design:type", ke === void 0 ? Object : ke)], An.prototype, "dialogEl", void 0), l([s({
1295
+ l([f("cx-dialog"), u("design:type", Ie === void 0 ? Object : Ie)], An.prototype, "dialogEl", void 0), l([s({
1296
1296
  reflect: !0,
1297
1297
  type: Boolean
1298
1298
  }), u("design:type", Object)], An.prototype, "open", void 0), l([s({ attribute: !1 }), u("design:type", Array)], An.prototype, "entries", void 0), l([c(), u("design:type", Object)], An.prototype, "firstColumnData", void 0), l([c(), u("design:type", Object)], An.prototype, "secondColumnData", void 0), l([c(), u("design:type", Array)], An.prototype, "visibleFields", void 0), l([
@@ -1396,7 +1396,7 @@ var Ln = In, Rn = i`.table-row-actions__button::part(label),.table-row-actions__
1396
1396
  return this;
1397
1397
  }
1398
1398
  handleActionChange() {
1399
- this.groupedDropdownItems = We(this.action?.options?.dropdownItems ?? [], "section"), this.sections = Object.keys(this.groupedDropdownItems);
1399
+ this.groupedDropdownItems = Me(this.action?.options?.dropdownItems ?? [], "section"), this.sections = Object.keys(this.groupedDropdownItems);
1400
1400
  }
1401
1401
  handleActionClick(e) {
1402
1402
  let t = e.currentTarget?.dataset?.action;
@@ -2755,7 +2755,7 @@ var Pr = class e extends W {
2755
2755
  if (!this.table.destroyed && !this.blocked) {
2756
2756
  e.preventDefault(), e.stopPropagation(), this.customSelection ? (t = this.customSelection, this.table.options.clipboardCopyFormatter && typeof this.table.options.clipboardCopyFormatter == "function" && (t = this.table.options.clipboardCopyFormatter("plain", t))) : (r = this.table.modules.export?.generateExportList(this.table.options.clipboardCopyConfig, this.table.options.clipboardCopyStyled, this.rowRange, "clipboard"), n = this.table.modules.export?.generateHTMLTable(r), t = n ? this.generatePlainContent(r) : "", this.table.options.clipboardCopyFormatter && typeof this.table.options.clipboardCopyFormatter == "function" && (t = this.table.options.clipboardCopyFormatter("plain", t), n = this.table.options.clipboardCopyFormatter("html", n ?? "")));
2757
2757
  let i = Nr(e);
2758
- i?.setData && (i.setData("text/plain", t), n && i.setData("text/html", n), Ye("Copied to clipboard", { notificationType: "success" })), this.dispatchExternal("clipboardCopied", t, n), this.reset();
2758
+ i?.setData && (i.setData("text/plain", t), n && i.setData("text/html", n), Ee("Copied to clipboard", { notificationType: "success" })), this.dispatchExternal("clipboardCopied", t, n), this.reset();
2759
2759
  }
2760
2760
  }
2761
2761
  handlePasteEvent(e) {
@@ -16119,12 +16119,12 @@ var nd, Z = class extends d {
16119
16119
  static #t = this.styles = [
16120
16120
  h,
16121
16121
  Cu,
16122
- Oe
16122
+ Fe
16123
16123
  ];
16124
16124
  static #n = this.dependencies = {
16125
16125
  "cx-button": te,
16126
16126
  "cx-checkbox": fe,
16127
- "cx-divider": Ae,
16127
+ "cx-divider": Le,
16128
16128
  "cx-faceted-filter": Nt,
16129
16129
  "cx-format-number": Xe,
16130
16130
  "cx-icon": O,
@@ -16413,7 +16413,7 @@ var nd, Z = class extends d {
16413
16413
  this.tabulatorInstance.redraw();
16414
16414
  return;
16415
16415
  }
16416
- this.osInstance = De({
16416
+ this.osInstance = Pe({
16417
16417
  elements: { viewport: this.tabulatorHolder },
16418
16418
  scrollbars: { slot: this.table },
16419
16419
  target: this.tabulatorHolder
@@ -17417,7 +17417,7 @@ var rd = Z, Q = /* @__PURE__ */ function(e) {
17417
17417
  let t = e.getRow().getData(), n = document.createElement("div");
17418
17418
  n.style.width = "100%", n.style.userSelect = "none";
17419
17419
  let r = document.createElement("div");
17420
- r.style.backgroundColor = Ie(t.hex ?? "", Le.LeadingHash), r.style.display = "inline-block", r.style.verticalAlign = "middle", r.style.marginInlineEnd = "var(--cx-spacing-small)", r.style.width = "var(--name-swatch-width, 64px)", r.style.height = "var(--name-swatch-height, 32px)", r.style.borderRadius = "var(--name-swatch-border-radius, 0)", n.appendChild(r);
17420
+ r.style.backgroundColor = Ue(t.hex ?? "", We.LeadingHash), r.style.display = "inline-block", r.style.verticalAlign = "middle", r.style.marginInlineEnd = "var(--cx-spacing-small)", r.style.width = "var(--name-swatch-width, 64px)", r.style.height = "var(--name-swatch-height, 32px)", r.style.borderRadius = "var(--name-swatch-border-radius, 0)", n.appendChild(r);
17421
17421
  let i = document.createElement("span");
17422
17422
  return i.textContent = t.name ?? "", i.style.overflowWrap = "anywhere", i.style.whiteSpace = "var(--swatch-cell-white-space, nowrap)", n.appendChild(i), n;
17423
17423
  },
@@ -17557,14 +17557,14 @@ var _d = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
17557
17557
  "RGB",
17558
17558
  "CMYK",
17559
17559
  "PMS"
17560
- ], this.multiLanguage = !1, this.codeAlignment = Fe.SameLine, this.codeSeparator = Ne.Comma, this.hexFormat = Le.LeadingHash, this.showElements = [
17560
+ ], this.multiLanguage = !1, this.codeAlignment = He.SameLine, this.codeSeparator = Be.Comma, this.hexFormat = We.LeadingHash, this.showElements = [
17561
17561
  od.PaletteName,
17562
17562
  od.ColumnTitles,
17563
17563
  od.SeparatorLine
17564
- ], this.nameColumnWidthMode = id.HugContents, this.nameColumnConstraints = !1, this.nameColumnWidth = "", this.codeColumnWidthMode = id.HugContents, this.codeColumnConstraints = !1, this.codeColumnWidth = "", this.customColumns = [], this.gradientEffect = !1, this.breakpoints = He, this.deviceType = ze.Desktop, this.currentCol = 0, this.visibleElements = new Set(this.showElements), this.hugWidths = {}, this.isFocused = !1, this.canFocusContainer = !0, this.isContainerFocused = !1, this.handleWindowResize = this.handleWindowResize.bind(this);
17564
+ ], this.nameColumnWidthMode = id.HugContents, this.nameColumnConstraints = !1, this.nameColumnWidth = "", this.codeColumnWidthMode = id.HugContents, this.codeColumnConstraints = !1, this.codeColumnWidth = "", this.customColumns = [], this.gradientEffect = !1, this.breakpoints = Ye, this.deviceType = Ke.Desktop, this.currentCol = 0, this.visibleElements = new Set(this.showElements), this.hugWidths = {}, this.isFocused = !1, this.canFocusContainer = !0, this.isContainerFocused = !1, this.handleWindowResize = this.handleWindowResize.bind(this);
17565
17565
  }
17566
17566
  runFirstUpdated() {
17567
- this.setAttribute("role", "region"), this.setAttribute("aria-label", this.localize.term("colorSwatches")), this.setAttribute("aria-roledescription", this.localize.term("colorSwatches")), this.breakpoints = Be(this, this.breakpoints), this.handleResize();
17567
+ this.setAttribute("role", "region"), this.setAttribute("aria-label", this.localize.term("colorSwatches")), this.setAttribute("aria-roledescription", this.localize.term("colorSwatches")), this.breakpoints = qe(this, this.breakpoints), this.handleResize();
17568
17568
  }
17569
17569
  connectedCallback() {
17570
17570
  super.connectedCallback(), window.addEventListener("resize", this.handleWindowResize);
@@ -17583,7 +17583,7 @@ var _d = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
17583
17583
  this.currentCol = Math.floor((e + n) / (165 + n));
17584
17584
  break;
17585
17585
  }
17586
- case Q.Circles: this.deviceType = Ve(this.breakpoints);
17586
+ case Q.Circles: this.deviceType = Je(this.breakpoints);
17587
17587
  }
17588
17588
  }
17589
17589
  handleKeyDown(e) {
@@ -17662,7 +17662,7 @@ var _d = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
17662
17662
  return t;
17663
17663
  }
17664
17664
  formatCode(e, t) {
17665
- return e === "hex" ? Ie(t, this.hexFormat) : e === "rgb" || e === "cmyk" ? Pe(t, this.codeSeparator) : t;
17665
+ return e === "hex" ? Ue(t, this.hexFormat) : e === "rgb" || e === "cmyk" ? Ve(t, this.codeSeparator) : t;
17666
17666
  }
17667
17667
  applyColumnSettings(e, t) {
17668
17668
  let n = { ...e }, r = t.widthMode === id.HugContents;
@@ -17746,12 +17746,12 @@ var _d = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
17746
17746
  this.isContainerFocused || (this.canFocusContainer = !this.isFocused);
17747
17747
  }
17748
17748
  get currentDirection() {
17749
- return this.variant === Q.Circles && this.deviceType !== ze.Desktop ? "vertical" : "horizontal";
17749
+ return this.variant === Q.Circles && this.deviceType !== Ke.Desktop ? "vertical" : "horizontal";
17750
17750
  }
17751
17751
  get swatchVariant() {
17752
17752
  switch (this.variant) {
17753
- case Q.Circles: return this.deviceType === ze.Tablet ? Re.Oval : Re.Circle;
17754
- case Q.Grid: return Re.GridItem;
17753
+ case Q.Circles: return this.deviceType === Ke.Tablet ? Ge.Oval : Ge.Circle;
17754
+ case Q.Grid: return Ge.GridItem;
17755
17755
  default: return;
17756
17756
  }
17757
17757
  }
@@ -17781,7 +17781,7 @@ var _d = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
17781
17781
  [`color-swatch-group__swatches--circles--${e}`]: this.variant === Q.Circles
17782
17782
  })} style=${A({ gridTemplateColumns: this.currentCol >= this.maxCol ? `repeat(${this.maxCol}, 1fr)` : "repeat(auto-fit, minmax(165px, 1fr))" })}>${pe(this.data, (e) => e.name, (n, i) => r`<cx-color-swatch part="color-swatch-item" role="listitem" aria-label=${this.localize.term("colorOfTotal", i + 1, this.data.length)} hex=${n.hex} rgb=${n.rgb} cmyk=${n.cmyk} pms=${n.pms} name=${this.multiLanguage && t ? n[`name-${t.toLowerCase()}`] ?? n.name : n.name} variant=${this.swatchVariant} ?can-copy=${this.canCopy} ?can-focus-code-only=${this.isFocused} gradient-stops=${this.gradientStopsFor(i)} .showCodes=${this.showCodes} code-alignment=${this.codeAlignment} code-separator=${this.codeSeparator} hex-format=${this.hexFormat} no-auto-convert class=${w({
17783
17783
  [`color-swatch-group__swatches--circles--${e}__item`]: this.variant === Q.Circles,
17784
- "color-swatch-group__swatches--circles--vertical__item--mobile": this.variant === Q.Circles && this.deviceType === ze.Mobile
17784
+ "color-swatch-group__swatches--circles--vertical__item--mobile": this.variant === Q.Circles && this.deviceType === Ke.Mobile
17785
17785
  })} @keydown=${this.handleKeyDown} @focusout=${this.handleFocusOut}></cx-color-swatch>`)}</cx-space>`)}
17786
17786
  `;
17787
17787
  }
@@ -17815,15 +17815,15 @@ l([f(".color-swatch-group__swatches"), u("design:type", typeof HTMLDivElement >
17815
17815
  attribute: "code-alignment",
17816
17816
  reflect: !0,
17817
17817
  type: String
17818
- }), u("design:type", Fe === void 0 ? Object : Fe)], $.prototype, "codeAlignment", void 0), l([s({
17818
+ }), u("design:type", He === void 0 ? Object : He)], $.prototype, "codeAlignment", void 0), l([s({
17819
17819
  attribute: "code-separator",
17820
17820
  reflect: !0,
17821
17821
  type: String
17822
- }), u("design:type", Ne === void 0 ? Object : Ne)], $.prototype, "codeSeparator", void 0), l([s({
17822
+ }), u("design:type", Be === void 0 ? Object : Be)], $.prototype, "codeSeparator", void 0), l([s({
17823
17823
  attribute: "hex-format",
17824
17824
  reflect: !0,
17825
17825
  type: String
17826
- }), u("design:type", Le === void 0 ? Object : Le)], $.prototype, "hexFormat", void 0), l([s({
17826
+ }), u("design:type", We === void 0 ? Object : We)], $.prototype, "hexFormat", void 0), l([s({
17827
17827
  attribute: "show-elements",
17828
17828
  converter: {
17829
17829
  fromAttribute: (e) => (e?.split(" ") ?? []).filter((e) => ld.has(e)),
@@ -17880,7 +17880,7 @@ l([f(".color-swatch-group__swatches"), u("design:type", typeof HTMLDivElement >
17880
17880
  attribute: "gradient-effect",
17881
17881
  reflect: !0,
17882
17882
  type: Boolean
17883
- }), u("design:type", Object)], $.prototype, "gradientEffect", void 0), l([c(), u("design:type", Array)], $.prototype, "breakpoints", void 0), l([c(), u("design:type", ze === void 0 ? Object : ze)], $.prototype, "deviceType", void 0), l([c(), u("design:type", Object)], $.prototype, "currentCol", void 0), l([c(), u("design:type", Object)], $.prototype, "visibleElements", void 0), l([c(), u("design:type", typeof Record > "u" ? Object : Record)], $.prototype, "hugWidths", void 0), l([c(), u("design:type", Object)], $.prototype, "isFocused", void 0), l([c(), u("design:type", Object)], $.prototype, "canFocusContainer", void 0), l([c(), u("design:type", Object)], $.prototype, "isContainerFocused", void 0), l([
17883
+ }), u("design:type", Object)], $.prototype, "gradientEffect", void 0), l([c(), u("design:type", Array)], $.prototype, "breakpoints", void 0), l([c(), u("design:type", Ke === void 0 ? Object : Ke)], $.prototype, "deviceType", void 0), l([c(), u("design:type", Object)], $.prototype, "currentCol", void 0), l([c(), u("design:type", Object)], $.prototype, "visibleElements", void 0), l([c(), u("design:type", typeof Record > "u" ? Object : Record)], $.prototype, "hugWidths", void 0), l([c(), u("design:type", Object)], $.prototype, "isFocused", void 0), l([c(), u("design:type", Object)], $.prototype, "canFocusContainer", void 0), l([c(), u("design:type", Object)], $.prototype, "isContainerFocused", void 0), l([
17884
17884
  oe(100),
17885
17885
  u("design:type", Function),
17886
17886
  u("design:paramtypes", []),
@@ -14,7 +14,7 @@ import { t as b } from "./style-map.DPGQIxip.js";
14
14
  import { t as x } from "./button.CI1tg4c9.js";
15
15
  import { t as ee } from "./tooltip.CGCOh4cQ.js";
16
16
  import { t as te } from "./line-clamp.DlenWria.js";
17
- import { C as ne, D as re, E as ie, O as ae, S as oe, T as se, _ as ce, a as le, b as ue, c as de, g as fe, i as pe, l as me, n as he, o as ge, s as S, t as C, v as w, w as T, x as E, y as D } from "./block-width.CU2PEBrV.js";
17
+ import { C as ne, D as re, E as ie, O as ae, S as oe, T as se, _ as ce, a as le, b as ue, c as de, g as fe, i as pe, l as me, n as he, o as ge, s as S, t as C, v as w, w as T, x as E, y as D } from "./block-width.rWsXJkoW.js";
18
18
  import { t as O } from "./typography.B0mkhqTB.js";
19
19
  import { t as k } from "./button-group.CPfXrqyq.js";
20
20
  import { t as A } from "./card.3c-X4hqR.js";
@@ -30,16 +30,16 @@ import { t as Ce } from "./textarea.Bc4eCJgT.js";
30
30
  import { t as we } from "./option.wsYX6Pp-.js";
31
31
  import { t as Te } from "./space.Dd8jezXK.js";
32
32
  import { t as Ee } from "./select.v6t2pNH4.js";
33
- import { t as De } from "./tab.C2OFvGGj.js";
34
- import { t as z } from "./tab-group.DP9EvXFy.js";
33
+ import { t as De } from "./tab.Dd0cNxxc.js";
34
+ import { t as z } from "./tab-group.oiueox5q.js";
35
35
  import { t as Oe } from "./map.ByDuLduF.js";
36
36
  import { t as ke } from "./tab-panel.BxeoKuSv.js";
37
37
  import { t as Ae } from "./visually-hidden.Bv3SInZp.js";
38
+ import { R as je } from "./src.DKYroWZc.js";
38
39
  import { o as B, t as V } from "./dialog.BuirdRW8.js";
39
- import { t as je } from "./divider.CqSNZCU8.js";
40
- import { n as Me } from "./toString.r2ImdBrm.js";
41
- import { m as H, s as Ne } from "./responsive.L9Csz2w2.js";
42
- import { isFormInteracted as Pe } from "../utils.js";
40
+ import { t as Me } from "./divider.CqSNZCU8.js";
41
+ import { n as Ne } from "./toString.r2ImdBrm.js";
42
+ import { m as H, s as Pe } from "./responsive.L9Csz2w2.js";
43
43
  import { t as Fe } from "./keyed.zYwdaCfO.js";
44
44
  import { t as Ie } from "./grid.CK4PRwur.js";
45
45
  import { t as Le } from "./grid-item.CSieaU5T.js";
@@ -47,8 +47,8 @@ import { t as Re } from "./radio.DhPbmKbQ.js";
47
47
  import { t as ze } from "./radio-card.DPIcsAW9.js";
48
48
  import { t as Be } from "./radio-group.DKOIr2PH.js";
49
49
  import { t as Ve } from "./switch.D6KXmWnC.js";
50
- import { t as He } from "./bicolor-picker.C0PxxFzf.js";
51
- import { t as Ue } from "./border-input-group.w-T10AEY.js";
50
+ import { t as He } from "./bicolor-picker.C9XSuhnX.js";
51
+ import { t as Ue } from "./border-input-group.DESRXoh1.js";
52
52
  import { n as We, t as U } from "./confirm-popover.CaNKM2dH.js";
53
53
  import { t as Ge } from "./corner-position-input-group.CPrsYabs.js";
54
54
  import { t as W } from "./_baseIteratee.DWc2-Bvm.js";
@@ -57,13 +57,13 @@ import { r as G } from "./folder-select.CzNXsgl_.js";
57
57
  import { t as qe } from "./choose.C2vpqhLc.js";
58
58
  import { t as Je } from "./padding-input-group.DKIv6567.js";
59
59
  import { t as Ye } from "./position-picker.CyXlSYCi.js";
60
- import { t as Xe } from "./shadow-input-group.C9DU0Ehy.js";
60
+ import { t as Xe } from "./shadow-input-group.CFb61kzG.js";
61
61
  import { t as Ze } from "./size-input-group.Z_9n7Nv6.js";
62
- import { T as K } from "./asset-link-format.BEJh0Fqs.js";
62
+ import { T as K } from "./asset-link-format.DLmg4fTR.js";
63
63
  import { n as Qe } from "./_baseXor.Ca5K0ORC.js";
64
64
  import { n as $e, s as et, t as q } from "./isArrayLikeObject.Da3IzQeH.js";
65
65
  import { i as tt } from "./_baseClone.CnI5Vpqn.js";
66
- import { C as nt, i as rt, o as J, t as it } from "./configs-controller.D3dYYbfz.js";
66
+ import { C as nt, i as rt, o as J, t as it } from "./configs-controller.R67BMWep.js";
67
67
  import { t as at } from "./isEmpty.D3QQduJ5.js";
68
68
  import { i as ot } from "./cloneDeep.C6x5LNv3.js";
69
69
  //#region ../../node_modules/lodash-es/difference.js
@@ -87,7 +87,7 @@ function lt(e) {
87
87
  //#region ../../node_modules/lodash-es/pickBy.js
88
88
  function ut(e, t) {
89
89
  if (e == null) return {};
90
- var n = Me(tt(e), function(e) {
90
+ var n = Ne(tt(e), function(e) {
91
91
  return [e];
92
92
  });
93
93
  return t = W(t), ot(e, n, function(e, n) {
@@ -336,7 +336,7 @@ var Y = (e) => M(e) ? e._$litType$.h : e.strings, X = g(class extends h {
336
336
  case "image-picker":
337
337
  o = async (t) => {
338
338
  if (typeof t == "object" && t) {
339
- let { id: r, src: i } = t, a = e.pickerConfigs?.recordIdKey ?? "record-id", o = e.pickerConfigs?.aspectRatioKey, s = r ? await this.controlRenderer.resolveAssetFormat(r, e.pickerConfigs?.defaultFormat ?? "") : {
339
+ let { id: r, src: i } = t, a = e.pickerConfigs?.recordIdKey ?? "record-id", o = e.pickerConfigs?.aspectRatioKey, s = r ? await this.controlRenderer.resolveAssetFormat(r, e.pickerConfigs?.defaultFormat ?? "", !0) : {
340
340
  aspectRatio: 0,
341
341
  src: ""
342
342
  };
@@ -453,7 +453,7 @@ var Y = (e) => M(e) ? e._$litType$.h : e.strings, X = g(class extends h {
453
453
  "cx-corner-position-input-group": Ge,
454
454
  "cx-dam-custom-toolbar-buttons-editor": ge,
455
455
  "cx-dialog": V,
456
- "cx-divider": je,
456
+ "cx-divider": Me,
457
457
  "cx-download-format-picker": re,
458
458
  "cx-dropdown": _e,
459
459
  "cx-dynamic-select": Ke,
@@ -525,7 +525,7 @@ var Y = (e) => M(e) ? e._$litType$.h : e.strings, X = g(class extends h {
525
525
  e?.target === this.dialog && e.detail.source !== "overlay" && (this.handleClose(), this.isAfterShow = !1, this.disableCloseConfigDialog = !1);
526
526
  }
527
527
  handleRequestClose(e) {
528
- e?.target === this.dialog && (this.disableCloseConfigDialog ? e.preventDefault() : Pe(this.form) ? (e.preventDefault(), this.confirmPopover.show()) : this.hide());
528
+ e?.target === this.dialog && (this.disableCloseConfigDialog ? e.preventDefault() : je(this.form) ? (e.preventDefault(), this.confirmPopover.show()) : this.hide());
529
529
  }
530
530
  handleNameInputChange(e) {
531
531
  this.emit("cx-content-builder-form-field-change", { detail: {
@@ -734,7 +734,7 @@ var Q = Z, yt = n`:host{display:block}.confirm-popover__footer{--color:var(--cx-
734
734
  if (t && n?.tagName === "CX-COLUMN" && n.containerEl && r) return `${Number.parseInt(String(C(t, n, r)))}px`;
735
735
  }
736
736
  getContainerFontVariants() {
737
- for (let e = this.component?.parent(); e; e = e.parent()) if (e.get("type") === Ne.FontKitAdvanced) {
737
+ for (let e = this.component?.parent(); e; e = e.parent()) if (e.get("type") === Pe.FontKitAdvanced) {
738
738
  let t = e.view?.el;
739
739
  return ht(t?.typefacesArray ?? []);
740
740
  }
@@ -5,18 +5,18 @@ import { a as o, c as s, i as c, l, o as u, s as d } from "./resizable-component
5
5
  import { D as f, E as p, O as m, u as h } from "./string.DamEXDH2.js";
6
6
  import { n as g } from "./position-picker.dY_vgF_H.js";
7
7
  import { a as _, n as v, o as ee, s as y } from "./src.BJhIYoMP.js";
8
- import { a as te, i as ne, r as re } from "./tab-group.DP9EvXFy.js";
8
+ import { a as te, i as ne, r as re } from "./tab-group.oiueox5q.js";
9
9
  import { t as ie } from "./parse.CDrJ-NY7.js";
10
10
  import { t as ae } from "./toString.r2ImdBrm.js";
11
11
  import { t as oe } from "./capitalize.BT_EavGy.js";
12
- import { a as se, i as ce, n as le, r as ue } from "./document-viewer.C7WOv7ns.js";
13
- import { f as de, l as fe } from "./url.CZO_DV8Y.js";
12
+ import { a as se, i as ce, n as le, r as ue } from "./document-viewer.DZp_IRF7.js";
13
+ import { l as de, p as fe } from "./url.BCc06dE7.js";
14
14
  import { _ as pe, g as me, p as he, v as ge } from "./color.CIOzHtLK.js";
15
15
  import { g as _e, m as b, p as ve, s as x } from "./responsive.L9Csz2w2.js";
16
- import { n as ye, r as be } from "./header.qIpzHeNc.js";
16
+ import { n as ye, r as be } from "./header.BaWpIXRz.js";
17
17
  import { d as xe, f as S, l as C, o as w, s as Se } from "./endpoints.jOHOmF_t.js";
18
18
  import { n as Ce } from "./folder-select.CzNXsgl_.js";
19
- import { a as T, i as E, o as D, r as O, s as we } from "./color-swatch-group.DUskDB_p.js";
19
+ import { a as T, i as E, o as D, r as O, s as we } from "./color-swatch-group.Cf9NcMte.js";
20
20
  import { n as Te } from "./isEmpty.D3QQduJ5.js";
21
21
  import { a as k } from "./cloneDeep.C6x5LNv3.js";
22
22
  //#region ../../packages/services/src/api/dashboard/dashboard.ts
@@ -1354,7 +1354,7 @@ async function jn({ searchTerm: e = "" }) {
1354
1354
  return {
1355
1355
  data: (await An({ searchTerm: e })).map((e) => ({
1356
1356
  label: e.name,
1357
- value: de(e.absoluteURL) ?? ""
1357
+ value: fe(e.absoluteURL) ?? ""
1358
1358
  })),
1359
1359
  hasMore: !1
1360
1360
  };
@@ -1507,8 +1507,8 @@ var V = class {
1507
1507
  iconField: "collapse-icon",
1508
1508
  iconWidthField: "--collapse-icon-width"
1509
1509
  }
1510
- ], H = (e) => !!e.customStyle, Ln = (e) => {
1511
- let t = [
1510
+ ], H = (e) => !!e.customStyle, Ln = (e, t) => {
1511
+ let n = [
1512
1512
  {
1513
1513
  configOrder: 1,
1514
1514
  field: "label",
@@ -1535,7 +1535,7 @@ var V = class {
1535
1535
  show: H,
1536
1536
  title: e.term("background")
1537
1537
  },
1538
- {
1538
+ ...t ? [{
1539
1539
  assetTransformationConfigs: {
1540
1540
  assetIdKey: "backgroundRecordId",
1541
1541
  formatKey: "backgroundFormat",
@@ -1548,7 +1548,7 @@ var V = class {
1548
1548
  hidden: !0,
1549
1549
  show: (e) => H(e) && !!e.backgroundRecordId,
1550
1550
  title: e.term("backgroundFormat")
1551
- },
1551
+ }] : [],
1552
1552
  {
1553
1553
  configOrder: 5,
1554
1554
  controlType: "radio-group",
@@ -1574,21 +1574,21 @@ var V = class {
1574
1574
  show: H,
1575
1575
  title: e.term("cropFocus")
1576
1576
  }
1577
- ], n = In.flatMap((n, r) => {
1578
- let i = t.length + 1 + r * 6;
1577
+ ], r = In.flatMap((t, r) => {
1578
+ let i = n.length + 1 + r * 6;
1579
1579
  return [
1580
1580
  {
1581
1581
  configOrder: i,
1582
1582
  controlType: "group-heading",
1583
- field: n.headingField,
1583
+ field: t.headingField,
1584
1584
  hidden: !0,
1585
1585
  show: H,
1586
- title: e.term(n.headingTerm)
1586
+ title: e.term(t.headingTerm)
1587
1587
  },
1588
1588
  {
1589
1589
  configOrder: i + 1,
1590
1590
  controlType: "bicolor-picker",
1591
- field: n.backgroundColorField,
1591
+ field: t.backgroundColorField,
1592
1592
  hidden: !0,
1593
1593
  show: H,
1594
1594
  title: e.term("backgroundColor")
@@ -1596,7 +1596,7 @@ var V = class {
1596
1596
  {
1597
1597
  configOrder: i + 2,
1598
1598
  controlType: "bicolor-picker",
1599
- field: n.colorField,
1599
+ field: t.colorField,
1600
1600
  hidden: !0,
1601
1601
  show: H,
1602
1602
  title: e.term("textAndIconsColor")
@@ -1604,7 +1604,7 @@ var V = class {
1604
1604
  {
1605
1605
  configOrder: i + 3,
1606
1606
  controlType: "border-input-group",
1607
- field: n.borderField,
1607
+ field: t.borderField,
1608
1608
  hidden: !0,
1609
1609
  show: H,
1610
1610
  title: e.term("border")
@@ -1612,7 +1612,7 @@ var V = class {
1612
1612
  {
1613
1613
  configOrder: i + 4,
1614
1614
  controlType: "icon-picker",
1615
- field: n.iconField,
1615
+ field: t.iconField,
1616
1616
  hidden: !0,
1617
1617
  show: H,
1618
1618
  title: e.term("icon")
@@ -1620,7 +1620,7 @@ var V = class {
1620
1620
  {
1621
1621
  configOrder: i + 5,
1622
1622
  controlType: "input",
1623
- field: n.iconWidthField,
1623
+ field: t.iconWidthField,
1624
1624
  hidden: !0,
1625
1625
  ...z,
1626
1626
  show: H,
@@ -1628,10 +1628,10 @@ var V = class {
1628
1628
  }
1629
1629
  ];
1630
1630
  });
1631
- return [...t, ...n];
1631
+ return [...n, ...r];
1632
1632
  }, Rn = {
1633
1633
  configs: (e, t = {}) => {
1634
- let n = new V(e), { enableFontFamilyControls: r = !1 } = t;
1634
+ let n = new V(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
1635
1635
  return [
1636
1636
  ...[
1637
1637
  "data-content-width-percent",
@@ -1658,7 +1658,7 @@ var V = class {
1658
1658
  listEditorConfigs: {
1659
1659
  addDialogLabel: e.term("addSection"),
1660
1660
  addItemText: e.term("addSection"),
1661
- columns: Ln(e),
1661
+ columns: Ln(e, r),
1662
1662
  displayField: "label",
1663
1663
  editDialogLabel: e.term("editSection"),
1664
1664
  noHeader: !0,
@@ -1780,7 +1780,7 @@ var V = class {
1780
1780
  id: "--header-border-radius",
1781
1781
  name: "header-border-radius"
1782
1782
  },
1783
- ...r ? [{
1783
+ ...i ? [{
1784
1784
  ...n.getStyleControl("--font-size"),
1785
1785
  id: "--header-font-size",
1786
1786
  label: e.term("fontSize"),
@@ -2162,7 +2162,7 @@ var V = class {
2162
2162
  id: "click-link",
2163
2163
  inputConfigs: { validation: (t) => {
2164
2164
  let n = t["click-link"];
2165
- return fe(n) ? "" : e.term("urlValidationMessage");
2165
+ return de(n) ? "" : e.term("urlValidationMessage");
2166
2166
  } },
2167
2167
  label: e.term("link"),
2168
2168
  name: "click-link",
@@ -8546,7 +8546,7 @@ var Mr = {
8546
8546
  id: "click-link",
8547
8547
  inputConfigs: { validation: (t) => {
8548
8548
  let n = t["click-link"];
8549
- return fe(n) ? "" : e.term("urlValidationMessage");
8549
+ return de(n) ? "" : e.term("urlValidationMessage");
8550
8550
  } },
8551
8551
  label: e.term("link"),
8552
8552
  name: "click-link",
@@ -10468,7 +10468,7 @@ var qr = {
10468
10468
  id: "click-link",
10469
10469
  inputConfigs: { validation: (t) => {
10470
10470
  let n = t["click-link"];
10471
- return fe(n) ? "" : e.term("urlValidationMessage");
10471
+ return de(n) ? "" : e.term("urlValidationMessage");
10472
10472
  } },
10473
10473
  label: e.term("link"),
10474
10474
  name: "click-link",