@gataca/qr 0.0.7

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 (119) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/gat-icon-alert-0ad19b26.js +14 -0
  3. package/dist/cjs/gataca-autoqr.cjs.entry.js +105 -0
  4. package/dist/cjs/gataca-qr_2.cjs.entry.js +294 -0
  5. package/dist/cjs/gataca-qrws.cjs.entry.js +252 -0
  6. package/dist/cjs/gataca-ssibutton_2.cjs.entry.js +309 -0
  7. package/dist/cjs/gatacaqr.cjs.js +19 -0
  8. package/dist/cjs/index-93d47a75.js +1469 -0
  9. package/dist/cjs/index.cjs.js +16 -0
  10. package/dist/cjs/loader.cjs.js +21 -0
  11. package/dist/cjs/qr-code-styling-412bbc7a.js +28 -0
  12. package/dist/cjs/utils-ef28b844.js +27 -0
  13. package/dist/collection/assets/icons/gat-icon-alert.svg +5 -0
  14. package/dist/collection/assets/icons/gat-icon-check.svg +5 -0
  15. package/dist/collection/assets/icons/gat-icon-refresh.svg +4 -0
  16. package/dist/collection/assets/images/logo_gataca.svg +7 -0
  17. package/dist/collection/collection-manifest.json +17 -0
  18. package/dist/collection/components/gataca-autoqr/gataca-autoqr.css +116 -0
  19. package/dist/collection/components/gataca-autoqr/gataca-autoqr.js +323 -0
  20. package/dist/collection/components/gataca-qr/components/qr/QR.js +5 -0
  21. package/dist/collection/components/gataca-qr/components/readQR/ReadQR.js +11 -0
  22. package/dist/collection/components/gataca-qr/components/readQR/components/AnimatedLoader.js +4 -0
  23. package/dist/collection/components/gataca-qr/components/retryButton/RetryButton.js +13 -0
  24. package/dist/collection/components/gataca-qr/components/success/Success.js +8 -0
  25. package/dist/collection/components/gataca-qr/gataca-qr.css +399 -0
  26. package/dist/collection/components/gataca-qr/gataca-qr.js +965 -0
  27. package/dist/collection/components/gataca-qrdisplay/gataca-qrdisplay.js +154 -0
  28. package/dist/collection/components/gataca-qrws/components/qr/QR.js +5 -0
  29. package/dist/collection/components/gataca-qrws/components/readQR/ReadQR.js +11 -0
  30. package/dist/collection/components/gataca-qrws/components/readQR/components/AnimatedLoader.js +4 -0
  31. package/dist/collection/components/gataca-qrws/components/retryButton/RetryButton.js +13 -0
  32. package/dist/collection/components/gataca-qrws/components/success/Success.js +8 -0
  33. package/dist/collection/components/gataca-qrws/gataca-qrws.css +400 -0
  34. package/dist/collection/components/gataca-qrws/gataca-qrws.js +974 -0
  35. package/dist/collection/components/gataca-ssibutton/gataca-ssibutton.css +116 -0
  36. package/dist/collection/components/gataca-ssibutton/gataca-ssibutton.js +933 -0
  37. package/dist/collection/components/gataca-ssibuttonws/gataca-ssibuttonws.css +116 -0
  38. package/dist/collection/components/gataca-ssibuttonws/gataca-ssibuttonws.js +410 -0
  39. package/dist/collection/index.js +2 -0
  40. package/dist/collection/utils/index.js +1 -0
  41. package/dist/collection/utils/utils.js +22 -0
  42. package/dist/components/gat-icon-alert.js +30 -0
  43. package/dist/components/gataca-autoqr.d.ts +11 -0
  44. package/dist/components/gataca-autoqr.js +161 -0
  45. package/dist/components/gataca-qr.d.ts +11 -0
  46. package/dist/components/gataca-qr.js +6 -0
  47. package/dist/components/gataca-qr2.js +309 -0
  48. package/dist/components/gataca-qrdisplay.d.ts +11 -0
  49. package/dist/components/gataca-qrdisplay.js +6 -0
  50. package/dist/components/gataca-qrdisplay2.js +93 -0
  51. package/dist/components/gataca-qrws.d.ts +11 -0
  52. package/dist/components/gataca-qrws.js +6 -0
  53. package/dist/components/gataca-qrws2.js +310 -0
  54. package/dist/components/gataca-ssibutton.d.ts +11 -0
  55. package/dist/components/gataca-ssibutton.js +6 -0
  56. package/dist/components/gataca-ssibutton2.js +318 -0
  57. package/dist/components/gataca-ssibuttonws.d.ts +11 -0
  58. package/dist/components/gataca-ssibuttonws.js +6 -0
  59. package/dist/components/gataca-ssibuttonws2.js +102 -0
  60. package/dist/components/index.d.ts +27 -0
  61. package/dist/components/index.js +8 -0
  62. package/dist/esm/gat-icon-alert-7b06ef3a.js +9 -0
  63. package/dist/esm/gataca-autoqr.entry.js +101 -0
  64. package/dist/esm/gataca-qr_2.entry.js +289 -0
  65. package/dist/esm/gataca-qrws.entry.js +248 -0
  66. package/dist/esm/gataca-ssibutton_2.entry.js +304 -0
  67. package/dist/esm/gatacaqr.js +17 -0
  68. package/dist/esm/index-2be54f32.js +1443 -0
  69. package/dist/esm/index.js +1 -0
  70. package/dist/esm/loader.js +17 -0
  71. package/dist/esm/polyfills/core-js.js +11 -0
  72. package/dist/esm/polyfills/css-shim.js +1 -0
  73. package/dist/esm/polyfills/dom.js +79 -0
  74. package/dist/esm/polyfills/es5-html-element.js +1 -0
  75. package/dist/esm/polyfills/index.js +34 -0
  76. package/dist/esm/polyfills/system.js +6 -0
  77. package/dist/esm/qr-code-styling-0eeb38d5.js +26 -0
  78. package/dist/esm/utils-63e7a33b.js +24 -0
  79. package/dist/gatacaqr/gatacaqr.esm.js +1 -0
  80. package/dist/gatacaqr/index.esm.js +1 -0
  81. package/dist/gatacaqr/p-0381ab9a.entry.js +1 -0
  82. package/dist/gatacaqr/p-0be4566d.js +1 -0
  83. package/dist/gatacaqr/p-16298cb4.entry.js +1 -0
  84. package/dist/gatacaqr/p-2cd7b062.js +1 -0
  85. package/dist/gatacaqr/p-5ae5f952.js +2 -0
  86. package/dist/gatacaqr/p-68f20267.entry.js +1 -0
  87. package/dist/gatacaqr/p-9e9af27e.entry.js +1 -0
  88. package/dist/gatacaqr/p-ea783014.js +1 -0
  89. package/dist/index.cjs.js +1 -0
  90. package/dist/index.js +1 -0
  91. package/dist/types/components/gataca-autoqr/gataca-autoqr.d.ts +85 -0
  92. package/dist/types/components/gataca-qr/components/qr/QR.d.ts +9 -0
  93. package/dist/types/components/gataca-qr/components/readQR/ReadQR.d.ts +13 -0
  94. package/dist/types/components/gataca-qr/components/readQR/components/AnimatedLoader.d.ts +2 -0
  95. package/dist/types/components/gataca-qr/components/retryButton/RetryButton.d.ts +13 -0
  96. package/dist/types/components/gataca-qr/components/success/Success.d.ts +7 -0
  97. package/dist/types/components/gataca-qr/gataca-qr.d.ts +246 -0
  98. package/dist/types/components/gataca-qrdisplay/gataca-qrdisplay.d.ts +35 -0
  99. package/dist/types/components/gataca-qrws/components/qr/QR.d.ts +9 -0
  100. package/dist/types/components/gataca-qrws/components/readQR/ReadQR.d.ts +13 -0
  101. package/dist/types/components/gataca-qrws/components/readQR/components/AnimatedLoader.d.ts +2 -0
  102. package/dist/types/components/gataca-qrws/components/retryButton/RetryButton.d.ts +13 -0
  103. package/dist/types/components/gataca-qrws/components/success/Success.d.ts +7 -0
  104. package/dist/types/components/gataca-qrws/gataca-qrws.d.ts +239 -0
  105. package/dist/types/components/gataca-ssibutton/gataca-ssibutton.d.ts +218 -0
  106. package/dist/types/components/gataca-ssibuttonws/gataca-ssibuttonws.d.ts +110 -0
  107. package/dist/types/components.d.ts +1326 -0
  108. package/dist/types/index.d.ts +2 -0
  109. package/dist/types/stencil-public-runtime.d.ts +1581 -0
  110. package/dist/types/utils/index.d.ts +1 -0
  111. package/dist/types/utils/utils.d.ts +57 -0
  112. package/loader/cdn.js +3 -0
  113. package/loader/index.cjs.js +3 -0
  114. package/loader/index.d.ts +12 -0
  115. package/loader/index.es2017.js +3 -0
  116. package/loader/index.js +4 -0
  117. package/loader/package.json +11 -0
  118. package/package.json +45 -0
  119. package/readme.md +69 -0
