builder-settings-types 0.0.249 → 0.0.251

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.
@@ -1,35 +1,35 @@
1
- const P = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
2
- let S = (c = 21) => {
1
+ const B = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
2
+ let T = (c = 21) => {
3
3
  let t = "", e = crypto.getRandomValues(new Uint8Array(c |= 0));
4
4
  for (; c--; )
5
- t += P[e[c] & 63];
5
+ t += B[e[c] & 63];
6
6
  return t;
7
7
  };
8
- function A(c) {
8
+ function $(c) {
9
9
  let t = 0, e = c.parentElement;
10
10
  for (; e; )
11
11
  e.classList.contains("setting-group") && e !== c && t++, e = e.parentElement;
12
12
  return t;
13
13
  }
14
- function x(c, t) {
14
+ function k(c, t) {
15
15
  const e = Math.min(Math.max(t, 0), 5);
16
16
  c.setAttribute("data-nesting-level", e.toString()), e > 0 ? c.style.setProperty("--visual-indent", `${e * 2}px`) : (c.style.removeProperty("--visual-indent"), c.style.marginLeft = "");
17
17
  }
18
- function V(c, t = 0) {
18
+ function S(c, t = 0) {
19
19
  c.querySelectorAll(":scope > .setting-group-content > .setting-group").forEach((i) => {
20
20
  const s = i, n = t + 1;
21
- x(s, n), V(s, n);
21
+ k(s, n), S(s, n);
22
22
  });
23
23
  }
24
- const B = {
24
+ const D = {
25
25
  maxLevel: 5,
26
26
  spacingMultiplier: 1,
27
27
  visualIndentMultiplier: 2,
28
28
  enableAutoDetection: !0
29
29
  };
30
- class $ {
30
+ class F {
31
31
  constructor(t = {}) {
32
- this.observedElements = /* @__PURE__ */ new Set(), this.config = { ...B, ...t }, this.config.enableAutoDetection && this.setupAutoDetection();
32
+ this.observedElements = /* @__PURE__ */ new Set(), this.config = { ...D, ...t }, this.config.enableAutoDetection && this.setupAutoDetection();
33
33
  }
34
34
  /**
35
35
  * Setup automatic detection using MutationObserver
@@ -63,7 +63,7 @@ class $ {
63
63
  * Update nesting for a specific element
64
64
  */
65
65
  updateElementNesting(t) {
66
- const e = A(t);
66
+ const e = $(t);
67
67
  this.applyNestingWithConfig(t, e);
68
68
  }
69
69
  /**
@@ -111,20 +111,20 @@ class $ {
111
111
  this.observer && (this.observer.disconnect(), this.observer = void 0), this.observedElements.clear();
112
112
  }
113
113
  }
114
- const N = new $();
115
- function y(c) {
114
+ const O = new F();
115
+ function M(c) {
116
116
  if (c === null || typeof c != "object") return c;
117
117
  if (c instanceof Date) return new Date(c.getTime());
118
- if (c instanceof Array) return c.map((t) => y(t));
118
+ if (c instanceof Array) return c.map((t) => M(t));
119
119
  if (typeof c == "object") {
120
120
  const t = {};
121
121
  for (const e in c)
122
- Object.prototype.hasOwnProperty.call(c, e) && (t[e] = y(c[e]));
122
+ Object.prototype.hasOwnProperty.call(c, e) && (t[e] = M(c[e]));
123
123
  return t;
124
124
  }
125
125
  return c;
126
126
  }
127
- function D(c) {
127
+ function R(c) {
128
128
  switch (c) {
129
129
  case "number":
130
130
  return 0;
@@ -144,7 +144,7 @@ function D(c) {
144
144
  }
145
145
  class p {
146
146
  constructor(t = {}) {
147
- this.props = t, this.dataPropsPath = "", this.id = t.id || S(), this.value = this.props.default, this.desktop = this.props.default, this.title = t.title || "", this.includeGetJson = t.includeGetJson !== void 0 ? t.includeGetJson : !0;
147
+ this.props = t, this.dataPropsPath = "", this.id = t.id || T(), this.value = this.props.default, this.desktop = this.props.default, this.title = t.title || "", this.includeGetJson = t.includeGetJson !== void 0 ? t.includeGetJson : !0;
148
148
  }
149
149
  static SetUploadUrl(t) {
150
150
  globalThis.DefaultUploadUrl = t, p.DefaultUploadUrl = t;
@@ -171,8 +171,8 @@ class p {
171
171
  this.value = t, this.inputEl && (this.inputEl.value = String(t)), this.onChange && this.onChange(t), this.props.detectChange && this.props.detectChange(t);
172
172
  }
173
173
  clone() {
174
- const t = this.constructor, e = y(this.props), i = new t(e);
175
- return i.value = y(this.value), i;
174
+ const t = this.constructor, e = M(this.props), i = new t(e);
175
+ return i.value = M(this.value), i;
176
176
  }
177
177
  createInput(t) {
178
178
  t = { ...this.props.inputProps, ...t };
@@ -192,7 +192,7 @@ class p {
192
192
  const i = document.createElement("div");
193
193
  i.className = t.wrapperClassName || "";
194
194
  const s = document.createElement("input");
195
- this.inputEl = s, s.value = String(t.value || D(t.inputType)), s.type = t.inputType, s.placeholder = t.placeholder || "", s.className = t.inputClassName || "", this.dataPropsPath && s.setAttribute("data-test-id", this.dataPropsPath);
195
+ this.inputEl = s, s.value = String(t.value || R(t.inputType)), s.type = t.inputType, s.placeholder = t.placeholder || "", s.className = t.inputClassName || "", this.dataPropsPath && s.setAttribute("data-test-id", this.dataPropsPath);
196
196
  const n = (o) => {
197
197
  const l = o.target;
198
198
  let r = l.value;
@@ -233,30 +233,30 @@ class p {
233
233
  return i.className = "input-icon " + (e || ""), i.innerHTML = t, i;
234
234
  }
235
235
  }
236
- function w(c) {
236
+ function E(c) {
237
237
  return c instanceof p;
238
238
  }
239
239
  function g(c) {
240
240
  return c instanceof v;
241
241
  }
242
- function gt(c) {
243
- return w(c) || g(c);
242
+ function H(c) {
243
+ return E(c) || g(c);
244
244
  }
245
- function E(c, t) {
245
+ function y(c, t) {
246
246
  for (const e in c)
247
247
  if (Object.prototype.hasOwnProperty.call(c, e)) {
248
248
  const i = c[e];
249
249
  t(e, i);
250
250
  }
251
251
  }
252
- const L = class L {
252
+ const V = class V {
253
253
  constructor(t) {
254
254
  this.elementRef = null, this.isHidden = !1, this.custom = !1, this.initialValues = {}, this.changeTimeout = null, this.isHandlingChange = !1, this.changeHandlers = /* @__PURE__ */ new Set(), this.blurTimeout = null, this.lastChangeTime = 0, this.handleBlur = () => {
255
- }, this.pendingBlurHandler = null, this.originalDefaultValues = {}, this.nestingLevel = 0, this.dataPropsPath = "", this.id = t.id || S(), this.title = t.title, this.settings = t.settings, this.isCollapsed = t.collapsed ?? !1, this.isMain = t.main ?? !1, this.custom = t.custom ?? !1, this.nestingLevel = 0, this.includeGetJson = t.includeGetJson ?? !0, this.addItemCfg = t.addItem, this.deleteItemCfg = t.deleteItem, this.dataProps = t.dataProps, this.dataPropsPath = t.dataProps || "", Object.assign(this, t.settings), this.initialValues = this.getValues(), this.originalDefaultValues = this.getDefaultValues(), this.propagateNestingLevel(), this.propagateDataPropsPath();
255
+ }, this.pendingBlurHandler = null, this.originalDefaultValues = {}, this.nestingLevel = 0, this.dataPropsPath = "", this.id = t.id || T(), this.title = t.title, this.settings = t.settings, this.isCollapsed = t.collapsed ?? !1, this.isMain = t.main ?? !1, this.custom = t.custom ?? !1, this.nestingLevel = 0, this.includeGetJson = t.includeGetJson ?? !0, this.addItemCfg = t.addItem, this.deleteItemCfg = t.deleteItem, this.dataProps = t.dataProps, this.dataPropsPath = t.dataProps || "", Object.assign(this, t.settings), this.initialValues = this.getValues(), this.originalDefaultValues = this.getDefaultValues(), this.propagateNestingLevel(), this.propagateDataPropsPath();
256
256
  }
257
257
  propagateNestingLevel() {
258
258
  const t = this.nestingLevel + 1;
259
- E(this.settings, (e, i) => {
259
+ y(this.settings, (e, i) => {
260
260
  g(i) && (i.nestingLevel = t, i.propagateNestingLevel());
261
261
  });
262
262
  }
@@ -273,13 +273,13 @@ const L = class L {
273
273
  this.dataPropsPath = t, this.propagateDataPropsPath();
274
274
  }
275
275
  propagateDataPropsPath() {
276
- E(this.settings, (t, e) => {
276
+ y(this.settings, (t, e) => {
277
277
  const i = String(t), s = this.dataPropsPath ? `${this.dataPropsPath}_${i}` : i;
278
- (g(e) || w(e) && typeof e.setDataPropsPath == "function") && e.setDataPropsPath(s);
278
+ (g(e) || E(e) && typeof e.setDataPropsPath == "function") && e.setDataPropsPath(s);
279
279
  });
280
280
  }
281
281
  updateNestingStyles() {
282
- this.elementRef && (x(this.elementRef, this.nestingLevel), V(this.elementRef, this.nestingLevel));
282
+ this.elementRef && (k(this.elementRef, this.nestingLevel), S(this.elementRef, this.nestingLevel));
283
283
  }
284
284
  forceChildUIRefresh() {
285
285
  Object.entries(this.settings).forEach(([t, e]) => {
@@ -328,7 +328,7 @@ const L = class L {
328
328
  }
329
329
  clone() {
330
330
  const t = {};
331
- E(this.settings, (s, n) => {
331
+ y(this.settings, (s, n) => {
332
332
  const a = String(s);
333
333
  typeof n.clone == "function" ? t[a] = n.clone() : (console.warn(
334
334
  `Setting with key '${a}' does not have a clone method. Copying reference.`
@@ -344,7 +344,7 @@ const L = class L {
344
344
  addItem: this.addItemCfg,
345
345
  deleteItem: this.deleteItemCfg,
346
346
  dataProps: this.dataProps
347
- }, i = R(e);
347
+ }, i = W(e);
348
348
  return i.initialValues = this.getValues(), i;
349
349
  }
350
350
  resetDefault() {
@@ -354,7 +354,7 @@ const L = class L {
354
354
  setMobileValues(t) {
355
355
  !t || typeof t != "object" || (Object.entries(t).forEach(([e, i]) => {
356
356
  const s = this.settings[e];
357
- s && (g(s) || w(s)) && typeof s.setMobileValue == "function" && s.setMobileValue(i);
357
+ s && (g(s) || E(s)) && typeof s.setMobileValue == "function" && s.setMobileValue(i);
358
358
  }), this.setValue(t), this.onChange && this.onChange(this.getValues()));
359
359
  }
360
360
  getMobileValues(t) {
@@ -390,14 +390,14 @@ const L = class L {
390
390
  Object.keys(s).length > 0 && (this.lastChangeTime = Date.now(), this.initialValues = i, t(i), this.updateVisibility()), this.isHandlingChange = !1;
391
391
  }, 50));
392
392
  };
393
- return this.changeHandlers.clear(), E(this.settings, (i, s) => {
393
+ return this.changeHandlers.clear(), y(this.settings, (i, s) => {
394
394
  var n;
395
395
  if (g(s))
396
396
  s.setOnChange(() => {
397
397
  const a = this.getValues();
398
398
  this.initialValues = a, t(a);
399
399
  }), this.changeHandlers.add(() => t(this.getValues()));
400
- else if (w(s)) {
400
+ else if (E(s)) {
401
401
  const a = () => e();
402
402
  this.changeHandlers.add(a), s.setOnChange(a);
403
403
  } else {
@@ -420,10 +420,10 @@ const L = class L {
420
420
  const a = i.slice(this.addItemCfg.keyPrefix.length), o = Number(a);
421
421
  if (Number.isFinite(o)) {
422
422
  const l = this.addItemCfg.createItem(o);
423
- this.addSetting(i, l), n = l;
423
+ H(l) && (this.addSetting(i, l), n = l);
424
424
  }
425
425
  }
426
- n && (g(n) || w(n)) && typeof n.setValue == "function" && n.setValue(s);
426
+ n && (g(n) || E(n)) && typeof n.setValue == "function" && n.setValue(s);
427
427
  }), setTimeout(() => {
428
428
  this.forceChildUIRefresh();
429
429
  }, 0);
@@ -437,7 +437,7 @@ const L = class L {
437
437
  const s = this.getValues();
438
438
  this.initialValues = s, (n = this.onChange) == null || n.call(this, s), this.updateVisibility();
439
439
  };
440
- g(t) ? t.setOnChange(() => e()) : w(t) ? t.setOnChange(() => e()) : (i = t.setOnChange) == null || i.call(t, () => e());
440
+ g(t) ? t.setOnChange(() => e()) : E(t) ? t.setOnChange(() => e()) : (i = t.setOnChange) == null || i.call(t, () => e());
441
441
  }
442
442
  addSetting(t, e) {
443
443
  var s, n;
@@ -453,7 +453,7 @@ const L = class L {
453
453
  d && t.startsWith(d) && this.addDeleteButtonToElement(o, t);
454
454
  }
455
455
  const r = a.querySelector(".sg-add-button-bottom");
456
- r ? a.insertBefore(o, r) : a.appendChild(o), N.trackElement(o), x(o, this.nestingLevel + 1), V(o, this.nestingLevel + 1);
456
+ r ? a.insertBefore(o, r) : a.appendChild(o), O.trackElement(o), k(o, this.nestingLevel + 1), S(o, this.nestingLevel + 1);
457
457
  const h = o.style.display;
458
458
  o.style.display = "none", o.offsetHeight, o.style.display = h, this.updateNestingStyles();
459
459
  }
@@ -694,7 +694,7 @@ const L = class L {
694
694
  }
695
695
  draw() {
696
696
  const t = document.createElement("div");
697
- t.className = "setting-group", t.id = `setting-group-${this.id}`, L.hiddenElements.add(t), this.isMain && t.classList.add("main-group"), this.custom && t.classList.add("custom_class"), x(t, this.nestingLevel);
697
+ t.className = "setting-group", t.id = `setting-group-${this.id}`, V.hiddenElements.add(t), this.isMain && t.classList.add("main-group"), this.custom && t.classList.add("custom_class"), k(t, this.nestingLevel);
698
698
  const e = document.createElement("div");
699
699
  e.className = "setting-group-title", this.isCollapsed && e.classList.add("collapsed-view"), e.setAttribute("role", "button"), e.setAttribute(
700
700
  "aria-expanded",
@@ -749,11 +749,14 @@ const L = class L {
749
749
  </svg>`;
750
750
  h.innerHTML = `${d}<span style="margin-left:4px;">${this.addItemCfg.buttonLabel ?? "Add"}</span>`, h.addEventListener("click", (u) => {
751
751
  u.stopPropagation(), u.preventDefault();
752
- const k = this.getNextIndexFromPrefix(this.addItemCfg.keyPrefix), H = this.addItemCfg.createItem(k), T = `${this.addItemCfg.keyPrefix}${k}`;
753
- this.addSetting(T, H);
752
+ const w = this.getNextIndexFromPrefix(this.addItemCfg.keyPrefix), x = this.addItemCfg.createItem(w);
753
+ if (H(x)) {
754
+ const b = `${this.addItemCfg.keyPrefix}${w}`;
755
+ this.addSetting(b, x);
756
+ }
754
757
  }), o.appendChild(h);
755
758
  }
756
- return e.appendChild(i), e.appendChild(n), t.appendChild(e), t.appendChild(o), this.elementRef = t, N.trackElement(t), setTimeout(() => {
759
+ return e.appendChild(i), e.appendChild(n), t.appendChild(e), t.appendChild(o), this.elementRef = t, O.trackElement(t), setTimeout(() => {
757
760
  this.updateNestingStyles();
758
761
  }, 0), this.pendingBlurHandler && (this.pendingBlurHandler = null), t;
759
762
  }
@@ -795,12 +798,12 @@ const L = class L {
795
798
  }
796
799
  }
797
800
  };
798
- L.hiddenElements = /* @__PURE__ */ new Set();
799
- let v = L;
800
- function mt(c) {
801
- return new F(c);
801
+ V.hiddenElements = /* @__PURE__ */ new Set();
802
+ let v = V;
803
+ function vt(c) {
804
+ return new z(c);
802
805
  }
803
- class F extends v {
806
+ class z extends v {
804
807
  constructor(t) {
805
808
  super(t);
806
809
  const e = Object.keys(this.settings)[0];
@@ -851,13 +854,13 @@ class F extends v {
851
854
  return this.updateTabUI(), t;
852
855
  }
853
856
  }
854
- function R(c) {
857
+ function W(c) {
855
858
  return new v(c);
856
859
  }
857
- function ft(c) {
860
+ function Ct(c) {
858
861
  return c;
859
862
  }
860
- class z extends p {
863
+ class G extends p {
861
864
  constructor(t = {}) {
862
865
  super(t), this.inputType = "text", t.onChange && this.setOnChange(t.onChange);
863
866
  }
@@ -877,12 +880,12 @@ class z extends p {
877
880
  });
878
881
  }
879
882
  }
880
- const G = "<svg xmlns='http://www.w3.org/2000/svg' width='18' height='19' viewBox='0 0 18 19' fill='none'><path d='M8.99999 15.8542C9.79613 16.5667 10.8475 17 12 17C14.4853 17 16.5 14.9853 16.5 12.5C16.5 10.4248 15.0953 8.67769 13.1849 8.15763M4.81513 8.15762C2.9047 8.67768 1.5 10.4248 1.5 12.5C1.5 14.9853 3.51472 17 6 17C8.48528 17 10.5 14.9853 10.5 12.5C10.5 11.9146 10.3882 11.3554 10.1849 10.8424M13.5 6.5C13.5 8.98528 11.4853 11 9 11C6.51472 11 4.5 8.98528 4.5 6.5C4.5 4.01472 6.51472 2 9 2C11.4853 2 13.5 4.01472 13.5 6.5Z' stroke='#667085' stroke-linecap='round' stroke-linejoin='round'/></svg>";
881
- class m extends z {
883
+ const _ = "<svg xmlns='http://www.w3.org/2000/svg' width='18' height='19' viewBox='0 0 18 19' fill='none'><path d='M8.99999 15.8542C9.79613 16.5667 10.8475 17 12 17C14.4853 17 16.5 14.9853 16.5 12.5C16.5 10.4248 15.0953 8.67769 13.1849 8.15763M4.81513 8.15762C2.9047 8.67768 1.5 10.4248 1.5 12.5C1.5 14.9853 3.51472 17 6 17C8.48528 17 10.5 14.9853 10.5 12.5C10.5 11.9146 10.3882 11.3554 10.1849 10.8424M13.5 6.5C13.5 8.98528 11.4853 11 9 11C6.51472 11 4.5 8.98528 4.5 6.5C4.5 4.01472 6.51472 2 9 2C11.4853 2 13.5 4.01472 13.5 6.5Z' stroke='#667085' stroke-linecap='round' stroke-linejoin='round'/></svg>";
884
+ class m extends G {
882
885
  constructor(t) {
883
886
  super({
884
887
  ...t,
885
- icon: t.icon || G,
888
+ icon: t.icon || _,
886
889
  title: t.title || "Color",
887
890
  default: t.default ? m.normalizeColorValue(t.default) : "#000000"
888
891
  }), this.inputType = "color", this.element = null, this.colorInputEl = null, this.textInputEl = null, this.detectChange = t.detectChange;
@@ -981,7 +984,7 @@ class m extends z {
981
984
  return this.isValidHex() ? this.hexToRgb(this.value) : "0, 0, 0";
982
985
  }
983
986
  }
984
- const W = `
987
+ const j = `
985
988
  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
986
989
  <path d="M8.99999 15.8542C9.79613 16.5667 10.8475 17 12 17C14.4853 17 16.5 14.9853 16.5 12.5C16.5 10.4248 15.0953 8.67769 13.1849 8.15763M4.81513 8.15762C2.9047 8.67768 1.5 10.4248 1.5 12.5C1.5 14.9853 3.51472 17 6 17C8.48528 17 10.5 14.9853 10.5 12.5C10.5 11.9146 10.3882 11.3554 10.1849 10.8424M13.5 6.5C13.5 8.98528 11.4853 11 9 11C6.51472 11 4.5 8.98528 4.5 6.5C4.5 4.01472 6.51472 2 9 2C11.4853 2 13.5 4.01472 13.5 6.5Z" stroke="#667085" stroke-linecap="round" stroke-linejoin="round"/>
987
990
  <path d="M9 17C13.4183 17 17 13.4183 17 9C17 4.58172 13.4183 1 9 1C4.58172 1 1 4.58172 1 9C1 13.4183 4.58172 17 9 17Z" stroke="#667085" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round" opacity="0.5"/>
@@ -991,7 +994,7 @@ class C extends p {
991
994
  constructor(t = {}) {
992
995
  super({
993
996
  ...t,
994
- icon: t.icon || W,
997
+ icon: t.icon || j,
995
998
  title: t.title || "Color & Opacity",
996
999
  default: t.default || "#000000FF"
997
1000
  }), this.inputType = "color", this.element = null, this.colorInputEl = null, this.textInputEl = null, this.opacityInputEl = null, this.colorPreviewEl = null, this.detectChange = t.detectChange, this.value && (this.value = C.normalizeHexWithOpacity(this.value));
@@ -1109,7 +1112,7 @@ class C extends p {
1109
1112
  };
1110
1113
  }
1111
1114
  }
1112
- class vt extends p {
1115
+ class wt extends p {
1113
1116
  constructor(t = {}) {
1114
1117
  super(t), this.inputType = "text", t.onChange && this.setOnChange(t.onChange);
1115
1118
  }
@@ -1200,12 +1203,12 @@ class f extends p {
1200
1203
  );
1201
1204
  }
1202
1205
  }
1203
- const _ = `
1206
+ const U = `
1204
1207
  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
1205
1208
  <path d="M9 17C13.4183 17 17 13.4183 17 9C17 4.58172 13.4183 1 9 1C4.58172 1 1 4.58172 1 9C1 13.4183 4.58172 17 9 17Z" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1206
1209
  <path d="M9 1V17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1Z" fill="#667085" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1207
1210
  </svg>`;
1208
- class j extends f {
1211
+ class J extends f {
1209
1212
  constructor(t = {}) {
1210
1213
  const e = {
1211
1214
  title: "Opacity",
@@ -1214,7 +1217,7 @@ class j extends f {
1214
1217
  maxValue: 100,
1215
1218
  step: 1,
1216
1219
  default: t.default ?? 100,
1217
- icon: _,
1220
+ icon: U,
1218
1221
  ...t
1219
1222
  };
1220
1223
  super(e), this.inputType = "number", this.mobileValue = t.mobile;
@@ -1226,12 +1229,12 @@ class j extends f {
1226
1229
  this.mobileValue = t, t !== void 0 && this.setValue(t);
1227
1230
  }
1228
1231
  }
1229
- const U = `
1232
+ const q = `
1230
1233
  <svg xmlns="http://www.w3.org/2000/svg" class="svg-select" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down">
1231
1234
  <polyline points="6 9 12 15 18 9"></polyline>
1232
1235
  </svg>
1233
1236
  `;
1234
- class I extends p {
1237
+ class N extends p {
1235
1238
  constructor(t = {}) {
1236
1239
  if (super(t), 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.clickOutsideListener = null, this.resizeListener = null, t.options && (this._options = [...t.options]), t.getOptions && this._options.push(...t.getOptions()), t.getOptionsAsync && (this.isLoading = !0), this.value !== void 0) {
1237
1240
  const e = this._options.findIndex((i) => i.value === this.value);
@@ -1275,7 +1278,7 @@ class I extends p {
1275
1278
  o.onclick = (l) => this.selectOption(l, a, e), i.appendChild(o);
1276
1279
  }), document.body.appendChild(i);
1277
1280
  const s = document.createElement("div");
1278
- return s.classList.add("svg-container"), s.innerHTML = U, t.appendChild(s), this.optionsListEl = i, this.svgContainer = s, this.props.getOptionsAsync && (this.isLoading = !0, this.updateButtonText(), this.props.getOptionsAsync().then((n) => {
1281
+ return s.classList.add("svg-container"), s.innerHTML = q, t.appendChild(s), this.optionsListEl = i, this.svgContainer = s, this.props.getOptionsAsync && (this.isLoading = !0, this.updateButtonText(), this.props.getOptionsAsync().then((n) => {
1279
1282
  this._options.push(...n), this.isLoading = !1, this.updateOptionsList(), this.updateButtonText();
1280
1283
  }).catch((n) => {
1281
1284
  console.error("Failed to fetch async options:", n), this.isLoading = !1, this.updateButtonText("Failed to load options");
@@ -1344,7 +1347,7 @@ class I extends p {
1344
1347
  this.clickOutsideListener && (document.removeEventListener("click", this.clickOutsideListener), this.clickOutsideListener = null), this.resizeListener && (window.removeEventListener("resize", this.resizeListener), this.resizeListener = null), this.cleanupDropdownPosition(), this.optionsListEl && this.optionsListEl.parentNode && this.optionsListEl.parentNode.removeChild(this.optionsListEl), super.destroy();
1345
1348
  }
1346
1349
  }
1347
- class J extends p {
1350
+ class Z extends p {
1348
1351
  constructor(t = {}) {
1349
1352
  super(t), this.inputType = "button", this.value || (this.value = "center");
1350
1353
  }
@@ -1400,7 +1403,7 @@ class J extends p {
1400
1403
  }), t.appendChild(i), t;
1401
1404
  }
1402
1405
  }
1403
- class Ct extends p {
1406
+ class bt extends p {
1404
1407
  constructor(t) {
1405
1408
  super(t), this.inputType = "button", this.bgWithAlpha = "rgba(145, 158, 171, 0.08)";
1406
1409
  }
@@ -1429,7 +1432,7 @@ class Ct extends p {
1429
1432
  return a.className = "button-setting-wrapper " + (this.props.wrapperClassName || ""), a.appendChild(t), a;
1430
1433
  }
1431
1434
  }
1432
- class wt extends p {
1435
+ class Et extends p {
1433
1436
  constructor(t = {}) {
1434
1437
  super(t), this.inputType = { width: "number", height: "number" }, this.aspectRatio = 1, this.isUpdating = !1;
1435
1438
  const e = t.width || 0, i = t.height || 0;
@@ -1442,14 +1445,14 @@ class wt extends p {
1442
1445
  suffix: "px",
1443
1446
  minValue: this.minWidth,
1444
1447
  maxValue: this.maxWidth,
1445
- icon: q
1448
+ icon: K
1446
1449
  }), this.heightSetting = new f({
1447
1450
  title: "Height",
1448
1451
  default: this.value.height,
1449
1452
  suffix: "px",
1450
1453
  minValue: this.minHeight,
1451
1454
  maxValue: this.maxHeight,
1452
- icon: Z
1455
+ icon: X
1453
1456
  }), this.widthSetting.setOnChange(this.handleWidthChange.bind(this)), this.heightSetting.setOnChange(this.handleHeightChange.bind(this));
1454
1457
  }
1455
1458
  handleWidthChange(t) {
@@ -1543,24 +1546,24 @@ class wt extends p {
1543
1546
  }
1544
1547
  }
1545
1548
  }
1546
- const q = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
1549
+ const K = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
1547
1550
  <path d="M4.5 9.5H13.5M4.5 9.5L6 7.25M4.5 9.5L6 11.75M13.5 9.5L12 7.25M13.5 9.5L12 11.75M15.75 16.25V2.75M2.25 16.25V2.75" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
1548
- </svg>`, Z = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
1551
+ </svg>`, X = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
1549
1552
  <path d="M9 14L9 5M9 14L6.75 12.5M9 14L11.25 12.5M9 5L6.75 6.5M9 5L11.25 6.5M15.75 2.75H2.25M15.75 16.25H2.25" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
1550
- </svg>`, M = `
1553
+ </svg>`, I = `
1551
1554
  <svg xmlns="http://www.w3.org/2000/svg" width="15" height="16" viewBox="0 0 15 16" fill="none">
1552
1555
  <path d="M5 10.5L7.5 8M7.5 8L10 10.5M7.5 8V13.625M12.5 10.9643C13.2634 10.3338 13.75 9.37996 13.75 8.3125C13.75 6.41402 12.211 4.875 10.3125 4.875C10.1759 4.875 10.0482 4.80375 9.97882 4.68609C9.16379 3.30302 7.65902 2.375 5.9375 2.375C3.34867 2.375 1.25 4.47367 1.25 7.0625C1.25 8.35381 1.77215 9.52317 2.61684 10.371" stroke="#475467" stroke-linecap="round" stroke-linejoin="round"/>
1553
1556
  </svg>
1554
- `, K = `
1557
+ `, Y = `
1555
1558
  <svg width="91" height="71" viewBox="0 0 91 71" fill="none" xmlns="http://www.w3.org/2000/svg">
1556
1559
  <rect width="91" height="71" rx="4" fill="#F2F4F7"/>
1557
1560
  <path d="M37 31.5L39.5 29M39.5 29L42 31.5M39.5 29V34.625M44.5 31.9643C45.2634 31.3338 45.75 30.38 45.75 29.3125C45.75 27.414 44.211 25.875 42.3125 25.875C42.1759 25.875 42.0482 25.8037 41.9788 25.6861C41.1638 24.303 39.659 23.375 37.9375 23.375C35.3487 23.375 33.25 25.4737 33.25 28.0625C33.25 29.3538 33.7721 30.5232 34.6168 31.371" stroke="#475467" stroke-linecap="round" stroke-linejoin="round"/>
1558
1561
  </svg>
1559
- `, X = `
1562
+ `, Q = `
1560
1563
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 12 12" fill="none">
1561
1564
  <path d="M8 3V2.6C8 2.03995 8 1.75992 7.89101 1.54601C7.79513 1.35785 7.64215 1.20487 7.45399 1.10899C7.24008 1 6.96005 1 6.4 1H5.6C5.03995 1 4.75992 1 4.54601 1.10899C4.35785 1.20487 4.20487 1.35785 4.10899 1.54601C4 1.75992 4 2.03995 4 2.6V3M5 5.75V8.25M7 5.75V8.25M1.5 3H10.5M9.5 3V8.6C9.5 9.44008 9.5 9.86012 9.33651 10.181C9.1927 10.4632 8.96323 10.6927 8.68099 10.8365C8.36012 11 7.94008 11 7.1 11H4.9C4.05992 11 3.63988 11 3.31901 10.8365C3.03677 10.6927 2.8073 10.4632 2.66349 10.181C2.5 9.86012 2.5 9.44008 2.5 8.6V3" stroke="#667085" stroke-linecap="round" stroke-linejoin="round"/>
1562
1565
  </svg>
1563
- `, Y = `
1566
+ `, tt = `
1564
1567
  <svg xmlns="http://www.w3.org/2000/svg" width="29" height="29" viewBox="0 0 29 29" fill="none">
1565
1568
  <!-- Top dot -->
1566
1569
  <circle cx="14.5" cy="3" r="1.5" fill="#02CC59" opacity="1"/>
@@ -1580,7 +1583,7 @@ const q = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBo
1580
1583
  <circle cx="6.7" cy="6.7" r="1.5" fill="#02CC59" opacity="0.3"/>
1581
1584
  </svg>
1582
1585
  `;
1583
- class O extends p {
1586
+ class P extends p {
1584
1587
  constructor(t = {}) {
1585
1588
  super(t), this.inputType = "button", this.previewWrapper = null, this.previewEl = null, this.emptyStateEl = null, this.errorContainer = null, this.messageListener = null, this.loadingSpinner = null, this.props.delete === void 0 && (this.props.delete = !0), this.props.maxFileSizeMB === void 0 && (this.props.maxFileSizeMB = 5), !this.value && t.defaultUrl && t.defaultUrl !== "" && (this.value = t.defaultUrl), this.setupMessageListener();
1586
1589
  }
@@ -1630,7 +1633,7 @@ class O extends p {
1630
1633
  );
1631
1634
  if (t && t !== "") {
1632
1635
  this.showLoading(), s && s instanceof HTMLElement && (s.style.display = "none"), e && e.classList.remove("no-image"), i && (i.innerHTML = `
1633
- <span class="upload-icon">${M}</span>
1636
+ <span class="upload-icon">${I}</span>
1634
1637
  <span class="upload-label">Replace</span>
1635
1638
  `);
1636
1639
  const n = () => {
@@ -1641,7 +1644,7 @@ class O extends p {
1641
1644
  this.previewEl.addEventListener("load", n), this.previewEl.addEventListener("error", a), this.previewEl.src = t;
1642
1645
  } else
1643
1646
  this.hideLoading(), this.previewWrapper.classList.remove("has-image"), this.previewEl.src = "", this.previewEl.style.display = "none", this.previewWrapper.style.display = "none", s && s instanceof HTMLElement && (s.style.display = "block"), e && e.classList.add("no-image"), i && (i.innerHTML = `
1644
- <span class="upload-icon">${M}</span>
1647
+ <span class="upload-icon">${I}</span>
1645
1648
  <span class="upload-label">Upload</span>
1646
1649
  `);
1647
1650
  }
@@ -1674,9 +1677,9 @@ class O extends p {
1674
1677
  const s = this.value && this.value !== "";
1675
1678
  s || i.classList.add("no-image");
1676
1679
  const n = document.createElement("div");
1677
- if (n.className = "preview-placeholder", n.innerHTML = K, this.previewWrapper = document.createElement("div"), this.previewWrapper.className = "preview-wrapper", this.loadingSpinner = document.createElement("div"), this.loadingSpinner.className = "loading-spinner", this.loadingSpinner.innerHTML = Y, this.loadingSpinner.style.display = "none", this.previewWrapper.appendChild(this.loadingSpinner), this.previewEl = document.createElement("img"), this.previewEl.className = "upload-preview", this.props.delete) {
1680
+ if (n.className = "preview-placeholder", n.innerHTML = Y, this.previewWrapper = document.createElement("div"), this.previewWrapper.className = "preview-wrapper", this.loadingSpinner = document.createElement("div"), this.loadingSpinner.className = "loading-spinner", this.loadingSpinner.innerHTML = tt, this.loadingSpinner.style.display = "none", this.previewWrapper.appendChild(this.loadingSpinner), this.previewEl = document.createElement("img"), this.previewEl.className = "upload-preview", this.props.delete) {
1678
1681
  const o = document.createElement("button");
1679
- o.className = "delete-button", o.type = "button", o.title = "Delete image", o.innerHTML = X, this.previewWrapper.appendChild(o), o.onclick = (l) => {
1682
+ o.className = "delete-button", o.type = "button", o.title = "Delete image", o.innerHTML = Q, this.previewWrapper.appendChild(o), o.onclick = (l) => {
1680
1683
  var r;
1681
1684
  l.stopPropagation(), this.value = "", this.updatePreviewState(null), (r = this.onChange) == null || r.call(this, ""), this.hideError();
1682
1685
  };
@@ -1684,7 +1687,7 @@ class O extends p {
1684
1687
  this.previewWrapper.appendChild(this.previewEl);
1685
1688
  const a = document.createElement("button");
1686
1689
  return a.className = "upload-button", this.getDataPropsPath() && a.setAttribute("data-test-id", this.getDataPropsPath()), a.innerHTML = `
1687
- <span class="upload-icon">${M}</span>
1690
+ <span class="upload-icon">${I}</span>
1688
1691
  <span class="upload-label">Upload</span>
1689
1692
  `, i.appendChild(n), i.appendChild(this.previewWrapper), i.appendChild(a), t.appendChild(i), s ? this.updatePreviewState(this.value) : this.updatePreviewState(null), a.onclick = () => {
1690
1693
  window.postMessage(
@@ -1697,14 +1700,14 @@ class O extends p {
1697
1700
  }, t;
1698
1701
  }
1699
1702
  }
1700
- class Et extends f {
1703
+ class xt extends f {
1701
1704
  constructor(t = {}) {
1702
1705
  super({
1703
1706
  ...t,
1704
1707
  title: t.title || "Height",
1705
1708
  suffix: t.suffix || "px",
1706
1709
  minValue: t.minValue ?? 0,
1707
- icon: t.icon || Q,
1710
+ icon: t.icon || et,
1708
1711
  default: t.default ?? 100
1709
1712
  }), this.inputType = "number", this.mobileValue = t.mobile;
1710
1713
  }
@@ -1715,17 +1718,17 @@ class Et extends f {
1715
1718
  this.mobileValue = t, t !== void 0 && this.setValue(t);
1716
1719
  }
1717
1720
  }
1718
- const Q = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
1721
+ const et = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
1719
1722
  <path d="M9 14L9 5M9 14L6.75 12.5M9 14L11.25 12.5M9 5L6.75 6.5M9 5L11.25 6.5M15.75 2.75H2.25M15.75 16.25H2.25" stroke="#667085" stroke-linecap="round" stroke-linejoin="round"/>
1720
1723
  </svg>`;
1721
- class bt extends f {
1724
+ class yt extends f {
1722
1725
  constructor(t = {}) {
1723
1726
  super({
1724
1727
  ...t,
1725
1728
  title: t.title || "Width",
1726
1729
  suffix: t.suffix || "px",
1727
1730
  minValue: t.minValue ?? 0,
1728
- icon: t.icon || tt,
1731
+ icon: t.icon || it,
1729
1732
  default: t.default ?? 100
1730
1733
  }), this.inputType = "number", this.mobileValue = t.mobile;
1731
1734
  }
@@ -1736,14 +1739,14 @@ class bt extends f {
1736
1739
  this.mobileValue = t, t !== void 0 && this.setValue(t);
1737
1740
  }
1738
1741
  }
1739
- const tt = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
1742
+ const it = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
1740
1743
  <path d="M4.5 9.5H13.5M4.5 9.5L6 7.25M4.5 9.5L6 11.75M13.5 9.5L12 7.25M13.5 9.5L12 11.75M15.75 16.25V2.75M2.25 16.25V2.75" stroke="#667085" stroke-linecap="round" stroke-linejoin="round"/>
1741
- </svg>`, et = `
1744
+ </svg>`, st = `
1742
1745
  <svg xmlns="http://www.w3.org/2000/svg" class="svg-select-api" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down">
1743
1746
  <polyline points="6 9 12 15 18 9"></polyline>
1744
1747
  </svg>
1745
1748
  `;
1746
- class xt extends p {
1749
+ class Lt extends p {
1747
1750
  constructor(t = {}) {
1748
1751
  if (super(t), 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, t.default !== void 0 && (this.value = t.default), this.initializeOptions(t), !t.getOptionsAsync && this.value !== void 0) {
1749
1752
  const e = this._options.findIndex(
@@ -1798,7 +1801,7 @@ class xt extends p {
1798
1801
  o.onclick = (l) => this.selectApiOption(l, a, e), i.appendChild(o);
1799
1802
  }), t.appendChild(i);
1800
1803
  const s = document.createElement("div");
1801
- return s.classList.add("svg-container"), s.innerHTML = et, t.appendChild(s), s.onclick = () => {
1804
+ return s.classList.add("svg-container"), s.innerHTML = st, t.appendChild(s), s.onclick = () => {
1802
1805
  var n, a;
1803
1806
  this.isLoading || (this.isOpen = !this.isOpen, (n = this.optionsListEl) == null || n.classList.toggle("open", this.isOpen), (a = this.svgContainer) == null || a.classList.toggle("open", this.isOpen));
1804
1807
  }, this.optionsListEl = i, this.svgContainer = s, this.props.getOptionsAsync && !this.hasInitializedOptions ? (this.isLoading = !0, this.updateButtonText(), this.props.getOptionsAsync().then((n) => {
@@ -1890,7 +1893,7 @@ class xt extends p {
1890
1893
  ), this.updateButtonText();
1891
1894
  }
1892
1895
  }
1893
- class yt extends p {
1896
+ class kt extends p {
1894
1897
  constructor(t) {
1895
1898
  var e, i;
1896
1899
  super(t), this.inputType = "text", this.value = t.default ?? ((i = (e = t.options) == null ? void 0 : e[0]) == null ? void 0 : i.value) ?? "", this.detectChangeCallback = t.detectChange;
@@ -1935,13 +1938,13 @@ class yt extends p {
1935
1938
  this.detectChangeCallback = t;
1936
1939
  }
1937
1940
  }
1938
- const it = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1941
+ const nt = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1939
1942
  <path d="M13.3334 5.99996H2.66675M13.3334 9.99996H2.66675M5.33341 12.6666V3.33329M10.6667 12.6666V3.33329" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
1940
1943
  </svg>`;
1941
- class Lt extends p {
1944
+ class Mt extends p {
1942
1945
  // Store mobile value
1943
1946
  constructor(t = {}) {
1944
- t.rowGap = t.rowGap ?? !0, t.columnGap = t.columnGap ?? !0, t.title = t.title ?? "Gap", t.icon = t.icon ?? it, t.suffix = t.suffix ?? "px", t.minValue = t.minValue ?? 0, super(t), this.inputType = "number", this.inputValues = {}, this.mobileValue = t.mobile, this.value = this.validateValue(t.default ?? 0), t.rowGap && (this.inputValues.row = this.value), t.columnGap && (this.inputValues.column = this.value);
1947
+ t.rowGap = t.rowGap ?? !0, t.columnGap = t.columnGap ?? !0, t.title = t.title ?? "Gap", t.icon = t.icon ?? nt, t.suffix = t.suffix ?? "px", t.minValue = t.minValue ?? 0, super(t), this.inputType = "number", this.inputValues = {}, this.mobileValue = t.mobile, this.value = this.validateValue(t.default ?? 0), t.rowGap && (this.inputValues.row = this.value), t.columnGap && (this.inputValues.column = this.value);
1945
1948
  }
1946
1949
  draw() {
1947
1950
  const t = document.createElement("div");
@@ -1992,40 +1995,40 @@ class Lt extends p {
1992
1995
  this.mobileValue = t, t !== void 0 && this.setValue(t);
1993
1996
  }
1994
1997
  }
1995
- const st = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
1998
+ const at = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
1996
1999
  <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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1997
2000
  </svg>`;
1998
- class kt extends f {
2001
+ class Vt extends f {
1999
2002
  constructor(t = {}) {
2000
2003
  super({
2001
2004
  ...t,
2002
2005
  minValue: t.minValue ?? 0,
2003
2006
  maxValue: t.maxValue ?? 1e3,
2004
- icon: t.icon || st,
2007
+ icon: t.icon || at,
2005
2008
  title: t.title || "Margin Bottom",
2006
2009
  default: t.default ?? 20,
2007
2010
  wrapperClassName: "margin-bottom-wrapper " + (t.wrapperClassName || "")
2008
2011
  }), this.inputType = "number";
2009
2012
  }
2010
2013
  }
2011
- const nt = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
2014
+ const ot = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
2012
2015
  <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"
2013
2016
  stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2014
2017
  </svg>`;
2015
- class Mt extends f {
2018
+ class It extends f {
2016
2019
  constructor(t = {}) {
2017
2020
  super({
2018
2021
  ...t,
2019
2022
  minValue: t.minValue ?? 0,
2020
2023
  maxValue: t.maxValue ?? 1e3,
2021
- icon: t.icon || nt,
2024
+ icon: t.icon || ot,
2022
2025
  title: t.title || "Margin Top",
2023
2026
  default: t.default ?? 20,
2024
2027
  wrapperClassName: "margin-top-wrapper " + (t.wrapperClassName || "")
2025
2028
  }), this.inputType = "number";
2026
2029
  }
2027
2030
  }
2028
- class Vt extends p {
2031
+ class St extends p {
2029
2032
  constructor(t) {
2030
2033
  super(t), this.inputType = {}, this.container = null, this.defaultLanguage = "", this.uploadSettings = /* @__PURE__ */ new Map(), t.default ? this.value = { ...t.default } : this.value || (this.value = {}), this.defaultLanguage = t.languages.includes(p.DefaultLanguage) ? p.DefaultLanguage : t.languages[0];
2031
2034
  const e = t.defaultValue || `Enter text in ${this.capitalizeFirstLetter(this.defaultLanguage)}`;
@@ -2037,10 +2040,34 @@ class Vt extends p {
2037
2040
  capitalizeFirstLetter(t) {
2038
2041
  return String(t).charAt(0).toUpperCase() + String(t).slice(1);
2039
2042
  }
2040
- truncatePlaceholder(t, e) {
2041
- if (!t) return "";
2042
- const i = String(t);
2043
- return i.length <= e ? i : i.slice(0, Math.max(0, e - 1)).trimEnd() + "…";
2043
+ measureTextWidth(t, e) {
2044
+ this.textMeasureCanvas || (this.textMeasureCanvas = document.createElement("canvas"));
2045
+ const i = this.textMeasureCanvas.getContext("2d");
2046
+ if (!i) return t.length * 10;
2047
+ const s = `${e.fontStyle} ${e.fontWeight} ${e.fontSize} ${e.fontFamily}`.trim();
2048
+ return i.font = s, i.measureText(t).width;
2049
+ }
2050
+ adaptPlaceholderToSingleLine(t, e) {
2051
+ const i = window.getComputedStyle(t), s = parseFloat(i.paddingLeft) || 0, n = parseFloat(i.paddingRight) || 0, a = parseFloat(i.borderLeftWidth) || 0, o = parseFloat(i.borderRightWidth) || 0, l = Math.max(
2052
+ 0,
2053
+ t.clientWidth - s - n - a - o
2054
+ );
2055
+ if (l <= 0) {
2056
+ t.placeholder = e;
2057
+ return;
2058
+ }
2059
+ if (this.measureTextWidth(e, i) <= l) {
2060
+ t.placeholder = e;
2061
+ return;
2062
+ }
2063
+ const h = "...";
2064
+ let d = 0, u = e.length, w = 0;
2065
+ for (; d <= u; ) {
2066
+ const b = Math.floor((d + u) / 2), A = e.slice(0, b).trimEnd() + h;
2067
+ this.measureTextWidth(A, i) <= l ? (w = b, d = b + 1) : u = b - 1;
2068
+ }
2069
+ const x = e.slice(0, w).trimEnd() + h;
2070
+ t.placeholder = x;
2044
2071
  }
2045
2072
  autosizeTextarea(t, e = 3) {
2046
2073
  t.style.height = "auto";
@@ -2052,7 +2079,7 @@ class Vt extends p {
2052
2079
  i.classList.add("simple-multi-language-row");
2053
2080
  const s = document.createElement("label");
2054
2081
  if (s.classList.add("simple-language-label"), s.textContent = t.toUpperCase(), s.setAttribute("for", `textarea-${t}`), i.appendChild(s), this.props.multiImg) {
2055
- const n = new O({
2082
+ const n = new P({
2056
2083
  defaultUrl: e || "",
2057
2084
  title: "",
2058
2085
  id: `${this.id}_upload_${t}`
@@ -2069,13 +2096,19 @@ class Vt extends p {
2069
2096
  a.includes("{language}") && (a = a.replace(
2070
2097
  "{language}",
2071
2098
  t.toUpperCase()
2072
- )), n.placeholder = this.truncatePlaceholder(a, 65), this.getDataPropsPath() && n.setAttribute(
2099
+ )), n.setAttribute("data-full-placeholder", a), this.adaptPlaceholderToSingleLine(n, a), this.getDataPropsPath() && n.setAttribute(
2073
2100
  "data-test-id",
2074
2101
  `${this.getDataPropsPath()}_${t}`
2075
2102
  ), n.addEventListener("input", (l) => {
2076
2103
  const r = l.target;
2077
2104
  this.updateLanguageValue(t, r.value), t === this.defaultLanguage && this.updateOtherLanguagePlaceholders(r.value), this.autosizeTextarea(r, 3);
2078
- }), i.appendChild(n), ((l) => (typeof queueMicrotask == "function" ? queueMicrotask : (r) => setTimeout(r, 0))(l))(() => this.autosizeTextarea(n, 3));
2105
+ const h = n.getAttribute("data-full-placeholder") || "";
2106
+ h && this.adaptPlaceholderToSingleLine(n, h);
2107
+ }), i.appendChild(n), ((l) => (typeof queueMicrotask == "function" ? queueMicrotask : (r) => setTimeout(r, 0))(l))(() => {
2108
+ this.autosizeTextarea(n, 3);
2109
+ const l = n.getAttribute("data-full-placeholder") || "";
2110
+ l && this.adaptPlaceholderToSingleLine(n, l);
2111
+ });
2079
2112
  }
2080
2113
  return i;
2081
2114
  }
@@ -2091,27 +2124,37 @@ class Vt extends p {
2091
2124
  const i = (s = this.container) == null ? void 0 : s.querySelector(
2092
2125
  `#textarea-${e}`
2093
2126
  );
2094
- i && (!i.value || i.value.trim() === "") && (i.placeholder = this.truncatePlaceholder(
2095
- t || ((n = this.props.placeholder) == null ? void 0 : n.replace(
2127
+ if (i && (!i.value || i.value.trim() === "")) {
2128
+ const a = t || ((n = this.props.placeholder) == null ? void 0 : n.replace(
2096
2129
  "{language}",
2097
2130
  e.toUpperCase()
2098
- )) || `Enter text in ${e.toUpperCase()}...`,
2099
- 65
2100
- ));
2131
+ )) || `Enter text in ${e.toUpperCase()}...`;
2132
+ i.setAttribute("data-full-placeholder", a), this.adaptPlaceholderToSingleLine(i, a);
2133
+ }
2101
2134
  });
2102
2135
  }
2103
2136
  draw() {
2104
2137
  const t = document.createElement("div");
2105
2138
  if (t.classList.add("simple-multi-language-wrapper"), this.props.title) {
2106
- const i = document.createElement("div");
2107
- i.classList.add("simple-multi-language-title"), i.textContent = this.props.title, t.appendChild(i);
2139
+ const s = document.createElement("div");
2140
+ s.classList.add("simple-multi-language-title"), s.textContent = this.props.title, t.appendChild(s);
2108
2141
  }
2109
2142
  const e = document.createElement("div");
2110
- return e.classList.add("simple-multi-language-content"), this.props.languages.forEach((i) => {
2111
- var a;
2112
- const s = ((a = this.value) == null ? void 0 : a[i]) || "", n = this.createTextareaRow(i, s);
2113
- e.appendChild(n);
2114
- }), t.appendChild(e), this.container = t, t;
2143
+ e.classList.add("simple-multi-language-content"), this.props.languages.forEach((s) => {
2144
+ var o;
2145
+ const n = ((o = this.value) == null ? void 0 : o[s]) || "", a = this.createTextareaRow(s, n);
2146
+ e.appendChild(a);
2147
+ }), t.appendChild(e), this.container = t;
2148
+ const i = () => {
2149
+ if (!this.container) return;
2150
+ this.container.querySelectorAll(
2151
+ ".simple-language-textarea"
2152
+ ).forEach((n) => {
2153
+ const a = n.getAttribute("data-full-placeholder") || "";
2154
+ a && this.adaptPlaceholderToSingleLine(n, a);
2155
+ });
2156
+ };
2157
+ return window.addEventListener("resize", i), t;
2115
2158
  }
2116
2159
  setValue(t) {
2117
2160
  super.setValue(t), this.container && this.props.languages.forEach((e) => {
@@ -2128,7 +2171,7 @@ class Vt extends p {
2128
2171
  });
2129
2172
  }
2130
2173
  }
2131
- class It extends p {
2174
+ class Nt extends p {
2132
2175
  constructor(t = {}) {
2133
2176
  super(t), this.inputType = "select";
2134
2177
  const e = [
@@ -2139,7 +2182,7 @@ class It extends p {
2139
2182
  { name: "Bounce", value: "bounce 1.5s ease-in-out infinite" },
2140
2183
  { name: "Pulse", value: "pulse 1.5s ease-in-out infinite" }
2141
2184
  ];
2142
- this.selectSetting = new I({
2185
+ this.selectSetting = new N({
2143
2186
  title: this.title || "Animation",
2144
2187
  options: e,
2145
2188
  default: this.props.default || "none"
@@ -2155,16 +2198,16 @@ class It extends p {
2155
2198
  this.selectSetting.destroy(), super.destroy();
2156
2199
  }
2157
2200
  }
2158
- const at = `
2201
+ const lt = `
2159
2202
  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
2160
2203
  <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" stroke-linecap="round" stroke-linejoin="round"/>
2161
2204
  </svg>
2162
- `, ot = `
2205
+ `, rt = `
2163
2206
  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
2164
2207
  <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" stroke-linecap="round" stroke-linejoin="round"/>
2165
2208
  </svg>
2166
2209
  `;
2167
- class Nt extends v {
2210
+ class Ot extends v {
2168
2211
  constructor(t) {
2169
2212
  super({
2170
2213
  title: "Border",
@@ -2172,7 +2215,7 @@ class Nt extends v {
2172
2215
  settings: {
2173
2216
  size: new f({
2174
2217
  title: "Size",
2175
- icon: ot,
2218
+ icon: rt,
2176
2219
  default: (t == null ? void 0 : t.size) ?? 0,
2177
2220
  suffix: "px"
2178
2221
  }),
@@ -2181,7 +2224,7 @@ class Nt extends v {
2181
2224
  }),
2182
2225
  radius: new f({
2183
2226
  title: "Radius",
2184
- icon: at,
2227
+ icon: lt,
2185
2228
  default: (t == null ? void 0 : t.radius) ?? 12,
2186
2229
  suffix: "px"
2187
2230
  })
@@ -2200,20 +2243,20 @@ class Nt extends v {
2200
2243
  `;
2201
2244
  }
2202
2245
  }
2203
- const lt = `
2246
+ const ht = `
2204
2247
  <svg xmlns="http://www.w3.org/2000/svg" width="14" height="13" viewBox="0 0 14 13" fill="none">
2205
2248
  <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" stroke-linecap="round" stroke-linejoin="round"/>
2206
2249
  </svg>
2207
- `, rt = `
2250
+ `, ct = `
2208
2251
  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
2209
2252
  <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" stroke-linecap="round" stroke-linejoin="round"/>
2210
2253
  </svg>
2211
- `, ht = `
2254
+ `, dt = `
2212
2255
  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
2213
2256
  <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" stroke-linecap="round" stroke-linejoin="round"/>
2214
2257
  </svg>
2215
2258
  `;
2216
- class St extends v {
2259
+ class Ht extends v {
2217
2260
  constructor(t = {}) {
2218
2261
  const { showAlign: e = t.showAlign ?? !0, ...i } = t;
2219
2262
  super({
@@ -2224,9 +2267,9 @@ class St extends v {
2224
2267
  color: new C({
2225
2268
  default: i.colorDefault ?? "0, 0, 30"
2226
2269
  }),
2227
- fontFamily: new I({
2270
+ fontFamily: new N({
2228
2271
  title: "Font",
2229
- icon: lt,
2272
+ icon: ht,
2230
2273
  default: i.fontFamilyDefault ?? "Satoshi",
2231
2274
  options: i.fontFamilyOptions ?? [
2232
2275
  { name: "Alt", value: "Croco Sans Black Caps Alt" },
@@ -2237,9 +2280,9 @@ class St extends v {
2237
2280
  getOptions: i.fontFamilyGetOptions,
2238
2281
  getOptionsAsync: i.fontFamilyGetOptionsAsync
2239
2282
  }),
2240
- fontWeight: new I({
2283
+ fontWeight: new N({
2241
2284
  title: "Weight",
2242
- icon: rt,
2285
+ icon: ct,
2243
2286
  default: i.fontWeightDefault ?? "400",
2244
2287
  options: i.fontWeightOptions ?? [
2245
2288
  { name: "Regular", value: "400" },
@@ -2251,7 +2294,7 @@ class St extends v {
2251
2294
  }),
2252
2295
  fontSize: new f({
2253
2296
  title: "Size",
2254
- icon: ht,
2297
+ icon: dt,
2255
2298
  default: i.fontSizeDefault ?? 12,
2256
2299
  suffix: "px",
2257
2300
  mobile: i.fontSizeMobileDefault
@@ -2259,7 +2302,7 @@ class St extends v {
2259
2302
  };
2260
2303
  return e ? {
2261
2304
  ...s,
2262
- align: new J({
2305
+ align: new Z({
2263
2306
  title: "Align",
2264
2307
  default: i.alignDefault ?? "center"
2265
2308
  })
@@ -2279,7 +2322,7 @@ class St extends v {
2279
2322
  `;
2280
2323
  }
2281
2324
  }
2282
- class b extends p {
2325
+ class L extends p {
2283
2326
  constructor(t) {
2284
2327
  super({
2285
2328
  ...t,
@@ -2325,33 +2368,33 @@ class b extends p {
2325
2368
  }), i;
2326
2369
  }
2327
2370
  }
2328
- class Ot extends v {
2371
+ class Tt extends v {
2329
2372
  constructor(t) {
2330
2373
  super({
2331
2374
  title: "Margins",
2332
2375
  collapsed: t == null ? void 0 : t.collapsed,
2333
2376
  settings: {
2334
- marginTop: new b({
2377
+ marginTop: new L({
2335
2378
  title: "Top",
2336
- icon: ct,
2379
+ icon: ut,
2337
2380
  suffix: "px",
2338
2381
  default: (t == null ? void 0 : t.marginTop) ?? "auto"
2339
2382
  }),
2340
- marginRight: new b({
2383
+ marginRight: new L({
2341
2384
  title: "Right",
2342
- icon: dt,
2385
+ icon: pt,
2343
2386
  suffix: "px",
2344
2387
  default: (t == null ? void 0 : t.marginRight) ?? 0
2345
2388
  }),
2346
- marginBottom: new b({
2389
+ marginBottom: new L({
2347
2390
  title: "Bottom",
2348
- icon: ut,
2391
+ icon: gt,
2349
2392
  suffix: "px",
2350
2393
  default: (t == null ? void 0 : t.marginBottom) ?? 0
2351
2394
  }),
2352
- marginLeft: new b({
2395
+ marginLeft: new L({
2353
2396
  title: "Left",
2354
- icon: pt,
2397
+ icon: mt,
2355
2398
  suffix: "px",
2356
2399
  default: (t == null ? void 0 : t.marginLeft) ?? 0
2357
2400
  })
@@ -2368,26 +2411,26 @@ class Ot extends v {
2368
2411
  `;
2369
2412
  }
2370
2413
  }
2371
- const ct = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
2414
+ const ut = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
2372
2415
  <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" stroke-linecap="round" stroke-linejoin="round"/>
2373
- </svg>`, dt = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
2416
+ </svg>`, pt = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
2374
2417
  <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" stroke-linecap="round" stroke-linejoin="round"/>
2375
- </svg>`, ut = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
2418
+ </svg>`, gt = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
2376
2419
  <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" stroke-linecap="round" stroke-linejoin="round"/>
2377
- </svg>`, pt = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
2420
+ </svg>`, mt = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
2378
2421
  <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" stroke-linecap="round" stroke-linejoin="round"/>
2379
2422
  </svg>`;
2380
- class Ht extends v {
2423
+ class Pt extends v {
2381
2424
  constructor(t) {
2382
2425
  super({
2383
2426
  title: "Background Image",
2384
2427
  collapsed: t == null ? void 0 : t.collapsed,
2385
2428
  settings: {
2386
- backgroundImage: new O({
2429
+ backgroundImage: new P({
2387
2430
  ...t == null ? void 0 : t.uploadProps,
2388
2431
  default: (t == null ? void 0 : t.backgroundImage) ?? ""
2389
2432
  }),
2390
- opacity: new j({
2433
+ opacity: new J({
2391
2434
  default: (t == null ? void 0 : t.opacity) ?? 100
2392
2435
  }),
2393
2436
  backgroundColor: new C({
@@ -2417,39 +2460,39 @@ class Ht extends v {
2417
2460
  }
2418
2461
  }
2419
2462
  export {
2420
- J as AlignSetting,
2421
- It as AnimationSetting,
2422
- Ht as BackgroundSettingSet,
2423
- Nt as BorderSettingSet,
2424
- Ct as ButtonSetting,
2463
+ Z as AlignSetting,
2464
+ Nt as AnimationSetting,
2465
+ Pt as BackgroundSettingSet,
2466
+ Ot as BorderSettingSet,
2467
+ bt as ButtonSetting,
2425
2468
  m as ColorSetting,
2426
2469
  C as ColorWithOpacitySetting,
2427
- wt as DimensionSetting,
2428
- Lt as GapSetting,
2429
- St as HeaderTypographySettingSet,
2430
- Et as HeightSetting,
2431
- vt as HtmlSetting,
2432
- kt as MarginBottomSetting,
2433
- Ot as MarginSettingGroup,
2434
- Mt as MarginTopSetting,
2435
- Vt as MultiLanguageSetting,
2470
+ Et as DimensionSetting,
2471
+ Mt as GapSetting,
2472
+ Ht as HeaderTypographySettingSet,
2473
+ xt as HeightSetting,
2474
+ wt as HtmlSetting,
2475
+ Vt as MarginBottomSetting,
2476
+ Tt as MarginSettingGroup,
2477
+ It as MarginTopSetting,
2478
+ St as MultiLanguageSetting,
2436
2479
  f as NumberSetting,
2437
- j as OpacitySetting,
2438
- xt as SelectApiSettings,
2439
- I as SelectSetting,
2480
+ J as OpacitySetting,
2481
+ Lt as SelectApiSettings,
2482
+ N as SelectSetting,
2440
2483
  p as Setting,
2441
2484
  v as SettingGroup,
2442
- z as StringSetting,
2443
- F as TabSettingGroup,
2444
- F as TabsSettingGroup,
2445
- yt as Toggle,
2446
- O as UploadSetting,
2447
- bt as WidthSetting,
2448
- ft as asSettingGroupWithSettings,
2449
- R as createSettingGroup,
2450
- mt as createTabSettingGroup,
2451
- w as isSetting,
2452
- gt as isSettingChild,
2485
+ G as StringSetting,
2486
+ z as TabSettingGroup,
2487
+ z as TabsSettingGroup,
2488
+ kt as Toggle,
2489
+ P as UploadSetting,
2490
+ yt as WidthSetting,
2491
+ Ct as asSettingGroupWithSettings,
2492
+ W as createSettingGroup,
2493
+ vt as createTabSettingGroup,
2494
+ E as isSetting,
2495
+ H as isSettingChild,
2453
2496
  g as isSettingGroup,
2454
- E as iterateSettings
2497
+ y as iterateSettings
2455
2498
  };