@huyooo/ui 0.6.6 → 0.6.12

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 (29) hide show
  1. package/dist/{AuthkitAuthModal-GorxR6ZJ.js → AuthkitAuthModal-Bfcu3xeg.js} +132 -133
  2. package/dist/{AuthkitSignInPhone-CLW_u8AY.js → AuthkitSignInPhone-CZGGn8Ax.js} +1 -1
  3. package/dist/{FeedbackItem-r5WNpUmu.js → FeedbackItem-8-jd3QUl.js} +1 -1
  4. package/dist/{FeedbackModal-BmRx3EOj.js → FeedbackModal-scDtV6-8.js} +319 -321
  5. package/dist/MessageHandle-CRKV0GBm.js +1182 -0
  6. package/dist/MessageNotifications-CJtKlzc3.js +35 -0
  7. package/dist/{UserAccountMenu-DHDAWoPE.js → UserAccountMenu-B8dw6I3n.js} +22 -23
  8. package/dist/{WidthContainer-DzPQ94uA.js → WidthContainer-CdCvKjzU.js} +2 -2
  9. package/dist/api/Message/ChangelogNotifications.d.ts +46 -2
  10. package/dist/api/Message/EventNotifications.d.ts +49 -2
  11. package/dist/api/Message/MessageNotifications.d.ts +55 -5
  12. package/dist/api/Message/NoticeNotifications.d.ts +54 -2
  13. package/dist/authkit.js +2 -2
  14. package/dist/common.js +1 -1
  15. package/dist/components/LandingPage/LandingPageContact.vue.d.ts +1 -1
  16. package/dist/components/Message/MessageItem.vue.d.ts +40 -0
  17. package/dist/components/Message/MessageList.vue.d.ts +31 -92
  18. package/dist/composables/useMessageList.d.ts +52 -0
  19. package/dist/composables/useMessageNotifications.d.ts +40 -4
  20. package/dist/composables.js +1 -1
  21. package/dist/feedback.js +2 -2
  22. package/dist/index.js +8 -8
  23. package/dist/message.js +2 -2
  24. package/dist/style.css +1 -1
  25. package/dist/useMessageNotifications-CnWbDToT.js +84 -0
  26. package/dist/user.js +1 -1
  27. package/package.json +1 -1
  28. package/dist/MessageHandle-BlsLRmdj.js +0 -820
  29. package/dist/useMessageNotifications-BT84SOgI.js +0 -105
