@arcgis/charts-components 5.0.0-next.114 → 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/{RQT2MN42.js → 2FBA5PUG.js} +2 -2
- package/dist/cdn/{GMQUAAO2.js → 2GMN5SDI.js} +2 -2
- package/dist/cdn/{6W4YRK74.js → 2QS5TJQ5.js} +2 -2
- package/dist/cdn/{3QGTKNQ6.js → 2UFPDUIM.js} +2 -2
- package/dist/cdn/{53VJWULL.js → 2VJZAFQ5.js} +2 -2
- package/dist/cdn/{3MUVNXGI.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/{TGB5KU2R.js → 3G326OQZ.js} +2 -2
- package/dist/cdn/{5DJXTCA4.js → 3KMT633V.js} +2 -2
- package/dist/cdn/{WQYWISKC.js → 3QIAN4NS.js} +2 -2
- package/dist/cdn/{AM5VHYYJ.js → 3QQW7LHD.js} +2 -2
- package/dist/cdn/3RFGO2LD.js +4 -0
- package/dist/cdn/{CDBECKFD.js → 3RLZ3DW3.js} +2 -2
- package/dist/cdn/{GXJBV5UC.js → 45QWWJD3.js} +2 -2
- package/dist/cdn/{I4ZMBVX7.js → 4J4KBZY3.js} +2 -2
- package/dist/cdn/{7HCPPTUF.js → 4LBJNKKZ.js} +2 -2
- package/dist/cdn/{CU6T4VVL.js → 4OGHM3VZ.js} +2 -2
- package/dist/cdn/{N3QUHG2D.js → 4QFEW5TW.js} +2 -2
- package/dist/cdn/{7TK3JICU.js → 4RMNH5HJ.js} +2 -2
- package/dist/cdn/{Q5YT7SCP.js → 55MXXTNW.js} +2 -2
- package/dist/cdn/{YBWCF4IP.js → 57E24OM4.js} +2 -2
- package/dist/cdn/{R36SCSY2.js → 5DW2ZJAO.js} +2 -2
- package/dist/cdn/{WMPSIJNV.js → 5EWHPJJ5.js} +2 -2
- package/dist/cdn/{NVUJTAXL.js → 5I5JN5D4.js} +2 -2
- package/dist/cdn/65N2W4PE.js +34 -0
- package/dist/cdn/{HGCY5B3V.js → 6EJUU3SQ.js} +2 -2
- package/dist/cdn/6TJC4ARR.js +4 -0
- package/dist/cdn/{QYN5OFQK.js → 6VN7W4Z2.js} +1 -1
- package/dist/cdn/6YNW5VCL.js +4 -0
- package/dist/cdn/7AUAR63V.js +4 -0
- package/dist/cdn/{4SMSSHLX.js → 7GUP5FX5.js} +2 -2
- package/dist/cdn/{3MM3XJPI.js → 7KNKL7YD.js} +2 -2
- package/dist/cdn/{2GULATCF.js → 7LIDKM3N.js} +2 -2
- package/dist/cdn/{P3EOBFDT.js → A4QJGZYT.js} +2 -2
- package/dist/cdn/A4ZWPSMP.js +4 -0
- package/dist/cdn/{55RWZ5NT.js → AHMMJX3X.js} +2 -2
- package/dist/cdn/APSLVZEW.js +4 -0
- package/dist/cdn/{DEFPCI6M.js → AQQXXPQZ.js} +2 -2
- package/dist/cdn/AUWJJX2Y.js +4 -0
- package/dist/cdn/{CW423CUZ.js → AXHOHEHC.js} +1 -1
- package/dist/cdn/{LT2ATX5N.js → BP5JW4TO.js} +2 -2
- package/dist/cdn/{R5Y7ZMDF.js → BQF3ODZK.js} +2 -2
- package/dist/cdn/{U7XLUM43.js → BWHBVBRT.js} +2 -2
- package/dist/cdn/C47CFB4O.js +4 -0
- package/dist/cdn/{T467NUGF.js → CBVYZRGJ.js} +2 -2
- package/dist/cdn/{DH7D2MGT.js → CCFDRTZG.js} +29 -29
- package/dist/cdn/CGR4BWQJ.js +4 -0
- package/dist/cdn/CGXE3LSR.js +4 -0
- package/dist/cdn/{52233W4X.js → CVA2R34Y.js} +2 -2
- package/dist/cdn/CXA7LQDC.js +6 -0
- package/dist/cdn/{YYEUYKQA.js → CZSHY7VL.js} +2 -2
- package/dist/cdn/{JC4ID4OZ.js → D2TJTRO3.js} +2 -2
- package/dist/cdn/{LFAVERZK.js → D6FUQNYT.js} +2 -2
- package/dist/cdn/DEBFITLZ.js +4 -0
- package/dist/cdn/{EHONVPL7.js → DPP5JBQ6.js} +1 -1
- package/dist/cdn/DSBEXXSM.js +4 -0
- package/dist/cdn/{NXA7ZUX6.js → E3YRBMHV.js} +2 -2
- package/dist/cdn/{C46PS4TX.js → EAS3QCTO.js} +2 -2
- package/dist/cdn/{TSFTZUSI.js → F23KF5EO.js} +2 -2
- package/dist/cdn/{3BF4AQED.js → F5R34OKI.js} +2 -2
- package/dist/cdn/{IIIH67B3.js → F6MBWAXU.js} +2 -2
- package/dist/cdn/{3PO4B2K3.js → FV6A53GU.js} +2 -2
- package/dist/cdn/FVRR32JS.js +4 -0
- package/dist/cdn/{2HA2PZQ6.js → G365JBMZ.js} +1 -1
- package/dist/cdn/{WCY2L442.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/{EF7JCBMS.js → GZLY6HQP.js} +1 -1
- package/dist/cdn/{WYBZLFF7.js → H2AO665N.js} +2 -2
- package/dist/cdn/{3LQWIMRQ.js → HD2ZXNGB.js} +2 -2
- package/dist/cdn/{H7GIIEPS.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/{2CX7YXG7.js → IAAJMNRU.js} +2 -2
- package/dist/cdn/{LDBJBLWQ.js → IBAAGUE6.js} +2 -2
- package/dist/cdn/{SNF5E6SM.js → ICDQXJJL.js} +2 -2
- package/dist/cdn/IGJEGPQG.js +4 -0
- package/dist/cdn/{IJJZGPAW.js → IGPDOFMJ.js} +2 -2
- package/dist/cdn/{QIZBGZEE.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/{6PDHQMNK.js → JCNLCLEG.js} +2 -2
- package/dist/cdn/{QQYH3KUL.js → JFH3QUYT.js} +2 -2
- package/dist/cdn/JHQ2UAPI.js +4 -0
- package/dist/cdn/JHYUP7LW.js +4 -0
- package/dist/cdn/{SDRKL7IH.js → JMTVC3GN.js} +2 -2
- package/dist/cdn/{47ZJXZXD.js → JQ7YFFRL.js} +2 -2
- package/dist/cdn/JQJIXGU3.js +4 -0
- package/dist/cdn/JV3PG2AD.js +4 -0
- package/dist/cdn/{JGMU7WBA.js → KCSYVBWF.js} +2 -2
- package/dist/cdn/KO5OGIH7.js +4 -0
- package/dist/cdn/KQJAG7ZS.js +4 -0
- package/dist/cdn/{E5FDRUDI.js → L2TWIH5Z.js} +2 -2
- package/dist/cdn/{B3WTAI62.js → L2ZJMBZB.js} +2 -2
- package/dist/cdn/{IW5MVKLI.js → L3VZ5IHX.js} +2 -2
- package/dist/cdn/{4REOTHYM.js → L4OFBY5Y.js} +2 -2
- package/dist/cdn/{BABUC4LE.js → L6QEAS33.js} +2 -2
- package/dist/cdn/{7RC54OTC.js → LATBVT72.js} +2 -2
- package/dist/cdn/{HU3C6O2V.js → LG6SJISO.js} +2 -2
- package/dist/cdn/LHMOTHQN.js +4 -0
- package/dist/cdn/{QY7X4QJI.js → LKT35O5Z.js} +2 -2
- package/dist/cdn/{GQ6Y7I3V.js → LNY7VO77.js} +2 -2
- package/dist/cdn/{NTOILAAX.js → LOMSWOGR.js} +2 -2
- package/dist/cdn/LQRES7J3.js +4 -0
- package/dist/cdn/LVVIF2B4.js +4 -0
- package/dist/cdn/{FT6UC3JB.js → M4V2KEMZ.js} +2 -2
- package/dist/cdn/M6S5OWHP.js +4 -0
- package/dist/cdn/MIIKHSMB.js +4 -0
- package/dist/cdn/{WNORUDAL.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/{IOOOPEEX.js → ODOWMT3R.js} +2 -2
- package/dist/cdn/OG6S5Q4T.js +4 -0
- package/dist/cdn/ON4QNUDJ.js +4 -0
- package/dist/cdn/{2DE4F35V.js → OOYEE27X.js} +2 -2
- package/dist/cdn/{ORQ5VVLY.js → OU76SIMR.js} +2 -2
- package/dist/cdn/OXI4STZW.js +4 -0
- package/dist/cdn/{SAQPXQUQ.js → P6RNC2LG.js} +2 -2
- package/dist/cdn/{KHFHQYLZ.js → PNWK6NJT.js} +2 -2
- package/dist/cdn/{GZNIWD74.js → PYSV3QLB.js} +2 -2
- package/dist/cdn/PYYXSBKR.js +4 -0
- package/dist/cdn/QBW7NI3U.js +4 -0
- package/dist/cdn/{DNCJUVXO.js → QC2RKL3B.js} +1 -1
- package/dist/cdn/{QGWKXEI4.js → QXQQWDEZ.js} +2 -2
- package/dist/cdn/{LSSXR6K3.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/{YNS4GIGO.js → SG2AXP3X.js} +2 -2
- package/dist/cdn/SJZHFPQY.js +4 -0
- package/dist/cdn/STFWYSRQ.js +4 -0
- package/dist/cdn/{72L2KGU3.js → SY2XGQFQ.js} +2 -2
- package/dist/cdn/TBMQYFV3.js +4 -0
- package/dist/cdn/{3CUNETBW.js → THYCR5MP.js} +2 -2
- package/dist/cdn/TOKTXF46.js +4 -0
- package/dist/cdn/TVO6I7Z4.js +4 -0
- package/dist/cdn/{M6XXJ7ZT.js → U5YU25AX.js} +2 -2
- package/dist/cdn/{XYMVLEUO.js → UEUW4SDT.js} +2 -2
- package/dist/cdn/UGPTGIHT.js +4 -0
- package/dist/cdn/{4ACBZIPL.js → UINIKLYT.js} +2 -2
- package/dist/cdn/{4IDW3R33.js → UQUSUIJZ.js} +2 -2
- package/dist/cdn/{A5GRUROJ.js → UWA76BGM.js} +2 -2
- package/dist/cdn/{OUIHKS23.js → UZLKNIS6.js} +2 -2
- package/dist/cdn/{LOURBPI7.js → VAQBU5UZ.js} +2 -2
- package/dist/cdn/{GFJJJNG4.js → VFKVM3NN.js} +2 -2
- package/dist/cdn/{PRUWOI4T.js → VIQWFB6N.js} +2 -2
- package/dist/cdn/{YMTOWVGR.js → VRNNMWD4.js} +2 -2
- package/dist/cdn/{ZIJI7X2J.js → VVU6BIVW.js} +2 -2
- package/dist/cdn/{JYK7MOKB.js → VZ7TPZSI.js} +2 -2
- package/dist/cdn/{AYJ2DAHD.js → VZJHCJ6S.js} +2 -2
- package/dist/cdn/{QVNIWF7Y.js → W24IPQ7R.js} +2 -2
- package/dist/cdn/{F252MJWW.js → W55AMOTU.js} +2 -2
- package/dist/cdn/{7ZCCKCDI.js → WHKYXSL2.js} +2 -2
- package/dist/cdn/WINJFIVF.js +4 -0
- package/dist/cdn/{LWN2GJKZ.js → WJIAB5OJ.js} +2 -2
- package/dist/cdn/{CXNYGDEG.js → WKDKHX46.js} +2 -2
- package/dist/cdn/{NLRPWCMA.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/{Y4EIVXNU.js → XGZ3RDUR.js} +2 -2
- package/dist/cdn/XTN72LYW.js +4 -0
- package/dist/cdn/{YW6BKERZ.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/{VP6SIJ6W.js → YOZZWZZ2.js} +2 -2
- package/dist/cdn/{AKAY7UUY.js → YTODIPYA.js} +2 -2
- package/dist/cdn/{JZXOZPKS.js → Z5TZMPWH.js} +2 -2
- package/dist/cdn/{KAWA7DCI.js → Z6MC3U6Z.js} +2 -2
- package/dist/cdn/{433XUGGB.js → ZIY3JLY2.js} +2 -2
- package/dist/cdn/{F6HH6GPD.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 +8 -9
- package/dist/chart-rendering/next/chart-library-elements/legend/index.d.ts +2 -2
- package/dist/chart-rendering/next/chart-library-elements/series/heat-chart/index.d.ts +2 -0
- package/dist/chart-rendering/next/defaults/index.d.ts +3 -0
- 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 +52 -47
- 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 +48 -49
- 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 +30 -28
- package/dist/chunks/heat-chart-model.js +174 -128
- package/dist/chunks/histogram-data.js +42 -41
- package/dist/chunks/histogram-model.js +43 -39
- package/dist/chunks/index.js +1711 -1649
- 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 +11 -8
- package/dist/chunks/model-setter.js +114 -0
- package/dist/chunks/model-with-multi-axes.js +636 -711
- 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 +128 -118
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +9 -6
- 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 +69 -64
- package/dist/chunks/serial-chart-data.js +705 -949
- package/dist/chunks/serial-chart-model.js +34 -28
- 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 +37 -37
- package/dist/components/arcgis-chart/customElement.d.ts +2 -0
- package/dist/components/arcgis-chart/customElement.js +5219 -4999
- 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 +8 -2
- package/dist/model/chart-model/chart-model.d.ts +4 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +4 -2
- package/dist/model/gauge-model/gauge-model.d.ts +4 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +42 -13
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +55 -18
- package/dist/model/histogram-model/histogram-model.d.ts +7 -2
- package/dist/model/line-chart-model/line-chart-model.d.ts +4 -1
- package/dist/model/mixins/index.d.ts +0 -2
- package/dist/model/mixins/model-with-multi-axes.d.ts +5 -0
- package/dist/model/mixins/model-with-x-guides.d.ts +5 -0
- package/dist/model/mixins/model-with-y-guides.d.ts +5 -0
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +4 -1
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +7 -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/radar-chart-model/radar-chart-model.d.ts +4 -1
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +7 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +8 -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 +19 -3
- 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/2HK5DP4Z.js +0 -4
- package/dist/cdn/2J6B67VX.js +0 -4
- package/dist/cdn/2KGX6D5F.js +0 -4
- package/dist/cdn/2ZTCBM34.js +0 -4
- package/dist/cdn/3AC3WNOD.js +0 -4
- package/dist/cdn/3EFUHQNT.js +0 -4
- package/dist/cdn/3IBBMA2A.js +0 -4
- package/dist/cdn/3KTEORBN.js +0 -4
- package/dist/cdn/3OAQQDYR.js +0 -4
- package/dist/cdn/55XCO5XY.js +0 -4
- package/dist/cdn/5ZR4T5HT.js +0 -4
- package/dist/cdn/7A5FF3AI.js +0 -4
- package/dist/cdn/7BHIWXSS.js +0 -4
- package/dist/cdn/7DJBZYIA.js +0 -4
- package/dist/cdn/7IQ2I4LF.js +0 -4
- package/dist/cdn/7NXQKEG4.js +0 -6
- package/dist/cdn/AKL57XN5.js +0 -4
- package/dist/cdn/AW47UABM.js +0 -4
- package/dist/cdn/BBKG2HUU.js +0 -4
- package/dist/cdn/CR4PATFF.js +0 -4
- package/dist/cdn/E7NHJGIP.js +0 -4
- package/dist/cdn/EBYCFLZ7.js +0 -4
- package/dist/cdn/EGC3AWWB.js +0 -4
- package/dist/cdn/EHBSW7CZ.js +0 -4
- package/dist/cdn/FIOJ6UCT.js +0 -4
- package/dist/cdn/GBZWXF7H.js +0 -4
- package/dist/cdn/GEXUZYQM.js +0 -4
- package/dist/cdn/H5BAMOUO.js +0 -4
- package/dist/cdn/HEZL6MN5.js +0 -4
- package/dist/cdn/HJJ3F5RK.js +0 -4
- package/dist/cdn/IA5F2RAW.js +0 -4
- package/dist/cdn/ICJBM7FW.js +0 -4
- package/dist/cdn/IYMPXWG4.js +0 -4
- package/dist/cdn/J3SNSKNC.js +0 -4
- package/dist/cdn/JM6DKNYQ.js +0 -4
- package/dist/cdn/JXVQVJ5E.js +0 -4
- package/dist/cdn/K2XDV2FA.js +0 -4
- package/dist/cdn/K7RWT3Y5.js +0 -4
- package/dist/cdn/KD7WPGSJ.js +0 -4
- package/dist/cdn/LKHZVZT7.js +0 -4
- package/dist/cdn/LZSRP7IC.js +0 -4
- package/dist/cdn/MTCTTNXE.js +0 -4
- package/dist/cdn/N7EHANM3.js +0 -4
- package/dist/cdn/NSKCRQ46.js +0 -4
- package/dist/cdn/ONY47WL2.js +0 -4
- package/dist/cdn/PNXW5DDT.js +0 -4
- package/dist/cdn/Q5RT2IAQ.js +0 -4
- package/dist/cdn/QDHZGFHC.js +0 -4
- package/dist/cdn/QYI2QSH5.js +0 -4
- package/dist/cdn/SCGMS5AE.js +0 -32
- package/dist/cdn/TQTZG3W5.js +0 -4
- package/dist/cdn/U6QB64XJ.js +0 -4
- package/dist/cdn/USUNUI2C.js +0 -4
- package/dist/cdn/UZF3L4UK.js +0 -4
- package/dist/cdn/VMNCZHNP.js +0 -4
- package/dist/cdn/VSO43DDC.js +0 -4
- package/dist/cdn/VYH4PEFA.js +0 -4
- package/dist/cdn/W4X6BXLW.js +0 -4
- package/dist/cdn/Y6BHMVAI.js +0 -4
- package/dist/cdn/Y7FV66TU.js +0 -4
- package/dist/cdn/YOJ4K4LQ.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
|
@@ -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";
|
|
@@ -3,7 +3,7 @@ import { css as l, html as c } from "lit";
|
|
|
3
3
|
import { LitElement as a, safeClassMap as t } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.116 */
|
|
7
7
|
const e = {
|
|
8
8
|
fieldSelectButtonSection: "field-select-btn-section",
|
|
9
9
|
fieldSelectButton: "field-select-btn",
|
|
@@ -23,7 +23,7 @@ class n extends a {
|
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
25
|
const i = `${e.fieldSelectButton} ${this.invalid ? e.fieldSelectButtonInvalid : ""}`;
|
|
26
|
-
return c`<div class=${t(e.fieldSelectButtonSection)}><button class=${t(i)} .disabled=${this.disabled}><span class=${t(e.fieldSelectButtonText)}>${this.label}</span><span class=${t(e.fieldSelectButtonIcon)}><calcite-icon scale=s icon=chevron-down></calcite-icon></span></button></div>`;
|
|
26
|
+
return c`<div class=${t(e.fieldSelectButtonSection)}><button class=${t(i)} .disabled=${this.disabled}><span class=${t(e.fieldSelectButtonText)}>${this.label}</span><slot name=fieldSelectSlot></slot><span class=${t(e.fieldSelectButtonIcon)}><calcite-icon scale=s icon=chevron-down></calcite-icon></span></button></div>`;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
s("arcgis-charts-config-field-select", n);
|
|
@@ -3,9 +3,9 @@ import { css as y, html as l } from "lit";
|
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import { merge as i } from "lodash-es";
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
|
-
import {
|
|
6
|
+
import { f as u, h as s, g as c, i as r } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { aG as S } from "../../chunks/index.js";
|
|
9
9
|
import "@arcgis/core/Graphic.js";
|
|
10
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -29,7 +29,7 @@ import { createRef as C, ref as x } from "lit/directives/ref.js";
|
|
|
29
29
|
import { LitElement as $, createEvent as h, safeClassMap as n } from "@arcgis/lumina";
|
|
30
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.116 */
|
|
33
33
|
const w = {
|
|
34
34
|
arial: "Arial",
|
|
35
35
|
arialBlack: "Arial Black",
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { c as A } from "../../chunks/runtime.js";
|
|
2
2
|
import { ref as $ } from "lit/directives/ref.js";
|
|
3
3
|
import { C as B, F as i, L as c } from "../../chunks/common.js";
|
|
4
|
-
import {
|
|
4
|
+
import { e as T, m as h, l as n, s as p, p as E, g as M } from "../../chunks/type-guards.js";
|
|
5
5
|
import { W as d } from "../../chunks/series-types.js";
|
|
6
|
-
import {
|
|
6
|
+
import { a as V, f, h as w, g as N, i as D } from "../../chunks/rest-js-object-literals.js";
|
|
7
|
+
import { i as L } from "../../chunks/data-labels-symbol.js";
|
|
7
8
|
import "@arcgis/toolkit/intl";
|
|
8
9
|
import { isEmpty as u, cloneDeep as r, isArray as v, isObject as k, mergeWith as W } from "lodash-es";
|
|
9
10
|
import "d3-array";
|
|
@@ -24,16 +25,16 @@ import "@arcgis/core/rest/support/Query.js";
|
|
|
24
25
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
25
26
|
import "@arcgis/core/time/TimeExtent.js";
|
|
26
27
|
import "@arcgis/core/core/promiseUtils.js";
|
|
27
|
-
import { c as
|
|
28
|
+
import { c as S, e as l } from "../../chunks/index4.js";
|
|
28
29
|
import "@arcgis/toolkit/dom";
|
|
29
30
|
import { r as F } from "../../chunks/popover-ui-utils.js";
|
|
30
|
-
import {
|
|
31
|
+
import { n as G } from "../../chunks/chart-ui-utils2.js";
|
|
31
32
|
import { u as R } from "../../chunks/useT9n.js";
|
|
32
|
-
import { css as I, html as
|
|
33
|
+
import { css as I, html as x } from "lit";
|
|
33
34
|
import { LitElement as O, renderElement as X, safeClassMap as g } from "@arcgis/lumina";
|
|
34
35
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
35
36
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
36
|
-
v5.0.0-next.
|
|
37
|
+
v5.0.0-next.116 */
|
|
37
38
|
const P = {
|
|
38
39
|
type: f.TS,
|
|
39
40
|
color: [1, 1, 1, 255],
|
|
@@ -64,7 +65,7 @@ class j extends O {
|
|
|
64
65
|
this.selectedSymbols = [], this.updateSelectedElement(this.selectedSymbols);
|
|
65
66
|
else {
|
|
66
67
|
const o = this.getFormatValue(s);
|
|
67
|
-
this.selectedSymbols = [s], this.initSelectedSymbols(
|
|
68
|
+
this.selectedSymbols = [s], this.initSelectedSymbols(S(o) ? o : C);
|
|
68
69
|
}
|
|
69
70
|
this.setupFormatPopover();
|
|
70
71
|
}, this.textPropertyChange = (t) => {
|
|
@@ -170,7 +171,7 @@ class j extends O {
|
|
|
170
171
|
this.formatPopover = F(this.formatPopover);
|
|
171
172
|
const t = this.selectedElement;
|
|
172
173
|
t?.type === f.TS || t?.type === f.SLS || // To check if the selected element is background.
|
|
173
|
-
Array.isArray(this.selectedElement) ? (this.formatPopover = X(
|
|
174
|
+
Array.isArray(this.selectedElement) ? (this.formatPopover = X(x`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`), this.formatPopover !== null && !document.body.contains(this.formatPopover) && document.body.appendChild(this.formatPopover)) : this.removeFormatPopover();
|
|
174
175
|
}
|
|
175
176
|
removeFormatPopover() {
|
|
176
177
|
this.formatPopover !== null && (this.formatPopover.open = !1, this.formatPopover = F(this.formatPopover));
|
|
@@ -188,13 +189,13 @@ class j extends O {
|
|
|
188
189
|
case i.AxisLabels:
|
|
189
190
|
return n(this.model) ? this.model.axisLabelsSymbol : void 0;
|
|
190
191
|
case i.GuideLabels:
|
|
191
|
-
return
|
|
192
|
+
return E(this.model) ? this.model.guideLabelsSymbol : void 0;
|
|
192
193
|
case i.LegendText:
|
|
193
194
|
return p(this.model) ? this.model.legendTextSymbol : void 0;
|
|
194
195
|
case i.LegendTitle:
|
|
195
196
|
return p(this.model) ? this.model.legendTitleSymbol : void 0;
|
|
196
197
|
case i.DataLabels:
|
|
197
|
-
return
|
|
198
|
+
return L(this.model) ? this.model.dataLabelsSymbol : void 0;
|
|
198
199
|
case c.AxisLines:
|
|
199
200
|
return n(this.model) ? this.model.axisLinesSymbol : void 0;
|
|
200
201
|
case c.GridLines:
|
|
@@ -225,7 +226,7 @@ class j extends O {
|
|
|
225
226
|
n(this.model) && l(e) && (this.model.axisLabelsSymbol = e);
|
|
226
227
|
break;
|
|
227
228
|
case i.GuideLabels:
|
|
228
|
-
|
|
229
|
+
E(this.model) && l(e) && (this.model.guideLabelsSymbol = e);
|
|
229
230
|
break;
|
|
230
231
|
case i.LegendText:
|
|
231
232
|
p(this.model) && l(e) && (this.model.legendTextSymbol = e);
|
|
@@ -234,13 +235,13 @@ class j extends O {
|
|
|
234
235
|
p(this.model) && l(e) && (this.model.legendTitleSymbol = e);
|
|
235
236
|
break;
|
|
236
237
|
case i.DataLabels:
|
|
237
|
-
|
|
238
|
+
L(this.model) && l(e) && (this.model.dataLabelsSymbol = e);
|
|
238
239
|
break;
|
|
239
240
|
case c.AxisLines:
|
|
240
|
-
n(this.model) &&
|
|
241
|
+
n(this.model) && S(e) && (this.model.axisLinesSymbol = e);
|
|
241
242
|
break;
|
|
242
243
|
case c.GridLines:
|
|
243
|
-
if (h(this.model) &&
|
|
244
|
+
if (h(this.model) && S(e)) {
|
|
244
245
|
const s = this.model.chartType;
|
|
245
246
|
let o = [];
|
|
246
247
|
switch (s) {
|
|
@@ -255,7 +256,8 @@ class j extends O {
|
|
|
255
256
|
break;
|
|
256
257
|
}
|
|
257
258
|
// set both x and y-axis grid lines for charts - Scatter chart
|
|
258
|
-
case d.ScatterSeries:
|
|
259
|
+
case d.ScatterSeries:
|
|
260
|
+
case d.HeatSeries: {
|
|
259
261
|
o = [0, 1];
|
|
260
262
|
break;
|
|
261
263
|
}
|
|
@@ -264,7 +266,7 @@ class j extends O {
|
|
|
264
266
|
}
|
|
265
267
|
break;
|
|
266
268
|
case c.LeaderLines:
|
|
267
|
-
T(this.model) &&
|
|
269
|
+
T(this.model) && S(e) && (this.model.ticksSymbol = e);
|
|
268
270
|
break;
|
|
269
271
|
case i.Background:
|
|
270
272
|
Array.isArray(e) && (this.model.backgroundColor = e);
|
|
@@ -280,8 +282,8 @@ class j extends O {
|
|
|
280
282
|
i.Description,
|
|
281
283
|
...p(this.model) ? [i.LegendText] : [],
|
|
282
284
|
...n(this.model) ? [i.AxisLabels] : [],
|
|
283
|
-
...
|
|
284
|
-
...
|
|
285
|
+
...E(this.model) ? [i.GuideLabels] : [],
|
|
286
|
+
...L(this.model) ? [i.DataLabels] : []
|
|
285
287
|
], M(this.model) && (this.textProperties = this.textProperties.filter((s) => s !== i.DataLabels)), this.symbolProperties = [
|
|
286
288
|
i.Background,
|
|
287
289
|
...n(this.model) ? [c.AxisLines] : [],
|
|
@@ -293,11 +295,11 @@ class j extends O {
|
|
|
293
295
|
}
|
|
294
296
|
renderTextElement(t, e) {
|
|
295
297
|
const s = G(t), o = this.getFormatValue(t), a = typeof o == "string" ? o : "", m = this.selectedTexts.includes(t) || this.selectedSymbols.includes(t) || this.selectedBackground.includes(t);
|
|
296
|
-
return
|
|
298
|
+
return x`<calcite-list-item class=${g(b.element)} .label=${this._messages[t]} .description=${a} .value=${t} .selected=${m} @click=${e} ${$(this.updateSelectableElements)}>${s !== void 0 ? x`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>` : null}</calcite-list-item>`;
|
|
297
299
|
}
|
|
298
300
|
render() {
|
|
299
301
|
const { textElements: t, symbolElements: e } = this.renderFormatElements();
|
|
300
|
-
return
|
|
302
|
+
return x`<div class=${g(b.sectionLabel)}>${this._messages.textElements}</div><calcite-list label class=${g(b.elementList)} selection-mode=multiple selection-appearance=border @calciteListChange=${this.correctTextElementSelection}>${t}</calcite-list><div class=${g(b.sectionLabel)}>${this._messages.symbolElements}</div><calcite-list label class=${g(b.elementList)} selection-mode=single selection-appearance=border>${e}</calcite-list>`;
|
|
301
303
|
}
|
|
302
304
|
}
|
|
303
305
|
A("arcgis-charts-config-format", j);
|
|
@@ -3,7 +3,7 @@ import { css as a, html as o } from "lit";
|
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
|
-
import {
|
|
6
|
+
import { f as r } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "d3-array";
|
|
8
8
|
import "../../chunks/index.js";
|
|
9
9
|
import "@arcgis/core/Graphic.js";
|
|
@@ -29,7 +29,7 @@ import { createRef as p, ref as c } from "lit/directives/ref.js";
|
|
|
29
29
|
import { LitElement as m, createEvent as s, safeClassMap as h } from "@arcgis/lumina";
|
|
30
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.116 */
|
|
33
33
|
const g = {
|
|
34
34
|
jsAppFlyout: "js-app-flyout"
|
|
35
35
|
}, C = a``;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as g } from "../../chunks/runtime.js";
|
|
2
|
-
import { l as n, m as c,
|
|
2
|
+
import { l as n, m as c, h, s as r } from "../../chunks/type-guards.js";
|
|
3
3
|
import { d as l } from "../../chunks/series-types.js";
|
|
4
4
|
import { isEmpty as p } from "lodash-es";
|
|
5
5
|
import { m as b, c as m } from "../../chunks/chart-ui-utils2.js";
|
|
@@ -9,7 +9,7 @@ import { createRef as T, ref as f } from "lit/directives/ref.js";
|
|
|
9
9
|
import { LitElement as C, safeClassMap as i } from "@arcgis/lumina";
|
|
10
10
|
import "@arcgis/toolkit/intl";
|
|
11
11
|
import "d3-array";
|
|
12
|
-
import { $ } from "../../chunks/index.js";
|
|
12
|
+
import { Z as $ } from "../../chunks/index.js";
|
|
13
13
|
import "@arcgis/core/Graphic.js";
|
|
14
14
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
15
15
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -29,7 +29,7 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
29
29
|
import "@arcgis/toolkit/dom";
|
|
30
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.116 */
|
|
33
33
|
const s = {
|
|
34
34
|
textInput: "text-input",
|
|
35
35
|
label: "label",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as R } from "../../chunks/runtime.js";
|
|
2
2
|
import { keyed as X } from "lit/directives/keyed.js";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import { cloneDeep as P } from "lodash-es";
|
|
5
5
|
import { W as z } from "../../chunks/series-types.js";
|
|
6
|
-
import {
|
|
6
|
+
import { f as u, a as N } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { i as p, cI as Z, cJ as E, cK as F, aI as q } from "../../chunks/index.js";
|
|
9
9
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
11
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -13,28 +13,28 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
13
13
|
import "@arcgis/core/time/TimeExtent.js";
|
|
14
14
|
import "@arcgis/core/core/promiseUtils.js";
|
|
15
15
|
import "@arcgis/core/request.js";
|
|
16
|
-
import { c as g, b as
|
|
17
|
-
import { r as
|
|
18
|
-
import { m as $, d as
|
|
16
|
+
import { c as g, b as O } from "../../chunks/index4.js";
|
|
17
|
+
import { r as V } from "../../chunks/popover-ui-utils.js";
|
|
18
|
+
import { m as $, d as W, g as U, k as L, c as G } from "../../chunks/chart-ui-utils2.js";
|
|
19
19
|
import { d as M } from "../../chunks/default.js";
|
|
20
|
-
import { g as
|
|
21
|
-
import { u as
|
|
22
|
-
import { css as
|
|
20
|
+
import { g as Y } from "../../chunks/resource.js";
|
|
21
|
+
import { u as j } from "../../chunks/useT9n.js";
|
|
22
|
+
import { css as H, html as d } from "lit";
|
|
23
23
|
import { createRef as h, ref as m } from "lit/directives/ref.js";
|
|
24
|
-
import { LitElement as
|
|
24
|
+
import { LitElement as J, createEvent as K, renderElement as A, safeStyleMap as _, safeClassMap as o } from "@arcgis/lumina";
|
|
25
25
|
import { G as S } from "../../chunks/common.js";
|
|
26
|
-
import { m as Q,
|
|
26
|
+
import { m as Q, q as ee, r as te } from "../../chunks/type-guards.js";
|
|
27
27
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
28
28
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
29
|
-
v5.0.0-next.
|
|
29
|
+
v5.0.0-next.116 */
|
|
30
30
|
const n = {
|
|
31
31
|
row: "row",
|
|
32
32
|
column: "column",
|
|
33
33
|
colorPicker: "color-picker"
|
|
34
|
-
}, ie =
|
|
35
|
-
class se extends
|
|
34
|
+
}, ie = H`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column}.row{display:flex;flex-direction:row;column-gap:var(--arcgis-charts-inter-section-margin)}.column{display:flex;flex-direction:column;flex-wrap:wrap;flex-grow:1}.column>calcite-input{margin-bottom:.5rem;flex-grow:2}.column>calcite-input[type=number]{margin-bottom:.5rem}input{padding:.5rem}.label{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--arcgis-charts-intra-section-margin);flex-grow:1}.color-picker{border:1px solid var(--calcite-color-border-2);box-shadow:none;margin-bottom:var(--arcgis-charts-inter-section-margin)}.delete-guide{display:flex;flex-direction:row-reverse;height:2rem;margin:0 1rem;font-weight:550}.delete-guide:dir(rtl){flex-direction:row}`;
|
|
35
|
+
class se extends J {
|
|
36
36
|
constructor() {
|
|
37
|
-
super(...arguments), this._messages =
|
|
37
|
+
super(...arguments), this._messages = j(), this.startCalciteInput = h(), this.endCalciteInput = h(), this.startDateCalciteInput = h(), this.endDateCalciteInput = h(), this.startTimeCalciteInput = h(), this.endTimeCalciteInput = h(), this.colorElement = h(), this.colorChange = (e) => {
|
|
38
38
|
const t = e.detail, i = this.model.getGuideStart(this.index, this.orientation), a = this.model.getGuideEnd(this.index, this.orientation);
|
|
39
39
|
if (p(i, a) === u.SLS) {
|
|
40
40
|
const l = P(M.style), s = this.model.getGuideStyle(this.index, this.orientation), r = {
|
|
@@ -57,7 +57,7 @@ class se extends H {
|
|
|
57
57
|
} else t?.color !== void 0 && this.setColor(t.color);
|
|
58
58
|
}, this.onModelConfigChange = () => {
|
|
59
59
|
this.requestUpdate();
|
|
60
|
-
}, this.guidePopover = null, this.latestGuidePosition = 0, this.arcgisChartsConfigGuideChange =
|
|
60
|
+
}, this.guidePopover = null, this.latestGuidePosition = 0, this.arcgisChartsConfigGuideChange = K();
|
|
61
61
|
}
|
|
62
62
|
static {
|
|
63
63
|
this.properties = { guidePopover: 16, messageOverrides: 0, model: 0, timeZone: 1, calculatedMinMaxBounds: 0, index: 9, orientation: 1, latestGuidePosition: 9 };
|
|
@@ -112,7 +112,7 @@ class se extends H {
|
|
|
112
112
|
})), this.guidePopover?.open === !0 && this.removeGuidePopover();
|
|
113
113
|
}
|
|
114
114
|
setGuideDateTimeRange() {
|
|
115
|
-
const e = this.calculatedMinMaxBounds?.find((c) => c.isXAxis)?.minimum, t = this.calculatedMinMaxBounds?.find((c) => c.isXAxis)?.maximum, i = typeof e == "number" ? new Date(e) : /* @__PURE__ */ new Date(), a = typeof t == "number" ? new Date(t) : /* @__PURE__ */ new Date(), l = new window.Intl.DateTimeFormat().resolvedOptions().timeZone, s = Z(this.timeZone) ?? l, r = E(i, s), f = F(i, s), v = E(a, s),
|
|
115
|
+
const e = this.calculatedMinMaxBounds?.find((c) => c.isXAxis)?.minimum, t = this.calculatedMinMaxBounds?.find((c) => c.isXAxis)?.maximum, i = typeof e == "number" ? new Date(e) : /* @__PURE__ */ new Date(), a = typeof t == "number" ? new Date(t) : /* @__PURE__ */ new Date(), l = new window.Intl.DateTimeFormat().resolvedOptions().timeZone, s = Z(this.timeZone) ?? l, r = E(i, s), f = F(i, s), v = E(a, s), B = F(a, s), T = this.startDateCalciteInput.value?.value ?? "", x = T === "" ? r : T, D = this.startTimeCalciteInput.value?.value ?? "", w = D === "" ? f : D, C = this.endDateCalciteInput.value?.value ?? "", y = C === "" ? v : C, I = this.endTimeCalciteInput.value?.value ?? "", k = I === "" ? B : I;
|
|
116
116
|
let b = !1;
|
|
117
117
|
if (!Array.isArray(x) && x !== void 0 && w !== void 0) {
|
|
118
118
|
const c = `${x}T${w}`;
|
|
@@ -172,11 +172,11 @@ class se extends H {
|
|
|
172
172
|
Array.isArray(t?.color) ? (this.guidePopover = A(d`<arcgis-charts-config-guide-popover .referenceElement=${s} open .selectedElement=${l} @arcgisChartsConfigGuidePopoverColorChange=${this.colorChange} @arcgisChartsConfigGuidePopoverSymbolChange=${this.symbolChange} @arcgisChartsConfigPopoverClose=${this.removeGuidePopover}></arcgis-charts-config-guide-popover>`), this.guidePopover !== void 0 && !document.body.contains(this.guidePopover) && document.body.appendChild(this.guidePopover)) : this.removeGuidePopover();
|
|
173
173
|
}
|
|
174
174
|
removeGuidePopover() {
|
|
175
|
-
this.guidePopover !== null && this.guidePopover !== void 0 && (this.guidePopover =
|
|
175
|
+
this.guidePopover !== null && this.guidePopover !== void 0 && (this.guidePopover = V(this.guidePopover));
|
|
176
176
|
}
|
|
177
177
|
setColor(e) {
|
|
178
|
-
const t =
|
|
179
|
-
...
|
|
178
|
+
const t = q({ opacity: 0 }), i = this.model.getGuideStyle(this.index, this.orientation), a = {
|
|
179
|
+
...O(i) ? i : {},
|
|
180
180
|
type: u.SFS,
|
|
181
181
|
color: e,
|
|
182
182
|
outline: t
|
|
@@ -215,7 +215,7 @@ class se extends H {
|
|
|
215
215
|
this.model.setGuideVisibility(!e, this.index, this.orientation);
|
|
216
216
|
}
|
|
217
217
|
destroyTooltip() {
|
|
218
|
-
|
|
218
|
+
W(this.tooltip);
|
|
219
219
|
}
|
|
220
220
|
deleteGuide() {
|
|
221
221
|
this.destroyTooltip(), this.orientation === S.X && ee(this.model) ? this.model.deleteXAxisGuide(this.index) : this.orientation === S.Y && te(this.model) && this.model.deleteYAxisGuide(this.index), this.arcgisChartsConfigGuideChange.emit({
|
|
@@ -225,18 +225,18 @@ class se extends H {
|
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
227
|
renderColorElement() {
|
|
228
|
-
const e = this.model.getGuideStyle(this.index, this.orientation), [t, i, a, l] = [...e?.color ?? [1, 1, 1, 255]], s = this.model.getGuideStart(this.index, this.orientation), r = this.model.getGuideEnd(this.index, this.orientation), f = g(e) ?
|
|
228
|
+
const e = this.model.getGuideStyle(this.index, this.orientation), [t, i, a, l] = [...e?.color ?? [1, 1, 1, 255]], s = this.model.getGuideStart(this.index, this.orientation), r = this.model.getGuideEnd(this.index, this.orientation), f = g(e) ? U(e.style) : N.Solid, v = p(s, r) === u.SLS ? `line-${f}` : "square-f";
|
|
229
229
|
return d`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .value=${this._messages.style} class=${o(n.colorPicker)} .label=${this._messages.style} .selected=${this.guidePopover?.open} @click=${this.onColorElementSelect} ${m(this.colorElement)}><calcite-icon slot=content-end .icon=${v} style=${_({ color: `rgba(${t},${i},${a},${l / 255})` })}></calcite-icon></calcite-list-item></calcite-list>`;
|
|
230
230
|
}
|
|
231
231
|
render() {
|
|
232
232
|
const e = this.model.getGuideStart(this.index, this.orientation), t = this.model.getGuideEnd(this.index, this.orientation), i = this.model.getGuideName(this.index, this.orientation), a = this.model.getGuideLabelText(this.index, this.orientation), l = this.model.getGuideAbove(this.index, this.orientation), s = this.model.getGuideVisibility(this.index, this.orientation), r = this.isXAxisDateField;
|
|
233
|
-
return d`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition ===
|
|
233
|
+
return d`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition === Y(this.index, this.orientation, this.model)} collapsible .messageOverrides=${{
|
|
234
234
|
expand: this._messages.expand,
|
|
235
235
|
collapse: this._messages.collapse
|
|
236
236
|
}}><calcite-action slot=control text .icon=${s ? "view-visible" : "view-hide"} @click=${this.toggleGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><calcite-action slot=control text icon=trash @click=${this.deleteGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.start}${r ? d`<calcite-input-date-picker .value=${this.getDateStringFromBound(e)} required scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${m(this.startDateCalciteInput)}></calcite-input-date-picker>` : d`<calcite-input type=number required @calciteInputInput=${this.setGuideStart} @keydown=${L} number-button-type=none .value=${e?.toString()} ${m(this.startCalciteInput)}></calcite-input>`}</calcite-label><calcite-label class=${o(n.column)}>${this._messages.end}${r ? d`<calcite-input-date-picker .value=${this.getDateStringFromBound(t)} scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${m(this.endDateCalciteInput)}></calcite-input-date-picker>` : d`<calcite-input type=number @calciteInputInput=${this.setGuideEnd} @keydown=${L} number-button-type=none .value=${t?.toString()} ${m(this.endCalciteInput)}></calcite-input>`}</calcite-label></div>${r ? X("time-picker-row", d`<div class=${o(n.row)}>${e != null ? d`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(e)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${m(this.startTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}${t != null ? d`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(t)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${m(this.endTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}</div>`) : null}<div class=${o(n.row)}><div class=${o(n.column)}>${this.renderColorElement()}</div></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideName}<calcite-input type=text .value=${i} @calciteInputInput=${this.setGuideName}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideLabel}<calcite-input type=text .value=${a} @calciteInputInput=${this.setGuideLabel}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.display}<calcite-segmented-control @calciteSegmentedControlChange=${this.setGuideRendered} scale=s><calcite-segmented-control-item .checked=${l} .value=${this._messages.inFront}>${this._messages.inFront}</calcite-segmented-control-item><calcite-segmented-control-item .checked=${!l} .value=${this._messages.inBack}>${this._messages.inBack}</calcite-segmented-control-item></calcite-segmented-control></calcite-label></div></calcite-block>`;
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
|
|
239
|
+
R("arcgis-charts-config-guide", se);
|
|
240
240
|
export {
|
|
241
241
|
se as ArcgisChartsConfigGuide
|
|
242
242
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as r } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as l, html as o } from "lit";
|
|
3
3
|
import "../../chunks/series-types.js";
|
|
4
|
-
import {
|
|
4
|
+
import { f as p } from "../../chunks/rest-js-object-literals.js";
|
|
5
5
|
import "@arcgis/toolkit/intl";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "d3-array";
|
|
@@ -30,7 +30,7 @@ import { createRef as c, ref as m } from "lit/directives/ref.js";
|
|
|
30
30
|
import { LitElement as h, createEvent as s, safeClassMap as g } from "@arcgis/lumina";
|
|
31
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.116 */
|
|
34
34
|
const C = {
|
|
35
35
|
jsAppFlyout: "js-app-flyout"
|
|
36
36
|
}, d = l``;
|
|
@@ -7,11 +7,11 @@ import { css as A, html as a } from "lit";
|
|
|
7
7
|
import { createRef as x, ref as C } from "lit/directives/ref.js";
|
|
8
8
|
import { LitElement as v, renderElement as b, safeClassMap as c } from "@arcgis/lumina";
|
|
9
9
|
import { G as s } from "../../chunks/common.js";
|
|
10
|
-
import {
|
|
10
|
+
import { q as h, r as u } from "../../chunks/type-guards.js";
|
|
11
11
|
import "../../chunks/series-types.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
14
|
-
v5.0.0-next.
|
|
14
|
+
v5.0.0-next.116 */
|
|
15
15
|
const P = A`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.add-guide{display:flex;justify-content:center;padding:.5rem}.add-guide-btn{width:100%}.no-guides{border-radius:2rem}.no-messages{text-align:center}.guide-icon{padding-left:.5rem;padding-top:.5rem;width:1.5rem;height:1.5rem}`;
|
|
16
16
|
class $ extends v {
|
|
17
17
|
constructor() {
|
|
@@ -28,7 +28,7 @@ import "@arcgis/toolkit/dom";
|
|
|
28
28
|
import { e as p } from "../../chunks/popover-ui-utils.js";
|
|
29
29
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
30
30
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
31
|
-
v5.0.0-next.
|
|
31
|
+
v5.0.0-next.116 */
|
|
32
32
|
class l extends s {
|
|
33
33
|
constructor() {
|
|
34
34
|
super(...arguments), this._messages = o(), this.popoverElement = r(), this.onAddXGuide = () => {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
3
|
+
import { WebChartGenericDataItem } from '../../spec';
|
|
4
|
+
import { HeatChartModel } from '../../model/heat-chart-model/heat-chart-model';
|
|
5
|
+
import { SupportedLayer, ChartAuthoringPages } from '../../interfaces';
|
|
6
|
+
import { PropertyValues } from 'lit';
|
|
7
|
+
|
|
8
|
+
/** @private */
|
|
9
|
+
export declare class ArcgisChartsConfigHeatChart extends LitElement {
|
|
10
|
+
/**
|
|
11
|
+
* Heat Chart Model.
|
|
12
|
+
*
|
|
13
|
+
* @category Public
|
|
14
|
+
*/
|
|
15
|
+
model: HeatChartModel;
|
|
16
|
+
/**
|
|
17
|
+
* Specific page to be opened
|
|
18
|
+
*
|
|
19
|
+
* @category Public
|
|
20
|
+
*/
|
|
21
|
+
page?: ChartAuthoringPages;
|
|
22
|
+
/**
|
|
23
|
+
* layer instance on which the charts are created or edited.
|
|
24
|
+
*
|
|
25
|
+
* @category Public
|
|
26
|
+
*/
|
|
27
|
+
layer?: SupportedLayer;
|
|
28
|
+
/**
|
|
29
|
+
* usePopupTemplateFieldsInfo can be set to true to read the fields from layer.popupTemplate
|
|
30
|
+
*
|
|
31
|
+
* @default false
|
|
32
|
+
* @category Public
|
|
33
|
+
*/
|
|
34
|
+
usePopupTemplateFieldsInfo?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The data used by the chart
|
|
37
|
+
*
|
|
38
|
+
* @category Public
|
|
39
|
+
*/
|
|
40
|
+
chartData?: WebChartGenericDataItem;
|
|
41
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { c as s } from "../../chunks/runtime.js";
|
|
2
|
+
import { LitElement as l } from "@arcgis/lumina";
|
|
3
|
+
import { css as n, html as a } from "lit";
|
|
4
|
+
import { C as o } from "../../chunks/interfaces.js";
|
|
5
|
+
import "@arcgis/toolkit/intl";
|
|
6
|
+
import { isEqual as h } from "lodash-es";
|
|
7
|
+
import "../../chunks/series-types.js";
|
|
8
|
+
import "d3-array";
|
|
9
|
+
import { bE as m, bG as c } from "../../chunks/index.js";
|
|
10
|
+
import "@arcgis/core/Graphic.js";
|
|
11
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
13
|
+
import "@arcgis/core/intl.js";
|
|
14
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
15
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
16
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
17
|
+
import "simple-statistics";
|
|
18
|
+
import "@arcgis/core/request.js";
|
|
19
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
20
|
+
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
21
|
+
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
22
|
+
import "@arcgis/core/rest/support/Query.js";
|
|
23
|
+
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
24
|
+
import "@arcgis/core/time/TimeExtent.js";
|
|
25
|
+
import "@arcgis/core/core/promiseUtils.js";
|
|
26
|
+
import { h as d } from "../../chunks/index4.js";
|
|
27
|
+
import "@arcgis/toolkit/dom";
|
|
28
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
30
|
+
v5.0.0-next.116 */
|
|
31
|
+
const f = n`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
32
|
+
class p extends l {
|
|
33
|
+
static {
|
|
34
|
+
this.properties = { layerFieldsInfo: 16, model: 0, page: 1, layer: 0, usePopupTemplateFieldsInfo: 5, chartData: 0 };
|
|
35
|
+
}
|
|
36
|
+
static {
|
|
37
|
+
this.styles = f;
|
|
38
|
+
}
|
|
39
|
+
async load() {
|
|
40
|
+
await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model);
|
|
41
|
+
}
|
|
42
|
+
willUpdate(e) {
|
|
43
|
+
let t = !1;
|
|
44
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("layer") && this.layer !== void 0 && !h(e.get("layer"), this.layer) && (t = !0), e.has("usePopupTemplateFieldsInfo") && this.usePopupTemplateFieldsInfo !== e.get("usePopupTemplateFieldsInfo") && (t = !0), this.layerFieldsInfo === void 0 && (t = !0), t && this.updateFetchLayerFieldsInfo();
|
|
45
|
+
}
|
|
46
|
+
disconnectedCallback() {
|
|
47
|
+
super.disconnectedCallback(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
48
|
+
}
|
|
49
|
+
modelChange(e, t) {
|
|
50
|
+
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
51
|
+
}
|
|
52
|
+
async updateFetchLayerFieldsInfo(e) {
|
|
53
|
+
const t = e ?? this.model.config;
|
|
54
|
+
let i = this.layer;
|
|
55
|
+
if (!i) {
|
|
56
|
+
const r = d(t) ? t.iLayer : void 0;
|
|
57
|
+
r && (i = await m(r));
|
|
58
|
+
}
|
|
59
|
+
i && (this.layerFieldsInfo = await c(i, this.usePopupTemplateFieldsInfo));
|
|
60
|
+
}
|
|
61
|
+
async onModelConfigChange(e) {
|
|
62
|
+
const i = e?.detail.config ?? this.model.config;
|
|
63
|
+
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(i);
|
|
64
|
+
}
|
|
65
|
+
render() {
|
|
66
|
+
let e;
|
|
67
|
+
switch (this.page) {
|
|
68
|
+
case o.Data:
|
|
69
|
+
e = a`<arcgis-charts-config-heat-chart-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo} .chartData=${this.chartData}></arcgis-charts-config-heat-chart-data>`;
|
|
70
|
+
break;
|
|
71
|
+
case o.Format:
|
|
72
|
+
e = a`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;
|
|
73
|
+
break;
|
|
74
|
+
case o.General:
|
|
75
|
+
e = a`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;
|
|
76
|
+
break;
|
|
77
|
+
default:
|
|
78
|
+
e = "";
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
return e;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
s("arcgis-charts-config-heat-chart", p);
|
|
85
|
+
export {
|
|
86
|
+
p as ArcgisChartsConfigHeatChart
|
|
87
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
3
|
+
import { HeatChartModel } from '../../model/heat-chart-model/heat-chart-model';
|
|
4
|
+
import { WebChartGenericDataItem, IField } from '../../spec';
|
|
5
|
+
import { PropertyValues } from 'lit';
|
|
6
|
+
import { DataChangeErrorPayload } from '../../utils/components/event-payloads';
|
|
7
|
+
|
|
8
|
+
/** @private */
|
|
9
|
+
export declare class ArcgisChartsConfigHeatChartData extends LitElement {
|
|
10
|
+
/** Overwrite localized strings for this component */
|
|
11
|
+
messageOverrides?: typeof this._messages._overrides;
|
|
12
|
+
/**
|
|
13
|
+
* Bar Chart Model.
|
|
14
|
+
*
|
|
15
|
+
* @category Public
|
|
16
|
+
*/
|
|
17
|
+
model: HeatChartModel;
|
|
18
|
+
/**
|
|
19
|
+
* Fields Information of the Feature layer
|
|
20
|
+
*
|
|
21
|
+
* @category Public
|
|
22
|
+
*/
|
|
23
|
+
layerFieldsInfo: IField[];
|
|
24
|
+
/**
|
|
25
|
+
* When true, the content of the component will be displayed.
|
|
26
|
+
*
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
open?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* The data used by the chart
|
|
32
|
+
*
|
|
33
|
+
* @category Public
|
|
34
|
+
*/
|
|
35
|
+
chartData?: WebChartGenericDataItem;
|
|
36
|
+
/**
|
|
37
|
+
* Event emitted when an error is caught on data change.
|
|
38
|
+
*
|
|
39
|
+
* @event
|
|
40
|
+
*/
|
|
41
|
+
readonly arcgisChartsConfigDataChangeError: TargetedEvent<this, DataChangeErrorPayload>;
|
|
42
|
+
private _messages;
|
|
43
|
+
"@eventTypes": {
|
|
44
|
+
"arcgisChartsConfigDataChangeError": ArcgisChartsConfigHeatChartData["arcgisChartsConfigDataChangeError"]["detail"];
|
|
45
|
+
};
|
|
46
|
+
}
|