@huyooo/ui 1.0.1 → 1.0.2

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.
@@ -5,8 +5,8 @@ import "./index-D3Kp6R4z.js";
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  /* empty css */
8
- import { defineComponent as O, ref as V, computed as k, onMounted as Z, nextTick as q, watch as I, onBeforeUnmount as ee, openBlock as o, createElementBlock as d, normalizeStyle as x, normalizeClass as C, renderSlot as R, useModel as A, createVNode as z, unref as c, withCtx as S, createElementVNode as g, createBlock as K, createCommentVNode as m, Fragment as w, renderList as W, toDisplayString as E, createTextVNode as te, mergeModels as L, useSlots as ne } from "vue";
9
- import { Spin as ie, Checkbox as P, Tooltip as le, Empty as ae, Pagination as oe } from "@arco-design/web-vue";
8
+ import { defineComponent as O, ref as q, computed as b, onMounted as Z, nextTick as A, watch as I, onBeforeUnmount as ee, openBlock as o, createElementBlock as d, normalizeStyle as x, normalizeClass as C, renderSlot as R, useModel as L, createVNode as z, unref as c, withCtx as S, createElementVNode as g, createBlock as K, createCommentVNode as m, Fragment as w, renderList as W, toDisplayString as E, createTextVNode as te, mergeModels as P, useSlots as ne } from "vue";
9
+ import { Spin as ie, Checkbox as V, Tooltip as le, Empty as ae, Pagination as oe } from "@arco-design/web-vue";
10
10
  import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  import { g as N, a as B } from "./index-D56hUMeD.js";
