@taiga-ui/addon-charts 3.59.0 → 3.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,611 +1,757 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@ng-web-apis/common'), require('@taiga-ui/addon-charts/utils'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('@tinkoff/ng-polymorpheus')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/addon-charts/components/pie-chart', ['exports', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core', '@ng-web-apis/common', '@taiga-ui/addon-charts/utils', 'rxjs', 'rxjs/operators', '@angular/common', '@tinkoff/ng-polymorpheus'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"]["addon-charts"] = global["taiga-ui"]["addon-charts"] || {}, global["taiga-ui"]["addon-charts"].components = global["taiga-ui"]["addon-charts"].components || {}, global["taiga-ui"]["addon-charts"].components["pie-chart"] = {}), global.ng.core, global.i1$1, global.i3, global.common, global["taiga-ui"]["addon-charts"].utils, global.rxjs, global.rxjs.operators, global.ng.common, global.ngPolymorpheus));
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@ng-web-apis/common'), require('@taiga-ui/addon-charts/utils'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('@tinkoff/ng-polymorpheus')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/addon-charts/components/pie-chart', ['exports', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core', '@ng-web-apis/common', '@taiga-ui/addon-charts/utils', 'rxjs', 'rxjs/operators', '@angular/common', '@tinkoff/ng-polymorpheus'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"]["addon-charts"] = global["taiga-ui"]["addon-charts"] || {}, global["taiga-ui"]["addon-charts"].components = global["taiga-ui"]["addon-charts"].components || {}, global["taiga-ui"]["addon-charts"].components["pie-chart"] = {}), global.ng.core, global.i1$1, global.i3, global.common, global["taiga-ui"]["addon-charts"].utils, global.rxjs, global.rxjs.operators, global.ng.common, global.ngPolymorpheus));
5
5
  })(this, (function (exports, i0, i1$1, i3, common, utils, i1, operators, common$1, ngPolymorpheus) { '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$1 = /*#__PURE__*/_interopNamespace(i1$1);
27
- var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
28
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
27
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
28
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
29
29
 
30
- /*! *****************************************************************************
31
- Copyright (c) Microsoft Corporation.
30
+ /******************************************************************************
31
+ Copyright (c) Microsoft Corporation.
32
32
 
33
- Permission to use, copy, modify, and/or distribute this software for any
34
- purpose with or without fee is hereby granted.
33
+ Permission to use, copy, modify, and/or distribute this software for any
34
+ purpose with or without fee is hereby granted.
35
35
 
36
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
37
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
38
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
39
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
40
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
41
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
42
- PERFORMANCE OF THIS SOFTWARE.
43
- ***************************************************************************** */
44
- /* global Reflect, Promise */
45
- var extendStatics = function (d, b) {
46
- extendStatics = Object.setPrototypeOf ||
47
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
48
- function (d, b) { for (var p in b)
49
- if (Object.prototype.hasOwnProperty.call(b, p))
50
- d[p] = b[p]; };
51
- return extendStatics(d, b);
52
- };
53
- function __extends(d, b) {
54
- if (typeof b !== "function" && b !== null)
55
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
56
- extendStatics(d, b);
57
- function __() { this.constructor = d; }
58
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
59
- }
60
- var __assign = function () {
61
- __assign = Object.assign || function __assign(t) {
62
- for (var s, i = 1, n = arguments.length; i < n; i++) {
63
- s = arguments[i];
64
- for (var p in s)
65
- if (Object.prototype.hasOwnProperty.call(s, p))
66
- t[p] = s[p];
67
- }
68
- return t;
69
- };
70
- return __assign.apply(this, arguments);
71
- };
72
- function __rest(s, e) {
73
- var t = {};
74
- for (var p in s)
75
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
76
- t[p] = s[p];
77
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
78
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
79
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
80
- t[p[i]] = s[p[i]];
81
- }
82
- return t;
83
- }
84
- function __decorate(decorators, target, key, desc) {
85
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
86
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
87
- r = Reflect.decorate(decorators, target, key, desc);
88
- else
89
- for (var i = decorators.length - 1; i >= 0; i--)
90
- if (d = decorators[i])
91
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
92
- return c > 3 && r && Object.defineProperty(target, key, r), r;
93
- }
94
- function __param(paramIndex, decorator) {
95
- return function (target, key) { decorator(target, key, paramIndex); };
96
- }
97
- function __metadata(metadataKey, metadataValue) {
98
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
99
- return Reflect.metadata(metadataKey, metadataValue);
100
- }
101
- function __awaiter(thisArg, _arguments, P, generator) {
102
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
103
- return new (P || (P = Promise))(function (resolve, reject) {
104
- function fulfilled(value) { try {
105
- step(generator.next(value));
106
- }
107
- catch (e) {
108
- reject(e);
109
- } }
110
- function rejected(value) { try {
111
- step(generator["throw"](value));
112
- }
113
- catch (e) {
114
- reject(e);
115
- } }
116
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
117
- step((generator = generator.apply(thisArg, _arguments || [])).next());
118
- });
119
- }
120
- function __generator(thisArg, body) {
121
- var _ = { label: 0, sent: function () { if (t[0] & 1)
122
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
123
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
124
- function verb(n) { return function (v) { return step([n, v]); }; }
125
- function step(op) {
126
- if (f)
127
- throw new TypeError("Generator is already executing.");
128
- while (_)
129
- try {
130
- 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)
131
- return t;
132
- if (y = 0, t)
133
- op = [op[0] & 2, t.value];
134
- switch (op[0]) {
135
- case 0:
136
- case 1:
137
- t = op;
138
- break;
139
- case 4:
140
- _.label++;
141
- return { value: op[1], done: false };
142
- case 5:
143
- _.label++;
144
- y = op[1];
145
- op = [0];
146
- continue;
147
- case 7:
148
- op = _.ops.pop();
149
- _.trys.pop();
150
- continue;
151
- default:
152
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
153
- _ = 0;
154
- continue;
155
- }
156
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
157
- _.label = op[1];
158
- break;
159
- }
160
- if (op[0] === 6 && _.label < t[1]) {
161
- _.label = t[1];
162
- t = op;
163
- break;
164
- }
165
- if (t && _.label < t[2]) {
166
- _.label = t[2];
167
- _.ops.push(op);
168
- break;
169
- }
170
- if (t[2])
171
- _.ops.pop();
172
- _.trys.pop();
173
- continue;
174
- }
175
- op = body.call(thisArg, _);
176
- }
177
- catch (e) {
178
- op = [6, e];
179
- y = 0;
180
- }
181
- finally {
182
- f = t = 0;
183
- }
184
- if (op[0] & 5)
185
- throw op[1];
186
- return { value: op[0] ? op[1] : void 0, done: true };
187
- }
188
- }
189
- var __createBinding = Object.create ? (function (o, m, k, k2) {
190
- if (k2 === undefined)
191
- k2 = k;
192
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
193
- }) : (function (o, m, k, k2) {
194
- if (k2 === undefined)
195
- k2 = k;
196
- o[k2] = m[k];
197
- });
198
- function __exportStar(m, o) {
199
- for (var p in m)
200
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
201
- __createBinding(o, m, p);
202
- }
203
- function __values(o) {
204
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
205
- if (m)
206
- return m.call(o);
207
- if (o && typeof o.length === "number")
208
- return {
209
- next: function () {
210
- if (o && i >= o.length)
211
- o = void 0;
212
- return { value: o && o[i++], done: !o };
213
- }
214
- };
215
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
216
- }
217
- function __read(o, n) {
218
- var m = typeof Symbol === "function" && o[Symbol.iterator];
219
- if (!m)
220
- return o;
221
- var i = m.call(o), r, ar = [], e;
222
- try {
223
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
224
- ar.push(r.value);
225
- }
226
- catch (error) {
227
- e = { error: error };
228
- }
229
- finally {
230
- try {
231
- if (r && !r.done && (m = i["return"]))
232
- m.call(i);
233
- }
234
- finally {
235
- if (e)
236
- throw e.error;
237
- }
238
- }
239
- return ar;
240
- }
241
- /** @deprecated */
242
- function __spread() {
243
- for (var ar = [], i = 0; i < arguments.length; i++)
244
- ar = ar.concat(__read(arguments[i]));
245
- return ar;
246
- }
247
- /** @deprecated */
248
- function __spreadArrays() {
249
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
250
- s += arguments[i].length;
251
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
252
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
253
- r[k] = a[j];
254
- return r;
255
- }
256
- function __spreadArray(to, from, pack) {
257
- if (pack || arguments.length === 2)
258
- for (var i = 0, l = from.length, ar; i < l; i++) {
259
- if (ar || !(i in from)) {
260
- if (!ar)
261
- ar = Array.prototype.slice.call(from, 0, i);
262
- ar[i] = from[i];
263
- }
264
- }
265
- return to.concat(ar || from);
266
- }
267
- function __await(v) {
268
- return this instanceof __await ? (this.v = v, this) : new __await(v);
269
- }
270
- function __asyncGenerator(thisArg, _arguments, generator) {
271
- if (!Symbol.asyncIterator)
272
- throw new TypeError("Symbol.asyncIterator is not defined.");
273
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
274
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
275
- function verb(n) { if (g[n])
276
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
277
- function resume(n, v) { try {
278
- step(g[n](v));
279
- }
280
- catch (e) {
281
- settle(q[0][3], e);
282
- } }
283
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
284
- function fulfill(value) { resume("next", value); }
285
- function reject(value) { resume("throw", value); }
286
- function settle(f, v) { if (f(v), q.shift(), q.length)
287
- resume(q[0][0], q[0][1]); }
288
- }
289
- function __asyncDelegator(o) {
290
- var i, p;
291
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
292
- 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; }
293
- }
294
- function __asyncValues(o) {
295
- if (!Symbol.asyncIterator)
296
- throw new TypeError("Symbol.asyncIterator is not defined.");
297
- var m = o[Symbol.asyncIterator], i;
298
- 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);
299
- 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); }); }; }
300
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
301
- }
302
- function __makeTemplateObject(cooked, raw) {
303
- if (Object.defineProperty) {
304
- Object.defineProperty(cooked, "raw", { value: raw });
305
- }
306
- else {
307
- cooked.raw = raw;
308
- }
309
- return cooked;
310
- }
311
- ;
312
- var __setModuleDefault = Object.create ? (function (o, v) {
313
- Object.defineProperty(o, "default", { enumerable: true, value: v });
314
- }) : function (o, v) {
315
- o["default"] = v;
316
- };
317
- function __importStar(mod) {
318
- if (mod && mod.__esModule)
319
- return mod;
320
- var result = {};
321
- if (mod != null)
322
- for (var k in mod)
323
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
324
- __createBinding(result, mod, k);
325
- __setModuleDefault(result, mod);
326
- return result;
327
- }
328
- function __importDefault(mod) {
329
- return (mod && mod.__esModule) ? mod : { default: mod };
330
- }
331
- function __classPrivateFieldGet(receiver, state, kind, f) {
332
- if (kind === "a" && !f)
333
- throw new TypeError("Private accessor was defined without a getter");
334
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
335
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
336
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
337
- }
338
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
339
- if (kind === "m")
340
- throw new TypeError("Private method is not writable");
341
- if (kind === "a" && !f)
342
- throw new TypeError("Private accessor was defined without a setter");
343
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
344
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
345
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
346
- }
36
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
37
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
38
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
39
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
40
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
41
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
42
+ PERFORMANCE OF THIS SOFTWARE.
43
+ ***************************************************************************** */
44
+ /* global Reflect, Promise, SuppressedError, Symbol */
45
+ var extendStatics = function (d, b) {
46
+ extendStatics = Object.setPrototypeOf ||
47
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
48
+ function (d, b) { for (var p in b)
49
+ if (Object.prototype.hasOwnProperty.call(b, p))
50
+ d[p] = b[p]; };
51
+ return extendStatics(d, b);
52
+ };
53
+ function __extends(d, b) {
54
+ if (typeof b !== "function" && b !== null)
55
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
56
+ extendStatics(d, b);
57
+ function __() { this.constructor = d; }
58
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
59
+ }
60
+ var __assign = function () {
61
+ __assign = Object.assign || function __assign(t) {
62
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
63
+ s = arguments[i];
64
+ for (var p in s)
65
+ if (Object.prototype.hasOwnProperty.call(s, p))
66
+ t[p] = s[p];
67
+ }
68
+ return t;
69
+ };
70
+ return __assign.apply(this, arguments);
71
+ };
72
+ function __rest(s, e) {
73
+ var t = {};
74
+ for (var p in s)
75
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
76
+ t[p] = s[p];
77
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
78
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
79
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
80
+ t[p[i]] = s[p[i]];
81
+ }
82
+ return t;
83
+ }
84
+ function __decorate(decorators, target, key, desc) {
85
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
86
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
87
+ r = Reflect.decorate(decorators, target, key, desc);
88
+ else
89
+ for (var i = decorators.length - 1; i >= 0; i--)
90
+ if (d = decorators[i])
91
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
92
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
93
+ }
94
+ function __param(paramIndex, decorator) {
95
+ return function (target, key) { decorator(target, key, paramIndex); };
96
+ }
97
+ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
98
+ function accept(f) { if (f !== void 0 && typeof f !== "function")
99
+ throw new TypeError("Function expected"); return f; }
100
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
101
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
102
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
103
+ var _, done = false;
104
+ for (var i = decorators.length - 1; i >= 0; i--) {
105
+ var context = {};
106
+ for (var p in contextIn)
107
+ context[p] = p === "access" ? {} : contextIn[p];
108
+ for (var p in contextIn.access)
109
+ context.access[p] = contextIn.access[p];
110
+ context.addInitializer = function (f) { if (done)
111
+ throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
112
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
113
+ if (kind === "accessor") {
114
+ if (result === void 0)
115
+ continue;
116
+ if (result === null || typeof result !== "object")
117
+ throw new TypeError("Object expected");
118
+ if (_ = accept(result.get))
119
+ descriptor.get = _;
120
+ if (_ = accept(result.set))
121
+ descriptor.set = _;
122
+ if (_ = accept(result.init))
123
+ initializers.unshift(_);
124
+ }
125
+ else if (_ = accept(result)) {
126
+ if (kind === "field")
127
+ initializers.unshift(_);
128
+ else
129
+ descriptor[key] = _;
130
+ }
131
+ }
132
+ if (target)
133
+ Object.defineProperty(target, contextIn.name, descriptor);
134
+ done = true;
135
+ }
136
+ ;
137
+ function __runInitializers(thisArg, initializers, value) {
138
+ var useValue = arguments.length > 2;
139
+ for (var i = 0; i < initializers.length; i++) {
140
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
141
+ }
142
+ return useValue ? value : void 0;
143
+ }
144
+ ;
145
+ function __propKey(x) {
146
+ return typeof x === "symbol" ? x : "".concat(x);
147
+ }
148
+ ;
149
+ function __setFunctionName(f, name, prefix) {
150
+ if (typeof name === "symbol")
151
+ name = name.description ? "[".concat(name.description, "]") : "";
152
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
153
+ }
154
+ ;
155
+ function __metadata(metadataKey, metadataValue) {
156
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
157
+ return Reflect.metadata(metadataKey, metadataValue);
158
+ }
159
+ function __awaiter(thisArg, _arguments, P, generator) {
160
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
161
+ return new (P || (P = Promise))(function (resolve, reject) {
162
+ function fulfilled(value) { try {
163
+ step(generator.next(value));
164
+ }
165
+ catch (e) {
166
+ reject(e);
167
+ } }
168
+ function rejected(value) { try {
169
+ step(generator["throw"](value));
170
+ }
171
+ catch (e) {
172
+ reject(e);
173
+ } }
174
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
175
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
176
+ });
177
+ }
178
+ function __generator(thisArg, body) {
179
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
180
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
181
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
182
+ function verb(n) { return function (v) { return step([n, v]); }; }
183
+ function step(op) {
184
+ if (f)
185
+ throw new TypeError("Generator is already executing.");
186
+ while (g && (g = 0, op[0] && (_ = 0)), _)
187
+ try {
188
+ 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)
189
+ return t;
190
+ if (y = 0, t)
191
+ op = [op[0] & 2, t.value];
192
+ switch (op[0]) {
193
+ case 0:
194
+ case 1:
195
+ t = op;
196
+ break;
197
+ case 4:
198
+ _.label++;
199
+ return { value: op[1], done: false };
200
+ case 5:
201
+ _.label++;
202
+ y = op[1];
203
+ op = [0];
204
+ continue;
205
+ case 7:
206
+ op = _.ops.pop();
207
+ _.trys.pop();
208
+ continue;
209
+ default:
210
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
211
+ _ = 0;
212
+ continue;
213
+ }
214
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
215
+ _.label = op[1];
216
+ break;
217
+ }
218
+ if (op[0] === 6 && _.label < t[1]) {
219
+ _.label = t[1];
220
+ t = op;
221
+ break;
222
+ }
223
+ if (t && _.label < t[2]) {
224
+ _.label = t[2];
225
+ _.ops.push(op);
226
+ break;
227
+ }
228
+ if (t[2])
229
+ _.ops.pop();
230
+ _.trys.pop();
231
+ continue;
232
+ }
233
+ op = body.call(thisArg, _);
234
+ }
235
+ catch (e) {
236
+ op = [6, e];
237
+ y = 0;
238
+ }
239
+ finally {
240
+ f = t = 0;
241
+ }
242
+ if (op[0] & 5)
243
+ throw op[1];
244
+ return { value: op[0] ? op[1] : void 0, done: true };
245
+ }
246
+ }
247
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
248
+ if (k2 === undefined)
249
+ k2 = k;
250
+ var desc = Object.getOwnPropertyDescriptor(m, k);
251
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
252
+ desc = { enumerable: true, get: function () { return m[k]; } };
253
+ }
254
+ Object.defineProperty(o, k2, desc);
255
+ }) : (function (o, m, k, k2) {
256
+ if (k2 === undefined)
257
+ k2 = k;
258
+ o[k2] = m[k];
259
+ });
260
+ function __exportStar(m, o) {
261
+ for (var p in m)
262
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
263
+ __createBinding(o, m, p);
264
+ }
265
+ function __values(o) {
266
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
267
+ if (m)
268
+ return m.call(o);
269
+ if (o && typeof o.length === "number")
270
+ return {
271
+ next: function () {
272
+ if (o && i >= o.length)
273
+ o = void 0;
274
+ return { value: o && o[i++], done: !o };
275
+ }
276
+ };
277
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
278
+ }
279
+ function __read(o, n) {
280
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
281
+ if (!m)
282
+ return o;
283
+ var i = m.call(o), r, ar = [], e;
284
+ try {
285
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
286
+ ar.push(r.value);
287
+ }
288
+ catch (error) {
289
+ e = { error: error };
290
+ }
291
+ finally {
292
+ try {
293
+ if (r && !r.done && (m = i["return"]))
294
+ m.call(i);
295
+ }
296
+ finally {
297
+ if (e)
298
+ throw e.error;
299
+ }
300
+ }
301
+ return ar;
302
+ }
303
+ /** @deprecated */
304
+ function __spread() {
305
+ for (var ar = [], i = 0; i < arguments.length; i++)
306
+ ar = ar.concat(__read(arguments[i]));
307
+ return ar;
308
+ }
309
+ /** @deprecated */
310
+ function __spreadArrays() {
311
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
312
+ s += arguments[i].length;
313
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
314
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
315
+ r[k] = a[j];
316
+ return r;
317
+ }
318
+ function __spreadArray(to, from, pack) {
319
+ if (pack || arguments.length === 2)
320
+ for (var i = 0, l = from.length, ar; i < l; i++) {
321
+ if (ar || !(i in from)) {
322
+ if (!ar)
323
+ ar = Array.prototype.slice.call(from, 0, i);
324
+ ar[i] = from[i];
325
+ }
326
+ }
327
+ return to.concat(ar || Array.prototype.slice.call(from));
328
+ }
329
+ function __await(v) {
330
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
331
+ }
332
+ function __asyncGenerator(thisArg, _arguments, generator) {
333
+ if (!Symbol.asyncIterator)
334
+ throw new TypeError("Symbol.asyncIterator is not defined.");
335
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
336
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
337
+ function verb(n) { if (g[n])
338
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
339
+ function resume(n, v) { try {
340
+ step(g[n](v));
341
+ }
342
+ catch (e) {
343
+ settle(q[0][3], e);
344
+ } }
345
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
346
+ function fulfill(value) { resume("next", value); }
347
+ function reject(value) { resume("throw", value); }
348
+ function settle(f, v) { if (f(v), q.shift(), q.length)
349
+ resume(q[0][0], q[0][1]); }
350
+ }
351
+ function __asyncDelegator(o) {
352
+ var i, p;
353
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
354
+ 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; }
355
+ }
356
+ function __asyncValues(o) {
357
+ if (!Symbol.asyncIterator)
358
+ throw new TypeError("Symbol.asyncIterator is not defined.");
359
+ var m = o[Symbol.asyncIterator], i;
360
+ 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);
361
+ 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); }); }; }
362
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
363
+ }
364
+ function __makeTemplateObject(cooked, raw) {
365
+ if (Object.defineProperty) {
366
+ Object.defineProperty(cooked, "raw", { value: raw });
367
+ }
368
+ else {
369
+ cooked.raw = raw;
370
+ }
371
+ return cooked;
372
+ }
373
+ ;
374
+ var __setModuleDefault = Object.create ? (function (o, v) {
375
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
376
+ }) : function (o, v) {
377
+ o["default"] = v;
378
+ };
379
+ function __importStar(mod) {
380
+ if (mod && mod.__esModule)
381
+ return mod;
382
+ var result = {};
383
+ if (mod != null)
384
+ for (var k in mod)
385
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
386
+ __createBinding(result, mod, k);
387
+ __setModuleDefault(result, mod);
388
+ return result;
389
+ }
390
+ function __importDefault(mod) {
391
+ return (mod && mod.__esModule) ? mod : { default: mod };
392
+ }
393
+ function __classPrivateFieldGet(receiver, state, kind, f) {
394
+ if (kind === "a" && !f)
395
+ throw new TypeError("Private accessor was defined without a getter");
396
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
397
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
398
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
399
+ }
400
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
401
+ if (kind === "m")
402
+ throw new TypeError("Private method is not writable");
403
+ if (kind === "a" && !f)
404
+ throw new TypeError("Private accessor was defined without a setter");
405
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
406
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
407
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
408
+ }
409
+ function __classPrivateFieldIn(state, receiver) {
410
+ if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
411
+ throw new TypeError("Cannot use 'in' operator on non-object");
412
+ return typeof state === "function" ? receiver === state : state.has(receiver);
413
+ }
414
+ function __addDisposableResource(env, value, async) {
415
+ if (value !== null && value !== void 0) {
416
+ if (typeof value !== "object" && typeof value !== "function")
417
+ throw new TypeError("Object expected.");
418
+ var dispose;
419
+ if (async) {
420
+ if (!Symbol.asyncDispose)
421
+ throw new TypeError("Symbol.asyncDispose is not defined.");
422
+ dispose = value[Symbol.asyncDispose];
423
+ }
424
+ if (dispose === void 0) {
425
+ if (!Symbol.dispose)
426
+ throw new TypeError("Symbol.dispose is not defined.");
427
+ dispose = value[Symbol.dispose];
428
+ }
429
+ if (typeof dispose !== "function")
430
+ throw new TypeError("Object not disposable.");
431
+ env.stack.push({ value: value, dispose: dispose, async: async });
432
+ }
433
+ else if (async) {
434
+ env.stack.push({ async: true });
435
+ }
436
+ return value;
437
+ }
438
+ var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
439
+ var e = new Error(message);
440
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
441
+ };
442
+ function __disposeResources(env) {
443
+ function fail(e) {
444
+ env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
445
+ env.hasError = true;
446
+ }
447
+ function next() {
448
+ while (env.stack.length) {
449
+ var rec = env.stack.pop();
450
+ try {
451
+ var result = rec.dispose && rec.dispose.call(rec.value);
452
+ if (rec.async)
453
+ return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
454
+ }
455
+ catch (e) {
456
+ fail(e);
457
+ }
458
+ }
459
+ if (env.hasError)
460
+ throw env.error;
461
+ }
462
+ return next();
463
+ }
464
+ var tslib_es6 = {
465
+ __extends: __extends,
466
+ __assign: __assign,
467
+ __rest: __rest,
468
+ __decorate: __decorate,
469
+ __param: __param,
470
+ __metadata: __metadata,
471
+ __awaiter: __awaiter,
472
+ __generator: __generator,
473
+ __createBinding: __createBinding,
474
+ __exportStar: __exportStar,
475
+ __values: __values,
476
+ __read: __read,
477
+ __spread: __spread,
478
+ __spreadArrays: __spreadArrays,
479
+ __spreadArray: __spreadArray,
480
+ __await: __await,
481
+ __asyncGenerator: __asyncGenerator,
482
+ __asyncDelegator: __asyncDelegator,
483
+ __asyncValues: __asyncValues,
484
+ __makeTemplateObject: __makeTemplateObject,
485
+ __importStar: __importStar,
486
+ __importDefault: __importDefault,
487
+ __classPrivateFieldGet: __classPrivateFieldGet,
488
+ __classPrivateFieldSet: __classPrivateFieldSet,
489
+ __classPrivateFieldIn: __classPrivateFieldIn,
490
+ __addDisposableResource: __addDisposableResource,
491
+ __disposeResources: __disposeResources,
492
+ };
347
493
 
