@huyooo/ui 0.4.20 → 0.4.21

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.
@@ -1,7 +1,7 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
- import { defineComponent as D, createElementBlock as F, openBlock as _, normalizeStyle as ne, normalizeClass as Ce, createElementVNode as O, computed as G, ref as L, createBlock as $, unref as p, withCtx as h, createVNode as I, createCommentVNode as j, Fragment as B, createTextVNode as N, toDisplayString as z, onUnmounted as ze, h as ye, renderList as we, nextTick as Y } from "vue";
4
+ import { defineComponent as D, createElementBlock as F, openBlock as _, normalizeStyle as ne, normalizeClass as Ce, createElementVNode as O, computed as G, ref as U, createBlock as $, unref as p, withCtx as h, createVNode as E, createCommentVNode as j, Fragment as B, createTextVNode as N, toDisplayString as z, onUnmounted as ze, h as ye, renderList as we, nextTick as Y } from "vue";
5
5
  import { Message as Ie, Space as Ee, Image as Ae, Avatar as Le, Descriptions as Be, DescriptionsItem as se, Tag as ee, Spin as Me, Button as pe, Form as Ve, FormItem as ue, Input as We, Select as He, Option as Ke, Textarea as Ye, 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 */
@@ -195,7 +195,7 @@ var Oe = { exports: {} };
195
195
  );
196
196
  }
197
197
  });
198
- var o = e(279), c = /* @__PURE__ */ e.n(o), d = e(370), k = /* @__PURE__ */ e.n(d), x = e(817), U = /* @__PURE__ */ e.n(x);
198
+ var o = e(279), c = /* @__PURE__ */ e.n(o), d = e(370), k = /* @__PURE__ */ e.n(d), x = e(817), L = /* @__PURE__ */ e.n(x);
199
199
  function C(g) {
200
200
  try {
201
201
  return document.execCommand(g);
@@ -204,25 +204,25 @@ var Oe = { exports: {} };
204
204
  }
205
205
  }
206
206
  var b = function(s) {
207
- var l = U()(s);
207
+ var l = L()(s);
208
208
  return C("cut"), l;
209
209
  }, v = b;
210
- function A(g) {
210
+ function I(g) {
211
211
  var s = document.documentElement.getAttribute("dir") === "rtl", l = document.createElement("textarea");
212
212
  l.style.fontSize = "12pt", l.style.border = "0", l.style.padding = "0", l.style.margin = "0", l.style.position = "absolute", l.style[s ? "right" : "left"] = "-9999px";
213
213
  var m = window.pageYOffset || document.documentElement.scrollTop;
214
214
  return l.style.top = "".concat(m, "px"), l.setAttribute("readonly", ""), l.value = g, l;
215
215
  }
216
216
  var R = function(s, l) {
217
- var m = A(s);
217
+ var m = I(s);
218
218
  l.container.appendChild(m);
219
- var y = U()(m);
219
+ var y = L()(m);
220
220
  return C("copy"), m.remove(), y;
221
221
  }, re = function(s) {
222
222
  var l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
223
223
  container: document.body
224
224
  }, m = "";
225
- return typeof s == "string" ? m = R(s, l) : s instanceof HTMLInputElement && !["text", "search", "url", "tel", "password"].includes(s == null ? void 0 : s.type) ? m = R(s.value, l) : (m = U()(s), C("copy")), m;
225
+ return typeof s == "string" ? m = R(s, l) : s instanceof HTMLInputElement && !["text", "search", "url", "tel", "password"].includes(s == null ? void 0 : s.type) ? m = R(s.value, l) : (m = L()(s), C("copy")), m;
226
226
  }, w = re;
227
227
  function T(g) {
228
228
  "@babel/helpers - typeof";
@@ -232,7 +232,7 @@ var Oe = { exports: {} };
232
232
  return l && typeof Symbol == "function" && l.constructor === Symbol && l !== Symbol.prototype ? "symbol" : typeof l;
233
233
  }, T(g);
234
234
  }