@@ -1,9 +1,44 @@
1
+ /** 消息通知项 */
2
+ interface MessageItem {
3
+ id: string;
4
+ title: string;
5
+ description: string;
6
+ content: Record<string, unknown> | null;
7
+ type: string;
8
+ priority: string;
9
+ createAt: string;
10
+ updateAt: string;
11
+ read?: boolean;
12
+ readAt?: string | null;
13
+ }
1
14
  export declare function useMessageNotifications(type?: string): {
2
15
  isList: import('vue').Ref<boolean, boolean>;
3
16
  id: import('vue').Ref<string, string>;
4
17
  loading: import('vue').Ref<boolean, boolean>;
5
18
  finished: import('vue').Ref<boolean, boolean>;
6
- messageList: import('vue').Ref<any[], any[]>;
19
+ messageList: import('vue').Ref<{
20
+ id: string;
21
+ title: string;
22
+ description: string;
23
+ content: Record<string, unknown> | null;
24
+ type: string;
25
+ priority: string;
26
+ createAt: string;
27
+ updateAt: string;
28
+ read?: boolean | undefined;
29
+ readAt?: string | null | undefined;
30
+ }[], MessageItem[] | {
31
+ id: string;
32
+ title: string;
33
+ description: string;
34
+ content: Record<string, unknown> | null;
35
+ type: string;
36
+ priority: string;
37
+ createAt: string;
38
+ updateAt: string;
39
+ read?: boolean | undefined;
40
+ readAt?: string | null | undefined;
41
+ }[]>;
7
42
  pagination: import('vue').Ref<{
8
43
  total: number;
9
44
  current: number;
@@ -27,9 +62,10 @@ export declare function useMessageNotifications(type?: string): {
27
62
  read: import('vue').ComputedRef<boolean>;
28
63
  toList: () => void;
29
64
  onTabChange: (value: string) => void;
30
- messageNotificationsReadApi: (id: string) => void;
31
- messageNotificationsReadAllApi: (type: string) => void;
65
+ messageNotificationsReadApi: (messageId: string) => void;
66
+ messageNotificationsReadAllApi: (messageType: string) => void;
32
67
  readAll: () => void;
33
68
  getData: () => void;
34
- openDetails: (item: any) => void;
69
+ openDetails: (item: MessageItem) => void;
35
70
  };
71
+ export {};
@@ -2,7 +2,7 @@ import { u as a, a as o } from "./useAuthkitUsersProfile-hZ9L3rYe.js";
2
2
  import { g as u, a as r, s as i, b as n, u as f } from "./auth-bwwc2iT8.js";
3
3
  import { u as p } from "./useAuthkitAppsAuthPageInfo-CzZmhPMm.js";
4
4
  import { u as h } from "./useAuthkitCreateAndUpdate-Co5wMbv7.js";
5
- import { u as d } from "./useMessageNotifications-BT84SOgI.js";
5
+ import { u as d } from "./useMessageNotifications-CnWbDToT.js";
6
6
  import { u as x, a as C } from "./useDownloads-C0V_Sjr9.js";
7
7
  import { u as P } from "./useTableHandle-DaKaAKAH.js";
8
8
  import { b as k, f as M, g as O, u as w, a as E, c as S, e as U, d as v, w as D } from "./useSEO-DT8VkGVt.js";
package/dist/feedback.js CHANGED
@@ -1,6 +1,6 @@
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";
1
+ import { B as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-scDtV6-8.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-r5WNpUmu.js";
3
+ import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-8-jd3QUl.js";
4
4
  export {
5
5
  r as Clipboard,
6
6
  b as FeedbackBubbleEnd,
package/dist/index.js CHANGED
@@ -2,30 +2,30 @@ import { u as h3, a as u3 } from "./useAuthkitUsersProfile-hZ9L3rYe.js";
2
2
  import { c as g3, g as m3, a as L3, s as y3, b as w3, u as F3 } from "./auth-bwwc2iT8.js";
3
3
  import { u as k3 } from "./useAuthkitAppsAuthPageInfo-CzZmhPMm.js";
4
4
  import { u as x3 } from "./useAuthkitCreateAndUpdate-Co5wMbv7.js";
5
- import { u as Z3 } from "./useMessageNotifications-BT84SOgI.js";
5
+ import { u as Z3 } from "./useMessageNotifications-CnWbDToT.js";
6
6
  import { a as e2 } from "./useDownloads-C0V_Sjr9.js";
7
7
  import { u as E3 } from "./useDownloads-C0V_Sjr9.js";
8
8
  import { u as A3 } from "./useTableHandle-DaKaAKAH.js";
9
9
  import { n as p2, h as I, U as f2, i as t2, V as h2, j as q, H as K, k as u2, v as _2 } from "./useSEO-DT8VkGVt.js";
10
10
  import { b as b3, f as G3, g as D3, u as P3, a as T3, c as O3, e as B3, d as I3, w as $3 } from "./useSEO-DT8VkGVt.js";
11
11
  import { u as W3 } from "./useUploadCos-EWMNJjRf.js";
12
- 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, _ as e4, O as t4, _ as o4, O as s4, f as a4, o as i4, P as n4, j as r4, R as c4, S as l4, i as C4, m as d4, d as p4, e as f4, g as h4, h as u4, p as _4, u as g4 } from "./AuthkitAuthModal-GorxR6ZJ.js";
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
- 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";
12
+ 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, _ as e4, O as t4, _ as o4, O as s4, f as a4, o as i4, P as n4, j as r4, R as c4, S as l4, i as C4, m as d4, d as p4, e as f4, g as h4, h as u4, p as _4, u as g4 } from "./AuthkitAuthModal-Bfcu3xeg.js";
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-CZGGn8Ax.js";
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-CRKV0GBm.js";
15
15
  import { M as N4, a as W4 } from "./MessageMenu-_RZJ9Mbi.js";
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";
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-scDtV6-8.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-r5WNpUmu.js";
18
+ import { F as o6, a as s6, c as a6, b as i6, d as n6 } from "./FeedbackItem-8-jd3QUl.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-DzPQ94uA.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-CdCvKjzU.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-DHDAWoPE.js";
28
+ import { d as E7, U as U7, a as A7, b as S7, c as b7, S as G7 } from "./UserAccountMenu-B8dw6I3n.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";
package/dist/message.js CHANGED
@@ -1,6 +1,6 @@
1
- import { I as e, A as i, C as t, _ as o, a as g, D as M, E as n, b as f, M as c, c as N, N as l, f as r, d as m, e as p } from "./MessageHandle-BlsLRmdj.js";
1
+ import { I as e, A as i, C as t, _ as o, a as g, D as M, E as n, b as f, M as c, c as N, N as l, f as r, d as m, e as p } from "./MessageHandle-CRKV0GBm.js";
2
2
  import { M as D, a as C } from "./MessageMenu-_RZJ9Mbi.js";
3
- import { u as d } from "./useMessageNotifications-BT84SOgI.js";
3
+ import { u as d } from "./useMessageNotifications-CnWbDToT.js";
4
4
  export {
5
5
  e as InfiniteLoading,
6
6
  i as MessageAppMessage,