@huyooo/ui 0.7.6 → 0.7.8

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.
@@ -11,7 +11,7 @@ import { List as J, ListItem as x, ListItemMeta as T, Avatar as F, Button as R,
11
11
  import { a as Q } from "./useAuthkitAppsAuthPageInfo-CzZmhPMm.js";
12
12
  import { o as W } from "./auth-bwwc2iT8.js";
13
13
  import { u as X, a as Y } from "./useAuthkitUsersProfile-hZ9L3rYe.js";
14
- import { S as U, v as Z, q as L, g as ee, h as te } from "./AuthkitAuthModal-Bfcu3xeg.js";
14
+ import { S as U, v as Z, q as L, g as ee, h as te } from "./AuthkitAuthModal-Bw33YdCV.js";
15
15
  const oe = {
16
16
  class: "header"
17
17
  }, le = ["href"], ae = {
@@ -9,7 +9,7 @@ import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  /* empty css */
10
10
  import { u as Z } from "./useUploadCos-EWMNJjRf.js";
11
11
  import { g as A } from "./auth-bwwc2iT8.js";
12
- import "./FeedbackModal-scDtV6-8.js";
12
+ import "./FeedbackModal-Fqr-csbR.js";
13
13
  import { Icon as Y } from "@iconify/vue";
14
14
  const H = f({
15
15
  name: "IconDown",
@@ -3,7 +3,7 @@
3
3
  /* empty css */
4
4
  import { defineComponent as B, createElementBlock as _, openBlock as o, normalizeStyle as K, normalizeClass as pe, createElementVNode as U, computed as M, createBlock as g, unref as l, withCtx as r, createVNode as u, createCommentVNode as R, Fragment as z, createTextVNode as S, toDisplayString as L, ref as v, onUnmounted as Fe, h as le, renderList as X, nextTick as O } from "vue";
5
5
  import { Space as fe, Image as me, Avatar as ve, Descriptions as Ue, DescriptionsItem as Z, Tag as P, Spin as Re, Button as Y, Form as Le, FormItem as W, Input as Be, Select as ae, Option as ne, Textarea as Ve, Message as ze, Breadcrumb as qe, BreadcrumbItem as se, Modal as Ae } from "@arco-design/web-vue";
6
- import { M as De } from "./Menu-BjWB9hre.js";
6
+ import { M as De } from "./Menu-BbmibpaB.js";
7
7
  /* empty css */
8
8
  /* empty css */
9
9
  /* empty css */
@@ -0,0 +1,148 @@
1
+ import { defineComponent as I, createElementBlock as l, createCommentVNode as k, openBlock as u, normalizeClass as y, createBlock as h, createElementVNode as d, unref as m, toDisplayString as N, ref as A, watch as E, Fragment as g, renderList as B, createVNode as M, Transition as D, withCtx as z, withDirectives as F, vShow as L } from "vue";
2
+ import { Icon as C } from "@iconify/vue";
3
+ import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ const O = {
5
+ class: "menu-item__name"
6
+ }, T = /* @__PURE__ */ I({
7
+ __name: "MenuItem",
8
+ props: {
9
+ hidden: {
10
+ type: Boolean,
11
+ default: !1
12
+ },
13
+ path: {
14
+ default: ""
15
+ },
16
+ icon: {
17
+ default: ""
18
+ },
19
+ name: {},
20
+ active: {
21
+ type: Boolean,
22
+ default: !1
23
+ }
24
+ },
25
+ emits: ["click"],
26
+ setup(f, {
27
+ emit: v
28
+ }) {
29
+ const n = f, p = v;
30
+ return (o, i) => n.hidden ? k("", !0) : (u(), l("div", {
31
+ key: 0,
32
+ class: y(["menu-item", {
33
+ "menu-item--active": n.active
34
+ }]),
35
+ onClick: i[0] || (i[0] = (w) => p("click"))
36
+ }, [n.icon ? (u(), h(m(C), {
37
+ key: 0,
38
+ class: "menu-item__icon",
39
+ icon: n.icon,
40
+ width: 16
41
+ }, null, 8, ["icon"])) : k("", !0), d("span", O, N(n.name), 1)], 2));
42
+ }
43
+ }), $ = /* @__PURE__ */ V(T, [["__scopeId", "data-v-594d133c"]]), b = {
44
+ class: "menu"
45
+ }, j = ["onClick"], q = {
46
+ class: "menu-group__header-content"
47
+ }, G = {
48
+ class: "menu-group__title"
49
+ }, H = {
50
+ class: "menu-group__children"
51
+ }, J = /* @__PURE__ */ I({
52
+ __name: "Menu",
53
+ props: {
54
+ menus: {
55
+ default: () => []
56
+ },
57
+ selectedKeys: {
58
+ default: () => []
59
+ },
60
+ defaultExpandAll: {
61
+ type: Boolean,
62
+ default: !0
63
+ }
64
+ },
65
+ emits: ["update:selectedKeys", "change"],
66
+ setup(f, {
67
+ emit: v
68
+ }) {
69
+ const n = f, p = v, o = A([]);
70
+ function i() {
71
+ n.defaultExpandAll ? o.value = n.menus.filter((a) => a.children && a.children.length > 0).map((a, s) => a.path || s.toString()) : (o.value = [], n.menus.forEach((a, s) => {
72
+ var e;
73
+ (e = a.children) != null && e.some((c) => n.selectedKeys.includes(c.path)) && o.value.push(a.path || s.toString());
74
+ }));
75
+ }
76
+ function w(a) {
77
+ const s = o.value.indexOf(a);
78
+ s > -1 ? o.value.splice(s, 1) : o.value.push(a);
79
+ }
80
+ function x(a) {
81
+ p("change", a), p("update:selectedKeys", [a.path]);
82
+ }
83
+ return E(() => n.menus, i, {
84
+ immediate: !0,
85
+ deep: !0
86
+ }), E(() => n.selectedKeys, (a) => {
87
+ n.menus.forEach((s, e) => {
88
+ var r;
89
+ const c = s.path || e.toString();
90
+ (r = s.children) != null && r.some((_) => a.includes(_.path)) && (o.value.includes(c) || o.value.push(c));
91
+ });
92
+ }, {
93
+ deep: !0
94
+ }), (a, s) => (u(), l("div", b, [(u(!0), l(g, null, B(n.menus, (e, c) => {
95
+ var r, _, K;
96
+ return u(), l("div", {
97
+ key: e.path || c,
98
+ class: "menu-group"
99
+ }, [e.children && e.children.length > 0 ? (u(), l(g, {
100
+ key: 0
101
+ }, [d("div", {
102
+ class: y(["menu-group__header", {
103
+ "menu-group__header--expanded": o.value.includes(e.path || c.toString())
104
+ }]),
105
+ onClick: (t) => w(e.path || c.toString())
106
+ }, [d("div", q, [(r = e == null ? void 0 : e.meta) != null && r.icon || e != null && e.icon ? (u(), h(m(C), {
107
+ key: 0,
108
+ class: "menu-group__icon",
109
+ icon: ((_ = e == null ? void 0 : e.meta) == null ? void 0 : _.icon) || (e == null ? void 0 : e.icon),
110
+ width: 16
111
+ }, null, 8, ["icon"])) : k("", !0), d("span", G, N(e.name), 1)]), M(m(C), {
112
+ class: y(["menu-group__arrow", {
113
+ "menu-group__arrow--expanded": o.value.includes(e.path || c.toString())
114
+ }]),
115
+ icon: "mingcute:down-line",
116
+ width: 14
117
+ }, null, 8, ["class"])], 10, j), M(D, {
118
+ name: "collapse"
119
+ }, {
120
+ default: z(() => [F(d("div", H, [(u(!0), l(g, null, B(e.children, (t) => {
121
+ var S;
122
+ return u(), h($, {
123
+ key: t.path,
124
+ hidden: t == null ? void 0 : t.hidden,
125
+ path: t.path,
126
+ icon: ((S = t == null ? void 0 : t.meta) == null ? void 0 : S.icon) || (t == null ? void 0 : t.icon),
127
+ name: t.name,
128
+ active: n.selectedKeys.includes(t.path),
129
+ onClick: (P) => x(t)
130
+ }, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]);
131
+ }), 128))], 512), [[L, o.value.includes(e.path || c.toString())]])]),
132
+ _: 2
133
+ }, 1024)], 64)) : (u(), h($, {
134
+ key: 1,
135
+ hidden: e == null ? void 0 : e.hidden,
136
+ path: e.path,
137
+ icon: ((K = e == null ? void 0 : e.meta) == null ? void 0 : K.icon) || (e == null ? void 0 : e.icon),
138
+ name: e.name,
139
+ active: n.selectedKeys.includes(e.path),
140
+ onClick: (t) => x(e)
141
+ }, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]))]);
142
+ }), 128))]));
143
+ }
144
+ }), W = /* @__PURE__ */ V(J, [["__scopeId", "data-v-733a2502"]]);
145
+ export {
146
+ W as M,
147
+ $ as a
148
+ };
@@ -1,10 +1,10 @@
1
- import { ref as p, defineComponent as x, createBlock as _, openBlock as s, unref as i, withCtx as f, createVNode as $, createCommentVNode as A, createElementBlock as b, normalizeClass as K, createElementVNode as L, renderSlot as D, toDisplayString as T, createTextVNode as w, Fragment as H, renderList as Z, createSlots as ne, mergeProps as F, watch as ie, computed as Q, mergeModels as W, useModel as oe, isRef as le } from "vue";
1
+ import { ref as p, defineComponent as x, createBlock as _, openBlock as s, unref as i, withCtx as f, createVNode as $, createCommentVNode as A, createElementBlock as b, normalizeClass as K, createElementVNode as L, renderSlot as B, toDisplayString as T, createTextVNode as w, Fragment as H, renderList as Z, createSlots as ne, mergeProps as F, watch as ie, computed as Q, mergeModels as W, useModel as oe, isRef as le } from "vue";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
- import { Spin as ee, Empty as te, Tag as B, Button as re, Breadcrumb as j, BreadcrumbItem as R, Modal as ue } from "@arco-design/web-vue";
7
+ import { Spin as ee, Empty as te, Tag as z, Button as re, Breadcrumb as j, BreadcrumbItem as R, Modal as ue } from "@arco-design/web-vue";
8
8
  import { c as U, g as O } from "./auth-bwwc2iT8.js";
9
9
  import { TiptapEditor as de, TiptapTitle as ce } from "@huyooo/vue-tiptap";
10
10
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -12,7 +12,7 @@ import { useIntersectionObserver as fe } from "@vueuse/core";
12
12
  import { m as X, a as pe, b as ge, c as ve } from "./MessageNotifications-CJtKlzc3.js";
13
13
  import { Icon as me } from "@iconify/vue";
14
14
  import { u as ye } from "./useAuthkitCreateAndUpdate-Co5wMbv7.js";
15
- import { M as _e } from "./Menu-BjWB9hre.js";
15
+ import { M as _e } from "./Menu-BbmibpaB.js";
16
16
  function he(e) {
17
17
  return U({
18
18
  url: `${O.prefixUrl}/restfulApi/messageCenter/changelogNotifications/find`,
@@ -76,7 +76,7 @@ function ae(e, l = {}) {
76
76
  function h() {
77
77
  r.value = !0, t.value = "";
78
78
  }
79
- function z(M) {
79
+ function D(M) {
80
80
  t.value = M.id, r.value = !1, V(M.id);
81
81
  }
82
82
  function V(M) {
@@ -100,7 +100,7 @@ function ae(e, l = {}) {
100
100
  loadMore: k,
101
101
  refresh: y,
102
102
  toList: h,
103
- openDetail: z,
103
+ openDetail: D,
104
104
  markAsRead: V,
105
105
  markAsUnread: E
106
106
  };
@@ -274,43 +274,43 @@ const ke = /* @__PURE__ */ x({
274
274
  class: K(["message-item__dot", {
275
275
  "message-item__dot--unread": !e.item.read
276
276
  }])
277
- }, null, 2)) : A("", !0), D(l.$slots, "prefix", {
277
+ }, null, 2)) : A("", !0), B(l.$slots, "prefix", {
278
278
  item: e.item
279
- }, void 0, !0), L("span", xe, T(e.item.title), 1), L("div", Le, [e.item.pinned ? (s(), _(i(B), {
279
+ }, void 0, !0), L("span", xe, T(e.item.title), 1), L("div", Le, [e.item.pinned ? (s(), _(i(z), {
280
280
  key: 0,
281
281
  color: "arcoblue",
282
282
  size: "small"
283
283
  }, {
284
284
  default: f(() => [...a[1] || (a[1] = [w("置顶", -1)])]),
285
285
  _: 1
286
- })) : A("", !0), D(l.$slots, "tags", {
286
+ })) : A("", !0), B(l.$slots, "tags", {
287
287
  item: e.item
288
- }, () => [e.item.priority === "urgent" ? (s(), _(i(B), {
288
+ }, () => [e.item.priority === "urgent" ? (s(), _(i(z), {
289
289
  key: 0,
290
290
  color: "red",
291
291
  size: "small"
292
292
  }, {
293
293
  default: f(() => [...a[2] || (a[2] = [w("紧急", -1)])]),
294
294
  _: 1
295
- })) : e.item.priority === "important" ? (s(), _(i(B), {
295
+ })) : e.item.priority === "important" ? (s(), _(i(z), {
296
296
  key: 1,
297
297
  color: "orange",
298
298
  size: "small"
299
299
  }, {
300
300
  default: f(() => [...a[3] || (a[3] = [w("重要", -1)])]),
301
301
  _: 1
302
- })) : e.item.priority === "high" ? (s(), _(i(B), {
302
+ })) : e.item.priority === "high" ? (s(), _(i(z), {
303
303
  key: 2,
304
304
  color: "orange",
305
305
  size: "small"
306
306
  }, {
307
307
  default: f(() => [...a[4] || (a[4] = [w("高", -1)])]),
308
308
  _: 1
309
- })) : A("", !0)], !0)])]), L("div", Te, [D(l.$slots, "description", {
309
+ })) : A("", !0)], !0)])]), L("div", Te, [B(l.$slots, "description", {
310
310
  item: e.item
311
- }, () => [w(T(e.item.description), 1)], !0)]), L("div", Ie, [L("span", ze, T(e.item.createAt), 1), D(l.$slots, "footer", {
311
+ }, () => [w(T(e.item.description), 1)], !0)]), L("div", Ie, [L("span", ze, T(e.item.createAt), 1), B(l.$slots, "footer", {
312
312
  item: e.item
313
- }, void 0, !0)])]), L("div", Be, [D(l.$slots, "actions", {
313
+ }, void 0, !0)])]), L("div", Be, [B(l.$slots, "actions", {
314
314
  item: e.item
315
315
  }, () => [e.showViewButton ? (s(), _(i(re), {
316
316
  key: 0,
@@ -365,31 +365,31 @@ const ke = /* @__PURE__ */ x({
365
365
  _: 2
366
366
  }, [t.$slots.prefix ? {
367
367
  name: "prefix",
368
- fn: f((u) => [D(t.$slots, "prefix", F({
368
+ fn: f((u) => [B(t.$slots, "prefix", F({
369
369
  ref_for: !0
370
370
  }, u), void 0, !0)]),
371
371
  key: "0"
372
372
  } : void 0, t.$slots.tags ? {
373
373
  name: "tags",
374
- fn: f((u) => [D(t.$slots, "tags", F({
374
+ fn: f((u) => [B(t.$slots, "tags", F({
375
375
  ref_for: !0
376
376
  }, u), void 0, !0)]),
377
377
  key: "1"
378
378
  } : void 0, t.$slots.description ? {
379
379
  name: "description",
380
- fn: f((u) => [D(t.$slots, "description", F({
380
+ fn: f((u) => [B(t.$slots, "description", F({
381
381
  ref_for: !0
382
382
  }, u), void 0, !0)]),
383
383
  key: "2"
384
384
  } : void 0, t.$slots.footer ? {
385
385
  name: "footer",
386
- fn: f((u) => [D(t.$slots, "footer", F({
386
+ fn: f((u) => [B(t.$slots, "footer", F({
387
387
  ref_for: !0
388
388
  }, u), void 0, !0)]),
389
389
  key: "3"
390
390
  } : void 0, t.$slots.actions ? {
391
391
  name: "actions",
392
- fn: f((u) => [D(t.$slots, "actions", F({
392
+ fn: f((u) => [B(t.$slots, "actions", F({
393
393
  ref_for: !0
394
394
  }, u), void 0, !0)]),
395
395
  key: "4"
@@ -467,7 +467,7 @@ const ke = /* @__PURE__ */ x({
467
467
  }) => [L("span", qe, T(h.version), 1)]),
468
468
  tags: f(({
469
469
  item: h
470
- }) => [$(i(B), {
470
+ }) => [$(i(z), {
471
471
  color: c(h.changeType),
472
472
  size: "small"
473
473
  }, {
@@ -590,7 +590,7 @@ const Je = /* @__PURE__ */ x({
590
590
  }, {
591
591
  tags: f(({
592
592
  item: h
593
- }) => [$(i(B), {
593
+ }) => [$(i(z), {
594
594
  color: c(h.displayStatus),
595
595
  size: "small"
596
596
  }, {
@@ -772,7 +772,7 @@ const Je = /* @__PURE__ */ x({
772
772
  }
773
773
  }
774
774
  }
775
- function z() {
775
+ function D() {
776
776
  c.value.current = 1, o.value = !1, y();
777
777
  }
778
778
  async function V() {
@@ -827,7 +827,7 @@ const Je = /* @__PURE__ */ x({
827
827
  "onUpdate:activeTab": v[0] || (v[0] = (g) => u.value = g),
828
828
  tabs: S,
829
829
  "message-list": n.value,
830
- onChange: z,
830
+ onChange: D,
831
831
  onReadAll: V
832
832
  }, null, 8, ["active-tab", "message-list"])) : A("", !0), l.value ? (s(), _(G, {
833
833
  key: 2,
@@ -841,14 +841,14 @@ const Je = /* @__PURE__ */ x({
841
841
  }, {
842
842
  tags: f(({
843
843
  item: g
844
- }) => [g.priority === "urgent" ? (s(), _(i(B), {
844
+ }) => [g.priority === "urgent" ? (s(), _(i(z), {
845
845
  key: 0,
846
846
  color: "red",
847
847
  size: "small"
848
848
  }, {
849
849
  default: f(() => [...v[3] || (v[3] = [w("紧急", -1)])]),
850
850
  _: 1
851
- })) : g.priority === "high" ? (s(), _(i(B), {
851
+ })) : g.priority === "high" ? (s(), _(i(z), {
852
852
  key: 1,
853
853
  color: "orange",
854
854
  size: "small"
@@ -979,7 +979,7 @@ const pt = {
979
979
  }
980
980
  }
981
981
  }
982
- function z() {
982
+ function D() {
983
983
  c.value.current = 1, o.value = !1, y();
984
984
  }
985
985
  async function V() {
@@ -1044,7 +1044,7 @@ const pt = {
1044
1044
  "onUpdate:activeTab": m[0] || (m[0] = (N) => u.value = N),
1045
1045
  tabs: S,
1046
1046
  "message-list": n.value,
1047
- onChange: z,
1047
+ onChange: D,
1048
1048
  onReadAll: V
1049
1049
  }, null, 8, ["active-tab", "message-list"])) : A("", !0), l.value ? (s(), _(G, {
1050
1050
  key: 2,
@@ -1058,21 +1058,21 @@ const pt = {
1058
1058
  }, {
1059
1059
  tags: f(({
1060
1060
  item: N
1061
- }) => [N.priority === "urgent" ? (s(), _(i(B), {
1061
+ }) => [N.priority === "urgent" ? (s(), _(i(z), {
1062
1062
  key: 0,
1063
1063
  color: "red",
1064
1064
  size: "small"
1065
1065
  }, {
1066
1066
  default: f(() => [...m[3] || (m[3] = [w("紧急", -1)])]),
1067
1067
  _: 1
1068
- })) : N.priority === "important" ? (s(), _(i(B), {
1068
+ })) : N.priority === "important" ? (s(), _(i(z), {
1069
1069
  key: 1,
1070
1070
  color: "orange",
1071
1071
  size: "small"
1072
1072
  }, {
1073
1073
  default: f(() => [...m[4] || (m[4] = [w("重要", -1)])]),
1074
1074
  _: 1
1075
- })) : A("", !0), $(i(B), {
1075
+ })) : A("", !0), $(i(z), {
1076
1076
  color: C(N.displayStatus),
1077
1077
  size: "small"
1078
1078
  }, {
@@ -1115,9 +1115,9 @@ const pt = {
1115
1115
  function n() {
1116
1116
  r("cancel");
1117
1117
  }
1118
- function u(y, h) {
1119
- const z = y.path;
1120
- t.value = [z], r("change", y, h);
1118
+ function u(y) {
1119
+ const h = y.path;
1120
+ t.value = [h], r("change", y);
1121
1121
  }
1122
1122
  const {
1123
1123
  changeType: c,
@@ -1130,7 +1130,7 @@ const pt = {
1130
1130
  setData: k
1131
1131
  }), (y, h) => (s(), _(i(ue), {
1132
1132
  visible: i(S),
1133
- "onUpdate:visible": h[1] || (h[1] = (z) => le(S) ? S.value = z : null),
1133
+ "onUpdate:visible": h[1] || (h[1] = (D) => le(S) ? S.value = D : null),
1134
1134
  loading: !1,
1135
1135
  "body-class": "AppMessagebodyClass",
1136
1136
  "mask-closable": !1,
@@ -1141,7 +1141,7 @@ const pt = {
1141
1141
  }, {
1142
1142
  default: f(() => [L("div", _t, [L("div", ht, [$(_e, {
1143
1143
  "selected-keys": t.value,
1144
- "onUpdate:selectedKeys": h[0] || (h[0] = (z) => t.value = z),
1144
+ "onUpdate:selectedKeys": h[0] || (h[0] = (D) => t.value = D),
1145
1145
  menus: d.menus,
1146
1146
  onChange: u
1147
1147
  }, null, 8, ["selected-keys", "menus"])]), i(S) ? (s(), b(H, {
@@ -1158,7 +1158,7 @@ const pt = {
1158
1158
  _: 1
1159
1159
  }, 8, ["visible"]));
1160
1160
  }
1161
- }), kt = /* @__PURE__ */ I(bt, [["__scopeId", "data-v-8f921467"]]), Ct = /* @__PURE__ */ x({
1161
+ }), kt = /* @__PURE__ */ I(bt, [["__scopeId", "data-v-24962020"]]), Ct = /* @__PURE__ */ x({
1162
1162
  __name: "MessageHandle",
1163
1163
  setup(e, {
1164
1164
  expose: l
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as m, ref as p, createElementBlock as l, createCommentVNode as v, openBlock as t, normalizeClass as K, createBlock as d, createElementVNode as _, unref as S, toDisplayString as A, Fragment as h, renderList as N } from "vue";
2
2
  import { Icon as D } from "@iconify/vue";
3
3
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- import { D as $, n as x } from "./MessageHandle-CdBq2aDG.js";
4
+ import { D as $, n as x } from "./MessageHandle-BqSF5Jch.js";
5
5
  const F = /* @__PURE__ */ m({
6
6
  __name: "MessageMenuItem",
7
7
  props: {
@@ -1,15 +1,15 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
- import { c as De, A as Ve } from "./AuthkitAuthModal-Bfcu3xeg.js";
4
+ import { c as De, A as Ve } from "./AuthkitAuthModal-Bw33YdCV.js";
5
5
  import { defineComponent as C, createElementBlock as g, openBlock as s, normalizeStyle as ie, normalizeClass as se, createElementVNode as p, computed as P, createBlock as d, createCommentVNode as m, createVNode as c, unref as o, withCtx as l, createTextVNode as y, toDisplayString as S, mergeModels as D, useModel as re, renderSlot as ae, ref as f, Fragment as Re } from "vue";
6
6
  import { Tag as ze, Button as le, Avatar as ue, Dropdown as Ne, Divider as ce, Doption as h } from "@arco-design/web-vue";
7
7
  import { S as Le } from "./PaySubscriptions-C9LA8ZeX.js";
8
8
  import { R as je } from "./ReferrerReferees-CnYkGC5r.js";
9
9
  import { a as N, u as He } from "./useAuthkitUsersProfile-hZ9L3rYe.js";
10
10
  import { u as Fe, g as oe } from "./auth-bwwc2iT8.js";
11
- import { d as qe } from "./FeedbackModal-scDtV6-8.js";
12
- import { M as Ee } from "./MessageHandle-CdBq2aDG.js";
11
+ import { d as qe } from "./FeedbackModal-Fqr-csbR.js";
12
+ import { M as Ee } from "./MessageHandle-BqSF5Jch.js";
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -10,12 +10,12 @@ import "./useUploadCos-EWMNJjRf.js";
10
10
  import { useRouter as j, useRoute as J } from "vue-router";
11
11
  /* empty css */
12
12
  /* empty css */
13
- import { d as re, c as Q } from "./UserAccountMenu-B8HuXICE.js";
13
+ import { d as re, c as Q } from "./UserAccountMenu-DXWF1zNh.js";
14
14
  /* empty css */
15
15
  /* empty css */
16
16
  /* empty css */
17
- import "./AuthkitAuthModal-Bfcu3xeg.js";
18
- import { M as ce } from "./Menu-BjWB9hre.js";
17
+ import "./AuthkitAuthModal-Bw33YdCV.js";
18
+ import { M as ce } from "./Menu-BbmibpaB.js";
19
19
  import "./CollapseItem-Cw1vcdLu.js";
20
20
  /* empty css */
21
21
  import "./CustomTable-BCOwLyRJ.js";
package/dist/authkit.js CHANGED
@@ -1,5 +1,5 @@
1
- import { A as i, a as u, c as s, b as h, n as A, E as e, k, l as o, _ as r, O as n, _ as d, O as p, f as m, o as P, P as f, j as l, R as S, S as g, i as O, m as c, d as w, e as U, g as I, h as b, p as x, u as C } from "./AuthkitAuthModal-Bfcu3xeg.js";
2
- import { A as y, a as B, c as R, d as V, b as v, b as L, f as M, e as _ } from "./AuthkitSignInPhone-CZGGn8Ax.js";
1
+ import { A as i, a as u, c as s, b as h, n as A, E as e, k, l as o, _ as r, O as n, _ as d, O as p, f as m, o as P, P as f, j as l, R as S, S as g, i as O, m as c, d as w, e as U, g as I, h as b, p as x, u as C } from "./AuthkitAuthModal-Bw33YdCV.js";
2
+ import { A as y, a as B, c as R, d as V, b as v, b as L, f as M, e as _ } from "./AuthkitSignInPhone-CTBx9Mnm.js";
3
3
  import { u as z } from "./useAuthkitAppsAuthPageInfo-CzZmhPMm.js";
4
4
  import { u as T, a as q } from "./useAuthkitUsersProfile-hZ9L3rYe.js";
5
5
  import { u as F } from "./auth-bwwc2iT8.js";
package/dist/common.js CHANGED
@@ -1,7 +1,7 @@
1
- import { A as s, a as o, C as t, D as r, G as p, H as n, b as l, L as u, S as C, W as d } from "./WidthContainer-BMroU2bt.js";
1
+ import { A as s, a as o, C as t, D as r, G as p, H as n, b as l, L as u, S as C, W as d } from "./WidthContainer-BZLnyK2P.js";
2
2
  import { C as i, a as f } from "./CollapseItem-Cw1vcdLu.js";
3
3
  import { C as x, E as H } from "./CustomTable-BCOwLyRJ.js";
4
- import { M, a as g } from "./Menu-BjWB9hre.js";
4
+ import { M, a as g } from "./Menu-BbmibpaB.js";
5
5
  export {
6
6
  s as AppLayout,
7
7
  o as AppSidebar,
@@ -1,34 +1,27 @@
1
- import { PropType } from 'vue';
2
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
- menus: {
4
- type: PropType<any[]>;
5
- required: true;
6
- default: () => never[];
1
+ interface MenuItemType {
2
+ path: string;
3
+ name: string;
4
+ icon?: string;
5
+ hidden?: boolean;
6
+ meta?: {
7
+ icon?: string;
7
8
  };
8
- selectedKeys: {
9
- type: PropType<any[]>;
10
- required: true;
11
- default: () => never[];
12
- };
13
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
- change: (...args: any[]) => void;
15
- "update:selectedKeys": (...args: any[]) => void;
16
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
- menus: {
18
- type: PropType<any[]>;
19
- required: true;
20
- default: () => never[];
21
- };
22
- selectedKeys: {
23
- type: PropType<any[]>;
24
- required: true;
25
- default: () => never[];
26
- };
27
- }>> & Readonly<{
28
- onChange?: ((...args: any[]) => any) | undefined;
29
- "onUpdate:selectedKeys"?: ((...args: any[]) => any) | undefined;
9
+ children?: MenuItemType[];
10
+ }
11
+ interface Props {
12
+ menus: MenuItemType[];
13
+ selectedKeys: string[];
14
+ defaultExpandAll?: boolean;
15
+ }
16
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ change: (item: MenuItemType) => any;
18
+ "update:selectedKeys": (keys: string[]) => any;
19
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
20
+ onChange?: ((item: MenuItemType) => any) | undefined;
21
+ "onUpdate:selectedKeys"?: ((keys: string[]) => any) | undefined;
30
22
  }>, {
31
- menus: any[];
32
- selectedKeys: any[];
33
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
23
+ menus: MenuItemType[];
24
+ selectedKeys: string[];
25
+ defaultExpandAll: boolean;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
34
27
  export default _default;
@@ -1,58 +1,18 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- hidden: {
3
- type: BooleanConstructor;
4
- required: true;
5
- default: () => boolean;
6
- };
7
- path: {
8
- type: StringConstructor;
9
- required: true;
10
- default: () => string;
11
- };
12
- icon: {
13
- type: StringConstructor;
14
- required: true;
15
- default: () => string;
16
- };
17
- name: {
18
- type: StringConstructor;
19
- required: true;
20
- default: () => string;
21
- };
22
- active: {
23
- type: BooleanConstructor;
24
- required: true;
25
- default: () => boolean;
26
- };
27
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
- hidden: {
29
- type: BooleanConstructor;
30
- required: true;
31
- default: () => boolean;
32
- };
33
- path: {
34
- type: StringConstructor;
35
- required: true;
36
- default: () => string;
37
- };
38
- icon: {
39
- type: StringConstructor;
40
- required: true;
41
- default: () => string;
42
- };
43
- name: {
44
- type: StringConstructor;
45
- required: true;
46
- default: () => string;
47
- };
48
- active: {
49
- type: BooleanConstructor;
50
- required: true;
51
- default: () => boolean;
52
- };
53
- }>> & Readonly<{}>, {
1
+ interface Props {
2
+ hidden?: boolean;
3
+ path?: string;
4
+ icon?: string;
54
5
  name: string;
6
+ active?: boolean;
7
+ }
8
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ click: () => any;
10
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
11
+ onClick?: (() => any) | undefined;
12
+ }>, {
55
13
  icon: string;
56
14
  path: string;
57
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ hidden: boolean;
16
+ active: boolean;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
58
18
  export default _default;
package/dist/feedback.js CHANGED
@@ -1,6 +1,6 @@
1
- import { B as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-scDtV6-8.js";
1
+ import { B as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-Fqr-csbR.js";
2
2
  import { C as r } from "./Clipboard-BAn3vQlX.js";
3
- import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-8-jd3QUl.js";
3
+ import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-NfzYzsjj.js";
4
4
  export {
5
5
  r as Clipboard,
6
6
  b as FeedbackBubbleEnd,