adpro-react 0.0.22-rc.19 → 0.0.22-rc.20
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/adpro-react.cjs.js +214 -111
- package/dist/adpro-react.es.js +13034 -9916
- package/dist/components/ToastNotificationADPRO/store/useNotificationStore.d.ts +1 -1
- package/dist/components/ToastNotificationADPRO/store/useNotificationStore.d.ts.map +1 -1
- package/dist/components/ToastNotificationADPRO/view/NotificationADPRO.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/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/components/notification/ToastADPRO.d.ts +0 -13
- package/dist/components/notification/ToastADPRO.d.ts.map +0 -1
- package/dist/components/notification/ToastContainer.d.ts +0 -7
- package/dist/components/notification/ToastContainer.d.ts.map +0 -1
- package/dist/components/notification/index.d.ts +0 -3
- package/dist/components/notification/index.d.ts.map +0 -1
@@ -3,7 +3,7 @@ interface NotificationStoreState {
|
|
3
3
|
snackPack: SnackbarMessage[];
|
4
4
|
open: boolean;
|
5
5
|
messageInfo?: SnackbarMessage;
|
6
|
-
|
6
|
+
setNotification: (title: string | React.ReactNode, subtitle: string | React.ReactNode, severity: 'success' | 'error' | 'warning' | 'info', type: 'snack' | 'toast') => void;
|
7
7
|
close: () => void;
|
8
8
|
processQueue: () => void;
|
9
9
|
onExited: () => void;
|
@@ -1 +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,
|
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,eAAe,EAAE,CACb,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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NotificationADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/view/NotificationADPRO.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"NotificationADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/view/NotificationADPRO.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,iBAAiB,+CAsL7B,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
export * from './autocomplete';
|
2
|
-
export * from './notification';
|
3
2
|
export * from './multiSelectADPRO';
|
4
3
|
export * from './EllipsisTooltip';
|
5
4
|
export * from './datePicker';
|
6
5
|
export * from './loadingADPRO';
|
6
|
+
export * from './ToastNotificationADPRO';
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,0BAA0B,CAAA"}
|
package/dist/main.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,KAAK,+
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,KAAK,+CAuPjB,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RequestADPRO.d.ts","sourceRoot":"","sources":["../../../src/methods/requestADPRO/RequestADPRO.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"RequestADPRO.d.ts","sourceRoot":"","sources":["../../../src/methods/requestADPRO/RequestADPRO.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAMnE,eAAO,MAAM,YAAY,EAAE,iBAoE1B,CAAC;AAoBF,eAAO,MAAM,gBAAgB,GAAU,MAAM,MAAM,oBAsBlD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/package.json
CHANGED
@@ -1,13 +0,0 @@
|
|
1
|
-
import { AlertColor } from '@mui/material';
|
2
|
-
export interface ToastADPROProps {
|
3
|
-
primaryMessage: string;
|
4
|
-
secondaryMessage?: string;
|
5
|
-
details?: string[];
|
6
|
-
severity?: AlertColor;
|
7
|
-
timeProgress?: number;
|
8
|
-
customContent?: React.ReactNode;
|
9
|
-
finishAction?: () => void;
|
10
|
-
}
|
11
|
-
export declare const ToastADPRO: (props: ToastADPROProps) => false | import("react/jsx-runtime").JSX.Element;
|
12
|
-
export default ToastADPRO;
|
13
|
-
//# sourceMappingURL=ToastADPRO.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ToastADPRO.d.ts","sourceRoot":"","sources":["../../../src/components/notification/ToastADPRO.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,UAAU,EAA6D,MAAM,eAAe,CAAC;AAI7G,MAAM,WAAW,eAAe;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;CAC5B;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,oDAyGhD,CAAA;AAED,eAAe,UAAU,CAAA"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { ToastADPROProps } from './ToastADPRO';
|
2
|
-
export interface ToastsContainerProps {
|
3
|
-
elements: ToastADPROProps | ToastADPROProps[];
|
4
|
-
}
|
5
|
-
export declare const ToastsContainer: import('react').MemoExoticComponent<(props: ToastsContainerProps) => false | import("react/jsx-runtime").JSX.Element>;
|
6
|
-
export default ToastsContainer;
|
7
|
-
//# sourceMappingURL=ToastContainer.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ToastContainer.d.ts","sourceRoot":"","sources":["../../../src/components/notification/ToastContainer.tsx"],"names":[],"mappings":"AAEA,OAAmB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC3D,MAAM,WAAW,oBAAoB;IACjC,QAAQ,EAAE,eAAe,GAAG,eAAe,EAAE,CAAA;CAChD;AACD,eAAO,MAAM,eAAe,8CAAgB,oBAAoB,qDAkC9D,CAAA;AAEF,eAAe,eAAe,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/notification/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA"}
|