halov 0.26.414 → 0.26.513

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.
@@ -17,11 +17,11 @@ export declare const useAccountStore: import('pinia').StoreDefinition<"account",
17
17
  logout: () => void;
18
18
  loadMenus: (rootMenuName?: string) => Promise<void>;
19
19
  addMessage: (message: UserMessage) => void;
20
- userInfo: Record<string, any> | null;
21
- lastUserName: string | null;
22
- sessionToken: string | null;
23
- isLoadingMenu: boolean;
24
- menus: {
20
+ userInfo: import('vue').Ref<Record<string, any> | null, Record<string, any> | null>;
21
+ lastUserName: import('vue').Ref<string | null, string | null>;
22
+ sessionToken: import('vue').Ref<string | null, string | null>;
23
+ isLoadingMenu: import('vue').Ref<boolean, boolean>;
24
+ menus: import('vue').Ref<{
25
25
  guid: string;
26
26
  title: string;
27
27
  icon?: string | undefined;
@@ -36,14 +36,35 @@ export declare const useAccountStore: import('pinia').StoreDefinition<"account",
36
36
  closable?: {
37
37
  valueOf: () => boolean;
38
38
  } | undefined;
39
- }[] | null;
40
- messages: {
39
+ }[] | null, {
40
+ guid: string;
41
+ title: string;
42
+ icon?: string | undefined;
43
+ color?: string | undefined;
44
+ url?: string | undefined;
45
+ isSeparator: boolean;
46
+ isEnabled: boolean;
47
+ groupName?: string | undefined;
48
+ description?: string | undefined;
49
+ items?: /*elided*/ any[] | undefined;
50
+ tabBehavior?: "Stay" | "NewTab" | "NamedTab" | undefined;
51
+ closable?: {
52
+ valueOf: () => boolean;
53
+ } | undefined;
54
+ }[] | null>;
55
+ messages: import('vue').Ref<{
41
56
  type: string;
42
57
  subject: string;
43
58
  content?: string | undefined;
44
59
  createTime: number;
45
60
  isNew: boolean;
46
- }[];
61
+ }[], {
62
+ type: string;
63
+ subject: string;
64
+ content?: string | undefined;
65
+ createTime: number;
66
+ isNew: boolean;
67
+ }[]>;
47
68
  }, "sessionToken" | "userInfo" | "lastUserName" | "isLoadingMenu" | "menus" | "messages">, Pick<{
48
69
  setSession: (data: string | null) => void;
49
70
  setLastUserName: (data: string | null) => void;
@@ -55,11 +76,11 @@ export declare const useAccountStore: import('pinia').StoreDefinition<"account",
55
76
  logout: () => void;
56
77
  loadMenus: (rootMenuName?: string) => Promise<void>;
57
78
  addMessage: (message: UserMessage) => void;
58
- userInfo: Record<string, any> | null;
59
- lastUserName: string | null;
60
- sessionToken: string | null;
61
- isLoadingMenu: boolean;
62
- menus: {
79
+ userInfo: import('vue').Ref<Record<string, any> | null, Record<string, any> | null>;
80
+ lastUserName: import('vue').Ref<string | null, string | null>;
81
+ sessionToken: import('vue').Ref<string | null, string | null>;
82
+ isLoadingMenu: import('vue').Ref<boolean, boolean>;
83
+ menus: import('vue').Ref<{
63
84
  guid: string;
64
85
  title: string;
65
86
  icon?: string | undefined;
@@ -74,14 +95,35 @@ export declare const useAccountStore: import('pinia').StoreDefinition<"account",
74
95
  closable?: {
75
96
  valueOf: () => boolean;
76
97
  } | undefined;
77
- }[] | null;
78
- messages: {
98
+ }[] | null, {
99
+ guid: string;
100
+ title: string;
101
+ icon?: string | undefined;
102
+ color?: string | undefined;
103
+ url?: string | undefined;
104
+ isSeparator: boolean;
105
+ isEnabled: boolean;
106
+ groupName?: string | undefined;
107
+ description?: string | undefined;
108
+ items?: /*elided*/ any[] | undefined;
109
+ tabBehavior?: "Stay" | "NewTab" | "NamedTab" | undefined;
110
+ closable?: {
111
+ valueOf: () => boolean;
112
+ } | undefined;
113
+ }[] | null>;
114
+ messages: import('vue').Ref<{
115
+ type: string;
116
+ subject: string;
117
+ content?: string | undefined;
118
+ createTime: number;
119
+ isNew: boolean;
120
+ }[], {
79
121
  type: string;
80
122
  subject: string;
81
123
  content?: string | undefined;
82
124
  createTime: number;
83
125
  isNew: boolean;
84
- }[];
126
+ }[]>;
85
127
  }, never>, Pick<{
86
128
  setSession: (data: string | null) => void;
87
129
  setLastUserName: (data: string | null) => void;
@@ -93,11 +135,26 @@ export declare const useAccountStore: import('pinia').StoreDefinition<"account",
93
135
  logout: () => void;
94
136
  loadMenus: (rootMenuName?: string) => Promise<void>;
95
137
  addMessage: (message: UserMessage) => void;
96
- userInfo: Record<string, any> | null;
97
- lastUserName: string | null;
98
- sessionToken: string | null;
99
- isLoadingMenu: boolean;
100
- menus: {
138
+ userInfo: import('vue').Ref<Record<string, any> | null, Record<string, any> | null>;
139
+ lastUserName: import('vue').Ref<string | null, string | null>;
140
+ sessionToken: import('vue').Ref<string | null, string | null>;
141
+ isLoadingMenu: import('vue').Ref<boolean, boolean>;
142
+ menus: import('vue').Ref<{
143
+ guid: string;
144
+ title: string;
145
+ icon?: string | undefined;
146
+ color?: string | undefined;
147
+ url?: string | undefined;
148
+ isSeparator: boolean;
149
+ isEnabled: boolean;
150
+ groupName?: string | undefined;
151
+ description?: string | undefined;
152
+ items?: /*elided*/ any[] | undefined;
153
+ tabBehavior?: "Stay" | "NewTab" | "NamedTab" | undefined;
154
+ closable?: {
155
+ valueOf: () => boolean;
156
+ } | undefined;
157
+ }[] | null, {
101
158
  guid: string;
102
159
  title: string;
103
160
  icon?: string | undefined;
@@ -112,13 +169,19 @@ export declare const useAccountStore: import('pinia').StoreDefinition<"account",
112
169
  closable?: {
113
170
  valueOf: () => boolean;
114
171
  } | undefined;
115
- }[] | null;
116
- messages: {
172
+ }[] | null>;
173
+ messages: import('vue').Ref<{
174
+ type: string;
175
+ subject: string;
176
+ content?: string | undefined;
177
+ createTime: number;
178
+ isNew: boolean;
179
+ }[], {
117
180
  type: string;
118
181
  subject: string;
119
182
  content?: string | undefined;
120
183
  createTime: number;
121
184
  isNew: boolean;
122
- }[];
185
+ }[]>;
123
186
  }, "setSession" | "setLastUserName" | "setUser" | "setAvatar" | "clearUser" | "setMenus" | "setIsLoadingMenu" | "logout" | "loadMenus" | "addMessage">>;
124
187
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "halov",
3
- "version": "0.26.0414",
3
+ "version": "0.26.513",
4
4
  "type": "module",
5
5
  "main": "dist/halov.umd.cjs",
6
6
  "module": "dist/halov.es.js",