wijmo 5.20261.45-nightly.d20251218.t163151 → 5.20261.45-nightly.d20260105.t014601
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.
- package/cultures/wijmo.culture.ar-AE.d.ts +1 -1
- package/cultures/wijmo.culture.ar-AE.js +1 -1
- package/cultures/wijmo.culture.ar-SA.d.ts +1 -1
- package/cultures/wijmo.culture.ar-SA.js +1 -1
- package/cultures/wijmo.culture.bg.d.ts +1 -1
- package/cultures/wijmo.culture.bg.js +1 -1
- package/cultures/wijmo.culture.ca.d.ts +1 -1
- package/cultures/wijmo.culture.ca.js +1 -1
- package/cultures/wijmo.culture.cs.d.ts +1 -1
- package/cultures/wijmo.culture.cs.js +1 -1
- package/cultures/wijmo.culture.da.d.ts +1 -1
- package/cultures/wijmo.culture.da.js +1 -1
- package/cultures/wijmo.culture.de-CH.d.ts +1 -1
- package/cultures/wijmo.culture.de-CH.js +1 -1
- package/cultures/wijmo.culture.de.d.ts +1 -1
- package/cultures/wijmo.culture.de.js +1 -1
- package/cultures/wijmo.culture.el.d.ts +1 -1
- package/cultures/wijmo.culture.el.js +1 -1
- package/cultures/wijmo.culture.en-CA.d.ts +1 -1
- package/cultures/wijmo.culture.en-CA.js +1 -1
- package/cultures/wijmo.culture.en-GB.d.ts +1 -1
- package/cultures/wijmo.culture.en-GB.js +1 -1
- package/cultures/wijmo.culture.en.d.ts +1 -1
- package/cultures/wijmo.culture.en.js +1 -1
- package/cultures/wijmo.culture.es-419.d.ts +1 -1
- package/cultures/wijmo.culture.es-419.js +1 -1
- package/cultures/wijmo.culture.es-MX.d.ts +1 -1
- package/cultures/wijmo.culture.es-MX.js +1 -1
- package/cultures/wijmo.culture.es.d.ts +1 -1
- package/cultures/wijmo.culture.es.js +1 -1
- package/cultures/wijmo.culture.et.d.ts +1 -1
- package/cultures/wijmo.culture.et.js +1 -1
- package/cultures/wijmo.culture.eu.d.ts +1 -1
- package/cultures/wijmo.culture.eu.js +1 -1
- package/cultures/wijmo.culture.fi.d.ts +1 -1
- package/cultures/wijmo.culture.fi.js +1 -1
- package/cultures/wijmo.culture.fr-CA.d.ts +1 -1
- package/cultures/wijmo.culture.fr-CA.js +1 -1
- package/cultures/wijmo.culture.fr.d.ts +1 -1
- package/cultures/wijmo.culture.fr.js +1 -1
- package/cultures/wijmo.culture.gl.d.ts +1 -1
- package/cultures/wijmo.culture.gl.js +1 -1
- package/cultures/wijmo.culture.he.d.ts +1 -1
- package/cultures/wijmo.culture.he.js +1 -1
- package/cultures/wijmo.culture.hi.d.ts +1 -1
- package/cultures/wijmo.culture.hi.js +1 -1
- package/cultures/wijmo.culture.hr.d.ts +1 -1
- package/cultures/wijmo.culture.hr.js +1 -1
- package/cultures/wijmo.culture.hu.d.ts +1 -1
- package/cultures/wijmo.culture.hu.js +1 -1
- package/cultures/wijmo.culture.id.d.ts +1 -1
- package/cultures/wijmo.culture.id.js +1 -1
- package/cultures/wijmo.culture.it.d.ts +1 -1
- package/cultures/wijmo.culture.it.js +1 -1
- package/cultures/wijmo.culture.ja.d.ts +1 -1
- package/cultures/wijmo.culture.ja.js +1 -1
- package/cultures/wijmo.culture.kk.d.ts +1 -1
- package/cultures/wijmo.culture.kk.js +1 -1
- package/cultures/wijmo.culture.ko.d.ts +1 -1
- package/cultures/wijmo.culture.ko.js +1 -1
- package/cultures/wijmo.culture.lt.d.ts +1 -1
- package/cultures/wijmo.culture.lt.js +1 -1
- package/cultures/wijmo.culture.lv.d.ts +1 -1
- package/cultures/wijmo.culture.lv.js +1 -1
- package/cultures/wijmo.culture.mn-MN.d.ts +1 -1
- package/cultures/wijmo.culture.mn-MN.js +1 -1
- package/cultures/wijmo.culture.nl.d.ts +1 -1
- package/cultures/wijmo.culture.nl.js +1 -1
- package/cultures/wijmo.culture.no.d.ts +1 -1
- package/cultures/wijmo.culture.no.js +1 -1
- package/cultures/wijmo.culture.pl.d.ts +1 -1
- package/cultures/wijmo.culture.pl.js +1 -1
- package/cultures/wijmo.culture.pt.d.ts +1 -1
- package/cultures/wijmo.culture.pt.js +1 -1
- package/cultures/wijmo.culture.ro.d.ts +1 -1
- package/cultures/wijmo.culture.ro.js +1 -1
- package/cultures/wijmo.culture.ru.d.ts +1 -1
- package/cultures/wijmo.culture.ru.js +1 -1
- package/cultures/wijmo.culture.sk.d.ts +1 -1
- package/cultures/wijmo.culture.sk.js +1 -1
- package/cultures/wijmo.culture.sl.d.ts +1 -1
- package/cultures/wijmo.culture.sl.js +1 -1
- package/cultures/wijmo.culture.sr.d.ts +1 -1
- package/cultures/wijmo.culture.sr.js +1 -1
- package/cultures/wijmo.culture.sv.d.ts +1 -1
- package/cultures/wijmo.culture.sv.js +1 -1
- package/cultures/wijmo.culture.th.d.ts +1 -1
- package/cultures/wijmo.culture.th.js +1 -1
- package/cultures/wijmo.culture.tr.d.ts +1 -1
- package/cultures/wijmo.culture.tr.js +1 -1
- package/cultures/wijmo.culture.uk.d.ts +1 -1
- package/cultures/wijmo.culture.uk.js +1 -1
- package/cultures/wijmo.culture.vi.d.ts +1 -1
- package/cultures/wijmo.culture.vi.js +1 -1
- package/cultures/wijmo.culture.zh-HK.d.ts +1 -1
- package/cultures/wijmo.culture.zh-HK.js +1 -1
- package/cultures/wijmo.culture.zh-TW.d.ts +1 -1
- package/cultures/wijmo.culture.zh-TW.js +1 -1
- package/cultures/wijmo.culture.zh.d.ts +1 -1
- package/cultures/wijmo.culture.zh.js +1 -1
- package/package.json +1 -1
- package/styles/misc/_constants.scss +1 -1
- package/styles/misc/_glyphs.scss +257 -255
- package/styles/misc/_mixins.scss +70 -74
- package/styles/misc/_variables.scss +13 -13
- package/styles/parts/_barcode.scss +26 -27
- package/styles/parts/_chart.scss +109 -107
- package/styles/parts/_chart_finance.scss +6 -6
- package/styles/parts/_chart_hierarchical.scss +4 -4
- package/styles/parts/_chart_interaction.scss +224 -219
- package/styles/parts/_chart_map.scss +7 -7
- package/styles/parts/_core.scss +115 -116
- package/styles/parts/_gauge.scss +40 -39
- package/styles/parts/_grid.scss +447 -410
- package/styles/parts/_grid_cellmaker.scss +92 -86
- package/styles/parts/_grid_filter.scss +157 -161
- package/styles/parts/_grid_grouppanel.scss +74 -74
- package/styles/parts/_grid_multirow.scss +65 -64
- package/styles/parts/_grid_search.scss +27 -26
- package/styles/parts/_grid_selector.scss +12 -12
- package/styles/parts/_grid_sheet.scss +176 -176
- package/styles/parts/_grid_transposed_multirow.scss +9 -10
- package/styles/parts/_input.scss +812 -810
- package/styles/parts/_labeled_input.scss +198 -194
- package/styles/parts/_nav.scss +263 -259
- package/styles/parts/_olap.scss +230 -224
- package/styles/parts/_viewer.scss +1005 -989
- package/styles/themes/material/wijmo.theme.material.amber-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.amber-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.amber-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.blue_grey-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.blue_grey-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.brown-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.brown-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.cyan-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.cyan-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_orange-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_orange-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.deep_purple-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.deep_purple-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.green-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.green-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.grey-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.grey-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.indigo-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.indigo-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_blue-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_blue-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.light_green-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.light_green-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.lime-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.lime-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.orange-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.orange-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.pink-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.pink-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.purple-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.purple-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-teal.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.red-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.red-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.teal-yellow.css +1 -1
- package/styles/themes/material/wijmo.theme.material.teal-yellow.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-amber.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-amber.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-cyan.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-cyan.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-deep_orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-deep_orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-deep_purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-deep_purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-indigo.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-indigo.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-light_blue.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-light_blue.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-light_green.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-light_green.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-lime.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-lime.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-orange.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-orange.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-pink.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-pink.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-purple.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-purple.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-red.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-red.scss +1 -2
- package/styles/themes/material/wijmo.theme.material.yellow-teal.css +1 -1
- package/styles/themes/material/wijmo.theme.material.yellow-teal.scss +1 -2
- package/styles/themes/wijmo.theme.cerulean.css +1 -1
- package/styles/themes/wijmo.theme.cerulean.scss +1 -2
- package/styles/themes/wijmo.theme.cleandark.css +1 -1
- package/styles/themes/wijmo.theme.cleandark.scss +2 -3
- package/styles/themes/wijmo.theme.cleanlight.css +1 -1
- package/styles/themes/wijmo.theme.cleanlight.scss +3 -4
- package/styles/themes/wijmo.theme.cocoa.css +1 -1
- package/styles/themes/wijmo.theme.cocoa.scss +1 -2
- package/styles/themes/wijmo.theme.coral.css +1 -1
- package/styles/themes/wijmo.theme.coral.scss +1 -2
- package/styles/themes/wijmo.theme.cyborg.css +1 -1
- package/styles/themes/wijmo.theme.cyborg.scss +1 -2
- package/styles/themes/wijmo.theme.dark.css +1 -1
- package/styles/themes/wijmo.theme.dark.scss +1 -2
- package/styles/themes/wijmo.theme.darkly.css +1 -1
- package/styles/themes/wijmo.theme.darkly.scss +1 -1
- package/styles/themes/wijmo.theme.flatly.css +1 -1
- package/styles/themes/wijmo.theme.flatly.scss +2 -3
- package/styles/themes/wijmo.theme.grayscale.css +1 -1
- package/styles/themes/wijmo.theme.grayscale.scss +1 -1
- package/styles/themes/wijmo.theme.highcontrast.css +1 -1
- package/styles/themes/wijmo.theme.highcontrast.scss +9 -9
- package/styles/themes/wijmo.theme.light.css +1 -1
- package/styles/themes/wijmo.theme.light.scss +1 -1
- package/styles/themes/wijmo.theme.material.amber-indigo.css +1 -1
- package/styles/themes/wijmo.theme.material.amber-indigo.scss +1 -2
- package/styles/themes/wijmo.theme.material.css +1 -1
- package/styles/themes/wijmo.theme.material.indigo-orange.css +1 -1
- package/styles/themes/wijmo.theme.material.indigo-orange.scss +1 -1
- package/styles/themes/wijmo.theme.material.scss +33 -29
- package/styles/themes/wijmo.theme.material.vars.css +1 -1
- package/styles/themes/wijmo.theme.material.vars.scss +1 -1
- package/styles/themes/wijmo.theme.midnight.css +1 -1
- package/styles/themes/wijmo.theme.midnight.scss +1 -1
- package/styles/themes/wijmo.theme.minimal.css +1 -1
- package/styles/themes/wijmo.theme.minimal.scss +1 -1
- package/styles/themes/wijmo.theme.modern.css +1 -1
- package/styles/themes/wijmo.theme.modern.scss +1 -1
- package/styles/themes/wijmo.theme.office.css +1 -1
- package/styles/themes/wijmo.theme.office.scss +1 -1
- package/styles/themes/wijmo.theme.organic.css +1 -1
- package/styles/themes/wijmo.theme.organic.scss +2 -2
- package/styles/themes/wijmo.theme.paper.css +1 -1
- package/styles/themes/wijmo.theme.paper.scss +1 -1
- package/styles/themes/wijmo.theme.simplex.css +1 -1
- package/styles/themes/wijmo.theme.simplex.scss +1 -1
- package/styles/themes/wijmo.theme.slate.css +1 -1
- package/styles/themes/wijmo.theme.slate.scss +1 -1
- package/styles/themes/wijmo.theme.superhero.css +1 -1
- package/styles/themes/wijmo.theme.superhero.scss +1 -1
- package/styles/themes/wijmo.theme.trust.css +1 -1
- package/styles/themes/wijmo.theme.trust.scss +1 -1
- package/styles/themes/wijmo.theme.zen.css +1 -1
- package/styles/themes/wijmo.theme.zen.scss +1 -1
- package/styles/wijmo-core.css +1 -1
- package/styles/wijmo-core.scss +5 -5
- package/styles/wijmo.css +1 -1
- package/styles/wijmo.scss +1 -1
- package/wijmo.angular.base.d.ts +1 -1
- package/wijmo.angular.base.js +1 -1
- package/wijmo.angular.chart.analytics.d.ts +1 -1
- package/wijmo.angular.chart.analytics.js +1 -1
- package/wijmo.angular.chart.animation.d.ts +1 -1
- package/wijmo.angular.chart.animation.js +1 -1
- package/wijmo.angular.chart.annotation.d.ts +1 -1
- package/wijmo.angular.chart.annotation.js +1 -1
- package/wijmo.angular.chart.d.ts +1 -1
- package/wijmo.angular.chart.finance.analytics.d.ts +1 -1
- package/wijmo.angular.chart.finance.analytics.js +1 -1
- package/wijmo.angular.chart.finance.d.ts +1 -1
- package/wijmo.angular.chart.finance.js +1 -1
- package/wijmo.angular.chart.hierarchical.d.ts +1 -1
- package/wijmo.angular.chart.hierarchical.js +1 -1
- package/wijmo.angular.chart.interaction.d.ts +1 -1
- package/wijmo.angular.chart.interaction.js +1 -1
- package/wijmo.angular.chart.js +1 -1
- package/wijmo.angular.chart.radar.d.ts +1 -1
- package/wijmo.angular.chart.radar.js +1 -1
- package/wijmo.angular.core.d.ts +1 -1
- package/wijmo.angular.core.js +1 -1
- package/wijmo.angular.gauge.d.ts +1 -1
- package/wijmo.angular.gauge.js +1 -1
- package/wijmo.angular.grid.d.ts +1 -1
- package/wijmo.angular.grid.detail.d.ts +1 -1
- package/wijmo.angular.grid.detail.js +1 -1
- package/wijmo.angular.grid.filter.d.ts +1 -1
- package/wijmo.angular.grid.filter.js +1 -1
- package/wijmo.angular.grid.grouppanel.d.ts +1 -1
- package/wijmo.angular.grid.grouppanel.js +1 -1
- package/wijmo.angular.grid.js +1 -1
- package/wijmo.angular.grid.multirow.d.ts +1 -1
- package/wijmo.angular.grid.multirow.js +1 -1
- package/wijmo.angular.grid.sheet.d.ts +1 -1
- package/wijmo.angular.grid.sheet.js +1 -1
- package/wijmo.angular.input.d.ts +1 -1
- package/wijmo.angular.input.js +1 -1
- package/wijmo.angular.nav.d.ts +1 -1
- package/wijmo.angular.nav.js +1 -1
- package/wijmo.angular.olap.d.ts +1 -1
- package/wijmo.angular.olap.js +1 -1
- package/wijmo.angular.viewer.d.ts +1 -1
- package/wijmo.angular.viewer.js +1 -1
- package/wijmo.angular2.barcode.common.d.ts +30 -30
- package/wijmo.angular2.barcode.common.js +1 -1
- package/wijmo.angular2.barcode.composite.d.ts +28 -28
- package/wijmo.angular2.barcode.composite.js +1 -1
- package/wijmo.angular2.barcode.specialized.d.ts +24 -24
- package/wijmo.angular2.barcode.specialized.js +1 -1
- package/wijmo.angular2.chart.analytics.d.ts +26 -26
- package/wijmo.angular2.chart.analytics.js +1 -1
- package/wijmo.angular2.chart.animation.d.ts +26 -26
- package/wijmo.angular2.chart.animation.js +1 -1
- package/wijmo.angular2.chart.annotation.d.ts +45 -45
- package/wijmo.angular2.chart.annotation.js +1 -1
- package/wijmo.angular2.chart.d.ts +42 -42
- package/wijmo.angular2.chart.finance.analytics.d.ts +36 -36
- package/wijmo.angular2.chart.finance.analytics.js +1 -1
- package/wijmo.angular2.chart.finance.d.ts +26 -26
- package/wijmo.angular2.chart.finance.js +1 -1
- package/wijmo.angular2.chart.finance.metadata.json +1 -1
- package/wijmo.angular2.chart.hierarchical.d.ts +25 -25
- package/wijmo.angular2.chart.hierarchical.js +1 -1
- package/wijmo.angular2.chart.interaction.d.ts +28 -28
- package/wijmo.angular2.chart.interaction.js +1 -1
- package/wijmo.angular2.chart.js +1 -1
- package/wijmo.angular2.chart.map.d.ts +20 -20
- package/wijmo.angular2.chart.map.js +1 -1
- package/wijmo.angular2.chart.map.metadata.json +1 -1
- package/wijmo.angular2.chart.metadata.json +1 -1
- package/wijmo.angular2.chart.radar.d.ts +28 -28
- package/wijmo.angular2.chart.radar.js +1 -1
- package/wijmo.angular2.chart.radar.metadata.json +1 -1
- package/wijmo.angular2.core.d.ts +47 -47
- package/wijmo.angular2.core.js +2 -2
- package/wijmo.angular2.core.metadata.json +1 -1
- package/wijmo.angular2.directiveBase.d.ts +67 -68
- package/wijmo.angular2.directiveBase.js +2 -2
- package/wijmo.angular2.directiveBase.metadata.json +1 -1
- package/wijmo.angular2.gauge.d.ts +27 -27
- package/wijmo.angular2.gauge.js +1 -1
- package/wijmo.angular2.gauge.metadata.json +1 -1
- package/wijmo.angular2.grid.d.ts +45 -45
- package/wijmo.angular2.grid.detail.d.ts +39 -39
- package/wijmo.angular2.grid.detail.js +2 -2
- package/wijmo.angular2.grid.filter.d.ts +25 -25
- package/wijmo.angular2.grid.filter.js +1 -1
- package/wijmo.angular2.grid.grouppanel.d.ts +28 -28
- package/wijmo.angular2.grid.grouppanel.js +1 -1
- package/wijmo.angular2.grid.js +2 -2
- package/wijmo.angular2.grid.multirow.d.ts +24 -24
- package/wijmo.angular2.grid.multirow.js +1 -1
- package/wijmo.angular2.grid.multirow.metadata.json +1 -1
- package/wijmo.angular2.grid.search.d.ts +12 -12
- package/wijmo.angular2.grid.search.js +1 -1
- package/wijmo.angular2.grid.sheet.d.ts +22 -22
- package/wijmo.angular2.grid.sheet.js +1 -1
- package/wijmo.angular2.grid.sheet.metadata.json +1 -1
- package/wijmo.angular2.grid.transposed.d.ts +14 -14
- package/wijmo.angular2.grid.transposed.js +2 -2
- package/wijmo.angular2.grid.transposedmultirow.d.ts +12 -12
- package/wijmo.angular2.grid.transposedmultirow.js +1 -1
- package/wijmo.angular2.input.d.ts +97 -97
- package/wijmo.angular2.input.js +2 -2
- package/wijmo.angular2.input.metadata.json +1 -1
- package/wijmo.angular2.nav.d.ts +31 -31
- package/wijmo.angular2.nav.js +1 -1
- package/wijmo.angular2.nav.metadata.json +1 -1
- package/wijmo.angular2.olap.d.ts +27 -27
- package/wijmo.angular2.olap.js +1 -1
- package/wijmo.angular2.viewer.d.ts +25 -25
- package/wijmo.angular2.viewer.js +1 -1
- package/wijmo.angular2.viewer.metadata.json +1 -1
- package/wijmo.barcode.common.d.ts +36 -36
- package/wijmo.barcode.common.js +2 -2
- package/wijmo.barcode.composite.d.ts +18 -19
- package/wijmo.barcode.composite.js +2 -2
- package/wijmo.barcode.d.ts +19 -19
- package/wijmo.barcode.js +2 -2
- package/wijmo.barcode.specialized.d.ts +5 -6
- package/wijmo.barcode.specialized.js +2 -2
- package/wijmo.chart.analytics.d.ts +7 -8
- package/wijmo.chart.analytics.js +2 -2
- package/wijmo.chart.animation.d.ts +2 -2
- package/wijmo.chart.animation.js +2 -2
- package/wijmo.chart.annotation.d.ts +21 -21
- package/wijmo.chart.annotation.js +2 -2
- package/wijmo.chart.d.ts +442 -454
- package/wijmo.chart.finance.analytics.d.ts +10 -10
- package/wijmo.chart.finance.analytics.js +2 -2
- package/wijmo.chart.finance.d.ts +10 -10
- package/wijmo.chart.finance.js +2 -2
- package/wijmo.chart.hierarchical.d.ts +16 -19
- package/wijmo.chart.hierarchical.js +2 -2
- package/wijmo.chart.interaction.d.ts +37 -38
- package/wijmo.chart.interaction.js +2 -2
- package/wijmo.chart.js +2 -2
- package/wijmo.chart.map.d.ts +59 -60
- package/wijmo.chart.map.js +2 -2
- package/wijmo.chart.radar.d.ts +7 -8
- package/wijmo.chart.radar.js +2 -2
- package/wijmo.chart.render.d.ts +14 -14
- package/wijmo.chart.render.js +2 -2
- package/wijmo.chart.webgl.d.ts +3 -6
- package/wijmo.chart.webgl.js +2 -2
- package/wijmo.cloud.d.ts +1 -1
- package/wijmo.cloud.js +2 -2
- package/wijmo.d.ts +44 -44
- package/wijmo.gauge.d.ts +4 -4
- package/wijmo.gauge.js +2 -2
- package/wijmo.grid.cellmaker.d.ts +1 -1
- package/wijmo.grid.cellmaker.js +2 -2
- package/wijmo.grid.d.ts +104 -106
- package/wijmo.grid.detail.d.ts +5 -5
- package/wijmo.grid.detail.js +2 -2
- package/wijmo.grid.filter.d.ts +30 -30
- package/wijmo.grid.filter.js +2 -2
- package/wijmo.grid.grouppanel.d.ts +7 -7
- package/wijmo.grid.grouppanel.js +2 -2
- package/wijmo.grid.immutable.d.ts +2 -2
- package/wijmo.grid.immutable.js +2 -2
- package/wijmo.grid.js +2 -2
- package/wijmo.grid.multirow.d.ts +3 -3
- package/wijmo.grid.multirow.js +2 -2
- package/wijmo.grid.pdf.d.ts +243 -243
- package/wijmo.grid.pdf.js +2 -2
- package/wijmo.grid.search.d.ts +1 -1
- package/wijmo.grid.search.js +1 -1
- package/wijmo.grid.selector.d.ts +5 -6
- package/wijmo.grid.selector.js +2 -2
- package/wijmo.grid.sheet.d.ts +27 -28
- package/wijmo.grid.sheet.js +2 -2
- package/wijmo.grid.style.d.ts +19 -19
- package/wijmo.grid.style.js +1 -1
- package/wijmo.grid.transposed.d.ts +2 -2
- package/wijmo.grid.transposed.js +2 -2
- package/wijmo.grid.transposedmultirow.d.ts +2 -2
- package/wijmo.grid.transposedmultirow.js +1 -1
- package/wijmo.grid.xlsx.d.ts +1 -1
- package/wijmo.grid.xlsx.js +2 -2
- package/wijmo.input.d.ts +17 -17
- package/wijmo.input.js +2 -2
- package/wijmo.interop.grid.d.ts +5 -7
- package/wijmo.interop.grid.js +2 -2
- package/wijmo.js +2 -2
- package/wijmo.knockout.base.d.ts +1 -1
- package/wijmo.knockout.base.js +1 -1
- package/wijmo.knockout.chart.analytics.d.ts +1 -1
- package/wijmo.knockout.chart.analytics.js +1 -1
- package/wijmo.knockout.chart.animation.d.ts +1 -1
- package/wijmo.knockout.chart.animation.js +1 -1
- package/wijmo.knockout.chart.annotation.d.ts +1 -1
- package/wijmo.knockout.chart.annotation.js +1 -1
- package/wijmo.knockout.chart.d.ts +1 -1
- package/wijmo.knockout.chart.finance.analytics.d.ts +1 -1
- package/wijmo.knockout.chart.finance.analytics.js +1 -1
- package/wijmo.knockout.chart.finance.d.ts +1 -1
- package/wijmo.knockout.chart.finance.js +1 -1
- package/wijmo.knockout.chart.interaction.d.ts +1 -1
- package/wijmo.knockout.chart.interaction.js +1 -1
- package/wijmo.knockout.chart.js +1 -1
- package/wijmo.knockout.core.d.ts +1 -1
- package/wijmo.knockout.core.js +1 -1
- package/wijmo.knockout.gauge.d.ts +1 -1
- package/wijmo.knockout.gauge.js +1 -1
- package/wijmo.knockout.grid.d.ts +1 -1
- package/wijmo.knockout.grid.filter.d.ts +1 -1
- package/wijmo.knockout.grid.filter.js +1 -1
- package/wijmo.knockout.grid.grouppanel.d.ts +1 -1
- package/wijmo.knockout.grid.grouppanel.js +1 -1
- package/wijmo.knockout.grid.js +1 -1
- package/wijmo.knockout.grid.multirow.d.ts +1 -1
- package/wijmo.knockout.grid.multirow.js +1 -1
- package/wijmo.knockout.grid.sheet.d.ts +1 -1
- package/wijmo.knockout.grid.sheet.js +1 -1
- package/wijmo.knockout.input.d.ts +1 -1
- package/wijmo.knockout.input.js +1 -1
- package/wijmo.knockout.nav.d.ts +1 -1
- package/wijmo.knockout.nav.js +1 -1
- package/wijmo.knockout.olap.d.ts +1 -1
- package/wijmo.knockout.olap.js +1 -1
- package/wijmo.meta.d.ts +2 -2
- package/wijmo.meta.js +2 -2
- package/wijmo.nav.d.ts +8 -8
- package/wijmo.nav.js +2 -2
- package/wijmo.odata.d.ts +25 -27
- package/wijmo.odata.js +2 -2
- package/wijmo.olap.d.ts +10 -12
- package/wijmo.olap.js +2 -2
- package/wijmo.pdf.d.ts +1562 -1563
- package/wijmo.pdf.js +2 -2
- package/wijmo.pdf.security.d.ts +2 -2
- package/wijmo.pdf.security.js +2 -2
- package/wijmo.react.barcode.base.d.ts +1 -1
- package/wijmo.react.barcode.base.js +1 -1
- package/wijmo.react.barcode.common.d.ts +1 -1
- package/wijmo.react.barcode.common.js +1 -1
- package/wijmo.react.barcode.composite.d.ts +1 -1
- package/wijmo.react.barcode.composite.js +1 -1
- package/wijmo.react.barcode.specialized.d.ts +1 -1
- package/wijmo.react.barcode.specialized.js +1 -1
- package/wijmo.react.base.d.ts +50 -50
- package/wijmo.react.base.js +1 -1
- package/wijmo.react.chart.analytics.d.ts +1 -1
- package/wijmo.react.chart.analytics.js +1 -1
- package/wijmo.react.chart.animation.d.ts +1 -1
- package/wijmo.react.chart.animation.js +1 -1
- package/wijmo.react.chart.annotation.d.ts +18 -18
- package/wijmo.react.chart.annotation.js +1 -1
- package/wijmo.react.chart.d.ts +4 -4
- package/wijmo.react.chart.finance.analytics.d.ts +1 -1
- package/wijmo.react.chart.finance.analytics.js +1 -1
- package/wijmo.react.chart.finance.d.ts +1 -1
- package/wijmo.react.chart.finance.js +1 -1
- package/wijmo.react.chart.hierarchical.d.ts +1 -1
- package/wijmo.react.chart.hierarchical.js +1 -1
- package/wijmo.react.chart.interaction.d.ts +2 -2
- package/wijmo.react.chart.interaction.js +1 -1
- package/wijmo.react.chart.js +1 -1
- package/wijmo.react.chart.map.d.ts +1 -1
- package/wijmo.react.chart.map.js +1 -1
- package/wijmo.react.chart.radar.d.ts +1 -1
- package/wijmo.react.chart.radar.js +1 -1
- package/wijmo.react.gauge.d.ts +1 -1
- package/wijmo.react.gauge.js +1 -1
- package/wijmo.react.grid.d.ts +5 -5
- package/wijmo.react.grid.detail.d.ts +2 -3
- package/wijmo.react.grid.detail.js +2 -2
- package/wijmo.react.grid.filter.d.ts +1 -1
- package/wijmo.react.grid.filter.js +1 -1
- package/wijmo.react.grid.grouppanel.d.ts +1 -1
- package/wijmo.react.grid.grouppanel.js +1 -1
- package/wijmo.react.grid.immutable.d.ts +1 -1
- package/wijmo.react.grid.immutable.js +1 -1
- package/wijmo.react.grid.js +2 -2
- package/wijmo.react.grid.multirow.d.ts +1 -1
- package/wijmo.react.grid.multirow.js +1 -1
- package/wijmo.react.grid.search.d.ts +1 -1
- package/wijmo.react.grid.search.js +1 -1
- package/wijmo.react.grid.sheet.d.ts +1 -1
- package/wijmo.react.grid.sheet.js +1 -1
- package/wijmo.react.grid.transposed.d.ts +1 -1
- package/wijmo.react.grid.transposed.js +1 -1
- package/wijmo.react.grid.transposedmultirow.d.ts +1 -1
- package/wijmo.react.grid.transposedmultirow.js +1 -1
- package/wijmo.react.input.d.ts +2 -3
- package/wijmo.react.input.js +2 -2
- package/wijmo.react.nav.d.ts +3 -3
- package/wijmo.react.nav.js +1 -1
- package/wijmo.react.olap.d.ts +1 -1
- package/wijmo.react.olap.js +1 -1
- package/wijmo.react.viewer.d.ts +1 -1
- package/wijmo.react.viewer.js +1 -1
- package/wijmo.rest.d.ts +28 -28
- package/wijmo.rest.js +2 -2
- package/wijmo.touch.d.ts +1 -2
- package/wijmo.touch.js +2 -2
- package/wijmo.undo.d.ts +4 -4
- package/wijmo.undo.js +2 -2
- package/wijmo.viewer.d.ts +388 -407
- package/wijmo.viewer.js +2 -2
- package/wijmo.vue2.barcode.common.d.ts +1 -1
- package/wijmo.vue2.barcode.common.js +1 -1
- package/wijmo.vue2.barcode.composite.d.ts +1 -1
- package/wijmo.vue2.barcode.composite.js +1 -1
- package/wijmo.vue2.barcode.specialized.d.ts +1 -1
- package/wijmo.vue2.barcode.specialized.js +1 -1
- package/wijmo.vue2.base.d.ts +1 -2
- package/wijmo.vue2.base.js +2 -2
- package/wijmo.vue2.chart.analytics.d.ts +1 -1
- package/wijmo.vue2.chart.analytics.js +1 -1
- package/wijmo.vue2.chart.animation.d.ts +1 -1
- package/wijmo.vue2.chart.animation.js +1 -1
- package/wijmo.vue2.chart.annotation.d.ts +1 -1
- package/wijmo.vue2.chart.annotation.js +1 -1
- package/wijmo.vue2.chart.d.ts +1 -1
- package/wijmo.vue2.chart.finance.analytics.d.ts +1 -1
- package/wijmo.vue2.chart.finance.analytics.js +1 -1
- package/wijmo.vue2.chart.finance.d.ts +1 -1
- package/wijmo.vue2.chart.finance.js +1 -1
- package/wijmo.vue2.chart.hierarchical.d.ts +1 -1
- package/wijmo.vue2.chart.hierarchical.js +1 -1
- package/wijmo.vue2.chart.interaction.d.ts +1 -1
- package/wijmo.vue2.chart.interaction.js +1 -1
- package/wijmo.vue2.chart.js +1 -1
- package/wijmo.vue2.chart.map.d.ts +1 -1
- package/wijmo.vue2.chart.map.js +1 -1
- package/wijmo.vue2.chart.radar.d.ts +1 -1
- package/wijmo.vue2.chart.radar.js +1 -1
- package/wijmo.vue2.core.d.ts +33 -33
- package/wijmo.vue2.core.js +1 -1
- package/wijmo.vue2.gauge.d.ts +1 -1
- package/wijmo.vue2.gauge.js +1 -1
- package/wijmo.vue2.grid.d.ts +280 -280
- package/wijmo.vue2.grid.detail.d.ts +1 -1
- package/wijmo.vue2.grid.detail.js +1 -1
- package/wijmo.vue2.grid.filter.d.ts +1 -1
- package/wijmo.vue2.grid.filter.js +1 -1
- package/wijmo.vue2.grid.grouppanel.d.ts +1 -1
- package/wijmo.vue2.grid.grouppanel.js +1 -1
- package/wijmo.vue2.grid.js +2 -2
- package/wijmo.vue2.grid.multirow.d.ts +245 -245
- package/wijmo.vue2.grid.multirow.js +1 -1
- package/wijmo.vue2.grid.search.d.ts +1 -1
- package/wijmo.vue2.grid.search.js +1 -1
- package/wijmo.vue2.grid.sheet.d.ts +1 -1
- package/wijmo.vue2.grid.sheet.js +1 -1
- package/wijmo.vue2.grid.transposed.d.ts +1 -1
- package/wijmo.vue2.grid.transposed.js +1 -1
- package/wijmo.vue2.grid.transposedmultirow.d.ts +1 -1
- package/wijmo.vue2.grid.transposedmultirow.js +1 -1
- package/wijmo.vue2.input.d.ts +1 -1
- package/wijmo.vue2.input.js +1 -1
- package/wijmo.vue2.nav.d.ts +1 -1
- package/wijmo.vue2.nav.js +1 -1
- package/wijmo.vue2.olap.d.ts +1 -1
- package/wijmo.vue2.olap.js +1 -1
- package/wijmo.vue2.viewer.d.ts +1 -1
- package/wijmo.vue2.viewer.js +1 -1
- package/wijmo.webcomponents.barcode.common.d.ts +1 -1
- package/wijmo.webcomponents.barcode.common.js +1 -1
- package/wijmo.webcomponents.barcode.composite.d.ts +1 -1
- package/wijmo.webcomponents.barcode.composite.js +1 -1
- package/wijmo.webcomponents.barcode.specialized.d.ts +1 -1
- package/wijmo.webcomponents.barcode.specialized.js +1 -1
- package/wijmo.webcomponents.base.d.ts +1 -1
- package/wijmo.webcomponents.base.js +1 -1
- package/wijmo.webcomponents.chart.analytics.d.ts +1 -1
- package/wijmo.webcomponents.chart.analytics.js +1 -1
- package/wijmo.webcomponents.chart.animation.d.ts +1 -1
- package/wijmo.webcomponents.chart.animation.js +1 -1
- package/wijmo.webcomponents.chart.d.ts +1 -1
- package/wijmo.webcomponents.chart.finance.analytics.d.ts +1 -1
- package/wijmo.webcomponents.chart.finance.analytics.js +1 -1
- package/wijmo.webcomponents.chart.finance.d.ts +1 -1
- package/wijmo.webcomponents.chart.finance.js +1 -1
- package/wijmo.webcomponents.chart.hierarchical.d.ts +1 -1
- package/wijmo.webcomponents.chart.hierarchical.js +1 -1
- package/wijmo.webcomponents.chart.interaction.d.ts +1 -1
- package/wijmo.webcomponents.chart.interaction.js +1 -1
- package/wijmo.webcomponents.chart.js +1 -1
- package/wijmo.webcomponents.chart.map.d.ts +1 -1
- package/wijmo.webcomponents.chart.map.js +1 -1
- package/wijmo.webcomponents.chart.radar.d.ts +1 -1
- package/wijmo.webcomponents.chart.radar.js +1 -1
- package/wijmo.webcomponents.gauge.d.ts +1 -1
- package/wijmo.webcomponents.gauge.js +1 -1
- package/wijmo.webcomponents.grid.d.ts +1 -1
- package/wijmo.webcomponents.grid.filter.d.ts +1 -1
- package/wijmo.webcomponents.grid.filter.js +1 -1
- package/wijmo.webcomponents.grid.grouppanel.d.ts +1 -1
- package/wijmo.webcomponents.grid.grouppanel.js +1 -1
- package/wijmo.webcomponents.grid.js +1 -1
- package/wijmo.webcomponents.grid.multirow.d.ts +1 -1
- package/wijmo.webcomponents.grid.multirow.js +1 -1
- package/wijmo.webcomponents.grid.search.d.ts +1 -1
- package/wijmo.webcomponents.grid.search.js +1 -1
- package/wijmo.webcomponents.grid.sheet.d.ts +1 -1
- package/wijmo.webcomponents.grid.sheet.js +1 -1
- package/wijmo.webcomponents.grid.transposed.d.ts +1 -1
- package/wijmo.webcomponents.grid.transposed.js +1 -1
- package/wijmo.webcomponents.grid.transposedmultirow.d.ts +1 -1
- package/wijmo.webcomponents.grid.transposedmultirow.js +1 -1
- package/wijmo.webcomponents.input.d.ts +1 -1
- package/wijmo.webcomponents.input.js +1 -1
- package/wijmo.webcomponents.nav.d.ts +1 -1
- package/wijmo.webcomponents.nav.js +1 -1
- package/wijmo.webcomponents.olap.d.ts +1 -1
- package/wijmo.webcomponents.olap.js +1 -1
- package/wijmo.webcomponents.viewer.d.ts +1 -1
- package/wijmo.webcomponents.viewer.js +1 -1
- package/wijmo.xlsx.d.ts +4704 -4711
- package/wijmo.xlsx.js +2 -2
package/wijmo.chart.animation.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.20261.45-nightly.
|
|
3
|
+
* Wijmo Library 5.20261.45-nightly.d20260105.t014601
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
*
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(t,e){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)};return function(t,e){extendStatics(t,e);function __(){this.constructor=t}t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}}(),__importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.hasOwnProperty.call(t,i)&&(e[i]=t[i]);e.default=t;return e};Object.defineProperty(exports,"__esModule",{value:!0});var Easing,AnimationMode,wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),selfModule=__importStar(require("wijmo/wijmo.chart.animation"));function softFinancial(){return wijmo_1._getModule("wijmo.chart.finance")}exports.softFinancial=softFinancial;function softRadar(){return wijmo_1._getModule("wijmo.chart.radar")}exports.softRadar=softRadar;!function(t){t[t.Linear=0]="Linear";t[t.Swing=1]="Swing";t[t.EaseInQuad=2]="EaseInQuad";t[t.EaseOutQuad=3]="EaseOutQuad";t[t.EaseInOutQuad=4]="EaseInOutQuad";t[t.EaseInCubic=5]="EaseInCubic";t[t.EaseOutCubic=6]="EaseOutCubic";t[t.EaseInOutCubic=7]="EaseInOutCubic";t[t.EaseInQuart=8]="EaseInQuart";t[t.EaseOutQuart=9]="EaseOutQuart";t[t.EaseInOutQuart=10]="EaseInOutQuart";t[t.EaseInQuint=11]="EaseInQuint";t[t.EaseOutQuint=12]="EaseOutQuint";t[t.EaseInOutQuint=13]="EaseInOutQuint";t[t.EaseInSine=14]="EaseInSine";t[t.EaseOutSine=15]="EaseOutSine";t[t.EaseInOutSine=16]="EaseInOutSine";t[t.EaseInExpo=17]="EaseInExpo";t[t.EaseOutExpo=18]="EaseOutExpo";t[t.EaseInOutExpo=19]="EaseInOutExpo";t[t.EaseInCirc=20]="EaseInCirc";t[t.EaseOutCirc=21]="EaseOutCirc";t[t.EaseInOutCirc=22]="EaseInOutCirc";t[t.EaseInBack=23]="EaseInBack";t[t.EaseOutBack=24]="EaseOutBack";t[t.EaseInOutBack=25]="EaseInOutBack";t[t.EaseInBounce=26]="EaseInBounce";t[t.EaseOutBounce=27]="EaseOutBounce";t[t.EaseInOutBounce=28]="EaseInOutBounce";t[t.EaseInElastic=29]="EaseInElastic";t[t.EaseOutElastic=30]="EaseOutElastic";t[t.EaseInOutElastic=31]="EaseInOutElastic"}(Easing=exports.Easing||(exports.Easing={}));!function(t){t[t.All=0]="All";t[t.Point=1]="Point";t[t.Series=2]="Series"}(AnimationMode=exports.AnimationMode||(exports.AnimationMode={}));var ChartAnimation=function(){function ChartAnimation(t,e){this._play=!0;this.ended=new wijmo_1.Event;var i=this,n=t.hostElement,a=new wijmo_1.Size(n.offsetWidth,n.offsetHeight);i._chart=t;i._updateEventArgs=[];if(t instanceof wijmo_chart_1.FlexPie)i._animation=new FlexPieAnimation(t,i._updateEventArgs);else{softRadar()&&t instanceof softRadar().FlexRadar?i._animation=new FlexRadarAnimation(t,i._updateEventArgs):t instanceof wijmo_chart_1.FlexChartCore&&(i._animation=new FlexChartAnimation(t,i._updateEventArgs));i._chartType=t.chartType}wijmo_1.assert(void 0!==i._animation,"Animation is not supported");i._initOptions(e);t.beginUpdate();window.setTimeout((function(){t.rendered.addHandler(i._playAnimation,i);t.endUpdate()}),0);i._setCV(t.collectionView);window.addEventListener("resize",(function(t){var e=new wijmo_1.Size(n.offsetWidth,n.offsetHeight);if(!a.equals(e)){i._play=!1;a=e}}))}ChartAnimation.prototype._initOptions=function(t){if(t){t.duration&&(this.duration=t.duration);t.easing&&(this.easing=t.easing);t.animationMode&&(this.animationMode=t.animationMode);void 0!==t.axisAnimation&&(this.axisAnimation=t.axisAnimation)}};ChartAnimation.prototype._setCV=function(t){this._cv=t;this._animation._clearState()};Object.defineProperty(ChartAnimation.prototype,"animationMode",{get:function(){return this._animation.animationMode},set:function(t){(t=wijmo_1.asEnum(t,AnimationMode))!=this.animationMode&&(this._animation.animationMode=t)},enumerable:!0,configurable:!0});Object.defineProperty(ChartAnimation.prototype,"easing",{get:function(){return this._animation.easing},set:function(t){(t=wijmo_1.asEnum(t,Easing))!=this.easing&&(this._animation.easing=t)},enumerable:!0,configurable:!0});Object.defineProperty(ChartAnimation.prototype,"duration",{get:function(){return this._animation.duration},set:function(t){(t=wijmo_1.asNumber(t))!=this.duration&&(this._animation.duration=t)},enumerable:!0,configurable:!0});Object.defineProperty(ChartAnimation.prototype,"axisAnimation",{get:function(){return this._animation.axisAnimation},set:function(t){(t=wijmo_1.asBoolean(t))!=this.axisAnimation&&(this._animation.axisAnimation=t)},enumerable:!0,configurable:!0});Object.defineProperty(ChartAnimation.prototype,"chart",{get:function(){return this._chart},enumerable:!0,configurable:!0});ChartAnimation.prototype._playAnimation=function(){var t=this,e=t._chart,i=e.chartType;t._cv!==e.collectionView&&t._setCV(e.collectionView);if(null!=t._chartType&&t._chartType!==i){t._chartType=i;t._animation._clearState()}t._play?t._animation.playAnimation((function(){return t.ended.raise(t,wijmo_1.EventArgs.empty)})):t._play=!0};ChartAnimation.prototype.animate=function(){var t=this._chart;if(t){var e=t.itemsSource;t.beginUpdate();t.itemsSource=null;t.itemsSource=e;t.endUpdate()}};return ChartAnimation}();exports.ChartAnimation=ChartAnimation;var FlexAnimation=function(){function FlexAnimation(t,e){this._axisAnimation=!0;this._chart=t;this._timers=[]}Object.defineProperty(FlexAnimation.prototype,"animationMode",{get:function(){return this._animationMode||AnimationMode.All},set:function(t){if((t=wijmo_1.asEnum(t,AnimationMode,!1))!==this._animationMode){this._clearState();this._animationMode=t}},enumerable:!0,configurable:!0});Object.defineProperty(FlexAnimation.prototype,"easing",{get:function(){return null==this._easing?Easing.Swing:this._easing},set:function(t){t!==this._easing&&(this._easing=wijmo_1.asEnum(t,Easing,!1))},enumerable:!0,configurable:!0});Object.defineProperty(FlexAnimation.prototype,"duration",{get:function(){return this._duration||400},set:function(t){t!==this._duration&&(this._duration=wijmo_1.asNumber(t,!1,!0))},enumerable:!0,configurable:!0});Object.defineProperty(FlexAnimation.prototype,"axisAnimation",{get:function(){return!!this._axisAnimation},set:function(t){t!==this._axisAnimation&&(this._axisAnimation=wijmo_1.asBoolean(t,!1))},enumerable:!0,configurable:!0});FlexAnimation.prototype.playAnimation=function(t){};FlexAnimation.prototype._clearState=function(){this._previousState&&(this._previousState=null);this._currentState&&(this._currentState=null)};FlexAnimation.prototype._setInitState=function(t,e,i){var n=AnimationHelper.parseAttrs(e,i);AnimationHelper.setElementAttr(t,n,0)};FlexAnimation.prototype._getAnimation=function(t,e){t[e]||(t[e]=[]);return t[e]};FlexAnimation.prototype._toggleVisibility=function(t,e){e?AnimationHelper.playAnimation(t,{opacity:0},{opacity:1},null,Easing.Swing,100):t.setAttribute("opacity","0")};FlexAnimation.prototype._toggleDataLabelVisibility=function(t){var e=this._chart.hostElement,i=e&&e.querySelector("."+wijmo_chart_1.DataLabelClsNames.labels);i&&this._toggleVisibility(i,t)};FlexAnimation.prototype._playAnimation=function(t,e){var i,n=this,a=this,o=a.duration,r=a.easing,s=t.length;a._toggleDataLabelVisibility(!1);i=a._getDurationAndDelay(t.length,o);if(this._timers&&this._timers.length){this._timers.forEach((function(t){return window.clearInterval(t)}));this._timers.length=0}t.forEach((function(t,o){var l;if(t){l=window.setTimeout((function(){var l;t.forEach((function(t,c){if(t&&t.ele){if(o===s-1&&0===c){var u=t.done;t.done=function(){a._toggleDataLabelVisibility(!0);u&&u();e&&e()}}if(wijmo_1.isArray(t.ele)){l=AnimationHelper.playAnimations(t.ele,t.from,t.to,t.done,r,i.duration);n._timers=n._timers.concat.apply(l)}else{l=AnimationHelper.playAnimation(t.ele,t.from,t.to,t.done,r,i.duration);n._timers.push(l)}}}))}),i.delay*o);n._timers.push(l)}}))};FlexAnimation.prototype._getDurationAndDelay=function(t,e){var i={duration:e,delay:0};if(t>1)if(this._previousState){i.duration=e/t;i.delay=e/t}else{i.duration=.5*e;i.delay=.5*e/(t-1)}return i};return FlexAnimation}(),FlexPieAnimation=function(t){__extends(FlexPieAnimation,t);function FlexPieAnimation(e,i){var n=t.call(this,e,i)||this;e.selectionChanged.addHandler(n._selectionChanged,n);return n}FlexPieAnimation.prototype._selectionChanged=function(){this._isSelectionChanged=!0};FlexPieAnimation.prototype._clearState=function(){t.prototype._clearState.call(this);this._isSelectionChanged=!1};FlexPieAnimation.prototype._getElementRotate=function(t){var e,i=t.getAttribute("transform");if(i&&i.indexOf("rotate")>-1){if(1==(i=(i=i.replace("rotate(","").replace(")","")).indexOf(",")>-1?i.split(",").map((function(t){return+t})):i.split(" ").map((function(t){return+t}))).length){e=this._chart._areas[0].center;i.push(e.x,e.y)}}else i=[0,(e=this._chart._areas[0].center).x,e.y];return i};FlexPieAnimation.prototype._getDurationAndDelay=function(t,e){var i={duration:e,delay:0};if(this.animationMode===AnimationMode.Point&&t>1){i.duration=e/t;i.delay=e/t}return i};FlexPieAnimation.prototype.playAnimation=function(e){t.prototype.playAnimation.call(this,e);var i=[];this._playPieAnimation(i);i.length&&this._playAnimation(i,e)};FlexPieAnimation.prototype._playPieAnimation=function(t){var e=this._chart,i=!0;this._previousState=this._currentState;this._currentState={areas:e._areas,pels:e._pels,rotate:e._pels.length&&this._getElementRotate(e._pels[0].parentNode)};this._previousState&&(i=!1);if(this._isSelectionChanged){e.isAnimated||this._playSelectPieAnimation(t);this._isSelectionChanged=!1}else i?this._playLoadPieAnimation(t):this._playUpdatePieAnimation(t)};FlexPieAnimation.prototype._playSelectPieAnimation=function(t){if(null!=this._previousState){var e,i,n,a=this._chart._pels[0].parentNode,o=this._previousState.rotate,r=this._getElementRotate(a),s=o[0],l=r[0];if(s!==l){s-l>180?r[0]+=360:l-s>180&&(o[0]+=360);e=this._getAnimation(t,0);i={rotate:o};n={rotate:r};this._setInitState(a,i,n);e.push({ele:a,from:i,to:n})}}};FlexPieAnimation.prototype._playUpdatePieAnimation=function(t){var e,i,n,a,o=this._chart,r=this._previousState,s=o._areas,l=o._pels,c=r.areas.length,u=s.length,h=Math.max(u,c),m=this._getAnimation(t,0),p=0;if(0!==u&&0!==c){this._playSelectPieAnimation(t);for(e=0;e<h;e++){i={};if(l[e]&&l[e].childNodes&&l[e].childNodes.length>0){if(e<u&&e<c){n=s[0];0===e&&(p=n.angle);1===c?l[e].childNodes[0].setAttribute("d",AnimationHelper.getPathDescOfPie(n.center.x,n.center.y,n.radius,p,2*Math.PI,n.innerRadius||0)):l[e].childNodes[0].setAttribute("d",r.pels[e].childNodes[0].getAttribute("d"))}if(e<u){n=s[e];i.to={pie:[n.center.x,n.center.y,n.radius,n.angle,n.sweep,n.innerRadius||0]};i.ele=l[e].childNodes[0]}else{n=s[0];a=r.pels[e];i.to={pie:[n.center.x,n.center.y,n.radius,p+2*Math.PI,0,n.innerRadius||0]};l[0].parentNode.appendChild(a);i.done=function(t){return function(){t.parentNode.removeChild(t)}}(a);i.ele=a.childNodes[0]}if(e<c){n=r.areas[e];i.from={pie:[n.center.x,n.center.y,n.radius,n.angle,n.sweep,n.innerRadius||0]}}else{l[e].childNodes[0].setAttribute("d",AnimationHelper.getPathDescOfPie(n.center.x,n.center.y,n.radius,2*Math.PI+p,0,n.innerRadius||0));n=r.areas[0];i.from={pie:[n.center.x,n.center.y,n.radius,2*Math.PI+p,0,n.innerRadius||0]}}m.push(i)}}}};FlexPieAnimation.prototype._playLoadPieAnimation=function(t){var e=this,i=e._chart,n=e.animationMode,a=i._areas;i._pels.forEach((function(i,o){var r,s=i.childNodes[0],l={},c={};if(s){if(n===AnimationMode.Point){e._parsePathByAngle(a[o],l,c);r=e._getAnimation(t,o)}else{e._parsePathByRadius(a[o],l,c);r=e._getAnimation(t,0)}e._setInitState(s,l,c);r.push({ele:s,from:l,to:c})}}))};FlexPieAnimation.prototype._parsePathByRadius=function(t,e,i){var n,a,o=t.center.x,r=t.center.y,s=t.radius,l=t.angle,c=t.sweep;n=[o,r,0,l,c,0];a=[o,r,s,l,c,t.innerRadius||0];e.pie=n;i.pie=a};FlexPieAnimation.prototype._parsePathByAngle=function(t,e,i){var n,a,o=t.center.x,r=t.center.y,s=t.radius,l=t.angle,c=t.sweep,u=t.innerRadius;n=[o,r,s,l,0,u||0];a=[o,r,s,l,c,u||0];e.pie=n;e["stroke-width"]=0;i.pie=a;i["stroke-width"]=1};return FlexPieAnimation}(FlexAnimation),FlexChartAnimation=function(t){__extends(FlexChartAnimation,t);function FlexChartAnimation(e,i){return t.call(this,e,i)||this}FlexChartAnimation.prototype.playAnimation=function(e){t.prototype.playAnimation.call(this,e);var i,n,a,o,r,s,l,c,u,h=!0,m=this._chart,p=softFinancial()&&m instanceof softFinancial().FinancialChart,_=m.series,f=_.length,d=[];this._previousState=this._currentState;this._previousXVal=this._currentXVal;this._currentState=[];this._addStart=0;this._removeStart=0;this._currentXVal=m._xlabels.slice();if(this._previousState&&this._previousState.length){h=!1;r=(s=this._previousState).length;l=this._previousXVal;c=this._currentXVal;l.length>2&&c.length>2&&((i=c.indexOf(l[0]))>0&&i<c.length-2?c[i+1]===l[1]&&c[i+2]===l[2]&&(this._addStart=i):(i=l.indexOf(c[0]))>0&&i<l.length-2&&l[i+1]===c[1]&&l[i+2]===c[2]&&(this._removeStart=i))}for(i=0;i<f;i++){o=null!=(n=_[i])._getChartType()?n._getChartType():m._getChartType();a=this._getChartType(o);this._currentState.push({seriesType:o,ele:n.hostElement});if(p)this._playDefaultAnimation(d,i);else{u=s&&s[i];if("Default"===a){this._playDefaultAnimation(d,i);continue}if(h||u&&u.seriesType!==o||u&&u.ele&&(""==u.ele.innerHTML||0===u.ele.childNodes.length))this._playLoadAnimation(d,i,a);else{this._playUpdateAnimation(d,i,a,n,u&&u.ele||null);if(i===f-1&&i<r-1)for(i++;i<=r-1;i++)this._playUpdateAnimation(d,i,a,null,u.ele)}}}this._adjustAnimations(a,d);d.length&&this._playAnimation(d,e);this.axisAnimation&&!p&&this._playAxesAnimation()};FlexChartAnimation.prototype._playAxesAnimation=function(){var t,e,i,n=this._chart.axes,a=n.length;this._prevAxesStates=this._currAxesStates;this._currAxesStates=[];for(e=0;e<a;e++)(t=n[e]).hostElement&&this._currAxesStates.push({ele:t.hostElement,vals:t._vals,axis:t,maxValue:wijmo_1.isDate(t.actualMax)?t.actualMax.getTime():t.actualMax,minValue:wijmo_1.isDate(t.actualMin)?t.actualMin.getTime():t.actualMin});if(this._prevAxesStates){i=Math.max(this._prevAxesStates.length,this._currAxesStates.length);for(e=0;e<i;e++)this._playAxisAnimation(this._prevAxesStates[e],this._currAxesStates[e])}};FlexChartAnimation.prototype._playAxisAnimation=function(t,e){if(t&&e){var i,n=[],a=[];if(e&&e.maxValue-e.minValue){i=this._parseAxisState(e);this._convertAxisAnimation(n,i.major,e.axis,t.maxValue,t.minValue);this._convertAxisAnimation(n,i.minor,e.axis,t.maxValue,t.minValue)}if(t&&t.maxValue-t.minValue){i=this._parseAxisState(t);this._convertAxisAnimation(a,i.major,t.axis);this._convertAxisAnimation(a,i.minor,t.axis)}n&&a&&this._combineAxisAnimations(n,a);this._playCurrAxisAnimation(n);this._playPrevAxisAnimation(a)}};FlexChartAnimation.prototype._combineAxisAnimations=function(t,e){var i,n,a=this,o=e.length;for(i=o-1;i>=0;i--)(n=e[i]).text&&t.some((function(t){if(t.text&&t.text===n.text){a._combineAxisAnimation(t,n);e.splice(i,1);return!0}}))};FlexChartAnimation.prototype._combineAxisAnimation=function(t,e){var i=this;["label","majorGrid","tick"].forEach((function(n){t[n]&&e[n]&&i._resetExistAxisAttrs(t[n],e[n])}))};FlexChartAnimation.prototype._resetExistAxisAttrs=function(t,e){var i=t.ele,n=e.ele,a={},o={};["x","y","x1","x2","y1","y2"].forEach((function(t){var e=i.getAttribute(t),r=n.getAttribute(t);if(e!==r){a[t]=r;o[t]=e}}));t.calcPos=a;t.elePos=o};FlexChartAnimation.prototype._convertAxisAnimation=function(t,e,i,n,a){var o,r=this,s=i.hostElement,l=i.axisType==wijmo_chart_1.AxisType.Y;e.forEach((function(e,c){var u=i.convert(e.val,n,a);if(!isNaN(u)){o={};e.majorGrid&&(o.majorGrid=r._getAxisAnimationAttrs(e.majorGrid,s,u,l));if(e.label){o.label=r._getAxisAnimationAttrs(e.label,s,u,l);o.text=e.label.innerHTML||e.label.textContent}e.tick&&(o.tick=r._getAxisAnimationAttrs(e.tick,s,u,l));t.push(o)}}))};FlexChartAnimation.prototype._getAxisAnimationAttrs=function(t,e,i,n){var a,o,r;a={ele:t,parent:e,elePos:{},calcPos:{}};if("text"===t.nodeName){o=n?"y":"x";r=Number(t.getAttribute(o));a.elePos[o]=r;a.calcPos[o]=i}else{o=n?"y1":"x1";r=Number(t.getAttribute(o));if(n){a.elePos={y1:r,y2:r};a.calcPos={y1:i,y2:i}}else{a.elePos={x1:r,x2:r};a.calcPos={x1:i,x2:i}}}a.elePos.opacity=1;a.calcPos.opacity=0;return a};FlexChartAnimation.prototype._playCurrAxisAnimation=function(t){var e=this.duration;t&&0!==t.length&&t.forEach((function(t){["majorGrid","label","tick"].forEach((function(i){var n=t[i];if(n){n.parent;var a=n.ele,o=n.elePos,r=n.calcPos;AnimationHelper.playAnimation(a,r,o,null,Easing.Swing,e)}}))}))};FlexChartAnimation.prototype._playPrevAxisAnimation=function(t){var e=this.duration;t&&0!==t.length&&t.forEach((function(t){["majorGrid","label","tick"].forEach((function(i){var n=t[i];if(n){var a=n.parent,o=n.ele,r=n.elePos,s=n.calcPos;a.appendChild(o);AnimationHelper.playAnimation(o,r,s,(function(){o.parentNode===a&&a.removeChild(o)}),Easing.Swing,e)}}))}))};FlexChartAnimation.prototype._parseAxisState=function(t){if(null==t)return null;var e,i,n,a=t.vals,o=t.axis,r=o.axisType==wijmo_chart_1.AxisType.Y,s=t.ele.childNodes,l=0,c=[],u=[];if(a){e=a.major;i=a.minor;n=a.hasLbls}e&&e.forEach((function(t,e){var i,a={},u=!!n[e];c.push(a);a.val=t;i=s[l];if(o.majorGrid&&wijmo_1.hasClass(i,wijmo_chart_1.FlexChart._CSS_GRIDLINE)){a.majorGrid=i;l++;i=s[l]}if(r){if(u&&i&&o.majorTickMarks!==wijmo_chart_1.TickMark.None&&wijmo_1.hasClass(i,wijmo_chart_1.FlexChart._CSS_TICK)){a.tick=i;l++;i=s[l]}if(u&&i&&(wijmo_1.hasClass(i,wijmo_chart_1.FlexChart._CSS_LABEL)||i.querySelector("."+wijmo_chart_1.FlexChart._CSS_LABEL))){a.label=i;l++}}else{if(u&&i&&(wijmo_1.hasClass(i,wijmo_chart_1.FlexChart._CSS_LABEL)||i.querySelector("."+wijmo_chart_1.FlexChart._CSS_LABEL))){a.label=i;l++;i=s[l]}if(u&&i&&o.majorTickMarks!==wijmo_chart_1.TickMark.None&&wijmo_1.hasClass(i,wijmo_chart_1.FlexChart._CSS_TICK)){a.tick=i;l++}}}));i&&i.forEach((function(t,e){var i,n={};u.push(n);n.val=t;i=s[l];if(o.minorTickMarks!==wijmo_chart_1.TickMark.None&&wijmo_1.hasClass(i,wijmo_chart_1.FlexChart._CSS_TICK_MINOR)){n.tick=i;l++;i=s[l]}if(o.minorGrid&&wijmo_1.hasClass(i,wijmo_chart_1.FlexChart._CSS_GRIDLINE_MINOR)){n.majorGrid=i;l++}}));return{major:c,minor:u}};FlexChartAnimation.prototype._playLoadAnimation=function(t,e,i){this["_playLoad"+i+"Animation"](t,e)};FlexChartAnimation.prototype._playUpdateAnimation=function(t,e,i,n,a){null==n||null==a?null==n?this["_play"+i+"RemoveAnimation"](t,a):this["_play"+i+"AddAnimation"](t,n):this["_play"+i+"MoveAnimation"](t,n,a)};FlexChartAnimation.prototype._adjustAnimations=function(t,e){var i,n=e.length;if("Column"===t||"Bar"===t)for(i=n-1;i>=0;i--)null==e[i]&&e.splice(i,1)};FlexChartAnimation.prototype._getChartType=function(t){var e="Default",i=this._chart._isRotated();switch(t){case wijmo_chart_1.ChartType.Scatter:case wijmo_chart_1.ChartType.Bubble:case wijmo_chart_1.ChartType.Candlestick:case wijmo_chart_1.ChartType.HighLowOpenClose:e="Scatter";break;case wijmo_chart_1.ChartType.Column:case wijmo_chart_1.ChartType.Bar:e=i?"Bar":"Column";break;case wijmo_chart_1.ChartType.Line:case wijmo_chart_1.ChartType.LineSymbols:case wijmo_chart_1.ChartType.Area:case wijmo_chart_1.ChartType.Spline:case wijmo_chart_1.ChartType.SplineSymbols:case wijmo_chart_1.ChartType.SplineArea:e="Line";break;default:e="Default"}return e};FlexChartAnimation.prototype._playLoadLineAnimation=function(t,e){var i,n=this,a=n._chart.series[e],o=n.animationMode,r=a.hostElement;if(o===AnimationMode.Point)n._playDefaultAnimation(t,e);else{i=o===AnimationMode.All?n._getAnimation(t,0):n._getAnimation(t,e);[].slice.call(r.childNodes).forEach((function(t){n._setLineRiseDiveAnimation(i,t,!0)}))}};FlexChartAnimation.prototype._setLineRiseDiveAnimation=function(t,e,i){var n,a,o,r,s,l,c,u=this,h=this,m=h._chart,p=e.nodeName,_=[],f=[],d=h._chart._plotRect,A=d.top+d.height,y=d.left,x={},g={};if("g"===p&&e.childNodes)[].slice.call(e.childNodes).forEach((function(e){u._setLineRiseDiveAnimation(t,e,i)}));else{if("polyline"===p||"polygon"===p){o=(l=e.points).length||l.numberOfItems;for(r=0;r<o;r++){s=l[r]||l.getItem(r);m.rotated?_.push({x:y,y:s.y}):_.push({x:s.x,y:A});f.push({x:s.x,y:s.y})}x[p]=_;g[p]=f}else if("ellipse"===p||"rect"===p){h._toggleVisibility(e,!1);i&&(c=function(){h._toggleVisibility(e,!0)})}n=i?x:g;a=i?g:x;h._setInitState(e,n,a);t.push({ele:e,from:n,to:a,done:c})}};FlexChartAnimation.prototype._setLineMoveAnimation=function(t,e,i,n,a){if(null!=e&&null!=i){var o,r,s,l,c,u,h,m,p,_=e.nodeName,f=[],d=[],A={},y={};if("polyline"===_||"polygon"===_){p="polygon"===_;s=e.points;u=i.points;o=s.length||s.numberOfItems;l=u.length||u.numberOfItems;m=Math.max(o,l);for(h=0;h<m;h++){if(h<o){r=s[h]||s.getItem(h);f.push({x:r.x,y:r.y})}if(h<l){c=u[h]||u.getItem(h);d.push({x:c.x,y:c.y})}}if(this._addStart){this._adjustStartLinePoints(this._addStart,f,s);o+=this._addStart}else if(this._removeStart){this._adjustStartLinePoints(this._removeStart,d,u);l+=this._removeStart}l>o?this._adjustEndLinePoints(l,o,f,s,p):l<o&&this._adjustEndLinePoints(o,l,d,u,p);A[_]=f;y[_]=d;this._setInitState(n,A,y);t.push({ele:n,from:A,to:y,done:a})}}};FlexChartAnimation.prototype._adjustStartLinePoints=function(t,e,i){for(var n=i[0]||i.getItem(0);t;){e.splice(0,0,{x:n.x,y:n.y});t--}};FlexChartAnimation.prototype._adjustEndLinePoints=function(t,e,i,n,a){var o,r,s;if(a&&(n.length>=3||n.numberOfItems>=3)){r=i.pop();o=i.pop();s=n[n.length-3]||n.getItem(n.numberOfItems-3)}else(n.length>0||n.numberOfItems>0)&&(s=n[n.length-1]||n.getItem(n.numberOfItems-1));for(;t>e&&s;){i.push({x:s.x,y:s.y});e++}if(a&&r&&o){i.push(o);i.push(r)}};FlexChartAnimation.prototype._playLineRemoveAnimation=function(t,e){var i,n=this,a=n._chart.series[0].hostElement.parentNode,o=n._getAnimation(t,0);a.appendChild(e);[].slice.call(e.childNodes).forEach((function(t){n._setLineRiseDiveAnimation(o,t,!1)}));if(o.length){i=o[0].done;o[0].done=function(){e&&e.parentNode===a&&a.removeChild(e);i&&i()}}};FlexChartAnimation.prototype._playLineAddAnimation=function(t,e){var i=this,n=e.hostElement,a=this._getAnimation(t,0);[].slice.call(n.childNodes).forEach((function(t){i._setLineRiseDiveAnimation(a,t,!0)}))};FlexChartAnimation.prototype._playLineMoveAnimation=function(t,e,i){var n,a,o,r,s=this,l=(s._chart,s._getAnimation(t,0)),c=[];n=e.hostElement;a=[].slice.call(i.childNodes);[].slice.call(n.childNodes).forEach((function(t,e){r=t.nodeName;o=a[e];if("g"===r&&t.nodeChilds)[].slice.call(t.nodeChilds).forEach((function(t,e){if(o){c.push(t);s._toggleVisibility(t,!1)}}));else if("polygon"===r||"polyline"===r)s._setLineMoveAnimation(l,o,t,t,0===e?function(){c.forEach((function(t){s._toggleVisibility(t,!0)}));c=null}:null);else if(o){c.push(t);s._toggleVisibility(t,!1)}}))};FlexChartAnimation.prototype._playLoadColumnAnimation=function(t,e){this._playLoadBarAnimation(t,e,!0)};FlexChartAnimation.prototype._playLoadBarAnimation=function(t,e,i){void 0===i&&(i=!1);var n=this,a=n._chart.series[e],o=n.animationMode,r=a.hostElement;[].slice.call(r.childNodes).forEach((function(a,r){var s,l=a.nodeName;s=o===AnimationMode.Point?n._getAnimation(t,r):o===AnimationMode.Series?n._getAnimation(t,e):n._getAnimation(t,0);"g"===l?a.childNodes&&[].slice.call(a.childNodes).forEach((function(t,e){n._setLoadBarAnimation(s,t,i)})):n._setLoadBarAnimation(s,a,i)}))};FlexChartAnimation.prototype._setBarAnimation=function(t,e,i,n,a){this._setInitState(e,i,n);t.push({ele:e,from:i,to:n,done:a})};FlexChartAnimation.prototype._setLoadBarAnimation=function(t,e,i,n,a){void 0===n&&(n=!1);var o,r,s=this,l=i?"height":"width",c=i?"y":"x",u=e.getAttribute(l),h=e.getAttribute(c),m=i?"top":"left",p=s._chart._plotRect,_={},f={};_[l]=0;f[l]=Number(u);if(i){_[c]=p[l]+p[m];f[c]=Number(h)}o=n?f:_;r=n?_:f;"g"===e.nodeName?e.childNodes&&[].slice.call(e.childNodes).forEach((function(e){s._setBarAnimation(t,e,o,r,a)})):s._setBarAnimation(t,e,o,r,a)};FlexChartAnimation.prototype._setMoveBarAnimation=function(t,e,i){var n={},a={};if(null!=e&&null!=i){["width","height","x","y","top","left"].forEach((function(t){var o=e.getAttribute(t),r=i.getAttribute(t);if(o!==r){n[t]=Number(o);a[t]=Number(r)}}));this._setInitState(i,n,a);t.push({ele:i,from:n,to:a})}};FlexChartAnimation.prototype._playColumnRemoveAnimation=function(t,e){this._playBarRemoveAnimation(t,e,!0)};FlexChartAnimation.prototype._playColumnAddAnimation=function(t,e){this._playBarAddAnimation(t,e,!0)};FlexChartAnimation.prototype._playColumnMoveAnimation=function(t,e,i){this._playBarMoveAnimation(t,e,i,!0)};FlexChartAnimation.prototype._playBarRemoveAnimation=function(t,e,i){void 0===i&&(i=!1);var n=this,a=n._chart.series[0].hostElement.parentNode,o=n._getAnimation(t,0);a.appendChild(e);[].slice.call(e.childNodes).forEach((function(t){n._setLoadBarAnimation(o,t,i,!0)}));o.length&&(o[0].done=function(){e&&e.parentNode===a&&a.removeChild(e)})};FlexChartAnimation.prototype._playBarAddAnimation=function(t,e,i){var n=this;void 0===i&&(i=!1);var a=e.hostElement,o=this._getAnimation(t,2);[].slice.call(a.childNodes).forEach((function(t){n._setLoadBarAnimation(o,t,i,!1)}))};FlexChartAnimation.prototype._playBarMoveAnimation=function(t,e,i,n){void 0===n&&(n=!1);var a,o,r,s,l,c,u,h=this;h._chart;a=e.hostElement;r=[].slice.call(i.childNodes);if(h._addStart){u=0;s=r[0];for(;u<h._addStart;){r.splice(0,0,s);u++}}if(h._removeStart){u=0;s=r[r.length-1];for(;u<h._removeStart;){var m=r.shift();r.push(m);u++}}l=r.length;o=[].slice.call(a.childNodes);c=o.length;o.forEach((function(e,i){var a;if(i<l){s=r[i];if(i<h._addStart){a=h._getAnimation(t,2);h._setLoadBarAnimation(a,e,n,!1)}else if(i>=l-h._removeStart){a=h._getAnimation(t,2);h._setLoadBarAnimation(a,e,n,!1);a=h._getAnimation(t,0);h._removeBarAnimation(a,e,s,n)}else{a=h._getAnimation(t,1);h._setMoveBarAnimation(a,s,e)}if(i===c-1&&i<l-1){a=h._getAnimation(t,0);for(i++;i<l;i++){s=r[i];h._removeBarAnimation(a,e,s,n)}}}else{a=h._getAnimation(t,2);h._setLoadBarAnimation(a,e,n,!1)}}))};FlexChartAnimation.prototype._removeBarAnimation=function(t,e,i,n){var a=e.parentNode;a.appendChild(i);this._setLoadBarAnimation(t,i,n,!0,function(t){return function(){t.parentNode&&t.parentNode===a&&a.removeChild(t)}}(i))};FlexChartAnimation.prototype._playLoadScatterAnimation=function(t,e){var i=this,n=i._chart,a=n.series[e],o=i.animationMode,r=a.hostElement,s=a._xValues||n._xvals;0===s.length&&(s=a._pointIndexes);[].slice.call(r.childNodes).forEach((function(n,a){var r;r=o===AnimationMode.Point?i._getScatterAnimation(t,s[a]):o===AnimationMode.Series?i._getAnimation(t,e):i._getAnimation(t,0);i._setLoadScatterAnimation(r,n,!1)}))};FlexChartAnimation.prototype._setLoadScatterAnimation=function(t,e,i,n){var a=this;void 0===i&&(i=!1);var o,r,s={},l={};if("g"===e.nodeName&&e.childNodes)[].slice.call(e.childNodes).forEach((function(e){a._setLoadScatterAnimation(t,e,i,n)}));else{["rx","ry","stroke-width"].forEach((function(t){var i=e.getAttribute(t);s[t]=0;l[t]=Number(i)}));o=i?l:s;r=i?s:l;this._setInitState(e,o,r);t.push({ele:e,from:o,to:r,done:n})}};FlexChartAnimation.prototype._setUpdateScatterAnimation=function(t,e,i,n){var a={},o={};["cx","cy"].forEach((function(t){var n=e.getAttribute(t),r=i.getAttribute(t);if(n!==r){a[t]=Number(n);o[t]=Number(r)}}));this._setInitState(i,a,o);t.push({ele:i,from:a,to:o,done:n})};FlexChartAnimation.prototype._getScatterAnimation=function(t,e){var i=this._getScatterAnimationIndex(t,e);t[i]||(t[i]=[]);return t[i]};FlexChartAnimation.prototype._getScatterAnimationIndex=function(t,e){var i=this._chart.axisX,n=null==i.min?i.actualMin:i.min,a=null==i.max?i.actualMax:i.max;return Math.ceil((e-n)/((a-n)/20))};FlexChartAnimation.prototype._playScatterRemoveAnimation=function(t,e){var i=this,n=i._chart.series[0].hostElement.parentNode,a=i._getAnimation(t,0);n.appendChild(e);[].slice.call(e.childNodes).forEach((function(t){i._setLoadScatterAnimation(a,t,!0)}));a.length&&(a[0].done=function(){e&&e.parentNode===n&&n.removeChild(e)})};FlexChartAnimation.prototype._playScatterAddAnimation=function(t,e){var i=this,n=e.hostElement,a=this._getAnimation(t,0);[].slice.call(n.childNodes).forEach((function(t){i._setLoadScatterAnimation(a,t,!1)}))};FlexChartAnimation.prototype._playScatterMoveAnimation=function(t,e,i){var n,a,o,r,s,l,c,u=this,h=(u._chart,u._getAnimation(t,0));n=e.hostElement;o=[].slice.call(i.childNodes);if(u._addStart){c=0;r=o[0];for(;c<u._addStart;){o.splice(0,0,r);c++}}if(u._removeStart){c=0;r=o[o.length-1];for(;c<u._removeStart;){var m=o.shift();o.push(m);c++}}s=o.length;a=[].slice.call(n.childNodes);l=a.length;a.forEach((function(t,e){if(e<s){if(e<u._addStart)u._setLoadScatterAnimation(h,t,!1);else if(e>=s-u._removeStart){u._setLoadScatterAnimation(h,t,!1);r=o[e];u._removeScatterAnimation(h,t,r)}else{r=o[e];u._setUpdateScatterAnimation(h,r,t)}if(e===l-1&&e<s-1)for(e++;e<s;e++){r=o[e];u._removeScatterAnimation(h,t,r)}}else u._setLoadScatterAnimation(h,t,!1)}))};FlexChartAnimation.prototype._removeScatterAnimation=function(t,e,i){var n=e.parentNode;n.appendChild(i);this._setLoadScatterAnimation(t,i,!0,function(t){return function(){t.parentNode&&t.parentNode===n&&n.removeChild(t)}}(i))};FlexChartAnimation.prototype._playDefaultAnimation=function(t,e){var i,n,a=this._chart,o=a.series[e].hostElement,r=a._plotRect,s=a._currentRenderEngine,l=o.getAttribute("clip-path"),c="clipPath"+(1e6*Math.random()).toFixed(),u=a.axisX.reversed;s.addClipRect(new wijmo_1.Rect(u?r.right:r.left,r.top,0,r.height),c);o.setAttribute("clip-path","url(#"+c+")");i=a.hostElement.querySelector("#"+c);n=this._getAnimation(t,0);var h={width:0},m={width:r.width};if(u){h.x=r.right;m.x=r.left}n.push({ele:i.querySelector("rect"),from:h,to:m,done:function(){if(o){l?o.setAttribute("clip-path",l):o.removeAttribute("clip-path");i&&i.parentNode&&i.parentNode.removeChild(i)}}})};return FlexChartAnimation}(FlexAnimation),FlexRadarAnimation=function(t){__extends(FlexRadarAnimation,t);function FlexRadarAnimation(e,i){return t.call(this,e,i)||this}FlexRadarAnimation.prototype._getDurationAndDelay=function(e,i){var n=t.prototype._getDurationAndDelay.call(this,e,i);if(this.animationMode===AnimationMode.Point){n.duration=i/e;n.delay=i/e}return n};FlexRadarAnimation.prototype._playAxesAnimation=function(){};FlexRadarAnimation.prototype._getChartType=function(e){var i=t.prototype._getChartType.call(this,e);"Bar"===i&&(i="Column");return i};FlexRadarAnimation.prototype._playLoadLineAnimation=function(t,e){var i,n,a,o=this,r=o._chart,s=o._chart.series[e],l=s._xValues||r._xvals,c=o.animationMode,u=s.hostElement;if(c===AnimationMode.Point){0===l.length&&(l=s._pointIndexes);a=[].slice.call(u.childNodes);n=a.length-u.querySelectorAll("ellipse").length;a.forEach((function(e,i){o._setRadarLinePointAnimation(t,e,i,l,n)}))}else{i=c===AnimationMode.All?o._getAnimation(t,0):o._getAnimation(t,e);[].slice.call(u.childNodes).forEach((function(t){o._setLineRiseDiveAnimation(i,t,!0)}))}};FlexRadarAnimation.prototype._setRadarLinePointAnimation=function(t,e,i,n,a){var o,r,s,l,c,u,h,m=this,p=m._chart,_=e.nodeName,f=[],d=[],A=[],y=[],x=p._center,g=[],E=!1,v={},C={},S=0;if("polyline"===_||"polygon"===_){o=(l=e.points).length||l.numberOfItems;for(r=0;r<o;r++){g[h=m._getScatterAnimationIndex(t,n[r])]||(g[h]=[]);g[h].push(r);s=l[r]||l.getItem(r);f.push({x:x.x,y:x.y});d.push({x:s.x,y:s.y})}for(r=0,o=g.length;r<o;r++)if(g[r]){u=m._getAnimation(t,S);A=y.length?y.slice():f.slice();y=A.slice();g[r].forEach((function(t){var e=d[t];y[t]={x:e.x,y:e.y}}));C={};(v={})[_]=A;C[_]=y;if(!E){m._setInitState(e,v,C);E=!0}u.push({ele:e,from:v,to:C,done:c});S++}}else if("ellipse"===_){if((r=i-(a||0))<0)return;u=p._isPolar?m._getScatterAnimation(t,n[r]):m._getScatterAnimation(t,r);m._toggleVisibility(e,!1);c=function(){m._toggleVisibility(e,!0)};u.push({ele:e,from:v,to:C,done:c})}};FlexRadarAnimation.prototype._setLineRiseDiveAnimation=function(t,e,i){var n,a,o,r,s,l,c,u=this,h=u._chart,m=e.nodeName,p=[],_=[],f=h._center,d={},A={};if("polyline"===m||"polygon"===m){o=(l=e.points).length||l.numberOfItems;for(r=0;r<o;r++){s=l[r]||l.getItem(r);p.push({x:f.x,y:f.y});_.push({x:s.x,y:s.y})}d[m]=p;A[m]=_}else if("ellipse"===m){u._toggleVisibility(e,!1);i&&(c=function(){u._toggleVisibility(e,!0)})}n=i?d:A;a=i?A:d;u._setInitState(e,n,a);t.push({ele:e,from:n,to:a,done:c})};FlexRadarAnimation.prototype._parsePathByRadius=function(t,e,i){var n,a,o=t.center.x,r=t.center.y,s=t.radius,l=t.angle,c=t.sweep;n=[o,r,0,l,c,0];a=[o,r,s,l,c,t.innerRadius||0];e.pie=n;i.pie=a};FlexRadarAnimation.prototype._playUpdateAnimation=function(e,i,n,a,o){if("Bar"===n||"Column"===n){if(null==a)return;this._playLoadBarAnimation(e,i,!1)}else t.prototype._playUpdateAnimation.call(this,e,i,n,a,o)};FlexRadarAnimation.prototype._playLoadBarAnimation=function(t,e,i){void 0===i&&(i=!1);var n=this,a=n._chart,o=a.series[e],r=a._areas[e],s=n.animationMode,l=o.hostElement;[].slice.call(l.childNodes).forEach((function(i,a){var o,l,c={},u={};o=s===AnimationMode.Point?n._getAnimation(t,a):s===AnimationMode.Series?n._getAnimation(t,e):n._getAnimation(t,0);l=r[a];n._parsePathByRadius(l,c,u);n._setInitState(i,c,u);o.push({ele:i,from:c,to:u})}))};return FlexRadarAnimation}(FlexChartAnimation),AnimationHelper=function(){function AnimationHelper(){}AnimationHelper.playAnimations=function(t,e,i,n,a,o,r){void 0===a&&(a=Easing.Swing);var s=t.length,l=0,c=[];t.forEach((function(t,u){var h=AnimationHelper.playAnimation(t,e[u],i[u],(function(){l===s-1&&n&&n();l++}),a,o,r);c.push(h)}));return c};AnimationHelper.playAnimation=function(t,e,i,n,a,o,r){void 0===a&&(a=Easing.Swing);var s=AnimationHelper.parseAttrs(e,i);return AnimationHelper.animate((function(e){AnimationHelper.setElementAttr(t,s,e)}),n,a,o,r)};AnimationHelper.setElementAttr=function(t,e,i){var n,a;for(a in e){n=e[a];AnimationHelper.calcValue(n,i);t.setAttribute(a,n.getValue(n.value,i))}};AnimationHelper.getPathDescOfPie=function(t,e,i,n,a,o){void 0===o&&(o=0);var r=!1;if(a>=2*Math.PI){r=!0;a=2*Math.PI-.001}var s=new wijmo_1.Point(t,e);s.x+=i*Math.cos(n);s.y+=i*Math.sin(n);var l=n+a,c=new wijmo_1.Point(t,e);c.x+=i*Math.cos(l);c.y+=i*Math.sin(l);if(o){var u=new wijmo_1.Point(t,e);u.x+=o*Math.cos(l);u.y+=o*Math.sin(l);var h=new wijmo_1.Point(t,e);h.x+=o*Math.cos(n);h.y+=o*Math.sin(n)}var m=" 0 0,1 ",p=" 0 0,0 ";if(Math.abs(a)>Math.PI){m=" 0 1,1 ";p=" 0 1,0 "}var _="M "+s.x.toFixed(3)+","+s.y.toFixed(3);_+=" A "+i.toFixed(3)+","+i.toFixed(3)+m;_+=c.x.toFixed(3)+","+c.y.toFixed(3);if(o){_+=r?" M "+u.x.toFixed(3)+","+u.y.toFixed(3):" L "+u.x.toFixed(3)+","+u.y.toFixed(3);_+=" A "+o.toFixed(3)+","+o.toFixed(3)+p;_+=h.x.toFixed(3)+","+h.y.toFixed(3)}else _+=" L "+t.toFixed(3)+","+e.toFixed(3);r||(_+=" z");return _};AnimationHelper.parseAttrs=function(t,e){var i={};for(var n in t)if(null!=e[n])switch(n){case"polyline":i.points=AnimationHelper.parseAttr(t[n],e[n],(function(t,e){if(1===e){for(var i,n,a;t.length>1;){n=t[0];a=t[1];if(n.x!==a.x||n.y!==a.y){n=null;a=null;break}t.splice(1,1)}for(i=t.length-1;i>0;i--){n=a;a=t[i];if(n){if(n.x!==a.x||n.y!==a.y)break;t.pop()}}}return t.map((function(t){return t.x+","+t.y})).join(" ")}));break;case"polygon":i.points=AnimationHelper.parseAttr(t[n],e[n],(function(t,e){if(1===e){var i,n,a,o,r;o=t.pop();r=t.pop();for(;t.length>1;){n=t[0];a=t[1];if(n.x!==a.x||n.y!==a.y){n=null;a=null;break}t.splice(1,1)}for(i=t.length-1;i>=0;i--){n=a;a=t[i];if(n){if(n.x!==a.x||n.y!==a.y)break;t.splice(i,1)}}t.push(r);t.push(o)}return t.map((function(t){return t.x+","+t.y})).join(" ")}));break;case"d":i[n]=AnimationHelper.parseAttr(t[n],e[n],(function(t){return t.map((function(t){return"string"==typeof t?t:t[0]+","+t[1]})).join(" ")}));break;case"pie":i.d=AnimationHelper.parseAttr(t[n],e[n],(function(t){return AnimationHelper.getPathDescOfPie.apply(AnimationHelper,t)}));break;case"rotate":i.transform=AnimationHelper.parseAttr(t[n],e[n],(function(t){return"rotate("+t.join(" ")+")"}));break;case"x":case"width":case"height":case"rx":case"ry":case"stroke-width":i[n]=AnimationHelper.parseAttr(t[n],e[n],(function(t){return Math.abs(t)}));break;default:i[n]=AnimationHelper.parseAttr(t[n],e[n])}return i};AnimationHelper.animate=function(t,e,i,n,a){void 0===i&&(i=Easing.Swing);void 0===n&&(n=400);void 0===a&&(a=16);wijmo_1.asFunction(t);wijmo_1.asNumber(n,!1,!0);wijmo_1.asNumber(a,!1,!0);var o=0,r=setInterval((function(){Date.now();var s=o/n;s=EasingHelper[Easing[i]](s);t(s);if((o+=a)>=n){clearInterval(r);(s<1||s>1)&&t(1);e&&e()}}),a);return r};AnimationHelper.calcValue=function(t,e){var i=t.from,n=t.diff,a=t.value;wijmo_1.isNumber(i)?t.value=0===n?i:i+n*e:wijmo_1.isArray(i)&&AnimationHelper.parseArrayAttr(a,i,n,(function(t,i){return"number"==typeof t?t+i*e:t}))};AnimationHelper.parseAttr=function(t,e,i){var n,a,o,r;if(wijmo_1.isArray(t)&&wijmo_1.isArray(e)){a=e;o=[];r=(n=t).slice();AnimationHelper.parseArrayAttr(o,n,a,(function(t,e){return t===e?0:e-t}))}else{r=n=Number(t);o=(a=Number(e))-n}return{from:n,to:a,value:r,diff:o,getValue:i||function(t,e){return t}}};AnimationHelper.parseArrayAttr=function(t,e,i,n){e.forEach((function(e,a){var o={},r=[],s=i[a];if(wijmo_1.isNumber(e)||"string"==typeof e)t[a]=n(e,s);else if(wijmo_1.isArray(e)){e.forEach((function(t,i){r[i]=n(e[i],s[i])}));t[a]=r}else{Object.getOwnPropertyNames(e).forEach((function(t){o[t]=n(e[t],s[t])}));t[a]=o}}))};return AnimationHelper}(),EasingHelper=function(){function EasingHelper(){}EasingHelper.Linear=function(t){return t};EasingHelper.Swing=function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)};EasingHelper.EaseInQuad=function(t){return t*t};EasingHelper.EaseOutQuad=function(t){return t*(2-t)};EasingHelper.EaseInOutQuad=function(t){return t<.5?2*t*t:(4-2*t)*t-1};EasingHelper.EaseInCubic=function(t){return t*t*t};EasingHelper.EaseOutCubic=function(t){return--t*t*t+1};EasingHelper.EaseInOutCubic=function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1};EasingHelper.EaseInQuart=function(t){return t*t*t*t};EasingHelper.EaseOutQuart=function(t){return 1- --t*t*t*t};EasingHelper.EaseInOutQuart=function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t};EasingHelper.EaseInQuint=function(t){return t*t*t*t*t};EasingHelper.EaseOutQuint=function(t){return 1+--t*t*t*t*t};EasingHelper.EaseInOutQuint=function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t};EasingHelper.EaseInSine=function(t){return 1-Math.cos(t*(Math.PI/2))};EasingHelper.EaseOutSine=function(t){return Math.sin(t*(Math.PI/2))};EasingHelper.EaseInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};EasingHelper.EaseInExpo=function(t){return 0==t?0:Math.pow(2,10*(t-1))};EasingHelper.EaseOutExpo=function(t){return 1==t?1:1-Math.pow(2,-10*t)};EasingHelper.EaseInOutExpo=function(t){return t==!!t?t:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))};EasingHelper.EaseInCirc=function(t){return-(Math.sqrt(1-t*t)-1)};EasingHelper.EaseOutCirc=function(t){return Math.sqrt(1-Math.pow(t-1,2))};EasingHelper.EaseInOutCirc=function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)};EasingHelper.EaseInBack=function(t){var e=1.70158;return t*t*((e+1)*t-e)};EasingHelper.EaseOutBack=function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1};EasingHelper.EaseInOutBack=function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)};EasingHelper.EaseInBounce=function(t){return 1-EasingHelper.EaseOutBounce(1-t)};EasingHelper.EaseOutBounce=function(t){var e=7.5625;return t<1/2.75?e*t*t:t<2/2.75?e*(t-=1.5/2.75)*t+.75:t<2.5/2.75?e*(t-=2.25/2.75)*t+.9375:e*(t-=2.625/2.75)*t+.984375};EasingHelper.EaseInOutBounce=function(t){return t<.5?.5*EasingHelper.EaseInBounce(2*t):.5*EasingHelper.EaseOutBounce(2*t-1)+.5};EasingHelper.EaseInElastic=function(t){return t==!!t?t:-Math.pow(2,10*(t-=1))*Math.sin((t-.075)*(2*Math.PI)/.3)};EasingHelper.EaseOutElastic=function(t){return t==!!t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1};EasingHelper.EaseInOutElastic=function(t){return t==!!t?t:(t*=2)<1?Math.pow(2,10*(t-=1))*Math.sin((t-.1125)*(2*Math.PI)/.45)*-.5:Math.pow(2,-10*(t-=1))*Math.sin((t-.1125)*(2*Math.PI)/.45)*.5+1};return EasingHelper}();wijmo_1._registerModule("wijmo.chart.animation",selfModule);
|
|
14
|
+
"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(t,i){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)};return function(t,i){extendStatics(t,i);function __(){this.constructor=t}t.prototype=null===i?Object.create(i):(__.prototype=i.prototype,new __)}}(),__importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var i={};if(null!=t)for(var e in t)Object.hasOwnProperty.call(t,e)&&(i[e]=t[e]);i.default=t;return i};Object.defineProperty(exports,"__esModule",{value:!0});var Easing,AnimationMode,wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),selfModule=__importStar(require("wijmo/wijmo.chart.animation"));function softFinancial(){return wijmo_1._getModule("wijmo.chart.finance")}exports.softFinancial=softFinancial;function softRadar(){return wijmo_1._getModule("wijmo.chart.radar")}exports.softRadar=softRadar;!function(t){t[t.Linear=0]="Linear";t[t.Swing=1]="Swing";t[t.EaseInQuad=2]="EaseInQuad";t[t.EaseOutQuad=3]="EaseOutQuad";t[t.EaseInOutQuad=4]="EaseInOutQuad";t[t.EaseInCubic=5]="EaseInCubic";t[t.EaseOutCubic=6]="EaseOutCubic";t[t.EaseInOutCubic=7]="EaseInOutCubic";t[t.EaseInQuart=8]="EaseInQuart";t[t.EaseOutQuart=9]="EaseOutQuart";t[t.EaseInOutQuart=10]="EaseInOutQuart";t[t.EaseInQuint=11]="EaseInQuint";t[t.EaseOutQuint=12]="EaseOutQuint";t[t.EaseInOutQuint=13]="EaseInOutQuint";t[t.EaseInSine=14]="EaseInSine";t[t.EaseOutSine=15]="EaseOutSine";t[t.EaseInOutSine=16]="EaseInOutSine";t[t.EaseInExpo=17]="EaseInExpo";t[t.EaseOutExpo=18]="EaseOutExpo";t[t.EaseInOutExpo=19]="EaseInOutExpo";t[t.EaseInCirc=20]="EaseInCirc";t[t.EaseOutCirc=21]="EaseOutCirc";t[t.EaseInOutCirc=22]="EaseInOutCirc";t[t.EaseInBack=23]="EaseInBack";t[t.EaseOutBack=24]="EaseOutBack";t[t.EaseInOutBack=25]="EaseInOutBack";t[t.EaseInBounce=26]="EaseInBounce";t[t.EaseOutBounce=27]="EaseOutBounce";t[t.EaseInOutBounce=28]="EaseInOutBounce";t[t.EaseInElastic=29]="EaseInElastic";t[t.EaseOutElastic=30]="EaseOutElastic";t[t.EaseInOutElastic=31]="EaseInOutElastic"}(Easing=exports.Easing||(exports.Easing={}));!function(t){t[t.All=0]="All";t[t.Point=1]="Point";t[t.Series=2]="Series"}(AnimationMode=exports.AnimationMode||(exports.AnimationMode={}));var ChartAnimation=function(){function ChartAnimation(t,i){var e=this;this._play=!0;this.ended=new wijmo_1.Event;var n=t.hostElement,a=new wijmo_1.Size(n.offsetWidth,n.offsetHeight);this._chart=t;this._updateEventArgs=[];if(t instanceof wijmo_chart_1.FlexPie)this._animation=new FlexPieAnimation(t,this._updateEventArgs);else{softRadar()&&t instanceof softRadar().FlexRadar?this._animation=new FlexRadarAnimation(t,this._updateEventArgs):t instanceof wijmo_chart_1.FlexChartCore&&(this._animation=new FlexChartAnimation(t,this._updateEventArgs));this._chartType=t.chartType}wijmo_1.assert(void 0!==this._animation,"Animation is not supported");this._initOptions(i);t.beginUpdate();window.setTimeout((function(){t.rendered.addHandler(e._playAnimation,e);t.endUpdate()}),0);this._setCV(t.collectionView);window.addEventListener("resize",(function(t){var i=new wijmo_1.Size(n.offsetWidth,n.offsetHeight);if(!a.equals(i)){e._play=!1;a=i}}))}ChartAnimation.prototype._initOptions=function(t){if(t){t.duration&&(this.duration=t.duration);t.easing&&(this.easing=t.easing);t.animationMode&&(this.animationMode=t.animationMode);void 0!==t.axisAnimation&&(this.axisAnimation=t.axisAnimation)}};ChartAnimation.prototype._setCV=function(t){this._cv=t;this._animation._clearState()};Object.defineProperty(ChartAnimation.prototype,"animationMode",{get:function(){return this._animation.animationMode},set:function(t){(t=wijmo_1.asEnum(t,AnimationMode))!=this.animationMode&&(this._animation.animationMode=t)},enumerable:!0,configurable:!0});Object.defineProperty(ChartAnimation.prototype,"easing",{get:function(){return this._animation.easing},set:function(t){(t=wijmo_1.asEnum(t,Easing))!=this.easing&&(this._animation.easing=t)},enumerable:!0,configurable:!0});Object.defineProperty(ChartAnimation.prototype,"duration",{get:function(){return this._animation.duration},set:function(t){(t=wijmo_1.asNumber(t))!=this.duration&&(this._animation.duration=t)},enumerable:!0,configurable:!0});Object.defineProperty(ChartAnimation.prototype,"axisAnimation",{get:function(){return this._animation.axisAnimation},set:function(t){(t=wijmo_1.asBoolean(t))!=this.axisAnimation&&(this._animation.axisAnimation=t)},enumerable:!0,configurable:!0});Object.defineProperty(ChartAnimation.prototype,"chart",{get:function(){return this._chart},enumerable:!0,configurable:!0});ChartAnimation.prototype._playAnimation=function(){var t=this,i=this._chart,e=i.chartType;this._cv!==i.collectionView&&this._setCV(i.collectionView);if(null!=this._chartType&&this._chartType!==e){this._chartType=e;this._animation._clearState()}this._play?this._animation.playAnimation((function(){return t.ended.raise(t,wijmo_1.EventArgs.empty)})):this._play=!0};ChartAnimation.prototype.animate=function(){var t=this._chart;if(t){var i=t.itemsSource;t.beginUpdate();t.itemsSource=null;t.itemsSource=i;t.endUpdate()}};return ChartAnimation}();exports.ChartAnimation=ChartAnimation;var FlexAnimation=function(){function FlexAnimation(t,i){this._axisAnimation=!0;this._chart=t;this._timers=[]}Object.defineProperty(FlexAnimation.prototype,"animationMode",{get:function(){return this._animationMode||AnimationMode.All},set:function(t){if((t=wijmo_1.asEnum(t,AnimationMode,!1))!==this._animationMode){this._clearState();this._animationMode=t}},enumerable:!0,configurable:!0});Object.defineProperty(FlexAnimation.prototype,"easing",{get:function(){return null==this._easing?Easing.Swing:this._easing},set:function(t){t!==this._easing&&(this._easing=wijmo_1.asEnum(t,Easing,!1))},enumerable:!0,configurable:!0});Object.defineProperty(FlexAnimation.prototype,"duration",{get:function(){return this._duration||400},set:function(t){t!==this._duration&&(this._duration=wijmo_1.asNumber(t,!1,!0))},enumerable:!0,configurable:!0});Object.defineProperty(FlexAnimation.prototype,"axisAnimation",{get:function(){return!!this._axisAnimation},set:function(t){t!==this._axisAnimation&&(this._axisAnimation=wijmo_1.asBoolean(t,!1))},enumerable:!0,configurable:!0});FlexAnimation.prototype.playAnimation=function(t){};FlexAnimation.prototype._clearState=function(){this._previousState&&(this._previousState=null);this._currentState&&(this._currentState=null)};FlexAnimation.prototype._setInitState=function(t,i,e){var n=AnimationHelper.parseAttrs(i,e);AnimationHelper.setElementAttr(t,n,0)};FlexAnimation.prototype._getAnimation=function(t,i){t[i]||(t[i]=[]);return t[i]};FlexAnimation.prototype._toggleVisibility=function(t,i){i?AnimationHelper.playAnimation(t,{opacity:0},{opacity:1},null,Easing.Swing,100):t.setAttribute("opacity","0")};FlexAnimation.prototype._toggleDataLabelVisibility=function(t){var i=this._chart.hostElement,e=i&&i.querySelector("."+wijmo_chart_1.DataLabelClsNames.labels);e&&this._toggleVisibility(e,t)};FlexAnimation.prototype._playAnimation=function(t,i){var e,n=this,a=this.duration,o=this.easing,r=t.length;this._toggleDataLabelVisibility(!1);e=this._getDurationAndDelay(t.length,a);if(this._timers&&this._timers.length){this._timers.forEach((function(t){window.clearInterval(t)}));this._timers.length=0}t.forEach((function(t,a){if(t){var s=window.setTimeout((function(){var s;t.forEach((function(t,l){if(t&&t.ele){if(a===r-1&&0===l){var h=t.done;t.done=function(){n._toggleDataLabelVisibility(!0);h&&h();i&&i()}}if(wijmo_1.isArray(t.ele)){s=AnimationHelper.playAnimations(t.ele,t.from,t.to,t.done,o,e.duration);n._timers=n._timers.concat.apply(s)}else{s=AnimationHelper.playAnimation(t.ele,t.from,t.to,t.done,o,e.duration);n._timers.push(s)}}}))}),e.delay*a);n._timers.push(s)}}))};FlexAnimation.prototype._getDurationAndDelay=function(t,i){var e={duration:i,delay:0};if(t>1)if(this._previousState){e.duration=i/t;e.delay=i/t}else{e.duration=.5*i;e.delay=.5*i/(t-1)}return e};return FlexAnimation}(),FlexPieAnimation=function(t){__extends(FlexPieAnimation,t);function FlexPieAnimation(i,e){var n=t.call(this,i,e)||this;i.selectionChanged.addHandler(n._selectionChanged,n);return n}FlexPieAnimation.prototype._selectionChanged=function(){this._isSelectionChanged=!0};FlexPieAnimation.prototype._clearState=function(){t.prototype._clearState.call(this);this._isSelectionChanged=!1};FlexPieAnimation.prototype._getElementRotate=function(t){var i,e=t.getAttribute("transform");if(e&&e.indexOf("rotate")>-1){if(1==(e=(e=e.replace("rotate(","").replace(")","")).indexOf(",")>-1?e.split(",").map((function(t){return+t})):e.split(" ").map((function(t){return+t}))).length){i=this._chart._areas[0].center;e.push(i.x,i.y)}}else e=[0,(i=this._chart._areas[0].center).x,i.y];return e};FlexPieAnimation.prototype._getDurationAndDelay=function(t,i){var e={duration:i,delay:0};if(this.animationMode===AnimationMode.Point&&t>1){e.duration=i/t;e.delay=i/t}return e};FlexPieAnimation.prototype.playAnimation=function(i){t.prototype.playAnimation.call(this,i);var e=[];this._playPieAnimation(e);e.length&&this._playAnimation(e,i)};FlexPieAnimation.prototype._playPieAnimation=function(t){var i=this._chart,e=!0;this._previousState=this._currentState;this._currentState={areas:i._areas,pels:i._pels,rotate:i._pels.length&&this._getElementRotate(i._pels[0].parentNode)};this._previousState&&(e=!1);if(this._isSelectionChanged){i.isAnimated||this._playSelectPieAnimation(t);this._isSelectionChanged=!1}else e?this._playLoadPieAnimation(t):this._playUpdatePieAnimation(t)};FlexPieAnimation.prototype._playSelectPieAnimation=function(t){if(null!=this._previousState){var i,e,n,a=this._chart._pels[0].parentNode,o=this._previousState.rotate,r=this._getElementRotate(a),s=o[0],l=r[0];if(s!==l){s-l>180?r[0]+=360:l-s>180&&(o[0]+=360);i=this._getAnimation(t,0);e={rotate:o};n={rotate:r};this._setInitState(a,e,n);i.push({ele:a,from:e,to:n})}}};FlexPieAnimation.prototype._playUpdatePieAnimation=function(t){var i,e,n,a,o=this._chart,r=this._previousState,s=o._areas,l=o._pels,h=r.areas.length,u=s.length,c=Math.max(u,h),m=this._getAnimation(t,0),p=0;if(0!==u&&0!==h){this._playSelectPieAnimation(t);for(i=0;i<c;i++){e={};if(l[i]&&l[i].childNodes&&l[i].childNodes.length>0){if(i<u&&i<h){n=s[0];0===i&&(p=n.angle);1===h?l[i].childNodes[0].setAttribute("d",AnimationHelper.getPathDescOfPie(n.center.x,n.center.y,n.radius,p,2*Math.PI,n.innerRadius||0)):l[i].childNodes[0].setAttribute("d",r.pels[i].childNodes[0].getAttribute("d"))}if(i<u){n=s[i];e.to={pie:[n.center.x,n.center.y,n.radius,n.angle,n.sweep,n.innerRadius||0]};e.ele=l[i].childNodes[0]}else{n=s[0];a=r.pels[i];e.to={pie:[n.center.x,n.center.y,n.radius,p+2*Math.PI,0,n.innerRadius||0]};l[0].parentNode.appendChild(a);e.done=function(t){return function(){t.parentNode.removeChild(t)}}(a);e.ele=a.childNodes[0]}if(i<h){n=r.areas[i];e.from={pie:[n.center.x,n.center.y,n.radius,n.angle,n.sweep,n.innerRadius||0]}}else{l[i].childNodes[0].setAttribute("d",AnimationHelper.getPathDescOfPie(n.center.x,n.center.y,n.radius,2*Math.PI+p,0,n.innerRadius||0));n=r.areas[0];e.from={pie:[n.center.x,n.center.y,n.radius,2*Math.PI+p,0,n.innerRadius||0]}}m.push(e)}}}};FlexPieAnimation.prototype._playLoadPieAnimation=function(t){var i=this,e=this._chart,n=this.animationMode,a=e._areas;e._pels.forEach((function(e,o){var r,s=e.childNodes[0],l={},h={};if(s){if(n===AnimationMode.Point){i._parsePathByAngle(a[o],l,h);r=i._getAnimation(t,o)}else{i._parsePathByRadius(a[o],l,h);r=i._getAnimation(t,0)}i._setInitState(s,l,h);r.push({ele:s,from:l,to:h})}}))};FlexPieAnimation.prototype._parsePathByRadius=function(t,i,e){var n,a,o=t.center.x,r=t.center.y,s=t.radius,l=t.angle,h=t.sweep;n=[o,r,0,l,h,0];a=[o,r,s,l,h,t.innerRadius||0];i.pie=n;e.pie=a};FlexPieAnimation.prototype._parsePathByAngle=function(t,i,e){var n,a,o=t.center.x,r=t.center.y,s=t.radius,l=t.angle,h=t.sweep,u=t.innerRadius;n=[o,r,s,l,0,u||0];a=[o,r,s,l,h,u||0];i.pie=n;i["stroke-width"]=0;e.pie=a;e["stroke-width"]=1};return FlexPieAnimation}(FlexAnimation),FlexChartAnimation=function(t){__extends(FlexChartAnimation,t);function FlexChartAnimation(i,e){return t.call(this,i,e)||this}FlexChartAnimation.prototype.playAnimation=function(i){t.prototype.playAnimation.call(this,i);var e,n,a,o,r,s,l,h,u,c=!0,m=this._chart,p=softFinancial()&&m instanceof softFinancial().FinancialChart,_=m.series,f=_.length,d=[];this._previousState=this._currentState;this._previousXVal=this._currentXVal;this._currentState=[];this._addStart=0;this._removeStart=0;this._currentXVal=m._xlabels.slice();if(this._previousState&&this._previousState.length){c=!1;r=(s=this._previousState).length;l=this._previousXVal;h=this._currentXVal;l.length>2&&h.length>2&&((e=h.indexOf(l[0]))>0&&e<h.length-2?h[e+1]===l[1]&&h[e+2]===l[2]&&(this._addStart=e):(e=l.indexOf(h[0]))>0&&e<l.length-2&&l[e+1]===h[1]&&l[e+2]===h[2]&&(this._removeStart=e))}for(e=0;e<f;e++){o=null!=(n=_[e])._getChartType()?n._getChartType():m._getChartType();a=this._getChartType(o);this._currentState.push({seriesType:o,ele:n.hostElement});if(p)this._playDefaultAnimation(d,e);else{u=s&&s[e];if("Default"===a){this._playDefaultAnimation(d,e);continue}if(c||u&&u.seriesType!==o||u&&u.ele&&(""==u.ele.innerHTML||0===u.ele.childNodes.length))this._playLoadAnimation(d,e,a);else{this._playUpdateAnimation(d,e,a,n,u&&u.ele||null);if(e===f-1&&e<r-1)for(e++;e<=r-1;e++)this._playUpdateAnimation(d,e,a,null,u.ele)}}}this._adjustAnimations(a,d);d.length&&this._playAnimation(d,i);this.axisAnimation&&!p&&this._playAxesAnimation()};FlexChartAnimation.prototype._playAxesAnimation=function(){var t,i,e,n=this._chart.axes,a=n.length;this._prevAxesStates=this._currAxesStates;this._currAxesStates=[];for(i=0;i<a;i++)(t=n[i]).hostElement&&this._currAxesStates.push({ele:t.hostElement,vals:t._vals,axis:t,maxValue:wijmo_1.isDate(t.actualMax)?t.actualMax.getTime():t.actualMax,minValue:wijmo_1.isDate(t.actualMin)?t.actualMin.getTime():t.actualMin});if(this._prevAxesStates){e=Math.max(this._prevAxesStates.length,this._currAxesStates.length);for(i=0;i<e;i++)this._playAxisAnimation(this._prevAxesStates[i],this._currAxesStates[i])}};FlexChartAnimation.prototype._playAxisAnimation=function(t,i){if(t&&i){var e,n=[],a=[];if(i&&i.maxValue-i.minValue){e=this._parseAxisState(i);this._convertAxisAnimation(n,e.major,i.axis,t.maxValue,t.minValue);this._convertAxisAnimation(n,e.minor,i.axis,t.maxValue,t.minValue)}if(t&&t.maxValue-t.minValue){e=this._parseAxisState(t);this._convertAxisAnimation(a,e.major,t.axis);this._convertAxisAnimation(a,e.minor,t.axis)}n&&a&&this._combineAxisAnimations(n,a);this._playCurrAxisAnimation(n);this._playPrevAxisAnimation(a)}};FlexChartAnimation.prototype._combineAxisAnimations=function(t,i){var e,n,a=this,o=i.length;for(e=o-1;e>=0;e--)(n=i[e]).text&&t.some((function(t){if(t.text&&t.text===n.text){a._combineAxisAnimation(t,n);i.splice(e,1);return!0}return!1}))};FlexChartAnimation.prototype._combineAxisAnimation=function(t,i){var e=this;["label","majorGrid","tick"].forEach((function(n){t[n]&&i[n]&&e._resetExistAxisAttrs(t[n],i[n])}))};FlexChartAnimation.prototype._resetExistAxisAttrs=function(t,i){var e=t.ele,n=i.ele,a={},o={};["x","y","x1","x2","y1","y2"].forEach((function(t){var i=e.getAttribute(t),r=n.getAttribute(t);if(i!==r){a[t]=r;o[t]=i}}));t.calcPos=a;t.elePos=o};FlexChartAnimation.prototype._convertAxisAnimation=function(t,i,e,n,a){var o,r=this,s=e.hostElement,l=e.axisType==wijmo_chart_1.AxisType.Y;i.forEach((function(i,h){var u=e.convert(i.val,n,a);if(!isNaN(u)){o={};i.majorGrid&&(o.majorGrid=r._getAxisAnimationAttrs(i.majorGrid,s,u,l));if(i.label){o.label=r._getAxisAnimationAttrs(i.label,s,u,l);o.text=i.label.innerHTML||i.label.textContent}i.tick&&(o.tick=r._getAxisAnimationAttrs(i.tick,s,u,l));t.push(o)}}))};FlexChartAnimation.prototype._getAxisAnimationAttrs=function(t,i,e,n){var a,o,r;a={ele:t,parent:i,elePos:{},calcPos:{}};if("text"===t.nodeName){o=n?"y":"x";r=Number(t.getAttribute(o));a.elePos[o]=r;a.calcPos[o]=e}else{o=n?"y1":"x1";r=Number(t.getAttribute(o));if(n){a.elePos={y1:r,y2:r};a.calcPos={y1:e,y2:e}}else{a.elePos={x1:r,x2:r};a.calcPos={x1:e,x2:e}}}a.elePos.opacity=1;a.calcPos.opacity=0;return a};FlexChartAnimation.prototype._playCurrAxisAnimation=function(t){var i=this.duration;t&&0!==t.length&&t.forEach((function(t){["majorGrid","label","tick"].forEach((function(e){var n=t[e];if(n){n.parent;var a=n.ele,o=n.elePos,r=n.calcPos;AnimationHelper.playAnimation(a,r,o,null,Easing.Swing,i)}}))}))};FlexChartAnimation.prototype._playPrevAxisAnimation=function(t){var i=this.duration;t&&0!==t.length&&t.forEach((function(t){["majorGrid","label","tick"].forEach((function(e){var n=t[e];if(n){var a=n.parent,o=n.ele,r=n.elePos,s=n.calcPos;a.appendChild(o);AnimationHelper.playAnimation(o,r,s,(function(){o.parentNode===a&&a.removeChild(o)}),Easing.Swing,i)}}))}))};FlexChartAnimation.prototype._parseAxisState=function(t){if(null==t)return null;var i,e,n,a=t.vals,o=t.axis,r=o.axisType==wijmo_chart_1.AxisType.Y,s=t.ele.childNodes,l=0,h=[],u=[];if(a){i=a.major;e=a.minor;n=a.hasLbls}i&&i.forEach((function(t,i){var e,a={},u=!!n[i];h.push(a);a.val=t;e=s[l];if(o.majorGrid&&wijmo_1.hasClass(e,wijmo_chart_1.FlexChart._CSS_GRIDLINE)){a.majorGrid=e;l++;e=s[l]}if(r){if(u&&e&&o.majorTickMarks!==wijmo_chart_1.TickMark.None&&wijmo_1.hasClass(e,wijmo_chart_1.FlexChart._CSS_TICK)){a.tick=e;l++;e=s[l]}if(u&&e&&(wijmo_1.hasClass(e,wijmo_chart_1.FlexChart._CSS_LABEL)||e.querySelector("."+wijmo_chart_1.FlexChart._CSS_LABEL))){a.label=e;l++}}else{if(u&&e&&(wijmo_1.hasClass(e,wijmo_chart_1.FlexChart._CSS_LABEL)||e.querySelector("."+wijmo_chart_1.FlexChart._CSS_LABEL))){a.label=e;l++;e=s[l]}if(u&&e&&o.majorTickMarks!==wijmo_chart_1.TickMark.None&&wijmo_1.hasClass(e,wijmo_chart_1.FlexChart._CSS_TICK)){a.tick=e;l++}}}));e&&e.forEach((function(t,i){var e,n={};u.push(n);n.val=t;e=s[l];if(o.minorTickMarks!==wijmo_chart_1.TickMark.None&&wijmo_1.hasClass(e,wijmo_chart_1.FlexChart._CSS_TICK_MINOR)){n.tick=e;l++;e=s[l]}if(o.minorGrid&&wijmo_1.hasClass(e,wijmo_chart_1.FlexChart._CSS_GRIDLINE_MINOR)){n.majorGrid=e;l++}}));return{major:h,minor:u}};FlexChartAnimation.prototype._playLoadAnimation=function(t,i,e){this["_playLoad"+e+"Animation"](t,i)};FlexChartAnimation.prototype._playUpdateAnimation=function(t,i,e,n,a){null==n||null==a?null==n?this["_play"+e+"RemoveAnimation"](t,a):this["_play"+e+"AddAnimation"](t,n):this["_play"+e+"MoveAnimation"](t,n,a)};FlexChartAnimation.prototype._adjustAnimations=function(t,i){var e,n=i.length;if("Column"===t||"Bar"===t)for(e=n-1;e>=0;e--)null==i[e]&&i.splice(e,1)};FlexChartAnimation.prototype._getChartType=function(t){var i="Default",e=this._chart._isRotated();switch(t){case wijmo_chart_1.ChartType.Scatter:case wijmo_chart_1.ChartType.Bubble:case wijmo_chart_1.ChartType.Candlestick:case wijmo_chart_1.ChartType.HighLowOpenClose:i="Scatter";break;case wijmo_chart_1.ChartType.Column:case wijmo_chart_1.ChartType.Bar:i=e?"Bar":"Column";break;case wijmo_chart_1.ChartType.Line:case wijmo_chart_1.ChartType.LineSymbols:case wijmo_chart_1.ChartType.Area:case wijmo_chart_1.ChartType.Spline:case wijmo_chart_1.ChartType.SplineSymbols:case wijmo_chart_1.ChartType.SplineArea:i="Line";break;default:i="Default"}return i};FlexChartAnimation.prototype._playLoadLineAnimation=function(t,i){var e,n=this,a=this._chart.series[i],o=this.animationMode,r=a.hostElement;if(o===AnimationMode.Point)this._playDefaultAnimation(t,i);else{e=o===AnimationMode.All?this._getAnimation(t,0):this._getAnimation(t,i);[].slice.call(r.childNodes).forEach((function(t){n._setLineRiseDiveAnimation(e,t,!0)}))}};FlexChartAnimation.prototype._setLineRiseDiveAnimation=function(t,i,e){var n,a,o,r,s,l,h,u=this,c=this._chart,m=i.nodeName,p=[],_=[],f=this._chart._plotRect,d=f.top+f.height,A=f.left,y={},x={};if("g"===m&&i.childNodes)[].slice.call(i.childNodes).forEach((function(i){u._setLineRiseDiveAnimation(t,i,e)}));else{if("polyline"===m||"polygon"===m){o=(l=i.points).length||l.numberOfItems;for(r=0;r<o;r++){s=l[r]||l.getItem(r);c.rotated?p.push({x:A,y:s.y}):p.push({x:s.x,y:d});_.push({x:s.x,y:s.y})}y[m]=p;x[m]=_}else if("ellipse"===m||"rect"===m){this._toggleVisibility(i,!1);e&&(h=function(){u._toggleVisibility(i,!0)})}n=e?y:x;a=e?x:y;this._setInitState(i,n,a);t.push({ele:i,from:n,to:a,done:h})}};FlexChartAnimation.prototype._setLineMoveAnimation=function(t,i,e,n,a){if(null!=i&&null!=e){var o,r,s,l,h,u,c,m,p,_=i.nodeName,f=[],d=[],A={},y={};if("polyline"===_||"polygon"===_){p="polygon"===_;s=i.points;u=e.points;o=s.length||s.numberOfItems;l=u.length||u.numberOfItems;m=Math.max(o,l);for(c=0;c<m;c++){if(c<o){r=s[c]||s.getItem(c);f.push({x:r.x,y:r.y})}if(c<l){h=u[c]||u.getItem(c);d.push({x:h.x,y:h.y})}}if(this._addStart){this._adjustStartLinePoints(this._addStart,f,s);o+=this._addStart}else if(this._removeStart){this._adjustStartLinePoints(this._removeStart,d,u);l+=this._removeStart}l>o?this._adjustEndLinePoints(l,o,f,s,p):l<o&&this._adjustEndLinePoints(o,l,d,u,p);A[_]=f;y[_]=d;this._setInitState(n,A,y);t.push({ele:n,from:A,to:y,done:a})}}};FlexChartAnimation.prototype._adjustStartLinePoints=function(t,i,e){for(var n=e[0]||e.getItem(0);t;){i.splice(0,0,{x:n.x,y:n.y});t--}};FlexChartAnimation.prototype._adjustEndLinePoints=function(t,i,e,n,a){var o,r,s;if(a&&(n.length>=3||n.numberOfItems>=3)){r=e.pop();o=e.pop();s=n[n.length-3]||n.getItem(n.numberOfItems-3)}else(n.length>0||n.numberOfItems>0)&&(s=n[n.length-1]||n.getItem(n.numberOfItems-1));for(;t>i&&s;){e.push({x:s.x,y:s.y});i++}if(a&&r&&o){e.push(o);e.push(r)}};FlexChartAnimation.prototype._playLineRemoveAnimation=function(t,i){var e,n=this,a=this._chart.series[0].hostElement.parentNode,o=this._getAnimation(t,0);a.appendChild(i);[].slice.call(i.childNodes).forEach((function(t){n._setLineRiseDiveAnimation(o,t,!1)}));if(o.length){e=o[0].done;o[0].done=function(){i&&i.parentNode===a&&a.removeChild(i);e&&e()}}};FlexChartAnimation.prototype._playLineAddAnimation=function(t,i){var e=this,n=i.hostElement,a=this._getAnimation(t,0);[].slice.call(n.childNodes).forEach((function(t){e._setLineRiseDiveAnimation(a,t,!0)}))};FlexChartAnimation.prototype._playLineMoveAnimation=function(t,i,e){var n,a,o,r,s=this,l=(this._chart,this._getAnimation(t,0)),h=[];n=i.hostElement;a=[].slice.call(e.childNodes);[].slice.call(n.childNodes).forEach((function(t,i){r=t.nodeName;o=a[i];if("g"===r&&t.nodeChilds)[].slice.call(t.nodeChilds).forEach((function(t,i){if(o){h.push(t);s._toggleVisibility(t,!1)}}));else if("polygon"===r||"polyline"===r)s._setLineMoveAnimation(l,o,t,t,0===i?function(){h.forEach((function(t){s._toggleVisibility(t,!0)}));h=null}:null);else if(o){h.push(t);s._toggleVisibility(t,!1)}}))};FlexChartAnimation.prototype._playLoadColumnAnimation=function(t,i){this._playLoadBarAnimation(t,i,!0)};FlexChartAnimation.prototype._playLoadBarAnimation=function(t,i,e){var n=this;void 0===e&&(e=!1);var a=this._chart.series[i],o=this.animationMode,r=a.hostElement;[].slice.call(r.childNodes).forEach((function(a,r){var s,l=a.nodeName;s=o===AnimationMode.Point?n._getAnimation(t,r):o===AnimationMode.Series?n._getAnimation(t,i):n._getAnimation(t,0);"g"===l?a.childNodes&&[].slice.call(a.childNodes).forEach((function(t,i){n._setLoadBarAnimation(s,t,e)})):n._setLoadBarAnimation(s,a,e)}))};FlexChartAnimation.prototype._setBarAnimation=function(t,i,e,n,a){this._setInitState(i,e,n);t.push({ele:i,from:e,to:n,done:a})};FlexChartAnimation.prototype._setLoadBarAnimation=function(t,i,e,n,a){var o=this;void 0===n&&(n=!1);var r,s,l=e?"height":"width",h=e?"y":"x",u=i.getAttribute(l),c=i.getAttribute(h),m=e?"top":"left",p=this._chart._plotRect,_={},f={};_[l]=0;f[l]=Number(u);if(e){_[h]=p[l]+p[m];f[h]=Number(c)}r=n?f:_;s=n?_:f;"g"===i.nodeName?i.childNodes&&[].slice.call(i.childNodes).forEach((function(i){o._setBarAnimation(t,i,r,s,a)})):this._setBarAnimation(t,i,r,s,a)};FlexChartAnimation.prototype._setMoveBarAnimation=function(t,i,e){var n={},a={};if(null!=i&&null!=e){["width","height","x","y","top","left"].forEach((function(t){var o=i.getAttribute(t),r=e.getAttribute(t);if(o!==r){n[t]=Number(o);a[t]=Number(r)}}));this._setInitState(e,n,a);t.push({ele:e,from:n,to:a})}};FlexChartAnimation.prototype._playColumnRemoveAnimation=function(t,i){this._playBarRemoveAnimation(t,i,!0)};FlexChartAnimation.prototype._playColumnAddAnimation=function(t,i){this._playBarAddAnimation(t,i,!0)};FlexChartAnimation.prototype._playColumnMoveAnimation=function(t,i,e){this._playBarMoveAnimation(t,i,e,!0)};FlexChartAnimation.prototype._playBarRemoveAnimation=function(t,i,e){var n=this;void 0===e&&(e=!1);var a=this._chart.series[0].hostElement.parentNode,o=this._getAnimation(t,0);a.appendChild(i);[].slice.call(i.childNodes).forEach((function(t){n._setLoadBarAnimation(o,t,e,!0)}));o.length&&(o[0].done=function(){i&&i.parentNode===a&&a.removeChild(i)})};FlexChartAnimation.prototype._playBarAddAnimation=function(t,i,e){var n=this;void 0===e&&(e=!1);var a=i.hostElement,o=this._getAnimation(t,2);[].slice.call(a.childNodes).forEach((function(t){n._setLoadBarAnimation(o,t,e,!1)}))};FlexChartAnimation.prototype._playBarMoveAnimation=function(t,i,e,n){var a=this;void 0===n&&(n=!1);var o,r,s,l,h,u,c;this._chart;o=i.hostElement;s=[].slice.call(e.childNodes);if(this._addStart){c=0;l=s[0];for(;c<this._addStart;){s.splice(0,0,l);c++}}if(this._removeStart){c=0;l=s[s.length-1];for(;c<this._removeStart;){var m=s.shift();s.push(m);c++}}h=s.length;r=[].slice.call(o.childNodes);u=r.length;r.forEach((function(i,e){var o;if(e<h){l=s[e];if(e<a._addStart){o=a._getAnimation(t,2);a._setLoadBarAnimation(o,i,n,!1)}else if(e>=h-a._removeStart){o=a._getAnimation(t,2);a._setLoadBarAnimation(o,i,n,!1);o=a._getAnimation(t,0);a._removeBarAnimation(o,i,l,n)}else{o=a._getAnimation(t,1);a._setMoveBarAnimation(o,l,i)}if(e===u-1&&e<h-1){o=a._getAnimation(t,0);for(e++;e<h;e++){l=s[e];a._removeBarAnimation(o,i,l,n)}}}else{o=a._getAnimation(t,2);a._setLoadBarAnimation(o,i,n,!1)}}))};FlexChartAnimation.prototype._removeBarAnimation=function(t,i,e,n){var a=i.parentNode;a.appendChild(e);this._setLoadBarAnimation(t,e,n,!0,function(t){return function(){t.parentNode&&t.parentNode===a&&a.removeChild(t)}}(e))};FlexChartAnimation.prototype._playLoadScatterAnimation=function(t,i){var e=this,n=this._chart,a=n.series[i],o=this.animationMode,r=a.hostElement,s=a._xValues||n._xvals;0===s.length&&(s=a._pointIndexes);[].slice.call(r.childNodes).forEach((function(n,a){var r;r=o===AnimationMode.Point?e._getScatterAnimation(t,s[a]):o===AnimationMode.Series?e._getAnimation(t,i):e._getAnimation(t,0);e._setLoadScatterAnimation(r,n,!1)}))};FlexChartAnimation.prototype._setLoadScatterAnimation=function(t,i,e,n){var a=this;void 0===e&&(e=!1);var o,r,s={},l={};if("g"===i.nodeName&&i.childNodes)[].slice.call(i.childNodes).forEach((function(i){a._setLoadScatterAnimation(t,i,e,n)}));else{["rx","ry","stroke-width"].forEach((function(t){var e=i.getAttribute(t);s[t]=0;l[t]=Number(e)}));o=e?l:s;r=e?s:l;this._setInitState(i,o,r);t.push({ele:i,from:o,to:r,done:n})}};FlexChartAnimation.prototype._setUpdateScatterAnimation=function(t,i,e,n){var a={},o={};["cx","cy"].forEach((function(t){var n=i.getAttribute(t),r=e.getAttribute(t);if(n!==r){a[t]=Number(n);o[t]=Number(r)}}));this._setInitState(e,a,o);t.push({ele:e,from:a,to:o,done:n})};FlexChartAnimation.prototype._getScatterAnimation=function(t,i){var e=this._getScatterAnimationIndex(t,i);t[e]||(t[e]=[]);return t[e]};FlexChartAnimation.prototype._getScatterAnimationIndex=function(t,i){var e=this._chart.axisX,n=null==e.min?e.actualMin:e.min,a=null==e.max?e.actualMax:e.max;return Math.ceil((i-n)/((a-n)/20))};FlexChartAnimation.prototype._playScatterRemoveAnimation=function(t,i){var e=this,n=this._chart.series[0].hostElement.parentNode,a=this._getAnimation(t,0);n.appendChild(i);[].slice.call(i.childNodes).forEach((function(t){e._setLoadScatterAnimation(a,t,!0)}));a.length&&(a[0].done=function(){i&&i.parentNode===n&&n.removeChild(i)})};FlexChartAnimation.prototype._playScatterAddAnimation=function(t,i){var e=this,n=i.hostElement,a=this._getAnimation(t,0);[].slice.call(n.childNodes).forEach((function(t){e._setLoadScatterAnimation(a,t,!1)}))};FlexChartAnimation.prototype._playScatterMoveAnimation=function(t,i,e){var n,a,o,r,s,l,h,u=this,c=(this._chart,this._getAnimation(t,0));n=i.hostElement;o=[].slice.call(e.childNodes);if(this._addStart){h=0;r=o[0];for(;h<this._addStart;){o.splice(0,0,r);h++}}if(this._removeStart){h=0;r=o[o.length-1];for(;h<this._removeStart;){var m=o.shift();o.push(m);h++}}s=o.length;a=[].slice.call(n.childNodes);l=a.length;a.forEach((function(t,i){if(i<s){if(i<u._addStart)u._setLoadScatterAnimation(c,t,!1);else if(i>=s-u._removeStart){u._setLoadScatterAnimation(c,t,!1);r=o[i];u._removeScatterAnimation(c,t,r)}else{r=o[i];u._setUpdateScatterAnimation(c,r,t)}if(i===l-1&&i<s-1)for(i++;i<s;i++){r=o[i];u._removeScatterAnimation(c,t,r)}}else u._setLoadScatterAnimation(c,t,!1)}))};FlexChartAnimation.prototype._removeScatterAnimation=function(t,i,e){var n=i.parentNode;n.appendChild(e);this._setLoadScatterAnimation(t,e,!0,function(t){return function(){t.parentNode&&t.parentNode===n&&n.removeChild(t)}}(e))};FlexChartAnimation.prototype._playDefaultAnimation=function(t,i){var e,n,a=this._chart,o=a.series[i].hostElement,r=a._plotRect,s=a._currentRenderEngine,l=o.getAttribute("clip-path"),h="clipPath"+(1e6*Math.random()).toFixed(),u=a.axisX.reversed;s.addClipRect(new wijmo_1.Rect(u?r.right:r.left,r.top,0,r.height),h);o.setAttribute("clip-path","url(#"+h+")");e=a.hostElement.querySelector("#"+h);n=this._getAnimation(t,0);var c={width:0},m={width:r.width};if(u){c.x=r.right;m.x=r.left}n.push({ele:e.querySelector("rect"),from:c,to:m,done:function(){if(o){l?o.setAttribute("clip-path",l):o.removeAttribute("clip-path");e&&e.parentNode&&e.parentNode.removeChild(e)}}})};return FlexChartAnimation}(FlexAnimation),FlexRadarAnimation=function(t){__extends(FlexRadarAnimation,t);function FlexRadarAnimation(i,e){return t.call(this,i,e)||this}FlexRadarAnimation.prototype._getDurationAndDelay=function(i,e){var n=t.prototype._getDurationAndDelay.call(this,i,e);if(this.animationMode===AnimationMode.Point){n.duration=e/i;n.delay=e/i}return n};FlexRadarAnimation.prototype._playAxesAnimation=function(){};FlexRadarAnimation.prototype._getChartType=function(i){var e=t.prototype._getChartType.call(this,i);"Bar"===e&&(e="Column");return e};FlexRadarAnimation.prototype._playLoadLineAnimation=function(t,i){var e,n,a,o=this,r=this._chart,s=this._chart.series[i],l=s._xValues||r._xvals,h=this.animationMode,u=s.hostElement;if(h===AnimationMode.Point){0===l.length&&(l=s._pointIndexes);a=[].slice.call(u.childNodes);n=a.length-u.querySelectorAll("ellipse").length;a.forEach((function(i,e){o._setRadarLinePointAnimation(t,i,e,l,n)}))}else{e=h===AnimationMode.All?this._getAnimation(t,0):this._getAnimation(t,i);[].slice.call(u.childNodes).forEach((function(t){o._setLineRiseDiveAnimation(e,t,!0)}))}};FlexRadarAnimation.prototype._setRadarLinePointAnimation=function(t,i,e,n,a){var o,r,s,l,h,u,c,m=this,p=this._chart,_=i.nodeName,f=[],d=[],A=[],y=[],x=p._center,g=[],E=!1,v={},C={},S=0;if("polyline"===_||"polygon"===_){o=(l=i.points).length||l.numberOfItems;for(r=0;r<o;r++){g[c=this._getScatterAnimationIndex(t,n[r])]||(g[c]=[]);g[c].push(r);s=l[r]||l.getItem(r);f.push({x:x.x,y:x.y});d.push({x:s.x,y:s.y})}for(r=0,o=g.length;r<o;r++)if(g[r]){u=this._getAnimation(t,S);A=y.length?y.slice():f.slice();y=A.slice();g[r].forEach((function(t){var i=d[t];y[t]={x:i.x,y:i.y}}));C={};(v={})[_]=A;C[_]=y;if(!E){this._setInitState(i,v,C);E=!0}u.push({ele:i,from:v,to:C,done:h});S++}}else if("ellipse"===_){if((r=e-(a||0))<0)return;u=p._isPolar?this._getScatterAnimation(t,n[r]):this._getScatterAnimation(t,r);this._toggleVisibility(i,!1);h=function(){m._toggleVisibility(i,!0)};u.push({ele:i,from:v,to:C,done:h})}};FlexRadarAnimation.prototype._setLineRiseDiveAnimation=function(t,i,e){var n,a,o,r,s,l,h,u=this,c=this._chart,m=i.nodeName,p=[],_=[],f=c._center,d={},A={};if("polyline"===m||"polygon"===m){o=(l=i.points).length||l.numberOfItems;for(r=0;r<o;r++){s=l[r]||l.getItem(r);p.push({x:f.x,y:f.y});_.push({x:s.x,y:s.y})}d[m]=p;A[m]=_}else if("ellipse"===m){this._toggleVisibility(i,!1);e&&(h=function(){u._toggleVisibility(i,!0)})}n=e?d:A;a=e?A:d;this._setInitState(i,n,a);t.push({ele:i,from:n,to:a,done:h})};FlexRadarAnimation.prototype._parsePathByRadius=function(t,i,e){var n,a,o=t.center.x,r=t.center.y,s=t.radius,l=t.angle,h=t.sweep;n=[o,r,0,l,h,0];a=[o,r,s,l,h,t.innerRadius||0];i.pie=n;e.pie=a};FlexRadarAnimation.prototype._playUpdateAnimation=function(i,e,n,a,o){if("Bar"===n||"Column"===n){if(null==a)return;this._playLoadBarAnimation(i,e,!1)}else t.prototype._playUpdateAnimation.call(this,i,e,n,a,o)};FlexRadarAnimation.prototype._playLoadBarAnimation=function(t,i,e){var n=this;void 0===e&&(e=!1);var a=this._chart,o=a.series[i],r=a._areas[i],s=this.animationMode,l=o.hostElement;[].slice.call(l.childNodes).forEach((function(e,a){var o,l,h={},u={};o=s===AnimationMode.Point?n._getAnimation(t,a):s===AnimationMode.Series?n._getAnimation(t,i):n._getAnimation(t,0);l=r[a];n._parsePathByRadius(l,h,u);n._setInitState(e,h,u);o.push({ele:e,from:h,to:u})}))};return FlexRadarAnimation}(FlexChartAnimation),AnimationHelper=function(){function AnimationHelper(){}AnimationHelper.playAnimations=function(t,i,e,n,a,o,r){void 0===a&&(a=Easing.Swing);var s=t.length,l=0,h=[];t.forEach((function(t,u){var c=AnimationHelper.playAnimation(t,i[u],e[u],(function(){l===s-1&&n&&n();l++}),a,o,r);h.push(c)}));return h};AnimationHelper.playAnimation=function(t,i,e,n,a,o,r){void 0===a&&(a=Easing.Swing);var s=AnimationHelper.parseAttrs(i,e);return AnimationHelper.animate((function(i){AnimationHelper.setElementAttr(t,s,i)}),n,a,o,r)};AnimationHelper.setElementAttr=function(t,i,e){var n,a;for(a in i){n=i[a];AnimationHelper.calcValue(n,e);t.setAttribute(a,n.getValue(n.value,e))}};AnimationHelper.getPathDescOfPie=function(t,i,e,n,a,o){void 0===o&&(o=0);var r=!1;if(a>=2*Math.PI){r=!0;a=2*Math.PI-.001}var s=new wijmo_1.Point(t,i);s.x+=e*Math.cos(n);s.y+=e*Math.sin(n);var l=n+a,h=new wijmo_1.Point(t,i);h.x+=e*Math.cos(l);h.y+=e*Math.sin(l);var u=new wijmo_1.Point(t,i),c=new wijmo_1.Point(t,i);if(o){u.x+=o*Math.cos(l);u.y+=o*Math.sin(l);c.x+=o*Math.cos(n);c.y+=o*Math.sin(n)}var m=" 0 0,1 ",p=" 0 0,0 ";if(Math.abs(a)>Math.PI){m=" 0 1,1 ";p=" 0 1,0 "}var _="M "+s.x.toFixed(3)+","+s.y.toFixed(3);_+=" A "+e.toFixed(3)+","+e.toFixed(3)+m;_+=h.x.toFixed(3)+","+h.y.toFixed(3);if(o){_+=r?" M "+u.x.toFixed(3)+","+u.y.toFixed(3):" L "+u.x.toFixed(3)+","+u.y.toFixed(3);_+=" A "+o.toFixed(3)+","+o.toFixed(3)+p;_+=c.x.toFixed(3)+","+c.y.toFixed(3)}else _+=" L "+t.toFixed(3)+","+i.toFixed(3);r||(_+=" z");return _};AnimationHelper.parseAttrs=function(t,i){var e={};for(var n in t)if(null!=i[n])switch(n){case"polyline":e.points=AnimationHelper.parseAttr(t[n],i[n],(function(t,i){if(1===i){for(var e=void 0,n=void 0,a=void 0;t.length>1;){n=t[0];a=t[1];if(n.x!==a.x||n.y!==a.y){n=null;a=null;break}t.splice(1,1)}for(e=t.length-1;e>0;e--){n=a;a=t[e];if(n){if(n.x!==a.x||n.y!==a.y)break;t.pop()}}}return t.map((function(t){return t.x+","+t.y})).join(" ")}));break;case"polygon":e.points=AnimationHelper.parseAttr(t[n],i[n],(function(t,i){if(1===i){var e,n,a=void 0,o=void 0,r=void 0;e=t.pop();n=t.pop();for(;t.length>1;){o=t[0];r=t[1];if(o.x!==r.x||o.y!==r.y){o=null;r=null;break}t.splice(1,1)}for(a=t.length-1;a>=0;a--){o=r;r=t[a];if(o){if(o.x!==r.x||o.y!==r.y)break;t.splice(a,1)}}t.push(n);t.push(e)}return t.map((function(t){return t.x+","+t.y})).join(" ")}));break;case"d":e[n]=AnimationHelper.parseAttr(t[n],i[n],(function(t){return t.map((function(t){return"string"==typeof t?t:t[0]+","+t[1]})).join(" ")}));break;case"pie":e.d=AnimationHelper.parseAttr(t[n],i[n],(function(t){return AnimationHelper.getPathDescOfPie.apply(AnimationHelper,t)}));break;case"rotate":e.transform=AnimationHelper.parseAttr(t[n],i[n],(function(t){return"rotate("+t.join(" ")+")"}));break;case"x":case"width":case"height":case"rx":case"ry":case"stroke-width":e[n]=AnimationHelper.parseAttr(t[n],i[n],(function(t){return Math.abs(t)}));break;default:e[n]=AnimationHelper.parseAttr(t[n],i[n])}return e};AnimationHelper.animate=function(t,i,e,n,a){void 0===e&&(e=Easing.Swing);void 0===n&&(n=400);void 0===a&&(a=16);wijmo_1.asFunction(t);wijmo_1.asNumber(n,!1,!0);wijmo_1.asNumber(a,!1,!0);var o=0,r=setInterval((function(){Date.now();var s=o/n;s=EasingHelper[Easing[e]](s);t(s);if((o+=a)>=n){clearInterval(r);(s<1||s>1)&&t(1);i&&i()}}),a);return r};AnimationHelper.calcValue=function(t,i){var e=t.from,n=t.diff,a=t.value;wijmo_1.isNumber(e)?t.value=0===n?e:e+n*i:wijmo_1.isArray(e)&&AnimationHelper.parseArrayAttr(a,e,n,(function(t,e){return"number"==typeof t?t+e*i:t}))};AnimationHelper.parseAttr=function(t,i,e){var n,a,o,r;if(wijmo_1.isArray(t)&&wijmo_1.isArray(i)){a=i;o=[];r=(n=t).slice();AnimationHelper.parseArrayAttr(o,n,a,(function(t,i){return t===i?0:i-t}))}else{r=n=Number(t);o=(a=Number(i))-n}return{from:n,to:a,value:r,diff:o,getValue:e||function(t,i){return t}}};AnimationHelper.parseArrayAttr=function(t,i,e,n){i.forEach((function(i,a){var o={},r=[],s=e[a];if(wijmo_1.isNumber(i)||"string"==typeof i)t[a]=n(i,s);else if(wijmo_1.isArray(i)){i.forEach((function(t,e){r[e]=n(i[e],s[e])}));t[a]=r}else{Object.getOwnPropertyNames(i).forEach((function(t){o[t]=n(i[t],s[t])}));t[a]=o}}))};return AnimationHelper}(),EasingHelper=function(){function EasingHelper(){}EasingHelper.Linear=function(t){return t};EasingHelper.Swing=function(t){var i=2.5949095;return(t/=.5)<1?t*t*((i+1)*t-i)*.5:.5*((t-=2)*t*((i+1)*t+i)+2)};EasingHelper.EaseInQuad=function(t){return t*t};EasingHelper.EaseOutQuad=function(t){return t*(2-t)};EasingHelper.EaseInOutQuad=function(t){return t<.5?2*t*t:(4-2*t)*t-1};EasingHelper.EaseInCubic=function(t){return t*t*t};EasingHelper.EaseOutCubic=function(t){return--t*t*t+1};EasingHelper.EaseInOutCubic=function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1};EasingHelper.EaseInQuart=function(t){return t*t*t*t};EasingHelper.EaseOutQuart=function(t){return 1- --t*t*t*t};EasingHelper.EaseInOutQuart=function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t};EasingHelper.EaseInQuint=function(t){return t*t*t*t*t};EasingHelper.EaseOutQuint=function(t){return 1+--t*t*t*t*t};EasingHelper.EaseInOutQuint=function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t};EasingHelper.EaseInSine=function(t){return 1-Math.cos(t*(Math.PI/2))};EasingHelper.EaseOutSine=function(t){return Math.sin(t*(Math.PI/2))};EasingHelper.EaseInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};EasingHelper.EaseInExpo=function(t){return 0==t?0:Math.pow(2,10*(t-1))};EasingHelper.EaseOutExpo=function(t){return 1==t?1:1-Math.pow(2,-10*t)};EasingHelper.EaseInOutExpo=function(t){return t==!!t?t:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))};EasingHelper.EaseInCirc=function(t){return-(Math.sqrt(1-t*t)-1)};EasingHelper.EaseOutCirc=function(t){return Math.sqrt(1-Math.pow(t-1,2))};EasingHelper.EaseInOutCirc=function(t){if((t/=.5)<1)return-.5*(Math.sqrt(1-t*t)-1);t-=2;return.5*(Math.sqrt(1-t*t)+1)};EasingHelper.EaseInBack=function(t){var i=1.70158;return t*t*((i+1)*t-i)};EasingHelper.EaseOutBack=function(t){var i=1.70158;return(t-=1)*t*((i+1)*t+i)+1};EasingHelper.EaseInOutBack=function(t){var i=1.70158;return(t/=.5)<1?t*t*(((i*=1.525)+1)*t-i)*.5:.5*((t-=2)*t*(((i*=1.525)+1)*t+i)+2)};EasingHelper.EaseInBounce=function(t){return 1-EasingHelper.EaseOutBounce(1-t)};EasingHelper.EaseOutBounce=function(t){var i=7.5625;return t<1/2.75?i*t*t:t<2/2.75?i*(t-=1.5/2.75)*t+.75:t<2.5/2.75?i*(t-=2.25/2.75)*t+.9375:i*(t-=2.625/2.75)*t+.984375};EasingHelper.EaseInOutBounce=function(t){return t<.5?.5*EasingHelper.EaseInBounce(2*t):.5*EasingHelper.EaseOutBounce(2*t-1)+.5};EasingHelper.EaseInElastic=function(t){if(t==!!t)return t;t-=1;return-Math.pow(2,10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)};EasingHelper.EaseOutElastic=function(t){return t==!!t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1};EasingHelper.EaseInOutElastic=function(t){if(t==!!t)return t;if((t*=2)<1){t-=1;return Math.pow(2,10*t)*Math.sin((t-.1125)*(2*Math.PI)/.45)*-.5}t-=1;return Math.pow(2,-10*t)*Math.sin((t-.1125)*(2*Math.PI)/.45)*.5+1};return EasingHelper}();wijmo_1._registerModule("wijmo.chart.animation",selfModule);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.20261.45-nightly.
|
|
3
|
+
* Wijmo Library 5.20261.45-nightly.d20260105.t014601
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -44,13 +44,13 @@ export declare const GcchartAnnoClsNames: {
|
|
|
44
44
|
*/
|
|
45
45
|
export declare enum AnnotationAttachment {
|
|
46
46
|
/**
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
* Coordinates of the annotation point are defined by the data series index and
|
|
48
|
+
* the data point index. */
|
|
49
49
|
DataIndex = 0,
|
|
50
50
|
/** Annotation point is specified in data coordinates. */
|
|
51
51
|
DataCoordinate = 1,
|
|
52
52
|
/** Annotation point is specified as a relative position inside the control where
|
|
53
|
-
|
|
53
|
+
* (0,0) is the top left corner and (1,1) is the bottom right corner.*/
|
|
54
54
|
Relative = 2,
|
|
55
55
|
/** The annotation point is specified in control's pixel coordinates. */
|
|
56
56
|
Absolute = 3
|
|
@@ -156,7 +156,7 @@ export declare class AnnotationBase {
|
|
|
156
156
|
_resetDefaultValue(): void;
|
|
157
157
|
_toggleVisibility(visible: boolean): void;
|
|
158
158
|
_getCSSClass(): string;
|
|
159
|
-
_render(
|
|
159
|
+
_render(_engine: IRenderEngine): void;
|
|
160
160
|
_repaint(): void;
|
|
161
161
|
_convertPoint(pt?: DataPoint): Point;
|
|
162
162
|
_convertDataToLen(total: number, axis: Axis, val: any, converted?: boolean): number;
|
|
@@ -164,7 +164,7 @@ export declare class AnnotationBase {
|
|
|
164
164
|
_adjustOffset(pt: Point, offset: Point): void;
|
|
165
165
|
_getOffset(engine?: IRenderEngine): Point;
|
|
166
166
|
_getPositionOffset(engine?: IRenderEngine): Point;
|
|
167
|
-
_getSize(
|
|
167
|
+
_getSize(_engine?: IRenderEngine): Size;
|
|
168
168
|
_isValidPoint(pt: Point): boolean;
|
|
169
169
|
_measureString(engine: IRenderEngine, text: string, className: string): Size;
|
|
170
170
|
}
|
|
@@ -210,7 +210,7 @@ export declare class Shape extends AnnotationBase {
|
|
|
210
210
|
content: string;
|
|
211
211
|
_render(engine: IRenderEngine): void;
|
|
212
212
|
_getContentCenter(): DataPoint;
|
|
213
|
-
_renderShape(
|
|
213
|
+
_renderShape(_engine: IRenderEngine): void;
|
|
214
214
|
_renderText(engine: IRenderEngine): void;
|
|
215
215
|
}
|
|
216
216
|
/**
|
|
@@ -353,8 +353,8 @@ export declare class Square extends Shape {
|
|
|
353
353
|
*/
|
|
354
354
|
constructor(options?: any);
|
|
355
355
|
/**
|
|
356
|
-
|
|
357
|
-
|
|
356
|
+
* Gets or sets the length of the {@link Square} annotation.
|
|
357
|
+
*/
|
|
358
358
|
length: number;
|
|
359
359
|
_resetDefaultValue(): void;
|
|
360
360
|
_getCSSClass(): string;
|
|
@@ -362,30 +362,30 @@ export declare class Square extends Shape {
|
|
|
362
362
|
_getSize(): Size;
|
|
363
363
|
}
|
|
364
364
|
/**
|
|
365
|
-
|
|
366
|
-
|
|
365
|
+
* Represents an image annotation for {@link AnnotationLayer}.
|
|
366
|
+
*/
|
|
367
367
|
export declare class Image extends Shape {
|
|
368
368
|
static _CSS_IMAGE: string;
|
|
369
369
|
private _width;
|
|
370
370
|
private _height;
|
|
371
371
|
private _href;
|
|
372
372
|
/**
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
373
|
+
* Initializes a new instance of the {@link Image} annotation class.
|
|
374
|
+
*
|
|
375
|
+
* @param options JavaScript object containing initialization data for the object.
|
|
376
|
+
*/
|
|
377
377
|
constructor(options?: any);
|
|
378
378
|
/**
|
|
379
|
-
|
|
380
|
-
|
|
379
|
+
* Gets or sets the width of the {@link Image} annotation.
|
|
380
|
+
*/
|
|
381
381
|
width: number;
|
|
382
382
|
/**
|
|
383
|
-
|
|
384
|
-
|
|
383
|
+
* Gets or sets the height of the {@link Image} annotation.
|
|
384
|
+
*/
|
|
385
385
|
height: number;
|
|
386
386
|
/**
|
|
387
|
-
|
|
388
|
-
|
|
387
|
+
* Gets or sets the href of the {@link Image} annotation.
|
|
388
|
+
*/
|
|
389
389
|
href: string;
|
|
390
390
|
_resetDefaultValue(): void;
|
|
391
391
|
_getCSSClass(): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.20261.45-nightly.
|
|
3
|
+
* Wijmo Library 5.20261.45-nightly.d20260105.t014601
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
*
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(t,e){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};return function(t,e){extendStatics(t,e);function __(){this.constructor=t}t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}}(),__importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);e.default=t;return e};Object.defineProperty(exports,"__esModule",{value:!0});var AnnotationAttachment,AnnotationPosition,wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),selfModule=__importStar(require("wijmo/wijmo.chart.annotation"));exports.AnnotationClsNames={hostElement:"wj-chart-annotation",layer:"wj-chart-annotationlayer"};exports.GcchartAnnoClsNames={annoShape:"anno-shape",annoText:"anno-text",circle:"gcchart-anno-circle",ellipse:"gcchart-anno-ellipse",gcchartAnnotation:"gcchart-annotation",image:"gcchart-anno-image",line:"gcchart-anno-line",polygon:"gcchart-anno-polygon",rectangle:"gcchart-anno-rectangle",shape:"gcchart-anno-shape",square:"gcchart-anno-square",text:"gcchart-anno-text"};!function(t){t[t.DataIndex=0]="DataIndex";t[t.DataCoordinate=1]="DataCoordinate";t[t.Relative=2]="Relative";t[t.Absolute=3]="Absolute"}(AnnotationAttachment=exports.AnnotationAttachment||(exports.AnnotationAttachment={}));!function(t){t[t.Center=0]="Center";t[t.Top=1]="Top";t[t.Bottom=2]="Bottom";t[t.Left=4]="Left";t[t.Right=8]="Right"}(AnnotationPosition=exports.AnnotationPosition||(exports.AnnotationPosition={}));var AnnotationBase=function(){function AnnotationBase(t){this._resetDefaultValue();this._initOptions(this,t)}Object.defineProperty(AnnotationBase.prototype,"attachment",{get:function(){return this._attachment},set:function(t){if((t=wijmo_1.asEnum(t,AnnotationAttachment))!=this._attachment){this._attachment=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"point",{get:function(){return this._point},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._point.x||t.y!==this._point.y)){this._point=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"seriesIndex",{get:function(){return this._seriesIndex},set:function(t){if((t=wijmo_1.asNumber(t,!1,!0))!=this._seriesIndex){this._seriesIndex=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"pointIndex",{get:function(){return this._pointIndex},set:function(t){if(t!==this._pointIndex){this._pointIndex=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"position",{get:function(){return this._position},set:function(t){if(t!=this._position){this._position=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"offset",{get:function(){return this._offset},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._offset.x||t.y!==this._offset.y)){this._offset=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"style",{get:function(){null==this._style&&(this._style={});return this._style},set:function(t){if(t!=this._style){this._style=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"isVisible",{get:function(){return this._isVisible},set:function(t){if((t=wijmo_1.asBoolean(t,!1))!=this._isVisible){this._isVisible=t;this._toggleVisibility(t)}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"tooltip",{get:function(){return this._tooltip},set:function(t){this._tooltip=t},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!0,configurable:!0});AnnotationBase.prototype.render=function(t){var e;this._element=t.startGroup(this._getCSSClass());t.fill="#88bde6";t.strokeWidth=1;t.stroke="#000000";this._render(t);t.endGroup();this._element[AnnotationBase._DATA_KEY]=this;this._isVisible?this._attachment===AnnotationAttachment.DataIndex&&(!(e=this._layer._chart.series[this._seriesIndex])||e.visibility!==wijmo_chart_1.SeriesVisibility.Legend&&e.visibility!==wijmo_chart_1.SeriesVisibility.Hidden||this._toggleVisibility(!1)):this._toggleVisibility(!1)};AnnotationBase.prototype.destroy=function(){};AnnotationBase.prototype._initOptions=function(t,e){for(var n in e)n in t&&this._processOptions(n,t,e)};AnnotationBase.prototype._processOptions=function(t,e,n){e[t]=n[t]};AnnotationBase.prototype._resetDefaultValue=function(){this._attachment=AnnotationAttachment.Absolute;this._point=new wijmo_chart_1.DataPoint(0,0);this._seriesIndex=0;this._pointIndex=0;this._position=AnnotationPosition.Center;this._offset=new wijmo_1.Point(0,0);this._isVisible=!0;this._tooltip=""};AnnotationBase.prototype._toggleVisibility=function(t){var e=t?"visible":"hidden";this._element&&this._element.setAttribute("visibility",e)};AnnotationBase.prototype._getCSSClass=function(){return AnnotationBase._CSS_ANNOTATION};AnnotationBase.prototype._render=function(t){this._element=null};AnnotationBase.prototype._repaint=function(){this._layer&&this._layer._renderAnnotation(this._layer._chart.renderEngine,this)};AnnotationBase.prototype._convertPoint=function(t){var e,n,i,o,r,s,a,h=this._attachment,_=new wijmo_1.Point;this._layer&&this._layer._chart&&(n=(e=this._layer._chart)._plotRect);switch(h){case AnnotationAttachment.DataIndex:if(!e.series||e.series.length<=this.seriesIndex)break;if(!(s=(r=e.series[this.seriesIndex])._getItem(this.pointIndex)))break;i=r.axisX||e.axisX;o=r.axisY||e.axisY;a=s[r.bindingX]||s.x;var l=s[r._getBinding(0)]||o.actualMin+.25;null!=r._getYOffset&&(l=r._getYOffset(this.pointIndex));if("string"==typeof a){a=this.pointIndex;null!=r._getXOffset&&(a+=r._getXOffset())}_.x=this._convertDataToLen(n.width,i,a);_.y=this._convertDataToLen(n.height,o,l,!0);break;case AnnotationAttachment.DataCoordinate:i=e.axisX;o=e.axisY;_.x=this._convertDataToLen(n.width,i,t.x);_.y=this._convertDataToLen(n.height,o,t.y,!0);break;case AnnotationAttachment.Relative:_.x=n.width*t.x;_.y=n.height*t.y;break;case AnnotationAttachment.Absolute:default:_.x=t.x;_.y=t.y}return _};AnnotationBase.prototype._convertDataToLen=function(t,e,n,i){void 0===i&&(i=!1);var o=null==e.min?e.actualMin:e.min,r=null==e.max?e.actualMax:e.max,s=e._getLogBase();e.reversed&&(i=!i);if(s){if(n<=0)return NaN;var a=Math.log(r/o);return i?t*(1-Math.log(n/o)/a):t*Math.log(n/o)/a}return i?t*(1-(n-o)/(r-o)):t*(n-o)/(r-o)};AnnotationBase.prototype._renderCenteredText=function(t,e,n,i,o,r){var s,a;if(this._isValidPoint(n)){o?e.drawStringRotated(t,n,n,o,i,r):e.drawString(t,n,i,r);if(s=this._element.querySelector("text")){a=s.getBBox();s.setAttribute("x",(n.x-a.width/2).toFixed(1));s.setAttribute("y",(n.y+a.height/6).toFixed(1))}}};AnnotationBase.prototype._adjustOffset=function(t,e){t.x=t.x+e.x;t.y=t.y+e.y};AnnotationBase.prototype._getOffset=function(t){var e=this._getPositionOffset(t);return new wijmo_1.Point(this._offset.x+e.x,this._offset.y+e.y)};AnnotationBase.prototype._getPositionOffset=function(t){var e=new wijmo_1.Point(0,0),n=this.position,i=this._getSize(t);(n&AnnotationPosition.Top)===AnnotationPosition.Top?e.y-=i.height/2:(n&AnnotationPosition.Bottom)===AnnotationPosition.Bottom&&(e.y+=i.height/2);(n&AnnotationPosition.Left)===AnnotationPosition.Left?e.x-=i.width/2:(n&AnnotationPosition.Right)===AnnotationPosition.Right&&(e.x+=i.width/2);return e};AnnotationBase.prototype._getSize=function(t){return new wijmo_1.Size};AnnotationBase.prototype._isValidPoint=function(t){return isFinite(t.x)&&isFinite(t.y)};AnnotationBase.prototype._measureString=function(t,e,n){var i,o=t;if(o._textGroup&&null==o._textGroup.parentNode){o._svg.appendChild(o._textGroup);i=o.measureString(e,n,null,this.style);o.endRender()}else i=o.measureString(e,n,null,this.style);return i};AnnotationBase._DATA_KEY=exports.AnnotationClsNames.hostElement;AnnotationBase._CSS_ANNOTATION=exports.GcchartAnnoClsNames.gcchartAnnotation;AnnotationBase._CSS_ANNO_TEXT=exports.GcchartAnnoClsNames.annoText;AnnotationBase._CSS_ANNO_SHAPE=exports.GcchartAnnoClsNames.annoShape;return AnnotationBase}();exports.AnnotationBase=AnnotationBase;var Text=function(t){__extends(Text,t);function Text(e){return t.call(this,e)||this}Text.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._text="";this.position=AnnotationPosition.Top};Text.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Text._CSS_TEXT};Object.defineProperty(Text.prototype,"text",{get:function(){return this._text},set:function(t){if(t!==this._text){this._text=t;this._repaint()}},enumerable:!0,configurable:!0});Text.prototype._render=function(t){var e,n=this._convertPoint(this.point);e=this._getOffset(t);this._adjustOffset(n,e);this._renderCenteredText(this._text,t,n,AnnotationBase._CSS_ANNO_TEXT,null,this.style)};Text.prototype._getSize=function(t){return t?this._measureString(t,this._text,AnnotationBase._CSS_ANNO_TEXT):new wijmo_1.Size};Text._CSS_TEXT=exports.GcchartAnnoClsNames.text;return Text}(AnnotationBase);exports.Text=Text;var Shape=function(t){__extends(Shape,t);function Shape(e){return t.call(this,e)||this}Shape.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._content=""};Shape.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Shape._CSS_SHAPE};Object.defineProperty(Shape.prototype,"content",{get:function(){return this._content},set:function(t){if(t!==this._content){this._content=t;this._repaint()}},enumerable:!0,configurable:!0});Shape.prototype._render=function(t){this._shapeContainer=t.startGroup();t.stroke="#000";this._renderShape(t);t.stroke=null;t.endGroup();this._content&&this._renderText(t)};Shape.prototype._getContentCenter=function(){return this.point};Shape.prototype._renderShape=function(t){};Shape.prototype._renderText=function(t){var e,n;e=this._convertPoint(this._getContentCenter());if(this._isValidPoint(e)){n=this._getOffset();this._adjustOffset(e,n);this._renderCenteredText(this._content,t,e,AnnotationBase._CSS_ANNO_TEXT)}};Shape._CSS_SHAPE=exports.GcchartAnnoClsNames.shape;return Shape}(AnnotationBase);exports.Shape=Shape;var Ellipse=function(t){__extends(Ellipse,t);function Ellipse(e){return t.call(this,e)||this}Object.defineProperty(Ellipse.prototype,"width",{get:function(){return this._width},set:function(t){if(t!==this._width){this._width=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Ellipse.prototype,"height",{get:function(){return this._height},set:function(t){if(t!==this._height){this._height=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Ellipse.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._width=100;this._height=80};Ellipse.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Ellipse._CSS_ELLIPSE};Ellipse.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._width,o=this._height,r=this._getOffset();this._adjustOffset(n,r);this._isValidPoint(n)&&e.drawEllipse(n.x,n.y,i/2,o/2,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Ellipse.prototype._getSize=function(){return new wijmo_1.Size(this.width,this.height)};Ellipse._CSS_ELLIPSE=exports.GcchartAnnoClsNames.ellipse;return Ellipse}(Shape);exports.Ellipse=Ellipse;var Rectangle=function(t){__extends(Rectangle,t);function Rectangle(e){return t.call(this,e)||this}Object.defineProperty(Rectangle.prototype,"width",{get:function(){return this._width},set:function(t){if(t!==this._width){this._width=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Rectangle.prototype,"height",{get:function(){return this._height},set:function(t){if(t!==this._height){this._height=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Rectangle.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._width=100;this._height=80};Rectangle.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Rectangle._CSS_RECTANGLE};Rectangle.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._width,o=this._height,r=this._getOffset();this._adjustOffset(n,r);this._isValidPoint(n)&&e.drawRect(n.x-i/2,n.y-o/2,this._width,this._height,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Rectangle.prototype._getSize=function(){return new wijmo_1.Size(this.width,this.height)};Rectangle._CSS_RECTANGLE=exports.GcchartAnnoClsNames.rectangle;return Rectangle}(Shape);exports.Rectangle=Rectangle;var Line=function(t){__extends(Line,t);function Line(e){return t.call(this,e)||this}Object.defineProperty(Line.prototype,"start",{get:function(){return this._start},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._start.x||t.y!==this._start.y)){this._start=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Line.prototype,"end",{get:function(){return this._end},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._end.x||t.y!==this._end.y)){this._end=t;this._repaint()}},enumerable:!0,configurable:!0});Line.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._start=new wijmo_chart_1.DataPoint(0,0);this._end=new wijmo_chart_1.DataPoint(0,0);this.position=AnnotationPosition.Top};Line.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Line._CSS_LINE};Line.prototype._getContentCenter=function(){var t=this.start,e=this.end;return wijmo_1.isDate(t.x)&&wijmo_1.isDate(e.x)?new wijmo_chart_1.DataPoint(new Date((t.x.getTime()+e.x.getTime())/2),(t.y+e.y)/2):new wijmo_chart_1.DataPoint((t.x+e.x)/2,(t.y+e.y)/2)};Line.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n,i=this._convertPoint(this._start),o=this._convertPoint(this._end);this._cS=i;this._cE=o;n=this._getOffset();this._adjustOffset(i,n);this._adjustOffset(o,n);this._isValidPoint(i)&&this._isValidPoint(o)&&e.drawLine(i.x,i.y,o.x,o.y,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Line.prototype._getSize=function(){var t=this._cS,e=this._cE;return new wijmo_1.Size(Math.abs(t.x-e.x),Math.abs(t.y-e.y))};Line.prototype._renderText=function(t){var e,n,i,o=this._cS,r=this._cE;e=this._convertPoint(this._getContentCenter());n=this._getOffset();this._adjustOffset(e,n);if(this._isValidPoint(e)){i=(i=180*Math.atan2(r.y-o.y,r.x-o.x)/Math.PI)<-90?i+180:i>90?i-180:i;this._renderCenteredText(this.content,t,e,AnnotationBase._CSS_ANNO_TEXT,i)}};Line.prototype._renderCenteredText=function(e,n,i,o,r,s){if(null!=r){var a,h,_,l;_=this._measureString(n,e,o).height/2;l=r*Math.PI/180;a=_*Math.sin(l);h=_*Math.cos(l);i.x=i.x+a;i.y=i.y-h}t.prototype._renderCenteredText.call(this,e,n,i,o,r,s)};Line._CSS_LINE=exports.GcchartAnnoClsNames.line;return Line}(Shape);exports.Line=Line;var Polygon=function(t){__extends(Polygon,t);function Polygon(e){return t.call(this,e)||this}Polygon.prototype._processOptions=function(e,n,i){var o=this;if("points"===e){var r=i[e];wijmo_1.isArray(r)&&r.forEach((function(t){o.points.push(t)}))}else t.prototype._processOptions.call(this,e,n,i)};Object.defineProperty(Polygon.prototype,"points",{get:function(){return this._points},enumerable:!0,configurable:!0});Polygon.prototype._resetDefaultValue=function(){var e=this;t.prototype._resetDefaultValue.call(this);e._points=new wijmo_1.ObservableArray;e._points.collectionChanged.addHandler((function(){e._element&&e._repaint()}))};Polygon.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Polygon._CSS_POLYGON};Polygon.prototype._getContentCenter=function(){var t,e=this.points,n=e.length,i=0,o=0;for(t=0;t<n;t++){i+=wijmo_1.isDate(e[t].x)?e[t].x.getTime():e[t].x;o+=wijmo_1.isDate(e[t].y)?e[t].y.getTime():e[t].y}return new wijmo_chart_1.DataPoint(i/n,o/n)};Polygon.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n,i,o=[],r=[],s=this._points,a=s.length,h=this._getOffset();for(n=0;n<a;n++){i=this._convertPoint(s[n]);if(!this._isValidPoint(i))return;this._adjustOffset(i,h);o.push(i.x);r.push(i.y)}e.drawPolygon(o,r,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Polygon.prototype._getSize=function(){var t,e,n,i,o,r,s,a=this,h=a._points.length;s=[].map.call(a._points,(function(t){return a._convertPoint(t)}));for(o=0;o<h;o++){r=s[o];if(0!==o){r.x<t?t=r.x:r.x>e&&(e=r.x);r.y<n?n=r.y:r.y>i&&(i=r.y)}else{t=e=r.x;n=i=r.y}}return new wijmo_1.Size(e-t,i-n)};Polygon._CSS_POLYGON=exports.GcchartAnnoClsNames.polygon;return Polygon}(Shape);exports.Polygon=Polygon;var Circle=function(t){__extends(Circle,t);function Circle(e){return t.call(this,e)||this}Object.defineProperty(Circle.prototype,"radius",{get:function(){return this._radius},set:function(t){if(t!==this._radius){this._radius=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Circle.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._radius=100};Circle.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Circle._CSS_CIRCLE};Circle.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._getOffset();this._adjustOffset(n,i);this._isValidPoint(n)&&e.drawPieSegment(n.x,n.y,this.radius,0,360,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Circle.prototype._getSize=function(){var t=2*this.radius;return new wijmo_1.Size(t,t)};Circle._CSS_CIRCLE=exports.GcchartAnnoClsNames.circle;return Circle}(Shape);exports.Circle=Circle;var Square=function(t){__extends(Square,t);function Square(e){return t.call(this,e)||this}Object.defineProperty(Square.prototype,"length",{get:function(){return this._length},set:function(t){if(t!==this._length){this._length=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Square.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._length=100};Square.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Square._CSS_SQUARE};Square.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this.length,o=this._getOffset();this._adjustOffset(n,o);this._isValidPoint(n)&&e.drawRect(n.x-i/2,n.y-i/2,i,i,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Square.prototype._getSize=function(){return new wijmo_1.Size(this.length,this.length)};Square._CSS_SQUARE=exports.GcchartAnnoClsNames.square;return Square}(Shape);exports.Square=Square;var Image=function(t){__extends(Image,t);function Image(e){return t.call(this,e)||this}Object.defineProperty(Image.prototype,"width",{get:function(){return this._width},set:function(t){if(t!==this._width){this._width=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Image.prototype,"height",{get:function(){return this._height},set:function(t){if(t!==this._height){this._height=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Image.prototype,"href",{get:function(){return this._href},set:function(t){if(t!==this._href){this._href=t;this._repaint()}},enumerable:!0,configurable:!0});Image.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._width=100;this._height=100;this._href=""};Image.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Image._CSS_IMAGE};Image.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._href,o=this.width,r=this.height,s=this._getOffset();if(i.length>0&&this._isValidPoint(n)){this._adjustOffset(n,s);e.drawImage(i,n.x-o/2,n.y-r/2,o,r)}this._applyStyle(this._element,this.style)};Image.prototype._getSize=function(){return new wijmo_1.Size(this.width,this.height)};Image.prototype._applyStyle=function(t,e){if(e)for(var n in e)t.setAttribute(this._deCase(n),e[n])};Image.prototype._deCase=function(t){return t.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}))};Image._CSS_IMAGE=exports.GcchartAnnoClsNames.image;return Image}(Shape);exports.Image=Image;var AnnotationLayer=function(){function AnnotationLayer(t,e){var n=this;n._init(t);n._renderGroup();n._bindTooltip();e&&wijmo_1.isArray(e)&&e.forEach((function(t){var e,i=t.type||"Circle";if(selfModule[i]){e=new selfModule[i](t);n._items.push(e)}}))}AnnotationLayer.prototype._init=function(t){if(t){this._items=new wijmo_1.ObservableArray;this._items.collectionChanged.addHandler(this._itemsChanged,this);this._chart=t;this._forceTTShowing=!1;this._annoTTShowing=!1;t.rendered.addHandler(this._renderAnnotations,this);t.lostFocus.addHandler(this._lostFocus,this)}};AnnotationLayer.prototype._lostFocus=function(t){this._toggleTooltip(this._tooltip,t,this._chart.hostElement)};Object.defineProperty(AnnotationLayer.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0});AnnotationLayer.prototype.getItem=function(t){var e=this.getItems(t);return e.length>0?e[0]:null};AnnotationLayer.prototype.getItems=function(t){var e=[];if(0===this._items.length||!t||""===t)return e;for(var n=0;n<this._items.length;n++)t===this._items[n].name&&e.push(this._items[n]);return e};AnnotationLayer.prototype._bindTooltip=function(){var t,e=this,n=e._chart.hostElement,i=e._tooltip;if(!i){i=e._tooltip=new wijmo_chart_1.ChartTooltip;t=wijmo_1.Tooltip.prototype.hide;wijmo_1.Tooltip.prototype.hide=function(){e._forceTTShowing||t.call(i)}}if(n){n.addEventListener("click",(function(t){e._toggleTooltip(i,t,n)}));document.addEventListener("mousemove",(function(t){e._showTooltip()&&e._toggleTooltip(i,t,n)}))}};AnnotationLayer.prototype._showTooltip=function(){return!this._chart.isTouching};AnnotationLayer.prototype._toggleTooltip=function(t,e,n){var i=this._getAnnotation(e.target,n);if(i&&i.tooltip){this._forceTTShowing=!0;this._annoTTShowing=!0;t.show(this._layerEle,i.tooltip,new wijmo_1.Rect(e.clientX,e.clientY,5,5))}else{if(!this._annoTTShowing)return;this._annoTTShowing=!1;this._forceTTShowing=!1;t.hide()}};AnnotationLayer.prototype._getAnnotation=function(t,e){var n=this._getAnnotationElement(t,e);return null==n?null:n[AnnotationBase._DATA_KEY]};AnnotationLayer.prototype._getAnnotationElement=function(t,e){if(!t||!e)return null;var n=t.parentNode;return wijmo_1.hasClass(t,AnnotationBase._CSS_ANNOTATION)?t:null==n||n===document.body||n===document||n===e?null:this._getAnnotationElement(n,e)};AnnotationLayer.prototype._itemsChanged=function(t,e){var n=e.action,i=e.item;switch(n){case wijmo_1.NotifyCollectionChangedAction.Add:case wijmo_1.NotifyCollectionChangedAction.Change:i._layer=this;this._renderAnnotation(this._chart.renderEngine,i);break;case wijmo_1.NotifyCollectionChangedAction.Remove:this._destroyAnnotation(i);break;default:this._destroyAnnotations();this._renderAnnotations(this._chart,new wijmo_chart_1.RenderEventArgs(this._chart.renderEngine))}};AnnotationLayer.prototype._renderAnnotations=function(t,e){var n,i=this.items,o=i.length;this._renderGroup();for(n=0;n<o;n++)this._renderAnnotation(e.engine,i[n])};AnnotationLayer.prototype._renderGroup=function(){var t=this._chart._plotRect,e=this._chart.renderEngine;if(t&&e&&(!this._layerEle||null==this._layerEle.parentNode)){this._plotrectId="plotRect"+(1e6*Math.random()).toFixed();e.addClipRect(new wijmo_1.Rect(0,0,t.width,t.height),this._plotrectId);this._layerEle=e.startGroup(AnnotationLayer._CSS_Layer,this._plotrectId);this._layerEle.setAttribute("transform","translate("+t.left+", "+t.top+")");e.endGroup()}};AnnotationLayer.prototype._renderAnnotation=function(t,e){if(this._layerEle&&null!=this._layerEle.parentNode){e._element&&e._element.parentNode==this._layerEle&&this._layerEle.removeChild(e._element);t.useSvg=!0;e.render(t);t.useSvg=!1;this._layerEle.appendChild(e._element)}};AnnotationLayer.prototype._destroyAnnotations=function(){var t,e=this.items,n=e.length;for(t=0;t<n;t++)this._destroyAnnotation(e[t]);this._layerEle&&(this._layerEle.innerHTML="")};AnnotationLayer.prototype._destroyAnnotation=function(t){this._layerEle&&this._layerEle.removeChild(t._element);t.destroy()};AnnotationLayer._CSS_Layer=exports.AnnotationClsNames.layer;return AnnotationLayer}();exports.AnnotationLayer=AnnotationLayer;wijmo_1._registerModule("wijmo.chart.annotation",selfModule);
|
|
14
|
+
"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(t,e){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};return function(t,e){extendStatics(t,e);function __(){this.constructor=t}t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}}(),__importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);e.default=t;return e};Object.defineProperty(exports,"__esModule",{value:!0});var AnnotationAttachment,AnnotationPosition,wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),selfModule=__importStar(require("wijmo/wijmo.chart.annotation"));exports.AnnotationClsNames={hostElement:"wj-chart-annotation",layer:"wj-chart-annotationlayer"};exports.GcchartAnnoClsNames={annoShape:"anno-shape",annoText:"anno-text",circle:"gcchart-anno-circle",ellipse:"gcchart-anno-ellipse",gcchartAnnotation:"gcchart-annotation",image:"gcchart-anno-image",line:"gcchart-anno-line",polygon:"gcchart-anno-polygon",rectangle:"gcchart-anno-rectangle",shape:"gcchart-anno-shape",square:"gcchart-anno-square",text:"gcchart-anno-text"};!function(t){t[t.DataIndex=0]="DataIndex";t[t.DataCoordinate=1]="DataCoordinate";t[t.Relative=2]="Relative";t[t.Absolute=3]="Absolute"}(AnnotationAttachment=exports.AnnotationAttachment||(exports.AnnotationAttachment={}));!function(t){t[t.Center=0]="Center";t[t.Top=1]="Top";t[t.Bottom=2]="Bottom";t[t.Left=4]="Left";t[t.Right=8]="Right"}(AnnotationPosition=exports.AnnotationPosition||(exports.AnnotationPosition={}));var AnnotationBase=function(){function AnnotationBase(t){this._resetDefaultValue();this._initOptions(this,t)}Object.defineProperty(AnnotationBase.prototype,"attachment",{get:function(){return this._attachment},set:function(t){if((t=wijmo_1.asEnum(t,AnnotationAttachment))!=this._attachment){this._attachment=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"point",{get:function(){return this._point},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._point.x||t.y!==this._point.y)){this._point=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"seriesIndex",{get:function(){return this._seriesIndex},set:function(t){if((t=wijmo_1.asNumber(t,!1,!0))!=this._seriesIndex){this._seriesIndex=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"pointIndex",{get:function(){return this._pointIndex},set:function(t){if(t!==this._pointIndex){this._pointIndex=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"position",{get:function(){return this._position},set:function(t){if(t!=this._position){this._position=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"offset",{get:function(){return this._offset},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._offset.x||t.y!==this._offset.y)){this._offset=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"style",{get:function(){null==this._style&&(this._style={});return this._style},set:function(t){if(t!=this._style){this._style=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"isVisible",{get:function(){return this._isVisible},set:function(t){if((t=wijmo_1.asBoolean(t,!1))!=this._isVisible){this._isVisible=t;this._toggleVisibility(t)}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"tooltip",{get:function(){return this._tooltip},set:function(t){this._tooltip=t},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!0,configurable:!0});AnnotationBase.prototype.render=function(t){var e;this._element=t.startGroup(this._getCSSClass());t.fill="#88bde6";t.strokeWidth=1;t.stroke="#000000";this._render(t);t.endGroup();this._element[AnnotationBase._DATA_KEY]=this;this._isVisible?this._attachment===AnnotationAttachment.DataIndex&&(!(e=this._layer._chart.series[this._seriesIndex])||e.visibility!==wijmo_chart_1.SeriesVisibility.Legend&&e.visibility!==wijmo_chart_1.SeriesVisibility.Hidden||this._toggleVisibility(!1)):this._toggleVisibility(!1)};AnnotationBase.prototype.destroy=function(){};AnnotationBase.prototype._initOptions=function(t,e){for(var n in e)n in t&&this._processOptions(n,t,e)};AnnotationBase.prototype._processOptions=function(t,e,n){e[t]=n[t]};AnnotationBase.prototype._resetDefaultValue=function(){this._attachment=AnnotationAttachment.Absolute;this._point=new wijmo_chart_1.DataPoint(0,0);this._seriesIndex=0;this._pointIndex=0;this._position=AnnotationPosition.Center;this._offset=new wijmo_1.Point(0,0);this._isVisible=!0;this._tooltip=""};AnnotationBase.prototype._toggleVisibility=function(t){var e=t?"visible":"hidden";this._element&&this._element.setAttribute("visibility",e)};AnnotationBase.prototype._getCSSClass=function(){return AnnotationBase._CSS_ANNOTATION};AnnotationBase.prototype._render=function(t){this._element=null};AnnotationBase.prototype._repaint=function(){this._layer&&this._layer._renderAnnotation(this._layer._chart.renderEngine,this)};AnnotationBase.prototype._convertPoint=function(t){var e,n,i,o,r,s,a,h=this._attachment,_=new wijmo_1.Point;this._layer&&this._layer._chart&&(n=(e=this._layer._chart)._plotRect);switch(h){case AnnotationAttachment.DataIndex:if(!e.series||e.series.length<=this.seriesIndex)break;if(!(s=(r=e.series[this.seriesIndex])._getItem(this.pointIndex)))break;i=r.axisX||e.axisX;o=r.axisY||e.axisY;a=s[r.bindingX]||s.x;var l=s[r._getBinding(0)]||o.actualMin+.25;null!=r._getYOffset&&(l=r._getYOffset(this.pointIndex));if("string"==typeof a){a=this.pointIndex;null!=r._getXOffset&&(a+=r._getXOffset())}_.x=this._convertDataToLen(n.width,i,a);_.y=this._convertDataToLen(n.height,o,l,!0);break;case AnnotationAttachment.DataCoordinate:i=e.axisX;o=e.axisY;_.x=this._convertDataToLen(n.width,i,t.x);_.y=this._convertDataToLen(n.height,o,t.y,!0);break;case AnnotationAttachment.Relative:_.x=n.width*t.x;_.y=n.height*t.y;break;default:_.x=t.x;_.y=t.y}return _};AnnotationBase.prototype._convertDataToLen=function(t,e,n,i){void 0===i&&(i=!1);var o=null==e.min?e.actualMin:e.min,r=null==e.max?e.actualMax:e.max,s=e._getLogBase();e.reversed&&(i=!i);if(s){if(n<=0)return NaN;var a=Math.log(r/o);return i?t*(1-Math.log(n/o)/a):t*Math.log(n/o)/a}return i?t*(1-(n-o)/(r-o)):t*(n-o)/(r-o)};AnnotationBase.prototype._renderCenteredText=function(t,e,n,i,o,r){var s,a;if(this._isValidPoint(n)){o?e.drawStringRotated(t,n,n,o,i,r):e.drawString(t,n,i,r);if(s=this._element.querySelector("text")){a=s.getBBox();s.setAttribute("x",(n.x-a.width/2).toFixed(1));s.setAttribute("y",(n.y+a.height/6).toFixed(1))}}};AnnotationBase.prototype._adjustOffset=function(t,e){t.x=t.x+e.x;t.y=t.y+e.y};AnnotationBase.prototype._getOffset=function(t){var e=this._getPositionOffset(t);return new wijmo_1.Point(this._offset.x+e.x,this._offset.y+e.y)};AnnotationBase.prototype._getPositionOffset=function(t){var e=new wijmo_1.Point(0,0),n=this.position,i=this._getSize(t);(n&AnnotationPosition.Top)===AnnotationPosition.Top?e.y-=i.height/2:(n&AnnotationPosition.Bottom)===AnnotationPosition.Bottom&&(e.y+=i.height/2);(n&AnnotationPosition.Left)===AnnotationPosition.Left?e.x-=i.width/2:(n&AnnotationPosition.Right)===AnnotationPosition.Right&&(e.x+=i.width/2);return e};AnnotationBase.prototype._getSize=function(t){return new wijmo_1.Size};AnnotationBase.prototype._isValidPoint=function(t){return Number.isFinite(t.x)&&Number.isFinite(t.y)};AnnotationBase.prototype._measureString=function(t,e,n){var i,o=t;if(o._textGroup&&null==o._textGroup.parentNode){o._svg.appendChild(o._textGroup);i=o.measureString(e,n,null,this.style);o.endRender()}else i=o.measureString(e,n,null,this.style);return i};AnnotationBase._DATA_KEY=exports.AnnotationClsNames.hostElement;AnnotationBase._CSS_ANNOTATION=exports.GcchartAnnoClsNames.gcchartAnnotation;AnnotationBase._CSS_ANNO_TEXT=exports.GcchartAnnoClsNames.annoText;AnnotationBase._CSS_ANNO_SHAPE=exports.GcchartAnnoClsNames.annoShape;return AnnotationBase}();exports.AnnotationBase=AnnotationBase;var Text=function(t){__extends(Text,t);function Text(e){return t.call(this,e)||this}Text.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._text="";this.position=AnnotationPosition.Top};Text.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Text._CSS_TEXT};Object.defineProperty(Text.prototype,"text",{get:function(){return this._text},set:function(t){if(t!==this._text){this._text=t;this._repaint()}},enumerable:!0,configurable:!0});Text.prototype._render=function(t){var e,n=this._convertPoint(this.point);e=this._getOffset(t);this._adjustOffset(n,e);this._renderCenteredText(this._text,t,n,AnnotationBase._CSS_ANNO_TEXT,null,this.style)};Text.prototype._getSize=function(t){return t?this._measureString(t,this._text,AnnotationBase._CSS_ANNO_TEXT):new wijmo_1.Size};Text._CSS_TEXT=exports.GcchartAnnoClsNames.text;return Text}(AnnotationBase);exports.Text=Text;var Shape=function(t){__extends(Shape,t);function Shape(e){return t.call(this,e)||this}Shape.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._content=""};Shape.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Shape._CSS_SHAPE};Object.defineProperty(Shape.prototype,"content",{get:function(){return this._content},set:function(t){if(t!==this._content){this._content=t;this._repaint()}},enumerable:!0,configurable:!0});Shape.prototype._render=function(t){this._shapeContainer=t.startGroup();t.stroke="#000";this._renderShape(t);t.stroke=null;t.endGroup();this._content&&this._renderText(t)};Shape.prototype._getContentCenter=function(){return this.point};Shape.prototype._renderShape=function(t){};Shape.prototype._renderText=function(t){var e,n;e=this._convertPoint(this._getContentCenter());if(this._isValidPoint(e)){n=this._getOffset();this._adjustOffset(e,n);this._renderCenteredText(this._content,t,e,AnnotationBase._CSS_ANNO_TEXT)}};Shape._CSS_SHAPE=exports.GcchartAnnoClsNames.shape;return Shape}(AnnotationBase);exports.Shape=Shape;var Ellipse=function(t){__extends(Ellipse,t);function Ellipse(e){return t.call(this,e)||this}Object.defineProperty(Ellipse.prototype,"width",{get:function(){return this._width},set:function(t){if(t!==this._width){this._width=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Ellipse.prototype,"height",{get:function(){return this._height},set:function(t){if(t!==this._height){this._height=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Ellipse.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._width=100;this._height=80};Ellipse.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Ellipse._CSS_ELLIPSE};Ellipse.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._width,o=this._height,r=this._getOffset();this._adjustOffset(n,r);this._isValidPoint(n)&&e.drawEllipse(n.x,n.y,i/2,o/2,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Ellipse.prototype._getSize=function(){return new wijmo_1.Size(this.width,this.height)};Ellipse._CSS_ELLIPSE=exports.GcchartAnnoClsNames.ellipse;return Ellipse}(Shape);exports.Ellipse=Ellipse;var Rectangle=function(t){__extends(Rectangle,t);function Rectangle(e){return t.call(this,e)||this}Object.defineProperty(Rectangle.prototype,"width",{get:function(){return this._width},set:function(t){if(t!==this._width){this._width=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Rectangle.prototype,"height",{get:function(){return this._height},set:function(t){if(t!==this._height){this._height=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Rectangle.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._width=100;this._height=80};Rectangle.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Rectangle._CSS_RECTANGLE};Rectangle.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._width,o=this._height,r=this._getOffset();this._adjustOffset(n,r);this._isValidPoint(n)&&e.drawRect(n.x-i/2,n.y-o/2,this._width,this._height,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Rectangle.prototype._getSize=function(){return new wijmo_1.Size(this.width,this.height)};Rectangle._CSS_RECTANGLE=exports.GcchartAnnoClsNames.rectangle;return Rectangle}(Shape);exports.Rectangle=Rectangle;var Line=function(t){__extends(Line,t);function Line(e){return t.call(this,e)||this}Object.defineProperty(Line.prototype,"start",{get:function(){return this._start},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._start.x||t.y!==this._start.y)){this._start=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Line.prototype,"end",{get:function(){return this._end},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._end.x||t.y!==this._end.y)){this._end=t;this._repaint()}},enumerable:!0,configurable:!0});Line.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._start=new wijmo_chart_1.DataPoint(0,0);this._end=new wijmo_chart_1.DataPoint(0,0);this.position=AnnotationPosition.Top};Line.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Line._CSS_LINE};Line.prototype._getContentCenter=function(){var t=this.start,e=this.end;return wijmo_1.isDate(t.x)&&wijmo_1.isDate(e.x)?new wijmo_chart_1.DataPoint(new Date((t.x.getTime()+e.x.getTime())/2),(t.y+e.y)/2):new wijmo_chart_1.DataPoint((t.x+e.x)/2,(t.y+e.y)/2)};Line.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n,i=this._convertPoint(this._start),o=this._convertPoint(this._end);this._cS=i;this._cE=o;n=this._getOffset();this._adjustOffset(i,n);this._adjustOffset(o,n);this._isValidPoint(i)&&this._isValidPoint(o)&&e.drawLine(i.x,i.y,o.x,o.y,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Line.prototype._getSize=function(){var t=this._cS,e=this._cE;return new wijmo_1.Size(Math.abs(t.x-e.x),Math.abs(t.y-e.y))};Line.prototype._renderText=function(t){var e,n,i,o=this._cS,r=this._cE;e=this._convertPoint(this._getContentCenter());n=this._getOffset();this._adjustOffset(e,n);if(this._isValidPoint(e)){i=(i=180*Math.atan2(r.y-o.y,r.x-o.x)/Math.PI)<-90?i+180:i>90?i-180:i;this._renderCenteredText(this.content,t,e,AnnotationBase._CSS_ANNO_TEXT,i)}};Line.prototype._renderCenteredText=function(e,n,i,o,r,s){if(null!=r){var a=this._measureString(n,e,o).height/2,h=r*Math.PI/180,_=a*Math.sin(h),l=a*Math.cos(h);i.x=i.x+_;i.y=i.y-l}t.prototype._renderCenteredText.call(this,e,n,i,o,r,s)};Line._CSS_LINE=exports.GcchartAnnoClsNames.line;return Line}(Shape);exports.Line=Line;var Polygon=function(t){__extends(Polygon,t);function Polygon(e){return t.call(this,e)||this}Polygon.prototype._processOptions=function(e,n,i){var o=this;if("points"===e){var r=i[e];wijmo_1.isArray(r)&&r.forEach((function(t){o.points.push(t)}))}else t.prototype._processOptions.call(this,e,n,i)};Object.defineProperty(Polygon.prototype,"points",{get:function(){return this._points},enumerable:!0,configurable:!0});Polygon.prototype._resetDefaultValue=function(){var e=this;t.prototype._resetDefaultValue.call(this);this._points=new wijmo_1.ObservableArray;this._points.collectionChanged.addHandler((function(){e._element&&e._repaint()}))};Polygon.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Polygon._CSS_POLYGON};Polygon.prototype._getContentCenter=function(){var t,e=this.points,n=e.length,i=0,o=0;for(t=0;t<n;t++){i+=wijmo_1.isDate(e[t].x)?e[t].x.getTime():e[t].x;o+=wijmo_1.isDate(e[t].y)?e[t].y.getTime():e[t].y}return new wijmo_chart_1.DataPoint(i/n,o/n)};Polygon.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n,i,o=[],r=[],s=this._points,a=s.length,h=this._getOffset();for(n=0;n<a;n++){i=this._convertPoint(s[n]);if(!this._isValidPoint(i))return;this._adjustOffset(i,h);o.push(i.x);r.push(i.y)}e.drawPolygon(o,r,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Polygon.prototype._getSize=function(){var t,e,n,i,o,r,s,a=this,h=this._points.length;s=[].map.call(this._points,(function(t){return a._convertPoint(t)}));for(o=0;o<h;o++){r=s[o];if(0!==o){r.x<t?t=r.x:r.x>e&&(e=r.x);r.y<n?n=r.y:r.y>i&&(i=r.y)}else{t=e=r.x;n=i=r.y}}return new wijmo_1.Size(e-t,i-n)};Polygon._CSS_POLYGON=exports.GcchartAnnoClsNames.polygon;return Polygon}(Shape);exports.Polygon=Polygon;var Circle=function(t){__extends(Circle,t);function Circle(e){return t.call(this,e)||this}Object.defineProperty(Circle.prototype,"radius",{get:function(){return this._radius},set:function(t){if(t!==this._radius){this._radius=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Circle.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._radius=100};Circle.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Circle._CSS_CIRCLE};Circle.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._getOffset();this._adjustOffset(n,i);this._isValidPoint(n)&&e.drawPieSegment(n.x,n.y,this.radius,0,360,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Circle.prototype._getSize=function(){var t=2*this.radius;return new wijmo_1.Size(t,t)};Circle._CSS_CIRCLE=exports.GcchartAnnoClsNames.circle;return Circle}(Shape);exports.Circle=Circle;var Square=function(t){__extends(Square,t);function Square(e){return t.call(this,e)||this}Object.defineProperty(Square.prototype,"length",{get:function(){return this._length},set:function(t){if(t!==this._length){this._length=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Square.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._length=100};Square.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Square._CSS_SQUARE};Square.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this.length,o=this._getOffset();this._adjustOffset(n,o);this._isValidPoint(n)&&e.drawRect(n.x-i/2,n.y-i/2,i,i,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Square.prototype._getSize=function(){return new wijmo_1.Size(this.length,this.length)};Square._CSS_SQUARE=exports.GcchartAnnoClsNames.square;return Square}(Shape);exports.Square=Square;var Image=function(t){__extends(Image,t);function Image(e){return t.call(this,e)||this}Object.defineProperty(Image.prototype,"width",{get:function(){return this._width},set:function(t){if(t!==this._width){this._width=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Image.prototype,"height",{get:function(){return this._height},set:function(t){if(t!==this._height){this._height=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Image.prototype,"href",{get:function(){return this._href},set:function(t){if(t!==this._href){this._href=t;this._repaint()}},enumerable:!0,configurable:!0});Image.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._width=100;this._height=100;this._href=""};Image.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Image._CSS_IMAGE};Image.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._href,o=this.width,r=this.height,s=this._getOffset();if(i.length>0&&this._isValidPoint(n)){this._adjustOffset(n,s);e.drawImage(i,n.x-o/2,n.y-r/2,o,r)}this._applyStyle(this._element,this.style)};Image.prototype._getSize=function(){return new wijmo_1.Size(this.width,this.height)};Image.prototype._applyStyle=function(t,e){if(e)for(var n in e)t.setAttribute(this._deCase(n),e[n])};Image.prototype._deCase=function(t){return t.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}))};Image._CSS_IMAGE=exports.GcchartAnnoClsNames.image;return Image}(Shape);exports.Image=Image;var AnnotationLayer=function(){function AnnotationLayer(t,e){var n=this;this._init(t);this._renderGroup();this._bindTooltip();e&&wijmo_1.isArray(e)&&e.forEach((function(t){var e,i=t.type||"Circle";if(selfModule[i]){e=new selfModule[i](t);n._items.push(e)}}))}AnnotationLayer.prototype._init=function(t){if(t){this._items=new wijmo_1.ObservableArray;this._items.collectionChanged.addHandler(this._itemsChanged,this);this._chart=t;this._forceTTShowing=!1;this._annoTTShowing=!1;t.rendered.addHandler(this._renderAnnotations,this);t.lostFocus.addHandler(this._lostFocus,this)}};AnnotationLayer.prototype._lostFocus=function(t){this._toggleTooltip(this._tooltip,t,this._chart.hostElement)};Object.defineProperty(AnnotationLayer.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0});AnnotationLayer.prototype.getItem=function(t){var e=this.getItems(t);return e.length>0?e[0]:null};AnnotationLayer.prototype.getItems=function(t){var e=[];if(0===this._items.length||!t||""===t)return e;for(var n=0;n<this._items.length;n++)t===this._items[n].name&&e.push(this._items[n]);return e};AnnotationLayer.prototype._bindTooltip=function(){var t,e=this,n=this._chart.hostElement,i=this._tooltip;if(!i){i=this._tooltip=new wijmo_chart_1.ChartTooltip;t=wijmo_1.Tooltip.prototype.hide;wijmo_1.Tooltip.prototype.hide=function(){e._forceTTShowing||t.call(i)}}if(n){n.addEventListener("click",(function(t){e._toggleTooltip(i,t,n)}));document.addEventListener("mousemove",(function(t){e._showTooltip()&&e._toggleTooltip(i,t,n)}))}};AnnotationLayer.prototype._showTooltip=function(){return!this._chart.isTouching};AnnotationLayer.prototype._toggleTooltip=function(t,e,n){var i=this._getAnnotation(e.target,n);if(i&&i.tooltip){this._forceTTShowing=!0;this._annoTTShowing=!0;t.show(this._layerEle,i.tooltip,new wijmo_1.Rect(e.clientX,e.clientY,5,5))}else{if(!this._annoTTShowing)return;this._annoTTShowing=!1;this._forceTTShowing=!1;t.hide()}};AnnotationLayer.prototype._getAnnotation=function(t,e){var n=this._getAnnotationElement(t,e);return null==n?null:n[AnnotationBase._DATA_KEY]};AnnotationLayer.prototype._getAnnotationElement=function(t,e){if(!t||!e)return null;var n=t.parentNode;return wijmo_1.hasClass(t,AnnotationBase._CSS_ANNOTATION)?t:null==n||n===document.body||n===document||n===e?null:this._getAnnotationElement(n,e)};AnnotationLayer.prototype._itemsChanged=function(t,e){var n=e.action,i=e.item;switch(n){case wijmo_1.NotifyCollectionChangedAction.Add:case wijmo_1.NotifyCollectionChangedAction.Change:i._layer=this;this._renderAnnotation(this._chart.renderEngine,i);break;case wijmo_1.NotifyCollectionChangedAction.Remove:this._destroyAnnotation(i);break;default:this._destroyAnnotations();this._renderAnnotations(this._chart,new wijmo_chart_1.RenderEventArgs(this._chart.renderEngine))}};AnnotationLayer.prototype._renderAnnotations=function(t,e){var n,i=this.items,o=i.length;this._renderGroup();for(n=0;n<o;n++)this._renderAnnotation(e.engine,i[n])};AnnotationLayer.prototype._renderGroup=function(){var t=this._chart._plotRect,e=this._chart.renderEngine;if(t&&e&&(!this._layerEle||null==this._layerEle.parentNode)){this._plotrectId="plotRect"+(1e6*Math.random()).toFixed();e.addClipRect(new wijmo_1.Rect(0,0,t.width,t.height),this._plotrectId);this._layerEle=e.startGroup(AnnotationLayer._CSS_Layer,this._plotrectId);this._layerEle.setAttribute("transform","translate("+t.left+", "+t.top+")");e.endGroup()}};AnnotationLayer.prototype._renderAnnotation=function(t,e){if(this._layerEle&&null!=this._layerEle.parentNode){e._element&&e._element.parentNode==this._layerEle&&this._layerEle.removeChild(e._element);t.useSvg=!0;e.render(t);t.useSvg=!1;this._layerEle.appendChild(e._element)}};AnnotationLayer.prototype._destroyAnnotations=function(){var t,e=this.items,n=e.length;for(t=0;t<n;t++)this._destroyAnnotation(e[t]);this._layerEle&&(this._layerEle.innerHTML="")};AnnotationLayer.prototype._destroyAnnotation=function(t){this._layerEle&&this._layerEle.removeChild(t._element);t.destroy()};AnnotationLayer._CSS_Layer=exports.AnnotationClsNames.layer;return AnnotationLayer}();exports.AnnotationLayer=AnnotationLayer;wijmo_1._registerModule("wijmo.chart.annotation",selfModule);
|