@arcgis/charts-components 5.1.0-next.99 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cdn/2JFIUU3X.js +2 -0
- package/dist/cdn/2JUO3GP2.js +2 -0
- package/dist/cdn/{GDFOZNYR.js → 2WDUA6L4.js} +2 -2
- package/dist/cdn/334U2KAR.js +2 -0
- package/dist/cdn/3A5542IZ.js +2 -0
- package/dist/cdn/3DYFAIW2.js +2 -0
- package/dist/cdn/43P4WOC4.js +2 -0
- package/dist/cdn/4LA6DRGM.js +2 -0
- package/dist/cdn/4P6NLXDP.js +2 -0
- package/dist/cdn/4XSIB5AA.js +2 -0
- package/dist/cdn/{OEZ2XTZE.js → 64HPM724.js} +1 -1
- package/dist/cdn/6BJXOUW2.js +2 -0
- package/dist/cdn/6IL4JEXA.js +2 -0
- package/dist/cdn/6JI4NDJ6.js +2 -0
- package/dist/cdn/6KA24PEA.js +2 -0
- package/dist/cdn/6TV5E5JT.js +2 -0
- package/dist/cdn/75Y43JLP.js +2 -0
- package/dist/cdn/777EBGS5.js +2 -0
- package/dist/cdn/7HZFPSKD.js +2 -0
- package/dist/cdn/7MKAC33Z.js +2 -0
- package/dist/cdn/7X2HKQS7.js +2 -0
- package/dist/cdn/AHPLTCSH.js +2 -0
- package/dist/cdn/AVVOHZH7.js +2 -0
- package/dist/cdn/AZEQVTDQ.js +2 -0
- package/dist/cdn/AZIX3IFP.js +2 -0
- package/dist/cdn/BNTRLKLG.js +2 -0
- package/dist/cdn/BSFUPCQF.js +2 -0
- package/dist/cdn/C2TRAWJB.js +2 -0
- package/dist/cdn/CH3BYORW.js +2 -0
- package/dist/cdn/CPYOPFIS.js +2 -0
- package/dist/cdn/CPYPTGTK.js +2 -0
- package/dist/cdn/CSV6Q3VU.js +2 -0
- package/dist/cdn/CWJZT5NA.js +2 -0
- package/dist/cdn/D64RR3BQ.js +2 -0
- package/dist/cdn/E6ICXDNS.js +2 -0
- package/dist/cdn/EBN6GWGZ.js +2 -0
- package/dist/cdn/EX7VWKWX.js +2 -0
- package/dist/cdn/EXTC334W.js +2 -0
- package/dist/cdn/F6NHEUXC.js +2 -0
- package/dist/cdn/F7KMJXGD.js +2 -0
- package/dist/cdn/FCBTMNYR.js +2 -0
- package/dist/cdn/FIMXZMTB.js +2 -0
- package/dist/cdn/FNHDDK6Y.js +2 -0
- package/dist/cdn/GFLYSDHX.js +2 -0
- package/dist/cdn/H2F4EMEO.js +2 -0
- package/dist/cdn/HBEEYG5R.js +2 -0
- package/dist/cdn/HCEKAYF5.js +2 -0
- package/dist/cdn/HCIVARDS.js +2 -0
- package/dist/cdn/HIVZ4CAD.js +2 -0
- package/dist/cdn/HXLQEUPH.js +2 -0
- package/dist/cdn/{7LOXDMX3.js → JBWK3DSH.js} +1 -1
- package/dist/cdn/JW6KFBCT.js +2 -0
- package/dist/cdn/K6N5BBOM.js +2 -0
- package/dist/cdn/K7IQIF6X.js +2 -0
- package/dist/cdn/KGNYAMFB.js +2 -0
- package/dist/cdn/{4QCCCXMK.js → KUEF5L2Y.js} +1 -1
- package/dist/cdn/LHHRGNPI.js +2 -0
- package/dist/cdn/LM3RWOCL.js +2 -0
- package/dist/cdn/LSOS2REF.js +2 -0
- package/dist/cdn/{6ES4YKXX.js → LY7A6MST.js} +1 -1
- package/dist/cdn/{MRTH2CHN.js → M23H264O.js} +1 -1
- package/dist/cdn/MEQCCHAT.js +2 -0
- package/dist/cdn/MFOZISZU.js +2 -0
- package/dist/cdn/{FPDW4F45.js → MZ2UZAFW.js} +1 -1
- package/dist/cdn/NNH6F2PX.js +2 -0
- package/dist/cdn/NQAPPISU.js +2 -0
- package/dist/cdn/OH3XEKCB.js +2 -0
- package/dist/cdn/OR5W4LAU.js +2 -0
- package/dist/cdn/OTJX7BJS.js +2 -0
- package/dist/cdn/P5XJTTU3.js +3 -0
- package/dist/cdn/PDBL2LVQ.js +2 -0
- package/dist/cdn/PUWB3ZW4.js +2 -0
- package/dist/cdn/{SXLPETPI.js → PXEQJDTP.js} +1 -1
- package/dist/cdn/QLAAJ4TP.js +2 -0
- package/dist/cdn/QMOXGUU6.js +2 -0
- package/dist/cdn/QQY7FC2J.js +2 -0
- package/dist/cdn/QV7ZOLEX.js +2 -0
- package/dist/cdn/QY4I5GS2.js +4 -0
- package/dist/cdn/R7NIN2IP.js +2 -0
- package/dist/cdn/RV3ILDL6.js +2 -0
- package/dist/cdn/RXOISEOG.js +2 -0
- package/dist/cdn/SBS4J65N.js +2 -0
- package/dist/cdn/SPI2NEGA.js +2 -0
- package/dist/cdn/SPXLWSUF.js +2 -0
- package/dist/cdn/SS5KCPTA.js +2 -0
- package/dist/cdn/SSLS3BOB.js +2 -0
- package/dist/cdn/SU5G6JQD.js +2 -0
- package/dist/cdn/{XSMRKVR2.js → TJQGGNGV.js} +1 -1
- package/dist/cdn/{HX4RTI3G.js → TLS7SEFF.js} +1 -1
- package/dist/cdn/TOO3T62Y.js +2 -0
- package/dist/cdn/TTSQHXH3.js +2 -0
- package/dist/cdn/TWUQ2ILR.js +102 -0
- package/dist/cdn/U2LFGV2U.js +2 -0
- package/dist/cdn/UFYGFN2M.js +2 -0
- package/dist/cdn/UM6YK4R4.js +2 -0
- package/dist/cdn/USBY2OTE.js +233 -0
- package/dist/cdn/UUNBOK5Y.js +2 -0
- package/dist/cdn/V6NWTBC4.js +58 -0
- package/dist/cdn/VANTG2HX.js +2 -0
- package/dist/cdn/VESCHQRS.js +2 -0
- package/dist/cdn/VKY6S62L.js +2 -0
- package/dist/cdn/VPURXMI6.js +2 -0
- package/dist/cdn/VUZ4QNET.js +2 -0
- package/dist/cdn/WC4T47OL.js +2 -0
- package/dist/cdn/WEGNK77V.js +2 -0
- package/dist/cdn/WND4PQ7O.js +2 -0
- package/dist/cdn/XI3H6GMK.js +2 -0
- package/dist/cdn/XOB365BI.js +2 -0
- package/dist/cdn/XVU4S23S.js +2 -0
- package/dist/cdn/YK5PPTDT.js +2 -0
- package/dist/cdn/YKGXUFVU.js +2 -0
- package/dist/cdn/YUO2G7OX.js +3 -0
- package/dist/cdn/YX7I5VFP.js +2 -0
- package/dist/cdn/ZPNW6LWT.js +2 -0
- package/dist/cdn/{FKZETVX5.js → ZWFVKTLC.js} +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +11 -10
- package/dist/chunks/axis-lines-symbol.js +13 -13
- package/dist/chunks/bar-chart-model.js +24 -51
- package/dist/chunks/bar-chart-series.js +10 -40
- package/dist/chunks/box-plot-data.js +149 -170
- package/dist/chunks/box-plot-model.js +118 -110
- package/dist/chunks/chart-model.js +184 -179
- package/dist/chunks/chart-object-literals.js +189 -0
- package/dist/chunks/chart-ui-utils.js +17 -16
- package/dist/chunks/chart-ui-utils2.js +91 -117
- package/dist/chunks/class-breaks.js +375 -196
- package/dist/chunks/combo-bar-line-chart-model.js +14 -13
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +56 -84
- package/dist/chunks/data.js +76 -99
- package/dist/chunks/default.js +6 -7
- package/dist/chunks/gauge-model.js +206 -191
- package/dist/chunks/generate-x-axis-title.js +40 -67
- package/dist/chunks/heat-chart-model.js +180 -180
- package/dist/chunks/histogram-data.js +56 -80
- package/dist/chunks/histogram-model.js +30 -30
- package/dist/chunks/index.js +568 -20527
- package/dist/chunks/index2.js +8756 -596
- package/dist/chunks/index3.js +876 -160
- package/dist/chunks/index4.js +10840 -82
- package/dist/chunks/index5.js +100 -63
- package/dist/chunks/index6.js +66 -0
- package/dist/chunks/interfaces.js +31 -32
- package/dist/chunks/line-chart-model.js +24 -23
- package/dist/chunks/model-setter.js +41 -37
- package/dist/chunks/model-types.js +43 -0
- package/dist/chunks/model-with-x-guides.js +6 -6
- package/dist/chunks/model-with-y-guides.js +90 -117
- package/dist/chunks/negative-values-stacked-to-baseline.js +50 -79
- package/dist/chunks/pie-chart-data.js +88 -110
- package/dist/chunks/pie-chart-model.js +63 -86
- package/dist/chunks/radar-chart-model.js +35 -62
- package/dist/chunks/resource.js +8 -10
- package/dist/chunks/rotated-state.js +25 -53
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/scatterplot-model.js +59 -81
- package/dist/chunks/serial-chart-data.js +795 -704
- package/dist/chunks/serial-chart-model.js +204 -220
- package/dist/chunks/series-length.js +26 -54
- package/dist/chunks/series-types.js +21 -205
- package/dist/chunks/series.js +9 -38
- package/dist/chunks/store.js +5 -5
- package/dist/chunks/time-zone.js +12 -13
- package/dist/chunks/type-guards.js +23 -132
- package/dist/chunks/type-guards2.js +100 -191
- package/dist/chunks/type-guards3.js +173 -0
- package/dist/chunks/utils.js +120 -128
- package/dist/chunks/utils2.js +34 -63
- package/dist/chunks/web-component-utils.js +660 -396
- package/dist/chunks/x-bounds.js +74 -100
- package/dist/components/arcgis-chart/customElement.d.ts +83 -55
- package/dist/components/arcgis-chart/customElement.js +8108 -8131
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +18 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +25 -26
- package/dist/components/arcgis-charts-config-axis/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +36 -63
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +49 -72
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +33 -54
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +37 -64
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +15 -43
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +12 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +87 -111
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +41 -65
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +14 -41
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +22 -49
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +17 -45
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +46 -66
- package/dist/components/arcgis-charts-config-font-style/customElement.js +21 -48
- package/dist/components/arcgis-charts-config-format/customElement.js +58 -85
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +12 -44
- package/dist/components/arcgis-charts-config-general/customElement.js +29 -55
- package/dist/components/arcgis-charts-config-guide/customElement.js +40 -64
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +22 -54
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -3
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +10 -39
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +29 -56
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +152 -174
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +51 -74
- package/dist/components/arcgis-charts-config-histogram/customElement.js +33 -55
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +63 -86
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -57
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +27 -54
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +25 -48
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +46 -69
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +33 -61
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +14 -42
- package/dist/components/arcgis-charts-config-line-style/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +28 -55
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +24 -49
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +43 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +40 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +15 -43
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -55
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +73 -96
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +16 -42
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +10 -38
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +21 -50
- package/dist/components/arcgis-charts-info-modal/customElement.js +24 -49
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +65 -3
- package/dist/index.js +476 -461
- package/dist/json-schema/index.d.ts +4834 -4729
- package/dist/loader.js +2 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +12 -12
- package/dist/model/chart-model/chart-model-base.d.ts +2 -2
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/gauge-model/gauge-model.d.ts +25 -7
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +7 -0
- package/dist/model/interfaces/chart-interfaces.d.ts +5 -2
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/line-chart-model/line-chart-model.d.ts +3 -3
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -6
- package/dist/model/properties/axes/x-axis/x-bounds.d.ts +2 -3
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +1 -1
- package/dist/model/shared/setup-utils.d.ts +5 -2
- package/dist/model/shared/setup-utils.js +80 -0
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +54 -3
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.d.ts +2 -1
- package/dist/utils/chart-config/converter/index.js +723 -0
- package/dist/utils/chart-config/utils/index.d.ts +49 -9
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +4 -4
- package/dist/utils/components/themes.d.ts +8 -0
- package/dist/utils/data/categorical-data/index.d.ts +4 -1
- package/dist/utils/data/index.d.ts +26 -19
- package/dist/utils/defaults/index.d.ts +23 -4
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +32 -11
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/query-features/index.d.ts +20 -3
- package/dist/utils/layer/query-parser/index.d.ts +7 -5
- package/dist/utils/layer/utils/index.d.ts +21 -8
- package/dist/utils/localization/interfaces.d.ts +18 -0
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/type-guards/index.d.ts +9 -1
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +12 -9
- package/dist/cdn/2L4KRFAO.js +0 -2
- package/dist/cdn/2WMGX4LG.js +0 -2
- package/dist/cdn/3LHIBPWU.js +0 -2
- package/dist/cdn/3NHSJC2V.js +0 -2
- package/dist/cdn/3TYKSX6S.js +0 -2
- package/dist/cdn/437PRHGP.js +0 -2
- package/dist/cdn/4A46GMQH.js +0 -2
- package/dist/cdn/4AP7OF2H.js +0 -2
- package/dist/cdn/533OIYHT.js +0 -2
- package/dist/cdn/54JMGDNM.js +0 -2
- package/dist/cdn/6WQO34EX.js +0 -2
- package/dist/cdn/7BIC7WRS.js +0 -2
- package/dist/cdn/7JYYEL7C.js +0 -2
- package/dist/cdn/7RRIPRBW.js +0 -2
- package/dist/cdn/ABRBND33.js +0 -2
- package/dist/cdn/AKNI6ZDM.js +0 -2
- package/dist/cdn/B5DED64I.js +0 -2
- package/dist/cdn/BGHKBRAY.js +0 -2
- package/dist/cdn/BIBH7Z6B.js +0 -2
- package/dist/cdn/BVLDD7VH.js +0 -2
- package/dist/cdn/BYMLWT4F.js +0 -2
- package/dist/cdn/C6VFUQYR.js +0 -2
- package/dist/cdn/CBAUBDVW.js +0 -2
- package/dist/cdn/CJPYRPNG.js +0 -2
- package/dist/cdn/D4THJNNH.js +0 -2
- package/dist/cdn/DOKKZWPP.js +0 -2
- package/dist/cdn/DQOPCAYH.js +0 -2
- package/dist/cdn/ETKEDYJI.js +0 -2
- package/dist/cdn/ETLJKITO.js +0 -2
- package/dist/cdn/FPOY54UW.js +0 -2
- package/dist/cdn/FRTL3JKO.js +0 -2
- package/dist/cdn/FSPMT24F.js +0 -2
- package/dist/cdn/FTTFIYT7.js +0 -2
- package/dist/cdn/FXE7IJTK.js +0 -2
- package/dist/cdn/GCLBISUU.js +0 -2
- package/dist/cdn/GG4V6IWC.js +0 -2
- package/dist/cdn/GN55TJMJ.js +0 -2
- package/dist/cdn/GR2MDXNR.js +0 -2
- package/dist/cdn/GSIQ3AM5.js +0 -100
- package/dist/cdn/HRWT2MVN.js +0 -2
- package/dist/cdn/HZLHE35F.js +0 -2
- package/dist/cdn/J34XNLVV.js +0 -2
- package/dist/cdn/JII3X6GD.js +0 -2
- package/dist/cdn/JIJTDQNZ.js +0 -2
- package/dist/cdn/JP5QECNE.js +0 -2
- package/dist/cdn/JQAYCBRF.js +0 -2
- package/dist/cdn/JXUQXIWS.js +0 -2
- package/dist/cdn/KDU3ISRJ.js +0 -2
- package/dist/cdn/KHK4ESCR.js +0 -2
- package/dist/cdn/KJXMX3GJ.js +0 -2
- package/dist/cdn/KYO65OVO.js +0 -2
- package/dist/cdn/KZQPT32K.js +0 -2
- package/dist/cdn/L5ESAQAD.js +0 -2
- package/dist/cdn/LRLFI235.js +0 -2
- package/dist/cdn/LTPICGE4.js +0 -2
- package/dist/cdn/M6AWZ4GQ.js +0 -2
- package/dist/cdn/N3QESBWD.js +0 -2
- package/dist/cdn/N72JHWOW.js +0 -2
- package/dist/cdn/NJOCWENE.js +0 -2
- package/dist/cdn/NLPIWZ6O.js +0 -2
- package/dist/cdn/NTMKUPVQ.js +0 -58
- package/dist/cdn/OG6XNLNH.js +0 -2
- package/dist/cdn/OGYHFMDK.js +0 -2
- package/dist/cdn/OM2N4R7B.js +0 -2
- package/dist/cdn/OXOPYUOS.js +0 -2
- package/dist/cdn/PDXLVDA2.js +0 -2
- package/dist/cdn/PE5WVBYF.js +0 -2
- package/dist/cdn/PECU6KQ5.js +0 -2
- package/dist/cdn/PSDHB4WG.js +0 -2
- package/dist/cdn/QCLX4TIM.js +0 -2
- package/dist/cdn/QCNYOXG2.js +0 -2
- package/dist/cdn/QNEGICXV.js +0 -2
- package/dist/cdn/QQNMK2QL.js +0 -2
- package/dist/cdn/R2R6BF6O.js +0 -2
- package/dist/cdn/SCVQSDX5.js +0 -2
- package/dist/cdn/SN4BIMRO.js +0 -2
- package/dist/cdn/T5RPAQYI.js +0 -2
- package/dist/cdn/TCJ5YAK5.js +0 -2
- package/dist/cdn/TNXVGUYE.js +0 -2
- package/dist/cdn/TQG6RDX5.js +0 -2
- package/dist/cdn/UOUARC5O.js +0 -2
- package/dist/cdn/URX6VCYJ.js +0 -2
- package/dist/cdn/V3TCGIPS.js +0 -2
- package/dist/cdn/VFNQXIXU.js +0 -2
- package/dist/cdn/VOTMKVNY.js +0 -2
- package/dist/cdn/VRCCFTGJ.js +0 -2
- package/dist/cdn/W553UCBH.js +0 -4
- package/dist/cdn/WMLNHOVN.js +0 -2
- package/dist/cdn/WTPRSRPB.js +0 -2
- package/dist/cdn/XEDWXXF3.js +0 -2
- package/dist/cdn/XOY4K5NH.js +0 -2
- package/dist/cdn/Y4DORYPQ.js +0 -2
- package/dist/cdn/YEOSKZ4Q.js +0 -2
- package/dist/cdn/ZAKAJKUI.js +0 -2
- package/dist/cdn/ZIAGMMWU.js +0 -2
- package/dist/cdn/ZNOJBKUZ.js +0 -2
- package/dist/chunks/setup-utils.js +0 -79
- package/dist/model/index.d.ts +0 -19
- package/dist/model.js +0 -42
- package/dist/spec/index.d.ts +0 -8
- package/dist/utils/index.d.ts +0 -33
- /package/dist/cdn/{SOIF6AMX.js → 27Y4YBZ7.js} +0 -0
- /package/dist/cdn/{BQOMKKBK.js → 2W64WSBS.js} +0 -0
- /package/dist/cdn/{NGLXQHZ2.js → 3S33OYZS.js} +0 -0
- /package/dist/cdn/{ALRIN5E5.js → 47SEEPGM.js} +0 -0
- /package/dist/cdn/{EVHJVY4I.js → 4CEOP4CL.js} +0 -0
- /package/dist/cdn/{ZL5EGDOW.js → 4NXQY2SY.js} +0 -0
- /package/dist/cdn/{I3BNBZ4D.js → 4RZOR2GZ.js} +0 -0
- /package/dist/cdn/{COQ55XOW.js → 5S37PAVK.js} +0 -0
- /package/dist/cdn/{TX2SYGTH.js → 5VCKTFEN.js} +0 -0
- /package/dist/cdn/{NPVXLEZW.js → 6SLYYVAM.js} +0 -0
- /package/dist/cdn/{MS6EYP4R.js → 75WJAOD5.js} +0 -0
- /package/dist/cdn/{3OGKV4KZ.js → 76OQVFII.js} +0 -0
- /package/dist/cdn/{LOX7MXL4.js → 7GXB5ABV.js} +0 -0
- /package/dist/cdn/{AVU2CHAB.js → 7S4C7DMD.js} +0 -0
- /package/dist/cdn/{WRNEDEFZ.js → A4O5PTH7.js} +0 -0
- /package/dist/cdn/{YQJLA77R.js → A52S6LGL.js} +0 -0
- /package/dist/cdn/{DNSUOJXJ.js → BR7YHHRO.js} +0 -0
- /package/dist/cdn/{X7ENJ4HH.js → BXOAEW3W.js} +0 -0
- /package/dist/cdn/{KCILWIMQ.js → CS6SBRT6.js} +0 -0
- /package/dist/cdn/{BY77PBZ2.js → D63ZM4I6.js} +0 -0
- /package/dist/cdn/{G2L5FYWK.js → DGYDZT63.js} +0 -0
- /package/dist/cdn/{FSNQ3YXX.js → DTU5F26A.js} +0 -0
- /package/dist/cdn/{F57IRWBF.js → FCE53PT5.js} +0 -0
- /package/dist/cdn/{EIIQ2CSC.js → G626QVCR.js} +0 -0
- /package/dist/cdn/{GR4BZF3L.js → GBLD6EF5.js} +0 -0
- /package/dist/cdn/{B4ULOSFG.js → HM7TTHYN.js} +0 -0
- /package/dist/cdn/{3VMIFF7C.js → JHXWK5HY.js} +0 -0
- /package/dist/cdn/{JM6E3U5J.js → JUUAJRZL.js} +0 -0
- /package/dist/cdn/{HJW6UNEH.js → LZTVRB5K.js} +0 -0
- /package/dist/cdn/{FLSUJTUZ.js → N4ZIPC6C.js} +0 -0
- /package/dist/cdn/{GWPFABGL.js → NF4ADSMI.js} +0 -0
- /package/dist/cdn/{SXJYUHC3.js → OPJ6LPA2.js} +0 -0
- /package/dist/cdn/{S5OM65RV.js → PDWS67CW.js} +0 -0
- /package/dist/cdn/{47EOUNYO.js → QSAYNOYT.js} +0 -0
- /package/dist/cdn/{THJTENN5.js → SEV3K4MK.js} +0 -0
- /package/dist/cdn/{KBDOBMB5.js → TWPDFIMS.js} +0 -0
- /package/dist/cdn/{BUCYRXMT.js → U6BD2QQW.js} +0 -0
- /package/dist/cdn/{6HUDF5Q2.js → WXLU5XAQ.js} +0 -0
- /package/dist/cdn/{HLSO5KDC.js → XLHC66GD.js} +0 -0
- /package/dist/cdn/{NSRIVIOH.js → XQL5X2VK.js} +0 -0
- /package/dist/cdn/{S5EI7T2D.js → Y4YDLI6O.js} +0 -0
- /package/dist/cdn/{RHGKKMJG.js → YIK7I32W.js} +0 -0
- /package/dist/cdn/{5TOYNVTW.js → ZYBUK2GC.js} +0 -0
|
@@ -2,40 +2,13 @@
|
|
|
2
2
|
import { c as I } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as P, html as n } from "lit";
|
|
4
4
|
import { keyed as y } from "lit/directives/keyed.js";
|
|
5
|
-
import "@arcgis/toolkit/intl";
|
|
6
|
-
import "lodash-es";
|
|
7
|
-
import "luxon";
|
|
8
|
-
import { b as d } from "../../chunks/series-types.js";
|
|
9
|
-
import "@arcgis/toolkit/type";
|
|
10
|
-
import { C as S } from "../../chunks/index.js";
|
|
11
|
-
import "@arcgis/core/Graphic.js";
|
|
12
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
14
|
-
import "@esri/arcgis-html-sanitizer";
|
|
15
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
17
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
18
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
19
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
20
|
-
import "@arcgis/core/intl.js";
|
|
21
|
-
import "simple-statistics";
|
|
22
|
-
import "@arcgis/core/request.js";
|
|
23
|
-
import "@arcgis/core/core/sql.js";
|
|
24
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
25
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
26
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
27
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
28
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
29
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
30
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
31
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
32
|
-
import "@arcgis/core/geometry/Point.js";
|
|
33
|
-
import "@arcgis/toolkit/dom";
|
|
34
|
-
import { r as f } from "../../chunks/popover-ui-utils.js";
|
|
35
5
|
import { repeat as M } from "lit/directives/repeat.js";
|
|
36
6
|
import { u as B } from "../../chunks/useT9n.js";
|
|
37
|
-
import { LitElement as O, renderElement as
|
|
38
|
-
import {
|
|
7
|
+
import { LitElement as O, renderElement as d, safeStyleMap as h, safeClassMap as a } from "@arcgis/lumina";
|
|
8
|
+
import { a as w } from "../../chunks/chart-ui-utils2.js";
|
|
9
|
+
import { C as S } from "../../chunks/index3.js";
|
|
10
|
+
import { r as f } from "../../chunks/popover-ui-utils.js";
|
|
11
|
+
import { b as m } from "../../chunks/chart-object-literals.js";
|
|
39
12
|
const l = {
|
|
40
13
|
topSection: "top-section",
|
|
41
14
|
sectionLabel: "section-label",
|
|
@@ -49,7 +22,7 @@ class N extends O {
|
|
|
49
22
|
}, this.onMultipleSeriesSelect = (e) => {
|
|
50
23
|
if (!this.shouldDisableMeanLinesOption()) {
|
|
51
24
|
const i = e.target, t = i.value ?? i.parentElement.value ?? "";
|
|
52
|
-
this.model.showMeanLines = t ===
|
|
25
|
+
this.model.showMeanLines = t === m.MeanLines;
|
|
53
26
|
}
|
|
54
27
|
}, this.seriesNameChange = (e) => {
|
|
55
28
|
if (e.detail !== null || e.detail !== void 0) {
|
|
@@ -91,7 +64,7 @@ class N extends O {
|
|
|
91
64
|
}
|
|
92
65
|
}, this.createTooltip = (e, i) => {
|
|
93
66
|
const t = e.target;
|
|
94
|
-
this.tooltip =
|
|
67
|
+
this.tooltip = d(n`<calcite-tooltip style=${h({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${i ?? ""}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
95
68
|
}, this.destroyTooltip = () => {
|
|
96
69
|
w(this.tooltip);
|
|
97
70
|
}, this.onModelConfigChange = () => {
|
|
@@ -128,21 +101,21 @@ class N extends O {
|
|
|
128
101
|
buildSeriesListItems() {
|
|
129
102
|
const e = this.model.seriesLength, i = this.model.boxPlotSeriesIndexWhenMeanLinesShown, t = Array.from({ length: e }, (s, o) => o);
|
|
130
103
|
return M(t, (s) => this.model.getSeriesId(s), (s) => {
|
|
131
|
-
const o = this.model.getSeriesId(s), c = this.model.getSeriesColor(s), v = this.model.getSeriesName(s),
|
|
132
|
-
let
|
|
104
|
+
const o = this.model.getSeriesId(s), c = this.model.getSeriesColor(s), v = this.model.getSeriesName(s), g = this.model.chartSubType, u = g === S.BoxPlotMonoField || g === S.BoxPlotMultiFields ? this._messages.series : o;
|
|
105
|
+
let p = "#CCCCCC", C = "minus-square";
|
|
133
106
|
if ((e > 1 || !this.activeColorMatch) && c !== void 0) {
|
|
134
107
|
C = this.model.showMeanLines === !0 ? "line-solid" : "square-f";
|
|
135
108
|
const [x, $, L, b] = [...c];
|
|
136
|
-
|
|
109
|
+
p = `rgba(${x},${$},${L},${b / 255})`;
|
|
137
110
|
}
|
|
138
|
-
return i !== s ? n`<calcite-list-item .label=${v ?? o ?? ""} .description=${u} .value=${o} .selected=${this.selectedSeriesIndex === s} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${C} style=${
|
|
111
|
+
return i !== s ? n`<calcite-list-item .label=${v ?? o ?? ""} .description=${u} .value=${o} .selected=${this.selectedSeriesIndex === s} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${C} style=${h({ color: p })}></calcite-icon></calcite-list-item>` : null;
|
|
139
112
|
});
|
|
140
113
|
}
|
|
141
114
|
buildSeriesList() {
|
|
142
115
|
return y(this.seriesOrderResetCounter, n`<calcite-list label class=${a(l.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`);
|
|
143
116
|
}
|
|
144
117
|
setupSeriesPopover() {
|
|
145
|
-
this.removeSeriesPopover(), this.meanLinesBoxColorIsSelected ? this.seriesPopover =
|
|
118
|
+
this.removeSeriesPopover(), this.meanLinesBoxColorIsSelected ? this.seriesPopover = d(n`<arcgis-charts-config-box-plot-series-popover .referenceElement=${this.el} .selectedColor=${this.model.meanLinesBoxColor} .placement=${this.popoverPlacement} open .selectedSeriesIndex=${this.selectedSeriesIndex} .labelCanBeConfigured=${!this.meanLinesBoxColorIsSelected} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-box-plot-series-popover>`) : this.selectedSeriesIndex !== void 0 && (this.seriesPopover = d(n`<arcgis-charts-config-box-plot-series-popover .referenceElement=${this.el} .selectedName=${this.model.getSeriesName(this.selectedSeriesIndex)} .selectedColor=${this.model.getSeriesColor(this.selectedSeriesIndex)} .selectedLineStyle=${this.model.getSeriesLineStyle(this.selectedSeriesIndex)} .selectedLineWidth=${this.model.getSeriesLineWidth(this.selectedSeriesIndex)} .isLineSymbol=${this.model.showMeanLines} .placement=${this.popoverPlacement} open .selectedSeriesIndex=${this.selectedSeriesIndex} .labelCanBeConfigured=${!this.meanLinesBoxColorIsSelected} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-box-plot-series-popover>`)), this.seriesPopover && !document.body.contains(this.seriesPopover) && document.body.appendChild(this.seriesPopover);
|
|
146
119
|
}
|
|
147
120
|
shouldDisableMeanLinesOption() {
|
|
148
121
|
return this.model.splitByField === "" || this.model.splitByField === void 0;
|
|
@@ -155,13 +128,13 @@ class N extends O {
|
|
|
155
128
|
const [r, s, o, c] = [...t];
|
|
156
129
|
e = `rgba(${r},${s},${o},${c / 255})`;
|
|
157
130
|
}
|
|
158
|
-
return n`<calcite-list label class=${a(l.list)}><calcite-list-item value=box-plot-color .label=${this._messages.boxPlotColor} .selected=${this.meanLinesBoxColorIsSelected} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${i} style=${
|
|
131
|
+
return n`<calcite-list label class=${a(l.list)}><calcite-list-item value=box-plot-color .label=${this._messages.boxPlotColor} .selected=${this.meanLinesBoxColorIsSelected} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${i} style=${h({ color: e })}></calcite-icon></calcite-list-item></calcite-list>`;
|
|
159
132
|
}
|
|
160
133
|
renderMultipleSeriesOption() {
|
|
161
134
|
const e = this.shouldDisableMeanLinesOption();
|
|
162
135
|
return e ? [] : [
|
|
163
136
|
n`<div class=${`${l.sectionLabel} ${l.topSection}`}>${this._messages.displayMultipleSeries}</div>`,
|
|
164
|
-
n`<calcite-list label class=${a(l.list)} selection-mode=single-persist selection-appearance=border @click=${this.onMultipleSeriesSelect}><calcite-list-item .label=${this._messages.sideBySide} .value=${
|
|
137
|
+
n`<calcite-list label class=${a(l.list)} selection-mode=single-persist selection-appearance=border @click=${this.onMultipleSeriesSelect}><calcite-list-item .label=${this._messages.sideBySide} .value=${m.Side} .selected=${this.model.showMeanLines !== !0}><calcite-icon slot=content-start scale=l icon=graph-box-side-by-side></calcite-icon><calcite-icon class=${a(l.infoIcon)} slot=actions-end icon=information scale=s flip-rtl @mouseover=${(i) => this.createTooltip(i, this._messages.sideBySideTooltip ?? "")} @mouseout=${this.destroyTooltip}></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.meanLines} .value=${m.MeanLines} .disabled=${e} .selected=${this.model.showMeanLines === !0}><calcite-icon slot=content-start scale=l icon=graph-box-mean-lines></calcite-icon><calcite-icon class=${a(l.infoIcon)} slot=actions-end icon=information scale=s flip-rtl @mouseover=${(i) => this.createTooltip(i, this._messages.meanLinesTooltip ?? "")} @mouseout=${this.destroyTooltip}></calcite-icon></calcite-list-item></calcite-list>`,
|
|
165
138
|
this.model.showMeanLines === !0 ? this.renderMeanLinesBoxColorItem() : null
|
|
166
139
|
];
|
|
167
140
|
}
|
|
@@ -1,59 +1,32 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as g } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as C, html as a } from "lit";
|
|
4
|
-
import "@arcgis/toolkit/intl";
|
|
5
4
|
import { isEqual as f } from "lodash-es";
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "@arcgis/
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import "
|
|
12
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
14
|
-
import "@esri/arcgis-html-sanitizer";
|
|
15
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
17
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
18
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
19
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
20
|
-
import "@arcgis/core/intl.js";
|
|
21
|
-
import "simple-statistics";
|
|
22
|
-
import "@arcgis/core/request.js";
|
|
23
|
-
import "@arcgis/core/core/sql.js";
|
|
24
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
25
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
26
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
27
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
28
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
29
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
30
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
31
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
32
|
-
import "@arcgis/core/geometry/Point.js";
|
|
33
|
-
import "@arcgis/toolkit/dom";
|
|
34
|
-
import { e as y } from "../../chunks/popover-ui-utils.js";
|
|
35
|
-
import { u as S } from "../../chunks/useT9n.js";
|
|
36
|
-
import { createRef as u, ref as b } from "lit/directives/ref.js";
|
|
37
|
-
import { LitElement as $, createEvent as l, safeClassMap as n } from "@arcgis/lumina";
|
|
5
|
+
import { u as v } from "../../chunks/useT9n.js";
|
|
6
|
+
import { createRef as y, ref as S } from "lit/directives/ref.js";
|
|
7
|
+
import { LitElement as u, createEvent as r, safeClassMap as n } from "@arcgis/lumina";
|
|
8
|
+
import { e as b } from "../../chunks/popover-ui-utils.js";
|
|
9
|
+
import { aB as d } from "../../chunks/index.js";
|
|
10
|
+
import { i as $ } from "../../chunks/rest-js-object-literals.js";
|
|
38
11
|
const c = {
|
|
39
12
|
jsAppFlyout: "js-app-flyout",
|
|
40
13
|
panelChildrenContainer: "panel-children-container"
|
|
41
|
-
},
|
|
42
|
-
class
|
|
14
|
+
}, L = C`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}`;
|
|
15
|
+
class P extends u {
|
|
43
16
|
constructor() {
|
|
44
|
-
super(...arguments), this._messages =
|
|
17
|
+
super(...arguments), this._messages = v(), this.popoverElement = y(), this.isLineSymbol = !1, this.open = !1, this.labelCanBeConfigured = !1, this.arcgisChartsConfigPopoverClose = r(), this.arcgisChartsConfigSeriesPopoverColorChange = r(), this.arcgisChartsConfigSeriesPopoverLineStyleChange = r(), this.arcgisChartsConfigSeriesPopoverLineWidthChange = r(), this.arcgisChartsConfigSeriesPopoverNameChange = r();
|
|
45
18
|
}
|
|
46
19
|
static {
|
|
47
20
|
this.properties = { messageOverrides: 0, referenceElement: 0, selectedName: 1, selectedColor: 0, selectedLineStyle: 1, selectedLineWidth: 9, selectedSeriesIndex: 9, isLineSymbol: 5, placement: 1, open: 5, labelCanBeConfigured: 5 };
|
|
48
21
|
}
|
|
49
22
|
static {
|
|
50
|
-
this.styles =
|
|
23
|
+
this.styles = L;
|
|
51
24
|
}
|
|
52
25
|
async reposition() {
|
|
53
26
|
await this.popoverElement.value?.reposition();
|
|
54
27
|
}
|
|
55
28
|
updated() {
|
|
56
|
-
|
|
29
|
+
b(this.popoverElement.value, this.open);
|
|
57
30
|
}
|
|
58
31
|
seriesNameChange(e) {
|
|
59
32
|
const i = e.target.value;
|
|
@@ -63,30 +36,30 @@ class L extends $ {
|
|
|
63
36
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
64
37
|
}
|
|
65
38
|
colorChange(e) {
|
|
66
|
-
const i = e instanceof CustomEvent ? e.detail : e, [
|
|
67
|
-
this.selectedColor = [
|
|
39
|
+
const i = e instanceof CustomEvent ? e.detail : e, [o, t, s] = i, l = d * 255;
|
|
40
|
+
this.selectedColor = [o, t, s, l], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [o, t, s, l] });
|
|
68
41
|
}
|
|
69
42
|
lineSymbolChange(e) {
|
|
70
|
-
const { lineStyle: i } = e.target, { color:
|
|
71
|
-
if (
|
|
72
|
-
const [
|
|
73
|
-
this.selectedColor = [
|
|
43
|
+
const { lineStyle: i } = e.target, { color: o, style: t, width: s } = i;
|
|
44
|
+
if (o !== void 0 && !f(o, this.selectedColor)) {
|
|
45
|
+
const [l, h, p] = o, m = d * 255;
|
|
46
|
+
this.selectedColor = [l, h, p, m], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [l, h, p, m] });
|
|
74
47
|
}
|
|
75
|
-
t !== void 0 && t !== this.selectedLineStyle && (this.selectedLineStyle = t, this.arcgisChartsConfigSeriesPopoverLineStyleChange.emit({ style: t })),
|
|
48
|
+
t !== void 0 && t !== this.selectedLineStyle && (this.selectedLineStyle = t, this.arcgisChartsConfigSeriesPopoverLineStyleChange.emit({ style: t })), s !== void 0 && s !== this.selectedLineWidth && (this.selectedLineWidth = s, this.arcgisChartsConfigSeriesPopoverLineWidthChange.emit({ width: s }));
|
|
76
49
|
}
|
|
77
50
|
render() {
|
|
78
51
|
const e = this.selectedColor;
|
|
79
52
|
return a`<div class=${n({
|
|
80
53
|
[c.jsAppFlyout]: !0
|
|
81
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${
|
|
82
|
-
type:
|
|
54
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${S(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}>${this.labelCanBeConfigured ? a`<div class=${n(c.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div>` : null}<div class=${n(this.isLineSymbol ? "" : c.panelChildrenContainer)}>${this.isLineSymbol ? a`<arcgis-charts-config-line-style .open=${this.open} enable-close .lineStyle=${{
|
|
55
|
+
type: $.SLS,
|
|
83
56
|
style: this.selectedLineStyle,
|
|
84
57
|
width: this.selectedLineWidth,
|
|
85
58
|
color: e
|
|
86
59
|
}} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.lineSymbolChange}></arcgis-charts-config-line-style>` : a`<arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors>`}</div></calcite-panel></calcite-popover></div>`;
|
|
87
60
|
}
|
|
88
61
|
}
|
|
89
|
-
g("arcgis-charts-config-box-plot-series-popover",
|
|
62
|
+
g("arcgis-charts-config-box-plot-series-popover", P);
|
|
90
63
|
export {
|
|
91
|
-
|
|
64
|
+
P as ArcgisChartsConfigBoxPlotSeriesPopover
|
|
92
65
|
};
|
|
@@ -1,49 +1,21 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import "
|
|
4
|
-
import {
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
12
|
-
import "@esri/arcgis-html-sanitizer";
|
|
13
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
14
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
15
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
16
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
17
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
18
|
-
import "@arcgis/core/intl.js";
|
|
19
|
-
import "simple-statistics";
|
|
20
|
-
import "@arcgis/core/request.js";
|
|
21
|
-
import "@arcgis/core/core/sql.js";
|
|
22
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
23
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
24
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
25
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
26
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
27
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
28
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
29
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
30
|
-
import "@arcgis/core/geometry/Point.js";
|
|
31
|
-
import "@arcgis/toolkit/dom";
|
|
32
|
-
import { e as c } from "../../chunks/popover-ui-utils.js";
|
|
33
|
-
import { m as p, U as s } from "../../chunks/chart-ui-utils2.js";
|
|
34
|
-
import { u as h } from "../../chunks/useT9n.js";
|
|
35
|
-
import { css as d, html as u } from "lit";
|
|
36
|
-
import { createRef as r, ref as n } from "lit/directives/ref.js";
|
|
37
|
-
import { LitElement as g, createEvent as o, safeClassMap as i } from "@arcgis/lumina";
|
|
2
|
+
import { c as o } from "../../chunks/runtime.js";
|
|
3
|
+
import { isEmpty as c } from "lodash-es";
|
|
4
|
+
import { m as h, U as s } from "../../chunks/chart-ui-utils2.js";
|
|
5
|
+
import { u as m } from "../../chunks/useT9n.js";
|
|
6
|
+
import { css as p, html as d } from "lit";
|
|
7
|
+
import { createRef as n, ref as l } from "lit/directives/ref.js";
|
|
8
|
+
import { LitElement as u, createEvent as r, safeClassMap as a } from "@arcgis/lumina";
|
|
9
|
+
import { e as g } from "../../chunks/popover-ui-utils.js";
|
|
38
10
|
const e = {
|
|
39
11
|
jsAppFlyout: "js-app-flyout",
|
|
40
12
|
chartRenameComponent: "chart-rename-component",
|
|
41
13
|
renameLabelContainer: "rename-label-container",
|
|
42
14
|
renamePanel: "rename-panel"
|
|
43
|
-
}, v =
|
|
44
|
-
class C extends
|
|
15
|
+
}, v = p`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart-rename-component{width:var(--arcgis-charts-config-panel-width-medium);height:var(--arcgis-charts-config-panel-height)}:host{overflow-y:auto;width:min-content}.rename-label-container{display:flex;padding:0 1rem;margin-top:1rem}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-panel{width:calc(var(--calcite-panel-width-multiplier) * 20vw);max-width:calc(var(--calcite-panel-width-multiplier) * 420px);min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}`;
|
|
16
|
+
class C extends u {
|
|
45
17
|
constructor() {
|
|
46
|
-
super(...arguments), this._messages =
|
|
18
|
+
super(...arguments), this._messages = m(), this.characterLimitInputElement = n(), this.popoverElement = n(), this.isChartTitleInvalid = !1, this.changedName = "", this.name = "", this.open = !1, this.arcgisChartsConfigChartRenamePopoverChange = r(), this.arcgisChartsConfigPopoverClose = r();
|
|
47
19
|
}
|
|
48
20
|
static {
|
|
49
21
|
this.properties = { isChartTitleInvalid: 16, changedName: 16, messageOverrides: 0, name: 1, open: 5, referenceElement: 0 };
|
|
@@ -58,11 +30,11 @@ class C extends g {
|
|
|
58
30
|
t.has("name") && (this.changedName = this.name);
|
|
59
31
|
}
|
|
60
32
|
updated() {
|
|
61
|
-
this.popoverElement.value?.reposition(),
|
|
33
|
+
this.popoverElement.value?.reposition(), g(this.popoverElement.value, this.open);
|
|
62
34
|
}
|
|
63
35
|
onNameChange(t) {
|
|
64
|
-
const
|
|
65
|
-
this.changedName =
|
|
36
|
+
const i = t.target.value;
|
|
37
|
+
this.changedName = i, this.isChartTitleInvalid = c(i.trim()), this.characterLimitInputElement.value && h({
|
|
66
38
|
inputElement: this.characterLimitInputElement.value,
|
|
67
39
|
status: this.isChartTitleInvalid ? s.INVALID : s.IDLE
|
|
68
40
|
});
|
|
@@ -77,13 +49,13 @@ class C extends g {
|
|
|
77
49
|
this.changedName = this.name, this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
78
50
|
}
|
|
79
51
|
render() {
|
|
80
|
-
return
|
|
52
|
+
return d`<div class=${a({
|
|
81
53
|
[e.chartRenameComponent]: !0,
|
|
82
54
|
[e.jsAppFlyout]: !0
|
|
83
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${
|
|
55
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${l(this.popoverElement)}><calcite-panel class=${a(e.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${a(e.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${l(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></calcite-label></div><calcite-button slot=footer appearance=solid scale=m width=half @click=${this.onSubmitClick}>${this._messages.submit}</calcite-button><calcite-button slot=footer appearance=outline-fill scale=m width=half @click=${this.onCancelClick}>${this._messages.cancel}</calcite-button></calcite-panel></calcite-popover></div>`;
|
|
84
56
|
}
|
|
85
57
|
}
|
|
86
|
-
|
|
58
|
+
o("arcgis-charts-config-chart-rename-popover", C);
|
|
87
59
|
export {
|
|
88
60
|
C as ArcgisChartsConfigChartRenamePopover
|
|
89
61
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as o } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as l, html as c } from "lit";
|
|
4
|
-
import {
|
|
4
|
+
import { g } from "../../chunks/chart-ui-utils2.js";
|
|
5
5
|
import { u as h } from "../../chunks/useT9n.js";
|
|
6
6
|
import { LitElement as m, createEvent as n } from "@arcgis/lumina";
|
|
7
7
|
const u = "arcgis-charts-config-storage-colors", v = l`:host{--calcite-color-border-1: transparent}.color-header{margin-bottom:.5rem}`;
|
|
@@ -2,49 +2,28 @@
|
|
|
2
2
|
import { c as V } from "../../chunks/runtime.js";
|
|
3
3
|
import { repeat as U } from "lit/directives/repeat.js";
|
|
4
4
|
import { keyed as b } from "lit/directives/keyed.js";
|
|
5
|
-
import {
|
|
6
|
-
import { g as S, i as T, u as _, k as v, m as I } from "../../chunks/type-
|
|
5
|
+
import { createModel as R } from "../../model/shared/setup-utils.js";
|
|
6
|
+
import { g as S, i as T, u as _, k as v, m as I } from "../../chunks/type-guards2.js";
|
|
7
7
|
import { i as H } from "../../chunks/rotated-state.js";
|
|
8
|
-
import "@arcgis/
|
|
9
|
-
import { isEqual as D } from "lodash-es";
|
|
10
|
-
import "luxon";
|
|
11
|
-
import { cY as F, dX as E, d8 as k, e8 as z, da as O, eb as W, au as X, ec as Z, db as $, aa as G, dZ as K } from "../../chunks/index.js";
|
|
12
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
13
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
14
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
15
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
16
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
17
|
-
import "@arcgis/toolkit/type";
|
|
18
|
-
import { u as o, s as Y } from "../../chunks/series-types.js";
|
|
19
|
-
import "@arcgis/core/Graphic.js";
|
|
20
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
21
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
22
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
23
|
-
import "@arcgis/core/request.js";
|
|
24
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
25
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
26
|
-
import "@arcgis/core/geometry/Point.js";
|
|
27
|
-
import "simple-statistics";
|
|
28
|
-
import "@arcgis/toolkit/dom";
|
|
29
|
-
import { C as f } from "../../chunks/index5.js";
|
|
30
|
-
import { a as L } from "../../chunks/chart-ui-utils.js";
|
|
31
|
-
import { r as j } from "../../chunks/popover-ui-utils.js";
|
|
32
|
-
import { substitute as q } from "@arcgis/core/intl.js";
|
|
8
|
+
import { substitute as z } from "@arcgis/core/intl.js";
|
|
33
9
|
import { C as n } from "../../chunks/interfaces.js";
|
|
34
|
-
import "
|
|
35
|
-
import "
|
|
36
|
-
import "
|
|
37
|
-
import "@arcgis/
|
|
38
|
-
import "
|
|
39
|
-
import "
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
10
|
+
import { isEqual as D } from "lodash-es";
|
|
11
|
+
import { i as F } from "../../chunks/index4.js";
|
|
12
|
+
import { D as E, w as k, F as O } from "../../chunks/index3.js";
|
|
13
|
+
import { LitElement as W, createEvent as f, renderElement as L, safeStyleMap as Z, safeClassMap as d } from "@arcgis/lumina";
|
|
14
|
+
import { css as G, html as h } from "lit";
|
|
15
|
+
import { createRef as X, ref as K } from "lit/directives/ref.js";
|
|
16
|
+
import { u as P } from "../../chunks/useT9n.js";
|
|
17
|
+
import { c as j, a as x, g as q } from "../../chunks/store.js";
|
|
18
|
+
import { d2 as Y, _ as Q, d3 as J, K as ee, bZ as te } from "../../chunks/index2.js";
|
|
19
|
+
import { A as ae } from "../../chunks/axis-model-wrapper.js";
|
|
20
|
+
import { h as ie, f as y } from "../../chunks/web-component-utils.js";
|
|
21
|
+
import { a as se } from "../../chunks/chart-ui-utils2.js";
|
|
22
|
+
import { C as M } from "../../chunks/index6.js";
|
|
23
|
+
import { a as B } from "../../chunks/chart-ui-utils.js";
|
|
24
|
+
import { c as re, d as $ } from "../../chunks/type-guards.js";
|
|
25
|
+
import { r as oe } from "../../chunks/popover-ui-utils.js";
|
|
26
|
+
import { u as o, s as le } from "../../chunks/chart-object-literals.js";
|
|
48
27
|
const p = {
|
|
49
28
|
chartUIComponent: "chart-ui-component",
|
|
50
29
|
tabBar: "tab-bar",
|
|
@@ -101,10 +80,10 @@ function pe(m, e) {
|
|
|
101
80
|
}), i.charts = t;
|
|
102
81
|
}
|
|
103
82
|
}
|
|
104
|
-
const me =
|
|
105
|
-
class ue extends
|
|
83
|
+
const me = G`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`;
|
|
84
|
+
class ue extends W {
|
|
106
85
|
constructor() {
|
|
107
|
-
super(), this.selectChartTypePopover = null, this.chartsListFlowItem =
|
|
86
|
+
super(), this.selectChartTypePopover = null, this.chartsListFlowItem = X(), this.supportedChartTypes = [
|
|
108
87
|
o.BarSeries,
|
|
109
88
|
o.BoxPlotSeries,
|
|
110
89
|
o.LineSeries,
|
|
@@ -112,12 +91,12 @@ class ue extends Q {
|
|
|
112
91
|
o.HistogramSeries,
|
|
113
92
|
o.ScatterSeries,
|
|
114
93
|
o.HeatSeries
|
|
115
|
-
], this._messages =
|
|
94
|
+
], this._messages = P(), this.commonStrings = P({ name: "common", blocking: !0 }), this.chartDataProcessComplete = (e) => {
|
|
116
95
|
const i = e, { chartData: t, model: a } = i.detail, s = this.getModel(this.selectedChartId);
|
|
117
96
|
if (a?.isSameChartAs(s))
|
|
118
97
|
switch (s?.chartType) {
|
|
119
98
|
case o.HistogramSeries:
|
|
120
|
-
if (this.chartData = t, a && (a.dataStore.chartData = t,
|
|
99
|
+
if (this.chartData = t, a && (a.dataStore.chartData = t, re(a.layer))) {
|
|
121
100
|
const l = a, c = t?.bins?.length;
|
|
122
101
|
c !== void 0 && l.binCount !== c && (l.binCount = c);
|
|
123
102
|
}
|
|
@@ -135,9 +114,9 @@ class ue extends Q {
|
|
|
135
114
|
case o.LineSeries:
|
|
136
115
|
case o.BarSeries: {
|
|
137
116
|
const { dataItems: l, timeIntervalInfo: c } = t;
|
|
138
|
-
if ((S(s) || T(s) && s.binTemporalData) && (c?.size !== void 0 && s.temporalBinningSize !== c?.size && (s.temporalBinningSize = c?.size), c?.unit !== void 0 && s.temporalBinningUnit !== c?.unit && c?.unit !==
|
|
117
|
+
if ((S(s) || T(s) && s.binTemporalData) && (c?.size !== void 0 && s.temporalBinningSize !== c?.size && (s.temporalBinningSize = c?.size), c?.unit !== void 0 && s.temporalBinningUnit !== c?.unit && c?.unit !== le.Quarter && (s.temporalBinningUnit = c?.unit), c?.size !== void 0 && c?.unit !== void 0 && j(x, { size: c.size, unit: c.unit })), this.calculatedDataMinMaxBounds = this.getDataExtent(l), a && (a.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds), T(s)) {
|
|
139
118
|
const g = s.xAxisField, u = l.some((N) => N[g] === null), C = s.nullCategory;
|
|
140
|
-
u && C === void 0 && (s.nullCategory =
|
|
119
|
+
u && C === void 0 && (s.nullCategory = O.nullCategory);
|
|
141
120
|
}
|
|
142
121
|
break;
|
|
143
122
|
}
|
|
@@ -204,10 +183,10 @@ class ue extends Q {
|
|
|
204
183
|
A(i?.layer, i);
|
|
205
184
|
}
|
|
206
185
|
this.requestUpdate();
|
|
207
|
-
}, this.allowChartSyncing = !1, this.currentChartTypeText = "", this.modelList = [], this.layerList = [], this.disableEditing = !1, this.syncChartsToLayers = !1, this.close = !1, this.usePopupTemplateFieldsInfo = !1, this.panelNumber = 0, this.filterBySelection = !1, this.arcgisChartsConfigChartViewChartClose =
|
|
186
|
+
}, this.allowChartSyncing = !1, this.currentChartTypeText = "", this.modelList = [], this.layerList = [], this.disableEditing = !1, this.syncChartsToLayers = !1, this.close = !1, this.usePopupTemplateFieldsInfo = !1, this.panelNumber = 0, this.filterBySelection = !1, this.arcgisChartsConfigChartViewChartClose = f(), this.arcgisChartsConfigModelListChange = f(), this.arcgisChartsConfigNewChart = f(), this.arcgisChartsConfigPanelNumberChange = f(), this.arcgisChartsConfigSelectedChartChange = f(), this.addChartEventListeners(), this.listen("arcgisChartsConfigModelListReorder", this.modelListReorderChangeListener);
|
|
208
187
|
}
|
|
209
188
|
static {
|
|
210
|
-
this.properties = { selectedPanel: 16, currentChartTypeText: 16, messageOverrides: 0, modelList: [0, { hasChanged:
|
|
189
|
+
this.properties = { selectedPanel: 16, currentChartTypeText: 16, messageOverrides: 0, modelList: [0, { hasChanged: y }], layerList: [0, { hasChanged: y }], selectedChartId: 1, activeLayerId: 1, disableEditing: 5, syncChartsToLayers: 5, timeZone: 1, headerTitle: 1, close: 5, chartData: [0, { hasChanged: y }], r2: 9, calculatedDataMinMaxBounds: [0, { hasChanged: y }], calculatedMinMaxBounds: [0, { hasChanged: y }], seriesColor: [0, { hasChanged: ie }], popoverPlacement: 1, usePopupTemplateFieldsInfo: 5, popupTemplateFieldInfosEnabled: 5, panelNumber: 9, filterBySelection: 5 };
|
|
211
190
|
}
|
|
212
191
|
static {
|
|
213
192
|
this.styles = me;
|
|
@@ -254,14 +233,15 @@ class ue extends Q {
|
|
|
254
233
|
for (const l of r ?? []) {
|
|
255
234
|
const c = await R({
|
|
256
235
|
layer: a,
|
|
257
|
-
config: l
|
|
236
|
+
config: l,
|
|
237
|
+
commonStrings: this.commonStrings
|
|
258
238
|
});
|
|
259
239
|
c !== void 0 && e.push(c);
|
|
260
240
|
}
|
|
261
241
|
}
|
|
262
242
|
w(e), e.forEach((a) => {
|
|
263
243
|
t.find((r) => r.isSameChartAs(a)) === void 0 && t.push(a);
|
|
264
|
-
}), t = t.filter((a) => !
|
|
244
|
+
}), t = t.filter((a) => !Y(a.config)), this.modelList = t;
|
|
265
245
|
}
|
|
266
246
|
modelListChange(e, i) {
|
|
267
247
|
this.selectedChartId = w(e, this.selectedChartId), i?.forEach((a) => {
|
|
@@ -270,7 +250,7 @@ class ue extends Q {
|
|
|
270
250
|
a.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
271
251
|
});
|
|
272
252
|
const t = this.getModel(this.selectedChartId);
|
|
273
|
-
this.currentChartTypeText = t?.chartType !== void 0 ?
|
|
253
|
+
this.currentChartTypeText = t?.chartType !== void 0 ? B({
|
|
274
254
|
chartType: t.chartType,
|
|
275
255
|
commonStrings: this.commonStrings,
|
|
276
256
|
config: t.config
|
|
@@ -279,7 +259,7 @@ class ue extends Q {
|
|
|
279
259
|
selectedChartIdChange(e) {
|
|
280
260
|
this.selectedChartId === void 0 && (this.panelNumber = 0), this.selectedPanel = n.Data;
|
|
281
261
|
const i = this.getModel(e);
|
|
282
|
-
this.setEventBasedPropsFromModelData(i), this.currentChartTypeText = i?.chartType !== void 0 ?
|
|
262
|
+
this.setEventBasedPropsFromModelData(i), this.currentChartTypeText = i?.chartType !== void 0 ? B({
|
|
283
263
|
chartType: i.chartType,
|
|
284
264
|
commonStrings: this.commonStrings,
|
|
285
265
|
config: i.config
|
|
@@ -292,13 +272,13 @@ class ue extends Q {
|
|
|
292
272
|
e === 0 ? this.clearPartialModels() : e === 1 && this.removeSelectChartTypePopover(), this.arcgisChartsConfigPanelNumberChange.emit({ panelNumber: e, modelList: this.modelList });
|
|
293
273
|
}
|
|
294
274
|
addChartEventListeners() {
|
|
295
|
-
this.listenOn(document,
|
|
275
|
+
this.listenOn(document, M.DataProcessComplete, this.chartDataProcessComplete), this.listenOn(document, M.AxesMinMaxChange, this.chartAxesMinMaxChange), this.listenOn(document, M.SeriesColorChange, this.chartSeriesColorChange), this.listenOn(document, M.NoRenderPropChange, this.chartNoRenderPropChange), this.listenOn(document, M.LegendItemVisibilityChange, this.chartLegendItemVisibilityChange);
|
|
296
276
|
}
|
|
297
277
|
getDataExtent(e) {
|
|
298
278
|
const i = this.getModel(this.selectedChartId)?.config;
|
|
299
279
|
let t = [];
|
|
300
280
|
if (i !== void 0 && e !== void 0) {
|
|
301
|
-
const a =
|
|
281
|
+
const a = Q({
|
|
302
282
|
chartConfig: i,
|
|
303
283
|
chartData: e
|
|
304
284
|
}), { minY: s, maxY: r, minX: l, maxX: c } = a;
|
|
@@ -313,7 +293,7 @@ class ue extends Q {
|
|
|
313
293
|
e?.forEach((i) => {
|
|
314
294
|
const { isXAxis: t, maximum: a, minimum: s } = i, r = this.getModel(this.selectedChartId);
|
|
315
295
|
if (r !== void 0 && I(r) && this.selectedChartId !== void 0) {
|
|
316
|
-
const l = new
|
|
296
|
+
const l = new ae(r, t), c = q({
|
|
317
297
|
chartId: this.selectedChartId,
|
|
318
298
|
isXAxis: t,
|
|
319
299
|
isLogarithmic: l.getLogarithmic()
|
|
@@ -331,7 +311,7 @@ class ue extends Q {
|
|
|
331
311
|
}
|
|
332
312
|
getPlacement() {
|
|
333
313
|
let e;
|
|
334
|
-
return this.popoverPlacement !== void 0 ? e = this.popoverPlacement : e = this.modelList?.filter((a) => k(
|
|
314
|
+
return this.popoverPlacement !== void 0 ? e = this.popoverPlacement : e = this.modelList?.filter((a) => k(J, a.config)).length <= 2 ? "bottom" : "top", e;
|
|
335
315
|
}
|
|
336
316
|
onBackFlow() {
|
|
337
317
|
this.panelNumber -= 1;
|
|
@@ -341,19 +321,19 @@ class ue extends Q {
|
|
|
341
321
|
let s = !0;
|
|
342
322
|
if ($(a) && t) {
|
|
343
323
|
const r = this.layerList.find((l) => l.id === t);
|
|
344
|
-
$(r?.type) && (s = !!(await
|
|
324
|
+
$(r?.type) && (s = !!(await ee(r))?.attributeTable);
|
|
345
325
|
}
|
|
346
326
|
this.setupSelectChartTypePopover(i, t, a, s);
|
|
347
327
|
}
|
|
348
328
|
setupSelectChartTypePopover(e, i, t, a = !0) {
|
|
349
329
|
const s = this.getPlacement();
|
|
350
|
-
this.removeSelectChartTypePopover(), this.selectChartTypePopover =
|
|
330
|
+
this.removeSelectChartTypePopover(), this.selectChartTypePopover = L(h`<arcgis-charts-config-select-chart-type-popover .referenceElement=${e} open .layerId=${i} .layerType=${t} .isRasterBarChartSupported=${a} .popoverPlacement=${s} @arcgisChartsConfigPopoverClose=${this.onAddChartClose} @arcgisChartsConfigSelectChartTypeChange=${this.onSelectChartTypeChange}></arcgis-charts-config-select-chart-type-popover>`), !document.body.contains(this.selectChartTypePopover) && this.selectChartTypePopover !== null && document.body.appendChild(this.selectChartTypePopover);
|
|
351
331
|
}
|
|
352
332
|
getModel(e) {
|
|
353
333
|
return this.modelList?.find((i) => i.chartId === e);
|
|
354
334
|
}
|
|
355
335
|
removeSelectChartTypePopover() {
|
|
356
|
-
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover =
|
|
336
|
+
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover = oe(this.selectChartTypePopover));
|
|
357
337
|
}
|
|
358
338
|
clearPartialModels() {
|
|
359
339
|
this.modelList = this.modelList.filter((e) => !F(e.config));
|
|
@@ -411,10 +391,10 @@ class ue extends Q {
|
|
|
411
391
|
t = "";
|
|
412
392
|
break;
|
|
413
393
|
}
|
|
414
|
-
this.tooltip =
|
|
394
|
+
this.tooltip = L(h`<calcite-tooltip style=${Z({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${i} open placement=top>${t}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
415
395
|
}
|
|
416
396
|
destroyTooltip() {
|
|
417
|
-
|
|
397
|
+
se(this.tooltip);
|
|
418
398
|
}
|
|
419
399
|
renderViewCharts() {
|
|
420
400
|
const e = ce({
|
|
@@ -423,14 +403,14 @@ class ue extends Q {
|
|
|
423
403
|
activeLayerId: this.activeLayerId,
|
|
424
404
|
disableEditing: this.disableEditing
|
|
425
405
|
});
|
|
426
|
-
return U(e, (i) => i.id, (i) => h`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId !== void 0} .modelList=${ne(this.modelList, i.id.toString(), $(i.type) ?
|
|
406
|
+
return U(e, (i) => i.id, (i) => h`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId !== void 0} .modelList=${ne(this.modelList, i.id.toString(), $(i.type) ? te : this.supportedChartTypes)} .selectedChartId=${this.selectedChartId ?? ""} .layer=${i} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`);
|
|
427
407
|
}
|
|
428
408
|
render() {
|
|
429
|
-
return this.close ? null : h`<calcite-flow>${b("charts-list", h`<calcite-flow-item .selected=${this.panelNumber === 0 || this.disableEditing} .heading=${this.headerTitle ?? this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${
|
|
409
|
+
return this.close ? null : h`<calcite-flow>${b("charts-list", h`<calcite-flow-item .selected=${this.panelNumber === 0 || this.disableEditing} .heading=${this.headerTitle ?? this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${K(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.panelNumber >= 1 && !this.disableEditing ? this.renderTabs() : null}</calcite-flow>`;
|
|
430
410
|
}
|
|
431
411
|
renderTabs() {
|
|
432
412
|
const e = this.getModel(this.selectedChartId);
|
|
433
|
-
return b("chart-edit", h`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? n.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ?
|
|
413
|
+
return b("chart-edit", h`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? n.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ? z(this._messages.pageFlowTitle, {
|
|
434
414
|
chartName: e?.titleText ?? this.currentChartTypeText,
|
|
435
415
|
layerName: e?.layer?.title ?? ""
|
|
436
416
|
}) : ""}>${e?.chartType !== void 0 ? h`<calcite-action-bar class=${d(p.tabBar)} layout=horizontal expand-disabled><calcite-action class=${d(p.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel === n.Data || this.selectedPanel === void 0} @click=${() => {
|