@pubinfo-pr/core 0.222.4 → 0.223.1
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-BWVulLPM.js → AppSetting-7jlhUzze.js} +40 -40
- package/dist/{HCheckList-Bb4GvZ2_.js → HCheckList-cPBgATmv.js} +1 -1
- package/dist/HSlideover-DVQDc9q6.js +3151 -0
- package/dist/{HToggle-Bnr5k93p.js → HToggle-Ce_2-yhZ.js} +2 -2
- package/dist/PreferencesContent-BAIH81yS.js +701 -0
- package/dist/{SettingBreadcrumb-DKCK6V-n.js → SettingBreadcrumb-O9-PhAFT.js} +7 -6
- package/dist/{SettingCopyright-C5Pc0I1w.js → SettingCopyright-DIKsWTuf.js} +4 -4
- package/dist/{SettingEnableTransition-D2FDj0oR.js → SettingEnableTransition-61O7W00b.js} +6 -6
- package/dist/{SettingHome-1Y1rYeQb.js → SettingHome-Sv65TPH8.js} +6 -6
- package/dist/{SettingMenu-DWtNX8Ti.js → SettingMenu-BvwJOUZV.js} +9 -8
- package/dist/{SettingMode-CZV84QeW.js → SettingMode-B8H_eQc8.js} +5 -5
- package/dist/{SettingNavSearch-CrMpbXFg.js → SettingNavSearch-BHsmYBA7.js} +5 -5
- package/dist/{SettingOther-D6gGuQJw.js → SettingOther-CyyNnaDX.js} +6 -6
- package/dist/{SettingPage-DuN13bXO.js → SettingPage-B82lW41P.js} +3 -3
- package/dist/{SettingTabbar-BhJxcU35.js → SettingTabbar-Bky2xvH-.js} +11 -10
- package/dist/{SettingThemes-BjkWfY1C.js → SettingThemes-CkdzS1xt.js} +13 -12
- package/dist/{SettingToolbar-BYOxXAXL.js → SettingToolbar-CD4qns1J.js} +5 -5
- package/dist/{SettingTopbar-CxKsnIRK.js → SettingTopbar-1shjoe3s.js} +9 -8
- package/dist/{SettingWidthMode-dM88qSol.js → SettingWidthMode-DlG6lXjA.js} +6 -6
- package/dist/auth-BLGKOyc5.js +4432 -0
- package/dist/built-in/layout-component/index.d.ts +2 -6
- package/dist/{change-organization-BXl4ZC7j.js → change-organization-hsqeSzDu.js} +25 -25
- package/dist/{change-password-P4SGdvdU.js → change-password-EtccCDRX.js} +74 -65
- package/dist/chunk-CD4vhpVs.js +18 -0
- package/dist/components-DFNyaAb9.js +5238 -0
- package/dist/{core-D2ocBD0r.js → core-DJIGzMMM.js} +51 -57
- package/dist/dist-7OjQvlya.js +468 -0
- package/dist/form-C3VHofnN.js +2768 -0
- package/dist/index.js +8391 -2411
- package/dist/modal-Bl5xHbxa.js +43824 -0
- package/dist/{not-found-C-1699o2.js → not-found-BCjngLzt.js} +5 -4
- package/dist/{not-permission-CZGJzlSF.js → not-permission-C26vTMvf.js} +5 -4
- package/dist/profile-BVXIFuBG.js +19269 -0
- package/dist/{question-line-B4oDBb2H.js → question-line-BG__Ycfv.js} +2 -2
- package/dist/{right-BTHgfOSp.js → right-BxBlFUwj.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/tree-select-B8cTcGLa.js +12497 -0
- package/dist/watchDiff-CPZFtaOC.js +655 -0
- package/package.json +7 -7
- package/src/built-in/authentication/pages/change-organization/index.vue +5 -22
- package/src/built-in/authentication/pages/change-password/index.vue +3 -30
- package/src/built-in/layout-component/Layout.vue +30 -81
- package/src/built-in/layout-component/components/Copyright/index.vue +3 -29
- package/src/built-in/layout-component/components/Header/HeaderFullMenu/More.vue +6 -17
- package/src/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue +7 -18
- package/src/built-in/layout-component/components/Header/index.vue +22 -119
- package/src/built-in/layout-component/components/Logo/index.vue +1 -4
- package/src/built-in/layout-component/components/Menu/item.vue +6 -29
- package/src/built-in/layout-component/components/SettingBar/AppSetting.vue +13 -33
- package/src/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue +25 -113
- package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +4 -57
- package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +20 -123
- package/src/built-in/layout-component/components/SettingBar/components/SettingThemes.vue +25 -102
- package/src/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue +16 -100
- package/src/built-in/layout-component/components/SettingBar/index.vue +10 -64
- package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +22 -76
- package/src/built-in/layout-component/components/Sidebar/SubSidebar.vue +10 -16
- package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +2 -2
- package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +4 -26
- package/src/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue +51 -404
- package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +13 -68
- package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +49 -177
- package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +2 -2
- package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +12 -45
- package/src/built-in/layout-component/components/ui/HToggle.vue +9 -55
- package/src/built-in/layout-component/index.ts +2 -4
- package/src/features/components/PassStrengthValidator/index.vue +10 -36
- package/src/features/components/PassStrengthValidator/rule.vue +4 -17
- package/dist/HSlideover-DoCRa4dK.js +0 -152
- package/dist/HeaderFullMenu--AOcAS-6.js +0 -251
- package/dist/HeaderThinMenu-CRPVfGgM.js +0 -438
- package/dist/PreferencesContent-DW9HAzpr.js +0 -486
- package/dist/auth-DILNNEQ8.js +0 -1230
- package/dist/components-C9kcavB4.js +0 -2768
- package/dist/core-CKIhF3Vi.js +0 -270
- package/dist/profile-B3Q7hRgl.js +0 -123
- /package/dist/{HButton-BPbXqVbA.js → HButton-Dt6qGhhR.js} +0 -0
- /package/dist/{HDivider-BSENlYnI.js → HDivider-BwvBr5OE.js} +0 -0
- /package/dist/{HInput-DbvnkEO7.js → HInput-KJ5nFBpF.js} +0 -0
- /package/dist/{HTooltip-tCnNrJUE.js → HTooltip-DjAU-Evn.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-BBf_fmJ_.js → _plugin-vue_export-helper-sUTDUeGO.js} +0 -0
- /package/dist/{engine-oniguruma-Bl7ZtyDI.js → engine-oniguruma-CaNXwGSv.js} +0 -0
- /package/dist/{json-BuUwnwNo.js → json-Bu_Zprin.js} +0 -0
- /package/dist/{reload-DWTXo9r2.js → reload-DHx5Vwus.js} +0 -0
- /package/dist/{useContext-mDF2-tXy.js → useContext-DLtu9F7E.js} +0 -0
- /package/dist/{vitesse-dark-j0hKJETh.js → vitesse-dark-CTe40QT_.js} +0 -0
- /package/dist/{vitesse-light-BfgKNo3X.js → vitesse-light-BWXC_WeB.js} +0 -0
- /package/dist/{wasm-tXaxAgz9.js → wasm-2zDVqo-C.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
1
|
+
import { n as useClipboard } from "./dist-7OjQvlya.js";
|
|
2
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-sUTDUeGO.js";
|
|
3
|
+
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
4
|
+
import { t as HButton_default } from "./HButton-Dt6qGhhR.js";
|
|
5
|
+
import { t as HSlideover_default } from "./HSlideover-DVQDc9q6.js";
|
|
5
6
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineAsyncComponent, defineComponent, markRaw, openBlock, renderList, resolveComponent, resolveDynamicComponent, unref, useModel, watch, withCtx } from "vue";
|
|
6
|
-
import { useClipboard } from "@vueuse/core";
|
|
7
7
|
import { useRoute } from "vue-router";
|
|
8
8
|
import Message from "vue-m-message";
|
|
9
9
|
var _hoisted_1$1 = {
|
|
@@ -11,7 +11,7 @@ var _hoisted_1$1 = {
|
|
|
11
11
|
width: "1.2em",
|
|
12
12
|
height: "1.2em"
|
|
13
13
|
};
|
|
14
|
-
function render(e, t) {
|
|
14
|
+
function render$1(e, t) {
|
|
15
15
|
return openBlock(), createElementBlock("svg", _hoisted_1$1, [...t[0] ||= [createElementVNode("path", {
|
|
16
16
|
fill: "currentColor",
|
|
17
17
|
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,24 +19,24 @@ function render(e, t) {
|
|
|
19
19
|
}
|
|
20
20
|
var document_copy_default = markRaw({
|
|
21
21
|
name: "ep-document-copy",
|
|
22
|
-
render
|
|
22
|
+
render: render$1
|
|
23
23
|
}), _hoisted_1 = { class: "settong-warp" }, AppSetting_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
24
24
|
name: "AppSetting",
|
|
25
25
|
components: {
|
|
26
|
-
SettingThemes: defineAsyncComponent(() => import("./SettingThemes-
|
|
27
|
-
SettingsMode: defineAsyncComponent(() => import("./SettingMode-
|
|
28
|
-
SettingWidthMode: defineAsyncComponent(() => import("./SettingWidthMode-
|
|
29
|
-
SettingEnableTransition: defineAsyncComponent(() => import("./SettingEnableTransition-
|
|
30
|
-
SettingMenu: defineAsyncComponent(() => import("./SettingMenu-
|
|
31
|
-
SettingTopbar: defineAsyncComponent(() => import("./SettingTopbar-
|
|
32
|
-
SettingTabbar: defineAsyncComponent(() => import("./SettingTabbar-
|
|
33
|
-
SettingToolbar: defineAsyncComponent(() => import("./SettingToolbar-
|
|
34
|
-
SettingBreadcrumb: defineAsyncComponent(() => import("./SettingBreadcrumb-
|
|
35
|
-
SettingPage: defineAsyncComponent(() => import("./SettingPage-
|
|
36
|
-
SettingNavSearch: defineAsyncComponent(() => import("./SettingNavSearch-
|
|
37
|
-
SettingCopyright: defineAsyncComponent(() => import("./SettingCopyright-
|
|
38
|
-
SettingHome: defineAsyncComponent(() => import("./SettingHome-
|
|
39
|
-
SettingOther: defineAsyncComponent(() => import("./SettingOther-
|
|
26
|
+
SettingThemes: defineAsyncComponent(() => import("./SettingThemes-CkdzS1xt.js")),
|
|
27
|
+
SettingsMode: defineAsyncComponent(() => import("./SettingMode-B8H_eQc8.js")),
|
|
28
|
+
SettingWidthMode: defineAsyncComponent(() => import("./SettingWidthMode-DlG6lXjA.js")),
|
|
29
|
+
SettingEnableTransition: defineAsyncComponent(() => import("./SettingEnableTransition-61O7W00b.js")),
|
|
30
|
+
SettingMenu: defineAsyncComponent(() => import("./SettingMenu-BvwJOUZV.js")),
|
|
31
|
+
SettingTopbar: defineAsyncComponent(() => import("./SettingTopbar-1shjoe3s.js")),
|
|
32
|
+
SettingTabbar: defineAsyncComponent(() => import("./SettingTabbar-Bky2xvH-.js")),
|
|
33
|
+
SettingToolbar: defineAsyncComponent(() => import("./SettingToolbar-CD4qns1J.js")),
|
|
34
|
+
SettingBreadcrumb: defineAsyncComponent(() => import("./SettingBreadcrumb-O9-PhAFT.js")),
|
|
35
|
+
SettingPage: defineAsyncComponent(() => import("./SettingPage-B82lW41P.js")),
|
|
36
|
+
SettingNavSearch: defineAsyncComponent(() => import("./SettingNavSearch-BHsmYBA7.js")),
|
|
37
|
+
SettingCopyright: defineAsyncComponent(() => import("./SettingCopyright-DIKsWTuf.js")),
|
|
38
|
+
SettingHome: defineAsyncComponent(() => import("./SettingHome-Sv65TPH8.js")),
|
|
39
|
+
SettingOther: defineAsyncComponent(() => import("./SettingOther-CyyNnaDX.js"))
|
|
40
40
|
},
|
|
41
41
|
__name: "AppSetting",
|
|
42
42
|
props: {
|
|
@@ -44,8 +44,8 @@ var document_copy_default = markRaw({
|
|
|
44
44
|
openModifiers: {}
|
|
45
45
|
},
|
|
46
46
|
emits: ["update:open"],
|
|
47
|
-
setup(
|
|
48
|
-
let
|
|
47
|
+
setup(t) {
|
|
48
|
+
let i = useModel(t, "open"), a = useRoute(), { settingsStore: o, menuStore: s } = useContext(), c = computed(() => o.mode !== "pc"), l = computed(() => m([
|
|
49
49
|
"SettingThemes",
|
|
50
50
|
"SettingsMode",
|
|
51
51
|
"SettingWidthMode",
|
|
@@ -66,33 +66,33 @@ var document_copy_default = markRaw({
|
|
|
66
66
|
"SettingEnableTransition",
|
|
67
67
|
"SettingBreadcrumb"
|
|
68
68
|
]));
|
|
69
|
-
watch(() =>
|
|
70
|
-
e === "single" ?
|
|
69
|
+
watch(() => o.settings.menu.menuMode, (e) => {
|
|
70
|
+
e === "single" ? s.setActived(0) : s.setActived(a.fullPath);
|
|
71
71
|
});
|
|
72
|
-
let { copy:
|
|
73
|
-
watch(
|
|
72
|
+
let { copy: u, copied: d, isSupported: f } = useClipboard();
|
|
73
|
+
watch(d, (e) => {
|
|
74
74
|
e && Message.success("复制成功,请粘贴到 src/settings.ts 文件中!", { zIndex: 2e3 });
|
|
75
75
|
});
|
|
76
|
-
function
|
|
77
|
-
|
|
76
|
+
function p() {
|
|
77
|
+
u(JSON.stringify(o.settings, null, 2));
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
return e.filter((e) =>
|
|
79
|
+
function m(e, t) {
|
|
80
|
+
return e.filter((e) => c.value ? !t.includes(e) : e);
|
|
81
81
|
}
|
|
82
82
|
return (e, t) => {
|
|
83
|
-
let n = HButton_default,
|
|
84
|
-
return openBlock(), createBlock(
|
|
85
|
-
modelValue:
|
|
86
|
-
"onUpdate:modelValue": t[0] ||= (e) =>
|
|
83
|
+
let n = HButton_default, r = HSlideover_default;
|
|
84
|
+
return openBlock(), createBlock(r, {
|
|
85
|
+
modelValue: i.value,
|
|
86
|
+
"onUpdate:modelValue": t[0] ||= (e) => i.value = e,
|
|
87
87
|
title: "应用配置"
|
|
88
88
|
}, createSlots({
|
|
89
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1, [t[1] ||= createElementVNode("div", { class: "rounded-2 bg-rose/20 px-4 py-2 text-sm/6 c-rose" }, [createElementVNode("p", { class: "my-1" }, " 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "), createElementVNode("p", { class: "my-1" }, " 注意:在生产环境中应关闭该模块。 ")], -1), (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(
|
|
89
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1, [t[1] ||= createElementVNode("div", { class: "rounded-2 bg-rose/20 px-4 py-2 text-sm/6 c-rose" }, [createElementVNode("p", { class: "my-1" }, " 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "), createElementVNode("p", { class: "my-1" }, " 注意:在生产环境中应关闭该模块。 ")], -1), (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(l), (e) => (openBlock(), createBlock(resolveDynamicComponent(e), { key: e }))), 128))])]),
|
|
90
90
|
_: 2
|
|
91
|
-
}, [unref(
|
|
91
|
+
}, [unref(f) ? {
|
|
92
92
|
name: "footer",
|
|
93
93
|
fn: withCtx(() => [createVNode(n, {
|
|
94
|
-
|
|
95
|
-
onClick:
|
|
94
|
+
block: "",
|
|
95
|
+
onClick: p
|
|
96
96
|
}, {
|
|
97
97
|
default: withCtx(() => [createVNode(unref(document_copy_default)), t[2] ||= createTextVNode(" 复制配置 ", -1)]),
|
|
98
98
|
_: 1
|
|
@@ -101,5 +101,5 @@ var document_copy_default = markRaw({
|
|
|
101
101
|
} : void 0]), 1032, ["modelValue"]);
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
|
-
}), [["__scopeId", "data-v-
|
|
104
|
+
}), [["__scopeId", "data-v-10c15033"]]);
|
|
105
105
|
export { AppSetting_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PubinfoIcon_default } from "./components-
|
|
1
|
+
import { a as PubinfoIcon_default } from "./components-DFNyaAb9.js";
|
|
2
2
|
import { Fragment, createBlock, createElementBlock, createTextVNode, defineComponent, normalizeClass, openBlock, renderList, toDisplayString, unref, watch } from "vue";
|
|
3
3
|
var _hoisted_1 = { class: "inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark:bg-stone-7" }, _hoisted_2 = ["disabled", "onClick"], HCheckList_default = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "HCheckList",
|