@gataca/qr 2.0.0 → 2.0.2
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/gatacaqr/app-globals-0f993ce5.js +3 -0
- package/dist/gatacaqr/css-shim-8eec97b3.js +4 -0
- package/dist/gatacaqr/dom-1b0cf05d.js +73 -0
- package/dist/{components/gat-icon-refresh.js → gatacaqr/gat-icon-refresh-8d3dc25f.js} +1 -23
- package/dist/{esm → gatacaqr}/gataca-autoqr.entry.js +19 -2
- package/dist/{esm → gatacaqr}/gataca-qr.entry.js +4 -4
- package/dist/gatacaqr/gataca-qrdisplay-0320bb25.js +97 -0
- package/dist/gatacaqr/gataca-qrdisplay.entry.js +2 -0
- package/dist/{esm/gataca-qrdisplay_2.entry.js → gatacaqr/gataca-qrws.entry.js} +5 -47
- package/dist/{components/gataca-ssibutton2.js → gatacaqr/gataca-ssibutton.entry.js} +8 -52
- package/dist/{components/gataca-ssibuttonws2.js → gatacaqr/gataca-ssibuttonws.entry.js} +7 -53
- package/dist/gatacaqr/gatacaqr.esm.js +129 -1
- package/dist/gatacaqr/index-d0db23e4.js +3262 -0
- package/dist/gatacaqr/index.esm.js +1 -1
- package/dist/gatacaqr/shadow-css-146f2f6f.js +387 -0
- package/package.json +1 -1
- package/dist/cjs/gat-icon-refresh-751505ff.js +0 -14
- package/dist/cjs/gataca-autoqr.cjs.entry.js +0 -88
- package/dist/cjs/gataca-qr.cjs.entry.js +0 -175
- package/dist/cjs/gataca-qrdisplay_2.cjs.entry.js +0 -219
- package/dist/cjs/gataca-ssibutton_2.cjs.entry.js +0 -114
- package/dist/cjs/gatacaqr.cjs.js +0 -19
- package/dist/cjs/index-0b7a1532.js +0 -1410
- package/dist/cjs/index.cjs.js +0 -16
- package/dist/cjs/loader.cjs.js +0 -21
- package/dist/cjs/qr-code-styling-412bbc7a.js +0 -28
- package/dist/cjs/utils-383ee834.js +0 -26
- package/dist/collection/assets/icons/gat-icon-alert.svg +0 -5
- package/dist/collection/assets/icons/gat-icon-check.svg +0 -5
- package/dist/collection/assets/icons/gat-icon-refresh.svg +0 -4
- package/dist/collection/assets/images/logo_gataca.svg +0 -26
- package/dist/collection/collection-manifest.json +0 -17
- package/dist/collection/components/gataca-autoqr/gataca-autoqr.css +0 -116
- package/dist/collection/components/gataca-autoqr/gataca-autoqr.js +0 -306
- package/dist/collection/components/gataca-qr/gataca-qr.css +0 -249
- package/dist/collection/components/gataca-qr/gataca-qr.js +0 -557
- package/dist/collection/components/gataca-qrdisplay/gataca-qrdisplay.js +0 -154
- package/dist/collection/components/gataca-qrws/gataca-qrws.css +0 -249
- package/dist/collection/components/gataca-qrws/gataca-qrws.js +0 -566
- package/dist/collection/components/gataca-ssibutton/gataca-ssibutton.css +0 -116
- package/dist/collection/components/gataca-ssibutton/gataca-ssibutton.js +0 -395
- package/dist/collection/components/gataca-ssibuttonws/gataca-ssibuttonws.css +0 -116
- package/dist/collection/components/gataca-ssibuttonws/gataca-ssibuttonws.js +0 -410
- package/dist/collection/index.js +0 -2
- package/dist/collection/utils/index.js +0 -1
- package/dist/collection/utils/utils.js +0 -21
- package/dist/components/gataca-autoqr.js +0 -144
- package/dist/components/gataca-qr.js +0 -6
- package/dist/components/gataca-qr2.js +0 -211
- package/dist/components/gataca-qrdisplay.js +0 -6
- package/dist/components/gataca-qrdisplay2.js +0 -93
- package/dist/components/gataca-qrws.js +0 -6
- package/dist/components/gataca-qrws2.js +0 -212
- package/dist/components/gataca-ssibutton.js +0 -6
- package/dist/components/gataca-ssibuttonws.js +0 -6
- package/dist/components/index.js +0 -8
- package/dist/esm/gat-icon-refresh-179ea123.js +0 -9
- package/dist/esm/gataca-ssibutton_2.entry.js +0 -109
- package/dist/esm/gatacaqr.js +0 -17
- package/dist/esm/index-19eef502.js +0 -1384
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -17
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/qr-code-styling-0eeb38d5.js +0 -26
- package/dist/gatacaqr/p-0905677f.entry.js +0 -1
- package/dist/gatacaqr/p-0be4566d.js +0 -1
- package/dist/gatacaqr/p-1d35273f.entry.js +0 -1
- package/dist/gatacaqr/p-2f22c7fc.js +0 -1
- package/dist/gatacaqr/p-4139a068.entry.js +0 -1
- package/dist/gatacaqr/p-a6f85341.js +0 -2
- package/dist/gatacaqr/p-b8ba109f.js +0 -1
- package/dist/gatacaqr/p-f85d7e76.entry.js +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- /package/dist/{esm → gatacaqr}/utils-05ba6c9f.js +0 -0
|
@@ -1,395 +0,0 @@
|
|
|
1
|
-
import { h, } from "@stencil/core";
|
|
2
|
-
import "../gataca-qrdisplay/gataca-qrdisplay";
|
|
3
|
-
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=";
|
|
4
|
-
export class GatacaSSIButton {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.buttonText = "Easy login";
|
|
7
|
-
this.checkStatus = undefined;
|
|
8
|
-
this.createSession = undefined;
|
|
9
|
-
this.successCallback = undefined;
|
|
10
|
-
this.errorCallback = undefined;
|
|
11
|
-
this.qrRole = undefined;
|
|
12
|
-
this.callbackServer = undefined;
|
|
13
|
-
this.sessionTimeout = undefined;
|
|
14
|
-
this.pollingFrequency = undefined;
|
|
15
|
-
this.autorefresh = false;
|
|
16
|
-
this.v2 = false;
|
|
17
|
-
this.qrModalTitle = "Quick Access";
|
|
18
|
-
this.qrModalDescription = "Sign up or sign in by scanning the QR Code with the Gataca Wallet";
|
|
19
|
-
this.hideBrandTitle = false;
|
|
20
|
-
this.dynamicLink = true;
|
|
21
|
-
this.open = false;
|
|
22
|
-
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 }));
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Retrieve manually the session data on a successful login
|
|
26
|
-
*/
|
|
27
|
-
async getSessionData() {
|
|
28
|
-
return this.qr.getSessionData();
|
|
29
|
-
}
|
|
30
|
-
renderModal() {
|
|
31
|
-
return this.qr;
|
|
32
|
-
}
|
|
33
|
-
renderButton() {
|
|
34
|
-
return (h("div", { class: "gatacaButtonWrapper" }, h("button", { class: "gatacaButton", onClick: () => {
|
|
35
|
-
this.open = !this.open;
|
|
36
|
-
if (this.open) {
|
|
37
|
-
this.qr.display();
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
this.qr.stop();
|
|
41
|
-
}
|
|
42
|
-
} }, h("img", { src: PHONE_ICON, class: "buttonImg", alt: this.buttonText }), h("span", null, this.buttonText))));
|
|
43
|
-
}
|
|
44
|
-
render() {
|
|
45
|
-
return (h("div", { class: "buttonContainer" }, this.renderButton(), this.open && this.renderModal()));
|
|
46
|
-
}
|
|
47
|
-
static get is() { return "gataca-ssibutton"; }
|
|
48
|
-
static get encapsulation() { return "shadow"; }
|
|
49
|
-
static get originalStyleUrls() {
|
|
50
|
-
return {
|
|
51
|
-
"$": ["gataca-ssibutton.scss"]
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
static get styleUrls() {
|
|
55
|
-
return {
|
|
56
|
-
"$": ["gataca-ssibutton.css"]
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
static get properties() {
|
|
60
|
-
return {
|
|
61
|
-
"buttonText": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"mutable": false,
|
|
64
|
-
"complexType": {
|
|
65
|
-
"original": "string",
|
|
66
|
-
"resolved": "string",
|
|
67
|
-
"references": {}
|
|
68
|
-
},
|
|
69
|
-
"required": false,
|
|
70
|
-
"optional": true,
|
|
71
|
-
"docs": {
|
|
72
|
-
"tags": [],
|
|
73
|
-
"text": "_[Optional]_\nIn the case of being a button, modifies its text"
|
|
74
|
-
},
|
|
75
|
-
"attribute": "button-text",
|
|
76
|
-
"reflect": false,
|
|
77
|
-
"defaultValue": "\"Easy login\""
|
|
78
|
-
},
|
|
79
|
-
"checkStatus": {
|
|
80
|
-
"type": "unknown",
|
|
81
|
-
"mutable": false,
|
|
82
|
-
"complexType": {
|
|
83
|
-
"original": "(\n id?: string\n ) => Promise<{ result: RESULT_STATUS; data?: any }>",
|
|
84
|
-
"resolved": "(id?: string) => Promise<{ result: RESULT_STATUS; data?: any; }>",
|
|
85
|
-
"references": {
|
|
86
|
-
"Promise": {
|
|
87
|
-
"location": "global"
|
|
88
|
-
},
|
|
89
|
-
"RESULT_STATUS": {
|
|
90
|
-
"location": "import",
|
|
91
|
-
"path": "../../utils/utils"
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"required": false,
|
|
96
|
-
"optional": true,
|
|
97
|
-
"docs": {
|
|
98
|
-
"tags": [],
|
|
99
|
-
"text": "***Mandatory***\nCheck status function to query the current status of the session\nThe function must query a client endpoint to check the status. That endpoint must return an error if the session has expired."
|
|
100
|
-
},
|
|
101
|
-
"defaultValue": "undefined"
|
|
102
|
-
},
|
|
103
|
-
"createSession": {
|
|
104
|
-
"type": "unknown",
|
|
105
|
-
"mutable": false,
|
|
106
|
-
"complexType": {
|
|
107
|
-
"original": "() => Promise<{\n sessionId: string;\n authenticationRequest?: string;\n }>",
|
|
108
|
-
"resolved": "() => Promise<{ sessionId: string; authenticationRequest?: string; }>",
|
|
109
|
-
"references": {
|
|
110
|
-
"Promise": {
|
|
111
|
-
"location": "global"
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"required": false,
|
|
116
|
-
"optional": true,
|
|
117
|
-
"docs": {
|
|
118
|
-
"tags": [],
|
|
119
|
-
"text": "***Mandatory***\nCreate session function to generate a new Session\nUsing V1, it can provide just a session Id\nUsing V2, it must provide also the authentication request. The session Id is the id of the presentation definition"
|
|
120
|
-
},
|
|
121
|
-
"defaultValue": "undefined"
|
|
122
|
-
},
|
|
123
|
-
"successCallback": {
|
|
124
|
-
"type": "unknown",
|
|
125
|
-
"mutable": false,
|
|
126
|
-
"complexType": {
|
|
127
|
-
"original": "(data?: any) => void",
|
|
128
|
-
"resolved": "(data?: any) => void",
|
|
129
|
-
"references": {}
|
|
130
|
-
},
|
|
131
|
-
"required": false,
|
|
132
|
-
"optional": false,
|
|
133
|
-
"docs": {
|
|
134
|
-
"tags": [],
|
|
135
|
-
"text": "***Mandatory***\nCallback fired upon session correctly verified\nIf not set, session validation wouldn't trigger any action\nThe session data and a possible token will be sent as parameters to the callback"
|
|
136
|
-
},
|
|
137
|
-
"defaultValue": "undefined"
|
|
138
|
-
},
|
|
139
|
-
"errorCallback": {
|
|
140
|
-
"type": "unknown",
|
|
141
|
-
"mutable": false,
|
|
142
|
-
"complexType": {
|
|
143
|
-
"original": "(error?: Error) => void",
|
|
144
|
-
"resolved": "(error?: Error) => void",
|
|
145
|
-
"references": {
|
|
146
|
-
"Error": {
|
|
147
|
-
"location": "global"
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
"required": false,
|
|
152
|
-
"optional": false,
|
|
153
|
-
"docs": {
|
|
154
|
-
"tags": [],
|
|
155
|
-
"text": "***Mandatory***\nCallback fired upon session expired or invalid\nIf not set, session error would not be handled\nAn error containing information will be passed as parameter"
|
|
156
|
-
},
|
|
157
|
-
"defaultValue": "undefined"
|
|
158
|
-
},
|
|
159
|
-
"qrRole": {
|
|
160
|
-
"type": "string",
|
|
161
|
-
"mutable": false,
|
|
162
|
-
"complexType": {
|
|
163
|
-
"original": "string",
|
|
164
|
-
"resolved": "string",
|
|
165
|
-
"references": {}
|
|
166
|
-
},
|
|
167
|
-
"required": false,
|
|
168
|
-
"optional": false,
|
|
169
|
-
"docs": {
|
|
170
|
-
"tags": [],
|
|
171
|
-
"text": "***Mandatory***\nDecide if scanning the credential as a verifier to request credentials\nor as an issuer too issue credentials.\nOptions: connect | certify"
|
|
172
|
-
},
|
|
173
|
-
"attribute": "qr-role",
|
|
174
|
-
"reflect": false
|
|
175
|
-
},
|
|
176
|
-
"callbackServer": {
|
|
177
|
-
"type": "string",
|
|
178
|
-
"mutable": false,
|
|
179
|
-
"complexType": {
|
|
180
|
-
"original": "string",
|
|
181
|
-
"resolved": "string",
|
|
182
|
-
"references": {}
|
|
183
|
-
},
|
|
184
|
-
"required": false,
|
|
185
|
-
"optional": false,
|
|
186
|
-
"docs": {
|
|
187
|
-
"tags": [],
|
|
188
|
-
"text": "***Mandatory just for V1***\nConnect/Certify Server where the wallet will send the data"
|
|
189
|
-
},
|
|
190
|
-
"attribute": "callback-server",
|
|
191
|
-
"reflect": false
|
|
192
|
-
},
|
|
193
|
-
"sessionTimeout": {
|
|
194
|
-
"type": "number",
|
|
195
|
-
"mutable": false,
|
|
196
|
-
"complexType": {
|
|
197
|
-
"original": "number",
|
|
198
|
-
"resolved": "number",
|
|
199
|
-
"references": {}
|
|
200
|
-
},
|
|
201
|
-
"required": false,
|
|
202
|
-
"optional": true,
|
|
203
|
-
"docs": {
|
|
204
|
-
"tags": [],
|
|
205
|
-
"text": "_[Optional]_\nMaximum time window to display the session"
|
|
206
|
-
},
|
|
207
|
-
"attribute": "session-timeout",
|
|
208
|
-
"reflect": false
|
|
209
|
-
},
|
|
210
|
-
"pollingFrequency": {
|
|
211
|
-
"type": "number",
|
|
212
|
-
"mutable": false,
|
|
213
|
-
"complexType": {
|
|
214
|
-
"original": "number",
|
|
215
|
-
"resolved": "number",
|
|
216
|
-
"references": {}
|
|
217
|
-
},
|
|
218
|
-
"required": false,
|
|
219
|
-
"optional": true,
|
|
220
|
-
"docs": {
|
|
221
|
-
"tags": [],
|
|
222
|
-
"text": "_[Optional]_\nFrequency in seconds to check if the session has been validated"
|
|
223
|
-
},
|
|
224
|
-
"attribute": "polling-frequency",
|
|
225
|
-
"reflect": false
|
|
226
|
-
},
|
|
227
|
-
"autorefresh": {
|
|
228
|
-
"type": "boolean",
|
|
229
|
-
"mutable": false,
|
|
230
|
-
"complexType": {
|
|
231
|
-
"original": "boolean",
|
|
232
|
-
"resolved": "boolean",
|
|
233
|
-
"references": {}
|
|
234
|
-
},
|
|
235
|
-
"required": false,
|
|
236
|
-
"optional": false,
|
|
237
|
-
"docs": {
|
|
238
|
-
"tags": [],
|
|
239
|
-
"text": "_[Optional]_\nSet to refresh the session automatically upon expiration. By default it is false"
|
|
240
|
-
},
|
|
241
|
-
"attribute": "autorefresh",
|
|
242
|
-
"reflect": false,
|
|
243
|
-
"defaultValue": "false"
|
|
244
|
-
},
|
|
245
|
-
"v2": {
|
|
246
|
-
"type": "boolean",
|
|
247
|
-
"mutable": false,
|
|
248
|
-
"complexType": {
|
|
249
|
-
"original": "boolean",
|
|
250
|
-
"resolved": "boolean",
|
|
251
|
-
"references": {}
|
|
252
|
-
},
|
|
253
|
-
"required": false,
|
|
254
|
-
"optional": true,
|
|
255
|
-
"docs": {
|
|
256
|
-
"tags": [],
|
|
257
|
-
"text": "_[Optional]_\nSet to use v2 links. The create session must be providing both an authentication request and a session Id"
|
|
258
|
-
},
|
|
259
|
-
"attribute": "v-2",
|
|
260
|
-
"reflect": false,
|
|
261
|
-
"defaultValue": "false"
|
|
262
|
-
},
|
|
263
|
-
"qrModalTitle": {
|
|
264
|
-
"type": "string",
|
|
265
|
-
"mutable": false,
|
|
266
|
-
"complexType": {
|
|
267
|
-
"original": "string",
|
|
268
|
-
"resolved": "string",
|
|
269
|
-
"references": {}
|
|
270
|
-
},
|
|
271
|
-
"required": false,
|
|
272
|
-
"optional": true,
|
|
273
|
-
"docs": {
|
|
274
|
-
"tags": [],
|
|
275
|
-
"text": "_[Optional]_\nModifies the qr headline title"
|
|
276
|
-
},
|
|
277
|
-
"attribute": "qr-modal-title",
|
|
278
|
-
"reflect": false,
|
|
279
|
-
"defaultValue": "\"Quick Access\""
|
|
280
|
-
},
|
|
281
|
-
"qrModalDescription": {
|
|
282
|
-
"type": "string",
|
|
283
|
-
"mutable": false,
|
|
284
|
-
"complexType": {
|
|
285
|
-
"original": "string",
|
|
286
|
-
"resolved": "string",
|
|
287
|
-
"references": {}
|
|
288
|
-
},
|
|
289
|
-
"required": false,
|
|
290
|
-
"optional": true,
|
|
291
|
-
"docs": {
|
|
292
|
-
"tags": [],
|
|
293
|
-
"text": "_[Optional]_\nModifies the Modal description"
|
|
294
|
-
},
|
|
295
|
-
"attribute": "qr-modal-description",
|
|
296
|
-
"reflect": false,
|
|
297
|
-
"defaultValue": "\"Sign up or sign in by scanning the QR Code with the Gataca Wallet\""
|
|
298
|
-
},
|
|
299
|
-
"hideBrandTitle": {
|
|
300
|
-
"type": "boolean",
|
|
301
|
-
"mutable": false,
|
|
302
|
-
"complexType": {
|
|
303
|
-
"original": "boolean",
|
|
304
|
-
"resolved": "boolean",
|
|
305
|
-
"references": {}
|
|
306
|
-
},
|
|
307
|
-
"required": false,
|
|
308
|
-
"optional": true,
|
|
309
|
-
"docs": {
|
|
310
|
-
"tags": [],
|
|
311
|
-
"text": "_[Optional]_\nBoolean to show or not show the gataca brand title"
|
|
312
|
-
},
|
|
313
|
-
"attribute": "hide-brand-title",
|
|
314
|
-
"reflect": false,
|
|
315
|
-
"defaultValue": "false"
|
|
316
|
-
},
|
|
317
|
-
"dynamicLink": {
|
|
318
|
-
"type": "boolean",
|
|
319
|
-
"mutable": false,
|
|
320
|
-
"complexType": {
|
|
321
|
-
"original": "boolean",
|
|
322
|
-
"resolved": "boolean",
|
|
323
|
-
"references": {}
|
|
324
|
-
},
|
|
325
|
-
"required": false,
|
|
326
|
-
"optional": true,
|
|
327
|
-
"docs": {
|
|
328
|
-
"tags": [],
|
|
329
|
-
"text": "_[Optional]_\nDisplay a link containing a dynamic link to invoke the wallet if closed"
|
|
330
|
-
},
|
|
331
|
-
"attribute": "dynamic-link",
|
|
332
|
-
"reflect": false,
|
|
333
|
-
"defaultValue": "true"
|
|
334
|
-
}
|
|
335
|
-
};
|
|
336
|
-
}
|
|
337
|
-
static get states() {
|
|
338
|
-
return {
|
|
339
|
-
"open": {}
|
|
340
|
-
};
|
|
341
|
-
}
|
|
342
|
-
static get events() {
|
|
343
|
-
return [{
|
|
344
|
-
"method": "gatacaLoginCompleted",
|
|
345
|
-
"name": "gatacaLoginCompleted",
|
|
346
|
-
"bubbles": true,
|
|
347
|
-
"cancelable": true,
|
|
348
|
-
"composed": true,
|
|
349
|
-
"docs": {
|
|
350
|
-
"tags": [],
|
|
351
|
-
"text": "GatacaLoginCompleted event, triggered with session data upon login success"
|
|
352
|
-
},
|
|
353
|
-
"complexType": {
|
|
354
|
-
"original": "any",
|
|
355
|
-
"resolved": "any",
|
|
356
|
-
"references": {}
|
|
357
|
-
}
|
|
358
|
-
}, {
|
|
359
|
-
"method": "gatacaLoginFailed",
|
|
360
|
-
"name": "gatacaLoginFailed",
|
|
361
|
-
"bubbles": true,
|
|
362
|
-
"cancelable": true,
|
|
363
|
-
"composed": true,
|
|
364
|
-
"docs": {
|
|
365
|
-
"tags": [],
|
|
366
|
-
"text": "GatacaLoginFailed event, triggered with error upon login failure"
|
|
367
|
-
},
|
|
368
|
-
"complexType": {
|
|
369
|
-
"original": "any",
|
|
370
|
-
"resolved": "any",
|
|
371
|
-
"references": {}
|
|
372
|
-
}
|
|
373
|
-
}];
|
|
374
|
-
}
|
|
375
|
-
static get methods() {
|
|
376
|
-
return {
|
|
377
|
-
"getSessionData": {
|
|
378
|
-
"complexType": {
|
|
379
|
-
"signature": "() => Promise<any>",
|
|
380
|
-
"parameters": [],
|
|
381
|
-
"references": {
|
|
382
|
-
"Promise": {
|
|
383
|
-
"location": "global"
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
"return": "Promise<any>"
|
|
387
|
-
},
|
|
388
|
-
"docs": {
|
|
389
|
-
"text": "Retrieve manually the session data on a successful login",
|
|
390
|
-
"tags": []
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
};
|
|
394
|
-
}
|
|
395
|
-
}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
/* http://meyerweb.com/eric/tools/css/reset/
|
|
2
|
-
v2.0 | 20110126
|
|
3
|
-
License: none (public domain)
|
|
4
|
-
*/
|
|
5
|
-
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400&display=swap");
|
|
6
|
-
html, body, div, span, applet, object, iframe,
|
|
7
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
|
8
|
-
a, abbr, acronym, address, big, cite, code,
|
|
9
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
|
10
|
-
small, strike, strong, sub, sup, tt, var,
|
|
11
|
-
b, u, i, center,
|
|
12
|
-
dl, dt, dd, ol, ul, li,
|
|
13
|
-
fieldset, form, label, legend,
|
|
14
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
15
|
-
article, aside, canvas, details, embed,
|
|
16
|
-
figure, figcaption, footer, header, hgroup,
|
|
17
|
-
menu, nav, output, ruby, section, summary,
|
|
18
|
-
time, mark, audio, video {
|
|
19
|
-
margin: 0;
|
|
20
|
-
padding: 0;
|
|
21
|
-
border: 0;
|
|
22
|
-
font-size: 100%;
|
|
23
|
-
font: inherit;
|
|
24
|
-
vertical-align: baseline;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* HTML5 display-role reset for older browsers */
|
|
28
|
-
article, aside, details, figcaption, figure,
|
|
29
|
-
footer, header, hgroup, menu, nav, section {
|
|
30
|
-
display: block;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
body {
|
|
34
|
-
line-height: 1;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
ol, ul {
|
|
38
|
-
list-style: none;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
blockquote, q {
|
|
42
|
-
quotes: none;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
blockquote:before, blockquote:after,
|
|
46
|
-
q:before, q:after {
|
|
47
|
-
content: "";
|
|
48
|
-
content: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
table {
|
|
52
|
-
border-collapse: collapse;
|
|
53
|
-
border-spacing: 0;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/*
|
|
57
|
-
QR COMPONENT
|
|
58
|
-
*/
|
|
59
|
-
.img-fluid {
|
|
60
|
-
height: auto;
|
|
61
|
-
max-width: 50%;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
img {
|
|
65
|
-
margin-left: auto;
|
|
66
|
-
margin-right: auto;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.buttonContainer {
|
|
70
|
-
display: inline-block;
|
|
71
|
-
text-align: right;
|
|
72
|
-
padding: 10px;
|
|
73
|
-
position: relative;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.gatacaButtonWrapper {
|
|
77
|
-
margin: 8px;
|
|
78
|
-
}
|
|
79
|
-
.gatacaButtonWrapper .gatacaButton {
|
|
80
|
-
display: flex;
|
|
81
|
-
min-width: 100px;
|
|
82
|
-
padding: 8px 8px;
|
|
83
|
-
background-color: white;
|
|
84
|
-
font-size: 12px;
|
|
85
|
-
font-family: "Work Sans", sans-serif;
|
|
86
|
-
letter-spacing: 1px;
|
|
87
|
-
font-weight: 2;
|
|
88
|
-
justify-content: space-between;
|
|
89
|
-
align-items: center;
|
|
90
|
-
border-radius: 6px;
|
|
91
|
-
border: 1px solid rgba(24, 27, 94, 0.5);
|
|
92
|
-
color: rgba(24, 27, 94, 0.8);
|
|
93
|
-
box-shadow: 0px 1px 3px rgba(48, 48, 48, 0.15);
|
|
94
|
-
cursor: pointer;
|
|
95
|
-
}
|
|
96
|
-
.gatacaButtonWrapper .gatacaButton > span {
|
|
97
|
-
margin-right: 10px;
|
|
98
|
-
}
|
|
99
|
-
.gatacaButtonWrapper .gatacaButton:hover {
|
|
100
|
-
box-shadow: 0px 2px 8px rgba(48, 48, 48, 0.1);
|
|
101
|
-
}
|
|
102
|
-
.gatacaButtonWrapper .buttonText {
|
|
103
|
-
text-align: right;
|
|
104
|
-
font-size: 8px;
|
|
105
|
-
color: rgba(24, 27, 94, 0.5);
|
|
106
|
-
font-family: "Helvetica Neue", sans-serif;
|
|
107
|
-
letter-spacing: 1px;
|
|
108
|
-
padding-right: 8px;
|
|
109
|
-
font-weight: 1;
|
|
110
|
-
}
|
|
111
|
-
.gatacaButtonWrapper .buttonImg {
|
|
112
|
-
height: 25px;
|
|
113
|
-
width: 25px;
|
|
114
|
-
margin: 0;
|
|
115
|
-
margin-right: 20px;
|
|
116
|
-
}
|