@templatical/media-library 0.12.1 → 0.14.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/cdn/chunks/{icons-z3cCPQd8.js → icons-CbIgFLAS.js} +55 -46
- package/dist/cdn/chunks/{icons-z3cCPQd8.js.map → icons-CbIgFLAS.js.map} +1 -1
- package/dist/cdn/media-library.js +100 -98
- package/dist/cdn/media-library.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/templatical-media-library.js +7 -5
- package/package.json +7 -7
|
@@ -1109,7 +1109,13 @@ var Rn = /* @__PURE__ */ new WeakMap(), zn = /* @__PURE__ */ Symbol("_vte"), Bn
|
|
|
1109
1109
|
r && (o !== "svg" && Un(r) ? o = "svg" : o !== "mathml" && Wn(r) && (o = "mathml"), i && i.isCE && (i.ce._teleportTargets || (i.ce._teleportTargets = /* @__PURE__ */ new Set())).add(r), n || (b(e, r, a), Xn(e, !1)));
|
|
1110
1110
|
}, S = (e) => {
|
|
1111
1111
|
let t = () => {
|
|
1112
|
-
Rn.get(e) === t
|
|
1112
|
+
if (Rn.get(e) === t) {
|
|
1113
|
+
if (Rn.delete(e), Vn(e.props)) {
|
|
1114
|
+
let t = _(e.el) || n;
|
|
1115
|
+
b(e, t, e.anchor), Xn(e, !0);
|
|
1116
|
+
}
|
|
1117
|
+
x(e);
|
|
1118
|
+
}
|
|
1113
1119
|
};
|
|
1114
1120
|
Rn.set(e, t), q(t, a);
|
|
1115
1121
|
};
|
|
@@ -2110,7 +2116,10 @@ function Wi(e, i) {
|
|
|
2110
2116
|
}
|
|
2111
2117
|
}
|
|
2112
2118
|
}, E = (e, t, n, r, i, a, o, s, c = 0) => {
|
|
2113
|
-
for (let l = c; l < e.length; l++)
|
|
2119
|
+
for (let l = c; l < e.length; l++) {
|
|
2120
|
+
let c = e[l] = s ? Sa(e[l]) : xa(e[l]);
|
|
2121
|
+
v(null, c, t, n, r, i, a, o, s);
|
|
2122
|
+
}
|
|
2114
2123
|
}, ne = (e, n, r, i, a, o, s) => {
|
|
2115
2124
|
let l = n.el = e.el, { patchFlag: u, dynamicChildren: d, dirs: f } = n;
|
|
2116
2125
|
u |= e.patchFlag & 16;
|
|
@@ -2131,8 +2140,8 @@ function Wi(e, i) {
|
|
|
2131
2140
|
}, i);
|
|
2132
2141
|
}, D = (e, t, n, r, i, a, o) => {
|
|
2133
2142
|
for (let s = 0; s < t.length; s++) {
|
|
2134
|
-
let c = e[s], l = t[s];
|
|
2135
|
-
v(c, l,
|
|
2143
|
+
let c = e[s], l = t[s], u = c.el && (c.type === J || !fa(c, l) || c.shapeFlag & 198) ? m(c.el) : n;
|
|
2144
|
+
v(c, l, u, null, r, i, a, o, !0);
|
|
2136
2145
|
}
|
|
2137
2146
|
}, re = (e, n, r, i, a) => {
|
|
2138
2147
|
if (n !== r) {
|
|
@@ -3217,7 +3226,7 @@ function vs(e) {
|
|
|
3217
3226
|
return g(e) ? document.querySelector(e) : e;
|
|
3218
3227
|
}
|
|
3219
3228
|
//#endregion
|
|
3220
|
-
//#region ../../node_modules/.pnpm/@lucide+vue@1.
|
|
3229
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.23.0_vue@3.5.39_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/utils/isEmptyString.mjs
|
|
3221
3230
|
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) => {
|
|
3222
3231
|
let t = Ss(e);
|
|
3223
3232
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
@@ -3231,12 +3240,12 @@ var ys = (e) => e === "", bs = (...e) => e.filter((e, t, n) => !!e && e.trim() !
|
|
|
3231
3240
|
"stroke-width": 2,
|
|
3232
3241
|
"stroke-linecap": "round",
|
|
3233
3242
|
"stroke-linejoin": "round"
|
|
3234
|
-
}, Ts = Symbol("lucide-icons");
|
|
3243
|
+
}, Ts = /* @__PURE__ */ Symbol("lucide-icons");
|
|
3235
3244
|
function Es() {
|
|
3236
3245
|
return An(Ts, {});
|
|
3237
3246
|
}
|
|
3238
3247
|
//#endregion
|
|
3239
|
-
//#region ../../node_modules/.pnpm/@lucide+vue@1.
|
|
3248
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.23.0_vue@3.5.39_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/Icon.mjs
|
|
3240
3249
|
var Ds = ({ name: e, iconNode: t, absoluteStrokeWidth: n, "absolute-stroke-width": r, strokeWidth: i, "stroke-width": a, size: o, color: s, ...c }, { slots: l }) => {
|
|
3241
3250
|
let { size: u, color: d, strokeWidth: f = 2, absoluteStrokeWidth: p = !1, class: m = "" } = Es(), h = qa(() => {
|
|
3242
3251
|
let e = ys(n) || ys(r) || n === !0 || r === !0 || p === !0, t = i || a || f || ws["stroke-width"];
|
|
@@ -3256,43 +3265,13 @@ var Ds = ({ name: e, iconNode: t, absoluteStrokeWidth: n, "absolute-stroke-width
|
|
|
3256
3265
|
...n,
|
|
3257
3266
|
iconNode: t,
|
|
3258
3267
|
name: e
|
|
3259
|
-
}, r.default ? { default: r.default } : void 0), Os = $("
|
|
3260
|
-
["path", {
|
|
3261
|
-
d: "M12 3v18",
|
|
3262
|
-
key: "108xh3"
|
|
3263
|
-
}],
|
|
3264
|
-
["path", {
|
|
3265
|
-
d: "M3 12h18",
|
|
3266
|
-
key: "1i2n21"
|
|
3267
|
-
}],
|
|
3268
|
-
["rect", {
|
|
3269
|
-
x: "3",
|
|
3270
|
-
y: "3",
|
|
3271
|
-
width: "18",
|
|
3272
|
-
height: "18",
|
|
3273
|
-
rx: "2",
|
|
3274
|
-
key: "h1oib"
|
|
3275
|
-
}]
|
|
3276
|
-
]), ks = $("loader-circle", [["path", {
|
|
3277
|
-
d: "M21 12a9 9 0 1 1-6.219-8.56",
|
|
3278
|
-
key: "13zald"
|
|
3279
|
-
}]]), As = $("panel-left", [["rect", {
|
|
3280
|
-
width: "18",
|
|
3281
|
-
height: "18",
|
|
3282
|
-
x: "3",
|
|
3283
|
-
y: "3",
|
|
3284
|
-
rx: "2",
|
|
3285
|
-
key: "afitv7"
|
|
3286
|
-
}], ["path", {
|
|
3287
|
-
d: "M9 3v18",
|
|
3288
|
-
key: "fh3hqa"
|
|
3289
|
-
}]]), js = $("check", [["path", {
|
|
3268
|
+
}, r.default ? { default: r.default } : void 0), Os = $("check", [["path", {
|
|
3290
3269
|
d: "M20 6 9 17l-5-5",
|
|
3291
3270
|
key: "1gmf2c"
|
|
3292
|
-
}]]),
|
|
3271
|
+
}]]), ks = $("chevron-right", [["path", {
|
|
3293
3272
|
d: "m9 18 6-6-6-6",
|
|
3294
3273
|
key: "mthhwq"
|
|
3295
|
-
}]]),
|
|
3274
|
+
}]]), As = $("copy", [["rect", {
|
|
3296
3275
|
width: "14",
|
|
3297
3276
|
height: "14",
|
|
3298
3277
|
x: "8",
|
|
@@ -3303,22 +3282,39 @@ var Ds = ({ name: e, iconNode: t, absoluteStrokeWidth: n, "absolute-stroke-width
|
|
|
3303
3282
|
}], ["path", {
|
|
3304
3283
|
d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",
|
|
3305
3284
|
key: "zix9uf"
|
|
3306
|
-
}]]),
|
|
3285
|
+
}]]), js = $("file", [["path", {
|
|
3307
3286
|
d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
|
|
3308
3287
|
key: "1oefj6"
|
|
3309
3288
|
}], ["path", {
|
|
3310
3289
|
d: "M14 2v5a1 1 0 0 0 1 1h5",
|
|
3311
3290
|
key: "wfsgrz"
|
|
3312
|
-
}]]),
|
|
3291
|
+
}]]), Ms = $("folder", [["path", {
|
|
3313
3292
|
d: "M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",
|
|
3314
3293
|
key: "1kt360"
|
|
3315
|
-
}]]),
|
|
3294
|
+
}]]), Ns = $("grid-2x2", [
|
|
3295
|
+
["path", {
|
|
3296
|
+
d: "M12 3v18",
|
|
3297
|
+
key: "108xh3"
|
|
3298
|
+
}],
|
|
3299
|
+
["path", {
|
|
3300
|
+
d: "M3 12h18",
|
|
3301
|
+
key: "1i2n21"
|
|
3302
|
+
}],
|
|
3303
|
+
["rect", {
|
|
3304
|
+
x: "3",
|
|
3305
|
+
y: "3",
|
|
3306
|
+
width: "18",
|
|
3307
|
+
height: "18",
|
|
3308
|
+
rx: "2",
|
|
3309
|
+
key: "h1oib"
|
|
3310
|
+
}]
|
|
3311
|
+
]), Ps = $("link", [["path", {
|
|
3316
3312
|
d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",
|
|
3317
3313
|
key: "1cjeqo"
|
|
3318
3314
|
}], ["path", {
|
|
3319
3315
|
d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",
|
|
3320
3316
|
key: "19qd67"
|
|
3321
|
-
}]]),
|
|
3317
|
+
}]]), Fs = $("list", [
|
|
3322
3318
|
["path", {
|
|
3323
3319
|
d: "M3 5h.01",
|
|
3324
3320
|
key: "18ugdj"
|
|
@@ -3343,7 +3339,20 @@ var Ds = ({ name: e, iconNode: t, absoluteStrokeWidth: n, "absolute-stroke-width
|
|
|
3343
3339
|
d: "M8 19h13",
|
|
3344
3340
|
key: "m83p4d"
|
|
3345
3341
|
}]
|
|
3346
|
-
]),
|
|
3342
|
+
]), Is = $("loader-circle", [["path", {
|
|
3343
|
+
d: "M21 12a9 9 0 1 1-6.219-8.56",
|
|
3344
|
+
key: "13zald"
|
|
3345
|
+
}]]), Ls = $("panel-left", [["rect", {
|
|
3346
|
+
width: "18",
|
|
3347
|
+
height: "18",
|
|
3348
|
+
x: "3",
|
|
3349
|
+
y: "3",
|
|
3350
|
+
rx: "2",
|
|
3351
|
+
key: "afitv7"
|
|
3352
|
+
}], ["path", {
|
|
3353
|
+
d: "M9 3v18",
|
|
3354
|
+
key: "fh3hqa"
|
|
3355
|
+
}]]), Rs = $("pencil", [["path", {
|
|
3347
3356
|
d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
|
|
3348
3357
|
key: "1a8usu"
|
|
3349
3358
|
}], ["path", {
|
|
@@ -3421,4 +3430,4 @@ var Ds = ({ name: e, iconNode: t, absoluteStrokeWidth: n, "absolute-stroke-width
|
|
|
3421
3430
|
//#endregion
|
|
3422
3431
|
export { Wt as $, la as A, kn as B, us as C, ha as D, qa as E, Ja as F, Pn as G, Hr as H, An as I, Dn as J, Nn as K, wa as L, Z as M, dr as N, ua as O, ka as P, It as Q, Er as R, fs as S, Yn as T, Ir as U, Vr as V, Rr as W, z 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, Lt as et, Ns as f, ks as g, As as h, Vs as i, Jt as it, ya as j, ba as k, Is as l, js as m, Us as n, L as nt, zs as o, ue as ot, Ms as p, En as q, Hs as r, Yt as rt, Rs as s, Se as st, Ws as t, Gt as tt, Fs as u, lo as v, J as w, Do as x, gs as y, ia as z };
|
|
3423
3432
|
|
|
3424
|
-
//# sourceMappingURL=icons-
|
|
3433
|
+
//# sourceMappingURL=icons-CbIgFLAS.js.map
|