builder-settings-types 0.0.413 → 0.0.415

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.
@@ -27600,7 +27600,7 @@ const si = class si {
27600
27600
  };
27601
27601
  si.hiddenElements = /* @__PURE__ */ new Set();
27602
27602
  let dr = si;
27603
- function P3(t) {
27603
+ function D3(t) {
27604
27604
  return new g4(t);
27605
27605
  }
27606
27606
  class g4 extends dr {
@@ -27666,7 +27666,7 @@ class g4 extends dr {
27666
27666
  function x4(t) {
27667
27667
  return new dr(t);
27668
27668
  }
27669
- function D3(t) {
27669
+ function R3(t) {
27670
27670
  return t;
27671
27671
  }
27672
27672
  class v4 extends Ae {
@@ -27997,7 +27997,7 @@ class wa extends Ae {
27997
27997
  };
27998
27998
  }
27999
27999
  }
28000
- class R3 extends Ae {
28000
+ class B3 extends Ae {
28001
28001
  constructor(e = {}) {
28002
28002
  super(e), this.inputType = "text", e.onChange && this.setOnChange(e.onChange);
28003
28003
  }
@@ -28282,7 +28282,7 @@ class _4 extends Ae {
28282
28282
  }), e.appendChild(a), e;
28283
28283
  }
28284
28284
  }
28285
- class B3 extends Ae {
28285
+ class V3 extends Ae {
28286
28286
  constructor(e) {
28287
28287
  super(e), this.inputType = "button", this.bgWithAlpha = "rgba(145, 158, 171, 0.08)";
28288
28288
  }
@@ -28311,7 +28311,7 @@ class B3 extends Ae {
28311
28311
  return s.className = "button-setting-wrapper " + (this.props.wrapperClassName || ""), s.appendChild(e), s;
28312
28312
  }
28313
28313
  }
28314
- class V3 extends Ae {
28314
+ class H3 extends Ae {
28315
28315
  constructor(e = {}) {
28316
28316
  super(e), this.inputType = { width: "number", height: "number" }, this.aspectRatio = 1, this.isUpdating = !1;
28317
28317
  const r = e.width || 0, a = e.height || 0;
@@ -29552,7 +29552,7 @@ const m3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewB
29552
29552
  <polyline points="6 9 12 15 18 9"></polyline>
29553
29553
  </svg>
29554
29554
  `;
29555
- class H3 extends Ae {
29555
+ class U3 extends Ae {
29556
29556
  constructor(e = {}) {
29557
29557
  if (super(e), this.inputType = "select", this._options = [], this.isOpen = !1, this.selectedOptionIndex = null, this.optionsListEl = null, this.svgContainer = null, this.buttonEl = null, this.isLoading = !1, this.container = null, this.hasInitializedOptions = !1, this.selectedOptionIndex = null, e.default !== void 0 && (this.value = e.default), this.initializeOptions(e), !e.getOptionsAsync && this.value !== void 0) {
29558
29558
  const r = this._options.findIndex(
@@ -29703,7 +29703,7 @@ class H3 extends Ae {
29703
29703
  ), this.updateButtonText(), this.updateOptionsList(), this.detectChangeCallback && this.detectChangeCallback !== this.props.detectChange && this.detectChangeCallback(e);
29704
29704
  }
29705
29705
  }
29706
- class U3 extends Ae {
29706
+ class W3 extends Ae {
29707
29707
  constructor(e) {
29708
29708
  var r, a;
29709
29709
  super(e), this.inputType = "text", this.value = e.default ?? ((a = (r = e.options) == null ? void 0 : r[0]) == null ? void 0 : a.value) ?? "", this.detectChangeCallback = e.detectChange;
@@ -29756,7 +29756,7 @@ class U3 extends Ae {
29756
29756
  const x3 = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
29757
29757
  <path d="M13.3334 5.99996H2.66675M13.3334 9.99996H2.66675M5.33341 12.6666V3.33329M10.6667 12.6666V3.33329" stroke="#667085" strokeWidth="1.33333" strokeLinecap="round" strokeLinejoin="round"/>
29758
29758
  </svg>`;
29759
- class W3 extends Ae {
29759
+ class $3 extends Ae {
29760
29760
  // Store mobile value
29761
29761
  constructor(e = {}) {
29762
29762
  e.rowGap = e.rowGap ?? !0, e.columnGap = e.columnGap ?? !0, e.title = e.title ?? "Gap", e.icon = e.icon ?? x3, e.suffix = e.suffix ?? "px", e.minValue = e.minValue ?? 0, super(e), this.inputType = "number", this.inputValues = {}, this.mobileValue = e.mobile, this.value = this.validateValue(e.default ?? 0), e.rowGap && (this.inputValues.row = this.value), e.columnGap && (this.inputValues.column = this.value);
@@ -29813,7 +29813,7 @@ class W3 extends Ae {
29813
29813
  const v3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
29814
29814
  <path d="M2.25 11.75H15.75M5.85 2.75H12.15C13.4101 2.75 14.0402 2.75 14.5215 2.99524C14.9448 3.21095 15.289 3.55516 15.5048 3.97852C15.75 4.45982 15.75 5.08988 15.75 6.35V12.65C15.75 13.9101 15.75 14.5402 15.5048 15.0215C15.289 15.4448 14.9448 15.789 14.5215 16.0048C14.0402 16.25 13.4101 16.25 12.15 16.25H5.85C4.58988 16.25 3.95982 16.25 3.47852 16.0048C3.05516 15.789 2.71095 15.4448 2.49524 15.0215C2.25 14.5402 2.25 13.9101 2.25 12.65V6.35C2.25 5.08988 2.25 4.45982 2.49524 3.97852C2.71095 3.55516 3.05516 3.21095 3.47852 2.99524C3.95982 2.75 4.58988 2.75 5.85 2.75Z" stroke="#667085" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
29815
29815
  </svg>`;
29816
- class $3 extends pr {
29816
+ class G3 extends pr {
29817
29817
  constructor(e = {}) {
29818
29818
  super({
29819
29819
  ...e,
@@ -29830,7 +29830,7 @@ const w3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewB
29830
29830
  <path d="M15.75 7.25H2.25m9.9 9h-6.3c-1.26 0-1.89 0-2.371-.245a2.25 2.25 0 0 1-.984-.983c-.245-.482-.245-1.112-.245-2.372v-6.3c0-1.26 0-1.89.245-2.371a2.25 2.25 0 0 1 .984-.984c.48-.245 1.11-.245 2.371-.245h6.3c1.26 0 1.89 0 2.371.245.424.216.768.56.984.984.245.48.245 1.11.245 2.371v6.3c0 1.26 0 1.89-.245 2.371-.216.424-.56.768-.984.984-.48.245-1.11.245-2.371.245"
29831
29831
  stroke="#667085" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
29832
29832
  </svg>`;
29833
- class G3 extends pr {
29833
+ class z3 extends pr {
29834
29834
  constructor(e = {}) {
29835
29835
  super({
29836
29836
  ...e,
@@ -29964,6 +29964,25 @@ function _3(t, e = 3) {
29964
29964
  r && Kr(t, r);
29965
29965
  });
29966
29966
  }
29967
+ const T3 = (t, e, r) => {
29968
+ let a = !1, n = 0, i = 0, s = 0, o = 0;
29969
+ const l = (h) => {
29970
+ if (h.target.closest("button")) return;
29971
+ a = !0, n = h.clientX, i = h.clientY;
29972
+ const u = e.getBoundingClientRect();
29973
+ s = u.left, o = u.top, document.addEventListener("mousemove", c), document.addEventListener("mouseup", f), document.body.style.userSelect = "none";
29974
+ }, c = (h) => {
29975
+ if (!a) return;
29976
+ const u = h.clientX - n, p = h.clientY - i, m = window.innerWidth, d = window.innerHeight, g = e.offsetWidth, v = e.offsetHeight;
29977
+ let w = s + u, x = o + p;
29978
+ w = Math.max(8, Math.min(m - g - 8, w)), x = Math.max(8, Math.min(d - v - 8, x)), e.style.left = `${w}px`, e.style.top = `${x}px`;
29979
+ }, f = () => {
29980
+ a = !1, document.removeEventListener("mousemove", c), document.removeEventListener("mouseup", f), document.body.style.userSelect = "";
29981
+ };
29982
+ return t.addEventListener("mousedown", l), () => {
29983
+ t.removeEventListener("mousedown", l), document.removeEventListener("mousemove", c), document.removeEventListener("mouseup", f);
29984
+ };
29985
+ };
29967
29986
  function Pc(t) {
29968
29987
  const e = document.createElement("div");
29969
29988
  e.classList.add("simple-multi-language-row");
@@ -29991,17 +30010,17 @@ function Pc(t) {
29991
30010
  }
29992
30011
  return e;
29993
30012
  }
29994
- function T3(t) {
30013
+ function S3(t) {
29995
30014
  const e = document.createElement("div");
29996
30015
  e.classList.add("multi-language-popup-overlay");
29997
30016
  const r = document.createElement("div");
29998
30017
  r.classList.add("multi-language-popup");
29999
30018
  const a = document.createElement("div");
30000
- a.classList.add("multi-language-popup-header");
30019
+ a.classList.add("multi-language-popup-header"), a.style.cursor = "move";
30001
30020
  const n = document.createElement("h3");
30002
30021
  n.classList.add("multi-language-popup-title"), n.textContent = "All Languages";
30003
30022
  const i = document.createElement("button");
30004
- i.classList.add("multi-language-close-button"), i.innerHTML = C3, i.addEventListener("click", () => t.onClose()), a.appendChild(n), a.appendChild(i), r.appendChild(a);
30023
+ i.classList.add("multi-language-close-button"), i.innerHTML = C3, i.addEventListener("click", () => t.onClose()), T3(a, r), a.appendChild(n), a.appendChild(i), r.appendChild(a);
30005
30024
  const s = document.createElement("div");
30006
30025
  s.classList.add("multi-language-popup-content"), t.languages.forEach((c) => {
30007
30026
  var d;
@@ -30023,6 +30042,9 @@ function T3(t) {
30023
30042
  const l = document.createElement("button");
30024
30043
  return l.classList.add("multi-language-done-button"), l.textContent = "Done", l.addEventListener("click", () => t.onClose()), o.appendChild(l), r.appendChild(o), e.appendChild(r), e.addEventListener("mousedown", (c) => {
30025
30044
  c.target === e && t.onClose();
30045
+ }), requestAnimationFrame(() => {
30046
+ const c = window.innerWidth, f = window.innerHeight, h = r.offsetWidth, u = r.offsetHeight, p = Math.max(8, (c - h) / 2), m = Math.max(8, (f - u) / 2);
30047
+ r.style.left = `${p}px`, r.style.top = `${m}px`;
30026
30048
  }), e;
30027
30049
  }
30028
30050
  class x0 {
@@ -30313,8 +30335,13 @@ const Zt = class Zt extends Ae {
30313
30335
  const { type: i, data: s } = n.data || {};
30314
30336
  i === "TEXT_ELEMENT_CLICKED" && s.$id == this.$id && this.showPopup();
30315
30337
  };
30316
- const r = Zt.messageListeners.get(this.instanceId);
30317
- r && window.removeEventListener("message", r), Zt.messageListeners.set(this.instanceId, this.messageHandler), window.addEventListener("message", this.messageHandler), this.defaultLanguage = this.resolveDefaultLanguage();
30338
+ const r = Zt.messageListeners.get(
30339
+ this.instanceId
30340
+ );
30341
+ r && window.removeEventListener("message", r), Zt.messageListeners.set(
30342
+ this.instanceId,
30343
+ this.messageHandler
30344
+ ), window.addEventListener("message", this.messageHandler), this.defaultLanguage = this.resolveDefaultLanguage();
30318
30345
  const a = e.multiImg ? e.defaultValue || "" : e.defaultValue || Hn(this.defaultLanguage);
30319
30346
  e.languages.forEach((n) => {
30320
30347
  var i, s;
@@ -30326,7 +30353,9 @@ const Zt = class Zt extends Ae {
30326
30353
  }
30327
30354
  findLanguageMatch(e) {
30328
30355
  const r = this.normalizeLanguageCode(e);
30329
- return this.props.languages.find((a) => this.normalizeLanguageCode(a) === r);
30356
+ return this.props.languages.find(
30357
+ (a) => this.normalizeLanguageCode(a) === r
30358
+ );
30330
30359
  }
30331
30360
  resolveDefaultLanguage() {
30332
30361
  const e = this.findLanguageMatch(Ae.DefaultLanguage), r = Ae.HasExplicitCurrentLanguage() && Ae.CurrentLanguage() ? this.findLanguageMatch(Ae.CurrentLanguage()) : void 0;
@@ -30334,7 +30363,10 @@ const Zt = class Zt extends Ae {
30334
30363
  }
30335
30364
  createTextareaRowForLanguage(e, r = !1) {
30336
30365
  var o;
30337
- const a = ((o = this.value) == null ? void 0 : o[e]) || "", n = Hn(e, this.props.placeholder || Qi), i = this.uploadSettings.get(e);
30366
+ const a = ((o = this.value) == null ? void 0 : o[e]) || "", n = Hn(
30367
+ e,
30368
+ this.props.placeholder || Qi
30369
+ ), i = this.uploadSettings.get(e);
30338
30370
  if (this.props.multiImg && !i) {
30339
30371
  const l = new ai({
30340
30372
  defaultUrl: a || "",
@@ -30368,15 +30400,22 @@ const Zt = class Zt extends Ae {
30368
30400
  updateOtherLanguagePlaceholders(e) {
30369
30401
  !this.container && !this.popup || this.props.languages.forEach((r) => {
30370
30402
  if (r === this.defaultLanguage) return;
30371
- const a = e || Hn(r, this.props.placeholder || Qi);
30403
+ const a = e || Hn(
30404
+ r,
30405
+ this.props.placeholder || Qi
30406
+ );
30372
30407
  [this.container, this.popup].forEach((n) => {
30373
- const i = n == null ? void 0 : n.querySelector(`#textarea-${r}`);
30408
+ const i = n == null ? void 0 : n.querySelector(
30409
+ `#textarea-${r}`
30410
+ );
30374
30411
  i && (!i.value || i.value.trim() === "") && (i.setAttribute("data-full-placeholder", a), Kr(i, a));
30375
30412
  });
30376
30413
  });
30377
30414
  }
30378
30415
  renderContent(e) {
30379
- const r = e.querySelector(".simple-multi-language-content");
30416
+ const r = e.querySelector(
30417
+ ".simple-multi-language-content"
30418
+ );
30380
30419
  if (!r) return;
30381
30420
  r.innerHTML = "";
30382
30421
  const a = Ae.HasExplicitCurrentLanguage(), n = Ae.CurrentLanguage();
@@ -30388,7 +30427,9 @@ const Zt = class Zt extends Ae {
30388
30427
  else {
30389
30428
  const i = this.createTextareaRowForLanguage(n, !1);
30390
30429
  r.appendChild(i);
30391
- const s = r.querySelector(".simple-language-textarea");
30430
+ const s = r.querySelector(
30431
+ ".simple-language-textarea"
30432
+ );
30392
30433
  if (s) {
30393
30434
  const o = s.getAttribute("data-full-placeholder") || "";
30394
30435
  o && Kr(s, o);
@@ -30409,7 +30450,7 @@ const Zt = class Zt extends Ae {
30409
30450
  this.updateLanguageValue(r, s), r === this.defaultLanguage && this.updateOtherLanguagePlaceholders(s);
30410
30451
  }), this.uploadSettings.set(r, i);
30411
30452
  }
30412
- }), this.popup = T3({
30453
+ }), this.popup = S3({
30413
30454
  languages: this.props.languages,
30414
30455
  values: this.value || {},
30415
30456
  placeholder: this.props.placeholder,
@@ -30420,7 +30461,9 @@ const Zt = class Zt extends Ae {
30420
30461
  },
30421
30462
  uploadSettings: this.uploadSettings,
30422
30463
  dataTestPath: this.getDataPropsPath()
30423
- }), document.body.appendChild(this.popup), this.updateOtherLanguagePlaceholders(((e = this.value) == null ? void 0 : e[this.defaultLanguage]) || ""));
30464
+ }), document.body.appendChild(this.popup), this.updateOtherLanguagePlaceholders(
30465
+ ((e = this.value) == null ? void 0 : e[this.defaultLanguage]) || ""
30466
+ ));
30424
30467
  }
30425
30468
  closePopup() {
30426
30469
  this.popup && (document.body.removeChild(this.popup), this.popup = null);
@@ -30438,7 +30481,9 @@ const Zt = class Zt extends Ae {
30438
30481
  this.container && this.renderContent(this.container);
30439
30482
  }), this.resizeHandler = () => {
30440
30483
  if (!this.container) return;
30441
- this.container.querySelectorAll(".simple-language-textarea").forEach((i) => {
30484
+ this.container.querySelectorAll(
30485
+ ".simple-language-textarea"
30486
+ ).forEach((i) => {
30442
30487
  const s = i.getAttribute("data-full-placeholder") || "";
30443
30488
  s && Kr(i, s);
30444
30489
  });
@@ -30482,18 +30527,18 @@ const Zt = class Zt extends Ae {
30482
30527
  n.set(h, (n.get(h) || 0) + 1);
30483
30528
  }), this.instances.forEach((s, o) => {
30484
30529
  if (!s.value) return;
30485
- s.props.languages.forEach((d) => a.add(d));
30530
+ s.props.languages.forEach((v) => a.add(v));
30486
30531
  const l = {};
30487
- s.props.languages.forEach((d) => {
30488
- var g;
30489
- l[d] = ((g = s.value) == null ? void 0 : g[d]) || "";
30532
+ s.props.languages.forEach((v) => {
30533
+ var w;
30534
+ l[v] = ((w = s.value) == null ? void 0 : w[v]) || "";
30490
30535
  });
30491
- const c = o.split(" > "), f = c[0] || "", h = c[c.length - 1] || "", u = s.props.title || "", p = `${f}:${u}`;
30492
- let m;
30493
- u && n.get(p) > 1 ? m = `${u} (${h})` : u ? m = u : m = h, r.push({
30536
+ const c = o.split(" > "), f = c[0] || "", h = c[c.length - 1] || "", u = s.props.title || "", p = `${f}:${u}`, m = c.slice(1, -1), d = u || h;
30537
+ let g;
30538
+ m.length > 0 ? g = [...m, d].join(" > ") : u && n.get(p) > 1 ? g = `${u} (${h})` : g = d, r.push({
30494
30539
  id: o,
30495
30540
  title: s.props.title || o,
30496
- settingTitle: m,
30541
+ settingTitle: g,
30497
30542
  value: l
30498
30543
  });
30499
30544
  }), r.length === 0) {
@@ -30510,7 +30555,10 @@ const Zt = class Zt extends Ae {
30510
30555
  });
30511
30556
  const a = Array.from(r).sort();
30512
30557
  try {
30513
- const n = await x0.importFromExcel(e, a);
30558
+ const n = await x0.importFromExcel(
30559
+ e,
30560
+ a
30561
+ );
30514
30562
  let i = 0;
30515
30563
  n.forEach((s) => {
30516
30564
  const o = s.id.split(" > "), l = o[0] || "";
@@ -30522,7 +30570,10 @@ const Zt = class Zt extends Ae {
30522
30570
  const p = `${l} > ${f}`;
30523
30571
  u = this.instances.get(p);
30524
30572
  }
30525
- u || (u = this.findInstanceByComponentAndTitle(l, c)), u || (u = this.findInstanceByLeaf(f || c)), u ? (u.setValue(s.value), i++) : console.warn(
30573
+ u || (u = this.findInstanceByComponentAndTitle(
30574
+ l,
30575
+ c
30576
+ )), u || (u = this.findInstanceByLeaf(f || c)), u ? (u.setValue(s.value), i++) : console.warn(
30526
30577
  `No matching component found for translation "${l} > ${c}". Ensure the Excel uses the setting title or full component path.`
30527
30578
  );
30528
30579
  }), console.log(`Successfully imported ${i} translations`);
@@ -30580,7 +30631,7 @@ const Zt = class Zt extends Ae {
30580
30631
  };
30581
30632
  Zt.instances = /* @__PURE__ */ new Map(), Zt.messageListeners = /* @__PURE__ */ new Map();
30582
30633
  let Ca = Zt;
30583
- class z3 {
30634
+ class X3 {
30584
30635
  constructor(e = {}) {
30585
30636
  this.container = null, this.options = e;
30586
30637
  }
@@ -30645,7 +30696,7 @@ class z3 {
30645
30696
  return Ca.getAllInstances().size;
30646
30697
  }
30647
30698
  }
30648
- class X3 extends Ae {
30699
+ class j3 extends Ae {
30649
30700
  constructor(e = {}) {
30650
30701
  super(e), this.inputType = "select";
30651
30702
  const r = [
@@ -30672,16 +30723,16 @@ class X3 extends Ae {
30672
30723
  this.selectSetting.destroy(), super.destroy();
30673
30724
  }
30674
30725
  }
30675
- const S3 = `
30726
+ const b3 = `
30676
30727
  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
30677
30728
  <path d="M5.625 9.5H5.6325M12.375 9.5H12.3825M9 9.5H9.0075M9 12.875H9.0075M9 6.125H9.0075M2.25 6.35L2.25 12.65C2.25 13.9101 2.25 14.5402 2.49524 15.0215C2.71095 15.4448 3.05516 15.789 3.47852 16.0048C3.95982 16.25 4.58988 16.25 5.85 16.25H12.15C13.4101 16.25 14.0402 16.25 14.5215 16.0048C14.9448 15.789 15.289 15.4448 15.5048 15.0215C15.75 14.5402 15.75 13.9101 15.75 12.65V6.35C15.75 5.08988 15.75 4.45982 15.5048 3.97852C15.289 3.55516 14.9448 3.21095 14.5215 2.99524C14.0402 2.75 13.4101 2.75 12.15 2.75L5.85 2.75C4.58988 2.75 3.95982 2.75 3.47852 2.99524C3.05516 3.21095 2.71095 3.55516 2.49524 3.97852C2.25 4.45982 2.25 5.08988 2.25 6.35Z" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
30678
30729
  </svg>
30679
- `, b3 = `
30730
+ `, F3 = `
30680
30731
  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
30681
30732
  <path d="M6 2.75H5.85C4.58988 2.75 3.95982 2.75 3.47852 2.99524C3.05516 3.21095 2.71095 3.55516 2.49524 3.97852C2.25 4.45982 2.25 5.08988 2.25 6.35V6.5M6 16.25H5.85C4.58988 16.25 3.95982 16.25 3.47852 16.0048C3.05516 15.789 2.71095 15.4448 2.49524 15.0215C2.25 14.5402 2.25 13.9101 2.25 12.65V12.5M15.75 6.5V6.35C15.75 5.08988 15.75 4.45982 15.5048 3.97852C15.289 3.55516 14.9448 3.21095 14.5215 2.99524C14.0402 2.75 13.4101 2.75 12.15 2.75H12M15.75 12.5V12.65C15.75 13.9101 15.75 14.5402 15.5048 15.0215C15.289 15.4448 14.9448 15.789 14.5215 16.0048C14.0402 16.25 13.4101 16.25 12.15 16.25H12" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
30682
30733
  </svg>
30683
30734
  `;
30684
- class j3 extends dr {
30735
+ class K3 extends dr {
30685
30736
  constructor(e) {
30686
30737
  super({
30687
30738
  title: "Border",
@@ -30689,7 +30740,7 @@ class j3 extends dr {
30689
30740
  settings: {
30690
30741
  size: new pr({
30691
30742
  title: "Size",
30692
- icon: b3,
30743
+ icon: F3,
30693
30744
  default: (e == null ? void 0 : e.size) ?? 0,
30694
30745
  suffix: "px"
30695
30746
  }),
@@ -30699,7 +30750,7 @@ class j3 extends dr {
30699
30750
  }),
30700
30751
  radius: new pr({
30701
30752
  title: "Radius",
30702
- icon: S3,
30753
+ icon: b3,
30703
30754
  default: (e == null ? void 0 : e.radius) ?? 12,
30704
30755
  suffix: "px"
30705
30756
  })
@@ -30723,20 +30774,20 @@ class j3 extends dr {
30723
30774
  `;
30724
30775
  }
30725
30776
  }
30726
- const F3 = `
30777
+ const L3 = `
30727
30778
  <svg xmlns="http://www.w3.org/2000/svg" width="14" height="13" viewBox="0 0 14 13" fill="none">
30728
30779
  <path d="M1 2.75C1 2.05109 1 1.70163 1.11418 1.42597C1.26642 1.05843 1.55843 0.766422 1.92597 0.614181C2.20163 0.5 2.55109 0.5 3.25 0.5H10.75C11.4489 0.5 11.7984 0.5 12.074 0.614181C12.4416 0.766422 12.7336 1.05843 12.8858 1.42597C13 1.70163 13 2.05109 13 2.75M4.75 12.5H9.25M7 0.5V12.5" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
30729
30780
  </svg>
30730
- `, L3 = `
30781
+ `, A3 = `
30731
30782
  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
30732
30783
  <path d="M3 5.75C3 5.05109 3 4.70163 3.11418 4.42597C3.26642 4.05843 3.55843 3.76642 3.92597 3.61418C4.20163 3.5 4.55109 3.5 5.25 3.5H12.75C13.4489 3.5 13.7984 3.5 14.074 3.61418C14.4416 3.76642 14.7336 4.05843 14.8858 4.42597C15 4.70163 15 5.05109 15 5.75M6 15.5H12M7.6875 3.5V15.5M10.3125 3.5V15.5" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
30733
30784
  </svg>
30734
- `, A3 = `
30785
+ `, I3 = `
30735
30786
  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
30736
30787
  <path d="M6 5.75H12M9 5.75V13.25M5.85 16.25H12.15C13.4101 16.25 14.0402 16.25 14.5215 16.0048C14.9448 15.789 15.289 15.4448 15.5048 15.0215C15.75 14.5402 15.75 13.9101 15.75 12.65V6.35C15.75 5.08988 15.75 4.45982 15.5048 3.97852C15.289 3.55516 14.9448 3.21095 14.5215 2.99524C14.0402 2.75 13.4101 2.75 12.15 2.75H5.85C4.58988 2.75 3.95982 2.75 3.47852 2.99524C3.05516 3.21095 2.71095 3.55516 2.49524 3.97852C2.25 4.45982 2.25 5.08988 2.25 6.35V12.65C2.25 13.9101 2.25 14.5402 2.49524 15.0215C2.71095 15.4448 3.05516 15.789 3.47852 16.0048C3.95982 16.25 4.58988 16.25 5.85 16.25Z" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
30737
30788
  </svg>
30738
30789
  `;
30739
- class K3 extends dr {
30790
+ class Y3 extends dr {
30740
30791
  constructor(e = {}) {
30741
30792
  const { showAlign: r = e.showAlign ?? !0, ...a } = e;
30742
30793
  super({
@@ -30750,7 +30801,7 @@ class K3 extends dr {
30750
30801
  }),
30751
30802
  fontFamily: new Zi({
30752
30803
  title: "Font",
30753
- icon: F3,
30804
+ icon: L3,
30754
30805
  default: a.fontFamilyDefault ?? "Satoshi",
30755
30806
  options: a.fontFamilyOptions ?? [
30756
30807
  { name: "Alt", value: "Croco Sans Black Caps Alt" },
@@ -30763,7 +30814,7 @@ class K3 extends dr {
30763
30814
  }),
30764
30815
  fontWeight: new Zi({
30765
30816
  title: "Weight",
30766
- icon: L3,
30817
+ icon: A3,
30767
30818
  default: a.fontWeightDefault ?? "400",
30768
30819
  options: a.fontWeightOptions ?? [
30769
30820
  { name: "Regular", value: "400" },
@@ -30775,7 +30826,7 @@ class K3 extends dr {
30775
30826
  }),
30776
30827
  fontSize: new pr({
30777
30828
  title: "Size",
30778
- icon: A3,
30829
+ icon: I3,
30779
30830
  default: a.fontSizeDefault ?? 12,
30780
30831
  suffix: "px",
30781
30832
  mobile: a.fontSizeMobileDefault
@@ -30861,7 +30912,7 @@ class Dn extends Ae {
30861
30912
  }), a;
30862
30913
  }
30863
30914
  }
30864
- class Y3 extends dr {
30915
+ class J3 extends dr {
30865
30916
  constructor(e) {
30866
30917
  super({
30867
30918
  title: "Margins",
@@ -30869,25 +30920,25 @@ class Y3 extends dr {
30869
30920
  settings: {
30870
30921
  marginTop: new Dn({
30871
30922
  title: "Top",
30872
- icon: I3,
30923
+ icon: N3,
30873
30924
  suffix: "px",
30874
30925
  default: (e == null ? void 0 : e.marginTop) ?? "auto"
30875
30926
  }),
30876
30927
  marginRight: new Dn({
30877
30928
  title: "Right",
30878
- icon: N3,
30929
+ icon: M3,
30879
30930
  suffix: "px",
30880
30931
  default: (e == null ? void 0 : e.marginRight) ?? 0
30881
30932
  }),
30882
30933
  marginBottom: new Dn({
30883
30934
  title: "Bottom",
30884
- icon: M3,
30935
+ icon: O3,
30885
30936
  suffix: "px",
30886
30937
  default: (e == null ? void 0 : e.marginBottom) ?? 0
30887
30938
  }),
30888
30939
  marginLeft: new Dn({
30889
30940
  title: "Left",
30890
- icon: O3,
30941
+ icon: P3,
30891
30942
  suffix: "px",
30892
30943
  default: (e == null ? void 0 : e.marginLeft) ?? 0
30893
30944
  })
@@ -30904,16 +30955,16 @@ class Y3 extends dr {
30904
30955
  `;
30905
30956
  }
30906
30957
  }
30907
- const I3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
30958
+ const N3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
30908
30959
  <path d="M2.25 16.25H2.2575M2.25 9.5H2.2575M2.25 12.875H2.2575M2.25 6.125H2.2575M5.625 16.25H5.6325M5.625 9.5H5.6325M12.375 16.25H12.3825M12.375 9.5H12.3825M9 16.25H9.0075M9 9.5H9.0075M9 12.875H9.0075M9 6.125H9.0075M15.75 16.25H15.7575M15.75 9.5H15.7575M15.75 12.875H15.7575M15.75 6.125H15.7575M15.75 2.75H2.25" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
30909
- </svg>`, N3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
30910
- <path d="M5.625 2.75H5.6325M5.625 9.5H5.6325M5.625 16.25H5.6325M12.375 2.75H12.3825M12.375 9.5H12.3825M12.375 16.25H12.3825M9 2.75H9.0075M9 9.5H9.0075M9 16.25H9.0075M9 12.875H9.0075M9 6.125H9.0075M2.25 2.75H2.2575M2.25 9.5H2.2575M2.25 16.25H2.2575M2.25 12.875H2.2575M2.25 6.125H2.2575M15.75 16.25V2.75" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
30911
30960
  </svg>`, M3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
30912
- <path d="M2.25 2.75H2.2575M2.25 9.5H2.2575M2.25 12.875H2.2575M2.25 6.125H2.2575M5.625 2.75H5.6325M5.625 9.5H5.6325M12.375 2.75H12.3825M12.375 9.5H12.3825M9 2.75H9.0075M9 9.5H9.0075M9 12.875H9.0075M9 6.125H9.0075M15.75 2.75H15.7575M15.75 9.5H15.7575M15.75 12.875H15.7575M15.75 6.125H15.7575M15.75 16.25H2.25" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
30961
+ <path d="M5.625 2.75H5.6325M5.625 9.5H5.6325M5.625 16.25H5.6325M12.375 2.75H12.3825M12.375 9.5H12.3825M12.375 16.25H12.3825M9 2.75H9.0075M9 9.5H9.0075M9 16.25H9.0075M9 12.875H9.0075M9 6.125H9.0075M2.25 2.75H2.2575M2.25 9.5H2.2575M2.25 16.25H2.2575M2.25 12.875H2.2575M2.25 6.125H2.2575M15.75 16.25V2.75" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
30913
30962
  </svg>`, O3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
30963
+ <path d="M2.25 2.75H2.2575M2.25 9.5H2.2575M2.25 12.875H2.2575M2.25 6.125H2.2575M5.625 2.75H5.6325M5.625 9.5H5.6325M12.375 2.75H12.3825M12.375 9.5H12.3825M9 2.75H9.0075M9 9.5H9.0075M9 12.875H9.0075M9 6.125H9.0075M15.75 2.75H15.7575M15.75 9.5H15.7575M15.75 12.875H15.7575M15.75 6.125H15.7575M15.75 16.25H2.25" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
30964
+ </svg>`, P3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
30914
30965
  <path d="M5.625 2.75H5.6325M5.625 9.5H5.6325M5.625 16.25H5.6325M12.375 2.75H12.3825M12.375 9.5H12.3825M12.375 16.25H12.3825M9 2.75H9.0075M9 9.5H9.0075M9 16.25H9.0075M9 12.875H9.0075M9 6.125H9.0075M15.75 2.75H15.7575M15.75 9.5H15.7575M15.75 16.25H15.7575M15.75 12.875H15.7575M15.75 6.125H15.7575M2.25 16.25V2.75" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
30915
30966
  </svg>`;
30916
- class J3 extends dr {
30967
+ class q3 extends dr {
30917
30968
  constructor(e) {
30918
30969
  super({
30919
30970
  title: "Background Image",
@@ -30952,7 +31003,7 @@ class J3 extends dr {
30952
31003
  `;
30953
31004
  }
30954
31005
  }
30955
- class q3 extends dr {
31006
+ class Z3 extends dr {
30956
31007
  constructor(e) {
30957
31008
  super({
30958
31009
  title: (e == null ? void 0 : e.title) ?? "Image",
@@ -30976,42 +31027,42 @@ class q3 extends dr {
30976
31027
  }
30977
31028
  export {
30978
31029
  _4 as AlignSetting,
30979
- X3 as AnimationSetting,
30980
- J3 as BackgroundSettingSet,
30981
- j3 as BorderSettingSet,
30982
- B3 as ButtonSetting,
31030
+ j3 as AnimationSetting,
31031
+ q3 as BackgroundSettingSet,
31032
+ K3 as BorderSettingSet,
31033
+ V3 as ButtonSetting,
30983
31034
  fr as ColorSetting,
30984
31035
  wa as ColorWithOpacitySetting,
30985
- V3 as DimensionSetting,
31036
+ H3 as DimensionSetting,
30986
31037
  Pn as ExcelRulesService,
30987
31038
  x0 as ExcelTranslationService,
30988
- W3 as GapSetting,
31039
+ $3 as GapSetting,
30989
31040
  Fa as GradientSetting,
30990
- K3 as HeaderTypographySettingSet,
31041
+ Y3 as HeaderTypographySettingSet,
30991
31042
  u3 as HeightSetting,
30992
- R3 as HtmlSetting,
31043
+ B3 as HtmlSetting,
30993
31044
  m0 as ImageMapSetting,
30994
- q3 as ImageSettingSet,
30995
- $3 as MarginBottomSetting,
30996
- Y3 as MarginSettingGroup,
30997
- G3 as MarginTopSetting,
31045
+ Z3 as ImageSettingSet,
31046
+ G3 as MarginBottomSetting,
31047
+ J3 as MarginSettingGroup,
31048
+ z3 as MarginTopSetting,
30998
31049
  Ca as MultiLanguageSetting,
30999
31050
  pr as NumberSetting,
31000
31051
  y4 as OpacitySetting,
31001
- H3 as SelectApiSettings,
31052
+ U3 as SelectApiSettings,
31002
31053
  Zi as SelectSetting,
31003
31054
  Ae as Setting,
31004
31055
  dr as SettingGroup,
31005
31056
  v4 as StringSetting,
31006
31057
  g4 as TabSettingGroup,
31007
31058
  g4 as TabsSettingGroup,
31008
- U3 as Toggle,
31009
- z3 as TranslationManager,
31059
+ W3 as Toggle,
31060
+ X3 as TranslationManager,
31010
31061
  ai as UploadSetting,
31011
31062
  p3 as WidthSetting,
31012
- D3 as asSettingGroupWithSettings,
31063
+ R3 as asSettingGroupWithSettings,
31013
31064
  x4 as createSettingGroup,
31014
- P3 as createTabSettingGroup,
31065
+ D3 as createTabSettingGroup,
31015
31066
  Er as isSetting,
31016
31067
  vi as isSettingChild,
31017
31068
  $e as isSettingGroup,