@pubinfo/core 2.0.0-beta.26 → 2.0.0-beta.28

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 (63) hide show
  1. package/dist/{AppSetting-DodCOb_z.js → AppSetting-DMJZXmzA.js} +21 -20
  2. package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-CMOw56Mk.js → HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js} +2 -2
  3. package/dist/{PreferencesContent-Dic24ifo.js → PreferencesContent-BniiAnvk.js} +117 -113
  4. package/dist/{SettingBreadcrumb-DWpbGcSy.js → SettingBreadcrumb-C4f3EHvJ.js} +2 -2
  5. package/dist/{SettingCopyright-CIY0pFMT.js → SettingCopyright-BfIv7JmX.js} +1 -1
  6. package/dist/{SettingEnableTransition-f0xuLIrZ.js → SettingEnableTransition-ltxmSAel.js} +1 -1
  7. package/dist/{SettingHome-BFtJsJsN.js → SettingHome-D3YO-Jml.js} +1 -1
  8. package/dist/{SettingMenu-DuPD3iSG.js → SettingMenu-BFPc8wk1.js} +2 -2
  9. package/dist/{SettingMode-nZ65qSWK.js → SettingMode-FWqs1ki-.js} +1 -1
  10. package/dist/{SettingNavSearch-CrarPE7d.js → SettingNavSearch-CNH2GsIA.js} +1 -1
  11. package/dist/{SettingOther-BddvExCF.js → SettingOther-DeKEcGIY.js} +1 -1
  12. package/dist/{SettingPage-C6Na8HEN.js → SettingPage-CvRmxfR7.js} +1 -1
  13. package/dist/{SettingTabbar-nuwfRRaE.js → SettingTabbar-C7I7s-0s.js} +2 -2
  14. package/dist/SettingThemes-DzQ2YBRN.js +145 -0
  15. package/dist/{SettingToolbar-BdizZaGF.js → SettingToolbar-BPj0XLJ3.js} +1 -1
  16. package/dist/{SettingTopbar-D5BX5vS_.js → SettingTopbar-DVlc3dq-.js} +2 -2
  17. package/dist/{SettingWidthMode-CHrLW3gs.js → SettingWidthMode-BzNU65dj.js} +1 -1
  18. package/dist/{TopThinMode-CttqTmaT.js → TopThinMode-DSO5USf6.js} +1 -1
  19. package/dist/{_...all_--d4S-8dL.js → _...all_-6l5FWUkL.js} +1 -1
  20. package/dist/{colors-BOKDjZQI.js → colors-DiWJrScm.js} +1 -1
  21. package/dist/components/PubinfoIcon/register.d.ts +9 -0
  22. package/dist/{index-Cygbc-66.js → index-Be7jJtXg.js} +33 -31
  23. package/dist/{index-CC3GE307.js → index-BmMbAV1Y.js} +34 -30
  24. package/dist/{index-D0CMv5FJ.js → index-CXsL0aQN.js} +5618 -5248
  25. package/dist/{index-B0i20hau.js → index-CfasTv4x.js} +6 -6
  26. package/dist/{index-Bz9lh14R.js → index-Ckgil96Y.js} +30 -30
  27. package/dist/{index-DltN2SCZ.js → index-De_ME_Ws.js} +2 -2
  28. package/dist/{index-dPREgrj8.js → index-Md7zV10q.js} +12 -12
  29. package/dist/{index-DORROKh7.js → index-XnF26Tbt.js} +3 -3
  30. package/dist/{index-Cf8yM5Cv.js → index-bsi-FZDt.js} +11 -9
  31. package/dist/index.js +33 -32
  32. package/dist/{index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-Bmtn9Oo4.js → index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js} +315 -297
  33. package/dist/interface.d.ts +2 -0
  34. package/dist/layout/Layout.vue.d.ts +2 -2
  35. package/dist/{menu-Ddxel9ck.js → menu-CC5544p-.js} +3202 -3184
  36. package/dist/{pick-DEgsMKda.js → pick-CJo2YiT-.js} +1 -1
  37. package/dist/request.js +399 -390
  38. package/dist/route/routes.d.ts +6 -4
  39. package/dist/style.css +2 -2
  40. package/dist/utils/index.d.ts +6 -0
  41. package/package.json +26 -26
  42. package/src/api/modules/configData/xitongpeizhifuwu.ts +3 -3
  43. package/src/components/PubinfoApp/index.vue +1 -1
  44. package/src/components/PubinfoIcon/index.vue +3 -1
  45. package/src/components/PubinfoIcon/register.ts +19 -0
  46. package/src/components/PubinfoProvider/index.ts +1 -2
  47. package/src/create.ts +7 -0
  48. package/src/interface.ts +2 -0
  49. package/src/layout/Layout.vue +50 -59
  50. package/src/layout/components/Content/index.vue +34 -13
  51. package/src/layout/components/SettingBar/components/SettingThemes.vue +7 -5
  52. package/src/layout/components/Sidebar/MainSidebar.vue +4 -7
  53. package/src/layout/components/Tools/Preferences/PreferencesContent.vue +2 -1
  54. package/src/layout/components/Tools/index.vue +1 -8
  55. package/src/layout/provider.ts +7 -1
  56. package/src/pages/system/not-permission/index.vue +2 -2
  57. package/src/route/routes.ts +26 -8
  58. package/src/stores/modules/route.ts +10 -2
  59. package/src/utils/index.ts +14 -0
  60. package/types/vue-router.d.ts +3 -1
  61. package/dist/SettingThemes-DBq6j0zt.js +0 -144
  62. package/src/layout/components/Tools/I18nSelector.vue +0 -52
  63. package/src/pages/system/change-password/page.vue +0 -58
