@huyooo/ui 0.5.21 → 0.5.22

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.
@@ -3,14 +3,14 @@
3
3
  /* empty css */
4
4
  import { defineComponent as z, computed as T, createElementBlock as P, openBlock as g, normalizeStyle as D, normalizeClass as ce, createElementVNode as w, ref as h, createBlock as _, unref as e, withCtx as m, createVNode as a, createTextVNode as S, onMounted as G, onUnmounted as te, withDirectives as fe, toDisplayString as B, vShow as pe, Fragment as W, createCommentVNode as k, isRef as ie, useSlots as ve, renderSlot as se } from "vue";
5
5
  import { Form as O, FormItem as I, Avatar as ne, Input as V, Textarea as ge, Button as U, Message as E, Alert as L, Modal as le, Divider as ye, Link as F } from "@arco-design/web-vue";
6
+ import { _ as he, g as _e, i as we } from "./plugin-vue_export-helper-LjDO2Zua.js";
6
7
  /* empty css */
7
8
  /* empty css */
8
- /* empty css */
9
- import { u as he } from "./useUploadCos-D5k1YLb7.js";
10
- import { b as _e, c as ee, d as we, a as K, e as be, f as Se, u as Z } from "./useAuthkitUsersProfile-zbKT0W_h.js";
9
+ import { u as be } from "./useUploadCos-D5k1YLb7.js";
10
+ import { b as Se, c as ee, d as ke, a as K, e as ze, f as Ie, u as Z } from "./useAuthkitUsersProfile-zbKT0W_h.js";
11
11
  import { g as N } from "./globalConfig-C1YOJcxa.js";
12
- import { _ as ke, g as ze, i as Ie } from "./plugin-vue_export-helper-LjDO2Zua.js";
13
12
  import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ /* empty css */
14
14
  import { M as Ae } from "./Menu-ejsosUdV.js";
15
15
  import { u as Pe } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
16
16
  import { u as Ve } from "./useAuthkitAuthModal-BpOmabWi.js";
