@gataca/qr 3.0.10 → 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.
- package/dist/{esm/qr-code-styling-0eeb38d5.js → cjs/gat-icon-check-c88a30ed.js} +15 -1
- package/dist/cjs/gataca-autoqr.cjs.entry.js +9 -9
- package/dist/cjs/gataca-qr_3.cjs.entry.js +620 -0
- package/dist/cjs/gataca-qrws.cjs.entry.js +39 -47
- package/dist/cjs/gataca-ssibuttonws.cjs.entry.js +61 -0
- package/dist/cjs/gatacaqr.cjs.js +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-ef28b844.js → utils-b4e62bc0.js} +1 -1
- package/dist/collection/components/gataca-autoqr/gataca-autoqr.js +13 -13
- package/dist/collection/components/gataca-qr/components/qr/QR.js +3 -3
- package/dist/collection/components/gataca-qr/components/readQR/ReadQR.js +7 -5
- package/dist/collection/components/gataca-qr/components/readQR/components/AnimatedLoader.js +1 -1
- package/dist/collection/components/gataca-qr/components/retryButton/RetryButton.js +8 -8
- package/dist/collection/components/gataca-qr/components/success/Success.js +4 -4
- package/dist/collection/components/gataca-qr/gataca-qr.js +64 -55
- package/dist/collection/components/gataca-qrdisplay/gataca-qrdisplay.js +33 -11
- package/dist/collection/components/gataca-qrws/components/qr/QR.js +2 -2
- package/dist/collection/components/gataca-qrws/components/readQR/ReadQR.js +4 -4
- package/dist/collection/components/gataca-qrws/components/readQR/components/AnimatedLoader.js +1 -1
- package/dist/collection/components/gataca-qrws/components/retryButton/RetryButton.js +8 -8
- package/dist/collection/components/gataca-qrws/components/success/Success.js +4 -4
- package/dist/collection/components/gataca-qrws/gataca-qrws.js +49 -56
- package/dist/collection/components/gataca-ssibutton/gataca-ssibutton.js +224 -54
- package/dist/collection/components/gataca-ssibuttonws/gataca-ssibuttonws.js +12 -12
- package/dist/collection/index.js +2 -2
- package/dist/collection/utils/index.js +1 -1
- package/dist/collection/utils/utils.js +1 -1
- package/dist/components/{gat-icon-alert.js → gat-icon-check.js} +4 -4
- package/dist/components/gataca-autoqr.js +9 -9
- package/dist/components/gataca-qr2.js +56 -63
- package/dist/components/gataca-qrdisplay2.js +11 -6
- package/dist/components/gataca-qrws2.js +35 -42
- package/dist/components/gataca-ssibutton2.js +114 -34
- package/dist/components/gataca-ssibuttonws2.js +6 -6
- package/dist/components/index.js +1 -1
- package/dist/{cjs/qr-code-styling-412bbc7a.js → esm/gat-icon-check-c188cd29.js} +8 -2
- package/dist/esm/gataca-autoqr.entry.js +9 -9
- package/dist/esm/gataca-qr_3.entry.js +614 -0
- package/dist/esm/gataca-qrws.entry.js +36 -44
- package/dist/esm/gataca-ssibuttonws.entry.js +57 -0
- package/dist/esm/gatacaqr.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-63e7a33b.js → utils-21ffcc1e.js} +1 -1
- package/dist/gatacaqr/gatacaqr.esm.js +1 -1
- package/dist/gatacaqr/index.esm.js +1 -1
- package/dist/gatacaqr/p-5be73956.js +1 -0
- package/dist/gatacaqr/p-948e7d94.entry.js +1 -0
- package/dist/gatacaqr/p-e94e9be8.entry.js +1 -0
- package/dist/gatacaqr/p-fb41fad9.entry.js +1 -0
- package/dist/types/components/gataca-autoqr/gataca-autoqr.d.ts +7 -7
- package/dist/types/components/gataca-qr/components/qr/QR.d.ts +4 -2
- package/dist/types/components/gataca-qr/components/readQR/ReadQR.d.ts +3 -1
- package/dist/types/components/gataca-qr/components/readQR/components/AnimatedLoader.d.ts +1 -1
- package/dist/types/components/gataca-qr/components/retryButton/RetryButton.d.ts +1 -1
- package/dist/types/components/gataca-qr/components/success/Success.d.ts +1 -1
- package/dist/types/components/gataca-qr/gataca-qr.d.ts +13 -4
- package/dist/types/components/gataca-qrdisplay/gataca-qrdisplay.d.ts +6 -1
- package/dist/types/components/gataca-qrws/components/qr/QR.d.ts +2 -2
- package/dist/types/components/gataca-qrws/components/readQR/ReadQR.d.ts +1 -1
- package/dist/types/components/gataca-qrws/components/readQR/components/AnimatedLoader.d.ts +1 -1
- package/dist/types/components/gataca-qrws/components/retryButton/RetryButton.d.ts +1 -1
- package/dist/types/components/gataca-qrws/components/success/Success.d.ts +1 -1
- package/dist/types/components/gataca-qrws/gataca-qrws.d.ts +4 -4
- package/dist/types/components/gataca-ssibutton/gataca-ssibutton.d.ts +38 -5
- package/dist/types/components/gataca-ssibuttonws/gataca-ssibuttonws.d.ts +3 -3
- package/dist/types/components.d.ts +78 -36
- package/dist/types/index.d.ts +2 -2
- package/dist/types/utils/index.d.ts +1 -1
- package/package.json +30 -7
- package/dist/cjs/gat-icon-alert-0ad19b26.js +0 -14
- package/dist/cjs/gataca-qr_2.cjs.entry.js +0 -295
- package/dist/cjs/gataca-ssibutton_2.cjs.entry.js +0 -317
- package/dist/esm/gat-icon-alert-7b06ef3a.js +0 -9
- package/dist/esm/gataca-qr_2.entry.js +0 -290
- package/dist/esm/gataca-ssibutton_2.entry.js +0 -312
- package/dist/gatacaqr/p-0be4566d.js +0 -1
- package/dist/gatacaqr/p-3500ae66.entry.js +0 -1
- package/dist/gatacaqr/p-68272823.entry.js +0 -1
- package/dist/gatacaqr/p-92a2e6f0.entry.js +0 -1
- package/dist/gatacaqr/p-ea783014.js +0 -1
- /package/dist/gatacaqr/{p-2cd7b062.js → p-bce7e590.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { h
|
|
2
|
-
import logoGataca from
|
|
3
|
-
import
|
|
4
|
-
import { base64UrlEncode, checkMobile, RESULT_STATUS
|
|
5
|
-
import { Success } from
|
|
6
|
-
import { RetryButton } from
|
|
7
|
-
import { QR } from
|
|
8
|
-
import { ReadQR } from
|
|
9
|
-
const DEEP_LINK_PREFIX =
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
import logoGataca from '../../assets/images/logo_gataca.svg';
|
|
3
|
+
import '../gataca-qrdisplay/gataca-qrdisplay';
|
|
4
|
+
import { base64UrlEncode, checkMobile, RESULT_STATUS } from '../../utils/utils';
|
|
5
|
+
import { Success } from './components/success/Success';
|
|
6
|
+
import { RetryButton } from './components/retryButton/RetryButton';
|
|
7
|
+
import { QR } from './components/qr/QR';
|
|
8
|
+
import { ReadQR } from './components/readQR/ReadQR';
|
|
9
|
+
const DEEP_LINK_PREFIX = 'https://api.gataca.io/qr/redirect.html';
|
|
10
10
|
const DEFAULT_SESSION_TIMEOUT = 300;
|
|
11
|
-
const QR_ROLE_CONNECT =
|
|
11
|
+
const QR_ROLE_CONNECT = 'connect';
|
|
12
12
|
export class GatacaQRWS {
|
|
13
|
-
constructor() { this.successCallback = undefined; this.errorCallback = undefined; this.qrRole = undefined; this.qrType =
|
|
13
|
+
constructor() { this.successCallback = undefined; this.errorCallback = undefined; this.qrRole = undefined; this.qrType = 'svg'; this.callbackServer = undefined; this.socketEndpoint = undefined; this.sessionTimeout = DEFAULT_SESSION_TIMEOUT; this.wsOnOpen = undefined; this.wsOnMessage = undefined; this.autostart = true; this.autorefresh = false; this.v = '3'; this.qrModalTitle = 'Quick Access'; this.modalTitleColor = '#4745B7'; this.qrModalDescription = 'Sign up or sign in by scanning the QR Code with the Gataca Wallet'; this.hideModalTexts = false; this.hideModalBoxShadow = false; this.hideBrandTitle = false; this.logoSize = 0; this.logoSrc = logoGataca; this.qrSize = 300; this.modalWidth = 300; this.modalHeight = undefined; this.qrCodeExpiredLabel = 'QR Code expired'; this.credentialsNotValidatedLabel = 'User credentials not validated'; this.clickInsideBoxLabel = 'Click inside the box to'; this.refreshQrLabel = 'Refresh QR Code'; this.scanQrLabel = 'Scan QR Code'; this.userNotScanInTimeErrorLabel = 'User did not scan the QR in the allowed time'; this.credsNotValidatedErrorLabel = "Provided user credentials couldn't be validated"; this.failedLoginErrorLabel = 'No successful login'; this.successLoginLabel = 'Successful Connection!'; this.byBrandLabel = 'by Gataca'; this.waitingStartSessionLabel = 'waiting to start a session'; this.readQrTitle = 'Processing...'; this.readQrDescription = 'Please wait a moment'; this.hideQrModalDescription = false; this.dynamicLink = true; this.sessionId = undefined; this.authenticationRequest = undefined; this.sessionData = undefined; this.result = RESULT_STATUS.NOT_STARTED; }
|
|
14
14
|
disconnectedCallback() {
|
|
15
15
|
this.stop();
|
|
16
16
|
}
|
|
@@ -25,7 +25,7 @@ export class GatacaQRWS {
|
|
|
25
25
|
async display() {
|
|
26
26
|
let socket = new WebSocket(this.socketEndpoint);
|
|
27
27
|
setTimeout(() => {
|
|
28
|
-
this.socket.close(1000,
|
|
28
|
+
this.socket.close(1000, '');
|
|
29
29
|
}, 1000 * this.sessionTimeout);
|
|
30
30
|
this.socket = socket;
|
|
31
31
|
socket.onopen = () => {
|
|
@@ -44,11 +44,11 @@ export class GatacaQRWS {
|
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
socket.onerror = () => {
|
|
47
|
-
let error = new Error(
|
|
47
|
+
let error = new Error('Error connecting with server');
|
|
48
48
|
this.result = RESULT_STATUS.FAILED;
|
|
49
49
|
this.gatacaLoginFailed.emit(error);
|
|
50
50
|
this.errorCallback(error);
|
|
51
|
-
socket.close(1000,
|
|
51
|
+
socket.close(1000, '');
|
|
52
52
|
};
|
|
53
53
|
socket.onclose = () => {
|
|
54
54
|
if (this.result === RESULT_STATUS.ONGOING || RESULT_STATUS.READ) {
|
|
@@ -59,7 +59,7 @@ export class GatacaQRWS {
|
|
|
59
59
|
this.display();
|
|
60
60
|
}
|
|
61
61
|
else {
|
|
62
|
-
let error = new Error(
|
|
62
|
+
let error = new Error('User did not scan the QR in the alloted time');
|
|
63
63
|
this.gatacaLoginFailed.emit(error);
|
|
64
64
|
this.errorCallback(error);
|
|
65
65
|
}
|
|
@@ -85,7 +85,7 @@ export class GatacaQRWS {
|
|
|
85
85
|
this.sessionData = wsresp.authenticatedUserData;
|
|
86
86
|
this.gatacaLoginCompleted.emit(wsresp.authenticatedUserData);
|
|
87
87
|
this.successCallback(wsresp.authenticatedUserData);
|
|
88
|
-
this.socket.close(1000,
|
|
88
|
+
this.socket.close(1000, '');
|
|
89
89
|
break;
|
|
90
90
|
case RESULT_STATUS.FAILED:
|
|
91
91
|
this.socket.close();
|
|
@@ -99,7 +99,7 @@ export class GatacaQRWS {
|
|
|
99
99
|
this.display();
|
|
100
100
|
}
|
|
101
101
|
else {
|
|
102
|
-
let error = new Error(
|
|
102
|
+
let error = new Error('User did not scan the QR in the alloted time');
|
|
103
103
|
this.gatacaLoginFailed.emit(error);
|
|
104
104
|
this.errorCallback(error);
|
|
105
105
|
}
|
|
@@ -111,21 +111,19 @@ export class GatacaQRWS {
|
|
|
111
111
|
async stop() {
|
|
112
112
|
this.sessionData = undefined;
|
|
113
113
|
this.sessionId = undefined;
|
|
114
|
-
this.socket.close(1000,
|
|
114
|
+
this.socket.close(1000, 'Client stopped the connection');
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
117
|
* Retrieve manually the session data on a successful login
|
|
118
118
|
*/
|
|
119
119
|
async getSessionData() {
|
|
120
|
-
return this.sessionData
|
|
121
|
-
? Promise.resolve(this.sessionData)
|
|
122
|
-
: Promise.reject(new Error("No successful login"));
|
|
120
|
+
return this.sessionData ? Promise.resolve(this.sessionData) : Promise.reject(new Error('No successful login'));
|
|
123
121
|
}
|
|
124
122
|
getLink() {
|
|
125
|
-
if (this.v ===
|
|
123
|
+
if (this.v === '2' && this.qrRole == QR_ROLE_CONNECT) {
|
|
126
124
|
return this.authenticationRequest;
|
|
127
125
|
}
|
|
128
|
-
const authRequestEncoded =
|
|
126
|
+
const authRequestEncoded = '?dl=' + base64UrlEncode(this.authenticationRequest);
|
|
129
127
|
return DEEP_LINK_PREFIX + authRequestEncoded;
|
|
130
128
|
}
|
|
131
129
|
renderQRSection() {
|
|
@@ -143,40 +141,35 @@ export class GatacaQRWS {
|
|
|
143
141
|
case RESULT_STATUS.READ:
|
|
144
142
|
return this.renderReadQR({
|
|
145
143
|
title: this === null || this === void 0 ? void 0 : this.readQrTitle,
|
|
146
|
-
description: this === null || this === void 0 ? void 0 : this.readQrDescription
|
|
144
|
+
description: this === null || this === void 0 ? void 0 : this.readQrDescription
|
|
147
145
|
});
|
|
148
146
|
}
|
|
149
147
|
}
|
|
150
148
|
renderSuccess() {
|
|
151
|
-
return
|
|
149
|
+
return h(Success, { modalHeight: this === null || this === void 0 ? void 0 : this.modalHeight, successLoginLabel: this === null || this === void 0 ? void 0 : this.successLoginLabel });
|
|
152
150
|
}
|
|
153
151
|
renderRetryButton(errorMessage) {
|
|
154
152
|
return (h(RetryButton, { errorMessage: errorMessage, modalWidth: this === null || this === void 0 ? void 0 : this.modalWidth, clickInsideBoxLabel: this === null || this === void 0 ? void 0 : this.clickInsideBoxLabel, refreshQrLabel: this === null || this === void 0 ? void 0 : this.refreshQrLabel, scanQrLabel: this === null || this === void 0 ? void 0 : this.scanQrLabel, waitingStartSessionLabel: this === null || this === void 0 ? void 0 : this.waitingStartSessionLabel, display: this.display.bind(this), renderRetryQR: this.renderRetryQR.bind(this) }));
|
|
155
153
|
}
|
|
156
154
|
renderReadQR(readQrMessages) {
|
|
157
|
-
return
|
|
155
|
+
return h(ReadQR, { modalWidth: this === null || this === void 0 ? void 0 : this.modalWidth, readQrMessages: readQrMessages, url: this.getLink(), sizeQR: (this === null || this === void 0 ? void 0 : this.qrSize) ? (this === null || this === void 0 ? void 0 : this.qrSize) - 50 : undefined, renderQR: this.renderQR.bind(this) });
|
|
158
156
|
}
|
|
159
157
|
renderQR(value, useLogo, sizeQR) {
|
|
160
|
-
return
|
|
158
|
+
return h(QR, { value: value, qrType: this.qrType, useLogo: useLogo && this.logoSize !== 0, size: sizeQR || (this === null || this === void 0 ? void 0 : this.qrSize) || undefined, logoSrc: this === null || this === void 0 ? void 0 : this.logoSrc });
|
|
161
159
|
}
|
|
162
160
|
renderRetryQR(value, useLogo) {
|
|
163
|
-
return
|
|
161
|
+
return h(QR, { value: value, qrType: this.qrType, useLogo: useLogo && this.logoSize !== 0, size: (this === null || this === void 0 ? void 0 : this.qrSize) ? (this === null || this === void 0 ? void 0 : this.qrSize) - 50 : undefined, logoSrc: this === null || this === void 0 ? void 0 : this.logoSrc });
|
|
164
162
|
}
|
|
165
163
|
render() {
|
|
166
164
|
var _a, _b;
|
|
167
|
-
return (h("div", { class: "popUpContainer" }, h("div", { class: `is-visible modal-window ${this.hideModalTexts ?
|
|
168
|
-
width: (this.modalWidth - 2).toString() +
|
|
169
|
-
height: this.modalHeight
|
|
170
|
-
? ((_a = (this.modalHeight - 2)) === null || _a === void 0 ? void 0 : _a.toString()) + "px"
|
|
171
|
-
: "",
|
|
165
|
+
return (h("div", { class: "popUpContainer" }, h("div", { class: `is-visible modal-window ${this.hideModalTexts ? '' : 'large-modal'} ${this.hideModalBoxShadow ? 'noBoxShadow' : ''}`, style: {
|
|
166
|
+
width: (this.modalWidth - 2).toString() + 'px',
|
|
167
|
+
height: this.modalHeight ? ((_a = (this.modalHeight - 2)) === null || _a === void 0 ? void 0 : _a.toString()) + 'px' : ''
|
|
172
168
|
}, onClick: (event) => {
|
|
173
169
|
event.stopPropagation();
|
|
174
|
-
} }, h("div", { class: "modal-window__content" }, h("div", { class: `qrTitleContainer ${this.hideModalTexts ?
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
height: this.modalWidth
|
|
178
|
-
? ((_b = this.modalWidth) === null || _b === void 0 ? void 0 : _b.toString()) + "px"
|
|
179
|
-
: "",
|
|
170
|
+
} }, h("div", { class: "modal-window__content" }, h("div", { class: `qrTitleContainer ${this.hideModalTexts ? 'hidenText' : ''}` }, h("p", { class: "qrTitle modalText", style: { color: this.modalTitleColor || '#1e1e20' } }, this.qrModalTitle), !this.hideBrandTitle && (h("p", { class: "qrBrand modalText" }, this.byBrandLabel, ' ', h("span", null, h("img", { src: logoGataca })))), this.result !== RESULT_STATUS.SUCCESS && !this.hideQrModalDescription && h("p", { class: "qrDescription modalText" }, this.qrModalDescription)), h("div", { class: "qrSection", style: {
|
|
171
|
+
width: this.modalWidth.toString() + 'px',
|
|
172
|
+
height: this.modalWidth ? ((_b = this.modalWidth) === null || _b === void 0 ? void 0 : _b.toString()) + 'px' : ''
|
|
180
173
|
} }, this.renderQRSection())))));
|
|
181
174
|
}
|
|
182
175
|
static get is() { return "gataca-qrws"; }
|
|
@@ -267,7 +260,7 @@ export class GatacaQRWS {
|
|
|
267
260
|
},
|
|
268
261
|
"attribute": "qr-type",
|
|
269
262
|
"reflect": false,
|
|
270
|
-
"defaultValue": "
|
|
263
|
+
"defaultValue": "'svg'"
|
|
271
264
|
},
|
|
272
265
|
"callbackServer": {
|
|
273
266
|
"type": "string",
|
|
@@ -414,7 +407,7 @@ export class GatacaQRWS {
|
|
|
414
407
|
},
|
|
415
408
|
"attribute": "v",
|
|
416
409
|
"reflect": false,
|
|
417
|
-
"defaultValue": "
|
|
410
|
+
"defaultValue": "'3'"
|
|
418
411
|
},
|
|
419
412
|
"qrModalTitle": {
|
|
420
413
|
"type": "string",
|
|
@@ -432,7 +425,7 @@ export class GatacaQRWS {
|
|
|
432
425
|
},
|
|
433
426
|
"attribute": "qr-modal-title",
|
|
434
427
|
"reflect": false,
|
|
435
|
-
"defaultValue": "
|
|
428
|
+
"defaultValue": "'Quick Access'"
|
|
436
429
|
},
|
|
437
430
|
"modalTitleColor": {
|
|
438
431
|
"type": "string",
|
|
@@ -450,7 +443,7 @@ export class GatacaQRWS {
|
|
|
450
443
|
},
|
|
451
444
|
"attribute": "modal-title-color",
|
|
452
445
|
"reflect": false,
|
|
453
|
-
"defaultValue": "
|
|
446
|
+
"defaultValue": "'#4745B7'"
|
|
454
447
|
},
|
|
455
448
|
"qrModalDescription": {
|
|
456
449
|
"type": "string",
|
|
@@ -468,7 +461,7 @@ export class GatacaQRWS {
|
|
|
468
461
|
},
|
|
469
462
|
"attribute": "qr-modal-description",
|
|
470
463
|
"reflect": false,
|
|
471
|
-
"defaultValue": "
|
|
464
|
+
"defaultValue": "'Sign up or sign in by scanning the QR Code with the Gataca Wallet'"
|
|
472
465
|
},
|
|
473
466
|
"hideModalTexts": {
|
|
474
467
|
"type": "boolean",
|
|
@@ -629,7 +622,7 @@ export class GatacaQRWS {
|
|
|
629
622
|
},
|
|
630
623
|
"attribute": "qr-code-expired-label",
|
|
631
624
|
"reflect": false,
|
|
632
|
-
"defaultValue": "
|
|
625
|
+
"defaultValue": "'QR Code expired'"
|
|
633
626
|
},
|
|
634
627
|
"credentialsNotValidatedLabel": {
|
|
635
628
|
"type": "string",
|
|
@@ -647,7 +640,7 @@ export class GatacaQRWS {
|
|
|
647
640
|
},
|
|
648
641
|
"attribute": "credentials-not-validated-label",
|
|
649
642
|
"reflect": false,
|
|
650
|
-
"defaultValue": "
|
|
643
|
+
"defaultValue": "'User credentials not validated'"
|
|
651
644
|
},
|
|
652
645
|
"clickInsideBoxLabel": {
|
|
653
646
|
"type": "string",
|
|
@@ -665,7 +658,7 @@ export class GatacaQRWS {
|
|
|
665
658
|
},
|
|
666
659
|
"attribute": "click-inside-box-label",
|
|
667
660
|
"reflect": false,
|
|
668
|
-
"defaultValue": "
|
|
661
|
+
"defaultValue": "'Click inside the box to'"
|
|
669
662
|
},
|
|
670
663
|
"refreshQrLabel": {
|
|
671
664
|
"type": "string",
|
|
@@ -683,7 +676,7 @@ export class GatacaQRWS {
|
|
|
683
676
|
},
|
|
684
677
|
"attribute": "refresh-qr-label",
|
|
685
678
|
"reflect": false,
|
|
686
|
-
"defaultValue": "
|
|
679
|
+
"defaultValue": "'Refresh QR Code'"
|
|
687
680
|
},
|
|
688
681
|
"scanQrLabel": {
|
|
689
682
|
"type": "string",
|
|
@@ -701,7 +694,7 @@ export class GatacaQRWS {
|
|
|
701
694
|
},
|
|
702
695
|
"attribute": "scan-qr-label",
|
|
703
696
|
"reflect": false,
|
|
704
|
-
"defaultValue": "
|
|
697
|
+
"defaultValue": "'Scan QR Code'"
|
|
705
698
|
},
|
|
706
699
|
"userNotScanInTimeErrorLabel": {
|
|
707
700
|
"type": "string",
|
|
@@ -719,7 +712,7 @@ export class GatacaQRWS {
|
|
|
719
712
|
},
|
|
720
713
|
"attribute": "user-not-scan-in-time-error-label",
|
|
721
714
|
"reflect": false,
|
|
722
|
-
"defaultValue": "
|
|
715
|
+
"defaultValue": "'User did not scan the QR in the allowed time'"
|
|
723
716
|
},
|
|
724
717
|
"credsNotValidatedErrorLabel": {
|
|
725
718
|
"type": "string",
|
|
@@ -755,7 +748,7 @@ export class GatacaQRWS {
|
|
|
755
748
|
},
|
|
756
749
|
"attribute": "failed-login-error-label",
|
|
757
750
|
"reflect": false,
|
|
758
|
-
"defaultValue": "
|
|
751
|
+
"defaultValue": "'No successful login'"
|
|
759
752
|
},
|
|
760
753
|
"successLoginLabel": {
|
|
761
754
|
"type": "string",
|
|
@@ -773,7 +766,7 @@ export class GatacaQRWS {
|
|
|
773
766
|
},
|
|
774
767
|
"attribute": "success-login-label",
|
|
775
768
|
"reflect": false,
|
|
776
|
-
"defaultValue": "
|
|
769
|
+
"defaultValue": "'Successful Connection!'"
|
|
777
770
|
},
|
|
778
771
|
"byBrandLabel": {
|
|
779
772
|
"type": "string",
|
|
@@ -791,7 +784,7 @@ export class GatacaQRWS {
|
|
|
791
784
|
},
|
|
792
785
|
"attribute": "by-brand-label",
|
|
793
786
|
"reflect": false,
|
|
794
|
-
"defaultValue": "
|
|
787
|
+
"defaultValue": "'by Gataca'"
|
|
795
788
|
},
|
|
796
789
|
"waitingStartSessionLabel": {
|
|
797
790
|
"type": "string",
|
|
@@ -809,7 +802,7 @@ export class GatacaQRWS {
|
|
|
809
802
|
},
|
|
810
803
|
"attribute": "waiting-start-session-label",
|
|
811
804
|
"reflect": false,
|
|
812
|
-
"defaultValue": "
|
|
805
|
+
"defaultValue": "'waiting to start a session'"
|
|
813
806
|
},
|
|
814
807
|
"readQrTitle": {
|
|
815
808
|
"type": "string",
|
|
@@ -827,7 +820,7 @@ export class GatacaQRWS {
|
|
|
827
820
|
},
|
|
828
821
|
"attribute": "read-qr-title",
|
|
829
822
|
"reflect": false,
|
|
830
|
-
"defaultValue": "
|
|
823
|
+
"defaultValue": "'Processing...'"
|
|
831
824
|
},
|
|
832
825
|
"readQrDescription": {
|
|
833
826
|
"type": "string",
|
|
@@ -845,7 +838,7 @@ export class GatacaQRWS {
|
|
|
845
838
|
},
|
|
846
839
|
"attribute": "read-qr-description",
|
|
847
840
|
"reflect": false,
|
|
848
|
-
"defaultValue": "
|
|
841
|
+
"defaultValue": "'Please wait a moment'"
|
|
849
842
|
},
|
|
850
843
|
"hideQrModalDescription": {
|
|
851
844
|
"type": "boolean",
|