chayns-api 2.1.5 → 2.1.6
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.
|
@@ -97,6 +97,7 @@ export interface DialogModule<T extends any = object> {
|
|
|
97
97
|
dialogInput?: T;
|
|
98
98
|
backgroundColor?: string;
|
|
99
99
|
allowAnonymousUser?: boolean;
|
|
100
|
+
seamless?: boolean;
|
|
100
101
|
}
|
|
101
102
|
export interface DialogIFrame<T extends any = object> {
|
|
102
103
|
type: DialogType.IFRAME;
|
|
@@ -104,6 +105,7 @@ export interface DialogIFrame<T extends any = object> {
|
|
|
104
105
|
dialogInput?: T;
|
|
105
106
|
backgroundColor?: string;
|
|
106
107
|
allowAnonymousUser?: boolean;
|
|
108
|
+
seamless?: boolean;
|
|
107
109
|
}
|
|
108
110
|
export declare enum DialogInputType {
|
|
109
111
|
NUMBER = "number",
|
|
@@ -127,7 +129,7 @@ export declare enum DialogSelectType {
|
|
|
127
129
|
SIMPLE = 3
|
|
128
130
|
}
|
|
129
131
|
export type DialogSelectListItemType = {
|
|
130
|
-
id: number;
|
|
132
|
+
id: number | string;
|
|
131
133
|
name: string;
|
|
132
134
|
disabled?: boolean;
|
|
133
135
|
isSelected?: boolean;
|
|
@@ -275,7 +277,7 @@ export interface DialogResultFile {
|
|
|
275
277
|
}
|
|
276
278
|
type DialogResultValue<T> = {
|
|
277
279
|
[DialogType.INPUT]: string;
|
|
278
|
-
[DialogType.SELECT]: number[];
|
|
280
|
+
[DialogType.SELECT]: (number | string)[];
|
|
279
281
|
[DialogType.CONFIRM]: void;
|
|
280
282
|
[DialogType.ALERT]: void;
|
|
281
283
|
[DialogType.DATE]: Date;
|