@huyooo/ui 0.15.2 → 0.16.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.
Files changed (37) hide show
  1. package/dist/{AuthkitAppSetting-Ds7mYFV5.js → AuthkitAppSetting-v80fEiq0.js} +1 -1
  2. package/dist/{AuthkitGithubBinding-LVDS1PNQ.js → AuthkitGithubBinding-CVhCM6AX.js} +1 -1
  3. package/dist/{FeedbackItem-DkvSQT33.js → FeedbackItem-BP-SiJ2u.js} +98 -184
  4. package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-CAGBbiZD.js +1396 -0
  5. package/dist/{MessageHandle-CEQtGyVZ.js → MessageHandle-BMhGWVHD.js} +54 -54
  6. package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-87v_RIQa.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-ByB_YaVb.js} +1 -1
  7. package/dist/{Upload.vue_vue_type_script_setup_true_lang-DLKSHzxG.js → Upload.vue_vue_type_script_setup_true_lang-CXr8D4VG.js} +1 -1
  8. package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-C7mV8kGe.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-6xQNhFk3.js} +16 -16
  9. package/dist/{WidthContainer-DKasAIgU.js → WidthContainer-DVZQV6sM.js} +2 -2
  10. package/dist/authkit.js +2 -2
  11. package/dist/common.js +1 -1
  12. package/dist/components/Feedback/FeedbackBubbleEnd.vue.d.ts +11 -14
  13. package/dist/components/Feedback/FeedbackBubbleStart.vue.d.ts +11 -14
  14. package/dist/components/Feedback/FeedbackDetails.vue.d.ts +1 -0
  15. package/dist/components/Feedback/FeedbackForm.vue.d.ts +1 -0
  16. package/dist/components/Feedback/FeedbackMessageAttachments.vue.d.ts +15 -0
  17. package/dist/components/Feedback/FeedbackVideoPreview.vue.d.ts +33 -0
  18. package/dist/components/LandingPage/LandingPageContainer.vue.d.ts +1 -1
  19. package/dist/components/LandingPage/LandingPagePageContent.vue.d.ts +1 -1
  20. package/dist/composables/feedbackAttachmentPolicy.d.ts +6 -0
  21. package/dist/composables/uploadFeedbackAttachment.d.ts +9 -0
  22. package/dist/composables/useFeedbackPendingAttachments.d.ts +98 -0
  23. package/dist/composables.js +1 -1
  24. package/dist/feedback.d.ts +0 -1
  25. package/dist/feedback.js +8 -9
  26. package/dist/main.js +118 -119
  27. package/dist/message.js +3 -3
  28. package/dist/style.css +1 -1
  29. package/dist/types/api/ones.generated.d.ts +46 -8
  30. package/dist/types/feedback.d.ts +12 -44
  31. package/dist/upload.js +2 -2
  32. package/dist/{useUploadCos-CvG6EL5Q.js → useUploadCos-DOHnz2MP.js} +5 -3
  33. package/dist/user.js +1 -1
  34. package/dist/utils/feedbackMessage.d.ts +8 -0
  35. package/package.json +1 -1
  36. package/dist/FeedbackModal-C45pNoiw.js +0 -1050
  37. package/dist/components/Feedback/FeedbackScreenshots.vue.d.ts +0 -19
@@ -1,13 +1,13 @@
1
- import { ref as o, defineComponent as T, openBlock as i, createBlock as C, unref as a, withCtx as v, createVNode as N, createCommentVNode as M, createElementBlock as w, createTextVNode as L, toDisplayString as I, createElementVNode as V, Fragment as W, renderList as Q, normalizeClass as G, watch as X, computed as F, useModel as Y, isRef as Z, mergeModels as j } from "vue";
1
+ import { ref as o, defineComponent as T, openBlock as i, createBlock as C, unref as a, withCtx as v, createVNode as N, createCommentVNode as M, createElementBlock as w, createTextVNode as L, toDisplayString as $, createElementVNode as V, Fragment as W, renderList as Q, normalizeClass as G, watch as X, computed as F, useModel as Y, isRef as Z, mergeModels as j } from "vue";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import { U as ee } from "./index-D3Kp6R4z.js";
5
5
  /* empty css */
6
6
  import { M as q } from "./MessageList-CrCF8mU6.js";
7
- import { Spin as te, Breadcrumb as K, BreadcrumbItem as D, Tag as U, Modal as ae } from "@arco-design/web-vue";
7
+ import { Spin as te, Breadcrumb as K, BreadcrumbItem as I, Tag as D, Modal as ae } from "@arco-design/web-vue";
8
8
  import { o as x } from "./apiClients-DT7o0IpO.js";
