@gataca/qr 4.2.1 → 4.2.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/cjs/gat-icon-check-6b6780eb.js +37 -0
- package/dist/cjs/gataca-autoqr.cjs.entry.js +106 -0
- package/dist/cjs/gataca-qr_3.cjs.entry.js +766 -0
- package/dist/cjs/gataca-qrws.cjs.entry.js +366 -0
- package/dist/cjs/gataca-ssibuttonws.cjs.entry.js +61 -0
- package/dist/cjs/gatacaqr.cjs.js +19 -0
- package/dist/cjs/index-d8d3dfde.js +1532 -0
- package/dist/cjs/index.cjs.js +17 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/utils-17b0a5ba.js +72 -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 +7 -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 +347 -0
- package/dist/collection/components/gataca-qr/components/qr/QR.js +13 -0
- package/dist/collection/components/gataca-qr/components/readQR/ReadQR.js +16 -0
- package/dist/collection/components/gataca-qr/components/readQR/components/AnimatedLoader.js +6 -0
- package/dist/collection/components/gataca-qr/components/retryButton/RetryButton.js +19 -0
- package/dist/collection/components/gataca-qr/components/success/Success.js +9 -0
- package/dist/collection/components/gataca-qr/gataca-qr.css +415 -0
- package/dist/collection/components/gataca-qr/gataca-qr.js +1069 -0
- package/dist/collection/components/gataca-qrdisplay/gataca-qrdisplay.js +224 -0
- package/dist/collection/components/gataca-qrws/components/qr/QR.js +13 -0
- package/dist/collection/components/gataca-qrws/components/readQR/ReadQR.js +11 -0
- package/dist/collection/components/gataca-qrws/components/readQR/components/AnimatedLoader.js +4 -0
- package/dist/collection/components/gataca-qrws/components/retryButton/RetryButton.js +16 -0
- package/dist/collection/components/gataca-qrws/components/success/Success.js +8 -0
- package/dist/collection/components/gataca-qrws/gataca-qrws.css +407 -0
- package/dist/collection/components/gataca-qrws/gataca-qrws.js +1098 -0
- package/dist/collection/components/gataca-ssibutton/gataca-ssibutton.css +116 -0
- package/dist/collection/components/gataca-ssibutton/gataca-ssibutton.js +1174 -0
- package/dist/collection/components/gataca-ssibuttonws/gataca-ssibuttonws.css +116 -0
- package/dist/collection/components/gataca-ssibuttonws/gataca-ssibuttonws.js +434 -0
- package/dist/collection/components/icons/RefreshIcon.js +6 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/utils/index.js +1 -0
- package/dist/collection/utils/utils.js +66 -0
- package/dist/components/gat-icon-check.js +72 -0
- package/dist/components/gataca-autoqr.js +163 -0
- package/dist/components/gataca-qr.js +6 -0
- package/dist/{gatacaqr/gataca-qr.entry.js → components/gataca-qr2.js} +77 -10
- package/dist/components/gataca-qrdisplay.js +6 -0
- package/dist/components/gataca-qrdisplay2.js +121 -0
- package/dist/components/gataca-qrws.js +6 -0
- package/dist/components/gataca-qrws2.js +430 -0
- package/dist/components/gataca-ssibutton.js +6 -0
- package/dist/{gatacaqr/gataca-ssibutton.entry.js → components/gataca-ssibutton2.js} +82 -9
- package/dist/components/gataca-ssibuttonws.js +6 -0
- package/dist/components/gataca-ssibuttonws2.js +104 -0
- package/dist/components/index.js +8 -0
- package/dist/esm/gat-icon-check-7320c81b.js +32 -0
- package/dist/{gatacaqr → esm}/gataca-autoqr.entry.js +1 -1
- package/dist/esm/gataca-qr_3.entry.js +760 -0
- package/dist/{gatacaqr → esm}/gataca-qrws.entry.js +2 -3
- package/dist/{gatacaqr → esm}/gataca-ssibuttonws.entry.js +1 -1
- package/dist/esm/gatacaqr.js +17 -0
- package/dist/esm/index-dca2ab22.js +1506 -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-143c0080.js +1 -0
- package/dist/gatacaqr/p-29119208.js +1 -0
- package/dist/gatacaqr/p-2dc7190a.entry.js +1 -0
- package/dist/gatacaqr/p-2e8accf9.entry.js +1 -0
- package/dist/gatacaqr/p-36ff5224.entry.js +1 -0
- package/dist/gatacaqr/p-85af64b1.js +2 -0
- package/dist/gatacaqr/p-d27dabe4.entry.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -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/gat-icon-check-9132c0ad.js +0 -5
- package/dist/gatacaqr/gataca-qrdisplay-9a22c242.js +0 -123
- package/dist/gatacaqr/gataca-qrdisplay.entry.js +0 -2
- package/dist/gatacaqr/index-aea56eb8.js +0 -3262
- package/dist/gatacaqr/shadow-css-146f2f6f.js +0 -387
- package/dist/types/components/gataca-autoqr/gataca-autoqr.e2e.d.ts +0 -1
- package/dist/types/components/gataca-qr/gataca-qr.e2e.d.ts +0 -1
- package/dist/types/components/gataca-qrdisplay/gataca-qrdisplay.e2e.d.ts +0 -1
- package/dist/types/components/gataca-qrws/gataca-qrws.e2e.d.ts +0 -1
- package/dist/types/components/gataca-ssibutton/gataca-ssibutton.e2e.d.ts +0 -1
- package/dist/types/components/gataca-ssibuttonws/gataca-ssibuttonws.e2e.d.ts +0 -1
- /package/dist/{gatacaqr → esm}/utils-e4a08623.js +0 -0
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
import QRCodeStyling from 'qr-code-styling';
|
|
3
|
+
import logoGataca from '../../assets/images/logo_gataca.svg';
|
|
4
|
+
export class GatacaQRDisplay {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.qrData = undefined;
|
|
7
|
+
this.qrType = 'svg';
|
|
8
|
+
this.size = 256;
|
|
9
|
+
this.logoSize = 0;
|
|
10
|
+
this.logoSrc = undefined;
|
|
11
|
+
this.qrColor = '#1E1E20';
|
|
12
|
+
this.bgColor = '#FFFFFF';
|
|
13
|
+
this.rounded = true;
|
|
14
|
+
}
|
|
15
|
+
getQrOptions() {
|
|
16
|
+
return {
|
|
17
|
+
data: this.qrData,
|
|
18
|
+
width: this.size,
|
|
19
|
+
height: this.size,
|
|
20
|
+
image: this.logoSize > 0 ? this.logoSrc || logoGataca : undefined,
|
|
21
|
+
margin: 10,
|
|
22
|
+
type: this.qrType,
|
|
23
|
+
dotsOptions: {
|
|
24
|
+
color: this.qrColor,
|
|
25
|
+
type: this.rounded ? 'dots' : 'square'
|
|
26
|
+
},
|
|
27
|
+
cornersSquareOptions: {
|
|
28
|
+
type: this.rounded ? 'extra-rounded' : 'square'
|
|
29
|
+
},
|
|
30
|
+
cornersDotOptions: {
|
|
31
|
+
type: this.rounded ? 'dot' : 'square'
|
|
32
|
+
},
|
|
33
|
+
imageOptions: {
|
|
34
|
+
margin: 2,
|
|
35
|
+
imageSize: this.logoSize
|
|
36
|
+
},
|
|
37
|
+
backgroundOptions: {
|
|
38
|
+
color: this.bgColor
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
componentDidLoad() {
|
|
43
|
+
this.mountOrUpdateQr();
|
|
44
|
+
}
|
|
45
|
+
onQrDataChange() {
|
|
46
|
+
this.mountOrUpdateQr();
|
|
47
|
+
}
|
|
48
|
+
mountOrUpdateQr() {
|
|
49
|
+
var _a;
|
|
50
|
+
if (!((_a = this.qrData) === null || _a === void 0 ? void 0 : _a.trim()) || !this.qr) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
if (!this.qrCode) {
|
|
54
|
+
this.qrCode = new QRCodeStyling(this.getQrOptions());
|
|
55
|
+
this.qrCode.append(this.qr);
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
this.qrCode.update({ data: this.qrData });
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
render() {
|
|
62
|
+
return (h("div", { ref: (el) => {
|
|
63
|
+
this.qr = el;
|
|
64
|
+
} }));
|
|
65
|
+
}
|
|
66
|
+
static get is() { return "gataca-qrdisplay"; }
|
|
67
|
+
static get properties() {
|
|
68
|
+
return {
|
|
69
|
+
"qrData": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"mutable": false,
|
|
72
|
+
"complexType": {
|
|
73
|
+
"original": "string",
|
|
74
|
+
"resolved": "string",
|
|
75
|
+
"references": {}
|
|
76
|
+
},
|
|
77
|
+
"required": false,
|
|
78
|
+
"optional": false,
|
|
79
|
+
"docs": {
|
|
80
|
+
"tags": [],
|
|
81
|
+
"text": "_[Mandatory]_\nSets the contents of the QR"
|
|
82
|
+
},
|
|
83
|
+
"attribute": "qr-data",
|
|
84
|
+
"reflect": false
|
|
85
|
+
},
|
|
86
|
+
"qrType": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"mutable": false,
|
|
89
|
+
"complexType": {
|
|
90
|
+
"original": "DrawType",
|
|
91
|
+
"resolved": "\"canvas\" | \"svg\"",
|
|
92
|
+
"references": {
|
|
93
|
+
"DrawType": {
|
|
94
|
+
"location": "import",
|
|
95
|
+
"path": "qr-code-styling"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"required": false,
|
|
100
|
+
"optional": true,
|
|
101
|
+
"docs": {
|
|
102
|
+
"tags": [],
|
|
103
|
+
"text": "_[Optional]_\nSets the qr type. It can be \"svg\" or \"canvas\". \"svg\" by default."
|
|
104
|
+
},
|
|
105
|
+
"attribute": "qr-type",
|
|
106
|
+
"reflect": false,
|
|
107
|
+
"defaultValue": "'svg'"
|
|
108
|
+
},
|
|
109
|
+
"size": {
|
|
110
|
+
"type": "number",
|
|
111
|
+
"mutable": false,
|
|
112
|
+
"complexType": {
|
|
113
|
+
"original": "number",
|
|
114
|
+
"resolved": "number",
|
|
115
|
+
"references": {}
|
|
116
|
+
},
|
|
117
|
+
"required": false,
|
|
118
|
+
"optional": true,
|
|
119
|
+
"docs": {
|
|
120
|
+
"tags": [],
|
|
121
|
+
"text": "_[Optional]_\nSize of the QR Displayed"
|
|
122
|
+
},
|
|
123
|
+
"attribute": "size",
|
|
124
|
+
"reflect": false,
|
|
125
|
+
"defaultValue": "256"
|
|
126
|
+
},
|
|
127
|
+
"logoSize": {
|
|
128
|
+
"type": "number",
|
|
129
|
+
"mutable": false,
|
|
130
|
+
"complexType": {
|
|
131
|
+
"original": "number",
|
|
132
|
+
"resolved": "number",
|
|
133
|
+
"references": {}
|
|
134
|
+
},
|
|
135
|
+
"required": false,
|
|
136
|
+
"optional": true,
|
|
137
|
+
"docs": {
|
|
138
|
+
"tags": [],
|
|
139
|
+
"text": "_[Optional]_\nSize 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"
|
|
140
|
+
},
|
|
141
|
+
"attribute": "logo-size",
|
|
142
|
+
"reflect": false,
|
|
143
|
+
"defaultValue": "0"
|
|
144
|
+
},
|
|
145
|
+
"logoSrc": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"mutable": false,
|
|
148
|
+
"complexType": {
|
|
149
|
+
"original": "string",
|
|
150
|
+
"resolved": "string",
|
|
151
|
+
"references": {}
|
|
152
|
+
},
|
|
153
|
+
"required": false,
|
|
154
|
+
"optional": true,
|
|
155
|
+
"docs": {
|
|
156
|
+
"tags": [],
|
|
157
|
+
"text": "_[Optional]_\nLogo to display, just if the logo size is greater than 0. No logo is the GATACA logo."
|
|
158
|
+
},
|
|
159
|
+
"attribute": "logo-src",
|
|
160
|
+
"reflect": false
|
|
161
|
+
},
|
|
162
|
+
"qrColor": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"mutable": false,
|
|
165
|
+
"complexType": {
|
|
166
|
+
"original": "string",
|
|
167
|
+
"resolved": "string",
|
|
168
|
+
"references": {}
|
|
169
|
+
},
|
|
170
|
+
"required": false,
|
|
171
|
+
"optional": true,
|
|
172
|
+
"docs": {
|
|
173
|
+
"tags": [],
|
|
174
|
+
"text": "_[Optional]_\nQR Color."
|
|
175
|
+
},
|
|
176
|
+
"attribute": "qr-color",
|
|
177
|
+
"reflect": false,
|
|
178
|
+
"defaultValue": "'#1E1E20'"
|
|
179
|
+
},
|
|
180
|
+
"bgColor": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"mutable": false,
|
|
183
|
+
"complexType": {
|
|
184
|
+
"original": "string",
|
|
185
|
+
"resolved": "string",
|
|
186
|
+
"references": {}
|
|
187
|
+
},
|
|
188
|
+
"required": false,
|
|
189
|
+
"optional": true,
|
|
190
|
+
"docs": {
|
|
191
|
+
"tags": [],
|
|
192
|
+
"text": "_[Optional]_\nQR Color."
|
|
193
|
+
},
|
|
194
|
+
"attribute": "bg-color",
|
|
195
|
+
"reflect": false,
|
|
196
|
+
"defaultValue": "'#FFFFFF'"
|
|
197
|
+
},
|
|
198
|
+
"rounded": {
|
|
199
|
+
"type": "boolean",
|
|
200
|
+
"mutable": false,
|
|
201
|
+
"complexType": {
|
|
202
|
+
"original": "boolean",
|
|
203
|
+
"resolved": "boolean",
|
|
204
|
+
"references": {}
|
|
205
|
+
},
|
|
206
|
+
"required": false,
|
|
207
|
+
"optional": true,
|
|
208
|
+
"docs": {
|
|
209
|
+
"tags": [],
|
|
210
|
+
"text": "_[Optional]_\nRound usage"
|
|
211
|
+
},
|
|
212
|
+
"attribute": "rounded",
|
|
213
|
+
"reflect": false,
|
|
214
|
+
"defaultValue": "true"
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
static get watchers() {
|
|
219
|
+
return [{
|
|
220
|
+
"propName": "qrData",
|
|
221
|
+
"methodName": "onQrDataChange"
|
|
222
|
+
}];
|
|
223
|
+
}
|
|
224
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export const QR = (props) => {
|
|
3
|
+
const { value, useLogo, logoSrc, size, qrType, linkReady = true } = props;
|
|
4
|
+
const s = size !== null && size !== void 0 ? size : 256;
|
|
5
|
+
if (!linkReady) {
|
|
6
|
+
return (h("div", { class: "qr-loading-slot", style: {
|
|
7
|
+
width: s + 'px',
|
|
8
|
+
height: s + 'px',
|
|
9
|
+
margin: '0 auto'
|
|
10
|
+
} }));
|
|
11
|
+
}
|
|
12
|
+
return h("gataca-qrdisplay", { qrData: value, rounded: true, size: size, qrType: qrType, "logo-size": useLogo ? 0.33 : 0, "logo-src": logoSrc });
|
|
13
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
import { AnimatedLoader } from './components/AnimatedLoader';
|
|
3
|
+
export const ReadQR = (props) => {
|
|
4
|
+
var _a;
|
|
5
|
+
const { modalWidth, readQrMessages, renderQR, url, sizeQR } = props;
|
|
6
|
+
return (h("div", { class: "blured", style: {
|
|
7
|
+
width: (modalWidth - 48).toString() + 'px',
|
|
8
|
+
height: modalWidth ? ((_a = (modalWidth - 48)) === null || _a === void 0 ? void 0 : _a.toString()) + 'px' : ''
|
|
9
|
+
} }, h("div", { id: "notify" }, h(AnimatedLoader, null), h("p", { class: "notify-text" }, readQrMessages === null || readQrMessages === void 0 ? void 0 :
|
|
10
|
+
readQrMessages.title, " "), h("p", { class: "notify-text bold" }, readQrMessages === null || readQrMessages === void 0 ? void 0 : readQrMessages.description)), h("div", { id: "qrwait" }, renderQR(url, false, sizeQR))));
|
|
11
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export const AnimatedLoader = () => {
|
|
3
|
+
return (h("div", { class: "containerLoader" }, h("div", { class: "loader" }, h("div", { class: "loader__item loader__item__1" }), h("div", { class: "loader__item loader__item__2" }), h("div", { class: "loader__item loader__item__3" }), h("div", { class: "loader__item loader__item__4" }), h("div", { class: "loader__item loader__item__5" }), h("div", { class: "loader__item loader__item__6" }), h("div", { class: "loader__item loader__item__7" }), h("div", { class: "loader__item loader__item__8" }))));
|
|
4
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
import refreshIcon from '../../../../assets/icons/gat-icon-refresh.svg';
|
|
3
|
+
import alertIcon from '../../../../assets/icons/gat-icon-alert.svg';
|
|
4
|
+
export const RetryButton = (props) => {
|
|
5
|
+
var _a;
|
|
6
|
+
const { errorMessage, modalWidth, clickInsideBoxLabel, refreshQrLabel, scanQrLabel, display } = props;
|
|
7
|
+
return (h("div", { class: "reload", style: {
|
|
8
|
+
width: (modalWidth - 48).toString() + 'px',
|
|
9
|
+
height: modalWidth ? ((_a = (modalWidth - 48)) === null || _a === void 0 ? void 0 : _a.toString()) + 'px' : ''
|
|
10
|
+
} }, h("div", { id: "notify", onClick: () => display() }, h("img", { src: refreshIcon, height: 24, width: 24 }), h("p", { class: "notify-text" }, clickInsideBoxLabel, " "), errorMessage ? h("p", { class: "notify-text bold" }, refreshQrLabel) : h("p", { class: "notify-text bold" }, scanQrLabel), errorMessage && (h("div", { class: "alert", style: {
|
|
11
|
+
width: (modalWidth - 48).toString() + 'px'
|
|
12
|
+
} }, h("img", { src: alertIcon, height: 24, width: 24 }), h("p", null, errorMessage)))), h("div", { id: "qrwait", class: "qr-placeholder-slot", style: {
|
|
13
|
+
width: (modalWidth - 48).toString() + 'px',
|
|
14
|
+
height: modalWidth ? (modalWidth - 48).toString() + 'px' : ''
|
|
15
|
+
} })));
|
|
16
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import successIcon from '../../../../assets/icons/gat-icon-check.svg';
|
|
2
|
+
import { h } from '@stencil/core';
|
|
3
|
+
export const Success = (props) => {
|
|
4
|
+
const { modalHeight, successLoginLabel } = props;
|
|
5
|
+
return (h("div", { class: 'success', style: {
|
|
6
|
+
height: modalHeight ? (modalHeight === null || modalHeight === void 0 ? void 0 : modalHeight.toString()) + 'px' : '300px'
|
|
7
|
+
} }, h("img", { src: successIcon, height: 52, width: 52 }), h("p", { class: "successMsg" }, successLoginLabel)));
|
|
8
|
+
};
|
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@100;300;400;500;600;700&display=swap");
|
|
2
|
+
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700&display=swap");
|
|
3
|
+
/* http://meyerweb.com/eric/tools/css/reset/
|
|
4
|
+
v2.0 | 20110126
|
|
5
|
+
License: none (public domain)
|
|
6
|
+
*/
|
|
7
|
+
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400&display=swap");
|
|
8
|
+
html, body, div, span, applet, object, iframe,
|
|
9
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
|
10
|
+
a, abbr, acronym, address, big, cite, code,
|
|
11
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
|
12
|
+
small, strike, strong, sub, sup, tt, var,
|
|
13
|
+
b, u, i, center,
|
|
14
|
+
dl, dt, dd, ol, ul, li,
|
|
15
|
+
fieldset, form, label, legend,
|
|
16
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
17
|
+
article, aside, canvas, details, embed,
|
|
18
|
+
figure, figcaption, footer, header, hgroup,
|
|
19
|
+
menu, nav, output, ruby, section, summary,
|
|
20
|
+
time, mark, audio, video {
|
|
21
|
+
margin: 0;
|
|
22
|
+
padding: 0;
|
|
23
|
+
border: 0;
|
|
24
|
+
font-size: 100%;
|
|
25
|
+
font: inherit;
|
|
26
|
+
vertical-align: baseline;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* HTML5 display-role reset for older browsers */
|
|
30
|
+
article, aside, details, figcaption, figure,
|
|
31
|
+
footer, header, hgroup, menu, nav, section {
|
|
32
|
+
display: block;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
body {
|
|
36
|
+
line-height: 1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
ol, ul {
|
|
40
|
+
list-style: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
blockquote, q {
|
|
44
|
+
quotes: none;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
blockquote:before, blockquote:after,
|
|
48
|
+
q:before, q:after {
|
|
49
|
+
content: "";
|
|
50
|
+
content: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
table {
|
|
54
|
+
border-collapse: collapse;
|
|
55
|
+
border-spacing: 0;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Sizes */
|
|
59
|
+
/* Trigonometry helpers */
|
|
60
|
+
/*
|
|
61
|
+
QR COMPONENT
|
|
62
|
+
*/
|
|
63
|
+
.img-fluid {
|
|
64
|
+
height: auto;
|
|
65
|
+
max-width: 50%;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
img {
|
|
69
|
+
margin-left: auto;
|
|
70
|
+
margin-right: auto;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.brandSection {
|
|
74
|
+
padding-top: 5px;
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
}
|
|
78
|
+
.brandSection .gatacaImgSmall {
|
|
79
|
+
height: 13px;
|
|
80
|
+
width: 13px;
|
|
81
|
+
margin: 0;
|
|
82
|
+
margin-right: 10px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.popUpContainer .large-modal {
|
|
86
|
+
width: 300px;
|
|
87
|
+
min-height: 350px;
|
|
88
|
+
}
|
|
89
|
+
.popUpContainer .modal-window {
|
|
90
|
+
position: relative;
|
|
91
|
+
border-radius: 6px;
|
|
92
|
+
overflow: hidden;
|
|
93
|
+
color: rgba(24, 27, 94, 0.8);
|
|
94
|
+
box-shadow: 0px 3px 10px rgba(48, 48, 48, 0.1);
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-direction: column;
|
|
97
|
+
justify-content: space-between;
|
|
98
|
+
align-items: center;
|
|
99
|
+
display: flex;
|
|
100
|
+
z-index: 1001;
|
|
101
|
+
padding: 1px;
|
|
102
|
+
background-color: white;
|
|
103
|
+
border-radius: 12px;
|
|
104
|
+
-webkit-transition: opacity 0.5s, visibility 0s 0.5s;
|
|
105
|
+
transition: opacity 0.5s, visibility 0s 0.5s;
|
|
106
|
+
visibility: hidden;
|
|
107
|
+
opacity: 0;
|
|
108
|
+
}
|
|
109
|
+
.popUpContainer .modal-window__content {
|
|
110
|
+
width: 100%;
|
|
111
|
+
height: 100%;
|
|
112
|
+
text-align: left;
|
|
113
|
+
}
|
|
114
|
+
.popUpContainer .modal-window__content .hidenText {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
117
|
+
.popUpContainer .modal-window .modalText {
|
|
118
|
+
font-family: "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
|
|
119
|
+
font-size: 20px;
|
|
120
|
+
font-style: normal;
|
|
121
|
+
font-weight: 700;
|
|
122
|
+
line-height: 24px;
|
|
123
|
+
margin-top: 10px;
|
|
124
|
+
letter-spacing: 1px;
|
|
125
|
+
}
|
|
126
|
+
.popUpContainer .modal-window .qrTitleContainer {
|
|
127
|
+
padding: 14px 24px;
|
|
128
|
+
padding-bottom: 0px;
|
|
129
|
+
}
|
|
130
|
+
.popUpContainer .modal-window .qrTitle {
|
|
131
|
+
font-size: 20px;
|
|
132
|
+
font-weight: 600;
|
|
133
|
+
line-height: 23.5px;
|
|
134
|
+
}
|
|
135
|
+
.popUpContainer .modal-window .qrDescription {
|
|
136
|
+
font-family: "Poppins", "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
|
|
137
|
+
font-size: 14px;
|
|
138
|
+
font-style: normal;
|
|
139
|
+
font-weight: 400;
|
|
140
|
+
line-height: 16px;
|
|
141
|
+
color: #707074;
|
|
142
|
+
}
|
|
143
|
+
.popUpContainer .modal-window .bold {
|
|
144
|
+
font-weight: 700;
|
|
145
|
+
}
|
|
146
|
+
.popUpContainer .modal-window .qrBrand {
|
|
147
|
+
margin-top: 4px;
|
|
148
|
+
font-size: 14px;
|
|
149
|
+
font-weight: 400;
|
|
150
|
+
line-height: 16.5px;
|
|
151
|
+
display: flex;
|
|
152
|
+
align-items: center;
|
|
153
|
+
}
|
|
154
|
+
.popUpContainer .modal-window .qrBrand img {
|
|
155
|
+
margin-left: 5px;
|
|
156
|
+
height: 12px;
|
|
157
|
+
}
|
|
158
|
+
.popUpContainer .modal-window .qr-section {
|
|
159
|
+
width: 252px;
|
|
160
|
+
height: 252px;
|
|
161
|
+
}
|
|
162
|
+
.popUpContainer .noBoxShadow {
|
|
163
|
+
box-shadow: none;
|
|
164
|
+
}
|
|
165
|
+
.popUpContainer .is-visible {
|
|
166
|
+
opacity: 1;
|
|
167
|
+
visibility: visible;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.is-transparent {
|
|
171
|
+
opacity: 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.success {
|
|
175
|
+
display: flex;
|
|
176
|
+
height: 300px;
|
|
177
|
+
flex-direction: column;
|
|
178
|
+
justify-content: center;
|
|
179
|
+
align-items: center;
|
|
180
|
+
padding: 0px;
|
|
181
|
+
}
|
|
182
|
+
.success > img {
|
|
183
|
+
padding-bottom: 12px;
|
|
184
|
+
}
|
|
185
|
+
.success > .successMsg {
|
|
186
|
+
line-height: 23.5px;
|
|
187
|
+
color: var(--neutral-1000, #1e1e20);
|
|
188
|
+
text-align: center;
|
|
189
|
+
font-family: "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
|
|
190
|
+
font-size: 20px;
|
|
191
|
+
font-style: normal;
|
|
192
|
+
font-weight: 700;
|
|
193
|
+
line-height: 24px;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.reload,
|
|
197
|
+
.blured {
|
|
198
|
+
height: 252px;
|
|
199
|
+
width: 252px;
|
|
200
|
+
border: 1px dashed #a1a1a1;
|
|
201
|
+
border-radius: 12px;
|
|
202
|
+
position: relative;
|
|
203
|
+
top: 24px;
|
|
204
|
+
margin: 0 24px 24px;
|
|
205
|
+
display: flex;
|
|
206
|
+
overflow: hidden;
|
|
207
|
+
justify-content: center;
|
|
208
|
+
align-items: center;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
#qrwait {
|
|
212
|
+
display: flex;
|
|
213
|
+
justify-content: center;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.qr-placeholder-slot,
|
|
217
|
+
.qr-loading-slot {
|
|
218
|
+
box-sizing: border-box;
|
|
219
|
+
border-radius: 12px;
|
|
220
|
+
background: rgba(0, 0, 0, 0.04);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
#qrwait,
|
|
224
|
+
#notify {
|
|
225
|
+
width: 100%;
|
|
226
|
+
height: 100%;
|
|
227
|
+
top: 0;
|
|
228
|
+
left: 0;
|
|
229
|
+
border-radius: 20px;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
#notify {
|
|
233
|
+
z-index: 10;
|
|
234
|
+
position: absolute;
|
|
235
|
+
justify-self: center;
|
|
236
|
+
justify-items: center;
|
|
237
|
+
justify-content: center;
|
|
238
|
+
align-items: center;
|
|
239
|
+
align-content: center;
|
|
240
|
+
display: flex;
|
|
241
|
+
flex-direction: column;
|
|
242
|
+
box-sizing: border-box;
|
|
243
|
+
padding: 20px;
|
|
244
|
+
background: rgba(255, 255, 255, 0.95);
|
|
245
|
+
}
|
|
246
|
+
#notify > img {
|
|
247
|
+
padding-bottom: 12px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.alert {
|
|
251
|
+
display: flex;
|
|
252
|
+
flex-direction: row;
|
|
253
|
+
justify-content: start;
|
|
254
|
+
width: 252px;
|
|
255
|
+
position: absolute;
|
|
256
|
+
bottom: 0px;
|
|
257
|
+
border: 1px solid #ee888c;
|
|
258
|
+
background: #ffdedf;
|
|
259
|
+
border-radius: 11px;
|
|
260
|
+
box-sizing: border-box;
|
|
261
|
+
padding: 12px;
|
|
262
|
+
align-items: center;
|
|
263
|
+
gap: 12px;
|
|
264
|
+
}
|
|
265
|
+
.alert > img {
|
|
266
|
+
margin: 0;
|
|
267
|
+
}
|
|
268
|
+
.alert > p {
|
|
269
|
+
font-family: "Poppins", "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
|
|
270
|
+
font-size: 14px;
|
|
271
|
+
font-style: normal;
|
|
272
|
+
font-weight: 400;
|
|
273
|
+
margin-top: 0;
|
|
274
|
+
line-height: 16px;
|
|
275
|
+
color: #1e1e20;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.notify-text {
|
|
279
|
+
font-family: "Poppins", "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
|
|
280
|
+
font-size: 14px;
|
|
281
|
+
font-style: normal;
|
|
282
|
+
font-weight: 400;
|
|
283
|
+
line-height: 16px;
|
|
284
|
+
color: #707074;
|
|
285
|
+
text-align: center;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.containerLoader {
|
|
289
|
+
display: flex;
|
|
290
|
+
justify-content: center;
|
|
291
|
+
align-items: center;
|
|
292
|
+
width: 30px;
|
|
293
|
+
height: 30px;
|
|
294
|
+
margin-bottom: 12px;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.loader {
|
|
298
|
+
position: relative;
|
|
299
|
+
margin-left: 0 !important;
|
|
300
|
+
}
|
|
301
|
+
.loader__item {
|
|
302
|
+
position: absolute;
|
|
303
|
+
width: 9.68px;
|
|
304
|
+
height: 4px;
|
|
305
|
+
background: transparent;
|
|
306
|
+
border-radius: 2px;
|
|
307
|
+
}
|
|
308
|
+
.loader__item__1 {
|
|
309
|
+
transform: translate(2.5846212025px, 5.4246212025px) rotate(45deg);
|
|
310
|
+
-webkit-animation: translate(2.5846212025px, 5.4246212025px) rotate(45deg);
|
|
311
|
+
-moz-animation: translate(2.5846212025px, 5.4246212025px) rotate(45deg);
|
|
312
|
+
-o-animation: translate(2.5846212025px, 5.4246212025px) rotate(45deg);
|
|
313
|
+
animation: blink 0.8333333333s linear 0.1041666667s infinite;
|
|
314
|
+
-webkit-animation: blink 0.8333333333s linear 0.1041666667s infinite;
|
|
315
|
+
-moz-animation: blink 0.8333333333s linear 0.1041666667s infinite;
|
|
316
|
+
-o-animation: blink 0.8333333333s linear 0.1041666667s infinite;
|
|
317
|
+
}
|
|
318
|
+
.loader__item__2 {
|
|
319
|
+
transform: translate(-4.84px, 8.5px) rotate(90deg);
|
|
320
|
+
-webkit-animation: translate(-4.84px, 8.5px) rotate(90deg);
|
|
321
|
+
-moz-animation: translate(-4.84px, 8.5px) rotate(90deg);
|
|
322
|
+
-o-animation: translate(-4.84px, 8.5px) rotate(90deg);
|
|
323
|
+
animation: blink 0.8333333333s linear 0.2083333333s infinite;
|
|
324
|
+
-webkit-animation: blink 0.8333333333s linear 0.2083333333s infinite;
|
|
325
|
+
-moz-animation: blink 0.8333333333s linear 0.2083333333s infinite;
|
|
326
|
+
-o-animation: blink 0.8333333333s linear 0.2083333333s infinite;
|
|
327
|
+
}
|
|
328
|
+
.loader__item__3 {
|
|
329
|
+
transform: translate(-12.2646212025px, 5.4246212025px) rotate(135deg);
|
|
330
|
+
-webkit-animation: translate(-12.2646212025px, 5.4246212025px) rotate(135deg);
|
|
331
|
+
-moz-animation: translate(-12.2646212025px, 5.4246212025px) rotate(135deg);
|
|
332
|
+
-o-animation: translate(-12.2646212025px, 5.4246212025px) rotate(135deg);
|
|
333
|
+
animation: blink 0.8333333333s linear 0.3125s infinite;
|
|
334
|
+
-webkit-animation: blink 0.8333333333s linear 0.3125s infinite;
|
|
335
|
+
-moz-animation: blink 0.8333333333s linear 0.3125s infinite;
|
|
336
|
+
-o-animation: blink 0.8333333333s linear 0.3125s infinite;
|
|
337
|
+
}
|
|
338
|
+
.loader__item__4 {
|
|
339
|
+
transform: translate(-15.3399999992px, -1.9999999999px) rotate(180deg);
|
|
340
|
+
-webkit-animation: translate(-15.3399999992px, -1.9999999999px) rotate(180deg);
|
|
341
|
+
-moz-animation: translate(-15.3399999992px, -1.9999999999px) rotate(180deg);
|
|
342
|
+
-o-animation: translate(-15.3399999992px, -1.9999999999px) rotate(180deg);
|
|
343
|
+
animation: blink 0.8333333333s linear 0.4166666667s infinite;
|
|
344
|
+
-webkit-animation: blink 0.8333333333s linear 0.4166666667s infinite;
|
|
345
|
+
-moz-animation: blink 0.8333333333s linear 0.4166666667s infinite;
|
|
346
|
+
-o-animation: blink 0.8333333333s linear 0.4166666667s infinite;
|
|
347
|
+
}
|
|
348
|
+
.loader__item__5 {
|
|
349
|
+
transform: translate(-12.2646210959px, -9.4246211842px) rotate(225deg);
|
|
350
|
+
-webkit-animation: translate(-12.2646210959px, -9.4246211842px) rotate(225deg);
|
|
351
|
+
-moz-animation: translate(-12.2646210959px, -9.4246211842px) rotate(225deg);
|
|
352
|
+
-o-animation: translate(-12.2646210959px, -9.4246211842px) rotate(225deg);
|
|
353
|
+
animation: blink 0.8333333333s linear 0.5208333333s infinite;
|
|
354
|
+
-webkit-animation: blink 0.8333333333s linear 0.5208333333s infinite;
|
|
355
|
+
-moz-animation: blink 0.8333333333s linear 0.5208333333s infinite;
|
|
356
|
+
-o-animation: blink 0.8333333333s linear 0.5208333333s infinite;
|
|
357
|
+
}
|
|
358
|
+
.loader__item__6 {
|
|
359
|
+
transform: translate(-4.8399941857px, -12.499998805px) rotate(270deg);
|
|
360
|
+
-webkit-animation: translate(-4.8399941857px, -12.499998805px) rotate(270deg);
|
|
361
|
+
-moz-animation: translate(-4.8399941857px, -12.499998805px) rotate(270deg);
|
|
362
|
+
-o-animation: translate(-4.8399941857px, -12.499998805px) rotate(270deg);
|
|
363
|
+
animation: blink 0.8333333333s linear 0.625s infinite;
|
|
364
|
+
-webkit-animation: blink 0.8333333333s linear 0.625s infinite;
|
|
365
|
+
-moz-animation: blink 0.8333333333s linear 0.625s infinite;
|
|
366
|
+
-o-animation: blink 0.8333333333s linear 0.625s infinite;
|
|
367
|
+
}
|
|
368
|
+
.loader__item__7 {
|
|
369
|
+
transform: translate(2.5847915061px, -9.4245803212px) rotate(315deg);
|
|
370
|
+
-webkit-animation: translate(2.5847915061px, -9.4245803212px) rotate(315deg);
|
|
371
|
+
-moz-animation: translate(2.5847915061px, -9.4245803212px) rotate(315deg);
|
|
372
|
+
-o-animation: translate(2.5847915061px, -9.4245803212px) rotate(315deg);
|
|
373
|
+
animation: blink 0.8333333333s linear 0.7291666667s infinite;
|
|
374
|
+
-webkit-animation: blink 0.8333333333s linear 0.7291666667s infinite;
|
|
375
|
+
-moz-animation: blink 0.8333333333s linear 0.7291666667s infinite;
|
|
376
|
+
-o-animation: blink 0.8333333333s linear 0.7291666667s infinite;
|
|
377
|
+
}
|
|
378
|
+
.loader__item__8 {
|
|
379
|
+
transform: translate(5.6631628524px, -1.99913122px) rotate(360deg);
|
|
380
|
+
-webkit-animation: translate(5.6631628524px, -1.99913122px) rotate(360deg);
|
|
381
|
+
-moz-animation: translate(5.6631628524px, -1.99913122px) rotate(360deg);
|
|
382
|
+
-o-animation: translate(5.6631628524px, -1.99913122px) rotate(360deg);
|
|
383
|
+
animation: blink 0.8333333333s linear 0.8333333333s infinite;
|
|
384
|
+
-webkit-animation: blink 0.8333333333s linear 0.8333333333s infinite;
|
|
385
|
+
-moz-animation: blink 0.8333333333s linear 0.8333333333s infinite;
|
|
386
|
+
-o-animation: blink 0.8333333333s linear 0.8333333333s infinite;
|
|
387
|
+
}
|
|
388
|
+
.loader__item__8 {
|
|
389
|
+
max-width: 8.5px;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
@keyframes blink {
|
|
393
|
+
0% {
|
|
394
|
+
background: #4745B7;
|
|
395
|
+
}
|
|
396
|
+
100% {
|
|
397
|
+
background: #CCCBF8;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
@keyframes rotate {
|
|
401
|
+
0% {
|
|
402
|
+
transform: rotate(0deg);
|
|
403
|
+
}
|
|
404
|
+
100% {
|
|
405
|
+
background: rotate(360deg);
|
|
406
|
+
}
|
|
407
|
+
}
|