@huyooo/ui 0.5.3 → 0.5.4

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.
Files changed (33) hide show
  1. package/dist/{AuthkitAuthModal-cEi5Hm14.js → AuthkitAuthModal-MWWzynTx.js} +133 -156
  2. package/dist/{AuthkitAuthorize-DksJZktr.js → AuthkitAuthorize-D3vma2FV.js} +9 -12
  3. package/dist/{Clipboard-CGm0G1dN.js → Clipboard-Bful1lNJ.js} +1 -1
  4. package/dist/CustomTable-B8i1SbFB.js +202 -0
  5. package/dist/{FeedbackItem-Day3rfSw.js → FeedbackItem-C1TqPuuy.js} +3 -3
  6. package/dist/{FeedbackModal-CsRXm-MY.js → FeedbackModal-CdBaCw5j.js} +20 -24
  7. package/dist/{LandingPageSectionTabs-DPTZIwiJ.js → LandingPageSectionTabs-uO4kXpj7.js} +407 -420
  8. package/dist/{MessageHandle-DqH_478k.js → MessageHandle-JzX9UY1a.js} +19 -28
  9. package/dist/{PaySubscriptions-Dp8y1fdJ.js → PaySubscriptions-Bak0mpKh.js} +10 -10
  10. package/dist/{ReferrerReferees-xIXZglpy.js → ReferrerReferees-Cuw4uhVu.js} +2 -2
  11. package/dist/{Upload.vue_vue_type_script_setup_true_lang-CxGZSDoo.js → Upload.vue_vue_type_script_setup_true_lang-DQPtXtJ0.js} +2 -2
  12. package/dist/{UserPanel-C1NGdsFk.js → UserPanel-BBB9cA2b.js} +17 -19
  13. package/dist/{WidthContainer-C30YFs9X.js → WidthContainer-Co60dOmv.js} +4 -4
  14. package/dist/authkit.js +2 -2
  15. package/dist/common.js +2 -2
  16. package/dist/components/PrivateCom/useSEO.d.ts +71 -0
  17. package/dist/composables.js +2 -2
  18. package/dist/feedback.js +3 -3
  19. package/dist/index-Bb-d5pBq.js +1167 -0
  20. package/dist/index.js +226 -226
  21. package/dist/landingPage.js +1 -1
  22. package/dist/message.js +1 -1
  23. package/dist/pay.js +1 -1
  24. package/dist/referrer.js +1 -1
  25. package/dist/style.css +1 -1
  26. package/dist/upload.js +2 -2
  27. package/dist/{useRoutePermission-Uxu5S3m1.js → useRoutePermission-DWJ-2G10.js} +2 -2
  28. package/dist/{useUploadCos-DNKp_9xt.js → useUploadCos-BdIk3m1E.js} +1 -1
  29. package/dist/user.js +1 -1
  30. package/package.json +2 -1
  31. package/dist/CustomTable-kfI18phy.js +0 -1359
  32. package/dist/utils/landingPage.d.ts +0 -1
  33. /package/dist/{index-DaMA6jEr.js → _commonjsHelpers-DaMA6jEr.js} +0 -0
@@ -4,7 +4,7 @@ import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
- import "./index-DaMA6jEr.js";
7
+ /* empty css */
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  import "./index-DZIhLe1R.js";
@@ -199,12 +199,11 @@ const U = {
199
199
  avatar: i(() => [r(o(c), {
200
200
  shape: "square"
201
201
  }, {
202
- default: i(() => u[0] || (u[0] = [a("img", {
202
+ default: i(() => [...u[0] || (u[0] = [a("img", {
203
203
  alt: "avatar",
204
204
  src: "https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/3ee5f13fb09879ecb5185e440cef6eb9.png~tplv-uwbnlip3yd-webp.webp"
205
- }, null, -1)])),
206
- _: 1,
207
- __: [0]
205
+ }, null, -1)])]),
206
+ _: 1
208
207
  })]),
209
208
  _: 1
210
209
  })]),
