@taiga-ui/addon-commerce 3.71.0 → 3.72.0-canary.3053ca6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js +1045 -898
  2. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js.map +1 -1
  3. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js +761 -615
  4. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js.map +1 -1
  5. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js +639 -490
  6. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js.map +1 -1
  7. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js +609 -463
  8. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js.map +1 -1
  9. package/bundles/taiga-ui-addon-commerce-components-thumbnail-card.umd.js +603 -457
  10. package/bundles/taiga-ui-addon-commerce-components-thumbnail-card.umd.js.map +1 -1
  11. package/bundles/taiga-ui-addon-commerce-utils.umd.js +152 -6
  12. package/bundles/taiga-ui-addon-commerce-utils.umd.js.map +1 -1
  13. package/components/input-card-grouped/input-card-grouped.component.d.ts +1 -0
  14. package/components/input-card-grouped/input-card-grouped.options.d.ts +1 -0
  15. package/components/input-cvc/input-cvc.component.d.ts +2 -1
  16. package/esm2015/components/input-card-grouped/input-card-grouped.component.js +3 -2
  17. package/esm2015/components/input-card-grouped/input-card-grouped.options.js +2 -2
  18. package/esm2015/components/input-cvc/input-cvc.component.js +6 -3
  19. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js +3 -2
  20. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js.map +1 -1
  21. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js +5 -2
  22. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js.map +1 -1
  23. package/package.json +39 -39
@@ -1,635 +1,781 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@taiga-ui/cdk'), require('@taiga-ui/addon-commerce/constants'), require('@taiga-ui/core'), require('@taiga-ui/addon-commerce/utils'), require('@taiga-ui/kit'), require('@maskito/angular')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/addon-commerce/components/input-card', ['exports', '@angular/core', '@angular/forms', '@taiga-ui/cdk', '@taiga-ui/addon-commerce/constants', '@taiga-ui/core', '@taiga-ui/addon-commerce/utils', '@taiga-ui/kit', '@maskito/angular'], 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"] = {}), global.ng.core, global.ng.forms, global.cdk, global["taiga-ui"]["addon-commerce"].constants, global.i1$1, global["taiga-ui"]["addon-commerce"].utils, global.i2, global.i3));
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@taiga-ui/cdk'), require('@taiga-ui/addon-commerce/constants'), require('@taiga-ui/core'), require('@taiga-ui/addon-commerce/utils'), require('@taiga-ui/kit'), require('@maskito/angular')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/addon-commerce/components/input-card', ['exports', '@angular/core', '@angular/forms', '@taiga-ui/cdk', '@taiga-ui/addon-commerce/constants', '@taiga-ui/core', '@taiga-ui/addon-commerce/utils', '@taiga-ui/kit', '@maskito/angular'], 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"] = {}), global.ng.core, global.ng.forms, global.cdk, global["taiga-ui"]["addon-commerce"].constants, global.i1$1, global["taiga-ui"]["addon-commerce"].utils, global.i2, global.i3));
5
5
  })(this, (function (exports, i0, i1, cdk, constants, i1$1, utils, i2, i3) { 'use strict';
6
6
 
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
- });
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
+ });
20
18
  }
21
- n["default"] = e;
22
- return Object.freeze(n);
19
+ });
23
20
  }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
24
 
25
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
27
- var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
28
- var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
29
- var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
27
+ var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
28
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
29
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
30
30
 