@@ -47,11 +47,11 @@ const $e = z({
47
47
  setup(i, {
48
48
  emit: s
49
49
  }) {
50
- const u = ze("icon"), n = T(() => [u, `${u}-camera`, {
50
+ const u = _e("icon"), n = T(() => [u, `${u}-camera`, {
51
51
  [`${u}-spin`]: i.spin
52
52
  }]), o = T(() => {
53
53
  const t = {};
54
- return i.size && (t.fontSize = Ie(i.size) ? `${i.size}px` : i.size), i.rotate && (t.transform = `rotate(${i.rotate}deg)`), t;
54
+ return i.size && (t.fontSize = we(i.size) ? `${i.size}px` : i.size), i.rotate && (t.transform = `rotate(${i.rotate}deg)`), t;
55
55
  });
56
56
  return {
57
57
  cls: n,
@@ -78,7 +78,7 @@ function xe(i, s, u, n, o, l) {
78
78
  d: "m33 12-1.862-3.724A.5.5 0 0 0 30.691 8H17.309a.5.5 0 0 0-.447.276L15 12m16 14a7 7 0 1 1-14 0 7 7 0 0 1 14 0ZM7 40h34a1 1 0 0 0 1-1V13a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v26a1 1 0 0 0 1 1Z"
79
79
  }, null, -1)]), 14, Ce);
80
80
  }
81
- var M = /* @__PURE__ */ ke($e, [["render", xe]]);
81
+ var M = /* @__PURE__ */ he($e, [["render", xe]]);
82
82
  const qe = Object.assign(M, {
83
83
  install: (i, s) => {
84
84
  var u;
@@ -107,7 +107,7 @@ const qe = Object.assign(M, {
107
107
  avatarUrl: ""
108
108
  }), l = h(!1), t = h(), r = h(!1);
109
109
  function y() {
110
- r.value = !0, _e().then(({
110
+ r.value = !0, Se().then(({
111
111
  data: d
112
112
  }) => {
113
113
  r.value = !1, o.value.id = d.id, o.value.nickname = d.nickname, o.value.description = d.description, o.value.avatar = d.avatar, o.value.avatarUrl = d.avatarUrl;
@@ -139,7 +139,7 @@ const qe = Object.assign(M, {
139
139
  const p = () => {
140
140
  const {
141
141
  uploadFile: d
142
- } = he(), f = document.createElement("input");
142
+ } = be(), f = document.createElement("input");
143
143
  f.type = "file", f.accept = "image/*", f.style.display = "none", document.body.append(f), f.addEventListener("change", async (v) => {
144
144
  var q;
145
145
  const $ = (q = v.target.files) == null ? void 0 : q[0];
@@ -491,7 +491,7 @@ const Fe = {
491
491
  const c = {
492
492
  password: t.value.password
493
493
  };
494
- we(c).then(() => {
494
+ ke(c).then(() => {
495
495
  n.value = !1, u("submit", c);
496
496
  }).catch(() => {
497
497
  n.value = !1;
@@ -849,7 +849,7 @@ const Fe = {
849
849
  userToken: c.userToken,
850
850
  emailVerifyId: c.emailVerifyId
851
851
  };
852
- be(p).then(() => {
852
+ ze(p).then(() => {
853
853
  u.value = !1, E.success("绑定成功"), o.value = "hidden", n();
854
854
  }).catch(() => {
855
855
  u.value = !1;
@@ -942,7 +942,7 @@ const Ye = /* @__PURE__ */ z({
942
942
  });
943
943
  }
944
944
  function c() {
945
- Se().then(() => {
945
+ Ie().then(() => {
946
946
  E.success("解绑成功"), n.value = "hidden", u();
947
947
  });
948
948
  }
@@ -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
- /* empty css */
7
+ import "./plugin-vue_export-helper-LjDO2Zua.js";
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  import { List as w, ListItem as d, ListItemMeta as p, Avatar as c, Button as x } from "@arco-design/web-vue";
@@ -3,7 +3,6 @@
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  /* empty css */
6
- /* empty css */
7
6
  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
7
  import { Spin as K, Tooltip as O, Empty as R, Pagination as G } from "@arco-design/web-vue";
9
8
  import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -195,8 +194,8 @@ const Q = /* @__PURE__ */ q({
195
194
  _: 3
196
195
  }, 8, ["loading"])]));
197
196
  }
198
- }), ve = /* @__PURE__ */ P(ae, [["__scopeId", "data-v-0eab51b1"]]);
197
+ }), ge = /* @__PURE__ */ P(ae, [["__scopeId", "data-v-0eab51b1"]]);
199
198
  export {
200
- ve as C,
199
+ ge as C,
201
200
  X as E
202
201
  };
@@ -1,5 +1,6 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
+ /* empty css */
3
4
  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
5
  import { Popover as O, Upload as T } from "@arco-design/web-vue";
5
6
  import { _ as I, g as F, i as L } from "./plugin-vue_export-helper-LjDO2Zua.js";
@@ -9,7 +10,7 @@ import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
10
  /* empty css */
10
11
  import { u as Z } from "./useUploadCos-D5k1YLb7.js";
11
12
  import { g as A } from "./globalConfig-C1YOJcxa.js";
12
- import "./FeedbackModal-Df1Wiclk.js";
13
+ import "./FeedbackModal-BGXr3jPm.js";
13
14
  import { Icon as Y } from "@iconify/vue";
14
15
  const H = f({
15
16
  name: "IconDown",
@@ -330,7 +331,7 @@ const se = Object.assign(x, {
330
331
  _: 3
331
332
  }, 8, ["popup-visible", "content-style"]));
332
333
  }
333
- }), Ee = /* @__PURE__ */ g(fe, [["__scopeId", "data-v-c2ab0561"]]), ke = {
334
+ }), We = /* @__PURE__ */ g(fe, [["__scopeId", "data-v-c2ab0561"]]), ke = {
334
335
  style: {
335
336
  "margin-bottom": "10px",
336
337
  display: "flex",
@@ -370,7 +371,7 @@ const se = Object.assign(x, {
370
371
  onClick: (k) => s(p.key)
371
372
  }, h(p.label), 11, ve))), 128))]));
372
373
  }
373
- }), We = /* @__PURE__ */ g(be, [["__scopeId", "data-v-4da22ce9"]]), ye = {
374
+ }), Oe = /* @__PURE__ */ g(be, [["__scopeId", "data-v-4da22ce9"]]), ye = {
374
375
  class: "screenshots-upload"
375
376
  }, he = /* @__PURE__ */ f({
376
377
  __name: "FeedbackScreenshots",
@@ -448,7 +449,7 @@ const se = Object.assign(x, {
448
449
  "custom-request": p
449
450
  }, null, 8, ["file-list"])]));
450
451
  }
451
- }), Oe = /* @__PURE__ */ g(he, [["__scopeId", "data-v-8e764d8f"]]), _e = {
452
+ }), Te = /* @__PURE__ */ g(he, [["__scopeId", "data-v-8e764d8f"]]), _e = {
452
453
  class: "operate-wrapper"
453
454
  }, ge = {
454
455
  class: "operate-item"
@@ -484,11 +485,11 @@ const se = Object.assign(x, {
484
485
  icon: t.icon
485
486
  }, null, 8, ["icon"])]), l("p", Ce, h(t.title), 1)]), l("div", we, [e.extra ? (c(), d("span", Se, h(e.extra), 1)) : W("", !0)])]));
