@huyooo/ui 0.5.9 → 0.5.12

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.
@@ -10,7 +10,7 @@ import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  /* empty css */
11
11
  import { List as w, ListItem as d, ListItemMeta as p, Avatar as c, Button as x } from "@arco-design/web-vue";
12
12
  import { a as $ } from "./useAuthkitAppsAuthPageInfo-Dfj4byB5.js";
13
- import { o as T } from "./useAuthkitUsersProfile-Bi_zM2qG.js";
13
+ import { o as T } from "./useAuthkitUsersProfile-C0ZRUQ3T.js";
14
14
  const U = {
15
15
  class: "header"
16
16
  }, B = ["href"], L = {
@@ -8,7 +8,7 @@ import { g as y } from "./globalConfig-C1YOJcxa.js";
8
8
  import { u as B } from "./useTableHandle-DKUIdSSh.js";
9
9
  import { C as D } from "./CustomTable-B8i1SbFB.js";
10
10
  import { C as E } from "./Clipboard-Bful1lNJ.js";
11
- import { a as H } from "./useAuthkitUsersProfile-Bi_zM2qG.js";
11
+ import { a as H } from "./useAuthkitUsersProfile-C0ZRUQ3T.js";
12
12
  import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
13
  function $(f) {
14
14
  return U({
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as _, createElementBlock as d, openBlock as m, createElementVNode as e, renderSlot as u, toDisplayString as r, unref as o, createVNode as p } from "vue";
2
2
  import { Icon as f } from "@iconify/vue";
3
- import { a as v } from "./useAuthkitUsersProfile-Bi_zM2qG.js";
3
+ import { a as v } from "./useAuthkitUsersProfile-C0ZRUQ3T.js";
4
4
  import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const k = {
6
6
  class: "UserAccountMenu"
@@ -5,11 +5,11 @@
5
5
  import { defineComponent as S, createElementBlock as v, openBlock as u, normalizeStyle as q, normalizeClass as E, createElementVNode as f, computed as M, createBlock as g, createCommentVNode as D, createVNode as i, unref as n, withCtx as a, createTextVNode as m, toDisplayString as C, mergeModels as A, useModel as K, renderSlot as Se, ref as d, Fragment as be } from "vue";
6
6
  import { Tag as Ce, Button as T, Avatar as W, Dropdown as Ie, Divider as X, Doption as _ } from "@arco-design/web-vue";
7
7
  import { S as we } from "./PaySubscriptions-Bva3INxJ.js";
8
- import { R as $e } from "./ReferrerReferees-D3qUZ62t.js";
9
- import { a as Y, u as he } from "./useAuthkitUsersProfile-Bi_zM2qG.js";
8
+ import { R as $e } from "./ReferrerReferees-Bn3bKc0N.js";
9
+ import { a as Y, u as he } from "./useAuthkitUsersProfile-C0ZRUQ3T.js";
10
10
  import { u as Ue } from "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-BpOmabWi.js";
11
11
  import { g as F } from "./globalConfig-C1YOJcxa.js";
12
- import { c as xe, A as Be } from "./AuthkitAuthModal-DEVS8XfG.js";
12
+ import { c as xe, A as Be } from "./AuthkitAuthModal-C2KKx46o.js";
13
13
  import { d as Me } from "./FeedbackModal-DdTqdVlw.js";
14
14
  import { M as Ae } from "./MessageHandle-Cagv57D0.js";
15
15
  /* empty css */
@@ -1,15 +1,15 @@
1
- import { defineComponent as m, createElementBlock as n, openBlock as t, createElementVNode as l, createCommentVNode as f, toDisplayString as k, ref as M, onMounted as U, onUnmounted as B, Fragment as q, renderList as H, normalizeClass as C, normalizeStyle as S, watch as P, createVNode as w, unref as b, createBlock as O, renderSlot as T, computed as x } from "vue";
2
- import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
1
+ import { defineComponent as m, createElementBlock as n, openBlock as t, createElementVNode as c, createCommentVNode as p, toDisplayString as k, ref as M, onMounted as A, onUnmounted as E, Fragment as q, renderList as H, normalizeClass as C, normalizeStyle as S, watch as U, createVNode as $, unref as b, createBlock as B, renderSlot as P, computed as x } from "vue";
2
+ import { _ as l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
- import { Spin as D } from "@arco-design/web-vue";
6
- import { c as K } from "./UserPanel-DHXkFUTF.js";
7
- import { u as G } from "./useAuthkitAppsAuthPageInfo-Dfj4byB5.js";
5
+ import { Spin as O } from "@arco-design/web-vue";
6
+ import { c as D } from "./UserPanel-DzSB8_xh.js";
7
+ import { u as K } from "./useAuthkitAppsAuthPageInfo-Dfj4byB5.js";
8
8
  import { u as R } from "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-BpOmabWi.js";
9
- import { a as V } from "./useAuthkitUsersProfile-Bi_zM2qG.js";
10
- import { a as W, f as N, w as L, c as F, b as j } from "./useSEO-BAkykYVP.js";
11
- import { useRouter as J, useRoute as A } from "vue-router";
12
- import { a as Q } from "./globalConfig-C1YOJcxa.js";
9
+ import { a as G } from "./useAuthkitUsersProfile-C0ZRUQ3T.js";
10
+ import { a as V, f as W, w as L, c as N, b as F, d as j } from "./useSEO-ByLbRe2G.js";
11
+ import { useRouter as J, useRoute as Q } from "vue-router";
12
+ import { a as X } from "./globalConfig-C1YOJcxa.js";
13
13
  import "@huyooo/api";
14
14
  import "./useUploadCos-D5k1YLb7.js";
15
15
  /* empty css */
@@ -21,14 +21,14 @@ import "@iconify/vue";
21
21
  /* empty css */
22
22
  /* empty css */
23
23
  /* empty css */
24
- const X = {
24
+ const Y = {
25
25
  class: "ContentHead"
26
- }, Y = {
27
- class: "title"
28
26
  }, Z = {
27
+ class: "title"
28
+ }, ee = {
29
29
  key: 0,
30
30
  class: "description"
31
- }, ee = /* @__PURE__ */ m({
31
+ }, te = /* @__PURE__ */ m({
32
32
  __name: "ContentHead",
33
33
  props: {
34
34
  title: {
@@ -44,19 +44,19 @@ const X = {
44
44
  },
45
45
  setup(o) {
46
46
  const e = o;
47
- return (a, r) => (t(), n("div", X, [l("h1", Y, k(e.title), 1), e.description ? (t(), n("p", Z, k(e.description), 1)) : f("", !0)]));
47
+ return (s, r) => (t(), n("div", Y, [c("h1", Z, k(e.title), 1), e.description ? (t(), n("p", ee, k(e.description), 1)) : p("", !0)]));
48
48
  }
49
- }), Xe = /* @__PURE__ */ d(ee, [["__scopeId", "data-v-209a7bef"]]), te = {
49
+ }), Ye = /* @__PURE__ */ l(te, [["__scopeId", "data-v-209a7bef"]]), ne = {
50
50
  class: "HeaderMenus"
51
- }, ne = {
51
+ }, oe = {
52
52
  key: 0,
53
53
  class: "desktop-menus"
54
- }, oe = ["onClick"], se = {
54
+ }, se = ["onClick"], ae = {
55
55
  key: 3,
56
56
  class: "mobile-menu"
57
- }, ae = {
57
+ }, re = {
58
58
  class: "mobile-menu-content"
59
- }, ie = ["onClick"], re = /* @__PURE__ */ m({
59
+ }, ie = ["onClick"], ce = /* @__PURE__ */ m({
60
60
  __name: "HeaderMenus",
61
61
  props: {
62
62
  menus: {
@@ -72,64 +72,64 @@ const X = {
72
72
  setup(o, {
73
73
  emit: e
74
74
  }) {
75
- const a = o, r = e, i = M(!1), u = M(!1);
76
- function s() {
75
+ const s = o, r = e, a = M(!1), u = M(!1);
76
+ function h() {
77
77
  u.value = window.innerWidth <= 1024;
78
78
  }
79
- function _() {
80
- i.value = !i.value;
79
+ function g() {
80
+ a.value = !a.value;
81
81
  }
82
- function h() {
83
- i.value = !1;
82
+ function f() {
83
+ a.value = !1;
84
84
  }
85
- function v(c) {
86
- r("change", c), h();
85
+ function v(i) {
86
+ r("change", i), f();
87
87
  }
88
- function g(c) {
89
- return a.activateKey === c.path;
88
+ function _(i) {
89
+ return s.activateKey === i.path;
90
90
  }
91
- function $(c) {
92
- r("change", c);
91
+ function w(i) {
92
+ r("change", i);
93
93
  }
94
94
  function y() {
95
- s(), u.value || h();
95
+ h(), u.value || f();
96
96
  }
97
- return U(() => {
98
- s(), window.addEventListener("resize", y);
99
- }), B(() => {
97
+ return A(() => {
98
+ h(), window.addEventListener("resize", y);
99
+ }), E(() => {
100
100
  window.removeEventListener("resize", y);
101
- }), (c, z) => (t(), n("div", te, [u.value ? f("", !0) : (t(), n("div", ne, [(t(!0), n(q, null, H(a.menus, (p, I) => (t(), n("div", {
101
+ }), (i, z) => (t(), n("div", ne, [u.value ? p("", !0) : (t(), n("div", oe, [(t(!0), n(q, null, H(s.menus, (d, I) => (t(), n("div", {
102
102
  key: I,
103
103
  class: C(["headerLink", {
104
- activate: g(p)
104
+ activate: _(d)
105
105
  }]),
106
- onClick: (E) => $(p)
107
- }, k(p.name), 11, oe))), 128))])), u.value ? (t(), n("button", {
106
+ onClick: (T) => w(d)
107
+ }, k(d.name), 11, se))), 128))])), u.value ? (t(), n("button", {
108
108
  key: 1,
109
109
  class: C(["mobile-menu-toggle", {
110
- active: i.value
110
+ active: a.value
111
111
  }]),
112
112
  "aria-label": "切换菜单",
113
- onClick: _
114
- }, [...z[0] || (z[0] = [l("span", {
113
+ onClick: g
114
+ }, [...z[0] || (z[0] = [c("span", {
115
115
  class: "hamburger-line"
116
- }, null, -1), l("span", {
116
+ }, null, -1), c("span", {
117
117
  class: "hamburger-line"
118
- }, null, -1), l("span", {
118
+ }, null, -1), c("span", {
119
119
  class: "hamburger-line"
120
- }, null, -1)])], 2)) : f("", !0), i.value ? (t(), n("div", {
120
+ }, null, -1)])], 2)) : p("", !0), a.value ? (t(), n("div", {
121
121
  key: 2,
122
122
  class: "mobile-menu-overlay",
123
- onClick: h
124
- })) : f("", !0), i.value ? (t(), n("div", se, [l("div", ae, [(t(!0), n(q, null, H(a.menus, (p, I) => (t(), n("div", {
123
+ onClick: f
124
+ })) : p("", !0), a.value ? (t(), n("div", ae, [c("div", re, [(t(!0), n(q, null, H(s.menus, (d, I) => (t(), n("div", {
125
125
  key: I,
126
126
  class: C(["mobile-menu-item", {
127
- activate: g(p)
127
+ activate: _(d)
128
128
  }]),
129
- onClick: (E) => v(p)
130
- }, k(p.name), 11, ie))), 128))])])) : f("", !0)]));
129
+ onClick: (T) => v(d)
130
+ }, k(d.name), 11, ie))), 128))])])) : p("", !0)]));
131
131
  }
132
- }), ce = /* @__PURE__ */ d(re, [["__scopeId", "data-v-67bf8ea1"]]), le = ["src"], ue = /* @__PURE__ */ m({
132
+ }), ue = /* @__PURE__ */ l(ce, [["__scopeId", "data-v-67bf8ea1"]]), le = ["src"], de = /* @__PURE__ */ m({
133
133
  __name: "Logo",
134
134
  props: {
135
135
  name: {
@@ -157,13 +157,13 @@ const X = {
157
157
  setup(o, {
158
158
  emit: e
159
159
  }) {
160
- const a = o, r = e;
161
- function i() {
160
+ const s = o, r = e;
161
+ function a() {
162
162
  r("to");
163
163
  }
164
- return (u, s) => (t(), n("div", {
164
+ return (u, h) => (t(), n("div", {
165
165
  class: "Logo",
166
- onClick: i
166
+ onClick: a
167
167
  }, [o.icon ? (t(), n("img", {
168
168
  key: 0,
169
169
  class: "icon",
@@ -171,21 +171,21 @@ const X = {
171
171
  alt: "logo",
172
172
  loading: "lazy",
173
173
  decoding: "async"
174
- }, null, 8, le)) : f("", !0), l("div", {
174
+ }, null, 8, le)) : p("", !0), c("div", {
175
175
  class: "text",
176
176
  style: S({
177
- color: a.color,
178
- fontSize: a.fontSize
177
+ color: s.color,
178
+ fontSize: s.fontSize
179
179
  })
180
180
  }, k(o.name), 5)]));
181
181
  }
182
- }), de = /* @__PURE__ */ d(ue, [["__scopeId", "data-v-694a3ecc"]]), pe = {
182
+ }), pe = /* @__PURE__ */ l(de, [["__scopeId", "data-v-694a3ecc"]]), me = {
183
183
  class: "HeaderCom"
184
184
  }, fe = {
185
185
  class: "left"
186
- }, me = {
186
+ }, _e = {
187
187
  class: "right"
188
- }, _e = /* @__PURE__ */ m({
188
+ }, he = /* @__PURE__ */ m({
189
189
  __name: "Header",
190
190
  props: {
191
191
  menuType: {
@@ -198,18 +198,18 @@ const X = {
198
198
  },
199
199
  setup(o) {
200
200
  const e = o, {
201
- show: a
201
+ show: s
202
202
  } = R(), {
203
203
  isLoggedIn: r
204
- } = V(), {
205
- appsData: i
206
204
  } = G(), {
205
+ appsData: a
206
+ } = K(), {
207
207
  menus: u,
208
- hasPermission: s
209
- } = W(e.menuType), _ = M(""), h = J(), v = A();
210
- function g() {
208
+ hasPermission: h
209
+ } = V(e.menuType), g = M(""), f = J(), v = Q();
210
+ function _() {
211
211
  L(() => {
212
- h.push({
212
+ f.push({
213
213
  path: "/"
214
214
  }), window.scrollTo({
215
215
  top: 0,
@@ -217,43 +217,43 @@ const X = {
217
217
  });
218
218
  });
219
219
  }
220
- function $(y) {
221
- const c = y.path;
222
- if (!s(c)) {
223
- r.value || (a.value = !0);
220
+ function w(y) {
221
+ const i = y.path;
222
+ if (!h(i)) {
223
+ r.value || (s.value = !0);
224
224
  return;
225
225
  }
226
226
  L(() => {
227
- h.push(c), _.value = c, window.scrollTo({
227
+ f.push(i), g.value = i, window.scrollTo({
228
228
  top: 0,
229
229
  behavior: "smooth"
230
230
  });
231
231
  });
232
232
  }
233
- return P(() => v.path, () => {
234
- _.value = N(v.matched, e.menuType, v.path);
233
+ return U(() => v.path, () => {
234
+ g.value = W(v.matched, e.menuType, v.path);
235
235
  }, {
236
236
  immediate: !0
237
- }), (y, c) => (t(), n("div", pe, [l("div", fe, [w(de, {
238
- icon: b(i).applicationLogoUrl,
239
- name: b(i).name,
240
- onTo: g
241
- }, null, 8, ["icon", "name"])]), l("div", me, [w(ce, {
237
+ }), (y, i) => (t(), n("div", me, [c("div", fe, [$(pe, {
238
+ icon: b(a).applicationLogoUrl,
239
+ name: b(a).name,
240
+ onTo: _
241
+ }, null, 8, ["icon", "name"])]), c("div", _e, [$(ue, {
242
242
  menus: b(u),
243
- activateKey: _.value,
244
- onChange: $
245
- }, null, 8, ["menus", "activateKey"]), e.showUserPanel ? (t(), O(K, {
243
+ activateKey: g.value,
244
+ onChange: w
245
+ }, null, 8, ["menus", "activateKey"]), e.showUserPanel ? (t(), B(D, {
246
246
  key: 0,
247
- onToHomePage: g,
248
- onSignOut: g
249
- })) : f("", !0)])]));
247
+ onToHomePage: _,
248
+ onSignOut: _
249
+ })) : p("", !0)])]));
250
250
  }
251
- }), he = /* @__PURE__ */ d(_e, [["__scopeId", "data-v-2225e367"]]), ge = {
251
+ }), ge = /* @__PURE__ */ l(he, [["__scopeId", "data-v-2225e367"]]), ve = {
252
252
  class: "body"
253
- }, ve = {
253
+ }, ye = {
254
254
  key: 0,
255
255
  class: "loading"
256
- }, ye = "linear-gradient(to bottom, #fefdff, #f9f6fe, #f2eefd, #ebe8fd, #e2e1fd, #dfe0fd, #dcdffd, #d9defd, #dde2fd, #e0e5fd, #e4e9fd, #e8ecfd)", be = /* @__PURE__ */ m({
256
+ }, be = "linear-gradient(to bottom, #fefdff, #f9f6fe, #f2eefd, #ebe8fd, #e2e1fd, #dfe0fd, #dcdffd, #d9defd, #dde2fd, #e0e5fd, #e4e9fd, #e8ecfd)", ke = /* @__PURE__ */ m({
257
257
  __name: "DefaultLayout",
258
258
  props: {
259
259
  menuType: {
@@ -269,40 +269,28 @@ const X = {
269
269
  },
270
270
  setup(o) {
271
271
  const e = o, {
272
- setGlobalSEO: a,
273
- setPageSEO: r
274
- } = F();
275
- a(Q);
272
+ setGlobalSEO: s
273
+ } = N();
274
+ s(X);
276
275
  const {
277
- isChecking: i
278
- } = j(), u = A();
279
- return P(() => u.meta, (s) => {
280
- s && s.title && r({
281
- title: s.title,
282
- description: s.description,
283
- keywords: s.keywords,
284
- image: s.image,
285
- url: s.url,
286
- type: s.type
287
- });
288
- }, {
289
- immediate: !0
290
- }), (s, _) => (t(), n("div", {
276
+ isChecking: r
277
+ } = F();
278
+ return j(), (a, u) => (t(), n("div", {
291
279
  class: "layout",
292
280
  style: S({
293
- backgroundImage: e.backgroundImage || ye,
281
+ backgroundImage: e.backgroundImage || be,
294
282
  backgroundAttachment: "fixed"
295
283
  })
296
- }, [w(he, {
284
+ }, [$(ge, {
297
285
  "menu-type": e.menuType,
298
286
  "show-user-panel": e.showUserPanel
299
- }, null, 8, ["menu-type", "show-user-panel"]), l("div", ge, [b(i) ? (t(), n("div", ve, [w(b(D), {
287
+ }, null, 8, ["menu-type", "show-user-panel"]), c("div", ve, [b(r) ? (t(), n("div", ye, [$(b(O), {
300
288
  size: 40
301
- })])) : T(s.$slots, "default", {
289
+ })])) : P(a.$slots, "default", {
302
290
  key: 1
303
291
  }, void 0, !0)])], 4));
304
292
  }
305
- }), Ye = /* @__PURE__ */ d(be, [["__scopeId", "data-v-4cbea871"]]), ke = /* @__PURE__ */ m({
293
+ }), Ze = /* @__PURE__ */ l(ke, [["__scopeId", "data-v-690c2133"]]), Se = /* @__PURE__ */ m({
306
294
  __name: "Gradientbackground",
307
295
  props: {
308
296
  width: {
@@ -340,7 +328,7 @@ const X = {
340
328
  }
341
329
  },
342
330
  setup(o) {
343
- const e = o, a = x(() => ({
331
+ const e = o, s = x(() => ({
344
332
  pointerEvents: "none",
345
333
  position: "absolute",
346
334
  zIndex: e.zIndex,
@@ -355,17 +343,17 @@ const X = {
355
343
  // background: `linear-gradient(180deg, rgb(0 225 10 / 63%) 0.31%, rgb(26 214 255 / 52%) 74.99%, rgb(220 189 0 / 0%) 99.69%)`,
356
344
  // background: `linear-gradient(315deg, rgb(0 225 10 / 63%) 10%, rgb(26 214 255 / 52%) 50%, rgb(220 189 0 / 37%) 100%)`,
357
345
  }));
358
- return (i, u) => (t(), n("div", {
346
+ return (a, u) => (t(), n("div", {
359
347
  class: "ellipsis",
360
- style: S(a.value)
361
- }, [l("div", {
348
+ style: S(s.value)
349
+ }, [c("div", {
362
350
  class: "ellipsis-item",
363
351
  style: S(r.value)
364
352
  }, null, 4)], 4));
365
353
  }
366
- }), Ze = /* @__PURE__ */ d(ke, [["__scopeId", "data-v-b6461ac4"]]), Se = {
354
+ }), et = /* @__PURE__ */ l(Se, [["__scopeId", "data-v-b6461ac4"]]), $e = {
367
355
  class: "SvgIcon"
368
- }, we = ["href", "fill"], $e = /* @__PURE__ */ m({
356
+ }, we = ["href", "fill"], Ie = /* @__PURE__ */ m({
369
357
  __name: "SvgIcon",
370
358
  props: {
371
359
  prefix: {
@@ -384,26 +372,26 @@ const X = {
384
372
  }
385
373
  },
386
374
  setup(o) {
387
- const e = o, a = x(() => `#${e.prefix ?? "icon"}-${e.name}`);
388
- return (r, i) => (t(), n("svg", Se, [l("use", {
389
- href: a.value,
375
+ const e = o, s = x(() => `#${e.prefix ?? "icon"}-${e.name}`);
376
+ return (r, a) => (t(), n("svg", $e, [c("use", {
377
+ href: s.value,
390
378
  fill: e.color
391
379
  }, null, 8, we)]));
392
380
  }
393
- }), et = /* @__PURE__ */ d($e, [["__scopeId", "data-v-0a9de94e"]]), Ie = {}, Ce = {
381
+ }), tt = /* @__PURE__ */ l(Ie, [["__scopeId", "data-v-0a9de94e"]]), Ce = {}, Me = {
394
382
  class: "WidthContainer"
395
383
  };
396
- function Me(o, e) {
397
- return t(), n("div", Ce, [T(o.$slots, "default", {}, void 0, !0)]);
384
+ function xe(o, e) {
385
+ return t(), n("div", Me, [P(o.$slots, "default", {}, void 0, !0)]);
398
386
  }
399
- const tt = /* @__PURE__ */ d(Ie, [["render", Me], ["__scopeId", "data-v-d06aac1f"]]);
387
+ const nt = /* @__PURE__ */ l(Ce, [["render", xe], ["__scopeId", "data-v-d06aac1f"]]);
400
388
  export {
401
- Xe as C,
402
- Ye as D,
403
- Ze as G,
404
- he as H,
405
- de as L,
406
- et as S,
407
- tt as W,
408
- ce as a
389
+ Ye as C,
390
+ Ze as D,
391
+ et as G,
392
+ ge as H,
393
+ pe as L,
394
+ tt as S,
395
+ nt as W,
396
+ ue as a
409
397
  };
@@ -4,3 +4,4 @@ export declare function authSignOut(): Promise<import('axios').AxiosResponse<any
4
4
  export declare function authResetPassword(data: ResetPasswordParams): Promise<import('axios').AxiosResponse<any, any>>;
5
5
  export declare function authSignUp(data: SignUpParams): Promise<import('axios').AxiosResponse<any, any>>;
6
6
  export declare function oauth2Authorize(data: OAuth2AuthorizeParams): Promise<import('axios').AxiosResponse<any, any>>;
7
+ export declare function refreshToken(refreshToken: string): Promise<import('axios').AxiosResponse<any, any>>;
package/dist/authkit.js CHANGED
@@ -1,7 +1,7 @@
1
- import { A as a, a as s, c as u, b as A, n as h, E as e, k as r, l as o, _ as k, O as n, f as d, o as p, P as f, j as m, R as P, S, i as g, m as l, d as w, e as U, g as c, h as x } from "./AuthkitAuthModal-DEVS8XfG.js";
2
- import { A as y, a as E } from "./AuthkitAuthorize-cnC-Hl0X.js";
1
+ import { A as a, a as s, c as u, b as A, n as h, E as e, k as r, l as o, _ as k, O as n, f as d, o as p, P as f, j as m, R as P, S, i as g, m as l, d as w, e as U, g as c, h as x } from "./AuthkitAuthModal-C2KKx46o.js";
2
+ import { A as y, a as E } from "./AuthkitAuthorize-CrmwggKL.js";
3
3
  import { u as C } from "./useAuthkitAppsAuthPageInfo-Dfj4byB5.js";
4
- import { u as V, a as b } from "./useAuthkitUsersProfile-Bi_zM2qG.js";
4
+ import { u as V, a as b } from "./useAuthkitUsersProfile-C0ZRUQ3T.js";
5
5
  import { u as B } from "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-BpOmabWi.js";
6
6
  import { u as j } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
7
7
  export {
package/dist/common.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { C as s, a as o } from "./CollapseItem-Cw1vcdLu.js";
2
- import { C as r, D as n, G as l, H as C, a as m, L as p, S as u, W as d } from "./WidthContainer-Ds90or_F.js";
2
+ import { C as r, D as n, G as l, H as C, a as m, L as p, S as u, W as d } from "./WidthContainer-2eHirXXk.js";
3
3
  import { C as i, E as x } from "./CustomTable-B8i1SbFB.js";
4
4
  import { M, a as g } from "./Menu-BKBnsDJ8.js";
5
5
  export {
@@ -39,3 +39,8 @@ export declare function useSEO(): {
39
39
  setGlobalSEO: (config: GlobalSEOConfig) => void;
40
40
  setPageSEO: (config: PageSEOConfig) => void;
41
41
  };
42
+ /**
43
+ * 自动从当前路由的 meta 信息设置页面 SEO
44
+ * 必须在 Vue 组件中使用
45
+ */
46
+ export declare function useRouteSEO(): void;
@@ -13,4 +13,4 @@ export { withViewTransition } from './composables/viewTransitions';
13
13
  export { useDownloads } from './composables/useDownloads';
14
14
  export { useAuthMenu, findMenuPath } from './composables/Authkit/useAuthMenu';
15
15
  export { useRoutePermission } from './composables/Authkit/useRoutePermission';
16
- export { useSEO, type GlobalSEOConfig, type PageSEOConfig } from './composables/useSEO';
16
+ export { useSEO, useRouteSEO, type GlobalSEOConfig, type PageSEOConfig } from './composables/useSEO';
@@ -1,21 +1,21 @@
1
- import { u as o, a } from "./useAuthkitUsersProfile-Bi_zM2qG.js";
1
+ import { u as o, a } from "./useAuthkitUsersProfile-C0ZRUQ3T.js";
2
2
  import { u } from "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-BpOmabWi.js";
3
3
  import { u as i } from "./useAuthkitAppsAuthPageInfo-Dfj4byB5.js";
4
4
  import { u as n } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
5
5
  import { u as l } from "./useMessageNotifications-DSRanuRe.js";
6
- import { g as A, a as h, s as x, b as d } from "./globalConfig-C1YOJcxa.js";
6
+ import { g as A, a as h, s as d, b as x } from "./globalConfig-C1YOJcxa.js";
7
7
  import { u as C, a as b } from "./useDownloads-DnMYa52H.js";
8
8
  import { u as c } from "./useTableHandle-DKUIdSSh.js";
9
- import { f as M, u as P, a as U, b as E, c as O, w as S } from "./useSEO-BAkykYVP.js";
10
- import { u as G } from "./useUploadCos-D5k1YLb7.js";
9
+ import { f as E, u as M, a as O, b as P, d as S, c as U, w as D } from "./useSEO-ByLbRe2G.js";
10
+ import { u as R } from "./useUploadCos-D5k1YLb7.js";
11
11
  export {
12
- M as findMenuPath,
12
+ E as findMenuPath,
13
13
  A as globalConfig,
14
14
  h as globalSEOConfig,
15
- x as setGlobalConfig,
16
- d as setGlobalSEOConfig,
17
- P as useActiveDoc,
18
- U as useAuthMenu,
15
+ d as setGlobalConfig,
16
+ x as setGlobalSEOConfig,
17
+ M as useActiveDoc,
18
+ O as useAuthMenu,
19
19
  i as useAuthkitAppsAuthPageInfo,
20
20
  o as useAuthkitAuth,
21
21
  u as useAuthkitAuthModal,
@@ -24,9 +24,10 @@ export {
24
24
  C as useCommonCreateAndUpdate,
25
25
  b as useDownloads,
26
26
  l as useMessageNotifications,
27
- E as useRoutePermission,
28
- O as useSEO,
27
+ P as useRoutePermission,
28
+ S as useRouteSEO,
29
+ U as useSEO,
29
30
  c as useTableHandle,
30
- G as useUploadCos,
31
- S as withViewTransition
31
+ R as useUploadCos,
32
+ D as withViewTransition
32
33
  };