@huyooo/ui 0.4.72 → 0.4.74

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 (37) hide show
  1. package/dist/{AuthkitAppSetting-CX3_9Jcg.js → AuthkitAuthModal-A8HqP1Bw.js} +1441 -1439
  2. package/dist/{AuthkitAuthorize-CA0jmnjq.js → AuthkitAuthorize-BlEC4PlY.js} +1 -1
  3. package/dist/{FeedbackItem-C5WqFEqH.js → FeedbackItem-B_EUApFA.js} +1 -1
  4. package/dist/{FeedbackModal-BDPw2tu7.js → FeedbackModal-D1htK7xY.js} +34 -33
  5. package/dist/{MessageHandle-BelPivb3.js → MessageHandle-DkNum5-u.js} +3 -2
  6. package/dist/UserAccountMenu-C7LQIjwT.js +610 -0
  7. package/dist/authkit.js +3 -3
  8. package/dist/common.d.ts +0 -14
  9. package/dist/common.js +13 -37
  10. package/dist/components/Authkit/Auth/AuthkitAuthContainer.vue.d.ts +1 -1
  11. package/dist/components/Authkit/Auth/AuthkitAuthorize.vue.d.ts +1 -1
  12. package/dist/components/Authkit/Auth/AuthkitOAuthItem.vue.d.ts +1 -1
  13. package/dist/components/Authkit/AuthkitAuthModal.vue.d.ts +4 -4
  14. package/dist/components/Feedback/FeedbackBubbleEnd.vue.d.ts +1 -1
  15. package/dist/components/Feedback/FeedbackBubbleStart.vue.d.ts +1 -1
  16. package/dist/components/Gradientbackground.vue.d.ts +1 -1
  17. package/dist/components/LandingPage/LandingPageContact.vue.d.ts +2 -2
  18. package/dist/components/User/UserBasicInformation.vue.d.ts +1 -1
  19. package/dist/components/User/UserPanel.vue.d.ts +6 -6
  20. package/dist/composables.d.ts +2 -2
  21. package/dist/composables.js +21 -35
  22. package/dist/feedback.js +2 -2
  23. package/dist/index.js +154 -159
  24. package/dist/main.d.ts +1 -4
  25. package/dist/message.js +1 -1
  26. package/dist/pay.js +1 -1
  27. package/dist/referrer.js +1 -1
  28. package/dist/style.css +1 -1
  29. package/dist/{useAuthkitAuthModal-hxivJw_U.js → useAuthkitAppsAuthPageInfo-COeq29Tn.js} +13 -13
  30. package/dist/user.js +6 -7
  31. package/dist/viewTransitions-C-ZLwiJ0.js +55 -0
  32. package/package.json +1 -1
  33. package/dist/UserAccountMenu-BD8F9vEK.js +0 -40
  34. package/dist/UserPanel-CaaTu1mu.js +0 -576
  35. package/dist/useActiveDoc-BWHkOJhJ.js +0 -39
  36. /package/dist/{PaySubscriptions-BRWvLeed.js → PaySubscriptions-l6VlqvBy.js} +0 -0
  37. /package/dist/{ReferrerReferees-BVj9o5kG.js → ReferrerReferees-BclAtmgX.js} +0 -0
@@ -8,7 +8,7 @@ import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.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";
11
- import { a as $ } from "./useAuthkitAuthModal-hxivJw_U.js";
11
+ import { a as $ } from "./useAuthkitAppsAuthPageInfo-COeq29Tn.js";
12
12
  import { o as T } from "./useAuthkitUsersProfile-DNOB_Kuk.js";
