@huyooo/ui 0.9.8 → 0.10.0

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 (42) hide show
  1. package/dist/{AuthkitAuthModal-BpQZ_cSv.js → AuthkitAuthModal-CIqo_ytT.js} +2 -2
  2. package/dist/{AuthkitSignInPhone-DEkq7yIu.js → AuthkitSignInPhone-GEP_InIp.js} +3 -6
  3. package/dist/{Contact-HpDiHdUv.js → Contact-D1RLCHL7.js} +3 -3
  4. package/dist/{CustomTable-Dyjn6dOW.js → CustomTable-CVZ4mFzi.js} +1 -1
  5. package/dist/{FeedbackItem-CUQUsQCd.js → FeedbackItem-BhBJPtoI.js} +1 -1
  6. package/dist/{FeedbackModal-DCxmeHW4.js → FeedbackModal-Ci0sZsOa.js} +4 -4
  7. package/dist/{LandingPageSectionHeader-AfrKhRQg.js → LandingPageSectionHeader-1h01zdKJ.js} +168 -222
  8. package/dist/{LandingPageSectionTabs-BPG1U38v.js → LandingPageSectionTabs-BRTZaLEe.js} +380 -371
  9. package/dist/Logo-D7fyXyB-.js +67 -0
  10. package/dist/{MessageHandle-DJCHYY9T.js → MessageHandle-Dkpc4axC.js} +1 -1
  11. package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-rkng32OA.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-DqXjEfo9.js} +1 -1
  12. package/dist/{PaySubscriptions-CWey-mbh.js → PaySubscriptions-ygmbIpWM.js} +1 -1
  13. package/dist/{ReferrerReferees-Byrr8T8H.js → ReferrerReferees-BlHsWD6F.js} +1 -1
  14. package/dist/{UserAccountMenu-CxYmNgME.js → UserAccountMenu-C6MK8Ulm.js} +6 -6
  15. package/dist/WidthContainer-IvPa1ayt.js +655 -0
  16. package/dist/authkit.js +2 -2
  17. package/dist/common/downloadOptions.d.ts +3 -0
  18. package/dist/common.js +14 -13
  19. package/dist/components/DefaultLayout.vue.d.ts +6 -0
  20. package/dist/components/Header.vue.d.ts +3 -0
  21. package/dist/components/LandingPage/LandingPageBrandInfo.vue.d.ts +2 -0
  22. package/dist/components/LandingPage/PageContent.vue.d.ts +18 -0
  23. package/dist/components/Logo.vue.d.ts +30 -4
  24. package/dist/composables/useDownloads.d.ts +4 -7
  25. package/dist/composables.js +1 -1
  26. package/dist/feedback.js +2 -2
  27. package/dist/head.d.ts +7 -0
  28. package/dist/landingPage.d.ts +2 -1
  29. package/dist/landingPage.js +29 -27
  30. package/dist/main.d.ts +1 -1
  31. package/dist/main.js +308 -295
  32. package/dist/message.js +2 -2
  33. package/dist/pay.js +1 -1
  34. package/dist/privateCom.js +1 -1
  35. package/dist/referrer.js +1 -1
  36. package/dist/style.css +1 -1
  37. package/dist/useDownloads-CpbLR--j.js +52 -0
  38. package/dist/user.js +1 -1
  39. package/package.json +1 -1
  40. package/dist/WidthContainer-BsPQN5_v.js +0 -677
  41. package/dist/components/LandingPage/LandingPageLogo.vue.d.ts +0 -64
  42. package/dist/useDownloads-CMQtTjNj.js +0 -73
@@ -0,0 +1,52 @@
1
+ /* empty css */
2
+ import "./apiClients-DJchWBAG.js";
3
+ import { Message as f } from "@arco-design/web-vue";
4
+ import { ref as e } from "vue";
5
+ function p(n) {
6
+ const o = e(!1), s = e(), a = e(!1), c = e(""), l = e("");
7
+ function u(r) {
8
+ f.success(r), a.value = !1, o.value = !1, n("confirm");
9
+ }
10
+ function t() {
11
+ a.value = !1, console.log("handleClose"), n("cancel");
12
+ }
13
+ return {
14
+ loading: o,
15
+ formRef: s,
16
+ submitSuccess: u,
17
+ modelType: c,
18
+ changeType: l,
19
+ show: a,
20
+ handleCancel: t
21
+ };
22
+ }
23
+ function h() {
24
+ const n = e([]), o = e(!1), s = e(""), a = e("");
25
+ async function c({
26
+ versionApi: l
27
+ }) {
28
+ o.value = !0, s.value = "";
29
+ try {
30
+ const t = await (await fetch(l)).json();
31
+ a.value = t.version, n.value = t.downloads.map((r) => ({
32
+ ...r,
33
+ icon: ""
34
+ }));
35
+ } catch {
36
+ s.value = "获取版本信息失败,请刷新重试";
37
+ } finally {
38
+ o.value = !1;
39
+ }
40
+ }
41
+ return {
42
+ downloads: n,
43
+ loading: o,
44
+ error: s,
45
+ version: a,
46
+ fetchDownloads: c
47
+ };
48
+ }
49
+ export {
50
+ h as a,
51
+ p as u
52
+ };
package/dist/user.js CHANGED
@@ -1,4 +1,4 @@
1
- import { U as r, a as e, b as n, c as o, d as t, S as U } from "./UserAccountMenu-CxYmNgME.js";
1
+ import { U as r, a as e, b as n, c as o, d as t, S as U } from "./UserAccountMenu-C6MK8Ulm.js";
2
2
  export {
3
3
  r as UserAccountMenu,
4
4
  e as UserAvatar,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huyooo/ui",
3
- "version": "0.9.8",
3
+ "version": "0.10.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [