@arcgis/charts-components 4.34.0-next.111 → 4.34.0-next.113
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/{OOMMTXY4.js → 23I4Q3OX.js} +1 -1
- package/dist/cdn/{XFNX4D2O.js → 262AENTU.js} +2 -2
- package/dist/cdn/{GMNQPJA5.js → 2AEEFPEX.js} +2 -2
- package/dist/cdn/2CXG76NM.js +4 -0
- package/dist/cdn/{X57ZLP3B.js → 2ER5PXU6.js} +2 -2
- package/dist/cdn/{ARQEETOT.js → 2FKZJUPY.js} +2 -2
- package/dist/cdn/2OYSTEG4.js +4 -0
- package/dist/cdn/{NXQ4XFXV.js → 2XRLHUO4.js} +2 -2
- package/dist/cdn/{FAV5SQY7.js → 34CTQ2YC.js} +23 -23
- package/dist/cdn/{2LZCNZSO.js → 36DWFWMR.js} +2 -2
- package/dist/cdn/{B7UZTYK7.js → 3YCYB5YB.js} +2 -2
- package/dist/cdn/{66VJ6LJG.js → 4H5KCTKT.js} +2 -2
- package/dist/cdn/{54AREBZJ.js → 4JZ5QNSR.js} +2 -2
- package/dist/cdn/{X3GMU3UN.js → 4KYIOYQJ.js} +2 -2
- package/dist/cdn/{WBBRKHMU.js → 4NH3HZ7S.js} +2 -2
- package/dist/cdn/{EIWHNTXK.js → 4O56TDHY.js} +2 -2
- package/dist/cdn/4O7SEJLL.js +4 -0
- package/dist/cdn/{M7SFMYYJ.js → 4OBIO427.js} +2 -2
- package/dist/cdn/{NHCXATX3.js → 53BUUZMF.js} +2 -2
- package/dist/cdn/{32LZ5ZUE.js → 5WBMOWIY.js} +1 -1
- package/dist/cdn/5ZZYKWT2.js +4 -0
- package/dist/cdn/{MBHVII23.js → 62YSTE7B.js} +2 -2
- package/dist/cdn/{GE5B7EHY.js → 67SRQPQO.js} +2 -2
- package/dist/cdn/6MAVBETA.js +4 -0
- package/dist/cdn/{AT3QGW6X.js → 6YDMBON5.js} +2 -2
- package/dist/cdn/{EER3AJSG.js → 74GOXLFU.js} +2 -2
- package/dist/cdn/{OWYOYCBA.js → 77E5KG5S.js} +2 -2
- package/dist/cdn/7FHQSHKC.js +4 -0
- package/dist/cdn/7KMZG76W.js +6 -0
- package/dist/cdn/{74B4CUN4.js → 7QNYDVH4.js} +2 -2
- package/dist/cdn/{2WN7KFS6.js → ACXTURJX.js} +2 -2
- package/dist/cdn/AJPLPIVM.js +4 -0
- package/dist/cdn/{DQWZHJZC.js → APTMEFHH.js} +2 -2
- package/dist/cdn/{IJBNBMA5.js → AUAH5WQA.js} +2 -2
- package/dist/cdn/{OC36Z6JP.js → AZ4NACBM.js} +2 -2
- package/dist/cdn/{NO5OWUBU.js → BJZHJTCR.js} +2 -2
- package/dist/cdn/{UTUBGWZ2.js → BQ5FFKZT.js} +2 -2
- package/dist/cdn/{J4RK4FTK.js → BTZPYYAW.js} +2 -2
- package/dist/cdn/BWO26RLA.js +4 -0
- package/dist/cdn/{7SOKHXX6.js → BXZ4PAPX.js} +2 -2
- package/dist/cdn/{X6LUL2NU.js → CWSOEJAF.js} +2 -2
- package/dist/cdn/D4LC37XL.js +4 -0
- package/dist/cdn/{QSJX2JAV.js → D5K7GLZI.js} +2 -2
- package/dist/cdn/{GST4XFWM.js → DC245MVI.js} +2 -2
- package/dist/cdn/{WSIYEMKM.js → DDGLCJYC.js} +2 -2
- package/dist/cdn/DPSEGNJG.js +4 -0
- package/dist/cdn/{UYXBEO66.js → DQ7SBWPB.js} +2 -2
- package/dist/cdn/{GLRNFYGS.js → DS4E4Q2G.js} +2 -2
- package/dist/cdn/{TARYHNRD.js → DUFPMHN6.js} +1 -1
- package/dist/cdn/{YSA7L475.js → EDV3MOKX.js} +2 -2
- package/dist/cdn/{ZKXAE6BB.js → EFHJ22PU.js} +2 -2
- package/dist/cdn/{WPWDJMJX.js → EL63BDEN.js} +2 -2
- package/dist/cdn/{GBFPI43N.js → ERRILYTQ.js} +2 -2
- package/dist/cdn/{U3QQ3GBN.js → ES3WLIA6.js} +2 -2
- package/dist/cdn/{R5BMYD4E.js → EUMWR4FW.js} +2 -2
- package/dist/cdn/{F4TV3AYN.js → FBTZQQO2.js} +2 -2
- package/dist/cdn/{T65RZ5CJ.js → FJFF5NBC.js} +1 -1
- package/dist/cdn/{DVGEHSBK.js → FP4VD5M5.js} +2 -2
- package/dist/cdn/FRG4H7DY.js +4 -0
- package/dist/cdn/{EPK6PLLI.js → FVKXONAJ.js} +2 -2
- package/dist/cdn/G2U7BOXW.js +4 -0
- package/dist/cdn/{HQDYN3EY.js → G5KZWTTJ.js} +2 -2
- package/dist/cdn/{PAVKQXWL.js → G6SI62O6.js} +2 -2
- package/dist/cdn/G7AJFCHY.js +4 -0
- package/dist/cdn/{HDNLDBDN.js → G7NAHC4H.js} +2 -2
- package/dist/cdn/{CO3CAMDJ.js → GEXEMHKT.js} +1 -1
- package/dist/cdn/GLVB2Y4Z.js +4 -0
- package/dist/cdn/{JKYGZTFM.js → GP6BLLZ6.js} +2 -2
- package/dist/cdn/{RERDS2J4.js → GQLETBEV.js} +2 -2
- package/dist/cdn/{6IDVHQLD.js → H2MGRSEZ.js} +2 -2
- package/dist/cdn/{HDC7XARZ.js → H3UO7KXQ.js} +2 -2
- package/dist/cdn/{UJN6L4I5.js → HDJSFPBO.js} +2 -2
- package/dist/cdn/{HGBNNX46.js → HJCUPHBY.js} +2 -2
- package/dist/cdn/{PWJ4FHBE.js → HXENFBLS.js} +2 -2
- package/dist/cdn/HYYPVCJY.js +4 -0
- package/dist/cdn/{DYZVS5EK.js → I7I5UN3B.js} +2 -2
- package/dist/cdn/{ZE7YNJLP.js → IA3R7DWY.js} +2 -2
- package/dist/cdn/{LGHT76RC.js → IDKXEI5N.js} +2 -2
- package/dist/cdn/IGZXWEGN.js +4 -0
- package/dist/cdn/{JX5UG5QS.js → ITJUM6CQ.js} +2 -2
- package/dist/cdn/{M34GM3LR.js → IWBZ2LG6.js} +2 -2
- package/dist/cdn/{ZWIEPILX.js → IYXEA5UZ.js} +2 -2
- package/dist/cdn/J4LS67JX.js +4 -0
- package/dist/cdn/{M3TJBQIF.js → JIZSQTFO.js} +2 -2
- package/dist/cdn/{AVGVPTI7.js → JOEKX63Y.js} +2 -2
- package/dist/cdn/{C6WBQHC3.js → JQIM4HXM.js} +2 -2
- package/dist/cdn/JU4HNSSP.js +4 -0
- package/dist/cdn/{B73UHRNU.js → JZAQOUOG.js} +2 -2
- package/dist/cdn/{Z4QT5UPI.js → K24M4DIQ.js} +2 -2
- package/dist/cdn/KDALCUMD.js +4 -0
- package/dist/cdn/{OSOGDD2O.js → KGAKAOYH.js} +2 -2
- package/dist/cdn/{5OVWLYQ2.js → KIQX6GVB.js} +2 -2
- package/dist/cdn/{KEMMERGS.js → KRQMKCZI.js} +2 -2
- package/dist/cdn/{ELUDJGTX.js → KV7EM7PX.js} +1 -1
- package/dist/cdn/KVFRZUPI.js +4 -0
- package/dist/cdn/{UOJ6VURM.js → L3YC2CMK.js} +2 -2
- package/dist/cdn/{XBUEC53B.js → L52BOAFI.js} +2 -2
- package/dist/cdn/LK5F7IJH.js +4 -0
- package/dist/cdn/{766R2ZUF.js → LMRA733F.js} +2 -2
- package/dist/cdn/{6L5IYOVJ.js → LR6HD2P3.js} +2 -2
- package/dist/cdn/{TBSPZD6V.js → LYEHHYEU.js} +2 -2
- package/dist/cdn/{WSADKE3S.js → LZQ6574F.js} +2 -2
- package/dist/cdn/MARTZ5CU.js +4 -0
- package/dist/cdn/{JUALZFUW.js → MBPX3ABN.js} +2 -2
- package/dist/cdn/{4JMR7RE7.js → MCNBXXW4.js} +2 -2
- package/dist/cdn/MQYDTINF.js +4 -0
- package/dist/cdn/{Y7LCSTDO.js → MRBTE465.js} +2 -2
- package/dist/cdn/{R6EBYFCK.js → N55DMRDM.js} +2 -2
- package/dist/cdn/{ZTGZ5KQ5.js → N5JQAFBS.js} +2 -2
- package/dist/cdn/{BI3AWCYS.js → N6Q2R2TE.js} +2 -2
- package/dist/cdn/{BM4Q7XWY.js → N7DQPBWE.js} +2 -2
- package/dist/cdn/NCEYDCHU.js +4 -0
- package/dist/cdn/NG7OWFJ6.js +4 -0
- package/dist/cdn/{FKEXTGFK.js → OAWCJUZT.js} +2 -2
- package/dist/cdn/{SVZZMU5C.js → OFBW4P4T.js} +2 -2
- package/dist/cdn/{UYGUX3DS.js → OJI4CLWE.js} +2 -2
- package/dist/cdn/OOO6DIKM.js +4 -0
- package/dist/cdn/{54Z2SWHN.js → P3FFH4DH.js} +2 -2
- package/dist/cdn/{LZJPJN75.js → P4I2IJI7.js} +2 -2
- package/dist/cdn/P6HBTDNT.js +4 -0
- package/dist/cdn/{QUFPUWDU.js → PPDFDZHH.js} +2 -2
- package/dist/cdn/{4MERVGGF.js → Q2C2P4EN.js} +2 -2
- package/dist/cdn/{JVWFJ5DC.js → Q4TY76YP.js} +2 -2
- package/dist/cdn/{UDF7MOCD.js → Q4YQVWNG.js} +2 -2
- package/dist/cdn/{I3WZAY3O.js → Q7LOJ3JF.js} +2 -2
- package/dist/cdn/{IY75QO4X.js → QROY3C7T.js} +2 -2
- package/dist/cdn/{XOICHBBS.js → QSWGXAUW.js} +2 -2
- package/dist/cdn/{CIBF67LX.js → QVNMLFWY.js} +2 -2
- package/dist/cdn/RES37HIF.js +42 -0
- package/dist/cdn/{TXJ6UGD7.js → RLR3ZNM2.js} +2 -2
- package/dist/cdn/{2KFXMEPE.js → RQ3GKOJ7.js} +2 -2
- package/dist/cdn/{YQPU5BNJ.js → RXKDSHL7.js} +2 -2
- package/dist/cdn/{XUXUGRNN.js → S4VHP2ZR.js} +2 -2
- package/dist/cdn/SAWZHKVM.js +4 -0
- package/dist/cdn/{KG6GB7SI.js → SCBRD7D5.js} +2 -2
- package/dist/cdn/{AMXGL6QW.js → SEYRQNRV.js} +2 -2
- package/dist/cdn/{RGS7LNAF.js → SSIMBGDR.js} +2 -2
- package/dist/cdn/{NEYJLUSE.js → TBNIGI5Y.js} +2 -2
- package/dist/cdn/{SBIAOG2G.js → TBNKPKMC.js} +2 -2
- package/dist/cdn/{F7UCAGKZ.js → TIZV2MNP.js} +2 -2
- package/dist/cdn/{M5WAW7T2.js → TWCVQILN.js} +2 -2
- package/dist/cdn/{ASEPPH6D.js → TX6OXVK6.js} +2 -2
- package/dist/cdn/{JE5Q2CC2.js → UD7DXOYR.js} +2 -2
- package/dist/cdn/{CCJL3MPA.js → UIMNI23U.js} +2 -2
- package/dist/cdn/{ZLJECTGF.js → UNNMKPG6.js} +2 -2
- package/dist/cdn/{F2BNDBMQ.js → VBYPJL3M.js} +2 -2
- package/dist/cdn/VLG63OOO.js +4 -0
- package/dist/cdn/{RGCKIL24.js → VZ7MRAHZ.js} +2 -2
- package/dist/cdn/{W67DX6SU.js → WB24ZY6A.js} +2 -2
- package/dist/cdn/WFMTTAJ6.js +4 -0
- package/dist/cdn/{FOOS6H7N.js → WISYDBQW.js} +2 -2
- package/dist/cdn/WN5SWFMA.js +4 -0
- package/dist/cdn/{SL42MFBQ.js → WNOEDRP4.js} +2 -2
- package/dist/cdn/WSXTRM7N.js +4 -0
- package/dist/cdn/{UTGAYBC3.js → WXJ5YZUW.js} +2 -2
- package/dist/cdn/{6C2NYXSZ.js → WY65YRDM.js} +2 -2
- package/dist/cdn/{6Z46DESZ.js → XD5BIPXT.js} +2 -2
- package/dist/cdn/{GTTH5SUQ.js → XMAUG3VG.js} +2 -2
- package/dist/cdn/{5Q2BSIRH.js → XOH4RGS6.js} +2 -2
- package/dist/cdn/XYRDMRJA.js +4 -0
- package/dist/cdn/{GA4HMY6V.js → XYTVQU7V.js} +2 -2
- package/dist/cdn/{F7RAYVB3.js → XZN52GO4.js} +2 -2
- package/dist/cdn/{U2HWNREF.js → Y34U7R5P.js} +2 -2
- package/dist/cdn/Y3OZTMJT.js +4 -0
- package/dist/cdn/{I3SAGSKG.js → Y755N4VS.js} +2 -2
- package/dist/cdn/YE2LGUYA.js +4 -0
- package/dist/cdn/YFN2MEJP.js +4 -0
- package/dist/cdn/YG2A5ZJ5.js +4 -0
- package/dist/cdn/{KWWTP7HE.js → YGP67EKU.js} +2 -2
- package/dist/cdn/{2GPVHBCV.js → YM5Z2FFK.js} +1 -1
- package/dist/cdn/YMZW2ZUF.js +4 -0
- package/dist/cdn/{IEOUCLTJ.js → YNJBI7WH.js} +2 -2
- package/dist/cdn/{BRXOBDCP.js → YO6PCY3Y.js} +2 -2
- package/dist/cdn/{BAR34E3W.js → YPSJQKN4.js} +2 -2
- package/dist/cdn/{HZXLKNTA.js → YYSVUXJZ.js} +2 -2
- package/dist/cdn/Z43T6AQJ.js +4 -0
- package/dist/cdn/{QD7IV3XR.js → Z43TGHKL.js} +2 -2
- package/dist/cdn/{34EFVOEX.js → ZILUOBRR.js} +2 -2
- package/dist/cdn/ZKWH7XFG.js +4 -0
- package/dist/cdn/{CGQOZD2N.js → ZNZCLCZD.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/2TT3TCNZ.js +0 -4
- package/dist/cdn/3PUHNTR2.js +0 -4
- package/dist/cdn/3ZCT6JWJ.js +0 -4
- package/dist/cdn/44TRLNWR.js +0 -4
- package/dist/cdn/4EPAYCHX.js +0 -4
- package/dist/cdn/5R5O4RWN.js +0 -4
- package/dist/cdn/63KGYCI2.js +0 -4
- package/dist/cdn/7JQL4RKR.js +0 -4
- package/dist/cdn/7KRMOETP.js +0 -4
- package/dist/cdn/7TRKEGUJ.js +0 -4
- package/dist/cdn/ASCNRJZK.js +0 -4
- package/dist/cdn/BNNQ3EEX.js +0 -4
- package/dist/cdn/DPZM77GZ.js +0 -4
- package/dist/cdn/E2D72XLN.js +0 -4
- package/dist/cdn/FBHNEJFE.js +0 -44
- package/dist/cdn/FC2SSRE7.js +0 -4
- package/dist/cdn/FZTVEBMS.js +0 -4
- package/dist/cdn/IFASF6V5.js +0 -4
- package/dist/cdn/K5ZSGFHV.js +0 -4
- package/dist/cdn/KCPT5N3T.js +0 -4
- package/dist/cdn/KUDCMX64.js +0 -4
- package/dist/cdn/LCOJDPEO.js +0 -4
- package/dist/cdn/LCQRUVJP.js +0 -4
- package/dist/cdn/NMPSY66G.js +0 -4
- package/dist/cdn/OAV23WIO.js +0 -4
- package/dist/cdn/P5GVO5VF.js +0 -4
- package/dist/cdn/QCENLDJF.js +0 -4
- package/dist/cdn/QCSAA3GD.js +0 -4
- package/dist/cdn/QPFRLAQU.js +0 -4
- package/dist/cdn/SDSYJKTW.js +0 -4
- package/dist/cdn/SKT2WH7C.js +0 -4
- package/dist/cdn/SLQDREI3.js +0 -4
- package/dist/cdn/SS3UVHMB.js +0 -4
- package/dist/cdn/TEOTDY7Z.js +0 -4
- package/dist/cdn/UAXJXTJB.js +0 -4
- package/dist/cdn/VJVZLEEY.js +0 -4
- package/dist/cdn/VUPK2NYD.js +0 -4
- package/dist/cdn/X433BC7B.js +0 -4
- package/dist/cdn/X7RIGDOG.js +0 -6
- package/dist/cdn/XW3VKJL3.js +0 -4
- package/dist/cdn/Y3OATKEN.js +0 -4
- package/dist/cdn/Y44OZPBI.js +0 -4
- 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.113 */
|
|
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
|
};
|