react-dialogger 1.1.100 → 1.1.102
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/package.json +1 -1
- package/types/DialogTypes.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-dialogger",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.102",
|
|
4
4
|
"description": "This package is a continuation of the react-araci package. Due to an error, react-araci was removed, and it has been decided to continue under the new package name react-dialogger",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Sueleyman Topaloglu",
|
package/types/DialogTypes.d.ts
CHANGED
|
@@ -148,7 +148,7 @@ export type TDialogStateListenerCallbackType = (values: FormikProps<any>['values
|
|
|
148
148
|
export type TDialogCallbackFn<T = React.ReactNode | React.ReactElement> = (dialog: IDialogApiDef) => T;
|
|
149
149
|
export type TDialogHeader = TDialogCallbackFn | React.ReactNode | React.JSX.Element;
|
|
150
150
|
export type TDialogCallbackVoidFn = TDialogCallbackFn<void>;
|
|
151
|
-
export interface IDialogApiDef extends Pick<DialogBase<any>, 'isInProcess' | 'setInProcess' | 'values' | 'setValue' | 'setValues' | 'close' | 'dialogOptions' | 'actions' | 'snackbar' | 'formikValidate' | 'formikProps' | 'focus' | 'updateBody' | 'processingListener' | 'addFeature' | 'getFeature' | 'onAbort' | 'handlers'> {
|
|
151
|
+
export interface IDialogApiDef extends Pick<DialogBase<any>, 'isInProcess' | 'setInProcess' | 'values' | 'setValue' | 'setValues' | 'close' | 'dialogOptions' | 'actions' | 'snackbar' | 'formikValidate' | 'formikProps' | 'focus' | 'updateBody' | 'processingListener' | 'addFeature' | 'getFeature' | 'onAbort' | 'handlers' | 'addHandler'> {
|
|
152
152
|
}
|
|
153
153
|
export interface IDialogCloseRef extends Pick<DialogBase<any>, 'close'> {
|
|
154
154
|
}
|
|
@@ -253,7 +253,7 @@ export type ModelDialogValues<T> = {
|
|
|
253
253
|
[K in keyof T]: DialogValue<T>;
|
|
254
254
|
};
|
|
255
255
|
export type DialogValues<T extends Record<string, any>> = ModelDialogValues<T>;
|
|
256
|
-
export type Dialogify<T> = T extends Function ? never : T extends string | number | boolean | null | undefined ? T : T extends Array<infer U> ? Dialogify<U>[] : T extends object ? {
|
|
256
|
+
export type Dialogify<T> = T extends Function ? never : T extends string | number | boolean | null | undefined | Date ? T : T extends Array<infer U> ? Dialogify<U>[] : T extends object ? {
|
|
257
257
|
[K in keyof T]: Dialogify<T[K]>;
|
|
258
258
|
} : never;
|
|
259
259
|
export type DialogHandlerFn = (...args: any[]) => any;
|