nicklabs-ui 1.0.13 → 1.0.14
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/index.mjs +114 -114
- package/dist/src/components/NAlert.vue.d.ts +1 -1
- package/dist/src/components/NButton.vue.d.ts +1 -1
- package/dist/src/components/NCheckbox.vue.d.ts +3 -3
- package/dist/src/components/NCode.vue.d.ts +1 -1
- package/dist/src/components/NDatePicker.vue.d.ts +3 -3
- package/dist/src/components/NEmpty.vue.d.ts +1 -1
- package/dist/src/components/NFileSelect.vue.d.ts +3 -3
- package/dist/src/components/NForm.vue.d.ts +3 -3
- package/dist/src/components/NInput.vue.d.ts +3 -3
- package/dist/src/components/NLoading.vue.d.ts +1 -1
- package/dist/src/components/NModal.vue.d.ts +3 -3
- package/dist/src/components/NSelect.vue.d.ts +3 -3
- package/dist/src/components/NSwitch.vue.d.ts +3 -3
- package/dist/src/components/NTag.vue.d.ts +3 -3
- package/dist/src/components/NTextarea.vue.d.ts +3 -3
- package/dist/src/components/NToast.vue.d.ts +1 -1
- package/dist/src/components/NTooltip.vue.d.ts +1 -1
- package/dist/src/index.d.ts +53 -0
- package/dist/src/layouts/NBreadcrumb.vue.d.ts +1 -1
- package/dist/src/layouts/NCard.vue.d.ts +1 -1
- package/dist/src/layouts/NHeroSection.vue.d.ts +1 -1
- package/dist/src/layouts/NLayout.vue.d.ts +3 -3
- package/dist/src/layouts/NLoginLayout.vue.d.ts +1 -1
- package/dist/src/layouts/NNavigation.vue.d.ts +3 -3
- package/dist/src/layouts/NPaginate.vue.d.ts +3 -3
- package/dist/src/layouts/NSideFilter.vue.d.ts +3 -3
- package/dist/src/layouts/NSidebar.vue.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -656,7 +656,7 @@ var ie = ["type", "disabled"], ae = /* @__PURE__ */ p({
|
|
|
656
656
|
var t = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
|
|
657
657
|
return Y(240 | t >>> 18 & 7) + Y(128 | t >>> 12 & 63) + Y(128 | t >>> 6 & 63) + Y(128 | t & 63);
|
|
658
658
|
}
|
|
659
|
-
}, Ne = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Pe = (e) => e.replace(Ne, Me),
|
|
659
|
+
}, Ne = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Pe = (e) => e.replace(Ne, Me), Fe = W ? (e) => Buffer.from(e, "utf8").toString("base64") : K ? (e) => je(K.encode(e)) : (e) => Ae(Pe(e)), Ie = (e, t = !1) => t ? Oe(Fe(e)) : Fe(e), Le = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Re = (e) => {
|
|
660
660
|
switch (e.length) {
|
|
661
661
|
case 4:
|
|
662
662
|
var t = ((7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3)) - 65536;
|
|
@@ -664,59 +664,59 @@ var ie = ["type", "disabled"], ae = /* @__PURE__ */ p({
|
|
|
664
664
|
case 3: return Y((15 & e.charCodeAt(0)) << 12 | (63 & e.charCodeAt(1)) << 6 | 63 & e.charCodeAt(2));
|
|
665
665
|
default: return Y((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
|
|
666
666
|
}
|
|
667
|
-
},
|
|
667
|
+
}, ze = (e) => e.replace(Le, Re), Be = typeof atob == "function" ? (e) => atob(ke(e)) : W ? (e) => Buffer.from(e, "base64").toString("binary") : (e) => {
|
|
668
668
|
if (e = e.replace(/\s+/g, ""), !Ee.test(e)) throw TypeError("malformed base64.");
|
|
669
669
|
e += "==".slice(2 - (e.length & 3));
|
|
670
670
|
let t, n, r, i = [];
|
|
671
671
|
for (let a = 0; a < e.length;) t = J[e.charAt(a++)] << 18 | J[e.charAt(a++)] << 12 | (n = J[e.charAt(a++)]) << 6 | (r = J[e.charAt(a++)]), n === 64 ? i.push(Y(t >> 16 & 255)) : r === 64 ? i.push(Y(t >> 16 & 255, t >> 8 & 255)) : i.push(Y(t >> 16 & 255, t >> 8 & 255, t & 255));
|
|
672
672
|
return i.join("");
|
|
673
|
-
},
|
|
674
|
-
let e =
|
|
675
|
-
localStorage.setItem(
|
|
676
|
-
},
|
|
677
|
-
let e = localStorage.getItem(
|
|
673
|
+
}, Ve = W ? (e) => De(Buffer.from(e, "base64")) : (e) => De(Be(e).split("").map((e) => e.charCodeAt(0))), He = W ? (e) => Buffer.from(e, "base64").toString("utf8") : G ? (e) => G.decode(Ve(e)) : (e) => ze(Be(e)), X = (e) => ke(e.replace(/[-_]/g, (e) => e == "-" ? "+" : "/")), Ue = (e) => He(X(e)), We = "N_UTILS_KEY", Z = [], Ge = () => {
|
|
674
|
+
let e = Ie(JSON.stringify(Z));
|
|
675
|
+
localStorage.setItem(We, e);
|
|
676
|
+
}, Ke = () => {
|
|
677
|
+
let e = localStorage.getItem(We) ?? "";
|
|
678
678
|
if (e.length == 0) return [];
|
|
679
679
|
try {
|
|
680
|
-
return JSON.parse(
|
|
680
|
+
return JSON.parse(Ue(e));
|
|
681
681
|
} catch {
|
|
682
682
|
return [];
|
|
683
683
|
}
|
|
684
|
-
},
|
|
685
|
-
|
|
686
|
-
let e =
|
|
684
|
+
}, qe = () => {
|
|
685
|
+
Z.clear();
|
|
686
|
+
let e = Ke(), t = (/* @__PURE__ */ new Date()).getTime();
|
|
687
687
|
e.forEach((e) => {
|
|
688
|
-
e.expireTime && e.expireTime < t ||
|
|
688
|
+
e.expireTime && e.expireTime < t || Z.push({
|
|
689
689
|
key: e.key,
|
|
690
690
|
value: e.value,
|
|
691
691
|
expireTime: e.expireTime
|
|
692
692
|
});
|
|
693
|
-
}),
|
|
694
|
-
},
|
|
695
|
-
|
|
693
|
+
}), Z.length > 0 && Ge();
|
|
694
|
+
}, Je = (e) => (qe(), Z.some((t) => t.key == e)), Ye = (e, t, n) => {
|
|
695
|
+
Ze(e);
|
|
696
696
|
let r = {
|
|
697
697
|
key: e,
|
|
698
698
|
value: t
|
|
699
699
|
};
|
|
700
|
-
n && (r.expireTime = (/* @__PURE__ */ new Date()).getTime() + n * 1e3),
|
|
701
|
-
},
|
|
702
|
-
|
|
703
|
-
let n =
|
|
700
|
+
n && (r.expireTime = (/* @__PURE__ */ new Date()).getTime() + n * 1e3), Z.push(r), Ge();
|
|
701
|
+
}, Xe = (e, t) => {
|
|
702
|
+
qe();
|
|
703
|
+
let n = Z.find((t) => t.key == e);
|
|
704
704
|
return n ? n.value : t;
|
|
705
|
-
},
|
|
706
|
-
|
|
707
|
-
let t =
|
|
708
|
-
t != -1 && (
|
|
709
|
-
},
|
|
710
|
-
set:
|
|
711
|
-
get:
|
|
712
|
-
has:
|
|
713
|
-
forget:
|
|
714
|
-
},
|
|
705
|
+
}, Ze = (e) => {
|
|
706
|
+
qe();
|
|
707
|
+
let t = Z.findIndex((t) => t.key == e);
|
|
708
|
+
t != -1 && (Z.splice(t, 1), Ge());
|
|
709
|
+
}, Qe = {
|
|
710
|
+
set: Ye,
|
|
711
|
+
get: Xe,
|
|
712
|
+
has: Je,
|
|
713
|
+
forget: Ze
|
|
714
|
+
}, $e = { fullScreenToggle: (() => {
|
|
715
715
|
let e = !1;
|
|
716
716
|
return () => {
|
|
717
717
|
e ? document.exitFullscreen() : document.documentElement.requestFullscreen(), e = !e;
|
|
718
718
|
};
|
|
719
|
-
})() },
|
|
719
|
+
})() }, et = {
|
|
720
720
|
random: (e = 5) => Array(e).fill(null).map(() => {
|
|
721
721
|
let e = Math.random() * 62;
|
|
722
722
|
return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".charAt(e);
|
|
@@ -724,9 +724,9 @@ var ie = ["type", "disabled"], ae = /* @__PURE__ */ p({
|
|
|
724
724
|
copy: (e) => {
|
|
725
725
|
navigator.clipboard.writeText(e);
|
|
726
726
|
}
|
|
727
|
-
},
|
|
727
|
+
}, tt = [], Q = (e = "", t = !1, n = !1) => (tt.clear(), new Promise((r, i) => {
|
|
728
728
|
let a = document.createElement("input");
|
|
729
|
-
|
|
729
|
+
tt.push(a), a.hidden = !0, a.type = "file", a.accept = e, a.multiple = t, a.onchange = async (e) => {
|
|
730
730
|
let t = [];
|
|
731
731
|
a.files && a.files.length === 0 && r(t);
|
|
732
732
|
for (let e of a.files) {
|
|
@@ -745,15 +745,15 @@ var ie = ["type", "disabled"], ae = /* @__PURE__ */ p({
|
|
|
745
745
|
i(e);
|
|
746
746
|
}, a.click();
|
|
747
747
|
})), nt = {
|
|
748
|
-
all: (e = !1, t = !1) =>
|
|
749
|
-
image: async (e = !1, t = !1) =>
|
|
748
|
+
all: (e = !1, t = !1) => Q("", e, t),
|
|
749
|
+
image: async (e = !1, t = !1) => Q([
|
|
750
750
|
"image/jpg",
|
|
751
751
|
"image/jpeg",
|
|
752
752
|
"image/png",
|
|
753
753
|
"image/gif",
|
|
754
754
|
"image/bmp"
|
|
755
755
|
].join(","), e, t),
|
|
756
|
-
documentFile: async (e = !1, t = !1) =>
|
|
756
|
+
documentFile: async (e = !1, t = !1) => Q([
|
|
757
757
|
".pdf",
|
|
758
758
|
"application/pdf",
|
|
759
759
|
".doc",
|
|
@@ -764,20 +764,20 @@ var ie = ["type", "disabled"], ae = /* @__PURE__ */ p({
|
|
|
764
764
|
"text/plain",
|
|
765
765
|
".md"
|
|
766
766
|
].join(","), e, t),
|
|
767
|
-
video: async (e = !1, t = !1) =>
|
|
767
|
+
video: async (e = !1, t = !1) => Q([
|
|
768
768
|
"video/mp4",
|
|
769
769
|
"video/quicktime",
|
|
770
770
|
"video/webm",
|
|
771
771
|
"video/ogg"
|
|
772
772
|
].join(","), e, t),
|
|
773
|
-
audio: async (e = !1, t = !1) =>
|
|
773
|
+
audio: async (e = !1, t = !1) => Q([
|
|
774
774
|
"audio/mp3",
|
|
775
775
|
"audio/wav",
|
|
776
776
|
"audio/ogg",
|
|
777
777
|
"audio/aac",
|
|
778
778
|
"audio/flac"
|
|
779
779
|
].join(","), e, t),
|
|
780
|
-
custom: (e = "", t = !1, n = !1) =>
|
|
780
|
+
custom: (e = "", t = !1, n = !1) => Q(e, t, n)
|
|
781
781
|
}, rt = (e) => new Promise((t, n) => {
|
|
782
782
|
let r = new FileReader();
|
|
783
783
|
r.readAsDataURL(e), r.onload = () => {
|
|
@@ -836,9 +836,9 @@ var ie = ["type", "disabled"], ae = /* @__PURE__ */ p({
|
|
|
836
836
|
let e = navigator.userAgent;
|
|
837
837
|
return !!/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(e);
|
|
838
838
|
}, $ = {
|
|
839
|
-
store:
|
|
840
|
-
screen:
|
|
841
|
-
str:
|
|
839
|
+
store: Qe,
|
|
840
|
+
screen: $e,
|
|
841
|
+
str: et,
|
|
842
842
|
input: nt,
|
|
843
843
|
file: ot,
|
|
844
844
|
link: st,
|
|
@@ -2031,7 +2031,7 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2031
2031
|
if (y.value) F.value = { ...e }, P.value = new Date(e.year, e.month, 1), ye(e);
|
|
2032
2032
|
else {
|
|
2033
2033
|
let t = u(e.year, e.month, e.day, 0, 0);
|
|
2034
|
-
l("update:modelValue", t), l("change", t),
|
|
2034
|
+
l("update:modelValue", t), l("change", t), X();
|
|
2035
2035
|
}
|
|
2036
2036
|
}
|
|
2037
2037
|
function xe(e) {
|
|
@@ -2088,7 +2088,7 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2088
2088
|
return `${e.year}-${M(e.month + 1)}-${M(e.day)}`;
|
|
2089
2089
|
}
|
|
2090
2090
|
return t.start;
|
|
2091
|
-
}),
|
|
2091
|
+
}), Fe = i(() => {
|
|
2092
2092
|
if (G.value) return "";
|
|
2093
2093
|
if (q.value) {
|
|
2094
2094
|
let e = q.value;
|
|
@@ -2096,7 +2096,7 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2096
2096
|
}
|
|
2097
2097
|
return t.end;
|
|
2098
2098
|
});
|
|
2099
|
-
function
|
|
2099
|
+
function Ie() {
|
|
2100
2100
|
let e = p(t.start) ?? {
|
|
2101
2101
|
year: ae,
|
|
2102
2102
|
month: A,
|
|
@@ -2106,20 +2106,20 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2106
2106
|
};
|
|
2107
2107
|
U.value = e.year, W.value = e.month, K.value = je(t.start), q.value = je(t.end), G.value = null, J.value = null;
|
|
2108
2108
|
}
|
|
2109
|
-
function
|
|
2109
|
+
function Le() {
|
|
2110
2110
|
W.value === 0 ? (U.value--, W.value = 11) : W.value--;
|
|
2111
2111
|
}
|
|
2112
|
-
function
|
|
2112
|
+
function Re() {
|
|
2113
2113
|
W.value === 11 ? (U.value++, W.value = 0) : W.value++;
|
|
2114
2114
|
}
|
|
2115
|
-
function
|
|
2115
|
+
function ze(e) {
|
|
2116
2116
|
if (!G.value) G.value = { ...e }, K.value = null, q.value = null;
|
|
2117
2117
|
else {
|
|
2118
2118
|
let t = G.value, [n, r] = ce(t, e) <= 0 ? [t, e] : [e, t];
|
|
2119
2119
|
K.value = n, q.value = r, G.value = null, J.value = null;
|
|
2120
2120
|
}
|
|
2121
2121
|
}
|
|
2122
|
-
function
|
|
2122
|
+
function Be(e) {
|
|
2123
2123
|
let t = e.year === ae && e.month === A && e.day === oe, n = G.value && e.year === G.value.year && e.month === G.value.month && e.day === G.value.day, r = Me.value, i = Ne.value, a = r && e.year === r.year && e.month === r.month && e.day === r.day, o = i && e.year === i.year && e.month === i.month && e.day === i.day, s = r && i && ce(e, r) > 0 && ce(e, i) < 0;
|
|
2124
2124
|
return {
|
|
2125
2125
|
"is-other-month": !e.isCurrentMonth,
|
|
@@ -2130,30 +2130,30 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2130
2130
|
"is-pending": !!n && !a
|
|
2131
2131
|
};
|
|
2132
2132
|
}
|
|
2133
|
-
function
|
|
2133
|
+
function Ve() {
|
|
2134
2134
|
if (!K.value || !q.value) return;
|
|
2135
2135
|
let e = K.value, t = q.value;
|
|
2136
|
-
l("update:start", `${e.year}-${M(e.month + 1)}-${M(e.day)}`), l("update:end", `${t.year}-${M(t.month + 1)}-${M(t.day)}`),
|
|
2136
|
+
l("update:start", `${e.year}-${M(e.month + 1)}-${M(e.day)}`), l("update:end", `${t.year}-${M(t.month + 1)}-${M(t.day)}`), X();
|
|
2137
2137
|
}
|
|
2138
|
-
function
|
|
2139
|
-
t.disabled || (x.value || (t.range ?
|
|
2138
|
+
function He() {
|
|
2139
|
+
t.disabled || (x.value || (t.range ? Ie() : he()), x.value = !x.value);
|
|
2140
2140
|
}
|
|
2141
|
-
function
|
|
2141
|
+
function X() {
|
|
2142
2142
|
x.value = !1, G.value = null, J.value = null;
|
|
2143
2143
|
}
|
|
2144
|
-
function
|
|
2144
|
+
function Ue() {
|
|
2145
2145
|
N.value = N.value === "date" ? "year" : "date";
|
|
2146
2146
|
}
|
|
2147
|
-
let
|
|
2147
|
+
let We = (e) => {
|
|
2148
2148
|
let t = e.target;
|
|
2149
|
-
w.value?.contains(t) || E.value ||
|
|
2149
|
+
w.value?.contains(t) || E.value || X();
|
|
2150
2150
|
};
|
|
2151
2151
|
v(() => {
|
|
2152
|
-
document.addEventListener("mousedown",
|
|
2152
|
+
document.addEventListener("mousedown", We), window.addEventListener("resize", ee);
|
|
2153
2153
|
}), _(() => {
|
|
2154
|
-
document.removeEventListener("mousedown",
|
|
2154
|
+
document.removeEventListener("mousedown", We), window.removeEventListener("resize", ee), D && clearTimeout(D), H();
|
|
2155
2155
|
});
|
|
2156
|
-
let
|
|
2156
|
+
let Z = (e) => {
|
|
2157
2157
|
e.stopPropagation(), l("update:modelValue", ""), l("change", ""), l("clear");
|
|
2158
2158
|
};
|
|
2159
2159
|
return (r, i) => (b(), s("div", {
|
|
@@ -2167,13 +2167,13 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2167
2167
|
disabled: t.disabled
|
|
2168
2168
|
}]) }, [c("div", {
|
|
2169
2169
|
class: "picker-trigger",
|
|
2170
|
-
onClick:
|
|
2170
|
+
onClick: He
|
|
2171
2171
|
}, [c("span", { class: h(["text", { placeholder: !me.value }]) }, T(me.value || t.placeholder), 3), t.clearable && pe.value && !t.range ? (b(), a(j, {
|
|
2172
2172
|
key: 0,
|
|
2173
2173
|
variant: "ghost",
|
|
2174
2174
|
square: "",
|
|
2175
2175
|
class: "clear",
|
|
2176
|
-
onClick:
|
|
2176
|
+
onClick: Z
|
|
2177
2177
|
}, {
|
|
2178
2178
|
default: O(() => [...i[20] ||= [c("svg", {
|
|
2179
2179
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2228,7 +2228,7 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2228
2228
|
})) : o("", !0)]),
|
|
2229
2229
|
c("div", {
|
|
2230
2230
|
class: "header-title",
|
|
2231
|
-
onClick:
|
|
2231
|
+
onClick: Ue
|
|
2232
2232
|
}, [N.value === "date" ? (b(), s(e, { key: 0 }, [d(T(te[z.value]) + " " + T(R.value), 1)], 64)) : (b(), s(e, { key: 1 }, [d(T(B.value[0]) + " - " + T(B.value[B.value.length - 1]), 1)], 64))]),
|
|
2233
2233
|
c("div", tr, [N.value === "date" ? (b(), a(j, {
|
|
2234
2234
|
key: 0,
|
|
@@ -2417,7 +2417,7 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2417
2417
|
default: O(() => [x.value && !t.range && E.value ? (b(), s("div", {
|
|
2418
2418
|
key: 0,
|
|
2419
2419
|
class: "mobile-overlay",
|
|
2420
|
-
onClick: k(
|
|
2420
|
+
onClick: k(X, ["self"])
|
|
2421
2421
|
}, [c("div", mr, [
|
|
2422
2422
|
i[41] ||= c("div", { class: "sheet-handle" }, null, -1),
|
|
2423
2423
|
c("div", hr, [
|
|
@@ -2459,7 +2459,7 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2459
2459
|
})) : o("", !0)]),
|
|
2460
2460
|
c("div", {
|
|
2461
2461
|
class: "header-title",
|
|
2462
|
-
onClick:
|
|
2462
|
+
onClick: Ue
|
|
2463
2463
|
}, [N.value === "date" ? (b(), s(e, { key: 0 }, [d(T(te[z.value]) + " " + T(R.value), 1)], 64)) : (b(), s(e, { key: 1 }, [d(T(B.value[0]) + " - " + T(B.value[B.value.length - 1]), 1)], 64))]),
|
|
2464
2464
|
c("div", _r, [N.value === "date" ? (b(), a(j, {
|
|
2465
2465
|
key: 0,
|
|
@@ -2648,7 +2648,7 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2648
2648
|
default: O(() => [x.value && t.range && !E.value ? (b(), s("div", {
|
|
2649
2649
|
key: 0,
|
|
2650
2650
|
class: "range-overlay",
|
|
2651
|
-
onClick: k(
|
|
2651
|
+
onClick: k(X, ["self"])
|
|
2652
2652
|
}, [c("div", Ar, [
|
|
2653
2653
|
i[46] ||= c("p", { class: "range-modal-title" }, "選擇日期範圍", -1),
|
|
2654
2654
|
c("div", jr, [(b(!0), s(e, null, C(Ae.value, (t) => (b(), s(e, { key: t.isLeft ? "left" : "right" }, [t.isLeft ? o("", !0) : (b(), s("div", Mr)), c("div", Nr, [
|
|
@@ -2657,7 +2657,7 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2657
2657
|
key: 0,
|
|
2658
2658
|
variant: "ghost",
|
|
2659
2659
|
square: "",
|
|
2660
|
-
onClick:
|
|
2660
|
+
onClick: Le
|
|
2661
2661
|
}, {
|
|
2662
2662
|
default: O(() => [...i[42] ||= [c("svg", {
|
|
2663
2663
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2677,7 +2677,7 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2677
2677
|
key: 0,
|
|
2678
2678
|
variant: "ghost",
|
|
2679
2679
|
square: "",
|
|
2680
|
-
onClick:
|
|
2680
|
+
onClick: Re
|
|
2681
2681
|
}, {
|
|
2682
2682
|
default: O(() => [...i[43] ||= [c("svg", {
|
|
2683
2683
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2699,21 +2699,21 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2699
2699
|
}, T(e), 1)), 64))]),
|
|
2700
2700
|
c("div", Vr, [(b(!0), s(e, null, C(t.days, (e, t) => (b(), s("div", {
|
|
2701
2701
|
key: t,
|
|
2702
|
-
class: h(["range-day",
|
|
2703
|
-
onClick: (t) =>
|
|
2702
|
+
class: h(["range-day", Be(e)]),
|
|
2703
|
+
onClick: (t) => ze(e),
|
|
2704
2704
|
onMouseenter: (t) => J.value = e
|
|
2705
2705
|
}, T(e.day), 43, Hr))), 128))])
|
|
2706
2706
|
])], 64))), 128))]),
|
|
2707
2707
|
c("div", Ur, [c("div", Wr, [
|
|
2708
2708
|
c("span", { class: h(["range-val", { "is-empty": !Pe.value }]) }, T(Pe.value || "開始日期"), 3),
|
|
2709
2709
|
i[44] ||= c("span", { class: "range-arrow" }, "→", -1),
|
|
2710
|
-
c("span", { class: h(["range-val", { "is-empty": !
|
|
2710
|
+
c("span", { class: h(["range-val", { "is-empty": !Fe.value }]) }, T(Fe.value || "結束日期"), 3)
|
|
2711
2711
|
]), f(j, {
|
|
2712
2712
|
variant: "solid",
|
|
2713
2713
|
intent: "primary",
|
|
2714
2714
|
class: "confirm-btn",
|
|
2715
2715
|
disabled: !Ee.value,
|
|
2716
|
-
onClick: k(
|
|
2716
|
+
onClick: k(Ve, ["stop"])
|
|
2717
2717
|
}, {
|
|
2718
2718
|
default: O(() => [...i[45] ||= [d("確認", -1)]]),
|
|
2719
2719
|
_: 1
|
|
@@ -2725,7 +2725,7 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2725
2725
|
default: O(() => [x.value && t.range && E.value ? (b(), s("div", {
|
|
2726
2726
|
key: 0,
|
|
2727
2727
|
class: "mobile-overlay",
|
|
2728
|
-
onClick: k(
|
|
2728
|
+
onClick: k(X, ["self"])
|
|
2729
2729
|
}, [c("div", Gr, [
|
|
2730
2730
|
i[51] ||= c("div", { class: "sheet-handle" }, null, -1),
|
|
2731
2731
|
i[52] ||= c("p", { class: "range-modal-title" }, "選擇日期範圍", -1),
|
|
@@ -2733,7 +2733,7 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2733
2733
|
c("div", qr, [f(j, {
|
|
2734
2734
|
variant: "ghost",
|
|
2735
2735
|
square: "",
|
|
2736
|
-
onClick:
|
|
2736
|
+
onClick: Le
|
|
2737
2737
|
}, {
|
|
2738
2738
|
default: O(() => [...i[47] ||= [c("svg", {
|
|
2739
2739
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2752,7 +2752,7 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2752
2752
|
c("div", Yr, [f(j, {
|
|
2753
2753
|
variant: "ghost",
|
|
2754
2754
|
square: "",
|
|
2755
|
-
onClick:
|
|
2755
|
+
onClick: Re
|
|
2756
2756
|
}, {
|
|
2757
2757
|
default: O(() => [...i[48] ||= [c("svg", {
|
|
2758
2758
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2774,19 +2774,19 @@ var wn = { class: "icon-wrap" }, Tn = ["innerHTML"], En = {
|
|
|
2774
2774
|
}, T(e), 1)), 64))]),
|
|
2775
2775
|
c("div", Zr, [(b(!0), s(e, null, C(Oe.value, (e, t) => (b(), s("div", {
|
|
2776
2776
|
key: t,
|
|
2777
|
-
class: h(["range-day",
|
|
2778
|
-
onClick: (t) =>
|
|
2777
|
+
class: h(["range-day", Be(e)]),
|
|
2778
|
+
onClick: (t) => ze(e)
|
|
2779
2779
|
}, T(e.day), 11, Qr))), 128))]),
|
|
2780
2780
|
c("div", $r, [c("div", ei, [
|
|
2781
2781
|
c("span", { class: h(["range-val", { "is-empty": !Pe.value }]) }, T(Pe.value || "開始日期"), 3),
|
|
2782
2782
|
i[49] ||= c("span", { class: "range-arrow" }, "→", -1),
|
|
2783
|
-
c("span", { class: h(["range-val", { "is-empty": !
|
|
2783
|
+
c("span", { class: h(["range-val", { "is-empty": !Fe.value }]) }, T(Fe.value || "結束日期"), 3)
|
|
2784
2784
|
]), f(j, {
|
|
2785
2785
|
variant: "solid",
|
|
2786
2786
|
intent: "primary",
|
|
2787
2787
|
class: "confirm-btn",
|
|
2788
2788
|
disabled: !Ee.value,
|
|
2789
|
-
onClick: k(
|
|
2789
|
+
onClick: k(Ve, ["stop"])
|
|
2790
2790
|
}, {
|
|
2791
2791
|
default: O(() => [...i[50] ||= [d("確認", -1)]]),
|
|
2792
2792
|
_: 1
|
|
@@ -3270,7 +3270,38 @@ var di = { class: "cards-wrapper" }, fi = ["innerHTML"], pi = { class: "card-bod
|
|
|
3270
3270
|
}), [["__scopeId", "data-v-bb912f40"]]), Ki = { class: "brand" }, qi = ["src", "alt"], Ji = {
|
|
3271
3271
|
key: 1,
|
|
3272
3272
|
class: "icon"
|
|
3273
|
-
}, Yi = { key: 2 }, Xi = { key: 3 }, Zi = {
|
|
3273
|
+
}, Yi = { key: 2 }, Xi = { key: 3 }, Zi = /* @__PURE__ */ A(/* @__PURE__ */ p({
|
|
3274
|
+
__name: "NLoginLayout",
|
|
3275
|
+
props: {
|
|
3276
|
+
backgroundImage: { default: "" },
|
|
3277
|
+
logo: { default: "" },
|
|
3278
|
+
title: { default: "" },
|
|
3279
|
+
description: { default: "" }
|
|
3280
|
+
},
|
|
3281
|
+
setup(e) {
|
|
3282
|
+
let t = i(() => !!e.logo && (e.logo.startsWith("http") || e.logo.startsWith("/")));
|
|
3283
|
+
return (n, r) => (b(), s("div", {
|
|
3284
|
+
class: "login-wrapper",
|
|
3285
|
+
style: g({ "--login-bg": e.backgroundImage ? `url('${e.backgroundImage}')` : "var(--bg-gradient)" })
|
|
3286
|
+
}, [f(Xt, {
|
|
3287
|
+
size: "lg",
|
|
3288
|
+
radius: "xl",
|
|
3289
|
+
class: "card"
|
|
3290
|
+
}, {
|
|
3291
|
+
default: O(() => [c("div", Ki, [
|
|
3292
|
+
t.value ? (b(), s("img", {
|
|
3293
|
+
key: 0,
|
|
3294
|
+
class: "logo-img",
|
|
3295
|
+
src: e.logo,
|
|
3296
|
+
alt: e.title
|
|
3297
|
+
}, null, 8, qi)) : (b(), s("div", Ji, T(e.logo), 1)),
|
|
3298
|
+
e.title ? (b(), s("h1", Yi, T(e.title), 1)) : o("", !0),
|
|
3299
|
+
e.description ? (b(), s("p", Xi, T(e.description), 1)) : o("", !0)
|
|
3300
|
+
]), w(n.$slots, "default", {}, void 0, !0)]),
|
|
3301
|
+
_: 3
|
|
3302
|
+
})], 4));
|
|
3303
|
+
}
|
|
3304
|
+
}), [["__scopeId", "data-v-f0866bc5"]]), Qi = {
|
|
3274
3305
|
NButton: j,
|
|
3275
3306
|
NInput: L,
|
|
3276
3307
|
NTextarea: de,
|
|
@@ -3294,43 +3325,12 @@ var di = { class: "cards-wrapper" }, fi = ["innerHTML"], pi = { class: "card-bod
|
|
|
3294
3325
|
NNavigation: Gi,
|
|
3295
3326
|
NSidebar: Pi,
|
|
3296
3327
|
NCard: Xt,
|
|
3297
|
-
NLoginLayout:
|
|
3298
|
-
__name: "NLoginLayout",
|
|
3299
|
-
props: {
|
|
3300
|
-
backgroundImage: { default: "" },
|
|
3301
|
-
logo: { default: "" },
|
|
3302
|
-
title: { default: "" },
|
|
3303
|
-
description: { default: "" }
|
|
3304
|
-
},
|
|
3305
|
-
setup(e) {
|
|
3306
|
-
let t = i(() => !!e.logo && (e.logo.startsWith("http") || e.logo.startsWith("/")));
|
|
3307
|
-
return (n, r) => (b(), s("div", {
|
|
3308
|
-
class: "login-wrapper",
|
|
3309
|
-
style: g({ "--login-bg": e.backgroundImage ? `url('${e.backgroundImage}')` : "var(--bg-gradient)" })
|
|
3310
|
-
}, [f(Xt, {
|
|
3311
|
-
size: "lg",
|
|
3312
|
-
radius: "xl",
|
|
3313
|
-
class: "card"
|
|
3314
|
-
}, {
|
|
3315
|
-
default: O(() => [c("div", Ki, [
|
|
3316
|
-
t.value ? (b(), s("img", {
|
|
3317
|
-
key: 0,
|
|
3318
|
-
class: "logo-img",
|
|
3319
|
-
src: e.logo,
|
|
3320
|
-
alt: e.title
|
|
3321
|
-
}, null, 8, qi)) : (b(), s("div", Ji, T(e.logo), 1)),
|
|
3322
|
-
e.title ? (b(), s("h1", Yi, T(e.title), 1)) : o("", !0),
|
|
3323
|
-
e.description ? (b(), s("p", Xi, T(e.description), 1)) : o("", !0)
|
|
3324
|
-
]), w(n.$slots, "default", {}, void 0, !0)]),
|
|
3325
|
-
_: 3
|
|
3326
|
-
})], 4));
|
|
3327
|
-
}
|
|
3328
|
-
}), [["__scopeId", "data-v-f0866bc5"]])
|
|
3328
|
+
NLoginLayout: Zi
|
|
3329
3329
|
};
|
|
3330
|
-
function
|
|
3331
|
-
Object.entries(
|
|
3330
|
+
function $i(e) {
|
|
3331
|
+
Object.entries(Qi).forEach(([t, n]) => {
|
|
3332
3332
|
e.component(t, n);
|
|
3333
3333
|
});
|
|
3334
3334
|
}
|
|
3335
3335
|
//#endregion
|
|
3336
|
-
export {
|
|
3336
|
+
export { yi as NAlert, j as NButton, Xt as NCard, ge as NCheckbox, qn as NCode, ti as NDatePicker, Yt as NEmpty, wt as NFileSelect, Wt as NForm, L as NInput, Ri as NLayout, bn as NList, Rn as NLoading, Zi as NLoginLayout, si as NModal, Gi as NNavigation, U as NSelect, Pi as NSidebar, Yn as NSwitch, _n as NTable, Xn as NTag, de as NTextarea, An as NToast, ni as NTooltip, $i as NickLabsUI, ui as useAlert, Ot as useSidebarManager, Cn as useToast };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const __VLS_export: import("
|
|
1
|
+
declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<{}, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
declare const _default: typeof __VLS_export;
|
|
3
3
|
export default _default;
|
|
@@ -14,7 +14,7 @@ declare var __VLS_1: {};
|
|
|
14
14
|
type __VLS_Slots = {} & {
|
|
15
15
|
default?: (props: typeof __VLS_1) => any;
|
|
16
16
|
};
|
|
17
|
-
declare const __VLS_base: import("
|
|
17
|
+
declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
20
20
|
export default _default;
|
|
@@ -12,19 +12,19 @@ declare var __VLS_1: {};
|
|
|
12
12
|
type __VLS_Slots = {} & {
|
|
13
13
|
default?: (props: typeof __VLS_1) => any;
|
|
14
14
|
};
|
|
15
|
-
declare const __VLS_base: import("
|
|
15
|
+
declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
16
16
|
"update:modelValue": (value: any) => any;
|
|
17
17
|
change: (value: boolean | any[]) => any;
|
|
18
18
|
"change:item": (item: OptionItem) => any;
|
|
19
19
|
"change:value": (value: any) => any;
|
|
20
20
|
"change:values": (values: any[]) => any;
|
|
21
|
-
}, string, import("
|
|
21
|
+
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
22
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
23
23
|
onChange?: ((value: boolean | any[]) => any) | undefined;
|
|
24
24
|
"onChange:item"?: ((item: OptionItem) => any) | undefined;
|
|
25
25
|
"onChange:value"?: ((value: any) => any) | undefined;
|
|
26
26
|
"onChange:values"?: ((values: any[]) => any) | undefined;
|
|
27
|
-
}>, {}, {}, {}, {}, string, import("
|
|
27
|
+
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
29
|
declare const _default: typeof __VLS_export;
|
|
30
30
|
export default _default;
|
|
@@ -3,6 +3,6 @@ interface Props {
|
|
|
3
3
|
language?: string;
|
|
4
4
|
showLineNumbers?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const __VLS_export: import("
|
|
6
|
+
declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
declare const _default: typeof __VLS_export;
|
|
8
8
|
export default _default;
|
|
@@ -9,18 +9,18 @@ type __VLS_Props = {
|
|
|
9
9
|
format?: string;
|
|
10
10
|
range?: boolean;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_export: import("
|
|
12
|
+
declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
13
13
|
"update:modelValue": (value: string) => any;
|
|
14
14
|
change: (value: string) => any;
|
|
15
15
|
clear: () => any;
|
|
16
16
|
"update:start": (value: string) => any;
|
|
17
17
|
"update:end": (value: string) => any;
|
|
18
|
-
}, string, import("
|
|
18
|
+
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
19
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
20
|
onChange?: ((value: string) => any) | undefined;
|
|
21
21
|
onClear?: (() => any) | undefined;
|
|
22
22
|
"onUpdate:start"?: ((value: string) => any) | undefined;
|
|
23
23
|
"onUpdate:end"?: ((value: string) => any) | undefined;
|
|
24
|
-
}>, {}, {}, {}, {}, string, import("
|
|
24
|
+
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
26
26
|
export default _default;
|
|
@@ -8,7 +8,7 @@ declare var __VLS_1: {};
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_1) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base: import("
|
|
11
|
+
declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
export default _default;
|
|
@@ -7,12 +7,12 @@ interface Props {
|
|
|
7
7
|
accept?: string;
|
|
8
8
|
title?: string;
|
|
9
9
|
}
|
|
10
|
-
declare const __VLS_export: import("
|
|
10
|
+
declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
11
11
|
"change:file": (files: IFile) => any;
|
|
12
12
|
"change:files": (files: IFile[]) => any;
|
|
13
|
-
}, string, import("
|
|
13
|
+
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<Props> & Readonly<{
|
|
14
14
|
"onChange:file"?: ((files: IFile) => any) | undefined;
|
|
15
15
|
"onChange:files"?: ((files: IFile[]) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
18
18
|
export default _default;
|
|
@@ -18,13 +18,13 @@ type __VLS_Slots = {} & {
|
|
|
18
18
|
} & {
|
|
19
19
|
footer?: (props: typeof __VLS_19) => any;
|
|
20
20
|
};
|
|
21
|
-
declare const __VLS_base: import("
|
|
21
|
+
declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
22
22
|
submit: (model: Record<string, any>) => any;
|
|
23
23
|
reset: () => any;
|
|
24
|
-
}, string, import("
|
|
24
|
+
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
25
|
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
|
26
26
|
onReset?: (() => any) | undefined;
|
|
27
|
-
}>, {}, {}, {}, {}, string, import("
|
|
27
|
+
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
29
|
declare const _default: typeof __VLS_export;
|
|
30
30
|
export default _default;
|
|
@@ -11,7 +11,7 @@ type __VLS_Props = {
|
|
|
11
11
|
title?: string;
|
|
12
12
|
autocomplete?: string;
|
|
13
13
|
};
|
|
14
|
-
declare const __VLS_export: import("
|
|
14
|
+
declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
15
15
|
input: (nativeEvent: Event) => any;
|
|
16
16
|
"update:modelValue": (value: string) => any;
|
|
17
17
|
focus: (nativeEvent: FocusEvent) => any;
|
|
@@ -19,7 +19,7 @@ declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Pr
|
|
|
19
19
|
change: (nativeEvent: Event) => any;
|
|
20
20
|
keydown: (nativeEvent: KeyboardEvent) => any;
|
|
21
21
|
clear: () => any;
|
|
22
|
-
}, string, import("
|
|
22
|
+
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
23
|
onInput?: ((nativeEvent: Event) => any) | undefined;
|
|
24
24
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
25
25
|
onFocus?: ((nativeEvent: FocusEvent) => any) | undefined;
|
|
@@ -27,6 +27,6 @@ declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Pr
|
|
|
27
27
|
onChange?: ((nativeEvent: Event) => any) | undefined;
|
|
28
28
|
onKeydown?: ((nativeEvent: KeyboardEvent) => any) | undefined;
|
|
29
29
|
onClear?: (() => any) | undefined;
|
|
30
|
-
}>, {}, {}, {}, {}, string, import("
|
|
30
|
+
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
32
32
|
export default _default;
|
|
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
} & {
|
|
11
11
|
default?: (props: typeof __VLS_9) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base: import("
|
|
13
|
+
declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
export default _default;
|
|
@@ -12,15 +12,15 @@ type __VLS_Slots = {} & {
|
|
|
12
12
|
} & {
|
|
13
13
|
footer?: (props: typeof __VLS_15) => any;
|
|
14
14
|
};
|
|
15
|
-
declare const __VLS_base: import("
|
|
15
|
+
declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
16
16
|
open: () => any;
|
|
17
17
|
close: () => any;
|
|
18
18
|
"update:show": (value: boolean) => any;
|
|
19
|
-
}, string, import("
|
|
19
|
+
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<Props> & Readonly<{
|
|
20
20
|
onOpen?: (() => any) | undefined;
|
|
21
21
|
onClose?: (() => any) | undefined;
|
|
22
22
|
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
23
|
-
}>, {}, {}, {}, {}, string, import("
|
|
23
|
+
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
26
26
|
export default _default;
|
|
@@ -9,18 +9,18 @@ type __VLS_Props = {
|
|
|
9
9
|
title?: string;
|
|
10
10
|
multipleDisplay?: MultipleDisplay;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_export: import("
|
|
12
|
+
declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
13
13
|
"update:modelValue": (value: any) => any;
|
|
14
14
|
change: (value: any) => any;
|
|
15
15
|
"change:item": (item: OptionItem) => any;
|
|
16
16
|
"change:value": (value: any) => any;
|
|
17
17
|
"change:values": (value: any[]) => any;
|
|
18
|
-
}, string, import("
|
|
18
|
+
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
19
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
20
20
|
onChange?: ((value: any) => any) | undefined;
|
|
21
21
|
"onChange:item"?: ((item: OptionItem) => any) | undefined;
|
|
22
22
|
"onChange:value"?: ((value: any) => any) | undefined;
|
|
23
23
|
"onChange:values"?: ((value: any[]) => any) | undefined;
|
|
24
|
-
}>, {}, {}, {}, {}, string, import("
|
|
24
|
+
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
26
26
|
export default _default;
|
|
@@ -4,10 +4,10 @@ type __VLS_Props = {
|
|
|
4
4
|
size?: NSwitchSize;
|
|
5
5
|
label?: string;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("
|
|
7
|
+
declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
8
8
|
"update:modelValue": (value: boolean) => any;
|
|
9
9
|
change: (value: boolean) => any;
|
|
10
|
-
}, string, import("
|
|
10
|
+
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
11
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
12
12
|
onChange?: ((value: boolean) => any) | undefined;
|
|
13
13
|
}>, {
|
|
@@ -15,6 +15,6 @@ declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Pr
|
|
|
15
15
|
size: NSwitchSize;
|
|
16
16
|
label: string;
|
|
17
17
|
modelValue: boolean;
|
|
18
|
-
}, {}, {}, {}, string, import("
|
|
18
|
+
}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
20
20
|
export default _default;
|
|
@@ -9,11 +9,11 @@ declare var __VLS_1: {};
|
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_1) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base: import("
|
|
12
|
+
declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
13
13
|
close: () => any;
|
|
14
|
-
}, string, import("
|
|
14
|
+
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
15
|
onClose?: (() => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
19
19
|
export default _default;
|
|
@@ -11,7 +11,7 @@ type __VLS_Props = {
|
|
|
11
11
|
showCount?: boolean | ((val: string, max?: number) => string);
|
|
12
12
|
wrap?: WrapMode;
|
|
13
13
|
};
|
|
14
|
-
declare const __VLS_export: import("
|
|
14
|
+
declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
15
15
|
input: (nativeEvent: Event) => any;
|
|
16
16
|
"update:modelValue": (value: string) => any;
|
|
17
17
|
focus: (nativeEvent: FocusEvent) => any;
|
|
@@ -19,7 +19,7 @@ declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Pr
|
|
|
19
19
|
change: (nativeEvent: Event) => any;
|
|
20
20
|
keydown: (nativeEvent: KeyboardEvent) => any;
|
|
21
21
|
paste: (nativeEvent: ClipboardEvent) => any;
|
|
22
|
-
}, string, import("
|
|
22
|
+
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
23
|
onInput?: ((nativeEvent: Event) => any) | undefined;
|
|
24
24
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
25
25
|
onFocus?: ((nativeEvent: FocusEvent) => any) | undefined;
|
|
@@ -27,6 +27,6 @@ declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Pr
|
|
|
27
27
|
onChange?: ((nativeEvent: Event) => any) | undefined;
|
|
28
28
|
onKeydown?: ((nativeEvent: KeyboardEvent) => any) | undefined;
|
|
29
29
|
onPaste?: ((nativeEvent: ClipboardEvent) => any) | undefined;
|
|
30
|
-
}>, {}, {}, {}, {}, string, import("
|
|
30
|
+
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
32
32
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const __VLS_export: import("
|
|
1
|
+
declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<{}, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
declare const _default: typeof __VLS_export;
|
|
3
3
|
export default _default;
|
|
@@ -9,7 +9,7 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
} & {
|
|
10
10
|
content?: (props: typeof __VLS_9) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base: import("
|
|
12
|
+
declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
14
|
declare const _default: typeof __VLS_export;
|
|
15
15
|
export default _default;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,58 @@
|
|
|
1
1
|
import type { App } from "vue";
|
|
2
|
+
import NButton from "./components/NButton.vue";
|
|
3
|
+
import NInput from "./components/NInput.vue";
|
|
4
|
+
import NTextarea from "./components/NTextarea.vue";
|
|
5
|
+
import NCheckbox from "./components/NCheckbox.vue";
|
|
6
|
+
import NSelect from "./components/NSelect.vue";
|
|
7
|
+
import NFileSelect from "./components/NFileSelect.vue";
|
|
8
|
+
import NForm from "./components/NForm.vue";
|
|
9
|
+
import NList from "./components/NList.vue";
|
|
10
|
+
import NEmpty from "./components/NEmpty.vue";
|
|
11
|
+
import NToast from "./components/NToast.vue";
|
|
12
|
+
import NLoading from "./components/NLoading.vue";
|
|
13
|
+
import NCode from "./components/NCode.vue";
|
|
14
|
+
import NSwitch from "./components/NSwitch.vue";
|
|
15
|
+
import NTag from "./components/NTag.vue";
|
|
16
|
+
import NDatePicker from "./components/NDatePicker.vue";
|
|
17
|
+
import NTooltip from "./components/NTooltip.vue";
|
|
18
|
+
import NModal from "./components/NModal.vue";
|
|
19
|
+
import NAlert from "./components/NAlert.vue";
|
|
20
|
+
import NTable from "./components/NTable.vue";
|
|
21
|
+
import NLayout from "./layouts/NLayout.vue";
|
|
22
|
+
import NNavigation from "./layouts/NNavigation.vue";
|
|
23
|
+
import NSidebar from "./layouts/NSidebar.vue";
|
|
24
|
+
import NCard from "./layouts/NCard.vue";
|
|
25
|
+
import NLoginLayout from "./layouts/NLoginLayout.vue";
|
|
2
26
|
export declare function NickLabsUI(app: App): void;
|
|
3
27
|
export { useToast } from "./composables/useToast.js";
|
|
4
28
|
export { useSidebarManager } from "./composables/useSidebarManager.js";
|
|
5
29
|
export { useAlert } from "./composables/useAlert.js";
|
|
30
|
+
export { NButton, NInput, NTextarea, NCheckbox, NSelect, NFileSelect, NForm, NList, NEmpty, NToast, NLoading, NCode, NSwitch, NTag, NDatePicker, NTooltip, NModal, NAlert, NTable, NLayout, NNavigation, NSidebar, NCard, NLoginLayout, };
|
|
31
|
+
declare module "vue" {
|
|
32
|
+
interface GlobalComponents {
|
|
33
|
+
NButton: typeof NButton;
|
|
34
|
+
NInput: typeof NInput;
|
|
35
|
+
NTextarea: typeof NTextarea;
|
|
36
|
+
NCheckbox: typeof NCheckbox;
|
|
37
|
+
NSelect: typeof NSelect;
|
|
38
|
+
NFileSelect: typeof NFileSelect;
|
|
39
|
+
NForm: typeof NForm;
|
|
40
|
+
NList: typeof NList;
|
|
41
|
+
NEmpty: typeof NEmpty;
|
|
42
|
+
NToast: typeof NToast;
|
|
43
|
+
NLoading: typeof NLoading;
|
|
44
|
+
NCode: typeof NCode;
|
|
45
|
+
NSwitch: typeof NSwitch;
|
|
46
|
+
NTag: typeof NTag;
|
|
47
|
+
NDatePicker: typeof NDatePicker;
|
|
48
|
+
NTooltip: typeof NTooltip;
|
|
49
|
+
NModal: typeof NModal;
|
|
50
|
+
NAlert: typeof NAlert;
|
|
51
|
+
NTable: typeof NTable;
|
|
52
|
+
NLayout: typeof NLayout;
|
|
53
|
+
NNavigation: typeof NNavigation;
|
|
54
|
+
NSidebar: typeof NSidebar;
|
|
55
|
+
NCard: typeof NCard;
|
|
56
|
+
NLoginLayout: typeof NLoginLayout;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
}
|
|
3
|
-
declare const __VLS_export: import("
|
|
3
|
+
declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
4
4
|
declare const _default: typeof __VLS_export;
|
|
5
5
|
export default _default;
|
|
@@ -6,7 +6,7 @@ declare var __VLS_1: {};
|
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base: import("
|
|
9
|
+
declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
export default _default;
|
|
@@ -9,7 +9,7 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
} & {
|
|
10
10
|
toolbar?: (props: typeof __VLS_16) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base: import("
|
|
12
|
+
declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
14
|
declare const _default: typeof __VLS_export;
|
|
15
15
|
export default _default;
|
|
@@ -18,13 +18,13 @@ declare var __VLS_10: {};
|
|
|
18
18
|
type __VLS_Slots = {} & {
|
|
19
19
|
default?: (props: typeof __VLS_10) => any;
|
|
20
20
|
};
|
|
21
|
-
declare const __VLS_base: import("
|
|
21
|
+
declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
22
22
|
logout: () => any;
|
|
23
23
|
navigate: (childMenu: MenuChild) => any;
|
|
24
|
-
}, string, import("
|
|
24
|
+
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
25
|
onLogout?: (() => any) | undefined;
|
|
26
26
|
onNavigate?: ((childMenu: MenuChild) => any) | undefined;
|
|
27
|
-
}>, {}, {}, {}, {}, string, import("
|
|
27
|
+
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
29
|
declare const _default: typeof __VLS_export;
|
|
30
30
|
export default _default;
|
|
@@ -8,7 +8,7 @@ declare var __VLS_7: {};
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_7) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base: import("
|
|
11
|
+
declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
export default _default;
|
|
@@ -4,12 +4,12 @@ type __VLS_Props = {
|
|
|
4
4
|
isShowUser?: boolean;
|
|
5
5
|
isShowLogoutButton?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("
|
|
7
|
+
declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
8
8
|
logout: () => any;
|
|
9
9
|
toggleSidebar: () => any;
|
|
10
|
-
}, string, import("
|
|
10
|
+
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
11
|
onLogout?: (() => any) | undefined;
|
|
12
12
|
onToggleSidebar?: (() => any) | undefined;
|
|
13
|
-
}>, {}, {}, {}, {}, string, import("
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const _default: typeof __VLS_export;
|
|
15
15
|
export default _default;
|
|
@@ -3,10 +3,10 @@ interface Props {
|
|
|
3
3
|
pageSize: number;
|
|
4
4
|
maxPageButtons: number;
|
|
5
5
|
}
|
|
6
|
-
declare const __VLS_export: import("
|
|
6
|
+
declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
7
7
|
onPageChange: (page: number) => any;
|
|
8
|
-
}, string, import("
|
|
8
|
+
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<Props> & Readonly<{
|
|
9
9
|
onOnPageChange?: ((page: number) => any) | undefined;
|
|
10
|
-
}>, {}, {}, {}, {}, string, import("
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
export default _default;
|
|
@@ -2,12 +2,12 @@ interface Props {
|
|
|
2
2
|
open: boolean;
|
|
3
3
|
title?: string;
|
|
4
4
|
}
|
|
5
|
-
declare const __VLS_export: import("
|
|
5
|
+
declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
6
6
|
close: () => any;
|
|
7
7
|
"update:open": (open: boolean) => any;
|
|
8
|
-
}, string, import("
|
|
8
|
+
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<Props> & Readonly<{
|
|
9
9
|
onClose?: (() => any) | undefined;
|
|
10
10
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
13
13
|
export default _default;
|
|
@@ -9,15 +9,15 @@ declare var __VLS_1: {};
|
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
user?: (props: typeof __VLS_1) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base: import("
|
|
12
|
+
declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
13
13
|
"update:isOpen": (value: boolean) => any;
|
|
14
14
|
logout: () => any;
|
|
15
15
|
navigate: (childMenu: MenuChild) => any;
|
|
16
|
-
}, string, import("
|
|
16
|
+
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
17
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
18
18
|
onLogout?: (() => any) | undefined;
|
|
19
19
|
onNavigate?: ((childMenu: MenuChild) => any) | undefined;
|
|
20
|
-
}>, {}, {}, {}, {}, string, import("
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
23
23
|
export default _default;
|