@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
|
@@ -2,12 +2,10 @@ import { c as k } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { keyed as p } from "lit/directives/keyed.js";
|
|
3
3
|
import { repeat as v } from "lit/directives/repeat.js";
|
|
4
4
|
import { B as r } from "../../chunks/common.js";
|
|
5
|
-
import "../../chunks/
|
|
6
|
-
import { a as u } from "../../chunks/rest-js-object-literals.js";
|
|
5
|
+
import { dp as y, cd as f, a as g, cb as $, dd as x } from "../../chunks/index.js";
|
|
7
6
|
import "@arcgis/toolkit/intl";
|
|
8
7
|
import "lodash-es";
|
|
9
8
|
import "d3-array";
|
|
10
|
-
import { cR as y, bG as g, bE as $, cG as x } from "../../chunks/index.js";
|
|
11
9
|
import "@arcgis/core/Graphic.js";
|
|
12
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -26,14 +24,14 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
26
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
27
25
|
import { e as L, p as P } from "../../chunks/popover-ui-utils.js";
|
|
28
26
|
import { a as l } from "../../chunks/interfaces.js";
|
|
29
|
-
import { U as h, e as I, i as
|
|
27
|
+
import { U as h, e as I, i as u, d as D } from "../../chunks/chart-ui-utils2.js";
|
|
30
28
|
import { u as S } from "../../chunks/useT9n.js";
|
|
31
29
|
import { css as w, html as n } from "lit";
|
|
32
30
|
import { createRef as b, ref as m } from "lit/directives/ref.js";
|
|
33
31
|
import { LitElement as T, createEvent as C, renderElement as E, safeStyleMap as B, safeClassMap as d } 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
|
jsAppFlyout: "js-app-flyout",
|
|
39
37
|
name: "bar-chart-data-popover",
|
|
@@ -92,7 +90,7 @@ class N extends T {
|
|
|
92
90
|
}), this.open = !1;
|
|
93
91
|
}
|
|
94
92
|
buildPickListItem(e) {
|
|
95
|
-
return p(e.name, n`<calcite-list-item .label=${y(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${
|
|
93
|
+
return p(e.name, n`<calcite-list-item .label=${y(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${u(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
96
94
|
}
|
|
97
95
|
buildPickListItems(e) {
|
|
98
96
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
@@ -105,20 +103,20 @@ class N extends T {
|
|
|
105
103
|
break;
|
|
106
104
|
}
|
|
107
105
|
case l.category: {
|
|
108
|
-
const s = p(" ", n`<calcite-list-item label=" " value=" " .selected=${
|
|
106
|
+
const s = p(" ", n`<calcite-list-item label=" " value=" " .selected=${u("", this.selectedContent)}></calcite-list-item>`);
|
|
109
107
|
i.push(s);
|
|
110
108
|
for (let a = 0; a < t; a += 1) {
|
|
111
109
|
const c = this.layerFieldsInfo[a];
|
|
112
|
-
(
|
|
110
|
+
(f(c) || c.type === g.String) && i.push(this.buildPickListItem(c));
|
|
113
111
|
}
|
|
114
112
|
break;
|
|
115
113
|
}
|
|
116
114
|
case l.splitByField: {
|
|
117
|
-
const s = p(" ", n`<calcite-list-item label=" " value=" " .selected=${
|
|
115
|
+
const s = p(" ", n`<calcite-list-item label=" " value=" " .selected=${u("", this.selectedContent)}></calcite-list-item>`);
|
|
118
116
|
i.push(s);
|
|
119
117
|
for (let a = 0; a < t; a += 1) {
|
|
120
118
|
const c = this.layerFieldsInfo[a];
|
|
121
|
-
(
|
|
119
|
+
(f(c) || c.type === g.String) && i.push(this.buildPickListItem(c));
|
|
122
120
|
}
|
|
123
121
|
break;
|
|
124
122
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as b } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as P, html as n } from "lit";
|
|
3
3
|
import { keyed as y } from "lit/directives/keyed.js";
|
|
4
4
|
import "@arcgis/toolkit/intl";
|
|
5
5
|
import "lodash-es";
|
|
6
|
-
import {
|
|
6
|
+
import { k as d, dI as S } from "../../chunks/index.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import { d8 as S } from "../../chunks/index.js";
|
|
9
8
|
import "@arcgis/core/Graphic.js";
|
|
10
9
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
10
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -30,7 +29,7 @@ import { LitElement as O, renderElement as h, safeStyleMap as m, safeClassMap as
|
|
|
30
29
|
import { d as w } from "../../chunks/chart-ui-utils2.js";
|
|
31
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.67 */
|
|
34
33
|
const l = {
|
|
35
34
|
topSection: "top-section",
|
|
36
35
|
sectionLabel: "section-label",
|
|
@@ -127,8 +126,8 @@ class N extends O {
|
|
|
127
126
|
let g = "#CCCCCC", C = "minus-square";
|
|
128
127
|
if ((e > 1 || !this.activeColorMatch) && c !== void 0) {
|
|
129
128
|
C = this.model.showMeanLines === !0 ? "line-solid" : "square-f";
|
|
130
|
-
const [x, $, L,
|
|
131
|
-
g = `rgba(${x},${$},${L},${
|
|
129
|
+
const [x, $, L, I] = [...c];
|
|
130
|
+
g = `rgba(${x},${$},${L},${I / 255})`;
|
|
132
131
|
}
|
|
133
132
|
return i !== s ? n`<calcite-list-item .label=${v ?? o ?? ""} .description=${u} .value=${o} .selected=${this.selectedSeriesIndex === s} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${C} style=${m({ color: g })}></calcite-icon></calcite-list-item>` : null;
|
|
134
133
|
});
|
|
@@ -164,7 +163,7 @@ class N extends O {
|
|
|
164
163
|
return n`${this.renderMultipleSeriesOption()}<div class=${a(l.sectionLabel)}>${this._messages.series}<calcite-button @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.buildSeriesList()}`;
|
|
165
164
|
}
|
|
166
165
|
}
|
|
167
|
-
|
|
166
|
+
b("arcgis-charts-config-box-plot-series", N);
|
|
168
167
|
export {
|
|
169
168
|
N as ArcgisChartsConfigBoxPlotSeries
|
|
170
169
|
};
|
|
@@ -2,10 +2,8 @@ import { c as g } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { css as C, html as n } from "lit";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import { isEqual as f } from "lodash-es";
|
|
5
|
-
import "../../chunks/
|
|
6
|
-
import { R as v } from "../../chunks/rest-js-object-literals.js";
|
|
5
|
+
import { R as v, aW as d } from "../../chunks/index.js";
|
|
7
6
|
import "d3-array";
|
|
8
|
-
import { an as d } 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";
|
|
@@ -30,7 +28,7 @@ import { createRef as S, ref as x } from "lit/directives/ref.js";
|
|
|
30
28
|
import { LitElement as $, createEvent as a, safeClassMap as l } 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
|
panelChildrenContainer: "panel-children-container"
|
|
@@ -6,7 +6,7 @@ import { createRef as d, ref as g } from "lit/directives/ref.js";
|
|
|
6
6
|
import { LitElement as f, createEvent as b, safeClassMap as a } from "@arcgis/lumina";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
9
|
+
v5.0.0-next.67 */
|
|
10
10
|
const e = {
|
|
11
11
|
container: "container",
|
|
12
12
|
label: "label",
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { isEmpty as c } from "lodash-es";
|
|
4
|
-
import "../../chunks/series-types.js";
|
|
5
|
-
import "d3-array";
|
|
6
4
|
import "../../chunks/index.js";
|
|
5
|
+
import "d3-array";
|
|
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";
|
|
@@ -29,7 +28,7 @@ import { createRef as o, ref as s } from "lit/directives/ref.js";
|
|
|
29
28
|
import { LitElement as u, createEvent as r, safeClassMap as a } from "@arcgis/lumina";
|
|
30
29
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
30
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
31
|
+
v5.0.0-next.67 */
|
|
33
32
|
const e = {
|
|
34
33
|
jsAppFlyout: "js-app-flyout",
|
|
35
34
|
chartRenameComponent: "chart-rename-component",
|
|
@@ -4,7 +4,7 @@ import { u as i } from "../../chunks/useT9n.js";
|
|
|
4
4
|
import { LitElement as l, createEvent as t, safeClassMap as r } 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
|
colorStyleContainer: "color-style-container"
|
|
10
10
|
}, c = a`.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{overflow-y:auto;width:min-content}:host calcite-panel .color-style-container{display:flex;padding:0 1rem;margin-top:1rem}:host calcite-panel .color-style-container calcite-label{flex:1 1 0px;display:flex;width:0px}.color-styling-panel>.panel-body{padding:var(--arcgis-charts-panel-padding);margin-top:var(--arcgis-charts-inter-section-margin)}`;
|
|
@@ -5,7 +5,7 @@ import { u as h } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { LitElement as m, createEvent as n } from "@arcgis/lumina";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
8
|
+
v5.0.0-next.67 */
|
|
9
9
|
const u = "arcgis-charts-config-storage-colors", v = l`:host{--calcite-color-border-1: transparent}.color-header{margin-bottom:.5rem}`;
|
|
10
10
|
class b extends m {
|
|
11
11
|
constructor() {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { c as N } from "../../chunks/runtime.js";
|
|
2
2
|
import { repeat as V } from "lit/directives/repeat.js";
|
|
3
3
|
import { keyed as $ } from "lit/directives/keyed.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c as U } from "../../chunks/setup-utils.js";
|
|
5
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
7
|
import { isEqual as w } from "lodash-es";
|
|
8
|
-
import {
|
|
9
|
-
import { X as D, d6 as k, cU as E, dd as R, ad as W } from "../../chunks/index.js";
|
|
8
|
+
import { au as D, dG as k, ds as E, d as o, n as O, dQ as R, aM as W } from "../../chunks/index.js";
|
|
10
9
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
10
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
12
11
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -16,7 +15,7 @@ import "@arcgis/core/Graphic.js";
|
|
|
16
15
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
17
16
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
18
17
|
import "d3-array";
|
|
19
|
-
import { substitute as
|
|
18
|
+
import { substitute as G } from "@arcgis/core/intl.js";
|
|
20
19
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
21
20
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
22
21
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
@@ -27,19 +26,19 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
27
26
|
import "@arcgis/toolkit/dom";
|
|
28
27
|
import { C as f } from "../../chunks/index4.js";
|
|
29
28
|
import { a as L } from "../../chunks/chart-ui-utils.js";
|
|
30
|
-
import { r as
|
|
29
|
+
import { r as H } from "../../chunks/popover-ui-utils.js";
|
|
31
30
|
import { C as l } from "../../chunks/interfaces.js";
|
|
32
|
-
import { LitElement as
|
|
31
|
+
import { LitElement as X, createEvent as y, renderElement as I, safeStyleMap as Z, safeClassMap as d } from "@arcgis/lumina";
|
|
33
32
|
import { css as j, html as h } from "lit";
|
|
34
33
|
import { createRef as K, ref as q } from "lit/directives/ref.js";
|
|
35
34
|
import { u as P } from "../../chunks/useT9n.js";
|
|
36
|
-
import { a as
|
|
35
|
+
import { a as Q, s as x, b as Y } from "../../chunks/store.js";
|
|
37
36
|
import { h as J, a as M, s as ee } from "../../chunks/web-component-utils.js";
|
|
38
37
|
import { A as te } from "../../chunks/axis-model-wrapper.js";
|
|
39
38
|
import { d as ae } from "../../chunks/chart-ui-utils2.js";
|
|
40
39
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
41
40
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
42
|
-
v5.0.0-next.
|
|
41
|
+
v5.0.0-next.67 */
|
|
43
42
|
const m = {
|
|
44
43
|
chartUIComponent: "chart-ui-component",
|
|
45
44
|
tabBar: "tab-bar",
|
|
@@ -97,7 +96,7 @@ function le(p, e) {
|
|
|
97
96
|
}
|
|
98
97
|
}
|
|
99
98
|
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
|
|
99
|
+
class ce extends X {
|
|
101
100
|
constructor() {
|
|
102
101
|
super(), this.selectChartTypePopover = null, this.chartsListFlowItem = K(), this.supportedChartTypes = [
|
|
103
102
|
o.BarSeries,
|
|
@@ -126,7 +125,7 @@ class ce extends G {
|
|
|
126
125
|
case o.LineSeries:
|
|
127
126
|
case o.BarSeries: {
|
|
128
127
|
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 &&
|
|
128
|
+
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
129
|
const g = s.xAxisField, u = n.some((A) => A[g] === null), C = s.nullCategory;
|
|
131
130
|
u && C === void 0 && (s.nullCategory = R.nullCategory);
|
|
132
131
|
}
|
|
@@ -295,7 +294,7 @@ class ce extends G {
|
|
|
295
294
|
e?.forEach((a) => {
|
|
296
295
|
const { isXAxis: t, maximum: i, minimum: s } = a, r = this.getModel(this.selectedChartId);
|
|
297
296
|
if (r !== void 0 && T(r) && this.selectedChartId !== void 0) {
|
|
298
|
-
const n = new te(r, t), c =
|
|
297
|
+
const n = new te(r, t), c = Y({
|
|
299
298
|
chartId: this.selectedChartId,
|
|
300
299
|
isXAxis: t,
|
|
301
300
|
isLogarithmic: n.getLogarithmic()
|
|
@@ -330,7 +329,7 @@ class ce extends G {
|
|
|
330
329
|
return this.modelList?.find((a) => a.chartId === e);
|
|
331
330
|
}
|
|
332
331
|
removeSelectChartTypePopover() {
|
|
333
|
-
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover =
|
|
332
|
+
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover = H(this.selectChartTypePopover));
|
|
334
333
|
}
|
|
335
334
|
clearPartialModels() {
|
|
336
335
|
this.modelList = this.modelList.filter((e) => !D(e.config));
|
|
@@ -407,7 +406,7 @@ class ce extends G {
|
|
|
407
406
|
}
|
|
408
407
|
renderTabs() {
|
|
409
408
|
const e = this.getModel(this.selectedChartId);
|
|
410
|
-
return $("chart-edit", h`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? l.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ?
|
|
409
|
+
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 ? G(this._messages.pageFlowTitle, {
|
|
411
410
|
chartName: e?.titleText ?? this.currentChartTypeText,
|
|
412
411
|
layerName: e?.layer?.title ?? ""
|
|
413
412
|
}) : ""}>${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=${() => {
|
|
@@ -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.67 */
|
|
7
7
|
const e = {
|
|
8
8
|
fieldSelectButtonSection: "field-select-btn-section",
|
|
9
9
|
fieldSelectButton: "field-select-btn",
|
|
@@ -2,10 +2,8 @@ import { c as d } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { css as y, html as l } from "lit";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import { merge as i } from "lodash-es";
|
|
5
|
-
import "../../chunks/
|
|
6
|
-
import { R as u, h as s, g as c, i as r } from "../../chunks/rest-js-object-literals.js";
|
|
5
|
+
import { R as u, D as s, C as c, E as r, b9 as S } from "../../chunks/index.js";
|
|
7
6
|
import "d3-array";
|
|
8
|
-
import { aC as S } 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";
|
|
@@ -23,14 +21,14 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
23
21
|
import "@arcgis/core/time/TimeExtent.js";
|
|
24
22
|
import "@arcgis/core/core/promiseUtils.js";
|
|
25
23
|
import "@arcgis/toolkit/dom";
|
|
26
|
-
import { b as g, m, s as b, c as
|
|
24
|
+
import { b as g, m, s as b, c as h } from "../../chunks/chart-ui-utils2.js";
|
|
27
25
|
import { u as v } from "../../chunks/useT9n.js";
|
|
28
26
|
import { createRef as C, ref as x } from "lit/directives/ref.js";
|
|
29
|
-
import { LitElement as $, createEvent as
|
|
27
|
+
import { LitElement as $, createEvent as p, safeClassMap as n } from "@arcgis/lumina";
|
|
30
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
33
|
-
const
|
|
30
|
+
v5.0.0-next.67 */
|
|
31
|
+
const E = {
|
|
34
32
|
arial: "Arial",
|
|
35
33
|
arialBlack: "Arial Black",
|
|
36
34
|
bookman: "Bookman",
|
|
@@ -50,18 +48,18 @@ const w = {
|
|
|
50
48
|
font: "font",
|
|
51
49
|
numberInput: "number-input",
|
|
52
50
|
inputLabel: "input-label"
|
|
53
|
-
},
|
|
51
|
+
}, w = y`.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{overflow-y:auto}:host calcite-panel .font-style-container{display:flex;padding:0 1rem}:host calcite-panel .font-style-container .input-label{--calcite-label-margin-bottom: var(--arcgis-charts-intra-section-margin) !important}:host calcite-panel .font-style-container .number-input{margin-bottom:.5rem;display:flex}:host calcite-panel .font-style-container .number-input>div{width:100%}:host calcite-panel .font-style-container calcite-action,:host calcite-panel .font-style-container calcite-label{flex:1 1 0px;display:flex;flex-grow:inherit;width:80px}:host calcite-panel .font-style-container calcite-label{flex-grow:2}:host calcite-panel calcite-label.font{display:block;margin-top:1rem}`;
|
|
54
52
|
class I extends $ {
|
|
55
53
|
constructor() {
|
|
56
54
|
super(...arguments), this._messages = v(), this.fontSizeInputElement = C(), this.fontStyle = {
|
|
57
55
|
type: u.TS
|
|
58
|
-
}, this.arcgisChartsConfigFontStyleChange =
|
|
56
|
+
}, this.arcgisChartsConfigFontStyleChange = p(), this.arcgisChartsConfigFontStyleClose = p();
|
|
59
57
|
}
|
|
60
58
|
static {
|
|
61
59
|
this.properties = { messageOverrides: 0, fontStyle: 0, header: 1, open: 5, enableClose: 5 };
|
|
62
60
|
}
|
|
63
61
|
static {
|
|
64
|
-
this.styles =
|
|
62
|
+
this.styles = w;
|
|
65
63
|
}
|
|
66
64
|
closePanel(t) {
|
|
67
65
|
t.target.closed && this.enableClose === !0 && (this.open = !1, this.arcgisChartsConfigFontStyleClose.emit());
|
|
@@ -83,11 +81,11 @@ class I extends $ {
|
|
|
83
81
|
};
|
|
84
82
|
this.isNewFontProperty("size", e) && (this.fontStyle = i(this.fontStyle, { font: e }), this.emitFontStyleEvent({ font: e })), this.fontSizeInputElement.value && m({
|
|
85
83
|
inputElement: this.fontSizeInputElement.value,
|
|
86
|
-
status:
|
|
84
|
+
status: h.IDLE
|
|
87
85
|
});
|
|
88
86
|
} else this.fontSizeInputElement.value && m({
|
|
89
87
|
inputElement: this.fontSizeInputElement.value,
|
|
90
|
-
status:
|
|
88
|
+
status: h.INVALID
|
|
91
89
|
});
|
|
92
90
|
}
|
|
93
91
|
boldSelect() {
|
|
@@ -119,7 +117,7 @@ class I extends $ {
|
|
|
119
117
|
return this.fontStyle?.font?.[t] !== e[t];
|
|
120
118
|
}
|
|
121
119
|
renderFonts() {
|
|
122
|
-
const t = Object.values(
|
|
120
|
+
const t = Object.values(E).map((e) => l`<calcite-option .value=${e} .selected=${e === this.fontStyle?.font?.family || e === S().font?.family?.split(",")[0] && this.fontStyle?.font?.family === void 0}>${e}</calcite-option>`);
|
|
123
121
|
return this.fontStyle?.font?.family === "" && t.push(l`<calcite-option value selected></calcite-option>`), t;
|
|
124
122
|
}
|
|
125
123
|
render() {
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { c as A } from "../../chunks/runtime.js";
|
|
2
2
|
import { ref as $ } from "lit/directives/ref.js";
|
|
3
|
-
import { C as B, F as i, L as
|
|
3
|
+
import { C as B, F as i, L as m } from "../../chunks/common.js";
|
|
4
4
|
import { d as T, j as h, h as n, l as E, p, m as L, f as M } from "../../chunks/type-guards.js";
|
|
5
|
-
import {
|
|
6
|
-
import { c as V, R as f, h as w, g as N, i as D } from "../../chunks/rest-js-object-literals.js";
|
|
5
|
+
import { c as V, R as f, D as w, C as N, E as D, d } from "../../chunks/index.js";
|
|
7
6
|
import "@arcgis/toolkit/intl";
|
|
8
|
-
import { isEmpty as u, cloneDeep as r, isArray as v, isObject as k, mergeWith as
|
|
7
|
+
import { isEmpty as u, cloneDeep as r, isArray as v, isObject as k, mergeWith as G } from "lodash-es";
|
|
9
8
|
import "d3-array";
|
|
10
|
-
import "../../chunks/index.js";
|
|
11
9
|
import "@arcgis/core/Graphic.js";
|
|
12
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -27,13 +25,13 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
27
25
|
import { c as x, e as l } from "../../chunks/index3.js";
|
|
28
26
|
import "@arcgis/toolkit/dom";
|
|
29
27
|
import { r as F } from "../../chunks/popover-ui-utils.js";
|
|
30
|
-
import { l as
|
|
28
|
+
import { l as W } from "../../chunks/chart-ui-utils2.js";
|
|
31
29
|
import { u as R } from "../../chunks/useT9n.js";
|
|
32
30
|
import { css as j, html as S } from "lit";
|
|
33
31
|
import { LitElement as I, renderElement as O, safeClassMap as g } 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 P = {
|
|
38
36
|
type: f.TS,
|
|
39
37
|
color: [1, 1, 1, 255],
|
|
@@ -74,8 +72,8 @@ class _ extends I {
|
|
|
74
72
|
if (e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedBackground = [], e.shiftKey) {
|
|
75
73
|
this.selectedTexts = [];
|
|
76
74
|
const o = this.textProperties.indexOf(this.lastSelectedText ?? s), a = this.textProperties.indexOf(s);
|
|
77
|
-
this.textProperties.forEach((
|
|
78
|
-
y >= Math.min(o, a) && y <= Math.max(o, a) && this.selectedTexts.push(
|
|
75
|
+
this.textProperties.forEach((c, y) => {
|
|
76
|
+
y >= Math.min(o, a) && y <= Math.max(o, a) && this.selectedTexts.push(c);
|
|
79
77
|
}), this.updateSelectedElement(this.selectedTexts), this.setupFormatPopover();
|
|
80
78
|
} else if (e.ctrlKey)
|
|
81
79
|
this.selectedTexts.includes(s) ? (this.selectedTexts = this.selectedTexts.filter((o) => o !== s), this.updateSelectedElement(this.selectedTexts)) : (this.selectedTexts = [...this.selectedTexts, s], this.updateSelectedElement(this.selectedTexts)), this.setupFormatPopover();
|
|
@@ -101,12 +99,12 @@ class _ extends I {
|
|
|
101
99
|
}, this.updateTextProps = (t) => {
|
|
102
100
|
const { font: e, color: s } = t.detail;
|
|
103
101
|
this.selectedTexts.forEach((o) => {
|
|
104
|
-
const a = this.getFormatValue(o),
|
|
102
|
+
const a = this.getFormatValue(o), c = l(a) ? a : void 0;
|
|
105
103
|
this.setFormatValue(o, {
|
|
106
|
-
...
|
|
104
|
+
...c,
|
|
107
105
|
type: f.TS,
|
|
108
|
-
font: { ...
|
|
109
|
-
color: s ??
|
|
106
|
+
font: { ...c?.font, ...e },
|
|
107
|
+
color: s ?? c?.color
|
|
110
108
|
});
|
|
111
109
|
}), this.selectedElement = r(t.target.selectedElement);
|
|
112
110
|
}, this.onModelConfigChange = () => {
|
|
@@ -150,8 +148,8 @@ class _ extends I {
|
|
|
150
148
|
if (this.selectedElement = void 0, e === void 0) {
|
|
151
149
|
const s = r(this.getFormatValue(t[0]));
|
|
152
150
|
this.selectedElement = t?.reduce((o, a) => {
|
|
153
|
-
const
|
|
154
|
-
return
|
|
151
|
+
const c = this.getFormatValue(a);
|
|
152
|
+
return G(o, c, this.mergeFormatValues);
|
|
155
153
|
}, s);
|
|
156
154
|
} else {
|
|
157
155
|
let s = r(e);
|
|
@@ -195,11 +193,11 @@ class _ extends I {
|
|
|
195
193
|
return p(this.model) ? this.model.legendTitleSymbol : void 0;
|
|
196
194
|
case i.DataLabels:
|
|
197
195
|
return E(this.model) ? this.model.dataLabelsSymbol : void 0;
|
|
198
|
-
case
|
|
196
|
+
case m.AxisLines:
|
|
199
197
|
return n(this.model) ? this.model.axisLinesSymbol : void 0;
|
|
200
|
-
case
|
|
198
|
+
case m.GridLines:
|
|
201
199
|
return h(this.model) ? this.model.getGridLinesSymbol() : void 0;
|
|
202
|
-
case
|
|
200
|
+
case m.LeaderLines:
|
|
203
201
|
return T(this.model) ? this.model.ticksSymbol : void 0;
|
|
204
202
|
case i.Background:
|
|
205
203
|
return this.model.backgroundColor;
|
|
@@ -236,10 +234,10 @@ class _ extends I {
|
|
|
236
234
|
case i.DataLabels:
|
|
237
235
|
E(this.model) && l(e) && (this.model.dataLabelsSymbol = e);
|
|
238
236
|
break;
|
|
239
|
-
case
|
|
237
|
+
case m.AxisLines:
|
|
240
238
|
n(this.model) && x(e) && (this.model.axisLinesSymbol = e);
|
|
241
239
|
break;
|
|
242
|
-
case
|
|
240
|
+
case m.GridLines:
|
|
243
241
|
if (h(this.model) && x(e)) {
|
|
244
242
|
const s = this.model.chartType;
|
|
245
243
|
let o = [];
|
|
@@ -263,7 +261,7 @@ class _ extends I {
|
|
|
263
261
|
this.model.setGridLinesSymbol(e, o);
|
|
264
262
|
}
|
|
265
263
|
break;
|
|
266
|
-
case
|
|
264
|
+
case m.LeaderLines:
|
|
267
265
|
T(this.model) && x(e) && (this.model.ticksSymbol = e);
|
|
268
266
|
break;
|
|
269
267
|
case i.Background:
|
|
@@ -284,16 +282,16 @@ class _ extends I {
|
|
|
284
282
|
...E(this.model) ? [i.DataLabels] : []
|
|
285
283
|
], M(this.model) && (this.textProperties = this.textProperties.filter((s) => s !== i.DataLabels)), this.symbolProperties = [
|
|
286
284
|
i.Background,
|
|
287
|
-
...n(this.model) ? [
|
|
288
|
-
...h(this.model) ? [
|
|
289
|
-
...T(this.model) ? [
|
|
285
|
+
...n(this.model) ? [m.AxisLines] : [],
|
|
286
|
+
...h(this.model) ? [m.GridLines] : [],
|
|
287
|
+
...T(this.model) ? [m.LeaderLines] : []
|
|
290
288
|
];
|
|
291
289
|
const t = this.textProperties.map((s) => this.renderTextElement(s, this.textPropertyChange)), e = this.symbolProperties.map((s) => s === i.Background ? this.renderTextElement(s, this.backgroundChange) : this.renderTextElement(s, this.symbolPropertyChange));
|
|
292
290
|
return { textElements: t, symbolElements: e };
|
|
293
291
|
}
|
|
294
292
|
renderTextElement(t, e) {
|
|
295
|
-
const s =
|
|
296
|
-
return S`<calcite-list-item class=${g(b.element)} .label=${this._messages[t]} .description=${a} .value=${t} .selected=${
|
|
293
|
+
const s = W(t), o = this.getFormatValue(t), a = typeof o == "string" ? o : "", c = this.selectedTexts.includes(t) || this.selectedSymbols.includes(t) || this.selectedBackground.includes(t);
|
|
294
|
+
return S`<calcite-list-item class=${g(b.element)} .label=${this._messages[t]} .description=${a} .value=${t} .selected=${c} @click=${e} ${$(this.updateSelectableElements)}>${s !== void 0 ? S`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>` : null}</calcite-list-item>`;
|
|
297
295
|
}
|
|
298
296
|
render() {
|
|
299
297
|
const { textElements: t, symbolElements: e } = this.renderFormatElements();
|
|
@@ -2,10 +2,8 @@ import { c as i } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { css as a, html as o } from "lit";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import "lodash-es";
|
|
5
|
-
import "../../chunks/
|
|
6
|
-
import { R as r } from "../../chunks/rest-js-object-literals.js";
|
|
5
|
+
import { R as r } from "../../chunks/index.js";
|
|
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";
|
|
@@ -29,7 +27,7 @@ import { createRef as p, ref as c } from "lit/directives/ref.js";
|
|
|
29
27
|
import { LitElement as m, createEvent as s, safeClassMap as h } from "@arcgis/lumina";
|
|
30
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
30
|
+
v5.0.0-next.67 */
|
|
33
31
|
const g = {
|
|
34
32
|
jsAppFlyout: "js-app-flyout"
|
|
35
33
|
}, C = a``;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { c as g } from "../../chunks/runtime.js";
|
|
2
2
|
import { h as n, j as c, g as h, p as r } from "../../chunks/type-guards.js";
|
|
3
|
-
import {
|
|
4
|
-
import { isEmpty as
|
|
5
|
-
import { m as
|
|
6
|
-
import { u
|
|
7
|
-
import { css as
|
|
8
|
-
import { createRef as
|
|
9
|
-
import { LitElement as
|
|
3
|
+
import { au as p, i as l } from "../../chunks/index.js";
|
|
4
|
+
import { isEmpty as b } from "lodash-es";
|
|
5
|
+
import { m as x, c as m } from "../../chunks/chart-ui-utils2.js";
|
|
6
|
+
import { u } from "../../chunks/useT9n.js";
|
|
7
|
+
import { css as T, html as a } from "lit";
|
|
8
|
+
import { createRef as f, ref as C } from "lit/directives/ref.js";
|
|
9
|
+
import { LitElement as $, safeClassMap as i } from "@arcgis/lumina";
|
|
10
10
|
import "@arcgis/toolkit/intl";
|
|
11
11
|
import "d3-array";
|
|
12
|
-
import { X as $ } from "../../chunks/index.js";
|
|
13
12
|
import "@arcgis/core/Graphic.js";
|
|
14
13
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
15
14
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -29,16 +28,16 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
29
28
|
import "@arcgis/toolkit/dom";
|
|
30
29
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
30
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
31
|
+
v5.0.0-next.67 */
|
|
33
32
|
const s = {
|
|
34
33
|
textInput: "text-input",
|
|
35
34
|
label: "label",
|
|
36
35
|
labelContainer: "label-container",
|
|
37
36
|
select: "select"
|
|
38
|
-
}, v =
|
|
39
|
-
class y extends
|
|
37
|
+
}, v = T`.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;margin-top:var(--arcgis-charts-top-section-margin)}.text-input,.select{margin-bottom:var(--arcgis-charts-inter-section-margin)}.label{display:flex;justify-content:space-between}.label-container{display:flex;flex-direction:column;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}`;
|
|
38
|
+
class y extends $ {
|
|
40
39
|
constructor() {
|
|
41
|
-
super(...arguments), this._messages =
|
|
40
|
+
super(...arguments), this._messages = u(), this.characterLimitInputElement = f(), this.onModelConfigChange = () => {
|
|
42
41
|
this.requestUpdate();
|
|
43
42
|
}, this.resetChartTitleToBeDynamic = () => {
|
|
44
43
|
const e = this.model.generateChartTitle();
|
|
@@ -73,7 +72,7 @@ class y extends C {
|
|
|
73
72
|
super.disconnectedCallback(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
74
73
|
}
|
|
75
74
|
handleResetButtons() {
|
|
76
|
-
this.isPartialConfig =
|
|
75
|
+
this.isPartialConfig = p(this.model.config);
|
|
77
76
|
const e = this.model.generateChartTitle(), t = this.model.titleText;
|
|
78
77
|
if (this.disableResetButtonForChartTitle = this.isPartialConfig || e === t, n(this.model)) {
|
|
79
78
|
const o = this.model.generateXAxisTitle(), d = this.model.xAxisTitleText;
|
|
@@ -89,7 +88,7 @@ class y extends C {
|
|
|
89
88
|
}
|
|
90
89
|
setChartTitle(e) {
|
|
91
90
|
const { value: t } = e.target;
|
|
92
|
-
this.isChartTitleInvalid =
|
|
91
|
+
this.isChartTitleInvalid = b(t.trim()), this.characterLimitInputElement.value && x({
|
|
93
92
|
inputElement: this.characterLimitInputElement.value,
|
|
94
93
|
status: this.isChartTitleInvalid ? m.INVALID : m.IDLE
|
|
95
94
|
}), this.isChartTitleInvalid || (this.model.titleText = t);
|
|
@@ -143,7 +142,7 @@ class y extends C {
|
|
|
143
142
|
] : [];
|
|
144
143
|
}
|
|
145
144
|
render() {
|
|
146
|
-
return a`<div class=${i(s.labelContainer)}><calcite-label layout=inline-space-between class=${i(s.label)}>${this._messages.chartTitle}<div><calcite-button @click=${this.resetChartTitleToBeDynamic} .disabled=${this.disableResetButtonForChartTitle} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button><calcite-switch .checked=${this.model.chartTitleVisibility} @calciteSwitchChange=${this.enableChartTitle}></calcite-switch></div></calcite-label><calcite-input class=${i(s.textInput)} type=text .disabled=${!this.model.chartTitleVisibility} .value=${this.isPartialConfig ? "" : this.model.titleText} @calciteInputInput=${this.setChartTitle} ${
|
|
145
|
+
return a`<div class=${i(s.labelContainer)}><calcite-label layout=inline-space-between class=${i(s.label)}>${this._messages.chartTitle}<div><calcite-button @click=${this.resetChartTitleToBeDynamic} .disabled=${this.disableResetButtonForChartTitle} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button><calcite-switch .checked=${this.model.chartTitleVisibility} @calciteSwitchChange=${this.enableChartTitle}></calcite-switch></div></calcite-label><calcite-input class=${i(s.textInput)} type=text .disabled=${!this.model.chartTitleVisibility} .value=${this.isPartialConfig ? "" : this.model.titleText} @calciteInputInput=${this.setChartTitle} ${C(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></div>${n(this.model) ? [
|
|
147
146
|
a`<div class=${i(s.labelContainer)}><calcite-label layout=inline-space-between class=${i(s.label)}>${this._messages.xAxisTitle}<div><calcite-button @click=${this.resetXAxisTitleToBeDynamic} .disabled=${this.disableResetButtonForXAxisTitle} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button><calcite-switch .checked=${this.model.xAxisTitleVisibility} @calciteSwitchChange=${this.enableXAxisTitle}></calcite-switch></div></calcite-label><calcite-input class=${i(s.textInput)} type=text .disabled=${!this.model.xAxisTitleVisibility} .value=${this.isPartialConfig ? "" : this.model.xAxisTitleText} @calciteInputInput=${this.setChartXAxisTitle}></calcite-input></div>`,
|
|
148
147
|
c(this.model) ? a`<div class=${i(s.labelContainer)}><calcite-label layout=inline-space-between class=${i(s.label)}>${this._messages.yAxisTitle}<div><calcite-button @click=${this.resetYAxisTitleToBeDynamic} .disabled=${this.disableResetButtonForYAxisTitle} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button><calcite-switch .checked=${this.model.getAxisTitleVisibility(1)} @calciteSwitchChange=${this.enableYAxisTitle}></calcite-switch></div></calcite-label><calcite-input class=${i(s.textInput)} tabindex=1 type=text .disabled=${!this.model.getAxisTitleVisibility(1)} .value=${this.model.getAxisTitleText(1)} @calciteInputInput=${this.setChartYAxisTitle}></calcite-input></div>` : null
|
|
149
148
|
] : null}${r(this.model) ? a`<div class=${i(s.labelContainer)}><calcite-label layout=inline-space-between class=${i(s.label)}>${this._messages.legendTitle}<calcite-switch .checked=${this.model.legendTitleVisibility} @calciteSwitchChange=${this.enableLegendTitle}></calcite-switch></calcite-label><calcite-input class=${i(s.textInput)} type=text .disabled=${!this.model.legendTitleVisibility} .value=${this.model.legendTitleText} @calciteInputInput=${this.setChartLegendTitle}></calcite-input></div>` : null}<div class=${i(s.labelContainer)}><calcite-label layout=inline-space-between class=${i(s.label)}>${this._messages.legendPosition}</calcite-label><calcite-combobox clear-disabled label class=${i(s.select)} @calciteComboboxChange=${this.legendPositionChange} selection-mode=single>${this.renderLegendPositions()}</calcite-combobox></div><div class=${i(s.labelContainer)}><calcite-label layout=inline-space-between class=${i(s.label)}>${this._messages.description}<calcite-switch .checked=${this.model.descriptionVisibility} @calciteSwitchChange=${this.enableDescription}></calcite-switch></calcite-label><calcite-text-area .disabled=${!this.model.descriptionVisibility} .value=${this.model.descriptionText} @calciteTextAreaInput=${this.setChartDescription}></calcite-text-area></div>`;
|