builder-settings-types 0.0.243 → 0.0.245
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,5 +1,5 @@
|
|
|
1
1
|
const T = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
2
|
-
let
|
|
2
|
+
let S = (c = 21) => {
|
|
3
3
|
let t = "", e = crypto.getRandomValues(new Uint8Array(c |= 0));
|
|
4
4
|
for (; c--; )
|
|
5
5
|
t += T[e[c] & 63];
|
|
@@ -111,7 +111,7 @@ class B {
|
|
|
111
111
|
this.observer && (this.observer.disconnect(), this.observer = void 0), this.observedElements.clear();
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
const
|
|
114
|
+
const N = new B();
|
|
115
115
|
function y(c) {
|
|
116
116
|
if (c === null || typeof c != "object") return c;
|
|
117
117
|
if (c instanceof Date) return new Date(c.getTime());
|
|
@@ -124,7 +124,7 @@ function y(c) {
|
|
|
124
124
|
}
|
|
125
125
|
return c;
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function $(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 g {
|
|
146
146
|
constructor(t = {}) {
|
|
147
|
-
this.props = t, this.dataPropsPath = "", this.id = t.id ||
|
|
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;
|
|
148
148
|
}
|
|
149
149
|
static SetUploadUrl(t) {
|
|
150
150
|
globalThis.DefaultUploadUrl = t, g.DefaultUploadUrl = t;
|
|
@@ -189,7 +189,7 @@ class g {
|
|
|
189
189
|
const i = document.createElement("div");
|
|
190
190
|
i.className = t.wrapperClassName || "";
|
|
191
191
|
const s = document.createElement("input");
|
|
192
|
-
this.inputEl = s, s.value = String(t.value ||
|
|
192
|
+
this.inputEl = s, s.value = String(t.value || $(t.inputType)), s.type = t.inputType, s.placeholder = t.placeholder || "", s.className = t.inputClassName || "", this.dataPropsPath && s.setAttribute("data-test-id", this.dataPropsPath);
|
|
193
193
|
const n = (o) => {
|
|
194
194
|
const l = o.target;
|
|
195
195
|
let r = l.value;
|
|
@@ -236,10 +236,10 @@ function w(c) {
|
|
|
236
236
|
function p(c) {
|
|
237
237
|
return c instanceof v;
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function gt(c) {
|
|
240
240
|
return w(c) || p(c);
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function E(c, t) {
|
|
243
243
|
for (const e in c)
|
|
244
244
|
if (Object.prototype.hasOwnProperty.call(c, e)) {
|
|
245
245
|
const i = c[e];
|
|
@@ -249,11 +249,11 @@ function b(c, t) {
|
|
|
249
249
|
const L = class L {
|
|
250
250
|
constructor(t) {
|
|
251
251
|
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 = () => {
|
|
252
|
-
}, this.pendingBlurHandler = null, this.originalDefaultValues = {}, this.nestingLevel = 0, this.dataPropsPath = "", this.id = t.id ||
|
|
252
|
+
}, 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();
|
|
253
253
|
}
|
|
254
254
|
propagateNestingLevel() {
|
|
255
255
|
const t = this.nestingLevel + 1;
|
|
256
|
-
|
|
256
|
+
E(this.settings, (e, i) => {
|
|
257
257
|
p(i) && (i.nestingLevel = t, i.propagateNestingLevel());
|
|
258
258
|
});
|
|
259
259
|
}
|
|
@@ -270,7 +270,7 @@ const L = class L {
|
|
|
270
270
|
this.dataPropsPath = t, this.propagateDataPropsPath();
|
|
271
271
|
}
|
|
272
272
|
propagateDataPropsPath() {
|
|
273
|
-
|
|
273
|
+
E(this.settings, (t, e) => {
|
|
274
274
|
const i = String(t), s = this.dataPropsPath ? `${this.dataPropsPath}_${i}` : i;
|
|
275
275
|
(p(e) || w(e) && typeof e.setDataPropsPath == "function") && e.setDataPropsPath(s);
|
|
276
276
|
});
|
|
@@ -325,7 +325,7 @@ const L = class L {
|
|
|
325
325
|
}
|
|
326
326
|
clone() {
|
|
327
327
|
const t = {};
|
|
328
|
-
|
|
328
|
+
E(this.settings, (s, n) => {
|
|
329
329
|
const a = String(s);
|
|
330
330
|
typeof n.clone == "function" ? t[a] = n.clone() : (console.warn(
|
|
331
331
|
`Setting with key '${a}' does not have a clone method. Copying reference.`
|
|
@@ -387,7 +387,7 @@ const L = class L {
|
|
|
387
387
|
Object.keys(s).length > 0 && (this.lastChangeTime = Date.now(), this.initialValues = i, t(i), this.updateVisibility()), this.isHandlingChange = !1;
|
|
388
388
|
}, 50));
|
|
389
389
|
};
|
|
390
|
-
return this.changeHandlers.clear(),
|
|
390
|
+
return this.changeHandlers.clear(), E(this.settings, (i, s) => {
|
|
391
391
|
var n;
|
|
392
392
|
if (p(s))
|
|
393
393
|
s.setOnChange(() => {
|
|
@@ -450,7 +450,7 @@ const L = class L {
|
|
|
450
450
|
d && t.startsWith(d) && this.addDeleteButtonToElement(o, t);
|
|
451
451
|
}
|
|
452
452
|
const r = a.querySelector(".sg-add-button-bottom");
|
|
453
|
-
r ? a.insertBefore(o, r) : a.appendChild(o),
|
|
453
|
+
r ? a.insertBefore(o, r) : a.appendChild(o), N.trackElement(o), x(o, this.nestingLevel + 1), V(o, this.nestingLevel + 1);
|
|
454
454
|
const h = o.style.display;
|
|
455
455
|
o.style.display = "none", o.offsetHeight, o.style.display = h, this.updateNestingStyles();
|
|
456
456
|
}
|
|
@@ -750,7 +750,7 @@ const L = class L {
|
|
|
750
750
|
this.addSetting(H, O);
|
|
751
751
|
}), o.appendChild(h);
|
|
752
752
|
}
|
|
753
|
-
return e.appendChild(i), e.appendChild(n), t.appendChild(e), t.appendChild(o), this.elementRef = t,
|
|
753
|
+
return e.appendChild(i), e.appendChild(n), t.appendChild(e), t.appendChild(o), this.elementRef = t, N.trackElement(t), setTimeout(() => {
|
|
754
754
|
this.updateNestingStyles();
|
|
755
755
|
}, 0), this.pendingBlurHandler && (this.pendingBlurHandler = null), t;
|
|
756
756
|
}
|
|
@@ -794,10 +794,10 @@ const L = class L {
|
|
|
794
794
|
};
|
|
795
795
|
L.hiddenElements = /* @__PURE__ */ new Set();
|
|
796
796
|
let v = L;
|
|
797
|
-
function
|
|
798
|
-
return new
|
|
797
|
+
function mt(c) {
|
|
798
|
+
return new D(c);
|
|
799
799
|
}
|
|
800
|
-
class
|
|
800
|
+
class D extends v {
|
|
801
801
|
constructor(t) {
|
|
802
802
|
super(t);
|
|
803
803
|
const e = Object.keys(this.settings)[0];
|
|
@@ -851,7 +851,7 @@ class $ extends v {
|
|
|
851
851
|
function R(c) {
|
|
852
852
|
return new v(c);
|
|
853
853
|
}
|
|
854
|
-
function
|
|
854
|
+
function ft(c) {
|
|
855
855
|
return c;
|
|
856
856
|
}
|
|
857
857
|
class F extends g {
|
|
@@ -1106,7 +1106,7 @@ class C extends g {
|
|
|
1106
1106
|
};
|
|
1107
1107
|
}
|
|
1108
1108
|
}
|
|
1109
|
-
class
|
|
1109
|
+
class vt extends g {
|
|
1110
1110
|
constructor(t = {}) {
|
|
1111
1111
|
super(t), this.inputType = "text", t.onChange && this.setOnChange(t.onChange);
|
|
1112
1112
|
}
|
|
@@ -1197,12 +1197,12 @@ class f extends g {
|
|
|
1197
1197
|
);
|
|
1198
1198
|
}
|
|
1199
1199
|
}
|
|
1200
|
-
const
|
|
1200
|
+
const W = `
|
|
1201
1201
|
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
1202
1202
|
<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"/>
|
|
1203
1203
|
<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"/>
|
|
1204
1204
|
</svg>`;
|
|
1205
|
-
class
|
|
1205
|
+
class _ extends f {
|
|
1206
1206
|
constructor(t = {}) {
|
|
1207
1207
|
const e = {
|
|
1208
1208
|
title: "Opacity",
|
|
@@ -1211,7 +1211,7 @@ class W extends f {
|
|
|
1211
1211
|
maxValue: 100,
|
|
1212
1212
|
step: 1,
|
|
1213
1213
|
default: t.default ?? 100,
|
|
1214
|
-
icon:
|
|
1214
|
+
icon: W,
|
|
1215
1215
|
...t
|
|
1216
1216
|
};
|
|
1217
1217
|
super(e), this.inputType = "number", this.mobileValue = t.mobile;
|
|
@@ -1223,7 +1223,7 @@ class W extends f {
|
|
|
1223
1223
|
this.mobileValue = t, t !== void 0 && this.setValue(t);
|
|
1224
1224
|
}
|
|
1225
1225
|
}
|
|
1226
|
-
const
|
|
1226
|
+
const j = `
|
|
1227
1227
|
<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">
|
|
1228
1228
|
<polyline points="6 9 12 15 18 9"></polyline>
|
|
1229
1229
|
</svg>
|
|
@@ -1272,7 +1272,7 @@ class I extends g {
|
|
|
1272
1272
|
o.onclick = (l) => this.selectOption(l, a, e), i.appendChild(o);
|
|
1273
1273
|
}), document.body.appendChild(i);
|
|
1274
1274
|
const s = document.createElement("div");
|
|
1275
|
-
return s.classList.add("svg-container"), s.innerHTML =
|
|
1275
|
+
return s.classList.add("svg-container"), s.innerHTML = j, t.appendChild(s), this.optionsListEl = i, this.svgContainer = s, this.props.getOptionsAsync && (this.isLoading = !0, this.updateButtonText(), this.props.getOptionsAsync().then((n) => {
|
|
1276
1276
|
this._options.push(...n), this.isLoading = !1, this.updateOptionsList(), this.updateButtonText();
|
|
1277
1277
|
}).catch((n) => {
|
|
1278
1278
|
console.error("Failed to fetch async options:", n), this.isLoading = !1, this.updateButtonText("Failed to load options");
|
|
@@ -1397,7 +1397,7 @@ class J extends g {
|
|
|
1397
1397
|
}), t.appendChild(i), t;
|
|
1398
1398
|
}
|
|
1399
1399
|
}
|
|
1400
|
-
class
|
|
1400
|
+
class Ct extends g {
|
|
1401
1401
|
constructor(t) {
|
|
1402
1402
|
super(t), this.inputType = "button", this.bgWithAlpha = "rgba(145, 158, 171, 0.08)";
|
|
1403
1403
|
}
|
|
@@ -1426,7 +1426,7 @@ class bt extends g {
|
|
|
1426
1426
|
return a.className = "button-setting-wrapper " + (this.props.wrapperClassName || ""), a.appendChild(t), a;
|
|
1427
1427
|
}
|
|
1428
1428
|
}
|
|
1429
|
-
class
|
|
1429
|
+
class wt extends g {
|
|
1430
1430
|
constructor(t = {}) {
|
|
1431
1431
|
super(t), this.inputType = { width: "number", height: "number" }, this.aspectRatio = 1, this.isUpdating = !1;
|
|
1432
1432
|
const e = t.width || 0, i = t.height || 0;
|
|
@@ -1694,7 +1694,7 @@ class Q extends g {
|
|
|
1694
1694
|
}, t;
|
|
1695
1695
|
}
|
|
1696
1696
|
}
|
|
1697
|
-
class
|
|
1697
|
+
class Et extends f {
|
|
1698
1698
|
constructor(t = {}) {
|
|
1699
1699
|
super({
|
|
1700
1700
|
...t,
|
|
@@ -1715,7 +1715,7 @@ class xt extends f {
|
|
|
1715
1715
|
const Y = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
1716
1716
|
<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"/>
|
|
1717
1717
|
</svg>`;
|
|
1718
|
-
class
|
|
1718
|
+
class bt extends f {
|
|
1719
1719
|
constructor(t = {}) {
|
|
1720
1720
|
super({
|
|
1721
1721
|
...t,
|
|
@@ -1740,7 +1740,7 @@ const tt = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewB
|
|
|
1740
1740
|
<polyline points="6 9 12 15 18 9"></polyline>
|
|
1741
1741
|
</svg>
|
|
1742
1742
|
`;
|
|
1743
|
-
class
|
|
1743
|
+
class xt extends g {
|
|
1744
1744
|
constructor(t = {}) {
|
|
1745
1745
|
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) {
|
|
1746
1746
|
const e = this._options.findIndex(
|
|
@@ -1887,7 +1887,7 @@ class Lt extends g {
|
|
|
1887
1887
|
), this.updateButtonText();
|
|
1888
1888
|
}
|
|
1889
1889
|
}
|
|
1890
|
-
class
|
|
1890
|
+
class yt extends g {
|
|
1891
1891
|
constructor(t) {
|
|
1892
1892
|
var e, i;
|
|
1893
1893
|
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,7 +1935,7 @@ class kt extends g {
|
|
|
1935
1935
|
const it = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1936
1936
|
<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"/>
|
|
1937
1937
|
</svg>`;
|
|
1938
|
-
class
|
|
1938
|
+
class Lt extends g {
|
|
1939
1939
|
// Store mobile value
|
|
1940
1940
|
constructor(t = {}) {
|
|
1941
1941
|
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);
|
|
@@ -1992,7 +1992,7 @@ class Mt extends g {
|
|
|
1992
1992
|
const st = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
1993
1993
|
<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"/>
|
|
1994
1994
|
</svg>`;
|
|
1995
|
-
class
|
|
1995
|
+
class kt extends f {
|
|
1996
1996
|
constructor(t = {}) {
|
|
1997
1997
|
super({
|
|
1998
1998
|
...t,
|
|
@@ -2009,7 +2009,7 @@ const nt = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewB
|
|
|
2009
2009
|
<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"
|
|
2010
2010
|
stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
2011
2011
|
</svg>`;
|
|
2012
|
-
class
|
|
2012
|
+
class Mt extends f {
|
|
2013
2013
|
constructor(t = {}) {
|
|
2014
2014
|
super({
|
|
2015
2015
|
...t,
|
|
@@ -2022,134 +2022,63 @@ class It extends f {
|
|
|
2022
2022
|
}), this.inputType = "number";
|
|
2023
2023
|
}
|
|
2024
2024
|
}
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
`, ot = `
|
|
2033
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2034
|
-
<line x1="12" y1="5" x2="12" y2="19"></line>
|
|
2035
|
-
<line x1="5" y1="12" x2="19" y2="12"></line>
|
|
2036
|
-
</svg>
|
|
2037
|
-
`;
|
|
2038
|
-
class St extends g {
|
|
2039
|
-
constructor(t = {}) {
|
|
2040
|
-
super(t), this.inputType = {}, this.container = null, this.languagesContainer = null, this.addLanguageSelect = null, this.addButton = null, this.defaultLanguages = [
|
|
2041
|
-
{ code: "en", name: "English" },
|
|
2042
|
-
{ code: "ka", name: "Georgian" },
|
|
2043
|
-
{ code: "ru", name: "Russian" },
|
|
2044
|
-
{ code: "tr", name: "Turkish" },
|
|
2045
|
-
{ code: "de", name: "German" },
|
|
2046
|
-
{ code: "fr", name: "French" },
|
|
2047
|
-
{ code: "es", name: "Spanish" },
|
|
2048
|
-
{ code: "it", name: "Italian" },
|
|
2049
|
-
{ code: "ar", name: "Arabic" },
|
|
2050
|
-
{ code: "zh", name: "Chinese" }
|
|
2051
|
-
], this.value || (this.value = {});
|
|
2052
|
-
}
|
|
2053
|
-
get availableLanguages() {
|
|
2054
|
-
return this.props.availableLanguages || this.defaultLanguages;
|
|
2055
|
-
}
|
|
2056
|
-
get usedLanguageCodes() {
|
|
2057
|
-
return Object.keys(this.value || {});
|
|
2058
|
-
}
|
|
2059
|
-
get availableLanguageOptions() {
|
|
2060
|
-
return this.availableLanguages.filter(
|
|
2061
|
-
(t) => !this.usedLanguageCodes.includes(t.code)
|
|
2062
|
-
);
|
|
2063
|
-
}
|
|
2064
|
-
updateAddLanguageSelect() {
|
|
2065
|
-
if (!this.addLanguageSelect) return;
|
|
2066
|
-
this.addLanguageSelect.innerHTML = '<option value="">Select language...</option>', this.availableLanguageOptions.forEach((i) => {
|
|
2067
|
-
const s = document.createElement("option");
|
|
2068
|
-
s.value = i.code, s.textContent = i.name, this.addLanguageSelect.appendChild(s);
|
|
2025
|
+
class Vt extends g {
|
|
2026
|
+
constructor(t) {
|
|
2027
|
+
super(t), this.inputType = {}, this.container = null, t.default ? this.value = { ...t.default } : this.value || (this.value = {});
|
|
2028
|
+
const e = t.defaultValue || "";
|
|
2029
|
+
t.languages.forEach((i) => {
|
|
2030
|
+
var s;
|
|
2031
|
+
i in (this.value || {}) || (this.value || (this.value = {}), this.value[i] = ((s = t.default) == null ? void 0 : s[i]) || e);
|
|
2069
2032
|
});
|
|
2070
|
-
const t = this.availableLanguageOptions.length > 0, e = this.props.maxLanguages && this.usedLanguageCodes.length >= this.props.maxLanguages;
|
|
2071
|
-
this.addButton && (this.addButton.disabled = !t || !!e);
|
|
2072
2033
|
}
|
|
2073
|
-
|
|
2034
|
+
createTextareaRow(t, e) {
|
|
2074
2035
|
const i = document.createElement("div");
|
|
2075
|
-
i.classList.add("multi-language-row")
|
|
2076
|
-
const s = document.createElement("
|
|
2077
|
-
s.classList.add("language-label"), s.textContent = t.toUpperCase();
|
|
2078
|
-
const n = document.createElement("
|
|
2079
|
-
n.classList.add("language-
|
|
2080
|
-
|
|
2081
|
-
|
|
2036
|
+
i.classList.add("simple-multi-language-row");
|
|
2037
|
+
const s = document.createElement("label");
|
|
2038
|
+
s.classList.add("simple-language-label"), s.textContent = t.toUpperCase(), s.setAttribute("for", `textarea-${t}`);
|
|
2039
|
+
const n = document.createElement("textarea");
|
|
2040
|
+
n.id = `textarea-${t}`, n.classList.add("simple-language-textarea"), n.value = e || "";
|
|
2041
|
+
let a = this.props.placeholder || "Enter text in {language}...";
|
|
2042
|
+
return a.includes("{language}") && (a = a.replace(
|
|
2043
|
+
"{language}",
|
|
2044
|
+
t.toUpperCase()
|
|
2045
|
+
)), n.placeholder = a, n.rows = this.props.rows || 3, this.getDataPropsPath() && n.setAttribute(
|
|
2082
2046
|
"data-test-id",
|
|
2083
2047
|
`${this.getDataPropsPath()}_${t}`
|
|
2084
|
-
),
|
|
2085
|
-
const
|
|
2086
|
-
this.updateLanguageValue(t,
|
|
2087
|
-
});
|
|
2088
|
-
const o = document.createElement("button");
|
|
2089
|
-
return o.type = "button", o.classList.add("delete-language-btn"), o.innerHTML = at, o.title = `Delete ${t.toUpperCase()}`, o.addEventListener("click", () => {
|
|
2090
|
-
this.removeLanguage(t);
|
|
2091
|
-
}), n.appendChild(a), n.appendChild(o), i.appendChild(s), i.appendChild(n), i;
|
|
2048
|
+
), n.addEventListener("input", (o) => {
|
|
2049
|
+
const l = o.target;
|
|
2050
|
+
this.updateLanguageValue(t, l.value);
|
|
2051
|
+
}), i.appendChild(s), i.appendChild(n), i;
|
|
2092
2052
|
}
|
|
2093
2053
|
updateLanguageValue(t, e) {
|
|
2094
|
-
this.value || (this.value = {})
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
var i;
|
|
2098
|
-
if (!this.value) return;
|
|
2099
|
-
delete this.value[t], this.onChange && this.onChange(this.value), this.props.detectChange && this.props.detectChange(this.value);
|
|
2100
|
-
const e = (i = this.languagesContainer) == null ? void 0 : i.querySelector(
|
|
2101
|
-
`[data-language="${t}"]`
|
|
2102
|
-
);
|
|
2103
|
-
e && e.remove(), this.updateAddLanguageSelect();
|
|
2104
|
-
}
|
|
2105
|
-
addLanguage(t) {
|
|
2106
|
-
var s;
|
|
2107
|
-
if (!t || this.usedLanguageCodes.includes(t)) return;
|
|
2108
|
-
this.value || (this.value = {}), this.value[t] = "", this.onChange && this.onChange(this.value), this.props.detectChange && this.props.detectChange(this.value);
|
|
2109
|
-
const e = this.createLanguageRow(t, "");
|
|
2110
|
-
(s = this.languagesContainer) == null || s.appendChild(e), this.updateAddLanguageSelect(), this.addLanguageSelect && (this.addLanguageSelect.value = "");
|
|
2111
|
-
const i = e.querySelector(".language-input");
|
|
2112
|
-
i && i.focus();
|
|
2113
|
-
}
|
|
2114
|
-
createAddLanguageSection() {
|
|
2115
|
-
const t = document.createElement("div");
|
|
2116
|
-
t.classList.add("add-language-section");
|
|
2117
|
-
const e = document.createElement("div");
|
|
2118
|
-
e.classList.add("add-language-label"), e.textContent = "Add language:";
|
|
2119
|
-
const i = document.createElement("div");
|
|
2120
|
-
i.classList.add("add-language-controls");
|
|
2121
|
-
const s = document.createElement("select");
|
|
2122
|
-
s.classList.add("add-language-select"), this.addLanguageSelect = s;
|
|
2123
|
-
const n = document.createElement("button");
|
|
2124
|
-
return n.type = "button", n.classList.add("add-language-btn"), n.innerHTML = `${ot} Add`, this.addButton = n, n.addEventListener("click", () => {
|
|
2125
|
-
const a = s.value;
|
|
2126
|
-
a && this.addLanguage(a);
|
|
2127
|
-
}), i.appendChild(s), i.appendChild(n), t.appendChild(e), t.appendChild(i), t;
|
|
2054
|
+
this.value || (this.value = {});
|
|
2055
|
+
const i = { ...this.value, [t]: e };
|
|
2056
|
+
this.setValue(i);
|
|
2128
2057
|
}
|
|
2129
2058
|
draw() {
|
|
2130
2059
|
const t = document.createElement("div");
|
|
2131
|
-
if (t.classList.add("multi-language-wrapper"), this.props.title) {
|
|
2132
|
-
const
|
|
2133
|
-
|
|
2060
|
+
if (t.classList.add("simple-multi-language-wrapper"), this.props.title) {
|
|
2061
|
+
const i = document.createElement("div");
|
|
2062
|
+
i.classList.add("simple-multi-language-title"), i.textContent = this.props.title, t.appendChild(i);
|
|
2134
2063
|
}
|
|
2135
2064
|
const e = document.createElement("div");
|
|
2136
|
-
e.classList.add("multi-language-content")
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
}), e.appendChild(i);
|
|
2142
|
-
const s = this.createAddLanguageSection();
|
|
2143
|
-
return e.appendChild(s), t.appendChild(e), this.updateAddLanguageSelect(), this.container = t, t;
|
|
2065
|
+
return e.classList.add("simple-multi-language-content"), this.props.languages.forEach((i) => {
|
|
2066
|
+
var a;
|
|
2067
|
+
const s = ((a = this.value) == null ? void 0 : a[i]) || "", n = this.createTextareaRow(i, s);
|
|
2068
|
+
e.appendChild(n);
|
|
2069
|
+
}), t.appendChild(e), this.container = t, t;
|
|
2144
2070
|
}
|
|
2145
2071
|
setValue(t) {
|
|
2146
|
-
super.setValue(t), this.
|
|
2147
|
-
|
|
2148
|
-
this.
|
|
2149
|
-
|
|
2072
|
+
super.setValue(t), this.container && this.props.languages.forEach((e) => {
|
|
2073
|
+
var s;
|
|
2074
|
+
const i = (s = this.container) == null ? void 0 : s.querySelector(
|
|
2075
|
+
`#textarea-${e}`
|
|
2076
|
+
);
|
|
2077
|
+
i && (i.value = (t == null ? void 0 : t[e]) || "");
|
|
2078
|
+
});
|
|
2150
2079
|
}
|
|
2151
2080
|
}
|
|
2152
|
-
class
|
|
2081
|
+
class It extends g {
|
|
2153
2082
|
constructor(t = {}) {
|
|
2154
2083
|
super(t), this.inputType = "select";
|
|
2155
2084
|
const e = [
|
|
@@ -2176,16 +2105,16 @@ class Nt extends g {
|
|
|
2176
2105
|
this.selectSetting.destroy(), super.destroy();
|
|
2177
2106
|
}
|
|
2178
2107
|
}
|
|
2179
|
-
const
|
|
2108
|
+
const at = `
|
|
2180
2109
|
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
2181
2110
|
<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"/>
|
|
2182
2111
|
</svg>
|
|
2183
|
-
`,
|
|
2112
|
+
`, ot = `
|
|
2184
2113
|
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
2185
2114
|
<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"/>
|
|
2186
2115
|
</svg>
|
|
2187
2116
|
`;
|
|
2188
|
-
class
|
|
2117
|
+
class Nt extends v {
|
|
2189
2118
|
constructor(t) {
|
|
2190
2119
|
super({
|
|
2191
2120
|
title: "Border",
|
|
@@ -2193,7 +2122,7 @@ class Ot extends v {
|
|
|
2193
2122
|
settings: {
|
|
2194
2123
|
size: new f({
|
|
2195
2124
|
title: "Size",
|
|
2196
|
-
icon:
|
|
2125
|
+
icon: ot,
|
|
2197
2126
|
default: (t == null ? void 0 : t.size) ?? 0,
|
|
2198
2127
|
suffix: "px"
|
|
2199
2128
|
}),
|
|
@@ -2202,7 +2131,7 @@ class Ot extends v {
|
|
|
2202
2131
|
}),
|
|
2203
2132
|
radius: new f({
|
|
2204
2133
|
title: "Radius",
|
|
2205
|
-
icon:
|
|
2134
|
+
icon: at,
|
|
2206
2135
|
default: (t == null ? void 0 : t.radius) ?? 12,
|
|
2207
2136
|
suffix: "px"
|
|
2208
2137
|
})
|
|
@@ -2221,20 +2150,20 @@ class Ot extends v {
|
|
|
2221
2150
|
`;
|
|
2222
2151
|
}
|
|
2223
2152
|
}
|
|
2224
|
-
const
|
|
2153
|
+
const lt = `
|
|
2225
2154
|
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="13" viewBox="0 0 14 13" fill="none">
|
|
2226
2155
|
<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"/>
|
|
2227
2156
|
</svg>
|
|
2228
|
-
`,
|
|
2157
|
+
`, rt = `
|
|
2229
2158
|
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
2230
2159
|
<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"/>
|
|
2231
2160
|
</svg>
|
|
2232
|
-
`,
|
|
2161
|
+
`, ht = `
|
|
2233
2162
|
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
2234
2163
|
<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"/>
|
|
2235
2164
|
</svg>
|
|
2236
2165
|
`;
|
|
2237
|
-
class
|
|
2166
|
+
class St extends v {
|
|
2238
2167
|
constructor(t = {}) {
|
|
2239
2168
|
const { showAlign: e = t.showAlign ?? !0, ...i } = t;
|
|
2240
2169
|
super({
|
|
@@ -2247,7 +2176,7 @@ class Ht extends v {
|
|
|
2247
2176
|
}),
|
|
2248
2177
|
fontFamily: new I({
|
|
2249
2178
|
title: "Font",
|
|
2250
|
-
icon:
|
|
2179
|
+
icon: lt,
|
|
2251
2180
|
default: i.fontFamilyDefault ?? "Satoshi",
|
|
2252
2181
|
options: i.fontFamilyOptions ?? [
|
|
2253
2182
|
{ name: "Alt", value: "Croco Sans Black Caps Alt" },
|
|
@@ -2260,7 +2189,7 @@ class Ht extends v {
|
|
|
2260
2189
|
}),
|
|
2261
2190
|
fontWeight: new I({
|
|
2262
2191
|
title: "Weight",
|
|
2263
|
-
icon:
|
|
2192
|
+
icon: rt,
|
|
2264
2193
|
default: i.fontWeightDefault ?? "400",
|
|
2265
2194
|
options: i.fontWeightOptions ?? [
|
|
2266
2195
|
{ name: "Regular", value: "400" },
|
|
@@ -2272,7 +2201,7 @@ class Ht extends v {
|
|
|
2272
2201
|
}),
|
|
2273
2202
|
fontSize: new f({
|
|
2274
2203
|
title: "Size",
|
|
2275
|
-
icon:
|
|
2204
|
+
icon: ht,
|
|
2276
2205
|
default: i.fontSizeDefault ?? 12,
|
|
2277
2206
|
suffix: "px",
|
|
2278
2207
|
mobile: i.fontSizeMobileDefault
|
|
@@ -2300,7 +2229,7 @@ class Ht extends v {
|
|
|
2300
2229
|
`;
|
|
2301
2230
|
}
|
|
2302
2231
|
}
|
|
2303
|
-
class
|
|
2232
|
+
class b extends g {
|
|
2304
2233
|
constructor(t) {
|
|
2305
2234
|
super({
|
|
2306
2235
|
...t,
|
|
@@ -2346,33 +2275,33 @@ class E extends g {
|
|
|
2346
2275
|
}), i;
|
|
2347
2276
|
}
|
|
2348
2277
|
}
|
|
2349
|
-
class
|
|
2278
|
+
class Ot extends v {
|
|
2350
2279
|
constructor(t) {
|
|
2351
2280
|
super({
|
|
2352
2281
|
title: "Margins",
|
|
2353
2282
|
collapsed: t == null ? void 0 : t.collapsed,
|
|
2354
2283
|
settings: {
|
|
2355
|
-
marginTop: new
|
|
2284
|
+
marginTop: new b({
|
|
2356
2285
|
title: "Top",
|
|
2357
|
-
icon:
|
|
2286
|
+
icon: ct,
|
|
2358
2287
|
suffix: "px",
|
|
2359
2288
|
default: (t == null ? void 0 : t.marginTop) ?? "auto"
|
|
2360
2289
|
}),
|
|
2361
|
-
marginRight: new
|
|
2290
|
+
marginRight: new b({
|
|
2362
2291
|
title: "Right",
|
|
2363
|
-
icon:
|
|
2292
|
+
icon: dt,
|
|
2364
2293
|
suffix: "px",
|
|
2365
2294
|
default: (t == null ? void 0 : t.marginRight) ?? 0
|
|
2366
2295
|
}),
|
|
2367
|
-
marginBottom: new
|
|
2296
|
+
marginBottom: new b({
|
|
2368
2297
|
title: "Bottom",
|
|
2369
|
-
icon:
|
|
2298
|
+
icon: ut,
|
|
2370
2299
|
suffix: "px",
|
|
2371
2300
|
default: (t == null ? void 0 : t.marginBottom) ?? 0
|
|
2372
2301
|
}),
|
|
2373
|
-
marginLeft: new
|
|
2302
|
+
marginLeft: new b({
|
|
2374
2303
|
title: "Left",
|
|
2375
|
-
icon:
|
|
2304
|
+
icon: pt,
|
|
2376
2305
|
suffix: "px",
|
|
2377
2306
|
default: (t == null ? void 0 : t.marginLeft) ?? 0
|
|
2378
2307
|
})
|
|
@@ -2389,16 +2318,16 @@ class Tt extends v {
|
|
|
2389
2318
|
`;
|
|
2390
2319
|
}
|
|
2391
2320
|
}
|
|
2392
|
-
const
|
|
2321
|
+
const ct = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
2393
2322
|
<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"/>
|
|
2394
|
-
</svg>`,
|
|
2323
|
+
</svg>`, dt = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
2395
2324
|
<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"/>
|
|
2396
|
-
</svg>`,
|
|
2325
|
+
</svg>`, ut = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
2397
2326
|
<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"/>
|
|
2398
|
-
</svg>`,
|
|
2327
|
+
</svg>`, pt = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
2399
2328
|
<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"/>
|
|
2400
2329
|
</svg>`;
|
|
2401
|
-
class
|
|
2330
|
+
class Ht extends v {
|
|
2402
2331
|
constructor(t) {
|
|
2403
2332
|
super({
|
|
2404
2333
|
title: "Background Image",
|
|
@@ -2408,7 +2337,7 @@ class Pt extends v {
|
|
|
2408
2337
|
...t == null ? void 0 : t.uploadProps,
|
|
2409
2338
|
default: (t == null ? void 0 : t.backgroundImage) ?? ""
|
|
2410
2339
|
}),
|
|
2411
|
-
opacity: new
|
|
2340
|
+
opacity: new _({
|
|
2412
2341
|
default: (t == null ? void 0 : t.opacity) ?? 100
|
|
2413
2342
|
}),
|
|
2414
2343
|
backgroundColor: new C({
|
|
@@ -2439,38 +2368,38 @@ class Pt extends v {
|
|
|
2439
2368
|
}
|
|
2440
2369
|
export {
|
|
2441
2370
|
J as AlignSetting,
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2371
|
+
It as AnimationSetting,
|
|
2372
|
+
Ht as BackgroundSettingSet,
|
|
2373
|
+
Nt as BorderSettingSet,
|
|
2374
|
+
Ct as ButtonSetting,
|
|
2446
2375
|
m as ColorSetting,
|
|
2447
2376
|
C as ColorWithOpacitySetting,
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2377
|
+
wt as DimensionSetting,
|
|
2378
|
+
Lt as GapSetting,
|
|
2379
|
+
St as HeaderTypographySettingSet,
|
|
2380
|
+
Et as HeightSetting,
|
|
2381
|
+
vt as HtmlSetting,
|
|
2382
|
+
kt as MarginBottomSetting,
|
|
2383
|
+
Ot as MarginSettingGroup,
|
|
2384
|
+
Mt as MarginTopSetting,
|
|
2385
|
+
Vt as MultiLanguageSetting,
|
|
2457
2386
|
f as NumberSetting,
|
|
2458
|
-
|
|
2459
|
-
|
|
2387
|
+
_ as OpacitySetting,
|
|
2388
|
+
xt as SelectApiSettings,
|
|
2460
2389
|
I as SelectSetting,
|
|
2461
2390
|
g as Setting,
|
|
2462
2391
|
v as SettingGroup,
|
|
2463
2392
|
F as StringSetting,
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2393
|
+
D as TabSettingGroup,
|
|
2394
|
+
D as TabsSettingGroup,
|
|
2395
|
+
yt as Toggle,
|
|
2467
2396
|
Q as UploadSetting,
|
|
2468
|
-
|
|
2469
|
-
|
|
2397
|
+
bt as WidthSetting,
|
|
2398
|
+
ft as asSettingGroupWithSettings,
|
|
2470
2399
|
R as createSettingGroup,
|
|
2471
|
-
|
|
2400
|
+
mt as createTabSettingGroup,
|
|
2472
2401
|
w as isSetting,
|
|
2473
|
-
|
|
2402
|
+
gt as isSettingChild,
|
|
2474
2403
|
p as isSettingGroup,
|
|
2475
|
-
|
|
2404
|
+
E as iterateSettings
|
|
2476
2405
|
};
|