mamba-layout 0.1.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/README.md +47 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/assets/logo.png.js +4 -0
- package/dist/components/UserAvatar/index.d.ts +2 -0
- package/dist/components/UserAvatar/index.js +5 -0
- package/dist/components/UserAvatar/src/UserAvatar.css +1 -0
- package/dist/components/UserAvatar/src/UserAvatar.vue.d.ts +9 -0
- package/dist/components/UserAvatar/src/UserAvatar.vue.js +7 -0
- package/dist/components/UserAvatar/src/UserAvatar.vue2.js +61 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +51 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +80 -0
- package/dist/layout/BaseLayout.css +1 -0
- package/dist/layout/BaseLayout.vue.d.ts +23 -0
- package/dist/layout/BaseLayout.vue.js +7 -0
- package/dist/layout/BaseLayout.vue2.js +75 -0
- package/dist/layout/components/AppSelect.css +1 -0
- package/dist/layout/components/AppSelect.vue.d.ts +2 -0
- package/dist/layout/components/AppSelect.vue.js +7 -0
- package/dist/layout/components/AppSelect.vue2.js +69 -0
- package/dist/layout/components/AsideBar.css +1 -0
- package/dist/layout/components/AsideBar.vue.d.ts +21 -0
- package/dist/layout/components/AsideBar.vue.js +7 -0
- package/dist/layout/components/AsideBar.vue2.js +49 -0
- package/dist/layout/components/AsideSubMenuItem.vue.d.ts +25 -0
- package/dist/layout/components/AsideSubMenuItem.vue.js +84 -0
- package/dist/layout/components/AsideSubMenuItem.vue2.js +4 -0
- package/dist/layout/components/AsideSubMenus.vue.d.ts +16 -0
- package/dist/layout/components/AsideSubMenus.vue.js +36 -0
- package/dist/layout/components/AsideSubMenus.vue2.js +4 -0
- package/dist/layout/components/AsideTabMenus.vue.d.ts +2 -0
- package/dist/layout/components/AsideTabMenus.vue.js +41 -0
- package/dist/layout/components/AsideTabMenus.vue2.js +4 -0
- package/dist/layout/components/AsideUser.vue.d.ts +2 -0
- package/dist/layout/components/AsideUser.vue.js +58 -0
- package/dist/layout/components/AsideUser.vue2.js +4 -0
- package/dist/layout/components/HeaderBar.css +1 -0
- package/dist/layout/components/HeaderBar.vue.d.ts +17 -0
- package/dist/layout/components/HeaderBar.vue.js +7 -0
- package/dist/layout/components/HeaderBar.vue2.js +55 -0
- package/dist/layout/components/HeaderMenuToggle.vue.d.ts +25 -0
- package/dist/layout/components/HeaderMenuToggle.vue.js +40 -0
- package/dist/layout/components/HeaderMenuToggle.vue2.js +4 -0
- package/dist/layout/components/LanguageSelect.css +1 -0
- package/dist/layout/components/LanguageSelect.vue.d.ts +22 -0
- package/dist/layout/components/LanguageSelect.vue.js +8 -0
- package/dist/layout/components/LanguageSelect.vue2.js +101 -0
- package/dist/layout/components/LanguageSelect2.css +1 -0
- package/dist/layout/components/LayoutBreadcrumb.css +1 -0
- package/dist/layout/components/LayoutBreadcrumb.vue.d.ts +29 -0
- package/dist/layout/components/LayoutBreadcrumb.vue.js +7 -0
- package/dist/layout/components/LayoutBreadcrumb.vue2.js +189 -0
- package/dist/layout/components/MenuDrawer.css +1 -0
- package/dist/layout/components/MenuDrawer.vue.d.ts +12 -0
- package/dist/layout/components/MenuDrawer.vue.js +163 -0
- package/dist/layout/components/MenuDrawer.vue3.js +5 -0
- package/dist/layout/components/MenuItemIcon.css +1 -0
- package/dist/layout/components/MenuItemIcon.vue.d.ts +7 -0
- package/dist/layout/components/MenuItemIcon.vue.js +7 -0
- package/dist/layout/components/MenuItemIcon.vue2.js +23 -0
- package/dist/layout/components/NavIconBtn.css +1 -0
- package/dist/layout/components/NavIconBtn.vue.d.ts +26 -0
- package/dist/layout/components/NavIconBtn.vue.js +7 -0
- package/dist/layout/components/NavIconBtn.vue2.js +23 -0
- package/dist/layout/components/SHeaderRight.css +1 -0
- package/dist/layout/components/SHeaderRight.vue.d.ts +2 -0
- package/dist/layout/components/SHeaderRight.vue.js +7 -0
- package/dist/layout/components/SHeaderRight.vue2.js +80 -0
- package/dist/layout/components/ThemeToggle.css +1 -0
- package/dist/layout/components/ThemeToggle.vue.d.ts +2 -0
- package/dist/layout/components/ThemeToggle.vue.js +7 -0
- package/dist/layout/components/ThemeToggle.vue2.js +30 -0
- package/dist/layout/components/TimezoneSelect.css +1 -0
- package/dist/layout/components/TimezoneSelect.vue.d.ts +7 -0
- package/dist/layout/components/TimezoneSelect.vue.js +8 -0
- package/dist/layout/components/TimezoneSelect.vue2.js +78 -0
- package/dist/layout/components/TimezoneSelect2.css +1 -0
- package/dist/layout/components/UserInfo.css +1 -0
- package/dist/layout/components/UserInfo.vue.d.ts +2 -0
- package/dist/layout/components/UserInfo.vue.js +8 -0
- package/dist/layout/components/UserInfo.vue2.js +111 -0
- package/dist/layout/components/UserInfo2.css +1 -0
- package/dist/layout/components/index.d.ts +23 -0
- package/dist/layout/components/index.js +49 -0
- package/dist/layout/components/mobile/AppSelectMobile.vue.d.ts +2 -0
- package/dist/layout/components/mobile/AppSelectMobile.vue.js +60 -0
- package/dist/layout/components/mobile/AppSelectMobile.vue2.js +4 -0
- package/dist/layout/components/mobile/AsideBarMobile.css +1 -0
- package/dist/layout/components/mobile/AsideBarMobile.vue.d.ts +21 -0
- package/dist/layout/components/mobile/AsideBarMobile.vue.js +7 -0
- package/dist/layout/components/mobile/AsideBarMobile.vue2.js +47 -0
- package/dist/layout/components/mobile/AsideUserMobile.css +1 -0
- package/dist/layout/components/mobile/AsideUserMobile.vue.d.ts +2 -0
- package/dist/layout/components/mobile/AsideUserMobile.vue.js +7 -0
- package/dist/layout/components/mobile/AsideUserMobile.vue2.js +56 -0
- package/dist/layout/components/mobile/AsideUserMobilePopover.css +1 -0
- package/dist/layout/components/mobile/AsideUserMobilePopover.vue.d.ts +17 -0
- package/dist/layout/components/mobile/AsideUserMobilePopover.vue.js +7 -0
- package/dist/layout/components/mobile/AsideUserMobilePopover.vue2.js +52 -0
- package/dist/layout/components/mobile/HeaderRightMobile.css +1 -0
- package/dist/layout/components/mobile/HeaderRightMobile.vue.d.ts +2 -0
- package/dist/layout/components/mobile/HeaderRightMobile.vue.js +7 -0
- package/dist/layout/components/mobile/HeaderRightMobile.vue2.js +50 -0
- package/dist/layout/components/mobile/MobileMenuToggle.css +1 -0
- package/dist/layout/components/mobile/MobileMenuToggle.vue.d.ts +2 -0
- package/dist/layout/components/mobile/MobileMenuToggle.vue.js +7 -0
- package/dist/layout/components/mobile/MobileMenuToggle.vue2.js +31 -0
- package/dist/layout/hooks/index.d.ts +4 -0
- package/dist/layout/hooks/index.js +17 -0
- package/dist/layout/hooks/useApp.d.ts +6 -0
- package/dist/layout/hooks/useApp.js +20 -0
- package/dist/layout/hooks/useSetting.d.ts +62 -0
- package/dist/layout/hooks/useSetting.js +24 -0
- package/dist/layout/hooks/useState.d.ts +763 -0
- package/dist/layout/hooks/useState.js +99 -0
- package/dist/layout/hooks/useTheme.d.ts +15 -0
- package/dist/layout/hooks/useTheme.js +44 -0
- package/dist/layout/utils/index.d.ts +7 -0
- package/dist/layout/utils/index.js +59 -0
- package/dist/layout.css +1 -0
- package/dist/layout.es.js +53770 -0
- package/dist/layout.global.js +78 -0
- package/dist/locales/en/account.d.ts +10 -0
- package/dist/locales/en/account.js +12 -0
- package/dist/locales/en/admin.d.ts +207 -0
- package/dist/locales/en/admin.js +209 -0
- package/dist/locales/en/common.d.ts +40 -0
- package/dist/locales/en/common.js +42 -0
- package/dist/locales/en/components.d.ts +37 -0
- package/dist/locales/en/components.js +39 -0
- package/dist/locales/en/constant.d.ts +151 -0
- package/dist/locales/en/constant.js +153 -0
- package/dist/locales/en/filterBox.d.ts +11 -0
- package/dist/locales/en/filterBox.js +13 -0
- package/dist/locales/en/index.d.ts +487 -0
- package/dist/locales/en/index.js +22 -0
- package/dist/locales/en/instanceForm.d.ts +17 -0
- package/dist/locales/en/instanceForm.js +19 -0
- package/dist/locales/en/password.d.ts +18 -0
- package/dist/locales/en/password.js +20 -0
- package/dist/locales/index.d.ts +973 -0
- package/dist/locales/index.js +12 -0
- package/dist/locales/messages.d.ts +973 -0
- package/dist/locales/messages.js +9 -0
- package/dist/locales/zh-cn/account.d.ts +10 -0
- package/dist/locales/zh-cn/account.js +12 -0
- package/dist/locales/zh-cn/admin.d.ts +205 -0
- package/dist/locales/zh-cn/admin.js +207 -0
- package/dist/locales/zh-cn/common.d.ts +40 -0
- package/dist/locales/zh-cn/common.js +42 -0
- package/dist/locales/zh-cn/components.d.ts +37 -0
- package/dist/locales/zh-cn/components.js +39 -0
- package/dist/locales/zh-cn/constant.d.ts +151 -0
- package/dist/locales/zh-cn/constant.js +153 -0
- package/dist/locales/zh-cn/filterBox.d.ts +11 -0
- package/dist/locales/zh-cn/filterBox.js +13 -0
- package/dist/locales/zh-cn/index.d.ts +485 -0
- package/dist/locales/zh-cn/index.js +22 -0
- package/dist/locales/zh-cn/instanceForm.d.ts +17 -0
- package/dist/locales/zh-cn/instanceForm.js +19 -0
- package/dist/locales/zh-cn/password.d.ts +18 -0
- package/dist/locales/zh-cn/password.js +20 -0
- package/dist/standalone.d.ts +0 -0
- package/dist/utils/createContext.d.ts +8 -0
- package/dist/utils/createContext.js +14 -0
- package/dist/utils/repoUtils.d.ts +59 -0
- package/dist/utils/repoUtils.js +160 -0
- package/package.json +110 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { readonly as E, ref as Z } from "vue";
|
|
2
|
+
const D = 3600 * 24 * 7, u = "UTC", S = "timezone", A = [
|
|
3
|
+
"UTC",
|
|
4
|
+
"Asia/Shanghai",
|
|
5
|
+
"Asia/Hong_Kong",
|
|
6
|
+
"Asia/Singapore",
|
|
7
|
+
"Asia/Tokyo",
|
|
8
|
+
"Europe/London",
|
|
9
|
+
"Europe/Berlin",
|
|
10
|
+
"America/New_York",
|
|
11
|
+
"America/Los_Angeles"
|
|
12
|
+
], T = /* @__PURE__ */ new Map(), l = () => {
|
|
13
|
+
try {
|
|
14
|
+
return globalThis.localStorage;
|
|
15
|
+
} catch {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
}, m = {
|
|
19
|
+
get(e, t = null) {
|
|
20
|
+
const n = l(), o = n == null ? void 0 : n.getItem(e.toUpperCase());
|
|
21
|
+
if (!o) return t;
|
|
22
|
+
try {
|
|
23
|
+
const r = JSON.parse(o);
|
|
24
|
+
if (r.expire === null || r.expire >= Date.now())
|
|
25
|
+
return r.value;
|
|
26
|
+
n == null || n.removeItem(e.toUpperCase());
|
|
27
|
+
} catch {
|
|
28
|
+
return t;
|
|
29
|
+
}
|
|
30
|
+
return t;
|
|
31
|
+
},
|
|
32
|
+
set(e, t, n = D) {
|
|
33
|
+
const o = l(), r = {
|
|
34
|
+
value: t,
|
|
35
|
+
expire: n === null ? null : Date.now() + n * 1e3
|
|
36
|
+
};
|
|
37
|
+
o == null || o.setItem(e.toUpperCase(), JSON.stringify(r));
|
|
38
|
+
},
|
|
39
|
+
clear() {
|
|
40
|
+
var e;
|
|
41
|
+
(e = l()) == null || e.clear();
|
|
42
|
+
}
|
|
43
|
+
}, L = (e) => typeof e == "object" && e !== null, h = (e) => {
|
|
44
|
+
if (!L(e) || Object.prototype.toString.call(e) !== "[object Object]") return !1;
|
|
45
|
+
const t = Object.getPrototypeOf(e);
|
|
46
|
+
return t === null || t === Object.prototype;
|
|
47
|
+
};
|
|
48
|
+
function U(e, t) {
|
|
49
|
+
if (!h(e)) return t;
|
|
50
|
+
if (!h(t)) return e;
|
|
51
|
+
const n = e;
|
|
52
|
+
return Object.keys(t).concat(Object.getOwnPropertySymbols(t)).forEach((o) => {
|
|
53
|
+
n[o] = U(
|
|
54
|
+
n[o],
|
|
55
|
+
t[o]
|
|
56
|
+
);
|
|
57
|
+
}), n;
|
|
58
|
+
}
|
|
59
|
+
function M() {
|
|
60
|
+
const e = typeof navigator > "u" ? "en-US" : navigator.language;
|
|
61
|
+
return String(m.get("locale", e)).includes("zh") ? "zh-CN" : "en-US";
|
|
62
|
+
}
|
|
63
|
+
const d = (e, t, n) => {
|
|
64
|
+
var o;
|
|
65
|
+
return ((o = t == null ? void 0 : t[n]) == null ? void 0 : o[e]) || "";
|
|
66
|
+
}, z = (e, t, n = "") => {
|
|
67
|
+
const o = e;
|
|
68
|
+
return d(t, o, M()) || n || d(t, o, "en-US");
|
|
69
|
+
}, F = (e = "") => e.replace(/【.*】/, ""), j = (e, t, n) => {
|
|
70
|
+
var o, r, s, i, f;
|
|
71
|
+
for (const c of t) {
|
|
72
|
+
const C = ((o = c.path) == null ? void 0 : o.replace(/\/:(\w+)/g, "/([^/]+)")) || "", b = new RegExp(`^${C}$`);
|
|
73
|
+
if (((r = c.path) == null ? void 0 : r.toLowerCase()) === e || b.test(e))
|
|
74
|
+
return ((s = c.meta) == null ? void 0 : s.visible) === "0" && (n == null ? void 0 : n.path) || "";
|
|
75
|
+
if ((i = c.children) != null && i.length) {
|
|
76
|
+
const g = j(
|
|
77
|
+
e,
|
|
78
|
+
c.children,
|
|
79
|
+
((f = c.meta) == null ? void 0 : f.visible) === "1" ? c : n
|
|
80
|
+
);
|
|
81
|
+
if (g) return g;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return "";
|
|
85
|
+
}, x = (e, t) => {
|
|
86
|
+
const n = e.resolve(t);
|
|
87
|
+
if (!(n != null && n.name)) return !1;
|
|
88
|
+
const o = String(n.name).split("-").filter((s) => !!s && s !== "index"), r = n.path.split("-").join("/").split("/").filter(Boolean);
|
|
89
|
+
return o.length === r.length && o.every((s, i) => s === r[i]);
|
|
90
|
+
}, a = (e) => typeof e == "string" && O(e) ? e : "", O = (e) => {
|
|
91
|
+
try {
|
|
92
|
+
return new Intl.DateTimeFormat("en-US", { timeZone: e }).format(/* @__PURE__ */ new Date()), !0;
|
|
93
|
+
} catch {
|
|
94
|
+
return !1;
|
|
95
|
+
}
|
|
96
|
+
}, y = () => a(Intl.DateTimeFormat().resolvedOptions().timeZone) || u, p = Z(
|
|
97
|
+
a(m.get(S)) || y()
|
|
98
|
+
), B = () => E(p);
|
|
99
|
+
function R(e) {
|
|
100
|
+
const t = a(e);
|
|
101
|
+
t && (p.value = t, m.set(S, t, null));
|
|
102
|
+
}
|
|
103
|
+
const _ = (e) => {
|
|
104
|
+
const t = a(e) || u, n = T.get(t);
|
|
105
|
+
if (n) return n;
|
|
106
|
+
const o = new Intl.DateTimeFormat("en-US", {
|
|
107
|
+
timeZone: t,
|
|
108
|
+
year: "numeric",
|
|
109
|
+
month: "2-digit",
|
|
110
|
+
day: "2-digit",
|
|
111
|
+
hour: "2-digit",
|
|
112
|
+
minute: "2-digit",
|
|
113
|
+
second: "2-digit",
|
|
114
|
+
hourCycle: "h23"
|
|
115
|
+
});
|
|
116
|
+
return T.set(t, o), o;
|
|
117
|
+
}, v = (e, t) => _(t).formatToParts(e).reduce((o, r) => (r.type !== "literal" && (o[r.type] = Number(r.value)), o), {}), I = (e, t = /* @__PURE__ */ new Date()) => {
|
|
118
|
+
const n = a(e) || u, o = v(t, n), r = Date.UTC(
|
|
119
|
+
o.year || 0,
|
|
120
|
+
(o.month || 1) - 1,
|
|
121
|
+
o.day || 1,
|
|
122
|
+
o.hour || 0,
|
|
123
|
+
o.minute || 0,
|
|
124
|
+
o.second || 0,
|
|
125
|
+
t.getMilliseconds()
|
|
126
|
+
);
|
|
127
|
+
return Math.round((r - t.getTime()) / 6e4);
|
|
128
|
+
}, w = (e, t = /* @__PURE__ */ new Date()) => {
|
|
129
|
+
const n = I(e, t), o = n >= 0 ? "+" : "-", r = Math.abs(n), s = Math.floor(r / 60), i = r % 60;
|
|
130
|
+
return `UTC${o}${String(s).padStart(2, "0")}:${String(
|
|
131
|
+
i
|
|
132
|
+
).padStart(2, "0")}`;
|
|
133
|
+
}, K = (e, t = /* @__PURE__ */ new Date()) => `${e} (${w(e, t)})`, H = (e = /* @__PURE__ */ new Date()) => {
|
|
134
|
+
const t = new Set(
|
|
135
|
+
[y(), ...A, p.value].filter(
|
|
136
|
+
O
|
|
137
|
+
)
|
|
138
|
+
);
|
|
139
|
+
return Array.from(t).map((n) => {
|
|
140
|
+
const o = w(n, e);
|
|
141
|
+
return {
|
|
142
|
+
value: n,
|
|
143
|
+
label: `${n} (${o})`,
|
|
144
|
+
offset: o
|
|
145
|
+
};
|
|
146
|
+
});
|
|
147
|
+
};
|
|
148
|
+
export {
|
|
149
|
+
m as Storage,
|
|
150
|
+
U as deepMerge,
|
|
151
|
+
M as getCurrentLocale,
|
|
152
|
+
j as getRouteLastVisibleParentMenu,
|
|
153
|
+
K as getTimeZoneLabel,
|
|
154
|
+
H as getTimeZoneOptions,
|
|
155
|
+
x as hasRoutePermission,
|
|
156
|
+
F as replaceName,
|
|
157
|
+
R as setCurrentTimeZone,
|
|
158
|
+
z as tname,
|
|
159
|
+
B as useCurrentTimeZone
|
|
160
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mamba-layout",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Shared Mamba Vue layout shell and standalone browser layout.",
|
|
5
|
+
"private": false,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"style": "./dist/layout.css",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"sideEffects": [
|
|
15
|
+
"*.css",
|
|
16
|
+
"*.scss"
|
|
17
|
+
],
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"import": "./dist/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./hooks": {
|
|
24
|
+
"types": "./dist/layout/hooks/index.d.ts",
|
|
25
|
+
"import": "./dist/layout/hooks/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./hooks/*": {
|
|
28
|
+
"types": "./dist/layout/hooks/*.d.ts",
|
|
29
|
+
"import": "./dist/layout/hooks/*.js"
|
|
30
|
+
},
|
|
31
|
+
"./locales": {
|
|
32
|
+
"types": "./dist/locales/index.d.ts",
|
|
33
|
+
"import": "./dist/locales/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./locales/*": {
|
|
36
|
+
"types": "./dist/locales/*.d.ts",
|
|
37
|
+
"import": "./dist/locales/*.js"
|
|
38
|
+
},
|
|
39
|
+
"./components": {
|
|
40
|
+
"types": "./dist/components/index.d.ts",
|
|
41
|
+
"import": "./dist/components/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./components/UserAvatar": {
|
|
44
|
+
"types": "./dist/components/UserAvatar/index.d.ts",
|
|
45
|
+
"import": "./dist/components/UserAvatar/index.js"
|
|
46
|
+
},
|
|
47
|
+
"./components/mobile/*": {
|
|
48
|
+
"types": "./dist/layout/components/mobile/*.vue.d.ts",
|
|
49
|
+
"import": "./dist/layout/components/mobile/*.vue.js"
|
|
50
|
+
},
|
|
51
|
+
"./components/*": {
|
|
52
|
+
"types": "./dist/layout/components/*.vue.d.ts",
|
|
53
|
+
"import": "./dist/layout/components/*.vue.js"
|
|
54
|
+
},
|
|
55
|
+
"./utils/*": {
|
|
56
|
+
"types": "./dist/utils/*.d.ts",
|
|
57
|
+
"import": "./dist/utils/*.js"
|
|
58
|
+
},
|
|
59
|
+
"./standalone": {
|
|
60
|
+
"types": "./dist/standalone.d.ts",
|
|
61
|
+
"import": "./dist/layout.es.js"
|
|
62
|
+
},
|
|
63
|
+
"./styles": "./dist/layout.css",
|
|
64
|
+
"./tailwind.css": "./dist/layout.css",
|
|
65
|
+
"./layout.css": "./dist/layout.css",
|
|
66
|
+
"./layout.global.js": "./dist/layout.global.js",
|
|
67
|
+
"./package.json": "./package.json"
|
|
68
|
+
},
|
|
69
|
+
"publishConfig": {
|
|
70
|
+
"access": "public"
|
|
71
|
+
},
|
|
72
|
+
"scripts": {
|
|
73
|
+
"build": "vite build && vite build -c vite.standalone.config.ts",
|
|
74
|
+
"prepack": "pnpm build",
|
|
75
|
+
"prepublishOnly": "pnpm type-check && pnpm build",
|
|
76
|
+
"type-check": "vue-tsc --noEmit -p tsconfig.app.json"
|
|
77
|
+
},
|
|
78
|
+
"keywords": [
|
|
79
|
+
"mamba",
|
|
80
|
+
"layout",
|
|
81
|
+
"vue",
|
|
82
|
+
"element-plus"
|
|
83
|
+
],
|
|
84
|
+
"dependencies": {
|
|
85
|
+
"@element-plus/icons-vue": "^2.3.1"
|
|
86
|
+
},
|
|
87
|
+
"peerDependencies": {
|
|
88
|
+
"element-plus": "^2.11.5",
|
|
89
|
+
"tailwindcss": "^4.0.8",
|
|
90
|
+
"vue": "^3.5.13",
|
|
91
|
+
"vue-i18n": "11",
|
|
92
|
+
"vue-router": "^4.5.0"
|
|
93
|
+
},
|
|
94
|
+
"devDependencies": {
|
|
95
|
+
"@tailwindcss/vite": "^4.1.6",
|
|
96
|
+
"@types/node": "^22.15.18",
|
|
97
|
+
"@vitejs/plugin-vue": "^5.2.3",
|
|
98
|
+
"@vue/tsconfig": "^0.7.0",
|
|
99
|
+
"element-plus": "^2.11.5",
|
|
100
|
+
"sass": "^1.83.0",
|
|
101
|
+
"tailwindcss": "^4.1.7",
|
|
102
|
+
"typescript": "~5.8.3",
|
|
103
|
+
"vite": "^6.3.5",
|
|
104
|
+
"vite-plugin-dts": "^4.5.4",
|
|
105
|
+
"vue": "^3.5.13",
|
|
106
|
+
"vue-i18n": "11",
|
|
107
|
+
"vue-router": "^4.5.0",
|
|
108
|
+
"vue-tsc": "^2.2.8"
|
|
109
|
+
}
|
|
110
|
+
}
|