@gataca/qr 2.0.2 → 2.0.3
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/cjs/gataca-autoqr_6.cjs.entry.js +638 -0
- package/dist/cjs/gatacaqr.cjs.js +19 -0
- package/dist/cjs/index-4be0cdca.js +1435 -0
- package/dist/cjs/index.cjs.js +16 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/utils-383ee834.js +26 -0
- package/dist/collection/assets/icons/gat-icon-alert.svg +5 -0
- package/dist/collection/assets/icons/gat-icon-check.svg +5 -0
- package/dist/collection/assets/icons/gat-icon-refresh.svg +4 -0
- package/dist/collection/assets/images/logo_gataca.svg +26 -0
- package/dist/collection/collection-manifest.json +17 -0
- package/dist/collection/components/gataca-autoqr/gataca-autoqr.css +116 -0
- package/dist/collection/components/gataca-autoqr/gataca-autoqr.js +323 -0
- package/dist/collection/components/gataca-qr/gataca-qr.css +261 -0
- package/dist/collection/components/gataca-qr/gataca-qr.js +828 -0
- package/dist/collection/components/gataca-qrdisplay/gataca-qrdisplay.js +154 -0
- package/dist/collection/components/gataca-qrws/gataca-qrws.css +251 -0
- package/dist/collection/components/gataca-qrws/gataca-qrws.js +566 -0
- package/dist/collection/components/gataca-ssibutton/gataca-ssibutton.css +116 -0
- package/dist/collection/components/gataca-ssibutton/gataca-ssibutton.js +679 -0
- package/dist/collection/components/gataca-ssibuttonws/gataca-ssibuttonws.css +116 -0
- package/dist/collection/components/gataca-ssibuttonws/gataca-ssibuttonws.js +410 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/utils/index.js +1 -0
- package/dist/collection/utils/utils.js +21 -0
- package/dist/{gatacaqr/gat-icon-refresh-8d3dc25f.js → components/gat-icon-refresh.js} +23 -1
- package/dist/{gatacaqr/gataca-autoqr.entry.js → components/gataca-autoqr.js} +67 -7
- package/dist/components/gataca-qr.js +6 -0
- package/dist/components/gataca-qr2.js +227 -0
- package/dist/components/gataca-qrdisplay.js +6 -0
- package/dist/components/gataca-qrdisplay2.js +93 -0
- package/dist/components/gataca-qrws.js +6 -0
- package/dist/{gatacaqr/gataca-qrws.entry.js → components/gataca-qrws2.js} +50 -10
- package/dist/components/gataca-ssibutton.js +6 -0
- package/dist/{gatacaqr/gataca-ssibutton.entry.js → components/gataca-ssibutton2.js} +83 -9
- package/dist/components/gataca-ssibuttonws.js +6 -0
- package/dist/{gatacaqr/gataca-ssibuttonws.entry.js → components/gataca-ssibuttonws2.js} +53 -7
- package/dist/components/index.js +8 -0
- package/dist/esm/gataca-autoqr_6.entry.js +629 -0
- package/dist/esm/gatacaqr.js +17 -0
- package/dist/esm/index-80311733.js +1409 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/gatacaqr/gatacaqr.esm.js +1 -129
- package/dist/gatacaqr/index.esm.js +1 -1
- package/dist/gatacaqr/p-a5648391.js +2 -0
- package/dist/gatacaqr/p-b37057bb.entry.js +1 -0
- package/dist/gatacaqr/p-b8ba109f.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/gataca-qr/gataca-qr.d.ts +75 -0
- package/dist/types/components/gataca-ssibutton/gataca-ssibutton.d.ts +75 -0
- package/dist/types/components.d.ts +240 -0
- package/package.json +1 -1
- package/dist/gatacaqr/app-globals-0f993ce5.js +0 -3
- package/dist/gatacaqr/css-shim-8eec97b3.js +0 -4
- package/dist/gatacaqr/dom-1b0cf05d.js +0 -73
- package/dist/gatacaqr/gataca-qr.entry.js +0 -171
- package/dist/gatacaqr/gataca-qrdisplay-0320bb25.js +0 -97
- package/dist/gatacaqr/gataca-qrdisplay.entry.js +0 -2
- package/dist/gatacaqr/index-d0db23e4.js +0 -3262
- package/dist/gatacaqr/shadow-css-146f2f6f.js +0 -387
- /package/dist/{gatacaqr → esm}/utils-05ba6c9f.js +0 -0
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './gataca-
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$1 } from './gataca-qrdisplay2.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './gataca-qr2.js';
|
|
3
4
|
|
|
4
5
|
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}";
|
|
5
6
|
|
|
6
7
|
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=";
|
|
7
|
-
const GatacaSSIButton = class {
|
|
8
|
-
constructor(
|
|
9
|
-
|
|
8
|
+
const GatacaSSIButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.__attachShadow();
|
|
10
13
|
this.gatacaLoginCompleted = createEvent(this, "gatacaLoginCompleted", 7);
|
|
11
14
|
this.gatacaLoginFailed = createEvent(this, "gatacaLoginFailed", 7);
|
|
12
15
|
this.buttonText = "Easy login";
|
|
@@ -21,11 +24,26 @@ const GatacaSSIButton = class {
|
|
|
21
24
|
this.autorefresh = false;
|
|
22
25
|
this.v2 = false;
|
|
23
26
|
this.qrModalTitle = "Quick Access";
|
|
27
|
+
this.modalTitleColor = "#4745B7";
|
|
24
28
|
this.qrModalDescription = "Sign up or sign in by scanning the QR Code with the Gataca Wallet";
|
|
25
29
|
this.hideBrandTitle = false;
|
|
26
30
|
this.dynamicLink = true;
|
|
31
|
+
this.logoSize = 0;
|
|
32
|
+
this.logoSrc = undefined;
|
|
33
|
+
this.qrCodeExpiredLabel = "QR Code expired";
|
|
34
|
+
this.credentialsNotValidatedLabel = "User credentials not validated";
|
|
35
|
+
this.clickInsideBoxLabel = "Click inside the box to";
|
|
36
|
+
this.refreshQrLabel = "Refresh QR Code";
|
|
37
|
+
this.scanQrLabel = "Scan QR Code";
|
|
38
|
+
this.userNotScanInTimeErrorLabel = "User did not scan the QR in the allowed time";
|
|
39
|
+
this.credsNotValidatedErrorLabel = "Provided user credentials couldn't be validated";
|
|
40
|
+
this.failedLoginErrorLabel = "No successful login";
|
|
41
|
+
this.successLoginLabel = "Successful Connection!";
|
|
42
|
+
this.byBrandLabel = "by Gataca";
|
|
43
|
+
this.waitingStartSessionLabel = "waiting to start a session";
|
|
44
|
+
this.hideQrModalDescription = false;
|
|
27
45
|
this.open = false;
|
|
28
|
-
this.qr = (h("gataca-qr", { checkStatus: this.checkStatus, createSession: this.createSession, successCallback: this.successCallback, errorCallback: this.errorCallback, qrRole: this.qrRole, callbackServer: this.callbackServer, sessionTimeout: this.sessionTimeout, pollingFrequency: this.pollingFrequency, autostart: true, autorefresh: this.autorefresh, v2: this.v2, qrModalTitle: this.qrModalTitle, qrModalDescription: this.qrModalDescription, hideBrandTitle: this.hideBrandTitle, dynamicLink: this.dynamicLink }));
|
|
46
|
+
this.qr = (h("gataca-qr", { checkStatus: this.checkStatus, createSession: this.createSession, successCallback: this.successCallback, errorCallback: this.errorCallback, qrRole: this.qrRole, callbackServer: this.callbackServer, sessionTimeout: this.sessionTimeout, pollingFrequency: this.pollingFrequency, autostart: true, autorefresh: this.autorefresh, v2: this.v2, 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 }));
|
|
29
47
|
}
|
|
30
48
|
/**
|
|
31
49
|
* Retrieve manually the session data on a successful login
|
|
@@ -50,7 +68,63 @@ const GatacaSSIButton = class {
|
|
|
50
68
|
render() {
|
|
51
69
|
return (h("div", { class: "buttonContainer" }, this.renderButton(), this.open && this.renderModal()));
|
|
52
70
|
}
|
|
53
|
-
}
|
|
54
|
-
|
|
71
|
+
static get style() { return gatacaSsibuttonCss; }
|
|
72
|
+
}, [1, "gataca-ssibutton", {
|
|
73
|
+
"buttonText": [1, "button-text"],
|
|
74
|
+
"checkStatus": [16],
|
|
75
|
+
"createSession": [16],
|
|
76
|
+
"successCallback": [16],
|
|
77
|
+
"errorCallback": [16],
|
|
78
|
+
"qrRole": [1, "qr-role"],
|
|
79
|
+
"callbackServer": [1, "callback-server"],
|
|
80
|
+
"sessionTimeout": [2, "session-timeout"],
|
|
81
|
+
"pollingFrequency": [2, "polling-frequency"],
|
|
82
|
+
"autorefresh": [4],
|
|
83
|
+
"v2": [4, "v-2"],
|
|
84
|
+
"qrModalTitle": [1, "qr-modal-title"],
|
|
85
|
+
"modalTitleColor": [1, "modal-title-color"],
|
|
86
|
+
"qrModalDescription": [1, "qr-modal-description"],
|
|
87
|
+
"hideBrandTitle": [4, "hide-brand-title"],
|
|
88
|
+
"dynamicLink": [4, "dynamic-link"],
|
|
89
|
+
"logoSize": [2, "logo-size"],
|
|
90
|
+
"logoSrc": [1, "logo-src"],
|
|
91
|
+
"qrCodeExpiredLabel": [1, "qr-code-expired-label"],
|
|
92
|
+
"credentialsNotValidatedLabel": [1, "credentials-not-validated-label"],
|
|
93
|
+
"clickInsideBoxLabel": [1, "click-inside-box-label"],
|
|
94
|
+
"refreshQrLabel": [1, "refresh-qr-label"],
|
|
95
|
+
"scanQrLabel": [1, "scan-qr-label"],
|
|
96
|
+
"userNotScanInTimeErrorLabel": [1, "user-not-scan-in-time-error-label"],
|
|
97
|
+
"credsNotValidatedErrorLabel": [1, "creds-not-validated-error-label"],
|
|
98
|
+
"failedLoginErrorLabel": [1, "failed-login-error-label"],
|
|
99
|
+
"successLoginLabel": [1, "success-login-label"],
|
|
100
|
+
"byBrandLabel": [1, "by-brand-label"],
|
|
101
|
+
"waitingStartSessionLabel": [1, "waiting-start-session-label"],
|
|
102
|
+
"hideQrModalDescription": [4, "hide-qr-modal-description"],
|
|
103
|
+
"open": [32],
|
|
104
|
+
"getSessionData": [64]
|
|
105
|
+
}]);
|
|
106
|
+
function defineCustomElement() {
|
|
107
|
+
if (typeof customElements === "undefined") {
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
const components = ["gataca-ssibutton", "gataca-qr", "gataca-qrdisplay"];
|
|
111
|
+
components.forEach(tagName => { switch (tagName) {
|
|
112
|
+
case "gataca-ssibutton":
|
|
113
|
+
if (!customElements.get(tagName)) {
|
|
114
|
+
customElements.define(tagName, GatacaSSIButton);
|
|
115
|
+
}
|
|
116
|
+
break;
|
|
117
|
+
case "gataca-qr":
|
|
118
|
+
if (!customElements.get(tagName)) {
|
|
119
|
+
defineCustomElement$2();
|
|
120
|
+
}
|
|
121
|
+
break;
|
|
122
|
+
case "gataca-qrdisplay":
|
|
123
|
+
if (!customElements.get(tagName)) {
|
|
124
|
+
defineCustomElement$1();
|
|
125
|
+
}
|
|
126
|
+
break;
|
|
127
|
+
} });
|
|
128
|
+
}
|
|
55
129
|
|
|
56
|
-
export { GatacaSSIButton as
|
|
130
|
+
export { GatacaSSIButton as G, defineCustomElement as d };
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$2 } from './gataca-qrdisplay2.js';
|
|
3
|
+
import { d as defineCustomElement$1 } from './gataca-qrws2.js';
|
|
2
4
|
|
|
3
5
|
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}";
|
|
4
6
|
|
|
5
7
|
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=";
|
|
6
|
-
const GatacaSSIButtonWS = class {
|
|
7
|
-
constructor(
|
|
8
|
-
|
|
8
|
+
const GatacaSSIButtonWS = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.__attachShadow();
|
|
9
13
|
this.gatacaLoginCompleted = createEvent(this, "gatacaLoginCompleted", 7);
|
|
10
14
|
this.gatacaLoginFailed = createEvent(this, "gatacaLoginFailed", 7);
|
|
11
15
|
this.buttonText = "Easy login";
|
|
@@ -50,7 +54,49 @@ const GatacaSSIButtonWS = class {
|
|
|
50
54
|
render() {
|
|
51
55
|
return (h("div", { class: "buttonContainer" }, this.renderButton(), this.open && this.renderModal()));
|
|
52
56
|
}
|
|
53
|
-
}
|
|
54
|
-
|
|
57
|
+
static get style() { return gatacaSsibuttonwsCss; }
|
|
58
|
+
}, [1, "gataca-ssibuttonws", {
|
|
59
|
+
"buttonText": [1, "button-text"],
|
|
60
|
+
"successCallback": [16],
|
|
61
|
+
"errorCallback": [16],
|
|
62
|
+
"qrRole": [1, "qr-role"],
|
|
63
|
+
"callbackServer": [1, "callback-server"],
|
|
64
|
+
"socketEndpoint": [1, "socket-endpoint"],
|
|
65
|
+
"sessionTimeout": [2, "session-timeout"],
|
|
66
|
+
"wsOnOpen": [16],
|
|
67
|
+
"wsOnMessage": [16],
|
|
68
|
+
"autostart": [4],
|
|
69
|
+
"autorefresh": [4],
|
|
70
|
+
"v2": [4, "v-2"],
|
|
71
|
+
"qrModalTitle": [1, "qr-modal-title"],
|
|
72
|
+
"qrModalDescription": [1, "qr-modal-description"],
|
|
73
|
+
"hideBrandTitle": [4, "hide-brand-title"],
|
|
74
|
+
"dynamicLink": [4, "dynamic-link"],
|
|
75
|
+
"open": [32],
|
|
76
|
+
"getSessionData": [64]
|
|
77
|
+
}]);
|
|
78
|
+
function defineCustomElement() {
|
|
79
|
+
if (typeof customElements === "undefined") {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
const components = ["gataca-ssibuttonws", "gataca-qrdisplay", "gataca-qrws"];
|
|
83
|
+
components.forEach(tagName => { switch (tagName) {
|
|
84
|
+
case "gataca-ssibuttonws":
|
|
85
|
+
if (!customElements.get(tagName)) {
|
|
86
|
+
customElements.define(tagName, GatacaSSIButtonWS);
|
|
87
|
+
}
|
|
88
|
+
break;
|
|
89
|
+
case "gataca-qrdisplay":
|
|
90
|
+
if (!customElements.get(tagName)) {
|
|
91
|
+
defineCustomElement$2();
|
|
92
|
+
}
|
|
93
|
+
break;
|
|
94
|
+
case "gataca-qrws":
|
|
95
|
+
if (!customElements.get(tagName)) {
|
|
96
|
+
defineCustomElement$1();
|
|
97
|
+
}
|
|
98
|
+
break;
|
|
99
|
+
} });
|
|
100
|
+
}
|
|
55
101
|
|
|
56
|
-
export { GatacaSSIButtonWS as
|
|
102
|
+
export { GatacaSSIButtonWS as G, defineCustomElement as d };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
2
|
+
export { R as RESULT_STATUS, b as base64UrlEncode, c as checkMobile } from './gat-icon-refresh.js';
|
|
3
|
+
export { GatacaAutoqr, defineCustomElement as defineCustomElementGatacaAutoqr } from './gataca-autoqr.js';
|
|
4
|
+
export { GatacaQr, defineCustomElement as defineCustomElementGatacaQr } from './gataca-qr.js';
|
|
5
|
+
export { GatacaQrdisplay, defineCustomElement as defineCustomElementGatacaQrdisplay } from './gataca-qrdisplay.js';
|
|
6
|
+
export { GatacaQrws, defineCustomElement as defineCustomElementGatacaQrws } from './gataca-qrws.js';
|
|
7
|
+
export { GatacaSsibutton, defineCustomElement as defineCustomElementGatacaSsibutton } from './gataca-ssibutton.js';
|
|
8
|
+
export { GatacaSsibuttonws, defineCustomElement as defineCustomElementGatacaSsibuttonws } from './gataca-ssibuttonws.js';
|