@arcgis/charts-components 4.34.0-next.122 → 4.34.0-next.123
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/{XEM3YOX5.js → 25N2XK7C.js} +2 -2
- package/dist/cdn/{DOTLFFFM.js → 2C3GBV5Z.js} +2 -2
- package/dist/cdn/{ZLLSD5E3.js → 2DSJGXSA.js} +2 -2
- package/dist/cdn/{OJZ2Z7LH.js → 2EXTJNEO.js} +2 -2
- package/dist/cdn/{ALKOKI5U.js → 2HB45LR7.js} +2 -2
- package/dist/cdn/{6Q2BHUFY.js → 2UDT7N6Y.js} +1 -1
- package/dist/cdn/{GCI3VP5S.js → 3GSJREKB.js} +2 -2
- package/dist/cdn/{UWLB7CYA.js → 3H3KMVUP.js} +2 -2
- package/dist/cdn/{76QM3UDG.js → 3HL4UIWD.js} +1 -1
- package/dist/cdn/{63MV5BLU.js → 3K5S5OBT.js} +2 -2
- package/dist/cdn/{X6I63URH.js → 4BBPHLI7.js} +1 -1
- package/dist/cdn/{45IFF25K.js → 4DEGDIUZ.js} +2 -2
- package/dist/cdn/{XVHM6SUI.js → 4JLCKPBH.js} +2 -2
- package/dist/cdn/{GD3KC5R5.js → 4LNOTRYZ.js} +2 -2
- package/dist/cdn/{PEOTF3AH.js → 4VSO7PQK.js} +2 -2
- package/dist/cdn/{TERYY3XD.js → 55DQYGPZ.js} +2 -2
- package/dist/cdn/{L2ASDABX.js → 565MOFIW.js} +2 -2
- package/dist/cdn/{4RUEZDDF.js → 56OCN7CZ.js} +2 -2
- package/dist/cdn/{FCSYQ35A.js → 5DGG4IE5.js} +2 -2
- package/dist/cdn/{CA2S5CP6.js → 5H4XBWGD.js} +2 -2
- package/dist/cdn/{J24U43WW.js → 5KCRC5UT.js} +2 -2
- package/dist/cdn/{C7SCTAND.js → 5Q3WOEND.js} +2 -2
- package/dist/cdn/{5A2DLIK5.js → 5VW3OGA6.js} +2 -2
- package/dist/cdn/{NLC2CUGE.js → 6E7X2YXP.js} +2 -2
- package/dist/cdn/{LZ2C5QLC.js → 6GEGDGV5.js} +2 -2
- package/dist/cdn/{7NXL7K3F.js → 6UBH47HY.js} +2 -2
- package/dist/cdn/{JIUILOUR.js → 6WNQT7VH.js} +2 -2
- package/dist/cdn/{5DAZHGX4.js → 743V5TGR.js} +2 -2
- package/dist/cdn/{RWZC63K6.js → 77KV5X3C.js} +2 -2
- package/dist/cdn/{JWMJD2RT.js → 7BFJHYHT.js} +2 -2
- package/dist/cdn/7FDYYIEN.js +56 -0
- package/dist/cdn/{NSTPSDGW.js → 7FMW36JK.js} +2 -2
- package/dist/cdn/{VKO3AYIX.js → 7GMN6GQB.js} +2 -2
- package/dist/cdn/{ACWOF6GT.js → 7GTIUPQD.js} +2 -2
- package/dist/cdn/{LTKO6VPL.js → 7GUBMSHM.js} +2 -2
- package/dist/cdn/{U2LXSROY.js → 7GXVX6P4.js} +2 -2
- package/dist/cdn/{LQ4YMC4P.js → 7HGZ6PA2.js} +1 -1
- package/dist/cdn/{SDFSXJ75.js → 7NXEV7DR.js} +2 -2
- package/dist/cdn/{32K34PH2.js → 7PUYLCGH.js} +2 -2
- package/dist/cdn/{KQK3EM7R.js → 7WAVUDSX.js} +2 -2
- package/dist/cdn/{7IOQVA2H.js → 7WMTLEC4.js} +2 -2
- package/dist/cdn/{FYYLIOAJ.js → 7YQT3W3J.js} +2 -2
- package/dist/cdn/{DISRAHVH.js → AHXGYSM5.js} +2 -2
- package/dist/cdn/{Y2WCGWMW.js → AVCM6M2F.js} +2 -2
- package/dist/cdn/{WOQDHL5A.js → AX4V4MPV.js} +2 -2
- package/dist/cdn/{X5MAUB7N.js → AY7JW3E7.js} +2 -2
- package/dist/cdn/{ALLLL2J7.js → B4J46YVX.js} +2 -2
- package/dist/cdn/{MZYDUYMN.js → B6F37Y6W.js} +2 -2
- package/dist/cdn/{AJ2BYOVQ.js → BDZFAXUJ.js} +2 -2
- package/dist/cdn/{D2LVBW7B.js → BIN2HJ5A.js} +2 -2
- package/dist/cdn/{MFNA5VTM.js → BJQFSA35.js} +2 -2
- package/dist/cdn/{3SWFYXMD.js → BQHCNQ3T.js} +2 -2
- package/dist/cdn/{DOQQMKTB.js → BR3JPQXV.js} +2 -2
- package/dist/cdn/{5Q7DOKWN.js → C2DHDZL5.js} +2 -2
- package/dist/cdn/{SFECXVYK.js → CCWZ62HP.js} +2 -2
- package/dist/cdn/{OR4ASVN7.js → CDE6QOTO.js} +2 -2
- package/dist/cdn/{BRV7UAX4.js → CGIPNOCG.js} +2 -2
- package/dist/cdn/CXBSXK2J.js +4 -0
- package/dist/cdn/{PKJOMO2E.js → CZRHM6YK.js} +5 -5
- package/dist/cdn/{SL6UPMSU.js → DDWOB65W.js} +2 -2
- package/dist/cdn/{4PWMRJFY.js → DFXAFILA.js} +2 -2
- package/dist/cdn/{VDHDUZ5J.js → DLNMR35H.js} +2 -2
- package/dist/cdn/{T6MUXZY4.js → DNJNUUBW.js} +2 -2
- package/dist/cdn/{7PWFQ6MP.js → DW3TVLRW.js} +2 -2
- package/dist/cdn/{VMBMEKZ2.js → E53RT4AR.js} +2 -2
- package/dist/cdn/{WMY54IXS.js → EFOGGONR.js} +2 -2
- package/dist/cdn/{SH75DPJV.js → F3I5UUOP.js} +2 -2
- package/dist/cdn/{IEJI4QAP.js → F3JFGL6X.js} +2 -2
- package/dist/cdn/{I6PPUEVA.js → FOBZIZI2.js} +2 -2
- package/dist/cdn/{F5BKOYQ7.js → FUR3INSR.js} +2 -2
- package/dist/cdn/{HLQHTV7W.js → G6YIY2O4.js} +2 -2
- package/dist/cdn/{2672INSK.js → GC6NNQP4.js} +2 -2
- package/dist/cdn/{DAY47WP4.js → HIQRVMJE.js} +2 -2
- package/dist/cdn/{6SKWJHW5.js → HMZHZ6PO.js} +2 -2
- package/dist/cdn/{GBCAIC5M.js → HYZPX44W.js} +2 -2
- package/dist/cdn/{MRGAW4EI.js → I4WNCVXL.js} +2 -2
- package/dist/cdn/{FP2H754X.js → I55J7A2R.js} +2 -2
- package/dist/cdn/{2DLVQW7J.js → IKMC42V4.js} +2 -2
- package/dist/cdn/{MK4EUG7C.js → ILPQY62F.js} +2 -2
- package/dist/cdn/{K4KUSKWD.js → IMAP3EGB.js} +2 -2
- package/dist/cdn/{M24N44HN.js → J3L6GXI3.js} +2 -2
- package/dist/cdn/{DSBFRMYE.js → J3SAHM3P.js} +2 -2
- package/dist/cdn/{M5IX2VCQ.js → J6Q67BBV.js} +2 -2
- package/dist/cdn/{PJX5UVUG.js → JNLLYZ2O.js} +2 -2
- package/dist/cdn/{2IQLCJFZ.js → JOONXIVB.js} +2 -2
- package/dist/cdn/JOQ6WBLO.js +4 -0
- package/dist/cdn/{4FMDCBAN.js → JXBS4OXQ.js} +2 -2
- package/dist/cdn/{K743DZJ6.js → K2QFYVUB.js} +2 -2
- package/dist/cdn/{CF5OEFDU.js → KG7MVX54.js} +2 -2
- package/dist/cdn/{VDRWFGDX.js → KZLTAPSO.js} +2 -2
- package/dist/cdn/{GL3CNG2A.js → L5HYRSTO.js} +2 -2
- package/dist/cdn/{RZRLJVAI.js → L7CSVQ57.js} +2 -2
- package/dist/cdn/{QEDOYF36.js → LDNVCKLL.js} +2 -2
- package/dist/cdn/{ZF5Y5CMJ.js → LG73KJML.js} +2 -2
- package/dist/cdn/{SAHNKD5S.js → LOPDFWII.js} +2 -2
- package/dist/cdn/{45YHTZ34.js → M77U74UG.js} +2 -2
- package/dist/cdn/{CVYHUZHN.js → MDTL2JR2.js} +1 -1
- package/dist/cdn/{4X2MUR4Z.js → MJINICMJ.js} +2 -2
- package/dist/cdn/{PESRR2BB.js → MQUN5RN4.js} +2 -2
- package/dist/cdn/{QD4CENNB.js → MSCRPY2M.js} +2 -2
- package/dist/cdn/{67D77ZDV.js → MTVMUYMJ.js} +2 -2
- package/dist/cdn/{7JBS25TV.js → MUE7QXB4.js} +2 -2
- package/dist/cdn/{ZNNAAKG4.js → NDB3FIXX.js} +2 -2
- package/dist/cdn/{WAKYC7UD.js → NU35QTZL.js} +2 -2
- package/dist/cdn/{N4L5BULO.js → O5GLAYBS.js} +2 -2
- package/dist/cdn/{NTBHJFZJ.js → OY3FKLQO.js} +2 -2
- package/dist/cdn/{MJ2FMJUC.js → PDNFIR6Q.js} +2 -2
- package/dist/cdn/{UAXLKVDK.js → PPVONJBU.js} +2 -2
- package/dist/cdn/{F2ZEI3E7.js → PQYCYEZL.js} +2 -2
- package/dist/cdn/{D2A3Q4MT.js → PTRKFJ47.js} +2 -2
- package/dist/cdn/{W5ZVTEVZ.js → PVHI3EBP.js} +2 -2
- package/dist/cdn/{PSLGCF7R.js → PXYTGXT5.js} +2 -2
- package/dist/cdn/{MDZDQXML.js → QGEE6Z5Z.js} +2 -2
- package/dist/cdn/{LIMBYKOL.js → QH4QD7AF.js} +2 -2
- package/dist/cdn/{NAUTZMEV.js → QOCUXLEJ.js} +2 -2
- package/dist/cdn/{2F237A2Z.js → QQXUG23Y.js} +2 -2
- package/dist/cdn/{L5MN4UZK.js → QS2OQX4S.js} +2 -2
- package/dist/cdn/{R722WAN7.js → QUCDP454.js} +2 -2
- package/dist/cdn/{RR3UISMW.js → QZSCAUKX.js} +2 -2
- package/dist/cdn/RBPQBOG4.js +4 -0
- package/dist/cdn/{6IYBSME7.js → ROZF7EIA.js} +2 -2
- package/dist/cdn/{KJ26EFCG.js → RQPOBAOX.js} +2 -2
- package/dist/cdn/{CCW3INTR.js → RYS4Q5IE.js} +2 -2
- package/dist/cdn/{D2XTGP6N.js → S264JYUQ.js} +2 -2
- package/dist/cdn/{LGPHWWR7.js → S3UQQEFZ.js} +2 -2
- package/dist/cdn/{4B52EQDR.js → S76LBKP3.js} +2 -2
- package/dist/cdn/{LGEGNQPN.js → SMTBGJMS.js} +2 -2
- package/dist/cdn/{N2WQU7AQ.js → SQ3JD2UB.js} +2 -2
- package/dist/cdn/{PX2VXQME.js → SRPHEQQQ.js} +2 -2
- package/dist/cdn/{IVPMI5NU.js → STDJCLCV.js} +2 -2
- package/dist/cdn/{6GJJNR3B.js → SVEBGTYG.js} +2 -2
- package/dist/cdn/{2VAIPNF4.js → T3GJMKTA.js} +2 -2
- package/dist/cdn/{SA3V4R5B.js → T43TNC6H.js} +2 -2
- package/dist/cdn/{LFRO22VW.js → T566GPB3.js} +1 -1
- package/dist/cdn/{RSJOT4LY.js → TFROKX36.js} +2 -2
- package/dist/cdn/{QXBKBO7D.js → TKP4SDGV.js} +2 -2
- package/dist/cdn/{PBUSDJIU.js → TM3I53QF.js} +2 -2
- package/dist/cdn/{T3EUQUBO.js → TMXMZLGX.js} +2 -2
- package/dist/cdn/{HQ43Z4BM.js → TN3B4YN3.js} +2 -2
- package/dist/cdn/{KXJBPKZX.js → TPAOZXIZ.js} +2 -2
- package/dist/cdn/{YJ6IFKDN.js → TVKLFZV5.js} +2 -2
- package/dist/cdn/{TDDT4ZQ5.js → U7OF5277.js} +1 -1
- package/dist/cdn/{DTLEQJNW.js → V7UOWD7E.js} +2 -2
- package/dist/cdn/{FEPG7QNH.js → VAPJHUGO.js} +2 -2
- package/dist/cdn/{6JBQSEGB.js → VJ5YJUDE.js} +2 -2
- package/dist/cdn/{X2QN242S.js → VPTUFDR6.js} +2 -2
- package/dist/cdn/{N43SLYEM.js → VQ2UXTI3.js} +2 -2
- package/dist/cdn/{JQPOY7IZ.js → VXACP4UZ.js} +2 -2
- package/dist/cdn/{VARACV2L.js → W2H64VYV.js} +2 -2
- package/dist/cdn/{KPCGXDEL.js → W5GC2P33.js} +2 -2
- package/dist/cdn/{J5HDVGXS.js → W6OLAJCB.js} +2 -2
- package/dist/cdn/{F6GCM6UG.js → WD5GNKSQ.js} +2 -2
- package/dist/cdn/{ZFIO3OCJ.js → WMPAOBST.js} +2 -2
- package/dist/cdn/{RZJG2BEK.js → WQ3GXYHC.js} +2 -2
- package/dist/cdn/{VA4ST24E.js → X27U64ED.js} +2 -2
- package/dist/cdn/{WO2CBYYX.js → XAJ2AY3D.js} +2 -2
- package/dist/cdn/{PDAMLR3W.js → XC346EUN.js} +2 -2
- package/dist/cdn/{S2PV7RPR.js → XQ2DOUKC.js} +2 -2
- package/dist/cdn/{NKXZ7MDB.js → XUNSBFAI.js} +2 -2
- package/dist/cdn/{TIEAGYHB.js → XUUQ5JNK.js} +2 -2
- package/dist/cdn/{SJK5B7Z7.js → XXE3OIAL.js} +2 -2
- package/dist/cdn/{XZRHPMWQ.js → Y2SXV6M7.js} +2 -2
- package/dist/cdn/{QUCVJVUU.js → Y64DOLL4.js} +2 -2
- package/dist/cdn/{AYIL5QD6.js → Y65SKR5F.js} +2 -2
- package/dist/cdn/{YYYSOCOU.js → YJFBJQPC.js} +2 -2
- package/dist/cdn/{EBBFHHU3.js → YJV72RFD.js} +2 -2
- package/dist/cdn/{GNKF2RXV.js → YL5Q6ATL.js} +2 -2
- package/dist/cdn/{XDAFY5V3.js → YR5FIELG.js} +2 -2
- package/dist/cdn/{Z4K2UHUG.js → YSVASPIO.js} +2 -2
- package/dist/cdn/{J4HARHZC.js → YWJYHG22.js} +2 -2
- package/dist/cdn/{PZ7Z4CJJ.js → YXUDZO7O.js} +2 -2
- package/dist/cdn/{YQPQE2GH.js → YYUQGGZQ.js} +2 -2
- package/dist/cdn/{B64NGO4A.js → ZS4IWUMC.js} +2 -2
- package/dist/cdn/{J35FNZNH.js → ZWTZYUVE.js} +2 -2
- package/dist/cdn/{VPQ77PIT.js → ZYXFETBZ.js} +2 -2
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/interfaces.d.ts +2 -1
- package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +2 -1
- package/dist/chart-rendering/common/tooltips/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/index.d.ts +61 -0
- package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/interfaces.d.ts +5 -0
- package/dist/chart-rendering/next/chart-library-elements/tooltips/interfaces.d.ts +4 -4
- package/dist/chart-rendering/next/defaults/index.d.ts +1 -0
- package/dist/chunks/action-bar-utils.js +2 -2
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +9 -9
- 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 +12 -12
- package/dist/chunks/box-plot-model.js +12 -12
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +2 -2
- package/dist/chunks/combo-bar-line-chart-model.js +2 -2
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +2 -2
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +2 -2
- package/dist/chunks/histogram-data.js +6 -6
- package/dist/chunks/histogram-model.js +2 -2
- package/dist/chunks/index.js +5959 -432
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +583 -560
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/line-chart-model.js +10 -10
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +2 -2
- package/dist/chunks/model-with-multi-axes.js +15 -15
- package/dist/chunks/model-with-rotation.js +2 -2
- package/dist/chunks/pie-chart-data.js +12 -12
- package/dist/chunks/pie-chart-model.js +2 -2
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +8 -8
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +10 -10
- package/dist/chunks/serial-chart-model.js +2 -2
- package/dist/chunks/series-types.js +32 -29
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/setup-utils.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +2 -2
- package/dist/components/arcgis-chart/customElement.js +9766 -15122
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- 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 +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/json-schema/index.d.ts +9 -0
- package/dist/loader.js +1 -1
- package/dist/model/interfaces/common.d.ts +1 -1
- package/dist/spec/chart-object-literals.d.ts +4 -1
- package/dist/spec/web-chart.d.ts +5 -2
- package/dist/utils/chart-config/converter/index.d.ts +28 -11
- package/dist/utils/layer/query-parser/index.d.ts +4 -0
- package/dist/utils/localization/interfaces.d.ts +10 -0
- package/dist/utils/misc/index.d.ts +2 -2
- package/package.json +4 -4
- package/dist/cdn/4GNQJHDY.js +0 -4
- package/dist/cdn/DBHTC6DB.js +0 -58
- package/dist/cdn/IZG544JS.js +0 -4
- package/dist/cdn/OY4N4YU4.js +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as F, q as we, c as Te, R as E, y as tt, j as
|
|
1
|
+
import { d as F, q as we, c as Te, R as E, y as tt, j as re, w as Fe, W as c, b as Ae, u as mi, e as St, p as bi, l as k, h as ke, S as gi, g as Si, x as vt, z as wt, F as N, s as de, G as vi, E as ye, a as D, m as X, D as He } from "./series-types.js";
|
|
2
2
|
import { substitute as V } from "@arcgis/core/intl.js";
|
|
3
3
|
import wi from "ajv";
|
|
4
|
-
import { g as
|
|
5
|
-
import { fetchT9nStringsBundle as
|
|
4
|
+
import { g as O } from "./runtime.js";
|
|
5
|
+
import { fetchT9nStringsBundle as $, getElementLocale as B, supportedLocales as Ii } from "@arcgis/toolkit/intl";
|
|
6
6
|
import { extent as pt } from "d3-array";
|
|
7
7
|
import { isEqual as ct, isNil as xi } from "lodash-es";
|
|
8
8
|
import * as It from "@arcgis/core/geometry/support/jsonUtils.js";
|
|
@@ -21,8 +21,8 @@ import xt from "@arcgis/core/time/TimeExtent.js";
|
|
|
21
21
|
import * as Ct from "@arcgis/core/core/promiseUtils.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
|
-
const
|
|
24
|
+
v4.34.0-next.123 */
|
|
25
|
+
const ne = "24.1.0", it = "arcgis_charts_pie_from_fields_name", Tt = "arcgis_charts_pie_from_fields_value", Pi = "arcgis_charts_bar_line_from_fields_name", ji = "arcgis_charts_bar_line_from_fields_value", K = {
|
|
26
26
|
Mean: "Mean",
|
|
27
27
|
Median: "Median",
|
|
28
28
|
StdDev: "Standard Deviation",
|
|
@@ -45,7 +45,7 @@ const re = "24.1.0", it = "arcgis_charts_pie_from_fields_name", Tt = "arcgis_cha
|
|
|
45
45
|
LegendTitle: "legendTitle",
|
|
46
46
|
LegendText: "legendText",
|
|
47
47
|
DescriptionText: "descriptionText"
|
|
48
|
-
}, ya = 32, ki = "arcgis_charts_features_extent",
|
|
48
|
+
}, ya = 32, ki = "arcgis_charts_features_extent", pe = {
|
|
49
49
|
maxRecordCountFactor: 5,
|
|
50
50
|
maxParallelRequests: 4,
|
|
51
51
|
maxRecords: 2e3,
|
|
@@ -84,8 +84,8 @@ const re = "24.1.0", it = "arcgis_charts_pie_from_fields_name", Tt = "arcgis_cha
|
|
|
84
84
|
[156, 156, 156, 255]
|
|
85
85
|
];
|
|
86
86
|
function Q(e) {
|
|
87
|
-
const { colorIndex: t, opacity: i, histogramOverlays: r } = e, n = Math.max(0, t ?? 0), a = [...r === !0 ? Mi : Ni], [s, o,
|
|
88
|
-
return [s, o,
|
|
87
|
+
const { colorIndex: t, opacity: i, histogramOverlays: r } = e, n = Math.max(0, t ?? 0), a = [...r === !0 ? Mi : Ni], [s, o, l, p] = a[n % a.length], d = i !== void 0 ? i * 255 : p;
|
|
88
|
+
return [s, o, l, d];
|
|
89
89
|
}
|
|
90
90
|
function Lt(e) {
|
|
91
91
|
return [0, 0, 0, (e ?? G) * 255];
|
|
@@ -145,7 +145,7 @@ function Dt(e = "", t = C(), i) {
|
|
|
145
145
|
horizontalAlignment: r
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function x(e) {
|
|
149
149
|
const { text: t, visible: i, font: r, type: n } = e ?? {
|
|
150
150
|
text: "",
|
|
151
151
|
visible: !0,
|
|
@@ -214,13 +214,13 @@ function Ia() {
|
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
216
|
function ft(e = "Category Axis") {
|
|
217
|
-
const t =
|
|
217
|
+
const t = x({
|
|
218
218
|
text: e,
|
|
219
219
|
visible: !0,
|
|
220
220
|
font: C(w.AxisTitle)
|
|
221
221
|
});
|
|
222
222
|
t.content.horizontalAlignment = tt.Center, t.content.verticalAlignment = wt.Middle;
|
|
223
|
-
const i =
|
|
223
|
+
const i = x({
|
|
224
224
|
text: e,
|
|
225
225
|
visible: !0,
|
|
226
226
|
font: C(w.AxisLabels)
|
|
@@ -235,11 +235,11 @@ function ft(e = "Category Axis") {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
function Ee(e = "Value Axis") {
|
|
238
|
-
const t =
|
|
238
|
+
const t = x({
|
|
239
239
|
text: e,
|
|
240
240
|
visible: !0,
|
|
241
241
|
font: C(w.AxisTitle)
|
|
242
|
-
}), i =
|
|
242
|
+
}), i = x({
|
|
243
243
|
text: e,
|
|
244
244
|
visible: !0,
|
|
245
245
|
font: C(w.AxisLabels)
|
|
@@ -253,11 +253,11 @@ function Ee(e = "Value Axis") {
|
|
|
253
253
|
lineSymbol: Le({ color: At })
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function ce() {
|
|
257
257
|
return {
|
|
258
258
|
type: c.Legend,
|
|
259
259
|
visible: !0,
|
|
260
|
-
title:
|
|
260
|
+
title: x({
|
|
261
261
|
text: "",
|
|
262
262
|
visible: !0,
|
|
263
263
|
font: C(w.LegendTitle)
|
|
@@ -278,17 +278,17 @@ function $e(e) {
|
|
|
278
278
|
})
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function ue() {
|
|
282
282
|
return [255, 255, 255, 255];
|
|
283
283
|
}
|
|
284
|
-
async function
|
|
285
|
-
return (await
|
|
286
|
-
|
|
287
|
-
|
|
284
|
+
async function ae() {
|
|
285
|
+
return (await $(
|
|
286
|
+
B(document.documentElement).t9nLocale,
|
|
287
|
+
O("./assets/common/t9n"),
|
|
288
288
|
"messages."
|
|
289
289
|
)).utilsStrings.chartType.chart;
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function se() {
|
|
292
292
|
return `Chart ${Date.now()}`;
|
|
293
293
|
}
|
|
294
294
|
function xa(e, t = !1) {
|
|
@@ -365,17 +365,17 @@ function Qi() {
|
|
|
365
365
|
y: "",
|
|
366
366
|
markerSymbol: Ui(),
|
|
367
367
|
overlays: Hi(),
|
|
368
|
-
dataLabels:
|
|
368
|
+
dataLabels: x({
|
|
369
369
|
text: "",
|
|
370
370
|
visible: !1,
|
|
371
371
|
font: C(w.DataLabels)
|
|
372
372
|
})
|
|
373
373
|
};
|
|
374
374
|
}
|
|
375
|
-
async function
|
|
376
|
-
const t = await
|
|
377
|
-
|
|
378
|
-
|
|
375
|
+
async function ge(e) {
|
|
376
|
+
const t = await $(
|
|
377
|
+
B(document.documentElement).t9nLocale,
|
|
378
|
+
O("./assets/common/t9n"),
|
|
379
379
|
"messages."
|
|
380
380
|
), i = [], r = t.xAxis, n = t.utilsStrings.statistics.count;
|
|
381
381
|
let a;
|
|
@@ -414,17 +414,17 @@ function Ji() {
|
|
|
414
414
|
};
|
|
415
415
|
}
|
|
416
416
|
async function Ki() {
|
|
417
|
-
const e = await
|
|
418
|
-
|
|
419
|
-
|
|
417
|
+
const e = await $(
|
|
418
|
+
B(document.documentElement).t9nLocale,
|
|
419
|
+
O("./assets/common/t9n"),
|
|
420
420
|
"messages."
|
|
421
421
|
), t = [], i = e.xAxis, r = Ee(i);
|
|
422
422
|
return r.needle = Ji(), t.push(r), t;
|
|
423
423
|
}
|
|
424
424
|
async function Zi(e) {
|
|
425
|
-
const t = e.objectIDField ?? "ObjectID", i = `${F.Count}_${t}_0`.toUpperCase(), n = (await
|
|
426
|
-
|
|
427
|
-
|
|
425
|
+
const t = e.objectIDField ?? "ObjectID", i = `${F.Count}_${t}_0`.toUpperCase(), n = (await $(
|
|
426
|
+
B(document.documentElement).t9nLocale,
|
|
427
|
+
O("./assets/common/t9n"),
|
|
428
428
|
"messages."
|
|
429
429
|
)).countSeries;
|
|
430
430
|
return {
|
|
@@ -445,7 +445,7 @@ async function Zi(e) {
|
|
|
445
445
|
y: i,
|
|
446
446
|
lineSymbol: Gi(e.seriesIndex),
|
|
447
447
|
markerSymbol: zi(e.seriesIndex),
|
|
448
|
-
dataLabels:
|
|
448
|
+
dataLabels: x({
|
|
449
449
|
text: "",
|
|
450
450
|
visible: !1,
|
|
451
451
|
font: C(w.DataLabels)
|
|
@@ -462,7 +462,7 @@ async function Zi(e) {
|
|
|
462
462
|
async function Ta(e) {
|
|
463
463
|
return { ...await Zi(e), type: c.RadarSeries };
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function Yi(e) {
|
|
466
466
|
return {
|
|
467
467
|
type: E.SFS,
|
|
468
468
|
style: Ae.Solid,
|
|
@@ -473,9 +473,9 @@ function Xi(e) {
|
|
|
473
473
|
};
|
|
474
474
|
}
|
|
475
475
|
async function Fa(e) {
|
|
476
|
-
const t = e.objectIDField ?? "ObjectID", i = `${F.Count}_${t}_0`.toUpperCase(), n = (await
|
|
477
|
-
|
|
478
|
-
|
|
476
|
+
const t = e.objectIDField ?? "ObjectID", i = `${F.Count}_${t}_0`.toUpperCase(), n = (await $(
|
|
477
|
+
B(document.documentElement).t9nLocale,
|
|
478
|
+
O("./assets/common/t9n"),
|
|
479
479
|
"messages."
|
|
480
480
|
)).countSeries;
|
|
481
481
|
return {
|
|
@@ -494,8 +494,8 @@ async function Fa(e) {
|
|
|
494
494
|
},
|
|
495
495
|
x: "",
|
|
496
496
|
y: i,
|
|
497
|
-
fillSymbol:
|
|
498
|
-
dataLabels:
|
|
497
|
+
fillSymbol: Yi(e.seriesIndex),
|
|
498
|
+
dataLabels: x({
|
|
499
499
|
text: "",
|
|
500
500
|
visible: !1,
|
|
501
501
|
font: C(w.DataLabels),
|
|
@@ -504,9 +504,9 @@ async function Fa(e) {
|
|
|
504
504
|
};
|
|
505
505
|
}
|
|
506
506
|
async function Aa(e) {
|
|
507
|
-
const i = (await
|
|
508
|
-
|
|
509
|
-
|
|
507
|
+
const i = (await $(
|
|
508
|
+
B(document.documentElement).t9nLocale,
|
|
509
|
+
O("./assets/common/t9n"),
|
|
510
510
|
"messages."
|
|
511
511
|
)).countSeries;
|
|
512
512
|
return {
|
|
@@ -526,7 +526,7 @@ async function Aa(e) {
|
|
|
526
526
|
y: ""
|
|
527
527
|
};
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function Xi() {
|
|
530
530
|
return {
|
|
531
531
|
type: c.PieTick,
|
|
532
532
|
visible: !0,
|
|
@@ -543,9 +543,9 @@ function er() {
|
|
|
543
543
|
};
|
|
544
544
|
}
|
|
545
545
|
async function La(e) {
|
|
546
|
-
const t = `${F.Count}_${e}_0`.toUpperCase(), r = (await
|
|
547
|
-
|
|
548
|
-
|
|
546
|
+
const t = `${F.Count}_${e}_0`.toUpperCase(), r = (await $(
|
|
547
|
+
B(document.documentElement).t9nLocale,
|
|
548
|
+
O("./assets/common/t9n"),
|
|
549
549
|
"messages."
|
|
550
550
|
)).countSeries;
|
|
551
551
|
return {
|
|
@@ -565,7 +565,7 @@ async function La(e) {
|
|
|
565
565
|
x: "",
|
|
566
566
|
y: t,
|
|
567
567
|
fillSymbol: er(),
|
|
568
|
-
dataLabels:
|
|
568
|
+
dataLabels: x({
|
|
569
569
|
text: "",
|
|
570
570
|
visible: !1,
|
|
571
571
|
font: C(w.DataLabels),
|
|
@@ -591,7 +591,7 @@ async function La(e) {
|
|
|
591
591
|
maximumFractionDigits: 1
|
|
592
592
|
}
|
|
593
593
|
},
|
|
594
|
-
ticks:
|
|
594
|
+
ticks: Xi()
|
|
595
595
|
};
|
|
596
596
|
}
|
|
597
597
|
function Da(e) {
|
|
@@ -615,9 +615,9 @@ function Da(e) {
|
|
|
615
615
|
function Ie() {
|
|
616
616
|
return !1;
|
|
617
617
|
}
|
|
618
|
-
async function Oa(e =
|
|
618
|
+
async function Oa(e = se()) {
|
|
619
619
|
return {
|
|
620
|
-
version:
|
|
620
|
+
version: ne,
|
|
621
621
|
type: c.Chart,
|
|
622
622
|
id: e,
|
|
623
623
|
colorMatch: !0,
|
|
@@ -625,29 +625,29 @@ async function Oa(e = ae()) {
|
|
|
625
625
|
orderOptions: {
|
|
626
626
|
data: {
|
|
627
627
|
orderType: Fe.Category,
|
|
628
|
-
orderBy:
|
|
628
|
+
orderBy: re.Ascending
|
|
629
629
|
}
|
|
630
630
|
},
|
|
631
|
-
title:
|
|
632
|
-
text: await
|
|
631
|
+
title: x({
|
|
632
|
+
text: await ae(),
|
|
633
633
|
visible: !0,
|
|
634
634
|
font: C(w.ChartTitle)
|
|
635
635
|
}),
|
|
636
|
-
subtitle:
|
|
637
|
-
footer:
|
|
636
|
+
subtitle: x(),
|
|
637
|
+
footer: x({
|
|
638
638
|
text: "",
|
|
639
639
|
visible: !0,
|
|
640
640
|
font: C(w.DescriptionText)
|
|
641
641
|
}),
|
|
642
|
-
background:
|
|
643
|
-
axes: await
|
|
642
|
+
background: ue(),
|
|
643
|
+
axes: await ge(c.BarSeries),
|
|
644
644
|
series: [],
|
|
645
|
-
legend:
|
|
645
|
+
legend: ce()
|
|
646
646
|
};
|
|
647
647
|
}
|
|
648
|
-
async function $a(e =
|
|
648
|
+
async function $a(e = se()) {
|
|
649
649
|
return {
|
|
650
|
-
version:
|
|
650
|
+
version: ne,
|
|
651
651
|
type: c.Chart,
|
|
652
652
|
id: e,
|
|
653
653
|
rotated: Ie(),
|
|
@@ -655,31 +655,31 @@ async function $a(e = ae()) {
|
|
|
655
655
|
orderOptions: {
|
|
656
656
|
data: {
|
|
657
657
|
orderType: Fe.Category,
|
|
658
|
-
orderBy:
|
|
658
|
+
orderBy: re.Ascending
|
|
659
659
|
}
|
|
660
660
|
},
|
|
661
|
-
title:
|
|
662
|
-
text: await
|
|
661
|
+
title: x({
|
|
662
|
+
text: await ae(),
|
|
663
663
|
visible: !0,
|
|
664
664
|
font: C(w.ChartTitle)
|
|
665
665
|
}),
|
|
666
|
-
subtitle:
|
|
667
|
-
footer:
|
|
666
|
+
subtitle: x(),
|
|
667
|
+
footer: x({
|
|
668
668
|
text: "",
|
|
669
669
|
visible: !0,
|
|
670
670
|
font: C(w.DescriptionText)
|
|
671
671
|
}),
|
|
672
|
-
background:
|
|
672
|
+
background: ue(),
|
|
673
673
|
series: [],
|
|
674
|
-
legend:
|
|
675
|
-
axes: await
|
|
674
|
+
legend: ce(),
|
|
675
|
+
axes: await ge(c.BoxPlotSeries),
|
|
676
676
|
standardizeValues: !0,
|
|
677
677
|
showOutliers: !1
|
|
678
678
|
};
|
|
679
679
|
}
|
|
680
|
-
async function Ba(e =
|
|
680
|
+
async function Ba(e = se()) {
|
|
681
681
|
return {
|
|
682
|
-
version:
|
|
682
|
+
version: ne,
|
|
683
683
|
type: c.Chart,
|
|
684
684
|
id: e,
|
|
685
685
|
colorMatch: !0,
|
|
@@ -687,95 +687,95 @@ async function Ba(e = ae()) {
|
|
|
687
687
|
orderOptions: {
|
|
688
688
|
data: {
|
|
689
689
|
orderType: Fe.Category,
|
|
690
|
-
orderBy:
|
|
690
|
+
orderBy: re.Ascending
|
|
691
691
|
}
|
|
692
692
|
},
|
|
693
|
-
title:
|
|
694
|
-
text: await
|
|
693
|
+
title: x({
|
|
694
|
+
text: await ae(),
|
|
695
695
|
visible: !0,
|
|
696
696
|
font: C(w.ChartTitle)
|
|
697
697
|
}),
|
|
698
|
-
subtitle:
|
|
699
|
-
footer:
|
|
698
|
+
subtitle: x(),
|
|
699
|
+
footer: x({
|
|
700
700
|
text: "",
|
|
701
701
|
visible: !0,
|
|
702
702
|
font: C(w.DescriptionText)
|
|
703
703
|
}),
|
|
704
|
-
background:
|
|
705
|
-
axes: await
|
|
704
|
+
background: ue(),
|
|
705
|
+
axes: await ge(c.LineSeries),
|
|
706
706
|
series: [],
|
|
707
|
-
legend:
|
|
707
|
+
legend: ce()
|
|
708
708
|
};
|
|
709
709
|
}
|
|
710
|
-
async function Ra(e =
|
|
710
|
+
async function Ra(e = se()) {
|
|
711
711
|
return {
|
|
712
|
-
version:
|
|
712
|
+
version: ne,
|
|
713
713
|
type: c.Chart,
|
|
714
714
|
id: e,
|
|
715
715
|
colorMatch: !0,
|
|
716
716
|
orderOptions: {
|
|
717
717
|
data: {
|
|
718
718
|
orderType: Fe.Category,
|
|
719
|
-
orderBy:
|
|
719
|
+
orderBy: re.Ascending
|
|
720
720
|
}
|
|
721
721
|
},
|
|
722
|
-
title:
|
|
723
|
-
text: await
|
|
722
|
+
title: x({
|
|
723
|
+
text: await ae(),
|
|
724
724
|
visible: !0,
|
|
725
725
|
font: C(w.ChartTitle)
|
|
726
726
|
}),
|
|
727
|
-
subtitle:
|
|
728
|
-
footer:
|
|
727
|
+
subtitle: x(),
|
|
728
|
+
footer: x({
|
|
729
729
|
text: "",
|
|
730
730
|
visible: !0,
|
|
731
731
|
font: C(w.DescriptionText)
|
|
732
732
|
}),
|
|
733
|
-
background:
|
|
734
|
-
axes: await
|
|
733
|
+
background: ue(),
|
|
734
|
+
axes: await ge(c.RadarSeries),
|
|
735
735
|
series: [],
|
|
736
|
-
legend:
|
|
736
|
+
legend: ce()
|
|
737
737
|
};
|
|
738
738
|
}
|
|
739
|
-
async function Pa(e =
|
|
739
|
+
async function Pa(e = se()) {
|
|
740
740
|
return {
|
|
741
|
-
version:
|
|
741
|
+
version: ne,
|
|
742
742
|
type: c.Chart,
|
|
743
743
|
id: e,
|
|
744
744
|
colorMatch: !0,
|
|
745
745
|
orderOptions: {
|
|
746
746
|
data: {
|
|
747
747
|
orderType: Fe.YValue,
|
|
748
|
-
orderBy:
|
|
748
|
+
orderBy: re.Descending
|
|
749
749
|
}
|
|
750
750
|
},
|
|
751
|
-
title:
|
|
752
|
-
text: await
|
|
751
|
+
title: x({
|
|
752
|
+
text: await ae(),
|
|
753
753
|
visible: !0,
|
|
754
754
|
font: C(w.ChartTitle)
|
|
755
755
|
}),
|
|
756
|
-
subtitle:
|
|
757
|
-
footer:
|
|
756
|
+
subtitle: x(),
|
|
757
|
+
footer: x({
|
|
758
758
|
text: "",
|
|
759
759
|
visible: !0,
|
|
760
760
|
font: C(w.DescriptionText)
|
|
761
761
|
}),
|
|
762
|
-
background:
|
|
762
|
+
background: ue(),
|
|
763
763
|
series: [],
|
|
764
764
|
legend: {
|
|
765
|
-
...
|
|
765
|
+
...ce(),
|
|
766
766
|
displayNumericValue: !1,
|
|
767
767
|
displayPercentage: !0
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
770
|
}
|
|
771
|
-
async function ja(e =
|
|
771
|
+
async function ja(e = se()) {
|
|
772
772
|
return {
|
|
773
|
-
version:
|
|
773
|
+
version: ne,
|
|
774
774
|
type: c.Chart,
|
|
775
775
|
id: e,
|
|
776
776
|
colorMatch: !0,
|
|
777
|
-
title:
|
|
778
|
-
text: await
|
|
777
|
+
title: x({
|
|
778
|
+
text: await ae(),
|
|
779
779
|
visible: !0,
|
|
780
780
|
font: C(w.ChartTitle)
|
|
781
781
|
}),
|
|
@@ -783,27 +783,27 @@ async function ja(e = ae()) {
|
|
|
783
783
|
axes: await Ki()
|
|
784
784
|
};
|
|
785
785
|
}
|
|
786
|
-
async function ka(e =
|
|
786
|
+
async function ka(e = se()) {
|
|
787
787
|
return {
|
|
788
|
-
version:
|
|
788
|
+
version: ne,
|
|
789
789
|
type: c.Chart,
|
|
790
790
|
id: e,
|
|
791
791
|
colorMatch: !0,
|
|
792
|
-
title:
|
|
793
|
-
text: await
|
|
792
|
+
title: x({
|
|
793
|
+
text: await ae(),
|
|
794
794
|
visible: !0,
|
|
795
795
|
font: C(w.ChartTitle)
|
|
796
796
|
}),
|
|
797
|
-
subtitle:
|
|
798
|
-
footer:
|
|
797
|
+
subtitle: x(),
|
|
798
|
+
footer: x({
|
|
799
799
|
text: "",
|
|
800
800
|
visible: !0,
|
|
801
801
|
font: C(w.DescriptionText)
|
|
802
802
|
}),
|
|
803
|
-
background:
|
|
804
|
-
axes: await
|
|
803
|
+
background: ue(),
|
|
804
|
+
axes: await ge(c.ScatterSeries),
|
|
805
805
|
series: [Qi()],
|
|
806
|
-
legend:
|
|
806
|
+
legend: ce()
|
|
807
807
|
};
|
|
808
808
|
}
|
|
809
809
|
function tr() {
|
|
@@ -836,34 +836,34 @@ function rr() {
|
|
|
836
836
|
overlays: tr(),
|
|
837
837
|
dataTransformationType: St.None,
|
|
838
838
|
fillSymbol: ir(),
|
|
839
|
-
dataLabels:
|
|
839
|
+
dataLabels: x({
|
|
840
840
|
text: "",
|
|
841
841
|
visible: !1,
|
|
842
842
|
font: C(w.DataLabels)
|
|
843
843
|
})
|
|
844
844
|
};
|
|
845
845
|
}
|
|
846
|
-
async function Ea(e =
|
|
846
|
+
async function Ea(e = se()) {
|
|
847
847
|
return {
|
|
848
|
-
version:
|
|
848
|
+
version: ne,
|
|
849
849
|
type: c.Chart,
|
|
850
850
|
id: e,
|
|
851
851
|
colorMatch: !0,
|
|
852
|
-
title:
|
|
853
|
-
text: await
|
|
852
|
+
title: x({
|
|
853
|
+
text: await ae(),
|
|
854
854
|
visible: !0,
|
|
855
855
|
font: C(w.ChartTitle)
|
|
856
856
|
}),
|
|
857
|
-
subtitle:
|
|
858
|
-
footer:
|
|
857
|
+
subtitle: x(),
|
|
858
|
+
footer: x({
|
|
859
859
|
text: "",
|
|
860
860
|
visible: !0,
|
|
861
861
|
font: C(w.DescriptionText)
|
|
862
862
|
}),
|
|
863
|
-
background:
|
|
864
|
-
axes: await
|
|
863
|
+
background: ue(),
|
|
864
|
+
axes: await ge(c.HistogramSeries),
|
|
865
865
|
series: [rr()],
|
|
866
|
-
legend:
|
|
866
|
+
legend: ce()
|
|
867
867
|
};
|
|
868
868
|
}
|
|
869
869
|
const Be = {
|
|
@@ -954,9 +954,9 @@ function Wa() {
|
|
|
954
954
|
};
|
|
955
955
|
}
|
|
956
956
|
async function qa(e) {
|
|
957
|
-
const t = await
|
|
958
|
-
|
|
959
|
-
|
|
957
|
+
const t = await $(
|
|
958
|
+
B(document.documentElement).t9nLocale,
|
|
959
|
+
O("./assets/common/t9n"),
|
|
960
960
|
"messages."
|
|
961
961
|
);
|
|
962
962
|
let i;
|
|
@@ -1002,9 +1002,9 @@ async function qa(e) {
|
|
|
1002
1002
|
return i;
|
|
1003
1003
|
}
|
|
1004
1004
|
async function _a(e) {
|
|
1005
|
-
const t = await
|
|
1006
|
-
|
|
1007
|
-
|
|
1005
|
+
const t = await $(
|
|
1006
|
+
B(document.documentElement).t9nLocale,
|
|
1007
|
+
O("./assets/common/t9n"),
|
|
1008
1008
|
"messages."
|
|
1009
1009
|
);
|
|
1010
1010
|
let i;
|
|
@@ -1027,9 +1027,9 @@ function ar() {
|
|
|
1027
1027
|
return ke.Side;
|
|
1028
1028
|
}
|
|
1029
1029
|
async function Na() {
|
|
1030
|
-
return (await
|
|
1031
|
-
|
|
1032
|
-
|
|
1030
|
+
return (await $(
|
|
1031
|
+
B(document.documentElement).t9nLocale,
|
|
1032
|
+
O("./assets/common/t9n"),
|
|
1033
1033
|
"messages."
|
|
1034
1034
|
)).utilsStrings.notAvailable;
|
|
1035
1035
|
}
|
|
@@ -1066,7 +1066,7 @@ var qe = function() {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
return t;
|
|
1068
1068
|
}, qe.apply(this, arguments);
|
|
1069
|
-
},
|
|
1069
|
+
}, Ye = { exports: {} }, A = {}, Xe = { exports: {} }, fe = {};
|
|
1070
1070
|
function Ot() {
|
|
1071
1071
|
var e = {};
|
|
1072
1072
|
return e["align-content"] = !1, e["align-items"] = !1, e["align-self"] = !1, e["alignment-adjust"] = !1, e["alignment-baseline"] = !1, e.all = !1, e["anchor-point"] = !1, e.animation = !1, e["animation-delay"] = !1, e["animation-direction"] = !1, e["animation-duration"] = !1, e["animation-fill-mode"] = !1, e["animation-iteration-count"] = !1, e["animation-name"] = !1, e["animation-play-state"] = !1, e["animation-timing-function"] = !1, e.azimuth = !1, e["backface-visibility"] = !1, e.background = !0, e["background-attachment"] = !0, e["background-clip"] = !0, e["background-color"] = !0, e["background-image"] = !0, e["background-origin"] = !0, e["background-position"] = !0, e["background-repeat"] = !0, e["background-size"] = !0, e["baseline-shift"] = !1, e.binding = !1, e.bleed = !1, e["bookmark-label"] = !1, e["bookmark-level"] = !1, e["bookmark-state"] = !1, e.border = !0, e["border-bottom"] = !0, e["border-bottom-color"] = !0, e["border-bottom-left-radius"] = !0, e["border-bottom-right-radius"] = !0, e["border-bottom-style"] = !0, e["border-bottom-width"] = !0, e["border-collapse"] = !0, e["border-color"] = !0, e["border-image"] = !0, e["border-image-outset"] = !0, e["border-image-repeat"] = !0, e["border-image-slice"] = !0, e["border-image-source"] = !0, e["border-image-width"] = !0, e["border-left"] = !0, e["border-left-color"] = !0, e["border-left-style"] = !0, e["border-left-width"] = !0, e["border-radius"] = !0, e["border-right"] = !0, e["border-right-color"] = !0, e["border-right-style"] = !0, e["border-right-width"] = !0, e["border-spacing"] = !0, e["border-style"] = !0, e["border-top"] = !0, e["border-top-color"] = !0, e["border-top-left-radius"] = !0, e["border-top-right-radius"] = !0, e["border-top-style"] = !0, e["border-top-width"] = !0, e["border-width"] = !0, e.bottom = !1, e["box-decoration-break"] = !0, e["box-shadow"] = !0, e["box-sizing"] = !0, e["box-snap"] = !0, e["box-suppress"] = !0, e["break-after"] = !0, e["break-before"] = !0, e["break-inside"] = !0, e["caption-side"] = !1, e.chains = !1, e.clear = !0, e.clip = !1, e["clip-path"] = !1, e["clip-rule"] = !1, e.color = !0, e["color-interpolation-filters"] = !0, e["column-count"] = !1, e["column-fill"] = !1, e["column-gap"] = !1, e["column-rule"] = !1, e["column-rule-color"] = !1, e["column-rule-style"] = !1, e["column-rule-width"] = !1, e["column-span"] = !1, e["column-width"] = !1, e.columns = !1, e.contain = !1, e.content = !1, e["counter-increment"] = !1, e["counter-reset"] = !1, e["counter-set"] = !1, e.crop = !1, e.cue = !1, e["cue-after"] = !1, e["cue-before"] = !1, e.cursor = !1, e.direction = !1, e.display = !0, e["display-inside"] = !0, e["display-list"] = !0, e["display-outside"] = !0, e["dominant-baseline"] = !1, e.elevation = !1, e["empty-cells"] = !1, e.filter = !1, e.flex = !1, e["flex-basis"] = !1, e["flex-direction"] = !1, e["flex-flow"] = !1, e["flex-grow"] = !1, e["flex-shrink"] = !1, e["flex-wrap"] = !1, e.float = !1, e["float-offset"] = !1, e["flood-color"] = !1, e["flood-opacity"] = !1, e["flow-from"] = !1, e["flow-into"] = !1, e.font = !0, e["font-family"] = !0, e["font-feature-settings"] = !0, e["font-kerning"] = !0, e["font-language-override"] = !0, e["font-size"] = !0, e["font-size-adjust"] = !0, e["font-stretch"] = !0, e["font-style"] = !0, e["font-synthesis"] = !0, e["font-variant"] = !0, e["font-variant-alternates"] = !0, e["font-variant-caps"] = !0, e["font-variant-east-asian"] = !0, e["font-variant-ligatures"] = !0, e["font-variant-numeric"] = !0, e["font-variant-position"] = !0, e["font-weight"] = !0, e.grid = !1, e["grid-area"] = !1, e["grid-auto-columns"] = !1, e["grid-auto-flow"] = !1, e["grid-auto-rows"] = !1, e["grid-column"] = !1, e["grid-column-end"] = !1, e["grid-column-start"] = !1, e["grid-row"] = !1, e["grid-row-end"] = !1, e["grid-row-start"] = !1, e["grid-template"] = !1, e["grid-template-areas"] = !1, e["grid-template-columns"] = !1, e["grid-template-rows"] = !1, e["hanging-punctuation"] = !1, e.height = !0, e.hyphens = !1, e.icon = !1, e["image-orientation"] = !1, e["image-resolution"] = !1, e["ime-mode"] = !1, e["initial-letters"] = !1, e["inline-box-align"] = !1, e["justify-content"] = !1, e["justify-items"] = !1, e["justify-self"] = !1, e.left = !1, e["letter-spacing"] = !0, e["lighting-color"] = !0, e["line-box-contain"] = !1, e["line-break"] = !1, e["line-grid"] = !1, e["line-height"] = !1, e["line-snap"] = !1, e["line-stacking"] = !1, e["line-stacking-ruby"] = !1, e["line-stacking-shift"] = !1, e["line-stacking-strategy"] = !1, e["list-style"] = !0, e["list-style-image"] = !0, e["list-style-position"] = !0, e["list-style-type"] = !0, e.margin = !0, e["margin-bottom"] = !0, e["margin-left"] = !0, e["margin-right"] = !0, e["margin-top"] = !0, e["marker-offset"] = !1, e["marker-side"] = !1, e.marks = !1, e.mask = !1, e["mask-box"] = !1, e["mask-box-outset"] = !1, e["mask-box-repeat"] = !1, e["mask-box-slice"] = !1, e["mask-box-source"] = !1, e["mask-box-width"] = !1, e["mask-clip"] = !1, e["mask-image"] = !1, e["mask-origin"] = !1, e["mask-position"] = !1, e["mask-repeat"] = !1, e["mask-size"] = !1, e["mask-source-type"] = !1, e["mask-type"] = !1, e["max-height"] = !0, e["max-lines"] = !1, e["max-width"] = !0, e["min-height"] = !0, e["min-width"] = !0, e["move-to"] = !1, e["nav-down"] = !1, e["nav-index"] = !1, e["nav-left"] = !1, e["nav-right"] = !1, e["nav-up"] = !1, e["object-fit"] = !1, e["object-position"] = !1, e.opacity = !1, e.order = !1, e.orphans = !1, e.outline = !1, e["outline-color"] = !1, e["outline-offset"] = !1, e["outline-style"] = !1, e["outline-width"] = !1, e.overflow = !1, e["overflow-wrap"] = !1, e["overflow-x"] = !1, e["overflow-y"] = !1, e.padding = !0, e["padding-bottom"] = !0, e["padding-left"] = !0, e["padding-right"] = !0, e["padding-top"] = !0, e.page = !1, e["page-break-after"] = !1, e["page-break-before"] = !1, e["page-break-inside"] = !1, e["page-policy"] = !1, e.pause = !1, e["pause-after"] = !1, e["pause-before"] = !1, e.perspective = !1, e["perspective-origin"] = !1, e.pitch = !1, e["pitch-range"] = !1, e["play-during"] = !1, e.position = !1, e["presentation-level"] = !1, e.quotes = !1, e["region-fragment"] = !1, e.resize = !1, e.rest = !1, e["rest-after"] = !1, e["rest-before"] = !1, e.richness = !1, e.right = !1, e.rotation = !1, e["rotation-point"] = !1, e["ruby-align"] = !1, e["ruby-merge"] = !1, e["ruby-position"] = !1, e["shape-image-threshold"] = !1, e["shape-outside"] = !1, e["shape-margin"] = !1, e.size = !1, e.speak = !1, e["speak-as"] = !1, e["speak-header"] = !1, e["speak-numeral"] = !1, e["speak-punctuation"] = !1, e["speech-rate"] = !1, e.stress = !1, e["string-set"] = !1, e["tab-size"] = !1, e["table-layout"] = !1, e["text-align"] = !0, e["text-align-last"] = !0, e["text-combine-upright"] = !0, e["text-decoration"] = !0, e["text-decoration-color"] = !0, e["text-decoration-line"] = !0, e["text-decoration-skip"] = !0, e["text-decoration-style"] = !0, e["text-emphasis"] = !0, e["text-emphasis-color"] = !0, e["text-emphasis-position"] = !0, e["text-emphasis-style"] = !0, e["text-height"] = !0, e["text-indent"] = !0, e["text-justify"] = !0, e["text-orientation"] = !0, e["text-overflow"] = !0, e["text-shadow"] = !0, e["text-space-collapse"] = !0, e["text-transform"] = !0, e["text-underline-position"] = !0, e["text-wrap"] = !0, e.top = !1, e.transform = !1, e["transform-origin"] = !1, e["transform-style"] = !1, e.transition = !1, e["transition-delay"] = !1, e["transition-duration"] = !1, e["transition-property"] = !1, e["transition-timing-function"] = !1, e["unicode-bidi"] = !1, e["vertical-align"] = !1, e.visibility = !1, e["voice-balance"] = !1, e["voice-duration"] = !1, e["voice-family"] = !1, e["voice-pitch"] = !1, e["voice-range"] = !1, e["voice-rate"] = !1, e["voice-stress"] = !1, e["voice-volume"] = !1, e.volume = !1, e["white-space"] = !1, e.widows = !1, e.width = !0, e["will-change"] = !1, e["word-break"] = !0, e["word-spacing"] = !0, e["word-wrap"] = !0, e["wrap-flow"] = !1, e["wrap-through"] = !1, e["writing-mode"] = !1, e["z-index"] = !1, e;
|
|
@@ -1079,11 +1079,11 @@ var pr = /javascript\s*\:/img;
|
|
|
1079
1079
|
function cr(e, t) {
|
|
1080
1080
|
return pr.test(t) ? "" : t;
|
|
1081
1081
|
}
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1082
|
+
fe.whiteList = Ot();
|
|
1083
|
+
fe.getDefaultWhiteList = Ot;
|
|
1084
|
+
fe.onAttr = lr;
|
|
1085
|
+
fe.onIgnoreAttr = dr;
|
|
1086
|
+
fe.safeAttrValue = cr;
|
|
1087
1087
|
var ur = {
|
|
1088
1088
|
indexOf: function(e, t) {
|
|
1089
1089
|
var i, r;
|
|
@@ -1113,11 +1113,11 @@ function fr(e, t) {
|
|
|
1113
1113
|
var i = e.length, r = !1, n = 0, a = 0, s = "";
|
|
1114
1114
|
function o() {
|
|
1115
1115
|
if (!r) {
|
|
1116
|
-
var
|
|
1116
|
+
var d = Se.trim(e.slice(n, a)), u = d.indexOf(":");
|
|
1117
1117
|
if (u !== -1) {
|
|
1118
|
-
var f = Se.trim(
|
|
1118
|
+
var f = Se.trim(d.slice(0, u)), y = Se.trim(d.slice(u + 1));
|
|
1119
1119
|
if (f) {
|
|
1120
|
-
var h = t(n, s.length, f, y,
|
|
1120
|
+
var h = t(n, s.length, f, y, d);
|
|
1121
1121
|
h && (s += h + "; ");
|
|
1122
1122
|
}
|
|
1123
1123
|
}
|
|
@@ -1125,17 +1125,17 @@ function fr(e, t) {
|
|
|
1125
1125
|
n = a + 1;
|
|
1126
1126
|
}
|
|
1127
1127
|
for (; a < i; a++) {
|
|
1128
|
-
var
|
|
1129
|
-
if (
|
|
1128
|
+
var l = e[a];
|
|
1129
|
+
if (l === "/" && e[a + 1] === "*") {
|
|
1130
1130
|
var p = e.indexOf("*/", a + 2);
|
|
1131
1131
|
if (p === -1) break;
|
|
1132
1132
|
a = p + 1, n = a + 1, r = !1;
|
|
1133
|
-
} else
|
|
1133
|
+
} else l === "(" ? r = !0 : l === ")" ? r = !1 : l === ";" ? r || o() : l === `
|
|
1134
1134
|
` && o();
|
|
1135
1135
|
}
|
|
1136
1136
|
return Se.trim(s);
|
|
1137
1137
|
}
|
|
1138
|
-
var yr = fr, Re =
|
|
1138
|
+
var yr = fr, Re = fe, hr = yr;
|
|
1139
1139
|
function yt(e) {
|
|
1140
1140
|
return e == null;
|
|
1141
1141
|
}
|
|
@@ -1150,20 +1150,20 @@ function $t(e) {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
$t.prototype.process = function(e) {
|
|
1152
1152
|
if (e = e || "", e = e.toString(), !e) return "";
|
|
1153
|
-
var t = this, i = t.options, r = i.whiteList, n = i.onAttr, a = i.onIgnoreAttr, s = i.safeAttrValue, o = hr(e, function(
|
|
1154
|
-
var y = r[
|
|
1155
|
-
if (y === !0 ? h = y : typeof y == "function" ? h = y(u) : y instanceof RegExp && (h = y.test(u)), h !== !0 && (h = !1), u = s(
|
|
1153
|
+
var t = this, i = t.options, r = i.whiteList, n = i.onAttr, a = i.onIgnoreAttr, s = i.safeAttrValue, o = hr(e, function(l, p, d, u, f) {
|
|
1154
|
+
var y = r[d], h = !1;
|
|
1155
|
+
if (y === !0 ? h = y : typeof y == "function" ? h = y(u) : y instanceof RegExp && (h = y.test(u)), h !== !0 && (h = !1), u = s(d, u), !!u) {
|
|
1156
1156
|
var b = {
|
|
1157
1157
|
position: p,
|
|
1158
|
-
sourcePosition:
|
|
1158
|
+
sourcePosition: l,
|
|
1159
1159
|
source: f,
|
|
1160
1160
|
isWhite: h
|
|
1161
1161
|
};
|
|
1162
1162
|
if (h) {
|
|
1163
|
-
var g = n(
|
|
1164
|
-
return yt(g) ?
|
|
1163
|
+
var g = n(d, u, b);
|
|
1164
|
+
return yt(g) ? d + ":" + u : g;
|
|
1165
1165
|
} else {
|
|
1166
|
-
var g = a(
|
|
1166
|
+
var g = a(d, u, b);
|
|
1167
1167
|
if (!yt(g))
|
|
1168
1168
|
return g;
|
|
1169
1169
|
}
|
|
@@ -1173,15 +1173,15 @@ $t.prototype.process = function(e) {
|
|
|
1173
1173
|
};
|
|
1174
1174
|
var br = $t;
|
|
1175
1175
|
(function(e, t) {
|
|
1176
|
-
var i =
|
|
1176
|
+
var i = fe, r = br;
|
|
1177
1177
|
function n(s, o) {
|
|
1178
|
-
var
|
|
1179
|
-
return
|
|
1178
|
+
var l = new r(o);
|
|
1179
|
+
return l.process(s);
|
|
1180
1180
|
}
|
|
1181
1181
|
t = e.exports = n, t.FilterCSS = r;
|
|
1182
1182
|
for (var a in i) t[a] = i[a];
|
|
1183
|
-
})(
|
|
1184
|
-
var nt =
|
|
1183
|
+
})(Xe, Xe.exports);
|
|
1184
|
+
var nt = Xe.exports, at = {
|
|
1185
1185
|
indexOf: function(e, t) {
|
|
1186
1186
|
var i, r;
|
|
1187
1187
|
if (Array.prototype.indexOf)
|
|
@@ -1362,24 +1362,24 @@ function Rr(e, t) {
|
|
|
1362
1362
|
}
|
|
1363
1363
|
var n = [], a = !1;
|
|
1364
1364
|
return {
|
|
1365
|
-
onIgnoreTag: function(s, o,
|
|
1365
|
+
onIgnoreTag: function(s, o, l) {
|
|
1366
1366
|
if (r(s))
|
|
1367
|
-
if (
|
|
1368
|
-
var p = "[/removed]",
|
|
1367
|
+
if (l.isClosing) {
|
|
1368
|
+
var p = "[/removed]", d = l.position + p.length;
|
|
1369
1369
|
return n.push([
|
|
1370
|
-
a !== !1 ? a :
|
|
1371
|
-
|
|
1370
|
+
a !== !1 ? a : l.position,
|
|
1371
|
+
d
|
|
1372
1372
|
]), a = !1, p;
|
|
1373
1373
|
} else
|
|
1374
|
-
return a || (a =
|
|
1374
|
+
return a || (a = l.position), "[removed]";
|
|
1375
1375
|
else
|
|
1376
|
-
return t(s, o,
|
|
1376
|
+
return t(s, o, l);
|
|
1377
1377
|
},
|
|
1378
1378
|
remove: function(s) {
|
|
1379
|
-
var o = "",
|
|
1379
|
+
var o = "", l = 0;
|
|
1380
1380
|
return _e.forEach(n, function(p) {
|
|
1381
|
-
o += s.slice(
|
|
1382
|
-
}), o += s.slice(
|
|
1381
|
+
o += s.slice(l, p[0]), l = p[1];
|
|
1382
|
+
}), o += s.slice(l), o;
|
|
1383
1383
|
}
|
|
1384
1384
|
};
|
|
1385
1385
|
}
|
|
@@ -1426,17 +1426,17 @@ A.stripCommentTag = Pr;
|
|
|
1426
1426
|
A.stripBlankChar = jr;
|
|
1427
1427
|
A.cssFilter = Rt;
|
|
1428
1428
|
A.getDefaultCSSWhiteList = Sr;
|
|
1429
|
-
var ze = {},
|
|
1429
|
+
var ze = {}, ie = at;
|
|
1430
1430
|
function kr(e) {
|
|
1431
|
-
var t =
|
|
1432
|
-
return t === -1 ? i = e.slice(1, -1) : i = e.slice(1, t + 1), i =
|
|
1431
|
+
var t = ie.spaceIndex(e), i;
|
|
1432
|
+
return t === -1 ? i = e.slice(1, -1) : i = e.slice(1, t + 1), i = ie.trim(i).toLowerCase(), i.slice(0, 1) === "/" && (i = i.slice(1)), i.slice(-1) === "/" && (i = i.slice(0, -1)), i;
|
|
1433
1433
|
}
|
|
1434
1434
|
function Er(e) {
|
|
1435
1435
|
return e.slice(0, 2) === "</";
|
|
1436
1436
|
}
|
|
1437
1437
|
function Wr(e, t, i) {
|
|
1438
|
-
var r = "", n = 0, a = !1, s = !1, o = 0,
|
|
1439
|
-
e: for (o = 0; o <
|
|
1438
|
+
var r = "", n = 0, a = !1, s = !1, o = 0, l = e.length, p = "", d = "";
|
|
1439
|
+
e: for (o = 0; o < l; o++) {
|
|
1440
1440
|
var u = e.charAt(o);
|
|
1441
1441
|
if (a === !1) {
|
|
1442
1442
|
if (u === "<") {
|
|
@@ -1449,12 +1449,12 @@ function Wr(e, t, i) {
|
|
|
1449
1449
|
continue;
|
|
1450
1450
|
}
|
|
1451
1451
|
if (u === ">") {
|
|
1452
|
-
r += i(e.slice(n, a)),
|
|
1452
|
+
r += i(e.slice(n, a)), d = e.slice(a, o + 1), p = kr(d), r += t(
|
|
1453
1453
|
a,
|
|
1454
1454
|
r.length,
|
|
1455
1455
|
p,
|
|
1456
|
-
|
|
1457
|
-
Er(
|
|
1456
|
+
d,
|
|
1457
|
+
Er(d)
|
|
1458
1458
|
), n = o + 1, a = !1;
|
|
1459
1459
|
continue;
|
|
1460
1460
|
}
|
|
@@ -1477,39 +1477,39 @@ var qr = /[^a-zA-Z0-9\\_:.-]/gim;
|
|
|
1477
1477
|
function _r(e, t) {
|
|
1478
1478
|
var i = 0, r = 0, n = [], a = !1, s = e.length;
|
|
1479
1479
|
function o(f, y) {
|
|
1480
|
-
if (f =
|
|
1480
|
+
if (f = ie.trim(f), f = f.replace(qr, "").toLowerCase(), !(f.length < 1)) {
|
|
1481
1481
|
var h = t(f, y || "");
|
|
1482
1482
|
h && n.push(h);
|
|
1483
1483
|
}
|
|
1484
1484
|
}
|
|
1485
|
-
for (var
|
|
1486
|
-
var p = e.charAt(
|
|
1485
|
+
for (var l = 0; l < s; l++) {
|
|
1486
|
+
var p = e.charAt(l), d, u;
|
|
1487
1487
|
if (a === !1 && p === "=") {
|
|
1488
|
-
a = e.slice(i,
|
|
1488
|
+
a = e.slice(i, l), i = l + 1, r = e.charAt(i) === '"' || e.charAt(i) === "'" ? i : Mr(e, l + 1);
|
|
1489
1489
|
continue;
|
|
1490
1490
|
}
|
|
1491
|
-
if (a !== !1 &&
|
|
1492
|
-
if (u = e.indexOf(p,
|
|
1491
|
+
if (a !== !1 && l === r) {
|
|
1492
|
+
if (u = e.indexOf(p, l + 1), u === -1)
|
|
1493
1493
|
break;
|
|
1494
|
-
|
|
1494
|
+
d = ie.trim(e.slice(r + 1, u)), o(a, d), a = !1, l = u, i = l + 1;
|
|
1495
1495
|
continue;
|
|
1496
1496
|
}
|
|
1497
1497
|
if (/\s|\n|\t/.test(p))
|
|
1498
1498
|
if (e = e.replace(/\s|\n|\t/g, " "), a === !1)
|
|
1499
|
-
if (u = Nr(e,
|
|
1500
|
-
|
|
1499
|
+
if (u = Nr(e, l), u === -1) {
|
|
1500
|
+
d = ie.trim(e.slice(i, l)), o(d), a = !1, i = l + 1;
|
|
1501
1501
|
continue;
|
|
1502
1502
|
} else {
|
|
1503
|
-
|
|
1503
|
+
l = u - 1;
|
|
1504
1504
|
continue;
|
|
1505
1505
|
}
|
|
1506
|
-
else if (u = Vr(e,
|
|
1507
|
-
|
|
1506
|
+
else if (u = Vr(e, l - 1), u === -1) {
|
|
1507
|
+
d = ie.trim(e.slice(i, l)), d = bt(d), o(a, d), a = !1, i = l + 1;
|
|
1508
1508
|
continue;
|
|
1509
1509
|
} else
|
|
1510
1510
|
continue;
|
|
1511
1511
|
}
|
|
1512
|
-
return i < e.length && (a === !1 ? o(e.slice(i)) : o(a, bt(
|
|
1512
|
+
return i < e.length && (a === !1 ? o(e.slice(i)) : o(a, bt(ie.trim(e.slice(i))))), ie.trim(n.join(" "));
|
|
1513
1513
|
}
|
|
1514
1514
|
function Nr(e, t) {
|
|
1515
1515
|
for (; t < e.length; t++) {
|
|
@@ -1579,7 +1579,7 @@ function Vt(e) {
|
|
|
1579
1579
|
}
|
|
1580
1580
|
Vt.prototype.process = function(e) {
|
|
1581
1581
|
if (e = e || "", e = e.toString(), !e) return "";
|
|
1582
|
-
var t = this, i = t.options, r = i.whiteList, n = i.onTag, a = i.onIgnoreTag, s = i.onTagAttr, o = i.onIgnoreTagAttr,
|
|
1582
|
+
var t = this, i = t.options, r = i.whiteList, n = i.onTag, a = i.onIgnoreTag, s = i.onTagAttr, o = i.onIgnoreTagAttr, l = i.safeAttrValue, p = i.escapeHtml, d = t.cssFilter;
|
|
1583
1583
|
i.stripBlankChar && (e = z.stripBlankChar(e)), i.allowCommentTag || (e = z.stripCommentTag(e));
|
|
1584
1584
|
var u = !1;
|
|
1585
1585
|
i.stripIgnoreTagBody && (u = z.StripTagBody(
|
|
@@ -1588,24 +1588,24 @@ Vt.prototype.process = function(e) {
|
|
|
1588
1588
|
), a = u.onIgnoreTag);
|
|
1589
1589
|
var f = Ur(
|
|
1590
1590
|
e,
|
|
1591
|
-
function(y, h, b, g,
|
|
1592
|
-
var
|
|
1591
|
+
function(y, h, b, g, v) {
|
|
1592
|
+
var I = {
|
|
1593
1593
|
sourcePosition: y,
|
|
1594
1594
|
position: h,
|
|
1595
|
-
isClosing:
|
|
1595
|
+
isClosing: v,
|
|
1596
1596
|
isWhite: Object.prototype.hasOwnProperty.call(r, b)
|
|
1597
|
-
},
|
|
1598
|
-
if (!je(
|
|
1599
|
-
if (
|
|
1600
|
-
if (
|
|
1597
|
+
}, S = n(b, g, I);
|
|
1598
|
+
if (!je(S)) return S;
|
|
1599
|
+
if (I.isWhite) {
|
|
1600
|
+
if (I.isClosing)
|
|
1601
1601
|
return "</" + b + ">";
|
|
1602
1602
|
var j = Qr(g), M = r[b], W = Hr(j.html, function(H, q) {
|
|
1603
|
-
var
|
|
1604
|
-
return je(_) ?
|
|
1603
|
+
var oe = We.indexOf(M, H) !== -1, _ = s(b, H, q, oe);
|
|
1604
|
+
return je(_) ? oe ? (q = l(b, H, q, d), q ? H + '="' + q + '"' : H) : (_ = o(b, H, q, oe), je(_) ? void 0 : _) : _;
|
|
1605
1605
|
});
|
|
1606
1606
|
return g = "<" + b, W && (g += " " + W), j.closing && (g += " /"), g += ">", g;
|
|
1607
1607
|
} else
|
|
1608
|
-
return
|
|
1608
|
+
return S = a(b, g, I), je(S) ? p(g) : S;
|
|
1609
1609
|
},
|
|
1610
1610
|
p
|
|
1611
1611
|
);
|
|
@@ -1614,22 +1614,22 @@ Vt.prototype.process = function(e) {
|
|
|
1614
1614
|
var Zr = Vt;
|
|
1615
1615
|
(function(e, t) {
|
|
1616
1616
|
var i = A, r = ze, n = Zr;
|
|
1617
|
-
function a(o,
|
|
1618
|
-
var p = new n(
|
|
1617
|
+
function a(o, l) {
|
|
1618
|
+
var p = new n(l);
|
|
1619
1619
|
return p.process(o);
|
|
1620
1620
|
}
|
|
1621
1621
|
t = e.exports = a, t.filterXSS = a, t.FilterXSS = n, function() {
|
|
1622
1622
|
for (var o in i)
|
|
1623
1623
|
t[o] = i[o];
|
|
1624
|
-
for (var
|
|
1625
|
-
t[
|
|
1624
|
+
for (var l in r)
|
|
1625
|
+
t[l] = r[l];
|
|
1626
1626
|
}();
|
|
1627
1627
|
function s() {
|
|
1628
1628
|
return typeof self < "u" && typeof DedicatedWorkerGlobalScope < "u" && self instanceof DedicatedWorkerGlobalScope;
|
|
1629
1629
|
}
|
|
1630
1630
|
s() && (self.filterXSS = e.exports);
|
|
1631
|
-
})(
|
|
1632
|
-
var
|
|
1631
|
+
})(Ye, Ye.exports);
|
|
1632
|
+
var he = Ye.exports, Yr = function(e) {
|
|
1633
1633
|
if (typeof e != "object" || e === null || Object.prototype.toString.call(e) !== "[object Object]")
|
|
1634
1634
|
return !1;
|
|
1635
1635
|
var t = Object.getPrototypeOf(e);
|
|
@@ -1638,7 +1638,7 @@ var ye = Xe.exports, Xr = function(e) {
|
|
|
1638
1638
|
for (; Object.getPrototypeOf(t) !== null; )
|
|
1639
1639
|
t = Object.getPrototypeOf(t);
|
|
1640
1640
|
return Object.getPrototypeOf(e) === t;
|
|
1641
|
-
},
|
|
1641
|
+
}, Xr = (
|
|
1642
1642
|
/** @class */
|
|
1643
1643
|
function() {
|
|
1644
1644
|
function e(t, i) {
|
|
@@ -1724,7 +1724,7 @@ var ye = Xe.exports, Xr = function(e) {
|
|
|
1724
1724
|
"preload",
|
|
1725
1725
|
"width"
|
|
1726
1726
|
]
|
|
1727
|
-
}, this.arcgisCSSWhiteList = qe(qe({},
|
|
1727
|
+
}, this.arcgisCSSWhiteList = qe(qe({}, he.getDefaultCSSWhiteList()), { "align-items": !0, "align-self": !0, flex: !0, "flex-basis": !0, "flex-direction": !0, "flex-flow": !0, "flex-grow": !0, "flex-shrink": !0, "flex-wrap": !0, float: !0, gap: !0, grid: !0, "grid-area": !0, "grid-auto-columns": !0, "grid-auto-flow": !0, "grid-auto-rows": !0, "grid-column": !0, "grid-column-end": !0, "grid-column-start": !0, "grid-row": !0, "grid-row-end": !0, "grid-row-start": !0, "grid-template": !0, "grid-template-areas": !0, "grid-template-columns": !0, "grid-template-rows": !0, "justify-content": !0, "justify-items": !0, "justify-self": !0, "line-height": !0, overflow: !0 }), this.allowedProtocols = [
|
|
1728
1728
|
"http",
|
|
1729
1729
|
"https",
|
|
1730
1730
|
"mailto",
|
|
@@ -1753,8 +1753,8 @@ var ye = Xe.exports, Xr = function(e) {
|
|
|
1753
1753
|
"radarscope"
|
|
1754
1754
|
], this.arcgisFilterOptions = {
|
|
1755
1755
|
allowCommentTag: !0,
|
|
1756
|
-
safeAttrValue: function(a, s, o,
|
|
1757
|
-
return a === "a" && s === "href" || (a === "img" || a === "source") && s === "src" ? r.sanitizeUrl(o) :
|
|
1756
|
+
safeAttrValue: function(a, s, o, l) {
|
|
1757
|
+
return a === "a" && s === "href" || (a === "img" || a === "source") && s === "src" ? r.sanitizeUrl(o) : he.safeAttrValue(a, s, o, l);
|
|
1758
1758
|
}
|
|
1759
1759
|
}, this._entityMap = {
|
|
1760
1760
|
"&": "8",
|
|
@@ -1778,7 +1778,7 @@ var ye = Xe.exports, Xr = function(e) {
|
|
|
1778
1778
|
});
|
|
1779
1779
|
} else
|
|
1780
1780
|
n[a] = t[a];
|
|
1781
|
-
})) : (n = Object.create(this.arcgisFilterOptions), n.whiteList = this.arcgisWhiteList, n.css = { whiteList: this.arcgisCSSWhiteList }), this.xssFilterOptions = n, this._xssFilter = new
|
|
1781
|
+
})) : (n = Object.create(this.arcgisFilterOptions), n.whiteList = this.arcgisWhiteList, n.css = { whiteList: this.arcgisCSSWhiteList }), this.xssFilterOptions = n, this._xssFilter = new he.FilterXSS(n);
|
|
1782
1782
|
}
|
|
1783
1783
|
return e.prototype.sanitize = function(t, i) {
|
|
1784
1784
|
switch (i === void 0 && (i = {}), typeof t) {
|
|
@@ -1794,8 +1794,8 @@ var ye = Xe.exports, Xr = function(e) {
|
|
|
1794
1794
|
return i.allowUndefined && typeof t > "u" ? void 0 : null;
|
|
1795
1795
|
}
|
|
1796
1796
|
}, e.prototype.sanitizeUrl = function(t, i) {
|
|
1797
|
-
var r = (i ?? {}).isProtocolRequired, n = r === void 0 ? !0 : r, a = this._trim(t.substring(0, t.indexOf(":"))), s = t === "/", o = /^#/.test(t),
|
|
1798
|
-
return s || o ||
|
|
1797
|
+
var r = (i ?? {}).isProtocolRequired, n = r === void 0 ? !0 : r, a = this._trim(t.substring(0, t.indexOf(":"))), s = t === "/", o = /^#/.test(t), l = a && this.allowedProtocols.indexOf(a.toLowerCase()) > -1;
|
|
1798
|
+
return s || o || l ? he.escapeAttrValue(t) : !a && !n ? he.escapeAttrValue("https://".concat(t)) : "";
|
|
1799
1799
|
}, e.prototype.sanitizeHTMLAttribute = function(t, i, r, n) {
|
|
1800
1800
|
return typeof this.xssFilterOptions.safeAttrValue == "function" ? this.xssFilterOptions.safeAttrValue(
|
|
1801
1801
|
t,
|
|
@@ -1803,7 +1803,7 @@ var ye = Xe.exports, Xr = function(e) {
|
|
|
1803
1803
|
r,
|
|
1804
1804
|
// @ts-expect-error safeAttrValue does handle undefined cssFilter
|
|
1805
1805
|
n
|
|
1806
|
-
) :
|
|
1806
|
+
) : he.safeAttrValue(t, i, r, n);
|
|
1807
1807
|
}, e.prototype.validate = function(t, i) {
|
|
1808
1808
|
i === void 0 && (i = {});
|
|
1809
1809
|
var r = this.sanitize(t, i);
|
|
@@ -1834,15 +1834,15 @@ var ye = Xe.exports, Xr = function(e) {
|
|
|
1834
1834
|
try {
|
|
1835
1835
|
var n = !1, a = void 0;
|
|
1836
1836
|
if (Array.isArray(t))
|
|
1837
|
-
a = t.reduce(function(o,
|
|
1838
|
-
var p = r.validate(
|
|
1839
|
-
return p.isValid ? o.concat([
|
|
1837
|
+
a = t.reduce(function(o, l) {
|
|
1838
|
+
var p = r.validate(l, i);
|
|
1839
|
+
return p.isValid ? o.concat([l]) : (n = !0, o.concat([p.sanitized]));
|
|
1840
1840
|
}, []);
|
|
1841
|
-
else if (
|
|
1841
|
+
else if (Yr(t)) {
|
|
1842
1842
|
var s = Object.keys(t);
|
|
1843
|
-
a = s.reduce(function(o,
|
|
1844
|
-
var p = t[
|
|
1845
|
-
return
|
|
1843
|
+
a = s.reduce(function(o, l) {
|
|
1844
|
+
var p = t[l], d = r.validate(p, i);
|
|
1845
|
+
return d.isValid ? o[l] = p : (n = !0, o[l] = d.sanitized), o;
|
|
1846
1846
|
}, {});
|
|
1847
1847
|
} else
|
|
1848
1848
|
return i.allowUndefined && typeof t > "u" ? void 0 : null;
|
|
@@ -1951,24 +1951,24 @@ function Ja(e) {
|
|
|
1951
1951
|
if (a !== Ft.RenderUpToTheLimit) {
|
|
1952
1952
|
const {
|
|
1953
1953
|
maxBarChartSeriesCount: o,
|
|
1954
|
-
maxBarUniqueSeriesCountTotal:
|
|
1954
|
+
maxBarUniqueSeriesCountTotal: l,
|
|
1955
1955
|
maxBarTwoSeriesCountPerSeries: p,
|
|
1956
|
-
maxBarTwoSeriesCountTotal:
|
|
1956
|
+
maxBarTwoSeriesCountTotal: d,
|
|
1957
1957
|
maxBarThreePlusSeriesCountPerSeries: u,
|
|
1958
1958
|
maxBarThreePlusSeriesCountTotal: f,
|
|
1959
1959
|
maxLineChartSeriesCount: y,
|
|
1960
1960
|
maxLineUniqueSeriesCountTotal: h,
|
|
1961
1961
|
maxLineTwoSeriesCountPerSeries: b,
|
|
1962
1962
|
maxLineTwoSeriesCountTotal: g,
|
|
1963
|
-
maxLineThreePlusSeriesCountPerSeries:
|
|
1964
|
-
maxLineThreePlusSeriesCountTotal:
|
|
1965
|
-
maxPieChartSliceCountTotal:
|
|
1963
|
+
maxLineThreePlusSeriesCountPerSeries: v,
|
|
1964
|
+
maxLineThreePlusSeriesCountTotal: I,
|
|
1965
|
+
maxPieChartSliceCountTotal: S,
|
|
1966
1966
|
maxGaugeByFeaturesLimit: j,
|
|
1967
1967
|
maxBoxPlotSeriesCount: M,
|
|
1968
1968
|
maxBoxUniqueSeriesCountTotal: W,
|
|
1969
1969
|
maxBoxTwoSeriesCountTotal: H,
|
|
1970
1970
|
maxBoxTwoSeriesCountPerSeries: q,
|
|
1971
|
-
maxBoxThreePlusSeriesCountTotal:
|
|
1971
|
+
maxBoxThreePlusSeriesCountTotal: oe,
|
|
1972
1972
|
maxBoxThreePlusSeriesCountPerSeries: _
|
|
1973
1973
|
} = nr(n);
|
|
1974
1974
|
switch (r) {
|
|
@@ -1976,23 +1976,23 @@ function Ja(e) {
|
|
|
1976
1976
|
case c.ComboLineAndBarSeries:
|
|
1977
1977
|
{
|
|
1978
1978
|
const L = t / i;
|
|
1979
|
-
i <= o ? i === 0 ? s = !0 : i === 1 ? s = t <=
|
|
1979
|
+
i <= o ? i === 0 ? s = !0 : i === 1 ? s = t <= l : i === 2 ? s = t <= d && L <= p : i > 2 && (s = t <= f && L <= u) : s = !1;
|
|
1980
1980
|
}
|
|
1981
1981
|
break;
|
|
1982
1982
|
case c.LineSeries:
|
|
1983
1983
|
case c.RadarSeries:
|
|
1984
1984
|
{
|
|
1985
1985
|
const L = t / i;
|
|
1986
|
-
i <= y ? i === 0 ? s = !0 : i === 1 ? s = t <= h : i === 2 ? s = t <= g && L <= b : i > 2 && (s = t <=
|
|
1986
|
+
i <= y ? i === 0 ? s = !0 : i === 1 ? s = t <= h : i === 2 ? s = t <= g && L <= b : i > 2 && (s = t <= I && L <= v) : s = !1;
|
|
1987
1987
|
}
|
|
1988
1988
|
break;
|
|
1989
1989
|
case c.PieSeries:
|
|
1990
|
-
s = t <=
|
|
1990
|
+
s = t <= S;
|
|
1991
1991
|
break;
|
|
1992
1992
|
case c.BoxPlotSeries:
|
|
1993
1993
|
{
|
|
1994
1994
|
const L = t / i;
|
|
1995
|
-
i <= M ? i === 0 ? s = !0 : i === 1 ? s = t <= W : i === 2 ? s = t <= H && L <= q : i > 2 && (s = t <=
|
|
1995
|
+
i <= M ? i === 0 ? s = !0 : i === 1 ? s = t <= W : i === 2 ? s = t <= H && L <= q : i > 2 && (s = t <= oe && L <= _) : s = !1;
|
|
1996
1996
|
}
|
|
1997
1997
|
break;
|
|
1998
1998
|
case c.GaugeSeries:
|
|
@@ -2010,7 +2010,7 @@ function Za(e = [], t) {
|
|
|
2010
2010
|
const i = e.find((r) => r.alias === t)?.name;
|
|
2011
2011
|
return i !== "" ? i ?? t : t;
|
|
2012
2012
|
}
|
|
2013
|
-
function
|
|
2013
|
+
function Ya(e) {
|
|
2014
2014
|
let t = !1;
|
|
2015
2015
|
switch (N(e)) {
|
|
2016
2016
|
case c.PieSeries:
|
|
@@ -2044,7 +2044,7 @@ function Ht(e) {
|
|
|
2044
2044
|
let t = !0;
|
|
2045
2045
|
return N(e.series) === c.PieSeries && (t = e.series.length <= 1), t;
|
|
2046
2046
|
}
|
|
2047
|
-
function
|
|
2047
|
+
function Xa(e, t) {
|
|
2048
2048
|
const i = N(t?.series);
|
|
2049
2049
|
let r = i !== void 0 && e.includes(i);
|
|
2050
2050
|
if (r && t !== void 0)
|
|
@@ -2148,7 +2148,7 @@ function rs(e, t) {
|
|
|
2148
2148
|
}
|
|
2149
2149
|
}
|
|
2150
2150
|
function ns(e) {
|
|
2151
|
-
return new
|
|
2151
|
+
return new Xr().sanitize(e);
|
|
2152
2152
|
}
|
|
2153
2153
|
function as(e) {
|
|
2154
2154
|
return e != null && !Number.isNaN(e) && Number.isFinite(e);
|
|
@@ -2161,7 +2161,7 @@ function sn(e, t) {
|
|
|
2161
2161
|
let i = { fieldToSort: "" };
|
|
2162
2162
|
if (!J(e)) {
|
|
2163
2163
|
const r = e.trim(), a = r.split(" ").at(-1)?.toUpperCase();
|
|
2164
|
-
a ===
|
|
2164
|
+
a === re.Ascending || a === re.Descending ? i = { fieldToSort: r.substring(0, r.lastIndexOf(" ")), orderBy: a } : (i = { fieldToSort: r }, t !== !1 && (i.orderBy = re.Ascending));
|
|
2165
2165
|
}
|
|
2166
2166
|
return i;
|
|
2167
2167
|
}
|
|
@@ -2180,8 +2180,8 @@ function ls(e, t) {
|
|
|
2180
2180
|
[ki]: void 0
|
|
2181
2181
|
});
|
|
2182
2182
|
i !== void 0 && (i = i.map(s)), n !== void 0 && (n = n.map(s));
|
|
2183
|
-
const o = !ct(i, n),
|
|
2184
|
-
return o ||
|
|
2183
|
+
const o = !ct(i, n), l = !ct(r, a);
|
|
2184
|
+
return o || l;
|
|
2185
2185
|
}
|
|
2186
2186
|
function ds(e) {
|
|
2187
2187
|
return e?.selectionOIDs === void 0 || e.selectionOIDs.length === 0;
|
|
@@ -2195,28 +2195,28 @@ function ps(e = {
|
|
|
2195
2195
|
if (i.length === 0 || t.length === 0)
|
|
2196
2196
|
return t;
|
|
2197
2197
|
const n = /* @__PURE__ */ new Map();
|
|
2198
|
-
i.forEach((
|
|
2199
|
-
const
|
|
2200
|
-
n.set(
|
|
2198
|
+
i.forEach((l, p) => {
|
|
2199
|
+
const d = r(l);
|
|
2200
|
+
n.set(d, p);
|
|
2201
2201
|
});
|
|
2202
2202
|
const a = [], s = [];
|
|
2203
|
-
t.forEach((
|
|
2204
|
-
const
|
|
2205
|
-
n.has(
|
|
2206
|
-
}), s.sort((
|
|
2207
|
-
const
|
|
2208
|
-
return n.get(
|
|
2203
|
+
t.forEach((l, p) => {
|
|
2204
|
+
const d = r(l);
|
|
2205
|
+
n.has(d) && (a.push(p), s.push(l));
|
|
2206
|
+
}), s.sort((l, p) => {
|
|
2207
|
+
const d = r(l), u = r(p);
|
|
2208
|
+
return n.get(d) - n.get(u);
|
|
2209
2209
|
});
|
|
2210
2210
|
const o = [...t];
|
|
2211
|
-
return a.forEach((
|
|
2212
|
-
o[
|
|
2211
|
+
return a.forEach((l, p) => {
|
|
2212
|
+
o[l] = s[p];
|
|
2213
2213
|
}), o;
|
|
2214
2214
|
}
|
|
2215
2215
|
const cs = {
|
|
2216
2216
|
isSupportedHistogram: Ut,
|
|
2217
2217
|
isSupportedPieChart: Ht,
|
|
2218
2218
|
isSupportedScatterplot: Gt
|
|
2219
|
-
},
|
|
2219
|
+
}, le = [
|
|
2220
2220
|
"1.0.0",
|
|
2221
2221
|
"1.0.1",
|
|
2222
2222
|
"2.0.0",
|
|
@@ -2325,22 +2325,22 @@ function cn(e) {
|
|
|
2325
2325
|
return e !== void 0 ? /^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(e) : !1;
|
|
2326
2326
|
}
|
|
2327
2327
|
function un(e) {
|
|
2328
|
-
let t =
|
|
2328
|
+
let t = de.Same, i = [];
|
|
2329
2329
|
if (cn(e) && e !== void 0) {
|
|
2330
|
-
|
|
2331
|
-
const n = Qe(e,
|
|
2332
|
-
if (n === 1 ? t =
|
|
2330
|
+
le.sort(Qe);
|
|
2331
|
+
const n = Qe(e, le[le.length - 1]);
|
|
2332
|
+
if (n === 1 ? t = de.Newer : n === -1 && (t = de.Older), t === de.Newer || t === de.Same)
|
|
2333
2333
|
i.push(e);
|
|
2334
2334
|
else {
|
|
2335
|
-
for (let a =
|
|
2336
|
-
if (Qe(e,
|
|
2337
|
-
i =
|
|
2335
|
+
for (let a = le.length - 2; a >= 0; a -= 1)
|
|
2336
|
+
if (Qe(e, le[a]) >= 0) {
|
|
2337
|
+
i = le.slice(a, le.length);
|
|
2338
2338
|
break;
|
|
2339
2339
|
}
|
|
2340
2340
|
i.length === 0 && i.push(ln);
|
|
2341
2341
|
}
|
|
2342
2342
|
} else
|
|
2343
|
-
t =
|
|
2343
|
+
t = de.Unrecognized, i.push(dn);
|
|
2344
2344
|
return { versionStatus: t, versions: i };
|
|
2345
2345
|
}
|
|
2346
2346
|
function fn(e) {
|
|
@@ -2361,7 +2361,7 @@ function De(e) {
|
|
|
2361
2361
|
let a = "";
|
|
2362
2362
|
return t !== void 0 && t.includes("=") && (a = t.split("=").slice(1).join("=").trim(), a === "null" ? a = null : a.trim() !== "" && !Number.isNaN(Number(a)) ? a = Number(a) : i === !1 ? n === !0 && (a = nn(a)) : a = zt({ value: a, keepSurroundingQuotes: r, escape: n })), a;
|
|
2363
2363
|
}
|
|
2364
|
-
function
|
|
2364
|
+
function be(e) {
|
|
2365
2365
|
let t = !1;
|
|
2366
2366
|
if (e === void 0 || e === "")
|
|
2367
2367
|
t = !0;
|
|
@@ -2388,17 +2388,17 @@ function Qt(e) {
|
|
|
2388
2388
|
function Jt(e) {
|
|
2389
2389
|
let t = m.BarAndLineMonoField;
|
|
2390
2390
|
const i = e[0].query?.where;
|
|
2391
|
-
return e[0].query?.groupByFieldsForStatistics === void 0 && (e[0].query?.outStatistics ?? []).length > 0 ? t = m.BarAndLineFromFields : i === void 0 && e[0].query?.outStatistics === void 0 ? t = m.BarAndLineNoAggregation :
|
|
2391
|
+
return e[0].query?.groupByFieldsForStatistics === void 0 && (e[0].query?.outStatistics ?? []).length > 0 ? t = m.BarAndLineFromFields : i === void 0 && e[0].query?.outStatistics === void 0 ? t = m.BarAndLineNoAggregation : be(i) ? e.length > 1 && (t = m.BarAndLineMultiFields) : t = e[0].query?.outStatistics === void 0 ? m.BarAndLineSplitByNoAggregation : m.BarAndLineSplitBy, t;
|
|
2392
2392
|
}
|
|
2393
2393
|
function yn(e) {
|
|
2394
2394
|
let t = m.BoxPlotMonoField;
|
|
2395
2395
|
const i = e.length === 1, r = e.find((o) => o.type === c.LineSeries) ?? e[0], { x: n } = r, a = "y" in r ? r.y : "", s = r.query?.where;
|
|
2396
2396
|
switch (n) {
|
|
2397
2397
|
case rt:
|
|
2398
|
-
typeof a == "object" && a.length > 1 ?
|
|
2398
|
+
typeof a == "object" && a.length > 1 ? be(s) ? i && (t = m.BoxPlotMultiFields) : t = m.BoxPlotMultiFieldsAndSplitBy : i ? t = m.BoxPlotMonoField : be(s) || (t = m.BoxPlotMonoFieldAndSplitBy);
|
|
2399
2399
|
break;
|
|
2400
2400
|
default:
|
|
2401
|
-
i ? t = m.BoxPlotMonoFieldAndCategory :
|
|
2401
|
+
i ? t = m.BoxPlotMonoFieldAndCategory : be(s) ? t = m.BoxPlotMultiFieldsAndCategory : t = m.BoxPlotMonoFieldAndCategoryAndSplitBy;
|
|
2402
2402
|
break;
|
|
2403
2403
|
}
|
|
2404
2404
|
return t;
|
|
@@ -2477,8 +2477,8 @@ function gn(e) {
|
|
|
2477
2477
|
}
|
|
2478
2478
|
function Ne(e) {
|
|
2479
2479
|
const { key: t, y: i, chartSubType: r, splitBy: n, splitByValue: a, showOutliers: s, standardizeValues: o } = e;
|
|
2480
|
-
let
|
|
2481
|
-
return s === !0 && (t === T.Min || t === T.Max) && (
|
|
2480
|
+
let l = a, d = mn(i)[t];
|
|
2481
|
+
return s === !0 && (t === T.Min || t === T.Max) && (d = `${d}${sr}`), o === !0 && (gn(r) || t === T.Outlier) && (d = `${d}${or}`), (a === void 0 || `${a}`.trim() === "") && (l = De({ where: n, normalize: !0, escape: !1 })), l !== void 0 && `${l}`.trim() !== "" && (d = `${l}${d !== "" ? `_${d}` : ""}`), d;
|
|
2482
2482
|
}
|
|
2483
2483
|
function Je(e) {
|
|
2484
2484
|
const { dataItem: t, y: i, splitBy: r, showOutliers: n } = e, a = Ne({ key: T.FirstQuartile, y: i, splitBy: r, showOutliers: n }), s = Ne({ key: T.ThirdQuartile, y: i, splitBy: r, showOutliers: n });
|
|
@@ -2536,12 +2536,12 @@ function vn(e) {
|
|
|
2536
2536
|
n = Me(t, i);
|
|
2537
2537
|
return n;
|
|
2538
2538
|
}
|
|
2539
|
-
function
|
|
2539
|
+
function te(e, t) {
|
|
2540
2540
|
return e === null && t === !0 || Number.isFinite(e);
|
|
2541
2541
|
}
|
|
2542
2542
|
function wn(e) {
|
|
2543
2543
|
const { dataItem: t, x: i, y: r, nullAsValid: n = !1 } = e;
|
|
2544
|
-
return t[i] !== void 0 && (typeof t[i] != "number" || Number.isFinite(t[i])) &&
|
|
2544
|
+
return t[i] !== void 0 && (typeof t[i] != "number" || Number.isFinite(t[i])) && te(t[r], n);
|
|
2545
2545
|
}
|
|
2546
2546
|
function bs(e) {
|
|
2547
2547
|
const { chartConfig: t, nullAsValid: i = !1, dataSet: r } = e;
|
|
@@ -2553,62 +2553,62 @@ function bs(e) {
|
|
|
2553
2553
|
else {
|
|
2554
2554
|
const s = Me(t.series);
|
|
2555
2555
|
n = !r.some((o) => {
|
|
2556
|
-
let
|
|
2556
|
+
let l = !1;
|
|
2557
2557
|
switch (a) {
|
|
2558
2558
|
case c.HistogramSeries:
|
|
2559
2559
|
{
|
|
2560
2560
|
const p = o;
|
|
2561
|
-
|
|
2561
|
+
l = te(p.minValue, i) && te(p.maxValue, i);
|
|
2562
2562
|
}
|
|
2563
2563
|
break;
|
|
2564
2564
|
case c.ScatterSeries:
|
|
2565
2565
|
{
|
|
2566
|
-
const p = o, { x:
|
|
2567
|
-
|
|
2566
|
+
const p = o, { x: d, y: u } = t.series[0];
|
|
2567
|
+
l = te(p[d], i) && te(p[u], i);
|
|
2568
2568
|
}
|
|
2569
2569
|
break;
|
|
2570
2570
|
case c.ComboLineAndBarSeries:
|
|
2571
2571
|
case c.RadarSeries:
|
|
2572
2572
|
case c.LineSeries:
|
|
2573
2573
|
case c.BarSeries: {
|
|
2574
|
-
const p = o, { x:
|
|
2575
|
-
|
|
2576
|
-
(u) => wn({ dataItem: p, x:
|
|
2574
|
+
const p = o, { x: d } = t.series[0];
|
|
2575
|
+
l = s.some(
|
|
2576
|
+
(u) => wn({ dataItem: p, x: d, y: u, nullAsValid: i })
|
|
2577
2577
|
);
|
|
2578
2578
|
break;
|
|
2579
2579
|
}
|
|
2580
2580
|
case c.BoxPlotSeries: {
|
|
2581
|
-
const p = t.series, { showOutliers:
|
|
2582
|
-
|
|
2581
|
+
const p = t.series, { showOutliers: d } = t;
|
|
2582
|
+
l = Sn({
|
|
2583
2583
|
configSeries: p,
|
|
2584
2584
|
boxPlotDataItem: o,
|
|
2585
2585
|
yList: s,
|
|
2586
|
-
showOutliers:
|
|
2586
|
+
showOutliers: d
|
|
2587
2587
|
});
|
|
2588
2588
|
break;
|
|
2589
2589
|
}
|
|
2590
2590
|
case c.PieSeries:
|
|
2591
2591
|
{
|
|
2592
2592
|
const p = o;
|
|
2593
|
-
let { x:
|
|
2594
|
-
Z(t.series) === m.PieFromFields && (
|
|
2593
|
+
let { x: d, y: u } = t.series[0];
|
|
2594
|
+
Z(t.series) === m.PieFromFields && (d = it, u = Tt);
|
|
2595
2595
|
const f = p[u];
|
|
2596
|
-
|
|
2596
|
+
l = p[d] !== void 0 && p[d] !== null && !xi(f) && te(Number(f), i);
|
|
2597
2597
|
}
|
|
2598
2598
|
break;
|
|
2599
2599
|
case c.GaugeSeries:
|
|
2600
2600
|
{
|
|
2601
2601
|
const { x: p } = t.series[0];
|
|
2602
|
-
|
|
2602
|
+
l = te(o[p], i);
|
|
2603
2603
|
}
|
|
2604
2604
|
break;
|
|
2605
|
-
case c.
|
|
2606
|
-
|
|
2607
|
-
(p) =>
|
|
2605
|
+
case c.HeatSeries:
|
|
2606
|
+
l = r.some(
|
|
2607
|
+
(p) => te(p[_i.valueField], i)
|
|
2608
2608
|
);
|
|
2609
2609
|
break;
|
|
2610
2610
|
}
|
|
2611
|
-
return
|
|
2611
|
+
return l;
|
|
2612
2612
|
});
|
|
2613
2613
|
}
|
|
2614
2614
|
}
|
|
@@ -2625,15 +2625,15 @@ function In(e, t) {
|
|
|
2625
2625
|
}
|
|
2626
2626
|
function xn(e) {
|
|
2627
2627
|
const { seriesConfig: t, filteredSeriesIds: i, filteredData: r } = e, n = In(t, i), a = t.find(
|
|
2628
|
-
(
|
|
2628
|
+
(l) => l.type === c.LineSeries || l.type === c.RadarSeries
|
|
2629
2629
|
)?.stackNegativeValuesToBaseline ?? !0;
|
|
2630
2630
|
let s = Number.MIN_SAFE_INTEGER, o = Number.MAX_SAFE_INTEGER;
|
|
2631
|
-
return r.forEach((
|
|
2632
|
-
n.forEach((
|
|
2631
|
+
return r.forEach((l, p) => {
|
|
2632
|
+
n.forEach((d) => {
|
|
2633
2633
|
if (a) {
|
|
2634
2634
|
let u = [], f = [];
|
|
2635
|
-
for (let y = 0; y <
|
|
2636
|
-
const h = d[
|
|
2635
|
+
for (let y = 0; y < d.length; y += 1) {
|
|
2636
|
+
const h = l[d[y]];
|
|
2637
2637
|
Number.isFinite(h) && (h < 0 ? f[p] = (f[p] ?? 0) + h : u[p] = (u[p] ?? 0) + h);
|
|
2638
2638
|
}
|
|
2639
2639
|
u = u.filter((y) => Number.isFinite(y)).sort((y, h) => y - h), f = f.filter((y) => Number.isFinite(y)).sort((y, h) => y - h), s = Math.max(
|
|
@@ -2645,8 +2645,8 @@ function xn(e) {
|
|
|
2645
2645
|
);
|
|
2646
2646
|
} else {
|
|
2647
2647
|
let u = 0;
|
|
2648
|
-
for (let f = 0; f <
|
|
2649
|
-
const y = d[
|
|
2648
|
+
for (let f = 0; f < d.length; f += 1) {
|
|
2649
|
+
const y = l[d[f]];
|
|
2650
2650
|
u += y, s = Math.max(s, u), o = Math.min(o, u);
|
|
2651
2651
|
}
|
|
2652
2652
|
}
|
|
@@ -2659,31 +2659,31 @@ function Cn(e) {
|
|
|
2659
2659
|
}
|
|
2660
2660
|
function gs(e) {
|
|
2661
2661
|
let t = Number.NaN, i = Number.NaN, r, n;
|
|
2662
|
-
const { chartConfig: a, chartData: s, filteredSeriesIds: o } = e, { series:
|
|
2663
|
-
if (
|
|
2664
|
-
const { x: p } =
|
|
2665
|
-
[r, n] = pt(
|
|
2662
|
+
const { chartConfig: a, chartData: s, filteredSeriesIds: o } = e, { series: l } = a;
|
|
2663
|
+
if (l?.length > 0) {
|
|
2664
|
+
const { x: p } = l[0], d = s.filter((y) => y[p] !== null);
|
|
2665
|
+
[r, n] = pt(d, (y) => y[p]), a.axes?.[1]?.valueFormat.type === c.DateAxisFormat && r !== void 0 && n !== void 0 && ([r, n] = [new Date(r).valueOf(), new Date(n).valueOf()]);
|
|
2666
2666
|
const f = N(a.series);
|
|
2667
2667
|
if (f === c.HistogramSeries && s.length > 0) {
|
|
2668
2668
|
const y = s[0]?.[ut.Start], h = s[s.length - 1]?.[ut.End];
|
|
2669
2669
|
r = typeof y == "number" ? y : r, n = typeof h == "number" ? h : n;
|
|
2670
2670
|
} else if (f === c.BoxPlotSeries) {
|
|
2671
2671
|
t = Number.MAX_SAFE_INTEGER, i = Number.MIN_SAFE_INTEGER;
|
|
2672
|
-
const y = Me(
|
|
2673
|
-
(
|
|
2672
|
+
const y = Me(l, o), h = Z(l), b = "standardizeValues" in a ? a.standardizeValues === !0 : void 0, g = a.series.map(
|
|
2673
|
+
(v) => v.visible !== !1 ? De({ where: v.query?.where }) : ""
|
|
2674
2674
|
);
|
|
2675
2675
|
g.length === 0 && g.push(" ");
|
|
2676
|
-
for (let
|
|
2677
|
-
for (let
|
|
2678
|
-
const
|
|
2676
|
+
for (let v = 0; v < d.length; v += 1)
|
|
2677
|
+
for (let I = 0; I < y.length; I += 1) {
|
|
2678
|
+
const S = h === m.BoxPlotMultiFieldsAndCategory ? y[I] : void 0;
|
|
2679
2679
|
for (let j = 0; j < g.length; j += 1) {
|
|
2680
2680
|
const { min: M, max: W } = Cn({
|
|
2681
|
-
y:
|
|
2681
|
+
y: S,
|
|
2682
2682
|
splitByValue: g[j],
|
|
2683
2683
|
chartSubType: h,
|
|
2684
2684
|
showOutliers: !1,
|
|
2685
2685
|
standardizeValues: b,
|
|
2686
|
-
dataItem:
|
|
2686
|
+
dataItem: d[v]
|
|
2687
2687
|
});
|
|
2688
2688
|
M != null && M < t && (t = M), W != null && W > i && (i = W);
|
|
2689
2689
|
}
|
|
@@ -2696,8 +2696,8 @@ function gs(e) {
|
|
|
2696
2696
|
}
|
|
2697
2697
|
case ke.Stacked: {
|
|
2698
2698
|
const { stackedMinY: h, stackedMaxY: b } = xn({
|
|
2699
|
-
seriesConfig:
|
|
2700
|
-
filteredData:
|
|
2699
|
+
seriesConfig: l,
|
|
2700
|
+
filteredData: d,
|
|
2701
2701
|
filteredSeriesIds: o
|
|
2702
2702
|
});
|
|
2703
2703
|
t = h, i = b;
|
|
@@ -2706,13 +2706,13 @@ function gs(e) {
|
|
|
2706
2706
|
case ke.Side:
|
|
2707
2707
|
default: {
|
|
2708
2708
|
t = Number.MAX_SAFE_INTEGER, i = Number.MIN_SAFE_INTEGER;
|
|
2709
|
-
const h = Me(
|
|
2709
|
+
const h = Me(l, o);
|
|
2710
2710
|
for (let b = 0; b < h.length; b += 1) {
|
|
2711
|
-
const g = h[b], [
|
|
2712
|
-
|
|
2713
|
-
(
|
|
2711
|
+
const g = h[b], [v, I] = pt(
|
|
2712
|
+
d,
|
|
2713
|
+
(S) => S[g]
|
|
2714
2714
|
);
|
|
2715
|
-
|
|
2715
|
+
v !== void 0 && v < t && (t = v), I !== void 0 && I > i && (i = I);
|
|
2716
2716
|
}
|
|
2717
2717
|
break;
|
|
2718
2718
|
}
|
|
@@ -2720,7 +2720,7 @@ function gs(e) {
|
|
|
2720
2720
|
}
|
|
2721
2721
|
return { minY: t, maxY: i, minX: r, maxX: n };
|
|
2722
2722
|
}
|
|
2723
|
-
class
|
|
2723
|
+
class Y extends Error {
|
|
2724
2724
|
/**
|
|
2725
2725
|
* Creates a new ArcgisChartsError instance.
|
|
2726
2726
|
*
|
|
@@ -2811,53 +2811,53 @@ const xe = /* @__PURE__ */ new Map();
|
|
|
2811
2811
|
function On(e) {
|
|
2812
2812
|
let t;
|
|
2813
2813
|
switch (e) {
|
|
2814
|
-
case
|
|
2814
|
+
case ye.Feet:
|
|
2815
2815
|
t = "esriSRUnit_Foot";
|
|
2816
2816
|
break;
|
|
2817
|
-
case
|
|
2817
|
+
case ye.Miles:
|
|
2818
2818
|
t = "esriSRUnit_StatuteMile";
|
|
2819
2819
|
break;
|
|
2820
|
-
case
|
|
2820
|
+
case ye.NauticalMiles:
|
|
2821
2821
|
t = "esriSRUnit_NauticalMile";
|
|
2822
2822
|
break;
|
|
2823
|
-
case
|
|
2823
|
+
case ye.USNauticalMiles:
|
|
2824
2824
|
t = "esriSRUnit_USNauticalMile";
|
|
2825
2825
|
break;
|
|
2826
|
-
case
|
|
2826
|
+
case ye.Meters:
|
|
2827
2827
|
t = "esriSRUnit_Meter";
|
|
2828
2828
|
break;
|
|
2829
|
-
case
|
|
2829
|
+
case ye.Kilometers:
|
|
2830
2830
|
t = "esriSRUnit_Kilometer";
|
|
2831
2831
|
break;
|
|
2832
2832
|
}
|
|
2833
2833
|
return t;
|
|
2834
2834
|
}
|
|
2835
2835
|
async function Ts(e) {
|
|
2836
|
-
const { queryObject: t, queryConfig: i, outputFormat: r, dataFormat: n, outAnalytics: a } = e, { where: s, geometry: o, distance:
|
|
2836
|
+
const { queryObject: t, queryConfig: i, outputFormat: r, dataFormat: n, outAnalytics: a } = e, { where: s, geometry: o, distance: l, units: p, timeExtent: d } = i;
|
|
2837
2837
|
let u;
|
|
2838
2838
|
const f = P(t), y = R(f), b = { query: { where: Ce([s, y.definitionExpression]) } }, g = lt(o)?.extent?.toJSON();
|
|
2839
2839
|
if (g !== void 0) {
|
|
2840
|
-
const
|
|
2840
|
+
const I = On(p), { xmin: S, ymin: j, xmax: M, ymax: W } = g;
|
|
2841
2841
|
b.query = {
|
|
2842
2842
|
...b.query,
|
|
2843
2843
|
geometryType: "esriGeometryEnvelope",
|
|
2844
|
-
geometry: `${
|
|
2845
|
-
distance:
|
|
2846
|
-
units:
|
|
2844
|
+
geometry: `${S},${j},${M},${W}`,
|
|
2845
|
+
distance: l,
|
|
2846
|
+
units: I,
|
|
2847
2847
|
inSR: o?.spatialReference?.wkid
|
|
2848
2848
|
};
|
|
2849
2849
|
}
|
|
2850
|
-
|
|
2851
|
-
const
|
|
2850
|
+
d && (b.query.time = `${d[0]},${d[1]}`);
|
|
2851
|
+
const v = `${y.url}/${y.layerId}/queryAnalytic?f=${r}&dataFormat=${n}&outAnalytics=${a}`;
|
|
2852
2852
|
try {
|
|
2853
|
-
u = (await Ke(
|
|
2854
|
-
} catch (
|
|
2855
|
-
const
|
|
2856
|
-
|
|
2857
|
-
|
|
2853
|
+
u = (await Ke(v, b)).data?.features?.[0]?.attributes;
|
|
2854
|
+
} catch (I) {
|
|
2855
|
+
const S = (await $(
|
|
2856
|
+
B(document.documentElement).t9nLocale,
|
|
2857
|
+
O("./assets/common/t9n"),
|
|
2858
2858
|
"messages."
|
|
2859
2859
|
)).errorStrings;
|
|
2860
|
-
throw new
|
|
2860
|
+
throw new Y(U.QueryFeaturesError, S.errors.queryError, I);
|
|
2861
2861
|
}
|
|
2862
2862
|
return u;
|
|
2863
2863
|
}
|
|
@@ -2872,23 +2872,25 @@ async function Fs(e) {
|
|
|
2872
2872
|
const { chartConfig: t, queryObject: i, queryConfig: r, errorStrings: n } = e;
|
|
2873
2873
|
let a;
|
|
2874
2874
|
const s = P(i), o = An(s);
|
|
2875
|
-
if (o && i && "queryAttributeBins" in i && t.series[0].type === c.
|
|
2876
|
-
const { x:
|
|
2875
|
+
if (o && i && "queryAttributeBins" in i && t.series[0].type === c.HeatSeries) {
|
|
2876
|
+
const { x: l, y: p, xTemporalBinning: d, yTemporalBinning: u } = t.series[0], { outTimeZone: f, firstDayOfWeek: y } = t, h = await _n({
|
|
2877
2877
|
queryObject: i,
|
|
2878
2878
|
queryConfig: r,
|
|
2879
|
-
x:
|
|
2879
|
+
x: l,
|
|
2880
2880
|
y: p,
|
|
2881
|
-
xTemporalBinning:
|
|
2882
|
-
yTemporalBinning: u
|
|
2881
|
+
xTemporalBinning: d,
|
|
2882
|
+
yTemporalBinning: u,
|
|
2883
|
+
outTimeZone: f,
|
|
2884
|
+
firstDayOfWeek: y
|
|
2883
2885
|
});
|
|
2884
2886
|
try {
|
|
2885
|
-
a = await i.queryAttributeBins(
|
|
2886
|
-
} catch (
|
|
2887
|
-
throw new
|
|
2887
|
+
a = await i.queryAttributeBins(h);
|
|
2888
|
+
} catch (b) {
|
|
2889
|
+
throw new Y(U.QueryFeaturesError, n.errors.queryError, b);
|
|
2888
2890
|
}
|
|
2889
2891
|
}
|
|
2890
2892
|
if (!o)
|
|
2891
|
-
throw new
|
|
2893
|
+
throw new Y(
|
|
2892
2894
|
U.QueryFeaturesError,
|
|
2893
2895
|
n.errors.queryBinsNotSupported,
|
|
2894
2896
|
n.errors.queryBinsNotSupported
|
|
@@ -2898,25 +2900,25 @@ async function Fs(e) {
|
|
|
2898
2900
|
}
|
|
2899
2901
|
async function As(e) {
|
|
2900
2902
|
const { chartConfig: t, queryObject: i, queryConfig: r, returnFeaturesExtent: n, errorStrings: a, abortKey: s } = e, o = t.series[0];
|
|
2901
|
-
let
|
|
2902
|
-
if (o.type === c.
|
|
2903
|
-
const { x: p, y:
|
|
2904
|
-
r.groupByFieldsForStatistics = [p], p !==
|
|
2903
|
+
let l;
|
|
2904
|
+
if (o.type === c.HeatSeries) {
|
|
2905
|
+
const { x: p, y: d } = o;
|
|
2906
|
+
r.groupByFieldsForStatistics = [p], p !== d && r.groupByFieldsForStatistics.push(d), r && n === !0 && !r.outStatistics?.some((u) => u.statisticType === F.EnvelopeAggregate) && r.outStatistics?.push({
|
|
2905
2907
|
statisticType: F.EnvelopeAggregate,
|
|
2906
2908
|
onStatisticField: "1"
|
|
2907
2909
|
});
|
|
2908
2910
|
try {
|
|
2909
|
-
|
|
2911
|
+
l = await Xt({ queryObject: i, queryConfig: r, abortKey: s });
|
|
2910
2912
|
} catch (u) {
|
|
2911
|
-
throw new
|
|
2913
|
+
throw new Y(U.QueryFeaturesError, a.errors.queryError, u);
|
|
2912
2914
|
}
|
|
2913
2915
|
}
|
|
2914
|
-
return
|
|
2916
|
+
return l;
|
|
2915
2917
|
}
|
|
2916
2918
|
async function Ls(e) {
|
|
2917
|
-
const { queryObject: t, queryConfig: i, xStep: r, xMin: n, xMax: a, x: s, y: o, yStep:
|
|
2918
|
-
let
|
|
2919
|
-
if (t && "queryAttributeBins" in t && Number.isFinite(r) && Number.isFinite(
|
|
2919
|
+
const { queryObject: t, queryConfig: i, xStep: r, xMin: n, xMax: a, x: s, y: o, yStep: l, errorStrings: p } = e;
|
|
2920
|
+
let d;
|
|
2921
|
+
if (t && "queryAttributeBins" in t && Number.isFinite(r) && Number.isFinite(l) && Number.isFinite(n) && Number.isFinite(a) && r > 0 && l > 0) {
|
|
2920
2922
|
const u = Nn({
|
|
2921
2923
|
queryObject: t,
|
|
2922
2924
|
queryConfig: i,
|
|
@@ -2925,32 +2927,32 @@ async function Ls(e) {
|
|
|
2925
2927
|
xMax: a,
|
|
2926
2928
|
x: s,
|
|
2927
2929
|
y: o,
|
|
2928
|
-
yStep:
|
|
2930
|
+
yStep: l
|
|
2929
2931
|
});
|
|
2930
2932
|
try {
|
|
2931
|
-
|
|
2933
|
+
d = await t.queryAttributeBins(u);
|
|
2932
2934
|
} catch (f) {
|
|
2933
|
-
throw new
|
|
2935
|
+
throw new Y(U.QueryFeaturesError, p.errors.queryError, f);
|
|
2934
2936
|
}
|
|
2935
2937
|
}
|
|
2936
|
-
return
|
|
2938
|
+
return d;
|
|
2937
2939
|
}
|
|
2938
2940
|
async function Ds(e) {
|
|
2939
2941
|
const { queryConfig: t, x: i, queryObject: r, chartSubType: n, isGaugeByFeature: a } = e, s = P(r);
|
|
2940
2942
|
let o;
|
|
2941
2943
|
if (r !== void 0) {
|
|
2942
|
-
const
|
|
2944
|
+
const l = s.objectIdField, { where: p, gdbVersion: d, timeExtent: u, geometry: f, distance: y, units: h } = t, b = kn(u), g = lt(f), v = R(s), I = Ce([p, v.definitionExpression]), S = {
|
|
2943
2945
|
returnDistinctValues: !0,
|
|
2944
2946
|
// See issue #2653. We need a unique value for the outFields, no matter what it is, except "*", "" or multiple values.
|
|
2945
|
-
outFields: a === !0 || n === m.PieNoAggregation || n === m.BarAndLineNoAggregation || n === m.BarAndLineSplitByNoAggregation ? [
|
|
2946
|
-
where:
|
|
2947
|
-
gdbVersion:
|
|
2948
|
-
timeExtent: b ??
|
|
2947
|
+
outFields: a === !0 || n === m.PieNoAggregation || n === m.BarAndLineNoAggregation || n === m.BarAndLineSplitByNoAggregation ? [l] : [i],
|
|
2948
|
+
where: I,
|
|
2949
|
+
gdbVersion: d ?? v.gdbVersion,
|
|
2950
|
+
timeExtent: b ?? v.timeExtent,
|
|
2949
2951
|
geometry: g
|
|
2950
2952
|
};
|
|
2951
|
-
ei(
|
|
2953
|
+
ei(S) && (S.cacheHint = !0), S.geometry !== void 0 && Zt(s) && (y !== void 0 && (S.distance = y), h !== void 0 && (S.units = h));
|
|
2952
2954
|
try {
|
|
2953
|
-
o = await r.queryFeatureCount(
|
|
2955
|
+
o = await r.queryFeatureCount(S);
|
|
2954
2956
|
} catch {
|
|
2955
2957
|
o = Number.NaN;
|
|
2956
2958
|
}
|
|
@@ -2960,8 +2962,8 @@ async function Ds(e) {
|
|
|
2960
2962
|
async function Os(e) {
|
|
2961
2963
|
const { queryObject: t, queryConfig: i, abortKey: r } = e, { outStatistics: n } = i, a = /* @__PURE__ */ new Map();
|
|
2962
2964
|
if (t !== void 0 && n !== void 0 && n.length > 0) {
|
|
2963
|
-
const s = n.map((
|
|
2964
|
-
const { statisticType: u, onStatisticField: f, outStatisticFieldName: y } =
|
|
2965
|
+
const s = n.map((d) => {
|
|
2966
|
+
const { statisticType: u, onStatisticField: f, outStatisticFieldName: y } = d;
|
|
2965
2967
|
return {
|
|
2966
2968
|
statisticType: u,
|
|
2967
2969
|
onStatisticField: f,
|
|
@@ -2973,24 +2975,24 @@ async function Os(e) {
|
|
|
2973
2975
|
queryObject: t,
|
|
2974
2976
|
queryConfig: i
|
|
2975
2977
|
});
|
|
2976
|
-
let
|
|
2978
|
+
let l;
|
|
2977
2979
|
try {
|
|
2978
|
-
|
|
2980
|
+
l = await t.queryFeatures(o, {
|
|
2979
2981
|
signal: r !== void 0 ? xe.get(r)?.signal : void 0
|
|
2980
2982
|
});
|
|
2981
|
-
} catch (
|
|
2982
|
-
if (!Ct.isAbortError(
|
|
2983
|
-
const u = (await
|
|
2984
|
-
|
|
2985
|
-
|
|
2983
|
+
} catch (d) {
|
|
2984
|
+
if (!Ct.isAbortError(d)) {
|
|
2985
|
+
const u = (await $(
|
|
2986
|
+
B(document.documentElement).t9nLocale,
|
|
2987
|
+
O("./assets/common/t9n"),
|
|
2986
2988
|
"messages."
|
|
2987
2989
|
)).errorStrings;
|
|
2988
|
-
throw new
|
|
2990
|
+
throw new Y(U.QueryFeaturesError, u.errors.queryError, d);
|
|
2989
2991
|
}
|
|
2990
2992
|
}
|
|
2991
|
-
const p =
|
|
2992
|
-
p !== void 0 && n.forEach((
|
|
2993
|
-
const { outStatisticFieldName: u } =
|
|
2993
|
+
const p = l?.features?.[0]?.attributes;
|
|
2994
|
+
p !== void 0 && n.forEach((d) => {
|
|
2995
|
+
const { outStatisticFieldName: u } = d;
|
|
2994
2996
|
if (u !== void 0) {
|
|
2995
2997
|
const f = p[u.toLowerCase()] ?? p[u.toUpperCase()] ?? p[u];
|
|
2996
2998
|
f !== void 0 && a.set(u, f);
|
|
@@ -2999,30 +3001,30 @@ async function Os(e) {
|
|
|
2999
3001
|
}
|
|
3000
3002
|
return a;
|
|
3001
3003
|
}
|
|
3002
|
-
async function
|
|
3004
|
+
async function Yt(e) {
|
|
3003
3005
|
const { queryObject: t, queryConfig: i, returnUniqueIdsOnly: r, abortKey: n } = e;
|
|
3004
3006
|
let a = [];
|
|
3005
3007
|
const s = P(t);
|
|
3006
3008
|
if (t !== void 0) {
|
|
3007
|
-
const o = Mn(s),
|
|
3009
|
+
const o = Mn(s), l = ri({
|
|
3008
3010
|
queryObject: t,
|
|
3009
3011
|
queryConfig: i,
|
|
3010
3012
|
maxRecordCountFactor: o
|
|
3011
3013
|
});
|
|
3012
3014
|
try {
|
|
3013
|
-
r === !0 ? "queryObjectIds" in t ? a = await t.queryObjectIds(
|
|
3015
|
+
r === !0 ? "queryObjectIds" in t ? a = await t.queryObjectIds(l) : (l.outFields = [s.objectIdField], a = (await t.queryFeatures(l, {
|
|
3014
3016
|
signal: n !== void 0 ? xe.get(n)?.signal : void 0
|
|
3015
|
-
})).features.map((
|
|
3017
|
+
})).features.map((d) => d.attributes[s.objectIdField])) : a = (await t.queryFeatures(l, {
|
|
3016
3018
|
signal: n !== void 0 ? xe.get(n)?.signal : void 0
|
|
3017
3019
|
})).features;
|
|
3018
3020
|
} catch (p) {
|
|
3019
3021
|
if (!Ct.isAbortError(p)) {
|
|
3020
|
-
const
|
|
3021
|
-
|
|
3022
|
-
|
|
3022
|
+
const d = (await $(
|
|
3023
|
+
B(document.documentElement).t9nLocale,
|
|
3024
|
+
O("./assets/common/t9n"),
|
|
3023
3025
|
"messages."
|
|
3024
3026
|
)).errorStrings;
|
|
3025
|
-
throw new
|
|
3027
|
+
throw new Y(U.QueryFeaturesError, d.errors.queryError, p);
|
|
3026
3028
|
}
|
|
3027
3029
|
}
|
|
3028
3030
|
}
|
|
@@ -3031,39 +3033,39 @@ async function Xt(e) {
|
|
|
3031
3033
|
async function Bn(e) {
|
|
3032
3034
|
const t = [], { featureCount: i, maxRecords: r, queryConfig: n } = e;
|
|
3033
3035
|
let a = [], s = 0, o = n?.start ?? 0;
|
|
3034
|
-
for (; s <
|
|
3036
|
+
for (; s < pe.maxParallelRequests && o < i; ) {
|
|
3035
3037
|
const p = { ...e };
|
|
3036
3038
|
p.queryConfig = {
|
|
3037
3039
|
...n,
|
|
3038
3040
|
start: o,
|
|
3039
3041
|
num: Math.min(r, i - o)
|
|
3040
|
-
}, t.push(
|
|
3042
|
+
}, t.push(Yt(p)), o += r, s += 1;
|
|
3041
3043
|
}
|
|
3042
3044
|
return a = (await Promise.all(t)).flat(), a;
|
|
3043
3045
|
}
|
|
3044
|
-
async function
|
|
3046
|
+
async function Xt(e) {
|
|
3045
3047
|
const { queryObject: t, queryConfig: i, returnUniqueIdsOnly: r, featureCount: n, noBatch: a, abortKey: s } = e;
|
|
3046
3048
|
let o = [];
|
|
3047
|
-
const
|
|
3049
|
+
const l = P(t);
|
|
3048
3050
|
if (t !== void 0) {
|
|
3049
|
-
const p = n ?? 1,
|
|
3050
|
-
if (a !== !0 && p >
|
|
3051
|
+
const p = n ?? 1, d = ti(l);
|
|
3052
|
+
if (a !== !0 && p > d && l.capabilities?.query.supportsPagination) {
|
|
3051
3053
|
let u = 0, f = 0;
|
|
3052
|
-
const y = Math.ceil(p /
|
|
3054
|
+
const y = Math.ceil(p / d), h = Math.ceil(y / pe.maxParallelRequests), b = [];
|
|
3053
3055
|
for (; f < h; ) {
|
|
3054
|
-
u = f *
|
|
3055
|
-
const
|
|
3056
|
+
u = f * pe.maxParallelRequests * d;
|
|
3057
|
+
const v = Bn({
|
|
3056
3058
|
queryConfig: { ...i, start: u },
|
|
3057
3059
|
queryObject: t,
|
|
3058
|
-
maxRecords:
|
|
3060
|
+
maxRecords: d,
|
|
3059
3061
|
featureCount: p,
|
|
3060
3062
|
returnUniqueIdsOnly: r,
|
|
3061
3063
|
abortKey: s
|
|
3062
3064
|
});
|
|
3063
|
-
b.push(
|
|
3065
|
+
b.push(v), f += 1;
|
|
3064
3066
|
}
|
|
3065
3067
|
o = (await Promise.all(b)).flat();
|
|
3066
|
-
} else (Number.isNaN(p) || p >= 0) && (o = await
|
|
3068
|
+
} else (Number.isNaN(p) || p >= 0) && (o = await Yt({
|
|
3067
3069
|
queryObject: t,
|
|
3068
3070
|
queryConfig: i,
|
|
3069
3071
|
returnUniqueIdsOnly: r,
|
|
@@ -3074,7 +3076,7 @@ async function Yt(e) {
|
|
|
3074
3076
|
}
|
|
3075
3077
|
async function $s(e) {
|
|
3076
3078
|
const { queryObject: t, queryConfig: i, uniqueFeature: r, abortKey: n } = e, a = { ...i, returnDistinctValues: !0 };
|
|
3077
|
-
return await
|
|
3079
|
+
return await Xt({
|
|
3078
3080
|
queryObject: t,
|
|
3079
3081
|
abortKey: n,
|
|
3080
3082
|
queryConfig: a,
|
|
@@ -3099,40 +3101,40 @@ async function Rs(e) {
|
|
|
3099
3101
|
const { queryObject: t, dateField: i, splitByField: r, queryConfig: n, temporalBinning: a } = e;
|
|
3100
3102
|
let s = [], o;
|
|
3101
3103
|
if (a) {
|
|
3102
|
-
const { unit:
|
|
3104
|
+
const { unit: l } = a;
|
|
3103
3105
|
try {
|
|
3104
|
-
if (
|
|
3106
|
+
if (l) {
|
|
3105
3107
|
const p = R(P(t));
|
|
3106
3108
|
if (o = Ln(p, r), o && t && "queryAttributeBins" in t) {
|
|
3107
|
-
const
|
|
3109
|
+
const d = await Wn({
|
|
3108
3110
|
queryObject: t,
|
|
3109
3111
|
queryConfig: n,
|
|
3110
3112
|
temporalBinning: a,
|
|
3111
3113
|
dateField: i,
|
|
3112
3114
|
splitByField: r
|
|
3113
3115
|
});
|
|
3114
|
-
s = (await t.queryAttributeBins(
|
|
3116
|
+
s = (await t.queryAttributeBins(d)).features;
|
|
3115
3117
|
}
|
|
3116
3118
|
}
|
|
3117
3119
|
} catch (p) {
|
|
3118
|
-
const
|
|
3119
|
-
|
|
3120
|
-
|
|
3120
|
+
const d = (await $(
|
|
3121
|
+
B(document.documentElement).t9nLocale,
|
|
3122
|
+
O("./assets/common/t9n"),
|
|
3121
3123
|
"messages."
|
|
3122
3124
|
)).errorStrings;
|
|
3123
|
-
throw new
|
|
3125
|
+
throw new Y(U.QueryFeaturesError, d.errors.queryError, p);
|
|
3124
3126
|
}
|
|
3125
3127
|
}
|
|
3126
3128
|
if (o === !1) {
|
|
3127
|
-
const
|
|
3128
|
-
|
|
3129
|
-
|
|
3129
|
+
const l = (await $(
|
|
3130
|
+
B(document.documentElement).t9nLocale,
|
|
3131
|
+
O("./assets/common/t9n"),
|
|
3130
3132
|
"messages."
|
|
3131
3133
|
)).errorStrings;
|
|
3132
|
-
throw new
|
|
3134
|
+
throw new Y(
|
|
3133
3135
|
U.QueryFeaturesError,
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
+
l.errors.queryBinsNotSupported,
|
|
3137
|
+
l.errors.queryBinsNotSupported
|
|
3136
3138
|
// given we are out of a try/catch we set the details to the same error message
|
|
3137
3139
|
);
|
|
3138
3140
|
}
|
|
@@ -3144,13 +3146,13 @@ function ei(e) {
|
|
|
3144
3146
|
}
|
|
3145
3147
|
function ti(e) {
|
|
3146
3148
|
const t = R(e)?.sourceJSON;
|
|
3147
|
-
let i = t?.maxRecordCount ??
|
|
3148
|
-
return t?.advancedQueryCapabilities?.supportsMaxRecordCountFactor && t?.maxRecordCount !== void 0 && (i = t.maxRecordCount *
|
|
3149
|
+
let i = t?.maxRecordCount ?? pe.maxRecords;
|
|
3150
|
+
return t?.advancedQueryCapabilities?.supportsMaxRecordCountFactor && t?.maxRecordCount !== void 0 && (i = t.maxRecordCount * pe.maxRecordCountFactor), i;
|
|
3149
3151
|
}
|
|
3150
3152
|
function Ce(e, t) {
|
|
3151
3153
|
let i;
|
|
3152
3154
|
const r = Array.from(new Set(e)).filter(
|
|
3153
|
-
(n) => n != null && n !== "" && !
|
|
3155
|
+
(n) => n != null && n !== "" && !be(n)
|
|
3154
3156
|
);
|
|
3155
3157
|
return r.sort((n, a) => a.length - n.length), r.length === 1 ? [i] = r : r?.forEach((n) => {
|
|
3156
3158
|
n !== void 0 && (J(i) ? i = `(${n})` : i?.includes(`(${n})`) || (i = `${i} ${t ?? "AND"} (${n})`));
|
|
@@ -3168,8 +3170,8 @@ function jn(e) {
|
|
|
3168
3170
|
const { queryObject: t, defaultGeometry: i, ignoreViewExtent: r } = e;
|
|
3169
3171
|
let n = i;
|
|
3170
3172
|
if (!r && st(t)) {
|
|
3171
|
-
const a = t.view.extent, { xmin: s, xmax: o, ymin:
|
|
3172
|
-
n = { xmin: s, ymin:
|
|
3173
|
+
const a = t.view.extent, { xmin: s, xmax: o, ymin: l, ymax: p, zmin: d, zmax: u, spatialReference: f } = a;
|
|
3174
|
+
n = { xmin: s, ymin: l, zmin: d, xmax: o, ymax: p, zmax: u, spatialReference: f };
|
|
3173
3175
|
}
|
|
3174
3176
|
return n;
|
|
3175
3177
|
}
|
|
@@ -3188,23 +3190,23 @@ function ii(e) {
|
|
|
3188
3190
|
return e === void 0 ? ["*"] : Array.from(new Set(e));
|
|
3189
3191
|
}
|
|
3190
3192
|
function Ue(e) {
|
|
3191
|
-
const { queryObject: t, queryConfig: i, queryType: r } = e, { where: n, outStatistics: a, geometry: s, distance: o, units:
|
|
3193
|
+
const { queryObject: t, queryConfig: i, queryType: r } = e, { where: n, outStatistics: a, geometry: s, distance: o, units: l, timeExtent: p, returnDistinctValues: d } = i ?? {}, u = r === "Query" ? new Bi({}) : new $i({}), f = P(t), y = R(f);
|
|
3192
3194
|
let h;
|
|
3193
3195
|
r === "AttributeBinsQuery" && i?.objectIds?.[0] !== void 0 && (h = `${f.objectIdField} IN (${i.objectIds.join(",")})`);
|
|
3194
3196
|
const b = [n, y.definitionExpression, h];
|
|
3195
|
-
if (u.where = Ce(b), u.returnDistinctValues =
|
|
3196
|
-
const
|
|
3197
|
+
if (u.where = Ce(b), u.returnDistinctValues = d ?? !1, a !== void 0) {
|
|
3198
|
+
const I = Dn(f);
|
|
3197
3199
|
u.outStatistics = a.filter(
|
|
3198
|
-
(
|
|
3199
|
-
).map((
|
|
3200
|
+
(S) => S.statisticType !== F.EnvelopeAggregate || I
|
|
3201
|
+
).map((S) => Ri.fromJSON(S));
|
|
3200
3202
|
}
|
|
3201
3203
|
const g = lt(s);
|
|
3202
|
-
g !== void 0 && (u.geometry = g, i?.spatialRelationship && (u.spatialRelationship = i.spatialRelationship), Zt(f) && (o !== void 0 && (u.distance = o),
|
|
3203
|
-
let
|
|
3204
|
-
return p && (
|
|
3204
|
+
g !== void 0 && (u.geometry = g, i?.spatialRelationship && (u.spatialRelationship = i.spatialRelationship), Zt(f) && (o !== void 0 && (u.distance = o), l !== void 0 && (u.units = l)));
|
|
3205
|
+
let v;
|
|
3206
|
+
return p && (v = new xt({
|
|
3205
3207
|
start: p?.[0],
|
|
3206
3208
|
end: p?.[1]
|
|
3207
|
-
})),
|
|
3209
|
+
})), v !== void 0 ? u.timeExtent = v : y.timeExtent !== void 0 && (u.timeExtent = y.timeExtent), ei(u) && (u.cacheHint = !0), u;
|
|
3208
3210
|
}
|
|
3209
3211
|
function En(e) {
|
|
3210
3212
|
let t;
|
|
@@ -3219,24 +3221,24 @@ function En(e) {
|
|
|
3219
3221
|
return t;
|
|
3220
3222
|
}
|
|
3221
3223
|
async function Wn(e) {
|
|
3222
|
-
const { queryObject: t, queryConfig: i, temporalBinning: r, dateField: n, splitByField: a } = e, s = P(t),
|
|
3224
|
+
const { queryObject: t, queryConfig: i, temporalBinning: r, dateField: n, splitByField: a } = e, s = P(t), l = (await Oe(t)).find((I) => I.name === n)?.type, p = Ue({
|
|
3223
3225
|
queryObject: t,
|
|
3224
3226
|
queryConfig: i,
|
|
3225
3227
|
queryType: "AttributeBinsQuery"
|
|
3226
|
-
}), { unit:
|
|
3227
|
-
if (p.lowerBoundaryAlias =
|
|
3228
|
+
}), { unit: d, size: u, timeAggregationType: f, start: y, end: h, offset: b, outTimeZone: g } = r, v = Rn(n);
|
|
3229
|
+
if (p.lowerBoundaryAlias = v.lowerBoundaryAlias, p.upperBoundaryAlias = v.upperBoundaryAlias, l !== D.DateOnly && (p.outTimeZone = g ?? Intl.DateTimeFormat().resolvedOptions().timeZone), p.binParameters = {
|
|
3228
3230
|
type: "date",
|
|
3229
3231
|
field: n,
|
|
3230
|
-
interval: { unit:
|
|
3232
|
+
interval: { unit: d, value: u },
|
|
3231
3233
|
start: y,
|
|
3232
3234
|
end: h,
|
|
3233
3235
|
offset: b ? { unit: b.unit, value: b.size } : null
|
|
3234
3236
|
}, p.binParameters.type === "date" && (s.capabilities?.queryAttributeBins?.supportsSnapToData && (p.binParameters.snapToData = En(f)), s.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin && (p.binParameters.returnFullIntervalBin = !0)), !J(a)) {
|
|
3235
|
-
const
|
|
3236
|
-
(!
|
|
3237
|
+
const S = R(s).fields.find((j) => j.name === a)?.type;
|
|
3238
|
+
(!S || S === "string" || S === "integer" || S === "small-integer" || S === "big-integer" || S === "double") && (p.binParameters.stackBy = {
|
|
3237
3239
|
type: "field",
|
|
3238
3240
|
value: a,
|
|
3239
|
-
valueType:
|
|
3241
|
+
valueType: S === "string" ? "string" : "integer"
|
|
3240
3242
|
});
|
|
3241
3243
|
}
|
|
3242
3244
|
return p;
|
|
@@ -3247,85 +3249,94 @@ function qn(e) {
|
|
|
3247
3249
|
const s = 1;
|
|
3248
3250
|
let o = 1;
|
|
3249
3251
|
switch (r) {
|
|
3250
|
-
case
|
|
3251
|
-
a = "
|
|
3252
|
+
case X.MinuteOfDay:
|
|
3253
|
+
i !== D.DateOnly && (a = "MINUTE", o = 59);
|
|
3252
3254
|
break;
|
|
3253
|
-
case
|
|
3255
|
+
case X.HourOfDay:
|
|
3256
|
+
i !== D.DateOnly && (a = "HOUR", o = 24);
|
|
3257
|
+
break;
|
|
3258
|
+
case X.DayOfWeek:
|
|
3254
3259
|
a = "DOW", o = 7;
|
|
3255
3260
|
break;
|
|
3256
|
-
case
|
|
3261
|
+
case X.DayOfMonth:
|
|
3262
|
+
a = "DAY", o = 31;
|
|
3263
|
+
break;
|
|
3264
|
+
case X.DayOfYear:
|
|
3257
3265
|
a = "DOY", o = 366;
|
|
3258
3266
|
break;
|
|
3259
|
-
case
|
|
3260
|
-
|
|
3267
|
+
case X.WeekOfYear:
|
|
3268
|
+
a = "WEEK", o = 52;
|
|
3261
3269
|
break;
|
|
3262
|
-
case
|
|
3270
|
+
case X.MonthOfYear:
|
|
3263
3271
|
a = "MONTH", o = 12;
|
|
3264
3272
|
break;
|
|
3273
|
+
case X.QuarterOfYear:
|
|
3274
|
+
a = "QUARTER", o = 4;
|
|
3275
|
+
break;
|
|
3265
3276
|
}
|
|
3266
3277
|
return a && (n = `EXTRACT (${a} FROM ${t})`), { expression: n, start: s, end: o };
|
|
3267
3278
|
}
|
|
3268
3279
|
function gt(e) {
|
|
3269
3280
|
const { temporalBinning: t, xOrY: i, xOrYFieldType: r } = e, { unit: n } = t ?? {};
|
|
3270
|
-
let a, s, o,
|
|
3271
|
-
return r ===
|
|
3281
|
+
let a, s, o, l;
|
|
3282
|
+
return r === D.Date || r === D.DateOnly || r === D.TimestampOffset ? { expression: s, start: o, end: l } = qn({ field: i, fieldType: r, unit: n }) : a = i, { field: a, expression: s, start: o, end: l };
|
|
3272
3283
|
}
|
|
3273
3284
|
async function _n(e) {
|
|
3274
|
-
const { queryObject: t, queryConfig: i, x: r, y: n, xTemporalBinning: a, yTemporalBinning: s } = e,
|
|
3285
|
+
const { queryObject: t, queryConfig: i, x: r, y: n, xTemporalBinning: a, yTemporalBinning: s, firstDayOfWeek: o, outTimeZone: l } = e, p = await Oe(t), d = p.find((S) => S.name === r)?.type, u = p.find((S) => S.name === n)?.type, f = Ue({
|
|
3275
3286
|
queryObject: t,
|
|
3276
3287
|
queryConfig: i,
|
|
3277
3288
|
queryType: "AttributeBinsQuery"
|
|
3278
3289
|
});
|
|
3279
|
-
|
|
3290
|
+
f.binParameters = {
|
|
3280
3291
|
type: "fixed-interval",
|
|
3281
3292
|
interval: 1
|
|
3282
|
-
};
|
|
3283
|
-
const
|
|
3293
|
+
}, d !== D.DateOnly && (f.outTimeZone = l ?? Intl.DateTimeFormat().resolvedOptions().timeZone), o !== void 0 && (f.binParameters.firstDayOfWeek = o);
|
|
3294
|
+
const y = gt({
|
|
3284
3295
|
temporalBinning: a,
|
|
3285
3296
|
xOrY: r,
|
|
3286
3297
|
xOrYFieldType: d
|
|
3287
|
-
}), { field:
|
|
3288
|
-
|
|
3289
|
-
const
|
|
3298
|
+
}), { field: h, expression: b, start: g, end: v } = y;
|
|
3299
|
+
h ? f.binParameters.field = h : b && (f.binParameters.expression = b, f.binParameters.expressionValueType = "integer", f.binParameters.type === "fixed-interval" && (g !== void 0 && (f.binParameters.start = g), v !== void 0 && (f.binParameters.end = v)));
|
|
3300
|
+
const I = gt({
|
|
3290
3301
|
temporalBinning: s,
|
|
3291
3302
|
xOrY: n,
|
|
3292
|
-
xOrYFieldType:
|
|
3303
|
+
xOrYFieldType: u
|
|
3293
3304
|
});
|
|
3294
|
-
return
|
|
3305
|
+
return I.field ? f.binParameters.stackBy = { type: "field", value: I.field } : I.expression && (f.binParameters.stackBy = {
|
|
3295
3306
|
type: "expression",
|
|
3296
|
-
value:
|
|
3307
|
+
value: I.expression,
|
|
3297
3308
|
valueType: "integer",
|
|
3298
3309
|
alias: n
|
|
3299
|
-
}),
|
|
3310
|
+
}), f;
|
|
3300
3311
|
}
|
|
3301
3312
|
function Nn(e) {
|
|
3302
|
-
const { queryObject: t, queryConfig: i, xStep: r, xMin: n, xMax: a, x: s, y: o, yStep:
|
|
3313
|
+
const { queryObject: t, queryConfig: i, xStep: r, xMin: n, xMax: a, x: s, y: o, yStep: l } = e, p = Ue({
|
|
3303
3314
|
queryObject: t,
|
|
3304
3315
|
queryConfig: i,
|
|
3305
3316
|
queryType: "AttributeBinsQuery"
|
|
3306
|
-
}),
|
|
3307
|
-
return p.lowerBoundaryAlias =
|
|
3317
|
+
}), d = $n(s, o);
|
|
3318
|
+
return p.lowerBoundaryAlias = d.lowerBoundaryAlias, p.upperBoundaryAlias = d.upperBoundaryAlias, p.binParameters = {
|
|
3308
3319
|
type: "fixed-interval",
|
|
3309
3320
|
field: s,
|
|
3310
3321
|
interval: r,
|
|
3311
3322
|
start: n,
|
|
3312
3323
|
end: a,
|
|
3313
3324
|
stackBy: {
|
|
3314
|
-
value: `FLOOR(${o} / ${
|
|
3325
|
+
value: `FLOOR(${o} / ${l})`,
|
|
3315
3326
|
type: "expression",
|
|
3316
|
-
alias:
|
|
3327
|
+
alias: d.stackAlias,
|
|
3317
3328
|
valueType: "integer"
|
|
3318
3329
|
}
|
|
3319
3330
|
}, p;
|
|
3320
3331
|
}
|
|
3321
3332
|
function ri(e) {
|
|
3322
|
-
const { queryObject: t, queryConfig: i, maxRecordCountFactor: r } = e, { groupByFieldsForStatistics: n, orderByFields: a, gdbVersion: s, start: o, num:
|
|
3323
|
-
|
|
3333
|
+
const { queryObject: t, queryConfig: i, maxRecordCountFactor: r } = e, { groupByFieldsForStatistics: n, orderByFields: a, gdbVersion: s, start: o, num: l, outFields: p } = i ?? {}, d = Ue({ queryObject: t, queryConfig: i, queryType: "Query" });
|
|
3334
|
+
d.returnGeometry = !1;
|
|
3324
3335
|
const u = P(t), f = R(u);
|
|
3325
|
-
return
|
|
3336
|
+
return d.outFields = ii(p), d.groupByFieldsForStatistics = n ?? d.groupByFieldsForStatistics, d.orderByFields = a ?? [], d.objectIds = i?.objectIds, r !== void 0 && (d.maxRecordCountFactor = r), s !== void 0 && s !== "" ? d.gdbVersion = s : f.gdbVersion !== void 0 && f.gdbVersion !== "" && (d.gdbVersion = f.gdbVersion), l !== void 0 && (d.num = l), o !== void 0 && (d.start = o, d.num = d.num ?? ti(u)), d;
|
|
3326
3337
|
}
|
|
3327
3338
|
function Mn(e) {
|
|
3328
|
-
return R(e)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 ?
|
|
3339
|
+
return R(e)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 ? pe.maxRecordCountFactor : void 0;
|
|
3329
3340
|
}
|
|
3330
3341
|
const Ps = {
|
|
3331
3342
|
sanitizeOutFields: ii
|
|
@@ -3367,8 +3378,8 @@ async function ks(e) {
|
|
|
3367
3378
|
const a = P(t), s = R(a);
|
|
3368
3379
|
if (i !== void 0 && !s.isTable) {
|
|
3369
3380
|
s.outFields = ["*"];
|
|
3370
|
-
const o = (p) => "highlight" in p,
|
|
3371
|
-
o(
|
|
3381
|
+
const o = (p) => "highlight" in p, l = await i.whenLayerView(s);
|
|
3382
|
+
o(l) && (n = l);
|
|
3372
3383
|
} else
|
|
3373
3384
|
n = t;
|
|
3374
3385
|
} else "iLayer" in r && r.iLayer && (n = await ni(r.iLayer));
|
|
@@ -3384,7 +3395,7 @@ async function Oe(e, t) {
|
|
|
3384
3395
|
const s = a.toJSON();
|
|
3385
3396
|
if (n) {
|
|
3386
3397
|
const o = i.popupTemplate?.fieldInfos?.find(
|
|
3387
|
-
(
|
|
3398
|
+
(l) => l.fieldName?.toLowerCase() === a.name.toLowerCase()
|
|
3388
3399
|
)?.label;
|
|
3389
3400
|
o !== void 0 && o !== a.name && (s.alias = o);
|
|
3390
3401
|
}
|
|
@@ -3397,30 +3408,30 @@ function dt(e, t = []) {
|
|
|
3397
3408
|
return t.find((i) => i.name === e);
|
|
3398
3409
|
}
|
|
3399
3410
|
function Es(e) {
|
|
3400
|
-
return e.find((i) => i.type ===
|
|
3411
|
+
return e.find((i) => i.type === D.OID)?.name ?? "";
|
|
3401
3412
|
}
|
|
3402
3413
|
function ai(e) {
|
|
3403
3414
|
return [
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3415
|
+
D.Single,
|
|
3416
|
+
D.Double,
|
|
3417
|
+
D.SmallInteger,
|
|
3418
|
+
D.Integer,
|
|
3419
|
+
D.BigInteger
|
|
3409
3420
|
].includes(e.type);
|
|
3410
3421
|
}
|
|
3411
3422
|
function Ws(e) {
|
|
3412
|
-
return e.type ===
|
|
3423
|
+
return e.type === D.Date;
|
|
3413
3424
|
}
|
|
3414
3425
|
function qs(e) {
|
|
3415
3426
|
return [
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3427
|
+
D.SmallInteger,
|
|
3428
|
+
D.Integer,
|
|
3429
|
+
D.BigInteger
|
|
3419
3430
|
].includes(e.type);
|
|
3420
3431
|
}
|
|
3421
3432
|
function _s(e) {
|
|
3422
3433
|
return e.filter(
|
|
3423
|
-
(t) => t.type ===
|
|
3434
|
+
(t) => t.type === D.Date || t.type === D.DateOnly || t.type === D.TimestampOffset
|
|
3424
3435
|
).map((t) => t.name);
|
|
3425
3436
|
}
|
|
3426
3437
|
function Ns(e) {
|
|
@@ -3438,11 +3449,11 @@ function et(e, t) {
|
|
|
3438
3449
|
const { name: a, domains: s } = n;
|
|
3439
3450
|
let o = "id" in n ? n.id : void 0;
|
|
3440
3451
|
!o && "code" in n && (o = n.code);
|
|
3441
|
-
const
|
|
3452
|
+
const l = Object.entries(s ?? {}), p = [], u = l?.filter(([f, y]) => y?.type === "coded-value")?.map(([f, y]) => {
|
|
3442
3453
|
let h = { fieldName: f, name: a, codedValues: p };
|
|
3443
3454
|
if (y && "codedValues" in y) {
|
|
3444
|
-
const b = y.codedValues.map(({ code: g, name:
|
|
3445
|
-
name:
|
|
3455
|
+
const b = y.codedValues.map(({ code: g, name: v }) => ({
|
|
3456
|
+
name: v,
|
|
3446
3457
|
code: g
|
|
3447
3458
|
}));
|
|
3448
3459
|
h = {
|
|
@@ -3489,10 +3500,10 @@ function Vs(e) {
|
|
|
3489
3500
|
const s = dt(t, n);
|
|
3490
3501
|
if (r?.types !== void 0) {
|
|
3491
3502
|
const o = r?.types;
|
|
3492
|
-
for (const
|
|
3493
|
-
const p =
|
|
3494
|
-
for (const
|
|
3495
|
-
if (a =
|
|
3503
|
+
for (const l of o) {
|
|
3504
|
+
const p = l.domains?.filter((d) => d.fieldName === s?.name) ?? [];
|
|
3505
|
+
for (const d of p)
|
|
3506
|
+
if (a = d?.codedValues?.find((u) => `${u.code}` === i)?.name, a !== void 0)
|
|
3496
3507
|
break;
|
|
3497
3508
|
if (a !== void 0)
|
|
3498
3509
|
break;
|
|
@@ -3522,10 +3533,10 @@ async function Gs(e) {
|
|
|
3522
3533
|
try {
|
|
3523
3534
|
const s = (await Ke(a, { query: { f: "json" } })).data;
|
|
3524
3535
|
if (s.owningTenant !== void 0 && s.owningSystemUrl !== void 0) {
|
|
3525
|
-
const o = `${s.owningSystemUrl}/sharing/rest/portals/${s.owningTenant}`,
|
|
3536
|
+
const o = `${s.owningSystemUrl}/sharing/rest/portals/${s.owningTenant}`, l = (await Ke(o, {
|
|
3526
3537
|
authMode: "auto",
|
|
3527
3538
|
query: { f: "json" }
|
|
3528
|
-
})).data, p = new Di({ sourceJSON:
|
|
3539
|
+
})).data, p = new Di({ sourceJSON: l });
|
|
3529
3540
|
await p.load(), t = p?.sourceJSON?.subscriptionInfo?.dataStoreLevel === void 0;
|
|
3530
3541
|
}
|
|
3531
3542
|
} catch {
|
|
@@ -3535,8 +3546,8 @@ async function Gs(e) {
|
|
|
3535
3546
|
}
|
|
3536
3547
|
async function Vn(e) {
|
|
3537
3548
|
const { queryObject: t, fieldToMatch: i, returnUndefinedIfNotFound: r } = e, n = await Oe(t);
|
|
3538
|
-
let a = n.find((
|
|
3539
|
-
a || (a = n.find((
|
|
3549
|
+
let a = n.find((l) => i === l.name);
|
|
3550
|
+
a || (a = n.find((l) => i.toUpperCase() === l.name.toUpperCase()));
|
|
3540
3551
|
const s = r ? "" : i;
|
|
3541
3552
|
return a?.name ?? s;
|
|
3542
3553
|
}
|
|
@@ -3552,9 +3563,9 @@ async function zn(e) {
|
|
|
3552
3563
|
function Us(e) {
|
|
3553
3564
|
const { queryObject: t, chartConfig: i, runtimeDataFilters: r, ignoreViewExtent: n } = e, { series: a, dataFilters: s } = i, {
|
|
3554
3565
|
where: o,
|
|
3555
|
-
gdbVersion:
|
|
3566
|
+
gdbVersion: l,
|
|
3556
3567
|
timeExtent: p,
|
|
3557
|
-
geometry:
|
|
3568
|
+
geometry: d,
|
|
3558
3569
|
distance: u,
|
|
3559
3570
|
units: f,
|
|
3560
3571
|
objectIds: y,
|
|
@@ -3562,18 +3573,18 @@ function Us(e) {
|
|
|
3562
3573
|
} = s ?? {}, {
|
|
3563
3574
|
where: b,
|
|
3564
3575
|
gdbVersion: g,
|
|
3565
|
-
timeExtent:
|
|
3566
|
-
geometry:
|
|
3567
|
-
distance:
|
|
3576
|
+
timeExtent: v,
|
|
3577
|
+
geometry: I,
|
|
3578
|
+
distance: S,
|
|
3568
3579
|
units: j,
|
|
3569
3580
|
objectIds: M,
|
|
3570
3581
|
spatialRelationship: W
|
|
3571
|
-
} = r ?? {}, H = a[0], { query: q } = H, { where:
|
|
3572
|
-
return L.where = Ce([o, b]), _ !== m.BarAndLineSplitBy && _ !== m.BoxPlotMonoFieldAndSplitBy && _ !== m.BoxPlotMonoFieldAndCategoryAndSplitBy && _ !== m.BoxPlotMultiFieldsAndSplitBy && _ !== m.BarAndLineSplitByNoAggregation && (L.where = Ce([L.where,
|
|
3582
|
+
} = r ?? {}, H = a[0], { query: q } = H, { where: oe } = q ?? {}, _ = Z(a), L = { ...q };
|
|
3583
|
+
return L.where = Ce([o, b]), _ !== m.BarAndLineSplitBy && _ !== m.BoxPlotMonoFieldAndSplitBy && _ !== m.BoxPlotMonoFieldAndCategoryAndSplitBy && _ !== m.BoxPlotMultiFieldsAndSplitBy && _ !== m.BarAndLineSplitByNoAggregation && (L.where = Ce([L.where, oe])), i.orderOptions?.orderByFields !== void 0 && (L.orderByFields = i.orderOptions.orderByFields), L.gdbVersion = g ?? l, L.timeExtent = Pn(t, v ?? p), L.geometry = jn({
|
|
3573
3584
|
queryObject: t,
|
|
3574
|
-
defaultGeometry:
|
|
3585
|
+
defaultGeometry: I ?? d,
|
|
3575
3586
|
ignoreViewExtent: n
|
|
3576
|
-
}), L.distance =
|
|
3587
|
+
}), L.distance = S ?? u, L.units = j ?? f, L.objectIds = M ?? y, L.spatialRelationship = W ?? h, q?.outStatistics?.[0]?.statisticType === F.Count && (L.returnDistinctValues = q?.returnDistinctValues ?? !1), L;
|
|
3577
3588
|
}
|
|
3578
3589
|
async function Hs(e) {
|
|
3579
3590
|
let t = [];
|
|
@@ -3585,11 +3596,11 @@ async function Gn(e, t) {
|
|
|
3585
3596
|
const n = e.series;
|
|
3586
3597
|
let a = t;
|
|
3587
3598
|
if (e.iLayer && (a = await ni(e.iLayer)), a !== void 0) {
|
|
3588
|
-
const s = n[0].x ?? "", o = n.map((f) => "y" in f ? f.y : "").flat(),
|
|
3599
|
+
const s = n[0].x ?? "", o = n.map((f) => "y" in f ? f.y : "").flat(), l = Ge(e.series[0].query?.where), p = on(e), d = e?.series.map((f) => {
|
|
3589
3600
|
const y = f.query?.outStatistics?.map((h) => h.onStatisticField) ?? [];
|
|
3590
3601
|
return y?.length > 0 ? y : "";
|
|
3591
3602
|
}).flat();
|
|
3592
|
-
i.push(s), i.push(...o), i.push(
|
|
3603
|
+
i.push(s), i.push(...o), i.push(l), i.push(...p), i.push(...d);
|
|
3593
3604
|
const u = await zn({ fieldsList: i, queryObject: a, returnUndefinedIfNotFound: !0 });
|
|
3594
3605
|
u && (r = Array.from(new Set(u)).filter((f) => f !== ""));
|
|
3595
3606
|
}
|
|
@@ -3610,7 +3621,7 @@ const Qs = {
|
|
|
3610
3621
|
getServerRestInfo: oi,
|
|
3611
3622
|
getSubtypeName: si,
|
|
3612
3623
|
getFeatureTypes: et
|
|
3613
|
-
},
|
|
3624
|
+
}, me = {
|
|
3614
3625
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
3615
3626
|
definitions: {
|
|
3616
3627
|
ValueConversion: {
|
|
@@ -5854,7 +5865,10 @@ const Qs = {
|
|
|
5854
5865
|
"dayOfWeek",
|
|
5855
5866
|
"dayOfYear",
|
|
5856
5867
|
"hourOfDay",
|
|
5857
|
-
"monthOfYear"
|
|
5868
|
+
"monthOfYear",
|
|
5869
|
+
"minuteOfDay",
|
|
5870
|
+
"weekOfYear",
|
|
5871
|
+
"quarterOfYear"
|
|
5858
5872
|
],
|
|
5859
5873
|
description: "Represents the units that can be used for calendar-based date parts binning.",
|
|
5860
5874
|
title: "WebChartCalendarDatePartsUnits"
|
|
@@ -5868,7 +5882,10 @@ const Qs = {
|
|
|
5868
5882
|
},
|
|
5869
5883
|
firstDayOfWeek: {
|
|
5870
5884
|
type: "number",
|
|
5871
|
-
description: "The first day of the week. This property is used to determine the start of the week for date-based bins. The default value
|
|
5885
|
+
description: "The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for a USA user, 1 as Monday for a French one). Current limitation: this is applied only when the provided layer supports the `queryBins` operation.",
|
|
5886
|
+
minimum: 1,
|
|
5887
|
+
maximum: 7,
|
|
5888
|
+
multipleOf: 1
|
|
5872
5889
|
},
|
|
5873
5890
|
nullPolicy: {
|
|
5874
5891
|
$ref: "#/definitions/WebChartNullPolicyTypes",
|
|
@@ -5930,7 +5947,10 @@ const Qs = {
|
|
|
5930
5947
|
},
|
|
5931
5948
|
firstDayOfWeek: {
|
|
5932
5949
|
type: "number",
|
|
5933
|
-
description: "The first day of the week. This property is used to determine the start of the week for date-based bins. The default value
|
|
5950
|
+
description: "The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for a USA user, 1 as Monday for a French one). Current limitation: this is applied only when the provided layer supports the `queryBins` operation.",
|
|
5951
|
+
minimum: 1,
|
|
5952
|
+
maximum: 7,
|
|
5953
|
+
multipleOf: 1
|
|
5934
5954
|
},
|
|
5935
5955
|
nullPolicy: {
|
|
5936
5956
|
$ref: "#/definitions/WebChartNullPolicyTypes",
|
|
@@ -9279,7 +9299,10 @@ Currently this property is only used for bar and line series.`,
|
|
|
9279
9299
|
},
|
|
9280
9300
|
firstDayOfWeek: {
|
|
9281
9301
|
type: "number",
|
|
9282
|
-
description: "The first day of the week. This property is used to determine the start of the week for date-based bins. The default value
|
|
9302
|
+
description: "The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for a USA user, 1 as Monday for a French one). Current limitation: this is applied only when the provided layer supports the `queryBins` operation.",
|
|
9303
|
+
minimum: 1,
|
|
9304
|
+
maximum: 7,
|
|
9305
|
+
multipleOf: 1
|
|
9283
9306
|
},
|
|
9284
9307
|
nullPolicy: {
|
|
9285
9308
|
$ref: "#/definitions/WebChartNullPolicyTypes",
|
|
@@ -15555,7 +15578,7 @@ Currently this property is only used for bar and line series.`,
|
|
|
15555
15578
|
}, li = {
|
|
15556
15579
|
NonNumericAggregation: "nonNumericAggregation",
|
|
15557
15580
|
DuplicateSeriesID: "duplicateSeriesId"
|
|
15558
|
-
},
|
|
15581
|
+
}, ee = {
|
|
15559
15582
|
Required: "required",
|
|
15560
15583
|
MinLength: "minLength",
|
|
15561
15584
|
MinItems: "minItems",
|
|
@@ -15585,16 +15608,16 @@ function di(e) {
|
|
|
15585
15608
|
return t !== -1 ? e.slice(t + 1) : e;
|
|
15586
15609
|
}
|
|
15587
15610
|
async function pi(e) {
|
|
15588
|
-
const t = (await
|
|
15589
|
-
|
|
15590
|
-
|
|
15611
|
+
const t = (await $(
|
|
15612
|
+
B(document.documentElement).t9nLocale,
|
|
15613
|
+
O("./assets/common/t9n"),
|
|
15591
15614
|
"messages."
|
|
15592
15615
|
)).errorStrings;
|
|
15593
15616
|
return e.map((i) => {
|
|
15594
15617
|
let r = i;
|
|
15595
15618
|
const n = i.dataPath.startsWith(".") ? i.dataPath.substring(1) : i.dataPath;
|
|
15596
15619
|
switch (i.keyword) {
|
|
15597
|
-
case
|
|
15620
|
+
case ee.Required:
|
|
15598
15621
|
r = {
|
|
15599
15622
|
...i,
|
|
15600
15623
|
message: V(t.errors.requiredProperty, {
|
|
@@ -15603,7 +15626,7 @@ async function pi(e) {
|
|
|
15603
15626
|
})
|
|
15604
15627
|
};
|
|
15605
15628
|
break;
|
|
15606
|
-
case
|
|
15629
|
+
case ee.MinLength:
|
|
15607
15630
|
r = {
|
|
15608
15631
|
...i,
|
|
15609
15632
|
message: V(t.errors.minLength, {
|
|
@@ -15612,7 +15635,7 @@ async function pi(e) {
|
|
|
15612
15635
|
})
|
|
15613
15636
|
};
|
|
15614
15637
|
break;
|
|
15615
|
-
case
|
|
15638
|
+
case ee.MinItems:
|
|
15616
15639
|
r = {
|
|
15617
15640
|
...i,
|
|
15618
15641
|
message: V(t.errors.minItems, {
|
|
@@ -15621,7 +15644,7 @@ async function pi(e) {
|
|
|
15621
15644
|
})
|
|
15622
15645
|
};
|
|
15623
15646
|
break;
|
|
15624
|
-
case
|
|
15647
|
+
case ee.MaxItems:
|
|
15625
15648
|
r = {
|
|
15626
15649
|
...i,
|
|
15627
15650
|
message: V(t.errors.maxItems, {
|
|
@@ -15630,14 +15653,14 @@ async function pi(e) {
|
|
|
15630
15653
|
})
|
|
15631
15654
|
};
|
|
15632
15655
|
break;
|
|
15633
|
-
case
|
|
15656
|
+
case ee.Pattern:
|
|
15634
15657
|
i.params.pattern === "\\w+" && (r = {
|
|
15635
15658
|
...i,
|
|
15636
15659
|
message: V(t.errors.whiteSpacePattern, { dataPath: n }),
|
|
15637
15660
|
params: {}
|
|
15638
15661
|
});
|
|
15639
15662
|
break;
|
|
15640
|
-
case
|
|
15663
|
+
case ee.AdditionalProperties:
|
|
15641
15664
|
r = {
|
|
15642
15665
|
...i,
|
|
15643
15666
|
message: V(t.errors.additionalProperty, {
|
|
@@ -15646,7 +15669,7 @@ async function pi(e) {
|
|
|
15646
15669
|
})
|
|
15647
15670
|
};
|
|
15648
15671
|
break;
|
|
15649
|
-
case
|
|
15672
|
+
case ee.Enum:
|
|
15650
15673
|
r = {
|
|
15651
15674
|
...i,
|
|
15652
15675
|
message: V(t.errors.enumValues, {
|
|
@@ -15655,9 +15678,9 @@ async function pi(e) {
|
|
|
15655
15678
|
})
|
|
15656
15679
|
};
|
|
15657
15680
|
break;
|
|
15658
|
-
case
|
|
15681
|
+
case ee.AnyOf: {
|
|
15659
15682
|
let a = [];
|
|
15660
|
-
i.schemaPath === "#/properties/legend/anyOf" && (a =
|
|
15683
|
+
i.schemaPath === "#/properties/legend/anyOf" && (a = me.definitions.WebChart.properties.legend.anyOf.map(
|
|
15661
15684
|
(s) => di(s.$ref)
|
|
15662
15685
|
)), r = {
|
|
15663
15686
|
...i,
|
|
@@ -15675,9 +15698,9 @@ function ve(e, t) {
|
|
|
15675
15698
|
}
|
|
15676
15699
|
async function ci(e) {
|
|
15677
15700
|
let t;
|
|
15678
|
-
const i = (await
|
|
15679
|
-
|
|
15680
|
-
|
|
15701
|
+
const i = (await $(
|
|
15702
|
+
B(document.documentElement).t9nLocale,
|
|
15703
|
+
O("./assets/common/t9n"),
|
|
15681
15704
|
"messages."
|
|
15682
15705
|
)).errorStrings, r = P(e);
|
|
15683
15706
|
try {
|
|
@@ -15697,19 +15720,19 @@ function Hn() {
|
|
|
15697
15720
|
return async (t) => {
|
|
15698
15721
|
let i = [];
|
|
15699
15722
|
const r = N(t?.series);
|
|
15700
|
-
let n =
|
|
15723
|
+
let n = me;
|
|
15701
15724
|
switch (r) {
|
|
15702
15725
|
case c.GaugeSeries:
|
|
15703
|
-
n = ve(
|
|
15726
|
+
n = ve(me, "WebGaugeChart");
|
|
15704
15727
|
break;
|
|
15705
15728
|
case c.BoxPlotSeries:
|
|
15706
|
-
n = ve(
|
|
15729
|
+
n = ve(me, "WebBoxPlot");
|
|
15707
15730
|
break;
|
|
15708
15731
|
case c.RadarSeries:
|
|
15709
|
-
n = ve(
|
|
15732
|
+
n = ve(me, "WebRadarChart");
|
|
15710
15733
|
break;
|
|
15711
15734
|
default:
|
|
15712
|
-
n = ve(
|
|
15735
|
+
n = ve(me, "WebChart");
|
|
15713
15736
|
break;
|
|
15714
15737
|
}
|
|
15715
15738
|
const a = e.compile(n);
|
|
@@ -15718,26 +15741,26 @@ function Hn() {
|
|
|
15718
15741
|
}
|
|
15719
15742
|
const Qn = Hn();
|
|
15720
15743
|
async function ui(e) {
|
|
15721
|
-
const { seriesConfigs: t, queryObject: i, allowUsingObjectIdStat: r } = e, n = [], a = await Oe(i), s = (await
|
|
15722
|
-
|
|
15723
|
-
|
|
15744
|
+
const { seriesConfigs: t, queryObject: i, allowUsingObjectIdStat: r } = e, n = [], a = await Oe(i), s = (await $(
|
|
15745
|
+
B(document.documentElement).t9nLocale,
|
|
15746
|
+
O("./assets/common/t9n"),
|
|
15724
15747
|
"messages."
|
|
15725
15748
|
)).errorStrings;
|
|
15726
15749
|
for (let o = 0; o < t.length; o += 1) {
|
|
15727
|
-
const
|
|
15728
|
-
if (
|
|
15729
|
-
for (let p = 0; p <
|
|
15730
|
-
const
|
|
15731
|
-
if (u && !(u.type ===
|
|
15750
|
+
const l = t[o].query?.outStatistics;
|
|
15751
|
+
if (l !== void 0)
|
|
15752
|
+
for (let p = 0; p < l.length; p += 1) {
|
|
15753
|
+
const d = l[p], u = dt(d.onStatisticField, a);
|
|
15754
|
+
if (u && !(u.type === D.OID && r || ai(u)) && d.statisticType !== F.Count) {
|
|
15732
15755
|
const y = `series[${o}].query.outStatistics[${p}]`;
|
|
15733
15756
|
n.push({
|
|
15734
15757
|
keyword: li.NonNumericAggregation,
|
|
15735
15758
|
message: V(s.errors.nonNumericAggregation, { dataPath: y }),
|
|
15736
15759
|
dataPath: y,
|
|
15737
15760
|
params: {
|
|
15738
|
-
fieldName:
|
|
15761
|
+
fieldName: d.onStatisticField,
|
|
15739
15762
|
fieldType: u.type,
|
|
15740
|
-
aggregationRequested:
|
|
15763
|
+
aggregationRequested: d.statisticType
|
|
15741
15764
|
}
|
|
15742
15765
|
});
|
|
15743
15766
|
}
|
|
@@ -15746,9 +15769,9 @@ async function ui(e) {
|
|
|
15746
15769
|
return n;
|
|
15747
15770
|
}
|
|
15748
15771
|
async function fi(e) {
|
|
15749
|
-
const t = [], i = (await
|
|
15750
|
-
|
|
15751
|
-
|
|
15772
|
+
const t = [], i = (await $(
|
|
15773
|
+
B(document.documentElement).t9nLocale,
|
|
15774
|
+
O("./assets/common/t9n"),
|
|
15752
15775
|
"messages."
|
|
15753
15776
|
)).errorStrings;
|
|
15754
15777
|
if (e !== void 0 && e.series.length > 1) {
|
|
@@ -15778,36 +15801,36 @@ function Jn(e) {
|
|
|
15778
15801
|
if (i) {
|
|
15779
15802
|
const r = N(e.series), n = Z(e.series);
|
|
15780
15803
|
r === c.GaugeSeries && !bn(e) || n === m.PieFromFields || n === m.BarAndLineFromFields || n === m.BoxPlotMonoField || n === m.BoxPlotMultiFields || n === m.BoxPlotMonoFieldAndSplitBy || n === m.BoxPlotMultiFieldsAndSplitBy || t.add(i.x);
|
|
15781
|
-
const o = r === c.ScatterSeries || r === c.BoxPlotSeries || n === m.BarAndLineNoAggregation || n === m.BarAndLineSplitByNoAggregation || n === m.PieNoAggregation,
|
|
15804
|
+
const o = r === c.ScatterSeries || r === c.BoxPlotSeries || n === m.BarAndLineNoAggregation || n === m.BarAndLineSplitByNoAggregation || n === m.PieNoAggregation, l = [
|
|
15782
15805
|
rt,
|
|
15783
15806
|
it,
|
|
15784
15807
|
Pi,
|
|
15785
15808
|
Tt,
|
|
15786
15809
|
ji,
|
|
15787
|
-
|
|
15810
|
+
pe.outStatistics.outStatisticFieldName ?? ""
|
|
15788
15811
|
];
|
|
15789
15812
|
let p = [];
|
|
15790
15813
|
if (r === c.BoxPlotSeries ? p = vn({
|
|
15791
15814
|
showMean: e.showMean,
|
|
15792
15815
|
seriesConfig: e.series
|
|
15793
|
-
}) : p = e.series.map((
|
|
15794
|
-
const { query: u } =
|
|
15795
|
-
u && (
|
|
15816
|
+
}) : p = e.series.map((d) => "y" in d ? d.y : void 0).filter((d) => d !== void 0).flat(), o ? p.forEach((d) => t.add(d)) : l.push(...p), e.series.forEach((d) => {
|
|
15817
|
+
const { query: u } = d;
|
|
15818
|
+
u && (be(u.where) || t.add(Ge(u.where)), u.groupByFieldsForStatistics && u.groupByFieldsForStatistics.forEach((f) => t.add(f)), u.outStatistics && u.outStatistics.forEach((f) => t.add(f.onStatisticField)));
|
|
15796
15819
|
}), r === c.GaugeSeries && e.axes?.[0] !== void 0) {
|
|
15797
|
-
const
|
|
15798
|
-
|
|
15820
|
+
const d = e.axes?.[0];
|
|
15821
|
+
d && "minimumFromField" in d && typeof d.minimumFromField == "string" && t.add(d.minimumFromField), d && "maximumFromField" in d && typeof d.maximumFromField == "string" && t.add(d.maximumFromField);
|
|
15799
15822
|
}
|
|
15800
|
-
|
|
15801
|
-
t.delete(
|
|
15823
|
+
l.forEach((d) => {
|
|
15824
|
+
t.delete(d);
|
|
15802
15825
|
});
|
|
15803
15826
|
}
|
|
15804
15827
|
return Array.from(t.values()).filter((r) => !J(r));
|
|
15805
15828
|
}
|
|
15806
15829
|
async function Kn(e, t) {
|
|
15807
15830
|
let i;
|
|
15808
|
-
const r = (await
|
|
15809
|
-
|
|
15810
|
-
|
|
15831
|
+
const r = (await $(
|
|
15832
|
+
B(document.documentElement).t9nLocale,
|
|
15833
|
+
O("./assets/common/t9n"),
|
|
15811
15834
|
"messages."
|
|
15812
15835
|
)).errorStrings, n = await Oe(t), s = Jn(e).filter((o) => !dt(o, n));
|
|
15813
15836
|
if (s.length > 0) {
|
|
@@ -15859,7 +15882,7 @@ const Ks = {
|
|
|
15859
15882
|
async function Zs(e) {
|
|
15860
15883
|
const { input: t, queryObject: i, allowUsingObjectIdStat: r } = e;
|
|
15861
15884
|
let n;
|
|
15862
|
-
if (un(t?.version).versionStatus ===
|
|
15885
|
+
if (un(t?.version).versionStatus === de.Newer)
|
|
15863
15886
|
n = { valid: !0, schemaErrors: [], customErrors: [], warnings: [] };
|
|
15864
15887
|
else {
|
|
15865
15888
|
const a = await Qn(t);
|
|
@@ -15873,7 +15896,7 @@ async function Zs(e) {
|
|
|
15873
15896
|
}
|
|
15874
15897
|
return n;
|
|
15875
15898
|
}
|
|
15876
|
-
function
|
|
15899
|
+
function Ys(e) {
|
|
15877
15900
|
const t = N(e?.series);
|
|
15878
15901
|
let i = !1;
|
|
15879
15902
|
switch (t) {
|
|
@@ -15907,7 +15930,7 @@ function Xs(e) {
|
|
|
15907
15930
|
}
|
|
15908
15931
|
return i;
|
|
15909
15932
|
}
|
|
15910
|
-
const
|
|
15933
|
+
const Xs = [
|
|
15911
15934
|
{
|
|
15912
15935
|
unit: k.Second,
|
|
15913
15936
|
threshold: 6e4,
|
|
@@ -15980,14 +16003,14 @@ export {
|
|
|
15980
16003
|
gs as M,
|
|
15981
16004
|
T as N,
|
|
15982
16005
|
K as O,
|
|
15983
|
-
|
|
16006
|
+
Xs as P,
|
|
15984
16007
|
eo as Q,
|
|
15985
16008
|
ya as R,
|
|
15986
16009
|
ki as S,
|
|
15987
|
-
|
|
16010
|
+
pe as T,
|
|
15988
16011
|
Ei as U,
|
|
15989
16012
|
ha as V,
|
|
15990
|
-
|
|
16013
|
+
ne as W,
|
|
15991
16014
|
G as X,
|
|
15992
16015
|
Wi as Y,
|
|
15993
16016
|
At as Z,
|
|
@@ -16006,7 +16029,7 @@ export {
|
|
|
16006
16029
|
C as a9,
|
|
16007
16030
|
Fa as aA,
|
|
16008
16031
|
Aa as aB,
|
|
16009
|
-
|
|
16032
|
+
Xi as aC,
|
|
16010
16033
|
er as aD,
|
|
16011
16034
|
La as aE,
|
|
16012
16035
|
Da as aF,
|
|
@@ -16032,7 +16055,7 @@ export {
|
|
|
16032
16055
|
sr as aZ,
|
|
16033
16056
|
or as a_,
|
|
16034
16057
|
Dt as aa,
|
|
16035
|
-
|
|
16058
|
+
x as ab,
|
|
16036
16059
|
Le as ac,
|
|
16037
16060
|
Vi as ad,
|
|
16038
16061
|
va as ae,
|
|
@@ -16040,10 +16063,10 @@ export {
|
|
|
16040
16063
|
wa as ag,
|
|
16041
16064
|
Ia as ah,
|
|
16042
16065
|
Ee as ai,
|
|
16043
|
-
|
|
16066
|
+
ce as aj,
|
|
16044
16067
|
$e as ak,
|
|
16045
|
-
|
|
16046
|
-
|
|
16068
|
+
ue as al,
|
|
16069
|
+
ae as am,
|
|
16047
16070
|
xa as an,
|
|
16048
16071
|
zi as ao,
|
|
16049
16072
|
Gi as ap,
|
|
@@ -16051,18 +16074,18 @@ export {
|
|
|
16051
16074
|
Ca as ar,
|
|
16052
16075
|
Hi as as,
|
|
16053
16076
|
Qi as at,
|
|
16054
|
-
|
|
16077
|
+
ge as au,
|
|
16055
16078
|
Ji as av,
|
|
16056
16079
|
Ki as aw,
|
|
16057
16080
|
Zi as ax,
|
|
16058
16081
|
Ta as ay,
|
|
16059
|
-
|
|
16082
|
+
Yi as az,
|
|
16060
16083
|
Pi as b,
|
|
16061
16084
|
ws as b$,
|
|
16062
16085
|
za as b0,
|
|
16063
16086
|
Ft as b1,
|
|
16064
16087
|
w as b2,
|
|
16065
|
-
|
|
16088
|
+
Y as b3,
|
|
16066
16089
|
U as b4,
|
|
16067
16090
|
js as b5,
|
|
16068
16091
|
ks as b6,
|
|
@@ -16119,7 +16142,7 @@ export {
|
|
|
16119
16142
|
Ls as bu,
|
|
16120
16143
|
Ds as bv,
|
|
16121
16144
|
Os as bw,
|
|
16122
|
-
|
|
16145
|
+
Xt as bx,
|
|
16123
16146
|
$s as by,
|
|
16124
16147
|
Bs as bz,
|
|
16125
16148
|
ji as c,
|
|
@@ -16138,8 +16161,8 @@ export {
|
|
|
16138
16161
|
Ja as cc,
|
|
16139
16162
|
Ka as cd,
|
|
16140
16163
|
Za as ce,
|
|
16141
|
-
|
|
16142
|
-
|
|
16164
|
+
Ya as cf,
|
|
16165
|
+
Xa as cg,
|
|
16143
16166
|
J as ch,
|
|
16144
16167
|
an as ci,
|
|
16145
16168
|
es as cj,
|
|
@@ -16160,7 +16183,7 @@ export {
|
|
|
16160
16183
|
Ga as cy,
|
|
16161
16184
|
ut as cz,
|
|
16162
16185
|
it as d,
|
|
16163
|
-
|
|
16186
|
+
le as e,
|
|
16164
16187
|
ln as f,
|
|
16165
16188
|
ni as g,
|
|
16166
16189
|
un as h,
|
|
@@ -16168,7 +16191,7 @@ export {
|
|
|
16168
16191
|
us as j,
|
|
16169
16192
|
Ge as k,
|
|
16170
16193
|
De as l,
|
|
16171
|
-
|
|
16194
|
+
be as m,
|
|
16172
16195
|
fs as n,
|
|
16173
16196
|
yn as o,
|
|
16174
16197
|
Z as p,
|
|
@@ -16179,7 +16202,7 @@ export {
|
|
|
16179
16202
|
dn as u,
|
|
16180
16203
|
Zs as v,
|
|
16181
16204
|
pn as w,
|
|
16182
|
-
|
|
16183
|
-
|
|
16205
|
+
Ys as x,
|
|
16206
|
+
ee as y,
|
|
16184
16207
|
mn as z
|
|
16185
16208
|
};
|