9
9
  import { TiptapEditor as se, TiptapTitle as ne } from "@huyooo/vue-tiptap";
10
- import { _ as $ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  import { Icon as le } from "@iconify/vue";
12
12
  import { u as ie } from "./useAuthkitCreateAndUpdate-MzA4qtTh.js";
13
13
  import { M as oe } from "./Menu-Cy2ZPeaz.js";
@@ -136,7 +136,7 @@ const ue = /* @__PURE__ */ T({
136
136
  _: 1
137
137
  }, 8, ["loading"]));
138
138
  }
139
- }), B = /* @__PURE__ */ $(ue, [["__scopeId", "data-v-6ccdedc3"]]), re = /* @__PURE__ */ T({
139
+ }), B = /* @__PURE__ */ U(ue, [["__scopeId", "data-v-6ccdedc3"]]), re = /* @__PURE__ */ T({
140
140
  __name: "MessageChangelogNotificationsDetails",
141
141
  props: {
142
142
  id: {
@@ -206,12 +206,12 @@ const ue = /* @__PURE__ */ T({
206
206
  key: 0,
207
207
  class: "message-panel__breadcrumb"
208
208
  }, {
209
- default: v(() => [N(a(D), {
209
+ default: v(() => [N(a(I), {
210
210
  onClick: a(e)
211
211
  }, {
212
212
  default: v(() => [...m[0] || (m[0] = [L("更新日志", -1)])]),
213
213
  _: 1
214
- }, 8, ["onClick"]), N(a(D), null, {
214
+ }, 8, ["onClick"]), N(a(I), null, {
215
215
  default: v(() => [...m[1] || (m[1] = [L("详情", -1)])]),
216
216
  _: 1
217
217
  })]),
@@ -226,25 +226,25 @@ const ue = /* @__PURE__ */ T({
226
226
  }, {
227
227
  prefix: v(({
228
228
  item: y
229
- }) => [V("span", de, I(y.version), 1)]),
229
+ }) => [V("span", de, $(y.version), 1)]),
230
230
  tags: v(({
231
231
  item: y
232
- }) => [N(a(U), {
232
+ }) => [N(a(D), {
233
233
  color: n(y.changeType),
234
234
  size: "small"
235
235
  }, {
236
- default: v(() => [L(I(A(y.changeType)), 1)]),
236
+ default: v(() => [L($(A(y.changeType)), 1)]),
237
237
  _: 2
238
238
  }, 1032, ["color"])]),
239
239
  footer: v(({
240
240
  item: y
241
- }) => [y.publishedAt ? (i(), w("span", pe, " 发布于 " + I(y.publishedAt), 1)) : M("", !0)]),
241
+ }) => [y.publishedAt ? (i(), w("span", pe, " 发布于 " + $(y.publishedAt), 1)) : M("", !0)]),
242
242
  _: 1
243
243
  }, 8, ["message-list", "loading", "finished", "onItemClick", "onLoadMore"])) : (i(), w("div", fe, [N(re, {
244
244
  id: a(g)
245
245
  }, null, 8, ["id"])]))]));
246
246
  }
247
- }), ve = /* @__PURE__ */ $(ge, [["__scopeId", "data-v-5fd47205"]]), me = /* @__PURE__ */ T({
247
+ }), ve = /* @__PURE__ */ U(ge, [["__scopeId", "data-v-d65989f5"]]), me = /* @__PURE__ */ T({
248
248
  __name: "MessageEventNotificationsDetails",
249
249
  props: {
250
250
  id: {
@@ -315,12 +315,12 @@ const ue = /* @__PURE__ */ T({
315
315
  key: 0,
316
316
  class: "message-panel__breadcrumb"
317
317
  }, {
318
- default: v(() => [N(a(D), {
318
+ default: v(() => [N(a(I), {
319
319
  onClick: a(e)
320
320
  }, {
321
321
  default: v(() => [...m[0] || (m[0] = [L("活动通知", -1)])]),
322
322
  _: 1
323
- }, 8, ["onClick"]), N(a(D), null, {
323
+ }, 8, ["onClick"]), N(a(I), null, {
324
324
  default: v(() => [...m[1] || (m[1] = [L("详情", -1)])]),
325
325
  _: 1
326
326
  })]),
@@ -335,22 +335,22 @@ const ue = /* @__PURE__ */ T({
335
335
  }, {
336
336
  tags: v(({
337
337
  item: y
338
- }) => [N(a(U), {
338
+ }) => [N(a(D), {
339
339
  color: n(y.displayStatus),
340
340
  size: "small"
341
341
  }, {
342
- default: v(() => [L(I(A(y.displayStatus)), 1)]),
342
+ default: v(() => [L($(A(y.displayStatus)), 1)]),
343
343
  _: 2
344
344
  }, 1032, ["color"])]),
345
345
  footer: v(({
346
346
  item: y
347
- }) => [y.startAt || y.endAt ? (i(), w("span", _e, I(y.startAt || "无") + " ~ " + I(y.endAt || "无"), 1)) : M("", !0)]),
347
+ }) => [y.startAt || y.endAt ? (i(), w("span", _e, $(y.startAt || "无") + " ~ " + $(y.endAt || "无"), 1)) : M("", !0)]),
348
348
  _: 1
349
349
  }, 8, ["message-list", "loading", "finished", "onItemClick", "onLoadMore"])) : (i(), w("div", be, [N(me, {
350
350
  id: a(g)
351
351
  }, null, 8, ["id"])]))]));
352
352
  }
353
- }), ke = /* @__PURE__ */ $(he, [["__scopeId", "data-v-345bc6c1"]]), Ce = {
353
+ }), ke = /* @__PURE__ */ U(he, [["__scopeId", "data-v-59d1c742"]]), Ce = {
354
354
  style: {
355
355
  display: "flex",
356
356
  gap: "16px"
@@ -387,9 +387,9 @@ const ue = /* @__PURE__ */ T({
387
387
  active: h.modelValue === e.key
388
388
  }]]),
