@pubinfo-pr/core 0.222.2 → 0.222.4

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 (59) hide show
  1. package/dist/{AppSetting-Adv5Y3SE.js → AppSetting-BWVulLPM.js} +38 -38
  2. package/dist/{HCheckList-WAAl9RiK.js → HCheckList-Bb4GvZ2_.js} +1 -1
  3. package/dist/HSlideover-DoCRa4dK.js +152 -0
  4. package/dist/{HToggle-YLmL7R0b.js → HToggle-Bnr5k93p.js} +1 -1
  5. package/dist/{HeaderFullMenu-ByedDsvz.js → HeaderFullMenu--AOcAS-6.js} +72 -72
  6. package/dist/{HeaderThinMenu-2q2iBtTH.js → HeaderThinMenu-CRPVfGgM.js} +132 -132
  7. package/dist/PreferencesContent-DW9HAzpr.js +486 -0
  8. package/dist/{SettingBreadcrumb-C1VwfnxX.js → SettingBreadcrumb-DKCK6V-n.js} +6 -7
  9. package/dist/{SettingCopyright-C--oGV21.js → SettingCopyright-C5Pc0I1w.js} +4 -4
  10. package/dist/{SettingEnableTransition-DW2gfisN.js → SettingEnableTransition-D2FDj0oR.js} +5 -5
  11. package/dist/{SettingHome-VUAS3uEg.js → SettingHome-1Y1rYeQb.js} +6 -6
  12. package/dist/{SettingMenu-BH7XU7eF.js → SettingMenu-DWtNX8Ti.js} +8 -9
  13. package/dist/{SettingMode-BIyHzTKH.js → SettingMode-CZV84QeW.js} +4 -4
  14. package/dist/{SettingNavSearch-PfSA-_ro.js → SettingNavSearch-CrMpbXFg.js} +5 -5
  15. package/dist/{SettingOther-DdqNapQX.js → SettingOther-D6gGuQJw.js} +6 -6
  16. package/dist/{SettingPage-DS-G9-X5.js → SettingPage-DuN13bXO.js} +3 -3
  17. package/dist/{SettingTabbar-2yfw2vsm.js → SettingTabbar-BhJxcU35.js} +10 -11
  18. package/dist/{SettingThemes-Bkcywy7v.js → SettingThemes-BjkWfY1C.js} +9 -10
  19. package/dist/{SettingToolbar-DP7-_nPK.js → SettingToolbar-BYOxXAXL.js} +5 -5
  20. package/dist/{SettingTopbar-C0Ia4-If.js → SettingTopbar-CxKsnIRK.js} +8 -9
  21. package/dist/{SettingWidthMode-DgSWsHFq.js → SettingWidthMode-dM88qSol.js} +5 -5
  22. package/dist/auth-DILNNEQ8.js +1230 -0
  23. package/dist/{change-organization-BfnI2yEl.js → change-organization-BXl4ZC7j.js} +24 -24
  24. package/dist/{change-password-Bj_GWzmn.js → change-password-P4SGdvdU.js} +64 -73
  25. package/dist/components-C9kcavB4.js +2768 -0
  26. package/dist/core-CKIhF3Vi.js +270 -0
  27. package/dist/{core-4H5JBsa5.js → core-D2ocBD0r.js} +57 -51
  28. package/dist/index.js +2249 -7757
  29. package/dist/{not-found-DbHOY5cU.js → not-found-C-1699o2.js} +4 -5
  30. package/dist/{not-permission-DwERxb_u.js → not-permission-CZGJzlSF.js} +4 -5
  31. package/dist/profile-B3Q7hRgl.js +123 -0
  32. package/dist/{question-line-D7ecIumZ.js → question-line-B4oDBb2H.js} +2 -2
  33. package/dist/{right-DYiPS7dU.js → right-BTHgfOSp.js} +4 -4
  34. package/dist/style.css +1 -1
  35. package/package.json +7 -7
  36. package/dist/HSlideover-CXBJxuQo.js +0 -1695
  37. package/dist/PreferencesContent-CiPweszy.js +0 -701
  38. package/dist/auth-B65CJEOe.js +0 -4242
  39. package/dist/chunk-CD4vhpVs.js +0 -18
  40. package/dist/components-BfkDsfck.js +0 -5238
  41. package/dist/dist-7OjQvlya.js +0 -468
  42. package/dist/form-C3VHofnN.js +0 -2768
  43. package/dist/modal-Bl5xHbxa.js +0 -43824
  44. package/dist/overlayscrollbars-vue-mGyICRMi.js +0 -1460
  45. package/dist/profile-Dq66-Gsl.js +0 -19269
  46. package/dist/tree-select-B8cTcGLa.js +0 -12497
  47. package/dist/watchDiff-CPZFtaOC.js +0 -655
  48. /package/dist/{HButton-Dt6qGhhR.js → HButton-BPbXqVbA.js} +0 -0
  49. /package/dist/{HDivider-Ds5MMqtm.js → HDivider-BSENlYnI.js} +0 -0
  50. /package/dist/{HInput-BrsX9848.js → HInput-DbvnkEO7.js} +0 -0
  51. /package/dist/{HTooltip-DjAU-Evn.js → HTooltip-tCnNrJUE.js} +0 -0
  52. /package/dist/{_plugin-vue_export-helper-sUTDUeGO.js → _plugin-vue_export-helper-BBf_fmJ_.js} +0 -0
  53. /package/dist/{engine-oniguruma-uxNZ2DGJ.js → engine-oniguruma-Bl7ZtyDI.js} +0 -0
  54. /package/dist/{json-CC4oV-bd.js → json-BuUwnwNo.js} +0 -0
  55. /package/dist/{reload-CbuQgTlC.js → reload-DWTXo9r2.js} +0 -0
  56. /package/dist/{useContext-DLtu9F7E.js → useContext-mDF2-tXy.js} +0 -0
  57. /package/dist/{vitesse-dark-CxkWMfh6.js → vitesse-dark-j0hKJETh.js} +0 -0
  58. /package/dist/{vitesse-light-DY25e6F3.js → vitesse-light-BfgKNo3X.js} +0 -0
  59. /package/dist/{wasm-DAU6f5s5.js → wasm-tXaxAgz9.js} +0 -0
