@v1nt1248/3nclient-lib 0.2.74 → 0.2.76
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/components/ui3n-badge/ui3n-badge.vue.d.ts +1 -1
- package/dist/components/ui3n-menu/ui3n-menu.vue.d.ts +1 -1
- package/dist/components/ui3n-tooltip/ui3n-tooltip.vue.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/ui3n-components.js +2557 -2552
- package/dist/ui3n-plugins.js +42 -42
- package/dist/ui3n-utils.js +36 -36
- package/package.json +22 -22
- package/src/components/ui3n-drop-files/ui3n-drop-files.vue +10 -1
package/dist/ui3n-plugins.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "pinia";
|
|
2
2
|
import { defineComponent as OI, useCssVars as xo, computed as dA, createElementBlock as bA, openBlock as UA, normalizeStyle as ri, normalizeClass as SA, useCssModule as ni, ref as XA, watch as Vo, onMounted as mB, withDirectives as bo, withKeys as po, createBlock as CI, createCommentVNode as rA, renderSlot as Zo, unref as To, createElementVNode as WB, createVNode as Hi, toDisplayString as bI, createApp as Wo, nextTick as Oo, withModifiers as mo, mergeProps as Rg, toHandlers as Xo, resolveDynamicComponent as vo, withCtx as mC, createTextVNode as XC, h as jo, render as vC } from "vue";
|
|
3
|
-
const Po = Symbol(), CR = {
|
|
3
|
+
const Po = /* @__PURE__ */ Symbol(), CR = {
|
|
4
4
|
install: (C, B) => {
|
|
5
5
|
const { lang: Q, messages: D } = B, i = Object.keys(D) || [], g = (R, a) => {
|
|
6
6
|
let y = D[C.config.globalProperties.$locale][R];
|
|
@@ -303,10 +303,10 @@ var Kg, iE;
|
|
|
303
303
|
function Qw() {
|
|
304
304
|
if (iE) return Kg;
|
|
305
305
|
iE = 1;
|
|
306
|
-
var C = gw(), B = function() {
|
|
306
|
+
var C = gw(), B = (function() {
|
|
307
307
|
var D = /[^.]+$/.exec(C && C.keys && C.keys.IE_PROTO || "");
|
|
308
308
|
return D ? "Symbol(src)_1." + D : "";
|
|
309
|
-
}();
|
|
309
|
+
})();
|
|
310
310
|
function Q(D) {
|
|
311
311
|
return !!B && B in D;
|
|
312
312
|
}
|
|
@@ -448,9 +448,9 @@ var bg, LE;
|
|
|
448
448
|
function PB() {
|
|
449
449
|
if (LE) return bg;
|
|
450
450
|
LE = 1;
|
|
451
|
-
var C = ww(), B = AI(), Q = Object.prototype, D = Q.hasOwnProperty, i = Q.propertyIsEnumerable, g = C(/* @__PURE__ */ function() {
|
|
451
|
+
var C = ww(), B = AI(), Q = Object.prototype, D = Q.hasOwnProperty, i = Q.propertyIsEnumerable, g = C(/* @__PURE__ */ (function() {
|
|
452
452
|
return arguments;
|
|
453
|
-
}()) ? C : function(s) {
|
|
453
|
+
})()) ? C : function(s) {
|
|
454
454
|
return B(s) && D.call(s, "callee") && !i.call(s, "callee");
|
|
455
455
|
};
|
|
456
456
|
return bg = g, bg;
|
|
@@ -494,10 +494,10 @@ function sw() {
|
|
|
494
494
|
hI.exports;
|
|
495
495
|
var JE;
|
|
496
496
|
function _B() {
|
|
497
|
-
return JE || (JE = 1, function(C, B) {
|
|
497
|
+
return JE || (JE = 1, (function(C, B) {
|
|
498
498
|
var Q = uA(), D = sw(), i = B && !B.nodeType && B, g = i && !0 && C && !C.nodeType && C, s = g && g.exports === i, R = s ? Q.Buffer : void 0, a = R ? R.isBuffer : void 0, y = a || D;
|
|
499
499
|
C.exports = y;
|
|
500
|
-
}(hI, hI.exports)), hI.exports;
|
|
500
|
+
})(hI, hI.exports)), hI.exports;
|
|
501
501
|
}
|
|
502
502
|
var Og, KE;
|
|
503
503
|
function Fw() {
|
|
@@ -525,16 +525,16 @@ var UI = { exports: {} };
|
|
|
525
525
|
UI.exports;
|
|
526
526
|
var eE;
|
|
527
527
|
function AC() {
|
|
528
|
-
return eE || (eE = 1, function(C, B) {
|
|
529
|
-
var Q = xi(), D = B && !B.nodeType && B, i = D && !0 && C && !C.nodeType && C, g = i && i.exports === D, s = g && Q.process, R = function() {
|
|
528
|
+
return eE || (eE = 1, (function(C, B) {
|
|
529
|
+
var Q = xi(), D = B && !B.nodeType && B, i = D && !0 && C && !C.nodeType && C, g = i && i.exports === D, s = g && Q.process, R = (function() {
|
|
530
530
|
try {
|
|
531
531
|
var a = i && i.require && i.require("util").types;
|
|
532
532
|
return a || s && s.binding && s.binding("util");
|
|
533
533
|
} catch {
|
|
534
534
|
}
|
|
535
|
-
}();
|
|
535
|
+
})();
|
|
536
536
|
C.exports = R;
|
|
537
|
-
}(UI, UI.exports)), UI.exports;
|
|
537
|
+
})(UI, UI.exports)), UI.exports;
|
|
538
538
|
}
|
|
539
539
|
var Xg, rE;
|
|
540
540
|
function Zi() {
|
|
@@ -569,10 +569,10 @@ var Gw = Rw();
|
|
|
569
569
|
const yw = /* @__PURE__ */ vB(Gw);
|
|
570
570
|
var pI = { exports: {} }, hw = pI.exports, HE;
|
|
571
571
|
function Uw() {
|
|
572
|
-
return HE || (HE = 1, function(C, B) {
|
|
572
|
+
return HE || (HE = 1, (function(C, B) {
|
|
573
573
|
(function(Q, D) {
|
|
574
574
|
C.exports = D();
|
|
575
|
-
})(hw, function() {
|
|
575
|
+
})(hw, (function() {
|
|
576
576
|
var Q = 1e3, D = 6e4, i = 36e5, g = "millisecond", s = "second", R = "minute", a = "hour", y = "day", S = "week", L = "month", e = "quarter", Y = "year", x = "date", v = "Invalid Date", X = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, IA = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, T = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(n) {
|
|
577
577
|
var c = ["th", "st", "nd", "rd"], h = n % 100;
|
|
578
578
|
return "[" + n + (c[(h - 20) % 10] || c[h] || c[0]) + "]";
|
|
@@ -617,13 +617,13 @@ function Uw() {
|
|
|
617
617
|
J.l = K, J.i = r, J.w = function(n, c) {
|
|
618
618
|
return f(n, { locale: c.$L, utc: c.$u, x: c.$x, $offset: c.$offset });
|
|
619
619
|
};
|
|
620
|
-
var wA = function() {
|
|
620
|
+
var wA = (function() {
|
|
621
621
|
function n(h) {
|
|
622
622
|
this.$L = K(h.locale, null, !0), this.parse(h), this.$x = this.$x || h.x || {}, this[oA] = !0;
|
|
623
623
|
}
|
|
624
624
|
var c = n.prototype;
|
|
625
625
|
return c.parse = function(h) {
|
|
626
|
-
this.$d = function(t) {
|
|
626
|
+
this.$d = (function(t) {
|
|
627
627
|
var k = t.date, q = t.utc;
|
|
628
628
|
if (k === null) return /* @__PURE__ */ new Date(NaN);
|
|
629
629
|
if (J.u(k)) return /* @__PURE__ */ new Date();
|
|
@@ -636,7 +636,7 @@ function Uw() {
|
|
|
636
636
|
}
|
|
637
637
|
}
|
|
638
638
|
return new Date(k);
|
|
639
|
-
}(h), this.init();
|
|
639
|
+
})(h), this.init();
|
|
640
640
|
}, c.init = function() {
|
|
641
641
|
var h = this.$d;
|
|
642
642
|
this.$y = h.getFullYear(), this.$M = h.getMonth(), this.$D = h.getDate(), this.$W = h.getDay(), this.$H = h.getHours(), this.$m = h.getMinutes(), this.$s = h.getSeconds(), this.$ms = h.getMilliseconds();
|
|
@@ -723,8 +723,8 @@ function Uw() {
|
|
|
723
723
|
var pA = _ < 12 ? "AM" : "PM";
|
|
724
724
|
return nA ? pA.toLowerCase() : pA;
|
|
725
725
|
};
|
|
726
|
-
return q.replace(IA, function(_, aA) {
|
|
727
|
-
return aA || function(nA) {
|
|
726
|
+
return q.replace(IA, (function(_, aA) {
|
|
727
|
+
return aA || (function(nA) {
|
|
728
728
|
switch (nA) {
|
|
729
729
|
case "YY":
|
|
730
730
|
return String(t.$y).slice(-2);
|
|
@@ -776,8 +776,8 @@ function Uw() {
|
|
|
776
776
|
return d;
|
|
777
777
|
}
|
|
778
778
|
return null;
|
|
779
|
-
}(_) || d.replace(":", "");
|
|
780
|
-
});
|
|
779
|
+
})(_) || d.replace(":", "");
|
|
780
|
+
}));
|
|
781
781
|
}, c.utcOffset = function() {
|
|
782
782
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
783
783
|
}, c.diff = function(h, t, k) {
|
|
@@ -832,26 +832,26 @@ function Uw() {
|
|
|
832
832
|
}, c.toString = function() {
|
|
833
833
|
return this.$d.toUTCString();
|
|
834
834
|
}, n;
|
|
835
|
-
}(), AA = wA.prototype;
|
|
836
|
-
return f.prototype = AA, [["$ms", g], ["$s", s], ["$m", R], ["$H", a], ["$W", y], ["$M", L], ["$y", Y], ["$D", x]].forEach(function(n) {
|
|
835
|
+
})(), AA = wA.prototype;
|
|
836
|
+
return f.prototype = AA, [["$ms", g], ["$s", s], ["$m", R], ["$H", a], ["$W", y], ["$M", L], ["$y", Y], ["$D", x]].forEach((function(n) {
|
|
837
837
|
AA[n[1]] = function(c) {
|
|
838
838
|
return this.$g(c, n[0], n[1]);
|
|
839
839
|
};
|
|
840
|
-
}), f.extend = function(n, c) {
|
|
840
|
+
})), f.extend = function(n, c) {
|
|
841
841
|
return n.$i || (n(c, wA, f), n.$i = !0), f;
|
|
842
842
|
}, f.locale = K, f.isDayjs = r, f.unix = function(n) {
|
|
843
843
|
return f(1e3 * n);
|
|
844
844
|
}, f.en = $[z], f.Ls = $, f.p = {}, f;
|
|
845
|
-
});
|
|
846
|
-
}(pI)), pI.exports;
|
|
845
|
+
}));
|
|
846
|
+
})(pI)), pI.exports;
|
|
847
847
|
}
|
|
848
848
|
Uw();
|
|
849
849
|
var ZI = { exports: {} }, Nw = ZI.exports, lE;
|
|
850
850
|
function aw() {
|
|
851
|
-
return lE || (lE = 1, function(C, B) {
|
|
851
|
+
return lE || (lE = 1, (function(C, B) {
|
|
852
852
|
(function(Q, D) {
|
|
853
853
|
C.exports = D();
|
|
854
|
-
})(Nw, function() {
|
|
854
|
+
})(Nw, (function() {
|
|
855
855
|
return function(Q, D, i) {
|
|
856
856
|
Q = Q || {};
|
|
857
857
|
var g = D.prototype, s = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
|
|
@@ -887,8 +887,8 @@ function aw() {
|
|
|
887
887
|
return this.from(a(this), y);
|
|
888
888
|
};
|
|
889
889
|
};
|
|
890
|
-
});
|
|
891
|
-
}(ZI)), ZI.exports;
|
|
890
|
+
}));
|
|
891
|
+
})(ZI)), ZI.exports;
|
|
892
892
|
}
|
|
893
893
|
aw();
|
|
894
894
|
var xI = void 0, Mw = function(C) {
|
|
@@ -1987,9 +1987,9 @@ var xI = void 0, Mw = function(C) {
|
|
|
1987
1987
|
var j = w[E[b]];
|
|
1988
1988
|
j ? (U === 0 && (U = RI()), G[b] = j(o[b])) : G[b] = o[b];
|
|
1989
1989
|
}
|
|
1990
|
-
return E = A.apply(null, G), E = function(m) {
|
|
1990
|
+
return E = A.apply(null, G), E = (function(m) {
|
|
1991
1991
|
return U !== 0 && GI(U), I === "string" ? K(m) : I === "boolean" ? !!m : m;
|
|
1992
|
-
}(E);
|
|
1992
|
+
})(E);
|
|
1993
1993
|
}
|
|
1994
1994
|
function fC(A, I, E, o) {
|
|
1995
1995
|
A || (A = this), this.parent = A, this.Ra = A.Ra, this.Va = null, this.id = Io++, this.name = I, this.mode = E, this.Ga = {}, this.Ha = {}, this.rdev = o;
|
|
@@ -2365,13 +2365,13 @@ var xI = void 0, Mw = function(C) {
|
|
|
2365
2365
|
} catch (w) {
|
|
2366
2366
|
return QA("Module.instantiateWasm callback failed with error: " + w), !1;
|
|
2367
2367
|
}
|
|
2368
|
-
return function() {
|
|
2368
|
+
return (function() {
|
|
2369
2369
|
return CA || typeof WebAssembly.instantiateStreaming != "function" || tA() || _.startsWith("file://") || S || typeof fetch != "function" ? E(I) : fetch(_, { credentials: "same-origin" }).then(function(w) {
|
|
2370
2370
|
return WebAssembly.instantiateStreaming(w, o).then(I, function(G) {
|
|
2371
2371
|
return QA("wasm streaming compile failed: " + G), QA("falling back to ArrayBuffer instantiation"), E(I);
|
|
2372
2372
|
});
|
|
2373
2373
|
});
|
|
2374
|
-
}(), {};
|
|
2374
|
+
})(), {};
|
|
2375
2375
|
})(), g.___wasm_call_ctors = function() {
|
|
2376
2376
|
return (g.___wasm_call_ctors = g.asm.J).apply(null, arguments);
|
|
2377
2377
|
}, g._sqlite3_free = function() {
|
|
@@ -2921,7 +2921,7 @@ const rw = {
|
|
|
2921
2921
|
rightPosition: Es
|
|
2922
2922
|
}, is = {
|
|
2923
2923
|
$style: Ds
|
|
2924
|
-
}, os = /* @__PURE__ */ vI(vw, [["__cssModules", is]]), ws = Symbol(), ER = {
|
|
2924
|
+
}, os = /* @__PURE__ */ vI(vw, [["__cssModules", is]]), ws = /* @__PURE__ */ Symbol(), ER = {
|
|
2925
2925
|
install: (C) => {
|
|
2926
2926
|
const B = (Q) => {
|
|
2927
2927
|
const D = document.createElement("div"), i = !Q.teleport || Q.teleport === "body" ? document.body : document.querySelector(Q.teleport), g = Q.duration ?? 1500;
|
|
@@ -2962,7 +2962,7 @@ function ss(C) {
|
|
|
2962
2962
|
});
|
|
2963
2963
|
} };
|
|
2964
2964
|
}
|
|
2965
|
-
const Fs = Symbol(), fA = ss(), fE = {
|
|
2965
|
+
const Fs = /* @__PURE__ */ Symbol(), fA = ss(), fE = {
|
|
2966
2966
|
on: fA.on.bind(fA),
|
|
2967
2967
|
once: (C, B) => {
|
|
2968
2968
|
function Q() {
|
|
@@ -3403,13 +3403,13 @@ var qQ, aD;
|
|
|
3403
3403
|
function Xi() {
|
|
3404
3404
|
if (aD) return qQ;
|
|
3405
3405
|
aD = 1;
|
|
3406
|
-
var C = $A(), B = function() {
|
|
3406
|
+
var C = $A(), B = (function() {
|
|
3407
3407
|
try {
|
|
3408
3408
|
var Q = C(Object, "defineProperty");
|
|
3409
3409
|
return Q({}, "", {}), Q;
|
|
3410
3410
|
} catch {
|
|
3411
3411
|
}
|
|
3412
|
-
}();
|
|
3412
|
+
})();
|
|
3413
3413
|
return qQ = B, qQ;
|
|
3414
3414
|
}
|
|
3415
3415
|
var fQ, MD;
|
|
@@ -3516,7 +3516,7 @@ var NI = { exports: {} };
|
|
|
3516
3516
|
NI.exports;
|
|
3517
3517
|
var YD;
|
|
3518
3518
|
function Xs() {
|
|
3519
|
-
return YD || (YD = 1, function(C, B) {
|
|
3519
|
+
return YD || (YD = 1, (function(C, B) {
|
|
3520
3520
|
var Q = uA(), D = B && !B.nodeType && B, i = D && !0 && C && !C.nodeType && C, g = i && i.exports === D, s = g ? Q.Buffer : void 0, R = s ? s.allocUnsafe : void 0;
|
|
3521
3521
|
function a(y, S) {
|
|
3522
3522
|
if (S)
|
|
@@ -3525,7 +3525,7 @@ function Xs() {
|
|
|
3525
3525
|
return y.copy(e), e;
|
|
3526
3526
|
}
|
|
3527
3527
|
C.exports = a;
|
|
3528
|
-
}(NI, NI.exports)), NI.exports;
|
|
3528
|
+
})(NI, NI.exports)), NI.exports;
|
|
3529
3529
|
}
|
|
3530
3530
|
var TQ, eD;
|
|
3531
3531
|
function vs() {
|
|
@@ -3768,7 +3768,7 @@ var oB, jD;
|
|
|
3768
3768
|
function EF() {
|
|
3769
3769
|
if (jD) return oB;
|
|
3770
3770
|
jD = 1;
|
|
3771
|
-
var C = MI(), B = Object.create, Q = /* @__PURE__ */ function() {
|
|
3771
|
+
var C = MI(), B = Object.create, Q = /* @__PURE__ */ (function() {
|
|
3772
3772
|
function D() {
|
|
3773
3773
|
}
|
|
3774
3774
|
return function(i) {
|
|
@@ -3780,7 +3780,7 @@ function EF() {
|
|
|
3780
3780
|
var g = new D();
|
|
3781
3781
|
return D.prototype = void 0, g;
|
|
3782
3782
|
};
|
|
3783
|
-
}();
|
|
3783
|
+
})();
|
|
3784
3784
|
return oB = Q, oB;
|
|
3785
3785
|
}
|
|
3786
3786
|
var wB, PD;
|
|
@@ -4460,7 +4460,7 @@ const pF = ["id"], ZF = /* @__PURE__ */ OI({
|
|
|
4460
4460
|
bothBtns: _F
|
|
4461
4461
|
}, AR = {
|
|
4462
4462
|
$style: $F
|
|
4463
|
-
}, IR = /* @__PURE__ */ vI(ZF, [["__cssModules", AR]]), gR = Symbol(), iR = {
|
|
4463
|
+
}, IR = /* @__PURE__ */ vI(ZF, [["__cssModules", AR]]), gR = /* @__PURE__ */ Symbol(), iR = {
|
|
4464
4464
|
install: (C) => {
|
|
4465
4465
|
let B = {};
|
|
4466
4466
|
const Q = (g) => {
|
package/dist/ui3n-utils.js
CHANGED
|
@@ -743,9 +743,9 @@ Object.freeze(yg);
|
|
|
743
743
|
function PB() {
|
|
744
744
|
}
|
|
745
745
|
function CE(E, C, i) {
|
|
746
|
-
return (...s) => E.startOrChain(
|
|
746
|
+
return ((...s) => E.startOrChain(
|
|
747
747
|
() => i.apply(C, s)
|
|
748
|
-
);
|
|
748
|
+
));
|
|
749
749
|
}
|
|
750
750
|
class OQ {
|
|
751
751
|
/**
|
|
@@ -845,9 +845,9 @@ Object.freeze(jQ);
|
|
|
845
845
|
function zB() {
|
|
846
846
|
}
|
|
847
847
|
function _B() {
|
|
848
|
-
return "scheduler" in window && "yield" in scheduler ? scheduler.yield() : new Promise((E) => {
|
|
848
|
+
return "scheduler" in window && "yield" in scheduler ? scheduler.yield() : new Promise(((E) => {
|
|
849
849
|
setTimeout(E, 0);
|
|
850
|
-
});
|
|
850
|
+
}));
|
|
851
851
|
}
|
|
852
852
|
class EE {
|
|
853
853
|
maxNumberOfRunners = 0;
|
|
@@ -1091,10 +1091,10 @@ var TI, NQ;
|
|
|
1091
1091
|
function wC() {
|
|
1092
1092
|
if (NQ) return TI;
|
|
1093
1093
|
NQ = 1;
|
|
1094
|
-
var E = oC(), C = function() {
|
|
1094
|
+
var E = oC(), C = (function() {
|
|
1095
1095
|
var s = /[^.]+$/.exec(E && E.keys && E.keys.IE_PROTO || "");
|
|
1096
1096
|
return s ? "Symbol(src)_1." + s : "";
|
|
1097
|
-
}();
|
|
1097
|
+
})();
|
|
1098
1098
|
function i(s) {
|
|
1099
1099
|
return !!C && C in s;
|
|
1100
1100
|
}
|
|
@@ -1236,9 +1236,9 @@ var Cg, lQ;
|
|
|
1236
1236
|
function NC() {
|
|
1237
1237
|
if (lQ) return Cg;
|
|
1238
1238
|
lQ = 1;
|
|
1239
|
-
var E = cC(), C = cg(), i = Object.prototype, s = i.hasOwnProperty, w = i.propertyIsEnumerable, Q = E(/* @__PURE__ */ function() {
|
|
1239
|
+
var E = cC(), C = cg(), i = Object.prototype, s = i.hasOwnProperty, w = i.propertyIsEnumerable, Q = E(/* @__PURE__ */ (function() {
|
|
1240
1240
|
return arguments;
|
|
1241
|
-
}()) ? E : function(N) {
|
|
1241
|
+
})()) ? E : function(N) {
|
|
1242
1242
|
return C(N) && s.call(N, "callee") && !w.call(N, "callee");
|
|
1243
1243
|
};
|
|
1244
1244
|
return Cg = Q, Cg;
|
|
@@ -1282,10 +1282,10 @@ function LC() {
|
|
|
1282
1282
|
OA.exports;
|
|
1283
1283
|
var fQ;
|
|
1284
1284
|
function kC() {
|
|
1285
|
-
return fQ || (fQ = 1, function(E, C) {
|
|
1285
|
+
return fQ || (fQ = 1, (function(E, C) {
|
|
1286
1286
|
var i = rA(), s = LC(), w = C && !C.nodeType && C, Q = w && !0 && E && !E.nodeType && E, N = Q && Q.exports === w, S = N ? i.Buffer : void 0, H = S ? S.isBuffer : void 0, k = H || s;
|
|
1287
1287
|
E.exports = k;
|
|
1288
|
-
}(OA, OA.exports)), OA.exports;
|
|
1288
|
+
})(OA, OA.exports)), OA.exports;
|
|
1289
1289
|
}
|
|
1290
1290
|
var wg, qQ;
|
|
1291
1291
|
function SC() {
|
|
@@ -1313,16 +1313,16 @@ var jA = { exports: {} };
|
|
|
1313
1313
|
jA.exports;
|
|
1314
1314
|
var bQ;
|
|
1315
1315
|
function eC() {
|
|
1316
|
-
return bQ || (bQ = 1, function(E, C) {
|
|
1317
|
-
var i = PQ(), s = C && !C.nodeType && C, w = s && !0 && E && !E.nodeType && E, Q = w && w.exports === s, N = Q && i.process, S = function() {
|
|
1316
|
+
return bQ || (bQ = 1, (function(E, C) {
|
|
1317
|
+
var i = PQ(), s = C && !C.nodeType && C, w = s && !0 && E && !E.nodeType && E, Q = w && w.exports === s, N = Q && i.process, S = (function() {
|
|
1318
1318
|
try {
|
|
1319
1319
|
var H = w && w.require && w.require("util").types;
|
|
1320
1320
|
return H || N && N.binding && N.binding("util");
|
|
1321
1321
|
} catch {
|
|
1322
1322
|
}
|
|
1323
|
-
}();
|
|
1323
|
+
})();
|
|
1324
1324
|
E.exports = S;
|
|
1325
|
-
}(jA, jA.exports)), jA.exports;
|
|
1325
|
+
})(jA, jA.exports)), jA.exports;
|
|
1326
1326
|
}
|
|
1327
1327
|
var ag, VQ;
|
|
1328
1328
|
function KC() {
|
|
@@ -2644,10 +2644,10 @@ function NE(E) {
|
|
|
2644
2644
|
}
|
|
2645
2645
|
var RI = { exports: {} }, lC = RI.exports, ZQ;
|
|
2646
2646
|
function pC() {
|
|
2647
|
-
return ZQ || (ZQ = 1, function(E, C) {
|
|
2647
|
+
return ZQ || (ZQ = 1, (function(E, C) {
|
|
2648
2648
|
(function(i, s) {
|
|
2649
2649
|
E.exports = s();
|
|
2650
|
-
})(lC, function() {
|
|
2650
|
+
})(lC, (function() {
|
|
2651
2651
|
var i = 1e3, s = 6e4, w = 36e5, Q = "millisecond", N = "second", S = "minute", H = "hour", k = "day", f = "week", p = "month", O = "quarter", Y = "year", v = "date", P = "Invalid Date", IA = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, sA = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, QA = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(L) {
|
|
2652
2652
|
var c = ["th", "st", "nd", "rd"], F = L % 100;
|
|
2653
2653
|
return "[" + L + (c[(F - 20) % 10] || c[F] || c[0]) + "]";
|
|
@@ -2692,13 +2692,13 @@ function pC() {
|
|
|
2692
2692
|
M.l = W, M.i = EA, M.w = function(L, c) {
|
|
2693
2693
|
return b(L, { locale: c.$L, utc: c.$u, x: c.$x, $offset: c.$offset });
|
|
2694
2694
|
};
|
|
2695
|
-
var cA = function() {
|
|
2695
|
+
var cA = (function() {
|
|
2696
2696
|
function L(F) {
|
|
2697
2697
|
this.$L = W(F.locale, null, !0), this.parse(F), this.$x = this.$x || F.x || {}, this[GA] = !0;
|
|
2698
2698
|
}
|
|
2699
2699
|
var c = L.prototype;
|
|
2700
2700
|
return c.parse = function(F) {
|
|
2701
|
-
this.$d = function(y) {
|
|
2701
|
+
this.$d = (function(y) {
|
|
2702
2702
|
var U = y.date, J = y.utc;
|
|
2703
2703
|
if (U === null) return /* @__PURE__ */ new Date(NaN);
|
|
2704
2704
|
if (M.u(U)) return /* @__PURE__ */ new Date();
|
|
@@ -2711,7 +2711,7 @@ function pC() {
|
|
|
2711
2711
|
}
|
|
2712
2712
|
}
|
|
2713
2713
|
return new Date(U);
|
|
2714
|
-
}(F), this.init();
|
|
2714
|
+
})(F), this.init();
|
|
2715
2715
|
}, c.init = function() {
|
|
2716
2716
|
var F = this.$d;
|
|
2717
2717
|
this.$y = F.getFullYear(), this.$M = F.getMonth(), this.$D = F.getDate(), this.$W = F.getDay(), this.$H = F.getHours(), this.$m = F.getMinutes(), this.$s = F.getSeconds(), this.$ms = F.getMilliseconds();
|
|
@@ -2798,8 +2798,8 @@ function pC() {
|
|
|
2798
2798
|
var dA = V < 12 ? "AM" : "PM";
|
|
2799
2799
|
return JA ? dA.toLowerCase() : dA;
|
|
2800
2800
|
};
|
|
2801
|
-
return J.replace(sA, function(V, yA) {
|
|
2802
|
-
return yA || function(JA) {
|
|
2801
|
+
return J.replace(sA, (function(V, yA) {
|
|
2802
|
+
return yA || (function(JA) {
|
|
2803
2803
|
switch (JA) {
|
|
2804
2804
|
case "YY":
|
|
2805
2805
|
return String(y.$y).slice(-2);
|
|
@@ -2851,8 +2851,8 @@ function pC() {
|
|
|
2851
2851
|
return K;
|
|
2852
2852
|
}
|
|
2853
2853
|
return null;
|
|
2854
|
-
}(V) || K.replace(":", "");
|
|
2855
|
-
});
|
|
2854
|
+
})(V) || K.replace(":", "");
|
|
2855
|
+
}));
|
|
2856
2856
|
}, c.utcOffset = function() {
|
|
2857
2857
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
2858
2858
|
}, c.diff = function(F, y, U) {
|
|
@@ -2907,27 +2907,27 @@ function pC() {
|
|
|
2907
2907
|
}, c.toString = function() {
|
|
2908
2908
|
return this.$d.toUTCString();
|
|
2909
2909
|
}, L;
|
|
2910
|
-
}(), Z = cA.prototype;
|
|
2911
|
-
return b.prototype = Z, [["$ms", Q], ["$s", N], ["$m", S], ["$H", H], ["$W", k], ["$M", p], ["$y", Y], ["$D", v]].forEach(function(L) {
|
|
2910
|
+
})(), Z = cA.prototype;
|
|
2911
|
+
return b.prototype = Z, [["$ms", Q], ["$s", N], ["$m", S], ["$H", H], ["$W", k], ["$M", p], ["$y", Y], ["$D", v]].forEach((function(L) {
|
|
2912
2912
|
Z[L[1]] = function(c) {
|
|
2913
2913
|
return this.$g(c, L[0], L[1]);
|
|
2914
2914
|
};
|
|
2915
|
-
}), b.extend = function(L, c) {
|
|
2915
|
+
})), b.extend = function(L, c) {
|
|
2916
2916
|
return L.$i || (L(c, cA, b), L.$i = !0), b;
|
|
2917
2917
|
}, b.locale = W, b.isDayjs = EA, b.unix = function(L) {
|
|
2918
2918
|
return b(1e3 * L);
|
|
2919
2919
|
}, b.en = z[X], b.Ls = z, b.p = {}, b;
|
|
2920
|
-
});
|
|
2921
|
-
}(RI)), RI.exports;
|
|
2920
|
+
}));
|
|
2921
|
+
})(RI)), RI.exports;
|
|
2922
2922
|
}
|
|
2923
2923
|
var dC = pC();
|
|
2924
2924
|
const Rg = /* @__PURE__ */ Ug(dC);
|
|
2925
2925
|
var hI = { exports: {} }, uC = hI.exports, WQ;
|
|
2926
2926
|
function xC() {
|
|
2927
|
-
return WQ || (WQ = 1, function(E, C) {
|
|
2927
|
+
return WQ || (WQ = 1, (function(E, C) {
|
|
2928
2928
|
(function(i, s) {
|
|
2929
2929
|
E.exports = s();
|
|
2930
|
-
})(uC, function() {
|
|
2930
|
+
})(uC, (function() {
|
|
2931
2931
|
return function(i, s, w) {
|
|
2932
2932
|
i = i || {};
|
|
2933
2933
|
var Q = s.prototype, N = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
|
|
@@ -2963,8 +2963,8 @@ function xC() {
|
|
|
2963
2963
|
return this.from(H(this), k);
|
|
2964
2964
|
};
|
|
2965
2965
|
};
|
|
2966
|
-
});
|
|
2967
|
-
}(hI)), hI.exports;
|
|
2966
|
+
}));
|
|
2967
|
+
})(hI)), hI.exports;
|
|
2968
2968
|
}
|
|
2969
2969
|
var fC = xC();
|
|
2970
2970
|
const qC = /* @__PURE__ */ Ug(fC);
|
|
@@ -4496,9 +4496,9 @@ var aI = void 0, PC = function(E) {
|
|
|
4496
4496
|
var q = D[g[n]];
|
|
4497
4497
|
q ? (R === 0 && (R = ZA()), a[n] = q(B[n])) : a[n] = B[n];
|
|
4498
4498
|
}
|
|
4499
|
-
return g = A.apply(null, a), g = function(x) {
|
|
4499
|
+
return g = A.apply(null, a), g = (function(x) {
|
|
4500
4500
|
return R !== 0 && WA(R), I === "string" ? W(x) : I === "boolean" ? !!x : x;
|
|
4501
|
-
}(g);
|
|
4501
|
+
})(g);
|
|
4502
4502
|
}
|
|
4503
4503
|
function Pg(A, I, g, B) {
|
|
4504
4504
|
A || (A = this), this.parent = A, this.Ra = A.Ra, this.Va = null, this.id = DB++, this.name = I, this.mode = g, this.Ga = {}, this.Ha = {}, this.rdev = B;
|
|
@@ -4874,13 +4874,13 @@ var aI = void 0, PC = function(E) {
|
|
|
4874
4874
|
} catch (D) {
|
|
4875
4875
|
return BA("Module.instantiateWasm callback failed with error: " + D), !1;
|
|
4876
4876
|
}
|
|
4877
|
-
return function() {
|
|
4877
|
+
return (function() {
|
|
4878
4878
|
return CA || typeof WebAssembly.instantiateStreaming != "function" || NA() || V.startsWith("file://") || f || typeof fetch != "function" ? g(I) : fetch(V, { credentials: "same-origin" }).then(function(D) {
|
|
4879
4879
|
return WebAssembly.instantiateStreaming(D, B).then(I, function(a) {
|
|
4880
4880
|
return BA("wasm streaming compile failed: " + a), BA("falling back to ArrayBuffer instantiation"), g(I);
|
|
4881
4881
|
});
|
|
4882
4882
|
});
|
|
4883
|
-
}(), {};
|
|
4883
|
+
})(), {};
|
|
4884
4884
|
})(), Q.___wasm_call_ctors = function() {
|
|
4885
4885
|
return (Q.___wasm_call_ctors = Q.asm.J).apply(null, arguments);
|
|
4886
4886
|
}, Q._sqlite3_free = function() {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@v1nt1248/3nclient-lib",
|
|
3
3
|
"license": "AGPL-3.0-or-later",
|
|
4
4
|
"author": "v1nt1248",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.76",
|
|
6
6
|
"description": "Library for 3NWeb clients",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"files": [
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"pinia": "3.0.4",
|
|
64
|
-
"vue": "3.5.
|
|
64
|
+
"vue": "3.5.25"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@eslint/eslintrc": "^3.3.1",
|
|
@@ -69,45 +69,45 @@
|
|
|
69
69
|
"@types/lodash": "4.17.20",
|
|
70
70
|
"@types/node": "22.19.1",
|
|
71
71
|
"@types/sanitize-html": "2.16.0",
|
|
72
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
73
|
-
"@typescript-eslint/parser": "8.
|
|
74
|
-
"@vitejs/plugin-vue": "6.0.
|
|
75
|
-
"@vue/compiler-core": "3.5.
|
|
72
|
+
"@typescript-eslint/eslint-plugin": "8.50.0",
|
|
73
|
+
"@typescript-eslint/parser": "8.50.0",
|
|
74
|
+
"@vitejs/plugin-vue": "6.0.3",
|
|
75
|
+
"@vue/compiler-core": "3.5.25",
|
|
76
76
|
"@vue/eslint-config-typescript": "14.6.0",
|
|
77
|
-
"@vue/runtime-core": "3.5.
|
|
77
|
+
"@vue/runtime-core": "3.5.25",
|
|
78
78
|
"@vuedx/typescript-plugin-vue": "0.7.6",
|
|
79
|
-
"eslint": "9.39.
|
|
79
|
+
"eslint": "9.39.2",
|
|
80
80
|
"eslint-config-prettier": "10.1.8",
|
|
81
81
|
"eslint-plugin-import": "2.32.0",
|
|
82
82
|
"eslint-plugin-node": "11.1.0",
|
|
83
|
-
"eslint-plugin-prettier": "
|
|
83
|
+
"eslint-plugin-prettier": "5.5.4",
|
|
84
84
|
"eslint-plugin-promise": "7.2.1",
|
|
85
|
-
"eslint-plugin-vue": "10.
|
|
86
|
-
"globals": "
|
|
85
|
+
"eslint-plugin-vue": "10.6.2",
|
|
86
|
+
"globals": "16.5.0",
|
|
87
87
|
"jackspeak": "4.1.1",
|
|
88
88
|
"path": "0.12.7",
|
|
89
89
|
"pinia": "3.0.4",
|
|
90
90
|
"postcss-html": "1.8.0",
|
|
91
|
-
"prettier": "
|
|
92
|
-
"sass": "1.
|
|
93
|
-
"stylelint": "16.
|
|
91
|
+
"prettier": "3.7.4",
|
|
92
|
+
"sass": "1.97.0",
|
|
93
|
+
"stylelint": "16.26.1",
|
|
94
94
|
"stylelint-config-recommended-scss": "16.0.2",
|
|
95
95
|
"stylelint-config-recommended-vue": "1.6.1",
|
|
96
96
|
"stylelint-config-standard": "39.0.1",
|
|
97
|
-
"stylelint-scss": "6.
|
|
97
|
+
"stylelint-scss": "6.13.0",
|
|
98
98
|
"tslib": "2.8.1",
|
|
99
99
|
"typescript": "5.9.3",
|
|
100
|
-
"typescript-eslint": "
|
|
101
|
-
"vite": "7.
|
|
100
|
+
"typescript-eslint": "8.50.0",
|
|
101
|
+
"vite": "7.3.0",
|
|
102
102
|
"vite-plugin-css-injected-by-js": "3.5.2",
|
|
103
103
|
"vite-plugin-dts": "4.5.4",
|
|
104
|
-
"vite-plugin-vue-devtools": "
|
|
104
|
+
"vite-plugin-vue-devtools": "8.0.5",
|
|
105
105
|
"vitepress": "1.6.4",
|
|
106
|
-
"vue": "3.5.
|
|
107
|
-
"vue-eslint-parser": "
|
|
108
|
-
"vue-tsc": "3.1.
|
|
106
|
+
"vue": "3.5.25",
|
|
107
|
+
"vue-eslint-parser": "10.2.0",
|
|
108
|
+
"vue-tsc": "3.1.8"
|
|
109
109
|
},
|
|
110
|
-
"packageManager": "pnpm@10.
|
|
110
|
+
"packageManager": "pnpm@10.26.0",
|
|
111
111
|
"pnpm": {
|
|
112
112
|
"peerDependencyRules": {
|
|
113
113
|
"ignoreMissing": [
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { onMounted, ref } from 'vue';
|
|
3
|
+
import { Ui3nResize } from '@/directives';
|
|
3
4
|
import type { Ui3nDropFilesEmits, Ui3nDropFilesProps, Ui3nDropFilesSlots } from './types';
|
|
4
5
|
|
|
6
|
+
const vUi3nResize = Ui3nResize;
|
|
7
|
+
|
|
5
8
|
withDefaults(
|
|
6
9
|
defineProps<Ui3nDropFilesProps>(),
|
|
7
10
|
{
|
|
@@ -53,7 +56,7 @@
|
|
|
53
56
|
isOverDropZone.value = false;
|
|
54
57
|
}
|
|
55
58
|
|
|
56
|
-
|
|
59
|
+
function calcElementsSizes() {
|
|
57
60
|
if (wrapperElement.value) {
|
|
58
61
|
wrapperElementMinSize.value = Math.min(wrapperElement.value.clientHeight, wrapperElement.value.clientWidth);
|
|
59
62
|
wrapperElement.value.style.setProperty('--dropzone-height', `${wrapperElementMinSize.value}px`);
|
|
@@ -65,6 +68,10 @@
|
|
|
65
68
|
}
|
|
66
69
|
wrapperElement.value.style.setProperty('--dropzone-title-font', `${titleFontSize}px`);
|
|
67
70
|
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
onMounted(() => {
|
|
74
|
+
calcElementsSizes();
|
|
68
75
|
});
|
|
69
76
|
</script>
|
|
70
77
|
|
|
@@ -72,6 +79,7 @@
|
|
|
72
79
|
<!-- eslint-disable max-len -->
|
|
73
80
|
<div
|
|
74
81
|
ref="wrapperElement"
|
|
82
|
+
v-ui3n-resize="() => calcElementsSizes()"
|
|
75
83
|
:class="[
|
|
76
84
|
$style.ui3nDropFiles,
|
|
77
85
|
permanentDisplay && $style.ui3nDropFilesWithBorder,
|
|
@@ -176,5 +184,6 @@
|
|
|
176
184
|
.ui3nDropFilesDropzoneAdditional {
|
|
177
185
|
position: relative;
|
|
178
186
|
width: max-content;
|
|
187
|
+
max-width: 100%;
|
|
179
188
|
}
|
|
180
189
|
</style>
|