@huyooo/ui 0.15.2 → 0.17.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/{AuthkitAppSetting-Ds7mYFV5.js → AuthkitAppSetting-jfSU-9BO.js} +655 -646
- package/dist/{AuthkitGithubBinding-LVDS1PNQ.js → AuthkitGithubBinding-Co5Z_cD0.js} +260 -255
- package/dist/{Clipboard-R3AURqvU.js → Clipboard-Bo7gdpR6.js} +1 -1
- package/dist/{Contact-B3AMSHoN.js → Contact-B09Z0y_t.js} +2 -2
- package/dist/{FeedbackItem-DkvSQT33.js → FeedbackItem-BP-SiJ2u.js} +98 -184
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-M1NQ-rx-.js +1396 -0
- package/dist/{MessageHandle-CEQtGyVZ.js → MessageHandle-BG12aX0i.js} +56 -56
- package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-87v_RIQa.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-gsjL6yAe.js} +2 -2
- package/dist/{PaySubscriptions-D3g1OhiA.js → PaySubscriptions-BFq89DCI.js} +4 -4
- package/dist/{PricingPlans-DXea7rl0.js → PricingPlans-TZT6j_Jq.js} +4 -4
- package/dist/{ReferrerReferees-BxmZ1w_L.js → ReferrerReferees-jWOIvXrk.js} +18 -18
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-DLKSHzxG.js → Upload.vue_vue_type_script_setup_true_lang-B6NOZjK0.js} +1 -1
- package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-C7mV8kGe.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BVtXbwch.js} +63 -63
- package/dist/{WidthContainer-DKasAIgU.js → WidthContainer-Ct44rKyS.js} +9 -9
- package/dist/{apiClients-DT7o0IpO.js → apiClients-DrGX2iJy.js} +81 -78
- package/dist/authkit.js +9 -9
- package/dist/common/authPanelWidth.d.ts +2 -0
- package/dist/common.js +1 -1
- package/dist/components/Feedback/FeedbackBubbleEnd.vue.d.ts +11 -14
- package/dist/components/Feedback/FeedbackBubbleStart.vue.d.ts +11 -14
- package/dist/components/Feedback/FeedbackDetails.vue.d.ts +1 -0
- package/dist/components/Feedback/FeedbackForm.vue.d.ts +1 -0
- package/dist/components/Feedback/FeedbackMessageAttachments.vue.d.ts +15 -0
- package/dist/components/Feedback/FeedbackVideoPreview.vue.d.ts +33 -0
- package/dist/components/LandingPage/LandingPageContainer.vue.d.ts +1 -1
- package/dist/components/LandingPage/LandingPagePageContent.vue.d.ts +1 -1
- package/dist/components/UserMenu/parts/UserBasicInformation.vue.d.ts +2 -2
- package/dist/composables/Authkit/readInviteCodeFromLocation.d.ts +2 -0
- package/dist/composables/Authkit/useAuthkitAuth.d.ts +1 -1
- package/dist/composables/Authkit/useOauth.d.ts +5 -9
- package/dist/composables/feedbackAttachmentPolicy.d.ts +6 -0
- package/dist/composables/uploadFeedbackAttachment.d.ts +9 -0
- package/dist/composables/useFeedbackPendingAttachments.d.ts +98 -0
- package/dist/composables.js +13 -13
- package/dist/feedback.d.ts +0 -1
- package/dist/feedback.js +9 -10
- package/dist/main.js +134 -135
- package/dist/message.js +4 -4
- package/dist/pay.js +4 -4
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/api/ai.generated.d.ts +10 -10
- package/dist/types/api/auth.generated.d.ts +24 -20
- package/dist/types/api/billing.generated.d.ts +206 -514
- package/dist/types/api/ones.generated.d.ts +46 -8
- package/dist/types/api.d.ts +1 -1
- package/dist/types/feedback.d.ts +12 -44
- package/dist/types/user.d.ts +1 -1
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-DScDQfj5.js → useAuthkitAppsAuthPageInfo-DWd0bDP-.js} +1 -1
- package/dist/{useAuthkitAuth-DpdKRuJm.js → useAuthkitAuth-DmS-H7M2.js} +60 -53
- package/dist/{useAuthkitCreateAndUpdate-MzA4qtTh.js → useAuthkitCreateAndUpdate-oo9517Gj.js} +1 -1
- package/dist/{useAuthkitUsersProfile-aw_A7IWb.js → useAuthkitUsersProfile-BZDk21c8.js} +2 -2
- package/dist/{useBillingStatusOptions-CAsu1hrf.js → useBillingStatusOptions-B7xLU3fs.js} +1 -1
- package/dist/{useEnsureAuthenticated-BEKhtQAl.js → useEnsureAuthenticated-BuIbxqsO.js} +2 -2
- package/dist/{useLegalLinks-BijRF_ZD.js → useLegalLinks--qFGF7lO.js} +2 -2
- package/dist/{useMessageNotifications-CFku0c2R.js → useMessageNotifications-D85_-mDq.js} +1 -1
- package/dist/{useRoutePermission-v4_0B-aO.js → useRoutePermission-chEi45Nb.js} +2 -2
- package/dist/{useSEO-CbHCw4gq.js → useSEO-C6DLicfe.js} +1 -1
- package/dist/{useSubscriptionCheckout-BjPiHSjA.js → useSubscriptionCheckout-BRk5h9aC.js} +3 -3
- package/dist/{useTableHandle-TDJa_Czn.js → useTableHandle-BdujaiNX.js} +1 -1
- package/dist/{useUploadCos-CvG6EL5Q.js → useUploadCos-BRKRzSy3.js} +6 -4
- package/dist/user.js +1 -1
- package/dist/utils/apiMiddlewares.d.ts +4 -4
- package/dist/utils/feedbackMessage.d.ts +8 -0
- package/package.json +2 -1
- package/dist/FeedbackModal-C45pNoiw.js +0 -1050
- package/dist/components/Feedback/FeedbackScreenshots.vue.d.ts +0 -19
package/dist/authkit.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as a, B as s, E as u, a as e, b as h, O as A, P as r, c as o, _ as k, d as n, S as d, e as p, u as P } from "./AuthkitAppSetting-
|
|
2
|
-
import { A as l, a as m, b as g, c as S, d as O, e as c, f as L, _ as U, g as w, O as x, h as E, P as b, i as B, j as C, k as y, R as I, S as V, l as _, m as v, n as G, o as R, p as D, q as M } from "./AuthkitGithubBinding-
|
|
3
|
-
import { u as q } from "./useAuthkitAppsAuthPageInfo-
|
|
4
|
-
import { u as K } from "./useAuthkitAuth-
|
|
5
|
-
import { u as Y } from "./apiClients-
|
|
6
|
-
import { u as H } from "./useEnsureAuthenticated-
|
|
7
|
-
import { L as N, a as Q, b as W, u as X } from "./useLegalLinks
|
|
8
|
-
import { u as $ } from "./useAuthkitUsersProfile-
|
|
9
|
-
import { u as it } from "./useAuthkitCreateAndUpdate-
|
|
1
|
+
import { A as a, B as s, E as u, a as e, b as h, O as A, P as r, c as o, _ as k, d as n, S as d, e as p, u as P } from "./AuthkitAppSetting-jfSU-9BO.js";
|
|
2
|
+
import { A as l, a as m, b as g, c as S, d as O, e as c, f as L, _ as U, g as w, O as x, h as E, P as b, i as B, j as C, k as y, R as I, S as V, l as _, m as v, n as G, o as R, p as D, q as M } from "./AuthkitGithubBinding-Co5Z_cD0.js";
|
|
3
|
+
import { u as q } from "./useAuthkitAppsAuthPageInfo-DWd0bDP-.js";
|
|
4
|
+
import { u as K } from "./useAuthkitAuth-DmS-H7M2.js";
|
|
5
|
+
import { u as Y } from "./apiClients-DrGX2iJy.js";
|
|
6
|
+
import { u as H } from "./useEnsureAuthenticated-BuIbxqsO.js";
|
|
7
|
+
import { L as N, a as Q, b as W, u as X } from "./useLegalLinks--qFGF7lO.js";
|
|
8
|
+
import { u as $ } from "./useAuthkitUsersProfile-BZDk21c8.js";
|
|
9
|
+
import { u as it } from "./useAuthkitCreateAndUpdate-oo9517Gj.js";
|
|
10
10
|
export {
|
|
11
11
|
a as AuthkitAppSetting,
|
|
12
12
|
l as AuthkitAuth,
|
package/dist/common.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-
|
|
1
|
+
import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-Ct44rKyS.js";
|
|
2
2
|
import { C as d, a as f } from "./CollapseItem-DUzZA6tx.js";
|
|
3
3
|
import { C as x, E as b } from "./CustomTable-BT-cnhLR.js";
|
|
4
4
|
import { L } from "./Logo-D7fyXyB-.js";
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
+
import { FeedbackMessageAttachment } from '../../types/feedback';
|
|
1
2
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
|
|
3
|
+
text: {
|
|
3
4
|
type: StringConstructor;
|
|
4
|
-
required: false;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
type:
|
|
9
|
-
default:
|
|
10
|
-
validator: (value: string) => boolean;
|
|
7
|
+
attachments: {
|
|
8
|
+
type: () => FeedbackMessageAttachment[];
|
|
9
|
+
default: () => never[];
|
|
11
10
|
};
|
|
12
11
|
avatarUrl: {
|
|
13
12
|
type: StringConstructor;
|
|
@@ -34,15 +33,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
34
33
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
34
|
refresh: (...args: any[]) => void;
|
|
36
35
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
-
|
|
36
|
+
text: {
|
|
38
37
|
type: StringConstructor;
|
|
39
|
-
required: false;
|
|
40
38
|
default: string;
|
|
41
39
|
};
|
|
42
|
-
|
|
43
|
-
type:
|
|
44
|
-
default:
|
|
45
|
-
validator: (value: string) => boolean;
|
|
40
|
+
attachments: {
|
|
41
|
+
type: () => FeedbackMessageAttachment[];
|
|
42
|
+
default: () => never[];
|
|
46
43
|
};
|
|
47
44
|
avatarUrl: {
|
|
48
45
|
type: StringConstructor;
|
|
@@ -69,9 +66,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
69
66
|
}>> & Readonly<{
|
|
70
67
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
71
68
|
}>, {
|
|
72
|
-
|
|
73
|
-
type: string;
|
|
69
|
+
text: string;
|
|
74
70
|
avatarUrl: string;
|
|
71
|
+
attachments: FeedbackMessageAttachment[];
|
|
75
72
|
avatarText: string;
|
|
76
73
|
bubbleStyle: Record<string, any>;
|
|
77
74
|
showRefresh: boolean;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
+
import { FeedbackMessageAttachment } from '../../types/feedback';
|
|
1
2
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
|
|
3
|
+
text: {
|
|
3
4
|
type: StringConstructor;
|
|
4
|
-
required: false;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
type:
|
|
9
|
-
default:
|
|
10
|
-
validator: (value: string) => boolean;
|
|
7
|
+
attachments: {
|
|
8
|
+
type: () => FeedbackMessageAttachment[];
|
|
9
|
+
default: () => never[];
|
|
11
10
|
};
|
|
12
11
|
avatarUrl: {
|
|
13
12
|
type: StringConstructor;
|
|
@@ -28,15 +27,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
28
27
|
default: boolean;
|
|
29
28
|
};
|
|
30
29
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
|
-
|
|
30
|
+
text: {
|
|
32
31
|
type: StringConstructor;
|
|
33
|
-
required: false;
|
|
34
32
|
default: string;
|
|
35
33
|
};
|
|
36
|
-
|
|
37
|
-
type:
|
|
38
|
-
default:
|
|
39
|
-
validator: (value: string) => boolean;
|
|
34
|
+
attachments: {
|
|
35
|
+
type: () => FeedbackMessageAttachment[];
|
|
36
|
+
default: () => never[];
|
|
40
37
|
};
|
|
41
38
|
avatarUrl: {
|
|
42
39
|
type: StringConstructor;
|
|
@@ -57,9 +54,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
57
54
|
default: boolean;
|
|
58
55
|
};
|
|
59
56
|
}>> & Readonly<{}>, {
|
|
60
|
-
|
|
61
|
-
type: string;
|
|
57
|
+
text: string;
|
|
62
58
|
avatarUrl: string;
|
|
59
|
+
attachments: FeedbackMessageAttachment[];
|
|
63
60
|
avatarText: string;
|
|
64
61
|
bubbleStyle: Record<string, any>;
|
|
65
62
|
showClipboard: boolean;
|
|
@@ -4,5 +4,6 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
4
4
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
5
5
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
6
6
|
formRef: any;
|
|
7
|
+
fileInputRef: HTMLInputElement;
|
|
7
8
|
}, HTMLDivElement>;
|
|
8
9
|
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FeedbackMessageAttachment } from '../../types/feedback';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
attachments: {
|
|
4
|
+
type: () => FeedbackMessageAttachment[];
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
8
|
+
attachments: {
|
|
9
|
+
type: () => FeedbackMessageAttachment[];
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
}>> & Readonly<{}>, {
|
|
13
|
+
attachments: FeedbackMessageAttachment[];
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
src: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
title: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
visible: {
|
|
11
|
+
type: import('vue').PropType<boolean>;
|
|
12
|
+
};
|
|
13
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"update:visible": (value: boolean) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16
|
+
src: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
title: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
visible: {
|
|
25
|
+
type: import('vue').PropType<boolean>;
|
|
26
|
+
};
|
|
27
|
+
}>> & Readonly<{
|
|
28
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
title: string;
|
|
31
|
+
src: string;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
33
|
+
export default _default;
|
|
@@ -13,9 +13,9 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
16
|
-
padding: string;
|
|
17
16
|
flexDirection: "row" | "column" | "row-reverse" | "column-reverse";
|
|
18
17
|
gap: string;
|
|
18
|
+
padding: string;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
21
|
export default _default;
|
|
@@ -17,9 +17,9 @@ declare function __VLS_template(): {
|
|
|
17
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
18
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
19
|
center: boolean;
|
|
20
|
-
padding: string;
|
|
21
20
|
flexDirection: import("csstype").Property.FlexDirection;
|
|
22
21
|
gap: string;
|
|
22
|
+
padding: string;
|
|
23
23
|
maxWidth: string;
|
|
24
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -2,11 +2,11 @@ type __VLS_Props = {
|
|
|
2
2
|
nickname?: string;
|
|
3
3
|
email?: string;
|
|
4
4
|
avatarUrl?: string;
|
|
5
|
-
|
|
5
|
+
personalInviteCode?: string;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
8
|
email: string;
|
|
9
|
-
|
|
9
|
+
personalInviteCode: string;
|
|
10
10
|
nickname: string;
|
|
11
11
|
avatarUrl: string;
|
|
12
12
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -2,16 +2,12 @@
|
|
|
2
2
|
declare function getOauthCallbackUrl(): string;
|
|
3
3
|
/** 发起 OAuth 登录(通用方法) */
|
|
4
4
|
declare function startOauth(provider: 'github' | 'google' | 'microsoft' | 'wechat', options?: {
|
|
5
|
-
|
|
5
|
+
inviteCode?: string;
|
|
6
6
|
}): Promise<void>;
|
|
7
|
-
|
|
8
|
-
declare function
|
|
9
|
-
|
|
10
|
-
declare function
|
|
11
|
-
/** Microsoft OAuth 登录 */
|
|
12
|
-
declare function microsoftAuth(referrerId?: string): void;
|
|
13
|
-
/** 微信开放平台扫码登录 */
|
|
14
|
-
declare function wechatAuth(referrerId?: string): void;
|
|
7
|
+
declare function githubAuth(inviteCode?: string): void;
|
|
8
|
+
declare function googleAuth(inviteCode?: string): void;
|
|
9
|
+
declare function microsoftAuth(inviteCode?: string): void;
|
|
10
|
+
declare function wechatAuth(inviteCode?: string): void;
|
|
15
11
|
export declare function useOauth(): {
|
|
16
12
|
githubAuth: typeof githubAuth;
|
|
17
13
|
googleAuth: typeof googleAuth;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type FeedbackAttachmentKind = 'image' | 'video' | 'file';
|
|
2
|
+
export declare const FEEDBACK_ATTACHMENT_EXTENSIONS: readonly [".jpg", ".jpeg", ".png", ".gif", ".webp", ".mp4", ".webm", ".mov", ".pdf", ".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".txt", ".md", ".csv", ".json", ".zip"];
|
|
3
|
+
export declare const FEEDBACK_ATTACHMENT_ACCEPT: string;
|
|
4
|
+
export declare function getFeedbackAttachmentExtension(filename: string): string;
|
|
5
|
+
export declare function isFeedbackAttachmentAllowed(file: File): boolean;
|
|
6
|
+
export declare function getFeedbackAttachmentKind(file: File, mimeType?: string): FeedbackAttachmentKind;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type UploadedFeedbackAttachmentKind = 'image' | 'video' | 'file';
|
|
2
|
+
export type UploadedFeedbackAttachment = {
|
|
3
|
+
key: string;
|
|
4
|
+
name: string;
|
|
5
|
+
size: number;
|
|
6
|
+
mimeType: string;
|
|
7
|
+
kind: UploadedFeedbackAttachmentKind;
|
|
8
|
+
};
|
|
9
|
+
export declare function uploadFeedbackAttachments(files: File[], bucketId: string): Promise<UploadedFeedbackAttachment[]>;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export type FeedbackPendingAttachmentKind = 'image' | 'video' | 'file';
|
|
2
|
+
export type FeedbackPendingAttachment = {
|
|
3
|
+
id: string;
|
|
4
|
+
file: File;
|
|
5
|
+
kind: FeedbackPendingAttachmentKind;
|
|
6
|
+
previewUrl?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function useFeedbackPendingAttachments(onError?: (message: string) => void): {
|
|
9
|
+
items: import('vue').Ref<{
|
|
10
|
+
id: string;
|
|
11
|
+
file: {
|
|
12
|
+
readonly lastModified: number;
|
|
13
|
+
readonly name: string;
|
|
14
|
+
readonly webkitRelativePath: string;
|
|
15
|
+
readonly size: number;
|
|
16
|
+
readonly type: string;
|
|
17
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
18
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
19
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
20
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
21
|
+
text: () => Promise<string>;
|
|
22
|
+
};
|
|
23
|
+
kind: FeedbackPendingAttachmentKind;
|
|
24
|
+
previewUrl?: string | undefined;
|
|
25
|
+
}[], FeedbackPendingAttachment[] | {
|
|
26
|
+
id: string;
|
|
27
|
+
file: {
|
|
28
|
+
readonly lastModified: number;
|
|
29
|
+
readonly name: string;
|
|
30
|
+
readonly webkitRelativePath: string;
|
|
31
|
+
readonly size: number;
|
|
32
|
+
readonly type: string;
|
|
33
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
34
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
35
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
36
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
37
|
+
text: () => Promise<string>;
|
|
38
|
+
};
|
|
39
|
+
kind: FeedbackPendingAttachmentKind;
|
|
40
|
+
previewUrl?: string | undefined;
|
|
41
|
+
}[]>;
|
|
42
|
+
imageItems: import('vue').ComputedRef<{
|
|
43
|
+
id: string;
|
|
44
|
+
file: {
|
|
45
|
+
readonly lastModified: number;
|
|
46
|
+
readonly name: string;
|
|
47
|
+
readonly webkitRelativePath: string;
|
|
48
|
+
readonly size: number;
|
|
49
|
+
readonly type: string;
|
|
50
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
51
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
52
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
53
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
54
|
+
text: () => Promise<string>;
|
|
55
|
+
};
|
|
56
|
+
kind: FeedbackPendingAttachmentKind;
|
|
57
|
+
previewUrl?: string | undefined;
|
|
58
|
+
}[]>;
|
|
59
|
+
videoItems: import('vue').ComputedRef<{
|
|
60
|
+
id: string;
|
|
61
|
+
file: {
|
|
62
|
+
readonly lastModified: number;
|
|
63
|
+
readonly name: string;
|
|
64
|
+
readonly webkitRelativePath: string;
|
|
65
|
+
readonly size: number;
|
|
66
|
+
readonly type: string;
|
|
67
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
68
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
69
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
70
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
71
|
+
text: () => Promise<string>;
|
|
72
|
+
};
|
|
73
|
+
kind: FeedbackPendingAttachmentKind;
|
|
74
|
+
previewUrl?: string | undefined;
|
|
75
|
+
}[]>;
|
|
76
|
+
fileItems: import('vue').ComputedRef<{
|
|
77
|
+
id: string;
|
|
78
|
+
file: {
|
|
79
|
+
readonly lastModified: number;
|
|
80
|
+
readonly name: string;
|
|
81
|
+
readonly webkitRelativePath: string;
|
|
82
|
+
readonly size: number;
|
|
83
|
+
readonly type: string;
|
|
84
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
85
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
86
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
87
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
88
|
+
text: () => Promise<string>;
|
|
89
|
+
};
|
|
90
|
+
kind: FeedbackPendingAttachmentKind;
|
|
91
|
+
previewUrl?: string | undefined;
|
|
92
|
+
}[]>;
|
|
93
|
+
hasAttachments: import('vue').ComputedRef<boolean>;
|
|
94
|
+
addFiles: (files: File[]) => void;
|
|
95
|
+
removeAt: (index: number) => void;
|
|
96
|
+
clear: () => void;
|
|
97
|
+
maxAttachments: number;
|
|
98
|
+
};
|
package/dist/composables.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { u as a } from "./useAuthkitAuth-
|
|
2
|
-
import { g as o, a as u, b as r, s as i, c as n, d as f, u as p } from "./apiClients-
|
|
3
|
-
import { u as l } from "./useLegalLinks
|
|
4
|
-
import { u as h } from "./useAuthkitUsersProfile-
|
|
5
|
-
import { u as S } from "./useAuthkitAppsAuthPageInfo-
|
|
6
|
-
import { u as C } from "./useAuthkitCreateAndUpdate-
|
|
7
|
-
import { u as d } from "./useMessageNotifications-
|
|
8
|
-
import { u as O, a as T, b as P, c as R } from "./useSEO-
|
|
9
|
-
import { u as E } from "./useTableHandle-
|
|
10
|
-
import { f as k, a as _, g as I, u as M, b as B, c as w, w as F } from "./useRoutePermission-
|
|
11
|
-
import { u as v } from "./useUploadCos-
|
|
1
|
+
import { u as a } from "./useAuthkitAuth-DmS-H7M2.js";
|
|
2
|
+
import { g as o, a as u, b as r, s as i, c as n, d as f, u as p } from "./apiClients-DrGX2iJy.js";
|
|
3
|
+
import { u as l } from "./useLegalLinks--qFGF7lO.js";
|
|
4
|
+
import { u as h } from "./useAuthkitUsersProfile-BZDk21c8.js";
|
|
5
|
+
import { u as S } from "./useAuthkitAppsAuthPageInfo-DWd0bDP-.js";
|
|
6
|
+
import { u as C } from "./useAuthkitCreateAndUpdate-oo9517Gj.js";
|
|
7
|
+
import { u as d } from "./useMessageNotifications-D85_-mDq.js";
|
|
8
|
+
import { u as O, a as T, b as P, c as R } from "./useSEO-C6DLicfe.js";
|
|
9
|
+
import { u as E } from "./useTableHandle-BdujaiNX.js";
|
|
10
|
+
import { f as k, a as _, g as I, u as M, b as B, c as w, w as F } from "./useRoutePermission-chEi45Nb.js";
|
|
11
|
+
import { u as v } from "./useUploadCos-BRKRzSy3.js";
|
|
12
12
|
import { u as G } from "./useUserMenu-ClPBlvaM.js";
|
|
13
|
-
import { u as H, a as V } from "./useSubscriptionCheckout-
|
|
14
|
-
import { I as j, P as q, R as z, c as J, u as Q, a as W, b as X } from "./useBillingStatusOptions-
|
|
13
|
+
import { u as H, a as V } from "./useSubscriptionCheckout-BRk5h9aC.js";
|
|
14
|
+
import { I as j, P as q, R as z, c as J, u as Q, a as W, b as X } from "./useBillingStatusOptions-B7xLU3fs.js";
|
|
15
15
|
export {
|
|
16
16
|
j as INVOICE_STATUS_FALLBACK,
|
|
17
17
|
q as POINTS_RECHARGE_STATUS_FALLBACK,
|
package/dist/feedback.d.ts
CHANGED
|
@@ -10,5 +10,4 @@ export { default as FeedbackList } from './components/Feedback/FeedbackList.vue'
|
|
|
10
10
|
export { default as FeedbackModal } from './components/Feedback/FeedbackModal.vue';
|
|
11
11
|
export { default as FeedbackFloatButton } from './components/Feedback/FeedbackFloatButton.vue';
|
|
12
12
|
export { default as FeedbackRefresh } from './components/Feedback/FeedbackRefresh.vue';
|
|
13
|
-
export { default as FeedbackScreenshots } from './components/Feedback/FeedbackScreenshots.vue';
|
|
14
13
|
export type * from './types/feedback';
|
package/dist/feedback.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { B as b, a as s, F as d,
|
|
2
|
-
import { C as r } from "./Clipboard-
|
|
3
|
-
import { F as m, a as
|
|
1
|
+
import { B as b, a as s, F, b as d, _ as c, c as o, R as t } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-M1NQ-rx-.js";
|
|
2
|
+
import { C as r } from "./Clipboard-Bo7gdpR6.js";
|
|
3
|
+
import { F as m, a as f, b as i, c as n } from "./FeedbackItem-BP-SiJ2u.js";
|
|
4
4
|
export {
|
|
5
5
|
r as Clipboard,
|
|
6
6
|
b as FeedbackBubbleEnd,
|
|
7
7
|
s as FeedbackBubbleStart,
|
|
8
8
|
m as FeedbackContainer,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
f as FeedbackCustomTabs,
|
|
10
|
+
F as FeedbackDetails,
|
|
11
|
+
i as FeedbackFloatButton,
|
|
12
|
+
d as FeedbackForm,
|
|
13
|
+
n as FeedbackItem,
|
|
14
14
|
c as FeedbackList,
|
|
15
15
|
o as FeedbackModal,
|
|
16
|
-
t as FeedbackRefresh
|
|
17
|
-
p as FeedbackScreenshots
|
|
16
|
+
t as FeedbackRefresh
|
|
18
17
|
};
|