@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
import "./apiClients-
|
|
2
|
+
import "./apiClients-DrGX2iJy.js";
|
|
3
3
|
import { defineComponent as X, ref as J, openBlock as K, createBlock as Q, unref as W } from "vue";
|
|
4
4
|
import { Message as Z } from "@arco-design/web-vue";
|
|
5
5
|
import { Icon as $ } from "@iconify/vue";
|
|
@@ -2,8 +2,8 @@ import { defineComponent as P, ref as q, openBlock as Q, createElementBlock as t
|
|
|
2
2
|
import { e as n, d as y, g as G, f as R, L as Z, c as h, j as b, k as J, i as S, a as O, b as d } from "./LandingPageLinkGroup-DDNRivMt.js";
|
|
3
3
|
import { L as Y } from "./LandingPageSectionHeader-D_74W4My.js";
|
|
4
4
|
import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { u as M } from "./useAuthkitAppsAuthPageInfo-
|
|
6
|
-
import { g as L } from "./apiClients-
|
|
5
|
+
import { u as M } from "./useAuthkitAppsAuthPageInfo-DWd0bDP-.js";
|
|
6
|
+
import { g as L } from "./apiClients-DrGX2iJy.js";
|
|
7
7
|
import { c as x } from "./index-D56hUMeD.js";
|
|
8
8
|
const j = {
|
|
9
9
|
class: "Footer"
|
|
@@ -1,18 +1,11 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import { Popover as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { _ as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/* empty css */
|
|
10
|
-
/* empty css */
|
|
11
|
-
import { u as Z } from "./useUploadCos-CvG6EL5Q.js";
|
|
12
|
-
import { g as A } from "./apiClients-DT7o0IpO.js";
|
|
13
|
-
import "./FeedbackModal-C45pNoiw.js";
|
|
14
|
-
import { Icon as Y } from "@iconify/vue";
|
|
15
|
-
const H = f({
|
|
3
|
+
import { defineComponent as d, computed as u, openBlock as a, createElementBlock as c, normalizeStyle as b, normalizeClass as v, createElementVNode as s, withDirectives as x, createVNode as m, unref as f, vShow as I, ref as F, createBlock as L, withCtx as N, toDisplayString as k, renderSlot as B, Fragment as V, renderList as q, createCommentVNode as P } from "vue";
|
|
4
|
+
import { Popover as M } from "@arco-design/web-vue";
|
|
5
|
+
import { _ as C, g as S, i as w } from "./plugin-vue_export-helper-LjDO2Zua.js";
|
|
6
|
+
import { _ as y } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
+
import { Icon as W } from "@iconify/vue";
|
|
8
|
+
const D = d({
|
|
16
9
|
name: "IconDown",
|
|
17
10
|
props: {
|
|
18
11
|
size: {
|
|
@@ -41,45 +34,45 @@ const H = f({
|
|
|
41
34
|
setup(e, {
|
|
42
35
|
emit: t
|
|
43
36
|
}) {
|
|
44
|
-
const n =
|
|
37
|
+
const n = S("icon"), o = u(() => [n, `${n}-down`, {
|
|
45
38
|
[`${n}-spin`]: e.spin
|
|
46
|
-
}]),
|
|
39
|
+
}]), r = u(() => {
|
|
47
40
|
const i = {};
|
|
48
|
-
return e.size && (i.fontSize =
|
|
41
|
+
return e.size && (i.fontSize = w(e.size) ? `${e.size}px` : e.size), e.rotate && (i.transform = `rotate(${e.rotate}deg)`), i;
|
|
49
42
|
});
|
|
50
43
|
return {
|
|
51
44
|
cls: o,
|
|
52
|
-
innerStyle:
|
|
45
|
+
innerStyle: r,
|
|
53
46
|
onClick: (i) => {
|
|
54
47
|
t("click", i);
|
|
55
48
|
}
|
|
56
49
|
};
|
|
57
50
|
}
|
|
58
|
-
}),
|
|
59
|
-
function
|
|
60
|
-
return
|
|
51
|
+
}), R = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
52
|
+
function T(e, t, n, o, r, l) {
|
|
53
|
+
return a(), c("svg", {
|
|
61
54
|
viewBox: "0 0 48 48",
|
|
62
55
|
fill: "none",
|
|
63
56
|
xmlns: "http://www.w3.org/2000/svg",
|
|
64
57
|
stroke: "currentColor",
|
|
65
|
-
class:
|
|
66
|
-
style:
|
|
58
|
+
class: v(e.cls),
|
|
59
|
+
style: b(e.innerStyle),
|
|
67
60
|
"stroke-width": e.strokeWidth,
|
|
68
61
|
"stroke-linecap": e.strokeLinecap,
|
|
69
62
|
"stroke-linejoin": e.strokeLinejoin,
|
|
70
63
|
onClick: t[0] || (t[0] = (...i) => e.onClick && e.onClick(...i))
|
|
71
|
-
}, t[1] || (t[1] = [
|
|
64
|
+
}, t[1] || (t[1] = [s("path", {
|
|
72
65
|
d: "M39.6 17.443 24.043 33 8.487 17.443"
|
|
73
|
-
}, null, -1)]), 14,
|
|
66
|
+
}, null, -1)]), 14, R);
|
|
74
67
|
}
|
|
75
|
-
var
|
|
76
|
-
const
|
|
68
|
+
var g = /* @__PURE__ */ C(D, [["render", T]]);
|
|
69
|
+
const Z = Object.assign(g, {
|
|
77
70
|
install: (e, t) => {
|
|
78
71
|
var n;
|
|
79
72
|
const o = (n = t == null ? void 0 : t.iconPrefix) != null ? n : "";
|
|
80
|
-
e.component(o +
|
|
73
|
+
e.component(o + g.name, g);
|
|
81
74
|
}
|
|
82
|
-
}),
|
|
75
|
+
}), O = d({
|
|
83
76
|
name: "IconClose",
|
|
84
77
|
props: {
|
|
85
78
|
size: {
|
|
@@ -108,45 +101,45 @@ const G = Object.assign(S, {
|
|
|
108
101
|
setup(e, {
|
|
109
102
|
emit: t
|
|
110
103
|
}) {
|
|
111
|
-
const n =
|
|
104
|
+
const n = S("icon"), o = u(() => [n, `${n}-close`, {
|
|
112
105
|
[`${n}-spin`]: e.spin
|
|
113
|
-
}]),
|
|
106
|
+
}]), r = u(() => {
|
|
114
107
|
const i = {};
|
|
115
|
-
return e.size && (i.fontSize =
|
|
108
|
+
return e.size && (i.fontSize = w(e.size) ? `${e.size}px` : e.size), e.rotate && (i.transform = `rotate(${e.rotate}deg)`), i;
|
|
116
109
|
});
|
|
117
110
|
return {
|
|
118
111
|
cls: o,
|
|
119
|
-
innerStyle:
|
|
112
|
+
innerStyle: r,
|
|
120
113
|
onClick: (i) => {
|
|
121
114
|
t("click", i);
|
|
122
115
|
}
|
|
123
116
|
};
|
|
124
117
|
}
|
|
125
|
-
}),
|
|
126
|
-
function
|
|
127
|
-
return
|
|
118
|
+
}), Y = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
119
|
+
function E(e, t, n, o, r, l) {
|
|
120
|
+
return a(), c("svg", {
|
|
128
121
|
viewBox: "0 0 48 48",
|
|
129
122
|
fill: "none",
|
|
130
123
|
xmlns: "http://www.w3.org/2000/svg",
|
|
131
124
|
stroke: "currentColor",
|
|
132
|
-
class:
|
|
133
|
-
style:
|
|
125
|
+
class: v(e.cls),
|
|
126
|
+
style: b(e.innerStyle),
|
|
134
127
|
"stroke-width": e.strokeWidth,
|
|
135
128
|
"stroke-linecap": e.strokeLinecap,
|
|
136
129
|
"stroke-linejoin": e.strokeLinejoin,
|
|
137
130
|
onClick: t[0] || (t[0] = (...i) => e.onClick && e.onClick(...i))
|
|
138
|
-
}, t[1] || (t[1] = [
|
|
131
|
+
}, t[1] || (t[1] = [s("path", {
|
|
139
132
|
d: "M9.857 9.858 24 24m0 0 14.142 14.142M24 24 38.142 9.858M24 24 9.857 38.142"
|
|
140
|
-
}, null, -1)]), 14,
|
|
133
|
+
}, null, -1)]), 14, Y);
|
|
141
134
|
}
|
|
142
|
-
var
|
|
143
|
-
const
|
|
135
|
+
var $ = /* @__PURE__ */ C(O, [["render", E]]);
|
|
136
|
+
const H = Object.assign($, {
|
|
144
137
|
install: (e, t) => {
|
|
145
138
|
var n;
|
|
146
139
|
const o = (n = t == null ? void 0 : t.iconPrefix) != null ? n : "";
|
|
147
|
-
e.component(o +
|
|
140
|
+
e.component(o + $.name, $);
|
|
148
141
|
}
|
|
149
|
-
}),
|
|
142
|
+
}), A = d({
|
|
150
143
|
name: "IconRobot",
|
|
151
144
|
props: {
|
|
152
145
|
size: {
|
|
@@ -175,49 +168,49 @@ const te = Object.assign(z, {
|
|
|
175
168
|
setup(e, {
|
|
176
169
|
emit: t
|
|
177
170
|
}) {
|
|
178
|
-
const n =
|
|
171
|
+
const n = S("icon"), o = u(() => [n, `${n}-robot`, {
|
|
179
172
|
[`${n}-spin`]: e.spin
|
|
180
|
-
}]),
|
|
173
|
+
}]), r = u(() => {
|
|
181
174
|
const i = {};
|
|
182
|
-
return e.size && (i.fontSize =
|
|
175
|
+
return e.size && (i.fontSize = w(e.size) ? `${e.size}px` : e.size), e.rotate && (i.transform = `rotate(${e.rotate}deg)`), i;
|
|
183
176
|
});
|
|
184
177
|
return {
|
|
185
178
|
cls: o,
|
|
186
|
-
innerStyle:
|
|
179
|
+
innerStyle: r,
|
|
187
180
|
onClick: (i) => {
|
|
188
181
|
t("click", i);
|
|
189
182
|
}
|
|
190
183
|
};
|
|
191
184
|
}
|
|
192
|
-
}),
|
|
193
|
-
function
|
|
194
|
-
return
|
|
185
|
+
}), U = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
186
|
+
function X(e, t, n, o, r, l) {
|
|
187
|
+
return a(), c("svg", {
|
|
195
188
|
viewBox: "0 0 48 48",
|
|
196
189
|
fill: "none",
|
|
197
190
|
xmlns: "http://www.w3.org/2000/svg",
|
|
198
191
|
stroke: "currentColor",
|
|
199
|
-
class:
|
|
200
|
-
style:
|
|
192
|
+
class: v(e.cls),
|
|
193
|
+
style: b(e.innerStyle),
|
|
201
194
|
"stroke-width": e.strokeWidth,
|
|
202
195
|
"stroke-linecap": e.strokeLinecap,
|
|
203
196
|
"stroke-linejoin": e.strokeLinejoin,
|
|
204
197
|
onClick: t[0] || (t[0] = (...i) => e.onClick && e.onClick(...i))
|
|
205
|
-
}, t[1] || (t[1] = [
|
|
198
|
+
}, t[1] || (t[1] = [s("path", {
|
|
206
199
|
d: "M18 26h1v1h-1v-1ZM29 26h1v1h-1v-1Z",
|
|
207
200
|
fill: "currentColor",
|
|
208
201
|
stroke: "none"
|
|
209
|
-
}, null, -1),
|
|
202
|
+
}, null, -1), s("path", {
|
|
210
203
|
d: "M24 7v6m0-6h5m-5 0h-5M3 21v11m36 8H9V13h30v29m6-21v11m-27-6h1v1h-1v-1Zm11 0h1v1h-1v-1Z"
|
|
211
|
-
}, null, -1)]), 14,
|
|
204
|
+
}, null, -1)]), 14, U);
|
|
212
205
|
}
|
|
213
|
-
var
|
|
214
|
-
const
|
|
206
|
+
var _ = /* @__PURE__ */ C(A, [["render", X]]);
|
|
207
|
+
const G = Object.assign(_, {
|
|
215
208
|
install: (e, t) => {
|
|
216
209
|
var n;
|
|
217
210
|
const o = (n = t == null ? void 0 : t.iconPrefix) != null ? n : "";
|
|
218
|
-
e.component(o +
|
|
211
|
+
e.component(o + _.name, _);
|
|
219
212
|
}
|
|
220
|
-
}),
|
|
213
|
+
}), J = /* @__PURE__ */ d({
|
|
221
214
|
__name: "FeedbackFloatButton",
|
|
222
215
|
props: {
|
|
223
216
|
active: {
|
|
@@ -239,39 +232,39 @@ const se = Object.assign(x, {
|
|
|
239
232
|
}
|
|
240
233
|
},
|
|
241
234
|
setup(e) {
|
|
242
|
-
const t = e, n =
|
|
235
|
+
const t = e, n = u(() => ({
|
|
243
236
|
bottom: `${t.offsetY}px`,
|
|
244
237
|
right: `${t.offsetY}px`,
|
|
245
238
|
fontSize: `${t.iconSize}px`
|
|
246
239
|
}));
|
|
247
|
-
return (o,
|
|
248
|
-
class:
|
|
240
|
+
return (o, r) => (a(), c("div", {
|
|
241
|
+
class: v(["float-button", {
|
|
249
242
|
active: e.active
|
|
250
243
|
}]),
|
|
251
|
-
style:
|
|
252
|
-
}, [
|
|
244
|
+
style: b(n.value)
|
|
245
|
+
}, [x(m(f(G), {
|
|
253
246
|
name: "Feedback/Help",
|
|
254
247
|
filled: "",
|
|
255
248
|
size: 18
|
|
256
|
-
}, null, 512), [[
|
|
249
|
+
}, null, 512), [[I, !e.active]]), x(m(f(Z), {
|
|
257
250
|
name: "Feedback/Close",
|
|
258
251
|
filled: "",
|
|
259
252
|
size: 18
|
|
260
|
-
}, null, 512), [[
|
|
253
|
+
}, null, 512), [[I, e.active]])], 6));
|
|
261
254
|
}
|
|
262
|
-
}),
|
|
255
|
+
}), K = /* @__PURE__ */ y(J, [["__scopeId", "data-v-f7b06b6d"]]), Q = {
|
|
263
256
|
class: "card"
|
|
264
|
-
},
|
|
257
|
+
}, ee = {
|
|
265
258
|
class: "content"
|
|
266
|
-
},
|
|
259
|
+
}, te = {
|
|
267
260
|
class: "header"
|
|
268
|
-
},
|
|
261
|
+
}, ne = {
|
|
269
262
|
class: "title"
|
|
270
|
-
},
|
|
263
|
+
}, oe = {
|
|
271
264
|
class: "description"
|
|
272
|
-
},
|
|
265
|
+
}, ie = {
|
|
273
266
|
class: "body"
|
|
274
|
-
},
|
|
267
|
+
}, se = /* @__PURE__ */ d({
|
|
275
268
|
__name: "FeedbackContainer",
|
|
276
269
|
props: {
|
|
277
270
|
title: {
|
|
@@ -290,7 +283,7 @@ const se = Object.assign(x, {
|
|
|
290
283
|
setup(e, {
|
|
291
284
|
expose: t
|
|
292
285
|
}) {
|
|
293
|
-
const n = e, o =
|
|
286
|
+
const n = e, o = F(!1), r = u(() => ({
|
|
294
287
|
padding: 0,
|
|
295
288
|
marginTop: 0,
|
|
296
289
|
"border-radius": "14px",
|
|
@@ -299,45 +292,45 @@ const se = Object.assign(x, {
|
|
|
299
292
|
backgroundRepeat: "no-repeat",
|
|
300
293
|
border: "0px solid"
|
|
301
294
|
}));
|
|
302
|
-
function
|
|
295
|
+
function l() {
|
|
303
296
|
o.value = !0;
|
|
304
297
|
}
|
|
305
|
-
function i(
|
|
298
|
+
function i(h) {
|
|
306
299
|
}
|
|
307
300
|
function p() {
|
|
308
301
|
o.value = !1;
|
|
309
302
|
}
|
|
310
303
|
return t({
|
|
311
304
|
show: o
|
|
312
|
-
}), (
|
|
305
|
+
}), (h, z) => (a(), L(f(M), {
|
|
313
306
|
"popup-visible": o.value,
|
|
314
|
-
"onUpdate:popupVisible":
|
|
307
|
+
"onUpdate:popupVisible": z[0] || (z[0] = (j) => o.value = j),
|
|
315
308
|
trigger: "click",
|
|
316
|
-
"content-style":
|
|
309
|
+
"content-style": r.value,
|
|
317
310
|
"arrow-style": {
|
|
318
311
|
display: "none"
|
|
319
312
|
},
|
|
320
313
|
position: "tr",
|
|
321
314
|
onPopupVisibleChange: i
|
|
322
315
|
}, {
|
|
323
|
-
content:
|
|
316
|
+
content: N(() => [s("div", Q, [s("div", ee, [s("div", te, [s("div", {
|
|
324
317
|
class: "headerCancel",
|
|
325
318
|
onClick: p
|
|
326
|
-
}, [
|
|
327
|
-
default:
|
|
319
|
+
}, [m(f(H))]), s("div", ne, k(n.title), 1), s("div", oe, k(n.description), 1)]), s("div", ie, [B(h.$slots, "default", {}, void 0, !0)])])])]),
|
|
320
|
+
default: N(() => [m(K, {
|
|
328
321
|
active: o.value,
|
|
329
|
-
onClick:
|
|
322
|
+
onClick: l
|
|
330
323
|
}, null, 8, ["active"])]),
|
|
331
324
|
_: 3
|
|
332
325
|
}, 8, ["popup-visible", "content-style"]));
|
|
333
326
|
}
|
|
334
|
-
}),
|
|
327
|
+
}), Ce = /* @__PURE__ */ y(se, [["__scopeId", "data-v-99bf36fb"]]), re = {
|
|
335
328
|
style: {
|
|
336
329
|
"margin-bottom": "10px",
|
|
337
330
|
display: "flex",
|
|
338
331
|
gap: "10px"
|
|
339
332
|
}
|
|
340
|
-
},
|
|
333
|
+
}, le = ["onClick"], ae = /* @__PURE__ */ d({
|
|
341
334
|
__name: "FeedbackCustomTabs",
|
|
342
335
|
props: {
|
|
343
336
|
modelValue: {
|
|
@@ -360,109 +353,31 @@ const se = Object.assign(x, {
|
|
|
360
353
|
emit: t
|
|
361
354
|
}) {
|
|
362
355
|
const n = e, o = t;
|
|
363
|
-
function
|
|
364
|
-
|
|
356
|
+
function r(l) {
|
|
357
|
+
l !== n.modelValue && (o("update:modelValue", l), o("change", l));
|
|
365
358
|
}
|
|
366
|
-
return (
|
|
359
|
+
return (l, i) => (a(), c("div", re, [(a(!0), c(V, null, q(e.tabs, (p) => (a(), c("span", {
|
|
367
360
|
key: p.key,
|
|
368
|
-
class:
|
|
361
|
+
class: v(["custom-tab", [{
|
|
369
362
|
active: e.modelValue === p.key
|
|
370
363
|
}]]),
|
|
371
|
-
onClick: (
|
|
372
|
-
},
|
|
373
|
-
}
|
|
374
|
-
}), Oe = /* @__PURE__ */ g(be, [["__scopeId", "data-v-c10f714b"]]), ye = {
|
|
375
|
-
class: "screenshots-upload"
|
|
376
|
-
}, he = /* @__PURE__ */ f({
|
|
377
|
-
__name: "FeedbackScreenshots",
|
|
378
|
-
props: {
|
|
379
|
-
urls: {
|
|
380
|
-
type: Array,
|
|
381
|
-
required: !0
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
emits: ["change"],
|
|
385
|
-
setup(e, {
|
|
386
|
-
emit: t
|
|
387
|
-
}) {
|
|
388
|
-
const n = e, o = t, s = q(null), a = m(() => n.urls.map((r) => ({
|
|
389
|
-
uid: r,
|
|
390
|
-
name: r.split("/").pop() || r,
|
|
391
|
-
url: r,
|
|
392
|
-
status: "done",
|
|
393
|
-
response: {
|
|
394
|
-
url: r
|
|
395
|
-
}
|
|
396
|
-
})));
|
|
397
|
-
function i(r) {
|
|
398
|
-
return new Promise((u, v) => {
|
|
399
|
-
const {
|
|
400
|
-
uploadFile: $
|
|
401
|
-
} = Z();
|
|
402
|
-
$({
|
|
403
|
-
bucketId: A.feedbackBucketId,
|
|
404
|
-
file: r,
|
|
405
|
-
onFileFinish(C, xe, P) {
|
|
406
|
-
u(P.Key);
|
|
407
|
-
},
|
|
408
|
-
onError(C) {
|
|
409
|
-
v(new Error("上传截图失败"));
|
|
410
|
-
}
|
|
411
|
-
});
|
|
412
|
-
});
|
|
413
|
-
}
|
|
414
|
-
async function p(r) {
|
|
415
|
-
const u = r.fileItem.file, v = await i(u);
|
|
416
|
-
o("change", {
|
|
417
|
-
key: v,
|
|
418
|
-
localUrl: URL.createObjectURL(u)
|
|
419
|
-
});
|
|
420
|
-
}
|
|
421
|
-
function k(r) {
|
|
422
|
-
var v;
|
|
423
|
-
const u = (v = r.clipboardData) == null ? void 0 : v.items;
|
|
424
|
-
if (u) {
|
|
425
|
-
for (const $ of u)
|
|
426
|
-
if ($.type.indexOf("image") !== -1) {
|
|
427
|
-
const C = $.getAsFile();
|
|
428
|
-
C && p({
|
|
429
|
-
fileItem: {
|
|
430
|
-
file: C
|
|
431
|
-
}
|
|
432
|
-
});
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
return D(() => {
|
|
437
|
-
window.addEventListener("paste", k);
|
|
438
|
-
}), E(() => {
|
|
439
|
-
window.removeEventListener("paste", k);
|
|
440
|
-
}), (r, u) => (c(), d("div", ye, [b(y(T), {
|
|
441
|
-
ref_key: "uploadRef",
|
|
442
|
-
ref: s,
|
|
443
|
-
"list-type": "picture",
|
|
444
|
-
"file-list": a.value,
|
|
445
|
-
"show-upload-list": !0,
|
|
446
|
-
"show-file-list": !0,
|
|
447
|
-
"image-preview": !0,
|
|
448
|
-
accept: "image/*",
|
|
449
|
-
"custom-request": p
|
|
450
|
-
}, null, 8, ["file-list"])]));
|
|
364
|
+
onClick: (h) => r(p.key)
|
|
365
|
+
}, k(p.label), 11, le))), 128))]));
|
|
451
366
|
}
|
|
452
|
-
}),
|
|
367
|
+
}), Se = /* @__PURE__ */ y(ae, [["__scopeId", "data-v-c10f714b"]]), ce = {
|
|
453
368
|
class: "operate-wrapper"
|
|
454
|
-
},
|
|
369
|
+
}, ue = {
|
|
455
370
|
class: "operate-item"
|
|
456
|
-
},
|
|
371
|
+
}, de = {
|
|
457
372
|
class: "icon"
|
|
458
|
-
},
|
|
373
|
+
}, pe = {
|
|
459
374
|
class: "title"
|
|
460
|
-
},
|
|
375
|
+
}, me = {
|
|
461
376
|
class: "feedback-info"
|
|
462
|
-
},
|
|
377
|
+
}, fe = {
|
|
463
378
|
key: 0,
|
|
464
379
|
class: "feedback-count"
|
|
465
|
-
},
|
|
380
|
+
}, ke = /* @__PURE__ */ d({
|
|
466
381
|
__name: "FeedbackItem",
|
|
467
382
|
props: {
|
|
468
383
|
title: {
|
|
@@ -481,15 +396,14 @@ const se = Object.assign(x, {
|
|
|
481
396
|
},
|
|
482
397
|
setup(e) {
|
|
483
398
|
const t = e;
|
|
484
|
-
return (n, o) => (
|
|
399
|
+
return (n, o) => (a(), c("div", ce, [s("div", ue, [s("div", de, [m(f(W), {
|
|
485
400
|
icon: t.icon
|
|
486
|
-
}, null, 8, ["icon"])]),
|
|
401
|
+
}, null, 8, ["icon"])]), s("p", pe, k(t.title), 1)]), s("div", me, [e.extra ? (a(), c("span", fe, k(e.extra), 1)) : P("", !0)])]));
|
|
487
402
|
}
|
|
488
|
-
}),
|
|
403
|
+
}), we = /* @__PURE__ */ y(ke, [["__scopeId", "data-v-28e45887"]]);
|
|
489
404
|
export {
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
Te as d
|
|
405
|
+
Ce as F,
|
|
406
|
+
Se as a,
|
|
407
|
+
K as b,
|
|
408
|
+
we as c
|
|
495
409
|
};
|