@huyooo/ui 2.0.0 → 2.0.2
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/{AuthkitAppSetting-rtYZcSAR.js → AuthkitAppSetting-CPTk5V2I.js} +144 -143
- package/dist/{Contact-CcWf3UEZ.js → Contact-CterQK1Z.js} +2 -2
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-DCIiz8aj.js +1516 -0
- package/dist/{LegalDocViewer-C0tsIbz9.js → LegalDocViewer-CaL-MiTh.js} +4 -4
- package/dist/{PaySubscriptions-p75aBnHm.js → PaySubscriptions-DJBlwE0S.js} +1 -1
- package/dist/{PricingPlans-CQ0qk9Hb.js → PricingPlans-CqAaWjb9.js} +1 -1
- package/dist/Upload.vue_vue_type_script_setup_true_lang-B8-BHJkc.js +83 -0
- package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DG4AuHiO.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-pd5gnq-G.js} +3 -3
- package/dist/{WidthContainer-DSE4QbW0.js → WidthContainer-Dv6p9qbu.js} +3 -3
- package/dist/authkit.js +4 -4
- package/dist/common.js +1 -1
- package/dist/components/Feedback/FeedbackDetails.vue.d.ts +8 -24
- package/dist/components/Upload/Upload.vue.d.ts +3 -2
- package/dist/composables/uploadFeedbackAttachment.d.ts +7 -1
- package/dist/composables.js +4 -4
- package/dist/feedback.js +1 -1
- package/dist/{fetchAuthPageAboutUs-DiCqMUX3.js → fetchAuthPageAboutUs-2gv5Lke1.js} +1 -1
- package/dist/main.js +15 -15
- package/dist/pay.js +2 -2
- package/dist/privateCom.js +1 -1
- package/dist/{runtime-BzCSCUNv.js → runtime-DvVJS4Vm.js} +1344 -1327
- package/dist/runtime.d.ts +6 -2
- package/dist/style.css +1 -1
- package/dist/upload/browserCosTransport.d.ts +2 -5
- package/dist/upload/browserUploadService.d.ts +5 -4
- package/dist/upload.d.ts +2 -2
- package/dist/upload.js +2 -2
- package/dist/{useLegalDocs-D44qU_q0.js → useLegalDocs-Cpy86zzQ.js} +1 -1
- package/dist/{useSEO-_TNouXE_.js → useSEO-Da2r63SX.js} +1 -1
- package/dist/user.js +1 -1
- package/package.json +1 -1
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-DpOmbAg-.js +0 -1491
- package/dist/Upload.vue_vue_type_script_setup_true_lang-bh0NFq9E.js +0 -78
|
@@ -13,13 +13,10 @@ export interface BrowserCosTransferInput {
|
|
|
13
13
|
key: string;
|
|
14
14
|
credentials: BrowserCosCredentials;
|
|
15
15
|
onProgress?: (progress: COS.ProgressInfo) => void;
|
|
16
|
-
|
|
17
|
-
export interface BrowserCosTransferTask {
|
|
18
|
-
result: Promise<COS.UploadFileResult>;
|
|
19
|
-
abort: () => void;
|
|
16
|
+
signal?: AbortSignal;
|
|
20
17
|
}
|
|
21
18
|
/** 只负责浏览器文件到 COS 的传输,不参与业务文件登记。 */
|
|
22
19
|
export declare function createBrowserCosTransport(): {
|
|
23
|
-
upload: (input: BrowserCosTransferInput) =>
|
|
20
|
+
upload: (input: BrowserCosTransferInput) => Promise<COS.UploadFileResult>;
|
|
24
21
|
};
|
|
25
22
|
export type BrowserCosTransport = ReturnType<typeof createBrowserCosTransport>;
|
|
@@ -4,17 +4,18 @@ export interface BrowserUploadInput {
|
|
|
4
4
|
file: File;
|
|
5
5
|
bucketId: string;
|
|
6
6
|
onProgress?: (percent: number) => void;
|
|
7
|
+
signal?: AbortSignal;
|
|
7
8
|
}
|
|
8
9
|
export interface BrowserUploadResult {
|
|
9
10
|
file: unknown;
|
|
10
11
|
key: string;
|
|
11
12
|
}
|
|
12
|
-
export interface
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
export interface BrowserUploadResponse {
|
|
14
|
+
data: BrowserUploadResult | null;
|
|
15
|
+
error: Error | null;
|
|
15
16
|
}
|
|
16
17
|
/** 复用现有无状态接口:获取凭证 → 浏览器直传 COS → 登记文件。 */
|
|
17
18
|
export declare function createBrowserUploadService(api: ApiClients, transport?: BrowserCosTransport): {
|
|
18
|
-
upload: (input: BrowserUploadInput) =>
|
|
19
|
+
upload: (input: BrowserUploadInput) => Promise<BrowserUploadResponse>;
|
|
19
20
|
};
|
|
20
21
|
export type BrowserUploadService = ReturnType<typeof createBrowserUploadService>;
|
package/dist/upload.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { default as Upload } from './components/Upload/Upload.vue';
|
|
2
|
-
export { createBrowserCosTransport, type BrowserCosCredentials, type BrowserCosTransferInput, type
|
|
3
|
-
export { createBrowserUploadService, type BrowserUploadInput, type
|
|
2
|
+
export { createBrowserCosTransport, type BrowserCosCredentials, type BrowserCosTransferInput, type BrowserCosTransport, } from './upload/browserCosTransport';
|
|
3
|
+
export { createBrowserUploadService, type BrowserUploadInput, type BrowserUploadResponse, type BrowserUploadResult, type BrowserUploadService, } from './upload/browserUploadService';
|
package/dist/upload.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as o } from "./Upload.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { e as s, f as p } from "./runtime-
|
|
1
|
+
import { _ as o } from "./Upload.vue_vue_type_script_setup_true_lang-B8-BHJkc.js";
|
|
2
|
+
import { e as s, f as p } from "./runtime-DvVJS4Vm.js";
|
|
3
3
|
export {
|
|
4
4
|
o as Upload,
|
|
5
5
|
s as createBrowserCosTransport,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as f } from "vue";
|
|
2
2
|
import { u as d } from "./useAuthkitAppsAuthPageInfo-DZ1p-P3Q.js";
|
|
3
|
-
import { g as L } from "./runtime-
|
|
3
|
+
import { g as L } from "./runtime-DvVJS4Vm.js";
|
|
4
4
|
const c = {
|
|
5
5
|
userServiceAgreement: "用户服务协议",
|
|
6
6
|
privacyPolicy: "隐私协议",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./apiClients-Ctcq8NZs.js";
|
|
3
3
|
import { Message as y } from "@arco-design/web-vue";
|
|
4
4
|
import { ref as a, getCurrentInstance as I, computed as i } from "vue";
|
|
5
|
-
import { u as L } from "./runtime-
|
|
5
|
+
import { u as L } from "./runtime-DvVJS4Vm.js";
|
|
6
6
|
import { useHead as v, useSeoMeta as p } from "@unhead/vue";
|
|
7
7
|
import { useRoute as P } from "vue-router";
|
|
8
8
|
function M(s) {
|
package/dist/user.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as a, a as n, b as r, c as t, d as U, _ as u, e as i, f as M, g as o, h as m, i as I, j as c, k as d, l as b, m as f } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { U as a, a as n, b as r, c as t, d as U, _ as u, e as i, f as M, g as o, h as m, i as I, j as c, k as d, l as b, m as f } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-pd5gnq-G.js";
|
|
2
2
|
export {
|
|
3
3
|
a as UserAccountMenu,
|
|
4
4
|
n as UserAvatar,
|