guava-ui 0.1.0 → 0.1.1

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.
@@ -168,6 +168,12 @@ export declare const listToTree: <T = any>(list: any[], config?: Partial<TreeHel
168
168
 
169
169
  declare const newPropTypes: PropTypes;
170
170
 
171
+ export declare const notify: {
172
+ alert: (msg: unknown, type?: MessageType) => Promise<void>;
173
+ message: (msg: unknown, type?: MessageType, tableedit?: boolean) => Promise<void>;
174
+ confirm: (msg: string, type?: MessageType) => Promise<unknown>;
175
+ };
176
+
171
177
  export declare const pathResolve: (parentPath: string, path: string) => string;
172
178
 
173
179
  declare type PropTypes = VueTypesInterface & {
@@ -212,12 +218,6 @@ export declare const useCrud: () => {
212
218
  fetchData: <T = any>(fetch: any, params: any) => Promise<IResponse<T>>;
213
219
  };
214
220
 
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
221
  export declare function usePinyin(): {
222
222
  toPinyin: (text: string, withTone?: boolean) => string;
223
223
  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.1",
4
4
  "description": "vue3 & element-plus & typesScript & vite UI platform",
5
5
  "author": "Andy <xukaixing@hotmail.com>",
6
6
  "license": "Apache-2.0",