@pubinfo/core 2.2.3-beta.1 → 2.2.3
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.
- package/README.md +17 -0
- package/dist/{AppSetting-Bka_D_r8.js → AppSetting-CwuxTWPt.js} +5 -5
- package/dist/{HCheckList-BrnjaDkr.js → HCheckList-BZxixuaT.js} +1 -1
- package/dist/{PreferencesContent-rJ9y4hog.js → PreferencesContent-BIDpuGe7.js} +3 -3
- package/dist/{SettingBreadcrumb-r--jPQkb.js → SettingBreadcrumb-PvYzYhVy.js} +1 -1
- package/dist/{SettingMenu-EXak1lUo.js → SettingMenu-DJHfNix0.js} +1 -1
- package/dist/{SettingTabbar-DGM4a0Jj.js → SettingTabbar-Do168ErV.js} +1 -1
- package/dist/{SettingThemes-tF9f39iy.js → SettingThemes-Bha1CDxp.js} +1 -1
- package/dist/{SettingTopbar-YTAQFcaE.js → SettingTopbar-rW1CgSYC.js} +1 -1
- package/dist/{auth-cJIIobDi.js → auth-B7cWiVRL.js} +3 -3
- package/dist/{change-organization-BrjvU839.js → change-organization-Bt91P7NP.js} +4 -4
- package/dist/{change-password-B09dI1RQ.js → change-password-Bh4FjAnf.js} +5 -5
- package/dist/{components-CKYu3evU.js → components-H30cqLnz.js} +162 -1155
- package/dist/core/interface.d.ts +6 -1
- package/dist/{form-CmNl2b3W.js → form-DwqAreER.js} +2 -2
- package/dist/index.js +11 -11
- package/dist/{modal-DXJis9Ay.js → modal-DkzWO8Ua.js} +3201 -3199
- package/dist/{not-found-DE1Fr95C.js → not-found-Ci0tqlzK.js} +1 -1
- package/dist/{not-permission-BbVgwOEA.js → not-permission-ASa9bvcy.js} +1 -1
- package/dist/{profile-CHNw1C_k.js → profile-Cwa9XBzn.js} +4 -4
- package/dist/{tree-select-DS-DUpQw.js → tree-select-C3OdRt4Q.js} +1 -1
- package/dist/{watchDiff-Dofh9yLN.js → watchDiff-gRr9o4Up.js} +1 -1
- package/package.json +8 -7
- package/src/core/create.ts +4 -0
- package/src/core/interface.ts +6 -1
package/README.md
CHANGED
|
@@ -43,6 +43,23 @@ createPubinfo({
|
|
|
43
43
|
});
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
+
### 离线 Iconify 图标
|
|
47
|
+
|
|
48
|
+
在 `setup` 中通过 `ctx.icon.addIconCollection()` 注册本地图标集合:
|
|
49
|
+
|
|
50
|
+
```ts
|
|
51
|
+
import { icons as carbon } from '@iconify-json/carbon';
|
|
52
|
+
|
|
53
|
+
createPubinfo({
|
|
54
|
+
// 其他配置
|
|
55
|
+
setup(ctx) {
|
|
56
|
+
ctx.icon.addIconCollection(carbon);
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
注册后的图标使用 `集合名:图标名`,例如 `<PubinfoIcon name="carbon:search" />`。`i-carbon-search` 属于 UnoCSS 图标,不读取这里注册的集合。
|
|
62
|
+
|
|
46
63
|
## 主要导出
|
|
47
64
|
|
|
48
65
|
- `createPubinfo`
|
|
@@ -24,15 +24,15 @@ var D = h({
|
|
|
24
24
|
}), O = { class: "settong-warp" }, k = /* @__PURE__ */ t(/* @__PURE__ */ m({
|
|
25
25
|
name: "AppSetting",
|
|
26
26
|
components: {
|
|
27
|
-
SettingThemes: p(() => import("./SettingThemes-
|
|
27
|
+
SettingThemes: p(() => import("./SettingThemes-Bha1CDxp.js")),
|
|
28
28
|
SettingsMode: p(() => import("./SettingMode-DpAUEZUv.js")),
|
|
29
29
|
SettingWidthMode: p(() => import("./SettingWidthMode-CZ2i-kzC.js")),
|
|
30
30
|
SettingEnableTransition: p(() => import("./SettingEnableTransition-Bn37z29E.js")),
|
|
31
|
-
SettingMenu: p(() => import("./SettingMenu-
|
|
32
|
-
SettingTopbar: p(() => import("./SettingTopbar-
|
|
33
|
-
SettingTabbar: p(() => import("./SettingTabbar-
|
|
31
|
+
SettingMenu: p(() => import("./SettingMenu-DJHfNix0.js")),
|
|
32
|
+
SettingTopbar: p(() => import("./SettingTopbar-rW1CgSYC.js")),
|
|
33
|
+
SettingTabbar: p(() => import("./SettingTabbar-Do168ErV.js")),
|
|
34
34
|
SettingToolbar: p(() => import("./SettingToolbar-Cx_Mz_EP.js")),
|
|
35
|
-
SettingBreadcrumb: p(() => import("./SettingBreadcrumb-
|
|
35
|
+
SettingBreadcrumb: p(() => import("./SettingBreadcrumb-PvYzYhVy.js")),
|
|
36
36
|
SettingPage: p(() => import("./SettingPage-UhL5e6_m.js")),
|
|
37
37
|
SettingNavSearch: p(() => import("./SettingNavSearch-Cem0LL54.js")),
|
|
38
38
|
SettingCopyright: p(() => import("./SettingCopyright-DKwdXYr3.js")),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e } from "./components-
|
|
1
|
+
import { a as e } from "./components-H30cqLnz.js";
|
|
2
2
|
import { Fragment as t, createBlock as n, createElementBlock as r, createTextVNode as i, defineComponent as a, normalizeClass as o, openBlock as s, renderList as c, toDisplayString as l, unref as u, watch as d } from "vue";
|
|
3
3
|
//#region src/built-in/layout-component/components/ui/HCheckList.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var f = { class: "inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark:bg-stone-7" }, p = ["disabled", "onClick"], m = /* @__PURE__ */ a({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $n as e, $t as t, Cn as n, D as r, Hn as i, Qn as a, Vn as o, X as s, Zt as c, a as l, cr as u, dr as d, et as f, fr as p, lt as m, mn as h, mt as g, n as _, or as ee, rt as v, sr as y, ut as b, wn as x, yn as S } from "./modal-
|
|
2
|
-
import { a as C, n as w, s as T, t as E, v as D } from "./watchDiff-
|
|
1
|
+
import { $n as e, $t as t, Cn as n, D as r, Hn as i, Qn as a, Vn as o, X as s, Zt as c, a as l, cr as u, dr as d, et as f, fr as p, lt as m, mn as h, mt as g, n as _, or as ee, rt as v, sr as y, ut as b, wn as x, yn as S } from "./modal-DkzWO8Ua.js";
|
|
2
|
+
import { a as C, n as w, s as T, t as E, v as D } from "./watchDiff-gRr9o4Up.js";
|
|
3
3
|
import { t as O } from "./_plugin-vue_export-helper-CsLplWgU.js";
|
|
4
4
|
import { n as k } from "./useContext-Dlqfap_7.js";
|
|
5
5
|
import { t as A } from "./HTooltip-B8aoK5uN.js";
|
|
6
|
-
import { t as j } from "./HCheckList-
|
|
6
|
+
import { t as j } from "./HCheckList-BZxixuaT.js";
|
|
7
7
|
import { t as M } from "./HToggle-BTft_PNT.js";
|
|
8
8
|
import { t as N } from "./question-line-BzrfPWnG.js";
|
|
9
9
|
import { n as P, t as F } from "./right-CCqcGubr.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./useContext-Dlqfap_7.js";
|
|
2
2
|
import { t } from "./HDivider-BSj2DiEY.js";
|
|
3
|
-
import { t as n } from "./HCheckList-
|
|
3
|
+
import { t as n } from "./HCheckList-BZxixuaT.js";
|
|
4
4
|
import { t as r } from "./HToggle-BTft_PNT.js";
|
|
5
5
|
import { createBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, openBlock as c, toRefs as l, unref as u, withCtx as d } from "vue";
|
|
6
6
|
//#region src/built-in/layout-component/components/SettingBar/components/SettingBreadcrumb.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./useContext-Dlqfap_7.js";
|
|
2
2
|
import { t } from "./HTooltip-B8aoK5uN.js";
|
|
3
3
|
import { t as n } from "./HDivider-BSj2DiEY.js";
|
|
4
|
-
import { t as r } from "./HCheckList-
|
|
4
|
+
import { t as r } from "./HCheckList-BZxixuaT.js";
|
|
5
5
|
import { t as i } from "./HToggle-BTft_PNT.js";
|
|
6
6
|
import { t as a } from "./question-line-BzrfPWnG.js";
|
|
7
7
|
import { createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, openBlock as p, toRef as m, unref as h, withCtx as g } from "vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./useContext-Dlqfap_7.js";
|
|
2
2
|
import { t } from "./HTooltip-B8aoK5uN.js";
|
|
3
3
|
import { t as n } from "./HDivider-BSj2DiEY.js";
|
|
4
|
-
import { t as r } from "./HCheckList-
|
|
4
|
+
import { t as r } from "./HCheckList-BZxixuaT.js";
|
|
5
5
|
import { t as i } from "./HToggle-BTft_PNT.js";
|
|
6
6
|
import { t as a } from "./question-line-BzrfPWnG.js";
|
|
7
7
|
import { Fragment as o, computed as s, createBlock as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, markRaw as m, mergeProps as h, normalizeClass as g, openBlock as _, renderList as v, resolveComponent as y, toDisplayString as b, toRef as x, unref as S, withCtx as C } from "vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./useContext-Dlqfap_7.js";
|
|
2
2
|
import { t } from "./HTooltip-B8aoK5uN.js";
|
|
3
3
|
import { t as n } from "./HDivider-BSj2DiEY.js";
|
|
4
|
-
import { t as r } from "./HCheckList-
|
|
4
|
+
import { t as r } from "./HCheckList-BZxixuaT.js";
|
|
5
5
|
import { t as i } from "./HToggle-BTft_PNT.js";
|
|
6
6
|
import { t as a } from "./question-line-BzrfPWnG.js";
|
|
7
7
|
import { createBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, toRefs as f, unref as p, withCtx as m } from "vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e, t } from "./chunk-BdsCSvBP.js";
|
|
2
|
-
import { Fr as n, Gn as r, Gr as i, Hr as a, Kr as o, Pr as s, Qr as c, Wr as l, Zr as u, qr as d, t as f } from "./modal-
|
|
3
|
-
import { A as p, B as m, C as h, D as g, E as _, F as v, H as y, I as b, L as x, M as S, N as C, O as w, P as ee, R as T, S as te, T as E, U as D, V as ne, _ as re, a as ie, b as ae, c as oe, d as se, f as ce, g as le, h as ue, i as de, j as fe, k as pe, l as me, m as he, n as ge, o as _e, p as ve, r as ye, s as O, t as be, u as xe, v as Se, w as Ce, x as we, y as Te, z as Ee } from "./watchDiff-
|
|
2
|
+
import { Fr as n, Gn as r, Gr as i, Hr as a, Kr as o, Pr as s, Qr as c, Wr as l, Zr as u, qr as d, t as f } from "./modal-DkzWO8Ua.js";
|
|
3
|
+
import { A as p, B as m, C as h, D as g, E as _, F as v, H as y, I as b, L as x, M as S, N as C, O as w, P as ee, R as T, S as te, T as E, U as D, V as ne, _ as re, a as ie, b as ae, c as oe, d as se, f as ce, g as le, h as ue, i as de, j as fe, k as pe, l as me, m as he, n as ge, o as _e, p as ve, r as ye, s as O, t as be, u as xe, v as Se, w as Ce, x as we, y as Te, z as Ee } from "./watchDiff-gRr9o4Up.js";
|
|
4
4
|
import { f as De, s as Oe, t as ke } from "./dist-HLiWAOC7.js";
|
|
5
5
|
import { defineStore as k, getActivePinia as Ae } from "pinia";
|
|
6
6
|
import { computed as A, createVNode as je, reactive as Me, ref as j, toRaw as Ne, watch as Pe } from "vue";
|
|
@@ -1591,7 +1591,7 @@ var Di = [{
|
|
|
1591
1591
|
children: [{
|
|
1592
1592
|
path: "profile",
|
|
1593
1593
|
name: "Profile",
|
|
1594
|
-
component: () => import("./profile-
|
|
1594
|
+
component: () => import("./profile-Cwa9XBzn.js"),
|
|
1595
1595
|
meta: {
|
|
1596
1596
|
title: "个人中心",
|
|
1597
1597
|
icon: "i-iconamoon-profile-duotone"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as e, n as t } from "./modal-
|
|
2
|
-
import { d as n } from "./auth-
|
|
3
|
-
import { d as r } from "./tree-select-
|
|
4
|
-
import { a as i } from "./components-
|
|
1
|
+
import { a as e, n as t } from "./modal-DkzWO8Ua.js";
|
|
2
|
+
import { d as n } from "./auth-B7cWiVRL.js";
|
|
3
|
+
import { d as r } from "./tree-select-C3OdRt4Q.js";
|
|
4
|
+
import { a as i } from "./components-H30cqLnz.js";
|
|
5
5
|
import { t as a } from "./_plugin-vue_export-helper-CsLplWgU.js";
|
|
6
6
|
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, openBlock as g, ref as _, renderList as v, toDisplayString as y, toRaw as b, unref as x, withCtx as S } from "vue";
|
|
7
7
|
import { useRouter as C } from "vue-router";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as e, n as t } from "./modal-
|
|
2
|
-
import { I as n, L as r, d as i } from "./auth-
|
|
3
|
-
import { s as a } from "./tree-select-
|
|
4
|
-
import { r as o, t as s } from "./form-
|
|
5
|
-
import { n as c } from "./components-
|
|
1
|
+
import { a as e, n as t } from "./modal-DkzWO8Ua.js";
|
|
2
|
+
import { I as n, L as r, d as i } from "./auth-B7cWiVRL.js";
|
|
3
|
+
import { s as a } from "./tree-select-C3OdRt4Q.js";
|
|
4
|
+
import { r as o, t as s } from "./form-DwqAreER.js";
|
|
5
|
+
import { n as c } from "./components-H30cqLnz.js";
|
|
6
6
|
import { t as l } from "./_plugin-vue_export-helper-CsLplWgU.js";
|
|
7
7
|
import { computed as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, isRef as g, mergeModels as _, nextTick as v, openBlock as y, reactive as b, ref as x, unref as S, useModel as C, withCtx as w } from "vue";
|
|
8
8
|
import { useRoute as T, useRouter as E } from "vue-router";
|