adpro-react 0.0.22-rc.18 → 0.0.22-rc.19
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/README.md +50 -50
- package/dist/adpro-react.cjs.js +87 -87
- package/dist/adpro-react.es.js +3033 -3080
- package/dist/components/ToastNotificationADPRO/index.d.ts +3 -0
- package/dist/components/ToastNotificationADPRO/index.d.ts.map +1 -0
- package/dist/components/ToastNotificationADPRO/store/useNotificationStore.d.ts +13 -0
- package/dist/components/ToastNotificationADPRO/store/useNotificationStore.d.ts.map +1 -0
- package/dist/components/ToastNotificationADPRO/types/SnackbarMessage.d.ts +8 -0
- package/dist/components/ToastNotificationADPRO/types/SnackbarMessage.d.ts.map +1 -0
- package/dist/components/ToastNotificationADPRO/view/NotificationADPRO.d.ts +2 -0
- package/dist/components/ToastNotificationADPRO/view/NotificationADPRO.d.ts.map +1 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/methods/requestADPRO/RequestADPRO.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/useToast.d.ts +0 -3
- package/dist/hooks/useToast.d.ts.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ToastNotificationADPRO/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { SnackbarMessage } from '../types/SnackbarMessage';
|
2
|
+
interface NotificationStoreState {
|
3
|
+
snackPack: SnackbarMessage[];
|
4
|
+
open: boolean;
|
5
|
+
messageInfo?: SnackbarMessage;
|
6
|
+
enqueue: (title: string | React.ReactNode, subtitle: string | React.ReactNode, severity: 'success' | 'error' | 'warning' | 'info', type: 'snack' | 'toast') => void;
|
7
|
+
close: () => void;
|
8
|
+
processQueue: () => void;
|
9
|
+
onExited: () => void;
|
10
|
+
}
|
11
|
+
export declare const useNotificationStore: import('zustand').UseBoundStore<import('zustand').StoreApi<NotificationStoreState>>;
|
12
|
+
export {};
|
13
|
+
//# sourceMappingURL=useNotificationStore.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useNotificationStore.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/store/useNotificationStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG3D,UAAU,sBAAsB;IAC5B,SAAS,EAAE,eAAe,EAAE,CAAC;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,OAAO,EAAE,CACL,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,EAC/B,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,EAClC,QAAQ,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,EAClD,IAAI,EAAE,OAAO,GAAG,OAAO,KACtB,IAAI,CAAC;IACV,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,oBAAoB,qFAqC9B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SnackbarMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/types/SnackbarMessage.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChC,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACnC,QAAQ,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACnD,IAAI,EAAE,OAAO,GAAG,OAAO,CAAA;IACvB,GAAG,EAAE,MAAM,CAAC;CACf"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NotificationADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/view/NotificationADPRO.tsx"],"names":[],"mappings":"AAmBA,eAAO,MAAM,iBAAiB,+CAkL7B,CAAC"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA"}
|
package/dist/main.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,KAAK,+CAgPjB,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RequestADPRO.d.ts","sourceRoot":"","sources":["../../../src/methods/requestADPRO/RequestADPRO.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAMnE,eAAO,MAAM,YAAY,EAAE,
|
1
|
+
{"version":3,"file":"RequestADPRO.d.ts","sourceRoot":"","sources":["../../../src/methods/requestADPRO/RequestADPRO.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAMnE,eAAO,MAAM,YAAY,EAAE,iBAoE1B,CAAC;AAmCF,eAAO,MAAM,gBAAgB,GAAU,MAAM,MAAM,oBAsBlD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/package.json
CHANGED
package/dist/hooks/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
package/dist/hooks/useToast.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useToast.d.ts","sourceRoot":"","sources":["../../src/hooks/useToast.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAmB,MAAM,eAAe,CAAA;AAEhE,eAAO,MAAM,QAAQ,GAAI,eAAe,eAAe,GAAG,eAAe,EAAE,KAAG,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,WAAW,EAAE,eAAe,GAAG,eAAe,EAAE,KAAK,IAAI,CAQ3J,CAAA"}
|