zf-dbs 0.1.17 → 0.1.18

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.
package/dist/index.d.ts CHANGED
@@ -6,6 +6,9 @@ import { DefineComponent } from 'vue';
6
6
  import { defineRequest } from 'zf-utilz';
7
7
  import { DefineRequestOptions } from 'zf-utilz';
8
8
  import { EventListener as EventListener_2 } from 'zf-utilz';
9
+ import { NotificationHandle } from 'element-plus';
10
+ import { NotificationOptions as NotificationOptions_2 } from 'element-plus';
11
+ import { NotificationOptionsTyped } from 'element-plus';
9
12
  import { PropType as PropType_2 } from 'vue';
10
13
  import { PublicProps } from 'vue';
11
14
  import { Ref as Ref_2 } from 'vue';
@@ -152,6 +155,13 @@ export declare function getAppConfig(): {
152
155
 
153
156
  export declare function getAppInfo(): AppInfo;
154
157
 
158
+ export declare const notify: ((options: Partial<NotificationOptions_2>) => NotificationHandle) & {
159
+ success(options: Partial<NotificationOptionsTyped>): NotificationHandle;
160
+ info(options: Partial<NotificationOptionsTyped>): NotificationHandle;
161
+ warning(options: Partial<NotificationOptionsTyped>): NotificationHandle;
162
+ error(options: Partial<NotificationOptionsTyped>): NotificationHandle;
163
+ };
164
+
155
165
  declare class Polling<T = any> {
156
166
  private _value?;
157
167
  get value(): T | undefined;
package/dist/index.mjs CHANGED
@@ -147,6 +147,7 @@ export {
147
147
  U as defineService,
148
148
  E as getAppConfig,
149
149
  a as getAppInfo,
150
+ r as notify,
150
151
  P as request,
151
152
  S as ue,
152
153
  c as useAppConfig,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "zf-dbs",
3
3
  "type": "module",
4
4
  "description": "",
5
- "version": "0.1.17",
5
+ "version": "0.1.18",
6
6
  "main": "./dist/index.mjs",
7
7
  "module": "./dist/index.mjs",
8
8
  "types": "./dist/index.d.ts",