wijmo 5.20261.45-nightly.d20251218.t163151 → 5.20261.45-nightly.d20260105.t163143
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 -453
- 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.map.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.20261.45-nightly.
|
|
3
|
+
* Wijmo Library 5.20261.45-nightly.d20260105.t163143
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -23,46 +23,6 @@ export declare var ___keepComment: any;
|
|
|
23
23
|
import { Point, ObservableArray, Rect, Size, Binding, Event, EventArgs } from 'wijmo/wijmo';
|
|
24
24
|
import { IRenderEngine, SvgRenderEngine, ChartElement, ChartTooltip, FlexChartBase } from 'wijmo/wijmo.chart';
|
|
25
25
|
import * as selfModule from 'wijmo/wijmo.chart.map';
|
|
26
|
-
export declare const FlexMapClsNames: {
|
|
27
|
-
geogrid: string;
|
|
28
|
-
hostElement: string;
|
|
29
|
-
};
|
|
30
|
-
/** Information about hit test result. */
|
|
31
|
-
export declare class MapHitTestInfo {
|
|
32
|
-
private _pt;
|
|
33
|
-
_item: any;
|
|
34
|
-
private _map;
|
|
35
|
-
_chartElement: ChartElement;
|
|
36
|
-
/**
|
|
37
|
-
* Gets the point in control coordinates.
|
|
38
|
-
*/
|
|
39
|
-
readonly point: Point;
|
|
40
|
-
/**
|
|
41
|
-
* Gets the data item associated with the point.
|
|
42
|
-
*/
|
|
43
|
-
readonly item: any;
|
|
44
|
-
/** Gets the hit point in geographical coordinates. */
|
|
45
|
-
readonly geoPoint: Point;
|
|
46
|
-
/** Gets chart element at the hit point. */
|
|
47
|
-
readonly chartElement: ChartElement;
|
|
48
|
-
/**
|
|
49
|
-
* Get the map control.
|
|
50
|
-
*/
|
|
51
|
-
readonly map: FlexMap;
|
|
52
|
-
}
|
|
53
|
-
export declare class _DrawOptions {
|
|
54
|
-
className?: string;
|
|
55
|
-
clipPath?: string;
|
|
56
|
-
style?: any;
|
|
57
|
-
}
|
|
58
|
-
export interface IMapRenderEngine extends IRenderEngine {
|
|
59
|
-
drawPolygon2(options: _DrawOptions, pts: number[][]): any;
|
|
60
|
-
}
|
|
61
|
-
export declare class _SvgMapRenderEngine extends SvgRenderEngine {
|
|
62
|
-
scale: number;
|
|
63
|
-
constructor(el?: HTMLElement);
|
|
64
|
-
drawPolygon2(options: _DrawOptions, pts: number[][]): SVGElement;
|
|
65
|
-
}
|
|
66
26
|
export declare class _Range {
|
|
67
27
|
constructor(min: number, max: number);
|
|
68
28
|
min: number;
|
|
@@ -84,7 +44,6 @@ export declare class ColorScale implements IColorScale {
|
|
|
84
44
|
private _clrUnknown;
|
|
85
45
|
_range: _Range;
|
|
86
46
|
private _colors;
|
|
87
|
-
private _items;
|
|
88
47
|
private _binding;
|
|
89
48
|
private _fmt;
|
|
90
49
|
_parent: any;
|
|
@@ -111,6 +70,46 @@ export declare class ColorScale implements IColorScale {
|
|
|
111
70
|
_drawLegend(e: IRenderEngine, rect: Rect, isVert: boolean): void;
|
|
112
71
|
_measureLegend(e: IRenderEngine, isVert: boolean, w: number, h: number): Size;
|
|
113
72
|
}
|
|
73
|
+
export declare const FlexMapClsNames: {
|
|
74
|
+
geogrid: string;
|
|
75
|
+
hostElement: string;
|
|
76
|
+
};
|
|
77
|
+
/** Information about hit test result. */
|
|
78
|
+
export declare class MapHitTestInfo {
|
|
79
|
+
private _pt;
|
|
80
|
+
_item: any;
|
|
81
|
+
private _map;
|
|
82
|
+
_chartElement: ChartElement;
|
|
83
|
+
/**
|
|
84
|
+
* Gets the point in control coordinates.
|
|
85
|
+
*/
|
|
86
|
+
readonly point: Point;
|
|
87
|
+
/**
|
|
88
|
+
* Gets the data item associated with the point.
|
|
89
|
+
*/
|
|
90
|
+
readonly item: any;
|
|
91
|
+
/** Gets the hit point in geographical coordinates. */
|
|
92
|
+
readonly geoPoint: Point;
|
|
93
|
+
/** Gets chart element at the hit point. */
|
|
94
|
+
readonly chartElement: ChartElement;
|
|
95
|
+
/**
|
|
96
|
+
* Get the map control.
|
|
97
|
+
*/
|
|
98
|
+
readonly map: FlexMap;
|
|
99
|
+
}
|
|
100
|
+
export declare class _DrawOptions {
|
|
101
|
+
className?: string;
|
|
102
|
+
clipPath?: string;
|
|
103
|
+
style?: any;
|
|
104
|
+
}
|
|
105
|
+
export interface IMapRenderEngine extends IRenderEngine {
|
|
106
|
+
drawPolygon2(options: _DrawOptions, pts: number[][]): any;
|
|
107
|
+
}
|
|
108
|
+
export declare class _SvgMapRenderEngine extends SvgRenderEngine {
|
|
109
|
+
scale: number;
|
|
110
|
+
constructor(el?: HTMLElement);
|
|
111
|
+
drawPolygon2(options: _DrawOptions, pts: number[][]): SVGElement;
|
|
112
|
+
}
|
|
114
113
|
export interface _IConverter {
|
|
115
114
|
convert(pt: Point): Point;
|
|
116
115
|
}
|
|
@@ -177,9 +176,9 @@ export declare class FlexMap extends FlexChartBase implements _IConverter {
|
|
|
177
176
|
*/
|
|
178
177
|
zoomTo(rect: Rect): void;
|
|
179
178
|
invalidate(fullUpdate?: boolean): void;
|
|
180
|
-
_renderChart(engine: IRenderEngine, rect: Rect,
|
|
179
|
+
_renderChart(engine: IRenderEngine, rect: Rect, _applyElement: boolean): void;
|
|
181
180
|
_getDesiredLegendSize(e: IRenderEngine, isVert: boolean, w: number, h: number): Size;
|
|
182
|
-
_renderLegend(e: IRenderEngine, pt: Point,
|
|
181
|
+
_renderLegend(e: IRenderEngine, pt: Point, _areas: any[], isVert: boolean, w: number, h: number): void;
|
|
183
182
|
_copy(key: string, value: any): boolean;
|
|
184
183
|
private _getMapRect;
|
|
185
184
|
private _updateOffset;
|
|
@@ -243,7 +242,7 @@ export declare class MapLayerBase implements IMapLayer {
|
|
|
243
242
|
* Gets or sets color scale used for fill layer's items.
|
|
244
243
|
*/
|
|
245
244
|
colorScale: ColorScale;
|
|
246
|
-
render(
|
|
245
|
+
render(_e: IRenderEngine, _t: SVGTransform, _g: SVGGElement): void;
|
|
247
246
|
invalidate(): void;
|
|
248
247
|
/**
|
|
249
248
|
* Initializes the series by copying the properties from a given object.
|
|
@@ -331,6 +330,11 @@ export declare class ScatterMapLayer extends MapLayerBase {
|
|
|
331
330
|
private createId;
|
|
332
331
|
private parseBindings;
|
|
333
332
|
}
|
|
333
|
+
export declare class GeoGridLayer extends MapLayerBase {
|
|
334
|
+
constructor();
|
|
335
|
+
render(e: IRenderEngine, _t: SVGTransform, _group: SVGGElement): any;
|
|
336
|
+
private isValid;
|
|
337
|
+
}
|
|
334
338
|
/*! Type definitions for non-npm package geojson 7946.0
|
|
335
339
|
Project: https://geojson.org/
|
|
336
340
|
Definitions by: Jacob Bruun <https://github.com/cobster>
|
|
@@ -348,7 +352,7 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
|
348
352
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
349
353
|
|
|
350
354
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.*/
|
|
351
|
-
export declare
|
|
355
|
+
export declare namespace GeoJSON {
|
|
352
356
|
/**
|
|
353
357
|
* The valid values for the "type" property of GeoJSON geometry objects.
|
|
354
358
|
* https://tools.ietf.org/html/rfc7946#section-1.4
|
|
@@ -410,7 +414,7 @@ export declare module GeoJSON {
|
|
|
410
414
|
* https://tools.ietf.org/html/rfc7946#section-3.1.2
|
|
411
415
|
*/
|
|
412
416
|
interface Point extends GeoJsonObject {
|
|
413
|
-
type:
|
|
417
|
+
type: 'Point';
|
|
414
418
|
coordinates: Position;
|
|
415
419
|
}
|
|
416
420
|
/**
|
|
@@ -418,7 +422,7 @@ export declare module GeoJSON {
|
|
|
418
422
|
* https://tools.ietf.org/html/rfc7946#section-3.1.3
|
|
419
423
|
*/
|
|
420
424
|
interface MultiPoint extends GeoJsonObject {
|
|
421
|
-
type:
|
|
425
|
+
type: 'MultiPoint';
|
|
422
426
|
coordinates: Position[];
|
|
423
427
|
}
|
|
424
428
|
/**
|
|
@@ -426,7 +430,7 @@ export declare module GeoJSON {
|
|
|
426
430
|
* https://tools.ietf.org/html/rfc7946#section-3.1.4
|
|
427
431
|
*/
|
|
428
432
|
interface LineString extends GeoJsonObject {
|
|
429
|
-
type:
|
|
433
|
+
type: 'LineString';
|
|
430
434
|
coordinates: Position[];
|
|
431
435
|
}
|
|
432
436
|
/**
|
|
@@ -434,7 +438,7 @@ export declare module GeoJSON {
|
|
|
434
438
|
* https://tools.ietf.org/html/rfc7946#section-3.1.5
|
|
435
439
|
*/
|
|
436
440
|
interface MultiLineString extends GeoJsonObject {
|
|
437
|
-
type:
|
|
441
|
+
type: 'MultiLineString';
|
|
438
442
|
coordinates: Position[][];
|
|
439
443
|
}
|
|
440
444
|
/**
|
|
@@ -442,7 +446,7 @@ export declare module GeoJSON {
|
|
|
442
446
|
* https://tools.ietf.org/html/rfc7946#section-3.1.6
|
|
443
447
|
*/
|
|
444
448
|
interface Polygon extends GeoJsonObject {
|
|
445
|
-
type:
|
|
449
|
+
type: 'Polygon';
|
|
446
450
|
coordinates: Position[][];
|
|
447
451
|
}
|
|
448
452
|
/**
|
|
@@ -450,7 +454,7 @@ export declare module GeoJSON {
|
|
|
450
454
|
* https://tools.ietf.org/html/rfc7946#section-3.1.7
|
|
451
455
|
*/
|
|
452
456
|
interface MultiPolygon extends GeoJsonObject {
|
|
453
|
-
type:
|
|
457
|
+
type: 'MultiPolygon';
|
|
454
458
|
coordinates: Position[][][];
|
|
455
459
|
}
|
|
456
460
|
/**
|
|
@@ -458,7 +462,7 @@ export declare module GeoJSON {
|
|
|
458
462
|
* https://tools.ietf.org/html/rfc7946#section-3.1.8
|
|
459
463
|
*/
|
|
460
464
|
interface GeometryCollection extends GeoJsonObject {
|
|
461
|
-
type:
|
|
465
|
+
type: 'GeometryCollection';
|
|
462
466
|
geometries: Geometry[];
|
|
463
467
|
}
|
|
464
468
|
type GeoJsonProperties = {
|
|
@@ -469,7 +473,7 @@ export declare module GeoJSON {
|
|
|
469
473
|
* https://tools.ietf.org/html/rfc7946#section-3.2
|
|
470
474
|
*/
|
|
471
475
|
interface Feature<G extends Geometry | null = Geometry, P = GeoJsonProperties> extends GeoJsonObject {
|
|
472
|
-
type:
|
|
476
|
+
type: 'Feature';
|
|
473
477
|
/**
|
|
474
478
|
* The feature's geometry
|
|
475
479
|
*/
|
|
@@ -489,7 +493,7 @@ export declare module GeoJSON {
|
|
|
489
493
|
* https://tools.ietf.org/html/rfc7946#section-3.3
|
|
490
494
|
*/
|
|
491
495
|
interface FeatureCollection<G extends Geometry | null = Geometry, P = GeoJsonProperties> extends GeoJsonObject {
|
|
492
|
-
type:
|
|
496
|
+
type: 'FeatureCollection';
|
|
493
497
|
features: Array<Feature<G, P>>;
|
|
494
498
|
}
|
|
495
499
|
}
|
|
@@ -571,9 +575,4 @@ export declare class GeoMapLayer extends MapLayerBase {
|
|
|
571
575
|
_getFeatureById(id: string): GeoJSON.Feature;
|
|
572
576
|
_hitTest(x: number, y: number): any;
|
|
573
577
|
}
|
|
574
|
-
export declare class GeoGridLayer extends MapLayerBase {
|
|
575
|
-
constructor();
|
|
576
|
-
render(e: IRenderEngine, t: SVGTransform, group: SVGGElement): any;
|
|
577
|
-
private isValid;
|
|
578
|
-
}
|
|
579
578
|
export {};
|
package/wijmo.chart.map.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.t163143
|
|
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 wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),selfModule=__importStar(require("wijmo/wijmo.chart.map"));exports.FlexMapClsNames={geogrid:"wj-flexmap-geogrid",hostElement:"wj-flexmap"};var MapHitTestInfo=function(){function MapHitTestInfo(){}Object.defineProperty(MapHitTestInfo.prototype,"point",{get:function(){return this._pt},enumerable:!0,configurable:!0});Object.defineProperty(MapHitTestInfo.prototype,"item",{get:function(){return this._item},enumerable:!0,configurable:!0});Object.defineProperty(MapHitTestInfo.prototype,"geoPoint",{get:function(){return this._map?this._map.convertBack(this.point):null},enumerable:!0,configurable:!0});Object.defineProperty(MapHitTestInfo.prototype,"chartElement",{get:function(){return this._chartElement},enumerable:!0,configurable:!0});Object.defineProperty(MapHitTestInfo.prototype,"map",{get:function(){return this._map},enumerable:!0,configurable:!0});return MapHitTestInfo}();exports.MapHitTestInfo=MapHitTestInfo;var _DrawOptions=function _DrawOptions(){};exports._DrawOptions=_DrawOptions;var _SvgMapRenderEngine=function(t){__extends(_SvgMapRenderEngine,t);function _SvgMapRenderEngine(e){var i=t.call(this,e)||this;i.scale=1;i.element.setAttribute("xmlns:wj-map","http://developer.mescius.com/wijmo");return i}_SvgMapRenderEngine.prototype.drawPolygon2=function(t,e){var i=t?t.className:null,r=t?t.clipPath:null,o=t?t.style:null,n=this.precision;if(e&&e.length>0){var a=document.createElementNS("http://www.w3.org/2000/svg","path");this._applyColor(a,"stroke",this.stroke);var s=this.strokeWidth;if(null!==s){wijmo_1.isIE()&&(s*=this.scale);this._setAttribute(a,"stroke-width",s.toString())}this._applyColor(a,"fill",this.fill);for(var h="",l=0;l<e.length;l++){var c=e[l],u=c.length/2;if(u>1){h+=" M "+c[0].toFixed(n)+" "+c[1].toFixed(n);for(var p=1;p<u;p++)h+=" L "+c[2*p].toFixed(n)+" "+c[2*p+1].toFixed(n);h+=" Z"}}this._setAttribute(a,"d",h);i&&a.setAttribute("class",i);r&&this._setClipPath(a,r);this._applyStyle(a,o);this._appendChild(a);a.setAttribute("vector-effect","non-scaling-stroke");return a}return null};return _SvgMapRenderEngine}(wijmo_chart_1.SvgRenderEngine);exports._SvgMapRenderEngine=_SvgMapRenderEngine;var _Range=function(){function _Range(t,e){this.min=t;this.max=e}Object.defineProperty(_Range.prototype,"range",{get:function(){return this.max-this.min},enumerable:!0,configurable:!0});_Range.prototype.norm=function(t){return(t-this.min)/this.range};return _Range}();exports._Range=_Range;var _Utils=function(){function _Utils(){}_Utils.getRange=function(t,e){if(t&&e){for(var i=t.length,r=NaN,o=NaN,n=0;n<i;n++){var a=t[n];if(a){var s=void 0;s=wijmo_1.isFunction(e)?e(a):e.getValue(a);wijmo_1.isString(s)&&(s=parseFloat(s));if(isFinite(s)){(isNaN(r)||s<r)&&(r=s);(isNaN(o)||s>o)&&(o=s)}}}if(!isNaN(r)&&!isNaN(o))return new _Range(r,o)}return null};return _Utils}();exports._Utils=_Utils;var ColorScale=function(){function ColorScale(t){this._clrs=[];this._clrUnknown="transparent";this.colors=wijmo_chart_1.Palettes.SequentialSingle.Greys;this.initialize(t)}ColorScale.prototype.initialize=function(t){wijmo_1.copy(this,t)};ColorScale.prototype.convert=function(t,e){void 0===e&&(e=!0);if(!isFinite(t)||0==this._clrs.length)return this.colorUnknown;this._range&&e&&(t=this._range.norm(t));this.scale&&(t=this.scale(t));return 2==this._clrs.length?this._interpolate(this._clrs[0],this._clrs[1],t):this._clrSpline.interpolate(t).toString()};Object.defineProperty(ColorScale.prototype,"scale",{get:function(){return this._scale},set:function(t){this._scale!=t&&(this._scale=t)},enumerable:!0,configurable:!0});Object.defineProperty(ColorScale.prototype,"binding",{get:function(){return this._binding},set:function(t){this._binding!=t&&(this._binding=t)},enumerable:!0,configurable:!0});Object.defineProperty(ColorScale.prototype,"colorUnknown",{get:function(){return this._clrUnknown},set:function(t){this._clrUnknown!=t&&(this._clrUnknown=wijmo_1.asString(t))},enumerable:!0,configurable:!0});Object.defineProperty(ColorScale.prototype,"colors",{get:function(){return this._colors},set:function(t){if(this._colors!=t){this._clrs=[];var e=this._colors=t;if(e){for(var i=0;i<e.length;i++)this._clrs.push(new wijmo_1.Color(e[i]));this._clrSpline=new _ColorSpline(this._clrs)}}},enumerable:!0,configurable:!0});Object.defineProperty(ColorScale.prototype,"format",{get:function(){return this._fmt},set:function(t){this._fmt!=t&&(this._fmt=wijmo_1.asString(t,!0))},enumerable:!0,configurable:!0});ColorScale.prototype.domain=function(t){wijmo_1.isFunction(this.binding)?this._range=_Utils.getRange(t,this.binding):this._range=_Utils.getRange(t,new wijmo_1.Binding(this.binding))};ColorScale.prototype.getValue=function(t){return wijmo_1.isFunction(this.binding)?this.binding(t):new wijmo_1.Binding(this.binding).getValue(t)};ColorScale.prototype._interpolate=function(t,e,i){var r=1-(i=wijmo_1.clamp(i,0,1));return wijmo_1.Color.fromRgba(t.r*r+e.r*i,t.g*r+e.g*i,t.b*r+e.b*i,t.a*r+e.a*i).toString()};ColorScale.prototype._drawLegend=function(t,e,i){_ColorScaleLegend.draw(t,this,e,i)};ColorScale.prototype._measureLegend=function(t,e,i,r){return _ColorScaleLegend.measure(t,this,e,i,r)};return ColorScale}();exports.ColorScale=ColorScale;var _ColorScaleLegend=function(){function _ColorScaleLegend(){}_ColorScaleLegend.measure=function(t,e,i,r,o){var n=i?new wijmo_1.Size(this.itemSize,o-120):new wijmo_1.Size(r-80,this.itemSize),a=this._getValues(e),s=a.length;if(a.length){for(var h=new wijmo_1.Size,l=0;l<s;l++){var c=this._getLabel(e,a[l]),u=t.measureString(c);h.width=Math.max(h.width,u.width);h.height=Math.max(h.height,u.height)}h.width&&h.height&&(i?n.width+=h.width+this.marginText:n.height+=h.height+this.marginText)}return n};_ColorScaleLegend.draw=function(t,e,i,r){t.stroke="transparent";var o=this._getValues(e);if(r){for(var n=(i=i.inflate(0,-10)).height/100,a=0;a<100;a++){t.fill=e.convert((a+.5)/100,!1);t.drawRect(i.left,i.top+a*n,this.itemSize,n+1)}if(o.length){t.stroke="black";for(a=0;a<o.length;a++){var s=o[a],h=e._range.norm(s),l=i.top+h*i.height,c=this._getLabel(e,s),u=t.measureString(c);t.drawString(c,new wijmo_1.Point(i.left+this.itemSize+this.marginText,l+.5*u.height));t.drawLine(i.left,l,i.left+this.itemSize,l)}}}else{var p=(i=i.inflate(-20,0)).width/100;n=0;if(o.length)for(a=0;a<o.length;a++){s=o[a],h=e._range.norm(s);e.scale&&(h=e.scale(h));var _=i.left+h*i.width;c=this._getLabel(e,s),u=t.measureString(c);n=Math.max(n,u.height);t.drawString(this._getLabel(e,s),new wijmo_1.Point(_-.5*u.width,i.top+u.height))}n&&(n+=this.marginText);for(a=0;a<100;a++){t.fill=e.convert((a+.5)/100,!1);t.drawRect(i.left+a*p,i.top+n,p+1,this.itemSize)}if(o.length){t.stroke="black";for(a=0;a<o.length;a++){s=o[a],h=e._range.norm(s);e.scale&&(h=e.scale(h));_=i.left+h*i.width;t.drawLine(_,i.bottom-this.itemSize,_,i.bottom)}}}};_ColorScaleLegend._getValues=function(t){var e=[],i=t._range;if(i)for(var r=this._calcDelta(i.range),o=Math.round(i.min/r)*r;o<=i.max;o+=r)o<i.min||e.push(o);return e};_ColorScaleLegend._getLabel=function(t,e){return t.format?wijmo_1.Globalize.formatNumber(e,t.format):e.toString()};_ColorScaleLegend._calcDelta=function(t){var e=this._nicePrecision(t),i=t/10,r=this._niceNumber(2*i,-e,!0);r<i&&(r=this._niceNumber(i,1-e,!1));r<i&&(r=this._niceTickNumber(i));return r};_ColorScaleLegend._nicePrecision=function(t){if(!wijmo_1.isNumber(t)||t<=0)return 0;var e,i=Math.log(t)/Math.LN10;e=i>=0?Math.floor(i):Math.ceil(i);var r=t/Math.pow(10,e);if(r<3){e=1-e;(r=t/Math.pow(10,e))<3&&(e+=1)}return e};_ColorScaleLegend._niceTickNumber=function(t){if(0==t)return t;t<0&&(t=-t);var e=Math.log(t)/Math.LN10,i=Math.floor(e),r=t/Math.pow(10,i),o=10;r<=1?o=1:r<=2?o=2:r<=5&&(o=5);return o*Math.pow(10,i)};_ColorScaleLegend._niceNumber=function(t,e,i){if(0==t)return t;t<0&&(t=-t);var r=t/Math.pow(10,e),o=10;i?r<1.5?o=1:r<3?o=2:r<4.5?o=4:r<7&&(o=5):r<=1?o=1:r<=2?o=2:r<=5&&(o=5);return o*Math.pow(10,e)};_ColorScaleLegend.itemSize=20;_ColorScaleLegend.marginText=4;return _ColorScaleLegend}(),_ColorSpline=function(){function _ColorSpline(t){this._clrs=t;for(var e=t.length,i=[],r=[],o=[],n=[],a=0;a<e;a++){var s=t[a],h=a/(e-1);i.push(h);r.push(s.r);o.push(s.g);n.push(s.b)}this._rsp=new _Spline(i,r);this._gsp=new _Spline(i,o);this._bsp=new _Spline(i,n)}_ColorSpline.prototype.interpolate=function(t){t=wijmo_1.clamp(t,0,1);var e=this._rsp.calculate(t),i=this._gsp.calculate(t),r=this._bsp.calculate(t);return wijmo_1.Color.fromRgba(e,i,r)};return _ColorSpline}(),_Spline=function(){function _Spline(t,e,i){this.k=.002;this._a=[];this._b=[];this._c=[];this._d=[];this.m=[[-.5,1.5,-1.5,.5],[1,-2.5,2,-.5],[-.5,0,.5,0],[0,1,0,0]];this._x=t;this._y=e;var r=this._len=i||Math.min(t.length,e.length);if(r>3)for(var o=0;o<r-1;o++){var n=0==o?new wijmo_1.Point(t[o],e[o]):new wijmo_1.Point(t[o-1],e[o-1]),a=new wijmo_1.Point(t[o],e[o]),s=new wijmo_1.Point(t[o+1],e[o+1]),h=o==r-2?new wijmo_1.Point(t[o+1],e[o+1]):new wijmo_1.Point(t[o+2],e[o+2]),l=new wijmo_1.Point,c=new wijmo_1.Point,u=new wijmo_1.Point,p=new wijmo_1.Point;l.x=n.x*this.m[0][0]+a.x*this.m[0][1]+s.x*this.m[0][2]+h.x*this.m[0][3];c.x=n.x*this.m[1][0]+a.x*this.m[1][1]+s.x*this.m[1][2]+h.x*this.m[1][3];u.x=n.x*this.m[2][0]+a.x*this.m[2][1]+s.x*this.m[2][2]+h.x*this.m[2][3];p.x=n.x*this.m[3][0]+a.x*this.m[3][1]+s.x*this.m[3][2]+h.x*this.m[3][3];l.y=n.y*this.m[0][0]+a.y*this.m[0][1]+s.y*this.m[0][2]+h.y*this.m[0][3];c.y=n.y*this.m[1][0]+a.y*this.m[1][1]+s.y*this.m[1][2]+h.y*this.m[1][3];u.y=n.y*this.m[2][0]+a.y*this.m[2][1]+s.y*this.m[2][2]+h.y*this.m[2][3];p.y=n.y*this.m[3][0]+a.y*this.m[3][1]+s.y*this.m[3][2]+h.y*this.m[3][3];this._a.push(l);this._b.push(c);this._c.push(u);this._d.push(p)}}_Spline.prototype.calculate=function(t){t*=this._len-1;var e=Math.floor(t);e<0&&(e=0);e>this._len-2&&(e=this._len-2);var i=t-e;this._a[e].x,this._b[e].x,this._c[e].x,this._d[e].x;return((this._a[e].y*i+this._b[e].y)*i+this._c[e].y)*i+this._d[e].y};return _Spline}(),FlexMap=function(t){__extends(FlexMap,t);function FlexMap(e,i){var r=t.call(this,e,null,!0)||this;r._layers=new wijmo_1.ObservableArray;r._center=new wijmo_1.Point;r._zoom=1;r._zoomStep=.5;r._offset=new wijmo_1.Point;r._proj=new MercatorProjection;r._touchStartH=r._touchStart.bind(r);r._touchMoveH=r._touchMove.bind(r);r._touchEndH=r._touchEnd.bind(r);r._touchCancelH=r._touchCancel.bind(r);r._mouseWheelH=r._mouseWheel.bind(r);r._handleTouch=!1;var o=r.hostElement;r.applyTemplate(wijmo_1.ControlClsNames.hostElement+" "+wijmo_chart_1.FlexChartClsNames.hostElement+" "+exports.FlexMapClsNames.hostElement,null,null);r._currentRenderEngine=new _SvgMapRenderEngine(o);var n=wijmo_1.createElement("<div></div>",null,{position:"relative"});r._overlay=wijmo_1.createElement("<div></div>",n,{position:"absolute",left:"90%",bottom:"90%"});wijmo_1.createElement('<button class="'+wijmo_1.InputFormElementsClsNames.btn+'"><span class='+wijmo_1.GlyphClsNames.plus+"></span></button>",r._overlay).addEventListener("click",(function(){return r.zoom+=r._zoomStep}));wijmo_1.createElement('<button class="'+wijmo_1.InputFormElementsClsNames.btn+'"><span class='+wijmo_1.GlyphClsNames.minus+"></span></button>",r._overlay).addEventListener("click",(function(){return r.zoom-=r._zoomStep}));wijmo_1.addClass(o,wijmo_chart_1.FlexChartClsNames.touchDisabled);o.appendChild(n);r._legend=new wijmo_chart_1.Legend(r);r._legend.position=wijmo_chart_1.Position.None;r._tooltip=new wijmo_chart_1.ChartTooltip;r.tooltip.content=null;var a=r;r.layers.collectionChanged.addHandler((function(){r.layers.forEach((function(t){return t.map=a}));r.invalidate()}));r.addEventListener(o,"click",(function(t){if(!a.isDisabled){var e=a._tooltip;e.content&&a.isTouching&&a._updateTooltip(e,t)}}));r.addEventListener(o,"mousedown",(function(t){if(!a.isDisabled&&0==t.button){r.focus();r._dragStart=new wijmo_1.Point(t.pageX,t.pageY);r._hideToolTip()}}));r.addEventListener(o,"mousemove",(function(t){if(!a.isDisabled)if(a._dragStart){var e=r.convertBack(r._toControl(a._dragStart)),i=r.convertBack(r._toControl(t));r.center=new wijmo_1.Point(r.center.x-i.x+e.x,r.center.y-i.y+e.y);r._dragStart=new wijmo_1.Point(t.pageX,t.pageY)}else{var o=a._tooltip;o.content&&!a.isTouching&&a._updateTooltip(o,t)}}));r.addEventListener(o,"mouseup",(function(t){r._dragStart=null}));r.addEventListener(o,"mouseleave",(function(t){if(t.target==a.hostElement){r._dragStart=null;a._hideToolTip()}}));r.addEventListener(o,"touchstart",r._touchStartH);r.addEventListener(o,"touchmove",r._touchMoveH);r.addEventListener(o,"touchcancel",r._touchCancelH);r.addEventListener(o,"touchend",r._touchEndH);r.addEventListener(o,"wheel",r._mouseWheelH);r.initialize(i);r.refresh();return r}Object.defineProperty(FlexMap.prototype,"layers",{get:function(){return this._layers},enumerable:!0,configurable:!0});Object.defineProperty(FlexMap.prototype,"center",{get:function(){return this._center},set:function(t){if(this._center!=t){this._center=t;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexMap.prototype,"zoom",{get:function(){return this._zoom},set:function(t){t<1&&(t=1);if(this._zoom!=t){this._zoom=t;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexMap.prototype,"tooltip",{get:function(){return this._tooltip},enumerable:!0,configurable:!0});FlexMap.prototype.convert=function(t){return this._convertMercator(t)};FlexMap.prototype.convertBack=function(t){return this._convertMercatorBack(t)};FlexMap.prototype.hitTest=function(t,e){var i=this._toControl(t,e),r=new MapHitTestInfo;if(wijmo_chart_1.FlexChartBase._contains(this._rectHeader,i))r._chartElement=wijmo_chart_1.ChartElement.Header;else if(wijmo_chart_1.FlexChartBase._contains(this._rectFooter,i))r._chartElement=wijmo_chart_1.ChartElement.Footer;else if(wijmo_chart_1.FlexChartBase._contains(this._rectLegend,i))r._chartElement=wijmo_chart_1.ChartElement.Legend;else if(wijmo_chart_1.FlexChartBase._contains(this._rectChart,i)){var o=void 0;if(t instanceof MouseEvent)o=new wijmo_1.Point(t.x,t.y);else{var n=this._getHostOffset();o=new wijmo_1.Point(n.x+i.x,n.y+i.y)}r._item=this._getItem(o)}return r};FlexMap.prototype.zoomTo=function(t){var e=this._proj.maxY,i=Math.max(t.top,-e),r=Math.min(t.bottom,e),o=this.convert(new wijmo_1.Point(t.left,i)),n=this.convert(new wijmo_1.Point(t.right,r));if(wijmo_chart_1._DataInfo.isValid(o.x,o.y,n.x,n.y)){var a=new wijmo_1.Point(.5*(o.x+n.x),.5*(o.y+n.y));this.center=this.convertBack(a);o=this.convert(new wijmo_1.Point(t.left,i));n=this.convert(new wijmo_1.Point(t.right,r));var s=this._mapRect.width/Math.abs(n.x-o.x),h=this._mapRect.height/Math.abs(n.y-o.y);this.zoom*=this.zoom+Math.log(Math.min(s,h))*Math.LOG2E}};FlexMap.prototype.invalidate=function(e){e&&this.layers.forEach((function(t){t._clearCache&&t._clearCache()}));t.prototype.invalidate.call(this,e)};FlexMap.prototype._renderChart=function(t,e,i){this.onRendering(new wijmo_chart_1.RenderEventArgs(t));e=this._getMapRect(e);var r="mapRect"+(1e6*Math.random()).toFixed();t.addClipRect(e,r);var o=t.startGroup(null,r,!0);this._updateOffset(e);var n=this._size,a=Math.pow(2,this.zoom);t.precision=6;for(var s=0;s<this.layers.length;s++){var h=1/(a*n);t.scale=h;var l=t.element.createSVGTransform(),c=t.element.createSVGMatrix();c.a=c.d=a*n;c.b=c.c=0;c.e=this._offset.x;c.f=this._offset.y;l.setMatrix(c);this.layers[s].render(t,l,o)}t.endGroup();var u=this._rectChart.bottom-this._mapRect.bottom;this._overlay.style.left=(this._mapRect.right-80).toString()+"px";this._overlay.style.bottom=u.toString()+"px";this.onRendered(new wijmo_chart_1.RenderEventArgs(t))};FlexMap.prototype._getDesiredLegendSize=function(t,e,i,r){for(var o=new wijmo_1.Size,n=0;n<this.layers.length;n++){var a=this.layers[n];if(a.colorScale){a.getAllFeatures?a.colorScale.domain(a.getAllFeatures()):a.colorScale.domain(a.itemsSource);var s=a.colorScale._measureLegend(t,e,i,r);s&&s.width&&s.height&&(o=s)}}return o};FlexMap.prototype._renderLegend=function(t,e,i,r,o,n){var a=new wijmo_1.Rect(e.x,e.y,o,n);this.layers.forEach((function(e){e.colorScale&&e.colorScale._drawLegend(t,a,r)}))};FlexMap.prototype._copy=function(t,e){if("layers"==t){this.layers.clear();for(var i=wijmo_1.asArray(e),r=0;r<i.length;r++)this.layers.push(i[r]);return!0}return!1};FlexMap.prototype._getMapRect=function(t){var e=t.width,i=t.height,r=this._parseMargin(this.plotMargin);isNaN(r.left)&&(r.left=8);isNaN(r.right)&&(r.right=8);isNaN(r.top)&&(r.top=8);isNaN(r.bottom)&&(r.bottom=8);t.top+=r.top;i=t.height-(r.top+r.bottom);t.height=i>0?i:24;t.left+=r.left;e=t.width-(r.left+r.right);t.width=e>0?e:24;return t};FlexMap.prototype._updateOffset=function(t){this._mapRect=t.clone();var e=this._size=.5*Math.min(t.width,t.height);this._offset.x=this._mapRect.left;this._offset.y=this._mapRect.top;t.width>2*e?this._offset.x=.5*t.width-e+this._mapRect.left:t.height>2*this._size&&(this._offset.y=.5*t.height-e+this._mapRect.top);var i=Math.pow(2,this.zoom),r=this._proj.convert(this.center);r.x=r.x*i*e-e;r.y=r.y*i*e-e;this._offset.x-=r.x;this._offset.y-=r.y};FlexMap.prototype._updateTooltip=function(t,e){var i=t.content;if(i){var r=this._getItem(new wijmo_1.Point(e.clientX,e.clientY));if(r){wijmo_1.isFunction(i)&&(i=i(r));i=wijmo_1.format(i,r)}else i=null}i&&i.trim().length>0?this._showToolTip(i,new wijmo_1.Rect(e.clientX,e.clientY,5,5)):this._hideToolTip()};FlexMap.prototype._getItemById=function(t){for(var e=0;e<this.layers.length;e++){var i=this.layers[e];if(i._getFeatureById){if(r=i._getFeatureById(t))return r.properties}else if(i.getItemById){var r;if(r=i.getItemById(t))return r}}return null};FlexMap.prototype._convertMercator=function(t){var e=Math.pow(2,this.zoom)*this._size,i=this._proj.convert(t);i.x*=e;i.y*=e;i.x+=this._offset.x;i.y+=this._offset.y;return i};FlexMap.prototype._convertMercatorBack=function(t){var e=Math.pow(2,this.zoom)*this._size,i=this._proj,r=t.clone();r.x-=this._offset.x;r.y-=this._offset.y;r.x/=e;r.y/=e;return r=i.convertBack(r)};FlexMap.prototype._touchStart=function(t){if(!this.isDisabled){switch(t.touches.length){case 1:this._handleTouch=!0;this._dragStart=new wijmo_1.Point(t.touches[0].pageX,t.touches[0].pageY);break;case 2:this._dragStart=null;this._handleTouch=!0;this._touch1=new wijmo_1.Point(t.touches[0].pageX,t.touches[0].pageY);this._touch2=new wijmo_1.Point(t.touches[1].pageX,t.touches[1].pageY)}this._handleTouch&&this._hideToolTip()}};FlexMap.prototype._touchMove=function(t){if(!this.isDisabled){this._handleTouch&&t.preventDefault();if(this._dragStart){var e=this.convertBack(this._toControl(this._dragStart)),i=this.convertBack(this._toControl(t.touches[0].pageX,t.touches[0].pageY));this.center=new wijmo_1.Point(this.center.x-i.x+e.x,this.center.y-i.y+e.y);this._dragStart=new wijmo_1.Point(t.touches[0].pageX,t.touches[0].pageY)}else if(this._touch1&&this._touch2){var r=new wijmo_1.Point(t.touches[0].pageX,t.touches[0].pageY),o=new wijmo_1.Point(t.touches[1].pageX,t.touches[1].pageY),n=this._dist(this._touch1,this._touch2),a=this._dist(r,o);if(Math.abs(a-n)>1){this.zoom+=Math.log2(a/n);this._touch1=r;this._touch2=o}}}};FlexMap.prototype._dist=function(t,e){var i=t.x-e.x,r=t.y-e.y;return Math.sqrt(i*i+r*r)};FlexMap.prototype._touchEnd=function(t){this._handleTouch=!1;this._dragStart=this._touch1=this._touch2=null};FlexMap.prototype._touchCancel=function(t){this._handleTouch=!1;this._dragStart=this._touch1=this._touch2=null};FlexMap.prototype._mouseWheel=function(t){if(!this.isDisabled){t.preventDefault();this._hideToolTip();var e=this.pageToControl(t.pageX,t.pageY),i=this.convertBack(e),r=-t.deltaY;r=r>0?.1:-.1;this._zoom+=r;this._zoom<1&&(this._zoom=1);this._updateOffset(this._mapRect);var o=this.convertBack(e);this.center=new wijmo_1.Point(this.center.x-o.x+i.x,this.center.y-o.y+i.y);this.refresh()}};FlexMap.prototype._getItem=function(t){var e=null;if(wijmo_1.isFirefox()||wijmo_1.isIE()){var i=t.clone();i.x+=pageXOffset;i.y+=pageYOffset;i=this._toControl(i);var r=this.layers.length;i=this.convertBack(i);for(var o=r-1;o>=0;o--){var n=this.layers[o];if(n._hitTest)e=n._hitTest(i.x,i.y);else if(n.getItemById){if(a=document.elementFromPoint(t.x,t.y)){null!=(s=a.getAttribute("wj-map:id"))&&(e=n.getItemById(s))}}if(e)break}}else{var a;if(a=document.elementFromPoint(t.x,t.y)){var s;null!=(s=a.getAttribute("wj-map:id"))&&(e=this._getItemById(s))}}return e};return FlexMap}(wijmo_chart_1.FlexChartBase);exports.FlexMap=FlexMap;var MercatorProjection=function(){function MercatorProjection(){this.maxY=(2*Math.atan(Math.exp(Math.PI))-.5*Math.PI)/M.toRadians}MercatorProjection.prototype.convert=function(t){var e=this._convertX(t.x),i=Math.abs(t.y)>this.maxY?(t.y>0?1:-1)*this.maxY:t.y;i=this._convertY(i);return new wijmo_1.Point(e,i)};MercatorProjection.prototype.convertBack=function(t){var e=this._convertBackX(t.x),i=this._convertBackY(t.y);return new wijmo_1.Point(e,i)};MercatorProjection.prototype._convertX=function(t){return(t*M.toRadians+Math.PI)/M.pi2};MercatorProjection.prototype._convertBackX=function(t){return(t*M.pi2-Math.PI)/M.toRadians};MercatorProjection.prototype._convertY=function(t){return(Math.PI+Math.log(Math.tan(M.pi4-.5*t*M.toRadians)))/M.pi2};MercatorProjection.prototype._convertBackY=function(t){return-(2*Math.atan(Math.exp(t*M.pi2-Math.PI))-.5*Math.PI)/M.toRadians};return MercatorProjection}(),M=function(){function M(){}M.toRadians=Math.PI/180;M.pi4=.25*Math.PI;M.pi2=2*Math.PI;return M}();exports.empty={};var MapLayerBase=function(){function MapLayerBase(){this.itemsSourceChanged=new wijmo_1.Event}Object.defineProperty(MapLayerBase.prototype,"map",{get:function(){return this._map},set:function(t){this._map=t},enumerable:!0,configurable:!0});Object.defineProperty(MapLayerBase.prototype,"style",{get:function(){return this._style},set:function(t){if(this._style!=t){this._style=t;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(MapLayerBase.prototype,"itemsSource",{get:function(){return this._items},set:function(t){this._setItems(t)},enumerable:!0,configurable:!0});MapLayerBase.prototype.onItemsSourceChanged=function(t){this.itemsSourceChanged.raise(this,t)};Object.defineProperty(MapLayerBase.prototype,"url",{get:function(){return this._url},set:function(t){if(this._url!=t){this._url=wijmo_1.asString(t,!0);this._loadUrl()}},enumerable:!0,configurable:!0});Object.defineProperty(MapLayerBase.prototype,"colorScale",{get:function(){return this._colorScale},set:function(t){if(this._colorScale!=t){this._colorScale=t;this._clearCache();this.invalidate()}},enumerable:!0,configurable:!0});MapLayerBase.prototype.render=function(t,e,i){};MapLayerBase.prototype.invalidate=function(){this.map&&this.map.invalidate()};MapLayerBase.prototype.initialize=function(t){wijmo_1.copy(this,t)};MapLayerBase.prototype._applyStyle=function(t){if(this.style){t.fill=this.style.fill;t.stroke=this.style.stroke;t.strokeWidth=this.style.strokeWidth}};MapLayerBase.prototype._clearCache=function(){};MapLayerBase.prototype._loadUrl=function(){var t=this;this.url?wijmo_1.httpRequest(this.url,{success:function(e){return t.itemsSource=JSON.parse(e.responseText)}}):this.itemsSource=null};MapLayerBase.prototype._setItems=function(t){if(this._items!=t){this._clearCache();this._items=t;this.onItemsSourceChanged(new wijmo_1.EventArgs);this.invalidate()}};return MapLayerBase}();exports.MapLayerBase=MapLayerBase;var ScatterMapLayer=function(t){__extends(ScatterMapLayer,t);function ScatterMapLayer(e){var i=t.call(this)||this;i._symbolSize=5;i._symbolMinSize=5;i._symbolMaxSize=50;i._index=0;i._prefix="_";i._elMap={};i._hasBindings=!1;i.style={stroke:"grey",strokeWidth:.5,fill:"transparent"};i.initialize(e);return i}Object.defineProperty(ScatterMapLayer.prototype,"symbolSize",{get:function(){return this._symbolSize},set:function(t){if(this._symbolSize!=t){this._symbolSize=wijmo_1.asNumber(t);this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ScatterMapLayer.prototype,"symbolMinSize",{get:function(){return this._symbolMinSize},set:function(t){if(this._symbolMinSize!=t){this._symbolMinSize=wijmo_1.asNumber(t);this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ScatterMapLayer.prototype,"symbolMaxSize",{get:function(){return this._symbolMaxSize},set:function(t){if(this._symbolMaxSize!=t){this._symbolMaxSize=wijmo_1.asNumber(t);this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ScatterMapLayer.prototype,"itemsSource",{get:function(){return this._items},set:function(t){this._setItems(t)},enumerable:!0,configurable:!0});Object.defineProperty(ScatterMapLayer.prototype,"binding",{get:function(){return this._binding},set:function(t){if(this._binding!=t){this._binding=wijmo_1.asString(t,!0);this.parseBindings();this.invalidate()}},enumerable:!0,configurable:!0});ScatterMapLayer.prototype.render=function(t,e,i){this._elMap={};this._index=0;this._prefix=this.map.layers.indexOf(this).toString()+"_";var r=t.startGroup();this.map,this.map._mapRect;this._applyStyle(t);var o=this.itemsSource,n=o?o.length:0,a=this._xBnd,s=this._yBnd,h=this._cBnd,l=this._szBnd;l&&(this._szRange=_Utils.getRange(o,l));var c=this.colorScale;c&&c.domain(o);if(a&&s||h)for(var u=0;u<n;u++){var p=o[u];if(p){var _=this.getItemPos(p);if(_){c&&(t.fill=c.convert(c.getValue(p)));this.renderItem(t,p,_.x,_.y)}}this._index++}t.endGroup();return r};ScatterMapLayer.prototype.renderItem=function(t,e,i,r){if(wijmo_1.isNumber(i)&&wijmo_1.isNumber(r)){var o=this.map.convert(new wijmo_1.Point(i,r));if(isFinite(o.x)&&isFinite(o.y)){var n=this.symbolSize;if(this._szRange){var a=this._szBnd.getValue(e);a=Math.sqrt((a-this._szRange.min)/this._szRange.range);n=this.symbolMinSize+(this.symbolMaxSize-this.symbolMinSize)*a}if(isFinite(n)){var s=t.drawEllipse(o.x,o.y,.5*n,.5*n);s.setAttribute("vector-effect","non-scaling-stroke");var h=this.createId();this.setId(s,h);this._elMap[h]=s}}}};ScatterMapLayer.prototype.getItemById=function(t){var e=this.itemsSource;if(e){if(this._elMap[t]){var i=parseInt(t.split("_")[1]);if(wijmo_1.isNumber(i)&&i<e.length)return e[i]}}return null};ScatterMapLayer.prototype.getGeoBBox=function(){var t=this.itemsSource,e=t?t.length:0;if(this._hasBindings){for(var i=NaN,r=NaN,o=NaN,n=NaN,a=0;a<e;a++){var s=t[a];if(s){var h=this.getItemPos(s);if(h){if(isFinite(h.x)){(isNaN(i)||h.x<i)&&(i=h.x);(isNaN(r)||h.x>r)&&(r=h.x)}if(isFinite(h.y)){(isNaN(o)||h.y<o)&&(o=h.y);(isNaN(n)||h.y>n)&&(n=h.y)}}}}if(!isNaN(i)&&!isNaN(o))return new wijmo_1.Rect(i,o,r-i,n-o)}return null};ScatterMapLayer.prototype.getItemPos=function(t){var e=this._xBnd,i=this._yBnd,r=this._cBnd;if(r){var o=r.getValue(t);if(o){var n=o.split(",");if(n&&n.length>=2){var a=parseFloat(n[0]),s=parseFloat(n[1]);if(isFinite(a)&&isFinite(s))return new wijmo_1.Point(a,s)}}}else{a=e.getValue(t),s=i.getValue(t);wijmo_1.isString(a)&&(a=parseFloat(a));wijmo_1.isString(s)&&(s=parseFloat(s));if(isFinite(a)&&isFinite(s))return new wijmo_1.Point(a,s)}return null};ScatterMapLayer.prototype.setId=function(t,e){t&&e&&t.setAttribute("wj-map:id",e)};ScatterMapLayer.prototype.createId=function(){return this._prefix+this._index.toString()};ScatterMapLayer.prototype.parseBindings=function(){var t=this.binding;this._xBnd=this._yBnd=this._szBnd=null;this._hasBindings=!1;if(t){var e=t.split(",");if(1==e.length){this._cBnd=new wijmo_1.Binding(e[0].trim());this._hasBindings=!0}else if(e.length>=2){this._xBnd=new wijmo_1.Binding(e[0].trim());this._yBnd=new wijmo_1.Binding(e[1].trim());this._hasBindings=!0;e.length>=3&&(this._szBnd=new wijmo_1.Binding(e[2].trim()))}}};return ScatterMapLayer}(MapLayerBase);exports.ScatterMapLayer=ScatterMapLayer;var _GeoJsonRender=function(){function _GeoJsonRender(){this._map={};this._index=0;this.prefix="_";this.hasPoints=!1;this.symbolSize=5}_GeoJsonRender.prototype.convert=function(t){this.converter&&(t=this.converter.convert(t));return t};_GeoJsonRender.prototype.render=function(t,e,i){void 0===i&&(i=null);this._map={};this._index=0;this.hasPoints=!1;if(e)switch(e.type){case"Point":case"MultiPoint":case"LineString":case"MultiLineString":case"Polygon":case"MultiPolygon":case"GeometryCollection":this.renderGeometry(t,e);break;case"Feature":this.renderFeature(t,e,i);break;case"FeatureCollection":if(e.features)for(var r=0;r<e.features.length;r++)this.renderFeature(t,e.features[r],i)}};_GeoJsonRender.prototype.renderFeature=function(t,e,i){void 0===i&&(i=null);if(e&&e.geometry){i&&i(t,e);var r=this.createId();this.renderGeometry(t,e.geometry,r);this._map[r]=e;this._index++}};_GeoJsonRender.prototype.renderGeometry=function(t,e,i){void 0===i&&(i=null);if(e)switch(e.type){case"Point":this.renderPoint(t,e,i);this.hasPoints=!0;break;case"MultiPoint":this.renderMultiPoint(t,e,i);this.hasPoints=!0;break;case"LineString":this.renderLineString(t,e,i);break;case"MultiLineString":this.renderMultiLineString(t,e,i);break;case"Polygon":this.renderPolygon(t,e,i);break;case"MultiPolygon":this.renderMultiPolygon(t,e,i);break;case"GeometryCollection":if(e.geometries)for(var r=0;r<e.geometries.length;r++)this.renderGeometry(t,e.geometries[r],i)}};_GeoJsonRender.prototype.renderPoint=function(t,e,i){void 0===i&&(i=null);if(e&&e.coordinates&&e.coordinates.length>=2){var r=new wijmo_1.Point(e.coordinates[0],e.coordinates[1]);r=this.convert(r);var o=t.scale*this.symbolSize,n=t.drawEllipse(r.x,r.y,o,o);n.setAttribute("vector-effect","non-scaling-stroke");this.setAttribute(n,i)}};_GeoJsonRender.prototype.renderMultiPoint=function(t,e,i){void 0===i&&(i=null);if(e&&e.coordinates)for(var r=e.coordinates,o=e.coordinates.length,n=0;n<o;n++){var a=new wijmo_1.Point(r[n][0],r[n][1]);a=this.convert(a);var s=t.scale*this.symbolSize,h=t.drawEllipse(a.x,a.y,s,s);this.setAttribute(h,i)}};_GeoJsonRender.prototype.renderLineString=function(t,e,i){void 0===i&&(i=null);if(e&&e.coordinates){for(var r=e.coordinates,o=e.coordinates.length,n=[],a=[],s=0;s<o;s++){var h=new wijmo_1.Point(r[s][0],r[s][1]);h=this.convert(h);n.push(h.x);a.push(h.y)}var l=t.drawLines(n,a);this.setAttribute(l,i)}};_GeoJsonRender.prototype.renderMultiLineString=function(t,e,i){void 0===i&&(i=null);if(e&&e.coordinates)for(var r=e.coordinates,o=r.length,n=0;n<o;n++){for(var a=r[n],s=[],h=[],l=0;l<a.length;l++){var c=new wijmo_1.Point(a[l][0],a[l][1]);c=this.convert(c);s.push(c.x);h.push(c.y)}var u=t.drawLines(s,h);this.setAttribute(u,i)}};_GeoJsonRender.prototype.renderMultiPolygon=function(t,e,i){void 0===i&&(i=null);if(e&&e.coordinates)for(var r=e.coordinates,o=r.length,n=t,a=0;a<o;a++){for(var s=r[a],h=(s.length,[]),l=0;l<1;l++){for(var c=s[l],u=[],p=0;p<c.length;p++){var _=new wijmo_1.Point(c[p][0],c[p][1]);_=this.convert(_);u.push(_.x);u.push(_.y)}h.push(u)}var f=n.drawPolygon2(null,h);this.setAttribute(f,i)}};_GeoJsonRender.prototype.renderPolygon=function(t,e,i){void 0===i&&(i=null);if(e&&e.coordinates){for(var r=e.coordinates,o=r.length,n=t,a=[],s=0;s<o;s++){for(var h=r[s],l=[],c=0;c<h.length;c++){var u=new wijmo_1.Point(h[c][0],h[c][1]);u=this.convert(u);l.push(u.x);l.push(u.y)}a.push(l)}var p=n.drawPolygon2(null,a);this.setAttribute(p,i)}};_GeoJsonRender.prototype.getFeatureById=function(t){return this._map[t]};_GeoJsonRender.prototype.getAllFeatures=function(t){var e=[];if(t)switch(t.type){case"Feature":e.push(t);break;case"FeatureCollection":if(t.features)for(var i=0;i<t.features.length;i++)e.push(t.features[i])}return e};_GeoJsonRender.prototype.getBBox=function(t){var e=null;if(t)switch(t.type){case"Point":case"MultiPoint":case"LineString":case"MultiLineString":case"Polygon":case"MultiPolygon":case"GeometryCollection":e=this.getGeometryBBox(t);break;case"Feature":e=this.getGeometryBBox(t.geometry);break;case"FeatureCollection":if(t.features)for(var i=0;i<t.features.length;i++){var r=this.getGeometryBBox(t.features[i].geometry,e);r&&(e=r)}}return e};_GeoJsonRender.prototype.getGeometryBBox=function(t,e){var i=null;if(t)switch(t.type){case"Point":case"MultiPoint":case"LineString":case"MultiLineString":case"Polygon":case"MultiPolygon":var r=t.coordinates,o=this.flat(r,10);i=this.getRect(o,e);break;case"GeometryCollection":if(t.geometries)for(var n=0;n<t.geometries.length;n++)(i=this.getGeometryBBox(t.geometries[n],e))&&(e=i.clone())}return i};_GeoJsonRender.prototype.getRect=function(t,e){var i=null;if(t){var r=NaN,o=NaN,n=NaN,a=NaN;if(e){r=e.left;o=e.right;n=e.top;a=e.bottom}for(var s=t.length/2,h=0;h<s;h++){var l=t[2*h],c=t[2*h+1];(isNaN(r)||l<r)&&(r=l);(isNaN(o)||l>o)&&(o=l);(isNaN(n)||c<n)&&(n=c);(isNaN(a)||c>a)&&(a=c)}isNaN(r)||isNaN(n)||(i=new wijmo_1.Rect(r,n,o-r,a-n))}return i};_GeoJsonRender.prototype.hitTest=function(t,e,i){for(var r=this.getAllFeatures(t),o=0;o<r.length;o++)if(_GeoJsonHitTest.hitTest(r[o],e,i))return r[o];return null};_GeoJsonRender.prototype.setAttribute=function(t,e){t&&e&&t.setAttribute("wj-map:id",e)};_GeoJsonRender.prototype.createId=function(){return this.prefix+this._index.toString()};_GeoJsonRender.prototype.flat=function(t,e){if(t.flat)return t.flat(e);for(var i=t.slice(),r=[];i.length;){var o=i.pop();Array.isArray(o)?i.push.apply(i,o):r.push(o)}return r.reverse()};return _GeoJsonRender}();exports._GeoJsonRender=_GeoJsonRender;var _GeoJsonHitTest=function(){function _GeoJsonHitTest(){}_GeoJsonHitTest.hitTest=function(t,e,i){var r=!1;if(t)switch(t.type){case"Point":case"MultiPoint":case"LineString":case"MultiLineString":r=!1;break;case"Polygon":r=this.hitTestPolygon(t,e,i);break;case"MultiPolygon":r=this.hitTestMultiPolygon(t,e,i);break;case"GeometryCollection":r=!1;break;case"Feature":r=this.hitTestGeometry(t.geometry,e,i);break;case"FeatureCollection":if(t.features)for(var o=0;o<t.features.length;o++);}return r};_GeoJsonHitTest.hitTestPolygon=function(t,e,i){var r=!1;if(t&&t.coordinates){for(var o=t.coordinates,n=o.length,a=0;a<1;a++){var s=o[a];r=this.contains(s,e,i)}if(r)for(a=1;a<n;a++){s=o[a];if(this.contains(s,e,i)){r=!1;break}}}return r};_GeoJsonHitTest.hitTestMultiPolygon=function(t,e,i){var r=!1;if(t&&t.coordinates)for(var o=t.coordinates,n=o.length-1;n>=0;n--){for(var a=o[n],s=a.length,h=0;h<1;h++){var l=a[h];r=this.contains(l,e,i)}if(r)for(var c=1;c<s;c++){l=a[c];if(this.contains(l,e,i)){r=!1;break}}if(r)break}return r};_GeoJsonHitTest.hitTestGeometry=function(t,e,i){var r=!1;if(t)switch(t.type){case"Point":case"MultiPoint":case"LineString":case"MultiLineString":break;case"Polygon":r=this.hitTestPolygon(t,e,i);break;case"MultiPolygon":r=this.hitTestMultiPolygon(t,e,i);break;case"GeometryCollection":if(t.geometries)for(var o=0;o<t.geometries.length&&!(r=this.hitTestGeometry(t.geometries[o],e,i));o++);}return r};_GeoJsonHitTest.contains=function(t,e,i){for(var r=0,o=t.length,n=0;n<o-1;n++){var a=t[n][0],s=t[n][1],h=t[n+1][0],l=t[n+1][1];this.west(a,s,h,l,e,i)&&++r}return r%2==1};_GeoJsonHitTest.west=function(t,e,i,r,o,n){return e<=r?!(n<=e||n>r||o>=t&&o>=i)&&(o<t&&o<i||(n-e)/(o-t)>(r-e)/(i-t)):this.west(i,r,t,e,o,n)};return _GeoJsonHitTest}();exports._GeoJsonHitTest=_GeoJsonHitTest;var GeoMapLayer=function(t){__extends(GeoMapLayer,t);function GeoMapLayer(e){var i=t.call(this)||this;i._render=new _GeoJsonRender;i._symbolSize=5;i.style={stroke:"gray",fill:"transparent",strokeWidth:.5};e&&i.initialize(e);return i}Object.defineProperty(GeoMapLayer.prototype,"itemFormatter",{get:function(){return this._ifmt},set:function(t){if(this._ifmt!=t){this._ifmt=wijmo_1.asFunction(t,!0);this._clearCache();this.invalidate()}},enumerable:!0,configurable:!0});GeoMapLayer.prototype.getAllFeatures=function(){return this._render.getAllFeatures(this.itemsSource)};GeoMapLayer.prototype.render=function(t,e,i){this._render.hasPoints&&this._clearCache();var r=this._g;if(r)i.appendChild(r);else{r=t.startGroup();this._render.symbolSize=this.symbolSize;this._render.converter=this.map._proj;var o=this.colorScale;o&&o.domain(this.getAllFeatures());this._applyStyle(t);this._render.prefix=this.map.layers.indexOf(this).toString()+"_";o?this._render.render(t,this.itemsSource,(function(t,e){t.fill=o.convert(o.getValue(e))})):this._render.render(t,this.itemsSource,this.itemFormatter);t.endGroup();this._g=r}0==r.transform.baseVal.numberOfItems?r.transform.baseVal.appendItem(e):r.transform.baseVal.replaceItem(e,0);return r};GeoMapLayer.prototype.getGeoBBox=function(t){return t?this._render.getBBox(t):this._render.getBBox(this.itemsSource)};Object.defineProperty(GeoMapLayer.prototype,"symbolSize",{get:function(){return this._symbolSize},set:function(t){if(this._symbolSize!=t){this._symbolSize=wijmo_1.asNumber(t);this.invalidate()}},enumerable:!0,configurable:!0});GeoMapLayer.prototype._clearCache=function(){this._g=null};GeoMapLayer.prototype._getFeatureById=function(t){return this._render.getFeatureById(t)};GeoMapLayer.prototype._hitTest=function(t,e){var i=this._render.hitTest(this.itemsSource,t,e);return i?i.properties:null};return GeoMapLayer}(MapLayerBase);exports.GeoMapLayer=GeoMapLayer;var GeoGridLayer=function(t){__extends(GeoGridLayer,t);function GeoGridLayer(){var e=t.call(this)||this;e.style={stroke:"lightgrey",strokeWidth:.5,fill:"lightgrey"};return e}GeoGridLayer.prototype.render=function(t,e,i){var r=t.startGroup(exports.FlexMapClsNames.geogrid),o=this.map,n=this.map._mapRect,a=wijmo_chart_1.FlexChartClsNames.label;this._applyStyle(t);for(var s=-180;s<=180;s+=30){var h=o.convert(new wijmo_1.Point(s,-85)),l=o.convert(new wijmo_1.Point(s,85));if(this.isValid(h)&&this.isValid(l)){var c=s.toString(),u=t.measureString(c,a);t.drawString(c,new wijmo_1.Point(h.x-.5*u.width,n.top+u.height),a);t.drawLine(h.x,h.y,l.x,l.y)}}for(var p=n.left,_=-80;_<=80;_+=20){h=o.convert(new wijmo_1.Point(-180,_)),l=o.convert(new wijmo_1.Point(180,_));if(this.isValid(h)&&this.isValid(l)){c=p.toString(),u=t.measureString(c,a);t.drawString(_.toString(),new wijmo_1.Point(p,h.y+.5*u.height),a);t.drawLine(h.x,h.y,l.x,l.y)}}t.endGroup();return r};GeoGridLayer.prototype.isValid=function(t){return isFinite(t.x)&&isFinite(t.y)};return GeoGridLayer}(MapLayerBase);exports.GeoGridLayer=GeoGridLayer;wijmo_1._registerModule("wijmo.chart.map",selfModule);
|
|
14
|
+
"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)};return function(e,t){extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}}(),__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.hasOwnProperty.call(e,i)&&(t[i]=e[i]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),selfModule=__importStar(require("wijmo/wijmo.chart.map")),_Range=function(){function _Range(e,t){this.min=e;this.max=t}Object.defineProperty(_Range.prototype,"range",{get:function(){return this.max-this.min},enumerable:!0,configurable:!0});_Range.prototype.norm=function(e){return(e-this.min)/this.range};return _Range}();exports._Range=_Range;var _Utils=function(){function _Utils(){}_Utils.getRange=function(e,t){if(e&&t){for(var i=e.length,o=NaN,r=NaN,n=0;n<i;n++){var a=e[n];if(a){var s=void 0;s=wijmo_1.isFunction(t)?t(a):t.getValue(a);wijmo_1.isString(s)&&(s=parseFloat(s));if(Number.isFinite(s)){(isNaN(o)||s<o)&&(o=s);(isNaN(r)||s>r)&&(r=s)}}}if(!isNaN(o)&&!isNaN(r))return new _Range(o,r)}return null};return _Utils}();exports._Utils=_Utils;var ColorScale=function(){function ColorScale(e){this._clrs=[];this._clrUnknown="transparent";this.colors=wijmo_chart_1.Palettes.SequentialSingle.Greys;this.initialize(e)}ColorScale.prototype.initialize=function(e){wijmo_1.copy(this,e)};ColorScale.prototype.convert=function(e,t){void 0===t&&(t=!0);if(!Number.isFinite(e)||0==this._clrs.length)return this.colorUnknown;this._range&&t&&(e=this._range.norm(e));this.scale&&(e=this.scale(e));return 2==this._clrs.length?this._interpolate(this._clrs[0],this._clrs[1],e):this._clrSpline.interpolate(e).toString()};Object.defineProperty(ColorScale.prototype,"scale",{get:function(){return this._scale},set:function(e){this._scale!=e&&(this._scale=e)},enumerable:!0,configurable:!0});Object.defineProperty(ColorScale.prototype,"binding",{get:function(){return this._binding},set:function(e){this._binding!=e&&(this._binding=e)},enumerable:!0,configurable:!0});Object.defineProperty(ColorScale.prototype,"colorUnknown",{get:function(){return this._clrUnknown},set:function(e){this._clrUnknown!=e&&(this._clrUnknown=wijmo_1.asString(e))},enumerable:!0,configurable:!0});Object.defineProperty(ColorScale.prototype,"colors",{get:function(){return this._colors},set:function(e){if(this._colors!=e){this._clrs=[];this._colors=e;var t=this._colors;if(t){for(var i=0;i<t.length;i++)this._clrs.push(new wijmo_1.Color(t[i]));this._clrSpline=new _ColorSpline(this._clrs)}}},enumerable:!0,configurable:!0});Object.defineProperty(ColorScale.prototype,"format",{get:function(){return this._fmt},set:function(e){this._fmt!=e&&(this._fmt=wijmo_1.asString(e,!0))},enumerable:!0,configurable:!0});ColorScale.prototype.domain=function(e){wijmo_1.isFunction(this.binding)?this._range=_Utils.getRange(e,this.binding):this._range=_Utils.getRange(e,new wijmo_1.Binding(this.binding))};ColorScale.prototype.getValue=function(e){return wijmo_1.isFunction(this.binding)?this.binding(e):new wijmo_1.Binding(this.binding).getValue(e)};ColorScale.prototype._interpolate=function(e,t,i){var o=1-(i=wijmo_1.clamp(i,0,1));return wijmo_1.Color.fromRgba(e.r*o+t.r*i,e.g*o+t.g*i,e.b*o+t.b*i,e.a*o+t.a*i).toString()};ColorScale.prototype._drawLegend=function(e,t,i){_ColorScaleLegend.draw(e,this,t,i)};ColorScale.prototype._measureLegend=function(e,t,i,o){return _ColorScaleLegend.measure(e,this,t,i,o)};return ColorScale}();exports.ColorScale=ColorScale;var _ColorScaleLegend=function(){function _ColorScaleLegend(){}_ColorScaleLegend.measure=function(e,t,i,o,r){var n=i?new wijmo_1.Size(_ColorScaleLegend.itemSize,r-120):new wijmo_1.Size(o-80,_ColorScaleLegend.itemSize),a=_ColorScaleLegend._getValues(t),s=a.length;if(a.length){for(var l=new wijmo_1.Size,h=0;h<s;h++){var c=_ColorScaleLegend._getLabel(t,a[h]),u=e.measureString(c);l.width=Math.max(l.width,u.width);l.height=Math.max(l.height,u.height)}l.width&&l.height&&(i?n.width+=l.width+_ColorScaleLegend.marginText:n.height+=l.height+_ColorScaleLegend.marginText)}return n};_ColorScaleLegend.draw=function(e,t,i,o){e.stroke="transparent";var r=_ColorScaleLegend._getValues(t);if(o){for(var n=(i=i.inflate(0,-10)).height/100,a=0;a<100;a++){e.fill=t.convert((a+.5)/100,!1);e.drawRect(i.left,i.top+a*n,_ColorScaleLegend.itemSize,n+1)}if(r.length){e.stroke="black";for(a=0;a<r.length;a++){var s=r[a],l=t._range.norm(s),h=i.top+l*i.height,c=_ColorScaleLegend._getLabel(t,s),u=e.measureString(c);e.drawString(c,new wijmo_1.Point(i.left+_ColorScaleLegend.itemSize+_ColorScaleLegend.marginText,h+.5*u.height));e.drawLine(i.left,h,i.left+_ColorScaleLegend.itemSize,h)}}}else{var _=(i=i.inflate(-20,0)).width/100;n=0;if(r.length)for(a=0;a<r.length;a++){s=r[a],l=t._range.norm(s);t.scale&&(l=t.scale(l));var p=i.left+l*i.width;c=_ColorScaleLegend._getLabel(t,s),u=e.measureString(c);n=Math.max(n,u.height);e.drawString(_ColorScaleLegend._getLabel(t,s),new wijmo_1.Point(p-.5*u.width,i.top+u.height))}n&&(n+=_ColorScaleLegend.marginText);for(a=0;a<100;a++){e.fill=t.convert((a+.5)/100,!1);e.drawRect(i.left+a*_,i.top+n,_+1,_ColorScaleLegend.itemSize)}if(r.length){e.stroke="black";for(a=0;a<r.length;a++){s=r[a],l=t._range.norm(s);t.scale&&(l=t.scale(l));p=i.left+l*i.width;e.drawLine(p,i.bottom-_ColorScaleLegend.itemSize,p,i.bottom)}}}};_ColorScaleLegend._getValues=function(e){var t=[],i=e._range;if(i)for(var o=_ColorScaleLegend._calcDelta(i.range),r=Math.round(i.min/o)*o;r<=i.max;r+=o)r<i.min||t.push(r);return t};_ColorScaleLegend._getLabel=function(e,t){return e.format?wijmo_1.Globalize.formatNumber(t,e.format):t.toString()};_ColorScaleLegend._calcDelta=function(e){var t=_ColorScaleLegend._nicePrecision(e),i=e/10,o=_ColorScaleLegend._niceNumber(2*i,-t,!0);o<i&&(o=_ColorScaleLegend._niceNumber(i,1-t,!1));o<i&&(o=_ColorScaleLegend._niceTickNumber(i));return o};_ColorScaleLegend._nicePrecision=function(e){if(!wijmo_1.isNumber(e)||e<=0)return 0;var t,i=Math.log(e)/Math.LN10;t=i>=0?Math.floor(i):Math.ceil(i);var o=e/Math.pow(10,t);if(o<3){t=1-t;(o=e/Math.pow(10,t))<3&&(t+=1)}return t};_ColorScaleLegend._niceTickNumber=function(e){if(0==e)return e;e<0&&(e=-e);var t=Math.log(e)/Math.LN10,i=Math.floor(t),o=e/Math.pow(10,i),r=10;o<=1?r=1:o<=2?r=2:o<=5&&(r=5);return r*Math.pow(10,i)};_ColorScaleLegend._niceNumber=function(e,t,i){if(0==e)return e;e<0&&(e=-e);var o=e/Math.pow(10,t),r=10;i?o<1.5?r=1:o<3?r=2:o<4.5?r=4:o<7&&(r=5):o<=1?r=1:o<=2?r=2:o<=5&&(r=5);return r*Math.pow(10,t)};_ColorScaleLegend.itemSize=20;_ColorScaleLegend.marginText=4;return _ColorScaleLegend}(),_ColorSpline=function(){function _ColorSpline(e){for(var t=e.length,i=[],o=[],r=[],n=[],a=0;a<t;a++){var s=e[a],l=a/(t-1);i.push(l);o.push(s.r);r.push(s.g);n.push(s.b)}this._rsp=new _Spline(i,o);this._gsp=new _Spline(i,r);this._bsp=new _Spline(i,n)}_ColorSpline.prototype.interpolate=function(e){e=wijmo_1.clamp(e,0,1);var t=this._rsp.calculate(e),i=this._gsp.calculate(e),o=this._bsp.calculate(e);return wijmo_1.Color.fromRgba(t,i,o)};return _ColorSpline}(),_Spline=function(){function _Spline(e,t,i){this._a=[];this._b=[];this._c=[];this._d=[];this.m=[[-.5,1.5,-1.5,.5],[1,-2.5,2,-.5],[-.5,0,.5,0],[0,1,0,0]];this._len=i||Math.min(e.length,t.length);var o=this._len;if(o>3)for(var r=0;r<o-1;r++){var n=0==r?new wijmo_1.Point(e[r],t[r]):new wijmo_1.Point(e[r-1],t[r-1]),a=new wijmo_1.Point(e[r],t[r]),s=new wijmo_1.Point(e[r+1],t[r+1]),l=r==o-2?new wijmo_1.Point(e[r+1],t[r+1]):new wijmo_1.Point(e[r+2],t[r+2]),h=new wijmo_1.Point,c=new wijmo_1.Point,u=new wijmo_1.Point,_=new wijmo_1.Point;h.x=n.x*this.m[0][0]+a.x*this.m[0][1]+s.x*this.m[0][2]+l.x*this.m[0][3];c.x=n.x*this.m[1][0]+a.x*this.m[1][1]+s.x*this.m[1][2]+l.x*this.m[1][3];u.x=n.x*this.m[2][0]+a.x*this.m[2][1]+s.x*this.m[2][2]+l.x*this.m[2][3];_.x=n.x*this.m[3][0]+a.x*this.m[3][1]+s.x*this.m[3][2]+l.x*this.m[3][3];h.y=n.y*this.m[0][0]+a.y*this.m[0][1]+s.y*this.m[0][2]+l.y*this.m[0][3];c.y=n.y*this.m[1][0]+a.y*this.m[1][1]+s.y*this.m[1][2]+l.y*this.m[1][3];u.y=n.y*this.m[2][0]+a.y*this.m[2][1]+s.y*this.m[2][2]+l.y*this.m[2][3];_.y=n.y*this.m[3][0]+a.y*this.m[3][1]+s.y*this.m[3][2]+l.y*this.m[3][3];this._a.push(h);this._b.push(c);this._c.push(u);this._d.push(_)}}_Spline.prototype.calculate=function(e){e*=this._len-1;var t=Math.floor(e);t<0&&(t=0);t>this._len-2&&(t=this._len-2);var i=e-t;this._a[t].x,this._b[t].x,this._c[t].x,this._d[t].x;return((this._a[t].y*i+this._b[t].y)*i+this._c[t].y)*i+this._d[t].y};return _Spline}();exports.FlexMapClsNames={geogrid:"wj-flexmap-geogrid",hostElement:"wj-flexmap"};var MapHitTestInfo=function(){function MapHitTestInfo(){}Object.defineProperty(MapHitTestInfo.prototype,"point",{get:function(){return this._pt},enumerable:!0,configurable:!0});Object.defineProperty(MapHitTestInfo.prototype,"item",{get:function(){return this._item},enumerable:!0,configurable:!0});Object.defineProperty(MapHitTestInfo.prototype,"geoPoint",{get:function(){return this._map?this._map.convertBack(this.point):null},enumerable:!0,configurable:!0});Object.defineProperty(MapHitTestInfo.prototype,"chartElement",{get:function(){return this._chartElement},enumerable:!0,configurable:!0});Object.defineProperty(MapHitTestInfo.prototype,"map",{get:function(){return this._map},enumerable:!0,configurable:!0});return MapHitTestInfo}();exports.MapHitTestInfo=MapHitTestInfo;var _DrawOptions=function _DrawOptions(){};exports._DrawOptions=_DrawOptions;var _SvgMapRenderEngine=function(e){__extends(_SvgMapRenderEngine,e);function _SvgMapRenderEngine(t){var i=e.call(this,t)||this;i.scale=1;i.element.setAttribute("xmlns:wj-map","http://developer.mescius.com/wijmo");return i}_SvgMapRenderEngine.prototype.drawPolygon2=function(e,t){var i=e?e.className:null,o=e?e.clipPath:null,r=e?e.style:null,n=this.precision;if(t&&t.length>0){var a=document.createElementNS("http://www.w3.org/2000/svg","path");this._applyColor(a,"stroke",this.stroke);var s=this.strokeWidth;if(null!==s){wijmo_1.isIE()&&(s*=this.scale);this._setAttribute(a,"stroke-width",s.toString())}this._applyColor(a,"fill",this.fill);for(var l="",h=0;h<t.length;h++){var c=t[h],u=c.length/2;if(u>1){l+=" M "+c[0].toFixed(n)+" "+c[1].toFixed(n);for(var _=1;_<u;_++)l+=" L "+c[2*_].toFixed(n)+" "+c[2*_+1].toFixed(n);l+=" Z"}}this._setAttribute(a,"d",l);i&&a.setAttribute("class",i);o&&this._setClipPath(a,o);this._applyStyle(a,r);this._appendChild(a);a.setAttribute("vector-effect","non-scaling-stroke");return a}return null};return _SvgMapRenderEngine}(wijmo_chart_1.SvgRenderEngine);exports._SvgMapRenderEngine=_SvgMapRenderEngine;var FlexMap=function(e){__extends(FlexMap,e);function FlexMap(t,i){var o=e.call(this,t,null,!0)||this;o._layers=new wijmo_1.ObservableArray;o._center=new wijmo_1.Point;o._zoom=1;o._zoomStep=.5;o._offset=new wijmo_1.Point;o._proj=new MercatorProjection;o._touchStartH=o._touchStart.bind(o);o._touchMoveH=o._touchMove.bind(o);o._touchEndH=o._touchEnd.bind(o);o._touchCancelH=o._touchCancel.bind(o);o._mouseWheelH=o._mouseWheel.bind(o);o._handleTouch=!1;var r=o.hostElement;o.applyTemplate(wijmo_1.ControlClsNames.hostElement+" "+wijmo_chart_1.FlexChartClsNames.hostElement+" "+exports.FlexMapClsNames.hostElement,null,null);o._currentRenderEngine=new _SvgMapRenderEngine(r);var n=wijmo_1.createElement("<div></div>",null,{position:"relative"});o._overlay=wijmo_1.createElement("<div></div>",n,{position:"absolute",left:"90%",bottom:"90%"});wijmo_1.createElement('<button class="'+wijmo_1.InputFormElementsClsNames.btn+'"><span class='+wijmo_1.GlyphClsNames.plus+"></span></button>",o._overlay).addEventListener("click",(function(){o.zoom+=o._zoomStep}));wijmo_1.createElement('<button class="'+wijmo_1.InputFormElementsClsNames.btn+'"><span class='+wijmo_1.GlyphClsNames.minus+"></span></button>",o._overlay).addEventListener("click",(function(){o.zoom-=o._zoomStep}));wijmo_1.addClass(r,wijmo_chart_1.FlexChartClsNames.touchDisabled);r.appendChild(n);o._legend=new wijmo_chart_1.Legend(o);o._legend.position=wijmo_chart_1.Position.None;o._tooltip=new wijmo_chart_1.ChartTooltip;o.tooltip.content=null;o.layers.collectionChanged.addHandler((function(){o.layers.forEach((function(e){e.map=o}));o.invalidate()}));o.addEventListener(r,"click",(function(e){if(!o.isDisabled){var t=o._tooltip;t.content&&o.isTouching&&o._updateTooltip(t,e)}}));o.addEventListener(r,"mousedown",(function(e){if(!o.isDisabled&&0==e.button){o.focus();o._dragStart=new wijmo_1.Point(e.pageX,e.pageY);o._hideToolTip()}}));o.addEventListener(r,"mousemove",(function(e){if(!o.isDisabled)if(o._dragStart){var t=o.convertBack(o._toControl(o._dragStart)),i=o.convertBack(o._toControl(e));o.center=new wijmo_1.Point(o.center.x-i.x+t.x,o.center.y-i.y+t.y);o._dragStart=new wijmo_1.Point(e.pageX,e.pageY)}else{var r=o._tooltip;r.content&&!o.isTouching&&o._updateTooltip(r,e)}}));o.addEventListener(r,"mouseup",(function(e){o._dragStart=null}));o.addEventListener(r,"mouseleave",(function(e){if(e.target==o.hostElement){o._dragStart=null;o._hideToolTip()}}));o.addEventListener(r,"touchstart",o._touchStartH);o.addEventListener(r,"touchmove",o._touchMoveH);o.addEventListener(r,"touchcancel",o._touchCancelH);o.addEventListener(r,"touchend",o._touchEndH);o.addEventListener(r,"wheel",o._mouseWheelH);o.initialize(i);o.refresh();return o}Object.defineProperty(FlexMap.prototype,"layers",{get:function(){return this._layers},enumerable:!0,configurable:!0});Object.defineProperty(FlexMap.prototype,"center",{get:function(){return this._center},set:function(e){if(this._center!=e){this._center=e;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexMap.prototype,"zoom",{get:function(){return this._zoom},set:function(e){e<1&&(e=1);if(this._zoom!=e){this._zoom=e;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexMap.prototype,"tooltip",{get:function(){return this._tooltip},enumerable:!0,configurable:!0});FlexMap.prototype.convert=function(e){return this._convertMercator(e)};FlexMap.prototype.convertBack=function(e){return this._convertMercatorBack(e)};FlexMap.prototype.hitTest=function(e,t){var i=this._toControl(e,t),o=new MapHitTestInfo;if(wijmo_chart_1.FlexChartBase._contains(this._rectHeader,i))o._chartElement=wijmo_chart_1.ChartElement.Header;else if(wijmo_chart_1.FlexChartBase._contains(this._rectFooter,i))o._chartElement=wijmo_chart_1.ChartElement.Footer;else if(wijmo_chart_1.FlexChartBase._contains(this._rectLegend,i))o._chartElement=wijmo_chart_1.ChartElement.Legend;else if(wijmo_chart_1.FlexChartBase._contains(this._rectChart,i)){var r=void 0;if(e instanceof MouseEvent)r=new wijmo_1.Point(e.x,e.y);else{var n=this._getHostOffset();r=new wijmo_1.Point(n.x+i.x,n.y+i.y)}o._item=this._getItem(r)}return o};FlexMap.prototype.zoomTo=function(e){var t=this._proj.maxY,i=Math.max(e.top,-t),o=Math.min(e.bottom,t),r=this.convert(new wijmo_1.Point(e.left,i)),n=this.convert(new wijmo_1.Point(e.right,o));if(wijmo_chart_1._DataInfo.isValid(r.x,r.y,n.x,n.y)){var a=new wijmo_1.Point(.5*(r.x+n.x),.5*(r.y+n.y));this.center=this.convertBack(a);r=this.convert(new wijmo_1.Point(e.left,i));n=this.convert(new wijmo_1.Point(e.right,o));var s=this._mapRect.width/Math.abs(n.x-r.x),l=this._mapRect.height/Math.abs(n.y-r.y);this.zoom*=this.zoom+Math.log(Math.min(s,l))*Math.LOG2E}};FlexMap.prototype.invalidate=function(t){t&&this.layers.forEach((function(e){e._clearCache&&e._clearCache()}));e.prototype.invalidate.call(this,t)};FlexMap.prototype._renderChart=function(e,t,i){this.onRendering(new wijmo_chart_1.RenderEventArgs(e));t=this._getMapRect(t);var o="mapRect"+(1e6*Math.random()).toFixed();e.addClipRect(t,o);var r=e.startGroup(null,o,!0);this._updateOffset(t);var n=this._size,a=Math.pow(2,this.zoom);e.precision=6;for(var s=0;s<this.layers.length;s++){var l=1/(a*n);e.scale=l;var h=e.element.createSVGTransform(),c=e.element.createSVGMatrix();c.a=c.d=a*n;c.b=c.c=0;c.e=this._offset.x;c.f=this._offset.y;h.setMatrix(c);this.layers[s].render(e,h,r)}e.endGroup();var u=this._rectChart.bottom-this._mapRect.bottom;this._overlay.style.left=(this._mapRect.right-80).toString()+"px";this._overlay.style.bottom=u.toString()+"px";this.onRendered(new wijmo_chart_1.RenderEventArgs(e))};FlexMap.prototype._getDesiredLegendSize=function(e,t,i,o){for(var r=new wijmo_1.Size,n=0;n<this.layers.length;n++){var a=this.layers[n];if(a.colorScale){a.getAllFeatures?a.colorScale.domain(a.getAllFeatures()):a.colorScale.domain(a.itemsSource);var s=a.colorScale._measureLegend(e,t,i,o);s&&s.width&&s.height&&(r=s)}}return r};FlexMap.prototype._renderLegend=function(e,t,i,o,r,n){var a=new wijmo_1.Rect(t.x,t.y,r,n);this.layers.forEach((function(t){t.colorScale&&t.colorScale._drawLegend(e,a,o)}))};FlexMap.prototype._copy=function(e,t){if("layers"==e){this.layers.clear();for(var i=wijmo_1.asArray(t),o=0;o<i.length;o++)this.layers.push(i[o]);return!0}return!1};FlexMap.prototype._getMapRect=function(e){var t=e.width,i=e.height,o=this._parseMargin(this.plotMargin);isNaN(o.left)&&(o.left=8);isNaN(o.right)&&(o.right=8);isNaN(o.top)&&(o.top=8);isNaN(o.bottom)&&(o.bottom=8);e.top+=o.top;i=e.height-(o.top+o.bottom);e.height=i>0?i:24;e.left+=o.left;t=e.width-(o.left+o.right);e.width=t>0?t:24;return e};FlexMap.prototype._updateOffset=function(e){this._mapRect=e.clone();this._size=.5*Math.min(e.width,e.height);var t=this._size;this._offset.x=this._mapRect.left;this._offset.y=this._mapRect.top;e.width>2*t?this._offset.x=.5*e.width-t+this._mapRect.left:e.height>2*this._size&&(this._offset.y=.5*e.height-t+this._mapRect.top);var i=Math.pow(2,this.zoom),o=this._proj.convert(this.center);o.x=o.x*i*t-t;o.y=o.y*i*t-t;this._offset.x-=o.x;this._offset.y-=o.y};FlexMap.prototype._updateTooltip=function(e,t){var i=e.content;if(i){var o=this._getItem(new wijmo_1.Point(t.clientX,t.clientY));if(o){wijmo_1.isFunction(i)&&(i=i(o));i=wijmo_1.format(i,o)}else i=null}i&&i.trim().length>0?this._showToolTip(i,new wijmo_1.Rect(t.clientX,t.clientY,5,5)):this._hideToolTip()};FlexMap.prototype._getItemById=function(e){for(var t=0;t<this.layers.length;t++){var i=this.layers[t];if(i._getFeatureById){if(o=i._getFeatureById(e))return o.properties}else if(i.getItemById){var o;if(o=i.getItemById(e))return o}}return null};FlexMap.prototype._convertMercator=function(e){var t=Math.pow(2,this.zoom)*this._size,i=this._proj.convert(e);i.x*=t;i.y*=t;i.x+=this._offset.x;i.y+=this._offset.y;return i};FlexMap.prototype._convertMercatorBack=function(e){var t=Math.pow(2,this.zoom)*this._size,i=this._proj,o=e.clone();o.x-=this._offset.x;o.y-=this._offset.y;o.x/=t;o.y/=t;return o=i.convertBack(o)};FlexMap.prototype._touchStart=function(e){if(!this.isDisabled){switch(e.touches.length){case 1:this._handleTouch=!0;this._dragStart=new wijmo_1.Point(e.touches[0].pageX,e.touches[0].pageY);break;case 2:this._dragStart=null;this._handleTouch=!0;this._touch1=new wijmo_1.Point(e.touches[0].pageX,e.touches[0].pageY);this._touch2=new wijmo_1.Point(e.touches[1].pageX,e.touches[1].pageY)}this._handleTouch&&this._hideToolTip()}};FlexMap.prototype._touchMove=function(e){if(!this.isDisabled){this._handleTouch&&e.preventDefault();if(this._dragStart){var t=this.convertBack(this._toControl(this._dragStart)),i=this.convertBack(this._toControl(e.touches[0].pageX,e.touches[0].pageY));this.center=new wijmo_1.Point(this.center.x-i.x+t.x,this.center.y-i.y+t.y);this._dragStart=new wijmo_1.Point(e.touches[0].pageX,e.touches[0].pageY)}else if(this._touch1&&this._touch2){var o=new wijmo_1.Point(e.touches[0].pageX,e.touches[0].pageY),r=new wijmo_1.Point(e.touches[1].pageX,e.touches[1].pageY),n=this._dist(this._touch1,this._touch2),a=this._dist(o,r);if(Math.abs(a-n)>1){this.zoom+=Math.log2(a/n);this._touch1=o;this._touch2=r}}}};FlexMap.prototype._dist=function(e,t){var i=e.x-t.x,o=e.y-t.y;return Math.sqrt(i*i+o*o)};FlexMap.prototype._touchEnd=function(e){this._handleTouch=!1;this._dragStart=this._touch1=this._touch2=null};FlexMap.prototype._touchCancel=function(e){this._handleTouch=!1;this._dragStart=this._touch1=this._touch2=null};FlexMap.prototype._mouseWheel=function(e){if(!this.isDisabled){e.preventDefault();this._hideToolTip();var t=this.pageToControl(e.pageX,e.pageY),i=this.convertBack(t),o=-e.deltaY;o=o>0?.1:-.1;this._zoom+=o;this._zoom<1&&(this._zoom=1);this._updateOffset(this._mapRect);var r=this.convertBack(t);this.center=new wijmo_1.Point(this.center.x-r.x+i.x,this.center.y-r.y+i.y);this.refresh()}};FlexMap.prototype._getItem=function(e){var t=null;if(wijmo_1.isFirefox()||wijmo_1.isIE()){var i=e.clone();i.x+=pageXOffset;i.y+=pageYOffset;i=this._toControl(i);var o=this.layers.length;i=this.convertBack(i);for(var r=o-1;r>=0;r--){var n=this.layers[r];if(n._hitTest)t=n._hitTest(i.x,i.y);else if(n.getItemById){if(a=document.elementFromPoint(e.x,e.y)){null!=(s=a.getAttribute("wj-map:id"))&&(t=n.getItemById(s))}}if(t)break}}else{var a;if(a=document.elementFromPoint(e.x,e.y)){var s;null!=(s=a.getAttribute("wj-map:id"))&&(t=this._getItemById(s))}}return t};return FlexMap}(wijmo_chart_1.FlexChartBase);exports.FlexMap=FlexMap;var MercatorProjection=function(){function MercatorProjection(){this.maxY=(2*Math.atan(Math.exp(Math.PI))-.5*Math.PI)/M.toRadians}MercatorProjection.prototype.convert=function(e){var t=this._convertX(e.x),i=Math.abs(e.y)>this.maxY?(e.y>0?1:-1)*this.maxY:e.y;i=this._convertY(i);return new wijmo_1.Point(t,i)};MercatorProjection.prototype.convertBack=function(e){var t=this._convertBackX(e.x),i=this._convertBackY(e.y);return new wijmo_1.Point(t,i)};MercatorProjection.prototype._convertX=function(e){return(e*M.toRadians+Math.PI)/M.pi2};MercatorProjection.prototype._convertBackX=function(e){return(e*M.pi2-Math.PI)/M.toRadians};MercatorProjection.prototype._convertY=function(e){return(Math.PI+Math.log(Math.tan(M.pi4-.5*e*M.toRadians)))/M.pi2};MercatorProjection.prototype._convertBackY=function(e){return-(2*Math.atan(Math.exp(e*M.pi2-Math.PI))-.5*Math.PI)/M.toRadians};return MercatorProjection}(),M=function(){function M(){}M.toRadians=Math.PI/180;M.pi4=.25*Math.PI;M.pi2=2*Math.PI;return M}();exports.empty={};var MapLayerBase=function(){function MapLayerBase(){this.itemsSourceChanged=new wijmo_1.Event}Object.defineProperty(MapLayerBase.prototype,"map",{get:function(){return this._map},set:function(e){this._map=e},enumerable:!0,configurable:!0});Object.defineProperty(MapLayerBase.prototype,"style",{get:function(){return this._style},set:function(e){if(this._style!=e){this._style=e;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(MapLayerBase.prototype,"itemsSource",{get:function(){return this._items},set:function(e){this._setItems(e)},enumerable:!0,configurable:!0});MapLayerBase.prototype.onItemsSourceChanged=function(e){this.itemsSourceChanged.raise(this,e)};Object.defineProperty(MapLayerBase.prototype,"url",{get:function(){return this._url},set:function(e){if(this._url!=e){this._url=wijmo_1.asString(e,!0);this._loadUrl()}},enumerable:!0,configurable:!0});Object.defineProperty(MapLayerBase.prototype,"colorScale",{get:function(){return this._colorScale},set:function(e){if(this._colorScale!=e){this._colorScale=e;this._clearCache();this.invalidate()}},enumerable:!0,configurable:!0});MapLayerBase.prototype.render=function(e,t,i){};MapLayerBase.prototype.invalidate=function(){this.map&&this.map.invalidate()};MapLayerBase.prototype.initialize=function(e){wijmo_1.copy(this,e)};MapLayerBase.prototype._applyStyle=function(e){if(this.style){e.fill=this.style.fill;e.stroke=this.style.stroke;e.strokeWidth=this.style.strokeWidth}};MapLayerBase.prototype._clearCache=function(){};MapLayerBase.prototype._loadUrl=function(){var e=this;this.url?wijmo_1.httpRequest(this.url,{success:function(t){e.itemsSource=JSON.parse(t.responseText)}}):this.itemsSource=null};MapLayerBase.prototype._setItems=function(e){if(this._items!=e){this._clearCache();this._items=e;this.onItemsSourceChanged(new wijmo_1.EventArgs);this.invalidate()}};return MapLayerBase}();exports.MapLayerBase=MapLayerBase;var ScatterMapLayer=function(e){__extends(ScatterMapLayer,e);function ScatterMapLayer(t){var i=e.call(this)||this;i._symbolSize=5;i._symbolMinSize=5;i._symbolMaxSize=50;i._index=0;i._prefix="_";i._elMap={};i._hasBindings=!1;i.style={stroke:"grey",strokeWidth:.5,fill:"transparent"};i.initialize(t);return i}Object.defineProperty(ScatterMapLayer.prototype,"symbolSize",{get:function(){return this._symbolSize},set:function(e){if(this._symbolSize!=e){this._symbolSize=wijmo_1.asNumber(e);this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ScatterMapLayer.prototype,"symbolMinSize",{get:function(){return this._symbolMinSize},set:function(e){if(this._symbolMinSize!=e){this._symbolMinSize=wijmo_1.asNumber(e);this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ScatterMapLayer.prototype,"symbolMaxSize",{get:function(){return this._symbolMaxSize},set:function(e){if(this._symbolMaxSize!=e){this._symbolMaxSize=wijmo_1.asNumber(e);this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ScatterMapLayer.prototype,"itemsSource",{get:function(){return this._items},set:function(e){this._setItems(e)},enumerable:!0,configurable:!0});Object.defineProperty(ScatterMapLayer.prototype,"binding",{get:function(){return this._binding},set:function(e){if(this._binding!=e){this._binding=wijmo_1.asString(e,!0);this.parseBindings();this.invalidate()}},enumerable:!0,configurable:!0});ScatterMapLayer.prototype.render=function(e,t,i){this._elMap={};this._index=0;this._prefix=this.map.layers.indexOf(this).toString()+"_";var o=e.startGroup();this.map,this.map._mapRect;this._applyStyle(e);var r=this.itemsSource,n=r?r.length:0,a=this._xBnd,s=this._yBnd,l=this._cBnd,h=this._szBnd;h&&(this._szRange=_Utils.getRange(r,h));var c=this.colorScale;c&&c.domain(r);if(a&&s||l)for(var u=0;u<n;u++){var _=r[u];if(_){var p=this.getItemPos(_);if(p){c&&(e.fill=c.convert(c.getValue(_)));this.renderItem(e,_,p.x,p.y)}}this._index++}e.endGroup();return o};ScatterMapLayer.prototype.renderItem=function(e,t,i,o){if(wijmo_1.isNumber(i)&&wijmo_1.isNumber(o)){var r=this.map.convert(new wijmo_1.Point(i,o));if(Number.isFinite(r.x)&&Number.isFinite(r.y)){var n=this.symbolSize;if(this._szRange){var a=this._szBnd.getValue(t);a=Math.sqrt((a-this._szRange.min)/this._szRange.range);n=this.symbolMinSize+(this.symbolMaxSize-this.symbolMinSize)*a}if(Number.isFinite(n)){var s=e.drawEllipse(r.x,r.y,.5*n,.5*n);s.setAttribute("vector-effect","non-scaling-stroke");var l=this.createId();this.setId(s,l);this._elMap[l]=s}}}};ScatterMapLayer.prototype.getItemById=function(e){var t=this.itemsSource;if(t){if(this._elMap[e]){var i=parseInt(e.split("_")[1]);if(wijmo_1.isNumber(i)&&i<t.length)return t[i]}}return null};ScatterMapLayer.prototype.getGeoBBox=function(){var e=this.itemsSource,t=e?e.length:0;if(this._hasBindings){for(var i=NaN,o=NaN,r=NaN,n=NaN,a=0;a<t;a++){var s=e[a];if(s){var l=this.getItemPos(s);if(l){if(Number.isFinite(l.x)){(isNaN(i)||l.x<i)&&(i=l.x);(isNaN(o)||l.x>o)&&(o=l.x)}if(Number.isFinite(l.y)){(isNaN(r)||l.y<r)&&(r=l.y);(isNaN(n)||l.y>n)&&(n=l.y)}}}}if(!isNaN(i)&&!isNaN(r))return new wijmo_1.Rect(i,r,o-i,n-r)}return null};ScatterMapLayer.prototype.getItemPos=function(e){var t=this._xBnd,i=this._yBnd,o=this._cBnd;if(o){var r=o.getValue(e);if(r){var n=r.split(",");if(n&&n.length>=2){var a=parseFloat(n[0]),s=parseFloat(n[1]);if(Number.isFinite(a)&&Number.isFinite(s))return new wijmo_1.Point(a,s)}}}else{a=t.getValue(e),s=i.getValue(e);wijmo_1.isString(a)&&(a=parseFloat(a));wijmo_1.isString(s)&&(s=parseFloat(s));if(isFinite(a)&&isFinite(s))return new wijmo_1.Point(a,s)}return null};ScatterMapLayer.prototype.setId=function(e,t){e&&t&&e.setAttribute("wj-map:id",t)};ScatterMapLayer.prototype.createId=function(){return this._prefix+this._index.toString()};ScatterMapLayer.prototype.parseBindings=function(){var e=this.binding;this._xBnd=this._yBnd=this._szBnd=null;this._hasBindings=!1;if(e){var t=e.split(",");if(1==t.length){this._cBnd=new wijmo_1.Binding(t[0].trim());this._hasBindings=!0}else if(t.length>=2){this._xBnd=new wijmo_1.Binding(t[0].trim());this._yBnd=new wijmo_1.Binding(t[1].trim());this._hasBindings=!0;t.length>=3&&(this._szBnd=new wijmo_1.Binding(t[2].trim()))}}};return ScatterMapLayer}(MapLayerBase);exports.ScatterMapLayer=ScatterMapLayer;var GeoGridLayer=function(e){__extends(GeoGridLayer,e);function GeoGridLayer(){var t=e.call(this)||this;t.style={stroke:"lightgrey",strokeWidth:.5,fill:"lightgrey"};return t}GeoGridLayer.prototype.render=function(e,t,i){var o=e.startGroup(exports.FlexMapClsNames.geogrid),r=this.map,n=this.map._mapRect,a=wijmo_chart_1.FlexChartClsNames.label;this._applyStyle(e);for(var s=-180;s<=180;s+=30){var l=r.convert(new wijmo_1.Point(s,-85)),h=r.convert(new wijmo_1.Point(s,85));if(this.isValid(l)&&this.isValid(h)){var c=s.toString(),u=e.measureString(c,a);e.drawString(c,new wijmo_1.Point(l.x-.5*u.width,n.top+u.height),a);e.drawLine(l.x,l.y,h.x,h.y)}}for(var _=n.left,p=-80;p<=80;p+=20){l=r.convert(new wijmo_1.Point(-180,p)),h=r.convert(new wijmo_1.Point(180,p));if(this.isValid(l)&&this.isValid(h)){c=_.toString(),u=e.measureString(c,a);e.drawString(p.toString(),new wijmo_1.Point(_,l.y+.5*u.height),a);e.drawLine(l.x,l.y,h.x,h.y)}}e.endGroup();return o};GeoGridLayer.prototype.isValid=function(e){return Number.isFinite(e.x)&&Number.isFinite(e.y)};return GeoGridLayer}(MapLayerBase);exports.GeoGridLayer=GeoGridLayer;var _GeoJsonRender=function(){function _GeoJsonRender(){this._map={};this._index=0;this.prefix="_";this.hasPoints=!1;this.symbolSize=5}_GeoJsonRender.prototype.convert=function(e){this.converter&&(e=this.converter.convert(e));return e};_GeoJsonRender.prototype.render=function(e,t,i){void 0===i&&(i=null);this._map={};this._index=0;this.hasPoints=!1;if(t)switch(t.type){case"Point":case"MultiPoint":case"LineString":case"MultiLineString":case"Polygon":case"MultiPolygon":case"GeometryCollection":this.renderGeometry(e,t);break;case"Feature":this.renderFeature(e,t,i);break;case"FeatureCollection":if(t.features)for(var o=0;o<t.features.length;o++)this.renderFeature(e,t.features[o],i)}};_GeoJsonRender.prototype.renderFeature=function(e,t,i){void 0===i&&(i=null);if(t&&t.geometry){i&&i(e,t);var o=this.createId();this.renderGeometry(e,t.geometry,o);this._map[o]=t;this._index++}};_GeoJsonRender.prototype.renderGeometry=function(e,t,i){void 0===i&&(i=null);if(t)switch(t.type){case"Point":this.renderPoint(e,t,i);this.hasPoints=!0;break;case"MultiPoint":this.renderMultiPoint(e,t,i);this.hasPoints=!0;break;case"LineString":this.renderLineString(e,t,i);break;case"MultiLineString":this.renderMultiLineString(e,t,i);break;case"Polygon":this.renderPolygon(e,t,i);break;case"MultiPolygon":this.renderMultiPolygon(e,t,i);break;case"GeometryCollection":if(t.geometries)for(var o=0;o<t.geometries.length;o++)this.renderGeometry(e,t.geometries[o],i)}};_GeoJsonRender.prototype.renderPoint=function(e,t,i){void 0===i&&(i=null);if(t&&t.coordinates&&t.coordinates.length>=2){var o=new wijmo_1.Point(t.coordinates[0],t.coordinates[1]);o=this.convert(o);var r=e.scale*this.symbolSize,n=e.drawEllipse(o.x,o.y,r,r);n.setAttribute("vector-effect","non-scaling-stroke");this.setAttribute(n,i)}};_GeoJsonRender.prototype.renderMultiPoint=function(e,t,i){void 0===i&&(i=null);if(t&&t.coordinates)for(var o=t.coordinates,r=t.coordinates.length,n=0;n<r;n++){var a=new wijmo_1.Point(o[n][0],o[n][1]);a=this.convert(a);var s=e.scale*this.symbolSize,l=e.drawEllipse(a.x,a.y,s,s);this.setAttribute(l,i)}};_GeoJsonRender.prototype.renderLineString=function(e,t,i){void 0===i&&(i=null);if(t&&t.coordinates){for(var o=t.coordinates,r=t.coordinates.length,n=[],a=[],s=0;s<r;s++){var l=new wijmo_1.Point(o[s][0],o[s][1]);l=this.convert(l);n.push(l.x);a.push(l.y)}var h=e.drawLines(n,a);this.setAttribute(h,i)}};_GeoJsonRender.prototype.renderMultiLineString=function(e,t,i){void 0===i&&(i=null);if(t&&t.coordinates)for(var o=t.coordinates,r=o.length,n=0;n<r;n++){for(var a=o[n],s=[],l=[],h=0;h<a.length;h++){var c=new wijmo_1.Point(a[h][0],a[h][1]);c=this.convert(c);s.push(c.x);l.push(c.y)}var u=e.drawLines(s,l);this.setAttribute(u,i)}};_GeoJsonRender.prototype.renderMultiPolygon=function(e,t,i){void 0===i&&(i=null);if(t&&t.coordinates)for(var o=t.coordinates,r=o.length,n=e,a=0;a<r;a++){for(var s=o[a],l=(s.length,[]),h=0;h<1;h++){for(var c=s[h],u=[],_=0;_<c.length;_++){var p=new wijmo_1.Point(c[_][0],c[_][1]);p=this.convert(p);u.push(p.x);u.push(p.y)}l.push(u)}var f=n.drawPolygon2(null,l);this.setAttribute(f,i)}};_GeoJsonRender.prototype.renderPolygon=function(e,t,i){void 0===i&&(i=null);if(t&&t.coordinates){for(var o=t.coordinates,r=o.length,n=e,a=[],s=0;s<r;s++){for(var l=o[s],h=[],c=0;c<l.length;c++){var u=new wijmo_1.Point(l[c][0],l[c][1]);u=this.convert(u);h.push(u.x);h.push(u.y)}a.push(h)}var _=n.drawPolygon2(null,a);this.setAttribute(_,i)}};_GeoJsonRender.prototype.getFeatureById=function(e){return this._map[e]};_GeoJsonRender.prototype.getAllFeatures=function(e){var t=[];if(e)switch(e.type){case"Feature":t.push(e);break;case"FeatureCollection":if(e.features)for(var i=0;i<e.features.length;i++)t.push(e.features[i])}return t};_GeoJsonRender.prototype.getBBox=function(e){var t=null;if(e)switch(e.type){case"Point":case"MultiPoint":case"LineString":case"MultiLineString":case"Polygon":case"MultiPolygon":case"GeometryCollection":t=this.getGeometryBBox(e);break;case"Feature":t=this.getGeometryBBox(e.geometry);break;case"FeatureCollection":if(e.features)for(var i=0;i<e.features.length;i++){var o=this.getGeometryBBox(e.features[i].geometry,t);o&&(t=o)}}return t};_GeoJsonRender.prototype.getGeometryBBox=function(e,t){var i=null;if(e)switch(e.type){case"Point":case"MultiPoint":case"LineString":case"MultiLineString":case"Polygon":case"MultiPolygon":var o=e.coordinates,r=this.flat(o,10);i=this.getRect(r,t);break;case"GeometryCollection":if(e.geometries)for(var n=0;n<e.geometries.length;n++)(i=this.getGeometryBBox(e.geometries[n],t))&&(t=i.clone())}return i};_GeoJsonRender.prototype.getRect=function(e,t){var i=null;if(e){var o=NaN,r=NaN,n=NaN,a=NaN;if(t){o=t.left;r=t.right;n=t.top;a=t.bottom}for(var s=e.length/2,l=0;l<s;l++){var h=e[2*l],c=e[2*l+1];(isNaN(o)||h<o)&&(o=h);(isNaN(r)||h>r)&&(r=h);(isNaN(n)||c<n)&&(n=c);(isNaN(a)||c>a)&&(a=c)}isNaN(o)||isNaN(n)||(i=new wijmo_1.Rect(o,n,r-o,a-n))}return i};_GeoJsonRender.prototype.hitTest=function(e,t,i){for(var o=this.getAllFeatures(e),r=0;r<o.length;r++)if(_GeoJsonHitTest.hitTest(o[r],t,i))return o[r];return null};_GeoJsonRender.prototype.setAttribute=function(e,t){e&&t&&e.setAttribute("wj-map:id",t)};_GeoJsonRender.prototype.createId=function(){return this.prefix+this._index.toString()};_GeoJsonRender.prototype.flat=function(e,t){if(e.flat)return e.flat(t);for(var i=e.slice(),o=[];i.length;){var r=i.pop();Array.isArray(r)?i.push.apply(i,r):o.push(r)}return o.reverse()};return _GeoJsonRender}();exports._GeoJsonRender=_GeoJsonRender;var _GeoJsonHitTest=function(){function _GeoJsonHitTest(){}_GeoJsonHitTest.hitTest=function(e,t,i){var o=!1;if(e)switch(e.type){case"Point":case"MultiPoint":case"LineString":case"MultiLineString":o=!1;break;case"Polygon":o=_GeoJsonHitTest.hitTestPolygon(e,t,i);break;case"MultiPolygon":o=_GeoJsonHitTest.hitTestMultiPolygon(e,t,i);break;case"GeometryCollection":o=!1;break;case"Feature":o=_GeoJsonHitTest.hitTestGeometry(e.geometry,t,i);break;case"FeatureCollection":if(e.features)for(var r=0;r<e.features.length;r++);}return o};_GeoJsonHitTest.hitTestPolygon=function(e,t,i){var o=!1;if(e&&e.coordinates){for(var r=e.coordinates,n=r.length,a=0;a<1;a++){var s=r[a];o=_GeoJsonHitTest.contains(s,t,i)}if(o)for(a=1;a<n;a++){s=r[a];if(_GeoJsonHitTest.contains(s,t,i)){o=!1;break}}}return o};_GeoJsonHitTest.hitTestMultiPolygon=function(e,t,i){var o=!1;if(e&&e.coordinates)for(var r=e.coordinates,n=r.length-1;n>=0;n--){for(var a=r[n],s=a.length,l=0;l<1;l++){var h=a[l];o=_GeoJsonHitTest.contains(h,t,i)}if(o)for(var c=1;c<s;c++){h=a[c];if(_GeoJsonHitTest.contains(h,t,i)){o=!1;break}}if(o)break}return o};_GeoJsonHitTest.hitTestGeometry=function(e,t,i){var o=!1;if(e)switch(e.type){case"Point":case"MultiPoint":case"LineString":case"MultiLineString":break;case"Polygon":o=_GeoJsonHitTest.hitTestPolygon(e,t,i);break;case"MultiPolygon":o=_GeoJsonHitTest.hitTestMultiPolygon(e,t,i);break;case"GeometryCollection":if(e.geometries)for(var r=0;r<e.geometries.length&&!(o=_GeoJsonHitTest.hitTestGeometry(e.geometries[r],t,i));r++);}return o};_GeoJsonHitTest.contains=function(e,t,i){for(var o=0,r=e.length,n=0;n<r-1;n++){var a=e[n][0],s=e[n][1],l=e[n+1][0],h=e[n+1][1];_GeoJsonHitTest.west(a,s,l,h,t,i)&&++o}return o%2==1};_GeoJsonHitTest.west=function(e,t,i,o,r,n){return t<=o?!(n<=t||n>o||r>=e&&r>=i)&&(r<e&&r<i||(n-t)/(r-e)>(o-t)/(i-e)):_GeoJsonHitTest.west(i,o,e,t,r,n)};return _GeoJsonHitTest}();exports._GeoJsonHitTest=_GeoJsonHitTest;var GeoMapLayer=function(e){__extends(GeoMapLayer,e);function GeoMapLayer(t){var i=e.call(this)||this;i._render=new _GeoJsonRender;i._symbolSize=5;i.style={stroke:"gray",fill:"transparent",strokeWidth:.5};t&&i.initialize(t);return i}Object.defineProperty(GeoMapLayer.prototype,"itemFormatter",{get:function(){return this._ifmt},set:function(e){if(this._ifmt!=e){this._ifmt=wijmo_1.asFunction(e,!0);this._clearCache();this.invalidate()}},enumerable:!0,configurable:!0});GeoMapLayer.prototype.getAllFeatures=function(){return this._render.getAllFeatures(this.itemsSource)};GeoMapLayer.prototype.render=function(e,t,i){this._render.hasPoints&&this._clearCache();var o=this._g;if(o)i.appendChild(o);else{o=e.startGroup();this._render.symbolSize=this.symbolSize;this._render.converter=this.map._proj;var r=this.colorScale;r&&r.domain(this.getAllFeatures());this._applyStyle(e);this._render.prefix=this.map.layers.indexOf(this).toString()+"_";r?this._render.render(e,this.itemsSource,(function(e,t){e.fill=r.convert(r.getValue(t))})):this._render.render(e,this.itemsSource,this.itemFormatter);e.endGroup();this._g=o}0==o.transform.baseVal.numberOfItems?o.transform.baseVal.appendItem(t):o.transform.baseVal.replaceItem(t,0);return o};GeoMapLayer.prototype.getGeoBBox=function(e){return e?this._render.getBBox(e):this._render.getBBox(this.itemsSource)};Object.defineProperty(GeoMapLayer.prototype,"symbolSize",{get:function(){return this._symbolSize},set:function(e){if(this._symbolSize!=e){this._symbolSize=wijmo_1.asNumber(e);this.invalidate()}},enumerable:!0,configurable:!0});GeoMapLayer.prototype._clearCache=function(){this._g=null};GeoMapLayer.prototype._getFeatureById=function(e){return this._render.getFeatureById(e)};GeoMapLayer.prototype._hitTest=function(e,t){var i=this._render.hitTest(this.itemsSource,e,t);return i?i.properties:null};return GeoMapLayer}(MapLayerBase);exports.GeoMapLayer=GeoMapLayer;wijmo_1._registerModule("wijmo.chart.map",selfModule);
|
package/wijmo.chart.radar.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.20261.45-nightly.
|
|
3
|
+
* Wijmo Library 5.20261.45-nightly.d20260105.t163143
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -46,16 +46,16 @@ export declare class FlexRadarSeries extends SeriesBase {
|
|
|
46
46
|
export declare class _RadarLinePlotter extends _LinePlotter {
|
|
47
47
|
isArea: boolean;
|
|
48
48
|
_getLabelPoint(series: any, dataPoint: _DataPoint): Point;
|
|
49
|
-
plotSeries(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, series: _ISeries, palette: _IPalette,
|
|
49
|
+
plotSeries(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, series: _ISeries, palette: _IPalette, _iser: number, _nser: number): void;
|
|
50
50
|
_drawData(engine: IRenderEngine, dx: any, dy: any, chartType: any, style: any, si: any): void;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* Column(Rose) radar chart plotter.
|
|
54
54
|
*/
|
|
55
55
|
export declare class _RadarBarPlotter extends _BarPlotter {
|
|
56
|
-
adjustLimits(dataInfo: _DataInfo,
|
|
56
|
+
adjustLimits(dataInfo: _DataInfo, _plotRect: Rect): Rect;
|
|
57
57
|
_getLabelPoint(series: any, dataPoint: _DataPoint): Point;
|
|
58
|
-
plotSeries(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, series: _ISeries,
|
|
58
|
+
plotSeries(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, series: _ISeries, _palette: _IPalette, iser: number, _nser: number): void;
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
61
|
* Specifies the type of radar chart.
|
|
@@ -140,7 +140,6 @@ export declare class FlexRadar extends FlexChartCore {
|
|
|
140
140
|
* Represents an axis in the radar chart.
|
|
141
141
|
*/
|
|
142
142
|
export declare class FlexRadarAxis extends Axis {
|
|
143
|
-
private _points;
|
|
144
143
|
private _axisLabels;
|
|
145
144
|
_height: number;
|
|
146
145
|
private __actualMin;
|
|
@@ -150,11 +149,11 @@ export declare class FlexRadarAxis extends Axis {
|
|
|
150
149
|
_getHeight(engine: IRenderEngine, maxw: number): number;
|
|
151
150
|
_getActualRange(): number;
|
|
152
151
|
_updateActualLimits(dataType: DataType, dataMin: number, dataMax: number, labels?: string[], values?: number[]): void;
|
|
153
|
-
_updateActualLimitsByChartType(
|
|
152
|
+
_updateActualLimitsByChartType(_labels: any, min: any, max: any): {
|
|
154
153
|
min: any;
|
|
155
154
|
max: any;
|
|
156
155
|
};
|
|
157
|
-
_isOverlapped(
|
|
156
|
+
_isOverlapped(_engine: IRenderEngine, _w: number, _lblClass: string, _axisType: AxisType): boolean;
|
|
158
157
|
/**
|
|
159
158
|
* Converts the specified value from data to pixel coordinates.
|
|
160
159
|
*
|
|
@@ -165,7 +164,7 @@ export declare class FlexRadarAxis extends Axis {
|
|
|
165
164
|
convert(val: number, maxValue?: number, minValue?: number): number;
|
|
166
165
|
_renderLineAndTitle(engine: any): void;
|
|
167
166
|
_renderPolygon(engine: any, r: any, cls: any): void;
|
|
168
|
-
_renderMinors(engine: IRenderEngine, ticks: number[],
|
|
167
|
+
_renderMinors(engine: IRenderEngine, ticks: number[], _isVert: boolean, _isNear: boolean): void;
|
|
169
168
|
private _drawMinorTickLength;
|
|
170
169
|
_renderLabelsAndTicks(engine: any, index: any, val: any, sval: any, labelAngle: any, tickMarks: any, showLabel: any, t1: any, t2: any): boolean;
|
|
171
170
|
private _renderXGridLine;
|
package/wijmo.chart.radar.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.t163143
|
|
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 a in e)e.hasOwnProperty(a)&&(t[a]=e[a])})(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 a in t)Object.hasOwnProperty.call(t,a)&&(e[a]=t[a]);e.default=t;return e};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),selfModule=__importStar(require("wijmo/wijmo.chart.radar")),FlexRadarSeries=function(t){__extends(FlexRadarSeries,t);function FlexRadarSeries(){return null!==t&&t.apply(this,arguments)||this}Object.defineProperty(FlexRadarSeries.prototype,"chartType",{get:function(){return this._finChartType},set:function(t){if((t=wijmo_1.asEnum(t,RadarChartType,!0))!=this._finChartType){this._finChartType=t;this._invalidate()}},enumerable:!0,configurable:!0});FlexRadarSeries.prototype._getChartType=function(){var t;switch(this.chartType){case RadarChartType.Area:t=wijmo_chart_1.ChartType.Area;break;case RadarChartType.Line:t=wijmo_chart_1.ChartType.Line;break;case RadarChartType.Column:t=wijmo_chart_1.ChartType.Column;break;case RadarChartType.LineSymbols:t=wijmo_chart_1.ChartType.LineSymbols;break;case RadarChartType.Scatter:t=wijmo_chart_1.ChartType.Scatter}return t};return FlexRadarSeries}(wijmo_chart_1.SeriesBase);exports.FlexRadarSeries=FlexRadarSeries;var _RadarLinePlotter=function(t){__extends(_RadarLinePlotter,t);function _RadarLinePlotter(){var e=null!==t&&t.apply(this,arguments)||this;e.isArea=!1;return e}_RadarLinePlotter.prototype._getLabelPoint=function(t,e){var a=t._getAxisX(),r=t._getAxisY(),i=a.convert(e.dataX),s=r.convert(e.dataY);return this.chart._convertPoint(s,i)};_RadarLinePlotter.prototype.plotSeries=function(t,e,a,r,i,s,n){var o=wijmo_1.asType(r,wijmo_chart_1.SeriesBase),l=this.chart,_=o._getChartType()||l._getChartType(),h=l.series.indexOf(r),c=r.getValues(0),u=r.getValues(1);if(c){u||(u=this.dataInfo.getXVals());var d=wijmo_chart_1._BasePlotter.cloneStyle(r.style,["fill"]),p=c.length,x=!0;if(u)p=Math.min(p,u.length);else{x=!1;u=new Array(p)}var m=this._DEFAULT_WIDTH,f=o._getSymbolFill(h),y=o._getAltSymbolFill(h)||f,g=o._getSymbolStroke(h),v=o._getAltSymbolStroke(h)||g,w=o._getSymbolSize();t.stroke=g;t.strokeWidth=m;t.fill=f;var A=new Array,P=new Array,j=a.actualMax,T=this.stacking!=wijmo_chart_1.Stacking.None&&!o._isCustomAxisY(),R=this.stacking==wijmo_chart_1.Stacking.Stacked100pc&&!o._isCustomAxisY();void 0!==o._getChartType()&&(T=R=!1);for(var b=o.interpolateNulls,L=!1,M=this.getItemFormatter(r),C=0;C<p;C++){var S=x?u[C]:C,k=null==c[C]?0:c[C];if(wijmo_chart_1._DataInfo.isValid(S)&&wijmo_chart_1._DataInfo.isValid(k)){if(T){if(R){k/=this.dataInfo.getStackedAbsSum(S)}if(k>=0){var F=isNaN(this.stackPos[S])?0:this.stackPos[S];k=this.stackPos[S]=F+k}else{F=isNaN(this.stackNeg[S])?0:this.stackNeg[S];k=this.stackNeg[S]=F+k}}k=Math.min(k,j);var I;I=new wijmo_chart_1._DataPoint(h,C,S,k);var N=e.convert(S),X=a.convert(k),D=this.chart._convertPoint(X,N);S=D.x;k=D.y;if(isNaN(S)||isNaN(k)){L=!0;if(!0!==b){A.push(void 0);P.push(void 0)}}else{A.push(S);P.push(k);var O=new wijmo_chart_1._CircleArea(new wijmo_1.Point(S,k),.5*w);O.tag=I;this.hitTester.add(O,h)}}else{L=!0;if(!0!==b){A.push(void 0);P.push(void 0)}}}var V=0;if(this.hasLines){this.isArea?t.fill=f||i._getColorLight(h):t.fill="none";if(L&&!0!==b){var Y=[],B=[];for(C=0;C<p;C++)if(void 0===A[C]){Y.length>1&&this._drawData(t,Y,B,_,d,h);Y=[];B=[]}else{Y.push(A[C]);B.push(P[C])}Y.length>1&&this._drawData(t,Y,B,_,d,h)}else{if(l._isPolar&&_!==wijmo_chart_1.ChartType.Area)this._drawLines(t,A,P,null,d,this.chart._plotrectId);else{if(l.totalAngle<360){A.push(l._center.x);P.push(l._center.y)}t.drawPolygon(A,P,null,d,this.chart._plotrectId)}this.hitTester.add(new wijmo_chart_1._LinesArea(A,P),h)}}t.fill=f;for(C=0;C<p;C++){S=A[C],k=P[C];if(!1===this.hasLines){t.fill=c[C]>0?f:y;t.stroke=c[C]>0?g:v}if(this.isValid(S,k,e,a)){(this.hasSymbols||M)&&w>0&&this._drawSymbol(t,S,k,w,o,C,M);r._setPointIndex(C,V);V++}}}};_RadarLinePlotter.prototype._drawData=function(t,e,a,r,i,s){var n=this.chart;if(n._isPolar&&r!==wijmo_chart_1.ChartType.Area)this._drawLines(t,e,a,null,i,n._plotrectId);else{if(n.totalAngle<360){e.push(n._center.x);a.push(n._center.y)}t.drawPolygon(e,a,null,i,n._plotrectId)}this.hitTester.add(new wijmo_chart_1._LinesArea(e,a),s)};return _RadarLinePlotter}(wijmo_chart_1._LinePlotter);exports._RadarLinePlotter=_RadarLinePlotter;var RadarChartType,_RadarBarPlotter=function(t){__extends(_RadarBarPlotter,t);function _RadarBarPlotter(){return null!==t&&t.apply(this,arguments)||this}_RadarBarPlotter.prototype.adjustLimits=function(t,e){this.dataInfo=t;var a=t.getMinX(),r=t.getMinY(),i=t.getMaxX(),s=t.getMaxY(),n=t.getDeltaX();n<=0&&(n=1);this.chart.totalAngle<360&&(n=0);this.unload();this.chart.axisY._getLogBase()||(this.origin>s?s=this.origin:this.origin<r&&(r=this.origin));return new wijmo_1.Rect(a,r,i-a+n,s-r)};_RadarBarPlotter.prototype._getLabelPoint=function(t,e){var a=t._getAxisX(),r=t._getAxisY(),i=a.convert(e.dataX),s=r.convert(e.dataY);return this.chart._convertPoint(s,i)};_RadarBarPlotter.prototype.plotSeries=function(t,e,a,r,i,s,n){var o=this.chart.series.indexOf(r),l=wijmo_1.asType(r,wijmo_chart_1.SeriesBase),_=(this.chart._options,this.width),h=this.chart,c=-90*Math.PI/180;s=s||0;var u,d=l._getAxisY()._uniqueId,p=this.stackNegMap[d],x=this.stackPosMap[d],m=this.stacking!=wijmo_chart_1.Stacking.None,f=this.stacking==wijmo_chart_1.Stacking.Stacked100pc,y=r.getValues(0),g=r.getValues(1);if(y){g||(g=this.dataInfo.getXVals());var v;(v=g?h.totalAngle/g.length:h.totalAngle/(e.actualMax-e.actualMin))>0&&(_=m?v*_*Math.PI/180:v*Math.pow(_,s+1)*Math.PI/180);var w=l._getSymbolFill(o),A=l._getAltSymbolFill(o)||w,P=l._getSymbolStroke(o),j=l._getAltSymbolStroke(o)||P,T=y.length;null!=g&&(T=Math.min(T,g.length));var R,b,L=this.origin,M=0;void 0!==l._getChartType()&&(m=f=!1);L<a.actualMin?L=a.actualMin:L>a.actualMax&&(L=a.actualMax);a.convert(L);var C=e.actualMin,S=e.actualMax,k=a.actualMin,F=a.actualMax;l._isCustomAxisY()&&(m=f=!1);h._areas[o]||(h._areas[o]=[]);for(var I=0;I<T;I++){var N=g?g[I]:I,X=null==y[I]?0:y[I];this._getSymbolOrigin&&a.convert(this._getSymbolOrigin(L,I,T));if(this._getSymbolStyles){var D=this._getSymbolStyles(I,T);w=D&&D.fill?D.fill:w;A=D&&D.fill?D.fill:A;P=D&&D.stroke?D.stroke:P;j=D&&D.stroke?D.stroke:j}R=X>0?w:A;b=X>0?P:j;t.fill=R;t.stroke=b;if(wijmo_chart_1._DataInfo.isValid(N)&&wijmo_chart_1._DataInfo.isValid(X)){if(m){var O,V,Y=N-.5*_,B=N+.5*_;if(Y<C&&B<C||Y>S&&B>S)continue;Y=e.convert(Y);B=e.convert(B);if(!wijmo_chart_1._DataInfo.isValid(Y)||!wijmo_chart_1._DataInfo.isValid(B))continue;if(f){X/=this.dataInfo.getStackedAbsSum(N)}var G=0;if(X>=0){G=isNaN(x[N])?0:x[N];O=Math.max(G,k);V=Math.max(G+X,k);x[N]=G+X}else{O=G=isNaN(p[N])?0:p[N];V=G+X;p[N]=G+X}var E=e.convert(N),W=a.convert(O),H=a.convert(V);E-=_/2;t.drawDonutSegment(h._center.x,h._center.y,H,W,E+c,_,null,l.symbolStyle);(u=new wijmo_chart_1._DonutSegment(new wijmo_1.Point(h._center.x,h._center.y),H,W,E+c,_,h.startAngle||0)).tag=new wijmo_chart_1._DataPoint(o,I,N,G+X);this.hitTester.add(u,o)}else{E=e.convert(N);var q=a.convert(Math.min(X,F));h._convertPoint(q,E);E-=_/2;t.drawPieSegment(h._center.x,h._center.y,q,E+c,_,null,l.symbolStyle);(u=new wijmo_chart_1._PieSegment(new wijmo_1.Point(h._center.x,h._center.y),q,E+c,_,h.startAngle)).tag=new wijmo_chart_1._DataPoint(o,I,N,X);this.hitTester.add(u,o)}h._areas[o].push(u);r._setPointIndex(I,M);M++}}}};return _RadarBarPlotter}(wijmo_chart_1._BarPlotter);exports._RadarBarPlotter=_RadarBarPlotter;!function(t){t[t.Column=0]="Column";t[t.Scatter=1]="Scatter";t[t.Line=2]="Line";t[t.LineSymbols=3]="LineSymbols";t[t.Area=4]="Area"}(RadarChartType=exports.RadarChartType||(exports.RadarChartType={}));var FlexRadar=function(t){__extends(FlexRadar,t);function FlexRadar(e,a){var r=t.call(this,e,a)||this;r._chartType=RadarChartType.Line;r._startAngle=0;r._totalAngle=360;r._reversed=!1;r._areas=[];return r}Object.defineProperty(FlexRadar.prototype,"_radarLinePlotter",{get:function(){if(null==this.__radarLinePlotter){this.__radarLinePlotter=new _RadarLinePlotter;this._initPlotter(this.__radarLinePlotter)}return this.__radarLinePlotter},enumerable:!0,configurable:!0});Object.defineProperty(FlexRadar.prototype,"_radarColumnPlotter",{get:function(){if(null==this.__radarColumnPlotter){this.__radarColumnPlotter=new _RadarBarPlotter;this._initPlotter(this.__radarColumnPlotter)}return this.__radarColumnPlotter},enumerable:!0,configurable:!0});FlexRadar.prototype._initAxes=function(){t.prototype._initAxes.call(this);this.axes.pop();this.axes.pop();this.axisX=new FlexRadarAxis(wijmo_chart_1.Position.Bottom);this.axisX.majorGrid=!0;this.axisY=new FlexRadarAxis(wijmo_chart_1.Position.Left);this.axisY.majorTickMarks=wijmo_chart_1.TickMark.Outside;this.axes.push(this.axisX);this.axes.push(this.axisY)};FlexRadar.prototype._layout=function(e,a,r){t.prototype._layout.call(this,e,a,r);var i=this.axisX._height;this._plotRect.top+=i/2;var s=this._plotRect;this._radius=Math.min(Math.max(20,s.width-i),s.height)/2;this._center=new wijmo_1.Point(s.left+s.width/2,s.top+s.height/2)};Object.defineProperty(FlexRadar.prototype,"chartType",{get:function(){return this._chartType},set:function(t){if((t=wijmo_1.asEnum(t,RadarChartType))!=this._chartType){this._chartType=t;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexRadar.prototype,"startAngle",{get:function(){return this._startAngle},set:function(t){if(t!=this._startAngle){this._startAngle=wijmo_1.asNumber(t,!0);this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexRadar.prototype,"totalAngle",{get:function(){return this._totalAngle},set:function(t){if(t!=this._totalAngle&&t>=0){this._totalAngle=wijmo_1.asNumber(t,!0);if(this._totalAngle<=0){wijmo_1.assert(!1,"totalAngle must be greater than 0.");this._totalAngle=0}if(this._totalAngle>360){wijmo_1.assert(!1,"totalAngle must be less than or equal to 360.");this._totalAngle=360}this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexRadar.prototype,"reversed",{get:function(){return this._reversed},set:function(t){if(t!=this._reversed){this._reversed=wijmo_1.asBoolean(t,!0);this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexRadar.prototype,"stacking",{get:function(){return this._stacking},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.Stacking))!=this._stacking){this._stacking=t;this.invalidate()}},enumerable:!0,configurable:!0});FlexRadar.prototype.onRendered=function(e){var a=this.axisX,r=this.axisY;a&&a._renderLabels(e.engine);r&&r._renderLabels(e.engine);t.prototype.onRendered.call(this,e)};FlexRadar.prototype._getChartType=function(){var t=wijmo_chart_1.ChartType.Line;switch(this.chartType){case RadarChartType.Area:t=wijmo_chart_1.ChartType.Area;break;case RadarChartType.Line:t=wijmo_chart_1.ChartType.Line;break;case RadarChartType.Column:t=wijmo_chart_1.ChartType.Column;break;case RadarChartType.LineSymbols:t=wijmo_chart_1.ChartType.LineSymbols;break;case RadarChartType.Scatter:t=wijmo_chart_1.ChartType.Scatter}return t};FlexRadar.prototype._getPlotter=function(e){var a=this.chartType,r=null;if(e){var i=e.chartType;if(null!=i&&i!=a){a=i;!0}}switch(a){case RadarChartType.Line:this._radarLinePlotter.hasSymbols=!1;this._radarLinePlotter.hasLines=!0;this._radarLinePlotter.isArea=!1;r=this._radarLinePlotter;break;case RadarChartType.LineSymbols:this._radarLinePlotter.hasSymbols=!0;this._radarLinePlotter.hasLines=!0;this._radarLinePlotter.isArea=!1;r=this._radarLinePlotter;break;case RadarChartType.Area:this._radarLinePlotter.hasSymbols=!1;this._radarLinePlotter.hasLines=!0;this._radarLinePlotter.isArea=!0;r=this._radarLinePlotter;break;case RadarChartType.Scatter:this._radarLinePlotter.hasSymbols=!0;this._radarLinePlotter.hasLines=!1;this._radarLinePlotter.isArea=!1;r=this._radarLinePlotter;break;case RadarChartType.Column:this._radarColumnPlotter.isVolume=!1;this._radarColumnPlotter.width=.8;r=this._radarColumnPlotter;break;default:r=t.prototype._getPlotter.call(this,e)}return r};FlexRadar.prototype._convertPoint=function(t,e){var a=new wijmo_1.Point,r=this._center;a.x=r.x+t*Math.sin(e);a.y=r.y-t*Math.cos(e);return a};FlexRadar.prototype._createSeries=function(){return new FlexRadarSeries};FlexRadar.prototype._clearCachedValues=function(){t.prototype._clearCachedValues.call(this);this._isPolar=!1;this._areas=[]};FlexRadar.prototype._performBind=function(){this._xDataType=null;this._xlabels.splice(0);this._xvals.splice(0);if(this._cv){var t=this._cv.items;if(t){for(var e=t.length,a=0;a<e;a++){var r=t[a],i=this.bindingX?new wijmo_1.Binding(this.bindingX):null;if(i){var s=i.getValue(r);if(wijmo_1.isNumber(s)){this._xvals.push(wijmo_1.asNumber(s));this._xDataType=wijmo_1.DataType.Number}else wijmo_1.isDate(s)&&(this._xDataType=wijmo_1.DataType.Date);this._xlabels.push(s)}}this._xvals.length==e?this._xlabels.splice(0):this._xvals.splice(0)}}this._xDataType===wijmo_1.DataType.Number&&(this._isPolar=!0)};FlexRadar.prototype._prepareRender=function(){t.prototype._prepareRender.call(this);this._areas=[]};return FlexRadar}(wijmo_chart_1.FlexChartCore);exports.FlexRadar=FlexRadar;var FlexRadarAxis=function(t){__extends(FlexRadarAxis,t);function FlexRadarAxis(){var e=null!==t&&t.apply(this,arguments)||this;e._points=[];e._axisLabels=[];return e}FlexRadarAxis.prototype._render=function(e){this._hasVisibileSeries()&&t.prototype._render.call(this,e)};FlexRadarAxis.prototype._renderLabels=function(t){var e=this,a=this._axisLabels;if(a.length){var r=this.axisType==wijmo_chart_1.AxisType.X?wijmo_chart_1.AxisClsNames.axisXLabels+" "+wijmo_chart_1.FlexChart._CSS_AXIS_X:wijmo_chart_1.AxisClsNames.axisYLabels+" "+wijmo_chart_1.FlexChart._CSS_AXIS_Y;t.startGroup(r);a.forEach((function(a){var r=a.labelAngle;r>0||r<0?wijmo_chart_1.FlexChart._renderRotatedText(t,a.text,a.pos,a.align,a.vAlign,a.pos,r,a.class):e._renderLabel(t,a.val,a.text,a.pos,a.align,a.vAlign,a.class)}));t.endGroup();this._axisLabels=[]}};FlexRadarAxis.prototype._getHeight=function(e,a){var r=t.prototype._getHeight.call(this,e,a);this._axisType==wijmo_chart_1.AxisType.Y&&(r=4);this._height=2*r;return this._height};FlexRadarAxis.prototype._getActualRange=function(){return this._isTimeAxis&&null!=this.__actualMax&&null!=this.__actualMin?this.__actualMax-this.__actualMin:t.prototype._getActualRange.call(this)};FlexRadarAxis.prototype._updateActualLimits=function(e,a,r,i,s){var n=this;void 0===i&&(i=null);void 0===s&&(s=null);t.prototype._updateActualLimits.call(this,e,a,r,i,s);var o,l=this._chart,_=this._lbls,h=this.actualMin.valueOf?this.actualMin.valueOf():this.actualMin,c=this.actualMax.valueOf?this.actualMax.valueOf():this.actualMax;if(this._lbls&&this===l.axisX){l._angles=[];this._isTimeAxis&&0===this._lbls.length&&this._values.forEach((function(t){_.push(n._formatValue(t))}));o=_.length;l.totalAngle<360&&(o-=1);_.forEach((function(t,e){var a=h+e/o*(c-h),r=l.startAngle+e/o*l.totalAngle;isNaN(r)||isNaN(a)||l._angles.push({value:n.convert(a),angle:r});if(n._isTimeAxis){(null==n.__actualMin||n.__actualMin>t)&&(n.__actualMin=t);(null==n.__actualMax||n.__actualMax<t)&&(n.__actualMax=t)}else if(null!=n.__actualMin||null!=n.__actualMax){n.__actualMin=null;n.__actualMax=null}}));if(this._isTimeAxis&&this._lbls.length>0){this._updateAutoFormat(0);this._lbls=_.map((function(t){var e=wijmo_1.asDate(t).valueOf();return n._formatValue(e)}))}}};FlexRadarAxis.prototype._updateActualLimitsByChartType=function(t,e,a){var r=this._chart;if(r._getChartType()!=wijmo_chart_1.ChartType.Column&&360===r.totalAngle&&this.axisType===wijmo_chart_1.AxisType.X)if(this._isTimeAxis){var i=(r._xlabels.length||r._xvals.length)-1;a+=(a-e)/(i=i<1?1:i)}else r._isPolar||(a+=1);return{min:e,max:a}};FlexRadarAxis.prototype._isOverlapped=function(t,e,a,r){return!1};FlexRadarAxis.prototype.convert=function(t,e,a){var r=null==e?this.actualMax:e,i=null==a?this.actualMin:a,s=this._chart;if(!s)return NaN;if(r==i)return 0;if(this.axisType===wijmo_chart_1.AxisType.X)return s.reversed?(s.startAngle-(t-i)/(r-i)*s.totalAngle)*Math.PI/180:(s.startAngle+(t-i)/(r-i)*s.totalAngle)*Math.PI/180;if(this._getLogBase()){if(t<=0)return NaN;var n=Math.log(r/i);return Math.log(t/i)/n*s._radius}return(t-i)/(r-i)*s._radius};FlexRadarAxis.prototype._renderLineAndTitle=function(t){var e=this._chart,a=wijmo_chart_1.FlexChart._CSS_LINE,r=(e.startAngle-90)*Math.PI/180,i=e.totalAngle*Math.PI/180,s=e._radius;if(this.axisType===wijmo_chart_1.AxisType.X&&this.axisLine){t.stroke=wijmo_chart_1.FlexChart._FG;if(e._isPolar){r=e.reversed?r-i:r;t.drawPieSegment(e._center.x,e._center.y,s,r,i,a)}else this._renderPolygon(t,s,a)}};FlexRadarAxis.prototype._renderPolygon=function(t,e,a){var r=this._chart,i=r._angles,s=i.length,n=r.axisX.minorGrid,o=[],l=[];i.forEach((function(t,a){if(n&&a>0){var s=r._convertPoint(e,t.value-(t.value-i[a-1].value)/2);o.push(s.x);l.push(s.y)}var _=r._convertPoint(e,t.value);o.push(_.x);l.push(_.y)}));if(r.totalAngle<360){o.push(r._center.x);l.push(r._center.y)}else if(n&&s>=2){var _=r._convertPoint(e,i[s-1].value-(i[s-2].value-i[s-1].value)/2);o.push(_.x);l.push(_.y)}t.drawPolygon(o,l,a)};FlexRadarAxis.prototype._renderMinors=function(t,e,a,r){var i,s=this,n=this._chart,o=wijmo_chart_1.FlexChart._CSS_GRIDLINE_MINOR,l=this.minorGrid,_=n._angles,h=_.length,c=n.axisX.minorGrid,u=wijmo_chart_1.FlexChart._FG,d=this._GRIDLINE_WIDTH,p=(n.startAngle,Math.PI,n.totalAngle,Math.PI,this._TICK_OVERLAP),x=this.minorTickMarks,m=!0;this._vals.minor=e;x==wijmo_chart_1.TickMark.Outside?p=1:x==wijmo_chart_1.TickMark.Inside?p=-1:x==wijmo_chart_1.TickMark.Cross?p=0:m=!1;if(this.axisType==wijmo_chart_1.AxisType.Y){t.stroke=u;t.strokeWidth=d;e.forEach((function(e){var a=s.convert(e);l&&s._renderYGridLine(t,n,a,o);if(m){_.forEach((function(e,r){if(c&&r>0){i=e.value-(e.value-_[r-1].value)/2;var o=n._convertPoint(a,i);s._drawMinorTickLength(t,p,i,o)}i=e.value;var l=n._convertPoint(a,i);s._drawMinorTickLength(t,p,i,l)}));if(c&&h>=2){i=_[h-1].value-(_[h-2].value-_[h-1].value)/2;var r=n._convertPoint(a,i);s._drawMinorTickLength(t,p,i,r)}}}))}else{t.stroke=u;t.strokeWidth=d;e.forEach((function(e){var a=s.convert(e);if(l){s._renderXGridLine(t,n,a,o);m&&s._drawMinorTickLength(t,p,a-Math.PI/2,n._convertPoint(n._radius,a))}}))}};FlexRadarAxis.prototype._drawMinorTickLength=function(t,e,a,r){var i=this._TICK_HEIGHT,s=wijmo_chart_1.FlexChart._CSS_TICK_MINOR,n=.5*(e-1)*i*Math.cos(a),o=.5*(1+e)*i*Math.cos(a),l=.5*(e-1)*i*Math.sin(a),_=.5*(1+e)*i*Math.sin(a);t.drawLine(r.x+n,r.y+l,r.x+o,r.y+_,s)};FlexRadarAxis.prototype._renderLabelsAndTicks=function(t,e,a,r,i,s,n,o,l){this._points=[];i=this.labelAngle||0;var _,h=this._chart,c=this.labelPadding||2,u=wijmo_chart_1.FlexChart._CSS_LABEL,d=wijmo_chart_1.FlexChart._CSS_GRIDLINE,p=wijmo_chart_1.FlexChart._CSS_TICK,x=wijmo_chart_1.FlexChart._FG,m=this._TICK_WIDTH,f=this.majorGrid,y=wijmo_chart_1.FlexChart._FG,g=this._GRIDLINE_WIDTH,v=h.startAngle*Math.PI/180,w=(h.totalAngle,Math.PI,1);if(this.axisType==wijmo_chart_1.AxisType.Y){f=a!=this.actualMin&&f&&a!=this.actualMax;var A=this.convert(a),P=h._convertPoint(A,v);if(f){t.stroke=y;t.strokeWidth=g;this._renderYGridLine(t,h,A,d)}t.stroke=x;t.strokeWidth=m;if(n){(_=(h.startAngle%360+360)%360)<=90&&_>=75||_>=270&&_<=285?w=2:(_>90&&_<=105||_<270&&_>=255)&&(w=0);var j=new wijmo_1.Point(P.x-c-Math.abs(o-l),P.y);this._axisLabels.push({val:a,text:r,pos:j,align:2,vAlign:w,labelAngle:i,class:u})}s!=wijmo_chart_1.TickMark.None&&t.drawLine(P.x-l*Math.cos(v),P.y-l*Math.sin(v),P.x-o*Math.cos(v),P.y-o*Math.sin(v),p)}else{var T=this.convert(a);if(f){t.stroke=y;t.strokeWidth=g;this._renderXGridLine(t,h,T,d)}t.stroke=x;t.strokeWidth=m;if(n){var R,b,L;j=h._convertPoint(h._radius+c,T);R=h._angles&&h._angles.length?h._angles[e].angle:h.startAngle+(a-this.actualMin)*h.totalAngle/(this.actualMax-this.actualMin);R=(R%=360)>=0?R:R+360;b=this._getXLabelVAlign(R);L=this._getXLabelAlign(R);h._isPolar&&(r=this._formatValue(R));i>0||i<0?wijmo_chart_1.FlexChart._renderRotatedText(t,r,j,L,b,j,i,u):this._renderLabel(t,a,r,j,L,b,u)}s!=wijmo_chart_1.TickMark.None&&this._renderXTick(t,h,T,p,o,l)}return!0};FlexRadarAxis.prototype._renderXGridLine=function(t,e,a,r){var i=e._center,s=e._convertPoint(e._radius,a);t.drawLine(i.x,i.y,s.x,s.y,r)};FlexRadarAxis.prototype._renderXTick=function(t,e,a,r,i,s){var n,o;e._center;n=e._convertPoint(e._radius+i,a);o=e._convertPoint(e._radius+s,a);t.drawLine(n.x,n.y,o.x,o.y,r)};FlexRadarAxis.prototype._renderYGridLine=function(t,e,a,r){e._angles;var i=e._center,s=e.startAngle*Math.PI/180,n=e.totalAngle*Math.PI/180;if(e._isPolar){s=(e.startAngle-90)*Math.PI/180;s=e.reversed?s-n:s;t.drawPieSegment(i.x,i.y,a,s,n,r)}else this._renderPolygon(t,a,r)};FlexRadarAxis.prototype._getXLabelVAlign=function(t){var e=1,a=this._chart,r=a.startAngle;a.reversed&&(t=(360+r+(r%360-t%360))%360);0===t?e=2:180===t&&(e=0);return e};FlexRadarAxis.prototype._getXLabelAlign=function(t){var e=0,a=this._chart,r=a.startAngle;a.reversed&&(t=(360+r+(r%360-t%360))%360);t>0&&t<180?e=-1:t>180&&t<360&&(e=1);return e+1};FlexRadarAxis.prototype._createTimeLabels=function(e,a,r,i){var s=this;if(this._axisType==wijmo_chart_1.AxisType.Y)t.prototype._createTimeLabels.call(this,e,a,r,i);else{var n=this._values;this.format;if(!n||0===n.length)return;n.forEach((function(t){r.push(t);i.push(s._formatValue(t))}))}};FlexRadarAxis.prototype._niceNumber=function(e,a,r){var i=this._chart,s=this.actualMax-this.actualMin,n=i.totalAngle;n>360&&(n%=360);return i._isPolar?n%8==0?s/8:n%6==0?s/6:n%4==0?s/4:n%3==0?s/3:n%2==0?s/2:t.prototype._niceNumber.call(this,e,a,r):t.prototype._niceNumber.call(this,e,a,r)};return FlexRadarAxis}(wijmo_chart_1.Axis);exports.FlexRadarAxis=FlexRadarAxis;wijmo_1._registerModule("wijmo.chart.radar",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 a in e)e.hasOwnProperty(a)&&(t[a]=e[a])})(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 a in t)Object.hasOwnProperty.call(t,a)&&(e[a]=t[a]);e.default=t;return e};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),selfModule=__importStar(require("wijmo/wijmo.chart.radar")),FlexRadarSeries=function(t){__extends(FlexRadarSeries,t);function FlexRadarSeries(){return null!==t&&t.apply(this,arguments)||this}Object.defineProperty(FlexRadarSeries.prototype,"chartType",{get:function(){return this._finChartType},set:function(t){if((t=wijmo_1.asEnum(t,RadarChartType,!0))!=this._finChartType){this._finChartType=t;this._invalidate()}},enumerable:!0,configurable:!0});FlexRadarSeries.prototype._getChartType=function(){var t;switch(this.chartType){case RadarChartType.Area:t=wijmo_chart_1.ChartType.Area;break;case RadarChartType.Line:t=wijmo_chart_1.ChartType.Line;break;case RadarChartType.Column:t=wijmo_chart_1.ChartType.Column;break;case RadarChartType.LineSymbols:t=wijmo_chart_1.ChartType.LineSymbols;break;case RadarChartType.Scatter:t=wijmo_chart_1.ChartType.Scatter}return t};return FlexRadarSeries}(wijmo_chart_1.SeriesBase);exports.FlexRadarSeries=FlexRadarSeries;var _RadarLinePlotter=function(t){__extends(_RadarLinePlotter,t);function _RadarLinePlotter(){var e=null!==t&&t.apply(this,arguments)||this;e.isArea=!1;return e}_RadarLinePlotter.prototype._getLabelPoint=function(t,e){var a=t._getAxisX(),r=t._getAxisY(),i=a.convert(e.dataX),s=r.convert(e.dataY);return this.chart._convertPoint(s,i)};_RadarLinePlotter.prototype.plotSeries=function(t,e,a,r,i,s,n){var o=wijmo_1.asType(r,wijmo_chart_1.SeriesBase),l=this.chart,_=o._getChartType()||l._getChartType(),h=l.series.indexOf(r),c=r.getValues(0),u=r.getValues(1);if(c){u||(u=this.dataInfo.getXVals());var d=wijmo_chart_1._BasePlotter.cloneStyle(r.style,["fill"]),p=c.length,x=!0;if(u)p=Math.min(p,u.length);else{x=!1;u=new Array(p)}var m=this._DEFAULT_WIDTH,f=o._getSymbolFill(h),y=o._getAltSymbolFill(h)||f,g=o._getSymbolStroke(h),v=o._getAltSymbolStroke(h)||g,w=o._getSymbolSize();t.stroke=g;t.strokeWidth=m;t.fill=f;var A=[],P=[],j=a.actualMax,T=this.stacking!=wijmo_chart_1.Stacking.None&&!o._isCustomAxisY(),R=this.stacking==wijmo_chart_1.Stacking.Stacked100pc&&!o._isCustomAxisY();void 0!==o._getChartType()&&(T=R=!1);for(var b=o.interpolateNulls,L=!1,M=this.getItemFormatter(r),C=0;C<p;C++){var S=x?u[C]:C,k=null==c[C]?0:c[C];if(wijmo_chart_1._DataInfo.isValid(S)&&wijmo_chart_1._DataInfo.isValid(k)){if(T){if(R){k/=this.dataInfo.getStackedAbsSum(S)}if(k>=0){var F=isNaN(this.stackPos[S])?0:this.stackPos[S];k=this.stackPos[S]=F+k}else{F=isNaN(this.stackNeg[S])?0:this.stackNeg[S];k=this.stackNeg[S]=F+k}}k=Math.min(k,j);var I;I=new wijmo_chart_1._DataPoint(h,C,S,k);var N=e.convert(S),X=a.convert(k),D=this.chart._convertPoint(X,N);S=D.x;k=D.y;if(isNaN(S)||isNaN(k)){L=!0;if(!0!==b){A.push(void 0);P.push(void 0)}}else{A.push(S);P.push(k);var O=new wijmo_chart_1._CircleArea(new wijmo_1.Point(S,k),.5*w);O.tag=I;this.hitTester.add(O,h)}}else{L=!0;if(!0!==b){A.push(void 0);P.push(void 0)}}}var V=0;if(this.hasLines){this.isArea?t.fill=f||i._getColorLight(h):t.fill="none";if(L&&!0!==b){var Y=[],B=[];for(C=0;C<p;C++)if(void 0===A[C]){Y.length>1&&this._drawData(t,Y,B,_,d,h);Y=[];B=[]}else{Y.push(A[C]);B.push(P[C])}Y.length>1&&this._drawData(t,Y,B,_,d,h)}else{if(l._isPolar&&_!==wijmo_chart_1.ChartType.Area)this._drawLines(t,A,P,null,d,this.chart._plotrectId);else{if(l.totalAngle<360){A.push(l._center.x);P.push(l._center.y)}t.drawPolygon(A,P,null,d,this.chart._plotrectId)}this.hitTester.add(new wijmo_chart_1._LinesArea(A,P),h)}}t.fill=f;for(C=0;C<p;C++){S=A[C],k=P[C];if(!1===this.hasLines){t.fill=c[C]>0?f:y;t.stroke=c[C]>0?g:v}if(this.isValid(S,k,e,a)){(this.hasSymbols||M)&&w>0&&this._drawSymbol(t,S,k,w,o,C,M);r._setPointIndex(C,V);V++}}}};_RadarLinePlotter.prototype._drawData=function(t,e,a,r,i,s){var n=this.chart;if(n._isPolar&&r!==wijmo_chart_1.ChartType.Area)this._drawLines(t,e,a,null,i,n._plotrectId);else{if(n.totalAngle<360){e.push(n._center.x);a.push(n._center.y)}t.drawPolygon(e,a,null,i,n._plotrectId)}this.hitTester.add(new wijmo_chart_1._LinesArea(e,a),s)};return _RadarLinePlotter}(wijmo_chart_1._LinePlotter);exports._RadarLinePlotter=_RadarLinePlotter;var RadarChartType,_RadarBarPlotter=function(t){__extends(_RadarBarPlotter,t);function _RadarBarPlotter(){return null!==t&&t.apply(this,arguments)||this}_RadarBarPlotter.prototype.adjustLimits=function(t,e){this.dataInfo=t;var a=t.getMinX(),r=t.getMinY(),i=t.getMaxX(),s=t.getMaxY(),n=t.getDeltaX();n<=0&&(n=1);this.chart.totalAngle<360&&(n=0);this.unload();this.chart.axisY._getLogBase()||(this.origin>s?s=this.origin:this.origin<r&&(r=this.origin));return new wijmo_1.Rect(a,r,i-a+n,s-r)};_RadarBarPlotter.prototype._getLabelPoint=function(t,e){var a=t._getAxisX(),r=t._getAxisY(),i=a.convert(e.dataX),s=r.convert(e.dataY);return this.chart._convertPoint(s,i)};_RadarBarPlotter.prototype.plotSeries=function(t,e,a,r,i,s,n){var o=this.chart.series.indexOf(r),l=wijmo_1.asType(r,wijmo_chart_1.SeriesBase),_=(this.chart._options,this.width),h=this.chart,c=-90*Math.PI/180;s=s||0;var u,d=l._getAxisY()._uniqueId,p=this.stackNegMap[d],x=this.stackPosMap[d],m=this.stacking!=wijmo_chart_1.Stacking.None,f=this.stacking==wijmo_chart_1.Stacking.Stacked100pc,y=r.getValues(0),g=r.getValues(1);if(y){g||(g=this.dataInfo.getXVals());var v;(v=g?h.totalAngle/g.length:h.totalAngle/(e.actualMax-e.actualMin))>0&&(_=m?v*_*Math.PI/180:v*Math.pow(_,s+1)*Math.PI/180);var w=l._getSymbolFill(o),A=l._getAltSymbolFill(o)||w,P=l._getSymbolStroke(o),j=l._getAltSymbolStroke(o)||P,T=y.length;null!=g&&(T=Math.min(T,g.length));var R,b,L=this.origin,M=0;void 0!==l._getChartType()&&(m=f=!1);L<a.actualMin?L=a.actualMin:L>a.actualMax&&(L=a.actualMax);a.convert(L);var C=e.actualMin,S=e.actualMax,k=a.actualMin,F=a.actualMax;l._isCustomAxisY()&&(m=f=!1);h._areas[o]||(h._areas[o]=[]);for(var I=0;I<T;I++){var N=g?g[I]:I,X=null==y[I]?0:y[I];this._getSymbolOrigin&&a.convert(this._getSymbolOrigin(L,I,T));if(this._getSymbolStyles){var D=this._getSymbolStyles(I,T);w=D&&D.fill?D.fill:w;A=D&&D.fill?D.fill:A;P=D&&D.stroke?D.stroke:P;j=D&&D.stroke?D.stroke:j}R=X>0?w:A;b=X>0?P:j;t.fill=R;t.stroke=b;if(wijmo_chart_1._DataInfo.isValid(N)&&wijmo_chart_1._DataInfo.isValid(X)){if(m){var O=N-.5*_,V=N+.5*_;if(O<C&&V<C||O>S&&V>S)continue;O=e.convert(O);V=e.convert(V);if(!wijmo_chart_1._DataInfo.isValid(O)||!wijmo_chart_1._DataInfo.isValid(V))continue;var Y=void 0,B=void 0;if(f){X/=this.dataInfo.getStackedAbsSum(N)}var G=0;if(X>=0){G=isNaN(x[N])?0:x[N];Y=Math.max(G,k);B=Math.max(G+X,k);x[N]=G+X}else{Y=G=isNaN(p[N])?0:p[N];B=G+X;p[N]=G+X}var E=e.convert(N),W=a.convert(Y),H=a.convert(B);E-=_/2;t.drawDonutSegment(h._center.x,h._center.y,H,W,E+c,_,null,l.symbolStyle);(u=new wijmo_chart_1._DonutSegment(new wijmo_1.Point(h._center.x,h._center.y),H,W,E+c,_,h.startAngle||0)).tag=new wijmo_chart_1._DataPoint(o,I,N,G+X);this.hitTester.add(u,o)}else{E=e.convert(N);var q=a.convert(Math.min(X,F));h._convertPoint(q,E);E-=_/2;t.drawPieSegment(h._center.x,h._center.y,q,E+c,_,null,l.symbolStyle);(u=new wijmo_chart_1._PieSegment(new wijmo_1.Point(h._center.x,h._center.y),q,E+c,_,h.startAngle)).tag=new wijmo_chart_1._DataPoint(o,I,N,X);this.hitTester.add(u,o)}h._areas[o].push(u);r._setPointIndex(I,M);M++}}}};return _RadarBarPlotter}(wijmo_chart_1._BarPlotter);exports._RadarBarPlotter=_RadarBarPlotter;!function(t){t[t.Column=0]="Column";t[t.Scatter=1]="Scatter";t[t.Line=2]="Line";t[t.LineSymbols=3]="LineSymbols";t[t.Area=4]="Area"}(RadarChartType=exports.RadarChartType||(exports.RadarChartType={}));var FlexRadar=function(t){__extends(FlexRadar,t);function FlexRadar(e,a){var r=t.call(this,e,a)||this;r._chartType=RadarChartType.Line;r._startAngle=0;r._totalAngle=360;r._reversed=!1;r._areas=[];return r}Object.defineProperty(FlexRadar.prototype,"_radarLinePlotter",{get:function(){if(null==this.__radarLinePlotter){this.__radarLinePlotter=new _RadarLinePlotter;this._initPlotter(this.__radarLinePlotter)}return this.__radarLinePlotter},enumerable:!0,configurable:!0});Object.defineProperty(FlexRadar.prototype,"_radarColumnPlotter",{get:function(){if(null==this.__radarColumnPlotter){this.__radarColumnPlotter=new _RadarBarPlotter;this._initPlotter(this.__radarColumnPlotter)}return this.__radarColumnPlotter},enumerable:!0,configurable:!0});FlexRadar.prototype._initAxes=function(){t.prototype._initAxes.call(this);this.axes.pop();this.axes.pop();this.axisX=new FlexRadarAxis(wijmo_chart_1.Position.Bottom);this.axisX.majorGrid=!0;this.axisY=new FlexRadarAxis(wijmo_chart_1.Position.Left);this.axisY.majorTickMarks=wijmo_chart_1.TickMark.Outside;this.axes.push(this.axisX);this.axes.push(this.axisY)};FlexRadar.prototype._layout=function(e,a,r){t.prototype._layout.call(this,e,a,r);var i=this.axisX._height;this._plotRect.top+=i/2;var s=this._plotRect;this._radius=Math.min(Math.max(20,s.width-i),s.height)/2;this._center=new wijmo_1.Point(s.left+s.width/2,s.top+s.height/2)};Object.defineProperty(FlexRadar.prototype,"chartType",{get:function(){return this._chartType},set:function(t){if((t=wijmo_1.asEnum(t,RadarChartType))!=this._chartType){this._chartType=t;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexRadar.prototype,"startAngle",{get:function(){return this._startAngle},set:function(t){if(t!=this._startAngle){this._startAngle=wijmo_1.asNumber(t,!0);this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexRadar.prototype,"totalAngle",{get:function(){return this._totalAngle},set:function(t){if(t!=this._totalAngle&&t>=0){this._totalAngle=wijmo_1.asNumber(t,!0);if(this._totalAngle<=0){wijmo_1.assert(!1,"totalAngle must be greater than 0.");this._totalAngle=0}if(this._totalAngle>360){wijmo_1.assert(!1,"totalAngle must be less than or equal to 360.");this._totalAngle=360}this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexRadar.prototype,"reversed",{get:function(){return this._reversed},set:function(t){if(t!=this._reversed){this._reversed=wijmo_1.asBoolean(t,!0);this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexRadar.prototype,"stacking",{get:function(){return this._stacking},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.Stacking))!=this._stacking){this._stacking=t;this.invalidate()}},enumerable:!0,configurable:!0});FlexRadar.prototype.onRendered=function(e){var a=this.axisX,r=this.axisY;a&&a._renderLabels(e.engine);r&&r._renderLabels(e.engine);t.prototype.onRendered.call(this,e)};FlexRadar.prototype._getChartType=function(){var t=wijmo_chart_1.ChartType.Line;switch(this.chartType){case RadarChartType.Area:t=wijmo_chart_1.ChartType.Area;break;case RadarChartType.Line:t=wijmo_chart_1.ChartType.Line;break;case RadarChartType.Column:t=wijmo_chart_1.ChartType.Column;break;case RadarChartType.LineSymbols:t=wijmo_chart_1.ChartType.LineSymbols;break;case RadarChartType.Scatter:t=wijmo_chart_1.ChartType.Scatter}return t};FlexRadar.prototype._getPlotter=function(e){var a=this.chartType,r=null;if(e){var i=e.chartType;if(null!=i&&i!=a){a=i;!0}}switch(a){case RadarChartType.Line:this._radarLinePlotter.hasSymbols=!1;this._radarLinePlotter.hasLines=!0;this._radarLinePlotter.isArea=!1;r=this._radarLinePlotter;break;case RadarChartType.LineSymbols:this._radarLinePlotter.hasSymbols=!0;this._radarLinePlotter.hasLines=!0;this._radarLinePlotter.isArea=!1;r=this._radarLinePlotter;break;case RadarChartType.Area:this._radarLinePlotter.hasSymbols=!1;this._radarLinePlotter.hasLines=!0;this._radarLinePlotter.isArea=!0;r=this._radarLinePlotter;break;case RadarChartType.Scatter:this._radarLinePlotter.hasSymbols=!0;this._radarLinePlotter.hasLines=!1;this._radarLinePlotter.isArea=!1;r=this._radarLinePlotter;break;case RadarChartType.Column:this._radarColumnPlotter.isVolume=!1;this._radarColumnPlotter.width=.8;r=this._radarColumnPlotter;break;default:r=t.prototype._getPlotter.call(this,e)}return r};FlexRadar.prototype._convertPoint=function(t,e){var a=new wijmo_1.Point,r=this._center;a.x=r.x+t*Math.sin(e);a.y=r.y-t*Math.cos(e);return a};FlexRadar.prototype._createSeries=function(){return new FlexRadarSeries};FlexRadar.prototype._clearCachedValues=function(){t.prototype._clearCachedValues.call(this);this._isPolar=!1;this._areas=[]};FlexRadar.prototype._performBind=function(){this._xDataType=null;this._xlabels.splice(0);this._xvals.splice(0);if(this._cv){var t=this._cv.items;if(t){for(var e=t.length,a=0;a<e;a++){var r=t[a],i=this.bindingX?new wijmo_1.Binding(this.bindingX):null;if(i){var s=i.getValue(r);if(wijmo_1.isNumber(s)){this._xvals.push(wijmo_1.asNumber(s));this._xDataType=wijmo_1.DataType.Number}else wijmo_1.isDate(s)&&(this._xDataType=wijmo_1.DataType.Date);this._xlabels.push(s)}}this._xvals.length==e?this._xlabels.splice(0):this._xvals.splice(0)}}this._xDataType===wijmo_1.DataType.Number&&(this._isPolar=!0)};FlexRadar.prototype._prepareRender=function(){t.prototype._prepareRender.call(this);this._areas=[]};return FlexRadar}(wijmo_chart_1.FlexChartCore);exports.FlexRadar=FlexRadar;var FlexRadarAxis=function(t){__extends(FlexRadarAxis,t);function FlexRadarAxis(){var e=null!==t&&t.apply(this,arguments)||this;e._axisLabels=[];return e}FlexRadarAxis.prototype._render=function(e){this._hasVisibileSeries()&&t.prototype._render.call(this,e)};FlexRadarAxis.prototype._renderLabels=function(t){var e=this,a=this._axisLabels;if(a.length){var r=this.axisType==wijmo_chart_1.AxisType.X?wijmo_chart_1.AxisClsNames.axisXLabels+" "+wijmo_chart_1.FlexChart._CSS_AXIS_X:wijmo_chart_1.AxisClsNames.axisYLabels+" "+wijmo_chart_1.FlexChart._CSS_AXIS_Y;t.startGroup(r);a.forEach((function(a){var r=a.labelAngle;r>0||r<0?wijmo_chart_1.FlexChart._renderRotatedText(t,a.text,a.pos,a.align,a.vAlign,a.pos,r,a.class):e._renderLabel(t,a.val,a.text,a.pos,a.align,a.vAlign,a.class)}));t.endGroup();this._axisLabels=[]}};FlexRadarAxis.prototype._getHeight=function(e,a){var r=t.prototype._getHeight.call(this,e,a);this._axisType==wijmo_chart_1.AxisType.Y&&(r=4);this._height=2*r;return this._height};FlexRadarAxis.prototype._getActualRange=function(){return this._isTimeAxis&&null!=this.__actualMax&&null!=this.__actualMin?this.__actualMax-this.__actualMin:t.prototype._getActualRange.call(this)};FlexRadarAxis.prototype._updateActualLimits=function(e,a,r,i,s){var n=this;void 0===i&&(i=null);void 0===s&&(s=null);t.prototype._updateActualLimits.call(this,e,a,r,i,s);var o,l=this._chart,_=this._lbls,h=this.actualMin.valueOf?this.actualMin.valueOf():this.actualMin,c=this.actualMax.valueOf?this.actualMax.valueOf():this.actualMax;if(this._lbls&&this===l.axisX){l._angles=[];this._isTimeAxis&&0===this._lbls.length&&this._values.forEach((function(t){_.push(n._formatValue(t))}));o=_.length;l.totalAngle<360&&(o-=1);_.forEach((function(t,e){var a=h+e/o*(c-h),r=l.startAngle+e/o*l.totalAngle;isNaN(r)||isNaN(a)||l._angles.push({value:n.convert(a),angle:r});if(n._isTimeAxis){(null==n.__actualMin||n.__actualMin>t)&&(n.__actualMin=t);(null==n.__actualMax||n.__actualMax<t)&&(n.__actualMax=t)}else if(null!=n.__actualMin||null!=n.__actualMax){n.__actualMin=null;n.__actualMax=null}}));if(this._isTimeAxis&&this._lbls.length>0){this._updateAutoFormat(0);this._lbls=_.map((function(t){var e=wijmo_1.asDate(t).valueOf();return n._formatValue(e)}))}}};FlexRadarAxis.prototype._updateActualLimitsByChartType=function(t,e,a){var r=this._chart;if(r._getChartType()!=wijmo_chart_1.ChartType.Column&&360===r.totalAngle&&this.axisType===wijmo_chart_1.AxisType.X)if(this._isTimeAxis){var i=(r._xlabels.length||r._xvals.length)-1;a+=(a-e)/(i=i<1?1:i)}else r._isPolar||(a+=1);return{min:e,max:a}};FlexRadarAxis.prototype._isOverlapped=function(t,e,a,r){return!1};FlexRadarAxis.prototype.convert=function(t,e,a){var r=null==e?this.actualMax:e,i=null==a?this.actualMin:a,s=this._chart;if(!s)return NaN;if(r==i)return 0;if(this.axisType===wijmo_chart_1.AxisType.X)return s.reversed?(s.startAngle-(t-i)/(r-i)*s.totalAngle)*Math.PI/180:(s.startAngle+(t-i)/(r-i)*s.totalAngle)*Math.PI/180;if(this._getLogBase()){if(t<=0)return NaN;var n=Math.log(r/i);return Math.log(t/i)/n*s._radius}return(t-i)/(r-i)*s._radius};FlexRadarAxis.prototype._renderLineAndTitle=function(t){var e=this._chart,a=wijmo_chart_1.FlexChart._CSS_LINE,r=(e.startAngle-90)*Math.PI/180,i=e.totalAngle*Math.PI/180,s=e._radius;if(this.axisType===wijmo_chart_1.AxisType.X&&this.axisLine){t.stroke=wijmo_chart_1.FlexChart._FG;if(e._isPolar){r=e.reversed?r-i:r;t.drawPieSegment(e._center.x,e._center.y,s,r,i,a)}else this._renderPolygon(t,s,a)}};FlexRadarAxis.prototype._renderPolygon=function(t,e,a){var r=this._chart,i=r._angles,s=i.length,n=r.axisX.minorGrid,o=[],l=[];i.forEach((function(t,a){if(n&&a>0){var s=r._convertPoint(e,t.value-(t.value-i[a-1].value)/2);o.push(s.x);l.push(s.y)}var _=r._convertPoint(e,t.value);o.push(_.x);l.push(_.y)}));if(r.totalAngle<360){o.push(r._center.x);l.push(r._center.y)}else if(n&&s>=2){var _=r._convertPoint(e,i[s-1].value-(i[s-2].value-i[s-1].value)/2);o.push(_.x);l.push(_.y)}t.drawPolygon(o,l,a)};FlexRadarAxis.prototype._renderMinors=function(t,e,a,r){var i,s=this,n=this._chart,o=wijmo_chart_1.FlexChart._CSS_GRIDLINE_MINOR,l=this.minorGrid,_=n._angles,h=_.length,c=n.axisX.minorGrid,u=wijmo_chart_1.FlexChart._FG,d=this._GRIDLINE_WIDTH,p=(n.startAngle,Math.PI,n.totalAngle,Math.PI,this._TICK_OVERLAP),x=this.minorTickMarks,m=!0;this._vals.minor=e;x==wijmo_chart_1.TickMark.Outside?p=1:x==wijmo_chart_1.TickMark.Inside?p=-1:x==wijmo_chart_1.TickMark.Cross?p=0:m=!1;if(this.axisType==wijmo_chart_1.AxisType.Y){t.stroke=u;t.strokeWidth=d;e.forEach((function(e){var a=s.convert(e);l&&s._renderYGridLine(t,n,a,o);if(m){_.forEach((function(e,r){if(c&&r>0){i=e.value-(e.value-_[r-1].value)/2;var o=n._convertPoint(a,i);s._drawMinorTickLength(t,p,i,o)}i=e.value;var l=n._convertPoint(a,i);s._drawMinorTickLength(t,p,i,l)}));if(c&&h>=2){i=_[h-1].value-(_[h-2].value-_[h-1].value)/2;var r=n._convertPoint(a,i);s._drawMinorTickLength(t,p,i,r)}}}))}else{t.stroke=u;t.strokeWidth=d;e.forEach((function(e){var a=s.convert(e);if(l){s._renderXGridLine(t,n,a,o);m&&s._drawMinorTickLength(t,p,a-Math.PI/2,n._convertPoint(n._radius,a))}}))}};FlexRadarAxis.prototype._drawMinorTickLength=function(t,e,a,r){var i=this._TICK_HEIGHT,s=wijmo_chart_1.FlexChart._CSS_TICK_MINOR,n=.5*(e-1)*i*Math.cos(a),o=.5*(1+e)*i*Math.cos(a),l=.5*(e-1)*i*Math.sin(a),_=.5*(1+e)*i*Math.sin(a);t.drawLine(r.x+n,r.y+l,r.x+o,r.y+_,s)};FlexRadarAxis.prototype._renderLabelsAndTicks=function(t,e,a,r,i,s,n,o,l){i=this.labelAngle||0;var _,h=this._chart,c=this.labelPadding||2,u=wijmo_chart_1.FlexChart._CSS_LABEL,d=wijmo_chart_1.FlexChart._CSS_GRIDLINE,p=wijmo_chart_1.FlexChart._CSS_TICK,x=wijmo_chart_1.FlexChart._FG,m=this._TICK_WIDTH,f=this.majorGrid,y=wijmo_chart_1.FlexChart._FG,g=this._GRIDLINE_WIDTH,v=h.startAngle*Math.PI/180,w=(h.totalAngle,Math.PI,1);if(this.axisType==wijmo_chart_1.AxisType.Y){f=a!=this.actualMin&&f&&a!=this.actualMax;var A=this.convert(a),P=h._convertPoint(A,v);if(f){t.stroke=y;t.strokeWidth=g;this._renderYGridLine(t,h,A,d)}t.stroke=x;t.strokeWidth=m;if(n){(_=(h.startAngle%360+360)%360)<=90&&_>=75||_>=270&&_<=285?w=2:(_>90&&_<=105||_<270&&_>=255)&&(w=0);var j=new wijmo_1.Point(P.x-c-Math.abs(o-l),P.y);this._axisLabels.push({val:a,text:r,pos:j,align:2,vAlign:w,labelAngle:i,class:u})}s!=wijmo_chart_1.TickMark.None&&t.drawLine(P.x-l*Math.cos(v),P.y-l*Math.sin(v),P.x-o*Math.cos(v),P.y-o*Math.sin(v),p)}else{var T=this.convert(a);if(f){t.stroke=y;t.strokeWidth=g;this._renderXGridLine(t,h,T,d)}t.stroke=x;t.strokeWidth=m;if(n){j=h._convertPoint(h._radius+c,T);var R,b,L=void 0;L=h._angles&&h._angles.length?h._angles[e].angle:h.startAngle+(a-this.actualMin)*h.totalAngle/(this.actualMax-this.actualMin);L=(L%=360)>=0?L:L+360;R=this._getXLabelVAlign(L);b=this._getXLabelAlign(L);h._isPolar&&(r=this._formatValue(L));i>0||i<0?wijmo_chart_1.FlexChart._renderRotatedText(t,r,j,b,R,j,i,u):this._renderLabel(t,a,r,j,b,R,u)}s!=wijmo_chart_1.TickMark.None&&this._renderXTick(t,h,T,p,o,l)}return!0};FlexRadarAxis.prototype._renderXGridLine=function(t,e,a,r){var i=e._center,s=e._convertPoint(e._radius,a);t.drawLine(i.x,i.y,s.x,s.y,r)};FlexRadarAxis.prototype._renderXTick=function(t,e,a,r,i,s){var n,o;e._center;n=e._convertPoint(e._radius+i,a);o=e._convertPoint(e._radius+s,a);t.drawLine(n.x,n.y,o.x,o.y,r)};FlexRadarAxis.prototype._renderYGridLine=function(t,e,a,r){e._angles;var i=e._center,s=e.startAngle*Math.PI/180,n=e.totalAngle*Math.PI/180;if(e._isPolar){s=(e.startAngle-90)*Math.PI/180;s=e.reversed?s-n:s;t.drawPieSegment(i.x,i.y,a,s,n,r)}else this._renderPolygon(t,a,r)};FlexRadarAxis.prototype._getXLabelVAlign=function(t){var e=1,a=this._chart,r=a.startAngle;a.reversed&&(t=(360+r+(r%360-t%360))%360);0===t?e=2:180===t&&(e=0);return e};FlexRadarAxis.prototype._getXLabelAlign=function(t){var e=0,a=this._chart,r=a.startAngle;a.reversed&&(t=(360+r+(r%360-t%360))%360);t>0&&t<180?e=-1:t>180&&t<360&&(e=1);return e+1};FlexRadarAxis.prototype._createTimeLabels=function(e,a,r,i){var s=this;if(this._axisType==wijmo_chart_1.AxisType.Y)t.prototype._createTimeLabels.call(this,e,a,r,i);else{var n=this._values;this.format;if(!n||0===n.length)return;n.forEach((function(t){r.push(t);i.push(s._formatValue(t))}))}};FlexRadarAxis.prototype._niceNumber=function(e,a,r){var i=this._chart,s=this.actualMax-this.actualMin,n=i.totalAngle;n>360&&(n%=360);return i._isPolar?n%8==0?s/8:n%6==0?s/6:n%4==0?s/4:n%3==0?s/3:n%2==0?s/2:t.prototype._niceNumber.call(this,e,a,r):t.prototype._niceNumber.call(this,e,a,r)};return FlexRadarAxis}(wijmo_chart_1.Axis);exports.FlexRadarAxis=FlexRadarAxis;wijmo_1._registerModule("wijmo.chart.radar",selfModule);
|