@taiga-ui/cdk 3.33.1 → 3.34.0-dev.main-23baa20

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 (61) hide show
  1. package/bundles/taiga-ui-cdk-abstract.umd.js +4 -25
  2. package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
  3. package/bundles/taiga-ui-cdk-constants.umd.js +1 -1
  4. package/bundles/taiga-ui-cdk-constants.umd.js.map +1 -1
  5. package/bundles/taiga-ui-cdk-decorators.umd.js +53 -16
  6. package/bundles/taiga-ui-cdk-decorators.umd.js.map +1 -1
  7. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js +0 -3
  8. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js.map +1 -1
  9. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js +4 -325
  10. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js.map +1 -1
  11. package/bundles/taiga-ui-cdk-directives-media.umd.js +4 -334
  12. package/bundles/taiga-ui-cdk-directives-media.umd.js.map +1 -1
  13. package/bundles/taiga-ui-cdk-directives-obscured.umd.js +4 -325
  14. package/bundles/taiga-ui-cdk-directives-obscured.umd.js.map +1 -1
  15. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js +4 -325
  16. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js.map +1 -1
  17. package/bundles/taiga-ui-cdk-directives-resizer.umd.js +4 -7
  18. package/bundles/taiga-ui-cdk-directives-resizer.umd.js.map +1 -1
  19. package/bundles/taiga-ui-cdk-directives-validator.umd.js +4 -325
  20. package/bundles/taiga-ui-cdk-directives-validator.umd.js.map +1 -1
  21. package/constants/version.d.ts +1 -1
  22. package/constants/version.js +1 -1
  23. package/decorators/debounce.d.ts +4 -0
  24. package/decorators/default-prop.d.ts +3 -0
  25. package/decorators/pure.d.ts +21 -2
  26. package/decorators/required-setter.d.ts +3 -0
  27. package/esm2015/abstract/control.js +1 -9
  28. package/esm2015/abstract/interactive.js +1 -18
  29. package/esm2015/constants/version.js +2 -2
  30. package/esm2015/decorators/debounce.js +5 -1
  31. package/esm2015/decorators/default-prop.js +4 -1
  32. package/esm2015/decorators/pure.js +39 -16
  33. package/esm2015/decorators/required-setter.js +4 -1
  34. package/esm2015/directives/active-zone/active-zone.directive.js +2 -5
  35. package/esm2015/directives/copy-processor/copy-processor.directive.js +1 -6
  36. package/esm2015/directives/media/media.directive.js +1 -15
  37. package/esm2015/directives/obscured/obscured.directive.js +1 -6
  38. package/esm2015/directives/repeat-times/repeat-times.directive.js +1 -6
  39. package/esm2015/directives/resizer/resizer.directive.js +1 -6
  40. package/esm2015/directives/validator/validator.directive.js +1 -6
  41. package/fesm2015/taiga-ui-cdk-abstract.js +0 -23
  42. package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
  43. package/fesm2015/taiga-ui-cdk-constants.js +1 -1
  44. package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
  45. package/fesm2015/taiga-ui-cdk-decorators.js +48 -15
  46. package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
  47. package/fesm2015/taiga-ui-cdk-directives-active-zone.js +1 -4
  48. package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
  49. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +0 -5
  50. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
  51. package/fesm2015/taiga-ui-cdk-directives-media.js +0 -14
  52. package/fesm2015/taiga-ui-cdk-directives-media.js.map +1 -1
  53. package/fesm2015/taiga-ui-cdk-directives-obscured.js +0 -5
  54. package/fesm2015/taiga-ui-cdk-directives-obscured.js.map +1 -1
  55. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +0 -5
  56. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
  57. package/fesm2015/taiga-ui-cdk-directives-resizer.js +0 -5
  58. package/fesm2015/taiga-ui-cdk-directives-resizer.js.map +1 -1
  59. package/fesm2015/taiga-ui-cdk-directives-validator.js +0 -5
  60. package/fesm2015/taiga-ui-cdk-directives-validator.js.map +1 -1
  61. package/package.json +5 -5
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk/decorators')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/cdk/directives/media', ['exports', '@angular/core', '@taiga-ui/cdk/decorators'], 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.directives = global["taiga-ui"].cdk.directives || {}, global["taiga-ui"].cdk.directives.media = {}), global.ng.core, global["taiga-ui"].cdk.decorators));
5
- })(this, (function (exports, i0, decorators) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/cdk/directives/media', ['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.directives = global["taiga-ui"].cdk.directives || {}, global["taiga-ui"].cdk.directives.media = {}), global.ng.core));
5
+ })(this, (function (exports, i0) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -24,324 +24,6 @@
24
24
 
25
25
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
26
 
27
- /*! *****************************************************************************
28
- Copyright (c) Microsoft Corporation.
29
-
30
- Permission to use, copy, modify, and/or distribute this software for any
31
- purpose with or without fee is hereby granted.
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 */
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
- }
344
-
345
27
  var TuiMediaDirective = /** @class */ (function () {
346
28
  function TuiMediaDirective(el) {
347
29
  this.el = el;
@@ -410,15 +92,6 @@
410
92
  }());
411
93
  TuiMediaDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiMediaDirective, deps: [{ token: i0.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
412
94
  TuiMediaDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiMediaDirective, selector: "video[tuiMedia], audio[tuiMedia]", inputs: { volume: "volume", playbackRateSetter: ["playbackRate", "playbackRateSetter"], currentTime: "currentTime", paused: "paused" }, outputs: { currentTimeChange: "currentTimeChange", pausedChange: "pausedChange", volumeChange: "volumeChange" }, host: { listeners: { "ended": "onPausedChange(true)", "pause": "onPausedChange(true)", "play": "onPausedChange(false)", "volumechange": "onVolumeChange()", "timeupdate": "onCurrentTimeChange()", "seeking": "onCurrentTimeChange()", "seeked": "onCurrentTimeChange()", "durationchange": "changeDetectionTrigger()" }, properties: { "volume": "this.volume" } }, exportAs: ["tuiMedia"], ngImport: i0__namespace });
413
- __decorate([
414
- decorators.tuiDefaultProp(function (volume) { return Number.isFinite(volume) && volume >= 0 && volume <= 1; })
415
- ], TuiMediaDirective.prototype, "volume", void 0);
416
- __decorate([
417
- decorators.tuiRequiredSetter(nonNegativeFiniteAssertion)
418
- ], TuiMediaDirective.prototype, "playbackRateSetter", null);
419
- __decorate([
420
- decorators.tuiRequiredSetter(nonNegativeFiniteAssertion)
421
- ], TuiMediaDirective.prototype, "currentTime", null);
422
95
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiMediaDirective, decorators: [{
423
96
  type: i0.Directive,
424
97
  args: [{
@@ -473,9 +146,6 @@
473
146
  type: i0.HostListener,
474
147
  args: ['durationchange']
475
148
  }] } });
476
- function nonNegativeFiniteAssertion(value) {
477
- return Number.isFinite(value) && value >= 0;
478
- }
479
149
 
480
150
  var TuiMediaModule = /** @class */ (function () {
481
151
  function TuiMediaModule() {
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-media.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","../../../projects/cdk/directives/media/media.directive.ts","../../../projects/cdk/directives/media/media.module.ts","../../../projects/cdk/directives/media/taiga-ui-cdk-directives-media.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n 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) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || from);\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n 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; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n 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);\r\n 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); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import {\n Directive,\n ElementRef,\n EventEmitter,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Output,\n} from '@angular/core';\nimport {tuiDefaultProp, tuiRequiredSetter} from '@taiga-ui/cdk/decorators';\n\n@Directive({\n selector: 'video[tuiMedia], audio[tuiMedia]',\n exportAs: 'tuiMedia',\n})\nexport class TuiMediaDirective {\n private playbackRate = 1;\n\n @Input()\n @HostBinding('volume')\n @tuiDefaultProp(\n (volume: number) => Number.isFinite(volume) && volume >= 0 && volume <= 1,\n )\n volume = 1;\n\n @Input('playbackRate')\n @tuiRequiredSetter(nonNegativeFiniteAssertion)\n set playbackRateSetter(playbackRate: number) {\n this.updatePlaybackRate(playbackRate);\n }\n\n @Output()\n readonly currentTimeChange = new EventEmitter<number>();\n\n @Output()\n readonly pausedChange = new EventEmitter<boolean>();\n\n @Output()\n readonly volumeChange = new EventEmitter<number>();\n\n constructor(\n @Inject(ElementRef)\n private readonly el: ElementRef<HTMLMediaElement>,\n ) {}\n\n @Input()\n @tuiRequiredSetter(nonNegativeFiniteAssertion)\n set currentTime(currentTime: number) {\n if (Math.abs(currentTime - this.currentTime) > 0.05) {\n this.el.nativeElement.currentTime = currentTime;\n }\n }\n\n get currentTime(): number {\n return this.el.nativeElement.currentTime;\n }\n\n @Input()\n set paused(paused: boolean) {\n if (paused) {\n this.el.nativeElement.pause();\n } else {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.el.nativeElement.play();\n this.updatePlaybackRate(this.playbackRate);\n }\n }\n\n get paused(): boolean {\n return this.el.nativeElement.paused;\n }\n\n // @bad TODO: Make sure no other events can affect this like network issues etc.\n @HostListener('ended', ['true'])\n @HostListener('pause', ['true'])\n @HostListener('play', ['false'])\n onPausedChange(paused: boolean): void {\n this.pausedChange.emit(paused);\n this.updatePlaybackRate(this.playbackRate);\n }\n\n @HostListener('volumechange')\n onVolumeChange(): void {\n this.volume = this.el.nativeElement.volume;\n this.volumeChange.emit(this.volume);\n }\n\n @HostListener('timeupdate')\n @HostListener('seeking')\n @HostListener('seeked')\n onCurrentTimeChange(): void {\n this.currentTimeChange.emit(this.currentTime);\n }\n\n @HostListener('durationchange')\n changeDetectionTrigger(): void {\n // @bad TODO: consider if other events need to trigger CD\n }\n\n private updatePlaybackRate(playbackRate: number): void {\n this.playbackRate = playbackRate;\n this.el.nativeElement.playbackRate = this.playbackRate;\n }\n}\n\nfunction nonNegativeFiniteAssertion(value: number): boolean {\n return Number.isFinite(value) && value >= 0;\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiMediaDirective} from './media.directive';\n\n@NgModule({\n declarations: [TuiMediaDirective],\n exports: [TuiMediaDirective],\n})\nexport class TuiMediaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["EventEmitter","i0","ElementRef","tuiDefaultProp","tuiRequiredSetter","Directive","Inject","Input","HostBinding","Output","HostListener","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;IAAA;;;;;;;;;;;;;IAagF;IAChF;IAEA,IAAI,aAAa,GAAG,UAAS,CAAC,EAAE,CAAC,EAAA;QAC7B,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAA,EAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE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A,eAAY;2BAAC,SAAS,CAAA;;0BACtBA,eAAY;2BAAC,QAAQ,CAAA;oBAMtB,sBAAsB,EAAA,CAAA;0BADrBA,eAAY;2BAAC,gBAAgB,CAAA;;IAWlC,SAAS,0BAA0B,CAAC,KAAa,EAAA;QAC7C,OAAO,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;IAChD;;ACpGA,QAAA,cAAA,kBAAA,YAAA;IAAA,IAAA,SAAA,cAAA,GAAA;;;;sIAAa,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAT,aAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;uIAAd,cAAc,EAAA,YAAA,EAAA,CAHR,iBAAiB,CAAA,EAAA,OAAA,EAAA,CACtB,iBAAiB,CAAA,EAAA,CAAA,CAAA;uIAElB,cAAc,EAAA,CAAA,CAAA;sHAAd,cAAc,EAAA,UAAA,EAAA,CAAA;sBAJ1BU,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;wBACN,YAAY,EAAE,CAAC,iBAAiB,CAAC;wBACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;qBAC/B,CAAA;;;ICPD;;IAEG;;;;;;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-media.umd.js","sources":["../../../projects/cdk/directives/media/media.directive.ts","../../../projects/cdk/directives/media/media.module.ts","../../../projects/cdk/directives/media/taiga-ui-cdk-directives-media.ts"],"sourcesContent":["import {\n Directive,\n ElementRef,\n EventEmitter,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Output,\n} from '@angular/core';\n\n@Directive({\n selector: 'video[tuiMedia], audio[tuiMedia]',\n exportAs: 'tuiMedia',\n})\nexport class TuiMediaDirective {\n private playbackRate = 1;\n\n @Input()\n @HostBinding('volume')\n volume = 1;\n\n @Input('playbackRate')\n set playbackRateSetter(playbackRate: number) {\n this.updatePlaybackRate(playbackRate);\n }\n\n @Output()\n readonly currentTimeChange = new EventEmitter<number>();\n\n @Output()\n readonly pausedChange = new EventEmitter<boolean>();\n\n @Output()\n readonly volumeChange = new EventEmitter<number>();\n\n constructor(\n @Inject(ElementRef)\n private readonly el: ElementRef<HTMLMediaElement>,\n ) {}\n\n @Input()\n set currentTime(currentTime: number) {\n if (Math.abs(currentTime - this.currentTime) > 0.05) {\n this.el.nativeElement.currentTime = currentTime;\n }\n }\n\n get currentTime(): number {\n return this.el.nativeElement.currentTime;\n }\n\n @Input()\n set paused(paused: boolean) {\n if (paused) {\n this.el.nativeElement.pause();\n } else {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.el.nativeElement.play();\n this.updatePlaybackRate(this.playbackRate);\n }\n }\n\n get paused(): boolean {\n return this.el.nativeElement.paused;\n }\n\n // @bad TODO: Make sure no other events can affect this like network issues etc.\n @HostListener('ended', ['true'])\n @HostListener('pause', ['true'])\n @HostListener('play', ['false'])\n onPausedChange(paused: boolean): void {\n this.pausedChange.emit(paused);\n this.updatePlaybackRate(this.playbackRate);\n }\n\n @HostListener('volumechange')\n onVolumeChange(): void {\n this.volume = this.el.nativeElement.volume;\n this.volumeChange.emit(this.volume);\n }\n\n @HostListener('timeupdate')\n @HostListener('seeking')\n @HostListener('seeked')\n onCurrentTimeChange(): void {\n this.currentTimeChange.emit(this.currentTime);\n }\n\n @HostListener('durationchange')\n changeDetectionTrigger(): void {\n // @bad TODO: consider if other events need to trigger CD\n }\n\n private updatePlaybackRate(playbackRate: number): void {\n this.playbackRate = playbackRate;\n this.el.nativeElement.playbackRate = this.playbackRate;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiMediaDirective} from './media.directive';\n\n@NgModule({\n declarations: [TuiMediaDirective],\n exports: [TuiMediaDirective],\n})\nexport class TuiMediaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["EventEmitter","i0","ElementRef","Directive","Inject","Input","HostBinding","Output","HostListener","NgModule"],"mappings":";;;;;;;;;;;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