31
- /*! *****************************************************************************
32
- Copyright (c) Microsoft Corporation.
31
+ /******************************************************************************
32
+ Copyright (c) Microsoft Corporation.
33
33
 
34
- Permission to use, copy, modify, and/or distribute this software for any
35
- purpose with or without fee is hereby granted.
34
+ Permission to use, copy, modify, and/or distribute this software for any
35
+ purpose with or without fee is hereby granted.
36
36
 
37
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
38
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
39
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
40
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
41
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
42
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
43
- PERFORMANCE OF THIS SOFTWARE.
44
- ***************************************************************************** */
45
- /* global Reflect, Promise */
46
- var extendStatics = function (d, b) {
47
- extendStatics = Object.setPrototypeOf ||
48
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
49
- function (d, b) { for (var p in b)
50
- if (Object.prototype.hasOwnProperty.call(b, p))
51
- d[p] = b[p]; };
52
- return extendStatics(d, b);
53
- };
54
- function __extends(d, b) {
55
- if (typeof b !== "function" && b !== null)
56
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
57
- extendStatics(d, b);
58
- function __() { this.constructor = d; }
59
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
60
- }
61
- var __assign = function () {
62
- __assign = Object.assign || function __assign(t) {
63
- for (var s, i = 1, n = arguments.length; i < n; i++) {
64
- s = arguments[i];
65
- for (var p in s)
66
- if (Object.prototype.hasOwnProperty.call(s, p))
67
- t[p] = s[p];
68
- }
69
- return t;
70
- };
71
- return __assign.apply(this, arguments);
72
- };
73
- function __rest(s, e) {
74
- var t = {};
75
- for (var p in s)
76
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
77
- t[p] = s[p];
78
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
79
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
80
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
81
- t[p[i]] = s[p[i]];
82
- }
83
- return t;
84
- }
85
- function __decorate(decorators, target, key, desc) {
86
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
87
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
88
- r = Reflect.decorate(decorators, target, key, desc);
89
- else
90
- for (var i = decorators.length - 1; i >= 0; i--)
91
- if (d = decorators[i])
92
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
93
- return c > 3 && r && Object.defineProperty(target, key, r), r;
94
- }
95
- function __param(paramIndex, decorator) {
96
- return function (target, key) { decorator(target, key, paramIndex); };
97
- }
98
- function __metadata(metadataKey, metadataValue) {
99
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
100
- return Reflect.metadata(metadataKey, metadataValue);
101
- }
102
- function __awaiter(thisArg, _arguments, P, generator) {
103
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
104
- return new (P || (P = Promise))(function (resolve, reject) {
105
- function fulfilled(value) { try {
106
- step(generator.next(value));
107
- }
108
- catch (e) {
109
- reject(e);
110
- } }
111
- function rejected(value) { try {
112
- step(generator["throw"](value));
113
- }
114
- catch (e) {
115
- reject(e);
116
- } }
117
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
118
- step((generator = generator.apply(thisArg, _arguments || [])).next());
119
- });
120
- }
121
- function __generator(thisArg, body) {
122
- var _ = { label: 0, sent: function () { if (t[0] & 1)
123
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
124
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
125
- function verb(n) { return function (v) { return step([n, v]); }; }
126
- function step(op) {
127
- if (f)
128
- throw new TypeError("Generator is already executing.");
129
- while (_)
130
- try {
131
- 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)
132
- return t;
133
- if (y = 0, t)
134
- op = [op[0] & 2, t.value];
135
- switch (op[0]) {
136
- case 0:
137
- case 1:
138
- t = op;
139
- break;
140
- case 4:
141
- _.label++;
142
- return { value: op[1], done: false };
143
- case 5:
144
- _.label++;
145
- y = op[1];
146
- op = [0];
147
- continue;
148
- case 7:
149
- op = _.ops.pop();
150
- _.trys.pop();
151
- continue;
152
- default:
153
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
154
- _ = 0;
155
- continue;
156
- }
157
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
158
- _.label = op[1];
159
- break;
160
- }
161
- if (op[0] === 6 && _.label < t[1]) {
162
- _.label = t[1];
163
- t = op;
164
- break;
165
- }
166
- if (t && _.label < t[2]) {
167
- _.label = t[2];
168
- _.ops.push(op);
169
- break;
170
- }
171
- if (t[2])
172
- _.ops.pop();
173
- _.trys.pop();
174
- continue;
175
- }
176
- op = body.call(thisArg, _);
177
- }
178
- catch (e) {
179
- op = [6, e];
180
- y = 0;
181
- }
182
- finally {
183
- f = t = 0;
184
- }
185
- if (op[0] & 5)
186
- throw op[1];
187
- return { value: op[0] ? op[1] : void 0, done: true };
188
- }
189
- }
190
- var __createBinding = Object.create ? (function (o, m, k, k2) {
191
- if (k2 === undefined)
192
- k2 = k;
193
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
194
- }) : (function (o, m, k, k2) {
195
- if (k2 === undefined)
196
- k2 = k;
197
- o[k2] = m[k];
198
- });
199
- function __exportStar(m, o) {
200
- for (var p in m)
201
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
202
- __createBinding(o, m, p);
203
- }
204
- function __values(o) {
205
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
206
- if (m)
207
- return m.call(o);
208
- if (o && typeof o.length === "number")
209
- return {
210
- next: function () {
211
- if (o && i >= o.length)
212
- o = void 0;
213
- return { value: o && o[i++], done: !o };
214
- }
215
- };
216
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
217
- }
218
- function __read(o, n) {
219
- var m = typeof Symbol === "function" && o[Symbol.iterator];
220
- if (!m)
221
- return o;
222
- var i = m.call(o), r, ar = [], e;
223
- try {
224
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
225
- ar.push(r.value);
226
- }
227
- catch (error) {
228
- e = { error: error };
229
- }
230
- finally {
231
- try {
232
- if (r && !r.done && (m = i["return"]))
233
- m.call(i);
234
- }
235
- finally {
236
- if (e)
237
- throw e.error;
238
- }
239
- }
240
- return ar;
241
- }
242
- /** @deprecated */
243
- function __spread() {
244
- for (var ar = [], i = 0; i < arguments.length; i++)
245
- ar = ar.concat(__read(arguments[i]));
246
- return ar;
247
- }
248
- /** @deprecated */
249
- function __spreadArrays() {
250
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
251
- s += arguments[i].length;
252
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
253
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
254
- r[k] = a[j];
255
- return r;
256
- }
257
- function __spreadArray(to, from, pack) {
258
- if (pack || arguments.length === 2)
259
- for (var i = 0, l = from.length, ar; i < l; i++) {
260
- if (ar || !(i in from)) {
261
- if (!ar)
262
- ar = Array.prototype.slice.call(from, 0, i);
263
- ar[i] = from[i];
264
- }
265
- }
266
- return to.concat(ar || from);
267
- }
268
- function __await(v) {
269
- return this instanceof __await ? (this.v = v, this) : new __await(v);
270
- }
271
- function __asyncGenerator(thisArg, _arguments, generator) {
272
- if (!Symbol.asyncIterator)
273
- throw new TypeError("Symbol.asyncIterator is not defined.");
274
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
275
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
276
- function verb(n) { if (g[n])
277
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
278
- function resume(n, v) { try {
279
- step(g[n](v));
280
- }
281
- catch (e) {
282
- settle(q[0][3], e);
283
- } }
284
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
285
- function fulfill(value) { resume("next", value); }
286
- function reject(value) { resume("throw", value); }
287
- function settle(f, v) { if (f(v), q.shift(), q.length)
288
- resume(q[0][0], q[0][1]); }
289
- }
290
- function __asyncDelegator(o) {
291
- var i, p;
292
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
293
- 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; }
294
- }
295
- function __asyncValues(o) {
296
- if (!Symbol.asyncIterator)
297
- throw new TypeError("Symbol.asyncIterator is not defined.");
298
- var m = o[Symbol.asyncIterator], i;
299
- 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);
300
- 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); }); }; }
301
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
302
- }
303
- function __makeTemplateObject(cooked, raw) {
304
- if (Object.defineProperty) {
305
- Object.defineProperty(cooked, "raw", { value: raw });
306
- }
307
- else {
308
- cooked.raw = raw;
309
- }
310
- return cooked;
311
- }
312
- ;
313
- var __setModuleDefault = Object.create ? (function (o, v) {
314
- Object.defineProperty(o, "default", { enumerable: true, value: v });
315
- }) : function (o, v) {
316
- o["default"] = v;
317
- };
318
- function __importStar(mod) {
319
- if (mod && mod.__esModule)
320
- return mod;
321
- var result = {};
322
- if (mod != null)
323
- for (var k in mod)
324
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
325
- __createBinding(result, mod, k);
326
- __setModuleDefault(result, mod);
327
- return result;
328
- }
329
- function __importDefault(mod) {
330
- return (mod && mod.__esModule) ? mod : { default: mod };
331
- }
332
- function __classPrivateFieldGet(receiver, state, kind, f) {
333
- if (kind === "a" && !f)
334
- throw new TypeError("Private accessor was defined without a getter");
335
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
336
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
337
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
338
- }
339
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
340
- if (kind === "m")
341
- throw new TypeError("Private method is not writable");
342
- if (kind === "a" && !f)
343
- throw new TypeError("Private accessor was defined without a setter");
344
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
345
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
346
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
347
- }
37
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
38
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
39
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
40
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
41
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
42
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
43
+ PERFORMANCE OF THIS SOFTWARE.
44
+ ***************************************************************************** */
45
+ /* global Reflect, Promise, SuppressedError, Symbol */
46
+ var extendStatics = function (d, b) {
47
+ extendStatics = Object.setPrototypeOf ||
48
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
49
+ function (d, b) { for (var p in b)
50
+ if (Object.prototype.hasOwnProperty.call(b, p))
51
+ d[p] = b[p]; };
52
+ return extendStatics(d, b);
53
+ };
54
+ function __extends(d, b) {
55
+ if (typeof b !== "function" && b !== null)
56
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
57
+ extendStatics(d, b);
58
+ function __() { this.constructor = d; }
59
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
60
+ }
61
+ var __assign = function () {
62
+ __assign = Object.assign || function __assign(t) {
63
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
64
+ s = arguments[i];
65
+ for (var p in s)
66
+ if (Object.prototype.hasOwnProperty.call(s, p))
67
+ t[p] = s[p];
68
+ }
69
+ return t;
70
+ };
71
+ return __assign.apply(this, arguments);
72
+ };
73
+ function __rest(s, e) {
74
+ var t = {};
75
+ for (var p in s)
76
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
77
+ t[p] = s[p];
78
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
79
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
80
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
81
+ t[p[i]] = s[p[i]];
82
+ }
83
+ return t;
84
+ }
85
+ function __decorate(decorators, target, key, desc) {
86
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
87
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
88
+ r = Reflect.decorate(decorators, target, key, desc);
89
+ else
90
+ for (var i = decorators.length - 1; i >= 0; i--)
91
+ if (d = decorators[i])
92
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
93
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
94
+ }
95
+ function __param(paramIndex, decorator) {
96
+ return function (target, key) { decorator(target, key, paramIndex); };
97
+ }
98
+ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
99
+ function accept(f) { if (f !== void 0 && typeof f !== "function")
100
+ throw new TypeError("Function expected"); return f; }
101
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
102
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
103
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
104
+ var _, done = false;
105
+ for (var i = decorators.length - 1; i >= 0; i--) {
106
+ var context = {};
107
+ for (var p in contextIn)
108
+ context[p] = p === "access" ? {} : contextIn[p];
109
+ for (var p in contextIn.access)
110
+ context.access[p] = contextIn.access[p];
111
+ context.addInitializer = function (f) { if (done)
112
+ throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
113
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
114
+ if (kind === "accessor") {
115
+ if (result === void 0)
116
+ continue;
117
+ if (result === null || typeof result !== "object")
118
+ throw new TypeError("Object expected");
119
+ if (_ = accept(result.get))
120
+ descriptor.get = _;
121
+ if (_ = accept(result.set))
122
+ descriptor.set = _;
123
+ if (_ = accept(result.init))
124
+ initializers.unshift(_);
125
+ }
126
+ else if (_ = accept(result)) {
127
+ if (kind === "field")
128
+ initializers.unshift(_);
129
+ else
130
+ descriptor[key] = _;
131
+ }
132
+ }
133
+ if (target)
134
+ Object.defineProperty(target, contextIn.name, descriptor);
135
+ done = true;
136
+ }
137
+ ;
138
+ function __runInitializers(thisArg, initializers, value) {
139
+ var useValue = arguments.length > 2;
140
+ for (var i = 0; i < initializers.length; i++) {
141
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
142
+ }
143
+ return useValue ? value : void 0;
144
+ }
145
+ ;
146
+ function __propKey(x) {
147
+ return typeof x === "symbol" ? x : "".concat(x);
148
+ }
149
+ ;
150
+ function __setFunctionName(f, name, prefix) {
151
+ if (typeof name === "symbol")
152
+ name = name.description ? "[".concat(name.description, "]") : "";
153
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
154
+ }
155
+ ;
156
+ function __metadata(metadataKey, metadataValue) {
157
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
158
+ return Reflect.metadata(metadataKey, metadataValue);
159
+ }
160
+ function __awaiter(thisArg, _arguments, P, generator) {
161
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
162
+ return new (P || (P = Promise))(function (resolve, reject) {
163
+ function fulfilled(value) { try {
164
+ step(generator.next(value));
165
+ }
166
+ catch (e) {
167
+ reject(e);
168
+ } }
169
+ function rejected(value) { try {
170
+ step(generator["throw"](value));
171
+ }
172
+ catch (e) {
173
+ reject(e);
174
+ } }
175
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
176
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
177
+ });
178
+ }
179
+ function __generator(thisArg, body) {
180
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
181
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
182
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
183
+ function verb(n) { return function (v) { return step([n, v]); }; }
184
+ function step(op) {
185
+ if (f)
186
+ throw new TypeError("Generator is already executing.");
187
+ while (g && (g = 0, op[0] && (_ = 0)), _)
188
+ try {
189
+ 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)
190
+ return t;
191
+ if (y = 0, t)
192
+ op = [op[0] & 2, t.value];
193
+ switch (op[0]) {
194
+ case 0:
195
+ case 1:
196
+ t = op;
197
+ break;
198
+ case 4:
199
+ _.label++;
200
+ return { value: op[1], done: false };
201
+ case 5:
202
+ _.label++;
203
+ y = op[1];
204
+ op = [0];
205
+ continue;
206
+ case 7:
207
+ op = _.ops.pop();
208
+ _.trys.pop();
209
+ continue;
210
+ default:
211
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
212
+ _ = 0;
213
+ continue;
214
+ }
215
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
216
+ _.label = op[1];
217
+ break;
218
+ }
219
+ if (op[0] === 6 && _.label < t[1]) {
220
+ _.label = t[1];
221
+ t = op;
222
+ break;
223
+ }
224
+ if (t && _.label < t[2]) {
225
+ _.label = t[2];
226
+ _.ops.push(op);
227
+ break;
228
+ }
229
+ if (t[2])
230
+ _.ops.pop();
231
+ _.trys.pop();
232
+ continue;
233
+ }
234
+ op = body.call(thisArg, _);
235
+ }
236
+ catch (e) {
237
+ op = [6, e];
238
+ y = 0;
239
+ }
240
+ finally {
241
+ f = t = 0;
242
+ }
243
+ if (op[0] & 5)
244
+ throw op[1];
245
+ return { value: op[0] ? op[1] : void 0, done: true };
246
+ }
247
+ }
248
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
249
+ if (k2 === undefined)
250
+ k2 = k;
251
+ var desc = Object.getOwnPropertyDescriptor(m, k);
252
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
253
+ desc = { enumerable: true, get: function () { return m[k]; } };
254
+ }
255
+ Object.defineProperty(o, k2, desc);
256
+ }) : (function (o, m, k, k2) {
257
+ if (k2 === undefined)
258
+ k2 = k;
259
+ o[k2] = m[k];
260
+ });
261
+ function __exportStar(m, o) {
262
+ for (var p in m)
263
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
264
+ __createBinding(o, m, p);
265
+ }
266
+ function __values(o) {
267
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
268
+ if (m)
269
+ return m.call(o);
270
+ if (o && typeof o.length === "number")
271
+ return {
272
+ next: function () {
273
+ if (o && i >= o.length)
274
+ o = void 0;
275
+ return { value: o && o[i++], done: !o };
276
+ }
277
+ };
278
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
279
+ }
280
+ function __read(o, n) {
281
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
282
+ if (!m)
283
+ return o;
284
+ var i = m.call(o), r, ar = [], e;
285
+ try {
286
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
287
+ ar.push(r.value);
288
+ }
289
+ catch (error) {
290
+ e = { error: error };
291
+ }
292
+ finally {
293
+ try {
294
+ if (r && !r.done && (m = i["return"]))
295
+ m.call(i);
296
+ }
297
+ finally {
298
+ if (e)
299
+ throw e.error;
300
+ }
301
+ }
302
+ return ar;
303
+ }
304
+ /** @deprecated */
305
+ function __spread() {
306
+ for (var ar = [], i = 0; i < arguments.length; i++)
307
+ ar = ar.concat(__read(arguments[i]));
308
+ return ar;
309
+ }
310
+ /** @deprecated */
311
+ function __spreadArrays() {
312
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
313
+ s += arguments[i].length;
314
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
315
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
316
+ r[k] = a[j];
317
+ return r;
318
+ }
319
+ function __spreadArray(to, from, pack) {
320
+ if (pack || arguments.length === 2)
321
+ for (var i = 0, l = from.length, ar; i < l; i++) {
322
+ if (ar || !(i in from)) {
323
+ if (!ar)
324
+ ar = Array.prototype.slice.call(from, 0, i);
325
+ ar[i] = from[i];
326
+ }
327
+ }
328
+ return to.concat(ar || Array.prototype.slice.call(from));
329
+ }
330
+ function __await(v) {
331
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
332
+ }
333
+ function __asyncGenerator(thisArg, _arguments, generator) {
334
+ if (!Symbol.asyncIterator)
335
+ throw new TypeError("Symbol.asyncIterator is not defined.");
336
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
337
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
338
+ function verb(n) { if (g[n])
339
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
340
+ function resume(n, v) { try {
341
+ step(g[n](v));
342
+ }
343
+ catch (e) {
344
+ settle(q[0][3], e);
345
+ } }
346
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
347
+ function fulfill(value) { resume("next", value); }
348
+ function reject(value) { resume("throw", value); }
349
+ function settle(f, v) { if (f(v), q.shift(), q.length)
350
+ resume(q[0][0], q[0][1]); }
351
+ }
352
+ function __asyncDelegator(o) {
353
+ var i, p;
354
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
355
+ 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; }
356
+ }
357
+ function __asyncValues(o) {
358
+ if (!Symbol.asyncIterator)
359
+ throw new TypeError("Symbol.asyncIterator is not defined.");
360
+ var m = o[Symbol.asyncIterator], i;
361
+ 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);
362
+ 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); }); }; }
363
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
364
+ }
365
+ function __makeTemplateObject(cooked, raw) {
366
+ if (Object.defineProperty) {
367
+ Object.defineProperty(cooked, "raw", { value: raw });
368
+ }
369
+ else {
370
+ cooked.raw = raw;
371
+ }
372
+ return cooked;
373
+ }
374
+ ;
375
+ var __setModuleDefault = Object.create ? (function (o, v) {
376
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
377
+ }) : function (o, v) {
378
+ o["default"] = v;
379
+ };
380
+ function __importStar(mod) {
381
+ if (mod && mod.__esModule)
382
+ return mod;
383
+ var result = {};
384
+ if (mod != null)
385
+ for (var k in mod)
386
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
387
+ __createBinding(result, mod, k);
388
+ __setModuleDefault(result, mod);
389
+ return result;
390
+ }
391
+ function __importDefault(mod) {
392
+ return (mod && mod.__esModule) ? mod : { default: mod };
393
+ }
394
+ function __classPrivateFieldGet(receiver, state, kind, f) {
395
+ if (kind === "a" && !f)
396
+ throw new TypeError("Private accessor was defined without a getter");
397
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
398
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
399
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
400
+ }
401
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
402
+ if (kind === "m")
403
+ throw new TypeError("Private method is not writable");
404
+ if (kind === "a" && !f)
405
+ throw new TypeError("Private accessor was defined without a setter");
406
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
407
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
408
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
409
+ }
410
+ function __classPrivateFieldIn(state, receiver) {
411
+ if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
412
+ throw new TypeError("Cannot use 'in' operator on non-object");
413
+ return typeof state === "function" ? receiver === state : state.has(receiver);
414
+ }
415
+ function __addDisposableResource(env, value, async) {
416
+ if (value !== null && value !== void 0) {
417
+ if (typeof value !== "object" && typeof value !== "function")
418
+ throw new TypeError("Object expected.");
419
+ var dispose;
420
+ if (async) {
421
+ if (!Symbol.asyncDispose)
422
+ throw new TypeError("Symbol.asyncDispose is not defined.");
423
+ dispose = value[Symbol.asyncDispose];
424
+ }
425
+ if (dispose === void 0) {
426
+ if (!Symbol.dispose)
427
+ throw new TypeError("Symbol.dispose is not defined.");
428
+ dispose = value[Symbol.dispose];
429
+ }
430
+ if (typeof dispose !== "function")
431
+ throw new TypeError("Object not disposable.");
432
+ env.stack.push({ value: value, dispose: dispose, async: async });
433
+ }
434
+ else if (async) {
435
+ env.stack.push({ async: true });
436
+ }
437
+ return value;
438
+ }
439
+ var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
440
+ var e = new Error(message);
441
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
442
+ };
443
+ function __disposeResources(env) {
444
+ function fail(e) {
445
+ env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
446
+ env.hasError = true;
447
+ }
448
+ function next() {
449
+ while (env.stack.length) {
450
+ var rec = env.stack.pop();
451
+ try {
452
+ var result = rec.dispose && rec.dispose.call(rec.value);
453
+ if (rec.async)
454
+ return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
455
+ }
456
+ catch (e) {
457
+ fail(e);
458
+ }
459
+ }
460
+ if (env.hasError)
461
+ throw env.error;
462
+ }
463
+ return next();
464
+ }
465
+ var tslib_es6 = {
466
+ __extends: __extends,
467
+ __assign: __assign,
468
+ __rest: __rest,
469
+ __decorate: __decorate,
470
+ __param: __param,
471
+ __metadata: __metadata,
472
+ __awaiter: __awaiter,
473
+ __generator: __generator,
474
+ __createBinding: __createBinding,
475
+ __exportStar: __exportStar,
476
+ __values: __values,
477
+ __read: __read,
478
+ __spread: __spread,
479
+ __spreadArrays: __spreadArrays,
480
+ __spreadArray: __spreadArray,
481
+ __await: __await,
482
+ __asyncGenerator: __asyncGenerator,
483
+ __asyncDelegator: __asyncDelegator,
484
+ __asyncValues: __asyncValues,
485
+ __makeTemplateObject: __makeTemplateObject,
486
+ __importStar: __importStar,
487
+ __importDefault: __importDefault,
488
+ __classPrivateFieldGet: __classPrivateFieldGet,
489
+ __classPrivateFieldSet: __classPrivateFieldSet,
490
+ __classPrivateFieldIn: __classPrivateFieldIn,
491
+ __addDisposableResource: __addDisposableResource,
492
+ __disposeResources: __disposeResources,
493
+ };
348
494
 
