@gataca/qr 3.0.11 → 4.0.0

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 (44) hide show
  1. package/dist/{esm/qr-code-styling-0eeb38d5.js → cjs/gat-icon-check-c88a30ed.js} +15 -1
  2. package/dist/cjs/{gataca-qr_2.cjs.entry.js → gataca-qr_3.cjs.entry.js} +380 -45
  3. package/dist/cjs/gataca-qrws.cjs.entry.js +6 -7
  4. package/dist/cjs/gataca-ssibuttonws.cjs.entry.js +61 -0
  5. package/dist/cjs/gatacaqr.cjs.js +1 -1
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/collection/components/gataca-qr/components/qr/QR.js +2 -2
  8. package/dist/collection/components/gataca-qr/components/readQR/ReadQR.js +4 -2
  9. package/dist/collection/components/gataca-qr/gataca-qr.js +26 -7
  10. package/dist/collection/components/gataca-qrdisplay/gataca-qrdisplay.js +22 -0
  11. package/dist/collection/components/gataca-ssibutton/gataca-ssibutton.js +163 -3
  12. package/dist/components/{gat-icon-alert.js → gat-icon-check.js} +3 -3
  13. package/dist/components/gataca-qr2.js +40 -37
  14. package/dist/components/gataca-qrdisplay2.js +5 -0
  15. package/dist/components/gataca-qrws2.js +1 -1
  16. package/dist/components/gataca-ssibutton2.js +88 -4
  17. package/dist/components/index.js +1 -1
  18. package/dist/{cjs/qr-code-styling-412bbc7a.js → esm/gat-icon-check-c188cd29.js} +8 -2
  19. package/dist/esm/{gataca-qr_2.entry.js → gataca-qr_3.entry.js} +377 -43
  20. package/dist/esm/gataca-qrws.entry.js +1 -2
  21. package/dist/esm/gataca-ssibuttonws.entry.js +57 -0
  22. package/dist/esm/gatacaqr.js +1 -1
  23. package/dist/esm/loader.js +1 -1
  24. package/dist/gatacaqr/gatacaqr.esm.js +1 -1
  25. package/dist/gatacaqr/p-5be73956.js +1 -0
  26. package/dist/gatacaqr/p-948e7d94.entry.js +1 -0
  27. package/dist/gatacaqr/p-e94e9be8.entry.js +1 -0
  28. package/dist/gatacaqr/p-fb41fad9.entry.js +1 -0
  29. package/dist/types/components/gataca-qr/components/qr/QR.d.ts +3 -1
  30. package/dist/types/components/gataca-qr/components/readQR/ReadQR.d.ts +2 -0
  31. package/dist/types/components/gataca-qr/gataca-qr.d.ts +11 -2
  32. package/dist/types/components/gataca-qrdisplay/gataca-qrdisplay.d.ts +5 -0
  33. package/dist/types/components/gataca-ssibutton/gataca-ssibutton.d.ts +30 -1
  34. package/dist/types/components.d.ts +50 -0
  35. package/package.json +1 -1
  36. package/dist/cjs/gat-icon-alert-0ad19b26.js +0 -14
  37. package/dist/cjs/gataca-ssibutton_2.cjs.entry.js +0 -313
  38. package/dist/esm/gat-icon-alert-7b06ef3a.js +0 -9
  39. package/dist/esm/gataca-ssibutton_2.entry.js +0 -308
  40. package/dist/gatacaqr/p-0be4566d.js +0 -1
  41. package/dist/gatacaqr/p-2adc0bcc.entry.js +0 -1
  42. package/dist/gatacaqr/p-2ddbc2fc.entry.js +0 -1
  43. package/dist/gatacaqr/p-d2dd7c85.entry.js +0 -1
  44. package/dist/gatacaqr/p-ea783014.js +0 -1
@@ -8,6 +8,8 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { DrawType } from "qr-code-styling";
9
9
  import { RESULT_STATUS } from "./utils";
10
10
  import { RESULT_STATUS as RESULT_STATUS1, WSResponse } from "./utils/utils";