348
- var TuiPieChartDirective = /** @class */ (function () {
349
- function TuiPieChartDirective(_a, zone, destroy$, performance, animationFrame$, duration) {
350
- var nativeElement = _a.nativeElement;
351
- this.sector$ = new i1.BehaviorSubject([0, 0]);
352
- this.sector$
353
- .pipe(operators.pairwise(), operators.switchMap(function (_a) {
354
- var _b = __read(_a, 2), prev = _b[0], cur = _b[1];
355
- var now = performance.now();
356
- var startDelta = cur[0] - prev[0];
357
- var endDelta = cur[1] - prev[1];
358
- return animationFrame$.pipe(operators.map(function (timestamp) { return i1$1.tuiEaseInOutQuad(i1$1.tuiClamp((timestamp - now) / duration, 0, 1)); }), operators.takeWhile(function (progress) { return progress < 1; }, true), operators.map(function (progress) { return [
359
- prev[0] + startDelta * progress,
360
- cur[1] > 359 ? cur[1] : prev[1] + endDelta * progress,
361
- ]; }));
362
- }), i1$1.tuiZonefree(zone), operators.takeUntil(destroy$))
363
- .subscribe(function (_a) {
364
- var _b = __read(_a, 2), start = _b[0], end = _b[1];
365
- nativeElement.setAttribute('d', utils.tuiDescribeSector(start, end));
366
- });
367
- }
368
- Object.defineProperty(TuiPieChartDirective.prototype, "tuiPieChart", {
369
- set: function (sector) {
370
- this.sector$.next(sector);
371
- },
372
- enumerable: false,
373
- configurable: true
374
- });
375
- return TuiPieChartDirective;
376
- }());
377
- TuiPieChartDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1$1.TuiDestroyService, self: true }, { token: common.PERFORMANCE }, { token: common.ANIMATION_FRAME }, { token: i3.TUI_ANIMATIONS_DURATION }], target: i0__namespace.ɵɵFactoryTarget.Directive });
378
- TuiPieChartDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiPieChartDirective, selector: "path[tuiPieChart]", inputs: { tuiPieChart: "tuiPieChart" }, providers: [i1$1.TuiDestroyService], ngImport: i0__namespace });
379
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartDirective, decorators: [{
380
- type: i0.Directive,
381
- args: [{
382
- selector: 'path[tuiPieChart]',
383
- providers: [i1$1.TuiDestroyService],
384
- }]
385
- }], ctorParameters: function () {
386
- return [{ type: i0__namespace.ElementRef, decorators: [{
387
- type: i0.Inject,
388
- args: [i0.ElementRef]
389
- }] }, { type: i0__namespace.NgZone, decorators: [{
390
- type: i0.Inject,
391
- args: [i0.NgZone]
392
- }] }, { type: i1__namespace.Observable, decorators: [{
393
- type: i0.Self
394
- }, {
395
- type: i0.Inject,
396
- args: [i1$1.TuiDestroyService]
397
- }] }, { type: Performance, decorators: [{
398
- type: i0.Inject,
399
- args: [common.PERFORMANCE]
400
- }] }, { type: i1__namespace.Observable, decorators: [{
401
- type: i0.Inject,
402
- args: [common.ANIMATION_FRAME]
403
- }] }, { type: undefined, decorators: [{
404
- type: i0.Inject,
405
- args: [i3.TUI_ANIMATIONS_DURATION]
406
- }] }];
407
- }, propDecorators: { tuiPieChart: [{
408
- type: i0.Input
409
- }] } });
494
+ var TuiPieChartDirective = /** @class */ (function () {
495
+ function TuiPieChartDirective(_a, zone, destroy$, performance, animationFrame$, duration) {
496
+ var nativeElement = _a.nativeElement;
497
+ this.sector$ = new i1.BehaviorSubject([0, 0]);
498
+ this.sector$
499
+ .pipe(operators.pairwise(), operators.switchMap(function (_a) {
500
+ var _b = __read(_a, 2), prev = _b[0], cur = _b[1];
501
+ var now = performance.now();
502
+ var startDelta = cur[0] - prev[0];
503
+ var endDelta = cur[1] - prev[1];
504
+ return animationFrame$.pipe(operators.map(function (timestamp) { return i1$1.tuiEaseInOutQuad(i1$1.tuiClamp((timestamp - now) / duration, 0, 1)); }), operators.takeWhile(function (progress) { return progress < 1; }, true), operators.map(function (progress) { return [
505
+ prev[0] + startDelta * progress,
506
+ cur[1] > 359 ? cur[1] : prev[1] + endDelta * progress,
507
+ ]; }));
508
+ }), i1$1.tuiZonefree(zone), operators.takeUntil(destroy$))
509
+ .subscribe(function (_a) {
510
+ var _b = __read(_a, 2), start = _b[0], end = _b[1];
511
+ nativeElement.setAttribute('d', utils.tuiDescribeSector(start, end));
512
+ });
513
+ }
514
+ Object.defineProperty(TuiPieChartDirective.prototype, "tuiPieChart", {
515
+ set: function (sector) {
516
+ this.sector$.next(sector);
517
+ },
518
+ enumerable: false,
519
+ configurable: true
520
+ });
521
+ return TuiPieChartDirective;
522
+ }());
523
+ TuiPieChartDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1$1.TuiDestroyService, self: true }, { token: common.PERFORMANCE }, { token: common.ANIMATION_FRAME }, { token: i3.TUI_ANIMATIONS_DURATION }], target: i0__namespace.ɵɵFactoryTarget.Directive });
524
+ TuiPieChartDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiPieChartDirective, selector: "path[tuiPieChart]", inputs: { tuiPieChart: "tuiPieChart" }, providers: [i1$1.TuiDestroyService], ngImport: i0__namespace });
525
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartDirective, decorators: [{
526
+ type: i0.Directive,
527
+ args: [{
528
+ selector: 'path[tuiPieChart]',
529
+ providers: [i1$1.TuiDestroyService],
530
+ }]
531
+ }], ctorParameters: function () {
532
+ return [{ type: i0__namespace.ElementRef, decorators: [{
533
+ type: i0.Inject,
534
+ args: [i0.ElementRef]
535
+ }] }, { type: i0__namespace.NgZone, decorators: [{
536
+ type: i0.Inject,
537
+ args: [i0.NgZone]
538
+ }] }, { type: i1__namespace.Observable, decorators: [{
539
+ type: i0.Self
540
+ }, {
541
+ type: i0.Inject,
542
+ args: [i1$1.TuiDestroyService]
543
+ }] }, { type: Performance, decorators: [{
544
+ type: i0.Inject,
545
+ args: [common.PERFORMANCE]
546
+ }] }, { type: i1__namespace.Observable, decorators: [{
547
+ type: i0.Inject,
548
+ args: [common.ANIMATION_FRAME]
549
+ }] }, { type: undefined, decorators: [{
550
+ type: i0.Inject,
551
+ args: [i3.TUI_ANIMATIONS_DURATION]
552
+ }] }];
553
+ }, propDecorators: { tuiPieChart: [{
554
+ type: i0.Input
555
+ }] } });
410
556
 
