@huyooo/ui 0.6.4 → 0.6.6
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/{FeedbackItem-uW6HoVZA.js → FeedbackItem-r5WNpUmu.js} +1 -1
- package/dist/{FeedbackModal-BfDUEqAa.js → FeedbackModal-BmRx3EOj.js} +86 -86
- package/dist/{UserAccountMenu-CRvrcDGG.js → UserAccountMenu-DHDAWoPE.js} +1 -1
- package/dist/{WidthContainer-BPOjQcRc.js → WidthContainer-DzPQ94uA.js} +1 -1
- package/dist/common.js +1 -1
- package/dist/feedback.js +2 -2
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/dist/user.js +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { u as Z } from "./useUploadCos-EWMNJjRf.js";
|
|
11
11
|
import { g as A } from "./auth-bwwc2iT8.js";
|
|
12
|
-
import "./FeedbackModal-
|
|
12
|
+
import "./FeedbackModal-BmRx3EOj.js";
|
|
13
13
|
import { Icon as Y } from "@iconify/vue";
|
|
14
14
|
const H = f({
|
|
15
15
|
name: "IconDown",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { defineComponent as V, createElementBlock as _, openBlock as o, normalizeStyle as W, normalizeClass as de, createElementVNode as $, computed as
|
|
4
|
+
import { defineComponent as V, createElementBlock as _, openBlock as o, normalizeStyle as W, normalizeClass as de, createElementVNode as $, computed as E, createBlock as y, unref as a, withCtx as r, createVNode as u, createCommentVNode as L, Fragment as B, createTextVNode as F, toDisplayString as z, ref as v, onUnmounted as $e, h as te, renderList as J, nextTick as O } from "vue";
|
|
5
5
|
import { Space as pe, Image as fe, Avatar as me, Descriptions as Fe, DescriptionsItem as H, Tag as M, Spin as Ue, Button as Q, Form as Re, FormItem as j, Input as Le, Select as le, Option as ae, Textarea as Be, Message as ze, Breadcrumb as Ve, BreadcrumbItem as ne, Modal as qe, Drawer as Ae } from "@arco-design/web-vue";
|
|
6
6
|
import { M as De } from "./Menu-BjWB9hre.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
|
-
import { c as
|
|
11
|
+
import { c as N, g as q } from "./auth-bwwc2iT8.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
14
|
import { u as Ne } from "./useUploadCos-EWMNJjRf.js";
|
|
15
|
-
import { _ as
|
|
15
|
+
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
/* empty css */
|
|
17
17
|
import { f as T } from "./index-Bb-d5pBq.js";
|
|
18
18
|
import { C as Oe } from "./CustomTable-BCOwLyRJ.js";
|
|
19
|
-
import { Bubble as ve, Prompts as
|
|
19
|
+
import { Bubble as ve, Prompts as Ee, Sender as Pe } from "ant-design-x-vue";
|
|
20
20
|
import { C as ye } from "./Clipboard-BAn3vQlX.js";
|
|
21
21
|
import { Icon as je } from "@iconify/vue";
|
|
22
22
|
import { _ as ge, g as be, i as ke } from "./plugin-vue_export-helper-LjDO2Zua.js";
|
|
@@ -49,9 +49,9 @@ const Me = V({
|
|
|
49
49
|
setup(e, {
|
|
50
50
|
emit: l
|
|
51
51
|
}) {
|
|
52
|
-
const t = be("icon"), n =
|
|
52
|
+
const t = be("icon"), n = E(() => [t, `${t}-exclamation-circle`, {
|
|
53
53
|
[`${t}-spin`]: e.spin
|
|
54
|
-
}]), p =
|
|
54
|
+
}]), p = E(() => {
|
|
55
55
|
const s = {};
|
|
56
56
|
return e.size && (s.fontSize = ke(e.size) ? `${e.size}px` : e.size), e.rotate && (s.transform = `rotate(${e.rotate}deg)`), s;
|
|
57
57
|
});
|
|
@@ -116,9 +116,9 @@ const se = Object.assign(Y, {
|
|
|
116
116
|
setup(e, {
|
|
117
117
|
emit: l
|
|
118
118
|
}) {
|
|
119
|
-
const t = be("icon"), n =
|
|
119
|
+
const t = be("icon"), n = E(() => [t, `${t}-link`, {
|
|
120
120
|
[`${t}-spin`]: e.spin
|
|
121
|
-
}]), p =
|
|
121
|
+
}]), p = E(() => {
|
|
122
122
|
const s = {};
|
|
123
123
|
return e.size && (s.fontSize = ke(e.size) ? `${e.size}px` : e.size), e.rotate && (s.transform = `rotate(${e.rotate}deg)`), s;
|
|
124
124
|
});
|
|
@@ -162,7 +162,7 @@ const Ze = Object.assign(Z, {
|
|
|
162
162
|
icon: "mingcute:refresh-2-line"
|
|
163
163
|
}));
|
|
164
164
|
}
|
|
165
|
-
}), Je = /* @__PURE__ */
|
|
165
|
+
}), Je = /* @__PURE__ */ A(Ge, [["__scopeId", "data-v-33249ffb"]]), Qe = ["src"], Xe = /* @__PURE__ */ V({
|
|
166
166
|
__name: "FeedbackBubbleEnd",
|
|
167
167
|
props: {
|
|
168
168
|
value: {
|
|
@@ -239,7 +239,7 @@ const Ze = Object.assign(Z, {
|
|
|
239
239
|
_: 1
|
|
240
240
|
}, 8, ["style", "styles"]));
|
|
241
241
|
}
|
|
242
|
-
}), Xe = ["src"],
|
|
242
|
+
}), re = /* @__PURE__ */ A(Xe, [["__scopeId", "data-v-2e1b7acf"]]), et = ["src"], tt = /* @__PURE__ */ V({
|
|
243
243
|
__name: "FeedbackBubbleStart",
|
|
244
244
|
props: {
|
|
245
245
|
value: {
|
|
@@ -285,7 +285,7 @@ const Ze = Object.assign(Z, {
|
|
|
285
285
|
default: r(() => [$("img", {
|
|
286
286
|
alt: "avatar",
|
|
287
287
|
src: t.avatarUrl
|
|
288
|
-
}, null, 8,
|
|
288
|
+
}, null, 8, et)]),
|
|
289
289
|
_: 1
|
|
290
290
|
})]),
|
|
291
291
|
message: r(() => [t.type === "text" ? (o(), _(B, {
|
|
@@ -306,36 +306,36 @@ const Ze = Object.assign(Z, {
|
|
|
306
306
|
_: 1
|
|
307
307
|
}, 8, ["style", "styles"]));
|
|
308
308
|
}
|
|
309
|
-
}), b = [];
|
|
309
|
+
}), oe = /* @__PURE__ */ A(tt, [["__scopeId", "data-v-37150f19"]]), b = [];
|
|
310
310
|
for (let e = 0; e < 256; ++e)
|
|
311
311
|
b.push((e + 256).toString(16).slice(1));
|
|
312
|
-
function
|
|
312
|
+
function lt(e, l = 0) {
|
|
313
313
|
return (b[e[l + 0]] + b[e[l + 1]] + b[e[l + 2]] + b[e[l + 3]] + "-" + b[e[l + 4]] + b[e[l + 5]] + "-" + b[e[l + 6]] + b[e[l + 7]] + "-" + b[e[l + 8]] + b[e[l + 9]] + "-" + b[e[l + 10]] + b[e[l + 11]] + b[e[l + 12]] + b[e[l + 13]] + b[e[l + 14]] + b[e[l + 15]]).toLowerCase();
|
|
314
314
|
}
|
|
315
315
|
let G;
|
|
316
|
-
const
|
|
317
|
-
function
|
|
316
|
+
const at = new Uint8Array(16);
|
|
317
|
+
function nt() {
|
|
318
318
|
if (!G) {
|
|
319
319
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
320
320
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
321
321
|
G = crypto.getRandomValues.bind(crypto);
|
|
322
322
|
}
|
|
323
|
-
return G(
|
|
323
|
+
return G(at);
|
|
324
324
|
}
|
|
325
|
-
const
|
|
326
|
-
randomUUID:
|
|
325
|
+
const st = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ie = {
|
|
326
|
+
randomUUID: st
|
|
327
327
|
};
|
|
328
328
|
function ue(e, l, t) {
|
|
329
329
|
var p;
|
|
330
330
|
if (ie.randomUUID && !e)
|
|
331
331
|
return ie.randomUUID();
|
|
332
332
|
e = e || {};
|
|
333
|
-
const n = e.random ?? ((p = e.rng) == null ? void 0 : p.call(e)) ??
|
|
333
|
+
const n = e.random ?? ((p = e.rng) == null ? void 0 : p.call(e)) ?? nt();
|
|
334
334
|
if (n.length < 16)
|
|
335
335
|
throw new Error("Random bytes length must be >= 16");
|
|
336
|
-
return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128,
|
|
336
|
+
return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, lt(n);
|
|
337
337
|
}
|
|
338
|
-
function
|
|
338
|
+
function rt(e, l = {}) {
|
|
339
339
|
const {
|
|
340
340
|
interval: t = 2e3,
|
|
341
341
|
immediate: n = !1,
|
|
@@ -371,43 +371,43 @@ function nt(e, l = {}) {
|
|
|
371
371
|
restart: g
|
|
372
372
|
};
|
|
373
373
|
}
|
|
374
|
-
function
|
|
375
|
-
return
|
|
374
|
+
function ot(e) {
|
|
375
|
+
return N({
|
|
376
376
|
url: `${q.prefixUrl}/restfulApi/feedbackCenter/create`,
|
|
377
377
|
method: "post",
|
|
378
378
|
data: e
|
|
379
379
|
});
|
|
380
380
|
}
|
|
381
|
-
function
|
|
382
|
-
return
|
|
381
|
+
function it(e) {
|
|
382
|
+
return N({
|
|
383
383
|
url: `${q.prefixUrl}/restfulApi/feedbackCenter/findOne`,
|
|
384
384
|
method: "post",
|
|
385
385
|
data: e
|
|
386
386
|
});
|
|
387
387
|
}
|
|
388
|
-
function
|
|
389
|
-
return
|
|
388
|
+
function ut(e) {
|
|
389
|
+
return N({
|
|
390
390
|
url: `${q.prefixUrl}/restfulApi/feedbackCenter/own`,
|
|
391
391
|
method: "post",
|
|
392
392
|
data: e
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
function ce(e) {
|
|
396
|
-
return
|
|
396
|
+
return N({
|
|
397
397
|
url: `${q.prefixUrl}/restfulApi/feedbackCenter/update/messages`,
|
|
398
398
|
method: "post",
|
|
399
399
|
data: e
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
return
|
|
402
|
+
function ct(e) {
|
|
403
|
+
return N({
|
|
404
404
|
url: `${q.prefixUrl}/restfulApi/messages/list/incremental`,
|
|
405
405
|
method: "post",
|
|
406
406
|
data: e
|
|
407
407
|
});
|
|
408
408
|
}
|
|
409
|
-
function
|
|
410
|
-
return
|
|
409
|
+
function dt(e) {
|
|
410
|
+
return N({
|
|
411
411
|
url: `${q.prefixUrl}/restfulApi/messages/list`,
|
|
412
412
|
method: "post",
|
|
413
413
|
data: e
|
|
@@ -425,7 +425,7 @@ const X = [{
|
|
|
425
425
|
}, {
|
|
426
426
|
key: "generalOpinions",
|
|
427
427
|
label: "一般意见"
|
|
428
|
-
}],
|
|
428
|
+
}], pt = [{
|
|
429
429
|
key: "urgent",
|
|
430
430
|
label: "紧急"
|
|
431
431
|
}, {
|
|
@@ -446,16 +446,16 @@ const X = [{
|
|
|
446
446
|
}, {
|
|
447
447
|
key: "done",
|
|
448
448
|
label: "已解决"
|
|
449
|
-
}],
|
|
449
|
+
}], ft = {
|
|
450
450
|
class: "FeedBackDetails"
|
|
451
|
-
},
|
|
451
|
+
}, mt = {
|
|
452
452
|
class: "content"
|
|
453
|
-
},
|
|
453
|
+
}, vt = {
|
|
454
454
|
key: 1,
|
|
455
455
|
class: "Bubbles"
|
|
456
|
-
},
|
|
456
|
+
}, yt = {
|
|
457
457
|
class: "sender-container"
|
|
458
|
-
},
|
|
458
|
+
}, gt = /* @__PURE__ */ V({
|
|
459
459
|
__name: "FeedbackDetails",
|
|
460
460
|
props: {
|
|
461
461
|
id: {
|
|
@@ -497,7 +497,7 @@ const X = [{
|
|
|
497
497
|
var d;
|
|
498
498
|
(d = i.value) == null || d.focus({
|
|
499
499
|
cursor: "end"
|
|
500
|
-
}),
|
|
500
|
+
}), O(() => {
|
|
501
501
|
s.value && (s.value.scrollTop = s.value.scrollHeight);
|
|
502
502
|
});
|
|
503
503
|
}, c = e;
|
|
@@ -517,14 +517,14 @@ const X = [{
|
|
|
517
517
|
} = Ne(), w = document.createElement("input");
|
|
518
518
|
w.type = "file", w.accept = "image/*", w.style.display = "none", document.body.append(w), w.addEventListener("change", async (f) => {
|
|
519
519
|
var ee;
|
|
520
|
-
const
|
|
521
|
-
if (
|
|
520
|
+
const D = (ee = f.target.files) == null ? void 0 : ee[0];
|
|
521
|
+
if (D) {
|
|
522
522
|
n.value = !0;
|
|
523
523
|
try {
|
|
524
524
|
d({
|
|
525
525
|
bucketId: q.feedbackBucketId,
|
|
526
|
-
file:
|
|
527
|
-
onFileFinish(xe,
|
|
526
|
+
file: D,
|
|
527
|
+
onFileFinish(xe, Rt, we) {
|
|
528
528
|
const Se = {
|
|
529
529
|
messageId: ue(),
|
|
530
530
|
senderRole: c.senderRole,
|
|
@@ -537,7 +537,7 @@ const X = [{
|
|
|
537
537
|
ce(Ie).then(({
|
|
538
538
|
data: K
|
|
539
539
|
}) => {
|
|
540
|
-
C.value.push(K.message), typeof K.message.seq == "number" && (R.value = K.message.seq),
|
|
540
|
+
C.value.push(K.message), typeof K.message.seq == "number" && (R.value = K.message.seq), O(() => {
|
|
541
541
|
h();
|
|
542
542
|
}), n.value = !1, c.senderRole === "support" && U.value.status === "newFeedback" && I();
|
|
543
543
|
}).catch(() => {
|
|
@@ -562,14 +562,14 @@ const X = [{
|
|
|
562
562
|
senderRole: c.senderRole,
|
|
563
563
|
type: "text",
|
|
564
564
|
content: d
|
|
565
|
-
},
|
|
565
|
+
}, P = {
|
|
566
566
|
id: c.id,
|
|
567
567
|
message: f
|
|
568
568
|
};
|
|
569
|
-
ce(
|
|
570
|
-
data:
|
|
569
|
+
ce(P).then(({
|
|
570
|
+
data: D
|
|
571
571
|
}) => {
|
|
572
|
-
n.value = !1, C.value.push(
|
|
572
|
+
n.value = !1, C.value.push(D.message), typeof D.message.seq == "number" && (R.value = D.message.seq), O(() => {
|
|
573
573
|
h();
|
|
574
574
|
}), t.value = "", c.senderRole === "support" && U.value.status === "newFeedback" && I();
|
|
575
575
|
}).catch(() => {
|
|
@@ -580,7 +580,7 @@ const X = [{
|
|
|
580
580
|
S(t.value);
|
|
581
581
|
}
|
|
582
582
|
function I() {
|
|
583
|
-
g.value = !0,
|
|
583
|
+
g.value = !0, it({
|
|
584
584
|
id: c.id
|
|
585
585
|
}).then(async ({
|
|
586
586
|
data: d
|
|
@@ -591,35 +591,35 @@ const X = [{
|
|
|
591
591
|
});
|
|
592
592
|
}
|
|
593
593
|
function he() {
|
|
594
|
-
|
|
594
|
+
ct({
|
|
595
595
|
id: c.id,
|
|
596
596
|
lastSeq: R.value
|
|
597
597
|
}).then(async ({
|
|
598
598
|
data: d
|
|
599
599
|
}) => {
|
|
600
|
-
d && d.messages && d.messages.length > 0 && (C.value.push(...d.messages), R.value = d.messages.at(-1).seq,
|
|
600
|
+
d && d.messages && d.messages.length > 0 && (C.value.push(...d.messages), R.value = d.messages.at(-1).seq, O(() => {
|
|
601
601
|
h();
|
|
602
602
|
}));
|
|
603
603
|
}).catch(() => {
|
|
604
604
|
});
|
|
605
605
|
}
|
|
606
606
|
function Ce() {
|
|
607
|
-
g.value = !0,
|
|
607
|
+
g.value = !0, dt({
|
|
608
608
|
id: c.id
|
|
609
609
|
}).then(async ({
|
|
610
610
|
data: d
|
|
611
611
|
}) => {
|
|
612
|
-
g.value = !1, d && d.messages && d.messages.length > 0 && (C.value.push(...d.messages), R.value = d.messages.at(-1).seq,
|
|
612
|
+
g.value = !1, d && d.messages && d.messages.length > 0 && (C.value.push(...d.messages), R.value = d.messages.at(-1).seq, O(() => {
|
|
613
613
|
h();
|
|
614
614
|
}));
|
|
615
615
|
}).catch(() => {
|
|
616
616
|
g.value = !1;
|
|
617
617
|
});
|
|
618
618
|
}
|
|
619
|
-
return
|
|
619
|
+
return rt(he, {
|
|
620
620
|
interval: 2e3,
|
|
621
621
|
autoStart: !0
|
|
622
|
-
}), I(), Ce(), (d, w) => (o(), _("div",
|
|
622
|
+
}), I(), Ce(), (d, w) => (o(), _("div", ft, [$("div", {
|
|
623
623
|
ref_key: "scrollableContentRef",
|
|
624
624
|
ref: s,
|
|
625
625
|
class: "scrollable-content"
|
|
@@ -665,21 +665,21 @@ const X = [{
|
|
|
665
665
|
_: 1
|
|
666
666
|
})]),
|
|
667
667
|
_: 1
|
|
668
|
-
}), $("div",
|
|
668
|
+
}), $("div", mt, [w[2] || (w[2] = $("div", {
|
|
669
669
|
class: "title"
|
|
670
670
|
}, "沟通记录", -1)), u(a(Ue), {
|
|
671
671
|
class: "messageContent",
|
|
672
672
|
loading: g.value
|
|
673
673
|
}, {
|
|
674
|
-
default: r(() => [C.value.length == 0 ? (o(), y(a(
|
|
674
|
+
default: r(() => [C.value.length == 0 ? (o(), y(a(Ee), {
|
|
675
675
|
key: 0,
|
|
676
676
|
title: "☕️ 温馨提示!",
|
|
677
677
|
items: p,
|
|
678
678
|
wrap: "",
|
|
679
679
|
vertical: !1,
|
|
680
680
|
onOnItemClick: m
|
|
681
|
-
})) : (o(), _("div",
|
|
682
|
-
key:
|
|
681
|
+
})) : (o(), _("div", vt, [(o(!0), _(B, null, J(C.value, (f, P) => (o(), _(B, {
|
|
682
|
+
key: P
|
|
683
683
|
}, [f.type === "text" ? (o(), _(B, {
|
|
684
684
|
key: 0
|
|
685
685
|
}, [f.senderRole !== c.senderRole ? (o(), y(oe, {
|
|
@@ -707,7 +707,7 @@ const X = [{
|
|
|
707
707
|
"avatar-url": f.senderInfo.avatarUrl
|
|
708
708
|
}, null, 8, ["type", "value", "avatar-url"]))], 64))], 64))), 128))]))]),
|
|
709
709
|
_: 1
|
|
710
|
-
}, 8, ["loading"])])], 512), $("div",
|
|
710
|
+
}, 8, ["loading"])])], 512), $("div", yt, [u(a(Pe), {
|
|
711
711
|
ref_key: "senderRef",
|
|
712
712
|
ref: i,
|
|
713
713
|
value: t.value,
|
|
@@ -729,9 +729,9 @@ const X = [{
|
|
|
729
729
|
_: 1
|
|
730
730
|
}, 8, ["value", "loading", "read-only"])])]));
|
|
731
731
|
}
|
|
732
|
-
}),
|
|
732
|
+
}), bt = /* @__PURE__ */ A(gt, [["__scopeId", "data-v-b0305c72"]]), kt = {
|
|
733
733
|
class: "FeedBackFrom"
|
|
734
|
-
},
|
|
734
|
+
}, _t = /* @__PURE__ */ V({
|
|
735
735
|
__name: "FeedbackForm",
|
|
736
736
|
emits: ["confirm"],
|
|
737
737
|
setup(e, {
|
|
@@ -748,7 +748,7 @@ const X = [{
|
|
|
748
748
|
v([]);
|
|
749
749
|
function s() {
|
|
750
750
|
n.value.validate().then((h) => {
|
|
751
|
-
h || (p.value = !0,
|
|
751
|
+
h || (p.value = !0, ot({
|
|
752
752
|
title: i.value.title,
|
|
753
753
|
type: i.value.type,
|
|
754
754
|
priority: i.value.priority,
|
|
@@ -761,7 +761,7 @@ const X = [{
|
|
|
761
761
|
}));
|
|
762
762
|
});
|
|
763
763
|
}
|
|
764
|
-
return (h, c) => (o(), _("div",
|
|
764
|
+
return (h, c) => (o(), _("div", kt, [u(a(Re), {
|
|
765
765
|
ref_key: "formRef",
|
|
766
766
|
ref: n,
|
|
767
767
|
model: i.value,
|
|
@@ -818,7 +818,7 @@ const X = [{
|
|
|
818
818
|
"onUpdate:modelValue": c[2] || (c[2] = (m) => i.value.priority = m),
|
|
819
819
|
placeholder: "请选择优先级"
|
|
820
820
|
}, {
|
|
821
|
-
default: r(() => [(o(!0), _(B, null, J(a(
|
|
821
|
+
default: r(() => [(o(!0), _(B, null, J(a(pt), (m, g) => (o(), y(a(ae), {
|
|
822
822
|
key: g,
|
|
823
823
|
value: m.key
|
|
824
824
|
}, {
|
|
@@ -857,12 +857,12 @@ const X = [{
|
|
|
857
857
|
_: 1
|
|
858
858
|
}, 8, ["model"])]));
|
|
859
859
|
}
|
|
860
|
-
}),
|
|
860
|
+
}), ht = /* @__PURE__ */ A(_t, [["__scopeId", "data-v-2f79c0a9"]]), Ct = {
|
|
861
861
|
class: "messages"
|
|
862
|
-
},
|
|
862
|
+
}, xt = {
|
|
863
863
|
key: 1,
|
|
864
864
|
class: "list"
|
|
865
|
-
},
|
|
865
|
+
}, wt = /* @__PURE__ */ V({
|
|
866
866
|
__name: "FeedbackList",
|
|
867
867
|
emits: ["toDetail"],
|
|
868
868
|
setup(e, {
|
|
@@ -923,7 +923,7 @@ const X = [{
|
|
|
923
923
|
return k === "inProgress" ? "orangered" : k === "done" ? "green" : "arcoblue";
|
|
924
924
|
}
|
|
925
925
|
function C() {
|
|
926
|
-
p.value = !0,
|
|
926
|
+
p.value = !0, ut({
|
|
927
927
|
current: s.value.current,
|
|
928
928
|
pageSize: s.value.pageSize
|
|
929
929
|
}).then(async ({
|
|
@@ -939,7 +939,7 @@ const X = [{
|
|
|
939
939
|
}, U = (k) => {
|
|
940
940
|
s.value.current = 1, s.value.pageSize = k, C();
|
|
941
941
|
};
|
|
942
|
-
return C(), (k, S) => (o(), _("div",
|
|
942
|
+
return C(), (k, S) => (o(), _("div", Ct, [t.value ? L("", !0) : (o(), y(a(Ve), {
|
|
943
943
|
key: 0,
|
|
944
944
|
style: {
|
|
945
945
|
"margin-bottom": "10px",
|
|
@@ -963,7 +963,7 @@ const X = [{
|
|
|
963
963
|
_: 1
|
|
964
964
|
})]),
|
|
965
965
|
_: 1
|
|
966
|
-
})), t.value ? (o(), _("div",
|
|
966
|
+
})), t.value ? (o(), _("div", xt, [u(Oe, {
|
|
967
967
|
columns: m,
|
|
968
968
|
data: n.value,
|
|
969
969
|
loading: p.value,
|
|
@@ -1003,19 +1003,19 @@ const X = [{
|
|
|
1003
1003
|
_: 1
|
|
1004
1004
|
}, 8, ["onClick"])]),
|
|
1005
1005
|
_: 1
|
|
1006
|
-
}, 8, ["data", "loading", "pagination"])])) : (o(), y(
|
|
1006
|
+
}, 8, ["data", "loading", "pagination"])])) : (o(), y(bt, {
|
|
1007
1007
|
key: 2,
|
|
1008
1008
|
id: i.value,
|
|
1009
1009
|
"sender-role": "user"
|
|
1010
1010
|
}, null, 8, ["id"]))]));
|
|
1011
1011
|
}
|
|
1012
|
-
}),
|
|
1012
|
+
}), St = /* @__PURE__ */ A(wt, [["__scopeId", "data-v-08318fc7"]]), It = {
|
|
1013
1013
|
class: "content"
|
|
1014
|
-
},
|
|
1014
|
+
}, $t = {
|
|
1015
1015
|
class: "left"
|
|
1016
|
-
},
|
|
1016
|
+
}, Ft = {
|
|
1017
1017
|
class: "right"
|
|
1018
|
-
},
|
|
1018
|
+
}, Ut = /* @__PURE__ */ V({
|
|
1019
1019
|
__name: "FeedbackModal",
|
|
1020
1020
|
emits: ["confirm", "cancel"],
|
|
1021
1021
|
setup(e, {
|
|
@@ -1038,7 +1038,7 @@ const X = [{
|
|
|
1038
1038
|
meta: {
|
|
1039
1039
|
icon: "mingcute:cube-3d-fill"
|
|
1040
1040
|
}
|
|
1041
|
-
}]), m = v(!1), g =
|
|
1041
|
+
}]), m = v(!1), g = E(() => s.value.length !== 0 ? s.value[0] : "");
|
|
1042
1042
|
function C() {
|
|
1043
1043
|
s.value = ["FeedbackList"];
|
|
1044
1044
|
}
|
|
@@ -1067,14 +1067,14 @@ const X = [{
|
|
|
1067
1067
|
}, {
|
|
1068
1068
|
default: r(() => [n.value ? (o(), _(B, {
|
|
1069
1069
|
key: 0
|
|
1070
|
-
}, [$("div",
|
|
1070
|
+
}, [$("div", It, [$("div", $t, [u(De, {
|
|
1071
1071
|
"selected-keys": s.value,
|
|
1072
1072
|
"onUpdate:selectedKeys": x[0] || (x[0] = (I) => s.value = I),
|
|
1073
1073
|
menus: c.value,
|
|
1074
1074
|
onChange: U
|
|
1075
|
-
}, null, 8, ["selected-keys", "menus"])]), $("div",
|
|
1075
|
+
}, null, 8, ["selected-keys", "menus"])]), $("div", Ft, [g.value === "FeedbackList" ? (o(), y(St, {
|
|
1076
1076
|
key: 0
|
|
1077
|
-
})) : L("", !0), g.value === "CreateFeedback" ? (o(), y(
|
|
1077
|
+
})) : L("", !0), g.value === "CreateFeedback" ? (o(), y(ht, {
|
|
1078
1078
|
key: 1,
|
|
1079
1079
|
onConfirm: C
|
|
1080
1080
|
})) : L("", !0)])]), u(a(Ae), {
|
|
@@ -1091,13 +1091,13 @@ const X = [{
|
|
|
1091
1091
|
_: 1
|
|
1092
1092
|
}, 8, ["visible"]));
|
|
1093
1093
|
}
|
|
1094
|
-
}),
|
|
1094
|
+
}), el = /* @__PURE__ */ A(Ut, [["__scopeId", "data-v-fac2fc97"]]);
|
|
1095
1095
|
export {
|
|
1096
|
-
|
|
1096
|
+
re as B,
|
|
1097
|
+
bt as F,
|
|
1097
1098
|
Je as R,
|
|
1098
|
-
re as _,
|
|
1099
1099
|
oe as a,
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1100
|
+
ht as b,
|
|
1101
|
+
St as c,
|
|
1102
|
+
el as d
|
|
1103
1103
|
};
|
|
@@ -9,7 +9,7 @@ import { R as Ne } from "./ReferrerReferees-CnYkGC5r.js";
|
|
|
9
9
|
import { a as N, u as Le } from "./useAuthkitUsersProfile-hZ9L3rYe.js";
|
|
10
10
|
import { u as je, g as oe } from "./auth-bwwc2iT8.js";
|
|
11
11
|
import { c as He, A as Fe } from "./AuthkitAuthModal-GorxR6ZJ.js";
|
|
12
|
-
import { d as qe } from "./FeedbackModal-
|
|
12
|
+
import { d as qe } from "./FeedbackModal-BmRx3EOj.js";
|
|
13
13
|
import { M as Ee } from "./MessageHandle-BlsLRmdj.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
@@ -10,7 +10,7 @@ import "./useUploadCos-EWMNJjRf.js";
|
|
|
10
10
|
import { useRouter as j, useRoute as J } from "vue-router";
|
|
11
11
|
/* empty css */
|
|
12
12
|
/* empty css */
|
|
13
|
-
import { d as re, c as Q } from "./UserAccountMenu-
|
|
13
|
+
import { d as re, c as Q } from "./UserAccountMenu-DHDAWoPE.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
16
16
|
/* empty css */
|
package/dist/common.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, a as o, C as t, D as r, G as p, H as n, b as l, L as u, S as C, W as d } from "./WidthContainer-
|
|
1
|
+
import { A as s, a as o, C as t, D as r, G as p, H as n, b as l, L as u, S as C, W as d } from "./WidthContainer-DzPQ94uA.js";
|
|
2
2
|
import { C as i, a as f } from "./CollapseItem-Cw1vcdLu.js";
|
|
3
3
|
import { C as x, E as H } from "./CustomTable-BCOwLyRJ.js";
|
|
4
4
|
import { M, a as g } from "./Menu-BjWB9hre.js";
|
package/dist/feedback.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { B as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-BmRx3EOj.js";
|
|
2
2
|
import { C as r } from "./Clipboard-BAn3vQlX.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-r5WNpUmu.js";
|
|
4
4
|
export {
|
|
5
5
|
r as Clipboard,
|
|
6
6
|
b as FeedbackBubbleEnd,
|
package/dist/index.js
CHANGED
|
@@ -13,19 +13,19 @@ import { A as z3, a as j3, c as q3, b as K3, n as J3, E as Q3, k as X3, l as Y3,
|
|
|
13
13
|
import { A as L4, a as y4, c as w4, d as F4, b as M4, b as k4, f as v4, e as x4 } from "./AuthkitSignInPhone-CLW_u8AY.js";
|
|
14
14
|
import { I as Z4, A as V4, C as E4, _ as U4, a as A4, D as S4, E as b4, b as G4, M as D4, c as P4, N as T4, f as O4, d as B4, e as I4 } from "./MessageHandle-BlsLRmdj.js";
|
|
15
15
|
import { M as N4, a as W4 } from "./MessageMenu-_RZJ9Mbi.js";
|
|
16
|
-
import {
|
|
16
|
+
import { B as z4, a as j4, F as q4, b as K4, c as J4, d as Q4, R as X4 } from "./FeedbackModal-BmRx3EOj.js";
|
|
17
17
|
import { C as e6 } from "./Clipboard-BAn3vQlX.js";
|
|
18
|
-
import { F as o6, a as s6, c as a6, b as i6, d as n6 } from "./FeedbackItem-
|
|
18
|
+
import { F as o6, a as s6, c as a6, b as i6, d as n6 } from "./FeedbackItem-r5WNpUmu.js";
|
|
19
19
|
import { L as c6, a as l6, b as C6, c as d6, B as p6, C as f6, d as h6, e as u6, x as _6, y as g6, f as m6, g as L6, z as y6, h as w6, i as F6, j as M6, k as k6, l as v6, m as x6, n as H6, D as Z6, o as V6, p as E6, q as U6, r as A6, s as S6, T as b6, t as G6, A as D6, u as P6, v as T6, w as O6 } from "./LandingPageSectionTabs-DYNXKElT.js";
|
|
20
20
|
import { L as I6, a as $6, b as N6, c as W6, D as R6, d as z6, e as j6, f as q6, g as K6, h as J6, i as Q6, j as X6, k as Y6, l as e7, m as t7, n as o7 } from "./LandingPageSectionHeader-BU7Qtxaj.js";
|
|
21
|
-
import { A as a7, a as i7, C as n7, D as r7, G as c7, H as l7, b as C7, L as d7, S as p7, W as f7 } from "./WidthContainer-
|
|
21
|
+
import { A as a7, a as i7, C as n7, D as r7, G as c7, H as l7, b as C7, L as d7, S as p7, W as f7 } from "./WidthContainer-DzPQ94uA.js";
|
|
22
22
|
import { C as u7, a as _7 } from "./CollapseItem-Cw1vcdLu.js";
|
|
23
23
|
import { C as m7, E as L7 } from "./CustomTable-BCOwLyRJ.js";
|
|
24
24
|
import { M as w7, a as F7 } from "./Menu-BjWB9hre.js";
|
|
25
25
|
import { S as k7 } from "./PaySubscriptions-C9LA8ZeX.js";
|
|
26
26
|
import { R as x7 } from "./ReferrerReferees-CnYkGC5r.js";
|
|
27
27
|
import { _ as Z7 } from "./Upload.vue_vue_type_script_setup_true_lang-BkqyMwbd.js";
|
|
28
|
-
import { d as E7, U as U7, a as A7, b as S7, c as b7, S as G7 } from "./UserAccountMenu-
|
|
28
|
+
import { d as E7, U as U7, a as A7, b as S7, c as b7, S as G7 } from "./UserAccountMenu-DHDAWoPE.js";
|
|
29
29
|
import { defineComponent as V, computed as U, createElementBlock as L, openBlock as g, normalizeStyle as g2, normalizeClass as o2, createElementVNode as d, createCommentVNode as x, toDisplayString as k, createVNode as Z, unref as H, createTextVNode as s2, withModifiers as a2, renderSlot as m2, withCtx as W, Fragment as T, renderList as O, createBlock as G, onMounted as i2, ref as $, watch as L2, onUnmounted as y2, withDirectives as w2, createStaticVNode as F2, vShow as M2 } from "vue";
|
|
30
30
|
import { Icon as A } from "@iconify/vue";
|
|
31
31
|
import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|