builder-settings-types 0.0.414 → 0.0.416
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.
- package/dist/base/settings-group/settingsGroup.d.ts +4 -0
- package/dist/builder-settings-types.cjs.js +71 -71
- package/dist/builder-settings-types.es.js +191 -153
- package/dist/index.css +1 -1
- package/dist/settings/multi-language-settings/ui/LanguagePopup.d.ts +4 -0
- package/dist/settings/multi-language-settings/utils/dom-helpers.d.ts +1 -0
- package/dist/settings/multi-language-settings/utils/index.d.ts +1 -0
- package/dist/types/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -273,7 +273,7 @@ function Er(t) {
|
|
|
273
273
|
return t instanceof Ae;
|
|
274
274
|
}
|
|
275
275
|
function $e(t) {
|
|
276
|
-
return t instanceof
|
|
276
|
+
return t instanceof nr;
|
|
277
277
|
}
|
|
278
278
|
function vi(t) {
|
|
279
279
|
return Er(t) || $e(t);
|
|
@@ -298,7 +298,7 @@ const es = (t, e, r) => {
|
|
|
298
298
|
if (!t) return null;
|
|
299
299
|
let e = t.trim();
|
|
300
300
|
return !e.startsWith("#") || (e = e.slice(1), e.length === 3 && (e = e.split("").map((r) => r + r).join("")), !/^[0-9a-fA-F]{6}$/.test(e)) ? null : `#${e.toUpperCase()}`;
|
|
301
|
-
}, Bn = (t, e, r) => `#${[t, e, r].map((a) => Math.max(0, Math.min(255, a)).toString(16).padStart(2, "0")).join("")}`,
|
|
301
|
+
}, Bn = (t, e, r) => `#${[t, e, r].map((a) => Math.max(0, Math.min(255, a)).toString(16).padStart(2, "0")).join("")}`, dr = (t) => {
|
|
302
302
|
const e = t.replace("#", ""), r = e.length === 3 ? e.split("").map((a) => a + a).join("") : e;
|
|
303
303
|
return {
|
|
304
304
|
r: parseInt(r.slice(0, 2), 16),
|
|
@@ -306,7 +306,7 @@ const es = (t, e, r) => {
|
|
|
306
306
|
b: parseInt(r.slice(4, 6), 16)
|
|
307
307
|
};
|
|
308
308
|
}, ya = (t) => {
|
|
309
|
-
const { r: e, g: r, b: a } =
|
|
309
|
+
const { r: e, g: r, b: a } = dr(t), n = e / 255, i = r / 255, s = a / 255, o = Math.max(n, i, s), l = Math.min(n, i, s), c = o - l;
|
|
310
310
|
let f = 0;
|
|
311
311
|
c !== 0 && (o === n ? f = (i - s) / c % 6 : o === i ? f = (s - n) / c + 2 : f = (n - i) / c + 4), f < 0 && (f += 6);
|
|
312
312
|
const h = o === 0 ? 0 : c / o, u = o;
|
|
@@ -333,7 +333,7 @@ const es = (t, e, r) => {
|
|
|
333
333
|
}, Ri = (t, e) => {
|
|
334
334
|
const r = Math.max(0, Math.min(100, e)) / 100;
|
|
335
335
|
if (t.startsWith("#")) {
|
|
336
|
-
const { r: n, g: i, b: s } =
|
|
336
|
+
const { r: n, g: i, b: s } = dr(t);
|
|
337
337
|
return `rgba(${n}, ${i}, ${s}, ${r})`;
|
|
338
338
|
}
|
|
339
339
|
if (t.startsWith("rgba("))
|
|
@@ -364,7 +364,7 @@ const es = (t, e, r) => {
|
|
|
364
364
|
}
|
|
365
365
|
const a = Qr(t);
|
|
366
366
|
if (a) {
|
|
367
|
-
const { r: n, g: i, b: s } =
|
|
367
|
+
const { r: n, g: i, b: s } = dr(a);
|
|
368
368
|
return `rgba(${n}, ${i}, ${s}, ${r})`;
|
|
369
369
|
}
|
|
370
370
|
return t;
|
|
@@ -683,7 +683,7 @@ const ts = (t, e) => {
|
|
|
683
683
|
return Vn(e);
|
|
684
684
|
const r = Qr(t);
|
|
685
685
|
if (r) {
|
|
686
|
-
const a =
|
|
686
|
+
const a = dr(r);
|
|
687
687
|
return `${r} (RGB: ${a.r}, ${a.g}, ${a.b})`;
|
|
688
688
|
}
|
|
689
689
|
return t;
|
|
@@ -870,7 +870,7 @@ class pf {
|
|
|
870
870
|
const e = this.select.value, { h: r, s: a, v: n } = ya(this.currentColor);
|
|
871
871
|
if (e === "hex") this.input.value = this.currentColor;
|
|
872
872
|
else if (e === "rgb") {
|
|
873
|
-
const { r: i, g: s, b: o } =
|
|
873
|
+
const { r: i, g: s, b: o } = dr(this.currentColor);
|
|
874
874
|
this.input.value = `rgb(${i}, ${s}, ${o})`;
|
|
875
875
|
} else {
|
|
876
876
|
const { hue: i, sat: s, lightness: o } = v0(r, a, n);
|
|
@@ -899,7 +899,7 @@ class pf {
|
|
|
899
899
|
r && this.setColor(r);
|
|
900
900
|
}
|
|
901
901
|
updateOpacityBg() {
|
|
902
|
-
const { r: e, g: r, b: a } =
|
|
902
|
+
const { r: e, g: r, b: a } = dr(this.currentColor);
|
|
903
903
|
this.opacitySlider.style.setProperty(
|
|
904
904
|
"--base-color",
|
|
905
905
|
`rgb(${e}, ${r}, ${a})`
|
|
@@ -1080,7 +1080,7 @@ class mf {
|
|
|
1080
1080
|
if (e === "hex")
|
|
1081
1081
|
this.input.value = this.currentColor;
|
|
1082
1082
|
else if (e === "rgb") {
|
|
1083
|
-
const { r: i, g: s, b: o } =
|
|
1083
|
+
const { r: i, g: s, b: o } = dr(this.currentColor);
|
|
1084
1084
|
this.input.value = `rgb(${i}, ${s}, ${o})`;
|
|
1085
1085
|
} else {
|
|
1086
1086
|
const { hue: i, sat: s, lightness: o } = v0(r, a, n);
|
|
@@ -1110,7 +1110,7 @@ class mf {
|
|
|
1110
1110
|
r && (this.setColor(r), this.onColorChange(this.currentColor, this.currentOpacity));
|
|
1111
1111
|
}
|
|
1112
1112
|
updateOpacityBg() {
|
|
1113
|
-
const { r: e, g: r, b: a } =
|
|
1113
|
+
const { r: e, g: r, b: a } = dr(this.currentColor);
|
|
1114
1114
|
this.opacitySlider.style.setProperty(
|
|
1115
1115
|
"--base-color",
|
|
1116
1116
|
`rgb(${e}, ${r}, ${a})`
|
|
@@ -1794,7 +1794,7 @@ const qt = class qt extends Ae {
|
|
|
1794
1794
|
if (n === i || n.position === i.position)
|
|
1795
1795
|
s = n.color, o = n.opacity ?? 100;
|
|
1796
1796
|
else {
|
|
1797
|
-
const c = (r - n.position) / (i.position - n.position), f =
|
|
1797
|
+
const c = (r - n.position) / (i.position - n.position), f = dr(n.color), h = dr(i.color), u = Math.round(f.r + (h.r - f.r) * c), p = Math.round(f.g + (h.g - f.g) * c), m = Math.round(f.b + (h.b - f.b) * c);
|
|
1798
1798
|
s = `#${u.toString(16).padStart(2, "0")}${p.toString(16).padStart(2, "0")}${m.toString(16).padStart(2, "0")}`.toUpperCase(), o = Math.round(
|
|
1799
1799
|
(n.opacity ?? 100) + ((i.opacity ?? 100) - (n.opacity ?? 100)) * c
|
|
1800
1800
|
);
|
|
@@ -2620,15 +2620,15 @@ function M0(t, e) {
|
|
|
2620
2620
|
} else r = e.toExponential(a);
|
|
2621
2621
|
return t.match(/E\+00$/) && r.match(/e[+-]\d$/) && (r = r.substr(0, r.length - 1) + "0" + r.charAt(r.length - 1)), t.match(/E\-/) && r.match(/e\+/) && (r = r.replace(/e\+/, "e")), r.replace("e", "E");
|
|
2622
2622
|
}
|
|
2623
|
-
function
|
|
2623
|
+
function cr(t, e, r) {
|
|
2624
2624
|
if (t.charCodeAt(0) === 40 && !e.match(I0)) {
|
|
2625
2625
|
var a = e.replace(/\( */, "").replace(/ \)/, "").replace(/\)/, "");
|
|
2626
|
-
return r >= 0 ?
|
|
2626
|
+
return r >= 0 ? cr("n", a, r) : "(" + cr("n", a, -r) + ")";
|
|
2627
2627
|
}
|
|
2628
2628
|
if (e.charCodeAt(e.length - 1) === 44) return Bf(t, e, r);
|
|
2629
2629
|
if (e.indexOf("%") !== -1) return Vf(t, e, r);
|
|
2630
2630
|
if (e.indexOf("E") !== -1) return M0(e, r);
|
|
2631
|
-
if (e.charCodeAt(0) === 36) return "$" +
|
|
2631
|
+
if (e.charCodeAt(0) === 36) return "$" + cr(t, e.substr(e.charAt(1) == " " ? 2 : 1), r);
|
|
2632
2632
|
var n, i, s, o, l = Math.abs(r), c = r < 0 ? "-" : "";
|
|
2633
2633
|
if (e.match(/^00+$/)) return c + tr(l, e.length);
|
|
2634
2634
|
if (e.match(/^[#?]+$/))
|
|
@@ -2643,14 +2643,14 @@ function lr(t, e, r) {
|
|
|
2643
2643
|
return c + ("" + l).replace(/\.(\d*[1-9])0*$/, ".$1").replace(/^(-?\d*)$/, "$1.").replace(/^0\./, i[1].length ? "0." : ".");
|
|
2644
2644
|
if (i = e.match(/^#{1,3},##0(\.?)$/)) return c + Pr("" + l);
|
|
2645
2645
|
if (i = e.match(/^#,##0\.([#0]*0)$/))
|
|
2646
|
-
return r < 0 ? "-" +
|
|
2647
|
-
if (i = e.match(/^#,#*,#0/)) return
|
|
2646
|
+
return r < 0 ? "-" + cr(t, e, -r) : Pr("" + r) + "." + Ke("0", i[1].length);
|
|
2647
|
+
if (i = e.match(/^#,#*,#0/)) return cr(t, e.replace(/^#,#*,/, ""), r);
|
|
2648
2648
|
if (i = e.match(/^([0#]+)(\\?-([0#]+))+$/))
|
|
2649
|
-
return n = _a(
|
|
2649
|
+
return n = _a(cr(t, e.replace(/[\\-]/g, ""), r)), s = 0, _a(_a(e.replace(/\\/g, "")).replace(/[0#]/g, function(m) {
|
|
2650
2650
|
return s < n.length ? n.charAt(s++) : m === "0" ? "0" : "";
|
|
2651
2651
|
}));
|
|
2652
2652
|
if (e.match(N0))
|
|
2653
|
-
return n =
|
|
2653
|
+
return n = cr(t, "##########", r), "(" + n.substr(0, 3) + ") " + n.substr(3, 3) + "-" + n.substr(6);
|
|
2654
2654
|
var f = "";
|
|
2655
2655
|
if (i = e.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))
|
|
2656
2656
|
return s = Math.min(
|
|
@@ -2675,7 +2675,7 @@ function lr(t, e, r) {
|
|
|
2675
2675
|
return Tt(e.substr(0, h) + n + e.substr(e.length - u));
|
|
2676
2676
|
}
|
|
2677
2677
|
if (i = e.match(/^00,000\.([#0]*0)$/))
|
|
2678
|
-
return r < 0 ? "-" +
|
|
2678
|
+
return r < 0 ? "-" + cr(t, e, -r) : Pr("" + r).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(m) {
|
|
2679
2679
|
return "00," + (m.length < 3 ? tr(0, 3 - m.length) : "") + m;
|
|
2680
2680
|
}) + "." + tr(0, i[1].length);
|
|
2681
2681
|
switch (e) {
|
|
@@ -2685,12 +2685,12 @@ function lr(t, e, r) {
|
|
|
2685
2685
|
var p = Pr("" + l);
|
|
2686
2686
|
return p !== "0" ? c + p : "";
|
|
2687
2687
|
default:
|
|
2688
|
-
if (e.match(/\.[0#?]*$/)) return
|
|
2688
|
+
if (e.match(/\.[0#?]*$/)) return cr(t, e.slice(0, e.lastIndexOf(".")), r) + Tt(e.slice(e.lastIndexOf(".")));
|
|
2689
2689
|
}
|
|
2690
2690
|
throw new Error("unsupported format |" + e + "|");
|
|
2691
2691
|
}
|
|
2692
2692
|
function _r(t, e, r) {
|
|
2693
|
-
return (r | 0) === r ?
|
|
2693
|
+
return (r | 0) === r ? cr(t, e, r) : Ut(t, e, r);
|
|
2694
2694
|
}
|
|
2695
2695
|
function Hf(t) {
|
|
2696
2696
|
for (var e = [], r = !1, a = 0, n = 0; a < t.length; ++a) switch (
|
|
@@ -3724,7 +3724,7 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
3724
3724
|
var k = _ & 7, T = _ >>> 3;
|
|
3725
3725
|
return k <= 5 ? E[T] |= (C & 7) << k : (E[T] |= C << k & 255, E[T + 1] = (C & 7) >> 8 - k), _ + 3;
|
|
3726
3726
|
}
|
|
3727
|
-
function
|
|
3727
|
+
function ir(E, _, C) {
|
|
3728
3728
|
var k = _ & 7, T = _ >>> 3;
|
|
3729
3729
|
return C = (C & 1) << k, E[T] |= C, _ + 1;
|
|
3730
3730
|
}
|
|
@@ -3789,7 +3789,7 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
3789
3789
|
for (; _ <= 287; _++) C.push(8);
|
|
3790
3790
|
vr(C, Nr, 288);
|
|
3791
3791
|
})();
|
|
3792
|
-
var
|
|
3792
|
+
var sr = /* @__PURE__ */ function() {
|
|
3793
3793
|
for (var _ = Q ? new Uint8Array(32768) : [], C = 0, k = 0; C < te.length - 1; ++C)
|
|
3794
3794
|
for (; k < te[C + 1]; ++k) _[k] = C;
|
|
3795
3795
|
for (; k < 32768; ++k) _[k] = 29;
|
|
@@ -3831,7 +3831,7 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
3831
3831
|
Z[ue] = G & 32767, ue = (ue << 5 ^ j[G]) & 32767, ++G;
|
|
3832
3832
|
se -= Ee - 1;
|
|
3833
3833
|
} else
|
|
3834
|
-
ee <= 143 ? ee = ee + 48 : W =
|
|
3834
|
+
ee <= 143 ? ee = ee + 48 : W = ir(V, W, 1), W = xr(V, W, q[ee]), Z[ue] = G & 32767, ++G;
|
|
3835
3835
|
}
|
|
3836
3836
|
W = xr(V, W, 0) - 1;
|
|
3837
3837
|
}
|
|
@@ -3842,7 +3842,7 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
3842
3842
|
};
|
|
3843
3843
|
}();
|
|
3844
3844
|
function Te(E) {
|
|
3845
|
-
var _ = X(50 + Math.floor(E.length * 1.1)), C =
|
|
3845
|
+
var _ = X(50 + Math.floor(E.length * 1.1)), C = sr(E, _);
|
|
3846
3846
|
return _.slice(0, C);
|
|
3847
3847
|
}
|
|
3848
3848
|
var Ze = Q ? new Uint16Array(32768) : It(32768), Vt = Q ? new Uint16Array(32768) : It(32768), it = Q ? new Uint16Array(128) : It(128), $r = 1, zs = 1;
|
|
@@ -4210,7 +4210,7 @@ function pn(t, e, r) {
|
|
|
4210
4210
|
}
|
|
4211
4211
|
return Deno.writeFileSync(t, e);
|
|
4212
4212
|
}
|
|
4213
|
-
var a = r == "utf8" ?
|
|
4213
|
+
var a = r == "utf8" ? ur(e) : e;
|
|
4214
4214
|
if (typeof IE_SaveFile < "u") return IE_SaveFile(a, t);
|
|
4215
4215
|
if (typeof Blob < "u") {
|
|
4216
4216
|
var n = new Blob([jf(a)], { type: "application/octet-stream" });
|
|
@@ -4318,15 +4318,15 @@ function Ue(t, e) {
|
|
|
4318
4318
|
function ra(t, e) {
|
|
4319
4319
|
if (_e && Buffer.isBuffer(t)) {
|
|
4320
4320
|
if (e) {
|
|
4321
|
-
if (t[0] == 255 && t[1] == 254) return
|
|
4322
|
-
if (t[1] == 254 && t[2] == 255) return
|
|
4321
|
+
if (t[0] == 255 && t[1] == 254) return ur(t.slice(2).toString("utf16le"));
|
|
4322
|
+
if (t[1] == 254 && t[2] == 255) return ur(_0(t.slice(2).toString("binary")));
|
|
4323
4323
|
}
|
|
4324
4324
|
return t.toString("binary");
|
|
4325
4325
|
}
|
|
4326
4326
|
if (typeof TextDecoder < "u") try {
|
|
4327
4327
|
if (e) {
|
|
4328
|
-
if (t[0] == 255 && t[1] == 254) return
|
|
4329
|
-
if (t[0] == 254 && t[1] == 255) return
|
|
4328
|
+
if (t[0] == 255 && t[1] == 254) return ur(new TextDecoder("utf-16le").decode(t.slice(2)));
|
|
4329
|
+
if (t[0] == 254 && t[1] == 255) return ur(new TextDecoder("utf-16be").decode(t.slice(2)));
|
|
4330
4330
|
}
|
|
4331
4331
|
var r = {
|
|
4332
4332
|
"€": "",
|
|
@@ -4616,7 +4616,7 @@ function xo(t) {
|
|
|
4616
4616
|
function vo(t) {
|
|
4617
4617
|
return Fr(t, "binary").toString("utf8");
|
|
4618
4618
|
}
|
|
4619
|
-
var _n = "foo bar bazâð£", Re = _e && (/* @__PURE__ */ vo(_n) == /* @__PURE__ */ Ei(_n) && vo || /* @__PURE__ */ xo(_n) == /* @__PURE__ */ Ei(_n) && xo) || Ei,
|
|
4619
|
+
var _n = "foo bar bazâð£", Re = _e && (/* @__PURE__ */ vo(_n) == /* @__PURE__ */ Ei(_n) && vo || /* @__PURE__ */ xo(_n) == /* @__PURE__ */ Ei(_n) && xo) || Ei, ur = _e ? function(t) {
|
|
4620
4620
|
return Fr(t, "utf8").toString("binary");
|
|
4621
4621
|
} : function(t) {
|
|
4622
4622
|
for (var e = [], r = 0, a = 0, n = 0; r < t.length; )
|
|
@@ -8836,9 +8836,9 @@ var qr = /* @__PURE__ */ function() {
|
|
|
8836
8836
|
/* NUMBER */
|
|
8837
8837
|
case 16:
|
|
8838
8838
|
Bt == 14 && (ce[2] & 112) == 112 && (ce[2] & 15) > 1 && (ce[2] & 15) < 15 && (ce[1].z = M.dateNF || me[14], M.cellDates && (ce[1].t = "d", ce[1].v = hi(ce[1].v))), M.qpro && ce[3] > re && (O["!ref"] = Ce(F), Q[K] = O, q.push(K), O = M.dense ? [] : {}, F = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, re = ce[3], K = te || "Sheet" + (re + 1), te = "");
|
|
8839
|
-
var
|
|
8840
|
-
if (
|
|
8841
|
-
|
|
8839
|
+
var ir = M.dense ? (O[ce[0].r] || [])[ce[0].c] : O[ge(ce[0])];
|
|
8840
|
+
if (ir) {
|
|
8841
|
+
ir.t = ce[1].t, ir.v = ce[1].v, ce[1].z != null && (ir.z = ce[1].z), ce[1].f != null && (ir.f = ce[1].f);
|
|
8842
8842
|
break;
|
|
8843
8843
|
}
|
|
8844
8844
|
M.dense ? (O[ce[0].r] || (O[ce[0].r] = []), O[ce[0].r][ce[0].c] = ce[1]) : O[ge(ce[0])] = ce[1];
|
|
@@ -14180,7 +14180,7 @@ function og(t, e, r, a, n) {
|
|
|
14180
14180
|
e.Workbook && (l = e.Workbook.Sheets[r].CodeName || l);
|
|
14181
14181
|
} catch {
|
|
14182
14182
|
}
|
|
14183
|
-
i = !0, s.codeName =
|
|
14183
|
+
i = !0, s.codeName = ur(De(l));
|
|
14184
14184
|
}
|
|
14185
14185
|
if (t && t["!outline"]) {
|
|
14186
14186
|
var c = { summaryBelow: 1, summaryRight: 1 };
|
|
@@ -17155,7 +17155,7 @@ function Jv(t, e, r, a, n) {
|
|
|
17155
17155
|
if (h.length < a) throw "XLS Record 0x" + t.toString(16) + " Truncated: " + h.length + " < " + a;
|
|
17156
17156
|
return e.f(h, h.length, n);
|
|
17157
17157
|
}
|
|
17158
|
-
function
|
|
17158
|
+
function or(t, e, r) {
|
|
17159
17159
|
if (t.t !== "z" && t.XF) {
|
|
17160
17160
|
var a = 0;
|
|
17161
17161
|
try {
|
|
@@ -17403,19 +17403,19 @@ function qv(t, e) {
|
|
|
17403
17403
|
case 515:
|
|
17404
17404
|
case 3:
|
|
17405
17405
|
case 2:
|
|
17406
|
-
n["!type"] == "chart" && (e.dense ? (n[F.r] || [])[F.c] : n[ge({ c: F.c, r: F.r })]) && ++F.c, x = { ixfe: F.ixfe, XF: I[F.ixfe] || {}, v: F.val, t: "n" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]),
|
|
17406
|
+
n["!type"] == "chart" && (e.dense ? (n[F.r] || [])[F.c] : n[ge({ c: F.c, r: F.r })]) && ++F.c, x = { ixfe: F.ixfe, XF: I[F.ixfe] || {}, v: F.val, t: "n" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: F.c, r: F.r }, x, e);
|
|
17407
17407
|
break;
|
|
17408
17408
|
case 5:
|
|
17409
17409
|
case 517:
|
|
17410
|
-
x = { ixfe: F.ixfe, XF: I[F.ixfe], v: F.val, t: F.t }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]),
|
|
17410
|
+
x = { ixfe: F.ixfe, XF: I[F.ixfe], v: F.val, t: F.t }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: F.c, r: F.r }, x, e);
|
|
17411
17411
|
break;
|
|
17412
17412
|
case 638:
|
|
17413
|
-
x = { ixfe: F.ixfe, XF: I[F.ixfe], v: F.rknum, t: "n" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]),
|
|
17413
|
+
x = { ixfe: F.ixfe, XF: I[F.ixfe], v: F.rknum, t: "n" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: F.c, r: F.r }, x, e);
|
|
17414
17414
|
break;
|
|
17415
17415
|
case 189:
|
|
17416
17416
|
for (var be = F.c; be <= F.C; ++be) {
|
|
17417
17417
|
var ce = F.rkrec[be - F.c][0];
|
|
17418
|
-
x = { ixfe: ce, XF: I[ce], v: F.rkrec[be - F.c][1], t: "n" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]),
|
|
17418
|
+
x = { ixfe: ce, XF: I[ce], v: F.rkrec[be - F.c][1], t: "n" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: be, r: F.r }, x, e);
|
|
17419
17419
|
}
|
|
17420
17420
|
break;
|
|
17421
17421
|
case 6:
|
|
@@ -17429,17 +17429,17 @@ function qv(t, e) {
|
|
|
17429
17429
|
if (x = Nn(F.val, F.cell.ixfe, F.tt), x.XF = I[x.ixfe], e.cellFormula) {
|
|
17430
17430
|
var qe = F.formula;
|
|
17431
17431
|
if (qe && qe[0] && qe[0][0] && qe[0][0][0] == "PtgExp") {
|
|
17432
|
-
var Bt = qe[0][0][1][0],
|
|
17433
|
-
v[xr] ? x.f = "" + vt(F.formula, s, F.cell, U, D) : x.F = ((e.dense ? (n[Bt] || [])[
|
|
17432
|
+
var Bt = qe[0][0][1][0], ir = qe[0][0][1][1], xr = ge({ r: Bt, c: ir });
|
|
17433
|
+
v[xr] ? x.f = "" + vt(F.formula, s, F.cell, U, D) : x.F = ((e.dense ? (n[Bt] || [])[ir] : n[xr]) || {}).F;
|
|
17434
17434
|
} else x.f = "" + vt(F.formula, s, F.cell, U, D);
|
|
17435
17435
|
}
|
|
17436
|
-
A > 0 && (x.z = R[x.ixfe >> 8 & 63]),
|
|
17436
|
+
A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B(F.cell, x, e), o = F;
|
|
17437
17437
|
}
|
|
17438
17438
|
break;
|
|
17439
17439
|
case 7:
|
|
17440
17440
|
case 519:
|
|
17441
17441
|
if (o)
|
|
17442
|
-
o.val = F, x = Nn(F, o.cell.ixfe, "s"), x.XF = I[x.ixfe], e.cellFormula && (x.f = "" + vt(o.formula, s, o.cell, U, D)), A > 0 && (x.z = R[x.ixfe >> 8 & 63]),
|
|
17442
|
+
o.val = F, x = Nn(F, o.cell.ixfe, "s"), x.XF = I[x.ixfe], e.cellFormula && (x.f = "" + vt(o.formula, s, o.cell, U, D)), A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B(o.cell, x, e), o = null;
|
|
17443
17443
|
else throw new Error("String record expects Formula");
|
|
17444
17444
|
break;
|
|
17445
17445
|
case 33:
|
|
@@ -17463,22 +17463,22 @@ function qv(t, e) {
|
|
|
17463
17463
|
}
|
|
17464
17464
|
break;
|
|
17465
17465
|
case 253:
|
|
17466
|
-
x = Nn(l[F.isst].t, F.ixfe, "s"), l[F.isst].h && (x.h = l[F.isst].h), x.XF = I[x.ixfe], A > 0 && (x.z = R[x.ixfe >> 8 & 63]),
|
|
17466
|
+
x = Nn(l[F.isst].t, F.ixfe, "s"), l[F.isst].h && (x.h = l[F.isst].h), x.XF = I[x.ixfe], A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: F.c, r: F.r }, x, e);
|
|
17467
17467
|
break;
|
|
17468
17468
|
case 513:
|
|
17469
|
-
e.sheetStubs && (x = { ixfe: F.ixfe, XF: I[F.ixfe], t: "z" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]),
|
|
17469
|
+
e.sheetStubs && (x = { ixfe: F.ixfe, XF: I[F.ixfe], t: "z" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: F.c, r: F.r }, x, e));
|
|
17470
17470
|
break;
|
|
17471
17471
|
case 190:
|
|
17472
17472
|
if (e.sheetStubs)
|
|
17473
17473
|
for (var Ir = F.c; Ir <= F.C; ++Ir) {
|
|
17474
17474
|
var It = F.ixfe[Ir - F.c];
|
|
17475
|
-
x = { ixfe: It, XF: I[It], t: "z" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]),
|
|
17475
|
+
x = { ixfe: It, XF: I[It], t: "z" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: Ir, r: F.r }, x, e);
|
|
17476
17476
|
}
|
|
17477
17477
|
break;
|
|
17478
17478
|
case 214:
|
|
17479
17479
|
case 516:
|
|
17480
17480
|
case 4:
|
|
17481
|
-
x = Nn(F.val, F.ixfe, "s"), x.XF = I[x.ixfe], A > 0 && (x.z = R[x.ixfe >> 8 & 63]),
|
|
17481
|
+
x = Nn(F.val, F.ixfe, "s"), x.XF = I[x.ixfe], A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: F.c, r: F.r }, x, e);
|
|
17482
17482
|
break;
|
|
17483
17483
|
case 0:
|
|
17484
17484
|
case 512:
|
|
@@ -17575,12 +17575,12 @@ function qv(t, e) {
|
|
|
17575
17575
|
} else
|
|
17576
17576
|
q || console.error("Missing Info for XLS Record 0x" + re.toString(16)), t.l += Q;
|
|
17577
17577
|
}
|
|
17578
|
-
return r.SheetNames = Je(i).sort(function(
|
|
17579
|
-
return Number(
|
|
17580
|
-
}).map(function(
|
|
17581
|
-
return i[
|
|
17582
|
-
}), e.bookSheets || (r.Sheets = a), !r.SheetNames.length && f["!ref"] ? (r.SheetNames.push("Sheet1"), r.Sheets && (r.Sheets.Sheet1 = f)) : r.Preamble = f, r.Sheets && M.forEach(function(
|
|
17583
|
-
r.Sheets[r.SheetNames[Te]]["!autofilter"] =
|
|
17578
|
+
return r.SheetNames = Je(i).sort(function(sr, Te) {
|
|
17579
|
+
return Number(sr) - Number(Te);
|
|
17580
|
+
}).map(function(sr) {
|
|
17581
|
+
return i[sr].name;
|
|
17582
|
+
}), e.bookSheets || (r.Sheets = a), !r.SheetNames.length && f["!ref"] ? (r.SheetNames.push("Sheet1"), r.Sheets && (r.Sheets.Sheet1 = f)) : r.Preamble = f, r.Sheets && M.forEach(function(sr, Te) {
|
|
17583
|
+
r.Sheets[r.SheetNames[Te]]["!autofilter"] = sr;
|
|
17584
17584
|
}), r.Strings = l, r.SSF = We(me), D.enc && (r.Encryption = D.enc), J && (r.Themes = J), r.Metadata = {}, b !== void 0 && (r.Metadata.Country = b), U.names.length > 0 && (y.Names = U.names), r.Workbook = y, r;
|
|
17585
17585
|
}
|
|
17586
17586
|
var Za = {
|
|
@@ -24887,7 +24887,7 @@ function Yi(t) {
|
|
|
24887
24887
|
return typeof TextDecoder < "u" ? new TextDecoder().decode(t) : Re(Hr(t));
|
|
24888
24888
|
}
|
|
24889
24889
|
function S5(t) {
|
|
24890
|
-
return typeof TextEncoder < "u" ? new TextEncoder().encode(t) : Pt(
|
|
24890
|
+
return typeof TextEncoder < "u" ? new TextEncoder().encode(t) : Pt(ur(t));
|
|
24891
24891
|
}
|
|
24892
24892
|
function b5(t, e) {
|
|
24893
24893
|
e:
|
|
@@ -25926,7 +25926,7 @@ function Q5(t, e) {
|
|
|
25926
25926
|
return e.type == "base64" && (r = Rt(r)), r = Bi.utils.decode(1200, r.slice(2), "str"), e.type = "binary", Sc(r, e);
|
|
25927
25927
|
}
|
|
25928
25928
|
function e4(t) {
|
|
25929
|
-
return t.match(/[^\x00-\x7F]/) ?
|
|
25929
|
+
return t.match(/[^\x00-\x7F]/) ? ur(t) : t;
|
|
25930
25930
|
}
|
|
25931
25931
|
function Ni(t, e, r, a) {
|
|
25932
25932
|
return a ? (r.type = "string", Aa.to_workbook(t, r)) : Aa.to_workbook(e, r);
|
|
@@ -26048,20 +26048,20 @@ function a4(t, e) {
|
|
|
26048
26048
|
var r = e || {}, a = e5(t, r);
|
|
26049
26049
|
return bc(a, r);
|
|
26050
26050
|
}
|
|
26051
|
-
function
|
|
26051
|
+
function fr(t, e, r) {
|
|
26052
26052
|
r || (r = "");
|
|
26053
26053
|
var a = r + t;
|
|
26054
26054
|
switch (e.type) {
|
|
26055
26055
|
case "base64":
|
|
26056
|
-
return en(
|
|
26056
|
+
return en(ur(a));
|
|
26057
26057
|
case "binary":
|
|
26058
|
-
return
|
|
26058
|
+
return ur(a);
|
|
26059
26059
|
case "string":
|
|
26060
26060
|
return t;
|
|
26061
26061
|
case "file":
|
|
26062
26062
|
return pn(e.file, a, "utf8");
|
|
26063
26063
|
case "buffer":
|
|
26064
|
-
return _e ? Fr(a, "utf8") : typeof TextEncoder < "u" ? new TextEncoder().encode(a) :
|
|
26064
|
+
return _e ? Fr(a, "utf8") : typeof TextEncoder < "u" ? new TextEncoder().encode(a) : fr(a, { type: "binary" }).split("").map(function(n) {
|
|
26065
26065
|
return n.charCodeAt(0);
|
|
26066
26066
|
});
|
|
26067
26067
|
}
|
|
@@ -26114,29 +26114,29 @@ function Fc(t, e) {
|
|
|
26114
26114
|
switch (r.bookType || "xlsb") {
|
|
26115
26115
|
case "xml":
|
|
26116
26116
|
case "xlml":
|
|
26117
|
-
return
|
|
26117
|
+
return fr(jv(t, r), r);
|
|
26118
26118
|
case "slk":
|
|
26119
26119
|
case "sylk":
|
|
26120
|
-
return
|
|
26120
|
+
return fr(Pl.from_sheet(t.Sheets[t.SheetNames[n]], r), r);
|
|
26121
26121
|
case "htm":
|
|
26122
26122
|
case "html":
|
|
26123
|
-
return
|
|
26123
|
+
return fr(Ec(t.Sheets[t.SheetNames[n]], r), r);
|
|
26124
26124
|
case "txt":
|
|
26125
26125
|
return n4(Lc(t.Sheets[t.SheetNames[n]], r), r);
|
|
26126
26126
|
case "csv":
|
|
26127
|
-
return
|
|
26127
|
+
return fr(Hs(t.Sheets[t.SheetNames[n]], r), r, "\uFEFF");
|
|
26128
26128
|
case "dif":
|
|
26129
|
-
return
|
|
26129
|
+
return fr(Dl.from_sheet(t.Sheets[t.SheetNames[n]], r), r);
|
|
26130
26130
|
case "dbf":
|
|
26131
26131
|
return Mn(Xi.from_sheet(t.Sheets[t.SheetNames[n]], r), r);
|
|
26132
26132
|
case "prn":
|
|
26133
|
-
return
|
|
26133
|
+
return fr(Aa.from_sheet(t.Sheets[t.SheetNames[n]], r), r);
|
|
26134
26134
|
case "rtf":
|
|
26135
|
-
return
|
|
26135
|
+
return fr($l.from_sheet(t.Sheets[t.SheetNames[n]], r), r);
|
|
26136
26136
|
case "eth":
|
|
26137
|
-
return
|
|
26137
|
+
return fr(Rl.from_sheet(t.Sheets[t.SheetNames[n]], r), r);
|
|
26138
26138
|
case "fods":
|
|
26139
|
-
return
|
|
26139
|
+
return fr(_c(t, r), r);
|
|
26140
26140
|
case "wk1":
|
|
26141
26141
|
return Mn(qr.sheet_to_wk1(t.Sheets[t.SheetNames[n]], r), r);
|
|
26142
26142
|
case "wk3":
|
|
@@ -26652,7 +26652,7 @@ function qi(t) {
|
|
|
26652
26652
|
const si = class si {
|
|
26653
26653
|
constructor(e) {
|
|
26654
26654
|
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 = () => {
|
|
26655
|
-
}, this.pendingBlurHandler = null, this.originalDefaultValues = {}, this.nestingLevel = 0, this.dataPropsPath = "", this.hide = !1, this.isSettingValue = !1, this.suppressOnChange = !1, this.suppressOnChange = !0, this.id = e.id || Un(), this.title = e.title, this.settings = e.settings, this.isCollapsed = e.collapsed ?? !1, this.isMain = e.main ?? !1, this.custom = e.custom ?? !1, this.nestingLevel = 0, this.includeGetJson = e.includeGetJson ?? !0, this.addItemCfg = e.addItem, this.deleteItemCfg = e.deleteItem, this.dataProps = e.dataProps, this.dataPropsPath = e.dataProps || "", this.hide = e.hide ?? !1, Object.assign(this, e.settings), this.initialValues = this.getValues(), this.originalDefaultValues = this.getDefaultValues(), this.propagateNestingLevel(), this.propagateDataPropsPath(), this.propagateComponentPaths(), this.suppressOnChange = !1;
|
|
26655
|
+
}, this.pendingBlurHandler = null, this.originalDefaultValues = {}, this.nestingLevel = 0, this.dataPropsPath = "", this.hide = !1, this.isSettingValue = !1, this.suppressOnChange = !1, this.isRootNode = !1, this.suppressOnChange = !0, this.id = e.id || Un(), this.title = e.title, this.settings = e.settings, this.isCollapsed = e.collapsed ?? !1, this.isMain = e.main ?? !1, this.custom = e.custom ?? !1, this.nestingLevel = 0, this.includeGetJson = e.includeGetJson ?? !0, this.addItemCfg = e.addItem, this.deleteItemCfg = e.deleteItem, this.dataProps = e.dataProps, this.dataPropsPath = e.dataProps || "", this.hide = e.hide ?? !1, Object.assign(this, e.settings), this.initialValues = this.getValues(), this.originalDefaultValues = this.getDefaultValues(), this.propagateNestingLevel(), this.propagateDataPropsPath(), this.propagateComponentPaths(), this.suppressOnChange = !1;
|
|
26656
26656
|
}
|
|
26657
26657
|
propagateNestingLevel() {
|
|
26658
26658
|
const e = this.nestingLevel + 1;
|
|
@@ -27486,7 +27486,10 @@ const si = class si {
|
|
|
27486
27486
|
try {
|
|
27487
27487
|
g.disabled = !0, g.innerHTML = "<span>Importing...</span>";
|
|
27488
27488
|
const N = await Pn.importFromExcel(L);
|
|
27489
|
-
N.rules.length === 0 ? this.showImportError("No valid rules found in the Excel file") : this.showImportPreview(
|
|
27489
|
+
N.rules.length === 0 ? this.showImportError("No valid rules found in the Excel file") : this.showImportPreview(
|
|
27490
|
+
N,
|
|
27491
|
+
m.languages || ["en", "ka", "ru", "tr"]
|
|
27492
|
+
);
|
|
27490
27493
|
} catch (N) {
|
|
27491
27494
|
this.showImportError(
|
|
27492
27495
|
N instanceof Error ? N.message : "Import failed"
|
|
@@ -27544,10 +27547,17 @@ const si = class si {
|
|
|
27544
27547
|
});
|
|
27545
27548
|
const P = m.languages || ["en", "ka", "ru", "tr"];
|
|
27546
27549
|
if (L.length === 0) {
|
|
27547
|
-
Pn.downloadTemplate(
|
|
27550
|
+
Pn.downloadTemplate(
|
|
27551
|
+
P,
|
|
27552
|
+
"rules-template.xlsx"
|
|
27553
|
+
);
|
|
27548
27554
|
return;
|
|
27549
27555
|
}
|
|
27550
|
-
Pn.exportToExcel(
|
|
27556
|
+
Pn.exportToExcel(
|
|
27557
|
+
L,
|
|
27558
|
+
P,
|
|
27559
|
+
"rules-export.xlsx"
|
|
27560
|
+
);
|
|
27551
27561
|
}), x.addEventListener("mouseenter", () => {
|
|
27552
27562
|
x.style.background = "#dbeafe", x.style.borderColor = "#2563eb";
|
|
27553
27563
|
}), x.addEventListener("mouseleave", () => {
|
|
@@ -27599,11 +27609,16 @@ const si = class si {
|
|
|
27599
27609
|
}
|
|
27600
27610
|
};
|
|
27601
27611
|
si.hiddenElements = /* @__PURE__ */ new Set();
|
|
27602
|
-
let
|
|
27603
|
-
|
|
27612
|
+
let nr = si;
|
|
27613
|
+
class D3 extends nr {
|
|
27614
|
+
constructor(e) {
|
|
27615
|
+
super(e), this.isRootNode = !0;
|
|
27616
|
+
}
|
|
27617
|
+
}
|
|
27618
|
+
function R3(t) {
|
|
27604
27619
|
return new g4(t);
|
|
27605
27620
|
}
|
|
27606
|
-
class g4 extends
|
|
27621
|
+
class g4 extends nr {
|
|
27607
27622
|
constructor(e) {
|
|
27608
27623
|
super(e);
|
|
27609
27624
|
const r = Object.keys(this.settings)[0];
|
|
@@ -27664,9 +27679,9 @@ class g4 extends dr {
|
|
|
27664
27679
|
}
|
|
27665
27680
|
}
|
|
27666
27681
|
function x4(t) {
|
|
27667
|
-
return new
|
|
27682
|
+
return new nr(t);
|
|
27668
27683
|
}
|
|
27669
|
-
function
|
|
27684
|
+
function B3(t) {
|
|
27670
27685
|
return t;
|
|
27671
27686
|
}
|
|
27672
27687
|
class v4 extends Ae {
|
|
@@ -27690,17 +27705,17 @@ class v4 extends Ae {
|
|
|
27690
27705
|
}
|
|
27691
27706
|
}
|
|
27692
27707
|
const w4 = "<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' strokeLinecap='round' strokeLinejoin='round'/></svg>";
|
|
27693
|
-
class
|
|
27708
|
+
class hr extends v4 {
|
|
27694
27709
|
constructor(e) {
|
|
27695
27710
|
super({
|
|
27696
27711
|
...e,
|
|
27697
27712
|
icon: e.icon || w4,
|
|
27698
27713
|
title: e.title || "Color",
|
|
27699
|
-
default: e.default ?
|
|
27714
|
+
default: e.default ? hr.normalizeColorValue(e.default) : "#000000"
|
|
27700
27715
|
}), this.inputType = "color", this.element = null, this.colorInputEl = null, this.textInputEl = null, this.detectChange = e.detectChange;
|
|
27701
27716
|
}
|
|
27702
27717
|
static normalizeColorValue(e) {
|
|
27703
|
-
return e.startsWith("var(--") ? e : e.startsWith("#") ?
|
|
27718
|
+
return e.startsWith("var(--") ? e : e.startsWith("#") ? hr.normalizeHexValue(e) : e.includes(",") ? hr.rgbToHexStatic(e) : hr.normalizeHexValue(e);
|
|
27704
27719
|
}
|
|
27705
27720
|
static normalizeHexValue(e) {
|
|
27706
27721
|
return e = e.replace("#", ""), e.length === 3 && (e = e.split("").map((r) => r + r).join("")), e.length !== 6 ? (console.warn(`Invalid hex value "${e}", using default "#000000"`), "#000000") : /^[0-9A-Fa-f]{6}$/.test(e) ? `#${e.toLowerCase()}` : (console.warn(`Invalid hex value "${e}", using default "#000000"`), "#000000");
|
|
@@ -27721,7 +27736,7 @@ class fr extends v4 {
|
|
|
27721
27736
|
return;
|
|
27722
27737
|
}
|
|
27723
27738
|
if (typeof e == "string") {
|
|
27724
|
-
const r =
|
|
27739
|
+
const r = hr.normalizeColorValue(e);
|
|
27725
27740
|
this.value = r, this.colorInputEl && (this.colorInputEl.value = r), this.textInputEl && (this.textInputEl.value = r), this.onChange && this.onChange(r), this.props.detectChange && this.props.detectChange(r);
|
|
27726
27741
|
} else
|
|
27727
27742
|
this.value = "#000000", this.colorInputEl && (this.colorInputEl.value = "#000000"), this.textInputEl && (this.textInputEl.value = "#000000"), this.onChange && this.onChange("#000000"), this.props.detectChange && this.props.detectChange("#000000");
|
|
@@ -27813,7 +27828,7 @@ class fr extends v4 {
|
|
|
27813
27828
|
var v, w;
|
|
27814
27829
|
let g = d.trim();
|
|
27815
27830
|
if (g && !g.startsWith("#") && !g.startsWith("var(") && /^[0-9A-Fa-f]{3}$|^[0-9A-Fa-f]{6}$/.test(g) && (g = "#" + g, this.textInputEl && (this.textInputEl.value = g)), this.textInputEl && c(this.textInputEl)) {
|
|
27816
|
-
const x =
|
|
27831
|
+
const x = hr.normalizeColorValue(g);
|
|
27817
27832
|
this.value = x, (v = this.onChange) == null || v.call(this, x), (w = this.detectChange) == null || w.call(this, x), this.colorInputEl && (this.colorInputEl.value = x), h.style.backgroundColor = x;
|
|
27818
27833
|
}
|
|
27819
27834
|
};
|
|
@@ -27830,11 +27845,11 @@ class fr extends v4 {
|
|
|
27830
27845
|
d.key === "Enter" && (d.preventDefault(), m(((g = this.textInputEl) == null ? void 0 : g.value) || ""), (v = this.textInputEl) == null || v.blur()), d.key === "Escape" && (this.textInputEl && this.value && (this.textInputEl.value = this.value), (w = this.textInputEl) == null || w.blur(), r.classList.remove("error"));
|
|
27831
27846
|
}), this.colorInputEl.addEventListener("input", (d) => {
|
|
27832
27847
|
var w, x;
|
|
27833
|
-
const g = d.target.value, v =
|
|
27848
|
+
const g = d.target.value, v = hr.normalizeColorValue(g);
|
|
27834
27849
|
this.value = v, (w = this.onChange) == null || w.call(this, v), (x = this.detectChange) == null || x.call(this, v), this.textInputEl && (this.textInputEl.value = v), h.style.backgroundColor = v, r.classList.remove("error");
|
|
27835
27850
|
}), this.colorInputEl.addEventListener("change", (d) => {
|
|
27836
27851
|
var w, x;
|
|
27837
|
-
const g = d.target.value, v =
|
|
27852
|
+
const g = d.target.value, v = hr.normalizeColorValue(g);
|
|
27838
27853
|
this.value = v, (w = this.onChange) == null || w.call(this, v), (x = this.detectChange) == null || x.call(this, v), this.textInputEl && (this.textInputEl.value = v), h.style.backgroundColor = v;
|
|
27839
27854
|
}), s.appendChild(f), s.appendChild(h), s.appendChild(p), r.appendChild(a), r.appendChild(s), r.appendChild(o), e.appendChild(r), this.element = e, e;
|
|
27840
27855
|
}
|
|
@@ -27843,7 +27858,7 @@ class fr extends v4 {
|
|
|
27843
27858
|
}
|
|
27844
27859
|
// Helper method to get normalized hex value
|
|
27845
27860
|
getNormalizedValue() {
|
|
27846
|
-
return this.value ?
|
|
27861
|
+
return this.value ? hr.normalizeColorValue(this.value) : "#000000";
|
|
27847
27862
|
}
|
|
27848
27863
|
// Helper method to check if current value is valid hex
|
|
27849
27864
|
isValidHex() {
|
|
@@ -27997,7 +28012,7 @@ class wa extends Ae {
|
|
|
27997
28012
|
};
|
|
27998
28013
|
}
|
|
27999
28014
|
}
|
|
28000
|
-
class
|
|
28015
|
+
class V3 extends Ae {
|
|
28001
28016
|
constructor(e = {}) {
|
|
28002
28017
|
super(e), this.inputType = "text", e.onChange && this.setOnChange(e.onChange);
|
|
28003
28018
|
}
|
|
@@ -28282,7 +28297,7 @@ class _4 extends Ae {
|
|
|
28282
28297
|
}), e.appendChild(a), e;
|
|
28283
28298
|
}
|
|
28284
28299
|
}
|
|
28285
|
-
class
|
|
28300
|
+
class H3 extends Ae {
|
|
28286
28301
|
constructor(e) {
|
|
28287
28302
|
super(e), this.inputType = "button", this.bgWithAlpha = "rgba(145, 158, 171, 0.08)";
|
|
28288
28303
|
}
|
|
@@ -28311,7 +28326,7 @@ class B3 extends Ae {
|
|
|
28311
28326
|
return s.className = "button-setting-wrapper " + (this.props.wrapperClassName || ""), s.appendChild(e), s;
|
|
28312
28327
|
}
|
|
28313
28328
|
}
|
|
28314
|
-
class
|
|
28329
|
+
class U3 extends Ae {
|
|
28315
28330
|
constructor(e = {}) {
|
|
28316
28331
|
super(e), this.inputType = { width: "number", height: "number" }, this.aspectRatio = 1, this.isUpdating = !1;
|
|
28317
28332
|
const r = e.width || 0, a = e.height || 0;
|
|
@@ -28985,7 +29000,7 @@ function n3() {
|
|
|
28985
29000
|
uploadBox: document.createElement("div")
|
|
28986
29001
|
};
|
|
28987
29002
|
}
|
|
28988
|
-
function
|
|
29003
|
+
function lr(t, e) {
|
|
28989
29004
|
const r = e && e.imageUrl && e.imageUrl !== "", a = t.thumbnailEl.parentElement, n = a == null ? void 0 : a.parentElement;
|
|
28990
29005
|
n && (r ? (n.classList.add("has-image"), t.thumbnailEl.src = e.imageUrl) : (n.classList.remove("has-image"), t.thumbnailEl.src = "")), t.configureButtonTextEl.textContent = "Configure Map", t.configureButton && (t.configureButton.disabled = !r);
|
|
28991
29006
|
}
|
|
@@ -29138,7 +29153,7 @@ const h3 = `<svg xmlns="http://www.w3.org/2000/svg" width="8" height="4" viewBox
|
|
|
29138
29153
|
const i = i3(
|
|
29139
29154
|
this.mainDisplayElements.thumbnailEl,
|
|
29140
29155
|
() => {
|
|
29141
|
-
this.value = { imageUrl: "", markers: [] }, this.mainDisplayElements &&
|
|
29156
|
+
this.value = { imageUrl: "", markers: [] }, this.mainDisplayElements && lr(this.mainDisplayElements, this.value), this.triggerChange();
|
|
29142
29157
|
}
|
|
29143
29158
|
), s = this.props.upload || "file-manager", o = s3(
|
|
29144
29159
|
s,
|
|
@@ -29152,7 +29167,7 @@ const h3 = `<svg xmlns="http://www.w3.org/2000/svg" width="8" height="4" viewBox
|
|
|
29152
29167
|
return c.className = "image-map-section-title", c.textContent = "Map Setup", l.appendChild(c), this.mainDisplayElements.configureButton.addEventListener("click", () => {
|
|
29153
29168
|
var f;
|
|
29154
29169
|
(f = this.mainDisplayElements) != null && f.configureButton.disabled || this.openPopover();
|
|
29155
|
-
}), l.appendChild(this.mainDisplayElements.configureButton), r.appendChild(l), e.appendChild(r), this.createPopoverElements(),
|
|
29170
|
+
}), l.appendChild(this.mainDisplayElements.configureButton), r.appendChild(l), e.appendChild(r), this.createPopoverElements(), lr(this.mainDisplayElements, this.value), e;
|
|
29156
29171
|
}
|
|
29157
29172
|
createPopoverElements() {
|
|
29158
29173
|
this.popoverElements = l3(
|
|
@@ -29187,7 +29202,7 @@ const h3 = `<svg xmlns="http://www.w3.org/2000/svg" width="8" height="4" viewBox
|
|
|
29187
29202
|
return;
|
|
29188
29203
|
this.initialValue && (this.value = JSON.parse(
|
|
29189
29204
|
JSON.stringify(this.initialValue)
|
|
29190
|
-
), this.mainDisplayElements &&
|
|
29205
|
+
), this.mainDisplayElements && lr(this.mainDisplayElements, this.value), this.triggerChange());
|
|
29191
29206
|
}
|
|
29192
29207
|
this.isPopoverOpen = !1, this.draggingMarkerId = null, this.clearErrorTooltip(), this.popoverElements && (this.popoverElements.backdrop.style.display = "none", this.popoverElements.popover.style.display = "none"), document.removeEventListener("click", this.onBackgroundClick, !0), document.removeEventListener("keydown", this.handlePopoverKeydown, !0), Cr.openInstance === this && (Cr.openInstance = null);
|
|
29193
29208
|
}
|
|
@@ -29305,7 +29320,7 @@ const h3 = `<svg xmlns="http://www.w3.org/2000/svg" width="8" height="4" viewBox
|
|
|
29305
29320
|
this.value = {
|
|
29306
29321
|
imageUrl: e,
|
|
29307
29322
|
markers: i
|
|
29308
|
-
}, this.previousImageDimensions = n, this.historyManager.initialize(i), this.updateUndoRedoButtons(), this.mainDisplayElements &&
|
|
29323
|
+
}, this.previousImageDimensions = n, this.historyManager.initialize(i), this.updateUndoRedoButtons(), this.mainDisplayElements && lr(this.mainDisplayElements, this.value), this.isPopoverOpen && this.refreshPopoverContent(), this.triggerChange();
|
|
29309
29324
|
}, a.onerror = () => {
|
|
29310
29325
|
Ea.show("Failed to load image from file manager.");
|
|
29311
29326
|
}, a.src = e;
|
|
@@ -29338,7 +29353,7 @@ const h3 = `<svg xmlns="http://www.w3.org/2000/svg" width="8" height="4" viewBox
|
|
|
29338
29353
|
this.value = {
|
|
29339
29354
|
imageUrl: s,
|
|
29340
29355
|
markers: f
|
|
29341
|
-
}, this.previousImageDimensions = c, this.historyManager.initialize(f), this.updateUndoRedoButtons(), this.mainDisplayElements &&
|
|
29356
|
+
}, this.previousImageDimensions = c, this.historyManager.initialize(f), this.updateUndoRedoButtons(), this.mainDisplayElements && lr(this.mainDisplayElements, this.value), this.isPopoverOpen && this.refreshPopoverContent(), this.triggerChange();
|
|
29342
29357
|
}, l.onerror = () => {
|
|
29343
29358
|
Ea.show("Failed to read image file.");
|
|
29344
29359
|
}, l.src = s;
|
|
@@ -29364,7 +29379,7 @@ const h3 = `<svg xmlns="http://www.w3.org/2000/svg" width="8" height="4" viewBox
|
|
|
29364
29379
|
y: n,
|
|
29365
29380
|
prizeName: s
|
|
29366
29381
|
}, l = [...this.value.markers, o];
|
|
29367
|
-
this.setMarkers(l), this.saveState(), this.refreshPopoverContent(), this.mainDisplayElements &&
|
|
29382
|
+
this.setMarkers(l), this.saveState(), this.refreshPopoverContent(), this.mainDisplayElements && lr(this.mainDisplayElements, this.value), this.triggerChange();
|
|
29368
29383
|
}
|
|
29369
29384
|
handleMarkerDrag(e) {
|
|
29370
29385
|
var o;
|
|
@@ -29402,10 +29417,10 @@ const h3 = `<svg xmlns="http://www.w3.org/2000/svg" width="8" height="4" viewBox
|
|
|
29402
29417
|
handleDeleteMarker(e) {
|
|
29403
29418
|
if (!this.value) return;
|
|
29404
29419
|
const r = this.value.markers.filter((a) => a.id !== e);
|
|
29405
|
-
this.setMarkers(r), this.saveState(), this.refreshPopoverContent(), this.mainDisplayElements &&
|
|
29420
|
+
this.setMarkers(r), this.saveState(), this.refreshPopoverContent(), this.mainDisplayElements && lr(this.mainDisplayElements, this.value), this.triggerChange();
|
|
29406
29421
|
}
|
|
29407
29422
|
handleClearAllMarkers() {
|
|
29408
|
-
this.value && (this.setMarkers([]), this.saveState(), this.refreshPopoverContent(), this.mainDisplayElements &&
|
|
29423
|
+
this.value && (this.setMarkers([]), this.saveState(), this.refreshPopoverContent(), this.mainDisplayElements && lr(this.mainDisplayElements, this.value), this.triggerChange());
|
|
29409
29424
|
}
|
|
29410
29425
|
updateCursorTooltipContent() {
|
|
29411
29426
|
if (!this.cursorTooltip || !this.value) return;
|
|
@@ -29424,12 +29439,12 @@ const h3 = `<svg xmlns="http://www.w3.org/2000/svg" width="8" height="4" viewBox
|
|
|
29424
29439
|
undo() {
|
|
29425
29440
|
if (!this.value) return;
|
|
29426
29441
|
const e = this.historyManager.undo();
|
|
29427
|
-
e !== null && (this.isUndoRedoOperation = !0, this.setMarkers(e), this.refreshPopoverContent(), this.mainDisplayElements &&
|
|
29442
|
+
e !== null && (this.isUndoRedoOperation = !0, this.setMarkers(e), this.refreshPopoverContent(), this.mainDisplayElements && lr(this.mainDisplayElements, this.value), this.triggerChange(), this.isUndoRedoOperation = !1, this.updateUndoRedoButtons());
|
|
29428
29443
|
}
|
|
29429
29444
|
redo() {
|
|
29430
29445
|
if (!this.value) return;
|
|
29431
29446
|
const e = this.historyManager.redo();
|
|
29432
|
-
e !== null && (this.isUndoRedoOperation = !0, this.setMarkers(e), this.refreshPopoverContent(), this.mainDisplayElements &&
|
|
29447
|
+
e !== null && (this.isUndoRedoOperation = !0, this.setMarkers(e), this.refreshPopoverContent(), this.mainDisplayElements && lr(this.mainDisplayElements, this.value), this.triggerChange(), this.isUndoRedoOperation = !1, this.updateUndoRedoButtons());
|
|
29433
29448
|
}
|
|
29434
29449
|
updateUndoRedoButtons() {
|
|
29435
29450
|
if (!this.popoverElements) return;
|
|
@@ -29552,7 +29567,7 @@ const m3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewB
|
|
|
29552
29567
|
<polyline points="6 9 12 15 18 9"></polyline>
|
|
29553
29568
|
</svg>
|
|
29554
29569
|
`;
|
|
29555
|
-
class
|
|
29570
|
+
class W3 extends Ae {
|
|
29556
29571
|
constructor(e = {}) {
|
|
29557
29572
|
if (super(e), this.inputType = "select", this._options = [], this.isOpen = !1, this.selectedOptionIndex = null, this.optionsListEl = null, this.svgContainer = null, this.buttonEl = null, this.isLoading = !1, this.container = null, this.hasInitializedOptions = !1, this.selectedOptionIndex = null, e.default !== void 0 && (this.value = e.default), this.initializeOptions(e), !e.getOptionsAsync && this.value !== void 0) {
|
|
29558
29573
|
const r = this._options.findIndex(
|
|
@@ -29703,7 +29718,7 @@ class H3 extends Ae {
|
|
|
29703
29718
|
), this.updateButtonText(), this.updateOptionsList(), this.detectChangeCallback && this.detectChangeCallback !== this.props.detectChange && this.detectChangeCallback(e);
|
|
29704
29719
|
}
|
|
29705
29720
|
}
|
|
29706
|
-
class
|
|
29721
|
+
class $3 extends Ae {
|
|
29707
29722
|
constructor(e) {
|
|
29708
29723
|
var r, a;
|
|
29709
29724
|
super(e), this.inputType = "text", this.value = e.default ?? ((a = (r = e.options) == null ? void 0 : r[0]) == null ? void 0 : a.value) ?? "", this.detectChangeCallback = e.detectChange;
|
|
@@ -29756,7 +29771,7 @@ class U3 extends Ae {
|
|
|
29756
29771
|
const x3 = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
29757
29772
|
<path d="M13.3334 5.99996H2.66675M13.3334 9.99996H2.66675M5.33341 12.6666V3.33329M10.6667 12.6666V3.33329" stroke="#667085" strokeWidth="1.33333" strokeLinecap="round" strokeLinejoin="round"/>
|
|
29758
29773
|
</svg>`;
|
|
29759
|
-
class
|
|
29774
|
+
class G3 extends Ae {
|
|
29760
29775
|
// Store mobile value
|
|
29761
29776
|
constructor(e = {}) {
|
|
29762
29777
|
e.rowGap = e.rowGap ?? !0, e.columnGap = e.columnGap ?? !0, e.title = e.title ?? "Gap", e.icon = e.icon ?? x3, e.suffix = e.suffix ?? "px", e.minValue = e.minValue ?? 0, super(e), this.inputType = "number", this.inputValues = {}, this.mobileValue = e.mobile, this.value = this.validateValue(e.default ?? 0), e.rowGap && (this.inputValues.row = this.value), e.columnGap && (this.inputValues.column = this.value);
|
|
@@ -29813,7 +29828,7 @@ class W3 extends Ae {
|
|
|
29813
29828
|
const v3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
29814
29829
|
<path d="M2.25 11.75H15.75M5.85 2.75H12.15C13.4101 2.75 14.0402 2.75 14.5215 2.99524C14.9448 3.21095 15.289 3.55516 15.5048 3.97852C15.75 4.45982 15.75 5.08988 15.75 6.35V12.65C15.75 13.9101 15.75 14.5402 15.5048 15.0215C15.289 15.4448 14.9448 15.789 14.5215 16.0048C14.0402 16.25 13.4101 16.25 12.15 16.25H5.85C4.58988 16.25 3.95982 16.25 3.47852 16.0048C3.05516 15.789 2.71095 15.4448 2.49524 15.0215C2.25 14.5402 2.25 13.9101 2.25 12.65V6.35C2.25 5.08988 2.25 4.45982 2.49524 3.97852C2.71095 3.55516 3.05516 3.21095 3.47852 2.99524C3.95982 2.75 4.58988 2.75 5.85 2.75Z" stroke="#667085" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
|
|
29815
29830
|
</svg>`;
|
|
29816
|
-
class
|
|
29831
|
+
class z3 extends pr {
|
|
29817
29832
|
constructor(e = {}) {
|
|
29818
29833
|
super({
|
|
29819
29834
|
...e,
|
|
@@ -29830,7 +29845,7 @@ const w3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewB
|
|
|
29830
29845
|
<path d="M15.75 7.25H2.25m9.9 9h-6.3c-1.26 0-1.89 0-2.371-.245a2.25 2.25 0 0 1-.984-.983c-.245-.482-.245-1.112-.245-2.372v-6.3c0-1.26 0-1.89.245-2.371a2.25 2.25 0 0 1 .984-.984c.48-.245 1.11-.245 2.371-.245h6.3c1.26 0 1.89 0 2.371.245.424.216.768.56.984.984.245.48.245 1.11.245 2.371v6.3c0 1.26 0 1.89-.245 2.371-.216.424-.56.768-.984.984-.48.245-1.11.245-2.371.245"
|
|
29831
29846
|
stroke="#667085" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
|
|
29832
29847
|
</svg>`;
|
|
29833
|
-
class
|
|
29848
|
+
class X3 extends pr {
|
|
29834
29849
|
constructor(e = {}) {
|
|
29835
29850
|
super({
|
|
29836
29851
|
...e,
|
|
@@ -29964,6 +29979,25 @@ function _3(t, e = 3) {
|
|
|
29964
29979
|
r && Kr(t, r);
|
|
29965
29980
|
});
|
|
29966
29981
|
}
|
|
29982
|
+
const T3 = (t, e, r) => {
|
|
29983
|
+
let a = !1, n = 0, i = 0, s = 0, o = 0;
|
|
29984
|
+
const l = (h) => {
|
|
29985
|
+
if (h.target.closest("button")) return;
|
|
29986
|
+
a = !0, n = h.clientX, i = h.clientY;
|
|
29987
|
+
const u = e.getBoundingClientRect();
|
|
29988
|
+
s = u.left, o = u.top, document.addEventListener("mousemove", c), document.addEventListener("mouseup", f), document.body.style.userSelect = "none";
|
|
29989
|
+
}, c = (h) => {
|
|
29990
|
+
if (!a) return;
|
|
29991
|
+
const u = h.clientX - n, p = h.clientY - i, m = window.innerWidth, d = window.innerHeight, g = e.offsetWidth, v = e.offsetHeight;
|
|
29992
|
+
let w = s + u, x = o + p;
|
|
29993
|
+
w = Math.max(8, Math.min(m - g - 8, w)), x = Math.max(8, Math.min(d - v - 8, x)), e.style.left = `${w}px`, e.style.top = `${x}px`;
|
|
29994
|
+
}, f = () => {
|
|
29995
|
+
a = !1, document.removeEventListener("mousemove", c), document.removeEventListener("mouseup", f), document.body.style.userSelect = "";
|
|
29996
|
+
};
|
|
29997
|
+
return t.addEventListener("mousedown", l), () => {
|
|
29998
|
+
t.removeEventListener("mousedown", l), document.removeEventListener("mousemove", c), document.removeEventListener("mouseup", f);
|
|
29999
|
+
};
|
|
30000
|
+
};
|
|
29967
30001
|
function Pc(t) {
|
|
29968
30002
|
const e = document.createElement("div");
|
|
29969
30003
|
e.classList.add("simple-multi-language-row");
|
|
@@ -29991,17 +30025,17 @@ function Pc(t) {
|
|
|
29991
30025
|
}
|
|
29992
30026
|
return e;
|
|
29993
30027
|
}
|
|
29994
|
-
function
|
|
30028
|
+
function S3(t) {
|
|
29995
30029
|
const e = document.createElement("div");
|
|
29996
30030
|
e.classList.add("multi-language-popup-overlay");
|
|
29997
30031
|
const r = document.createElement("div");
|
|
29998
30032
|
r.classList.add("multi-language-popup");
|
|
29999
30033
|
const a = document.createElement("div");
|
|
30000
|
-
a.classList.add("multi-language-popup-header");
|
|
30034
|
+
a.classList.add("multi-language-popup-header"), a.style.cursor = "move";
|
|
30001
30035
|
const n = document.createElement("h3");
|
|
30002
30036
|
n.classList.add("multi-language-popup-title"), n.textContent = "All Languages";
|
|
30003
30037
|
const i = document.createElement("button");
|
|
30004
|
-
i.classList.add("multi-language-close-button"), i.innerHTML = C3, i.addEventListener("click", () => t.onClose()), a.appendChild(n), a.appendChild(i), r.appendChild(a);
|
|
30038
|
+
i.classList.add("multi-language-close-button"), i.innerHTML = C3, i.addEventListener("click", () => t.onClose()), T3(a, r), a.appendChild(n), a.appendChild(i), r.appendChild(a);
|
|
30005
30039
|
const s = document.createElement("div");
|
|
30006
30040
|
s.classList.add("multi-language-popup-content"), t.languages.forEach((c) => {
|
|
30007
30041
|
var d;
|
|
@@ -30023,6 +30057,9 @@ function T3(t) {
|
|
|
30023
30057
|
const l = document.createElement("button");
|
|
30024
30058
|
return l.classList.add("multi-language-done-button"), l.textContent = "Done", l.addEventListener("click", () => t.onClose()), o.appendChild(l), r.appendChild(o), e.appendChild(r), e.addEventListener("mousedown", (c) => {
|
|
30025
30059
|
c.target === e && t.onClose();
|
|
30060
|
+
}), requestAnimationFrame(() => {
|
|
30061
|
+
const c = window.innerWidth, f = window.innerHeight, h = r.offsetWidth, u = r.offsetHeight, p = Math.max(8, (c - h) / 2), m = Math.max(8, (f - u) / 2);
|
|
30062
|
+
r.style.left = `${p}px`, r.style.top = `${m}px`;
|
|
30026
30063
|
}), e;
|
|
30027
30064
|
}
|
|
30028
30065
|
class x0 {
|
|
@@ -30428,7 +30465,7 @@ const Zt = class Zt extends Ae {
|
|
|
30428
30465
|
this.updateLanguageValue(r, s), r === this.defaultLanguage && this.updateOtherLanguagePlaceholders(s);
|
|
30429
30466
|
}), this.uploadSettings.set(r, i);
|
|
30430
30467
|
}
|
|
30431
|
-
}), this.popup =
|
|
30468
|
+
}), this.popup = S3({
|
|
30432
30469
|
languages: this.props.languages,
|
|
30433
30470
|
values: this.value || {},
|
|
30434
30471
|
placeholder: this.props.placeholder,
|
|
@@ -30609,7 +30646,7 @@ const Zt = class Zt extends Ae {
|
|
|
30609
30646
|
};
|
|
30610
30647
|
Zt.instances = /* @__PURE__ */ new Map(), Zt.messageListeners = /* @__PURE__ */ new Map();
|
|
30611
30648
|
let Ca = Zt;
|
|
30612
|
-
class
|
|
30649
|
+
class j3 {
|
|
30613
30650
|
constructor(e = {}) {
|
|
30614
30651
|
this.container = null, this.options = e;
|
|
30615
30652
|
}
|
|
@@ -30674,7 +30711,7 @@ class z3 {
|
|
|
30674
30711
|
return Ca.getAllInstances().size;
|
|
30675
30712
|
}
|
|
30676
30713
|
}
|
|
30677
|
-
class
|
|
30714
|
+
class K3 extends Ae {
|
|
30678
30715
|
constructor(e = {}) {
|
|
30679
30716
|
super(e), this.inputType = "select";
|
|
30680
30717
|
const r = [
|
|
@@ -30701,16 +30738,16 @@ class X3 extends Ae {
|
|
|
30701
30738
|
this.selectSetting.destroy(), super.destroy();
|
|
30702
30739
|
}
|
|
30703
30740
|
}
|
|
30704
|
-
const
|
|
30741
|
+
const b3 = `
|
|
30705
30742
|
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
30706
30743
|
<path d="M5.625 9.5H5.6325M12.375 9.5H12.3825M9 9.5H9.0075M9 12.875H9.0075M9 6.125H9.0075M2.25 6.35L2.25 12.65C2.25 13.9101 2.25 14.5402 2.49524 15.0215C2.71095 15.4448 3.05516 15.789 3.47852 16.0048C3.95982 16.25 4.58988 16.25 5.85 16.25H12.15C13.4101 16.25 14.0402 16.25 14.5215 16.0048C14.9448 15.789 15.289 15.4448 15.5048 15.0215C15.75 14.5402 15.75 13.9101 15.75 12.65V6.35C15.75 5.08988 15.75 4.45982 15.5048 3.97852C15.289 3.55516 14.9448 3.21095 14.5215 2.99524C14.0402 2.75 13.4101 2.75 12.15 2.75L5.85 2.75C4.58988 2.75 3.95982 2.75 3.47852 2.99524C3.05516 3.21095 2.71095 3.55516 2.49524 3.97852C2.25 4.45982 2.25 5.08988 2.25 6.35Z" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
|
|
30707
30744
|
</svg>
|
|
30708
|
-
`,
|
|
30745
|
+
`, F3 = `
|
|
30709
30746
|
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
30710
30747
|
<path d="M6 2.75H5.85C4.58988 2.75 3.95982 2.75 3.47852 2.99524C3.05516 3.21095 2.71095 3.55516 2.49524 3.97852C2.25 4.45982 2.25 5.08988 2.25 6.35V6.5M6 16.25H5.85C4.58988 16.25 3.95982 16.25 3.47852 16.0048C3.05516 15.789 2.71095 15.4448 2.49524 15.0215C2.25 14.5402 2.25 13.9101 2.25 12.65V12.5M15.75 6.5V6.35C15.75 5.08988 15.75 4.45982 15.5048 3.97852C15.289 3.55516 14.9448 3.21095 14.5215 2.99524C14.0402 2.75 13.4101 2.75 12.15 2.75H12M15.75 12.5V12.65C15.75 13.9101 15.75 14.5402 15.5048 15.0215C15.289 15.4448 14.9448 15.789 14.5215 16.0048C14.0402 16.25 13.4101 16.25 12.15 16.25H12" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
|
|
30711
30748
|
</svg>
|
|
30712
30749
|
`;
|
|
30713
|
-
class
|
|
30750
|
+
class Y3 extends nr {
|
|
30714
30751
|
constructor(e) {
|
|
30715
30752
|
super({
|
|
30716
30753
|
title: "Border",
|
|
@@ -30718,7 +30755,7 @@ class j3 extends dr {
|
|
|
30718
30755
|
settings: {
|
|
30719
30756
|
size: new pr({
|
|
30720
30757
|
title: "Size",
|
|
30721
|
-
icon:
|
|
30758
|
+
icon: F3,
|
|
30722
30759
|
default: (e == null ? void 0 : e.size) ?? 0,
|
|
30723
30760
|
suffix: "px"
|
|
30724
30761
|
}),
|
|
@@ -30728,7 +30765,7 @@ class j3 extends dr {
|
|
|
30728
30765
|
}),
|
|
30729
30766
|
radius: new pr({
|
|
30730
30767
|
title: "Radius",
|
|
30731
|
-
icon:
|
|
30768
|
+
icon: b3,
|
|
30732
30769
|
default: (e == null ? void 0 : e.radius) ?? 12,
|
|
30733
30770
|
suffix: "px"
|
|
30734
30771
|
})
|
|
@@ -30752,20 +30789,20 @@ class j3 extends dr {
|
|
|
30752
30789
|
`;
|
|
30753
30790
|
}
|
|
30754
30791
|
}
|
|
30755
|
-
const
|
|
30792
|
+
const L3 = `
|
|
30756
30793
|
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="13" viewBox="0 0 14 13" fill="none">
|
|
30757
30794
|
<path d="M1 2.75C1 2.05109 1 1.70163 1.11418 1.42597C1.26642 1.05843 1.55843 0.766422 1.92597 0.614181C2.20163 0.5 2.55109 0.5 3.25 0.5H10.75C11.4489 0.5 11.7984 0.5 12.074 0.614181C12.4416 0.766422 12.7336 1.05843 12.8858 1.42597C13 1.70163 13 2.05109 13 2.75M4.75 12.5H9.25M7 0.5V12.5" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
|
|
30758
30795
|
</svg>
|
|
30759
|
-
`,
|
|
30796
|
+
`, A3 = `
|
|
30760
30797
|
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
30761
30798
|
<path d="M3 5.75C3 5.05109 3 4.70163 3.11418 4.42597C3.26642 4.05843 3.55843 3.76642 3.92597 3.61418C4.20163 3.5 4.55109 3.5 5.25 3.5H12.75C13.4489 3.5 13.7984 3.5 14.074 3.61418C14.4416 3.76642 14.7336 4.05843 14.8858 4.42597C15 4.70163 15 5.05109 15 5.75M6 15.5H12M7.6875 3.5V15.5M10.3125 3.5V15.5" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
|
|
30762
30799
|
</svg>
|
|
30763
|
-
`,
|
|
30800
|
+
`, I3 = `
|
|
30764
30801
|
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
30765
30802
|
<path d="M6 5.75H12M9 5.75V13.25M5.85 16.25H12.15C13.4101 16.25 14.0402 16.25 14.5215 16.0048C14.9448 15.789 15.289 15.4448 15.5048 15.0215C15.75 14.5402 15.75 13.9101 15.75 12.65V6.35C15.75 5.08988 15.75 4.45982 15.5048 3.97852C15.289 3.55516 14.9448 3.21095 14.5215 2.99524C14.0402 2.75 13.4101 2.75 12.15 2.75H5.85C4.58988 2.75 3.95982 2.75 3.47852 2.99524C3.05516 3.21095 2.71095 3.55516 2.49524 3.97852C2.25 4.45982 2.25 5.08988 2.25 6.35V12.65C2.25 13.9101 2.25 14.5402 2.49524 15.0215C2.71095 15.4448 3.05516 15.789 3.47852 16.0048C3.95982 16.25 4.58988 16.25 5.85 16.25Z" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
|
|
30766
30803
|
</svg>
|
|
30767
30804
|
`;
|
|
30768
|
-
class
|
|
30805
|
+
class J3 extends nr {
|
|
30769
30806
|
constructor(e = {}) {
|
|
30770
30807
|
const { showAlign: r = e.showAlign ?? !0, ...a } = e;
|
|
30771
30808
|
super({
|
|
@@ -30779,7 +30816,7 @@ class K3 extends dr {
|
|
|
30779
30816
|
}),
|
|
30780
30817
|
fontFamily: new Zi({
|
|
30781
30818
|
title: "Font",
|
|
30782
|
-
icon:
|
|
30819
|
+
icon: L3,
|
|
30783
30820
|
default: a.fontFamilyDefault ?? "Satoshi",
|
|
30784
30821
|
options: a.fontFamilyOptions ?? [
|
|
30785
30822
|
{ name: "Alt", value: "Croco Sans Black Caps Alt" },
|
|
@@ -30792,7 +30829,7 @@ class K3 extends dr {
|
|
|
30792
30829
|
}),
|
|
30793
30830
|
fontWeight: new Zi({
|
|
30794
30831
|
title: "Weight",
|
|
30795
|
-
icon:
|
|
30832
|
+
icon: A3,
|
|
30796
30833
|
default: a.fontWeightDefault ?? "400",
|
|
30797
30834
|
options: a.fontWeightOptions ?? [
|
|
30798
30835
|
{ name: "Regular", value: "400" },
|
|
@@ -30804,7 +30841,7 @@ class K3 extends dr {
|
|
|
30804
30841
|
}),
|
|
30805
30842
|
fontSize: new pr({
|
|
30806
30843
|
title: "Size",
|
|
30807
|
-
icon:
|
|
30844
|
+
icon: I3,
|
|
30808
30845
|
default: a.fontSizeDefault ?? 12,
|
|
30809
30846
|
suffix: "px",
|
|
30810
30847
|
mobile: a.fontSizeMobileDefault
|
|
@@ -30890,7 +30927,7 @@ class Dn extends Ae {
|
|
|
30890
30927
|
}), a;
|
|
30891
30928
|
}
|
|
30892
30929
|
}
|
|
30893
|
-
class
|
|
30930
|
+
class q3 extends nr {
|
|
30894
30931
|
constructor(e) {
|
|
30895
30932
|
super({
|
|
30896
30933
|
title: "Margins",
|
|
@@ -30898,25 +30935,25 @@ class Y3 extends dr {
|
|
|
30898
30935
|
settings: {
|
|
30899
30936
|
marginTop: new Dn({
|
|
30900
30937
|
title: "Top",
|
|
30901
|
-
icon:
|
|
30938
|
+
icon: N3,
|
|
30902
30939
|
suffix: "px",
|
|
30903
30940
|
default: (e == null ? void 0 : e.marginTop) ?? "auto"
|
|
30904
30941
|
}),
|
|
30905
30942
|
marginRight: new Dn({
|
|
30906
30943
|
title: "Right",
|
|
30907
|
-
icon:
|
|
30944
|
+
icon: M3,
|
|
30908
30945
|
suffix: "px",
|
|
30909
30946
|
default: (e == null ? void 0 : e.marginRight) ?? 0
|
|
30910
30947
|
}),
|
|
30911
30948
|
marginBottom: new Dn({
|
|
30912
30949
|
title: "Bottom",
|
|
30913
|
-
icon:
|
|
30950
|
+
icon: O3,
|
|
30914
30951
|
suffix: "px",
|
|
30915
30952
|
default: (e == null ? void 0 : e.marginBottom) ?? 0
|
|
30916
30953
|
}),
|
|
30917
30954
|
marginLeft: new Dn({
|
|
30918
30955
|
title: "Left",
|
|
30919
|
-
icon:
|
|
30956
|
+
icon: P3,
|
|
30920
30957
|
suffix: "px",
|
|
30921
30958
|
default: (e == null ? void 0 : e.marginLeft) ?? 0
|
|
30922
30959
|
})
|
|
@@ -30933,16 +30970,16 @@ class Y3 extends dr {
|
|
|
30933
30970
|
`;
|
|
30934
30971
|
}
|
|
30935
30972
|
}
|
|
30936
|
-
const
|
|
30973
|
+
const N3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
30937
30974
|
<path d="M2.25 16.25H2.2575M2.25 9.5H2.2575M2.25 12.875H2.2575M2.25 6.125H2.2575M5.625 16.25H5.6325M5.625 9.5H5.6325M12.375 16.25H12.3825M12.375 9.5H12.3825M9 16.25H9.0075M9 9.5H9.0075M9 12.875H9.0075M9 6.125H9.0075M15.75 16.25H15.7575M15.75 9.5H15.7575M15.75 12.875H15.7575M15.75 6.125H15.7575M15.75 2.75H2.25" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
|
|
30938
|
-
</svg>`, N3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
30939
|
-
<path d="M5.625 2.75H5.6325M5.625 9.5H5.6325M5.625 16.25H5.6325M12.375 2.75H12.3825M12.375 9.5H12.3825M12.375 16.25H12.3825M9 2.75H9.0075M9 9.5H9.0075M9 16.25H9.0075M9 12.875H9.0075M9 6.125H9.0075M2.25 2.75H2.2575M2.25 9.5H2.2575M2.25 16.25H2.2575M2.25 12.875H2.2575M2.25 6.125H2.2575M15.75 16.25V2.75" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
|
|
30940
30975
|
</svg>`, M3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
30941
|
-
<path d="
|
|
30976
|
+
<path d="M5.625 2.75H5.6325M5.625 9.5H5.6325M5.625 16.25H5.6325M12.375 2.75H12.3825M12.375 9.5H12.3825M12.375 16.25H12.3825M9 2.75H9.0075M9 9.5H9.0075M9 16.25H9.0075M9 12.875H9.0075M9 6.125H9.0075M2.25 2.75H2.2575M2.25 9.5H2.2575M2.25 16.25H2.2575M2.25 12.875H2.2575M2.25 6.125H2.2575M15.75 16.25V2.75" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
|
|
30942
30977
|
</svg>`, O3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
30978
|
+
<path d="M2.25 2.75H2.2575M2.25 9.5H2.2575M2.25 12.875H2.2575M2.25 6.125H2.2575M5.625 2.75H5.6325M5.625 9.5H5.6325M12.375 2.75H12.3825M12.375 9.5H12.3825M9 2.75H9.0075M9 9.5H9.0075M9 12.875H9.0075M9 6.125H9.0075M15.75 2.75H15.7575M15.75 9.5H15.7575M15.75 12.875H15.7575M15.75 6.125H15.7575M15.75 16.25H2.25" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
|
|
30979
|
+
</svg>`, P3 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
30943
30980
|
<path d="M5.625 2.75H5.6325M5.625 9.5H5.6325M5.625 16.25H5.6325M12.375 2.75H12.3825M12.375 9.5H12.3825M12.375 16.25H12.3825M9 2.75H9.0075M9 9.5H9.0075M9 16.25H9.0075M9 12.875H9.0075M9 6.125H9.0075M15.75 2.75H15.7575M15.75 9.5H15.7575M15.75 16.25H15.7575M15.75 12.875H15.7575M15.75 6.125H15.7575M2.25 16.25V2.75" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
|
|
30944
30981
|
</svg>`;
|
|
30945
|
-
class
|
|
30982
|
+
class Z3 extends nr {
|
|
30946
30983
|
constructor(e) {
|
|
30947
30984
|
super({
|
|
30948
30985
|
title: "Background Image",
|
|
@@ -30981,7 +31018,7 @@ class J3 extends dr {
|
|
|
30981
31018
|
`;
|
|
30982
31019
|
}
|
|
30983
31020
|
}
|
|
30984
|
-
class
|
|
31021
|
+
class Q3 extends nr {
|
|
30985
31022
|
constructor(e) {
|
|
30986
31023
|
super({
|
|
30987
31024
|
title: (e == null ? void 0 : e.title) ?? "Image",
|
|
@@ -31005,42 +31042,43 @@ class q3 extends dr {
|
|
|
31005
31042
|
}
|
|
31006
31043
|
export {
|
|
31007
31044
|
_4 as AlignSetting,
|
|
31008
|
-
|
|
31009
|
-
|
|
31010
|
-
|
|
31011
|
-
|
|
31012
|
-
|
|
31045
|
+
K3 as AnimationSetting,
|
|
31046
|
+
Z3 as BackgroundSettingSet,
|
|
31047
|
+
Y3 as BorderSettingSet,
|
|
31048
|
+
H3 as ButtonSetting,
|
|
31049
|
+
hr as ColorSetting,
|
|
31013
31050
|
wa as ColorWithOpacitySetting,
|
|
31014
|
-
|
|
31051
|
+
U3 as DimensionSetting,
|
|
31015
31052
|
Pn as ExcelRulesService,
|
|
31016
31053
|
x0 as ExcelTranslationService,
|
|
31017
|
-
|
|
31054
|
+
G3 as GapSetting,
|
|
31018
31055
|
Fa as GradientSetting,
|
|
31019
|
-
|
|
31056
|
+
J3 as HeaderTypographySettingSet,
|
|
31020
31057
|
u3 as HeightSetting,
|
|
31021
|
-
|
|
31058
|
+
V3 as HtmlSetting,
|
|
31022
31059
|
m0 as ImageMapSetting,
|
|
31023
|
-
|
|
31024
|
-
|
|
31025
|
-
|
|
31026
|
-
|
|
31060
|
+
Q3 as ImageSettingSet,
|
|
31061
|
+
z3 as MarginBottomSetting,
|
|
31062
|
+
q3 as MarginSettingGroup,
|
|
31063
|
+
X3 as MarginTopSetting,
|
|
31027
31064
|
Ca as MultiLanguageSetting,
|
|
31028
31065
|
pr as NumberSetting,
|
|
31029
31066
|
y4 as OpacitySetting,
|
|
31030
|
-
|
|
31067
|
+
D3 as RootSettingGroup,
|
|
31068
|
+
W3 as SelectApiSettings,
|
|
31031
31069
|
Zi as SelectSetting,
|
|
31032
31070
|
Ae as Setting,
|
|
31033
|
-
|
|
31071
|
+
nr as SettingGroup,
|
|
31034
31072
|
v4 as StringSetting,
|
|
31035
31073
|
g4 as TabSettingGroup,
|
|
31036
31074
|
g4 as TabsSettingGroup,
|
|
31037
|
-
|
|
31038
|
-
|
|
31075
|
+
$3 as Toggle,
|
|
31076
|
+
j3 as TranslationManager,
|
|
31039
31077
|
ai as UploadSetting,
|
|
31040
31078
|
p3 as WidthSetting,
|
|
31041
|
-
|
|
31079
|
+
B3 as asSettingGroupWithSettings,
|
|
31042
31080
|
x4 as createSettingGroup,
|
|
31043
|
-
|
|
31081
|
+
R3 as createTabSettingGroup,
|
|
31044
31082
|
Er as isSetting,
|
|
31045
31083
|
vi as isSettingChild,
|
|
31046
31084
|
$e as isSettingGroup,
|