@arcgis/charts-components 4.34.0-next.114 → 4.34.0-next.116
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/22ZJFRHF.js +4 -0
- package/dist/cdn/2VFIDPAW.js +4 -0
- package/dist/cdn/{ALUKSLTO.js → 2ZAHINNG.js} +2 -2
- package/dist/cdn/35SZ34BL.js +4 -0
- package/dist/cdn/3DCIPIG4.js +4 -0
- package/dist/cdn/{N7QOJ7BZ.js → 3K53UM3M.js} +2 -2
- package/dist/cdn/{IZRSSCBC.js → 3MTI2NIJ.js} +2 -2
- package/dist/cdn/3S75QQFU.js +4 -0
- package/dist/cdn/3SQZOZR5.js +4 -0
- package/dist/cdn/{IA76P7V3.js → 3Y4L6RJY.js} +2 -2
- package/dist/cdn/{OBLKPBPL.js → 46DHL3K6.js} +2 -2
- package/dist/cdn/{PAL5ML34.js → 46STJJNT.js} +2 -2
- package/dist/cdn/{G4CYQTJE.js → 4S3IGW5X.js} +2 -2
- package/dist/cdn/{2A44WZNG.js → 4YTQXPO5.js} +2 -2
- package/dist/cdn/52EAWGXR.js +4 -0
- package/dist/cdn/{3EYVBT7T.js → 52V2GOH6.js} +2 -2
- package/dist/cdn/53RSXX43.js +4 -0
- package/dist/cdn/{2Z72F5MU.js → 57ACB5GI.js} +2 -2
- package/dist/cdn/5DJIPTFX.js +4 -0
- package/dist/cdn/{QLNNWUF7.js → 5F7CBGPA.js} +2 -2
- package/dist/cdn/5K6QUKRX.js +4 -0
- package/dist/cdn/{RPQSNDQD.js → 5RKSNBTX.js} +2 -2
- package/dist/cdn/{ZESELVP4.js → 5TFZXM4H.js} +2 -2
- package/dist/cdn/{K3KRPYSE.js → 623M2QMV.js} +2 -2
- package/dist/cdn/64NUHSRB.js +4 -0
- package/dist/cdn/6KO5UMVA.js +4 -0
- package/dist/cdn/{4LSLU6CF.js → 6W6S2C5Y.js} +2 -2
- package/dist/cdn/77ISH7EC.js +4 -0
- package/dist/cdn/7HFKYDZG.js +4 -0
- package/dist/cdn/{PWXMZG4O.js → A6XSFZF3.js} +2 -2
- package/dist/cdn/{A4ZRPJCY.js → AEEAWUYY.js} +1 -1
- package/dist/cdn/AQM7DYOO.js +4 -0
- package/dist/cdn/{TSW3WHLK.js → AYMRC7KK.js} +2 -2
- package/dist/cdn/B4KNH6GS.js +4 -0
- package/dist/cdn/{IPWYUGFB.js → B7YXBA7C.js} +2 -2
- package/dist/cdn/{DMVAH5RY.js → BO6COCJL.js} +2 -2
- package/dist/cdn/{DSO3GVU5.js → BRFNTBTI.js} +2 -2
- package/dist/cdn/{PEKYNNBG.js → BVDGMQ72.js} +2 -2
- package/dist/cdn/BVTVE2LS.js +4 -0
- package/dist/cdn/{Z3XLB2YP.js → C2Q24MXJ.js} +2 -2
- package/dist/cdn/{LZXEGPV5.js → C46TLD4E.js} +2 -2
- package/dist/cdn/{JEAKTLAF.js → CAHDIX66.js} +2 -2
- package/dist/cdn/CKULRR5C.js +4 -0
- package/dist/cdn/CLABSVVU.js +4 -0
- package/dist/cdn/{ISSZDGZW.js → CNCZSD46.js} +2 -2
- package/dist/cdn/CWMKCZEO.js +6 -0
- package/dist/cdn/CZCH5VTF.js +4 -0
- package/dist/cdn/D7JKWAI5.js +4 -0
- package/dist/cdn/{VUGBVELM.js → DARFPJ2L.js} +2 -2
- package/dist/cdn/{TFQTJ4EN.js → DCBCDGNW.js} +2 -2
- package/dist/cdn/{MY5KTX52.js → DH3IGO4I.js} +2 -2
- package/dist/cdn/{MSSHXY2K.js → DSU6PDB5.js} +1 -1
- package/dist/cdn/{UDV4QQ5Y.js → E2PC3S7T.js} +2 -2
- package/dist/cdn/{OJ3HJP7X.js → E3GQ6BVD.js} +2 -2
- package/dist/cdn/{3A6VOXRP.js → E7AN6OZV.js} +2 -2
- package/dist/cdn/{IWMI3IMZ.js → EEPQOVR3.js} +2 -2
- package/dist/cdn/{UXXZIHX4.js → EGFTNL54.js} +2 -2
- package/dist/cdn/EJCC5PMC.js +4 -0
- package/dist/cdn/{QWCZ5LZM.js → EQ6YFWOK.js} +2 -2
- package/dist/cdn/{7AJRS4XW.js → ESZW4QMC.js} +2 -2
- package/dist/cdn/{6XJ7YLGX.js → EVYXEEAQ.js} +2 -2
- package/dist/cdn/{OLUZ4Z35.js → F3QBNQZA.js} +2 -2
- package/dist/cdn/{35SBE2RM.js → F4AEWEVC.js} +2 -2
- package/dist/cdn/FA2QEYL5.js +4 -0
- package/dist/cdn/FB6OYZKE.js +4 -0
- package/dist/cdn/{4Y45CDPV.js → FC6IMZPT.js} +2 -2
- package/dist/cdn/{Y6EYGWAY.js → FJ7RXBL5.js} +2 -2
- package/dist/cdn/{52MFIQFN.js → FNGIAAW5.js} +2 -2
- package/dist/cdn/FO6BORUW.js +4 -0
- package/dist/cdn/{U3X3DW2E.js → FQOW6NRQ.js} +1 -1
- package/dist/cdn/FXEGBV3L.js +4 -0
- package/dist/cdn/{TMMH63XM.js → G37WDJQZ.js} +2 -2
- package/dist/cdn/G4VZCZOC.js +4 -0
- package/dist/cdn/{OLF3ES4I.js → GSGOOWED.js} +2 -2
- package/dist/cdn/{NI3RPE5S.js → GTJHMDK4.js} +2 -2
- package/dist/cdn/{NKR4YHUJ.js → H3JBB25J.js} +2 -2
- package/dist/cdn/H6X26YPI.js +4 -0
- package/dist/cdn/{SLCC75PI.js → HFZVWCAR.js} +16 -16
- package/dist/cdn/{A4CE2NNT.js → HGB2BA6S.js} +2 -2
- package/dist/cdn/HJ43LTKM.js +4 -0
- package/dist/cdn/{TAPUSP3V.js → HNFPB5MQ.js} +2 -2
- package/dist/cdn/HSVZPB2N.js +4 -0
- package/dist/cdn/{5GWVQDUO.js → I2DDN7IM.js} +2 -2
- package/dist/cdn/{YUHIG52Y.js → I36L4ZUI.js} +2 -2
- package/dist/cdn/I7ZW5T66.js +4 -0
- package/dist/cdn/{UMMEWXW5.js → ID6VWSSO.js} +2 -2
- package/dist/cdn/{GFSUGABD.js → IEC2NYT6.js} +2 -2
- package/dist/cdn/IMFL2VT4.js +4 -0
- package/dist/cdn/{4F73J2LS.js → IPQXFLWN.js} +2 -2
- package/dist/cdn/IPUDKGFY.js +4 -0
- package/dist/cdn/{QNYZKZQO.js → IS6LRXBF.js} +2 -2
- package/dist/cdn/IT2VPU25.js +4 -0
- package/dist/cdn/{VCO64B6W.js → JQ73FYNK.js} +2 -2
- package/dist/cdn/{A2QOQQ24.js → JVGPHQZ6.js} +2 -2
- package/dist/cdn/K6RTID2E.js +4 -0
- package/dist/cdn/{EWUZ2MVU.js → K76AFICA.js} +2 -2
- package/dist/cdn/{FY3QHJLL.js → K7GKCFML.js} +2 -2
- package/dist/cdn/{OFDCZ25W.js → KDAQGUZA.js} +2 -2
- package/dist/cdn/{3B64QCVY.js → KLX5TW2W.js} +2 -2
- package/dist/cdn/{XPNUQKHQ.js → KPVOTRY6.js} +2 -2
- package/dist/cdn/{QBP2GMFX.js → KSV7HOLH.js} +2 -2
- package/dist/cdn/L5KXFYTZ.js +4 -0
- package/dist/cdn/{CIOHS2IB.js → LFYKXH6S.js} +2 -2
- package/dist/cdn/{ONRNN3MI.js → LJKMKWHP.js} +2 -2
- package/dist/cdn/{FONVESAV.js → LTEB4WRL.js} +2 -2
- package/dist/cdn/{MNCVETO6.js → LTJ5QZU2.js} +2 -2
- package/dist/cdn/LUMQ6OR6.js +4 -0
- package/dist/cdn/MAXWP3QH.js +4 -0
- package/dist/cdn/MTWIYOBY.js +4 -0
- package/dist/cdn/MWTQYDCD.js +4 -0
- package/dist/cdn/NGJCYI5N.js +4 -0
- package/dist/cdn/{EKV6NZSJ.js → NJPVH3RS.js} +2 -2
- package/dist/cdn/{TXBEEVVR.js → NMPRF7TL.js} +2 -2
- package/dist/cdn/NZMFHLAR.js +4 -0
- package/dist/cdn/O2YDZOTY.js +4 -0
- package/dist/cdn/{2F4QXXJP.js → OF75EM6T.js} +2 -2
- package/dist/cdn/{WZHJLXEU.js → OHRPRGQD.js} +2 -2
- package/dist/cdn/{OAQLOWJB.js → OIBPR32W.js} +2 -2
- package/dist/cdn/{7AKSXA4M.js → OIGMJXAM.js} +2 -2
- package/dist/cdn/OJCH2CS7.js +4 -0
- package/dist/cdn/{PFDTVNI7.js → OK5WDDDQ.js} +2 -2
- package/dist/cdn/{G5B2WI7W.js → OMD2ZXDO.js} +2 -2
- package/dist/cdn/OSFAIAB6.js +4 -0
- package/dist/cdn/{FZPD6XMY.js → OWQNOUWO.js} +2 -2
- package/dist/cdn/PEVILRYK.js +4 -0
- package/dist/cdn/{CPQLWM6N.js → PGJT73MY.js} +2 -2
- package/dist/cdn/PHOVQ2ZJ.js +4 -0
- package/dist/cdn/PYCYFVXO.js +42 -0
- package/dist/cdn/{24HAPIXG.js → QF6FR2RU.js} +2 -2
- package/dist/cdn/{H5VBQD3X.js → R4SGS2LI.js} +2 -2
- package/dist/cdn/{CHJHZLKJ.js → RIWZQGDG.js} +2 -2
- package/dist/cdn/{TITHCANN.js → RME6BRSV.js} +2 -2
- package/dist/cdn/RXTDH6MF.js +4 -0
- package/dist/cdn/RXU2DH3D.js +4 -0
- package/dist/cdn/SD7CQ5U3.js +4 -0
- package/dist/cdn/{UH55XHIO.js → SITZ6TWR.js} +2 -2
- package/dist/cdn/SVPUKBBQ.js +4 -0
- package/dist/cdn/{HRYVCRB6.js → SYVYRKBD.js} +2 -2
- package/dist/cdn/{2UJ7KV2Q.js → TQ2YI5KH.js} +2 -2
- package/dist/cdn/{KOTBU4AA.js → TUE57EST.js} +2 -2
- package/dist/cdn/TW5BDDBA.js +4 -0
- package/dist/cdn/{JMQ2JX5Q.js → U5SHBR55.js} +2 -2
- package/dist/cdn/{I44FVTB7.js → UATC7JU6.js} +2 -2
- package/dist/cdn/{YALHRYXT.js → UHYLU2AU.js} +2 -2
- package/dist/cdn/{VKBPJ5SZ.js → UKTMPJKC.js} +2 -2
- package/dist/cdn/{LR5AP6IV.js → URYGXQHX.js} +2 -2
- package/dist/cdn/{ZQDKJMZ2.js → UX7B57MV.js} +2 -2
- package/dist/cdn/{TRZDFEQX.js → UXQIRHJJ.js} +2 -2
- package/dist/cdn/UXUQ46O6.js +4 -0
- package/dist/cdn/{CH6UU3BU.js → UYTQ7C26.js} +2 -2
- package/dist/cdn/V433ZUDY.js +4 -0
- package/dist/cdn/{UDHVKHD2.js → V53PD3HE.js} +2 -2
- package/dist/cdn/V5B2BCQ5.js +4 -0
- package/dist/cdn/VAUBV6J3.js +4 -0
- package/dist/cdn/VFDRXR2V.js +4 -0
- package/dist/cdn/{XOOWI43T.js → VJQ53D7Q.js} +1 -1
- package/dist/cdn/{FATERYBK.js → W3CBGYRZ.js} +2 -2
- package/dist/cdn/W7RPDBFS.js +4 -0
- package/dist/cdn/WANV2M2V.js +4 -0
- package/dist/cdn/{5NW7QCJH.js → WLCH6GIG.js} +2 -2
- package/dist/cdn/{CRB55NAE.js → WO6KLA7V.js} +2 -2
- package/dist/cdn/XPZBFE7T.js +4 -0
- package/dist/cdn/XULWMOYP.js +4 -0
- package/dist/cdn/{PYYQFXXB.js → XXLB73XP.js} +2 -2
- package/dist/cdn/XZTHY5FA.js +4 -0
- package/dist/cdn/Y55AA37I.js +4 -0
- package/dist/cdn/{Z5QL45J7.js → YBURGW3J.js} +1 -1
- package/dist/cdn/{6ENXSRIS.js → YDHUMU6H.js} +2 -2
- package/dist/cdn/{7YNYHO4V.js → YI5DXM4E.js} +2 -2
- package/dist/cdn/YJL5WJHJ.js +4 -0
- package/dist/cdn/YNJZNNRZ.js +4 -0
- package/dist/cdn/{OJSH2B2E.js → YSPPC3YW.js} +1 -1
- package/dist/cdn/Z47PXPKQ.js +4 -0
- package/dist/cdn/{DZSIMKDR.js → ZEC4TJJT.js} +2 -2
- package/dist/cdn/ZEGRHFVM.js +4 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/data/utils/query-parser/index.d.ts +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +2 -2
- package/dist/chart-rendering/stable/chart-library-elements/guides-and-ticks/index.d.ts +1 -1
- package/dist/chunks/action-bar-utils.js +11 -12
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +4 -4
- package/dist/chunks/bar-chart-series.js +3 -3
- package/dist/chunks/baseline-stacking.js +14 -14
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +52 -53
- package/dist/chunks/box-plot-model.js +47 -47
- package/dist/chunks/chart-ui-utils.js +6 -7
- package/dist/chunks/chart-ui-utils2.js +40 -42
- package/dist/chunks/combo-bar-line-chart-model.js +10 -10
- package/dist/chunks/common.js +3 -3
- package/dist/chunks/data.js +215 -218
- package/dist/chunks/default.js +8 -9
- package/dist/chunks/gauge-model.js +12 -12
- package/dist/chunks/histogram-data.js +14 -14
- package/dist/chunks/histogram-model.js +7 -7
- package/dist/chunks/index.js +104 -106
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +63 -37
- package/dist/chunks/index4.js +89 -63
- package/dist/chunks/interfaces.js +423 -411
- package/dist/chunks/interfaces2.js +2 -2
- package/dist/chunks/line-chart-model.js +7 -7
- package/dist/chunks/model-with-baseline-stacking.js +2 -2
- package/dist/chunks/model-with-data-labels.js +5 -5
- package/dist/chunks/model-with-multi-axes.js +51 -52
- package/dist/chunks/model-with-rotation.js +3 -3
- package/dist/chunks/pie-chart-data.js +49 -50
- package/dist/chunks/pie-chart-model.js +32 -33
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +4 -4
- package/dist/chunks/resource.js +3 -3
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +25 -25
- package/dist/chunks/serial-chart-model.js +13 -13
- package/dist/chunks/series-types.js +268 -20
- package/dist/chunks/series.js +5 -5
- package/dist/chunks/setup-utils.js +113 -0
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +42 -43
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +77 -79
- package/dist/components/arcgis-chart/customElement.js +2225 -2212
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +27 -27
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-format/customElement.js +22 -23
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-guide/customElement.js +23 -24
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-guides/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +20 -22
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-number-format/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +371 -300
- package/dist/loader.js +1 -1
- package/dist/utils/layer/query-features/index.d.ts +3 -1
- package/package.json +4 -6
- package/dist/cdn/2RF37FGZ.js +0 -42
- package/dist/cdn/2TMPT4KX.js +0 -4
- package/dist/cdn/3UVTMKGW.js +0 -4
- package/dist/cdn/3WET77KT.js +0 -4
- package/dist/cdn/45IUTPVD.js +0 -4
- package/dist/cdn/4DNWMTUG.js +0 -4
- package/dist/cdn/4GFU6Q2Y.js +0 -4
- package/dist/cdn/4W7MRZLR.js +0 -4
- package/dist/cdn/5T3OY45K.js +0 -4
- package/dist/cdn/6VHQLN3L.js +0 -4
- package/dist/cdn/73ZAQUD4.js +0 -4
- package/dist/cdn/7UQ54NEK.js +0 -4
- package/dist/cdn/AIQRYRDA.js +0 -4
- package/dist/cdn/BASTLDPS.js +0 -4
- package/dist/cdn/BKEHY2SH.js +0 -4
- package/dist/cdn/BQGGA5Q7.js +0 -4
- package/dist/cdn/BRX6FCE7.js +0 -4
- package/dist/cdn/CL46NZLX.js +0 -4
- package/dist/cdn/CYV6M46U.js +0 -4
- package/dist/cdn/D6MKPUGU.js +0 -4
- package/dist/cdn/DWWAYWH2.js +0 -4
- package/dist/cdn/ENOQUHWO.js +0 -4
- package/dist/cdn/F6XKLK7S.js +0 -4
- package/dist/cdn/FB3JN4OH.js +0 -4
- package/dist/cdn/G2RHKRSI.js +0 -4
- package/dist/cdn/G6CHTZFH.js +0 -4
- package/dist/cdn/GCMU7EJA.js +0 -4
- package/dist/cdn/H4TDA37X.js +0 -4
- package/dist/cdn/HFPTP3AC.js +0 -4
- package/dist/cdn/HQ4Q4KHD.js +0 -4
- package/dist/cdn/JWHWQZMM.js +0 -4
- package/dist/cdn/KA5EKB4T.js +0 -4
- package/dist/cdn/KAAEPVF4.js +0 -4
- package/dist/cdn/L2JWJCLD.js +0 -4
- package/dist/cdn/LKODRPC7.js +0 -4
- package/dist/cdn/LXHKBGB2.js +0 -4
- package/dist/cdn/MPOUBWNN.js +0 -4
- package/dist/cdn/MT2BPK2R.js +0 -4
- package/dist/cdn/MVDBAUVW.js +0 -4
- package/dist/cdn/NBTVGLEC.js +0 -4
- package/dist/cdn/NCAYKFW5.js +0 -4
- package/dist/cdn/NNQVSSFU.js +0 -4
- package/dist/cdn/O5YNMLS7.js +0 -4
- package/dist/cdn/OQOHTIPL.js +0 -4
- package/dist/cdn/OXHXO22O.js +0 -4
- package/dist/cdn/PT3WC7YP.js +0 -4
- package/dist/cdn/PVR32HYV.js +0 -4
- package/dist/cdn/Q7DJG44E.js +0 -4
- package/dist/cdn/QMFSVFWO.js +0 -4
- package/dist/cdn/R7VXVOHM.js +0 -4
- package/dist/cdn/RN7CAPDU.js +0 -4
- package/dist/cdn/SBPGLEWK.js +0 -4
- package/dist/cdn/SXVKSRSL.js +0 -4
- package/dist/cdn/TCNEKTGN.js +0 -4
- package/dist/cdn/TQS7BGCK.js +0 -4
- package/dist/cdn/TTZGZ7RP.js +0 -4
- package/dist/cdn/U6BPN5UT.js +0 -4
- package/dist/cdn/U77F6NBN.js +0 -4
- package/dist/cdn/V3REKOWE.js +0 -4
- package/dist/cdn/VLYK2N2P.js +0 -6
- package/dist/cdn/VMJAZD3K.js +0 -4
- package/dist/cdn/VYJAOXXG.js +0 -4
- package/dist/cdn/WANWXCQC.js +0 -4
- package/dist/cdn/WSVF5A3D.js +0 -4
- package/dist/cdn/WUMOF6BE.js +0 -4
- package/dist/cdn/X5NLHJ37.js +0 -4
- package/dist/cdn/XJKF7XNS.js +0 -4
- package/dist/cdn/XJW2JDGU.js +0 -4
- package/dist/cdn/XNWVXQE3.js +0 -4
- package/dist/cdn/XZTXBDAJ.js +0 -4
- package/dist/cdn/Y3UUHQOZ.js +0 -4
- package/dist/cdn/Z45BUD7P.js +0 -4
- package/dist/cdn/ZDATHWL2.js +0 -4
- package/dist/cdn/ZJXW32SS.js +0 -4
- package/dist/cdn/model.js +0 -4
- package/dist/cdn/spec.js +0 -4
- package/dist/chunks/chart-object-literals.js +0 -157
- package/dist/chunks/index5.js +0 -96
- package/dist/chunks/rest-js-object-literals.js +0 -103
- package/dist/model.d.ts +0 -1
- package/dist/model.js +0 -107
- package/dist/spec.d.ts +0 -1
- package/dist/spec.js +0 -54
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { memoize as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { memoize as Y, isEmpty as E, isNull as U, cloneDeep as $ } from "lodash-es";
|
|
2
|
+
import { d as u, j as C, v as m } from "./series-types.js";
|
|
3
|
+
import { d as A, aj as W, aU as z, cd as q, x as v, aE as G, a as B } from "./interfaces.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import { ad as W, aO as z, c7 as N, q as B, ay as G } from "./interfaces.js";
|
|
6
5
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
6
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
7
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -13,35 +12,35 @@ import "@arcgis/core/request.js";
|
|
|
13
12
|
import { fetchT9nStringsBundle as R, getElementLocale as _ } from "@arcgis/toolkit/intl";
|
|
14
13
|
import { g as M } from "./runtime.js";
|
|
15
14
|
import "@arcgis/toolkit/dom";
|
|
16
|
-
import { substitute as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
15
|
+
import { substitute as b } from "@arcgis/core/intl.js";
|
|
16
|
+
import { a as y, P as g } from "./common.js";
|
|
17
|
+
import { i as w, u as D, f as k, h as H, e as J } from "./data.js";
|
|
19
18
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
19
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
21
|
-
v4.34.0-next.
|
|
20
|
+
v4.34.0-next.116 */
|
|
22
21
|
async function x(s) {
|
|
23
|
-
const { config: t, layerInfo: e, mode: i } = s, a = e !== void 0 ? await
|
|
22
|
+
const { config: t, layerInfo: e, mode: i } = s, a = e !== void 0 ? await O({ config: t, layerInfo: e, mode: i }) : "", o = k(t), n = v(t);
|
|
24
23
|
return a === o || n;
|
|
25
24
|
}
|
|
26
|
-
async function
|
|
27
|
-
const { config: t, layerInfo: e, mode: i } = s, a = e !== void 0 ? await
|
|
25
|
+
async function N(s) {
|
|
26
|
+
const { config: t, layerInfo: e, mode: i } = s, a = e !== void 0 ? await w({
|
|
28
27
|
config: t,
|
|
29
28
|
layerInfo: e,
|
|
30
29
|
numericFields: p(t),
|
|
31
30
|
aggregationType: f(t, i)
|
|
32
|
-
}) : "", o = H(1, t), n =
|
|
31
|
+
}) : "", o = H(1, t), n = v(t);
|
|
33
32
|
return a === o || n;
|
|
34
33
|
}
|
|
35
34
|
const P = (s) => s.series?.[0]?.x ?? "";
|
|
36
35
|
function Q(s, t) {
|
|
37
36
|
const e = s.series?.[0];
|
|
38
|
-
return [`${t === y.Category ? e.y :
|
|
37
|
+
return [`${t === y.Category ? e.y : B} ${C.Descending}`];
|
|
39
38
|
}
|
|
40
39
|
const V = (s, t) => {
|
|
41
40
|
let e = g.valueDesc;
|
|
42
41
|
const i = s.orderOptions?.data?.orderType ?? Q(s, t), a = s.orderOptions?.data?.orderBy ?? C.Descending;
|
|
43
42
|
return i === m.Category && Array.isArray(a) ? e = g.customSort : i === m.Category ? a === C.Ascending ? e = g.labelAsc : e = g.labelDesc : a === C.Ascending ? e = g.valueAsc : e = g.valueDesc, e;
|
|
44
|
-
}, p =
|
|
43
|
+
}, p = Y(
|
|
45
44
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
46
45
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
47
46
|
(s) => {
|
|
@@ -74,7 +73,7 @@ async function I(s) {
|
|
|
74
73
|
}, l = f(t, i);
|
|
75
74
|
if (l !== u.NoAggregation && a !== void 0) {
|
|
76
75
|
const d = `${l}_${a}_0`.toUpperCase();
|
|
77
|
-
r.y = i === y.Category ? d :
|
|
76
|
+
r.y = i === y.Category ? d : B, r.query = {
|
|
78
77
|
outStatistics: i === y.Category ? [
|
|
79
78
|
{
|
|
80
79
|
statisticType: l,
|
|
@@ -84,33 +83,33 @@ async function I(s) {
|
|
|
84
83
|
] : []
|
|
85
84
|
};
|
|
86
85
|
}
|
|
87
|
-
return i === y.Category && r.query !== void 0 ? r.query.groupByFieldsForStatistics = [n] : delete r.query?.groupByFieldsForStatistics,
|
|
86
|
+
return i === y.Category && r.query !== void 0 ? r.query.groupByFieldsForStatistics = [n] : delete r.query?.groupByFieldsForStatistics, $(r);
|
|
88
87
|
}
|
|
89
|
-
async function
|
|
90
|
-
const { config: t, layerInfo: e, mode: i } = s, { layerFieldsInfo: a, objectIdField: o } = e, n = P(t), c = p(t), r = f(t, i), l = c.length === 0 || c.includes(o), d = await z(r),
|
|
88
|
+
async function O(s) {
|
|
89
|
+
const { config: t, layerInfo: e, mode: i } = s, { layerFieldsInfo: a, objectIdField: o } = e, n = P(t), c = p(t), r = f(t, i), l = c.length === 0 || c.includes(o), d = await z(r), h = l ? "" : c.map((K) => q(a ?? [], K)).join(", "), F = q(a ?? [], n);
|
|
91
90
|
let T = "";
|
|
92
|
-
const
|
|
91
|
+
const S = await R(
|
|
93
92
|
_(document.documentElement).t9nLocale,
|
|
94
93
|
M("./assets/common/t9n"),
|
|
95
94
|
"messages."
|
|
96
95
|
);
|
|
97
96
|
let L;
|
|
98
|
-
return i === y.Fields ? L = c.length === 0 : L = n === "", L ? T =
|
|
99
|
-
aggregationFields: l ? o :
|
|
97
|
+
return i === y.Fields ? L = c.length === 0 : L = n === "", L ? T = S.utilsStrings.chartType.pieChart : r === u.NoAggregation ? T = b(S.titleLabels.aggrFieldsByCategory, {
|
|
98
|
+
aggregationFields: l ? o : h,
|
|
100
99
|
category: F
|
|
101
|
-
}) : r === u.Count ? T =
|
|
100
|
+
}) : r === u.Count ? T = b(S.titleLabels.aggrTypeCategory, {
|
|
102
101
|
aggregationType: d,
|
|
103
102
|
category: F
|
|
104
|
-
}) : c.length > 0 && (F === A || E(F) ||
|
|
103
|
+
}) : c.length > 0 && (F === A || E(F) || U(F) ? T = b(S.titleLabels.aggrTypeOfAggrFields, {
|
|
105
104
|
aggregationType: d,
|
|
106
|
-
aggregationFields:
|
|
107
|
-
}) : T =
|
|
105
|
+
aggregationFields: h
|
|
106
|
+
}) : T = b(S.titleLabels.aggrTypeOfAggrFieldsByCategory, {
|
|
108
107
|
aggregationType: d,
|
|
109
|
-
aggregationFields:
|
|
108
|
+
aggregationFields: h,
|
|
110
109
|
category: F
|
|
111
110
|
})), T;
|
|
112
111
|
}
|
|
113
|
-
const
|
|
112
|
+
const fe = (s) => {
|
|
114
113
|
const { newSortOrderKind: t, config: e, orderByList: i } = s;
|
|
115
114
|
e.orderOptions ??= {}, t === g.customSort && i !== void 0 ? e.orderOptions.data = {
|
|
116
115
|
orderType: m.Category,
|
|
@@ -119,8 +118,8 @@ const Fe = (s) => {
|
|
|
119
118
|
orderType: t === g.labelAsc || t === g.labelDesc ? m.Category : m.YValue,
|
|
120
119
|
orderBy: t === g.labelAsc || t === g.valueAsc ? C.Ascending : C.Descending
|
|
121
120
|
};
|
|
122
|
-
},
|
|
123
|
-
const { newCategory: t, config: e, layerInfo: i, mode: a } = s, o = e.series?.length ?? 0, n = await x({ config: e, layerInfo: i, mode: a }), c = await
|
|
121
|
+
}, Fe = async (s) => {
|
|
122
|
+
const { newCategory: t, config: e, layerInfo: i, mode: a } = s, o = e.series?.length ?? 0, n = await x({ config: e, layerInfo: i, mode: a }), c = await N({ config: e, layerInfo: i, mode: a });
|
|
124
123
|
if (e.series.forEach((r) => {
|
|
125
124
|
r.x = a === y.Category ? t : A, r.query !== void 0 && t !== A ? r.query.groupByFieldsForStatistics = [t] : delete r.query?.groupByFieldsForStatistics;
|
|
126
125
|
}), o === 0) {
|
|
@@ -129,7 +128,7 @@ const Fe = (s) => {
|
|
|
129
128
|
}
|
|
130
129
|
if (i !== void 0) {
|
|
131
130
|
if (c) {
|
|
132
|
-
const l = await
|
|
131
|
+
const l = await w({
|
|
133
132
|
config: e,
|
|
134
133
|
layerInfo: i,
|
|
135
134
|
numericFields: p(e),
|
|
@@ -137,12 +136,12 @@ const Fe = (s) => {
|
|
|
137
136
|
});
|
|
138
137
|
D(e, 1, l);
|
|
139
138
|
}
|
|
140
|
-
e.title && n && (e.title.content.text = await
|
|
139
|
+
e.title && n && (e.title.content.text = await O({ config: e, layerInfo: i, mode: a }));
|
|
141
140
|
const r = a === y.Fields ? p(e).filter((l) => l !== i.objectIdField) : p(e);
|
|
142
141
|
await X({ newNumericFields: r, config: e, layerInfo: i, mode: a });
|
|
143
142
|
}
|
|
144
143
|
};
|
|
145
|
-
async function
|
|
144
|
+
async function j(s) {
|
|
146
145
|
const { numericFields: t, aggregationType: e, config: i, layerInfo: a, mode: o } = s, n = [], c = await I({
|
|
147
146
|
config: i,
|
|
148
147
|
layerInfo: a,
|
|
@@ -185,24 +184,24 @@ async function K(s) {
|
|
|
185
184
|
r.query = {};
|
|
186
185
|
r.y = l, n.push(r), i.series = n;
|
|
187
186
|
}
|
|
188
|
-
const
|
|
189
|
-
const { newAggregationType: t, config: e, layerInfo: i, mode: a } = s, o = p(e), n = await x({ config: e, layerInfo: i, mode: a }), c = await
|
|
190
|
-
if (await
|
|
187
|
+
const Te = async (s) => {
|
|
188
|
+
const { newAggregationType: t, config: e, layerInfo: i, mode: a } = s, o = p(e), n = await x({ config: e, layerInfo: i, mode: a }), c = await N({ config: e, layerInfo: i, mode: a });
|
|
189
|
+
if (await j({
|
|
191
190
|
config: e,
|
|
192
191
|
layerInfo: i,
|
|
193
192
|
numericFields: o,
|
|
194
193
|
aggregationType: t,
|
|
195
194
|
mode: a
|
|
196
195
|
}), c) {
|
|
197
|
-
const
|
|
196
|
+
const h = await w({
|
|
198
197
|
config: e,
|
|
199
198
|
layerInfo: i,
|
|
200
199
|
numericFields: p(e),
|
|
201
200
|
aggregationType: f(e, a)
|
|
202
201
|
});
|
|
203
|
-
D(e, 1,
|
|
202
|
+
D(e, 1, h);
|
|
204
203
|
}
|
|
205
|
-
e.title && n && (e.title.content.text = await
|
|
204
|
+
e.title && n && (e.title.content.text = await O({ config: e, layerInfo: i, mode: a }));
|
|
206
205
|
const r = e.series?.[0]?.displayCategoryOnDataLabel, l = e.series?.[0]?.displayNumericValueOnDataLabel, d = e.series?.[0]?.displayPercentageOnDataLabel;
|
|
207
206
|
e.legend = {
|
|
208
207
|
...e.legend ?? W(),
|
|
@@ -214,16 +213,16 @@ const Ce = async (s) => {
|
|
|
214
213
|
let { newNumericFields: t } = s;
|
|
215
214
|
const { config: e, layerInfo: i, mode: a } = s, { objectIdField: o } = i ?? {};
|
|
216
215
|
let n = f(e, a);
|
|
217
|
-
const c = await x({ config: e, layerInfo: i, mode: a }), r = await
|
|
216
|
+
const c = await x({ config: e, layerInfo: i, mode: a }), r = await N({ config: e, layerInfo: i, mode: a });
|
|
218
217
|
if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, o !== void 0 && (t.length === 0 && a === y.Category ? (t.push(o), n = u.Count) : n === u.Count && t.length >= 1 && !t.includes(o) && (n = u.Sum)), i !== void 0) {
|
|
219
|
-
if (await
|
|
218
|
+
if (await j({
|
|
220
219
|
config: e,
|
|
221
220
|
layerInfo: i,
|
|
222
221
|
numericFields: t,
|
|
223
222
|
aggregationType: n,
|
|
224
223
|
mode: a
|
|
225
224
|
}), r) {
|
|
226
|
-
const l = await
|
|
225
|
+
const l = await w({
|
|
227
226
|
config: e,
|
|
228
227
|
layerInfo: i,
|
|
229
228
|
numericFields: p(e),
|
|
@@ -231,16 +230,16 @@ const Ce = async (s) => {
|
|
|
231
230
|
});
|
|
232
231
|
D(e, 1, l);
|
|
233
232
|
}
|
|
234
|
-
e.title && c && (e.title.content.text = await
|
|
233
|
+
e.title && c && (e.title.content.text = await O({ config: e, layerInfo: i, mode: a }));
|
|
235
234
|
} else
|
|
236
235
|
e.series.forEach((l) => {
|
|
237
236
|
delete l.query, l.y = t[0];
|
|
238
237
|
});
|
|
239
|
-
},
|
|
238
|
+
}, Ce = (s, t) => {
|
|
240
239
|
let e = [];
|
|
241
240
|
const i = s.orderOptions?.data?.orderType, a = V(s, t), o = s.orderOptions?.data?.orderBy;
|
|
242
241
|
return a === g.customSort && i === m.Category && Array.isArray(o) && (e = o), e;
|
|
243
|
-
},
|
|
242
|
+
}, he = (s) => {
|
|
244
243
|
const { values: t, config: e, mode: i } = s;
|
|
245
244
|
e.orderOptions ??= {};
|
|
246
245
|
const a = e.orderOptions?.data?.orderType;
|
|
@@ -253,12 +252,12 @@ export {
|
|
|
253
252
|
p as a,
|
|
254
253
|
f as b,
|
|
255
254
|
X as c,
|
|
256
|
-
|
|
255
|
+
Te as d,
|
|
257
256
|
V as e,
|
|
258
|
-
|
|
257
|
+
fe as f,
|
|
259
258
|
P as g,
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
259
|
+
Ce as h,
|
|
260
|
+
he as i,
|
|
261
|
+
O as j,
|
|
262
|
+
Fe as s
|
|
264
263
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { W as o } from "./
|
|
1
|
+
import { W as o, R as l } from "./series-types.js";
|
|
2
2
|
import { cloneDeep as x } from "lodash-es";
|
|
3
3
|
import "d3-array";
|
|
4
|
-
import {
|
|
4
|
+
import { aj as f, aC as b, af as h, a1 as D, p, cx as g, x as N, aL as U, aE as F } from "./interfaces.js";
|
|
5
5
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
6
6
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
7
7
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -13,23 +13,22 @@ import "@arcgis/toolkit/intl";
|
|
|
13
13
|
import "./runtime.js";
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
15
|
import { C as M } from "./model-with-multi-axes.js";
|
|
16
|
-
import { b as r,
|
|
17
|
-
import { M as
|
|
16
|
+
import { b as r, a as c } from "./common.js";
|
|
17
|
+
import { M as L, a as G, b as A, c as k } from "./model-with-data-labels.js";
|
|
18
18
|
import "@arcgis/core/intl.js";
|
|
19
|
-
import {
|
|
20
|
-
import { g as u, s as z, a as B, c as E, b as R, d as
|
|
21
|
-
import { R as c } from "./rest-js-object-literals.js";
|
|
19
|
+
import { o as O, an as w, l as W } from "./data.js";
|
|
20
|
+
import { g as u, s as z, a as B, c as E, b as R, d as j, e as K, f as q, h as m, i as y, j as H } from "./pie-chart-data.js";
|
|
22
21
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
22
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
24
|
-
v4.34.0-next.
|
|
25
|
-
const
|
|
23
|
+
v4.34.0-next.116 */
|
|
24
|
+
const J = (i) => i.legend?.displayNumericValue ?? !1, Q = (i, e) => {
|
|
26
25
|
e.series[0]?.type === o.PieSeries && (e.legend === void 0 && (e.legend = f()), e.legend.displayNumericValue = i);
|
|
27
|
-
},
|
|
26
|
+
}, X = (i) => i.legend?.displayPercentage ?? !1, Y = (i, e) => {
|
|
28
27
|
e.series[0]?.type === o.PieSeries && (e.legend === void 0 && (e.legend = f()), e.legend.displayPercentage = i);
|
|
29
28
|
}, Z = (i) => i.legend?.labelMaxWidth ?? 200, $ = (i, e) => {
|
|
30
29
|
e.series[0]?.type === o.PieSeries && (e.legend === void 0 && (e.legend = f()), e.legend.labelMaxWidth = i);
|
|
31
30
|
};
|
|
32
|
-
class P extends
|
|
31
|
+
class P extends L {
|
|
33
32
|
/**
|
|
34
33
|
* Gets the setting for the display of numerical value in the legend items.
|
|
35
34
|
* @returns {boolean}
|
|
@@ -37,7 +36,7 @@ class P extends O {
|
|
|
37
36
|
* This setting is only applicable to pie charts.
|
|
38
37
|
*/
|
|
39
38
|
getDisplayNumericValue() {
|
|
40
|
-
return
|
|
39
|
+
return J(this._config);
|
|
41
40
|
}
|
|
42
41
|
/**
|
|
43
42
|
* Sets the setting for the display of numerical value in the legend items.
|
|
@@ -46,7 +45,7 @@ class P extends O {
|
|
|
46
45
|
* This setting is only applicable to pie charts.
|
|
47
46
|
*/
|
|
48
47
|
setDisplayNumericValue(e) {
|
|
49
|
-
|
|
48
|
+
Q(e, this._config), this.emitConfigUpdate("setDisplayNumericValue");
|
|
50
49
|
}
|
|
51
50
|
/**
|
|
52
51
|
* Gets the setting for the display of percentage in the legend items.
|
|
@@ -55,7 +54,7 @@ class P extends O {
|
|
|
55
54
|
* This setting is only applicable to pie charts.
|
|
56
55
|
*/
|
|
57
56
|
getDisplayPercentage() {
|
|
58
|
-
return
|
|
57
|
+
return X(this._config);
|
|
59
58
|
}
|
|
60
59
|
/**
|
|
61
60
|
* Sets the setting for the display of percentage in the legend items.
|
|
@@ -85,7 +84,7 @@ class P extends O {
|
|
|
85
84
|
$(e, this._config), this.emitConfigUpdate("setLabelMaxWidth");
|
|
86
85
|
}
|
|
87
86
|
}
|
|
88
|
-
|
|
87
|
+
O(P, [L]);
|
|
89
88
|
const ee = (i) => i.series?.[0]?.innerRadius, ie = (i, e) => {
|
|
90
89
|
e.series?.[0] && (e.series[0].innerRadius = i);
|
|
91
90
|
}, te = (i) => i.series?.[0]?.dataLabelsCharacterLimit, se = (i, e) => {
|
|
@@ -117,9 +116,9 @@ const ee = (i) => i.series?.[0]?.innerRadius, ie = (i, e) => {
|
|
|
117
116
|
e.series[0] && (e.series[0].alignDataLabels = i);
|
|
118
117
|
}, _e = (i) => i.series?.[0]?.dataLabelsInside ?? !1, be = (i, e) => {
|
|
119
118
|
e.series[0] && (e.series[0].dataLabelsInside = i);
|
|
120
|
-
}, De = (i) => i.series?.[0]?.dataLabelsOffset ?? 10,
|
|
119
|
+
}, De = (i) => i.series?.[0]?.dataLabelsOffset ?? 10, Le = (i, e) => {
|
|
121
120
|
e.series[0] && (e.series[0].dataLabelsOffset = i);
|
|
122
|
-
},
|
|
121
|
+
}, Oe = (i) => i.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Pe = (i, e) => {
|
|
123
122
|
e.series?.[0] && (e.series[0].numericValueFormat ??= h(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = i, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = i, e.series[0].percentValueFormat ??= h(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = i, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = i);
|
|
124
123
|
}, Te = (i) => i.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Ve = (i, e) => {
|
|
125
124
|
e.series[0] && (e.series[0].optimizeDataLabelsOverlapping = i);
|
|
@@ -131,10 +130,10 @@ const ee = (i) => i.series?.[0]?.innerRadius, ie = (i, e) => {
|
|
|
131
130
|
t.series?.[0]?.slices?.[e] && (t.series[0].slices[e].label = i);
|
|
132
131
|
}, Ge = (i, e) => e.series?.[0]?.slices?.[i]?.fillSymbol?.color, Ae = (i, e, t) => {
|
|
133
132
|
const s = t.series?.[0]?.slices?.[e]?.fillSymbol;
|
|
134
|
-
s !== void 0 ? (s.color = i, s.outline !== void 0 ? s.outline.color = i : s.outline = { type:
|
|
135
|
-
type:
|
|
133
|
+
s !== void 0 ? (s.color = i, s.outline !== void 0 ? s.outline.color = i : s.outline = { type: l.SLS, color: i }) : t.series?.[0]?.slices?.[e] !== void 0 && (t.series[0].slices[e].fillSymbol = {
|
|
134
|
+
type: l.SFS,
|
|
136
135
|
color: i,
|
|
137
|
-
outline: { type:
|
|
136
|
+
outline: { type: l.SLS, color: i }
|
|
138
137
|
});
|
|
139
138
|
}, ke = (i) => i.series?.[0]?.slices?.map((e) => e.sliceId), _ = (i, e) => {
|
|
140
139
|
e.series?.[0]?.slices?.sort(
|
|
@@ -157,17 +156,17 @@ const ee = (i) => i.series?.[0]?.innerRadius, ie = (i, e) => {
|
|
|
157
156
|
},
|
|
158
157
|
i
|
|
159
158
|
);
|
|
160
|
-
}, Ee = (i, e) => e.series[0]?.slices?.[i]?.sliceId, Re = (i, e) => e.series[0]?.slices?.findIndex((t) => t.sliceId === i),
|
|
161
|
-
class
|
|
159
|
+
}, Ee = (i, e) => e.series[0]?.slices?.[i]?.sliceId, Re = (i, e) => e.series[0]?.slices?.findIndex((t) => t.sliceId === i), je = (i) => i.series[0]?.slices?.length ?? 0;
|
|
160
|
+
class Ke extends M {
|
|
162
161
|
constructor() {
|
|
163
|
-
super(...arguments), this._chartType = o.PieSeries, this._mode =
|
|
162
|
+
super(...arguments), this._chartType = o.PieSeries, this._mode = c.Category, this._groupedSliceIds = [];
|
|
164
163
|
}
|
|
165
164
|
async setup(e) {
|
|
166
165
|
await this.loadConfigFromLayer(e);
|
|
167
166
|
const { config: t } = e;
|
|
168
167
|
if (t !== void 0) {
|
|
169
168
|
const s = p(t.series);
|
|
170
|
-
this._mode = s !==
|
|
169
|
+
this._mode = s !== g.PieFromFields ? c.Category : c.Fields;
|
|
171
170
|
}
|
|
172
171
|
this.resolveSetup();
|
|
173
172
|
}
|
|
@@ -227,7 +226,7 @@ class je extends M {
|
|
|
227
226
|
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
228
227
|
*/
|
|
229
228
|
async setAggregationType(e) {
|
|
230
|
-
await
|
|
229
|
+
await j({
|
|
231
230
|
newAggregationType: e,
|
|
232
231
|
config: this._config,
|
|
233
232
|
layerInfo: this.layerInfo,
|
|
@@ -239,7 +238,7 @@ class je extends M {
|
|
|
239
238
|
* @returns {PieChartDataSortingKinds}
|
|
240
239
|
*/
|
|
241
240
|
getSortOrder() {
|
|
242
|
-
return
|
|
241
|
+
return K(this._config, this._mode);
|
|
243
242
|
}
|
|
244
243
|
/**
|
|
245
244
|
* Sets the sort order for the pie chart.
|
|
@@ -301,7 +300,7 @@ class je extends M {
|
|
|
301
300
|
async getCustomSortValues() {
|
|
302
301
|
const e = u(this._config), t = p(this._config.series), s = this.getNumericFields();
|
|
303
302
|
let a = [];
|
|
304
|
-
return t ===
|
|
303
|
+
return t === g.PieFromFields ? a = s : e.trim() !== "" && t === g.PieFromCategory && (a = await W({
|
|
305
304
|
category: e,
|
|
306
305
|
config: this._config,
|
|
307
306
|
layerInfo: this.layerInfo
|
|
@@ -431,7 +430,7 @@ class je extends M {
|
|
|
431
430
|
* @returns {number}
|
|
432
431
|
*/
|
|
433
432
|
getDecimalPlaces() {
|
|
434
|
-
return
|
|
433
|
+
return Oe(this._config) ?? 1;
|
|
435
434
|
}
|
|
436
435
|
/**
|
|
437
436
|
* Sets the number of decimal places to display in the slice values.
|
|
@@ -550,7 +549,7 @@ class je extends M {
|
|
|
550
549
|
* @returns {number}
|
|
551
550
|
*/
|
|
552
551
|
getSlicesLength() {
|
|
553
|
-
return
|
|
552
|
+
return je(this._config);
|
|
554
553
|
}
|
|
555
554
|
/**
|
|
556
555
|
* Resets the slices styling to the default styling.
|
|
@@ -731,7 +730,7 @@ class je extends M {
|
|
|
731
730
|
* @param offset The offset for the data labels.
|
|
732
731
|
*/
|
|
733
732
|
setDataLabelsOffset(e) {
|
|
734
|
-
|
|
733
|
+
Le(e, this._config), this.emitConfigUpdate("setDataLabelsOffset");
|
|
735
734
|
}
|
|
736
735
|
/**
|
|
737
736
|
* Gets the align data labels setting for the pie chart.
|
|
@@ -784,10 +783,10 @@ class je extends M {
|
|
|
784
783
|
* @returns {string}
|
|
785
784
|
*/
|
|
786
785
|
async generateChartTitle() {
|
|
787
|
-
return await
|
|
786
|
+
return await H({ config: this._config, layerInfo: this.layerInfo, mode: this._mode });
|
|
788
787
|
}
|
|
789
788
|
}
|
|
790
|
-
|
|
789
|
+
O(Ke, [P, G, A, k]);
|
|
791
790
|
export {
|
|
792
|
-
|
|
791
|
+
Ke as PieChartModel
|
|
793
792
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isEqual as r } from "lodash-es";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
4
|
-
v4.34.0-next.
|
|
4
|
+
v4.34.0-next.116 */
|
|
5
5
|
const s = (e) => (e?.remove(), null), c = (e, t = !1) => {
|
|
6
6
|
if (e != null)
|
|
7
7
|
return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { W as n } from "./
|
|
1
|
+
import { W as n } from "./series-types.js";
|
|
2
2
|
import "lodash-es";
|
|
3
3
|
import "d3-array";
|
|
4
|
-
import {
|
|
4
|
+
import { aK as m, ay as o, a5 as h, X as f } from "./interfaces.js";
|
|
5
5
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
6
6
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
7
7
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -16,11 +16,11 @@ import { S as g, s as y, a as u } from "./serial-chart-model.js";
|
|
|
16
16
|
import "@arcgis/core/intl.js";
|
|
17
17
|
import "./model-with-multi-axes.js";
|
|
18
18
|
import { M as p, a as b } from "./model-with-baseline-stacking.js";
|
|
19
|
-
import {
|
|
19
|
+
import { n as a, o as I } from "./data.js";
|
|
20
20
|
import { s as k, a as C, b as M, c as L, d as _ } from "./baseline-stacking.js";
|
|
21
21
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
22
22
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
23
|
-
v4.34.0-next.
|
|
23
|
+
v4.34.0-next.116 */
|
|
24
24
|
class v extends g {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments), this._chartType = n.RadarSeries;
|
package/dist/chunks/resource.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { G as o } from "./common.js";
|
|
2
|
-
import {
|
|
3
|
-
import "./
|
|
2
|
+
import { n } from "./type-guards.js";
|
|
3
|
+
import "./series-types.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
6
|
-
v4.34.0-next.
|
|
6
|
+
v4.34.0-next.116 */
|
|
7
7
|
const u = {
|
|
8
8
|
addGuide: "add-guide",
|
|
9
9
|
noMessages: "no-messages"
|
package/dist/chunks/runtime.js
CHANGED
|
@@ -3,7 +3,7 @@ import { makeRuntime as e } from "@arcgis/lumina";
|
|
|
3
3
|
import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
6
|
-
v4.34.0-next.
|
|
6
|
+
v4.34.0-next.116 */
|
|
7
7
|
const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/next/charts-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: h } = t;
|
|
8
8
|
t.t = s;
|
|
9
9
|
t.o = r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { W as w } from "./
|
|
1
|
+
import { W as w } from "./series-types.js";
|
|
2
2
|
import { isEmpty as u, isEqual as I } from "lodash-es";
|
|
3
3
|
import "d3-array";
|
|
4
|
-
import {
|
|
4
|
+
import { ar as _, as as l, cd as o, x as m, bc as X, aN as Y } from "./interfaces.js";
|
|
5
5
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
6
6
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
7
7
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -12,13 +12,13 @@ import "@arcgis/core/request.js";
|
|
|
12
12
|
import { fetchT9nStringsBundle as P, getElementLocale as U } from "@arcgis/toolkit/intl";
|
|
13
13
|
import { g as W } from "./runtime.js";
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
|
-
import {
|
|
15
|
+
import { f as k, h as v, s as x, u as T, ax as z, o as E } from "./data.js";
|
|
16
16
|
import { substitute as O } from "@arcgis/core/intl.js";
|
|
17
|
-
import { C as D, M as B,
|
|
18
|
-
import { M as
|
|
17
|
+
import { C as D, M as B, a as V, b as G } from "./model-with-multi-axes.js";
|
|
18
|
+
import { M as q, a as j, b as H, c as J } from "./model-with-data-labels.js";
|
|
19
19
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
20
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
21
|
-
v4.34.0-next.
|
|
21
|
+
v4.34.0-next.116 */
|
|
22
22
|
const S = (t) => {
|
|
23
23
|
x({ config: t, value: null, axisIndex: 0, isMax: !1 }), x({ config: t, value: null, axisIndex: 0, isMax: !0 }), x({ config: t, value: null, axisIndex: 1, isMax: !1 }), x({ config: t, value: null, axisIndex: 1, isMax: !0 });
|
|
24
24
|
}, L = (t) => {
|
|
@@ -29,28 +29,28 @@ async function g(t, e) {
|
|
|
29
29
|
const s = await h(t, e), i = k(t), r = m(t);
|
|
30
30
|
return s === i || r;
|
|
31
31
|
}
|
|
32
|
-
function
|
|
33
|
-
const { layerFieldsInfo: s } = e, i =
|
|
32
|
+
function f(t, e) {
|
|
33
|
+
const { layerFieldsInfo: s } = e, i = o(s, c(t)), r = v(1, t), a = m(t);
|
|
34
34
|
return i === r || a;
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const { layerFieldsInfo: s } = e, i = p(t), r =
|
|
36
|
+
function C(t, e) {
|
|
37
|
+
const { layerFieldsInfo: s } = e, i = p(t), r = o(s, i), a = v(0, t), n = m(t);
|
|
38
38
|
return r === a || n;
|
|
39
39
|
}
|
|
40
40
|
async function h(t, e) {
|
|
41
|
-
const s = p(t), i = c(t), { layerFieldsInfo: r } = e, a =
|
|
41
|
+
const s = p(t), i = c(t), { layerFieldsInfo: r } = e, a = o(r, s), n = o(r, i), d = await P(
|
|
42
42
|
U(document.documentElement).t9nLocale,
|
|
43
43
|
W("./assets/common/t9n"),
|
|
44
44
|
"messages."
|
|
45
45
|
);
|
|
46
46
|
return O(d.titleLabels.xAndY, { x: a, y: n });
|
|
47
47
|
}
|
|
48
|
-
const
|
|
49
|
-
const { x: e, y: s, config: i, layerInfo: r, updateChartTitle: a, updateXAxisTitle: n, updateYAxisTitle: d } = t, { layerFieldsInfo: y } = r, b =
|
|
48
|
+
const F = async (t) => {
|
|
49
|
+
const { x: e, y: s, config: i, layerInfo: r, updateChartTitle: a, updateXAxisTitle: n, updateYAxisTitle: d } = t, { layerFieldsInfo: y } = r, b = o(y, e), M = o(y, s);
|
|
50
50
|
!u(e) && n && T(i, 0, b), !u(s) && d && T(i, 1, M), !u(e) && !u(s) && i.title && a && (i.title.content.text = await h(i, r));
|
|
51
51
|
}, p = (t) => t.series[0]?.x ?? "", c = (t) => t.series[0]?.y ?? "", K = async (t, e, s) => {
|
|
52
|
-
const i = await g(e, s), r =
|
|
53
|
-
S(e), e.series[0] && (e.series[0].x = t), await
|
|
52
|
+
const i = await g(e, s), r = C(e, s), a = f(e, s);
|
|
53
|
+
S(e), e.series[0] && (e.series[0].x = t), await F({
|
|
54
54
|
x: t,
|
|
55
55
|
y: c(e),
|
|
56
56
|
config: e,
|
|
@@ -65,8 +65,8 @@ const f = async (t) => {
|
|
|
65
65
|
layerInfo: s
|
|
66
66
|
});
|
|
67
67
|
}, Q = async (t, e, s) => {
|
|
68
|
-
const i = await g(e, s), r =
|
|
69
|
-
S(e), e.series[0] && (e.series[0].y = t), await
|
|
68
|
+
const i = await g(e, s), r = C(e, s), a = f(e, s);
|
|
69
|
+
S(e), e.series[0] && (e.series[0].y = t), await F({
|
|
70
70
|
x: t,
|
|
71
71
|
y: c(e),
|
|
72
72
|
config: e,
|
|
@@ -89,11 +89,11 @@ const f = async (t) => {
|
|
|
89
89
|
const e = {};
|
|
90
90
|
return t.series[0]?.overlays?.trendLine?.symbol ?? e;
|
|
91
91
|
}, ee = (t, e) => {
|
|
92
|
-
e.series[0].overlays ??=
|
|
92
|
+
e.series[0].overlays ??= l(), e.series[0].overlays.trendLine ??= l().trendLine, e.series[0].overlays.trendLine.symbol = t;
|
|
93
93
|
}, te = (t, e) => {
|
|
94
|
-
e.series[0].overlays ??=
|
|
94
|
+
e.series[0].overlays ??= l(), e.series[0].overlays.trendLine ??= l().trendLine, e.series[0].overlays.trendLine.visible = t;
|
|
95
95
|
}, se = (t, e) => {
|
|
96
|
-
!(e.series[0]?.overlays?.trendLine?.created ?? !1) && t && (e.series[0].overlays ??=
|
|
96
|
+
!(e.series[0]?.overlays?.trendLine?.created ?? !1) && t && (e.series[0].overlays ??= l(), e.series[0].overlays.trendLine ??= l().trendLine, e.series[0].overlays.trendLine.created = t), te(t, e);
|
|
97
97
|
}, A = (t) => t.series[0]?.sizePolicy ?? _(), ie = (t, e) => {
|
|
98
98
|
e.series[0] && (t !== void 0 && t.field?.trim() !== "" ? e.series[0].sizePolicy = { ...e.series[0].sizePolicy, ...t } : e.series[0].sizePolicy = void 0);
|
|
99
99
|
}, re = (t) => t?.series?.[0]?.overlays, ae = (t, e) => {
|
|
@@ -227,7 +227,7 @@ class ne extends D {
|
|
|
227
227
|
*/
|
|
228
228
|
generateXAxisTitle() {
|
|
229
229
|
const e = this.getXAxisField();
|
|
230
|
-
return
|
|
230
|
+
return o(this.layerInfo.layerFieldsInfo, e);
|
|
231
231
|
}
|
|
232
232
|
/**
|
|
233
233
|
* Generate the proper y-axis title given the current config.
|
|
@@ -236,7 +236,7 @@ class ne extends D {
|
|
|
236
236
|
*/
|
|
237
237
|
generateYAxisTitle() {
|
|
238
238
|
const e = this.getYAxisField();
|
|
239
|
-
return
|
|
239
|
+
return o(this.layerInfo.layerFieldsInfo, e);
|
|
240
240
|
}
|
|
241
241
|
// ---------------------------------------------------------------------------------------------
|
|
242
242
|
// #region Protected methods
|
|
@@ -247,12 +247,12 @@ class ne extends D {
|
|
|
247
247
|
}
|
|
248
248
|
E(ne, [
|
|
249
249
|
B,
|
|
250
|
-
|
|
251
|
-
H,
|
|
250
|
+
q,
|
|
252
251
|
j,
|
|
252
|
+
H,
|
|
253
253
|
J,
|
|
254
254
|
V,
|
|
255
|
-
|
|
255
|
+
G
|
|
256
256
|
]);
|
|
257
257
|
export {
|
|
258
258
|
ne as ScatterplotModel
|