@pubinfo/core 2.0.0-beta.10 → 2.0.0-beta.12
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-BkkBhQs8.js → AppSetting-C8JYYwjf.js} +16 -16
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-CCAu4BLQ.js → HCheckList.vue_vue_type_script_setup_true_lang-pGv1_kD7.js} +2 -2
- package/dist/{PreferencesContent-CR--f_NB.js → PreferencesContent-C49d-vmJ.js} +4 -4
- package/dist/{SettingBreadcrumb-G3tCFpLA.js → SettingBreadcrumb-C-yAQx2V.js} +2 -2
- package/dist/{SettingCopyright-CX0focMI.js → SettingCopyright-DqBATcFr.js} +1 -1
- package/dist/{SettingEnableTransition-DOKJnR4L.js → SettingEnableTransition-Dbxyx29L.js} +1 -1
- package/dist/{SettingHome-BYO222_e.js → SettingHome-CMZmM_CF.js} +1 -1
- package/dist/{SettingMenu-wjOwhCSF.js → SettingMenu-BVMQeUIl.js} +2 -2
- package/dist/{SettingMode-Bvavz1iE.js → SettingMode-B5sHVxPV.js} +1 -1
- package/dist/{SettingNavSearch-BNgCCL_g.js → SettingNavSearch-DLK9gQZj.js} +1 -1
- package/dist/{SettingOther-Bkg_d75_.js → SettingOther-C_SGwGP9.js} +1 -1
- package/dist/{SettingPage-CoxnW-C8.js → SettingPage-B21udtFQ.js} +1 -1
- package/dist/{SettingTabbar-CSbAXsSc.js → SettingTabbar-Cw4Y_0aT.js} +2 -2
- package/dist/{SettingThemes-DWIUI9Jm.js → SettingThemes-BiMTS-Jm.js} +2 -2
- package/dist/{SettingToolbar-B2ieO89s.js → SettingToolbar-DFYHdt5Y.js} +1 -1
- package/dist/{SettingTopbar-O8atqRyC.js → SettingTopbar-DV9I8JAn.js} +2 -2
- package/dist/{SettingWidthMode-xRqJUEGW.js → SettingWidthMode-DBT0vpbI.js} +1 -1
- package/dist/{TopThinMode-B5bzupL0.js → TopThinMode-Bhe61DqD.js} +1 -1
- package/dist/{_...all_-BhkWBVsP.js → _...all_-DdTUTYRx.js} +1 -1
- package/dist/{colors-D1em-qbN.js → colors-DIxsmpcn.js} +1 -1
- package/dist/composables/auth.d.ts +1 -1
- package/dist/{index-DkuKtlnz.js → index-B3IukB6_.js} +2 -2
- package/dist/{index-B_G9XMp4.js → index-BSsKIigI.js} +2 -2
- package/dist/{index-LwHAdG5B.js → index-BmLVBGQQ.js} +3 -3
- package/dist/{index-Bt_iFTZm.js → index-Bq0l9LxQ.js} +4 -4
- package/dist/{index-C9Ne6frc.js → index-BtEsIJvE.js} +3 -3
- package/dist/{index-B82_RIAQ.js → index-C6wl3PFA.js} +2 -2
- package/dist/{index-CInEsIq9.js → index-ClFzex_G.js} +4 -4
- package/dist/{index-D4ZKd0qO.js → index-Dfo6jPsW.js} +1 -1
- package/dist/{index-D1uzRPbe.js → index-Dkz4hXeC.js} +9 -9
- package/dist/index.js +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-Cf4EKYdE.js → index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-CwNNyyGP.js} +1 -1
- package/dist/interface.d.ts +11 -0
- package/dist/{menu-lns6oFYd.js → menu-B5iLIYKi.js} +6 -6
- package/dist/{pick-D4R-sEsr.js → pick-CTnAIBFU.js} +1 -1
- package/dist/request.js +1 -1
- package/dist/stores/modules/user.d.ts +2 -1
- package/package.json +3 -3
- package/src/composables/auth.ts +1 -1
- package/src/interface.ts +11 -0
- package/src/route/routes.ts +2 -2
- package/src/stores/modules/user.ts +1 -0
- package/src/stores/plugin/sideEffect/favoritesStorage.ts +1 -1
- package/src/stores/plugin/sideEffect/tabbarStorage.ts +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as k, b as B } from "./index-
|
|
1
|
+
import { u as k, b as B } from "./index-Dkz4hXeC.js";
|
|
2
2
|
import { _ as H } from "./HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js";
|
|
3
3
|
import { markRaw as w, createElementBlock as h, openBlock as a, createElementVNode as i, defineComponent as A, defineAsyncComponent as t, useModel as E, computed as c, watch as g, createBlock as S, createSlots as N, withCtx as p, Fragment as z, renderList as O, unref as l, resolveDynamicComponent as P, createVNode as f, createTextVNode as W } from "vue";
|
|
4
|
-
import { o as $ } from "./menu-
|
|
4
|
+
import { o as $ } from "./menu-B5iLIYKi.js";
|
|
5
5
|
import D from "vue-m-message";
|
|
6
6
|
import { useRoute as I } from "vue-router";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -21,20 +21,20 @@ function J(d, o) {
|
|
|
21
21
|
const L = w({ name: "ep-document-copy", render: J }), U = { class: "settong-warp" }, j = /* @__PURE__ */ A({
|
|
22
22
|
name: "AppSetting",
|
|
23
23
|
components: {
|
|
24
|
-
SettingThemes: t(() => import("./SettingThemes-
|
|
25
|
-
SettingsMode: t(() => import("./SettingMode-
|
|
26
|
-
SettingWidthMode: t(() => import("./SettingWidthMode-
|
|
27
|
-
SettingEnableTransition: t(() => import("./SettingEnableTransition-
|
|
28
|
-
SettingMenu: t(() => import("./SettingMenu-
|
|
29
|
-
SettingTopbar: t(() => import("./SettingTopbar-
|
|
30
|
-
SettingTabbar: t(() => import("./SettingTabbar-
|
|
31
|
-
SettingToolbar: t(() => import("./SettingToolbar-
|
|
32
|
-
SettingBreadcrumb: t(() => import("./SettingBreadcrumb-
|
|
33
|
-
SettingPage: t(() => import("./SettingPage-
|
|
34
|
-
SettingNavSearch: t(() => import("./SettingNavSearch-
|
|
35
|
-
SettingCopyright: t(() => import("./SettingCopyright-
|
|
36
|
-
SettingHome: t(() => import("./SettingHome-
|
|
37
|
-
SettingOther: t(() => import("./SettingOther-
|
|
24
|
+
SettingThemes: t(() => import("./SettingThemes-BiMTS-Jm.js")),
|
|
25
|
+
SettingsMode: t(() => import("./SettingMode-B5sHVxPV.js")),
|
|
26
|
+
SettingWidthMode: t(() => import("./SettingWidthMode-DBT0vpbI.js")),
|
|
27
|
+
SettingEnableTransition: t(() => import("./SettingEnableTransition-Dbxyx29L.js")),
|
|
28
|
+
SettingMenu: t(() => import("./SettingMenu-BVMQeUIl.js")),
|
|
29
|
+
SettingTopbar: t(() => import("./SettingTopbar-DV9I8JAn.js")),
|
|
30
|
+
SettingTabbar: t(() => import("./SettingTabbar-Cw4Y_0aT.js")),
|
|
31
|
+
SettingToolbar: t(() => import("./SettingToolbar-DFYHdt5Y.js")),
|
|
32
|
+
SettingBreadcrumb: t(() => import("./SettingBreadcrumb-C-yAQx2V.js")),
|
|
33
|
+
SettingPage: t(() => import("./SettingPage-B21udtFQ.js")),
|
|
34
|
+
SettingNavSearch: t(() => import("./SettingNavSearch-DLK9gQZj.js")),
|
|
35
|
+
SettingCopyright: t(() => import("./SettingCopyright-DqBATcFr.js")),
|
|
36
|
+
SettingHome: t(() => import("./SettingHome-CMZmM_CF.js")),
|
|
37
|
+
SettingOther: t(() => import("./SettingOther-C_SGwGP9.js"))
|
|
38
38
|
},
|
|
39
39
|
__name: "AppSetting",
|
|
40
40
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as c, watch as u, createElementBlock as n, openBlock as a, Fragment as i, renderList as m, normalizeClass as p, createBlock as b, unref as f, createTextVNode as _, toDisplayString as h } from "vue";
|
|
2
|
-
import "./menu-
|
|
2
|
+
import "./menu-B5iLIYKi.js";
|
|
3
3
|
import "pinia-plugin-persistedstate";
|
|
4
4
|
import "vue-router";
|
|
5
|
-
import { _ as k } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-
|
|
5
|
+
import { _ as k } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-CwNNyyGP.js";
|
|
6
6
|
const y = { class: "inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark:bg-stone-7" }, g = ["disabled", "onClick"], L = /* @__PURE__ */ c({
|
|
7
7
|
__name: "HCheckList",
|
|
8
8
|
props: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as ze } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { u as Le, c as Re } from "./index-
|
|
1
|
+
import { _ as ze } from "./HCheckList.vue_vue_type_script_setup_true_lang-pGv1_kD7.js";
|
|
2
|
+
import { u as Le, c as Re } from "./index-Dkz4hXeC.js";
|
|
3
3
|
import { _ as je } from "./HToggle-Cd71WKvG.js";
|
|
4
4
|
import { defineComponent as Ee, shallowRef as te, computed as de, createVNode as l, Transition as De, withDirectives as Fe, vShow as Ne, ref as qe, createElementBlock as r, openBlock as u, createCommentVNode as m, createElementVNode as i, unref as e, isRef as We, Fragment as Ge, renderList as Xe, normalizeClass as h, normalizeStyle as Je, withCtx as g, createTextVNode as J } from "vue";
|
|
5
5
|
import { themes as Ae } from "@pubinfo/config/themes";
|
|
6
6
|
import { E as se, a as ie } from "./right-Bfe2p1o0.js";
|
|
7
7
|
import { R as oe } from "./question-line-CfkciTFq.js";
|
|
8
|
-
import { a2 as Qe, a3 as Ze, a4 as ae, a5 as Ke, a6 as Ye, ai as N, a7 as en, bZ as nn, b_ as tn, b$ as on, c0 as ln, bS as an, av as sn, c1 as dn, bT as rn, aj as un, ax as mn, ao as cn, ak as bn, aU as pn, a9 as He, bg as yn, L as gn, f as vn, v as fn, a1 as hn } from "./menu-
|
|
9
|
-
import { p as B } from "./pick-
|
|
8
|
+
import { a2 as Qe, a3 as Ze, a4 as ae, a5 as Ke, a6 as Ye, ai as N, a7 as en, bZ as nn, b_ as tn, b$ as on, c0 as ln, bS as an, av as sn, c1 as dn, bT as rn, aj as un, ax as mn, ao as cn, ak as bn, aU as pn, a9 as He, bg as yn, L as gn, f as vn, v as fn, a1 as hn } from "./menu-B5iLIYKi.js";
|
|
9
|
+
import { p as B } from "./pick-CTnAIBFU.js";
|
|
10
10
|
import { _ as wn } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const le = (d, o, n, v, w) => ({
|
|
12
12
|
backgroundColor: d,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as r } from "./HDivider-DgXBhPr0.js";
|
|
2
|
-
import { _ as p } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as p } from "./HCheckList.vue_vue_type_script_setup_true_lang-pGv1_kD7.js";
|
|
3
3
|
import { _ } from "./HToggle-Cd71WKvG.js";
|
|
4
4
|
import { defineComponent as b, toRefs as f, createBlock as g, openBlock as c, withCtx as V, createElementVNode as n, createVNode as s, unref as t } from "vue";
|
|
5
|
-
import { u as v } from "./index-
|
|
5
|
+
import { u as v } from "./index-Dkz4hXeC.js";
|
|
6
6
|
const M = { class: "setting-item" }, x = { class: "setting-item" }, B = { class: "setting-item" }, w = /* @__PURE__ */ b({
|
|
7
7
|
name: "SettingBreadcrumb",
|
|
8
8
|
__name: "SettingBreadcrumb",
|
|
@@ -2,7 +2,7 @@ import { _ as u } from "./HDivider-DgXBhPr0.js";
|
|
|
2
2
|
import { _ as p } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
|
|
3
3
|
import { _ as r } from "./HToggle-Cd71WKvG.js";
|
|
4
4
|
import { defineComponent as b, toRef as _, createBlock as g, openBlock as V, withCtx as f, createElementVNode as o, createVNode as n, unref as t } from "vue";
|
|
5
|
-
import { u as v } from "./index-
|
|
5
|
+
import { u as v } from "./index-Dkz4hXeC.js";
|
|
6
6
|
const y = { class: "setting-item" }, C = { class: "setting-item" }, U = { class: "setting-item" }, x = { class: "setting-item" }, w = { class: "setting-item" }, I = /* @__PURE__ */ b({
|
|
7
7
|
name: "SettingCopyright",
|
|
8
8
|
__name: "SettingCopyright",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as g } from "./HDivider-DgXBhPr0.js";
|
|
2
|
-
import { u as k, c as x } from "./index-
|
|
2
|
+
import { u as k, c as x } from "./index-Dkz4hXeC.js";
|
|
3
3
|
import { _ as C } from "./HToggle-Cd71WKvG.js";
|
|
4
4
|
import { defineComponent as T, toRefs as V, reactive as h, createBlock as c, openBlock as o, withCtx as l, createElementVNode as d, createElementBlock as r, createCommentVNode as E, createVNode as y, unref as s, isRef as H, Fragment as S, renderList as B, normalizeClass as N } from "vue";
|
|
5
5
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as f } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { _ as g } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
|
|
3
3
|
import { _ as V } from "./HToggle-Cd71WKvG.js";
|
|
4
|
-
import { u as b, c as x } from "./index-
|
|
4
|
+
import { u as b, c as x } from "./index-Dkz4hXeC.js";
|
|
5
5
|
import { defineComponent as H, toRefs as v, createBlock as C, openBlock as N, withCtx as i, createElementVNode as s, createVNode as o, createTextVNode as _, unref as t } from "vue";
|
|
6
6
|
import { R as a } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const R = { class: "setting-item" }, S = { class: "label" }, T = { class: "setting-item" }, k = { class: "label" }, Q = /* @__PURE__ */ H({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ } from "./HDivider-DgXBhPr0.js";
|
|
2
|
-
import { _ as v } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as v } from "./HCheckList.vue_vue_type_script_setup_true_lang-pGv1_kD7.js";
|
|
3
3
|
import { _ as g } from "./HToggle-Cd71WKvG.js";
|
|
4
|
-
import { u as M, c as y } from "./index-
|
|
4
|
+
import { u as M, c as y } from "./index-Dkz4hXeC.js";
|
|
5
5
|
import { defineComponent as f, toRef as c, createBlock as U, openBlock as b, withCtx as i, createElementVNode as s, createElementBlock as C, createCommentVNode as k, createVNode as t, createTextVNode as a, unref as l } from "vue";
|
|
6
6
|
import { R as m } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const x = { class: "setting-item" }, H = { class: "label" }, S = { class: "setting-item" }, O = { class: "label" }, B = { class: "setting-item" }, R = { class: "label" }, w = { class: "setting-item" }, A = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as u } from "./HDivider-DgXBhPr0.js";
|
|
2
|
-
import { u as v, c as f } from "./index-
|
|
2
|
+
import { u as v, c as f } from "./index-Dkz4hXeC.js";
|
|
3
3
|
import { defineComponent as b, toRef as g, reactive as k, createBlock as a, openBlock as n, withCtx as s, createElementVNode as o, createElementBlock as x, Fragment as C, renderList as S, unref as l, normalizeClass as h } from "vue";
|
|
4
4
|
import { _ as y } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const M = { class: "menu-mode" }, B = ["onClick"], H = /* @__PURE__ */ b({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { _ as u } from "./HToggle-Cd71WKvG.js";
|
|
3
|
-
import { u as p, c } from "./index-
|
|
3
|
+
import { u as p, c } from "./index-Dkz4hXeC.js";
|
|
4
4
|
import { defineComponent as f, toRef as g, createBlock as b, openBlock as v, withCtx as i, createElementVNode as n, createVNode as s, createTextVNode as V, unref as t } from "vue";
|
|
5
5
|
import { R as S } from "./question-line-CfkciTFq.js";
|
|
6
6
|
const x = { class: "setting-item" }, H = { class: "label" }, N = { class: "setting-item" }, h = /* @__PURE__ */ f({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as c } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { _ as x } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
|
|
3
|
-
import { u as b, c as S } from "./index-
|
|
3
|
+
import { u as b, c as S } from "./index-Dkz4hXeC.js";
|
|
4
4
|
import { _ as H } from "./HToggle-Cd71WKvG.js";
|
|
5
5
|
import { defineComponent as R, toRefs as T, createBlock as U, openBlock as C, withCtx as s, createElementVNode as o, createVNode as t, unref as n, isRef as i, createTextVNode as p } from "vue";
|
|
6
6
|
import { R as f } from "./question-line-CfkciTFq.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as m } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { _ } from "./HToggle-Cd71WKvG.js";
|
|
3
3
|
import { defineComponent as r, toRef as p, createBlock as u, openBlock as c, withCtx as d, createElementVNode as o, createVNode as g, unref as n } from "vue";
|
|
4
|
-
import { u as f } from "./index-
|
|
4
|
+
import { u as f } from "./index-Dkz4hXeC.js";
|
|
5
5
|
const V = { class: "setting-item" }, C = /* @__PURE__ */ r({
|
|
6
6
|
name: "SettingPage",
|
|
7
7
|
__name: "SettingPage",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as k } from "./HDivider-DgXBhPr0.js";
|
|
2
|
-
import { u as w, c as y } from "./index-
|
|
2
|
+
import { u as w, c as y } from "./index-Dkz4hXeC.js";
|
|
3
3
|
import { markRaw as x, createElementBlock as p, openBlock as r, createElementVNode as o, defineComponent as v, computed as $, resolveComponent as C, createBlock as V, mergeProps as h, withCtx as u, toDisplayString as g, unref as t, createVNode as a, Fragment as H, renderList as B, normalizeClass as S, toRef as T, createTextVNode as M } from "vue";
|
|
4
|
-
import { _ as U } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as U } from "./HCheckList.vue_vue_type_script_setup_true_lang-pGv1_kD7.js";
|
|
5
5
|
import { _ as L } from "./HToggle-Cd71WKvG.js";
|
|
6
6
|
import { R as N } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const R = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as T } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { markRaw as b, createElementBlock as d, openBlock as o, createElementVNode as t, defineComponent as k, useModel as V, withDirectives as S, createStaticVNode as $, vModelCheckbox as w, toRef as D, computed as B, createBlock as N, withCtx as j, createVNode as u, unref as c, isRef as L, Fragment as g, renderList as f, normalizeClass as M, normalizeStyle as h, toDisplayString as z } from "vue";
|
|
3
|
-
import "./menu-
|
|
3
|
+
import "./menu-B5iLIYKi.js";
|
|
4
4
|
import "pinia-plugin-persistedstate";
|
|
5
|
-
import { d as F, u as R } from "./index-
|
|
5
|
+
import { d as F, u as R } from "./index-Dkz4hXeC.js";
|
|
6
6
|
import { themes as v } from "@pubinfo/config/themes";
|
|
7
7
|
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const A = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as b } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { _ as V } from "./HToggle-Cd71WKvG.js";
|
|
3
|
-
import { u as f, c as g } from "./index-
|
|
3
|
+
import { u as f, c as g } from "./index-Dkz4hXeC.js";
|
|
4
4
|
import { defineComponent as c, toRef as v, createBlock as x, openBlock as _, withCtx as i, createElementVNode as s, createElementBlock as C, createCommentVNode as N, createVNode as o, createTextVNode as m, unref as t } from "vue";
|
|
5
5
|
import { R as u } from "./question-line-CfkciTFq.js";
|
|
6
6
|
const R = { class: "setting-item" }, S = { class: "label" }, T = { class: "setting-item" }, U = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as u } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { _ as c } from "./HToggle-Cd71WKvG.js";
|
|
3
|
-
import { u as b, c as f } from "./index-
|
|
4
|
-
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { u as b, c as f } from "./index-Dkz4hXeC.js";
|
|
4
|
+
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-pGv1_kD7.js";
|
|
5
5
|
import { defineComponent as T, toRefs as V, createBlock as v, openBlock as x, withCtx as a, createElementVNode as n, createVNode as s, unref as t, createTextVNode as k } from "vue";
|
|
6
6
|
import { R as C } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const H = { class: "setting-item" }, w = { class: "setting-item" }, N = { class: "label" }, D = /* @__PURE__ */ T({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as h } from "./HDivider-DgXBhPr0.js";
|
|
2
|
-
import { u as v, c as g } from "./index-
|
|
2
|
+
import { u as v, c as g } from "./index-Dkz4hXeC.js";
|
|
3
3
|
import { defineComponent as k, toRef as w, reactive as x, createBlock as a, openBlock as t, withCtx as n, createElementVNode as s, createElementBlock as d, Fragment as r, renderList as b, unref as c, normalizeClass as C, createCommentVNode as M, createVNode as l } from "vue";
|
|
4
4
|
import { E, a as y } from "./right-Bfe2p1o0.js";
|
|
5
5
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, ref as l, createElementBlock as m, openBlock as i, withModifiers as c, createVNode as d, normalizeClass as f, unref as e } from "vue";
|
|
2
|
-
import { u as p, _ } from "./index-
|
|
2
|
+
import { u as p, _ } from "./index-Dkz4hXeC.js";
|
|
3
3
|
import { useRoute as h } from "vue-router";
|
|
4
4
|
const R = /* @__PURE__ */ a({
|
|
5
5
|
name: "TopThinMode",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as u } from "./HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js";
|
|
2
2
|
import { defineComponent as c, ref as f, onMounted as d, createElementBlock as m, openBlock as p, createElementVNode as o, createVNode as _, withCtx as x, createTextVNode as v, toDisplayString as w, unref as g } from "vue";
|
|
3
|
-
import { e as b, a as k } from "./menu-
|
|
3
|
+
import { e as b, a as k } from "./menu-B5iLIYKi.js";
|
|
4
4
|
import "pinia-plugin-persistedstate";
|
|
5
5
|
import { useRoute as N, useRouter as S, onBeforeRouteLeave as h } from "vue-router";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as t } from "./menu-
|
|
1
|
+
import { a4 as t } from "./menu-B5iLIYKi.js";
|
|
2
2
|
const n = ["blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "lime", "gold"];
|
|
3
3
|
function C(e, s) {
|
|
4
4
|
return n.reduce((o, r) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as w, computed as v, createVNode as z, createElementBlock as h, openBlock as l, normalizeClass as S, createElementVNode as s, createBlock as x, unref as C, toDisplayString as D, mergeModels as G, useModel as _, watchEffect as H, createCommentVNode as y, Fragment as $, renderList as M } from "vue";
|
|
2
|
-
import { A as T, a as W, z as P } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-
|
|
2
|
+
import { A as T, a as W, z as P } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-CwNNyyGP.js";
|
|
3
3
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
import { a2 as L, a3 as R, a4 as b, a5 as N, a6 as q, a7 as j, a8 as F, a9 as B, aa as Z } from "./menu-
|
|
4
|
+
import { a2 as L, a3 as R, a4 as b, a5 as N, a6 as q, a7 as j, a8 as F, a9 as B, aa as Z } from "./menu-B5iLIYKi.js";
|
|
5
5
|
const O = (e) => {
|
|
6
6
|
const {
|
|
7
7
|
componentCls: t,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { bz as Ii, bA as Fi, a0 as jn, bB as Ri, ad as Ni, ae as zn, bC as Di, $ as ji, bD as zi, bE as Bi, af as Ot, bl as Xe, a4 as b, ai as V, bF as Rr, a9 as L, a8 as Nr, aj as Q, ag as he, bG as De, a_ as Vi, bm as Ge, ak as ve, aU as Dr, ap as Ye, bi as Hi, b7 as He, bn as Li, bH as Bn, bI as Wi, bd as qi, be as Xi, bJ as Gi, bK as Yi, aD as Ui, bL as ki, aW as Ki, aP as $e, a2 as it, a3 as Ce, aS as Qi, a5 as ot, an as jr, aN as Ke, a7 as ye, ao as hn, bM as Zi, aG as Ji, bN as eo, a6 as to, aC as no, aZ as ro, bO as io, aM as Qe, ah as Gt, b9 as oo, bu as ao, bP as zr, bQ as lo, f as mt, bR as so, aw as uo, av as vn, bS as co, bT as fo, bg as Pt, bv as po, aJ as Re, aL as We, aK as Yt, bh as xe, bU as ho, bV as vo, bW as go, aq as we, aR as Vn, aE as mo, aF as Br, bb as Hn, b4 as bo, a1 as yo } from "./menu-
|
|
1
|
+
import { bz as Ii, bA as Fi, a0 as jn, bB as Ri, ad as Ni, ae as zn, bC as Di, $ as ji, bD as zi, bE as Bi, af as Ot, bl as Xe, a4 as b, ai as V, bF as Rr, a9 as L, a8 as Nr, aj as Q, ag as he, bG as De, a_ as Vi, bm as Ge, ak as ve, aU as Dr, ap as Ye, bi as Hi, b7 as He, bn as Li, bH as Bn, bI as Wi, bd as qi, be as Xi, bJ as Gi, bK as Yi, aD as Ui, bL as ki, aW as Ki, aP as $e, a2 as it, a3 as Ce, aS as Qi, a5 as ot, an as jr, aN as Ke, a7 as ye, ao as hn, bM as Zi, aG as Ji, bN as eo, a6 as to, aC as no, aZ as ro, bO as io, aM as Qe, ah as Gt, b9 as oo, bu as ao, bP as zr, bQ as lo, f as mt, bR as so, aw as uo, av as vn, bS as co, bT as fo, bg as Pt, bv as po, aJ as Re, aL as We, aK as Yt, bh as xe, bU as ho, bV as vo, bW as go, aq as we, aR as Vn, aE as mo, aF as Br, bb as Hn, b4 as bo, a1 as yo } from "./menu-B5iLIYKi.js";
|
|
2
2
|
import { createVNode as A, defineComponent as ee, reactive as gn, getCurrentInstance as at, onMounted as Oe, onUpdated as Vr, onUnmounted as Hr, watch as ne, Transition as Et, withDirectives as mn, resolveDirective as wo, ref as te, shallowRef as X, onBeforeUnmount as _e, computed as I, nextTick as me, toRef as xo, withModifiers as Ln, vShow as Lr, Fragment as Me, provide as be, inject as Be, watchEffect as Ie, cloneVNode as $o, TransitionGroup as So, toRaw as Ut, unref as Pe, onBeforeUpdate as Co } from "vue";
|
|
3
|
-
import { i as Oo, g as Po } from "./colors-
|
|
3
|
+
import { i as Oo, g as Po } from "./colors-DIxsmpcn.js";
|
|
4
4
|
function Eo(e) {
|
|
5
5
|
return e !== e;
|
|
6
6
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { markRaw as V, createElementBlock as M, openBlock as r, createElementVNode as s, defineComponent as h, resolveComponent as J, renderSlot as Q, createBlock as B, withCtx as f, mergeProps as L, Fragment as U, renderList as k, normalizeClass as w, createCommentVNode as N, unref as t, toDisplayString as O, ref as z, computed as X, onMounted as W, watch as q, createVNode as E, createTextVNode as _ } from "vue";
|
|
2
|
-
import { bY as $ } from "./menu-
|
|
2
|
+
import { bY as $ } from "./menu-B5iLIYKi.js";
|
|
3
3
|
import "pinia-plugin-persistedstate";
|
|
4
4
|
import "vue-router";
|
|
5
|
-
import { _ as T } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-
|
|
6
|
-
import { u as ee, a as te } from "./index-
|
|
5
|
+
import { _ as T } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-CwNNyyGP.js";
|
|
6
|
+
import { u as ee, a as te } from "./index-Dkz4hXeC.js";
|
|
7
7
|
import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const ne = {
|
|
9
9
|
viewBox: "0 0 24 24",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as b, mergeModels as F, useModel as R, reactive as T, ref as P, createElementBlock as h, openBlock as N, createVNode as t, unref as a, withCtx as u, createTextVNode as y, nextTick as j, computed as S, createElementVNode as p, isRef as v } from "vue";
|
|
2
|
-
import { $ as W, a0 as z, u as B, a1 as M, v as $ } from "./menu-
|
|
2
|
+
import { $ as W, a0 as z, u as B, a1 as M, v as $ } from "./menu-B5iLIYKi.js";
|
|
3
3
|
import "pinia-plugin-persistedstate";
|
|
4
4
|
import { useRouter as q, useRoute as D } from "vue-router";
|
|
5
|
-
import { _ as I } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-
|
|
6
|
-
import { P as O } from "./index-
|
|
7
|
-
import { F as X, Z, _ as A } from "./index-
|
|
5
|
+
import { _ as I } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-CwNNyyGP.js";
|
|
6
|
+
import { P as O } from "./index-B3IukB6_.js";
|
|
7
|
+
import { F as X, Z, _ as A } from "./index-BSsKIigI.js";
|
|
8
8
|
import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
var H = "Expected a function";
|
|
10
10
|
function J(n, l, s) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as w, toRaw as z, computed as B, ref as N, createElementBlock as m, openBlock as n, createElementVNode as e, Fragment as O, renderList as V, unref as r, normalizeClass as E, createVNode as l, createBlock as x, createCommentVNode as v, toDisplayString as L, withCtx as c, createTextVNode as u } from "vue";
|
|
2
|
-
import { u as S, a1 as T, v as f } from "./menu-
|
|
2
|
+
import { u as S, a1 as T, v as f } from "./menu-B5iLIYKi.js";
|
|
3
3
|
import "pinia-plugin-persistedstate";
|
|
4
4
|
import { useRouter as j } from "vue-router";
|
|
5
|
-
import { _ as k } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-
|
|
6
|
-
import { T as A } from "./index-
|
|
5
|
+
import { _ as k } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-CwNNyyGP.js";
|
|
6
|
+
import { T as A } from "./index-C6wl3PFA.js";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const $ = { class: "change-org" }, D = {
|
|
9
9
|
"w-full": "",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a2 as W, a3 as L, a4 as B, a5 as O, bX as j, a7 as z, aj as F, a9 as b, ai as P, aR as X, aN as U, bp as V, ax as q } from "./menu-
|
|
1
|
+
import { a2 as W, a3 as L, a4 as B, a5 as O, bX as j, a7 as z, aj as F, a9 as b, ai as P, aR as X, aN as U, bp as V, ax as q } from "./menu-B5iLIYKi.js";
|
|
2
2
|
import { defineComponent as D, computed as m, createVNode as d, shallowRef as G, watchEffect as J, Fragment as K } from "vue";
|
|
3
|
-
import { g as Q, i as Y, a as Z } from "./colors-
|
|
3
|
+
import { g as Q, i as Y, a as Z } from "./colors-DIxsmpcn.js";
|
|
4
4
|
const h = (e, t, l) => {
|
|
5
5
|
const a = j(l);
|
|
6
6
|
return {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createVNode as p, defineComponent as pe, computed as I, ref as ne, cloneVNode as Uo, isVNode as Rt, inject as qe, provide as Qe, onUnmounted as tl, shallowRef as re, watch as we, watchEffect as Fe, onMounted as Ze, createTextVNode as An, Fragment as nt, onBeforeUnmount as at, isRef as Pr, reactive as Et, toRefs as Qn, toRaw as kt, nextTick as Ct, onUpdated as nl, unref as Tt, toRef as Be, getCurrentInstance as ol, Transition as ed, withDirectives as td, vShow as nd, Teleport as od, useAttrs as xv, onBeforeUpdate as ld, getCurrentScope as Cv, onScopeDispose as wv, onActivated as vi, onBeforeMount as Pv, Text as ad, mergeProps as Vt, Comment as Iv, resolveDynamicComponent as Vs, createElementBlock as Ov, openBlock as Dv, createElementVNode as Tv, withCtx as Ls } from "vue";
|
|
2
|
-
import { ab as Wa, ac as rd, ad as Ev, ae as kv, af as vt, ag as Ye, a4 as y, ah as Ve, ai as X, a9 as L, aj as de, ak as It, al as No, am as ge, an as st, ao as Ot, a8 as jt, ap as on, aq as et, ar as id, as as nn, at as Ir, au as tt, av as hi, aw as na, ax as sd, ay as ht, az as ud, a5 as ot, aA as rn, a3 as lt, aB as oa, a2 as yt, aC as la, aD as ze, a7 as Ue, aE as Ro, aF as Fn, aG as Or, aH as mi, aI as Mv, aJ as xe, aK as Xe, aL as Ee, aM as Ge, aN as an, aO as Nv, aP as ut, aQ as Rv, aR as _v, aS as cd, aT as Io, a1 as wn, aU as Bv, aV as Ks, aW as Rn, aX as Hn, aY as Kt, aZ as eo, h as Ln, a_ as dd, a$ as it, b0 as Un, b1 as aa, b2 as Vo, b3 as ra, b4 as Av, b5 as Fv, b6 as Ya, b7 as Vn, b8 as Hv, a6 as io, b9 as ia, ba as fd, bb as zs, bc as Vv, bd as kn, be as Lv, bf as Kv, bg as Kl, bh as zv, bi as jv, bj as Wv, bk as Dr, bl as pd, bm as Ut, bn as Yv, bo as Gv, bp as Xv, bq as Uv, br as js, bs as qv, bt as Ws, bu as Qv, bv as to, bw as gi, bx as Jv, aa as Zv, by as eh } from "./menu-
|
|
3
|
-
import { a as th, T as ll, B as sa, R as no, S as vd, u as Mt, b as Pn, g as so, c as fn, d as nh, e as oh, r as hd, f as lh, y as ua, h as md, i as gd, j as ca, k as al, l as qo, m as bi, C as ah, n as yi, o as bd, p as rh, q as yd, N as Ys, s as da, t as Gs, v as ih, w as sh, A as uh, x as ch, z as dh, D as fh, E as Xs, I as Sd, G as ph, H as vh, Z as $d, J as hh, F as mh, K as gh, L as bh } from "./index-
|
|
2
|
+
import { ab as Wa, ac as rd, ad as Ev, ae as kv, af as vt, ag as Ye, a4 as y, ah as Ve, ai as X, a9 as L, aj as de, ak as It, al as No, am as ge, an as st, ao as Ot, a8 as jt, ap as on, aq as et, ar as id, as as nn, at as Ir, au as tt, av as hi, aw as na, ax as sd, ay as ht, az as ud, a5 as ot, aA as rn, a3 as lt, aB as oa, a2 as yt, aC as la, aD as ze, a7 as Ue, aE as Ro, aF as Fn, aG as Or, aH as mi, aI as Mv, aJ as xe, aK as Xe, aL as Ee, aM as Ge, aN as an, aO as Nv, aP as ut, aQ as Rv, aR as _v, aS as cd, aT as Io, a1 as wn, aU as Bv, aV as Ks, aW as Rn, aX as Hn, aY as Kt, aZ as eo, h as Ln, a_ as dd, a$ as it, b0 as Un, b1 as aa, b2 as Vo, b3 as ra, b4 as Av, b5 as Fv, b6 as Ya, b7 as Vn, b8 as Hv, a6 as io, b9 as ia, ba as fd, bb as zs, bc as Vv, bd as kn, be as Lv, bf as Kv, bg as Kl, bh as zv, bi as jv, bj as Wv, bk as Dr, bl as pd, bm as Ut, bn as Yv, bo as Gv, bp as Xv, bq as Uv, br as js, bs as qv, bt as Ws, bu as Qv, bv as to, bw as gi, bx as Jv, aa as Zv, by as eh } from "./menu-B5iLIYKi.js";
|
|
3
|
+
import { a as th, T as ll, B as sa, R as no, S as vd, u as Mt, b as Pn, g as so, c as fn, d as nh, e as oh, r as hd, f as lh, y as ua, h as md, i as gd, j as ca, k as al, l as qo, m as bi, C as ah, n as yi, o as bd, p as rh, q as yd, N as Ys, s as da, t as Gs, v as ih, w as sh, A as uh, x as ch, z as dh, D as fh, E as Xs, I as Sd, G as ph, H as vh, Z as $d, J as hh, F as mh, K as gh, L as bh } from "./index-BSsKIigI.js";
|
|
4
4
|
import { onMounted as yh, nextTick as xd, isRef as Sh, ref as Cd, getCurrentInstance as Si, unref as $h, getCurrentScope as xh, onScopeDispose as Ch, watch as Tr, computed as wh, customRef as Ph, onUpdated as Ih, isVue2 as Oh } from "vue-demi";
|
|
5
|
-
import { p as $i } from "./pick-
|
|
6
|
-
import { T as Dh } from "./index-
|
|
5
|
+
import { p as $i } from "./pick-CTnAIBFU.js";
|
|
6
|
+
import { T as Dh } from "./index-C6wl3PFA.js";
|
|
7
7
|
function Th() {
|
|
8
8
|
}
|
|
9
9
|
function Eh(e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as l } from "./HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js";
|
|
2
2
|
import { defineComponent as i, ref as u, onUnmounted as c, onMounted as d, createElementBlock as f, openBlock as m, createElementVNode as o, createVNode as x, withCtx as p, createTextVNode as _, toDisplayString as v, unref as w } from "vue";
|
|
3
|
-
import { u as g } from "./menu-
|
|
3
|
+
import { u as g } from "./menu-B5iLIYKi.js";
|
|
4
4
|
import "pinia-plugin-persistedstate";
|
|
5
5
|
import { useRouter as N } from "vue-router";
|
|
6
6
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { _ as os } from "./HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js";
|
|
2
2
|
import * as Rr from "vue";
|
|
3
3
|
import { computed as Z, watch as x0, watchEffect as ce, defineComponent as _, ref as R, onUnmounted as ee, onMounted as w0, createElementBlock as O, openBlock as x, createElementVNode as E, createVNode as D, withCtx as j, createTextVNode as l0, toDisplayString as c0, unref as u, useSlots as on, createCommentVNode as q, renderSlot as d0, normalizeStyle as s2, normalizeClass as o0, resolveComponent as W0, createBlock as Y, resolveDynamicComponent as er, provide as G0, inject as A0, markRaw as b0, onBeforeUnmount as mo, Teleport as yo, Transition as n2, normalizeProps as rn, guardReactiveProps as Ao, createStaticVNode as z1, nextTick as We, Fragment as S0, renderList as le, withDirectives as Ge, vShow as qe, KeepAlive as Q1, mergeProps as de, cloneVNode as F1, h as B0, shallowRef as N2, getCurrentInstance as H1, reactive as is, isRef as Jt, toRefs as Z2, watchPostEffect as G1, defineAsyncComponent as Wn, onBeforeUpdate as rs, withModifiers as Oe, withKeys as Bt, vModelText as j1, toHandlers as L1, TransitionGroup as xo, createSlots as R1, render as Ur, useCssVars as U1, pushScopeId as N1, popScopeId as J1, createApp as ls, withScopeId as K1 } from "vue";
|
|
4
|
-
import { u as u2, a as k2, b as bo, c as gt, s as Y0, S as wo, d as Co, m as Z1, e as ie, f as Pt, g as ss, h as Y1, t as X1, i as V1, j as W1, k as as, l as cs, n as q1, o as _1, p as tr, r as Nr, q as $1, v as ds, w as Jr, x as ec, y as Kr, z as tc, A as Zr, B as nc, C as us, G as oc, D as ic, E as rc } from "./menu-
|
|
4
|
+
import { u as u2, a as k2, b as bo, c as gt, s as Y0, S as wo, d as Co, m as Z1, e as ie, f as Pt, g as ss, h as Y1, t as X1, i as V1, j as W1, k as as, l as cs, n as q1, o as _1, p as tr, r as Nr, q as $1, v as ds, w as Jr, x as ec, y as Kr, z as tc, A as Zr, B as nc, C as us, G as oc, D as ic, E as rc } from "./menu-B5iLIYKi.js";
|
|
5
5
|
import { createPersistedState as lc } from "pinia-plugin-persistedstate";
|
|
6
6
|
import { useRoute as ue, useRouter as Se, createRouter as sc, createWebHashHistory as ac } from "vue-router";
|
|
7
|
-
import { _ as Ce, P as cc } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-
|
|
7
|
+
import { _ as Ce, P as cc } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-CwNNyyGP.js";
|
|
8
8
|
import { _ as U0 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-B3IukB6_.js";
|
|
10
10
|
import { createPinia as dc } from "pinia";
|
|
11
11
|
import { useI18n as vt, createI18n as uc } from "vue-i18n";
|
|
12
12
|
import at from "vue-m-message";
|
|
@@ -200,7 +200,7 @@ function Bc() {
|
|
|
200
200
|
}
|
|
201
201
|
function Ec({ store: e }) {
|
|
202
202
|
if (e.$id === wo.FAVORITES) {
|
|
203
|
-
const t = e, n = Z(() => u2().account), o = ie();
|
|
203
|
+
const t = e, n = Z(() => u2().user.account), o = ie();
|
|
204
204
|
x0(
|
|
205
205
|
() => t.list,
|
|
206
206
|
() => {
|
|
@@ -247,7 +247,7 @@ function Mc({ store: e }) {
|
|
|
247
247
|
}
|
|
248
248
|
function kc({ store: e }) {
|
|
249
249
|
if (e.$id === wo.TABBAR) {
|
|
250
|
-
const t = e, n = Z(() => u2().account), o = ie();
|
|
250
|
+
const t = e, n = Z(() => u2().user.account), o = ie();
|
|
251
251
|
x0(
|
|
252
252
|
() => t.list,
|
|
253
253
|
() => {
|
|
@@ -670,7 +670,7 @@ const jc = { class: "absolute left-[50%] top-[50%] flex flex-col items-center ju
|
|
|
670
670
|
function bi() {
|
|
671
671
|
function e(o) {
|
|
672
672
|
const i = ie(), r = u2();
|
|
673
|
-
return i.settings.app.enablePermission ? r.permissions.includes(o) : !0;
|
|
673
|
+
return i.settings.app.enablePermission ? r.user.permissions.includes(o) : !0;
|
|
674
674
|
}
|
|
675
675
|
function t(o) {
|
|
676
676
|
let i;
|
|
@@ -4776,7 +4776,7 @@ const bh = () => {
|
|
|
4776
4776
|
name: "Preferences",
|
|
4777
4777
|
__name: "index",
|
|
4778
4778
|
setup(e, { expose: t }) {
|
|
4779
|
-
const n = Wn(() => import("./PreferencesContent-
|
|
4779
|
+
const n = Wn(() => import("./PreferencesContent-C49d-vmJ.js")), [o, i] = tr(!1);
|
|
4780
4780
|
return t({
|
|
4781
4781
|
open: () => i()
|
|
4782
4782
|
}), (r, l) => {
|
|
@@ -5850,7 +5850,7 @@ const Ia = /* @__PURE__ */ U0($h, [["render", t4], ["__scopeId", "data-v-a33a740
|
|
|
5850
5850
|
name: "LayoutHeader",
|
|
5851
5851
|
__name: "index",
|
|
5852
5852
|
setup(e) {
|
|
5853
|
-
const t = Wn(() => import("./index-
|
|
5853
|
+
const t = Wn(() => import("./index-BmLVBGQQ.js")), n = Wn(() => import("./TopThinMode-Bhe61DqD.js")), { settingsStore: o } = K0();
|
|
5854
5854
|
return (i, r) => (x(), Y(n2, { name: "header" }, {
|
|
5855
5855
|
default: j(() => [
|
|
5856
5856
|
u(o).mode === "pc" && ["head", "only-head"].includes(u(o).settings.menu.menuMode) ? (x(), O("header", E4, [
|
|
@@ -5922,7 +5922,7 @@ const F4 = b0({ name: "lets-icons-book-open-duotone-line", render: Q4 }), H4 = {
|
|
|
5922
5922
|
name: "SettingBar",
|
|
5923
5923
|
__name: "index",
|
|
5924
5924
|
setup(e) {
|
|
5925
|
-
const t = Wn(() => import("./AppSetting-
|
|
5925
|
+
const t = Wn(() => import("./AppSetting-C8JYYwjf.js")), { settingsStore: n, isDev: o } = K0();
|
|
5926
5926
|
function i() {
|
|
5927
5927
|
window.open("http://124.223.184.245:10000/docs/");
|
|
5928
5928
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { o as s, C as t, L as o, j as r, k as u, P as n, l as i, _ as c, N as P, e as p, f, g as S, S as b, n as d, T as g, m as y, A as l, x as m, y as h, q as v, r as T, z as x, i as A, t as L, s as R, p as j, v as B, h as C, d as I, w as K } from "./index-
|
|
2
|
-
import { P as w } from "./index-
|
|
3
|
-
import { _ as G, P as M, c as W, p as D } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-
|
|
4
|
-
import { W as H, D as N, E as U, Q as z, M as O, Y as V, B as _, R as q, Z as J, X as Q, N as X, C as Y, U as Z, V as $, P as ee, r as ae, s as se, T as te, K as oe, n as re, g as ue, k as ne, I as ie, l as ce, c as Pe, O as pe, b as fe, e as Se, J as be, F as de, a as ge, u as ye, H as le, L as me } from "./menu-
|
|
1
|
+
import { o as s, C as t, L as o, j as r, k as u, P as n, l as i, _ as c, N as P, e as p, f, g as S, S as b, n as d, T as g, m as y, A as l, x as m, y as h, q as v, r as T, z as x, i as A, t as L, s as R, p as j, v as B, h as C, d as I, w as K } from "./index-Dkz4hXeC.js";
|
|
2
|
+
import { P as w } from "./index-B3IukB6_.js";
|
|
3
|
+
import { _ as G, P as M, c as W, p as D } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-CwNNyyGP.js";
|
|
4
|
+
import { W as H, D as N, E as U, Q as z, M as O, Y as V, B as _, R as q, Z as J, X as Q, N as X, C as Y, U as Z, V as $, P as ee, r as ae, s as se, T as te, K as oe, n as re, g as ue, k as ne, I as ie, l as ce, c as Pe, O as pe, b as fe, e as Se, J as be, F as de, a as ge, u as ye, H as le, L as me } from "./menu-B5iLIYKi.js";
|
|
5
5
|
export {
|
|
6
6
|
s as BackTop,
|
|
7
7
|
t as Copyright,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Ee, h as Ce, inject as ga, provide as pa, computed as he, createElementBlock as ie, openBlock as Q, normalizeStyle as ba, unref as V, createBlock as ya, createCommentVNode as fa, normalizeClass as ka, markRaw as Ze, createElementVNode as W } from "vue";
|
|
2
|
-
import { h as va } from "./menu-
|
|
2
|
+
import { h as va } from "./menu-B5iLIYKi.js";
|
|
3
3
|
const ea = /^[a-z0-9]+(-[a-z0-9]+)*$/, de = (e, a, i, n = "") => {
|
|
4
4
|
const r = e.split(":");
|
|
5
5
|
if (e.slice(0, 1) === "@") {
|
package/dist/interface.d.ts
CHANGED
|
@@ -17,9 +17,20 @@ export interface Options {
|
|
|
17
17
|
hooks?: Partial<Hooks>;
|
|
18
18
|
}
|
|
19
19
|
export interface Module {
|
|
20
|
+
/** 唯一值 */
|
|
20
21
|
name: string;
|
|
22
|
+
/** 初始化内容 */
|
|
21
23
|
setup?: (ctx: Context) => void;
|
|
24
|
+
/**
|
|
25
|
+
* 插件调用顺序:
|
|
26
|
+
* - `enforce: pre` 插件
|
|
27
|
+
* - 腾龙核心功能(即内置的各类路由守卫、状态管理等)
|
|
28
|
+
* - 普通插件
|
|
29
|
+
* - 项目初始化函数(即 `createPubinfo` 第三个参数)
|
|
30
|
+
* - `enforce: post` 插件
|
|
31
|
+
*/
|
|
22
32
|
enforce?: 'pre' | 'post';
|
|
33
|
+
/** 钩子函数 */
|
|
23
34
|
hooks?: Partial<Hooks>;
|
|
24
35
|
}
|
|
25
36
|
export type FalsyModule = false | null | undefined;
|
|
@@ -14637,7 +14637,7 @@ const Cw = [
|
|
|
14637
14637
|
{
|
|
14638
14638
|
path: "/change-password/:changePassWordToken",
|
|
14639
14639
|
name: "ChangePassword",
|
|
14640
|
-
component: () => import("./index-
|
|
14640
|
+
component: () => import("./index-Bq0l9LxQ.js"),
|
|
14641
14641
|
// 特殊处理changelog-password路由,不允许直接访问
|
|
14642
14642
|
// 其实应该移入到鉴权组路由,但是会导致需要频繁挂载销毁路由
|
|
14643
14643
|
beforeEnter: (e) => ko(e.params.changePassWordToken) ? { name: "Login" } : !0,
|
|
@@ -14649,10 +14649,10 @@ const Cw = [
|
|
|
14649
14649
|
{
|
|
14650
14650
|
path: "/change-organization/:orgId",
|
|
14651
14651
|
name: "ChangeOrganization",
|
|
14652
|
-
component: () => import("./index-
|
|
14652
|
+
component: () => import("./index-BtEsIJvE.js"),
|
|
14653
14653
|
beforeEnter: (e) => {
|
|
14654
14654
|
const t = Oc();
|
|
14655
|
-
return ko(e.params.orgId) || e.params.orgId !== t.orgId ? { name: "Login" } : !0;
|
|
14655
|
+
return ko(e.params.orgId) || e.params.orgId !== t.user.orgId ? { name: "Login" } : !0;
|
|
14656
14656
|
},
|
|
14657
14657
|
meta: {
|
|
14658
14658
|
whiteList: !0,
|
|
@@ -14662,7 +14662,7 @@ const Cw = [
|
|
|
14662
14662
|
{
|
|
14663
14663
|
path: "/not-permission",
|
|
14664
14664
|
name: "NotPermission",
|
|
14665
|
-
component: () => import("./index-
|
|
14665
|
+
component: () => import("./index-Dfo6jPsW.js"),
|
|
14666
14666
|
meta: {
|
|
14667
14667
|
whiteList: !0,
|
|
14668
14668
|
title: "无权限访问"
|
|
@@ -14671,7 +14671,7 @@ const Cw = [
|
|
|
14671
14671
|
{
|
|
14672
14672
|
path: "/:all(.*)*",
|
|
14673
14673
|
name: "NotFound",
|
|
14674
|
-
component: () => import("./_...all_-
|
|
14674
|
+
component: () => import("./_...all_-DdTUTYRx.js"),
|
|
14675
14675
|
meta: {
|
|
14676
14676
|
title: "找不到页面"
|
|
14677
14677
|
}
|
|
@@ -14708,7 +14708,7 @@ const Cw = [
|
|
|
14708
14708
|
{
|
|
14709
14709
|
path: "personal/profile",
|
|
14710
14710
|
name: "Profile",
|
|
14711
|
-
component: () => import("./index-
|
|
14711
|
+
component: () => import("./index-ClFzex_G.js"),
|
|
14712
14712
|
meta: {
|
|
14713
14713
|
title: "个人中心",
|
|
14714
14714
|
i18n: "route.personal.profile",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c2 as u, c3 as f, c4 as l, c5 as o, c6 as k } from "./menu-
|
|
1
|
+
import { c2 as u, c3 as f, c4 as l, c5 as o, c6 as k } from "./menu-B5iLIYKi.js";
|
|
2
2
|
function v(n, r, s) {
|
|
3
3
|
for (var a = -1, c = r.length, t = {}; ++a < c; ) {
|
|
4
4
|
var e = r[a], i = u(n, e);
|
package/dist/request.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createAlova as et } from "alova";
|
|
2
2
|
import { createServerTokenAuthentication as tt } from "alova/client";
|
|
3
3
|
import nt from "alova/vue";
|
|
4
|
-
import { u as ue, _ as rt, e as Ne } from "./menu-
|
|
4
|
+
import { u as ue, _ as rt, e as Ne } from "./menu-B5iLIYKi.js";
|
|
5
5
|
import "pinia-plugin-persistedstate";
|
|
6
6
|
import "vue";
|
|
7
7
|
const Y = "undefined", st = void 0;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
1
2
|
import { STORE_NAME } from '../enum';
|
|
2
3
|
export interface UserStore {
|
|
3
4
|
/** 用户信息 */
|
|
@@ -31,5 +32,5 @@ export interface UserStore {
|
|
|
31
32
|
/** 清空用户信息 */
|
|
32
33
|
clean: () => void;
|
|
33
34
|
}
|
|
34
|
-
declare const useUserStore: import('pinia').StoreDefinition<STORE_NAME.USER, Pick<UserStore, "user"
|
|
35
|
+
declare const useUserStore: import('pinia').StoreDefinition<STORE_NAME.USER, Pick<UserStore, "user">, Pick<UserStore, "userOrgName" | "isLogin">, Pick<UserStore, "getUserInfo" | "getPermissions" | "login" | "logout" | "changeUserPassword" | "changeOrg" | "setToken" | "clean">>;
|
|
35
36
|
export default useUserStore;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pubinfo/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.12",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"vue": "^3.5.13",
|
|
29
29
|
"vue-i18n": "^10.0.5",
|
|
30
30
|
"vue-router": "^4.5.0",
|
|
31
|
-
"@pubinfo/config": "2.0.0-beta.
|
|
31
|
+
"@pubinfo/config": "2.0.0-beta.12"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@alova/adapter-axios": "^2.0.13",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"vue": "^3.5.13",
|
|
86
86
|
"vue-i18n": "^10.0.5",
|
|
87
87
|
"vue-router": "^4.5.0",
|
|
88
|
-
"@pubinfo/config": "2.0.0-beta.
|
|
88
|
+
"@pubinfo/config": "2.0.0-beta.12"
|
|
89
89
|
},
|
|
90
90
|
"scripts": {
|
|
91
91
|
"dev": "vite build -w -m watch",
|
package/src/composables/auth.ts
CHANGED
|
@@ -14,7 +14,7 @@ export function useAuth() {
|
|
|
14
14
|
const settingsStore = useSettingsStore();
|
|
15
15
|
const userStore = useUserStore();
|
|
16
16
|
if (settingsStore.settings.app.enablePermission) {
|
|
17
|
-
return userStore.permissions.includes(permission);
|
|
17
|
+
return userStore.user.permissions.includes(permission);
|
|
18
18
|
}
|
|
19
19
|
else {
|
|
20
20
|
return true;
|
package/src/interface.ts
CHANGED
|
@@ -20,9 +20,20 @@ export interface Options {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export interface Module {
|
|
23
|
+
/** 唯一值 */
|
|
23
24
|
name: string
|
|
25
|
+
/** 初始化内容 */
|
|
24
26
|
setup?: (ctx: Context) => void
|
|
27
|
+
/**
|
|
28
|
+
* 插件调用顺序:
|
|
29
|
+
* - `enforce: pre` 插件
|
|
30
|
+
* - 腾龙核心功能(即内置的各类路由守卫、状态管理等)
|
|
31
|
+
* - 普通插件
|
|
32
|
+
* - 项目初始化函数(即 `createPubinfo` 第三个参数)
|
|
33
|
+
* - `enforce: post` 插件
|
|
34
|
+
*/
|
|
25
35
|
enforce?: 'pre' | 'post'
|
|
36
|
+
/** 钩子函数 */
|
|
26
37
|
hooks?: Partial<Hooks>
|
|
27
38
|
}
|
|
28
39
|
|
package/src/route/routes.ts
CHANGED
|
@@ -27,8 +27,8 @@ export const constantRoutes: RouteRecordRaw[] = [
|
|
|
27
27
|
name: 'ChangeOrganization',
|
|
28
28
|
component: () => import('@/pages/system/change-organization/index.vue'),
|
|
29
29
|
beforeEnter: (to) => {
|
|
30
|
-
const
|
|
31
|
-
if (isUndefined(to.params.orgId) || to.params.orgId !== user.orgId) {
|
|
30
|
+
const userStore = useUserStore();
|
|
31
|
+
if (isUndefined(to.params.orgId) || to.params.orgId !== userStore.user.orgId) {
|
|
32
32
|
return { name: 'Login' };
|
|
33
33
|
}
|
|
34
34
|
return true;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AxiosRequestHeaders } from 'axios';
|
|
2
|
+
import type { ComputedRef } from 'vue';
|
|
2
3
|
import { postAuthChangeLoginOrg, postAuthLogin } from '@/api/modules/auth';
|
|
3
4
|
import { getRbacResourceGrantedResources, getRbacUserUserEntireInfo, putRbacUserChangePassword } from '@/api/modules/rbac';
|
|
4
5
|
import { usePubinfoContext } from '@/context';
|
|
@@ -13,7 +13,7 @@ import useUserStore from '../../modules/user';
|
|
|
13
13
|
export function createFavoritesStoragePlugin({ store }: PiniaPluginContext) {
|
|
14
14
|
if (store.$id === STORE_NAME.FAVORITES) {
|
|
15
15
|
const favoritesStore = store as ReturnType<typeof useFavoritesStore>;
|
|
16
|
-
const favoritesId = computed(() => useUserStore().account);
|
|
16
|
+
const favoritesId = computed(() => useUserStore().user.account);
|
|
17
17
|
const settingsStore = useSettingsStore();
|
|
18
18
|
|
|
19
19
|
// list 变化时更新存储
|
|
@@ -14,7 +14,7 @@ import useUserStore from '../../modules/user';
|
|
|
14
14
|
export function createTabbarStoragePlugin({ store }: PiniaPluginContext) {
|
|
15
15
|
if (store.$id === STORE_NAME.TABBAR) {
|
|
16
16
|
const tabbarStore = store as ReturnType<typeof useTabbarStore>;
|
|
17
|
-
const tabbarId = computed(() => useUserStore().account);
|
|
17
|
+
const tabbarId = computed(() => useUserStore().user.account);
|
|
18
18
|
const settingsStore = useSettingsStore();
|
|
19
19
|
|
|
20
20
|
// list 变化时更新存储
|