@emailmaker/emailmaker 1.1.49 → 1.1.53
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/{emailmaker-core.686599cb.js → emailmaker-core.2cbaea2b.js} +6 -6
- package/emailmaker-esm.js +3 -3
- package/emailmaker.js +3 -3
- package/iframe/js/amp.V09Q6hy6.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.B-wCbIo7.js +1 -1
- package/npm-publish.manifest.json +7 -7
- package/package.json +1 -1
- package/runtime/THIRD_PARTY_LICENSES.txt +1 -1
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/342d650a.js +467 -0
- package/static/core/{28d0ee07.js → 3bff559e.js} +321 -321
- package/static/core/{1724d302.js → 4a0c3723.js} +179 -173
- package/static/core/{2638406e.js → 4a151a86.js} +41 -41
- package/static/core/{c78634e5.js → 4f1afec5.js} +616 -611
- package/static/core/{7b48c5bf.js → 57d41489.js} +524 -510
- package/static/core/{b61ea992.js → 61a44678.js} +4028 -3892
- package/static/core/{cf9b492f.js → 704587a1.js} +34 -34
- package/static/core/{f5401fe7.js → 75e0e02f.js} +31 -31
- package/static/core/{e19a9688.js → 7e999d72.js} +514 -494
- package/static/core/{c9f81757.js → 7f43dc55.js} +7 -7
- package/static/core/{dde3447a.js → 83b6ffb1.js} +12970 -12926
- package/static/core/{bfec1c65.js → 956da3cd.js} +5156 -5116
- package/static/core/{23692b142.js → 9e7e9aa52.js} +10 -10
- package/static/core/{5cd9928a.js → abb0338c.js} +107 -107
- package/static/core/{35b2febf.js → b3475019.js} +3 -3
- package/static/core/{5a79f04d.js → cc1487fb.js} +3 -3
- package/static/core/{67b72215.js → d745f656.js} +1267 -1265
- package/two_step_headless_plugin.html +1 -1
- package/ui-kit/index.js +49 -47
- package/static/core/2c90e83d.js +0 -467
- /package/iframe/{iframe-eblock.686599cb.html → iframe-eblock.2cbaea2b.html} +0 -0
- /package/iframe/{iframe.686599cb.html → iframe.2cbaea2b.html} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
__emailmaker__.define("static/core/
|
|
1
|
+
__emailmaker__.define("static/core/704587a1.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/16c2710d.js",
|
|
6
|
-
"static/core/
|
|
6
|
+
"static/core/956da3cd.js"
|
|
7
7
|
], function(tt, te, ge) {
|
|
8
8
|
tt("./16c2710d.js");
|
|
9
|
-
const ee = tt("./
|
|
9
|
+
const ee = tt("./956da3cd.js");
|
|
10
10
|
var et, nt, H = {};
|
|
11
11
|
function ne() {
|
|
12
12
|
return nt ? et : (nt = 1, et = function() {
|
|
13
13
|
return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
var rt,
|
|
16
|
+
var rt, q = {}, z = {};
|
|
17
17
|
function F() {
|
|
18
18
|
if (rt) return z;
|
|
19
19
|
let a;
|
|
@@ -81,7 +81,7 @@ __emailmaker__.define("static/core/cf9b492f.js", [
|
|
|
81
81
|
}, z;
|
|
82
82
|
}
|
|
83
83
|
var ot, it, at, st, ut, ct = {};
|
|
84
|
-
function
|
|
84
|
+
function O() {
|
|
85
85
|
return ot || (ot = 1, (a = ct).L = { bit: 1 }, a.M = { bit: 0 }, a.Q = { bit: 3 }, a.H = { bit: 2 }, a.isValid = function(u) {
|
|
86
86
|
return u && u.bit !== void 0 && u.bit >= 0 && u.bit < 4;
|
|
87
87
|
}, a.from = function(u, n) {
|
|
@@ -111,7 +111,7 @@ __emailmaker__.define("static/core/cf9b492f.js", [
|
|
|
111
111
|
function wt() {
|
|
112
112
|
if (pt) return j;
|
|
113
113
|
pt = 1;
|
|
114
|
-
const a =
|
|
114
|
+
const a = O(), u = [
|
|
115
115
|
1,
|
|
116
116
|
1,
|
|
117
117
|
1,
|
|
@@ -452,25 +452,25 @@ __emailmaker__.define("static/core/cf9b492f.js", [
|
|
|
452
452
|
}
|
|
453
453
|
}, j;
|
|
454
454
|
}
|
|
455
|
-
var mt, vt, Et, yt, At = {},
|
|
455
|
+
var mt, vt, Et, yt, At = {}, K = {};
|
|
456
456
|
function re() {
|
|
457
457
|
return vt || (vt = 1, (function(a) {
|
|
458
458
|
const u = (function() {
|
|
459
|
-
if (mt) return
|
|
459
|
+
if (mt) return K;
|
|
460
460
|
mt = 1;
|
|
461
461
|
const n = new Uint8Array(512), t = new Uint8Array(256);
|
|
462
462
|
return (function() {
|
|
463
463
|
let r = 1;
|
|
464
464
|
for (let s = 0; s < 255; s++) n[s] = r, t[r] = s, r <<= 1, 256 & r && (r ^= 285);
|
|
465
465
|
for (let s = 255; s < 512; s++) n[s] = n[s - 255];
|
|
466
|
-
})(),
|
|
466
|
+
})(), K.log = function(r) {
|
|
467
467
|
if (r < 1) throw new Error("log(" + r + ")");
|
|
468
468
|
return t[r];
|
|
469
|
-
},
|
|
469
|
+
}, K.exp = function(r) {
|
|
470
470
|
return n[r];
|
|
471
|
-
},
|
|
471
|
+
}, K.mul = function(r, s) {
|
|
472
472
|
return r === 0 || s === 0 ? 0 : n[t[r] + t[s]];
|
|
473
|
-
},
|
|
473
|
+
}, K;
|
|
474
474
|
})();
|
|
475
475
|
a.mul = function(n, t) {
|
|
476
476
|
const r = new Uint8Array(n.length + t.length - 1);
|
|
@@ -585,7 +585,7 @@ __emailmaker__.define("static/core/cf9b492f.js", [
|
|
|
585
585
|
}
|
|
586
586
|
function oe() {
|
|
587
587
|
return bt || (bt = 1, (function(a) {
|
|
588
|
-
const u = F(), n = wt(), t =
|
|
588
|
+
const u = F(), n = wt(), t = O(), r = D(), s = Tt(), l = u.getBCHDigit(7973);
|
|
589
589
|
function B(d, b) {
|
|
590
590
|
return r.getCharCountIndicator(d, b) + 4;
|
|
591
591
|
}
|
|
@@ -632,9 +632,9 @@ __emailmaker__.define("static/core/cf9b492f.js", [
|
|
|
632
632
|
};
|
|
633
633
|
})(Bt)), Bt;
|
|
634
634
|
}
|
|
635
|
-
var Lt, $ = {}, xt, Ut, St, _t, kt, zt, Ft, Dt, Ht = {}, Jt, Kt,
|
|
635
|
+
var Lt, $ = {}, xt, Ut, St, _t, kt, zt, Ft, Dt, Ht = {}, Yt, Jt, Kt, jt = { exports: {} };
|
|
636
636
|
function ie() {
|
|
637
|
-
return
|
|
637
|
+
return Yt || (Yt = 1, (function(a) {
|
|
638
638
|
var u = {
|
|
639
639
|
single_source_shortest_paths: function(n, t, r) {
|
|
640
640
|
var s = {}, l = {};
|
|
@@ -689,7 +689,7 @@ __emailmaker__.define("static/core/cf9b492f.js", [
|
|
|
689
689
|
})(jt)), jt.exports;
|
|
690
690
|
}
|
|
691
691
|
function ae() {
|
|
692
|
-
return
|
|
692
|
+
return Jt || (Jt = 1, (function(a) {
|
|
693
693
|
const u = D(), n = (function() {
|
|
694
694
|
if (Ut) return xt;
|
|
695
695
|
Ut = 1;
|
|
@@ -950,9 +950,9 @@ Make sure your charset is UTF-8`);
|
|
|
950
950
|
})(Ht)), Ht;
|
|
951
951
|
}
|
|
952
952
|
function se() {
|
|
953
|
-
if (
|
|
954
|
-
|
|
955
|
-
const a = F(), u =
|
|
953
|
+
if (Kt) return q;
|
|
954
|
+
Kt = 1;
|
|
955
|
+
const a = F(), u = O(), n = (function() {
|
|
956
956
|
if (at) return it;
|
|
957
957
|
function e() {
|
|
958
958
|
this.buffer = [], this.length = 0;
|
|
@@ -1136,17 +1136,17 @@ Make sure your charset is UTF-8`);
|
|
|
1136
1136
|
for (let i = 0; i < h; i++) f.put(i % 2 ? 17 : 236, 8);
|
|
1137
1137
|
return (function(i, v, m) {
|
|
1138
1138
|
const g = a.getSymbolTotalCodewords(v), C = g - B.getTotalCodewordsCount(v, m), E = B.getBlocksCount(v, m), I = E - g % E, L = Math.floor(g / E), x = Math.floor(C / E), T = x + 1, N = L - x, U = new P(N);
|
|
1139
|
-
let
|
|
1140
|
-
const
|
|
1139
|
+
let Y = 0;
|
|
1140
|
+
const V = new Array(E), Wt = new Array(E);
|
|
1141
1141
|
let X = 0;
|
|
1142
1142
|
const he = new Uint8Array(i.buffer);
|
|
1143
|
-
for (let
|
|
1144
|
-
const G =
|
|
1145
|
-
|
|
1143
|
+
for (let J = 0; J < E; J++) {
|
|
1144
|
+
const G = J < I ? x : T;
|
|
1145
|
+
V[J] = he.slice(Y, Y + G), Wt[J] = U.encode(V[J]), Y += G, X = Math.max(X, G);
|
|
1146
1146
|
}
|
|
1147
1147
|
const W = new Uint8Array(g);
|
|
1148
1148
|
let _, k, Gt = 0;
|
|
1149
|
-
for (_ = 0; _ < X; _++) for (k = 0; k < E; k++) _ <
|
|
1149
|
+
for (_ = 0; _ < X; _++) for (k = 0; k < E; k++) _ < V[k].length && (W[Gt++] = V[k][_]);
|
|
1150
1150
|
for (_ = 0; _ < N; _++) for (k = 0; k < E; k++) W[Gt++] = Wt[k][_];
|
|
1151
1151
|
return W;
|
|
1152
1152
|
})(f, e, o);
|
|
@@ -1201,8 +1201,8 @@ Minimum version required to store current data is: ` + h + `.
|
|
|
1201
1201
|
let I = -1, L = E - 1, x = 7, T = 0;
|
|
1202
1202
|
for (let N = E - 1; N > 0; N -= 2) for (N === 6 && N--;;) {
|
|
1203
1203
|
for (let U = 0; U < 2; U++) if (!g.isReserved(L, N - U)) {
|
|
1204
|
-
let
|
|
1205
|
-
T < C.length && (
|
|
1204
|
+
let Y = !1;
|
|
1205
|
+
T < C.length && (Y = (C[T] >>> x & 1) == 1), g.set(L, N - U, Y), x--, x === -1 && (T++, x = 7);
|
|
1206
1206
|
}
|
|
1207
1207
|
if (L += I, L < 0 || E <= L) {
|
|
1208
1208
|
L -= I, I = -I;
|
|
@@ -1217,15 +1217,15 @@ Minimum version required to store current data is: ` + h + `.
|
|
|
1217
1217
|
segments: w
|
|
1218
1218
|
};
|
|
1219
1219
|
}
|
|
1220
|
-
return
|
|
1220
|
+
return q.create = function(e, o) {
|
|
1221
1221
|
if (e === void 0 || e === "") throw new Error("No input text");
|
|
1222
1222
|
let c, f, w = u.M;
|
|
1223
1223
|
return o !== void 0 && (w = u.from(o.errorCorrectionLevel, u.M), c = d.from(o.version), f = l.from(o.maskPattern), o.toSJISFunc && a.setToSJISFunction(o.toSJISFunc)), y(e, c, w, f);
|
|
1224
|
-
},
|
|
1224
|
+
}, q;
|
|
1225
1225
|
}
|
|
1226
|
-
var
|
|
1226
|
+
var Vt, qt, Ot = {}, Qt = {};
|
|
1227
1227
|
function $t() {
|
|
1228
|
-
return
|
|
1228
|
+
return Vt || (Vt = 1, (function(a) {
|
|
1229
1229
|
function u(n) {
|
|
1230
1230
|
if (typeof n == "number" && (n = n.toString()), typeof n != "string") throw new Error("Color should be defined as hex string");
|
|
1231
1231
|
let t = n.slice().replace("#", "").split("");
|
|
@@ -1271,7 +1271,7 @@ Minimum version required to store current data is: ` + h + `.
|
|
|
1271
1271
|
})(Qt)), Qt;
|
|
1272
1272
|
}
|
|
1273
1273
|
function ue() {
|
|
1274
|
-
return
|
|
1274
|
+
return qt || (qt = 1, (function(a) {
|
|
1275
1275
|
const u = $t();
|
|
1276
1276
|
a.render = function(n, t, r) {
|
|
1277
1277
|
let s = r, l = t;
|
|
@@ -1292,7 +1292,7 @@ Minimum version required to store current data is: ` + h + `.
|
|
|
1292
1292
|
const l = a.render(n, t, s), B = s.type || "image/png", P = s.rendererOpts || {};
|
|
1293
1293
|
return l.toDataURL(B, P.quality);
|
|
1294
1294
|
};
|
|
1295
|
-
})(
|
|
1295
|
+
})(Ot)), Ot;
|
|
1296
1296
|
}
|
|
1297
1297
|
var Zt, Xt, Z = {};
|
|
1298
1298
|
function ce() {
|
|
@@ -1320,7 +1320,7 @@ Minimum version required to store current data is: ` + h + `.
|
|
|
1320
1320
|
return typeof s == "function" && s(null, R), R;
|
|
1321
1321
|
}, Z;
|
|
1322
1322
|
}
|
|
1323
|
-
var fe = ee
|
|
1323
|
+
var fe = ee.$o((function() {
|
|
1324
1324
|
if (Xt) return H;
|
|
1325
1325
|
Xt = 1;
|
|
1326
1326
|
const a = ne(), u = se(), n = ue(), t = ce();
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
__emailmaker__.define("static/core/
|
|
1
|
+
__emailmaker__.define("static/core/75e0e02f.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/16c2710d.js",
|
|
6
|
-
"static/core/
|
|
6
|
+
"static/core/956da3cd.js",
|
|
7
7
|
"react",
|
|
8
|
+
"react-dom",
|
|
8
9
|
"react/jsx-runtime",
|
|
9
10
|
"antd",
|
|
10
11
|
"react-dom/client",
|
|
11
12
|
"@ant-design/icons",
|
|
12
|
-
"@ant-design/cssinjs"
|
|
13
|
-
"react-dom"
|
|
13
|
+
"@ant-design/cssinjs"
|
|
14
14
|
], function(c, J, se) {
|
|
15
|
-
const U = c("./16c2710d.js"),
|
|
15
|
+
const U = c("./16c2710d.js"), _ = c("./956da3cd.js");
|
|
16
16
|
let n = c("react");
|
|
17
17
|
n = U.__toESM(n, 1);
|
|
18
|
+
c("react-dom");
|
|
18
19
|
let t = c("react/jsx-runtime"), d = c("antd");
|
|
19
20
|
c("react-dom/client");
|
|
20
21
|
c("@ant-design/icons");
|
|
21
22
|
c("@ant-design/cssinjs");
|
|
22
|
-
|
|
23
|
-
var _ = ({ size: j = 24, color: N = "currentColor", ...l }) => n.createElement("svg", {
|
|
23
|
+
var N = ({ size: j = 24, color: S = "currentColor", ...l }) => n.createElement("svg", {
|
|
24
24
|
viewBox: "0 0 24 24",
|
|
25
25
|
width: j,
|
|
26
26
|
height: j,
|
|
27
|
-
stroke:
|
|
27
|
+
stroke: S,
|
|
28
28
|
strokeWidth: "2",
|
|
29
29
|
fill: "none",
|
|
30
30
|
strokeLinecap: "round",
|
|
@@ -32,7 +32,7 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
32
32
|
"aria-hidden": "true",
|
|
33
33
|
...l
|
|
34
34
|
}, n.createElement("path", { d: "m14 10 7-7m0 0h-6m6 0v6m-11 5-7 7m0 0h6m-6 0v-6" }));
|
|
35
|
-
|
|
35
|
+
N.displayName = "Expand01";
|
|
36
36
|
var r = {
|
|
37
37
|
root: "root",
|
|
38
38
|
controls: "controls",
|
|
@@ -56,14 +56,14 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
56
56
|
previewCanvas: "previewCanvas",
|
|
57
57
|
previewCanvasBarcode: "previewCanvasBarcode",
|
|
58
58
|
actions: "actions"
|
|
59
|
-
}, q = ({ customRequest: j, state:
|
|
59
|
+
}, q = ({ customRequest: j, state: S, setState: l }) => {
|
|
60
60
|
var P, z;
|
|
61
|
-
const { t: o } =
|
|
61
|
+
const { t: o } = _.sr(), { options: I } = _.hn(), A = (z = (P = I?.config) === null || P === void 0 ? void 0 : P.iconStrokeWidth) !== null && z !== void 0 ? z : 1.75, F = (0, n.useRef)(null), { mode: h, rawText: g, foregroundHex: x, backgroundHex: f, transparentBackground: p, qrSidePx: C, barcodeBarHeightPx: k } = S, Y = (0, n.useCallback)((e) => l((a) => Object.assign(Object.assign({}, a), { mode: e })), [l]), K = (0, n.useCallback)((e) => l((a) => Object.assign(Object.assign({}, a), { rawText: e })), [l]), X = (0, n.useCallback)((e) => l((a) => Object.assign(Object.assign({}, a), { foregroundHex: e })), [l]), Z = (0, n.useCallback)((e) => l((a) => Object.assign(Object.assign({}, a), { backgroundHex: e })), [l]), ee = (0, n.useCallback)((e) => l((a) => Object.assign(Object.assign({}, a), { transparentBackground: e })), [l]), ae = (0, n.useCallback)((e) => l((a) => Object.assign(Object.assign({}, a), { qrSidePx: e })), [l]), te = (0, n.useCallback)((e) => l((a) => Object.assign(Object.assign({}, a), { barcodeBarHeightPx: e })), [l]), [E, re] = (0, n.useState)(g), [T, v] = (0, n.useState)(null), [L, G] = (0, n.useState)(!1), y = (0, n.useMemo)(() => _._n.debounce((e) => re(e), 300), []);
|
|
62
62
|
(0, n.useEffect)(() => (y(g), () => {
|
|
63
63
|
y.cancel();
|
|
64
64
|
}), [g, y]);
|
|
65
|
-
const M = p ? "#00000000" : f,
|
|
66
|
-
const i = (await Promise.resolve().then(() => c("./
|
|
65
|
+
const M = p ? "#00000000" : f, D = (0, n.useCallback)(async (e, a) => {
|
|
66
|
+
const i = (await Promise.resolve().then(() => c("./704587a1.js")).then(function(s) {
|
|
67
67
|
return s.b;
|
|
68
68
|
})).default, u = a.trim(), m = Math.min(280, Math.max(80, C));
|
|
69
69
|
if (!u) {
|
|
@@ -84,10 +84,10 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
84
84
|
x,
|
|
85
85
|
M,
|
|
86
86
|
C
|
|
87
|
-
]),
|
|
88
|
-
const i = (await Promise.resolve().then(() => c("./
|
|
87
|
+
]), Q = (0, n.useCallback)(async (e, a) => {
|
|
88
|
+
const i = (await Promise.resolve().then(() => c("./4a151a86.js")).then(function(b) {
|
|
89
89
|
return b.J;
|
|
90
|
-
})).default, u = a.trim(), m = p ? "rgba(0,0,0,0)" : f, s = Math.min(72, Math.max(24, k)), R = Math.max(1, Math.round(s / 42)),
|
|
90
|
+
})).default, u = a.trim(), m = p ? "rgba(0,0,0,0)" : f, s = Math.min(72, Math.max(24, k)), R = Math.max(1, Math.round(s / 42)), O = Math.max(4, Math.round(.07 * s)), W = Math.max(10, Math.round(.15 * s));
|
|
91
91
|
if (!u) {
|
|
92
92
|
e.width = Math.round(4 * s), e.height = Math.round(1.65 * s);
|
|
93
93
|
const b = e.getContext("2d");
|
|
@@ -99,7 +99,7 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
99
99
|
displayValue: !0,
|
|
100
100
|
background: m,
|
|
101
101
|
lineColor: x,
|
|
102
|
-
margin:
|
|
102
|
+
margin: O,
|
|
103
103
|
width: R,
|
|
104
104
|
height: s,
|
|
105
105
|
fontSize: W
|
|
@@ -116,7 +116,7 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
116
116
|
let a = !1;
|
|
117
117
|
return (async () => {
|
|
118
118
|
try {
|
|
119
|
-
h === "qr" ? await
|
|
119
|
+
h === "qr" ? await D(e, E) : await Q(e, E), a || v(null);
|
|
120
120
|
} catch (i) {
|
|
121
121
|
const u = i instanceof Error ? i.message : String(i);
|
|
122
122
|
if (!a) {
|
|
@@ -131,8 +131,8 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
131
131
|
}, [
|
|
132
132
|
h,
|
|
133
133
|
E,
|
|
134
|
-
D,
|
|
135
134
|
Q,
|
|
135
|
+
D,
|
|
136
136
|
o
|
|
137
137
|
]);
|
|
138
138
|
const V = (0, n.useCallback)(async () => {
|
|
@@ -142,7 +142,7 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
142
142
|
const a = typeof window > "u" ? 2 : Math.min(3, Math.max(2, window.devicePixelRatio || 2));
|
|
143
143
|
if (h === "qr") {
|
|
144
144
|
const w = Math.round(Math.min(600, Math.max(80, C)) * a), B = document.createElement("canvas");
|
|
145
|
-
B.width = w, B.height = w, await (await Promise.resolve().then(() => c("./
|
|
145
|
+
B.width = w, B.height = w, await (await Promise.resolve().then(() => c("./704587a1.js")).then(function(H) {
|
|
146
146
|
return H.b;
|
|
147
147
|
})).default.toCanvas(B, e, {
|
|
148
148
|
width: w,
|
|
@@ -156,16 +156,16 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
156
156
|
if (!$) throw new Error("PNG export failed");
|
|
157
157
|
return $;
|
|
158
158
|
}
|
|
159
|
-
const i = (await Promise.resolve().then(() => c("./
|
|
159
|
+
const i = (await Promise.resolve().then(() => c("./4a151a86.js")).then(function(w) {
|
|
160
160
|
return w.J;
|
|
161
|
-
})).default, u = document.createElement("canvas"), m = p ? "rgba(0,0,0,0)" : f, s = Math.min(130, Math.max(24, k)), R = Math.max(6, Math.round(.1 * s)),
|
|
161
|
+
})).default, u = document.createElement("canvas"), m = p ? "rgba(0,0,0,0)" : f, s = Math.min(130, Math.max(24, k)), R = Math.max(6, Math.round(.1 * s)), O = Math.max(2, Math.round(s / 36)), W = Math.max(12, Math.round(.16 * s));
|
|
162
162
|
i(u, e, {
|
|
163
163
|
format: "CODE128",
|
|
164
164
|
displayValue: !0,
|
|
165
165
|
background: m,
|
|
166
166
|
lineColor: x,
|
|
167
167
|
margin: Math.round(R * a),
|
|
168
|
-
width: Math.round(
|
|
168
|
+
width: Math.round(O * a),
|
|
169
169
|
height: Math.round(s * a),
|
|
170
170
|
fontSize: Math.round(W * a)
|
|
171
171
|
});
|
|
@@ -184,7 +184,7 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
184
184
|
y,
|
|
185
185
|
o
|
|
186
186
|
]), ne = (0, n.useCallback)(async () => {
|
|
187
|
-
if (!
|
|
187
|
+
if (!L && g.trim()) {
|
|
188
188
|
G(!0);
|
|
189
189
|
try {
|
|
190
190
|
let e;
|
|
@@ -209,7 +209,7 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
209
209
|
V,
|
|
210
210
|
h,
|
|
211
211
|
g,
|
|
212
|
-
|
|
212
|
+
L
|
|
213
213
|
]), oe = !!g.trim() && !T;
|
|
214
214
|
return (0, t.jsx)("div", {
|
|
215
215
|
className: r.root,
|
|
@@ -221,7 +221,7 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
221
221
|
className: r.segmentedControl,
|
|
222
222
|
value: h,
|
|
223
223
|
onChange: (e) => {
|
|
224
|
-
|
|
224
|
+
Y(e), v(null);
|
|
225
225
|
},
|
|
226
226
|
options: [{
|
|
227
227
|
label: o("QR code"),
|
|
@@ -242,7 +242,7 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
242
242
|
(0, t.jsx)(d.Input.TextArea, {
|
|
243
243
|
value: g,
|
|
244
244
|
onChange: (e) => {
|
|
245
|
-
|
|
245
|
+
K(e.target.value), v(null);
|
|
246
246
|
},
|
|
247
247
|
placeholder: o("Text or URL"),
|
|
248
248
|
rows: 3,
|
|
@@ -262,7 +262,7 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
262
262
|
step: 8,
|
|
263
263
|
value: C,
|
|
264
264
|
onChange: (e) => ae(typeof e != "number" || Number.isNaN(e) ? 200 : e),
|
|
265
|
-
prefix: (0, t.jsx)(
|
|
265
|
+
prefix: (0, t.jsx)(N, {
|
|
266
266
|
size: 18,
|
|
267
267
|
strokeWidth: A
|
|
268
268
|
}),
|
|
@@ -278,7 +278,7 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
278
278
|
step: 4,
|
|
279
279
|
value: k,
|
|
280
280
|
onChange: (e) => te(typeof e != "number" || Number.isNaN(e) ? 60 : e),
|
|
281
|
-
prefix: (0, t.jsx)(
|
|
281
|
+
prefix: (0, t.jsx)(N, {
|
|
282
282
|
size: 18,
|
|
283
283
|
strokeWidth: A
|
|
284
284
|
}),
|
|
@@ -306,7 +306,7 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
306
306
|
showText: !0,
|
|
307
307
|
onChange: (e, a) => {
|
|
308
308
|
const i = typeof e == "string" ? e : e?.toHexString ? e.toHexString() : a;
|
|
309
|
-
|
|
309
|
+
X(i);
|
|
310
310
|
}
|
|
311
311
|
})]
|
|
312
312
|
}),
|
|
@@ -365,7 +365,7 @@ __emailmaker__.define("static/core/f5401fe7.js", [
|
|
|
365
365
|
onClick: () => {
|
|
366
366
|
ne();
|
|
367
367
|
},
|
|
368
|
-
loading:
|
|
368
|
+
loading: L,
|
|
369
369
|
disabled: !oe,
|
|
370
370
|
children: o("Add to My files")
|
|
371
371
|
})
|