@pubinfo/core 2.0.0-beta.7 → 2.0.0-beta.8

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.
Files changed (47) hide show
  1. package/dist/{AppSetting-Bv7xCe88.js → AppSetting-BQT7OI6K.js} +16 -16
  2. package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-DanhyVxU.js → HCheckList.vue_vue_type_script_setup_true_lang-D4u_haxr.js} +2 -2
  3. package/dist/{PreferencesContent-5bwij0az.js → PreferencesContent-MR1Db7z7.js} +46 -46
  4. package/dist/{SettingBreadcrumb-DxnZ4kvv.js → SettingBreadcrumb-CgugOTgx.js} +2 -2
  5. package/dist/{SettingCopyright-C4rrvQ52.js → SettingCopyright-BPeCJBLi.js} +1 -1
  6. package/dist/{SettingEnableTransition-Dgss1jFn.js → SettingEnableTransition-BK0_EH_N.js} +1 -1
  7. package/dist/{SettingHome-Dcqz6iCb.js → SettingHome-DGnxlXLd.js} +1 -1
  8. package/dist/{SettingMenu-BMaSeklX.js → SettingMenu-BqAd9zbL.js} +2 -2
  9. package/dist/{SettingMode-CJXj9LL9.js → SettingMode-CgA3XDwW.js} +1 -1
  10. package/dist/{SettingNavSearch-BMN3jDNW.js → SettingNavSearch-WFnkcRQ3.js} +1 -1
  11. package/dist/{SettingOther-DeLyS4HI.js → SettingOther-CG4RI6mO.js} +1 -1
  12. package/dist/{SettingPage-B2Cj8x_L.js → SettingPage-C1CT1Mm8.js} +1 -1
  13. package/dist/{SettingTabbar-DipvqgLC.js → SettingTabbar-CQA6ZT9l.js} +2 -2
  14. package/dist/{SettingThemes-APuKr4OB.js → SettingThemes-BJu9czNK.js} +2 -2
  15. package/dist/{SettingToolbar-BIYD2Pvu.js → SettingToolbar-DdR2940j.js} +1 -1
  16. package/dist/{SettingTopbar-C8o6tnVH.js → SettingTopbar-C_jYO_Ax.js} +2 -2
  17. package/dist/{SettingWidthMode-DBz8Kxmh.js → SettingWidthMode-ir_28SE3.js} +1 -1
  18. package/dist/{TopThinMode-6oFZVnh7.js → TopThinMode-jHDpKsma.js} +1 -1
  19. package/dist/{_...all_-DI_QAUox.js → _...all_-18BnHmEa.js} +1 -1
  20. package/dist/{colors-oRlAXMUC.js → colors-gu4NABiz.js} +1 -1
  21. package/dist/{index-BkqnOkyO.js → index-C1p_tY7i.js} +1 -1
  22. package/dist/{index-CUFIyWeP.js → index-CCPTQYuB.js} +2108 -2111
  23. package/dist/{index-ChOUZNbk.js → index-CNUEMTao.js} +2 -2
  24. package/dist/{index-Dav3jQVP.js → index-CWIfG62O.js} +2 -2
  25. package/dist/{index-BvVAS3S-.js → index-CjsnFBwd.js} +14 -8
  26. package/dist/{index-BjwuS5bV.js → index-CmXo8ShY.js} +12 -12
  27. package/dist/{index-BHkrq701.js → index-DL8Y7jFG.js} +9 -9
  28. package/dist/{index-P2cA5UeU.js → index-Dj8zy7hH.js} +4 -4
  29. package/dist/{index-D8eeneI_.js → index-NpS61xSA.js} +22 -22
  30. package/dist/index.js +25 -26
  31. package/dist/{index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BBe8CvCV.js → index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BCo6Ft-Q.js} +1 -1
  32. package/dist/layout/composables/useContext.d.ts +1 -2
  33. package/dist/{notification-6D5hA7Bp.js → menu-CLiZ1BO_.js} +481 -513
  34. package/dist/{pick-Br-UKn7B.js → pick-C9bU8_xv.js} +1 -1
  35. package/dist/request.js +23 -23
  36. package/dist/stores/modules/index.d.ts +0 -2
  37. package/dist/style.css +1 -1
  38. package/package.json +7 -7
  39. package/src/layout/components/Tools/index.vue +2 -19
  40. package/src/layout/composables/useContext.ts +0 -2
  41. package/src/layout/provider.ts +0 -3
  42. package/src/route/routes.ts +0 -9
  43. package/src/stores/modules/index.ts +0 -2
  44. package/dist/stores/modules/notification.d.ts +0 -19
  45. package/src/layout/components/Tools/Notification.vue +0 -152
  46. package/src/pages/personal/notification.vue +0 -58
  47. package/src/stores/modules/notification.ts +0 -35
