@boxcc/maildeno-editor 0.4.14 → 0.4.15

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.
@@ -1,6 +1,6 @@
1
1
  import { C as F, L as _, N as be, P as ye, T as ke, X as W, f as X, g as r, gt as A, h as O, l as H, mt as g, n as V, st as D, u as N, v as T, vt as Ie, y as b, yt as k, z as J } from "./vue.runtime.esm-bundler-D2AjRP90.js";
2
- import { H as Le, U as Ee, V as Ce, W as Ae } from "./element-DQw3HLit.js";
3
- import { n as we } from "./useEmailBuilder-2yCUzRx2.js";
2
+ import { H as Le, U as Ee, V as Ce, W as Ae } from "./element-CxahtLpG.js";
3
+ import { n as we } from "./useEmailBuilder-CBsHIs93.js";
4
4
  var Se = 60, Te = 40, Re = 500, Ne = 80, Ge = 60, $e = 80, ne = 398, Y = 30, re = 140, oe = 117, Me = 105, Oe = {
5
5
  heading: 317,
6
6
  paragraph: 337,
@@ -1,4 +1,4 @@
1
- import { n as be } from "./useEmailBuilder-D3uV7dwL.js";
1
+ import { n as be } from "./useEmailBuilder-D-hDPH_x.js";
2
2
  import { n as ye, r as ke, t as Ie } from "./mergeTagDefinitions-Cler19nv.js";
3
3
  import { t as Le } from "./_plugin-vue_export-helper-Dj7HTbfw.js";
4
4
  import { Fragment as X, Transition as F, computed as O, createCommentVNode as T, createElementBlock as _, createElementVNode as r, createVNode as W, defineComponent as Ee, normalizeClass as A, normalizeStyle as Ce, onBeforeUnmount as Ae, onMounted as we, openBlock as b, ref as D, renderList as J, toDisplayString as k, unref as g, withCtx as V, withKeys as H, withModifiers as N } from "vue";
@@ -1,5 +1,5 @@
1
1
  import { H as ce, L as i, S as ue, T as O, V as ge, Z as y, _ as V, c as h, f as $, g as p, gt as pe, h as d, mt as B, v as I, vt as l, x as ve, y as a, yt as P, z as _ } from "./vue.runtime.esm-bundler-D2AjRP90.js";
2
- import { n as X, w as Z } from "./useEmailBuilder-2yCUzRx2.js";
2
+ import { n as X, w as Z } from "./useEmailBuilder-CBsHIs93.js";
3
3
  import { o as z, r as C, t as q } from "./borderRadius-CkSa1lQ9.js";
4
4
  var fe = ["innerHTML"], me = ["innerHTML"], be = ["src", "alt"], xe = ["src", "alt"], ye = {
5
5
  style: {
@@ -1,4 +1,4 @@
1
- import { n as O, w as X } from "./useEmailBuilder-D3uV7dwL.js";
1
+ import { n as O, w as X } from "./useEmailBuilder-D-hDPH_x.js";
2
2
  import { o as z, r as C, t as q } from "./borderRadius-CkSa1lQ9.js";
3
3
  import { Fragment as $, computed as d, createBlock as V, createCommentVNode as I, createElementBlock as o, createElementVNode as p, createStaticVNode as ce, createTextVNode as ue, defineComponent as J, normalizeClass as ge, normalizeStyle as l, openBlock as i, renderList as _, resolveComponent as pe, resolveDynamicComponent as me, toDisplayString as P, unref as B, vShow as y, withDirectives as h } from "vue";
4
4
  var fe = ["innerHTML"], ve = ["innerHTML"], be = ["src", "alt"], xe = ["src", "alt"], ye = {
@@ -1,6 +1,6 @@
1
1
  import { $ as Fc, C as et, E as _c, K as Me, L as ee, M as Uo, N as Ir, O as Rr, P as Xi, T as ot, X as Xn, Z as Wn, _ as pn, c as Gr, f as jc, g as S, gt as Be, h as pt, l as Kc, lt as Uc, mt as R, p as Yi, q as Wc, rt as qc, s as Gc, st as W, u as hn, v as ve, vt as ut, y as be, yt as Yt, z as Jc } from "./vue.runtime.esm-bundler-D2AjRP90.js";
2
- import { A as Qt, B as Xc, C as st, D as $r, E as Wo, F as Qi, I as J, L as Yc, M as L, N as Qc, O as Kt, P as go, R as Zc, S as ed, T as Zi, V as td, _ as D, b as Ct, c as nd, d as Cn, f as Ls, g as G, h as X, j as Sn, k as qo, m as _, o as rd, p as O, s as Ps, v as od, w as _e, x as Go, y as sd, z as id } from "./element-DQw3HLit.js";
3
- import { n as ld, v as ad } from "./useEmailBuilder-2yCUzRx2.js";
2
+ import { A as Qt, B as Xc, C as st, D as $r, E as Wo, F as Qi, I as J, L as Yc, M as L, N as Qc, O as Kt, P as go, R as Zc, S as ed, T as Zi, V as td, _ as D, b as Ct, c as nd, d as Cn, f as Ls, g as G, h as X, j as Sn, k as qo, m as _, o as rd, p as O, s as Ps, v as od, w as _e, x as Go, y as sd, z as id } from "./element-CxahtLpG.js";
3
+ import { n as ld, v as ad } from "./useEmailBuilder-CBsHIs93.js";
4
4
  import { I as el } from "./PopperContent-N2nAEFeH.js";
5
5
  var Is = Object.defineProperty, cd = (e, t) => {
6
6
  let n = {};
@@ -1,5 +1,5 @@
1
1
  import { I as Yi } from "./PopperContent-eLmz1Gjd.js";
2
- import { n as Fc, v as _c } from "./useEmailBuilder-D3uV7dwL.js";
2
+ import { n as Fc, v as _c } from "./useEmailBuilder-D-hDPH_x.js";
3
3
  import { A as J, C as Uo, D as jc, E as L, M as Kc, N as Uc, O as go, P as Wc, S as Kt, T as Cn, _ as ot, a as Sn, b as Wo, c as _, d as D, f as qc, g as Gc, h as qo, j as Jc, k as Xi, l as Y, m as Ct, n as Ls, o as Ps, p as Yc, r as Xc, s as O, t as Qc, u as G, v as _e, w as Xt, x as Ir, y as Qi } from "./Dialog-By0JLN8s.js";
4
4
  import { t as Zc } from "./_plugin-vue_export-helper-Dj7HTbfw.js";
5
5
  import { Fragment as ed, Teleport as Zi, computed as pt, createBlock as pn, createCommentVNode as ve, createElementBlock as be, createElementVNode as S, createVNode as et, customRef as td, defineComponent as st, getCurrentInstance as nd, h as Rr, markRaw as rd, nextTick as Go, normalizeClass as Be, normalizeStyle as ut, onBeforeUnmount as $r, onMounted as el, openBlock as ee, ref as W, renderList as od, shallowRef as sd, toDisplayString as Qt, unref as R, vModelText as id, vShow as Gr, watch as Me, watchEffect as ld, withCtx as Yn, withDirectives as Wn, withKeys as ad, withModifiers as hn } from "vue";
@@ -0,0 +1,4 @@
1
+ import { t as r } from "./SavedRowsPanel-Cl1aZdnL.js";
2
+ export {
3
+ r as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { t as r } from "./SavedRowsPanel-CCXBKQYw.js";
2
+ export {
3
+ r as default
4
+ };
@@ -12,7 +12,7 @@ var z = {
12
12
  depth: {}
13
13
  },
14
14
  setup(n) {
15
- const f = C(() => import("./RowPreviewChildren-CalQWx1C.js")), w = n;
15
+ const f = C(() => import("./RowPreviewChildren-DNVfH3gU.js")), w = n;
16
16
  function g(e) {
17
17
  const r = e?.backgroundGradient;
18
18
  if (r?.useGradient === !0 && Array.isArray(r?.gradient?.colors) && r.gradient.colors.length >= 2) {
@@ -12,7 +12,7 @@ var I = {
12
12
  depth: {}
13
13
  },
14
14
  setup(n) {
15
- const f = P(() => import("./RowPreviewChildren-BGnilx-K.js")), x = n;
15
+ const f = P(() => import("./RowPreviewChildren-BANvlvrM.js")), x = n;
16
16
  function g(e) {
17
17
  const r = e?.backgroundGradient;
18
18
  if (r?.useGradient === !0 && Array.isArray(r?.gradient?.colors) && r.gradient.colors.length >= 2) {
@@ -1,6 +1,6 @@
1
1
  import { C as W, K as G, L as s, M as ge, N as xe, P as ne, S as V, T as K, X as Z, Z as he, _ as H, f as S, g as t, gt as Q, h as R, l as ee, mt as T, n as be, r as we, s as ye, st as b, u as F, v as O, vt as I, w as te, y as d, yt as M, z as j } from "./vue.runtime.esm-bundler-D2AjRP90.js";
2
- import { J as ke, K as _e, V as Ce, Y as Re, l as Se, q as $e, u as re } from "./element-DQw3HLit.js";
3
- import { W as Pe, n as Te, v as Ie, z as De } from "./useEmailBuilder-2yCUzRx2.js";
2
+ import { J as ke, K as _e, V as Ce, Y as Re, l as Se, q as $e, u as re } from "./element-CxahtLpG.js";
3
+ import { W as Pe, n as Te, v as Ie, z as De } from "./useEmailBuilder-CBsHIs93.js";
4
4
  import { o as oe, r as ae } from "./borderRadius-CkSa1lQ9.js";
5
5
  var ze = {
6
6
  key: 1,
@@ -16,7 +16,7 @@ var ze = {
16
16
  depth: {}
17
17
  },
18
18
  setup(m) {
19
- const w = te(() => import("./RowPreviewRow-DG4AdMrv.js")), k = te(() => import("./RowPreviewLegacyComponent-NECG3wpn.js"));
19
+ const w = te(() => import("./RowPreviewRow-Cu6EURjr.js")), k = te(() => import("./RowPreviewLegacyComponent-NECG3wpn.js"));
20
20
  function f(v) {
21
21
  const g = v?.backgroundGradient;
22
22
  if (g?.useGradient === !0 && Array.isArray(g?.gradient?.colors) && g.gradient.colors.length >= 2) {
@@ -1,6 +1,6 @@
1
- import { W as ge, n as xe, v as be, z as he } from "./useEmailBuilder-D3uV7dwL.js";
1
+ import { W as ge, n as xe, v as be, z as he } from "./useEmailBuilder-D-hDPH_x.js";
2
2
  import { o as X, r as Z } from "./borderRadius-CkSa1lQ9.js";
3
- import { d as we, i as ee, l as ye, p as ke, r as _e, s as Ce } from "./useToast-D1GgDMqQ.js";
3
+ import { d as we, i as ee, l as ye, p as ke, r as _e, s as Ce } from "./useToast-DAu-9glv.js";
4
4
  import { t as Re } from "./_plugin-vue_export-helper-Dj7HTbfw.js";
5
5
  import { Fragment as $, Transition as $e, TransitionGroup as Se, computed as R, createBlock as H, createCommentVNode as W, createElementBlock as d, createElementVNode as t, createTextVNode as V, createVNode as G, defineAsyncComponent as te, defineComponent as U, nextTick as Pe, normalizeClass as re, normalizeStyle as I, onBeforeUnmount as Ie, onMounted as se, openBlock as a, ref as h, renderList as j, toDisplayString as z, unref as T, vModelText as Te, watch as O, withCtx as oe, withDirectives as De, withKeys as ne, withModifiers as M } from "vue";
6
6
  var Fe = {
@@ -17,7 +17,7 @@ var Fe = {
17
17
  depth: {}
18
18
  },
19
19
  setup(m) {
20
- const w = te(() => import("./RowPreviewRow-C2XAe5Xs.js")), k = te(() => import("./RowPreviewLegacyComponent-Df_1HTly.js"));
20
+ const w = te(() => import("./RowPreviewRow-YJGhJ67T.js")), k = te(() => import("./RowPreviewLegacyComponent-Df_1HTly.js"));
21
21
  function f(v) {
22
22
  const g = v?.backgroundGradient;
23
23
  if (g?.useGradient === !0 && Array.isArray(g?.gradient?.colors) && g.gradient.colors.length >= 2) {
@@ -1,5 +1,5 @@
1
1
  import { B as Le, C as b, D as Er, E as Zo, F as We, G as xa, H as Pr, K as Ce, L as c, M as Be, N as Lt, O as zt, P as He, Q as wa, R as Nr, S as oe, T as Z, U as Nl, X, Y as Fl, Z as ze, _ as Q, _t as tr, a as Hl, at as ya, b as $n, c as mt, dt as wo, f as re, ft as jl, g as n, gt as J, h as V, j as ot, k as Fr, l as Ne, lt as en, mt as u, n as Ye, nt as Zt, o as Ul, ot as So, p as ft, q as ql, r as tn, rt as ka, s as Qe, st as j, u as ue, ut as Wl, v as I, vt as we, w as yo, x as Ue, y as f, yt as z, z as me } from "./vue.runtime.esm-bundler-D2AjRP90.js";
2
- import { A as cr, B as Gl, C as rn, D as Jl, E as Kl, F as Yl, G as Hr, H as Xl, I as Jt, L as Ql, M as Zl, N as ct, O as Ca, P as on, R as Sn, S as ei, T as ti, U as ri, V as oi, W as ni, _ as ai, a as _n, b as li, c as ii, d as si, f as $a, g as nn, h as wt, i as rr, j as di, k as ut, n as Se, o as _o, q as Sa, r as ui, s as Dr, t as ci, u as pi, v as Ut, w as an, x as mi, y as _a, z as jr } from "./useEmailBuilder-2yCUzRx2.js";
2
+ import { A as cr, B as Gl, C as rn, D as Jl, E as Kl, F as Yl, G as Hr, H as Xl, I as Jt, L as Ql, M as Zl, N as ct, O as Ca, P as on, R as Sn, S as ei, T as ti, U as ri, V as oi, W as ni, _ as ai, a as _n, b as li, c as ii, d as si, f as $a, g as nn, h as wt, i as rr, j as di, k as ut, n as Se, o as _o, q as Sa, r as ui, s as Dr, t as ci, u as pi, v as Ut, w as an, x as mi, y as _a, z as jr } from "./useEmailBuilder-CBsHIs93.js";
3
3
  import { a as Mn, i as vi, l as fi, n as gi, o as yt, r as Je, s as or, t as Tn } from "./borderRadius-CkSa1lQ9.js";
4
4
  import { A as hi, C as bi, E as xi, F as wi, I as Mt, M as pr, N as be, O as Ma, P as yi, S as ki, T as ao, _ as qt, a as Ci, b as $i, c as Vt, d as Si, f as _i, g as Mi, h as Ti, i as Ri, j as Ta, l as gt, m as Ii, n as Bi, o as Ei, p as ln, r as Di, s as Ai, t as zi, u as Rn, v as Vi, w as Ar, y as Ra } from "./PopperContent-N2nAEFeH.js";
5
5
  var Li = "(min-width: 1024px)", In = null;
@@ -5390,7 +5390,7 @@ var mm = {
5390
5390
  props: { component: {} },
5391
5391
  setup(e) {
5392
5392
  let t = null;
5393
- const r = () => t ??= import("./RichTextEditor-DDEfKPZm.js").then((a) => a.default), o = en(hm);
5393
+ const r = () => t ??= import("./RichTextEditor-BMp0pgrh.js").then((a) => a.default), o = en(hm);
5394
5394
  return He(() => {
5395
5395
  r().then((a) => {
5396
5396
  o.value = a;
@@ -20103,7 +20103,7 @@ var z3 = {
20103
20103
  "remove"
20104
20104
  ],
20105
20105
  setup(e, { emit: t }) {
20106
- const r = yo(() => import("./PreviewCanvas-PtW1UL1J.js")), o = e, a = t, l = V(() => `${o.index + 1} of ${o.total}`), i = () => {
20106
+ const r = yo(() => import("./PreviewCanvas-CB0u47NT.js")), o = e, a = t, l = V(() => `${o.index + 1} of ${o.total}`), i = () => {
20107
20107
  a("close");
20108
20108
  };
20109
20109
  function s(d) {
@@ -20558,7 +20558,7 @@ var z3 = {
20558
20558
  "mjml",
20559
20559
  "react",
20560
20560
  "json"
20561
- ]), l = yo(() => import("./HealthIndicator-BLID6Ty0.js")), i = $o(), { rows: s, canvasStyles: d, templateTags: p, savedTemplateName: m, exportHTML: g, getExportedHTML: v, exportReactEmail: h, exportMJML: x, exportJSON: k, importJSON: D, clearTemplate: N, previewMode: T, undo: _, redo: R, canUndo: $, canRedo: M, saveStatus: A, lastSaved: E, initFromStorage: w, clearLocal: y, linksActive: C, builderMode: S, templateId: B, saveTemplate: L } = Se(), F = V({
20561
+ ]), l = yo(() => import("./HealthIndicator-COWguEXj.js")), i = $o(), { rows: s, canvasStyles: d, templateTags: p, savedTemplateName: m, exportHTML: g, getExportedHTML: v, exportReactEmail: h, exportMJML: x, exportJSON: k, importJSON: D, clearTemplate: N, previewMode: T, undo: _, redo: R, canUndo: $, canRedo: M, saveStatus: A, lastSaved: E, initFromStorage: w, clearLocal: y, linksActive: C, builderMode: S, templateId: B, saveTemplate: L } = Se(), F = V({
20562
20562
  get: () => m.value ?? "",
20563
20563
  set: (Me) => {
20564
20564
  m.value = Me || null;
@@ -21269,7 +21269,7 @@ var nC = ["aria-expanded"], aC = { class: "md-assistant-head" }, lC = /* @__PURE
21269
21269
  },
21270
21270
  emits: ["ready"],
21271
21271
  setup(e, { expose: t, emit: r }) {
21272
- const o = yo(() => import("./SavedRowsPanel-2JBfYdxN.js")), a = e, l = a.onSendTestEmail, i = V(() => a.onSave ?? a.saveHandler ?? null), s = V(() => typeof i.value == "function"), d = j(null);
21272
+ const o = yo(() => import("./SavedRowsPanel-CCXBKQYw.js")), a = e, l = a.onSendTestEmail, i = V(() => a.onSave ?? a.saveHandler ?? null), s = V(() => typeof i.value == "function"), d = j(null);
21273
21273
  function p(de) {
21274
21274
  i.value?.(de), d.value?.dispatchEvent(new CustomEvent("save", {
21275
21275
  detail: [de],
@@ -21330,7 +21330,7 @@ var nC = ["aria-expanded"], aC = { class: "md-assistant-head" }, lC = /* @__PURE
21330
21330
  });
21331
21331
  }
21332
21332
  yi(D);
21333
- const { rows: A, templateId: E, builderMode: w, canvasStyles: y, isBuilderReady: C, initForCreate: S, startNewTemplate: B, loadTemplateById: L, savedTemplateName: F, getExportedHTML: le, getExportedMJML: G, getExportedReactEmail: W, getExportedJSON: q, setJson: H, getSelection: O, setSelection: P, onChange: U } = ci(x, k);
21333
+ const { rows: A, templateId: E, builderMode: w, canvasStyles: y, isBuilderReady: C, initForCreate: S, startNewTemplate: B, loadTemplateById: L, savedTemplateName: F, getExportedHTML: le, getExportedMJML: G, getExportedReactEmail: W, getExportedJSON: q, setJson: H, getSelection: O, setSelection: P, onChange: U } = ci(x, k, s);
21334
21334
  Ni(), Wi(x), a.templateId && (w.value = "edit"), Gi(x), ji(), qh();
21335
21335
  const ie = xa(), ge = {
21336
21336
  getJson: () => q(F.value ?? void 0),
package/dist/element.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as t, t as o } from "./element-DQw3HLit.js";
1
+ import { n as t, t as o } from "./element-CxahtLpG.js";
2
2
  export {
3
3
  o as MaildenoEditorElement,
4
4
  t as registerMaildenoEditorElement