@taiga-ui/addon-commerce 3.60.0 → 3.61.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/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js +898 -1044
- package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js +615 -761
- package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js +490 -636
- package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js +463 -609
- package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-money.umd.js +12 -12
- package/bundles/taiga-ui-addon-commerce-components-money.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-thumbnail-card.umd.js +457 -603
- package/bundles/taiga-ui-addon-commerce-components-thumbnail-card.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-constants.umd.js +32 -32
- package/bundles/taiga-ui-addon-commerce-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-pipes.umd.js +6 -6
- package/bundles/taiga-ui-addon-commerce-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-tokens.umd.js +3 -3
- package/bundles/taiga-ui-addon-commerce-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-utils.umd.js +113 -259
- package/bundles/taiga-ui-addon-commerce-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-validators.umd.js +2 -2
- package/bundles/taiga-ui-addon-commerce-validators.umd.js.map +1 -1
- package/esm2015/components/input-card/abstract-input-card.js +2 -2
- package/esm2015/components/input-card/input-card.options.js +2 -2
- package/esm2015/components/input-card-grouped/input-card-grouped.options.js +2 -2
- package/esm2015/components/input-card-grouped/input-card-grouped.providers.js +2 -2
- package/esm2015/components/money/money.options.js +4 -4
- package/esm2015/components/money/pipes/fraction-part.pipe.js +2 -2
- package/esm2015/components/money/pipes/integer-part.pipe.js +3 -3
- package/esm2015/components/money/pipes/sign-symbol.pipe.js +2 -2
- package/esm2015/components/money/utils/format-fraction-part.js +3 -3
- package/esm2015/components/money/utils/format-sign-symbol.js +4 -4
- package/esm2015/components/thumbnail-card/deprecated.js +4 -4
- package/esm2015/constants/card-holder-mask.js +29 -29
- package/esm2015/constants/card-mask.js +5 -5
- package/esm2015/enums/currency-code.js +1 -1
- package/esm2015/enums/currency.js +1 -1
- package/esm2015/pipes/currency/currency.pipe.js +2 -2
- package/esm2015/pipes/format-card/format-card.pipe.js +6 -6
- package/esm2015/tokens/i18n.js +4 -4
- package/esm2015/utils/create-auto-corrected-expire-pipe.js +6 -6
- package/esm2015/utils/format-currency.js +3 -3
- package/esm2015/utils/get-currency-symbol.js +38 -38
- package/esm2015/utils/get-payment-system.js +44 -44
- package/esm2015/utils/is-card-length-valid.js +6 -6
- package/esm2015/utils/is-card-number-valid.js +3 -3
- package/esm2015/utils/payment-system-icons.js +15 -15
- package/esm2015/validators/card-expire.validator.js +2 -2
- package/esm2015/validators/card-number.validator.js +2 -2
- package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js +2 -2
- package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-card.js +2 -2
- package/fesm2015/taiga-ui-addon-commerce-components-input-card.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-money.js +12 -12
- package/fesm2015/taiga-ui-addon-commerce-components-money.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.js +3 -3
- package/fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-constants.js +32 -32
- package/fesm2015/taiga-ui-addon-commerce-constants.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-enums.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-pipes.js +6 -6
- package/fesm2015/taiga-ui-addon-commerce-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-tokens.js +3 -3
- package/fesm2015/taiga-ui-addon-commerce-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-utils.js +108 -108
- package/fesm2015/taiga-ui-addon-commerce-utils.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-validators.js +2 -2
- package/fesm2015/taiga-ui-addon-commerce-validators.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,1063 +1,917 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@maskito/kit'), require('@taiga-ui/addon-commerce/components/input-card'), require('@taiga-ui/addon-commerce/constants'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@taiga-ui/kit'), require('@ng-web-apis/common'), require('@taiga-ui/addon-commerce/tokens'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('@maskito/angular'), require('@tinkoff/ng-polymorpheus'), require('@taiga-ui/addon-commerce/pipes')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/addon-commerce/components/input-card-grouped', ['exports', '@angular/core', '@angular/forms', '@maskito/kit', '@taiga-ui/addon-commerce/components/input-card', '@taiga-ui/addon-commerce/constants', '@taiga-ui/cdk', '@taiga-ui/core', '@taiga-ui/kit', '@ng-web-apis/common', '@taiga-ui/addon-commerce/tokens', 'rxjs', 'rxjs/operators', '@angular/common', '@maskito/angular', '@tinkoff/ng-polymorpheus', '@taiga-ui/addon-commerce/pipes'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"]["addon-commerce"] = global["taiga-ui"]["addon-commerce"] || {}, global["taiga-ui"]["addon-commerce"].components = global["taiga-ui"]["addon-commerce"].components || {}, global["taiga-ui"]["addon-commerce"].components["input-card-grouped"] = {}), global.ng.core, global.ng.forms, global.kit, global["taiga-ui"]["addon-commerce"].components["input-card"], global["taiga-ui"]["addon-commerce"].constants, global.i3, global.i1, global.kit$1, global.common, global["taiga-ui"]["addon-commerce"].tokens, global.rxjs, global.rxjs.operators, global.ng.common, global.i4, global.i6, global["taiga-ui"]["addon-commerce"].pipes));
|
|
5
5
|
})(this, (function (exports, i0, i5, kit, inputCard, constants, i3, i1, kit$1, common, tokens, i8, operators, i2, i4, i6, i7) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
18
20
|
}
|
|
19
|
-
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
20
23
|
}
|
|
21
|
-
n["default"] = e;
|
|
22
|
-
return Object.freeze(n);
|
|
23
|
-
}
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
27
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
28
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
29
|
+
var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
|
|
30
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
31
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
32
|
+
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
33
|
+
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
/*! *****************************************************************************
|
|
36
|
+
Copyright (c) Microsoft Corporation.
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
39
|
+
purpose with or without fee is hereby granted.
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
function reject(value) { resume("throw", value); }
|
|
353
|
-
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
354
|
-
resume(q[0][0], q[0][1]); }
|
|
355
|
-
}
|
|
356
|
-
function __asyncDelegator(o) {
|
|
357
|
-
var i, p;
|
|
358
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
359
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
|
360
|
-
}
|
|
361
|
-
function __asyncValues(o) {
|
|
362
|
-
if (!Symbol.asyncIterator)
|
|
363
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
364
|
-
var m = o[Symbol.asyncIterator], i;
|
|
365
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
366
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
367
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
368
|
-
}
|
|
369
|
-
function __makeTemplateObject(cooked, raw) {
|
|
370
|
-
if (Object.defineProperty) {
|
|
371
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
|
372
|
-
}
|
|
373
|
-
else {
|
|
374
|
-
cooked.raw = raw;
|
|
375
|
-
}
|
|
376
|
-
return cooked;
|
|
377
|
-
}
|
|
378
|
-
;
|
|
379
|
-
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
380
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
381
|
-
}) : function (o, v) {
|
|
382
|
-
o["default"] = v;
|
|
383
|
-
};
|
|
384
|
-
function __importStar(mod) {
|
|
385
|
-
if (mod && mod.__esModule)
|
|
386
|
-
return mod;
|
|
387
|
-
var result = {};
|
|
388
|
-
if (mod != null)
|
|
389
|
-
for (var k in mod)
|
|
390
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
391
|
-
__createBinding(result, mod, k);
|
|
392
|
-
__setModuleDefault(result, mod);
|
|
393
|
-
return result;
|
|
394
|
-
}
|
|
395
|
-
function __importDefault(mod) {
|
|
396
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
397
|
-
}
|
|
398
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
399
|
-
if (kind === "a" && !f)
|
|
400
|
-
throw new TypeError("Private accessor was defined without a getter");
|
|
401
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
402
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
403
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
404
|
-
}
|
|
405
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
406
|
-
if (kind === "m")
|
|
407
|
-
throw new TypeError("Private method is not writable");
|
|
408
|
-
if (kind === "a" && !f)
|
|
409
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
410
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
411
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
412
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
413
|
-
}
|
|
414
|
-
function __classPrivateFieldIn(state, receiver) {
|
|
415
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
416
|
-
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
417
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
418
|
-
}
|
|
419
|
-
function __addDisposableResource(env, value, async) {
|
|
420
|
-
if (value !== null && value !== void 0) {
|
|
421
|
-
if (typeof value !== "object" && typeof value !== "function")
|
|
422
|
-
throw new TypeError("Object expected.");
|
|
423
|
-
var dispose;
|
|
424
|
-
if (async) {
|
|
425
|
-
if (!Symbol.asyncDispose)
|
|
426
|
-
throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
427
|
-
dispose = value[Symbol.asyncDispose];
|
|
428
|
-
}
|
|
429
|
-
if (dispose === void 0) {
|
|
430
|
-
if (!Symbol.dispose)
|
|
431
|
-
throw new TypeError("Symbol.dispose is not defined.");
|
|
432
|
-
dispose = value[Symbol.dispose];
|
|
433
|
-
}
|
|
434
|
-
if (typeof dispose !== "function")
|
|
435
|
-
throw new TypeError("Object not disposable.");
|
|
436
|
-
env.stack.push({ value: value, dispose: dispose, async: async });
|
|
437
|
-
}
|
|
438
|
-
else if (async) {
|
|
439
|
-
env.stack.push({ async: true });
|
|
440
|
-
}
|
|
441
|
-
return value;
|
|
442
|
-
}
|
|
443
|
-
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
444
|
-
var e = new Error(message);
|
|
445
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
446
|
-
};
|
|
447
|
-
function __disposeResources(env) {
|
|
448
|
-
function fail(e) {
|
|
449
|
-
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
|
450
|
-
env.hasError = true;
|
|
451
|
-
}
|
|
452
|
-
function next() {
|
|
453
|
-
while (env.stack.length) {
|
|
454
|
-
var rec = env.stack.pop();
|
|
455
|
-
try {
|
|
456
|
-
var result = rec.dispose && rec.dispose.call(rec.value);
|
|
457
|
-
if (rec.async)
|
|
458
|
-
return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
|
|
459
|
-
}
|
|
460
|
-
catch (e) {
|
|
461
|
-
fail(e);
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
if (env.hasError)
|
|
465
|
-
throw env.error;
|
|
466
|
-
}
|
|
467
|
-
return next();
|
|
468
|
-
}
|
|
469
|
-
var tslib_es6 = {
|
|
470
|
-
__extends: __extends,
|
|
471
|
-
__assign: __assign,
|
|
472
|
-
__rest: __rest,
|
|
473
|
-
__decorate: __decorate,
|
|
474
|
-
__param: __param,
|
|
475
|
-
__metadata: __metadata,
|
|
476
|
-
__awaiter: __awaiter,
|
|
477
|
-
__generator: __generator,
|
|
478
|
-
__createBinding: __createBinding,
|
|
479
|
-
__exportStar: __exportStar,
|
|
480
|
-
__values: __values,
|
|
481
|
-
__read: __read,
|
|
482
|
-
__spread: __spread,
|
|
483
|
-
__spreadArrays: __spreadArrays,
|
|
484
|
-
__spreadArray: __spreadArray,
|
|
485
|
-
__await: __await,
|
|
486
|
-
__asyncGenerator: __asyncGenerator,
|
|
487
|
-
__asyncDelegator: __asyncDelegator,
|
|
488
|
-
__asyncValues: __asyncValues,
|
|
489
|
-
__makeTemplateObject: __makeTemplateObject,
|
|
490
|
-
__importStar: __importStar,
|
|
491
|
-
__importDefault: __importDefault,
|
|
492
|
-
__classPrivateFieldGet: __classPrivateFieldGet,
|
|
493
|
-
__classPrivateFieldSet: __classPrivateFieldSet,
|
|
494
|
-
__classPrivateFieldIn: __classPrivateFieldIn,
|
|
495
|
-
__addDisposableResource: __addDisposableResource,
|
|
496
|
-
__disposeResources: __disposeResources,
|
|
497
|
-
};
|
|
41
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
42
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
43
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
44
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
45
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
46
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
47
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
48
|
+
***************************************************************************** */
|
|
49
|
+
/* global Reflect, Promise */
|
|
50
|
+
var extendStatics = function (d, b) {
|
|
51
|
+
extendStatics = Object.setPrototypeOf ||
|
|
52
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
53
|
+
function (d, b) { for (var p in b)
|
|
54
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
55
|
+
d[p] = b[p]; };
|
|
56
|
+
return extendStatics(d, b);
|
|
57
|
+
};
|
|
58
|
+
function __extends(d, b) {
|
|
59
|
+
if (typeof b !== "function" && b !== null)
|
|
60
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
61
|
+
extendStatics(d, b);
|
|
62
|
+
function __() { this.constructor = d; }
|
|
63
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
64
|
+
}
|
|
65
|
+
var __assign = function () {
|
|
66
|
+
__assign = Object.assign || function __assign(t) {
|
|
67
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
68
|
+
s = arguments[i];
|
|
69
|
+
for (var p in s)
|
|
70
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
71
|
+
t[p] = s[p];
|
|
72
|
+
}
|
|
73
|
+
return t;
|
|
74
|
+
};
|
|
75
|
+
return __assign.apply(this, arguments);
|
|
76
|
+
};
|
|
77
|
+
function __rest(s, e) {
|
|
78
|
+
var t = {};
|
|
79
|
+
for (var p in s)
|
|
80
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
81
|
+
t[p] = s[p];
|
|
82
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
83
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
84
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
85
|
+
t[p[i]] = s[p[i]];
|
|
86
|
+
}
|
|
87
|
+
return t;
|
|
88
|
+
}
|
|
89
|
+
function __decorate(decorators, target, key, desc) {
|
|
90
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
91
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
92
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
93
|
+
else
|
|
94
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
95
|
+
if (d = decorators[i])
|
|
96
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
97
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
98
|
+
}
|
|
99
|
+
function __param(paramIndex, decorator) {
|
|
100
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
101
|
+
}
|
|
102
|
+
function __metadata(metadataKey, metadataValue) {
|
|
103
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
104
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
105
|
+
}
|
|
106
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
107
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
108
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
109
|
+
function fulfilled(value) { try {
|
|
110
|
+
step(generator.next(value));
|
|
111
|
+
}
|
|
112
|
+
catch (e) {
|
|
113
|
+
reject(e);
|
|
114
|
+
} }
|
|
115
|
+
function rejected(value) { try {
|
|
116
|
+
step(generator["throw"](value));
|
|
117
|
+
}
|
|
118
|
+
catch (e) {
|
|
119
|
+
reject(e);
|
|
120
|
+
} }
|
|
121
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
122
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
function __generator(thisArg, body) {
|
|
126
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
127
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
128
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
129
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
130
|
+
function step(op) {
|
|
131
|
+
if (f)
|
|
132
|
+
throw new TypeError("Generator is already executing.");
|
|
133
|
+
while (_)
|
|
134
|
+
try {
|
|
135
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
136
|
+
return t;
|
|
137
|
+
if (y = 0, t)
|
|
138
|
+
op = [op[0] & 2, t.value];
|
|
139
|
+
switch (op[0]) {
|
|
140
|
+
case 0:
|
|
141
|
+
case 1:
|
|
142
|
+
t = op;
|
|
143
|
+
break;
|
|
144
|
+
case 4:
|
|
145
|
+
_.label++;
|
|
146
|
+
return { value: op[1], done: false };
|
|
147
|
+
case 5:
|
|
148
|
+
_.label++;
|
|
149
|
+
y = op[1];
|
|
150
|
+
op = [0];
|
|
151
|
+
continue;
|
|
152
|
+
case 7:
|
|
153
|
+
op = _.ops.pop();
|
|
154
|
+
_.trys.pop();
|
|
155
|
+
continue;
|
|
156
|
+
default:
|
|
157
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
158
|
+
_ = 0;
|
|
159
|
+
continue;
|
|
160
|
+
}
|
|
161
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
162
|
+
_.label = op[1];
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
166
|
+
_.label = t[1];
|
|
167
|
+
t = op;
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
if (t && _.label < t[2]) {
|
|
171
|
+
_.label = t[2];
|
|
172
|
+
_.ops.push(op);
|
|
173
|
+
break;
|
|
174
|
+
}
|
|
175
|
+
if (t[2])
|
|
176
|
+
_.ops.pop();
|
|
177
|
+
_.trys.pop();
|
|
178
|
+
continue;
|
|
179
|
+
}
|
|
180
|
+
op = body.call(thisArg, _);
|
|
181
|
+
}
|
|
182
|
+
catch (e) {
|
|
183
|
+
op = [6, e];
|
|
184
|
+
y = 0;
|
|
185
|
+
}
|
|
186
|
+
finally {
|
|
187
|
+
f = t = 0;
|
|
188
|
+
}
|
|
189
|
+
if (op[0] & 5)
|
|
190
|
+
throw op[1];
|
|
191
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
195
|
+
if (k2 === undefined)
|
|
196
|
+
k2 = k;
|
|
197
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
198
|
+
}) : (function (o, m, k, k2) {
|
|
199
|
+
if (k2 === undefined)
|
|
200
|
+
k2 = k;
|
|
201
|
+
o[k2] = m[k];
|
|
202
|
+
});
|
|
203
|
+
function __exportStar(m, o) {
|
|
204
|
+
for (var p in m)
|
|
205
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
206
|
+
__createBinding(o, m, p);
|
|
207
|
+
}
|
|
208
|
+
function __values(o) {
|
|
209
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
210
|
+
if (m)
|
|
211
|
+
return m.call(o);
|
|
212
|
+
if (o && typeof o.length === "number")
|
|
213
|
+
return {
|
|
214
|
+
next: function () {
|
|
215
|
+
if (o && i >= o.length)
|
|
216
|
+
o = void 0;
|
|
217
|
+
return { value: o && o[i++], done: !o };
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
221
|
+
}
|
|
222
|
+
function __read(o, n) {
|
|
223
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
224
|
+
if (!m)
|
|
225
|
+
return o;
|
|
226
|
+
var i = m.call(o), r, ar = [], e;
|
|
227
|
+
try {
|
|
228
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
229
|
+
ar.push(r.value);
|
|
230
|
+
}
|
|
231
|
+
catch (error) {
|
|
232
|
+
e = { error: error };
|
|
233
|
+
}
|
|
234
|
+
finally {
|
|
235
|
+
try {
|
|
236
|
+
if (r && !r.done && (m = i["return"]))
|
|
237
|
+
m.call(i);
|
|
238
|
+
}
|
|
239
|
+
finally {
|
|
240
|
+
if (e)
|
|
241
|
+
throw e.error;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
return ar;
|
|
245
|
+
}
|
|
246
|
+
/** @deprecated */
|
|
247
|
+
function __spread() {
|
|
248
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
249
|
+
ar = ar.concat(__read(arguments[i]));
|
|
250
|
+
return ar;
|
|
251
|
+
}
|
|
252
|
+
/** @deprecated */
|
|
253
|
+
function __spreadArrays() {
|
|
254
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
255
|
+
s += arguments[i].length;
|
|
256
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
257
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
258
|
+
r[k] = a[j];
|
|
259
|
+
return r;
|
|
260
|
+
}
|
|
261
|
+
function __spreadArray(to, from, pack) {
|
|
262
|
+
if (pack || arguments.length === 2)
|
|
263
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
264
|
+
if (ar || !(i in from)) {
|
|
265
|
+
if (!ar)
|
|
266
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
267
|
+
ar[i] = from[i];
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
return to.concat(ar || from);
|
|
271
|
+
}
|
|
272
|
+
function __await(v) {
|
|
273
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
274
|
+
}
|
|
275
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
276
|
+
if (!Symbol.asyncIterator)
|
|
277
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
278
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
279
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
280
|
+
function verb(n) { if (g[n])
|
|
281
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
282
|
+
function resume(n, v) { try {
|
|
283
|
+
step(g[n](v));
|
|
284
|
+
}
|
|
285
|
+
catch (e) {
|
|
286
|
+
settle(q[0][3], e);
|
|
287
|
+
} }
|
|
288
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
289
|
+
function fulfill(value) { resume("next", value); }
|
|
290
|
+
function reject(value) { resume("throw", value); }
|
|
291
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
292
|
+
resume(q[0][0], q[0][1]); }
|
|
293
|
+
}
|
|
294
|
+
function __asyncDelegator(o) {
|
|
295
|
+
var i, p;
|
|
296
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
297
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
298
|
+
}
|
|
299
|
+
function __asyncValues(o) {
|
|
300
|
+
if (!Symbol.asyncIterator)
|
|
301
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
302
|
+
var m = o[Symbol.asyncIterator], i;
|
|
303
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
304
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
305
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
306
|
+
}
|
|
307
|
+
function __makeTemplateObject(cooked, raw) {
|
|
308
|
+
if (Object.defineProperty) {
|
|
309
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
310
|
+
}
|
|
311
|
+
else {
|
|
312
|
+
cooked.raw = raw;
|
|
313
|
+
}
|
|
314
|
+
return cooked;
|
|
315
|
+
}
|
|
316
|
+
;
|
|
317
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
318
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
319
|
+
}) : function (o, v) {
|
|
320
|
+
o["default"] = v;
|
|
321
|
+
};
|
|
322
|
+
function __importStar(mod) {
|
|
323
|
+
if (mod && mod.__esModule)
|
|
324
|
+
return mod;
|
|
325
|
+
var result = {};
|
|
326
|
+
if (mod != null)
|
|
327
|
+
for (var k in mod)
|
|
328
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
329
|
+
__createBinding(result, mod, k);
|
|
330
|
+
__setModuleDefault(result, mod);
|
|
331
|
+
return result;
|
|
332
|
+
}
|
|
333
|
+
function __importDefault(mod) {
|
|
334
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
335
|
+
}
|
|
336
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
337
|
+
if (kind === "a" && !f)
|
|
338
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
339
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
340
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
341
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
342
|
+
}
|
|
343
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
344
|
+
if (kind === "m")
|
|
345
|
+
throw new TypeError("Private method is not writable");
|
|
346
|
+
if (kind === "a" && !f)
|
|
347
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
348
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
349
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
350
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
351
|
+
}
|
|
498
352
|
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
353
|
+
var TUI_INPUT_CARD_GROUPED_DEFAULT_OPTIONS = Object.assign(Object.assign({}, inputCard.TUI_INPUT_CARD_DEFAULT_OPTIONS), { cardValidator: constants.tuiDefaultCardValidator, exampleText: '0000 0000 0000 0000', exampleTextCVC: '000' });
|
|
354
|
+
var TUI_INPUT_CARD_GROUPED_OPTIONS = i3.tuiCreateToken(TUI_INPUT_CARD_GROUPED_DEFAULT_OPTIONS);
|
|
355
|
+
function tuiInputCardGroupedOptionsProvider(options) {
|
|
356
|
+
return i3.tuiProvideOptions(TUI_INPUT_CARD_GROUPED_OPTIONS, options, TUI_INPUT_CARD_GROUPED_DEFAULT_OPTIONS);
|
|
357
|
+
}
|
|
504
358
|
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
359
|
+
/**
|
|
360
|
+
* InputCardGrouped texts
|
|
361
|
+
*/
|
|
362
|
+
var TUI_INPUT_CARD_GROUPED_TEXTS = i3.tuiCreateTokenFromFactory(function () {
|
|
363
|
+
var win = i0.inject(common.WINDOW);
|
|
364
|
+
var cardNumberTexts = i0.inject(tokens.TUI_CARD_NUMBER_TEXTS);
|
|
365
|
+
var expiryTexts = i0.inject(tokens.TUI_CARD_EXPIRY_TEXTS);
|
|
366
|
+
var cvcTexts = i0.inject(tokens.TUI_CARD_CVC_TEXTS);
|
|
367
|
+
var desktopSmall = i0.inject(i1.TUI_MEDIA).desktopSmall;
|
|
368
|
+
var media = win.matchMedia("screen and (min-width: " + (desktopSmall - 1) / 16 + "em)");
|
|
369
|
+
return i3.tuiTypedFromEvent(media, 'change').pipe(operators.startWith(null), operators.switchMap(function () { return i8.combineLatest([
|
|
370
|
+
i8.of(Number(media.matches)),
|
|
371
|
+
cardNumberTexts,
|
|
372
|
+
expiryTexts,
|
|
373
|
+
cvcTexts,
|
|
374
|
+
]); }), operators.map(function (_a) {
|
|
375
|
+
var _b = __read(_a, 4), index = _b[0], cardNumber = _b[1], expiry = _b[2], cvcTexts = _b[3];
|
|
376
|
+
return ({
|
|
377
|
+
cardNumberText: cardNumber[index],
|
|
378
|
+
expiryText: expiry[index],
|
|
379
|
+
cvcText: cvcTexts[index],
|
|
380
|
+
});
|
|
381
|
+
}));
|
|
382
|
+
});
|
|
529
383
|
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
], queries: [{ propertyName: "dropdown", first: true, predicate: i1.TuiDataListDirective, descendants: true, read: i0.TemplateRef }, { propertyName: "datalist", first: true, predicate: i1.TuiDataListComponent, descendants: true }], viewQueries: [{ propertyName: "inputCard", first: true, predicate: ["inputCard"], descendants: true }, { propertyName: "cardNumberAutofocusRef", first: true, predicate: ["inputCard"], descendants: true, read: i3.TuiAutoFocusDirective }, { propertyName: "inputExpire", first: true, predicate: ["inputExpire"], descendants: true }, { propertyName: "expireCardAutofocusRef", first: true, predicate: ["inputExpire"], descendants: true, read: i3.TuiAutoFocusDirective }, { propertyName: "inputCVC", first: true, predicate: ["inputCVC"], descendants: true }, { propertyName: "cvcCardAutofocusRef", first: true, predicate: ["inputCVC"], descendants: true, read: i3.TuiAutoFocusDirective }], usesInheritance: true, ngImport: i0__namespace, template: "<div\n *ngIf=\"cardGroupedTexts$ | async as texts\"\n tuiDropdownLimitWidth=\"fixed\"\n tuiWrapper\n class=\"t-common-wrapper\"\n [appearance]=\"appearance\"\n [disabled]=\"computedDisabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [tuiDropdown]=\"dropdown || ''\"\n [tuiDropdownManual]=\"open\"\n (mousedown)=\"onMouseDown($event)\"\n (scroll)=\"onScroll($event)\"\n (tuiActiveZoneChange)=\"onActiveZoneChange($event)\"\n>\n <div class=\"t-wrapper\">\n <label\n *tuiLet=\"value?.card | tuiFormatCard: cardPrefilled as formattedCard\"\n tuiPreventDefault=\"click\"\n >\n <input\n #inputCard\n automation-id=\"tui-input-card-grouped__card\"\n inputmode=\"numeric\"\n translate=\"no\"\n type=\"text\"\n class=\"t-input t-input_card\"\n [attr.aria-invalid]=\"!cardPrefilled && !(this.card | tuiMapper: cardValidator)\"\n [attr.id]=\"idCard\"\n [autocomplete]=\"autocompleteCard\"\n [class.t-input_hidden]=\"!card.length && focused\"\n [class.t-input_inert]=\"cardPrefilled\"\n [disabled]=\"computedDisabled\"\n [maskito]=\"maskCard\"\n [ngModel]=\"formattedCard\"\n [placeholder]=\"cardPrefilled ? '' : exampleText\"\n [readOnly]=\"readOnly\"\n [tuiAutoFocus]=\"false\"\n [tuiFocusable]=\"cardFocusable\"\n (focus)=\"(0)\"\n (ngModelChange)=\"onCardChange($event)\"\n />\n <span\n aria-hidden=\"true\"\n translate=\"no\"\n class=\"t-collapsed\"\n [attr.data-before]=\"masked\"\n [class.t-collapsed_enable-mask]=\"isCardCollapsed\"\n (tuiResize)=\"(0)\"\n >\n <span\n #ghost\n class=\"t-ghost\"\n [textContent]=\"formattedCard.slice(-tailLength)\"\n ></span>\n\n <span class=\"t-collapsed-wrapper\">\n <span\n class=\"t-value\"\n [style.transform]=\"transform(ghost)\"\n >\n {{ formattedCard }}\n </span>\n </span>\n </span>\n <span\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n {{ texts.cardNumberText }}\n </span>\n </label>\n </div>\n <div\n class=\"t-wrapper t-wrapper_expire\"\n [class.t-wrapper_active]=\"isCardCollapsed\"\n >\n <label tuiPreventDefault=\"click\">\n <input\n #inputExpire\n automation-id=\"tui-input-card-grouped__expire\"\n inputmode=\"numeric\"\n placeholder=\"00/00\"\n translate=\"no\"\n class=\"t-input\"\n [attr.id]=\"idExpire\"\n [attr.name]=\"name\"\n [autocomplete]=\"autocompleteExpire\"\n [class.t-input_inert]=\"!expireFocusable\"\n [disabled]=\"computedDisabled\"\n [maskito]=\"maskExpire\"\n [ngModel]=\"expire\"\n [readOnly]=\"readOnly\"\n [tuiAutoFocus]=\"false\"\n [tuiFocusable]=\"expireFocusable\"\n (focus)=\"(0)\"\n (ngModelChange)=\"onExpireChange($event)\"\n />\n <span\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n {{ texts.expiryText }}\n </span>\n </label>\n </div>\n <div\n class=\"t-wrapper t-wrapper_cvc\"\n [class.t-wrapper_active]=\"isCardCollapsed\"\n >\n <label tuiPreventDefault=\"click\">\n <input\n #inputCVC\n automation-id=\"tui-input-card-grouped__cvc\"\n inputmode=\"numeric\"\n translate=\"no\"\n type=\"text\"\n class=\"t-input\"\n [attr.id]=\"idCVC\"\n [autocomplete]=\"autocompleteCVC\"\n [class.t-input_prefilled]=\"cvcPrefilled\"\n [disabled]=\"computedDisabled\"\n [maskito]=\"maskCVC\"\n [ngModel]=\"cvc\"\n [placeholder]=\"cvcPrefilled ? '\u2022\u2022\u2022' : exampleTextCVC\"\n [readOnly]=\"readOnly || cvcPrefilled\"\n [tuiAutoFocus]=\"false\"\n [tuiFocusable]=\"cvcFocusable\"\n (focus)=\"(0)\"\n (ngModelChange)=\"onCVCChange($event)\"\n />\n <span\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n {{ texts.cvcText }}\n </span>\n </label>\n </div>\n <div class=\"t-icons\">\n <div\n *ngIf=\"icon\"\n class=\"t-icon-outlet\"\n >\n <tui-svg\n *polymorpheusOutlet=\"icon as text\"\n automation-id=\"tui-input-card-grouped__icon\"\n class=\"t-card\"\n [src]=\"text\"\n ></tui-svg>\n </div>\n <tui-svg\n *ngIf=\"hasCleaner\"\n appearance=\"icon\"\n automation-id=\"tui-input-card-grouped__cleaner\"\n tuiWrapper\n class=\"t-icon\"\n [src]=\"icons.close\"\n (click)=\"clear()\"\n ></tui-svg>\n <tui-svg\n *ngIf=\"hasDropdown\"\n appearance=\"icon\"\n automation-id=\"tui-input-card-grouped__dropdown\"\n tuiWrapper\n class=\"t-icon\"\n [class.t-icon_rotated]=\"open\"\n [src]=\"arrowOptions.iconLarge\"\n (click)=\"toggle()\"\n ></tui-svg>\n </div>\n</div>\n", styles: [":host{display:block;height:var(--tui-height-l);width:29.5rem;border-radius:var(--tui-radius-m)}:host[data-mode=onDark]{--tui-autofill: var(--tui-autofill-night)}:host :host-context(tui-root._mobile){width:18rem}.t-outline{height:100%;width:100%}.t-common-wrapper{position:relative;height:100%;width:100%;overflow:hidden}.t-wrapper{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;width:100%;height:100%}.t-wrapper_cvc{margin-left:7.1875rem;transform:translate(100%)}:host-context(tui-root._mobile) .t-wrapper_cvc{margin-left:4.0625rem}.t-wrapper_expire{transform:translate(100%)}.t-wrapper_active{transform:translate(6.5625rem)}:host-context(tui-root._mobile) .t-wrapper_active{transform:translate(4.125rem)}.t-card{width:2rem;height:2rem;margin-right:.5rem;color:#1434cb}.t-collapsed{font:var(--tui-font-text-s);color:var(--tui-text-01);margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none;border:0;padding:0 0 0 1rem;line-height:2.25rem;pointer-events:none}.t-collapsed:-webkit-autofill,.t-collapsed:-webkit-autofill:hover,.t-collapsed:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-collapsed:-webkit-autofill,.t-collapsed:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-collapsed::-webkit-caps-lock-indicator,.t-collapsed::-webkit-contacts-auto-fill-button,.t-collapsed::-webkit-credit-card-auto-fill-button,.t-collapsed::-webkit-credentials-auto-fill-button,.t-collapsed::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-collapsed::placeholder{color:var(--tui-text-03);opacity:0}:host._focused:not(._readonly) .t-collapsed::placeholder,:host-context(tui-primitive-textfield._focused:not(._readonly)) .t-collapsed::placeholder,:host-context(tui-textarea._focused:not(._readonly)) .t-collapsed::placeholder,:host-context(tui-text-area._focused:not(._readonly)) .t-collapsed::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] .t-collapsed:-webkit-autofill,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill,[tuiWrapper][data-mode=onDark] .t-collapsed:-webkit-autofill:hover,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:hover,[tuiWrapper][data-mode=onDark] .t-collapsed:-webkit-autofill:focus,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark] .t-collapsed::placeholder,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"])::placeholder{color:var(--tui-text-03-night)}:host[data-size=s] .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"s\"]):not(tui-primitive-textfield),.t-collapsed :host-context(tui-textarea[data-size=\"s\"]):not(tui-textarea),.t-collapsed :host-context(tui-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}:host[data-size=m] .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"m\"]):not(tui-primitive-textfield),.t-collapsed :host-context(tui-textarea[data-size=\"m\"]):not(tui-textarea),.t-collapsed :host-context(tui-text-area[data-size=\"m\"]):not(tui-text-area){padding:0 var(--tui-padding-m)}:host[data-size=l] .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"l\"]):not(tui-primitive-textfield),.t-collapsed :host-context(tui-textarea[data-size=\"l\"]):not(tui-textarea),.t-collapsed :host-context(tui-text-area[data-size=\"l\"]):not(tui-text-area){padding:0 var(--tui-padding-l)}:host._disabled .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield._disabled),.t-collapsed :host-context(tui-textarea._disabled),.t-collapsed :host-context(tui-text-area._disabled){pointer-events:none}:host[data-size=l]:not(._label-outside) .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1.25rem}:host[data-size=l]:not(._label-outside) .t-collapsed:-webkit-autofill+.t-content .t-placeholder,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-placeholder{font-size:.8156rem;transform:translateY(-.625rem)}:host[data-size=m]:not(._label-outside) .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1rem}:host[data-size=m]:not(._label-outside) .t-collapsed:-webkit-autofill+.t-content .t-placeholder,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-placeholder{font-size:.69rem;transform:translateY(-.5rem)}:host._hidden input.t-collapsed,.t-collapsed :host-context(tui-primitive-textfield._hidden){opacity:0;text-indent:-10em;-webkit-user-select:none}.t-collapsed_enable-mask:before{content:attr(data-before)}.t-collapsed_enable-mask .t-collapsed-wrapper{left:1.375rem}.t-collapsed-wrapper{position:absolute;top:0;display:block;width:100%;height:100%;overflow:hidden}.t-value{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;bottom:0;right:100%;display:block;transform:translate(100%)}.t-input{font:var(--tui-font-text-s);color:var(--tui-text-01);margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;border:0;padding:0 1rem}.t-input:-webkit-autofill,.t-input:-webkit-autofill:hover,.t-input:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input:-webkit-autofill,.t-input:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input::-webkit-caps-lock-indicator,.t-input::-webkit-contacts-auto-fill-button,.t-input::-webkit-credit-card-auto-fill-button,.t-input::-webkit-credentials-auto-fill-button,.t-input::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input::placeholder{color:var(--tui-text-03);opacity:0}:host._focused:not(._readonly) .t-input::placeholder,:host-context(tui-primitive-textfield._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-textarea._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-text-area._focused:not(._readonly)) .t-input::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill,[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill:hover,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:hover,[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill:focus,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark] .t-input::placeholder,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"])::placeholder{color:var(--tui-text-03-night)}:host[data-size=s] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"s\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"s\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}:host[data-size=m] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"m\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"m\"]):not(tui-text-area){padding:0 var(--tui-padding-m)}:host[data-size=l] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"l\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"l\"]):not(tui-text-area){padding:0 var(--tui-padding-l)}:host._disabled .t-input,.t-input :host-context(tui-primitive-textfield._disabled),.t-input :host-context(tui-textarea._disabled),.t-input :host-context(tui-text-area._disabled){pointer-events:none}:host[data-size=l]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1.25rem}:host[data-size=l]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-placeholder{font-size:.8156rem;transform:translateY(-.625rem)}:host[data-size=m]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1rem}:host[data-size=m]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-placeholder{font-size:.69rem;transform:translateY(-.5rem)}:host._hidden input.t-input,.t-input :host-context(tui-primitive-textfield._hidden){opacity:0;text-indent:-10em;-webkit-user-select:none}.t-input::placeholder{color:var(--tui-text-03);opacity:1}:host[data-mode=onDark] .t-input::placeholder{color:var(--tui-text-03-night)}.t-input.t-input.t-input_card:not(.t-input_hidden),:host[data-mode=onDark] .t-input.t-input.t-input_card:not(.t-input_hidden),.t-input.t-input.t-input_card:not(.t-input_hidden)::placeholder,:host[data-mode=onDark] .t-input.t-input.t-input_card:not(.t-input_hidden)::placeholder,.t-input.t-input.t-input_card:not(.t-input_hidden):-webkit-autofill,:host[data-mode=onDark] .t-input.t-input.t-input_card:not(.t-input_hidden):-webkit-autofill{caret-color:var(--tui-base-09);color:transparent!important;-webkit-text-fill-color:transparent!important}.t-input.t-input.t-input_card::-webkit-credit-card-auto-fill-button,:host[data-mode=onDark] .t-input.t-input.t-input_card::-webkit-credit-card-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input_inert{pointer-events:none}.t-icons{position:absolute;right:.75rem;display:flex;align-items:center;height:100%}.t-icon-outlet{display:flex}.t-icon{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto}:host._readonly .t-icon,:host._disabled .t-icon{pointer-events:none}.t-icon_rotated{transform:rotate(180deg)}.t-placeholder{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0);margin:1.125rem 1rem;line-height:1.25rem}@supports (-webkit-hyphens: none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised{transform:translateY(-.625rem)}:host[data-size=m] .t-placeholder_raised{font:var(--tui-font-text-xs);line-height:1.25rem;transform:translateY(-.5rem);letter-spacing:.025rem}:host._invalid:not(._focused) .t-placeholder_raised,:host._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-error-fill)}:host._invalid:not(._focused) [tuiWrapper][data-mode=onDark] .t-placeholder_raised,:host._invalid:not(._focused):hover [tuiWrapper][data-mode=onDark] .t-placeholder_raised{color:var(--tui-error-fill-night)}:host._focused .t-placeholder,:host[data-size=m]._focused._label-outside .t-placeholder,:host[data-size=l]._focused._label-outside .t-placeholder{color:var(--tui-text-03)}:host[data-size=l] .t-placeholder{font:var(--tui-font-text-m);line-height:1.25rem}:host[data-size=l] .t-placeholder_raised{font-size:.8156rem}:host[data-size=m]._focused:not(._label-outside) .t-placeholder,:host[data-size=l]._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01)}[tuiWrapper][data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}:host[data-size=m]._focused:not(._label-outside) [tuiWrapper][data-mode=onDark] .t-placeholder,:host[data-size=l]._focused:not(._label-outside) [tuiWrapper][data-mode=onDark] .t-placeholder{color:var(--tui-text-01-night)}:host._focused [tuiWrapper][data-mode=onDark] .t-placeholder,:host[data-size=m]._focused._label-outside [tuiWrapper][data-mode=onDark] .t-placeholder,:host[data-size=l]._focused._label-outside [tuiWrapper][data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}.t-ghost{visibility:hidden}\n"], components: [{ type: i1__namespace.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.TuiDropdownOptionsDirective, selector: "[tuiDropdownAlign], [tuiDropdownAppearance], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]", inputs: ["tuiDropdownAlign", "tuiDropdownAppearance", "tuiDropdownDirection", "tuiDropdownLimitWidth", "tuiDropdownMinHeight", "tuiDropdownMaxHeight", "tuiDropdownOffset"] }, { type: i1__namespace.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i1__namespace.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { type: i1__namespace.TuiDropdownDriverDirective, selector: "[tuiDropdown]" }, { type: i1__namespace.TuiDropdownPositionDirective, selector: "[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])" }, { type: i1__namespace.TuiDropdownManualDirective, selector: "[tuiDropdown][tuiDropdownManual]", inputs: ["tuiDropdownManual"] }, { type: i3__namespace.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i3__namespace.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { type: i3__namespace.TuiPreventDefaultDirective, selector: "[tuiPreventDefault]", inputs: ["tuiPreventDefault"] }, { type: i4__namespace.MaskitoCva, selector: "input[maskito], textarea[maskito]", inputs: ["maskito"] }, { type: i5__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4__namespace.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { type: i5__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i3__namespace.TuiAutoFocusDirective, selector: "[tuiAutoFocus]", inputs: ["tuiAutoFocus"] }, { type: i3__namespace.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i3__namespace.TuiResizeDirective, selector: "[tuiResize]", outputs: ["tuiResize"] }, { type: i6__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "async": i2__namespace.AsyncPipe, "tuiFormatCard": i7__namespace.TuiFormatCardPipe, "tuiMapper": i3__namespace.TuiMapperPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
384
|
+
var EXPIRE_COMPLETE_LENGTH = 5; // MM/YY
|
|
385
|
+
var TuiInputCardGroupedComponent = /** @class */ (function (_super) {
|
|
386
|
+
__extends(TuiInputCardGroupedComponent, _super);
|
|
387
|
+
function TuiInputCardGroupedComponent(control, cdr, el, mode$, cardGroupedTexts$, controller, icons, arrowOptions, options) {
|
|
388
|
+
var _this = _super.call(this, control, cdr, options) || this;
|
|
389
|
+
_this.el = el;
|
|
390
|
+
_this.mode$ = mode$;
|
|
391
|
+
_this.cardGroupedTexts$ = cardGroupedTexts$;
|
|
392
|
+
_this.controller = controller;
|
|
393
|
+
_this.icons = icons;
|
|
394
|
+
_this.arrowOptions = arrowOptions;
|
|
395
|
+
_this.expireInert = false;
|
|
396
|
+
_this.exampleText = _this.options.exampleText;
|
|
397
|
+
_this.cardValidator = _this.options.cardValidator;
|
|
398
|
+
_this.autofilledChange = new i0.EventEmitter();
|
|
399
|
+
_this.exampleTextCVC = _this.options.exampleTextCVC;
|
|
400
|
+
_this.maskCVC = {
|
|
401
|
+
mask: new Array(3).fill(i1.TUI_DIGIT_REGEXP),
|
|
402
|
+
};
|
|
403
|
+
_this.maskCard = {
|
|
404
|
+
mask: constants.TUI_CARD_MASK,
|
|
405
|
+
};
|
|
406
|
+
_this.maskExpire = kit.maskitoDateOptionsGenerator({
|
|
407
|
+
mode: 'mm/yy',
|
|
408
|
+
separator: '/',
|
|
409
|
+
});
|
|
410
|
+
_this.open = false;
|
|
411
|
+
return _this;
|
|
412
|
+
}
|
|
413
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "codeLength", {
|
|
414
|
+
set: function (length) {
|
|
415
|
+
this.exampleTextCVC = '0'.repeat(length);
|
|
416
|
+
this.maskCVC = {
|
|
417
|
+
mask: new Array(length).fill(i1.TUI_DIGIT_REGEXP),
|
|
418
|
+
};
|
|
419
|
+
},
|
|
420
|
+
enumerable: false,
|
|
421
|
+
configurable: true
|
|
422
|
+
});
|
|
423
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "nativeFocusableElement", {
|
|
424
|
+
get: function () {
|
|
425
|
+
var _a, _b;
|
|
426
|
+
return (_b = (_a = this.inputCard) === null || _a === void 0 ? void 0 : _a.nativeElement) !== null && _b !== void 0 ? _b : null;
|
|
427
|
+
},
|
|
428
|
+
enumerable: false,
|
|
429
|
+
configurable: true
|
|
430
|
+
});
|
|
431
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "focused", {
|
|
432
|
+
get: function () {
|
|
433
|
+
return this.open || i3.tuiIsNativeFocusedIn(this.el.nativeElement);
|
|
434
|
+
},
|
|
435
|
+
enumerable: false,
|
|
436
|
+
configurable: true
|
|
437
|
+
});
|
|
438
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "appearance", {
|
|
439
|
+
get: function () {
|
|
440
|
+
return this.controller.appearance;
|
|
441
|
+
},
|
|
442
|
+
enumerable: false,
|
|
443
|
+
configurable: true
|
|
444
|
+
});
|
|
445
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "card", {
|
|
446
|
+
get: function () {
|
|
447
|
+
var _a;
|
|
448
|
+
return ((_a = this.value) === null || _a === void 0 ? void 0 : _a.card) || '';
|
|
449
|
+
},
|
|
450
|
+
enumerable: false,
|
|
451
|
+
configurable: true
|
|
452
|
+
});
|
|
453
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "expire", {
|
|
454
|
+
get: function () {
|
|
455
|
+
var _a;
|
|
456
|
+
return ((_a = this.value) === null || _a === void 0 ? void 0 : _a.expire) || '';
|
|
457
|
+
},
|
|
458
|
+
enumerable: false,
|
|
459
|
+
configurable: true
|
|
460
|
+
});
|
|
461
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cvc", {
|
|
462
|
+
get: function () {
|
|
463
|
+
var _a;
|
|
464
|
+
return ((_a = this.value) === null || _a === void 0 ? void 0 : _a.cvc) || '';
|
|
465
|
+
},
|
|
466
|
+
enumerable: false,
|
|
467
|
+
configurable: true
|
|
468
|
+
});
|
|
469
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "hasCleaner", {
|
|
470
|
+
get: function () {
|
|
471
|
+
var _a, _b;
|
|
472
|
+
return !!((_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.card) === null || _b === void 0 ? void 0 : _b.trim()) && !this.readOnly && !this.computedDisabled;
|
|
473
|
+
},
|
|
474
|
+
enumerable: false,
|
|
475
|
+
configurable: true
|
|
476
|
+
});
|
|
477
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "hasDropdown", {
|
|
478
|
+
get: function () {
|
|
479
|
+
return !!this.dropdown;
|
|
480
|
+
},
|
|
481
|
+
enumerable: false,
|
|
482
|
+
configurable: true
|
|
483
|
+
});
|
|
484
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "placeholderRaised", {
|
|
485
|
+
get: function () {
|
|
486
|
+
return (this.computedFocused && !this.readOnly) || this.hasCardNumber;
|
|
487
|
+
},
|
|
488
|
+
enumerable: false,
|
|
489
|
+
configurable: true
|
|
490
|
+
});
|
|
491
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "hasCardNumber", {
|
|
492
|
+
get: function () {
|
|
493
|
+
var _a, _b;
|
|
494
|
+
return !!((_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.card) === null || _b === void 0 ? void 0 : _b.trim());
|
|
495
|
+
},
|
|
496
|
+
enumerable: false,
|
|
497
|
+
configurable: true
|
|
498
|
+
});
|
|
499
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "idCard", {
|
|
500
|
+
get: function () {
|
|
501
|
+
return this.id + "_card";
|
|
502
|
+
},
|
|
503
|
+
enumerable: false,
|
|
504
|
+
configurable: true
|
|
505
|
+
});
|
|
506
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "idExpire", {
|
|
507
|
+
get: function () {
|
|
508
|
+
return this.id + "_expire";
|
|
509
|
+
},
|
|
510
|
+
enumerable: false,
|
|
511
|
+
configurable: true
|
|
512
|
+
});
|
|
513
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "idCVC", {
|
|
514
|
+
get: function () {
|
|
515
|
+
return this.id + "_cvc";
|
|
516
|
+
},
|
|
517
|
+
enumerable: false,
|
|
518
|
+
configurable: true
|
|
519
|
+
});
|
|
520
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "isCardCollapsed", {
|
|
521
|
+
get: function () {
|
|
522
|
+
return this.isFocusable(this.card) && !this.cardFocused;
|
|
523
|
+
},
|
|
524
|
+
enumerable: false,
|
|
525
|
+
configurable: true
|
|
526
|
+
});
|
|
527
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "autocompleteExpire", {
|
|
528
|
+
get: function () {
|
|
529
|
+
return this.autocompleteEnabled ? 'cc-exp' : 'off';
|
|
530
|
+
},
|
|
531
|
+
enumerable: false,
|
|
532
|
+
configurable: true
|
|
533
|
+
});
|
|
534
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "autocompleteCVC", {
|
|
535
|
+
get: function () {
|
|
536
|
+
return this.autocompleteEnabled ? 'cc-csc' : 'off';
|
|
537
|
+
},
|
|
538
|
+
enumerable: false,
|
|
539
|
+
configurable: true
|
|
540
|
+
});
|
|
541
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "tailLength", {
|
|
542
|
+
get: function () {
|
|
543
|
+
return this.hasExtraSpace ? 5 : 4;
|
|
544
|
+
},
|
|
545
|
+
enumerable: false,
|
|
546
|
+
configurable: true
|
|
547
|
+
});
|
|
548
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "name", {
|
|
549
|
+
// Safari expiration date autofill workaround
|
|
550
|
+
get: function () {
|
|
551
|
+
return this.autocompleteEnabled ? 'ccexpiryyear' : null;
|
|
552
|
+
},
|
|
553
|
+
enumerable: false,
|
|
554
|
+
configurable: true
|
|
555
|
+
});
|
|
556
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cardPrefilled", {
|
|
557
|
+
get: function () {
|
|
558
|
+
return !!this.card.match(i1.TUI_NON_DIGIT_REGEXP);
|
|
559
|
+
},
|
|
560
|
+
enumerable: false,
|
|
561
|
+
configurable: true
|
|
562
|
+
});
|
|
563
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cvcPrefilled", {
|
|
564
|
+
get: function () {
|
|
565
|
+
return !!this.cvc.match(i1.TUI_NON_DIGIT_REGEXP);
|
|
566
|
+
},
|
|
567
|
+
enumerable: false,
|
|
568
|
+
configurable: true
|
|
569
|
+
});
|
|
570
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cardFocusable", {
|
|
571
|
+
get: function () {
|
|
572
|
+
return this.focusable && !this.cardPrefilled;
|
|
573
|
+
},
|
|
574
|
+
enumerable: false,
|
|
575
|
+
configurable: true
|
|
576
|
+
});
|
|
577
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "expireFocusable", {
|
|
578
|
+
get: function () {
|
|
579
|
+
return this.isFocusable(this.card) && !this.expireInert;
|
|
580
|
+
},
|
|
581
|
+
enumerable: false,
|
|
582
|
+
configurable: true
|
|
583
|
+
});
|
|
584
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cvcFocusable", {
|
|
585
|
+
get: function () {
|
|
586
|
+
return this.isFocusable(this.card);
|
|
587
|
+
},
|
|
588
|
+
enumerable: false,
|
|
589
|
+
configurable: true
|
|
590
|
+
});
|
|
591
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "masked", {
|
|
592
|
+
get: function () {
|
|
593
|
+
return this.cardPrefilled ? "*" + this.card.slice(-4) : '*';
|
|
594
|
+
},
|
|
595
|
+
enumerable: false,
|
|
596
|
+
configurable: true
|
|
597
|
+
});
|
|
598
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "expireSelectionStart", {
|
|
599
|
+
get: function () {
|
|
600
|
+
var _a;
|
|
601
|
+
return ((_a = this.inputExpire) === null || _a === void 0 ? void 0 : _a.nativeElement.selectionStart) || 0;
|
|
602
|
+
},
|
|
603
|
+
enumerable: false,
|
|
604
|
+
configurable: true
|
|
605
|
+
});
|
|
606
|
+
TuiInputCardGroupedComponent.prototype.onEsc = function () {
|
|
607
|
+
this.open = false;
|
|
608
|
+
};
|
|
609
|
+
TuiInputCardGroupedComponent.prototype.onArrow = function (element, step) {
|
|
610
|
+
var _a;
|
|
611
|
+
this.open = this.hasDropdown;
|
|
612
|
+
this.cdr.detectChanges();
|
|
613
|
+
(_a = this.datalist) === null || _a === void 0 ? void 0 : _a.onKeyDownArrow(element, step);
|
|
614
|
+
};
|
|
615
|
+
TuiInputCardGroupedComponent.prototype.handleOption = function (option) {
|
|
616
|
+
var _a, _b;
|
|
617
|
+
var _d = option.card, card = _d === void 0 ? '' : _d, _e = option.expire, expire = _e === void 0 ? '' : _e, _f = option.cvc, cvc = _f === void 0 ? '' : _f;
|
|
618
|
+
var bin = this.bin;
|
|
619
|
+
var element = (!expire && ((_a = this.inputExpire) === null || _a === void 0 ? void 0 : _a.nativeElement)) || ((_b = this.inputCVC) === null || _b === void 0 ? void 0 : _b.nativeElement);
|
|
620
|
+
this.value = { card: card, expire: expire, cvc: cvc };
|
|
621
|
+
this.updateBin(bin);
|
|
622
|
+
this.open = false;
|
|
623
|
+
this.expireInert = !!expire;
|
|
624
|
+
element === null || element === void 0 ? void 0 : element.focus();
|
|
625
|
+
};
|
|
626
|
+
TuiInputCardGroupedComponent.prototype.onCardChange = function (card) {
|
|
627
|
+
var _d = this, value = _d.value, bin = _d.bin;
|
|
628
|
+
var parsed = card.split(' ').join('');
|
|
629
|
+
if (value && value.card === parsed) {
|
|
630
|
+
return;
|
|
631
|
+
}
|
|
632
|
+
this.updateProperty(parsed, 'card');
|
|
633
|
+
this.updateBin(bin);
|
|
634
|
+
if (this.cardValidator(this.card) && !this.expire && this.inputExpire) {
|
|
635
|
+
this.focusExpire();
|
|
636
|
+
}
|
|
637
|
+
};
|
|
638
|
+
TuiInputCardGroupedComponent.prototype.onExpireChange = function (expire) {
|
|
639
|
+
this.updateProperty(expire, 'expire');
|
|
640
|
+
if (expire.length === EXPIRE_COMPLETE_LENGTH &&
|
|
641
|
+
this.expireSelectionStart >= EXPIRE_COMPLETE_LENGTH) {
|
|
642
|
+
this.focusCVC();
|
|
643
|
+
}
|
|
644
|
+
};
|
|
645
|
+
TuiInputCardGroupedComponent.prototype.onCVCChange = function (cvc) {
|
|
646
|
+
this.updateProperty(cvc, 'cvc');
|
|
647
|
+
};
|
|
648
|
+
TuiInputCardGroupedComponent.prototype.transform = function (_d) {
|
|
649
|
+
var offsetWidth = _d.offsetWidth;
|
|
650
|
+
return this.isCardCollapsed ? "translate3d(" + offsetWidth + "px, 0, 0)" : '';
|
|
651
|
+
};
|
|
652
|
+
TuiInputCardGroupedComponent.prototype.onActiveZoneChange = function (active) {
|
|
653
|
+
this.updateFocused(active);
|
|
654
|
+
this.open = active && this.open;
|
|
655
|
+
};
|
|
656
|
+
TuiInputCardGroupedComponent.prototype.onMouseDown = function (event) {
|
|
657
|
+
if (i3.tuiIsElement(event.target) && i3.tuiIsInput(event.target)) {
|
|
658
|
+
return;
|
|
659
|
+
}
|
|
660
|
+
event.preventDefault();
|
|
661
|
+
this.focusInput();
|
|
662
|
+
};
|
|
663
|
+
TuiInputCardGroupedComponent.prototype.onScroll = function (_d) {
|
|
664
|
+
var currentTarget = _d.currentTarget;
|
|
665
|
+
if (i3.tuiIsElement(currentTarget)) {
|
|
666
|
+
currentTarget.scrollLeft = 0;
|
|
667
|
+
}
|
|
668
|
+
};
|
|
669
|
+
TuiInputCardGroupedComponent.prototype.clear = function () {
|
|
670
|
+
this.expireInert = false;
|
|
671
|
+
this.value = null;
|
|
672
|
+
this.focusCard();
|
|
673
|
+
};
|
|
674
|
+
TuiInputCardGroupedComponent.prototype.toggle = function () {
|
|
675
|
+
this.open = !this.open;
|
|
676
|
+
};
|
|
677
|
+
TuiInputCardGroupedComponent.prototype.writeValue = function (value) {
|
|
678
|
+
var bin = this.bin;
|
|
679
|
+
_super.prototype.writeValue.call(this, value);
|
|
680
|
+
this.updateBin(bin);
|
|
681
|
+
this.expireInert = !!this.expire && this.cardPrefilled;
|
|
682
|
+
};
|
|
683
|
+
/** Public API for manual focus management */
|
|
684
|
+
TuiInputCardGroupedComponent.prototype.focusCard = function () {
|
|
685
|
+
var _a;
|
|
686
|
+
(_a = this.cardNumberAutofocusRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
687
|
+
};
|
|
688
|
+
TuiInputCardGroupedComponent.prototype.focusExpire = function () {
|
|
689
|
+
var _a;
|
|
690
|
+
(_a = this.expireCardAutofocusRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
691
|
+
};
|
|
692
|
+
TuiInputCardGroupedComponent.prototype.focusCVC = function () {
|
|
693
|
+
var _a;
|
|
694
|
+
(_a = this.cvcCardAutofocusRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
695
|
+
};
|
|
696
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cardFocused", {
|
|
697
|
+
get: function () {
|
|
698
|
+
return !!this.inputCard && i3.tuiIsNativeFocused(this.inputCard.nativeElement);
|
|
699
|
+
},
|
|
700
|
+
enumerable: false,
|
|
701
|
+
configurable: true
|
|
702
|
+
});
|
|
703
|
+
Object.defineProperty(TuiInputCardGroupedComponent.prototype, "hasExtraSpace", {
|
|
704
|
+
get: function () {
|
|
705
|
+
return this.card.length % 4 > 0;
|
|
706
|
+
},
|
|
707
|
+
enumerable: false,
|
|
708
|
+
configurable: true
|
|
709
|
+
});
|
|
710
|
+
TuiInputCardGroupedComponent.prototype.isFocusable = function (card) {
|
|
711
|
+
return this.focusable && (this.cardValidator(card) || this.cardPrefilled);
|
|
712
|
+
};
|
|
713
|
+
TuiInputCardGroupedComponent.prototype.updateBin = function (oldBin) {
|
|
714
|
+
var bin = this.bin;
|
|
715
|
+
if (bin !== oldBin && !this.cardPrefilled) {
|
|
716
|
+
this.binChange.emit(bin);
|
|
717
|
+
}
|
|
718
|
+
};
|
|
719
|
+
TuiInputCardGroupedComponent.prototype.updateProperty = function (value, propName) {
|
|
720
|
+
var _d = this.value || {}, _e = _d.card, card = _e === void 0 ? '' : _e, _f = _d.expire, expire = _f === void 0 ? '' : _f, _g = _d.cvc, cvc = _g === void 0 ? '' : _g;
|
|
721
|
+
var newValue = { card: card, expire: expire, cvc: cvc };
|
|
722
|
+
newValue[propName] = value;
|
|
723
|
+
this.value = newValue.expire || newValue.cvc || newValue.card ? newValue : null;
|
|
724
|
+
};
|
|
725
|
+
TuiInputCardGroupedComponent.prototype.focusInput = function () {
|
|
726
|
+
var _a, _b, _c;
|
|
727
|
+
var element = (this.cardFocusable && ((_a = this.inputCard) === null || _a === void 0 ? void 0 : _a.nativeElement)) ||
|
|
728
|
+
(this.expireFocusable && ((_b = this.inputExpire) === null || _b === void 0 ? void 0 : _b.nativeElement)) ||
|
|
729
|
+
((_c = this.inputCVC) === null || _c === void 0 ? void 0 : _c.nativeElement);
|
|
730
|
+
element === null || element === void 0 ? void 0 : element.focus();
|
|
731
|
+
};
|
|
732
|
+
return TuiInputCardGroupedComponent;
|
|
733
|
+
}(inputCard.AbstractTuiInputCard));
|
|
734
|
+
TuiInputCardGroupedComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardGroupedComponent, deps: [{ token: i5.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1.TUI_MODE }, { token: TUI_INPUT_CARD_GROUPED_TEXTS }, { token: i1.TUI_TEXTFIELD_WATCHED_CONTROLLER }, { token: i1.TUI_COMMON_ICONS }, { token: kit$1.TUI_ARROW_OPTIONS }, { token: TUI_INPUT_CARD_GROUPED_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
735
|
+
TuiInputCardGroupedComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputCardGroupedComponent, selector: "tui-input-card-grouped", inputs: { exampleText: "exampleText", cardValidator: "cardValidator", codeLength: "codeLength" }, outputs: { autofilledChange: "autofilledChange" }, host: { attributes: { "data-size": "l" }, listeners: { "$.data-mode.attr": "mode$", "keydown.esc": "onEsc()", "keydown.arrowDown.prevent": "onArrow($event.target,1)", "keydown.arrowUp.prevent": "onArrow($event.target,-1)" } }, providers: [
|
|
736
|
+
i3.tuiAsFocusableItemAccessor(TuiInputCardGroupedComponent),
|
|
737
|
+
i3.tuiAsControl(TuiInputCardGroupedComponent),
|
|
738
|
+
i1.tuiAsDataListHost(TuiInputCardGroupedComponent),
|
|
739
|
+
i1.MODE_PROVIDER,
|
|
740
|
+
i1.TEXTFIELD_CONTROLLER_PROVIDER,
|
|
741
|
+
], queries: [{ propertyName: "dropdown", first: true, predicate: i1.TuiDataListDirective, descendants: true, read: i0.TemplateRef }, { propertyName: "datalist", first: true, predicate: i1.TuiDataListComponent, descendants: true }], viewQueries: [{ propertyName: "inputCard", first: true, predicate: ["inputCard"], descendants: true }, { propertyName: "cardNumberAutofocusRef", first: true, predicate: ["inputCard"], descendants: true, read: i3.TuiAutoFocusDirective }, { propertyName: "inputExpire", first: true, predicate: ["inputExpire"], descendants: true }, { propertyName: "expireCardAutofocusRef", first: true, predicate: ["inputExpire"], descendants: true, read: i3.TuiAutoFocusDirective }, { propertyName: "inputCVC", first: true, predicate: ["inputCVC"], descendants: true }, { propertyName: "cvcCardAutofocusRef", first: true, predicate: ["inputCVC"], descendants: true, read: i3.TuiAutoFocusDirective }], usesInheritance: true, ngImport: i0__namespace, template: "<div\n *ngIf=\"cardGroupedTexts$ | async as texts\"\n tuiDropdownLimitWidth=\"fixed\"\n tuiWrapper\n class=\"t-common-wrapper\"\n [appearance]=\"appearance\"\n [disabled]=\"computedDisabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [tuiDropdown]=\"dropdown || ''\"\n [tuiDropdownManual]=\"open\"\n (mousedown)=\"onMouseDown($event)\"\n (scroll)=\"onScroll($event)\"\n (tuiActiveZoneChange)=\"onActiveZoneChange($event)\"\n>\n <div class=\"t-wrapper\">\n <label\n *tuiLet=\"value?.card | tuiFormatCard: cardPrefilled as formattedCard\"\n tuiPreventDefault=\"click\"\n >\n <input\n #inputCard\n automation-id=\"tui-input-card-grouped__card\"\n inputmode=\"numeric\"\n translate=\"no\"\n type=\"text\"\n class=\"t-input t-input_card\"\n [attr.aria-invalid]=\"!cardPrefilled && !(this.card | tuiMapper: cardValidator)\"\n [attr.id]=\"idCard\"\n [autocomplete]=\"autocompleteCard\"\n [class.t-input_hidden]=\"!card.length && focused\"\n [class.t-input_inert]=\"cardPrefilled\"\n [disabled]=\"computedDisabled\"\n [maskito]=\"maskCard\"\n [ngModel]=\"formattedCard\"\n [placeholder]=\"cardPrefilled ? '' : exampleText\"\n [readOnly]=\"readOnly\"\n [tuiAutoFocus]=\"false\"\n [tuiFocusable]=\"cardFocusable\"\n (focus)=\"(0)\"\n (ngModelChange)=\"onCardChange($event)\"\n />\n <span\n aria-hidden=\"true\"\n translate=\"no\"\n class=\"t-collapsed\"\n [attr.data-before]=\"masked\"\n [class.t-collapsed_enable-mask]=\"isCardCollapsed\"\n (tuiResize)=\"(0)\"\n >\n <span\n #ghost\n class=\"t-ghost\"\n [textContent]=\"formattedCard.slice(-tailLength)\"\n ></span>\n\n <span class=\"t-collapsed-wrapper\">\n <span\n class=\"t-value\"\n [style.transform]=\"transform(ghost)\"\n >\n {{ formattedCard }}\n </span>\n </span>\n </span>\n <span\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n {{ texts.cardNumberText }}\n </span>\n </label>\n </div>\n <div\n class=\"t-wrapper t-wrapper_expire\"\n [class.t-wrapper_active]=\"isCardCollapsed\"\n >\n <label tuiPreventDefault=\"click\">\n <input\n #inputExpire\n automation-id=\"tui-input-card-grouped__expire\"\n inputmode=\"numeric\"\n placeholder=\"00/00\"\n translate=\"no\"\n class=\"t-input\"\n [attr.id]=\"idExpire\"\n [attr.name]=\"name\"\n [autocomplete]=\"autocompleteExpire\"\n [class.t-input_inert]=\"!expireFocusable\"\n [disabled]=\"computedDisabled\"\n [maskito]=\"maskExpire\"\n [ngModel]=\"expire\"\n [readOnly]=\"readOnly\"\n [tuiAutoFocus]=\"false\"\n [tuiFocusable]=\"expireFocusable\"\n (focus)=\"(0)\"\n (ngModelChange)=\"onExpireChange($event)\"\n />\n <span\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n {{ texts.expiryText }}\n </span>\n </label>\n </div>\n <div\n class=\"t-wrapper t-wrapper_cvc\"\n [class.t-wrapper_active]=\"isCardCollapsed\"\n >\n <label tuiPreventDefault=\"click\">\n <input\n #inputCVC\n automation-id=\"tui-input-card-grouped__cvc\"\n inputmode=\"numeric\"\n translate=\"no\"\n type=\"text\"\n class=\"t-input\"\n [attr.id]=\"idCVC\"\n [autocomplete]=\"autocompleteCVC\"\n [class.t-input_prefilled]=\"cvcPrefilled\"\n [disabled]=\"computedDisabled\"\n [maskito]=\"maskCVC\"\n [ngModel]=\"cvc\"\n [placeholder]=\"cvcPrefilled ? '\u2022\u2022\u2022' : exampleTextCVC\"\n [readOnly]=\"readOnly || cvcPrefilled\"\n [tuiAutoFocus]=\"false\"\n [tuiFocusable]=\"cvcFocusable\"\n (focus)=\"(0)\"\n (ngModelChange)=\"onCVCChange($event)\"\n />\n <span\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n {{ texts.cvcText }}\n </span>\n </label>\n </div>\n <div class=\"t-icons\">\n <div\n *ngIf=\"icon\"\n class=\"t-icon-outlet\"\n >\n <tui-svg\n *polymorpheusOutlet=\"icon as text\"\n automation-id=\"tui-input-card-grouped__icon\"\n class=\"t-card\"\n [src]=\"text\"\n ></tui-svg>\n </div>\n <tui-svg\n *ngIf=\"hasCleaner\"\n appearance=\"icon\"\n automation-id=\"tui-input-card-grouped__cleaner\"\n tuiWrapper\n class=\"t-icon\"\n [src]=\"icons.close\"\n (click)=\"clear()\"\n ></tui-svg>\n <tui-svg\n *ngIf=\"hasDropdown\"\n appearance=\"icon\"\n automation-id=\"tui-input-card-grouped__dropdown\"\n tuiWrapper\n class=\"t-icon\"\n [class.t-icon_rotated]=\"open\"\n [src]=\"arrowOptions.iconLarge\"\n (click)=\"toggle()\"\n ></tui-svg>\n </div>\n</div>\n", styles: [":host{display:block;height:var(--tui-height-l);width:29.5rem;border-radius:var(--tui-radius-m)}:host[data-mode=onDark]{--tui-autofill: var(--tui-autofill-night)}:host :host-context(tui-root._mobile){width:18rem}.t-outline{height:100%;width:100%}.t-common-wrapper{position:relative;height:100%;width:100%;overflow:hidden}.t-wrapper{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;width:100%;height:100%}.t-wrapper_cvc{margin-left:7.1875rem;transform:translate(100%)}:host-context(tui-root._mobile) .t-wrapper_cvc{margin-left:4.0625rem}.t-wrapper_expire{transform:translate(100%)}.t-wrapper_active{transform:translate(6.5625rem)}:host-context(tui-root._mobile) .t-wrapper_active{transform:translate(4.125rem)}.t-card{width:2rem;height:2rem;margin-right:.5rem;color:#1434cb}.t-collapsed{font:var(--tui-font-text-s);color:var(--tui-text-01);margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none;border:0;padding:0 0 0 1rem;line-height:2.25rem;pointer-events:none}.t-collapsed:-webkit-autofill,.t-collapsed:-webkit-autofill:hover,.t-collapsed:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-collapsed:-webkit-autofill,.t-collapsed:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-collapsed::-webkit-caps-lock-indicator,.t-collapsed::-webkit-contacts-auto-fill-button,.t-collapsed::-webkit-credit-card-auto-fill-button,.t-collapsed::-webkit-credentials-auto-fill-button,.t-collapsed::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-collapsed::placeholder{color:var(--tui-text-03);opacity:0}:host._focused:not(._readonly) .t-collapsed::placeholder,:host-context(tui-primitive-textfield._focused:not(._readonly)) .t-collapsed::placeholder,:host-context(tui-textarea._focused:not(._readonly)) .t-collapsed::placeholder,:host-context(tui-text-area._focused:not(._readonly)) .t-collapsed::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] .t-collapsed:-webkit-autofill,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill,[tuiWrapper][data-mode=onDark] .t-collapsed:-webkit-autofill:hover,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:hover,[tuiWrapper][data-mode=onDark] .t-collapsed:-webkit-autofill:focus,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark] .t-collapsed::placeholder,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"])::placeholder{color:var(--tui-text-03-night)}:host[data-size=s] .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"s\"]):not(tui-primitive-textfield),.t-collapsed :host-context(tui-textarea[data-size=\"s\"]):not(tui-textarea),.t-collapsed :host-context(tui-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}:host[data-size=m] .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"m\"]):not(tui-primitive-textfield),.t-collapsed :host-context(tui-textarea[data-size=\"m\"]):not(tui-textarea),.t-collapsed :host-context(tui-text-area[data-size=\"m\"]):not(tui-text-area){padding:0 var(--tui-padding-m)}:host[data-size=l] .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"l\"]):not(tui-primitive-textfield),.t-collapsed :host-context(tui-textarea[data-size=\"l\"]):not(tui-textarea),.t-collapsed :host-context(tui-text-area[data-size=\"l\"]):not(tui-text-area){padding:0 var(--tui-padding-l)}:host._disabled .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield._disabled),.t-collapsed :host-context(tui-textarea._disabled),.t-collapsed :host-context(tui-text-area._disabled){pointer-events:none}:host[data-size=l]:not(._label-outside) .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1.25rem}:host[data-size=l]:not(._label-outside) .t-collapsed:-webkit-autofill+.t-content .t-placeholder,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-placeholder{font-size:.8156rem;transform:translateY(-.625rem)}:host[data-size=m]:not(._label-outside) .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1rem}:host[data-size=m]:not(._label-outside) .t-collapsed:-webkit-autofill+.t-content .t-placeholder,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-placeholder{font-size:.69rem;transform:translateY(-.5rem)}:host._hidden input.t-collapsed,.t-collapsed :host-context(tui-primitive-textfield._hidden){opacity:0;text-indent:-10em;-webkit-user-select:none}.t-collapsed_enable-mask:before{content:attr(data-before)}.t-collapsed_enable-mask .t-collapsed-wrapper{left:1.375rem}.t-collapsed-wrapper{position:absolute;top:0;display:block;width:100%;height:100%;overflow:hidden}.t-value{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;bottom:0;right:100%;display:block;transform:translate(100%)}.t-input{font:var(--tui-font-text-s);color:var(--tui-text-01);margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;border:0;padding:0 1rem}.t-input:-webkit-autofill,.t-input:-webkit-autofill:hover,.t-input:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input:-webkit-autofill,.t-input:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input::-webkit-caps-lock-indicator,.t-input::-webkit-contacts-auto-fill-button,.t-input::-webkit-credit-card-auto-fill-button,.t-input::-webkit-credentials-auto-fill-button,.t-input::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input::placeholder{color:var(--tui-text-03);opacity:0}:host._focused:not(._readonly) .t-input::placeholder,:host-context(tui-primitive-textfield._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-textarea._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-text-area._focused:not(._readonly)) .t-input::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill,[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill:hover,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:hover,[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill:focus,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark] .t-input::placeholder,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"])::placeholder{color:var(--tui-text-03-night)}:host[data-size=s] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"s\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"s\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}:host[data-size=m] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"m\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"m\"]):not(tui-text-area){padding:0 var(--tui-padding-m)}:host[data-size=l] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"l\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"l\"]):not(tui-text-area){padding:0 var(--tui-padding-l)}:host._disabled .t-input,.t-input :host-context(tui-primitive-textfield._disabled),.t-input :host-context(tui-textarea._disabled),.t-input :host-context(tui-text-area._disabled){pointer-events:none}:host[data-size=l]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1.25rem}:host[data-size=l]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-placeholder{font-size:.8156rem;transform:translateY(-.625rem)}:host[data-size=m]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1rem}:host[data-size=m]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-placeholder{font-size:.69rem;transform:translateY(-.5rem)}:host._hidden input.t-input,.t-input :host-context(tui-primitive-textfield._hidden){opacity:0;text-indent:-10em;-webkit-user-select:none}.t-input::placeholder{color:var(--tui-text-03);opacity:1}:host[data-mode=onDark] .t-input::placeholder{color:var(--tui-text-03-night)}.t-input.t-input.t-input_card:not(.t-input_hidden),:host[data-mode=onDark] .t-input.t-input.t-input_card:not(.t-input_hidden),.t-input.t-input.t-input_card:not(.t-input_hidden)::placeholder,:host[data-mode=onDark] .t-input.t-input.t-input_card:not(.t-input_hidden)::placeholder,.t-input.t-input.t-input_card:not(.t-input_hidden):-webkit-autofill,:host[data-mode=onDark] .t-input.t-input.t-input_card:not(.t-input_hidden):-webkit-autofill{caret-color:var(--tui-base-09);color:transparent!important;-webkit-text-fill-color:transparent!important}.t-input.t-input.t-input_card::-webkit-credit-card-auto-fill-button,:host[data-mode=onDark] .t-input.t-input.t-input_card::-webkit-credit-card-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input_inert{pointer-events:none}.t-icons{position:absolute;right:.75rem;display:flex;align-items:center;height:100%}.t-icon-outlet{display:flex}.t-icon{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto}:host._readonly .t-icon,:host._disabled .t-icon{pointer-events:none}.t-icon_rotated{transform:rotate(180deg)}.t-placeholder{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0);margin:1.125rem 1rem;line-height:1.25rem}@supports (-webkit-hyphens: none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised{transform:translateY(-.625rem)}:host[data-size=m] .t-placeholder_raised{font:var(--tui-font-text-xs);line-height:1.25rem;transform:translateY(-.5rem);letter-spacing:.025rem}:host._invalid:not(._focused) .t-placeholder_raised,:host._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-error-fill)}:host._invalid:not(._focused) [tuiWrapper][data-mode=onDark] .t-placeholder_raised,:host._invalid:not(._focused):hover [tuiWrapper][data-mode=onDark] .t-placeholder_raised{color:var(--tui-error-fill-night)}:host._focused .t-placeholder,:host[data-size=m]._focused._label-outside .t-placeholder,:host[data-size=l]._focused._label-outside .t-placeholder{color:var(--tui-text-03)}:host[data-size=l] .t-placeholder{font:var(--tui-font-text-m);line-height:1.25rem}:host[data-size=l] .t-placeholder_raised{font-size:.8156rem}:host[data-size=m]._focused:not(._label-outside) .t-placeholder,:host[data-size=l]._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01)}[tuiWrapper][data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}:host[data-size=m]._focused:not(._label-outside) [tuiWrapper][data-mode=onDark] .t-placeholder,:host[data-size=l]._focused:not(._label-outside) [tuiWrapper][data-mode=onDark] .t-placeholder{color:var(--tui-text-01-night)}:host._focused [tuiWrapper][data-mode=onDark] .t-placeholder,:host[data-size=m]._focused._label-outside [tuiWrapper][data-mode=onDark] .t-placeholder,:host[data-size=l]._focused._label-outside [tuiWrapper][data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}.t-ghost{visibility:hidden}\n"], components: [{ type: i1__namespace.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.TuiDropdownOptionsDirective, selector: "[tuiDropdownAlign], [tuiDropdownAppearance], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]", inputs: ["tuiDropdownAlign", "tuiDropdownAppearance", "tuiDropdownDirection", "tuiDropdownLimitWidth", "tuiDropdownMinHeight", "tuiDropdownMaxHeight", "tuiDropdownOffset"] }, { type: i1__namespace.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i1__namespace.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { type: i1__namespace.TuiDropdownDriverDirective, selector: "[tuiDropdown]" }, { type: i1__namespace.TuiDropdownPositionDirective, selector: "[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])" }, { type: i1__namespace.TuiDropdownManualDirective, selector: "[tuiDropdown][tuiDropdownManual]", inputs: ["tuiDropdownManual"] }, { type: i3__namespace.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i3__namespace.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { type: i3__namespace.TuiPreventDefaultDirective, selector: "[tuiPreventDefault]", inputs: ["tuiPreventDefault"] }, { type: i4__namespace.MaskitoCva, selector: "input[maskito], textarea[maskito]", inputs: ["maskito"] }, { type: i5__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4__namespace.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { type: i5__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i3__namespace.TuiAutoFocusDirective, selector: "[tuiAutoFocus]", inputs: ["tuiAutoFocus"] }, { type: i3__namespace.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i3__namespace.TuiResizeDirective, selector: "[tuiResize]", outputs: ["tuiResize"] }, { type: i6__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "async": i2__namespace.AsyncPipe, "tuiFormatCard": i7__namespace.TuiFormatCardPipe, "tuiMapper": i3__namespace.TuiMapperPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
742
|
+
__decorate([
|
|
743
|
+
i3.tuiPure
|
|
744
|
+
], TuiInputCardGroupedComponent.prototype, "isFocusable", null);
|
|
745
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardGroupedComponent, decorators: [{
|
|
746
|
+
type: i0.Component,
|
|
747
|
+
args: [{
|
|
748
|
+
selector: 'tui-input-card-grouped',
|
|
749
|
+
templateUrl: './input-card-grouped.template.html',
|
|
750
|
+
styleUrls: ['./input-card-grouped.style.less'],
|
|
751
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
752
|
+
providers: [
|
|
753
|
+
i3.tuiAsFocusableItemAccessor(TuiInputCardGroupedComponent),
|
|
754
|
+
i3.tuiAsControl(TuiInputCardGroupedComponent),
|
|
755
|
+
i1.tuiAsDataListHost(TuiInputCardGroupedComponent),
|
|
756
|
+
i1.MODE_PROVIDER,
|
|
757
|
+
i1.TEXTFIELD_CONTROLLER_PROVIDER,
|
|
758
|
+
],
|
|
759
|
+
host: {
|
|
760
|
+
'($.data-mode.attr)': 'mode$',
|
|
761
|
+
'data-size': 'l',
|
|
762
|
+
},
|
|
763
|
+
}]
|
|
764
|
+
}], ctorParameters: function () {
|
|
765
|
+
return [{ type: i5__namespace.NgControl, decorators: [{
|
|
766
|
+
type: i0.Optional
|
|
767
|
+
}, {
|
|
768
|
+
type: i0.Self
|
|
769
|
+
}, {
|
|
770
|
+
type: i0.Inject,
|
|
771
|
+
args: [i5.NgControl]
|
|
772
|
+
}] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
|
|
773
|
+
type: i0.Inject,
|
|
774
|
+
args: [i0.ChangeDetectorRef]
|
|
775
|
+
}] }, { type: i0__namespace.ElementRef, decorators: [{
|
|
776
|
+
type: i0.Inject,
|
|
777
|
+
args: [i0.ElementRef]
|
|
778
|
+
}] }, { type: i8__namespace.Observable, decorators: [{
|
|
779
|
+
type: i0.Inject,
|
|
780
|
+
args: [i1.TUI_MODE]
|
|
781
|
+
}] }, { type: i8__namespace.Observable, decorators: [{
|
|
782
|
+
type: i0.Inject,
|
|
783
|
+
args: [TUI_INPUT_CARD_GROUPED_TEXTS]
|
|
784
|
+
}] }, { type: i1__namespace.TuiTextfieldController, decorators: [{
|
|
785
|
+
type: i0.Inject,
|
|
786
|
+
args: [i1.TUI_TEXTFIELD_WATCHED_CONTROLLER]
|
|
787
|
+
}] }, { type: undefined, decorators: [{
|
|
788
|
+
type: i0.Inject,
|
|
789
|
+
args: [i1.TUI_COMMON_ICONS]
|
|
790
|
+
}] }, { type: undefined, decorators: [{
|
|
791
|
+
type: i0.Inject,
|
|
792
|
+
args: [kit$1.TUI_ARROW_OPTIONS]
|
|
793
|
+
}] }, { type: undefined, decorators: [{
|
|
794
|
+
type: i0.Inject,
|
|
795
|
+
args: [TUI_INPUT_CARD_GROUPED_OPTIONS]
|
|
796
|
+
}] }];
|
|
797
|
+
}, propDecorators: { inputCard: [{
|
|
798
|
+
type: i0.ViewChild,
|
|
799
|
+
args: ['inputCard']
|
|
800
|
+
}], cardNumberAutofocusRef: [{
|
|
801
|
+
type: i0.ViewChild,
|
|
802
|
+
args: ['inputCard', { read: i3.TuiAutoFocusDirective }]
|
|
803
|
+
}], inputExpire: [{
|
|
804
|
+
type: i0.ViewChild,
|
|
805
|
+
args: ['inputExpire']
|
|
806
|
+
}], expireCardAutofocusRef: [{
|
|
807
|
+
type: i0.ViewChild,
|
|
808
|
+
args: ['inputExpire', { read: i3.TuiAutoFocusDirective }]
|
|
809
|
+
}], inputCVC: [{
|
|
810
|
+
type: i0.ViewChild,
|
|
811
|
+
args: ['inputCVC']
|
|
812
|
+
}], cvcCardAutofocusRef: [{
|
|
813
|
+
type: i0.ViewChild,
|
|
814
|
+
args: ['inputCVC', { read: i3.TuiAutoFocusDirective }]
|
|
815
|
+
}], exampleText: [{
|
|
816
|
+
type: i0.Input
|
|
817
|
+
}], cardValidator: [{
|
|
818
|
+
type: i0.Input
|
|
819
|
+
}], codeLength: [{
|
|
820
|
+
type: i0.Input
|
|
821
|
+
}], autofilledChange: [{
|
|
822
|
+
type: i0.Output
|
|
823
|
+
}], dropdown: [{
|
|
824
|
+
type: i0.ContentChild,
|
|
825
|
+
args: [i1.TuiDataListDirective, { read: i0.TemplateRef }]
|
|
826
|
+
}], datalist: [{
|
|
827
|
+
type: i0.ContentChild,
|
|
828
|
+
args: [i1.TuiDataListComponent]
|
|
829
|
+
}], onEsc: [{
|
|
830
|
+
type: i0.HostListener,
|
|
831
|
+
args: ['keydown.esc']
|
|
832
|
+
}], onArrow: [{
|
|
833
|
+
type: i0.HostListener,
|
|
834
|
+
args: ['keydown.arrowDown.prevent', ['$event.target', '1']]
|
|
835
|
+
}, {
|
|
836
|
+
type: i0.HostListener,
|
|
837
|
+
args: ['keydown.arrowUp.prevent', ['$event.target', '-1']]
|
|
838
|
+
}], isFocusable: [] } });
|
|
985
839
|
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
840
|
+
var TuiInputCardGroupedModule = /** @class */ (function () {
|
|
841
|
+
function TuiInputCardGroupedModule() {
|
|
842
|
+
}
|
|
843
|
+
return TuiInputCardGroupedModule;
|
|
844
|
+
}());
|
|
845
|
+
TuiInputCardGroupedModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardGroupedModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
846
|
+
TuiInputCardGroupedModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardGroupedModule, declarations: [TuiInputCardGroupedComponent], imports: [i2.CommonModule,
|
|
847
|
+
i5.FormsModule,
|
|
848
|
+
i4.MaskitoModule,
|
|
849
|
+
i3.TuiFocusableModule,
|
|
850
|
+
i1.TuiSvgModule,
|
|
851
|
+
i1.TuiWrapperModule,
|
|
852
|
+
i3.TuiActiveZoneModule,
|
|
853
|
+
i3.TuiMapperPipeModule,
|
|
854
|
+
i1.TuiDropdownModule,
|
|
855
|
+
i3.TuiPreventDefaultModule,
|
|
856
|
+
i6.PolymorpheusModule,
|
|
857
|
+
i3.TuiLetModule,
|
|
858
|
+
i3.TuiResizeModule,
|
|
859
|
+
i7.TuiFormatCardModule,
|
|
860
|
+
i3.TuiAutoFocusModule], exports: [TuiInputCardGroupedComponent] });
|
|
861
|
+
TuiInputCardGroupedModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardGroupedModule, imports: [[
|
|
862
|
+
i2.CommonModule,
|
|
863
|
+
i5.FormsModule,
|
|
864
|
+
i4.MaskitoModule,
|
|
865
|
+
i3.TuiFocusableModule,
|
|
866
|
+
i1.TuiSvgModule,
|
|
867
|
+
i1.TuiWrapperModule,
|
|
868
|
+
i3.TuiActiveZoneModule,
|
|
869
|
+
i3.TuiMapperPipeModule,
|
|
870
|
+
i1.TuiDropdownModule,
|
|
871
|
+
i3.TuiPreventDefaultModule,
|
|
872
|
+
i6.PolymorpheusModule,
|
|
873
|
+
i3.TuiLetModule,
|
|
874
|
+
i3.TuiResizeModule,
|
|
875
|
+
i7.TuiFormatCardModule,
|
|
876
|
+
i3.TuiAutoFocusModule,
|
|
877
|
+
]] });
|
|
878
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardGroupedModule, decorators: [{
|
|
879
|
+
type: i0.NgModule,
|
|
880
|
+
args: [{
|
|
881
|
+
imports: [
|
|
882
|
+
i2.CommonModule,
|
|
883
|
+
i5.FormsModule,
|
|
884
|
+
i4.MaskitoModule,
|
|
885
|
+
i3.TuiFocusableModule,
|
|
886
|
+
i1.TuiSvgModule,
|
|
887
|
+
i1.TuiWrapperModule,
|
|
888
|
+
i3.TuiActiveZoneModule,
|
|
889
|
+
i3.TuiMapperPipeModule,
|
|
890
|
+
i1.TuiDropdownModule,
|
|
891
|
+
i3.TuiPreventDefaultModule,
|
|
892
|
+
i6.PolymorpheusModule,
|
|
893
|
+
i3.TuiLetModule,
|
|
894
|
+
i3.TuiResizeModule,
|
|
895
|
+
i7.TuiFormatCardModule,
|
|
896
|
+
i3.TuiAutoFocusModule,
|
|
897
|
+
],
|
|
898
|
+
declarations: [TuiInputCardGroupedComponent],
|
|
899
|
+
exports: [TuiInputCardGroupedComponent],
|
|
900
|
+
}]
|
|
901
|
+
}] });
|
|
1048
902
|
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
903
|
+
/**
|
|
904
|
+
* Generated bundle index. Do not edit.
|
|
905
|
+
*/
|
|
1052
906
|
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
907
|
+
exports.TUI_INPUT_CARD_GROUPED_DEFAULT_OPTIONS = TUI_INPUT_CARD_GROUPED_DEFAULT_OPTIONS;
|
|
908
|
+
exports.TUI_INPUT_CARD_GROUPED_OPTIONS = TUI_INPUT_CARD_GROUPED_OPTIONS;
|
|
909
|
+
exports.TUI_INPUT_CARD_GROUPED_TEXTS = TUI_INPUT_CARD_GROUPED_TEXTS;
|
|
910
|
+
exports.TuiInputCardGroupedComponent = TuiInputCardGroupedComponent;
|
|
911
|
+
exports.TuiInputCardGroupedModule = TuiInputCardGroupedModule;
|
|
912
|
+
exports.tuiInputCardGroupedOptionsProvider = tuiInputCardGroupedOptionsProvider;
|
|
1059
913
|
|
|
1060
|
-
|
|
914
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1061
915
|
|
|
1062
916
|
}));
|
|
1063
917
|
//# sourceMappingURL=taiga-ui-addon-commerce-components-input-card-grouped.umd.js.map
|