@huyooo/ui 0.4.12 → 0.4.13
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/{FeedbackFeedBackItem-D1JwJFBF.js → FeedbackItem-oNJcZir4.js} +82 -82
- package/dist/{FeedbackFeedBackModal-DOocV38w.js → FeedbackModal-QpDXtZBf.js} +42 -42
- package/dist/{UserPanel-DhGzInt8.js → UserPanel-CsWfMpZO.js} +2 -2
- package/dist/common.js +1 -1
- package/dist/feedback.d.ts +6 -6
- package/dist/feedback.js +14 -14
- package/dist/index.js +87 -87
- package/dist/style.css +1 -1
- package/dist/user.js +1 -1
- package/package.json +1 -1
- /package/dist/components/Feedback/{FeedbackFeedBack.vue.d.ts → FeedbackContainer.vue.d.ts} +0 -0
- /package/dist/components/Feedback/{FeedbackFeedBackDetails.vue.d.ts → FeedbackDetails.vue.d.ts} +0 -0
- /package/dist/components/Feedback/{FeedbackFeedBackFrom.vue.d.ts → FeedbackForm.vue.d.ts} +0 -0
- /package/dist/components/Feedback/{FeedbackFeedBackItem.vue.d.ts → FeedbackItem.vue.d.ts} +0 -0
- /package/dist/components/Feedback/{FeedbackFeedBackList.vue.d.ts → FeedbackList.vue.d.ts} +0 -0
- /package/dist/components/Feedback/{FeedbackFeedBackModal.vue.d.ts → FeedbackModal.vue.d.ts} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as f, createElementBlock as d, openBlock as c, normalizeStyle as w, normalizeClass as h, createElementVNode as a, computed as m, Fragment as U, renderList as P, toDisplayString as g, withDirectives as q, createVNode as b, unref as y, vShow as B, ref as N, createBlock as V, withCtx as j, renderSlot as M, onMounted as D, onBeforeUnmount as E, createCommentVNode as W } from "vue";
|
|
2
|
-
import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
1
|
/* empty css */
|
|
4
2
|
/* empty css */
|
|
3
|
+
import { defineComponent as f, createElementBlock as d, openBlock as c, normalizeStyle as C, normalizeClass as h, createElementVNode as a, computed as m, withDirectives as F, createVNode as b, unref as y, vShow as j, ref as B, createBlock as U, withCtx as N, toDisplayString as g, renderSlot as P, Fragment as V, renderList as M, onMounted as D, onBeforeUnmount as E, createCommentVNode as W } from "vue";
|
|
5
4
|
import { Popover as O, Upload as T } from "@arco-design/web-vue";
|
|
6
|
-
import { _ as x, g as
|
|
5
|
+
import { _ as x, g as L, i as q } from "./plugin-vue_export-helper-LjDO2Zua.js";
|
|
6
|
+
import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { u as Z } from "./useUploadCos-B8D9lYIk.js";
|
|
11
|
-
import "./
|
|
11
|
+
import "./FeedbackModal-QpDXtZBf.js";
|
|
12
12
|
import { Icon as A } from "@iconify/vue";
|
|
13
13
|
const Y = f({
|
|
14
14
|
name: "IconDown",
|
|
@@ -39,11 +39,11 @@ const Y = f({
|
|
|
39
39
|
setup(e, {
|
|
40
40
|
emit: t
|
|
41
41
|
}) {
|
|
42
|
-
const n =
|
|
42
|
+
const n = L("icon"), o = m(() => [n, `${n}-down`, {
|
|
43
43
|
[`${n}-spin`]: e.spin
|
|
44
44
|
}]), r = m(() => {
|
|
45
45
|
const i = {};
|
|
46
|
-
return e.size && (i.fontSize =
|
|
46
|
+
return e.size && (i.fontSize = q(e.size) ? `${e.size}px` : e.size), e.rotate && (i.transform = `rotate(${e.rotate}deg)`), i;
|
|
47
47
|
});
|
|
48
48
|
return {
|
|
49
49
|
cls: o,
|
|
@@ -61,7 +61,7 @@ function K(e, t, n, o, r, l) {
|
|
|
61
61
|
xmlns: "http://www.w3.org/2000/svg",
|
|
62
62
|
stroke: "currentColor",
|
|
63
63
|
class: h(e.cls),
|
|
64
|
-
style:
|
|
64
|
+
style: C(e.innerStyle),
|
|
65
65
|
"stroke-width": e.strokeWidth,
|
|
66
66
|
"stroke-linecap": e.strokeLinecap,
|
|
67
67
|
"stroke-linejoin": e.strokeLinejoin,
|
|
@@ -70,12 +70,12 @@ function K(e, t, n, o, r, l) {
|
|
|
70
70
|
d: "M39.6 17.443 24.043 33 8.487 17.443"
|
|
71
71
|
}, null, -1)]), 14, H);
|
|
72
72
|
}
|
|
73
|
-
var
|
|
74
|
-
const X = Object.assign(
|
|
73
|
+
var w = /* @__PURE__ */ x(Y, [["render", K]]);
|
|
74
|
+
const X = Object.assign(w, {
|
|
75
75
|
install: (e, t) => {
|
|
76
76
|
var n;
|
|
77
77
|
const o = (n = t == null ? void 0 : t.iconPrefix) != null ? n : "";
|
|
78
|
-
e.component(o +
|
|
78
|
+
e.component(o + w.name, w);
|
|
79
79
|
}
|
|
80
80
|
}), G = f({
|
|
81
81
|
name: "IconClose",
|
|
@@ -106,11 +106,11 @@ const X = Object.assign(C, {
|
|
|
106
106
|
setup(e, {
|
|
107
107
|
emit: t
|
|
108
108
|
}) {
|
|
109
|
-
const n =
|
|
109
|
+
const n = L("icon"), o = m(() => [n, `${n}-close`, {
|
|
110
110
|
[`${n}-spin`]: e.spin
|
|
111
111
|
}]), r = m(() => {
|
|
112
112
|
const i = {};
|
|
113
|
-
return e.size && (i.fontSize =
|
|
113
|
+
return e.size && (i.fontSize = q(e.size) ? `${e.size}px` : e.size), e.rotate && (i.transform = `rotate(${e.rotate}deg)`), i;
|
|
114
114
|
});
|
|
115
115
|
return {
|
|
116
116
|
cls: o,
|
|
@@ -128,7 +128,7 @@ function Q(e, t, n, o, r, l) {
|
|
|
128
128
|
xmlns: "http://www.w3.org/2000/svg",
|
|
129
129
|
stroke: "currentColor",
|
|
130
130
|
class: h(e.cls),
|
|
131
|
-
style:
|
|
131
|
+
style: C(e.innerStyle),
|
|
132
132
|
"stroke-width": e.strokeWidth,
|
|
133
133
|
"stroke-linecap": e.strokeLinecap,
|
|
134
134
|
"stroke-linejoin": e.strokeLinejoin,
|
|
@@ -173,11 +173,11 @@ const ee = Object.assign(I, {
|
|
|
173
173
|
setup(e, {
|
|
174
174
|
emit: t
|
|
175
175
|
}) {
|
|
176
|
-
const n =
|
|
176
|
+
const n = L("icon"), o = m(() => [n, `${n}-robot`, {
|
|
177
177
|
[`${n}-spin`]: e.spin
|
|
178
178
|
}]), r = m(() => {
|
|
179
179
|
const i = {};
|
|
180
|
-
return e.size && (i.fontSize =
|
|
180
|
+
return e.size && (i.fontSize = q(e.size) ? `${e.size}px` : e.size), e.rotate && (i.transform = `rotate(${e.rotate}deg)`), i;
|
|
181
181
|
});
|
|
182
182
|
return {
|
|
183
183
|
cls: o,
|
|
@@ -195,7 +195,7 @@ function oe(e, t, n, o, r, l) {
|
|
|
195
195
|
xmlns: "http://www.w3.org/2000/svg",
|
|
196
196
|
stroke: "currentColor",
|
|
197
197
|
class: h(e.cls),
|
|
198
|
-
style:
|
|
198
|
+
style: C(e.innerStyle),
|
|
199
199
|
"stroke-width": e.strokeWidth,
|
|
200
200
|
"stroke-linecap": e.strokeLinecap,
|
|
201
201
|
"stroke-linejoin": e.strokeLinejoin,
|
|
@@ -215,47 +215,7 @@ const ie = Object.assign(z, {
|
|
|
215
215
|
const o = (n = t == null ? void 0 : t.iconPrefix) != null ? n : "";
|
|
216
216
|
e.component(o + z.name, z);
|
|
217
217
|
}
|
|
218
|
-
}), re = {
|
|
219
|
-
style: {
|
|
220
|
-
"margin-bottom": "10px",
|
|
221
|
-
display: "flex",
|
|
222
|
-
gap: "10px"
|
|
223
|
-
}
|
|
224
|
-
}, se = ["onClick"], ae = /* @__PURE__ */ f({
|
|
225
|
-
__name: "FeedbackCustomTabs",
|
|
226
|
-
props: {
|
|
227
|
-
modelValue: {
|
|
228
|
-
type: String,
|
|
229
|
-
default: "1"
|
|
230
|
-
},
|
|
231
|
-
tabs: {
|
|
232
|
-
type: Array,
|
|
233
|
-
default: () => [{
|
|
234
|
-
label: "未读消息",
|
|
235
|
-
key: "1"
|
|
236
|
-
}, {
|
|
237
|
-
label: "已读消息",
|
|
238
|
-
key: "2"
|
|
239
|
-
}]
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
emits: ["update:modelValue", "change"],
|
|
243
|
-
setup(e, {
|
|
244
|
-
emit: t
|
|
245
|
-
}) {
|
|
246
|
-
const n = e, o = t;
|
|
247
|
-
function r(l) {
|
|
248
|
-
l !== n.modelValue && (o("update:modelValue", l), o("change", l));
|
|
249
|
-
}
|
|
250
|
-
return (l, i) => (c(), d("div", re, [(c(!0), d(U, null, P(e.tabs, (p) => (c(), d("span", {
|
|
251
|
-
key: p.key,
|
|
252
|
-
class: h(["custom-tab", [{
|
|
253
|
-
active: e.modelValue === p.key
|
|
254
|
-
}]]),
|
|
255
|
-
onClick: (k) => r(p.key)
|
|
256
|
-
}, g(p.label), 11, se))), 128))]));
|
|
257
|
-
}
|
|
258
|
-
}), Me = /* @__PURE__ */ _(ae, [["__scopeId", "data-v-4da22ce9"]]), le = /* @__PURE__ */ f({
|
|
218
|
+
}), re = /* @__PURE__ */ f({
|
|
259
219
|
__name: "FeedbackFloatButton",
|
|
260
220
|
props: {
|
|
261
221
|
active: {
|
|
@@ -286,31 +246,31 @@ const ie = Object.assign(z, {
|
|
|
286
246
|
class: h(["float-button", {
|
|
287
247
|
active: e.active
|
|
288
248
|
}]),
|
|
289
|
-
style:
|
|
290
|
-
}, [
|
|
249
|
+
style: C(n.value)
|
|
250
|
+
}, [F(b(y(ie), {
|
|
291
251
|
name: "Feedback/Help",
|
|
292
252
|
filled: "",
|
|
293
253
|
size: 18
|
|
294
|
-
}, null, 512), [[
|
|
254
|
+
}, null, 512), [[j, !e.active]]), F(b(y(X), {
|
|
295
255
|
name: "Feedback/Close",
|
|
296
256
|
filled: "",
|
|
297
257
|
size: 18
|
|
298
|
-
}, null, 512), [[
|
|
258
|
+
}, null, 512), [[j, e.active]])], 6));
|
|
299
259
|
}
|
|
300
|
-
}),
|
|
260
|
+
}), se = /* @__PURE__ */ _(re, [["__scopeId", "data-v-2f26b4bc"]]), ae = {
|
|
301
261
|
class: "card"
|
|
302
|
-
},
|
|
262
|
+
}, le = {
|
|
303
263
|
class: "content"
|
|
304
|
-
},
|
|
264
|
+
}, ce = {
|
|
305
265
|
class: "header"
|
|
306
|
-
},
|
|
266
|
+
}, ue = {
|
|
307
267
|
class: "title"
|
|
308
|
-
},
|
|
268
|
+
}, de = {
|
|
309
269
|
class: "description"
|
|
310
|
-
},
|
|
270
|
+
}, pe = {
|
|
311
271
|
class: "body"
|
|
312
|
-
},
|
|
313
|
-
__name: "
|
|
272
|
+
}, me = /* @__PURE__ */ f({
|
|
273
|
+
__name: "FeedbackContainer",
|
|
314
274
|
props: {
|
|
315
275
|
title: {
|
|
316
276
|
type: String,
|
|
@@ -332,7 +292,7 @@ const ie = Object.assign(z, {
|
|
|
332
292
|
setup(e, {
|
|
333
293
|
expose: t
|
|
334
294
|
}) {
|
|
335
|
-
const n = e, o =
|
|
295
|
+
const n = e, o = B(!1), r = m(() => ({
|
|
336
296
|
padding: 0,
|
|
337
297
|
marginTop: 0,
|
|
338
298
|
"border-radius": "14px",
|
|
@@ -351,7 +311,7 @@ const ie = Object.assign(z, {
|
|
|
351
311
|
}
|
|
352
312
|
return t({
|
|
353
313
|
show: o
|
|
354
|
-
}), (k, s) => (c(),
|
|
314
|
+
}), (k, s) => (c(), U(y(O), {
|
|
355
315
|
"popup-visible": o.value,
|
|
356
316
|
"onUpdate:popupVisible": s[0] || (s[0] = (u) => o.value = u),
|
|
357
317
|
trigger: "click",
|
|
@@ -362,18 +322,58 @@ const ie = Object.assign(z, {
|
|
|
362
322
|
position: "tr",
|
|
363
323
|
onPopupVisibleChange: i
|
|
364
324
|
}, {
|
|
365
|
-
content:
|
|
325
|
+
content: N(() => [a("div", ae, [a("div", le, [a("div", ce, [a("div", {
|
|
366
326
|
class: "headerCancel",
|
|
367
327
|
onClick: p
|
|
368
|
-
}, [b(y(ee))]), a("div",
|
|
369
|
-
default:
|
|
328
|
+
}, [b(y(ee))]), a("div", ue, g(n.title), 1), a("div", de, g(n.description), 1)]), a("div", pe, [P(k.$slots, "default", {}, void 0, !0)])])])]),
|
|
329
|
+
default: N(() => [b(se, {
|
|
370
330
|
active: o.value,
|
|
371
331
|
onClick: l
|
|
372
332
|
}, null, 8, ["active"])]),
|
|
373
333
|
_: 3
|
|
374
334
|
}, 8, ["popup-visible", "content-style"]));
|
|
375
335
|
}
|
|
376
|
-
}),
|
|
336
|
+
}), Me = /* @__PURE__ */ _(me, [["__scopeId", "data-v-ba35891b"]]), fe = {
|
|
337
|
+
style: {
|
|
338
|
+
"margin-bottom": "10px",
|
|
339
|
+
display: "flex",
|
|
340
|
+
gap: "10px"
|
|
341
|
+
}
|
|
342
|
+
}, ke = ["onClick"], ve = /* @__PURE__ */ f({
|
|
343
|
+
__name: "FeedbackCustomTabs",
|
|
344
|
+
props: {
|
|
345
|
+
modelValue: {
|
|
346
|
+
type: String,
|
|
347
|
+
default: "1"
|
|
348
|
+
},
|
|
349
|
+
tabs: {
|
|
350
|
+
type: Array,
|
|
351
|
+
default: () => [{
|
|
352
|
+
label: "未读消息",
|
|
353
|
+
key: "1"
|
|
354
|
+
}, {
|
|
355
|
+
label: "已读消息",
|
|
356
|
+
key: "2"
|
|
357
|
+
}]
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
emits: ["update:modelValue", "change"],
|
|
361
|
+
setup(e, {
|
|
362
|
+
emit: t
|
|
363
|
+
}) {
|
|
364
|
+
const n = e, o = t;
|
|
365
|
+
function r(l) {
|
|
366
|
+
l !== n.modelValue && (o("update:modelValue", l), o("change", l));
|
|
367
|
+
}
|
|
368
|
+
return (l, i) => (c(), d("div", fe, [(c(!0), d(V, null, M(e.tabs, (p) => (c(), d("span", {
|
|
369
|
+
key: p.key,
|
|
370
|
+
class: h(["custom-tab", [{
|
|
371
|
+
active: e.modelValue === p.key
|
|
372
|
+
}]]),
|
|
373
|
+
onClick: (k) => r(p.key)
|
|
374
|
+
}, g(p.label), 11, ke))), 128))]));
|
|
375
|
+
}
|
|
376
|
+
}), De = /* @__PURE__ */ _(ve, [["__scopeId", "data-v-4da22ce9"]]), be = {
|
|
377
377
|
class: "screenshots-upload"
|
|
378
378
|
}, ye = /* @__PURE__ */ f({
|
|
379
379
|
__name: "FeedbackScreenshots",
|
|
@@ -411,7 +411,7 @@ const ie = Object.assign(z, {
|
|
|
411
411
|
setup(e, {
|
|
412
412
|
emit: t
|
|
413
413
|
}) {
|
|
414
|
-
const n = e, o = t, r =
|
|
414
|
+
const n = e, o = t, r = B(null), l = m(() => n.urls.map((s) => ({
|
|
415
415
|
uid: s,
|
|
416
416
|
name: s.split("/").pop() || s,
|
|
417
417
|
url: s,
|
|
@@ -490,11 +490,11 @@ const ie = Object.assign(z, {
|
|
|
490
490
|
class: "title"
|
|
491
491
|
}, Se = {
|
|
492
492
|
class: "feedback-info"
|
|
493
|
-
},
|
|
493
|
+
}, Ce = {
|
|
494
494
|
key: 0,
|
|
495
495
|
class: "feedback-count"
|
|
496
|
-
},
|
|
497
|
-
__name: "
|
|
496
|
+
}, we = /* @__PURE__ */ f({
|
|
497
|
+
__name: "FeedbackItem",
|
|
498
498
|
props: {
|
|
499
499
|
title: {
|
|
500
500
|
type: String,
|
|
@@ -514,13 +514,13 @@ const ie = Object.assign(z, {
|
|
|
514
514
|
const t = e;
|
|
515
515
|
return (n, o) => (c(), d("div", ge, [a("div", he, [a("div", _e, [b(y(A), {
|
|
516
516
|
icon: t.icon
|
|
517
|
-
}, null, 8, ["icon"])]), a("p", $e, g(t.title), 1)]), a("div", Se, [e.extra ? (c(), d("span",
|
|
517
|
+
}, null, 8, ["icon"])]), a("p", $e, g(t.title), 1)]), a("div", Se, [e.extra ? (c(), d("span", Ce, g(e.extra), 1)) : W("", !0)])]));
|
|
518
518
|
}
|
|
519
|
-
}), We = /* @__PURE__ */ _(
|
|
519
|
+
}), We = /* @__PURE__ */ _(we, [["__scopeId", "data-v-54fd5fd0"]]);
|
|
520
520
|
export {
|
|
521
521
|
Me as F,
|
|
522
522
|
De as a,
|
|
523
523
|
We as b,
|
|
524
|
-
|
|
524
|
+
se as c,
|
|
525
525
|
Ee as d
|
|
526
526
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { defineComponent as
|
|
4
|
+
import { defineComponent as D, createElementBlock as R, openBlock as S, normalizeStyle as ne, normalizeClass as Ce, createElementVNode as P, computed as G, ref as L, createBlock as T, unref as y, withCtx as h, createVNode as E, createCommentVNode as B, Fragment as z, createTextVNode as q, toDisplayString as M, onUnmounted as Be, h as ve, renderList as we, nextTick as K } from "vue";
|
|
5
5
|
import { Message as Ie, Space as Ee, Image as Ae, Avatar as Le, Descriptions as Me, DescriptionsItem as se, Tag as ee, Spin as ze, Button as pe, Form as Ve, FormItem as ue, Input as We, Select as He, Option as Ye, Textarea as Ke, Breadcrumb as Ge, BreadcrumbItem as ge, Modal as Xe, Drawer as Ze } from "@arco-design/web-vue";
|
|
6
6
|
import { M as Je } from "./Menu-MZJINp6f.js";
|
|
7
7
|
/* empty css */
|
|
@@ -21,7 +21,7 @@ import { Bubble as Ue, Prompts as at, Sender as it } from "ant-design-x-vue";
|
|
|
21
21
|
import { Icon as $e } from "@iconify/vue";
|
|
22
22
|
import { c as lt, g as st } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
23
23
|
import { _ as Te, g as Fe, i as Re } from "./plugin-vue_export-helper-LjDO2Zua.js";
|
|
24
|
-
const ut =
|
|
24
|
+
const ut = D({
|
|
25
25
|
name: "IconExclamationCircle",
|
|
26
26
|
props: {
|
|
27
27
|
size: {
|
|
@@ -88,7 +88,7 @@ const be = Object.assign(ce, {
|
|
|
88
88
|
const i = (r = u == null ? void 0 : u.iconPrefix) != null ? r : "";
|
|
89
89
|
e.component(i + ce.name, ce);
|
|
90
90
|
}
|
|
91
|
-
}), ft =
|
|
91
|
+
}), ft = D({
|
|
92
92
|
name: "IconLink",
|
|
93
93
|
props: {
|
|
94
94
|
size: {
|
|
@@ -191,7 +191,7 @@ var Oe = { exports: {} };
|
|
|
191
191
|
default: function() {
|
|
192
192
|
return (
|
|
193
193
|
/* binding */
|
|
194
|
-
|
|
194
|
+
je
|
|
195
195
|
);
|
|
196
196
|
}
|
|
197
197
|
});
|
|
@@ -252,7 +252,7 @@ var Oe = { exports: {} };
|
|
|
252
252
|
return m === "cut" ? f(C) : v(C, {
|
|
253
253
|
container: g
|
|
254
254
|
});
|
|
255
|
-
},
|
|
255
|
+
}, j = k;
|
|
256
256
|
function O(b) {
|
|
257
257
|
"@babel/helpers - typeof";
|
|
258
258
|
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? O = function(l) {
|
|
@@ -330,7 +330,7 @@ var Oe = { exports: {} };
|
|
|
330
330
|
if (s.hasAttribute(l))
|
|
331
331
|
return s.getAttribute(l);
|
|
332
332
|
}
|
|
333
|
-
var
|
|
333
|
+
var De = /* @__PURE__ */ function(b) {
|
|
334
334
|
oe(l, b);
|
|
335
335
|
var s = ae(l);
|
|
336
336
|
function l(m, g) {
|
|
@@ -362,7 +362,7 @@ var Oe = { exports: {} };
|
|
|
362
362
|
}, {
|
|
363
363
|
key: "onClick",
|
|
364
364
|
value: function(g) {
|
|
365
|
-
var C = g.delegateTarget || g.currentTarget, N = this.action(C) || "copy", Q =
|
|
365
|
+
var C = g.delegateTarget || g.currentTarget, N = this.action(C) || "copy", Q = j({
|
|
366
366
|
action: N,
|
|
367
367
|
container: this.container,
|
|
368
368
|
target: this.target(C),
|
|
@@ -452,7 +452,7 @@ var Oe = { exports: {} };
|
|
|
452
452
|
}), N;
|
|
453
453
|
}
|
|
454
454
|
}]), l;
|
|
455
|
-
}(c()),
|
|
455
|
+
}(c()), je = De;
|
|
456
456
|
}
|
|
457
457
|
),
|
|
458
458
|
/***/
|
|
@@ -685,7 +685,7 @@ const bt = /* @__PURE__ */ st(gt), ht = (e) => ({
|
|
|
685
685
|
}), document.body.appendChild(a), a.click(), document.body.removeChild(a);
|
|
686
686
|
});
|
|
687
687
|
}
|
|
688
|
-
}), kt = /* @__PURE__ */
|
|
688
|
+
}), kt = /* @__PURE__ */ D({
|
|
689
689
|
__name: "FeedbackClipboard",
|
|
690
690
|
props: {
|
|
691
691
|
value: {
|
|
@@ -715,7 +715,7 @@ const bt = /* @__PURE__ */ st(gt), ht = (e) => ({
|
|
|
715
715
|
onClick: p
|
|
716
716
|
}));
|
|
717
717
|
}
|
|
718
|
-
}), qe = /* @__PURE__ */ H(kt, [["__scopeId", "data-v-fd869964"]]), _t = /* @__PURE__ */
|
|
718
|
+
}), qe = /* @__PURE__ */ H(kt, [["__scopeId", "data-v-fd869964"]]), _t = /* @__PURE__ */ D({
|
|
719
719
|
__name: "FeedbackRefresh",
|
|
720
720
|
setup(e) {
|
|
721
721
|
return (u, r) => (S(), T(y($e), {
|
|
@@ -723,7 +723,7 @@ const bt = /* @__PURE__ */ st(gt), ht = (e) => ({
|
|
|
723
723
|
icon: "mingcute:refresh-2-line"
|
|
724
724
|
}));
|
|
725
725
|
}
|
|
726
|
-
}), xt = /* @__PURE__ */ H(_t, [["__scopeId", "data-v-a03acfef"]]), St = ["src"], _e = /* @__PURE__ */
|
|
726
|
+
}), xt = /* @__PURE__ */ H(_t, [["__scopeId", "data-v-a03acfef"]]), St = ["src"], _e = /* @__PURE__ */ D({
|
|
727
727
|
__name: "FeedbackBubbleEnd",
|
|
728
728
|
props: {
|
|
729
729
|
value: {
|
|
@@ -786,21 +786,21 @@ const bt = /* @__PURE__ */ st(gt), ht = (e) => ({
|
|
|
786
786
|
width: "100",
|
|
787
787
|
src: r.value,
|
|
788
788
|
"show-loader": ""
|
|
789
|
-
}, null, 8, ["src"])) :
|
|
789
|
+
}, null, 8, ["src"])) : B("", !0)]),
|
|
790
790
|
footer: h(() => [E(y(Ee), null, {
|
|
791
791
|
default: h(() => [r.showClipboard && r.type === "text" ? (S(), T(qe, {
|
|
792
792
|
key: 0,
|
|
793
793
|
value: e.value
|
|
794
|
-
}, null, 8, ["value"])) :
|
|
794
|
+
}, null, 8, ["value"])) : B("", !0), r.showRefresh ? (S(), T(xt, {
|
|
795
795
|
key: 1,
|
|
796
796
|
onClick: p
|
|
797
|
-
})) :
|
|
797
|
+
})) : B("", !0)]),
|
|
798
798
|
_: 1
|
|
799
799
|
})]),
|
|
800
800
|
_: 1
|
|
801
801
|
}, 8, ["style", "styles"]));
|
|
802
802
|
}
|
|
803
|
-
}), Ct = ["src"], xe = /* @__PURE__ */
|
|
803
|
+
}), Ct = ["src"], xe = /* @__PURE__ */ D({
|
|
804
804
|
__name: "FeedbackBubbleStart",
|
|
805
805
|
props: {
|
|
806
806
|
value: {
|
|
@@ -856,12 +856,12 @@ const bt = /* @__PURE__ */ st(gt), ht = (e) => ({
|
|
|
856
856
|
width: "100",
|
|
857
857
|
src: r.value,
|
|
858
858
|
"show-loader": ""
|
|
859
|
-
}, null, 8, ["src"])) :
|
|
859
|
+
}, null, 8, ["src"])) : B("", !0)]),
|
|
860
860
|
footer: h(() => [E(y(Ee), null, {
|
|
861
861
|
default: h(() => [r.showClipboard && r.type === "text" ? (S(), T(qe, {
|
|
862
862
|
key: 0,
|
|
863
863
|
value: r.value
|
|
864
|
-
}, null, 8, ["value"])) :
|
|
864
|
+
}, null, 8, ["value"])) : B("", !0)]),
|
|
865
865
|
_: 1
|
|
866
866
|
})]),
|
|
867
867
|
_: 1
|
|
@@ -895,7 +895,7 @@ function wt(e, u = {}) {
|
|
|
895
895
|
function d() {
|
|
896
896
|
c(), o();
|
|
897
897
|
}
|
|
898
|
-
return p && o(),
|
|
898
|
+
return p && o(), Be(() => {
|
|
899
899
|
c();
|
|
900
900
|
}), {
|
|
901
901
|
isPolling: a,
|
|
@@ -974,8 +974,8 @@ const ye = [{
|
|
|
974
974
|
}, Ft = {
|
|
975
975
|
key: 1,
|
|
976
976
|
class: "Bubbles"
|
|
977
|
-
}, Rt = /* @__PURE__ */
|
|
978
|
-
__name: "
|
|
977
|
+
}, Rt = /* @__PURE__ */ D({
|
|
978
|
+
__name: "FeedbackDetails",
|
|
979
979
|
props: {
|
|
980
980
|
id: {
|
|
981
981
|
type: String,
|
|
@@ -1047,8 +1047,8 @@ const ye = [{
|
|
|
1047
1047
|
(v = a.value) == null || v.focus({
|
|
1048
1048
|
cursor: "end"
|
|
1049
1049
|
}), K(() => {
|
|
1050
|
-
var
|
|
1051
|
-
const U = (
|
|
1050
|
+
var j;
|
|
1051
|
+
const U = (j = a.value) == null ? void 0 : j.$el, k = n(U || null);
|
|
1052
1052
|
k && k.scrollTo({
|
|
1053
1053
|
top: k.scrollHeight,
|
|
1054
1054
|
behavior: "smooth"
|
|
@@ -1121,11 +1121,11 @@ const ye = [{
|
|
|
1121
1121
|
senderRole: o.senderRole,
|
|
1122
1122
|
type: "text",
|
|
1123
1123
|
content: v
|
|
1124
|
-
},
|
|
1124
|
+
}, j = {
|
|
1125
1125
|
id: o.id,
|
|
1126
1126
|
message: k
|
|
1127
1127
|
};
|
|
1128
|
-
Se(o.prefixUrl,
|
|
1128
|
+
Se(o.prefixUrl, j).then(({
|
|
1129
1129
|
data: O
|
|
1130
1130
|
}) => {
|
|
1131
1131
|
i.value = !1, _.value.push(O.message), typeof O.message.seq == "number" && (I.value = O.message.seq), K(() => {
|
|
@@ -1233,8 +1233,8 @@ const ye = [{
|
|
|
1233
1233
|
wrap: "",
|
|
1234
1234
|
vertical: !1,
|
|
1235
1235
|
onOnItemClick: c
|
|
1236
|
-
})) : (S(), R("div", Ft, [(S(!0), R(z, null, we(_.value, (k,
|
|
1237
|
-
key:
|
|
1236
|
+
})) : (S(), R("div", Ft, [(S(!0), R(z, null, we(_.value, (k, j) => (S(), R(z, {
|
|
1237
|
+
key: j
|
|
1238
1238
|
}, [k.type === "text" ? (S(), R(z, {
|
|
1239
1239
|
key: 0
|
|
1240
1240
|
}, [k.senderRole !== o.senderRole ? (S(), T(xe, {
|
|
@@ -1284,7 +1284,7 @@ const ye = [{
|
|
|
1284
1284
|
_: 1
|
|
1285
1285
|
}, 8, ["loading"])])]));
|
|
1286
1286
|
}
|
|
1287
|
-
}), Ot = /* @__PURE__ */ H(Rt, [["__scopeId", "data-v-
|
|
1287
|
+
}), Ot = /* @__PURE__ */ H(Rt, [["__scopeId", "data-v-a03bb078"]]);
|
|
1288
1288
|
function fe(e, u) {
|
|
1289
1289
|
const {
|
|
1290
1290
|
config: r
|
|
@@ -1299,8 +1299,8 @@ function fe(e, u) {
|
|
|
1299
1299
|
}
|
|
1300
1300
|
const qt = {
|
|
1301
1301
|
class: "FeedBackFrom"
|
|
1302
|
-
}, Nt = /* @__PURE__ */
|
|
1303
|
-
__name: "
|
|
1302
|
+
}, Nt = /* @__PURE__ */ D({
|
|
1303
|
+
__name: "FeedbackForm",
|
|
1304
1304
|
props: {
|
|
1305
1305
|
appId: {
|
|
1306
1306
|
type: String,
|
|
@@ -1403,7 +1403,7 @@ const qt = {
|
|
|
1403
1403
|
}
|
|
1404
1404
|
}, null, 8, ["modelValue"])]),
|
|
1405
1405
|
_: 1
|
|
1406
|
-
}),
|
|
1406
|
+
}), B("", !0), E(y(pe), {
|
|
1407
1407
|
loading: p.value,
|
|
1408
1408
|
type: "primary",
|
|
1409
1409
|
onClick: t
|
|
@@ -1415,13 +1415,13 @@ const qt = {
|
|
|
1415
1415
|
_: 1
|
|
1416
1416
|
}, 8, ["model"])]));
|
|
1417
1417
|
}
|
|
1418
|
-
}), Pt = /* @__PURE__ */ H(Nt, [["__scopeId", "data-v-
|
|
1418
|
+
}), Pt = /* @__PURE__ */ H(Nt, [["__scopeId", "data-v-23dfb0fe"]]), Dt = {
|
|
1419
1419
|
class: "messages"
|
|
1420
|
-
},
|
|
1420
|
+
}, jt = {
|
|
1421
1421
|
key: 1,
|
|
1422
1422
|
class: "list"
|
|
1423
|
-
},
|
|
1424
|
-
__name: "
|
|
1423
|
+
}, Bt = /* @__PURE__ */ D({
|
|
1424
|
+
__name: "FeedbackList",
|
|
1425
1425
|
props: {
|
|
1426
1426
|
appId: {
|
|
1427
1427
|
type: String,
|
|
@@ -1528,7 +1528,7 @@ const qt = {
|
|
|
1528
1528
|
function w() {
|
|
1529
1529
|
$();
|
|
1530
1530
|
}
|
|
1531
|
-
return (x, f) => (S(), R("div",
|
|
1531
|
+
return (x, f) => (S(), R("div", Dt, [i.value ? B("", !0) : (S(), T(y(Ge), {
|
|
1532
1532
|
key: 0,
|
|
1533
1533
|
style: {
|
|
1534
1534
|
"margin-bottom": "10px",
|
|
@@ -1554,7 +1554,7 @@ const qt = {
|
|
|
1554
1554
|
__: [1]
|
|
1555
1555
|
})]),
|
|
1556
1556
|
_: 1
|
|
1557
|
-
})), i.value ? (S(), R("div",
|
|
1557
|
+
})), i.value ? (S(), R("div", jt, [E(ot, {
|
|
1558
1558
|
columns: _,
|
|
1559
1559
|
data: p.value,
|
|
1560
1560
|
loading: a.value,
|
|
@@ -1608,14 +1608,14 @@ const qt = {
|
|
|
1608
1608
|
region: r.region
|
|
1609
1609
|
}, null, 8, ["id", "app-id", "prefix-url", "bucket-id", "bucket", "region"]))]));
|
|
1610
1610
|
}
|
|
1611
|
-
}), Mt = /* @__PURE__ */ H(
|
|
1611
|
+
}), Mt = /* @__PURE__ */ H(Bt, [["__scopeId", "data-v-a7bd2661"]]), zt = {
|
|
1612
1612
|
class: "content"
|
|
1613
1613
|
}, Vt = {
|
|
1614
1614
|
class: "left"
|
|
1615
1615
|
}, Wt = {
|
|
1616
1616
|
class: "right"
|
|
1617
|
-
}, Ht = /* @__PURE__ */
|
|
1618
|
-
__name: "
|
|
1617
|
+
}, Ht = /* @__PURE__ */ D({
|
|
1618
|
+
__name: "FeedbackModal",
|
|
1619
1619
|
props: {
|
|
1620
1620
|
appId: {
|
|
1621
1621
|
type: String,
|
|
@@ -1699,12 +1699,12 @@ const qt = {
|
|
|
1699
1699
|
"bucket-id": p.bucketId,
|
|
1700
1700
|
bucket: p.bucket,
|
|
1701
1701
|
region: p.region
|
|
1702
|
-
}, null, 8, ["app-id", "prefix-url", "bucket-id", "bucket", "region"])) :
|
|
1702
|
+
}, null, 8, ["app-id", "prefix-url", "bucket-id", "bucket", "region"])) : B("", !0), _.value === "CreateFeedback" ? (S(), T(Pt, {
|
|
1703
1703
|
key: 1,
|
|
1704
1704
|
"app-id": p.appId,
|
|
1705
1705
|
"prefix-url": p.prefixUrl,
|
|
1706
1706
|
onConfirm: I
|
|
1707
|
-
}, null, 8, ["app-id", "prefix-url"])) :
|
|
1707
|
+
}, null, 8, ["app-id", "prefix-url"])) : B("", !0)])]), E(y(Ze), {
|
|
1708
1708
|
width: 400,
|
|
1709
1709
|
visible: d.value,
|
|
1710
1710
|
"unmount-on-close": "",
|
|
@@ -1719,7 +1719,7 @@ const qt = {
|
|
|
1719
1719
|
_: 1
|
|
1720
1720
|
}, 8, ["visible"]));
|
|
1721
1721
|
}
|
|
1722
|
-
}), bn = /* @__PURE__ */ H(Ht, [["__scopeId", "data-v-
|
|
1722
|
+
}), bn = /* @__PURE__ */ H(Ht, [["__scopeId", "data-v-930873a1"]]);
|
|
1723
1723
|
export {
|
|
1724
1724
|
qe as C,
|
|
1725
1725
|
Ot as F,
|
|
@@ -9,7 +9,7 @@ import { R as be } from "./ReferrerReferees-CFwb0s28.js";
|
|
|
9
9
|
import { a as q, u as Ce, c as $e, b as Ie } from "./useAuthkitProps-DB04dGw9.js";
|
|
10
10
|
import { u as he } from "./useUserPanelProps-C5W72fZJ.js";
|
|
11
11
|
import { b as xe, a as Pe } from "./AuthkitAppSetting-iL2SVGkm.js";
|
|
12
|
-
import { d as Ue } from "./
|
|
12
|
+
import { d as Ue } from "./FeedbackModal-QpDXtZBf.js";
|
|
13
13
|
import { M as we } from "./MessageHandle-cZ2FXsJ5.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
@@ -500,7 +500,7 @@ const je = Object.assign(B, {
|
|
|
500
500
|
onCancel: ae
|
|
501
501
|
}, null, 8, ["app-id", "prefix-url", "bucket-id", "bucket", "region"]))]));
|
|
502
502
|
}
|
|
503
|
-
}), ht = /* @__PURE__ */ h(it, [["__scopeId", "data-v-
|
|
503
|
+
}), ht = /* @__PURE__ */ h(it, [["__scopeId", "data-v-717262cd"]]);
|
|
504
504
|
export {
|
|
505
505
|
Te as S,
|
|
506
506
|
ht as U,
|
package/dist/common.js
CHANGED
|
@@ -3,7 +3,7 @@ import { C as t, G as n, S as p, W as m } from "./WidthContainer-D795bWdT.js";
|
|
|
3
3
|
import { C as i, E as u } from "./CustomTable-DbiCOvmO.js";
|
|
4
4
|
import { I as x } from "./InfiniteLoading-BOurBPUR.js";
|
|
5
5
|
import { M as d, a as U } from "./Menu-MZJINp6f.js";
|
|
6
|
-
import { S as I, b, c as S, a as g, U as v } from "./UserPanel-
|
|
6
|
+
import { S as I, b, c as S, a as g, U as v } from "./UserPanel-CsWfMpZO.js";
|
|
7
7
|
import { S as B } from "./PaySubscriptions-MYoi8Ob_.js";
|
|
8
8
|
import { R as P } from "./ReferrerReferees-CFwb0s28.js";
|
|
9
9
|
import { _ as G } from "./Upload.vue_vue_type_script_setup_true_lang-uy8hhi_o.js";
|
package/dist/feedback.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export { default as FeedbackBubbleEnd } from './components/Feedback/FeedbackBubbleEnd.vue';
|
|
2
2
|
export { default as FeedbackBubbleStart } from './components/Feedback/FeedbackBubbleStart.vue';
|
|
3
3
|
export { default as FeedbackClipboard } from './components/Feedback/FeedbackClipboard.vue';
|
|
4
|
+
export { default as FeedbackContainer } from './components/Feedback/FeedbackContainer.vue';
|
|
4
5
|
export { default as FeedbackCustomTabs } from './components/Feedback/FeedbackCustomTabs.vue';
|
|
5
|
-
export { default as
|
|
6
|
-
export { default as
|
|
7
|
-
export { default as
|
|
8
|
-
export { default as
|
|
9
|
-
export { default as
|
|
10
|
-
export { default as FeedbackFeedBackModal } from './components/Feedback/FeedbackFeedBackModal.vue';
|
|
6
|
+
export { default as FeedbackDetails } from './components/Feedback/FeedbackDetails.vue';
|
|
7
|
+
export { default as FeedbackForm } from './components/Feedback/FeedbackForm.vue';
|
|
8
|
+
export { default as FeedbackItem } from './components/Feedback/FeedbackItem.vue';
|
|
9
|
+
export { default as FeedbackList } from './components/Feedback/FeedbackList.vue';
|
|
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
13
|
export { default as FeedbackScreenshots } from './components/Feedback/FeedbackScreenshots.vue';
|