@arcgis/charts-components 4.34.0-next.112 → 4.34.0-next.114
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/{XWMHH6NE.js → 24HAPIXG.js} +2 -2
- package/dist/cdn/{75ZPOGMM.js → 2A44WZNG.js} +2 -2
- package/dist/cdn/{G3X4SSG4.js → 2F4QXXJP.js} +2 -2
- package/dist/cdn/2RF37FGZ.js +42 -0
- package/dist/cdn/2TMPT4KX.js +4 -0
- package/dist/cdn/{O2WEDWVV.js → 2UJ7KV2Q.js} +2 -2
- package/dist/cdn/{BCQHMKKI.js → 2Z72F5MU.js} +2 -2
- package/dist/cdn/{O7AA3NCK.js → 35SBE2RM.js} +2 -2
- package/dist/cdn/{FEKJ3ABC.js → 3A6VOXRP.js} +2 -2
- package/dist/cdn/{HQBEYF4Y.js → 3B64QCVY.js} +2 -2
- package/dist/cdn/3EYVBT7T.js +4 -0
- package/dist/cdn/3UVTMKGW.js +4 -0
- package/dist/cdn/3WET77KT.js +4 -0
- package/dist/cdn/45IUTPVD.js +4 -0
- package/dist/cdn/{7GTQKF2A.js → 4DNWMTUG.js} +2 -2
- package/dist/cdn/{URQICVH7.js → 4F73J2LS.js} +1 -1
- package/dist/cdn/{HTZL6QKW.js → 4GFU6Q2Y.js} +2 -2
- package/dist/cdn/{QYQLXYUT.js → 4LSLU6CF.js} +2 -2
- package/dist/cdn/4W7MRZLR.js +4 -0
- package/dist/cdn/{VF7ZNAUT.js → 4Y45CDPV.js} +2 -2
- package/dist/cdn/{FMIPUAUI.js → 52MFIQFN.js} +2 -2
- package/dist/cdn/{4I4SOIJX.js → 5GWVQDUO.js} +2 -2
- package/dist/cdn/{QHSYDH3A.js → 5NW7QCJH.js} +2 -2
- package/dist/cdn/{EBWEMLO7.js → 5T3OY45K.js} +2 -2
- package/dist/cdn/{SR7RL5W2.js → 6ENXSRIS.js} +2 -2
- package/dist/cdn/{M65UJVI3.js → 6VHQLN3L.js} +2 -2
- package/dist/cdn/{QAV74JBH.js → 6XJ7YLGX.js} +2 -2
- package/dist/cdn/{RJ54H6RK.js → 73ZAQUD4.js} +2 -2
- package/dist/cdn/{W4WKFYKW.js → 7AJRS4XW.js} +2 -2
- package/dist/cdn/{EQ466QHF.js → 7AKSXA4M.js} +2 -2
- package/dist/cdn/{VC7ELLEP.js → 7UQ54NEK.js} +2 -2
- package/dist/cdn/{HPDODHOM.js → 7YNYHO4V.js} +2 -2
- package/dist/cdn/{Q6LQWMQV.js → A2QOQQ24.js} +2 -2
- package/dist/cdn/{CADUQZJC.js → A4CE2NNT.js} +2 -2
- package/dist/cdn/{E26XH3YH.js → A4ZRPJCY.js} +1 -1
- package/dist/cdn/{KPPEXGOH.js → AIQRYRDA.js} +2 -2
- package/dist/cdn/{YONVCJTW.js → ALUKSLTO.js} +2 -2
- package/dist/cdn/{PYGZWOLF.js → BASTLDPS.js} +2 -2
- package/dist/cdn/BKEHY2SH.js +4 -0
- package/dist/cdn/{CTROZ3D7.js → BQGGA5Q7.js} +2 -2
- package/dist/cdn/{RXVCTR7F.js → BRX6FCE7.js} +2 -2
- package/dist/cdn/{VTAU36PV.js → CH6UU3BU.js} +2 -2
- package/dist/cdn/{X26FOZK5.js → CHJHZLKJ.js} +2 -2
- package/dist/cdn/{BRVDA53F.js → CIOHS2IB.js} +2 -2
- package/dist/cdn/CL46NZLX.js +4 -0
- package/dist/cdn/{GWD4B6LT.js → CPQLWM6N.js} +2 -2
- package/dist/cdn/{XND5QXSE.js → CRB55NAE.js} +2 -2
- package/dist/cdn/CYV6M46U.js +4 -0
- package/dist/cdn/D6MKPUGU.js +4 -0
- package/dist/cdn/{AHHI5MW2.js → DMVAH5RY.js} +2 -2
- package/dist/cdn/{MIE5LCQD.js → DSO3GVU5.js} +2 -2
- package/dist/cdn/DWWAYWH2.js +4 -0
- package/dist/cdn/{IMX3YHC7.js → DZSIMKDR.js} +2 -2
- package/dist/cdn/{R4S3UKAA.js → EKV6NZSJ.js} +2 -2
- package/dist/cdn/{K4QU63XX.js → ENOQUHWO.js} +2 -2
- package/dist/cdn/{6ENKFPJA.js → EWUZ2MVU.js} +2 -2
- package/dist/cdn/F6XKLK7S.js +4 -0
- package/dist/cdn/{6ZQLPBRN.js → FATERYBK.js} +2 -2
- package/dist/cdn/FB3JN4OH.js +4 -0
- package/dist/cdn/{YHB556LF.js → FONVESAV.js} +2 -2
- package/dist/cdn/{QV4RTCLH.js → FY3QHJLL.js} +2 -2
- package/dist/cdn/{YIOKCBNZ.js → FZPD6XMY.js} +2 -2
- package/dist/cdn/{ELMF5MPY.js → G2RHKRSI.js} +2 -2
- package/dist/cdn/{F4RIOGH6.js → G4CYQTJE.js} +2 -2
- package/dist/cdn/{UXFYSPO5.js → G5B2WI7W.js} +2 -2
- package/dist/cdn/{CTOQ4WQY.js → G6CHTZFH.js} +2 -2
- package/dist/cdn/GCMU7EJA.js +4 -0
- package/dist/cdn/{CULWXJ5Q.js → GFSUGABD.js} +2 -2
- package/dist/cdn/H4TDA37X.js +4 -0
- package/dist/cdn/{TUQ7UZW6.js → H5VBQD3X.js} +2 -2
- package/dist/cdn/HFPTP3AC.js +4 -0
- package/dist/cdn/HQ4Q4KHD.js +4 -0
- package/dist/cdn/{ZE7KL2PU.js → HRYVCRB6.js} +2 -2
- package/dist/cdn/{4YA7G5AI.js → I44FVTB7.js} +2 -2
- package/dist/cdn/{FCUKMN2L.js → IA76P7V3.js} +2 -2
- package/dist/cdn/{KCUL2QHN.js → IPWYUGFB.js} +2 -2
- package/dist/cdn/{7TIUTROT.js → ISSZDGZW.js} +2 -2
- package/dist/cdn/{DN6WQI7X.js → IWMI3IMZ.js} +2 -2
- package/dist/cdn/IZRSSCBC.js +4 -0
- package/dist/cdn/{X4W7T2SN.js → JEAKTLAF.js} +2 -2
- package/dist/cdn/{WD67B27C.js → JMQ2JX5Q.js} +2 -2
- package/dist/cdn/JWHWQZMM.js +4 -0
- package/dist/cdn/{EW527LB7.js → K3KRPYSE.js} +2 -2
- package/dist/cdn/KA5EKB4T.js +4 -0
- package/dist/cdn/KAAEPVF4.js +4 -0
- package/dist/cdn/{JUTCF2ZP.js → KOTBU4AA.js} +2 -2
- package/dist/cdn/{TNWTCAXN.js → L2JWJCLD.js} +2 -2
- package/dist/cdn/{6JWFVPVK.js → LKODRPC7.js} +1 -1
- package/dist/cdn/{MDSWQIN2.js → LR5AP6IV.js} +2 -2
- package/dist/cdn/{I2HMTDCL.js → LXHKBGB2.js} +2 -2
- package/dist/cdn/{TRNK5O3A.js → LZXEGPV5.js} +2 -2
- package/dist/cdn/{TNRYOKWX.js → MNCVETO6.js} +2 -2
- package/dist/cdn/{AQPHTU22.js → MPOUBWNN.js} +2 -2
- package/dist/cdn/{4F5K6KX2.js → MSSHXY2K.js} +1 -1
- package/dist/cdn/{PH56PPFP.js → MT2BPK2R.js} +2 -2
- package/dist/cdn/{ED7XZ2VG.js → MVDBAUVW.js} +2 -2
- package/dist/cdn/{6HOOIBSM.js → MY5KTX52.js} +2 -2
- package/dist/cdn/{GOSQHC5D.js → N7QOJ7BZ.js} +2 -2
- package/dist/cdn/NBTVGLEC.js +4 -0
- package/dist/cdn/NCAYKFW5.js +4 -0
- package/dist/cdn/{2RCBQY46.js → NI3RPE5S.js} +2 -2
- package/dist/cdn/{27E5XNFA.js → NKR4YHUJ.js} +2 -2
- package/dist/cdn/{YID5SKYK.js → NNQVSSFU.js} +2 -2
- package/dist/cdn/O5YNMLS7.js +4 -0
- package/dist/cdn/{A5PX3HYM.js → OAQLOWJB.js} +2 -2
- package/dist/cdn/{EES3RPO4.js → OBLKPBPL.js} +2 -2
- package/dist/cdn/{FBH7D26D.js → OFDCZ25W.js} +2 -2
- package/dist/cdn/{QKUUA4H6.js → OJ3HJP7X.js} +2 -2
- package/dist/cdn/{3UYFGM5Z.js → OJSH2B2E.js} +2 -2
- package/dist/cdn/{6CVIYXIM.js → OLF3ES4I.js} +2 -2
- package/dist/cdn/{HRER5BGU.js → OLUZ4Z35.js} +2 -2
- package/dist/cdn/{MCD4LRQU.js → ONRNN3MI.js} +2 -2
- package/dist/cdn/{EEC7R3DN.js → OQOHTIPL.js} +2 -2
- package/dist/cdn/{GMK22GMO.js → OXHXO22O.js} +2 -2
- package/dist/cdn/{OHEHWEF4.js → PAL5ML34.js} +2 -2
- package/dist/cdn/{WD2TBCGQ.js → PEKYNNBG.js} +2 -2
- package/dist/cdn/{ILDATC4K.js → PFDTVNI7.js} +2 -2
- package/dist/cdn/{ZHLG4CJW.js → PT3WC7YP.js} +2 -2
- package/dist/cdn/{BBZJ7R4U.js → PVR32HYV.js} +2 -2
- package/dist/cdn/{3674PEAT.js → PWXMZG4O.js} +2 -2
- package/dist/cdn/{R7AXZH3T.js → PYYQFXXB.js} +2 -2
- package/dist/cdn/{UW3UNZWZ.js → Q7DJG44E.js} +2 -2
- package/dist/cdn/{6PZKOOJB.js → QBP2GMFX.js} +2 -2
- package/dist/cdn/{6LUTMPHK.js → QLNNWUF7.js} +2 -2
- package/dist/cdn/{X6AQDCGB.js → QMFSVFWO.js} +1 -1
- package/dist/cdn/{H65DJBE6.js → QNYZKZQO.js} +2 -2
- package/dist/cdn/{64MADX24.js → QWCZ5LZM.js} +2 -2
- package/dist/cdn/R7VXVOHM.js +4 -0
- package/dist/cdn/{MYROUJWW.js → RN7CAPDU.js} +2 -2
- package/dist/cdn/{UCDG2EE5.js → RPQSNDQD.js} +2 -2
- package/dist/cdn/SBPGLEWK.js +4 -0
- package/dist/cdn/{7GTS22FA.js → SLCC75PI.js} +23 -23
- package/dist/cdn/{O4B5HRLU.js → SXVKSRSL.js} +2 -2
- package/dist/cdn/{65SYWC3T.js → TAPUSP3V.js} +2 -2
- package/dist/cdn/{7NJSYCNP.js → TCNEKTGN.js} +2 -2
- package/dist/cdn/{74HH54PS.js → TFQTJ4EN.js} +2 -2
- package/dist/cdn/{TLUZWL4B.js → TITHCANN.js} +2 -2
- package/dist/cdn/{IKIA6HNO.js → TMMH63XM.js} +2 -2
- package/dist/cdn/TQS7BGCK.js +4 -0
- package/dist/cdn/{I7KJ3UIA.js → TRZDFEQX.js} +2 -2
- package/dist/cdn/{45DIBQTO.js → TSW3WHLK.js} +2 -2
- package/dist/cdn/{AUWK5P4X.js → TTZGZ7RP.js} +2 -2
- package/dist/cdn/{DZT3CXWL.js → TXBEEVVR.js} +2 -2
- package/dist/cdn/{3P6YNASY.js → U3X3DW2E.js} +1 -1
- package/dist/cdn/U6BPN5UT.js +4 -0
- package/dist/cdn/U77F6NBN.js +4 -0
- package/dist/cdn/{DGCYLWHI.js → UDHVKHD2.js} +2 -2
- package/dist/cdn/{DNLNKATA.js → UDV4QQ5Y.js} +2 -2
- package/dist/cdn/{74AAGHE4.js → UH55XHIO.js} +2 -2
- package/dist/cdn/{VDHSMWWT.js → UMMEWXW5.js} +2 -2
- package/dist/cdn/{XUQ22G7T.js → UXXZIHX4.js} +2 -2
- package/dist/cdn/V3REKOWE.js +4 -0
- package/dist/cdn/{NDIUY54J.js → VCO64B6W.js} +2 -2
- package/dist/cdn/{Z7IAKTYB.js → VKBPJ5SZ.js} +2 -2
- package/dist/cdn/VLYK2N2P.js +6 -0
- package/dist/cdn/VMJAZD3K.js +4 -0
- package/dist/cdn/{ROKBJDEN.js → VUGBVELM.js} +2 -2
- package/dist/cdn/{5JOTWTAQ.js → VYJAOXXG.js} +2 -2
- package/dist/cdn/{3TSO4SYC.js → WANWXCQC.js} +2 -2
- package/dist/cdn/{2OJSVJGK.js → WSVF5A3D.js} +2 -2
- package/dist/cdn/{NHSIC2TU.js → WUMOF6BE.js} +2 -2
- package/dist/cdn/{ERF4RCDM.js → WZHJLXEU.js} +2 -2
- package/dist/cdn/X5NLHJ37.js +4 -0
- package/dist/cdn/XJKF7XNS.js +4 -0
- package/dist/cdn/XJW2JDGU.js +4 -0
- package/dist/cdn/XNWVXQE3.js +4 -0
- package/dist/cdn/{WBWL4DBL.js → XOOWI43T.js} +1 -1
- package/dist/cdn/{NXH3NS55.js → XPNUQKHQ.js} +2 -2
- package/dist/cdn/{UO3VGBJ4.js → XZTXBDAJ.js} +2 -2
- package/dist/cdn/Y3UUHQOZ.js +4 -0
- package/dist/cdn/{7PDPY5IW.js → Y6EYGWAY.js} +2 -2
- package/dist/cdn/{LG35BC2W.js → YALHRYXT.js} +2 -2
- package/dist/cdn/{XRY77N6P.js → YUHIG52Y.js} +2 -2
- package/dist/cdn/{XBXCJBPG.js → Z3XLB2YP.js} +2 -2
- package/dist/cdn/Z45BUD7P.js +4 -0
- package/dist/cdn/Z5QL45J7.js +4 -0
- package/dist/cdn/ZDATHWL2.js +4 -0
- package/dist/cdn/{6ZO45V3G.js → ZESELVP4.js} +2 -2
- package/dist/cdn/ZJXW32SS.js +4 -0
- package/dist/cdn/{BGW3J4KI.js → ZQDKJMZ2.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/model.js +2 -2
- package/dist/cdn/spec.js +2 -2
- package/dist/chart-rendering/common/data/utils/query-parser/index.d.ts +1 -3
- package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -0
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +15 -15
- package/dist/chunks/bar-chart-model.js +2 -2
- package/dist/chunks/bar-chart-series.js +2 -2
- package/dist/chunks/baseline-stacking.js +2 -2
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +240 -240
- package/dist/chunks/box-plot-model.js +17 -17
- package/dist/chunks/chart-object-literals.js +33 -56
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +458 -476
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +3 -3
- package/dist/chunks/histogram-data.js +68 -68
- package/dist/chunks/histogram-model.js +10 -10
- package/dist/chunks/index.js +153 -142
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1096 -1159
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/line-chart-model.js +4 -4
- package/dist/chunks/model-with-baseline-stacking.js +2 -2
- package/dist/chunks/model-with-data-labels.js +3 -3
- package/dist/chunks/{model-with-y-guides.js → model-with-multi-axes.js} +780 -630
- package/dist/chunks/model-with-rotation.js +3 -3
- package/dist/chunks/pie-chart-data.js +11 -11
- package/dist/chunks/pie-chart-model.js +11 -11
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +3 -3
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +71 -71
- package/dist/chunks/serial-chart-model.js +84 -82
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +6 -6
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +3 -3
- package/dist/components/arcgis-chart/customElement.js +4039 -4026
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axes/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-axis/customElement.js +22 -22
- package/dist/components/arcgis-charts-config-axis/utils/axis-model-wrapper.d.ts +6 -6
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +36 -36
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +13 -13
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +13 -13
- 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 +2 -2
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +21 -21
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-format/customElement.js +85 -64
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-guide/customElement.js +25 -25
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-number-format/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/docs/api.json +3 -3
- package/dist/docs/docs.json +5 -5
- package/dist/docs/web-types.json +2 -2
- package/dist/index.js +1 -1
- package/dist/json-schema/index.d.ts +84 -96
- package/dist/loader.js +1 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +2 -2
- package/dist/model/histogram-model/histogram-model.d.ts +2 -2
- package/dist/model/mixins/index.d.ts +1 -1
- package/dist/model/mixins/model-with-basic-x-axis.d.ts +2 -2
- package/dist/model/mixins/model-with-multi-axes.d.ts +342 -0
- package/dist/model/mixins/model-with-temporal-binning.d.ts +5 -5
- package/dist/model/mixins/utils/axes.d.ts +55 -43
- package/dist/model/mixins/utils/temporal-binning.d.ts +3 -14
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +2 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +3 -3
- package/dist/model/serial-chart-model/utils/serial-chart-series.d.ts +1 -1
- package/dist/model/shared/axes.d.ts +120 -51
- package/dist/model/shared/type-guards.d.ts +3 -3
- package/dist/model.js +13 -13
- package/dist/spec/chart-object-literals.d.ts +0 -35
- package/dist/spec/web-chart.d.ts +55 -69
- package/dist/spec.js +32 -35
- package/dist/utils/chart-config/converter/index.d.ts +16 -3
- package/dist/utils/chart-config/converter/interfaces.d.ts +42 -1
- package/dist/utils/components/config-update.d.ts +1 -1
- package/dist/utils/data/time-binning/interfaces.d.ts +2 -2
- package/dist/utils/layer/query-features/index.d.ts +2 -2
- package/dist/utils/layer/query-parser/index.d.ts +2 -2
- package/dist/utils/layer/utils/index.d.ts +1 -1
- package/dist/utils/type-guards/series-types.d.ts +2 -2
- package/package.json +3 -3
- package/dist/cdn/25WLAM57.js +0 -4
- package/dist/cdn/2JH4BPVO.js +0 -4
- package/dist/cdn/3KSU43OR.js +0 -4
- package/dist/cdn/3SE4X4TZ.js +0 -4
- package/dist/cdn/5WS5BTVR.js +0 -4
- package/dist/cdn/6KQOZPWY.js +0 -4
- package/dist/cdn/ASNR55S5.js +0 -4
- package/dist/cdn/B75MWHKZ.js +0 -4
- package/dist/cdn/BBQ25KZV.js +0 -4
- package/dist/cdn/BJOHLR7P.js +0 -4
- package/dist/cdn/BTEF7YAO.js +0 -4
- package/dist/cdn/CCCV6H6F.js +0 -4
- package/dist/cdn/D3F3H53M.js +0 -4
- package/dist/cdn/DDXUVQCE.js +0 -4
- package/dist/cdn/E7G55LQV.js +0 -4
- package/dist/cdn/FE6KTUC4.js +0 -4
- package/dist/cdn/FF4ERDW3.js +0 -4
- package/dist/cdn/FNQJEYNY.js +0 -4
- package/dist/cdn/FR5I4JZB.js +0 -4
- package/dist/cdn/H67IACET.js +0 -4
- package/dist/cdn/HAB4NLNI.js +0 -4
- package/dist/cdn/HHUETOEY.js +0 -4
- package/dist/cdn/ISHCMJUO.js +0 -4
- package/dist/cdn/K5HJIM7K.js +0 -4
- package/dist/cdn/KDPENY5A.js +0 -4
- package/dist/cdn/LCHKEYLO.js +0 -4
- package/dist/cdn/M5ZQ3OD4.js +0 -4
- package/dist/cdn/MFHXXXBA.js +0 -4
- package/dist/cdn/MXRMXWDA.js +0 -4
- package/dist/cdn/MYKAGNE3.js +0 -4
- package/dist/cdn/NKI3Z35T.js +0 -4
- package/dist/cdn/PBKUAFPA.js +0 -4
- package/dist/cdn/PUQDQ33R.js +0 -4
- package/dist/cdn/PXPTMIIC.js +0 -4
- package/dist/cdn/SBW3SEJW.js +0 -4
- package/dist/cdn/SWN7M5JD.js +0 -6
- package/dist/cdn/TDF5UKSN.js +0 -4
- package/dist/cdn/TU4RTA33.js +0 -4
- package/dist/cdn/XSY6P76J.js +0 -4
- package/dist/cdn/Z2G47LLT.js +0 -4
- package/dist/cdn/Z34US2MS.js +0 -4
- package/dist/cdn/Z3QSPLI3.js +0 -44
- package/dist/model/mixins/model-with-xy-axes.d.ts +0 -331
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./chart-object-literals.js";
|
|
2
1
|
import "lodash-es";
|
|
2
|
+
import "./chart-object-literals.js";
|
|
3
3
|
import "d3-array";
|
|
4
4
|
import { c1 as o, cj as i } from "./interfaces.js";
|
|
5
5
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
@@ -12,10 +12,10 @@ import "@arcgis/core/request.js";
|
|
|
12
12
|
import "@arcgis/toolkit/intl";
|
|
13
13
|
import "./runtime.js";
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
|
-
import { C as r } from "./model-with-
|
|
15
|
+
import { C as r } from "./model-with-multi-axes.js";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
18
|
-
v4.34.0-next.
|
|
18
|
+
v4.34.0-next.114 */
|
|
19
19
|
class S extends r {
|
|
20
20
|
/**
|
|
21
21
|
* Gets whether the chart is rotated.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { memoize as j, isEmpty as E, isNull as $, cloneDeep as U } from "lodash-es";
|
|
1
2
|
import { a as u, c as C, d as m } from "./chart-object-literals.js";
|
|
2
3
|
import { defaultPieFromFieldsName as A, defaultPieFromFieldsValue as v } from "../spec.js";
|
|
3
|
-
import { memoize as j, isEmpty as E, isNull as $, cloneDeep as U } from "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
5
|
import { ad as W, aO as z, c7 as N, q as B, ay as G } from "./interfaces.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
@@ -13,12 +13,12 @@ import "@arcgis/core/request.js";
|
|
|
13
13
|
import { fetchT9nStringsBundle as R, getElementLocale as _ } from "@arcgis/toolkit/intl";
|
|
14
14
|
import { g as M } from "./runtime.js";
|
|
15
15
|
import "@arcgis/toolkit/dom";
|
|
16
|
-
import { substitute as
|
|
16
|
+
import { substitute as h } from "@arcgis/core/intl.js";
|
|
17
17
|
import { P as y, a as g } from "./common.js";
|
|
18
|
-
import {
|
|
18
|
+
import { b as O, u as D, g as k, a as H, c as J } from "./data.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.114 */
|
|
22
22
|
async function x(s) {
|
|
23
23
|
const { config: t, layerInfo: e, mode: i } = s, a = e !== void 0 ? await w({ config: t, layerInfo: e, mode: i }) : "", o = k(t), n = B(t);
|
|
24
24
|
return a === o || n;
|
|
@@ -89,22 +89,22 @@ async function I(s) {
|
|
|
89
89
|
async function w(s) {
|
|
90
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), S = l ? "" : c.map((Y) => N(a ?? [], Y)).join(", "), F = N(a ?? [], n);
|
|
91
91
|
let T = "";
|
|
92
|
-
const
|
|
92
|
+
const b = await R(
|
|
93
93
|
_(document.documentElement).t9nLocale,
|
|
94
94
|
M("./assets/common/t9n"),
|
|
95
95
|
"messages."
|
|
96
96
|
);
|
|
97
97
|
let L;
|
|
98
|
-
return i === y.Fields ? L = c.length === 0 : L = n === "", L ? T =
|
|
98
|
+
return i === y.Fields ? L = c.length === 0 : L = n === "", L ? T = b.utilsStrings.chartType.pieChart : r === u.NoAggregation ? T = h(b.titleLabels.aggrFieldsByCategory, {
|
|
99
99
|
aggregationFields: l ? o : S,
|
|
100
100
|
category: F
|
|
101
|
-
}) : r === u.Count ? T = b
|
|
101
|
+
}) : r === u.Count ? T = h(b.titleLabels.aggrTypeCategory, {
|
|
102
102
|
aggregationType: d,
|
|
103
103
|
category: F
|
|
104
|
-
}) : c.length > 0 && (F === A || E(F) || $(F) ? T = b
|
|
104
|
+
}) : c.length > 0 && (F === A || E(F) || $(F) ? T = h(b.titleLabels.aggrTypeOfAggrFields, {
|
|
105
105
|
aggregationType: d,
|
|
106
106
|
aggregationFields: S
|
|
107
|
-
}) : T = b
|
|
107
|
+
}) : T = h(b.titleLabels.aggrTypeOfAggrFieldsByCategory, {
|
|
108
108
|
aggregationType: d,
|
|
109
109
|
aggregationFields: S,
|
|
110
110
|
category: F
|
|
@@ -240,7 +240,7 @@ const Ce = async (s) => {
|
|
|
240
240
|
let e = [];
|
|
241
241
|
const i = s.orderOptions?.data?.orderType, a = V(s, t), o = s.orderOptions?.data?.orderBy;
|
|
242
242
|
return a === g.customSort && i === m.Category && Array.isArray(o) && (e = o), e;
|
|
243
|
-
},
|
|
243
|
+
}, be = (s) => {
|
|
244
244
|
const { values: t, config: e, mode: i } = s;
|
|
245
245
|
e.orderOptions ??= {};
|
|
246
246
|
const a = e.orderOptions?.data?.orderType;
|
|
@@ -258,7 +258,7 @@ export {
|
|
|
258
258
|
Fe as f,
|
|
259
259
|
P as g,
|
|
260
260
|
Se as h,
|
|
261
|
-
|
|
261
|
+
be as i,
|
|
262
262
|
w as j,
|
|
263
263
|
Te as s
|
|
264
264
|
};
|
|
@@ -12,16 +12,16 @@ import "@arcgis/core/request.js";
|
|
|
12
12
|
import "@arcgis/toolkit/intl";
|
|
13
13
|
import "./runtime.js";
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
|
-
import { C as M } from "./model-with-
|
|
15
|
+
import { C as M } from "./model-with-multi-axes.js";
|
|
16
16
|
import { b as r, P as g } from "./common.js";
|
|
17
17
|
import { M as O, 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
|
|
19
|
+
import { e as L, i as w, k as W } from "./data.js";
|
|
20
|
+
import { g as u, s as z, a as B, c as E, b as R, d as K, e as j, f as q, h as m, i as y, j as X } from "./pie-chart-data.js";
|
|
21
21
|
import { R as c } from "./rest-js-object-literals.js";
|
|
22
22
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
23
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
24
|
-
v4.34.0-next.
|
|
24
|
+
v4.34.0-next.114 */
|
|
25
25
|
const H = (i) => i.legend?.displayNumericValue ?? !1, J = (i, e) => {
|
|
26
26
|
e.series[0]?.type === o.PieSeries && (e.legend === void 0 && (e.legend = f()), e.legend.displayNumericValue = i);
|
|
27
27
|
}, Q = (i) => i.legend?.displayPercentage ?? !1, Y = (i, e) => {
|
|
@@ -157,8 +157,8 @@ const ee = (i) => i.series?.[0]?.innerRadius, ie = (i, e) => {
|
|
|
157
157
|
},
|
|
158
158
|
i
|
|
159
159
|
);
|
|
160
|
-
}, Ee = (i, e) => e.series[0]?.slices?.[i]?.sliceId, Re = (i, e) => e.series[0]?.slices?.findIndex((t) => t.sliceId === i),
|
|
161
|
-
class
|
|
160
|
+
}, Ee = (i, e) => e.series[0]?.slices?.[i]?.sliceId, Re = (i, e) => e.series[0]?.slices?.findIndex((t) => t.sliceId === i), Ke = (i) => i.series[0]?.slices?.length ?? 0;
|
|
161
|
+
class je extends M {
|
|
162
162
|
constructor() {
|
|
163
163
|
super(...arguments), this._chartType = o.PieSeries, this._mode = g.Category, this._groupedSliceIds = [];
|
|
164
164
|
}
|
|
@@ -227,7 +227,7 @@ class Ke extends M {
|
|
|
227
227
|
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
228
228
|
*/
|
|
229
229
|
async setAggregationType(e) {
|
|
230
|
-
await
|
|
230
|
+
await K({
|
|
231
231
|
newAggregationType: e,
|
|
232
232
|
config: this._config,
|
|
233
233
|
layerInfo: this.layerInfo,
|
|
@@ -239,7 +239,7 @@ class Ke extends M {
|
|
|
239
239
|
* @returns {PieChartDataSortingKinds}
|
|
240
240
|
*/
|
|
241
241
|
getSortOrder() {
|
|
242
|
-
return
|
|
242
|
+
return j(this._config, this._mode);
|
|
243
243
|
}
|
|
244
244
|
/**
|
|
245
245
|
* Sets the sort order for the pie chart.
|
|
@@ -550,7 +550,7 @@ class Ke extends M {
|
|
|
550
550
|
* @returns {number}
|
|
551
551
|
*/
|
|
552
552
|
getSlicesLength() {
|
|
553
|
-
return
|
|
553
|
+
return Ke(this._config);
|
|
554
554
|
}
|
|
555
555
|
/**
|
|
556
556
|
* Resets the slices styling to the default styling.
|
|
@@ -787,7 +787,7 @@ class Ke extends M {
|
|
|
787
787
|
return await X({ config: this._config, layerInfo: this.layerInfo, mode: this._mode });
|
|
788
788
|
}
|
|
789
789
|
}
|
|
790
|
-
L(
|
|
790
|
+
L(je, [P, G, A, k]);
|
|
791
791
|
export {
|
|
792
|
-
|
|
792
|
+
je as PieChartModel
|
|
793
793
|
};
|
|
@@ -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.114 */
|
|
5
5
|
const s = (e) => (e?.remove(), null), c = (e, t = !1) => {
|
|
6
6
|
if (e != null)
|
|
7
7
|
return;
|
|
@@ -14,13 +14,13 @@ import { g as c } from "./runtime.js";
|
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
15
|
import { S as g, s as y, a as u } from "./serial-chart-model.js";
|
|
16
16
|
import "@arcgis/core/intl.js";
|
|
17
|
-
import "./model-with-
|
|
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 { d as a, e 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.114 */
|
|
24
24
|
class v extends g {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments), this._chartType = n.RadarSeries;
|
package/dist/chunks/resource.js
CHANGED
|
@@ -3,7 +3,7 @@ import { i as n } from "./type-guards.js";
|
|
|
3
3
|
import "./chart-object-literals.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.114 */
|
|
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.114 */
|
|
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
|
|
2
|
-
import { isEmpty as u, isEqual as
|
|
1
|
+
import { W as w } from "./chart-object-literals.js";
|
|
2
|
+
import { isEmpty as u, isEqual as I } from "lodash-es";
|
|
3
3
|
import "d3-array";
|
|
4
|
-
import { al as
|
|
4
|
+
import { al as _, am as o, c7 as l, q as m, b6 as X, aH 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";
|
|
@@ -9,48 +9,48 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
9
9
|
import "@arcgis/core/time/TimeExtent.js";
|
|
10
10
|
import "@arcgis/core/core/promiseUtils.js";
|
|
11
11
|
import "@arcgis/core/request.js";
|
|
12
|
-
import { fetchT9nStringsBundle as
|
|
13
|
-
import { g as
|
|
12
|
+
import { fetchT9nStringsBundle as P, getElementLocale as U } from "@arcgis/toolkit/intl";
|
|
13
|
+
import { g as W } from "./runtime.js";
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
|
-
import { g as
|
|
16
|
-
import { substitute as
|
|
17
|
-
import { C as
|
|
18
|
-
import { M as
|
|
15
|
+
import { g as k, a as v, s as x, u as T, m as z, e as E } from "./data.js";
|
|
16
|
+
import { substitute as O } from "@arcgis/core/intl.js";
|
|
17
|
+
import { C as D, M as B, b as V, a as q } from "./model-with-multi-axes.js";
|
|
18
|
+
import { M as G, a as H, b as j, 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.114 */
|
|
22
22
|
const S = (t) => {
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
const { name: e, axisIndex: s, config: i, layerInfo: r } = t, { layerFieldsInfo: a } = r, n = a.find((y) => y.name === e), d = n !== void 0 &&
|
|
26
|
-
|
|
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
|
+
}, L = (t) => {
|
|
25
|
+
const { name: e, axisIndex: s, config: i, layerInfo: r } = t, { layerFieldsInfo: a } = r, n = a.find((y) => y.name === e), d = n !== void 0 && X(n);
|
|
26
|
+
z(i, s, d);
|
|
27
27
|
};
|
|
28
|
-
async function
|
|
29
|
-
const s = await h(t, e), i =
|
|
28
|
+
async function g(t, e) {
|
|
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 C(t, e) {
|
|
33
|
+
const { layerFieldsInfo: s } = e, i = l(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 F(t, e) {
|
|
37
|
+
const { layerFieldsInfo: s } = e, i = p(t), r = l(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 =
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
const s = p(t), i = c(t), { layerFieldsInfo: r } = e, a = l(r, s), n = l(r, i), d = await P(
|
|
42
|
+
U(document.documentElement).t9nLocale,
|
|
43
|
+
W("./assets/common/t9n"),
|
|
44
44
|
"messages."
|
|
45
45
|
);
|
|
46
|
-
return
|
|
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,
|
|
50
|
-
!u(e) && n &&
|
|
51
|
-
}, p = (t) => t.series[0]?.x ?? "", c = (t) => t.series[0]?.y ?? "",
|
|
52
|
-
const i = await
|
|
53
|
-
S(e), e.series[0] && (e.series[0].x = t), await
|
|
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 = l(y, e), M = l(y, s);
|
|
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
|
+
}, 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 = F(e, s), a = C(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,
|
|
@@ -58,15 +58,15 @@ const F = async (t) => {
|
|
|
58
58
|
updateChartTitle: i,
|
|
59
59
|
updateXAxisTitle: r,
|
|
60
60
|
updateYAxisTitle: a
|
|
61
|
-
}),
|
|
61
|
+
}), L({
|
|
62
62
|
name: t,
|
|
63
63
|
axisIndex: 0,
|
|
64
64
|
config: e,
|
|
65
65
|
layerInfo: s
|
|
66
66
|
});
|
|
67
|
-
},
|
|
68
|
-
const i = await
|
|
69
|
-
S(e), e.series[0] && (e.series[0].y = t), await
|
|
67
|
+
}, Q = async (t, e, s) => {
|
|
68
|
+
const i = await g(e, s), r = F(e, s), a = C(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,
|
|
@@ -74,34 +74,34 @@ const F = async (t) => {
|
|
|
74
74
|
updateChartTitle: i,
|
|
75
75
|
updateXAxisTitle: r,
|
|
76
76
|
updateYAxisTitle: a
|
|
77
|
-
}),
|
|
77
|
+
}), L({
|
|
78
78
|
name: t,
|
|
79
79
|
axisIndex: 1,
|
|
80
80
|
config: e,
|
|
81
81
|
layerInfo: s
|
|
82
82
|
});
|
|
83
|
-
},
|
|
83
|
+
}, R = (t) => {
|
|
84
84
|
const e = {};
|
|
85
85
|
return t.series[0]?.markerSymbol ?? e;
|
|
86
|
-
},
|
|
86
|
+
}, Z = (t, e) => {
|
|
87
87
|
e.series[0] && (e.series[0].markerSymbol = t);
|
|
88
|
-
},
|
|
88
|
+
}, $ = (t) => (t.series[0]?.overlays?.trendLine?.visible ?? !0) && (t.series[0]?.overlays?.trendLine?.created ?? !1), N = (t) => {
|
|
89
89
|
const e = {};
|
|
90
90
|
return t.series[0]?.overlays?.trendLine?.symbol ?? e;
|
|
91
|
-
},
|
|
92
|
-
e.series[0].overlays ??=
|
|
93
|
-
},
|
|
94
|
-
e.series[0].overlays ??=
|
|
95
|
-
},
|
|
96
|
-
!(e.series[0]?.overlays?.trendLine?.created ?? !1) && t && (e.series[0].overlays ??=
|
|
97
|
-
},
|
|
91
|
+
}, ee = (t, e) => {
|
|
92
|
+
e.series[0].overlays ??= o(), e.series[0].overlays.trendLine ??= o().trendLine, e.series[0].overlays.trendLine.symbol = t;
|
|
93
|
+
}, te = (t, e) => {
|
|
94
|
+
e.series[0].overlays ??= o(), e.series[0].overlays.trendLine ??= o().trendLine, e.series[0].overlays.trendLine.visible = t;
|
|
95
|
+
}, se = (t, e) => {
|
|
96
|
+
!(e.series[0]?.overlays?.trendLine?.created ?? !1) && t && (e.series[0].overlays ??= o(), e.series[0].overlays.trendLine ??= o().trendLine, e.series[0].overlays.trendLine.created = t), te(t, e);
|
|
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) => {
|
|
100
100
|
e?.series[0] !== void 0 && (e.series[0].overlays = t);
|
|
101
101
|
};
|
|
102
|
-
class
|
|
102
|
+
class ne extends D {
|
|
103
103
|
constructor() {
|
|
104
|
-
super(...arguments), this._chartType =
|
|
104
|
+
super(...arguments), this._chartType = w.ScatterSeries;
|
|
105
105
|
}
|
|
106
106
|
async setup(e) {
|
|
107
107
|
await this.loadConfigFromLayer(e), this.resolveSetup();
|
|
@@ -122,7 +122,7 @@ class de extends q {
|
|
|
122
122
|
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
123
123
|
*/
|
|
124
124
|
async setXAxisField(e) {
|
|
125
|
-
await
|
|
125
|
+
await K(e, this._config, this.layerInfo), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setXAxisField");
|
|
126
126
|
}
|
|
127
127
|
/**
|
|
128
128
|
* Gets the y-axis field.
|
|
@@ -137,77 +137,77 @@ class de extends q {
|
|
|
137
137
|
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
138
138
|
*/
|
|
139
139
|
async setYAxisField(e) {
|
|
140
|
-
await
|
|
140
|
+
await Q(e, this._config, this.layerInfo), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setYAxisField");
|
|
141
141
|
}
|
|
142
142
|
/**
|
|
143
143
|
* Gets whether the linear trend line is shown.
|
|
144
144
|
* @returns {boolean}
|
|
145
145
|
*/
|
|
146
146
|
getShowLinearTrend() {
|
|
147
|
-
return
|
|
147
|
+
return $(this._config);
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
150
|
* Sets whether to show the linear trend line.
|
|
151
151
|
* @param {boolean} show
|
|
152
152
|
*/
|
|
153
153
|
setShowLinearTrend(e) {
|
|
154
|
-
|
|
154
|
+
se(e, this._config), this.emitConfigUpdate("setShowLinearTrend");
|
|
155
155
|
}
|
|
156
156
|
/**
|
|
157
157
|
* Gets the line symbol for the linear trend line.
|
|
158
158
|
* @returns {ISimpleLineSymbol}
|
|
159
159
|
*/
|
|
160
160
|
getLinearTrendSymbol() {
|
|
161
|
-
return
|
|
161
|
+
return N(this._config);
|
|
162
162
|
}
|
|
163
163
|
/**
|
|
164
164
|
* Sets the line symbol for the linear trend line.
|
|
165
165
|
* @param {ISimpleLineSymbol} symbol
|
|
166
166
|
*/
|
|
167
167
|
setLinearTrendSymbol(e) {
|
|
168
|
-
|
|
168
|
+
ee(e, this._config), this.emitConfigUpdate("setLinearTrendSymbol");
|
|
169
169
|
}
|
|
170
170
|
/**
|
|
171
171
|
* Gets the marker symbol used for the scatterplot points when using a fixed symbol (i.e. no size policy is set).
|
|
172
172
|
* @returns {ISimpleMarkerSymbol}
|
|
173
173
|
*/
|
|
174
174
|
getFixedMarkerSymbol() {
|
|
175
|
-
return
|
|
175
|
+
return R(this._config);
|
|
176
176
|
}
|
|
177
177
|
/**
|
|
178
178
|
* Sets the marker symbol used for the scatterplot points when using a fixed symbol (i.e. no size policy is set).
|
|
179
179
|
* @param {ISimpleMarkerSymbol} symbol
|
|
180
180
|
*/
|
|
181
181
|
setFixedMarkerSymbol(e) {
|
|
182
|
-
|
|
182
|
+
Z(e, this._config), this.emitConfigUpdate("setFixedMarkerSymbol");
|
|
183
183
|
}
|
|
184
184
|
/**
|
|
185
185
|
* Gets the size policy for the scatterplot points. This is used to scale the size of the marker symbol based on a given field.
|
|
186
186
|
* @returns {SizePolicy | undefined}
|
|
187
187
|
*/
|
|
188
188
|
getSizePolicy() {
|
|
189
|
-
return
|
|
189
|
+
return A(this._config);
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
192
192
|
* Sets the size policy for the scatterplot points. This is used to scale the size of the marker symbol based on a given field.
|
|
193
193
|
* @param {SizePolicy | undefined} sizePolicy
|
|
194
194
|
*/
|
|
195
195
|
setSizePolicy(e) {
|
|
196
|
-
const s =
|
|
197
|
-
|
|
196
|
+
const s = A(this._config);
|
|
197
|
+
I(s, e) || (ie(e, this._config), this.emitConfigUpdate("setSizePolicy"));
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
200
200
|
* Gets the chart overlays. The scatterplot implements only 1 overlay, **trendLine**.
|
|
201
201
|
*/
|
|
202
202
|
getSeriesOverlays() {
|
|
203
|
-
return
|
|
203
|
+
return re(this._config);
|
|
204
204
|
}
|
|
205
205
|
/**
|
|
206
206
|
* Sets the chart overlays. The scatterplot implements only 1 overlay, **trendLine**.
|
|
207
207
|
* @param {ScatterplotOverlays} overlays The overlays
|
|
208
208
|
*/
|
|
209
209
|
setSeriesOverlays(e) {
|
|
210
|
-
|
|
210
|
+
ae(e, this._config), this.emitConfigUpdate("setSeriesOverlays");
|
|
211
211
|
}
|
|
212
212
|
// ---------------------------------------------------------------------------------------------
|
|
213
213
|
// #region General Methods
|
|
@@ -227,7 +227,7 @@ class de extends q {
|
|
|
227
227
|
*/
|
|
228
228
|
generateXAxisTitle() {
|
|
229
229
|
const e = this.getXAxisField();
|
|
230
|
-
return
|
|
230
|
+
return l(this.layerInfo.layerFieldsInfo, e);
|
|
231
231
|
}
|
|
232
232
|
/**
|
|
233
233
|
* Generate the proper y-axis title given the current config.
|
|
@@ -236,24 +236,24 @@ class de extends q {
|
|
|
236
236
|
*/
|
|
237
237
|
generateYAxisTitle() {
|
|
238
238
|
const e = this.getYAxisField();
|
|
239
|
-
return
|
|
239
|
+
return l(this.layerInfo.layerFieldsInfo, e);
|
|
240
240
|
}
|
|
241
241
|
// ---------------------------------------------------------------------------------------------
|
|
242
242
|
// #region Protected methods
|
|
243
243
|
// ---------------------------------------------------------------------------------------------
|
|
244
244
|
async generateDefaultConfig() {
|
|
245
|
-
return await
|
|
245
|
+
return await Y();
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
|
-
|
|
248
|
+
E(ne, [
|
|
249
|
+
B,
|
|
249
250
|
G,
|
|
250
|
-
J,
|
|
251
|
-
K,
|
|
252
|
-
Q,
|
|
253
|
-
R,
|
|
254
251
|
H,
|
|
255
|
-
j
|
|
252
|
+
j,
|
|
253
|
+
J,
|
|
254
|
+
V,
|
|
255
|
+
q
|
|
256
256
|
]);
|
|
257
257
|
export {
|
|
258
|
-
|
|
258
|
+
ne as ScatterplotModel
|
|
259
259
|
};
|