@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,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as a } from "./series-types.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
+
import { b8 as g, b1 as l, a_ as c } from "./index.js";
|
|
5
6
|
import "@arcgis/core/Graphic.js";
|
|
6
7
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
7
8
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -21,13 +22,13 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
21
22
|
import "./runtime.js";
|
|
22
23
|
import { n as f, j as r, l as n } from "./index3.js";
|
|
23
24
|
import "@arcgis/toolkit/dom";
|
|
24
|
-
import { g as h, s as
|
|
25
|
-
import { g as p, a as b, e as u, b as _, f as C, s as L, h as v, c as k, i as
|
|
26
|
-
import { S as
|
|
25
|
+
import { g as h, s as m, a as d, b as y } from "./bar-chart-series.js";
|
|
26
|
+
import { g as p, a as b, e as u, b as _, f as C, s as L, h as v, c as k, i as O, d as A, j as F, k as M, l as B, m as S, n as z, o as V, p as w, q as U, r as j } from "./baseline-stacking.js";
|
|
27
|
+
import { S as D, s as H } from "./serial-chart-model.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
|
-
class
|
|
30
|
+
v5.0.0-next.69 */
|
|
31
|
+
class ge extends D {
|
|
31
32
|
constructor() {
|
|
32
33
|
super(...arguments), this._chartType = a.ComboLineAndBarSeries;
|
|
33
34
|
}
|
|
@@ -190,7 +191,7 @@ class Se extends j {
|
|
|
190
191
|
* @returns {number | undefined}
|
|
191
192
|
*/
|
|
192
193
|
getSeriesMarkerSize(e) {
|
|
193
|
-
return
|
|
194
|
+
return O(e, this._config);
|
|
194
195
|
}
|
|
195
196
|
/**
|
|
196
197
|
* Sets the marker size of the series based on the series index.
|
|
@@ -201,7 +202,7 @@ class Se extends j {
|
|
|
201
202
|
setSeriesMarkerSize(e, i) {
|
|
202
203
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
203
204
|
const t = this._config.series?.[i];
|
|
204
|
-
r(t) && (
|
|
205
|
+
r(t) && (A(e, i, this._config), this.emitConfigUpdate("setSeriesMarkerSize"));
|
|
205
206
|
});
|
|
206
207
|
}
|
|
207
208
|
/**
|
|
@@ -305,7 +306,7 @@ class Se extends j {
|
|
|
305
306
|
visible: !0,
|
|
306
307
|
seriesIndex: i,
|
|
307
308
|
config: this._config
|
|
308
|
-
}),
|
|
309
|
+
}), H(e, i, this._config), this.emitConfigUpdate("setAreaColor"));
|
|
309
310
|
});
|
|
310
311
|
}
|
|
311
312
|
/**
|
|
@@ -328,7 +329,7 @@ class Se extends j {
|
|
|
328
329
|
setNegativeValuesStackedToBaseline(e, i) {
|
|
329
330
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
330
331
|
const t = this._config.series?.[i];
|
|
331
|
-
r(t) && (
|
|
332
|
+
r(t) && (j({
|
|
332
333
|
stackNegativeValuesToBaseline: e,
|
|
333
334
|
seriesIndex: i,
|
|
334
335
|
config: this._config
|
|
@@ -353,7 +354,7 @@ class Se extends j {
|
|
|
353
354
|
setSeriesHideOversizedSideBySideLabels(e, i) {
|
|
354
355
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
355
356
|
const t = this._config.series?.[i];
|
|
356
|
-
n(t) && (
|
|
357
|
+
n(t) && (m(e, i, this._config), this.emitConfigUpdate("setSeriesHideOversizedSideBySideLabels"));
|
|
357
358
|
});
|
|
358
359
|
}
|
|
359
360
|
/**
|
|
@@ -362,7 +363,7 @@ class Se extends j {
|
|
|
362
363
|
* @returns {boolean | undefined}
|
|
363
364
|
*/
|
|
364
365
|
getSeriesHideOversizedStackedLabels(e) {
|
|
365
|
-
return
|
|
366
|
+
return d(e, this._config);
|
|
366
367
|
}
|
|
367
368
|
/**
|
|
368
369
|
* Sets whether to hide oversized data labels of the stacked series based on the series index.
|
|
@@ -378,5 +379,5 @@ class Se extends j {
|
|
|
378
379
|
}
|
|
379
380
|
}
|
|
380
381
|
export {
|
|
381
|
-
|
|
382
|
+
ge as ComboBarLineChartModel
|
|
382
383
|
};
|
package/dist/chunks/common.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { cloneDeep as V } from "lodash-es";
|
|
2
|
-
import {
|
|
3
|
-
import { c as
|
|
2
|
+
import { R as v, S as q, cA as T, p as w, d8 as y, k as b, cy as A, bE as x, bQ as N, ak as P, r as E, q as M, da as Q, cu as L, db as h, c5 as O, c1 as D, l as R } from "./index.js";
|
|
3
|
+
import { c as $ } from "./index2.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
+
import { u as U } from "./series-types.js";
|
|
5
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
6
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
7
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -13,47 +14,47 @@ import "./runtime.js";
|
|
|
13
14
|
import { h as C } from "./index3.js";
|
|
14
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
15
16
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
16
|
-
v5.0.0-next.
|
|
17
|
-
function
|
|
17
|
+
v5.0.0-next.69 */
|
|
18
|
+
function ue(s, e) {
|
|
18
19
|
let i;
|
|
19
20
|
return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.position = s)), i;
|
|
20
21
|
}
|
|
21
|
-
function
|
|
22
|
+
function le(s, e) {
|
|
22
23
|
let i;
|
|
23
24
|
return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.visible = s)), i;
|
|
24
25
|
}
|
|
25
|
-
function
|
|
26
|
+
function de(s, e) {
|
|
26
27
|
let i;
|
|
27
28
|
return e !== void 0 && (i = { ...e, rotated: s }), i;
|
|
28
29
|
}
|
|
29
|
-
function
|
|
30
|
+
function ce(s) {
|
|
30
31
|
let e;
|
|
31
32
|
return s !== void 0 && (e = { ...s }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
|
|
32
33
|
}
|
|
33
|
-
function
|
|
34
|
+
function pe(s, e) {
|
|
34
35
|
return e != null || C(s);
|
|
35
36
|
}
|
|
36
|
-
async function
|
|
37
|
-
const { queryObject: e, chartConfig: i, options:
|
|
37
|
+
async function j(s) {
|
|
38
|
+
const { queryObject: e, chartConfig: i, options: a, splitByField: r } = s;
|
|
38
39
|
let t = [], u;
|
|
39
|
-
const
|
|
40
|
+
const n = V(i), l = n.series[0], d = N({
|
|
40
41
|
queryObject: e,
|
|
41
|
-
chartConfig:
|
|
42
|
-
runtimeDataFilters:
|
|
43
|
-
ignoreViewExtent:
|
|
42
|
+
chartConfig: n,
|
|
43
|
+
runtimeDataFilters: a?.runtimeDataFilters,
|
|
44
|
+
ignoreViewExtent: a?.ignoreViewExtent
|
|
44
45
|
});
|
|
45
46
|
if (d.outStatistics?.[0]?.outStatisticFieldName && (d.outStatistics[0].outStatisticFieldName = P.outStatistics.outStatisticFieldName), E(l) && M({
|
|
46
|
-
xAxisValueFormatType:
|
|
47
|
-
setTimeBinningInfoWhenNotProvided:
|
|
47
|
+
xAxisValueFormatType: Q(n),
|
|
48
|
+
setTimeBinningInfoWhenNotProvided: a?.setTimeBinningInfoWhenNotProvided,
|
|
48
49
|
seriesConfig: l
|
|
49
50
|
}) && L(e)) {
|
|
50
51
|
const { temporalBinning: o, x: c } = l, { uniqueQuery: S } = await h({
|
|
51
|
-
chartConfig:
|
|
52
|
+
chartConfig: n,
|
|
52
53
|
queryConfig: d,
|
|
53
54
|
queryObject: e,
|
|
54
|
-
options:
|
|
55
|
+
options: a
|
|
55
56
|
});
|
|
56
|
-
u = await
|
|
57
|
+
u = await O({
|
|
57
58
|
queryObject: e,
|
|
58
59
|
dateField: c,
|
|
59
60
|
splitByField: r,
|
|
@@ -70,10 +71,10 @@ async function U(s) {
|
|
|
70
71
|
);
|
|
71
72
|
} else {
|
|
72
73
|
const { uniqueQuery: o } = await h({
|
|
73
|
-
chartConfig:
|
|
74
|
+
chartConfig: n,
|
|
74
75
|
queryObject: e,
|
|
75
76
|
queryConfig: d,
|
|
76
|
-
options:
|
|
77
|
+
options: a
|
|
77
78
|
});
|
|
78
79
|
u = await D({
|
|
79
80
|
queryObject: e,
|
|
@@ -87,11 +88,11 @@ async function U(s) {
|
|
|
87
88
|
}
|
|
88
89
|
return { allValues: t, preFetchedQueryResponse: u };
|
|
89
90
|
}
|
|
90
|
-
function
|
|
91
|
+
function k(s, e) {
|
|
91
92
|
const i = /* @__PURE__ */ new Map();
|
|
92
|
-
return s.series.forEach((
|
|
93
|
-
let r =
|
|
94
|
-
where:
|
|
93
|
+
return s.series.forEach((a) => {
|
|
94
|
+
let r = R({
|
|
95
|
+
where: a.query?.where,
|
|
95
96
|
// normalize the value so it matches what we get from getAllValues()
|
|
96
97
|
// Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
|
|
97
98
|
normalize: !0,
|
|
@@ -100,25 +101,25 @@ function j(s, e) {
|
|
|
100
101
|
escape: !1
|
|
101
102
|
});
|
|
102
103
|
e && r !== null && (r = Number(r));
|
|
103
|
-
const t =
|
|
104
|
+
const t = U([a]);
|
|
104
105
|
t !== void 0 && i.set(t, [
|
|
105
106
|
...i.get(t) ?? [],
|
|
106
107
|
r
|
|
107
108
|
]);
|
|
108
109
|
}), i;
|
|
109
110
|
}
|
|
110
|
-
function
|
|
111
|
-
const { allValues: e, configUniqueValuesPerSeriesType: i, initialConfigWasEmpty:
|
|
111
|
+
function I(s) {
|
|
112
|
+
const { allValues: e, configUniqueValuesPerSeriesType: i, initialConfigWasEmpty: a } = s, r = /* @__PURE__ */ new Map();
|
|
112
113
|
return Array.from(i.keys()).forEach((t) => {
|
|
113
114
|
const u = i.get(t) ?? [];
|
|
114
|
-
let
|
|
115
|
-
|
|
116
|
-
u.includes(l) ||
|
|
117
|
-
}), r.set(t,
|
|
115
|
+
let n = [];
|
|
116
|
+
a ? n = e : e.forEach((l) => {
|
|
117
|
+
u.includes(l) || n.push(l);
|
|
118
|
+
}), r.set(t, n);
|
|
118
119
|
}), r;
|
|
119
120
|
}
|
|
120
|
-
function
|
|
121
|
-
const { chartConfig: e, missingValue: i, splitByField:
|
|
121
|
+
function W(s) {
|
|
122
|
+
const { chartConfig: e, missingValue: i, splitByField: a, seriesTemplate: r } = s, t = JSON.parse(
|
|
122
123
|
JSON.stringify({
|
|
123
124
|
...e.series[0],
|
|
124
125
|
...r
|
|
@@ -126,81 +127,81 @@ function k(s) {
|
|
|
126
127
|
);
|
|
127
128
|
if (t.query) {
|
|
128
129
|
if (t.id = `${i}-${e.series.length}-${Date.now()}`, t.name = `${i}`, t.query.outStatistics?.[0] !== void 0) {
|
|
129
|
-
const
|
|
130
|
-
t.query.outStatistics[0].outStatisticFieldName =
|
|
130
|
+
const n = t.id;
|
|
131
|
+
t.query.outStatistics[0].outStatisticFieldName = n, "y" in t && (t.y = n);
|
|
131
132
|
}
|
|
132
133
|
const u = typeof i == "number" || i === null ? i : `'${i}'`;
|
|
133
|
-
t.query.where = `${
|
|
134
|
+
t.query.where = `${a}=${u}`;
|
|
134
135
|
}
|
|
135
136
|
return t;
|
|
136
137
|
}
|
|
137
138
|
async function J(s) {
|
|
138
|
-
const { updateSplitBySeries: e, config: i, options:
|
|
139
|
+
const { updateSplitBySeries: e, config: i, options: a, queryObject: r } = s, { seriesTemplate: t } = e ?? {};
|
|
139
140
|
let u;
|
|
140
141
|
if (e !== void 0 && i !== void 0 && (i.series.length > 0 || t !== void 0) && e.addMissingSeries) {
|
|
141
|
-
const
|
|
142
|
+
const n = i.series.length === 0;
|
|
142
143
|
i.series.length === 0 && t !== void 0 && i.series.push(t);
|
|
143
144
|
const l = w(i.series);
|
|
144
145
|
if ((l === y.BoxPlotMonoFieldAndSplitBy || l === y.BoxPlotMultiFieldsAndSplitBy || l === y.BoxPlotMonoFieldAndCategoryAndSplitBy || l === y.BarAndLineSplitBy || l === y.BarAndLineSplitByNoAggregation) && r !== void 0) {
|
|
145
|
-
const d =
|
|
146
|
+
const d = b(i.series[0]?.query?.where), o = A(r);
|
|
146
147
|
await o.load();
|
|
147
|
-
const c = o.getField(d)?.toJSON(), S = x(c), g = await
|
|
148
|
+
const c = o.getField(d)?.toJSON(), S = x(c), g = await j({
|
|
148
149
|
queryObject: r,
|
|
149
150
|
chartConfig: i,
|
|
150
151
|
splitByField: d,
|
|
151
|
-
options:
|
|
152
|
+
options: a
|
|
152
153
|
}), { allValues: f } = g;
|
|
153
154
|
if ({ preFetchedQueryResponse: u } = g, f.length > 0) {
|
|
154
|
-
const m =
|
|
155
|
+
const m = k(i, S), p = I({
|
|
155
156
|
allValues: f,
|
|
156
157
|
configUniqueValuesPerSeriesType: m,
|
|
157
|
-
initialConfigWasEmpty:
|
|
158
|
+
initialConfigWasEmpty: n
|
|
158
159
|
});
|
|
159
160
|
Array.from(p.keys()).forEach((B) => {
|
|
160
161
|
(p.get(B) ?? []).forEach((F) => {
|
|
161
162
|
i.series.push(
|
|
162
|
-
|
|
163
|
+
W({
|
|
163
164
|
chartConfig: i,
|
|
164
165
|
seriesTemplate: t,
|
|
165
166
|
missingValue: F,
|
|
166
167
|
splitByField: d
|
|
167
168
|
})
|
|
168
169
|
);
|
|
169
|
-
}),
|
|
170
|
+
}), n && i.series.shift();
|
|
170
171
|
});
|
|
171
172
|
}
|
|
172
173
|
}
|
|
173
174
|
}
|
|
174
175
|
return u;
|
|
175
176
|
}
|
|
176
|
-
function
|
|
177
|
-
e && !C(e) && (e =
|
|
177
|
+
function z(s, e) {
|
|
178
|
+
e && !C(e) && (e = T({ chartConfig: e, queryObject: s }));
|
|
178
179
|
}
|
|
179
|
-
async function
|
|
180
|
+
async function fe(s) {
|
|
180
181
|
const {
|
|
181
182
|
configToAlter: e,
|
|
182
183
|
layer: i,
|
|
183
|
-
addMissingSeries:
|
|
184
|
+
addMissingSeries: a,
|
|
184
185
|
updateSplitBySeries: r,
|
|
185
186
|
chartContainer: t,
|
|
186
187
|
creation: u,
|
|
187
|
-
queryObject:
|
|
188
|
+
queryObject: n,
|
|
188
189
|
options: l,
|
|
189
190
|
previousConfig: d
|
|
190
191
|
} = s;
|
|
191
192
|
let o = e, c;
|
|
192
|
-
return
|
|
193
|
+
return z(i, o), o = await $(o, i), a && (c = await J({
|
|
193
194
|
updateSplitBySeries: r,
|
|
194
195
|
config: o,
|
|
195
196
|
options: l,
|
|
196
|
-
queryObject:
|
|
197
|
-
})), (u || d && v(d, o)) && (o =
|
|
197
|
+
queryObject: n
|
|
198
|
+
})), (u || d && v(d, o)) && (o = q(o, t)), { alteredConfig: o, preFetchedQueryResponse: c };
|
|
198
199
|
}
|
|
199
200
|
export {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
201
|
+
ue as a,
|
|
202
|
+
le as b,
|
|
203
|
+
pe as i,
|
|
204
|
+
fe as p,
|
|
205
|
+
ce as r,
|
|
206
|
+
de as u
|
|
206
207
|
};
|
package/dist/chunks/data.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import "@arcgis/toolkit/intl";
|
|
2
2
|
import { capitalize as c } from "lodash-es";
|
|
3
|
-
import {
|
|
3
|
+
import { u as g, W as o, a as y, g as p, t as n } from "./series-types.js";
|
|
4
|
+
import { bO as A, b as B, d as L, au as $, p as D, cy as N, d8 as I, c as _, a as P } from "./index.js";
|
|
4
5
|
import "d3-array";
|
|
5
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
6
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
@@ -11,64 +12,64 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
11
12
|
import "@arcgis/core/request.js";
|
|
12
13
|
import "./runtime.js";
|
|
13
14
|
import "@arcgis/toolkit/dom";
|
|
14
|
-
import { a as
|
|
15
|
+
import { a as W, S as a } from "./common.js";
|
|
15
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
16
17
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
17
|
-
v5.0.0-next.
|
|
18
|
-
const
|
|
18
|
+
v5.0.0-next.69 */
|
|
19
|
+
const U = (r) => {
|
|
19
20
|
let e = a.xAxisAsc;
|
|
20
|
-
const i =
|
|
21
|
-
return i === n.Category && Array.isArray(
|
|
22
|
-
}, v = (
|
|
23
|
-
const e =
|
|
21
|
+
const i = r.orderOptions?.data?.orderType ?? n.Category, s = r.orderOptions?.data?.orderBy ?? p.Ascending;
|
|
22
|
+
return i === n.Category && Array.isArray(s) ? e = a.customSort : i === n.Category ? s === p.Ascending ? e = a.xAxisAsc : e = a.xAxisDesc : s === p.Ascending ? e = a.yAxisAsc : e = a.yAxisDesc, e;
|
|
23
|
+
}, v = (r) => {
|
|
24
|
+
const e = g(r.series);
|
|
24
25
|
let i = !1;
|
|
25
|
-
return (e === o.BarSeries || e === o.LineSeries) && (i =
|
|
26
|
-
},
|
|
26
|
+
return (e === o.BarSeries || e === o.LineSeries) && (i = U(r) === a.customSort), i;
|
|
27
|
+
}, ee = (r) => {
|
|
27
28
|
let e = [];
|
|
28
|
-
const i =
|
|
29
|
-
return v(
|
|
30
|
-
},
|
|
31
|
-
let
|
|
32
|
-
const l =
|
|
33
|
-
e.orderOptions ??= {},
|
|
34
|
-
orderType:
|
|
29
|
+
const i = r.orderOptions?.data?.orderType;
|
|
30
|
+
return v(r) && i === n.Category && (e = r.orderOptions?.data?.orderBy), e;
|
|
31
|
+
}, re = (r, e, i) => {
|
|
32
|
+
let s = n.Category, t = p.Ascending;
|
|
33
|
+
const l = g(e.series);
|
|
34
|
+
e.orderOptions ??= {}, r === a.customSort && i !== void 0 ? (t = [...i], e.orderOptions.data = {
|
|
35
|
+
orderType: s,
|
|
35
36
|
orderBy: t
|
|
36
|
-
}) : (l === o.BarSeries || l === o.LineSeries) && (
|
|
37
|
-
orderType:
|
|
37
|
+
}) : (l === o.BarSeries || l === o.LineSeries) && (s = r === a.xAxisAsc || r === a.xAxisDesc ? n.Category : n.YValue, t = r === a.xAxisAsc || r === a.yAxisAsc ? p.Ascending : p.Descending, e.orderOptions.data = {
|
|
38
|
+
orderType: s,
|
|
38
39
|
orderBy: t
|
|
39
40
|
});
|
|
40
|
-
}, se = (
|
|
41
|
+
}, se = (r) => r?.series?.[0]?.x ?? "", ie = (r) => {
|
|
41
42
|
const {
|
|
42
43
|
config: e,
|
|
43
44
|
xAxisField: i,
|
|
44
|
-
numericFields:
|
|
45
|
+
numericFields: s,
|
|
45
46
|
aggregationType: t,
|
|
46
47
|
mode: l,
|
|
47
|
-
layer:
|
|
48
|
-
numericFieldIndex:
|
|
48
|
+
layer: u,
|
|
49
|
+
numericFieldIndex: f,
|
|
49
50
|
seriesIndex: C,
|
|
50
51
|
splitByField: h = "",
|
|
51
52
|
fieldList: S
|
|
52
|
-
} =
|
|
53
|
+
} = r, b = g(e.series), T = D(e.series), O = u ? N(u).objectIdField : "FID", F = s.length === 1 && s[0] === O;
|
|
53
54
|
let d = "y", m = "y";
|
|
54
|
-
switch (
|
|
55
|
+
switch (b) {
|
|
55
56
|
case o.PieSeries: {
|
|
56
|
-
t !== y.NoAggregation ? l ===
|
|
57
|
+
t !== y.NoAggregation ? l === W.Category ? (d = `${t}_${s[0]}_0`.toUpperCase(), m = F ? c(y.Count) : c(`${t} of ${s[0]}`)) : d = P : d = s[0];
|
|
57
58
|
break;
|
|
58
59
|
}
|
|
59
60
|
case o.BarSeries:
|
|
60
61
|
case o.LineSeries:
|
|
61
62
|
case o.ComboLineAndBarSeries:
|
|
62
63
|
case o.RadarSeries: {
|
|
63
|
-
if (h === "" ||
|
|
64
|
-
|
|
64
|
+
if (h === "" || s.length > 1)
|
|
65
|
+
V({
|
|
65
66
|
fieldName: i,
|
|
66
|
-
numericFields:
|
|
67
|
+
numericFields: s,
|
|
67
68
|
fieldList: S ?? []
|
|
68
|
-
}) ||
|
|
69
|
+
}) || T === I.BarAndLineFromFields ? d = _ : (d = `${t}_${s[f ?? 0]}_${f ?? 0}`.toUpperCase(), m = F ? c(y.Count) : c(`${t} of ${s[f ?? 0]}`));
|
|
69
70
|
else {
|
|
70
|
-
const
|
|
71
|
-
d = `${t}_${
|
|
71
|
+
const x = s[0];
|
|
72
|
+
d = `${t}_${x}_${C ?? 0}`.toUpperCase(), m = F ? c(y.Count) : c(`${t} of ${x}`);
|
|
72
73
|
}
|
|
73
74
|
break;
|
|
74
75
|
}
|
|
@@ -78,19 +79,19 @@ const W = (s) => {
|
|
|
78
79
|
description: m
|
|
79
80
|
};
|
|
80
81
|
};
|
|
81
|
-
function E(
|
|
82
|
-
const { fieldName: e, fieldList: i } =
|
|
83
|
-
return e ===
|
|
82
|
+
function E(r) {
|
|
83
|
+
const { fieldName: e, fieldList: i } = r, s = A(i ?? [], e);
|
|
84
|
+
return e === B || e === L || e === $ || e === void 0 || e.trim() === "" || s === void 0;
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
-
const { fieldName: e, fieldList: i, numericFields:
|
|
86
|
+
function V(r) {
|
|
87
|
+
const { fieldName: e, fieldList: i, numericFields: s } = r, t = s.filter((l) => A(i ?? [], l)?.type !== "esriFieldTypeOID");
|
|
87
88
|
return E({ fieldName: e, fieldList: i }) && (t?.length ?? 0) > 0;
|
|
88
89
|
}
|
|
89
90
|
export {
|
|
90
91
|
se as a,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
re as b,
|
|
93
|
+
ee as c,
|
|
94
|
+
ie as g,
|
|
95
|
+
V as s,
|
|
95
96
|
E as x
|
|
96
97
|
};
|
package/dist/chunks/default.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as t } from "./series-types.js";
|
|
2
|
+
import { c as o, R as e } from "./rest-js-object-literals.js";
|
|
2
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
|
-
v5.0.0-next.
|
|
5
|
-
const
|
|
6
|
-
type:
|
|
5
|
+
v5.0.0-next.69 */
|
|
6
|
+
const l = 153, p = {
|
|
7
|
+
type: t.Guide,
|
|
7
8
|
style: {
|
|
8
9
|
type: e.SLS,
|
|
9
|
-
color: [127, 127, 127,
|
|
10
|
+
color: [127, 127, 127, l],
|
|
10
11
|
width: 2,
|
|
11
|
-
style:
|
|
12
|
+
style: o.Solid
|
|
12
13
|
},
|
|
13
14
|
label: { type: e.TS }
|
|
14
15
|
};
|
|
15
16
|
export {
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
p as d,
|
|
18
|
+
l as g
|
|
18
19
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as h, G as b, a as u } from "./series-types.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
+
import { aY as a, aD as m, aO as x, b6 as f, bd as S } from "./index.js";
|
|
5
6
|
import "@arcgis/core/Graphic.js";
|
|
6
7
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
7
8
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -24,39 +25,39 @@ import { C as v, c as C, b as I } from "./model-with-multi-axes.js";
|
|
|
24
25
|
import { b as A, d as _ } from "./serial-chart-data.js";
|
|
25
26
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
26
27
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
27
|
-
v5.0.0-next.
|
|
28
|
+
v5.0.0-next.69 */
|
|
28
29
|
const F = (t) => t.axes[0].needle?.visible ?? !0, L = (t, e) => {
|
|
29
30
|
e.axes[0].needle === void 0 && (e.axes[0].needle = a()), e.axes[0].needle.visible = t;
|
|
30
31
|
}, w = (t) => t.axes[0].needle?.symbol, T = (t, e) => {
|
|
31
32
|
e.axes[0].needle === void 0 && (e.axes[0].needle = a()), e.axes[0].needle.symbol = t;
|
|
32
|
-
}, O = (t) => t.axes[0].needle?.startWidth,
|
|
33
|
+
}, O = (t) => t.axes[0].needle?.startWidth, W = (t, e) => {
|
|
33
34
|
e.axes[0].needle === void 0 && (e.axes[0].needle = a()), e.axes[0].needle.startWidth = t;
|
|
34
|
-
},
|
|
35
|
+
}, U = (t) => t.axes[0].needle?.endWidth, V = (t, e) => {
|
|
35
36
|
e.axes[0].needle === void 0 && (e.axes[0].needle = a()), e.axes[0].needle.endWidth = t;
|
|
36
37
|
}, D = (t) => t.axes[0].needle?.innerRadius, E = (t, e) => {
|
|
37
38
|
e.axes[0].needle === void 0 && (e.axes[0].needle = a()), e.axes[0].needle.innerRadius = t;
|
|
38
|
-
},
|
|
39
|
+
}, N = (t) => t.axes[0].needle?.displayPin ?? !1, M = (t, e) => {
|
|
39
40
|
e.axes[0].needle === void 0 && (e.axes[0].needle = a()), e.axes[0].needle.displayPin = t;
|
|
40
41
|
}, R = (t) => t.axes[0].innerLabel?.visible ?? !0, G = (t, e) => {
|
|
41
|
-
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel =
|
|
42
|
+
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = m()), e.axes[0].innerLabel.visible = t;
|
|
42
43
|
}, k = (t) => t.axes[0].innerLabel?.content, P = (t, e) => {
|
|
43
|
-
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel =
|
|
44
|
+
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = m()), t !== void 0 && (e.axes[0].innerLabel.content = t);
|
|
44
45
|
}, $ = (t) => t.axes[0].ticks?.visible ?? !0, q = (t, e) => {
|
|
45
46
|
e.axes[0].ticks === void 0 && (e.axes[0].ticks = {
|
|
46
|
-
type:
|
|
47
|
+
type: h.GaugeAxisTick
|
|
47
48
|
}), e.axes[0].ticks.visible = t;
|
|
48
49
|
}, j = (t) => t.axes[0].labelsIncrement, X = (t, e) => {
|
|
49
50
|
e.axes[0].labelsIncrement = t;
|
|
50
|
-
},
|
|
51
|
+
}, Y = (t) => t.axes[0].onlyShowFirstAndLastLabels ?? !1, B = (t, e) => {
|
|
51
52
|
e.axes[0].onlyShowFirstAndLastLabels = t;
|
|
52
|
-
},
|
|
53
|
+
}, Q = (t) => t.series[0]?.valueConversion, z = (t, e) => {
|
|
53
54
|
e.series[0] !== void 0 && (e.series[0].valueConversion = t);
|
|
54
55
|
}, y = (t) => t.series[0]?.featureIndex, c = (t) => {
|
|
55
56
|
const { featureIndex: e, config: i, layerInfo: s, commonStrings: n } = t, r = g(i), p = l(i);
|
|
56
57
|
e === null ? delete i.series[0].featureIndex : i.series[0] !== void 0 && (i.series[0].featureIndex = e), o({ config: i, layerInfo: s, field: r, aggregationType: p, commonStrings: n });
|
|
57
58
|
}, H = (t) => t.subType ?? b.StatisticGauge, J = (t) => {
|
|
58
59
|
const { config: e, field: i, aggregationType: s } = t;
|
|
59
|
-
if (s !==
|
|
60
|
+
if (s !== u.NoAggregation) {
|
|
60
61
|
const n = y(e), r = d(n) ? {} : {
|
|
61
62
|
outStatistics: [
|
|
62
63
|
{
|
|
@@ -83,7 +84,7 @@ const F = (t) => t.axes[0].needle?.visible ?? !0, L = (t, e) => {
|
|
|
83
84
|
const n = d(e.series[0]?.featureIndex);
|
|
84
85
|
let r = n ? i : `${s}_${i}`;
|
|
85
86
|
n && i.startsWith(`${s}_`) && (r = i.replace(`${s}_`, "")), e.series[0].x = r, J({ config: e, field: i, aggregationType: s }), K(t);
|
|
86
|
-
}, l = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ??
|
|
87
|
+
}, l = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ?? u.Count, Z = (t) => {
|
|
87
88
|
const { config: e, layerInfo: i, commonStrings: s, aggregationType: n } = t, r = g(e);
|
|
88
89
|
o({
|
|
89
90
|
config: e,
|
|
@@ -107,7 +108,7 @@ function oe(t) {
|
|
|
107
108
|
}
|
|
108
109
|
class le extends v {
|
|
109
110
|
constructor() {
|
|
110
|
-
super(...arguments), this._chartType =
|
|
111
|
+
super(...arguments), this._chartType = h.GaugeSeries;
|
|
111
112
|
}
|
|
112
113
|
/**
|
|
113
114
|
* Generate the proper chart title given the current config.
|
|
@@ -192,7 +193,7 @@ class le extends v {
|
|
|
192
193
|
* Conversion to apply to the gauge value.
|
|
193
194
|
*/
|
|
194
195
|
get valueConversion() {
|
|
195
|
-
return
|
|
196
|
+
return Q(this._config);
|
|
196
197
|
}
|
|
197
198
|
set valueConversion(e) {
|
|
198
199
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -273,18 +274,18 @@ class le extends v {
|
|
|
273
274
|
}
|
|
274
275
|
set needleStartWidth(e) {
|
|
275
276
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
276
|
-
|
|
277
|
+
W(e, this._config), this.emitConfigUpdate("needleStartWidth");
|
|
277
278
|
});
|
|
278
279
|
}
|
|
279
280
|
/**
|
|
280
281
|
* End width of the gauge's needle.
|
|
281
282
|
*/
|
|
282
283
|
get needleEndWidth() {
|
|
283
|
-
return
|
|
284
|
+
return U(this._config);
|
|
284
285
|
}
|
|
285
286
|
set needleEndWidth(e) {
|
|
286
287
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
287
|
-
|
|
288
|
+
V(e, this._config), this.emitConfigUpdate("needleEndWidth");
|
|
288
289
|
});
|
|
289
290
|
}
|
|
290
291
|
/**
|
|
@@ -302,11 +303,11 @@ class le extends v {
|
|
|
302
303
|
* Whether to display the pin for the gauge's needle.
|
|
303
304
|
*/
|
|
304
305
|
get needleDisplayPin() {
|
|
305
|
-
return
|
|
306
|
+
return N(this._config);
|
|
306
307
|
}
|
|
307
308
|
set needleDisplayPin(e) {
|
|
308
309
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
309
|
-
|
|
310
|
+
M(e, this._config), this.emitConfigUpdate("needleDisplayPin");
|
|
310
311
|
});
|
|
311
312
|
}
|
|
312
313
|
/**
|
|
@@ -357,11 +358,11 @@ class le extends v {
|
|
|
357
358
|
* Whether to only show the first and last axis labels.
|
|
358
359
|
*/
|
|
359
360
|
get onlyShowFirstAndLastLabels() {
|
|
360
|
-
return
|
|
361
|
+
return Y(this._config);
|
|
361
362
|
}
|
|
362
363
|
set onlyShowFirstAndLastLabels(e) {
|
|
363
364
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
364
|
-
|
|
365
|
+
B(e, this._config), this.emitConfigUpdate("onlyShowFirstAndLastLabels");
|
|
365
366
|
});
|
|
366
367
|
}
|
|
367
368
|
// ---------------------------------------------------------------------------------------------
|