@gataca/qr 0.0.21 → 0.0.22

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.
Files changed (99) hide show
  1. package/dist/cjs/gat-icon-alert-0ad19b26.js +14 -0
  2. package/dist/cjs/gataca-autoqr.cjs.entry.js +106 -0
  3. package/dist/cjs/gataca-qr_2.cjs.entry.js +295 -0
  4. package/dist/cjs/gataca-qrws.cjs.entry.js +252 -0
  5. package/dist/cjs/gataca-ssibutton_2.cjs.entry.js +317 -0
  6. package/dist/cjs/gatacaqr.cjs.js +19 -0
  7. package/dist/cjs/index-93d47a75.js +1469 -0
  8. package/dist/cjs/index.cjs.js +16 -0
  9. package/dist/cjs/loader.cjs.js +21 -0
  10. package/dist/cjs/qr-code-styling-412bbc7a.js +28 -0
  11. package/dist/cjs/utils-ef28b844.js +27 -0
  12. package/dist/collection/assets/icons/gat-icon-alert.svg +5 -0
  13. package/dist/collection/assets/icons/gat-icon-check.svg +5 -0
  14. package/dist/collection/assets/icons/gat-icon-refresh.svg +4 -0
  15. package/dist/collection/assets/images/logo_gataca.svg +7 -0
  16. package/dist/collection/collection-manifest.json +17 -0
  17. package/dist/collection/components/gataca-autoqr/gataca-autoqr.css +116 -0
  18. package/dist/collection/components/gataca-autoqr/gataca-autoqr.js +347 -0
  19. package/dist/collection/components/gataca-qr/components/qr/QR.js +5 -0
  20. package/dist/collection/components/gataca-qr/components/readQR/ReadQR.js +11 -0
  21. package/dist/collection/components/gataca-qr/components/readQR/components/AnimatedLoader.js +4 -0
  22. package/dist/collection/components/gataca-qr/components/retryButton/RetryButton.js +13 -0
  23. package/dist/collection/components/gataca-qr/components/success/Success.js +8 -0
  24. package/dist/collection/components/gataca-qr/gataca-qr.css +399 -0
  25. package/dist/collection/components/gataca-qr/gataca-qr.js +988 -0
  26. package/dist/collection/components/gataca-qrdisplay/gataca-qrdisplay.js +178 -0
  27. package/dist/collection/components/gataca-qrws/components/qr/QR.js +5 -0
  28. package/dist/collection/components/gataca-qrws/components/readQR/ReadQR.js +11 -0
  29. package/dist/collection/components/gataca-qrws/components/readQR/components/AnimatedLoader.js +4 -0
  30. package/dist/collection/components/gataca-qrws/components/retryButton/RetryButton.js +13 -0
  31. package/dist/collection/components/gataca-qrws/components/success/Success.js +8 -0
  32. package/dist/collection/components/gataca-qrws/gataca-qrws.css +400 -0
  33. package/dist/collection/components/gataca-qrws/gataca-qrws.js +997 -0
  34. package/dist/collection/components/gataca-ssibutton/gataca-ssibutton.css +116 -0
  35. package/dist/collection/components/gataca-ssibutton/gataca-ssibutton.js +981 -0
  36. package/dist/collection/components/gataca-ssibuttonws/gataca-ssibuttonws.css +116 -0
  37. package/dist/collection/components/gataca-ssibuttonws/gataca-ssibuttonws.js +434 -0
  38. package/dist/collection/index.js +2 -0
  39. package/dist/collection/utils/index.js +1 -0
  40. package/dist/collection/utils/utils.js +22 -0
  41. package/dist/components/gat-icon-alert.js +30 -0
  42. package/dist/components/gataca-autoqr.js +163 -0
  43. package/dist/components/gataca-qr.js +6 -0
  44. package/dist/components/gataca-qr2.js +310 -0
  45. package/dist/components/gataca-qrdisplay.js +6 -0
  46. package/dist/components/gataca-qrdisplay2.js +95 -0
  47. package/dist/components/gataca-qrws.js +6 -0
  48. package/dist/components/gataca-qrws2.js +311 -0
  49. package/dist/components/gataca-ssibutton.js +6 -0
  50. package/dist/{gatacaqr/gataca-ssibutton.entry.js → components/gataca-ssibutton2.js} +80 -10
  51. package/dist/components/gataca-ssibuttonws.js +6 -0
  52. package/dist/{gatacaqr/gataca-ssibuttonws.entry.js → components/gataca-ssibuttonws2.js} +56 -8
  53. package/dist/components/index.js +8 -0
  54. package/dist/{gatacaqr/gat-icon-alert-13a1894e.js → esm/gat-icon-alert-7b06ef3a.js} +3 -1
  55. package/dist/{gatacaqr → esm}/gataca-autoqr.entry.js +6 -5
  56. package/dist/{gatacaqr/gataca-qr.entry.js → esm/gataca-qr_2.entry.js} +52 -11
  57. package/dist/{gatacaqr → esm}/gataca-qrws.entry.js +8 -8
  58. package/dist/esm/gataca-ssibutton_2.entry.js +312 -0
  59. package/dist/esm/gatacaqr.js +17 -0
  60. package/dist/esm/index-2be54f32.js +1443 -0
  61. package/dist/esm/index.js +1 -0
  62. package/dist/esm/loader.js +17 -0
  63. package/dist/esm/polyfills/core-js.js +11 -0
  64. package/dist/esm/polyfills/css-shim.js +1 -0
  65. package/dist/esm/polyfills/dom.js +79 -0
  66. package/dist/esm/polyfills/es5-html-element.js +1 -0
  67. package/dist/esm/polyfills/index.js +34 -0
  68. package/dist/esm/polyfills/system.js +6 -0
  69. package/dist/esm/qr-code-styling-0eeb38d5.js +26 -0
  70. package/dist/gatacaqr/gatacaqr.esm.js +1 -129
  71. package/dist/gatacaqr/index.esm.js +1 -1
  72. package/dist/gatacaqr/p-0be4566d.js +1 -0
  73. package/dist/gatacaqr/p-2cd7b062.js +1 -0
  74. package/dist/gatacaqr/p-5ae5f952.js +2 -0
  75. package/dist/gatacaqr/p-5e81ab9e.entry.js +1 -0
  76. package/dist/gatacaqr/p-92a2e6f0.entry.js +1 -0
  77. package/dist/gatacaqr/p-9af5d2fe.entry.js +1 -0
  78. package/dist/gatacaqr/p-dc592fa5.entry.js +1 -0
  79. package/dist/gatacaqr/p-ea783014.js +1 -0
  80. package/dist/index.cjs.js +1 -0
  81. package/dist/index.js +1 -0
  82. package/dist/types/components/gataca-autoqr/gataca-autoqr.d.ts +6 -0
  83. package/dist/types/components/gataca-qr/components/qr/QR.d.ts +2 -0
  84. package/dist/types/components/gataca-qr/gataca-qr.d.ts +6 -0
  85. package/dist/types/components/gataca-qrdisplay/gataca-qrdisplay.d.ts +6 -0
  86. package/dist/types/components/gataca-qrws/components/qr/QR.d.ts +2 -0
  87. package/dist/types/components/gataca-qrws/gataca-qrws.d.ts +6 -0
  88. package/dist/types/components/gataca-ssibutton/gataca-ssibutton.d.ts +6 -0
  89. package/dist/types/components/gataca-ssibuttonws/gataca-ssibuttonws.d.ts +6 -0
  90. package/dist/types/components.d.ts +49 -0
  91. package/package.json +1 -1
  92. package/dist/gatacaqr/app-globals-0f993ce5.js +0 -3
  93. package/dist/gatacaqr/css-shim-8eec97b3.js +0 -4
  94. package/dist/gatacaqr/dom-1b0cf05d.js +0 -73
  95. package/dist/gatacaqr/gataca-qrdisplay-55780157.js +0 -97
  96. package/dist/gatacaqr/gataca-qrdisplay.entry.js +0 -2
  97. package/dist/gatacaqr/index-4bc6f36b.js +0 -3262
  98. package/dist/gatacaqr/shadow-css-146f2f6f.js +0 -387
  99. /package/dist/{gatacaqr → esm}/utils-63e7a33b.js +0 -0
