chayns-api 1.0.48 → 1.0.50

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.
Files changed (152) hide show
  1. package/.babelrc +30 -30
  2. package/.eslintrc +17 -17
  3. package/.github/workflows/deploy_docs.yml +28 -28
  4. package/.github/workflows/publish.yml +21 -21
  5. package/LICENSE +21 -21
  6. package/README.md +54 -54
  7. package/dist/cjs/calls/dialogs/chaynsDialog.js +3 -6
  8. package/dist/cjs/calls/dialogs/date.js +39 -12
  9. package/dist/cjs/calls/dialogs/fileSelect.js +1 -2
  10. package/dist/cjs/calls/dialogs/input.js +2 -3
  11. package/dist/cjs/calls/dialogs/select.js +2 -3
  12. package/dist/cjs/calls/getUserInfo.js +1 -2
  13. package/dist/cjs/calls/index.js +114 -121
  14. package/dist/cjs/calls/sendMessage.js +8 -8
  15. package/dist/cjs/calls/visibilityChangeListener.js +4 -4
  16. package/dist/cjs/components/AppDialogWrapper.js +3 -4
  17. package/dist/cjs/components/ChaynsContext.js +2 -4
  18. package/dist/cjs/components/ChaynsProvider.js +4 -5
  19. package/dist/cjs/components/moduleWrapper.js +2 -3
  20. package/dist/cjs/components/withCompatMode.js +3 -3
  21. package/dist/cjs/hooks/geoLocationListener.js +4 -4
  22. package/dist/cjs/hooks/scrollListener.js +8 -8
  23. package/dist/cjs/hooks/useAccessToken.js +3 -3
  24. package/dist/cjs/hooks/useCurrentPage.js +2 -2
  25. package/dist/cjs/hooks/useCustomData.js +2 -2
  26. package/dist/cjs/hooks/useDevice.js +2 -2
  27. package/dist/cjs/hooks/useDialogState.js +6 -6
  28. package/dist/cjs/hooks/useEnvironment.js +2 -2
  29. package/dist/cjs/hooks/useFunctions.js +2 -2
  30. package/dist/cjs/hooks/useIsAdminMode.js +2 -2
  31. package/dist/cjs/hooks/useLanguage.js +2 -2
  32. package/dist/cjs/hooks/usePages.js +4 -4
  33. package/dist/cjs/hooks/useParameters.js +2 -2
  34. package/dist/cjs/hooks/useSite.js +2 -2
  35. package/dist/cjs/hooks/useUser.js +2 -2
  36. package/dist/cjs/hooks/useValues.js +2 -2
  37. package/dist/cjs/hooks/windowMetricsListener.js +4 -4
  38. package/dist/cjs/host/ChaynsHost.js +1 -2
  39. package/dist/cjs/host/iframe/HostIframe.js +3 -5
  40. package/dist/cjs/host/iframe/utils/useUpdateData.js +1 -2
  41. package/dist/cjs/host/module/ModuleHost.js +3 -4
  42. package/dist/cjs/host/module/utils/useDynamicScript.js +4 -6
  43. package/dist/cjs/index.js +4 -5
  44. package/dist/cjs/types/IChaynsReact.js +115 -134
  45. package/dist/cjs/util/appCall.js +3 -4
  46. package/dist/cjs/util/deviceHelper.js +4 -5
  47. package/dist/cjs/util/transferNestedFunctions.js +2 -2
  48. package/dist/cjs/wrapper/AppWrapper.js +3 -3
  49. package/dist/cjs/wrapper/FrameWrapper.js +2 -2
  50. package/dist/cjs/wrapper/StaticChaynsApi.js +1 -2
  51. package/dist/esm/calls/dialogs/date.js +34 -34
  52. package/dist/esm/calls/index.js +106 -106
  53. package/dist/esm/calls/sendMessage.js +8 -8
  54. package/dist/esm/calls/visibilityChangeListener.js +4 -4
  55. package/dist/esm/components/ChaynsProvider.js +1 -1
  56. package/dist/esm/handler/DialogHandler.js +2 -2
  57. package/dist/esm/hooks/geoLocationListener.js +4 -4
  58. package/dist/esm/hooks/scrollListener.js +8 -8
  59. package/dist/esm/hooks/useAccessToken.js +3 -3
  60. package/dist/esm/hooks/useCurrentPage.js +2 -2
  61. package/dist/esm/hooks/useCustomData.js +2 -2
  62. package/dist/esm/hooks/useDevice.js +2 -2
  63. package/dist/esm/hooks/useDialogState.js +6 -6
  64. package/dist/esm/hooks/useEnvironment.js +2 -2
  65. package/dist/esm/hooks/useFunctions.js +2 -2
  66. package/dist/esm/hooks/useIsAdminMode.js +2 -2
  67. package/dist/esm/hooks/useLanguage.js +2 -2
  68. package/dist/esm/hooks/usePages.js +4 -4
  69. package/dist/esm/hooks/useParameters.js +2 -2
  70. package/dist/esm/hooks/useSite.js +2 -2
  71. package/dist/esm/hooks/useUser.js +2 -2
  72. package/dist/esm/hooks/useValues.js +2 -2
  73. package/dist/esm/hooks/windowMetricsListener.js +4 -4
  74. package/dist/esm/host/iframe/HostIframe.js +0 -1
  75. package/dist/esm/types/IChaynsReact.js +118 -108
  76. package/dist/esm/util/appCall.js +2 -2
  77. package/dist/esm/util/deviceHelper.js +3 -3
  78. package/dist/esm/wrapper/AppWrapper.js +3 -3
  79. package/dist/esm/wrapper/FrameWrapper.js +2 -2
  80. package/dist/esm/wrapper/StaticChaynsApi.js +2 -2
  81. package/dist/types/calls/dialogs/alert.d.ts +1 -1
  82. package/dist/types/calls/dialogs/chaynsDialog.d.ts +24 -24
  83. package/dist/types/calls/dialogs/close.d.ts +1 -1
  84. package/dist/types/calls/dialogs/communication.d.ts +3 -3
  85. package/dist/types/calls/dialogs/confirm.d.ts +13 -13
  86. package/dist/types/calls/dialogs/date.d.ts +96 -96
  87. package/dist/types/calls/dialogs/dropUpAlert.d.ts +5 -5
  88. package/dist/types/calls/dialogs/fileSelect.d.ts +16 -16
  89. package/dist/types/calls/dialogs/iFrame.d.ts +10 -10
  90. package/dist/types/calls/dialogs/index.d.ts +14 -14
  91. package/dist/types/calls/dialogs/input.d.ts +15 -15
  92. package/dist/types/calls/dialogs/mediaSelect.d.ts +8 -8
  93. package/dist/types/calls/dialogs/open.d.ts +1 -1
  94. package/dist/types/calls/dialogs/select.d.ts +6 -6
  95. package/dist/types/calls/dialogs/signature.d.ts +7 -7
  96. package/dist/types/calls/dialogs/toast.d.ts +1 -1
  97. package/dist/types/calls/dialogs/utils/callback.d.ts +1 -1
  98. package/dist/types/calls/dialogs/utils/is.d.ts +4 -4
  99. package/dist/types/calls/getUserInfo.d.ts +9 -9
  100. package/dist/types/calls/index.d.ts +251 -251
  101. package/dist/types/calls/sendMessage.d.ts +13 -13
  102. package/dist/types/calls/visibilityChangeListener.d.ts +9 -9
  103. package/dist/types/components/AppDialogWrapper.d.ts +5 -5
  104. package/dist/types/components/ChaynsContext.d.ts +3 -3
  105. package/dist/types/components/ChaynsProvider.d.ts +11 -11
  106. package/dist/types/components/ErrorBoundary.d.ts +13 -13
  107. package/dist/types/components/WaitUntil.d.ts +7 -7
  108. package/dist/types/components/moduleWrapper.d.ts +4 -4
  109. package/dist/types/components/withCompatMode.d.ts +13 -13
  110. package/dist/types/handler/DialogHandler.d.ts +18 -18
  111. package/dist/types/helper/apiListenerHelper.d.ts +6 -6
  112. package/dist/types/hooks/geoLocationListener.d.ts +18 -18
  113. package/dist/types/hooks/index.d.ts +17 -17
  114. package/dist/types/hooks/scrollListener.d.ts +28 -28
  115. package/dist/types/hooks/useAccessToken.d.ts +6 -6
  116. package/dist/types/hooks/useCurrentPage.d.ts +4 -4
  117. package/dist/types/hooks/useCustomData.d.ts +4 -4
  118. package/dist/types/hooks/useDevice.d.ts +5 -5
  119. package/dist/types/hooks/useDialogState.d.ts +9 -9
  120. package/dist/types/hooks/useEnvironment.d.ts +5 -5
  121. package/dist/types/hooks/useFunctions.d.ts +5 -5
  122. package/dist/types/hooks/useIsAdminMode.d.ts +4 -4
  123. package/dist/types/hooks/useLanguage.d.ts +5 -5
  124. package/dist/types/hooks/usePages.d.ts +18 -18
  125. package/dist/types/hooks/useParameters.d.ts +5 -5
  126. package/dist/types/hooks/useSite.d.ts +5 -5
  127. package/dist/types/hooks/useUser.d.ts +5 -5
  128. package/dist/types/hooks/useValues.d.ts +5 -5
  129. package/dist/types/hooks/windowMetricsListener.d.ts +11 -11
  130. package/dist/types/host/ChaynsHost.d.ts +30 -30
  131. package/dist/types/host/iframe/HostIframe.d.ts +26 -26
  132. package/dist/types/host/iframe/utils/useUpdateData.d.ts +3 -3
  133. package/dist/types/host/module/ModuleHost.d.ts +27 -27
  134. package/dist/types/host/module/utils/loadComponent.d.ts +1 -1
  135. package/dist/types/host/module/utils/useDynamicScript.d.ts +9 -9
  136. package/dist/types/index.d.ts +19 -19
  137. package/dist/types/types/IChaynsReact.d.ts +813 -809
  138. package/dist/types/types/dialog.d.ts +41 -41
  139. package/dist/types/util/appCall.d.ts +2 -2
  140. package/dist/types/util/deviceHelper.d.ts +7 -7
  141. package/dist/types/util/heightHelper.d.ts +1 -1
  142. package/dist/types/util/postIframeForm.d.ts +1 -1
  143. package/dist/types/util/transferNestedFunctions.d.ts +1 -1
  144. package/dist/types/util/url.d.ts +1 -1
  145. package/dist/types/wrapper/AppWrapper.d.ts +22 -22
  146. package/dist/types/wrapper/FrameWrapper.d.ts +15 -15
  147. package/dist/types/wrapper/ModuleFederationWrapper.d.ts +10 -10
  148. package/dist/types/wrapper/SsrWrapper.d.ts +11 -11
  149. package/dist/types/wrapper/StaticChaynsApi.d.ts +9 -9
  150. package/package.json +78 -78
  151. package/toolkit.config.js +20 -20
  152. package/tsconfig.json +56 -56
