@taiga-ui/cdk 3.87.0-canary.95b57e0 → 3.87.0-canary.96c5656

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 (42) hide show
  1. package/bundles/taiga-ui-cdk-abstract.umd.js +971 -1118
  2. package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
  3. package/bundles/taiga-ui-cdk-components-dialog-host.umd.js +504 -650
  4. package/bundles/taiga-ui-cdk-components-dialog-host.umd.js.map +1 -1
  5. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js +404 -550
  6. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js.map +1 -1
  7. package/bundles/taiga-ui-cdk-components-scroll-controls.umd.js +591 -737
  8. package/bundles/taiga-ui-cdk-components-scroll-controls.umd.js.map +1 -1
  9. package/bundles/taiga-ui-cdk-date-time.umd.js +6 -152
  10. package/bundles/taiga-ui-cdk-date-time.umd.js.map +1 -1
  11. package/bundles/taiga-ui-cdk-decorators.umd.js +6 -152
  12. package/bundles/taiga-ui-cdk-decorators.umd.js.map +1 -1
  13. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js +437 -583
  14. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js.map +1 -1
  15. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js +706 -852
  16. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js.map +1 -1
  17. package/bundles/taiga-ui-cdk-directives-for-async.umd.js +426 -572
  18. package/bundles/taiga-ui-cdk-directives-for-async.umd.js.map +1 -1
  19. package/bundles/taiga-ui-cdk-directives-hovered.umd.js +410 -556
  20. package/bundles/taiga-ui-cdk-directives-hovered.umd.js.map +1 -1
  21. package/bundles/taiga-ui-cdk-directives-resizer.umd.js +482 -628
  22. package/bundles/taiga-ui-cdk-directives-resizer.umd.js.map +1 -1
  23. package/bundles/taiga-ui-cdk-exceptions.umd.js +426 -572
  24. package/bundles/taiga-ui-cdk-exceptions.umd.js.map +1 -1
  25. package/bundles/taiga-ui-cdk-pipes-filter.umd.js +373 -519
  26. package/bundles/taiga-ui-cdk-pipes-filter.umd.js.map +1 -1
  27. package/bundles/taiga-ui-cdk-pipes-mapper.umd.js +373 -519
  28. package/bundles/taiga-ui-cdk-pipes-mapper.umd.js.map +1 -1
  29. package/bundles/taiga-ui-cdk-services.umd.js +840 -986
  30. package/bundles/taiga-ui-cdk-services.umd.js.map +1 -1
  31. package/bundles/taiga-ui-cdk-tokens.umd.js +650 -796
  32. package/bundles/taiga-ui-cdk-tokens.umd.js.map +1 -1
  33. package/bundles/taiga-ui-cdk-utils-color.umd.js +6 -152
  34. package/bundles/taiga-ui-cdk-utils-color.umd.js.map +1 -1
  35. package/bundles/taiga-ui-cdk-utils-focus.umd.js +4 -1
  36. package/bundles/taiga-ui-cdk-utils-focus.umd.js.map +1 -1
  37. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js +6 -152
  38. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js.map +1 -1
  39. package/esm2015/utils/focus/set-native-mouse-focused.js +5 -2
  40. package/fesm2015/taiga-ui-cdk-utils-focus.js +4 -1
  41. package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
  42. package/package.json +1 -1
