guava-ui 0.1.0 → 0.1.2

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.
@@ -19,6 +19,9 @@ declare type __VLS_Props = {
19
19
  size?: string;
20
20
  };
21
21
 
22
+ declare const alert_2: (msg: unknown, type?: MessageType) => Promise<void>;
23
+ export { alert_2 as alert }
24
+
22
25
  export declare const decrypt: (word: string) => any;
23
26
 
24
27
  export declare const eachTree: (treeDatas: any[], callBack: Fn, parentNode?: {}) => void;
@@ -168,6 +171,12 @@ export declare const listToTree: <T = any>(list: any[], config?: Partial<TreeHel
168
171
 
169
172
  declare const newPropTypes: PropTypes;
170
173
 
174
+ export declare const notify: {
175
+ alert: (msg: unknown, type?: MessageType) => Promise<void>;
176
+ message: (msg: unknown, type?: MessageType, tableedit?: boolean) => Promise<void>;
177
+ confirm: (msg: string, type?: MessageType) => Promise<unknown>;
178
+ };
179
+
171
180
  export declare const pathResolve: (parentPath: string, path: string) => string;
172
181
 
173
182
  declare type PropTypes = VueTypesInterface & {
@@ -212,12 +221,6 @@ export declare const useCrud: () => {
212
221
  fetchData: <T = any>(fetch: any, params: any) => Promise<IResponse<T>>;
213
222
  };
214
223
 
215
- export declare const useNotify: () => {
216
- alert: (msg: unknown, type?: MessageType) => Promise<void>;
217
- message: (msg: unknown, type?: MessageType, tableedit?: boolean) => Promise<void>;
218
- confirm: (msg: string, type?: MessageType) => Promise<unknown>;
219
- };
220
-
221
224
  export declare function usePinyin(): {
222
225
  toPinyin: (text: string, withTone?: boolean) => string;
223
226
  getFirstLetter: (text: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "guava-ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "vue3 & element-plus & typesScript & vite UI platform",
5
5
  "author": "Andy <xukaixing@hotmail.com>",
6
6
  "license": "Apache-2.0",