@arcgis/charts-components 5.0.0-next.64 → 5.0.0-next.67
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/{KKJGPSQU.js → 22K4FFG2.js} +2 -2
- package/dist/cdn/{RHJHGJFU.js → 2MM634DB.js} +2 -2
- package/dist/cdn/{RITQUE3H.js → 2U3KNUNA.js} +2 -2
- package/dist/cdn/2WSF2YDX.js +4 -0
- package/dist/cdn/3EWUQE7V.js +4 -0
- package/dist/cdn/{WJMBQCFV.js → 3GXNVQJD.js} +2 -2
- package/dist/cdn/3IEGDWPR.js +4 -0
- package/dist/cdn/{IJ3WTIV6.js → 3VUWIDFK.js} +2 -2
- package/dist/cdn/{WWHPJ74L.js → 3X36GHH7.js} +2 -2
- package/dist/cdn/{C75UEWRU.js → 43O53QRJ.js} +2 -2
- package/dist/cdn/{ZJOL7HNQ.js → 47LYXG4H.js} +2 -2
- package/dist/cdn/{NHHUWFOU.js → 4D5X2UDA.js} +2 -2
- package/dist/cdn/4G3EO7JA.js +4 -0
- package/dist/cdn/{4D57IARB.js → 4G3L7VNZ.js} +2 -2
- package/dist/cdn/{SXVCKV2H.js → 4JJSUKYT.js} +2 -2
- package/dist/cdn/{YPX5FBJN.js → 4O3BKRGM.js} +2 -2
- package/dist/cdn/{DDXW4GCU.js → 4PK5HZIR.js} +2 -2
- package/dist/cdn/4VGPRG5Z.js +4 -0
- package/dist/cdn/4XDKHRQO.js +4 -0
- package/dist/cdn/4ZZMAQ7A.js +4 -0
- package/dist/cdn/{OSFUWHBA.js → 54EOWPOO.js} +2 -2
- package/dist/cdn/{HEW2H45Z.js → 56P5H67U.js} +2 -2
- package/dist/cdn/5EH6XYOL.js +4 -0
- package/dist/cdn/{L4AWWXCA.js → 5SYYNRWF.js} +2 -2
- package/dist/cdn/5VRS33TF.js +4 -0
- package/dist/cdn/{PRW43LGB.js → 6GFFHQTN.js} +2 -2
- package/dist/cdn/{B6B3DHH4.js → 6L7YNW3K.js} +2 -2
- package/dist/cdn/{YCYIQDXB.js → 6M4NWZMP.js} +2 -2
- package/dist/cdn/{AM23JQ6R.js → 6NACYZJK.js} +2 -2
- package/dist/cdn/{3DYJOXMC.js → 6U5GYB46.js} +2 -2
- package/dist/cdn/{JBKO6KWD.js → 6WLHCRA3.js} +2 -2
- package/dist/cdn/6XPXMWQJ.js +4 -0
- package/dist/cdn/{VCIVXVRU.js → 6YATA5XH.js} +2 -2
- package/dist/cdn/{X7OZC6WQ.js → 76O6Q46Y.js} +2 -2
- package/dist/cdn/7A2OHTCY.js +4 -0
- package/dist/cdn/7JGZOPNU.js +4 -0
- package/dist/cdn/{27R5WPBX.js → 7X7JJDSC.js} +2 -2
- package/dist/cdn/7XQWEVTO.js +4 -0
- package/dist/cdn/{VHXVLPJF.js → A5VCUMLR.js} +2 -2
- package/dist/cdn/ADJDKESO.js +4 -0
- package/dist/cdn/AHK7PC3Q.js +4 -0
- package/dist/cdn/AM64NT2B.js +4 -0
- package/dist/cdn/{3WB52VIC.js → AVA2PPXK.js} +2 -2
- package/dist/cdn/{JR6KWT6B.js → BCZ2AFXN.js} +2 -2
- package/dist/cdn/BKFBFRMP.js +4 -0
- package/dist/cdn/BVEXOBFR.js +4 -0
- package/dist/cdn/C3WUZZ3G.js +4 -0
- package/dist/cdn/{GE5RSRJ3.js → C5V2TI2X.js} +2 -2
- package/dist/cdn/{ZCMMCSMZ.js → CAIVRBHU.js} +2 -2
- package/dist/cdn/CE2BYF4I.js +4 -0
- package/dist/cdn/{NEBQ633F.js → CGCVWF2R.js} +2 -2
- package/dist/cdn/{SIOG7J56.js → D5UC25XD.js} +2 -2
- package/dist/cdn/DBGYLICD.js +4 -0
- package/dist/cdn/{EMKKZ4SI.js → DCDJSAWS.js} +2 -2
- package/dist/cdn/{Z5TFLZWE.js → DKBJ3VMW.js} +1 -1
- package/dist/cdn/{5MO7JZBO.js → DLQU3PKW.js} +2 -2
- package/dist/cdn/DTKR7EQX.js +4 -0
- package/dist/cdn/DYID5DTX.js +4 -0
- package/dist/cdn/E37QO52T.js +4 -0
- package/dist/cdn/E47WI35G.js +4 -0
- package/dist/cdn/EJAAHEGE.js +6 -0
- package/dist/cdn/EKFUJTQ5.js +4 -0
- package/dist/cdn/{W5DJEPR5.js → EPD7TQQJ.js} +2 -2
- package/dist/cdn/EWUJF3TE.js +4 -0
- package/dist/cdn/FHMNFHTN.js +4 -0
- package/dist/cdn/FUCPZZQJ.js +4 -0
- package/dist/cdn/FUVIR74G.js +4 -0
- package/dist/cdn/{7GG67KVI.js → FVRZ3Y4B.js} +2 -2
- package/dist/cdn/FXTE3PM3.js +4 -0
- package/dist/cdn/{DOXWQ4VP.js → FY4S4MPB.js} +2 -2
- package/dist/cdn/{I6ID3JHL.js → GPBXTTIT.js} +2 -2
- package/dist/cdn/{ZNW2AB62.js → GQ2JMHTS.js} +2 -2
- package/dist/cdn/GWL53IWJ.js +4 -0
- package/dist/cdn/{PASBVXLD.js → HAXNICJD.js} +2 -2
- package/dist/cdn/HNJI36UK.js +4 -0
- package/dist/cdn/HUTSVJ5N.js +4 -0
- package/dist/cdn/HVGWJVAS.js +4 -0
- package/dist/cdn/IPDITVEY.js +4 -0
- package/dist/cdn/{WUNDCSJT.js → IRKBRCFZ.js} +2 -2
- package/dist/cdn/ISXLDJ6R.js +4 -0
- package/dist/cdn/{4EDB45OO.js → IT5IV6C4.js} +2 -2
- package/dist/cdn/{PSJFEYF4.js → ITDSGWYS.js} +2 -2
- package/dist/cdn/{Z6G7N2BQ.js → ITNXWCXM.js} +2 -2
- package/dist/cdn/ITSMAADE.js +4 -0
- package/dist/cdn/IVQ773LE.js +4 -0
- package/dist/cdn/{6NVO6GRV.js → JXSX55IV.js} +2 -2
- package/dist/cdn/KEH2LNAE.js +4 -0
- package/dist/cdn/KG4YY3EV.js +4 -0
- package/dist/cdn/KGXSWSY6.js +4 -0
- package/dist/cdn/KULJA67P.js +4 -0
- package/dist/cdn/{HJGYY2SG.js → LCSHXS5B.js} +2 -2
- package/dist/cdn/LGFTE7OU.js +4 -0
- package/dist/cdn/{NYCG6MJV.js → LMUM6LKV.js} +2 -2
- package/dist/cdn/LRIGOHQ4.js +4 -0
- package/dist/cdn/{D6F7ALZ6.js → LXWPG5I4.js} +2 -2
- package/dist/cdn/M3QKCJHG.js +4 -0
- package/dist/cdn/{GKJWVRAM.js → M7FNGTET.js} +2 -2
- package/dist/cdn/{BR5F5GPW.js → MAZWQNGN.js} +2 -2
- package/dist/cdn/MCO6G3HA.js +4 -0
- package/dist/cdn/{KN2FNSNP.js → MF3ZREZV.js} +2 -2
- package/dist/cdn/MHDAUG6A.js +4 -0
- package/dist/cdn/MOSW3A4S.js +4 -0
- package/dist/cdn/{PTW35KN3.js → MZIOXIP7.js} +2 -2
- package/dist/cdn/{D5W6SXR6.js → N3P2X2V6.js} +2 -2
- package/dist/cdn/N5NENZIO.js +4 -0
- package/dist/cdn/{TDXKCRKQ.js → NHRTYFT5.js} +2 -2
- package/dist/cdn/{4ORNSVKQ.js → NSENNGOG.js} +2 -2
- package/dist/cdn/{CKPCS3Q5.js → NUNIYHSJ.js} +2 -2
- package/dist/cdn/NXJGFQUL.js +4 -0
- package/dist/cdn/{SJRNJ7RJ.js → NYPKOV5W.js} +2 -2
- package/dist/cdn/{JVUX7GZL.js → OBDVUV5Q.js} +2 -2
- package/dist/cdn/{JJQT2MUN.js → OFCSXEQP.js} +2 -2
- package/dist/cdn/{2ST4LJAN.js → ORC2TMUB.js} +2 -2
- package/dist/cdn/{IND7GOJG.js → OS7B3VGZ.js} +2 -2
- package/dist/cdn/{GMWQ6WG7.js → OUAO6SMF.js} +2 -2
- package/dist/cdn/{JIZ4S6AF.js → OYSBROSS.js} +2 -2
- package/dist/cdn/{Y2OHHQQU.js → OZHKAQXC.js} +2 -2
- package/dist/cdn/{IHK7WM4Y.js → PBQ3226J.js} +2 -2
- package/dist/cdn/PDV2E5ZK.js +4 -0
- package/dist/cdn/PJ2BDTLT.js +4 -0
- package/dist/cdn/{JCVCIXUV.js → PNAEZL5A.js} +2 -2
- package/dist/cdn/{ENEHOPLE.js → PNAVU7H2.js} +2 -2
- package/dist/cdn/{ZLMFJB26.js → PPJQQE5F.js} +4 -4
- package/dist/cdn/{YFOZXWL7.js → PXPAIANY.js} +2 -2
- package/dist/cdn/PZSY2XE7.js +42 -0
- package/dist/cdn/{WOEC3CY6.js → Q4FFF2QX.js} +1 -1
- package/dist/cdn/QF5MTD5Q.js +4 -0
- package/dist/cdn/QJ2DSTEL.js +4 -0
- package/dist/cdn/QJ5JVBZZ.js +4 -0
- package/dist/cdn/QMX6WDNP.js +4 -0
- package/dist/cdn/{ZBW6JN46.js → QPWOOTCS.js} +2 -2
- package/dist/cdn/{WAA2N6TA.js → R6MAZI57.js} +2 -2
- package/dist/cdn/RHK2PIU3.js +4 -0
- package/dist/cdn/{UXKOIXVI.js → RIPMCTS6.js} +2 -2
- package/dist/cdn/S5DHURAZ.js +4 -0
- package/dist/cdn/S76JXA3D.js +4 -0
- package/dist/cdn/SP3C3BCU.js +4 -0
- package/dist/cdn/SXQSJ2IX.js +4 -0
- package/dist/cdn/{UPW33AK4.js → T3Z2F725.js} +2 -2
- package/dist/cdn/{VAQGFGUI.js → T6VDF5Y2.js} +2 -2
- package/dist/cdn/TDPLMEWV.js +4 -0
- package/dist/cdn/{PAMAXVLG.js → TJQZ4PQS.js} +2 -2
- package/dist/cdn/{45JTWDJC.js → TQV6BTRF.js} +2 -2
- package/dist/cdn/{LCKNSU2F.js → TUG4HC5H.js} +1 -1
- package/dist/cdn/TVS5Z5NI.js +4 -0
- package/dist/cdn/{SBDEJQQM.js → U5ILKILK.js} +1 -1
- package/dist/cdn/{ENW56RT6.js → UJ237PNN.js} +2 -2
- package/dist/cdn/{OKYCFNSP.js → ULYLVWX7.js} +2 -2
- package/dist/cdn/{PPGSBZ32.js → UNLQ5ELO.js} +2 -2
- package/dist/cdn/USUU63XK.js +4 -0
- package/dist/cdn/{TIKU5I6T.js → UVCPBK7X.js} +2 -2
- package/dist/cdn/UVLIKCGV.js +4 -0
- package/dist/cdn/{LOKK23UP.js → VM25NXDP.js} +2 -2
- package/dist/cdn/{R6LHJY3L.js → VVDIUBGZ.js} +2 -2
- package/dist/cdn/{5XV7XSPO.js → VXMX2XPU.js} +24 -24
- package/dist/cdn/W3QGZH2U.js +4 -0
- package/dist/cdn/{GKOS4NPM.js → W5X5TYZ2.js} +1 -1
- package/dist/cdn/{5S4MAIW2.js → WHSMSFEW.js} +2 -2
- package/dist/cdn/{GRA7QREI.js → WLAYRCM7.js} +1 -1
- package/dist/cdn/{7D3SISVY.js → WOX5C7EU.js} +2 -2
- package/dist/cdn/{I2YSHCHT.js → WT25R7WQ.js} +2 -2
- package/dist/cdn/WWHS4OED.js +4 -0
- package/dist/cdn/{3YE3XA5X.js → X4QCEF5D.js} +2 -2
- package/dist/cdn/XJYOLLHE.js +4 -0
- package/dist/cdn/XKXJ5UGL.js +4 -0
- package/dist/cdn/YEKB2P6S.js +4 -0
- package/dist/cdn/YGYLOGJV.js +4 -0
- package/dist/cdn/{UYX6CUXF.js → YHLBU56L.js} +2 -2
- package/dist/cdn/{54JPLZVK.js → YNSARZWD.js} +2 -2
- package/dist/cdn/{62Q227ZO.js → YPLHFFH4.js} +2 -2
- package/dist/cdn/{WRMTEQVL.js → YRMW7JGB.js} +2 -2
- package/dist/cdn/YUEJUXC7.js +4 -0
- package/dist/cdn/{6763OGR7.js → YZCMFSVD.js} +2 -2
- package/dist/cdn/ZC3COOHL.js +4 -0
- package/dist/cdn/ZFFXUC5U.js +4 -0
- package/dist/cdn/{ZEQDC3WX.js → ZFQGMWUL.js} +2 -2
- package/dist/cdn/ZJILTG6Z.js +4 -0
- package/dist/cdn/ZKWVSFVM.js +4 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +5 -1
- package/dist/chunks/action-bar-utils.js +19 -20
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +4 -5
- package/dist/chunks/bar-chart-series.js +8 -9
- package/dist/chunks/baseline-stacking.js +23 -24
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +56 -58
- package/dist/chunks/box-plot-model.js +18 -19
- package/dist/chunks/chart-ui-utils.js +39 -28
- package/dist/chunks/chart-ui-utils2.js +38 -40
- package/dist/chunks/combo-bar-line-chart-model.js +13 -14
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +60 -61
- package/dist/chunks/data.js +41 -42
- package/dist/chunks/default.js +8 -9
- package/dist/chunks/gauge-model.js +21 -22
- package/dist/chunks/heat-chart-model.js +20 -21
- package/dist/chunks/histogram-data.js +39 -40
- package/dist/chunks/histogram-model.js +2 -3
- package/dist/chunks/index.js +2227 -1931
- package/dist/chunks/index2.js +40 -41
- package/dist/chunks/index3.js +38 -39
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +5 -5
- package/dist/chunks/line-chart-model.js +2 -3
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +15 -16
- package/dist/chunks/model-with-multi-axes.js +46 -48
- package/dist/chunks/model-with-rotation.js +4 -5
- package/dist/chunks/pie-chart-data.js +32 -34
- package/dist/chunks/pie-chart-model.js +37 -39
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +2 -3
- package/dist/chunks/resource.js +31 -10
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +28 -29
- package/dist/chunks/serial-chart-data.js +187 -189
- package/dist/chunks/serial-chart-model.js +14 -15
- package/dist/chunks/series.js +7 -8
- package/dist/chunks/setup-utils.js +81 -0
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +103 -82
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +208 -209
- package/dist/components/arcgis-chart/customElement.js +1330 -1321
- package/dist/components/arcgis-charts-action-bar/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +19 -21
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +22 -24
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +8 -10
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +2 -4
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +11 -13
- package/dist/components/arcgis-charts-config-format/customElement.js +24 -26
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -4
- package/dist/components/arcgis-charts-config-general/customElement.js +14 -15
- package/dist/components/arcgis-charts-config-guide/customElement.js +16 -18
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +2 -4
- package/dist/components/arcgis-charts-config-guides/customElement.js +34 -15
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +10 -12
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +4 -6
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +24 -26
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +11 -13
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +5 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -4
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +14 -16
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +8 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +3 -5
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -4
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -3
- 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.d.ts +2 -2
- package/dist/index.js +412 -414
- package/dist/loader.d.ts +1 -1
- package/dist/loader.js +1 -1
- package/dist/model.js +35 -109
- package/dist/types/components.d.ts +1 -1
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/preact10.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/dist/utils/components/web-component-utils.d.ts +3 -4
- package/dist/utils/ui/chart-ui-utils.d.ts +6 -1
- package/package.json +3 -3
- package/dist/cdn/2D3FB665.js +0 -4
- package/dist/cdn/2ZMQR5SI.js +0 -4
- package/dist/cdn/32ZPFS4W.js +0 -4
- package/dist/cdn/3RWWBSUL.js +0 -4
- package/dist/cdn/4OF63IUB.js +0 -4
- package/dist/cdn/4U27TNVI.js +0 -4
- package/dist/cdn/5GILJAGW.js +0 -4
- package/dist/cdn/5HS5ACIQ.js +0 -4
- package/dist/cdn/6AENLA74.js +0 -4
- package/dist/cdn/76A3VGHB.js +0 -4
- package/dist/cdn/7LZKBVWC.js +0 -4
- package/dist/cdn/7RB2HDC4.js +0 -4
- package/dist/cdn/A2JPGY6A.js +0 -4
- package/dist/cdn/AA2N5EHL.js +0 -4
- package/dist/cdn/AY6HRHRJ.js +0 -4
- package/dist/cdn/B443LTQV.js +0 -4
- package/dist/cdn/B747RURM.js +0 -6
- package/dist/cdn/C4ZMKQNY.js +0 -4
- package/dist/cdn/CVS35WCR.js +0 -4
- package/dist/cdn/DHTC2LFC.js +0 -4
- package/dist/cdn/EZ7MYDOT.js +0 -4
- package/dist/cdn/FCOIHHNS.js +0 -4
- package/dist/cdn/FLDU5NML.js +0 -4
- package/dist/cdn/H75R5U34.js +0 -4
- package/dist/cdn/HL5YYAUF.js +0 -4
- package/dist/cdn/HOMIFLXF.js +0 -42
- package/dist/cdn/IFWMKYS5.js +0 -4
- package/dist/cdn/JCMQCEFP.js +0 -4
- package/dist/cdn/JCPQI4JE.js +0 -4
- package/dist/cdn/JGNO66DI.js +0 -4
- package/dist/cdn/JHK23RKG.js +0 -4
- package/dist/cdn/JNZZOEUW.js +0 -4
- package/dist/cdn/KY7UCLJD.js +0 -4
- package/dist/cdn/KZVOEY6U.js +0 -4
- package/dist/cdn/L3VPKVE7.js +0 -4
- package/dist/cdn/LA3LCOCT.js +0 -4
- package/dist/cdn/LGLGPJ35.js +0 -4
- package/dist/cdn/MKOJUEDR.js +0 -4
- package/dist/cdn/N5V3J4EC.js +0 -4
- package/dist/cdn/NKQ4KYED.js +0 -4
- package/dist/cdn/O7XWWEN2.js +0 -4
- package/dist/cdn/OIHTUMRB.js +0 -4
- package/dist/cdn/OXSYF6Y6.js +0 -4
- package/dist/cdn/OZXWHDYX.js +0 -4
- package/dist/cdn/PAMFOQ3B.js +0 -4
- package/dist/cdn/PATSZ4YD.js +0 -4
- package/dist/cdn/Q2A33YU7.js +0 -4
- package/dist/cdn/Q4ENGBTF.js +0 -4
- package/dist/cdn/QAT5XTKR.js +0 -4
- package/dist/cdn/QP2GIBHL.js +0 -4
- package/dist/cdn/QQU6TXIL.js +0 -4
- package/dist/cdn/RG7DNDQQ.js +0 -4
- package/dist/cdn/RKOB3XIL.js +0 -4
- package/dist/cdn/RLJJ7LVS.js +0 -4
- package/dist/cdn/RML75YLS.js +0 -4
- package/dist/cdn/RQXKQ37H.js +0 -4
- package/dist/cdn/S5OMG4ZS.js +0 -4
- package/dist/cdn/SEOB6PR5.js +0 -4
- package/dist/cdn/SM5KCAKZ.js +0 -4
- package/dist/cdn/T2LQ7QBX.js +0 -4
- package/dist/cdn/TLNAF42K.js +0 -4
- package/dist/cdn/TW747FSK.js +0 -4
- package/dist/cdn/TZIYO65Z.js +0 -4
- package/dist/cdn/U4FKD6XG.js +0 -4
- package/dist/cdn/VQBFXO5V.js +0 -4
- package/dist/cdn/VY3ZJWZQ.js +0 -4
- package/dist/cdn/VZDEULXB.js +0 -4
- package/dist/cdn/WAEP7PSO.js +0 -4
- package/dist/cdn/WFGJAECI.js +0 -4
- package/dist/cdn/WQGXCIRI.js +0 -4
- package/dist/cdn/WTW4JNBT.js +0 -4
- package/dist/cdn/WZAHA6IR.js +0 -4
- package/dist/cdn/X5Y42TVU.js +0 -4
- package/dist/cdn/X63A5E3G.js +0 -4
- package/dist/cdn/X75CPWQI.js +0 -4
- package/dist/cdn/XDPC5XMF.js +0 -4
- package/dist/cdn/XQC5MIXZ.js +0 -4
- package/dist/cdn/XSO2F6YR.js +0 -4
- package/dist/cdn/YBTDEFJ7.js +0 -4
- package/dist/cdn/YDZRUYMZ.js +0 -4
- package/dist/cdn/YTOSU4X6.js +0 -4
- package/dist/chunks/rest-js-object-literals.js +0 -103
- package/dist/chunks/series-types.js +0 -191
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { c as B } from "../../chunks/runtime.js";
|
|
2
2
|
import { keyed as X } from "lit/directives/keyed.js";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
|
-
import { cloneDeep as
|
|
5
|
-
import {
|
|
6
|
-
import { R as u, c as N } from "../../chunks/rest-js-object-literals.js";
|
|
4
|
+
import { cloneDeep as P } from "lodash-es";
|
|
5
|
+
import { U as p, R as u, d as z, d9 as N, da as E, db as F, bb as Z, c as O } from "../../chunks/index.js";
|
|
7
6
|
import "d3-array";
|
|
8
|
-
import { j as p, cC as Z, cD as P, cE as F, aE as j } from "../../chunks/index.js";
|
|
9
7
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
8
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
9
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -13,11 +11,11 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
13
11
|
import "@arcgis/core/time/TimeExtent.js";
|
|
14
12
|
import "@arcgis/core/core/promiseUtils.js";
|
|
15
13
|
import "@arcgis/core/request.js";
|
|
16
|
-
import { c as g, b as
|
|
17
|
-
import { r as
|
|
18
|
-
import { m as $, d as
|
|
14
|
+
import { c as g, b as V } from "../../chunks/index3.js";
|
|
15
|
+
import { r as j } from "../../chunks/popover-ui-utils.js";
|
|
16
|
+
import { m as $, d as q, g as U, j as L, c as G } from "../../chunks/chart-ui-utils2.js";
|
|
19
17
|
import { d as M } from "../../chunks/default.js";
|
|
20
|
-
import { g as
|
|
18
|
+
import { g as W } from "../../chunks/resource.js";
|
|
21
19
|
import { u as Y } from "../../chunks/useT9n.js";
|
|
22
20
|
import { css as H, html as d } from "lit";
|
|
23
21
|
import { createRef as h, ref as m } from "lit/directives/ref.js";
|
|
@@ -26,7 +24,7 @@ import { G as S } from "../../chunks/common.js";
|
|
|
26
24
|
import { j as Q, n as ee, o as te } from "../../chunks/type-guards.js";
|
|
27
25
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
28
26
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
29
|
-
v5.0.0-next.
|
|
27
|
+
v5.0.0-next.67 */
|
|
30
28
|
const n = {
|
|
31
29
|
row: "row",
|
|
32
30
|
column: "column",
|
|
@@ -37,7 +35,7 @@ class se extends J {
|
|
|
37
35
|
super(...arguments), this._messages = Y(), 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
36
|
const t = e.detail, i = this.model.getGuideStart(this.index, this.orientation), a = this.model.getGuideEnd(this.index, this.orientation);
|
|
39
37
|
if (p(i, a) === u.SLS) {
|
|
40
|
-
const l =
|
|
38
|
+
const l = P(M.style), s = this.model.getGuideStyle(this.index, this.orientation), r = {
|
|
41
39
|
...l,
|
|
42
40
|
...g(s) ? s : {},
|
|
43
41
|
color: t
|
|
@@ -48,7 +46,7 @@ class se extends J {
|
|
|
48
46
|
}, this.symbolChange = (e) => {
|
|
49
47
|
const t = e?.detail, i = this.model.getGuideStart(this.index, this.orientation), a = this.model.getGuideEnd(this.index, this.orientation);
|
|
50
48
|
if (p(i, a) === u.SLS) {
|
|
51
|
-
const l =
|
|
49
|
+
const l = P(M.style), s = this.model.getGuideStyle(this.index, this.orientation), r = {
|
|
52
50
|
...l,
|
|
53
51
|
...g(s) ? s : {},
|
|
54
52
|
...g(t) ? t : {}
|
|
@@ -112,7 +110,7 @@ class se extends J {
|
|
|
112
110
|
})), this.guidePopover?.open === !0 && this.removeGuidePopover();
|
|
113
111
|
}
|
|
114
112
|
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 =
|
|
113
|
+
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 = N(this.timeZone) ?? l, r = E(i, s), f = F(i, s), v = E(a, s), R = 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 === "" ? R : I;
|
|
116
114
|
let b = !1;
|
|
117
115
|
if (!Array.isArray(x) && x !== void 0 && w !== void 0) {
|
|
118
116
|
const c = `${x}T${w}`;
|
|
@@ -172,11 +170,11 @@ class se extends J {
|
|
|
172
170
|
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
171
|
}
|
|
174
172
|
removeGuidePopover() {
|
|
175
|
-
this.guidePopover !== null && this.guidePopover !== void 0 && (this.guidePopover =
|
|
173
|
+
this.guidePopover !== null && this.guidePopover !== void 0 && (this.guidePopover = j(this.guidePopover));
|
|
176
174
|
}
|
|
177
175
|
setColor(e) {
|
|
178
|
-
const t =
|
|
179
|
-
...
|
|
176
|
+
const t = Z({ opacity: 0 }), i = this.model.getGuideStyle(this.index, this.orientation), a = {
|
|
177
|
+
...V(i) ? i : {},
|
|
180
178
|
type: u.SFS,
|
|
181
179
|
color: e,
|
|
182
180
|
outline: t
|
|
@@ -215,7 +213,7 @@ class se extends J {
|
|
|
215
213
|
this.model.setGuideVisibility(!e, this.index, this.orientation);
|
|
216
214
|
}
|
|
217
215
|
destroyTooltip() {
|
|
218
|
-
|
|
216
|
+
q(this.tooltip);
|
|
219
217
|
}
|
|
220
218
|
deleteGuide() {
|
|
221
219
|
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,12 +223,12 @@ class se extends J {
|
|
|
225
223
|
});
|
|
226
224
|
}
|
|
227
225
|
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) ?
|
|
226
|
+
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) : O.Solid, v = p(s, r) === u.SLS ? `line-${f}` : "square-f";
|
|
229
227
|
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
228
|
}
|
|
231
229
|
render() {
|
|
232
230
|
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 ===
|
|
231
|
+
return d`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition === W(this.index, this.orientation, this.model)} collapsible .messageOverrides=${{
|
|
234
232
|
expand: this._messages.expand,
|
|
235
233
|
collapse: this._messages.collapse
|
|
236
234
|
}}><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>`;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { c as r } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as l, html as o } from "lit";
|
|
3
|
-
import "../../chunks/
|
|
4
|
-
import { R as p } from "../../chunks/rest-js-object-literals.js";
|
|
3
|
+
import { R as p } from "../../chunks/index.js";
|
|
5
4
|
import "@arcgis/toolkit/intl";
|
|
6
5
|
import "lodash-es";
|
|
7
6
|
import "d3-array";
|
|
8
|
-
import "../../chunks/index.js";
|
|
9
7
|
import "@arcgis/core/Graphic.js";
|
|
10
8
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
9
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -30,7 +28,7 @@ import { createRef as c, ref as m } from "lit/directives/ref.js";
|
|
|
30
28
|
import { LitElement as h, createEvent as s, safeClassMap as g } from "@arcgis/lumina";
|
|
31
29
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
30
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
31
|
+
v5.0.0-next.67 */
|
|
34
32
|
const C = {
|
|
35
33
|
jsAppFlyout: "js-app-flyout"
|
|
36
34
|
}, d = l``;
|
|
@@ -1,29 +1,48 @@
|
|
|
1
1
|
import { c as p } from "../../chunks/runtime.js";
|
|
2
|
-
import { cloneDeep as
|
|
2
|
+
import { cloneDeep as l } from "lodash-es";
|
|
3
3
|
import { d as g } from "../../chunks/default.js";
|
|
4
|
-
import { g as
|
|
4
|
+
import { g as u, H as m } from "../../chunks/resource.js";
|
|
5
5
|
import { u as f } from "../../chunks/useT9n.js";
|
|
6
6
|
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 { n as
|
|
11
|
-
import "../../chunks/
|
|
10
|
+
import { n as r, o as h } from "../../chunks/type-guards.js";
|
|
11
|
+
import "../../chunks/index.js";
|
|
12
|
+
import "@arcgis/toolkit/intl";
|
|
13
|
+
import "d3-array";
|
|
14
|
+
import "@arcgis/core/Graphic.js";
|
|
15
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
16
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
17
|
+
import "@arcgis/core/intl.js";
|
|
18
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
19
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
20
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
21
|
+
import "simple-statistics";
|
|
22
|
+
import "@arcgis/core/request.js";
|
|
23
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
24
|
+
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
25
|
+
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
26
|
+
import "@arcgis/core/rest/support/Query.js";
|
|
27
|
+
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
28
|
+
import "@arcgis/core/time/TimeExtent.js";
|
|
29
|
+
import "@arcgis/core/core/promiseUtils.js";
|
|
30
|
+
import "@arcgis/toolkit/dom";
|
|
12
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
14
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.67 */
|
|
15
34
|
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
35
|
class $ extends v {
|
|
17
36
|
constructor() {
|
|
18
37
|
super(...arguments), this._messages = f(), this.addGuideButton = x(), this.guideTypePopover = null, this.addXGuide = (e) => {
|
|
19
|
-
if (
|
|
38
|
+
if (r(this.model)) {
|
|
20
39
|
const t = this.getUniqueName(this._messages.xAxisGuide ?? ""), i = this.model.getXGuidesLength() ?? 0;
|
|
21
|
-
this.model.addXAxisGuide(t, i), this.model.setGuideStyle(
|
|
40
|
+
this.model.addXAxisGuide(t, i), this.model.setGuideStyle(l(g.style), i, s.X), this.latestGuidePosition = u(i, s.X, this.model), this.togglePopOver(e);
|
|
22
41
|
}
|
|
23
42
|
}, this.addYGuide = (e) => {
|
|
24
|
-
if (
|
|
43
|
+
if (h(this.model)) {
|
|
25
44
|
const t = this.getUniqueName(this._messages.yAxisGuide ?? ""), i = this.model.getYGuidesLength() ?? 0;
|
|
26
|
-
this.model.addYAxisGuide(t, i), this.model.setGuideStyle(
|
|
45
|
+
this.model.addYAxisGuide(t, i), this.model.setGuideStyle(l(g.style), i, s.Y), this.latestGuidePosition = u(i, s.Y, this.model), this.togglePopOver(e);
|
|
27
46
|
}
|
|
28
47
|
}, this.togglePopOver = (e) => {
|
|
29
48
|
e.stopImmediatePropagation(), this.enableXAxisGuide && this.enableYAxisGuide && (this.showAddButton = !this.showAddButton);
|
|
@@ -52,18 +71,18 @@ class $ extends v {
|
|
|
52
71
|
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
53
72
|
}
|
|
54
73
|
getAllGuidesLength() {
|
|
55
|
-
const e =
|
|
74
|
+
const e = r(this.model) ? this.model.getXGuidesLength() ?? 0 : 0, t = h(this.model) ? this.model.getYGuidesLength() ?? 0 : 0;
|
|
56
75
|
return e + t;
|
|
57
76
|
}
|
|
58
77
|
getUniqueName(e, t = 1) {
|
|
59
78
|
const i = `${e} ${t}`;
|
|
60
79
|
let d = !1;
|
|
61
|
-
if (
|
|
80
|
+
if (r(this.model)) {
|
|
62
81
|
const o = this.model.getXGuidesLength() ?? 0;
|
|
63
82
|
for (let n = 0; n < o && !d; n += 1)
|
|
64
83
|
this.model.getGuideName(n, s.X) === i && (d = !0);
|
|
65
84
|
}
|
|
66
|
-
if (
|
|
85
|
+
if (h(this.model)) {
|
|
67
86
|
const o = this.model.getYGuidesLength() ?? 0;
|
|
68
87
|
for (let n = 0; n < o && !d; n += 1)
|
|
69
88
|
this.model.getGuideName(n, s.Y) === i && (d = !0);
|
|
@@ -71,7 +90,7 @@ class $ extends v {
|
|
|
71
90
|
return d ? this.getUniqueName(e, t + 1) : i;
|
|
72
91
|
}
|
|
73
92
|
setChangedGuide(e) {
|
|
74
|
-
const { index: t, orientation: i, isDelete: d } = e.detail, o =
|
|
93
|
+
const { index: t, orientation: i, isDelete: d } = e.detail, o = u(t, i, this.model);
|
|
75
94
|
d && o !== void 0 && o <= this.latestGuidePosition && this.latestGuidePosition > 0 && (this.latestGuidePosition -= 1);
|
|
76
95
|
}
|
|
77
96
|
setupGuidePopover(e) {
|
|
@@ -87,12 +106,12 @@ class $ extends v {
|
|
|
87
106
|
}
|
|
88
107
|
renderGuides() {
|
|
89
108
|
const e = [];
|
|
90
|
-
if (
|
|
109
|
+
if (r(this.model)) {
|
|
91
110
|
const t = this.model.getXGuidesLength() ?? 0;
|
|
92
111
|
for (let i = 0; i < t; i += 1)
|
|
93
112
|
e.push(this.renderGuide(i, s.X));
|
|
94
113
|
}
|
|
95
|
-
if (
|
|
114
|
+
if (h(this.model)) {
|
|
96
115
|
const t = this.model.getYGuidesLength() ?? 0;
|
|
97
116
|
for (let i = 0; i < t; i += 1)
|
|
98
117
|
e.push(this.renderGuide(i, s.Y));
|
|
@@ -5,9 +5,8 @@ import { u as o } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { createRef as r, ref as a } from "lit/directives/ref.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import "lodash-es";
|
|
8
|
-
import "../../chunks/series-types.js";
|
|
9
|
-
import "d3-array";
|
|
10
8
|
import "../../chunks/index.js";
|
|
9
|
+
import "d3-array";
|
|
11
10
|
import "@arcgis/core/Graphic.js";
|
|
12
11
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
12
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -28,7 +27,7 @@ import "@arcgis/toolkit/dom";
|
|
|
28
27
|
import { e as p } from "../../chunks/popover-ui-utils.js";
|
|
29
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
30
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
31
|
-
v5.0.0-next.
|
|
30
|
+
v5.0.0-next.67 */
|
|
32
31
|
class l extends s {
|
|
33
32
|
constructor() {
|
|
34
33
|
super(...arguments), this._messages = o(), this.popoverElement = r(), this.onAddXGuide = () => {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { isEqual as r } from "lodash-es";
|
|
4
|
-
import "../../chunks/
|
|
4
|
+
import { g as n, c8 as h } from "../../chunks/index.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
-
import { g as n, bB as h } from "../../chunks/index.js";
|
|
7
6
|
import "@arcgis/core/Graphic.js";
|
|
8
7
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
9
8
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -20,16 +19,16 @@ import "@arcgis/core/rest/support/Query.js";
|
|
|
20
19
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
21
20
|
import "@arcgis/core/time/TimeExtent.js";
|
|
22
21
|
import "@arcgis/core/core/promiseUtils.js";
|
|
23
|
-
import { b as c, h as
|
|
22
|
+
import { b as c, h as d } from "../../chunks/index3.js";
|
|
24
23
|
import "@arcgis/toolkit/dom";
|
|
25
|
-
import { LitElement as
|
|
24
|
+
import { LitElement as m } from "@arcgis/lumina";
|
|
26
25
|
import { css as g, html as i } from "lit";
|
|
27
26
|
import { C as s } from "../../chunks/interfaces.js";
|
|
28
27
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
28
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
30
|
-
v5.0.0-next.
|
|
29
|
+
v5.0.0-next.67 */
|
|
31
30
|
const f = g`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
32
|
-
class p extends
|
|
31
|
+
class p extends m {
|
|
33
32
|
constructor() {
|
|
34
33
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
35
34
|
const t = e?.detail.config ?? this.model.config;
|
|
@@ -64,7 +63,7 @@ class p extends d {
|
|
|
64
63
|
const a = e ?? this.model.config;
|
|
65
64
|
let t = this.layer;
|
|
66
65
|
if (!t) {
|
|
67
|
-
const o =
|
|
66
|
+
const o = d(a) ? a.iLayer : void 0;
|
|
68
67
|
o && (t = await n(o));
|
|
69
68
|
}
|
|
70
69
|
t && (this.layerFieldsInfo = await h(t, this.usePopupTemplateFieldsInfo));
|
|
@@ -2,10 +2,8 @@ import { c as k } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import { debounce as y } from "lodash-es";
|
|
5
|
-
import {
|
|
6
|
-
import { R as M } from "../../chunks/rest-js-object-literals.js";
|
|
5
|
+
import { f as p, R as M, dp as I, b7 as L, b5 as V } from "../../chunks/index.js";
|
|
7
6
|
import "d3-array";
|
|
8
|
-
import { cR as I, aA as L, ay as V } from "../../chunks/index.js";
|
|
9
7
|
import "@arcgis/core/Graphic.js";
|
|
10
8
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
9
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -24,16 +22,16 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
24
22
|
import "@arcgis/core/core/promiseUtils.js";
|
|
25
23
|
import "@arcgis/toolkit/dom";
|
|
26
24
|
import { r as T } from "../../chunks/popover-ui-utils.js";
|
|
27
|
-
import { H as m,
|
|
25
|
+
import { H as m, d as a, b as d } from "../../chunks/interfaces.js";
|
|
28
26
|
import { b as P, m as C, U as S, f as N, s as F, c as D, D as B } from "../../chunks/chart-ui-utils2.js";
|
|
29
27
|
import { d as _, s as H } from "../../chunks/store.js";
|
|
30
28
|
import { u as K } from "../../chunks/useT9n.js";
|
|
31
|
-
import { css as
|
|
29
|
+
import { css as z, html as r } from "lit";
|
|
32
30
|
import { createRef as b, ref as v } from "lit/directives/ref.js";
|
|
33
|
-
import { LitElement as
|
|
31
|
+
import { LitElement as A, createEvent as $, renderElement as U, safeStyleMap as O, safeClassMap as s } from "@arcgis/lumina";
|
|
34
32
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
35
33
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
36
|
-
v5.0.0-next.
|
|
34
|
+
v5.0.0-next.67 */
|
|
37
35
|
const o = {
|
|
38
36
|
label: "label",
|
|
39
37
|
row: "row",
|
|
@@ -42,8 +40,8 @@ const o = {
|
|
|
42
40
|
sectionLabel: "section-label",
|
|
43
41
|
binTextPadding: "bin-text-padding",
|
|
44
42
|
histogramStatsList: "histogram-stats-list"
|
|
45
|
-
},
|
|
46
|
-
class
|
|
43
|
+
}, j = z`.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;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}calcite-list-item{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor)}.label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.row{padding-top:1rem}.bin-count-container{display:flex;flex-wrap:wrap;padding:var(--arcgis-charts-config-margin-minor)}.bin-count-container>calcite-slider{flex-grow:10;min-width:50%}.bin-count-container>calcite-input{margin-bottom:.5rem;margin-top:var(--arcgis-charts-config-margin-minor);margin-left:var(--arcgis-charts-config-margin-minor);width:5rem}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.bin-text-padding{margin-left:var(--arcgis-charts-config-margin-minor)}.histogram-stats-list{pointer-events:none;margin-bottom:var(--arcgis-charts-config-margin-minor)}`;
|
|
44
|
+
class R extends A {
|
|
47
45
|
constructor() {
|
|
48
46
|
super(...arguments), this._messages = K(), this.numericalFieldSelectionElement = b(), this.transformationSelectionElement = b(), this.histogramPopover = null, this.binColorSectionElement = b(), this.binSliderElement = b(), this.binInputElement = b(), this.popoverHeading = "", this.onBinCountChange = y(() => {
|
|
49
47
|
const e = this.binInputElement.value?.value;
|
|
@@ -108,7 +106,7 @@ class j extends z {
|
|
|
108
106
|
this.properties = { binColorSelected: 16, selectedBinColorSymbol: 16, selectedOverlaySymbol: 16, selectedNumericalField: 16, selectedTransformationType: 16, selectedOverlaySymbolType: 1, messageOverrides: 0, model: 0, meanValue: 9, medianValue: 9, standardDevValue: 9, minValue: 9, maxValue: 9, sumValue: 9, nullsValue: 9, countValue: 9, layerFieldsInfo: 0, open: 5 };
|
|
109
107
|
}
|
|
110
108
|
static {
|
|
111
|
-
this.styles =
|
|
109
|
+
this.styles = j;
|
|
112
110
|
}
|
|
113
111
|
get selectedBinColorSymbol() {
|
|
114
112
|
return this._selectedBinColorSymbol;
|
|
@@ -336,7 +334,7 @@ class j extends z {
|
|
|
336
334
|
return r`<div class=${s(o.sectionLabel)}>${this._messages.variables}</div><calcite-label class=${s(o.label)}>${this._messages.number}${e}</calcite-label><calcite-label class=${s(o.label)}>${this._messages.withTransformation}${t}</calcite-label><div class=${s(o.sectionLabel)}>${this._messages.bins}</div><p class=${s(o.binTextPadding)}>${this._messages.numberOfBins}</p>${this.renderBinsSection()}${this.renderBinColorElement()}<div class=${s(o.sectionLabel)}>${this._messages.overlays}</div>${this.renderOverlayList()}${this.renderShowDataLabels()}<div class=${s(o.sectionLabel)}>${this._messages.statistics}</div>${this.renderStats()}`;
|
|
337
335
|
}
|
|
338
336
|
}
|
|
339
|
-
k("arcgis-charts-config-histogram-data",
|
|
337
|
+
k("arcgis-charts-config-histogram-data", R);
|
|
340
338
|
export {
|
|
341
|
-
|
|
339
|
+
R as ArcgisChartsConfigHistogramData
|
|
342
340
|
};
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { c as y } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as v, html as o } from "lit";
|
|
3
3
|
import { keyed as c } from "lit/directives/keyed.js";
|
|
4
|
-
import { b as s } from "../../chunks/
|
|
5
|
-
import { R as u } from "../../chunks/rest-js-object-literals.js";
|
|
4
|
+
import { cb as u, dp as b, f as s, R as C, aW as $ } from "../../chunks/index.js";
|
|
6
5
|
import "@arcgis/toolkit/intl";
|
|
7
6
|
import "lodash-es";
|
|
8
7
|
import "d3-array";
|
|
9
|
-
import { bE as b, cR as C, an as $ } from "../../chunks/index.js";
|
|
10
8
|
import "@arcgis/core/Graphic.js";
|
|
11
9
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
10
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -32,7 +30,7 @@ import { createRef as h, ref as d } from "lit/directives/ref.js";
|
|
|
32
30
|
import { LitElement as w, createEvent as p, safeClassMap as t } from "@arcgis/lumina";
|
|
33
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
34
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
35
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.67 */
|
|
36
34
|
const i = {
|
|
37
35
|
symbolPropertyPopover: "symbol-property-popover",
|
|
38
36
|
colorPicker: "color-picker",
|
|
@@ -67,7 +65,7 @@ class T extends w {
|
|
|
67
65
|
if (e === l.numericFields)
|
|
68
66
|
for (let r = 0; r < this.layerFieldsInfo?.length; r += 1) {
|
|
69
67
|
const a = this.layerFieldsInfo[r];
|
|
70
|
-
|
|
68
|
+
u(a) && n.push(c(a.name, o`<calcite-list-item .label=${b(this.layerFieldsInfo, a.name)} .value=${a.name} .selected=${this.selectedNumericField === a.name}></calcite-list-item>`));
|
|
71
69
|
}
|
|
72
70
|
else {
|
|
73
71
|
const r = [
|
|
@@ -91,7 +89,7 @@ class T extends w {
|
|
|
91
89
|
fillColorChange(e) {
|
|
92
90
|
const n = e.detail, [r, a, g] = n, f = $ * 255;
|
|
93
91
|
this.arcgisChartsConfigHistogramPopoverSymbolChange.emit({
|
|
94
|
-
type:
|
|
92
|
+
type: C.SFS,
|
|
95
93
|
color: [r, a, g, f]
|
|
96
94
|
});
|
|
97
95
|
}
|
|
@@ -4,7 +4,7 @@ import { c as a } from "../../chunks/chart-ui-utils2.js";
|
|
|
4
4
|
import { LitElement as e, safeClassMap as l } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.67 */
|
|
8
8
|
const n = {
|
|
9
9
|
invalidMessageColor: "invalid-message-color"
|
|
10
10
|
}, o = i`:host{display:block}.invalid-message-color{color:red}`;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { isEqual as o } from "lodash-es";
|
|
4
|
-
import "../../chunks/
|
|
4
|
+
import { g as n, c8 as c, cb as h, cc as d } from "../../chunks/index.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
-
import { g as n, bB as h, bE as c, bF as d } from "../../chunks/index.js";
|
|
7
6
|
import "@arcgis/core/Graphic.js";
|
|
8
7
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
9
8
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -27,7 +26,7 @@ import { css as p, html as a } from "lit";
|
|
|
27
26
|
import { C as r } from "../../chunks/interfaces.js";
|
|
28
27
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
28
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
30
|
-
v5.0.0-next.
|
|
29
|
+
v5.0.0-next.67 */
|
|
31
30
|
const u = p`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
32
31
|
class C extends g {
|
|
33
32
|
constructor() {
|
|
@@ -67,10 +66,10 @@ class C extends g {
|
|
|
67
66
|
const s = m(e) ? e.iLayer : void 0;
|
|
68
67
|
s && (i = await n(s));
|
|
69
68
|
}
|
|
70
|
-
i && (this.layerFieldsInfo = await
|
|
69
|
+
i && (this.layerFieldsInfo = await c(i, this.usePopupTemplateFieldsInfo));
|
|
71
70
|
}
|
|
72
71
|
render() {
|
|
73
|
-
const t = this.layerFieldsInfo?.find((s) => s.name === this.model.xAxisField), e = t !== void 0 && (
|
|
72
|
+
const t = this.layerFieldsInfo?.find((s) => s.name === this.model.xAxisField), e = t !== void 0 && (h(t) || d(t));
|
|
74
73
|
let i;
|
|
75
74
|
switch (this.page) {
|
|
76
75
|
case r.Data:
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { c as F } from "../../chunks/runtime.js";
|
|
2
2
|
import { keyed as x } from "lit/directives/keyed.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { css as B, html as o } from "lit";
|
|
3
|
+
import { e as c, ca as v, bV as I, bW as A, dp as u, a as f, n as C, dw as B, r as m } from "../../chunks/index.js";
|
|
4
|
+
import { LitElement as T, createEvent as g, renderElement as k, safeClassMap as s } from "@arcgis/lumina";
|
|
5
|
+
import { css as S, html as o } from "lit";
|
|
7
6
|
import { createRef as d, ref as h } from "lit/directives/ref.js";
|
|
8
|
-
import { u as
|
|
7
|
+
import { u as y } from "../../chunks/useT9n.js";
|
|
9
8
|
import { L as a } from "../../chunks/interfaces.js";
|
|
10
|
-
import { d as
|
|
9
|
+
import { d as E, s as b, r as L, g as w } from "../../chunks/store.js";
|
|
11
10
|
import "@arcgis/toolkit/intl";
|
|
12
|
-
import { isEqual as
|
|
11
|
+
import { isEqual as P } from "lodash-es";
|
|
13
12
|
import "d3-array";
|
|
14
|
-
import { bD as y, bm as L, bn as w, cR as b, cY as P } from "../../chunks/index.js";
|
|
15
13
|
import "@arcgis/core/Graphic.js";
|
|
16
14
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
17
15
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -33,8 +31,8 @@ import { r as _ } from "../../chunks/popover-ui-utils.js";
|
|
|
33
31
|
import { x as D } from "../../chunks/data.js";
|
|
34
32
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
35
33
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
36
|
-
v5.0.0-next.
|
|
37
|
-
const N =
|
|
34
|
+
v5.0.0-next.67 */
|
|
35
|
+
const N = S`.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;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:.5rem;justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:1.5rem;justify-content:center}.link-container{display:flex;justify-content:flex-end}`, n = {
|
|
38
36
|
label: "label",
|
|
39
37
|
fieldList: "field-list",
|
|
40
38
|
fab: "fab",
|
|
@@ -42,13 +40,13 @@ const N = B`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolu
|
|
|
42
40
|
linkContainer: "link-container",
|
|
43
41
|
dimText: "dim-text"
|
|
44
42
|
};
|
|
45
|
-
class U extends
|
|
43
|
+
class U extends T {
|
|
46
44
|
constructor() {
|
|
47
|
-
super(...arguments), this._messages =
|
|
45
|
+
super(...arguments), this._messages = y(), this.commonStrings = y({ name: "common", blocking: !0 }), this.lineChartPopover = null, this.aggregationElement = d(), this.xAxisFieldElement = d(), this.numericFieldsElement = d(), this.splitByFieldElement = d(), this.intervalAlignmentElement = d(), this.intervalElement = d(), this.onLineChartDataChange = (e) => {
|
|
48
46
|
try {
|
|
49
47
|
if (e.detail !== null && e.detail?.value !== void 0) {
|
|
50
48
|
const { contentKind: t } = e.detail, i = [...e.detail.value];
|
|
51
|
-
switch (
|
|
49
|
+
switch (E(b), t) {
|
|
52
50
|
case a.aggregation:
|
|
53
51
|
this.model.aggregationType = i[0] !== c.NoAggregation ? i[0] : c.NoAggregation;
|
|
54
52
|
break;
|
|
@@ -58,7 +56,7 @@ class U extends I {
|
|
|
58
56
|
break;
|
|
59
57
|
}
|
|
60
58
|
case a.numericFields:
|
|
61
|
-
this.model.numericFields = i, this.model.numericFields.length > 0 && this.model.aggregationType === c.Count && this.model.numericFields[0] !==
|
|
59
|
+
this.model.numericFields = i, this.model.numericFields.length > 0 && this.model.aggregationType === c.Count && this.model.numericFields[0] !== v(this.layerFieldsInfo) && (this.model.aggregationType = c.Sum);
|
|
62
60
|
break;
|
|
63
61
|
case a.splitByField: {
|
|
64
62
|
const l = i[0]?.trim() || "";
|
|
@@ -74,7 +72,7 @@ class U extends I {
|
|
|
74
72
|
default:
|
|
75
73
|
break;
|
|
76
74
|
}
|
|
77
|
-
t !== a.interval && t !== a.intervalAlignment &&
|
|
75
|
+
t !== a.interval && t !== a.intervalAlignment && L(b);
|
|
78
76
|
}
|
|
79
77
|
} catch (t) {
|
|
80
78
|
throw t instanceof Error && this.arcgisChartsConfigDataChangeError.emit({ error: t, model: this.model }), t;
|
|
@@ -96,9 +94,9 @@ class U extends I {
|
|
|
96
94
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
97
95
|
}
|
|
98
96
|
willUpdate(e) {
|
|
99
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel =
|
|
97
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel = I(this.model.aggregationType, this.commonStrings);
|
|
100
98
|
const t = this.model.timeAggregationType;
|
|
101
|
-
t !== void 0 && (this.timeAggregationLabel =
|
|
99
|
+
t !== void 0 && (this.timeAggregationLabel = A(t, this.commonStrings)), this.disableSplitBy = this.model.numericFields.length > 1;
|
|
102
100
|
}
|
|
103
101
|
disconnectedCallback() {
|
|
104
102
|
super.disconnectedCallback(), this.removeLineChartDataPopover(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -107,7 +105,7 @@ class U extends I {
|
|
|
107
105
|
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
108
106
|
}
|
|
109
107
|
buildNumericFieldItem(e) {
|
|
110
|
-
return x(e, o`<calcite-list-item .label=${
|
|
108
|
+
return x(e, o`<calcite-list-item .label=${u(this.layerFieldsInfo, e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`);
|
|
111
109
|
}
|
|
112
110
|
resetTimeIntervalOriginal(e) {
|
|
113
111
|
this.popoverClose(e), this.model.resetTimeInterval !== void 0 && (this.model.resetTimeInterval(), this.arcgisChartsConfigResetTimeInterval.emit());
|
|
@@ -135,13 +133,13 @@ class U extends I {
|
|
|
135
133
|
this.intervalElement.value && !this.intervalElement.value.disabled && (this.contentKind = a.interval, this.setupPopover(e));
|
|
136
134
|
}
|
|
137
135
|
getCorrectedSplitByValue() {
|
|
138
|
-
return this.model.splitByField === "" || this.model.numericFields.length > 1 ? "" :
|
|
136
|
+
return this.model.splitByField === "" || this.model.numericFields.length > 1 ? "" : u(this.layerFieldsInfo, this.model.splitByField);
|
|
139
137
|
}
|
|
140
138
|
getCorrectedXAxisValue() {
|
|
141
139
|
return D({
|
|
142
140
|
fieldName: this.model.xAxisField,
|
|
143
141
|
fieldList: this.layerFieldsInfo
|
|
144
|
-
}) ? "" :
|
|
142
|
+
}) ? "" : u(this.layerFieldsInfo, this.model.xAxisField);
|
|
145
143
|
}
|
|
146
144
|
onShowDataLabelsChange(e) {
|
|
147
145
|
this.model.dataLabelsVisibility = e.target.checked;
|
|
@@ -153,14 +151,14 @@ class U extends I {
|
|
|
153
151
|
this.model.nullPolicy = e.target.selectedItem.value;
|
|
154
152
|
}
|
|
155
153
|
shouldShowTimeBinning() {
|
|
156
|
-
const e = this.layerFieldsInfo.find((l) => l.name === this.model.xAxisField), t = e?.type ===
|
|
154
|
+
const e = this.layerFieldsInfo.find((l) => l.name === this.model.xAxisField), t = e?.type === f.Date || e?.type === f.DateOnly || e?.type === f.TimestampOffset, i = this.model.aggregationType !== c.NoAggregation;
|
|
157
155
|
return t && i;
|
|
158
156
|
}
|
|
159
157
|
setupPopover(e) {
|
|
160
158
|
e.stopImmediatePropagation(), this.removeLineChartDataPopover();
|
|
161
159
|
const t = {
|
|
162
160
|
size: this.model.temporalBinningSize ?? 1,
|
|
163
|
-
unit: this.model.temporalBinningUnit ??
|
|
161
|
+
unit: this.model.temporalBinningUnit ?? C.Second
|
|
164
162
|
};
|
|
165
163
|
let i, l, r;
|
|
166
164
|
switch (this.contentKind) {
|
|
@@ -183,7 +181,7 @@ class U extends I {
|
|
|
183
181
|
i = this.intervalAlignmentElement.value, l = this._messages.intervalAlignment, r = this.model.timeAggregationType ?? "";
|
|
184
182
|
break;
|
|
185
183
|
}
|
|
186
|
-
this.lineChartPopover =
|
|
184
|
+
this.lineChartPopover = k(o`<arcgis-charts-config-line-chart-popover .headingTitle=${l} .referenceElement=${i} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${r} @arcgisChartsConfigLineChartDataPopoverChange=${this.onLineChartDataChange} @arcgisChartsConfigLineChartPopoverClose=${this.popoverClose}></arcgis-charts-config-line-chart-popover>`), !document.body.contains(this.lineChartPopover) && this.lineChartPopover !== null && document.body.appendChild(this.lineChartPopover);
|
|
187
185
|
}
|
|
188
186
|
removeLineChartDataPopover() {
|
|
189
187
|
this.lineChartPopover !== null && (this.lineChartPopover.open = !1, this.lineChartPopover = _(this.lineChartPopover));
|
|
@@ -200,16 +198,16 @@ class U extends I {
|
|
|
200
198
|
return o`<arcgis-charts-config-field-select .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${h(this.splitByFieldElement)}></arcgis-charts-config-field-select>`;
|
|
201
199
|
}
|
|
202
200
|
renderNumericFields(e) {
|
|
203
|
-
const t =
|
|
201
|
+
const t = v(this.layerFieldsInfo), i = [];
|
|
204
202
|
for (const l of e)
|
|
205
203
|
l !== t && i.push(this.buildNumericFieldItem(l));
|
|
206
204
|
return o`<calcite-list label class=${s(n.fieldList)} ${h(this.numericFieldsElement)}>${i}</calcite-list>`;
|
|
207
205
|
}
|
|
208
206
|
renderInterval() {
|
|
209
|
-
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i =
|
|
207
|
+
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i = B(this.model.temporalBinningUnit ?? C.Second, this._messages) ?? "", l = w(b), r = {
|
|
210
208
|
size: this.model.temporalBinningSize,
|
|
211
209
|
unit: this.model.temporalBinningUnit
|
|
212
|
-
}, p =
|
|
210
|
+
}, p = P(r, l);
|
|
213
211
|
return [
|
|
214
212
|
o`<calcite-list label selection-appearance=border><calcite-list-item .value=${e ? "" : `${t} ${i}`} .label=${e ? "" : `${t} ${i}`} @click=${e ? () => {
|
|
215
213
|
} : this.onIntervalSelect} ${h(this.intervalElement)}><calcite-icon slot=content-end icon=pencil></calcite-icon></calcite-list-item></calcite-list>`,
|