@@ -1,536 +1,390 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/cdk/pipes/filter', ['exports', '@angular/core'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].cdk = global["taiga-ui"].cdk || {}, global["taiga-ui"].cdk.pipes = global["taiga-ui"].cdk.pipes || {}, global["taiga-ui"].cdk.pipes.filter = {}), global.ng.core));
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/cdk/pipes/filter', ['exports', '@angular/core'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].cdk = global["taiga-ui"].cdk || {}, global["taiga-ui"].cdk.pipes = global["taiga-ui"].cdk.pipes || {}, global["taiga-ui"].cdk.pipes.filter = {}), global.ng.core));
5
5
  })(this, (function (exports, i0) { '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
- });
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
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
26
 
27
- /******************************************************************************
28
- Copyright (c) Microsoft Corporation.
27
+ /*! *****************************************************************************
28
+ Copyright (c) Microsoft Corporation.
29
29
 
30
- Permission to use, copy, modify, and/or distribute this software for any
31
- purpose with or without fee is hereby granted.
30
+ Permission to use, copy, modify, and/or distribute this software for any
31
+ purpose with or without fee is hereby granted.
32
32
 
33
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
34
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
35
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
36
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
37
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
38
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
39
- PERFORMANCE OF THIS SOFTWARE.
40
- ***************************************************************************** */
41
- /* global Reflect, Promise, SuppressedError, Symbol */
42
- var extendStatics = function (d, b) {
43
- extendStatics = Object.setPrototypeOf ||
44
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
45
- function (d, b) { for (var p in b)
46
- if (Object.prototype.hasOwnProperty.call(b, p))
47
- d[p] = b[p]; };
48
- return extendStatics(d, b);
49
- };
50
- function __extends(d, b) {
51
- if (typeof b !== "function" && b !== null)
52
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
53
- extendStatics(d, b);
54
- function __() { this.constructor = d; }
55
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
56
- }
57
- var __assign = function () {
58
- __assign = Object.assign || function __assign(t) {
59
- for (var s, i = 1, n = arguments.length; i < n; i++) {
60
- s = arguments[i];
61
- for (var p in s)
62
- if (Object.prototype.hasOwnProperty.call(s, p))
63
- t[p] = s[p];
64
- }
65
- return t;
66
- };
67
- return __assign.apply(this, arguments);
68
- };
69
- function __rest(s, e) {
70
- var t = {};
71
- for (var p in s)
72
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
73
- t[p] = s[p];
74
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
75
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
76
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
77
- t[p[i]] = s[p[i]];
78
- }
79
- return t;
80
- }
81
- function __decorate(decorators, target, key, desc) {
82
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
83
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
84
- r = Reflect.decorate(decorators, target, key, desc);
85
- else
86
- for (var i = decorators.length - 1; i >= 0; i--)
87
- if (d = decorators[i])
88
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
89
- return c > 3 && r && Object.defineProperty(target, key, r), r;
90
- }
91
- function __param(paramIndex, decorator) {
92
- return function (target, key) { decorator(target, key, paramIndex); };
93
- }
94
- function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
95
- function accept(f) { if (f !== void 0 && typeof f !== "function")
96
- throw new TypeError("Function expected"); return f; }
97
- var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
98
- var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
99
- var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
100
- var _, done = false;
101
- for (var i = decorators.length - 1; i >= 0; i--) {
102
- var context = {};
103
- for (var p in contextIn)
104
- context[p] = p === "access" ? {} : contextIn[p];
105
- for (var p in contextIn.access)
106
- context.access[p] = contextIn.access[p];
107
- context.addInitializer = function (f) { if (done)
108
- throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
109
- var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
110
- if (kind === "accessor") {
111
- if (result === void 0)
112
- continue;
113
- if (result === null || typeof result !== "object")
114
- throw new TypeError("Object expected");
115
- if (_ = accept(result.get))
116
- descriptor.get = _;
117
- if (_ = accept(result.set))
118
- descriptor.set = _;
119
- if (_ = accept(result.init))
120
- initializers.unshift(_);
121
- }
122
- else if (_ = accept(result)) {
123
- if (kind === "field")
124
- initializers.unshift(_);
125
- else
126
- descriptor[key] = _;
127
- }
128
- }
129
- if (target)
130
- Object.defineProperty(target, contextIn.name, descriptor);
131
- done = true;
132
- }
133
- ;
134
- function __runInitializers(thisArg, initializers, value) {
135
- var useValue = arguments.length > 2;
136
- for (var i = 0; i < initializers.length; i++) {
137
- value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
138
- }
139
- return useValue ? value : void 0;
140
- }
141
- ;
142
- function __propKey(x) {
143
- return typeof x === "symbol" ? x : "".concat(x);
144
- }
145
- ;
146
- function __setFunctionName(f, name, prefix) {
147
- if (typeof name === "symbol")
148
- name = name.description ? "[".concat(name.description, "]") : "";
149
- return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
150
- }
151
- ;
152
- function __metadata(metadataKey, metadataValue) {
153
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
154
- return Reflect.metadata(metadataKey, metadataValue);
155
- }
156
- function __awaiter(thisArg, _arguments, P, generator) {
157
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
158
- return new (P || (P = Promise))(function (resolve, reject) {
159
- function fulfilled(value) { try {
160
- step(generator.next(value));
161
- }
162
- catch (e) {
163
- reject(e);
164
- } }
165
- function rejected(value) { try {
166
- step(generator["throw"](value));
167
- }
168
- catch (e) {
169
- reject(e);
170
- } }
171
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
172
- step((generator = generator.apply(thisArg, _arguments || [])).next());
173
- });
174
- }
175
- function __generator(thisArg, body) {
176
- var _ = { label: 0, sent: function () { if (t[0] & 1)
177
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
178
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
179
- function verb(n) { return function (v) { return step([n, v]); }; }
180
- function step(op) {
181
- if (f)
182
- throw new TypeError("Generator is already executing.");
183
- while (g && (g = 0, op[0] && (_ = 0)), _)
184
- try {
185
- 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)
186
- return t;
187
- if (y = 0, t)
188
- op = [op[0] & 2, t.value];
189
- switch (op[0]) {
190
- case 0:
191
- case 1:
192
- t = op;
193
- break;
194
- case 4:
195
- _.label++;
196
- return { value: op[1], done: false };
197
- case 5:
198
- _.label++;
199
- y = op[1];
200
- op = [0];
201
- continue;
202
- case 7:
203
- op = _.ops.pop();
204
- _.trys.pop();
205
- continue;
206
- default:
207
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
208
- _ = 0;
209
- continue;
210
- }
211
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
212
- _.label = op[1];
213
- break;
214
- }
215
- if (op[0] === 6 && _.label < t[1]) {
216
- _.label = t[1];
217
- t = op;
218
- break;
219
- }
220
- if (t && _.label < t[2]) {
221
- _.label = t[2];
222
- _.ops.push(op);
223
- break;
224
- }
225
- if (t[2])
226
- _.ops.pop();
227
- _.trys.pop();
228
- continue;
229
- }
230
- op = body.call(thisArg, _);
231
- }
232
- catch (e) {
233
- op = [6, e];
234
- y = 0;
235
- }
236
- finally {
237
- f = t = 0;
238
- }
239
- if (op[0] & 5)
240
- throw op[1];
241
- return { value: op[0] ? op[1] : void 0, done: true };
242
- }
243
- }
244
- var __createBinding = Object.create ? (function (o, m, k, k2) {
245
- if (k2 === undefined)
246
- k2 = k;
247
- var desc = Object.getOwnPropertyDescriptor(m, k);
248
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
249
- desc = { enumerable: true, get: function () { return m[k]; } };
250
- }
251
- Object.defineProperty(o, k2, desc);
252
- }) : (function (o, m, k, k2) {
253
- if (k2 === undefined)
254
- k2 = k;
255
- o[k2] = m[k];
256
- });
257
- function __exportStar(m, o) {
258
- for (var p in m)
259
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
260
- __createBinding(o, m, p);
261
- }
262
- function __values(o) {
263
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
264
- if (m)
265
- return m.call(o);
266
- if (o && typeof o.length === "number")
267
- return {
268
- next: function () {
269
- if (o && i >= o.length)
270
- o = void 0;
271
- return { value: o && o[i++], done: !o };
272
- }
273
- };
274
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
275
- }
276
- function __read(o, n) {
277
- var m = typeof Symbol === "function" && o[Symbol.iterator];
278
- if (!m)
279
- return o;
280
- var i = m.call(o), r, ar = [], e;
281
- try {
282
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
283
- ar.push(r.value);
284
- }
285
- catch (error) {
286
- e = { error: error };
287
- }
288
- finally {
289
- try {
290
- if (r && !r.done && (m = i["return"]))
291
- m.call(i);
292
- }
293
- finally {
294
- if (e)
295
- throw e.error;
296
- }
297
- }
298
- return ar;
299
- }
300
- /** @deprecated */
301
- function __spread() {
302
- for (var ar = [], i = 0; i < arguments.length; i++)
303
- ar = ar.concat(__read(arguments[i]));
304
- return ar;
305
- }
306
- /** @deprecated */
307
- function __spreadArrays() {
308
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
309
- s += arguments[i].length;
310
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
311
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
312
- r[k] = a[j];
313
- return r;
314
- }
315
- function __spreadArray(to, from, pack) {
316
- if (pack || arguments.length === 2)
317
- for (var i = 0, l = from.length, ar; i < l; i++) {
318
- if (ar || !(i in from)) {
319
- if (!ar)
320
- ar = Array.prototype.slice.call(from, 0, i);
321
- ar[i] = from[i];
322
- }
323
- }
324
- return to.concat(ar || Array.prototype.slice.call(from));
325
- }
326
- function __await(v) {
327
- return this instanceof __await ? (this.v = v, this) : new __await(v);
328
- }
329
- function __asyncGenerator(thisArg, _arguments, generator) {
330
- if (!Symbol.asyncIterator)
331
- throw new TypeError("Symbol.asyncIterator is not defined.");
332
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
333
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
334
- function verb(n) { if (g[n])
335
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
336
- function resume(n, v) { try {
337
- step(g[n](v));
338
- }
339
- catch (e) {
340
- settle(q[0][3], e);
341
- } }
342
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
343
- function fulfill(value) { resume("next", value); }
344
- function reject(value) { resume("throw", value); }
345
- function settle(f, v) { if (f(v), q.shift(), q.length)
346
- resume(q[0][0], q[0][1]); }
347
- }
348
- function __asyncDelegator(o) {
349
- var i, p;
350
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
351
- 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; }
352
- }
353
- function __asyncValues(o) {
354
- if (!Symbol.asyncIterator)
355
- throw new TypeError("Symbol.asyncIterator is not defined.");
356
- var m = o[Symbol.asyncIterator], i;
357
- 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);
358
- 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); }); }; }
359
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
360
- }
361
- function __makeTemplateObject(cooked, raw) {
362
- if (Object.defineProperty) {
363
- Object.defineProperty(cooked, "raw", { value: raw });
364
- }
365
- else {
366
- cooked.raw = raw;
367
- }
368
- return cooked;
369
- }
370
- ;
371
- var __setModuleDefault = Object.create ? (function (o, v) {
372
- Object.defineProperty(o, "default", { enumerable: true, value: v });
373
- }) : function (o, v) {
374
- o["default"] = v;
375
- };
376
- function __importStar(mod) {
377
- if (mod && mod.__esModule)
378
- return mod;
379
- var result = {};
380
- if (mod != null)
381
- for (var k in mod)
382
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
383
- __createBinding(result, mod, k);
384
- __setModuleDefault(result, mod);
385
- return result;
386
- }
387
- function __importDefault(mod) {
388
- return (mod && mod.__esModule) ? mod : { default: mod };
389
- }
390
- function __classPrivateFieldGet(receiver, state, kind, f) {
391
- if (kind === "a" && !f)
392
- throw new TypeError("Private accessor was defined without a getter");
393
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
394
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
395
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
396
- }
397
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
398
- if (kind === "m")
399
- throw new TypeError("Private method is not writable");
400
- if (kind === "a" && !f)
401
- throw new TypeError("Private accessor was defined without a setter");
402
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
403
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
404
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
405
- }
406
- function __classPrivateFieldIn(state, receiver) {
407
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
408
- throw new TypeError("Cannot use 'in' operator on non-object");
409
- return typeof state === "function" ? receiver === state : state.has(receiver);
410
- }
411
- function __addDisposableResource(env, value, async) {
412
- if (value !== null && value !== void 0) {
413
- if (typeof value !== "object" && typeof value !== "function")
414
- throw new TypeError("Object expected.");
415
- var dispose;
416
- if (async) {
417
- if (!Symbol.asyncDispose)
418
- throw new TypeError("Symbol.asyncDispose is not defined.");
419
- dispose = value[Symbol.asyncDispose];
420
- }
421
- if (dispose === void 0) {
422
- if (!Symbol.dispose)
423
- throw new TypeError("Symbol.dispose is not defined.");
424
- dispose = value[Symbol.dispose];
425
- }
426
- if (typeof dispose !== "function")
427
- throw new TypeError("Object not disposable.");
428
- env.stack.push({ value: value, dispose: dispose, async: async });
429
- }
430
- else if (async) {
431
- env.stack.push({ async: true });
432
- }
433
- return value;
434
- }
435
- var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
436
- var e = new Error(message);
437
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
438
- };
439
- function __disposeResources(env) {
440
- function fail(e) {
441
- env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
442
- env.hasError = true;
443
- }
444
- function next() {
445
- while (env.stack.length) {
446
- var rec = env.stack.pop();
447
- try {
448
- var result = rec.dispose && rec.dispose.call(rec.value);
449
- if (rec.async)
450
- return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
451
- }
452
- catch (e) {
453
- fail(e);
454
- }
455
- }
456
- if (env.hasError)
457
- throw env.error;
458
- }
459
- return next();
460
- }
461
- var tslib_es6 = {
462
- __extends: __extends,
463
- __assign: __assign,
464
- __rest: __rest,
465
- __decorate: __decorate,
466
- __param: __param,
467
- __metadata: __metadata,
468
- __awaiter: __awaiter,
469
- __generator: __generator,
470
- __createBinding: __createBinding,
471
- __exportStar: __exportStar,
472
- __values: __values,
473
- __read: __read,
474
- __spread: __spread,
475
- __spreadArrays: __spreadArrays,
476
- __spreadArray: __spreadArray,
477
- __await: __await,
478
- __asyncGenerator: __asyncGenerator,
479
- __asyncDelegator: __asyncDelegator,
480
- __asyncValues: __asyncValues,
481
- __makeTemplateObject: __makeTemplateObject,
482
- __importStar: __importStar,
483
- __importDefault: __importDefault,
484
- __classPrivateFieldGet: __classPrivateFieldGet,
485
- __classPrivateFieldSet: __classPrivateFieldSet,
486
- __classPrivateFieldIn: __classPrivateFieldIn,
487
- __addDisposableResource: __addDisposableResource,
488
- __disposeResources: __disposeResources,
489
- };
33
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
34
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
35
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
36
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
37
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
38
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
39
+ PERFORMANCE OF THIS SOFTWARE.
40
+ ***************************************************************************** */
41
+ /* global Reflect, Promise */
42
+ var extendStatics = function (d, b) {
43
+ extendStatics = Object.setPrototypeOf ||
44
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
45
+ function (d, b) { for (var p in b)
46
+ if (Object.prototype.hasOwnProperty.call(b, p))
47
+ d[p] = b[p]; };
48
+ return extendStatics(d, b);
49
+ };
50
+ function __extends(d, b) {
51
+ if (typeof b !== "function" && b !== null)
52
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
53
+ extendStatics(d, b);
54
+ function __() { this.constructor = d; }
55
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
56
+ }
57
+ var __assign = function () {
58
+ __assign = Object.assign || function __assign(t) {
59
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
60
+ s = arguments[i];
61
+ for (var p in s)
62
+ if (Object.prototype.hasOwnProperty.call(s, p))
63
+ t[p] = s[p];
64
+ }
65
+ return t;
66
+ };
67
+ return __assign.apply(this, arguments);
68
+ };
69
+ function __rest(s, e) {
70
+ var t = {};
71
+ for (var p in s)
72
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
73
+ t[p] = s[p];
74
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
75
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
76
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
77
+ t[p[i]] = s[p[i]];
78
+ }
79
+ return t;
80
+ }
81
+ function __decorate(decorators, target, key, desc) {
82
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
83
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
84
+ r = Reflect.decorate(decorators, target, key, desc);
85
+ else
86
+ for (var i = decorators.length - 1; i >= 0; i--)
87
+ if (d = decorators[i])
88
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
89
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
90
+ }
91
+ function __param(paramIndex, decorator) {
92
+ return function (target, key) { decorator(target, key, paramIndex); };
93
+ }
94
+ function __metadata(metadataKey, metadataValue) {
95
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
96
+ return Reflect.metadata(metadataKey, metadataValue);
97
+ }
98
+ function __awaiter(thisArg, _arguments, P, generator) {
99
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
100
+ return new (P || (P = Promise))(function (resolve, reject) {
101
+ function fulfilled(value) { try {
102
+ step(generator.next(value));
103
+ }
104
+ catch (e) {
105
+ reject(e);
106
+ } }
107
+ function rejected(value) { try {
108
+ step(generator["throw"](value));
109
+ }
110
+ catch (e) {
111
+ reject(e);
112
+ } }
113
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
114
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
115
+ });
116
+ }
117
+ function __generator(thisArg, body) {
118
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
119
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
120
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
121
+ function verb(n) { return function (v) { return step([n, v]); }; }
122
+ function step(op) {
123
+ if (f)
124
+ throw new TypeError("Generator is already executing.");
125
+ while (_)
126
+ try {
127
+ 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)
128
+ return t;
129
+ if (y = 0, t)
130
+ op = [op[0] & 2, t.value];
131
+ switch (op[0]) {
132
+ case 0:
133
+ case 1:
134
+ t = op;
135
+ break;
136
+ case 4:
137
+ _.label++;
138
+ return { value: op[1], done: false };
139
+ case 5:
140
+ _.label++;
141
+ y = op[1];
142
+ op = [0];
143
+ continue;
144
+ case 7:
145
+ op = _.ops.pop();
146
+ _.trys.pop();
147
+ continue;
148
+ default:
149
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
150
+ _ = 0;
151
+ continue;
152
+ }
153
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
154
+ _.label = op[1];
155
+ break;
156
+ }
157
+ if (op[0] === 6 && _.label < t[1]) {
158
+ _.label = t[1];
159
+ t = op;
160
+ break;
161
+ }
162
+ if (t && _.label < t[2]) {
163
+ _.label = t[2];
164
+ _.ops.push(op);
165
+ break;
166
+ }
167
+ if (t[2])
168
+ _.ops.pop();
169
+ _.trys.pop();
170
+ continue;
171
+ }
172
+ op = body.call(thisArg, _);
173
+ }
174
+ catch (e) {
175
+ op = [6, e];
176
+ y = 0;
177
+ }
178
+ finally {
179
+ f = t = 0;
180
+ }
181
+ if (op[0] & 5)
182
+ throw op[1];
183
+ return { value: op[0] ? op[1] : void 0, done: true };
184
+ }
185
+ }
186
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
187
+ if (k2 === undefined)
188
+ k2 = k;
189
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
190
+ }) : (function (o, m, k, k2) {
191
+ if (k2 === undefined)
192
+ k2 = k;
193
+ o[k2] = m[k];
194
+ });
195
+ function __exportStar(m, o) {
196
+ for (var p in m)
197
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
198
+ __createBinding(o, m, p);
199
+ }
200
+ function __values(o) {
201
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
202
+ if (m)
203
+ return m.call(o);
204
+ if (o && typeof o.length === "number")
205
+ return {
206
+ next: function () {
207
+ if (o && i >= o.length)
208
+ o = void 0;
209
+ return { value: o && o[i++], done: !o };
210
+ }
211
+ };
212
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
213
+ }
214
+ function __read(o, n) {
215
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
216
+ if (!m)
217
+ return o;
218
+ var i = m.call(o), r, ar = [], e;
219
+ try {
220
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
221
+ ar.push(r.value);
222
+ }
223
+ catch (error) {
224
+ e = { error: error };
225
+ }
226
+ finally {
227
+ try {
228
+ if (r && !r.done && (m = i["return"]))
229
+ m.call(i);
230
+ }
231
+ finally {
232
+ if (e)
233
+ throw e.error;
234
+ }
235
+ }
236
+ return ar;
237
+ }
238
+ /** @deprecated */
239
+ function __spread() {
240
+ for (var ar = [], i = 0; i < arguments.length; i++)
241
+ ar = ar.concat(__read(arguments[i]));
242
+ return ar;
243
+ }
244
+ /** @deprecated */
245
+ function __spreadArrays() {
246
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
247
+ s += arguments[i].length;
248
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
249
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
250
+ r[k] = a[j];
251
+ return r;
252
+ }
253
+ function __spreadArray(to, from, pack) {
254
+ if (pack || arguments.length === 2)
255
+ for (var i = 0, l = from.length, ar; i < l; i++) {
256
+ if (ar || !(i in from)) {
257
+ if (!ar)
258
+ ar = Array.prototype.slice.call(from, 0, i);
259
+ ar[i] = from[i];
260
+ }
261
+ }
262
+ return to.concat(ar || from);
263
+ }
264
+ function __await(v) {
265
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
266
+ }
267
+ function __asyncGenerator(thisArg, _arguments, generator) {
268
+ if (!Symbol.asyncIterator)
269
+ throw new TypeError("Symbol.asyncIterator is not defined.");
270
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
271
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
272
+ function verb(n) { if (g[n])
273
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
274
+ function resume(n, v) { try {
275
+ step(g[n](v));
276
+ }
277
+ catch (e) {
278
+ settle(q[0][3], e);
279
+ } }
280
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
281
+ function fulfill(value) { resume("next", value); }
282
+ function reject(value) { resume("throw", value); }
283
+ function settle(f, v) { if (f(v), q.shift(), q.length)
284
+ resume(q[0][0], q[0][1]); }
285
+ }
286
+ function __asyncDelegator(o) {
287
+ var i, p;
288
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
289
+ 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; }
290
+ }
291
+ function __asyncValues(o) {
292
+ if (!Symbol.asyncIterator)
293
+ throw new TypeError("Symbol.asyncIterator is not defined.");
294
+ var m = o[Symbol.asyncIterator], i;
295
+ 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);
296
+ 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); }); }; }
297
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
298
+ }
299
+ function __makeTemplateObject(cooked, raw) {
300
+ if (Object.defineProperty) {
301
+ Object.defineProperty(cooked, "raw", { value: raw });
302
+ }
303
+ else {
304
+ cooked.raw = raw;
305
+ }
306
+ return cooked;
307
+ }
308
+ ;
309
+ var __setModuleDefault = Object.create ? (function (o, v) {
310
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
311
+ }) : function (o, v) {
312
+ o["default"] = v;
313
+ };
314
+ function __importStar(mod) {
315
+ if (mod && mod.__esModule)
316
+ return mod;
317
+ var result = {};
318
+ if (mod != null)
319
+ for (var k in mod)
320
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
321
+ __createBinding(result, mod, k);
322
+ __setModuleDefault(result, mod);
323
+ return result;
324
+ }
325
+ function __importDefault(mod) {
326
+ return (mod && mod.__esModule) ? mod : { default: mod };
327
+ }
328
+ function __classPrivateFieldGet(receiver, state, kind, f) {
329
+ if (kind === "a" && !f)
330
+ throw new TypeError("Private accessor was defined without a getter");
331
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
332
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
333
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
334
+ }
335
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
336
+ if (kind === "m")
337
+ throw new TypeError("Private method is not writable");
338
+ if (kind === "a" && !f)
339
+ throw new TypeError("Private accessor was defined without a setter");
340
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
341
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
342
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
343
+ }
490
344
 