@@ -1,6 +1,6 @@
1
1
  import { useContextSelector } from 'use-context-selector';
2
2
  import { ChaynsContext } from '../components/ChaynsContext';
3
- /**
4
- * @category Hooks
3
+ /**
4
+ * @category Hooks
5
5
  */
6
6
  export const useLanguage = () => useContextSelector(ChaynsContext, v => v === null || v === void 0 ? void 0 : v.language);
@@ -1,8 +1,8 @@
1
1
  import { useContextSelector } from 'use-context-selector';
2
2
  import { ChaynsContext } from '../components/ChaynsContext';
3
3
  import { moduleWrapper } from '../components/moduleWrapper';
4
- /**
5
- * @category Hooks
4
+ /**
5
+ * @category Hooks
6
6
  */
7
7
  export const usePages = function () {
8
8
  let {
@@ -16,8 +16,8 @@ export const usePages = function () {
16
16
  }
17
17
  return pages;
18
18
  };
19
- /**
20
- * @category Hooks
19
+ /**
20
+ * @category Hooks
21
21
  */
22
22
  export const usePage = _ref => {
23
23
  let {
@@ -1,6 +1,6 @@
1
1
  import { useContextSelector } from 'use-context-selector';
2
2
  import { ChaynsContext } from '../components/ChaynsContext';
3
- /**
4
- * @category Hooks
3
+ /**
4
+ * @category Hooks
5
5
  */
6
6
  export const useParameters = () => useContextSelector(ChaynsContext, v => (v === null || v === void 0 ? void 0 : v.parameters) || []);
@@ -1,6 +1,6 @@
1
1
  import { useContextSelector } from 'use-context-selector';
2
2
  import { ChaynsContext } from '../components/ChaynsContext';
3
- /**
4
- * @category Hooks
3
+ /**
4
+ * @category Hooks
5
5
  */
6
6
  export const useSite = () => useContextSelector(ChaynsContext, v => v === null || v === void 0 ? void 0 : v.site);
@@ -1,6 +1,6 @@
1
1
  import { useContextSelector } from 'use-context-selector';
2
2
  import { ChaynsContext } from '../components/ChaynsContext';
3
- /**
4
- * @category Hooks
3
+ /**
4
+ * @category Hooks
5
5
  */
6
6
  export const useUser = () => useContextSelector(ChaynsContext, v => (v === null || v === void 0 ? void 0 : v.user) || {});
@@ -1,7 +1,7 @@
1
1
  import { useContextSelector } from 'use-context-selector';
2
2
  import { ChaynsContext } from '../components/ChaynsContext';
3
- /**
4
- * @category Hooks
3
+ /**
4
+ * @category Hooks
5
5
  */
6
6
  export const useValues = () => {
7
7
  const t = useContextSelector(ChaynsContext, v => v || {});
@@ -2,8 +2,8 @@ import { useContextSelector } from 'use-context-selector';
2
2
  import { useCallback, useEffect, useRef, useState } from 'react';
3
3
  import { ChaynsFunctionsContext } from '../components/ChaynsContext';
4
4
  import { ScreenSize } from '../types/IChaynsReact';
5
- /**
6
- * @category Hooks
5
+ /**
6
+ * @category Hooks
7
7
  */
8
8
  export const useWindowMetricsListener = () => {
9
9
  const addListener = useContextSelector(ChaynsFunctionsContext, v => v.addWindowMetricsListener);
@@ -18,8 +18,8 @@ export const useWindowMetricsListener = () => {
18
18
  // eslint-disable-next-line react-hooks/exhaustive-deps
19
19
  }, []);
20
20
  };
21
- /**
22
- * @category Hooks
21
+ /**
22
+ * @category Hooks
23
23
  */
24
24
  export const useWindowMetrics = function () {
25
25
  let {
@@ -31,7 +31,6 @@ const HostIframe = _ref => {
31
31
  if (!eventTarget.current) {
32
32
  eventTarget.current = global.document ? document.createElement('div') : undefined; // global.EventTarget ? new EventTarget() : undefined
33
33
  }
34
-
35
34
  const setHeight = value => {
36
35
  if (ref.current) {
37
36
  ref.current.style.height = `${value}px`;
@@ -1,63 +1,71 @@
1
- export let DateType;
2
- (function (DateType) {
1
+ export let DateType = /*#__PURE__*/function (DateType) {
3
2
  DateType[DateType["DATE"] = 0] = "DATE";
4
3
  DateType[DateType["TIME"] = 1] = "TIME";
5
4
  DateType[DateType["DATE_TIME"] = 2] = "DATE_TIME";
6
- })(DateType || (DateType = {}));
7
- export let ToastType;
8
- (function (ToastType) {
5
+ return DateType;
6
+ }({});
7
+ export let ToastType = /*#__PURE__*/function (ToastType) {
9
8
  ToastType[ToastType["NEUTRAL"] = 1] = "NEUTRAL";
10
9
  ToastType[ToastType["SUCCESS"] = 2] = "SUCCESS";
11
10
  ToastType[ToastType["WARNING"] = 3] = "WARNING";
12
11
  ToastType[ToastType["ERROR"] = 4] = "ERROR";
13
- })(ToastType || (ToastType = {}));
14
- export let DialogInputType;
15
- (function (DialogInputType) {
12
+ return ToastType;
13
+ }({});
14
+ export let DialogInputType = /*#__PURE__*/function (DialogInputType) {
16
15
  DialogInputType["NUMBER"] = "number";
17
16
  DialogInputType["PASSWORD"] = "password";
18
17
  DialogInputType["TELEPHONE"] = "tel";
19
18
  DialogInputType["TEXT"] = "text";
20
19
  DialogInputType["TEXTAREA"] = "textarea";
21
- })(DialogInputType || (DialogInputType = {}));
22
- export let DialogSelectType;
23
- (function (DialogSelectType) {
20
+ return DialogInputType;
21
+ }({});
22
+ export let DialogSelectType = /*#__PURE__*/function (DialogSelectType) {
24
23
  DialogSelectType[DialogSelectType["DEFAULT"] = 0] = "DEFAULT";
25
24
  DialogSelectType[DialogSelectType["ICON"] = 1] = "ICON";
26
- })(DialogSelectType || (DialogSelectType = {}));
27
- export let DialogButtonType;
28
- (function (DialogButtonType) {
25
+ return DialogSelectType;
26
+ }({});
27
+ export let DialogButtonType = /*#__PURE__*/function (DialogButtonType) {
29
28
  DialogButtonType[DialogButtonType["OK"] = 1] = "OK";
30
29
  DialogButtonType[DialogButtonType["CANCEL"] = -1] = "CANCEL";
31
30
  DialogButtonType[DialogButtonType["NEGATIVE"] = 0] = "NEGATIVE";
32
- })(DialogButtonType || (DialogButtonType = {}));
33
- export let ScreenSize;
34
- (function (ScreenSize) {
31
+ return DialogButtonType;
32
+ }({});
33
+ export let ScreenSize = /*#__PURE__*/function (ScreenSize) {
35
34
  ScreenSize[ScreenSize["XS"] = 0] = "XS";
36
35
  ScreenSize[ScreenSize["SM"] = 1] = "SM";
37
36
  ScreenSize[ScreenSize["MD"] = 2] = "MD";
38
37
  ScreenSize[ScreenSize["LG"] = 3] = "LG";
39
38
  ScreenSize[ScreenSize["XL"] = 4] = "XL";
40
- })(ScreenSize || (ScreenSize = {}));
41
- export let AccessMode;
42
- (function (AccessMode) {
39
+ return ScreenSize;
40
+ }({});
41
+
42
+ /**
43
+ * @ignore
44
+ */
45
+
46
+ /**
47
+ * @ignore
48
+ */
49
+
50
+ export let AccessMode = /*#__PURE__*/function (AccessMode) {
43
51
  AccessMode[AccessMode["public"] = 0] = "public";
44
52
  AccessMode[AccessMode["protected"] = 1] = "protected";
45
53
  AccessMode[AccessMode["private"] = 2] = "private";
46
- })(AccessMode || (AccessMode = {}));
47
- export let ScanQrCodeCodeType;
48
- (function (ScanQrCodeCodeType) {
54
+ return AccessMode;
55
+ }({});
56
+ export let ScanQrCodeCodeType = /*#__PURE__*/function (ScanQrCodeCodeType) {
49
57
  ScanQrCodeCodeType[ScanQrCodeCodeType["QR"] = 0] = "QR";
50
58
  ScanQrCodeCodeType[ScanQrCodeCodeType["BARCODE"] = 0] = "BARCODE";
51
59
  ScanQrCodeCodeType[ScanQrCodeCodeType["ALL"] = 2] = "ALL";
52
- })(ScanQrCodeCodeType || (ScanQrCodeCodeType = {}));
53
- export let ScanQrCodeCameraTypes;
54
- (function (ScanQrCodeCameraTypes) {
60
+ return ScanQrCodeCodeType;
61
+ }({});
62
+ export let ScanQrCodeCameraTypes = /*#__PURE__*/function (ScanQrCodeCameraTypes) {
55
63
  ScanQrCodeCameraTypes[ScanQrCodeCameraTypes["AUTO"] = 0] = "AUTO";
56
64
  ScanQrCodeCameraTypes[ScanQrCodeCameraTypes["BACK"] = 1] = "BACK";
57
65
  ScanQrCodeCameraTypes[ScanQrCodeCameraTypes["FRONT"] = 2] = "FRONT";
58
- })(ScanQrCodeCameraTypes || (ScanQrCodeCameraTypes = {}));
59
- var IOSFeedbackVibration;
60
- (function (IOSFeedbackVibration) {
66
+ return ScanQrCodeCameraTypes;
67
+ }({});
68
+ var IOSFeedbackVibration = /*#__PURE__*/function (IOSFeedbackVibration) {
61
69
  IOSFeedbackVibration[IOSFeedbackVibration["Unknown"] = 0] = "Unknown";
62
70
  IOSFeedbackVibration[IOSFeedbackVibration["SelectionChanged"] = 1] = "SelectionChanged";
63
71
  IOSFeedbackVibration[IOSFeedbackVibration["NotificationError"] = 2] = "NotificationError";
@@ -68,25 +76,25 @@ var IOSFeedbackVibration;
68
76
  IOSFeedbackVibration[IOSFeedbackVibration["Heavy"] = 7] = "Heavy";
69
77
  IOSFeedbackVibration[IOSFeedbackVibration["Soft"] = 8] = "Soft";
70
78
  IOSFeedbackVibration[IOSFeedbackVibration["Rigid"] = 9] = "Rigid";
71
- })(IOSFeedbackVibration || (IOSFeedbackVibration = {}));
79
+ return IOSFeedbackVibration;
80
+ }(IOSFeedbackVibration || {});
72
81
  // region design settings
73
- var SnapshotType;
74
- (function (SnapshotType) {
82
+ var SnapshotType = /*#__PURE__*/function (SnapshotType) {
75
83
  SnapshotType["Background"] = "background";
76
84
  SnapshotType["Settings"] = "settings";
77
85
  SnapshotType["ColorScheme"] = "colorScheme";
78
86
  SnapshotType["Cover"] = "cover";
79
87
  SnapshotType["Tapp"] = "tapp";
80
- })(SnapshotType || (SnapshotType = {}));
81
- var DesignSettingsUpdateBackgroundType;
82
- (function (DesignSettingsUpdateBackgroundType) {
88
+ return SnapshotType;
89
+ }(SnapshotType || {});
90
+ var DesignSettingsUpdateBackgroundType = /*#__PURE__*/function (DesignSettingsUpdateBackgroundType) {
83
91
  DesignSettingsUpdateBackgroundType[DesignSettingsUpdateBackgroundType["None"] = 0] = "None";
84
92
  DesignSettingsUpdateBackgroundType[DesignSettingsUpdateBackgroundType["Image"] = 1] = "Image";
85
93
  DesignSettingsUpdateBackgroundType[DesignSettingsUpdateBackgroundType["Video"] = 2] = "Video";
86
94
  DesignSettingsUpdateBackgroundType[DesignSettingsUpdateBackgroundType["Color"] = 3] = "Color";
87
- })(DesignSettingsUpdateBackgroundType || (DesignSettingsUpdateBackgroundType = {}));
88
- var DesignSettingsUpdateSeasonTypes;
89
- (function (DesignSettingsUpdateSeasonTypes) {
95
+ return DesignSettingsUpdateBackgroundType;
96
+ }(DesignSettingsUpdateBackgroundType || {});
97
+ var DesignSettingsUpdateSeasonTypes = /*#__PURE__*/function (DesignSettingsUpdateSeasonTypes) {
90
98
  DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["None"] = 0] = "None";
91
99
  DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["Snowm"] = 1] = "Snowm";
92
100
  DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["Confetti"] = 2] = "Confetti";
@@ -96,88 +104,88 @@ var DesignSettingsUpdateSeasonTypes;
96
104
  DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["Eastern"] = 6] = "Eastern";
97
105
  DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["Clover"] = 7] = "Clover";
98
106
  DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["Coins"] = 8] = "Coins";
99
- })(DesignSettingsUpdateSeasonTypes || (DesignSettingsUpdateSeasonTypes = {}));
100
- var DesignSettingsUpdateGalleryAnimationTypes;
101
- (function (DesignSettingsUpdateGalleryAnimationTypes) {
107
+ return DesignSettingsUpdateSeasonTypes;
108
+ }(DesignSettingsUpdateSeasonTypes || {});
109
+ var DesignSettingsUpdateGalleryAnimationTypes = /*#__PURE__*/function (DesignSettingsUpdateGalleryAnimationTypes) {
102
110
  DesignSettingsUpdateGalleryAnimationTypes[DesignSettingsUpdateGalleryAnimationTypes["Swipe"] = 0] = "Swipe";
103
111
  DesignSettingsUpdateGalleryAnimationTypes[DesignSettingsUpdateGalleryAnimationTypes["Fade"] = 1] = "Fade";
104
112
  DesignSettingsUpdateGalleryAnimationTypes[DesignSettingsUpdateGalleryAnimationTypes["Parallax"] = 2] = "Parallax";
105
113
  DesignSettingsUpdateGalleryAnimationTypes[DesignSettingsUpdateGalleryAnimationTypes["KenBurns"] = 3] = "KenBurns";
106
- })(DesignSettingsUpdateGalleryAnimationTypes || (DesignSettingsUpdateGalleryAnimationTypes = {}));
107
- var DesignSettingsUpdateCoverTypes;
108
- (function (DesignSettingsUpdateCoverTypes) {
114
+ return DesignSettingsUpdateGalleryAnimationTypes;
115
+ }(DesignSettingsUpdateGalleryAnimationTypes || {});
116
+ var DesignSettingsUpdateCoverTypes = /*#__PURE__*/function (DesignSettingsUpdateCoverTypes) {
109
117
  DesignSettingsUpdateCoverTypes[DesignSettingsUpdateCoverTypes["Image"] = 0] = "Image";
110
118
  DesignSettingsUpdateCoverTypes[DesignSettingsUpdateCoverTypes["Video"] = 1] = "Video";
111
119
  DesignSettingsUpdateCoverTypes[DesignSettingsUpdateCoverTypes["Slideshow"] = 2] = "Slideshow";
112
120
  DesignSettingsUpdateCoverTypes[DesignSettingsUpdateCoverTypes["Frame"] = 3] = "Frame";
113
121
  DesignSettingsUpdateCoverTypes[DesignSettingsUpdateCoverTypes["None"] = 4] = "None";
114
- })(DesignSettingsUpdateCoverTypes || (DesignSettingsUpdateCoverTypes = {}));
115
- var DesignSettingsUpdateColorSchemeMode;
116
- (function (DesignSettingsUpdateColorSchemeMode) {
122
+ return DesignSettingsUpdateCoverTypes;
123
+ }(DesignSettingsUpdateCoverTypes || {});
124
+ var DesignSettingsUpdateColorSchemeMode = /*#__PURE__*/function (DesignSettingsUpdateColorSchemeMode) {
117
125
  DesignSettingsUpdateColorSchemeMode[DesignSettingsUpdateColorSchemeMode["Normal"] = 0] = "Normal";
118
126
  DesignSettingsUpdateColorSchemeMode[DesignSettingsUpdateColorSchemeMode["Dark"] = 1] = "Dark";
119
127
  DesignSettingsUpdateColorSchemeMode[DesignSettingsUpdateColorSchemeMode["Bright"] = 2] = "Bright";
120
- })(DesignSettingsUpdateColorSchemeMode || (DesignSettingsUpdateColorSchemeMode = {}));
121
- var DesignSettingsUpdateTappViewModes;
122
- (function (DesignSettingsUpdateTappViewModes) {
128
+ return DesignSettingsUpdateColorSchemeMode;
129
+ }(DesignSettingsUpdateColorSchemeMode || {});
130
+ var DesignSettingsUpdateTappViewModes = /*#__PURE__*/function (DesignSettingsUpdateTappViewModes) {
123
131
  DesignSettingsUpdateTappViewModes[DesignSettingsUpdateTappViewModes["Normal"] = 0] = "Normal";
124
132
  DesignSettingsUpdateTappViewModes[DesignSettingsUpdateTappViewModes["Exclusive"] = 1] = "Exclusive";
125
133
  DesignSettingsUpdateTappViewModes[DesignSettingsUpdateTappViewModes["Wide"] = 2] = "Wide";
126
134
  DesignSettingsUpdateTappViewModes[DesignSettingsUpdateTappViewModes["Fullscreen"] = 3] = "Fullscreen";
127
135
  DesignSettingsUpdateTappViewModes[DesignSettingsUpdateTappViewModes["FullscreenWithBackground"] = 4] = "FullscreenWithBackground";
128
- })(DesignSettingsUpdateTappViewModes || (DesignSettingsUpdateTappViewModes = {}));
129
- var LoginState;
130
- (function (LoginState) {
136
+ return DesignSettingsUpdateTappViewModes;
137
+ }(DesignSettingsUpdateTappViewModes || {}); // endregion
138
+ var LoginState = /*#__PURE__*/function (LoginState) {
131
139
  LoginState[LoginState["FACEBOOK"] = 0] = "FACEBOOK";
132
140
  LoginState[LoginState["T_WEB"] = 1] = "T_WEB";
133
141
  LoginState[LoginState["LoginFailed"] = 2] = "LoginFailed";
134
142
  LoginState[LoginState["AlreadyLoggedIn"] = 3] = "AlreadyLoggedIn";
135
143
  LoginState[LoginState["SUCCESS"] = 4] = "SUCCESS";
136
- })(LoginState || (LoginState = {}));
137
- export let FloatingButtonPosition;
138
- (function (FloatingButtonPosition) {
144
+ return LoginState;
145
+ }(LoginState || {});
146
+ export let FloatingButtonPosition = /*#__PURE__*/function (FloatingButtonPosition) {
139
147
  FloatingButtonPosition[FloatingButtonPosition["Right"] = 0] = "Right";
140
148
  FloatingButtonPosition[FloatingButtonPosition["Center"] = 1] = "Center";
141
149
  FloatingButtonPosition[FloatingButtonPosition["Left"] = 2] = "Left";
142
- })(FloatingButtonPosition || (FloatingButtonPosition = {}));
143
- export let SharingApp;
144
- (function (SharingApp) {
150
+ return FloatingButtonPosition;
151
+ }({});
152
+ export let SharingApp = /*#__PURE__*/function (SharingApp) {
145
153
  SharingApp[SharingApp["Mail"] = 0] = "Mail";
146
154
  SharingApp[SharingApp["WhatsApp"] = 1] = "WhatsApp";
147
155
  SharingApp[SharingApp["Facebook"] = 2] = "Facebook";
148
156
  SharingApp[SharingApp["FacebookMessenger"] = 3] = "FacebookMessenger";
149
157
  SharingApp[SharingApp["GooglePlus"] = 4] = "GooglePlus";
150
158
  SharingApp[SharingApp["Twitter"] = 5] = "Twitter";
151
- })(SharingApp || (SharingApp = {}));
152
- export let TappEvent;
153
- (function (TappEvent) {
159
+ return SharingApp;
160
+ }({});
161
+ export let TappEvent = /*#__PURE__*/function (TappEvent) {
154
162
  TappEvent[TappEvent["OnShow"] = 0] = "OnShow";
155
163
  TappEvent[TappEvent["OnHide"] = 1] = "OnHide";
156
164
  TappEvent[TappEvent["OnRefresh"] = 2] = "OnRefresh";
157
165
  TappEvent[TappEvent["OnOpenCcScanner"] = 3] = "OnOpenCcScanner";
158
166
  TappEvent[TappEvent["OnCloseCcScanner"] = 4] = "OnCloseCcScanner";
159
- })(TappEvent || (TappEvent = {}));
160
- export let IconType;
161
- (function (IconType) {
167
+ return TappEvent;
168
+ }({});
169
+ export let IconType = /*#__PURE__*/function (IconType) {
162
170
  IconType[IconType["Font"] = 0] = "Font";
163
171
  IconType[IconType["Base64"] = 1] = "Base64";
164
172
  IconType[IconType["Url"] = 2] = "Url";
165
- })(IconType || (IconType = {}));
166
- export let Gender;
167
- (function (Gender) {
173
+ return IconType;
174
+ }({});
175
+ export let Gender = /*#__PURE__*/function (Gender) {
168
176
  Gender[Gender["Unknown"] = 0] = "Unknown";
169
177
  Gender[Gender["male"] = 1] = "male";
170
178
  Gender[Gender["female"] = 2] = "female";
171
179
  Gender[Gender["diverse"] = 9] = "diverse";
172
- })(Gender || (Gender = {}));
173
- export let ColorMode;
174
- (function (ColorMode) {
180
+ return Gender;
181
+ }({});
182
+ export let ColorMode = /*#__PURE__*/function (ColorMode) {
175
183
  ColorMode[ColorMode["Classic"] = 0] = "Classic";
176
184
  ColorMode[ColorMode["Dark"] = 1] = "Dark";
177
185
  ColorMode[ColorMode["Light"] = 2] = "Light";
178
- })(ColorMode || (ColorMode = {}));
179
- export let Language;
180
- (function (Language) {
186
+ return ColorMode;
187
+ }({});
188
+ export let Language = /*#__PURE__*/function (Language) {
181
189
  Language["Unknown"] = "unknown";
182
190
  Language["German"] = "de";
183
191
  Language["English"] = "en";
@@ -189,27 +197,27 @@ export let Language;
189
197
  Language["Turkish"] = "tr";
190
198
  Language["Polish"] = "pl";
191
199
  Language["Ukrainian"] = "uk";
192
- })(Language || (Language = {}));
193
- export let RuntimeEnviroment;
194
- (function (RuntimeEnviroment) {
200
+ return Language;
201
+ }({});
202
+ export let RuntimeEnviroment = /*#__PURE__*/function (RuntimeEnviroment) {
195
203
  RuntimeEnviroment[RuntimeEnviroment["Unknown"] = 0] = "Unknown";
196
204
  RuntimeEnviroment[RuntimeEnviroment["ChaynsDe"] = 1] = "ChaynsDe";
197
205
  RuntimeEnviroment[RuntimeEnviroment["ChaynsWeb"] = 2] = "ChaynsWeb";
198
206
  RuntimeEnviroment[RuntimeEnviroment["ChaynsRuntime"] = 3] = "ChaynsRuntime";
199
207
  RuntimeEnviroment[RuntimeEnviroment["IntercomPlugin"] = 4] = "IntercomPlugin";
200
208
  RuntimeEnviroment[RuntimeEnviroment["PagemakerPlugin"] = 5] = "PagemakerPlugin";
201
- })(RuntimeEnviroment || (RuntimeEnviroment = {}));
202
- export let DeviceOs;
203
- (function (DeviceOs) {
209
+ return RuntimeEnviroment;
210
+ }({});
211
+ export let DeviceOs = /*#__PURE__*/function (DeviceOs) {
204
212
  DeviceOs["Unknown"] = "unknown";
205
213
  DeviceOs["Android"] = "android";
206
214
  DeviceOs["IOS"] = "ios";
207
215
  DeviceOs["Windows"] = "windows";
208
216
  DeviceOs["MacOs"] = "macos";
209
217
  DeviceOs["Linux"] = "linux";
210
- })(DeviceOs || (DeviceOs = {}));
211
- export let AppName;
212
- (function (AppName) {
218
+ return DeviceOs;
219
+ }({});
220
+ export let AppName = /*#__PURE__*/function (AppName) {
213
221
  AppName[AppName["Unknown"] = 0] = "Unknown";
214
222
  AppName[AppName["David"] = 1] = "David";
215
223
  AppName[AppName["Chayns"] = 2] = "Chayns";
@@ -218,24 +226,24 @@ export let AppName;
218
226
  AppName[AppName["ChaynsLauncher"] = 5] = "ChaynsLauncher";
219
227
  AppName[AppName["TobitChat"] = 6] = "TobitChat";
220
228
  AppName[AppName["Sidekick"] = 7] = "Sidekick";
221
- })(AppName || (AppName = {}));
222
- export let BrowserName;
223
- (function (BrowserName) {
229
+ return AppName;
230
+ }({});
231
+ export let BrowserName = /*#__PURE__*/function (BrowserName) {
224
232
  BrowserName["Unknown"] = "unknown";
225
233
  BrowserName["Chrome"] = "chrome";
226
234
  BrowserName["Safari"] = "safari";
227
235
  BrowserName["Firefox"] = "firefox";
228
236
  BrowserName["Edge"] = "edge";
229
- })(BrowserName || (BrowserName = {}));
230
- export let Environment;
231
- (function (Environment) {
237
+ return BrowserName;
238
+ }({});
239
+ export let Environment = /*#__PURE__*/function (Environment) {
232
240
  Environment[Environment["Development"] = 0] = "Development";
233
241
  Environment[Environment["Qa"] = 1] = "Qa";
234
242
  Environment[Environment["Staging"] = 2] = "Staging";
235
243
  Environment[Environment["Production"] = 3] = "Production";
236
- })(Environment || (Environment = {}));
237
- export let Font;
238
- (function (Font) {
244
+ return Environment;
245
+ }({});
246
+ export let Font = /*#__PURE__*/function (Font) {
239
247
  Font[Font["Unknown"] = 0] = "Unknown";
240
248
  Font[Font["Roboto"] = 1] = "Roboto";
241
249
  Font[Font["OpenSans"] = 2] = "OpenSans";
@@ -264,14 +272,14 @@ export let Font;
264
272
  Font[Font["RobotoBold"] = 25] = "RobotoBold";
265
273
  Font[Font["RobotoRegular"] = 26] = "RobotoRegular";
266
274
  Font[Font["Inter"] = 27] = "Inter";
267
- })(Font || (Font = {}));
268
- var selectType;
269
- (function (selectType) {
275
+ return Font;
276
+ }({});
277
+ var selectType = /*#__PURE__*/function (selectType) {
270
278
  selectType[selectType["DEFAULT"] = 0] = "DEFAULT";
271
279
  selectType[selectType["ICON"] = 1] = "ICON";
272
- })(selectType || (selectType = {}));
273
- export let DialogType;
274
- (function (DialogType) {
280
+ return selectType;
281
+ }(selectType || {});
282
+ export let DialogType = /*#__PURE__*/function (DialogType) {
275
283
  DialogType["ALERT"] = "alert";
276
284
  DialogType["CONFIRM"] = "confirm";
277
285
  DialogType["DATE"] = "date";
@@ -281,19 +289,21 @@ export let DialogType;
281
289
  DialogType["INPUT"] = "input";
282
290
  DialogType["SELECT"] = "select";
283
291
  DialogType["TOAST"] = "toast";
284
- })(DialogType || (DialogType = {}));
285
- export let MediaType;
286
- (function (MediaType) {
292
+ DialogType["SIGNATURE"] = "signature";
293
+ return DialogType;
294
+ }({});
295
+ export let MediaType = /*#__PURE__*/function (MediaType) {
287
296
  MediaType["IMAGE"] = "image";
288
297
  MediaType["VIDEO"] = "video";
289
- })(MediaType || (MediaType = {}));
290
- export let DialogAnimation;
291
- (function (DialogAnimation) {
298
+ return MediaType;
299
+ }({});
300
+ export let DialogAnimation = /*#__PURE__*/function (DialogAnimation) {
292
301
  DialogAnimation["CONFETTI"] = "confetti";
293
- })(DialogAnimation || (DialogAnimation = {}));
294
- export let DialogIconType;
295
- (function (DialogIconType) {
302
+ return DialogAnimation;
303
+ }({});
304
+ export let DialogIconType = /*#__PURE__*/function (DialogIconType) {
296
305
  DialogIconType["SuccessIcon"] = "%%DialogSuccessIcon%%";
297
306
  DialogIconType["WarningIcon"] = "%%DialogWarningIcon%%";
298
307
  DialogIconType["ErrorIcon"] = "%%DialogErrorIcon%%";
299
- })(DialogIconType || (DialogIconType = {}));
308
+ return DialogIconType;
309
+ }({});
@@ -1,9 +1,9 @@
1
1
  // @ts-nocheck
2
2
 
3
3
  const invokeAppCall = call => {
4
- var _window$webkit, _window$webkit$messag, _window$chaynsApp, _window$chaynsElectro;
4
+ var _window$webkit, _window$chaynsApp, _window$chaynsElectro;
5
5
  call = JSON.stringify(call);
6
- if ((_window$webkit = window.webkit) !== null && _window$webkit !== void 0 && (_window$webkit$messag = _window$webkit.messageHandlers) !== null && _window$webkit$messag !== void 0 && _window$webkit$messag.jsonCall) {
6
+ if ((_window$webkit = window.webkit) !== null && _window$webkit !== void 0 && (_window$webkit = _window$webkit.messageHandlers) !== null && _window$webkit !== void 0 && _window$webkit.jsonCall) {
7
7
  window.webkit.messageHandlers.jsonCall.postMessage(call);
8
8
  } else if ((_window$chaynsApp = window.chaynsApp) !== null && _window$chaynsApp !== void 0 && _window$chaynsApp.jsonCall) {
9
9
  window.chaynsApp.jsonCall(call);
@@ -9,9 +9,9 @@ const getDeviceInfo = (userAgent, acceptHeader) => {
9
9
  appName = AppName.TobitChat;
10
10
  } else if (/\ssidekick\/\d+/i.test(userAgent)) {
11
11
  appName = AppName.Sidekick;
12
- } else if ((match === null || match === void 0 ? void 0 : (_match$groups = match.groups) === null || _match$groups === void 0 ? void 0 : _match$groups.siteId) === '60021-08989') {
12
+ } else if ((match === null || match === void 0 || (_match$groups = match.groups) === null || _match$groups === void 0 ? void 0 : _match$groups.siteId) === '60021-08989') {
13
13
  appName = AppName.Chayns;
14
- } else if ((match === null || match === void 0 ? void 0 : (_match$groups2 = match.groups) === null || _match$groups2 === void 0 ? void 0 : _match$groups2.siteId) === '77892-10814') {
14
+ } else if ((match === null || match === void 0 || (_match$groups2 = match.groups) === null || _match$groups2 === void 0 ? void 0 : _match$groups2.siteId) === '77892-10814') {
15
15
  appName = AppName.David;
16
16
  } else if (match) {
17
17
  appName = AppName.Location;
@@ -22,7 +22,7 @@ const getDeviceInfo = (userAgent, acceptHeader) => {
22
22
  result.browser = {
23
23
  name: parsedUA === null || parsedUA === void 0 ? void 0 : parsedUA.name,
24
24
  version: parsedUA === null || parsedUA === void 0 ? void 0 : parsedUA.version,
25
- majorVersion: Number.parseInt((_parsedUA$version$spl = parsedUA === null || parsedUA === void 0 ? void 0 : (_parsedUA$version = parsedUA.version) === null || _parsedUA$version === void 0 ? void 0 : _parsedUA$version.split('.')[0]) !== null && _parsedUA$version$spl !== void 0 ? _parsedUA$version$spl : '0', 10) || 0,
25
+ majorVersion: Number.parseInt((_parsedUA$version$spl = parsedUA === null || parsedUA === void 0 || (_parsedUA$version = parsedUA.version) === null || _parsedUA$version === void 0 ? void 0 : _parsedUA$version.split('.')[0]) !== null && _parsedUA$version$spl !== void 0 ? _parsedUA$version$spl : '0', 10) || 0,
26
26
  isWebPSupported: acceptHeader.includes('image/webp')
27
27
  };
28
28
  result.app = {
@@ -1,6 +1,6 @@
1
1
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
 
@@ -248,7 +248,7 @@ export class AppWrapper {
248
248
  let {
249
249
  retVal
250
250
  } = _ref;
251
- callback === null || callback === void 0 ? void 0 : callback(retVal);
251
+ callback === null || callback === void 0 || callback(retVal);
252
252
  delete window[callbackName];
253
253
  };
254
254
  const callObj = {
@@ -1,6 +1,6 @@
1
1
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
4
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
5
5
  import * as comlink from 'comlink';
6
6
  import DialogHandler from '../handler/DialogHandler';
@@ -1,6 +1,6 @@
1
1
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
3
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
4
  import { moduleWrapper } from '../components/moduleWrapper';
5
5
  import { FrameWrapper } from './FrameWrapper';
6
6
  class StaticChaynsApi {
@@ -1 +1 @@
1
- export declare function alert(title?: string, message?: string): Promise<any> | "unsupported";
1
+ export declare function alert(title?: string, message?: string): Promise<any> | "unsupported";
@@ -1,24 +1,24 @@
1
- export declare const buttonText: {
2
- YES: string;
3
- NO: string;
4
- OK: string;
5
- CANCEL: string;
6
- };
7
- export declare const buttonType: {
8
- CANCEL: number;
9
- NEGATIVE: number;
10
- POSITIVE: number;
11
- };
12
- export declare const dialogAction: {
13
- ALERT_CONFIRM: number;
14
- INPUT: number;
15
- SELECT: number;
16
- DATE: number;
17
- ADVANCED_DATE: number;
18
- DROP_UP_ALERT: number;
19
- MEDIA_SELECT: number;
20
- FILE_SELECT: number;
21
- SIGNATURE: number;
22
- IFRAME: number;
23
- };
24
- export declare function chaynsDialog(config: any): Promise<any> | "unsupported";
1
+ export declare const buttonText: {
2
+ YES: string;
3
+ NO: string;
4
+ OK: string;
5
+ CANCEL: string;
6
+ };
7
+ export declare const buttonType: {
8
+ CANCEL: number;
9
+ NEGATIVE: number;
10
+ POSITIVE: number;
11
+ };
12
+ export declare const dialogAction: {
13
+ ALERT_CONFIRM: number;
14
+ INPUT: number;
15
+ SELECT: number;
16
+ DATE: number;
17
+ ADVANCED_DATE: number;
18
+ DROP_UP_ALERT: number;
19
+ MEDIA_SELECT: number;
20
+ FILE_SELECT: number;
21
+ SIGNATURE: number;
22
+ IFRAME: number;
23
+ };
24
+ export declare function chaynsDialog(config: any): Promise<any> | "unsupported";
@@ -1 +1 @@
1
- export declare function close(): Promise<any>;
1
+ export declare function close(): Promise<any>;