@huyooo/ui 0.6.7 → 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.
@@ -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/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
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
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-DwmXFEFt.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-DYrrql9-.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,