@huyooo/ui 0.9.3 → 0.9.6

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 { u as $e } from "./useUploadCos-D51-yXoX.js";
10
10
  import { _ as Ce, g as xe, i as qe } from "./plugin-vue_export-helper-LjDO2Zua.js";
11
11
  import { _ as $ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  import { a as Z, u as J } from "./useAuthkitUsersProfile-DkDg2EYG.js";
13
- import { M as Te } from "./Menu-DBM4qGP_.js";
13
+ import { M as Te } from "./Menu-DXrn5cEL.js";
14
14
  import { u as Re } from "./useAuthkitCreateAndUpdate-C7NaHnDj.js";
15
15
  import { u as se } from "./useAuthkitAppsAuthPageInfo-DZ53lPr0.js";
16
16
  import { Icon as Le } from "@iconify/vue";
@@ -10,7 +10,7 @@ import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  import { List as J, ListItem as T, ListItemMeta as L, Avatar as F, Button as P, Form as U, FormItem as b, Input as S, Link as M } from "@arco-design/web-vue";
11
11
  import { c as R } from "./apiClients-B0ARoiN3.js";
12
12
  import { u as Q, a as W } from "./useAuthkitUsersProfile-DkDg2EYG.js";
13
- import { S as B, g as X, h as Y } from "./AuthkitAuthModal-DTp9ezGF.js";
13
+ import { S as B, g as X, h as Y } from "./AuthkitAuthModal-wz9H0AGU.js";
14
14
  const Z = {
15
15
  class: "header"
16
16
  }, ee = ["href"], te = {
@@ -10,7 +10,7 @@ import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  /* empty css */
11
11
  import { u as Z } from "./useUploadCos-D51-yXoX.js";
12
12
  import { g as A } from "./apiClients-B0ARoiN3.js";
13
- import "./FeedbackModal-CVQQ2O8N.js";
13
+ import "./FeedbackModal-CtVeqfvG.js";
14
14
  import { Icon as Y } from "@iconify/vue";
15
15
  const H = f({
16
16
  name: "IconDown",
@@ -3,7 +3,7 @@
3
3
  /* empty css */
4
4
  import { defineComponent as U, createElementBlock as _, openBlock as o, normalizeStyle as W, normalizeClass as ce, createElementVNode as F, computed as A, createBlock as g, unref as a, withCtx as r, createVNode as u, createCommentVNode as B, Fragment as z, createTextVNode as x, toDisplayString as L, ref as y, onUnmounted as Ie, h as ae, renderList as Q, nextTick as P } from "vue";
5
5
  import { Space as pe, Image as fe, Avatar as me, Descriptions as Re, DescriptionsItem as H, Tag as j, Spin as $e, Button as X, Form as Fe, FormItem as T, Input as Be, Select as le, Option as ne, Textarea as Le, Message as Ue, Breadcrumb as Ve, BreadcrumbItem as se, Modal as ze } from "@arco-design/web-vue";
6
- import { M as qe } from "./Menu-DBM4qGP_.js";
6
+ import { M as qe } from "./Menu-DXrn5cEL.js";
7
7
  /* empty css */
8
8
  /* empty css */
9
9
  /* empty css */
@@ -1,9 +1,9 @@
1
- import { defineComponent as $, createElementBlock as d, createCommentVNode as m, openBlock as u, normalizeClass as k, createBlock as h, createElementVNode as i, unref as y, toDisplayString as A, ref as D, watch as B, Fragment as g, renderList as M, createVNode as E, Transition as W, withCtx as z, withDirectives as F, vShow as G } from "vue";
1
+ import { defineComponent as $, createElementBlock as i, createCommentVNode as m, openBlock as u, normalizeClass as k, createBlock as h, createElementVNode as d, unref as y, toDisplayString as A, ref as D, watch as B, Fragment as g, renderList as M, createVNode as E, Transition as z, withCtx as F, withDirectives as G, vShow as L } from "vue";
2
2
  import { Icon as C } from "@iconify/vue";
3
3
  import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- const L = {
4
+ const O = {
5
5
  class: "menu-item__name"
6
- }, O = /* @__PURE__ */ $({
6
+ }, T = /* @__PURE__ */ $({
7
7
  __name: "MenuItem",
8
8
  props: {
9
9
  hidden: {
@@ -27,7 +27,7 @@ const L = {
27
27
  emit: v
28
28
  }) {
29
29
  const t = f, p = v;
30
- return (s, l) => t.hidden ? m("", !0) : (u(), d("div", {
30
+ return (s, l) => t.hidden ? m("", !0) : (u(), i("div", {
31
31
  key: 0,
32
32
  class: k(["menu-item", {
33
33
  "menu-item--active": t.active
@@ -38,17 +38,17 @@ const L = {
38
38
  class: "menu-item__icon",
39
39
  icon: t.icon,
40
40
  width: 16
41
- }, null, 8, ["icon"])) : m("", !0), i("span", L, A(t.name), 1)], 2));
41
+ }, null, 8, ["icon"])) : m("", !0), d("span", O, A(t.name), 1)], 2));
42
42
  }
43
- }), I = /* @__PURE__ */ N(O, [["__scopeId", "data-v-6d3265a2"]]), T = {
43
+ }), I = /* @__PURE__ */ N(T, [["__scopeId", "data-v-6d3265a2"]]), j = {
44
44
  class: "menu"
45
- }, j = ["onClick"], q = {
45
+ }, q = ["onClick"], H = {
46
46
  class: "menu-group__header-content"
47
- }, H = {
48
- class: "menu-group__title"
49
47
  }, J = {
48
+ class: "menu-group__title"
49
+ }, Q = {
50
50
  class: "menu-group__children"
51
- }, P = /* @__PURE__ */ $({
51
+ }, R = /* @__PURE__ */ $({
52
52
  __name: "Menu",
53
53
  props: {
54
54
  menus: {
@@ -94,9 +94,12 @@ const L = {
94
94
  function x(n) {
95
95
  p("change", n), p("update:selectedKeys", [n.path]);
96
96
  }
97
- function b(n) {
97
+ function W(n) {
98
98
  return l(n, t.selectedKeys);
99
99
  }
100
+ function b(n) {
101
+ return t.selectedKeys.includes(n) ? !0 : t.selectedKeys.some((a) => a.startsWith(n + "/"));
102
+ }
100
103
  return B(() => t.menus, w, {
101
104
  immediate: !0,
102
105
  deep: !0
@@ -110,33 +113,33 @@ const L = {
110
113
  }
111
114
  }, {
112
115
  deep: !0
113
- }), (n, a) => (u(), d("div", T, [(u(!0), d(g, null, M(t.menus, (e, c) => {
116
+ }), (n, a) => (u(), i("div", j, [(u(!0), i(g, null, M(t.menus, (e, c) => {
114
117
  var r, _, K;
115
- return u(), d("div", {
118
+ return u(), i("div", {
116
119
  key: e.path || c,
117
120
  class: "menu-group"
118
- }, [e.children && e.children.length > 0 ? (u(), d(g, {
121
+ }, [e.children && e.children.length > 0 ? (u(), i(g, {
119
122
  key: 0
120
- }, [i("div", {
123
+ }, [d("div", {
121
124
  class: k(["menu-group__header", {
122
- "menu-group__header--active": b(e)
125
+ "menu-group__header--active": W(e)
123
126
  }]),
124
127
  onClick: (o) => V(e.path || c.toString())
125
- }, [i("div", q, [(r = e == null ? void 0 : e.meta) != null && r.icon || e != null && e.icon ? (u(), h(y(C), {
128
+ }, [d("div", H, [(r = e == null ? void 0 : e.meta) != null && r.icon || e != null && e.icon ? (u(), h(y(C), {
126
129
  key: 0,
127
130
  class: "menu-group__icon",
128
131
  icon: ((_ = e == null ? void 0 : e.meta) == null ? void 0 : _.icon) || (e == null ? void 0 : e.icon),
129
132
  width: 16
130
- }, null, 8, ["icon"])) : m("", !0), i("span", H, A(e.name), 1)]), E(y(C), {
133
+ }, null, 8, ["icon"])) : m("", !0), d("span", J, A(e.name), 1)]), E(y(C), {
131
134
  class: k(["menu-group__arrow", {
132
135
  "menu-group__arrow--expanded": s.value.includes(e.path || c.toString())
133
136
  }]),
134
137
  icon: "mingcute:down-line",
135
138
  width: 14
136
- }, null, 8, ["class"])], 10, j), E(W, {
139
+ }, null, 8, ["class"])], 10, q), E(z, {
137
140
  name: "collapse"
138
141
  }, {
139
- default: z(() => [F(i("div", J, [(u(!0), d(g, null, M(e.children, (o) => {
142
+ default: F(() => [G(d("div", Q, [(u(!0), i(g, null, M(e.children, (o) => {
140
143
  var S;
141
144
  return u(), h(I, {
142
145
  key: o.path,
@@ -144,10 +147,10 @@ const L = {
144
147
  path: o.path,
145
148
  icon: ((S = o == null ? void 0 : o.meta) == null ? void 0 : S.icon) || (o == null ? void 0 : o.icon),
146
149
  name: o.name,
147
- active: t.selectedKeys.includes(o.path),
148
- onClick: (Q) => x(o)
150
+ active: b(o.path),
151
+ onClick: (U) => x(o)
149
152
  }, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]);
150
- }), 128))], 512), [[G, s.value.includes(e.path || c.toString())]])]),
153
+ }), 128))], 512), [[L, s.value.includes(e.path || c.toString())]])]),
151
154
  _: 2
152
155
  }, 1024)], 64)) : (u(), h(I, {
153
156
  key: 1,
@@ -160,8 +163,8 @@ const L = {
160
163
  }, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]))]);
161
164
  }), 128))]));
162
165
  }
163
- }), Y = /* @__PURE__ */ N(P, [["__scopeId", "data-v-5219228d"]]);
166
+ }), P = /* @__PURE__ */ N(R, [["__scopeId", "data-v-75467a0c"]]);
164
167
  export {
165
- Y as M,
168
+ P as M,
166
169
  I as a
167
170
  };
@@ -11,7 +11,7 @@ import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  import { useIntersectionObserver as ue } from "@vueuse/core";
12
12
  import { Icon as de } from "@iconify/vue";
13
13
  import { u as ce } from "./useAuthkitCreateAndUpdate-C7NaHnDj.js";
14
- import { M as fe } from "./Menu-DBM4qGP_.js";
14
+ import { M as fe } from "./Menu-DXrn5cEL.js";
15
15
  function Z(s, l = {}) {
16
16
  const {
17
17
  pageSize: t = 10,
@@ -2,7 +2,7 @@ import { defineComponent as v, ref as p, createElementBlock as l, createCommentV
2
2
  import { Icon as D } from "@iconify/vue";
3
3
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import { o as $ } from "./apiClients-B0ARoiN3.js";
5
- import { D as x } from "./MessageHandle-DpBexctb.js";
5
+ import { D as x } from "./MessageHandle-Die4NpFm.js";
6
6
  const E = /* @__PURE__ */ v({
7
7
  __name: "MessageMenuItem",
8
8
  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-DTp9ezGF.js";
4
+ import { c as De, A as Ve } from "./AuthkitAuthModal-wz9H0AGU.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-BnV62kZT.js";
8
8
  import { R as je } from "./ReferrerReferees-B2rVAc7y.js";
9
9
  import { a as N, u as He } from "./useAuthkitUsersProfile-DkDg2EYG.js";
10
10
  import { u as Fe, g as oe } from "./apiClients-B0ARoiN3.js";
11
- import { d as qe } from "./FeedbackModal-CVQQ2O8N.js";
12
- import { M as Ee } from "./MessageHandle-DpBexctb.js";
11
+ import { d as qe } from "./FeedbackModal-CtVeqfvG.js";
12
+ import { M as Ee } from "./MessageHandle-Die4NpFm.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-D51-yXoX.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-CAG_zxWb.js";
13
+ import { d as re, c as Q } from "./UserAccountMenu-CvlZ21_I.js";
14
14
  /* empty css */
15
15
  /* empty css */
16
16
  /* empty css */
17
- import "./AuthkitAuthModal-DTp9ezGF.js";
18
- import { M as ce } from "./Menu-DBM4qGP_.js";
17
+ import "./AuthkitAuthModal-wz9H0AGU.js";
18
+ import { M as ce } from "./Menu-DXrn5cEL.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-DTp9ezGF.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-BtF8EKsU.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-wz9H0AGU.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-VT-xub02.js";
3
3
  import { u as z } from "./useAuthkitAppsAuthPageInfo-DZ53lPr0.js";
4
4
  import { u as T, a as q } from "./useAuthkitUsersProfile-DkDg2EYG.js";
5
5
  import { u as F } from "./apiClients-B0ARoiN3.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-_vCYXka6.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-CejElzeI.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-DBM4qGP_.js";
4
+ import { M, a as g } from "./Menu-DXrn5cEL.js";
5
5
  export {
6
6
  s as AppLayout,
7
7
  o as AppSidebar,
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-CVQQ2O8N.js";
1
+ import { B as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-CtVeqfvG.js";
2
2
  import { C as r } from "./Clipboard-0N-MKzqm.js";
3
- import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-Btw2or6g.js";
3
+ import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-B98yfgxg.js";
4
4
  export {
5
5
  r as Clipboard,
6
6
  b as FeedbackBubbleEnd,
package/dist/index.js CHANGED
@@ -9,23 +9,23 @@ import { u as b3 } from "./useTableHandle-DkqiT-qL.js";
9
9
  import { n as p2, h as I, U as f2, i as t2, V as h2, j as q, H as K, k as u2, v as _2 } from "./useSEO-DxAohN0h.js";
10
10
  import { b as D3, f as P3, g as T3, u as O3, a as B3, c as I3, e as $3, d as N3, w as W3 } from "./useSEO-DxAohN0h.js";
11
11
  import { u as z3 } from "./useUploadCos-D51-yXoX.js";
12
- import { A as q3, a as K3, c as J3, b as Q3, n as X3, E as Y3, k as e4, l as t4, _ as o4, O as s4, _ as a4, O as i4, f as n4, o as r4, P as c4, j as l4, R as C4, S as d4, i as p4, m as f4, d as h4, e as u4, g as _4, h as g4, p as m4, u as L4 } from "./AuthkitAuthModal-DTp9ezGF.js";
13
- import { A as w4, a as F4, c as M4, d as k4, b as v4, b as x4, f as H4, e as Z4 } from "./AuthkitSignInPhone-BtF8EKsU.js";
14
- import { I as E4, A as U4, C as A4, _ as S4, a as b4, D as G4, E as D4, b as P4, M as T4, c as O4, N as B4, d as I4, e as $4 } from "./MessageHandle-DpBexctb.js";
15
- import { M as W4, a as R4, _ as z4 } from "./MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-DsBT6Bms.js";
16
- import { B as q4, a as K4, F as J4, b as Q4, c as X4, d as Y4, R as e6 } from "./FeedbackModal-CVQQ2O8N.js";
12
+ import { A as q3, a as K3, c as J3, b as Q3, n as X3, E as Y3, k as e4, l as t4, _ as o4, O as s4, _ as a4, O as i4, f as n4, o as r4, P as c4, j as l4, R as C4, S as d4, i as p4, m as f4, d as h4, e as u4, g as _4, h as g4, p as m4, u as L4 } from "./AuthkitAuthModal-wz9H0AGU.js";
13
+ import { A as w4, a as F4, c as M4, d as k4, b as v4, b as x4, f as H4, e as Z4 } from "./AuthkitSignInPhone-VT-xub02.js";
14
+ import { I as E4, A as U4, C as A4, _ as S4, a as b4, D as G4, E as D4, b as P4, M as T4, c as O4, N as B4, d as I4, e as $4 } from "./MessageHandle-Die4NpFm.js";
15
+ import { M as W4, a as R4, _ as z4 } from "./MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-DJomzb45.js";
16
+ import { B as q4, a as K4, F as J4, b as Q4, c as X4, d as Y4, R as e6 } from "./FeedbackModal-CtVeqfvG.js";
17
17
  import { C as o6 } from "./Clipboard-0N-MKzqm.js";
18
- import { F as a6, a as i6, c as n6, b as r6, d as c6 } from "./FeedbackItem-Btw2or6g.js";
18
+ import { F as a6, a as i6, c as n6, b as r6, d as c6 } from "./FeedbackItem-B98yfgxg.js";
19
19
  import { L as C6, a as d6, b as p6, c as f6, B as h6, C as u6, d as _6, e as g6, x as m6, y as L6, f as y6, g as w6, z as F6, h as M6, i as k6, j as v6, k as x6, l as H6, m as Z6, n as V6, D as E6, o as U6, p as A6, q as S6, r as b6, s as G6, T as D6, t as P6, A as T6, u as O6, v as B6, w as I6 } from "./LandingPageSectionTabs-DYNXKElT.js";
20
20
  import { L as N6, a as W6, b as R6, c as z6, D as j6, d as q6, e as K6, f as J6, g as Q6, h as X6, i as Y6, j as e7, k as t7, l as o7, m as s7, n as a7 } from "./LandingPageSectionHeader-BU7Qtxaj.js";
21
- import { A as n7, a as r7, C as c7, D as l7, G as C7, H as d7, b as p7, L as f7, S as h7, W as u7 } from "./WidthContainer-_vCYXka6.js";
21
+ import { A as n7, a as r7, C as c7, D as l7, G as C7, H as d7, b as p7, L as f7, S as h7, W as u7 } from "./WidthContainer-CejElzeI.js";
22
22
  import { C as g7, a as m7 } from "./CollapseItem-Cw1vcdLu.js";
23
23
  import { C as y7, E as w7 } from "./CustomTable-BCOwLyRJ.js";
24
- import { M as M7, a as k7 } from "./Menu-DBM4qGP_.js";
24
+ import { M as M7, a as k7 } from "./Menu-DXrn5cEL.js";
25
25
  import { S as x7 } from "./PaySubscriptions-BnV62kZT.js";
26
26
  import { R as Z7 } from "./ReferrerReferees-B2rVAc7y.js";
27
27
  import { _ as E7 } from "./Upload.vue_vue_type_script_setup_true_lang-CzOKd9iz.js";
28
- import { d as A7, U as S7, a as b7, b as G7, c as D7, S as P7 } from "./UserAccountMenu-CAG_zxWb.js";
28
+ import { d as A7, U as S7, a as b7, b as G7, c as D7, S as P7 } from "./UserAccountMenu-CvlZ21_I.js";
29
29
  import { defineComponent as V, computed as U, createElementBlock as L, openBlock as g, normalizeStyle as g2, normalizeClass as o2, createElementVNode as d, createCommentVNode as x, toDisplayString as k, createVNode as Z, unref as H, createTextVNode as s2, withModifiers as a2, renderSlot as m2, withCtx as W, Fragment as T, renderList as O, createBlock as G, onMounted as i2, ref as $, watch as L2, onUnmounted as y2, withDirectives as w2, createStaticVNode as F2, vShow as M2 } from "vue";
30
30
  import { Icon as A } from "@iconify/vue";
31
31
  import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
package/dist/message.js CHANGED
@@ -1,5 +1,5 @@
1
- import { I as e, A as i, C as t, _ as o, a as g, D as M, E as n, b as f, M as c, c as N, N as l, d as r, e as m } from "./MessageHandle-DpBexctb.js";
2
- import { M as u, a as D, _ as C } from "./MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-DsBT6Bms.js";
1
+ import { I as e, A as i, C as t, _ as o, a as g, D as M, E as n, b as f, M as c, c as N, N as l, d as r, e as m } from "./MessageHandle-Die4NpFm.js";
2
+ import { M as u, a as D, _ as C } from "./MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-DJomzb45.js";
3
3
  import { u as d } from "./useMessageNotifications-BhTNNEib.js";
4
4
  export {
5
5
  e as InfiniteLoading,