@templatical/media-library 0.10.1 → 0.10.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.
@@ -1,4 +1,4 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as E, _ as D, a as O, at as k, b as ee, c as te, d as ne, et as re, f as A, g as ie, h as ae, i as oe, it as j, j as M, k as N, l as se, m as ce, n as le, nt as ue, o as de, ot as P, p as fe, q as F, r as pe, rt as I, s as me, st as L, t as he, tt as ge, u as _e, v as ve, w as R, x as ye, y as be, z } from "./chunks/icons-DTJIxe9X.js";
1
+ import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as E, _ as D, a as O, at as k, b as ee, c as te, d as ne, et as re, f as A, g as ie, h as ae, i as oe, it as j, j as M, k as N, l as se, m as ce, n as le, nt as ue, o as de, ot as P, p as fe, q as F, r as pe, rt as I, s as me, st as L, t as he, tt as ge, u as _e, v as ve, w as R, x as ye, y as be, z } from "./chunks/icons-BPmya9As.js";
2
2
  //#region ../types/src/config.ts
3
3
  var xe = class extends Error {
4
4
  statusCode;
@@ -4048,7 +4048,7 @@ var Ln = ["data-tpl-theme"], Rn = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, zn
4048
4048
  }, fr = {
4049
4049
  class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium",
4050
4050
  style: { color: "var(--tpl-text-muted)" }
4051
- }, pr = ["placeholder"], mr = { class: "tpl:flex tpl:shrink-0 tpl:justify-end tpl:gap-2 tpl:p-5 tpl:pt-4" }, hr = ["disabled"], gr = /* @__PURE__ */ m({
4051
+ }, pr = ["placeholder"], mr = { class: "tpl:flex tpl:shrink-0 tpl:justify-end tpl:gap-2 tpl:p-5 tpl:pt-4" }, hr = ["disabled"], gr = /*@__PURE__*/ m({
4052
4052
  __name: "MediaEditModal",
4053
4053
  props: {
4054
4054
  visible: { type: Boolean },
@@ -4225,7 +4225,7 @@ var Ln = ["data-tpl-theme"], Rn = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, zn
4225
4225
  let n = e.__vccOpts || e;
4226
4226
  for (let [e, r] of t) n[e] = r;
4227
4227
  return n;
4228
- }, vr = /* @__PURE__ */ _r(gr, [["__scopeId", "data-v-6b677237"]]), yr = {
4228
+ }, vr = /*#__PURE__*/ _r(gr, [["__scopeId", "data-v-6b677237"]]), yr = {
4229
4229
  key: 1,
4230
4230
  class: "tpl:size-4 tpl:shrink-0"
4231
4231
  }, br = {
@@ -5082,7 +5082,7 @@ var pi = { class: "tpl:p-4" }, mi = {
5082
5082
  }, Bi = {
5083
5083
  key: 4,
5084
5084
  class: "tpl:flex tpl:justify-center tpl:py-4"
5085
- }, Vi = /* @__PURE__ */ _r(/* @__PURE__ */ m({
5085
+ }, Vi = /*#__PURE__*/ _r(/* @__PURE__ */ m({
5086
5086
  __name: "MediaGrid",
5087
5087
  props: {
5088
5088
  items: {},
@@ -5395,7 +5395,7 @@ var pi = { class: "tpl:p-4" }, mi = {
5395
5395
  }, fa = {
5396
5396
  class: "tpl:block tpl:text-[10px]",
5397
5397
  style: { color: "var(--tpl-text-muted)" }
5398
- }, pa = ["value"], ma = ["value"], ha = /* @__PURE__ */ _r(/* @__PURE__ */ m({
5398
+ }, pa = ["value"], ma = ["value"], ha = /*#__PURE__*/ _r(/* @__PURE__ */ m({
5399
5399
  __name: "MediaPreviewPanel",
5400
5400
  props: {
5401
5401
  item: {},
@@ -6789,7 +6789,7 @@ function Bo(e) {
6789
6789
  }
6790
6790
  async function Vo(e) {
6791
6791
  let t = Bo(e);
6792
- return (await Fo(/* @__PURE__ */ Object.assign({
6792
+ return (await Fo(/* #__PURE__ */ Object.assign({
6793
6793
  "./locales/de.ts": () => import("./chunks/de-ByQyu2jv.js"),
6794
6794
  "./locales/en.ts": () => import("./chunks/en-B-xajqfh.js"),
6795
6795
  "./locales/pt-BR.ts": () => import("./chunks/pt-BR-C0Hzc26R.js")
@@ -650,7 +650,7 @@ var Se = Symbol("templaticalMediaPopoverTarget"), Ce = ["data-tpl-theme"], we =
650
650
  }, Qe = {
651
651
  class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium",
652
652
  style: { color: "var(--tpl-text-muted)" }
653
- }, $e = ["placeholder"], et = { class: "tpl:flex tpl:shrink-0 tpl:justify-end tpl:gap-2 tpl:p-5 tpl:pt-4" }, tt = ["disabled"], nt = /* @__PURE__ */ h({
653
+ }, $e = ["placeholder"], et = { class: "tpl:flex tpl:shrink-0 tpl:justify-end tpl:gap-2 tpl:p-5 tpl:pt-4" }, tt = ["disabled"], nt = /*@__PURE__*/ h({
654
654
  __name: "MediaEditModal",
655
655
  props: {
656
656
  visible: { type: Boolean },
@@ -827,7 +827,7 @@ var Se = Symbol("templaticalMediaPopoverTarget"), Ce = ["data-tpl-theme"], we =
827
827
  let n = e.__vccOpts || e;
828
828
  for (let [e, r] of t) n[e] = r;
829
829
  return n;
830
- }, it = /* @__PURE__ */ rt(nt, [["__scopeId", "data-v-6b677237"]]), at = {
830
+ }, it = /*#__PURE__*/ rt(nt, [["__scopeId", "data-v-6b677237"]]), at = {
831
831
  key: 1,
832
832
  class: "tpl:size-4 tpl:shrink-0"
833
833
  }, ot = {
@@ -1280,7 +1280,7 @@ var Se = Symbol("templaticalMediaPopoverTarget"), Ce = ["data-tpl-theme"], we =
1280
1280
  }, qt = {
1281
1281
  key: 4,
1282
1282
  class: "tpl:flex tpl:justify-center tpl:py-4"
1283
- }, Jt = /* @__PURE__ */ rt(/* @__PURE__ */ h({
1283
+ }, Jt = /*#__PURE__*/ rt(/* @__PURE__ */ h({
1284
1284
  __name: "MediaGrid",
1285
1285
  props: {
1286
1286
  items: {},
@@ -1593,7 +1593,7 @@ var Se = Symbol("templaticalMediaPopoverTarget"), Ce = ["data-tpl-theme"], we =
1593
1593
  }, bn = {
1594
1594
  class: "tpl:block tpl:text-[10px]",
1595
1595
  style: { color: "var(--tpl-text-muted)" }
1596
- }, xn = ["value"], Sn = ["value"], Cn = /* @__PURE__ */ rt(/* @__PURE__ */ h({
1596
+ }, xn = ["value"], Sn = ["value"], Cn = /*#__PURE__*/ rt(/* @__PURE__ */ h({
1597
1597
  __name: "MediaPreviewPanel",
1598
1598
  props: {
1599
1599
  item: {},
@@ -3017,7 +3017,7 @@ function Li(e) {
3017
3017
  }
3018
3018
  async function Ri(e) {
3019
3019
  let t = Li(e);
3020
- return (await Mi(/* @__PURE__ */ Object.assign({
3020
+ return (await Mi(/* #__PURE__ */ Object.assign({
3021
3021
  "./locales/de.ts": () => import("./de-ByQyu2jv.js"),
3022
3022
  "./locales/en.ts": () => import("./en-B-xajqfh.js"),
3023
3023
  "./locales/pt-BR.ts": () => import("./pt-BR-C0Hzc26R.js")
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@templatical/media-library",
3
3
  "description": "Media library management for Templatical email editor",
4
- "version": "0.10.1",
4
+ "version": "0.10.2",
5
5
  "bugs": "https://github.com/templatical/sdk/issues",
6
6
  "dependencies": {
7
7
  "@lucide/vue": "^1.17.0",
8
8
  "@vueuse/core": "^14.3.0",
9
9
  "vue-advanced-cropper": "^2.8.9",
10
- "@templatical/core": "0.10.1",
11
- "@templatical/types": "0.10.1"
10
+ "@templatical/core": "0.10.2",
11
+ "@templatical/types": "0.10.2"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@vitejs/plugin-vue": "^6.0.7",
15
- "@vue/test-utils": "^2.4.10",
15
+ "@vue/test-utils": "^2.4.11",
16
16
  "typescript": "^6.0.3",
17
- "vite": "^8.0.14",
18
- "vitest": "^4.1.7",
17
+ "vite": "^8.0.16",
18
+ "vitest": "^4.1.8",
19
19
  "vue": "^3.5.35",
20
- "vue-tsc": "^3.3.2"
20
+ "vue-tsc": "^3.3.4"
21
21
  },
22
22
  "exports": {
23
23
  ".": {