@snowcone-app/canvas 0.21.1 → 0.21.3
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/STYLING_CONTRACT.md +14 -0
- package/dist/{CanvasRenderer-CwiYq8qg.js → CanvasRenderer-6_HhR4-q.js} +170 -188
- package/dist/CanvasRenderer-6_HhR4-q.js.map +1 -0
- package/dist/{CanvasStateV1-BFabcAKC.js → CanvasStateV1-DmZ1Qvvn.js} +38 -38
- package/dist/{CanvasStateV1-BFabcAKC.js.map → CanvasStateV1-DmZ1Qvvn.js.map} +1 -1
- package/dist/{ContextualToolbars--vTtorNg.js → ContextualToolbars-BDEt9ND0.js} +2047 -2324
- package/dist/ContextualToolbars-BDEt9ND0.js.map +1 -0
- package/dist/{EditorCanvasImpl-2ZgIUVpK.js → EditorCanvasImpl-M7rw1c1k.js} +8 -8
- package/dist/{EditorCanvasImpl-2ZgIUVpK.js.map → EditorCanvasImpl-M7rw1c1k.js.map} +1 -1
- package/dist/{ExportManager-DK7CdI-G.js → ExportManager-DoU4VK6h.js} +603 -498
- package/dist/ExportManager-DoU4VK6h.js.map +1 -0
- package/dist/{FontAnalyzer-BpsTYowD.js → FontAnalyzer-CwIpgTGd.js} +309 -299
- package/dist/{FontAnalyzer-BpsTYowD.js.map → FontAnalyzer-CwIpgTGd.js.map} +1 -1
- package/dist/ImagePanel-BwqFDKvW.js +951 -0
- package/dist/ImagePanel-BwqFDKvW.js.map +1 -0
- package/dist/{SnowconeCanvas-DqZicdxK.js → SnowconeCanvas-Cx7nXlBI.js} +22 -21
- package/dist/{SnowconeCanvas-DqZicdxK.js.map → SnowconeCanvas-Cx7nXlBI.js.map} +1 -1
- package/dist/{UnifiedFontService-B1PGVu8O.js → UnifiedFontService-CC3CSmH5.js} +1242 -1188
- package/dist/UnifiedFontService-CC3CSmH5.js.map +1 -0
- package/dist/advanced.mjs +100 -99
- package/dist/advanced.mjs.map +1 -1
- package/dist/components/editor/LazyImageBrowser.d.ts +7 -0
- package/dist/components/editor/commerceStore.d.ts +13 -0
- package/dist/custom-icons-BW6hqmkL.js +236 -0
- package/dist/custom-icons-BW6hqmkL.js.map +1 -0
- package/dist/{design-builder-CPF60RU2.js → design-builder-CT4DHIPe.js} +2 -2
- package/dist/{design-builder-CPF60RU2.js.map → design-builder-CT4DHIPe.js.map} +1 -1
- package/dist/{editorErrors-CK1RISFa.js → editorErrors-B2mb1sVN.js} +2 -2
- package/dist/{editorErrors-CK1RISFa.js.map → editorErrors-B2mb1sVN.js.map} +1 -1
- package/dist/{embed-2tp6Ue90.js → embed-QBZkgWDr.js} +288 -273
- package/dist/{embed-2tp6Ue90.js.map → embed-QBZkgWDr.js.map} +1 -1
- package/dist/embed.mjs +6 -6
- package/dist/guards-8rkFAMBs.js +24 -0
- package/dist/guards-8rkFAMBs.js.map +1 -0
- package/dist/index.mjs +8 -8
- package/dist/internals.mjs +11 -11
- package/dist/rendering/element-painters.d.ts +4 -2
- package/dist/style.css +1 -1
- package/dist/{template-fields-FgImixyv.js → template-fields-C2pSfMBh.js} +59 -41
- package/dist/template-fields-C2pSfMBh.js.map +1 -0
- package/dist/testing.mjs +4 -4
- package/dist/{usePieceGuideBundle-Ctnu5k2D.js → usePieceGuideBundle-CbJJg66S.js} +2 -2
- package/dist/{usePieceGuideBundle-Ctnu5k2D.js.map → usePieceGuideBundle-CbJJg66S.js.map} +1 -1
- package/dist/validation-C9Fe9ahK.js +8367 -0
- package/dist/validation-C9Fe9ahK.js.map +1 -0
- package/example/package.json +1 -1
- package/package.json +3 -2
- package/dist/CanvasRenderer-CwiYq8qg.js.map +0 -1
- package/dist/ContextualToolbars--vTtorNg.js.map +0 -1
- package/dist/ExportManager-DK7CdI-G.js.map +0 -1
- package/dist/UnifiedFontService-B1PGVu8O.js.map +0 -1
- package/dist/template-fields-FgImixyv.js.map +0 -1
- package/dist/validation-3YEMnKLB.js +0 -9308
- package/dist/validation-3YEMnKLB.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as Kt } from "./FontAnalyzer-
|
|
1
|
+
import { F as Gt } from "./ExportManager-DoU4VK6h.js";
|
|
2
|
+
import { A as Kt } from "./FontAnalyzer-CwIpgTGd.js";
|
|
3
3
|
var Pe;
|
|
4
4
|
function u(e, t, n) {
|
|
5
5
|
function o(c, a) {
|
|
@@ -446,7 +446,7 @@ const Ze = (e) => (t, n, o, r) => {
|
|
|
446
446
|
function Nn() {
|
|
447
447
|
return new RegExp(Pn, "u");
|
|
448
448
|
}
|
|
449
|
-
const An = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, Cn = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, jn = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, xn = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, Dn = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, ut = /^[A-Za-z0-9_-]*$/, Rn = /^https?$/,
|
|
449
|
+
const An = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, Cn = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, jn = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, xn = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, Dn = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, ut = /^[A-Za-z0-9_-]*$/, Rn = /^https?$/, Fn = /^\+[1-9]\d{6,14}$/, lt = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", Un = /* @__PURE__ */ new RegExp(`^${lt}$`);
|
|
450
450
|
function ft(e) {
|
|
451
451
|
const t = "(?:[01]\\d|2[0-3]):[0-5]\\d";
|
|
452
452
|
return typeof e.precision == "number" ? e.precision === -1 ? `${t}` : e.precision === 0 ? `${t}:[0-5]\\d` : `${t}:[0-5]\\d\\.\\d{${e.precision}}` : `${t}(?::[0-5]\\d(?:\\.\\d+)?)?`;
|
|
@@ -947,7 +947,7 @@ const ao = {
|
|
|
947
947
|
}), zo = /* @__PURE__ */ u("$ZodISODateTime", (e, t) => {
|
|
948
948
|
t.pattern ?? (t.pattern = Mn(t)), k.init(e, t);
|
|
949
949
|
}), wo = /* @__PURE__ */ u("$ZodISODate", (e, t) => {
|
|
950
|
-
t.pattern ?? (t.pattern =
|
|
950
|
+
t.pattern ?? (t.pattern = Un), k.init(e, t);
|
|
951
951
|
}), ko = /* @__PURE__ */ u("$ZodISOTime", (e, t) => {
|
|
952
952
|
t.pattern ?? (t.pattern = Jn(t)), k.init(e, t);
|
|
953
953
|
}), $o = /* @__PURE__ */ u("$ZodISODuration", (e, t) => {
|
|
@@ -1035,7 +1035,7 @@ const Po = /* @__PURE__ */ u("$ZodBase64URL", (e, t) => {
|
|
|
1035
1035
|
});
|
|
1036
1036
|
};
|
|
1037
1037
|
}), No = /* @__PURE__ */ u("$ZodE164", (e, t) => {
|
|
1038
|
-
t.pattern ?? (t.pattern =
|
|
1038
|
+
t.pattern ?? (t.pattern = Fn), k.init(e, t);
|
|
1039
1039
|
});
|
|
1040
1040
|
function Ao(e, t = null) {
|
|
1041
1041
|
try {
|
|
@@ -1110,7 +1110,7 @@ const Co = /* @__PURE__ */ u("$ZodJWT", (e, t) => {
|
|
|
1110
1110
|
function je(e, t, n) {
|
|
1111
1111
|
e.issues.length && t.issues.push(...it(n, e.issues)), t.value[n] = e.value;
|
|
1112
1112
|
}
|
|
1113
|
-
const
|
|
1113
|
+
const Fo = /* @__PURE__ */ u("$ZodArray", (e, t) => {
|
|
1114
1114
|
$.init(e, t), e._zod.parse = (n, o) => {
|
|
1115
1115
|
const r = n.value;
|
|
1116
1116
|
if (!Array.isArray(r))
|
|
@@ -1184,7 +1184,7 @@ function vt(e, t, n, o, r, i) {
|
|
|
1184
1184
|
inst: i
|
|
1185
1185
|
}), e.length ? Promise.all(e).then(() => n) : n;
|
|
1186
1186
|
}
|
|
1187
|
-
const
|
|
1187
|
+
const Uo = /* @__PURE__ */ u("$ZodObject", (e, t) => {
|
|
1188
1188
|
$.init(e, t);
|
|
1189
1189
|
const n = Object.getOwnPropertyDescriptor(t, "shape");
|
|
1190
1190
|
if (!(n != null && n.get)) {
|
|
@@ -1232,22 +1232,22 @@ const Fo = /* @__PURE__ */ u("$ZodObject", (e, t) => {
|
|
|
1232
1232
|
return i ? vt(f, l, c, a, o.value, e) : f.length ? Promise.all(f).then(() => c) : c;
|
|
1233
1233
|
};
|
|
1234
1234
|
}), Jo = /* @__PURE__ */ u("$ZodObjectJIT", (e, t) => {
|
|
1235
|
-
|
|
1235
|
+
Uo.init(e, t);
|
|
1236
1236
|
const n = e._zod.parse, o = fe(() => _t(t)), r = (g) => {
|
|
1237
1237
|
var H, j;
|
|
1238
|
-
const h = new co(["shape", "payload", "ctx"]), w = o.value, T = (
|
|
1239
|
-
const O = Ae(
|
|
1238
|
+
const h = new co(["shape", "payload", "ctx"]), w = o.value, T = (U) => {
|
|
1239
|
+
const O = Ae(U);
|
|
1240
1240
|
return `shape[${O}]._zod.run({ value: input[${O}], issues: [] }, ctx)`;
|
|
1241
1241
|
};
|
|
1242
1242
|
h.write("const input = payload.value;");
|
|
1243
1243
|
const C = /* @__PURE__ */ Object.create(null);
|
|
1244
1244
|
let E = 0;
|
|
1245
|
-
for (const
|
|
1246
|
-
C[
|
|
1245
|
+
for (const U of w.keys)
|
|
1246
|
+
C[U] = `key_${E++}`;
|
|
1247
1247
|
h.write("const newResult = {};");
|
|
1248
|
-
for (const
|
|
1249
|
-
const O = C[
|
|
1250
|
-
h.write(`const ${O} = ${T(
|
|
1248
|
+
for (const U of w.keys) {
|
|
1249
|
+
const O = C[U], N = Ae(U), G = g[U], Ie = ((H = G == null ? void 0 : G._zod) == null ? void 0 : H.optin) === "optional", Wt = ((j = G == null ? void 0 : G._zod) == null ? void 0 : j.optout) === "optional";
|
|
1250
|
+
h.write(`const ${O} = ${T(U)};`), Ie && Wt ? h.write(`
|
|
1251
1251
|
if (${O}.issues.length) {
|
|
1252
1252
|
if (${N} in input) {
|
|
1253
1253
|
payload.issues = payload.issues.concat(${O}.issues.map(iss => ({
|
|
@@ -1310,7 +1310,7 @@ const Fo = /* @__PURE__ */ u("$ZodObject", (e, t) => {
|
|
|
1310
1310
|
}
|
|
1311
1311
|
h.write("payload.value = newResult;"), h.write("return payload;");
|
|
1312
1312
|
const P = h.compile();
|
|
1313
|
-
return (
|
|
1313
|
+
return (U, O) => P(g, U, O);
|
|
1314
1314
|
};
|
|
1315
1315
|
let i;
|
|
1316
1316
|
const s = ee, c = !we.jitless, l = c && Xt.value, f = t.catchall;
|
|
@@ -1552,10 +1552,10 @@ const bt = /* @__PURE__ */ u("$ZodOptional", (e, t) => {
|
|
|
1552
1552
|
if (n.value === void 0)
|
|
1553
1553
|
return n.value = t.defaultValue, n;
|
|
1554
1554
|
const r = t.innerType._zod.run(n, o);
|
|
1555
|
-
return r instanceof Promise ? r.then((i) =>
|
|
1555
|
+
return r instanceof Promise ? r.then((i) => Fe(i, t)) : Fe(r, t);
|
|
1556
1556
|
};
|
|
1557
1557
|
});
|
|
1558
|
-
function
|
|
1558
|
+
function Fe(e, t) {
|
|
1559
1559
|
return e.value === void 0 && (e.value = t.defaultValue), e;
|
|
1560
1560
|
}
|
|
1561
1561
|
const qo = /* @__PURE__ */ u("$ZodPrefault", (e, t) => {
|
|
@@ -1566,10 +1566,10 @@ const qo = /* @__PURE__ */ u("$ZodPrefault", (e, t) => {
|
|
|
1566
1566
|
return n ? new Set([...n].filter((o) => o !== void 0)) : void 0;
|
|
1567
1567
|
}), e._zod.parse = (n, o) => {
|
|
1568
1568
|
const r = t.innerType._zod.run(n, o);
|
|
1569
|
-
return r instanceof Promise ? r.then((i) =>
|
|
1569
|
+
return r instanceof Promise ? r.then((i) => Ue(i, e)) : Ue(r, e);
|
|
1570
1570
|
};
|
|
1571
1571
|
});
|
|
1572
|
-
function
|
|
1572
|
+
function Ue(e, t) {
|
|
1573
1573
|
return !e.issues.length && e.value === void 0 && e.issues.push({
|
|
1574
1574
|
code: "invalid_type",
|
|
1575
1575
|
expected: "nonoptional",
|
|
@@ -2103,7 +2103,7 @@ function Rr(e) {
|
|
|
2103
2103
|
});
|
|
2104
2104
|
}
|
|
2105
2105
|
// @__NO_SIDE_EFFECTS__
|
|
2106
|
-
function
|
|
2106
|
+
function Fr(e, t) {
|
|
2107
2107
|
return new oo({
|
|
2108
2108
|
check: "string_format",
|
|
2109
2109
|
format: "includes",
|
|
@@ -2112,7 +2112,7 @@ function Ur(e, t) {
|
|
|
2112
2112
|
});
|
|
2113
2113
|
}
|
|
2114
2114
|
// @__NO_SIDE_EFFECTS__
|
|
2115
|
-
function
|
|
2115
|
+
function Ur(e, t) {
|
|
2116
2116
|
return new ro({
|
|
2117
2117
|
check: "string_format",
|
|
2118
2118
|
format: "starts_with",
|
|
@@ -2636,9 +2636,9 @@ const Ti = (e, t) => {
|
|
|
2636
2636
|
// enumerable: false,
|
|
2637
2637
|
}
|
|
2638
2638
|
});
|
|
2639
|
-
},
|
|
2639
|
+
}, F = /* @__PURE__ */ u("ZodError", Ti, {
|
|
2640
2640
|
Parent: Error
|
|
2641
|
-
}), Ei = /* @__PURE__ */ Ze(
|
|
2641
|
+
}), Ei = /* @__PURE__ */ Ze(F), Ii = /* @__PURE__ */ Oe(F), Pi = /* @__PURE__ */ pe(F), Ni = /* @__PURE__ */ de(F), Ai = /* @__PURE__ */ hn(F), Ci = /* @__PURE__ */ mn(F), ji = /* @__PURE__ */ gn(F), xi = /* @__PURE__ */ _n(F), Di = /* @__PURE__ */ vn(F), Ri = /* @__PURE__ */ yn(F), Fi = /* @__PURE__ */ bn(F), Ui = /* @__PURE__ */ zn(F), Ke = /* @__PURE__ */ new WeakMap();
|
|
2642
2642
|
function oe(e, t, n) {
|
|
2643
2643
|
const o = Object.getPrototypeOf(e);
|
|
2644
2644
|
let r = Ke.get(o);
|
|
@@ -2675,7 +2675,7 @@ const S = /* @__PURE__ */ u("ZodType", (e, t) => ($.init(e, t), Object.assign(e[
|
|
|
2675
2675
|
input: le(e, "input"),
|
|
2676
2676
|
output: le(e, "output")
|
|
2677
2677
|
}
|
|
2678
|
-
}), e.toJSONSchema = Xr(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.parse = (n, o) => Ei(e, n, o, { callee: e.parse }), e.safeParse = (n, o) => Pi(e, n, o), e.parseAsync = async (n, o) => Ii(e, n, o, { callee: e.parseAsync }), e.safeParseAsync = async (n, o) => Ni(e, n, o), e.spa = e.safeParseAsync, e.encode = (n, o) => Ai(e, n, o), e.decode = (n, o) => Ci(e, n, o), e.encodeAsync = async (n, o) => ji(e, n, o), e.decodeAsync = async (n, o) => xi(e, n, o), e.safeEncode = (n, o) => Di(e, n, o), e.safeDecode = (n, o) => Ri(e, n, o), e.safeEncodeAsync = async (n, o) =>
|
|
2678
|
+
}), e.toJSONSchema = Xr(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.parse = (n, o) => Ei(e, n, o, { callee: e.parse }), e.safeParse = (n, o) => Pi(e, n, o), e.parseAsync = async (n, o) => Ii(e, n, o, { callee: e.parseAsync }), e.safeParseAsync = async (n, o) => Ni(e, n, o), e.spa = e.safeParseAsync, e.encode = (n, o) => Ai(e, n, o), e.decode = (n, o) => Ci(e, n, o), e.encodeAsync = async (n, o) => ji(e, n, o), e.decodeAsync = async (n, o) => xi(e, n, o), e.safeEncode = (n, o) => Di(e, n, o), e.safeDecode = (n, o) => Ri(e, n, o), e.safeEncodeAsync = async (n, o) => Fi(e, n, o), e.safeDecodeAsync = async (n, o) => Ui(e, n, o), oe(e, "ZodType", {
|
|
2679
2679
|
check(...n) {
|
|
2680
2680
|
const o = this.def;
|
|
2681
2681
|
return this.clone(J(o, {
|
|
@@ -2781,10 +2781,10 @@ const S = /* @__PURE__ */ u("ZodType", (e, t) => ($.init(e, t), Object.assign(e[
|
|
|
2781
2781
|
return this.check(/* @__PURE__ */ xr(...o));
|
|
2782
2782
|
},
|
|
2783
2783
|
includes(...o) {
|
|
2784
|
-
return this.check(/* @__PURE__ */
|
|
2784
|
+
return this.check(/* @__PURE__ */ Fr(...o));
|
|
2785
2785
|
},
|
|
2786
2786
|
startsWith(...o) {
|
|
2787
|
-
return this.check(/* @__PURE__ */
|
|
2787
|
+
return this.check(/* @__PURE__ */ Ur(...o));
|
|
2788
2788
|
},
|
|
2789
2789
|
endsWith(...o) {
|
|
2790
2790
|
return this.check(/* @__PURE__ */ Jr(...o));
|
|
@@ -2948,7 +2948,7 @@ function us(e) {
|
|
|
2948
2948
|
return /* @__PURE__ */ jr(as, e);
|
|
2949
2949
|
}
|
|
2950
2950
|
const ls = /* @__PURE__ */ u("ZodArray", (e, t) => {
|
|
2951
|
-
|
|
2951
|
+
Fo.init(e, t), S.init(e, t), e._zod.processJSONSchema = (n, o, r) => ai(e, n, o, r), e.element = t.element, oe(e, "ZodArray", {
|
|
2952
2952
|
min(n, o) {
|
|
2953
2953
|
return this.check(/* @__PURE__ */ ue(n, o));
|
|
2954
2954
|
},
|
|
@@ -3275,7 +3275,7 @@ const ze = b({
|
|
|
3275
3275
|
feather: d().optional(),
|
|
3276
3276
|
opacity: d().optional(),
|
|
3277
3277
|
blendMode: z().optional()
|
|
3278
|
-
}),
|
|
3278
|
+
}), Fs = b({
|
|
3279
3279
|
color: z().optional(),
|
|
3280
3280
|
fontFamily: z().optional(),
|
|
3281
3281
|
fontSize: d().optional(),
|
|
@@ -3283,11 +3283,11 @@ const ze = b({
|
|
|
3283
3283
|
italic: m().optional(),
|
|
3284
3284
|
underline: m().optional(),
|
|
3285
3285
|
strikethrough: m().optional()
|
|
3286
|
-
}),
|
|
3286
|
+
}), Us = b({
|
|
3287
3287
|
text: z(),
|
|
3288
|
-
style:
|
|
3288
|
+
style: Fs
|
|
3289
3289
|
}), Js = b({
|
|
3290
|
-
spans: R(
|
|
3290
|
+
spans: R(Us)
|
|
3291
3291
|
}), Ms = b({
|
|
3292
3292
|
charIndex: d(),
|
|
3293
3293
|
glyphIndex: d(),
|
|
@@ -3350,10 +3350,10 @@ const ze = b({
|
|
|
3350
3350
|
}).passthrough(), Rt = b({
|
|
3351
3351
|
type: v("arch"),
|
|
3352
3352
|
archHeight: d()
|
|
3353
|
-
}).passthrough(),
|
|
3353
|
+
}).passthrough(), Ft = b({
|
|
3354
3354
|
type: v("ascend"),
|
|
3355
3355
|
ascendAngle: d()
|
|
3356
|
-
}).passthrough(),
|
|
3356
|
+
}).passthrough(), Ut = b({
|
|
3357
3357
|
type: v("wave"),
|
|
3358
3358
|
amplitude: d(),
|
|
3359
3359
|
frequency: d()
|
|
@@ -3412,8 +3412,8 @@ const ze = b({
|
|
|
3412
3412
|
xt,
|
|
3413
3413
|
Dt,
|
|
3414
3414
|
Rt,
|
|
3415
|
-
Ut,
|
|
3416
3415
|
Ft,
|
|
3416
|
+
Ut,
|
|
3417
3417
|
Jt,
|
|
3418
3418
|
Mt,
|
|
3419
3419
|
Lt,
|
|
@@ -3470,10 +3470,10 @@ const ze = b({
|
|
|
3470
3470
|
transformData: Rt.optional()
|
|
3471
3471
|
}), qs = L.extend({
|
|
3472
3472
|
transformType: v("ascend"),
|
|
3473
|
-
transformData:
|
|
3473
|
+
transformData: Ft.optional()
|
|
3474
3474
|
}), Xs = L.extend({
|
|
3475
3475
|
transformType: v("wave"),
|
|
3476
|
-
transformData:
|
|
3476
|
+
transformData: Ut.optional()
|
|
3477
3477
|
}), Hs = L.extend({
|
|
3478
3478
|
transformType: v("flag"),
|
|
3479
3479
|
transformData: Jt.optional()
|
|
@@ -3701,4 +3701,4 @@ export {
|
|
|
3701
3701
|
ye as u,
|
|
3702
3702
|
cc as v
|
|
3703
3703
|
};
|
|
3704
|
-
//# sourceMappingURL=CanvasStateV1-
|
|
3704
|
+
//# sourceMappingURL=CanvasStateV1-DmZ1Qvvn.js.map
|