@arcgis/charts-components 5.0.0-next.115 → 5.0.0-next.116
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/dist/cdn/2AT47FOV.js +4 -0
- package/dist/cdn/{AZWSISRT.js → 2FBA5PUG.js} +2 -2
- package/dist/cdn/{EUEQKEB2.js → 2GMN5SDI.js} +2 -2
- package/dist/cdn/{CG55RSDC.js → 2QS5TJQ5.js} +2 -2
- package/dist/cdn/{HCO5YQ72.js → 2UFPDUIM.js} +2 -2
- package/dist/cdn/{26D4GMXF.js → 2VJZAFQ5.js} +2 -2
- package/dist/cdn/{ZEI5UJD6.js → 2VTJEBKD.js} +2 -2
- package/dist/cdn/32Z3ILDE.js +4 -0
- package/dist/cdn/332VMES2.js +4 -0
- package/dist/cdn/3EIELKWA.js +4 -0
- package/dist/cdn/{WSNXOLJA.js → 3G326OQZ.js} +2 -2
- package/dist/cdn/{KTSRSEO4.js → 3KMT633V.js} +2 -2
- package/dist/cdn/{GMZACYZ3.js → 3QIAN4NS.js} +2 -2
- package/dist/cdn/{5RMAR5AD.js → 3QQW7LHD.js} +2 -2
- package/dist/cdn/3RFGO2LD.js +4 -0
- package/dist/cdn/{IWPJBYSD.js → 3RLZ3DW3.js} +2 -2
- package/dist/cdn/{JQIBHF7Z.js → 45QWWJD3.js} +2 -2
- package/dist/cdn/{HHKZBYNN.js → 4J4KBZY3.js} +2 -2
- package/dist/cdn/{JULMKZRI.js → 4LBJNKKZ.js} +2 -2
- package/dist/cdn/{FVUCNSTU.js → 4OGHM3VZ.js} +2 -2
- package/dist/cdn/{CY5ISGPJ.js → 4QFEW5TW.js} +2 -2
- package/dist/cdn/{SDEUFAVU.js → 4RMNH5HJ.js} +2 -2
- package/dist/cdn/{RFYSLKSN.js → 55MXXTNW.js} +2 -2
- package/dist/cdn/{4GR7IULE.js → 57E24OM4.js} +2 -2
- package/dist/cdn/{4QP5AP63.js → 5DW2ZJAO.js} +2 -2
- package/dist/cdn/{DWGSG3SV.js → 5EWHPJJ5.js} +2 -2
- package/dist/cdn/{TFJPMWMV.js → 5I5JN5D4.js} +2 -2
- package/dist/cdn/65N2W4PE.js +34 -0
- package/dist/cdn/{EH4W4W4Q.js → 6EJUU3SQ.js} +2 -2
- package/dist/cdn/6TJC4ARR.js +4 -0
- package/dist/cdn/{YPEPDHAZ.js → 6VN7W4Z2.js} +1 -1
- package/dist/cdn/6YNW5VCL.js +4 -0
- package/dist/cdn/7AUAR63V.js +4 -0
- package/dist/cdn/{RRFPDIKY.js → 7GUP5FX5.js} +2 -2
- package/dist/cdn/{MFECARAG.js → 7KNKL7YD.js} +2 -2
- package/dist/cdn/{EWJOK3I4.js → 7LIDKM3N.js} +2 -2
- package/dist/cdn/{PSHSQ5B5.js → A4QJGZYT.js} +2 -2
- package/dist/cdn/A4ZWPSMP.js +4 -0
- package/dist/cdn/{EIYQBXGY.js → AHMMJX3X.js} +2 -2
- package/dist/cdn/APSLVZEW.js +4 -0
- package/dist/cdn/{I2R23ITV.js → AQQXXPQZ.js} +2 -2
- package/dist/cdn/AUWJJX2Y.js +4 -0
- package/dist/cdn/{K55E4LKR.js → AXHOHEHC.js} +1 -1
- package/dist/cdn/{JUEYB7XB.js → BP5JW4TO.js} +2 -2
- package/dist/cdn/{UJG3D6ZP.js → BQF3ODZK.js} +2 -2
- package/dist/cdn/{KTQORRVT.js → BWHBVBRT.js} +2 -2
- package/dist/cdn/C47CFB4O.js +4 -0
- package/dist/cdn/{DUD2ALU6.js → CBVYZRGJ.js} +2 -2
- package/dist/cdn/{3EJASBUU.js → CCFDRTZG.js} +14 -14
- package/dist/cdn/CGR4BWQJ.js +4 -0
- package/dist/cdn/CGXE3LSR.js +4 -0
- package/dist/cdn/{YN4SXIBL.js → CVA2R34Y.js} +2 -2
- package/dist/cdn/{W4DL3L3V.js → CXA7LQDC.js} +3 -3
- package/dist/cdn/{LRSMCF5H.js → CZSHY7VL.js} +2 -2
- package/dist/cdn/{W64CZPBS.js → D2TJTRO3.js} +2 -2
- package/dist/cdn/{TUXJNUAP.js → D6FUQNYT.js} +2 -2
- package/dist/cdn/DEBFITLZ.js +4 -0
- package/dist/cdn/{NQRONGZE.js → DPP5JBQ6.js} +1 -1
- package/dist/cdn/DSBEXXSM.js +4 -0
- package/dist/cdn/{J6ZOFAMO.js → E3YRBMHV.js} +2 -2
- package/dist/cdn/{RKNT6P3F.js → EAS3QCTO.js} +2 -2
- package/dist/cdn/{JXA2D3AK.js → F23KF5EO.js} +2 -2
- package/dist/cdn/{WKHN6LIH.js → F5R34OKI.js} +2 -2
- package/dist/cdn/{4MDU7LKE.js → F6MBWAXU.js} +2 -2
- package/dist/cdn/{LW2LDASO.js → FV6A53GU.js} +2 -2
- package/dist/cdn/FVRR32JS.js +4 -0
- package/dist/cdn/{5AENVGQN.js → G365JBMZ.js} +1 -1
- package/dist/cdn/{WAZA5GUO.js → GEUAPKKO.js} +2 -2
- package/dist/cdn/GFEH2RHW.js +4 -0
- package/dist/cdn/GFZKNEVQ.js +4 -0
- package/dist/cdn/GVJLDDWJ.js +4 -0
- package/dist/cdn/GWUK3GRV.js +4 -0
- package/dist/cdn/{ZJ7QTII4.js → GZLY6HQP.js} +1 -1
- package/dist/cdn/{CM4NN4HH.js → H2AO665N.js} +2 -2
- package/dist/cdn/{G6FGSXTA.js → HD2ZXNGB.js} +2 -2
- package/dist/cdn/{SDISSAJD.js → HMSCED6P.js} +2 -2
- package/dist/cdn/HOCGYEJY.js +4 -0
- package/dist/cdn/HT6LU5EY.js +4 -0
- package/dist/cdn/I7HHGT5I.js +4 -0
- package/dist/cdn/{MGPQZ4NU.js → IAAJMNRU.js} +2 -2
- package/dist/cdn/{53DHZIW3.js → IBAAGUE6.js} +2 -2
- package/dist/cdn/{3V2KQARO.js → ICDQXJJL.js} +2 -2
- package/dist/cdn/IGJEGPQG.js +4 -0
- package/dist/cdn/{EADV2G5P.js → IGPDOFMJ.js} +2 -2
- package/dist/cdn/{ZZYELA6W.js → IJL3YCYM.js} +2 -2
- package/dist/cdn/ILR2ZA54.js +4 -0
- package/dist/cdn/IWRMT56Y.js +4 -0
- package/dist/cdn/JBCIMXER.js +4 -0
- package/dist/cdn/{6HPC5G57.js → JCNLCLEG.js} +2 -2
- package/dist/cdn/{JHVORALO.js → JFH3QUYT.js} +2 -2
- package/dist/cdn/JHQ2UAPI.js +4 -0
- package/dist/cdn/JHYUP7LW.js +4 -0
- package/dist/cdn/{N75RORYL.js → JMTVC3GN.js} +2 -2
- package/dist/cdn/{L5ELCX2A.js → JQ7YFFRL.js} +2 -2
- package/dist/cdn/JQJIXGU3.js +4 -0
- package/dist/cdn/JV3PG2AD.js +4 -0
- package/dist/cdn/{DW5XTXTD.js → KCSYVBWF.js} +2 -2
- package/dist/cdn/KO5OGIH7.js +4 -0
- package/dist/cdn/KQJAG7ZS.js +4 -0
- package/dist/cdn/{CLX23KTF.js → L2TWIH5Z.js} +2 -2
- package/dist/cdn/{3F7M27PL.js → L2ZJMBZB.js} +2 -2
- package/dist/cdn/{2FE7MMIQ.js → L3VZ5IHX.js} +2 -2
- package/dist/cdn/{GWZCMBKY.js → L4OFBY5Y.js} +2 -2
- package/dist/cdn/{UXP3FKKX.js → L6QEAS33.js} +2 -2
- package/dist/cdn/{EGPNE6RS.js → LATBVT72.js} +2 -2
- package/dist/cdn/{BDJSGEDC.js → LG6SJISO.js} +2 -2
- package/dist/cdn/LHMOTHQN.js +4 -0
- package/dist/cdn/{RYEQGLIL.js → LKT35O5Z.js} +2 -2
- package/dist/cdn/{T2QHNLD4.js → LNY7VO77.js} +2 -2
- package/dist/cdn/{DSESL62Y.js → LOMSWOGR.js} +2 -2
- package/dist/cdn/LQRES7J3.js +4 -0
- package/dist/cdn/LVVIF2B4.js +4 -0
- package/dist/cdn/{IBEDYTZ2.js → M4V2KEMZ.js} +2 -2
- package/dist/cdn/M6S5OWHP.js +4 -0
- package/dist/cdn/MIIKHSMB.js +4 -0
- package/dist/cdn/{OLAQBQ74.js → MVYX2MFL.js} +2 -2
- package/dist/cdn/MZQWX4ZT.js +4 -0
- package/dist/cdn/NI33RNQT.js +4 -0
- package/dist/cdn/NMQALZXT.js +4 -0
- package/dist/cdn/NMT7YR35.js +4 -0
- package/dist/cdn/NSZAL7FV.js +4 -0
- package/dist/cdn/{OX6ZCQ4Y.js → ODOWMT3R.js} +2 -2
- package/dist/cdn/OG6S5Q4T.js +4 -0
- package/dist/cdn/ON4QNUDJ.js +4 -0
- package/dist/cdn/{QXTQW3QG.js → OOYEE27X.js} +2 -2
- package/dist/cdn/{5DS7BG4I.js → OU76SIMR.js} +2 -2
- package/dist/cdn/OXI4STZW.js +4 -0
- package/dist/cdn/{2SPHPFQN.js → P6RNC2LG.js} +2 -2
- package/dist/cdn/{ZMQU7VIU.js → PNWK6NJT.js} +2 -2
- package/dist/cdn/{VIBFJMMM.js → PYSV3QLB.js} +2 -2
- package/dist/cdn/PYYXSBKR.js +4 -0
- package/dist/cdn/QBW7NI3U.js +4 -0
- package/dist/cdn/{T6JTPLQE.js → QC2RKL3B.js} +1 -1
- package/dist/cdn/{GRWUK3TJ.js → QXQQWDEZ.js} +2 -2
- package/dist/cdn/{IMQO6QWN.js → R53DVOJE.js} +2 -2
- package/dist/cdn/ROIWM7BI.js +4 -0
- package/dist/cdn/RTAXTMOR.js +4 -0
- package/dist/cdn/S3KVJXFW.js +4 -0
- package/dist/cdn/SAANFMWQ.js +4 -0
- package/dist/cdn/{NUG2QK2F.js → SG2AXP3X.js} +2 -2
- package/dist/cdn/SJZHFPQY.js +4 -0
- package/dist/cdn/STFWYSRQ.js +4 -0
- package/dist/cdn/{2PDGRI76.js → SY2XGQFQ.js} +2 -2
- package/dist/cdn/TBMQYFV3.js +4 -0
- package/dist/cdn/{YIXVTD3B.js → THYCR5MP.js} +2 -2
- package/dist/cdn/TOKTXF46.js +4 -0
- package/dist/cdn/TVO6I7Z4.js +4 -0
- package/dist/cdn/{EATIKGOY.js → U5YU25AX.js} +2 -2
- package/dist/cdn/{VN2ONUCD.js → UEUW4SDT.js} +2 -2
- package/dist/cdn/UGPTGIHT.js +4 -0
- package/dist/cdn/{TQFMQYPU.js → UINIKLYT.js} +2 -2
- package/dist/cdn/{IL7QZR2E.js → UQUSUIJZ.js} +2 -2
- package/dist/cdn/{J2FOULAV.js → UWA76BGM.js} +2 -2
- package/dist/cdn/{SUTYM7H2.js → UZLKNIS6.js} +2 -2
- package/dist/cdn/{N5KL3XXT.js → VAQBU5UZ.js} +2 -2
- package/dist/cdn/{6OUWBJVV.js → VFKVM3NN.js} +2 -2
- package/dist/cdn/{3G7R4BAQ.js → VIQWFB6N.js} +2 -2
- package/dist/cdn/{TIBZYC7K.js → VRNNMWD4.js} +2 -2
- package/dist/cdn/{CIYCSOI2.js → VVU6BIVW.js} +2 -2
- package/dist/cdn/{J72X6ZSD.js → VZ7TPZSI.js} +2 -2
- package/dist/cdn/{EUZVWMRV.js → VZJHCJ6S.js} +2 -2
- package/dist/cdn/{6UL65RJB.js → W24IPQ7R.js} +2 -2
- package/dist/cdn/{IH3ZGUDN.js → W55AMOTU.js} +2 -2
- package/dist/cdn/{EEIQVSS3.js → WHKYXSL2.js} +2 -2
- package/dist/cdn/WINJFIVF.js +4 -0
- package/dist/cdn/{GRSRRM6R.js → WJIAB5OJ.js} +2 -2
- package/dist/cdn/{G4D3UMKX.js → WKDKHX46.js} +2 -2
- package/dist/cdn/{WQX45IIX.js → WQW55OS7.js} +2 -2
- package/dist/cdn/WY7Y5NGU.js +4 -0
- package/dist/cdn/XGH4RVKQ.js +4 -0
- package/dist/cdn/XGOB736F.js +4 -0
- package/dist/cdn/{5WOHRUAH.js → XGZ3RDUR.js} +2 -2
- package/dist/cdn/XTN72LYW.js +4 -0
- package/dist/cdn/{KN3RT5AI.js → XUGPAMZX.js} +2 -2
- package/dist/cdn/YBRYODCY.js +4 -0
- package/dist/cdn/YEW5KZW7.js +4 -0
- package/dist/cdn/YKWORUIJ.js +4 -0
- package/dist/cdn/{LT2L5JNG.js → YOZZWZZ2.js} +2 -2
- package/dist/cdn/{TQHTYVLC.js → YTODIPYA.js} +2 -2
- package/dist/cdn/{BRTTBL4Y.js → Z5TZMPWH.js} +2 -2
- package/dist/cdn/{XU25UXWG.js → Z6MC3U6Z.js} +2 -2
- package/dist/cdn/{2M5IFRUO.js → ZIY3JLY2.js} +2 -2
- package/dist/cdn/{TTX3OSYJ.js → ZURYTGOH.js} +2 -2
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/charts-config-heat-chart-popover/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/config-utils/index.d.ts +1 -1
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +3 -0
- package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/legend/index.d.ts +2 -2
- package/dist/chunks/action-bar-utils.js +20 -19
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +6 -5
- package/dist/chunks/bar-chart-series.js +2 -2
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +71 -70
- package/dist/chunks/box-plot-model.js +55 -51
- package/dist/chunks/chart-ui-utils.js +26 -22
- package/dist/chunks/chart-ui-utils2.js +84 -77
- package/dist/chunks/class-breaks.js +126 -0
- package/dist/chunks/combo-bar-line-chart-model.js +49 -48
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data-labels-symbol.js +66 -0
- package/dist/chunks/data-labels-visibility.js +87 -0
- package/dist/chunks/data.js +41 -40
- package/dist/chunks/default.js +4 -4
- package/dist/chunks/gauge-model.js +24 -23
- package/dist/chunks/heat-chart-model.js +174 -124
- package/dist/chunks/histogram-data.js +42 -41
- package/dist/chunks/histogram-model.js +42 -39
- package/dist/chunks/index.js +1708 -1648
- package/dist/chunks/index2.js +180 -161
- package/dist/chunks/index3.js +184 -91
- package/dist/chunks/index4.js +96 -63
- package/dist/chunks/index5.js +67 -0
- package/dist/chunks/interfaces.js +26 -12
- package/dist/chunks/line-chart-model.js +7 -5
- package/dist/chunks/model-setter.js +114 -0
- package/dist/chunks/model-with-multi-axes.js +633 -712
- package/dist/chunks/negative-values-stacked-to-baseline.js +3 -3
- package/dist/chunks/pie-chart-data.js +39 -38
- package/dist/chunks/pie-chart-model.js +123 -115
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +7 -5
- package/dist/chunks/resource.js +2 -2
- package/dist/chunks/rest-js-object-literals.js +8 -8
- package/dist/chunks/rotated-state.js +56 -0
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +68 -64
- package/dist/chunks/serial-chart-data.js +705 -949
- package/dist/chunks/serial-chart-model.js +35 -30
- package/dist/chunks/series-types.js +56 -40
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +49 -56
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +222 -0
- package/dist/chunks/web-component-utils.js +32 -32
- package/dist/components/arcgis-chart/customElement.d.ts +2 -0
- package/dist/components/arcgis-chart/customElement.js +930 -936
- package/dist/components/arcgis-charts-action-bar/customElement.js +6 -5
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +51 -51
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +183 -173
- package/dist/components/arcgis-charts-config-create-flow/index.d.ts +1 -0
- package/dist/components/arcgis-charts-config-create-flow/index.js +1 -0
- package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-format/customElement.js +22 -20
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +24 -24
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.d.ts +41 -0
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +87 -0
- package/dist/components/arcgis-charts-config-heat-chart/index.d.ts +4 -0
- package/dist/components/arcgis-charts-config-heat-chart/index.js +4 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.d.ts +46 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +370 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/index.d.ts +15 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +15 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/resources.d.ts +7 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.d.ts +103 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +288 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/index.d.ts +12 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/index.js +12 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/resources.d.ts +18 -0
- package/dist/components/arcgis-charts-config-histogram/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +63 -64
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +33 -33
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +407 -583
- package/dist/interfaces.d.ts +19 -0
- package/dist/json-schema/index.d.ts +60 -14
- package/dist/loader.js +4 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +5 -2
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +39 -9
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +55 -18
- package/dist/model/histogram-model/histogram-model.d.ts +4 -2
- package/dist/model/mixins/index.d.ts +0 -2
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +4 -2
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +25 -0
- package/dist/model/properties/data-labels/data-labels-visibility.d.ts +25 -0
- package/dist/model/properties/rotated-state.d.ts +24 -0
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +4 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +5 -2
- package/dist/model/shared/axes.d.ts +0 -7
- package/dist/model/shared/type-guards.d.ts +18 -17
- package/dist/model/shared/utils.d.ts +10 -1
- package/dist/model.js +15 -17
- package/dist/spec/chart-object-literals.d.ts +27 -0
- package/dist/spec/web-chart.d.ts +50 -16
- package/dist/utils/chart-config/converter/index.d.ts +15 -0
- package/dist/utils/chart-config/converter/interfaces.d.ts +13 -1
- package/dist/utils/chart-config/utils/class-breaks/index.d.ts +16 -0
- package/dist/utils/chart-config/utils/index.d.ts +0 -18
- package/dist/utils/components/chart-ui-utils.d.ts +8 -1
- package/dist/utils/components/config-update.d.ts +6 -3
- package/dist/utils/data/stats/class-breaks.d.ts +91 -0
- package/dist/utils/defaults/index.d.ts +3 -3
- package/dist/utils/localization/interfaces.d.ts +2 -0
- package/dist/utils/type-guards/index.d.ts +12 -1
- package/dist/utils/types/index.d.ts +4 -0
- package/package.json +3 -3
- package/dist/cdn/2VH5SRZZ.js +0 -4
- package/dist/cdn/32BMOX2K.js +0 -4
- package/dist/cdn/3DFXOOBG.js +0 -4
- package/dist/cdn/3RSWZLAO.js +0 -4
- package/dist/cdn/4SPDBVN5.js +0 -4
- package/dist/cdn/4XEDNSK6.js +0 -4
- package/dist/cdn/5RCMW4JJ.js +0 -4
- package/dist/cdn/5WWEQB4U.js +0 -4
- package/dist/cdn/5YHINVJL.js +0 -4
- package/dist/cdn/5ZOUXG32.js +0 -4
- package/dist/cdn/73TEIYX4.js +0 -4
- package/dist/cdn/7NO4AIYM.js +0 -4
- package/dist/cdn/B4MCVN3C.js +0 -4
- package/dist/cdn/CXMRBJVV.js +0 -4
- package/dist/cdn/DNJ3PFW5.js +0 -4
- package/dist/cdn/DSKH4W7Z.js +0 -4
- package/dist/cdn/E6ZNVNSM.js +0 -4
- package/dist/cdn/E7HOUB3W.js +0 -4
- package/dist/cdn/FAAZU2DN.js +0 -4
- package/dist/cdn/GCMDD3DI.js +0 -4
- package/dist/cdn/GDLXQSTH.js +0 -4
- package/dist/cdn/GE4B62AP.js +0 -4
- package/dist/cdn/HBOGAAPY.js +0 -4
- package/dist/cdn/HJBFCMQQ.js +0 -4
- package/dist/cdn/HOWOXOJF.js +0 -4
- package/dist/cdn/I7GZZUST.js +0 -4
- package/dist/cdn/IBI443YG.js +0 -4
- package/dist/cdn/II5ZKHWO.js +0 -4
- package/dist/cdn/INFAG43O.js +0 -4
- package/dist/cdn/KPVBBDA4.js +0 -4
- package/dist/cdn/LJREPGP4.js +0 -4
- package/dist/cdn/LRVSRJXE.js +0 -4
- package/dist/cdn/M4YV2QY4.js +0 -4
- package/dist/cdn/NITVVSXE.js +0 -4
- package/dist/cdn/NKCR4CMV.js +0 -4
- package/dist/cdn/NMQJW4WX.js +0 -4
- package/dist/cdn/OMZQ6B6X.js +0 -4
- package/dist/cdn/OU3L46HV.js +0 -4
- package/dist/cdn/OVOVU7M6.js +0 -4
- package/dist/cdn/PCODF4JF.js +0 -4
- package/dist/cdn/PJOY5BUH.js +0 -4
- package/dist/cdn/PNNNUAVS.js +0 -4
- package/dist/cdn/PNV3TCR2.js +0 -4
- package/dist/cdn/QVRSCIHR.js +0 -32
- package/dist/cdn/ROT3IOMF.js +0 -4
- package/dist/cdn/RTW6M2WG.js +0 -4
- package/dist/cdn/SZ2A2V3P.js +0 -4
- package/dist/cdn/T2ITWSO3.js +0 -4
- package/dist/cdn/UFEHQXXO.js +0 -4
- package/dist/cdn/UJAO25N3.js +0 -4
- package/dist/cdn/VGGLRGZ5.js +0 -4
- package/dist/cdn/VVLNAMRO.js +0 -4
- package/dist/cdn/VX33W7WZ.js +0 -4
- package/dist/cdn/VY2LSHRE.js +0 -4
- package/dist/cdn/WHWAJRS5.js +0 -4
- package/dist/cdn/XM54FC2V.js +0 -4
- package/dist/cdn/YOEISZEX.js +0 -4
- package/dist/cdn/YPMIQKNZ.js +0 -4
- package/dist/cdn/ZBKBR2JJ.js +0 -4
- package/dist/cdn/ZYF5L2DR.js +0 -4
- package/dist/chunks/color-match.js +0 -33
- package/dist/model/mixins/model-with-data-labels.d.ts +0 -15
- package/dist/model/mixins/model-with-rotation.d.ts +0 -8
- package/dist/model/mixins/utils/data-labels.d.ts +0 -24
|
@@ -2,11 +2,12 @@ import { c as N } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { repeat as V } from "lit/directives/repeat.js";
|
|
3
3
|
import { keyed as $ } from "lit/directives/keyed.js";
|
|
4
4
|
import { createModel as U } from "../../model.js";
|
|
5
|
-
import {
|
|
5
|
+
import { b as S, a as b, g as _, s as v, m as T } from "../../chunks/type-guards.js";
|
|
6
|
+
import { i as H } from "../../chunks/rotated-state.js";
|
|
6
7
|
import "@arcgis/toolkit/intl";
|
|
7
8
|
import { isEqual as w } from "lodash-es";
|
|
8
|
-
import { W as
|
|
9
|
-
import {
|
|
9
|
+
import { W as r, i as z } from "../../chunks/series-types.js";
|
|
10
|
+
import { Z as D, dc as k, c_ as F, dj as O, dl as R, af as W } from "../../chunks/index.js";
|
|
10
11
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
12
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
12
13
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -16,7 +17,7 @@ import "@arcgis/core/Graphic.js";
|
|
|
16
17
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
17
18
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
18
19
|
import "d3-array";
|
|
19
|
-
import { substitute as
|
|
20
|
+
import { substitute as Z } from "@arcgis/core/intl.js";
|
|
20
21
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
21
22
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
22
23
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
@@ -25,183 +26,188 @@ import "@arcgis/core/request.js";
|
|
|
25
26
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
26
27
|
import "@arcgis/core/core/promiseUtils.js";
|
|
27
28
|
import "@arcgis/toolkit/dom";
|
|
28
|
-
import { C as f } from "../../chunks/
|
|
29
|
+
import { C as f } from "../../chunks/index5.js";
|
|
29
30
|
import { a as L } from "../../chunks/chart-ui-utils.js";
|
|
30
31
|
import { r as G } from "../../chunks/popover-ui-utils.js";
|
|
31
32
|
import { C as l } from "../../chunks/interfaces.js";
|
|
32
|
-
import { LitElement as X, createEvent as y, renderElement as I, safeStyleMap as
|
|
33
|
+
import { LitElement as X, createEvent as y, renderElement as I, safeStyleMap as j, safeClassMap as d } from "@arcgis/lumina";
|
|
33
34
|
import { css as K, html as h } from "lit";
|
|
34
|
-
import { createRef as
|
|
35
|
+
import { createRef as q, ref as Y } from "lit/directives/ref.js";
|
|
35
36
|
import { u as P } from "../../chunks/useT9n.js";
|
|
36
|
-
import { a as
|
|
37
|
-
import { h as
|
|
38
|
-
import { A as
|
|
39
|
-
import { d as
|
|
37
|
+
import { a as Q, s as x, b as J } from "../../chunks/store.js";
|
|
38
|
+
import { h as ee, a as M, s as te } from "../../chunks/web-component-utils.js";
|
|
39
|
+
import { A as ae } from "../../chunks/axis-model-wrapper.js";
|
|
40
|
+
import { d as ie } from "../../chunks/chart-ui-utils2.js";
|
|
40
41
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
41
42
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
42
|
-
v5.0.0-next.
|
|
43
|
+
v5.0.0-next.116 */
|
|
43
44
|
const m = {
|
|
44
45
|
chartUIComponent: "chart-ui-component",
|
|
45
46
|
tabBar: "tab-bar",
|
|
46
47
|
tab: "tab"
|
|
47
48
|
};
|
|
48
49
|
function B(p, e) {
|
|
49
|
-
const
|
|
50
|
+
const i = /* @__PURE__ */ new Set();
|
|
50
51
|
let t = e;
|
|
51
|
-
return p?.forEach((
|
|
52
|
-
const
|
|
53
|
-
(
|
|
52
|
+
return p?.forEach((a, s) => {
|
|
53
|
+
const o = a.chartId;
|
|
54
|
+
(i.has(o) || o === void 0 || o === "") && (a.chartId = `Chart_${Date.now()}_${s}`, e === o && (t = a.chartId)), i.add(o);
|
|
54
55
|
}), t;
|
|
55
56
|
}
|
|
56
|
-
function
|
|
57
|
-
return p?.filter((t) =>
|
|
57
|
+
function se(p, e, i) {
|
|
58
|
+
return p?.filter((t) => F(i, t.config) && t.layer?.id === e) ?? [];
|
|
58
59
|
}
|
|
59
|
-
function
|
|
60
|
-
const { modelList: e, layerList:
|
|
61
|
-
return e?.forEach((
|
|
62
|
-
const n =
|
|
60
|
+
function re(p) {
|
|
61
|
+
const { modelList: e, layerList: i, activeLayerId: t, disableEditing: a } = p, s = /* @__PURE__ */ new Map();
|
|
62
|
+
return e?.forEach((o) => {
|
|
63
|
+
const n = o.layer;
|
|
63
64
|
n && s.set(n.id, n);
|
|
64
|
-
}),
|
|
65
|
+
}), a || i.forEach((o) => s.set(o.id, o)), Array.from(s.values()).filter((o) => !t || o.id === t);
|
|
65
66
|
}
|
|
66
|
-
function
|
|
67
|
-
p.forEach((
|
|
67
|
+
function oe(p, e) {
|
|
68
|
+
p.forEach((i) => {
|
|
68
69
|
e.forEach((t) => {
|
|
69
|
-
|
|
70
|
+
i?.id === t.layer?.id && E(i, t);
|
|
70
71
|
});
|
|
71
72
|
});
|
|
72
73
|
}
|
|
73
|
-
function
|
|
74
|
-
const
|
|
75
|
-
if (
|
|
76
|
-
const t = [...
|
|
74
|
+
function E(p, e) {
|
|
75
|
+
const i = p;
|
|
76
|
+
if (i) {
|
|
77
|
+
const t = [...i?.charts ?? []], a = t?.findIndex((o) => o.id === e.chartId);
|
|
77
78
|
let s = !1;
|
|
78
|
-
|
|
79
|
+
a !== void 0 && a > -1 ? (s = !w(t[a], e.config), t[a] = e.config) : i && !D(e.config) && (s = !0, t.push(e.config)), s && (i.charts = t);
|
|
79
80
|
}
|
|
80
81
|
}
|
|
81
|
-
function
|
|
82
|
-
const
|
|
83
|
-
if (
|
|
84
|
-
const t = [...
|
|
85
|
-
|
|
82
|
+
function le(p, e) {
|
|
83
|
+
const i = p;
|
|
84
|
+
if (i) {
|
|
85
|
+
const t = [...i.charts ?? []], a = t.findIndex((s) => s.id === e);
|
|
86
|
+
a > -1 && (t.splice(a, 1), i.charts = t);
|
|
86
87
|
}
|
|
87
88
|
}
|
|
88
|
-
function
|
|
89
|
-
const
|
|
90
|
-
if (
|
|
91
|
-
let t = [...
|
|
89
|
+
function ne(p, e) {
|
|
90
|
+
const i = p;
|
|
91
|
+
if (i) {
|
|
92
|
+
let t = [...i.charts ?? []];
|
|
92
93
|
t = k({
|
|
93
94
|
arrayA: t,
|
|
94
|
-
arrayB: e.map((
|
|
95
|
-
getKey: (
|
|
96
|
-
}),
|
|
95
|
+
arrayB: e.map((a) => a.config),
|
|
96
|
+
getKey: (a) => a.id ?? a.title?.content.text ?? ""
|
|
97
|
+
}), i.charts = t;
|
|
97
98
|
}
|
|
98
99
|
}
|
|
99
|
-
const
|
|
100
|
-
class
|
|
100
|
+
const ce = K`: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}`;
|
|
101
|
+
class he extends X {
|
|
101
102
|
constructor() {
|
|
102
|
-
super(), this.selectChartTypePopover = null, this.chartsListFlowItem =
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
103
|
+
super(), this.selectChartTypePopover = null, this.chartsListFlowItem = q(), this.supportedChartTypes = [
|
|
104
|
+
r.BarSeries,
|
|
105
|
+
r.BoxPlotSeries,
|
|
106
|
+
r.LineSeries,
|
|
107
|
+
r.PieSeries,
|
|
108
|
+
r.HistogramSeries,
|
|
109
|
+
r.ScatterSeries,
|
|
110
|
+
r.HeatSeries
|
|
109
111
|
], this._messages = P(), this.commonStrings = P({ name: "common", blocking: !0 }), this.chartDataProcessComplete = (e) => {
|
|
110
|
-
const
|
|
111
|
-
if (
|
|
112
|
+
const i = e, { chartData: t, model: a } = i.detail, s = this.getModel(this.selectedChartId);
|
|
113
|
+
if (a?.isSameChartAs(s))
|
|
112
114
|
switch (s?.chartType) {
|
|
113
|
-
case
|
|
114
|
-
this.chartData = t,
|
|
115
|
+
case r.HistogramSeries:
|
|
116
|
+
this.chartData = t, a && (a.dataStore.chartData = t);
|
|
115
117
|
break;
|
|
116
|
-
case
|
|
117
|
-
this.chartData = t,
|
|
118
|
+
case r.PieSeries: {
|
|
119
|
+
this.chartData = t, a && (a.dataStore.chartData = t);
|
|
118
120
|
break;
|
|
119
121
|
}
|
|
120
|
-
case
|
|
122
|
+
case r.ScatterSeries: {
|
|
121
123
|
const n = t, { dataItems: c, r2: g, aggregated: u } = n;
|
|
122
124
|
let C = g;
|
|
123
|
-
Number.isFinite(g) || (C = void 0), this.r2 = C, _(
|
|
125
|
+
Number.isFinite(g) || (C = void 0), this.r2 = C, _(a) && (a.dataStore.r2 = C, a.dataStore.aggregated = u, u && (a.additionalTooltipField = void 0)), this.calculatedDataMinMaxBounds = this.getDataExtent(c), a && (a.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds);
|
|
124
126
|
break;
|
|
125
127
|
}
|
|
126
|
-
case
|
|
127
|
-
case
|
|
128
|
+
case r.LineSeries:
|
|
129
|
+
case r.BarSeries: {
|
|
128
130
|
const { dataItems: n, timeIntervalInfo: c } = t;
|
|
129
|
-
if ((
|
|
131
|
+
if ((S(s) || b(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 !== z.Quarter && (s.temporalBinningUnit = c?.unit), c?.size !== void 0 && c?.unit !== void 0 && Q(x, { size: c.size, unit: c.unit })), this.calculatedDataMinMaxBounds = this.getDataExtent(n), a && (a.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds), b(s)) {
|
|
130
132
|
const g = s.xAxisField, u = n.some((A) => A[g] === null), C = s.nullCategory;
|
|
131
|
-
u && C === void 0 && (s.nullCategory =
|
|
133
|
+
u && C === void 0 && (s.nullCategory = O.nullCategory);
|
|
132
134
|
}
|
|
133
135
|
break;
|
|
134
136
|
}
|
|
137
|
+
case r.HeatSeries: {
|
|
138
|
+
this.chartData = t;
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
135
141
|
}
|
|
136
142
|
}, this.chartAxesMinMaxChange = (e) => {
|
|
137
|
-
const
|
|
138
|
-
if (
|
|
143
|
+
const i = e, { bounds: t, model: a } = i.detail, s = this.getModel(this.selectedChartId), o = a?.isSameChartAs(s), n = s?.chartType;
|
|
144
|
+
if (o)
|
|
139
145
|
switch (n) {
|
|
140
|
-
case
|
|
141
|
-
case
|
|
142
|
-
case
|
|
143
|
-
case
|
|
144
|
-
case
|
|
145
|
-
this.calculatedMinMaxBounds = t,
|
|
146
|
+
case r.BarSeries:
|
|
147
|
+
case r.BoxPlotSeries:
|
|
148
|
+
case r.LineSeries:
|
|
149
|
+
case r.HistogramSeries:
|
|
150
|
+
case r.ScatterSeries:
|
|
151
|
+
this.calculatedMinMaxBounds = t, a && (a.dataStore.calculatedMinMaxBounds = t), this.updateAxesBoundsInAppState(t);
|
|
146
152
|
break;
|
|
147
153
|
}
|
|
148
154
|
}, this.chartSeriesColorChange = (e) => {
|
|
149
|
-
const
|
|
150
|
-
if (
|
|
155
|
+
const i = e, { data: t, model: a } = i.detail, s = this.getModel(this.selectedChartId);
|
|
156
|
+
if (a?.isSameChartAs(s))
|
|
151
157
|
switch (s?.chartType) {
|
|
152
|
-
case
|
|
153
|
-
case
|
|
154
|
-
case
|
|
155
|
-
case
|
|
156
|
-
this.seriesColor = t,
|
|
158
|
+
case r.BarSeries:
|
|
159
|
+
case r.BoxPlotSeries:
|
|
160
|
+
case r.LineSeries:
|
|
161
|
+
case r.HistogramSeries:
|
|
162
|
+
this.seriesColor = t, a && (a.dataStore.seriesColor = t);
|
|
157
163
|
break;
|
|
158
|
-
case
|
|
164
|
+
case r.PieSeries: {
|
|
159
165
|
const n = /* @__PURE__ */ new Map([[0, t]]);
|
|
160
|
-
this.seriesColor = n,
|
|
166
|
+
this.seriesColor = n, a && (a.dataStore.seriesColor = n);
|
|
161
167
|
break;
|
|
162
168
|
}
|
|
163
|
-
case
|
|
169
|
+
case r.ScatterSeries:
|
|
164
170
|
}
|
|
165
171
|
}, this.chartNoRenderPropChange = (e) => {
|
|
166
|
-
const
|
|
167
|
-
if (
|
|
172
|
+
const i = e, { propName: t, value: a, model: s } = i.detail, o = this.modelList.find((n) => s?.isSameChartAs(n));
|
|
173
|
+
if (o)
|
|
168
174
|
switch (t) {
|
|
169
175
|
case "rotation":
|
|
170
|
-
typeof
|
|
176
|
+
typeof a == "boolean" && H(o) && (o.rotatedState = a);
|
|
171
177
|
break;
|
|
172
178
|
case "legendPosition":
|
|
173
|
-
typeof
|
|
179
|
+
typeof a == "string" && v(o) && (o.legendPosition = a);
|
|
174
180
|
break;
|
|
175
181
|
case "legendVisibility":
|
|
176
|
-
typeof
|
|
182
|
+
typeof a == "boolean" && v(o) && (o.legendVisibility = a);
|
|
177
183
|
break;
|
|
178
184
|
}
|
|
179
185
|
}, this.chartLegendItemVisibilityChange = (e) => {
|
|
180
|
-
const
|
|
181
|
-
s?.setSeriesVisibility(t), T(s) && ((s.getMinBound(1) === null || Number.isNaN(s.getMinBound(1))) && s.setMinBound(null, 1), (s.getMaxBound(1) === null || Number.isNaN(s.getMaxBound(1))) && s.setMaxBound(null, 1),
|
|
186
|
+
const i = e, { legendItemVisibility: t, model: a } = i.detail, s = this.modelList.find((o) => a?.isSameChartAs(o));
|
|
187
|
+
s?.setSeriesVisibility(t), T(s) && ((s.getMinBound(1) === null || Number.isNaN(s.getMinBound(1))) && s.setMinBound(null, 1), (s.getMaxBound(1) === null || Number.isNaN(s.getMaxBound(1))) && s.setMaxBound(null, 1), S(s) && ((s.getMinBound(0) === null || Number.isNaN(s.getMinBound(0))) && s.setMinBound(null, 0), (s.getMaxBound(0) === null || Number.isNaN(s.getMaxBound(0))) && s.setMaxBound(null, 0)));
|
|
182
188
|
}, this.onSelectChartTypeChange = (e) => {
|
|
183
189
|
this.currentChartTypeText = "", this.calculatedDataMinMaxBounds = void 0, this.calculatedMinMaxBounds = void 0, this.removeSelectChartTypePopover();
|
|
184
|
-
const { selectedModelType:
|
|
185
|
-
|
|
190
|
+
const { selectedModelType: i, layerId: t } = e.target;
|
|
191
|
+
i !== void 0 && (this.allowChartSyncing = !0, this.arcgisChartsConfigNewChart.emit({
|
|
186
192
|
key: "key",
|
|
187
|
-
chartType:
|
|
193
|
+
chartType: i,
|
|
188
194
|
layerId: t
|
|
189
195
|
}));
|
|
190
196
|
}, this.onAddChartClose = () => {
|
|
191
197
|
this.removeSelectChartTypePopover();
|
|
192
198
|
}, this.onModelConfigChange = (e) => {
|
|
193
199
|
if (this.syncChartsToLayers && this.allowChartSyncing) {
|
|
194
|
-
const
|
|
195
|
-
|
|
200
|
+
const i = e.target;
|
|
201
|
+
E(i?.layer, i);
|
|
196
202
|
}
|
|
197
203
|
this.requestUpdate();
|
|
198
204
|
}, this.allowChartSyncing = !1, this.currentChartTypeText = "", this.modelList = [], this.layerList = [], this.disableEditing = !1, this.syncChartsToLayers = !1, this.panelNumber = 0, this.arcgisChartsConfigChartViewChartClose = y(), this.arcgisChartsConfigModelListChange = y(), this.arcgisChartsConfigNewChart = y(), this.arcgisChartsConfigPanelNumberChange = y(), this.arcgisChartsConfigSelectedChartChange = y(), this.addChartEventListeners(), this.listen("arcgisChartsConfigModelListReorder", this.modelListReorderChangeListener);
|
|
199
205
|
}
|
|
200
206
|
static {
|
|
201
|
-
this.properties = { selectedPanel: 16, currentChartTypeText: 16, messageOverrides: 0, modelList: [0, { hasChanged: M }], layerList: [0, { hasChanged: M }], selectedChartId: 1, activeLayerId: 1, disableEditing: 5, syncChartsToLayers: 5, timeZone: 1, headerTitle: 1, open: 5, chartData: [0, { hasChanged: M }], r2: 9, calculatedDataMinMaxBounds: [0, { hasChanged: M }], calculatedMinMaxBounds: [0, { hasChanged: M }], seriesColor: [0, { hasChanged:
|
|
207
|
+
this.properties = { selectedPanel: 16, currentChartTypeText: 16, messageOverrides: 0, modelList: [0, { hasChanged: M }], layerList: [0, { hasChanged: M }], selectedChartId: 1, activeLayerId: 1, disableEditing: 5, syncChartsToLayers: 5, timeZone: 1, headerTitle: 1, open: 5, chartData: [0, { hasChanged: M }], r2: 9, calculatedDataMinMaxBounds: [0, { hasChanged: M }], calculatedMinMaxBounds: [0, { hasChanged: M }], seriesColor: [0, { hasChanged: ee }], popoverPlacement: 1, usePopupTemplateFieldsInfo: 5, panelNumber: 9, filterBySelection: 5 };
|
|
202
208
|
}
|
|
203
209
|
static {
|
|
204
|
-
this.styles =
|
|
210
|
+
this.styles = ce;
|
|
205
211
|
}
|
|
206
212
|
async setFocus() {
|
|
207
213
|
await this.chartsListFlowItem.value?.setFocus();
|
|
@@ -218,56 +224,57 @@ class ce extends X {
|
|
|
218
224
|
super.disconnectedCallback(), this.clearPartialModels(), this.removeSelectChartTypePopover();
|
|
219
225
|
}
|
|
220
226
|
modelListReorderChangeListener(e) {
|
|
221
|
-
const { modelList:
|
|
227
|
+
const { modelList: i } = e.detail;
|
|
222
228
|
if (this.modelList = k({
|
|
223
229
|
arrayA: this.modelList,
|
|
224
|
-
arrayB:
|
|
230
|
+
arrayB: i,
|
|
225
231
|
getKey: (t) => t.chartId ?? t.titleText ?? ""
|
|
226
232
|
}), this.syncChartsToLayers) {
|
|
227
|
-
const t =
|
|
233
|
+
const t = i.find((a) => a.layer?.id !== void 0)?.layer?.id;
|
|
228
234
|
if (t) {
|
|
229
|
-
const
|
|
230
|
-
|
|
235
|
+
const a = this.layerList.find((s) => s.id.toString() === t);
|
|
236
|
+
a && ne(a, i);
|
|
231
237
|
}
|
|
232
238
|
}
|
|
233
239
|
}
|
|
234
240
|
async layerListChange() {
|
|
235
|
-
const e = [],
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
241
|
+
const e = [], i = this.layerList.map((a) => a.id.toString());
|
|
242
|
+
let t = [...this.modelList.filter((a) => i.includes(a.layer?.id ?? ""))];
|
|
243
|
+
for (let a of this.layerList ?? []) {
|
|
244
|
+
if (a.type === "sublayer") {
|
|
245
|
+
const n = await a.createFeatureLayer();
|
|
239
246
|
if (!n)
|
|
240
247
|
continue;
|
|
241
|
-
|
|
248
|
+
a = n;
|
|
242
249
|
}
|
|
243
|
-
const
|
|
244
|
-
for (const n of
|
|
250
|
+
const o = a.charts;
|
|
251
|
+
for (const n of o ?? []) {
|
|
245
252
|
const c = await U({
|
|
246
|
-
layer:
|
|
253
|
+
layer: a,
|
|
247
254
|
config: n
|
|
248
255
|
});
|
|
249
256
|
c !== void 0 && e.push(c);
|
|
250
257
|
}
|
|
251
258
|
}
|
|
252
|
-
B(e), e.forEach((
|
|
253
|
-
t.find((
|
|
254
|
-
}), this.modelList = t;
|
|
255
|
-
}
|
|
256
|
-
modelListChange(e,
|
|
257
|
-
this.selectedChartId = B(e, this.selectedChartId),
|
|
258
|
-
|
|
259
|
-
}), e.forEach((
|
|
260
|
-
|
|
259
|
+
B(e), e.forEach((a) => {
|
|
260
|
+
t.find((o) => o.isSameChartAs(a)) === void 0 && t.push(a);
|
|
261
|
+
}), t = t.filter((a) => !R(a.config)), this.modelList = t;
|
|
262
|
+
}
|
|
263
|
+
modelListChange(e, i) {
|
|
264
|
+
this.selectedChartId = B(e, this.selectedChartId), i?.forEach((a) => {
|
|
265
|
+
a.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
266
|
+
}), e.forEach((a) => {
|
|
267
|
+
a.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
261
268
|
});
|
|
262
269
|
const t = this.getModel(this.selectedChartId);
|
|
263
|
-
this.currentChartTypeText = t?.chartType !== void 0 ? L(t.chartType, this.commonStrings) : "", this.syncChartsToLayers && this.allowChartSyncing &&
|
|
270
|
+
this.currentChartTypeText = t?.chartType !== void 0 ? L(t.chartType, this.commonStrings) : "", this.syncChartsToLayers && this.allowChartSyncing && oe(this.layerList, e), this.arcgisChartsConfigModelListChange.emit({ modelList: e });
|
|
264
271
|
}
|
|
265
272
|
selectedChartIdChange(e) {
|
|
266
273
|
this.selectedChartId === void 0 && (this.panelNumber = 0), this.selectedPanel = l.Data;
|
|
267
|
-
const
|
|
268
|
-
this.setEventBasedPropsFromModelData(
|
|
274
|
+
const i = this.getModel(e);
|
|
275
|
+
this.setEventBasedPropsFromModelData(i), this.currentChartTypeText = i?.chartType !== void 0 ? L(i.chartType, this.commonStrings) : "", e !== void 0 && e !== x.selectedChartId && (x.selectedChartId = e), this.allowChartSyncing = !0, this.arcgisChartsConfigSelectedChartChange.emit({
|
|
269
276
|
key: "key",
|
|
270
|
-
model:
|
|
277
|
+
model: i
|
|
271
278
|
});
|
|
272
279
|
}
|
|
273
280
|
panelNumberChange(e) {
|
|
@@ -277,25 +284,25 @@ class ce extends X {
|
|
|
277
284
|
this.listenOn(document, f.DataProcessComplete, this.chartDataProcessComplete), this.listenOn(document, f.AxesMinMaxChange, this.chartAxesMinMaxChange), this.listenOn(document, f.SeriesColorChange, this.chartSeriesColorChange), this.listenOn(document, f.NoRenderPropChange, this.chartNoRenderPropChange), this.listenOn(document, f.LegendItemVisibilityChange, this.chartLegendItemVisibilityChange);
|
|
278
285
|
}
|
|
279
286
|
getDataExtent(e) {
|
|
280
|
-
const
|
|
287
|
+
const i = this.getModel(this.selectedChartId)?.config;
|
|
281
288
|
let t = [];
|
|
282
|
-
if (
|
|
283
|
-
const
|
|
284
|
-
chartConfig:
|
|
289
|
+
if (i !== void 0 && e !== void 0) {
|
|
290
|
+
const a = W({
|
|
291
|
+
chartConfig: i,
|
|
285
292
|
chartData: e
|
|
286
|
-
}), { minY: s, maxY:
|
|
293
|
+
}), { minY: s, maxY: o, minX: n, maxX: c } = a;
|
|
287
294
|
t = [
|
|
288
295
|
{ isXAxis: !0, minimum: n, maximum: c },
|
|
289
|
-
{ isXAxis: !1, minimum: s, maximum:
|
|
296
|
+
{ isXAxis: !1, minimum: s, maximum: o }
|
|
290
297
|
];
|
|
291
298
|
}
|
|
292
299
|
return t;
|
|
293
300
|
}
|
|
294
301
|
updateAxesBoundsInAppState(e) {
|
|
295
|
-
e?.forEach((
|
|
296
|
-
const { isXAxis: t, maximum:
|
|
297
|
-
if (
|
|
298
|
-
const n = new
|
|
302
|
+
e?.forEach((i) => {
|
|
303
|
+
const { isXAxis: t, maximum: a, minimum: s } = i, o = this.getModel(this.selectedChartId);
|
|
304
|
+
if (o !== void 0 && T(o) && this.selectedChartId !== void 0) {
|
|
305
|
+
const n = new ae(o, t), c = J({
|
|
299
306
|
chartId: this.selectedChartId,
|
|
300
307
|
isXAxis: t,
|
|
301
308
|
isLogarithmic: n.getLogarithmic()
|
|
@@ -304,8 +311,8 @@ class ce extends X {
|
|
|
304
311
|
const u = g[this.selectedChartId]?.[c], C = {
|
|
305
312
|
defaultMinBound: u?.defaultMinBound === u?.currMinBound ? s : u?.defaultMinBound,
|
|
306
313
|
currMinBound: s,
|
|
307
|
-
defaultMaxBound: u?.defaultMaxBound === u?.currMaxBound ?
|
|
308
|
-
currMaxBound:
|
|
314
|
+
defaultMaxBound: u?.defaultMaxBound === u?.currMaxBound ? a : u?.defaultMaxBound,
|
|
315
|
+
currMaxBound: a
|
|
309
316
|
};
|
|
310
317
|
!w(u, C) && this.selectedChartId !== void 0 && g?.[this.selectedChartId] !== void 0 && (g[this.selectedChartId][c] = C);
|
|
311
318
|
}
|
|
@@ -313,21 +320,21 @@ class ce extends X {
|
|
|
313
320
|
}
|
|
314
321
|
getPlacement() {
|
|
315
322
|
let e;
|
|
316
|
-
return this.popoverPlacement !== void 0 ? e = this.popoverPlacement : e = this.modelList?.filter((
|
|
323
|
+
return this.popoverPlacement !== void 0 ? e = this.popoverPlacement : e = this.modelList?.filter((a) => F(te, a.config)).length <= 2 ? "bottom" : "top", e;
|
|
317
324
|
}
|
|
318
325
|
onBackFlow() {
|
|
319
326
|
this.panelNumber -= 1;
|
|
320
327
|
}
|
|
321
328
|
onAddChartClick(e) {
|
|
322
|
-
const { referenceElement:
|
|
323
|
-
this.setupSelectChartTypePopover(
|
|
329
|
+
const { referenceElement: i, layerId: t } = e.detail;
|
|
330
|
+
this.setupSelectChartTypePopover(i, t);
|
|
324
331
|
}
|
|
325
|
-
setupSelectChartTypePopover(e,
|
|
332
|
+
setupSelectChartTypePopover(e, i) {
|
|
326
333
|
const t = this.getPlacement();
|
|
327
|
-
this.removeSelectChartTypePopover(), this.selectChartTypePopover = I(h`<arcgis-charts-config-select-chart-type-popover .referenceElement=${e} open .layerId=${
|
|
334
|
+
this.removeSelectChartTypePopover(), this.selectChartTypePopover = I(h`<arcgis-charts-config-select-chart-type-popover .referenceElement=${e} open .layerId=${i} .popoverPlacement=${t} @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);
|
|
328
335
|
}
|
|
329
336
|
getModel(e) {
|
|
330
|
-
return this.modelList?.find((
|
|
337
|
+
return this.modelList?.find((i) => i.chartId === e);
|
|
331
338
|
}
|
|
332
339
|
removeSelectChartTypePopover() {
|
|
333
340
|
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover = G(this.selectChartTypePopover));
|
|
@@ -336,10 +343,10 @@ class ce extends X {
|
|
|
336
343
|
this.modelList = this.modelList.filter((e) => !D(e.config));
|
|
337
344
|
}
|
|
338
345
|
onViewChartDelete(e) {
|
|
339
|
-
const { chartId:
|
|
340
|
-
if (
|
|
341
|
-
const t = this.modelList.find((s) => s.chartId ===
|
|
342
|
-
this.modelList = [...this.modelList.filter((s) => s.chartId !==
|
|
346
|
+
const { chartId: i } = e.detail;
|
|
347
|
+
if (i !== void 0) {
|
|
348
|
+
const t = this.modelList.find((s) => s.chartId === i), a = this.layerList.find((s) => s.id === t?.layer?.id);
|
|
349
|
+
this.modelList = [...this.modelList.filter((s) => s.chartId !== i)], a && this.syncChartsToLayers && this.allowChartSyncing && le(a, i);
|
|
343
350
|
}
|
|
344
351
|
}
|
|
345
352
|
onViewChartsSelect(e) {
|
|
@@ -358,9 +365,9 @@ class ce extends X {
|
|
|
358
365
|
this.chartData = e?.dataStore.chartData, this.r2 = e?.dataStore.r2, this.seriesColor = e?.dataStore.seriesColor, this.calculatedMinMaxBounds = e?.dataStore.calculatedMinMaxBounds, this.calculatedDataMinMaxBounds = e?.dataStore.calculatedDataMinMaxBounds;
|
|
359
366
|
}
|
|
360
367
|
createTooltip(e) {
|
|
361
|
-
const
|
|
368
|
+
const i = e.target;
|
|
362
369
|
let t = "";
|
|
363
|
-
switch (
|
|
370
|
+
switch (i.icon) {
|
|
364
371
|
case "configure":
|
|
365
372
|
t = this._messages.data ?? "";
|
|
366
373
|
break;
|
|
@@ -388,41 +395,41 @@ class ce extends X {
|
|
|
388
395
|
t = "";
|
|
389
396
|
break;
|
|
390
397
|
}
|
|
391
|
-
this.tooltip = I(h`<calcite-tooltip style=${
|
|
398
|
+
this.tooltip = I(h`<calcite-tooltip style=${j({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${i} open placement=top>${t}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
392
399
|
}
|
|
393
400
|
destroyTooltip() {
|
|
394
|
-
|
|
401
|
+
ie(this.tooltip);
|
|
395
402
|
}
|
|
396
403
|
renderViewCharts() {
|
|
397
|
-
const e =
|
|
404
|
+
const e = re({
|
|
398
405
|
modelList: this.modelList,
|
|
399
406
|
layerList: this.layerList,
|
|
400
407
|
activeLayerId: this.activeLayerId,
|
|
401
408
|
disableEditing: this.disableEditing
|
|
402
409
|
});
|
|
403
|
-
return V(e, (
|
|
410
|
+
return V(e, (i) => i.id, (i) => h`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId !== void 0} .modelList=${se(this.modelList, i.id.toString(), 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>`);
|
|
404
411
|
}
|
|
405
412
|
render() {
|
|
406
|
-
return this.open !== !1 ? h`<calcite-flow>${$("charts-list", h`<calcite-flow-item .selected=${this.panelNumber === 0 || this.disableEditing} .heading=${this.headerTitle ?? this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${
|
|
413
|
+
return this.open !== !1 ? h`<calcite-flow>${$("charts-list", h`<calcite-flow-item .selected=${this.panelNumber === 0 || this.disableEditing} .heading=${this.headerTitle ?? this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${Y(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.renderTabs()}</calcite-flow>` : null;
|
|
407
414
|
}
|
|
408
415
|
renderTabs() {
|
|
409
416
|
const e = this.getModel(this.selectedChartId);
|
|
410
|
-
return $("chart-edit", h`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? l.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ?
|
|
417
|
+
return $("chart-edit", h`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? l.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ? Z(this._messages.pageFlowTitle, {
|
|
411
418
|
chartName: e?.titleText ?? this.currentChartTypeText,
|
|
412
419
|
layerName: e?.layer?.title ?? ""
|
|
413
420
|
}) : ""}>${e?.chartType !== void 0 ? h`<calcite-action-bar class=${d(m.tabBar)} layout=horizontal expand-disabled><calcite-action class=${d(m.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel === l.Data || this.selectedPanel === void 0} @click=${() => {
|
|
414
421
|
this.selectedPanel = l.Data;
|
|
415
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.chartType ===
|
|
422
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.chartType === r.BarSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-bar-stacked scale=s alignment=center .active=${this.selectedPanel === l.Series} @click=${() => {
|
|
416
423
|
this.selectedPanel = l.Series;
|
|
417
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType ===
|
|
424
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === r.LineSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-line-series scale=s alignment=center .active=${this.selectedPanel === l.Series} @click=${() => {
|
|
418
425
|
this.selectedPanel = l.Series;
|
|
419
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType ===
|
|
426
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === r.BoxPlotSeries ? h`<calcite-action class=${d(m.tab)} icon=box-chart-series scale=s alignment=center .active=${this.selectedPanel === l.Series} @click=${() => {
|
|
420
427
|
this.selectedPanel = l.Series;
|
|
421
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType ===
|
|
428
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === r.PieSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-pie-slice scale=s alignment=center .active=${this.selectedPanel === l.Slices} @click=${() => {
|
|
422
429
|
this.selectedPanel = l.Slices;
|
|
423
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !==
|
|
430
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !== r.PieSeries && e?.chartType !== r.HeatSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-axis scale=s alignment=center .active=${this.selectedPanel === l.Axes} @click=${() => {
|
|
424
431
|
this.selectedPanel = l.Axes;
|
|
425
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !==
|
|
432
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !== r.PieSeries && e?.chartType !== r.HeatSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-guides scale=s alignment=center .active=${this.selectedPanel === l.Guides} @click=${() => {
|
|
426
433
|
this.selectedPanel = l.Guides;
|
|
427
434
|
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}<calcite-action class=${d(m.tab)} icon=palette scale=s alignment=center .active=${this.selectedPanel === l.Format} @click=${() => {
|
|
428
435
|
this.selectedPanel = l.Format;
|
|
@@ -431,33 +438,36 @@ class ce extends X {
|
|
|
431
438
|
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action></calcite-action-bar>` : null}${this.renderChartUIComponent()}</calcite-flow-item>`);
|
|
432
439
|
}
|
|
433
440
|
renderChartUIComponent() {
|
|
434
|
-
const e = this.getModel(this.selectedChartId),
|
|
441
|
+
const e = this.getModel(this.selectedChartId), i = e?.layer;
|
|
435
442
|
let t = null;
|
|
436
443
|
if (e !== void 0 && !this.disableEditing)
|
|
437
444
|
switch (e?.chartType) {
|
|
438
|
-
case
|
|
439
|
-
t = h`<arcgis-charts-config-bar-chart class=${d(m.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${
|
|
445
|
+
case r.BarSeries:
|
|
446
|
+
t = h`<arcgis-charts-config-bar-chart class=${d(m.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${i} .page=${this.selectedPanel ?? l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-bar-chart>`;
|
|
447
|
+
break;
|
|
448
|
+
case r.LineSeries:
|
|
449
|
+
t = h`<arcgis-charts-config-line-chart class=${d(m.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${i} .page=${this.selectedPanel ?? l.Data} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-line-chart>`;
|
|
440
450
|
break;
|
|
441
|
-
case
|
|
442
|
-
t = h`<arcgis-charts-config-
|
|
451
|
+
case r.PieSeries:
|
|
452
|
+
t = h`<arcgis-charts-config-pie-chart class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${i} .chartData=${this.chartData} .page=${this.selectedPanel ?? l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor} .filterBySelection=${this.filterBySelection}></arcgis-charts-config-pie-chart>`;
|
|
443
453
|
break;
|
|
444
|
-
case
|
|
445
|
-
t = h`<arcgis-charts-config-
|
|
454
|
+
case r.HistogramSeries:
|
|
455
|
+
t = h`<arcgis-charts-config-histogram class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${i} .page=${this.selectedPanel ?? l.Data} .chartData=${this.chartData} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-histogram>`;
|
|
446
456
|
break;
|
|
447
|
-
case
|
|
448
|
-
t = h`<arcgis-charts-config-
|
|
457
|
+
case r.ScatterSeries:
|
|
458
|
+
t = h`<arcgis-charts-config-scatter-plot class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${i} .page=${this.selectedPanel ?? l.Data} .r2=${this.r2} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-scatter-plot>`;
|
|
449
459
|
break;
|
|
450
|
-
case
|
|
451
|
-
t = h`<arcgis-charts-config-
|
|
460
|
+
case r.BoxPlotSeries:
|
|
461
|
+
t = h`<arcgis-charts-config-box-plot class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${i} .page=${this.selectedPanel ?? l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-box-plot>`;
|
|
452
462
|
break;
|
|
453
|
-
case
|
|
454
|
-
t = h`<arcgis-charts-config-
|
|
463
|
+
case r.HeatSeries:
|
|
464
|
+
t = h`<arcgis-charts-config-heat-chart class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .chartData=${this.chartData} .layer=${i} .page=${this.selectedPanel ?? l.Data}></arcgis-charts-config-heat-chart>`;
|
|
455
465
|
break;
|
|
456
466
|
}
|
|
457
467
|
return t;
|
|
458
468
|
}
|
|
459
469
|
}
|
|
460
|
-
N("arcgis-charts-config-create-flow",
|
|
470
|
+
N("arcgis-charts-config-create-flow", he);
|
|
461
471
|
export {
|
|
462
|
-
|
|
472
|
+
he as ArcgisChartsConfigCreateFlow
|
|
463
473
|
};
|
|
@@ -11,4 +11,5 @@ import "../arcgis-charts-config-pie-chart/index.js";
|
|
|
11
11
|
import "../arcgis-charts-config-histogram/index.js";
|
|
12
12
|
import "../arcgis-charts-config-scatter-plot/index.js";
|
|
13
13
|
import "../arcgis-charts-config-box-plot/index.js";
|
|
14
|
+
import "../arcgis-charts-config-heat-chart/index.js";
|
|
14
15
|
export * from "./customElement.js";
|