486
487
  }
487
- }), Te = /* @__PURE__ */ g(ze, [["__scopeId", "data-v-54fd5fd0"]]);
488
+ }), Ze = /* @__PURE__ */ g(ze, [["__scopeId", "data-v-54fd5fd0"]]);
488
489
  export {
489
- Ee as F,
490
- We as a,
491
- Te as b,
490
+ We as F,
491
+ Oe as a,
492
+ Ze as b,
492
493
  le as c,
493
- Oe as d
494
+ Te as d
494
495
  };
@@ -1,11 +1,11 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
+ /* empty css */
4
5
  import { defineComponent as R, createElementBlock as S, openBlock as r, normalizeStyle as M, normalizeClass as oe, createElementVNode as I, computed as O, createBlock as y, unref as l, withCtx as n, createVNode as u, createCommentVNode as L, Fragment as B, createTextVNode as $, toDisplayString as z, ref as m, onUnmounted as xe, h as X, renderList as ie, nextTick as A } from "vue";
5
6
  import { Space as ue, Image as ce, Avatar as de, Descriptions as Se, DescriptionsItem as K, Tag as E, Spin as we, Button as G, Form as Ie, FormItem as H, Input as $e, Select as Fe, Option as Ue, Textarea as Le, Message as Re, Breadcrumb as Be, BreadcrumbItem as ee, Modal as ze, Drawer as qe } from "@arco-design/web-vue";
6
7
  import { M as De } from "./Menu-ejsosUdV.js";
7
- /* empty css */
8
- /* empty css */
8
+ import { _ as fe, g as pe, i as me } from "./plugin-vue_export-helper-LjDO2Zua.js";
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
@@ -17,11 +17,10 @@ import { r as Ne, a as Ae, u as Oe } from "./useUploadCos-D5k1YLb7.js";
17
17
  import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
18
  /* empty css */
19
19
  import { f as j } from "./index-Bb-d5pBq.js";
20
- import { C as Ve } from "./CustomTable-B8i1SbFB.js";
21
- import { Bubble as fe, Prompts as Pe, Sender as Ee } from "ant-design-x-vue";
22
- import { C as pe } from "./Clipboard-Bful1lNJ.js";
20
+ import { C as Ve } from "./CustomTable-BGm0KdAy.js";
21
+ import { Bubble as ve, Prompts as Pe, Sender as Ee } from "ant-design-x-vue";
22
+ import { C as ye } from "./Clipboard-Bful1lNJ.js";
23
23
  import { Icon as je } from "@iconify/vue";
24
- import { _ as me, g as ve, i as ye } from "./plugin-vue_export-helper-LjDO2Zua.js";
25
24
  const Me = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), te = {
26
25
  randomUUID: Me
27
26
  };