@@ -0,0 +1,85 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ import { QRConfig, RESULT_STATUS } from "../../utils";
3
+ import { GatacaQR } from "../gataca-qr/gataca-qr";
4
+ import { GatacaQRWS } from "../gataca-qrws/gataca-qrws";
5
+ import { GatacaSSIButton } from "../gataca-ssibutton/gataca-ssibutton";
6
+ import { GatacaSSIButtonWS } from "../gataca-ssibuttonws/gataca-ssibuttonws";
7
+ export declare class GatacaAutoQR {
8
+ qr: GatacaQRWS | GatacaQR | GatacaSSIButton | GatacaSSIButtonWS;
9
+ constructor();
10
+ /**
11
+ * ***Mandatory***
12
+ * ID of the QR configuration to display
13
+ */
14
+ configId: string;
15
+ /**
16
+ * ___Optional___
17
+ * ConfigURL Repository to download the config from
18
+ */
19
+ configRepository: string;
20
+ /**
21
+ * ***Mandatory***
22
+ * Callback fired upon session correctly verified
23
+ * If not set, session validation wouldn't trigger any action
24
+ * The session data and a possible token will be sent as parameters to the callback
25
+ */
26
+ successCallback: (data?: any) => void;
27
+ /**
28
+ * ___Just for polling flavour___
29
+ * ***Mandatory***
30
+ * Callback fired upon session expired or invalid
31
+ * If not set, session error would not be handled
32
+ * An error containing information will be passed as parameter
33
+ */
34
+ errorCallback: (error?: Error) => void;
35
+ /**
36
+ * ___Just for polling flavour___
37
+ * ***Mandatory***
38
+ * Check status function to query the current status of the session
39
+ * The function must query a client endpoint to check the status. That endpoint must return an error if the session has expired.
40
+ */
41
+ checkStatus?: (id?: string) => Promise<{
42
+ result: RESULT_STATUS;
43
+ data?: any;
44
+ }>;
45
+ /**
46
+ * ***Mandatory***
47
+ * Create session function to generate a new Session
48
+ * Using v="3", it can provide just a session Id
49
+ * Using another version, it must provide also the authentication request. The session Id is the id of the presentation definition
50
+ */
51
+ createSession?: () => Promise<{
52
+ sessionId: string;
53
+ authenticationRequest?: string;
54
+ }>;
55
+ /**
56
+ * ___Just for WS flavour___
57
+ * [Optional]
58
+ * Function to send a message to the server upon socket creation
59
+ */
60
+ wsOnOpen: (socket: WebSocket) => void;
61
+ /**
62
+ * ___Just for WS flavour___
63
+ * **RECOMMENDED**
64
+ * Callback to invoke an a message has been received on the socket. It provides the socket itself and the message as parameters.
65
+ * If not used, the messages provided by the server on the Socket connection must conform to the WSReponse interface
66
+ * If used, an Event named **sessionMsg** must be triggered with a WSReponse as data
67
+ */
68
+ wsOnMessage: (socket: WebSocket, msg: MessageEvent) => void;
69
+ config?: QRConfig;
70
+ loading?: boolean;
71
+ /**
72
+ * GatacaLoginCompleted event, triggered with session data upon login success
73
+ */
74
+ gatacaLoginCompleted: EventEmitter;
75
+ /**
76
+ * GatacaLoginFailed event, triggered with error upon login failure
77
+ */
78
+ gatacaLoginFailed: EventEmitter;
79
+ /**
80
+ * Retrieve manually the session data on a successful login
81
+ */
82
+ getSessionData(): Promise<any>;
83
+ selectQR(): void;
84
+ render(): any;
85
+ }
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ declare type IQRProps = {
3
+ value: string;
4
+ useLogo?: boolean;
5
+ logoSrc?: string;
6
+ size?: number;
7
+ };
8
+ export declare const QR: React.FC<IQRProps>;
9
+ export {};
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ declare type IReadQRProps = {
3
+ modalWidth?: number;
4
+ renderQR(value: string, useLogo?: boolean, size?: number): any;
5
+ url: string;
6
+ sizeQR?: number;
7
+ readQrMessages?: {
8
+ title?: string;
9
+ description?: string;
10
+ };
11
+ };
12
+ export declare const ReadQR: React.FC<IReadQRProps>;
13
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const AnimatedLoader: React.FC;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ declare type IRetryButtonProps = {
3
+ errorMessage?: string;
4
+ modalWidth?: number;
5
+ clickInsideBoxLabel?: string;
6
+ refreshQrLabel?: string;
7
+ scanQrLabel?: string;
8
+ waitingStartSessionLabel?: string;
9
+ display: (x?: any) => void;
10
+ renderRetryQR(value: string, useLogo?: boolean): any;
11
+ };
12
+ export declare const RetryButton: React.FC<IRetryButtonProps>;
13
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ declare type ISuccessProps = {
3
+ modalHeight?: number;
4
+ successLoginLabel?: string;
5
+ };
6
+ export declare const Success: React.FC<ISuccessProps>;
7
+ export {};
@@ -0,0 +1,246 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ import "../gataca-qrdisplay/gataca-qrdisplay";
3
+ import { RESULT_STATUS } from "../../utils/utils";
4
+ export declare class GatacaQR {
5
+ constructor();
6
+ disconnectedCallback(): void;
7
+ /**
8
+ * ***Mandatory***
9
+ * Check status function to query the current status of the session
10
+ * The function must query a client endpoint to check the status. That endpoint must return an error if the session has expired.
11
+ */
12
+ checkStatus?: (id?: string) => Promise<{
13
+ result: RESULT_STATUS;
14
+ data?: any;
15
+ }>;
16
+ /**
17
+ * ***Mandatory***
18
+ * Create session function to generate a new Session
19
+ * Using v="3", it can provide just a session Id
20
+ * Using another version, it must provide also the authentication request. The session Id is the id of the presentation definition
21
+ */
22
+ createSession?: () => Promise<{
23
+ sessionId: string;
24
+ authenticationRequest?: string;
25
+ }>;
26
+ /**
27
+ * ***Mandatory***
28
+ * Callback fired upon session correctly verified
29
+ * If not set, session validation wouldn't trigger any action
30
+ * The session data and a possible token will be sent as parameters to the callback
31
+ */
32
+ successCallback: (data?: any) => void;
33
+ /**
34
+ * ***Mandatory***
35
+ * Callback fired upon session expired or invalid
36
+ * If not set, session error would not be handled
37
+ * An error containing information will be passed as parameter
38
+ */
39
+ errorCallback: (error?: Error) => void;
40
+ /**
41
+ * ***Mandatory just for V1***
42
+ * Decide if scanning the credential as a verifier to request credentials
43
+ * or as an issuer too issue credentials.
44
+ * Options: connect | certify
45
+ */
46
+ qrRole: string;
47
+ /**
48
+ * ***Mandatory just for V1***
49
+ * Connect/Certify Server where the wallet will send the data
50
+ */
51
+ callbackServer: string;
52
+ /**
53
+ * _[Optional]_
54
+ * Set to enable autoload when the QR is displayed. By default it is true
55
+ */
56
+ autostart: boolean;
57
+ /**
58
+ * _[Optional]_
59
+ * Set to refresh the session automatically upon expiration. By default it is false
60
+ */
61
+ autorefresh: boolean;
62
+ /**
63
+ * _[Optional]_
64
+ * If 3, handle deeplink redirects and deprecates (remove) v1 functionality. If not, the create session must be providing both an authentication request and a session Id
65
+ */
66
+ v?: string;
67
+ /**
68
+ * _[Optional]_
69
+ * Modifies the qr headline title
70
+ */
71
+ qrModalTitle?: string;
72
+ /**
73
+ * _[Optional]_
74
+ * String to set Modal title color
75
+ */
76
+ modalTitleColor?: string;
77
+ /**
78
+ * _[Optional]_
79
+ * Modifies the Modal description
80
+ */
81
+ qrModalDescription?: string;
82
+ /**
83
+ * _[Optional]_
84
+ * Boolean to show or not show the modal title, brandTitle and description
85
+ */
86
+ hideModalTexts?: boolean;
87
+ /**
88
+ * _[Optional]_
89
+ * Boolean to show or not show the modal title, brandTitle and description
90
+ */
91
+ hideModalBoxShadow?: boolean;
92
+ /**
93
+ * _[Optional]_
94
+ * Boolean to show or not show the gataca brand title
95
+ */
96
+ hideBrandTitle?: boolean;
97
+ /**
98
+ * _[Optional]_
99
+ * Size of the logo to display in percentage to the total size [0-1]. 0 means no logo will be displayed. Default is the GATACA logo. Recommended size is around 0.33
100
+ */
101
+ logoSize?: number;
102
+ /**
103
+ * _[Optional]_
104
+ * Logo to display, just if the logo size is greater than 0. No logo is the GATACA logo.
105
+ */
106
+ logoSrc?: string;
107
+ /**
108
+ * _[Optional]_
109
+ * Size of QR Displayed
110
+ */
111
+ qrSize?: number;
112
+ /**
113
+ * _[Optional]_
114
+ * Width of the modal
115
+ */
116
+ modalWidth?: number;
117
+ /**
118
+ * _[Optional]_
119
+ * Height of the modal
120
+ */
121
+ modalHeight?: number;
122
+ /**
123
+ * _[Optional]_
124
+ * String to show when qr code expired
125
+ */
126
+ qrCodeExpiredLabel?: string;
127
+ /**
128
+ * _[Optional]_
129
+ * String to show when credentials not validatedd
130
+ */
131
+ credentialsNotValidatedLabel?: string;
132
+ /**
133
+ * _[Optional]_
134
+ * String to show "click inside" label
135
+ */
136
+ clickInsideBoxLabel?: string;
137
+ /**
138
+ * _[Optional]_
139
+ * String to show "refresh QR" label
140
+ */
141
+ refreshQrLabel?: string;
142
+ /**
143
+ * _[Optional]_
144
+ * String to show "scan QR" label
145
+ */
146
+ scanQrLabel?: string;
147
+ /**
148
+ * _[Optional]_
149
+ * String to show "user not scan in time" error
150
+ */
151
+ userNotScanInTimeErrorLabel?: string;
152
+ /**
153
+ * _[Optional]_
154
+ * String to show "provided credentials not validates" error
155
+ */
156
+ credsNotValidatedErrorLabel?: string;
157
+ /**
158
+ * _[Optional]_
159
+ * String to show "failed login" error
160
+ */
161
+ failedLoginErrorLabel?: string;
162
+ /**
163
+ * _[Optional]_
164
+ * String to show "successful login" label
165
+ */
166
+ successLoginLabel?: string;
167
+ /**
168
+ * _[Optional]_
169
+ * String to show "by brand" label
170
+ */
171
+ byBrandLabel?: string;
172
+ /**
173
+ * _[Optional]_
174
+ * String to show "waiting start session" label
175
+ */
176
+ waitingStartSessionLabel?: string;
177
+ /**
178
+ * _[Optional]_
179
+ * String title to show when QR already read
180
+ */
181
+ readQrTitle?: string;
182
+ /**
183
+ * _[Optional]_
184
+ * String description to show when QR already read
185
+ */
186
+ readQrDescription?: string;
187
+ /**
188
+ * _[Optional]_
189
+ * Boolean to show or not show the QR Modal description
190
+ */
191
+ hideQrModalDescription?: boolean;
192
+ /**
193
+ * _[Optional]_
194
+ * Maximum time window to display the session
195
+ */
196
+ sessionTimeout?: number;
197
+ /**
198
+ * _[Optional]_
199
+ * Frequency in seconds to check if the session has been validated
200
+ */
201
+ pollingFrequency?: number;
202
+ /**
203
+ * _[Optional]_
204
+ * Display a link containing a dynamic link to invoke the wallet if closed
205
+ */
206
+ dynamicLink?: boolean;
207
+ sessionId?: string;
208
+ authenticationRequest?: string;
209
+ sessionData: any;
210
+ result: RESULT_STATUS;
211
+ componentDidLoad(): Promise<void>;
212
+ /**
213
+ * GatacaLoginCompleted event, triggered with session data upon login success
214
+ */
215
+ gatacaLoginCompleted: EventEmitter;
216
+ /**
217
+ * GatacaLoginFailed event, triggered with error upon login failure
218
+ */
219
+ gatacaLoginFailed: EventEmitter;
220
+ /**
221
+ * Force manually the display of a QR
222
+ */
223
+ display(): Promise<void>;
224
+ /**
225
+ * Stop manually an ongoing session
226
+ */
227
+ stop(): Promise<void>;
228
+ clean(): void;
229
+ /**
230
+ * Retrieve manually the session data on a successful login
231
+ */
232
+ getSessionData(): Promise<any>;
233
+ getSessionId(): Promise<string>;
234
+ getLink(): string;
235
+ poll(): Promise<unknown>;
236
+ renderQRSection(): any;
237
+ renderSuccess(): any;
238
+ renderRetryButton(errorMessage?: string): any;
239
+ renderReadQR(readQrMessages?: {
240
+ title: any;
241
+ description: any;
242
+ }): any;
243
+ renderQR(value: string, useLogo?: boolean): any;
244
+ renderRetryQR(value: string, useLogo?: boolean): any;
245
+ render(): any;
246
+ }
@@ -0,0 +1,35 @@
1
+ export declare class GatacaQRDisplay {
2
+ private qr;
3
+ componentDidLoad(): void;
4
+ /**
5
+ * _[Mandatory]_
6
+ * Sets the contents of the QR
7
+ */
8
+ qrData: string;
9
+ /**
10
+ * _[Optional]_
11
+ * Size of the QR Displayed
12
+ */
13
+ size?: number;
14
+ /**
15
+ * _[Optional]_
16
+ * Size of the logo to display in percentage to the total size [0-1]. 0 means no logo will be displayed. Default is the GATACA logo. Recommended size is around 0.33
17
+ */
18
+ logoSize?: number;
19
+ /**
20
+ * _[Optional]_
21
+ * Logo to display, just if the logo size is greater than 0. No logo is the GATACA logo.
22
+ */
23
+ logoSrc?: string;
24
+ /**
25
+ * _[Optional]_
26
+ * QR Color.
27
+ */
28
+ qrColor?: string;
29
+ /**
30
+ * _[Optional]_
31
+ * Round usage
32
+ */
33
+ rounded?: boolean;
34
+ render(): any;
35
+ }
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ declare type IQRProps = {
3
+ value: string;
4
+ useLogo?: boolean;
5
+ logoSrc?: string;
6
+ size?: number;
7
+ };
8
+ export declare const QR: React.FC<IQRProps>;
9
+ export {};
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ declare type IReadQRProps = {
3
+ modalWidth?: number;
4
+ renderQR(value: string, useLogo?: boolean, size?: number): any;
5
+ url: string;
6
+ sizeQR?: number;
7
+ readQrMessages?: {
8
+ title?: string;
9
+ description?: string;
10
+ };
11
+ };
12
+ export declare const ReadQR: React.FC<IReadQRProps>;
13
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const AnimatedLoader: React.FC;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ declare type IRetryButtonProps = {
3
+ errorMessage?: string;
4
+ modalWidth?: number;
5
+ clickInsideBoxLabel?: string;
6
+ refreshQrLabel?: string;
7
+ scanQrLabel?: string;
8
+ waitingStartSessionLabel?: string;
9
+ display: (x?: any) => void;
10
+ renderRetryQR(value: string, useLogo?: boolean): any;
11
+ };
12
+ export declare const RetryButton: React.FC<IRetryButtonProps>;
13
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ declare type ISuccessProps = {
3
+ modalHeight?: number;
4
+ successLoginLabel?: string;
5
+ };
6
+ export declare const Success: React.FC<ISuccessProps>;
7
+ export {};