@templatical/media-library 0.23.0 → 0.24.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.
@@ -35,7 +35,8 @@ function ue(e) {
35
35
  if (i) for (let e in i) t[e] = i[e];
36
36
  }
37
37
  return t;
38
- } else if (g(e) || v(e)) return e;
38
+ }
39
+ if (g(e) || v(e)) return e;
39
40
  }
40
41
  var de = /;(?![^(]*\))/g, fe = /:([^]+)/, pe = /\/\*[^]*?\*\//g;
41
42
  function me(e) {
@@ -85,7 +86,7 @@ function be(e, t) {
85
86
  }
86
87
  var xe = (e) => !!(e && e.__v_isRef === !0), Se = (e) => g(e) ? e : e == null ? "" : d(e) || v(e) && (e.toString === b || !h(e.toString)) ? xe(e) ? Se(e.value) : JSON.stringify(e, Ce, 2) : String(e), Ce = (e, t) => xe(t) ? Ce(e, t.value) : f(t) ? { [`Map(${t.size})`]: [...t.entries()].reduce((e, [t, n], r) => (e[we(t, r) + " =>"] = n, e), {}) } : p(t) ? { [`Set(${t.size})`]: [...t.values()].map((e) => we(e)) } : _(t) ? we(t) : v(t) && !d(t) && !C(t) ? String(t) : t, we = (e, t = "") => _(e) ? `Symbol(${e.description ?? t})` : e, A, Te = class {
87
88
  constructor(e = !1) {
88
- this.detached = e, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this._warnOnRun = !0, this.__v_skip = !0, !e && A && (A.active ? (this.parent = A, this.index = (A.scopes ||= []).push(this) - 1) : (this._active = !1, this._warnOnRun = !1));
89
+ this.detached = e, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this._warnOnRun = !0, this.__v_skip = !0, !e && A && (A.active ? (this.parent = A, this.index = (A.scopes || (A.scopes = [])).push(this) - 1) : (this._active = !1, this._warnOnRun = !1));
89
90
  }
90
91
  get active() {
91
92
  return this._active;
@@ -377,9 +378,7 @@ function et(e, t, n, r, i, a) {
377
378
  case "delete":
378
379
  i || (s(o.get(Ze)), f(e) && s(o.get(Qe)));
379
380
  break;
380
- case "set":
381
- f(e) && s(o.get(Ze));
382
- break;
381
+ case "set": f(e) && s(o.get(Ze));
383
382
  }
384
383
  }
385
384
  Fe();
@@ -1917,7 +1916,7 @@ function Ai(e, t, n, r = !1) {
1917
1916
  let i = {}, a = Oi();
1918
1917
  e.propsDefaults = /* @__PURE__ */ Object.create(null), Mi(e, t, i, a);
1919
1918
  for (let t in e.propsOptions[0]) t in i || (i[t] = void 0);
1920
- n ? e.props = r ? i : /* @__PURE__ */ It(i) : e.type.props ? e.props = i : e.props = a, e.attrs = a;
1919
+ e.props = n ? r ? i : /* @__PURE__ */ It(i) : e.type.props ? i : a, e.attrs = a;
1921
1920
  }
1922
1921
  function ji(e, t, n, r) {
1923
1922
  let { props: i, attrs: a, vnode: { patchFlag: o } } = e, s = /* @__PURE__ */ I(i), [c] = e.propsOptions, l = !1;
@@ -2007,7 +2006,8 @@ function Fi(e, r, i = !1) {
2007
2006
  if (n === "Boolean") {
2008
2007
  a = !0;
2009
2008
  break;
2010
- } else n === "String" && (o = !1);
2009
+ }
2010
+ n === "String" && (o = !1);
2011
2011
  }
2012
2012
  else a = h(i) && i.name === "Boolean";
2013
2013
  r[0] = a, r[1] = o, (a || u(r, "default")) && f.push(t);
@@ -2240,7 +2240,8 @@ function Ki(e, i) {
2240
2240
  if (f & 128) {
2241
2241
  fe(l, d, n, r, i, a, o, s, c);
2242
2242
  return;
2243
- } else if (f & 256) {
2243
+ }
2244
+ if (f & 256) {
2244
2245
  de(l, d, n, r, i, a, o, s, c);
2245
2246
  return;
2246
2247
  }
@@ -3240,7 +3241,7 @@ function vs(e) {
3240
3241
  return g(e) ? document.querySelector(e) : e;
3241
3242
  }
3242
3243
  //#endregion
3243
- //#region ../../node_modules/.pnpm/@lucide+vue@1.27.0_vue@3.5.40_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/utils/isEmptyString.mjs
3244
+ //#region ../../node_modules/.pnpm/@lucide+vue@1.28.0_vue@3.5.40_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/utils/isEmptyString.mjs
3244
3245
  var ys = (e) => e === "", bs = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), xs = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Ss = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), Cs = (e) => {
3245
3246
  let t = Ss(e);
3246
3247
  return t.charAt(0).toUpperCase() + t.slice(1);
@@ -3259,7 +3260,7 @@ function Es() {
3259
3260
  return Mn(Ts, {});
3260
3261
  }
3261
3262
  //#endregion
3262
- //#region ../../node_modules/.pnpm/@lucide+vue@1.27.0_vue@3.5.40_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/Icon.mjs
3263
+ //#region ../../node_modules/.pnpm/@lucide+vue@1.28.0_vue@3.5.40_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/Icon.mjs
3263
3264
  var Ds = ({ name: e, iconNode: t, "icon-node": n, absoluteStrokeWidth: r, "absolute-stroke-width": i, strokeWidth: a, "stroke-width": o, size: s, color: c, ...l }, { slots: u }) => {
3264
3265
  let { size: d, color: f, strokeWidth: p = 2, absoluteStrokeWidth: m = !1, class: h = "" } = Es(), g = qa(() => {
3265
3266
  let e = ys(r) || ys(i) || r === !0 || i === !0 || m === !0, t = a || o || p || ws["stroke-width"];
@@ -3444,4 +3445,4 @@ var Ds = ({ name: e, iconNode: t, "icon-node": n, absoluteStrokeWidth: r, "absol
3444
3445
  //#endregion
3445
3446
  export { Gt as $, da as A, jn as B, us as C, _a as D, qa as E, Ja as F, In as G, Wr as H, Mn as I, kn as J, Fn as K, Ta as L, Y as M, pr as N, fa as O, ka as P, Lt as Q, Or as R, fs as S, Zn as T, Rr as U, Ur as V, Br as W, R as X, Ee as Y, De as Z, Os as _, Bs as a, he as at, ss as b, Ls as c, Ps as d, Rt as et, Ns as f, ks as g, As as h, Vs as i, Yt as it, xa as j, Sa as k, Is as l, js as m, Us as n, I as nt, zs as o, ue as ot, Ms as p, On as q, Hs as r, Xt as rt, Rs as s, Se as st, Ws as t, Kt as tt, Fs as u, lo as v, K as w, Do as x, gs as y, oa as z };
3446
3447
 
3447
- //# sourceMappingURL=icons-C_T1y_t4.js.map
3448
+ //# sourceMappingURL=icons-D2C-Sl7d.js.map