@@ -64,11 +63,11 @@ const We = R({
64
63
  setup(e, {
65
64
  emit: o
66
65
  }) {
67
- const t = ve("icon"), a = O(() => [t, `${t}-exclamation-circle`, {
66
+ const t = pe("icon"), a = O(() => [t, `${t}-exclamation-circle`, {
68
67
  [`${t}-spin`]: e.spin
69
68
  }]), f = O(() => {
70
69
  const s = {};
71
- return e.size && (s.fontSize = ye(e.size) ? `${e.size}px` : e.size), e.rotate && (s.transform = `rotate(${e.rotate}deg)`), s;
70
+ return e.size && (s.fontSize = me(e.size) ? `${e.size}px` : e.size), e.rotate && (s.transform = `rotate(${e.rotate}deg)`), s;
72
71
  });
73
72
  return {
74
73
  cls: a,
@@ -95,7 +94,7 @@ function Ke(e, o, t, a, f, c) {
95
94
  d: "M24 28V14m0 16v4M6 24c0-9.941 8.059-18 18-18s18 8.059 18 18-8.059 18-18 18S6 33.941 6 24Z"
96
95
  }, null, -1)]), 14, Te);
97
96
  }
98
- var Y = /* @__PURE__ */ me(We, [["render", Ke]]);
97
+ var Y = /* @__PURE__ */ fe(We, [["render", Ke]]);
99
98
  const ae = Object.assign(Y, {
100
99
  install: (e, o) => {
101
100
  var t;
@@ -131,11 +130,11 @@ const ae = Object.assign(Y, {
131
130
  setup(e, {
132
131
  emit: o
133
132
  }) {
134
- const t = ve("icon"), a = O(() => [t, `${t}-link`, {
133
+ const t = pe("icon"), a = O(() => [t, `${t}-link`, {
135
134
  [`${t}-spin`]: e.spin
136
135
  }]), f = O(() => {
137
136
  const s = {};
138
- return e.size && (s.fontSize = ye(e.size) ? `${e.size}px` : e.size), e.rotate && (s.transform = `rotate(${e.rotate}deg)`), s;
137
+ return e.size && (s.fontSize = me(e.size) ? `${e.size}px` : e.size), e.rotate && (s.transform = `rotate(${e.rotate}deg)`), s;
139
138
  });
140
139
  return {
141
140
  cls: a,
@@ -162,7 +161,7 @@ function Ze(e, o, t, a, f, c) {
162
161
  d: "m14.1 25.414-4.95 4.95a6 6 0 0 0 8.486 8.485l8.485-8.485a6 6 0 0 0 0-8.485m7.779.707 4.95-4.95a6 6 0 1 0-8.486-8.485l-8.485 8.485a6 6 0 0 0 0 8.485"
163
162
  }, null, -1)]), 14, Ye);
164
163
  }
165
- var Z = /* @__PURE__ */ me(He, [["render", Ze]]);
164
+ var Z = /* @__PURE__ */ fe(He, [["render", Ze]]);
166
165
  const Ge = Object.assign(Z, {
167
166
  install: (e, o) => {
168
167
  var t;
@@ -217,7 +216,7 @@ const Ge = Object.assign(Z, {
217
216
  function f() {
218
217
  a("refresh");
219
218
  }
220
- return (c, s) => (r(), y(l(fe), {
219
+ return (c, s) => (r(), y(l(ve), {
221
220
  placement: "end",
222
221
  style: M(t.bubbleStyle),
223
222
  styles: {
@@ -242,7 +241,7 @@ const Ge = Object.assign(Z, {
242
241
  "show-loader": ""
243
242
  }, null, 8, ["src"])) : L("", !0)]),
244
243
  footer: n(() => [u(l(ue), null, {
245
- default: n(() => [t.showClipboard && t.type === "text" ? (r(), y(pe, {
244
+ default: n(() => [t.showClipboard && t.type === "text" ? (r(), y(ye, {
246
245
  key: 0,
247
246
  value: e.value
248
247
  }, null, 8, ["value"])) : L("", !0), t.showRefresh ? (r(), y(Qe, {
@@ -287,7 +286,7 @@ const Ge = Object.assign(Z, {
287
286
  emit: o
288
287
  }) {
289
288
  const t = e;
290
- return (a, f) => (r(), y(l(fe), {
289
+ return (a, f) => (r(), y(l(ve), {
291
290
  placement: "start",
292
291
  style: M(t.bubbleStyle),
293
292
  styles: {
@@ -312,7 +311,7 @@ const Ge = Object.assign(Z, {
312
311
  "show-loader": ""
313
312
  }, null, 8, ["src"])) : L("", !0)]),
314
313
  footer: n(() => [u(l(ue), null, {
315
- default: n(() => [t.showClipboard && t.type === "text" ? (r(), y(pe, {
314
+ default: n(() => [t.showClipboard && t.type === "text" ? (r(), y(ye, {
316
315
  key: 0,
317
316
  value: t.value
318
317
  }, null, 8, ["value"])) : L("", !0)]),
@@ -1046,7 +1045,7 @@ const J = [{
1046
1045
  _: 1
1047
1046
  }, 8, ["visible"]));
1048
1047
  }
1049
- }), Gt = /* @__PURE__ */ V(xt, [["__scopeId", "data-v-4df9453a"]]);
1048
+ }), Zt = /* @__PURE__ */ V(xt, [["__scopeId", "data-v-4df9453a"]]);
1050
1049
  export {
1051
1050
  ft as F,
1052
1051
  Qe as R,
@@ -1054,5 +1053,5 @@ export {
1054
1053
  ne as a,
1055
1054
  vt as b,
1056
1055
  bt as c,
1057
- Gt as d
1056
+ Zt as d
1058
1057
  };