@@ -1,8 +1,7 @@
1
- import "./modal-Bl5xHbxa.js";
2
- import { f as useTabbarStore, p as useSettingsStore } from "./auth-B65CJEOe.js";
3
- import "./watchDiff-CPZFtaOC.js";
4
- import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-sUTDUeGO.js";
5
- import { t as HButton_default } from "./HButton-Dt6qGhhR.js";
1
+ import "./core-CKIhF3Vi.js";
2
+ import { m as useSettingsStore, p as useTabbarStore } from "./auth-DILNNEQ8.js";
3
+ import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BBf_fmJ_.js";
4
+ import { t as HButton_default } from "./HButton-BPbXqVbA.js";
6
5
  import { createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, onMounted, openBlock, ref, resolveComponent, toDisplayString, unref, withCtx } from "vue";
7
6
  import { onBeforeRouteLeave, useRoute, useRouter } from "vue-router";
8
7
  var _hoisted_1 = {
@@ -1,8 +1,7 @@
1
- import "./modal-Bl5xHbxa.js";
2
- import { d as useUserStore } from "./auth-B65CJEOe.js";
3
- import "./watchDiff-CPZFtaOC.js";
4
- import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-sUTDUeGO.js";
5
- import { t as HButton_default } from "./HButton-Dt6qGhhR.js";
1
+ import "./core-CKIhF3Vi.js";
2
+ import { f as useUserStore } from "./auth-DILNNEQ8.js";
3
+ import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BBf_fmJ_.js";
4
+ import { t as HButton_default } from "./HButton-BPbXqVbA.js";
6
5
  import { createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, onMounted, onUnmounted, openBlock, ref, resolveComponent, toDisplayString, unref, withCtx } from "vue";
7
6
  import { useRouter } from "vue-router";
8
7
  var _hoisted_1 = { 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" }, _hoisted_2 = { class: "flex flex-col gap-4" }, not_permission_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -0,0 +1,123 @@
1
+ import "./core-CKIhF3Vi.js";
2
+ import { S as getRbacUserUserEntireInfo } from "./auth-DILNNEQ8.js";
3
+ import { createElementBlock, createElementVNode, createVNode, defineComponent, isRef, onMounted, openBlock, ref, resolveComponent, unref, withCtx } from "vue";
4
+ import { isNil } from "lodash-es";
5
+ import { Card } from "ant-design-vue/es";
6
+ import { SchemaForm } from "@pubinfo/pro-components";
7
+ var _hoisted_1 = { class: "relative w-full h-full py-10px px-10px overflow-hidden" }, _hoisted_2 = { class: "w-full h-full overflow-y-auto space-y-3" }, profile_default = /* @__PURE__ */ defineComponent({
8
+ name: "PersonalCenter",
9
+ __name: "index",
10
+ setup(n) {
11
+ let i = ref({}), a = [
12
+ {
13
+ label: "未知",
14
+ value: "0"
15
+ },
16
+ {
17
+ label: "男",
18
+ value: "1"
19
+ },
20
+ {
21
+ label: "女",
22
+ value: "2"
23
+ }
24
+ ];
25
+ function o({ value: e }) {
26
+ return isNil(e) ? "-" : e;
27
+ }
28
+ let s = [
29
+ {
30
+ render: o,
31
+ renderFormItem: o,
32
+ dataIndex: "loginName",
33
+ title: "登录账号",
34
+ colProps: { span: 12 }
35
+ },
36
+ {
37
+ render: o,
38
+ valueType: "a-input",
39
+ dataIndex: "realName",
40
+ title: "真实姓名",
41
+ colProps: { span: 12 }
42
+ },
43
+ {
44
+ render: o,
45
+ valueType: "a-input",
46
+ dataIndex: "mobile",
47
+ title: "手机号",
48
+ colProps: { span: 12 }
49
+ },
50
+ {
51
+ render: ({ value: e }) => a.find((t) => t.value === e)?.label,
52
+ valueType: "a-radio-group",
53
+ dataIndex: "sex",
54
+ title: "性别",
55
+ colProps: { span: 12 },
56
+ fieldProps: { options: a }
57
+ },
58
+ {
59
+ render: o,
60
+ valueType: "a-input",
61
+ dataIndex: "email",
62
+ title: "邮箱",
63
+ colProps: { span: 12 }
64
+ },
65
+ {
66
+ render: o,
67
+ valueType: "a-input",
68
+ dataIndex: "idCard",
69
+ title: "身份证",
70
+ colProps: { span: 12 }
71
+ },
72
+ {
73
+ render: o,
74
+ valueType: "a-input",
75
+ dataIndex: "address",
76
+ title: "地址",
77
+ colProps: { span: 12 }
78
+ }
79
+ ], c = [{
80
+ renderFormItem: ({ value: e }) => e?.map((e) => e.orgName).join("、"),
81
+ dataIndex: "userOrgList",
82
+ title: "所属组织"
83
+ }];
84
+ async function l() {
85
+ let t = await getRbacUserUserEntireInfo();
86
+ t.success && (i.value = t.data ?? {});
87
+ }
88
+ return onMounted(() => {
89
+ l();
90
+ }), (e, n) => {
91
+ let r = Card;
92
+ return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createVNode(r, {
93
+ title: "个人信息",
94
+ bordered: !1
95
+ }, {
96
+ default: withCtx(() => [createVNode(unref(SchemaForm), {
97
+ modelValue: unref(i),
98
+ "onUpdate:modelValue": n[0] ||= (e) => isRef(i) ? i.value = e : null,
99
+ "label-col": { style: { width: "100px" } },
100
+ columns: s,
101
+ readonly: "",
102
+ grid: "",
103
+ submitter: !1
104
+ }, null, 8, ["modelValue"])]),
105
+ _: 1
106
+ }), createVNode(r, {
107
+ title: "权限信息",
108
+ bordered: !1
109
+ }, {
110
+ default: withCtx(() => [createVNode(unref(SchemaForm), {
111
+ modelValue: unref(i),
112
+ "onUpdate:modelValue": n[1] ||= (e) => isRef(i) ? i.value = e : null,
113
+ "label-col": { style: { width: "100px" } },
114
+ columns: c,
115
+ submitter: !1,
116
+ style: { width: "600px" }
117
+ }, null, 8, ["modelValue"])]),
118
+ _: 1
119
+ })])]);
120
+ };
121
+ }
122
+ });
123
+ export { profile_default as default };
@@ -4,7 +4,7 @@ var _hoisted_1 = {
4
4
  width: "1.2em",
5
5
  height: "1.2em"
6
6
  };