349
- var AbstractTuiInputCard = /** @class */ (function (_super) {
350
- __extends(AbstractTuiInputCard, _super);
351
- function AbstractTuiInputCard(control, cdr, options) {
352
- var _this = _super.call(this, control, cdr) || this;
353
- _this.options = options;
354
- _this.autocompleteEnabled = _this.options.autocompleteEnabled;
355
- _this.binChange = new i0.EventEmitter();
356
- return _this;
357
- }
358
- Object.defineProperty(AbstractTuiInputCard.prototype, "defaultIcon", {
359
- get: function () {
360
- var paymentSystem = this.getPaymentSystem(this.card);
361
- return paymentSystem && this.options.icons[paymentSystem];
362
- },
363
- enumerable: false,
364
- configurable: true
365
- });
366
- Object.defineProperty(AbstractTuiInputCard.prototype, "paymentSystem", {
367
- get: function () {
368
- return this.getPaymentSystem(this.card);
369
- },
370
- enumerable: false,
371
- configurable: true
372
- });
373
- Object.defineProperty(AbstractTuiInputCard.prototype, "icon", {
374
- /** @deprecated remove in 4.0 */
375
- get: function () {
376
- return this.cardSrc || this.defaultIcon;
377
- },
378
- enumerable: false,
379
- configurable: true
380
- });
381
- Object.defineProperty(AbstractTuiInputCard.prototype, "autocomplete", {
382
- get: function () {
383
- return this.autocompleteEnabled ? 'cc-number' : 'off';
384
- },
385
- enumerable: false,
386
- configurable: true
387
- });
388
- Object.defineProperty(AbstractTuiInputCard.prototype, "autocompleteCard", {
389
- /**
390
- * @deprecated: drop in v4.0
391
- * use {@link autocomplete}
392
- */
393
- get: function () {
394
- return this.autocomplete;
395
- },
396
- enumerable: false,
397
- configurable: true
398
- });
399
- Object.defineProperty(AbstractTuiInputCard.prototype, "bin", {
400
- get: function () {
401
- return this.card.length < 6 ? null : this.card.slice(0, 6);
402
- },
403
- enumerable: false,
404
- configurable: true
405
- });
406
- AbstractTuiInputCard.prototype.getPaymentSystem = function (cardNumber) {
407
- return this.options.paymentSystemHandler(cardNumber);
408
- };
409
- return AbstractTuiInputCard;
410
- }(cdk.AbstractTuiNullableControl));
411
- AbstractTuiInputCard.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AbstractTuiInputCard, deps: "invalid", target: i0__namespace.ɵɵFactoryTarget.Directive });
412
- AbstractTuiInputCard.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: AbstractTuiInputCard, inputs: { cardSrc: "cardSrc", autocompleteEnabled: "autocompleteEnabled" }, outputs: { binChange: "binChange" }, usesInheritance: true, ngImport: i0__namespace });
413
- __decorate([
414
- cdk.tuiPure
415
- ], AbstractTuiInputCard.prototype, "getPaymentSystem", null);
416
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AbstractTuiInputCard, decorators: [{
417
- type: i0.Directive
418
- }], ctorParameters: function () {
419
- return [{ type: i1__namespace.NgControl, decorators: [{
420
- type: i0.Optional
421
- }, {
422
- type: i0.Self
423
- }, {
424
- type: i0.Inject,
425
- args: [i1.NgControl]
426
- }] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
427
- type: i0.Inject,
428
- args: [i0.ChangeDetectorRef]
429
- }] }, { type: undefined }];
430
- }, propDecorators: { cardSrc: [{
431
- type: i0.Input
432
- }], autocompleteEnabled: [{
433
- type: i0.Input
434
- }], binChange: [{
435
- type: i0.Output
436
- }], getPaymentSystem: [] } });
495
+ var AbstractTuiInputCard = /** @class */ (function (_super) {
496
+ __extends(AbstractTuiInputCard, _super);
497
+ function AbstractTuiInputCard(control, cdr, options) {
498
+ var _this = _super.call(this, control, cdr) || this;
499
+ _this.options = options;
500
+ _this.autocompleteEnabled = _this.options.autocompleteEnabled;
501
+ _this.binChange = new i0.EventEmitter();
502
+ return _this;
503
+ }
504
+ Object.defineProperty(AbstractTuiInputCard.prototype, "defaultIcon", {
505
+ get: function () {
506
+ var paymentSystem = this.getPaymentSystem(this.card);
507
+ return paymentSystem && this.options.icons[paymentSystem];
508
+ },
509
+ enumerable: false,
510
+ configurable: true
511
+ });
512
+ Object.defineProperty(AbstractTuiInputCard.prototype, "paymentSystem", {
513
+ get: function () {
514
+ return this.getPaymentSystem(this.card);
515
+ },
516
+ enumerable: false,
517
+ configurable: true
518
+ });
519
+ Object.defineProperty(AbstractTuiInputCard.prototype, "icon", {
520
+ /** @deprecated remove in 4.0 */
521
+ get: function () {
522
+ return this.cardSrc || this.defaultIcon;
523
+ },
524
+ enumerable: false,
525
+ configurable: true
526
+ });
527
+ Object.defineProperty(AbstractTuiInputCard.prototype, "autocomplete", {
528
+ get: function () {
529
+ return this.autocompleteEnabled ? 'cc-number' : 'off';
530
+ },
531
+ enumerable: false,
532
+ configurable: true
533
+ });
534
+ Object.defineProperty(AbstractTuiInputCard.prototype, "autocompleteCard", {
535
+ /**
536
+ * @deprecated: drop in v4.0
537
+ * use {@link autocomplete}
538
+ */
539
+ get: function () {
540
+ return this.autocomplete;
541
+ },
542
+ enumerable: false,
543
+ configurable: true
544
+ });
545
+ Object.defineProperty(AbstractTuiInputCard.prototype, "bin", {
546
+ get: function () {
547
+ return this.card.length < 6 ? null : this.card.slice(0, 6);
548
+ },
549
+ enumerable: false,
550
+ configurable: true
551
+ });
552
+ AbstractTuiInputCard.prototype.getPaymentSystem = function (cardNumber) {
553
+ return this.options.paymentSystemHandler(cardNumber);
554
+ };
555
+ return AbstractTuiInputCard;
556
+ }(cdk.AbstractTuiNullableControl));
557
+ AbstractTuiInputCard.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AbstractTuiInputCard, deps: "invalid", target: i0__namespace.ɵɵFactoryTarget.Directive });
558
+ AbstractTuiInputCard.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: AbstractTuiInputCard, inputs: { cardSrc: "cardSrc", autocompleteEnabled: "autocompleteEnabled" }, outputs: { binChange: "binChange" }, usesInheritance: true, ngImport: i0__namespace });
559
+ __decorate([
560
+ cdk.tuiPure
561
+ ], AbstractTuiInputCard.prototype, "getPaymentSystem", null);
562
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AbstractTuiInputCard, decorators: [{
563
+ type: i0.Directive
564
+ }], ctorParameters: function () {
565
+ return [{ type: i1__namespace.NgControl, decorators: [{
566
+ type: i0.Optional
567
+ }, {
568
+ type: i0.Self
569
+ }, {
570
+ type: i0.Inject,
571
+ args: [i1.NgControl]
572
+ }] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
573
+ type: i0.Inject,
574
+ args: [i0.ChangeDetectorRef]
575
+ }] }, { type: undefined }];
576
+ }, propDecorators: { cardSrc: [{
577
+ type: i0.Input
578
+ }], autocompleteEnabled: [{
579
+ type: i0.Input
580
+ }], binChange: [{
581
+ type: i0.Output
582
+ }], getPaymentSystem: [] } });
437
583
 
