@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,7 +1,7 @@
|
|
|
1
|
+
import { memoize as H, isEmpty as me, isEqual as Se, cloneDeep as Q } from "lodash-es";
|
|
1
2
|
import { W as u, d as S, c as F } from "./chart-object-literals.js";
|
|
2
|
-
import { a as
|
|
3
|
-
import {
|
|
4
|
-
import { ah as E, b as P, Y as b, b7 as xe, c7 as A, B as be, i as he, q as V, b9 as ee, ba as se, a6 as te, W as ie, ai as re, ar as Fe, av as ae, aV as _, a8 as we, a7 as Ae } from "./interfaces.js";
|
|
3
|
+
import { a as pe } from "./rest-js-object-literals.js";
|
|
4
|
+
import { ah as W, b as D, Y as b, b7 as fe, c7 as w, B as xe, i as be, q as I, b9 as Z, ba as ee, a6 as se, W as te, ai as ie, ar as he, av as ae, aV as G, a8 as Fe, a7 as Ae } 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,147 +9,147 @@ 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
|
|
14
|
-
import { g as
|
|
12
|
+
import { fetchT9nStringsBundle as z, getElementLocale as K } from "@arcgis/toolkit/intl";
|
|
13
|
+
import { g as $ } from "./runtime.js";
|
|
14
|
+
import { g as V, p as we } from "./index5.js";
|
|
15
15
|
import "@arcgis/toolkit/dom";
|
|
16
|
-
import { substitute as
|
|
17
|
-
import {
|
|
16
|
+
import { substitute as O } from "@arcgis/core/intl.js";
|
|
17
|
+
import { h as ge, u as C, s as L, j as Te, k as Be, a as U, g as ve, l as Ce } from "./data.js";
|
|
18
18
|
import { B as y } from "./common.js";
|
|
19
19
|
import "d3-array";
|
|
20
20
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
21
21
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
22
|
-
v4.34.0-next.
|
|
23
|
-
const ls = (s, e) => e?.series?.[s]?.name,
|
|
22
|
+
v4.34.0-next.114 */
|
|
23
|
+
const ls = (s, e) => e?.series?.[s]?.name, rs = (s, e, t) => {
|
|
24
24
|
const i = t;
|
|
25
25
|
i?.series?.[e] !== void 0 && (i.series[e].name = s);
|
|
26
|
-
},
|
|
26
|
+
}, os = (s, e) => {
|
|
27
27
|
let t;
|
|
28
28
|
const i = e.series?.[s];
|
|
29
29
|
return i?.type === u.BoxPlotSeries ? t = i.fillSymbol?.color : i?.type === u.LineSeries && (t = i.lineSymbol?.color), t;
|
|
30
|
-
},
|
|
30
|
+
}, Le = (s) => {
|
|
31
31
|
const e = s.series[0];
|
|
32
|
-
return s.showMean === !0 &&
|
|
33
|
-
},
|
|
32
|
+
return s.showMean === !0 && V(e) ? e.fillSymbol?.color : void 0;
|
|
33
|
+
}, Me = (s, e) => {
|
|
34
34
|
const t = e.series[0];
|
|
35
|
-
e.showMean === !0 &&
|
|
36
|
-
...
|
|
35
|
+
e.showMean === !0 && V(t) && (t.fillSymbol !== void 0 ? t.fillSymbol.color = s : t.fillSymbol = {
|
|
36
|
+
...W(),
|
|
37
37
|
color: s
|
|
38
38
|
});
|
|
39
|
-
},
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
},
|
|
39
|
+
}, ns = (s, e, t) => {
|
|
40
|
+
const a = t?.series?.[e];
|
|
41
|
+
a?.type === u.BoxPlotSeries && a.fillSymbol !== void 0 ? a.fillSymbol.color = s : a?.type === u.LineSeries && a.lineSymbol !== void 0 && (a.lineSymbol.color = s, a.markerSymbol !== void 0 && (a.markerSymbol.color = s));
|
|
42
|
+
}, Oe = (s) => s.series.map((e) => e.id), Pe = (s, e) => {
|
|
43
43
|
e?.series?.sort(
|
|
44
|
-
(t, i) => s.findIndex((
|
|
44
|
+
(t, i) => s.findIndex((a) => t.id === a) - s.findIndex((a) => i.id === a)
|
|
45
45
|
);
|
|
46
|
-
},
|
|
47
|
-
const i =
|
|
48
|
-
i.splice(e, 0,
|
|
49
|
-
},
|
|
50
|
-
async function
|
|
51
|
-
const t = await
|
|
52
|
-
return t === i ||
|
|
46
|
+
}, ds = (s, e, t) => {
|
|
47
|
+
const i = Oe(t), [a] = i.splice(s, 1);
|
|
48
|
+
i.splice(e, 0, a), Pe(i, t);
|
|
49
|
+
}, cs = (s) => Y(s) ? s.series.findIndex((e) => e.type === u.BoxPlotSeries) : -1;
|
|
50
|
+
async function X(s, e) {
|
|
51
|
+
const t = await N(s, e), i = ve(s), a = I(s);
|
|
52
|
+
return t === i || a;
|
|
53
53
|
}
|
|
54
54
|
async function k(s, e) {
|
|
55
|
-
const t = await
|
|
56
|
-
return t === i ||
|
|
55
|
+
const t = await v(s, e), i = U(1, s), a = I(s);
|
|
56
|
+
return t === i || a;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
const { config: e, layerInfo: t, newCategory: i } = s, { layerFieldsInfo:
|
|
60
|
-
return
|
|
58
|
+
function De(s) {
|
|
59
|
+
const { config: e, layerInfo: t, newCategory: i } = s, { layerFieldsInfo: a } = t, l = g(e), r = i !== b ? w(a, l) : "", o = U(0, e), n = I(e);
|
|
60
|
+
return r === o || n || o.trim() === "";
|
|
61
61
|
}
|
|
62
|
-
const g = (s) =>
|
|
62
|
+
const g = (s) => D(s)?.x ?? b, j = H(
|
|
63
63
|
(s) => {
|
|
64
|
-
const e =
|
|
65
|
-
return
|
|
64
|
+
const e = D(s), t = e?.query?.where?.split("=")[0].trim() ?? "";
|
|
65
|
+
return be(e?.query?.where) ? "" : t;
|
|
66
66
|
},
|
|
67
|
-
(s) =>
|
|
68
|
-
),
|
|
67
|
+
(s) => D(s)?.query?.where
|
|
68
|
+
), q = H(
|
|
69
69
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
70
70
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
71
|
-
(s) =>
|
|
71
|
+
(s) => xe(s?.series).filter((e) => e !== ""),
|
|
72
72
|
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
73
73
|
(s) => s?.series
|
|
74
|
-
),
|
|
75
|
-
const { category: e, seriesIndex: t, y: i } = s,
|
|
74
|
+
), P = async (s) => {
|
|
75
|
+
const { category: e, seriesIndex: t, y: i } = s, l = {
|
|
76
76
|
...await ae(t),
|
|
77
77
|
x: e === void 0 || e === "" ? b : e,
|
|
78
78
|
y: i,
|
|
79
79
|
query: {}
|
|
80
80
|
};
|
|
81
|
-
return
|
|
82
|
-
},
|
|
83
|
-
const { category: e, seriesIndex: t, y: i } = s,
|
|
84
|
-
...await
|
|
81
|
+
return Q(l);
|
|
82
|
+
}, Ve = async (s) => {
|
|
83
|
+
const { category: e, seriesIndex: t, y: i } = s, l = {
|
|
84
|
+
...await he({ seriesIndex: t }),
|
|
85
85
|
x: e === void 0 || e === "" ? b : e,
|
|
86
86
|
y: i,
|
|
87
87
|
query: {}
|
|
88
88
|
};
|
|
89
|
-
return
|
|
89
|
+
return Q(l);
|
|
90
90
|
};
|
|
91
91
|
async function le(s) {
|
|
92
|
-
const { x: e, y: t, seriesTemplate: i } = s, { id:
|
|
93
|
-
return
|
|
92
|
+
const { x: e, y: t, seriesTemplate: i } = s, { id: a, fillSymbol: l } = i ?? {}, r = await ae(), o = a ?? `series_${Date.now()}`;
|
|
93
|
+
return r.id = o, r.name = o, r.x = e, r.y = t, l ? r.fillSymbol = l : r.fillSymbol && (r.fillSymbol.color = G, r.fillSymbol?.outline && (r.fillSymbol.outline.color = G)), r;
|
|
94
94
|
}
|
|
95
|
-
async function
|
|
96
|
-
const { numericFields: e, config: t, layerInfo: i, category:
|
|
95
|
+
async function re(s) {
|
|
96
|
+
const { numericFields: e, config: t, layerInfo: i, category: a } = s, { layerFieldsInfo: l } = i, r = [], o = a ?? g(t);
|
|
97
97
|
let n = !1;
|
|
98
98
|
if (e.length === 0) {
|
|
99
|
-
const d = await
|
|
99
|
+
const d = await P({
|
|
100
100
|
y: "",
|
|
101
101
|
seriesIndex: 0,
|
|
102
102
|
category: o
|
|
103
103
|
});
|
|
104
|
-
|
|
104
|
+
r.push(d);
|
|
105
105
|
} else if (o === b) {
|
|
106
|
-
const d = await
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
const d = await z(
|
|
107
|
+
K(document.documentElement).t9nLocale,
|
|
108
|
+
$("./assets/common/t9n"),
|
|
109
109
|
"messages."
|
|
110
|
-
), c = e.length > 1 ? e : e[0],
|
|
110
|
+
), c = e.length > 1 ? e : e[0], T = await P({
|
|
111
111
|
y: c,
|
|
112
112
|
seriesIndex: 0,
|
|
113
113
|
category: o
|
|
114
|
-
}), m = e.length > 1 ? d.axisLabels.values :
|
|
115
|
-
...
|
|
114
|
+
}), m = e.length > 1 ? d.axisLabels.values : w(i.layerFieldsInfo, e[0]), h = {
|
|
115
|
+
...T,
|
|
116
116
|
id: e[0],
|
|
117
117
|
name: m,
|
|
118
118
|
x: o
|
|
119
|
-
}, f = t.series.find((p) =>
|
|
120
|
-
f !== void 0 && (!t.colorMatch && "fillSymbol" in f && (h.fillSymbol = f.fillSymbol, n = !0), h.id = f.id, h.name = f.name),
|
|
119
|
+
}, f = t.series.find((p) => Se(c, p.y) && p.query?.where === void 0);
|
|
120
|
+
f !== void 0 && (!t.colorMatch && "fillSymbol" in f && (h.fillSymbol = f.fillSymbol, n = !0), h.id = f.id, h.name = f.name), r.push(h);
|
|
121
121
|
} else
|
|
122
122
|
for (let d = 0; d < e.length; d += 1) {
|
|
123
|
-
const c = e[d],
|
|
123
|
+
const c = e[d], T = await P({
|
|
124
124
|
y: c,
|
|
125
125
|
seriesIndex: d,
|
|
126
126
|
category: o
|
|
127
|
-
}), m =
|
|
128
|
-
...
|
|
127
|
+
}), m = w(l, c), h = {
|
|
128
|
+
...T,
|
|
129
129
|
id: c,
|
|
130
130
|
name: m,
|
|
131
131
|
x: o
|
|
132
132
|
}, f = t.series.find((p) => c === p.y);
|
|
133
|
-
f !== void 0 && (!t.colorMatch && "fillSymbol" in f && (h.fillSymbol = f.fillSymbol, n = !0), h.id = f.id, h.name = f.name),
|
|
133
|
+
f !== void 0 && (!t.colorMatch && "fillSymbol" in f && (h.fillSymbol = f.fillSymbol, n = !0), h.id = f.id, h.name = f.name), r.push(h);
|
|
134
134
|
}
|
|
135
|
-
return t.series.length === 1 &&
|
|
135
|
+
return t.series.length === 1 && r.length === 1 && !t.colorMatch && "fillSymbol" in t.series[0] && (r[0].fillSymbol = t.series[0].fillSymbol, n = !0), t.colorMatch = !n, r;
|
|
136
136
|
}
|
|
137
|
-
const
|
|
138
|
-
async function
|
|
137
|
+
const oe = (s) => s?.query?.where?.split("=")[1].trim().replace(/'/gu, "") ?? "", Ie = (s) => s.series.some((e) => e.type === u.LineSeries) && s.series.some((e) => e.type === u.BoxPlotSeries);
|
|
138
|
+
async function ke(s, e) {
|
|
139
139
|
const t = [];
|
|
140
140
|
return s.forEach((i) => {
|
|
141
141
|
if (i.type === u.BoxPlotSeries) {
|
|
142
|
-
const { type:
|
|
142
|
+
const { type: a, fillSymbol: l, ...r } = i;
|
|
143
143
|
t.push({
|
|
144
|
-
...
|
|
144
|
+
...r,
|
|
145
145
|
type: u.LineSeries,
|
|
146
146
|
lineSymbol: {
|
|
147
|
-
...
|
|
148
|
-
...
|
|
147
|
+
...se({ width: te }),
|
|
148
|
+
...l !== void 0 ? { color: l.color } : {}
|
|
149
149
|
},
|
|
150
150
|
markerSymbol: {
|
|
151
|
-
...
|
|
152
|
-
...
|
|
151
|
+
...ie(),
|
|
152
|
+
...l !== void 0 ? { color: l.color } : {}
|
|
153
153
|
}
|
|
154
154
|
});
|
|
155
155
|
}
|
|
@@ -161,45 +161,45 @@ async function qe(s, e) {
|
|
|
161
161
|
})
|
|
162
162
|
), t;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function qe(s) {
|
|
165
165
|
const e = s.slice(1), t = [];
|
|
166
166
|
return e.forEach((i) => {
|
|
167
167
|
if (i.type === u.LineSeries) {
|
|
168
|
-
const { type:
|
|
168
|
+
const { type: a, lineSymbol: l, markerSymbol: r, ...o } = i, n = W();
|
|
169
169
|
t.push({
|
|
170
170
|
...o,
|
|
171
171
|
type: u.BoxPlotSeries,
|
|
172
172
|
fillSymbol: {
|
|
173
173
|
...n,
|
|
174
|
-
color:
|
|
174
|
+
color: l?.color
|
|
175
175
|
}
|
|
176
176
|
});
|
|
177
177
|
}
|
|
178
178
|
}), t;
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function ne(s) {
|
|
181
181
|
const { formerSeries: e, newSeries: t, showMean: i } = s;
|
|
182
|
-
let
|
|
183
|
-
const
|
|
184
|
-
return
|
|
185
|
-
(n, d) =>
|
|
186
|
-
)),
|
|
182
|
+
let a = t;
|
|
183
|
+
const l = (n) => n.type === (i ? u.LineSeries : u.BoxPlotSeries), r = e.filter(l).map((n) => n.id), o = t.filter(l).map((n) => n.id);
|
|
184
|
+
return r.length === o.length && JSON.stringify(r) !== JSON.stringify(o) && (a = a.sort(
|
|
185
|
+
(n, d) => r.findIndex((c) => c === n.id) - r.findIndex((c) => c === d.id)
|
|
186
|
+
)), a;
|
|
187
187
|
}
|
|
188
|
-
async function
|
|
189
|
-
const { config: e, layerInfo: t, splitByField: i, numericFields:
|
|
188
|
+
async function Ne(s) {
|
|
189
|
+
const { config: e, layerInfo: t, splitByField: i, numericFields: a, category: l } = s, { layer: r, layerFieldsInfo: o } = t, { fetchNullValues: n } = D(e)?.query ?? {}, d = l ?? g(e), { categoriesArray: c, splitByFieldType: T } = await Ce({
|
|
190
190
|
config: e,
|
|
191
|
-
layer:
|
|
191
|
+
layer: r,
|
|
192
192
|
layerFieldsInfo: o,
|
|
193
193
|
xAxisField: d !== b ? d : void 0,
|
|
194
|
-
aggregationFields:
|
|
194
|
+
aggregationFields: a,
|
|
195
195
|
splitByField: i,
|
|
196
196
|
fetchNullValues: n
|
|
197
197
|
});
|
|
198
198
|
let m = [], h = !1;
|
|
199
199
|
const f = Ie(e);
|
|
200
200
|
if (c.length === 0) {
|
|
201
|
-
m = await
|
|
202
|
-
numericFields:
|
|
201
|
+
m = await re({
|
|
202
|
+
numericFields: a,
|
|
203
203
|
category: d,
|
|
204
204
|
config: e,
|
|
205
205
|
layerInfo: t
|
|
@@ -208,164 +208,164 @@ async function Ye(s) {
|
|
|
208
208
|
p.query && (p.query.where = `${i}=''`);
|
|
209
209
|
} else
|
|
210
210
|
for (let p = 0; p < c.length; p += 1) {
|
|
211
|
-
const
|
|
212
|
-
y:
|
|
211
|
+
const B = c[p], M = {
|
|
212
|
+
y: a,
|
|
213
213
|
seriesIndex: p,
|
|
214
214
|
category: d
|
|
215
|
-
},
|
|
215
|
+
}, R = f ? await Ve(M) : await P(M), ce = {
|
|
216
216
|
fieldName: i,
|
|
217
|
-
fieldValueToMatch:
|
|
218
|
-
subtypeInfo:
|
|
217
|
+
fieldValueToMatch: B ?? "",
|
|
218
|
+
subtypeInfo: Z(t.layer),
|
|
219
219
|
fieldList: t.layerFieldsInfo
|
|
220
|
-
},
|
|
221
|
-
...
|
|
222
|
-
id:
|
|
223
|
-
name:
|
|
220
|
+
}, ye = ee(ce), E = `${B}`, A = {
|
|
221
|
+
...R,
|
|
222
|
+
id: E,
|
|
223
|
+
name: ye ?? E,
|
|
224
224
|
x: d === void 0 || d === "" ? b : d,
|
|
225
225
|
query: {
|
|
226
|
-
...
|
|
227
|
-
where: `${i}=${
|
|
226
|
+
...R.query,
|
|
227
|
+
where: `${i}=${T === pe.String && B !== null ? `'${B}'` : B}`
|
|
228
228
|
}
|
|
229
|
-
}, x = e.series.find((
|
|
230
|
-
x !== void 0 && (e.colorMatch || (
|
|
231
|
-
...
|
|
229
|
+
}, x = e.series.find((ue) => oe(ue) === E);
|
|
230
|
+
x !== void 0 && (e.colorMatch || (A.type === u.BoxPlotSeries ? V(x) ? A.fillSymbol = x.fillSymbol : A.fillSymbol = {
|
|
231
|
+
...W(),
|
|
232
232
|
color: x.lineSymbol?.color
|
|
233
|
-
} :
|
|
234
|
-
...
|
|
233
|
+
} : V(x) ? (A.lineSymbol = {
|
|
234
|
+
...se({ width: te }),
|
|
235
235
|
...x.fillSymbol !== void 0 ? { color: x.fillSymbol.color } : {}
|
|
236
|
-
},
|
|
237
|
-
...
|
|
236
|
+
}, A.markerSymbol = {
|
|
237
|
+
...ie(),
|
|
238
238
|
...x.fillSymbol !== void 0 ? { color: x.fillSymbol.color } : {}
|
|
239
|
-
}) : (
|
|
239
|
+
}) : (A.lineSymbol = x.lineSymbol, A.markerSymbol = x.markerSymbol), h = !0), A.id = x.id, A.name = x.name), m.push(A);
|
|
240
240
|
}
|
|
241
|
-
if (m =
|
|
241
|
+
if (m = ne({
|
|
242
242
|
formerSeries: e.series,
|
|
243
243
|
newSeries: m,
|
|
244
244
|
showMean: Y(e)
|
|
245
245
|
}), e.colorMatch = !h, Y(e)) {
|
|
246
|
-
const p = e.series.find((
|
|
246
|
+
const p = e.series.find((M) => M.type === u.BoxPlotSeries), B = await le({
|
|
247
247
|
x: d,
|
|
248
|
-
y:
|
|
248
|
+
y: a,
|
|
249
249
|
seriesTemplate: p
|
|
250
250
|
});
|
|
251
|
-
m.unshift(
|
|
251
|
+
m.unshift(B);
|
|
252
252
|
}
|
|
253
253
|
return m;
|
|
254
254
|
}
|
|
255
|
-
const
|
|
256
|
-
const { splitByField: e, numericFields: t, category: i, config:
|
|
257
|
-
|
|
258
|
-
config:
|
|
259
|
-
layerInfo:
|
|
255
|
+
const J = async (s) => {
|
|
256
|
+
const { splitByField: e, numericFields: t, category: i, config: a, layerInfo: l } = s, o = !(t.length > 1 && i !== b) && e !== "";
|
|
257
|
+
_(o ? a.showMean : !1, a), a.series = o ? await Ne({
|
|
258
|
+
config: a,
|
|
259
|
+
layerInfo: l,
|
|
260
260
|
splitByField: e,
|
|
261
261
|
numericFields: t,
|
|
262
262
|
category: i
|
|
263
|
-
}) : await
|
|
263
|
+
}) : await re({
|
|
264
264
|
numericFields: t,
|
|
265
|
-
config:
|
|
266
|
-
layerInfo:
|
|
265
|
+
config: a,
|
|
266
|
+
layerInfo: l,
|
|
267
267
|
category: i
|
|
268
268
|
});
|
|
269
269
|
}, Ee = (s) => s?.standardizeValues ?? !1;
|
|
270
|
-
async function
|
|
271
|
-
const { layerFieldsInfo: t } = e, i = Ee(s),
|
|
272
|
-
|
|
273
|
-
|
|
270
|
+
async function v(s, e) {
|
|
271
|
+
const { layerFieldsInfo: t } = e, i = Ee(s), a = await z(
|
|
272
|
+
K(document.documentElement).t9nLocale,
|
|
273
|
+
$("./assets/common/t9n"),
|
|
274
274
|
"messages."
|
|
275
275
|
);
|
|
276
|
-
let
|
|
277
|
-
return
|
|
276
|
+
let l = i ? a.axisLabels.standardizedValues : a.axisLabels.values, r = s?.series?.map((o) => o.y).flat();
|
|
277
|
+
return r = [...new Set(r)], r.length === 1 && (l = w(t, r[0])), l;
|
|
278
278
|
}
|
|
279
|
-
async function
|
|
280
|
-
const { layerFieldsInfo: t } = e, i = g(s),
|
|
279
|
+
async function N(s, e) {
|
|
280
|
+
const { layerFieldsInfo: t } = e, i = g(s), a = q(s), l = j(s), r = a.map((c) => w(t ?? [], c)).join(", "), o = w(t ?? [], i);
|
|
281
281
|
let n = "";
|
|
282
|
-
const d = await
|
|
283
|
-
|
|
284
|
-
|
|
282
|
+
const d = await z(
|
|
283
|
+
K(document.documentElement).t9nLocale,
|
|
284
|
+
$("./assets/common/t9n"),
|
|
285
285
|
"messages."
|
|
286
286
|
);
|
|
287
|
-
return
|
|
288
|
-
valueFields:
|
|
287
|
+
return a.length > 0 && (i !== b && l !== "" ? n = O(d.titleLabels.distributionOfFieldsByCategoryAndSplitBy, {
|
|
288
|
+
valueFields: r,
|
|
289
289
|
category: o,
|
|
290
|
-
splitByField:
|
|
291
|
-
}) : i !== b ? n =
|
|
292
|
-
valueFields:
|
|
290
|
+
splitByField: l
|
|
291
|
+
}) : i !== b ? n = O(d.titleLabels.distributionOfFieldsByCategory, {
|
|
292
|
+
valueFields: r,
|
|
293
293
|
category: o
|
|
294
|
-
}) :
|
|
295
|
-
valueFields:
|
|
296
|
-
category:
|
|
297
|
-
}) : n =
|
|
298
|
-
valueField:
|
|
294
|
+
}) : l !== "" ? n = O(d.titleLabels.distributionOfFieldsByCategory, {
|
|
295
|
+
valueFields: r,
|
|
296
|
+
category: l
|
|
297
|
+
}) : n = O(d.titleLabels.distributionOfField, {
|
|
298
|
+
valueField: r
|
|
299
299
|
})), n;
|
|
300
300
|
}
|
|
301
|
-
const
|
|
302
|
-
const { layerFieldsInfo: i } = t,
|
|
301
|
+
const ys = async (s, e, t) => {
|
|
302
|
+
const { layerFieldsInfo: i } = t, a = g(e), l = j(e), r = q(e), o = fe(i);
|
|
303
303
|
let n;
|
|
304
|
-
const d = await
|
|
305
|
-
if (!o.includes(
|
|
306
|
-
splitByField:
|
|
307
|
-
numericFields:
|
|
304
|
+
const d = await X(e, t), c = await k(e, t), T = De({ config: e, layerInfo: t, newCategory: s });
|
|
305
|
+
if (!o.includes(a) && o.includes(s) ? n = Fe() : o.includes(a) && !o.includes(s) && (n = Ae()), n !== void 0 && ge(e, n), await J({
|
|
306
|
+
splitByField: l,
|
|
307
|
+
numericFields: r,
|
|
308
308
|
category: s,
|
|
309
309
|
config: e,
|
|
310
310
|
layerInfo: t
|
|
311
|
-
}),
|
|
312
|
-
const m = s !== b ?
|
|
313
|
-
|
|
311
|
+
}), T) {
|
|
312
|
+
const m = s !== b ? w(i, s) : "";
|
|
313
|
+
C(e, 0, m);
|
|
314
314
|
}
|
|
315
315
|
if (c) {
|
|
316
|
-
const m = await
|
|
317
|
-
|
|
316
|
+
const m = await v(e, t);
|
|
317
|
+
C(e, 1, m);
|
|
318
318
|
}
|
|
319
|
-
e?.title !== void 0 && d && (e.title.content.text = await
|
|
320
|
-
},
|
|
321
|
-
const i = g(e),
|
|
322
|
-
if (await
|
|
323
|
-
splitByField:
|
|
319
|
+
e?.title !== void 0 && d && (e.title.content.text = await N(e, t)), L({ config: e, value: null, axisIndex: 1, isMax: !1 }), L({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
320
|
+
}, us = async (s, e, t) => {
|
|
321
|
+
const i = g(e), a = j(e), l = await X(e, t), r = await k(e, t);
|
|
322
|
+
if (await J({
|
|
323
|
+
splitByField: a,
|
|
324
324
|
numericFields: s,
|
|
325
325
|
category: i,
|
|
326
326
|
config: e,
|
|
327
327
|
layerInfo: t
|
|
328
|
-
}),
|
|
329
|
-
const o = await
|
|
330
|
-
|
|
328
|
+
}), r) {
|
|
329
|
+
const o = await v(e, t);
|
|
330
|
+
C(e, 1, o);
|
|
331
331
|
}
|
|
332
|
-
e.title &&
|
|
333
|
-
},
|
|
334
|
-
const { series: e, splitByField: t, layerInfo: i, commonStrings:
|
|
335
|
-
let
|
|
336
|
-
|
|
337
|
-
const
|
|
332
|
+
e.title && l && (e.title.content.text = await N(e, t)), L({ config: e, value: null, axisIndex: 1, isMax: !1 }), L({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
333
|
+
}, ms = (s) => {
|
|
334
|
+
const { series: e, splitByField: t, layerInfo: i, commonStrings: a } = s;
|
|
335
|
+
let l = typeof e.y == "string" ? w(i.layerFieldsInfo, e.y) : a.axisLabels.values;
|
|
336
|
+
me(t) || (l = oe(e));
|
|
337
|
+
const r = {
|
|
338
338
|
fieldName: t,
|
|
339
|
-
fieldValueToMatch:
|
|
340
|
-
subtypeInfo:
|
|
339
|
+
fieldValueToMatch: l ?? "",
|
|
340
|
+
subtypeInfo: Z(i.layer),
|
|
341
341
|
fieldList: i.layerFieldsInfo
|
|
342
342
|
};
|
|
343
|
-
return
|
|
344
|
-
},
|
|
345
|
-
const i = g(e),
|
|
346
|
-
if (await
|
|
343
|
+
return l = ee(r) ?? l, l ?? e.id;
|
|
344
|
+
}, Ss = async (s, e, t) => {
|
|
345
|
+
const i = g(e), a = q(e), l = await X(e, t), r = await k(e, t);
|
|
346
|
+
if (await J({
|
|
347
347
|
splitByField: s,
|
|
348
|
-
numericFields:
|
|
348
|
+
numericFields: a,
|
|
349
349
|
category: i,
|
|
350
350
|
config: e,
|
|
351
351
|
layerInfo: t
|
|
352
|
-
}),
|
|
353
|
-
const o = await
|
|
354
|
-
|
|
352
|
+
}), r) {
|
|
353
|
+
const o = await v(e, t);
|
|
354
|
+
C(e, 1, o);
|
|
355
355
|
}
|
|
356
|
-
e.title &&
|
|
357
|
-
},
|
|
356
|
+
e.title && l && (e.title.content.text = await N(e, t)), L({ config: e, value: null, axisIndex: 1, isMax: !1 }), L({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
357
|
+
}, ps = (s) => s?.showOutliers ?? !1, fs = async (s, e, t) => {
|
|
358
358
|
if (e.showOutliers = s, await k(e, t)) {
|
|
359
|
-
const
|
|
360
|
-
|
|
359
|
+
const a = await v(e, t);
|
|
360
|
+
C(e, 1, a);
|
|
361
361
|
}
|
|
362
|
-
},
|
|
363
|
-
const i =
|
|
364
|
-
if (e.standardizeValues = s, i ===
|
|
365
|
-
const
|
|
366
|
-
|
|
362
|
+
}, xs = async (s, e, t) => {
|
|
363
|
+
const i = U(1, e), a = await v(e, t), l = I(e);
|
|
364
|
+
if (e.standardizeValues = s, i === a || l) {
|
|
365
|
+
const r = await v(e, t);
|
|
366
|
+
C(e, 1, r);
|
|
367
367
|
}
|
|
368
|
-
},
|
|
368
|
+
}, de = (s) => {
|
|
369
369
|
let e = y.xAxisAsc;
|
|
370
370
|
const t = s.orderOptions?.data?.orderType ?? S.Category, i = s.orderOptions?.data?.orderBy ?? F.Ascending;
|
|
371
371
|
switch (t) {
|
|
@@ -380,8 +380,8 @@ const us = async (s, e, t) => {
|
|
|
380
380
|
break;
|
|
381
381
|
}
|
|
382
382
|
return e;
|
|
383
|
-
},
|
|
384
|
-
let i = S.Category,
|
|
383
|
+
}, bs = (s, e, t) => {
|
|
384
|
+
let i = S.Category, a = F.Ascending;
|
|
385
385
|
if (e.orderOptions = e.orderOptions ?? {}, s === y.customSort && t !== void 0)
|
|
386
386
|
e.orderOptions.data = {
|
|
387
387
|
orderType: S.Category,
|
|
@@ -390,100 +390,100 @@ const us = async (s, e, t) => {
|
|
|
390
390
|
else {
|
|
391
391
|
switch (s) {
|
|
392
392
|
case y.xAxisAsc: {
|
|
393
|
-
i = S.Category,
|
|
393
|
+
i = S.Category, a = F.Ascending;
|
|
394
394
|
break;
|
|
395
395
|
}
|
|
396
396
|
case y.xAxisDesc: {
|
|
397
|
-
i = S.Category,
|
|
397
|
+
i = S.Category, a = F.Descending;
|
|
398
398
|
break;
|
|
399
399
|
}
|
|
400
400
|
case y.meanAsc: {
|
|
401
|
-
i = S.Mean,
|
|
401
|
+
i = S.Mean, a = F.Ascending;
|
|
402
402
|
break;
|
|
403
403
|
}
|
|
404
404
|
case y.meanDesc: {
|
|
405
|
-
i = S.Mean,
|
|
405
|
+
i = S.Mean, a = F.Descending;
|
|
406
406
|
break;
|
|
407
407
|
}
|
|
408
408
|
case y.medianAsc: {
|
|
409
|
-
i = S.Median,
|
|
409
|
+
i = S.Median, a = F.Ascending;
|
|
410
410
|
break;
|
|
411
411
|
}
|
|
412
412
|
case y.medianDesc: {
|
|
413
|
-
i = S.Median,
|
|
413
|
+
i = S.Median, a = F.Descending;
|
|
414
414
|
break;
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
e.orderOptions.data = {
|
|
418
418
|
orderType: i,
|
|
419
|
-
orderBy:
|
|
419
|
+
orderBy: a
|
|
420
420
|
};
|
|
421
421
|
}
|
|
422
|
-
}, Y = (s) => s.showMean ?? !1,
|
|
423
|
-
const i = s ? t :
|
|
424
|
-
if (e.showMean = s,
|
|
425
|
-
let
|
|
426
|
-
s ?
|
|
422
|
+
}, Y = (s) => s.showMean ?? !1, _ = async (s = !1, e, t) => {
|
|
423
|
+
const i = s ? t : Le(e), a = (s ?? !1) !== (e.showMean ?? !1);
|
|
424
|
+
if (e.showMean = s, a) {
|
|
425
|
+
let l;
|
|
426
|
+
s ? l = we(e.series) ? await ke(e.series) : e.series : l = qe(e.series), l && (l = ne({
|
|
427
427
|
formerSeries: e.series,
|
|
428
|
-
newSeries:
|
|
428
|
+
newSeries: l,
|
|
429
429
|
showMean: s
|
|
430
|
-
}), e.series =
|
|
430
|
+
}), e.series = l);
|
|
431
431
|
}
|
|
432
|
-
return s && t !== void 0 &&
|
|
433
|
-
},
|
|
432
|
+
return s && t !== void 0 && Me(t, e), { previousMeanLinesBoxColor: i };
|
|
433
|
+
}, hs = (s) => {
|
|
434
434
|
let e = [];
|
|
435
435
|
const t = s.orderOptions?.data?.orderType;
|
|
436
|
-
return
|
|
437
|
-
},
|
|
436
|
+
return de(s) === y.customSort && t === S.Category && (e = s.orderOptions?.data?.orderBy), e;
|
|
437
|
+
}, Fs = (s, e) => {
|
|
438
438
|
e.orderOptions ??= {};
|
|
439
439
|
const t = e.orderOptions?.data?.orderType;
|
|
440
|
-
|
|
440
|
+
de(e) === y.customSort && t === S.Category && (e.orderOptions.data = {
|
|
441
441
|
orderType: S.Category,
|
|
442
442
|
orderBy: s
|
|
443
443
|
});
|
|
444
|
-
}, As = (s) => s.dataFilters,
|
|
444
|
+
}, As = (s) => s.dataFilters, ws = (s, e) => {
|
|
445
445
|
s !== void 0 ? e.dataFilters = s : delete e.dataFilters;
|
|
446
|
-
},
|
|
447
|
-
const t = g(s), i = Te(s)?.type,
|
|
448
|
-
let
|
|
449
|
-
return i === u.CategoryAxisFormat && (t === b ?
|
|
446
|
+
}, gs = async (s, e) => {
|
|
447
|
+
const t = g(s), i = Te(s)?.type, a = q(s);
|
|
448
|
+
let l = [];
|
|
449
|
+
return i === u.CategoryAxisFormat && (t === b ? l = a : t.trim() !== "" && t !== b && (l = await Be({
|
|
450
450
|
layerInfo: e,
|
|
451
451
|
config: s,
|
|
452
452
|
category: t
|
|
453
|
-
}))),
|
|
453
|
+
}))), l;
|
|
454
454
|
};
|
|
455
455
|
export {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
456
|
+
Oe as A,
|
|
457
|
+
Pe as B,
|
|
458
|
+
ds as C,
|
|
459
|
+
cs as D,
|
|
460
|
+
N as E,
|
|
461
|
+
v as F,
|
|
462
|
+
ms as G,
|
|
463
|
+
gs as a,
|
|
464
|
+
q as b,
|
|
465
|
+
us as c,
|
|
466
|
+
j as d,
|
|
467
|
+
Ss as e,
|
|
468
|
+
ps as f,
|
|
469
469
|
g,
|
|
470
|
-
|
|
470
|
+
fs as h,
|
|
471
471
|
Ee as i,
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
472
|
+
xs as j,
|
|
473
|
+
de as k,
|
|
474
|
+
bs as l,
|
|
475
|
+
hs as m,
|
|
476
|
+
Fs as n,
|
|
477
|
+
J as o,
|
|
478
478
|
As as p,
|
|
479
|
-
|
|
479
|
+
ws as q,
|
|
480
480
|
Y as r,
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
481
|
+
ys as s,
|
|
482
|
+
_ as t,
|
|
483
|
+
Le as u,
|
|
484
|
+
Me as v,
|
|
485
485
|
ls as w,
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
486
|
+
rs as x,
|
|
487
|
+
os as y,
|
|
488
|
+
ns as z
|
|
489
489
|
};
|