@huyooo/ui 0.4.73 → 0.4.75
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-hVSE1o31.js → AuthkitAuthModal-A8HqP1Bw.js} +2 -2
- package/dist/{AuthkitAuthorize-CcuxKyfx.js → AuthkitAuthorize-BlEC4PlY.js} +2 -2
- package/dist/{FeedbackItem-BCMwNxsb.js → FeedbackItem-B_EUApFA.js} +1 -1
- package/dist/{FeedbackModal-CmGPYo4h.js → FeedbackModal-D1htK7xY.js} +31 -31
- package/dist/{ReferrerReferees-BFMQJqqj.js → ReferrerReferees-BclAtmgX.js} +1 -1
- package/dist/{UserAccountMenu-CI6Yvfwe.js → UserAccountMenu-C7LQIjwT.js} +5 -5
- package/dist/authkit.js +4 -4
- package/dist/common/downloadOptions.d.ts +23 -0
- package/dist/components/Authkit/Auth/AuthkitAuthContainer.vue.d.ts +1 -1
- package/dist/components/Authkit/Auth/AuthkitAuthorize.vue.d.ts +1 -1
- package/dist/components/Authkit/Auth/AuthkitOAuthList.vue.d.ts +1 -1
- package/dist/components/Authkit/Auth/AuthkitPasswordUpdateAndVerify.vue.d.ts +2 -2
- package/dist/components/Authkit/AuthkitAppSetting.vue.d.ts +2 -2
- package/dist/components/Authkit/AuthkitAuthModal.vue.d.ts +2 -2
- package/dist/components/Download/BrowserExtensions.vue.d.ts +20 -0
- package/dist/components/Download/DesktopDownloads.vue.d.ts +7 -0
- package/dist/components/Download/DownloadCard.vue.d.ts +17 -0
- package/dist/components/Download/DownloadDropdown.vue.d.ts +5 -0
- package/dist/components/Download/DownloadGrid.vue.d.ts +17 -0
- package/dist/components/Download/DownloadSectionHeader.vue.d.ts +6 -0
- package/dist/components/Download/ExtensionCard.vue.d.ts +21 -0
- package/dist/components/Download/MobileDownloads.vue.d.ts +21 -0
- package/dist/components/Feedback/FeedbackBubbleEnd.vue.d.ts +2 -2
- package/dist/components/Feedback/FeedbackBubbleStart.vue.d.ts +2 -2
- package/dist/components/Feedback/FeedbackModal.vue.d.ts +2 -2
- package/dist/components/LandingPage/LandingPageContact.vue.d.ts +2 -2
- package/dist/components/Message/MessageAppMessage.vue.d.ts +2 -2
- package/dist/components/Message/MessageHandle.vue.d.ts +3 -3
- package/dist/components/Pay/PaySubscriptions.vue.d.ts +2 -2
- package/dist/components/User/UserBasicInformation.vue.d.ts +2 -2
- package/dist/components/User/UserPanel.vue.d.ts +15 -15
- package/dist/composables/useDownloads.d.ts +39 -0
- package/dist/composables.d.ts +1 -0
- package/dist/composables.js +22 -70
- package/dist/download.d.ts +8 -0
- package/dist/feedback.js +2 -2
- package/dist/index.js +700 -145
- package/dist/main.d.ts +2 -0
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{useAuthkitAuthModal-hxivJw_U.js → useAuthkitAppsAuthPageInfo-COeq29Tn.js} +13 -13
- package/dist/{useAuthkitUsersProfile-CRLJnYMy.js → useAuthkitUsersProfile-DNOB_Kuk.js} +62 -62
- package/dist/useDownloads-BkDo_wOR.js +103 -0
- package/dist/user.js +1 -1
- package/package.json +1 -1
|
@@ -31,13 +31,13 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
31
31
|
default: () => string;
|
|
32
32
|
};
|
|
33
33
|
}>> & Readonly<{
|
|
34
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
35
34
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
36
36
|
onToUserServiceAgreement?: ((...args: any[]) => any) | undefined;
|
|
37
37
|
onToPrivacyPolicy?: ((...args: any[]) => any) | undefined;
|
|
38
38
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
|
-
close: (...args: any[]) => void;
|
|
40
39
|
confirm: (...args: any[]) => void;
|
|
40
|
+
close: (...args: any[]) => void;
|
|
41
41
|
toUserServiceAgreement: (...args: any[]) => void;
|
|
42
42
|
toPrivacyPolicy: (...args: any[]) => void;
|
|
43
43
|
}, import('vue').PublicProps, {
|
|
@@ -59,21 +59,21 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
59
59
|
default: () => string;
|
|
60
60
|
};
|
|
61
61
|
}>> & Readonly<{
|
|
62
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
63
62
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
64
64
|
onToUserServiceAgreement?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
onToPrivacyPolicy?: ((...args: any[]) => any) | undefined;
|
|
66
66
|
}>, {}, {}, {}, {}, {
|
|
67
67
|
appId: string;
|
|
68
68
|
}> | null;
|
|
69
69
|
AppSettingRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
70
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
71
70
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
73
|
setData: (data: unknown, state: false) => void;
|
|
74
74
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
75
|
-
cancel: (...args: any[]) => void;
|
|
76
75
|
confirm: (...args: any[]) => void;
|
|
76
|
+
cancel: (...args: any[]) => void;
|
|
77
77
|
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
78
78
|
P: {};
|
|
79
79
|
B: {};
|
|
@@ -82,8 +82,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
82
82
|
M: {};
|
|
83
83
|
Defaults: {};
|
|
84
84
|
}, Readonly<{}> & Readonly<{
|
|
85
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
86
85
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
86
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
87
87
|
}>, {
|
|
88
88
|
setData: (data: unknown, state: false) => void;
|
|
89
89
|
}, {}, {}, {}, {}> | null;
|
|
@@ -106,13 +106,13 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
106
106
|
setData: (state: false) => void;
|
|
107
107
|
}, {}, {}, {}, {}> | null;
|
|
108
108
|
SubscriptionsRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
109
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
110
109
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
110
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
111
111
|
}>, {
|
|
112
112
|
setData: (data: any, state: false) => void;
|
|
113
113
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
114
|
-
cancel: (...args: any[]) => void;
|
|
115
114
|
confirm: (...args: any[]) => void;
|
|
115
|
+
cancel: (...args: any[]) => void;
|
|
116
116
|
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
117
117
|
P: {};
|
|
118
118
|
B: {};
|
|
@@ -121,8 +121,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
121
121
|
M: {};
|
|
122
122
|
Defaults: {};
|
|
123
123
|
}, Readonly<{}> & Readonly<{
|
|
124
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
125
124
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
125
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
126
126
|
}>, {
|
|
127
127
|
setData: (data: any, state: false) => void;
|
|
128
128
|
}, {}, {}, {}, {}> | null;
|
|
@@ -138,14 +138,14 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
138
138
|
type: import('vue').PropType<string[]>;
|
|
139
139
|
};
|
|
140
140
|
}>> & Readonly<{
|
|
141
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
142
141
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
142
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
143
143
|
"onUpdate:selectedKeys"?: ((value: string[]) => any) | undefined;
|
|
144
144
|
}>, {
|
|
145
145
|
setData: (state: false) => void;
|
|
146
146
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
147
|
-
change: (...args: any[]) => void;
|
|
148
147
|
cancel: (...args: any[]) => void;
|
|
148
|
+
change: (...args: any[]) => void;
|
|
149
149
|
"update:selectedKeys": (value: string[]) => void;
|
|
150
150
|
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
151
151
|
P: {};
|
|
@@ -163,8 +163,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
163
163
|
type: import('vue').PropType<string[]>;
|
|
164
164
|
};
|
|
165
165
|
}>> & Readonly<{
|
|
166
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
167
166
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
167
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
168
168
|
"onUpdate:selectedKeys"?: ((value: string[]) => any) | undefined;
|
|
169
169
|
}>, {
|
|
170
170
|
setData: (state: false) => void;
|
|
@@ -180,13 +180,13 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
180
180
|
openNotification: () => void;
|
|
181
181
|
}, {}, {}, {}, {}> | null;
|
|
182
182
|
FeedBackModalRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
183
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
184
183
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
184
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
185
185
|
}>, {
|
|
186
186
|
setData: (state: boolean) => void;
|
|
187
187
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
188
|
-
cancel: (...args: any[]) => void;
|
|
189
188
|
confirm: (...args: any[]) => void;
|
|
189
|
+
cancel: (...args: any[]) => void;
|
|
190
190
|
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
191
191
|
P: {};
|
|
192
192
|
B: {};
|
|
@@ -195,8 +195,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
195
195
|
M: {};
|
|
196
196
|
Defaults: {};
|
|
197
197
|
}, Readonly<{}> & Readonly<{
|
|
198
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
199
198
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
199
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
200
200
|
}>, {
|
|
201
201
|
setData: (state: boolean) => void;
|
|
202
202
|
}, {}, {}, {}, {}> | null;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DesktopDownloadItem } from '../common/downloadOptions';
|
|
2
|
+
/**
|
|
3
|
+
* 获取下载配置的 composable
|
|
4
|
+
*/
|
|
5
|
+
export declare function useDownloads(): {
|
|
6
|
+
downloads: import('vue').Ref<{
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
description: string;
|
|
10
|
+
version: string;
|
|
11
|
+
updateDate: string;
|
|
12
|
+
icon: string;
|
|
13
|
+
downloadUrl: string;
|
|
14
|
+
platform: "Windows" | "macOS";
|
|
15
|
+
requirements: string;
|
|
16
|
+
badge?: string | undefined;
|
|
17
|
+
}[], DesktopDownloadItem[] | {
|
|
18
|
+
id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
description: string;
|
|
21
|
+
version: string;
|
|
22
|
+
updateDate: string;
|
|
23
|
+
icon: string;
|
|
24
|
+
downloadUrl: string;
|
|
25
|
+
platform: "Windows" | "macOS";
|
|
26
|
+
requirements: string;
|
|
27
|
+
badge?: string | undefined;
|
|
28
|
+
}[]>;
|
|
29
|
+
loading: import('vue').Ref<boolean, boolean>;
|
|
30
|
+
error: import('vue').Ref<string, string>;
|
|
31
|
+
version: import('vue').Ref<string, string>;
|
|
32
|
+
fetchDownloads: ({ versionApi }: {
|
|
33
|
+
versionApi: string;
|
|
34
|
+
}) => Promise<void>;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* 清除缓存(用于需要刷新数据的场景)
|
|
38
|
+
*/
|
|
39
|
+
export declare function clearDownloadsCache(): void;
|
package/dist/composables.d.ts
CHANGED
|
@@ -10,3 +10,4 @@ export { useTableHandle } from './composables/useTableHandle';
|
|
|
10
10
|
export { useActiveDoc } from './composables/useActiveDoc';
|
|
11
11
|
export { useUploadCos } from './composables/Upload/useUploadCos';
|
|
12
12
|
export { withViewTransition } from './composables/viewTransitions';
|
|
13
|
+
export { useDownloads } from './composables/useDownloads';
|
package/dist/composables.js
CHANGED
|
@@ -1,72 +1,24 @@
|
|
|
1
|
-
import { u as
|
|
2
|
-
import { U as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { g as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
import { ref as a } from "vue";
|
|
10
|
-
import { u as H } from "./useTableHandle-DKUIdSSh.js";
|
|
11
|
-
import { u as N } from "./useUploadCos-B5P_PDcy.js";
|
|
12
|
-
function A(e) {
|
|
13
|
-
const t = a(!1), o = a(), s = a(!1), i = a(""), u = a("");
|
|
14
|
-
function c(f) {
|
|
15
|
-
l.success(f), s.value = !1, t.value = !1, e("confirm");
|
|
16
|
-
}
|
|
17
|
-
function r() {
|
|
18
|
-
s.value = !1, console.log("handleClose"), e("cancel");
|
|
19
|
-
}
|
|
20
|
-
return {
|
|
21
|
-
loading: t,
|
|
22
|
-
formRef: o,
|
|
23
|
-
submitSuccess: c,
|
|
24
|
-
modelType: i,
|
|
25
|
-
changeType: u,
|
|
26
|
-
show: s,
|
|
27
|
-
handleCancel: r
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
const n = a({
|
|
31
|
-
key: "",
|
|
32
|
-
name: ""
|
|
33
|
-
});
|
|
34
|
-
function v() {
|
|
35
|
-
function e(t, o) {
|
|
36
|
-
n.value.key = t, n.value.name = o;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
activeDoc: n,
|
|
40
|
-
setActiveDoc: e
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function g(e, t = "default") {
|
|
44
|
-
const o = document;
|
|
45
|
-
if (o && typeof o.startViewTransition == "function") {
|
|
46
|
-
const s = document.body;
|
|
47
|
-
s.classList.add(`vt-${t}`), o.startViewTransition(() => {
|
|
48
|
-
try {
|
|
49
|
-
e();
|
|
50
|
-
} catch {
|
|
51
|
-
}
|
|
52
|
-
}).finished.finally(() => {
|
|
53
|
-
s.classList.remove(`vt-${t}`);
|
|
54
|
-
});
|
|
55
|
-
} else
|
|
56
|
-
e();
|
|
57
|
-
}
|
|
1
|
+
import { u as o, a } from "./useAuthkitUsersProfile-DNOB_Kuk.js";
|
|
2
|
+
import { U as u, u as r } from "./useAuthkitAppsAuthPageInfo-COeq29Tn.js";
|
|
3
|
+
import { u as f } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
4
|
+
import { u as A } from "./useMessageNotifications-DOH1MS61.js";
|
|
5
|
+
import { g as l, s as m } from "./globalConfig-DZIhLe1R.js";
|
|
6
|
+
import { a as d, u as x, b as g, w as C } from "./useDownloads-BkDo_wOR.js";
|
|
7
|
+
import { u as k } from "./useTableHandle-DKUIdSSh.js";
|
|
8
|
+
import { u as w } from "./useUploadCos-B5P_PDcy.js";
|
|
58
9
|
export {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
10
|
+
u as UseAuthkitAppsAuthPageInfo,
|
|
11
|
+
l as globalConfig,
|
|
12
|
+
m as setGlobalConfig,
|
|
13
|
+
d as useActiveDoc,
|
|
14
|
+
o as useAuthkitAuth,
|
|
15
|
+
r as useAuthkitAuthModal,
|
|
16
|
+
f as useAuthkitCreateAndUpdate,
|
|
17
|
+
a as useAuthkitUsersProfile,
|
|
18
|
+
x as useCommonCreateAndUpdate,
|
|
19
|
+
g as useDownloads,
|
|
20
|
+
A as useMessageNotifications,
|
|
21
|
+
k as useTableHandle,
|
|
22
|
+
w as useUploadCos,
|
|
23
|
+
C as withViewTransition
|
|
72
24
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as BrowserExtensions } from './components/Download/BrowserExtensions.vue';
|
|
2
|
+
export { default as DesktopDownloads } from './components/Download/DesktopDownloads.vue';
|
|
3
|
+
export { default as DownloadCard } from './components/Download/DownloadCard.vue';
|
|
4
|
+
export { default as DownloadDropdown } from './components/Download/DownloadDropdown.vue';
|
|
5
|
+
export { default as DownloadGrid } from './components/Download/DownloadGrid.vue';
|
|
6
|
+
export { default as DownloadSectionHeader } from './components/Download/DownloadSectionHeader.vue';
|
|
7
|
+
export { default as ExtensionCard } from './components/Download/ExtensionCard.vue';
|
|
8
|
+
export { default as MobileDownloads } from './components/Download/MobileDownloads.vue';
|
package/dist/feedback.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-
|
|
1
|
+
import { _ as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-D1htK7xY.js";
|
|
2
2
|
import { C as r } from "./Clipboard-Bful1lNJ.js";
|
|
3
|
-
import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-
|
|
3
|
+
import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-B_EUApFA.js";
|
|
4
4
|
export {
|
|
5
5
|
r as Clipboard,
|
|
6
6
|
b as FeedbackBubbleEnd,
|