@templatical/editor 0.8.0 → 0.8.2
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/{AiChatSidebar-B74X6tIx.js → AiChatSidebar-CXpsSTbt.js} +13 -13
- package/dist/{AiFeatureMenu-BOxQqkn9.js → AiFeatureMenu-CBtADSlv.js} +7 -7
- package/dist/{BlockIssueBadge-DJTiT1eF.js → BlockIssueBadge-FEuyG1p0.js} +5 -5
- package/dist/{CloudEditor-BzCVDD6e.js → CloudEditor-C5iH4_HX.js} +19 -19
- package/dist/{CollaboratorBar-Cb-c1IkS.js → CollaboratorBar-Bqp1kjPK.js} +4 -4
- package/dist/{CommentsSidebar-Qvppl-DR.js → CommentsSidebar-DaWP5ZGl.js} +12 -12
- package/dist/{CountdownBlock-D0IiMliC.js → CountdownBlock-C51M6s-J.js} +3 -3
- package/dist/{CountdownToolbar-BVVT8U5C.js → CountdownToolbar-C2QkG8S0.js} +3 -3
- package/dist/{DesignReferenceSidebar-ucgtoDll.js → DesignReferenceSidebar-BwIRFmpA.js} +9 -9
- package/dist/{IssuesPanel-XVdvrgmq.js → IssuesPanel-B6ukjc1i.js} +8 -8
- package/dist/{LoadingTrack-CFkDkjBb.js → LoadingTrack-CZ6tO326.js} +1 -1
- package/dist/{ModuleBrowserModal-BotDsZ0R.js → ModuleBrowserModal-DvhbtQ5Q.js} +11 -11
- package/dist/{ModulePreviewCanvas-CDg4MnJP.js → ModulePreviewCanvas-DJbx-ARl.js} +3 -3
- package/dist/{NumberWithSuffix-n-cr7lpU.js → NumberWithSuffix-wOM0319c.js} +3 -3
- package/dist/{ParagraphEditor-CfzIUFQ_.js → ParagraphEditor-DcVQcYUK.js} +25 -25
- package/dist/{RichTextEditorContent-Cu9NEkKd.js → RichTextEditorContent-C02UzFoS.js} +6 -6
- package/dist/{SaveModuleDialog-DuzfCamG.js → SaveModuleDialog-C0Hcbpfe.js} +7 -7
- package/dist/{SnapshotHistory-DiAPOSDM.js → SnapshotHistory-ByXaMG1n.js} +9 -9
- package/dist/{TemplateScoringPanel-BzDVdfOx.js → TemplateScoringPanel-BpQgtaDl.js} +14 -14
- package/dist/{TestEmailModal-D5I5Mgtb.js → TestEmailModal-Rdi8WxSm.js} +5 -5
- package/dist/{TitleEditor-CZUkhtDo.js → TitleEditor-CT4asLZe.js} +12 -12
- package/dist/{TplModal-CVq2BAIW.js → TplModal-anuE6Hb0.js} +4 -4
- package/dist/{blockTypeIcons-CJNuGjLX.js → blockTypeIcons-8MdDzKgP.js} +2 -2
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-DtrT-aFR.js → AiFeatureMenu-B2lX_OPX.js} +3 -3
- package/dist/cdn/chunks/{AiFeatureMenu-DtrT-aFR.js.map → AiFeatureMenu-B2lX_OPX.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-w7n4orSd.js → BlockIssueBadge-CrmWF2hu.js} +3 -3
- package/dist/cdn/chunks/{BlockIssueBadge-w7n4orSd.js.map → BlockIssueBadge-CrmWF2hu.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-CwG0DhG1.js → CloudEditor-Do4-w8x5.js} +8 -8
- package/dist/cdn/chunks/{CloudEditor-CwG0DhG1.js.map → CloudEditor-Do4-w8x5.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-DYjZaz7H.js → CollaboratorBar-Xmam6lHp.js} +4 -4
- package/dist/cdn/chunks/{CollaboratorBar-DYjZaz7H.js.map → CollaboratorBar-Xmam6lHp.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-CFR8VJCU.js → CountdownBlock-DadDprcu.js} +3 -3
- package/dist/cdn/chunks/{CountdownBlock-CFR8VJCU.js.map → CountdownBlock-DadDprcu.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-DOrQCH57.js → CountdownToolbar-qQC07x3l.js} +4 -4
- package/dist/cdn/chunks/{CountdownToolbar-DOrQCH57.js.map → CountdownToolbar-qQC07x3l.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-C54PhBgc.js → IssuesPanel-DWoYjpo4.js} +4 -4
- package/dist/cdn/chunks/{IssuesPanel-C54PhBgc.js.map → IssuesPanel-DWoYjpo4.js.map} +1 -1
- package/dist/cdn/chunks/{ModuleBrowserModal-4V6um-AC.js → ModuleBrowserModal-BQ2-bR4y.js} +6 -6
- package/dist/cdn/chunks/{ModuleBrowserModal-4V6um-AC.js.map → ModuleBrowserModal-BQ2-bR4y.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-DL8zI6VX.js → ModulePreviewCanvas-B57d9ZNW.js} +3 -3
- package/dist/cdn/chunks/{ModulePreviewCanvas-DL8zI6VX.js.map → ModulePreviewCanvas-B57d9ZNW.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-avXrYDo6.js → NumberWithSuffix-CJFH3eNR.js} +3 -3
- package/dist/cdn/chunks/{NumberWithSuffix-avXrYDo6.js.map → NumberWithSuffix-CJFH3eNR.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-Cpmy85zL.js → ParagraphEditor-DPFK_KjR.js} +19 -19
- package/dist/cdn/chunks/{ParagraphEditor-Cpmy85zL.js.map → ParagraphEditor-DPFK_KjR.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-CFL-Lrv5.js → RichTextEditorContent-frc9A4J9.js} +3 -3
- package/dist/cdn/chunks/{RichTextEditorContent-CFL-Lrv5.js.map → RichTextEditorContent-frc9A4J9.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-D6szy5vX.js → SaveModuleDialog-OgP9rNwp.js} +3 -3
- package/dist/cdn/chunks/{SaveModuleDialog-D6szy5vX.js.map → SaveModuleDialog-OgP9rNwp.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-CSDdss38.js → TitleEditor-DZ_v-LQC.js} +9 -9
- package/dist/cdn/chunks/{TitleEditor-CSDdss38.js.map → TitleEditor-DZ_v-LQC.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-BEdpG8xl.js → blockTypeIcons-DYAslSVB.js} +3 -3
- package/dist/cdn/chunks/{blockTypeIcons-BEdpG8xl.js.map → blockTypeIcons-DYAslSVB.js.map} +1 -1
- package/dist/cdn/chunks/de-BBEGQDsd.js.map +1 -1
- package/dist/cdn/chunks/de-DG1WWVXM.js.map +1 -1
- package/dist/cdn/chunks/de-RQrZR56a.js.map +1 -1
- package/dist/cdn/chunks/{draggable-P6QWzy4g.js → draggable-CLpL3kf8.js} +6 -6
- package/dist/cdn/chunks/draggable-CLpL3kf8.js.map +1 -0
- package/dist/cdn/chunks/emojiData-EMFlj6FJ.js.map +1 -1
- package/dist/cdn/chunks/en-BE6OV83-.js.map +1 -1
- package/dist/cdn/chunks/en-Bl1ecfRF.js.map +1 -1
- package/dist/cdn/chunks/en-CHha-_ta.js.map +1 -1
- package/dist/cdn/chunks/{extensions-DgvvgeJU.js → extensions-IwIDJ7T-.js} +4 -4
- package/dist/cdn/chunks/{extensions-DgvvgeJU.js.map → extensions-IwIDJ7T-.js.map} +1 -1
- package/dist/cdn/chunks/{features-CgTy87Ni.js → features-svfaXiyQ.js} +663 -645
- package/dist/cdn/chunks/features-svfaXiyQ.js.map +1 -0
- package/dist/cdn/chunks/{icons-DxJ--AJb.js → icons-BWmUvlwk.js} +12 -12
- package/dist/cdn/chunks/{icons-DxJ--AJb.js.map → icons-BWmUvlwk.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-lQbkge2E.js → liquid.browser-cpFt-Vmw.js} +674 -612
- package/dist/cdn/chunks/liquid.browser-cpFt-Vmw.js.map +1 -0
- package/dist/cdn/chunks/{media-library-Byh_BbTm.js → media-library-DyxGPQvA.js} +6 -5
- package/dist/cdn/chunks/{media-library-Byh_BbTm.js.map → media-library-DyxGPQvA.js.map} +1 -1
- package/dist/cdn/chunks/pt-BR-BYRTP5Ww.js.map +1 -1
- package/dist/cdn/chunks/pt-BR-CFomv2R8.js.map +1 -1
- package/dist/cdn/chunks/pt-BR-CQl2JxRp.js.map +1 -1
- package/dist/cdn/chunks/pusher-bjpcqCZG.js.map +1 -1
- package/dist/cdn/chunks/quality-DLJBm0Sf.js +2140 -0
- package/dist/cdn/chunks/quality-DLJBm0Sf.js.map +1 -0
- package/dist/cdn/chunks/readableTextColor-DhoK4XiZ.js.map +1 -1
- package/dist/cdn/chunks/{renderer-DttVILgu.js → renderer-BDRxApzE.js} +11 -5
- package/dist/cdn/chunks/{renderer-DttVILgu.js.map → renderer-BDRxApzE.js.map} +1 -1
- package/dist/cdn/chunks/{src-a8fYhBi5.js → src-DBcvijiJ.js} +5 -5
- package/dist/cdn/chunks/{src-a8fYhBi5.js.map → src-DBcvijiJ.js.map} +1 -1
- package/dist/cdn/chunks/styleConstants-DP1VOca8.js.map +1 -1
- package/dist/cdn/chunks/{styles-8qDRQ-6n.js → styles--HrprHTR.js} +17 -17
- package/dist/cdn/chunks/{styles-8qDRQ-6n.js.map → styles--HrprHTR.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-BwTCLVWl.js → tiptap-BCvhHXDe.js} +711 -692
- package/dist/cdn/chunks/tiptap-BCvhHXDe.js.map +1 -0
- package/dist/cdn/editor.js +6 -6
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-BF4bEbCU.js → check-DwVS7v3N.js} +1 -1
- package/dist/{chevron-down-4NzWtv6Y.js → chevron-down-CytfFjil.js} +1 -1
- package/dist/{circle-alert-CPIth9bC.js → circle-alert-9J8Q4fwU.js} +1 -1
- package/dist/{clock-B9-ct9r_.js → clock-CL2fYWmc.js} +1 -1
- package/dist/{cloud-k0DgeCo2.js → cloud-DHsOqOnH.js} +1 -1
- package/dist/{createLucideIcon-Di4mqmGn.js → createLucideIcon-DTECxBv6.js} +4 -4
- package/dist/{dist-DVwOAodp.js → dist-3RAjjDZq.js} +2 -2
- package/dist/{dist-hfu7I2rO.js → dist-B5FKze93.js} +375 -353
- package/dist/dist-BWVK8w_m.js +5 -0
- package/dist/{dist-CISFttkF.js → dist-BjSjVZRA.js} +2 -2
- package/dist/{dist-DD-9hatO.js → dist-BoGj0ys1.js} +8 -8
- package/dist/{dist-BzRLLpfq.js → dist-CkhqaMca.js} +6 -5
- package/dist/{dist-U5guDm2w.js → dist-D8IxYzaU.js} +125 -125
- package/dist/{dist-B2jcQhv8.js → dist-DPiqL9q5.js} +17 -17
- package/dist/{dist-v8h02hhE.js → dist-DgD8K8y0.js} +2 -2
- package/dist/{dist-DxD1kSdH.js → dist-DiYYRj9J.js} +22 -48
- package/dist/{dist-CQQS9SRN.js → dist-DpF3BN6Y.js} +85 -62
- package/dist/dist-UekZXGFH.js +5 -0
- package/dist/{dist-DUvhjQ2-.js → dist-qFGe50Kc.js} +2 -2
- package/dist/{extensions-C-FpnfJn.js → extensions-BTheidN4.js} +19 -19
- package/dist/{image-up-CubAveUO.js → image-up-YgXg9o1y.js} +1 -1
- package/dist/index.d.ts +39 -92
- package/dist/{info-DiINxXfZ.js → info-W-213KLD.js} +1 -1
- package/dist/{keys-CY3tkCsv.js → keys-XS_XrjqL.js} +1 -1
- package/dist/{liquid.browser-DX8ZHRdq.js → liquid.browser-Dc30h4PN.js} +673 -611
- package/dist/{list-checks-CMtEXe9l.js → list-checks-BQrZlWzC.js} +1 -1
- package/dist/{loader-circle-_9bP23op.js → loader-circle-BQPHssrF.js} +1 -1
- package/dist/{message-circle-gzy2ZGJ3.js → message-circle-iMgHXBeH.js} +1 -1
- package/dist/{refresh-cw-C9_M6yB3.js → refresh-cw-DFozdLYp.js} +1 -1
- package/dist/{scan-line-DUEg6DoT.js → scan-line-D3NN0Gre.js} +1 -1
- package/dist/{send-BatIZC9a.js → send-DBhq0GU2.js} +1 -1
- package/dist/{shield-check-C5Gv2cM1.js → shield-check-DquM3-E5.js} +1 -1
- package/dist/{sparkles-D1IGi_cC.js → sparkles-CTGknLJy.js} +1 -1
- package/dist/{styles-Ci7RdimQ.js → styles-BUp0dVGV.js} +33 -33
- package/dist/templatical-editor.js +4 -4
- package/dist/{text-align-start-DG3aAH7Y.js → text-align-end-BPOHCD7K.js} +11 -11
- package/dist/{trash-2-424iqbpN.js → trash-2-VyX2kcG0.js} +1 -1
- package/dist/{triangle-alert-DWQySIE2.js → triangle-alert-HIqW9Hwv.js} +1 -1
- package/dist/{useAliveFlag-D8GoB4VE.js → useAliveFlag-t3e0dokQ.js} +1 -1
- package/dist/{useCloudI18n-BPUHj2CZ.js → useCloudI18n-oETj4WiF.js} +2 -2
- package/dist/{useEditorCore-DT3VrvZS.js → useEditorCore-CJB2x6Ts.js} +719 -716
- package/dist/{useI18n-CWX9ZTCW.js → useI18n-tMHqPsE4.js} +2 -2
- package/dist/{useMergeTag-B3F9VR04.js → useMergeTag-Bv8ASt6n.js} +2 -2
- package/dist/usePopoverRoot-Bs6kLsI3.js +8 -0
- package/dist/{vue.runtime.esm-bundler-Bxqkjqhc.js → vue.runtime.esm-bundler-xiAB6UTz.js} +15 -12
- package/dist/{x-Dlaenqta.js → x-C1j-AamY.js} +1 -1
- package/package.json +33 -34
- package/dist/cdn/chunks/draggable-P6QWzy4g.js.map +0 -1
- package/dist/cdn/chunks/features-CgTy87Ni.js.map +0 -1
- package/dist/cdn/chunks/liquid.browser-lQbkge2E.js.map +0 -1
- package/dist/cdn/chunks/quality-CHCEMG8e.js +0 -1846
- package/dist/cdn/chunks/quality-CHCEMG8e.js.map +0 -1
- package/dist/cdn/chunks/tiptap-BwTCLVWl.js.map +0 -1
- package/dist/dist-BYt3jdCR.js +0 -5
- package/dist/dist-CfQPBf15.js +0 -5
- package/dist/usePopoverRoot-BKJcxsst.js +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as e, w as t } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { O as n } from "./keys-
|
|
1
|
+
import { G as e, w as t } from "./vue.runtime.esm-bundler-xiAB6UTz.js";
|
|
2
|
+
import { O as n } from "./keys-XS_XrjqL.js";
|
|
3
3
|
//#region src/composables/useI18n.ts
|
|
4
4
|
function r(r) {
|
|
5
5
|
let i = r ?? t(n, null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { X as e, w as t } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { X as e, w as t } from "./vue.runtime.esm-bundler-xiAB6UTz.js";
|
|
2
2
|
import { O as n, n as r, w as i } from "./dist-DJmnUmW9.js";
|
|
3
|
-
import { S as a, b as o, v as s, y as c } from "./keys-
|
|
3
|
+
import { S as a, b as o, v as s, y as c } from "./keys-XS_XrjqL.js";
|
|
4
4
|
//#region src/composables/useMergeTag.ts
|
|
5
5
|
function l() {
|
|
6
6
|
let l = t(s, []), u = t(o, r.liquid), d = t(a, null), f = t(c, !0), p = e(!1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@vue+shared@3.5.
|
|
1
|
+
//#region ../../node_modules/.pnpm/@vue+shared@3.5.34/node_modules/@vue/shared/dist/shared.esm-bundler.js
|
|
2
2
|
/* @__NO_SIDE_EFFECTS__ */
|
|
3
3
|
function e(e) {
|
|
4
4
|
let t = /* @__PURE__ */ Object.create(null);
|
|
@@ -88,13 +88,13 @@ function De(e, t) {
|
|
|
88
88
|
}
|
|
89
89
|
var Oe = (e) => !!(e && e.__v_isRef === !0), ke = (e) => g(e) ? e : e == null ? "" : d(e) || v(e) && (e.toString === b || !h(e.toString)) ? Oe(e) ? ke(e.value) : JSON.stringify(e, Ae, 2) : String(e), Ae = (e, t) => Oe(t) ? Ae(e, t.value) : f(t) ? { [`Map(${t.size})`]: [...t.entries()].reduce((e, [t, n], r) => (e[je(t, r) + " =>"] = n, e), {}) } : p(t) ? { [`Set(${t.size})`]: [...t.values()].map((e) => je(e)) } : _(t) ? je(t) : v(t) && !d(t) && !C(t) ? String(t) : t, je = (e, t = "") => _(e) ? `Symbol(${e.description ?? t})` : e;
|
|
90
90
|
//#endregion
|
|
91
|
-
//#region ../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
91
|
+
//#region ../../node_modules/.pnpm/@vue+reactivity@3.5.34/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
|
|
92
92
|
function j(e, ...t) {
|
|
93
93
|
console.warn(`[Vue warn] ${e}`, ...t);
|
|
94
94
|
}
|
|
95
95
|
var M, Me = class {
|
|
96
96
|
constructor(e = !1) {
|
|
97
|
-
this.detached = e, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this.
|
|
97
|
+
this.detached = e, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this._warnOnRun = !0, this.__v_skip = !0, !e && M && (M.active ? (this.parent = M, this.index = (M.scopes ||= []).push(this) - 1) : (this._active = !1, this._warnOnRun = !1));
|
|
98
98
|
}
|
|
99
99
|
get active() {
|
|
100
100
|
return this._active;
|
|
@@ -123,7 +123,7 @@ var M, Me = class {
|
|
|
123
123
|
} finally {
|
|
124
124
|
M = t;
|
|
125
125
|
}
|
|
126
|
-
} else process.env.NODE_ENV !== "production" && j("cannot run an inactive effect scope.");
|
|
126
|
+
} else process.env.NODE_ENV !== "production" && this._warnOnRun && j("cannot run an inactive effect scope.");
|
|
127
127
|
}
|
|
128
128
|
on() {
|
|
129
129
|
++this._on === 1 && (this.prevScope = M, M = this);
|
|
@@ -170,7 +170,7 @@ function Pe(e, t = !1) {
|
|
|
170
170
|
}
|
|
171
171
|
var N, Fe = /* @__PURE__ */ new WeakSet(), Ie = class {
|
|
172
172
|
constructor(e) {
|
|
173
|
-
this.fn = e, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, M && M.active
|
|
173
|
+
this.fn = e, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, M && (M.active ? M.effects.push(this) : this.flags &= -2);
|
|
174
174
|
}
|
|
175
175
|
pause() {
|
|
176
176
|
this.flags |= 64;
|
|
@@ -995,7 +995,7 @@ function Cn(e, t = Infinity, n) {
|
|
|
995
995
|
return e;
|
|
996
996
|
}
|
|
997
997
|
//#endregion
|
|
998
|
-
//#region ../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
998
|
+
//#region ../../node_modules/.pnpm/@vue+runtime-core@3.5.34/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
|
|
999
999
|
var wn = [];
|
|
1000
1000
|
function Tn(e) {
|
|
1001
1001
|
wn.push(e);
|
|
@@ -2699,10 +2699,10 @@ function po(e, t) {
|
|
|
2699
2699
|
function mo(e, t, n) {
|
|
2700
2700
|
if (n.length === 0) return `Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;
|
|
2701
2701
|
let r = `Invalid prop: type check failed for prop "${e}". Expected ${n.map(ie).join(" | ")}`, i = n[0], a = S(t), o = ho(t, i), s = ho(t, a);
|
|
2702
|
-
return n.length === 1 && go(i) &&
|
|
2702
|
+
return n.length === 1 && go(i) && _o(i, a) && (r += ` with value ${o}`), r += `, got ${a} `, go(a) && (r += `with value ${s}.`), r;
|
|
2703
2703
|
}
|
|
2704
2704
|
function ho(e, t) {
|
|
2705
|
-
return t === "String" ? `"${e}"` : t === "Number" ? `${Number(e)}` : `${e}`;
|
|
2705
|
+
return _(e) ? e.toString() : t === "String" ? `"${e}"` : t === "Number" ? `${Number(e)}` : `${e}`;
|
|
2706
2706
|
}
|
|
2707
2707
|
function go(e) {
|
|
2708
2708
|
return [
|
|
@@ -2712,7 +2712,10 @@ function go(e) {
|
|
|
2712
2712
|
].some((t) => e.toLowerCase() === t);
|
|
2713
2713
|
}
|
|
2714
2714
|
function _o(...e) {
|
|
2715
|
-
return e.
|
|
2715
|
+
return e.every((e) => {
|
|
2716
|
+
let t = e.toLowerCase();
|
|
2717
|
+
return t !== "boolean" && t !== "symbol";
|
|
2718
|
+
});
|
|
2716
2719
|
}
|
|
2717
2720
|
var vo = (e) => e === "_" || e === "_ctx" || e === "$stable", yo = (e) => d(e) ? e.map(Q) : [Q(e)], bo = (e, t, n) => {
|
|
2718
2721
|
if (t._n) return t;
|
|
@@ -3766,10 +3769,10 @@ function Js() {
|
|
|
3766
3769
|
}
|
|
3767
3770
|
window.devtoolsFormatters ? window.devtoolsFormatters.push(a) : window.devtoolsFormatters = [a];
|
|
3768
3771
|
}
|
|
3769
|
-
var Ys = "3.5.
|
|
3772
|
+
var Ys = "3.5.34", Xs = process.env.NODE_ENV === "production" ? r : V;
|
|
3770
3773
|
process.env.NODE_ENV, process.env.NODE_ENV;
|
|
3771
3774
|
//#endregion
|
|
3772
|
-
//#region ../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
3775
|
+
//#region ../../node_modules/.pnpm/@vue+runtime-dom@3.5.34/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
|
|
3773
3776
|
var Zs = void 0, Qs = typeof window < "u" && window.trustedTypes;
|
|
3774
3777
|
if (Qs) try {
|
|
3775
3778
|
Zs = /* @__PURE__ */ Qs.createPolicy("vue", { createHTML: (e) => e });
|
|
@@ -4291,7 +4294,7 @@ function Dl(e) {
|
|
|
4291
4294
|
return process.env.NODE_ENV !== "production" && window.ShadowRoot && e instanceof window.ShadowRoot && e.mode === "closed" && Xs("mounting on a ShadowRoot with `{mode: \"closed\"}` may lead to unpredictable bugs"), e;
|
|
4292
4295
|
}
|
|
4293
4296
|
//#endregion
|
|
4294
|
-
//#region ../../node_modules/.pnpm/vue@3.5.
|
|
4297
|
+
//#region ../../node_modules/.pnpm/vue@3.5.34_typescript@6.0.3/node_modules/vue/dist/vue.runtime.esm-bundler.js
|
|
4295
4298
|
function Ol() {
|
|
4296
4299
|
Js();
|
|
4297
4300
|
}
|
package/package.json
CHANGED
|
@@ -1,41 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@templatical/editor",
|
|
3
3
|
"description": "Vue 3 visual drag-and-drop email editor powered by Templatical",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.2",
|
|
5
5
|
"bugs": "https://github.com/templatical/sdk/issues",
|
|
6
6
|
"devDependencies": {
|
|
7
|
-
"@lucide/vue": "^1.
|
|
8
|
-
"@tiptap/core": "^3.
|
|
9
|
-
"@tiptap/extension-color": "^3.
|
|
10
|
-
"@tiptap/extension-font-family": "^3.
|
|
11
|
-
"@tiptap/extension-highlight": "^3.
|
|
12
|
-
"@tiptap/extension-link": "^3.
|
|
13
|
-
"@tiptap/extension-subscript": "^3.
|
|
14
|
-
"@tiptap/extension-superscript": "^3.
|
|
15
|
-
"@tiptap/extension-text-align": "^3.
|
|
16
|
-
"@tiptap/extension-text-style": "^3.
|
|
17
|
-
"@tiptap/extension-underline": "^3.
|
|
18
|
-
"@tiptap/starter-kit": "^3.
|
|
19
|
-
"@tiptap/suggestion": "^3.
|
|
20
|
-
"@tiptap/vue-3": "^3.
|
|
21
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
22
|
-
"@vue/test-utils": "^2.4.
|
|
23
|
-
"@vueuse/core": "^14.
|
|
7
|
+
"@lucide/vue": "^1.16.0",
|
|
8
|
+
"@tiptap/core": "^3.23.4",
|
|
9
|
+
"@tiptap/extension-color": "^3.23.4",
|
|
10
|
+
"@tiptap/extension-font-family": "^3.23.4",
|
|
11
|
+
"@tiptap/extension-highlight": "^3.23.4",
|
|
12
|
+
"@tiptap/extension-link": "^3.23.4",
|
|
13
|
+
"@tiptap/extension-subscript": "^3.23.4",
|
|
14
|
+
"@tiptap/extension-superscript": "^3.23.4",
|
|
15
|
+
"@tiptap/extension-text-align": "^3.23.4",
|
|
16
|
+
"@tiptap/extension-text-style": "^3.23.4",
|
|
17
|
+
"@tiptap/extension-underline": "^3.23.4",
|
|
18
|
+
"@tiptap/starter-kit": "^3.23.4",
|
|
19
|
+
"@tiptap/suggestion": "^3.23.4",
|
|
20
|
+
"@tiptap/vue-3": "^3.23.4",
|
|
21
|
+
"@vitejs/plugin-vue": "^6.0.7",
|
|
22
|
+
"@vue/test-utils": "^2.4.10",
|
|
23
|
+
"@vueuse/core": "^14.3.0",
|
|
24
24
|
"es-module-lexer": "^2.1.0",
|
|
25
25
|
"happy-dom": "^20.9.0",
|
|
26
|
-
"liquidjs": "^10.
|
|
27
|
-
"tailwindcss": "^4.
|
|
26
|
+
"liquidjs": "^10.27.0",
|
|
27
|
+
"tailwindcss": "^4.3.0",
|
|
28
28
|
"typescript": "^6.0.3",
|
|
29
29
|
"vanilla-colorful": "^0.7.2",
|
|
30
|
-
"vite": "^8.0.
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"vue": "^
|
|
34
|
-
"vue-
|
|
35
|
-
"
|
|
36
|
-
"@templatical/
|
|
37
|
-
"@templatical/
|
|
38
|
-
"@templatical/types": "0.8.0"
|
|
30
|
+
"vite": "^8.0.13",
|
|
31
|
+
"vitest": "^4.1.6",
|
|
32
|
+
"vue": "^3.5.34",
|
|
33
|
+
"vue-draggable-plus": "^0.6.1",
|
|
34
|
+
"vue-tsc": "^3.2.9",
|
|
35
|
+
"@templatical/core": "0.8.2",
|
|
36
|
+
"@templatical/quality": "0.8.2",
|
|
37
|
+
"@templatical/types": "0.8.2"
|
|
39
38
|
},
|
|
40
39
|
"exports": {
|
|
41
40
|
".": {
|
|
@@ -63,9 +62,9 @@
|
|
|
63
62
|
"license": "SEE LICENSE IN LICENSE",
|
|
64
63
|
"module": "./dist/templatical-editor.js",
|
|
65
64
|
"peerDependencies": {
|
|
66
|
-
"@templatical/media-library": "0.8.
|
|
67
|
-
"@templatical/quality": "0.8.
|
|
68
|
-
"@templatical/renderer": "0.8.
|
|
65
|
+
"@templatical/media-library": "0.8.2",
|
|
66
|
+
"@templatical/quality": "0.8.2",
|
|
67
|
+
"@templatical/renderer": "0.8.2"
|
|
69
68
|
},
|
|
70
69
|
"peerDependenciesMeta": {
|
|
71
70
|
"@templatical/renderer": {
|
|
@@ -89,8 +88,8 @@
|
|
|
89
88
|
"type": "module",
|
|
90
89
|
"types": "./dist/index.d.ts",
|
|
91
90
|
"scripts": {
|
|
92
|
-
"build": "vite build",
|
|
93
|
-
"build:all": "
|
|
91
|
+
"build": "vite build && vue-tsc -p tsconfig.build.json && api-extractor run --local && rm -rf dist/types",
|
|
92
|
+
"build:all": "pnpm run build && vite build --config vite.cdn.config.ts",
|
|
94
93
|
"build:cdn": "vite build --config vite.cdn.config.ts",
|
|
95
94
|
"test": "vitest run",
|
|
96
95
|
"typecheck": "vue-tsc --noEmit",
|