@revivejs/angular-infinity-charts 2.0.0 → 21.0.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.
Files changed (61) hide show
  1. package/dist/LICENSE +21 -0
  2. package/dist/README.md +254 -0
  3. package/dist/fesm2022/revivejs-angular-infinity-charts.mjs +520 -0
  4. package/dist/fesm2022/revivejs-angular-infinity-charts.mjs.map +1 -0
  5. package/dist/types/revivejs-angular-infinity-charts.d.ts +300 -0
  6. package/docs/.nojekyll +0 -0
  7. package/docs/angular-2/app/app.component.css +325 -0
  8. package/docs/angular-2/app/app.component.html +185 -0
  9. package/docs/angular-2/app/app.component.ts +243 -0
  10. package/docs/angular-2/app/app.module.ts +18 -0
  11. package/docs/angular-2/app/data/api.ts +14 -0
  12. package/docs/angular-2/app/data/release-line.ts +7 -0
  13. package/docs/angular-2/app/playground.component.css +250 -0
  14. package/docs/angular-2/app/playground.component.html +112 -0
  15. package/docs/angular-2/app/playground.component.ts +428 -0
  16. package/docs/angular-2/index.html +31 -0
  17. package/docs/angular-2/main.ts +8 -0
  18. package/docs/angular-2/styles.css +47 -0
  19. package/docs/angular-2/systemjs.config.js +55 -0
  20. package/docs/angular-21/180.8cbb300931475cea.js +1 -0
  21. package/docs/angular-21/323.8cbb300931475cea.js +1 -0
  22. package/docs/angular-21/37.8cbb300931475cea.js +1 -0
  23. package/docs/angular-21/3rdpartylicenses.txt +402 -0
  24. package/docs/angular-21/418.8cbb300931475cea.js +1 -0
  25. package/docs/angular-21/541.120110ba2fead634.js +1 -0
  26. package/docs/angular-21/561.8cbb300931475cea.js +1 -0
  27. package/docs/angular-21/639.5c36f0da162f2724.js +1 -0
  28. package/docs/angular-21/704.8cbb300931475cea.js +1 -0
  29. package/docs/angular-21/799.8cbb300931475cea.js +1 -0
  30. package/docs/angular-21/84.5baca81d04c90457.js +1 -0
  31. package/docs/angular-21/942.8cbb300931475cea.js +1 -0
  32. package/docs/angular-21/common.4fd5fdcf7b48f062.js +1 -0
  33. package/docs/angular-21/index.html +19 -0
  34. package/docs/angular-21/main.4daffff4ca1c294e.js +1 -0
  35. package/docs/angular-21/polyfills.37944fe611f86dfa.js +1 -0
  36. package/docs/angular-21/runtime.4d8a748cbea51380.js +1 -0
  37. package/docs/angular-21/styles.d345eaa39dd99983.css +1 -0
  38. package/docs/index.html +289 -0
  39. package/package.json +90 -17
  40. /package/{index.d.ts → docs/angular-2/vendor/angular-infinity-charts/index.d.ts} +0 -0
  41. /package/{index.js → docs/angular-2/vendor/angular-infinity-charts/index.js} +0 -0
  42. /package/{index.js.map → docs/angular-2/vendor/angular-infinity-charts/index.js.map} +0 -0
  43. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartComponent.d.ts +0 -0
  44. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartComponent.js +0 -0
  45. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartComponent.js.map +0 -0
  46. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartController.d.ts +0 -0
  47. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartController.js +0 -0
  48. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartController.js.map +0 -0
  49. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartDirective.d.ts +0 -0
  50. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartDirective.js +0 -0
  51. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartDirective.js.map +0 -0
  52. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartService.d.ts +0 -0
  53. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartService.js +0 -0
  54. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartService.js.map +0 -0
  55. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/public_api.d.ts +0 -0
  56. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/public_api.js +0 -0
  57. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/public_api.js.map +0 -0
  58. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/types.d.ts +0 -0
  59. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/types.js +0 -0
  60. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/types.js.map +0 -0
  61. /package/{vendor → docs/angular-2/vendor}/infinity-charts/index.js +0 -0
