@templatical/editor 0.39.3 → 0.39.4

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,7 +1,7 @@
1
1
  import { A as e, At as t, B as n, F as r, M as i, N as a, P as o, R as s, S as c, T as l, V as u, Z as d, at as f, c as p, d as m, g as h, h as g, i as _, jt as v, kt as y, l as b, r as ee, s as te, u as x, v as S } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
2
  import { a as ne, c as re, o as ie, t as ae } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
3
3
  import { t as oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
4
- import { a as se, n as ce, o as le, r as ue, t as de } from "./editor-modal-oD1qNz_P.js";
4
+ import { a as se, n as ce, o as le, r as ue, t as de } from "./editor-modal-Czq1I8oC.js";
5
5
  //#region ../media-library/src/composables/useImageCrop.ts
6
6
  var fe = {
7
7
  free: void 0,
@@ -3367,7 +3367,7 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3367
3367
  ].includes(o.item.mimeType ?? "") : !1), xe = te(() => E.value === "original" ? k.value : fe[E.value]), F = te(() => A.value ? ge(A.value.width, A.value.height, ye.value, be.value) : null);
3368
3368
  s(() => o.visible, (e) => {
3369
3369
  e && o.item && (w.value = o.item.filename ?? "", ve.value = o.item.alt ?? "", E.value = "free", ye.value = void 0, be.value = void 0, D.value = "", O.value = "", k.value = void 0, A.value = null, j.value = !1, N.value = !1, o.item.width && o.item.height && (k.value = o.item.width / o.item.height));
3370
- });
3370
+ }, { immediate: !0 });
3371
3371
  function I(e) {
3372
3372
  e.coordinates && (A.value = {
3373
3373
  width: Math.round(e.coordinates.width),
@@ -3540,6 +3540,6 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3540
3540
  _: 1
3541
3541
  })], 8, ["to"]));
3542
3542
  }
3543
- }), [["__scopeId", "data-v-6fc59551"]]);
3543
+ }), [["__scopeId", "data-v-51052195"]]);
3544
3544
  //#endregion
3545
3545
  export { xn as default };
@@ -11,7 +11,7 @@ var o = /* @__PURE__ */ a({
11
11
  popoverTarget: {}
12
12
  },
13
13
  setup(a) {
14
- let o = a, s = t(async () => (await import("./editor-modal-oD1qNz_P.js")).MediaLibraryModal);
14
+ let o = a, s = t(async () => (await import("./editor-modal-Czq1I8oC.js")).MediaLibraryModal);
15
15
  function c(e) {
16
16
  o.feature.select(e);
17
17
  }
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.39.3",
3
- "initialGzipBytes": 173493,
2
+ "version": "0.39.4",
3
+ "initialGzipBytes": 173495,
4
4
  "initialRawBytes": 579331,
5
5
  "initialFileCount": 48,
6
- "lazyGzipBytes": 414588,
7
- "lazyRawBytes": 1468588,
6
+ "lazyGzipBytes": 414611,
7
+ "lazyRawBytes": 1468646,
8
8
  "lazyFileCount": 82,
9
- "generatedAt": "2026-09-21T11:23:39.075Z"
9
+ "generatedAt": "2026-09-21T16:30:06.378Z"
10
10
  }
@@ -1,6 +1,6 @@
1
1
  import { B as e, E as t, F as n, H as r, I as i, L as a, N as o, O as s, Q as c, R as l, S as u, U as d, at as f, b as p, ct as m, d as h, f as g, g as _, h as v, l as y, lt as ee, m as b, n as te, o as ne, p as x, s as re, u as ie, ut as S, y as ae } from "./draggable-IB4x6w2O.js";
2
2
  import { t as oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { a as se, n as ce, o as le, r as ue, t as de } from "./editor-modal-C-yBlj2C.js";
3
+ import { a as se, n as ce, o as le, r as ue, t as de } from "./editor-modal-zxvWz8R6.js";
4
4
  //#region ../media-library/src/composables/useImageCrop.ts
5
5
  var fe = {
6
6
  free: void 0,
@@ -3349,7 +3349,7 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3349
3349
  ].includes(s.item.mimeType ?? "") : !1), xe = g(() => E.value === "original" ? k.value : fe[E.value]), F = g(() => A.value ? ge(A.value.width, A.value.height, ye.value, be.value) : null);
3350
3350
  e(() => s.visible, (e) => {
3351
3351
  e && s.item && (w.value = s.item.filename ?? "", ve.value = s.item.alt ?? "", E.value = "free", ye.value = void 0, be.value = void 0, D.value = "", O.value = "", k.value = void 0, A.value = null, j.value = !1, N.value = !1, s.item.width && s.item.height && (k.value = s.item.width / s.item.height));
3352
- });
3352
+ }, { immediate: !0 });
3353
3353
  function I(e) {
3354
3354
  e.coordinates && (A.value = {
3355
3355
  width: Math.round(e.coordinates.width),
@@ -3522,8 +3522,8 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3522
3522
  _: 1
3523
3523
  })], 8, ["to"]));
3524
3524
  }
3525
- }), [["__scopeId", "data-v-6fc59551"]]);
3525
+ }), [["__scopeId", "data-v-51052195"]]);
3526
3526
  //#endregion
3527
3527
  export { xn as default };
3528
3528
 
3529
- //# sourceMappingURL=MediaEditModal-BBZRcYKe.js.map
3529
+ //# sourceMappingURL=MediaEditModal-CZBZviu2.js.map