491
- var TuiFilterPipe = /** @class */ (function () {
492
- function TuiFilterPipe() {
493
- }
494
- TuiFilterPipe.prototype.transform = function (items, matcher) {
495
- var args = [];
496
- for (var _i = 2; _i < arguments.length; _i++) {
497
- args[_i - 2] = arguments[_i];
498
- }
499
- return items.filter(function (item) { return matcher.apply(void 0, __spreadArray([item], __read(args))); });
500
- };
501
- return TuiFilterPipe;
502
- }());
503
- TuiFilterPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFilterPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
504
- TuiFilterPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFilterPipe, name: "tuiFilter" });
505
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFilterPipe, decorators: [{
506
- type: i0.Pipe,
507
- args: [{ name: 'tuiFilter' }]
508
- }] });
345
+ var TuiFilterPipe = /** @class */ (function () {
346
+ function TuiFilterPipe() {
347
+ }
348
+ TuiFilterPipe.prototype.transform = function (items, matcher) {
349
+ var args = [];
350
+ for (var _i = 2; _i < arguments.length; _i++) {
351
+ args[_i - 2] = arguments[_i];
352
+ }
353
+ return items.filter(function (item) { return matcher.apply(void 0, __spreadArray([item], __read(args))); });
354
+ };
355
+ return TuiFilterPipe;
356
+ }());
357
+ TuiFilterPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFilterPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
358
+ TuiFilterPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFilterPipe, name: "tuiFilter" });
359
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFilterPipe, decorators: [{
360
+ type: i0.Pipe,
361
+ args: [{ name: 'tuiFilter' }]
362
+ }] });
509
363
 
