@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,306 +0,0 @@
|
|
|
1
|
-
import { h, } from "@stencil/core";
|
|
2
|
-
const DEFAULT_REPOSITORY = "https://studio.gataca.io/api/v1/qrs";
|
|
3
|
-
export class GatacaAutoQR {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.configId = undefined;
|
|
6
|
-
this.configRepository = DEFAULT_REPOSITORY;
|
|
7
|
-
this.successCallback = undefined;
|
|
8
|
-
this.errorCallback = undefined;
|
|
9
|
-
this.checkStatus = undefined;
|
|
10
|
-
this.createSession = undefined;
|
|
11
|
-
this.wsOnOpen = undefined;
|
|
12
|
-
this.wsOnMessage = undefined;
|
|
13
|
-
this.config = undefined;
|
|
14
|
-
this.loading = undefined;
|
|
15
|
-
this.loading = true;
|
|
16
|
-
fetch(this.configRepository + "/" + this.configId, {
|
|
17
|
-
method: "GET",
|
|
18
|
-
headers: {
|
|
19
|
-
"Content-Type": "application/json",
|
|
20
|
-
},
|
|
21
|
-
})
|
|
22
|
-
.then((response) => {
|
|
23
|
-
response
|
|
24
|
-
.json()
|
|
25
|
-
.then((data) => {
|
|
26
|
-
this.config = data;
|
|
27
|
-
this.loading = false;
|
|
28
|
-
})
|
|
29
|
-
.catch((err) => {
|
|
30
|
-
console.log("Cannot retrieve selected config", err);
|
|
31
|
-
this.loading = false;
|
|
32
|
-
});
|
|
33
|
-
})
|
|
34
|
-
.catch((err) => {
|
|
35
|
-
console.log("Cannot retrieve selected config", err);
|
|
36
|
-
this.loading = false;
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Retrieve manually the session data on a successful login
|
|
41
|
-
*/
|
|
42
|
-
async getSessionData() {
|
|
43
|
-
return this.qr.getSessionData();
|
|
44
|
-
}
|
|
45
|
-
selectQR() {
|
|
46
|
-
if (this.config.useButton) {
|
|
47
|
-
if (this.config.useWs) {
|
|
48
|
-
this.qr = (h("gataca-ssibuttonws", { buttonText: this.config.buttonText, wsOnMessage: this.wsOnMessage || this.config.wsOnMessage, wsOnOpen: this.wsOnOpen || this.config.wsOnOpen, successCallback: this.successCallback || this.config.successCallback, errorCallback: this.errorCallback || this.config.errorCallback, qrRole: this.config.qrRole, callbackServer: this.config.callbackServer, sessionTimeout: this.config.sessionTimeout, socketEndpoint: this.config.socketEndpoint, autostart: true, autorefresh: this.config.autorefresh, v2: this.config.v2, qrModalTitle: this.config.qrModalTitle, qrModalDescription: this.config.qrModalDescription, hideBrandTitle: this.config.hideBrandTitle, dynamicLink: this.config.dynamicLink }));
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
this.qr = (h("gataca-ssibutton", { buttonText: this.config.buttonText, checkStatus: this.checkStatus || this.config.checkStatus, createSession: this.createSession || this.config.createSession, successCallback: this.successCallback || this.config.successCallback, errorCallback: this.errorCallback || this.config.errorCallback, qrRole: this.config.qrRole, callbackServer: this.config.callbackServer, sessionTimeout: this.config.sessionTimeout, pollingFrequency: this.config.pollingFrequency, autorefresh: this.config.autorefresh, v2: this.config.v2, qrModalTitle: this.config.qrModalTitle, qrModalDescription: this.config.qrModalDescription, hideBrandTitle: this.config.hideBrandTitle, dynamicLink: this.config.dynamicLink }));
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
if (this.config.useWs) {
|
|
56
|
-
this.qr = (h("gataca-qrws", { wsOnMessage: this.wsOnMessage || this.config.wsOnMessage, wsOnOpen: this.wsOnOpen || this.config.wsOnOpen, successCallback: this.successCallback || this.config.successCallback, errorCallback: this.errorCallback || this.config.errorCallback, qrRole: this.config.qrRole, callbackServer: this.config.callbackServer, sessionTimeout: this.config.sessionTimeout, socketEndpoint: this.config.socketEndpoint, autostart: this.config.autostart, autorefresh: this.config.autorefresh, v2: this.config.v2, qrModalTitle: this.config.qrModalTitle, qrModalDescription: this.config.qrModalDescription, hideBrandTitle: this.config.hideBrandTitle, dynamicLink: this.config.dynamicLink }));
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
this.qr = (h("gataca-qr", { checkStatus: this.checkStatus || this.config.checkStatus, createSession: this.createSession || this.config.createSession, successCallback: this.successCallback || this.config.successCallback, errorCallback: this.errorCallback || this.config.errorCallback, qrRole: this.config.qrRole, callbackServer: this.config.callbackServer, sessionTimeout: this.config.sessionTimeout, pollingFrequency: this.config.pollingFrequency, autostart: this.config.autostart, autorefresh: this.config.autorefresh, v2: this.config.v2, qrModalTitle: this.config.qrModalTitle, qrModalDescription: this.config.qrModalDescription, hideBrandTitle: this.config.hideBrandTitle, dynamicLink: this.config.dynamicLink }));
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
render() {
|
|
64
|
-
if (this.loading) {
|
|
65
|
-
//TODO: Improve loading message
|
|
66
|
-
return h("div", null, "Loading...");
|
|
67
|
-
}
|
|
68
|
-
if (this.config) {
|
|
69
|
-
this.selectQR();
|
|
70
|
-
return this.qr;
|
|
71
|
-
}
|
|
72
|
-
//TODO: Improve error message
|
|
73
|
-
return h("div", null, "Error loading your config...");
|
|
74
|
-
}
|
|
75
|
-
static get is() { return "gataca-autoqr"; }
|
|
76
|
-
static get encapsulation() { return "shadow"; }
|
|
77
|
-
static get originalStyleUrls() {
|
|
78
|
-
return {
|
|
79
|
-
"$": ["gataca-autoqr.scss"]
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
static get styleUrls() {
|
|
83
|
-
return {
|
|
84
|
-
"$": ["gataca-autoqr.css"]
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
static get properties() {
|
|
88
|
-
return {
|
|
89
|
-
"configId": {
|
|
90
|
-
"type": "string",
|
|
91
|
-
"mutable": false,
|
|
92
|
-
"complexType": {
|
|
93
|
-
"original": "string",
|
|
94
|
-
"resolved": "string",
|
|
95
|
-
"references": {}
|
|
96
|
-
},
|
|
97
|
-
"required": false,
|
|
98
|
-
"optional": false,
|
|
99
|
-
"docs": {
|
|
100
|
-
"tags": [],
|
|
101
|
-
"text": "***Mandatory***\nID of the QR configuration to display"
|
|
102
|
-
},
|
|
103
|
-
"attribute": "config-id",
|
|
104
|
-
"reflect": false
|
|
105
|
-
},
|
|
106
|
-
"configRepository": {
|
|
107
|
-
"type": "string",
|
|
108
|
-
"mutable": false,
|
|
109
|
-
"complexType": {
|
|
110
|
-
"original": "string",
|
|
111
|
-
"resolved": "string",
|
|
112
|
-
"references": {}
|
|
113
|
-
},
|
|
114
|
-
"required": false,
|
|
115
|
-
"optional": false,
|
|
116
|
-
"docs": {
|
|
117
|
-
"tags": [],
|
|
118
|
-
"text": "___Optional___\nConfigURL Repository to download the config from"
|
|
119
|
-
},
|
|
120
|
-
"attribute": "config-repository",
|
|
121
|
-
"reflect": false,
|
|
122
|
-
"defaultValue": "DEFAULT_REPOSITORY"
|
|
123
|
-
},
|
|
124
|
-
"successCallback": {
|
|
125
|
-
"type": "unknown",
|
|
126
|
-
"mutable": false,
|
|
127
|
-
"complexType": {
|
|
128
|
-
"original": "(data?: any) => void",
|
|
129
|
-
"resolved": "(data?: any) => void",
|
|
130
|
-
"references": {}
|
|
131
|
-
},
|
|
132
|
-
"required": false,
|
|
133
|
-
"optional": false,
|
|
134
|
-
"docs": {
|
|
135
|
-
"tags": [],
|
|
136
|
-
"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"
|
|
137
|
-
},
|
|
138
|
-
"defaultValue": "undefined"
|
|
139
|
-
},
|
|
140
|
-
"errorCallback": {
|
|
141
|
-
"type": "unknown",
|
|
142
|
-
"mutable": false,
|
|
143
|
-
"complexType": {
|
|
144
|
-
"original": "(error?: Error) => void",
|
|
145
|
-
"resolved": "(error?: Error) => void",
|
|
146
|
-
"references": {
|
|
147
|
-
"Error": {
|
|
148
|
-
"location": "global"
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
"required": false,
|
|
153
|
-
"optional": false,
|
|
154
|
-
"docs": {
|
|
155
|
-
"tags": [],
|
|
156
|
-
"text": "___Just for polling flavour___\n***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"
|
|
157
|
-
},
|
|
158
|
-
"defaultValue": "undefined"
|
|
159
|
-
},
|
|
160
|
-
"checkStatus": {
|
|
161
|
-
"type": "unknown",
|
|
162
|
-
"mutable": false,
|
|
163
|
-
"complexType": {
|
|
164
|
-
"original": "(\n id?: string\n ) => Promise<{ result: RESULT_STATUS; data?: any }>",
|
|
165
|
-
"resolved": "(id?: string) => Promise<{ result: RESULT_STATUS; data?: any; }>",
|
|
166
|
-
"references": {
|
|
167
|
-
"Promise": {
|
|
168
|
-
"location": "global"
|
|
169
|
-
},
|
|
170
|
-
"RESULT_STATUS": {
|
|
171
|
-
"location": "import",
|
|
172
|
-
"path": "../../utils"
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
"required": false,
|
|
177
|
-
"optional": true,
|
|
178
|
-
"docs": {
|
|
179
|
-
"tags": [],
|
|
180
|
-
"text": "___Just for polling flavour___\n***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."
|
|
181
|
-
},
|
|
182
|
-
"defaultValue": "undefined"
|
|
183
|
-
},
|
|
184
|
-
"createSession": {
|
|
185
|
-
"type": "unknown",
|
|
186
|
-
"mutable": false,
|
|
187
|
-
"complexType": {
|
|
188
|
-
"original": "() => Promise<{\n sessionId: string;\n authenticationRequest?: string;\n }>",
|
|
189
|
-
"resolved": "() => Promise<{ sessionId: string; authenticationRequest?: string; }>",
|
|
190
|
-
"references": {
|
|
191
|
-
"Promise": {
|
|
192
|
-
"location": "global"
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
"required": false,
|
|
197
|
-
"optional": true,
|
|
198
|
-
"docs": {
|
|
199
|
-
"tags": [],
|
|
200
|
-
"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"
|
|
201
|
-
},
|
|
202
|
-
"defaultValue": "undefined"
|
|
203
|
-
},
|
|
204
|
-
"wsOnOpen": {
|
|
205
|
-
"type": "unknown",
|
|
206
|
-
"mutable": false,
|
|
207
|
-
"complexType": {
|
|
208
|
-
"original": "(socket: WebSocket) => void",
|
|
209
|
-
"resolved": "(socket: WebSocket) => void",
|
|
210
|
-
"references": {
|
|
211
|
-
"WebSocket": {
|
|
212
|
-
"location": "global"
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
"required": false,
|
|
217
|
-
"optional": false,
|
|
218
|
-
"docs": {
|
|
219
|
-
"tags": [],
|
|
220
|
-
"text": "___Just for WS flavour___\n[Optional]\nFunction to send a message to the server upon socket creation"
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
"wsOnMessage": {
|
|
224
|
-
"type": "unknown",
|
|
225
|
-
"mutable": false,
|
|
226
|
-
"complexType": {
|
|
227
|
-
"original": "(socket: WebSocket, msg: MessageEvent) => void",
|
|
228
|
-
"resolved": "(socket: WebSocket, msg: MessageEvent<any>) => void",
|
|
229
|
-
"references": {
|
|
230
|
-
"WebSocket": {
|
|
231
|
-
"location": "global"
|
|
232
|
-
},
|
|
233
|
-
"MessageEvent": {
|
|
234
|
-
"location": "global"
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
"required": false,
|
|
239
|
-
"optional": false,
|
|
240
|
-
"docs": {
|
|
241
|
-
"tags": [],
|
|
242
|
-
"text": "___Just for WS flavour___\n**RECOMMENDED**\nCallback to invoke an a message has been received on the socket. It provides the socket itself and the message as parameters.\nIf not used, the messages provided by the server on the Socket connection must conform to the WSReponse interface\nIf used, an Event named **sessionMsg** must be triggered with a WSReponse as data"
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
};
|
|
246
|
-
}
|
|
247
|
-
static get states() {
|
|
248
|
-
return {
|
|
249
|
-
"config": {},
|
|
250
|
-
"loading": {}
|
|
251
|
-
};
|
|
252
|
-
}
|
|
253
|
-
static get events() {
|
|
254
|
-
return [{
|
|
255
|
-
"method": "gatacaLoginCompleted",
|
|
256
|
-
"name": "gatacaLoginCompleted",
|
|
257
|
-
"bubbles": true,
|
|
258
|
-
"cancelable": true,
|
|
259
|
-
"composed": true,
|
|
260
|
-
"docs": {
|
|
261
|
-
"tags": [],
|
|
262
|
-
"text": "GatacaLoginCompleted event, triggered with session data upon login success"
|
|
263
|
-
},
|
|
264
|
-
"complexType": {
|
|
265
|
-
"original": "any",
|
|
266
|
-
"resolved": "any",
|
|
267
|
-
"references": {}
|
|
268
|
-
}
|
|
269
|
-
}, {
|
|
270
|
-
"method": "gatacaLoginFailed",
|
|
271
|
-
"name": "gatacaLoginFailed",
|
|
272
|
-
"bubbles": true,
|
|
273
|
-
"cancelable": true,
|
|
274
|
-
"composed": true,
|
|
275
|
-
"docs": {
|
|
276
|
-
"tags": [],
|
|
277
|
-
"text": "GatacaLoginFailed event, triggered with error upon login failure"
|
|
278
|
-
},
|
|
279
|
-
"complexType": {
|
|
280
|
-
"original": "any",
|
|
281
|
-
"resolved": "any",
|
|
282
|
-
"references": {}
|
|
283
|
-
}
|
|
284
|
-
}];
|
|
285
|
-
}
|
|
286
|
-
static get methods() {
|
|
287
|
-
return {
|
|
288
|
-
"getSessionData": {
|
|
289
|
-
"complexType": {
|
|
290
|
-
"signature": "() => Promise<any>",
|
|
291
|
-
"parameters": [],
|
|
292
|
-
"references": {
|
|
293
|
-
"Promise": {
|
|
294
|
-
"location": "global"
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
"return": "Promise<any>"
|
|
298
|
-
},
|
|
299
|
-
"docs": {
|
|
300
|
-
"text": "Retrieve manually the session data on a successful login",
|
|
301
|
-
"tags": []
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
};
|
|
305
|
-
}
|
|
306
|
-
}
|
|
@@ -1,249 +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
|
-
.brandSection {
|
|
70
|
-
padding-top: 5px;
|
|
71
|
-
display: flex;
|
|
72
|
-
align-items: center;
|
|
73
|
-
}
|
|
74
|
-
.brandSection .gatacaImgSmall {
|
|
75
|
-
height: 13px;
|
|
76
|
-
width: 13px;
|
|
77
|
-
margin: 0;
|
|
78
|
-
margin-right: 10px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.popUpContainer .modal-window {
|
|
82
|
-
position: relative;
|
|
83
|
-
border-radius: 6px;
|
|
84
|
-
color: rgba(24, 27, 94, 0.8);
|
|
85
|
-
box-shadow: 0px 3px 10px rgba(48, 48, 48, 0.1);
|
|
86
|
-
display: flex;
|
|
87
|
-
flex-direction: column;
|
|
88
|
-
justify-content: space-between;
|
|
89
|
-
align-items: center;
|
|
90
|
-
display: flex;
|
|
91
|
-
z-index: 1001;
|
|
92
|
-
width: 300px;
|
|
93
|
-
min-height: 408px;
|
|
94
|
-
border-radius: 12px;
|
|
95
|
-
-webkit-transition: opacity 0.5s, visibility 0s 0.5s;
|
|
96
|
-
transition: opacity 0.5s, visibility 0s 0.5s;
|
|
97
|
-
visibility: hidden;
|
|
98
|
-
opacity: 0;
|
|
99
|
-
}
|
|
100
|
-
.popUpContainer .modal-window__content {
|
|
101
|
-
width: 100%;
|
|
102
|
-
height: 100%;
|
|
103
|
-
text-align: left;
|
|
104
|
-
}
|
|
105
|
-
.popUpContainer .modal-window p {
|
|
106
|
-
font-family: "Work Sans", "Helvetica Neue", sans-serif;
|
|
107
|
-
font-weight: normal;
|
|
108
|
-
font-size: 12px;
|
|
109
|
-
letter-spacing: 1px;
|
|
110
|
-
color: #181B5E;
|
|
111
|
-
}
|
|
112
|
-
.popUpContainer .modal-window .qrTitleContainer {
|
|
113
|
-
padding: 24px;
|
|
114
|
-
padding-bottom: 0px;
|
|
115
|
-
}
|
|
116
|
-
.popUpContainer .modal-window .qrTitle {
|
|
117
|
-
font-size: 20px;
|
|
118
|
-
font-weight: 600;
|
|
119
|
-
line-height: 23.5px;
|
|
120
|
-
}
|
|
121
|
-
.popUpContainer .modal-window .qrDescription {
|
|
122
|
-
font-weight: 400;
|
|
123
|
-
font-size: 14px;
|
|
124
|
-
line-height: 16.5px;
|
|
125
|
-
padding-top: 12px;
|
|
126
|
-
padding-bottom: 5px;
|
|
127
|
-
color: #A1A1A1;
|
|
128
|
-
}
|
|
129
|
-
.popUpContainer .modal-window .bold {
|
|
130
|
-
font-weight: 600;
|
|
131
|
-
}
|
|
132
|
-
.popUpContainer .modal-window .qrBrand {
|
|
133
|
-
margin-top: 4px;
|
|
134
|
-
font-size: 14px;
|
|
135
|
-
font-weight: 400;
|
|
136
|
-
line-height: 16.5px;
|
|
137
|
-
display: flex;
|
|
138
|
-
align-items: center;
|
|
139
|
-
}
|
|
140
|
-
.popUpContainer .modal-window .qrBrand img {
|
|
141
|
-
margin-left: 5px;
|
|
142
|
-
height: 12px;
|
|
143
|
-
}
|
|
144
|
-
.popUpContainer .modal-window .qr-section {
|
|
145
|
-
width: 252px;
|
|
146
|
-
height: 252px;
|
|
147
|
-
}
|
|
148
|
-
.popUpContainer .reload {
|
|
149
|
-
height: 252px;
|
|
150
|
-
width: 252px;
|
|
151
|
-
border: 1px dashed #A1A1A1;
|
|
152
|
-
border-radius: 12px;
|
|
153
|
-
position: relative;
|
|
154
|
-
margin: 24px;
|
|
155
|
-
display: flex;
|
|
156
|
-
justify-content: center;
|
|
157
|
-
align-items: center;
|
|
158
|
-
}
|
|
159
|
-
.popUpContainer #qrwait {
|
|
160
|
-
display: flex;
|
|
161
|
-
justify-content: center;
|
|
162
|
-
}
|
|
163
|
-
.popUpContainer #qrwait,
|
|
164
|
-
.popUpContainer #notify {
|
|
165
|
-
width: 100%;
|
|
166
|
-
height: 100%;
|
|
167
|
-
top: 0;
|
|
168
|
-
left: 0;
|
|
169
|
-
border-radius: 20px;
|
|
170
|
-
}
|
|
171
|
-
.popUpContainer #notify {
|
|
172
|
-
z-index: 10;
|
|
173
|
-
background-color: gray;
|
|
174
|
-
position: absolute;
|
|
175
|
-
justify-self: center;
|
|
176
|
-
justify-items: center;
|
|
177
|
-
justify-content: center;
|
|
178
|
-
align-items: center;
|
|
179
|
-
align-content: center;
|
|
180
|
-
align-self: center;
|
|
181
|
-
display: flex;
|
|
182
|
-
flex-direction: column;
|
|
183
|
-
padding: 24px;
|
|
184
|
-
box-sizing: border-box;
|
|
185
|
-
/* Auto layout */
|
|
186
|
-
display: flex;
|
|
187
|
-
flex-direction: column;
|
|
188
|
-
justify-content: center;
|
|
189
|
-
align-items: center;
|
|
190
|
-
padding: 20px;
|
|
191
|
-
background: rgba(255, 255, 255, 0.9);
|
|
192
|
-
/* Grey Colors/Grey 400 */
|
|
193
|
-
}
|
|
194
|
-
.popUpContainer .notify-text {
|
|
195
|
-
font-family: "Work Sans";
|
|
196
|
-
font-style: normal;
|
|
197
|
-
font-weight: 400;
|
|
198
|
-
font-size: 14px;
|
|
199
|
-
line-height: 16px;
|
|
200
|
-
text-align: center;
|
|
201
|
-
font-feature-settings: "salt" on;
|
|
202
|
-
color: #8B8B8B;
|
|
203
|
-
flex: none;
|
|
204
|
-
order: 1;
|
|
205
|
-
align-self: stretch;
|
|
206
|
-
flex-grow: 0;
|
|
207
|
-
}
|
|
208
|
-
.popUpContainer .alert {
|
|
209
|
-
display: flex;
|
|
210
|
-
flex-direction: row;
|
|
211
|
-
align-items: center;
|
|
212
|
-
justify-content: start;
|
|
213
|
-
width: 252px;
|
|
214
|
-
position: absolute;
|
|
215
|
-
bottom: 0;
|
|
216
|
-
background: #FFE5E5;
|
|
217
|
-
border-radius: 12px;
|
|
218
|
-
}
|
|
219
|
-
.popUpContainer .alert img {
|
|
220
|
-
margin: 12px;
|
|
221
|
-
}
|
|
222
|
-
.popUpContainer .alert p {
|
|
223
|
-
font-weight: 400;
|
|
224
|
-
font-size: 14px;
|
|
225
|
-
line-height: 16px;
|
|
226
|
-
color: black;
|
|
227
|
-
}
|
|
228
|
-
.popUpContainer .success {
|
|
229
|
-
display: flex;
|
|
230
|
-
height: 300px;
|
|
231
|
-
flex-direction: column;
|
|
232
|
-
justify-content: center;
|
|
233
|
-
align-items: center;
|
|
234
|
-
padding: 0px;
|
|
235
|
-
}
|
|
236
|
-
.popUpContainer .success .successMsg {
|
|
237
|
-
margin-top: 20px;
|
|
238
|
-
font-size: 20px;
|
|
239
|
-
font-weight: 600;
|
|
240
|
-
line-height: 23.5px;
|
|
241
|
-
}
|
|
242
|
-
.popUpContainer .is-visible {
|
|
243
|
-
opacity: 1;
|
|
244
|
-
visibility: visible;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.is-transparent {
|
|
248
|
-
opacity: 0;
|
|
249
|
-
}
|