@arcgis/charts-components 5.0.0-next.67 → 5.0.0-next.69
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/2CIZYUEK.js +4 -0
- package/dist/cdn/{UNLQ5ELO.js → 2JNUEUDY.js} +2 -2
- package/dist/cdn/{WHSMSFEW.js → 2MB5NKB7.js} +2 -2
- package/dist/cdn/37WSI2VV.js +4 -0
- package/dist/cdn/3P2VX7VB.js +4 -0
- package/dist/cdn/3QAHNBSJ.js +4 -0
- package/dist/cdn/3QYEBWNO.js +4 -0
- package/dist/cdn/437EATV6.js +4 -0
- package/dist/cdn/{3GXNVQJD.js → 4B4NY3XL.js} +2 -2
- package/dist/cdn/{U5ILKILK.js → 4PZZKFIM.js} +1 -1
- package/dist/cdn/{YHLBU56L.js → 4UPE2VHY.js} +2 -2
- package/dist/cdn/5VIPTN5T.js +4 -0
- package/dist/cdn/{6YATA5XH.js → 67VFQICD.js} +2 -2
- package/dist/cdn/{VVDIUBGZ.js → 6Q4OP4TT.js} +2 -2
- package/dist/cdn/{MZIOXIP7.js → 6RR3DTLK.js} +2 -2
- package/dist/cdn/{LMUM6LKV.js → 6TBXODO4.js} +2 -2
- package/dist/cdn/7DXHZFVO.js +4 -0
- package/dist/cdn/{6GFFHQTN.js → 7JSM6W6S.js} +2 -2
- package/dist/cdn/7LNKW6PO.js +4 -0
- package/dist/cdn/{OFCSXEQP.js → 7NXTFH2R.js} +2 -2
- package/dist/cdn/{NSENNGOG.js → A3ENETMA.js} +2 -2
- package/dist/cdn/{6U5GYB46.js → AAXXGOWZ.js} +2 -2
- package/dist/cdn/{YPLHFFH4.js → AEPQWST7.js} +2 -2
- package/dist/cdn/AGRS2THN.js +4 -0
- package/dist/cdn/{NHRTYFT5.js → APRAFQYU.js} +2 -2
- package/dist/cdn/{PBQ3226J.js → AQOP5KT3.js} +2 -2
- package/dist/cdn/AUE5XDQR.js +4 -0
- package/dist/cdn/{T6VDF5Y2.js → AVEXGKT6.js} +2 -2
- package/dist/cdn/{NYPKOV5W.js → B2RA2KIZ.js} +2 -2
- package/dist/cdn/{3X36GHH7.js → B4E6V7BY.js} +2 -2
- package/dist/cdn/BFBPJUEZ.js +4 -0
- package/dist/cdn/BMDINQ3Z.js +4 -0
- package/dist/cdn/{AVA2PPXK.js → BW4T2U7R.js} +2 -2
- package/dist/cdn/BXLDXQ3U.js +4 -0
- package/dist/cdn/{4G3L7VNZ.js → C73XEW52.js} +2 -2
- package/dist/cdn/CKU42FCU.js +4 -0
- package/dist/cdn/{ORC2TMUB.js → CR4Y2OEF.js} +2 -2
- package/dist/cdn/{6M4NWZMP.js → CSTUDKVD.js} +2 -2
- package/dist/cdn/{OUAO6SMF.js → D6I7RLRQ.js} +2 -2
- package/dist/cdn/DHHJ2R35.js +4 -0
- package/dist/cdn/DK32M732.js +4 -0
- package/dist/cdn/{MAZWQNGN.js → DNSK55TP.js} +2 -2
- package/dist/cdn/{4D5X2UDA.js → DTJAWDHN.js} +2 -2
- package/dist/cdn/ECC3XO2G.js +4 -0
- package/dist/cdn/EEJVQUOL.js +4 -0
- package/dist/cdn/{YZCMFSVD.js → EGXGJCAG.js} +2 -2
- package/dist/cdn/{4PK5HZIR.js → ETTZOEWB.js} +2 -2
- package/dist/cdn/{DKBJ3VMW.js → EY6GOH5K.js} +1 -1
- package/dist/cdn/{X4QCEF5D.js → F2FC4UI3.js} +2 -2
- package/dist/cdn/{4O3BKRGM.js → FEVSHV26.js} +2 -2
- package/dist/cdn/FLBQZMVR.js +4 -0
- package/dist/cdn/{PNAVU7H2.js → FZVTI7EL.js} +2 -2
- package/dist/cdn/{A5VCUMLR.js → G63EMHZJ.js} +2 -2
- package/dist/cdn/{GPBXTTIT.js → GKIHERU3.js} +2 -2
- package/dist/cdn/{ULYLVWX7.js → GRDMWZXC.js} +2 -2
- package/dist/cdn/{Q4FFF2QX.js → GV5G23P3.js} +1 -1
- package/dist/cdn/H24VUONI.js +4 -0
- package/dist/cdn/HELPQFUU.js +4 -0
- package/dist/cdn/HFUC2AMA.js +4 -0
- package/dist/cdn/HHOUWE5A.js +4 -0
- package/dist/cdn/HPKEIMYK.js +4 -0
- package/dist/cdn/HPOXV5VH.js +4 -0
- package/dist/cdn/{YNSARZWD.js → HPTPCOOW.js} +2 -2
- package/dist/cdn/HSLPKGEE.js +4 -0
- package/dist/cdn/I4TC2R7I.js +4 -0
- package/dist/cdn/I7P3T3GU.js +4 -0
- package/dist/cdn/{CAIVRBHU.js → ICKXDLGC.js} +2 -2
- package/dist/cdn/{R6MAZI57.js → IER2XN6B.js} +2 -2
- package/dist/cdn/{LXWPG5I4.js → IHGCZO73.js} +2 -2
- package/dist/cdn/IHLYFTMA.js +4 -0
- package/dist/cdn/{W5X5TYZ2.js → IL6UKIPX.js} +1 -1
- package/dist/cdn/{FVRZ3Y4B.js → IMKEDMPV.js} +2 -2
- package/dist/cdn/J2DGRHPG.js +4 -0
- package/dist/cdn/{4JJSUKYT.js → J6LZQZVG.js} +2 -2
- package/dist/cdn/{ITDSGWYS.js → J762HZUV.js} +2 -2
- package/dist/cdn/{JXSX55IV.js → J7PL33NH.js} +2 -2
- package/dist/cdn/JABB3GOP.js +4 -0
- package/dist/cdn/JAOOU6U2.js +4 -0
- package/dist/cdn/{GQ2JMHTS.js → JDBPQHPI.js} +2 -2
- package/dist/cdn/JFNIQJ7N.js +4 -0
- package/dist/cdn/{N3P2X2V6.js → JHL3FI7K.js} +2 -2
- package/dist/cdn/JIFQO256.js +4 -0
- package/dist/cdn/{43O53QRJ.js → JJXRCHV7.js} +2 -2
- package/dist/cdn/{7X7JJDSC.js → JP4WFGGP.js} +2 -2
- package/dist/cdn/JP6D4QOH.js +4 -0
- package/dist/cdn/JPPCUOKW.js +4 -0
- package/dist/cdn/{WLAYRCM7.js → JU2QMMJU.js} +2 -2
- package/dist/cdn/{WOX5C7EU.js → JUDUQBYS.js} +2 -2
- package/dist/cdn/{VM25NXDP.js → JVTJBKYV.js} +2 -2
- package/dist/cdn/JZUYGZ66.js +4 -0
- package/dist/cdn/{ZFQGMWUL.js → K3TYBT6C.js} +2 -2
- package/dist/cdn/KIG6ZMVD.js +4 -0
- package/dist/cdn/{6WLHCRA3.js → KPAYKKQU.js} +2 -2
- package/dist/cdn/{M7FNGTET.js → KTN5QAFF.js} +2 -2
- package/dist/cdn/KWBVWYKM.js +4 -0
- package/dist/cdn/KWKE4JLD.js +4 -0
- package/dist/cdn/{NUNIYHSJ.js → LFG42DFO.js} +2 -2
- package/dist/cdn/LHH7R37T.js +4 -0
- package/dist/cdn/LJEP5EWE.js +4 -0
- package/dist/cdn/LKRSY3NQ.js +42 -0
- package/dist/cdn/LLZUNU5D.js +4 -0
- package/dist/cdn/{OBDVUV5Q.js → LOQIYSDW.js} +2 -2
- package/dist/cdn/{5SYYNRWF.js → LRIKN45N.js} +2 -2
- package/dist/cdn/{6NACYZJK.js → M7F6E4YF.js} +2 -2
- package/dist/cdn/{56P5H67U.js → MD2JHMZX.js} +2 -2
- package/dist/cdn/{D5UC25XD.js → MHMDWUHX.js} +2 -2
- package/dist/cdn/MNVMHX7J.js +4 -0
- package/dist/cdn/MPZGQPOZ.js +4 -0
- package/dist/cdn/{VXMX2XPU.js → MTMIDXQB.js} +22 -22
- package/dist/cdn/{EPD7TQQJ.js → NH36TJ54.js} +2 -2
- package/dist/cdn/NLSWBB2L.js +4 -0
- package/dist/cdn/{QPWOOTCS.js → NPOTA6I6.js} +2 -2
- package/dist/cdn/{2MM634DB.js → NW3FX676.js} +2 -2
- package/dist/cdn/O4SLRYS4.js +4 -0
- package/dist/cdn/{T3Z2F725.js → O6IBR3JG.js} +2 -2
- package/dist/cdn/{TQV6BTRF.js → P4GRMAYF.js} +2 -2
- package/dist/cdn/{HAXNICJD.js → PKVC4Y4V.js} +2 -2
- package/dist/cdn/{OZHKAQXC.js → POXJ6GET.js} +2 -2
- package/dist/cdn/{3VUWIDFK.js → PY4DDJM3.js} +2 -2
- package/dist/cdn/QIGJJEX5.js +4 -0
- package/dist/cdn/QMUSYY3F.js +4 -0
- package/dist/cdn/{C5V2TI2X.js → QOM74DBW.js} +2 -2
- package/dist/cdn/{OS7B3VGZ.js → QQRNLGPP.js} +2 -2
- package/dist/cdn/QTB4NP32.js +4 -0
- package/dist/cdn/{2U3KNUNA.js → R4WMCWCQ.js} +2 -2
- package/dist/cdn/R64T3GTP.js +4 -0
- package/dist/cdn/R6YGA357.js +4 -0
- package/dist/cdn/R7YSICLI.js +4 -0
- package/dist/cdn/REZB6WT2.js +4 -0
- package/dist/cdn/{DLQU3PKW.js → SG3N5CQV.js} +2 -2
- package/dist/cdn/{PPJQQE5F.js → SPWBT3GP.js} +1 -1
- package/dist/cdn/SSY6O3M2.js +4 -0
- package/dist/cdn/{22K4FFG2.js → SVOCVOGJ.js} +2 -2
- package/dist/cdn/SVPO64LN.js +4 -0
- package/dist/cdn/{76O6Q46Y.js → SWD27INS.js} +2 -2
- package/dist/cdn/{47LYXG4H.js → SWXLNMSZ.js} +2 -2
- package/dist/cdn/SZBRCGO4.js +4 -0
- package/dist/cdn/{TJQZ4PQS.js → TD4UOOBS.js} +2 -2
- package/dist/cdn/TFVWEI2P.js +4 -0
- package/dist/cdn/{BCZ2AFXN.js → TIABUXZQ.js} +2 -2
- package/dist/cdn/{6L7YNW3K.js → TYUZDJA3.js} +2 -2
- package/dist/cdn/UDTT2WM7.js +4 -0
- package/dist/cdn/UNXJK4KZ.js +4 -0
- package/dist/cdn/{PNAEZL5A.js → UT37LHRF.js} +2 -2
- package/dist/cdn/{TUG4HC5H.js → UTWJSR26.js} +1 -1
- package/dist/cdn/{IT5IV6C4.js → UVTJLWFO.js} +2 -2
- package/dist/cdn/{RIPMCTS6.js → V3Y3RPZK.js} +2 -2
- package/dist/cdn/{PXPAIANY.js → VB4REQ6T.js} +2 -2
- package/dist/cdn/{CGCVWF2R.js → VG7OW56R.js} +2 -2
- package/dist/cdn/{UVCPBK7X.js → VHVON3GM.js} +2 -2
- package/dist/cdn/VKWGPB6T.js +4 -0
- package/dist/cdn/VSLH6AYI.js +4 -0
- package/dist/cdn/W2KDQEBA.js +4 -0
- package/dist/cdn/WBFACZZR.js +4 -0
- package/dist/cdn/WBH3BYWK.js +4 -0
- package/dist/cdn/{WT25R7WQ.js → WDYP6WIL.js} +2 -2
- package/dist/cdn/WEOQOCFE.js +4 -0
- package/dist/cdn/WKGUA2JQ.js +6 -0
- package/dist/cdn/WMZUEMYI.js +4 -0
- package/dist/cdn/WSWW4LF7.js +4 -0
- package/dist/cdn/{YRMW7JGB.js → WUNPLMDI.js} +2 -2
- package/dist/cdn/{DCDJSAWS.js → WYXAW6ZR.js} +2 -2
- package/dist/cdn/WZHESYDL.js +4 -0
- package/dist/cdn/{ITNXWCXM.js → X4GETAUN.js} +2 -2
- package/dist/cdn/{UJ237PNN.js → X5G6PKI7.js} +2 -2
- package/dist/cdn/XDDUFIU5.js +4 -0
- package/dist/cdn/{FY4S4MPB.js → XUPFCQYC.js} +2 -2
- package/dist/cdn/{LCSHXS5B.js → XWOU7O3E.js} +2 -2
- package/dist/cdn/XZFTPPDR.js +4 -0
- package/dist/cdn/Y3IBFBHH.js +4 -0
- package/dist/cdn/{OYSBROSS.js → Y7FDEDUJ.js} +2 -2
- package/dist/cdn/YCNCHUZN.js +4 -0
- package/dist/cdn/{54EOWPOO.js → YJF7KING.js} +2 -2
- package/dist/cdn/{MF3ZREZV.js → YNOR64WQ.js} +2 -2
- package/dist/cdn/YURJTAZG.js +4 -0
- package/dist/cdn/YUUBM6RV.js +4 -0
- package/dist/cdn/YWJVVIRI.js +4 -0
- package/dist/cdn/Z6IN2JR3.js +4 -0
- package/dist/cdn/{IRKBRCFZ.js → Z6IRLFB7.js} +2 -2
- package/dist/cdn/ZEUTRCUI.js +4 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/events/index.d.ts +5 -3
- package/dist/chart-rendering/next/chart-library-elements/series/heat-chart/index.d.ts +15 -0
- package/dist/chunks/action-bar-utils.js +20 -19
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +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 +3 -2
- 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.d.ts +7 -0
- package/dist/components/arcgis-chart/customElement.js +4563 -4507
- 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 +18 -2
- package/dist/docs/docs.json +24 -2
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +12 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +417 -414
- package/dist/loader.js +1 -1
- package/dist/model.js +109 -35
- package/dist/types/lumina.d.ts +1 -0
- package/dist/types/preact.d.ts +1 -0
- package/dist/types/preact10.d.ts +1 -0
- package/dist/types/react.d.ts +1 -0
- package/dist/types/stencil.d.ts +1 -0
- package/dist/utils/misc/interfaces.d.ts +13 -1
- package/dist/utils/types/index.d.ts +1 -0
- 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
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { c as B } from "../../chunks/runtime.js";
|
|
2
2
|
import { keyed as X } from "lit/directives/keyed.js";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
|
-
import { cloneDeep as
|
|
5
|
-
import {
|
|
4
|
+
import { cloneDeep as E } from "lodash-es";
|
|
5
|
+
import { W as z } from "../../chunks/series-types.js";
|
|
6
|
+
import { R as u, c as N } from "../../chunks/rest-js-object-literals.js";
|
|
6
7
|
import "d3-array";
|
|
8
|
+
import { j as p, cC as Z, cD as P, cE as F, aE as j } from "../../chunks/index.js";
|
|
7
9
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
8
10
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
9
11
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -11,11 +13,11 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
11
13
|
import "@arcgis/core/time/TimeExtent.js";
|
|
12
14
|
import "@arcgis/core/core/promiseUtils.js";
|
|
13
15
|
import "@arcgis/core/request.js";
|
|
14
|
-
import { c as g, b as
|
|
15
|
-
import { r as
|
|
16
|
-
import { m as $, d as
|
|
16
|
+
import { c as g, b as O } from "../../chunks/index3.js";
|
|
17
|
+
import { r as V } from "../../chunks/popover-ui-utils.js";
|
|
18
|
+
import { m as $, d as W, g as q, j as L, c as G } from "../../chunks/chart-ui-utils2.js";
|
|
17
19
|
import { d as M } from "../../chunks/default.js";
|
|
18
|
-
import { g as
|
|
20
|
+
import { g as U } from "../../chunks/resource.js";
|
|
19
21
|
import { u as Y } from "../../chunks/useT9n.js";
|
|
20
22
|
import { css as H, html as d } from "lit";
|
|
21
23
|
import { createRef as h, ref as m } from "lit/directives/ref.js";
|
|
@@ -24,7 +26,7 @@ import { G as S } from "../../chunks/common.js";
|
|
|
24
26
|
import { j as Q, n as ee, o as te } from "../../chunks/type-guards.js";
|
|
25
27
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
26
28
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
27
|
-
v5.0.0-next.
|
|
29
|
+
v5.0.0-next.69 */
|
|
28
30
|
const n = {
|
|
29
31
|
row: "row",
|
|
30
32
|
column: "column",
|
|
@@ -35,7 +37,7 @@ class se extends J {
|
|
|
35
37
|
super(...arguments), this._messages = Y(), this.startCalciteInput = h(), this.endCalciteInput = h(), this.startDateCalciteInput = h(), this.endDateCalciteInput = h(), this.startTimeCalciteInput = h(), this.endTimeCalciteInput = h(), this.colorElement = h(), this.colorChange = (e) => {
|
|
36
38
|
const t = e.detail, i = this.model.getGuideStart(this.index, this.orientation), a = this.model.getGuideEnd(this.index, this.orientation);
|
|
37
39
|
if (p(i, a) === u.SLS) {
|
|
38
|
-
const l =
|
|
40
|
+
const l = E(M.style), s = this.model.getGuideStyle(this.index, this.orientation), r = {
|
|
39
41
|
...l,
|
|
40
42
|
...g(s) ? s : {},
|
|
41
43
|
color: t
|
|
@@ -46,7 +48,7 @@ class se extends J {
|
|
|
46
48
|
}, this.symbolChange = (e) => {
|
|
47
49
|
const t = e?.detail, i = this.model.getGuideStart(this.index, this.orientation), a = this.model.getGuideEnd(this.index, this.orientation);
|
|
48
50
|
if (p(i, a) === u.SLS) {
|
|
49
|
-
const l =
|
|
51
|
+
const l = E(M.style), s = this.model.getGuideStyle(this.index, this.orientation), r = {
|
|
50
52
|
...l,
|
|
51
53
|
...g(s) ? s : {},
|
|
52
54
|
...g(t) ? t : {}
|
|
@@ -110,7 +112,7 @@ class se extends J {
|
|
|
110
112
|
})), this.guidePopover?.open === !0 && this.removeGuidePopover();
|
|
111
113
|
}
|
|
112
114
|
setGuideDateTimeRange() {
|
|
113
|
-
const e = this.calculatedMinMaxBounds?.find((c) => c.isXAxis)?.minimum, t = this.calculatedMinMaxBounds?.find((c) => c.isXAxis)?.maximum, i = typeof e == "number" ? new Date(e) : /* @__PURE__ */ new Date(), a = typeof t == "number" ? new Date(t) : /* @__PURE__ */ new Date(), l = new window.Intl.DateTimeFormat().resolvedOptions().timeZone, s =
|
|
115
|
+
const e = this.calculatedMinMaxBounds?.find((c) => c.isXAxis)?.minimum, t = this.calculatedMinMaxBounds?.find((c) => c.isXAxis)?.maximum, i = typeof e == "number" ? new Date(e) : /* @__PURE__ */ new Date(), a = typeof t == "number" ? new Date(t) : /* @__PURE__ */ new Date(), l = new window.Intl.DateTimeFormat().resolvedOptions().timeZone, s = Z(this.timeZone) ?? l, r = P(i, s), f = F(i, s), v = P(a, s), R = F(a, s), T = this.startDateCalciteInput.value?.value ?? "", x = T === "" ? r : T, D = this.startTimeCalciteInput.value?.value ?? "", w = D === "" ? f : D, C = this.endDateCalciteInput.value?.value ?? "", y = C === "" ? v : C, I = this.endTimeCalciteInput.value?.value ?? "", k = I === "" ? R : I;
|
|
114
116
|
let b = !1;
|
|
115
117
|
if (!Array.isArray(x) && x !== void 0 && w !== void 0) {
|
|
116
118
|
const c = `${x}T${w}`;
|
|
@@ -170,11 +172,11 @@ class se extends J {
|
|
|
170
172
|
Array.isArray(t?.color) ? (this.guidePopover = A(d`<arcgis-charts-config-guide-popover .referenceElement=${s} open .selectedElement=${l} @arcgisChartsConfigGuidePopoverColorChange=${this.colorChange} @arcgisChartsConfigGuidePopoverSymbolChange=${this.symbolChange} @arcgisChartsConfigPopoverClose=${this.removeGuidePopover}></arcgis-charts-config-guide-popover>`), this.guidePopover !== void 0 && !document.body.contains(this.guidePopover) && document.body.appendChild(this.guidePopover)) : this.removeGuidePopover();
|
|
171
173
|
}
|
|
172
174
|
removeGuidePopover() {
|
|
173
|
-
this.guidePopover !== null && this.guidePopover !== void 0 && (this.guidePopover =
|
|
175
|
+
this.guidePopover !== null && this.guidePopover !== void 0 && (this.guidePopover = V(this.guidePopover));
|
|
174
176
|
}
|
|
175
177
|
setColor(e) {
|
|
176
|
-
const t =
|
|
177
|
-
...
|
|
178
|
+
const t = j({ opacity: 0 }), i = this.model.getGuideStyle(this.index, this.orientation), a = {
|
|
179
|
+
...O(i) ? i : {},
|
|
178
180
|
type: u.SFS,
|
|
179
181
|
color: e,
|
|
180
182
|
outline: t
|
|
@@ -213,7 +215,7 @@ class se extends J {
|
|
|
213
215
|
this.model.setGuideVisibility(!e, this.index, this.orientation);
|
|
214
216
|
}
|
|
215
217
|
destroyTooltip() {
|
|
216
|
-
|
|
218
|
+
W(this.tooltip);
|
|
217
219
|
}
|
|
218
220
|
deleteGuide() {
|
|
219
221
|
this.destroyTooltip(), this.orientation === S.X && ee(this.model) ? this.model.deleteXAxisGuide(this.index) : this.orientation === S.Y && te(this.model) && this.model.deleteYAxisGuide(this.index), this.arcgisChartsConfigGuideChange.emit({
|
|
@@ -223,12 +225,12 @@ class se extends J {
|
|
|
223
225
|
});
|
|
224
226
|
}
|
|
225
227
|
renderColorElement() {
|
|
226
|
-
const e = this.model.getGuideStyle(this.index, this.orientation), [t, i, a, l] = [...e?.color ?? [1, 1, 1, 255]], s = this.model.getGuideStart(this.index, this.orientation), r = this.model.getGuideEnd(this.index, this.orientation), f = g(e) ?
|
|
228
|
+
const e = this.model.getGuideStyle(this.index, this.orientation), [t, i, a, l] = [...e?.color ?? [1, 1, 1, 255]], s = this.model.getGuideStart(this.index, this.orientation), r = this.model.getGuideEnd(this.index, this.orientation), f = g(e) ? q(e.style) : N.Solid, v = p(s, r) === u.SLS ? `line-${f}` : "square-f";
|
|
227
229
|
return d`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .value=${this._messages.style} class=${o(n.colorPicker)} .label=${this._messages.style} .selected=${this.guidePopover?.open} @click=${this.onColorElementSelect} ${m(this.colorElement)}><calcite-icon slot=content-end .icon=${v} style=${_({ color: `rgba(${t},${i},${a},${l / 255})` })}></calcite-icon></calcite-list-item></calcite-list>`;
|
|
228
230
|
}
|
|
229
231
|
render() {
|
|
230
232
|
const e = this.model.getGuideStart(this.index, this.orientation), t = this.model.getGuideEnd(this.index, this.orientation), i = this.model.getGuideName(this.index, this.orientation), a = this.model.getGuideLabelText(this.index, this.orientation), l = this.model.getGuideAbove(this.index, this.orientation), s = this.model.getGuideVisibility(this.index, this.orientation), r = this.isXAxisDateField;
|
|
231
|
-
return d`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition ===
|
|
233
|
+
return d`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition === U(this.index, this.orientation, this.model)} collapsible .messageOverrides=${{
|
|
232
234
|
expand: this._messages.expand,
|
|
233
235
|
collapse: this._messages.collapse
|
|
234
236
|
}}><calcite-action slot=control text .icon=${s ? "view-visible" : "view-hide"} @click=${this.toggleGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><calcite-action slot=control text icon=trash @click=${this.deleteGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.start}${r ? d`<calcite-input-date-picker .value=${this.getDateStringFromBound(e)} required scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${m(this.startDateCalciteInput)}></calcite-input-date-picker>` : d`<calcite-input type=number required @calciteInputInput=${this.setGuideStart} @keydown=${L} number-button-type=none .value=${e?.toString()} ${m(this.startCalciteInput)}></calcite-input>`}</calcite-label><calcite-label class=${o(n.column)}>${this._messages.end}${r ? d`<calcite-input-date-picker .value=${this.getDateStringFromBound(t)} scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${m(this.endDateCalciteInput)}></calcite-input-date-picker>` : d`<calcite-input type=number @calciteInputInput=${this.setGuideEnd} @keydown=${L} number-button-type=none .value=${t?.toString()} ${m(this.endCalciteInput)}></calcite-input>`}</calcite-label></div>${r ? X("time-picker-row", d`<div class=${o(n.row)}>${e != null ? d`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(e)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${m(this.startTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}${t != null ? d`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(t)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${m(this.endTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}</div>`) : null}<div class=${o(n.row)}><div class=${o(n.column)}>${this.renderColorElement()}</div></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideName}<calcite-input type=text .value=${i} @calciteInputInput=${this.setGuideName}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideLabel}<calcite-input type=text .value=${a} @calciteInputInput=${this.setGuideLabel}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.display}<calcite-segmented-control @calciteSegmentedControlChange=${this.setGuideRendered} scale=s><calcite-segmented-control-item .checked=${l} .value=${this._messages.inFront}>${this._messages.inFront}</calcite-segmented-control-item><calcite-segmented-control-item .checked=${!l} .value=${this._messages.inBack}>${this._messages.inBack}</calcite-segmented-control-item></calcite-segmented-control></calcite-label></div></calcite-block>`;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { c as r } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as l, html as o } from "lit";
|
|
3
|
-
import
|
|
3
|
+
import "../../chunks/series-types.js";
|
|
4
|
+
import { R as p } from "../../chunks/rest-js-object-literals.js";
|
|
4
5
|
import "@arcgis/toolkit/intl";
|
|
5
6
|
import "lodash-es";
|
|
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";
|
|
@@ -28,7 +30,7 @@ import { createRef as c, ref as m } from "lit/directives/ref.js";
|
|
|
28
30
|
import { LitElement as h, createEvent as s, safeClassMap as g } 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.69 */
|
|
32
34
|
const C = {
|
|
33
35
|
jsAppFlyout: "js-app-flyout"
|
|
34
36
|
}, d = l``;
|
|
@@ -1,48 +1,29 @@
|
|
|
1
1
|
import { c as p } from "../../chunks/runtime.js";
|
|
2
|
-
import { cloneDeep as
|
|
2
|
+
import { cloneDeep as r } from "lodash-es";
|
|
3
3
|
import { d as g } from "../../chunks/default.js";
|
|
4
|
-
import { g as
|
|
4
|
+
import { g as l, H as m } from "../../chunks/resource.js";
|
|
5
5
|
import { u as f } from "../../chunks/useT9n.js";
|
|
6
6
|
import { css as A, html as a } from "lit";
|
|
7
7
|
import { createRef as x, ref as C } from "lit/directives/ref.js";
|
|
8
8
|
import { LitElement as v, renderElement as b, safeClassMap as c } from "@arcgis/lumina";
|
|
9
9
|
import { G as s } from "../../chunks/common.js";
|
|
10
|
-
import { n as
|
|
11
|
-
import "../../chunks/
|
|
12
|
-
import "@arcgis/toolkit/intl";
|
|
13
|
-
import "d3-array";
|
|
14
|
-
import "@arcgis/core/Graphic.js";
|
|
15
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
16
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
17
|
-
import "@arcgis/core/intl.js";
|
|
18
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
19
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
20
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
21
|
-
import "simple-statistics";
|
|
22
|
-
import "@arcgis/core/request.js";
|
|
23
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
24
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
25
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
26
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
27
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
28
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
29
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
30
|
-
import "@arcgis/toolkit/dom";
|
|
10
|
+
import { n as h, o as u } from "../../chunks/type-guards.js";
|
|
11
|
+
import "../../chunks/series-types.js";
|
|
31
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
13
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
14
|
+
v5.0.0-next.69 */
|
|
34
15
|
const P = A`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.add-guide{display:flex;justify-content:center;padding:.5rem}.add-guide-btn{width:100%}.no-guides{border-radius:2rem}.no-messages{text-align:center}.guide-icon{padding-left:.5rem;padding-top:.5rem;width:1.5rem;height:1.5rem}`;
|
|
35
16
|
class $ extends v {
|
|
36
17
|
constructor() {
|
|
37
18
|
super(...arguments), this._messages = f(), this.addGuideButton = x(), this.guideTypePopover = null, this.addXGuide = (e) => {
|
|
38
|
-
if (
|
|
19
|
+
if (h(this.model)) {
|
|
39
20
|
const t = this.getUniqueName(this._messages.xAxisGuide ?? ""), i = this.model.getXGuidesLength() ?? 0;
|
|
40
|
-
this.model.addXAxisGuide(t, i), this.model.setGuideStyle(
|
|
21
|
+
this.model.addXAxisGuide(t, i), this.model.setGuideStyle(r(g.style), i, s.X), this.latestGuidePosition = l(i, s.X, this.model), this.togglePopOver(e);
|
|
41
22
|
}
|
|
42
23
|
}, this.addYGuide = (e) => {
|
|
43
|
-
if (
|
|
24
|
+
if (u(this.model)) {
|
|
44
25
|
const t = this.getUniqueName(this._messages.yAxisGuide ?? ""), i = this.model.getYGuidesLength() ?? 0;
|
|
45
|
-
this.model.addYAxisGuide(t, i), this.model.setGuideStyle(
|
|
26
|
+
this.model.addYAxisGuide(t, i), this.model.setGuideStyle(r(g.style), i, s.Y), this.latestGuidePosition = l(i, s.Y, this.model), this.togglePopOver(e);
|
|
46
27
|
}
|
|
47
28
|
}, this.togglePopOver = (e) => {
|
|
48
29
|
e.stopImmediatePropagation(), this.enableXAxisGuide && this.enableYAxisGuide && (this.showAddButton = !this.showAddButton);
|
|
@@ -71,18 +52,18 @@ class $ extends v {
|
|
|
71
52
|
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
72
53
|
}
|
|
73
54
|
getAllGuidesLength() {
|
|
74
|
-
const e =
|
|
55
|
+
const e = h(this.model) ? this.model.getXGuidesLength() ?? 0 : 0, t = u(this.model) ? this.model.getYGuidesLength() ?? 0 : 0;
|
|
75
56
|
return e + t;
|
|
76
57
|
}
|
|
77
58
|
getUniqueName(e, t = 1) {
|
|
78
59
|
const i = `${e} ${t}`;
|
|
79
60
|
let d = !1;
|
|
80
|
-
if (
|
|
61
|
+
if (h(this.model)) {
|
|
81
62
|
const o = this.model.getXGuidesLength() ?? 0;
|
|
82
63
|
for (let n = 0; n < o && !d; n += 1)
|
|
83
64
|
this.model.getGuideName(n, s.X) === i && (d = !0);
|
|
84
65
|
}
|
|
85
|
-
if (
|
|
66
|
+
if (u(this.model)) {
|
|
86
67
|
const o = this.model.getYGuidesLength() ?? 0;
|
|
87
68
|
for (let n = 0; n < o && !d; n += 1)
|
|
88
69
|
this.model.getGuideName(n, s.Y) === i && (d = !0);
|
|
@@ -90,7 +71,7 @@ class $ extends v {
|
|
|
90
71
|
return d ? this.getUniqueName(e, t + 1) : i;
|
|
91
72
|
}
|
|
92
73
|
setChangedGuide(e) {
|
|
93
|
-
const { index: t, orientation: i, isDelete: d } = e.detail, o =
|
|
74
|
+
const { index: t, orientation: i, isDelete: d } = e.detail, o = l(t, i, this.model);
|
|
94
75
|
d && o !== void 0 && o <= this.latestGuidePosition && this.latestGuidePosition > 0 && (this.latestGuidePosition -= 1);
|
|
95
76
|
}
|
|
96
77
|
setupGuidePopover(e) {
|
|
@@ -106,12 +87,12 @@ class $ extends v {
|
|
|
106
87
|
}
|
|
107
88
|
renderGuides() {
|
|
108
89
|
const e = [];
|
|
109
|
-
if (
|
|
90
|
+
if (h(this.model)) {
|
|
110
91
|
const t = this.model.getXGuidesLength() ?? 0;
|
|
111
92
|
for (let i = 0; i < t; i += 1)
|
|
112
93
|
e.push(this.renderGuide(i, s.X));
|
|
113
94
|
}
|
|
114
|
-
if (
|
|
95
|
+
if (u(this.model)) {
|
|
115
96
|
const t = this.model.getYGuidesLength() ?? 0;
|
|
116
97
|
for (let i = 0; i < t; i += 1)
|
|
117
98
|
e.push(this.renderGuide(i, s.Y));
|
|
@@ -5,8 +5,9 @@ import { u as o } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { createRef as r, ref as a } from "lit/directives/ref.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import "lodash-es";
|
|
8
|
-
import "../../chunks/
|
|
8
|
+
import "../../chunks/series-types.js";
|
|
9
9
|
import "d3-array";
|
|
10
|
+
import "../../chunks/index.js";
|
|
10
11
|
import "@arcgis/core/Graphic.js";
|
|
11
12
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
13
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -27,7 +28,7 @@ import "@arcgis/toolkit/dom";
|
|
|
27
28
|
import { e as p } from "../../chunks/popover-ui-utils.js";
|
|
28
29
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
30
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
30
|
-
v5.0.0-next.
|
|
31
|
+
v5.0.0-next.69 */
|
|
31
32
|
class l extends s {
|
|
32
33
|
constructor() {
|
|
33
34
|
super(...arguments), this._messages = o(), this.popoverElement = r(), this.onAddXGuide = () => {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { isEqual as r } from "lodash-es";
|
|
4
|
-
import
|
|
4
|
+
import "../../chunks/series-types.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
+
import { g as n, bB as h } from "../../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";
|
|
@@ -19,16 +20,16 @@ import "@arcgis/core/rest/support/Query.js";
|
|
|
19
20
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
20
21
|
import "@arcgis/core/time/TimeExtent.js";
|
|
21
22
|
import "@arcgis/core/core/promiseUtils.js";
|
|
22
|
-
import { b as c, h as
|
|
23
|
+
import { b as c, h as m } from "../../chunks/index3.js";
|
|
23
24
|
import "@arcgis/toolkit/dom";
|
|
24
|
-
import { LitElement as
|
|
25
|
+
import { LitElement as d } from "@arcgis/lumina";
|
|
25
26
|
import { css as g, html as i } from "lit";
|
|
26
27
|
import { C as s } from "../../chunks/interfaces.js";
|
|
27
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
28
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
29
|
-
v5.0.0-next.
|
|
30
|
+
v5.0.0-next.69 */
|
|
30
31
|
const f = g`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
31
|
-
class p extends
|
|
32
|
+
class p extends d {
|
|
32
33
|
constructor() {
|
|
33
34
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
34
35
|
const t = e?.detail.config ?? this.model.config;
|
|
@@ -63,7 +64,7 @@ class p extends m {
|
|
|
63
64
|
const a = e ?? this.model.config;
|
|
64
65
|
let t = this.layer;
|
|
65
66
|
if (!t) {
|
|
66
|
-
const o =
|
|
67
|
+
const o = m(a) ? a.iLayer : void 0;
|
|
67
68
|
o && (t = await n(o));
|
|
68
69
|
}
|
|
69
70
|
t && (this.layerFieldsInfo = await h(t, this.usePopupTemplateFieldsInfo));
|
|
@@ -2,8 +2,10 @@ import { c as k } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import { debounce as y } from "lodash-es";
|
|
5
|
-
import {
|
|
5
|
+
import { b as p } from "../../chunks/series-types.js";
|
|
6
|
+
import { R as M } from "../../chunks/rest-js-object-literals.js";
|
|
6
7
|
import "d3-array";
|
|
8
|
+
import { cR as I, aA as L, ay as V } 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";
|
|
@@ -26,12 +28,12 @@ import { H as m, d as a, b as d } from "../../chunks/interfaces.js";
|
|
|
26
28
|
import { b as P, m as C, U as S, f as N, s as F, c as D, D as B } from "../../chunks/chart-ui-utils2.js";
|
|
27
29
|
import { d as _, s as H } from "../../chunks/store.js";
|
|
28
30
|
import { u as K } from "../../chunks/useT9n.js";
|
|
29
|
-
import { css as
|
|
31
|
+
import { css as A, html as r } from "lit";
|
|
30
32
|
import { createRef as b, ref as v } from "lit/directives/ref.js";
|
|
31
|
-
import { LitElement as
|
|
33
|
+
import { LitElement as z, createEvent as $, renderElement as U, safeStyleMap as O, safeClassMap as s } 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.69 */
|
|
35
37
|
const o = {
|
|
36
38
|
label: "label",
|
|
37
39
|
row: "row",
|
|
@@ -40,8 +42,8 @@ const o = {
|
|
|
40
42
|
sectionLabel: "section-label",
|
|
41
43
|
binTextPadding: "bin-text-padding",
|
|
42
44
|
histogramStatsList: "histogram-stats-list"
|
|
43
|
-
},
|
|
44
|
-
class
|
|
45
|
+
}, R = 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{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}calcite-list-item{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor)}.label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.row{padding-top:1rem}.bin-count-container{display:flex;flex-wrap:wrap;padding:var(--arcgis-charts-config-margin-minor)}.bin-count-container>calcite-slider{flex-grow:10;min-width:50%}.bin-count-container>calcite-input{margin-bottom:.5rem;margin-top:var(--arcgis-charts-config-margin-minor);margin-left:var(--arcgis-charts-config-margin-minor);width:5rem}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.bin-text-padding{margin-left:var(--arcgis-charts-config-margin-minor)}.histogram-stats-list{pointer-events:none;margin-bottom:var(--arcgis-charts-config-margin-minor)}`;
|
|
46
|
+
class j extends z {
|
|
45
47
|
constructor() {
|
|
46
48
|
super(...arguments), this._messages = K(), this.numericalFieldSelectionElement = b(), this.transformationSelectionElement = b(), this.histogramPopover = null, this.binColorSectionElement = b(), this.binSliderElement = b(), this.binInputElement = b(), this.popoverHeading = "", this.onBinCountChange = y(() => {
|
|
47
49
|
const e = this.binInputElement.value?.value;
|
|
@@ -106,7 +108,7 @@ class R extends A {
|
|
|
106
108
|
this.properties = { binColorSelected: 16, selectedBinColorSymbol: 16, selectedOverlaySymbol: 16, selectedNumericalField: 16, selectedTransformationType: 16, selectedOverlaySymbolType: 1, messageOverrides: 0, model: 0, meanValue: 9, medianValue: 9, standardDevValue: 9, minValue: 9, maxValue: 9, sumValue: 9, nullsValue: 9, countValue: 9, layerFieldsInfo: 0, open: 5 };
|
|
107
109
|
}
|
|
108
110
|
static {
|
|
109
|
-
this.styles =
|
|
111
|
+
this.styles = R;
|
|
110
112
|
}
|
|
111
113
|
get selectedBinColorSymbol() {
|
|
112
114
|
return this._selectedBinColorSymbol;
|
|
@@ -334,7 +336,7 @@ class R extends A {
|
|
|
334
336
|
return r`<div class=${s(o.sectionLabel)}>${this._messages.variables}</div><calcite-label class=${s(o.label)}>${this._messages.number}${e}</calcite-label><calcite-label class=${s(o.label)}>${this._messages.withTransformation}${t}</calcite-label><div class=${s(o.sectionLabel)}>${this._messages.bins}</div><p class=${s(o.binTextPadding)}>${this._messages.numberOfBins}</p>${this.renderBinsSection()}${this.renderBinColorElement()}<div class=${s(o.sectionLabel)}>${this._messages.overlays}</div>${this.renderOverlayList()}${this.renderShowDataLabels()}<div class=${s(o.sectionLabel)}>${this._messages.statistics}</div>${this.renderStats()}`;
|
|
335
337
|
}
|
|
336
338
|
}
|
|
337
|
-
k("arcgis-charts-config-histogram-data",
|
|
339
|
+
k("arcgis-charts-config-histogram-data", j);
|
|
338
340
|
export {
|
|
339
|
-
|
|
341
|
+
j as ArcgisChartsConfigHistogramData
|
|
340
342
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { c as y } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as v, html as o } from "lit";
|
|
3
3
|
import { keyed as c } from "lit/directives/keyed.js";
|
|
4
|
-
import {
|
|
4
|
+
import { b as s } from "../../chunks/series-types.js";
|
|
5
|
+
import { R as u } from "../../chunks/rest-js-object-literals.js";
|
|
5
6
|
import "@arcgis/toolkit/intl";
|
|
6
7
|
import "lodash-es";
|
|
7
8
|
import "d3-array";
|
|
9
|
+
import { bE as b, cR as C, an as $ } from "../../chunks/index.js";
|
|
8
10
|
import "@arcgis/core/Graphic.js";
|
|
9
11
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
12
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -30,7 +32,7 @@ import { createRef as h, ref as d } from "lit/directives/ref.js";
|
|
|
30
32
|
import { LitElement as w, createEvent as p, safeClassMap as t } from "@arcgis/lumina";
|
|
31
33
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
34
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
35
|
+
v5.0.0-next.69 */
|
|
34
36
|
const i = {
|
|
35
37
|
symbolPropertyPopover: "symbol-property-popover",
|
|
36
38
|
colorPicker: "color-picker",
|
|
@@ -65,7 +67,7 @@ class T extends w {
|
|
|
65
67
|
if (e === l.numericFields)
|
|
66
68
|
for (let r = 0; r < this.layerFieldsInfo?.length; r += 1) {
|
|
67
69
|
const a = this.layerFieldsInfo[r];
|
|
68
|
-
|
|
70
|
+
b(a) && n.push(c(a.name, o`<calcite-list-item .label=${C(this.layerFieldsInfo, a.name)} .value=${a.name} .selected=${this.selectedNumericField === a.name}></calcite-list-item>`));
|
|
69
71
|
}
|
|
70
72
|
else {
|
|
71
73
|
const r = [
|
|
@@ -89,7 +91,7 @@ class T extends w {
|
|
|
89
91
|
fillColorChange(e) {
|
|
90
92
|
const n = e.detail, [r, a, g] = n, f = $ * 255;
|
|
91
93
|
this.arcgisChartsConfigHistogramPopoverSymbolChange.emit({
|
|
92
|
-
type:
|
|
94
|
+
type: u.SFS,
|
|
93
95
|
color: [r, a, g, f]
|
|
94
96
|
});
|
|
95
97
|
}
|
|
@@ -4,7 +4,7 @@ import { c as a } from "../../chunks/chart-ui-utils2.js";
|
|
|
4
4
|
import { LitElement as e, safeClassMap as l } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.69 */
|
|
8
8
|
const n = {
|
|
9
9
|
invalidMessageColor: "invalid-message-color"
|
|
10
10
|
}, o = i`:host{display:block}.invalid-message-color{color:red}`;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { isEqual as o } from "lodash-es";
|
|
4
|
-
import
|
|
4
|
+
import "../../chunks/series-types.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
+
import { g as n, bB as h, bE as c, bF as d } from "../../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";
|
|
@@ -26,7 +27,7 @@ import { css as p, html as a } from "lit";
|
|
|
26
27
|
import { C as r } from "../../chunks/interfaces.js";
|
|
27
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
28
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
29
|
-
v5.0.0-next.
|
|
30
|
+
v5.0.0-next.69 */
|
|
30
31
|
const u = p`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
31
32
|
class C extends g {
|
|
32
33
|
constructor() {
|
|
@@ -66,10 +67,10 @@ class C extends g {
|
|
|
66
67
|
const s = m(e) ? e.iLayer : void 0;
|
|
67
68
|
s && (i = await n(s));
|
|
68
69
|
}
|
|
69
|
-
i && (this.layerFieldsInfo = await
|
|
70
|
+
i && (this.layerFieldsInfo = await h(i, this.usePopupTemplateFieldsInfo));
|
|
70
71
|
}
|
|
71
72
|
render() {
|
|
72
|
-
const t = this.layerFieldsInfo?.find((s) => s.name === this.model.xAxisField), e = t !== void 0 && (
|
|
73
|
+
const t = this.layerFieldsInfo?.find((s) => s.name === this.model.xAxisField), e = t !== void 0 && (c(t) || d(t));
|
|
73
74
|
let i;
|
|
74
75
|
switch (this.page) {
|
|
75
76
|
case r.Data:
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { c as F } from "../../chunks/runtime.js";
|
|
2
2
|
import { keyed as x } from "lit/directives/keyed.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { a as c, i as v, m } from "../../chunks/series-types.js";
|
|
4
|
+
import { a as u } from "../../chunks/rest-js-object-literals.js";
|
|
5
|
+
import { LitElement as I, createEvent as g, renderElement as A, safeClassMap as s } from "@arcgis/lumina";
|
|
6
|
+
import { css as B, html as o } from "lit";
|
|
6
7
|
import { createRef as d, ref as h } from "lit/directives/ref.js";
|
|
7
|
-
import { u as
|
|
8
|
+
import { u as C } from "../../chunks/useT9n.js";
|
|
8
9
|
import { L as a } from "../../chunks/interfaces.js";
|
|
9
|
-
import { d as
|
|
10
|
+
import { d as T, s as f, r as k, g as S } from "../../chunks/store.js";
|
|
10
11
|
import "@arcgis/toolkit/intl";
|
|
11
|
-
import { isEqual as
|
|
12
|
+
import { isEqual as E } from "lodash-es";
|
|
12
13
|
import "d3-array";
|
|
14
|
+
import { bD as y, bm as L, bn as w, cR as b, cY as P } from "../../chunks/index.js";
|
|
13
15
|
import "@arcgis/core/Graphic.js";
|
|
14
16
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
15
17
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -31,8 +33,8 @@ import { r as _ } from "../../chunks/popover-ui-utils.js";
|
|
|
31
33
|
import { x as D } from "../../chunks/data.js";
|
|
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.
|
|
35
|
-
const N =
|
|
36
|
+
v5.0.0-next.69 */
|
|
37
|
+
const N = B`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:.5rem;justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:1.5rem;justify-content:center}.link-container{display:flex;justify-content:flex-end}`, n = {
|
|
36
38
|
label: "label",
|
|
37
39
|
fieldList: "field-list",
|
|
38
40
|
fab: "fab",
|
|
@@ -40,13 +42,13 @@ const N = S`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolu
|
|
|
40
42
|
linkContainer: "link-container",
|
|
41
43
|
dimText: "dim-text"
|
|
42
44
|
};
|
|
43
|
-
class U extends
|
|
45
|
+
class U extends I {
|
|
44
46
|
constructor() {
|
|
45
|
-
super(...arguments), this._messages =
|
|
47
|
+
super(...arguments), this._messages = C(), this.commonStrings = C({ name: "common", blocking: !0 }), this.lineChartPopover = null, this.aggregationElement = d(), this.xAxisFieldElement = d(), this.numericFieldsElement = d(), this.splitByFieldElement = d(), this.intervalAlignmentElement = d(), this.intervalElement = d(), this.onLineChartDataChange = (e) => {
|
|
46
48
|
try {
|
|
47
49
|
if (e.detail !== null && e.detail?.value !== void 0) {
|
|
48
50
|
const { contentKind: t } = e.detail, i = [...e.detail.value];
|
|
49
|
-
switch (
|
|
51
|
+
switch (T(f), t) {
|
|
50
52
|
case a.aggregation:
|
|
51
53
|
this.model.aggregationType = i[0] !== c.NoAggregation ? i[0] : c.NoAggregation;
|
|
52
54
|
break;
|
|
@@ -56,7 +58,7 @@ class U extends T {
|
|
|
56
58
|
break;
|
|
57
59
|
}
|
|
58
60
|
case a.numericFields:
|
|
59
|
-
this.model.numericFields = i, this.model.numericFields.length > 0 && this.model.aggregationType === c.Count && this.model.numericFields[0] !==
|
|
61
|
+
this.model.numericFields = i, this.model.numericFields.length > 0 && this.model.aggregationType === c.Count && this.model.numericFields[0] !== y(this.layerFieldsInfo) && (this.model.aggregationType = c.Sum);
|
|
60
62
|
break;
|
|
61
63
|
case a.splitByField: {
|
|
62
64
|
const l = i[0]?.trim() || "";
|
|
@@ -72,7 +74,7 @@ class U extends T {
|
|
|
72
74
|
default:
|
|
73
75
|
break;
|
|
74
76
|
}
|
|
75
|
-
t !== a.interval && t !== a.intervalAlignment &&
|
|
77
|
+
t !== a.interval && t !== a.intervalAlignment && k(f);
|
|
76
78
|
}
|
|
77
79
|
} catch (t) {
|
|
78
80
|
throw t instanceof Error && this.arcgisChartsConfigDataChangeError.emit({ error: t, model: this.model }), t;
|
|
@@ -94,9 +96,9 @@ class U extends T {
|
|
|
94
96
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
95
97
|
}
|
|
96
98
|
willUpdate(e) {
|
|
97
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel =
|
|
99
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel = L(this.model.aggregationType, this.commonStrings);
|
|
98
100
|
const t = this.model.timeAggregationType;
|
|
99
|
-
t !== void 0 && (this.timeAggregationLabel =
|
|
101
|
+
t !== void 0 && (this.timeAggregationLabel = w(t, this.commonStrings)), this.disableSplitBy = this.model.numericFields.length > 1;
|
|
100
102
|
}
|
|
101
103
|
disconnectedCallback() {
|
|
102
104
|
super.disconnectedCallback(), this.removeLineChartDataPopover(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -105,7 +107,7 @@ class U extends T {
|
|
|
105
107
|
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
106
108
|
}
|
|
107
109
|
buildNumericFieldItem(e) {
|
|
108
|
-
return x(e, o`<calcite-list-item .label=${
|
|
110
|
+
return x(e, o`<calcite-list-item .label=${b(this.layerFieldsInfo, e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`);
|
|
109
111
|
}
|
|
110
112
|
resetTimeIntervalOriginal(e) {
|
|
111
113
|
this.popoverClose(e), this.model.resetTimeInterval !== void 0 && (this.model.resetTimeInterval(), this.arcgisChartsConfigResetTimeInterval.emit());
|
|
@@ -133,13 +135,13 @@ class U extends T {
|
|
|
133
135
|
this.intervalElement.value && !this.intervalElement.value.disabled && (this.contentKind = a.interval, this.setupPopover(e));
|
|
134
136
|
}
|
|
135
137
|
getCorrectedSplitByValue() {
|
|
136
|
-
return this.model.splitByField === "" || this.model.numericFields.length > 1 ? "" :
|
|
138
|
+
return this.model.splitByField === "" || this.model.numericFields.length > 1 ? "" : b(this.layerFieldsInfo, this.model.splitByField);
|
|
137
139
|
}
|
|
138
140
|
getCorrectedXAxisValue() {
|
|
139
141
|
return D({
|
|
140
142
|
fieldName: this.model.xAxisField,
|
|
141
143
|
fieldList: this.layerFieldsInfo
|
|
142
|
-
}) ? "" :
|
|
144
|
+
}) ? "" : b(this.layerFieldsInfo, this.model.xAxisField);
|
|
143
145
|
}
|
|
144
146
|
onShowDataLabelsChange(e) {
|
|
145
147
|
this.model.dataLabelsVisibility = e.target.checked;
|
|
@@ -151,14 +153,14 @@ class U extends T {
|
|
|
151
153
|
this.model.nullPolicy = e.target.selectedItem.value;
|
|
152
154
|
}
|
|
153
155
|
shouldShowTimeBinning() {
|
|
154
|
-
const e = this.layerFieldsInfo.find((l) => l.name === this.model.xAxisField), t = e?.type ===
|
|
156
|
+
const e = this.layerFieldsInfo.find((l) => l.name === this.model.xAxisField), t = e?.type === u.Date || e?.type === u.DateOnly || e?.type === u.TimestampOffset, i = this.model.aggregationType !== c.NoAggregation;
|
|
155
157
|
return t && i;
|
|
156
158
|
}
|
|
157
159
|
setupPopover(e) {
|
|
158
160
|
e.stopImmediatePropagation(), this.removeLineChartDataPopover();
|
|
159
161
|
const t = {
|
|
160
162
|
size: this.model.temporalBinningSize ?? 1,
|
|
161
|
-
unit: this.model.temporalBinningUnit ??
|
|
163
|
+
unit: this.model.temporalBinningUnit ?? v.Second
|
|
162
164
|
};
|
|
163
165
|
let i, l, r;
|
|
164
166
|
switch (this.contentKind) {
|
|
@@ -181,7 +183,7 @@ class U extends T {
|
|
|
181
183
|
i = this.intervalAlignmentElement.value, l = this._messages.intervalAlignment, r = this.model.timeAggregationType ?? "";
|
|
182
184
|
break;
|
|
183
185
|
}
|
|
184
|
-
this.lineChartPopover =
|
|
186
|
+
this.lineChartPopover = A(o`<arcgis-charts-config-line-chart-popover .headingTitle=${l} .referenceElement=${i} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${r} @arcgisChartsConfigLineChartDataPopoverChange=${this.onLineChartDataChange} @arcgisChartsConfigLineChartPopoverClose=${this.popoverClose}></arcgis-charts-config-line-chart-popover>`), !document.body.contains(this.lineChartPopover) && this.lineChartPopover !== null && document.body.appendChild(this.lineChartPopover);
|
|
185
187
|
}
|
|
186
188
|
removeLineChartDataPopover() {
|
|
187
189
|
this.lineChartPopover !== null && (this.lineChartPopover.open = !1, this.lineChartPopover = _(this.lineChartPopover));
|
|
@@ -198,16 +200,16 @@ class U extends T {
|
|
|
198
200
|
return o`<arcgis-charts-config-field-select .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${h(this.splitByFieldElement)}></arcgis-charts-config-field-select>`;
|
|
199
201
|
}
|
|
200
202
|
renderNumericFields(e) {
|
|
201
|
-
const t =
|
|
203
|
+
const t = y(this.layerFieldsInfo), i = [];
|
|
202
204
|
for (const l of e)
|
|
203
205
|
l !== t && i.push(this.buildNumericFieldItem(l));
|
|
204
206
|
return o`<calcite-list label class=${s(n.fieldList)} ${h(this.numericFieldsElement)}>${i}</calcite-list>`;
|
|
205
207
|
}
|
|
206
208
|
renderInterval() {
|
|
207
|
-
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i =
|
|
209
|
+
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i = P(this.model.temporalBinningUnit ?? v.Second, this._messages) ?? "", l = S(f), r = {
|
|
208
210
|
size: this.model.temporalBinningSize,
|
|
209
211
|
unit: this.model.temporalBinningUnit
|
|
210
|
-
}, p =
|
|
212
|
+
}, p = E(r, l);
|
|
211
213
|
return [
|
|
212
214
|
o`<calcite-list label selection-appearance=border><calcite-list-item .value=${e ? "" : `${t} ${i}`} .label=${e ? "" : `${t} ${i}`} @click=${e ? () => {
|
|
213
215
|
} : this.onIntervalSelect} ${h(this.intervalElement)}><calcite-icon slot=content-end icon=pencil></calcite-icon></calcite-list-item></calcite-list>`,
|