438
- // TODO: Move payment system icons into its own token in 4.0
439
- var TUI_INPUT_CARD_DEFAULT_OPTIONS = {
440
- icons: utils.TUI_PAYMENT_SYSTEM_ICONS,
441
- cardSrc: '',
442
- paymentSystemHandler: utils.tuiGetPaymentSystem,
443
- autocompleteEnabled: false,
444
- };
445
- var TUI_INPUT_CARD_OPTIONS = cdk.tuiCreateToken(TUI_INPUT_CARD_DEFAULT_OPTIONS);
446
- function tuiInputCardOptionsProvider(options) {
447
- return cdk.tuiProvideOptions(TUI_INPUT_CARD_OPTIONS, options, TUI_INPUT_CARD_DEFAULT_OPTIONS);
448
- }
584
+ // TODO: Move payment system icons into its own token in 4.0
585
+ var TUI_INPUT_CARD_DEFAULT_OPTIONS = {
586
+ icons: utils.TUI_PAYMENT_SYSTEM_ICONS,
587
+ cardSrc: '',
588
+ paymentSystemHandler: utils.tuiGetPaymentSystem,
589
+ autocompleteEnabled: false,
590
+ };
591
+ var TUI_INPUT_CARD_OPTIONS = cdk.tuiCreateToken(TUI_INPUT_CARD_DEFAULT_OPTIONS);
592
+ function tuiInputCardOptionsProvider(options) {
593
+ return cdk.tuiProvideOptions(TUI_INPUT_CARD_OPTIONS, options, TUI_INPUT_CARD_DEFAULT_OPTIONS);
594
+ }
449
595
 