@@ -0,0 +1,399 @@
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, .blured {
197
+ height: 252px;
198
+ width: 252px;
199
+ border: 1px dashed #a1a1a1;
200
+ border-radius: 12px;
201
+ position: relative;
202
+ top: 24px;
203
+ margin: 0 24px 24px;
204
+ display: flex;
205
+ overflow: hidden;
206
+ justify-content: center;
207
+ align-items: center;
208
+ }
209
+
210
+ #qrwait {
211
+ display: flex;
212
+ justify-content: center;
213
+ }
214
+
215
+ #qrwait,
216
+ #notify {
217
+ width: 100%;
218
+ height: 100%;
219
+ top: 0;
220
+ left: 0;
221
+ border-radius: 20px;
222
+ }
223
+
224
+ #notify {
225
+ z-index: 10;
226
+ position: absolute;
227
+ justify-self: center;
228
+ justify-items: center;
229
+ justify-content: center;
230
+ align-items: center;
231
+ align-content: center;
232
+ display: flex;
233
+ flex-direction: column;
234
+ box-sizing: border-box;
235
+ padding: 20px;
236
+ background: rgba(255, 255, 255, 0.95);
237
+ }
238
+ #notify > img {
239
+ padding-bottom: 12px;
240
+ }
241
+
242
+ .alert {
243
+ display: flex;
244
+ flex-direction: row;
245
+ justify-content: start;
246
+ width: 252px;
247
+ position: absolute;
248
+ bottom: 0px;
249
+ border: 1px solid #ee888c;
250
+ background: #ffdedf;
251
+ border-radius: 11px;
252
+ box-sizing: border-box;
253
+ padding: 12px;
254
+ align-items: center;
255
+ gap: 12px;
256
+ }
257
+ .alert > img {
258
+ margin: 0;
259
+ }
260
+ .alert > p {
261
+ font-family: "Poppins", "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
262
+ font-size: 14px;
263
+ font-style: normal;
264
+ font-weight: 400;
265
+ margin-top: 0;
266
+ line-height: 16px;
267
+ color: #1e1e20;
268
+ }
269
+
270
+ .notify-text {
271
+ font-family: "Poppins", "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
272
+ font-size: 14px;
273
+ font-style: normal;
274
+ font-weight: 400;
275
+ line-height: 16px;
276
+ color: #707074;
277
+ text-align: center;
278
+ }
279
+
280
+ .containerLoader {
281
+ display: flex;
282
+ justify-content: center;
283
+ align-items: center;
284
+ width: 30px;
285
+ height: 30px;
286
+ margin-bottom: 12px;
287
+ }
288
+
289
+ .loader {
290
+ position: relative;
291
+ margin-left: 0 !important;
292
+ }
293
+ .loader__item {
294
+ position: absolute;
295
+ width: 9.68px;
296
+ height: 4px;
297
+ background: transparent;
298
+ border-radius: 2px;
299
+ }
300
+ .loader__item__1 {
301
+ transform: translate(2.5846212025px, 5.4246212025px) rotate(45deg);
302
+ -webkit-animation: translate(2.5846212025px, 5.4246212025px) rotate(45deg);
303
+ -moz-animation: translate(2.5846212025px, 5.4246212025px) rotate(45deg);
304
+ -o-animation: translate(2.5846212025px, 5.4246212025px) rotate(45deg);
305
+ animation: blink 0.8333333333s linear 0.1041666667s infinite;
306
+ -webkit-animation: blink 0.8333333333s linear 0.1041666667s infinite;
307
+ -moz-animation: blink 0.8333333333s linear 0.1041666667s infinite;
308
+ -o-animation: blink 0.8333333333s linear 0.1041666667s infinite;
309
+ }
310
+ .loader__item__2 {
311
+ transform: translate(-4.84px, 8.5px) rotate(90deg);
312
+ -webkit-animation: translate(-4.84px, 8.5px) rotate(90deg);
313
+ -moz-animation: translate(-4.84px, 8.5px) rotate(90deg);
314
+ -o-animation: translate(-4.84px, 8.5px) rotate(90deg);
315
+ animation: blink 0.8333333333s linear 0.2083333333s infinite;
316
+ -webkit-animation: blink 0.8333333333s linear 0.2083333333s infinite;
317
+ -moz-animation: blink 0.8333333333s linear 0.2083333333s infinite;
318
+ -o-animation: blink 0.8333333333s linear 0.2083333333s infinite;
319
+ }
320
+ .loader__item__3 {
321
+ transform: translate(-12.2646212025px, 5.4246212025px) rotate(135deg);
322
+ -webkit-animation: translate(-12.2646212025px, 5.4246212025px) rotate(135deg);
323
+ -moz-animation: translate(-12.2646212025px, 5.4246212025px) rotate(135deg);
324
+ -o-animation: translate(-12.2646212025px, 5.4246212025px) rotate(135deg);
325
+ animation: blink 0.8333333333s linear 0.3125s infinite;
326
+ -webkit-animation: blink 0.8333333333s linear 0.3125s infinite;
327
+ -moz-animation: blink 0.8333333333s linear 0.3125s infinite;
328
+ -o-animation: blink 0.8333333333s linear 0.3125s infinite;
329
+ }
330
+ .loader__item__4 {
331
+ transform: translate(-15.3399999992px, -1.9999999999px) rotate(180deg);
332
+ -webkit-animation: translate(-15.3399999992px, -1.9999999999px) rotate(180deg);
333
+ -moz-animation: translate(-15.3399999992px, -1.9999999999px) rotate(180deg);
334
+ -o-animation: translate(-15.3399999992px, -1.9999999999px) rotate(180deg);
335
+ animation: blink 0.8333333333s linear 0.4166666667s infinite;
336
+ -webkit-animation: blink 0.8333333333s linear 0.4166666667s infinite;
337
+ -moz-animation: blink 0.8333333333s linear 0.4166666667s infinite;
338
+ -o-animation: blink 0.8333333333s linear 0.4166666667s infinite;
339
+ }
340
+ .loader__item__5 {
341
+ transform: translate(-12.2646210959px, -9.4246211842px) rotate(225deg);
342
+ -webkit-animation: translate(-12.2646210959px, -9.4246211842px) rotate(225deg);
343
+ -moz-animation: translate(-12.2646210959px, -9.4246211842px) rotate(225deg);
344
+ -o-animation: translate(-12.2646210959px, -9.4246211842px) rotate(225deg);
345
+ animation: blink 0.8333333333s linear 0.5208333333s infinite;
346
+ -webkit-animation: blink 0.8333333333s linear 0.5208333333s infinite;
347
+ -moz-animation: blink 0.8333333333s linear 0.5208333333s infinite;
348
+ -o-animation: blink 0.8333333333s linear 0.5208333333s infinite;
349
+ }
350
+ .loader__item__6 {
351
+ transform: translate(-4.8399941857px, -12.499998805px) rotate(270deg);
352
+ -webkit-animation: translate(-4.8399941857px, -12.499998805px) rotate(270deg);
353
+ -moz-animation: translate(-4.8399941857px, -12.499998805px) rotate(270deg);
354
+ -o-animation: translate(-4.8399941857px, -12.499998805px) rotate(270deg);
355
+ animation: blink 0.8333333333s linear 0.625s infinite;
356
+ -webkit-animation: blink 0.8333333333s linear 0.625s infinite;
357
+ -moz-animation: blink 0.8333333333s linear 0.625s infinite;
358
+ -o-animation: blink 0.8333333333s linear 0.625s infinite;
359
+ }
360
+ .loader__item__7 {
361
+ transform: translate(2.5847915061px, -9.4245803212px) rotate(315deg);
362
+ -webkit-animation: translate(2.5847915061px, -9.4245803212px) rotate(315deg);
363
+ -moz-animation: translate(2.5847915061px, -9.4245803212px) rotate(315deg);
364
+ -o-animation: translate(2.5847915061px, -9.4245803212px) rotate(315deg);
365
+ animation: blink 0.8333333333s linear 0.7291666667s infinite;
366
+ -webkit-animation: blink 0.8333333333s linear 0.7291666667s infinite;
367
+ -moz-animation: blink 0.8333333333s linear 0.7291666667s infinite;
368
+ -o-animation: blink 0.8333333333s linear 0.7291666667s infinite;
369
+ }
370
+ .loader__item__8 {
371
+ transform: translate(5.6631628524px, -1.99913122px) rotate(360deg);
372
+ -webkit-animation: translate(5.6631628524px, -1.99913122px) rotate(360deg);
373
+ -moz-animation: translate(5.6631628524px, -1.99913122px) rotate(360deg);
374
+ -o-animation: translate(5.6631628524px, -1.99913122px) rotate(360deg);
375
+ animation: blink 0.8333333333s linear 0.8333333333s infinite;
376
+ -webkit-animation: blink 0.8333333333s linear 0.8333333333s infinite;
377
+ -moz-animation: blink 0.8333333333s linear 0.8333333333s infinite;
378
+ -o-animation: blink 0.8333333333s linear 0.8333333333s infinite;
379
+ }
380
+ .loader__item__8 {
381
+ max-width: 8.5px;
382
+ }
383
+
384
+ @keyframes blink {
385
+ 0% {
386
+ background: #4745B7;
387
+ }
388
+ 100% {
389
+ background: #CCCBF8;
390
+ }
391
+ }
392
+ @keyframes rotate {
393
+ 0% {
394
+ transform: rotate(0deg);
395
+ }
396
+ 100% {
397
+ background: rotate(360deg);
398
+ }
399
+ }