@pubinfo/core 2.0.0-beta.27 → 2.0.0-beta.29

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 (64) hide show
  1. package/dist/{AppSetting-8APd2n5W.js → AppSetting-CVExa3_K.js} +21 -20
  2. package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-xHHNH-Do.js → HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js} +2 -2
  3. package/dist/{PreferencesContent-B6v1Y85P.js → PreferencesContent-p9KS2Pve.js} +46 -45
  4. package/dist/{SettingBreadcrumb-DRbL0ad_.js → SettingBreadcrumb-DwvQtev2.js} +2 -2
  5. package/dist/{SettingCopyright-BQF1UDPx.js → SettingCopyright-Wb3hkKZZ.js} +1 -1
  6. package/dist/{SettingEnableTransition-COQvH_bE.js → SettingEnableTransition-DT23T8dO.js} +1 -1
  7. package/dist/{SettingHome-BL-JRz6C.js → SettingHome-C0K6wkyt.js} +1 -1
  8. package/dist/{SettingMenu-CL08Xnqj.js → SettingMenu-CCKj46sg.js} +2 -2
  9. package/dist/{SettingMode-CHFQfbwC.js → SettingMode-pwpzZcxj.js} +1 -1
  10. package/dist/{SettingNavSearch-D3EfJLm4.js → SettingNavSearch-zoiP1hL2.js} +1 -1
  11. package/dist/{SettingOther-D8vWJBqB.js → SettingOther-OIZZcjfo.js} +1 -1
  12. package/dist/{SettingPage-C6834qKt.js → SettingPage-CyljqOiV.js} +1 -1
  13. package/dist/{SettingTabbar-C4Nk7PaM.js → SettingTabbar-DCQai4_R.js} +2 -2
  14. package/dist/{SettingThemes-CAiwgt41.js → SettingThemes-DJIaIqy1.js} +2 -2
  15. package/dist/{SettingToolbar-Bue6Bsao.js → SettingToolbar-Dvv11piV.js} +1 -1
  16. package/dist/{SettingTopbar-CklZW6nz.js → SettingTopbar-CMpP98WU.js} +2 -2
  17. package/dist/{SettingWidthMode-Ba5CjpXS.js → SettingWidthMode-DVPAA6Xs.js} +1 -1
  18. package/dist/{TopThinMode-BKgHAbKj.js → TopThinMode-D8rMfa-C.js} +1 -1
  19. package/dist/{_...all_-CiLs5zE0.js → _...all_-6l5FWUkL.js} +1 -1
  20. package/dist/{colors-ehvAxkYC.js → colors-DiWJrScm.js} +1 -1
  21. package/dist/components/PubinfoIcon/register.d.ts +9 -0
  22. package/dist/index-Be7jJtXg.js +232 -0
  23. package/dist/index-BmMbAV1Y.js +141 -0
  24. package/dist/{index-CqQ-P_1q.js → index-CfasTv4x.js} +8 -8
  25. package/dist/{index-CAjh59MN.js → index-Ckgil96Y.js} +30 -30
  26. package/dist/index-CyyndQxa.js +13107 -0
  27. package/dist/{index-hjeR7S9d.js → index-De_ME_Ws.js} +2 -2
  28. package/dist/{index-C5TqLQ-T.js → index-Md7zV10q.js} +1 -1
  29. package/dist/{index-BK4luc55.js → index-bsi-FZDt.js} +11 -9
  30. package/dist/{index-BjAXx4BA.js → index-lv9zqWqR.js} +3 -3
  31. package/dist/index.js +33 -32
  32. package/dist/{toolbar-collapse-BhNN4H7Y.js → index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js} +489 -503
  33. package/dist/interface.d.ts +2 -0
  34. package/dist/layout/Layout.vue.d.ts +2 -2
  35. package/dist/{menu-D3oKigWX.js → menu-CC5544p-.js} +3202 -3184
  36. package/dist/pages/system/change-organization/index.vue.d.ts +1 -1
  37. package/dist/pages/system/change-password/index.vue.d.ts +1 -1
  38. package/dist/{pick-Cku6R96i.js → pick-CJo2YiT-.js} +1 -1
  39. package/dist/request.js +399 -390
  40. package/dist/route/routes.d.ts +6 -4
  41. package/dist/style.css +2 -2
  42. package/dist/utils/index.d.ts +6 -0
  43. package/package.json +26 -26
  44. package/src/api/modules/configData/xitongpeizhifuwu.ts +3 -3
  45. package/src/components/PubinfoApp/index.vue +1 -1
  46. package/src/components/PubinfoIcon/index.vue +3 -1
  47. package/src/components/PubinfoIcon/register.ts +19 -0
  48. package/src/components/PubinfoProvider/index.ts +1 -2
  49. package/src/create.ts +7 -0
  50. package/src/interface.ts +2 -0
  51. package/src/layout/Layout.vue +50 -59
  52. package/src/layout/components/Content/index.vue +34 -13
  53. package/src/layout/components/Sidebar/MainSidebar.vue +4 -7
  54. package/src/layout/composables/useMainPage.ts +1 -1
  55. package/src/layout/provider.ts +7 -1
  56. package/src/pages/system/change-organization/index.vue +65 -73
  57. package/src/pages/system/change-password/index.vue +36 -44
  58. package/src/route/routes.ts +26 -8
  59. package/src/stores/modules/route.ts +10 -2
  60. package/src/utils/index.ts +14 -0
  61. package/types/vue-router.d.ts +3 -1
  62. package/dist/index-64V9RiCt.js +0 -240
  63. package/dist/index-BLvVzLOl.js +0 -147
  64. package/dist/index-DTsHMiQx.js +0 -12711