450
- var TuiInputCardComponent = /** @class */ (function (_super) {
451
- __extends(TuiInputCardComponent, _super);
452
- function TuiInputCardComponent(control, cdr, textfieldSize, options) {
453
- var _this = _super.call(this, control, cdr, options) || this;
454
- _this.textfieldSize = textfieldSize;
455
- _this.maskOptions = {
456
- mask: constants.TUI_CARD_MASK,
457
- };
458
- return _this;
459
- }
460
- Object.defineProperty(TuiInputCardComponent.prototype, "size", {
461
- get: function () {
462
- return this.textfieldSize.size;
463
- },
464
- enumerable: false,
465
- configurable: true
466
- });
467
- Object.defineProperty(TuiInputCardComponent.prototype, "card", {
468
- get: function () {
469
- var _a;
470
- return (_a = this.value) !== null && _a !== void 0 ? _a : '';
471
- },
472
- enumerable: false,
473
- configurable: true
474
- });
475
- Object.defineProperty(TuiInputCardComponent.prototype, "nativeFocusableElement", {
476
- get: function () {
477
- var _a, _b;
478
- return (_b = (_a = this.input) === null || _a === void 0 ? void 0 : _a.nativeFocusableElement) !== null && _b !== void 0 ? _b : null;
479
- },
480
- enumerable: false,
481
- configurable: true
482
- });
483
- Object.defineProperty(TuiInputCardComponent.prototype, "focused", {
484
- get: function () {
485
- return !!this.input && this.input.focused;
486
- },
487
- enumerable: false,
488
- configurable: true
489
- });
490
- TuiInputCardComponent.prototype.onValueChange = function (value) {
491
- var parsed = value.split(' ').join('');
492
- var currentBin = this.bin;
493
- this.value = parsed;
494
- var newBin = this.bin;
495
- if (currentBin !== newBin) {
496
- this.binChange.emit(newBin);
497
- }
498
- };
499
- TuiInputCardComponent.prototype.onFocused = function (focused) {
500
- this.updateFocused(focused);
501
- };
502
- TuiInputCardComponent.prototype.writeValue = function (value) {
503
- var currentBin = this.bin;
504
- _super.prototype.writeValue.call(this, value);
505
- var newBin = this.bin;
506
- if (currentBin !== newBin) {
507
- this.binChange.emit(newBin);
508
- }
509
- };
510
- TuiInputCardComponent.prototype.getFallbackValue = function () {
511
- return '';
512
- };
513
- return TuiInputCardComponent;
514
- }(AbstractTuiInputCard));
515
- TuiInputCardComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: i1$1.TUI_TEXTFIELD_SIZE }, { token: TUI_INPUT_CARD_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Component });
516
- TuiInputCardComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputCardComponent, selector: "tui-input-card", host: { properties: { "attr.data-size": "this.size" } }, providers: [
517
- cdk.tuiAsFocusableItemAccessor(TuiInputCardComponent),
518
- cdk.tuiAsControl(TuiInputCardComponent),
519
- ], viewQueries: [{ propertyName: "input", first: true, predicate: i1$1.TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<tui-primitive-textfield\n tuiValueAccessor\n class=\"t-input\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskOptions\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldCustomContent]=\"cardSrc || (defaultIcon && logo)\"\n [value]=\"card | maskito: maskOptions\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n>\n <ng-content></ng-content>\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n ></ng-content>\n</tui-primitive-textfield>\n<ng-template #logo>\n <tui-svg\n class=\"t-payment-system\"\n [src]=\"defaultIcon\"\n ></tui-svg>\n</ng-template>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-input{border-radius:inherit;text-align:inherit}.t-payment-system{width:2rem;height:2rem;color:#1434cb}\n"], components: [{ type: i1__namespace$1.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "filler", "iconCleaner", "readOnly", "invalid", "disabled", "prefix", "postfix", "value"], outputs: ["valueChange"] }, { type: i1__namespace$1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i1__namespace$1.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { type: i2__namespace.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { type: i3__namespace.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { type: i1__namespace$1.TuiTextfieldCustomContentDirective, selector: "[tuiTextfieldCustomContent]", inputs: ["tuiTextfieldCustomContent"] }], pipes: { "maskito": i3__namespace.MaskitoPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
520
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardComponent, decorators: [{
521
- type: i0.Component,
522
- args: [{
523
- selector: 'tui-input-card',
524
- templateUrl: './input-card.template.html',
525
- styleUrls: ['./input-card.style.less'],
526
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
527
- providers: [
528
- cdk.tuiAsFocusableItemAccessor(TuiInputCardComponent),
529
- cdk.tuiAsControl(TuiInputCardComponent),
530
- ],
531
- }]
532
- }], ctorParameters: function () {
533
- return [{ type: i1__namespace.NgControl, decorators: [{
534
- type: i0.Optional
535
- }, {
536
- type: i0.Self
537
- }, {
538
- type: i0.Inject,
539
- args: [i1.NgControl]
540
- }] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
541
- type: i0.Inject,
542
- args: [i0.ChangeDetectorRef]
543
- }] }, { type: i1__namespace$1.TuiTextfieldSizeDirective, decorators: [{
544
- type: i0.Inject,
545
- args: [i1$1.TUI_TEXTFIELD_SIZE]
546
- }] }, { type: undefined, decorators: [{
547
- type: i0.Inject,
548
- args: [TUI_INPUT_CARD_OPTIONS]
549
- }] }];
550
- }, propDecorators: { input: [{
551
- type: i0.ViewChild,
552
- args: [i1$1.TuiPrimitiveTextfieldComponent]
553
- }], size: [{
554
- type: i0.HostBinding,
555
- args: ['attr.data-size']
556
- }] } });
596
+ var TuiInputCardComponent = /** @class */ (function (_super) {
597
+ __extends(TuiInputCardComponent, _super);
598
+ function TuiInputCardComponent(control, cdr, textfieldSize, options) {
599
+ var _this = _super.call(this, control, cdr, options) || this;
600
+ _this.textfieldSize = textfieldSize;
601
+ _this.maskOptions = {
602
+ mask: constants.TUI_CARD_MASK,
603
+ };
604
+ return _this;
605
+ }
606
+ Object.defineProperty(TuiInputCardComponent.prototype, "size", {
607
+ get: function () {
608
+ return this.textfieldSize.size;
609
+ },
610
+ enumerable: false,
611
+ configurable: true
612
+ });
613
+ Object.defineProperty(TuiInputCardComponent.prototype, "card", {
614
+ get: function () {
615
+ var _a;
616
+ return (_a = this.value) !== null && _a !== void 0 ? _a : '';
617
+ },
618
+ enumerable: false,
619
+ configurable: true
620
+ });
621
+ Object.defineProperty(TuiInputCardComponent.prototype, "nativeFocusableElement", {
622
+ get: function () {
623
+ var _a, _b;
624
+ return (_b = (_a = this.input) === null || _a === void 0 ? void 0 : _a.nativeFocusableElement) !== null && _b !== void 0 ? _b : null;
625
+ },
626
+ enumerable: false,
627
+ configurable: true
628
+ });
629
+ Object.defineProperty(TuiInputCardComponent.prototype, "focused", {
630
+ get: function () {
631
+ return !!this.input && this.input.focused;
632
+ },
633
+ enumerable: false,
634
+ configurable: true
635
+ });
636
+ TuiInputCardComponent.prototype.onValueChange = function (value) {
637
+ var parsed = value.split(' ').join('');
638
+ var currentBin = this.bin;
639
+ this.value = parsed;
640
+ var newBin = this.bin;
641
+ if (currentBin !== newBin) {
642
+ this.binChange.emit(newBin);
643
+ }
644
+ };
645
+ TuiInputCardComponent.prototype.onFocused = function (focused) {
646
+ this.updateFocused(focused);
647
+ };
648
+ TuiInputCardComponent.prototype.writeValue = function (value) {
649
+ var currentBin = this.bin;
650
+ _super.prototype.writeValue.call(this, value);
651
+ var newBin = this.bin;
652
+ if (currentBin !== newBin) {
653
+ this.binChange.emit(newBin);
654
+ }
655
+ };
656
+ TuiInputCardComponent.prototype.getFallbackValue = function () {
657
+ return '';
658
+ };
659
+ return TuiInputCardComponent;
660
+ }(AbstractTuiInputCard));
661
+ TuiInputCardComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: i1$1.TUI_TEXTFIELD_SIZE }, { token: TUI_INPUT_CARD_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Component });
662
+ TuiInputCardComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputCardComponent, selector: "tui-input-card", host: { properties: { "attr.data-size": "this.size" } }, providers: [
663
+ cdk.tuiAsFocusableItemAccessor(TuiInputCardComponent),
664
+ cdk.tuiAsControl(TuiInputCardComponent),
665
+ ], viewQueries: [{ propertyName: "input", first: true, predicate: i1$1.TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<tui-primitive-textfield\n tuiValueAccessor\n class=\"t-input\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskOptions\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldCustomContent]=\"cardSrc || (defaultIcon && logo)\"\n [value]=\"card | maskito: maskOptions\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n>\n <ng-content></ng-content>\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n ></ng-content>\n</tui-primitive-textfield>\n<ng-template #logo>\n <tui-svg\n class=\"t-payment-system\"\n [src]=\"defaultIcon\"\n ></tui-svg>\n</ng-template>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-input{border-radius:inherit;text-align:inherit}.t-payment-system{width:2rem;height:2rem;color:#1434cb}\n"], components: [{ type: i1__namespace$1.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "filler", "iconCleaner", "readOnly", "invalid", "disabled", "prefix", "postfix", "value"], outputs: ["valueChange"] }, { type: i1__namespace$1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i1__namespace$1.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { type: i2__namespace.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { type: i3__namespace.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { type: i1__namespace$1.TuiTextfieldCustomContentDirective, selector: "[tuiTextfieldCustomContent]", inputs: ["tuiTextfieldCustomContent"] }], pipes: { "maskito": i3__namespace.MaskitoPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
666
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardComponent, decorators: [{
667
+ type: i0.Component,
668
+ args: [{
669
+ selector: 'tui-input-card',
670
+ templateUrl: './input-card.template.html',
671
+ styleUrls: ['./input-card.style.less'],
672
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
673
+ providers: [
674
+ cdk.tuiAsFocusableItemAccessor(TuiInputCardComponent),
675
+ cdk.tuiAsControl(TuiInputCardComponent),
676
+ ],
677
+ }]
678
+ }], ctorParameters: function () {
679
+ return [{ type: i1__namespace.NgControl, decorators: [{
680
+ type: i0.Optional
681
+ }, {
682
+ type: i0.Self
683
+ }, {
684
+ type: i0.Inject,
685
+ args: [i1.NgControl]
686
+ }] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
687
+ type: i0.Inject,
688
+ args: [i0.ChangeDetectorRef]
689
+ }] }, { type: i1__namespace$1.TuiTextfieldSizeDirective, decorators: [{
690
+ type: i0.Inject,
691
+ args: [i1$1.TUI_TEXTFIELD_SIZE]
692
+ }] }, { type: undefined, decorators: [{
693
+ type: i0.Inject,
694
+ args: [TUI_INPUT_CARD_OPTIONS]
695
+ }] }];
696
+ }, propDecorators: { input: [{
697
+ type: i0.ViewChild,
698
+ args: [i1$1.TuiPrimitiveTextfieldComponent]
699
+ }], size: [{
700
+ type: i0.HostBinding,
701
+ args: ['attr.data-size']
702
+ }] } });
557
703
 
