@templatical/media-library 0.44.3 → 0.46.0
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/{MediaEditModal-CO_AVnsB.js → MediaEditModal-Bo3nDMEl.js} +3 -11
- package/dist/cdn/chunks/{MediaEditModal-DTCjSFT_.js → MediaEditModal-Ct0DeGy4.js} +6 -14
- package/dist/cdn/chunks/{MediaEditModal-DTCjSFT_.js.map → MediaEditModal-Ct0DeGy4.js.map} +1 -1
- package/dist/cdn/chunks/{icons-6EkTPJx8.js → icons-CtGTlRRa.js} +14 -36
- package/dist/cdn/chunks/{icons-6EkTPJx8.js.map → icons-CtGTlRRa.js.map} +1 -1
- package/dist/cdn/chunks/{useFocusTrap-Cd2j4q7F.js → useFocusTrap-CHlDIBd_.js} +3 -9
- package/dist/cdn/chunks/{useFocusTrap-Cd2j4q7F.js.map → useFocusTrap-CHlDIBd_.js.map} +1 -1
- package/dist/cdn/media-library.js +9 -23
- package/dist/cdn/media-library.js.map +1 -1
- package/dist/templatical-media-library.js +8 -28
- package/package.json +6 -6
|
@@ -231,11 +231,7 @@ var M, Ae = /* @__PURE__ */ new WeakSet(), je = class {
|
|
|
231
231
|
}
|
|
232
232
|
}, Me = 0, Ne, Pe;
|
|
233
233
|
function Fe(e, t = !1) {
|
|
234
|
-
|
|
235
|
-
e.next = Pe, Pe = e;
|
|
236
|
-
return;
|
|
237
|
-
}
|
|
238
|
-
e.next = Ne, Ne = e;
|
|
234
|
+
e.flags |= 8, t ? (e.next = Pe, Pe = e) : (e.next = Ne, Ne = e);
|
|
239
235
|
}
|
|
240
236
|
function Ie() {
|
|
241
237
|
Me++;
|
|
@@ -1564,11 +1560,7 @@ function Or(e) {
|
|
|
1564
1560
|
}, o)), p().then(() => {
|
|
1565
1561
|
e.isUnmounted || (a.value = !0, e.parent && Ar(e.parent.vnode) && e.parent.update());
|
|
1566
1562
|
}).catch((n) => {
|
|
1567
|
-
|
|
1568
|
-
l = null;
|
|
1569
|
-
return;
|
|
1570
|
-
}
|
|
1571
|
-
t(n), c.value = n;
|
|
1563
|
+
e.isUnmounted ? l = null : (t(n), c.value = n);
|
|
1572
1564
|
}), () => {
|
|
1573
1565
|
if (a.value && u) return kr(u, e);
|
|
1574
1566
|
if (c.value && r) return Z(r, { error: c.value });
|
|
@@ -2475,29 +2467,15 @@ function na(e, i) {
|
|
|
2475
2467
|
}
|
|
2476
2468
|
}, fe = (e, t, n, r, i = null) => {
|
|
2477
2469
|
let { el: a, type: c, transition: l, children: u, shapeFlag: d } = e;
|
|
2478
|
-
if (d & 6)
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
if (d & 128) {
|
|
2483
|
-
e.suspense.move(t, n, r);
|
|
2484
|
-
return;
|
|
2485
|
-
}
|
|
2486
|
-
if (d & 64) {
|
|
2487
|
-
c.move(e, t, n, xe);
|
|
2488
|
-
return;
|
|
2489
|
-
}
|
|
2490
|
-
if (c === J) {
|
|
2470
|
+
if (d & 6) fe(e.component.subTree, t, n, r);
|
|
2471
|
+
else if (d & 128) e.suspense.move(t, n, r);
|
|
2472
|
+
else if (d & 64) c.move(e, t, n, xe);
|
|
2473
|
+
else if (c === J) {
|
|
2491
2474
|
o(a, t, n);
|
|
2492
2475
|
for (let e = 0; e < u.length; e++) fe(u[e], t, n, r);
|
|
2493
2476
|
o(e.anchor, t, n);
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
if (c === ma) {
|
|
2497
|
-
S(e, t, n);
|
|
2498
|
-
return;
|
|
2499
|
-
}
|
|
2500
|
-
if (r !== 2 && d & 1 && l) {
|
|
2477
|
+
} else if (c === ma) S(e, t, n);
|
|
2478
|
+
else if (r !== 2 && d & 1 && l) {
|
|
2501
2479
|
if (r === 0) l.persisted && !a[W] ? o(a, t, n) : (l.beforeEnter(a), o(a, t, n), q(() => l.enter(a), i));
|
|
2502
2480
|
else {
|
|
2503
2481
|
let { leave: r, delayLeave: i, afterLeave: c } = l, u = () => {
|
|
@@ -3409,7 +3387,7 @@ function ks(e) {
|
|
|
3409
3387
|
return g(e) ? document.querySelector(e) : e;
|
|
3410
3388
|
}
|
|
3411
3389
|
//#endregion
|
|
3412
|
-
//#region ../../node_modules/.pnpm/@lucide+vue@1.
|
|
3390
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.55.0_vue@3.5.43_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/build/defaultAttributes.mjs
|
|
3413
3391
|
var As = {
|
|
3414
3392
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3415
3393
|
width: 24,
|
|
@@ -3422,7 +3400,7 @@ var As = {
|
|
|
3422
3400
|
"stroke-linejoin": "round"
|
|
3423
3401
|
}, js = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim();
|
|
3424
3402
|
//#endregion
|
|
3425
|
-
//#region ../../node_modules/.pnpm/@lucide+vue@1.
|
|
3403
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.55.0_vue@3.5.43_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/build/buildLucideIconNode.mjs
|
|
3426
3404
|
function Ms(e) {
|
|
3427
3405
|
return e != null;
|
|
3428
3406
|
}
|
|
@@ -3459,7 +3437,7 @@ function Ns(e, t = {}) {
|
|
|
3459
3437
|
];
|
|
3460
3438
|
}
|
|
3461
3439
|
//#endregion
|
|
3462
|
-
//#region ../../node_modules/.pnpm/@lucide+vue@1.
|
|
3440
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.55.0_vue@3.5.43_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/utils/hasA11yProp.mjs
|
|
3463
3441
|
var Ps = (e) => {
|
|
3464
3442
|
for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
|
|
3465
3443
|
return !1;
|
|
@@ -3468,7 +3446,7 @@ function Rs() {
|
|
|
3468
3446
|
return Rn(Ls, {});
|
|
3469
3447
|
}
|
|
3470
3448
|
//#endregion
|
|
3471
|
-
//#region ../../node_modules/.pnpm/@lucide+vue@1.
|
|
3449
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.55.0_vue@3.5.43_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/Icon.mjs
|
|
3472
3450
|
var zs = ({ name: e, iconNode: t, "icon-node": n, icon: r = {
|
|
3473
3451
|
name: e && Is(e),
|
|
3474
3452
|
node: t ?? n ?? [],
|
|
@@ -3491,7 +3469,7 @@ var zs = ({ name: e, iconNode: t, "icon-node": n, icon: r = {
|
|
|
3491
3469
|
return io("svg", T, [...E.map(([e, t]) => io(e, t)), ...w ?? []]);
|
|
3492
3470
|
};
|
|
3493
3471
|
//#endregion
|
|
3494
|
-
//#region ../../node_modules/.pnpm/@lucide+vue@1.
|
|
3472
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.55.0_vue@3.5.43_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/createLucideIcon.mjs
|
|
3495
3473
|
function $(e, t = []) {
|
|
3496
3474
|
let n = typeof e == "string" ? {
|
|
3497
3475
|
name: e,
|
|
@@ -3749,4 +3727,4 @@ var Bs = $({
|
|
|
3749
3727
|
//#endregion
|
|
3750
3728
|
export { B as $, Ma as A, Vr as B, Cs as C, ro as D, rr as E, yr as F, ei as G, ga as H, Va as I, Hn as J, Jr as K, io as L, ja as M, Z as N, Da as O, Or as P, Oe as Q, Rn as R, Lo as S, J as T, Ln as U, Rr as V, $r as W, Pn as X, Vn as Y, Fn as Z, Vs as _, $s as a, R as at, Ds as b, Xs as c, Zt as ct, qs as d, we as dt, ke as et, Ks as f, Hs as g, Us as h, ec as i, Jt as it, xa as j, Sa as k, Ys as l, me as lt, Ws as m, nc as n, qt as nt, Qs as o, rn as ot, Gs as p, Xr as q, tc as r, Vt as rt, Zs as s, Qt as st, rc as t, Bt as tt, Js as u, le as ut, Bs as v, xs as w, vs as x, bo as y, Ia as z };
|
|
3751
3729
|
|
|
3752
|
-
//# sourceMappingURL=icons-
|
|
3730
|
+
//# sourceMappingURL=icons-CtGTlRRa.js.map
|