411
- var RADII = {
412
- xs: '50',
413
- s: '50',
414
- m: '77.8',
415
- l: '81.9',
416
- xl: '81.3',
417
- };
418
- var TRANSFORM = {
419
- xs: 1.15,
420
- s: 1.25,
421
- m: 1.11,
422
- l: 1.09,
423
- xl: 1.08,
424
- };
425
- var TuiPieChartComponent = /** @class */ (function () {
426
- function TuiPieChartComponent(idService, hintOptions) {
427
- this.hintOptions = hintOptions;
428
- this.value = [];
429
- this.size = 'm';
430
- this.masked = false;
431
- this.activeItemIndex = NaN;
432
- this.activeItemIndexChange = new i0.EventEmitter();
433
- this.autoIdString = idService.generate();
434
- if (this.hintOptions) {
435
- this.hintOptions.showDelay = 0;
436
- this.hintOptions.hideDelay = 0;
437
- }
438
- }
439
- Object.defineProperty(TuiPieChartComponent.prototype, "empty", {
440
- get: function () {
441
- return !this.getSum(this.value);
442
- },
443
- enumerable: false,
444
- configurable: true
445
- });
446
- Object.defineProperty(TuiPieChartComponent.prototype, "hintContent", {
447
- get: function () {
448
- var _a;
449
- return ((_a = this.hintOptions) === null || _a === void 0 ? void 0 : _a.content) || '';
450
- },
451
- enumerable: false,
452
- configurable: true
453
- });
454
- Object.defineProperty(TuiPieChartComponent.prototype, "maskId", {
455
- get: function () {
456
- return "tui-ring-chart-" + this.autoIdString;
457
- },
458
- enumerable: false,
459
- configurable: true
460
- });
461
- Object.defineProperty(TuiPieChartComponent.prototype, "mask", {
462
- get: function () {
463
- return this.masked ? "url(#" + this.maskId + ")" : null;
464
- },
465
- enumerable: false,
466
- configurable: true
467
- });
468
- Object.defineProperty(TuiPieChartComponent.prototype, "radius", {
469
- get: function () {
470
- return RADII[this.size];
471
- },
472
- enumerable: false,
473
- configurable: true
474
- });
475
- Object.defineProperty(TuiPieChartComponent.prototype, "segments", {
476
- get: function () {
477
- return this.getSegments(this.value);
478
- },
479
- enumerable: false,
480
- configurable: true
481
- });
482
- TuiPieChartComponent.prototype.getTransform = function (index) {
483
- var transform = this.masked
484
- ? "scale(" + TRANSFORM[this.size] + ")"
485
- : "scale(" + TRANSFORM.xs + ")";
486
- return index === this.activeItemIndex ? transform : null;
487
- };
488
- TuiPieChartComponent.prototype.onHovered = function (hovered, index) {
489
- this.updateActiveItemIndex(hovered ? index : NaN);
490
- };
491
- TuiPieChartComponent.prototype.getColor = function (index) {
492
- return "var(--tui-chart-" + index + ")";
493
- };
494
- TuiPieChartComponent.prototype.getSum = function (value) {
495
- return i1$1.tuiSum.apply(void 0, __spreadArray([], __read(value)));
496
- };
497
- TuiPieChartComponent.prototype.getSegments = function (value) {
498
- var _this = this;
499
- return value
500
- .map(function (initial, i, array) { return array.reduce(function (sum, current, j) { return (j < i ? _this.getDeg(current) + sum : sum); }, _this.getDeg(initial)); })
501
- .map(function (angle, index, array) { return [
502
- array[index - 1] || 0,
503
- Math.min(angle, 359.9999),
504
- ]; });
505
- };
506
- TuiPieChartComponent.prototype.getDeg = function (value) {
507
- return 360 * (value / this.getSum(this.value));
508
- };
509
- TuiPieChartComponent.prototype.updateActiveItemIndex = function (index) {
510
- if (index === this.activeItemIndex) {
511
- return;
512
- }
513
- this.activeItemIndex = index;
514
- this.activeItemIndexChange.next(index);
515
- };
516
- return TuiPieChartComponent;
517
- }());
518
- TuiPieChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartComponent, deps: [{ token: i1$1.TuiIdService }, { token: i3.TuiHintOptionsDirective, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
519
- TuiPieChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPieChartComponent, selector: "tui-pie-chart", inputs: { value: "value", size: "size", masked: "masked", activeItemIndex: "activeItemIndex" }, outputs: { activeItemIndexChange: "activeItemIndexChange" }, host: { properties: { "attr.data-size": "this.size", "class._empty": "this.empty" } }, ngImport: i0__namespace, template: "<svg\n focusable=\"false\"\n height=\"100%\"\n viewBox=\"-100 -100 200 200\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-svg\"\n>\n <defs>\n <mask [attr.id]=\"maskId\">\n <rect\n fill=\"white\"\n height=\"400\"\n width=\"400\"\n x=\"-200\"\n y=\"-200\"\n />\n <circle\n cx=\"0\"\n cy=\"0\"\n [attr.r]=\"radius\"\n />\n </mask>\n </defs>\n <g [style.mask]=\"mask\">\n <circle\n cx=\"0\"\n cy=\"0\"\n r=\"100\"\n class=\"t-placeholder\"\n />\n <path\n *tuiRepeatTimes=\"let index of segments.length\"\n automation-id=\"tui-pie-chart__segment\"\n d=\"\"\n fill=\"currentColor\"\n tuiHintPointer\n class=\"t-segment\"\n [attr.transform]=\"getTransform(index)\"\n [style.color]=\"getColor(index)\"\n [tuiHint]=\"hintContent\"\n [tuiHintContext]=\"{$implicit: index}\"\n [tuiPieChart]=\"segments[index]\"\n (tuiHoveredChange)=\"onHovered($event, index)\"\n />\n </g>\n</svg>\n", styles: [":host{position:relative;display:block}:host[data-size=xs]{width:2rem;height:2rem;pointer-events:none}:host[data-size=s]{width:4rem;height:4rem}:host[data-size=m]{width:9rem;height:9rem}:host[data-size=l]{width:11rem;height:11rem}:host[data-size=xl]{width:16rem;height:16rem}.t-svg{position:relative;overflow:visible;transform:rotate(-90deg)}.t-segment{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}:host._empty .t-segment{display:none}.t-placeholder{fill:var(--tui-base-03)}\n"], directives: [{ type: i1__namespace$1.TuiRepeatTimesDirective, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: ["tuiRepeatTimesOf"] }, { type: TuiPieChartDirective, selector: "path[tuiPieChart]", inputs: ["tuiPieChart"] }, { type: i3__namespace.TuiHintDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHint", "tuiHintContext", "tuiHintAppearance"] }, { type: i3__namespace.TuiHintDriverDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)" }, { type: i3__namespace.TuiHintHoverDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHintShowDelay", "tuiHintHideDelay"], exportAs: ["tuiHintHover"] }, { type: i3__namespace.TuiHintPositionDirective, selector: "[tuiHint]:not([tuiHintCustomPosition]):not(ng-container):not(ng-template)", inputs: ["tuiHintDirection"] }, { type: i3__namespace.TuiHintPointerDirective, selector: "[tuiHint][tuiHintPointer]" }, { type: i1__namespace$1.TuiHoveredDirective, selector: "[tuiHoveredChange]", outputs: ["tuiHoveredChange"] }], viewProviders: [
520
- i3.tuiHintOptionsProvider({ direction: 'top-right', appearance: 'onDark' }),
521
- ], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
522
- __decorate([
523
- i1$1.tuiPure
524
- ], TuiPieChartComponent.prototype, "getSum", null);
525
- __decorate([
526
- i1$1.tuiPure
527
- ], TuiPieChartComponent.prototype, "getSegments", null);
528
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartComponent, decorators: [{
529
- type: i0.Component,
530
- args: [{
531
- selector: 'tui-pie-chart',
532
- templateUrl: './pie-chart.template.html',
533
- styleUrls: ['./pie-chart.style.less'],
534
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
535
- viewProviders: [
536
- i3.tuiHintOptionsProvider({ direction: 'top-right', appearance: 'onDark' }),
537
- ],
538
- }]
539
- }], ctorParameters: function () {
540
- return [{ type: i1__namespace$1.TuiIdService, decorators: [{
541
- type: i0.Inject,
542
- args: [i1$1.TuiIdService]
543
- }] }, { type: i3__namespace.TuiHintOptionsDirective, decorators: [{
544
- type: i0.Optional
545
- }, {
546
- type: i0.Inject,
547
- args: [i3.TuiHintOptionsDirective]
548
- }] }];
549
- }, propDecorators: { value: [{
550
- type: i0.Input
551
- }], size: [{
552
- type: i0.Input
553
- }, {
554
- type: i0.HostBinding,
555
- args: ['attr.data-size']
556
- }], masked: [{
557
- type: i0.Input
558
- }], activeItemIndex: [{
559
- type: i0.Input
560
- }], activeItemIndexChange: [{
561
- type: i0.Output
562
- }], empty: [{
563
- type: i0.HostBinding,
564
- args: ['class._empty']
565
- }], getSum: [], getSegments: [] } });
557
+ var RADII = {
558
+ xs: '50',
559
+ s: '50',
560
+ m: '77.8',
561
+ l: '81.9',
562
+ xl: '81.3',
563
+ };
564
+ var TRANSFORM = {
565
+ xs: 1.15,
566
+ s: 1.25,
567
+ m: 1.11,
568
+ l: 1.09,
569
+ xl: 1.08,
570
+ };
571
+ var TuiPieChartComponent = /** @class */ (function () {
572
+ function TuiPieChartComponent(idService, hintOptions) {
573
+ this.hintOptions = hintOptions;
574
+ this.value = [];
575
+ this.size = 'm';
576
+ this.masked = false;
577
+ this.activeItemIndex = NaN;
578
+ this.activeItemIndexChange = new i0.EventEmitter();
579
+ this.autoIdString = idService.generate();
580
+ if (this.hintOptions) {
581
+ this.hintOptions.showDelay = 0;
582
+ this.hintOptions.hideDelay = 0;
583
+ }
584
+ }
585
+ Object.defineProperty(TuiPieChartComponent.prototype, "empty", {
586
+ get: function () {
587
+ return !this.getSum(this.value);
588
+ },
589
+ enumerable: false,
590
+ configurable: true
591
+ });
592
+ Object.defineProperty(TuiPieChartComponent.prototype, "hintContent", {
593
+ get: function () {
594
+ var _a;
595
+ return ((_a = this.hintOptions) === null || _a === void 0 ? void 0 : _a.content) || '';
596
+ },
597
+ enumerable: false,
598
+ configurable: true
599
+ });
600
+ Object.defineProperty(TuiPieChartComponent.prototype, "maskId", {
601
+ get: function () {
602
+ return "tui-ring-chart-" + this.autoIdString;
603
+ },
604
+ enumerable: false,
605
+ configurable: true
606
+ });
607
+ Object.defineProperty(TuiPieChartComponent.prototype, "mask", {
608
+ get: function () {
609
+ return this.masked ? "url(#" + this.maskId + ")" : null;
610
+ },
611
+ enumerable: false,
612
+ configurable: true
613
+ });
614
+ Object.defineProperty(TuiPieChartComponent.prototype, "radius", {
615
+ get: function () {
616
+ return RADII[this.size];
617
+ },
618
+ enumerable: false,
619
+ configurable: true
620
+ });
621
+ Object.defineProperty(TuiPieChartComponent.prototype, "segments", {
622
+ get: function () {
623
+ return this.getSegments(this.value);
624
+ },
625
+ enumerable: false,
626
+ configurable: true
627
+ });
628
+ TuiPieChartComponent.prototype.getTransform = function (index) {
629
+ var transform = this.masked
630
+ ? "scale(" + TRANSFORM[this.size] + ")"
631
+ : "scale(" + TRANSFORM.xs + ")";
632
+ return index === this.activeItemIndex ? transform : null;
633
+ };
634
+ TuiPieChartComponent.prototype.onHovered = function (hovered, index) {
635
+ this.updateActiveItemIndex(hovered ? index : NaN);
636
+ };
637
+ TuiPieChartComponent.prototype.getColor = function (index) {
638
+ return "var(--tui-chart-" + index + ")";
639
+ };
640
+ TuiPieChartComponent.prototype.getSum = function (value) {
641
+ return i1$1.tuiSum.apply(void 0, __spreadArray([], __read(value)));
642
+ };
643
+ TuiPieChartComponent.prototype.getSegments = function (value) {
644
+ var _this = this;
645
+ return value
646
+ .map(function (initial, i, array) { return array.reduce(function (sum, current, j) { return (j < i ? _this.getDeg(current) + sum : sum); }, _this.getDeg(initial)); })
647
+ .map(function (angle, index, array) { return [
648
+ array[index - 1] || 0,
649
+ Math.min(angle, 359.9999),
650
+ ]; });
651
+ };
652
+ TuiPieChartComponent.prototype.getDeg = function (value) {
653
+ return 360 * (value / this.getSum(this.value));
654
+ };
655
+ TuiPieChartComponent.prototype.updateActiveItemIndex = function (index) {
656
+ if (index === this.activeItemIndex) {
657
+ return;
658
+ }
659
+ this.activeItemIndex = index;
660
+ this.activeItemIndexChange.next(index);
661
+ };
662
+ return TuiPieChartComponent;
663
+ }());
664
+ TuiPieChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartComponent, deps: [{ token: i1$1.TuiIdService }, { token: i3.TuiHintOptionsDirective, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
665
+ TuiPieChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPieChartComponent, selector: "tui-pie-chart", inputs: { value: "value", size: "size", masked: "masked", activeItemIndex: "activeItemIndex" }, outputs: { activeItemIndexChange: "activeItemIndexChange" }, host: { properties: { "attr.data-size": "this.size", "class._empty": "this.empty" } }, ngImport: i0__namespace, template: "<svg\n focusable=\"false\"\n height=\"100%\"\n viewBox=\"-100 -100 200 200\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-svg\"\n>\n <defs>\n <mask [attr.id]=\"maskId\">\n <rect\n fill=\"white\"\n height=\"400\"\n width=\"400\"\n x=\"-200\"\n y=\"-200\"\n />\n <circle\n cx=\"0\"\n cy=\"0\"\n [attr.r]=\"radius\"\n />\n </mask>\n </defs>\n <g [style.mask]=\"mask\">\n <circle\n cx=\"0\"\n cy=\"0\"\n r=\"100\"\n class=\"t-placeholder\"\n />\n <path\n *tuiRepeatTimes=\"let index of segments.length\"\n automation-id=\"tui-pie-chart__segment\"\n d=\"\"\n fill=\"currentColor\"\n tuiHintPointer\n class=\"t-segment\"\n [attr.transform]=\"getTransform(index)\"\n [style.color]=\"getColor(index)\"\n [tuiHint]=\"hintContent\"\n [tuiHintContext]=\"{$implicit: index}\"\n [tuiPieChart]=\"segments[index]\"\n (tuiHoveredChange)=\"onHovered($event, index)\"\n />\n </g>\n</svg>\n", styles: [":host{position:relative;display:block}:host[data-size=xs]{width:2rem;height:2rem;pointer-events:none}:host[data-size=s]{width:4rem;height:4rem}:host[data-size=m]{width:9rem;height:9rem}:host[data-size=l]{width:11rem;height:11rem}:host[data-size=xl]{width:16rem;height:16rem}.t-svg{position:relative;overflow:visible;transform:rotate(-90deg)}.t-segment{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}:host._empty .t-segment{display:none}.t-placeholder{fill:var(--tui-base-03)}\n"], directives: [{ type: i1__namespace$1.TuiRepeatTimesDirective, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: ["tuiRepeatTimesOf"] }, { type: TuiPieChartDirective, selector: "path[tuiPieChart]", inputs: ["tuiPieChart"] }, { type: i3__namespace.TuiHintDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHint", "tuiHintContext", "tuiHintAppearance"] }, { type: i3__namespace.TuiHintDriverDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)" }, { type: i3__namespace.TuiHintHoverDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHintShowDelay", "tuiHintHideDelay"], exportAs: ["tuiHintHover"] }, { type: i3__namespace.TuiHintPositionDirective, selector: "[tuiHint]:not([tuiHintCustomPosition]):not(ng-container):not(ng-template)", inputs: ["tuiHintDirection"] }, { type: i3__namespace.TuiHintPointerDirective, selector: "[tuiHint][tuiHintPointer]" }, { type: i1__namespace$1.TuiHoveredDirective, selector: "[tuiHoveredChange]", outputs: ["tuiHoveredChange"] }], viewProviders: [
666
+ i3.tuiHintOptionsProvider({ direction: 'top-right', appearance: 'onDark' }),
667
+ ], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
668
+ __decorate([
669
+ i1$1.tuiPure
670
+ ], TuiPieChartComponent.prototype, "getSum", null);
671
+ __decorate([
672
+ i1$1.tuiPure
673
+ ], TuiPieChartComponent.prototype, "getSegments", null);
674
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartComponent, decorators: [{
675
+ type: i0.Component,
676
+ args: [{
677
+ selector: 'tui-pie-chart',
678
+ templateUrl: './pie-chart.template.html',
679
+ styleUrls: ['./pie-chart.style.less'],
680
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
681
+ viewProviders: [
682
+ i3.tuiHintOptionsProvider({ direction: 'top-right', appearance: 'onDark' }),
683
+ ],
684
+ }]
685
+ }], ctorParameters: function () {
686
+ return [{ type: i1__namespace$1.TuiIdService, decorators: [{
687
+ type: i0.Inject,
688
+ args: [i1$1.TuiIdService]
689
+ }] }, { type: i3__namespace.TuiHintOptionsDirective, decorators: [{
690
+ type: i0.Optional
691
+ }, {
692
+ type: i0.Inject,
693
+ args: [i3.TuiHintOptionsDirective]
694
+ }] }];
695
+ }, propDecorators: { value: [{
696
+ type: i0.Input
697
+ }], size: [{
698
+ type: i0.Input
699
+ }, {
700
+ type: i0.HostBinding,
701
+ args: ['attr.data-size']
702
+ }], masked: [{
703
+ type: i0.Input
704
+ }], activeItemIndex: [{
705
+ type: i0.Input
706
+ }], activeItemIndexChange: [{
707
+ type: i0.Output
708
+ }], empty: [{
709
+ type: i0.HostBinding,
710
+ args: ['class._empty']
711
+ }], getSum: [], getSegments: [] } });
566
712
 
567
- var TuiPieChartModule = /** @class */ (function () {
568
- function TuiPieChartModule() {
569
- }
570
- return TuiPieChartModule;
571
- }());
572
- TuiPieChartModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
573
- TuiPieChartModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartModule, declarations: [TuiPieChartComponent, TuiPieChartDirective], imports: [common$1.CommonModule,
574
- i1$1.TuiRepeatTimesModule,
575
- i1$1.TuiHoveredModule,
576
- ngPolymorpheus.PolymorpheusModule,
577
- i3.TuiHintModule], exports: [TuiPieChartComponent] });
578
- TuiPieChartModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartModule, imports: [[
579
- common$1.CommonModule,
580
- i1$1.TuiRepeatTimesModule,
581
- i1$1.TuiHoveredModule,
582
- ngPolymorpheus.PolymorpheusModule,
583
- i3.TuiHintModule,
584
- ]] });
585
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartModule, decorators: [{
586
- type: i0.NgModule,
587
- args: [{
588
- imports: [
589
- common$1.CommonModule,
590
- i1$1.TuiRepeatTimesModule,
591
- i1$1.TuiHoveredModule,
592
- ngPolymorpheus.PolymorpheusModule,
593
- i3.TuiHintModule,
594
- ],
595
- declarations: [TuiPieChartComponent, TuiPieChartDirective],
596
- exports: [TuiPieChartComponent],
597
- }]
598
- }] });
713
+ var TuiPieChartModule = /** @class */ (function () {
714
+ function TuiPieChartModule() {
715
+ }
716
+ return TuiPieChartModule;
717
+ }());
718
+ TuiPieChartModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
719
+ TuiPieChartModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartModule, declarations: [TuiPieChartComponent, TuiPieChartDirective], imports: [common$1.CommonModule,
720
+ i1$1.TuiRepeatTimesModule,
721
+ i1$1.TuiHoveredModule,
722
+ ngPolymorpheus.PolymorpheusModule,
723
+ i3.TuiHintModule], exports: [TuiPieChartComponent] });
724
+ TuiPieChartModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartModule, imports: [[
725
+ common$1.CommonModule,
726
+ i1$1.TuiRepeatTimesModule,
727
+ i1$1.TuiHoveredModule,
728
+ ngPolymorpheus.PolymorpheusModule,
729
+ i3.TuiHintModule,
730
+ ]] });
731
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPieChartModule, decorators: [{
732
+ type: i0.NgModule,
733
+ args: [{
734
+ imports: [
735
+ common$1.CommonModule,
736
+ i1$1.TuiRepeatTimesModule,
737
+ i1$1.TuiHoveredModule,
738
+ ngPolymorpheus.PolymorpheusModule,
739
+ i3.TuiHintModule,
740
+ ],
741
+ declarations: [TuiPieChartComponent, TuiPieChartDirective],
742
+ exports: [TuiPieChartComponent],
743
+ }]
744
+ }] });
599
745
 
600
- /**
601
- * Generated bundle index. Do not edit.
602
- */
746
+ /**
747
+ * Generated bundle index. Do not edit.
748
+ */
603
749
 
604
- exports.TuiPieChartComponent = TuiPieChartComponent;
605
- exports.TuiPieChartDirective = TuiPieChartDirective;
606
- exports.TuiPieChartModule = TuiPieChartModule;
750
+ exports.TuiPieChartComponent = TuiPieChartComponent;
751
+ exports.TuiPieChartDirective = TuiPieChartDirective;
752
+ exports.TuiPieChartModule = TuiPieChartModule;
607
753
 
608
- Object.defineProperty(exports, '__esModule', { value: true });
754
+ Object.defineProperty(exports, '__esModule', { value: true });
609
755
 
610
756
  }));
611
757
  //# sourceMappingURL=taiga-ui-addon-charts-components-pie-chart.umd.js.map