7
- function render$1(e, t) {
7
+ function render(e, t) {
8
8
  return openBlock(), createElementBlock("svg", _hoisted_1, [...t[0] ||= [createElementVNode("path", {
9
9
  fill: "currentColor",
10
10
  d: "M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16m-1-5h2v2h-2zm2-1.645V14h-2v-1.5a1 1 0 0 1 1-1a1.5 1.5 0 1 0-1.471-1.794l-1.962-.393A3.501 3.501 0 1 1 13 13.355"
@@ -12,6 +12,6 @@ function render$1(e, t) {
12
12
  }
13
13
  var question_line_default = markRaw({
14
14
  name: "ri-question-line",
15
- render: render$1
15
+ render
16
16
  });
17
17
  export { question_line_default as t };
@@ -4,7 +4,7 @@ var _hoisted_1$1 = {
4
4
  width: "1.2em",
5
5
  height: "1.2em"
6
6
  };
7
- function render$2(e, n) {
7
+ function render$1(e, n) {
8
8
  return openBlock(), createElementBlock("svg", _hoisted_1$1, [...n[0] ||= [createElementVNode("path", {
9
9
  fill: "currentColor",
10
10
  d: "M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"
@@ -15,13 +15,13 @@ function render$2(e, n) {
15
15
  }
16
16
  var back_default = markRaw({
17
17
  name: "ep-back",
18
- render: render$2
18
+ render: render$1
19
19
  }), _hoisted_1 = {
20
20
  viewBox: "0 0 1024 1024",
21
21
  width: "1.2em",
22
22
  height: "1.2em"
23
23
  };
24
- function render$1(e, t) {
24
+ function render(e, t) {
25
25
  return openBlock(), createElementBlock("svg", _hoisted_1, [...t[0] ||= [createElementVNode("path", {
26
26
  fill: "currentColor",
27
27
  d: "M754.8 480H160a32 32 0 1 0 0 64h594.8L521.3 777.3a32 32 0 0 0 45.4 45.4l288-288a32 32 0 0 0 0-45.4l-288-288a32 32 0 1 0-45.4 45.4z"
@@ -29,6 +29,6 @@ function render$1(e, t) {
29
29
  }
30
30
  var right_default = markRaw({
31
31
  name: "ep-right",
32
- render: render$1
32
+ render
33
33
  });
34
34
  export { back_default as n, right_default as t };