558
- var TuiInputCardDirective = /** @class */ (function (_super) {
559
- __extends(TuiInputCardDirective, _super);
560
- function TuiInputCardDirective() {
561
- return _super !== null && _super.apply(this, arguments) || this;
562
- }
563
- TuiInputCardDirective.prototype.onValueChange = function (value) {
564
- this.host.onValueChange(value);
565
- };
566
- TuiInputCardDirective.prototype.ngAfterViewInit = function () {
567
- var nativeFocusableElement = this.host.nativeFocusableElement;
568
- if (!nativeFocusableElement) {
569
- return;
570
- }
571
- nativeFocusableElement.inputMode = 'numeric';
572
- nativeFocusableElement.placeholder =
573
- nativeFocusableElement.placeholder || '0000 0000 0000 0000';
574
- };
575
- return TuiInputCardDirective;
576
- }(i1$1.AbstractTuiTextfieldHost));
577
- TuiInputCardDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
578
- TuiInputCardDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputCardDirective, selector: "tui-input-card", providers: [i1$1.tuiAsTextfieldHost(TuiInputCardDirective)], usesInheritance: true, ngImport: i0__namespace });
579
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardDirective, decorators: [{
580
- type: i0.Directive,
581
- args: [{
582
- selector: 'tui-input-card',
583
- providers: [i1$1.tuiAsTextfieldHost(TuiInputCardDirective)],
584
- }]
585
- }] });
704
+ var TuiInputCardDirective = /** @class */ (function (_super) {
705
+ __extends(TuiInputCardDirective, _super);
706
+ function TuiInputCardDirective() {
707
+ return _super !== null && _super.apply(this, arguments) || this;
708
+ }
709
+ TuiInputCardDirective.prototype.onValueChange = function (value) {
710
+ this.host.onValueChange(value);
711
+ };
712
+ TuiInputCardDirective.prototype.ngAfterViewInit = function () {
713
+ var nativeFocusableElement = this.host.nativeFocusableElement;
714
+ if (!nativeFocusableElement) {
715
+ return;
716
+ }
717
+ nativeFocusableElement.inputMode = 'numeric';
718
+ nativeFocusableElement.placeholder =
719
+ nativeFocusableElement.placeholder || '0000 0000 0000 0000';
720
+ };
721
+ return TuiInputCardDirective;
722
+ }(i1$1.AbstractTuiTextfieldHost));
723
+ TuiInputCardDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
724
+ TuiInputCardDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputCardDirective, selector: "tui-input-card", providers: [i1$1.tuiAsTextfieldHost(TuiInputCardDirective)], usesInheritance: true, ngImport: i0__namespace });
725
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardDirective, decorators: [{
726
+ type: i0.Directive,
727
+ args: [{
728
+ selector: 'tui-input-card',
729
+ providers: [i1$1.tuiAsTextfieldHost(TuiInputCardDirective)],
730
+ }]
731
+ }] });
586
732
 
