@arcgis/charts-components 5.0.0-next.67 → 5.0.0-next.68
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/{DKBJ3VMW.js → 22HB322F.js} +1 -1
- package/dist/cdn/{5SYYNRWF.js → 23AMMNN4.js} +2 -2
- package/dist/cdn/{PPJQQE5F.js → 2JVQ7R3B.js} +1 -1
- package/dist/cdn/{2MM634DB.js → 2PCG2RWB.js} +2 -2
- package/dist/cdn/2S4RVJUT.js +4 -0
- package/dist/cdn/2VCFDRAH.js +4 -0
- package/dist/cdn/{IRKBRCFZ.js → 2XDLX7XD.js} +2 -2
- package/dist/cdn/{X4QCEF5D.js → 2ZDLJTKK.js} +2 -2
- package/dist/cdn/3APA4ZYJ.js +4 -0
- package/dist/cdn/{UJ237PNN.js → 3MD3L7LB.js} +2 -2
- package/dist/cdn/3OFJG5QS.js +4 -0
- package/dist/cdn/{JXSX55IV.js → 3P3MSX3D.js} +2 -2
- package/dist/cdn/3QQZREQI.js +4 -0
- package/dist/cdn/{ORC2TMUB.js → 4IZWXWIX.js} +2 -2
- package/dist/cdn/4JAFXZPH.js +4 -0
- package/dist/cdn/4N4ISBVI.js +4 -0
- package/dist/cdn/{NYPKOV5W.js → 4RMSUKCA.js} +2 -2
- package/dist/cdn/{ITDSGWYS.js → 4RPLV7JT.js} +2 -2
- package/dist/cdn/{UVCPBK7X.js → 54FN2S2P.js} +2 -2
- package/dist/cdn/{6YATA5XH.js → 5766ZKD7.js} +2 -2
- package/dist/cdn/5E6XH3SN.js +4 -0
- package/dist/cdn/{U5ILKILK.js → 5FXL3RLM.js} +1 -1
- package/dist/cdn/5LI7DGKO.js +4 -0
- package/dist/cdn/{6U5GYB46.js → 5MMGV3S4.js} +2 -2
- package/dist/cdn/{HAXNICJD.js → 5MRSEG2N.js} +2 -2
- package/dist/cdn/6CSN5HRM.js +4 -0
- package/dist/cdn/{NSENNGOG.js → 72R2K3E5.js} +2 -2
- package/dist/cdn/{3GXNVQJD.js → 73DXALHT.js} +2 -2
- package/dist/cdn/7TOSFIDR.js +4 -0
- package/dist/cdn/ABSUNYL6.js +4 -0
- package/dist/cdn/AJN4YE57.js +4 -0
- package/dist/cdn/{D5UC25XD.js → AUX233ED.js} +2 -2
- package/dist/cdn/{YHLBU56L.js → AVDNYKTJ.js} +2 -2
- package/dist/cdn/{Q4FFF2QX.js → AVT7EVMW.js} +1 -1
- package/dist/cdn/{OZHKAQXC.js → AWJ7A6PN.js} +2 -2
- package/dist/cdn/AWJSLHJU.js +4 -0
- package/dist/cdn/B33R27EL.js +4 -0
- package/dist/cdn/{LXWPG5I4.js → BA5DPGGQ.js} +2 -2
- package/dist/cdn/{YNSARZWD.js → BCRSQCE6.js} +2 -2
- package/dist/cdn/BEBS23JD.js +4 -0
- package/dist/cdn/BELX3WLM.js +4 -0
- package/dist/cdn/BLYBCSKH.js +4 -0
- package/dist/cdn/{22K4FFG2.js → BMDQ6E6A.js} +2 -2
- package/dist/cdn/BNGIZ3WR.js +4 -0
- package/dist/cdn/C67J43WL.js +4 -0
- package/dist/cdn/{GPBXTTIT.js → CCGZKMDA.js} +2 -2
- package/dist/cdn/CJDMO6AP.js +4 -0
- package/dist/cdn/CNTR7PUD.js +4 -0
- package/dist/cdn/{YRMW7JGB.js → CPHCUCOF.js} +2 -2
- package/dist/cdn/{IT5IV6C4.js → CXSUV2B3.js} +2 -2
- package/dist/cdn/D6BK3B23.js +4 -0
- package/dist/cdn/{ITNXWCXM.js → DDEQUOXB.js} +2 -2
- package/dist/cdn/DOTE7RWW.js +4 -0
- package/dist/cdn/{RIPMCTS6.js → DQWMX2TA.js} +2 -2
- package/dist/cdn/DVHYMMZA.js +4 -0
- package/dist/cdn/{76O6Q46Y.js → EKRSAVCO.js} +2 -2
- package/dist/cdn/{QPWOOTCS.js → EZBRJCWR.js} +2 -2
- package/dist/cdn/{OYSBROSS.js → EZN7BRH3.js} +2 -2
- package/dist/cdn/F32M2B2N.js +4 -0
- package/dist/cdn/{PXPAIANY.js → F5HIUVZM.js} +2 -2
- package/dist/cdn/F6G72KND.js +4 -0
- package/dist/cdn/{PBQ3226J.js → F7UFNKNW.js} +2 -2
- package/dist/cdn/F7X66WQL.js +4 -0
- package/dist/cdn/{TUG4HC5H.js → FHWDPAVN.js} +1 -1
- package/dist/cdn/{TJQZ4PQS.js → G2LWPBA2.js} +2 -2
- package/dist/cdn/G5NEJ633.js +4 -0
- package/dist/cdn/{OFCSXEQP.js → G6VCLBVK.js} +2 -2
- package/dist/cdn/{VM25NXDP.js → GJSS2AQT.js} +2 -2
- package/dist/cdn/{PNAVU7H2.js → GNTSTFUC.js} +2 -2
- package/dist/cdn/H3NBXOWN.js +4 -0
- package/dist/cdn/{2U3KNUNA.js → H5EDSQSL.js} +2 -2
- package/dist/cdn/H6CVYBSE.js +4 -0
- package/dist/cdn/{DCDJSAWS.js → H7ZIU2YY.js} +2 -2
- package/dist/cdn/{4D5X2UDA.js → HBTVDAQC.js} +2 -2
- package/dist/cdn/HMV7NWZH.js +4 -0
- package/dist/cdn/{VXMX2XPU.js → HONE5M7R.js} +8 -8
- package/dist/cdn/HR3P3J66.js +4 -0
- package/dist/cdn/I2HA2ADP.js +4 -0
- package/dist/cdn/I2KGUJNJ.js +4 -0
- package/dist/cdn/IB5CNXLH.js +4 -0
- package/dist/cdn/{MAZWQNGN.js → IDCWU6EV.js} +2 -2
- package/dist/cdn/{OUAO6SMF.js → IEZYB45L.js} +2 -2
- package/dist/cdn/{GQ2JMHTS.js → IJY2NO63.js} +2 -2
- package/dist/cdn/{43O53QRJ.js → IPYNAOBB.js} +2 -2
- package/dist/cdn/{CGCVWF2R.js → J3HJLEHF.js} +2 -2
- package/dist/cdn/{MF3ZREZV.js → JGBCKVIY.js} +2 -2
- package/dist/cdn/JJDHLKNX.js +4 -0
- package/dist/cdn/JXQS2HME.js +4 -0
- package/dist/cdn/K6DE3AHR.js +4 -0
- package/dist/cdn/{N3P2X2V6.js → K6NRNUO2.js} +2 -2
- package/dist/cdn/{NHRTYFT5.js → KJFZ4WMV.js} +2 -2
- package/dist/cdn/{YPLHFFH4.js → KL3732ZW.js} +2 -2
- package/dist/cdn/{FVRZ3Y4B.js → L52AJHV6.js} +2 -2
- package/dist/cdn/LCVADBNJ.js +4 -0
- package/dist/cdn/LKSUFFF6.js +4 -0
- package/dist/cdn/LKXZOP6Z.js +4 -0
- package/dist/cdn/{YZCMFSVD.js → LLKEETAO.js} +2 -2
- package/dist/cdn/{4O3BKRGM.js → LUIE2JFR.js} +2 -2
- package/dist/cdn/{CAIVRBHU.js → M7CXERI3.js} +2 -2
- package/dist/cdn/MGZ5ONYW.js +4 -0
- package/dist/cdn/MTTHCFJN.js +4 -0
- package/dist/cdn/{3X36GHH7.js → MUXLBV4U.js} +2 -2
- package/dist/cdn/MZ4QMLZ3.js +4 -0
- package/dist/cdn/{4JJSUKYT.js → N6YYJ6DT.js} +2 -2
- package/dist/cdn/{47LYXG4H.js → NJVSKHOZ.js} +2 -2
- package/dist/cdn/{54EOWPOO.js → NOFMYRNS.js} +2 -2
- package/dist/cdn/{EPD7TQQJ.js → NOQ7NEPN.js} +2 -2
- package/dist/cdn/NT3BGY6A.js +4 -0
- package/dist/cdn/NTTM2QD7.js +4 -0
- package/dist/cdn/{6WLHCRA3.js → OHI6OUTV.js} +2 -2
- package/dist/cdn/{FY4S4MPB.js → OR7OP5FI.js} +2 -2
- package/dist/cdn/OV6MAJIP.js +4 -0
- package/dist/cdn/P3WR6ZMF.js +4 -0
- package/dist/cdn/PKQOFJ6V.js +4 -0
- package/dist/cdn/PMEU2COS.js +4 -0
- package/dist/cdn/{ZFQGMWUL.js → PNJ5Y6E7.js} +2 -2
- package/dist/cdn/Q2E6DZHY.js +4 -0
- package/dist/cdn/{7X7JJDSC.js → Q76PRAAO.js} +2 -2
- package/dist/cdn/{6GFFHQTN.js → QR3N6QWB.js} +2 -2
- package/dist/cdn/QXEUNZQD.js +4 -0
- package/dist/cdn/RE6NDSIH.js +4 -0
- package/dist/cdn/{BCZ2AFXN.js → RIA7TWVX.js} +2 -2
- package/dist/cdn/{A5VCUMLR.js → RJ6A4J3N.js} +2 -2
- package/dist/cdn/RJP4XKFF.js +4 -0
- package/dist/cdn/RK7UE63Z.js +4 -0
- package/dist/cdn/{OS7B3VGZ.js → RMB4TAGH.js} +2 -2
- package/dist/cdn/RME5RFDM.js +4 -0
- package/dist/cdn/{C5V2TI2X.js → RORI5T4A.js} +2 -2
- package/dist/cdn/RRBDGGP7.js +4 -0
- package/dist/cdn/{T3Z2F725.js → S3MGMXGC.js} +2 -2
- package/dist/cdn/S43T23VQ.js +4 -0
- package/dist/cdn/SLMYVOZM.js +4 -0
- package/dist/cdn/{LCSHXS5B.js → STLCSMZW.js} +2 -2
- package/dist/cdn/{NUNIYHSJ.js → SWOORQMF.js} +2 -2
- package/dist/cdn/{M7FNGTET.js → SZOJI2RR.js} +2 -2
- package/dist/cdn/T3H2GTG3.js +4 -0
- package/dist/cdn/T5NB3MQH.js +4 -0
- package/dist/cdn/{3VUWIDFK.js → T7WVM2KI.js} +2 -2
- package/dist/cdn/TE4M6QEW.js +4 -0
- package/dist/cdn/{TQV6BTRF.js → TJ5EL7M4.js} +2 -2
- package/dist/cdn/{WOX5C7EU.js → TP7OB3JM.js} +2 -2
- package/dist/cdn/TX33KBTS.js +4 -0
- package/dist/cdn/ULA5S7SJ.js +4 -0
- package/dist/cdn/US6ZASAC.js +4 -0
- package/dist/cdn/{6M4NWZMP.js → UZW3CMYX.js} +2 -2
- package/dist/cdn/V3TJH2BB.js +4 -0
- package/dist/cdn/{6L7YNW3K.js → V6XBQU6B.js} +2 -2
- package/dist/cdn/{AVA2PPXK.js → VDOHJ7Q3.js} +2 -2
- package/dist/cdn/{LMUM6LKV.js → VGUMXVY5.js} +2 -2
- package/dist/cdn/{56P5H67U.js → VHLMWH7X.js} +2 -2
- package/dist/cdn/{T6VDF5Y2.js → VHQZZ5EF.js} +2 -2
- package/dist/cdn/{WLAYRCM7.js → VK3DTSA4.js} +1 -1
- package/dist/cdn/{W5X5TYZ2.js → VTSGFLAX.js} +1 -1
- package/dist/cdn/VTTGQ2WH.js +4 -0
- package/dist/cdn/{OBDVUV5Q.js → VXI4WME3.js} +2 -2
- package/dist/cdn/{4PK5HZIR.js → W6SBG5QI.js} +2 -2
- package/dist/cdn/{ULYLVWX7.js → WDWEDWUK.js} +2 -2
- package/dist/cdn/{MZIOXIP7.js → WOVLNTKD.js} +2 -2
- package/dist/cdn/WQHPMIYE.js +4 -0
- package/dist/cdn/{VVDIUBGZ.js → WU4MD7HK.js} +2 -2
- package/dist/cdn/WXCVSHAX.js +4 -0
- package/dist/cdn/XBQBK5BJ.js +4 -0
- package/dist/cdn/XIVXQDUD.js +6 -0
- package/dist/cdn/XLK3FMNA.js +4 -0
- package/dist/cdn/{DLQU3PKW.js → XOM5ZWVN.js} +2 -2
- package/dist/cdn/{PNAEZL5A.js → YCF5QCDZ.js} +2 -2
- package/dist/cdn/YDHFGCY2.js +4 -0
- package/dist/cdn/{WT25R7WQ.js → YGRGHEO5.js} +2 -2
- package/dist/cdn/{6NACYZJK.js → YN6UHCST.js} +2 -2
- package/dist/cdn/{4G3L7VNZ.js → YZOVJMTP.js} +2 -2
- package/dist/cdn/{R6MAZI57.js → Z2VWH33S.js} +2 -2
- package/dist/cdn/{WHSMSFEW.js → Z62TN5BI.js} +2 -2
- package/dist/cdn/ZDQTU3BX.js +4 -0
- package/dist/cdn/ZENRRBTW.js +4 -0
- package/dist/cdn/ZGXOJKCH.js +42 -0
- package/dist/cdn/{UNLQ5ELO.js → ZHUFMKAT.js} +2 -2
- package/dist/cdn/ZO6C6P2W.js +4 -0
- package/dist/cdn/ZOHL3IYZ.js +4 -0
- package/dist/cdn/ZOQJ5L52.js +4 -0
- package/dist/cdn/ZYLPKKPQ.js +4 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +20 -19
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +5 -4
- package/dist/chunks/bar-chart-series.js +9 -8
- package/dist/chunks/baseline-stacking.js +24 -23
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +63 -61
- package/dist/chunks/box-plot-model.js +19 -18
- package/dist/chunks/chart-ui-utils.js +2 -2
- package/dist/chunks/chart-ui-utils2.js +40 -38
- package/dist/chunks/combo-bar-line-chart-model.js +14 -13
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +61 -60
- package/dist/chunks/data.js +42 -41
- package/dist/chunks/default.js +9 -8
- package/dist/chunks/gauge-model.js +22 -21
- package/dist/chunks/heat-chart-model.js +21 -20
- package/dist/chunks/histogram-data.js +40 -39
- package/dist/chunks/histogram-model.js +3 -2
- package/dist/chunks/index.js +1848 -2128
- package/dist/chunks/index2.js +41 -40
- package/dist/chunks/index3.js +39 -38
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +2 -2
- package/dist/chunks/line-chart-model.js +3 -2
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +16 -15
- package/dist/chunks/model-with-multi-axes.js +48 -46
- package/dist/chunks/model-with-rotation.js +5 -4
- package/dist/chunks/pie-chart-data.js +34 -32
- package/dist/chunks/pie-chart-model.js +38 -36
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +3 -2
- package/dist/chunks/resource.js +10 -31
- package/dist/chunks/rest-js-object-literals.js +103 -0
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +29 -28
- package/dist/chunks/serial-chart-data.js +183 -181
- package/dist/chunks/serial-chart-model.js +12 -11
- package/dist/chunks/series-types.js +191 -0
- package/dist/chunks/series.js +8 -7
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +82 -103
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +124 -132
- package/dist/components/arcgis-chart/customElement.js +177 -175
- package/dist/components/arcgis-charts-action-bar/customElement.js +12 -11
- 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 +3 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +21 -19
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +24 -22
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +6 -5
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +8 -7
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +5 -4
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +10 -8
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +7 -6
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -2
- 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 +13 -12
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +13 -11
- package/dist/components/arcgis-charts-config-format/customElement.js +26 -24
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +15 -14
- package/dist/components/arcgis-charts-config-guide/customElement.js +18 -16
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-guides/customElement.js +15 -34
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +7 -6
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +11 -9
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +6 -4
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -4
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +26 -24
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +13 -11
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -5
- package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +16 -14
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +10 -8
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +3 -2
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +417 -414
- package/dist/loader.js +1 -1
- package/dist/model.js +109 -35
- package/package.json +3 -3
- package/dist/cdn/2WSF2YDX.js +0 -4
- package/dist/cdn/3EWUQE7V.js +0 -4
- package/dist/cdn/3IEGDWPR.js +0 -4
- package/dist/cdn/4G3EO7JA.js +0 -4
- package/dist/cdn/4VGPRG5Z.js +0 -4
- package/dist/cdn/4XDKHRQO.js +0 -4
- package/dist/cdn/4ZZMAQ7A.js +0 -4
- package/dist/cdn/5EH6XYOL.js +0 -4
- package/dist/cdn/5VRS33TF.js +0 -4
- package/dist/cdn/6XPXMWQJ.js +0 -4
- package/dist/cdn/7A2OHTCY.js +0 -4
- package/dist/cdn/7JGZOPNU.js +0 -4
- package/dist/cdn/7XQWEVTO.js +0 -4
- package/dist/cdn/ADJDKESO.js +0 -4
- package/dist/cdn/AHK7PC3Q.js +0 -4
- package/dist/cdn/AM64NT2B.js +0 -4
- package/dist/cdn/BKFBFRMP.js +0 -4
- package/dist/cdn/BVEXOBFR.js +0 -4
- package/dist/cdn/C3WUZZ3G.js +0 -4
- package/dist/cdn/CE2BYF4I.js +0 -4
- package/dist/cdn/DBGYLICD.js +0 -4
- package/dist/cdn/DTKR7EQX.js +0 -4
- package/dist/cdn/DYID5DTX.js +0 -4
- package/dist/cdn/E37QO52T.js +0 -4
- package/dist/cdn/E47WI35G.js +0 -4
- package/dist/cdn/EJAAHEGE.js +0 -6
- package/dist/cdn/EKFUJTQ5.js +0 -4
- package/dist/cdn/EWUJF3TE.js +0 -4
- package/dist/cdn/FHMNFHTN.js +0 -4
- package/dist/cdn/FUCPZZQJ.js +0 -4
- package/dist/cdn/FUVIR74G.js +0 -4
- package/dist/cdn/FXTE3PM3.js +0 -4
- package/dist/cdn/GWL53IWJ.js +0 -4
- package/dist/cdn/HNJI36UK.js +0 -4
- package/dist/cdn/HUTSVJ5N.js +0 -4
- package/dist/cdn/HVGWJVAS.js +0 -4
- package/dist/cdn/IPDITVEY.js +0 -4
- package/dist/cdn/ISXLDJ6R.js +0 -4
- package/dist/cdn/ITSMAADE.js +0 -4
- package/dist/cdn/IVQ773LE.js +0 -4
- package/dist/cdn/KEH2LNAE.js +0 -4
- package/dist/cdn/KG4YY3EV.js +0 -4
- package/dist/cdn/KGXSWSY6.js +0 -4
- package/dist/cdn/KULJA67P.js +0 -4
- package/dist/cdn/LGFTE7OU.js +0 -4
- package/dist/cdn/LRIGOHQ4.js +0 -4
- package/dist/cdn/M3QKCJHG.js +0 -4
- package/dist/cdn/MCO6G3HA.js +0 -4
- package/dist/cdn/MHDAUG6A.js +0 -4
- package/dist/cdn/MOSW3A4S.js +0 -4
- package/dist/cdn/N5NENZIO.js +0 -4
- package/dist/cdn/NXJGFQUL.js +0 -4
- package/dist/cdn/PDV2E5ZK.js +0 -4
- package/dist/cdn/PJ2BDTLT.js +0 -4
- package/dist/cdn/PZSY2XE7.js +0 -42
- package/dist/cdn/QF5MTD5Q.js +0 -4
- package/dist/cdn/QJ2DSTEL.js +0 -4
- package/dist/cdn/QJ5JVBZZ.js +0 -4
- package/dist/cdn/QMX6WDNP.js +0 -4
- package/dist/cdn/RHK2PIU3.js +0 -4
- package/dist/cdn/S5DHURAZ.js +0 -4
- package/dist/cdn/S76JXA3D.js +0 -4
- package/dist/cdn/SP3C3BCU.js +0 -4
- package/dist/cdn/SXQSJ2IX.js +0 -4
- package/dist/cdn/TDPLMEWV.js +0 -4
- package/dist/cdn/TVS5Z5NI.js +0 -4
- package/dist/cdn/USUU63XK.js +0 -4
- package/dist/cdn/UVLIKCGV.js +0 -4
- package/dist/cdn/W3QGZH2U.js +0 -4
- package/dist/cdn/WWHS4OED.js +0 -4
- package/dist/cdn/XJYOLLHE.js +0 -4
- package/dist/cdn/XKXJ5UGL.js +0 -4
- package/dist/cdn/YEKB2P6S.js +0 -4
- package/dist/cdn/YGYLOGJV.js +0 -4
- package/dist/cdn/YUEJUXC7.js +0 -4
- package/dist/cdn/ZC3COOHL.js +0 -4
- package/dist/cdn/ZFFXUC5U.js +0 -4
- package/dist/cdn/ZJILTG6Z.js +0 -4
- package/dist/cdn/ZKWVSFVM.js +0 -4
- package/dist/chunks/setup-utils.js +0 -81
|
@@ -2,10 +2,12 @@ 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
|
|
5
|
+
import "../../chunks/series-types.js";
|
|
6
|
+
import { a as u } from "../../chunks/rest-js-object-literals.js";
|
|
6
7
|
import "@arcgis/toolkit/intl";
|
|
7
8
|
import "lodash-es";
|
|
8
9
|
import "d3-array";
|
|
10
|
+
import { cR as y, bG as g, bE as $, cG as x } from "../../chunks/index.js";
|
|
9
11
|
import "@arcgis/core/Graphic.js";
|
|
10
12
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
13
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -24,14 +26,14 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
24
26
|
import "@arcgis/core/core/promiseUtils.js";
|
|
25
27
|
import { e as L, p as P } from "../../chunks/popover-ui-utils.js";
|
|
26
28
|
import { a as l } from "../../chunks/interfaces.js";
|
|
27
|
-
import { U as h, e as I, i as
|
|
29
|
+
import { U as h, e as I, i as f, d as D } from "../../chunks/chart-ui-utils2.js";
|
|
28
30
|
import { u as S } from "../../chunks/useT9n.js";
|
|
29
31
|
import { css as w, html as n } from "lit";
|
|
30
32
|
import { createRef as b, ref as m } from "lit/directives/ref.js";
|
|
31
33
|
import { LitElement as T, createEvent as C, renderElement as E, safeStyleMap as B, safeClassMap as d } from "@arcgis/lumina";
|
|
32
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
33
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
34
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.68 */
|
|
35
37
|
const o = {
|
|
36
38
|
jsAppFlyout: "js-app-flyout",
|
|
37
39
|
name: "bar-chart-data-popover",
|
|
@@ -90,7 +92,7 @@ class N extends T {
|
|
|
90
92
|
}), this.open = !1;
|
|
91
93
|
}
|
|
92
94
|
buildPickListItem(e) {
|
|
93
|
-
return p(e.name, n`<calcite-list-item .label=${y(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${
|
|
95
|
+
return p(e.name, n`<calcite-list-item .label=${y(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${f(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
94
96
|
}
|
|
95
97
|
buildPickListItems(e) {
|
|
96
98
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
@@ -103,20 +105,20 @@ class N extends T {
|
|
|
103
105
|
break;
|
|
104
106
|
}
|
|
105
107
|
case l.category: {
|
|
106
|
-
const s = p(" ", n`<calcite-list-item label=" " value=" " .selected=${
|
|
108
|
+
const s = p(" ", n`<calcite-list-item label=" " value=" " .selected=${f("", this.selectedContent)}></calcite-list-item>`);
|
|
107
109
|
i.push(s);
|
|
108
110
|
for (let a = 0; a < t; a += 1) {
|
|
109
111
|
const c = this.layerFieldsInfo[a];
|
|
110
|
-
(
|
|
112
|
+
(g(c) || c.type === u.String) && i.push(this.buildPickListItem(c));
|
|
111
113
|
}
|
|
112
114
|
break;
|
|
113
115
|
}
|
|
114
116
|
case l.splitByField: {
|
|
115
|
-
const s = p(" ", n`<calcite-list-item label=" " value=" " .selected=${
|
|
117
|
+
const s = p(" ", n`<calcite-list-item label=" " value=" " .selected=${f("", this.selectedContent)}></calcite-list-item>`);
|
|
116
118
|
i.push(s);
|
|
117
119
|
for (let a = 0; a < t; a += 1) {
|
|
118
120
|
const c = this.layerFieldsInfo[a];
|
|
119
|
-
(
|
|
121
|
+
(g(c) || c.type === u.String) && i.push(this.buildPickListItem(c));
|
|
120
122
|
}
|
|
121
123
|
break;
|
|
122
124
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as I } 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 { f as d } from "../../chunks/series-types.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
+
import { d8 as S } from "../../chunks/index.js";
|
|
8
9
|
import "@arcgis/core/Graphic.js";
|
|
9
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -29,7 +30,7 @@ import { LitElement as O, renderElement as h, safeStyleMap as m, safeClassMap as
|
|
|
29
30
|
import { d as w } from "../../chunks/chart-ui-utils2.js";
|
|
30
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.68 */
|
|
33
34
|
const l = {
|
|
34
35
|
topSection: "top-section",
|
|
35
36
|
sectionLabel: "section-label",
|
|
@@ -126,8 +127,8 @@ class N extends O {
|
|
|
126
127
|
let g = "#CCCCCC", C = "minus-square";
|
|
127
128
|
if ((e > 1 || !this.activeColorMatch) && c !== void 0) {
|
|
128
129
|
C = this.model.showMeanLines === !0 ? "line-solid" : "square-f";
|
|
129
|
-
const [x, $, L,
|
|
130
|
-
g = `rgba(${x},${$},${L},${
|
|
130
|
+
const [x, $, L, b] = [...c];
|
|
131
|
+
g = `rgba(${x},${$},${L},${b / 255})`;
|
|
131
132
|
}
|
|
132
133
|
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;
|
|
133
134
|
});
|
|
@@ -163,7 +164,7 @@ class N extends O {
|
|
|
163
164
|
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()}`;
|
|
164
165
|
}
|
|
165
166
|
}
|
|
166
|
-
|
|
167
|
+
I("arcgis-charts-config-box-plot-series", N);
|
|
167
168
|
export {
|
|
168
169
|
N as ArcgisChartsConfigBoxPlotSeries
|
|
169
170
|
};
|
|
@@ -2,8 +2,10 @@ 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
|
|
5
|
+
import "../../chunks/series-types.js";
|
|
6
|
+
import { R as v } from "../../chunks/rest-js-object-literals.js";
|
|
6
7
|
import "d3-array";
|
|
8
|
+
import { an as d } from "../../chunks/index.js";
|
|
7
9
|
import "@arcgis/core/Graphic.js";
|
|
8
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
9
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -28,7 +30,7 @@ import { createRef as S, ref as x } from "lit/directives/ref.js";
|
|
|
28
30
|
import { LitElement as $, createEvent as a, safeClassMap as l } from "@arcgis/lumina";
|
|
29
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
30
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
31
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.68 */
|
|
32
34
|
const c = {
|
|
33
35
|
jsAppFlyout: "js-app-flyout",
|
|
34
36
|
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.68 */
|
|
10
10
|
const e = {
|
|
11
11
|
container: "container",
|
|
12
12
|
label: "label",
|
|
@@ -1,8 +1,9 @@
|
|
|
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/
|
|
4
|
+
import "../../chunks/series-types.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
+
import "../../chunks/index.js";
|
|
6
7
|
import "@arcgis/core/Graphic.js";
|
|
7
8
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
9
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -28,7 +29,7 @@ import { createRef as o, ref as s } from "lit/directives/ref.js";
|
|
|
28
29
|
import { LitElement as u, createEvent as r, safeClassMap as a } from "@arcgis/lumina";
|
|
29
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
30
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
31
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.68 */
|
|
32
33
|
const e = {
|
|
33
34
|
jsAppFlyout: "js-app-flyout",
|
|
34
35
|
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.68 */
|
|
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.68 */
|
|
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,11 +1,12 @@
|
|
|
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 { createModel as U } from "../../model.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 {
|
|
8
|
+
import { W as o, i as O } from "../../chunks/series-types.js";
|
|
9
|
+
import { X as D, d6 as k, cU as E, dd as R, ad as W } from "../../chunks/index.js";
|
|
9
10
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
11
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
12
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -15,7 +16,7 @@ import "@arcgis/core/Graphic.js";
|
|
|
15
16
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
16
17
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
17
18
|
import "d3-array";
|
|
18
|
-
import { substitute as
|
|
19
|
+
import { substitute as H } from "@arcgis/core/intl.js";
|
|
19
20
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
20
21
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
21
22
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
@@ -26,19 +27,19 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
26
27
|
import "@arcgis/toolkit/dom";
|
|
27
28
|
import { C as f } from "../../chunks/index4.js";
|
|
28
29
|
import { a as L } from "../../chunks/chart-ui-utils.js";
|
|
29
|
-
import { r as
|
|
30
|
+
import { r as X } from "../../chunks/popover-ui-utils.js";
|
|
30
31
|
import { C as l } from "../../chunks/interfaces.js";
|
|
31
|
-
import { LitElement as
|
|
32
|
+
import { LitElement as G, createEvent as y, renderElement as I, safeStyleMap as Z, safeClassMap as d } from "@arcgis/lumina";
|
|
32
33
|
import { css as j, html as h } from "lit";
|
|
33
34
|
import { createRef as K, ref as q } from "lit/directives/ref.js";
|
|
34
35
|
import { u as P } from "../../chunks/useT9n.js";
|
|
35
|
-
import { a as
|
|
36
|
+
import { a as Y, s as x, b as Q } from "../../chunks/store.js";
|
|
36
37
|
import { h as J, a as M, s as ee } from "../../chunks/web-component-utils.js";
|
|
37
38
|
import { A as te } from "../../chunks/axis-model-wrapper.js";
|
|
38
39
|
import { d as ae } from "../../chunks/chart-ui-utils2.js";
|
|
39
40
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
40
41
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
41
|
-
v5.0.0-next.
|
|
42
|
+
v5.0.0-next.68 */
|
|
42
43
|
const m = {
|
|
43
44
|
chartUIComponent: "chart-ui-component",
|
|
44
45
|
tabBar: "tab-bar",
|
|
@@ -96,7 +97,7 @@ function le(p, e) {
|
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
99
|
const ne = j`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`;
|
|
99
|
-
class ce extends
|
|
100
|
+
class ce extends G {
|
|
100
101
|
constructor() {
|
|
101
102
|
super(), this.selectChartTypePopover = null, this.chartsListFlowItem = K(), this.supportedChartTypes = [
|
|
102
103
|
o.BarSeries,
|
|
@@ -125,7 +126,7 @@ class ce extends X {
|
|
|
125
126
|
case o.LineSeries:
|
|
126
127
|
case o.BarSeries: {
|
|
127
128
|
const { dataItems: n, timeIntervalInfo: c } = t;
|
|
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 &&
|
|
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 && Y(x, { size: c.size, unit: c.unit })), this.calculatedDataMinMaxBounds = this.getDataExtent(n), i && (i.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds), S(s)) {
|
|
129
130
|
const g = s.xAxisField, u = n.some((A) => A[g] === null), C = s.nullCategory;
|
|
130
131
|
u && C === void 0 && (s.nullCategory = R.nullCategory);
|
|
131
132
|
}
|
|
@@ -294,7 +295,7 @@ class ce extends X {
|
|
|
294
295
|
e?.forEach((a) => {
|
|
295
296
|
const { isXAxis: t, maximum: i, minimum: s } = a, r = this.getModel(this.selectedChartId);
|
|
296
297
|
if (r !== void 0 && T(r) && this.selectedChartId !== void 0) {
|
|
297
|
-
const n = new te(r, t), c =
|
|
298
|
+
const n = new te(r, t), c = Q({
|
|
298
299
|
chartId: this.selectedChartId,
|
|
299
300
|
isXAxis: t,
|
|
300
301
|
isLogarithmic: n.getLogarithmic()
|
|
@@ -329,7 +330,7 @@ class ce extends X {
|
|
|
329
330
|
return this.modelList?.find((a) => a.chartId === e);
|
|
330
331
|
}
|
|
331
332
|
removeSelectChartTypePopover() {
|
|
332
|
-
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover =
|
|
333
|
+
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover = X(this.selectChartTypePopover));
|
|
333
334
|
}
|
|
334
335
|
clearPartialModels() {
|
|
335
336
|
this.modelList = this.modelList.filter((e) => !D(e.config));
|
|
@@ -406,7 +407,7 @@ class ce extends X {
|
|
|
406
407
|
}
|
|
407
408
|
renderTabs() {
|
|
408
409
|
const e = this.getModel(this.selectedChartId);
|
|
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 ?
|
|
410
|
+
return $("chart-edit", h`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? l.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ? H(this._messages.pageFlowTitle, {
|
|
410
411
|
chartName: e?.titleText ?? this.currentChartTypeText,
|
|
411
412
|
layerName: e?.layer?.title ?? ""
|
|
412
413
|
}) : ""}>${e?.chartType !== void 0 ? h`<calcite-action-bar class=${d(m.tabBar)} layout=horizontal expand-disabled><calcite-action class=${d(m.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel === l.Data || this.selectedPanel === void 0} @click=${() => {
|
|
@@ -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.68 */
|
|
7
7
|
const e = {
|
|
8
8
|
fieldSelectButtonSection: "field-select-btn-section",
|
|
9
9
|
fieldSelectButton: "field-select-btn",
|
|
@@ -2,8 +2,10 @@ 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
|
|
5
|
+
import "../../chunks/series-types.js";
|
|
6
|
+
import { R as u, h as s, g as c, i as r } from "../../chunks/rest-js-object-literals.js";
|
|
6
7
|
import "d3-array";
|
|
8
|
+
import { aC as S } from "../../chunks/index.js";
|
|
7
9
|
import "@arcgis/core/Graphic.js";
|
|
8
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
9
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -21,14 +23,14 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
21
23
|
import "@arcgis/core/time/TimeExtent.js";
|
|
22
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
23
25
|
import "@arcgis/toolkit/dom";
|
|
24
|
-
import { b as g, m, s as b, c as
|
|
26
|
+
import { b as g, m, s as b, c as p } from "../../chunks/chart-ui-utils2.js";
|
|
25
27
|
import { u as v } from "../../chunks/useT9n.js";
|
|
26
28
|
import { createRef as C, ref as x } from "lit/directives/ref.js";
|
|
27
|
-
import { LitElement as $, createEvent as
|
|
29
|
+
import { LitElement as $, createEvent as h, safeClassMap as n } from "@arcgis/lumina";
|
|
28
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
30
|
-
v5.0.0-next.
|
|
31
|
-
const
|
|
32
|
+
v5.0.0-next.68 */
|
|
33
|
+
const w = {
|
|
32
34
|
arial: "Arial",
|
|
33
35
|
arialBlack: "Arial Black",
|
|
34
36
|
bookman: "Bookman",
|
|
@@ -48,18 +50,18 @@ const E = {
|
|
|
48
50
|
font: "font",
|
|
49
51
|
numberInput: "number-input",
|
|
50
52
|
inputLabel: "input-label"
|
|
51
|
-
},
|
|
53
|
+
}, E = 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}`;
|
|
52
54
|
class I extends $ {
|
|
53
55
|
constructor() {
|
|
54
56
|
super(...arguments), this._messages = v(), this.fontSizeInputElement = C(), this.fontStyle = {
|
|
55
57
|
type: u.TS
|
|
56
|
-
}, this.arcgisChartsConfigFontStyleChange =
|
|
58
|
+
}, this.arcgisChartsConfigFontStyleChange = h(), this.arcgisChartsConfigFontStyleClose = h();
|
|
57
59
|
}
|
|
58
60
|
static {
|
|
59
61
|
this.properties = { messageOverrides: 0, fontStyle: 0, header: 1, open: 5, enableClose: 5 };
|
|
60
62
|
}
|
|
61
63
|
static {
|
|
62
|
-
this.styles =
|
|
64
|
+
this.styles = E;
|
|
63
65
|
}
|
|
64
66
|
closePanel(t) {
|
|
65
67
|
t.target.closed && this.enableClose === !0 && (this.open = !1, this.arcgisChartsConfigFontStyleClose.emit());
|
|
@@ -81,11 +83,11 @@ class I extends $ {
|
|
|
81
83
|
};
|
|
82
84
|
this.isNewFontProperty("size", e) && (this.fontStyle = i(this.fontStyle, { font: e }), this.emitFontStyleEvent({ font: e })), this.fontSizeInputElement.value && m({
|
|
83
85
|
inputElement: this.fontSizeInputElement.value,
|
|
84
|
-
status:
|
|
86
|
+
status: p.IDLE
|
|
85
87
|
});
|
|
86
88
|
} else this.fontSizeInputElement.value && m({
|
|
87
89
|
inputElement: this.fontSizeInputElement.value,
|
|
88
|
-
status:
|
|
90
|
+
status: p.INVALID
|
|
89
91
|
});
|
|
90
92
|
}
|
|
91
93
|
boldSelect() {
|
|
@@ -117,7 +119,7 @@ class I extends $ {
|
|
|
117
119
|
return this.fontStyle?.font?.[t] !== e[t];
|
|
118
120
|
}
|
|
119
121
|
renderFonts() {
|
|
120
|
-
const t = Object.values(
|
|
122
|
+
const t = Object.values(w).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>`);
|
|
121
123
|
return this.fontStyle?.font?.family === "" && t.push(l`<calcite-option value selected></calcite-option>`), t;
|
|
122
124
|
}
|
|
123
125
|
render() {
|
|
@@ -1,11 +1,13 @@
|
|
|
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 c } 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 {
|
|
5
|
+
import { W as d } from "../../chunks/series-types.js";
|
|
6
|
+
import { c as V, R as f, h as w, g as N, i as D } from "../../chunks/rest-js-object-literals.js";
|
|
6
7
|
import "@arcgis/toolkit/intl";
|
|
7
|
-
import { isEmpty as u, cloneDeep as r, isArray as v, isObject as k, mergeWith as
|
|
8
|
+
import { isEmpty as u, cloneDeep as r, isArray as v, isObject as k, mergeWith as W } from "lodash-es";
|
|
8
9
|
import "d3-array";
|
|
10
|
+
import "../../chunks/index.js";
|
|
9
11
|
import "@arcgis/core/Graphic.js";
|
|
10
12
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
13
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -25,13 +27,13 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
25
27
|
import { c as x, e as l } from "../../chunks/index3.js";
|
|
26
28
|
import "@arcgis/toolkit/dom";
|
|
27
29
|
import { r as F } from "../../chunks/popover-ui-utils.js";
|
|
28
|
-
import { l as
|
|
30
|
+
import { l as G } from "../../chunks/chart-ui-utils2.js";
|
|
29
31
|
import { u as R } from "../../chunks/useT9n.js";
|
|
30
32
|
import { css as j, html as S } from "lit";
|
|
31
33
|
import { LitElement as I, renderElement as O, safeClassMap as g } from "@arcgis/lumina";
|
|
32
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
33
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
34
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.68 */
|
|
35
37
|
const P = {
|
|
36
38
|
type: f.TS,
|
|
37
39
|
color: [1, 1, 1, 255],
|
|
@@ -72,8 +74,8 @@ class _ extends I {
|
|
|
72
74
|
if (e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedBackground = [], e.shiftKey) {
|
|
73
75
|
this.selectedTexts = [];
|
|
74
76
|
const o = this.textProperties.indexOf(this.lastSelectedText ?? s), a = this.textProperties.indexOf(s);
|
|
75
|
-
this.textProperties.forEach((
|
|
76
|
-
y >= Math.min(o, a) && y <= Math.max(o, a) && this.selectedTexts.push(
|
|
77
|
+
this.textProperties.forEach((m, y) => {
|
|
78
|
+
y >= Math.min(o, a) && y <= Math.max(o, a) && this.selectedTexts.push(m);
|
|
77
79
|
}), this.updateSelectedElement(this.selectedTexts), this.setupFormatPopover();
|
|
78
80
|
} else if (e.ctrlKey)
|
|
79
81
|
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();
|
|
@@ -99,12 +101,12 @@ class _ extends I {
|
|
|
99
101
|
}, this.updateTextProps = (t) => {
|
|
100
102
|
const { font: e, color: s } = t.detail;
|
|
101
103
|
this.selectedTexts.forEach((o) => {
|
|
102
|
-
const a = this.getFormatValue(o),
|
|
104
|
+
const a = this.getFormatValue(o), m = l(a) ? a : void 0;
|
|
103
105
|
this.setFormatValue(o, {
|
|
104
|
-
...
|
|
106
|
+
...m,
|
|
105
107
|
type: f.TS,
|
|
106
|
-
font: { ...
|
|
107
|
-
color: s ??
|
|
108
|
+
font: { ...m?.font, ...e },
|
|
109
|
+
color: s ?? m?.color
|
|
108
110
|
});
|
|
109
111
|
}), this.selectedElement = r(t.target.selectedElement);
|
|
110
112
|
}, this.onModelConfigChange = () => {
|
|
@@ -148,8 +150,8 @@ class _ extends I {
|
|
|
148
150
|
if (this.selectedElement = void 0, e === void 0) {
|
|
149
151
|
const s = r(this.getFormatValue(t[0]));
|
|
150
152
|
this.selectedElement = t?.reduce((o, a) => {
|
|
151
|
-
const
|
|
152
|
-
return
|
|
153
|
+
const m = this.getFormatValue(a);
|
|
154
|
+
return W(o, m, this.mergeFormatValues);
|
|
153
155
|
}, s);
|
|
154
156
|
} else {
|
|
155
157
|
let s = r(e);
|
|
@@ -193,11 +195,11 @@ class _ extends I {
|
|
|
193
195
|
return p(this.model) ? this.model.legendTitleSymbol : void 0;
|
|
194
196
|
case i.DataLabels:
|
|
195
197
|
return E(this.model) ? this.model.dataLabelsSymbol : void 0;
|
|
196
|
-
case
|
|
198
|
+
case c.AxisLines:
|
|
197
199
|
return n(this.model) ? this.model.axisLinesSymbol : void 0;
|
|
198
|
-
case
|
|
200
|
+
case c.GridLines:
|
|
199
201
|
return h(this.model) ? this.model.getGridLinesSymbol() : void 0;
|
|
200
|
-
case
|
|
202
|
+
case c.LeaderLines:
|
|
201
203
|
return T(this.model) ? this.model.ticksSymbol : void 0;
|
|
202
204
|
case i.Background:
|
|
203
205
|
return this.model.backgroundColor;
|
|
@@ -234,10 +236,10 @@ class _ extends I {
|
|
|
234
236
|
case i.DataLabels:
|
|
235
237
|
E(this.model) && l(e) && (this.model.dataLabelsSymbol = e);
|
|
236
238
|
break;
|
|
237
|
-
case
|
|
239
|
+
case c.AxisLines:
|
|
238
240
|
n(this.model) && x(e) && (this.model.axisLinesSymbol = e);
|
|
239
241
|
break;
|
|
240
|
-
case
|
|
242
|
+
case c.GridLines:
|
|
241
243
|
if (h(this.model) && x(e)) {
|
|
242
244
|
const s = this.model.chartType;
|
|
243
245
|
let o = [];
|
|
@@ -261,7 +263,7 @@ class _ extends I {
|
|
|
261
263
|
this.model.setGridLinesSymbol(e, o);
|
|
262
264
|
}
|
|
263
265
|
break;
|
|
264
|
-
case
|
|
266
|
+
case c.LeaderLines:
|
|
265
267
|
T(this.model) && x(e) && (this.model.ticksSymbol = e);
|
|
266
268
|
break;
|
|
267
269
|
case i.Background:
|
|
@@ -282,16 +284,16 @@ class _ extends I {
|
|
|
282
284
|
...E(this.model) ? [i.DataLabels] : []
|
|
283
285
|
], M(this.model) && (this.textProperties = this.textProperties.filter((s) => s !== i.DataLabels)), this.symbolProperties = [
|
|
284
286
|
i.Background,
|
|
285
|
-
...n(this.model) ? [
|
|
286
|
-
...h(this.model) ? [
|
|
287
|
-
...T(this.model) ? [
|
|
287
|
+
...n(this.model) ? [c.AxisLines] : [],
|
|
288
|
+
...h(this.model) ? [c.GridLines] : [],
|
|
289
|
+
...T(this.model) ? [c.LeaderLines] : []
|
|
288
290
|
];
|
|
289
291
|
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));
|
|
290
292
|
return { textElements: t, symbolElements: e };
|
|
291
293
|
}
|
|
292
294
|
renderTextElement(t, e) {
|
|
293
|
-
const s =
|
|
294
|
-
return S`<calcite-list-item class=${g(b.element)} .label=${this._messages[t]} .description=${a} .value=${t} .selected=${
|
|
295
|
+
const s = G(t), o = this.getFormatValue(t), a = typeof o == "string" ? o : "", m = this.selectedTexts.includes(t) || this.selectedSymbols.includes(t) || this.selectedBackground.includes(t);
|
|
296
|
+
return S`<calcite-list-item class=${g(b.element)} .label=${this._messages[t]} .description=${a} .value=${t} .selected=${m} @click=${e} ${$(this.updateSelectableElements)}>${s !== void 0 ? S`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>` : null}</calcite-list-item>`;
|
|
295
297
|
}
|
|
296
298
|
render() {
|
|
297
299
|
const { textElements: t, symbolElements: e } = this.renderFormatElements();
|
|
@@ -2,8 +2,10 @@ 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
|
|
5
|
+
import "../../chunks/series-types.js";
|
|
6
|
+
import { R as r } from "../../chunks/rest-js-object-literals.js";
|
|
6
7
|
import "d3-array";
|
|
8
|
+
import "../../chunks/index.js";
|
|
7
9
|
import "@arcgis/core/Graphic.js";
|
|
8
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
9
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -27,7 +29,7 @@ import { createRef as p, ref as c } from "lit/directives/ref.js";
|
|
|
27
29
|
import { LitElement as m, createEvent as s, safeClassMap as h } from "@arcgis/lumina";
|
|
28
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
30
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.68 */
|
|
31
33
|
const g = {
|
|
32
34
|
jsAppFlyout: "js-app-flyout"
|
|
33
35
|
}, C = a``;
|
|
@@ -1,14 +1,15 @@
|
|
|
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 } from "../../chunks/useT9n.js";
|
|
7
|
-
import { css as
|
|
8
|
-
import { createRef as
|
|
9
|
-
import { LitElement as
|
|
3
|
+
import { d as l } from "../../chunks/series-types.js";
|
|
4
|
+
import { isEmpty as p } from "lodash-es";
|
|
5
|
+
import { m as b, c as m } from "../../chunks/chart-ui-utils2.js";
|
|
6
|
+
import { u as x } from "../../chunks/useT9n.js";
|
|
7
|
+
import { css as u, html as a } from "lit";
|
|
8
|
+
import { createRef as T, ref as f } from "lit/directives/ref.js";
|
|
9
|
+
import { LitElement as C, 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";
|
|
12
13
|
import "@arcgis/core/Graphic.js";
|
|
13
14
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
14
15
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -28,16 +29,16 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
28
29
|
import "@arcgis/toolkit/dom";
|
|
29
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
30
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
31
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.68 */
|
|
32
33
|
const s = {
|
|
33
34
|
textInput: "text-input",
|
|
34
35
|
label: "label",
|
|
35
36
|
labelContainer: "label-container",
|
|
36
37
|
select: "select"
|
|
37
|
-
}, v =
|
|
38
|
-
class y extends
|
|
38
|
+
}, v = u`.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}`;
|
|
39
|
+
class y extends C {
|
|
39
40
|
constructor() {
|
|
40
|
-
super(...arguments), this._messages =
|
|
41
|
+
super(...arguments), this._messages = x(), this.characterLimitInputElement = T(), this.onModelConfigChange = () => {
|
|
41
42
|
this.requestUpdate();
|
|
42
43
|
}, this.resetChartTitleToBeDynamic = () => {
|
|
43
44
|
const e = this.model.generateChartTitle();
|
|
@@ -72,7 +73,7 @@ class y extends $ {
|
|
|
72
73
|
super.disconnectedCallback(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
73
74
|
}
|
|
74
75
|
handleResetButtons() {
|
|
75
|
-
this.isPartialConfig =
|
|
76
|
+
this.isPartialConfig = $(this.model.config);
|
|
76
77
|
const e = this.model.generateChartTitle(), t = this.model.titleText;
|
|
77
78
|
if (this.disableResetButtonForChartTitle = this.isPartialConfig || e === t, n(this.model)) {
|
|
78
79
|
const o = this.model.generateXAxisTitle(), d = this.model.xAxisTitleText;
|
|
@@ -88,7 +89,7 @@ class y extends $ {
|
|
|
88
89
|
}
|
|
89
90
|
setChartTitle(e) {
|
|
90
91
|
const { value: t } = e.target;
|
|
91
|
-
this.isChartTitleInvalid =
|
|
92
|
+
this.isChartTitleInvalid = p(t.trim()), this.characterLimitInputElement.value && b({
|
|
92
93
|
inputElement: this.characterLimitInputElement.value,
|
|
93
94
|
status: this.isChartTitleInvalid ? m.INVALID : m.IDLE
|
|
94
95
|
}), this.isChartTitleInvalid || (this.model.titleText = t);
|
|
@@ -142,7 +143,7 @@ class y extends $ {
|
|
|
142
143
|
] : [];
|
|
143
144
|
}
|
|
144
145
|
render() {
|
|
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} ${
|
|
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} ${f(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) ? [
|
|
146
147
|
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>`,
|
|
147
148
|
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
|
|
148
149
|
] : 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>`;
|