@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
@@ -1,64 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- name: {
3
- type: StringConstructor;
4
- required: false;
5
- default: () => string;
6
- };
7
- icon: {
8
- type: StringConstructor;
9
- required: false;
10
- default: () => string;
11
- };
12
- color: {
13
- type: StringConstructor;
14
- required: false;
15
- default: () => string;
16
- };
17
- fontSize: {
18
- type: StringConstructor;
19
- required: false;
20
- default: () => string;
21
- };
22
- iconSize: {
23
- type: StringConstructor;
24
- required: false;
25
- default: () => string;
26
- };
27
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
- to: (...args: any[]) => void;
29
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
30
- name: {
31
- type: StringConstructor;
32
- required: false;
33
- default: () => string;
34
- };
35
- icon: {
36
- type: StringConstructor;
37
- required: false;
38
- default: () => string;
39
- };
40
- color: {
41
- type: StringConstructor;
42
- required: false;
43
- default: () => string;
44
- };
45
- fontSize: {
46
- type: StringConstructor;
47
- required: false;
48
- default: () => string;
49
- };
50
- iconSize: {
51
- type: StringConstructor;
52
- required: false;
53
- default: () => string;
54
- };
55
- }>> & Readonly<{
56
- onTo?: ((...args: any[]) => any) | undefined;
57
- }>, {
58
- color: string;
59
- name: string;
60
- icon: string;
61
- fontSize: string;
62
- iconSize: string;
63
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
64
- export default _default;
@@ -1,73 +0,0 @@
1
- /* empty css */
2
- import "./apiClients-DJchWBAG.js";
3
- import { Message as v } from "@arco-design/web-vue";
4
- import { ref as n } from "vue";
5
- function g(l) {
6
- const s = n(!1), r = n(), a = n(!1), d = n(""), f = n("");
7
- function e(o) {
8
- v.success(o), a.value = !1, s.value = !1, l("confirm");
9
- }
10
- function c() {
11
- a.value = !1, console.log("handleClose"), l("cancel");
12
- }
13
- return {
14
- loading: s,
15
- formRef: r,
16
- submitSuccess: e,
17
- modelType: d,
18
- changeType: f,
19
- show: a,
20
- handleCancel: c
21
- };
22
- }
23
- let u = null, i = "", t = null;
24
- function D() {
25
- const l = n([]), s = n(!1), r = n(""), a = n("");
26
- async function d({
27
- versionApi: f
28
- }) {
29
- if (u) {
30
- l.value = u, a.value = i;
31
- return;
32
- }
33
- if (t) {
34
- await t, l.value = u || [], a.value = i;
35
- return;
36
- }
37
- s.value = !0, r.value = "", t = fetch(f).then((e) => {
38
- if (!e.ok)
39
- throw new Error(`HTTP error! status: ${e.status}`);
40
- return e.json();
41
- }).then((e) => {
42
- const c = e.downloads.map((o) => ({
43
- id: o.id,
44
- name: o.name,
45
- description: o.description,
46
- version: o.version,
47
- updateDate: o.updateDate,
48
- icon: "",
49
- // 将在组件中动态设置
50
- downloadUrl: o.downloadUrl,
51
- platform: o.platform,
52
- requirements: o.requirements,
53
- badge: o.badge
54
- }));
55
- u = c, i = e.version, l.value = c, a.value = e.version;
56
- }).catch((e) => {
57
- r.value = e.message || "获取版本信息失败", console.error("Failed to fetch downloads:", e);
58
- }).finally(() => {
59
- s.value = !1, t = null;
60
- }), await t;
61
- }
62
- return {
63
- downloads: l,
64
- loading: s,
65
- error: r,
66
- version: a,
67
- fetchDownloads: d
68
- };
69
- }
70
- export {
71
- D as a,
72
- g as u
73
- };