587
- var TuiInputCardModule = /** @class */ (function () {
588
- function TuiInputCardModule() {
589
- }
590
- return TuiInputCardModule;
591
- }());
592
- TuiInputCardModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
593
- TuiInputCardModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardModule, declarations: [TuiInputCardComponent, TuiInputCardDirective], imports: [i3.MaskitoModule,
594
- i1$1.TuiPrimitiveTextfieldModule,
595
- i1$1.TuiTextfieldControllerModule,
596
- i2.TuiValueAccessorModule,
597
- i1$1.TuiSvgModule], exports: [TuiInputCardComponent, TuiInputCardDirective, i1$1.TuiTextfieldComponent] });
598
- TuiInputCardModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardModule, imports: [[
599
- i3.MaskitoModule,
600
- i1$1.TuiPrimitiveTextfieldModule,
601
- i1$1.TuiTextfieldControllerModule,
602
- i2.TuiValueAccessorModule,
603
- i1$1.TuiSvgModule,
604
- ]] });
605
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardModule, decorators: [{
606
- type: i0.NgModule,
607
- args: [{
608
- imports: [
609
- i3.MaskitoModule,
610
- i1$1.TuiPrimitiveTextfieldModule,
611
- i1$1.TuiTextfieldControllerModule,
612
- i2.TuiValueAccessorModule,
613
- i1$1.TuiSvgModule,
614
- ],
615
- declarations: [TuiInputCardComponent, TuiInputCardDirective],
616
- exports: [TuiInputCardComponent, TuiInputCardDirective, i1$1.TuiTextfieldComponent],
617
- }]
618
- }] });
733
+ var TuiInputCardModule = /** @class */ (function () {
734
+ function TuiInputCardModule() {
735
+ }
736
+ return TuiInputCardModule;
737
+ }());
738
+ TuiInputCardModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
739
+ TuiInputCardModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardModule, declarations: [TuiInputCardComponent, TuiInputCardDirective], imports: [i3.MaskitoModule,
740
+ i1$1.TuiPrimitiveTextfieldModule,
741
+ i1$1.TuiTextfieldControllerModule,
742
+ i2.TuiValueAccessorModule,
743
+ i1$1.TuiSvgModule], exports: [TuiInputCardComponent, TuiInputCardDirective, i1$1.TuiTextfieldComponent] });
744
+ TuiInputCardModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardModule, imports: [[
745
+ i3.MaskitoModule,
746
+ i1$1.TuiPrimitiveTextfieldModule,
747
+ i1$1.TuiTextfieldControllerModule,
748
+ i2.TuiValueAccessorModule,
749
+ i1$1.TuiSvgModule,
750
+ ]] });
751
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardModule, decorators: [{
752
+ type: i0.NgModule,
753
+ args: [{
754
+ imports: [
755
+ i3.MaskitoModule,
756
+ i1$1.TuiPrimitiveTextfieldModule,
757
+ i1$1.TuiTextfieldControllerModule,
758
+ i2.TuiValueAccessorModule,
759
+ i1$1.TuiSvgModule,
760
+ ],
761
+ declarations: [TuiInputCardComponent, TuiInputCardDirective],
762
+ exports: [TuiInputCardComponent, TuiInputCardDirective, i1$1.TuiTextfieldComponent],
763
+ }]
764
+ }] });
619
765
 
