@pubinfo-pr/core 0.222.4 → 0.223.1

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 (88) hide show
  1. package/dist/{AppSetting-BWVulLPM.js → AppSetting-7jlhUzze.js} +40 -40
  2. package/dist/{HCheckList-Bb4GvZ2_.js → HCheckList-cPBgATmv.js} +1 -1
  3. package/dist/HSlideover-DVQDc9q6.js +3151 -0
  4. package/dist/{HToggle-Bnr5k93p.js → HToggle-Ce_2-yhZ.js} +2 -2
  5. package/dist/PreferencesContent-BAIH81yS.js +701 -0
  6. package/dist/{SettingBreadcrumb-DKCK6V-n.js → SettingBreadcrumb-O9-PhAFT.js} +7 -6
  7. package/dist/{SettingCopyright-C5Pc0I1w.js → SettingCopyright-DIKsWTuf.js} +4 -4
  8. package/dist/{SettingEnableTransition-D2FDj0oR.js → SettingEnableTransition-61O7W00b.js} +6 -6
  9. package/dist/{SettingHome-1Y1rYeQb.js → SettingHome-Sv65TPH8.js} +6 -6
  10. package/dist/{SettingMenu-DWtNX8Ti.js → SettingMenu-BvwJOUZV.js} +9 -8
  11. package/dist/{SettingMode-CZV84QeW.js → SettingMode-B8H_eQc8.js} +5 -5
  12. package/dist/{SettingNavSearch-CrMpbXFg.js → SettingNavSearch-BHsmYBA7.js} +5 -5
  13. package/dist/{SettingOther-D6gGuQJw.js → SettingOther-CyyNnaDX.js} +6 -6
  14. package/dist/{SettingPage-DuN13bXO.js → SettingPage-B82lW41P.js} +3 -3
  15. package/dist/{SettingTabbar-BhJxcU35.js → SettingTabbar-Bky2xvH-.js} +11 -10
  16. package/dist/{SettingThemes-BjkWfY1C.js → SettingThemes-CkdzS1xt.js} +13 -12
  17. package/dist/{SettingToolbar-BYOxXAXL.js → SettingToolbar-CD4qns1J.js} +5 -5
  18. package/dist/{SettingTopbar-CxKsnIRK.js → SettingTopbar-1shjoe3s.js} +9 -8
  19. package/dist/{SettingWidthMode-dM88qSol.js → SettingWidthMode-DlG6lXjA.js} +6 -6
  20. package/dist/auth-BLGKOyc5.js +4432 -0
  21. package/dist/built-in/layout-component/index.d.ts +2 -6
  22. package/dist/{change-organization-BXl4ZC7j.js → change-organization-hsqeSzDu.js} +25 -25
  23. package/dist/{change-password-P4SGdvdU.js → change-password-EtccCDRX.js} +74 -65
  24. package/dist/chunk-CD4vhpVs.js +18 -0
  25. package/dist/components-DFNyaAb9.js +5238 -0
  26. package/dist/{core-D2ocBD0r.js → core-DJIGzMMM.js} +51 -57
  27. package/dist/dist-7OjQvlya.js +468 -0
  28. package/dist/form-C3VHofnN.js +2768 -0
  29. package/dist/index.js +8391 -2411
  30. package/dist/modal-Bl5xHbxa.js +43824 -0
  31. package/dist/{not-found-C-1699o2.js → not-found-BCjngLzt.js} +5 -4
  32. package/dist/{not-permission-CZGJzlSF.js → not-permission-C26vTMvf.js} +5 -4
  33. package/dist/profile-BVXIFuBG.js +19269 -0
  34. package/dist/{question-line-B4oDBb2H.js → question-line-BG__Ycfv.js} +2 -2
  35. package/dist/{right-BTHgfOSp.js → right-BxBlFUwj.js} +4 -4
  36. package/dist/style.css +1 -1
  37. package/dist/tree-select-B8cTcGLa.js +12497 -0
  38. package/dist/watchDiff-CPZFtaOC.js +655 -0
  39. package/package.json +7 -7
  40. package/src/built-in/authentication/pages/change-organization/index.vue +5 -22
  41. package/src/built-in/authentication/pages/change-password/index.vue +3 -30
  42. package/src/built-in/layout-component/Layout.vue +30 -81
  43. package/src/built-in/layout-component/components/Copyright/index.vue +3 -29
  44. package/src/built-in/layout-component/components/Header/HeaderFullMenu/More.vue +6 -17
  45. package/src/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue +7 -18
  46. package/src/built-in/layout-component/components/Header/index.vue +22 -119
  47. package/src/built-in/layout-component/components/Logo/index.vue +1 -4
  48. package/src/built-in/layout-component/components/Menu/item.vue +6 -29
  49. package/src/built-in/layout-component/components/SettingBar/AppSetting.vue +13 -33
  50. package/src/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue +25 -113
  51. package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +4 -57
  52. package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +20 -123
  53. package/src/built-in/layout-component/components/SettingBar/components/SettingThemes.vue +25 -102
  54. package/src/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue +16 -100
  55. package/src/built-in/layout-component/components/SettingBar/index.vue +10 -64
  56. package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +22 -76
  57. package/src/built-in/layout-component/components/Sidebar/SubSidebar.vue +10 -16
  58. package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +2 -2
  59. package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +4 -26
  60. package/src/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue +51 -404
  61. package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +13 -68
  62. package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +49 -177
  63. package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +2 -2
  64. package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +12 -45
  65. package/src/built-in/layout-component/components/ui/HToggle.vue +9 -55
  66. package/src/built-in/layout-component/index.ts +2 -4
  67. package/src/features/components/PassStrengthValidator/index.vue +10 -36
  68. package/src/features/components/PassStrengthValidator/rule.vue +4 -17
  69. package/dist/HSlideover-DoCRa4dK.js +0 -152
  70. package/dist/HeaderFullMenu--AOcAS-6.js +0 -251
  71. package/dist/HeaderThinMenu-CRPVfGgM.js +0 -438
  72. package/dist/PreferencesContent-DW9HAzpr.js +0 -486
  73. package/dist/auth-DILNNEQ8.js +0 -1230
  74. package/dist/components-C9kcavB4.js +0 -2768
  75. package/dist/core-CKIhF3Vi.js +0 -270
  76. package/dist/profile-B3Q7hRgl.js +0 -123
  77. /package/dist/{HButton-BPbXqVbA.js → HButton-Dt6qGhhR.js} +0 -0
  78. /package/dist/{HDivider-BSENlYnI.js → HDivider-BwvBr5OE.js} +0 -0
  79. /package/dist/{HInput-DbvnkEO7.js → HInput-KJ5nFBpF.js} +0 -0
  80. /package/dist/{HTooltip-tCnNrJUE.js → HTooltip-DjAU-Evn.js} +0 -0
  81. /package/dist/{_plugin-vue_export-helper-BBf_fmJ_.js → _plugin-vue_export-helper-sUTDUeGO.js} +0 -0
  82. /package/dist/{engine-oniguruma-Bl7ZtyDI.js → engine-oniguruma-CaNXwGSv.js} +0 -0
  83. /package/dist/{json-BuUwnwNo.js → json-Bu_Zprin.js} +0 -0
  84. /package/dist/{reload-DWTXo9r2.js → reload-DHx5Vwus.js} +0 -0
  85. /package/dist/{useContext-mDF2-tXy.js → useContext-DLtu9F7E.js} +0 -0
  86. /package/dist/{vitesse-dark-j0hKJETh.js → vitesse-dark-CTe40QT_.js} +0 -0
  87. /package/dist/{vitesse-light-BfgKNo3X.js → vitesse-light-BWXC_WeB.js} +0 -0
  88. /package/dist/{wasm-tXaxAgz9.js → wasm-2zDVqo-C.js} +0 -0
@@ -1,9 +1,9 @@
1
- import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BBf_fmJ_.js";
2
- import { n as useContext } from "./useContext-mDF2-tXy.js";
3
- import { t as HButton_default } from "./HButton-BPbXqVbA.js";
4
- import { t as HSlideover_default } from "./HSlideover-DoCRa4dK.js";
1
+ import { n as useClipboard } from "./dist-7OjQvlya.js";
2
+ import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-sUTDUeGO.js";
3
+ import { n as useContext } from "./useContext-DLtu9F7E.js";
4
+ import { t as HButton_default } from "./HButton-Dt6qGhhR.js";
5
+ import { t as HSlideover_default } from "./HSlideover-DVQDc9q6.js";
5
6
  import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineAsyncComponent, defineComponent, markRaw, openBlock, renderList, resolveComponent, resolveDynamicComponent, unref, useModel, watch, withCtx } from "vue";
6
- import { useClipboard } from "@vueuse/core";
7
7
  import { useRoute } from "vue-router";
8
8
  import Message from "vue-m-message";
9
9
  var _hoisted_1$1 = {
@@ -11,7 +11,7 @@ var _hoisted_1$1 = {
11
11
  width: "1.2em",
12
12
  height: "1.2em"
13
13
  };
14
- function render(e, t) {
14
+ function render$1(e, t) {
15
15
  return openBlock(), createElementBlock("svg", _hoisted_1$1, [...t[0] ||= [createElementVNode("path", {
16
16
  fill: "currentColor",
17
17
  d: "M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"
@@ -19,24 +19,24 @@ function render(e, t) {
19
19
  }
20
20
  var document_copy_default = markRaw({
21
21
  name: "ep-document-copy",
22
- render
22
+ render: render$1
23
23
  }), _hoisted_1 = { class: "settong-warp" }, AppSetting_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
24
24
  name: "AppSetting",
25
25
  components: {
26
- SettingThemes: defineAsyncComponent(() => import("./SettingThemes-BjkWfY1C.js")),
27
- SettingsMode: defineAsyncComponent(() => import("./SettingMode-CZV84QeW.js")),
28
- SettingWidthMode: defineAsyncComponent(() => import("./SettingWidthMode-dM88qSol.js")),
29
- SettingEnableTransition: defineAsyncComponent(() => import("./SettingEnableTransition-D2FDj0oR.js")),
30
- SettingMenu: defineAsyncComponent(() => import("./SettingMenu-DWtNX8Ti.js")),
31
- SettingTopbar: defineAsyncComponent(() => import("./SettingTopbar-CxKsnIRK.js")),
32
- SettingTabbar: defineAsyncComponent(() => import("./SettingTabbar-BhJxcU35.js")),
33
- SettingToolbar: defineAsyncComponent(() => import("./SettingToolbar-BYOxXAXL.js")),
34
- SettingBreadcrumb: defineAsyncComponent(() => import("./SettingBreadcrumb-DKCK6V-n.js")),
35
- SettingPage: defineAsyncComponent(() => import("./SettingPage-DuN13bXO.js")),
36
- SettingNavSearch: defineAsyncComponent(() => import("./SettingNavSearch-CrMpbXFg.js")),
37
- SettingCopyright: defineAsyncComponent(() => import("./SettingCopyright-C5Pc0I1w.js")),
38
- SettingHome: defineAsyncComponent(() => import("./SettingHome-1Y1rYeQb.js")),
39
- SettingOther: defineAsyncComponent(() => import("./SettingOther-D6gGuQJw.js"))
26
+ SettingThemes: defineAsyncComponent(() => import("./SettingThemes-CkdzS1xt.js")),
27
+ SettingsMode: defineAsyncComponent(() => import("./SettingMode-B8H_eQc8.js")),
28
+ SettingWidthMode: defineAsyncComponent(() => import("./SettingWidthMode-DlG6lXjA.js")),
29
+ SettingEnableTransition: defineAsyncComponent(() => import("./SettingEnableTransition-61O7W00b.js")),
30
+ SettingMenu: defineAsyncComponent(() => import("./SettingMenu-BvwJOUZV.js")),
31
+ SettingTopbar: defineAsyncComponent(() => import("./SettingTopbar-1shjoe3s.js")),
32
+ SettingTabbar: defineAsyncComponent(() => import("./SettingTabbar-Bky2xvH-.js")),
33
+ SettingToolbar: defineAsyncComponent(() => import("./SettingToolbar-CD4qns1J.js")),
34
+ SettingBreadcrumb: defineAsyncComponent(() => import("./SettingBreadcrumb-O9-PhAFT.js")),
35
+ SettingPage: defineAsyncComponent(() => import("./SettingPage-B82lW41P.js")),
36
+ SettingNavSearch: defineAsyncComponent(() => import("./SettingNavSearch-BHsmYBA7.js")),
37
+ SettingCopyright: defineAsyncComponent(() => import("./SettingCopyright-DIKsWTuf.js")),
38
+ SettingHome: defineAsyncComponent(() => import("./SettingHome-Sv65TPH8.js")),
39
+ SettingOther: defineAsyncComponent(() => import("./SettingOther-CyyNnaDX.js"))
40
40
  },
41
41
  __name: "AppSetting",
42
42
  props: {
@@ -44,8 +44,8 @@ var document_copy_default = markRaw({
44
44
  openModifiers: {}
45
45
  },
46
46
  emits: ["update:open"],
47
- setup(e) {
48
- let r = useModel(e, "open"), i = useRoute(), { settingsStore: a, menuStore: o } = useContext(), s = computed(() => a.mode !== "pc"), c = computed(() => p([
47
+ setup(t) {
48
+ let i = useModel(t, "open"), a = useRoute(), { settingsStore: o, menuStore: s } = useContext(), c = computed(() => o.mode !== "pc"), l = computed(() => m([
49
49
  "SettingThemes",
50
50
  "SettingsMode",
51
51
  "SettingWidthMode",
@@ -66,33 +66,33 @@ var document_copy_default = markRaw({
66
66
  "SettingEnableTransition",
67
67
  "SettingBreadcrumb"
68
68
  ]));
69
- watch(() => a.settings.menu.menuMode, (e) => {
70
- e === "single" ? o.setActived(0) : o.setActived(i.fullPath);
69
+ watch(() => o.settings.menu.menuMode, (e) => {
70
+ e === "single" ? s.setActived(0) : s.setActived(a.fullPath);
71
71
  });
72
- let { copy: l, copied: u, isSupported: d } = useClipboard();
73
- watch(u, (e) => {
72
+ let { copy: u, copied: d, isSupported: f } = useClipboard();
73
+ watch(d, (e) => {
74
74
  e && Message.success("复制成功,请粘贴到 src/settings.ts 文件中!", { zIndex: 2e3 });
75
75
  });
76
- function f() {
77
- l(JSON.stringify(a.settings, null, 2));
76
+ function p() {
77
+ u(JSON.stringify(o.settings, null, 2));
78
78
  }
79
- function p(e, t) {
80
- return e.filter((e) => s.value ? !t.includes(e) : e);
79
+ function m(e, t) {
80
+ return e.filter((e) => c.value ? !t.includes(e) : e);
81
81
  }
82
82
  return (e, t) => {
83
- let n = HButton_default, i = HSlideover_default;
84
- return openBlock(), createBlock(i, {
85
- modelValue: r.value,
86
- "onUpdate:modelValue": t[0] ||= (e) => r.value = e,
83
+ let n = HButton_default, r = HSlideover_default;
84
+ return openBlock(), createBlock(r, {
85
+ modelValue: i.value,
86
+ "onUpdate:modelValue": t[0] ||= (e) => i.value = e,
87
87
  title: "应用配置"
88
88
  }, createSlots({
89
- default: withCtx(() => [createElementVNode("div", _hoisted_1, [t[1] ||= createElementVNode("div", { class: "rounded-2 bg-rose/20 px-4 py-2 text-sm/6 c-rose" }, [createElementVNode("p", { class: "my-1" }, " 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "), createElementVNode("p", { class: "my-1" }, " 注意:在生产环境中应关闭该模块。 ")], -1), (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(c), (e) => (openBlock(), createBlock(resolveDynamicComponent(e), { key: e }))), 128))])]),
89
+ default: withCtx(() => [createElementVNode("div", _hoisted_1, [t[1] ||= createElementVNode("div", { class: "rounded-2 bg-rose/20 px-4 py-2 text-sm/6 c-rose" }, [createElementVNode("p", { class: "my-1" }, " 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "), createElementVNode("p", { class: "my-1" }, " 注意:在生产环境中应关闭该模块。 ")], -1), (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(l), (e) => (openBlock(), createBlock(resolveDynamicComponent(e), { key: e }))), 128))])]),
90
90
  _: 2
91
- }, [unref(d) ? {
91
+ }, [unref(f) ? {
92
92
  name: "footer",
93
93
  fn: withCtx(() => [createVNode(n, {
94
- class: "block",
95
- onClick: f
94
+ block: "",
95
+ onClick: p
96
96
  }, {
97
97
  default: withCtx(() => [createVNode(unref(document_copy_default)), t[2] ||= createTextVNode(" 复制配置 ", -1)]),
98
98
  _: 1
@@ -101,5 +101,5 @@ var document_copy_default = markRaw({
101
101
  } : void 0]), 1032, ["modelValue"]);
102
102
  };
103
103
  }
104
- }), [["__scopeId", "data-v-97b2cd46"]]);
104
+ }), [["__scopeId", "data-v-10c15033"]]);
105
105
  export { AppSetting_default as default };
@@ -1,4 +1,4 @@
1
- import { a as PubinfoIcon_default } from "./components-C9kcavB4.js";
1
+ import { a as PubinfoIcon_default } from "./components-DFNyaAb9.js";
2
2
  import { Fragment, createBlock, createElementBlock, createTextVNode, defineComponent, normalizeClass, openBlock, renderList, toDisplayString, unref, watch } from "vue";
3
3
  var _hoisted_1 = { class: "inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark:bg-stone-7" }, _hoisted_2 = ["disabled", "onClick"], HCheckList_default = /* @__PURE__ */ defineComponent({
4
4
  __name: "HCheckList",