@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
package/dist/chunks/data.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { substitute as k } from "@arcgis/core/intl.js";
|
|
2
|
+
import { cloneDeep as G, capitalize as U, memoize as fe, isEmpty as we } from "lodash-es";
|
|
3
|
+
import { l as Ne, a as F, W as h, c as D, d as I, j as me, h as xe } from "./chart-object-literals.js";
|
|
4
|
+
import { a as Se, R as Ve } from "./rest-js-object-literals.js";
|
|
5
|
+
import { defaultBarLineFromFieldsName as R, defaultBarLineFromFieldsValue as Oe, defaultPieFromFieldsValue as De } from "../spec.js";
|
|
6
6
|
import "d3-array";
|
|
7
|
-
import { a7 as
|
|
7
|
+
import { a7 as te, c3 as qe, aO as Fe, c7 as j, ao as Me, a5 as V, a3 as O, aY as L, a6 as $e, k as W, bY as ke, cr as P, m as M, b8 as je, bz as be, b9 as se, ba as ie, cb as Ee, h as ae, cp as Pe, i as Ue, b7 as Re, q as re, ar as Ke, as as We, au as Xe, b6 as ge, a8 as Ye, a9 as ze } from "./interfaces.js";
|
|
8
8
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
9
9
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
10
10
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -12,244 +12,238 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
12
12
|
import "@arcgis/core/time/TimeExtent.js";
|
|
13
13
|
import "@arcgis/core/core/promiseUtils.js";
|
|
14
14
|
import "@arcgis/core/request.js";
|
|
15
|
-
import { fetchT9nStringsBundle as
|
|
16
|
-
import { g as
|
|
17
|
-
import { q as
|
|
15
|
+
import { fetchT9nStringsBundle as le, getElementLocale as oe } from "@arcgis/toolkit/intl";
|
|
16
|
+
import { g as ne } from "./runtime.js";
|
|
17
|
+
import { q as _e, l as w, n as Ze, o as Ge, j as B, k as C } from "./index5.js";
|
|
18
18
|
import "@arcgis/toolkit/dom";
|
|
19
|
-
import { P as
|
|
20
|
-
import { g as
|
|
21
|
-
import { u as
|
|
19
|
+
import { P as Qe, S } from "./common.js";
|
|
20
|
+
import { g as Q } from "./series-types.js";
|
|
21
|
+
import { u as Te } from "./index3.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.
|
|
25
|
-
function
|
|
24
|
+
v4.34.0-next.113 */
|
|
25
|
+
function Y(t, e, s) {
|
|
26
26
|
const i = t?.axes?.[e];
|
|
27
|
-
i?.title !== void 0 ? i.title.content.text = s : i !== void 0 && (i.title =
|
|
27
|
+
i?.title !== void 0 ? i.title.content.text = s : i !== void 0 && (i.title = V({
|
|
28
28
|
text: s,
|
|
29
29
|
visible: !0,
|
|
30
|
-
font:
|
|
30
|
+
font: O(L.AxisTitle)
|
|
31
31
|
}));
|
|
32
32
|
}
|
|
33
|
-
async function
|
|
33
|
+
async function _(t) {
|
|
34
34
|
const { config: e, layerInfo: s, numericFields: i, aggregationType: a } = t;
|
|
35
35
|
let r = "";
|
|
36
36
|
if (e) {
|
|
37
|
-
const c =
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
const c = qe(e) === Ne.Stacked100, o = await le(
|
|
38
|
+
oe(document.documentElement).t9nLocale,
|
|
39
|
+
ne("./assets/common/t9n"),
|
|
40
40
|
"messages."
|
|
41
41
|
);
|
|
42
42
|
if (c)
|
|
43
43
|
r = o.utilsStrings.statistics.percent;
|
|
44
44
|
else {
|
|
45
|
-
const y = await
|
|
45
|
+
const y = await Fe(a);
|
|
46
46
|
if (i.length === 1) {
|
|
47
|
-
const l =
|
|
48
|
-
a === F.NoAggregation ? r = l : a === F.Count && i[0] === s.objectIdField ? r = o.utilsStrings.statistics.count : r =
|
|
47
|
+
const l = j(s.layerFieldsInfo, i[0]);
|
|
48
|
+
a === F.NoAggregation ? r = l : a === F.Count && i[0] === s.objectIdField ? r = o.utilsStrings.statistics.count : r = k(o.axisLabels.aggregationOfFieldName, {
|
|
49
49
|
aggregation: y,
|
|
50
50
|
fieldName: l
|
|
51
51
|
});
|
|
52
|
-
} else i.length > 1 && (a === F.NoAggregation ? r = o.axisLabels.values : r =
|
|
52
|
+
} else i.length > 1 && (a === F.NoAggregation ? r = o.axisLabels.values : r = k(o.axisLabels.aggregationOfValues, {
|
|
53
53
|
aggregation: y
|
|
54
54
|
}));
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
return r;
|
|
58
58
|
}
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
},
|
|
72
|
-
await
|
|
73
|
-
}, Gt = (t) => ee(t, 0, !1), we = async (t, e) => {
|
|
74
|
-
await te(t, e, 0, !1);
|
|
75
|
-
}, lt = (t) => t.axes?.[0]?.valueFormat ?? re(), ot = async (t, e) => {
|
|
76
|
-
const s = await ve(t, 0);
|
|
59
|
+
const Ae = async (t, e) => t.axes?.[e] ?? (await Me(t.type))[e], he = (t) => {
|
|
60
|
+
const { config: e, axis: s, axisIndex: i } = t;
|
|
61
|
+
e.axes !== void 0 && (e.axes[i] = s);
|
|
62
|
+
}, Ut = (t) => {
|
|
63
|
+
const { config: e, axisIndex: s, isMax: i } = t;
|
|
64
|
+
let a = Number.NaN;
|
|
65
|
+
return i ? a = e.axes?.[s]?.maximum : a = e.axes?.[s]?.minimum, a ?? Number.NaN;
|
|
66
|
+
}, f = (t) => {
|
|
67
|
+
const { config: e, value: s, axisIndex: i, isMax: a } = t, r = e?.axes?.[i];
|
|
68
|
+
r !== void 0 && (a ? r.maximum = s : r.minimum = s);
|
|
69
|
+
}, Rt = (t, e) => {
|
|
70
|
+
f({ config: t, value: e, axisIndex: 0, isMax: !1 });
|
|
71
|
+
}, He = (t) => t.axes?.[0]?.valueFormat ?? te(), Je = async (t, e) => {
|
|
72
|
+
const s = await Ae(t, 0);
|
|
77
73
|
if (s !== void 0 && e !== void 0) {
|
|
78
74
|
const i = {
|
|
79
75
|
...s,
|
|
80
76
|
valueFormat: e
|
|
81
77
|
};
|
|
82
|
-
|
|
78
|
+
he({ config: t, axis: i, axisIndex: 0 });
|
|
83
79
|
}
|
|
84
|
-
},
|
|
85
|
-
let e;
|
|
86
|
-
return st(t.axes?.[1]?.valueFormat) && (e = t.axes?.[1]?.valueFormat), e;
|
|
87
|
-
}, Qt = async (t, e) => {
|
|
88
|
-
const s = await ve(t, 1);
|
|
89
|
-
if (s !== void 0 && e !== void 0) {
|
|
90
|
-
const i = {
|
|
91
|
-
...s,
|
|
92
|
-
valueFormat: e
|
|
93
|
-
};
|
|
94
|
-
Ce(t, i, 1);
|
|
95
|
-
}
|
|
96
|
-
}, Fe = (t, e, s) => {
|
|
80
|
+
}, pe = (t, e, s) => {
|
|
97
81
|
const i = t.axes?.[e];
|
|
98
82
|
i !== void 0 && (i.integerOnlyValues = s);
|
|
99
|
-
},
|
|
100
|
-
|
|
83
|
+
}, et = (t) => {
|
|
84
|
+
const e = Q(t.series);
|
|
85
|
+
return e === h.BarSeries || e === h.ComboLineAndBarSeries || e === h.LineSeries;
|
|
86
|
+
}, tt = (t) => {
|
|
87
|
+
const { axisIndex: e, config: s, isMultiAxis: i } = t;
|
|
88
|
+
let a = !1;
|
|
89
|
+
return e === 0 || e === 1 && i ? a = !0 : e === 2 && (a = et(s)), a;
|
|
90
|
+
}, Kt = (t) => {
|
|
91
|
+
const { axisIndex: e, func: s, config: i } = t;
|
|
92
|
+
return tt({ axisIndex: e, config: i, isMultiAxis: !0 }) ? s(e) : void 0;
|
|
93
|
+
}, Wt = (t, e) => {
|
|
94
|
+
let s;
|
|
95
|
+
const i = e.axes?.[t]?.valueFormat;
|
|
96
|
+
return (t === 0 || t >= 1 && _e(i)) && (s = i), s;
|
|
97
|
+
}, Xt = async (t) => {
|
|
98
|
+
const { config: e, valueFormat: s, axisIndex: i = 0 } = t, a = await Ae(e, i);
|
|
99
|
+
if (a !== void 0 && s !== void 0) {
|
|
100
|
+
const r = {
|
|
101
|
+
...a,
|
|
102
|
+
valueFormat: s
|
|
103
|
+
};
|
|
104
|
+
he({
|
|
105
|
+
config: e,
|
|
106
|
+
axis: r,
|
|
107
|
+
axisIndex: i
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
}, Yt = (t, e) => t.axes?.[e]?.isLogarithmic ?? !1, zt = (t) => {
|
|
111
|
+
const { config: e, isLogarithmic: s, axisIndex: i } = t, a = e.axes?.[i];
|
|
112
|
+
a && (a.isLogarithmic = s, f({ config: e, value: null, axisIndex: i, isMax: !0 }), f({ config: e, value: null, axisIndex: i, isMax: !1 }));
|
|
113
|
+
}, _t = (t) => {
|
|
114
|
+
const { config: e, scrollbar: s, axisIndex: i } = t;
|
|
115
|
+
e.axes?.[i] !== void 0 && (e.axes[i].scrollbar = s);
|
|
116
|
+
}, st = (t) => t.title?.content.text ?? "", Zt = (t, e) => {
|
|
117
|
+
e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = V({
|
|
101
118
|
text: t,
|
|
102
119
|
visible: !0,
|
|
103
|
-
font:
|
|
120
|
+
font: O(L.ChartTitle)
|
|
104
121
|
}));
|
|
105
|
-
},
|
|
106
|
-
e.subtitle !== void 0 ? e.subtitle.content.text = t : e.subtitle === void 0 && t !== void 0 && (e.subtitle =
|
|
122
|
+
}, Gt = (t) => t.subtitle?.content.text ?? "", Qt = (t, e) => {
|
|
123
|
+
e.subtitle !== void 0 ? e.subtitle.content.text = t : e.subtitle === void 0 && t !== void 0 && (e.subtitle = V({
|
|
107
124
|
text: t,
|
|
108
125
|
visible: !0,
|
|
109
|
-
font:
|
|
126
|
+
font: O(L.ChartSubtitle)
|
|
110
127
|
}));
|
|
111
|
-
},
|
|
112
|
-
e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer =
|
|
128
|
+
}, Ht = (t) => t.footer?.content.text ?? "", Jt = (t, e) => {
|
|
129
|
+
e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer = V({
|
|
113
130
|
text: t,
|
|
114
131
|
visible: !0,
|
|
115
|
-
font:
|
|
132
|
+
font: O(L.DescriptionText)
|
|
116
133
|
}));
|
|
117
|
-
},
|
|
118
|
-
e.title !== void 0 ? e.title.visible = t : e.title === void 0 && (e.title =
|
|
134
|
+
}, es = (t) => t.title ? t.title.visible ?? !0 : !1, ts = (t, e) => {
|
|
135
|
+
e.title !== void 0 ? e.title.visible = t : e.title === void 0 && (e.title = V({
|
|
119
136
|
text: "",
|
|
120
137
|
visible: t,
|
|
121
|
-
font:
|
|
138
|
+
font: O(L.ChartTitle)
|
|
122
139
|
}));
|
|
123
|
-
},
|
|
124
|
-
e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle === void 0 && (e.subtitle =
|
|
140
|
+
}, ss = (t) => t.subtitle ? t.subtitle.visible ?? !0 : !1, is = (t, e) => {
|
|
141
|
+
e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle === void 0 && (e.subtitle = V({
|
|
125
142
|
text: "",
|
|
126
143
|
visible: t,
|
|
127
|
-
font:
|
|
144
|
+
font: O(L.ChartSubtitle)
|
|
128
145
|
}));
|
|
129
|
-
},
|
|
130
|
-
e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !==
|
|
146
|
+
}, it = (t) => t.footer?.visible ?? !1, as = (t, e) => {
|
|
147
|
+
e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !== it(e) && (e.footer = V({
|
|
131
148
|
text: "",
|
|
132
149
|
visible: !0,
|
|
133
|
-
font:
|
|
150
|
+
font: O(L.DescriptionText)
|
|
134
151
|
}));
|
|
135
|
-
},
|
|
152
|
+
}, rs = (t) => t.chartRenderer, ls = (t, e) => {
|
|
136
153
|
e.chartRenderer = t;
|
|
137
|
-
},
|
|
138
|
-
const s = e.
|
|
139
|
-
(
|
|
140
|
-
text
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
}, gs = (t) => {
|
|
154
|
+
}, os = (t, e) => t.axes?.[e]?.title?.content, ns = (t) => {
|
|
155
|
+
const { config: e, axisIndex: s, symbol: i } = t, a = e.axes?.[s];
|
|
156
|
+
if (a !== void 0) {
|
|
157
|
+
const r = a.title?.content.text;
|
|
158
|
+
(a.title === void 0 || i === void 0) && (a.title = V({
|
|
159
|
+
text: "",
|
|
160
|
+
visible: !0,
|
|
161
|
+
font: O(L.AxisTitle),
|
|
162
|
+
type: L.AxisTitle
|
|
163
|
+
})), i !== void 0 && (a.title.content = i), a.title.content.text = r;
|
|
164
|
+
}
|
|
165
|
+
}, cs = (t) => {
|
|
150
166
|
for (const e of t.axes ?? [])
|
|
151
167
|
if (e?.labels !== void 0)
|
|
152
168
|
return e.labels.content;
|
|
153
|
-
},
|
|
169
|
+
}, ds = (t, e) => {
|
|
154
170
|
for (const s of e.axes ?? [])
|
|
155
171
|
if (s !== void 0) {
|
|
156
172
|
const i = s.labels?.content.text;
|
|
157
|
-
t === void 0 ? s.labels =
|
|
173
|
+
t === void 0 ? s.labels = V({
|
|
158
174
|
text: "",
|
|
159
175
|
visible: !0,
|
|
160
|
-
font:
|
|
161
|
-
type:
|
|
162
|
-
}) : s.labels.content =
|
|
176
|
+
font: O(L.AxisLabels),
|
|
177
|
+
type: L.AxisLabels
|
|
178
|
+
}) : s.labels.content = G(t), s.labels.content.text = i;
|
|
163
179
|
}
|
|
164
|
-
},
|
|
180
|
+
}, us = (t) => {
|
|
165
181
|
for (const e of t.axes ?? [])
|
|
166
182
|
if (e?.lineSymbol !== void 0)
|
|
167
183
|
return e.lineSymbol;
|
|
168
|
-
},
|
|
184
|
+
}, ys = (t, e) => {
|
|
169
185
|
for (const s of e.axes ?? [])
|
|
170
|
-
s !== void 0 && (s.lineSymbol =
|
|
171
|
-
},
|
|
186
|
+
s !== void 0 && (s.lineSymbol = G(t) ?? $e());
|
|
187
|
+
}, ms = (t) => {
|
|
172
188
|
for (const e of t.axes ?? [])
|
|
173
189
|
if (e?.grid !== void 0)
|
|
174
190
|
return e.grid;
|
|
175
|
-
},
|
|
176
|
-
const
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
case f.ComboLineAndBarSeries:
|
|
182
|
-
case f.HistogramSeries:
|
|
183
|
-
case f.BoxPlotSeries:
|
|
184
|
-
case f.RadarSeries: {
|
|
185
|
-
s?.[1] !== void 0 && (s[1].grid = _(t));
|
|
186
|
-
break;
|
|
187
|
-
}
|
|
188
|
-
// set both x and y-axis grid lines for charts - Scatter chart
|
|
189
|
-
case f.ScatterSeries: {
|
|
190
|
-
e.axes?.forEach((a) => {
|
|
191
|
-
a !== void 0 && (a.grid = _(t));
|
|
192
|
-
});
|
|
193
|
-
break;
|
|
194
|
-
}
|
|
195
|
-
case f.PieSeries:
|
|
196
|
-
}
|
|
197
|
-
}, me = (t, e) => e.axes?.[t]?.title?.content.text ?? "", Ts = (t, e, s) => {
|
|
191
|
+
}, xs = (t, e, s) => {
|
|
192
|
+
const i = e.axes;
|
|
193
|
+
s.forEach((a) => {
|
|
194
|
+
i?.[a] !== void 0 && (i[a].grid = G(t));
|
|
195
|
+
});
|
|
196
|
+
}, ce = (t, e) => e.axes?.[t]?.title?.content.text ?? "", gs = (t, e, s) => {
|
|
198
197
|
const i = s.axes?.[e];
|
|
199
|
-
i?.title !== void 0 ? i.title.content.text = t : i !== void 0 && i?.title === void 0 && (i.title =
|
|
198
|
+
i?.title !== void 0 ? i.title.content.text = t : i !== void 0 && i?.title === void 0 && (i.title = V({
|
|
200
199
|
text: t,
|
|
201
200
|
visible: !0,
|
|
202
|
-
font:
|
|
201
|
+
font: O(L.AxisTitle)
|
|
203
202
|
}));
|
|
204
|
-
},
|
|
203
|
+
}, ps = (t, e) => e.axes?.[t]?.title?.visible ?? !1, fs = (t, e, s) => {
|
|
205
204
|
const i = s.axes?.[e];
|
|
206
|
-
i?.title !== void 0 ? i.title.visible = t : i !== void 0 && i?.title === void 0 && (i.title =
|
|
207
|
-
text:
|
|
205
|
+
i?.title !== void 0 ? i.title.visible = t : i !== void 0 && i?.title === void 0 && (i.title = V({
|
|
206
|
+
text: ce(e, s),
|
|
208
207
|
visible: t,
|
|
209
|
-
font:
|
|
208
|
+
font: O(L.AxisTitle)
|
|
210
209
|
}));
|
|
211
|
-
},
|
|
212
|
-
t.axes?.[0] !== void 0 && (t.axes[0].isLogarithmic = e, await Le(t, null), await we(t, null));
|
|
213
|
-
}, Cs = (t) => t.axes?.[1]?.isLogarithmic ?? !1, Ls = async (t, e) => {
|
|
214
|
-
t.axes?.[1] !== void 0 && (t.axes[1].isLogarithmic = e, await k(t, null), await $(t, null));
|
|
215
|
-
}, ws = (t) => t.axes?.[0]?.scrollbar, Ns = (t, e) => {
|
|
216
|
-
t.axes?.[0] !== void 0 && (t.axes[0].scrollbar = e);
|
|
217
|
-
}, Ds = (t) => t.axes?.[1]?.scrollbar, Vs = (t, e) => {
|
|
218
|
-
t.axes?.[1] !== void 0 && (t.axes[1].scrollbar = e);
|
|
219
|
-
}, Os = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, qs = (t, e, s) => {
|
|
210
|
+
}, Ss = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, Fs = (t, e, s) => {
|
|
220
211
|
t.axes?.[s] !== void 0 && (t.axes[s].displayZeroLine = e);
|
|
221
|
-
},
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
},
|
|
212
|
+
}, bs = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, Ts = (t) => {
|
|
213
|
+
const { config: e, displayCursorTooltip: s, axisIndex: i } = t;
|
|
214
|
+
e.axes?.[i] !== void 0 && (e.axes[i].displayCursorTooltip = s);
|
|
215
|
+
}, As = (t, e) => t.axes?.[e]?.buffer ?? !1, hs = (t) => {
|
|
216
|
+
const { config: e, buffer: s, axisIndex: i } = t, a = e.axes?.[i];
|
|
217
|
+
a !== void 0 && (a.buffer = s);
|
|
218
|
+
}, vs = (t, e) => t.axes?.[e]?.tickSpacing, Bs = (t) => {
|
|
219
|
+
const { config: e, tickSpacing: s, axisIndex: i } = t;
|
|
220
|
+
e.axes?.[i] !== void 0 && (e.axes[i].tickSpacing = s);
|
|
221
|
+
}, Cs = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, Ls = (t) => {
|
|
222
|
+
const { config: e, integerOnlyValues: s, axisIndex: i } = t;
|
|
223
|
+
e.axes?.[i] !== void 0 && (e.axes[i].integerOnlyValues = s);
|
|
224
|
+
}, at = (t) => {
|
|
231
225
|
let e = S.xAxisAsc;
|
|
232
|
-
const s = t.orderOptions?.data?.orderType ??
|
|
233
|
-
return s ===
|
|
234
|
-
},
|
|
235
|
-
const e =
|
|
226
|
+
const s = t.orderOptions?.data?.orderType ?? I.Category, i = t.orderOptions?.data?.orderBy ?? D.Ascending;
|
|
227
|
+
return s === I.Category && Array.isArray(i) ? e = S.customSort : s === I.Category ? i === D.Ascending ? e = S.xAxisAsc : e = S.xAxisDesc : i === D.Ascending ? e = S.yAxisAsc : e = S.yAxisDesc, e;
|
|
228
|
+
}, rt = (t) => {
|
|
229
|
+
const e = Q(t.series);
|
|
236
230
|
let s = !1;
|
|
237
|
-
return (e ===
|
|
238
|
-
},
|
|
231
|
+
return (e === h.BarSeries || e === h.LineSeries) && (s = at(t) === S.customSort), s;
|
|
232
|
+
}, Is = (t) => {
|
|
239
233
|
let e = [];
|
|
240
234
|
const s = t.orderOptions?.data?.orderType;
|
|
241
|
-
return
|
|
242
|
-
},
|
|
243
|
-
let i =
|
|
244
|
-
const r =
|
|
235
|
+
return rt(t) && s === I.Category && (e = t.orderOptions?.data?.orderBy), e;
|
|
236
|
+
}, ws = (t, e, s) => {
|
|
237
|
+
let i = I.Category, a = D.Ascending;
|
|
238
|
+
const r = Q(e.series);
|
|
245
239
|
e.orderOptions ??= {}, t === S.customSort && s !== void 0 ? (a = [...s], e.orderOptions.data = {
|
|
246
240
|
orderType: i,
|
|
247
241
|
orderBy: a
|
|
248
|
-
}) : (r ===
|
|
242
|
+
}) : (r === h.BarSeries || r === h.LineSeries) && (i = t === S.xAxisAsc || t === S.xAxisDesc ? I.Category : I.YValue, a = t === S.xAxisAsc || t === S.yAxisAsc ? D.Ascending : D.Descending, e.orderOptions.data = {
|
|
249
243
|
orderType: i,
|
|
250
244
|
orderBy: a
|
|
251
245
|
});
|
|
252
|
-
}, E = (t) => t?.series?.[0]?.x ?? "",
|
|
246
|
+
}, E = (t) => t?.series?.[0]?.x ?? "", de = (t) => {
|
|
253
247
|
const {
|
|
254
248
|
config: e,
|
|
255
249
|
numericFields: s,
|
|
@@ -259,19 +253,19 @@ const ve = async (t, e) => t.axes?.[e] ?? (await Xe(t.type))[e], Ce = (t, e, s)
|
|
|
259
253
|
numericFieldIndex: c,
|
|
260
254
|
seriesIndex: o,
|
|
261
255
|
splitByField: y = ""
|
|
262
|
-
} = t, l =
|
|
256
|
+
} = t, l = Q(e.series), p = W(e.series), d = r ? ke(r).objectIdField : "FID", x = E(e), n = s.length === 1 && s[0] === d;
|
|
263
257
|
let u = "y", m = "y";
|
|
264
258
|
switch (l) {
|
|
265
|
-
case
|
|
266
|
-
i !== F.NoAggregation ? a ===
|
|
259
|
+
case h.PieSeries: {
|
|
260
|
+
i !== F.NoAggregation ? a === Qe.Category ? (u = `${i}_${s[0]}_0`.toUpperCase(), m = n ? U(F.Count) : U(`${i} of ${s[0]}`)) : u = De : u = s[0];
|
|
267
261
|
break;
|
|
268
262
|
}
|
|
269
|
-
case
|
|
270
|
-
case
|
|
271
|
-
case
|
|
272
|
-
case
|
|
263
|
+
case h.BarSeries:
|
|
264
|
+
case h.LineSeries:
|
|
265
|
+
case h.ComboLineAndBarSeries:
|
|
266
|
+
case h.RadarSeries: {
|
|
273
267
|
if (y === "" || s.length > 1)
|
|
274
|
-
|
|
268
|
+
x === R || x === void 0 || x.trim() === "" || p === P.BarAndLineFromFields ? u = Oe : (u = `${i}_${s[c ?? 0]}_${c ?? 0}`.toUpperCase(), m = n ? U(F.Count) : U(`${i} of ${s[c ?? 0]}`));
|
|
275
269
|
else {
|
|
276
270
|
const g = s[0];
|
|
277
271
|
u = `${i}_${g}_${o ?? 0}`.toUpperCase(), m = n ? U(F.Count) : U(`${i} of ${g}`);
|
|
@@ -283,68 +277,68 @@ const ve = async (t, e) => t.axes?.[e] ?? (await Xe(t.type))[e], Ce = (t, e, s)
|
|
|
283
277
|
name: u,
|
|
284
278
|
description: m
|
|
285
279
|
};
|
|
286
|
-
},
|
|
280
|
+
}, lt = (t) => {
|
|
287
281
|
let e;
|
|
288
282
|
const s = t.series[0];
|
|
289
|
-
return
|
|
290
|
-
},
|
|
283
|
+
return M(s) && (e = s.temporalBinning?.size), e;
|
|
284
|
+
}, ot = (t) => {
|
|
291
285
|
let e;
|
|
292
286
|
const s = t.series[0];
|
|
293
|
-
return
|
|
294
|
-
},
|
|
287
|
+
return M(s) && (e = s.temporalBinning?.unit), e;
|
|
288
|
+
}, nt = (t) => {
|
|
295
289
|
let e;
|
|
296
290
|
const s = t.series[0];
|
|
297
|
-
return
|
|
298
|
-
},
|
|
291
|
+
return M(s) && (e = s.temporalBinning?.timeAggregationType), e;
|
|
292
|
+
}, ct = (t) => {
|
|
299
293
|
let e;
|
|
300
294
|
const s = t.series[0];
|
|
301
|
-
return
|
|
302
|
-
},
|
|
295
|
+
return M(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
296
|
+
}, dt = (t) => {
|
|
303
297
|
let e;
|
|
304
298
|
const s = t.series[0];
|
|
305
|
-
return
|
|
306
|
-
},
|
|
299
|
+
return M(s) && (e = s.temporalBinning?.nullPolicy), e;
|
|
300
|
+
}, ve = (t, e) => {
|
|
307
301
|
e?.series?.forEach((s) => {
|
|
308
|
-
|
|
309
|
-
}),
|
|
310
|
-
},
|
|
302
|
+
M(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
|
|
303
|
+
}), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
304
|
+
}, ut = (t, e) => {
|
|
311
305
|
e?.series?.forEach((s) => {
|
|
312
|
-
|
|
313
|
-
}),
|
|
314
|
-
},
|
|
306
|
+
M(s) && (s.temporalBinning ??= {}, s.temporalBinning.nullPolicy = t);
|
|
307
|
+
}), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
308
|
+
}, Ns = (t, e) => {
|
|
315
309
|
e.series?.forEach((s) => {
|
|
316
|
-
|
|
317
|
-
}),
|
|
318
|
-
},
|
|
310
|
+
M(s) && (s.temporalBinning ??= {}, s.temporalBinning.unit = t);
|
|
311
|
+
}), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
312
|
+
}, Vs = (t, e) => {
|
|
319
313
|
e.series?.forEach((s) => {
|
|
320
|
-
|
|
321
|
-
}),
|
|
322
|
-
},
|
|
314
|
+
M(s) && (s.temporalBinning ??= {}, s.temporalBinning.timeAggregationType = t);
|
|
315
|
+
}), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
316
|
+
}, Os = (t, e) => {
|
|
323
317
|
e.series?.forEach((s) => {
|
|
324
|
-
|
|
325
|
-
}),
|
|
326
|
-
},
|
|
327
|
-
|
|
318
|
+
M(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
|
|
319
|
+
}), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
320
|
+
}, Ds = (t) => {
|
|
321
|
+
ve(0, t);
|
|
328
322
|
};
|
|
329
|
-
async function
|
|
330
|
-
const { config: e, layer: s, xAxisField: i, splitByField: a, layerFieldsInfo: r, aggregationFields: c, fetchNullValues: o } = t, l = r.filter((b) => b.name === a)[0]?.type,
|
|
331
|
-
where:
|
|
323
|
+
async function yt(t) {
|
|
324
|
+
const { config: e, layer: s, xAxisField: i, splitByField: a, layerFieldsInfo: r, aggregationFields: c, fetchNullValues: o } = t, l = r.filter((b) => b.name === a)[0]?.type, p = o !== !0 ? `${a} IS NOT NULL` : "", d = i && o !== !0 ? `${i} IS NOT NULL` : "", { where: x } = e?.dataFilters ?? {}, n = {
|
|
325
|
+
where: be([x, p, d]),
|
|
332
326
|
// excluding the null values from the list
|
|
333
|
-
orderByFields:
|
|
327
|
+
orderByFields: Ee(a) ? [] : [`${a} ${D.Ascending}`],
|
|
334
328
|
// default sorting ascending for split-by field
|
|
335
329
|
geometry: e?.dataFilters?.geometry
|
|
336
330
|
}, u = s;
|
|
337
331
|
let m = "";
|
|
338
332
|
c.length === 0 ? m = u?.objectIdField ?? "" : [m] = c;
|
|
339
|
-
let g = await
|
|
333
|
+
let g = await Te({
|
|
340
334
|
queryObject: u,
|
|
341
335
|
category: e?.series[0].x ?? "",
|
|
342
336
|
splitByField: a,
|
|
343
337
|
queryConfig: n
|
|
344
338
|
});
|
|
345
339
|
if (e) {
|
|
346
|
-
const b = e?.series.map((A) =>
|
|
347
|
-
g =
|
|
340
|
+
const b = e?.series.map((A) => ae({ where: A.query?.where })?.toString() ?? "").filter((A) => A !== void 0 && A !== "");
|
|
341
|
+
g = Pe({
|
|
348
342
|
arrayA: g,
|
|
349
343
|
arrayB: b,
|
|
350
344
|
getKey: (A) => A.toString()
|
|
@@ -352,7 +346,7 @@ async function St(t) {
|
|
|
352
346
|
}
|
|
353
347
|
return { categoriesArray: g, splitByFieldType: l, numericalField: m };
|
|
354
348
|
}
|
|
355
|
-
function
|
|
349
|
+
function qs(t, e) {
|
|
356
350
|
let s = e === "";
|
|
357
351
|
for (const i of t)
|
|
358
352
|
if (e === i.name) {
|
|
@@ -361,8 +355,8 @@ function _s(t, e) {
|
|
|
361
355
|
}
|
|
362
356
|
return s;
|
|
363
357
|
}
|
|
364
|
-
function
|
|
365
|
-
const s =
|
|
358
|
+
function Ms(t, e) {
|
|
359
|
+
const s = je(t);
|
|
366
360
|
let i = e.length === 0, a = 0;
|
|
367
361
|
for (const r of e) {
|
|
368
362
|
for (const c of s)
|
|
@@ -375,7 +369,7 @@ function Zs(t, e) {
|
|
|
375
369
|
}
|
|
376
370
|
return i;
|
|
377
371
|
}
|
|
378
|
-
function
|
|
372
|
+
function $s(t, e) {
|
|
379
373
|
e.forEach((s) => {
|
|
380
374
|
Object.getOwnPropertyNames(s.prototype).forEach((i) => {
|
|
381
375
|
Object.defineProperty(
|
|
@@ -386,111 +380,110 @@ function Gs(t, e) {
|
|
|
386
380
|
});
|
|
387
381
|
});
|
|
388
382
|
}
|
|
389
|
-
async function
|
|
383
|
+
async function mt(t) {
|
|
390
384
|
const { layerInfo: e, config: s, category: i } = t, { layer: a } = e, { where: r } = s?.dataFilters ?? {}, { fetchNullValues: c } = s?.series?.[0]?.query ?? {}, o = c !== !0 ? `${i} IS NOT NULL` : "", y = {
|
|
391
|
-
where:
|
|
385
|
+
where: be([r, o]),
|
|
392
386
|
// excluding the null values from the list
|
|
393
387
|
orderByFields: [],
|
|
394
388
|
geometry: s?.dataFilters?.geometry
|
|
395
|
-
}, l =
|
|
389
|
+
}, l = se(a);
|
|
396
390
|
return (
|
|
397
391
|
// fetch unique category values asynchronously
|
|
398
|
-
(await
|
|
399
|
-
const
|
|
400
|
-
return
|
|
392
|
+
(await Te({ queryObject: a, category: i, queryConfig: y })).map((d) => {
|
|
393
|
+
const x = String(d);
|
|
394
|
+
return ie({
|
|
401
395
|
fieldName: i,
|
|
402
|
-
fieldValueToMatch:
|
|
396
|
+
fieldValueToMatch: x,
|
|
403
397
|
subtypeInfo: l,
|
|
404
398
|
// use the retrieved subtype information
|
|
405
399
|
fieldList: e.layerFieldsInfo
|
|
406
400
|
// list of field information from the layer
|
|
407
|
-
}) ??
|
|
401
|
+
}) ?? x;
|
|
408
402
|
})
|
|
409
403
|
);
|
|
410
404
|
}
|
|
411
|
-
async function
|
|
405
|
+
async function z(t) {
|
|
412
406
|
const { seriesIndex: e, config: s, layerInfo: i } = t, { objectIdField: a } = i ?? {};
|
|
413
407
|
let r;
|
|
414
408
|
const c = s.series[e ?? 0];
|
|
415
409
|
let o = !1, y = !1;
|
|
416
410
|
if (c === void 0) {
|
|
417
411
|
const n = s.series;
|
|
418
|
-
o = n.slice(0, e).every((u) => B(u)), y = n.slice(0, e).every((u) =>
|
|
412
|
+
o = n.slice(0, e).every((u) => B(u)), y = n.slice(0, e).every((u) => C(u));
|
|
419
413
|
} else
|
|
420
|
-
o = B(c), y =
|
|
421
|
-
o ? r = await
|
|
414
|
+
o = B(c), y = C(c);
|
|
415
|
+
o ? r = await Ke({
|
|
422
416
|
seriesIndex: e,
|
|
423
417
|
objectIDField: a
|
|
424
|
-
}) : y ? r = await
|
|
418
|
+
}) : y ? r = await We({
|
|
425
419
|
seriesIndex: e,
|
|
426
420
|
objectIDField: a
|
|
427
|
-
}) : r = await
|
|
421
|
+
}) : r = await Xe({
|
|
428
422
|
seriesIndex: e,
|
|
429
423
|
objectIDField: a
|
|
430
424
|
});
|
|
431
|
-
const l = E(s),
|
|
425
|
+
const l = E(s), p = s.series[0]?.dataLabels?.visible ?? !1, d = {
|
|
432
426
|
...r,
|
|
433
427
|
x: l,
|
|
434
428
|
y: "",
|
|
435
429
|
dataLabels: {
|
|
436
430
|
...r.dataLabels,
|
|
437
|
-
type: r.dataLabels?.type ??
|
|
438
|
-
content: r.dataLabels?.content ?? { type:
|
|
439
|
-
visible:
|
|
431
|
+
type: r.dataLabels?.type ?? h.Text,
|
|
432
|
+
content: r.dataLabels?.content ?? { type: Ve.TS },
|
|
433
|
+
visible: p
|
|
440
434
|
}
|
|
441
|
-
},
|
|
435
|
+
}, x = q(s);
|
|
442
436
|
if (d.query = {
|
|
443
437
|
groupByFieldsForStatistics: [l]
|
|
444
|
-
},
|
|
445
|
-
const n = `${
|
|
438
|
+
}, x !== F.NoAggregation && a !== void 0) {
|
|
439
|
+
const n = `${x}_${a}_0`.toUpperCase();
|
|
446
440
|
d.y = n, d.query.outStatistics = [
|
|
447
441
|
{
|
|
448
|
-
statisticType:
|
|
442
|
+
statisticType: x,
|
|
449
443
|
onStatisticField: a,
|
|
450
444
|
outStatisticFieldName: n
|
|
451
445
|
}
|
|
452
446
|
];
|
|
453
447
|
}
|
|
454
|
-
if (B(d) ||
|
|
448
|
+
if (B(d) || C(d)) {
|
|
455
449
|
let n;
|
|
456
|
-
if (s?.series?.[0] !== void 0 && (n = W(s.series)), n !==
|
|
457
|
-
let u =
|
|
458
|
-
u ===
|
|
459
|
-
|
|
460
|
-
size: yt(s),
|
|
450
|
+
if (s?.series?.[0] !== void 0 && (n = W(s.series)), n !== P.BarAndLineNoAggregation && n !== P.BarAndLineSplitByNoAggregation) {
|
|
451
|
+
let u = ot(s);
|
|
452
|
+
u === xe.Quarter && (u = xe.Month), d.temporalBinning = {
|
|
453
|
+
size: lt(s),
|
|
461
454
|
unit: u,
|
|
462
|
-
timeAggregationType:
|
|
463
|
-
trimIncompleteTimeInterval:
|
|
464
|
-
nullPolicy:
|
|
455
|
+
timeAggregationType: nt(s),
|
|
456
|
+
trimIncompleteTimeInterval: ct(s),
|
|
457
|
+
nullPolicy: dt(s)
|
|
465
458
|
};
|
|
466
459
|
}
|
|
467
460
|
}
|
|
468
|
-
return
|
|
461
|
+
return G(d);
|
|
469
462
|
}
|
|
470
|
-
async function
|
|
471
|
-
const { layerFieldsInfo: s, objectIdField: i } = e, a = E(t), r = W(t.series), c = N(t), o = q(t), y =
|
|
463
|
+
async function Z(t, e) {
|
|
464
|
+
const { layerFieldsInfo: s, objectIdField: i } = e, a = E(t), r = W(t.series), c = N(t), o = q(t), y = K(t), l = c.length === 0 || c.includes(i), p = await Fe(o), d = l ? "" : c.map((T) => j(s ?? [], T)).join(", "), x = j(s ?? [], a), n = j(s ?? [], y), u = t.series.some((T) => w(T)), m = u ? "category" : "xAxisField", g = x;
|
|
472
465
|
let b = "";
|
|
473
|
-
const A = await
|
|
474
|
-
|
|
475
|
-
|
|
466
|
+
const A = await le(
|
|
467
|
+
oe(document.documentElement).t9nLocale,
|
|
468
|
+
ne("./assets/common/t9n"),
|
|
476
469
|
"messages."
|
|
477
470
|
);
|
|
478
|
-
if (r ===
|
|
479
|
-
b =
|
|
480
|
-
aggregationType:
|
|
471
|
+
if (r === P.BarAndLineFromFields)
|
|
472
|
+
b = k(A.titleLabels.aggrTypeOfAggrFields, {
|
|
473
|
+
aggregationType: p,
|
|
481
474
|
aggregationFields: d
|
|
482
475
|
});
|
|
483
476
|
else if (o === F.NoAggregation) {
|
|
484
477
|
const T = l ? i : d;
|
|
485
478
|
if (y === "") {
|
|
486
|
-
const
|
|
487
|
-
b =
|
|
479
|
+
const X = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
480
|
+
b = k(A.titleLabels[X], {
|
|
488
481
|
aggregationType: T,
|
|
489
482
|
[m]: g
|
|
490
483
|
});
|
|
491
484
|
} else {
|
|
492
|
-
const
|
|
493
|
-
b =
|
|
485
|
+
const X = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
486
|
+
b = k(A.titleLabels[X], {
|
|
494
487
|
aggregationType: T,
|
|
495
488
|
[m]: g,
|
|
496
489
|
splitByField: n
|
|
@@ -499,88 +492,88 @@ async function Q(t, e) {
|
|
|
499
492
|
} else if (o === F.Count)
|
|
500
493
|
if (y === "") {
|
|
501
494
|
const T = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
502
|
-
b =
|
|
503
|
-
aggregationType:
|
|
495
|
+
b = k(A.titleLabels[T], {
|
|
496
|
+
aggregationType: p,
|
|
504
497
|
[m]: g
|
|
505
498
|
});
|
|
506
499
|
} else {
|
|
507
500
|
const T = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
508
|
-
b =
|
|
509
|
-
aggregationType:
|
|
501
|
+
b = k(A.titleLabels[T], {
|
|
502
|
+
aggregationType: p,
|
|
510
503
|
[m]: g,
|
|
511
504
|
splitByField: n
|
|
512
505
|
});
|
|
513
506
|
}
|
|
514
507
|
else if (y !== "") {
|
|
515
508
|
const T = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
|
|
516
|
-
b =
|
|
517
|
-
aggregationType:
|
|
509
|
+
b = k(A.titleLabels[T], {
|
|
510
|
+
aggregationType: p,
|
|
518
511
|
aggregationField: d,
|
|
519
512
|
[m]: g,
|
|
520
513
|
splitByField: n
|
|
521
514
|
});
|
|
522
515
|
} else if (c.length > 0) {
|
|
523
516
|
const T = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
|
|
524
|
-
b =
|
|
525
|
-
aggregationType:
|
|
517
|
+
b = k(A.titleLabels[T], {
|
|
518
|
+
aggregationType: p,
|
|
526
519
|
aggregationFields: d,
|
|
527
520
|
[m]: g
|
|
528
521
|
});
|
|
529
522
|
}
|
|
530
523
|
return b;
|
|
531
524
|
}
|
|
532
|
-
const
|
|
525
|
+
const Be = (t) => ae({
|
|
533
526
|
where: t.query?.where,
|
|
534
527
|
normalize: !1,
|
|
535
528
|
escape: !1
|
|
536
|
-
}) ?? "", q = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? F.NoAggregation,
|
|
537
|
-
const i = N(e), a =
|
|
538
|
-
if (await
|
|
529
|
+
}) ?? "", q = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? F.NoAggregation, ks = async (t, e, s) => {
|
|
530
|
+
const i = N(e), a = K(e), r = await H(e, s), c = await J(e, s);
|
|
531
|
+
if (await ye({
|
|
539
532
|
splitByField: a,
|
|
540
533
|
numericFields: i,
|
|
541
534
|
aggregationType: t,
|
|
542
535
|
config: e,
|
|
543
536
|
layerInfo: s
|
|
544
537
|
}), c) {
|
|
545
|
-
const o = await
|
|
538
|
+
const o = await _({
|
|
546
539
|
config: e,
|
|
547
540
|
layerInfo: s,
|
|
548
541
|
numericFields: N(e),
|
|
549
542
|
aggregationType: q(e)
|
|
550
543
|
});
|
|
551
|
-
|
|
544
|
+
Y(e, 1, o);
|
|
552
545
|
}
|
|
553
|
-
e.title && r && (e.title.content.text = await
|
|
554
|
-
},
|
|
546
|
+
e.title && r && (e.title.content.text = await Z(e, s)), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 }), ue(e, s);
|
|
547
|
+
}, K = fe(
|
|
555
548
|
(t) => {
|
|
556
549
|
const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
557
|
-
return
|
|
550
|
+
return Ue(t?.series?.[0]?.query?.where) ? "" : e;
|
|
558
551
|
},
|
|
559
552
|
(t) => t?.series?.[0]?.query?.where
|
|
560
|
-
),
|
|
561
|
-
const i = N(e), a = q(e), r = await
|
|
562
|
-
if (await
|
|
553
|
+
), js = async (t, e, s) => {
|
|
554
|
+
const i = N(e), a = q(e), r = await H(e, s), c = await J(e, s);
|
|
555
|
+
if (await ye({
|
|
563
556
|
splitByField: t,
|
|
564
557
|
numericFields: i,
|
|
565
558
|
aggregationType: a,
|
|
566
559
|
config: e,
|
|
567
560
|
layerInfo: s
|
|
568
561
|
}), c) {
|
|
569
|
-
const o = await
|
|
562
|
+
const o = await _({
|
|
570
563
|
config: e,
|
|
571
564
|
layerInfo: s,
|
|
572
565
|
numericFields: N(e),
|
|
573
566
|
aggregationType: q(e)
|
|
574
567
|
});
|
|
575
|
-
|
|
568
|
+
Y(e, 1, o);
|
|
576
569
|
}
|
|
577
|
-
e.title && r && (e.title.content.text = await
|
|
578
|
-
}, N =
|
|
570
|
+
e.title && r && (e.title.content.text = await Z(e, s)), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
571
|
+
}, N = fe(
|
|
579
572
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
580
573
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
581
574
|
(t) => {
|
|
582
575
|
let e = [];
|
|
583
|
-
if (
|
|
576
|
+
if (K(t) === "")
|
|
584
577
|
e = t?.series.map((s) => {
|
|
585
578
|
const i = s.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
|
|
586
579
|
return i?.length > 0 ? i : s.y;
|
|
@@ -593,92 +586,92 @@ const Ve = (t) => ne({
|
|
|
593
586
|
},
|
|
594
587
|
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
595
588
|
(t) => t?.series
|
|
596
|
-
),
|
|
589
|
+
), xt = async (t, e, s) => {
|
|
597
590
|
const { objectIdField: i } = s;
|
|
598
591
|
let a = q(e);
|
|
599
|
-
const r = await
|
|
592
|
+
const r = await H(e, s), c = await J(e, s);
|
|
600
593
|
t.length === 0 ? (t.push(i), a = F.Count) : a === F.Count && t.length >= 1 && !t.includes(i) && (a = F.Sum);
|
|
601
|
-
const o =
|
|
602
|
-
if (await
|
|
594
|
+
const o = K(e);
|
|
595
|
+
if (await ye({
|
|
603
596
|
splitByField: o,
|
|
604
597
|
numericFields: t,
|
|
605
598
|
aggregationType: a,
|
|
606
599
|
config: e,
|
|
607
600
|
layerInfo: s
|
|
608
601
|
}), c) {
|
|
609
|
-
const y = await
|
|
602
|
+
const y = await _({
|
|
610
603
|
config: e,
|
|
611
604
|
layerInfo: s,
|
|
612
605
|
numericFields: N(e),
|
|
613
606
|
aggregationType: q(e)
|
|
614
607
|
});
|
|
615
|
-
|
|
608
|
+
Y(e, 1, y);
|
|
616
609
|
}
|
|
617
|
-
e.title && r && (e.title.content.text = await
|
|
618
|
-
},
|
|
619
|
-
const { layerFieldsInfo: i } = s ?? {}, a = e?.series?.length ?? 0, r = E(e), c = await
|
|
610
|
+
e.title && r && (e.title.content.text = await Z(e, s)), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 }), ue(e, s);
|
|
611
|
+
}, Es = async (t, e, s) => {
|
|
612
|
+
const { layerFieldsInfo: i } = s ?? {}, a = e?.series?.length ?? 0, r = E(e), c = await H(e, s), o = await J(e, s), y = await St(e, s);
|
|
620
613
|
let l;
|
|
621
|
-
const
|
|
614
|
+
const p = e.series.some((n) => w(n)), d = Ze(e.series), x = Ge(e.series);
|
|
622
615
|
if (i !== void 0) {
|
|
623
|
-
const n =
|
|
624
|
-
!n.includes(r) && n.includes(t) ? l =
|
|
616
|
+
const n = Re(i);
|
|
617
|
+
!n.includes(r) && n.includes(t) ? l = Ye() : n.includes(r) && !n.includes(t) && (p ? l = te() : l = ze()), i.find((m) => m.name === t)?.type === Se.String && (l = te()), l !== void 0 && await Je(e, l);
|
|
625
618
|
}
|
|
626
|
-
if (a === 0 && (e.series = [await
|
|
619
|
+
if (a === 0 && (e.series = [await z({ config: e, layerInfo: s })]), e.series.forEach((n) => {
|
|
627
620
|
n.x = t, n.query !== void 0 && (n.query.groupByFieldsForStatistics = [t]);
|
|
628
621
|
}), y) {
|
|
629
|
-
const n =
|
|
630
|
-
|
|
622
|
+
const n = j(i, t);
|
|
623
|
+
Y(e, 0, n);
|
|
631
624
|
}
|
|
632
625
|
if (s !== void 0) {
|
|
633
626
|
if (o) {
|
|
634
|
-
const u = await
|
|
627
|
+
const u = await _({
|
|
635
628
|
config: e,
|
|
636
629
|
layerInfo: s,
|
|
637
630
|
numericFields: N(e),
|
|
638
631
|
aggregationType: q(e)
|
|
639
632
|
});
|
|
640
|
-
|
|
633
|
+
Y(e, 1, u);
|
|
641
634
|
}
|
|
642
|
-
e.title && c && (e.title.content.text = await
|
|
635
|
+
e.title && c && (e.title.content.text = await Z(e, s)), ue(e, s);
|
|
643
636
|
const n = N(e);
|
|
644
|
-
await
|
|
637
|
+
await xt(n, e, s);
|
|
645
638
|
}
|
|
646
|
-
if (
|
|
647
|
-
|
|
648
|
-
const n = l?.type ===
|
|
649
|
-
|
|
639
|
+
if (f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 }), d || x) {
|
|
640
|
+
f({ config: e, value: null, axisIndex: 0, isMax: !1 }), f({ config: e, value: null, axisIndex: 0, isMax: !0 }), ve(0, e);
|
|
641
|
+
const n = l?.type === h.DateAxisFormat ? me.Null : me.Interpolate;
|
|
642
|
+
ut(n, e);
|
|
650
643
|
}
|
|
651
644
|
};
|
|
652
|
-
function
|
|
645
|
+
function ue(t, e) {
|
|
653
646
|
let s = !1;
|
|
654
647
|
const i = q(t), a = N(t);
|
|
655
648
|
i === F.Count ? s = !0 : i === F.NoAggregation && (s = a.every((o) => {
|
|
656
649
|
const y = e.layerFieldsInfo.find((l) => l.name === o);
|
|
657
|
-
return y !== void 0 ?
|
|
658
|
-
})),
|
|
659
|
-
const r = t.series.some((o) => B(o)), c = t.series.some((o) =>
|
|
650
|
+
return y !== void 0 ? ge(y) : !1;
|
|
651
|
+
})), pe(t, 1, s);
|
|
652
|
+
const r = t.series.some((o) => B(o)), c = t.series.some((o) => C(o));
|
|
660
653
|
if (r || c) {
|
|
661
|
-
const o = E(t), y = e.layerFieldsInfo.find((
|
|
662
|
-
|
|
654
|
+
const o = E(t), y = e.layerFieldsInfo.find((p) => p.name === o), l = y !== void 0 && ge(y);
|
|
655
|
+
pe(t, 0, l);
|
|
663
656
|
}
|
|
664
657
|
}
|
|
665
|
-
const
|
|
658
|
+
const gt = (t) => {
|
|
666
659
|
let e = S.xAxisAsc;
|
|
667
|
-
const s = t.orderOptions?.data?.orderType ??
|
|
668
|
-
return s ===
|
|
660
|
+
const s = t.orderOptions?.data?.orderType ?? I.Category, i = t.orderOptions?.data?.orderBy ?? D.Ascending;
|
|
661
|
+
return s === I.Category && Array.isArray(i) ? e = S.customSort : s === I.Category ? i === D.Ascending ? e = S.xAxisAsc : e = S.xAxisDesc : i === D.Ascending ? e = S.yAxisAsc : e = S.yAxisDesc, e;
|
|
669
662
|
};
|
|
670
|
-
async function
|
|
663
|
+
async function pt(t) {
|
|
671
664
|
const { numericFields: e, aggregationType: s, config: i, layerInfo: a } = t;
|
|
672
665
|
let r = !1;
|
|
673
|
-
const c = await
|
|
666
|
+
const c = await z({
|
|
674
667
|
config: i,
|
|
675
668
|
layerInfo: a,
|
|
676
669
|
seriesIndex: 0
|
|
677
|
-
}), o = await
|
|
678
|
-
|
|
679
|
-
|
|
670
|
+
}), o = await le(
|
|
671
|
+
oe(document.documentElement).t9nLocale,
|
|
672
|
+
ne("./assets/common/t9n"),
|
|
680
673
|
"messages."
|
|
681
|
-
), y =
|
|
674
|
+
), y = de({
|
|
682
675
|
config: i,
|
|
683
676
|
numericFields: e,
|
|
684
677
|
aggregationType: s,
|
|
@@ -687,60 +680,60 @@ async function At(t) {
|
|
|
687
680
|
...c,
|
|
688
681
|
id: `series_${Date.now()}`,
|
|
689
682
|
name: o.axisLabels.values,
|
|
690
|
-
x:
|
|
683
|
+
x: R,
|
|
691
684
|
y
|
|
692
|
-
},
|
|
693
|
-
for (const
|
|
694
|
-
|
|
695
|
-
onStatisticField:
|
|
696
|
-
outStatisticFieldName: `${
|
|
685
|
+
}, p = [];
|
|
686
|
+
for (const x of e)
|
|
687
|
+
p.push({
|
|
688
|
+
onStatisticField: x,
|
|
689
|
+
outStatisticFieldName: `${x}_0`.toUpperCase(),
|
|
697
690
|
statisticType: s
|
|
698
691
|
});
|
|
699
|
-
l.query = { outStatistics:
|
|
692
|
+
l.query = { outStatistics: p };
|
|
700
693
|
const d = i.series[0];
|
|
701
|
-
return d !== void 0 && (l.id = d.id, i.colorMatch || (w(d) && w(l) ? l.fillSymbol = d.fillSymbol : (B(l) && B(d) ||
|
|
694
|
+
return d !== void 0 && (l.id = d.id, i.colorMatch || (w(d) && w(l) ? l.fillSymbol = d.fillSymbol : (B(l) && B(d) || C(l) && C(d)) && (l.lineSymbol = d.lineSymbol, l.markerSymbol = d.markerSymbol), r = !0), l.id = d.id, d.name !== c.name && (l.name = d.name)), i.series.length === 1 && !i.colorMatch && (w(l) ? l.fillSymbol = i.series[0].fillSymbol : (B(l) || C(l)) && (l.lineSymbol = i.series[0].lineSymbol, l.markerSymbol = i.series[0].markerSymbol), r = !0), i.colorMatch = !r, [l];
|
|
702
695
|
}
|
|
703
|
-
async function
|
|
696
|
+
async function Ce(t) {
|
|
704
697
|
const { numericFields: e, aggregationType: s, config: i, layerInfo: a } = t, { layerFieldsInfo: r, objectIdField: c } = a, o = [];
|
|
705
698
|
let y = !1;
|
|
706
699
|
for (let l = 0; l < e.length; l += 1) {
|
|
707
|
-
const
|
|
700
|
+
const p = await z({
|
|
708
701
|
config: i,
|
|
709
702
|
layerInfo: a,
|
|
710
703
|
seriesIndex: l
|
|
711
|
-
}), d =
|
|
704
|
+
}), d = de({
|
|
712
705
|
config: i,
|
|
713
706
|
numericFields: e,
|
|
714
707
|
aggregationType: s,
|
|
715
708
|
layer: a.layer,
|
|
716
709
|
numericFieldIndex: l
|
|
717
|
-
}).name,
|
|
710
|
+
}).name, x = e[l];
|
|
718
711
|
let n = {
|
|
719
|
-
...
|
|
712
|
+
...p,
|
|
720
713
|
query: {
|
|
721
|
-
...
|
|
714
|
+
...p.query
|
|
722
715
|
}
|
|
723
716
|
};
|
|
724
|
-
|
|
717
|
+
x !== c && (n = {
|
|
725
718
|
...n,
|
|
726
|
-
id:
|
|
727
|
-
name:
|
|
719
|
+
id: x,
|
|
720
|
+
name: j(r, x)
|
|
728
721
|
});
|
|
729
|
-
let u =
|
|
722
|
+
let u = x;
|
|
730
723
|
n.query !== void 0 && (s !== F.NoAggregation ? (u = d, n.query.outStatistics = [
|
|
731
724
|
{
|
|
732
|
-
...
|
|
733
|
-
onStatisticField:
|
|
725
|
+
...p.query?.outStatistics?.[0] ?? {},
|
|
726
|
+
onStatisticField: x,
|
|
734
727
|
outStatisticFieldName: d,
|
|
735
728
|
statisticType: s
|
|
736
729
|
}
|
|
737
730
|
]) : delete n.query.outStatistics), n.y = u;
|
|
738
731
|
const m = i.series.find(
|
|
739
|
-
(g) => g.query?.outStatistics?.[0]?.onStatisticField ===
|
|
732
|
+
(g) => g.query?.outStatistics?.[0]?.onStatisticField === x && g.query.where === void 0
|
|
740
733
|
);
|
|
741
734
|
if (m !== void 0 && typeof m.y == "string" && m.y.trim() !== "") {
|
|
742
|
-
i.colorMatch || (w(n) && w(m) ? n.fillSymbol = m.fillSymbol : (B(n) && B(m) ||
|
|
743
|
-
const g = await
|
|
735
|
+
i.colorMatch || (w(n) && w(m) ? n.fillSymbol = m.fillSymbol : (B(n) && B(m) || C(n) && C(m)) && (n.lineSymbol = m.lineSymbol, n.markerSymbol = m.markerSymbol), y = !0);
|
|
736
|
+
const g = await z({
|
|
744
737
|
config: i,
|
|
745
738
|
layerInfo: a,
|
|
746
739
|
seriesIndex: l
|
|
@@ -749,21 +742,21 @@ async function Oe(t) {
|
|
|
749
742
|
}
|
|
750
743
|
o.push(n);
|
|
751
744
|
}
|
|
752
|
-
return i.series.length === 1 && o.length === 1 && !i.colorMatch && (w(i.series[0]) && w(o[0]) ? o[0].fillSymbol = i.series[0].fillSymbol : (B(i.series[0]) && B(o[0]) ||
|
|
745
|
+
return i.series.length === 1 && o.length === 1 && !i.colorMatch && (w(i.series[0]) && w(o[0]) ? o[0].fillSymbol = i.series[0].fillSymbol : (B(i.series[0]) && B(o[0]) || C(i.series[0]) && C(o[0])) && (o[0].lineSymbol = i.series[0].lineSymbol, o[0].markerSymbol = i.series[0].markerSymbol), y = !0), i.colorMatch = !y, o;
|
|
753
746
|
}
|
|
754
|
-
async function
|
|
755
|
-
const { splitByField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r } = t, { layer: c, layerFieldsInfo: o } = r, { fetchNullValues: y } = a?.series?.[0]?.query ?? {}, l = E(a),
|
|
747
|
+
async function ft(t) {
|
|
748
|
+
const { splitByField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r } = t, { layer: c, layerFieldsInfo: o } = r, { fetchNullValues: y } = a?.series?.[0]?.query ?? {}, l = E(a), p = l !== R ? l : void 0, { categoriesArray: d, splitByFieldType: x, numericalField: n } = await yt({
|
|
756
749
|
config: a,
|
|
757
750
|
layer: c,
|
|
758
751
|
layerFieldsInfo: o,
|
|
759
|
-
xAxisField:
|
|
752
|
+
xAxisField: p,
|
|
760
753
|
aggregationFields: s,
|
|
761
754
|
splitByField: e,
|
|
762
755
|
fetchNullValues: y
|
|
763
756
|
});
|
|
764
757
|
let u = [], m = !1;
|
|
765
758
|
if (d.length === 0) {
|
|
766
|
-
u = await
|
|
759
|
+
u = await Ce({
|
|
767
760
|
numericFields: s,
|
|
768
761
|
aggregationType: i,
|
|
769
762
|
config: a,
|
|
@@ -773,30 +766,30 @@ async function ht(t) {
|
|
|
773
766
|
g.query && (g.query.where = `${e}=''`);
|
|
774
767
|
} else
|
|
775
768
|
for (let g = 0; g < d.length; g += 1) {
|
|
776
|
-
const b = d[g], A =
|
|
769
|
+
const b = d[g], A = de({
|
|
777
770
|
config: a,
|
|
778
771
|
numericFields: s,
|
|
779
772
|
aggregationType: i,
|
|
780
773
|
layer: r.layer,
|
|
781
774
|
seriesIndex: g,
|
|
782
775
|
splitByField: e
|
|
783
|
-
}).name, T = await
|
|
776
|
+
}).name, T = await z({
|
|
784
777
|
config: a,
|
|
785
778
|
layerInfo: r,
|
|
786
779
|
seriesIndex: g
|
|
787
|
-
}),
|
|
780
|
+
}), X = {
|
|
788
781
|
fieldName: e,
|
|
789
782
|
fieldValueToMatch: b ?? "",
|
|
790
|
-
subtypeInfo:
|
|
783
|
+
subtypeInfo: se(r.layer),
|
|
791
784
|
fieldList: r.layerFieldsInfo
|
|
792
|
-
},
|
|
785
|
+
}, Le = ie(X), ee = `${b}`, v = {
|
|
793
786
|
...T,
|
|
794
|
-
id:
|
|
795
|
-
name:
|
|
787
|
+
id: ee,
|
|
788
|
+
name: Le ?? ee,
|
|
796
789
|
y: A,
|
|
797
790
|
query: {
|
|
798
791
|
...T.query,
|
|
799
|
-
where: `${e}=${
|
|
792
|
+
where: `${e}=${x === Se.String && b !== null ? `'${b}'` : b}`,
|
|
800
793
|
outStatistics: i !== F.NoAggregation ? [
|
|
801
794
|
{
|
|
802
795
|
...T.query?.outStatistics?.[0] ?? {},
|
|
@@ -807,192 +800,181 @@ async function ht(t) {
|
|
|
807
800
|
] : void 0
|
|
808
801
|
}
|
|
809
802
|
};
|
|
810
|
-
i === F.NoAggregation && (
|
|
811
|
-
const
|
|
812
|
-
(Ie) => String(
|
|
803
|
+
i === F.NoAggregation && (v.query !== void 0 && (delete v.query.outStatistics, delete v.query.groupByFieldsForStatistics), v.y = n);
|
|
804
|
+
const $ = a.series.find(
|
|
805
|
+
(Ie) => String(Be(Ie)).trim().replace(/'/gu, "") === ee
|
|
813
806
|
);
|
|
814
|
-
|
|
807
|
+
$ !== void 0 && (a.colorMatch || (w(v) && w($) ? v.fillSymbol = $.fillSymbol : (B(v) && B($) || C(v) && C($)) && (v.lineSymbol = $.lineSymbol, v.markerSymbol = $.markerSymbol), m = !0), v.id = $.id, v.name = $.name), u.push(v);
|
|
815
808
|
}
|
|
816
809
|
return a.colorMatch = !m, u;
|
|
817
810
|
}
|
|
818
|
-
const
|
|
811
|
+
const ye = async (t) => {
|
|
819
812
|
const { splitByField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r } = t, { x: c } = a.series[0], o = W(a.series);
|
|
820
|
-
e === "" || s.length > 1 ? c ===
|
|
813
|
+
e === "" || s.length > 1 ? c === R || c === void 0 || c.trim() === "" || o === P.BarAndLineFromFields ? a.series = await pt({
|
|
821
814
|
config: a,
|
|
822
815
|
layerInfo: r,
|
|
823
816
|
numericFields: s,
|
|
824
817
|
aggregationType: i
|
|
825
|
-
}) : a.series = await
|
|
818
|
+
}) : a.series = await Ce({
|
|
826
819
|
config: a,
|
|
827
820
|
layerInfo: r,
|
|
828
821
|
numericFields: s,
|
|
829
822
|
aggregationType: i
|
|
830
|
-
}) : a.series = await
|
|
823
|
+
}) : a.series = await ft({
|
|
831
824
|
config: a,
|
|
832
825
|
layerInfo: r,
|
|
833
826
|
splitByField: e,
|
|
834
827
|
numericFields: s,
|
|
835
828
|
aggregationType: i
|
|
836
829
|
});
|
|
837
|
-
},
|
|
838
|
-
const { config: e, seriesIndex: s, layerInfo: i, commonStrings: a } = t, r = e.series?.[s], c =
|
|
830
|
+
}, Ps = (t) => {
|
|
831
|
+
const { config: e, seriesIndex: s, layerInfo: i, commonStrings: a } = t, r = e.series?.[s], c = K(e);
|
|
839
832
|
let o;
|
|
840
|
-
if (W(e.series) ===
|
|
833
|
+
if (W(e.series) === P.BarAndLineFromFields)
|
|
841
834
|
o = a.axisLabels.values;
|
|
842
|
-
else if (
|
|
835
|
+
else if (we(c)) {
|
|
843
836
|
const l = r.query?.outStatistics?.[0]?.onStatisticField;
|
|
844
|
-
l !== void 0 && l !== i.objectIdField && (o =
|
|
837
|
+
l !== void 0 && l !== i.objectIdField && (o = j(i.layerFieldsInfo, l));
|
|
845
838
|
} else {
|
|
846
|
-
const l = String(
|
|
847
|
-
fieldName:
|
|
839
|
+
const l = String(Be(r)).trim().replace(/'/gu, ""), p = {
|
|
840
|
+
fieldName: K(e),
|
|
848
841
|
fieldValueToMatch: l ?? "",
|
|
849
|
-
subtypeInfo:
|
|
842
|
+
subtypeInfo: se(i.layer),
|
|
850
843
|
fieldList: i.layerFieldsInfo
|
|
851
844
|
};
|
|
852
|
-
o =
|
|
845
|
+
o = ie(p) ?? l;
|
|
853
846
|
}
|
|
854
847
|
return o ?? r.id;
|
|
855
|
-
},
|
|
848
|
+
}, Us = (t, e) => {
|
|
856
849
|
e.orderOptions ??= {};
|
|
857
850
|
const s = e.orderOptions?.data?.orderType;
|
|
858
|
-
|
|
859
|
-
orderType:
|
|
851
|
+
gt(e) === S.customSort && s === I.Category && (e.orderOptions.data = {
|
|
852
|
+
orderType: I.Category,
|
|
860
853
|
orderBy: [...t]
|
|
861
854
|
});
|
|
862
|
-
},
|
|
855
|
+
}, Rs = (t) => t.dataFilters, Ks = (t, e) => {
|
|
863
856
|
t !== void 0 ? e.dataFilters = t : delete e.dataFilters;
|
|
864
|
-
},
|
|
865
|
-
const s = E(t), i =
|
|
857
|
+
}, Ws = async (t, e) => {
|
|
858
|
+
const s = E(t), i = He(t)?.type, a = N(t), r = W(t.series);
|
|
866
859
|
let c = [];
|
|
867
|
-
return i ===
|
|
860
|
+
return i === h.CategoryAxisFormat && (r === P.BarAndLineFromFields || s === R ? c = a.map((o) => j(e?.layerFieldsInfo, o)) : s.trim() !== "" && s !== R && e !== void 0 && (c = await mt({
|
|
868
861
|
layerInfo: e,
|
|
869
862
|
config: t,
|
|
870
863
|
category: s
|
|
871
864
|
}))), c;
|
|
872
865
|
};
|
|
873
|
-
async function
|
|
874
|
-
const s = await
|
|
866
|
+
async function H(t, e) {
|
|
867
|
+
const s = await Z(t, e), i = st(t), a = re(t);
|
|
875
868
|
return s === i || a;
|
|
876
869
|
}
|
|
877
|
-
async function
|
|
878
|
-
const s = await
|
|
870
|
+
async function J(t, e) {
|
|
871
|
+
const s = await _({
|
|
879
872
|
config: t,
|
|
880
873
|
layerInfo: e,
|
|
881
874
|
numericFields: N(t),
|
|
882
875
|
aggregationType: q(t)
|
|
883
|
-
}), i =
|
|
876
|
+
}), i = ce(1, t), a = re(t);
|
|
884
877
|
return s === i || a;
|
|
885
878
|
}
|
|
886
|
-
async function
|
|
887
|
-
const s =
|
|
879
|
+
async function St(t, e) {
|
|
880
|
+
const s = j(e.layerFieldsInfo, E(t)), i = ce(0, t), a = re(t);
|
|
888
881
|
return s === i || a;
|
|
889
882
|
}
|
|
890
|
-
const
|
|
883
|
+
const Xs = (t, e) => {
|
|
891
884
|
e.series.forEach((s) => {
|
|
892
885
|
s.query && (s.query.fetchNullValues = t);
|
|
893
886
|
});
|
|
894
|
-
},
|
|
887
|
+
}, Ys = (t) => t.series.some((e) => e.query?.fetchNullValues), zs = (t) => (
|
|
895
888
|
// TODO: Look into split-by values gotchas cases once done
|
|
896
|
-
t.series.map((e) => String(
|
|
889
|
+
t.series.map((e) => String(ae({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "")
|
|
897
890
|
);
|
|
898
891
|
export {
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
892
|
+
it as $,
|
|
893
|
+
ct as A,
|
|
894
|
+
Os as B,
|
|
895
|
+
dt as C,
|
|
896
|
+
ut as D,
|
|
897
|
+
Ds as E,
|
|
898
|
+
Es as F,
|
|
899
|
+
xt as G,
|
|
900
|
+
ks as H,
|
|
901
|
+
js as I,
|
|
902
|
+
Rs as J,
|
|
903
|
+
Ks as K,
|
|
904
|
+
gt as L,
|
|
905
|
+
Ws as M,
|
|
906
|
+
ws as N,
|
|
907
|
+
Is as O,
|
|
908
|
+
Us as P,
|
|
909
|
+
ye as Q,
|
|
910
|
+
Z as R,
|
|
911
|
+
Ht as S,
|
|
912
|
+
Zt as T,
|
|
913
|
+
Gt as U,
|
|
914
|
+
Qt as V,
|
|
922
915
|
Jt as W,
|
|
923
916
|
es as X,
|
|
924
917
|
ts as Y,
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
ot as
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
Fe as p,
|
|
988
|
-
E as q,
|
|
989
|
-
q as r,
|
|
990
|
-
we as s,
|
|
991
|
-
N as t,
|
|
992
|
-
Z as u,
|
|
993
|
-
oi as v,
|
|
994
|
-
R as w,
|
|
995
|
-
yt as x,
|
|
996
|
-
De as y,
|
|
997
|
-
mt as z
|
|
918
|
+
ss as Z,
|
|
919
|
+
is as _,
|
|
920
|
+
ce as a,
|
|
921
|
+
as as a0,
|
|
922
|
+
rs as a1,
|
|
923
|
+
ls as a2,
|
|
924
|
+
Xs as a3,
|
|
925
|
+
Ys as a4,
|
|
926
|
+
gs as a5,
|
|
927
|
+
ps as a6,
|
|
928
|
+
fs as a7,
|
|
929
|
+
Ut as a8,
|
|
930
|
+
Rt as a9,
|
|
931
|
+
os as aa,
|
|
932
|
+
ns as ab,
|
|
933
|
+
cs as ac,
|
|
934
|
+
ds as ad,
|
|
935
|
+
us as ae,
|
|
936
|
+
ys as af,
|
|
937
|
+
Kt as ag,
|
|
938
|
+
ms as ah,
|
|
939
|
+
xs as ai,
|
|
940
|
+
vs as aj,
|
|
941
|
+
Wt as ak,
|
|
942
|
+
Xt as al,
|
|
943
|
+
Yt as am,
|
|
944
|
+
zt as an,
|
|
945
|
+
_t as ao,
|
|
946
|
+
Ss as ap,
|
|
947
|
+
Fs as aq,
|
|
948
|
+
bs as ar,
|
|
949
|
+
Ts as as,
|
|
950
|
+
As as at,
|
|
951
|
+
hs as au,
|
|
952
|
+
Bs as av,
|
|
953
|
+
Cs as aw,
|
|
954
|
+
Ls as ax,
|
|
955
|
+
_ as b,
|
|
956
|
+
de as c,
|
|
957
|
+
Ps as d,
|
|
958
|
+
$s as e,
|
|
959
|
+
qs as f,
|
|
960
|
+
st as g,
|
|
961
|
+
Je as h,
|
|
962
|
+
Ms as i,
|
|
963
|
+
He as j,
|
|
964
|
+
mt as k,
|
|
965
|
+
yt as l,
|
|
966
|
+
pe as m,
|
|
967
|
+
E as n,
|
|
968
|
+
q as o,
|
|
969
|
+
N as p,
|
|
970
|
+
zs as q,
|
|
971
|
+
K as r,
|
|
972
|
+
f as s,
|
|
973
|
+
lt as t,
|
|
974
|
+
Y as u,
|
|
975
|
+
ve as v,
|
|
976
|
+
ot as w,
|
|
977
|
+
Ns as x,
|
|
978
|
+
nt as y,
|
|
979
|
+
Vs as z
|
|
998
980
|
};
|