@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.
- package/dist/{AuthkitAuthModal-BpQZ_cSv.js → AuthkitAuthModal-CIqo_ytT.js} +2 -2
- package/dist/{AuthkitSignInPhone-DEkq7yIu.js → AuthkitSignInPhone-GEP_InIp.js} +3 -6
- package/dist/{Contact-HpDiHdUv.js → Contact-D1RLCHL7.js} +3 -3
- package/dist/{CustomTable-Dyjn6dOW.js → CustomTable-CVZ4mFzi.js} +1 -1
- package/dist/{FeedbackItem-CUQUsQCd.js → FeedbackItem-BhBJPtoI.js} +1 -1
- package/dist/{FeedbackModal-DCxmeHW4.js → FeedbackModal-Ci0sZsOa.js} +4 -4
- package/dist/{LandingPageSectionHeader-AfrKhRQg.js → LandingPageSectionHeader-1h01zdKJ.js} +168 -222
- package/dist/{LandingPageSectionTabs-BPG1U38v.js → LandingPageSectionTabs-BRTZaLEe.js} +380 -371
- package/dist/Logo-D7fyXyB-.js +67 -0
- package/dist/{MessageHandle-DJCHYY9T.js → MessageHandle-Dkpc4axC.js} +1 -1
- package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-rkng32OA.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-DqXjEfo9.js} +1 -1
- package/dist/{PaySubscriptions-CWey-mbh.js → PaySubscriptions-ygmbIpWM.js} +1 -1
- package/dist/{ReferrerReferees-Byrr8T8H.js → ReferrerReferees-BlHsWD6F.js} +1 -1
- package/dist/{UserAccountMenu-CxYmNgME.js → UserAccountMenu-C6MK8Ulm.js} +6 -6
- package/dist/WidthContainer-IvPa1ayt.js +655 -0
- package/dist/authkit.js +2 -2
- package/dist/common/downloadOptions.d.ts +3 -0
- package/dist/common.js +14 -13
- package/dist/components/DefaultLayout.vue.d.ts +6 -0
- package/dist/components/Header.vue.d.ts +3 -0
- package/dist/components/LandingPage/LandingPageBrandInfo.vue.d.ts +2 -0
- package/dist/components/LandingPage/PageContent.vue.d.ts +18 -0
- package/dist/components/Logo.vue.d.ts +30 -4
- package/dist/composables/useDownloads.d.ts +4 -7
- package/dist/composables.js +1 -1
- package/dist/feedback.js +2 -2
- package/dist/head.d.ts +7 -0
- package/dist/landingPage.d.ts +2 -1
- package/dist/landingPage.js +29 -27
- package/dist/main.d.ts +1 -1
- package/dist/main.js +308 -295
- package/dist/message.js +2 -2
- package/dist/pay.js +1 -1
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/useDownloads-CpbLR--j.js +52 -0
- package/dist/user.js +1 -1
- package/package.json +1 -1
- package/dist/WidthContainer-BsPQN5_v.js +0 -677
- package/dist/components/LandingPage/LandingPageLogo.vue.d.ts +0 -64
- 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