@telefonica/mistica 16.0.0 → 16.1.0
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/README.md +11 -9
- package/css/mistica.css +1 -1
- package/dist/box.d.ts +1 -0
- package/dist/box.js +12 -12
- package/dist/card.d.ts +14 -2
- package/dist/card.js +210 -206
- package/dist/credit-card-expiration-field.d.ts +1 -1
- package/dist/credit-card-expiration-field.js +53 -52
- package/dist/credit-card-number-field.d.ts +1 -1
- package/dist/credit-card-number-field.js +47 -45
- package/dist/cvv-field.d.ts +1 -1
- package/dist/cvv-field.js +38 -37
- package/dist/date-field.d.ts +1 -1
- package/dist/date-field.js +15 -13
- package/dist/date-time-field.d.ts +1 -1
- package/dist/date-time-field.js +13 -11
- package/dist/decimal-field.d.ts +1 -1
- package/dist/decimal-field.js +39 -38
- package/dist/email-field.d.ts +1 -1
- package/dist/email-field.js +21 -19
- package/dist/form-context.d.ts +7 -2
- package/dist/form-context.js +69 -62
- package/dist/form.d.ts +2 -1
- package/dist/form.js +94 -80
- package/dist/iban-field.d.ts +1 -1
- package/dist/iban-field.js +32 -30
- package/dist/index.d.ts +12 -3
- package/dist/index.js +19 -8
- package/dist/inline.d.ts +2 -1
- package/dist/inline.js +16 -15
- package/dist/integer-field.d.ts +1 -1
- package/dist/integer-field.js +30 -30
- package/dist/month-field.d.ts +1 -1
- package/dist/month-field.js +15 -13
- package/dist/package-version.js +1 -1
- package/dist/password-field.d.ts +1 -1
- package/dist/password-field.js +24 -22
- package/dist/phone-number-field.d.ts +4 -1
- package/dist/phone-number-field.js +84 -52
- package/dist/pin-field.js +21 -20
- package/dist/radio-button.d.ts +1 -0
- package/dist/radio-button.js +42 -41
- package/dist/rating.css-mistica.js +44 -0
- package/dist/rating.css.d.ts +11 -0
- package/dist/rating.css.ts.vanilla.css-mistica.js +11 -0
- package/dist/rating.d.ts +37 -0
- package/dist/rating.js +320 -0
- package/dist/search-field.d.ts +1 -0
- package/dist/search-field.js +18 -16
- package/dist/select.js +36 -33
- package/dist/sheet-action-row.css-mistica.js +13 -0
- package/dist/sheet-action-row.css.d.ts +1 -0
- package/dist/sheet-actions-list.d.ts +26 -0
- package/dist/sheet-actions-list.js +147 -0
- package/dist/sheet-actions.d.ts +23 -0
- package/dist/sheet-actions.js +175 -0
- package/dist/{sheet.css-mistica.js → sheet-common.css-mistica.js} +15 -21
- package/dist/{sheet.css.d.ts → sheet-common.css.d.ts} +0 -2
- package/dist/sheet-common.css.ts.vanilla.css-mistica.js +11 -0
- package/dist/sheet-common.d.ts +24 -0
- package/dist/sheet-common.js +429 -0
- package/dist/sheet-info.css-mistica.js +12 -0
- package/dist/sheet-info.css.d.ts +1 -0
- package/dist/sheet-info.d.ts +28 -0
- package/dist/sheet-info.js +156 -0
- package/dist/sheet-native.d.ts +2 -0
- package/dist/sheet-native.js +173 -0
- package/dist/sheet-radio-list.d.ts +22 -0
- package/dist/sheet-radio-list.js +143 -0
- package/dist/sheet-root.d.ts +4 -85
- package/dist/sheet-root.js +48 -322
- package/dist/sheet-types.d.ts +88 -0
- package/dist/sheet-web.d.ts +8 -0
- package/dist/sheet-web.js +183 -0
- package/dist/slider.js +40 -39
- package/dist/switch-component.js +18 -17
- package/dist/text-field-base.d.ts +3 -1
- package/dist/text-field-base.js +74 -66
- package/dist/text-field-components.css-mistica.js +14 -14
- package/dist/text-field-components.css.d.ts +2 -2
- package/dist/text-field-components.js +49 -39
- package/dist/text-field.d.ts +1 -0
- package/dist/text-field.js +24 -22
- package/dist/text-tokens.d.ts +14 -0
- package/dist/text-tokens.js +145 -89
- package/dist/theme-context-provider.js +6 -5
- package/dist/theme.d.ts +2 -0
- package/dist/utils/credit-card.d.ts +2 -2
- package/dist/utils/credit-card.js +1 -1
- package/dist/vivinho-loading-animation/in-lottie.json.js +544 -612
- package/dist/vivinho-loading-animation/out-lottie.json.js +828 -896
- package/dist/vivinho-loading-animation/pulse-lottie.json.js +798 -866
- package/dist/vivinho-loading-animation/wave-lottie.json.js +4303 -4409
- package/dist-es/box.js +18 -18
- package/dist-es/card.js +305 -301
- package/dist-es/credit-card-expiration-field.js +57 -56
- package/dist-es/credit-card-number-field.js +74 -72
- package/dist-es/cvv-field.js +82 -81
- package/dist-es/date-field.js +29 -27
- package/dist-es/date-time-field.js +29 -27
- package/dist-es/decimal-field.js +46 -45
- package/dist-es/email-field.js +26 -24
- package/dist-es/form-context.js +70 -63
- package/dist-es/form.js +102 -88
- package/dist-es/iban-field.js +35 -33
- package/dist-es/index.js +1822 -1817
- package/dist-es/inline.js +26 -25
- package/dist-es/integer-field.js +31 -31
- package/dist-es/month-field.js +28 -26
- package/dist-es/package-version.js +1 -1
- package/dist-es/password-field.js +37 -35
- package/dist-es/phone-number-field.js +92 -60
- package/dist-es/pin-field.js +32 -31
- package/dist-es/radio-button.js +42 -41
- package/dist-es/rating.css-mistica.js +6 -0
- package/dist-es/rating.css.ts.vanilla.css-mistica.js +2 -0
- package/dist-es/rating.js +257 -0
- package/dist-es/search-field.js +33 -31
- package/dist-es/select.js +49 -46
- package/dist-es/sheet-action-row.css-mistica.js +4 -0
- package/dist-es/sheet-actions-list.js +92 -0
- package/dist-es/sheet-actions.js +125 -0
- package/dist-es/sheet-common.css-mistica.js +4 -0
- package/dist-es/sheet-common.css.ts.vanilla.css-mistica.js +2 -0
- package/dist-es/sheet-common.js +366 -0
- package/dist-es/sheet-info.css-mistica.js +3 -0
- package/dist-es/sheet-info.js +101 -0
- package/dist-es/sheet-native.js +164 -0
- package/dist-es/sheet-radio-list.js +88 -0
- package/dist-es/sheet-root.js +50 -319
- package/dist-es/sheet-web.js +128 -0
- package/dist-es/slider.js +49 -48
- package/dist-es/style.css +1 -1
- package/dist-es/switch-component.js +27 -26
- package/dist-es/text-field-base.js +108 -100
- package/dist-es/text-field-components.css-mistica.js +2 -2
- package/dist-es/text-field-components.js +70 -60
- package/dist-es/text-field.js +33 -31
- package/dist-es/text-tokens.js +80 -45
- package/dist-es/theme-context-provider.js +20 -19
- package/dist-es/utils/credit-card.js +1 -1
- package/dist-es/vivinho-loading-animation/in-lottie.json.js +534 -599
- package/dist-es/vivinho-loading-animation/out-lottie.json.js +821 -886
- package/dist-es/vivinho-loading-animation/pulse-lottie.json.js +790 -855
- package/dist-es/vivinho-loading-animation/wave-lottie.json.js +4297 -4400
- package/package.json +4 -3
- package/dist/sheet.d.ts +0 -107
- package/dist/sheet.js +0 -642
- package/dist-es/sheet.css-mistica.js +0 -4
- package/dist-es/sheet.js +0 -567
- /package/dist/{sheet.css.ts.vanilla.css-mistica.js → sheet-action-row.css.ts.vanilla.css-mistica.js} +0 -0
- /package/dist-es/{sheet.css.ts.vanilla.css-mistica.js → sheet-action-row.css.ts.vanilla.css-mistica.js} +0 -0
package/dist/text-tokens.js
CHANGED
|
@@ -22,25 +22,25 @@ _export(exports, {
|
|
|
22
22
|
return I;
|
|
23
23
|
},
|
|
24
24
|
closeButtonLabel: function() {
|
|
25
|
-
return
|
|
25
|
+
return E;
|
|
26
26
|
},
|
|
27
27
|
closeNavigationMenu: function() {
|
|
28
|
-
return
|
|
28
|
+
return x;
|
|
29
29
|
},
|
|
30
30
|
counterDecreaseLabel: function() {
|
|
31
|
-
return
|
|
31
|
+
return z;
|
|
32
32
|
},
|
|
33
33
|
counterIncreaseLabel: function() {
|
|
34
|
-
return
|
|
34
|
+
return j;
|
|
35
35
|
},
|
|
36
36
|
counterMaxValue: function() {
|
|
37
|
-
return
|
|
37
|
+
return K;
|
|
38
38
|
},
|
|
39
39
|
counterMinValue: function() {
|
|
40
|
-
return
|
|
40
|
+
return W;
|
|
41
41
|
},
|
|
42
42
|
counterQuantity: function() {
|
|
43
|
-
return
|
|
43
|
+
return q;
|
|
44
44
|
},
|
|
45
45
|
counterRemoveLabel: function() {
|
|
46
46
|
return H;
|
|
@@ -64,55 +64,58 @@ _export(exports, {
|
|
|
64
64
|
return C;
|
|
65
65
|
},
|
|
66
66
|
formCreditCardCvvLabel: function() {
|
|
67
|
-
return
|
|
67
|
+
return g;
|
|
68
68
|
},
|
|
69
69
|
formCreditCardCvvTooltipAmex: function() {
|
|
70
|
-
return
|
|
70
|
+
return f;
|
|
71
71
|
},
|
|
72
72
|
formCreditCardCvvTooltipVisaMc: function() {
|
|
73
73
|
return v;
|
|
74
74
|
},
|
|
75
75
|
formCreditCardCvvTooltipVisaMcButtonClose: function() {
|
|
76
|
-
return
|
|
76
|
+
return h;
|
|
77
77
|
},
|
|
78
78
|
formCreditCardCvvTooltipVisaMcButtonOpen: function() {
|
|
79
|
-
return
|
|
79
|
+
return b;
|
|
80
80
|
},
|
|
81
81
|
formCreditCardExpirationError: function() {
|
|
82
|
-
return
|
|
82
|
+
return V;
|
|
83
83
|
},
|
|
84
84
|
formCreditCardExpirationLabel: function() {
|
|
85
|
-
return
|
|
85
|
+
return p;
|
|
86
86
|
},
|
|
87
87
|
formCreditCardNumberError: function() {
|
|
88
|
-
return
|
|
88
|
+
return L;
|
|
89
89
|
},
|
|
90
90
|
formCreditCardNumberLabel: function() {
|
|
91
|
-
return
|
|
91
|
+
return m;
|
|
92
92
|
},
|
|
93
93
|
formDateOutOfRangeError: function() {
|
|
94
|
-
return
|
|
94
|
+
return A;
|
|
95
95
|
},
|
|
96
96
|
formEmailError: function() {
|
|
97
|
-
return
|
|
97
|
+
return S;
|
|
98
|
+
},
|
|
99
|
+
formErrorsAlertMessage: function() {
|
|
100
|
+
return c;
|
|
98
101
|
},
|
|
99
102
|
formFieldErrorIsMandatory: function() {
|
|
100
|
-
return
|
|
103
|
+
return u;
|
|
101
104
|
},
|
|
102
105
|
formFieldOptionalLabelSuffix: function() {
|
|
103
|
-
return
|
|
106
|
+
return l;
|
|
104
107
|
},
|
|
105
108
|
formIbanError: function() {
|
|
106
|
-
return
|
|
109
|
+
return M;
|
|
107
110
|
},
|
|
108
111
|
formSearchClear: function() {
|
|
109
|
-
return
|
|
112
|
+
return y;
|
|
110
113
|
},
|
|
111
114
|
linkOpensInCurrentPage: function() {
|
|
112
|
-
return
|
|
115
|
+
return r;
|
|
113
116
|
},
|
|
114
117
|
linkOpensInNewTab: function() {
|
|
115
|
-
return
|
|
118
|
+
return s;
|
|
116
119
|
},
|
|
117
120
|
loading: function() {
|
|
118
121
|
return o;
|
|
@@ -121,76 +124,94 @@ _export(exports, {
|
|
|
121
124
|
return B;
|
|
122
125
|
},
|
|
123
126
|
modalClose: function() {
|
|
124
|
-
return
|
|
127
|
+
return a;
|
|
125
128
|
},
|
|
126
129
|
openNavigationMenu: function() {
|
|
127
|
-
return
|
|
130
|
+
return $;
|
|
128
131
|
},
|
|
129
132
|
pauseIconButtonLabel: function() {
|
|
130
|
-
return
|
|
133
|
+
return F;
|
|
131
134
|
},
|
|
132
135
|
pinFieldInputLabel: function() {
|
|
133
|
-
return
|
|
136
|
+
return R;
|
|
134
137
|
},
|
|
135
138
|
playIconButtonLabel: function() {
|
|
136
|
-
return
|
|
139
|
+
return k;
|
|
137
140
|
},
|
|
138
141
|
progressBarCompletedLabel: function() {
|
|
139
|
-
return
|
|
142
|
+
return O;
|
|
140
143
|
},
|
|
141
144
|
progressBarStepLabel: function() {
|
|
142
|
-
return
|
|
145
|
+
return T;
|
|
146
|
+
},
|
|
147
|
+
ratingBadLabel: function() {
|
|
148
|
+
return ce;
|
|
149
|
+
},
|
|
150
|
+
ratingGoodLabel: function() {
|
|
151
|
+
return ue;
|
|
152
|
+
},
|
|
153
|
+
ratingQuantitativeLabel: function() {
|
|
154
|
+
return pe;
|
|
155
|
+
},
|
|
156
|
+
ratingRegularLabel: function() {
|
|
157
|
+
return le;
|
|
158
|
+
},
|
|
159
|
+
ratingVeryBadLabel: function() {
|
|
160
|
+
return de;
|
|
161
|
+
},
|
|
162
|
+
ratingVeryGoodLabel: function() {
|
|
163
|
+
return me;
|
|
143
164
|
},
|
|
144
165
|
sheetConfirmButton: function() {
|
|
145
|
-
return
|
|
166
|
+
return w;
|
|
146
167
|
},
|
|
147
168
|
tableActionsHeaderLabel: function() {
|
|
148
|
-
return
|
|
169
|
+
return ie;
|
|
149
170
|
},
|
|
150
171
|
timerAnd: function() {
|
|
151
|
-
return
|
|
172
|
+
return Y;
|
|
152
173
|
},
|
|
153
174
|
timerDayLongLabel: function() {
|
|
154
175
|
return U;
|
|
155
176
|
},
|
|
156
177
|
timerDaysLongLabel: function() {
|
|
157
|
-
return
|
|
178
|
+
return X;
|
|
158
179
|
},
|
|
159
180
|
timerDaysShortLabel: function() {
|
|
160
|
-
return
|
|
181
|
+
return Z;
|
|
161
182
|
},
|
|
162
183
|
timerDisplayMinutesLabel: function() {
|
|
163
|
-
return
|
|
184
|
+
return re;
|
|
164
185
|
},
|
|
165
186
|
timerDisplaySecondsLabel: function() {
|
|
166
|
-
return
|
|
187
|
+
return ae;
|
|
167
188
|
},
|
|
168
189
|
timerHourLongLabel: function() {
|
|
169
|
-
return
|
|
190
|
+
return _;
|
|
170
191
|
},
|
|
171
192
|
timerHoursLongLabel: function() {
|
|
172
|
-
return
|
|
193
|
+
return ee;
|
|
173
194
|
},
|
|
174
195
|
timerHoursShortLabel: function() {
|
|
175
|
-
return
|
|
196
|
+
return G;
|
|
176
197
|
},
|
|
177
198
|
timerMinuteLongLabel: function() {
|
|
178
|
-
return
|
|
199
|
+
return ne;
|
|
179
200
|
},
|
|
180
201
|
timerMinutesLongLabel: function() {
|
|
181
|
-
return
|
|
202
|
+
return te;
|
|
182
203
|
},
|
|
183
204
|
timerMinutesShortLabel: function() {
|
|
184
205
|
return J;
|
|
185
206
|
},
|
|
186
207
|
timerSecondLongLabel: function() {
|
|
187
|
-
return
|
|
208
|
+
return oe;
|
|
188
209
|
},
|
|
189
210
|
timerSecondsLongLabel: function() {
|
|
190
|
-
return
|
|
211
|
+
return se;
|
|
191
212
|
},
|
|
192
213
|
timerSecondsShortLabel: function() {
|
|
193
|
-
return
|
|
214
|
+
return Q;
|
|
194
215
|
}
|
|
195
216
|
});
|
|
196
217
|
const e = {
|
|
@@ -213,17 +234,17 @@ const e = {
|
|
|
213
234
|
en: "Loading",
|
|
214
235
|
de: "Wird gespeichert",
|
|
215
236
|
pt: "Carregando"
|
|
216
|
-
},
|
|
237
|
+
}, s = {
|
|
217
238
|
es: "Se abre en ventana nueva",
|
|
218
239
|
en: "Opens in a new window",
|
|
219
240
|
de: "Wird in neuem Fenster ge\xf6ffnet",
|
|
220
241
|
pt: "Abre em nova janela"
|
|
221
|
-
},
|
|
242
|
+
}, r = {
|
|
222
243
|
es: "P\xe1gina actual",
|
|
223
244
|
en: "Current page",
|
|
224
245
|
de: "Aktuelle Seite",
|
|
225
246
|
pt: "P\xe1gina atual"
|
|
226
|
-
},
|
|
247
|
+
}, a = {
|
|
227
248
|
es: "Cerrar",
|
|
228
249
|
en: "Close",
|
|
229
250
|
de: "Schlie\xdfen",
|
|
@@ -239,26 +260,31 @@ const e = {
|
|
|
239
260
|
de: "Akzeptieren",
|
|
240
261
|
pt: "Aceitar"
|
|
241
262
|
}, c = {
|
|
263
|
+
es: "Revisa los siguientes errores:",
|
|
264
|
+
en: "Check the following errors:",
|
|
265
|
+
de: "Pr\xfcfe folgende Fehler:",
|
|
266
|
+
pt: "Confira os seguintes erros:"
|
|
267
|
+
}, l = {
|
|
242
268
|
es: "opcional",
|
|
243
269
|
en: "optional",
|
|
244
270
|
de: "optional",
|
|
245
271
|
pt: "opcional"
|
|
246
|
-
},
|
|
272
|
+
}, u = {
|
|
247
273
|
es: "Este campo es obligatorio",
|
|
248
274
|
en: "This field is required",
|
|
249
275
|
de: "Das ist ein Pflichtfeld",
|
|
250
276
|
pt: "Este campo \xe9 obrigat\xf3rio"
|
|
251
|
-
},
|
|
277
|
+
}, m = {
|
|
252
278
|
es: "N\xfamero de tarjeta",
|
|
253
279
|
en: "Card number",
|
|
254
280
|
de: "Kartennummer",
|
|
255
281
|
pt: "N\xfamero de cart\xe3o"
|
|
256
|
-
},
|
|
282
|
+
}, p = {
|
|
257
283
|
es: "Caducidad",
|
|
258
284
|
en: "Expiry",
|
|
259
285
|
de: "Ablaufdatum",
|
|
260
286
|
pt: "Expira\xe7\xe3o"
|
|
261
|
-
},
|
|
287
|
+
}, g = {
|
|
262
288
|
es: "CVV",
|
|
263
289
|
en: "CVV",
|
|
264
290
|
de: "CVV",
|
|
@@ -268,12 +294,12 @@ const e = {
|
|
|
268
294
|
en: "Incorrect CVV",
|
|
269
295
|
de: "Falsche CVV",
|
|
270
296
|
pt: "CVV incorreto"
|
|
271
|
-
},
|
|
297
|
+
}, b = {
|
|
272
298
|
es: "Mostrar ayuda CVV",
|
|
273
299
|
en: "Show CVV help",
|
|
274
300
|
de: "CVV-Hilfe anzeigen",
|
|
275
301
|
pt: "Exibir ajuda CVV"
|
|
276
|
-
},
|
|
302
|
+
}, h = {
|
|
277
303
|
es: "Ocultar ayuda CVV",
|
|
278
304
|
en: "Hide CVV help",
|
|
279
305
|
de: "CVV-Hilfe ausblenden",
|
|
@@ -283,42 +309,42 @@ const e = {
|
|
|
283
309
|
en: "The CVV is the 3 digits of the back of your card",
|
|
284
310
|
de: "Der CVV-Code besteht aus den 3 Ziffern auf der Kartenr\xfcckseite",
|
|
285
311
|
pt: "O CVV s\xe3o os 3 d\xedgitos do reverso de seu cart\xe3o"
|
|
286
|
-
},
|
|
312
|
+
}, f = {
|
|
287
313
|
es: "Si es American Express, a\xf1ade los 4 d\xedgitos del anverso",
|
|
288
314
|
en: "If it's American Express, add the 4-digit number on the front of the card",
|
|
289
315
|
de: "Bei American Express 4-stelligen Code auf der R\xfcckseite hinzuf\xfcgen",
|
|
290
316
|
pt: "Se for American Express, adicione os 4 d\xedgitos do anverso"
|
|
291
|
-
},
|
|
317
|
+
}, V = {
|
|
292
318
|
es: "Fecha no v\xe1lida",
|
|
293
319
|
en: "Invalid date",
|
|
294
320
|
de: "Datum ung\xfcltig",
|
|
295
321
|
pt: "Data inv\xe1lida"
|
|
296
|
-
},
|
|
322
|
+
}, L = {
|
|
297
323
|
es: "No es un n\xfamero de tarjeta v\xe1lido",
|
|
298
324
|
en: "The card number is not valid",
|
|
299
325
|
de: "Kartennummer ung\xfcltig",
|
|
300
326
|
pt: "N\xe3o \xe9 um n\xfamero de cart\xe3o v\xe1lido"
|
|
301
|
-
},
|
|
327
|
+
}, A = {
|
|
302
328
|
es: "Fecha no permitida",
|
|
303
329
|
en: "Invalid date",
|
|
304
330
|
de: "Unzul\xe4ssiges Datum",
|
|
305
331
|
pt: "Data n\xe3o permitida"
|
|
306
|
-
},
|
|
332
|
+
}, S = {
|
|
307
333
|
es: "Email incorrecto",
|
|
308
334
|
en: "Invalid email",
|
|
309
335
|
de: "Falsche E-Mail-Adresse",
|
|
310
336
|
pt: "Email incorreto"
|
|
311
|
-
},
|
|
337
|
+
}, M = {
|
|
312
338
|
es: "IBAN incorrecto",
|
|
313
339
|
en: "Incorrect IBAN",
|
|
314
340
|
de: "Falsche IBAN",
|
|
315
341
|
pt: "IBAN incorreto"
|
|
316
|
-
},
|
|
342
|
+
}, E = {
|
|
317
343
|
es: "Cerrar",
|
|
318
344
|
en: "Close",
|
|
319
345
|
de: "Schlie\xdfen",
|
|
320
346
|
pt: "Fechar"
|
|
321
|
-
},
|
|
347
|
+
}, y = {
|
|
322
348
|
es: "Borrar b\xfasqueda",
|
|
323
349
|
en: "Clear search",
|
|
324
350
|
de: "Suche l\xf6schen",
|
|
@@ -328,12 +354,12 @@ const e = {
|
|
|
328
354
|
en: "menu",
|
|
329
355
|
de: "Men\xfc",
|
|
330
356
|
pt: "menu"
|
|
331
|
-
},
|
|
357
|
+
}, $ = {
|
|
332
358
|
es: "Abrir men\xfa de navegaci\xf3n",
|
|
333
359
|
en: "Open navigation menu",
|
|
334
360
|
de: "Navigationsmen\xfc \xf6ffnen",
|
|
335
361
|
pt: "Abrir menu de navega\xe7\xe3o"
|
|
336
|
-
},
|
|
362
|
+
}, x = {
|
|
337
363
|
es: "Cerrar men\xfa de navegaci\xf3n",
|
|
338
364
|
en: "Close navigation menu",
|
|
339
365
|
de: "Navigationsmen\xfc schlie\xdfen",
|
|
@@ -358,32 +384,32 @@ const e = {
|
|
|
358
384
|
en: "previous",
|
|
359
385
|
de: "vorherige",
|
|
360
386
|
pt: "anterior"
|
|
361
|
-
},
|
|
387
|
+
}, k = {
|
|
362
388
|
es: "Reproducir",
|
|
363
389
|
en: "Play",
|
|
364
390
|
de: "Abspielen",
|
|
365
391
|
pt: "Reproduzir"
|
|
366
|
-
},
|
|
392
|
+
}, F = {
|
|
367
393
|
es: "Pausar",
|
|
368
394
|
en: "Pause",
|
|
369
395
|
de: "Pausieren",
|
|
370
396
|
pt: "Pausar"
|
|
371
|
-
},
|
|
397
|
+
}, w = {
|
|
372
398
|
es: "Continuar",
|
|
373
399
|
en: "Continue",
|
|
374
400
|
de: "Fortfahren",
|
|
375
401
|
pt: "Continuar"
|
|
376
|
-
},
|
|
402
|
+
}, O = {
|
|
377
403
|
es: "completo",
|
|
378
404
|
en: "completed",
|
|
379
405
|
de: "vollendet",
|
|
380
406
|
pt: "conclu\xeddo"
|
|
381
|
-
},
|
|
407
|
+
}, T = {
|
|
382
408
|
es: "Paso 1$s de 2$s",
|
|
383
409
|
en: "Step 1$s of 2$s",
|
|
384
410
|
de: "Schritt 1$s von 2$s",
|
|
385
411
|
pt: "Etapa 1$s de 2$s"
|
|
386
|
-
},
|
|
412
|
+
}, R = {
|
|
387
413
|
es: "D\xedgito 1$s de 2$s",
|
|
388
414
|
en: "Digit 1$s of 2$s",
|
|
389
415
|
de: "Ziffer 1$s von 2$s",
|
|
@@ -393,37 +419,37 @@ const e = {
|
|
|
393
419
|
en: "Remove element",
|
|
394
420
|
de: "Element entfernen",
|
|
395
421
|
pt: "Remover elemento"
|
|
396
|
-
},
|
|
422
|
+
}, j = {
|
|
397
423
|
es: "Aumentar valor",
|
|
398
424
|
en: "Increase value",
|
|
399
425
|
de: "Wert steigern",
|
|
400
426
|
pt: "aumentar valor"
|
|
401
|
-
},
|
|
427
|
+
}, z = {
|
|
402
428
|
es: "Disminuir valor",
|
|
403
429
|
en: "Decrease value",
|
|
404
430
|
de: "Wert verringern",
|
|
405
431
|
pt: "diminuir valor"
|
|
406
|
-
},
|
|
432
|
+
}, q = {
|
|
407
433
|
es: "cantidad",
|
|
408
434
|
en: "quantity",
|
|
409
435
|
de: "menge",
|
|
410
436
|
pt: "quantidade"
|
|
411
|
-
},
|
|
437
|
+
}, W = {
|
|
412
438
|
es: "m\xednimo",
|
|
413
439
|
en: "minimum of",
|
|
414
440
|
de: "minimal",
|
|
415
441
|
pt: "m\xednimo"
|
|
416
|
-
},
|
|
442
|
+
}, K = {
|
|
417
443
|
es: "m\xe1ximo",
|
|
418
444
|
en: "maximum of",
|
|
419
445
|
de: "maximal",
|
|
420
446
|
pt: "m\xe1ximo"
|
|
421
|
-
},
|
|
447
|
+
}, Z = {
|
|
422
448
|
es: "d",
|
|
423
449
|
en: "d",
|
|
424
450
|
de: "Tg.",
|
|
425
451
|
pt: "d"
|
|
426
|
-
},
|
|
452
|
+
}, G = {
|
|
427
453
|
es: "h",
|
|
428
454
|
en: "h",
|
|
429
455
|
de: "Std.",
|
|
@@ -433,12 +459,12 @@ const e = {
|
|
|
433
459
|
en: "min",
|
|
434
460
|
de: "Min.",
|
|
435
461
|
pt: "min"
|
|
436
|
-
},
|
|
462
|
+
}, Q = {
|
|
437
463
|
es: "s",
|
|
438
464
|
en: "s",
|
|
439
465
|
de: "Sek.",
|
|
440
466
|
pt: "s"
|
|
441
|
-
},
|
|
467
|
+
}, Y = {
|
|
442
468
|
es: "y",
|
|
443
469
|
en: "and",
|
|
444
470
|
de: "und",
|
|
@@ -448,54 +474,84 @@ const e = {
|
|
|
448
474
|
en: "day",
|
|
449
475
|
de: "Tag",
|
|
450
476
|
pt: "dia"
|
|
451
|
-
},
|
|
477
|
+
}, X = {
|
|
452
478
|
es: "d\xedas",
|
|
453
479
|
en: "days",
|
|
454
480
|
de: "Tage",
|
|
455
481
|
pt: "dias"
|
|
456
|
-
},
|
|
482
|
+
}, _ = {
|
|
457
483
|
es: "hora",
|
|
458
484
|
en: "hour",
|
|
459
485
|
de: "Stunde",
|
|
460
486
|
pt: "hora"
|
|
461
|
-
},
|
|
487
|
+
}, ee = {
|
|
462
488
|
es: "horas",
|
|
463
489
|
en: "hours",
|
|
464
490
|
de: "Stunden",
|
|
465
491
|
pt: "horas"
|
|
466
|
-
},
|
|
492
|
+
}, ne = {
|
|
467
493
|
es: "minuto",
|
|
468
494
|
en: "minute",
|
|
469
495
|
de: "Minute",
|
|
470
496
|
pt: "minuto"
|
|
471
|
-
},
|
|
497
|
+
}, te = {
|
|
472
498
|
es: "minutos",
|
|
473
499
|
en: "minutes",
|
|
474
500
|
de: "Minuten",
|
|
475
501
|
pt: "minutos"
|
|
476
|
-
},
|
|
502
|
+
}, oe = {
|
|
477
503
|
es: "segundo",
|
|
478
504
|
en: "second",
|
|
479
505
|
de: "Sekunde",
|
|
480
506
|
pt: "segundo"
|
|
481
|
-
},
|
|
507
|
+
}, se = {
|
|
482
508
|
es: "segundos",
|
|
483
509
|
en: "seconds",
|
|
484
510
|
de: "Sekunden",
|
|
485
511
|
pt: "segundos"
|
|
486
|
-
},
|
|
512
|
+
}, re = {
|
|
487
513
|
es: "min",
|
|
488
514
|
en: "min",
|
|
489
515
|
de: "Min.",
|
|
490
516
|
pt: "min"
|
|
491
|
-
},
|
|
517
|
+
}, ae = {
|
|
492
518
|
es: "seg",
|
|
493
519
|
en: "sec",
|
|
494
520
|
de: "Sek.",
|
|
495
521
|
pt: "seg"
|
|
496
|
-
},
|
|
522
|
+
}, ie = {
|
|
497
523
|
es: "Acciones",
|
|
498
524
|
en: "Actions",
|
|
499
525
|
de: "Aktionen",
|
|
500
526
|
pt: "A\xe7\xf5es"
|
|
527
|
+
}, de = {
|
|
528
|
+
es: "muy malo",
|
|
529
|
+
en: "very bad",
|
|
530
|
+
de: "sehr schlecht",
|
|
531
|
+
pt: "muito ruim"
|
|
532
|
+
}, ce = {
|
|
533
|
+
es: "malo",
|
|
534
|
+
en: "bad",
|
|
535
|
+
de: "schlecht",
|
|
536
|
+
pt: "ruim"
|
|
537
|
+
}, le = {
|
|
538
|
+
es: "regular",
|
|
539
|
+
en: "regular",
|
|
540
|
+
de: "regular",
|
|
541
|
+
pt: "regular"
|
|
542
|
+
}, ue = {
|
|
543
|
+
es: "bueno",
|
|
544
|
+
en: "good",
|
|
545
|
+
de: "gut",
|
|
546
|
+
pt: "bom"
|
|
547
|
+
}, me = {
|
|
548
|
+
es: "muy bueno",
|
|
549
|
+
en: "very good",
|
|
550
|
+
de: "sehr gut",
|
|
551
|
+
pt: "muito bom"
|
|
552
|
+
}, pe = {
|
|
553
|
+
es: "1$s de 2$s",
|
|
554
|
+
en: "1$s out of 2$s",
|
|
555
|
+
de: "1$s von 2$s",
|
|
556
|
+
pt: "1$s de 2$s"
|
|
501
557
|
};
|
|
@@ -134,10 +134,10 @@ const re = "(prefers-color-scheme: dark)", oe = ()=>{
|
|
|
134
134
|
}, se = ()=>(e)=>e, ie = (e)=>({
|
|
135
135
|
headerMobileHeight: (e == null ? void 0 : e.headerMobileHeight) === "mistica" ? _theme.NAVBAR_HEIGHT_MOBILE : e == null ? void 0 : e.headerMobileHeight
|
|
136
136
|
}), ne = ()=>{
|
|
137
|
-
const e = _react.useRef(null), [l, n] = _react.useState(!1), [s,
|
|
137
|
+
const e = _react.useRef(null), [l, n] = _react.useState(!1), [s, h] = _react.useState(!0);
|
|
138
138
|
return (0, _hooks.useIsomorphicLayoutEffect)(()=>{
|
|
139
139
|
var m;
|
|
140
|
-
if (s)
|
|
140
|
+
if (s) h(!1);
|
|
141
141
|
else {
|
|
142
142
|
const p = (m = e.current) == null ? void 0 : m.parentElement;
|
|
143
143
|
p && (p.style.isolation = "isolate", n(!0));
|
|
@@ -153,7 +153,7 @@ const re = "(prefers-color-scheme: dark)", oe = ()=>{
|
|
|
153
153
|
}, ae = (param)=>{
|
|
154
154
|
let { theme: e, children: l, as: n, withoutStyles: s = !1 } = param;
|
|
155
155
|
var _e_colorScheme, _e_skin_borderRadii;
|
|
156
|
-
const
|
|
156
|
+
const h = oe(), m = (_e_colorScheme = e.colorScheme) !== null && _e_colorScheme !== void 0 ? _e_colorScheme : "auto", p = e.skin.colors, R = _object_spread({}, e.skin.colors, e.skin.darkModeColors), g = m === "auto" && h || m === "dark", d = g ? R : p, b = (0, _locale.localeToLanguage)(e.i18n.locale), k = _react.useCallback((o)=>o[b] || o.en, [
|
|
157
157
|
b
|
|
158
158
|
]), c = _react.useMemo(()=>{
|
|
159
159
|
const o = _object_spread({
|
|
@@ -166,7 +166,7 @@ const re = "(prefers-color-scheme: dark)", oe = ()=>{
|
|
|
166
166
|
[u]: _object_spread({}, x, (f = e.skin.textPresets) == null ? void 0 : f[u])
|
|
167
167
|
};
|
|
168
168
|
}), t = Object.assign({}, ...a);
|
|
169
|
-
var _e_useHrefDecorator;
|
|
169
|
+
var _e_useHrefDecorator, _e_preventCopyInFormFields;
|
|
170
170
|
return {
|
|
171
171
|
skinName: e.skin.name,
|
|
172
172
|
i18n: _object_spread({}, e.i18n),
|
|
@@ -183,7 +183,8 @@ const re = "(prefers-color-scheme: dark)", oe = ()=>{
|
|
|
183
183
|
isDarkMode: g,
|
|
184
184
|
isIos: (0, _platform.getPlatform)(o) === "ios",
|
|
185
185
|
useHrefDecorator: (_e_useHrefDecorator = e.useHrefDecorator) !== null && _e_useHrefDecorator !== void 0 ? _e_useHrefDecorator : se,
|
|
186
|
-
t: k
|
|
186
|
+
t: k,
|
|
187
|
+
preventCopyInFormFields: (_e_preventCopyInFormFields = e.preventCopyInFormFields) !== null && _e_preventCopyInFormFields !== void 0 ? _e_preventCopyInFormFields : !1
|
|
187
188
|
};
|
|
188
189
|
}, [
|
|
189
190
|
d,
|
package/dist/theme.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ export type ThemeConfig = Readonly<{
|
|
|
71
71
|
};
|
|
72
72
|
useHrefDecorator?: () => (href: string) => string;
|
|
73
73
|
enableTabFocus?: boolean;
|
|
74
|
+
preventCopyInFormFields?: boolean;
|
|
74
75
|
}>;
|
|
75
76
|
export type Theme = {
|
|
76
77
|
skinName: SkinName;
|
|
@@ -99,5 +100,6 @@ export type Theme = {
|
|
|
99
100
|
isIos: boolean;
|
|
100
101
|
useHrefDecorator: () => (href: string) => string;
|
|
101
102
|
t: (token: TextToken) => string;
|
|
103
|
+
preventCopyInFormFields: boolean;
|
|
102
104
|
};
|
|
103
105
|
export {};
|
|
@@ -19,5 +19,5 @@ export declare const isVisa: (str?: string) => boolean;
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const isMasterCard: (str?: string) => boolean;
|
|
21
21
|
export declare const getCvvLength: (creditCardNumber: string) => number;
|
|
22
|
-
export declare const getCreditCardNumberLength: (creditCardNumber
|
|
23
|
-
export declare const isValidCreditCardNumber: (creditCardNumber
|
|
22
|
+
export declare const getCreditCardNumberLength: (creditCardNumber?: string) => number;
|
|
23
|
+
export declare const isValidCreditCardNumber: (creditCardNumber?: string) => boolean;
|
|
@@ -28,4 +28,4 @@ _export(exports, {
|
|
|
28
28
|
return o;
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
|
-
const
|
|
31
|
+
const t = (s)=>(e)=>!!e && s.test(e), n = t(/^3[47]/), o = t(/^4/), g = t(/^5/), a = (s)=>n(s) ? 4 : 3, i = (s)=>n(s) ? 15 : 16, c = (s)=>!s || !n(s) && !g(s) && !o(s) ? !1 : i(s) === s.length;
|