389
389
  onClick: (f) => l(e.key)
390
- }, I(e.label), 11, Ae))), 128))]));
390
+ }, $(e.label), 11, Ae))), 128))]));
391
391
  }
392
- }), Se = /* @__PURE__ */ $(Ne, [["__scopeId", "data-v-d7edaca7"]]), Me = {
392
+ }), Se = /* @__PURE__ */ U(Ne, [["__scopeId", "data-v-d7edaca7"]]), Me = {
393
393
  class: "tabs"
394
394
  }, we = /* @__PURE__ */ T({
395
395
  __name: "MessageTabs",
@@ -437,7 +437,7 @@ const ue = /* @__PURE__ */ T({
437
437
  icon: "icon-park-outline:clear"
438
438
  }), f[1] || (f[1] = V("span", null, " 全部已读", -1))], 2)) : M("", !0)]));
439
439
  }
440
- }), P = /* @__PURE__ */ $(we, [["__scopeId", "data-v-47f7fce5"]]), Le = {
440
+ }), P = /* @__PURE__ */ U(we, [["__scopeId", "data-v-47f7fce5"]]), Le = {
441
441
  class: "message-panel"
442
442
  }, xe = {
443
443
  key: 3,
@@ -546,12 +546,12 @@ const ue = /* @__PURE__ */ T({
546
546
  key: 0,
547
547
  class: "message-panel__breadcrumb"
548
548
  }, {
549
- default: v(() => [N(a(D), {
549
+ default: v(() => [N(a(I), {
550
550
  onClick: O
551
551
  }, {
552
552
  default: v(() => [...d[1] || (d[1] = [L("消息通知", -1)])]),
553
553
  _: 1
554
- }), N(a(D), null, {
554
+ }), N(a(I), null, {
555
555
  default: v(() => [...d[2] || (d[2] = [L("详情", -1)])]),
556
556
  _: 1
557
557
  })]),
@@ -576,14 +576,14 @@ const ue = /* @__PURE__ */ T({
576
576
  }, {
577
577
  tags: v(({
578
578
  item: c
579
- }) => [c.priority === "urgent" ? (i(), C(a(U), {
579
+ }) => [c.priority === "urgent" ? (i(), C(a(D), {
580
580
  key: 0,
581
581
  color: "red",
582
582
  size: "small"
583
583
  }, {
584
584
  default: v(() => [...d[3] || (d[3] = [L("紧急", -1)])]),
585
585
  _: 1
586
- })) : c.priority === "high" ? (i(), C(a(U), {
586
+ })) : c.priority === "high" ? (i(), C(a(D), {
587
587
  key: 1,
588
588
  color: "orange",
589
589
  size: "small"
@@ -598,15 +598,15 @@ const ue = /* @__PURE__ */ T({
598
598
  loading: r.value
599
599
  }, null, 8, ["title", "content", "loading"])]))]));
600
600
  }
601
- }), ze = /* @__PURE__ */ $(Te, [["__scopeId", "data-v-2b7ded4a"]]), Ie = {
601
+ }), ze = {
602
602
  class: "message-panel"
603
603
  }, $e = {
604
604
  key: 0,
605
605
  class: "expire-time"
606
- }, De = {
606
+ }, Ie = {
607
607
  key: 3,
608
608
  class: "message-panel__detail"
609
- }, Ue = /* @__PURE__ */ T({
609
+ }, De = /* @__PURE__ */ T({
610
610
  __name: "MessageNoticeNotifications",
611
611
  setup(h) {
612
612
  const u = o(!0), g = o(""), r = o(!1), l = o({
@@ -720,16 +720,16 @@ const ue = /* @__PURE__ */ T({
720
720
  expired: "已过期"
721
721
  }[c] || "未知";
722
722
  }
723
- return m(), (c, p) => (i(), w("div", Ie, [u.value ? M("", !0) : (i(), C(a(K), {
723
+ return m(), (c, p) => (i(), w("div", ze, [u.value ? M("", !0) : (i(), C(a(K), {
724
724
  key: 0,
725
725
  class: "message-panel__breadcrumb"
726
726
  }, {
727
- default: v(() => [N(a(D), {
727
+ default: v(() => [N(a(I), {
728
728
  onClick: O
729
729
  }, {
730
730
  default: v(() => [...p[1] || (p[1] = [L("公告通知", -1)])]),
731
731
  _: 1
732
- }), N(a(D), null, {
732
+ }), N(a(I), null, {
733
733
  default: v(() => [...p[2] || (p[2] = [L("详情", -1)])]),
734
734
  _: 1
735
735
  })]),
@@ -754,42 +754,42 @@ const ue = /* @__PURE__ */ T({
754
754
  }, {
755
755
  tags: v(({
756
756
  item: k
757
- }) => [k.priority === "urgent" ? (i(), C(a(U), {
757
+ }) => [k.priority === "urgent" ? (i(), C(a(D), {
758
758
  key: 0,
759
759
  color: "red",
760
760
  size: "small"
761
761
  }, {
762
762
  default: v(() => [...p[3] || (p[3] = [L("紧急", -1)])]),
763
763
  _: 1
764
- })) : k.priority === "important" ? (i(), C(a(U), {
764
+ })) : k.priority === "important" ? (i(), C(a(D), {
765
765
  key: 1,
766
766
  color: "orange",
767
767
  size: "small"
768
768
  }, {
769
769
  default: v(() => [...p[4] || (p[4] = [L("重要", -1)])]),
770
770
  _: 1
771
- })) : M("", !0), N(a(U), {
771
+ })) : M("", !0), N(a(D), {
772
772
  color: b(k.displayStatus),
773
773
  size: "small"
774
774
  }, {
775
- default: v(() => [L(I(d(k.displayStatus)), 1)]),
775
+ default: v(() => [L($(d(k.displayStatus)), 1)]),
776
776
  _: 2
777
777
  }, 1032, ["color"])]),
778
778
  footer: v(({
779
779
  item: k
780
- }) => [k.expireAt ? (i(), w("span", $e, I(k.displayStatus === "expired" ? "已过期" : `过期时间: ${k.expireAt}`), 1)) : M("", !0)]),
780
+ }) => [k.expireAt ? (i(), w("span", $e, $(k.displayStatus === "expired" ? "已过期" : `过期时间: ${k.expireAt}`), 1)) : M("", !0)]),
781
781
  _: 1
782
- }, 8, ["message-list", "loading", "finished"])) : (i(), w("div", De, [N(B, {
782
+ }, 8, ["message-list", "loading", "finished"])) : (i(), w("div", Ie, [N(B, {
783
783
  title: l.value.title,
784
784
  content: l.value.content,
785
785
  loading: r.value
786
786
  }, null, 8, ["title", "content", "loading"])]))]));
787
787
  }
788
- }), Ee = /* @__PURE__ */ $(Ue, [["__scopeId", "data-v-ce6c2679"]]), Oe = {
789
- class: "content"
790
- }, Re = {
788
+ }), Ue = /* @__PURE__ */ U(De, [["__scopeId", "data-v-d16f47e2"]]), Ee = {
789
+ class: "user-menu-modal-content"
790
+ }, Oe = {
791
791
  class: "left"
792
- }, Ve = /* @__PURE__ */ T({
792
+ }, Re = /* @__PURE__ */ T({
793
793
  __name: "MessageAppMessage",
794
794
  props: /* @__PURE__ */ j({
795
795
  menus: {
@@ -835,7 +835,7 @@ const ue = /* @__PURE__ */ T({
835
835
  width: a(ee),
836
836
  onCancel: e
837
837
  }, {
838
- default: v(() => [V("div", Oe, [V("div", Re, [N(oe, {
838
+ default: v(() => [V("div", Ee, [V("div", Oe, [N(oe, {
839
839
  "selected-keys": s.value,
840
840
  "onUpdate:selectedKeys": y[0] || (y[0] = (z) => s.value = z),
841
841
  menus: r.menus,
@@ -846,15 +846,15 @@ const ue = /* @__PURE__ */ T({
846
846
  key: 0
847
847
  })) : M("", !0), t.value === "EventNotifications" ? (i(), C(ke, {
848
848
  key: 1
849
- })) : M("", !0), t.value === "MessageNotifications" ? (i(), C(ze, {
849
+ })) : M("", !0), t.value === "MessageNotifications" ? (i(), C(Te, {
850
850
  key: 2
851
- })) : M("", !0), t.value === "NoticeNotifications" ? (i(), C(Ee, {
851
+ })) : M("", !0), t.value === "NoticeNotifications" ? (i(), C(Ue, {
852
852
  key: 3
853
853
  })) : M("", !0)], 64)) : M("", !0)])]),
854
854
  _: 1
855
855
  }, 8, ["visible", "width"]));
856
856
  }
857
- }), qe = /* @__PURE__ */ $(Ve, [["__scopeId", "data-v-0959cb84"]]), Ke = /* @__PURE__ */ T({
857
+ }), Ve = /* @__PURE__ */ T({
858
858
  __name: "MessageHandle",
859
859
  setup(h, {
860
860
  expose: u
@@ -896,7 +896,7 @@ const ue = /* @__PURE__ */ T({
896
896
  }]);
897
897
  return u({
898
898
  openNotification: s
899
- }), (n, A) => (i(), C(qe, {
899
+ }), (n, A) => (i(), C(Re, {
900
900
  ref_key: "MessageNotificationsRef",
901
901
  ref: r,
902
902
  key: l.value,
@@ -908,17 +908,17 @@ const ue = /* @__PURE__ */ T({
908
908
  onCancel: t
909
909
  }, null, 8, ["selected-keys", "menus"]));
910
910
  }
911
- }), tt = /* @__PURE__ */ $(Ke, [["__scopeId", "data-v-2e2a72d0"]]);
911
+ }), Ze = /* @__PURE__ */ U(Ve, [["__scopeId", "data-v-2e2a72d0"]]);
912
912
  export {
913
- qe as A,
914
913
  ve as C,
915
914
  B as D,
916
915
  ke as E,
917
- tt as M,
918
- Ee as N,
919
- re as _,
920
- Se as a,
921
- me as b,
922
- ze as c,
923
- P as d
916
+ Ze as M,
917
+ Ue as N,
918
+ Re as _,
919
+ re as a,
920
+ Se as b,
921
+ me as c,
922
+ Te as d,
923
+ P as e
924
924
  };
@@ -2,7 +2,7 @@ import { defineComponent as f, ref as p, openBlock as t, createElementBlock as i
2
2
  import { Icon as D } from "@iconify/vue";
3
3
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import { o as $ } from "./apiClients-DT7o0IpO.js";
5
- import { D as x } from "./MessageHandle-CEQtGyVZ.js";
5
+ import { D as x } from "./MessageHandle-BMhGWVHD.js";
6
6
  const b = /* @__PURE__ */ f({
7
7
  __name: "MessageMenuItem",
8
8
  props: {
@@ -6,7 +6,7 @@
6
6
  /* empty css */
7
7
  import { defineComponent as g, openBlock as F, createBlock as h, unref as q, mergeProps as y, createSlots as I, withCtx as p, renderSlot as u } from "vue";
8
8
  import { Upload as S } from "@arco-design/web-vue";
9
- import { u as _ } from "./useUploadCos-CvG6EL5Q.js";
9
+ import { u as _ } from "./useUploadCos-DOHnz2MP.js";
10
10
  const N = /* @__PURE__ */ g({
11
11
  __name: "Upload",
12
12
  props: {
@@ -1,8 +1,8 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
- import { defineComponent as m, openBlock as r, createElementBlock as p, toDisplayString as U, createCommentVNode as k, createVNode as d, unref as s, createBlock as _, withCtx as v, createTextVNode as $, createElementVNode as l, ref as h, computed as A, onMounted as J, Fragment as F, renderSlot as C, normalizeClass as K, watch as x } from "vue";
5
- import { Avatar as L, Button as D, Dropdown as Q } from "@arco-design/web-vue";
4
+ import { defineComponent as m, openBlock as r, createElementBlock as p, toDisplayString as U, createCommentVNode as k, createVNode as d, unref as s, createBlock as _, withCtx as v, createTextVNode as $, createElementVNode as l, ref as h, computed as A, onMounted as J, Fragment as L, renderSlot as C, normalizeClass as K, watch as x } from "vue";
5
+ import { Avatar as j, Button as D, Dropdown as Q } from "@arco-design/web-vue";
6
6
  import { u as R } from "./useAuthkitUsersProfile-aw_A7IWb.js";
7
7
  import { u as y } from "./useUserMenu-ClPBlvaM.js";
8
8
  /* empty css */
@@ -12,11 +12,11 @@ import { u as W } from "./apiClients-DT7o0IpO.js";
12
12
  import { u as Z, o as ee, P as ne } from "./PaySubscriptions-D3g1OhiA.js";
13
13
  import { d as te } from "./useBillingStatusOptions-CAsu1hrf.js";
14
14
  import { C as se } from "./Clipboard-R3AURqvU.js";
15
- import { A as ae } from "./AuthkitAppSetting-Ds7mYFV5.js";
16
- import { d as oe } from "./FeedbackModal-C45pNoiw.js";
17
- import { M as re } from "./MessageHandle-CEQtGyVZ.js";
15
+ import { A as ae } from "./AuthkitAppSetting-v80fEiq0.js";
16
+ import { c as oe } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-CAGBbiZD.js";
17
+ import { M as re } from "./MessageHandle-BMhGWVHD.js";
18
18
  import { R as ie } from "./ReferrerReferees-BxmZ1w_L.js";
19
- import { Icon as j } from "@iconify/vue";
19
+ import { Icon as F } from "@iconify/vue";
20
20
  const le = {
21
21
  class: "UserAvatar"
22
22
  }, ue = {
@@ -33,7 +33,7 @@ const le = {
33
33
  }
34
34
  },
35
35
  setup(e) {
36
- return (n, o) => (r(), p("div", le, [e.nickname ? (r(), p("span", ue, U(e.nickname), 1)) : k("", !0), d(s(L), {
36
+ return (n, o) => (r(), p("div", le, [e.nickname ? (r(), p("span", ue, U(e.nickname), 1)) : k("", !0), d(s(j), {
37
37
  "image-url": e.avatar,
38
38
  size: 32,
39
39
  "object-fit": "cover"
@@ -89,7 +89,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
89
89
  }
90
90
  },
91
91
  setup(e) {
92
- return (n, o) => (r(), p("div", be, [d(s(L), {
92
+ return (n, o) => (r(), p("div", be, [d(s(j), {
93
93
  "image-url": e.avatarUrl,
94
94
  size: 42,
95
95
  "object-fit": "cover"
@@ -227,7 +227,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
227
227
  n.showSubscription && (I(), q());
228
228
  }), (f, b) => {
229
229
  var N, O, V, T, z, E;
230
- return r(), p(F, null, [d(Be, {
230
+ return r(), p(L, null, [d(Be, {
231
231
  "avatar-url": (N = s(o)) == null ? void 0 : N.avatarUrl,
232
232
  nickname: (O = s(o)) == null ? void 0 : O.nickname,
233
233
  email: (V = s(o)) == null ? void 0 : V.email,
@@ -351,7 +351,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
351
351
  }]),
352
352
  disabled: e.disabled,
353
353
  onClick: c
354
- }, [l("span", Te, [C(i.$slots, "default", {}, void 0, !0)]), i.$slots.icon || e.icon ? (r(), p("span", ze, [C(i.$slots, "icon", {}, () => [e.icon ? (r(), _(s(j), {
354
+ }, [l("span", Te, [C(i.$slots, "default", {}, void 0, !0)]), i.$slots.icon || e.icon ? (r(), p("span", ze, [C(i.$slots, "icon", {}, () => [e.icon ? (r(), _(s(F), {
355
355
  key: 0,
356
356
  icon: e.icon,
357
357
  width: 16,
@@ -384,7 +384,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
384
384
  }), x(i, () => {
385
385
  var u;
386
386
  (u = P.value) == null || u.setData(!0);
387
- }), (u, H) => (r(), p(F, null, [d(ae, {
387
+ }), (u, H) => (r(), p(L, null, [d(ae, {
388
388
  ref_key: "appSettingRef",
389
389
  ref: g
390
390
  }, null, 512), d(ne, {
@@ -401,11 +401,11 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
401
401
  ref: P
402
402
  }, null, 512)], 64));
403
403
  }
404
- }), Fe = {
404
+ }), Le = {
405
405
  class: "UserAccountMenu"
406
- }, Le = {
407
- class: "UserAccountMenu__avatar"
408
406
  }, je = {
407
+ class: "UserAccountMenu__avatar"
408
+ }, Fe = {
409
409
  class: "UserAccountMenu__meta"
410
410
  }, Xe = {
411
411
  class: "UserAccountMenu__name"
@@ -421,11 +421,11 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
421
421
  } = y();
422
422
  return (t, a) => {
423
423
  var c, i;
424
- return r(), p("div", Fe, [l("div", Le, [C(t.$slots, "avatar", {}, void 0, !0)]), l("div", je, [l("div", Xe, U(((c = s(n)) == null ? void 0 : c.nickname) || ""), 1), l("div", Ye, U(((i = s(n)) == null ? void 0 : i.email) || ""), 1)]), l("div", {
424
+ return r(), p("div", Le, [l("div", je, [C(t.$slots, "avatar", {}, void 0, !0)]), l("div", Fe, [l("div", Xe, U(((c = s(n)) == null ? void 0 : c.nickname) || ""), 1), l("div", Ye, U(((i = s(n)) == null ? void 0 : i.email) || ""), 1)]), l("div", {
425
425
  class: "UserAccountMenu__arrow",
426
426
  onClick: a[0] || (a[0] = //@ts-ignore
427
427
  (...g) => s(o) && s(o)(...g))
428
- }, [d(s(j), {
428
+ }, [d(s(F), {
429
429
  icon: "lucide:chevrons-up-down"
430
430
  })])]);
431
431
  };
@@ -7,12 +7,12 @@ import { d as fe, b as _e } from "./apiClients-DT7o0IpO.js";
7
7
  import { u as N } from "./useAuthkitAppsAuthPageInfo-DScDQfj5.js";
8
8
  import { u as J } from "./useAuthkitUsersProfile-aw_A7IWb.js";
9
9
  import { b as Q, f as X, w as O, a as Y, c as Z } from "./useRoutePermission-v4_0B-aO.js";
10
- import "./useUploadCos-CvG6EL5Q.js";
10
+ import "./useUploadCos-DOHnz2MP.js";
11
11
  import { useRouter as ee, useRoute as te } from "vue-router";
12
12
  import "@unhead/vue";
13
13
  import "./useUserMenu-ClPBlvaM.js";
14
14
  import "./useBillingStatusOptions-CAsu1hrf.js";
15
- import { U as ve, c as ne, h as oe, k as se, _ as ae, f as re, j as ie, d as ue, g as K, i as le } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-C7mV8kGe.js";
15
+ import { U as ve, c as ne, h as oe, k as se, _ as ae, f as re, j as ie, d as ue, g as K, i as le } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-6xQNhFk3.js";
16
16
  /* empty css */
17
17
  import { Icon as R } from "@iconify/vue";
18
18
  import "./Clipboard-R3AURqvU.js";
package/dist/authkit.js CHANGED
@@ -1,5 +1,5 @@
1
- import { A as a, B as s, E as u, a as e, b as h, O as A, P as r, c as o, _ as k, d as n, S as d, e as p, u as P } from "./AuthkitAppSetting-Ds7mYFV5.js";
2
- import { A as l, a as m, b as g, c as S, d as O, e as c, f as L, _ as U, g as w, O as x, h as E, P as b, i as B, j as C, k as y, R as I, S as V, l as _, m as v, n as G, o as R, p as D, q as M } from "./AuthkitGithubBinding-LVDS1PNQ.js";
1
+ import { A as a, B as s, E as u, a as e, b as h, O as A, P as r, c as o, _ as k, d as n, S as d, e as p, u as P } from "./AuthkitAppSetting-v80fEiq0.js";
2
+ import { A as l, a as m, b as g, c as S, d as O, e as c, f as L, _ as U, g as w, O as x, h as E, P as b, i as B, j as C, k as y, R as I, S as V, l as _, m as v, n as G, o as R, p as D, q as M } from "./AuthkitGithubBinding-CVhCM6AX.js";
3
3
  import { u as q } from "./useAuthkitAppsAuthPageInfo-DScDQfj5.js";
4
4
  import { u as K } from "./useAuthkitAuth-DpdKRuJm.js";
5
5
  import { u as Y } from "./apiClients-DT7o0IpO.js";
package/dist/common.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-DKasAIgU.js";
1
+ import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-DVZQV6sM.js";
2
2
  import { C as d, a as f } from "./CollapseItem-DUzZA6tx.js";
3
3
  import { C as x, E as b } from "./CustomTable-BT-cnhLR.js";
4
4
  import { L } from "./Logo-D7fyXyB-.js";
@@ -1,13 +1,12 @@
1
+ import { FeedbackMessageAttachment } from '../../types/feedback';
1
2
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- value: {
3
+ text: {
3
4
  type: StringConstructor;
4
- required: false;
5
5
  default: string;
6
6
  };
7
- type: {
8
- type: StringConstructor;
9
- default: string;
10
- validator: (value: string) => boolean;
7
+ attachments: {
8
+ type: () => FeedbackMessageAttachment[];
9
+ default: () => never[];
11
10
  };
12
11
  avatarUrl: {
13
12
  type: StringConstructor;
@@ -34,15 +33,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
34
33
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
34
  refresh: (...args: any[]) => void;
36
35
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
37
- value: {
36
+ text: {
38
37
  type: StringConstructor;
39
- required: false;
40
38
  default: string;
41
39
  };
42
- type: {
43
- type: StringConstructor;
44
- default: string;
45
- validator: (value: string) => boolean;
40
+ attachments: {
41
+ type: () => FeedbackMessageAttachment[];
42
+ default: () => never[];
46
43
  };
47
44
  avatarUrl: {
48
45
  type: StringConstructor;
@@ -69,9 +66,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
69
66
  }>> & Readonly<{
70
67
  onRefresh?: ((...args: any[]) => any) | undefined;
71
68
  }>, {
72
- value: string;
73
- type: string;
69
+ text: string;
74
70
  avatarUrl: string;
71
+ attachments: FeedbackMessageAttachment[];
75
72
  avatarText: string;
76
73
  bubbleStyle: Record<string, any>;
77
74
  showRefresh: boolean;
@@ -1,13 +1,12 @@
1
+ import { FeedbackMessageAttachment } from '../../types/feedback';
1
2
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- value: {
3
+ text: {
3
4
  type: StringConstructor;
4
- required: false;
5
5
  default: string;
6
6
  };
7
- type: {
8
- type: StringConstructor;
9
- default: string;
10
- validator: (value: string) => boolean;
7
+ attachments: {
8
+ type: () => FeedbackMessageAttachment[];
9
+ default: () => never[];
11
10
  };
12
11
  avatarUrl: {
13
12
  type: StringConstructor;
@@ -28,15 +27,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
28
27
  default: boolean;
29
28
  };
30
29
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
31
- value: {
30
+ text: {
32
31
  type: StringConstructor;
33
- required: false;
34
32
  default: string;
35
33
  };
36
- type: {
37
- type: StringConstructor;
38
- default: string;
39
- validator: (value: string) => boolean;
34
+ attachments: {
35
+ type: () => FeedbackMessageAttachment[];
36
+ default: () => never[];
40
37
  };
41
38
  avatarUrl: {
42
39
  type: StringConstructor;
@@ -57,9 +54,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
57
54
  default: boolean;
58
55
  };
59
56
  }>> & Readonly<{}>, {
60
- value: string;
61
- type: string;
57
+ text: string;
62
58
  avatarUrl: string;
59
+ attachments: FeedbackMessageAttachment[];
63
60
  avatarText: string;
64
61
  bubbleStyle: Record<string, any>;
65
62
  showClipboard: boolean;
@@ -173,5 +173,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
173
173
  }): import('vue').VNode;
174
174
  };
175
175
  }) | null;
176
+ fileInputRef: HTMLInputElement;
176
177
  }, HTMLDivElement>;
177
178
  export default _default;
@@ -4,5 +4,6 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
4
4
  onConfirm?: ((...args: any[]) => any) | undefined;
5
5
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
6
6
  formRef: any;
7
+ fileInputRef: HTMLInputElement;
7
8
  }, HTMLDivElement>;
8
9
  export default _default;
@@ -0,0 +1,15 @@
1
+ import { FeedbackMessageAttachment } from '../../types/feedback';
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ attachments: {
4
+ type: () => FeedbackMessageAttachment[];
5
+ default: () => never[];
6
+ };
7
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
8
+ attachments: {
9
+ type: () => FeedbackMessageAttachment[];
10
+ default: () => never[];
11
+ };
12
+ }>> & Readonly<{}>, {
13
+ attachments: FeedbackMessageAttachment[];
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ export default _default;
@@ -0,0 +1,33 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ src: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ title: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ visible: {
11
+ type: import('vue').PropType<boolean>;
12
+ };
13
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ "update:visible": (value: boolean) => any;
15
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
+ src: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ title: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ visible: {
25
+ type: import('vue').PropType<boolean>;
26
+ };
27
+ }>> & Readonly<{
28
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
29
+ }>, {
30
+ title: string;
31
+ src: string;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
33
+ export default _default;
@@ -13,9 +13,9 @@ declare function __VLS_template(): {
13
13
  };
14
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
15
  declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
16
- padding: string;
17
16
  flexDirection: "row" | "column" | "row-reverse" | "column-reverse";
18
17
  gap: string;
18
+ padding: string;
19
19
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
20
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
21
  export default _default;