chayns-api 2.0.5 → 2.0.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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.WeekDayType = exports.ToastType = exports.TappEvent = exports.SharingApp = exports.ScreenSize = exports.ScanQrCodeCodeType = exports.ScanQrCodeCameraTypes = exports.RuntimeEnviroment = exports.MediaType = exports.Language = exports.IconType = exports.Gender = exports.Font = exports.FloatingButtonPosition = exports.FloatingButtonAnimation = exports.Environment = exports.DialogType = exports.DialogSelectType = exports.DialogInputType = exports.DialogIconType = exports.
|
|
6
|
+
exports.WeekDayType = exports.ToastType = exports.TappEvent = exports.SharingApp = exports.ScreenSize = exports.ScanQrCodeCodeType = exports.ScanQrCodeCameraTypes = exports.RuntimeEnviroment = exports.MediaType = exports.Language = exports.IconType = exports.Gender = exports.Font = exports.FloatingButtonPosition = exports.FloatingButtonAnimation = exports.Environment = exports.DialogType = exports.DialogSelectType = exports.DialogInputType = exports.DialogIconType = exports.DialogButtonType = exports.DialogAnimation = exports.DeviceOs = exports.DateType = exports.ColorMode = exports.BrowserName = exports.AppName = exports.AccessMode = void 0;
|
|
7
7
|
let DateType = exports.DateType = /*#__PURE__*/function (DateType) {
|
|
8
8
|
DateType[DateType["DATE"] = 0] = "DATE";
|
|
9
9
|
DateType[DateType["TIME"] = 1] = "TIME";
|
|
@@ -324,11 +324,6 @@ let DialogAnimation = exports.DialogAnimation = /*#__PURE__*/function (DialogAni
|
|
|
324
324
|
DialogAnimation["CONFETTI"] = "confetti";
|
|
325
325
|
return DialogAnimation;
|
|
326
326
|
}({});
|
|
327
|
-
let DialogFadeAnimation = exports.DialogFadeAnimation = /*#__PURE__*/function (DialogFadeAnimation) {
|
|
328
|
-
DialogFadeAnimation["FADE"] = "fade";
|
|
329
|
-
DialogFadeAnimation["SCALE"] = "scale";
|
|
330
|
-
return DialogFadeAnimation;
|
|
331
|
-
}({});
|
|
332
327
|
let DialogIconType = exports.DialogIconType = /*#__PURE__*/function (DialogIconType) {
|
|
333
328
|
DialogIconType["SuccessIcon"] = "%%DialogSuccessIcon%%";
|
|
334
329
|
DialogIconType["WarningIcon"] = "%%DialogWarningIcon%%";
|
|
@@ -321,11 +321,6 @@ export let DialogAnimation = /*#__PURE__*/function (DialogAnimation) {
|
|
|
321
321
|
DialogAnimation["CONFETTI"] = "confetti";
|
|
322
322
|
return DialogAnimation;
|
|
323
323
|
}({});
|
|
324
|
-
export let DialogFadeAnimation = /*#__PURE__*/function (DialogFadeAnimation) {
|
|
325
|
-
DialogFadeAnimation["FADE"] = "fade";
|
|
326
|
-
DialogFadeAnimation["SCALE"] = "scale";
|
|
327
|
-
return DialogFadeAnimation;
|
|
328
|
-
}({});
|
|
329
324
|
export let DialogIconType = /*#__PURE__*/function (DialogIconType) {
|
|
330
325
|
DialogIconType["SuccessIcon"] = "%%DialogSuccessIcon%%";
|
|
331
326
|
DialogIconType["WarningIcon"] = "%%DialogWarningIcon%%";
|
|
@@ -224,7 +224,9 @@ export declare const getLanguage: () => {
|
|
|
224
224
|
site: import("../types/IChaynsReact").Language;
|
|
225
225
|
translation: import("../types/IChaynsReact").Language | null;
|
|
226
226
|
device: import("../types/IChaynsReact").Language;
|
|
227
|
-
active: import("../types/IChaynsReact").Language;
|
|
227
|
+
active: import("../types/IChaynsReact").Language; /**
|
|
228
|
+
* Select other page on chayns site.
|
|
229
|
+
*/
|
|
228
230
|
};
|
|
229
231
|
export declare const getParameters: () => {
|
|
230
232
|
[key: string]: string | string[];
|
|
@@ -242,7 +244,9 @@ export declare const language: {
|
|
|
242
244
|
site: import("../types/IChaynsReact").Language;
|
|
243
245
|
translation: import("../types/IChaynsReact").Language | null;
|
|
244
246
|
device: import("../types/IChaynsReact").Language;
|
|
245
|
-
active: import("../types/IChaynsReact").Language;
|
|
247
|
+
active: import("../types/IChaynsReact").Language; /**
|
|
248
|
+
* Select other page on chayns site.
|
|
249
|
+
*/
|
|
246
250
|
};
|
|
247
251
|
export declare const parameters: {
|
|
248
252
|
[key: string]: string | string[];
|
|
@@ -82,9 +82,6 @@ export interface BaseDialog {
|
|
|
82
82
|
type: DialogAnimation;
|
|
83
83
|
config?: any;
|
|
84
84
|
};
|
|
85
|
-
fadeAnimation?: {
|
|
86
|
-
type: DialogFadeAnimation;
|
|
87
|
-
};
|
|
88
85
|
}
|
|
89
86
|
export type Dialog<T extends any = object> = BaseDialog & (DialogAlert | DialogConfirm | DialogInput | DialogModule<T> | DialogIFrame<T> | DialogSelect | DialogDate | DialogToast | DialogSignature | DialogFileSelect);
|
|
90
87
|
export interface DialogSignature {
|
|
@@ -888,10 +885,6 @@ export type OpenMedia = {
|
|
|
888
885
|
export declare enum DialogAnimation {
|
|
889
886
|
CONFETTI = "confetti"
|
|
890
887
|
}
|
|
891
|
-
export declare enum DialogFadeAnimation {
|
|
892
|
-
FADE = "fade",
|
|
893
|
-
SCALE = "scale"
|
|
894
|
-
}
|
|
895
888
|
export declare enum DialogIconType {
|
|
896
889
|
SuccessIcon = "%%DialogSuccessIcon%%",
|
|
897
890
|
WarningIcon = "%%DialogWarningIcon%%",
|