620
- /**
621
- * Generated bundle index. Do not edit.
622
- */
766
+ /**
767
+ * Generated bundle index. Do not edit.
768
+ */
623
769
 
624
- exports.AbstractTuiInputCard = AbstractTuiInputCard;
625
- exports.TUI_INPUT_CARD_DEFAULT_OPTIONS = TUI_INPUT_CARD_DEFAULT_OPTIONS;
626
- exports.TUI_INPUT_CARD_OPTIONS = TUI_INPUT_CARD_OPTIONS;
627
- exports.TuiInputCardComponent = TuiInputCardComponent;
628
- exports.TuiInputCardDirective = TuiInputCardDirective;
629
- exports.TuiInputCardModule = TuiInputCardModule;
630
- exports.tuiInputCardOptionsProvider = tuiInputCardOptionsProvider;
770
+ exports.AbstractTuiInputCard = AbstractTuiInputCard;
771
+ exports.TUI_INPUT_CARD_DEFAULT_OPTIONS = TUI_INPUT_CARD_DEFAULT_OPTIONS;
772
+ exports.TUI_INPUT_CARD_OPTIONS = TUI_INPUT_CARD_OPTIONS;
773
+ exports.TuiInputCardComponent = TuiInputCardComponent;
774
+ exports.TuiInputCardDirective = TuiInputCardDirective;
775
+ exports.TuiInputCardModule = TuiInputCardModule;
776
+ exports.tuiInputCardOptionsProvider = tuiInputCardOptionsProvider;
631
777
 
632
- Object.defineProperty(exports, '__esModule', { value: true });
778
+ Object.defineProperty(exports, '__esModule', { value: true });
633
779
 
634
780
  }));
635
781
  //# sourceMappingURL=taiga-ui-addon-commerce-components-input-card.umd.js.map