@templatical/editor 0.9.0 → 0.9.1
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/{CloudEditor-CAtw_sFC.js → CloudEditor-DHB1FoQD.js} +1 -1
- package/dist/bundle-stats.json +4 -4
- package/dist/cdn/chunks/{CloudEditor-CyJItWsK.js → CloudEditor-CrZk-OwQ.js} +2 -2
- package/dist/cdn/chunks/{CloudEditor-CyJItWsK.js.map → CloudEditor-CrZk-OwQ.js.map} +1 -1
- package/dist/cdn/chunks/{renderer-7z2t_bYQ.js → renderer-CfHPFI5v.js} +2 -2
- package/dist/cdn/chunks/{renderer-7z2t_bYQ.js.map → renderer-CfHPFI5v.js.map} +1 -1
- package/dist/cdn/chunks/{styles-o0HIrw9F.js → styles-CVUvPdKD.js} +619 -617
- package/dist/cdn/chunks/{styles-o0HIrw9F.js.map → styles-CVUvPdKD.js.map} +1 -1
- package/dist/cdn/editor.js +3 -3
- package/dist/{styles-CJtcKmsx.js → styles-CxwIlb7Y.js} +652 -650
- package/dist/templatical-editor.js +2 -2
- package/package.json +7 -7
package/dist/cdn/editor.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as e, C as t, H as n, M as r, V as i, Z as a, ct as o, g as s, h as c, it as l, j as u, m as d, n as f, ot as p, p as m, r as h, s as g, st as _, v, x as y, y as b } from "./chunks/draggable-BwWMFq33.js";
|
|
2
2
|
import { A as x, Vn as S, X as C, hn as w, rt as T } from "./chunks/features-D-2kVhHY.js";
|
|
3
3
|
import { C as ee } from "./chunks/icons-fZoyKV_s.js";
|
|
4
|
-
import { a as te, c as ne, i as re, l as ie, n as E, o as D, r as O, s as k, t as A } from "./chunks/styles-
|
|
4
|
+
import { a as te, c as ne, i as re, l as ie, n as E, o as D, r as O, s as k, t as A } from "./chunks/styles-CVUvPdKD.js";
|
|
5
5
|
//#region src/Editor.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var j = ["data-tpl-theme"], M = {
|
|
7
7
|
class: "tpl-header tpl:absolute tpl:top-0 tpl:right-0 tpl:left-0 tpl:z-50 tpl:grid tpl:h-14 tpl:grid-cols-[1fr_auto_1fr] tpl:items-center tpl:px-4 tpl:shadow-[var(--tpl-shadow-md)] tpl:border-b tpl:border-[var(--tpl-border)]",
|
|
@@ -189,7 +189,7 @@ function fe() {
|
|
|
189
189
|
async function pe(e) {
|
|
190
190
|
let t;
|
|
191
191
|
try {
|
|
192
|
-
t = await import("./chunks/renderer-
|
|
192
|
+
t = await import("./chunks/renderer-CfHPFI5v.js").then((e) => e.t);
|
|
193
193
|
} catch {
|
|
194
194
|
throw Error("[Templatical] toMjml() requires the @templatical/renderer package. Please install it.");
|
|
195
195
|
}
|
|
@@ -273,7 +273,7 @@ function $(e) {
|
|
|
273
273
|
async function ve(e) {
|
|
274
274
|
let n = typeof e.container == "string" ? document.querySelector(e.container) : e.container;
|
|
275
275
|
if (!n) throw Error(`[Templatical] Container element not found: ${e.container}`);
|
|
276
|
-
let { default: r } = await import("./chunks/CloudEditor-
|
|
276
|
+
let { default: r } = await import("./chunks/CloudEditor-CrZk-OwQ.js"), [i, o] = await Promise.all([W(e.locale ?? "en"), le(e.locale ?? "en")]), s = C(e.fonts);
|
|
277
277
|
$(n);
|
|
278
278
|
let c = q(n, e.shadowDom ?? !0), l = a(null);
|
|
279
279
|
return await new Promise((a, u) => {
|