13
13
  const U = {
14
14
  class: "header"
@@ -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-B5P_PDcy.js";
11
11
  import { g as A } from "./globalConfig-DZIhLe1R.js";
12
- import "./FeedbackModal-BDPw2tu7.js";
12
+ import "./FeedbackModal-D1htK7xY.js";
13
13
  import { Icon as Y } from "@iconify/vue";
14
14
  const H = f({
15
15
  name: "IconDown",
@@ -9,6 +9,7 @@ import { M as De } from "./Menu-Cxo8Rpu3.js";
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
+ /* empty css */
12
13
  import { api as N } from "@huyooo/api";
13
14
  import { g as q } from "./globalConfig-DZIhLe1R.js";
14
15
  /* empty css */
@@ -21,7 +22,20 @@ import { Bubble as fe, Prompts as Pe, Sender as Ee } from "ant-design-x-vue";
21
22
  import { C as pe } from "./Clipboard-Bful1lNJ.js";
22
23
  import { Icon as je } from "@iconify/vue";
23
24
  import { _ as me, g as ve, i as ye } from "./plugin-vue_export-helper-LjDO2Zua.js";
24
- const Me = R({
25
+ const Me = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), te = {
26
+ randomUUID: Me
27
+ };
28
+ function le(e, o, t) {
29
+ var f;
30
+ if (te.randomUUID && !e)
31
+ return te.randomUUID();
32
+ e = e || {};
33
+ const a = e.random ?? ((f = e.rng) == null ? void 0 : f.call(e)) ?? Ne();
34
+ if (a.length < 16)
35
+ throw new Error("Random bytes length must be >= 16");
36
+ return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, Ae(a);
37
+ }
38
+ const We = R({
25
39
  name: "IconExclamationCircle",
26
40
  props: {
27
41
  size: {
@@ -64,8 +78,8 @@ const Me = R({
64
78
  }
65
79
  };
66
80
  }
67
- }), We = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
68
- function Te(e, o, t, a, f, c) {
81
+ }), Te = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
82
+ function Ke(e, o, t, a, f, c) {
69
83
  return r(), S("svg", {
70
84
  viewBox: "0 0 48 48",
71
85
  fill: "none",
@@ -79,16 +93,16 @@ function Te(e, o, t, a, f, c) {
79
93
  onClick: o[0] || (o[0] = (...s) => e.onClick && e.onClick(...s))
80
94
  }, o[1] || (o[1] = [I("path", {
81
95
  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"
82
- }, null, -1)]), 14, We);
96
+ }, null, -1)]), 14, Te);
83
97
  }
84
- var Y = /* @__PURE__ */ me(Me, [["render", Te]]);
85
- const te = Object.assign(Y, {
98
+ var Y = /* @__PURE__ */ me(We, [["render", Ke]]);
99
+ const ae = Object.assign(Y, {
86
100
  install: (e, o) => {
87
101
  var t;
88
102
  const a = (t = o == null ? void 0 : o.iconPrefix) != null ? t : "";
89
103
  e.component(a + Y.name, Y);
90
104
  }
91
- }), Ke = R({
105
+ }), He = R({
92
106
  name: "IconLink",
93
107
  props: {
94
108
  size: {
@@ -131,8 +145,8 @@ const te = Object.assign(Y, {
131
145
  }
132
146
  };
133
147
  }
134
- }), He = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
135
- function Ye(e, o, t, a, f, c) {
148
+ }), Ye = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
149
+ function Ze(e, o, t, a, f, c) {
136
150
  return r(), S("svg", {
137
151
  viewBox: "0 0 48 48",
138
152
  fill: "none",
@@ -146,29 +160,16 @@ function Ye(e, o, t, a, f, c) {
146
160
  onClick: o[0] || (o[0] = (...s) => e.onClick && e.onClick(...s))
147
161
  }, o[1] || (o[1] = [I("path", {
148
162
  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"
149
- }, null, -1)]), 14, He);
163
+ }, null, -1)]), 14, Ye);
150
164
  }
