chayns-api 3.4.3 → 3.4.4
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/types/calls/dialogs/alert.d.ts +1 -0
- package/dist/types/calls/dialogs/confirm.d.ts +1 -0
- package/dist/types/calls/dialogs/date.d.ts +1 -0
- package/dist/types/calls/dialogs/dropUpAlert.d.ts +1 -0
- package/dist/types/calls/dialogs/fileSelect.d.ts +1 -0
- package/dist/types/calls/dialogs/iFrame.d.ts +2 -0
- package/dist/types/calls/dialogs/input.d.ts +1 -0
- package/dist/types/calls/dialogs/mediaSelect.d.ts +1 -0
- package/dist/types/calls/dialogs/select.d.ts +1 -0
- package/dist/types/calls/dialogs/signature.d.ts +1 -0
- package/dist/types/calls/dialogs/toast.d.ts +1 -0
- package/package.json +1 -1
|
@@ -9,5 +9,6 @@ type Confirm = {
|
|
|
9
9
|
links?: unknown;
|
|
10
10
|
select?: unknown;
|
|
11
11
|
};
|
|
12
|
+
/** @deprecated Use createDialog with type DialogType.CONFIRM instead */
|
|
12
13
|
export declare function confirm(title?: string, message?: string, config?: Confirm): Promise<any> | "unsupported";
|
|
13
14
|
export {};
|
|
@@ -47,6 +47,7 @@ type DateConfig = {
|
|
|
47
47
|
dateType?: number;
|
|
48
48
|
autoSelectDate?: boolean;
|
|
49
49
|
};
|
|
50
|
+
/** @deprecated Use createDialog with type DialogType.DATE instead */
|
|
50
51
|
export declare function date(config?: DateConfig): Promise<any>;
|
|
51
52
|
type preSelectObj = {
|
|
52
53
|
start?: number | undefined | Date;
|
|
@@ -11,6 +11,8 @@ type IFrameDialog = {
|
|
|
11
11
|
fullHeight?: boolean;
|
|
12
12
|
customTransitionTimeout?: number;
|
|
13
13
|
};
|
|
14
|
+
/** @deprecated Backward compatibility to open iFrame dialogs based on chayns-js.
|
|
15
|
+
* Consider migrating the dialog to use chayns-api and use createDialog with type DialogType.IFRAME instead */
|
|
14
16
|
export declare function iFrame(dialog?: IFrameDialog): Promise<unknown>;
|
|
15
17
|
export declare function _chaynsCallResponder(obj: any): void;
|
|
16
18
|
export {};
|
|
@@ -4,6 +4,7 @@ type InputDialog = {
|
|
|
4
4
|
callType?: number;
|
|
5
5
|
formatter?: string;
|
|
6
6
|
};
|
|
7
|
+
/** @deprecated Use createDialog with type DialogType.INPUT instead */
|
|
7
8
|
export declare function input(dialog?: InputDialog): Promise<unknown>;
|
|
8
9
|
export declare const inputType: {
|
|
9
10
|
DEFAULT: number;
|