@@ -1,147 +0,0 @@
1
- import { P as z, _ as p, a as B, b as N, c as O, d as V, e as j, f as E, g as L, h as P } from "./toolbar-collapse-BhNN4H7Y.js";
2
- import { defineComponent as S, toRaw as T, computed as $, ref as A, createBlock as f, openBlock as r, unref as s, withCtx as a, createElementVNode as e, createElementBlock as b, Fragment as R, renderList as D, normalizeClass as F, createVNode as d, createCommentVNode as x, toDisplayString as Q, createTextVNode as u } from "vue";
3
- import { u as U, aQ as q, v as m } from "./menu-D3oKigWX.js";
4
- import "pinia-plugin-persistedstate";
5
- import { useRouter as G } from "vue-router";
6
- import { T as H } from "./index-CAjh59MN.js";
7
- import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const K = { class: "change-org" }, M = {
9
- "w-full": "",
10
- "h-full": "",
11
- flex: "~",
12
- "justify-center": ""
13
- }, W = {
14
- "w-620px": "",
15
- "pt-20vh": ""
16
- }, X = ["onClick"], Y = {
17
- flex: "~",
18
- "h-full": ""
19
- }, Z = {
20
- flex: "~ col",
21
- "h-full": "",
22
- "justify-center": "",
23
- ml: "18px"
24
- }, oo = {
25
- text: "20px black dark:[#86909C]",
26
- flex: "~",
27
- "items-center": ""
28
- }, eo = { "mr-10px": "" }, to = /* @__PURE__ */ S({
29
- name: "ChangeOrganization",
30
- __name: "index",
31
- setup(so) {
32
- const i = U(), k = G(), h = T(i.user.orgList), v = $(() => h.map((o) => ({
33
- orgId: o.orgId,
34
- label: o.orgName,
35
- ...o
36
- }))), l = A(-1);
37
- function C(t) {
38
- l.value = t;
39
- }
40
- function I() {
41
- k.go(-1);
42
- }
43
- async function y() {
44
- const t = v.value[l.value], o = t == null ? void 0 : t.orgId;
45
- o ? o === i.user.orgId ? m.error("请避免切换到当前已选组织") : (await i.changeOrg(o), m.success("组织切换成功")) : m.error("请选择要切换的组织");
46
- }
47
- function w(t) {
48
- var n;
49
- const o = /* @__PURE__ */ Object.assign({ "../../../assets/icons/403.svg": P, "../../../assets/icons/403_dark.svg": L, "../../../assets/icons/404.svg": E, "../../../assets/icons/404_dark.svg": j, "../../../assets/icons/change-org.svg": V, "../../../assets/icons/favorites.svg": O, "../../../assets/icons/mima.svg": N, "../../../assets/icons/toolbar-collapse.svg": B }), _ = `../../../assets/icons/${t}.svg`;
50
- return (n = o[_]) == null ? void 0 : n.default;
51
- }
52
- return (t, o) => {
53
- const _ = H, n = q;
54
- return r(), f(s(z), { "load-icon": w }, {
55
- default: a(() => [
56
- e("div", K, [
57
- e("div", M, [
58
- e("div", W, [
59
- o[4] || (o[4] = e("div", {
60
- text: "30px",
61
- font: "bold",
62
- "mb-40px": "",
63
- flex: "~",
64
- items: "center"
65
- }, " 请选择组织 ", -1)),
66
- (r(!0), b(R, null, D(s(v), (g, c) => (r(), b("div", {
67
- key: c,
68
- onClick: (no) => C(c)
69
- }, [
70
- e("div", {
71
- class: F(["org-item", { active: c === s(l) }])
72
- }, [
73
- e("div", Y, [
74
- d(s(p), {
75
- name: "change-org",
76
- size: "48px"
77
- }),
78
- e("div", Z, [
79
- e("div", oo, [
80
- e("span", eo, Q(g.label), 1),
81
- s(i).user.orgId === g.orgId ? (r(), f(_, {
82
- key: 0,
83
- color: "blue"
84
- }, {
85
- default: a(() => o[0] || (o[0] = [
86
- u(" 当前使用组织 ")
87
- ])),
88
- _: 1
89
- })) : x("", !0),
90
- g.main ? (r(), f(_, {
91
- key: 1,
92
- color: "red"
93
- }, {
94
- default: a(() => o[1] || (o[1] = [
95
- u(" 主组织 ")
96
- ])),
97
- _: 1
98
- })) : x("", !0)
99
- ])
100
- ])
101
- ]),
102
- e("div", null, [
103
- d(s(p), {
104
- class: "arrow",
105
- name: "i-iconamoon-arrow-right-6-circle-duotone",
106
- color: c === s(l) ? "#1677ff" : "#8E97A3",
107
- size: "22px"
108
- }, null, 8, ["color"])
109
- ])
110
- ], 2)
111
- ], 8, X))), 128)),
112
- e("div", null, [
113
- d(n, {
114
- type: "primary",
115
- block: "",
116
- "h-40px": "",
117
- "mb-15px": "",
118
- onClick: y
119
- }, {
120
- default: a(() => o[2] || (o[2] = [
121
- u(" 确定 ")
122
- ])),
123
- _: 1
124
- }),
125
- d(n, {
126
- block: "",
127
- "h-40px": "",
128
- onClick: I
129
- }, {
130
- default: a(() => o[3] || (o[3] = [
131
- u(" 返回 ")
132
- ])),
133
- _: 1
134
- })
135
- ])
136
- ])
137
- ])
138
- ])
139
- ]),
140
- _: 1
141
- });
142
- };
143
- }
144
- }), go = /* @__PURE__ */ J(to, [["__scopeId", "data-v-b22e34db"]]);
145
- export {
146
- go as default
147
- };