@arcgis/charts-components 5.0.0-next.3 → 5.0.0-next.30
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/{RJP2TSH4.js → 26MUX62O.js} +1 -1
- package/dist/cdn/2GOQEUXZ.js +4 -0
- package/dist/cdn/{ZFIF77K3.js → 2HRYK6DW.js} +1 -1
- package/dist/cdn/2JI5PIMJ.js +4 -0
- package/dist/cdn/{KATVWRAY.js → 2NCNJPKT.js} +2 -2
- package/dist/cdn/{OLQNVZUH.js → 2UK2ZHV6.js} +2 -2
- package/dist/cdn/{NXB4BNRO.js → 3CDOXGKA.js} +2 -2
- package/dist/cdn/3FO5UL6I.js +4 -0
- package/dist/cdn/{3DOQYO3X.js → 3J5KDML4.js} +2 -2
- package/dist/cdn/3OV4MXBJ.js +4 -0
- package/dist/cdn/{3KX2KDPK.js → 3PFY6MPD.js} +2 -2
- package/dist/cdn/3UNDNSLF.js +4 -0
- package/dist/cdn/4CFI6GV7.js +4 -0
- package/dist/cdn/4EVQAAZS.js +4 -0
- package/dist/cdn/4IKFQYSM.js +4 -0
- package/dist/cdn/{6BK6COJC.js → 4JS64FMU.js} +2 -2
- package/dist/cdn/4K25U7EN.js +4 -0
- package/dist/cdn/54DUJUYP.js +4 -0
- package/dist/cdn/5IY62NVL.js +4 -0
- package/dist/cdn/5TNQI2C7.js +6 -0
- package/dist/cdn/{JY6JRVUS.js → 5TZWGRHC.js} +2 -2
- package/dist/cdn/{U5YB3SOI.js → 5YBGJOV4.js} +2 -2
- package/dist/cdn/{74E7OAPH.js → 63LYE4WQ.js} +2 -2
- package/dist/cdn/6GUS35VR.js +4 -0
- package/dist/cdn/{TG4TGFSQ.js → 6LOFPEMX.js} +2 -2
- package/dist/cdn/6MMGZ57K.js +4 -0
- package/dist/cdn/6VZGQ3LK.js +4 -0
- package/dist/cdn/{N2JCIWHL.js → 6YHOWQYM.js} +2 -2
- package/dist/cdn/7AVW23N5.js +4 -0
- package/dist/cdn/{NGJ7X3ND.js → 7K5WQC2B.js} +2 -2
- package/dist/cdn/{T4NBUXZU.js → 7KXVVNV6.js} +1 -1
- package/dist/cdn/7LRZVFIT.js +4 -0
- package/dist/cdn/7R5DWGW2.js +4 -0
- package/dist/cdn/7S5LSQZO.js +4 -0
- package/dist/cdn/{GCRHEM6P.js → APVF3Q6Z.js} +2 -2
- package/dist/cdn/{4KGRWKFB.js → AZCOGJDH.js} +2 -2
- package/dist/cdn/{R3RJV4I3.js → B7IVR3AO.js} +2 -2
- package/dist/cdn/BC3UMGPK.js +4 -0
- package/dist/cdn/{3IAXPJL5.js → BHPLDUGA.js} +2 -2
- package/dist/cdn/BMCN3CSD.js +4 -0
- package/dist/cdn/{6ZLEAYZT.js → BMG24YER.js} +2 -2
- package/dist/cdn/C7PBMFV5.js +4 -0
- package/dist/cdn/{YGR3N454.js → CGQLCKHF.js} +2 -2
- package/dist/cdn/CKES7OCK.js +4 -0
- package/dist/cdn/{5EPM3ZL4.js → CNDKV2PJ.js} +2 -2
- package/dist/cdn/CP3QOJF2.js +4 -0
- package/dist/cdn/{XH3AFWLS.js → CRRHNG3J.js} +1 -1
- package/dist/cdn/{NBHFVCH6.js → CU5YMGAS.js} +2 -2
- package/dist/cdn/D4W6UMYF.js +4 -0
- package/dist/cdn/D4XRY4HI.js +4 -0
- package/dist/cdn/DF4A4SMP.js +4 -0
- package/dist/cdn/{EIBL7X7C.js → DRLTPD24.js} +2 -2
- package/dist/cdn/{JXNCGTY2.js → DXYH4FT5.js} +2 -2
- package/dist/cdn/{67VULDXU.js → EGJIY7PV.js} +2 -2
- package/dist/cdn/{Y6H36UEQ.js → EOAB34VO.js} +1 -1
- package/dist/cdn/F2TBVCQQ.js +4 -0
- package/dist/cdn/{2VSQK6CQ.js → F6MTF2IX.js} +2 -2
- package/dist/cdn/FLA6NGIB.js +4 -0
- package/dist/cdn/{X3CEHOFP.js → FNRTUIMD.js} +2 -2
- package/dist/cdn/FQMETAJR.js +4 -0
- package/dist/cdn/G5LZ5YZ3.js +4 -0
- package/dist/cdn/GBARC3LZ.js +4 -0
- package/dist/cdn/GHHCMY4Z.js +4 -0
- package/dist/cdn/GPGOSM2E.js +4 -0
- package/dist/cdn/{Q7JQTDHE.js → GSXGCQ6E.js} +2 -2
- package/dist/cdn/{BMSUXI6D.js → GVEWQUFM.js} +2 -2
- package/dist/cdn/{4224IFJV.js → H4JXTQ4K.js} +2 -2
- package/dist/cdn/H7KLNUJW.js +4 -0
- package/dist/cdn/{72RUYYT3.js → HCCK6BPV.js} +2 -2
- package/dist/cdn/HDJSDH76.js +4 -0
- package/dist/cdn/{UM6PSQXH.js → HGLSN7AY.js} +2 -2
- package/dist/cdn/HM36ARSO.js +4 -0
- package/dist/cdn/HTHAYAXQ.js +4 -0
- package/dist/cdn/HUQYGOIW.js +4 -0
- package/dist/cdn/HVXBYQLM.js +4 -0
- package/dist/cdn/HZQSCRGD.js +4 -0
- package/dist/cdn/I4W3U5L7.js +4 -0
- package/dist/cdn/IA4IJ2QL.js +4 -0
- package/dist/cdn/ILQ5ILIX.js +4 -0
- package/dist/cdn/IOCCYOZV.js +4 -0
- package/dist/cdn/IRTRFGZT.js +4 -0
- package/dist/cdn/{KJI5SYLT.js → IVPZBZJT.js} +2 -2
- package/dist/cdn/IYEYJ2NX.js +4 -0
- package/dist/cdn/J5QV3IOL.js +4 -0
- package/dist/cdn/{I5CJDKBJ.js → J6T3H5QK.js} +2 -2
- package/dist/cdn/{CUYCVVE6.js → J6XB5VCO.js} +2 -2
- package/dist/cdn/JBZD3V6D.js +4 -0
- package/dist/cdn/{K6OYX7KH.js → JH3Q7FY7.js} +2 -2
- package/dist/cdn/JHMYLX3Q.js +4 -0
- package/dist/cdn/JMGGZSXR.js +4 -0
- package/dist/cdn/{SL6KBBNT.js → JN4PFHIA.js} +2 -2
- package/dist/cdn/JTXZW6CH.js +4 -0
- package/dist/cdn/JUNP322Q.js +4 -0
- package/dist/cdn/JXOONYOG.js +4 -0
- package/dist/cdn/KIGS54IH.js +4 -0
- package/dist/cdn/{PGPLW4WV.js → KOEBP6BR.js} +2 -2
- package/dist/cdn/KXM3ZQBU.js +4 -0
- package/dist/cdn/KYR4LUDS.js +4 -0
- package/dist/cdn/{SQPVQZF4.js → KZNCTK4V.js} +2 -2
- package/dist/cdn/{EAGMXFWB.js → L5U2WQY7.js} +2 -2
- package/dist/cdn/LFL4NGX4.js +4 -0
- package/dist/cdn/{MNSV3CBG.js → LHBQLY2F.js} +2 -2
- package/dist/cdn/LOUBUSJX.js +4 -0
- package/dist/cdn/LSSFNAM5.js +4 -0
- package/dist/cdn/LW7K67AB.js +4 -0
- package/dist/cdn/{XUTAJJHD.js → M6LZLLPZ.js} +2 -2
- package/dist/cdn/M76LQMEH.js +4 -0
- package/dist/cdn/MBEEGREM.js +42 -0
- package/dist/cdn/MCE344VV.js +4 -0
- package/dist/cdn/{ATYOPM4D.js → MFES233F.js} +2 -2
- package/dist/cdn/MON4DZOG.js +4 -0
- package/dist/cdn/{LWF27VN7.js → MR636M77.js} +2 -2
- package/dist/cdn/N2EY4563.js +4 -0
- package/dist/cdn/NCZLJIRG.js +4 -0
- package/dist/cdn/{2YJK7EQQ.js → NOL2ODL2.js} +2 -2
- package/dist/cdn/O6YRS6PH.js +4 -0
- package/dist/cdn/{7KMT45K5.js → ON2D3G53.js} +2 -2
- package/dist/cdn/OTEKMHPR.js +4 -0
- package/dist/cdn/OWHAUBUW.js +4 -0
- package/dist/cdn/P53CE2O6.js +4 -0
- package/dist/cdn/POZSO3PJ.js +4 -0
- package/dist/cdn/PXLKNTBE.js +4 -0
- package/dist/cdn/Q2H2GE4Z.js +4 -0
- package/dist/cdn/QDWNNJD5.js +4 -0
- package/dist/cdn/QHL3HPYX.js +58 -0
- package/dist/cdn/QMOU6XTI.js +4 -0
- package/dist/cdn/QQGVWDOM.js +4 -0
- package/dist/cdn/{DNMGOUQA.js → R6Y5CRPR.js} +2 -2
- package/dist/cdn/{TCC42J3C.js → RAAJF7ZE.js} +2 -2
- package/dist/cdn/{AOBF52MJ.js → RAJGGNQX.js} +2 -2
- package/dist/cdn/{X67IOWPB.js → RCLDSCFI.js} +2 -2
- package/dist/cdn/RHPWWXTU.js +4 -0
- package/dist/cdn/{QK6YFOPV.js → RKU35NM7.js} +2 -2
- package/dist/cdn/{SUATHXUW.js → RQFN5LHF.js} +2 -2
- package/dist/cdn/{GAM7Z7SI.js → RW7J3TPK.js} +2 -2
- package/dist/cdn/RWJDMHUL.js +4 -0
- package/dist/cdn/S5V6BQPC.js +4 -0
- package/dist/cdn/{ZNOZZ66V.js → S74PMVOU.js} +2 -2
- package/dist/cdn/{AUWRC6HX.js → SG5GMIOQ.js} +2 -2
- package/dist/cdn/{BZIXOEMI.js → SH2WLT3Q.js} +2 -2
- package/dist/cdn/SNXJWYQ5.js +4 -0
- package/dist/cdn/{F57OHZWT.js → TCXHJHJX.js} +1 -1
- package/dist/cdn/TFMXLBFO.js +4 -0
- package/dist/cdn/TJ3OEUFD.js +4 -0
- package/dist/cdn/{OL7VEBIC.js → TRRZZG4R.js} +2 -2
- package/dist/cdn/TWGX24OC.js +4 -0
- package/dist/cdn/U2NPMRYV.js +4 -0
- package/dist/cdn/UM56SB5F.js +4 -0
- package/dist/cdn/UYIVI5VJ.js +4 -0
- package/dist/cdn/{OBNIZH6K.js → V7GTILJR.js} +1 -1
- package/dist/cdn/{47IDSE6H.js → VA6IKWOD.js} +2 -2
- package/dist/cdn/VDNEZIFJ.js +4 -0
- package/dist/cdn/VDNRJQEK.js +4 -0
- package/dist/cdn/{XYEC52QZ.js → VEWVUX3G.js} +2 -2
- package/dist/cdn/VHHRJOIO.js +4 -0
- package/dist/cdn/VXYSMRNB.js +4 -0
- package/dist/cdn/{WUUJKPQK.js → VZTYY5FW.js} +2 -2
- package/dist/cdn/W2KOA7MJ.js +4 -0
- package/dist/cdn/W6PZ66MO.js +4 -0
- package/dist/cdn/WB3YHBWJ.js +4 -0
- package/dist/cdn/{HPNKRUZ6.js → WGH7FXC5.js} +2 -2
- package/dist/cdn/WWMYNLHB.js +4 -0
- package/dist/cdn/WXMDFKY5.js +4 -0
- package/dist/cdn/X4T7HODH.js +4 -0
- package/dist/cdn/X5R4FT5K.js +4 -0
- package/dist/cdn/{VKDBGM6I.js → XIKM7FMX.js} +2 -2
- package/dist/cdn/XLBCHUXD.js +4 -0
- package/dist/cdn/{GQCG24NO.js → XYHHUXMG.js} +2 -2
- package/dist/cdn/YBMQUCTB.js +4 -0
- package/dist/cdn/{VUDGVNLT.js → YE277AO2.js} +2 -2
- package/dist/cdn/{VLELOOYM.js → YMVX3NLL.js} +2 -2
- package/dist/cdn/Z5IFPMBY.js +4 -0
- package/dist/cdn/{5XKWLEPC.js → Z7TY7WAQ.js} +2 -2
- package/dist/cdn/ZAI4IUKS.js +4 -0
- package/dist/cdn/ZBIBVBFB.js +4 -0
- package/dist/cdn/ZCBCJHTY.js +4 -0
- package/dist/cdn/ZI23TLU3.js +4 -0
- package/dist/cdn/{ECM2WXF6.js → ZJYPSWEY.js} +2 -2
- package/dist/cdn/ZMI3JMVK.js +4 -0
- package/dist/cdn/ZUJD7EGU.js +4 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +0 -1
- package/dist/chart-rendering/common/config-utils/index.d.ts +13 -120
- package/dist/chart-rendering/common/data/index.d.ts +3 -2
- package/dist/chart-rendering/common/data/selection/filter/index.d.ts +9 -0
- package/dist/chart-rendering/common/data/selection/filter/interfaces.d.ts +3 -0
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +2 -165
- package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +13 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -2
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +6 -7
- package/dist/chart-rendering/common/events/index.d.ts +0 -2
- package/dist/chart-rendering/common/interfaces.d.ts +22 -8
- package/dist/chart-rendering/common/loading-indicator/index.d.ts +4 -0
- package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +1 -2
- package/dist/chart-rendering/common/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/common/symbols/utils/index.d.ts +9 -0
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/utils.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +3 -4
- package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chart-rendering/next/chart-library-elements/tooltips/bar-chart/index.d.ts +2 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/index.d.ts +4 -4
- package/dist/chart-rendering/next/chart-library-elements/tooltips/histogram/index.d.ts +3 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/pie-chart/index.d.ts +2 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/scatter-plot/index.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/utils/index.d.ts +22 -4
- package/dist/chart-rendering/next/defaults/index.d.ts +3 -0
- package/dist/chart-rendering/next/index.d.ts +2 -2
- package/dist/chart-rendering/next/utils/index.d.ts +15 -7
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +2 -1
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/stable/chart-library-elements/series/histogram/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chart-rendering/stable/index.d.ts +7 -3
- package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
- package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +5 -7
- package/dist/chart-rendering/stable/utils/memory-storage/interfaces.d.ts +1 -0
- package/dist/chart-rendering/stable/utils/misc/index.d.ts +2 -8
- package/dist/chunks/action-bar-utils.js +32 -24
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +22 -13
- package/dist/chunks/bar-chart-series.js +21 -12
- package/dist/chunks/baseline-stacking.js +49 -40
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +231 -207
- package/dist/chunks/box-plot-model.js +57 -51
- package/dist/chunks/chart-ui-utils.js +17 -23
- package/dist/chunks/chart-ui-utils2.js +58 -50
- package/dist/chunks/combo-bar-line-chart-model.js +52 -57
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +146 -5393
- package/dist/chunks/data.js +59 -927
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +31 -23
- package/dist/chunks/heat-chart-model.js +176 -51
- package/dist/chunks/histogram-data.js +55 -47
- package/dist/chunks/histogram-model.js +19 -11
- package/dist/chunks/index.js +23735 -2187
- package/dist/chunks/index2.js +670 -36
- package/dist/chunks/index3.js +90 -63
- package/dist/chunks/index4.js +62 -91
- package/dist/chunks/interfaces.js +90 -16256
- package/dist/chunks/line-chart-model.js +17 -9
- package/dist/chunks/model-with-baseline-stacking.js +18 -28
- package/dist/chunks/model-with-data-labels.js +30 -21
- package/dist/chunks/model-with-multi-axes.js +165 -202
- package/dist/chunks/model-with-rotation.js +14 -5
- package/dist/chunks/pie-chart-data.js +144 -128
- package/dist/chunks/pie-chart-model.js +81 -73
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +15 -7
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +44 -36
- package/dist/chunks/serial-chart-data.js +912 -0
- package/dist/chunks/serial-chart-model.js +60 -46
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +18 -9
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +22 -13
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +204 -189
- package/dist/components/arcgis-chart/customElement.d.ts +14 -18
- package/dist/components/arcgis-chart/customElement.js +7569 -7444
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +2 -3
- package/dist/components/arcgis-charts-action-bar/customElement.js +24 -16
- package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axis/customElement.js +24 -24
- package/dist/components/arcgis-charts-config-axis/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +45 -41
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +117 -109
- package/dist/components/arcgis-charts-config-bar-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -27
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +25 -15
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +19 -10
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +34 -30
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +28 -19
- package/dist/components/arcgis-charts-config-box-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +31 -24
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-category-format/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +27 -24
- package/dist/components/arcgis-charts-config-color-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-colors/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +143 -148
- package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-format/customElement.js +34 -25
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-general/customElement.js +27 -18
- package/dist/components/arcgis-charts-config-guide/customElement.js +23 -24
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +17 -8
- package/dist/components/arcgis-charts-config-guides/customElement.js +32 -36
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +21 -12
- package/dist/components/arcgis-charts-config-histogram/customElement.js +37 -33
- package/dist/components/arcgis-charts-config-histogram-data/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +29 -20
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +17 -8
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +37 -33
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +69 -51
- package/dist/components/arcgis-charts-config-line-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +36 -27
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +19 -10
- package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-line-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-number-format/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +48 -44
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +52 -38
- package/dist/components/arcgis-charts-config-pie-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +45 -36
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +31 -22
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +15 -6
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -29
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +60 -45
- package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +22 -13
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +24 -11
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +20 -11
- package/dist/docs/api.json +13 -93
- package/dist/docs/docs.json +92 -96
- package/dist/docs/vscode.html-custom-data.json +6 -2
- package/dist/docs/web-types.json +5 -5
- package/dist/index.js +426 -406
- package/dist/json-schema/index.d.ts +9 -0
- package/dist/loader.js +1 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +2 -4
- package/dist/model/box-plot-model/utils/box-plot-data.d.ts +2 -0
- package/dist/model/chart-model/chart-model.d.ts +8 -23
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +30 -43
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +75 -10
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +61 -6
- package/dist/model/mixins/model-with-baseline-stacking.d.ts +4 -10
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +13 -17
- package/dist/model/mixins/model-with-multi-axes.d.ts +24 -50
- package/dist/model/mixins/utils/baseline-stacking.d.ts +5 -11
- package/dist/model/mixins/utils/line-marker-styling.d.ts +18 -23
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -4
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -4
- package/dist/model/shared/axes.d.ts +0 -3
- package/dist/model/shared/data.d.ts +26 -2
- package/dist/model.js +1 -1
- package/dist/spec/data-source.d.ts +11 -0
- package/dist/spec/web-chart.d.ts +2 -2
- package/dist/store.d.ts +24 -3
- package/dist/utils/chart-config/converter/index.d.ts +27 -3
- package/dist/utils/chart-config/utils/index.d.ts +260 -1
- package/dist/utils/chart-config/validator/index.d.ts +10 -10
- package/dist/utils/components/config-update.d.ts +21 -8
- package/dist/utils/components/data-update.d.ts +33 -0
- package/dist/utils/components/watch-handlers.d.ts +12 -12
- package/dist/utils/components/web-component-utils.d.ts +8 -2
- package/dist/utils/data/interfaces.d.ts +30 -2
- package/dist/utils/data/time-binning/interfaces.d.ts +0 -4
- package/dist/utils/defaults/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +44 -1
- package/dist/utils/layer/interfaces.d.ts +1 -0
- package/dist/utils/layer/query-features/index.d.ts +2 -2
- package/dist/utils/layer/query-parser/index.d.ts +8 -0
- package/dist/utils/layer/utils/index.d.ts +3 -3
- package/dist/utils/misc/index.d.ts +1 -1
- package/dist/utils/ui/chart-ui-utils.d.ts +2 -1
- package/package.json +5 -5
- package/dist/cdn/27EF6N3A.js +0 -4
- package/dist/cdn/2QC6ZPJH.js +0 -4
- package/dist/cdn/32RUS2M3.js +0 -4
- package/dist/cdn/35M57QGE.js +0 -4
- package/dist/cdn/3ASW6VHE.js +0 -4
- package/dist/cdn/3KG5A43A.js +0 -4
- package/dist/cdn/3SRVZLPD.js +0 -4
- package/dist/cdn/3T2GPST3.js +0 -4
- package/dist/cdn/3YBKKGMI.js +0 -4
- package/dist/cdn/47W26EK2.js +0 -4
- package/dist/cdn/4IIG7WSE.js +0 -4
- package/dist/cdn/4V4R4Q5E.js +0 -4
- package/dist/cdn/4W5AM6VF.js +0 -4
- package/dist/cdn/4XATG67T.js +0 -4
- package/dist/cdn/5EM7WR57.js +0 -4
- package/dist/cdn/5MSCIR45.js +0 -4
- package/dist/cdn/5OH5FY3S.js +0 -4
- package/dist/cdn/5UV5N2TK.js +0 -4
- package/dist/cdn/6CYT2CG7.js +0 -4
- package/dist/cdn/6P4DSMHF.js +0 -4
- package/dist/cdn/6UQPZK5B.js +0 -4
- package/dist/cdn/7OSCKW4Y.js +0 -4
- package/dist/cdn/7TUZWUHM.js +0 -4
- package/dist/cdn/BDYQWUFQ.js +0 -4
- package/dist/cdn/BLKWW4SZ.js +0 -4
- package/dist/cdn/C5UYMNHI.js +0 -4
- package/dist/cdn/CE3AUUHL.js +0 -4
- package/dist/cdn/CHDX2KGL.js +0 -4
- package/dist/cdn/CZQ2SVIF.js +0 -4
- package/dist/cdn/CZYGOYBD.js +0 -4
- package/dist/cdn/D4QM6QWW.js +0 -4
- package/dist/cdn/DBJBYN2H.js +0 -4
- package/dist/cdn/DCYBICHJ.css +0 -1
- package/dist/cdn/DGBWGDSW.js +0 -4
- package/dist/cdn/EG2DGV7Q.js +0 -4
- package/dist/cdn/F5VOSM5J.js +0 -4
- package/dist/cdn/F6TCCYVD.js +0 -4
- package/dist/cdn/FMG243GX.js +0 -4
- package/dist/cdn/FYRFUCYK.js +0 -4
- package/dist/cdn/FZMYU3XO.js +0 -4
- package/dist/cdn/GAUP6JKI.js +0 -4
- package/dist/cdn/GRNT45TO.js +0 -4
- package/dist/cdn/H2R6XIP5.js +0 -4
- package/dist/cdn/H5453ZH3.js +0 -4
- package/dist/cdn/HBXDHTDL.js +0 -4
- package/dist/cdn/HDLWIIDD.js +0 -4
- package/dist/cdn/IB6NLFIT.js +0 -4
- package/dist/cdn/IGYM6NDV.js +0 -4
- package/dist/cdn/IRXKOLXP.js +0 -4
- package/dist/cdn/J3XRJF2H.js +0 -4
- package/dist/cdn/J7SETKH4.js +0 -4
- package/dist/cdn/KFSAESHE.js +0 -4
- package/dist/cdn/KFVBD66X.js +0 -4
- package/dist/cdn/KJBLUE23.js +0 -4
- package/dist/cdn/KWTG54IG.js +0 -4
- package/dist/cdn/LNCY7PJY.js +0 -4
- package/dist/cdn/LNOZZKFS.js +0 -4
- package/dist/cdn/LNW5PGHC.js +0 -4
- package/dist/cdn/LW7ZXMGB.js +0 -4
- package/dist/cdn/MDMUQ4YV.js +0 -4
- package/dist/cdn/MECZKLGM.js +0 -4
- package/dist/cdn/NHUAA7U3.js +0 -4
- package/dist/cdn/NKS54LJY.js +0 -4
- package/dist/cdn/NUXT2AWM.js +0 -4
- package/dist/cdn/NXQHRIVH.js +0 -6
- package/dist/cdn/O2GMCLWM.js +0 -4
- package/dist/cdn/O765AJUV.js +0 -4
- package/dist/cdn/OEBLB46A.js +0 -4
- package/dist/cdn/ONBZGUIX.js +0 -4
- package/dist/cdn/OOMLNN4O.js +0 -4
- package/dist/cdn/OQDFVWR5.js +0 -4
- package/dist/cdn/OS5QUU3S.js +0 -4
- package/dist/cdn/PJCM66NR.js +0 -4
- package/dist/cdn/PKGUQ23W.js +0 -4
- package/dist/cdn/PZLOX4VN.js +0 -4
- package/dist/cdn/QARHCJGU.js +0 -4
- package/dist/cdn/QR3HNIZ3.js +0 -4
- package/dist/cdn/QRLC6XDT.js +0 -4
- package/dist/cdn/R4ZFFKNL.js +0 -58
- package/dist/cdn/REXKJ4UY.js +0 -4
- package/dist/cdn/RNOS6DRH.js +0 -4
- package/dist/cdn/RNP6GU2K.js +0 -4
- package/dist/cdn/RZ7AFMIW.js +0 -4
- package/dist/cdn/S72WP6XQ.js +0 -4
- package/dist/cdn/SBQC3UFK.js +0 -4
- package/dist/cdn/SMOUDLKB.js +0 -4
- package/dist/cdn/SVXJYPGP.js +0 -4
- package/dist/cdn/SY4VJMTC.js +0 -4
- package/dist/cdn/SZRPK5U3.js +0 -4
- package/dist/cdn/T7NDQ5N4.js +0 -4
- package/dist/cdn/TBSKAY6R.js +0 -4
- package/dist/cdn/TC2AUGPM.js +0 -4
- package/dist/cdn/TGG4RKZV.js +0 -4
- package/dist/cdn/TR4LETNB.js +0 -4
- package/dist/cdn/U34VLHNL.js +0 -4
- package/dist/cdn/U7NW4Q4W.js +0 -42
- package/dist/cdn/U7XYGWTM.js +0 -4
- package/dist/cdn/UI5DAXMY.js +0 -4
- package/dist/cdn/UNKXWRU2.js +0 -4
- package/dist/cdn/USUR66FF.js +0 -4
- package/dist/cdn/VIWBALQD.js +0 -4
- package/dist/cdn/VTJACGF7.js +0 -4
- package/dist/cdn/WGCDX65Z.js +0 -4
- package/dist/cdn/WJU2LTQQ.js +0 -4
- package/dist/cdn/XETTJLZA.js +0 -4
- package/dist/cdn/XH5LQBGS.js +0 -4
- package/dist/cdn/YEHAINHB.js +0 -4
- package/dist/cdn/YRVVNU7B.js +0 -4
- package/dist/cdn/YU3EMYVD.js +0 -4
- package/dist/cdn/Z36QJLTB.js +0 -4
- package/dist/cdn/ZRZXM6A2.js +0 -4
- package/dist/cdn/stdin.css +0 -1
- package/dist/chart-rendering/common/data/utils/misc/interfaces.d.ts +0 -30
- package/dist/chunks/index5.js +0 -66
- package/dist/chunks/interfaces2.js +0 -18
- package/dist/chunks/interfaces3.js +0 -96
- package/dist/chunks/interfaces4.js +0 -491
- package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -15
- package/dist/test/utils/test-utils/utils.d.ts +0 -13
|
@@ -1,105 +1,112 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { repeat as
|
|
3
|
-
import { keyed as
|
|
4
|
-
import { createModel as
|
|
5
|
-
import { b
|
|
1
|
+
import { c as N } from "../../chunks/runtime.js";
|
|
2
|
+
import { repeat as V } from "lit/directives/repeat.js";
|
|
3
|
+
import { keyed as $ } from "lit/directives/keyed.js";
|
|
4
|
+
import { createModel as U } from "../../model.js";
|
|
5
|
+
import { b, a as S, f as _, p as v, k as z, j as T } from "../../chunks/type-guards.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
|
-
import { isEqual as
|
|
8
|
-
import { W as o, i as
|
|
9
|
-
import {
|
|
7
|
+
import { isEqual as w } from "lodash-es";
|
|
8
|
+
import { W as o, i as O } from "../../chunks/series-types.js";
|
|
9
|
+
import { S as D, d3 as k, cQ as E, da as R, a9 as W } from "../../chunks/index.js";
|
|
10
10
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
12
12
|
import "@arcgis/core/rest/support/Query.js";
|
|
13
13
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
14
14
|
import "@arcgis/core/time/TimeExtent.js";
|
|
15
|
-
import "@arcgis/core/
|
|
15
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
16
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
17
|
+
import "@arcgis/core/Graphic.js";
|
|
18
|
+
import "d3-array";
|
|
19
|
+
import { substitute as H } from "@arcgis/core/intl.js";
|
|
20
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
21
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
22
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
23
|
+
import "simple-statistics";
|
|
16
24
|
import "@arcgis/core/request.js";
|
|
25
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
26
|
+
import "@arcgis/core/core/promiseUtils.js";
|
|
17
27
|
import "@arcgis/toolkit/dom";
|
|
18
|
-
import { C } from "../../chunks/
|
|
19
|
-
import { a as
|
|
20
|
-
import { r as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import "
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import { A as J } from "../../chunks/axis-model-wrapper.js";
|
|
31
|
-
import { d as ee } from "../../chunks/chart-ui-utils2.js";
|
|
32
|
-
import { C as te } from "../../chunks/interfaces4.js";
|
|
28
|
+
import { C as f } from "../../chunks/index4.js";
|
|
29
|
+
import { a as L } from "../../chunks/chart-ui-utils.js";
|
|
30
|
+
import { r as G } from "../../chunks/popover-ui-utils.js";
|
|
31
|
+
import { C as l } from "../../chunks/interfaces.js";
|
|
32
|
+
import { LitElement as X, createEvent as y, renderElement as I, safeStyleMap as Z, safeClassMap as d } from "@arcgis/lumina";
|
|
33
|
+
import { css as j, html as h } from "lit";
|
|
34
|
+
import { createRef as K, ref as q } from "lit/directives/ref.js";
|
|
35
|
+
import { u as P } from "../../chunks/useT9n.js";
|
|
36
|
+
import { a as Q, s as x, b as Y } from "../../chunks/store.js";
|
|
37
|
+
import { h as J, a as M, s as ee } from "../../chunks/web-component-utils.js";
|
|
38
|
+
import { A as te } from "../../chunks/axis-model-wrapper.js";
|
|
39
|
+
import { d as ae } from "../../chunks/chart-ui-utils2.js";
|
|
33
40
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
34
41
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
35
|
-
v5.0.0-next.
|
|
36
|
-
const
|
|
42
|
+
v5.0.0-next.30 */
|
|
43
|
+
const m = {
|
|
37
44
|
chartUIComponent: "chart-ui-component",
|
|
38
45
|
tabBar: "tab-bar",
|
|
39
46
|
tab: "tab"
|
|
40
47
|
};
|
|
41
|
-
function
|
|
48
|
+
function B(p, e) {
|
|
42
49
|
const a = /* @__PURE__ */ new Set();
|
|
43
50
|
let t = e;
|
|
44
|
-
return
|
|
51
|
+
return p?.forEach((i, s) => {
|
|
45
52
|
const r = i.chartId;
|
|
46
53
|
(a.has(r) || r === void 0 || r === "") && (i.chartId = `Chart_${Date.now()}_${s}`, e === r && (t = i.chartId)), a.add(r);
|
|
47
54
|
}), t;
|
|
48
55
|
}
|
|
49
|
-
function
|
|
50
|
-
return
|
|
56
|
+
function ie(p, e, a) {
|
|
57
|
+
return p?.filter((t) => E(a, t.config) && t.layer?.id === e) ?? [];
|
|
51
58
|
}
|
|
52
|
-
function
|
|
53
|
-
const { modelList: e, layerList: a, activeLayerId: t, disableEditing: i } =
|
|
59
|
+
function se(p) {
|
|
60
|
+
const { modelList: e, layerList: a, activeLayerId: t, disableEditing: i } = p, s = /* @__PURE__ */ new Map();
|
|
54
61
|
return e?.forEach((r) => {
|
|
55
|
-
const
|
|
56
|
-
|
|
62
|
+
const n = r.layer;
|
|
63
|
+
n && s.set(n.id, n);
|
|
57
64
|
}), i || a.forEach((r) => s.set(r.id, r)), Array.from(s.values()).filter((r) => !t || r.id === t);
|
|
58
65
|
}
|
|
59
|
-
function
|
|
60
|
-
|
|
66
|
+
function re(p, e) {
|
|
67
|
+
p.forEach((a) => {
|
|
61
68
|
e.forEach((t) => {
|
|
62
|
-
a?.id === t.layer?.id &&
|
|
69
|
+
a?.id === t.layer?.id && F(a, t);
|
|
63
70
|
});
|
|
64
71
|
});
|
|
65
72
|
}
|
|
66
|
-
function
|
|
67
|
-
const a =
|
|
73
|
+
function F(p, e) {
|
|
74
|
+
const a = p;
|
|
68
75
|
if (a) {
|
|
69
76
|
const t = [...a?.charts ?? []], i = t?.findIndex((r) => r.id === e.chartId);
|
|
70
77
|
let s = !1;
|
|
71
|
-
i !== void 0 && i > -1 ? (s = !
|
|
78
|
+
i !== void 0 && i > -1 ? (s = !w(t[i], e.config), t[i] = e.config) : a && !D(e.config) && (s = !0, t.push(e.config)), s && (a.charts = t);
|
|
72
79
|
}
|
|
73
80
|
}
|
|
74
|
-
function
|
|
75
|
-
const a =
|
|
81
|
+
function oe(p, e) {
|
|
82
|
+
const a = p;
|
|
76
83
|
if (a) {
|
|
77
84
|
const t = [...a.charts ?? []], i = t.findIndex((s) => s.id === e);
|
|
78
85
|
i > -1 && (t.splice(i, 1), a.charts = t);
|
|
79
86
|
}
|
|
80
87
|
}
|
|
81
|
-
function
|
|
82
|
-
const a =
|
|
88
|
+
function le(p, e) {
|
|
89
|
+
const a = p;
|
|
83
90
|
if (a) {
|
|
84
91
|
let t = [...a.charts ?? []];
|
|
85
|
-
t =
|
|
92
|
+
t = k({
|
|
86
93
|
arrayA: t,
|
|
87
94
|
arrayB: e.map((i) => i.config),
|
|
88
95
|
getKey: (i) => i.id ?? i.title?.content.text ?? ""
|
|
89
96
|
}), a.charts = t;
|
|
90
97
|
}
|
|
91
98
|
}
|
|
92
|
-
const ne =
|
|
93
|
-
class
|
|
99
|
+
const ne = j`: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}`;
|
|
100
|
+
class ce extends X {
|
|
94
101
|
constructor() {
|
|
95
|
-
super(), this.selectChartTypePopover = null, this.chartsListFlowItem =
|
|
102
|
+
super(), this.selectChartTypePopover = null, this.chartsListFlowItem = K(), this.supportedChartTypes = [
|
|
96
103
|
o.BarSeries,
|
|
97
104
|
o.BoxPlotSeries,
|
|
98
105
|
o.LineSeries,
|
|
99
106
|
o.PieSeries,
|
|
100
107
|
o.HistogramSeries,
|
|
101
108
|
o.ScatterSeries
|
|
102
|
-
], this._messages =
|
|
109
|
+
], this._messages = P(), this.commonStrings = P({ name: "common", blocking: !0 }), this.chartDataProcessComplete = (e) => {
|
|
103
110
|
const a = e, { chartData: t, model: i } = a.detail, s = this.getModel(this.selectedChartId);
|
|
104
111
|
if (i?.isSameChartAs(s))
|
|
105
112
|
switch (s?.chartType) {
|
|
@@ -111,25 +118,25 @@ class le extends G {
|
|
|
111
118
|
break;
|
|
112
119
|
}
|
|
113
120
|
case o.ScatterSeries: {
|
|
114
|
-
const
|
|
115
|
-
let
|
|
116
|
-
Number.isFinite(g) || (
|
|
121
|
+
const n = t, { dataItems: c, r2: g, aggregated: u } = n;
|
|
122
|
+
let C = g;
|
|
123
|
+
Number.isFinite(g) || (C = void 0), this.r2 = C, _(i) && (i.dataStore.r2 = C, i.dataStore.aggregated = u, u && (i.additionalTooltipField = void 0)), this.calculatedDataMinMaxBounds = this.getDataExtent(c), i && (i.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds);
|
|
117
124
|
break;
|
|
118
125
|
}
|
|
119
126
|
case o.LineSeries:
|
|
120
127
|
case o.BarSeries: {
|
|
121
|
-
const { dataItems:
|
|
122
|
-
if ((
|
|
123
|
-
const g = s.xAxisField, u =
|
|
124
|
-
u &&
|
|
128
|
+
const { dataItems: n, timeIntervalInfo: c } = t;
|
|
129
|
+
if ((b(s) || S(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 !== O.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), i && (i.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds), S(s)) {
|
|
130
|
+
const g = s.xAxisField, u = n.some((A) => A[g] === null), C = s.nullCategory;
|
|
131
|
+
u && C === void 0 && (s.nullCategory = R.nullCategory);
|
|
125
132
|
}
|
|
126
133
|
break;
|
|
127
134
|
}
|
|
128
135
|
}
|
|
129
136
|
}, this.chartAxesMinMaxChange = (e) => {
|
|
130
|
-
const a = e, { bounds: t, model: i } = a.detail, s = this.getModel(this.selectedChartId), r = i?.isSameChartAs(s),
|
|
137
|
+
const a = e, { bounds: t, model: i } = a.detail, s = this.getModel(this.selectedChartId), r = i?.isSameChartAs(s), n = s?.chartType;
|
|
131
138
|
if (r)
|
|
132
|
-
switch (
|
|
139
|
+
switch (n) {
|
|
133
140
|
case o.BarSeries:
|
|
134
141
|
case o.BoxPlotSeries:
|
|
135
142
|
case o.LineSeries:
|
|
@@ -149,29 +156,29 @@ class le extends G {
|
|
|
149
156
|
this.seriesColor = t, i && (i.dataStore.seriesColor = t);
|
|
150
157
|
break;
|
|
151
158
|
case o.PieSeries: {
|
|
152
|
-
const
|
|
153
|
-
this.seriesColor =
|
|
159
|
+
const n = /* @__PURE__ */ new Map([[0, t]]);
|
|
160
|
+
this.seriesColor = n, i && (i.dataStore.seriesColor = n);
|
|
154
161
|
break;
|
|
155
162
|
}
|
|
156
163
|
case o.ScatterSeries:
|
|
157
164
|
}
|
|
158
165
|
}, this.chartNoRenderPropChange = (e) => {
|
|
159
|
-
const a = e, { propName: t, value: i, model: s } = a.detail, r = this.modelList.find((
|
|
166
|
+
const a = e, { propName: t, value: i, model: s } = a.detail, r = this.modelList.find((n) => s?.isSameChartAs(n));
|
|
160
167
|
if (r)
|
|
161
168
|
switch (t) {
|
|
162
169
|
case "rotation":
|
|
163
|
-
typeof i == "boolean" &&
|
|
170
|
+
typeof i == "boolean" && z(r) && (r.rotatedState = i);
|
|
164
171
|
break;
|
|
165
172
|
case "legendPosition":
|
|
166
|
-
typeof i == "string" &&
|
|
173
|
+
typeof i == "string" && v(r) && (r.legendPosition = i);
|
|
167
174
|
break;
|
|
168
175
|
case "legendVisibility":
|
|
169
|
-
typeof i == "boolean" &&
|
|
176
|
+
typeof i == "boolean" && v(r) && (r.legendVisibility = i);
|
|
170
177
|
break;
|
|
171
178
|
}
|
|
172
|
-
}, this.chartLegendItemVisibilityChange =
|
|
179
|
+
}, this.chartLegendItemVisibilityChange = (e) => {
|
|
173
180
|
const a = e, { legendItemVisibility: t, model: i } = a.detail, s = this.modelList.find((r) => i?.isSameChartAs(r));
|
|
174
|
-
s?.setSeriesVisibility(t),
|
|
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), b(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)));
|
|
175
182
|
}, this.onSelectChartTypeChange = (e) => {
|
|
176
183
|
this.currentChartTypeText = "", this.calculatedDataMinMaxBounds = void 0, this.calculatedMinMaxBounds = void 0, this.removeSelectChartTypePopover();
|
|
177
184
|
const { selectedModelType: a, layerId: t } = e.target;
|
|
@@ -185,37 +192,34 @@ class le extends G {
|
|
|
185
192
|
}, this.onModelConfigChange = (e) => {
|
|
186
193
|
if (this.syncChartsToLayers && this.allowChartSyncing) {
|
|
187
194
|
const a = e.target;
|
|
188
|
-
|
|
195
|
+
F(a?.layer, a);
|
|
189
196
|
}
|
|
190
197
|
this.requestUpdate();
|
|
191
|
-
}, 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.listen("arcgisChartsConfigModelListReorder", this.modelListReorderChangeListener);
|
|
198
|
+
}, 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);
|
|
192
199
|
}
|
|
193
200
|
static {
|
|
194
|
-
this.properties = { selectedPanel: 16, currentChartTypeText: 16, messageOverrides: 0, modelList: [0, { hasChanged: M }], layerList: [0, { hasChanged: M }], selectedChartId:
|
|
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: J }], popoverPlacement: 1, usePopupTemplateFieldsInfo: 5, panelNumber: 9, filterBySelection: 5 };
|
|
195
202
|
}
|
|
196
203
|
static {
|
|
197
204
|
this.styles = ne;
|
|
198
205
|
}
|
|
199
206
|
async setFocus() {
|
|
200
|
-
this.chartsListFlowItem.value?.setFocus();
|
|
201
|
-
}
|
|
202
|
-
connectedCallback() {
|
|
203
|
-
super.connectedCallback(), this.addChartEventListeners();
|
|
207
|
+
await this.chartsListFlowItem.value?.setFocus();
|
|
204
208
|
}
|
|
205
209
|
async load() {
|
|
206
210
|
await this.layerListChange();
|
|
207
211
|
const e = this.getModel(this.selectedChartId);
|
|
208
212
|
this.setEventBasedPropsFromModelData(e);
|
|
209
213
|
}
|
|
210
|
-
|
|
211
|
-
e.has("layerList") &&
|
|
214
|
+
willUpdate(e) {
|
|
215
|
+
e.has("layerList") && this.layerListChange(), e.has("panelNumber") && this.panelNumberChange(this.panelNumber), e.has("modelList") && this.modelListChange(this.modelList, e.get("modelList")), e.has("selectedChartId") && this.selectedChartIdChange(this.selectedChartId);
|
|
212
216
|
}
|
|
213
217
|
disconnectedCallback() {
|
|
214
|
-
super.disconnectedCallback(), this.clearPartialModels(), this.removeSelectChartTypePopover()
|
|
218
|
+
super.disconnectedCallback(), this.clearPartialModels(), this.removeSelectChartTypePopover();
|
|
215
219
|
}
|
|
216
220
|
modelListReorderChangeListener(e) {
|
|
217
221
|
const { modelList: a } = e.detail;
|
|
218
|
-
if (this.modelList =
|
|
222
|
+
if (this.modelList = k({
|
|
219
223
|
arrayA: this.modelList,
|
|
220
224
|
arrayB: a,
|
|
221
225
|
getKey: (t) => t.chartId ?? t.titleText ?? ""
|
|
@@ -223,7 +227,7 @@ class le extends G {
|
|
|
223
227
|
const t = a.find((i) => i.layer?.id !== void 0)?.layer?.id;
|
|
224
228
|
if (t) {
|
|
225
229
|
const i = this.layerList.find((s) => s.id.toString() === t);
|
|
226
|
-
i &&
|
|
230
|
+
i && le(i, a);
|
|
227
231
|
}
|
|
228
232
|
}
|
|
229
233
|
}
|
|
@@ -231,37 +235,37 @@ class le extends G {
|
|
|
231
235
|
const e = [], a = this.layerList.map((i) => i.id.toString()), t = [...this.modelList.filter((i) => a.includes(i.layer?.id ?? ""))];
|
|
232
236
|
for (let i of this.layerList ?? []) {
|
|
233
237
|
if (i.type === "sublayer") {
|
|
234
|
-
const
|
|
235
|
-
if (!
|
|
238
|
+
const n = await i.createFeatureLayer();
|
|
239
|
+
if (!n)
|
|
236
240
|
continue;
|
|
237
|
-
i =
|
|
241
|
+
i = n;
|
|
238
242
|
}
|
|
239
|
-
const
|
|
240
|
-
for (const
|
|
241
|
-
const
|
|
243
|
+
const r = i.charts;
|
|
244
|
+
for (const n of r ?? []) {
|
|
245
|
+
const c = await U({
|
|
242
246
|
layer: i,
|
|
243
|
-
config:
|
|
247
|
+
config: n
|
|
244
248
|
});
|
|
245
|
-
|
|
249
|
+
c !== void 0 && e.push(c);
|
|
246
250
|
}
|
|
247
251
|
}
|
|
248
|
-
|
|
252
|
+
B(e), e.forEach((i) => {
|
|
249
253
|
t.find((r) => r.isSameChartAs(i)) === void 0 && t.push(i);
|
|
250
254
|
}), this.modelList = t;
|
|
251
255
|
}
|
|
252
|
-
|
|
253
|
-
this.selectedChartId =
|
|
256
|
+
modelListChange(e, a) {
|
|
257
|
+
this.selectedChartId = B(e, this.selectedChartId), a?.forEach((i) => {
|
|
254
258
|
i.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
255
259
|
}), e.forEach((i) => {
|
|
256
260
|
i.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
257
261
|
});
|
|
258
262
|
const t = this.getModel(this.selectedChartId);
|
|
259
|
-
this.currentChartTypeText = t?.chartType !== void 0 ?
|
|
263
|
+
this.currentChartTypeText = t?.chartType !== void 0 ? L(t.chartType, this.commonStrings) : "", this.syncChartsToLayers && this.allowChartSyncing && re(this.layerList, e), this.arcgisChartsConfigModelListChange.emit({ modelList: e });
|
|
260
264
|
}
|
|
261
|
-
|
|
262
|
-
this.selectedChartId === void 0 && (this.panelNumber = 0), this.selectedPanel =
|
|
265
|
+
selectedChartIdChange(e) {
|
|
266
|
+
this.selectedChartId === void 0 && (this.panelNumber = 0), this.selectedPanel = l.Data;
|
|
263
267
|
const a = this.getModel(e);
|
|
264
|
-
this.setEventBasedPropsFromModelData(a), this.currentChartTypeText = a?.chartType !== void 0 ?
|
|
268
|
+
this.setEventBasedPropsFromModelData(a), this.currentChartTypeText = a?.chartType !== void 0 ? L(a.chartType, this.commonStrings) : "", e !== void 0 && e !== x.selectedChartId && (x.selectedChartId = e), this.allowChartSyncing = !0, this.arcgisChartsConfigSelectedChartChange.emit({
|
|
265
269
|
key: "key",
|
|
266
270
|
model: a
|
|
267
271
|
});
|
|
@@ -270,21 +274,18 @@ class le extends G {
|
|
|
270
274
|
e === 0 ? this.clearPartialModels() : e === 1 && this.removeSelectChartTypePopover(), this.arcgisChartsConfigPanelNumberChange.emit({ panelNumber: e, modelList: this.modelList });
|
|
271
275
|
}
|
|
272
276
|
addChartEventListeners() {
|
|
273
|
-
|
|
274
|
-
}
|
|
275
|
-
removeChartEventListeners() {
|
|
276
|
-
document.removeEventListener(C.DataProcessComplete, this.chartDataProcessComplete), document.removeEventListener(C.AxesMinMaxChange, this.chartAxesMinMaxChange), document.removeEventListener(C.SeriesColorChange, this.chartSeriesColorChange), document.removeEventListener(C.NoRenderPropChange, this.chartNoRenderPropChange), document.removeEventListener(C.LegendItemVisibilityChange, this.chartLegendItemVisibilityChange);
|
|
277
|
+
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);
|
|
277
278
|
}
|
|
278
279
|
getDataExtent(e) {
|
|
279
280
|
const a = this.getModel(this.selectedChartId)?.config;
|
|
280
281
|
let t = [];
|
|
281
282
|
if (a !== void 0 && e !== void 0) {
|
|
282
|
-
const i =
|
|
283
|
+
const i = W({
|
|
283
284
|
chartConfig: a,
|
|
284
285
|
chartData: e
|
|
285
|
-
}), { minY: s, maxY: r, minX:
|
|
286
|
+
}), { minY: s, maxY: r, minX: n, maxX: c } = i;
|
|
286
287
|
t = [
|
|
287
|
-
{ isXAxis: !0, minimum:
|
|
288
|
+
{ isXAxis: !0, minimum: n, maximum: c },
|
|
288
289
|
{ isXAxis: !1, minimum: s, maximum: r }
|
|
289
290
|
];
|
|
290
291
|
}
|
|
@@ -293,32 +294,26 @@ class le extends G {
|
|
|
293
294
|
updateAxesBoundsInAppState(e) {
|
|
294
295
|
e?.forEach((a) => {
|
|
295
296
|
const { isXAxis: t, maximum: i, minimum: s } = a, r = this.getModel(this.selectedChartId);
|
|
296
|
-
if (r !== void 0 &&
|
|
297
|
-
const
|
|
297
|
+
if (r !== void 0 && T(r) && this.selectedChartId !== void 0) {
|
|
298
|
+
const n = new te(r, t), c = Y({
|
|
298
299
|
chartId: this.selectedChartId,
|
|
299
300
|
isXAxis: t,
|
|
300
|
-
isLogarithmic:
|
|
301
|
+
isLogarithmic: n.getLogarithmic()
|
|
301
302
|
}), g = x.chartAxesBoundDataMap;
|
|
302
303
|
g[this.selectedChartId] === void 0 && (g[this.selectedChartId] = {});
|
|
303
|
-
const u = g[this.selectedChartId]?.[
|
|
304
|
+
const u = g[this.selectedChartId]?.[c], C = {
|
|
304
305
|
defaultMinBound: u?.defaultMinBound === u?.currMinBound ? s : u?.defaultMinBound,
|
|
305
306
|
currMinBound: s,
|
|
306
307
|
defaultMaxBound: u?.defaultMaxBound === u?.currMaxBound ? i : u?.defaultMaxBound,
|
|
307
308
|
currMaxBound: i
|
|
308
309
|
};
|
|
309
|
-
!
|
|
310
|
+
!w(u, C) && this.selectedChartId !== void 0 && g?.[this.selectedChartId] !== void 0 && (g[this.selectedChartId][c] = C);
|
|
310
311
|
}
|
|
311
312
|
});
|
|
312
313
|
}
|
|
313
314
|
getPlacement() {
|
|
314
315
|
let e;
|
|
315
|
-
|
|
316
|
-
e = this.popoverPlacement;
|
|
317
|
-
else {
|
|
318
|
-
const a = this.modelList?.filter((i) => E(Q, i.config)).length;
|
|
319
|
-
e = Number(a) <= 2 ? "bottom" : "top";
|
|
320
|
-
}
|
|
321
|
-
return e;
|
|
316
|
+
return this.popoverPlacement !== void 0 ? e = this.popoverPlacement : e = this.modelList?.filter((i) => E(ee, i.config)).length <= 2 ? "bottom" : "top", e;
|
|
322
317
|
}
|
|
323
318
|
onBackFlow() {
|
|
324
319
|
this.panelNumber -= 1;
|
|
@@ -329,22 +324,22 @@ class le extends G {
|
|
|
329
324
|
}
|
|
330
325
|
setupSelectChartTypePopover(e, a) {
|
|
331
326
|
const t = this.getPlacement();
|
|
332
|
-
this.removeSelectChartTypePopover(), this.selectChartTypePopover = I(
|
|
327
|
+
this.removeSelectChartTypePopover(), this.selectChartTypePopover = I(h`<arcgis-charts-config-select-chart-type-popover .referenceElement=${e} open .layerId=${a} .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);
|
|
333
328
|
}
|
|
334
329
|
getModel(e) {
|
|
335
330
|
return this.modelList?.find((a) => a.chartId === e);
|
|
336
331
|
}
|
|
337
332
|
removeSelectChartTypePopover() {
|
|
338
|
-
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover =
|
|
333
|
+
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover = G(this.selectChartTypePopover));
|
|
339
334
|
}
|
|
340
335
|
clearPartialModels() {
|
|
341
|
-
this.modelList = this.modelList.filter((e) => !
|
|
336
|
+
this.modelList = this.modelList.filter((e) => !D(e.config));
|
|
342
337
|
}
|
|
343
338
|
onViewChartDelete(e) {
|
|
344
339
|
const { chartId: a } = e.detail;
|
|
345
340
|
if (a !== void 0) {
|
|
346
341
|
const t = this.modelList.find((s) => s.chartId === a), i = this.layerList.find((s) => s.id === t?.layer?.id);
|
|
347
|
-
this.modelList = [...this.modelList.filter((s) => s.chartId !== a)], i && this.syncChartsToLayers && this.allowChartSyncing &&
|
|
342
|
+
this.modelList = [...this.modelList.filter((s) => s.chartId !== a)], i && this.syncChartsToLayers && this.allowChartSyncing && oe(i, a);
|
|
348
343
|
}
|
|
349
344
|
}
|
|
350
345
|
onViewChartsSelect(e) {
|
|
@@ -393,46 +388,46 @@ class le extends G {
|
|
|
393
388
|
t = "";
|
|
394
389
|
break;
|
|
395
390
|
}
|
|
396
|
-
this.tooltip = I(
|
|
391
|
+
this.tooltip = I(h`<calcite-tooltip style=${Z({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${a} open placement=top>${t}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
397
392
|
}
|
|
398
393
|
destroyTooltip() {
|
|
399
|
-
|
|
394
|
+
ae(this.tooltip);
|
|
400
395
|
}
|
|
401
396
|
renderViewCharts() {
|
|
402
|
-
const e =
|
|
397
|
+
const e = se({
|
|
403
398
|
modelList: this.modelList,
|
|
404
399
|
layerList: this.layerList,
|
|
405
400
|
activeLayerId: this.activeLayerId,
|
|
406
401
|
disableEditing: this.disableEditing
|
|
407
402
|
});
|
|
408
|
-
return
|
|
403
|
+
return V(e, (a) => a.id, (a) => h`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId !== void 0} .modelList=${ie(this.modelList, a.id.toString(), this.supportedChartTypes)} .selectedChartId=${this.selectedChartId ?? ""} .layer=${a} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`);
|
|
409
404
|
}
|
|
410
405
|
render() {
|
|
411
|
-
return this.open !== !1 ?
|
|
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} ${q(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.renderTabs()}</calcite-flow>` : null;
|
|
412
407
|
}
|
|
413
408
|
renderTabs() {
|
|
414
409
|
const e = this.getModel(this.selectedChartId);
|
|
415
|
-
return
|
|
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 ? H(this._messages.pageFlowTitle, {
|
|
416
411
|
chartName: e?.titleText ?? this.currentChartTypeText,
|
|
417
412
|
layerName: e?.layer?.title ?? ""
|
|
418
|
-
}) : ""}>${e?.chartType !== void 0 ?
|
|
419
|
-
this.selectedPanel =
|
|
420
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.chartType === o.BarSeries ?
|
|
421
|
-
this.selectedPanel =
|
|
422
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.LineSeries ?
|
|
423
|
-
this.selectedPanel =
|
|
424
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.BoxPlotSeries ?
|
|
425
|
-
this.selectedPanel =
|
|
426
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.PieSeries ?
|
|
427
|
-
this.selectedPanel =
|
|
428
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !== o.PieSeries ?
|
|
429
|
-
this.selectedPanel =
|
|
430
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !== o.PieSeries ?
|
|
431
|
-
this.selectedPanel =
|
|
432
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}<calcite-action class=${
|
|
433
|
-
this.selectedPanel =
|
|
434
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action><calcite-action class=${
|
|
435
|
-
this.selectedPanel =
|
|
413
|
+
}) : ""}>${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
|
+
this.selectedPanel = l.Data;
|
|
415
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.chartType === o.BarSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-bar-stacked scale=s alignment=center .active=${this.selectedPanel === l.Series} @click=${() => {
|
|
416
|
+
this.selectedPanel = l.Series;
|
|
417
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.LineSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-line-series scale=s alignment=center .active=${this.selectedPanel === l.Series} @click=${() => {
|
|
418
|
+
this.selectedPanel = l.Series;
|
|
419
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.BoxPlotSeries ? h`<calcite-action class=${d(m.tab)} icon=box-chart-series scale=s alignment=center .active=${this.selectedPanel === l.Series} @click=${() => {
|
|
420
|
+
this.selectedPanel = l.Series;
|
|
421
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.PieSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-pie-slice scale=s alignment=center .active=${this.selectedPanel === l.Slices} @click=${() => {
|
|
422
|
+
this.selectedPanel = l.Slices;
|
|
423
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !== o.PieSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-axis scale=s alignment=center .active=${this.selectedPanel === l.Axes} @click=${() => {
|
|
424
|
+
this.selectedPanel = l.Axes;
|
|
425
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !== o.PieSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-guides scale=s alignment=center .active=${this.selectedPanel === l.Guides} @click=${() => {
|
|
426
|
+
this.selectedPanel = l.Guides;
|
|
427
|
+
}} @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
|
+
this.selectedPanel = l.Format;
|
|
429
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action><calcite-action class=${d(m.tab)} icon=text scale=s alignment=center .active=${this.selectedPanel === l.General} @click=${() => {
|
|
430
|
+
this.selectedPanel = l.General;
|
|
436
431
|
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action></calcite-action-bar>` : null}${this.renderChartUIComponent()}</calcite-flow-item>`);
|
|
437
432
|
}
|
|
438
433
|
renderChartUIComponent() {
|
|
@@ -441,28 +436,28 @@ class le extends G {
|
|
|
441
436
|
if (e !== void 0 && !this.disableEditing)
|
|
442
437
|
switch (e?.chartType) {
|
|
443
438
|
case "barSeries":
|
|
444
|
-
t =
|
|
439
|
+
t = h`<arcgis-charts-config-bar-chart class=${d(m.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel ?? l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-bar-chart>`;
|
|
445
440
|
break;
|
|
446
441
|
case "lineSeries":
|
|
447
|
-
t =
|
|
442
|
+
t = h`<arcgis-charts-config-line-chart class=${d(m.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel ?? l.Data} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-line-chart>`;
|
|
448
443
|
break;
|
|
449
444
|
case "pieSeries":
|
|
450
|
-
t =
|
|
445
|
+
t = h`<arcgis-charts-config-pie-chart class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .chartData=${this.chartData} .page=${this.selectedPanel ?? l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor} .filterBySelection=${this.filterBySelection}></arcgis-charts-config-pie-chart>`;
|
|
451
446
|
break;
|
|
452
447
|
case "histogramSeries":
|
|
453
|
-
t =
|
|
448
|
+
t = h`<arcgis-charts-config-histogram class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel ?? l.Data} .chartData=${this.chartData} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-histogram>`;
|
|
454
449
|
break;
|
|
455
450
|
case "scatterSeries":
|
|
456
|
-
t =
|
|
451
|
+
t = h`<arcgis-charts-config-scatter-plot class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel ?? l.Data} .r2=${this.r2} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-scatter-plot>`;
|
|
457
452
|
break;
|
|
458
453
|
case "boxPlotSeries":
|
|
459
|
-
t =
|
|
454
|
+
t = h`<arcgis-charts-config-box-plot class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel ?? l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-box-plot>`;
|
|
460
455
|
break;
|
|
461
456
|
}
|
|
462
457
|
return t;
|
|
463
458
|
}
|
|
464
459
|
}
|
|
465
|
-
|
|
460
|
+
N("arcgis-charts-config-create-flow", ce);
|
|
466
461
|
export {
|
|
467
|
-
|
|
462
|
+
ce as ArcgisChartsConfigCreateFlow
|
|
468
463
|
};
|
|
@@ -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.30 */
|
|
7
7
|
const e = {
|
|
8
8
|
fieldSelectButtonSection: "field-select-btn-section",
|
|
9
9
|
fieldSelectButton: "field-select-btn",
|
|
@@ -16,7 +16,7 @@ class n extends a {
|
|
|
16
16
|
super(...arguments), this.disabled = !1, this.invalid = !1;
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.properties = { label:
|
|
19
|
+
this.properties = { label: 1, disabled: 5, invalid: 5 };
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = r;
|