@@ -0,0 +1,402 @@
1
+ @angular/common
2
+ MIT
3
+ The MIT License
4
+
5
+ Copyright (c) 2010-2026 Google LLC. https://angular.dev/license
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
+ THE SOFTWARE.
24
+
25
+
26
+ @angular/core
27
+ MIT
28
+ The MIT License
29
+
30
+ Copyright (c) 2010-2026 Google LLC. https://angular.dev/license
31
+
32
+ Permission is hereby granted, free of charge, to any person obtaining a copy
33
+ of this software and associated documentation files (the "Software"), to deal
34
+ in the Software without restriction, including without limitation the rights
35
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36
+ copies of the Software, and to permit persons to whom the Software is
37
+ furnished to do so, subject to the following conditions:
38
+
39
+ The above copyright notice and this permission notice shall be included in
40
+ all copies or substantial portions of the Software.
41
+
42
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
46
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
47
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
48
+ THE SOFTWARE.
49
+
50
+
51
+ @angular/forms
52
+ MIT
53
+ The MIT License
54
+
55
+ Copyright (c) 2010-2026 Google LLC. https://angular.dev/license
56
+
57
+ Permission is hereby granted, free of charge, to any person obtaining a copy
58
+ of this software and associated documentation files (the "Software"), to deal
59
+ in the Software without restriction, including without limitation the rights
60
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
61
+ copies of the Software, and to permit persons to whom the Software is
62
+ furnished to do so, subject to the following conditions:
63
+
64
+ The above copyright notice and this permission notice shall be included in
65
+ all copies or substantial portions of the Software.
66
+
67
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
68
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
69
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
70
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
71
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
72
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
73
+ THE SOFTWARE.
74
+
75
+
76
+ @angular/platform-browser
77
+ MIT
78
+ The MIT License
79
+
80
+ Copyright (c) 2010-2026 Google LLC. https://angular.dev/license
81
+
82
+ Permission is hereby granted, free of charge, to any person obtaining a copy
83
+ of this software and associated documentation files (the "Software"), to deal
84
+ in the Software without restriction, including without limitation the rights
85
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
86
+ copies of the Software, and to permit persons to whom the Software is
87
+ furnished to do so, subject to the following conditions:
88
+
89
+ The above copyright notice and this permission notice shall be included in
90
+ all copies or substantial portions of the Software.
91
+
92
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
93
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
94
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
95
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
96
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
97
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
98
+ THE SOFTWARE.
99
+
100
+
101
+ @revivejs/angular-infinity-charts
102
+ MIT
103
+ MIT License
104
+
105
+ Copyright (c) 2026 Alexandro Marques
106
+
107
+ Permission is hereby granted, free of charge, to any person obtaining a copy
108
+ of this software and associated documentation files (the "Software"), to deal
109
+ in the Software without restriction, including without limitation the rights
110
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
111
+ copies of the Software, and to permit persons to whom the Software is
112
+ furnished to do so, subject to the following conditions:
113
+
114
+ The above copyright notice and this permission notice shall be included in all
115
+ copies or substantial portions of the Software.
116
+
117
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
118
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
119
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
120
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
121
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
122
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
123
+ SOFTWARE.
124
+
125
+
126
+ @revivejs/infinity-charts
127
+ MIT
128
+ MIT License
129
+
130
+ Copyright (c) 2026 Alexandro Marques
131
+
132
+ Permission is hereby granted, free of charge, to any person obtaining a copy
133
+ of this software and associated documentation files (the "Software"), to deal
134
+ in the Software without restriction, including without limitation the rights
135
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
136
+ copies of the Software, and to permit persons to whom the Software is
137
+ furnished to do so, subject to the following conditions:
138
+
139
+ The above copyright notice and this permission notice shall be included in all
140
+ copies or substantial portions of the Software.
141
+
142
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
143
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
144
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
145
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
146
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
147
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
148
+ SOFTWARE.
149
+
150
+
151
+ core-js
152
+ MIT
153
+ Copyright (c) 2014-2020 Denis Pushkarev
154
+
155
+ Permission is hereby granted, free of charge, to any person obtaining a copy
156
+ of this software and associated documentation files (the "Software"), to deal
157
+ in the Software without restriction, including without limitation the rights
158
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
159
+ copies of the Software, and to permit persons to whom the Software is
160
+ furnished to do so, subject to the following conditions:
161
+
162
+ The above copyright notice and this permission notice shall be included in
163
+ all copies or substantial portions of the Software.
164
+
165
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
166
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
167
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
168
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
169
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
170
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
171
+ THE SOFTWARE.
172
+
173
+
174
+ rxjs
175
+ Apache-2.0
176
+ Apache License
177
+ Version 2.0, January 2004
178
+ http://www.apache.org/licenses/
179
+
180
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
181
+
182
+ 1. Definitions.
183
+
184
+ "License" shall mean the terms and conditions for use, reproduction,
185
+ and distribution as defined by Sections 1 through 9 of this document.
186
+
187
+ "Licensor" shall mean the copyright owner or entity authorized by
188
+ the copyright owner that is granting the License.
189
+
190
+ "Legal Entity" shall mean the union of the acting entity and all
191
+ other entities that control, are controlled by, or are under common
192
+ control with that entity. For the purposes of this definition,
193
+ "control" means (i) the power, direct or indirect, to cause the
194
+ direction or management of such entity, whether by contract or
195
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
196
+ outstanding shares, or (iii) beneficial ownership of such entity.
197
+
198
+ "You" (or "Your") shall mean an individual or Legal Entity
199
+ exercising permissions granted by this License.
200
+
201
+ "Source" form shall mean the preferred form for making modifications,
202
+ including but not limited to software source code, documentation
203
+ source, and configuration files.
204
+
205
+ "Object" form shall mean any form resulting from mechanical
206
+ transformation or translation of a Source form, including but
207
+ not limited to compiled object code, generated documentation,
208
+ and conversions to other media types.
209
+
210
+ "Work" shall mean the work of authorship, whether in Source or
211
+ Object form, made available under the License, as indicated by a
212
+ copyright notice that is included in or attached to the work
213
+ (an example is provided in the Appendix below).
214
+
215
+ "Derivative Works" shall mean any work, whether in Source or Object
216
+ form, that is based on (or derived from) the Work and for which the
217
+ editorial revisions, annotations, elaborations, or other modifications
218
+ represent, as a whole, an original work of authorship. For the purposes
219
+ of this License, Derivative Works shall not include works that remain
220
+ separable from, or merely link (or bind by name) to the interfaces of,
221
+ the Work and Derivative Works thereof.
222
+
223
+ "Contribution" shall mean any work of authorship, including
224
+ the original version of the Work and any modifications or additions
225
+ to that Work or Derivative Works thereof, that is intentionally
226
+ submitted to Licensor for inclusion in the Work by the copyright owner
227
+ or by an individual or Legal Entity authorized to submit on behalf of
228
+ the copyright owner. For the purposes of this definition, "submitted"
229
+ means any form of electronic, verbal, or written communication sent
230
+ to the Licensor or its representatives, including but not limited to
231
+ communication on electronic mailing lists, source code control systems,
232
+ and issue tracking systems that are managed by, or on behalf of, the
233
+ Licensor for the purpose of discussing and improving the Work, but
234
+ excluding communication that is conspicuously marked or otherwise
235
+ designated in writing by the copyright owner as "Not a Contribution."
236
+
237
+ "Contributor" shall mean Licensor and any individual or Legal Entity
238
+ on behalf of whom a Contribution has been received by Licensor and
239
+ subsequently incorporated within the Work.
240
+
241
+ 2. Grant of Copyright License. Subject to the terms and conditions of
242
+ this License, each Contributor hereby grants to You a perpetual,
243
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
244
+ copyright license to reproduce, prepare Derivative Works of,
245
+ publicly display, publicly perform, sublicense, and distribute the
246
+ Work and such Derivative Works in Source or Object form.
247
+
248
+ 3. Grant of Patent License. Subject to the terms and conditions of
249
+ this License, each Contributor hereby grants to You a perpetual,
250
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
251
+ (except as stated in this section) patent license to make, have made,
252
+ use, offer to sell, sell, import, and otherwise transfer the Work,
253
+ where such license applies only to those patent claims licensable
254
+ by such Contributor that are necessarily infringed by their
255
+ Contribution(s) alone or by combination of their Contribution(s)
256
+ with the Work to which such Contribution(s) was submitted. If You
257
+ institute patent litigation against any entity (including a
258
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
259
+ or a Contribution incorporated within the Work constitutes direct
260
+ or contributory patent infringement, then any patent licenses
261
+ granted to You under this License for that Work shall terminate
262
+ as of the date such litigation is filed.
263
+
264
+ 4. Redistribution. You may reproduce and distribute copies of the
265
+ Work or Derivative Works thereof in any medium, with or without
266
+ modifications, and in Source or Object form, provided that You
267
+ meet the following conditions:
268
+
269
+ (a) You must give any other recipients of the Work or
270
+ Derivative Works a copy of this License; and
271
+
272
+ (b) You must cause any modified files to carry prominent notices
273
+ stating that You changed the files; and
274
+
275
+ (c) You must retain, in the Source form of any Derivative Works
276
+ that You distribute, all copyright, patent, trademark, and
277
+ attribution notices from the Source form of the Work,
278
+ excluding those notices that do not pertain to any part of
279
+ the Derivative Works; and
280
+
281
+ (d) If the Work includes a "NOTICE" text file as part of its
282
+ distribution, then any Derivative Works that You distribute must
283
+ include a readable copy of the attribution notices contained
284
+ within such NOTICE file, excluding those notices that do not
285
+ pertain to any part of the Derivative Works, in at least one
286
+ of the following places: within a NOTICE text file distributed
287
+ as part of the Derivative Works; within the Source form or
288
+ documentation, if provided along with the Derivative Works; or,
289
+ within a display generated by the Derivative Works, if and
290
+ wherever such third-party notices normally appear. The contents
291
+ of the NOTICE file are for informational purposes only and
292
+ do not modify the License. You may add Your own attribution
293
+ notices within Derivative Works that You distribute, alongside
294
+ or as an addendum to the NOTICE text from the Work, provided
295
+ that such additional attribution notices cannot be construed
296
+ as modifying the License.
297
+
298
+ You may add Your own copyright statement to Your modifications and
299
+ may provide additional or different license terms and conditions
300
+ for use, reproduction, or distribution of Your modifications, or
301
+ for any such Derivative Works as a whole, provided Your use,
302
+ reproduction, and distribution of the Work otherwise complies with
303
+ the conditions stated in this License.
304
+
305
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
306
+ any Contribution intentionally submitted for inclusion in the Work
307
+ by You to the Licensor shall be under the terms and conditions of
308
+ this License, without any additional terms or conditions.
309
+ Notwithstanding the above, nothing herein shall supersede or modify
310
+ the terms of any separate license agreement you may have executed
311
+ with Licensor regarding such Contributions.
312
+
313
+ 6. Trademarks. This License does not grant permission to use the trade
314
+ names, trademarks, service marks, or product names of the Licensor,
315
+ except as required for reasonable and customary use in describing the
316
+ origin of the Work and reproducing the content of the NOTICE file.
317
+
318
+ 7. Disclaimer of Warranty. Unless required by applicable law or
319
+ agreed to in writing, Licensor provides the Work (and each
320
+ Contributor provides its Contributions) on an "AS IS" BASIS,
321
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
322
+ implied, including, without limitation, any warranties or conditions
323
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
324
+ PARTICULAR PURPOSE. You are solely responsible for determining the
325
+ appropriateness of using or redistributing the Work and assume any
326
+ risks associated with Your exercise of permissions under this License.
327
+
328
+ 8. Limitation of Liability. In no event and under no legal theory,
329
+ whether in tort (including negligence), contract, or otherwise,
330
+ unless required by applicable law (such as deliberate and grossly
331
+ negligent acts) or agreed to in writing, shall any Contributor be
332
+ liable to You for damages, including any direct, indirect, special,
333
+ incidental, or consequential damages of any character arising as a
334
+ result of this License or out of the use or inability to use the
335
+ Work (including but not limited to damages for loss of goodwill,
336
+ work stoppage, computer failure or malfunction, or any and all
337
+ other commercial damages or losses), even if such Contributor
338
+ has been advised of the possibility of such damages.
339
+
340
+ 9. Accepting Warranty or Additional Liability. While redistributing
341
+ the Work or Derivative Works thereof, You may choose to offer,
342
+ and charge a fee for, acceptance of support, warranty, indemnity,
343
+ or other liability obligations and/or rights consistent with this
344
+ License. However, in accepting such obligations, You may act only
345
+ on Your own behalf and on Your sole responsibility, not on behalf
346
+ of any other Contributor, and only if You agree to indemnify,
347
+ defend, and hold each Contributor harmless for any liability
348
+ incurred by, or claims asserted against, such Contributor by reason
349
+ of your accepting any such warranty or additional liability.
350
+
351
+ END OF TERMS AND CONDITIONS
352
+
353
+ APPENDIX: How to apply the Apache License to your work.
354
+
355
+ To apply the Apache License to your work, attach the following
356
+ boilerplate notice, with the fields enclosed by brackets "[]"
357
+ replaced with your own identifying information. (Don't include
358
+ the brackets!) The text should be enclosed in the appropriate
359
+ comment syntax for the file format. We also recommend that a
360
+ file or class name and description of purpose be included on the
361
+ same "printed page" as the copyright notice for easier
362
+ identification within third-party archives.
363
+
364
+ Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors
365
+
366
+ Licensed under the Apache License, Version 2.0 (the "License");
367
+ you may not use this file except in compliance with the License.
368
+ You may obtain a copy of the License at
369
+
370
+ http://www.apache.org/licenses/LICENSE-2.0
371
+
372
+ Unless required by applicable law or agreed to in writing, software
373
+ distributed under the License is distributed on an "AS IS" BASIS,
374
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
375
+ See the License for the specific language governing permissions and
376
+ limitations under the License.
377
+
378
+
379
+
380
+ zone.js
381
+ MIT
382
+ The MIT License
383
+
384
+ Copyright (c) 2010-2026 Google LLC. https://angular.dev/license
385
+
386
+ Permission is hereby granted, free of charge, to any person obtaining a copy
387
+ of this software and associated documentation files (the "Software"), to deal
388
+ in the Software without restriction, including without limitation the rights
389
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
390
+ copies of the Software, and to permit persons to whom the Software is
391
+ furnished to do so, subject to the following conditions:
392
+
393
+ The above copyright notice and this permission notice shall be included in
394
+ all copies or substantial portions of the Software.
395
+
396
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
397
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
398
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
399
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
400
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
401
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
402
+ THE SOFTWARE.
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkangular_infinity_charts_docs_angular21=self.webpackChunkangular_infinity_charts_docs_angular21||[]).push([[37,180,323,418,561,704,799,942],{3509(x,y,u){u.d(y,{cT:()=>g,pl:()=>p,zc:()=>o});var s=u(8264);const g=(l,t,e,a)=>{if(!t.title.text&&!t.title.subtitle)return[];const i={start:"start",center:"middle",end:"end"},n={start:e.header.x+12,center:e.header.x+e.header.width/2,end:e.header.x+e.header.width-12}[t.title.align];return[(0,s.qu)(`${l}-title-group`,[t.title.text?(0,s.qn)(`${l}-title`,t.title.text,{class:"ic-title",x:n,y:e.header.y+24,fill:a.title,"font-family":a.fontFamily,"font-size":a.fontSize+3,"font-weight":700,"text-anchor":i[t.title.align]}):(0,s.qu)(`${l}-title-empty`),t.title.subtitle?(0,s.qn)(`${l}-subtitle`,t.title.subtitle,{class:"ic-subtitle",x:n,y:e.header.y+44,fill:a.mutedText,"font-family":a.fontFamily,"font-size":a.fontSize,"text-anchor":i[t.title.align]}):(0,s.qu)(`${l}-subtitle-empty`)])]},o=(l,t,e,a,r)=>{const i=e.legend;if(!t.legend.show||0===r.length||!i)return[];const n="left"===t.legend.position||"right"===t.legend.position,c=n?i.width-20:112,_=((l,t,e)=>"center"===l?t.x+(t.width-e)/2:"end"===l?t.x+t.width-e:t.x+12)(t.legend.align,i,n?c:c*r.length),d=r.flatMap((h,$)=>{const w=n?i.x+10:_+$*c,f=n?i.y+18+24*$:i.y+18;return[(0,s.FU)(`${l}-legend-dot-${h.id}`,{class:"ic-legend-dot",cx:w+6,cy:f-4,r:5,fill:h.color}),(0,s.qn)(`${l}-legend-label-${h.id}`,h.label,{class:"ic-legend-label",x:w+18,y:f,fill:a.legendText,"font-family":a.fontFamily,"font-size":a.fontSize})]});return[(0,s.qu)(`${l}-legend`,d)]},p=({idPrefix:l,thresholds:t,frame:e,theme:a,yScale:r})=>{const i=t.filter(n=>"y"===(n.axis??"y")).flatMap((n,c)=>{const _=n.color??a.threshold,d=r.scale(n.value);return[(0,s.Vj)(`${l}-threshold-${n.id??c}`,{class:"ic-threshold-line",x1:e.plot.x,y1:d,x2:e.plot.x+e.plot.width,y2:d,stroke:_,"stroke-width":1.5,"stroke-dasharray":n.dasharray??"7 7",opacity:.92}),n.label?(0,s.qn)(`${l}-threshold-label-${n.id??c}`,n.label,{class:"ic-threshold-label",x:e.plot.x+e.plot.width-4,y:d-6,fill:_,"font-family":a.fontFamily,"font-size":a.fontSize-1,"text-anchor":"end","font-weight":600}):(0,s.qu)(`${l}-threshold-label-empty-${c}`)]});return i.length?[(0,s.qu)(`${l}-thresholds`,i)]:[]}},2239(x,y,u){u.d(y,{J:()=>b,_:()=>g});const s=o=>[o.seriesName,o.label,void 0!==o.value?String(o.value):void 0,o.detail].filter(Boolean).join(", "),b=o=>({"data-ic-interactive":"true","data-ic-payload":JSON.stringify(o),"aria-label":s(o)}),g={cursor:"pointer"}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkangular_infinity_charts_docs_angular21=self.webpackChunkangular_infinity_charts_docs_angular21||[]).push([[541],{541(M,r,a){a.r(r),a.d(r,{coreChartsPack:()=>o});var h=a(1455),s=a(3647),C=a(4303),E=a(8651),t=a(5363),_=a(9639),c=a(1577),n=a(7719),P=a(7100),D=a(2259);const o={id:"core",charts:[c.lineChart,h.areaChart,D.stackedAreaChart,C.barChart,s.bar3DChart,E.comboChart,P.sparklineChart,n.scatterChart,_.gaugeChart,_.semicircleGaugeChart,_.radialProgressChart,_.thermometerChart,_.thermometerHorizontalChart,_.batteryChart,t.pieChart,t.donutChart],plugins:[]}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkangular_infinity_charts_docs_angular21=self.webpackChunkangular_infinity_charts_docs_angular21||[]).push([[37,180,323,418,561,704,799,942],{3509(x,y,u){u.d(y,{cT:()=>g,pl:()=>p,zc:()=>o});var s=u(8264);const g=(l,t,e,a)=>{if(!t.title.text&&!t.title.subtitle)return[];const i={start:"start",center:"middle",end:"end"},n={start:e.header.x+12,center:e.header.x+e.header.width/2,end:e.header.x+e.header.width-12}[t.title.align];return[(0,s.qu)(`${l}-title-group`,[t.title.text?(0,s.qn)(`${l}-title`,t.title.text,{class:"ic-title",x:n,y:e.header.y+24,fill:a.title,"font-family":a.fontFamily,"font-size":a.fontSize+3,"font-weight":700,"text-anchor":i[t.title.align]}):(0,s.qu)(`${l}-title-empty`),t.title.subtitle?(0,s.qn)(`${l}-subtitle`,t.title.subtitle,{class:"ic-subtitle",x:n,y:e.header.y+44,fill:a.mutedText,"font-family":a.fontFamily,"font-size":a.fontSize,"text-anchor":i[t.title.align]}):(0,s.qu)(`${l}-subtitle-empty`)])]},o=(l,t,e,a,r)=>{const i=e.legend;if(!t.legend.show||0===r.length||!i)return[];const n="left"===t.legend.position||"right"===t.legend.position,c=n?i.width-20:112,_=((l,t,e)=>"center"===l?t.x+(t.width-e)/2:"end"===l?t.x+t.width-e:t.x+12)(t.legend.align,i,n?c:c*r.length),d=r.flatMap((h,$)=>{const w=n?i.x+10:_+$*c,f=n?i.y+18+24*$:i.y+18;return[(0,s.FU)(`${l}-legend-dot-${h.id}`,{class:"ic-legend-dot",cx:w+6,cy:f-4,r:5,fill:h.color}),(0,s.qn)(`${l}-legend-label-${h.id}`,h.label,{class:"ic-legend-label",x:w+18,y:f,fill:a.legendText,"font-family":a.fontFamily,"font-size":a.fontSize})]});return[(0,s.qu)(`${l}-legend`,d)]},p=({idPrefix:l,thresholds:t,frame:e,theme:a,yScale:r})=>{const i=t.filter(n=>"y"===(n.axis??"y")).flatMap((n,c)=>{const _=n.color??a.threshold,d=r.scale(n.value);return[(0,s.Vj)(`${l}-threshold-${n.id??c}`,{class:"ic-threshold-line",x1:e.plot.x,y1:d,x2:e.plot.x+e.plot.width,y2:d,stroke:_,"stroke-width":1.5,"stroke-dasharray":n.dasharray??"7 7",opacity:.92}),n.label?(0,s.qn)(`${l}-threshold-label-${n.id??c}`,n.label,{class:"ic-threshold-label",x:e.plot.x+e.plot.width-4,y:d-6,fill:_,"font-family":a.fontFamily,"font-size":a.fontSize-1,"text-anchor":"end","font-weight":600}):(0,s.qu)(`${l}-threshold-label-empty-${c}`)]});return i.length?[(0,s.qu)(`${l}-thresholds`,i)]:[]}},2239(x,y,u){u.d(y,{J:()=>b,_:()=>g});const s=o=>[o.seriesName,o.label,void 0!==o.value?String(o.value):void 0,o.detail].filter(Boolean).join(", "),b=o=>({"data-ic-interactive":"true","data-ic-payload":JSON.stringify(o),"aria-label":s(o)}),g={cursor:"pointer"}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkangular_infinity_charts_docs_angular21=self.webpackChunkangular_infinity_charts_docs_angular21||[]).push([[37,84,180,323,418,561,639,704,799,942],{3509(p,D,q){q.d(D,{cT:()=>R,pl:()=>T,zc:()=>n});var m=q(8264);const R=(u,h,b,c)=>{if(!h.title.text&&!h.title.subtitle)return[];const g={start:"start",center:"middle",end:"end"},x={start:b.header.x+12,center:b.header.x+b.header.width/2,end:b.header.x+b.header.width-12}[h.title.align];return[(0,m.qu)(`${u}-title-group`,[h.title.text?(0,m.qn)(`${u}-title`,h.title.text,{class:"ic-title",x,y:b.header.y+24,fill:c.title,"font-family":c.fontFamily,"font-size":c.fontSize+3,"font-weight":700,"text-anchor":g[h.title.align]}):(0,m.qu)(`${u}-title-empty`),h.title.subtitle?(0,m.qn)(`${u}-subtitle`,h.title.subtitle,{class:"ic-subtitle",x,y:b.header.y+44,fill:c.mutedText,"font-family":c.fontFamily,"font-size":c.fontSize,"text-anchor":g[h.title.align]}):(0,m.qu)(`${u}-subtitle-empty`)])]},n=(u,h,b,c,S)=>{const g=b.legend;if(!h.legend.show||0===S.length||!g)return[];const x="left"===h.legend.position||"right"===h.legend.position,F=x?g.width-20:112,N=((u,h,b)=>"center"===u?h.x+(h.width-b)/2:"end"===u?h.x+h.width-b:h.x+12)(h.legend.align,g,x?F:F*S.length),H=S.flatMap((P,J)=>{const G=x?g.x+10:N+J*F,Q=x?g.y+18+24*J:g.y+18;return[(0,m.FU)(`${u}-legend-dot-${P.id}`,{class:"ic-legend-dot",cx:G+6,cy:Q-4,r:5,fill:P.color}),(0,m.qn)(`${u}-legend-label-${P.id}`,P.label,{class:"ic-legend-label",x:G+18,y:Q,fill:c.legendText,"font-family":c.fontFamily,"font-size":c.fontSize})]});return[(0,m.qu)(`${u}-legend`,H)]},T=({idPrefix:u,thresholds:h,frame:b,theme:c,yScale:S})=>{const g=h.filter(x=>"y"===(x.axis??"y")).flatMap((x,F)=>{const N=x.color??c.threshold,H=S.scale(x.value);return[(0,m.Vj)(`${u}-threshold-${x.id??F}`,{class:"ic-threshold-line",x1:b.plot.x,y1:H,x2:b.plot.x+b.plot.width,y2:H,stroke:N,"stroke-width":1.5,"stroke-dasharray":x.dasharray??"7 7",opacity:.92}),x.label?(0,m.qn)(`${u}-threshold-label-${x.id??F}`,x.label,{class:"ic-threshold-label",x:b.plot.x+b.plot.width-4,y:H-6,fill:N,"font-family":c.fontFamily,"font-size":c.fontSize-1,"text-anchor":"end","font-weight":600}):(0,m.qu)(`${u}-threshold-label-empty-${F}`)]});return g.length?[(0,m.qu)(`${u}-thresholds`,g)]:[]}},2239(p,D,q){q.d(D,{J:()=>O,_:()=>R});const m=n=>[n.seriesName,n.label,void 0!==n.value?String(n.value):void 0,n.detail].filter(Boolean).join(", "),O=n=>({"data-ic-interactive":"true","data-ic-payload":JSON.stringify(n),"aria-label":m(n)}),R={cursor:"pointer"}},4794(p,D,q){q.d(D,{q:()=>O});var m=q(1911);const O=(R,n,T,u,h,b)=>{const c=(0,m.IZ)(R,n,u,h),S=(0,m.IZ)(R,n,u,b),g=b-h>Math.PI?1:0;if(T<=0)return[`M ${R} ${n}`,`L ${c.x} ${c.y}`,`A ${u} ${u} 0 ${g} 1 ${S.x} ${S.y}`,"Z"].join(" ");const x=(0,m.IZ)(R,n,T,b),F=(0,m.IZ)(R,n,T,h);return[`M ${c.x} ${c.y}`,`A ${u} ${u} 0 ${g} 1 ${S.x} ${S.y}`,`L ${x.x} ${x.y}`,`A ${T} ${T} 0 ${g} 0 ${F.x} ${F.y}`,"Z"].join(" ")}},9639(p,D,q){q.r(D),q.d(D,{batteryChart:()=>ot,gaugeChart:()=>G,radialProgressChart:()=>et,semicircleGaugeChart:()=>Q,thermometerChart:()=>lt,thermometerHorizontalChart:()=>nt});var m=q(3509),O=q(2239),R=q(4794),n=q(8264),T=q(1911);const u=(e,t)=>t<e-8?"end":t>e+8?"start":"middle",h=e=>e.segments.find(t=>e.value>=t.from&&e.value<=t.to)??e.segments[e.segments.length-1],c=(e,t,l,o)=>(0,n.qn)(e,t,{x:o.x,y:o.y,fill:o.fill,stroke:l.theme.plotBackground,"stroke-width":6,"paint-order":"stroke","font-family":l.theme.fontFamily,"font-size":o.fontSize,"font-weight":o.fontWeight??600,"text-anchor":o.anchor??"middle","dominant-baseline":"middle"}),S=(e,t,l,o,y)=>[(0,n.XM)(`${e}-surface`,{x:0,y:0,width:o,height:y,rx:t.layout.cornerRadius,fill:t.layout.background??t.theme.surface,stroke:t.theme.border,"stroke-width":1}),...(0,m.cT)(e,t,l,t.theme),(0,n.XM)(`${e}-plot-bg`,{x:l.plot.x,y:l.plot.y,width:l.plot.width,height:l.plot.height,rx:16,fill:t.theme.plotBackground,stroke:t.theme.plotBorder,"stroke-width":1})],g=(e,t,l,o,y,M,s,i)=>{const r=i-s,w=t.max-t.min||1;return t.segments.map($=>(0,n.ar)(`${e}-segment-${$.id}`,{d:(0,R.q)(l,o,y,M,s+($.from-t.min)/w*r,s+($.to-t.min)/w*r),fill:$.color,opacity:.26}))},x=(e,t,l,o,y,M,s,i,r)=>{const w=i-s,$=t.max-t.min||1;return t.segments.flatMap(d=>{const I=Math.min(t.value,d.to);return I<=d.from?[]:[(0,n.ar)(`${e}-progress-${d.id}`,{d:(0,R.q)(l,o,y,M,s+(d.from-t.min)/$*w,s+(I-t.min)/$*w),fill:d.color,opacity:.98,...r},O._)]})},N=(e,t)=>({id:e,family:"radial",render:({config:l,payload:o,frame:y,size:M})=>"gauge"!==o.kind?[]:((e,t,l,o,y,M,s)=>{const i=o.plot.x+o.plot.width/2,r=o.plot.y+o.plot.height*s.centerYRatio,w=s.startAngle??l.startAngle,$=s.endAngle??l.endAngle,I=w+($-w)*l.ratio,f=Math.min(o.plot.width*s.outerRadiusX,o.plot.height*s.outerRadiusY),A=f*s.innerRatio,j=f*s.progressInnerRatio,B=f*s.progressOuterRatio,C=(0,T.IZ)(i,r,f+18,w),E=(0,T.IZ)(i,r,f+18,$),Y=(0,T.IZ)(i,r,s.needleStartRadius??12,I),W=(0,T.IZ)(i,r,f+(s.needleEndOffset??4),I),X=h(l),a=t.showNumber?0:-16,_=r+(s.valueYOffset??(s.compactLabels?-14:-20)),z=r+(s.labelYOffset??(s.compactLabels?18:16))+a,k=r+(s.statusYOffset??(s.compactLabels?38:34))+a,V=(0,O.J)({targetId:`${e}-value`,chartType:e,kind:"gauge",label:l.label,value:l.formattedValue,detail:X?.label,color:l.color});return[...S(e,t,o,y,M),(0,n.qu)(`${e}-plot`,[(0,n.ar)(`${e}-track`,{d:(0,R.q)(i,r,A,f,w,$),fill:l.trackColor??t.theme.surfaceAlt,stroke:t.theme.plotBorder,"stroke-width":1,opacity:.9}),...g(e,l,i,r,A,f,w,$),l.ratio>0?(0,n.qu)(`${e}-progress`,x(e,l,i,r,j,B,w,$,V)):(0,n.qu)(`${e}-progress-empty`),t.showNumber&&!1!==s.showMinMax?(0,n.qu)(`${e}-minmax`,[c(`${e}-min`,String(l.min),t,{x:C.x,y:C.y+4,fill:t.theme.mutedText,fontSize:t.theme.fontSize-1,fontWeight:600,anchor:u(i,C.x)}),c(`${e}-max`,String(l.max),t,{x:E.x,y:E.y+4,fill:t.theme.mutedText,fontSize:t.theme.fontSize-1,fontWeight:600,anchor:u(i,E.x)})]):(0,n.qu)(`${e}-minmax-empty`),!1!==s.needle?(0,n.Vj)(`${e}-needle`,{x1:Y.x,y1:Y.y,x2:W.x,y2:W.y,stroke:t.theme.gaugeNeedle,"stroke-width":s.compactLabels?4:4.5,"stroke-linecap":"round"}):(0,n.qu)(`${e}-needle-empty`),!1===s.showHub?(0,n.qu)(`${e}-hub-empty`):(0,n.qu)(`${e}-hub`,[(0,n.FU)(`${e}-hub-ring`,{cx:i,cy:r,r:s.hubOuterRadius??8,fill:t.theme.surface,stroke:t.theme.gaugeNeedle,"stroke-width":3}),(0,n.FU)(`${e}-hub-core`,{cx:i,cy:r,r:s.hubInnerRadius??3,fill:l.color})]),t.showNumber?c(`${e}-value`,l.formattedValue,t,{x:i,y:_,fill:t.theme.title,fontSize:t.theme.fontSize+(s.valueSizeBoost??(s.compactLabels?10:16)),fontWeight:700}):(0,n.qu)(`${e}-value-empty`),c(`${e}-label`,l.label,t,{x:i,y:z,fill:t.theme.text,fontSize:t.theme.fontSize+(s.labelSizeBoost??1),fontWeight:600}),X?c(`${e}-status`,X.label,t,{x:i,y:k,fill:X.color,fontSize:t.theme.fontSize+(s.statusSizeBoost??0),fontWeight:600}):(0,n.qu)(`${e}-status-empty`)]),...(0,m.zc)(e,t,o,t.theme,l.segments.map(L=>({id:L.id,label:L.label,color:L.color})))]})(e,l,o,y,M.width,M.height,t)}),P=(e,t)=>({id:e,family:"widget",render:({config:l,payload:o,frame:y,size:M})=>"gauge"!==o.kind?[]:((e,t,l,o,y,M,s)=>{const i=h(l);if(s){const a=.74*o.plot.width,_=Math.min(28,.18*o.plot.height),z=o.plot.x+.11*o.plot.width,k=o.plot.y+.5*o.plot.height-_/2,V=a*l.ratio,L=z+V;return[...S(e,t,o,y,M),(0,n.qu)(`${e}-plot`,[(0,n.XM)(`${e}-track`,{x:z,y:k,width:a,height:_,rx:_/2,fill:l.trackColor??t.theme.surfaceAlt,stroke:t.theme.plotBorder,"stroke-width":1}),...l.segments.map((v,U)=>{const Z=(v.from-l.min)/(l.max-l.min||1);return(0,n.XM)(`${e}-band-${v.id}`,{x:z+a*Z,y:k,width:a*Math.max(0,(v.to-l.min)/(l.max-l.min||1)-Z),height:_,rx:0===U||U===l.segments.length-1?_/2:0,fill:v.color,opacity:.2})}),...l.segments.flatMap(v=>{const K=z+a*((v.from-l.min)/(l.max-l.min||1)),tt=Math.max(0,Math.min(L,z+a*((v.to-l.min)/(l.max-l.min||1)))-K);if(tt<=0)return[];const rt=K<=z+.5||Math.abs(K+tt-L)<.5;return[(0,n.XM)(`${e}-fill-${v.id}`,{x:K,y:k,width:tt,height:_,rx:rt?_/2:0,fill:v.color,opacity:.96})]}),(0,n.XM)(`${e}-fill-hitbox`,{x:z,y:k,width:Math.max(V,12),height:_,rx:_/2,fill:"#ffffff",opacity:.001,...(0,O.J)({targetId:`${e}-fill-hitbox`,chartType:e,kind:"gauge",label:l.label,value:l.formattedValue,detail:i?.label,color:l.color})},O._),t.showNumber?(0,n.qn)(`${e}-value`,l.formattedValue,{x:o.plot.x+o.plot.width/2,y:k-18,fill:t.theme.title,"font-family":t.theme.fontFamily,"font-size":t.theme.fontSize+14,"font-weight":700,"text-anchor":"middle"}):(0,n.qu)(`${e}-value-empty`),(0,n.qn)(`${e}-label`,l.label,{x:o.plot.x+o.plot.width/2,y:k+_+24,fill:t.theme.text,"font-family":t.theme.fontFamily,"font-size":t.theme.fontSize+1,"text-anchor":"middle"}),i?(0,n.qn)(`${e}-status`,i.label,{x:o.plot.x+o.plot.width/2,y:k+_+44,fill:i.color,"font-family":t.theme.fontFamily,"font-size":t.theme.fontSize,"text-anchor":"middle"}):(0,n.qu)(`${e}-status-empty`),t.showNumber?(0,n.qu)(`${e}-minmax`,[(0,n.qn)(`${e}-min`,String(l.min),{x:z,y:k+_+24,fill:t.theme.mutedText,"font-family":t.theme.fontFamily,"font-size":t.theme.fontSize-1}),(0,n.qn)(`${e}-max`,String(l.max),{x:z+a,y:k+_+24,fill:t.theme.mutedText,"font-family":t.theme.fontFamily,"font-size":t.theme.fontSize-1,"text-anchor":"end"})]):(0,n.qu)(`${e}-minmax-empty`)]),...(0,m.zc)(e,t,o,t.theme,l.segments.map(v=>({id:v.id,label:v.label,color:v.color})))]}const r=Math.min(34,.12*o.plot.width),w=.72*o.plot.height,$=o.plot.x+.22*o.plot.width,d=o.plot.y+.08*o.plot.height,I=.82*r,f=$+r/2,A=d+w+.72*I,j=$+4,B=d+4,C=r-8,E=w-8,Y=E*l.ratio,W=B+E-Y,X=B+E;return[...S(e,t,o,y,M),(0,n.qu)(`${e}-plot`,[(0,n.XM)(`${e}-track`,{x:$,y:d,width:r,height:w,rx:r/2,fill:l.trackColor??t.theme.surfaceAlt,stroke:t.theme.plotBorder,"stroke-width":1}),...l.segments.map((a,_)=>{const k=(a.to-l.min)/(l.max-l.min||1);return(0,n.XM)(`${e}-band-${a.id}`,{x:$,y:d+w-w*k,width:r,height:w*Math.max(0,k-(a.from-l.min)/(l.max-l.min||1)),rx:0===_||_===l.segments.length-1?r/2:0,fill:a.color,opacity:.2})}),...l.segments.flatMap(a=>{const V=B+E-E*((a.from-l.min)/(l.max-l.min||1)),L=Math.max(W,B+E-E*((a.to-l.min)/(l.max-l.min||1))),v=Math.min(X,V),U=Math.max(0,v-L);if(U<=0)return[];const Z=L<=W+.5||Math.abs(v-X)<.5;return[(0,n.XM)(`${e}-fill-${a.id}`,{x:j,y:L,width:C,height:U,rx:Z?C/2:0,fill:a.color,opacity:.96})]}),(0,n.XM)(`${e}-fill-hitbox`,{x:j,y:W,width:C,height:Math.max(Y,12),rx:C/2,fill:"#ffffff",opacity:.001,...(0,O.J)({targetId:`${e}-fill-hitbox`,chartType:e,kind:"gauge",label:l.label,value:l.formattedValue,detail:i?.label,color:l.color})},O._),(0,n.FU)(`${e}-bulb-track`,{cx:f,cy:A,r:I,fill:l.trackColor??t.theme.surfaceAlt,stroke:t.theme.plotBorder,"stroke-width":1}),(0,n.FU)(`${e}-bulb-fill`,{cx:f,cy:A,r:I-5,fill:l.color}),t.showNumber?(0,n.qn)(`${e}-value`,l.formattedValue,{x:o.plot.x+.68*o.plot.width,y:o.plot.y+.42*o.plot.height,fill:t.theme.title,"font-family":t.theme.fontFamily,"font-size":t.theme.fontSize+18,"font-weight":700,"text-anchor":"middle"}):(0,n.qu)(`${e}-value-empty`),(0,n.qn)(`${e}-label`,l.label,{x:o.plot.x+.68*o.plot.width,y:o.plot.y+.42*o.plot.height+28,fill:t.theme.text,"font-family":t.theme.fontFamily,"font-size":t.theme.fontSize+1,"text-anchor":"middle"}),i?(0,n.qn)(`${e}-status`,i.label,{x:o.plot.x+.68*o.plot.width,y:o.plot.y+.42*o.plot.height+52,fill:i.color,"font-family":t.theme.fontFamily,"font-size":t.theme.fontSize,"text-anchor":"middle"}):(0,n.qu)(`${e}-status-empty`),t.showNumber?(0,n.qu)(`${e}-minmax`,[(0,n.qn)(`${e}-min`,String(l.min),{x:$+r+12,y:d+w+2,fill:t.theme.mutedText,"font-family":t.theme.fontFamily,"font-size":t.theme.fontSize-1}),(0,n.qn)(`${e}-max`,String(l.max),{x:$+r+12,y:d+10,fill:t.theme.mutedText,"font-family":t.theme.fontFamily,"font-size":t.theme.fontSize-1})]):(0,n.qu)(`${e}-minmax-empty`)]),...(0,m.zc)(e,t,o,t.theme,l.segments.map(a=>({id:a.id,label:a.label,color:a.color})))]})(e,l,o,y,M.width,M.height,t)}),G=N("gauge",{centerYRatio:.74,outerRadiusX:.34,outerRadiusY:.62,innerRatio:.72,progressInnerRatio:.8,progressOuterRatio:.95,needle:!0,showMinMax:!0,showHub:!0,valueYOffset:-20,labelYOffset:18,statusYOffset:34,needleStartRadius:10,needleEndOffset:4,hubOuterRadius:7,hubInnerRadius:3}),Q=N("gauge-semicircle",{centerYRatio:.78,outerRadiusX:.46,outerRadiusY:.72,innerRatio:.74,progressInnerRatio:.82,progressOuterRatio:.96,needle:!0,showMinMax:!0,showHub:!0,startAngle:3*Math.PI/2,endAngle:5*Math.PI/2,compactLabels:!0,valueYOffset:-8,labelYOffset:20,statusYOffset:36,valueSizeBoost:10,needleStartRadius:8,needleEndOffset:3,hubOuterRadius:6,hubInnerRadius:2.5}),et=N("radial-progress",{centerYRatio:.5,outerRadiusX:.3,outerRadiusY:.33,innerRatio:.7,progressInnerRatio:.72,progressOuterRatio:.98,needle:!1,showMinMax:!1,showHub:!1,startAngle:.001,endAngle:2*Math.PI-.001,valueYOffset:-2,labelYOffset:18,statusYOffset:36,valueSizeBoost:10,labelSizeBoost:0,statusSizeBoost:0}),lt=P("thermometer",!1),nt=P("thermometer-horizontal",!0),ot={id:"battery",family:"widget",render:({config:e,payload:t,frame:l,size:o})=>{if("gauge"!==t.kind)return[];const y=h(t),M=.58*l.plot.width,s=Math.min(92,.34*l.plot.height),i=l.plot.x+.12*l.plot.width,r=l.plot.y+.36*l.plot.height,$=.36*s,I=(M-20)*t.ratio,j=(M-20-18)/4;return[...S("battery",e,l,o.width,o.height),(0,n.qu)("battery-plot",[(0,n.XM)("battery-body",{x:i,y:r,width:M,height:s,rx:18,fill:e.theme.surface,stroke:e.theme.border,"stroke-width":2}),(0,n.XM)("battery-terminal",{x:i+M+6,y:r+(s-$)/2,width:16,height:$,rx:6,fill:e.theme.surfaceAlt,stroke:e.theme.border,"stroke-width":1}),...Array.from({length:4},(B,C)=>{const E=i+10+C*(j+6),Y=C/4,W=(C+1)/4,X=Math.max(0,Math.min(t.ratio,W)-Y)/(W-Y),a=X>0,z=((e,t)=>e.segments.find(l=>t>=l.from&&t<=l.to)?.color??e.segments[e.segments.length-1]?.color??e.color)(t,t.min+(Y+(W-Y)/2)*(t.max-t.min));return(0,n.XM)(`battery-segment-${C}`,{x:E,y:r+10,width:j,height:s-20,rx:8,fill:a?z:e.theme.surfaceAlt,opacity:a?.3+.7*X:.72})}),(0,n.XM)("battery-fill-overlay",{x:i+10,y:r+10,width:I,height:s-20,rx:10,fill:t.color,opacity:.18,...(0,O.J)({targetId:"battery-fill-overlay",chartType:"battery",kind:"gauge",label:t.label,value:t.formattedValue,detail:y?.label,color:t.color})},O._),e.showNumber?(0,n.qn)("battery-value",t.formattedValue,{x:l.plot.x+.76*l.plot.width,y:r+26,fill:e.theme.title,"font-family":e.theme.fontFamily,"font-size":e.theme.fontSize+16,"font-weight":700,"text-anchor":"middle"}):(0,n.qu)("battery-value-empty"),(0,n.qn)("battery-label",t.label,{x:l.plot.x+.76*l.plot.width,y:r+54,fill:e.theme.text,"font-family":e.theme.fontFamily,"font-size":e.theme.fontSize+1,"text-anchor":"middle"}),y?(0,n.qn)("battery-status",y.label,{x:l.plot.x+.76*l.plot.width,y:r+78,fill:y.color,"font-family":e.theme.fontFamily,"font-size":e.theme.fontSize,"text-anchor":"middle"}):(0,n.qu)("battery-status-empty")]),...(0,m.zc)("battery",e,l,e.theme,t.segments.map(B=>({id:B.id,label:B.label,color:B.color})))]}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkangular_infinity_charts_docs_angular21=self.webpackChunkangular_infinity_charts_docs_angular21||[]).push([[37,180,323,418,561,704,799,942],{3509(x,y,u){u.d(y,{cT:()=>g,pl:()=>p,zc:()=>o});var s=u(8264);const g=(l,t,e,a)=>{if(!t.title.text&&!t.title.subtitle)return[];const i={start:"start",center:"middle",end:"end"},n={start:e.header.x+12,center:e.header.x+e.header.width/2,end:e.header.x+e.header.width-12}[t.title.align];return[(0,s.qu)(`${l}-title-group`,[t.title.text?(0,s.qn)(`${l}-title`,t.title.text,{class:"ic-title",x:n,y:e.header.y+24,fill:a.title,"font-family":a.fontFamily,"font-size":a.fontSize+3,"font-weight":700,"text-anchor":i[t.title.align]}):(0,s.qu)(`${l}-title-empty`),t.title.subtitle?(0,s.qn)(`${l}-subtitle`,t.title.subtitle,{class:"ic-subtitle",x:n,y:e.header.y+44,fill:a.mutedText,"font-family":a.fontFamily,"font-size":a.fontSize,"text-anchor":i[t.title.align]}):(0,s.qu)(`${l}-subtitle-empty`)])]},o=(l,t,e,a,r)=>{const i=e.legend;if(!t.legend.show||0===r.length||!i)return[];const n="left"===t.legend.position||"right"===t.legend.position,c=n?i.width-20:112,_=((l,t,e)=>"center"===l?t.x+(t.width-e)/2:"end"===l?t.x+t.width-e:t.x+12)(t.legend.align,i,n?c:c*r.length),d=r.flatMap((h,$)=>{const w=n?i.x+10:_+$*c,f=n?i.y+18+24*$:i.y+18;return[(0,s.FU)(`${l}-legend-dot-${h.id}`,{class:"ic-legend-dot",cx:w+6,cy:f-4,r:5,fill:h.color}),(0,s.qn)(`${l}-legend-label-${h.id}`,h.label,{class:"ic-legend-label",x:w+18,y:f,fill:a.legendText,"font-family":a.fontFamily,"font-size":a.fontSize})]});return[(0,s.qu)(`${l}-legend`,d)]},p=({idPrefix:l,thresholds:t,frame:e,theme:a,yScale:r})=>{const i=t.filter(n=>"y"===(n.axis??"y")).flatMap((n,c)=>{const _=n.color??a.threshold,d=r.scale(n.value);return[(0,s.Vj)(`${l}-threshold-${n.id??c}`,{class:"ic-threshold-line",x1:e.plot.x,y1:d,x2:e.plot.x+e.plot.width,y2:d,stroke:_,"stroke-width":1.5,"stroke-dasharray":n.dasharray??"7 7",opacity:.92}),n.label?(0,s.qn)(`${l}-threshold-label-${n.id??c}`,n.label,{class:"ic-threshold-label",x:e.plot.x+e.plot.width-4,y:d-6,fill:_,"font-family":a.fontFamily,"font-size":a.fontSize-1,"text-anchor":"end","font-weight":600}):(0,s.qu)(`${l}-threshold-label-empty-${c}`)]});return i.length?[(0,s.qu)(`${l}-thresholds`,i)]:[]}},2239(x,y,u){u.d(y,{J:()=>b,_:()=>g});const s=o=>[o.seriesName,o.label,void 0!==o.value?String(o.value):void 0,o.detail].filter(Boolean).join(", "),b=o=>({"data-ic-interactive":"true","data-ic-payload":JSON.stringify(o),"aria-label":s(o)}),g={cursor:"pointer"}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkangular_infinity_charts_docs_angular21=self.webpackChunkangular_infinity_charts_docs_angular21||[]).push([[37,180,323,418,561,704,799,942],{3509(x,y,u){u.d(y,{cT:()=>g,pl:()=>p,zc:()=>o});var s=u(8264);const g=(l,t,e,a)=>{if(!t.title.text&&!t.title.subtitle)return[];const i={start:"start",center:"middle",end:"end"},n={start:e.header.x+12,center:e.header.x+e.header.width/2,end:e.header.x+e.header.width-12}[t.title.align];return[(0,s.qu)(`${l}-title-group`,[t.title.text?(0,s.qn)(`${l}-title`,t.title.text,{class:"ic-title",x:n,y:e.header.y+24,fill:a.title,"font-family":a.fontFamily,"font-size":a.fontSize+3,"font-weight":700,"text-anchor":i[t.title.align]}):(0,s.qu)(`${l}-title-empty`),t.title.subtitle?(0,s.qn)(`${l}-subtitle`,t.title.subtitle,{class:"ic-subtitle",x:n,y:e.header.y+44,fill:a.mutedText,"font-family":a.fontFamily,"font-size":a.fontSize,"text-anchor":i[t.title.align]}):(0,s.qu)(`${l}-subtitle-empty`)])]},o=(l,t,e,a,r)=>{const i=e.legend;if(!t.legend.show||0===r.length||!i)return[];const n="left"===t.legend.position||"right"===t.legend.position,c=n?i.width-20:112,_=((l,t,e)=>"center"===l?t.x+(t.width-e)/2:"end"===l?t.x+t.width-e:t.x+12)(t.legend.align,i,n?c:c*r.length),d=r.flatMap((h,$)=>{const w=n?i.x+10:_+$*c,f=n?i.y+18+24*$:i.y+18;return[(0,s.FU)(`${l}-legend-dot-${h.id}`,{class:"ic-legend-dot",cx:w+6,cy:f-4,r:5,fill:h.color}),(0,s.qn)(`${l}-legend-label-${h.id}`,h.label,{class:"ic-legend-label",x:w+18,y:f,fill:a.legendText,"font-family":a.fontFamily,"font-size":a.fontSize})]});return[(0,s.qu)(`${l}-legend`,d)]},p=({idPrefix:l,thresholds:t,frame:e,theme:a,yScale:r})=>{const i=t.filter(n=>"y"===(n.axis??"y")).flatMap((n,c)=>{const _=n.color??a.threshold,d=r.scale(n.value);return[(0,s.Vj)(`${l}-threshold-${n.id??c}`,{class:"ic-threshold-line",x1:e.plot.x,y1:d,x2:e.plot.x+e.plot.width,y2:d,stroke:_,"stroke-width":1.5,"stroke-dasharray":n.dasharray??"7 7",opacity:.92}),n.label?(0,s.qn)(`${l}-threshold-label-${n.id??c}`,n.label,{class:"ic-threshold-label",x:e.plot.x+e.plot.width-4,y:d-6,fill:_,"font-family":a.fontFamily,"font-size":a.fontSize-1,"text-anchor":"end","font-weight":600}):(0,s.qu)(`${l}-threshold-label-empty-${c}`)]});return i.length?[(0,s.qu)(`${l}-thresholds`,i)]:[]}},2239(x,y,u){u.d(y,{J:()=>b,_:()=>g});const s=o=>[o.seriesName,o.label,void 0!==o.value?String(o.value):void 0,o.detail].filter(Boolean).join(", "),b=o=>({"data-ic-interactive":"true","data-ic-payload":JSON.stringify(o),"aria-label":s(o)}),g={cursor:"pointer"}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkangular_infinity_charts_docs_angular21=self.webpackChunkangular_infinity_charts_docs_angular21||[]).push([[37,84,180,323,418,561,704,799,942],{3509(x,u,$){$.d(u,{cT:()=>d,pl:()=>_,zc:()=>a});var s=$(8264);const d=(l,t,e,o)=>{if(!t.title.text&&!t.title.subtitle)return[];const i={start:"start",center:"middle",end:"end"},n={start:e.header.x+12,center:e.header.x+e.header.width/2,end:e.header.x+e.header.width-12}[t.title.align];return[(0,s.qu)(`${l}-title-group`,[t.title.text?(0,s.qn)(`${l}-title`,t.title.text,{class:"ic-title",x:n,y:e.header.y+24,fill:o.title,"font-family":o.fontFamily,"font-size":o.fontSize+3,"font-weight":700,"text-anchor":i[t.title.align]}):(0,s.qu)(`${l}-title-empty`),t.title.subtitle?(0,s.qn)(`${l}-subtitle`,t.title.subtitle,{class:"ic-subtitle",x:n,y:e.header.y+44,fill:o.mutedText,"font-family":o.fontFamily,"font-size":o.fontSize,"text-anchor":i[t.title.align]}):(0,s.qu)(`${l}-subtitle-empty`)])]},a=(l,t,e,o,c)=>{const i=e.legend;if(!t.legend.show||0===c.length||!i)return[];const n="left"===t.legend.position||"right"===t.legend.position,r=n?i.width-20:112,b=((l,t,e)=>"center"===l?t.x+(t.width-e)/2:"end"===l?t.x+t.width-e:t.x+12)(t.legend.align,i,n?r:r*c.length),h=c.flatMap((p,g)=>{const w=n?i.x+10:b+g*r,f=n?i.y+18+24*g:i.y+18;return[(0,s.FU)(`${l}-legend-dot-${p.id}`,{class:"ic-legend-dot",cx:w+6,cy:f-4,r:5,fill:p.color}),(0,s.qn)(`${l}-legend-label-${p.id}`,p.label,{class:"ic-legend-label",x:w+18,y:f,fill:o.legendText,"font-family":o.fontFamily,"font-size":o.fontSize})]});return[(0,s.qu)(`${l}-legend`,h)]},_=({idPrefix:l,thresholds:t,frame:e,theme:o,yScale:c})=>{const i=t.filter(n=>"y"===(n.axis??"y")).flatMap((n,r)=>{const b=n.color??o.threshold,h=c.scale(n.value);return[(0,s.Vj)(`${l}-threshold-${n.id??r}`,{class:"ic-threshold-line",x1:e.plot.x,y1:h,x2:e.plot.x+e.plot.width,y2:h,stroke:b,"stroke-width":1.5,"stroke-dasharray":n.dasharray??"7 7",opacity:.92}),n.label?(0,s.qn)(`${l}-threshold-label-${n.id??r}`,n.label,{class:"ic-threshold-label",x:e.plot.x+e.plot.width-4,y:h-6,fill:b,"font-family":o.fontFamily,"font-size":o.fontSize-1,"text-anchor":"end","font-weight":600}):(0,s.qu)(`${l}-threshold-label-empty-${r}`)]});return i.length?[(0,s.qu)(`${l}-thresholds`,i)]:[]}},2239(x,u,$){$.d(u,{J:()=>y,_:()=>d});const s=a=>[a.seriesName,a.label,void 0!==a.value?String(a.value):void 0,a.detail].filter(Boolean).join(", "),y=a=>({"data-ic-interactive":"true","data-ic-payload":JSON.stringify(a),"aria-label":s(a)}),d={cursor:"pointer"}},4794(x,u,$){$.d(u,{q:()=>y});var s=$(1911);const y=(d,a,_,l,t,e)=>{const o=(0,s.IZ)(d,a,l,t),c=(0,s.IZ)(d,a,l,e),i=e-t>Math.PI?1:0;if(_<=0)return[`M ${d} ${a}`,`L ${o.x} ${o.y}`,`A ${l} ${l} 0 ${i} 1 ${c.x} ${c.y}`,"Z"].join(" ");const n=(0,s.IZ)(d,a,_,e),r=(0,s.IZ)(d,a,_,t);return[`M ${o.x} ${o.y}`,`A ${l} ${l} 0 ${i} 1 ${c.x} ${c.y}`,`L ${n.x} ${n.y}`,`A ${_} ${_} 0 ${i} 0 ${r.x} ${r.y}`,"Z"].join(" ")}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkangular_infinity_charts_docs_angular21=self.webpackChunkangular_infinity_charts_docs_angular21||[]).push([[37,180,323,418,561,704,799,942],{3509(x,y,u){u.d(y,{cT:()=>g,pl:()=>p,zc:()=>o});var s=u(8264);const g=(l,t,e,a)=>{if(!t.title.text&&!t.title.subtitle)return[];const i={start:"start",center:"middle",end:"end"},n={start:e.header.x+12,center:e.header.x+e.header.width/2,end:e.header.x+e.header.width-12}[t.title.align];return[(0,s.qu)(`${l}-title-group`,[t.title.text?(0,s.qn)(`${l}-title`,t.title.text,{class:"ic-title",x:n,y:e.header.y+24,fill:a.title,"font-family":a.fontFamily,"font-size":a.fontSize+3,"font-weight":700,"text-anchor":i[t.title.align]}):(0,s.qu)(`${l}-title-empty`),t.title.subtitle?(0,s.qn)(`${l}-subtitle`,t.title.subtitle,{class:"ic-subtitle",x:n,y:e.header.y+44,fill:a.mutedText,"font-family":a.fontFamily,"font-size":a.fontSize,"text-anchor":i[t.title.align]}):(0,s.qu)(`${l}-subtitle-empty`)])]},o=(l,t,e,a,r)=>{const i=e.legend;if(!t.legend.show||0===r.length||!i)return[];const n="left"===t.legend.position||"right"===t.legend.position,c=n?i.width-20:112,_=((l,t,e)=>"center"===l?t.x+(t.width-e)/2:"end"===l?t.x+t.width-e:t.x+12)(t.legend.align,i,n?c:c*r.length),d=r.flatMap((h,$)=>{const w=n?i.x+10:_+$*c,f=n?i.y+18+24*$:i.y+18;return[(0,s.FU)(`${l}-legend-dot-${h.id}`,{class:"ic-legend-dot",cx:w+6,cy:f-4,r:5,fill:h.color}),(0,s.qn)(`${l}-legend-label-${h.id}`,h.label,{class:"ic-legend-label",x:w+18,y:f,fill:a.legendText,"font-family":a.fontFamily,"font-size":a.fontSize})]});return[(0,s.qu)(`${l}-legend`,d)]},p=({idPrefix:l,thresholds:t,frame:e,theme:a,yScale:r})=>{const i=t.filter(n=>"y"===(n.axis??"y")).flatMap((n,c)=>{const _=n.color??a.threshold,d=r.scale(n.value);return[(0,s.Vj)(`${l}-threshold-${n.id??c}`,{class:"ic-threshold-line",x1:e.plot.x,y1:d,x2:e.plot.x+e.plot.width,y2:d,stroke:_,"stroke-width":1.5,"stroke-dasharray":n.dasharray??"7 7",opacity:.92}),n.label?(0,s.qn)(`${l}-threshold-label-${n.id??c}`,n.label,{class:"ic-threshold-label",x:e.plot.x+e.plot.width-4,y:d-6,fill:_,"font-family":a.fontFamily,"font-size":a.fontSize-1,"text-anchor":"end","font-weight":600}):(0,s.qu)(`${l}-threshold-label-empty-${c}`)]});return i.length?[(0,s.qu)(`${l}-thresholds`,i)]:[]}},2239(x,y,u){u.d(y,{J:()=>b,_:()=>g});const s=o=>[o.seriesName,o.label,void 0!==o.value?String(o.value):void 0,o.detail].filter(Boolean).join(", "),b=o=>({"data-ic-interactive":"true","data-ic-payload":JSON.stringify(o),"aria-label":s(o)}),g={cursor:"pointer"}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkangular_infinity_charts_docs_angular21=self.webpackChunkangular_infinity_charts_docs_angular21||[]).push([[76],{8178(V,w,l){l.d(w,{W:()=>M,v:()=>A});var b=l(8264),C=l(1911);const O=(e,r)=>r?r(e):"number"==typeof e?(0,C.wk)(e):String(e),A=({idPrefix:e,frame:r,theme:P,labels:T,xScale:h,yScale:n,xAxis:t,yAxis:o,grid:a})=>{const m=[],x=r.plot.x,j=r.plot.x+r.plot.width,v=r.plot.y,U=r.plot.y+r.plot.height,B=P.fontSize;return a.show&&a.y&&n.ticks(o.tickCount).forEach(($,y)=>{const u=n.scale($);m.push((0,b.Vj)(`${e}-grid-y-${y}`,{x1:x,y1:u,x2:j,y2:u,stroke:a.color,"stroke-width":1,opacity:a.opacity,"stroke-dasharray":"4 6"}))}),a.show&&a.x&&T.forEach(($,y)=>{const u=h.get($);m.push((0,b.Vj)(`${e}-grid-x-${y}`,{x1:u.center,y1:v,x2:u.center,y2:U,stroke:a.color,"stroke-width":1,opacity:.8*a.opacity,"stroke-dasharray":"2 6"}))}),o.show&&(m.push((0,b.Vj)(`${e}-axis-y`,{x1:x,y1:v,x2:x,y2:U,stroke:P.axis,"stroke-width":1})),n.ticks(o.tickCount).forEach(($,y)=>{const u=n.scale($);m.push((0,b.Vj)(`${e}-axis-y-tick-${y}`,{x1:x-6,y1:u,x2:x,y2:u,stroke:P.axis,"stroke-width":1})),m.push((0,b.qn)(`${e}-axis-y-label-${y}`,O($,o.format),{x:x-12,y:u+4,fill:P.mutedText,"font-size":B-1,"font-family":P.fontFamily,"text-anchor":"end"}))}),o.title&&m.push((0,b.qn)(`${e}-axis-y-title`,o.title,{x:x-46,y:v+r.plot.height/2,fill:P.mutedText,"font-size":B-1,"font-family":P.fontFamily,"font-weight":600,transform:`rotate(-90 ${x-46} ${v+r.plot.height/2})`,"text-anchor":"middle"}))),t.show&&(m.push((0,b.Vj)(`${e}-axis-x`,{x1:x,y1:U,x2:j,y2:U,stroke:P.axis,"stroke-width":1})),T.forEach(($,y)=>{const u=h.at(y);m.push((0,b.Vj)(`${e}-axis-x-tick-${y}`,{x1:u.center,y1:U,x2:u.center,y2:U+6,stroke:P.axis,"stroke-width":1})),m.push((0,b.qn)(`${e}-axis-x-label-${y}`,O($,t.format),{x:u.center,y:U+22,fill:P.mutedText,"font-size":B-1,"font-family":P.fontFamily,"text-anchor":"middle"}))}),t.title&&m.push((0,b.qn)(`${e}-axis-x-title`,t.title,{x:x+r.plot.width/2,y:U+38,fill:P.mutedText,"font-size":B-1,"font-family":P.fontFamily,"font-weight":600,"text-anchor":"middle"}))),[(0,b.qu)(`${e}-axes`,m)]},M=({idPrefix:e,frame:r,theme:P,xScale:T,yScale:h,xAxis:n,yAxis:t,grid:o})=>{const a=[],m=r.plot.x,x=r.plot.x+r.plot.width,j=r.plot.y,v=r.plot.y+r.plot.height,U=P.fontSize;return o.show&&o.y&&h.ticks(t.tickCount).forEach((B,$)=>{const y=h.scale(B);a.push((0,b.Vj)(`${e}-grid-y-${$}`,{x1:m,y1:y,x2:x,y2:y,stroke:o.color,"stroke-width":1,opacity:o.opacity,"stroke-dasharray":"4 6"}))}),o.show&&o.x&&T.ticks(n.tickCount).forEach((B,$)=>{const y=T.scale(B);a.push((0,b.Vj)(`${e}-grid-x-${$}`,{x1:y,y1:j,x2:y,y2:v,stroke:o.color,"stroke-width":1,opacity:.8*o.opacity,"stroke-dasharray":"2 6"}))}),t.show&&(a.push((0,b.Vj)(`${e}-axis-y`,{x1:m,y1:j,x2:m,y2:v,stroke:P.axis,"stroke-width":1})),h.ticks(t.tickCount).forEach((B,$)=>{const y=h.scale(B);a.push((0,b.Vj)(`${e}-axis-y-tick-${$}`,{x1:m-6,y1:y,x2:m,y2:y,stroke:P.axis,"stroke-width":1})),a.push((0,b.qn)(`${e}-axis-y-label-${$}`,O(B,t.format),{x:m-12,y:y+4,fill:P.mutedText,"font-size":U-1,"font-family":P.fontFamily,"text-anchor":"end"}))})),n.show&&(a.push((0,b.Vj)(`${e}-axis-x`,{x1:m,y1:v,x2:x,y2:v,stroke:P.axis,"stroke-width":1})),T.ticks(n.tickCount).forEach((B,$)=>{const y=T.scale(B);a.push((0,b.Vj)(`${e}-axis-x-tick-${$}`,{x1:y,y1:v,x2:y,y2:v+6,stroke:P.axis,"stroke-width":1})),a.push((0,b.qn)(`${e}-axis-x-label-${$}`,O(B,n.format),{x:y,y:v+22,fill:P.mutedText,"font-size":U-1,"font-family":P.fontFamily,"text-anchor":"middle"}))})),[(0,b.qu)(`${e}-axes`,a)]}},1455(V,w,l){l.r(w),l.d(w,{areaChart:()=>n});var b=l(8178),C=l(966),O=l(3509),A=l(2239),M=l(3244),e=l(9784),r=l(8264),P=l(3955),T=l(8049),h=l(1911);const n={id:"area",family:"cartesian",render:({config:t,payload:o,frame:a,size:m})=>{if("cartesian"!==o.kind)return[];const v=[...o.series.flatMap(c=>c.data.map(i=>i.y)),...t.thresholds.filter(c=>"y"===(c.axis??"y")).map(c=>c.value)],U=t.yAxis.min??(v.length>0?Math.min(0,...v):0),B=t.yAxis.max??(v.length>0?Math.max(...v):1),[$,y]=(0,h.K9)(U,B,.08),u=(0,P.E)({domain:o.labels,range:[a.plot.x,a.plot.x+a.plot.width],paddingInner:.42,paddingOuter:.18}),s=(0,T.U)({domain:[$,y],range:[a.plot.y+a.plot.height,a.plot.y],nice:t.yAxis.nice,tickCount:t.yAxis.tickCount}),_=s.scale(Math.max(0,$)),p=[(0,r.XM)("area-plot-bg",{x:a.plot.x,y:a.plot.y,width:a.plot.width,height:a.plot.height,rx:14,fill:t.theme.plotBackground,stroke:t.theme.plotBorder,"stroke-width":1}),...(0,b.v)({idPrefix:"area",frame:a,theme:t.theme,labels:o.labels,xScale:u,yScale:s,xAxis:t.xAxis,yAxis:t.yAxis,grid:t.grid}),...(0,O.pl)({idPrefix:"area",thresholds:t.thresholds,frame:a,theme:t.theme,yScale:s})];return o.series.forEach((c,i)=>{const E=(0,M.H)(t,i,c.color),k=c.data.map((d,D)=>({x:u.at(D).center,y:s.scale(d.y)}));p.push((0,r.ar)(`area-fill-${c.id}`,{d:(0,C.$)(k,_),fill:E,opacity:.18})),p.push((0,r.ar)(`area-line-${c.id}`,{d:(0,C.w)(k),fill:"none",stroke:E,"stroke-width":3,"stroke-linecap":"round","stroke-linejoin":"round",opacity:.98})),k.forEach((d,D)=>{const L=c.data[D];p.push((0,r.FU)(`area-point-${c.id}-${D}`,{cx:d.x,cy:d.y,r:o.labels.length>18?0:4,fill:E,stroke:t.theme.pointStroke,"stroke-width":2})),p.push((0,r.FU)(`area-point-hit-${c.id}-${D}`,{cx:d.x,cy:d.y,r:11,fill:E,opacity:.001,"pointer-events":"all",...(0,A.J)({targetId:`area-point-${c.id}-${D}`,chartType:"area",kind:"datum",label:L?.label??L?.x?.toString()??o.labels[D],seriesId:c.id,seriesName:c.name,value:L?.y,color:E,index:D})},A._)),t.showNumber&&L&&p.push((0,e.q)(`area-value-${c.id}-${D}`,t,L.y,d.x,d.y-12,{fill:E}))})}),[(0,r.XM)("area-surface",{x:0,y:0,width:m.width,height:m.height,rx:t.layout.cornerRadius,fill:t.layout.background??t.theme.surface,stroke:t.theme.border,"stroke-width":1}),...(0,O.cT)("area",t,a,t.theme),(0,r.qu)("area-plot",p),...(0,O.zc)("area",t,a,t.theme,o.series.map((c,i)=>({id:c.id,label:c.name,color:(0,M.H)(t,i,c.color)})))]}}},3647(V,w,l){l.r(w),l.d(w,{bar3DChart:()=>n});var b=l(8178),C=l(3509),O=l(2239),A=l(3244),M=l(9784),e=l(8264),r=l(3955),P=l(8049);const T=(t,o)=>{const a=t.replace("#","");return`#${(3===a.length?a.split("").map(j=>j+j):a.match(/.{2}/g)??["25","99","eb"]).map(j=>{const v=Number.parseInt(j,16);return Math.max(0,Math.min(255,Math.round(v+255*o))).toString(16).padStart(2,"0")}).join("")}`},h=t=>`${t.map((o,a)=>`${0===a?"M":"L"} ${o.x} ${o.y}`).join(" ")} Z`,n={id:"bar-3d",family:"cartesian",render:({config:t,payload:o,frame:a,size:m})=>{if("cartesian"!==o.kind)return[];const x=o.series.flatMap(d=>d.data.map(D=>D.y)),j=t.thresholds.filter(d=>"y"===(d.axis??"y")).map(d=>d.value),v=t.yAxis.min??(x.length>0?Math.min(0,...x,...j):0),U=t.yAxis.max??(x.length>0?Math.max(0,...x,...j):1),B=(0,r.E)({domain:o.labels,range:[a.plot.x,a.plot.x+a.plot.width],paddingInner:.22,paddingOuter:.12}),$=(0,P.U)({domain:[v,U],range:[a.plot.y+a.plot.height,a.plot.y],nice:t.yAxis.nice,tickCount:t.yAxis.tickCount}),y=$.scale(0),u=t.bar3d.depthX,s=t.bar3d.depthY,_=a.plot.y+a.plot.height,p=a.plot.y-s,c=h([{x:a.plot.x,y:_},{x:a.plot.x+a.plot.width,y:_},{x:a.plot.x+a.plot.width+u,y:_-s},{x:a.plot.x+u,y:_-s}]),i=h([{x:a.plot.x+a.plot.width,y:a.plot.y},{x:a.plot.x+a.plot.width+u,y:p},{x:a.plot.x+a.plot.width+u,y:_-s},{x:a.plot.x+a.plot.width,y:_}]),E=[],k=o.labels.flatMap((d,D)=>{const I=B.get(d).center;return[(0,e.Vj)(`bar3d-floor-guide-${D}`,{x1:I,y1:_,x2:I+u,y2:_-s,stroke:t.bar3d.floorLineColor,"stroke-width":1,opacity:.7})]});return o.labels.forEach((d,D)=>{const L=B.get(d),R=(L.width-6*Math.max(0,o.series.length-1))/Math.max(1,o.series.length);o.series.forEach((K,z)=>{const X=K.data[D],F=X?.y??0,Y=(0,A.H)(t,z,K.color),G=Y,Q=T(Y,t.bar3d.topLightness),q=T(Y,t.bar3d.sideLightness),S=L.start+z*(R+6),f=$.scale(Math.max(F,0)),N=F>=0?f:y,H=Math.abs($.scale(F)-y),J=F>=0?N:N+H,Z=F>=0?N+H:N,g=Math.max(8,Math.min(14,.12*H));E.push((0,e.ar)(`bar3d-shadow-${K.id}-${D}`,{d:h([{x:S,y:Z+1},{x:S+R,y:Z+1},{x:S+R+u,y:Z-s+g},{x:S+u,y:Z-s+g}]),fill:t.bar3d.shadowColor,opacity:.18})),E.push((0,e.ar)(`bar3d-side-${K.id}-${D}`,{d:h([{x:S+R,y:N},{x:S+R+u,y:N-s},{x:S+R+u,y:N+H-s},{x:S+R,y:N+H}]),fill:q,opacity:.98})),E.push((0,e.ar)(`bar3d-top-${K.id}-${D}`,{d:h([{x:S,y:J},{x:S+u,y:J-s},{x:S+R+u,y:J-s},{x:S+R,y:J}]),fill:Q,opacity:.99})),E.push((0,e.XM)(`bar3d-front-${K.id}-${D}`,{x:S,y:N,width:R,height:H,rx:2,fill:G,opacity:.99,...(0,O.J)({targetId:`bar3d-front-${K.id}-${D}`,chartType:"bar-3d",kind:"datum",label:X?.label??d,seriesId:K.id,seriesName:K.name,value:F,color:G,index:D})},O._)),E.push((0,e.Vj)(`bar3d-highlight-${K.id}-${D}`,{x1:S+1,y1:N+1,x2:S+R-1,y2:N+1,stroke:T(Y,.24),"stroke-width":1.2,opacity:.72})),t.showNumber&&E.push((0,M.q)(`bar3d-value-${K.id}-${D}`,t,F,S+R/2+.32*u,F>=0?J-s-8:N+H+16,{fill:Q}))})}),[(0,e.XM)("bar3d-surface",{x:0,y:0,width:m.width,height:m.height,rx:t.layout.cornerRadius,fill:t.layout.background??t.theme.surface,stroke:t.theme.border,"stroke-width":1}),...(0,C.cT)("bar3d",t,a,t.theme),(0,e.qu)("bar3d-plot",[(0,e.XM)("bar3d-plot-bg",{x:a.plot.x,y:a.plot.y,width:a.plot.width,height:a.plot.height,rx:14,fill:t.theme.plotBackground,stroke:t.theme.plotBorder,"stroke-width":1}),(0,e.ar)("bar3d-floor-plane",{d:c,fill:t.bar3d.floorColor,stroke:t.bar3d.floorLineColor,"stroke-width":1,opacity:.96}),(0,e.ar)("bar3d-wall-plane",{d:i,fill:T(t.bar3d.floorColor,-.05),stroke:t.bar3d.floorLineColor,"stroke-width":1,opacity:.84}),...k,...(0,b.v)({idPrefix:"bar3d",frame:a,theme:t.theme,labels:o.labels,xScale:B,yScale:$,xAxis:t.xAxis,yAxis:t.yAxis,grid:t.grid}),...(0,C.pl)({idPrefix:"bar3d",thresholds:t.thresholds,frame:a,theme:t.theme,yScale:$}),...E]),...(0,C.zc)("bar3d",t,a,t.theme,o.series.map((d,D)=>({id:d.id,label:t.showNumber?`${d.name} (${d.data.reduce((L,I)=>L+(I?.y??0),0)})`:d.name,color:(0,A.H)(t,D,d.color)})))]}}},4303(V,w,l){l.r(w),l.d(w,{barChart:()=>T});var b=l(8178),C=l(3509),O=l(2239),A=l(3244),M=l(9784),e=l(8264),r=l(3955),P=l(8049);const T={id:"bar",family:"cartesian",render:({config:h,payload:n,frame:t,size:o})=>{if("cartesian"!==n.kind)return[];const x=[...n.series.flatMap(u=>u.data.map(s=>s.y)),...h.thresholds.filter(u=>"y"===(u.axis??"y")).map(u=>u.value)],j=h.yAxis.min??(x.length>0?Math.min(0,...x):0),v=h.yAxis.max??(x.length>0?Math.max(0,...x):1),U=(0,r.E)({domain:n.labels,range:[t.plot.x,t.plot.x+t.plot.width],paddingInner:.22,paddingOuter:.12}),B=(0,P.U)({domain:[j,v],range:[t.plot.y+t.plot.height,t.plot.y],nice:h.yAxis.nice,tickCount:h.yAxis.tickCount}),$=B.scale(0),y=[];return n.labels.forEach((u,s)=>{const _=U.get(u),i=(_.width-6*Math.max(0,n.series.length-1))/Math.max(1,n.series.length);n.series.forEach((E,k)=>{const d=E.data[s],D=(0,A.H)(h,k,E.color),L=_.start+k*(i+6),I=B.scale(Math.max(d?.y??0,0)),W=Math.abs(B.scale(d?.y??0)-$);y.push((0,e.XM)(`bar-${E.id}-${s}`,{x:L,y:d&&d.y>=0?I:$,width:i,height:W,rx:8,fill:D,opacity:.92,...(0,O.J)({targetId:`bar-${E.id}-${s}`,chartType:"bar",kind:"datum",label:d?.label??u,seriesId:E.id,seriesName:E.name,value:d?.y??0,color:D,index:s})},O._)),h.showNumber&&y.push((0,M.q)(`bar-value-${E.id}-${s}`,h,d?.y??0,L+i/2,d&&d.y>=0?I-10:$+W+16,{fill:D}))})}),[(0,e.XM)("bar-surface",{x:0,y:0,width:o.width,height:o.height,rx:h.layout.cornerRadius,fill:h.layout.background??h.theme.surface,stroke:h.theme.border,"stroke-width":1}),...(0,C.cT)("bar",h,t,h.theme),(0,e.qu)("bar-plot",[(0,e.XM)("bar-plot-bg",{x:t.plot.x,y:t.plot.y,width:t.plot.width,height:t.plot.height,rx:14,fill:h.theme.plotBackground,stroke:h.theme.plotBorder,"stroke-width":1}),...(0,b.v)({idPrefix:"bar",frame:t,theme:h.theme,labels:n.labels,xScale:U,yScale:B,xAxis:h.xAxis,yAxis:h.yAxis,grid:h.grid}),...(0,C.pl)({idPrefix:"bar",thresholds:h.thresholds,frame:t,theme:h.theme,yScale:B}),...y]),...(0,C.zc)("bar",h,t,h.theme,n.series.map((u,s)=>({id:u.id,label:u.name,color:(0,A.H)(h,s,u.color)})))]}}},8651(V,w,l){l.r(w),l.d(w,{comboChart:()=>n});var b=l(8178),C=l(966),O=l(3509),A=l(2239),M=l(3244),e=l(9784),r=l(8264),P=l(3955),T=l(8049),h=l(1911);const n={id:"combo",family:"cartesian",render:({config:t,payload:o,frame:a,size:m})=>{if("cartesian"!==o.kind)return[];const x=o.series.flatMap(i=>i.data.map(E=>E.y)),j=t.thresholds.filter(i=>"y"===(i.axis??"y")).map(i=>i.value),v=t.yAxis.min??(x.length>0?Math.min(0,...x,...j):0),U=t.yAxis.max??(x.length>0?Math.max(0,...x,...j):1),[B,$]=(0,h.K9)(v,U,.08),y=(0,P.E)({domain:o.labels,range:[a.plot.x,a.plot.x+a.plot.width],paddingInner:.24,paddingOuter:.12}),u=(0,T.U)({domain:[B,$],range:[a.plot.y+a.plot.height,a.plot.y],nice:t.yAxis.nice,tickCount:t.yAxis.tickCount}),s=u.scale(Math.max(0,B)),_=[(0,r.XM)("combo-plot-bg",{x:a.plot.x,y:a.plot.y,width:a.plot.width,height:a.plot.height,rx:14,fill:t.theme.plotBackground,stroke:t.theme.plotBorder,"stroke-width":1}),...(0,b.v)({idPrefix:"combo",frame:a,theme:t.theme,labels:o.labels,xScale:y,yScale:u,xAxis:t.xAxis,yAxis:t.yAxis,grid:t.grid}),...(0,O.pl)({idPrefix:"combo",thresholds:t.thresholds,frame:a,theme:t.theme,yScale:u})],p=o.series.filter(i=>"bar"===i.type);return o.labels.forEach((i,E)=>{const k=y.get(i),D=(k.width-6*Math.max(0,p.length-1))/Math.max(1,p.length);p.forEach((L,I)=>{const W=L.data[E],R=(0,M.H)(t,o.series.indexOf(L),L.color),K=k.start+I*(D+6),z=W?.y??0,X=u.scale(Math.max(z,0)),F=Math.abs(u.scale(z)-s);_.push((0,r.XM)(`combo-bar-${L.id}-${E}`,{x:K,y:z>=0?X:s,width:D,height:F,rx:8,fill:R,opacity:.84,...(0,A.J)({targetId:`combo-bar-${L.id}-${E}`,chartType:"combo",kind:"datum",label:W?.label??i,seriesId:L.id,seriesName:L.name,value:z,color:R,index:E})},A._)),t.showNumber&&_.push((0,e.q)(`combo-bar-value-${L.id}-${E}`,t,z,K+D/2,z>=0?X-10:s+F+16,{fill:R}))})}),o.series.forEach((i,E)=>{if("bar"===i.type)return;const k=(0,M.H)(t,E,i.color),d=i.data.map((D,L)=>({x:y.at(L).center,y:u.scale(D.y)}));"area"===i.type&&_.push((0,r.ar)(`combo-area-fill-${i.id}`,{d:(0,C.$)(d,s),fill:k,opacity:.16})),("area"===i.type||"line"===i.type)&&_.push((0,r.ar)(`combo-line-${i.id}`,{d:(0,C.w)(d),fill:"none",stroke:k,"stroke-width":3,"stroke-linecap":"round","stroke-linejoin":"round",opacity:.97})),d.forEach((D,L)=>{const W=i.data[L];_.push((0,r.FU)(`combo-point-${i.id}-${L}`,{cx:D.x,cy:D.y,r:"scatter"===i.type?5:o.labels.length>18?0:4,fill:k,stroke:t.theme.pointStroke,"stroke-width":2,opacity:.96})),_.push((0,r.FU)(`combo-point-hit-${i.id}-${L}`,{cx:D.x,cy:D.y,r:"scatter"===i.type?10:11,fill:k,opacity:.001,"pointer-events":"all",...(0,A.J)({targetId:`combo-point-${i.id}-${L}`,chartType:"combo",kind:"datum",label:W?.label??W?.x?.toString()??o.labels[L],seriesId:i.id,seriesName:i.name,value:W?.y,color:k,index:L})},A._)),t.showNumber&&W&&_.push((0,e.q)(`combo-point-value-${i.id}-${L}`,t,W.y,D.x,D.y-12,{fill:k}))})}),[(0,r.XM)("combo-surface",{x:0,y:0,width:m.width,height:m.height,rx:t.layout.cornerRadius,fill:t.layout.background??t.theme.surface,stroke:t.theme.border,"stroke-width":1}),...(0,O.cT)("combo",t,a,t.theme),(0,r.qu)("combo-plot",_),...(0,O.zc)("combo",t,a,t.theme,o.series.map((i,E)=>({id:i.id,label:i.name,color:(0,M.H)(t,E,i.color)})))]}}},966(V,w,l){l.d(w,{$:()=>C,w:()=>b});const b=O=>O.map((A,M)=>`${0===M?"M":"L"} ${A.x} ${A.y}`).join(" "),C=(O,A,M)=>{if(0===O.length)return"";if(M?.length)return`${b(O)} ${[...M].reverse().map(n=>`L ${n.x} ${n.y}`).join(" ")} Z`;const e=O[0],r=O[O.length-1];return`${b(O)} L ${r.x} ${A} L ${e.x} ${A} Z`}},3244(V,w,l){l.d(w,{H:()=>b});const b=(C,O,A)=>A??C.palette[O%C.palette.length]??C.theme.palette[O%C.theme.palette.length]??"#2563eb"},9784(V,w,l){l.d(w,{q:()=>O});var b=l(8264);const O=(A,M,e,r,P,T)=>(0,b.qn)(A,((A,M)=>{const e=A.yAxis.format?.(M);return null!=e?String(e):Number.isInteger(M)?String(M):M.toFixed(1)})(M,e),{class:T?.className??"ic-value-label",x:r,y:P,fill:T?.fill??M.theme.title,stroke:M.theme.plotBackground,"stroke-width":4,"paint-order":"stroke","font-family":M.theme.fontFamily,"font-size":T?.fontSize??Math.max(10,M.theme.fontSize-1),"font-weight":700,"text-anchor":T?.anchor??"middle"})},5363(V,w,l){l.r(w),l.d(w,{donutChart:()=>T,pieChart:()=>h});var b=l(3509),C=l(2239),O=l(3244),A=l(4794),M=l(9784),e=l(8264),r=l(1911);const P=n=>({id:n,family:"radial",render:({config:t,payload:o,frame:a,size:m})=>{if("radial"!==o.kind)return[];const x=a.plot.x+a.plot.width/2,j=a.plot.y+a.plot.height/2-(t.legend.show?4:0),v=Math.max(44,Math.min(a.plot.width/2-28,a.plot.height/2-10)),U="pie"===n?0:.58*v,B=o.total||1;let y=0;const u=o.slices.flatMap((s,_)=>{const p=s.value/B*Math.PI*2,c=y+.012,i=y+p-.012;y+=p;const E=(0,O.H)(t,_,s.color),k=B>0?(s.value/B*100).toFixed(1):"0.0",d=c+(i-c)/2,L=(0,r.IZ)(x,j,"pie"===n?.58*v:U+.72*(v-U),d),I=(0,r.IZ)(x,j,v+2,d),W=(0,r.IZ)(x,j,v+18,d),R=t.showNumber,K=W.x>=x?"start":"end",z=W.x+("start"===K?10:-10),X=W.y+4;return[(0,e.ar)(`${n}-slice-${s.id}`,{d:(0,A.q)(x,j,U,v,c,i),fill:E,stroke:t.theme.pointStroke,"stroke-width":"pie"===n?2:3,opacity:.96,...(0,C.J)({targetId:`${n}-slice-${s.id}`,chartType:n,kind:"slice",label:s.label,value:s.value,detail:`${k}% of total`,color:E,index:_})},C._),t.showNumber&&R?(0,e.Vj)(`${n}-slice-guide-${s.id}`,{x1:I.x,y1:I.y,x2:W.x,y2:W.y,stroke:E,"stroke-width":1.5,opacity:.88}):(0,e.qu)(`${n}-slice-guide-empty-${s.id}`),t.showNumber?(0,M.q)(`${n}-slice-value-${s.id}`,t,s.value,R?z:L.x,R?X:L.y+4,{anchor:R?K:"middle",fill:R?t.theme.title:"#ffffff",fontSize:t.theme.fontSize}):(0,e.qu)(`${n}-slice-value-empty-${s.id}`)]});return[(0,e.XM)(`${n}-surface`,{x:0,y:0,width:m.width,height:m.height,rx:t.layout.cornerRadius,fill:t.layout.background??t.theme.surface,stroke:t.theme.border,"stroke-width":1}),...(0,b.cT)(n,t,a,t.theme),(0,e.qu)(`${n}-plot`,[(0,e.XM)(`${n}-plot-bg`,{x:a.plot.x,y:a.plot.y,width:a.plot.width,height:a.plot.height,rx:14,fill:t.theme.plotBackground,stroke:t.theme.plotBorder,"stroke-width":1}),...u,"donut"===n&&t.showNumber?(0,e.qn)(`${n}-center-total`,String(o.total),{x,y:j+4,fill:t.theme.title,"font-family":t.theme.fontFamily,"font-size":t.theme.fontSize+8,"font-weight":700,"text-anchor":"middle"}):(0,e.qu)(`${n}-center-total-empty`),"donut"===n&&t.showNumber?(0,e.qn)(`${n}-center-label`,"total",{x,y:j+22,fill:t.theme.mutedText,"font-family":t.theme.fontFamily,"font-size":t.theme.fontSize,"text-anchor":"middle"}):(0,e.qu)(`${n}-center-label-empty`)]),...(0,b.zc)(n,t,a,t.theme,o.slices.map((s,_)=>({id:s.id,label:t.showNumber?`${s.label} (${s.value})`:s.label,color:(0,O.H)(t,_,s.color)})))]}}),T=P("donut"),h=P("pie")},1577(V,w,l){l.r(w),l.d(w,{lineChart:()=>n});var b=l(8178),C=l(966),O=l(3509),A=l(2239),M=l(3244),e=l(9784),r=l(8264),P=l(3955),T=l(8049),h=l(1911);const n={id:"line",family:"cartesian",render:({config:t,payload:o,frame:a,size:m})=>{if("cartesian"!==o.kind)return[];const v=[...o.series.flatMap(p=>p.data.map(c=>c.y)),...t.thresholds.filter(p=>"y"===(p.axis??"y")).map(p=>p.value)],U=t.yAxis.min??(v.length>0?Math.min(...v):0),B=t.yAxis.max??(v.length>0?Math.max(...v):1),[$,y]=(0,h.K9)(U,B,.1),u=(0,P.E)({domain:o.labels,range:[a.plot.x,a.plot.x+a.plot.width],paddingInner:.42,paddingOuter:.18}),s=(0,T.U)({domain:[$,y],range:[a.plot.y+a.plot.height,a.plot.y],nice:t.yAxis.nice,tickCount:t.yAxis.tickCount}),_=[(0,r.XM)("line-plot-bg",{x:a.plot.x,y:a.plot.y,width:a.plot.width,height:a.plot.height,rx:14,fill:t.theme.plotBackground,stroke:t.theme.plotBorder,"stroke-width":1}),...(0,b.v)({idPrefix:"line",frame:a,theme:t.theme,labels:o.labels,xScale:u,yScale:s,xAxis:t.xAxis,yAxis:t.yAxis,grid:t.grid}),...(0,O.pl)({idPrefix:"line",thresholds:t.thresholds,frame:a,theme:t.theme,yScale:s})];return o.series.forEach((p,c)=>{const i=(0,M.H)(t,c,p.color),E=p.data.map((k,d)=>({x:u.at(d).center,y:s.scale(k.y)}));_.push((0,r.ar)(`line-series-path-${p.id}`,{d:(0,C.w)(E),fill:"none",stroke:i,"stroke-width":3,"stroke-linecap":"round","stroke-linejoin":"round",opacity:.96})),E.forEach((k,d)=>{const D=p.data[d];_.push((0,r.FU)(`line-point-${p.id}-${d}`,{cx:k.x,cy:k.y,r:o.labels.length>18?0:4,fill:i,stroke:t.theme.pointStroke,"stroke-width":2})),_.push((0,r.FU)(`line-point-hit-${p.id}-${d}`,{cx:k.x,cy:k.y,r:11,fill:i,opacity:.001,"pointer-events":"all",...(0,A.J)({targetId:`line-point-${p.id}-${d}`,chartType:"line",kind:"datum",label:D?.label??D?.x?.toString()??o.labels[d],seriesId:p.id,seriesName:p.name,value:D?.y,color:i,index:d})},A._)),t.showNumber&&D&&_.push((0,e.q)(`line-value-${p.id}-${d}`,t,D.y,k.x,k.y-12,{fill:i}))})}),[(0,r.XM)("line-surface",{x:0,y:0,width:m.width,height:m.height,rx:t.layout.cornerRadius,fill:t.layout.background??t.theme.surface,stroke:t.theme.border,"stroke-width":1}),...(0,O.cT)("line",t,a,t.theme),(0,r.qu)("line-plot",_),...(0,O.zc)("line",t,a,t.theme,o.series.map((p,c)=>({id:p.id,label:p.name,color:(0,M.H)(t,c,p.color)})))]}}},7719(V,w,l){l.r(w),l.d(w,{scatterChart:()=>T});var b=l(8178),C=l(3509),O=l(2239),A=l(3244),M=l(9784),e=l(8264),r=l(8049),P=l(1911);const T={id:"scatter",family:"cartesian",render:({config:h,payload:n,frame:t,size:o})=>{if("cartesian"!==n.kind)return[];const a=n.series.flatMap(s=>s.data.map((_,p)=>"number"==typeof _.x?_.x:p)),m=n.series.flatMap(s=>s.data.map(_=>_.y)),x=h.thresholds.filter(s=>"y"===(s.axis??"y")).map(s=>s.value),[j,v]=(0,P.K9)(h.xAxis.min??(a.length>0?Math.min(...a):0),h.xAxis.max??(a.length>0?Math.max(...a):1),.08),[U,B]=(0,P.K9)(h.yAxis.min??(m.length>0?Math.min(...m,...x):0),h.yAxis.max??(m.length>0?Math.max(...m,...x):1),.08),$=(0,r.U)({domain:[j,v],range:[t.plot.x,t.plot.x+t.plot.width],nice:!0,tickCount:h.xAxis.tickCount}),y=(0,r.U)({domain:[U,B],range:[t.plot.y+t.plot.height,t.plot.y],nice:h.yAxis.nice,tickCount:h.yAxis.tickCount}),u=[];return n.series.forEach((s,_)=>{const p=(0,A.H)(h,_,s.color);s.data.forEach((c,i)=>{const E=$.scale("number"==typeof c.x?c.x:i),k=y.scale(c.y);u.push((0,e.FU)(`scatter-point-${s.id}-${i}`,{cx:E,cy:k,r:5.5,fill:p,stroke:h.theme.pointStroke,"stroke-width":1.5,opacity:.94,...(0,O.J)({targetId:`scatter-point-${s.id}-${i}`,chartType:"scatter",kind:"datum",label:c.label||`Point ${i+1}`,seriesId:s.id,seriesName:s.name,value:c.y,secondaryValue:"number"==typeof c.x?c.x:i,detail:`x=${"number"==typeof c.x?c.x:i}`,color:p,index:i})},O._)),h.showNumber&&u.push((0,M.q)(`scatter-value-${s.id}-${i}`,h,c.y,E,k-12,{fill:p}))})}),[(0,e.XM)("scatter-surface",{x:0,y:0,width:o.width,height:o.height,rx:h.layout.cornerRadius,fill:h.layout.background??h.theme.surface,stroke:h.theme.border,"stroke-width":1}),...(0,C.cT)("scatter",h,t,h.theme),(0,e.qu)("scatter-plot",[(0,e.XM)("scatter-plot-bg",{x:t.plot.x,y:t.plot.y,width:t.plot.width,height:t.plot.height,rx:14,fill:h.theme.plotBackground,stroke:h.theme.plotBorder,"stroke-width":1}),...(0,b.W)({idPrefix:"scatter",frame:t,theme:h.theme,xScale:$,yScale:y,xAxis:h.xAxis,yAxis:h.yAxis,grid:h.grid}),...(0,C.pl)({idPrefix:"scatter",thresholds:h.thresholds,frame:t,theme:h.theme,yScale:y}),...u]),...(0,C.zc)("scatter",h,t,h.theme,n.series.map((s,_)=>({id:s.id,label:s.name,color:(0,A.H)(h,_,s.color)})))]}}},7100(V,w,l){l.r(w),l.d(w,{sparklineChart:()=>h});var b=l(966),C=l(3509),O=l(2239),A=l(3244),M=l(9784),e=l(8264),r=l(3955),P=l(8049),T=l(1911);const h={id:"sparkline",family:"cartesian",render:({config:n,payload:t,frame:o,size:a})=>{if("cartesian"!==t.kind)return[];const m=t.series.flatMap(s=>s.data.map(_=>_.y)),[x,j]=(0,T.K9)(n.yAxis.min??(m.length>0?Math.min(...m):0),n.yAxis.max??(m.length>0?Math.max(...m):1),.1),v=(0,r.E)({domain:t.labels,range:[o.plot.x,o.plot.x+o.plot.width],paddingInner:.52,paddingOuter:.1}),U=(0,P.U)({domain:[x,j],range:[o.plot.y+o.plot.height,o.plot.y],nice:!1,tickCount:4}),B=U.scale(x),$=[(0,e.XM)("sparkline-plot-bg",{x:o.plot.x,y:o.plot.y,width:o.plot.width,height:o.plot.height,rx:14,fill:n.theme.plotBackground,stroke:n.theme.plotBorder,"stroke-width":1})];t.series.forEach((s,_)=>{const p=(0,A.H)(n,_,s.color),c=s.data.map((E,k)=>({x:v.at(k).center,y:U.scale(E.y)})),i=c[c.length-1];0===_&&$.push((0,e.ar)(`sparkline-fill-${s.id}`,{d:(0,b.$)(c,B),fill:p,opacity:.12})),$.push((0,e.ar)(`sparkline-line-${s.id}`,{d:(0,b.w)(c),fill:"none",stroke:p,"stroke-width":3,"stroke-linecap":"round","stroke-linejoin":"round",opacity:.96})),c.forEach((E,k)=>{const d=s.data[k];$.push((0,e.FU)(`sparkline-point-hit-${s.id}-${k}`,{cx:E.x,cy:E.y,r:9,fill:p,opacity:.001,"pointer-events":"all",...(0,O.J)({targetId:k===c.length-1?`sparkline-point-${s.id}`:`sparkline-line-${s.id}`,chartType:"sparkline",kind:"datum",label:d?.label??t.labels[k]??s.name,seriesId:s.id,seriesName:s.name,value:d?.y,color:p,index:k})},O._)),n.showNumber&&d&&$.push((0,M.q)(`sparkline-value-${s.id}-${k}`,n,d.y,E.x,E.y-10,{fill:p,fontSize:Math.max(9,n.theme.fontSize-2)}))}),i&&$.push((0,e.FU)(`sparkline-point-${s.id}`,{cx:i.x,cy:i.y,r:4.5,fill:p,stroke:n.theme.pointStroke,"stroke-width":2}))});const y=t.series[0],u=y?.data[y.data.length-1]?.y;return[(0,e.XM)("sparkline-surface",{x:0,y:0,width:a.width,height:a.height,rx:n.layout.cornerRadius,fill:n.layout.background??n.theme.surface,stroke:n.theme.border,"stroke-width":1}),...(0,C.cT)("sparkline",n,o,n.theme),(0,e.qu)("sparkline-plot",$),n.showNumber&&"number"==typeof u?(0,e.qn)("sparkline-current-value",`${u}`,{x:a.width-18,y:24,fill:n.theme.title,"font-family":n.theme.fontFamily,"font-size":n.theme.fontSize+4,"font-weight":700,"text-anchor":"end"}):(0,e.qu)("sparkline-current-value-empty"),!n.legend.show&&y?.name?(0,e.qn)("sparkline-current-label",y.name,{x:18,y:24,fill:n.theme.mutedText,"font-family":n.theme.fontFamily,"font-size":n.theme.fontSize-1,"font-weight":600}):(0,e.qu)("sparkline-current-label-empty"),...(0,C.zc)("sparkline",n,o,n.theme,t.series.map((s,_)=>({id:s.id,label:n.showNumber?`${s.name} (${s.data[s.data.length-1]?.y??0})`:s.name,color:(0,A.H)(n,_,s.color)})))]}}},2259(V,w,l){l.r(w),l.d(w,{stackedAreaChart:()=>n});var b=l(8178),C=l(966),O=l(3509),A=l(2239),M=l(3244),e=l(9784),r=l(8264),P=l(3955),T=l(8049),h=l(1911);const n={id:"stacked-area",family:"cartesian",render:({config:t,payload:o,frame:a,size:m})=>{if("cartesian"!==o.kind)return[];const x=o.labels.map((_,p)=>o.series.reduce((c,i)=>c+Math.max(0,i.data[p]?.y??0),0)),j=t.thresholds.filter(_=>"y"===(_.axis??"y")).map(_=>_.value),v=t.yAxis.max??(x.length>0?Math.max(...x,...j,0):1),[U,B]=(0,h.K9)(t.yAxis.min??0,v,.08),$=(0,P.E)({domain:o.labels,range:[a.plot.x,a.plot.x+a.plot.width],paddingInner:.36,paddingOuter:.18}),y=(0,T.U)({domain:[U,B],range:[a.plot.y+a.plot.height,a.plot.y],nice:t.yAxis.nice,tickCount:t.yAxis.tickCount}),u=o.labels.map(()=>0),s=[(0,r.XM)("stacked-area-plot-bg",{x:a.plot.x,y:a.plot.y,width:a.plot.width,height:a.plot.height,rx:14,fill:t.theme.plotBackground,stroke:t.theme.plotBorder,"stroke-width":1}),...(0,b.v)({idPrefix:"stacked-area",frame:a,theme:t.theme,labels:o.labels,xScale:$,yScale:y,xAxis:t.xAxis,yAxis:t.yAxis,grid:t.grid}),...(0,O.pl)({idPrefix:"stacked-area",thresholds:t.thresholds,frame:a,theme:t.theme,yScale:y})];return o.series.forEach((_,p)=>{const c=(0,M.H)(t,p,_.color),i=[],E=[];_.data.forEach((k,d)=>{const D=$.at(d),L=u[d]??0,I=L+Math.max(0,k.y);i.push({x:D.center,y:y.scale(L)}),E.push({x:D.center,y:y.scale(I)}),u[d]=I}),s.push((0,r.ar)(`stacked-area-fill-${_.id}`,{d:(0,C.$)(E,y.scale(0),i),fill:c,opacity:.22})),s.push((0,r.ar)(`stacked-area-line-${_.id}`,{d:(0,C.w)(E),fill:"none",stroke:c,"stroke-width":2.5,"stroke-linecap":"round","stroke-linejoin":"round",opacity:.94})),E.forEach((k,d)=>{s.push((0,r.FU)(`stacked-area-point-${_.id}-${d}`,{cx:k.x,cy:k.y,r:o.labels.length>20?0:3.5,fill:c,stroke:t.theme.pointStroke,"stroke-width":2})),s.push((0,r.FU)(`stacked-area-point-hit-${_.id}-${d}`,{cx:k.x,cy:k.y,r:11,fill:c,opacity:.001,"pointer-events":"all",...(0,A.J)({targetId:`stacked-area-point-${_.id}-${d}`,chartType:"stacked-area",kind:"datum",label:_.data[d]?.label??o.labels[d],seriesId:_.id,seriesName:_.name,value:_.data[d]?.y??0,detail:`Stacked total ${Math.round(u[d]??0)}`,color:c,index:d})},A._)),t.showNumber&&s.push((0,e.q)(`stacked-area-value-${_.id}-${d}`,t,_.data[d]?.y??0,k.x,k.y-10,{fill:c}))})}),[(0,r.XM)("stacked-area-surface",{x:0,y:0,width:m.width,height:m.height,rx:t.layout.cornerRadius,fill:t.layout.background??t.theme.surface,stroke:t.theme.border,"stroke-width":1}),...(0,O.cT)("stacked-area",t,a,t.theme),(0,r.qu)("stacked-area-plot",s),...(0,O.zc)("stacked-area",t,a,t.theme,o.series.map((_,p)=>({id:_.id,label:t.showNumber?`${_.name} (${_.data.reduce((c,i)=>c+Math.max(0,i?.y??0),0)})`:_.name,color:(0,M.H)(t,p,_.color)})))]}}},3955(V,w,l){l.d(w,{E:()=>b});const b=({domain:C,range:O,paddingInner:A=.18,paddingOuter:M=.08})=>{const[e,r]=O,P=Math.max(1,C.length),h=(r-e)/Math.max(1,P+2*M-A),n=h*(1-A),t=o=>{const a=e+h*(M+o);return{start:a,center:a+n/2,width:n}};return{domain:C,range:O,bandwidth:n,step:h,get:o=>{const a=Math.max(0,C.indexOf(o));return t(a)},at:t}}},8049(V,w,l){l.d(w,{U:()=>A});const b=M=>Number.parseFloat(M.toFixed(10)),C=(M,e)=>{const r=M/Math.max(1,e),P=Math.floor(Math.log10(r)),T=r/10**P;return(T<=1?1:T<=2?2:T<=5?5:10)*10**P},A=({domain:M,range:e,nice:r=!0,tickCount:P=5})=>{const T=(([M,e])=>{if(M===e){const r=0===M?1:.2*Math.abs(M);return[M-r,e+r]}return[M,e]})(M),h=T[1]-T[0],n=r&&h>0?(()=>{const a=C(h,P),m=Math.floor(T[0]/a)*a,x=Math.ceil(T[1]/a)*a;return[b(m),b(x)]})():T;return{domain:n,range:e,scale:a=>{const[m,x]=n,[j,v]=e;return j+(a-m)/(x-m)*(v-j)},ticks:(a=P)=>{const[m,x]=n,j=C(x-m,a),v=[];for(let U=m;U<=x+.5*j;U+=j)v.push(b(U));return v}}}}}]);
@@ -0,0 +1,19 @@
1
+ <!doctype html>
2
+ <html lang="en" data-beasties-container>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <base href="./">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <title>@revivejs/angular-infinity-charts · Angular 21</title>
8
+ <style>html,body{margin:0;min-height:100%;font-family:Segoe UI,Arial,sans-serif;background:radial-gradient(circle at top left,rgba(59,130,246,.16),transparent 28%),linear-gradient(180deg,#f8fbff,#edf4ff);color:#0f172a}body{min-height:100vh}.boot-shell{display:grid;place-items:center;min-height:100vh;padding:24px}.boot-card{display:grid;place-items:center;gap:16px;padding:28px 32px;border-radius:24px;border:1px solid rgba(15,23,42,.08);background:#ffffffeb;box-shadow:0 18px 48px #0f172a14}.boot-loader{width:42px;height:42px;border-radius:999px;border:3px solid rgba(37,99,235,.18);border-top-color:#2563eb;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}</style><link rel="stylesheet" href="styles.d345eaa39dd99983.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.d345eaa39dd99983.css"></noscript></head>
9
+ <body>
10
+ <app-root>
11
+ <div class="boot-shell">
12
+ <div class="boot-card">
13
+ <div class="boot-loader"></div>
14
+ <p>Booting Angular 21 docs…</p>
15
+ </div>
16
+ </div>
17
+ </app-root>
18
+ <script src="runtime.4d8a748cbea51380.js" type="module"></script><script src="polyfills.37944fe611f86dfa.js" type="module"></script><script src="main.4daffff4ca1c294e.js" type="module"></script></body>
19
+ </html>