@@ -217,12 +216,11 @@ const U = {
217
216
  avatar: i(() => [r(o(c), {
218
217
  shape: "square"
219
218
  }, {
220
- default: i(() => u[1] || (u[1] = [a("img", {
219
+ default: i(() => [...u[1] || (u[1] = [a("img", {
221
220
  alt: "avatar",
222
221
  src: "https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/3ee5f13fb09879ecb5185e440cef6eb9.png~tplv-uwbnlip3yd-webp.webp"
223
- }, null, -1)])),
224
- _: 1,
225
- __: [1]
222
+ }, null, -1)])]),
223
+ _: 1
226
224
  })]),
227
225
  _: 1
228
226
  })]),
@@ -235,9 +233,8 @@ const U = {
235
233
  loading: e.value,
236
234
  onClick: q
237
235
  }, {
238
- default: i(() => u[2] || (u[2] = [I(" 授权 ")])),
239
- _: 1,
240
- __: [2]
236
+ default: i(() => [...u[2] || (u[2] = [I(" 授权 ", -1)])]),
237
+ _: 1
241
238
  }, 8, ["size", "loading"]), a("div", D, [u[3] || (u[3] = a("div", {
242
239
  style: {
243
240
  color: "#888",
@@ -3,7 +3,7 @@
3
3
  import { defineComponent as V, ref as X, createBlock as J, openBlock as K, unref as Q } from "vue";
4
4
  import { Message as W } from "@arco-design/web-vue";
5
5
  import { Icon as Z } from "@iconify/vue";
6
- import { c as tt, g as et } from "./index-DaMA6jEr.js";
6
+ import { c as tt, g as et } from "./_commonjsHelpers-DaMA6jEr.js";
7
7
  import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  var N = { exports: {} };
9
9
  /*!
@@ -0,0 +1,202 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
+ /* empty css */
6
+ /* empty css */
7
+ import { defineComponent as q, ref as S, computed as N, onMounted as A, nextTick as W, watch as H, onBeforeUnmount as U, createElementBlock as i, openBlock as n, normalizeStyle as w, normalizeClass as C, renderSlot as M, createVNode as x, unref as l, withCtx as z, createElementVNode as c, createCommentVNode as b, Fragment as g, renderList as k, toDisplayString as E, createBlock as $, createTextVNode as D, useSlots as F } from "vue";
8
+ import { Spin as K, Tooltip as O, Empty as R, Pagination as G } from "@arco-design/web-vue";
9
+ import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ import { g as L, a as B } from "./index-Bb-d5pBq.js";
11
+ const Q = /* @__PURE__ */ q({
12
+ __name: "Ellipsis",
13
+ props: {
14
+ open: {
15
+ type: Boolean,
16
+ required: !1,
17
+ default: () => !0
18
+ }
19
+ },
20
+ setup(v) {
21
+ const f = v, t = S(null), r = S(0), h = N(() => {
22
+ var y, _;
23
+ if (!f.open || r.value === 0)
24
+ return {};
25
+ const s = (_ = (y = t.value) == null ? void 0 : y.parentElement) == null ? void 0 : _.style.width;
26
+ return s && s !== "auto" ? {
27
+ width: s
28
+ } : {
29
+ width: `${r.value}px`
30
+ };
31
+ });
32
+ function m() {
33
+ t.value && f.open && W(() => {
34
+ t.value && (r.value = t.value.clientWidth);
35
+ });
36
+ }
37
+ function u() {
38
+ m();
39
+ }
40
+ return A(() => {
41
+ f.open && W(() => {
42
+ m(), window.addEventListener("resize", u);
43
+ });
44
+ }), H(() => f.open, (s) => {
45
+ s ? (m(), window.addEventListener("resize", u)) : window.removeEventListener("resize", u);
46
+ }), U(() => {
47
+ window.removeEventListener("resize", u);
48
+ }), (s, y) => (n(), i("div", {
49
+ ref_key: "ellipsisContainer",
50
+ ref: t,
51
+ class: C({
52
+ ellipsis: v.open
53
+ }),
54
+ style: w(v.open ? h.value : {})
55
+ }, [M(s.$slots, "default", {}, void 0, !0)], 6));
56
+ }
57
+ }), X = /* @__PURE__ */ P(Q, [["__scopeId", "data-v-4874d041"]]), Y = {
58
+ class: "CubeTableCom"
59
+ }, Z = {
60
+ class: "tableContain"
61
+ }, I = {
62
+ class: "table-header"
63
+ }, ee = {
64
+ class: "table-body"
65
+ }, te = ["onMouseenter", "onMouseleave"], ne = {
66
+ style: {
67
+ width: "100%",
68
+ overflow: "hidden"
69
+ }
70
+ }, oe = {
71
+ key: 0,
72
+ class: "contain"
73
+ }, ie = {
74
+ class: "pagination"
75
+ }, ae = /* @__PURE__ */ q({
76
+ __name: "CustomTable",
77
+ props: {
78
+ loading: {
79
+ type: Boolean,
80
+ required: !1,
81
+ default: () => !1
82
+ },
83
+ bordered: {
84
+ type: Boolean,
85
+ required: !1,
86
+ default: () => !0
87
+ },
88
+ data: {
89
+ type: Array,
90
+ required: !0
91
+ },
92
+ pagination: {
93
+ type: Object,
94
+ required: !1,
95
+ default: () => null
96
+ },
97
+ columns: {
98
+ type: Array,
99
+ required: !0
100
+ }
101
+ },
102
+ emits: ["mouseenter", "mouseleave", "pageChange", "pageSizeChange"],
103
+ setup(v, {
104
+ emit: f
105
+ }) {
106
+ const t = v, r = f, h = S(-1), m = N(() => t.columns.map((e) => e.width ? `${e.width}px` : e.minWidth ? `minmax(${e.minWidth}px, 1fr)` : "1fr").join(" "));
107
+ function u(e) {
108
+ const p = {};
109
+ return e.maxWidth && (p.maxWidth = `${e.maxWidth}px`), p;
110
+ }
111
+ function s(e) {
112
+ console.log(e, "currentPage"), r("pageChange", e);
113
+ }
114
+ function y(e) {
115
+ console.log(e, "pageSize"), r("pageSizeChange", e);
116
+ }
117
+ function _(e) {
118
+ const p = F();
119
+ return e ? !!p[e] : !1;
120
+ }
121
+ function J(e) {
122
+ h.value = e, r("mouseenter", e);
123
+ }
124
+ function j(e) {
125
+ h.value = -1, r("mouseleave", e);
126
+ }
127
+ return (e, p) => (n(), i("div", Y, [x(l(K), {
128
+ loading: t.loading,
129
+ tip: "数据加载中"
130
+ }, {
131
+ default: z(() => {
132
+ var T;
133
+ return [c("div", Z, [c("div", {
134
+ class: "flex-table",
135
+ style: w({
136
+ "grid-template-columns": m.value
137
+ })
138
+ }, [c("div", I, [(n(!0), i(g, null, k(t.columns, (a, d) => (n(), i("div", {
139
+ key: d,
140
+ class: C(["header-cell", {
141
+ fixed: a.fixed,
142
+ fixedBackground: a.fixed,
143
+ lastBorder: d === t.columns.length - 1
144
+ }]),
145
+ style: w(u(a))
146
+ }, E(a.title), 7))), 128))]), c("div", ee, [(n(!0), i(g, null, k(t.data, (a, d) => (n(), i("div", {
147
+ key: d,
148
+ class: C(["table-row", {
149
+ trListHover: d === h.value
150
+ }]),
151
+ onMouseenter: (o) => J(d),
152
+ onMouseleave: (o) => j(d)
153
+ }, [(n(!0), i(g, null, k(t.columns, (o, V) => (n(), i("div", {
154
+ key: V,
155
+ class: C(["body-cell", {
156
+ fixed: o.fixed,
157
+ trListHover: d === h.value,
158
+ lastBorder: V === t.columns.length - 1
159
+ }]),
160
+ style: w(u(o))
161
+ }, [c("div", ne, [x(X, {
162
+ open: o.ellipsis
163
+ }, {
164
+ default: z(() => [_(o.slotName) ? M(e.$slots, o.slotName, {
165
+ key: 0,
166
+ record: a
167
+ }, void 0, !0) : (n(), i(g, {
168
+ key: 1
169
+ }, [o.dataIndex ? (n(), i(g, {
170
+ key: 0
171
+ }, [o.tooltip ? (n(), $(l(O), {
172
+ key: 0,
173
+ content: l(L)(l(B)(a, o.dataIndex)),
174
+ position: "bottom"
175
+ }, {
176
+ default: z(() => [c("span", null, E(l(B)(a, o.dataIndex)), 1)]),
177
+ _: 2
178
+ }, 1032, ["content"])) : (n(), i(g, {
179
+ key: 1
180
+ }, [D(E(l(L)(l(B)(a, o.dataIndex))), 1)], 64))], 64)) : b("", !0)], 64))]),
181
+ _: 2
182
+ }, 1032, ["open"])])], 6))), 128))], 42, te))), 128))])], 4), t.data.length === 0 ? (n(), i("div", oe, [x(l(R))])) : b("", !0)]), c("div", ie, [t.pagination ? (n(), $(l(G), {
183
+ key: 0,
184
+ modelValue: t.pagination.current,
185
+ "onUpdate:modelValue": p[0] || (p[0] = (a) => t.pagination.current = a),
186
+ total: ((T = t.pagination) == null ? void 0 : T.total) || 0,
187
+ pageSize: t.pagination.pageSize,
188
+ showTotal: t.pagination.showTotal,
189
+ showJumper: t.pagination.showJumper,
190
+ showPageSize: t.pagination.showPageSize,
191
+ onChange: s,
192
+ onPageSizeChange: y
193
+ }, null, 8, ["modelValue", "total", "pageSize", "showTotal", "showJumper", "showPageSize"])) : b("", !0)])];
194
+ }),
195
+ _: 3
196
+ }, 8, ["loading"])]));
197
+ }
198
+ }), ve = /* @__PURE__ */ P(ae, [["__scopeId", "data-v-0eab51b1"]]);
199
+ export {
200
+ ve as C,
201
+ X as E
202
+ };
@@ -1,5 +1,5 @@
1
1
  /* empty css */
2
- import "./index-DaMA6jEr.js";
2
+ /* empty css */
3
3
  import { defineComponent as f, createElementBlock as d, openBlock as c, normalizeStyle as w, normalizeClass as _, createElementVNode as l, computed as m, withDirectives as j, createVNode as b, unref as y, vShow as N, ref as q, createBlock as V, withCtx as B, toDisplayString as h, renderSlot as M, Fragment as R, renderList as U, onMounted as D, onBeforeUnmount as E, createCommentVNode as W } from "vue";
4
4
  import { Popover as O, Upload as T } from "@arco-design/web-vue";
5
5
  import { _ as I, g as F, i as L } from "./plugin-vue_export-helper-LjDO2Zua.js";
@@ -7,8 +7,8 @@ import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  import { g as Z } from "./index-DZIhLe1R.js";
8
8
  /* empty css */
9
9
  /* empty css */
10
- import { u as A } from "./useUploadCos-DNKp_9xt.js";
11
- import "./FeedbackModal-CsRXm-MY.js";
10
+ import { u as A } from "./useUploadCos-BdIk3m1E.js";
11
+ import "./FeedbackModal-CdBaCw5j.js";
12
12
  import { Icon as Y } from "@iconify/vue";
13
13
  const H = f({
14
14
  name: "IconDown",
@@ -7,16 +7,17 @@ import { M as De } from "./Menu-BKBnsDJ8.js";
7
7
  /* empty css */
8
8
  /* empty css */
9
9
  /* empty css */
10
- import "./index-DaMA6jEr.js";
10
+ /* empty css */
11
11
  import { api as N } from "@huyooo/api";
12
12
  /* empty css */
13
13
  /* empty css */
14
- import { r as Ne, a as Ae, u as Oe } from "./useUploadCos-DNKp_9xt.js";
14
+ import { r as Ne, a as Ae, u as Oe } from "./useUploadCos-BdIk3m1E.js";
15
15
  import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
16
  /* empty css */
17
- import { f as j, C as Ve } from "./CustomTable-kfI18phy.js";
17
+ import { f as j } from "./index-Bb-d5pBq.js";
18
+ import { C as Ve } from "./CustomTable-B8i1SbFB.js";
18
19
  import { Bubble as fe, Prompts as Pe, Sender as Ee } from "ant-design-x-vue";
19
- import { C as pe } from "./Clipboard-CGm0G1dN.js";
20
+ import { C as pe } from "./Clipboard-Bful1lNJ.js";
20
21
  import { Icon as je } from "@iconify/vue";
21
22
  import { _ as me, g as ve, i as ye } from "./plugin-vue_export-helper-LjDO2Zua.js";
22
23
  const Me = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), te = {
@@ -598,9 +599,9 @@ const J = [{
598
599
  }, [u(l(Se), {
599
600
  title: "基本信息"
600
601
  }, {
601
- title: n(() => x[1] || (x[1] = [I("div", {
602
+ title: n(() => [...x[1] || (x[1] = [I("div", {
602
603
  class: "title"
603
- }, "基本信息", -1)])),
604
+ }, "基本信息", -1)])]),
604
605
  default: n(() => [u(l(K), {
605
606
  label: "标题:",
606
607
  span: 3
@@ -802,9 +803,8 @@ const J = [{
802
803
  type: "primary",
803
804
  onClick: s
804
805
  }, {
805
- default: n(() => i[3] || (i[3] = [$(" 提交 ")])),
806
- _: 1,
807
- __: [3]
806
+ default: n(() => [...i[3] || (i[3] = [$(" 提交 ", -1)])]),
807
+ _: 1
808
808
  }, 8, ["loading"])]),
809
809
  _: 1
810
810
  }, 8, ["model"])]));
@@ -904,17 +904,15 @@ const J = [{
904
904
  },
905
905
  onClick: h
906
906
  }, {
907
- default: n(() => w[0] || (w[0] = [$("我的反馈")])),
908
- _: 1,
909
- __: [0]
907
+ default: n(() => [...w[0] || (w[0] = [$("我的反馈", -1)])]),
908
+ _: 1
910
909
  }), u(l(ee), {
911
910
  style: {
912
911
  padding: "0px"
913
912
  }
914
913
  }, {
915
- default: n(() => w[1] || (w[1] = [$("反馈详情")])),
916
- _: 1,
917
- __: [1]
914
+ default: n(() => [...w[1] || (w[1] = [$("反馈详情", -1)])]),
915
+ _: 1
918
916
  })]),
919
917
  _: 1
920
918
  })), t.value ? (r(), S("div", gt, [u(Ve, {
@@ -953,10 +951,9 @@ const J = [{
953
951
  type: "text",
954
952
  onClick: (b) => i(k)
955
953
  }, {
956
- default: n(() => w[2] || (w[2] = [$("查看")])),
957
- _: 2,
958
- __: [2]
959
- }, 1032, ["onClick"])]),
954
+ default: n(() => [...w[2] || (w[2] = [$("查看", -1)])]),
955
+ _: 1
956
+ }, 8, ["onClick"])]),
960
957
  _: 1
961
958
  }, 8, ["data", "loading", "pagination"])])) : (r(), y(ft, {
962
959
  key: 2,
@@ -1041,14 +1038,13 @@ const J = [{
1041
1038
  title: `${h.value}详情`,
1042
1039
  onCancel: U
1043
1040
  }, {
1044
- default: n(() => k[2] || (k[2] = [I("div", null, " You can customize modal body text by the current situation. This modal will be closed immediately once you press the OK button. ", -1)])),
1045
- _: 1,
1046
- __: [2]
1041
+ default: n(() => [...k[2] || (k[2] = [I("div", null, " You can customize modal body text by the current situation. This modal will be closed immediately once you press the OK button. ", -1)])]),
1042
+ _: 1
1047
1043
  }, 8, ["visible", "title"])], 64)) : L("", !0)]),
1048
1044
  _: 1
1049
1045
  }, 8, ["visible"]));
1050
1046
  }
1051
- }), Ht = /* @__PURE__ */ V(xt, [["__scopeId", "data-v-4df9453a"]]);
1047
+ }), Yt = /* @__PURE__ */ V(xt, [["__scopeId", "data-v-4df9453a"]]);
1052
1048
  export {
1053
1049
  ft as F,
1054
1050
  Qe as R,
@@ -1056,5 +1052,5 @@ export {
1056
1052
  ne as a,
1057
1053
  vt as b,
1058
1054
  bt as c,
1059
- Ht as d
1055
+ Yt as d
1060
1056
  };