12
12
  const se = /* @__PURE__ */ O({
@@ -19,11 +19,11 @@ const se = /* @__PURE__ */ O({
19
19
  }
20
20
  },
21
21
  setup(v) {
22
- const y = v, t = V(null), h = V(0), u = k(() => {
23
- var _, b;
22
+ const y = v, t = q(null), h = q(0), u = b(() => {
23
+ var _, k;
24
24
  if (!y.open || h.value === 0)
25
25
  return {};
26
- const r = (b = (_ = t.value) == null ? void 0 : _.parentElement) == null ? void 0 : b.style.width;
26
+ const r = (k = (_ = t.value) == null ? void 0 : _.parentElement) == null ? void 0 : k.style.width;
27
27
  return r && r !== "auto" ? {
28
28
  width: r
29
29
  } : {
@@ -31,7 +31,7 @@ const se = /* @__PURE__ */ O({
31
31
  };
32
32
  });
33
33
  function f() {
34
- t.value && y.open && q(() => {
34
+ t.value && y.open && A(() => {
35
35
  t.value && (h.value = t.value.clientWidth);
36
36
  });
37
37
  }
@@ -39,7 +39,7 @@ const se = /* @__PURE__ */ O({
39
39
  f();
40
40
  }
41
41
  return Z(() => {
42
- y.open && q(() => {
42
+ y.open && A(() => {
43
43
  f(), window.addEventListener("resize", p);
44
44
  });
45
45
  }), I(() => y.open, (r) => {
@@ -73,7 +73,7 @@ const se = /* @__PURE__ */ O({
73
73
  class: "pagination"
74
74
  }, ye = /* @__PURE__ */ O({
75
75
  __name: "CustomTable",
76
- props: /* @__PURE__ */ L({
76
+ props: /* @__PURE__ */ P({
77
77
  loading: {
78
78
  type: Boolean,
79
79
  required: !1,
@@ -119,11 +119,11 @@ const se = /* @__PURE__ */ O({
119
119
  },
120
120
  activeKeyModifiers: {}
121
121
  }),
122
- emits: /* @__PURE__ */ L(["mouseenter", "mouseleave", "pageChange", "pageSizeChange"], ["update:selectedKeys", "update:activeKey"]),
122
+ emits: /* @__PURE__ */ P(["mouseenter", "mouseleave", "pageChange", "pageSizeChange"], ["update:selectedKeys", "update:activeKey"]),
123
123
  setup(v, {
124
124
  emit: y
125
125
  }) {
126
- const t = v, h = y, u = A(v, "selectedKeys"), f = A(v, "activeKey");
126
+ const t = v, h = y, u = L(v, "selectedKeys"), f = L(v, "activeKey");
127
127
  function p(e, i) {
128
128
  return e[t.rowKey] ?? String(i);
129
129
  }
@@ -131,7 +131,7 @@ const se = /* @__PURE__ */ O({
131
131
  const s = p(e, i);
132
132
  return u.value.includes(s);
133
133
  }
134
- const _ = k(() => t.data.length === 0 ? !1 : t.data.every((e, i) => r(e, i))), b = k(() => {
134
+ const _ = b(() => t.data.length === 0 ? !1 : t.data.every((e, i) => r(e, i))), k = b(() => {
135
135
  if (t.data.length === 0) return !1;
136
136
  const e = t.data.filter((i, s) => r(i, s)).length;
137
137
  return e > 0 && e < t.data.length;
@@ -149,10 +149,10 @@ const se = /* @__PURE__ */ O({
149
149
  u.value = u.value.filter((n) => !s.has(n));
150
150
  }
151
151
  }
152
- const U = k(() => {
152
+ const D = b(() => {
153
153
  const e = t.columns.map((i) => i.width ? `${i.width}px` : i.minWidth ? `minmax(${i.minWidth}px, 1fr)` : "minmax(120px, 1fr)");
154
154
  return t.rowSelection && e.unshift("48px"), e.join(" ");
155
- }), D = k(() => `${t.columns.reduce((i, s) => {
155
+ }), F = b(() => `${t.columns.reduce((i, s) => {
156
156
  const n = Number(s.width || s.minWidth || 120);
157
157
  return i + n;
158
158
  }, t.rowSelection ? 48 : 0)}px`);
@@ -160,7 +160,7 @@ const se = /* @__PURE__ */ O({
160
160
  const i = {};
161
161
  return e.maxWidth && (i.maxWidth = `${e.maxWidth}px`), i;
162
162
  }
163
- function F(e) {
163
+ function U(e) {
164
164
  h("pageChange", e);
165
165
  }
166
166
  function G(e) {
@@ -188,13 +188,13 @@ const se = /* @__PURE__ */ O({
188
188
  return [g("div", ue, [g("div", {
189
189
  class: "flex-table",
190
190
  style: x({
191
- "grid-template-columns": U.value,
192
- "min-width": D.value
191
+ "grid-template-columns": D.value,
192
+ "min-width": F.value
193
193
  })
194
- }, [g("div", ce, [t.rowSelection ? (o(), d("div", pe, [t.rowSelection.showCheckedAll !== !1 ? (o(), K(c(P), {
194
+ }, [g("div", ce, [t.rowSelection ? (o(), d("div", pe, [t.rowSelection.showCheckedAll !== !1 ? (o(), K(c(V), {
195
195
  key: 0,
196
196
  "model-value": _.value,
197
- indeterminate: b.value,
197
+ indeterminate: k.value,
198
198
  onChange: J
199
199
  }, null, 8, ["model-value", "indeterminate"])) : m("", !0)])) : m("", !0), (o(!0), d(w, null, W(t.columns, (n, l) => (o(), d("div", {
200
200
  key: l,
@@ -218,7 +218,7 @@ const se = /* @__PURE__ */ O({
218
218
  trListHover: l === f.value,
219
219
  "row-selected": r(n, l)
220
220
  }])
221
- }, [z(c(P), {
221
+ }, [z(c(V), {
222
222
  "model-value": r(n, l),
223
223
  onChange: (a) => H(n, l, a)
224
224
  }, null, 8, ["model-value", "onChange"])], 2)) : m("", !0), (o(!0), d(w, null, W(t.columns, (a, $) => (o(), d("div", {
@@ -258,22 +258,21 @@ const se = /* @__PURE__ */ O({
258
258
  _: 2
259
259
  }, 1032, ["open"])], 2)], 6))), 128))], 42, he))), 128))])], 4), t.data.length === 0 ? (o(), d("div", ve, [z(c(ae))])) : m("", !0)]), g("div", ge, [t.pagination ? (o(), K(c(oe), {
260
260
  key: 0,
261
- modelValue: t.pagination.current,
262
- "onUpdate:modelValue": i[0] || (i[0] = (n) => t.pagination.current = n),
261
+ current: t.pagination.current,
263
262
  total: ((s = t.pagination) == null ? void 0 : s.total) || 0,
264
263
  pageSize: t.pagination.pageSize,
265
264
  showTotal: t.pagination.showTotal ?? !0,
266
265
  showJumper: t.pagination.showJumper ?? !1,
267
266
  showPageSize: t.pagination.showPageSize ?? !0,
268
267
  pageSizeOptions: t.pagination.pageSizeOptions ?? [10, 20, 50, 100],
269
- onChange: F,
268
+ onChange: U,
270
269
  onPageSizeChange: G
271
- }, null, 8, ["modelValue", "total", "pageSize", "showTotal", "showJumper", "showPageSize", "pageSizeOptions"])) : m("", !0)])];
270
+ }, null, 8, ["current", "total", "pageSize", "showTotal", "showJumper", "showPageSize", "pageSizeOptions"])) : m("", !0)])];
272
271
  }),
273
272
  _: 3
274
273
  }, 8, ["loading"])]));
275
274
  }
276
- }), Ee = /* @__PURE__ */ j(ye, [["__scopeId", "data-v-fd072185"]]);
275
+ }), Ee = /* @__PURE__ */ j(ye, [["__scopeId", "data-v-3bbfd66b"]]);
277
276
  export {
278
277
  Ee as C,
279
278
  re as E
@@ -11,7 +11,7 @@ import { ref as g, computed as A, onUnmounted as Ae, defineComponent as It, open
11
11
  import { Message as S, Modal as We, Button as k, Popconfirm as ae, Tabs as Nt, TabPane as ne, Spin as me, Empty as Te, Progress as Ot, Tag as Q, Tooltip as Wt } from "@arco-design/web-vue";
12
12
  import { u as Tt, b as zt, a as At } from "./useBillingStatusOptions-B7xLU3fs.js";
13
13
  import { u as Et } from "./useAuthkitCreateAndUpdate-oo9517Gj.js";
14
- import { C as fe } from "./CustomTable-BT-cnhLR.js";
14
+ import { C as fe } from "./CustomTable-CCOQxfxr.js";
15
15
  import { C as Lt } from "./Clipboard-Bo7gdpR6.js";
16
16
  import { _ as Rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  function ze() {
@@ -5,7 +5,7 @@ import "./apiClients-DrGX2iJy.js";
5
5
  import { defineComponent as z, computed as k, onMounted as te, onUnmounted as Pe, openBlock as t, createElementBlock as s, createElementVNode as i, unref as e, createBlock as H, toDisplayString as r, createVNode as v, withCtx as b, createTextVNode as L, resolveDirective as me, withDirectives as fe, normalizeClass as B, Fragment as I, renderList as w, createCommentVNode as p } from "vue";
6
6
  import { Spin as ne, Button as R, Message as Z } from "@arco-design/web-vue";
7
7
  import { useRoute as pe, useRouter as ve } from "vue-router";
8
- import { b as ye } from "./PaySubscriptions-BFq89DCI.js";
8
+ import { b as ye } from "./PaySubscriptions-C3KiTsQS.js";
9
9
  import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  import { L as he, a as ke } from "./LandingPageFAQ-CZJXvor9.js";
11
11
  import { L as be } from "./LandingPageSectionHeader-D_74W4My.js";
@@ -5,7 +5,7 @@ import { defineComponent as w, ref as p, openBlock as d, createBlock as v, unref
5
5
  import { Modal as D } from "@arco-design/web-vue";
6
6
  import { e as T } from "./apiClients-DrGX2iJy.js";
7
7
  import { u as V } from "./useTableHandle-BdujaiNX.js";
8
- import { C as y } from "./CustomTable-BT-cnhLR.js";
8
+ import { C as y } from "./CustomTable-CCOQxfxr.js";
9
9
  import { C as E } from "./Clipboard-Bo7gdpR6.js";
10
10
  import { u as M } from "./useAuthkitUsersProfile-BZDk21c8.js";
11
11
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -9,13 +9,13 @@ import { u as y } from "./useUserMenu-ClPBlvaM.js";
9
9
  import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  /* empty css */
11
11
  import { u as W } from "./apiClients-DrGX2iJy.js";
12
- import { u as Z, o as ee, P as ne } from "./PaySubscriptions-BFq89DCI.js";
12
+ import { u as Z, o as ee, P as ne } from "./PaySubscriptions-C3KiTsQS.js";
13
13
  import { d as te } from "./useBillingStatusOptions-B7xLU3fs.js";
14
14
  import { C as se } from "./Clipboard-Bo7gdpR6.js";
15
15
  import { A as ae } from "./AuthkitAppSetting-C-0uuLSg.js";
16
16
  import { c as oe } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-M1NQ-rx-.js";
17
17
  import { M as ie } from "./MessageHandle-BG12aX0i.js";
18
- import { R as re } from "./ReferrerReferees-jWOIvXrk.js";
18
+ import { R as re } from "./ReferrerReferees-Zb5Bd-_e.js";
19
19
  import { Icon as F } from "@iconify/vue";
20
20
  const le = {
21
21
  class: "UserAvatar"
@@ -12,7 +12,7 @@ import { useRouter as ee, useRoute as te } from "vue-router";
12
12
  import "@unhead/vue";
13
13
  import "./useUserMenu-ClPBlvaM.js";
14
14
  import "./useBillingStatusOptions-B7xLU3fs.js";
15
- import { U as ve, c as ne, h as oe, k as se, _ as ae, f as re, j as ie, d as ue, g as K, i as le } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-Cpgoh88W.js";
15
+ import { U as ve, c as ne, h as oe, k as se, _ as ae, f as re, j as ie, d as ue, g as K, i as le } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-QWUNRjGh.js";
16
16
  /* empty css */
17
17
  import { Icon as R } from "@iconify/vue";
18
18
  import "./Clipboard-Bo7gdpR6.js";
@@ -24,7 +24,7 @@ import "./CollapseItem-DUzZA6tx.js";
24
24
  /* empty css */
25
25
  /* empty css */
26
26
  /* empty css */
27
- import "./CustomTable-BT-cnhLR.js";
27
+ import "./CustomTable-CCOQxfxr.js";
28
28
  import "./index-D56hUMeD.js";
29
29
  import { L as ce } from "./Logo-D7fyXyB-.js";
30
30
  import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
package/dist/common.js CHANGED
@@ -1,6 +1,6 @@
1
- import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-Dcmo8r_g.js";
1
+ import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-BVBk0kJN.js";
2
2
  import { C as d, a as f } from "./CollapseItem-DUzZA6tx.js";
3
- import { C as x, E as b } from "./CustomTable-BT-cnhLR.js";
3
+ import { C as x, E as b } from "./CustomTable-CCOQxfxr.js";
4
4
  import { L } from "./Logo-D7fyXyB-.js";
5
5
  import { M as g, a as A } from "./Menu-Cy2ZPeaz.js";
6
6
  export {
package/dist/main.js CHANGED
@@ -29,15 +29,15 @@ import { L as K6, a as Q6 } from "./LandingPageFAQ-CZJXvor9.js";
29
29
  import { L as J6, a as X6, b as e7, c as t7, D as o7, d as a7, e as s7, f as i7, g as n7, h as r7, i as c7, j as C7, k as l7 } from "./LandingPageLinkGroup-DDNRivMt.js";
30
30
  import { D as p7, L as f7 } from "./LandingPageSectionHeader-D_74W4My.js";
31
31
  import { L as h7, L as _7 } from "./Logo-D7fyXyB-.js";
32
- import { A as L7, a as m7, C as F7, D as w7, G as y7, H as M7, b as x7, S as v7, W as Z7 } from "./WidthContainer-Dcmo8r_g.js";
32
+ import { A as L7, a as m7, C as F7, D as w7, G as y7, H as M7, b as x7, S as v7, W as Z7 } from "./WidthContainer-BVBk0kJN.js";
33
33
  import { C as U7, a as H7 } from "./CollapseItem-DUzZA6tx.js";
34
- import { C as k7, E as S7 } from "./CustomTable-BT-cnhLR.js";
34
+ import { C as k7, E as S7 } from "./CustomTable-CCOQxfxr.js";
35
35
  import { M as G7, a as b7 } from "./Menu-Cy2ZPeaz.js";
36
- import { P as P7, u as B7, a as O7, b as T7, v as I7 } from "./PaySubscriptions-BFq89DCI.js";
37
- import { P as N7, a as R7, b as j7, c as z7, p as W7, r as q7 } from "./PricingPlans-TZT6j_Jq.js";
38
- import { R as Q7 } from "./ReferrerReferees-jWOIvXrk.js";
36
+ import { P as P7, u as B7, a as O7, b as T7, v as I7 } from "./PaySubscriptions-C3KiTsQS.js";
37
+ import { P as N7, a as R7, b as j7, c as z7, p as W7, r as q7 } from "./PricingPlans-uwlFiiJx.js";
38
+ import { R as Q7 } from "./ReferrerReferees-Zb5Bd-_e.js";
39
39
  import { _ as J7 } from "./Upload.vue_vue_type_script_setup_true_lang-B6NOZjK0.js";
40
- import { U as e5, a as t5, b as o5, c as a5, d as s5, _ as i5, e as n5, f as r5, g as c5, h as C5, i as l5, j as d5, k as p5, l as f5, m as u5 } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-Cpgoh88W.js";
40
+ import { U as e5, a as t5, b as o5, c as a5, d as s5, _ as i5, e as n5, f as r5, g as c5, h as C5, i as l5, j as d5, k as p5, l as f5, m as u5 } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-QWUNRjGh.js";
41
41
  import { defineComponent as x, computed as Z, openBlock as s, createElementBlock as n, normalizeStyle as X, normalizeClass as j, createElementVNode as t, toDisplayString as f, createCommentVNode as L, createVNode as F, unref as m, createTextVNode as z, withModifiers as W, renderSlot as e2, withCtx as P, Fragment as S, renderList as A, createBlock as H, onMounted as q, ref as D, watch as t2, onUnmounted as o2, withDirectives as a2, createStaticVNode as s2, vShow as i2 } from "vue";
42
42
  import { Icon as V } from "@iconify/vue";
43
43
  import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
package/dist/pay.js CHANGED
@@ -1,5 +1,5 @@
1
- import { P as e, u as t, a as n, b as u, v as r } from "./PaySubscriptions-BFq89DCI.js";
2
- import { P, a as o, b as S, c as p, p as A, r as m } from "./PricingPlans-TZT6j_Jq.js";
1
+ import { P as e, u as t, a as n, b as u, v as r } from "./PaySubscriptions-C3KiTsQS.js";
2
+ import { P, a as o, b as S, c as p, p as A, r as m } from "./PricingPlans-uwlFiiJx.js";
3
3
  import { u as c, a as l } from "./useSubscriptionCheckout-BRk5h9aC.js";
4
4
  import { I as g, P as y, R as _, c as b, u as f, a as B, b as C } from "./useBillingStatusOptions-B7xLU3fs.js";
5
5
  export {
package/dist/referrer.js CHANGED
@@ -1,4 +1,4 @@
1
- import { R as f } from "./ReferrerReferees-jWOIvXrk.js";
1
+ import { R as f } from "./ReferrerReferees-Zb5Bd-_e.js";
2
2
  export {
3
3
  f as ReferrerReferees
4
4
  };