@@ -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-Bmtn9Oo4.js";
2
+ import { A as T, a as W, z as P } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js";
3
3
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- import { aw as L, au as R, a6 as b, as as N, b6 as q, az as j, ag as F, a9 as B, bw as Z } from "./menu-Ddxel9ck.js";
4
+ import { ax as L, av as R, a7 as b, at as N, b7 as q, aA as j, ah as F, aa as B, bx as Z } from "./menu-CC5544p-.js";
5
5
  const O = (e) => {
6
6
  const {
7
7
  componentCls: t,
@@ -164,14 +164,14 @@ const O = (e) => {
164
164
  const {
165
165
  type: g,
166
166
  dashed: p,
167
- plain: A
167
+ plain: E
168
168
  } = e, f = a.value;
169
169
  return {
170
170
  [f]: !0,
171
171
  [r.value]: !!r.value,
172
172
  [`${f}-${g}`]: !0,
173
173
  [`${f}-dashed`]: !!p,
174
- [`${f}-plain`]: !!A,
174
+ [`${f}-plain`]: !!E,
175
175
  [`${f}-rtl`]: c.value === "rtl",
176
176
  [`${f}-no-default-orientation-margin-left`]: u.value,
177
177
  [`${f}-no-default-orientation-margin-right`]: n.value
@@ -183,12 +183,12 @@ const O = (e) => {
183
183
  }), n.value && {
184
184
  marginRight: g
185
185
  });
186
- }), E = v(() => e.orientation.length > 0 ? "-" + e.orientation : e.orientation);
186
+ }), A = v(() => e.orientation.length > 0 ? "-" + e.orientation : e.orientation);
187
187
  return () => {
188
188
  var g;
189
189
  const p = F((g = d.default) === null || g === void 0 ? void 0 : g.call(d));
190
190
  return o(z("div", B(B({}, i), {}, {
191
- class: [m.value, p.length ? `${a.value}-with-text ${a.value}-with-text${E.value}` : "", i.class],
191
+ class: [m.value, p.length ? `${a.value}-with-text ${a.value}-with-text${A.value}` : "", i.class],
192
192
  role: "separator"
193
193
  }), [p.length ? z("span", {
194
194
  class: `${a.value}-inner-text`,
@@ -1,7 +1,7 @@
1
- import { aw as L, au as O, a6 as B, as as R, bY as j, az as z, aa as F, a9 as b, a8 as P, aN as X, aJ as U, bn as V, ap as J } from "./menu-Ddxel9ck.js";
2
- import { defineComponent as w, computed as m, createVNode as d, shallowRef as Y, watchEffect as q, Fragment as G } from "vue";
3
- import { g as K, i as Q, a as Z } from "./colors-BOKDjZQI.js";
4
- const h = (e, t, l) => {
1
+ import { ax as W, av as L, a7 as B, at as R, bZ as j, aA as z, ab as F, aa as b, a9 as P, aO as X, aK as U, bo as V, aq as q } from "./menu-CC5544p-.js";
2
+ import { defineComponent as D, computed as m, createVNode as d, shallowRef as K, watchEffect as Z, Fragment as G } from "vue";
3
+ import { g as J, i as Q, a as Y } from "./colors-DiWJrScm.js";
4
+ const v = (e, t, l) => {
5
5
  const a = j(l);
6
6
  return {
7
7
  [`${e.componentCls}-${t}`]: {
@@ -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) => J(e, (t, l) => {
17
17
  let {
18
18
  textColor: a,
19
19
  lightBorderColor: r,
@@ -116,13 +116,13 @@ const h = (e, t, l) => {
116
116
  background: e.tagBorderlessBg
117
117
  }
118
118
  };
119
- }, D = L("Tag", (e) => {
119
+ }, H = W("Tag", (e) => {
120
120
  const {
121
121
  fontSize: t,
122
122
  lineHeight: l,
123
123
  lineWidth: a,
124
124
  fontSizeIcon: r
125
- } = e, o = Math.round(t * l), c = e.fontSizeSM, g = o - a * 2, C = e.colorFillAlter, s = e.colorText, n = O(e, {
125
+ } = e, o = Math.round(t * l), c = e.fontSizeSM, g = o - a * 2, C = e.colorFillAlter, s = e.colorText, n = L(e, {
126
126
  tagFontSize: c,
127
127
  tagLineHeight: g,
128
128
  tagDefaultBg: C,
@@ -131,7 +131,7 @@ const h = (e, t, l) => {
131
131
  tagPaddingHorizontal: 8,
132
132
  tagBorderlessBg: e.colorFillTertiary
133
133
  });
134
- return [oe(n), ee(n), h(n, "success", "Success"), h(n, "processing", "Info"), h(n, "error", "Error"), h(n, "warning", "Warning")];
134
+ return [oe(n), ee(n), v(n, "success", "Success"), v(n, "processing", "Info"), v(n, "error", "Error"), v(n, "warning", "Warning")];
135
135
  }), le = () => ({
136
136
  prefixCls: String,
137
137
  checked: {
@@ -145,7 +145,7 @@ const h = (e, t, l) => {
145
145
  type: Function
146
146
  },
147
147
  "onUpdate:checked": Function
148
- }), S = w({
148
+ }), S = D({
149
149
  compatConfig: {
150
150
  MODE: 3
151
151
  },
@@ -161,7 +161,7 @@ const h = (e, t, l) => {
161
161
  } = t;
162
162
  const {
163
163
  prefixCls: o
164
- } = z("tag", e), [c, g] = D(o), C = (n) => {
164
+ } = z("tag", e), [c, g] = H(o), C = (n) => {
165
165
  const {
166
166
  checked: u
167
167
  } = e;
@@ -203,7 +203,7 @@ const h = (e, t, l) => {
203
203
  type: Boolean,
204
204
  default: !0
205
205
  }
206
- }), v = w({
206
+ }), h = D({
207
207
  compatConfig: {
208
208
  MODE: 3
209
209
  },
@@ -221,51 +221,51 @@ const h = (e, t, l) => {
221
221
  const {
222
222
  prefixCls: o,
223
223
  direction: c
224
- } = z("tag", e), [g, C] = D(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.'), q(() => {
224
+ } = z("tag", e), [g, C] = H(o), s = K(!0);
225
+ process.env.NODE_ENV !== "production" && U(e.visible === void 0, "Tag", '`visible` is deprecated, please use `<Tag v-show="visible" />` instead.'), Z(() => {
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)), H = m(() => F(o.value, C.value, {
230
+ }, u = m(() => Q(e.color) || Y(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
- })), N = (i) => {
236
+ })), A = (i) => {
237
237
  a("click", i);
238
238
  };
239
239
  return () => {
240
- var i, p, f;
240
+ var i, f, p;
241
241
  const {
242
242
  icon: M = (i = l.icon) === null || i === void 0 ? void 0 : i.call(l),
243
243
  color: $,
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", {
244
+ closeIcon: y = (f = l.closeIcon) === null || f === void 0 ? void 0 : f.call(l),
245
+ closable: N = !1
246
+ } = e, E = () => N ? y ? d("span", {
247
247
  class: `${o.value}-close-icon`,
248
248
  onClick: n
249
- }, [y]) : d(J, {
249
+ }, [y]) : d(q, {
250
250
  class: `${o.value}-close-icon`,
251
251
  onClick: n
252
252
  }, null) : null, _ = {
253
253
  backgroundColor: $ && !u.value ? $ : void 0
254
- }, T = M || null, I = (f = l.default) === null || f === void 0 ? void 0 : f.call(l), k = T ? d(G, null, [T, d("span", null, [I])]) : I, W = e.onClick !== void 0, x = d("span", b(b({}, r), {}, {
255
- onClick: N,
256
- class: [H.value, r.class],
254
+ }, T = M || null, x = (p = l.default) === null || p === void 0 ? void 0 : p.call(l), k = T ? d(G, null, [T, d("span", null, [x])]) : x, O = e.onClick !== void 0, I = d("span", b(b({}, r), {}, {
255
+ onClick: A,
256
+ class: [w.value, r.class],
257
257
  style: [_, r.style]
258
258
  }), [k, E()]);
259
- return g(W ? d(V, null, {
260
- default: () => [x]
261
- }) : x);
259
+ return g(O ? d(V, null, {
260
+ default: () => [I]
261
+ }) : I);
262
262
  };
263
263
  }
264
264
  });
265
- v.CheckableTag = S;
266
- v.install = function(e) {
267
- return e.component(v.name, v), e.component(S.name, S), e;
265
+ h.CheckableTag = S;
266
+ h.install = function(e) {
267
+ return e.component(h.name, h), e.component(S.name, S), e;
268
268
  };
269
269
  export {
270
- v as T
270
+ h as T
271
271
  };
@@ -1,6 +1,6 @@
1
- import { bA as Ii, bB as Fi, bz as jn, bC as Ri, a2 as Ni, a3 as zn, bD as Di, by as ji, bE as zi, bF as Bi, a4 as Ot, bj as Xe, a6 as b, a8 as V, bG as Rr, a9 as L, ag as Nr, aa as Q, a5 as he, bH as De, aX as Vi, bk as Ge, ab as ve, aR as Dr, ah as Ye, bg as Hi, b4 as He, bl as Li, bI as Bn, bJ as Wi, bb as qi, bc as Xi, bK as Gi, bL as Yi, ay as Ui, bM as ki, aT as Ki, aL as $e, aw as it, au as Ce, aO as Qi, as as ot, ae as jr, aJ as Ke, az as ye, af as hn, bN as Zi, aC as Ji, bO as eo, b6 as to, ax as no, aW as ro, bP as io, aI as Qe, a7 as Gt, b7 as oo, bs as ao, bQ as zr, bR as lo, f as mt, bS as so, ao as uo, an as vn, bT as co, bU as fo, be as Pt, bt as po, aF as Re, aH as We, aG as Yt, bf as xe, bV as ho, bW as vo, bX as go, ai as we, aN as Vn, aA as mo, aB as Br, b9 as Hn, b1 as bo, aQ as yo } from "./menu-Ddxel9ck.js";
1
+ import { bB as Ii, bC as Fi, bA as jn, bD as Ri, a3 as Ni, a4 as zn, bE as Di, bz as ji, bF as zi, bG as Bi, a5 as Ot, bk as Xe, a7 as b, a9 as V, bH as Rr, aa as L, ah as Nr, ab as Q, a6 as he, bI as De, aY as Vi, bl as Ge, ac as ve, aS as Dr, ai as Ye, bh as Hi, b5 as He, bm as Li, bJ as Bn, bK as Wi, bc as qi, bd as Xi, bL as Gi, bM as Yi, az as Ui, bN as ki, aU as Ki, aM as $e, ax as it, av as Ce, aP as Qi, at as ot, af as jr, aK as Ke, aA as ye, ag as hn, bO as Zi, aD as Ji, bP as eo, b7 as to, ay as no, aX as ro, bQ as io, aJ as Qe, a8 as Gt, b8 as oo, bt as ao, bR as zr, bS as lo, f as mt, bT as so, ap as uo, ao as vn, bU as co, bV as fo, bf as Pt, bu as po, aG as Re, aI as We, aH as Yt, bg as xe, bW as ho, bX as vo, bY as go, aj as we, aO as Vn, aB as mo, aC as Br, ba as Hn, b2 as bo, aR as yo } from "./menu-CC5544p-.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-BOKDjZQI.js";
3
+ import { i as Oo, g as Po } from "./colors-DiWJrScm.js";
4
4
  function Eo(e) {
5
5
  return e !== e;
6
6
  }
@@ -1,10 +1,10 @@
1
- import { _ as l } from "./HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js";
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-Ddxel9ck.js";
1
+ import { _ as a } from "./HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js";
2
+ import { defineComponent as i, ref as u, onUnmounted as d, onMounted as c, createElementBlock as m, openBlock as f, 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-CC5544p-.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";
7
- const C = { class: "absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg:flex-row -translate-x-50% -translate-y-50% lg:gap-12" }, I = { class: "flex flex-col gap-4" }, y = /* @__PURE__ */ i({
7
+ const C = { class: "absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg:flex-row -translate-x-50% -translate-y-50% lg:gap-12" }, I = { class: "flex flex-col gap-4" }, b = /* @__PURE__ */ i({
8
8
  name: "NotPermission",
9
9
  __name: "index",
10
10
  setup(B) {
@@ -12,27 +12,27 @@ const C = { class: "absolute left-[50%] top-[50%] flex flex-col items-center jus
12
12
  inter: Number.NaN,
13
13
  countdown: 5
14
14
  });
15
- c(() => {
15
+ d(() => {
16
16
  e.value.inter && window.clearInterval(e.value.inter);
17
- }), d(() => {
17
+ }), c(() => {
18
18
  e.value.inter = window.setInterval(() => {
19
19
  e.value.countdown--, e.value.countdown === 0 && (e.value.inter && window.clearInterval(e.value.inter), n());
20
20
  }, 1e3);
21
21
  });
22
- async function n() {
23
- await s.logout(), r.push({
22
+ function n() {
23
+ s.logout(), r.push({
24
24
  name: "login"
25
25
  });
26
26
  }
27
27
  return (E, t) => {
28
- const a = l;
29
- return m(), f("div", C, [
28
+ const l = a;
29
+ return f(), m("div", C, [
30
30
  t[2] || (t[2] = o("div", { class: "noPermissionIcon w-300px h-300px lg:w-400px lg:h-400px" }, null, -1)),
31
31
  o("div", I, [
32
32
  t[0] || (t[0] = o("h1", { class: "m-0 text-6xl font-sans dark:text-[#C9D6EF]" }, " 403 ", -1)),
33
33
  t[1] || (t[1] = o("div", { class: "desc mx-0 text-xl text-stone-5 dark:text-[#C9D6EF]" }, " 抱歉,你无权访问系统,请联系管理员 ", -1)),
34
34
  o("div", null, [
35
- x(a, { onClick: n }, {
35
+ x(l, { onClick: n }, {
36
36
  default: p(() => [
37
37
  _(v(w(e).countdown) + " 秒后,返回登录页 ", 1)
38
38
  ]),
@@ -43,7 +43,7 @@ const C = { class: "absolute left-[50%] top-[50%] flex flex-col items-center jus
43
43
  ]);
44
44
  };
45
45
  }
46
- }), P = /* @__PURE__ */ k(y, [["__scopeId", "data-v-2f1aff81"]]);
46
+ }), P = /* @__PURE__ */ k(b, [["__scopeId", "data-v-7c6885bd"]]);
47
47
  export {
48
48
  P as default
49
49
  };
@@ -1,9 +1,9 @@
1
1
  import { markRaw as V, createElementBlock as M, openBlock as r, createElementVNode as s, defineComponent as Q, resolveComponent as J, renderSlot as w, createBlock as B, withCtx as f, mergeProps as L, Fragment as U, renderList as k, normalizeClass as G, 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 "./menu-Ddxel9ck.js";
2
+ import { b_ as $ } from "./menu-CC5544p-.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-Bmtn9Oo4.js";
6
- import { u as ee, a as te } from "./index-D0CMv5FJ.js";
5
+ import { _ as T } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js";
6
+ import { u as ee, a as te } from "./index-CXsL0aQN.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,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 { a0 as Wa, a1 as rd, a2 as Ev, a3 as kv, a4 as vt, a5 as Ye, a6 as y, a7 as Ve, a8 as X, a9 as L, aa as de, ab as It, ac as No, ad as ge, ae as st, af as Ot, ag as jt, ah as on, ai as et, aj as id, ak as nn, al as Ir, am as tt, an as hi, ao as na, ap as sd, aq as ht, ar as ud, as as ot, at as rn, au as lt, av as oa, aw as yt, ax as la, ay as ze, az as Ue, aA as Ro, aB as Fn, aC as Or, aD as mi, aE as Mv, aF as xe, aG as Xe, aH as Ee, aI as Ge, aJ as an, aK as Nv, aL as ut, aM as Rv, aN as _v, aO as cd, aP as Io, aQ as wn, aR as Bv, aS as Ks, aT as Rn, aU as Hn, aV as Kt, aW as eo, h as Ln, aX as dd, aY as it, aZ as Un, a_ as aa, a$ as Vo, b0 as ra, b1 as Av, b2 as Fv, b3 as Ya, b4 as Vn, b5 as Hv, b6 as io, b7 as ia, b8 as fd, b9 as zs, ba as Vv, bb as kn, bc as Lv, bd as Kv, be as Kl, bf as zv, bg as jv, bh as Wv, bi as Dr, bj as pd, bk as Ut, bl as Yv, bm as Gv, bn as Xv, bo as Uv, bp as js, bq as qv, br as Ws, bs as Qv, bt as to, bu as gi, bv as Jv, bw as Zv, bx as eh } from "./menu-Ddxel9ck.js";
3
- import { a as th, T as ll, B as sa, R as no, S as vd, u as Mt, F as Pn, g as so, b as fn, c as nh, d as oh, r as hd, e as lh, y as ua, f as md, h as gd, i as ca, j as al, k as qo, l as bi, C as ah, m as yi, n as bd, o as rh, p as yd, N as Ys, q as da, s as Gs, t as ih, v as sh, A as uh, w as ch, x as dh, z as fh, D as Xs, I as Sd, E as ph, G as vh, _ as $d, H as hh, J as mh, K as gh, L as bh } from "./index-DltN2SCZ.js";
2
+ import { a1 as Wa, a2 as rd, a3 as Ev, a4 as kv, a5 as vt, a6 as Ye, a7 as y, a8 as Ve, a9 as X, aa as L, ab as de, ac as It, ad as No, ae as ge, af as st, ag as Ot, ah as jt, ai as on, aj as et, ak as id, al as nn, am as Ir, an as tt, ao as hi, ap as na, aq as sd, ar as ht, as as ud, at as ot, au as rn, av as lt, aw as oa, ax as yt, ay as la, az as ze, aA as Ue, aB as Ro, aC as Fn, aD as Or, aE as mi, aF as Mv, aG as xe, aH as Xe, aI as Ee, aJ as Ge, aK as an, aL as Nv, aM as ut, aN as Rv, aO as _v, aP as cd, aQ as Io, aR as wn, aS as Bv, aT as Ks, aU as Rn, aV as Hn, aW as Kt, aX as eo, h as Ln, aY as dd, aZ as it, a_ as Un, a$ as aa, b0 as Vo, b1 as ra, b2 as Av, b3 as Fv, b4 as Ya, b5 as Vn, b6 as Hv, b7 as io, b8 as ia, b9 as fd, ba as zs, bb as Vv, bc as kn, bd as Lv, be as Kv, bf as Kl, bg as zv, bh as jv, bi as Wv, bj as Dr, bk as pd, bl as Ut, bm as Yv, bn as Gv, bo as Xv, bp as Uv, bq as js, br as qv, bs as Ws, bt as Qv, bu as to, bv as gi, bw as Jv, bx as Zv, by as eh } from "./menu-CC5544p-.js";
3
+ import { a as th, T as ll, B as sa, R as no, S as vd, u as Mt, F as Pn, g as so, b as fn, c as nh, d as oh, r as hd, e as lh, y as ua, f as md, h as gd, i as ca, j as al, k as qo, l as bi, C as ah, m as yi, n as bd, o as rh, p as yd, N as Ys, q as da, s as Gs, t as ih, v as sh, A as uh, w as ch, x as dh, z as fh, D as Xs, I as Sd, E as ph, G as vh, _ as $d, H as hh, J as mh, K as gh, L as bh } from "./index-De_ME_Ws.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-DEgsMKda.js";
6
- import { T as Dh } from "./index-Bz9lh14R.js";
5
+ import { p as $i } from "./pick-CJo2YiT-.js";
6
+ import { T as Dh } from "./index-Ckgil96Y.js";
7
7
  function Th() {
8
8
  }
9
9
  function Eh(e) {
@@ -35603,25 +35603,27 @@ const dI = {
35603
35603
  valueType: i,
35604
35604
  fieldProps: c
35605
35605
  } = e.value ?? {}, u = cI(i) ? uI(i) : i;
35606
- function s(d) {
35606
+ function s(d, v = !1) {
35607
35607
  return p(d, {
35608
- value: n.value,
35609
35608
  [l.value]: n.value,
35610
- [`onUpdate:${l.value}`]: (v) => t("update:modelValue", v),
35609
+ [`onUpdate:${l.value}`]: (h) => t("update:modelValue", h),
35610
+ ...v ? {
35611
+ value: n.value
35612
+ } : {},
35611
35613
  ...c
35612
35614
  });
35613
35615
  }
35614
35616
  if (Tt(o) === "edit") {
35615
35617
  if (r ?? u) {
35616
35618
  const d = Vs(r ?? u);
35617
- return s(d);
35619
+ return s(d, !1);
35618
35620
  }
35619
35621
  return null;
35620
35622
  }
35621
35623
  if (Tt(o) === "read") {
35622
35624
  if (a) {
35623
35625
  const d = Vs(a);
35624
- return s(d);
35626
+ return s(d, !0);
35625
35627
  }
35626
35628
  return n.value;
35627
35629
  }
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 as S, g as f, S as d, n as g, T as y, m as b, A as l, x as m, y as h, q as v, r as R, z as T, i as x, t as A, s as L, p as j, v as B, h as C, d as I, w as K } from "./index-D0CMv5FJ.js";
2
- import { P as w } from "./index-B0i20hau.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-Bmtn9Oo4.js";
4
- import { X as H, D as N, E as U, Q as _, M as z, T as O, Z as V, B as q, R as J, _ as Q, Y as X, N as Y, U as Z, C as $, V as ee, W as ae, P as se, r as te, s as oe, K as re, n as ue, g as ne, k as ie, I as ce, l as Pe, c as pe, O as Se, b as fe, e as de, J as ge, F as ye, a as be, u as le, H as me, L as he } from "./menu-Ddxel9ck.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 as S, g as f, S as d, n as b, T as g, m as y, A as l, x as m, y as h, q as v, r as R, z as T, i as x, t as A, s as L, p as I, v as j, h as B, d as C, w as K } from "./index-CXsL0aQN.js";
2
+ import { P as F } from "./index-CfasTv4x.js";
3
+ import { _ as w, P as M, c as W, p as D } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js";
4
+ import { Y as H, D as N, F as U, R as _, N as z, U as O, _ as V, B as q, T as J, $ as Q, Z as X, O as Y, V as Z, C as $, E as ee, W as ae, X as se, Q as te, r as oe, s as re, L as ue, n as ne, g as ie, k as ce, J as Pe, l as pe, c as Se, P as fe, b as de, e as be, K as ge, H as ye, a as le, u as me, I as he, M as ve } from "./menu-CC5544p-.js";
5
5
  export {
6
6
  s as BackTop,
7
7
  t as Copyright,
@@ -14,14 +14,14 @@ export {
14
14
  P as NotAllowed,
15
15
  p as PageHeader,
16
16
  S as PageMain,
17
- w as PassStrengthValidator,
17
+ F as PassStrengthValidator,
18
18
  f as PubinfoApp,
19
- G as PubinfoIcon,
19
+ w as PubinfoIcon,
20
20
  M as PubinfoProvider,
21
21
  d as SettingBar,
22
- g as Sidebar,
23
- y as Tools,
24
- b as Topbar,
22
+ b as Sidebar,
23
+ g as Tools,
24
+ y as Topbar,
25
25
  l as asyncFlatten,
26
26
  m as cleanup,
27
27
  h as cleanupWithoutUser,
@@ -45,32 +45,33 @@ export {
45
45
  Y as getSettings,
46
46
  Z as getSystemRoutes,
47
47
  $ as hooks,
48
- ee as normalizePrimitiveToFunction,
49
- ae as objectToPaths,
48
+ ee as loadIconsFromGlob,
49
+ ae as normalizePrimitiveToFunction,
50
+ se as objectToPaths,
50
51
  D as pubinfoInjectionKey,
51
- se as readProject,
52
- te as resolveRoutePath,
52
+ te as readProject,
53
+ oe as resolveRoutePath,
53
54
  L as setupLayout,
54
- j as setupRouterGuard,
55
- B as setupStore,
56
- oe as storage,
57
- C as useAuth,
58
- re as useBox,
59
- ue as useError,
60
- ne as useFavoritesStore,
61
- ie as useIframeStore,
62
- ce as useInfo,
63
- Pe as useKeepAliveStore,
64
- pe as useMenuStore,
65
- Se as usePubinfoContext,
66
- fe as useRouteStore,
67
- de as useSettingsStore,
55
+ I as setupRouterGuard,
56
+ j as setupStore,
57
+ re as storage,
58
+ B as useAuth,
59
+ ue as useBox,
60
+ ne as useError,
61
+ ie as useFavoritesStore,
62
+ ce as useIframeStore,
63
+ Pe as useInfo,
64
+ pe as useKeepAliveStore,
65
+ Se as useMenuStore,
66
+ fe as usePubinfoContext,
67
+ de as useRouteStore,
68
+ be as useSettingsStore,
68
69
  ge as useStart,
69
70
  ye as useSuccess,
70
- be as useTabbarStore,
71
- I as useTheme,
72
- le as useUserStore,
73
- me as useWarn,
74
- he as watchDiffObject,
71
+ le as useTabbarStore,
72
+ C as useTheme,
73
+ me as useUserStore,
74
+ he as useWarn,
75
+ ve as watchDiffObject,
75
76
  K as watermark
76
77
  };