235
- var E = function() {
235
+ var A = function() {
236
236
  var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, l = s.action, m = l === void 0 ? "copy" : l, y = s.container, S = s.target, P = s.text;
237
237
  if (m !== "copy" && m !== "cut")
238
238
  throw new Error('Invalid "action" value, use either "copy" or "cut"');
@@ -252,7 +252,7 @@ var Oe = { exports: {} };
252
252
  return m === "cut" ? v(S) : w(S, {
253
253
  container: y
254
254
  });
255
- }, M = E;
255
+ }, M = A;
256
256
  function q(g) {
257
257
  "@babel/helpers - typeof";
258
258
  return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? q = function(l) {
@@ -479,22 +479,22 @@ var Oe = { exports: {} };
479
479
  /***/
480
480
  function(a, n, e) {
481
481
  var o = e(828);
482
- function c(x, U, C, b, v) {
483
- var A = k.apply(this, arguments);
484
- return x.addEventListener(C, A, v), {
482
+ function c(x, L, C, b, v) {
483
+ var I = k.apply(this, arguments);
484
+ return x.addEventListener(C, I, v), {
485
485
  destroy: function() {
486
- x.removeEventListener(C, A, v);
486
+ x.removeEventListener(C, I, v);
487
487
  }
488
488
  };
489
489
  }
490
- function d(x, U, C, b, v) {
491
- return typeof x.addEventListener == "function" ? c.apply(null, arguments) : typeof C == "function" ? c.bind(null, document).apply(null, arguments) : (typeof x == "string" && (x = document.querySelectorAll(x)), Array.prototype.map.call(x, function(A) {
492
- return c(A, U, C, b, v);
490
+ function d(x, L, C, b, v) {
491
+ return typeof x.addEventListener == "function" ? c.apply(null, arguments) : typeof C == "function" ? c.bind(null, document).apply(null, arguments) : (typeof x == "string" && (x = document.querySelectorAll(x)), Array.prototype.map.call(x, function(I) {
492
+ return c(I, L, C, b, v);
493
493
  }));
494
494
  }
495
- function k(x, U, C, b) {
495
+ function k(x, L, C, b) {
496
496
  return function(v) {
497
- v.delegateTarget = o(v.target, U), v.delegateTarget && b.call(x, v);
497
+ v.delegateTarget = o(v.target, L), v.delegateTarget && b.call(x, v);
498
498
  };
499
499
  }
500
500
  a.exports = d;
@@ -534,7 +534,7 @@ var Oe = { exports: {} };
534
534
  if (o.nodeList(C))
535
535
  return x(C, b, v);
536
536
  if (o.string(C))
537
- return U(C, b, v);
537
+ return L(C, b, v);
538
538
  throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
539
539
  }
540
540
  function k(C, b, v) {
@@ -545,17 +545,17 @@ var Oe = { exports: {} };
545
545
  };
546
546
  }
547
547
  function x(C, b, v) {
548
- return Array.prototype.forEach.call(C, function(A) {
549
- A.addEventListener(b, v);
548
+ return Array.prototype.forEach.call(C, function(I) {
549
+ I.addEventListener(b, v);
550
550
  }), {
551
551
  destroy: function() {
552
- Array.prototype.forEach.call(C, function(A) {
553
- A.removeEventListener(b, v);
552
+ Array.prototype.forEach.call(C, function(I) {
553
+ I.removeEventListener(b, v);
554
554
  });
555
555
  }
556
556
  };
557
557
  }
558
- function U(C, b, v) {
558
+ function L(C, b, v) {
559
559
  return c(document.body, C, b, v);
560
560
  }
561
561
  a.exports = d;
@@ -612,7 +612,7 @@ var Oe = { exports: {} };
612
612
  off: function(e, o) {
613
613
  var c = this.e || (this.e = {}), d = c[e], k = [];
614
614
  if (d && o)
615
- for (var x = 0, U = d.length; x < U; x++)
615
+ for (var x = 0, L = d.length; x < L; x++)
616
616
  d[x].fn !== o && d[x].fn._ !== o && k.push(d[x]);
617
617
  return k.length ? c[e] = k : delete c[e], this;
618
618
  }
@@ -699,7 +699,7 @@ const gt = /* @__PURE__ */ lt(yt), bt = (t) => ({
699
699
  }
700
700
  },
701
701
  setup(t) {
702
- const u = t, r = L(!1), {
702
+ const u = t, r = U(!1), {
703
703
  toClipboard: i
704
704
  } = bt();
705
705
  async function f() {
@@ -772,7 +772,7 @@ const gt = /* @__PURE__ */ lt(yt), bt = (t) => ({
772
772
  }
773
773
  }
774
774
  }, {
775
- avatar: h(() => [I(p(Le), null, {
775
+ avatar: h(() => [E(p(Le), null, {
776
776
  default: h(() => [O("img", {
777
777
  alt: "avatar",
778
778
  src: r.avatarUrl
@@ -787,7 +787,7 @@ const gt = /* @__PURE__ */ lt(yt), bt = (t) => ({
787
787
  src: r.value,
788
788
  "show-loader": ""
789
789
  }, null, 8, ["src"])) : j("", !0)]),
790
- footer: h(() => [I(p(Ee), null, {
790
+ footer: h(() => [E(p(Ee), null, {
791
791
  default: h(() => [r.showClipboard && r.type === "text" ? (_(), $(qe, {
792
792
  key: 0,
793
793
  value: t.value
@@ -842,7 +842,7 @@ const gt = /* @__PURE__ */ lt(yt), bt = (t) => ({
842
842
  }
843
843
  }
844
844
  }, {
845
- avatar: h(() => [I(p(Le), null, {
845
+ avatar: h(() => [E(p(Le), null, {
846
846
  default: h(() => [O("img", {
847
847
  alt: "avatar",
848
848
  src: r.avatarUrl
@@ -857,7 +857,7 @@ const gt = /* @__PURE__ */ lt(yt), bt = (t) => ({
857
857
  src: r.value,
858
858
  "show-loader": ""
859
859
  }, null, 8, ["src"])) : j("", !0)]),
860
- footer: h(() => [I(p(Ee), null, {
860
+ footer: h(() => [E(p(Ee), null, {
861
861
  default: h(() => [r.showClipboard && r.type === "text" ? (_(), $(qe, {
862
862
  key: 0,
863
863
  value: r.value
@@ -873,7 +873,7 @@ function Ct(t, u = {}) {
873
873
  interval: r = 2e3,
874
874
  immediate: i = !1,
875
875
  autoStart: f = !1
876
- } = u, a = L(!1);
876
+ } = u, a = U(!1);
877
877
  let n = null;
878
878
  async function e() {
879
879
  try {
@@ -1014,7 +1014,7 @@ const me = [{
1014
1014
  function u(w) {
1015
1015
  return w === "inProgress" ? "orangered" : w === "done" ? "green" : "arcoblue";
1016
1016
  }
1017
- const r = L(""), i = L(!1), f = [{
1017
+ const r = U(""), i = U(!1), f = [{
1018
1018
  key: "1",
1019
1019
  label: "如何补充更多信息",
1020
1020
  description: "请详细描述您的问题或需求,以便我们更好地为您服务。",
@@ -1034,7 +1034,7 @@ const me = [{
1034
1034
  color: "#722ED1"
1035
1035
  }
1036
1036
  })
1037
- }], a = L(null), n = L(null), e = () => {
1037
+ }], a = U(null), n = U(null), e = () => {
1038
1038
  var w;
1039
1039
  (w = a.value) == null || w.focus({
1040
1040
  cursor: "end"
@@ -1044,7 +1044,7 @@ const me = [{
1044
1044
  }, o = t;
1045
1045
  function c() {
1046
1046
  }
1047
- const d = L(!1), k = L([]), x = L(void 0), U = L({
1047
+ const d = U(!1), k = U([]), x = U(void 0), L = U({
1048
1048
  id: void 0,
1049
1049
  title: "",
1050
1050
  description: "",
@@ -1062,9 +1062,9 @@ const me = [{
1062
1062
  bucket: o.bucket,
1063
1063
  region: o.region
1064
1064
  }), T = document.createElement("input");
1065
- T.type = "file", T.accept = "image/*", T.style.display = "none", document.body.append(T), T.addEventListener("change", async (E) => {
1065
+ T.type = "file", T.accept = "image/*", T.style.display = "none", document.body.append(T), T.addEventListener("change", async (A) => {
1066
1066
  var X;
1067
- const q = (X = E.target.files) == null ? void 0 : X[0];
1067
+ const q = (X = A.target.files) == null ? void 0 : X[0];
1068
1068
  if (q) {
1069
1069
  i.value = !0;
1070
1070
  try {
@@ -1085,7 +1085,7 @@ const me = [{
1085
1085
  }) => {
1086
1086
  k.value.push(K.message), typeof K.message.seq == "number" && (x.value = K.message.seq), Y(() => {
1087
1087
  e();
1088
- }), i.value = !1;
1088
+ }), i.value = !1, o.senderRole === "support" && L.value.status === "newFeedback" && I();
1089
1089
  }).catch(() => {
1090
1090
  i.value = !1;
1091
1091
  });
@@ -1103,21 +1103,21 @@ const me = [{
1103
1103
  };
1104
1104
  function b(w) {
1105
1105
  i.value = !0;
1106
- const E = {
1106
+ const A = {
1107
1107
  messageId: ke(),
1108
1108
  senderRole: o.senderRole,
1109
1109
  type: "text",
1110
1110
  content: w
1111
1111
  }, M = {
1112
1112
  id: o.id,
1113
- message: E
1113
+ message: A
1114
1114
  };
1115
1115
  Se(o.prefixUrl, M).then(({
1116
1116
  data: q
1117
1117
  }) => {
1118
1118
  i.value = !1, k.value.push(q.message), typeof q.message.seq == "number" && (x.value = q.message.seq), Y(() => {
1119
1119
  e();
1120
- }), r.value = "";
1120
+ }), r.value = "", o.senderRole === "support" && L.value.status === "newFeedback" && I();
1121
1121
  }).catch(() => {
1122
1122
  i.value = !1;
1123
1123
  });
@@ -1125,13 +1125,13 @@ const me = [{
1125
1125
  function v() {
1126
1126
  b(r.value);
1127
1127
  }
1128
- function A() {
1128
+ function I() {
1129
1129
  d.value = !0, It(o.prefixUrl, {
1130
1130
  id: o.id
1131
1131
  }).then(async ({
1132
1132
  data: w
1133
1133
  }) => {
1134
- d.value = !1, U.value = w, w.messages && w.messages.length > 0 && (k.value = w.messages, x.value = w.messages.at(-1).seq);
1134
+ d.value = !1, L.value = w, w.messages && w.messages.length > 0 && (k.value = w.messages, x.value = w.messages.at(-1).seq);
1135
1135
  }).catch(() => {
1136
1136
  d.value = !1;
1137
1137
  });
@@ -1165,46 +1165,46 @@ const me = [{
1165
1165
  return Ct(R, {
1166
1166
  interval: 2e3,
1167
1167
  autoStart: !0
1168
- }), A(), re(), (w, T) => (_(), F("div", Ut, [O("div", {
1168
+ }), I(), re(), (w, T) => (_(), F("div", Ut, [O("div", {
1169
1169
  ref_key: "scrollableContentRef",
1170
1170
  ref: n,
1171
1171
  class: "scrollable-content"
1172
- }, [I(p(Be), {
1172
+ }, [E(p(Be), {
1173
1173
  title: "基本信息"
1174
1174
  }, {
1175
1175
  title: h(() => T[1] || (T[1] = [O("div", {
1176
1176
  class: "title"
1177
1177
  }, "基本信息", -1)])),
1178
- default: h(() => [I(p(se), {
1178
+ default: h(() => [E(p(se), {
1179
1179
  label: "标题:",
1180
1180
  span: 3
1181
1181
  }, {
1182
- default: h(() => [N(z(U.value.title), 1)]),
1182
+ default: h(() => [N(z(L.value.title), 1)]),
1183
1183
  _: 1
1184
- }), I(p(se), {
1184
+ }), E(p(se), {
1185
1185
  label: "反馈类型:",
1186
1186
  span: 1
1187
1187
  }, {
1188
- default: h(() => [I(p(ee), {
1188
+ default: h(() => [E(p(ee), {
1189
1189
  color: "arcoblue"
1190
1190
  }, {
1191
1191
  default: h(() => {
1192
- var E;
1193
- return [N(z((E = p(te)(p(me), U.value.type)) == null ? void 0 : E.label), 1)];
1192
+ var A;
1193
+ return [N(z((A = p(te)(p(me), L.value.type)) == null ? void 0 : A.label), 1)];
1194
1194
  }),
1195
1195
  _: 1
1196
1196
  })]),
1197
1197
  _: 1
1198
- }), I(p(se), {
1198
+ }), E(p(se), {
1199
1199
  label: "状态:",
1200
1200
  span: 1
1201
1201
  }, {
1202
- default: h(() => [I(p(ee), {
1203
- color: u(U.value.status)
1202
+ default: h(() => [E(p(ee), {
1203
+ color: u(L.value.status)
1204
1204
  }, {
1205
1205
  default: h(() => {
1206
- var E;
1207
- return [N(z((E = p(te)(p(Ne), U.value.status)) == null ? void 0 : E.label), 1)];
1206
+ var A;
1207
+ return [N(z((A = p(te)(p(Ne), L.value.status)) == null ? void 0 : A.label), 1)];
1208
1208
  }),
1209
1209
  _: 1
1210
1210
  }, 8, ["color"])]),
@@ -1213,7 +1213,7 @@ const me = [{
1213
1213
  _: 1
1214
1214
  }), O("div", Tt, [T[2] || (T[2] = O("div", {
1215
1215
  class: "title"
1216
- }, "沟通记录", -1)), I(p(Me), {
1216
+ }, "沟通记录", -1)), E(p(Me), {
1217
1217
  class: "messageContent",
1218
1218
  loading: d.value
1219
1219
  }, {
@@ -1224,58 +1224,58 @@ const me = [{
1224
1224
  wrap: "",
1225
1225
  vertical: !1,
1226
1226
  onOnItemClick: c
1227
- })) : (_(), F("div", $t, [(_(!0), F(B, null, we(k.value, (E, M) => (_(), F(B, {
1227
+ })) : (_(), F("div", $t, [(_(!0), F(B, null, we(k.value, (A, M) => (_(), F(B, {
1228
1228
  key: M
1229
- }, [E.type === "text" ? (_(), F(B, {
1229
+ }, [A.type === "text" ? (_(), F(B, {
1230
1230
  key: 0
1231
- }, [E.senderRole !== o.senderRole ? (_(), $(xe, {
1231
+ }, [A.senderRole !== o.senderRole ? (_(), $(xe, {
1232
1232
  key: 0,
1233
- value: E.content,
1234
- type: E.type,
1235
- "avatar-url": E.senderInfo.avatarUrl
1233
+ value: A.content,
1234
+ type: A.type,
1235
+ "avatar-url": A.senderInfo.avatarUrl
1236
1236
  }, null, 8, ["value", "type", "avatar-url"])) : (_(), $(_e, {
1237
1237
  key: 1,
1238
- value: E.content,
1239
- "avatar-url": E.senderInfo.avatarUrl,
1240
- type: E.type
1238
+ value: A.content,
1239
+ "avatar-url": A.senderInfo.avatarUrl,
1240
+ type: A.type
1241
1241
  }, null, 8, ["value", "avatar-url", "type"]))], 64)) : (_(), F(B, {
1242
1242
  key: 1
1243
- }, [E.senderRole !== o.senderRole ? (_(), $(xe, {
1243
+ }, [A.senderRole !== o.senderRole ? (_(), $(xe, {
1244
1244
  key: 0,
1245
- type: E.type,
1246
- value: E.url,
1245
+ type: A.type,
1246
+ value: A.url,
1247
1247
  "avatar-text": "S",
1248
- "avatar-url": E.senderInfo.avatarUrl
1248
+ "avatar-url": A.senderInfo.avatarUrl
1249
1249
  }, null, 8, ["type", "value", "avatar-url"])) : (_(), $(_e, {
1250
1250
  key: 1,
1251
- type: E.type,
1252
- value: E.url,
1253
- "avatar-url": E.senderInfo.avatarUrl
1251
+ type: A.type,
1252
+ value: A.url,
1253
+ "avatar-url": A.senderInfo.avatarUrl
1254
1254
  }, null, 8, ["type", "value", "avatar-url"]))], 64))], 64))), 128))]))]),
1255
1255
  _: 1
1256
- }, 8, ["loading"])])], 512), O("div", Rt, [I(p(at), {
1256
+ }, 8, ["loading"])])], 512), O("div", Rt, [E(p(at), {
1257
1257
  ref_key: "senderRef",
1258
1258
  ref: a,
1259
1259
  value: r.value,
1260
- "onUpdate:value": T[0] || (T[0] = (E) => r.value = E),
1260
+ "onUpdate:value": T[0] || (T[0] = (A) => r.value = A),
1261
1261
  placeholder: "请输入你要咨询的问题?",
1262
1262
  loading: i.value,
1263
1263
  "allow-speech": !1,
1264
1264
  "read-only": i.value,
1265
1265
  onSubmit: v
1266
1266
  }, {
1267
- prefix: h(() => [I(p(pe), {
1267
+ prefix: h(() => [E(p(pe), {
1268
1268
  type: "text",
1269
1269
  class: "IconLink",
1270
1270
  onClick: C
1271
1271
  }, {
1272
- icon: h(() => [I(p(mt))]),
1272
+ icon: h(() => [E(p(mt))]),
1273
1273
  _: 1
1274
1274
  })]),
1275
1275
  _: 1
1276
1276
  }, 8, ["value", "loading", "read-only"])])]));
1277
1277
  }
1278
- }), Ot = /* @__PURE__ */ H(Ft, [["__scopeId", "data-v-a622c3b0"]]);
1278
+ }), Ot = /* @__PURE__ */ H(Ft, [["__scopeId", "data-v-358e6ad1"]]);
1279
1279
  function fe(t, u) {
1280
1280
  const {
1281
1281
  config: r
@@ -1306,14 +1306,14 @@ const qt = {
1306
1306
  setup(t, {
1307
1307
  emit: u
1308
1308
  }) {
1309
- const r = u, i = L(), f = L(!1), a = t, n = L({
1309
+ const r = u, i = U(), f = U(!1), a = t, n = U({
1310
1310
  id: void 0,
1311
1311
  title: "",
1312
1312
  type: "bugReports",
1313
1313
  description: "",
1314
1314
  screenshots: []
1315
1315
  });
1316
- L([]), a.appId, fe("bucketId"), fe("bucket"), fe("region");
1316
+ U([]), a.appId, fe("bucketId"), fe("bucket"), fe("region");
1317
1317
  function e() {
1318
1318
  i.value.validate().then((o) => {
1319
1319
  if (!o) {
@@ -1332,14 +1332,14 @@ const qt = {
1332
1332
  }
1333
1333
  });
1334
1334
  }
1335
- return (o, c) => (_(), F("div", qt, [I(p(Ve), {
1335
+ return (o, c) => (_(), F("div", qt, [E(p(Ve), {
1336
1336
  ref_key: "formRef",
1337
1337
  ref: i,
1338
1338
  model: n.value,
1339
1339
  "auto-label-width": "",
1340
1340
  layout: "vertical"
1341
1341
  }, {
1342
- default: h(() => [I(p(ue), {
1342
+ default: h(() => [E(p(ue), {
1343
1343
  field: "title",
1344
1344
  label: "标题",
1345
1345
  rules: [{
@@ -1347,13 +1347,13 @@ const qt = {
1347
1347
  message: "请输入标题"
1348
1348
  }]
1349
1349
  }, {
1350
- default: h(() => [I(p(We), {
1350
+ default: h(() => [E(p(We), {
1351
1351
  modelValue: n.value.title,
1352
1352
  "onUpdate:modelValue": c[0] || (c[0] = (d) => n.value.title = d),
1353
1353
  placeholder: "请输入标题"
1354
1354
  }, null, 8, ["modelValue"])]),
1355
1355
  _: 1
1356
- }), I(p(ue), {
1356
+ }), E(p(ue), {
1357
1357
  field: "type",
1358
1358
  label: "反馈类型",
1359
1359
  rules: [{
@@ -1361,7 +1361,7 @@ const qt = {
1361
1361
  message: "请选择反馈类型"
1362
1362
  }]
1363
1363
  }, {
1364
- default: h(() => [I(p(He), {
1364
+ default: h(() => [E(p(He), {
1365
1365
  modelValue: n.value.type,
1366
1366
  "onUpdate:modelValue": c[1] || (c[1] = (d) => n.value.type = d),
1367
1367
  placeholder: "请选择反馈类型"
@@ -1376,7 +1376,7 @@ const qt = {
1376
1376
  _: 1
1377
1377
  }, 8, ["modelValue"])]),
1378
1378
  _: 1
1379
- }), I(p(ue), {
1379
+ }), E(p(ue), {
1380
1380
  field: "description",
1381
1381
  label: "问题描述",
1382
1382
  rules: [{
@@ -1384,7 +1384,7 @@ const qt = {
1384
1384
  message: "请输入问题描述"
1385
1385
  }]
1386
1386
  }, {
1387
- default: h(() => [I(p(Ye), {
1387
+ default: h(() => [E(p(Ye), {
1388
1388
  modelValue: n.value.description,
1389
1389
  "onUpdate:modelValue": c[2] || (c[2] = (d) => n.value.description = d),
1390
1390
  placeholder: "请输入问题描述",
@@ -1394,7 +1394,7 @@ const qt = {
1394
1394
  }
1395
1395
  }, null, 8, ["modelValue"])]),
1396
1396
  _: 1
1397
- }), j("", !0), I(p(pe), {
1397
+ }), j("", !0), E(p(pe), {
1398
1398
  loading: f.value,
1399
1399
  type: "primary",
1400
1400
  onClick: e
@@ -1439,7 +1439,7 @@ const qt = {
1439
1439
  setup(t, {
1440
1440
  emit: u
1441
1441
  }) {
1442
- const r = t, i = L(!0), f = L([]), a = L(!1), n = L(""), e = L({
1442
+ const r = t, i = U(!0), f = U([]), a = U(!1), n = U(""), e = U({
1443
1443
  total: 0,
1444
1444
  current: 1,
1445
1445
  pageSize: 10
@@ -1505,7 +1505,7 @@ const qt = {
1505
1505
  a.value = !1;
1506
1506
  });
1507
1507
  }
1508
- const U = (b) => {
1508
+ const L = (b) => {
1509
1509
  e.value.current = b, x();
1510
1510
  }, C = (b) => {
1511
1511
  e.value.current = 1, e.value.pageSize = b, x();
@@ -1517,7 +1517,7 @@ const qt = {
1517
1517
  cursor: "pointer"
1518
1518
  }
1519
1519
  }, {
1520
- default: h(() => [I(p(ge), {
1520
+ default: h(() => [E(p(ge), {
1521
1521
  style: {
1522
1522
  padding: "0px"
1523
1523
  },
@@ -1526,7 +1526,7 @@ const qt = {
1526
1526
  default: h(() => v[0] || (v[0] = [N("我的反馈")])),
1527
1527
  _: 1,
1528
1528
  __: [0]
1529
- }), I(p(ge), {
1529
+ }), E(p(ge), {
1530
1530
  style: {
1531
1531
  padding: "0px"
1532
1532
  }
@@ -1536,41 +1536,41 @@ const qt = {
1536
1536
  __: [1]
1537
1537
  })]),
1538
1538
  _: 1
1539
- })), i.value ? (_(), F("div", jt, [I(rt, {
1539
+ })), i.value ? (_(), F("div", jt, [E(rt, {
1540
1540
  columns: d,
1541
1541
  data: f.value,
1542
1542
  loading: a.value,
1543
1543
  pagination: e.value,
1544
- onPageChange: U,
1544
+ onPageChange: L,
1545
1545
  onPageSizeChange: C
1546
1546
  }, {
1547
1547
  type: h(({
1548
- record: A
1549
- }) => [I(p(ee), {
1548
+ record: I
1549
+ }) => [E(p(ee), {
1550
1550
  color: "arcoblue"
1551
1551
  }, {
1552
1552
  default: h(() => {
1553
1553
  var R;
1554
- return [N(z((R = p(te)(p(me), A.type)) == null ? void 0 : R.label), 1)];
1554
+ return [N(z((R = p(te)(p(me), I.type)) == null ? void 0 : R.label), 1)];
1555
1555
  }),
1556
1556
  _: 2
1557
1557
  }, 1024)]),
1558
1558
  status: h(({
1559
- record: A
1560
- }) => [I(p(ee), {
1561
- color: k(A.status)
1559
+ record: I
1560
+ }) => [E(p(ee), {
1561
+ color: k(I.status)
1562
1562
  }, {
1563
1563
  default: h(() => {
1564
1564
  var R;
1565
- return [N(z((R = p(te)(p(Ne), A.status)) == null ? void 0 : R.label), 1)];
1565
+ return [N(z((R = p(te)(p(Ne), I.status)) == null ? void 0 : R.label), 1)];
1566
1566
  }),
1567
1567
  _: 2
1568
1568
  }, 1032, ["color"])]),
1569
1569
  actions: h(({
1570
- record: A
1571
- }) => [I(p(pe), {
1570
+ record: I
1571
+ }) => [E(p(pe), {
1572
1572
  type: "text",
1573
- onClick: (R) => c(A)
1573
+ onClick: (R) => c(I)
1574
1574
  }, {
1575
1575
  default: h(() => v[2] || (v[2] = [N("查看")])),
1576
1576
  _: 2,
@@ -1623,11 +1623,11 @@ const qt = {
1623
1623
  expose: u,
1624
1624
  emit: r
1625
1625
  }) {
1626
- const i = L(!1), f = t, a = r;
1626
+ const i = U(!1), f = t, a = r;
1627
1627
  function n() {
1628
1628
  a("cancel");
1629
1629
  }
1630
- const e = L(["FeedbackList"]), o = L(["功能变更"]), c = L([{
1630
+ const e = U(["FeedbackList"]), o = U(["功能变更"]), c = U([{
1631
1631
  name: "我的反馈",
1632
1632
  path: "FeedbackList",
1633
1633
  meta: {
@@ -1639,25 +1639,25 @@ const qt = {
1639
1639
  meta: {
1640
1640
  icon: "mingcute:cube-3d-fill"
1641
1641
  }
1642
- }]), d = L(!1), k = G(() => e.value.length !== 0 ? e.value[0] : "");
1642
+ }]), d = U(!1), k = G(() => e.value.length !== 0 ? e.value[0] : "");
1643
1643
  function x() {
1644
1644
  e.value = ["FeedbackList"];
1645
1645
  }
1646
- function U() {
1646
+ function L() {
1647
1647
  d.value = !1;
1648
1648
  }
1649
- function C(v, A) {
1649
+ function C(v, I) {
1650
1650
  const R = v.path;
1651
- console.log(R, A, "lokokoko"), e.value = [R], o.value = v.name;
1651
+ console.log(R, I, "lokokoko"), e.value = [R], o.value = v.name;
1652
1652
  }
1653
1653
  function b(v) {
1654
1654
  i.value = v;
1655
1655
  }
1656
1656
  return u({
1657
1657
  setData: b
1658
- }), (v, A) => (_(), $(p(Xe), {
1658
+ }), (v, I) => (_(), $(p(Xe), {
1659
1659
  visible: i.value,
1660
- "onUpdate:visible": A[1] || (A[1] = (R) => i.value = R),
1660
+ "onUpdate:visible": I[1] || (I[1] = (R) => i.value = R),
1661
1661
  loading: !1,
1662
1662
  "body-class": "AppMessagebodyClass",
1663
1663
  "mask-closable": !1,
@@ -1667,9 +1667,9 @@ const qt = {
1667
1667
  "hide-title": !1,
1668
1668
  onCancel: n
1669
1669
  }, {
1670
- default: h(() => [O("div", Mt, [O("div", Vt, [I(Je, {
1670
+ default: h(() => [O("div", Mt, [O("div", Vt, [E(Je, {
1671
1671
  "selected-keys": e.value,
1672
- "onUpdate:selectedKeys": A[0] || (A[0] = (R) => e.value = R),
1672
+ "onUpdate:selectedKeys": I[0] || (I[0] = (R) => e.value = R),
1673
1673
  menus: c.value,
1674
1674
  onChange: C
1675
1675
  }, null, 8, ["selected-keys", "menus"])]), O("div", Wt, [k.value === "FeedbackList" ? (_(), $(Bt, {
@@ -1684,15 +1684,15 @@ const qt = {
1684
1684
  "app-id": f.appId,
1685
1685
  "prefix-url": f.prefixUrl,
1686
1686
  onConfirm: x
1687
- }, null, 8, ["app-id", "prefix-url"])) : j("", !0)])]), I(p(Ze), {
1687
+ }, null, 8, ["app-id", "prefix-url"])) : j("", !0)])]), E(p(Ze), {
1688
1688
  width: 400,
1689
1689
  visible: d.value,
1690
1690
  "unmount-on-close": "",
1691
1691
  footer: !1,
1692
1692
  title: `${o.value}详情`,
1693
- onCancel: U
1693
+ onCancel: L
1694
1694
  }, {
1695
- default: h(() => A[2] || (A[2] = [O("div", null, " You can customize modal body text by the current situation. This modal will be closed immediately once you press the OK button. ", -1)])),
1695
+ default: h(() => I[2] || (I[2] = [O("div", null, " You can customize modal body text by the current situation. This modal will be closed immediately once you press the OK button. ", -1)])),
1696
1696
  _: 1,
1697
1697
  __: [2]
1698
1698
  }, 8, ["visible", "title"])]),