@@ -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-BBe8CvCV.js";
2
+ import { A as T, a as W, z as P } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BCo6Ft-Q.js";
3
3
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- import { a3 as L, a4 as R, a5 as b, a6 as N, a7 as q, a8 as j, a9 as F, aa as B, ab as Z } from "./notification-6D5hA7Bp.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-CLiZ1BO_.js";
5
5
  const O = (e) => {
6
6
  const {
7
7
  componentCls: t,
@@ -1,6 +1,6 @@
1
- import { bA as Ii, bB as Fi, a1 as jn, bC as Ri, ae as Ni, af as zn, bD as Di, a0 as ji, bE as zi, bF as Bi, ag as Ot, bm as Xe, a5 as b, aj as V, bG as Rr, aa as L, a9 as Nr, ak as Q, ah as he, bH as De, a$ as Vi, bn as Ge, al as ve, aV as Dr, aq as Ye, bj as Hi, b8 as He, bo as Li, bI as Bn, bJ as Wi, be as qi, bf as Xi, bK as Gi, bL as Yi, aE as Ui, bM as ki, aX as Ki, aQ as $e, a3 as it, a4 as Ce, aT as Qi, a6 as ot, ao as jr, aO as Ke, a8 as ye, ap as hn, bN as Zi, aH as Ji, bO as eo, a7 as to, aD as no, a_ as ro, bP as io, aN as Qe, ai as Gt, ba as oo, bv as ao, bQ as zr, bR as lo, f as mt, bS as so, ax as uo, aw as vn, bT as co, bU as fo, bh as Pt, bw as po, aK as Re, aM as We, aL as Yt, bi as xe, bV as ho, bW as vo, bX as go, ar as we, aS as Vn, aF as mo, aG as Br, bc as Hn, b5 as bo, a2 as yo } from "./notification-6D5hA7Bp.js";
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-CLiZ1BO_.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-oRlAXMUC.js";
3
+ import { i as Oo, g as Po } from "./colors-gu4NABiz.js";
4
4
  function Eo(e) {
5
5
  return e !== e;
6
6
  }
@@ -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 { ac as Wa, ad as rd, ae as Ev, af as kv, ag as vt, ah as Ye, a5 as y, ai as Ve, aj as X, aa as L, ak as de, al as It, am as No, an as ge, ao as st, ap as Ot, a9 as jt, aq as on, ar as et, as as id, at as nn, au as Ir, av as tt, aw as hi, ax as na, ay as sd, az as ht, aA as ud, a6 as ot, aB as rn, a4 as lt, aC as oa, a3 as yt, aD as la, aE as ze, a8 as Ue, aF as Ro, aG as Fn, aH as Or, aI as mi, aJ as Mv, aK as xe, aL as Xe, aM as Ee, aN as Ge, aO as an, aP as Nv, aQ as ut, aR as Rv, aS as _v, aT as cd, aU as Io, a2 as wn, aV as Bv, aW as Ks, aX as Rn, aY as Hn, aZ as Kt, a_ as eo, h as Ln, a$ as dd, b0 as it, b1 as Un, b2 as aa, b3 as Vo, b4 as ra, b5 as Av, b6 as Fv, b7 as Ya, b8 as Vn, b9 as Hv, a7 as io, ba as ia, bb as fd, bc as zs, bd as Vv, be as kn, bf as Lv, bg as Kv, bh as Kl, bi as zv, bj as jv, bk as Wv, bl as Dr, bm as pd, bn as Ut, bo as Yv, bp as Gv, bq as Xv, br as Uv, bs as js, bt as qv, bu as Ws, bv as Qv, bw as to, bx as gi, by as Jv, ab as Zv, bz as eh } from "./notification-6D5hA7Bp.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-Dav3jQVP.js";
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-CLiZ1BO_.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-CWIfG62O.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-Br-UKn7B.js";
6
- import { T as Dh } from "./index-D8eeneI_.js";
5
+ import { p as $i } from "./pick-C9bU8_xv.js";
6
+ import { T as Dh } from "./index-NpS61xSA.js";
7
7
  function Th() {
8
8
  }
9
9
  function Eh(e) {
@@ -34702,7 +34702,8 @@ const {
34702
34702
  install: (e) => (e.component(xl.name, xl), e.component(Ll.name, Ll), e)
34703
34703
  }), ci = Symbol("configProviderInjection"), TP = {
34704
34704
  clsPrefix: String,
34705
- tableSettings: Boolean
34705
+ tableSettings: Boolean,
34706
+ tablePagination: [Boolean, Function, Object]
34706
34707
  };
34707
34708
  pe({
34708
34709
  name: "ConfigProvider",
@@ -34711,7 +34712,8 @@ pe({
34711
34712
  const n = qe(ci, null);
34712
34713
  return Qe(ci, {
34713
34714
  mergedClsPrefixRef: I(() => e.clsPrefix !== void 0 ? e.clsPrefix : n == null ? void 0 : n.mergedClsPrefixRef.value),
34714
- tableSettingsRef: I(() => e.tableSettings !== void 0 ? e.tableSettings : n == null ? void 0 : n.tableSettingsRef.value)
34715
+ tableSettingsRef: I(() => e.tableSettings !== void 0 ? e.tableSettings : n == null ? void 0 : n.tableSettingsRef.value),
34716
+ tablePaginationRef: I(() => e.tablePagination !== void 0 ? e.tablePagination : n == null ? void 0 : n.tablePaginationRef.value)
34715
34717
  }), () => {
34716
34718
  var o;
34717
34719
  return (o = t == null ? void 0 : t.default) == null ? void 0 : o.call(t);
@@ -34730,11 +34732,13 @@ function Aa() {
34730
34732
  tableSettingsRef: I(() => {
34731
34733
  const t = e == null ? void 0 : e.tableSettingsRef.value;
34732
34734
  return t === void 0 ? !0 : t;
34735
+ }),
34736
+ tablePaginationRef: I(() => {
34737
+ const t = e == null ? void 0 : e.tablePaginationRef.value;
34738
+ return t === void 0 ? !0 : t;
34733
34739
  })
34734
34740
  };
34735
34741
  }
34736
- Bo(), bt.Option;
34737
- Bo(), bt.Option;
34738
34742
  const ov = Symbol("grid");
34739
34743
  function kP(e) {
34740
34744
  Qe(ov, e);
@@ -35710,6 +35714,8 @@ const vI = (e, {
35710
35714
  };
35711
35715
  }
35712
35716
  });
35717
+ Bo(), bt.Option;
35718
+ Bo(), bt.Option;
35713
35719
  ({
35714
35720
  ...Os()
35715
35721
  });
@@ -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 { bZ as $ } from "./notification-6D5hA7Bp.js";
2
+ import { bY as $ } from "./menu-CLiZ1BO_.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-BBe8CvCV.js";
6
- import { u as ee, a as te } from "./index-CUFIyWeP.js";
5
+ import { _ as T } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BCo6Ft-Q.js";
6
+ import { u as ee, a as te } from "./index-CCPTQYuB.js";
7
7
  import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const ne = {
9
9
  viewBox: "0 0 24 24",
@@ -107,7 +107,7 @@ const ce = V({ name: "solar-widget-5-bold-duotone", render: oe }), se = "data:im
107
107
  skidding: 150
108
108
  }, {
109
109
  default: f(() => {
110
- var j, Y, D;
110
+ var Y, j, D;
111
111
  return [
112
112
  s("div", {
113
113
  "cursor-pointer": "",
@@ -121,11 +121,11 @@ const ce = V({ name: "solar-widget-5-bold-duotone", render: oe }), se = "data:im
121
121
  "mb-10px": "",
122
122
  class: w({
123
123
  "bg-[#fff] dark:bg-[var(--g-header-menu-active-bg)]!": l === a.activeIndex,
124
- "is-dev": (j = d.meta) == null ? void 0 : j.isDev
124
+ "is-dev": (Y = d.meta) == null ? void 0 : Y.isDev
125
125
  }),
126
126
  onClick: (u) => g(l, d)
127
127
  }, [
128
- (Y = d.meta) != null && Y.icon ? (r(), B(t(T), {
128
+ (j = d.meta) != null && j.icon ? (r(), B(t(T), {
129
129
  key: 0,
130
130
  name: d.meta.icon,
131
131
  size: "18px",
@@ -154,7 +154,7 @@ const ce = V({ name: "solar-widget-5-bold-duotone", render: oe }), se = "data:im
154
154
  flex: "~ none justify-center items-center",
155
155
  "text-sm": "",
156
156
  "cursor-pointer": ""
157
- }, je = /* @__PURE__ */ h({
157
+ }, Ye = /* @__PURE__ */ h({
158
158
  name: "TopMode",
159
159
  __name: "index",
160
160
  setup(S) {
@@ -164,13 +164,13 @@ const ce = V({ name: "solar-widget-5-bold-duotone", render: oe }), se = "data:im
164
164
  return !u && i || u && !e ? n = i : u && e && (n = e), n;
165
165
  }
166
166
  const F = z(), { width: d } = $(F), l = z(0);
167
- Y();
167
+ j();
168
168
  const C = X(() => l.value === c.allMenus.length - 1);
169
- function j(u, i) {
169
+ function Y(u, i) {
170
170
  const e = u + l.value + 1;
171
171
  a(e, i);
172
172
  }
173
- function Y() {
173
+ function j() {
174
174
  W(() => {
175
175
  q(
176
176
  d,
@@ -255,7 +255,7 @@ const ce = V({ name: "solar-widget-5-bold-duotone", render: oe }), se = "data:im
255
255
  key: 0,
256
256
  items: t(c).allMenus.slice(t(l) + 1),
257
257
  "active-index": t(c).actived - t(l) - 1,
258
- onOnMenuClick: j
258
+ onOnMenuClick: Y
259
259
  }, {
260
260
  default: f(() => [
261
261
  s("div", Ae, [
@@ -272,5 +272,5 @@ const ce = V({ name: "solar-widget-5-bold-duotone", render: oe }), se = "data:im
272
272
  }
273
273
  });
274
274
  export {
275
- je as default
275
+ Ye as default
276
276
  };
@@ -1,9 +1,9 @@
1
- import { defineComponent as I, toRaw as z, computed as B, ref as N, createElementBlock as f, 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 d } from "vue";
2
- import { u as S, a2 as T, w as m } from "./notification-6D5hA7Bp.js";
1
+ import { defineComponent as w, toRaw as z, computed as B, ref as N, createElementBlock as f, 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 d } from "vue";
2
+ import { u as S, a1 as T, v as m } from "./menu-CLiZ1BO_.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-BBe8CvCV.js";
6
- import { T as A } from "./index-D8eeneI_.js";
5
+ import { _ as k } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BCo6Ft-Q.js";
6
+ import { T as A } from "./index-NpS61xSA.js";
7
7
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const $ = { class: "change-org" }, D = {
9
9
  "w-full": "",
@@ -25,7 +25,7 @@ const $ = { class: "change-org" }, D = {
25
25
  text: "20px black dark:[#86909C]",
26
26
  flex: "~",
27
27
  "items-center": ""
28
- }, J = { "mr-10px": "" }, K = /* @__PURE__ */ I({
28
+ }, J = { "mr-10px": "" }, K = /* @__PURE__ */ w({
29
29
  name: "ChangeOrganization",
30
30
  __name: "index",
31
31
  setup(M) {
@@ -37,10 +37,10 @@ const $ = { class: "change-org" }, D = {
37
37
  function C(t) {
38
38
  a.value = t;
39
39
  }
40
- function w() {
40
+ function y() {
41
41
  h.go(-1);
42
42
  }
43
- async function y() {
43
+ async function I() {
44
44
  const t = p.value[a.value], o = t == null ? void 0 : t.orgId;
45
45
  o ? o === s.orgId ? m.error("请避免切换到当前已选组织") : (await s.changeOrg(o), m.success("组织切换成功")) : m.error("请选择要切换的组织");
46
46
  }
@@ -108,7 +108,7 @@ const $ = { class: "change-org" }, D = {
108
108
  block: "",
109
109
  "h-40px": "",
110
110
  "mb-15px": "",
111
- onClick: y
111
+ onClick: I
112
112
  }, {
113
113
  default: c(() => o[2] || (o[2] = [
114
114
  d(" 确定 ")
@@ -118,7 +118,7 @@ const $ = { class: "change-org" }, D = {
118
118
  l(g, {
119
119
  block: "",
120
120
  "h-40px": "",
121
- onClick: w
121
+ onClick: y
122
122
  }, {
123
123
  default: c(() => o[3] || (o[3] = [
124
124
  d(" 返回 ")
@@ -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 { a0 as W, a1 as z, u as B, a2 as M, w as $ } from "./notification-6D5hA7Bp.js";
2
+ import { $ as W, a0 as z, u as B, a1 as M, v as $ } from "./menu-CLiZ1BO_.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-BBe8CvCV.js";
6
- import { P as O } from "./index-ChOUZNbk.js";
7
- import { F as X, Z, _ as A } from "./index-Dav3jQVP.js";
5
+ import { _ as I } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BCo6Ft-Q.js";
6
+ import { P as O } from "./index-CNUEMTao.js";
7
+ import { F as X, Z, _ as A } from "./index-CWIfG62O.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,6 +1,6 @@
1
- import { a3 as W, a4 as L, a5 as B, a6 as R, bY as j, a8 as z, ak as F, aa as b, aj as P, aS as X, aO as U, bq as V, ay as q } from "./notification-6D5hA7Bp.js";
2
- import { defineComponent as D, computed as m, createVNode as d, shallowRef as Y, watchEffect as G, Fragment as J } from "vue";
3
- import { g as K, i as Q, a as Z } from "./colors-oRlAXMUC.js";
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-CLiZ1BO_.js";
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-gu4NABiz.js";
4
4
  const h = (e, t, l) => {
5
5
  const a = j(l);
6
6
  return {
@@ -13,7 +13,7 @@ const h = (e, t, l) => {
13
13
  }
14
14
  }
15
15
  };
16
- }, ee = (e) => K(e, (t, l) => {
16
+ }, ee = (e) => Q(e, (t, l) => {
17
17
  let {
18
18
  textColor: a,
19
19
  lightBorderColor: r,
@@ -45,7 +45,7 @@ const h = (e, t, l) => {
45
45
  } = e, o = a - l, c = t - l;
46
46
  return {
47
47
  // Result
48
- [r]: B(B({}, R(e)), {
48
+ [r]: B(B({}, O(e)), {
49
49
  display: "inline-block",
50
50
  height: "auto",
51
51
  marginInlineEnd: e.marginXS,
@@ -221,44 +221,44 @@ const h = (e, t, l) => {
221
221
  const {
222
222
  prefixCls: o,
223
223
  direction: c
224
- } = z("tag", e), [g, C] = H(o), s = Y(!0);
225
- process.env.NODE_ENV !== "production" && U(e.visible === void 0, "Tag", '`visible` is deprecated, please use `<Tag v-show="visible" />` instead.'), G(() => {
224
+ } = z("tag", e), [g, C] = H(o), s = G(!0);
225
+ process.env.NODE_ENV !== "production" && U(e.visible === void 0, "Tag", '`visible` is deprecated, please use `<Tag v-show="visible" />` instead.'), J(() => {
226
226
  e.visible !== void 0 && (s.value = e.visible);
227
227
  });
228
228
  const n = (i) => {
229
229
  i.stopPropagation(), a("update:visible", !1), a("close", i), !i.defaultPrevented && e.visible === void 0 && (s.value = !1);
230
- }, u = m(() => Q(e.color) || Z(e.color)), w = m(() => F(o.value, C.value, {
230
+ }, u = m(() => Y(e.color) || Z(e.color)), w = m(() => F(o.value, C.value, {
231
231
  [`${o.value}-${e.color}`]: u.value,
232
232
  [`${o.value}-has-color`]: e.color && !u.value,
233
233
  [`${o.value}-hidden`]: !s.value,
234
234
  [`${o.value}-rtl`]: c.value === "rtl",
235
235
  [`${o.value}-borderless`]: !e.bordered
236
- })), M = (i) => {
236
+ })), N = (i) => {
237
237
  a("click", i);
238
238
  };
239
239
  return () => {
240
- var i, f, p;
240
+ var i, p, f;
241
241
  const {
242
- icon: N = (i = l.icon) === null || i === void 0 ? void 0 : i.call(l),
242
+ icon: M = (i = l.icon) === null || i === void 0 ? void 0 : i.call(l),
243
243
  color: $,
244
- closeIcon: y = (f = l.closeIcon) === null || f === void 0 ? void 0 : f.call(l),
245
- closable: k = !1
246
- } = e, A = () => k ? y ? d("span", {
244
+ closeIcon: y = (p = l.closeIcon) === null || p === void 0 ? void 0 : p.call(l),
245
+ closable: A = !1
246
+ } = e, E = () => A ? y ? d("span", {
247
247
  class: `${o.value}-close-icon`,
248
248
  onClick: n
249
249
  }, [y]) : d(q, {
250
250
  class: `${o.value}-close-icon`,
251
251
  onClick: n
252
- }, null) : null, E = {
252
+ }, null) : null, _ = {
253
253
  backgroundColor: $ && !u.value ? $ : void 0
254
- }, T = N || null, I = (p = l.default) === null || p === void 0 ? void 0 : p.call(l), _ = T ? d(J, null, [T, d("span", null, [I])]) : I, O = e.onClick !== void 0, x = d("span", b(b({}, r), {}, {
255
- onClick: M,
254
+ }, T = M || null, x = (f = l.default) === null || f === void 0 ? void 0 : f.call(l), k = T ? d(K, null, [T, d("span", null, [x])]) : x, R = e.onClick !== void 0, I = d("span", b(b({}, r), {}, {
255
+ onClick: N,
256
256
  class: [w.value, r.class],
257
- style: [E, r.style]
258
- }), [_, A()]);
259
- return g(O ? d(V, null, {
260
- default: () => [x]
261
- }) : x);
257
+ style: [_, r.style]
258
+ }), [k, E()]);
259
+ return g(R ? d(V, null, {
260
+ default: () => [I]
261
+ }) : I);
262
262
  };
263
263
  }
264
264
  });
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 C, h as I, d as K, w as k } from "./index-CUFIyWeP.js";
2
- import { P as w } from "./index-ChOUZNbk.js";
3
- import { _ as G, P as M, c as N, p as W } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BBe8CvCV.js";
4
- import { X as E, E as H, F as U, R as _, N as z, Z as O, C as V, T as q, _ as J, Y as Q, O as X, D as Y, V as Z, W as $, Q as ee, r as ae, s as se, U as te, L as oe, n as re, g as ue, k as ne, J as ie, l as ce, c as Pe, o as pe, P as fe, b as Se, e as be, K as de, H as ge, a as ye, u as le, I as me, M as he } from "./notification-6D5hA7Bp.js";
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-CCPTQYuB.js";
2
+ import { P as w } from "./index-CNUEMTao.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-BCo6Ft-Q.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-CLiZ1BO_.js";
5
5
  export {
6
6
  s as BackTop,
7
7
  t as Copyright,
@@ -25,19 +25,19 @@ export {
25
25
  l as asyncFlatten,
26
26
  m as cleanup,
27
27
  h as cleanupWithoutUser,
28
- E as compilePublicKey,
29
- H as constantRoutes,
28
+ H as compilePublicKey,
29
+ N as constantRoutes,
30
30
  v as createAuthGuard,
31
31
  T as createBasicGuard,
32
32
  x as createInjectionKey,
33
33
  A as createPubinfo,
34
34
  U as createPubinfoContext,
35
- N as createPubinfoProvider,
35
+ W as createPubinfoProvider,
36
36
  L as createSettingGuard,
37
- _ as defineAsyncRoutes,
38
- z as defineSettings,
39
- O as encryptWithPublicKey,
40
- V as eventBus,
37
+ z as defineAsyncRoutes,
38
+ O as defineSettings,
39
+ V as encryptWithPublicKey,
40
+ _ as eventBus,
41
41
  q as getAsyncRoutes,
42
42
  J as getEncryptedData,
43
43
  Q as getPem,
@@ -45,15 +45,15 @@ export {
45
45
  Y as hooks,
46
46
  Z as normalizePrimitiveToFunction,
47
47
  $ as objectToPaths,
48
- W as pubinfoInjectionKey,
48
+ D as pubinfoInjectionKey,
49
49
  ee as readProject,
50
50
  ae as resolveRoutePath,
51
51
  R as setupLayout,
52
52
  j as setupRouterGuard,
53
- C as setupStore,
53
+ B as setupStore,
54
54
  se as storage,
55
55
  te as systemRoutes,
56
- I as useAuth,
56
+ C as useAuth,
57
57
  oe as useBox,
58
58
  re as useError,
59
59
  ue as useFavoritesStore,
@@ -61,16 +61,15 @@ export {
61
61
  ie as useInfo,
62
62
  ce as useKeepAliveStore,
63
63
  Pe as useMenuStore,
64
- pe as useNotificationStore,
65
- fe as usePubinfoContext,
66
- Se as useRouteStore,
67
- be as useSettingsStore,
68
- de as useStart,
69
- ge as useSuccess,
70
- ye as useTabbarStore,
71
- K as useTheme,
72
- le as useUserStore,
73
- me as useWarn,
74
- he as watchDiffObject,
75
- k as watermark
64
+ pe as usePubinfoContext,
65
+ fe as useRouteStore,
66
+ Se as useSettingsStore,
67
+ be as useStart,
68
+ de as useSuccess,
69
+ ge as useTabbarStore,
70
+ I as useTheme,
71
+ ye as useUserStore,
72
+ le as useWarn,
73
+ me as watchDiffObject,
74
+ K as watermark
76
75
  };
@@ -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 "./notification-6D5hA7Bp.js";
2
+ import { h as va } from "./menu-CLiZ1BO_.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) === "@") {
@@ -1,10 +1,9 @@
1
- import { useFavoritesStore, useIframeStore, useKeepAliveStore, useMenuStore, useNotificationStore, useRouteStore, useSettingsStore, useTabbarStore, useUserStore } from '../../stores';
1
+ import { useFavoritesStore, useIframeStore, useKeepAliveStore, useMenuStore, useRouteStore, useSettingsStore, useTabbarStore, useUserStore } from '../../stores';
2
2
  interface LayoutContext {
3
3
  settingsStore: ReturnType<typeof useSettingsStore>;
4
4
  keepAliveStore: ReturnType<typeof useKeepAliveStore>;
5
5
  iframeStore: ReturnType<typeof useIframeStore>;
6
6
  userStore: ReturnType<typeof useUserStore>;
7
- notificationStore: ReturnType<typeof useNotificationStore>;
8
7
  menuStore: ReturnType<typeof useMenuStore>;
9
8
  routeStore: ReturnType<typeof useRouteStore>;
10
9
  tabbarStore: ReturnType<typeof useTabbarStore>;