151
- var Z = /* @__PURE__ */ me(Ke, [["render", Ye]]);
152
- const Ze = Object.assign(Z, {
165
+ var Z = /* @__PURE__ */ me(He, [["render", Ze]]);
166
+ const Ge = Object.assign(Z, {
153
167
  install: (e, o) => {
154
168
  var t;
155
169
  const a = (t = o == null ? void 0 : o.iconPrefix) != null ? t : "";
156
170
  e.component(a + Z.name, Z);
157
171
  }
158
- }), Ge = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), le = {
159
- randomUUID: Ge
160
- };
161
- function ae(e, o, t) {
162
- var f;
163
- if (le.randomUUID && !e)
164
- return le.randomUUID();
165
- e = e || {};
166
- const a = e.random ?? ((f = e.rng) == null ? void 0 : f.call(e)) ?? Ne();
167
- if (a.length < 16)
168
- throw new Error("Random bytes length must be >= 16");
169
- return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, Ae(a);
170
- }
171
- const Je = /* @__PURE__ */ R({
172
+ }), Je = /* @__PURE__ */ R({
172
173
  __name: "FeedbackRefresh",
173
174
  setup(e) {
174
175
  return (o, t) => (r(), y(l(je), {
@@ -452,7 +453,7 @@ const J = [{
452
453
  label: "如何补充更多信息",
453
454
  description: "请详细描述您的问题或需求,以便我们更好地为您服务。",
454
455
  disabled: !0,
455
- icon: X(te, {
456
+ icon: X(ae, {
456
457
  style: {
457
458
  color: "#722ED1"
458
459
  }
@@ -462,7 +463,7 @@ const J = [{
462
463
  label: "如何补充附件",
463
464
  description: "如有相关附件(如日志、截图等),请一并上传以便加快处理速度。",
464
465
  disabled: !0,
465
- icon: X(te, {
466
+ icon: X(ae, {
466
467
  style: {
467
468
  color: "#722ED1"
468
469
  }
@@ -500,7 +501,7 @@ const J = [{
500
501
  file: D,
501
502
  onFileFinish(W, St, _e) {
502
503
  const he = {
503
- messageId: ae(),
504
+ messageId: le(),
504
505
  senderRole: i.senderRole,
505
506
  type: "image",
506
507
  key: _e.Key
@@ -532,7 +533,7 @@ const J = [{
532
533
  function w(d) {
533
534
  a.value = !0;
534
535
  const p = {
535
- messageId: ae(),
536
+ messageId: le(),
536
537
  senderRole: i.senderRole,
537
538
  type: "text",
538
539
  content: d
@@ -697,7 +698,7 @@ const J = [{
697
698
  class: "IconLink",
698
699
  onClick: g
699
700
  }, {
700
- icon: n(() => [u(l(Ze))]),
701
+ icon: n(() => [u(l(Ge))]),
701
702
  _: 1
702
703
  })]),
703
704
  _: 1
@@ -1050,7 +1051,7 @@ const J = [{
1050
1051
  _: 1
1051
1052
  }, 8, ["visible"]));
1052
1053
  }
1053
- }), Zt = /* @__PURE__ */ V(xt, [["__scopeId", "data-v-4df9453a"]]);
1054
+ }), Gt = /* @__PURE__ */ V(xt, [["__scopeId", "data-v-4df9453a"]]);
1054
1055
  export {
1055
1056
  ft as F,
1056
1057
  Qe as R,
@@ -1058,5 +1059,5 @@ export {
1058
1059
  ne as a,
1059
1060
  vt as b,
1060
1061
  bt as c,
1061
- Zt as d
1062
+ Gt as d
1062
1063
  };
@@ -6,6 +6,7 @@ import { defineComponent as b, ref as r, createBlock as p, openBlock as l, unref
6
6
  import { Spin as V, Empty as K, Button as G, Divider as J, Breadcrumb as O, BreadcrumbItem as x, Modal as P } from "@arco-design/web-vue";
7
7
  import { api as S } from "@huyooo/api";
8
8
  import { g as D } from "./globalConfig-DZIhLe1R.js";
9
+ /* empty css */
9
10
  import { TiptapEditor as Q, TiptapTitle as W } from "@huyooo/vue-tiptap";
10
11
  import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
12
  /* empty css */
@@ -811,14 +812,14 @@ const Ke = /* @__PURE__ */ b({
811
812
  onCancel: t
812
813
  }, null, 8, ["selected-keys", "menus"]));
813
814
  }
814
- }), ft = /* @__PURE__ */ C(Qe, [["__scopeId", "data-v-dd5fd3b4"]]);
815
+ }), pt = /* @__PURE__ */ C(Qe, [["__scopeId", "data-v-dd5fd3b4"]]);
815
816
  export {
816
817
  Pe as A,
817
818
  Ne as C,
818
819
  U as D,
819
820
  Te as E,
820
821
  ce as I,
821
- ft as M,
822
+ pt as M,
822
823
  He as N,
823
824
  ae as _,
824
825
  Le as a,