@pubinfo-nightly/core 2026.3.15 → 2026.3.17
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/AppSetting-BBCop_0D.js +107 -0
- package/dist/{HButton-Dt6qGhhR.js → HButton-pEqyd918.js} +13 -11
- package/dist/HCheckList-cef4jGrw.js +35 -0
- package/dist/HDivider-BSj2DiEY.js +13 -0
- package/dist/HInput-DfpH43DV.js +36 -0
- package/dist/HSlideover-B6gEDfA5.js +3223 -0
- package/dist/HToggle-BTft_PNT.js +32 -0
- package/dist/HTooltip-B8aoK5uN.js +19 -0
- package/dist/PreferencesContent-CuNffqV_.js +703 -0
- package/dist/SettingBreadcrumb-CMn0gojs.js +47 -0
- package/dist/SettingCopyright-DKwdXYr3.js +47 -0
- package/dist/SettingEnableTransition-Bn37z29E.js +70 -0
- package/dist/SettingHome-HttuaN-N.js +33 -0
- package/dist/SettingMenu-CEvBV2Wj.js +113 -0
- package/dist/SettingMode-DpAUEZUv.js +62 -0
- package/dist/SettingNavSearch-Cem0LL54.js +33 -0
- package/dist/SettingOther-DcrlPnMd.js +50 -0
- package/dist/SettingPage-UhL5e6_m.js +24 -0
- package/dist/SettingTabbar-Ct3S8jS2.js +144 -0
- package/dist/SettingThemes-DaRKZ2Q3.js +123 -0
- package/dist/SettingToolbar-Cx_Mz_EP.js +52 -0
- package/dist/SettingTopbar-Ckg-OGSj.js +51 -0
- package/dist/SettingWidthMode-CZ2i-kzC.js +58 -0
- package/dist/_plugin-vue_export-helper-CsLplWgU.js +8 -0
- package/dist/auth-BVTDpkDr.js +4635 -0
- package/dist/built-in/layout-component/composables/useContext.d.ts +1 -0
- package/dist/{change-organization-hsqeSzDu.js → change-organization-EdR25ifs.js} +51 -48
- package/dist/{change-password-EtccCDRX.js → change-password-D-ZqBAmY.js} +85 -81
- package/dist/chunk-BdsCSvBP.js +20 -0
- package/dist/{components-DFNyaAb9.js → components-CKVAXENc.js} +681 -674
- package/dist/{core-DJIGzMMM.js → core-Dg8YES9i.js} +1003 -938
- package/dist/dist-HLiWAOC7.js +472 -0
- package/dist/{engine-oniguruma-CaNXwGSv.js → engine-oniguruma-DCGL4yXX.js} +58 -56
- package/dist/form-CGzMvzKZ.js +2968 -0
- package/dist/index.js +4994 -4877
- package/dist/json-BFBcpML_.js +3 -0
- package/dist/{modal-Bl5xHbxa.js → modal-ybprgEqf.js} +12543 -9070
- package/dist/not-found-CuHR6H_g.js +44 -0
- package/dist/not-permission-BcQAkzxI.js +41 -0
- package/dist/profile-Bsc6FIbI.js +19533 -0
- package/dist/{question-line-BG__Ycfv.js → question-line-BzrfPWnG.js} +9 -7
- package/dist/reload-BClJy4MY.js +15 -0
- package/dist/{right-BxBlFUwj.js → right-CCqcGubr.js} +15 -13
- package/dist/style.css +1 -1
- package/dist/{tree-select-B8cTcGLa.js → tree-select-gPCwtMia.js} +2906 -2659
- package/dist/useContext-Dlqfap_7.js +11 -0
- package/dist/vitesse-dark-DrB9-RFK.js +4 -0
- package/dist/vitesse-light-CmcnEl2T.js +4 -0
- package/dist/wasm-C92aTsEJ.js +4 -0
- package/dist/watchDiff-DJP3s9bb.js +883 -0
- package/package.json +8 -8
- package/src/built-in/layout-component/components/Menu/item.vue +2 -2
- package/src/built-in/layout-component/composables/useContext.ts +1 -0
- package/src/built-in/layout-component/provider.ts +5 -0
- package/dist/AppSetting-7jlhUzze.js +0 -105
- package/dist/HCheckList-cPBgATmv.js +0 -33
- package/dist/HDivider-BwvBr5OE.js +0 -11
- package/dist/HInput-KJ5nFBpF.js +0 -34
- package/dist/HSlideover-DVQDc9q6.js +0 -3151
- package/dist/HToggle-Ce_2-yhZ.js +0 -30
- package/dist/HTooltip-DjAU-Evn.js +0 -16
- package/dist/PreferencesContent-BAIH81yS.js +0 -701
- package/dist/SettingBreadcrumb-O9-PhAFT.js +0 -45
- package/dist/SettingCopyright-DIKsWTuf.js +0 -45
- package/dist/SettingEnableTransition-61O7W00b.js +0 -68
- package/dist/SettingHome-Sv65TPH8.js +0 -31
- package/dist/SettingMenu-BvwJOUZV.js +0 -111
- package/dist/SettingMode-B8H_eQc8.js +0 -60
- package/dist/SettingNavSearch-BHsmYBA7.js +0 -31
- package/dist/SettingOther-CyyNnaDX.js +0 -48
- package/dist/SettingPage-B82lW41P.js +0 -22
- package/dist/SettingTabbar-Bky2xvH-.js +0 -142
- package/dist/SettingThemes-CkdzS1xt.js +0 -121
- package/dist/SettingToolbar-CD4qns1J.js +0 -50
- package/dist/SettingTopbar-1shjoe3s.js +0 -49
- package/dist/SettingWidthMode-DlG6lXjA.js +0 -56
- package/dist/_plugin-vue_export-helper-sUTDUeGO.js +0 -6
- package/dist/auth-BLGKOyc5.js +0 -4432
- package/dist/chunk-CD4vhpVs.js +0 -18
- package/dist/dist-7OjQvlya.js +0 -468
- package/dist/form-C3VHofnN.js +0 -2768
- package/dist/json-Bu_Zprin.js +0 -2
- package/dist/not-found-BCjngLzt.js +0 -42
- package/dist/not-permission-C26vTMvf.js +0 -39
- package/dist/profile-BVXIFuBG.js +0 -19269
- package/dist/reload-DHx5Vwus.js +0 -12
- package/dist/useContext-DLtu9F7E.js +0 -9
- package/dist/vitesse-dark-CTe40QT_.js +0 -2
- package/dist/vitesse-light-BWXC_WeB.js +0 -2
- package/dist/wasm-2zDVqo-C.js +0 -2
- package/dist/watchDiff-CPZFtaOC.js +0 -655
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { n as e } from "./dist-HLiWAOC7.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-CsLplWgU.js";
|
|
3
|
+
import { n } from "./useContext-Dlqfap_7.js";
|
|
4
|
+
import { t as r } from "./HButton-pEqyd918.js";
|
|
5
|
+
import { t as i } from "./HSlideover-B6gEDfA5.js";
|
|
6
|
+
import { Fragment as a, computed as o, createBlock as s, createElementBlock as c, createElementVNode as l, createSlots as u, createTextVNode as d, createVNode as f, defineAsyncComponent as p, defineComponent as m, markRaw as h, openBlock as g, renderList as _, resolveDynamicComponent as v, unref as y, useModel as b, watch as x, withCtx as S } from "vue";
|
|
7
|
+
import { useRoute as C } from "vue-router";
|
|
8
|
+
import w from "vue-m-message";
|
|
9
|
+
//#region ~icons/ep/document-copy
|
|
10
|
+
var T = {
|
|
11
|
+
viewBox: "0 0 1024 1024",
|
|
12
|
+
width: "1.2em",
|
|
13
|
+
height: "1.2em"
|
|
14
|
+
};
|
|
15
|
+
function E(e, t) {
|
|
16
|
+
return g(), c("svg", T, [...t[0] ||= [l("path", {
|
|
17
|
+
fill: "currentColor",
|
|
18
|
+
d: "M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"
|
|
19
|
+
}, null, -1)]]);
|
|
20
|
+
}
|
|
21
|
+
var D = h({
|
|
22
|
+
name: "ep-document-copy",
|
|
23
|
+
render: E
|
|
24
|
+
}), O = { class: "settong-warp" }, k = /* @__PURE__ */ t(/* @__PURE__ */ m({
|
|
25
|
+
name: "AppSetting",
|
|
26
|
+
components: {
|
|
27
|
+
SettingThemes: p(() => import("./SettingThemes-DaRKZ2Q3.js")),
|
|
28
|
+
SettingsMode: p(() => import("./SettingMode-DpAUEZUv.js")),
|
|
29
|
+
SettingWidthMode: p(() => import("./SettingWidthMode-CZ2i-kzC.js")),
|
|
30
|
+
SettingEnableTransition: p(() => import("./SettingEnableTransition-Bn37z29E.js")),
|
|
31
|
+
SettingMenu: p(() => import("./SettingMenu-CEvBV2Wj.js")),
|
|
32
|
+
SettingTopbar: p(() => import("./SettingTopbar-Ckg-OGSj.js")),
|
|
33
|
+
SettingTabbar: p(() => import("./SettingTabbar-Ct3S8jS2.js")),
|
|
34
|
+
SettingToolbar: p(() => import("./SettingToolbar-Cx_Mz_EP.js")),
|
|
35
|
+
SettingBreadcrumb: p(() => import("./SettingBreadcrumb-CMn0gojs.js")),
|
|
36
|
+
SettingPage: p(() => import("./SettingPage-UhL5e6_m.js")),
|
|
37
|
+
SettingNavSearch: p(() => import("./SettingNavSearch-Cem0LL54.js")),
|
|
38
|
+
SettingCopyright: p(() => import("./SettingCopyright-DKwdXYr3.js")),
|
|
39
|
+
SettingHome: p(() => import("./SettingHome-HttuaN-N.js")),
|
|
40
|
+
SettingOther: p(() => import("./SettingOther-DcrlPnMd.js"))
|
|
41
|
+
},
|
|
42
|
+
__name: "AppSetting",
|
|
43
|
+
props: {
|
|
44
|
+
open: { default: !1 },
|
|
45
|
+
openModifiers: {}
|
|
46
|
+
},
|
|
47
|
+
emits: ["update:open"],
|
|
48
|
+
setup(t) {
|
|
49
|
+
let p = b(t, "open"), m = C(), { settingsStore: h, menuStore: T } = n(), E = o(() => h.mode !== "pc"), k = o(() => P([
|
|
50
|
+
"SettingThemes",
|
|
51
|
+
"SettingsMode",
|
|
52
|
+
"SettingWidthMode",
|
|
53
|
+
"SettingEnableTransition",
|
|
54
|
+
"SettingMenu",
|
|
55
|
+
"SettingTopbar",
|
|
56
|
+
"SettingTabbar",
|
|
57
|
+
"SettingToolbar",
|
|
58
|
+
"SettingBreadcrumb",
|
|
59
|
+
"SettingPage",
|
|
60
|
+
"SettingNavSearch",
|
|
61
|
+
"SettingHome",
|
|
62
|
+
"SettingCopyright",
|
|
63
|
+
"SettingOther"
|
|
64
|
+
], [
|
|
65
|
+
"SettingsMode",
|
|
66
|
+
"SettingWidthMode",
|
|
67
|
+
"SettingEnableTransition",
|
|
68
|
+
"SettingBreadcrumb"
|
|
69
|
+
]));
|
|
70
|
+
x(() => h.settings.menu.menuMode, (e) => {
|
|
71
|
+
e === "single" ? T.setActived(0) : T.setActived(m.fullPath);
|
|
72
|
+
});
|
|
73
|
+
let { copy: A, copied: j, isSupported: M } = e();
|
|
74
|
+
x(j, (e) => {
|
|
75
|
+
e && w.success("复制成功,请粘贴到 src/settings.ts 文件中!", { zIndex: 2e3 });
|
|
76
|
+
});
|
|
77
|
+
function N() {
|
|
78
|
+
A(JSON.stringify(h.settings, null, 2));
|
|
79
|
+
}
|
|
80
|
+
function P(e, t) {
|
|
81
|
+
return e.filter((e) => E.value ? !t.includes(e) : e);
|
|
82
|
+
}
|
|
83
|
+
return (e, t) => {
|
|
84
|
+
let n = r, o = i;
|
|
85
|
+
return g(), s(o, {
|
|
86
|
+
modelValue: p.value,
|
|
87
|
+
"onUpdate:modelValue": t[0] ||= (e) => p.value = e,
|
|
88
|
+
title: "应用配置"
|
|
89
|
+
}, u({
|
|
90
|
+
default: S(() => [l("div", O, [t[1] ||= l("div", { class: "rounded-2 bg-rose/20 px-4 py-2 text-sm/6 c-rose" }, [l("p", { class: "my-1" }, " 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "), l("p", { class: "my-1" }, " 注意:在生产环境中应关闭该模块。 ")], -1), (g(!0), c(a, null, _(y(k), (e) => (g(), s(v(e), { key: e }))), 128))])]),
|
|
91
|
+
_: 2
|
|
92
|
+
}, [y(M) ? {
|
|
93
|
+
name: "footer",
|
|
94
|
+
fn: S(() => [f(n, {
|
|
95
|
+
block: "",
|
|
96
|
+
onClick: N
|
|
97
|
+
}, {
|
|
98
|
+
default: S(() => [f(y(D)), t[2] ||= d(" 复制配置 ", -1)]),
|
|
99
|
+
_: 1
|
|
100
|
+
})]),
|
|
101
|
+
key: "0"
|
|
102
|
+
} : void 0]), 1032, ["modelValue"]);
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
}), [["__scopeId", "data-v-10c15033"]]);
|
|
106
|
+
//#endregion
|
|
107
|
+
export { k as default };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { computed, createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
2
|
-
|
|
1
|
+
import { computed as e, createElementBlock as t, defineComponent as n, normalizeClass as r, openBlock as i, renderSlot as a, unref as o } from "vue";
|
|
2
|
+
//#region src/built-in/layout-component/components/ui/HButton.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var s = ["disabled"], c = /* @__PURE__ */ n({
|
|
3
4
|
__name: "HButton",
|
|
4
5
|
props: {
|
|
5
6
|
block: {
|
|
@@ -15,16 +16,17 @@ var _hoisted_1 = ["disabled"], HButton_default = /* @__PURE__ */ defineComponent
|
|
|
15
16
|
default: !1
|
|
16
17
|
}
|
|
17
18
|
},
|
|
18
|
-
setup(
|
|
19
|
-
let
|
|
19
|
+
setup(n) {
|
|
20
|
+
let c = n, l = e(() => [
|
|
20
21
|
"focus:outline-none focus-visible:outline-0 cursor-pointer disabled:cursor-not-allowed disabled:opacity-75 flex-shrink-0 gap-x-1.5 px-2.5 py-1.5 border-size-0 font-medium text-sm rounded-md select-none",
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
c.block ? "w-full flex justify-center items-center" : "inline-flex items-center",
|
|
23
|
+
c.outline ? "shadow-sm ring-1 ring-inset ring-ui-primary text-ui-primary bg-white dark:bg-dark hover:not-disabled:bg-ui-primary/10 dark:hover:not-disabled:bg-ui-primary/10 focus-visible:ring-2" : "shadow-sm text-ui-text bg-ui-primary hover:bg-ui-primary/75 disabled:bg-ui-primary/90 focus-visible:ring-inset focus-visible:ring-2"
|
|
23
24
|
]);
|
|
24
|
-
return (e,
|
|
25
|
-
disabled:
|
|
26
|
-
class:
|
|
27
|
-
}, [
|
|
25
|
+
return (e, c) => (i(), t("button", {
|
|
26
|
+
disabled: n.disabled,
|
|
27
|
+
class: r(o(l))
|
|
28
|
+
}, [a(e.$slots, "default")], 10, s));
|
|
28
29
|
}
|
|
29
30
|
});
|
|
30
|
-
|
|
31
|
+
//#endregion
|
|
32
|
+
export { c as t };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { a as e } from "./components-CKVAXENc.js";
|
|
2
|
+
import { Fragment as t, createBlock as n, createElementBlock as r, createTextVNode as i, defineComponent as a, normalizeClass as o, openBlock as s, renderList as c, toDisplayString as l, unref as u, watch as d } from "vue";
|
|
3
|
+
//#region src/built-in/layout-component/components/ui/HCheckList.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var f = { class: "inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark:bg-stone-7" }, p = ["disabled", "onClick"], m = /* @__PURE__ */ a({
|
|
5
|
+
__name: "HCheckList",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: {},
|
|
8
|
+
options: {},
|
|
9
|
+
disabled: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
default: !1
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
emits: ["update:modelValue", "change"],
|
|
15
|
+
setup(a, { emit: m }) {
|
|
16
|
+
let h = a, g = m;
|
|
17
|
+
d(() => h.modelValue, (e) => {
|
|
18
|
+
g("change", e);
|
|
19
|
+
});
|
|
20
|
+
function _(e) {
|
|
21
|
+
g("update:modelValue", e);
|
|
22
|
+
}
|
|
23
|
+
return (d, m) => (s(), r("div", f, [(s(!0), r(t, null, c(a.options, (c) => (s(), r("button", {
|
|
24
|
+
key: c.value,
|
|
25
|
+
disabled: a.disabled || c.disabled,
|
|
26
|
+
class: o(["flex cursor-pointer items-center truncate border-size-0 bg-inherit px-2 py-1.5 text-sm disabled:cursor-not-allowed disabled:opacity-50 hover:not-disabled:(bg-ui-primary text-ui-text)", { "text-ui-text bg-ui-primary": a.modelValue === c.value }]),
|
|
27
|
+
onClick: (e) => _(c.value)
|
|
28
|
+
}, [c.icon ? (s(), n(u(e), {
|
|
29
|
+
key: 0,
|
|
30
|
+
name: c.icon
|
|
31
|
+
}, null, 8, ["name"])) : (s(), r(t, { key: 1 }, [i(l(c.label), 1)], 64))], 10, p))), 128))]));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { m as t };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createElementBlock as e, createElementVNode as t, defineComponent as n, openBlock as r, renderSlot as i, toDisplayString as a } from "vue";
|
|
2
|
+
//#region src/built-in/layout-component/components/ui/HDivider.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var o = { "w-full": "" }, s = { class: "flex items-center justify-between gap-4 my-4 whitespace-nowrap text-sm font-500 before:content-empty before:w-full before:h-1px before:bg-stone-2 dark:before:bg-stone-6 after:content-empty after:w-full after:h-1px after:bg-stone-2 dark:after:bg-stone-6" }, c = { class: "px-2.5 py-[5px]" }, l = /* @__PURE__ */ n({
|
|
4
|
+
name: "HDivider",
|
|
5
|
+
__name: "HDivider",
|
|
6
|
+
props: { title: {} },
|
|
7
|
+
setup(n) {
|
|
8
|
+
let l = n;
|
|
9
|
+
return (n, u) => (r(), e("div", o, [t("div", s, [t("div", c, a(l.title), 1)]), i(n.$slots, "default")]));
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
//#endregion
|
|
13
|
+
export { l as t };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { createElementBlock as e, createElementVNode as t, defineComponent as n, openBlock as r, ref as i } from "vue";
|
|
2
|
+
//#region src/built-in/layout-component/components/ui/HInput.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var a = { class: "relative w-full lg:w-48" }, o = [
|
|
4
|
+
"value",
|
|
5
|
+
"placeholder",
|
|
6
|
+
"disabled"
|
|
7
|
+
], s = /* @__PURE__ */ n({
|
|
8
|
+
__name: "HInput",
|
|
9
|
+
props: {
|
|
10
|
+
modelValue: {},
|
|
11
|
+
placeholder: {},
|
|
12
|
+
disabled: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: !1
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
emits: ["update:modelValue"],
|
|
18
|
+
setup(n, { expose: s, emit: c }) {
|
|
19
|
+
let l = c, u = i();
|
|
20
|
+
function d(e) {
|
|
21
|
+
l("update:modelValue", e.target.value);
|
|
22
|
+
}
|
|
23
|
+
return s({ ref: u }), (i, s) => (r(), e("div", a, [t("input", {
|
|
24
|
+
ref_key: "inputRef",
|
|
25
|
+
ref: u,
|
|
26
|
+
type: "text",
|
|
27
|
+
value: n.modelValue,
|
|
28
|
+
placeholder: n.placeholder,
|
|
29
|
+
disabled: n.disabled,
|
|
30
|
+
class: "relative block w-full border-0 rounded-md bg-white px-2.5 py-1.5 text-sm shadow-sm ring-1 ring-stone-2 ring-inset disabled:cursor-not-allowed dark:bg-dark disabled:opacity-50 focus:outline-none focus:ring-2 dark:ring-stone-8 focus:ring-ui-primary placeholder-stone-4 dark:placeholder-stone-5",
|
|
31
|
+
onInput: d
|
|
32
|
+
}, null, 40, o)]));
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
export { s as t };
|