11
+ import { qrStyle } from "./components/gataca-qr/gataca-qr";
12
+ import { qrStyle as qrStyle1 } from "./components/gataca-qr/gataca-qr";
11
13
  export namespace Components {
12
14
  interface GatacaAutoqr {
13
15
  /**
@@ -174,6 +176,10 @@ export namespace Components {
174
176
  * _[Optional]_ Size of QR Displayed
175
177
  */
176
178
  "qrSize"?: number;
179
+ /**
180
+ * _[Optional]_ Adjust the color styles of the QR
181
+ */
182
+ "qrStyle"?: qrStyle;
177
183
  /**
178
184
  * _[Optional]_ Sets the qr type. It can be "svg" or "canvas". "svg" by default.
179
185
  */
@@ -224,6 +230,10 @@ export namespace Components {
224
230
  "waitingStartSessionLabel"?: string;
225
231
  }
226
232
  interface GatacaQrdisplay {
233
+ /**
234
+ * _[Optional]_ QR Color.
235
+ */
236
+ "bgColor"?: string;
227
237
  /**
228
238
  * _[Optional]_ 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
229
239
  */
@@ -428,6 +438,10 @@ export namespace Components {
428
438
  * _[Optional]_ Set to start polling when button or QR is displayed. By default it is true
429
439
  */
430
440
  "autostart": boolean;
441
+ /**
442
+ * _[Optional]_ In the case of enabling DCAPI button, allows to configure the text displayed
443
+ */
444
+ "buttonDCAPIText"?: string;
431
445
  /**
432
446
  * _[Optional]_ In the case of being a button, modifies its text
433
447
  */
@@ -471,6 +485,10 @@ export namespace Components {
471
485
  * _[Optional]_ Display a link containing a dynamic link to invoke the wallet if closed
472
486
  */
473
487
  "dynamicLink"?: boolean;
488
+ /**
489
+ * _[Optional]_ String to show "waiting start session" label
490
+ */
491
+ "enableDcApi"?: boolean;
474
492
  /**
475
493
  * ***Mandatory*** Callback fired upon session expired or invalid If not set, session error would not be handled An error containing information will be passed as parameter
476
494
  */
@@ -479,6 +497,10 @@ export namespace Components {
479
497
  * _[Optional]_ String to show "failed login" error
480
498
  */
481
499
  "failedLoginErrorLabel"?: string;
500
+ /**
501
+ * ***Mandatory if DC API*** Sends the API response
502
+ */
503
+ "fillSession"?: (request: any, sessionData?: any) => Promise<{result: RESULT_STATUS1; data?: any}>;
482
504
  /**
483
505
  * Retrieve manually the session data on a successful login
484
506
  */
@@ -527,6 +549,10 @@ export namespace Components {
527
549
  * ***Mandatory*** Decide if scanning the credential as a verifier to request credentials or as an issuer too issue credentials. Options: connect | certify
528
550
  */
529
551
  "qrRole": string;
552
+ /**
553
+ * _[Optional]_ Adjust the color styles of the QR
554
+ */
555
+ "qrStyle"?: qrStyle1;
530
556
  /**
531
557
  * _[Optional]_ Sets the qr type. It can be "svg" or "canvas". "svg" by default.
532
558
  */
@@ -883,6 +909,10 @@ declare namespace LocalJSX {
883
909
  * _[Optional]_ Size of QR Displayed
884
910
  */
885
911
  "qrSize"?: number;
912
+ /**
913
+ * _[Optional]_ Adjust the color styles of the QR
914
+ */
915
+ "qrStyle"?: qrStyle;
886
916
  /**
887
917
  * _[Optional]_ Sets the qr type. It can be "svg" or "canvas". "svg" by default.
888
918
  */
@@ -929,6 +959,10 @@ declare namespace LocalJSX {
929
959
  "waitingStartSessionLabel"?: string;
930
960
  }
931
961
  interface GatacaQrdisplay {
962
+ /**
963
+ * _[Optional]_ QR Color.
964
+ */
965
+ "bgColor"?: string;
932
966
  /**
933
967
  * _[Optional]_ 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
934
968
  */
@@ -1129,6 +1163,10 @@ declare namespace LocalJSX {
1129
1163
  * _[Optional]_ Set to start polling when button or QR is displayed. By default it is true
1130
1164
  */
1131
1165
  "autostart"?: boolean;
1166
+ /**
1167
+ * _[Optional]_ In the case of enabling DCAPI button, allows to configure the text displayed
1168
+ */
1169
+ "buttonDCAPIText"?: string;
1132
1170
  /**
1133
1171
  * _[Optional]_ In the case of being a button, modifies its text
1134
1172
  */
@@ -1172,6 +1210,10 @@ declare namespace LocalJSX {
1172
1210
  * _[Optional]_ Display a link containing a dynamic link to invoke the wallet if closed
1173
1211
  */
1174
1212
  "dynamicLink"?: boolean;
1213
+ /**
1214
+ * _[Optional]_ String to show "waiting start session" label
1215
+ */
1216
+ "enableDcApi"?: boolean;
1175
1217
  /**
1176
1218
  * ***Mandatory*** Callback fired upon session expired or invalid If not set, session error would not be handled An error containing information will be passed as parameter
1177
1219
  */
@@ -1180,6 +1222,10 @@ declare namespace LocalJSX {
1180
1222
  * _[Optional]_ String to show "failed login" error
1181
1223
  */
1182
1224
  "failedLoginErrorLabel"?: string;
1225
+ /**
1226
+ * ***Mandatory if DC API*** Sends the API response
1227
+ */
1228
+ "fillSession"?: (request: any, sessionData?: any) => Promise<{result: RESULT_STATUS1; data?: any}>;
1183
1229
  /**
1184
1230
  * _[Optional]_ Function that runs every time the loading state changes while checking if the App is installed. Only on mobile with v3.
1185
1231
  */
@@ -1236,6 +1282,10 @@ declare namespace LocalJSX {
1236
1282
  * ***Mandatory*** Decide if scanning the credential as a verifier to request credentials or as an issuer too issue credentials. Options: connect | certify
1237
1283
  */
1238
1284
  "qrRole"?: string;
1285
+ /**
1286
+ * _[Optional]_ Adjust the color styles of the QR
1287
+ */
1288
+ "qrStyle"?: qrStyle1;
1239
1289
  /**
1240
1290
  * _[Optional]_ Sets the qr type. It can be "svg" or "canvas". "svg" by default.
1241
1291
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gataca/qr",
3
- "version": "3.0.11",
3
+ "version": "4.0.0",
4
4
  "description": "Gataca component to display presentation requests in QR",
5
5
  "author": "Gataca <it@gataca.io>",
6
6
  "licenses": [
@@ -1,14 +0,0 @@
1
- 'use strict';
2
-
3
- const logoGatacaSvg = 'data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDc2IDcxIiB3aWR0aD0iNzEiIGhlaWdodD0iNjYiPgoJPHRpdGxlPlZlY3RvciAoMyktc3ZnPC90aXRsZT4KCTxzdHlsZT4KCQkuczAgeyBmaWxsOiAjNDc0NWI3IH0gCgk8L3N0eWxlPgoJPHBhdGggaWQ9IkxheWVyIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsYXNzPSJzMCIgZD0ibTcyLjIgMzguNGMyLjIgMy4zIDMuNSA3LjIgMy41IDExLjQgMCAxMS4yLTguOCAyMC4yLTE5LjkgMjAuN3EtMC40IDAtMC44IDBjLTMgMC01LjgtMC42LTguNC0xLjdxLTIuMS0xLTMuOC0yLjMtMS4xLTAuOC0yLjEtMS43LTEuMy0xLj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saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K';
10
-
11
- exports.gatIconAlertSvg = gatIconAlertSvg;
12
- exports.gatIconCheckSvg = gatIconCheckSvg;
13
- exports.gatIconRefreshSvg = gatIconRefreshSvg;
14
- exports.logoGatacaSvg = logoGatacaSvg;
@@ -1,313 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-93d47a75.js');
6
- require('./qr-code-styling-412bbc7a.js');
7
- const utils = require('./utils-b4e62bc0.js');
8
-
9
- const gatacaSsibuttonCss = "@import url(\"https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400&display=swap\"); html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:\"\";content:none}table{border-collapse:collapse;border-spacing:0}.img-fluid{height:auto;max-width:50%}img{margin-left:auto;margin-right:auto}.buttonContainer{display:inline-block;text-align:right;padding:10px;position:relative}.gatacaButtonWrapper{margin:8px}.gatacaButtonWrapper .gatacaButton{display:flex;min-width:100px;padding:8px 8px;background-color:white;font-size:12px;font-family:\"Work Sans\", sans-serif;letter-spacing:1px;font-weight:2;justify-content:space-between;align-items:center;border-radius:6px;border:1px solid rgba(24, 27, 94, 0.5);color:rgba(24, 27, 94, 0.8);box-shadow:0px 1px 3px rgba(48, 48, 48, 0.15);cursor:pointer}.gatacaButtonWrapper .gatacaButton>span{margin-right:10px}.gatacaButtonWrapper .gatacaButton:hover{box-shadow:0px 2px 8px rgba(48, 48, 48, 0.1)}.gatacaButtonWrapper .buttonText{text-align:right;font-size:8px;color:rgba(24, 27, 94, 0.5);font-family:\"Helvetica Neue\", sans-serif;letter-spacing:1px;padding-right:8px;font-weight:1}.gatacaButtonWrapper .buttonImg{height:25px;width:25px;margin:0;margin-right:20px}";
10
-
11
- const PHONE_ICON$1 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHvSURBVHgB3ZZPTttAFMbfe3YjL7qYLopcpZXSG7Q3CDfIsqrSJpyg5QQtJ2h7glgUdVs4AeEE5AYEQSDAgtnw357Hm0hAQDaeIRFCfFKyeKPxzzPzvc+DUKCZN80GEv1ABgWOQgSdGbOwv7u0nDueV4zjTzUIKhuAZna4vdQFR828azbI0K/TI/qodaLvjlP+tLDGDCs+IKv9Lbsi7kcv0w9541Q0EREPYcoieEQ9KiyECRXHzbpBUOcnYTfPFOOaaGVx9WsLiDrSIp0iU0wFNgIx/AQyc9I/OmOjy+Y8aBvHQcDUYebewc6/Xtk8J5htcg5efEPGhk0JtqkyBjo7DuZcnuO2sqCyKv8rUDmfTS9IBURqBAL+I6CkzBjOMOs22TLY21n8fl17KzXR3uDvb/CQk0GEdfvN07QvpnAOaGfYaRT25JzU6+rnG2tTpcWAy+Cp0m3U/URLms8HWfg/rn6RFaGSs9KQkZMpvGBWNs2Vandt46ac6YNBuc0fDLMaOU5DFybQ8039p/KJ4bq4rwPewtqoM/1gsCm/NfBXvWjgHhhuDAeLyd3qVSifHQULeZkou9EqemLhmUmav8qrZ4GEMGA7ivzjKvfeqGptFV2YdWPMPHHq0cCh3DdpVdLl/XCY9J1gVvbCiWa6N+JLocPFjCsx9cAAAAAASUVORK5CYII=';
12
- //Default values
13
- const DEFAULT_SESSION_TIMEOUT = 300; //5mins as in connect
14
- const DEFAULT_POLLING_FREQ = 3;
15
- const GatacaSSIButton = class {
16
- constructor(hostRef) {
17
- index.registerInstance(this, hostRef);
18
- this.gatacaLoginCompleted = index.createEvent(this, "gatacaLoginCompleted", 7);
19
- this.gatacaLoginFailed = index.createEvent(this, "gatacaLoginFailed", 7);
20
- this.gatacaButtonPushed = index.createEvent(this, "gatacaButtonPushed", 7);
21
- this.buttonText = 'Easy login';
22
- this.qrType = 'svg';
23
- this.autostart = true;
24
- this.checkStatus = undefined;
25
- this.createSession = undefined;
26
- this.successCallback = undefined;
27
- this.errorCallback = undefined;
28
- this.handleCheckAppLoading = undefined;
29
- this.checkAppTimeout = 6;
30
- this.qrRole = undefined;
31
- this.callbackServer = undefined;
32
- this.sessionTimeout = undefined;
33
- this.pollingFrequency = undefined;
34
- this.autorefresh = false;
35
- this.v = '3';
36
- this.qrModalTitle = 'Quick Access';
37
- this.modalTitleColor = '#4745B7';
38
- this.qrModalDescription = 'Sign up or sign in by scanning the QR Code with the Gataca Wallet';
39
- this.hideBrandTitle = false;
40
- this.dynamicLink = true;
41
- this.logoSize = 0;
42
- this.logoSrc = undefined;
43
- this.qrCodeExpiredLabel = 'QR Code expired';
44
- this.credentialsNotValidatedLabel = 'User credentials not validated';
45
- this.clickInsideBoxLabel = 'Click inside the box to';
46
- this.refreshQrLabel = 'Refresh QR Code';
47
- this.scanQrLabel = 'Scan QR Code';
48
- this.userNotScanInTimeErrorLabel = 'User did not scan the QR in the allowed time';
49
- this.credsNotValidatedErrorLabel = "Provided user credentials couldn't be validated";
50
- this.failedLoginErrorLabel = 'No successful login';
51
- this.successLoginLabel = 'Successful Connection!';
52
- this.byBrandLabel = 'by Gataca';
53
- this.waitingStartSessionLabel = 'waiting to start a session';
54
- this.hideQrModalDescription = false;
55
- this.open = false;
56
- this.sessionId = undefined;
57
- this.authenticationRequest = undefined;
58
- this.sessionData = undefined;
59
- this.result = utils.RESULT_STATUS.NOT_STARTED;
60
- this.qr = (index.h("gataca-qr", { ref: (el) => (this.qrElement = el), checkStatus: this.checkStatus, createSession: this.createSession, successCallback: this.successCallback, errorCallback: this.errorCallback, qrRole: this.qrRole, qrType: this.qrType, callbackServer: this.callbackServer, sessionTimeout: this.sessionTimeout, pollingFrequency: this.pollingFrequency, autostart: this.autostart, autorefresh: this.autorefresh, v: this.v, qrModalTitle: this.qrModalTitle, qrModalDescription: this.qrModalDescription, hideBrandTitle: this.hideBrandTitle, dynamicLink: this.dynamicLink, logoSize: this.logoSize, logoSrc: this.logoSrc, modalTitleColor: this.modalTitleColor, qrCodeExpiredLabel: this.qrCodeExpiredLabel, credentialsNotValidatedLabel: this.credentialsNotValidatedLabel, clickInsideBoxLabel: this.clickInsideBoxLabel, refreshQrLabel: this.refreshQrLabel, scanQrLabel: this.scanQrLabel, userNotScanInTimeErrorLabel: this.userNotScanInTimeErrorLabel, credsNotValidatedErrorLabel: this.credsNotValidatedErrorLabel, failedLoginErrorLabel: this.failedLoginErrorLabel, successLoginLabel: this.successLoginLabel, byBrandLabel: this.byBrandLabel, waitingStartSessionLabel: this.waitingStartSessionLabel, hideQrModalDescription: this.hideQrModalDescription }));
61
- }
62
- /**
63
- * Retrieve manually the session data on a successful login
64
- */
65
- async getSessionData() {
66
- return this.qr.getSessionData();
67
- }
68
- async getSessionId() {
69
- if (this.sessionId) {
70
- return this.sessionId;
71
- }
72
- let { sessionId, authenticationRequest } = await this.createSession();
73
- this.sessionId = sessionId;
74
- this.authenticationRequest = authenticationRequest;
75
- return this.sessionId;
76
- }
77
- /**
78
- * Force manually the start polling
79
- */
80
- async startMobilePolling() {
81
- await this.getSessionId();
82
- this.result = utils.RESULT_STATUS.ONGOING;
83
- this.poll()
84
- .then((data) => {
85
- this.result = utils.RESULT_STATUS.SUCCESS;
86
- this.sessionData = data;
87
- this.gatacaLoginCompleted.emit(data);
88
- this.successCallback(data);
89
- })
90
- .catch((err) => {
91
- this.clean();
92
- let expired = err === utils.RESULT_STATUS.EXPIRED;
93
- if (expired && this.autorefresh) {
94
- this.startMobilePolling();
95
- }
96
- else {
97
- if (err !== utils.RESULT_STATUS.NOT_STARTED) {
98
- let error = expired ? new Error(this.userNotScanInTimeErrorLabel) : new Error(this.credsNotValidatedErrorLabel);
99
- this.result = err;
100
- this.gatacaLoginFailed.emit(error);
101
- this.errorCallback(error);
102
- }
103
- }
104
- });
105
- }
106
- /**
107
- * Stop manually an ongoing session
108
- */
109
- async stop() {
110
- this.clean();
111
- if (this.result === utils.RESULT_STATUS.ONGOING || utils.RESULT_STATUS.READ) {
112
- this.result = utils.RESULT_STATUS.NOT_STARTED;
113
- }
114
- }
115
- clean() {
116
- this.sessionData = undefined;
117
- this.sessionId = undefined;
118
- }
119
- renderModal() {
120
- return this.qr;
121
- }
122
- async poll() {
123
- let endTime = new Date().getTime() + (this.sessionTimeout || DEFAULT_SESSION_TIMEOUT) * 1000;
124
- let interval = (this.pollingFrequency || DEFAULT_POLLING_FREQ) * 1000;
125
- let checkFunc = async (component) => {
126
- if (component.result === utils.RESULT_STATUS.NOT_STARTED) {
127
- return { result: utils.RESULT_STATUS.NOT_STARTED };
128
- }
129
- let id = await component.getSessionId();
130
- return component.checkStatus(id);
131
- };
132
- let component = this;
133
- let checkCondition = async function (resolve, reject) {
134
- // If the condition is met, we're done!
135
- let { result, data } = await checkFunc(component);
136
- switch (result) {
137
- case utils.RESULT_STATUS.SUCCESS:
138
- resolve(data);
139
- break;
140
- case utils.RESULT_STATUS.READ:
141
- component.result = utils.RESULT_STATUS.READ;
142
- case utils.RESULT_STATUS.ONGOING:
143
- if (component.sessionTimeout > 0 && new Date().getTime() < endTime) {
144
- setTimeout(checkCondition, interval, resolve, reject);
145
- }
146
- else {
147
- reject(utils.RESULT_STATUS.EXPIRED);
148
- }
149
- break;
150
- default:
151
- reject(result);
152
- break;
153
- }
154
- };
155
- return new Promise(checkCondition);
156
- }
157
- isAppInstalled(appScheme, callback) {
158
- let timeout;
159
- let detected = false;
160
- if (appScheme === null || appScheme === void 0 ? void 0 : appScheme.length) {
161
- window.location.href = appScheme;
162
- }
163
- const waitTimeToCheckApp = this.checkAppTimeout * 1000;
164
- timeout = setTimeout(() => {
165
- if (!detected) {
166
- callback(false);
167
- }
168
- cleanup();
169
- }, waitTimeToCheckApp);
170
- const handleVisibilityChange = () => {
171
- if (document.hidden) {
172
- detected = true;
173
- callback(true);
174
- if (!this.autostart) {
175
- this.startMobilePolling();
176
- }
177
- cleanup();
178
- }
179
- };
180
- document.addEventListener('visibilitychange', handleVisibilityChange);
181
- function cleanup() {
182
- clearTimeout(timeout);
183
- document.removeEventListener('visibilitychange', handleVisibilityChange);
184
- }
185
- }
186
- renderDesktopButton() {
187
- return (index.h("div", { class: "gatacaButtonWrapper" }, index.h("button", { class: "gatacaButton", onClick: () => {
188
- this.open = !this.open;
189
- setTimeout(() => {
190
- var _a, _b;
191
- if (this.open) {
192
- (_a = this.qrElement) === null || _a === void 0 ? void 0 : _a.display();
193
- }
194
- else {
195
- (_b = this.qrElement) === null || _b === void 0 ? void 0 : _b.stop();
196
- }
197
- }, 0);
198
- } }, index.h("img", { src: PHONE_ICON$1, class: "buttonImg", alt: this.buttonText }), index.h("span", null, this.buttonText))));
199
- }
200
- async getAuthRequest() {
201
- let { authenticationRequest } = await this.createSession();
202
- return authenticationRequest;
203
- }
204
- renderMobileButton(isAndroid, isIos) {
205
- if (this.autostart) {
206
- this.startMobilePolling();
207
- }
208
- let loading = false;
209
- const handleLoading = (isLoading) => {
210
- loading = isLoading;
211
- if (this.handleCheckAppLoading) {
212
- this.handleCheckAppLoading(isLoading);
213
- }
214
- };
215
- const executeRedirection = async () => {
216
- handleLoading(true);
217
- const androidStoreLink = 'https://play.google.com/store/apps/details?id=com.gataca.identity';
218
- const iosStoreLink = 'https://apps.apple.com/us/app/gataca/id1498607616';
219
- try {
220
- const appScheme = await this.getAuthRequest();
221
- this.isAppInstalled(appScheme, (installed) => {
222
- if (!installed) {
223
- this.stop();
224
- if (isAndroid) {
225
- window.location.href = androidStoreLink;
226
- }
227
- else if (isIos) {
228
- window.location.href = iosStoreLink;
229
- }
230
- }
231
- handleLoading(false);
232
- });
233
- }
234
- catch (error) {
235
- this.stop();
236
- handleLoading(false);
237
- }
238
- };
239
- return (index.h("div", { class: "gatacaButtonWrapper" }, index.h("button", { class: "gatacaButton", onClick: () => {
240
- this.gatacaButtonPushed.emit();
241
- executeRedirection();
242
- }, disabled: loading }, index.h("img", { src: PHONE_ICON$1, class: "buttonImg", alt: this.buttonText }), index.h("span", null, this.buttonText))));
243
- }
244
- render() {
245
- const userAgent =
246
- // @ts-ignore
247
- (navigator === null || navigator === void 0 ? void 0 : navigator.userAgent) || (navigator === null || navigator === void 0 ? void 0 : navigator.vendor) || (window === null || window === void 0 ? void 0 : window.opera);
248
- const isAndroid = /android/i.test(userAgent);
249
- const isIos =
250
- // @ts-ignore
251
- (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1);
252
- const isMobile = isAndroid || isIos;
253
- return (index.h("div", { class: "buttonContainer" }, isMobile && this.v === '3' ? this.renderMobileButton(isAndroid, isIos) : this.renderDesktopButton(), this.open && (!isMobile || this.v === '3') && this.renderModal()));
254
- }
255
- };
256
- GatacaSSIButton.style = gatacaSsibuttonCss;
257
-
258
- const gatacaSsibuttonwsCss = "@import url(\"https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400&display=swap\"); html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:\"\";content:none}table{border-collapse:collapse;border-spacing:0}.img-fluid{height:auto;max-width:50%}img{margin-left:auto;margin-right:auto}.buttonContainer{display:inline-block;text-align:right;padding:10px;position:relative}.gatacaButtonWrapper{margin:8px}.gatacaButtonWrapper .gatacaButton{display:flex;min-width:100px;padding:8px 8px;background-color:white;font-size:12px;font-family:\"Work Sans\", sans-serif;letter-spacing:1px;font-weight:2;justify-content:space-between;align-items:center;border-radius:6px;border:1px solid rgba(24, 27, 94, 0.5);color:rgba(24, 27, 94, 0.8);box-shadow:0px 1px 3px rgba(48, 48, 48, 0.15);cursor:pointer}.gatacaButtonWrapper .gatacaButton>span{margin-right:10px}.gatacaButtonWrapper .gatacaButton:hover{box-shadow:0px 2px 8px rgba(48, 48, 48, 0.1)}.gatacaButtonWrapper .buttonText{text-align:right;font-size:8px;color:rgba(24, 27, 94, 0.5);font-family:\"Helvetica Neue\", sans-serif;letter-spacing:1px;padding-right:8px;font-weight:1}.gatacaButtonWrapper .buttonImg{height:25px;width:25px;margin:0;margin-right:20px}";
259
-
260
- const PHONE_ICON = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHvSURBVHgB3ZZPTttAFMbfe3YjL7qYLopcpZXSG7Q3CDfIsqrSJpyg5QQtJ2h7glgUdVs4AeEE5AYEQSDAgtnw357Hm0hAQDaeIRFCfFKyeKPxzzPzvc+DUKCZN80GEv1ABgWOQgSdGbOwv7u0nDueV4zjTzUIKhuAZna4vdQFR828azbI0K/TI/qodaLvjlP+tLDGDCs+IKv9Lbsi7kcv0w9541Q0EREPYcoieEQ9KiyECRXHzbpBUOcnYTfPFOOaaGVx9WsLiDrSIp0iU0wFNgIx/AQyc9I/OmOjy+Y8aBvHQcDUYebewc6/Xtk8J5htcg5efEPGhk0JtqkyBjo7DuZcnuO2sqCyKv8rUDmfTS9IBURqBAL+I6CkzBjOMOs22TLY21n8fl17KzXR3uDvb/CQk0GEdfvN07QvpnAOaGfYaRT25JzU6+rnG2tTpcWAy+Cp0m3U/URLms8HWfg/rn6RFaGSs9KQkZMpvGBWNs2Vandt46ac6YNBuc0fDLMaOU5DFybQ8039p/KJ4bq4rwPewtqoM/1gsCm/NfBXvWjgHhhuDAeLyd3qVSifHQULeZkou9EqemLhmUmav8qrZ4GEMGA7ivzjKvfeqGptFV2YdWPMPHHq0cCh3DdpVdLl/XCY9J1gVvbCiWa6N+JLocPFjCsx9cAAAAAASUVORK5CYII=';
261
- const GatacaSSIButtonWS = class {
262
- constructor(hostRef) {
263
- index.registerInstance(this, hostRef);
264
- this.gatacaLoginCompleted = index.createEvent(this, "gatacaLoginCompleted", 7);
265
- this.gatacaLoginFailed = index.createEvent(this, "gatacaLoginFailed", 7);
266
- this.buttonText = 'Easy login';
267
- this.successCallback = undefined;
268
- this.errorCallback = undefined;
269
- this.qrType = 'svg';
270
- this.qrRole = undefined;
271
- this.callbackServer = undefined;
272
- this.socketEndpoint = undefined;
273
- this.sessionTimeout = undefined;
274
- this.wsOnOpen = undefined;
275
- this.wsOnMessage = undefined;
276
- this.autostart = true;
277
- this.autorefresh = false;
278
- this.v = '3';
279
- this.qrModalTitle = 'Quick Access';
280
- this.qrModalDescription = 'Sign up or sign in by scanning the QR Code with the Gataca Wallet';
281
- this.hideBrandTitle = false;
282
- this.dynamicLink = true;
283
- this.open = false;
284
- this.qr = (index.h("gataca-qrws", { wsOnMessage: this.wsOnMessage, wsOnOpen: this.wsOnOpen, successCallback: this.successCallback, errorCallback: this.errorCallback, qrRole: this.qrRole, qrType: this.qrType, callbackServer: this.callbackServer, sessionTimeout: this.sessionTimeout, socketEndpoint: this.socketEndpoint, autostart: true, autorefresh: this.autorefresh, v: this.v, qrModalTitle: this.qrModalTitle, qrModalDescription: this.qrModalDescription, hideBrandTitle: this.hideBrandTitle, dynamicLink: this.dynamicLink }));
285
- }
286
- /**
287
- * Retrieve manually the session data on a successful login
288
- */
289
- async getSessionData() {
290
- return this.qr.getSessionData();
291
- }
292
- renderModal() {
293
- return this.qr;
294
- }
295
- renderButton() {
296
- return (index.h("div", { class: "gatacaButtonWrapper" }, index.h("button", { class: "gatacaButton", onClick: () => {
297
- this.open = !this.open;
298
- if (this.open) {
299
- this.qr.display();
300
- }
301
- else {
302
- this.qr.stop();
303
- }
304
- } }, index.h("img", { src: PHONE_ICON, class: "buttonImg", alt: this.buttonText }), index.h("span", null, this.buttonText))));
305
- }
306
- render() {
307
- return (index.h("div", { class: "buttonContainer" }, this.renderButton(), this.open && this.renderModal()));
308
- }
309
- };
310
- GatacaSSIButtonWS.style = gatacaSsibuttonwsCss;
311
-
312
- exports.gataca_ssibutton = GatacaSSIButton;
313
- exports.gataca_ssibuttonws = GatacaSSIButtonWS;
@@ -1,9 +0,0 @@
1
- const logoGatacaSvg = 'data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDc2IDcxIiB3aWR0aD0iNzEiIGhlaWdodD0iNjYiPgoJPHRpdGxlPlZlY3RvciAoMyktc3ZnPC90aXRsZT4KCTxzdHlsZT4KCQkuczAgeyBmaWxsOiAjNDc0NWI3IH0gCgk8L3N0eWxlPgoJPHBhdGggaWQ9IkxheWVyIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsYXNzPSJzMCIgZD0ibTcyLjIgMzguNGMyLjIgMy4zIDMuNSA3LjIgMy41IDExLjQgMCAxMS4yLTguOCAyMC4yLTE5LjkgMjAuN3EtMC40IDAtMC44IDBjLTMgMC01LjgtMC42LTguNC0xLjdxLTIuMS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