510
- var TuiFilterPipeModule = /** @class */ (function () {
511
- function TuiFilterPipeModule() {
512
- }
513
- return TuiFilterPipeModule;
514
- }());
515
- TuiFilterPipeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFilterPipeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
516
- TuiFilterPipeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFilterPipeModule, declarations: [TuiFilterPipe], exports: [TuiFilterPipe] });
517
- TuiFilterPipeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFilterPipeModule });
518
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFilterPipeModule, decorators: [{
519
- type: i0.NgModule,
520
- args: [{
521
- declarations: [TuiFilterPipe],
522
- exports: [TuiFilterPipe],
523
- }]
524
- }] });
364
+ var TuiFilterPipeModule = /** @class */ (function () {
365
+ function TuiFilterPipeModule() {
366
+ }
367
+ return TuiFilterPipeModule;
368
+ }());
369
+ TuiFilterPipeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFilterPipeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
370
+ TuiFilterPipeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFilterPipeModule, declarations: [TuiFilterPipe], exports: [TuiFilterPipe] });
371
+ TuiFilterPipeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFilterPipeModule });
372
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFilterPipeModule, decorators: [{
373
+ type: i0.NgModule,
374
+ args: [{
375
+ declarations: [TuiFilterPipe],
376
+ exports: [TuiFilterPipe],
377
+ }]
378
+ }] });
525
379
 
526
- /**
527
- * Generated bundle index. Do not edit.
528
- */
380
+ /**
381
+ * Generated bundle index. Do not edit.
382
+ */
529
383
 
530
- exports.TuiFilterPipe = TuiFilterPipe;
531
- exports.TuiFilterPipeModule = TuiFilterPipeModule;
384
+ exports.TuiFilterPipe = TuiFilterPipe;
385
+ exports.TuiFilterPipeModule = TuiFilterPipeModule;
532
386
 
533
- Object.defineProperty(exports, '__esModule', { value: true });
387
+ Object.defineProperty(exports, '__esModule', { value: true });
534
388
 
535
389
  }));
536
390
  //# sourceMappingURL=taiga-ui-cdk-pipes-filter.umd.js.map