@arcgis/charts-components 4.34.0-next.83 → 4.34.0-next.85
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/{NDL6FOKL.js → 22USBHV4.js} +2 -2
- package/dist/cdn/{ENNPHGJO.js → 233C5MTQ.js} +2 -2
- package/dist/cdn/{K46KRF3F.js → 25G3GBVP.js} +2 -2
- package/dist/cdn/{2QLCEOKZ.js → 2M3ZCUAL.js} +2 -2
- package/dist/cdn/{KQYGA7W4.js → 2SBXA2OA.js} +2 -2
- package/dist/cdn/{H3RQAK54.js → 2TIF6YWP.js} +2 -2
- package/dist/cdn/{IO7LOOVG.js → 2VN2HJON.js} +2 -2
- package/dist/cdn/{YMKG7MDV.js → 2ZGF2NCP.js} +2 -2
- package/dist/cdn/{GYDECRRQ.js → 3EE6L7ED.js} +2 -2
- package/dist/cdn/{XS5QSKJ7.js → 3FAU5YU2.js} +2 -2
- package/dist/cdn/{U6RZMALW.js → 3GYPL7R5.js} +2 -2
- package/dist/cdn/{RVYLFJJB.js → 3JBBJBDN.js} +2 -2
- package/dist/cdn/{FHDK3NJA.js → 3PTL4HRV.js} +2 -2
- package/dist/cdn/{3SDSPOQ6.js → 45RP3VSA.js} +2 -2
- package/dist/cdn/{4FMHQDNK.js → 46LA3NLL.js} +2 -2
- package/dist/cdn/{V5ZEHKVW.js → 4CTXHHY5.js} +2 -2
- package/dist/cdn/{YBQ2MSDW.js → 4FENRWH3.js} +2 -2
- package/dist/cdn/{JHCC3BNZ.js → 4FYA2FR7.js} +3 -3
- package/dist/cdn/{7PLI5PP5.js → 4KCMF4PE.js} +2 -2
- package/dist/cdn/{KTZEP26F.js → 4PMJ4QUH.js} +2 -2
- package/dist/cdn/{P2DKNVNU.js → 5LCXIODX.js} +2 -2
- package/dist/cdn/{HYR4G2BE.js → 5UEH22S6.js} +2 -2
- package/dist/cdn/{V5UK3BIK.js → 65SYKGAK.js} +2 -2
- package/dist/cdn/{ZJGLSW2K.js → 66ADP2XC.js} +2 -2
- package/dist/cdn/{FIMU4YQL.js → 6CM6ZSIS.js} +2 -2
- package/dist/cdn/{PWNOOIHV.js → 6FSV5GQP.js} +2 -2
- package/dist/cdn/{KOOGKQFW.js → 6GN3JAW3.js} +2 -2
- package/dist/cdn/{UAYPDQTO.js → 6Z342A2M.js} +2 -2
- package/dist/cdn/{JSXPZ2C6.js → 73U47TGJ.js} +2 -2
- package/dist/cdn/{BKHR35ID.js → 76VG7V42.js} +2 -2
- package/dist/cdn/{PGF5RPUR.js → 7A7D4645.js} +2 -2
- package/dist/cdn/{6ZTSZ557.js → 7EEDSZRB.js} +2 -2
- package/dist/cdn/{B6DZFTWJ.js → 7FVMPKMG.js} +2 -2
- package/dist/cdn/{2462AR6U.js → 7L24RMO7.js} +2 -2
- package/dist/cdn/{HA6PMEPW.js → 7OWHXSEF.js} +2 -2
- package/dist/cdn/{5K2FOPKY.js → 7W7755Z6.js} +2 -2
- package/dist/cdn/A3355O3I.js +4 -0
- package/dist/cdn/{BXDVHLWZ.js → AJPILUUL.js} +2 -2
- package/dist/cdn/{SDAIAH2V.js → AMVT6MDL.js} +2 -2
- package/dist/cdn/{DOFMI5AN.js → AN2LU3YB.js} +2 -2
- package/dist/cdn/{JZ3WOQCF.js → AOO35KTN.js} +2 -2
- package/dist/cdn/{P7EUMLQD.js → ATAFVIZG.js} +2 -2
- package/dist/cdn/{A3CL55QY.js → ATCAZQZ4.js} +2 -2
- package/dist/cdn/{E3FG3MCD.js → ATTW37UZ.js} +2 -2
- package/dist/cdn/{IKUB3NYA.js → B2S7R6OE.js} +2 -2
- package/dist/cdn/{3ZB2KRIK.js → B4XO3FUE.js} +2 -2
- package/dist/cdn/{4MSFWTEO.js → BAZNELTK.js} +2 -2
- package/dist/cdn/{5U3GTZPY.js → BCDKTROJ.js} +2 -2
- package/dist/cdn/{EESB3JTD.js → BHURFPH2.js} +2 -2
- package/dist/cdn/{KRQD77GW.js → BR5QTNFU.js} +24 -22
- package/dist/cdn/{2UBNXGGN.js → BRSV722G.js} +2 -2
- package/dist/cdn/{XZUJMZDW.js → BURCCQJK.js} +2 -2
- package/dist/cdn/{ZCBCXTOL.js → BXPJT3JW.js} +2 -2
- package/dist/cdn/{WF33A2QU.js → CGGHSLO4.js} +2 -2
- package/dist/cdn/{VHWTJHQF.js → CNVR5QCT.js} +2 -2
- package/dist/cdn/{6U77FYCA.js → DAODRERO.js} +2 -2
- package/dist/cdn/{66V6L7FJ.js → DD5PNNQM.js} +2 -2
- package/dist/cdn/{4XYFFAQ2.js → DD7CSC4I.js} +2 -2
- package/dist/cdn/{6M5GFL6F.js → DKJMKB4S.js} +2 -2
- package/dist/cdn/{AXZMPQIX.js → DMBJJ4GK.js} +2 -2
- package/dist/cdn/{CX2Y4QZL.js → DOK663G5.js} +2 -2
- package/dist/cdn/{IRW5FJ6I.js → DRVPLM5G.js} +2 -2
- package/dist/cdn/{B24ZNICO.js → DTQUUMJR.js} +2 -2
- package/dist/cdn/{G4PGRNV4.js → DU3T3OWU.js} +2 -2
- package/dist/cdn/{THMCMNVM.js → DXFUJNHH.js} +2 -2
- package/dist/cdn/{EFYPPLUI.js → E56GIPOJ.js} +2 -2
- package/dist/cdn/{3DB6KPPP.js → EX4DVVG3.js} +2 -2
- package/dist/cdn/{QTUWEUPM.js → EYKBIXU4.js} +2 -2
- package/dist/cdn/{6GKDU24J.js → EZKC2INM.js} +2 -2
- package/dist/cdn/{53ZYX5UR.js → F3EY2KZI.js} +2 -2
- package/dist/cdn/{IVEMSXQI.js → F5EPAQ4R.js} +2 -2
- package/dist/cdn/{7ZIT5BMZ.js → FIAKSSJV.js} +2 -2
- package/dist/cdn/{G7T4Q4LQ.js → FM7IG5KD.js} +2 -2
- package/dist/cdn/{UZ5UDUQY.js → FPBCP5BO.js} +2 -2
- package/dist/cdn/{EGWOXCRZ.js → FPZEXBLX.js} +2 -2
- package/dist/cdn/{L3SMESE4.js → FQ4QMRFM.js} +2 -2
- package/dist/cdn/{6637CXXO.js → FZMLIAMY.js} +1 -1
- package/dist/cdn/{BTEZV6XZ.js → G2A75QLD.js} +2 -2
- package/dist/cdn/{PMQPDREH.js → G3YHTCYM.js} +2 -2
- package/dist/cdn/{TUJN34TJ.js → G4KQRZWN.js} +2 -2
- package/dist/cdn/{QGIVFRM5.js → HFSNQLHN.js} +2 -2
- package/dist/cdn/{BHJMU32N.js → HLUWFB7E.js} +2 -2
- package/dist/cdn/{REM2BZ4F.js → HSTIJEZR.js} +2 -2
- package/dist/cdn/{4XF6L37K.js → HVH6I6KY.js} +2 -2
- package/dist/cdn/{WQWMEIMI.js → HY2YQ5Y5.js} +2 -2
- package/dist/cdn/{WYSEEWIG.js → I4G74SSG.js} +2 -2
- package/dist/cdn/{PWTW5KEN.js → IDOK5NLD.js} +2 -2
- package/dist/cdn/{Z77T6FYW.js → IGFIFN3P.js} +2 -2
- package/dist/cdn/{LC7RYASE.js → IWR3P7P7.js} +2 -2
- package/dist/cdn/{ZAJCVUTD.js → J2PUE5Z6.js} +2 -2
- package/dist/cdn/{6T2PD4A5.js → J3W5MNXI.js} +2 -2
- package/dist/cdn/{FWLKL6VO.js → JEDMSRNK.js} +2 -2
- package/dist/cdn/{4VLKSGSZ.js → JLM5NMW3.js} +2 -2
- package/dist/cdn/{DZMNNM7H.js → JPGOA2N2.js} +2 -2
- package/dist/cdn/{5HF5NX7V.js → JV7QWKJD.js} +2 -2
- package/dist/cdn/{2GPZYEBG.js → JWOWMWSY.js} +2 -2
- package/dist/cdn/{WXPSVLV2.js → JWRUZFEV.js} +2 -2
- package/dist/cdn/{BTYJSTBN.js → K67VSPRJ.js} +2 -2
- package/dist/cdn/{LFFHTDW6.js → KC4EQT5F.js} +2 -2
- package/dist/cdn/{YT5ZF24Y.js → KDXUI5BE.js} +2 -2
- package/dist/cdn/{OPN2PDHH.js → KGEQOYDU.js} +2 -2
- package/dist/cdn/{UPCSBKAM.js → KOW4SZAP.js} +1 -1
- package/dist/cdn/{RITGLDP3.js → L32SLZHT.js} +2 -2
- package/dist/cdn/{FX5OUFMK.js → L52XIG7X.js} +2 -2
- package/dist/cdn/{YG5EHCFG.js → LABLLLSE.js} +2 -2
- package/dist/cdn/{OZ63FMTB.js → LB3Y27XS.js} +2 -2
- package/dist/cdn/{DW4PUIKU.js → LCPHVOM4.js} +2 -2
- package/dist/cdn/{JFJZPIC2.js → LHSZQQDL.js} +2 -2
- package/dist/cdn/{LPVMR2AC.js → LINGYFAP.js} +2 -2
- package/dist/cdn/{UNSEK66F.js → MAYILI7X.js} +2 -2
- package/dist/cdn/MOC5HUIL.js +44 -0
- package/dist/cdn/{WW5NTK5F.js → MQGVGQGM.js} +2 -2
- package/dist/cdn/{72LEGFHS.js → MW7D62S6.js} +2 -2
- package/dist/cdn/{CY2PQUKI.js → MWUVUPXJ.js} +2 -2
- package/dist/cdn/{C2H5XICO.js → MYSAG35J.js} +2 -2
- package/dist/cdn/{OI2TQDVH.js → MZBHCZ5F.js} +2 -2
- package/dist/cdn/{XYW52457.js → NCRVQRMF.js} +2 -2
- package/dist/cdn/{CWWVETZ3.js → NK2HOCZF.js} +2 -2
- package/dist/cdn/{GNZEPAC3.js → NWXXTJB5.js} +1 -1
- package/dist/cdn/{RBEB35KY.js → O2GLJFQZ.js} +2 -2
- package/dist/cdn/{BLDJ2EZL.js → O45DYOK3.js} +2 -2
- package/dist/cdn/{M6YLZIBE.js → ODENPZZO.js} +1 -1
- package/dist/cdn/{WAMQMUKK.js → OE4BZ4G4.js} +2 -2
- package/dist/cdn/OONCXCSW.js +4 -0
- package/dist/cdn/{L2MSULVI.js → OU4MQOIW.js} +2 -2
- package/dist/cdn/{FAJWO22S.js → OWEEQRSI.js} +2 -2
- package/dist/cdn/{BFKOBVXX.js → P5KMMBT7.js} +2 -2
- package/dist/cdn/{OMVLBJNL.js → PN4MW3DW.js} +2 -2
- package/dist/cdn/{DMMQFFAM.js → PR6G3NFO.js} +1 -1
- package/dist/cdn/{BMS4PHGU.js → Q3NDXNZI.js} +2 -2
- package/dist/cdn/{WNVT23PV.js → QK7V3FMM.js} +2 -2
- package/dist/cdn/{SH5L2W6P.js → QNKUKUN7.js} +2 -2
- package/dist/cdn/{H6DWCB6B.js → QRFENEKN.js} +2 -2
- package/dist/cdn/{FNV67S7K.js → QTBXQ4AU.js} +2 -2
- package/dist/cdn/{QZ4E336I.js → R3Z2POZF.js} +2 -2
- package/dist/cdn/{BBPWUM7Z.js → R77ZQDCU.js} +2 -2
- package/dist/cdn/{CGDZRXNF.js → RCVRBMTI.js} +2 -2
- package/dist/cdn/{CMPE3TPF.js → RGIMEIQO.js} +2 -2
- package/dist/cdn/{HCOF7FAN.js → RGM4Q2TH.js} +2 -2
- package/dist/cdn/{F5KKBHKI.js → RPK6OZS2.js} +2 -2
- package/dist/cdn/{HGTQKYZJ.js → RVAQ77D3.js} +2 -2
- package/dist/cdn/{AER7QUBS.js → RYIKCFE3.js} +2 -2
- package/dist/cdn/{BYJFAXWX.js → S2TP3GIP.js} +2 -2
- package/dist/cdn/{W5ZSWQN6.js → SFH6VG2V.js} +2 -2
- package/dist/cdn/{VGD2AGHY.js → SS4XJZIG.js} +2 -2
- package/dist/cdn/{QBTMRKKS.js → SSBHPD5S.js} +2 -2
- package/dist/cdn/{54K6PQPZ.js → SXRU3JAK.js} +2 -2
- package/dist/cdn/{5J42KGQJ.js → SYEKMLOC.js} +2 -2
- package/dist/cdn/{F3PYGQCC.js → TH7IK4SD.js} +2 -2
- package/dist/cdn/{AD3UN6J7.js → TQ7SJOKN.js} +2 -2
- package/dist/cdn/{5PTWWVZV.js → TRCN6RK2.js} +2 -2
- package/dist/cdn/{NTPXXAK4.js → TU5IFMD4.js} +2 -2
- package/dist/cdn/{YABLK737.js → U2JX7TAZ.js} +1 -1
- package/dist/cdn/{FGDOSK63.js → V25J3EV3.js} +2 -2
- package/dist/cdn/{5PW5OFMF.js → V37QM2CH.js} +2 -2
- package/dist/cdn/{MRFZSMD3.js → V6L6UXKA.js} +2 -2
- package/dist/cdn/{XQW7APOG.js → VK76AN66.js} +2 -2
- package/dist/cdn/{JFVHHVCK.js → VUTXG4O3.js} +2 -2
- package/dist/cdn/{LOJBI4UT.js → W3R44VNU.js} +2 -2
- package/dist/cdn/{WBVANWRP.js → W6BHZP54.js} +2 -2
- package/dist/cdn/{TUD4L64S.js → WAJQ5MWJ.js} +2 -2
- package/dist/cdn/{NHDJRTZA.js → WLW3PBYS.js} +2 -2
- package/dist/cdn/{AZXLGKZB.js → WS2LTVIN.js} +2 -2
- package/dist/cdn/{OBMGMQRN.js → WXFE7A5M.js} +2 -2
- package/dist/cdn/{LYTPDQBY.js → XPUEABCY.js} +2 -2
- package/dist/cdn/{VVNA5WQW.js → XWVZG7BL.js} +2 -2
- package/dist/cdn/{23LFBSKH.js → XXM32EAC.js} +2 -2
- package/dist/cdn/{5BOOGYRS.js → YJEO7LNX.js} +2 -2
- package/dist/cdn/{TCRXMIMU.js → YUUBTBEH.js} +2 -2
- package/dist/cdn/{B7DSLM3I.js → YVDLTVU6.js} +2 -2
- package/dist/cdn/{22ZQ3ON6.js → YVJSJL6X.js} +2 -2
- package/dist/cdn/{CSJO3HB3.js → ZEQTDGHQ.js} +1 -1
- package/dist/cdn/{TPOORHT4.js → ZIQQFUQK.js} +2 -2
- package/dist/cdn/{V2CWTGWP.js → ZJZ77S7K.js} +2 -2
- package/dist/cdn/{XO6F3WZU.js → ZUKWSJLZ.js} +1 -1
- package/dist/cdn/{GBWPZC7Y.js → ZVM26YLO.js} +2 -2
- package/dist/cdn/{P5E4N4E4.js → ZVPTWOQX.js} +2 -2
- package/dist/cdn/{25PLA3VA.js → ZWN7OKZ5.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/model.js +2 -2
- package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +6 -0
- package/dist/chart-rendering/next/chart-library-elements/axes/index.d.ts +0 -7
- package/dist/chart-rendering/next/chart-library-elements/series/heat-chart/index.d.ts +18 -0
- package/dist/chart-rendering/next/chart-library-elements/series/heat-chart/interfaces.d.ts +6 -0
- package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +4 -4
- package/dist/chart-rendering/next/defaults/index.d.ts +5 -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 +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +2 -2
- package/dist/chunks/box-plot-model.js +2 -2
- 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 +1 -1
- package/dist/chunks/common.js +9 -8
- package/dist/chunks/data.js +34 -34
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +2 -2
- package/dist/chunks/index.js +17 -17
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +8 -8
- package/dist/chunks/index4.js +2 -2
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1376 -1283
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-rotation.js +2 -2
- package/dist/chunks/model-with-y-guides.js +23 -23
- package/dist/chunks/pie-chart-data.js +2 -2
- 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 +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +2 -2
- package/dist/chunks/serial-chart-model.js +2 -2
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- 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 +5190 -5052
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- 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 +5 -5
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +27 -26
- package/dist/docs/api.json +13 -5
- package/dist/docs/docs.json +12 -8
- package/dist/docs/vscode.html-custom-data.json +3 -0
- package/dist/docs/web-types.json +4 -3
- package/dist/index.js +238 -235
- package/dist/loader.js +1 -1
- package/dist/model/interfaces/common.d.ts +9 -8
- package/dist/model.js +1 -1
- package/dist/utils/chart-config/converter/index.d.ts +3 -3
- package/dist/utils/layer/query-features/index.d.ts +14 -1
- package/dist/utils/layer/query-parser/index.d.ts +18 -1
- package/dist/utils/layer/utils/index.d.ts +6 -0
- package/dist/utils/misc/index.d.ts +2 -2
- package/dist/utils/type-guards/index.d.ts +3 -3
- package/dist/utils/types/index.d.ts +2 -2
- package/package.json +4 -4
- package/dist/cdn/2IX5CZ6W.js +0 -4
- package/dist/cdn/CP73YRYJ.js +0 -40
- package/dist/cdn/SK2VKNTD.js +0 -4
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { StatisticsDefaults as
|
|
2
|
-
import { WebChartJSONSchemas as
|
|
1
|
+
import { StatisticsDefaults as yr, RESTSimpleLineSymbolStyle as Ce, WebChartStatisticType as L, WebChartTimeAggregationTypes as ve, RESTSymbolType as V, RESTHorizontalAlignment as tt, WebChartSortOrderKinds as ee, WebChartOrderDataByTypes as we, WebChartTypes as d, WebChartCurrentVersion as re, RESTSimpleFillSymbolStyle as Be, SizePolicyScaleTypes as Sr, WebChartDataTransformations as ht, WebChartNullPolicyTypes as br, WebChartTemporalBinningUnits as q, WebChartTemporalBinningTypes as xt, WebChartStackedKinds as Me, WebChartLegendPositions as hr, RESTSimpleMarkerSymbolStyle as vt, RESTVerticalAlignment as Ft, OverlayTerms as X, WebChartVersionStatus as oe, defaultPieFromFieldsName as rt, defaultPieFromFieldsValue as At, GaugeChartSubTypes as xr, RESTUnits as me, RESTFieldType as N, WebChartCalendarDatePartsUnits as be, RESTRendererType as je, defaultBarLineFromFieldsName as vr, defaultBarLineFromFieldsValue as Fr } from "@arcgis/charts-spec";
|
|
2
|
+
import { WebChartJSONSchemas as pe } from "@arcgis/charts-spec/json-schema";
|
|
3
3
|
import { substitute as z } from "@arcgis/core/intl.js";
|
|
4
|
-
import
|
|
4
|
+
import Ar from "ajv";
|
|
5
5
|
import { g as I } from "./runtime.js";
|
|
6
|
-
import { fetchT9nStringsBundle as
|
|
7
|
-
import { extent as
|
|
8
|
-
import { isEqual as
|
|
6
|
+
import { fetchT9nStringsBundle as D, getElementLocale as E, supportedLocales as Tr } from "@arcgis/toolkit/intl";
|
|
7
|
+
import { extent as ct } from "d3-array";
|
|
8
|
+
import { isEqual as dt, isNil as Cr } from "lodash-es";
|
|
9
9
|
import { g as U } from "./series-types.js";
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import * as
|
|
10
|
+
import * as Tt from "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
|
+
import * as wr from "@arcgis/core/layers/support/fieldUtils.js";
|
|
12
|
+
import * as Br from "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
|
+
import Lr from "@arcgis/core/layers/support/Field.js";
|
|
14
|
+
import Xe from "@arcgis/core/request.js";
|
|
15
|
+
import Pr from "@arcgis/core/rest/support/FeatureSet.js";
|
|
16
|
+
import Ir from "@arcgis/core/layers/FeatureLayer.js";
|
|
17
|
+
import Dr from "@arcgis/core/portal/Portal.js";
|
|
18
|
+
import Er from "fast-memoize";
|
|
19
|
+
import Nr from "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
20
|
+
import kr from "@arcgis/core/rest/support/Query.js";
|
|
21
|
+
import Or from "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
22
|
+
import Ct from "@arcgis/core/time/TimeExtent.js";
|
|
23
|
+
import * as wt from "@arcgis/core/core/promiseUtils.js";
|
|
24
24
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
25
25
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
26
|
-
v4.34.0-next.
|
|
27
|
-
const
|
|
26
|
+
v4.34.0-next.85 */
|
|
27
|
+
const ft = {
|
|
28
28
|
Count: "count",
|
|
29
29
|
Start: "minValue",
|
|
30
30
|
End: "maxValue"
|
|
31
|
-
},
|
|
31
|
+
}, Bt = {
|
|
32
32
|
Reject: "reject",
|
|
33
33
|
RenderUpToTheLimit: "renderUpToTheLimit"
|
|
34
|
-
},
|
|
34
|
+
}, x = {
|
|
35
35
|
AxisLabels: "axisLabels",
|
|
36
36
|
GuideLabel: "guideLabel",
|
|
37
37
|
AxisTitle: "axisTitle",
|
|
@@ -41,24 +41,24 @@ const dt = {
|
|
|
41
41
|
LegendTitle: "legendTitle",
|
|
42
42
|
LegendText: "legendText",
|
|
43
43
|
DescriptionText: "descriptionText"
|
|
44
|
-
},
|
|
44
|
+
}, gs = 32, Mr = "arcgis_charts_features_extent", ue = {
|
|
45
45
|
maxRecordCountFactor: 5,
|
|
46
46
|
maxParallelRequests: 4,
|
|
47
47
|
maxRecords: 2e3,
|
|
48
48
|
orderByJSAPIDelimiter: " ",
|
|
49
49
|
outStatistics: {
|
|
50
|
-
statisticType:
|
|
50
|
+
statisticType: yr.statisticType,
|
|
51
51
|
onStatisticField: "OBJECTID",
|
|
52
52
|
outStatisticFieldName: "arcgis_charts_outStatisticFieldName_default_key"
|
|
53
53
|
},
|
|
54
54
|
uniqueIdsName: "arcgisChartsUniqueIds"
|
|
55
|
-
},
|
|
55
|
+
}, Rr = ["EXPR_1", "Expr1", "expr1", "EXPR1"], ps = 1, W = 0.7, qr = 25, Lt = [156, 156, 156, 255], Vr = [156, 156, 156, 255], ys = Ce.Solid, Ss = 2, bs = {
|
|
56
56
|
defaultGroupOfSlicesId: "arcgis_charts_group_of_slices",
|
|
57
57
|
sliceIdPrefix: "arcgis-charts-slice-id",
|
|
58
58
|
undefinedSliceId: "arcgis-charts-slice-id-undefined",
|
|
59
59
|
nullSliceId: "arcgis-charts-slice-id-null",
|
|
60
60
|
emptySliceId: "arcgis-charts-slice-id-empty"
|
|
61
|
-
},
|
|
61
|
+
}, it = "arcgis_charts_box_plot_category", _r = [
|
|
62
62
|
[31, 120, 180, 255],
|
|
63
63
|
[166, 206, 227, 255],
|
|
64
64
|
[51, 160, 44, 255],
|
|
@@ -69,33 +69,33 @@ const dt = {
|
|
|
69
69
|
[253, 191, 111, 255],
|
|
70
70
|
[106, 61, 154, 255],
|
|
71
71
|
[202, 178, 214, 255]
|
|
72
|
-
],
|
|
72
|
+
], $r = [
|
|
73
73
|
[104, 104, 104, 255],
|
|
74
74
|
[51, 124, 235, 255],
|
|
75
75
|
[132, 0, 168, 255],
|
|
76
76
|
[156, 156, 156, 255]
|
|
77
77
|
];
|
|
78
78
|
function j(e) {
|
|
79
|
-
const { colorIndex: t, opacity: r, histogramOverlays: i } = e, a = Math.max(0, t ?? 0), s = [...i === !0 ?
|
|
80
|
-
return [n, o,
|
|
79
|
+
const { colorIndex: t, opacity: r, histogramOverlays: i } = e, a = Math.max(0, t ?? 0), s = [...i === !0 ? $r : _r], [n, o, u, c] = s[a % s.length], l = r !== void 0 ? r * 255 : c;
|
|
80
|
+
return [n, o, u, l];
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function Pt(e) {
|
|
83
83
|
return [0, 0, 0, (e ?? W) * 255];
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function hs() {
|
|
86
86
|
return {
|
|
87
87
|
type: d.CursorCrosshair,
|
|
88
88
|
verticalLineVisible: !1,
|
|
89
89
|
horizontalLineVisible: !1,
|
|
90
90
|
style: {
|
|
91
91
|
type: V.SLS,
|
|
92
|
-
style:
|
|
92
|
+
style: Ce.Dot,
|
|
93
93
|
color: [211, 211, 211, 255],
|
|
94
94
|
width: 1
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function ze(e = 1) {
|
|
99
99
|
return [
|
|
100
100
|
Math.floor(Math.random() * 256),
|
|
101
101
|
Math.floor(Math.random() * 256),
|
|
@@ -109,35 +109,35 @@ function A(e) {
|
|
|
109
109
|
size: 10
|
|
110
110
|
};
|
|
111
111
|
switch (e) {
|
|
112
|
-
case
|
|
112
|
+
case x.ChartTitle:
|
|
113
113
|
t.size = 18;
|
|
114
114
|
break;
|
|
115
|
-
case
|
|
115
|
+
case x.AxisTitle:
|
|
116
116
|
t.size = 14;
|
|
117
117
|
break;
|
|
118
|
-
case
|
|
118
|
+
case x.LegendText:
|
|
119
119
|
t.size = 12;
|
|
120
120
|
break;
|
|
121
|
-
case
|
|
121
|
+
case x.LegendTitle:
|
|
122
122
|
t.size = 13;
|
|
123
123
|
break;
|
|
124
|
-
case
|
|
124
|
+
case x.DescriptionText:
|
|
125
125
|
t.size = 11;
|
|
126
126
|
break;
|
|
127
127
|
}
|
|
128
128
|
return t;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
let i =
|
|
132
|
-
return (r ===
|
|
130
|
+
function It(e = "", t = A(), r) {
|
|
131
|
+
let i = tt.Center;
|
|
132
|
+
return (r === x.DataLabels || r === x.GuideLabel) && (i = void 0), {
|
|
133
133
|
type: V.TS,
|
|
134
|
-
color:
|
|
134
|
+
color: Pt(),
|
|
135
135
|
text: e,
|
|
136
136
|
font: t,
|
|
137
137
|
horizontalAlignment: i
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function v(e) {
|
|
141
141
|
const { text: t, visible: r, font: i, type: a } = e ?? {
|
|
142
142
|
text: "",
|
|
143
143
|
visible: !0,
|
|
@@ -146,35 +146,35 @@ function x(e) {
|
|
|
146
146
|
return {
|
|
147
147
|
type: d.Text,
|
|
148
148
|
visible: r,
|
|
149
|
-
content:
|
|
149
|
+
content: It(t, i, a)
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
function Le(e) {
|
|
153
153
|
const t = e?.useRandomColor ?? !1, r = e?.useRampColor, i = e?.width ?? 1, a = e?.isHistogramOverlay;
|
|
154
|
-
let s = e?.color ??
|
|
155
|
-
return t ? s =
|
|
154
|
+
let s = e?.color ?? Pt(1);
|
|
155
|
+
return t ? s = ze() : r !== void 0 && (a === !0 ? s = j({
|
|
156
156
|
colorIndex: r.colorIndex,
|
|
157
157
|
histogramOverlays: a
|
|
158
158
|
}) : s = j({ colorIndex: r.colorIndex })), e?.opacity !== void 0 && (s[3] = e.opacity), {
|
|
159
159
|
type: V.SLS,
|
|
160
|
-
style:
|
|
160
|
+
style: Ce.Solid,
|
|
161
161
|
color: s,
|
|
162
162
|
width: i
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function Ur() {
|
|
166
166
|
return {
|
|
167
167
|
type: d.CategoryAxisFormat,
|
|
168
168
|
characterLimit: 11
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function xs() {
|
|
172
172
|
return {
|
|
173
173
|
type: d.DateAxisFormat,
|
|
174
174
|
intlOptions: {}
|
|
175
175
|
};
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Je() {
|
|
178
178
|
return {
|
|
179
179
|
type: d.NumberAxisFormat,
|
|
180
180
|
intlOptions: {
|
|
@@ -185,7 +185,7 @@ function Xe() {
|
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function vs() {
|
|
189
189
|
return {
|
|
190
190
|
type: d.NumberAxisFormat,
|
|
191
191
|
intlOptions: {
|
|
@@ -195,7 +195,7 @@ function Ss() {
|
|
|
195
195
|
}
|
|
196
196
|
};
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Fs() {
|
|
199
199
|
return {
|
|
200
200
|
type: d.NumberAxisFormat,
|
|
201
201
|
intlOptions: {
|
|
@@ -205,61 +205,61 @@ function bs() {
|
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
}
|
|
208
|
-
function
|
|
209
|
-
const t =
|
|
208
|
+
function mt(e = "Category Axis") {
|
|
209
|
+
const t = v({
|
|
210
210
|
text: e,
|
|
211
211
|
visible: !0,
|
|
212
|
-
font: A(
|
|
212
|
+
font: A(x.AxisTitle)
|
|
213
213
|
});
|
|
214
|
-
t.content.horizontalAlignment =
|
|
215
|
-
const r =
|
|
214
|
+
t.content.horizontalAlignment = tt.Center, t.content.verticalAlignment = Ft.Middle;
|
|
215
|
+
const r = v({
|
|
216
216
|
text: e,
|
|
217
217
|
visible: !0,
|
|
218
|
-
font: A(
|
|
218
|
+
font: A(x.AxisLabels)
|
|
219
219
|
});
|
|
220
220
|
return {
|
|
221
221
|
type: d.Axis,
|
|
222
222
|
visible: !0,
|
|
223
223
|
title: t,
|
|
224
224
|
labels: r,
|
|
225
|
-
valueFormat:
|
|
226
|
-
lineSymbol: Le({ color:
|
|
225
|
+
valueFormat: Ur(),
|
|
226
|
+
lineSymbol: Le({ color: Lt })
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
|
-
function
|
|
230
|
-
const t =
|
|
229
|
+
function Re(e = "Value Axis") {
|
|
230
|
+
const t = v({
|
|
231
231
|
text: e,
|
|
232
232
|
visible: !0,
|
|
233
|
-
font: A(
|
|
234
|
-
}), r =
|
|
233
|
+
font: A(x.AxisTitle)
|
|
234
|
+
}), r = v({
|
|
235
235
|
text: e,
|
|
236
236
|
visible: !0,
|
|
237
|
-
font: A(
|
|
237
|
+
font: A(x.AxisLabels)
|
|
238
238
|
});
|
|
239
|
-
return t.content.verticalAlignment =
|
|
239
|
+
return t.content.verticalAlignment = Ft.Middle, t.content.horizontalAlignment = tt.Center, {
|
|
240
240
|
type: d.Axis,
|
|
241
241
|
visible: !0,
|
|
242
242
|
title: t,
|
|
243
243
|
labels: r,
|
|
244
|
-
valueFormat:
|
|
245
|
-
lineSymbol: Le({ color:
|
|
244
|
+
valueFormat: Je(),
|
|
245
|
+
lineSymbol: Le({ color: Lt })
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function ce() {
|
|
249
249
|
return {
|
|
250
250
|
type: d.Legend,
|
|
251
251
|
visible: !0,
|
|
252
|
-
title:
|
|
252
|
+
title: v({
|
|
253
253
|
text: "",
|
|
254
254
|
visible: !0,
|
|
255
|
-
font: A(
|
|
255
|
+
font: A(x.LegendTitle)
|
|
256
256
|
}),
|
|
257
|
-
body:
|
|
258
|
-
position:
|
|
257
|
+
body: It("", A(x.LegendText)),
|
|
258
|
+
position: hr.Right,
|
|
259
259
|
maxHeight: Number.NaN
|
|
260
260
|
};
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function De(e) {
|
|
263
263
|
return {
|
|
264
264
|
type: d.Overlay,
|
|
265
265
|
visible: !0,
|
|
@@ -270,33 +270,33 @@ function Pe(e) {
|
|
|
270
270
|
})
|
|
271
271
|
};
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function de() {
|
|
274
274
|
return [255, 255, 255, 255];
|
|
275
275
|
}
|
|
276
|
-
async function
|
|
277
|
-
return (await
|
|
278
|
-
|
|
276
|
+
async function ie() {
|
|
277
|
+
return (await D(
|
|
278
|
+
E(document.documentElement).t9nLocale,
|
|
279
279
|
I("./assets/common/t9n"),
|
|
280
280
|
"messages."
|
|
281
281
|
)).utilsStrings.chartType.chart;
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function ae() {
|
|
284
284
|
return `Chart ${Date.now()}`;
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function As(e, t = !1) {
|
|
287
287
|
return {
|
|
288
288
|
type: V.SFS,
|
|
289
|
-
style:
|
|
290
|
-
color: t ?
|
|
289
|
+
style: Be.Solid,
|
|
290
|
+
color: t ? ze(W) : j({
|
|
291
291
|
colorIndex: e ?? 0,
|
|
292
292
|
opacity: W
|
|
293
293
|
})
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function zr(e = 0) {
|
|
297
297
|
return {
|
|
298
298
|
type: V.SMS,
|
|
299
|
-
style:
|
|
299
|
+
style: vt.Circle,
|
|
300
300
|
color: j({
|
|
301
301
|
colorIndex: e,
|
|
302
302
|
opacity: W
|
|
@@ -304,10 +304,10 @@ function $r(e = 0) {
|
|
|
304
304
|
size: 4
|
|
305
305
|
};
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function Qr(e) {
|
|
308
308
|
return {
|
|
309
309
|
type: V.SLS,
|
|
310
|
-
style:
|
|
310
|
+
style: Ce.Solid,
|
|
311
311
|
color: j({
|
|
312
312
|
colorIndex: e,
|
|
313
313
|
opacity: W
|
|
@@ -315,24 +315,24 @@ function Ur(e) {
|
|
|
315
315
|
width: 2
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
|
-
function
|
|
318
|
+
function Wr(e = !1) {
|
|
319
319
|
return {
|
|
320
320
|
type: V.SMS,
|
|
321
|
-
style:
|
|
322
|
-
color: e ?
|
|
321
|
+
style: vt.Circle,
|
|
322
|
+
color: e ? ze(W) : j({ colorIndex: 0, opacity: W }),
|
|
323
323
|
size: 7
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function Ts() {
|
|
327
327
|
return {
|
|
328
328
|
type: d.SizePolicy,
|
|
329
329
|
field: "",
|
|
330
|
-
scaleType:
|
|
330
|
+
scaleType: Sr.Linear,
|
|
331
331
|
minSize: 5,
|
|
332
332
|
maxSize: 30
|
|
333
333
|
};
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function Gr(e = !1) {
|
|
336
336
|
return {
|
|
337
337
|
type: d.Overlays,
|
|
338
338
|
trendLine: {
|
|
@@ -341,62 +341,62 @@ function Qr(e = !1) {
|
|
|
341
341
|
visible: !0,
|
|
342
342
|
symbol: {
|
|
343
343
|
type: V.SLS,
|
|
344
|
-
style:
|
|
345
|
-
color: e ?
|
|
344
|
+
style: Ce.Solid,
|
|
345
|
+
color: e ? ze() : j({ colorIndex: 1 }),
|
|
346
346
|
width: 2
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function jr() {
|
|
352
352
|
return {
|
|
353
353
|
type: d.ScatterSeries,
|
|
354
354
|
id: d.ScatterSeries,
|
|
355
355
|
name: d.ScatterSeries,
|
|
356
356
|
x: "",
|
|
357
357
|
y: "",
|
|
358
|
-
markerSymbol:
|
|
359
|
-
overlays:
|
|
360
|
-
dataLabels:
|
|
358
|
+
markerSymbol: Wr(),
|
|
359
|
+
overlays: Gr(),
|
|
360
|
+
dataLabels: v({
|
|
361
361
|
text: "",
|
|
362
362
|
visible: !1,
|
|
363
|
-
font: A(
|
|
363
|
+
font: A(x.DataLabels)
|
|
364
364
|
})
|
|
365
365
|
};
|
|
366
366
|
}
|
|
367
367
|
async function Se(e) {
|
|
368
|
-
const t = await
|
|
369
|
-
|
|
368
|
+
const t = await D(
|
|
369
|
+
E(document.documentElement).t9nLocale,
|
|
370
370
|
I("./assets/common/t9n"),
|
|
371
371
|
"messages."
|
|
372
372
|
), r = [], i = t.xAxis, a = t.utilsStrings.statistics.count;
|
|
373
373
|
let s;
|
|
374
|
-
const n =
|
|
375
|
-
opacity:
|
|
374
|
+
const n = Re(a), o = Le({
|
|
375
|
+
opacity: qr
|
|
376
376
|
});
|
|
377
377
|
switch (n.grid = o, e) {
|
|
378
378
|
case d.BarSeries: {
|
|
379
|
-
s =
|
|
379
|
+
s = mt(i);
|
|
380
380
|
break;
|
|
381
381
|
}
|
|
382
382
|
case d.ScatterSeries: {
|
|
383
|
-
s =
|
|
383
|
+
s = Re(i), s.grid = o;
|
|
384
384
|
break;
|
|
385
385
|
}
|
|
386
386
|
case d.RadarSeries:
|
|
387
387
|
case d.LineSeries:
|
|
388
388
|
case d.HistogramSeries: {
|
|
389
|
-
s =
|
|
389
|
+
s = Re(i);
|
|
390
390
|
break;
|
|
391
391
|
}
|
|
392
392
|
case d.BoxPlotSeries: {
|
|
393
|
-
s =
|
|
393
|
+
s = mt("");
|
|
394
394
|
break;
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
return s !== void 0 && r.push(s, n), r;
|
|
398
398
|
}
|
|
399
|
-
function
|
|
399
|
+
function Hr() {
|
|
400
400
|
return {
|
|
401
401
|
type: d.GaugeNeedle,
|
|
402
402
|
symbol: {
|
|
@@ -405,17 +405,17 @@ function Gr() {
|
|
|
405
405
|
}
|
|
406
406
|
};
|
|
407
407
|
}
|
|
408
|
-
async function
|
|
409
|
-
const e = await
|
|
410
|
-
|
|
408
|
+
async function Yr() {
|
|
409
|
+
const e = await D(
|
|
410
|
+
E(document.documentElement).t9nLocale,
|
|
411
411
|
I("./assets/common/t9n"),
|
|
412
412
|
"messages."
|
|
413
|
-
), t = [], r = e.xAxis, i =
|
|
414
|
-
return i.needle =
|
|
413
|
+
), t = [], r = e.xAxis, i = Re(r);
|
|
414
|
+
return i.needle = Hr(), t.push(i), t;
|
|
415
415
|
}
|
|
416
|
-
async function
|
|
417
|
-
const t = e.objectIDField ?? "ObjectID", r = `${
|
|
418
|
-
|
|
416
|
+
async function Xr(e) {
|
|
417
|
+
const t = e.objectIDField ?? "ObjectID", r = `${L.Count}_${t}_0`.toUpperCase(), a = (await D(
|
|
418
|
+
E(document.documentElement).t9nLocale,
|
|
419
419
|
I("./assets/common/t9n"),
|
|
420
420
|
"messages."
|
|
421
421
|
)).countSeries;
|
|
@@ -426,7 +426,7 @@ async function Hr(e) {
|
|
|
426
426
|
query: {
|
|
427
427
|
outStatistics: [
|
|
428
428
|
{
|
|
429
|
-
statisticType:
|
|
429
|
+
statisticType: L.Count,
|
|
430
430
|
onStatisticField: t,
|
|
431
431
|
outStatisticFieldName: r
|
|
432
432
|
}
|
|
@@ -435,39 +435,39 @@ async function Hr(e) {
|
|
|
435
435
|
},
|
|
436
436
|
x: "",
|
|
437
437
|
y: r,
|
|
438
|
-
lineSymbol:
|
|
439
|
-
markerSymbol:
|
|
440
|
-
dataLabels:
|
|
438
|
+
lineSymbol: Qr(e.seriesIndex),
|
|
439
|
+
markerSymbol: zr(e.seriesIndex),
|
|
440
|
+
dataLabels: v({
|
|
441
441
|
text: "",
|
|
442
442
|
visible: !1,
|
|
443
|
-
font: A(
|
|
443
|
+
font: A(x.DataLabels)
|
|
444
444
|
}),
|
|
445
445
|
temporalBinning: {
|
|
446
|
-
type:
|
|
447
|
-
unit:
|
|
446
|
+
type: xt.FixedDateBased,
|
|
447
|
+
unit: q.Day,
|
|
448
448
|
size: 0,
|
|
449
449
|
timeAggregationType: ve.Start,
|
|
450
450
|
trimIncompleteTimeInterval: !0,
|
|
451
|
-
nullPolicy:
|
|
451
|
+
nullPolicy: br.Interpolate
|
|
452
452
|
}
|
|
453
453
|
};
|
|
454
454
|
}
|
|
455
|
-
async function
|
|
456
|
-
return { ...await
|
|
455
|
+
async function Cs(e) {
|
|
456
|
+
return { ...await Xr(e), type: d.RadarSeries };
|
|
457
457
|
}
|
|
458
|
-
function
|
|
458
|
+
function Jr(e) {
|
|
459
459
|
return {
|
|
460
460
|
type: V.SFS,
|
|
461
|
-
style:
|
|
461
|
+
style: Be.Solid,
|
|
462
462
|
color: j({
|
|
463
463
|
colorIndex: e,
|
|
464
464
|
opacity: W
|
|
465
465
|
})
|
|
466
466
|
};
|
|
467
467
|
}
|
|
468
|
-
async function
|
|
469
|
-
const t = e.objectIDField ?? "ObjectID", r = `${
|
|
470
|
-
|
|
468
|
+
async function ws(e) {
|
|
469
|
+
const t = e.objectIDField ?? "ObjectID", r = `${L.Count}_${t}_0`.toUpperCase(), a = (await D(
|
|
470
|
+
E(document.documentElement).t9nLocale,
|
|
471
471
|
I("./assets/common/t9n"),
|
|
472
472
|
"messages."
|
|
473
473
|
)).countSeries;
|
|
@@ -478,7 +478,7 @@ async function Fs(e) {
|
|
|
478
478
|
query: {
|
|
479
479
|
outStatistics: [
|
|
480
480
|
{
|
|
481
|
-
statisticType:
|
|
481
|
+
statisticType: L.Count,
|
|
482
482
|
onStatisticField: t,
|
|
483
483
|
outStatisticFieldName: r
|
|
484
484
|
}
|
|
@@ -487,18 +487,18 @@ async function Fs(e) {
|
|
|
487
487
|
},
|
|
488
488
|
x: "",
|
|
489
489
|
y: r,
|
|
490
|
-
fillSymbol:
|
|
491
|
-
dataLabels:
|
|
490
|
+
fillSymbol: Jr(e.seriesIndex),
|
|
491
|
+
dataLabels: v({
|
|
492
492
|
text: "",
|
|
493
493
|
visible: !1,
|
|
494
|
-
font: A(
|
|
495
|
-
type:
|
|
494
|
+
font: A(x.DataLabels),
|
|
495
|
+
type: x.DataLabels
|
|
496
496
|
})
|
|
497
497
|
};
|
|
498
498
|
}
|
|
499
|
-
async function
|
|
500
|
-
const r = (await
|
|
501
|
-
|
|
499
|
+
async function Bs(e) {
|
|
500
|
+
const r = (await D(
|
|
501
|
+
E(document.documentElement).t9nLocale,
|
|
502
502
|
I("./assets/common/t9n"),
|
|
503
503
|
"messages."
|
|
504
504
|
)).countSeries;
|
|
@@ -508,36 +508,36 @@ async function As(e) {
|
|
|
508
508
|
id: r,
|
|
509
509
|
fillSymbol: {
|
|
510
510
|
type: V.SFS,
|
|
511
|
-
style:
|
|
511
|
+
style: Be.Solid,
|
|
512
512
|
color: j({
|
|
513
513
|
colorIndex: e,
|
|
514
514
|
opacity: W
|
|
515
515
|
})
|
|
516
516
|
},
|
|
517
517
|
query: {},
|
|
518
|
-
x:
|
|
518
|
+
x: it,
|
|
519
519
|
y: ""
|
|
520
520
|
};
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function Kr() {
|
|
523
523
|
return {
|
|
524
524
|
type: d.PieTick,
|
|
525
525
|
visible: !0,
|
|
526
526
|
lineSymbol: Le({
|
|
527
527
|
width: 1,
|
|
528
|
-
color:
|
|
528
|
+
color: Vr
|
|
529
529
|
})
|
|
530
530
|
};
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function Zr() {
|
|
533
533
|
return {
|
|
534
534
|
type: V.SFS,
|
|
535
|
-
style:
|
|
535
|
+
style: Be.Solid
|
|
536
536
|
};
|
|
537
537
|
}
|
|
538
|
-
async function
|
|
539
|
-
const t = `${
|
|
540
|
-
|
|
538
|
+
async function Ls(e) {
|
|
539
|
+
const t = `${L.Count}_${e}_0`.toUpperCase(), i = (await D(
|
|
540
|
+
E(document.documentElement).t9nLocale,
|
|
541
541
|
I("./assets/common/t9n"),
|
|
542
542
|
"messages."
|
|
543
543
|
)).countSeries;
|
|
@@ -548,7 +548,7 @@ async function Ts(e) {
|
|
|
548
548
|
query: {
|
|
549
549
|
outStatistics: [
|
|
550
550
|
{
|
|
551
|
-
statisticType:
|
|
551
|
+
statisticType: L.Count,
|
|
552
552
|
onStatisticField: e ?? "ObjectID",
|
|
553
553
|
outStatisticFieldName: t
|
|
554
554
|
}
|
|
@@ -557,12 +557,12 @@ async function Ts(e) {
|
|
|
557
557
|
},
|
|
558
558
|
x: "",
|
|
559
559
|
y: t,
|
|
560
|
-
fillSymbol:
|
|
561
|
-
dataLabels:
|
|
560
|
+
fillSymbol: Zr(),
|
|
561
|
+
dataLabels: v({
|
|
562
562
|
text: "",
|
|
563
563
|
visible: !1,
|
|
564
|
-
font: A(
|
|
565
|
-
type:
|
|
564
|
+
font: A(x.DataLabels),
|
|
565
|
+
type: x.DataLabels
|
|
566
566
|
}),
|
|
567
567
|
startAngle: -90,
|
|
568
568
|
endAngle: 270,
|
|
@@ -571,24 +571,24 @@ async function Ts(e) {
|
|
|
571
571
|
displayNumericValueOnDataLabel: !1,
|
|
572
572
|
displayPercentageOnDataLabel: !0,
|
|
573
573
|
numericValueFormat: {
|
|
574
|
-
...
|
|
574
|
+
...Je(),
|
|
575
575
|
intlOptions: {
|
|
576
576
|
minimumFractionDigits: 1,
|
|
577
577
|
maximumFractionDigits: 1
|
|
578
578
|
}
|
|
579
579
|
},
|
|
580
580
|
percentValueFormat: {
|
|
581
|
-
...
|
|
581
|
+
...Je(),
|
|
582
582
|
intlOptions: {
|
|
583
583
|
minimumFractionDigits: 1,
|
|
584
584
|
maximumFractionDigits: 1
|
|
585
585
|
}
|
|
586
586
|
},
|
|
587
|
-
ticks:
|
|
587
|
+
ticks: Kr()
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
|
-
function
|
|
591
|
-
const t = e.objectIDField ?? "ObjectID", r = `${
|
|
590
|
+
function Ps(e) {
|
|
591
|
+
const t = e.objectIDField ?? "ObjectID", r = `${L.Count}_${t}_0`.toUpperCase(), i = "Series0";
|
|
592
592
|
return {
|
|
593
593
|
type: d.GaugeSeries,
|
|
594
594
|
id: i,
|
|
@@ -596,7 +596,7 @@ function ws(e) {
|
|
|
596
596
|
query: {
|
|
597
597
|
outStatistics: [
|
|
598
598
|
{
|
|
599
|
-
statisticType:
|
|
599
|
+
statisticType: L.Count,
|
|
600
600
|
onStatisticField: t,
|
|
601
601
|
outStatisticFieldName: r
|
|
602
602
|
}
|
|
@@ -605,217 +605,217 @@ function ws(e) {
|
|
|
605
605
|
x: ""
|
|
606
606
|
};
|
|
607
607
|
}
|
|
608
|
-
function
|
|
608
|
+
function Fe() {
|
|
609
609
|
return !1;
|
|
610
610
|
}
|
|
611
|
-
async function
|
|
611
|
+
async function Is(e = ae()) {
|
|
612
612
|
return {
|
|
613
|
-
version:
|
|
613
|
+
version: re,
|
|
614
614
|
type: d.Chart,
|
|
615
615
|
id: e,
|
|
616
616
|
colorMatch: !0,
|
|
617
|
-
rotated:
|
|
617
|
+
rotated: Fe(),
|
|
618
618
|
orderOptions: {
|
|
619
619
|
data: {
|
|
620
620
|
orderType: we.Category,
|
|
621
|
-
orderBy:
|
|
621
|
+
orderBy: ee.Ascending
|
|
622
622
|
}
|
|
623
623
|
},
|
|
624
|
-
title:
|
|
625
|
-
text: await
|
|
624
|
+
title: v({
|
|
625
|
+
text: await ie(),
|
|
626
626
|
visible: !0,
|
|
627
|
-
font: A(
|
|
627
|
+
font: A(x.ChartTitle)
|
|
628
628
|
}),
|
|
629
|
-
subtitle:
|
|
630
|
-
footer:
|
|
629
|
+
subtitle: v(),
|
|
630
|
+
footer: v({
|
|
631
631
|
text: "",
|
|
632
632
|
visible: !0,
|
|
633
|
-
font: A(
|
|
633
|
+
font: A(x.DescriptionText)
|
|
634
634
|
}),
|
|
635
|
-
background:
|
|
635
|
+
background: de(),
|
|
636
636
|
axes: await Se(d.BarSeries),
|
|
637
637
|
series: [],
|
|
638
|
-
legend:
|
|
638
|
+
legend: ce()
|
|
639
639
|
};
|
|
640
640
|
}
|
|
641
|
-
async function
|
|
641
|
+
async function Ds(e = ae()) {
|
|
642
642
|
return {
|
|
643
|
-
version:
|
|
643
|
+
version: re,
|
|
644
644
|
type: d.Chart,
|
|
645
645
|
id: e,
|
|
646
|
-
rotated:
|
|
646
|
+
rotated: Fe(),
|
|
647
647
|
colorMatch: !0,
|
|
648
648
|
orderOptions: {
|
|
649
649
|
data: {
|
|
650
650
|
orderType: we.Category,
|
|
651
|
-
orderBy:
|
|
651
|
+
orderBy: ee.Ascending
|
|
652
652
|
}
|
|
653
653
|
},
|
|
654
|
-
title:
|
|
655
|
-
text: await
|
|
654
|
+
title: v({
|
|
655
|
+
text: await ie(),
|
|
656
656
|
visible: !0,
|
|
657
|
-
font: A(
|
|
657
|
+
font: A(x.ChartTitle)
|
|
658
658
|
}),
|
|
659
|
-
subtitle:
|
|
660
|
-
footer:
|
|
659
|
+
subtitle: v(),
|
|
660
|
+
footer: v({
|
|
661
661
|
text: "",
|
|
662
662
|
visible: !0,
|
|
663
|
-
font: A(
|
|
663
|
+
font: A(x.DescriptionText)
|
|
664
664
|
}),
|
|
665
|
-
background:
|
|
665
|
+
background: de(),
|
|
666
666
|
series: [],
|
|
667
|
-
legend:
|
|
667
|
+
legend: ce(),
|
|
668
668
|
axes: await Se(d.BoxPlotSeries),
|
|
669
669
|
standardizeValues: !0,
|
|
670
670
|
showOutliers: !1
|
|
671
671
|
};
|
|
672
672
|
}
|
|
673
|
-
async function
|
|
673
|
+
async function Es(e = ae()) {
|
|
674
674
|
return {
|
|
675
|
-
version:
|
|
675
|
+
version: re,
|
|
676
676
|
type: d.Chart,
|
|
677
677
|
id: e,
|
|
678
678
|
colorMatch: !0,
|
|
679
|
-
rotated:
|
|
679
|
+
rotated: Fe(),
|
|
680
680
|
orderOptions: {
|
|
681
681
|
data: {
|
|
682
682
|
orderType: we.Category,
|
|
683
|
-
orderBy:
|
|
683
|
+
orderBy: ee.Ascending
|
|
684
684
|
}
|
|
685
685
|
},
|
|
686
|
-
title:
|
|
687
|
-
text: await
|
|
686
|
+
title: v({
|
|
687
|
+
text: await ie(),
|
|
688
688
|
visible: !0,
|
|
689
|
-
font: A(
|
|
689
|
+
font: A(x.ChartTitle)
|
|
690
690
|
}),
|
|
691
|
-
subtitle:
|
|
692
|
-
footer:
|
|
691
|
+
subtitle: v(),
|
|
692
|
+
footer: v({
|
|
693
693
|
text: "",
|
|
694
694
|
visible: !0,
|
|
695
|
-
font: A(
|
|
695
|
+
font: A(x.DescriptionText)
|
|
696
696
|
}),
|
|
697
|
-
background:
|
|
697
|
+
background: de(),
|
|
698
698
|
axes: await Se(d.LineSeries),
|
|
699
699
|
series: [],
|
|
700
|
-
legend:
|
|
700
|
+
legend: ce()
|
|
701
701
|
};
|
|
702
702
|
}
|
|
703
|
-
async function
|
|
703
|
+
async function Ns(e = ae()) {
|
|
704
704
|
return {
|
|
705
|
-
version:
|
|
705
|
+
version: re,
|
|
706
706
|
type: d.Chart,
|
|
707
707
|
id: e,
|
|
708
708
|
colorMatch: !0,
|
|
709
709
|
orderOptions: {
|
|
710
710
|
data: {
|
|
711
711
|
orderType: we.Category,
|
|
712
|
-
orderBy:
|
|
712
|
+
orderBy: ee.Ascending
|
|
713
713
|
}
|
|
714
714
|
},
|
|
715
|
-
title:
|
|
716
|
-
text: await
|
|
715
|
+
title: v({
|
|
716
|
+
text: await ie(),
|
|
717
717
|
visible: !0,
|
|
718
|
-
font: A(
|
|
718
|
+
font: A(x.ChartTitle)
|
|
719
719
|
}),
|
|
720
|
-
subtitle:
|
|
721
|
-
footer:
|
|
720
|
+
subtitle: v(),
|
|
721
|
+
footer: v({
|
|
722
722
|
text: "",
|
|
723
723
|
visible: !0,
|
|
724
|
-
font: A(
|
|
724
|
+
font: A(x.DescriptionText)
|
|
725
725
|
}),
|
|
726
|
-
background:
|
|
726
|
+
background: de(),
|
|
727
727
|
axes: await Se(d.RadarSeries),
|
|
728
728
|
series: [],
|
|
729
|
-
legend:
|
|
729
|
+
legend: ce()
|
|
730
730
|
};
|
|
731
731
|
}
|
|
732
|
-
async function
|
|
732
|
+
async function ks(e = ae()) {
|
|
733
733
|
return {
|
|
734
|
-
version:
|
|
734
|
+
version: re,
|
|
735
735
|
type: d.Chart,
|
|
736
736
|
id: e,
|
|
737
737
|
colorMatch: !0,
|
|
738
738
|
orderOptions: {
|
|
739
739
|
data: {
|
|
740
740
|
orderType: we.YValue,
|
|
741
|
-
orderBy:
|
|
741
|
+
orderBy: ee.Descending
|
|
742
742
|
}
|
|
743
743
|
},
|
|
744
|
-
title:
|
|
745
|
-
text: await
|
|
744
|
+
title: v({
|
|
745
|
+
text: await ie(),
|
|
746
746
|
visible: !0,
|
|
747
|
-
font: A(
|
|
747
|
+
font: A(x.ChartTitle)
|
|
748
748
|
}),
|
|
749
|
-
subtitle:
|
|
750
|
-
footer:
|
|
749
|
+
subtitle: v(),
|
|
750
|
+
footer: v({
|
|
751
751
|
text: "",
|
|
752
752
|
visible: !0,
|
|
753
|
-
font: A(
|
|
753
|
+
font: A(x.DescriptionText)
|
|
754
754
|
}),
|
|
755
|
-
background:
|
|
755
|
+
background: de(),
|
|
756
756
|
series: [],
|
|
757
757
|
legend: {
|
|
758
|
-
...
|
|
758
|
+
...ce(),
|
|
759
759
|
displayNumericValue: !1,
|
|
760
760
|
displayPercentage: !0
|
|
761
761
|
}
|
|
762
762
|
};
|
|
763
763
|
}
|
|
764
|
-
async function
|
|
764
|
+
async function Os(e = ae()) {
|
|
765
765
|
return {
|
|
766
|
-
version:
|
|
766
|
+
version: re,
|
|
767
767
|
type: d.Chart,
|
|
768
768
|
id: e,
|
|
769
769
|
colorMatch: !0,
|
|
770
|
-
title:
|
|
771
|
-
text: await
|
|
770
|
+
title: v({
|
|
771
|
+
text: await ie(),
|
|
772
772
|
visible: !0,
|
|
773
|
-
font: A(
|
|
773
|
+
font: A(x.ChartTitle)
|
|
774
774
|
}),
|
|
775
775
|
series: [],
|
|
776
|
-
axes: await
|
|
776
|
+
axes: await Yr()
|
|
777
777
|
};
|
|
778
778
|
}
|
|
779
|
-
async function
|
|
779
|
+
async function Ms(e = ae()) {
|
|
780
780
|
return {
|
|
781
|
-
version:
|
|
781
|
+
version: re,
|
|
782
782
|
type: d.Chart,
|
|
783
783
|
id: e,
|
|
784
784
|
colorMatch: !0,
|
|
785
|
-
title:
|
|
786
|
-
text: await
|
|
785
|
+
title: v({
|
|
786
|
+
text: await ie(),
|
|
787
787
|
visible: !0,
|
|
788
|
-
font: A(
|
|
788
|
+
font: A(x.ChartTitle)
|
|
789
789
|
}),
|
|
790
|
-
subtitle:
|
|
791
|
-
footer:
|
|
790
|
+
subtitle: v(),
|
|
791
|
+
footer: v({
|
|
792
792
|
text: "",
|
|
793
793
|
visible: !0,
|
|
794
|
-
font: A(
|
|
794
|
+
font: A(x.DescriptionText)
|
|
795
795
|
}),
|
|
796
|
-
background:
|
|
796
|
+
background: de(),
|
|
797
797
|
axes: await Se(d.ScatterSeries),
|
|
798
|
-
series: [
|
|
799
|
-
legend:
|
|
798
|
+
series: [jr()],
|
|
799
|
+
legend: ce()
|
|
800
800
|
};
|
|
801
801
|
}
|
|
802
|
-
function
|
|
802
|
+
function ei() {
|
|
803
803
|
return {
|
|
804
804
|
type: d.Overlays,
|
|
805
|
-
mean:
|
|
806
|
-
median:
|
|
807
|
-
standardDeviation:
|
|
808
|
-
comparisonDistribution:
|
|
805
|
+
mean: De(1),
|
|
806
|
+
median: De(2),
|
|
807
|
+
standardDeviation: De(3),
|
|
808
|
+
comparisonDistribution: De(4)
|
|
809
809
|
};
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function ti() {
|
|
812
812
|
return {
|
|
813
813
|
type: V.SFS,
|
|
814
|
-
style:
|
|
814
|
+
style: Be.Solid,
|
|
815
815
|
color: j({ colorIndex: 0, opacity: W })
|
|
816
816
|
};
|
|
817
817
|
}
|
|
818
|
-
function
|
|
818
|
+
function ri() {
|
|
819
819
|
return {
|
|
820
820
|
type: d.HistogramSeries,
|
|
821
821
|
id: d.HistogramSeries,
|
|
@@ -826,42 +826,42 @@ function ei() {
|
|
|
826
826
|
assignToSecondValueAxis: !1,
|
|
827
827
|
x: "",
|
|
828
828
|
binCount: 32,
|
|
829
|
-
overlays:
|
|
830
|
-
dataTransformationType:
|
|
831
|
-
fillSymbol:
|
|
832
|
-
dataLabels:
|
|
829
|
+
overlays: ei(),
|
|
830
|
+
dataTransformationType: ht.None,
|
|
831
|
+
fillSymbol: ti(),
|
|
832
|
+
dataLabels: v({
|
|
833
833
|
text: "",
|
|
834
834
|
visible: !1,
|
|
835
|
-
font: A(
|
|
835
|
+
font: A(x.DataLabels)
|
|
836
836
|
})
|
|
837
837
|
};
|
|
838
838
|
}
|
|
839
|
-
async function
|
|
839
|
+
async function Rs(e = ae()) {
|
|
840
840
|
return {
|
|
841
|
-
version:
|
|
841
|
+
version: re,
|
|
842
842
|
type: d.Chart,
|
|
843
843
|
id: e,
|
|
844
844
|
colorMatch: !0,
|
|
845
|
-
title:
|
|
846
|
-
text: await
|
|
845
|
+
title: v({
|
|
846
|
+
text: await ie(),
|
|
847
847
|
visible: !0,
|
|
848
|
-
font: A(
|
|
848
|
+
font: A(x.ChartTitle)
|
|
849
849
|
}),
|
|
850
|
-
subtitle:
|
|
851
|
-
footer:
|
|
850
|
+
subtitle: v(),
|
|
851
|
+
footer: v({
|
|
852
852
|
text: "",
|
|
853
853
|
visible: !0,
|
|
854
|
-
font: A(
|
|
854
|
+
font: A(x.DescriptionText)
|
|
855
855
|
}),
|
|
856
|
-
background:
|
|
856
|
+
background: de(),
|
|
857
857
|
axes: await Se(d.HistogramSeries),
|
|
858
|
-
series: [
|
|
859
|
-
legend:
|
|
858
|
+
series: [ri()],
|
|
859
|
+
legend: ce()
|
|
860
860
|
};
|
|
861
861
|
}
|
|
862
|
-
const
|
|
862
|
+
const Ee = {
|
|
863
863
|
// chart's behavior once the limit is reached
|
|
864
|
-
behaviorAfterLimit:
|
|
864
|
+
behaviorAfterLimit: Bt.Reject,
|
|
865
865
|
// maximum number of categories for any chart.
|
|
866
866
|
maxCategoryCount: Number.NaN,
|
|
867
867
|
// maximum number of series for a bar chart
|
|
@@ -915,14 +915,14 @@ const Ie = {
|
|
|
915
915
|
// maximum number of outliers for box plot
|
|
916
916
|
maxBoxPlotOutlierLimit: 1e4
|
|
917
917
|
};
|
|
918
|
-
function
|
|
919
|
-
const t = { ...
|
|
920
|
-
return e !== void 0 && Object.keys(
|
|
918
|
+
function ii(e) {
|
|
919
|
+
const t = { ...Ee };
|
|
920
|
+
return e !== void 0 && Object.keys(Ee).forEach((r) => {
|
|
921
921
|
const i = r;
|
|
922
|
-
t[i] = e[i] ??
|
|
922
|
+
t[i] = e[i] ?? Ee[i];
|
|
923
923
|
}), t;
|
|
924
924
|
}
|
|
925
|
-
function
|
|
925
|
+
function qs() {
|
|
926
926
|
return {
|
|
927
927
|
/* Specifies the size of the queries on an aggregated scatterplot, counting the number of cells per query.
|
|
928
928
|
A bigger number implies fewer but slower queries. A smaller number implies more but faster queries.
|
|
@@ -946,47 +946,47 @@ function ks() {
|
|
|
946
946
|
maxOperandsPerWhereClause: 200
|
|
947
947
|
};
|
|
948
948
|
}
|
|
949
|
-
async function
|
|
950
|
-
const t = await
|
|
951
|
-
|
|
949
|
+
async function Vs(e) {
|
|
950
|
+
const t = await D(
|
|
951
|
+
E(document.documentElement).t9nLocale,
|
|
952
952
|
I("./assets/common/t9n"),
|
|
953
953
|
"messages."
|
|
954
954
|
);
|
|
955
955
|
let r;
|
|
956
956
|
switch (e) {
|
|
957
|
-
case
|
|
957
|
+
case L.Average: {
|
|
958
958
|
r = t.utilsStrings.statistics.mean;
|
|
959
959
|
break;
|
|
960
960
|
}
|
|
961
|
-
case
|
|
961
|
+
case L.ContinuousPercentile: {
|
|
962
962
|
r = t.utilsStrings.statistics.median;
|
|
963
963
|
break;
|
|
964
964
|
}
|
|
965
|
-
case
|
|
965
|
+
case L.Sum: {
|
|
966
966
|
r = t.utilsStrings.statistics.sum;
|
|
967
967
|
break;
|
|
968
968
|
}
|
|
969
|
-
case
|
|
969
|
+
case L.Minimum: {
|
|
970
970
|
r = t.utilsStrings.statistics.minimum;
|
|
971
971
|
break;
|
|
972
972
|
}
|
|
973
|
-
case
|
|
973
|
+
case L.Maximum: {
|
|
974
974
|
r = t.utilsStrings.statistics.maximum;
|
|
975
975
|
break;
|
|
976
976
|
}
|
|
977
|
-
case
|
|
977
|
+
case L.Variance: {
|
|
978
978
|
r = t.utilsStrings.statistics.variance;
|
|
979
979
|
break;
|
|
980
980
|
}
|
|
981
|
-
case
|
|
981
|
+
case L.DiscretePercentile: {
|
|
982
982
|
r = t.utilsStrings.statistics.discretePercentile;
|
|
983
983
|
break;
|
|
984
984
|
}
|
|
985
|
-
case
|
|
985
|
+
case L.NoAggregation: {
|
|
986
986
|
r = t.utilsStrings.statistics.noAggregation;
|
|
987
987
|
break;
|
|
988
988
|
}
|
|
989
|
-
case
|
|
989
|
+
case L.Count:
|
|
990
990
|
default: {
|
|
991
991
|
r = t.utilsStrings.statistics.count;
|
|
992
992
|
break;
|
|
@@ -994,9 +994,9 @@ async function Os(e) {
|
|
|
994
994
|
}
|
|
995
995
|
return r;
|
|
996
996
|
}
|
|
997
|
-
async function
|
|
998
|
-
const t = await
|
|
999
|
-
|
|
997
|
+
async function _s(e) {
|
|
998
|
+
const t = await D(
|
|
999
|
+
E(document.documentElement).t9nLocale,
|
|
1000
1000
|
I("./assets/common/t9n"),
|
|
1001
1001
|
"messages."
|
|
1002
1002
|
);
|
|
@@ -1016,17 +1016,17 @@ async function Ms(e) {
|
|
|
1016
1016
|
}
|
|
1017
1017
|
return r;
|
|
1018
1018
|
}
|
|
1019
|
-
function
|
|
1020
|
-
return
|
|
1019
|
+
function ai() {
|
|
1020
|
+
return Me.Side;
|
|
1021
1021
|
}
|
|
1022
|
-
async function
|
|
1023
|
-
return (await
|
|
1024
|
-
|
|
1022
|
+
async function $s() {
|
|
1023
|
+
return (await D(
|
|
1024
|
+
E(document.documentElement).t9nLocale,
|
|
1025
1025
|
I("./assets/common/t9n"),
|
|
1026
1026
|
"messages."
|
|
1027
1027
|
)).utilsStrings.notAvailable;
|
|
1028
1028
|
}
|
|
1029
|
-
const
|
|
1029
|
+
const Us = 0, si = "_arcgis_charts_outliers", ni = "_arcgis_charts_z_score", zs = [210, 210, 210, 255 * W], Qs = " percentage ";
|
|
1030
1030
|
/*!
|
|
1031
1031
|
* @esri/arcgis-html-sanitizer - v4.1.0 - Tue Dec 03 2024 09:13:28 GMT-0500 (Eastern Standard Time)
|
|
1032
1032
|
* Copyright (c) 2024 - Environmental Systems Research Institute, Inc.
|
|
@@ -1051,33 +1051,33 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
1051
1051
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1052
1052
|
PERFORMANCE OF THIS SOFTWARE.
|
|
1053
1053
|
***************************************************************************** */
|
|
1054
|
-
var
|
|
1055
|
-
return
|
|
1054
|
+
var Ve = function() {
|
|
1055
|
+
return Ve = Object.assign || function(t) {
|
|
1056
1056
|
for (var r, i = 1, a = arguments.length; i < a; i++) {
|
|
1057
1057
|
r = arguments[i];
|
|
1058
1058
|
for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1059
1059
|
}
|
|
1060
1060
|
return t;
|
|
1061
|
-
},
|
|
1062
|
-
},
|
|
1063
|
-
function
|
|
1061
|
+
}, Ve.apply(this, arguments);
|
|
1062
|
+
}, Ke = { exports: {} }, w = {}, Ze = { exports: {} }, fe = {};
|
|
1063
|
+
function Dt() {
|
|
1064
1064
|
var e = {};
|
|
1065
1065
|
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;
|
|
1066
1066
|
}
|
|
1067
|
-
function
|
|
1067
|
+
function oi(e, t, r) {
|
|
1068
1068
|
}
|
|
1069
|
-
function
|
|
1069
|
+
function li(e, t, r) {
|
|
1070
1070
|
}
|
|
1071
|
-
var
|
|
1072
|
-
function
|
|
1073
|
-
return
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
var
|
|
1071
|
+
var ui = /javascript\s*\:/img;
|
|
1072
|
+
function ci(e, t) {
|
|
1073
|
+
return ui.test(t) ? "" : t;
|
|
1074
|
+
}
|
|
1075
|
+
fe.whiteList = Dt();
|
|
1076
|
+
fe.getDefaultWhiteList = Dt;
|
|
1077
|
+
fe.onAttr = oi;
|
|
1078
|
+
fe.onIgnoreAttr = li;
|
|
1079
|
+
fe.safeAttrValue = ci;
|
|
1080
|
+
var di = {
|
|
1081
1081
|
indexOf: function(e, t) {
|
|
1082
1082
|
var r, i;
|
|
1083
1083
|
if (Array.prototype.indexOf)
|
|
@@ -1100,17 +1100,17 @@ var ui = {
|
|
|
1100
1100
|
trimRight: function(e) {
|
|
1101
1101
|
return String.prototype.trimRight ? e.trimRight() : e.replace(/(\s*$)/g, "");
|
|
1102
1102
|
}
|
|
1103
|
-
},
|
|
1104
|
-
function
|
|
1105
|
-
e =
|
|
1103
|
+
}, he = di;
|
|
1104
|
+
function fi(e, t) {
|
|
1105
|
+
e = he.trimRight(e), e[e.length - 1] !== ";" && (e += ";");
|
|
1106
1106
|
var r = e.length, i = !1, a = 0, s = 0, n = "";
|
|
1107
1107
|
function o() {
|
|
1108
1108
|
if (!i) {
|
|
1109
|
-
var
|
|
1109
|
+
var l = he.trim(e.slice(a, s)), f = l.indexOf(":");
|
|
1110
1110
|
if (f !== -1) {
|
|
1111
|
-
var m =
|
|
1111
|
+
var m = he.trim(l.slice(0, f)), g = he.trim(l.slice(f + 1));
|
|
1112
1112
|
if (m) {
|
|
1113
|
-
var y = t(a, n.length, m, g,
|
|
1113
|
+
var y = t(a, n.length, m, g, l);
|
|
1114
1114
|
y && (n += y + "; ");
|
|
1115
1115
|
}
|
|
1116
1116
|
}
|
|
@@ -1118,63 +1118,63 @@ function ci(e, t) {
|
|
|
1118
1118
|
a = s + 1;
|
|
1119
1119
|
}
|
|
1120
1120
|
for (; s < r; s++) {
|
|
1121
|
-
var
|
|
1122
|
-
if (
|
|
1121
|
+
var u = e[s];
|
|
1122
|
+
if (u === "/" && e[s + 1] === "*") {
|
|
1123
1123
|
var c = e.indexOf("*/", s + 2);
|
|
1124
1124
|
if (c === -1) break;
|
|
1125
1125
|
s = c + 1, a = s + 1, i = !1;
|
|
1126
|
-
} else
|
|
1126
|
+
} else u === "(" ? i = !0 : u === ")" ? i = !1 : u === ";" ? i || o() : u === `
|
|
1127
1127
|
` && o();
|
|
1128
1128
|
}
|
|
1129
|
-
return
|
|
1129
|
+
return he.trim(n);
|
|
1130
1130
|
}
|
|
1131
|
-
var
|
|
1132
|
-
function
|
|
1131
|
+
var mi = fi, Ne = fe, gi = mi;
|
|
1132
|
+
function gt(e) {
|
|
1133
1133
|
return e == null;
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function pi(e) {
|
|
1136
1136
|
var t = {};
|
|
1137
1137
|
for (var r in e)
|
|
1138
1138
|
t[r] = e[r];
|
|
1139
1139
|
return t;
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1142
|
-
e =
|
|
1141
|
+
function Et(e) {
|
|
1142
|
+
e = pi(e || {}), e.whiteList = e.whiteList || Ne.whiteList, e.onAttr = e.onAttr || Ne.onAttr, e.onIgnoreAttr = e.onIgnoreAttr || Ne.onIgnoreAttr, e.safeAttrValue = e.safeAttrValue || Ne.safeAttrValue, this.options = e;
|
|
1143
1143
|
}
|
|
1144
|
-
|
|
1144
|
+
Et.prototype.process = function(e) {
|
|
1145
1145
|
if (e = e || "", e = e.toString(), !e) return "";
|
|
1146
|
-
var t = this, r = t.options, i = r.whiteList, a = r.onAttr, s = r.onIgnoreAttr, n = r.safeAttrValue, o =
|
|
1147
|
-
var g = i[
|
|
1148
|
-
if (g === !0 ? y = g : typeof g == "function" ? y = g(f) : g instanceof RegExp && (y = g.test(f)), y !== !0 && (y = !1), f = n(
|
|
1149
|
-
var
|
|
1146
|
+
var t = this, r = t.options, i = r.whiteList, a = r.onAttr, s = r.onIgnoreAttr, n = r.safeAttrValue, o = gi(e, function(u, c, l, f, m) {
|
|
1147
|
+
var g = i[l], y = !1;
|
|
1148
|
+
if (g === !0 ? y = g : typeof g == "function" ? y = g(f) : g instanceof RegExp && (y = g.test(f)), y !== !0 && (y = !1), f = n(l, f), !!f) {
|
|
1149
|
+
var b = {
|
|
1150
1150
|
position: c,
|
|
1151
|
-
sourcePosition:
|
|
1151
|
+
sourcePosition: u,
|
|
1152
1152
|
source: m,
|
|
1153
1153
|
isWhite: y
|
|
1154
1154
|
};
|
|
1155
1155
|
if (y) {
|
|
1156
|
-
var
|
|
1157
|
-
return
|
|
1156
|
+
var S = a(l, f, b);
|
|
1157
|
+
return gt(S) ? l + ":" + f : S;
|
|
1158
1158
|
} else {
|
|
1159
|
-
var
|
|
1160
|
-
if (!
|
|
1161
|
-
return
|
|
1159
|
+
var S = s(l, f, b);
|
|
1160
|
+
if (!gt(S))
|
|
1161
|
+
return S;
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
1164
|
});
|
|
1165
1165
|
return o;
|
|
1166
1166
|
};
|
|
1167
|
-
var
|
|
1167
|
+
var yi = Et;
|
|
1168
1168
|
(function(e, t) {
|
|
1169
|
-
var r =
|
|
1169
|
+
var r = fe, i = yi;
|
|
1170
1170
|
function a(n, o) {
|
|
1171
|
-
var
|
|
1172
|
-
return
|
|
1171
|
+
var u = new i(o);
|
|
1172
|
+
return u.process(n);
|
|
1173
1173
|
}
|
|
1174
1174
|
t = e.exports = a, t.FilterCSS = i;
|
|
1175
1175
|
for (var s in r) t[s] = r[s];
|
|
1176
|
-
})(
|
|
1177
|
-
var
|
|
1176
|
+
})(Ze, Ze.exports);
|
|
1177
|
+
var at = Ze.exports, st = {
|
|
1178
1178
|
indexOf: function(e, t) {
|
|
1179
1179
|
var r, i;
|
|
1180
1180
|
if (Array.prototype.indexOf)
|
|
@@ -1198,8 +1198,8 @@ var rt = Ye.exports, it = {
|
|
|
1198
1198
|
var t = /\s|\n|\t/, r = t.exec(e);
|
|
1199
1199
|
return r ? r.index : -1;
|
|
1200
1200
|
}
|
|
1201
|
-
},
|
|
1202
|
-
function
|
|
1201
|
+
}, Si = at.FilterCSS, bi = at.getDefaultWhiteList, _e = st;
|
|
1202
|
+
function Nt() {
|
|
1203
1203
|
return {
|
|
1204
1204
|
a: ["target", "href", "title"],
|
|
1205
1205
|
abbr: ["title"],
|
|
@@ -1290,93 +1290,93 @@ function Et() {
|
|
|
1290
1290
|
]
|
|
1291
1291
|
};
|
|
1292
1292
|
}
|
|
1293
|
-
var
|
|
1294
|
-
function Si(e, t, r) {
|
|
1295
|
-
}
|
|
1296
|
-
function bi(e, t, r) {
|
|
1297
|
-
}
|
|
1293
|
+
var kt = new Si();
|
|
1298
1294
|
function hi(e, t, r) {
|
|
1299
1295
|
}
|
|
1296
|
+
function xi(e, t, r) {
|
|
1297
|
+
}
|
|
1300
1298
|
function vi(e, t, r) {
|
|
1301
1299
|
}
|
|
1302
|
-
function
|
|
1303
|
-
return e.replace(Fi, "<").replace(Ai, ">");
|
|
1300
|
+
function Fi(e, t, r) {
|
|
1304
1301
|
}
|
|
1305
|
-
function
|
|
1306
|
-
|
|
1307
|
-
|
|
1302
|
+
function Ot(e) {
|
|
1303
|
+
return e.replace(Ti, "<").replace(Ci, ">");
|
|
1304
|
+
}
|
|
1305
|
+
function Ai(e, t, r, i) {
|
|
1306
|
+
if (r = $t(r), t === "href" || t === "src") {
|
|
1307
|
+
if (r = _e.trim(r), r === "#") return "#";
|
|
1308
1308
|
if (!(r.substr(0, 7) === "http://" || r.substr(0, 8) === "https://" || r.substr(0, 7) === "mailto:" || r.substr(0, 4) === "tel:" || r.substr(0, 11) === "data:image/" || r.substr(0, 6) === "ftp://" || r.substr(0, 2) === "./" || r.substr(0, 3) === "../" || r[0] === "#" || r[0] === "/"))
|
|
1309
1309
|
return "";
|
|
1310
1310
|
} else if (t === "background") {
|
|
1311
|
-
if (
|
|
1311
|
+
if (ke.lastIndex = 0, ke.test(r))
|
|
1312
1312
|
return "";
|
|
1313
1313
|
} else if (t === "style") {
|
|
1314
|
-
if (
|
|
1314
|
+
if (pt.lastIndex = 0, pt.test(r) || (yt.lastIndex = 0, yt.test(r) && (ke.lastIndex = 0, ke.test(r))))
|
|
1315
1315
|
return "";
|
|
1316
|
-
i !== !1 && (i = i ||
|
|
1316
|
+
i !== !1 && (i = i || kt, r = i.process(r));
|
|
1317
1317
|
}
|
|
1318
|
-
return r =
|
|
1318
|
+
return r = Ut(r), r;
|
|
1319
1319
|
}
|
|
1320
|
-
var
|
|
1321
|
-
function
|
|
1322
|
-
return e.replace(
|
|
1320
|
+
var Ti = /</g, Ci = />/g, wi = /"/g, Bi = /"/g, Li = /&#([a-zA-Z0-9]*);?/gim, Pi = /:?/gim, Ii = /&newline;?/gim, ke = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, pt = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, yt = /u\s*r\s*l\s*\(.*/gi;
|
|
1321
|
+
function Mt(e) {
|
|
1322
|
+
return e.replace(wi, """);
|
|
1323
1323
|
}
|
|
1324
|
-
function
|
|
1325
|
-
return e.replace(
|
|
1324
|
+
function Rt(e) {
|
|
1325
|
+
return e.replace(Bi, '"');
|
|
1326
1326
|
}
|
|
1327
|
-
function
|
|
1328
|
-
return e.replace(
|
|
1327
|
+
function qt(e) {
|
|
1328
|
+
return e.replace(Li, function(r, i) {
|
|
1329
1329
|
return i[0] === "x" || i[0] === "X" ? String.fromCharCode(parseInt(i.substr(1), 16)) : String.fromCharCode(parseInt(i, 10));
|
|
1330
1330
|
});
|
|
1331
1331
|
}
|
|
1332
|
-
function
|
|
1333
|
-
return e.replace(
|
|
1332
|
+
function Vt(e) {
|
|
1333
|
+
return e.replace(Pi, ":").replace(Ii, " ");
|
|
1334
1334
|
}
|
|
1335
|
-
function
|
|
1335
|
+
function _t(e) {
|
|
1336
1336
|
for (var t = "", r = 0, i = e.length; r < i; r++)
|
|
1337
1337
|
t += e.charCodeAt(r) < 32 ? " " : e.charAt(r);
|
|
1338
|
-
return
|
|
1338
|
+
return _e.trim(t);
|
|
1339
1339
|
}
|
|
1340
|
-
function
|
|
1341
|
-
return e =
|
|
1340
|
+
function $t(e) {
|
|
1341
|
+
return e = Rt(e), e = qt(e), e = Vt(e), e = _t(e), e;
|
|
1342
1342
|
}
|
|
1343
|
-
function
|
|
1344
|
-
return e =
|
|
1343
|
+
function Ut(e) {
|
|
1344
|
+
return e = Mt(e), e = Ot(e), e;
|
|
1345
1345
|
}
|
|
1346
|
-
function
|
|
1346
|
+
function Di() {
|
|
1347
1347
|
return "";
|
|
1348
1348
|
}
|
|
1349
|
-
function
|
|
1349
|
+
function Ei(e, t) {
|
|
1350
1350
|
typeof t != "function" && (t = function() {
|
|
1351
1351
|
});
|
|
1352
1352
|
var r = !Array.isArray(e);
|
|
1353
1353
|
function i(n) {
|
|
1354
|
-
return r ? !0 :
|
|
1354
|
+
return r ? !0 : _e.indexOf(e, n) !== -1;
|
|
1355
1355
|
}
|
|
1356
1356
|
var a = [], s = !1;
|
|
1357
1357
|
return {
|
|
1358
|
-
onIgnoreTag: function(n, o,
|
|
1358
|
+
onIgnoreTag: function(n, o, u) {
|
|
1359
1359
|
if (i(n))
|
|
1360
|
-
if (
|
|
1361
|
-
var c = "[/removed]",
|
|
1360
|
+
if (u.isClosing) {
|
|
1361
|
+
var c = "[/removed]", l = u.position + c.length;
|
|
1362
1362
|
return a.push([
|
|
1363
|
-
s !== !1 ? s :
|
|
1364
|
-
|
|
1363
|
+
s !== !1 ? s : u.position,
|
|
1364
|
+
l
|
|
1365
1365
|
]), s = !1, c;
|
|
1366
1366
|
} else
|
|
1367
|
-
return s || (s =
|
|
1367
|
+
return s || (s = u.position), "[removed]";
|
|
1368
1368
|
else
|
|
1369
|
-
return t(n, o,
|
|
1369
|
+
return t(n, o, u);
|
|
1370
1370
|
},
|
|
1371
1371
|
remove: function(n) {
|
|
1372
|
-
var o = "",
|
|
1373
|
-
return
|
|
1374
|
-
o += n.slice(
|
|
1375
|
-
}), o += n.slice(
|
|
1372
|
+
var o = "", u = 0;
|
|
1373
|
+
return _e.forEach(a, function(c) {
|
|
1374
|
+
o += n.slice(u, c[0]), u = c[1];
|
|
1375
|
+
}), o += n.slice(u), o;
|
|
1376
1376
|
}
|
|
1377
1377
|
};
|
|
1378
1378
|
}
|
|
1379
|
-
function
|
|
1379
|
+
function Ni(e) {
|
|
1380
1380
|
for (var t = "", r = 0; r < e.length; ) {
|
|
1381
1381
|
var i = e.indexOf("<!--", r);
|
|
1382
1382
|
if (i === -1) {
|
|
@@ -1391,45 +1391,45 @@ function Ei(e) {
|
|
|
1391
1391
|
}
|
|
1392
1392
|
return t;
|
|
1393
1393
|
}
|
|
1394
|
-
function
|
|
1394
|
+
function ki(e) {
|
|
1395
1395
|
var t = e.split("");
|
|
1396
1396
|
return t = t.filter(function(r) {
|
|
1397
1397
|
var i = r.charCodeAt(0);
|
|
1398
1398
|
return i === 127 ? !1 : i <= 31 ? i === 10 || i === 13 : !0;
|
|
1399
1399
|
}), t.join("");
|
|
1400
1400
|
}
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
var
|
|
1423
|
-
function
|
|
1424
|
-
var t =
|
|
1425
|
-
return t === -1 ? r = e.slice(1, -1) : r = e.slice(1, t + 1), r =
|
|
1426
|
-
}
|
|
1427
|
-
function
|
|
1401
|
+
w.whiteList = Nt();
|
|
1402
|
+
w.getDefaultWhiteList = Nt;
|
|
1403
|
+
w.onTag = hi;
|
|
1404
|
+
w.onIgnoreTag = xi;
|
|
1405
|
+
w.onTagAttr = vi;
|
|
1406
|
+
w.onIgnoreTagAttr = Fi;
|
|
1407
|
+
w.safeAttrValue = Ai;
|
|
1408
|
+
w.escapeHtml = Ot;
|
|
1409
|
+
w.escapeQuote = Mt;
|
|
1410
|
+
w.unescapeQuote = Rt;
|
|
1411
|
+
w.escapeHtmlEntities = qt;
|
|
1412
|
+
w.escapeDangerHtml5Entities = Vt;
|
|
1413
|
+
w.clearNonPrintableCharacter = _t;
|
|
1414
|
+
w.friendlyAttrValue = $t;
|
|
1415
|
+
w.escapeAttrValue = Ut;
|
|
1416
|
+
w.onIgnoreTagStripAll = Di;
|
|
1417
|
+
w.StripTagBody = Ei;
|
|
1418
|
+
w.stripCommentTag = Ni;
|
|
1419
|
+
w.stripBlankChar = ki;
|
|
1420
|
+
w.cssFilter = kt;
|
|
1421
|
+
w.getDefaultCSSWhiteList = bi;
|
|
1422
|
+
var Qe = {}, Z = st;
|
|
1423
|
+
function Oi(e) {
|
|
1424
|
+
var t = Z.spaceIndex(e), r;
|
|
1425
|
+
return t === -1 ? r = e.slice(1, -1) : r = e.slice(1, t + 1), r = Z.trim(r).toLowerCase(), r.slice(0, 1) === "/" && (r = r.slice(1)), r.slice(-1) === "/" && (r = r.slice(0, -1)), r;
|
|
1426
|
+
}
|
|
1427
|
+
function Mi(e) {
|
|
1428
1428
|
return e.slice(0, 2) === "</";
|
|
1429
1429
|
}
|
|
1430
|
-
function
|
|
1431
|
-
var i = "", a = 0, s = !1, n = !1, o = 0,
|
|
1432
|
-
e: for (o = 0; o <
|
|
1430
|
+
function Ri(e, t, r) {
|
|
1431
|
+
var i = "", a = 0, s = !1, n = !1, o = 0, u = e.length, c = "", l = "";
|
|
1432
|
+
e: for (o = 0; o < u; o++) {
|
|
1433
1433
|
var f = e.charAt(o);
|
|
1434
1434
|
if (s === !1) {
|
|
1435
1435
|
if (f === "<") {
|
|
@@ -1442,12 +1442,12 @@ function Oi(e, t, r) {
|
|
|
1442
1442
|
continue;
|
|
1443
1443
|
}
|
|
1444
1444
|
if (f === ">") {
|
|
1445
|
-
i += r(e.slice(a, s)),
|
|
1445
|
+
i += r(e.slice(a, s)), l = e.slice(s, o + 1), c = Oi(l), i += t(
|
|
1446
1446
|
s,
|
|
1447
1447
|
i.length,
|
|
1448
1448
|
c,
|
|
1449
|
-
|
|
1450
|
-
|
|
1449
|
+
l,
|
|
1450
|
+
Mi(l)
|
|
1451
1451
|
), a = o + 1, s = !1;
|
|
1452
1452
|
continue;
|
|
1453
1453
|
}
|
|
@@ -1466,98 +1466,98 @@ function Oi(e, t, r) {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
return a < e.length && (i += r(e.substr(a))), i;
|
|
1468
1468
|
}
|
|
1469
|
-
var
|
|
1470
|
-
function
|
|
1469
|
+
var qi = /[^a-zA-Z0-9\\_:.-]/gim;
|
|
1470
|
+
function Vi(e, t) {
|
|
1471
1471
|
var r = 0, i = 0, a = [], s = !1, n = e.length;
|
|
1472
1472
|
function o(m, g) {
|
|
1473
|
-
if (m =
|
|
1473
|
+
if (m = Z.trim(m), m = m.replace(qi, "").toLowerCase(), !(m.length < 1)) {
|
|
1474
1474
|
var y = t(m, g || "");
|
|
1475
1475
|
y && a.push(y);
|
|
1476
1476
|
}
|
|
1477
1477
|
}
|
|
1478
|
-
for (var
|
|
1479
|
-
var c = e.charAt(
|
|
1478
|
+
for (var u = 0; u < n; u++) {
|
|
1479
|
+
var c = e.charAt(u), l, f;
|
|
1480
1480
|
if (s === !1 && c === "=") {
|
|
1481
|
-
s = e.slice(r,
|
|
1481
|
+
s = e.slice(r, u), r = u + 1, i = e.charAt(r) === '"' || e.charAt(r) === "'" ? r : $i(e, u + 1);
|
|
1482
1482
|
continue;
|
|
1483
1483
|
}
|
|
1484
|
-
if (s !== !1 &&
|
|
1485
|
-
if (f = e.indexOf(c,
|
|
1484
|
+
if (s !== !1 && u === i) {
|
|
1485
|
+
if (f = e.indexOf(c, u + 1), f === -1)
|
|
1486
1486
|
break;
|
|
1487
|
-
|
|
1487
|
+
l = Z.trim(e.slice(i + 1, f)), o(s, l), s = !1, u = f, r = u + 1;
|
|
1488
1488
|
continue;
|
|
1489
1489
|
}
|
|
1490
1490
|
if (/\s|\n|\t/.test(c))
|
|
1491
1491
|
if (e = e.replace(/\s|\n|\t/g, " "), s === !1)
|
|
1492
|
-
if (f =
|
|
1493
|
-
|
|
1492
|
+
if (f = _i(e, u), f === -1) {
|
|
1493
|
+
l = Z.trim(e.slice(r, u)), o(l), s = !1, r = u + 1;
|
|
1494
1494
|
continue;
|
|
1495
1495
|
} else {
|
|
1496
|
-
|
|
1496
|
+
u = f - 1;
|
|
1497
1497
|
continue;
|
|
1498
1498
|
}
|
|
1499
|
-
else if (f =
|
|
1500
|
-
|
|
1499
|
+
else if (f = Ui(e, u - 1), f === -1) {
|
|
1500
|
+
l = Z.trim(e.slice(r, u)), l = St(l), o(s, l), s = !1, r = u + 1;
|
|
1501
1501
|
continue;
|
|
1502
1502
|
} else
|
|
1503
1503
|
continue;
|
|
1504
1504
|
}
|
|
1505
|
-
return r < e.length && (s === !1 ? o(e.slice(r)) : o(s,
|
|
1505
|
+
return r < e.length && (s === !1 ? o(e.slice(r)) : o(s, St(Z.trim(e.slice(r))))), Z.trim(a.join(" "));
|
|
1506
1506
|
}
|
|
1507
|
-
function
|
|
1507
|
+
function _i(e, t) {
|
|
1508
1508
|
for (; t < e.length; t++) {
|
|
1509
1509
|
var r = e[t];
|
|
1510
1510
|
if (r !== " ")
|
|
1511
1511
|
return r === "=" ? t : -1;
|
|
1512
1512
|
}
|
|
1513
1513
|
}
|
|
1514
|
-
function
|
|
1514
|
+
function $i(e, t) {
|
|
1515
1515
|
for (; t < e.length; t++) {
|
|
1516
1516
|
var r = e[t];
|
|
1517
1517
|
if (r !== " ")
|
|
1518
1518
|
return r === "'" || r === '"' ? t : -1;
|
|
1519
1519
|
}
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1521
|
+
function Ui(e, t) {
|
|
1522
1522
|
for (; t > 0; t--) {
|
|
1523
1523
|
var r = e[t];
|
|
1524
1524
|
if (r !== " ")
|
|
1525
1525
|
return r === "=" ? t : -1;
|
|
1526
1526
|
}
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function zi(e) {
|
|
1529
1529
|
return e[0] === '"' && e[e.length - 1] === '"' || e[0] === "'" && e[e.length - 1] === "'";
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1532
|
-
return
|
|
1531
|
+
function St(e) {
|
|
1532
|
+
return zi(e) ? e.substr(1, e.length - 2) : e;
|
|
1533
1533
|
}
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
var
|
|
1537
|
-
function
|
|
1534
|
+
Qe.parseTag = Ri;
|
|
1535
|
+
Qe.parseAttr = Vi;
|
|
1536
|
+
var Qi = at.FilterCSS, Q = w, zt = Qe, Wi = zt.parseTag, Gi = zt.parseAttr, qe = st;
|
|
1537
|
+
function Oe(e) {
|
|
1538
1538
|
return e == null;
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1541
|
-
var t =
|
|
1540
|
+
function ji(e) {
|
|
1541
|
+
var t = qe.spaceIndex(e);
|
|
1542
1542
|
if (t === -1)
|
|
1543
1543
|
return {
|
|
1544
1544
|
html: "",
|
|
1545
1545
|
closing: e[e.length - 2] === "/"
|
|
1546
1546
|
};
|
|
1547
|
-
e =
|
|
1547
|
+
e = qe.trim(e.slice(t + 1, -1));
|
|
1548
1548
|
var r = e[e.length - 1] === "/";
|
|
1549
|
-
return r && (e =
|
|
1549
|
+
return r && (e = qe.trim(e.slice(0, -1))), {
|
|
1550
1550
|
html: e,
|
|
1551
1551
|
closing: r
|
|
1552
1552
|
};
|
|
1553
1553
|
}
|
|
1554
|
-
function
|
|
1554
|
+
function Hi(e) {
|
|
1555
1555
|
var t = {};
|
|
1556
1556
|
for (var r in e)
|
|
1557
1557
|
t[r] = e[r];
|
|
1558
1558
|
return t;
|
|
1559
1559
|
}
|
|
1560
|
-
function
|
|
1560
|
+
function Yi(e) {
|
|
1561
1561
|
var t = {};
|
|
1562
1562
|
for (var r in e)
|
|
1563
1563
|
Array.isArray(e[r]) ? t[r.toLowerCase()] = e[r].map(function(i) {
|
|
@@ -1565,64 +1565,64 @@ function ji(e) {
|
|
|
1565
1565
|
}) : t[r.toLowerCase()] = e[r];
|
|
1566
1566
|
return t;
|
|
1567
1567
|
}
|
|
1568
|
-
function
|
|
1569
|
-
e =
|
|
1568
|
+
function Qt(e) {
|
|
1569
|
+
e = Hi(e || {}), e.stripIgnoreTag && (e.onIgnoreTag && console.error(
|
|
1570
1570
|
'Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'
|
|
1571
|
-
), e.onIgnoreTag = Q.onIgnoreTagStripAll), e.whiteList || e.allowList ? e.whiteList =
|
|
1571
|
+
), e.onIgnoreTag = Q.onIgnoreTagStripAll), e.whiteList || e.allowList ? e.whiteList = Yi(e.whiteList || e.allowList) : e.whiteList = Q.whiteList, e.onTag = e.onTag || Q.onTag, e.onTagAttr = e.onTagAttr || Q.onTagAttr, e.onIgnoreTag = e.onIgnoreTag || Q.onIgnoreTag, e.onIgnoreTagAttr = e.onIgnoreTagAttr || Q.onIgnoreTagAttr, e.safeAttrValue = e.safeAttrValue || Q.safeAttrValue, e.escapeHtml = e.escapeHtml || Q.escapeHtml, this.options = e, e.css === !1 ? this.cssFilter = !1 : (e.css = e.css || {}, this.cssFilter = new Qi(e.css));
|
|
1572
1572
|
}
|
|
1573
|
-
|
|
1573
|
+
Qt.prototype.process = function(e) {
|
|
1574
1574
|
if (e = e || "", e = e.toString(), !e) return "";
|
|
1575
|
-
var t = this, r = t.options, i = r.whiteList, a = r.onTag, s = r.onIgnoreTag, n = r.onTagAttr, o = r.onIgnoreTagAttr,
|
|
1575
|
+
var t = this, r = t.options, i = r.whiteList, a = r.onTag, s = r.onIgnoreTag, n = r.onTagAttr, o = r.onIgnoreTagAttr, u = r.safeAttrValue, c = r.escapeHtml, l = t.cssFilter;
|
|
1576
1576
|
r.stripBlankChar && (e = Q.stripBlankChar(e)), r.allowCommentTag || (e = Q.stripCommentTag(e));
|
|
1577
1577
|
var f = !1;
|
|
1578
1578
|
r.stripIgnoreTagBody && (f = Q.StripTagBody(
|
|
1579
1579
|
r.stripIgnoreTagBody,
|
|
1580
1580
|
s
|
|
1581
1581
|
), s = f.onIgnoreTag);
|
|
1582
|
-
var m =
|
|
1582
|
+
var m = Wi(
|
|
1583
1583
|
e,
|
|
1584
|
-
function(g, y,
|
|
1584
|
+
function(g, y, b, S, h) {
|
|
1585
1585
|
var F = {
|
|
1586
1586
|
sourcePosition: g,
|
|
1587
1587
|
position: y,
|
|
1588
|
-
isClosing:
|
|
1589
|
-
isWhite: Object.prototype.hasOwnProperty.call(i,
|
|
1590
|
-
}, T = a(
|
|
1591
|
-
if (!
|
|
1588
|
+
isClosing: h,
|
|
1589
|
+
isWhite: Object.prototype.hasOwnProperty.call(i, b)
|
|
1590
|
+
}, T = a(b, S, F);
|
|
1591
|
+
if (!Oe(T)) return T;
|
|
1592
1592
|
if (F.isWhite) {
|
|
1593
1593
|
if (F.isClosing)
|
|
1594
|
-
return "</" +
|
|
1595
|
-
var
|
|
1596
|
-
var
|
|
1597
|
-
return
|
|
1594
|
+
return "</" + b + ">";
|
|
1595
|
+
var M = ji(S), P = i[b], R = Gi(M.html, function(G, _) {
|
|
1596
|
+
var se = qe.indexOf(P, G) !== -1, $ = n(b, G, _, se);
|
|
1597
|
+
return Oe($) ? se ? (_ = u(b, G, _, l), _ ? G + '="' + _ + '"' : G) : ($ = o(b, G, _, se), Oe($) ? void 0 : $) : $;
|
|
1598
1598
|
});
|
|
1599
|
-
return
|
|
1599
|
+
return S = "<" + b, R && (S += " " + R), M.closing && (S += " /"), S += ">", S;
|
|
1600
1600
|
} else
|
|
1601
|
-
return T = s(
|
|
1601
|
+
return T = s(b, S, F), Oe(T) ? c(S) : T;
|
|
1602
1602
|
},
|
|
1603
1603
|
c
|
|
1604
1604
|
);
|
|
1605
1605
|
return f && (m = f.remove(m)), m;
|
|
1606
1606
|
};
|
|
1607
|
-
var
|
|
1607
|
+
var Xi = Qt;
|
|
1608
1608
|
(function(e, t) {
|
|
1609
|
-
var r =
|
|
1610
|
-
function s(o,
|
|
1611
|
-
var c = new a(
|
|
1609
|
+
var r = w, i = Qe, a = Xi;
|
|
1610
|
+
function s(o, u) {
|
|
1611
|
+
var c = new a(u);
|
|
1612
1612
|
return c.process(o);
|
|
1613
1613
|
}
|
|
1614
1614
|
t = e.exports = s, t.filterXSS = s, t.FilterXSS = a, function() {
|
|
1615
1615
|
for (var o in r)
|
|
1616
1616
|
t[o] = r[o];
|
|
1617
|
-
for (var
|
|
1618
|
-
t[
|
|
1617
|
+
for (var u in i)
|
|
1618
|
+
t[u] = i[u];
|
|
1619
1619
|
}();
|
|
1620
1620
|
function n() {
|
|
1621
1621
|
return typeof self < "u" && typeof DedicatedWorkerGlobalScope < "u" && self instanceof DedicatedWorkerGlobalScope;
|
|
1622
1622
|
}
|
|
1623
1623
|
n() && (self.filterXSS = e.exports);
|
|
1624
|
-
})(
|
|
1625
|
-
var
|
|
1624
|
+
})(Ke, Ke.exports);
|
|
1625
|
+
var ge = Ke.exports, Ji = function(e) {
|
|
1626
1626
|
if (typeof e != "object" || e === null || Object.prototype.toString.call(e) !== "[object Object]")
|
|
1627
1627
|
return !1;
|
|
1628
1628
|
var t = Object.getPrototypeOf(e);
|
|
@@ -1631,7 +1631,7 @@ var me = Je.exports, Xi = function(e) {
|
|
|
1631
1631
|
for (; Object.getPrototypeOf(t) !== null; )
|
|
1632
1632
|
t = Object.getPrototypeOf(t);
|
|
1633
1633
|
return Object.getPrototypeOf(e) === t;
|
|
1634
|
-
},
|
|
1634
|
+
}, Ki = (
|
|
1635
1635
|
/** @class */
|
|
1636
1636
|
function() {
|
|
1637
1637
|
function e(t, r) {
|
|
@@ -1717,7 +1717,7 @@ var me = Je.exports, Xi = function(e) {
|
|
|
1717
1717
|
"preload",
|
|
1718
1718
|
"width"
|
|
1719
1719
|
]
|
|
1720
|
-
}, this.arcgisCSSWhiteList =
|
|
1720
|
+
}, this.arcgisCSSWhiteList = Ve(Ve({}, ge.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 = [
|
|
1721
1721
|
"http",
|
|
1722
1722
|
"https",
|
|
1723
1723
|
"mailto",
|
|
@@ -1746,8 +1746,8 @@ var me = Je.exports, Xi = function(e) {
|
|
|
1746
1746
|
"radarscope"
|
|
1747
1747
|
], this.arcgisFilterOptions = {
|
|
1748
1748
|
allowCommentTag: !0,
|
|
1749
|
-
safeAttrValue: function(s, n, o,
|
|
1750
|
-
return s === "a" && n === "href" || (s === "img" || s === "source") && n === "src" ? i.sanitizeUrl(o) :
|
|
1749
|
+
safeAttrValue: function(s, n, o, u) {
|
|
1750
|
+
return s === "a" && n === "href" || (s === "img" || s === "source") && n === "src" ? i.sanitizeUrl(o) : ge.safeAttrValue(s, n, o, u);
|
|
1751
1751
|
}
|
|
1752
1752
|
}, this._entityMap = {
|
|
1753
1753
|
"&": "8",
|
|
@@ -1771,7 +1771,7 @@ var me = Je.exports, Xi = function(e) {
|
|
|
1771
1771
|
});
|
|
1772
1772
|
} else
|
|
1773
1773
|
a[s] = t[s];
|
|
1774
|
-
})) : (a = Object.create(this.arcgisFilterOptions), a.whiteList = this.arcgisWhiteList, a.css = { whiteList: this.arcgisCSSWhiteList }), this.xssFilterOptions = a, this._xssFilter = new
|
|
1774
|
+
})) : (a = Object.create(this.arcgisFilterOptions), a.whiteList = this.arcgisWhiteList, a.css = { whiteList: this.arcgisCSSWhiteList }), this.xssFilterOptions = a, this._xssFilter = new ge.FilterXSS(a);
|
|
1775
1775
|
}
|
|
1776
1776
|
return e.prototype.sanitize = function(t, r) {
|
|
1777
1777
|
switch (r === void 0 && (r = {}), typeof t) {
|
|
@@ -1787,8 +1787,8 @@ var me = Je.exports, Xi = function(e) {
|
|
|
1787
1787
|
return r.allowUndefined && typeof t > "u" ? void 0 : null;
|
|
1788
1788
|
}
|
|
1789
1789
|
}, e.prototype.sanitizeUrl = function(t, r) {
|
|
1790
|
-
var i = (r ?? {}).isProtocolRequired, a = i === void 0 ? !0 : i, s = this._trim(t.substring(0, t.indexOf(":"))), n = t === "/", o = /^#/.test(t),
|
|
1791
|
-
return n || o ||
|
|
1790
|
+
var i = (r ?? {}).isProtocolRequired, a = i === void 0 ? !0 : i, s = this._trim(t.substring(0, t.indexOf(":"))), n = t === "/", o = /^#/.test(t), u = s && this.allowedProtocols.indexOf(s.toLowerCase()) > -1;
|
|
1791
|
+
return n || o || u ? ge.escapeAttrValue(t) : !s && !a ? ge.escapeAttrValue("https://".concat(t)) : "";
|
|
1792
1792
|
}, e.prototype.sanitizeHTMLAttribute = function(t, r, i, a) {
|
|
1793
1793
|
return typeof this.xssFilterOptions.safeAttrValue == "function" ? this.xssFilterOptions.safeAttrValue(
|
|
1794
1794
|
t,
|
|
@@ -1796,7 +1796,7 @@ var me = Je.exports, Xi = function(e) {
|
|
|
1796
1796
|
i,
|
|
1797
1797
|
// @ts-expect-error safeAttrValue does handle undefined cssFilter
|
|
1798
1798
|
a
|
|
1799
|
-
) :
|
|
1799
|
+
) : ge.safeAttrValue(t, r, i, a);
|
|
1800
1800
|
}, e.prototype.validate = function(t, r) {
|
|
1801
1801
|
r === void 0 && (r = {});
|
|
1802
1802
|
var i = this.sanitize(t, r);
|
|
@@ -1827,15 +1827,15 @@ var me = Je.exports, Xi = function(e) {
|
|
|
1827
1827
|
try {
|
|
1828
1828
|
var a = !1, s = void 0;
|
|
1829
1829
|
if (Array.isArray(t))
|
|
1830
|
-
s = t.reduce(function(o,
|
|
1831
|
-
var c = i.validate(
|
|
1832
|
-
return c.isValid ? o.concat([
|
|
1830
|
+
s = t.reduce(function(o, u) {
|
|
1831
|
+
var c = i.validate(u, r);
|
|
1832
|
+
return c.isValid ? o.concat([u]) : (a = !0, o.concat([c.sanitized]));
|
|
1833
1833
|
}, []);
|
|
1834
|
-
else if (
|
|
1834
|
+
else if (Ji(t)) {
|
|
1835
1835
|
var n = Object.keys(t);
|
|
1836
|
-
s = n.reduce(function(o,
|
|
1837
|
-
var c = t[
|
|
1838
|
-
return
|
|
1836
|
+
s = n.reduce(function(o, u) {
|
|
1837
|
+
var c = t[u], l = i.validate(c, r);
|
|
1838
|
+
return l.isValid ? o[u] = c : (a = !0, o[u] = l.sanitized), o;
|
|
1839
1839
|
}, {});
|
|
1840
1840
|
} else
|
|
1841
1841
|
return r.allowUndefined && typeof t > "u" ? void 0 : null;
|
|
@@ -1883,39 +1883,39 @@ const p = {
|
|
|
1883
1883
|
BoxPlotMultiFieldsAndSplitBy: "boxPlotMultiFieldsAndSplitBy",
|
|
1884
1884
|
// box plot with a numeric field, a category and a split-by field
|
|
1885
1885
|
BoxPlotMonoFieldAndCategoryAndSplitBy: "boxPlotMonoFieldAndCategoryAndSplitBy"
|
|
1886
|
-
},
|
|
1886
|
+
}, Ws = {
|
|
1887
1887
|
SelectionByClick: "SelectionByClick",
|
|
1888
1888
|
SelectionByRange: "SelectionByRange",
|
|
1889
1889
|
ProgrammaticSelection: "ProgrammaticSelection",
|
|
1890
1890
|
ClearSelection: "ClearSelection"
|
|
1891
1891
|
};
|
|
1892
|
-
function
|
|
1892
|
+
function Gs(e) {
|
|
1893
1893
|
return e?.colorMatch ?? !1;
|
|
1894
1894
|
}
|
|
1895
|
-
function
|
|
1896
|
-
let t =
|
|
1895
|
+
function js(e) {
|
|
1896
|
+
let t = Fe();
|
|
1897
1897
|
if (e !== void 0) {
|
|
1898
1898
|
const r = U(e.series);
|
|
1899
|
-
(r === d.BarSeries || r === d.LineSeries || r === d.ComboLineAndBarSeries || r === d.BoxPlotSeries) && (t = e.rotated ??
|
|
1899
|
+
(r === d.BarSeries || r === d.LineSeries || r === d.ComboLineAndBarSeries || r === d.BoxPlotSeries) && (t = e.rotated ?? Fe());
|
|
1900
1900
|
}
|
|
1901
1901
|
return t;
|
|
1902
1902
|
}
|
|
1903
|
-
function
|
|
1903
|
+
function Hs(e) {
|
|
1904
1904
|
return e?.map((t) => t.type) ?? [];
|
|
1905
1905
|
}
|
|
1906
|
-
function
|
|
1906
|
+
function Zi(e) {
|
|
1907
1907
|
let t = e?.stackedType;
|
|
1908
1908
|
if (t === void 0 && e !== void 0) {
|
|
1909
1909
|
const r = U(e.series);
|
|
1910
|
-
(r === d.BarSeries || r === d.LineSeries || r === d.ComboLineAndBarSeries || r === d.RadarSeries) && (t =
|
|
1910
|
+
(r === d.BarSeries || r === d.LineSeries || r === d.ComboLineAndBarSeries || r === d.RadarSeries) && (t = ai());
|
|
1911
1911
|
}
|
|
1912
1912
|
return t;
|
|
1913
1913
|
}
|
|
1914
|
-
function
|
|
1914
|
+
function ea(e) {
|
|
1915
1915
|
let t = e;
|
|
1916
1916
|
return t = t.replace(/'/gu, "''"), t = t.replace(/[/\\"|[\]\\]/gu, "\\$&"), t;
|
|
1917
1917
|
}
|
|
1918
|
-
function
|
|
1918
|
+
function ta(e) {
|
|
1919
1919
|
let t = !1;
|
|
1920
1920
|
if (typeof e != "number") {
|
|
1921
1921
|
const r = new Intl.Segmenter();
|
|
@@ -1923,60 +1923,60 @@ function Zi(e) {
|
|
|
1923
1923
|
}
|
|
1924
1924
|
return t;
|
|
1925
1925
|
}
|
|
1926
|
-
function
|
|
1926
|
+
function ra(e) {
|
|
1927
1927
|
let t = e, r = "";
|
|
1928
1928
|
e.startsWith("'") && e.endsWith("'") && (t = e.slice(1, -1), r = "'"), t = t.replace(/'/gu, "''");
|
|
1929
1929
|
let i = "";
|
|
1930
|
-
return
|
|
1930
|
+
return ta(t) && (i = "N"), `${i}${r}${t}${r}`;
|
|
1931
1931
|
}
|
|
1932
|
-
function
|
|
1932
|
+
function Wt(e) {
|
|
1933
1933
|
const { value: t, keepSurroundingQuotes: r, escape: i } = e;
|
|
1934
1934
|
let a = t?.trim();
|
|
1935
1935
|
if (!H(a)) {
|
|
1936
1936
|
let s = "";
|
|
1937
|
-
a.startsWith("'") && a.endsWith("'") && (a = a.slice(1, -1), r && (s = "'")), i !== !1 && (a =
|
|
1937
|
+
a.startsWith("'") && a.endsWith("'") && (a = a.slice(1, -1), r && (s = "'")), i !== !1 && (a = ea(a)), a = `${s}${a}${s}`;
|
|
1938
1938
|
}
|
|
1939
1939
|
return a;
|
|
1940
1940
|
}
|
|
1941
|
-
function
|
|
1941
|
+
function Ys(e) {
|
|
1942
1942
|
const { count: t, seriesCount: r, chartType: i, chartLimits: a } = e, { behaviorAfterLimit: s } = a ?? {};
|
|
1943
1943
|
let n = !0;
|
|
1944
|
-
if (s !==
|
|
1944
|
+
if (s !== Bt.RenderUpToTheLimit) {
|
|
1945
1945
|
const {
|
|
1946
1946
|
maxBarChartSeriesCount: o,
|
|
1947
|
-
maxBarUniqueSeriesCountTotal:
|
|
1947
|
+
maxBarUniqueSeriesCountTotal: u,
|
|
1948
1948
|
maxBarTwoSeriesCountPerSeries: c,
|
|
1949
|
-
maxBarTwoSeriesCountTotal:
|
|
1949
|
+
maxBarTwoSeriesCountTotal: l,
|
|
1950
1950
|
maxBarThreePlusSeriesCountPerSeries: f,
|
|
1951
1951
|
maxBarThreePlusSeriesCountTotal: m,
|
|
1952
1952
|
maxLineChartSeriesCount: g,
|
|
1953
1953
|
maxLineUniqueSeriesCountTotal: y,
|
|
1954
|
-
maxLineTwoSeriesCountPerSeries:
|
|
1955
|
-
maxLineTwoSeriesCountTotal:
|
|
1956
|
-
maxLineThreePlusSeriesCountPerSeries:
|
|
1954
|
+
maxLineTwoSeriesCountPerSeries: b,
|
|
1955
|
+
maxLineTwoSeriesCountTotal: S,
|
|
1956
|
+
maxLineThreePlusSeriesCountPerSeries: h,
|
|
1957
1957
|
maxLineThreePlusSeriesCountTotal: F,
|
|
1958
1958
|
maxPieChartSliceCountTotal: T,
|
|
1959
|
-
maxGaugeByFeaturesLimit:
|
|
1959
|
+
maxGaugeByFeaturesLimit: M,
|
|
1960
1960
|
maxBoxPlotSeriesCount: P,
|
|
1961
|
-
maxBoxUniqueSeriesCountTotal:
|
|
1961
|
+
maxBoxUniqueSeriesCountTotal: R,
|
|
1962
1962
|
maxBoxTwoSeriesCountTotal: G,
|
|
1963
1963
|
maxBoxTwoSeriesCountPerSeries: _,
|
|
1964
|
-
maxBoxThreePlusSeriesCountTotal:
|
|
1964
|
+
maxBoxThreePlusSeriesCountTotal: se,
|
|
1965
1965
|
maxBoxThreePlusSeriesCountPerSeries: $
|
|
1966
|
-
} =
|
|
1966
|
+
} = ii(a);
|
|
1967
1967
|
switch (i) {
|
|
1968
1968
|
case d.BarSeries:
|
|
1969
1969
|
case d.ComboLineAndBarSeries:
|
|
1970
1970
|
{
|
|
1971
|
-
const
|
|
1972
|
-
r <= o ? r === 0 ? n = !0 : r === 1 ? n = t <=
|
|
1971
|
+
const B = t / r;
|
|
1972
|
+
r <= o ? r === 0 ? n = !0 : r === 1 ? n = t <= u : r === 2 ? n = t <= l && B <= c : r > 2 && (n = t <= m && B <= f) : n = !1;
|
|
1973
1973
|
}
|
|
1974
1974
|
break;
|
|
1975
1975
|
case d.LineSeries:
|
|
1976
1976
|
case d.RadarSeries:
|
|
1977
1977
|
{
|
|
1978
|
-
const
|
|
1979
|
-
r <= g ? r === 0 ? n = !0 : r === 1 ? n = t <= y : r === 2 ? n = t <=
|
|
1978
|
+
const B = t / r;
|
|
1979
|
+
r <= g ? r === 0 ? n = !0 : r === 1 ? n = t <= y : r === 2 ? n = t <= S && B <= b : r > 2 && (n = t <= F && B <= h) : n = !1;
|
|
1980
1980
|
}
|
|
1981
1981
|
break;
|
|
1982
1982
|
case d.PieSeries:
|
|
@@ -1984,26 +1984,26 @@ function Ws(e) {
|
|
|
1984
1984
|
break;
|
|
1985
1985
|
case d.BoxPlotSeries:
|
|
1986
1986
|
{
|
|
1987
|
-
const
|
|
1988
|
-
r <= P ? r === 0 ? n = !0 : r === 1 ? n = t <=
|
|
1987
|
+
const B = t / r;
|
|
1988
|
+
r <= P ? r === 0 ? n = !0 : r === 1 ? n = t <= R : r === 2 ? n = t <= G && B <= _ : r > 2 && (n = t <= se && B <= $) : n = !1;
|
|
1989
1989
|
}
|
|
1990
1990
|
break;
|
|
1991
1991
|
case d.GaugeSeries:
|
|
1992
|
-
n = t <=
|
|
1992
|
+
n = t <= M;
|
|
1993
1993
|
break;
|
|
1994
1994
|
}
|
|
1995
1995
|
}
|
|
1996
1996
|
return n;
|
|
1997
1997
|
}
|
|
1998
|
-
function
|
|
1998
|
+
function Xs(e = [], t) {
|
|
1999
1999
|
const r = e.find((i) => i.name === t)?.alias;
|
|
2000
2000
|
return r !== "" ? r ?? t : t;
|
|
2001
2001
|
}
|
|
2002
|
-
function
|
|
2002
|
+
function Js(e = [], t) {
|
|
2003
2003
|
const r = e.find((i) => i.alias === t)?.name;
|
|
2004
2004
|
return r !== "" ? r ?? t : t;
|
|
2005
2005
|
}
|
|
2006
|
-
function
|
|
2006
|
+
function Ks(e) {
|
|
2007
2007
|
let t = !1;
|
|
2008
2008
|
switch (U(e)) {
|
|
2009
2009
|
case d.PieSeries:
|
|
@@ -2025,31 +2025,31 @@ function Hs(e) {
|
|
|
2025
2025
|
}
|
|
2026
2026
|
return t;
|
|
2027
2027
|
}
|
|
2028
|
-
function
|
|
2028
|
+
function Gt(e) {
|
|
2029
2029
|
let t = !0;
|
|
2030
2030
|
return U(e.series) === d.ScatterSeries && (t = e.series.length === 1), t;
|
|
2031
2031
|
}
|
|
2032
|
-
function
|
|
2032
|
+
function jt(e) {
|
|
2033
2033
|
let t = !0;
|
|
2034
|
-
return U(e.series) === d.HistogramSeries && (t = e.series.length <= 1 && e.series[0].type === d.HistogramSeries && (!("dataTransformationType" in e.series[0]) || e.series[0].dataTransformationType !== void 0 && Object.values(
|
|
2034
|
+
return U(e.series) === d.HistogramSeries && (t = e.series.length <= 1 && e.series[0].type === d.HistogramSeries && (!("dataTransformationType" in e.series[0]) || e.series[0].dataTransformationType !== void 0 && Object.values(ht).includes(e.series[0].dataTransformationType))), t;
|
|
2035
2035
|
}
|
|
2036
|
-
function
|
|
2036
|
+
function Ht(e) {
|
|
2037
2037
|
let t = !0;
|
|
2038
2038
|
return U(e.series) === d.PieSeries && (t = e.series.length <= 1), t;
|
|
2039
2039
|
}
|
|
2040
|
-
function
|
|
2040
|
+
function Zs(e, t) {
|
|
2041
2041
|
const r = U(t?.series);
|
|
2042
|
-
let i = e.includes(r);
|
|
2042
|
+
let i = r !== void 0 && e.includes(r);
|
|
2043
2043
|
if (i && t !== void 0)
|
|
2044
2044
|
switch (r) {
|
|
2045
2045
|
case d.HistogramSeries:
|
|
2046
|
-
i =
|
|
2046
|
+
i = jt(t);
|
|
2047
2047
|
break;
|
|
2048
2048
|
case d.ScatterSeries:
|
|
2049
|
-
i =
|
|
2049
|
+
i = Gt(t);
|
|
2050
2050
|
break;
|
|
2051
2051
|
case d.PieSeries:
|
|
2052
|
-
i =
|
|
2052
|
+
i = Ht(t);
|
|
2053
2053
|
break;
|
|
2054
2054
|
}
|
|
2055
2055
|
return i;
|
|
@@ -2057,35 +2057,35 @@ function Xs(e, t) {
|
|
|
2057
2057
|
function H(e) {
|
|
2058
2058
|
return e == null || typeof e == "string" && e.trim() === "";
|
|
2059
2059
|
}
|
|
2060
|
-
function
|
|
2060
|
+
function ia(e, t) {
|
|
2061
2061
|
const r = t.find((a) => a in e);
|
|
2062
2062
|
return { isInItem: r !== void 0, expr: r };
|
|
2063
2063
|
}
|
|
2064
|
-
function
|
|
2065
|
-
return
|
|
2064
|
+
function en(e) {
|
|
2065
|
+
return ia(e, Rr);
|
|
2066
2066
|
}
|
|
2067
|
-
function
|
|
2067
|
+
function tn(e, t) {
|
|
2068
2068
|
let r;
|
|
2069
2069
|
switch (e) {
|
|
2070
|
-
case
|
|
2070
|
+
case q.Second:
|
|
2071
2071
|
r = t.seconds ?? "";
|
|
2072
2072
|
break;
|
|
2073
|
-
case
|
|
2073
|
+
case q.Minute:
|
|
2074
2074
|
r = t.minutes ?? "";
|
|
2075
2075
|
break;
|
|
2076
|
-
case
|
|
2076
|
+
case q.Hour:
|
|
2077
2077
|
r = t.hours ?? "";
|
|
2078
2078
|
break;
|
|
2079
|
-
case
|
|
2079
|
+
case q.Day:
|
|
2080
2080
|
r = t.days ?? "";
|
|
2081
2081
|
break;
|
|
2082
|
-
case
|
|
2082
|
+
case q.Week:
|
|
2083
2083
|
r = t.weeks ?? "";
|
|
2084
2084
|
break;
|
|
2085
|
-
case
|
|
2085
|
+
case q.Month:
|
|
2086
2086
|
r = t.months ?? "";
|
|
2087
2087
|
break;
|
|
2088
|
-
case
|
|
2088
|
+
case q.Year:
|
|
2089
2089
|
r = t.years ?? "";
|
|
2090
2090
|
break;
|
|
2091
2091
|
default:
|
|
@@ -2094,7 +2094,7 @@ function Ys(e, t) {
|
|
|
2094
2094
|
}
|
|
2095
2095
|
return r;
|
|
2096
2096
|
}
|
|
2097
|
-
function
|
|
2097
|
+
function rn(e) {
|
|
2098
2098
|
let t;
|
|
2099
2099
|
switch (e) {
|
|
2100
2100
|
case X.Mean:
|
|
@@ -2113,7 +2113,7 @@ function Ks(e) {
|
|
|
2113
2113
|
}
|
|
2114
2114
|
return t;
|
|
2115
2115
|
}
|
|
2116
|
-
function
|
|
2116
|
+
function an(e, t) {
|
|
2117
2117
|
if (t !== void 0) {
|
|
2118
2118
|
const { seriesId: r, overlayType: i, visible: a } = e.detail;
|
|
2119
2119
|
let s;
|
|
@@ -2140,46 +2140,46 @@ function Zs(e, t) {
|
|
|
2140
2140
|
s !== void 0 && (s.visible = a);
|
|
2141
2141
|
}
|
|
2142
2142
|
}
|
|
2143
|
-
function
|
|
2144
|
-
return new
|
|
2143
|
+
function sn(e) {
|
|
2144
|
+
return new Ki().sanitize(e);
|
|
2145
2145
|
}
|
|
2146
|
-
function
|
|
2146
|
+
function nn(e) {
|
|
2147
2147
|
return e != null && !Number.isNaN(e) && Number.isFinite(e);
|
|
2148
2148
|
}
|
|
2149
|
-
function
|
|
2149
|
+
function on(e, t) {
|
|
2150
2150
|
let r;
|
|
2151
2151
|
return t !== void 0 && (r = { ...t, rotated: e }), r;
|
|
2152
2152
|
}
|
|
2153
|
-
function
|
|
2153
|
+
function aa(e, t) {
|
|
2154
2154
|
let r = { fieldToSort: "" };
|
|
2155
2155
|
if (!H(e)) {
|
|
2156
2156
|
const i = e.trim(), s = i.split(" ").at(-1)?.toUpperCase();
|
|
2157
|
-
s ===
|
|
2157
|
+
s === ee.Ascending || s === ee.Descending ? r = { fieldToSort: i.substring(0, i.lastIndexOf(" ")), orderBy: s } : (r = { fieldToSort: i }, t !== !1 && (r.orderBy = ee.Ascending));
|
|
2158
2158
|
}
|
|
2159
2159
|
return r;
|
|
2160
2160
|
}
|
|
2161
|
-
function
|
|
2162
|
-
return e.orderOptions?.orderByFields?.map((t) =>
|
|
2161
|
+
function sa(e) {
|
|
2162
|
+
return e.orderOptions?.orderByFields?.map((t) => aa(t).fieldToSort) ?? [];
|
|
2163
2163
|
}
|
|
2164
|
-
function
|
|
2164
|
+
function ln(e) {
|
|
2165
2165
|
return e === p.BarAndLineSplitBy || e === p.BarAndLineSplitByNoAggregation || e === p.BoxPlotMonoFieldAndSplitBy || e === p.BoxPlotMultiFieldsAndSplitBy || e === p.BoxPlotMonoFieldAndCategoryAndSplitBy;
|
|
2166
2166
|
}
|
|
2167
|
-
function
|
|
2167
|
+
function un(e, t) {
|
|
2168
2168
|
let { selectionItems: r } = e ?? {};
|
|
2169
2169
|
const { selectionOIDs: i } = e ?? {};
|
|
2170
2170
|
let { selectionItems: a } = t ?? {};
|
|
2171
2171
|
const { selectionOIDs: s } = t ?? {}, n = (c) => ({
|
|
2172
2172
|
...c,
|
|
2173
|
-
[
|
|
2173
|
+
[Mr]: void 0
|
|
2174
2174
|
});
|
|
2175
2175
|
r !== void 0 && (r = r.map(n)), a !== void 0 && (a = a.map(n));
|
|
2176
|
-
const o = !
|
|
2177
|
-
return o ||
|
|
2176
|
+
const o = !dt(r, a), u = !dt(i, s);
|
|
2177
|
+
return o || u;
|
|
2178
2178
|
}
|
|
2179
|
-
function
|
|
2179
|
+
function cn(e) {
|
|
2180
2180
|
return e?.selectionOIDs === void 0 || e.selectionOIDs.length === 0;
|
|
2181
2181
|
}
|
|
2182
|
-
function
|
|
2182
|
+
function dn(e = {
|
|
2183
2183
|
arrayA: [],
|
|
2184
2184
|
arrayB: [],
|
|
2185
2185
|
getKey: (t) => t
|
|
@@ -2188,28 +2188,28 @@ function on(e = {
|
|
|
2188
2188
|
if (r.length === 0 || t.length === 0)
|
|
2189
2189
|
return t;
|
|
2190
2190
|
const a = /* @__PURE__ */ new Map();
|
|
2191
|
-
r.forEach((
|
|
2192
|
-
const
|
|
2193
|
-
a.set(
|
|
2191
|
+
r.forEach((u, c) => {
|
|
2192
|
+
const l = i(u);
|
|
2193
|
+
a.set(l, c);
|
|
2194
2194
|
});
|
|
2195
2195
|
const s = [], n = [];
|
|
2196
|
-
t.forEach((
|
|
2197
|
-
const
|
|
2198
|
-
a.has(
|
|
2199
|
-
}), n.sort((
|
|
2200
|
-
const
|
|
2201
|
-
return a.get(
|
|
2196
|
+
t.forEach((u, c) => {
|
|
2197
|
+
const l = i(u);
|
|
2198
|
+
a.has(l) && (s.push(c), n.push(u));
|
|
2199
|
+
}), n.sort((u, c) => {
|
|
2200
|
+
const l = i(u), f = i(c);
|
|
2201
|
+
return a.get(l) - a.get(f);
|
|
2202
2202
|
});
|
|
2203
2203
|
const o = [...t];
|
|
2204
|
-
return s.forEach((
|
|
2205
|
-
o[
|
|
2204
|
+
return s.forEach((u, c) => {
|
|
2205
|
+
o[u] = n[c];
|
|
2206
2206
|
}), o;
|
|
2207
2207
|
}
|
|
2208
|
-
const
|
|
2209
|
-
isSupportedHistogram:
|
|
2210
|
-
isSupportedPieChart:
|
|
2211
|
-
isSupportedScatterplot:
|
|
2212
|
-
},
|
|
2208
|
+
const fn = {
|
|
2209
|
+
isSupportedHistogram: jt,
|
|
2210
|
+
isSupportedPieChart: Ht,
|
|
2211
|
+
isSupportedScatterplot: Gt
|
|
2212
|
+
}, ne = [
|
|
2213
2213
|
"1.0.0",
|
|
2214
2214
|
"1.0.1",
|
|
2215
2215
|
"2.0.0",
|
|
@@ -2286,14 +2286,15 @@ const ln = {
|
|
|
2286
2286
|
"22.0.0",
|
|
2287
2287
|
"23.0.0",
|
|
2288
2288
|
"23.1.0",
|
|
2289
|
-
"23.2.0"
|
|
2290
|
-
|
|
2289
|
+
"23.2.0",
|
|
2290
|
+
"23.3.0"
|
|
2291
|
+
], na = "1.0.0", oa = "unrecognized.version", la = [
|
|
2291
2292
|
d.LineSeries,
|
|
2292
2293
|
d.BarSeries,
|
|
2293
2294
|
d.ComboLineAndBarSeries,
|
|
2294
2295
|
d.RadarSeries
|
|
2295
2296
|
];
|
|
2296
|
-
function
|
|
2297
|
+
function He(e, t) {
|
|
2297
2298
|
let r = 0;
|
|
2298
2299
|
if (e !== t) {
|
|
2299
2300
|
const i = e.split("."), a = t.split(".");
|
|
@@ -2311,58 +2312,58 @@ function Ge(e, t) {
|
|
|
2311
2312
|
}
|
|
2312
2313
|
return r;
|
|
2313
2314
|
}
|
|
2314
|
-
function
|
|
2315
|
+
function ua(e) {
|
|
2315
2316
|
return e !== void 0 ? /^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(e) : !1;
|
|
2316
2317
|
}
|
|
2317
|
-
function
|
|
2318
|
-
let t =
|
|
2319
|
-
if (
|
|
2320
|
-
|
|
2321
|
-
const a =
|
|
2322
|
-
if (a === 1 ? t =
|
|
2318
|
+
function ca(e) {
|
|
2319
|
+
let t = oe.Same, r = [];
|
|
2320
|
+
if (ua(e) && e !== void 0) {
|
|
2321
|
+
ne.sort(He);
|
|
2322
|
+
const a = He(e, ne[ne.length - 1]);
|
|
2323
|
+
if (a === 1 ? t = oe.Newer : a === -1 && (t = oe.Older), t === oe.Newer || t === oe.Same)
|
|
2323
2324
|
r.push(e);
|
|
2324
2325
|
else {
|
|
2325
|
-
for (let s =
|
|
2326
|
-
if (
|
|
2327
|
-
r =
|
|
2326
|
+
for (let s = ne.length - 2; s >= 0; s -= 1)
|
|
2327
|
+
if (He(e, ne[s]) >= 0) {
|
|
2328
|
+
r = ne.slice(s, ne.length);
|
|
2328
2329
|
break;
|
|
2329
2330
|
}
|
|
2330
|
-
r.length === 0 && r.push(
|
|
2331
|
+
r.length === 0 && r.push(na);
|
|
2331
2332
|
}
|
|
2332
2333
|
} else
|
|
2333
|
-
t =
|
|
2334
|
+
t = oe.Unrecognized, r.push(oa);
|
|
2334
2335
|
return { versionStatus: t, versions: r };
|
|
2335
2336
|
}
|
|
2336
|
-
function
|
|
2337
|
+
function da(e) {
|
|
2337
2338
|
const { series: t } = e;
|
|
2338
2339
|
let i = ("showMean" in e ? e.showMean : !1) === !0 ? t.find((a) => a.type === d.LineSeries) : t[0];
|
|
2339
2340
|
return i ??= t[0], i;
|
|
2340
2341
|
}
|
|
2341
|
-
function
|
|
2342
|
+
function mn(e, t) {
|
|
2342
2343
|
const r = e !== null ? e.toString() : null, i = t != null ? t.toString() : null;
|
|
2343
2344
|
return i !== null && i !== r ? V.SFS : V.SLS;
|
|
2344
2345
|
}
|
|
2345
|
-
function
|
|
2346
|
+
function We(e, t) {
|
|
2346
2347
|
let r = "";
|
|
2347
|
-
return e !== void 0 && e.includes("=") && (r = t !== !1 ?
|
|
2348
|
+
return e !== void 0 && e.includes("=") && (r = t !== !1 ? Wt({ value: e.split("=")[0] }) : e.split("=")[0].trim()), r;
|
|
2348
2349
|
}
|
|
2349
|
-
function
|
|
2350
|
+
function Pe(e) {
|
|
2350
2351
|
const { where: t, normalize: r, keepSurroundingQuotes: i, escape: a } = e;
|
|
2351
2352
|
let s = "";
|
|
2352
|
-
return t !== void 0 && t.includes("=") && (s = t.split("=").slice(1).join("=").trim(), s === "null" ? s = null : s.trim() !== "" && !Number.isNaN(Number(s)) ? s = Number(s) : r === !1 ? a === !0 && (s =
|
|
2353
|
+
return t !== void 0 && t.includes("=") && (s = t.split("=").slice(1).join("=").trim(), s === "null" ? s = null : s.trim() !== "" && !Number.isNaN(Number(s)) ? s = Number(s) : r === !1 ? a === !0 && (s = ra(s)) : s = Wt({ value: s, keepSurroundingQuotes: i, escape: a })), s;
|
|
2353
2354
|
}
|
|
2354
|
-
function
|
|
2355
|
+
function ye(e) {
|
|
2355
2356
|
let t = !1;
|
|
2356
2357
|
if (e === void 0 || e === "")
|
|
2357
2358
|
t = !0;
|
|
2358
2359
|
else if (e.includes("=")) {
|
|
2359
|
-
const r =
|
|
2360
|
+
const r = We(e, !1), i = Pe({ where: e, normalize: !1 });
|
|
2360
2361
|
t = r === `${i}`;
|
|
2361
2362
|
}
|
|
2362
2363
|
return t;
|
|
2363
2364
|
}
|
|
2364
|
-
function
|
|
2365
|
-
const { where: t, normalize: r, escape: i } = e, a = r === void 0 ? !0 : r, s =
|
|
2365
|
+
function gn(e) {
|
|
2366
|
+
const { where: t, normalize: r, escape: i } = e, a = r === void 0 ? !0 : r, s = We(t), n = Pe({
|
|
2366
2367
|
where: t,
|
|
2367
2368
|
normalize: a,
|
|
2368
2369
|
keepSurroundingQuotes: !0,
|
|
@@ -2371,24 +2372,24 @@ function cn(e) {
|
|
|
2371
2372
|
let o = t;
|
|
2372
2373
|
return s !== "" && n !== "" && (o = `${s}=${n}`), o;
|
|
2373
2374
|
}
|
|
2374
|
-
function
|
|
2375
|
+
function Yt(e) {
|
|
2375
2376
|
let t = p.PieFromCategory;
|
|
2376
2377
|
return e[0].query?.outStatistics === void 0 ? t = p.PieNoAggregation : e[0].query?.groupByFieldsForStatistics === void 0 && (t = p.PieFromFields), t;
|
|
2377
2378
|
}
|
|
2378
|
-
function
|
|
2379
|
+
function Xt(e) {
|
|
2379
2380
|
let t = p.BarAndLineMonoField;
|
|
2380
2381
|
const r = e[0].query?.where;
|
|
2381
|
-
return e[0].query?.groupByFieldsForStatistics === void 0 && (e[0].query?.outStatistics ?? []).length > 0 ? t = p.BarAndLineFromFields : r === void 0 && e[0].query?.outStatistics === void 0 ? t = p.BarAndLineNoAggregation :
|
|
2382
|
+
return e[0].query?.groupByFieldsForStatistics === void 0 && (e[0].query?.outStatistics ?? []).length > 0 ? t = p.BarAndLineFromFields : r === void 0 && e[0].query?.outStatistics === void 0 ? t = p.BarAndLineNoAggregation : ye(r) ? e.length > 1 && (t = p.BarAndLineMultiFields) : t = e[0].query?.outStatistics === void 0 ? p.BarAndLineSplitByNoAggregation : p.BarAndLineSplitBy, t;
|
|
2382
2383
|
}
|
|
2383
|
-
function
|
|
2384
|
+
function fa(e) {
|
|
2384
2385
|
let t = p.BoxPlotMonoField;
|
|
2385
2386
|
const r = e.length === 1, i = e.find((o) => o.type === d.LineSeries) ?? e[0], { x: a } = i, s = "y" in i ? i.y : "", n = i.query?.where;
|
|
2386
2387
|
switch (a) {
|
|
2387
|
-
case
|
|
2388
|
-
typeof s == "object" && s.length > 1 ?
|
|
2388
|
+
case it:
|
|
2389
|
+
typeof s == "object" && s.length > 1 ? ye(n) ? r && (t = p.BoxPlotMultiFields) : t = p.BoxPlotMultiFieldsAndSplitBy : r ? t = p.BoxPlotMonoField : ye(n) || (t = p.BoxPlotMonoFieldAndSplitBy);
|
|
2389
2390
|
break;
|
|
2390
2391
|
default:
|
|
2391
|
-
r ? t = p.BoxPlotMonoFieldAndCategory :
|
|
2392
|
+
r ? t = p.BoxPlotMonoFieldAndCategory : ye(n) ? t = p.BoxPlotMultiFieldsAndCategory : t = p.BoxPlotMonoFieldAndCategoryAndSplitBy;
|
|
2392
2393
|
break;
|
|
2393
2394
|
}
|
|
2394
2395
|
return t;
|
|
@@ -2398,24 +2399,24 @@ function J(e) {
|
|
|
2398
2399
|
if (e?.[0] !== void 0)
|
|
2399
2400
|
switch (U(e)) {
|
|
2400
2401
|
case d.PieSeries:
|
|
2401
|
-
t =
|
|
2402
|
+
t = Yt(e);
|
|
2402
2403
|
break;
|
|
2403
2404
|
case d.RadarSeries:
|
|
2404
2405
|
case d.BarSeries:
|
|
2405
2406
|
case d.LineSeries:
|
|
2406
2407
|
case d.ComboLineAndBarSeries:
|
|
2407
|
-
t =
|
|
2408
|
+
t = Xt(e);
|
|
2408
2409
|
break;
|
|
2409
2410
|
case d.BoxPlotSeries:
|
|
2410
|
-
t =
|
|
2411
|
+
t = fa(e);
|
|
2411
2412
|
break;
|
|
2412
2413
|
}
|
|
2413
2414
|
return t;
|
|
2414
2415
|
}
|
|
2415
|
-
function
|
|
2416
|
+
function pn(e) {
|
|
2416
2417
|
const { seriesConfig: t, xAxisValueFormatType: r, setTimeBinningInfoWhenNotProvided: i } = e;
|
|
2417
2418
|
let a = !1;
|
|
2418
|
-
if (
|
|
2419
|
+
if (ma(t) && t.binTemporalData !== !1 && r === d.DateAxisFormat) {
|
|
2419
2420
|
const s = J([t]);
|
|
2420
2421
|
if (t.temporalBinning && s !== p.BarAndLineNoAggregation && s !== p.BarAndLineSplitByNoAggregation) {
|
|
2421
2422
|
const { unit: n, size: o } = t.temporalBinning;
|
|
@@ -2424,13 +2425,13 @@ function dn(e) {
|
|
|
2424
2425
|
}
|
|
2425
2426
|
return a;
|
|
2426
2427
|
}
|
|
2427
|
-
function
|
|
2428
|
-
return
|
|
2428
|
+
function ma(e) {
|
|
2429
|
+
return la.includes(e.type);
|
|
2429
2430
|
}
|
|
2430
|
-
const
|
|
2431
|
-
getPieChartChartSubType:
|
|
2432
|
-
getBarLineChartSubType:
|
|
2433
|
-
},
|
|
2431
|
+
const yn = {
|
|
2432
|
+
getPieChartChartSubType: Yt,
|
|
2433
|
+
getBarLineChartSubType: Xt
|
|
2434
|
+
}, C = {
|
|
2434
2435
|
Min: "min",
|
|
2435
2436
|
FirstQuartile: "first_quartile",
|
|
2436
2437
|
Median: "median",
|
|
@@ -2441,58 +2442,58 @@ const fn = {
|
|
|
2441
2442
|
StandardDeviation: "stddev",
|
|
2442
2443
|
Outlier: "outlier"
|
|
2443
2444
|
};
|
|
2444
|
-
function
|
|
2445
|
+
function ga(e) {
|
|
2445
2446
|
const t = e === void 0 || e === "";
|
|
2446
2447
|
return {
|
|
2447
|
-
[
|
|
2448
|
-
[
|
|
2449
|
-
[
|
|
2450
|
-
[
|
|
2451
|
-
[
|
|
2452
|
-
[
|
|
2453
|
-
[
|
|
2454
|
-
[
|
|
2455
|
-
[
|
|
2448
|
+
[C.Average]: `${t ? "" : `${e}_`}${C.Average}`,
|
|
2449
|
+
[C.Min]: `${t ? "" : `${e}_`}${C.Min}`,
|
|
2450
|
+
[C.Max]: `${t ? "" : `${e}_`}${C.Max}`,
|
|
2451
|
+
[C.FirstQuartile]: `${t ? "" : `${e}_`}${C.FirstQuartile}`,
|
|
2452
|
+
[C.Median]: `${t ? "" : `${e}_`}${C.Median}`,
|
|
2453
|
+
[C.ThirdQuartile]: `${t ? "" : `${e}_`}${C.ThirdQuartile}`,
|
|
2454
|
+
[C.IQR]: `${t ? "" : `${e}_`}${C.IQR}`,
|
|
2455
|
+
[C.Outlier]: `${t ? "" : `${e}_`}${C.Outlier}`,
|
|
2456
|
+
[C.StandardDeviation]: `${t ? "" : `${e}_`}${C.StandardDeviation}`
|
|
2456
2457
|
};
|
|
2457
2458
|
}
|
|
2458
|
-
function
|
|
2459
|
-
return e.subType ===
|
|
2459
|
+
function pa(e) {
|
|
2460
|
+
return e.subType === xr.FeatureGauge;
|
|
2460
2461
|
}
|
|
2461
|
-
function
|
|
2462
|
+
function Sn(e) {
|
|
2462
2463
|
let t;
|
|
2463
2464
|
return e !== void 0 && ("bins" in e ? t = e.bins : "dataItems" in e && (t = e.dataItems)), t;
|
|
2464
2465
|
}
|
|
2465
|
-
function
|
|
2466
|
+
function ya(e) {
|
|
2466
2467
|
return e === p.BoxPlotMultiFields || e === p.BoxPlotMultiFieldsAndCategory || e === p.BoxPlotMultiFieldsAndSplitBy;
|
|
2467
2468
|
}
|
|
2468
|
-
function
|
|
2469
|
+
function $e(e) {
|
|
2469
2470
|
const { key: t, y: r, chartSubType: i, splitBy: a, splitByValue: s, showOutliers: n, standardizeValues: o } = e;
|
|
2470
|
-
let
|
|
2471
|
-
return n === !0 && (t ===
|
|
2471
|
+
let u = s, l = ga(r)[t];
|
|
2472
|
+
return n === !0 && (t === C.Min || t === C.Max) && (l = `${l}${si}`), o === !0 && (ya(i) || t === C.Outlier) && (l = `${l}${ni}`), (s === void 0 || `${s}`.trim() === "") && (u = Pe({ where: a, normalize: !0, escape: !1 })), u !== void 0 && `${u}`.trim() !== "" && (l = `${u}${l !== "" ? `_${l}` : ""}`), l;
|
|
2472
2473
|
}
|
|
2473
|
-
function
|
|
2474
|
-
const { dataItem: t, y: r, splitBy: i, showOutliers: a } = e, s =
|
|
2474
|
+
function Ye(e) {
|
|
2475
|
+
const { dataItem: t, y: r, splitBy: i, showOutliers: a } = e, s = $e({ key: C.FirstQuartile, y: r, splitBy: i, showOutliers: a }), n = $e({ key: C.ThirdQuartile, y: r, splitBy: i, showOutliers: a });
|
|
2475
2476
|
return Number.isFinite(t[s]) || Number.isFinite(t[n]);
|
|
2476
2477
|
}
|
|
2477
|
-
function
|
|
2478
|
+
function Sa(e) {
|
|
2478
2479
|
const { configSeries: t, boxPlotDataItem: r, yList: i, showOutliers: a } = e, s = J(t);
|
|
2479
2480
|
let n = !1;
|
|
2480
2481
|
switch (s) {
|
|
2481
2482
|
case p.BoxPlotMonoField:
|
|
2482
2483
|
case p.BoxPlotMultiFields:
|
|
2483
2484
|
case p.BoxPlotMonoFieldAndCategory:
|
|
2484
|
-
n =
|
|
2485
|
+
n = Ye({ dataItem: r, showOutliers: a });
|
|
2485
2486
|
break;
|
|
2486
2487
|
case p.BoxPlotMultiFieldsAndCategory:
|
|
2487
2488
|
n = i.some(
|
|
2488
|
-
(o) =>
|
|
2489
|
+
(o) => Ye({ dataItem: r, y: o, showOutliers: a })
|
|
2489
2490
|
);
|
|
2490
2491
|
break;
|
|
2491
2492
|
case p.BoxPlotMonoFieldAndSplitBy:
|
|
2492
2493
|
case p.BoxPlotMultiFieldsAndSplitBy:
|
|
2493
2494
|
case p.BoxPlotMonoFieldAndCategoryAndSplitBy:
|
|
2494
2495
|
n = t.some(
|
|
2495
|
-
(o) =>
|
|
2496
|
+
(o) => Ye({
|
|
2496
2497
|
dataItem: r,
|
|
2497
2498
|
splitBy: o.query?.where,
|
|
2498
2499
|
showOutliers: a
|
|
@@ -2505,35 +2506,35 @@ function pa(e) {
|
|
|
2505
2506
|
}
|
|
2506
2507
|
return n;
|
|
2507
2508
|
}
|
|
2508
|
-
function
|
|
2509
|
+
function Jt(e) {
|
|
2509
2510
|
return e.map((t) => t.id).filter((t) => t !== void 0);
|
|
2510
2511
|
}
|
|
2511
|
-
function
|
|
2512
|
+
function Ue(e, t) {
|
|
2512
2513
|
let r = [];
|
|
2513
|
-
const i = t ??
|
|
2514
|
+
const i = t ?? Jt(e), a = J(e);
|
|
2514
2515
|
return r = e.filter((s) => i.includes(s.id)).map((s) => {
|
|
2515
2516
|
let n = "y" in s ? s.y : void 0;
|
|
2516
|
-
return n !== void 0 && a === p.BarAndLineSplitByNoAggregation && (n = `${n.toString()}_${
|
|
2517
|
+
return n !== void 0 && a === p.BarAndLineSplitByNoAggregation && (n = `${n.toString()}_${Pe({ where: s.query?.where })}`), n;
|
|
2517
2518
|
}).filter((s) => s !== void 0), Array.from(new Set(r.flat()));
|
|
2518
2519
|
}
|
|
2519
|
-
function
|
|
2520
|
+
function ba(e) {
|
|
2520
2521
|
const { seriesConfig: t, filteredSeriesIds: r, showMean: i } = e;
|
|
2521
2522
|
let a = [];
|
|
2522
2523
|
if (i === !0) {
|
|
2523
2524
|
const s = t.find((n) => n.type === d.BoxPlotSeries);
|
|
2524
2525
|
s !== void 0 && "y" in s && (a = [s.y].flat());
|
|
2525
2526
|
} else
|
|
2526
|
-
a =
|
|
2527
|
+
a = Ue(t, r);
|
|
2527
2528
|
return a;
|
|
2528
2529
|
}
|
|
2529
|
-
function
|
|
2530
|
+
function le(e, t) {
|
|
2530
2531
|
return e === null && t === !0 || Number.isFinite(e);
|
|
2531
2532
|
}
|
|
2532
|
-
function
|
|
2533
|
+
function ha(e) {
|
|
2533
2534
|
const { dataItem: t, x: r, y: i, nullAsValid: a = !1 } = e;
|
|
2534
|
-
return t[r] !== void 0 && (typeof t[r] != "number" || Number.isFinite(t[r])) &&
|
|
2535
|
+
return t[r] !== void 0 && (typeof t[r] != "number" || Number.isFinite(t[r])) && le(t[i], a);
|
|
2535
2536
|
}
|
|
2536
|
-
function
|
|
2537
|
+
function bn(e) {
|
|
2537
2538
|
const { chartConfig: t, nullAsValid: r = !1, dataSet: i } = e;
|
|
2538
2539
|
let a = !0;
|
|
2539
2540
|
if (t !== void 0) {
|
|
@@ -2541,66 +2542,69 @@ function gn(e) {
|
|
|
2541
2542
|
if (i === void 0 || i.length === 0)
|
|
2542
2543
|
a = !0;
|
|
2543
2544
|
else {
|
|
2544
|
-
const n =
|
|
2545
|
+
const n = Ue(t.series);
|
|
2545
2546
|
a = !i.some((o) => {
|
|
2546
|
-
let
|
|
2547
|
+
let u = !1;
|
|
2547
2548
|
switch (s) {
|
|
2548
2549
|
case d.HistogramSeries:
|
|
2549
2550
|
{
|
|
2550
2551
|
const c = o;
|
|
2551
|
-
|
|
2552
|
+
u = le(c.minValue, r) && le(c.maxValue, r);
|
|
2552
2553
|
}
|
|
2553
2554
|
break;
|
|
2554
2555
|
case d.ScatterSeries:
|
|
2555
2556
|
{
|
|
2556
|
-
const c = o, { x:
|
|
2557
|
-
|
|
2557
|
+
const c = o, { x: l, y: f } = t.series[0];
|
|
2558
|
+
u = le(c[l], r) && le(c[f], r);
|
|
2558
2559
|
}
|
|
2559
2560
|
break;
|
|
2560
2561
|
case d.ComboLineAndBarSeries:
|
|
2561
2562
|
case d.RadarSeries:
|
|
2562
2563
|
case d.LineSeries:
|
|
2563
2564
|
case d.BarSeries: {
|
|
2564
|
-
const c = o, { x:
|
|
2565
|
-
|
|
2566
|
-
(f) =>
|
|
2565
|
+
const c = o, { x: l } = t.series[0];
|
|
2566
|
+
u = n.some(
|
|
2567
|
+
(f) => ha({ dataItem: c, x: l, y: f, nullAsValid: r })
|
|
2567
2568
|
);
|
|
2568
2569
|
break;
|
|
2569
2570
|
}
|
|
2570
2571
|
case d.BoxPlotSeries: {
|
|
2571
|
-
const c = t.series, { showOutliers:
|
|
2572
|
-
|
|
2572
|
+
const c = t.series, { showOutliers: l } = t;
|
|
2573
|
+
u = Sa({
|
|
2573
2574
|
configSeries: c,
|
|
2574
2575
|
boxPlotDataItem: o,
|
|
2575
2576
|
yList: n,
|
|
2576
|
-
showOutliers:
|
|
2577
|
+
showOutliers: l
|
|
2577
2578
|
});
|
|
2578
2579
|
break;
|
|
2579
2580
|
}
|
|
2580
2581
|
case d.PieSeries:
|
|
2581
2582
|
{
|
|
2582
2583
|
const c = o;
|
|
2583
|
-
let { x:
|
|
2584
|
-
J(t.series) === p.PieFromFields && (
|
|
2584
|
+
let { x: l, y: f } = t.series[0];
|
|
2585
|
+
J(t.series) === p.PieFromFields && (l = rt, f = At);
|
|
2585
2586
|
const m = c[f];
|
|
2586
|
-
|
|
2587
|
+
u = c[l] !== void 0 && c[l] !== null && !Cr(m) && le(Number(m), r);
|
|
2587
2588
|
}
|
|
2588
2589
|
break;
|
|
2589
2590
|
case d.GaugeSeries:
|
|
2590
2591
|
{
|
|
2591
2592
|
const { x: c } = t.series[0];
|
|
2592
|
-
|
|
2593
|
+
u = le(o[c], r);
|
|
2593
2594
|
}
|
|
2594
2595
|
break;
|
|
2596
|
+
case d.HeatChartSeries:
|
|
2597
|
+
u = !0;
|
|
2598
|
+
break;
|
|
2595
2599
|
}
|
|
2596
|
-
return
|
|
2600
|
+
return u;
|
|
2597
2601
|
});
|
|
2598
2602
|
}
|
|
2599
2603
|
}
|
|
2600
2604
|
return a;
|
|
2601
2605
|
}
|
|
2602
|
-
function
|
|
2603
|
-
const r = /* @__PURE__ */ new Map(), i = t ??
|
|
2606
|
+
function xa(e, t) {
|
|
2607
|
+
const r = /* @__PURE__ */ new Map(), i = t ?? Jt(e);
|
|
2604
2608
|
return e.forEach((a) => {
|
|
2605
2609
|
if (i.includes(a.id) && "y" in a) {
|
|
2606
2610
|
const s = r.get(a.type) ?? [];
|
|
@@ -2608,17 +2612,17 @@ function ba(e, t) {
|
|
|
2608
2612
|
}
|
|
2609
2613
|
}), r;
|
|
2610
2614
|
}
|
|
2611
|
-
function
|
|
2612
|
-
const { seriesConfig: t, filteredSeriesIds: r, filteredData: i } = e, a =
|
|
2613
|
-
(
|
|
2615
|
+
function va(e) {
|
|
2616
|
+
const { seriesConfig: t, filteredSeriesIds: r, filteredData: i } = e, a = xa(t, r), s = t.find(
|
|
2617
|
+
(u) => u.type === d.LineSeries || u.type === d.RadarSeries
|
|
2614
2618
|
)?.stackNegativeValuesToBaseline ?? !0;
|
|
2615
2619
|
let n = Number.MIN_SAFE_INTEGER, o = Number.MAX_SAFE_INTEGER;
|
|
2616
|
-
return i.forEach((
|
|
2617
|
-
a.forEach((
|
|
2620
|
+
return i.forEach((u, c) => {
|
|
2621
|
+
a.forEach((l) => {
|
|
2618
2622
|
if (s) {
|
|
2619
2623
|
let f = [], m = [];
|
|
2620
|
-
for (let g = 0; g <
|
|
2621
|
-
const y = l[
|
|
2624
|
+
for (let g = 0; g < l.length; g += 1) {
|
|
2625
|
+
const y = u[l[g]];
|
|
2622
2626
|
y < 0 ? m[c] = (m[c] ?? 0) + y : f[c] = (f[c] ?? 0) + y;
|
|
2623
2627
|
}
|
|
2624
2628
|
f = f.filter((g) => Number.isFinite(g)).sort((g, y) => g - y), m = m.filter((g) => Number.isFinite(g)).sort((g, y) => g - y), n = Math.max(
|
|
@@ -2630,74 +2634,74 @@ function ha(e) {
|
|
|
2630
2634
|
);
|
|
2631
2635
|
} else {
|
|
2632
2636
|
let f = 0;
|
|
2633
|
-
for (let m = 0; m <
|
|
2634
|
-
const g = l[
|
|
2637
|
+
for (let m = 0; m < l.length; m += 1) {
|
|
2638
|
+
const g = u[l[m]];
|
|
2635
2639
|
f += g, n = Math.max(n, f), o = Math.min(o, f);
|
|
2636
2640
|
}
|
|
2637
2641
|
}
|
|
2638
2642
|
});
|
|
2639
2643
|
}), { stackedMinY: o, stackedMaxY: n };
|
|
2640
2644
|
}
|
|
2641
|
-
function
|
|
2642
|
-
const { dataItem: t, ...r } = e, i =
|
|
2645
|
+
function Fa(e) {
|
|
2646
|
+
const { dataItem: t, ...r } = e, i = $e({ key: C.Min, ...r }), a = $e({ key: C.Max, ...r }), s = t[i], n = t[a];
|
|
2643
2647
|
return { min: s, max: n };
|
|
2644
2648
|
}
|
|
2645
|
-
function
|
|
2649
|
+
function hn(e) {
|
|
2646
2650
|
let t = Number.NaN, r = Number.NaN, i, a;
|
|
2647
|
-
const { chartConfig: s, chartData: n, filteredSeriesIds: o } = e, { series:
|
|
2648
|
-
if (
|
|
2649
|
-
const { x: c } =
|
|
2650
|
-
[i, a] =
|
|
2651
|
+
const { chartConfig: s, chartData: n, filteredSeriesIds: o } = e, { series: u } = s;
|
|
2652
|
+
if (u?.length > 0) {
|
|
2653
|
+
const { x: c } = u[0], l = n.filter((g) => g[c] !== null);
|
|
2654
|
+
[i, a] = ct(l, (g) => g[c]), s.axes?.[1]?.valueFormat.type === d.DateAxisFormat && i !== void 0 && a !== void 0 && ([i, a] = [new Date(i).valueOf(), new Date(a).valueOf()]);
|
|
2651
2655
|
const m = U(s.series);
|
|
2652
2656
|
if (m === d.HistogramSeries && n.length > 0) {
|
|
2653
|
-
const g = n[0]?.[
|
|
2657
|
+
const g = n[0]?.[ft.Start], y = n[n.length - 1]?.[ft.End];
|
|
2654
2658
|
i = typeof g == "number" ? g : i, a = typeof y == "number" ? y : a;
|
|
2655
2659
|
} else if (m === d.BoxPlotSeries) {
|
|
2656
2660
|
t = Number.MAX_SAFE_INTEGER, r = Number.MIN_SAFE_INTEGER;
|
|
2657
|
-
const g =
|
|
2658
|
-
(
|
|
2661
|
+
const g = Ue(u, o), y = J(u), b = "standardizeValues" in s ? s.standardizeValues === !0 : void 0, S = s.series.map(
|
|
2662
|
+
(h) => h.visible !== !1 ? Pe({ where: h.query?.where }) : ""
|
|
2659
2663
|
);
|
|
2660
|
-
|
|
2661
|
-
for (let
|
|
2664
|
+
S.length === 0 && S.push(" ");
|
|
2665
|
+
for (let h = 0; h < l.length; h += 1)
|
|
2662
2666
|
for (let F = 0; F < g.length; F += 1) {
|
|
2663
2667
|
const T = y === p.BoxPlotMultiFieldsAndCategory ? g[F] : void 0;
|
|
2664
|
-
for (let
|
|
2665
|
-
const { min: P, max:
|
|
2668
|
+
for (let M = 0; M < S.length; M += 1) {
|
|
2669
|
+
const { min: P, max: R } = Fa({
|
|
2666
2670
|
y: T,
|
|
2667
|
-
splitByValue:
|
|
2671
|
+
splitByValue: S[M],
|
|
2668
2672
|
chartSubType: y,
|
|
2669
2673
|
showOutliers: !1,
|
|
2670
|
-
standardizeValues:
|
|
2671
|
-
dataItem:
|
|
2674
|
+
standardizeValues: b,
|
|
2675
|
+
dataItem: l[h]
|
|
2672
2676
|
});
|
|
2673
|
-
P != null && P < t && (t = P),
|
|
2677
|
+
P != null && P < t && (t = P), R != null && R > r && (r = R);
|
|
2674
2678
|
}
|
|
2675
2679
|
}
|
|
2676
2680
|
} else
|
|
2677
|
-
switch (
|
|
2678
|
-
case
|
|
2681
|
+
switch (Zi(s)) {
|
|
2682
|
+
case Me.Stacked100: {
|
|
2679
2683
|
t = Number.NaN, r = Number.NaN;
|
|
2680
2684
|
break;
|
|
2681
2685
|
}
|
|
2682
|
-
case
|
|
2683
|
-
const { stackedMinY: y, stackedMaxY:
|
|
2684
|
-
seriesConfig:
|
|
2685
|
-
filteredData:
|
|
2686
|
+
case Me.Stacked: {
|
|
2687
|
+
const { stackedMinY: y, stackedMaxY: b } = va({
|
|
2688
|
+
seriesConfig: u,
|
|
2689
|
+
filteredData: l,
|
|
2686
2690
|
filteredSeriesIds: o
|
|
2687
2691
|
});
|
|
2688
|
-
t = y, r =
|
|
2692
|
+
t = y, r = b;
|
|
2689
2693
|
break;
|
|
2690
2694
|
}
|
|
2691
|
-
case
|
|
2695
|
+
case Me.Side:
|
|
2692
2696
|
default: {
|
|
2693
2697
|
t = Number.MAX_SAFE_INTEGER, r = Number.MIN_SAFE_INTEGER;
|
|
2694
|
-
const y =
|
|
2695
|
-
for (let
|
|
2696
|
-
const
|
|
2697
|
-
|
|
2698
|
-
(T) => T[
|
|
2698
|
+
const y = Ue(u, o);
|
|
2699
|
+
for (let b = 0; b < y.length; b += 1) {
|
|
2700
|
+
const S = y[b], [h, F] = ct(
|
|
2701
|
+
l,
|
|
2702
|
+
(T) => T[S]
|
|
2699
2703
|
);
|
|
2700
|
-
|
|
2704
|
+
h !== void 0 && h < t && (t = h), F !== void 0 && F > r && (r = F);
|
|
2701
2705
|
}
|
|
2702
2706
|
break;
|
|
2703
2707
|
}
|
|
@@ -2705,7 +2709,7 @@ function pn(e) {
|
|
|
2705
2709
|
}
|
|
2706
2710
|
return { minY: t, maxY: r, minX: i, maxX: a };
|
|
2707
2711
|
}
|
|
2708
|
-
class
|
|
2712
|
+
class te extends Error {
|
|
2709
2713
|
/**
|
|
2710
2714
|
* Creates a new ArcgisChartsError instance.
|
|
2711
2715
|
*
|
|
@@ -2717,70 +2721,73 @@ class ye extends Error {
|
|
|
2717
2721
|
super(r), this.name = t, this.details = i;
|
|
2718
2722
|
}
|
|
2719
2723
|
}
|
|
2720
|
-
const
|
|
2724
|
+
const Y = {
|
|
2721
2725
|
Default: "defaultError",
|
|
2722
2726
|
LayerLoadFailure: "layerLoadFailure",
|
|
2723
2727
|
QueryFeaturesError: "queryFeaturesError",
|
|
2724
2728
|
ChartDisposed: "ChartDisposeError",
|
|
2725
2729
|
LayerFieldsNotFound: "layerFieldsNotFound"
|
|
2726
2730
|
};
|
|
2727
|
-
function
|
|
2731
|
+
function xn(e) {
|
|
2728
2732
|
return e !== void 0 && (!("url" in e) || !e.url);
|
|
2729
2733
|
}
|
|
2730
|
-
function
|
|
2734
|
+
function nt(e) {
|
|
2731
2735
|
return e !== void 0 && "layer" in e;
|
|
2732
2736
|
}
|
|
2733
|
-
function
|
|
2737
|
+
function Aa(e) {
|
|
2734
2738
|
return e !== void 0 && "type" in e && e.type === "feature";
|
|
2735
2739
|
}
|
|
2736
|
-
function
|
|
2740
|
+
function Ta(e) {
|
|
2737
2741
|
return e !== void 0 && "type" in e && e.type === "subtype-group";
|
|
2738
2742
|
}
|
|
2739
|
-
function
|
|
2743
|
+
function ot(e) {
|
|
2740
2744
|
return e !== void 0 && "type" in e && e.type === "subtype-sublayer";
|
|
2741
2745
|
}
|
|
2742
|
-
function
|
|
2743
|
-
return
|
|
2746
|
+
function vn(e) {
|
|
2747
|
+
return Aa(e) || ot(e);
|
|
2744
2748
|
}
|
|
2745
|
-
function
|
|
2746
|
-
return
|
|
2749
|
+
function k(e) {
|
|
2750
|
+
return ot(e) ? e.parent : e;
|
|
2747
2751
|
}
|
|
2748
|
-
function
|
|
2749
|
-
return e.capabilities?.query?.supportsDistance ||
|
|
2752
|
+
function Kt(e) {
|
|
2753
|
+
return e.capabilities?.query?.supportsDistance || k(e).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance === !0;
|
|
2750
2754
|
}
|
|
2751
|
-
function
|
|
2755
|
+
function Ca(e) {
|
|
2756
|
+
return e.capabilities?.queryAttributeBins?.supportsFixedInterval === !0 && e.capabilities?.queryAttributeBins?.supportsStackBy;
|
|
2757
|
+
}
|
|
2758
|
+
function wa(e, t) {
|
|
2752
2759
|
return e.capabilities?.queryAttributeBins?.supportsDate === !0 && (H(t) || e.capabilities?.queryAttributeBins?.supportsStackBy);
|
|
2753
2760
|
}
|
|
2754
|
-
function
|
|
2755
|
-
return
|
|
2761
|
+
function Fn(e) {
|
|
2762
|
+
return k(
|
|
2756
2763
|
O(e)
|
|
2757
2764
|
)?.sourceJSON?.advancedQueryCapabilities.supportedOperationsWithCacheHint.includes("queryBins");
|
|
2758
2765
|
}
|
|
2759
|
-
function
|
|
2766
|
+
function An(e) {
|
|
2760
2767
|
let t = !1;
|
|
2761
|
-
const i =
|
|
2768
|
+
const i = k(O(e)).sourceJSON;
|
|
2762
2769
|
if (i) {
|
|
2763
|
-
const a = i.queryBinsCapabilities?.supportsFixedIntervalBin, s = i.queryBinsCapabilities?.supportedStatisticTypes, n = [
|
|
2770
|
+
const a = i.queryBinsCapabilities?.supportsFixedIntervalBin, s = i.queryBinsCapabilities?.supportedStatisticTypes, n = [L.Maximum, L.Count].every(
|
|
2764
2771
|
(o) => s?.includes(o.toUpperCase()) || s?.includes(o.toLowerCase())
|
|
2765
2772
|
);
|
|
2766
2773
|
t = a && n;
|
|
2767
2774
|
}
|
|
2768
2775
|
return t;
|
|
2769
2776
|
}
|
|
2770
|
-
function
|
|
2777
|
+
function Tn(e) {
|
|
2771
2778
|
let t;
|
|
2772
|
-
return
|
|
2779
|
+
return nt(e) ? t = e.layer : t = e, t;
|
|
2773
2780
|
}
|
|
2774
2781
|
function O(e) {
|
|
2775
2782
|
let t;
|
|
2776
|
-
return
|
|
2783
|
+
return nt(e) ? t = e.layer : t = e, t;
|
|
2777
2784
|
}
|
|
2778
|
-
function
|
|
2785
|
+
function Ba(e) {
|
|
2779
2786
|
let t = !1;
|
|
2780
|
-
const r =
|
|
2787
|
+
const r = k(e).sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics ?? [], i = e.capabilities?.query.supportedSpatialAggregationStatistics ?? {};
|
|
2781
2788
|
return t = r.includes("EnvelopeAggregate") || "envelope" in i && i.envelope === !0, t;
|
|
2782
2789
|
}
|
|
2783
|
-
function
|
|
2790
|
+
function Cn(e) {
|
|
2784
2791
|
const { chartConfig: t, queryObject: r } = e;
|
|
2785
2792
|
let i;
|
|
2786
2793
|
const a = O(r);
|
|
@@ -2789,72 +2796,100 @@ function xn(e) {
|
|
|
2789
2796
|
layerType: "ArcGISFeatureLayer"
|
|
2790
2797
|
}, a.url && (i.url = a.url)), { ...t, iLayer: i };
|
|
2791
2798
|
}
|
|
2792
|
-
const
|
|
2793
|
-
function
|
|
2799
|
+
const Ae = /* @__PURE__ */ new Map();
|
|
2800
|
+
function La(e) {
|
|
2794
2801
|
let t;
|
|
2795
2802
|
switch (e) {
|
|
2796
|
-
case
|
|
2803
|
+
case me.Feet:
|
|
2797
2804
|
t = "esriSRUnit_Foot";
|
|
2798
2805
|
break;
|
|
2799
|
-
case
|
|
2806
|
+
case me.Miles:
|
|
2800
2807
|
t = "esriSRUnit_StatuteMile";
|
|
2801
2808
|
break;
|
|
2802
|
-
case
|
|
2809
|
+
case me.NauticalMiles:
|
|
2803
2810
|
t = "esriSRUnit_NauticalMile";
|
|
2804
2811
|
break;
|
|
2805
|
-
case
|
|
2812
|
+
case me.USNauticalMiles:
|
|
2806
2813
|
t = "esriSRUnit_USNauticalMile";
|
|
2807
2814
|
break;
|
|
2808
|
-
case
|
|
2815
|
+
case me.Meters:
|
|
2809
2816
|
t = "esriSRUnit_Meter";
|
|
2810
2817
|
break;
|
|
2811
|
-
case
|
|
2818
|
+
case me.Kilometers:
|
|
2812
2819
|
t = "esriSRUnit_Kilometer";
|
|
2813
2820
|
break;
|
|
2814
2821
|
}
|
|
2815
2822
|
return t;
|
|
2816
2823
|
}
|
|
2817
|
-
async function
|
|
2818
|
-
const { queryObject: t, queryConfig: r, outputFormat: i, dataFormat: a, outAnalytics: s } = e, { where: n, geometry: o, distance:
|
|
2824
|
+
async function wn(e) {
|
|
2825
|
+
const { queryObject: t, queryConfig: r, outputFormat: i, dataFormat: a, outAnalytics: s } = e, { where: n, geometry: o, distance: u, units: c, timeExtent: l } = r;
|
|
2819
2826
|
let f;
|
|
2820
|
-
const m = O(t), g =
|
|
2821
|
-
if (
|
|
2822
|
-
const F =
|
|
2823
|
-
|
|
2824
|
-
...
|
|
2827
|
+
const m = O(t), g = k(m), b = { query: { where: Te([n, g.definitionExpression]) } }, S = lt(o)?.extent?.toJSON();
|
|
2828
|
+
if (S !== void 0) {
|
|
2829
|
+
const F = La(c), { xmin: T, ymin: M, xmax: P, ymax: R } = S;
|
|
2830
|
+
b.query = {
|
|
2831
|
+
...b.query,
|
|
2825
2832
|
geometryType: "esriGeometryEnvelope",
|
|
2826
|
-
geometry: `${T},${
|
|
2827
|
-
distance:
|
|
2833
|
+
geometry: `${T},${M},${P},${R}`,
|
|
2834
|
+
distance: u,
|
|
2828
2835
|
units: F,
|
|
2829
2836
|
inSR: o?.spatialReference?.wkid
|
|
2830
2837
|
};
|
|
2831
2838
|
}
|
|
2832
|
-
|
|
2833
|
-
const
|
|
2839
|
+
l && (b.query.time = `${l[0]},${l[1]}`);
|
|
2840
|
+
const h = `${g.url}/${g.layerId}/queryAnalytic?f=${i}&dataFormat=${a}&outAnalytics=${s}`;
|
|
2834
2841
|
try {
|
|
2835
|
-
f = (await
|
|
2842
|
+
f = (await Xe(h, b)).data?.features?.[0]?.attributes;
|
|
2836
2843
|
} catch (F) {
|
|
2837
|
-
const T = (await
|
|
2838
|
-
|
|
2844
|
+
const T = (await D(
|
|
2845
|
+
E(document.documentElement).t9nLocale,
|
|
2839
2846
|
I("./assets/common/t9n"),
|
|
2840
2847
|
"messages."
|
|
2841
2848
|
)).errorStrings;
|
|
2842
|
-
throw new
|
|
2849
|
+
throw new te(Y.QueryFeaturesError, T.errors.queryError, F);
|
|
2843
2850
|
}
|
|
2844
2851
|
return f;
|
|
2845
2852
|
}
|
|
2846
|
-
function
|
|
2853
|
+
function Pa(e, t) {
|
|
2847
2854
|
return {
|
|
2848
2855
|
lowerBoundaryAlias: `charts_lower_boundary_${e}`,
|
|
2849
2856
|
upperBoundaryAlias: `charts_upper_boundary_${e}`,
|
|
2850
2857
|
stackAlias: `charts_stack_alias_${t}`
|
|
2851
2858
|
};
|
|
2852
2859
|
}
|
|
2853
|
-
async function
|
|
2854
|
-
const {
|
|
2855
|
-
let
|
|
2856
|
-
|
|
2857
|
-
|
|
2860
|
+
async function Bn(e) {
|
|
2861
|
+
const { chartConfig: t, queryObject: r, queryConfig: i, errorStrings: a } = e;
|
|
2862
|
+
let s;
|
|
2863
|
+
const n = O(r), o = Ca(n);
|
|
2864
|
+
if (o && r && "queryAttributeBins" in r && t.series[0].type === d.HeatChartSeries) {
|
|
2865
|
+
const { x: u, y: c, xTemporalBinning: l, yTemporalBinning: f } = t.series[0], m = await qa({
|
|
2866
|
+
queryObject: r,
|
|
2867
|
+
queryConfig: i,
|
|
2868
|
+
x: u,
|
|
2869
|
+
y: c,
|
|
2870
|
+
xTemporalBinning: l,
|
|
2871
|
+
yTemporalBinning: f
|
|
2872
|
+
});
|
|
2873
|
+
try {
|
|
2874
|
+
s = await r.queryAttributeBins(m);
|
|
2875
|
+
} catch (g) {
|
|
2876
|
+
throw new te(Y.QueryFeaturesError, a.errors.queryError, g);
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
if (!o)
|
|
2880
|
+
throw new te(
|
|
2881
|
+
Y.QueryFeaturesError,
|
|
2882
|
+
a.errors.queryBinsNotSupported,
|
|
2883
|
+
a.errors.queryBinsNotSupported
|
|
2884
|
+
// given we are out of a try/catch we set the details to the same error message
|
|
2885
|
+
);
|
|
2886
|
+
return s;
|
|
2887
|
+
}
|
|
2888
|
+
async function Ln(e) {
|
|
2889
|
+
const { queryObject: t, queryConfig: r, xStep: i, xMin: a, xMax: s, x: n, y: o, yStep: u, errorStrings: c } = e;
|
|
2890
|
+
let l;
|
|
2891
|
+
if (t && "queryAttributeBins" in t && Number.isFinite(i) && Number.isFinite(u) && Number.isFinite(a) && Number.isFinite(s) && i > 0 && u > 0) {
|
|
2892
|
+
const f = Va({
|
|
2858
2893
|
queryObject: t,
|
|
2859
2894
|
queryConfig: r,
|
|
2860
2895
|
xStep: i,
|
|
@@ -2862,30 +2897,30 @@ async function An(e) {
|
|
|
2862
2897
|
xMax: s,
|
|
2863
2898
|
x: n,
|
|
2864
2899
|
y: o,
|
|
2865
|
-
yStep:
|
|
2900
|
+
yStep: u
|
|
2866
2901
|
});
|
|
2867
2902
|
try {
|
|
2868
|
-
|
|
2903
|
+
l = await t.queryAttributeBins(f);
|
|
2869
2904
|
} catch (m) {
|
|
2870
|
-
throw new
|
|
2905
|
+
throw new te(Y.QueryFeaturesError, c.errors.queryError, m);
|
|
2871
2906
|
}
|
|
2872
2907
|
}
|
|
2873
|
-
return
|
|
2908
|
+
return l;
|
|
2874
2909
|
}
|
|
2875
|
-
async function
|
|
2910
|
+
async function Pn(e) {
|
|
2876
2911
|
const { queryConfig: t, x: r, queryObject: i, chartSubType: a, isGaugeByFeature: s } = e, n = O(i);
|
|
2877
2912
|
let o;
|
|
2878
2913
|
if (i !== void 0) {
|
|
2879
|
-
const
|
|
2914
|
+
const u = n.objectIdField, { where: c, gdbVersion: l, timeExtent: f, geometry: m, distance: g, units: y } = t, b = Oa(f), S = lt(m), h = k(n), F = Te([c, h.definitionExpression]), T = {
|
|
2880
2915
|
returnDistinctValues: !0,
|
|
2881
2916
|
// See issue #2653. We need a unique value for the outFields, no matter what it is, except "*", "" or multiple values.
|
|
2882
|
-
outFields: s === !0 || a === p.PieNoAggregation || a === p.BarAndLineNoAggregation || a === p.BarAndLineSplitByNoAggregation ? [
|
|
2917
|
+
outFields: s === !0 || a === p.PieNoAggregation || a === p.BarAndLineNoAggregation || a === p.BarAndLineSplitByNoAggregation ? [u] : [r],
|
|
2883
2918
|
where: F,
|
|
2884
|
-
gdbVersion:
|
|
2885
|
-
timeExtent:
|
|
2886
|
-
geometry:
|
|
2919
|
+
gdbVersion: l ?? h.gdbVersion,
|
|
2920
|
+
timeExtent: b ?? h.timeExtent,
|
|
2921
|
+
geometry: S
|
|
2887
2922
|
};
|
|
2888
|
-
|
|
2923
|
+
er(T) && (T.cacheHint = !0), T.geometry !== void 0 && Kt(n) && (g !== void 0 && (T.distance = g), y !== void 0 && (T.units = y));
|
|
2889
2924
|
try {
|
|
2890
2925
|
o = await i.queryFeatureCount(T);
|
|
2891
2926
|
} catch {
|
|
@@ -2894,11 +2929,11 @@ async function Tn(e) {
|
|
|
2894
2929
|
}
|
|
2895
2930
|
return o;
|
|
2896
2931
|
}
|
|
2897
|
-
async function
|
|
2932
|
+
async function In(e) {
|
|
2898
2933
|
const { queryObject: t, queryConfig: r, abortKey: i } = e, { outStatistics: a } = r, s = /* @__PURE__ */ new Map();
|
|
2899
2934
|
if (t !== void 0 && a !== void 0 && a.length > 0) {
|
|
2900
|
-
const n = a.map((
|
|
2901
|
-
const { statisticType: f, onStatisticField: m, outStatisticFieldName: g } =
|
|
2935
|
+
const n = a.map((l) => {
|
|
2936
|
+
const { statisticType: f, onStatisticField: m, outStatisticFieldName: g } = l;
|
|
2902
2937
|
return {
|
|
2903
2938
|
statisticType: f,
|
|
2904
2939
|
onStatisticField: m,
|
|
@@ -2906,28 +2941,28 @@ async function wn(e) {
|
|
|
2906
2941
|
};
|
|
2907
2942
|
});
|
|
2908
2943
|
r.outStatistics = n, delete r.num, delete r.orderByFields;
|
|
2909
|
-
const o =
|
|
2944
|
+
const o = ir({
|
|
2910
2945
|
queryObject: t,
|
|
2911
2946
|
queryConfig: r
|
|
2912
2947
|
});
|
|
2913
|
-
let
|
|
2948
|
+
let u;
|
|
2914
2949
|
try {
|
|
2915
|
-
|
|
2916
|
-
signal: i !== void 0 ?
|
|
2950
|
+
u = await t.queryFeatures(o, {
|
|
2951
|
+
signal: i !== void 0 ? Ae.get(i)?.signal : void 0
|
|
2917
2952
|
});
|
|
2918
|
-
} catch (
|
|
2919
|
-
if (!
|
|
2920
|
-
const f = (await
|
|
2921
|
-
|
|
2953
|
+
} catch (l) {
|
|
2954
|
+
if (!wt.isAbortError(l)) {
|
|
2955
|
+
const f = (await D(
|
|
2956
|
+
E(document.documentElement).t9nLocale,
|
|
2922
2957
|
I("./assets/common/t9n"),
|
|
2923
2958
|
"messages."
|
|
2924
2959
|
)).errorStrings;
|
|
2925
|
-
throw new
|
|
2960
|
+
throw new te(Y.QueryFeaturesError, f.errors.queryError, l);
|
|
2926
2961
|
}
|
|
2927
2962
|
}
|
|
2928
|
-
const c =
|
|
2929
|
-
c !== void 0 && a.forEach((
|
|
2930
|
-
const { outStatisticFieldName: f } =
|
|
2963
|
+
const c = u?.features?.[0]?.attributes;
|
|
2964
|
+
c !== void 0 && a.forEach((l) => {
|
|
2965
|
+
const { outStatisticFieldName: f } = l;
|
|
2931
2966
|
if (f !== void 0) {
|
|
2932
2967
|
const m = c[f.toLowerCase()] ?? c[f.toUpperCase()] ?? c[f];
|
|
2933
2968
|
m !== void 0 && s.set(f, m);
|
|
@@ -2936,71 +2971,71 @@ async function wn(e) {
|
|
|
2936
2971
|
}
|
|
2937
2972
|
return s;
|
|
2938
2973
|
}
|
|
2939
|
-
async function
|
|
2974
|
+
async function Zt(e) {
|
|
2940
2975
|
const { queryObject: t, queryConfig: r, returnUniqueIdsOnly: i, abortKey: a } = e;
|
|
2941
2976
|
let s = [];
|
|
2942
2977
|
const n = O(t);
|
|
2943
2978
|
if (t !== void 0) {
|
|
2944
|
-
const o =
|
|
2979
|
+
const o = _a(n), u = ir({
|
|
2945
2980
|
queryObject: t,
|
|
2946
2981
|
queryConfig: r,
|
|
2947
2982
|
maxRecordCountFactor: o
|
|
2948
2983
|
});
|
|
2949
2984
|
try {
|
|
2950
|
-
i === !0 ? "queryObjectIds" in t ? s = await t.queryObjectIds(
|
|
2951
|
-
signal: a !== void 0 ?
|
|
2952
|
-
})).features.map((
|
|
2953
|
-
signal: a !== void 0 ?
|
|
2985
|
+
i === !0 ? "queryObjectIds" in t ? s = await t.queryObjectIds(u) : (u.outFields = [n.objectIdField], s = (await t.queryFeatures(u, {
|
|
2986
|
+
signal: a !== void 0 ? Ae.get(a)?.signal : void 0
|
|
2987
|
+
})).features.map((l) => l.attributes[n.objectIdField])) : s = (await t.queryFeatures(u, {
|
|
2988
|
+
signal: a !== void 0 ? Ae.get(a)?.signal : void 0
|
|
2954
2989
|
})).features;
|
|
2955
2990
|
} catch (c) {
|
|
2956
|
-
if (!
|
|
2957
|
-
const
|
|
2958
|
-
|
|
2991
|
+
if (!wt.isAbortError(c)) {
|
|
2992
|
+
const l = (await D(
|
|
2993
|
+
E(document.documentElement).t9nLocale,
|
|
2959
2994
|
I("./assets/common/t9n"),
|
|
2960
2995
|
"messages."
|
|
2961
2996
|
)).errorStrings;
|
|
2962
|
-
throw new
|
|
2997
|
+
throw new te(Y.QueryFeaturesError, l.errors.queryError, c);
|
|
2963
2998
|
}
|
|
2964
2999
|
}
|
|
2965
3000
|
}
|
|
2966
3001
|
return s;
|
|
2967
3002
|
}
|
|
2968
|
-
async function
|
|
3003
|
+
async function Ia(e) {
|
|
2969
3004
|
const t = [], { featureCount: r, maxRecords: i, queryConfig: a } = e;
|
|
2970
3005
|
let s = [], n = 0, o = a?.start ?? 0;
|
|
2971
|
-
for (; n <
|
|
3006
|
+
for (; n < ue.maxParallelRequests && o < r; ) {
|
|
2972
3007
|
const c = { ...e };
|
|
2973
3008
|
c.queryConfig = {
|
|
2974
3009
|
...a,
|
|
2975
3010
|
start: o,
|
|
2976
3011
|
num: Math.min(i, r - o)
|
|
2977
|
-
}, t.push(
|
|
3012
|
+
}, t.push(Zt(c)), o += i, n += 1;
|
|
2978
3013
|
}
|
|
2979
3014
|
return s = (await Promise.all(t)).flat(), s;
|
|
2980
3015
|
}
|
|
2981
|
-
async function
|
|
3016
|
+
async function Da(e) {
|
|
2982
3017
|
const { queryObject: t, queryConfig: r, returnUniqueIdsOnly: i, featureCount: a, noBatch: s, abortKey: n } = e;
|
|
2983
3018
|
let o = [];
|
|
2984
|
-
const
|
|
3019
|
+
const u = O(t);
|
|
2985
3020
|
if (t !== void 0) {
|
|
2986
|
-
const c = a ?? 1,
|
|
2987
|
-
if (s !== !0 && c >
|
|
3021
|
+
const c = a ?? 1, l = tr(u);
|
|
3022
|
+
if (s !== !0 && c > l && u.capabilities?.query.supportsPagination) {
|
|
2988
3023
|
let f = 0, m = 0;
|
|
2989
|
-
const g = Math.ceil(c /
|
|
3024
|
+
const g = Math.ceil(c / l), y = Math.ceil(g / ue.maxParallelRequests), b = [];
|
|
2990
3025
|
for (; m < y; ) {
|
|
2991
|
-
f = m *
|
|
2992
|
-
const
|
|
3026
|
+
f = m * ue.maxParallelRequests * l;
|
|
3027
|
+
const h = Ia({
|
|
2993
3028
|
queryConfig: { ...r, start: f },
|
|
2994
3029
|
queryObject: t,
|
|
2995
|
-
maxRecords:
|
|
3030
|
+
maxRecords: l,
|
|
2996
3031
|
featureCount: c,
|
|
2997
3032
|
returnUniqueIdsOnly: i,
|
|
2998
3033
|
abortKey: n
|
|
2999
3034
|
});
|
|
3000
|
-
|
|
3035
|
+
b.push(h), m += 1;
|
|
3001
3036
|
}
|
|
3002
|
-
o = (await Promise.all(
|
|
3003
|
-
} else (Number.isNaN(c) || c >= 0) && (o = await
|
|
3037
|
+
o = (await Promise.all(b)).flat();
|
|
3038
|
+
} else (Number.isNaN(c) || c >= 0) && (o = await Zt({
|
|
3004
3039
|
queryObject: t,
|
|
3005
3040
|
queryConfig: r,
|
|
3006
3041
|
returnUniqueIdsOnly: i,
|
|
@@ -3009,9 +3044,9 @@ async function Ba(e) {
|
|
|
3009
3044
|
}
|
|
3010
3045
|
return o;
|
|
3011
3046
|
}
|
|
3012
|
-
async function
|
|
3047
|
+
async function Dn(e) {
|
|
3013
3048
|
const { queryObject: t, queryConfig: r, uniqueFeature: i, abortKey: a } = e, s = { ...r, returnDistinctValues: !0 };
|
|
3014
|
-
return await
|
|
3049
|
+
return await Da({
|
|
3015
3050
|
queryObject: t,
|
|
3016
3051
|
abortKey: a,
|
|
3017
3052
|
queryConfig: s,
|
|
@@ -3020,127 +3055,127 @@ async function Cn(e) {
|
|
|
3020
3055
|
// in case of querying for a unique feature, we know the query will bring back only 1 entry
|
|
3021
3056
|
});
|
|
3022
3057
|
}
|
|
3023
|
-
function
|
|
3058
|
+
function En(e) {
|
|
3024
3059
|
if (e !== void 0) {
|
|
3025
|
-
const t =
|
|
3026
|
-
t !== void 0 && t.abort(),
|
|
3060
|
+
const t = Ae.get(e);
|
|
3061
|
+
t !== void 0 && t.abort(), Ae.set(e, new AbortController());
|
|
3027
3062
|
}
|
|
3028
3063
|
}
|
|
3029
|
-
function
|
|
3064
|
+
function Ea(e) {
|
|
3030
3065
|
return {
|
|
3031
3066
|
lowerBoundaryAlias: `charts_lower_boundary_${e}`,
|
|
3032
3067
|
upperBoundaryAlias: `charts_upper_boundary_${e}`
|
|
3033
3068
|
};
|
|
3034
3069
|
}
|
|
3035
|
-
async function
|
|
3070
|
+
async function Nn(e) {
|
|
3036
3071
|
const { queryObject: t, dateField: r, splitByField: i, queryConfig: a, temporalBinning: s } = e;
|
|
3037
3072
|
let n = [], o;
|
|
3038
3073
|
if (s) {
|
|
3039
|
-
const { unit:
|
|
3074
|
+
const { unit: u } = s;
|
|
3040
3075
|
try {
|
|
3041
|
-
if (
|
|
3042
|
-
const c =
|
|
3043
|
-
if (o =
|
|
3044
|
-
const
|
|
3076
|
+
if (u) {
|
|
3077
|
+
const c = k(O(t));
|
|
3078
|
+
if (o = wa(c, i), o && t && "queryAttributeBins" in t) {
|
|
3079
|
+
const l = await Ra({
|
|
3045
3080
|
queryObject: t,
|
|
3046
3081
|
queryConfig: a,
|
|
3047
3082
|
temporalBinning: s,
|
|
3048
3083
|
dateField: r,
|
|
3049
3084
|
splitByField: i
|
|
3050
3085
|
});
|
|
3051
|
-
n = (await t.queryAttributeBins(
|
|
3086
|
+
n = (await t.queryAttributeBins(l)).features;
|
|
3052
3087
|
}
|
|
3053
3088
|
}
|
|
3054
3089
|
} catch (c) {
|
|
3055
|
-
const
|
|
3056
|
-
|
|
3090
|
+
const l = (await D(
|
|
3091
|
+
E(document.documentElement).t9nLocale,
|
|
3057
3092
|
I("./assets/common/t9n"),
|
|
3058
3093
|
"messages."
|
|
3059
3094
|
)).errorStrings;
|
|
3060
|
-
throw new
|
|
3095
|
+
throw new te(Y.QueryFeaturesError, l.errors.queryError, c);
|
|
3061
3096
|
}
|
|
3062
3097
|
}
|
|
3063
3098
|
if (o === !1) {
|
|
3064
|
-
const
|
|
3065
|
-
|
|
3099
|
+
const u = (await D(
|
|
3100
|
+
E(document.documentElement).t9nLocale,
|
|
3066
3101
|
I("./assets/common/t9n"),
|
|
3067
3102
|
"messages."
|
|
3068
3103
|
)).errorStrings;
|
|
3069
|
-
throw new
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3104
|
+
throw new te(
|
|
3105
|
+
Y.QueryFeaturesError,
|
|
3106
|
+
u.errors.queryBinsNotSupported,
|
|
3107
|
+
u.errors.queryBinsNotSupported
|
|
3073
3108
|
// given we are out of a try/catch we set the details to the same error message
|
|
3074
3109
|
);
|
|
3075
3110
|
}
|
|
3076
3111
|
return n;
|
|
3077
3112
|
}
|
|
3078
|
-
function
|
|
3113
|
+
function er(e) {
|
|
3079
3114
|
const t = !e.geometry || e.geometry.type === "extent", r = (e.where ?? "").toUpperCase(), i = !r.includes("CURRENT_TIMESTAMP") && !r.includes("CURRENT_DATE") && !r.includes("CURRENT_TIME");
|
|
3080
3115
|
return t && i;
|
|
3081
3116
|
}
|
|
3082
|
-
function
|
|
3083
|
-
const t =
|
|
3084
|
-
let r = t?.maxRecordCount ??
|
|
3085
|
-
return t?.advancedQueryCapabilities?.supportsMaxRecordCountFactor && t?.maxRecordCount !== void 0 && (r = t.maxRecordCount *
|
|
3117
|
+
function tr(e) {
|
|
3118
|
+
const t = k(e)?.sourceJSON;
|
|
3119
|
+
let r = t?.maxRecordCount ?? ue.maxRecords;
|
|
3120
|
+
return t?.advancedQueryCapabilities?.supportsMaxRecordCountFactor && t?.maxRecordCount !== void 0 && (r = t.maxRecordCount * ue.maxRecordCountFactor), r;
|
|
3086
3121
|
}
|
|
3087
|
-
function
|
|
3122
|
+
function Te(e, t) {
|
|
3088
3123
|
let r;
|
|
3089
3124
|
const i = Array.from(new Set(e)).filter(
|
|
3090
|
-
(a) => a != null && a !== "" && !
|
|
3125
|
+
(a) => a != null && a !== "" && !ye(a)
|
|
3091
3126
|
);
|
|
3092
3127
|
return i.sort((a, s) => s.length - a.length), i.length === 1 ? [r] = i : i?.forEach((a) => {
|
|
3093
3128
|
a !== void 0 && (H(r) ? r = `(${a})` : r?.includes(`(${a})`) || (r = `${r} ${t ?? "AND"} (${a})`));
|
|
3094
3129
|
}), r ?? "1=1";
|
|
3095
3130
|
}
|
|
3096
|
-
function
|
|
3131
|
+
function Na(e, t) {
|
|
3097
3132
|
let r = t;
|
|
3098
3133
|
if (e !== void 0) {
|
|
3099
|
-
const i = O(e), a =
|
|
3134
|
+
const i = O(e), a = k(i).timeExtent;
|
|
3100
3135
|
a?.start != null && a?.end != null && (r = [a.start.valueOf(), a.end.valueOf()]);
|
|
3101
3136
|
}
|
|
3102
3137
|
return r;
|
|
3103
3138
|
}
|
|
3104
|
-
function
|
|
3139
|
+
function ka(e) {
|
|
3105
3140
|
const { queryObject: t, defaultGeometry: r, ignoreViewExtent: i } = e;
|
|
3106
3141
|
let a = r;
|
|
3107
|
-
if (!i &&
|
|
3108
|
-
const s = t.view.extent, { xmin: n, xmax: o, ymin:
|
|
3109
|
-
a = { xmin: n, ymin:
|
|
3142
|
+
if (!i && nt(t)) {
|
|
3143
|
+
const s = t.view.extent, { xmin: n, xmax: o, ymin: u, ymax: c, zmin: l, zmax: f, spatialReference: m } = s;
|
|
3144
|
+
a = { xmin: n, ymin: u, zmin: l, xmax: o, ymax: c, zmax: f, spatialReference: m };
|
|
3110
3145
|
}
|
|
3111
3146
|
return a;
|
|
3112
3147
|
}
|
|
3113
|
-
function
|
|
3148
|
+
function Oa(e) {
|
|
3114
3149
|
let t;
|
|
3115
|
-
return e !== void 0 && (t = new
|
|
3150
|
+
return e !== void 0 && (t = new Ct({
|
|
3116
3151
|
start: new Date(e[0]),
|
|
3117
3152
|
end: new Date(e[1])
|
|
3118
3153
|
})), t;
|
|
3119
3154
|
}
|
|
3120
|
-
function
|
|
3155
|
+
function lt(e) {
|
|
3121
3156
|
let t;
|
|
3122
|
-
return e !== void 0 && (t =
|
|
3157
|
+
return e !== void 0 && (t = Tt.fromJSON(e)), t;
|
|
3123
3158
|
}
|
|
3124
|
-
function
|
|
3159
|
+
function rr(e) {
|
|
3125
3160
|
return e === void 0 ? ["*"] : Array.from(new Set(e));
|
|
3126
3161
|
}
|
|
3127
|
-
function
|
|
3128
|
-
const { queryObject: t, queryConfig: r, queryType: i } = e, { where: a, outStatistics: s, geometry: n, distance: o, units:
|
|
3129
|
-
if (f.where =
|
|
3130
|
-
const
|
|
3162
|
+
function Ge(e) {
|
|
3163
|
+
const { queryObject: t, queryConfig: r, queryType: i } = e, { where: a, outStatistics: s, geometry: n, distance: o, units: u, timeExtent: c, returnDistinctValues: l } = r ?? {}, f = i === "Query" ? new kr({}) : new Nr({}), m = O(t), g = k(m), y = [a, g.definitionExpression];
|
|
3164
|
+
if (f.where = Te(y), f.returnDistinctValues = l ?? !1, s !== void 0) {
|
|
3165
|
+
const h = Ba(m);
|
|
3131
3166
|
f.outStatistics = s.filter(
|
|
3132
|
-
(F) => F.statisticType !==
|
|
3133
|
-
).map((F) =>
|
|
3167
|
+
(F) => F.statisticType !== L.EnvelopeAggregate || h
|
|
3168
|
+
).map((F) => Or.fromJSON(F));
|
|
3134
3169
|
}
|
|
3135
|
-
const
|
|
3136
|
-
|
|
3137
|
-
let
|
|
3138
|
-
return c && (
|
|
3170
|
+
const b = lt(n);
|
|
3171
|
+
b !== void 0 && (f.geometry = b, r?.spatialRelationship && (f.spatialRelationship = r.spatialRelationship), Kt(m) && (o !== void 0 && (f.distance = o), u !== void 0 && (f.units = u)));
|
|
3172
|
+
let S;
|
|
3173
|
+
return c && (S = new Ct({
|
|
3139
3174
|
start: c?.[0],
|
|
3140
3175
|
end: c?.[1]
|
|
3141
|
-
})),
|
|
3176
|
+
})), S !== void 0 ? f.timeExtent = S : g.timeExtent !== void 0 && (f.timeExtent = g.timeExtent), er(f) && (f.cacheHint = !0), f;
|
|
3142
3177
|
}
|
|
3143
|
-
function
|
|
3178
|
+
function Ma(e) {
|
|
3144
3179
|
let t;
|
|
3145
3180
|
switch (e) {
|
|
3146
3181
|
case ve.Start:
|
|
@@ -3152,21 +3187,21 @@ function Na(e) {
|
|
|
3152
3187
|
}
|
|
3153
3188
|
return t;
|
|
3154
3189
|
}
|
|
3155
|
-
async function
|
|
3156
|
-
const { queryObject: t, queryConfig: r, temporalBinning: i, dateField: a, splitByField: s } = e, n = O(t),
|
|
3190
|
+
async function Ra(e) {
|
|
3191
|
+
const { queryObject: t, queryConfig: r, temporalBinning: i, dateField: a, splitByField: s } = e, n = O(t), u = (await Ie(t)).find((M) => M.name === a)?.type, c = Ge({
|
|
3157
3192
|
queryObject: t,
|
|
3158
3193
|
queryConfig: r,
|
|
3159
3194
|
queryType: "AttributeBinsQuery"
|
|
3160
|
-
}), { type:
|
|
3161
|
-
if (c.lowerBoundaryAlias = T.lowerBoundaryAlias, c.upperBoundaryAlias = T.upperBoundaryAlias,
|
|
3195
|
+
}), { type: l, unit: f, size: m, trimIncompleteTimeInterval: g, timeAggregationType: y } = i, { start: b, end: S, offset: h, outTimeZone: F } = l === xt.CalendarBased ? i : {}, T = Ea(a);
|
|
3196
|
+
if (c.lowerBoundaryAlias = T.lowerBoundaryAlias, c.upperBoundaryAlias = T.upperBoundaryAlias, u !== N.DateOnly && (c.outTimeZone = F ?? Intl.DateTimeFormat().resolvedOptions().timeZone), c.binParameters = {
|
|
3162
3197
|
type: "date",
|
|
3163
3198
|
field: a,
|
|
3164
3199
|
interval: { unit: f, value: m },
|
|
3165
|
-
start:
|
|
3166
|
-
end:
|
|
3167
|
-
offset:
|
|
3168
|
-
}, c.binParameters.type === "date" && (n.capabilities?.queryAttributeBins?.supportsSnapToData && (c.binParameters.snapToData =
|
|
3169
|
-
const P =
|
|
3200
|
+
start: b,
|
|
3201
|
+
end: S,
|
|
3202
|
+
offset: h ? { unit: h.unit, value: h.size } : null
|
|
3203
|
+
}, c.binParameters.type === "date" && (n.capabilities?.queryAttributeBins?.supportsSnapToData && (c.binParameters.snapToData = Ma(y)), n.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin && (c.binParameters.returnFullIntervalBin = g === !1)), !H(s)) {
|
|
3204
|
+
const P = k(n).fields.find((R) => R.name === s)?.type;
|
|
3170
3205
|
(!P || P === "string" || P === "integer" || P === "small-integer" || P === "big-integer" || P === "double") && (c.binParameters.stackBy = {
|
|
3171
3206
|
type: "field",
|
|
3172
3207
|
value: s,
|
|
@@ -3175,43 +3210,98 @@ async function ka(e) {
|
|
|
3175
3210
|
}
|
|
3176
3211
|
return c;
|
|
3177
3212
|
}
|
|
3178
|
-
function
|
|
3179
|
-
const {
|
|
3213
|
+
function bt(e) {
|
|
3214
|
+
const { temporalBinning: t, xOrY: r, xOrYFieldType: i } = e, { type: a, unit: s } = t ?? {};
|
|
3215
|
+
let n, o, u, c;
|
|
3216
|
+
if (a === d.CalendarDateParts && (i === N.Date || i === N.DateOnly || i === N.TimestampOffset)) {
|
|
3217
|
+
let l;
|
|
3218
|
+
switch (u = 1, c = 1, s) {
|
|
3219
|
+
case be.DayOfMonth:
|
|
3220
|
+
l = "DAY", c = 31;
|
|
3221
|
+
break;
|
|
3222
|
+
case be.DayOfWeek:
|
|
3223
|
+
l = "DOW", c = 7;
|
|
3224
|
+
break;
|
|
3225
|
+
case be.DayOfYear:
|
|
3226
|
+
l = "DOY", c = 366;
|
|
3227
|
+
break;
|
|
3228
|
+
case be.HourOfDay:
|
|
3229
|
+
i !== N.DateOnly && (l = "HOUR", c = 24);
|
|
3230
|
+
break;
|
|
3231
|
+
case be.MonthOfYear:
|
|
3232
|
+
l = "MONTH", c = 12;
|
|
3233
|
+
break;
|
|
3234
|
+
}
|
|
3235
|
+
l && (o = `EXTRACT (${l} FROM ${r})`);
|
|
3236
|
+
} else
|
|
3237
|
+
n = r;
|
|
3238
|
+
return { field: n, expression: o, start: u, end: c };
|
|
3239
|
+
}
|
|
3240
|
+
async function qa(e) {
|
|
3241
|
+
const { queryObject: t, queryConfig: r, x: i, y: a, xTemporalBinning: s, yTemporalBinning: n } = e, o = await Ie(t), u = o.find((h) => h.name === i)?.type, c = o.find((h) => h.name === a)?.type, l = Ge({
|
|
3180
3242
|
queryObject: t,
|
|
3181
3243
|
queryConfig: r,
|
|
3182
3244
|
queryType: "AttributeBinsQuery"
|
|
3183
|
-
})
|
|
3184
|
-
|
|
3245
|
+
});
|
|
3246
|
+
l.binParameters = {
|
|
3247
|
+
type: "fixed-interval",
|
|
3248
|
+
interval: 1
|
|
3249
|
+
};
|
|
3250
|
+
const f = bt({
|
|
3251
|
+
temporalBinning: s,
|
|
3252
|
+
xOrY: i,
|
|
3253
|
+
xOrYFieldType: u
|
|
3254
|
+
}), { field: m, expression: g, start: y, end: b } = f;
|
|
3255
|
+
m ? l.binParameters.field = m : g && (l.binParameters.expression = g, l.binParameters.expressionValueType = "integer", l.binParameters.type === "fixed-interval" && (y !== void 0 && (l.binParameters.start = y), b !== void 0 && (l.binParameters.end = b)));
|
|
3256
|
+
const S = bt({
|
|
3257
|
+
temporalBinning: n,
|
|
3258
|
+
xOrY: a,
|
|
3259
|
+
xOrYFieldType: c
|
|
3260
|
+
});
|
|
3261
|
+
return S.field ? l.binParameters.stackBy = { type: "field", value: S.field } : S.expression && (l.binParameters.stackBy = {
|
|
3262
|
+
type: "expression",
|
|
3263
|
+
value: S.expression,
|
|
3264
|
+
valueType: "integer",
|
|
3265
|
+
alias: a
|
|
3266
|
+
}), l;
|
|
3267
|
+
}
|
|
3268
|
+
function Va(e) {
|
|
3269
|
+
const { queryObject: t, queryConfig: r, xStep: i, xMin: a, xMax: s, x: n, y: o, yStep: u } = e, c = Ge({
|
|
3270
|
+
queryObject: t,
|
|
3271
|
+
queryConfig: r,
|
|
3272
|
+
queryType: "AttributeBinsQuery"
|
|
3273
|
+
}), l = Pa(n, o);
|
|
3274
|
+
return c.lowerBoundaryAlias = l.lowerBoundaryAlias, c.upperBoundaryAlias = l.upperBoundaryAlias, c.binParameters = {
|
|
3185
3275
|
type: "fixed-interval",
|
|
3186
3276
|
field: n,
|
|
3187
3277
|
interval: i,
|
|
3188
3278
|
start: a,
|
|
3189
3279
|
end: s,
|
|
3190
3280
|
stackBy: {
|
|
3191
|
-
value: `FLOOR(${o} / ${
|
|
3281
|
+
value: `FLOOR(${o} / ${u})`,
|
|
3192
3282
|
type: "expression",
|
|
3193
|
-
alias:
|
|
3283
|
+
alias: l.stackAlias,
|
|
3194
3284
|
valueType: "integer"
|
|
3195
3285
|
}
|
|
3196
3286
|
}, c;
|
|
3197
3287
|
}
|
|
3198
|
-
function
|
|
3199
|
-
const { queryObject: t, queryConfig: r, maxRecordCountFactor: i } = e, { groupByFieldsForStatistics: a, orderByFields: s, gdbVersion: n, start: o, num:
|
|
3200
|
-
|
|
3201
|
-
const f = O(t), m =
|
|
3202
|
-
return
|
|
3288
|
+
function ir(e) {
|
|
3289
|
+
const { queryObject: t, queryConfig: r, maxRecordCountFactor: i } = e, { groupByFieldsForStatistics: a, orderByFields: s, gdbVersion: n, start: o, num: u, outFields: c } = r ?? {}, l = Ge({ queryObject: t, queryConfig: r, queryType: "Query" });
|
|
3290
|
+
l.returnGeometry = !1;
|
|
3291
|
+
const f = O(t), m = k(f);
|
|
3292
|
+
return l.outFields = rr(c), l.groupByFieldsForStatistics = a ?? l.groupByFieldsForStatistics, l.orderByFields = s ?? [], l.objectIds = r?.objectIds, i !== void 0 && (l.maxRecordCountFactor = i), n !== void 0 && n !== "" ? l.gdbVersion = n : m.gdbVersion !== void 0 && m.gdbVersion !== "" && (l.gdbVersion = m.gdbVersion), u !== void 0 && (l.num = u), o !== void 0 && (l.start = o, l.num = l.num ?? tr(f)), l;
|
|
3203
3293
|
}
|
|
3204
|
-
function
|
|
3205
|
-
return
|
|
3294
|
+
function _a(e) {
|
|
3295
|
+
return k(e)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 ? ue.maxRecordCountFactor : void 0;
|
|
3206
3296
|
}
|
|
3207
|
-
const
|
|
3208
|
-
sanitizeOutFields:
|
|
3297
|
+
const kn = {
|
|
3298
|
+
sanitizeOutFields: rr
|
|
3209
3299
|
};
|
|
3210
|
-
function
|
|
3300
|
+
function On(e) {
|
|
3211
3301
|
let t, r, i;
|
|
3212
|
-
return e !== void 0 && (t = e.type, (t ===
|
|
3302
|
+
return e !== void 0 && (t = e.type, (t === je.UniqueValue || t === je.ClassBreaks) && (r = e.field ?? void 0, t === je.ClassBreaks && (i = e.normalizationField ?? void 0))), { rendererType: t, rendererField: r, rendererNormalizationField: i };
|
|
3213
3303
|
}
|
|
3214
|
-
const
|
|
3304
|
+
const ar = Er(async (e) => {
|
|
3215
3305
|
const t = e.featureCollection;
|
|
3216
3306
|
let r, i;
|
|
3217
3307
|
if (t?.layers?.[0] !== void 0) {
|
|
@@ -3221,8 +3311,8 @@ const rr = Ir(async (e) => {
|
|
|
3221
3311
|
i = e.layerDefinition;
|
|
3222
3312
|
const a = {};
|
|
3223
3313
|
if (r !== void 0) {
|
|
3224
|
-
if (a.source =
|
|
3225
|
-
const n =
|
|
3314
|
+
if (a.source = Pr.fromJSON(r).features, i?.fields !== void 0 && (a.fields = i.fields.map((n) => Lr.fromJSON(n))), i?.objectIdField !== void 0 && (a.objectIdField = i.objectIdField), i?.geometryType !== void 0) {
|
|
3315
|
+
const n = Tt.fromJSON({
|
|
3226
3316
|
geometryType: i.geometryType
|
|
3227
3317
|
});
|
|
3228
3318
|
n?.type !== void 0 && n?.type !== "extent" && (a.geometryType = n.type);
|
|
@@ -3232,26 +3322,26 @@ const rr = Ir(async (e) => {
|
|
|
3232
3322
|
a.id = e.id, i?.id !== void 0 && (a.layerId = i.id), e.url !== void 0 && (a.url = e.url), e.itemId !== void 0 && i?.id !== void 0 && (a.portalItem = { id: e.itemId });
|
|
3233
3323
|
if (i !== void 0) {
|
|
3234
3324
|
const n = i.drawingInfo;
|
|
3235
|
-
n?.renderer !== void 0 && (a.renderer =
|
|
3325
|
+
n?.renderer !== void 0 && (a.renderer = Br.fromJSON(n.renderer));
|
|
3236
3326
|
}
|
|
3237
|
-
const s = new
|
|
3327
|
+
const s = new Ir(a);
|
|
3238
3328
|
return await s.load(), s;
|
|
3239
3329
|
});
|
|
3240
|
-
async function
|
|
3330
|
+
async function Mn(e) {
|
|
3241
3331
|
const { layer: t, view: r, chartConfig: i } = e;
|
|
3242
3332
|
let a;
|
|
3243
3333
|
if (t !== void 0) {
|
|
3244
|
-
const s = O(t), n =
|
|
3334
|
+
const s = O(t), n = k(s);
|
|
3245
3335
|
if (r !== void 0 && !n.isTable) {
|
|
3246
3336
|
n.outFields = ["*"];
|
|
3247
|
-
const o = (c) => "highlight" in c,
|
|
3248
|
-
o(
|
|
3337
|
+
const o = (c) => "highlight" in c, u = await r.whenLayerView(n);
|
|
3338
|
+
o(u) && (a = u);
|
|
3249
3339
|
} else
|
|
3250
3340
|
a = t;
|
|
3251
|
-
} else "iLayer" in i && i.iLayer && (a = await
|
|
3341
|
+
} else "iLayer" in i && i.iLayer && (a = await ar(i.iLayer));
|
|
3252
3342
|
return a;
|
|
3253
3343
|
}
|
|
3254
|
-
async function
|
|
3344
|
+
async function Ie(e, t) {
|
|
3255
3345
|
const r = O(e);
|
|
3256
3346
|
let i = [];
|
|
3257
3347
|
if (r !== void 0) {
|
|
@@ -3261,7 +3351,7 @@ async function Qe(e, t) {
|
|
|
3261
3351
|
const n = s.toJSON();
|
|
3262
3352
|
if (a) {
|
|
3263
3353
|
const o = r.popupTemplate?.fieldInfos?.find(
|
|
3264
|
-
(
|
|
3354
|
+
(u) => u.fieldName?.toLowerCase() === s.name.toLowerCase()
|
|
3265
3355
|
)?.label;
|
|
3266
3356
|
o !== void 0 && o !== s.name && (n.alias = o);
|
|
3267
3357
|
}
|
|
@@ -3270,62 +3360,62 @@ async function Qe(e, t) {
|
|
|
3270
3360
|
}
|
|
3271
3361
|
return i;
|
|
3272
3362
|
}
|
|
3273
|
-
function
|
|
3363
|
+
function ut(e, t = []) {
|
|
3274
3364
|
return t.find((r) => r.name === e);
|
|
3275
3365
|
}
|
|
3276
|
-
function
|
|
3277
|
-
return e.find((r) => r.type ===
|
|
3366
|
+
function Rn(e) {
|
|
3367
|
+
return e.find((r) => r.type === N.OID)?.name ?? "";
|
|
3278
3368
|
}
|
|
3279
|
-
function
|
|
3369
|
+
function sr(e) {
|
|
3280
3370
|
return [
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3371
|
+
N.Single,
|
|
3372
|
+
N.Double,
|
|
3373
|
+
N.SmallInteger,
|
|
3374
|
+
N.Integer,
|
|
3375
|
+
N.BigInteger
|
|
3286
3376
|
].includes(e.type);
|
|
3287
3377
|
}
|
|
3288
|
-
function
|
|
3289
|
-
return e.type ===
|
|
3378
|
+
function qn(e) {
|
|
3379
|
+
return e.type === N.Date;
|
|
3290
3380
|
}
|
|
3291
|
-
function
|
|
3381
|
+
function Vn(e) {
|
|
3292
3382
|
return [
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3383
|
+
N.SmallInteger,
|
|
3384
|
+
N.Integer,
|
|
3385
|
+
N.BigInteger
|
|
3296
3386
|
].includes(e.type);
|
|
3297
3387
|
}
|
|
3298
|
-
function
|
|
3388
|
+
function _n(e) {
|
|
3299
3389
|
return e.filter(
|
|
3300
|
-
(t) => t.type ===
|
|
3390
|
+
(t) => t.type === N.Date || t.type === N.DateOnly || t.type === N.TimestampOffset
|
|
3301
3391
|
).map((t) => t.name);
|
|
3302
3392
|
}
|
|
3303
|
-
function
|
|
3304
|
-
return e.filter((t) =>
|
|
3393
|
+
function $n(e) {
|
|
3394
|
+
return e.filter((t) => sr(t)).map((t) => t.name);
|
|
3305
3395
|
}
|
|
3306
|
-
function
|
|
3396
|
+
function nr(e) {
|
|
3307
3397
|
const { subtypeInfo: t, fieldName: r, fieldValueToMatch: i } = e;
|
|
3308
3398
|
let a;
|
|
3309
3399
|
const s = (n) => `${n.id}` == `${i}`;
|
|
3310
3400
|
return t?.subtypeField === r && t.subtypes ? a = t.subtypes.find(s)?.name : t?.typeIdField === r && t.types && (a = t.types.find(s)?.name), a;
|
|
3311
3401
|
}
|
|
3312
|
-
function
|
|
3313
|
-
const r = [], i =
|
|
3402
|
+
function et(e, t) {
|
|
3403
|
+
const r = [], i = Ta(e) ? e.subtypes : e[t];
|
|
3314
3404
|
return i?.[0] !== void 0 && i.forEach((a) => {
|
|
3315
3405
|
const { name: s, domains: n } = a;
|
|
3316
3406
|
let o = "id" in a ? a.id : void 0;
|
|
3317
3407
|
!o && "code" in a && (o = a.code);
|
|
3318
|
-
const
|
|
3408
|
+
const u = Object.entries(n ?? {}), c = [], f = u?.filter(([m, g]) => g?.type === "coded-value")?.map(([m, g]) => {
|
|
3319
3409
|
let y = { fieldName: m, name: s, codedValues: c };
|
|
3320
3410
|
if (g && "codedValues" in g) {
|
|
3321
|
-
const
|
|
3322
|
-
name:
|
|
3323
|
-
code:
|
|
3411
|
+
const b = g.codedValues.map(({ code: S, name: h }) => ({
|
|
3412
|
+
name: h,
|
|
3413
|
+
code: S
|
|
3324
3414
|
}));
|
|
3325
3415
|
y = {
|
|
3326
3416
|
fieldName: m,
|
|
3327
3417
|
name: g.name,
|
|
3328
|
-
codedValues:
|
|
3418
|
+
codedValues: b
|
|
3329
3419
|
};
|
|
3330
3420
|
}
|
|
3331
3421
|
return y;
|
|
@@ -3333,19 +3423,19 @@ function Ke(e, t) {
|
|
|
3333
3423
|
r.push({ id: o ?? "", name: s, domains: f });
|
|
3334
3424
|
}), r.length === 0 ? void 0 : r;
|
|
3335
3425
|
}
|
|
3336
|
-
function
|
|
3426
|
+
function Un(e) {
|
|
3337
3427
|
let t;
|
|
3338
3428
|
if (e !== void 0) {
|
|
3339
3429
|
const r = O(e);
|
|
3340
|
-
if (!
|
|
3341
|
-
const i =
|
|
3430
|
+
if (!ot(r) && !H(r?.typeIdField)) {
|
|
3431
|
+
const i = et(r, "types");
|
|
3342
3432
|
i !== void 0 && (t = {
|
|
3343
3433
|
typeIdField: r.typeIdField ?? void 0,
|
|
3344
3434
|
types: i
|
|
3345
3435
|
});
|
|
3346
3436
|
}
|
|
3347
3437
|
if (!H(r?.subtypeField)) {
|
|
3348
|
-
const i =
|
|
3438
|
+
const i = k(r), a = et(i, "subtypes");
|
|
3349
3439
|
a !== void 0 && (t = {
|
|
3350
3440
|
...t,
|
|
3351
3441
|
subtypeField: i.subtypeField ?? void 0,
|
|
@@ -3355,21 +3445,21 @@ function Rn(e) {
|
|
|
3355
3445
|
}
|
|
3356
3446
|
return t;
|
|
3357
3447
|
}
|
|
3358
|
-
function
|
|
3448
|
+
function zn(e) {
|
|
3359
3449
|
const { fieldName: t, fieldValueToMatch: r, subtypeInfo: i, fieldList: a } = e;
|
|
3360
3450
|
let s;
|
|
3361
|
-
if ((typeof r != "string" || !H(r)) && !H(t) && (s =
|
|
3451
|
+
if ((typeof r != "string" || !H(r)) && !H(t) && (s = nr({
|
|
3362
3452
|
subtypeInfo: i,
|
|
3363
3453
|
fieldName: t,
|
|
3364
3454
|
fieldValueToMatch: r
|
|
3365
3455
|
}), s === void 0)) {
|
|
3366
|
-
const n =
|
|
3456
|
+
const n = ut(t, a);
|
|
3367
3457
|
if (i?.types !== void 0) {
|
|
3368
3458
|
const o = i?.types;
|
|
3369
|
-
for (const
|
|
3370
|
-
const c =
|
|
3371
|
-
for (const
|
|
3372
|
-
if (s =
|
|
3459
|
+
for (const u of o) {
|
|
3460
|
+
const c = u.domains?.filter((l) => l.fieldName === n?.name) ?? [];
|
|
3461
|
+
for (const l of c)
|
|
3462
|
+
if (s = l?.codedValues?.find((f) => `${f.code}` === r)?.name, s !== void 0)
|
|
3373
3463
|
break;
|
|
3374
3464
|
if (s !== void 0)
|
|
3375
3465
|
break;
|
|
@@ -3381,28 +3471,28 @@ function qn(e) {
|
|
|
3381
3471
|
}
|
|
3382
3472
|
return s;
|
|
3383
3473
|
}
|
|
3384
|
-
async function
|
|
3474
|
+
async function Qn(e) {
|
|
3385
3475
|
let t = [];
|
|
3386
|
-
return !
|
|
3476
|
+
return !k(e).isTable && e.fieldsIndex && (t = await wr.getRendererFields(e.renderer, e.fieldsIndex)), t;
|
|
3387
3477
|
}
|
|
3388
|
-
function
|
|
3478
|
+
function or(e) {
|
|
3389
3479
|
const t = "/rest/services";
|
|
3390
3480
|
let r = e.toLowerCase();
|
|
3391
3481
|
const i = r.indexOf(t);
|
|
3392
3482
|
return r = i > -1 ? e.substring(0, i) : e, `${r}/rest/info`;
|
|
3393
3483
|
}
|
|
3394
|
-
async function
|
|
3484
|
+
async function Wn(e) {
|
|
3395
3485
|
let t = !0;
|
|
3396
3486
|
const r = ".arcgis.com/", i = e.url, a = i?.includes(r);
|
|
3397
|
-
if (i && a &&
|
|
3398
|
-
const s =
|
|
3487
|
+
if (i && a && k(e).sourceJSON.serviceItemId !== void 0) {
|
|
3488
|
+
const s = or(i);
|
|
3399
3489
|
try {
|
|
3400
|
-
const n = (await
|
|
3490
|
+
const n = (await Xe(s, { query: { f: "json" } })).data;
|
|
3401
3491
|
if (n.owningTenant !== void 0 && n.owningSystemUrl !== void 0) {
|
|
3402
|
-
const o = `${n.owningSystemUrl}/sharing/rest/portals/${n.owningTenant}`,
|
|
3492
|
+
const o = `${n.owningSystemUrl}/sharing/rest/portals/${n.owningTenant}`, u = (await Xe(o, {
|
|
3403
3493
|
authMode: "auto",
|
|
3404
3494
|
query: { f: "json" }
|
|
3405
|
-
})).data, c = new
|
|
3495
|
+
})).data, c = new Dr({ sourceJSON: u });
|
|
3406
3496
|
await c.load(), t = c?.sourceJSON?.subscriptionInfo?.dataStoreLevel === void 0;
|
|
3407
3497
|
}
|
|
3408
3498
|
} catch {
|
|
@@ -3410,87 +3500,87 @@ async function _n(e) {
|
|
|
3410
3500
|
}
|
|
3411
3501
|
return t;
|
|
3412
3502
|
}
|
|
3413
|
-
async function
|
|
3414
|
-
const { queryObject: t, fieldToMatch: r, returnUndefinedIfNotFound: i } = e, a = await
|
|
3415
|
-
let s = a.find((
|
|
3416
|
-
s || (s = a.find((
|
|
3503
|
+
async function $a(e) {
|
|
3504
|
+
const { queryObject: t, fieldToMatch: r, returnUndefinedIfNotFound: i } = e, a = await Ie(t);
|
|
3505
|
+
let s = a.find((u) => r === u.name);
|
|
3506
|
+
s || (s = a.find((u) => r.toUpperCase() === u.name.toUpperCase()));
|
|
3417
3507
|
const n = i ? "" : r;
|
|
3418
3508
|
return s?.name ?? n;
|
|
3419
3509
|
}
|
|
3420
|
-
async function
|
|
3510
|
+
async function Ua(e) {
|
|
3421
3511
|
const { fieldsList: t, queryObject: r, returnUndefinedIfNotFound: i } = e;
|
|
3422
3512
|
let a = t;
|
|
3423
3513
|
return a !== void 0 && (a = await Promise.all(
|
|
3424
3514
|
a.map(
|
|
3425
|
-
async (s) => await
|
|
3515
|
+
async (s) => await $a({ queryObject: r, fieldToMatch: s, returnUndefinedIfNotFound: i })
|
|
3426
3516
|
)
|
|
3427
3517
|
)), a;
|
|
3428
3518
|
}
|
|
3429
|
-
function
|
|
3519
|
+
function Gn(e) {
|
|
3430
3520
|
const { queryObject: t, chartConfig: r, runtimeDataFilters: i, ignoreViewExtent: a } = e, { series: s, dataFilters: n } = r, {
|
|
3431
3521
|
where: o,
|
|
3432
|
-
gdbVersion:
|
|
3522
|
+
gdbVersion: u,
|
|
3433
3523
|
timeExtent: c,
|
|
3434
|
-
geometry:
|
|
3524
|
+
geometry: l,
|
|
3435
3525
|
distance: f,
|
|
3436
3526
|
units: m,
|
|
3437
3527
|
objectIds: g,
|
|
3438
3528
|
spatialRelationship: y
|
|
3439
3529
|
} = n ?? {}, {
|
|
3440
|
-
where:
|
|
3441
|
-
gdbVersion:
|
|
3442
|
-
timeExtent:
|
|
3530
|
+
where: b,
|
|
3531
|
+
gdbVersion: S,
|
|
3532
|
+
timeExtent: h,
|
|
3443
3533
|
geometry: F,
|
|
3444
3534
|
distance: T,
|
|
3445
|
-
units:
|
|
3535
|
+
units: M,
|
|
3446
3536
|
objectIds: P,
|
|
3447
|
-
spatialRelationship:
|
|
3448
|
-
} = i ?? {}, G = s[0], { query: _ } = G, { where:
|
|
3449
|
-
return
|
|
3537
|
+
spatialRelationship: R
|
|
3538
|
+
} = i ?? {}, G = s[0], { query: _ } = G, { where: se } = _ ?? {}, $ = J(s), B = { ..._ };
|
|
3539
|
+
return B.where = Te([o, b]), $ !== p.BarAndLineSplitBy && $ !== p.BoxPlotMonoFieldAndSplitBy && $ !== p.BoxPlotMonoFieldAndCategoryAndSplitBy && $ !== p.BoxPlotMultiFieldsAndSplitBy && $ !== p.BarAndLineSplitByNoAggregation && (B.where = Te([B.where, se])), r.orderOptions?.orderByFields !== void 0 && (B.orderByFields = r.orderOptions.orderByFields), B.gdbVersion = S ?? u, B.timeExtent = Na(t, h ?? c), B.geometry = ka({
|
|
3450
3540
|
queryObject: t,
|
|
3451
|
-
defaultGeometry: F ??
|
|
3541
|
+
defaultGeometry: F ?? l,
|
|
3452
3542
|
ignoreViewExtent: a
|
|
3453
|
-
}),
|
|
3543
|
+
}), B.distance = T ?? f, B.units = M ?? m, B.objectIds = P ?? g, B.spatialRelationship = R ?? y, _?.outStatistics?.[0]?.statisticType === L.Count && (B.returnDistinctValues = _?.returnDistinctValues ?? !1), B;
|
|
3454
3544
|
}
|
|
3455
|
-
async function
|
|
3545
|
+
async function jn(e) {
|
|
3456
3546
|
let t = [];
|
|
3457
|
-
return e !== void 0 && (t = await
|
|
3547
|
+
return e !== void 0 && (t = await Qa(e)), t;
|
|
3458
3548
|
}
|
|
3459
|
-
async function
|
|
3549
|
+
async function za(e, t) {
|
|
3460
3550
|
const r = [];
|
|
3461
3551
|
let i = [];
|
|
3462
3552
|
const a = e.series;
|
|
3463
3553
|
let s = t;
|
|
3464
|
-
if (e.iLayer && (s = await
|
|
3465
|
-
const n = a[0].x ?? "", o = a.map((m) => "y" in m ? m.y : "").flat(),
|
|
3554
|
+
if (e.iLayer && (s = await ar(e.iLayer)), s !== void 0) {
|
|
3555
|
+
const n = a[0].x ?? "", o = a.map((m) => "y" in m ? m.y : "").flat(), u = We(e.series[0].query?.where), c = sa(e), l = e?.series.map((m) => {
|
|
3466
3556
|
const g = m.query?.outStatistics?.map((y) => y.onStatisticField) ?? [];
|
|
3467
3557
|
return g?.length > 0 ? g : "";
|
|
3468
3558
|
}).flat();
|
|
3469
|
-
r.push(n), r.push(...o), r.push(
|
|
3470
|
-
const f = await
|
|
3559
|
+
r.push(n), r.push(...o), r.push(u), r.push(...c), r.push(...l);
|
|
3560
|
+
const f = await Ua({ fieldsList: r, queryObject: s, returnUndefinedIfNotFound: !0 });
|
|
3471
3561
|
f && (i = Array.from(new Set(f)).filter((m) => m !== ""));
|
|
3472
3562
|
}
|
|
3473
3563
|
return i;
|
|
3474
3564
|
}
|
|
3475
|
-
async function
|
|
3565
|
+
async function Qa(e) {
|
|
3476
3566
|
const t = e.charts ?? [];
|
|
3477
3567
|
let r = [];
|
|
3478
3568
|
if (t.length > 0) {
|
|
3479
3569
|
const i = t.map(
|
|
3480
|
-
async (a) => await
|
|
3570
|
+
async (a) => await za(a, e)
|
|
3481
3571
|
);
|
|
3482
3572
|
r = await Promise.all(i).then((a) => a.flat()), r = Array.from(new Set(r.filter((a) => a !== "")));
|
|
3483
3573
|
}
|
|
3484
3574
|
return r;
|
|
3485
3575
|
}
|
|
3486
|
-
const
|
|
3487
|
-
getServerRestInfo:
|
|
3488
|
-
getSubtypeName:
|
|
3489
|
-
getFeatureTypes:
|
|
3490
|
-
},
|
|
3576
|
+
const Hn = {
|
|
3577
|
+
getServerRestInfo: or,
|
|
3578
|
+
getSubtypeName: nr,
|
|
3579
|
+
getFeatureTypes: et
|
|
3580
|
+
}, lr = {
|
|
3491
3581
|
NonNumericAggregation: "nonNumericAggregation",
|
|
3492
3582
|
DuplicateSeriesID: "duplicateSeriesId"
|
|
3493
|
-
},
|
|
3583
|
+
}, K = {
|
|
3494
3584
|
Required: "required",
|
|
3495
3585
|
MinLength: "minLength",
|
|
3496
3586
|
MinItems: "minItems",
|
|
@@ -3499,7 +3589,7 @@ const zn = {
|
|
|
3499
3589
|
AdditionalProperties: "additionalProperties",
|
|
3500
3590
|
Enum: "enum",
|
|
3501
3591
|
AnyOf: "anyOf"
|
|
3502
|
-
},
|
|
3592
|
+
}, Yn = {
|
|
3503
3593
|
BadData: "badData",
|
|
3504
3594
|
EmptyDataSet: "emptyDataSet",
|
|
3505
3595
|
HistogramEmptyField: "histogramEmptyField",
|
|
@@ -3515,13 +3605,13 @@ const zn = {
|
|
|
3515
3605
|
NegativeValueInXAxisLogScale: "negativeValueInXAxisLogScale",
|
|
3516
3606
|
NegativeValueInYAxisLogScale: "negativeValueInYAxisLogScale"
|
|
3517
3607
|
};
|
|
3518
|
-
function
|
|
3608
|
+
function ur(e) {
|
|
3519
3609
|
const t = e.lastIndexOf("/");
|
|
3520
3610
|
return t !== -1 ? e.slice(t + 1) : e;
|
|
3521
3611
|
}
|
|
3522
|
-
async function
|
|
3523
|
-
const t = (await
|
|
3524
|
-
|
|
3612
|
+
async function cr(e) {
|
|
3613
|
+
const t = (await D(
|
|
3614
|
+
E(document.documentElement).t9nLocale,
|
|
3525
3615
|
I("./assets/common/t9n"),
|
|
3526
3616
|
"messages."
|
|
3527
3617
|
)).errorStrings;
|
|
@@ -3529,7 +3619,7 @@ async function lr(e) {
|
|
|
3529
3619
|
let i = r;
|
|
3530
3620
|
const a = r.dataPath.startsWith(".") ? r.dataPath.substring(1) : r.dataPath;
|
|
3531
3621
|
switch (r.keyword) {
|
|
3532
|
-
case
|
|
3622
|
+
case K.Required:
|
|
3533
3623
|
i = {
|
|
3534
3624
|
...r,
|
|
3535
3625
|
message: z(t.errors.requiredProperty, {
|
|
@@ -3538,7 +3628,7 @@ async function lr(e) {
|
|
|
3538
3628
|
})
|
|
3539
3629
|
};
|
|
3540
3630
|
break;
|
|
3541
|
-
case
|
|
3631
|
+
case K.MinLength:
|
|
3542
3632
|
i = {
|
|
3543
3633
|
...r,
|
|
3544
3634
|
message: z(t.errors.minLength, {
|
|
@@ -3547,7 +3637,7 @@ async function lr(e) {
|
|
|
3547
3637
|
})
|
|
3548
3638
|
};
|
|
3549
3639
|
break;
|
|
3550
|
-
case
|
|
3640
|
+
case K.MinItems:
|
|
3551
3641
|
i = {
|
|
3552
3642
|
...r,
|
|
3553
3643
|
message: z(t.errors.minItems, {
|
|
@@ -3556,7 +3646,7 @@ async function lr(e) {
|
|
|
3556
3646
|
})
|
|
3557
3647
|
};
|
|
3558
3648
|
break;
|
|
3559
|
-
case
|
|
3649
|
+
case K.MaxItems:
|
|
3560
3650
|
i = {
|
|
3561
3651
|
...r,
|
|
3562
3652
|
message: z(t.errors.maxItems, {
|
|
@@ -3565,14 +3655,14 @@ async function lr(e) {
|
|
|
3565
3655
|
})
|
|
3566
3656
|
};
|
|
3567
3657
|
break;
|
|
3568
|
-
case
|
|
3658
|
+
case K.Pattern:
|
|
3569
3659
|
r.params.pattern === "\\w+" && (i = {
|
|
3570
3660
|
...r,
|
|
3571
3661
|
message: z(t.errors.whiteSpacePattern, { dataPath: a }),
|
|
3572
3662
|
params: {}
|
|
3573
3663
|
});
|
|
3574
3664
|
break;
|
|
3575
|
-
case
|
|
3665
|
+
case K.AdditionalProperties:
|
|
3576
3666
|
i = {
|
|
3577
3667
|
...r,
|
|
3578
3668
|
message: z(t.errors.additionalProperty, {
|
|
@@ -3581,7 +3671,7 @@ async function lr(e) {
|
|
|
3581
3671
|
})
|
|
3582
3672
|
};
|
|
3583
3673
|
break;
|
|
3584
|
-
case
|
|
3674
|
+
case K.Enum:
|
|
3585
3675
|
i = {
|
|
3586
3676
|
...r,
|
|
3587
3677
|
message: z(t.errors.enumValues, {
|
|
@@ -3590,10 +3680,10 @@ async function lr(e) {
|
|
|
3590
3680
|
})
|
|
3591
3681
|
};
|
|
3592
3682
|
break;
|
|
3593
|
-
case
|
|
3683
|
+
case K.AnyOf: {
|
|
3594
3684
|
let s = [];
|
|
3595
|
-
r.schemaPath === "#/properties/legend/anyOf" && (s =
|
|
3596
|
-
(n) =>
|
|
3685
|
+
r.schemaPath === "#/properties/legend/anyOf" && (s = pe.definitions.WebChart.properties.legend.anyOf.map(
|
|
3686
|
+
(n) => ur(n.$ref)
|
|
3597
3687
|
)), i = {
|
|
3598
3688
|
...r,
|
|
3599
3689
|
params: s,
|
|
@@ -3605,74 +3695,74 @@ async function lr(e) {
|
|
|
3605
3695
|
return i;
|
|
3606
3696
|
});
|
|
3607
3697
|
}
|
|
3608
|
-
function
|
|
3698
|
+
function xe(e, t) {
|
|
3609
3699
|
return { ...e, $ref: `#/definitions/${t}` };
|
|
3610
3700
|
}
|
|
3611
|
-
async function
|
|
3701
|
+
async function dr(e) {
|
|
3612
3702
|
let t;
|
|
3613
|
-
const r = (await
|
|
3614
|
-
|
|
3703
|
+
const r = (await D(
|
|
3704
|
+
E(document.documentElement).t9nLocale,
|
|
3615
3705
|
I("./assets/common/t9n"),
|
|
3616
3706
|
"messages."
|
|
3617
3707
|
)).errorStrings, i = O(e);
|
|
3618
3708
|
try {
|
|
3619
3709
|
await i.load();
|
|
3620
3710
|
} catch {
|
|
3621
|
-
const s = i?.url ?? "", n =
|
|
3711
|
+
const s = i?.url ?? "", n = k(i)?.portalItem?.id ?? "";
|
|
3622
3712
|
t = {
|
|
3623
|
-
keyword:
|
|
3713
|
+
keyword: Y.LayerLoadFailure,
|
|
3624
3714
|
message: z(r.errors.layerLoadFailure, { url: s, portalItemId: n }),
|
|
3625
3715
|
params: { url: s, portalItemId: n }
|
|
3626
3716
|
};
|
|
3627
3717
|
}
|
|
3628
3718
|
return t;
|
|
3629
3719
|
}
|
|
3630
|
-
function
|
|
3631
|
-
const e = new
|
|
3720
|
+
function Wa() {
|
|
3721
|
+
const e = new Ar({ allErrors: !0 });
|
|
3632
3722
|
return async (t) => {
|
|
3633
3723
|
let r = [];
|
|
3634
3724
|
const i = U(t?.series);
|
|
3635
|
-
let a =
|
|
3725
|
+
let a = pe;
|
|
3636
3726
|
switch (i) {
|
|
3637
3727
|
case d.GaugeSeries:
|
|
3638
|
-
a =
|
|
3728
|
+
a = xe(pe, "WebGaugeChart");
|
|
3639
3729
|
break;
|
|
3640
3730
|
case d.BoxPlotSeries:
|
|
3641
|
-
a =
|
|
3731
|
+
a = xe(pe, "WebBoxPlot");
|
|
3642
3732
|
break;
|
|
3643
3733
|
case d.RadarSeries:
|
|
3644
|
-
a =
|
|
3734
|
+
a = xe(pe, "WebRadarChart");
|
|
3645
3735
|
break;
|
|
3646
3736
|
default:
|
|
3647
|
-
a =
|
|
3737
|
+
a = xe(pe, "WebChart");
|
|
3648
3738
|
break;
|
|
3649
3739
|
}
|
|
3650
3740
|
const s = e.compile(a);
|
|
3651
|
-
return s(t), s.errors !== null && s.errors !== void 0 && (r = await
|
|
3741
|
+
return s(t), s.errors !== null && s.errors !== void 0 && (r = await cr(s.errors)), r;
|
|
3652
3742
|
};
|
|
3653
3743
|
}
|
|
3654
|
-
const
|
|
3655
|
-
async function
|
|
3656
|
-
const { seriesConfigs: t, queryObject: r, allowUsingObjectIdStat: i } = e, a = [], s = await
|
|
3657
|
-
|
|
3744
|
+
const Ga = Wa();
|
|
3745
|
+
async function fr(e) {
|
|
3746
|
+
const { seriesConfigs: t, queryObject: r, allowUsingObjectIdStat: i } = e, a = [], s = await Ie(r), n = (await D(
|
|
3747
|
+
E(document.documentElement).t9nLocale,
|
|
3658
3748
|
I("./assets/common/t9n"),
|
|
3659
3749
|
"messages."
|
|
3660
3750
|
)).errorStrings;
|
|
3661
3751
|
for (let o = 0; o < t.length; o += 1) {
|
|
3662
|
-
const
|
|
3663
|
-
if (
|
|
3664
|
-
for (let c = 0; c <
|
|
3665
|
-
const
|
|
3666
|
-
if (f && !(f.type ===
|
|
3752
|
+
const u = t[o].query?.outStatistics;
|
|
3753
|
+
if (u !== void 0)
|
|
3754
|
+
for (let c = 0; c < u.length; c += 1) {
|
|
3755
|
+
const l = u[c], f = ut(l.onStatisticField, s);
|
|
3756
|
+
if (f && !(f.type === N.OID && i || sr(f)) && l.statisticType !== L.Count) {
|
|
3667
3757
|
const g = `series[${o}].query.outStatistics[${c}]`;
|
|
3668
3758
|
a.push({
|
|
3669
|
-
keyword:
|
|
3759
|
+
keyword: lr.NonNumericAggregation,
|
|
3670
3760
|
message: z(n.errors.nonNumericAggregation, { dataPath: g }),
|
|
3671
3761
|
dataPath: g,
|
|
3672
3762
|
params: {
|
|
3673
|
-
fieldName:
|
|
3763
|
+
fieldName: l.onStatisticField,
|
|
3674
3764
|
fieldType: f.type,
|
|
3675
|
-
aggregationRequested:
|
|
3765
|
+
aggregationRequested: l.statisticType
|
|
3676
3766
|
}
|
|
3677
3767
|
});
|
|
3678
3768
|
}
|
|
@@ -3680,9 +3770,9 @@ async function cr(e) {
|
|
|
3680
3770
|
}
|
|
3681
3771
|
return a;
|
|
3682
3772
|
}
|
|
3683
|
-
async function
|
|
3684
|
-
const t = [], r = (await
|
|
3685
|
-
|
|
3773
|
+
async function mr(e) {
|
|
3774
|
+
const t = [], r = (await D(
|
|
3775
|
+
E(document.documentElement).t9nLocale,
|
|
3686
3776
|
I("./assets/common/t9n"),
|
|
3687
3777
|
"messages."
|
|
3688
3778
|
)).errorStrings;
|
|
@@ -3693,7 +3783,7 @@ async function dr(e) {
|
|
|
3693
3783
|
if (i.add(s.id), i.size === a) {
|
|
3694
3784
|
const o = `series[${n}].id`;
|
|
3695
3785
|
t.push({
|
|
3696
|
-
keyword:
|
|
3786
|
+
keyword: lr.DuplicateSeriesID,
|
|
3697
3787
|
message: z(r.errors.duplicateSeriesID, {
|
|
3698
3788
|
dataPath: o,
|
|
3699
3789
|
seriesID: s.id,
|
|
@@ -3708,98 +3798,98 @@ async function dr(e) {
|
|
|
3708
3798
|
}
|
|
3709
3799
|
return t;
|
|
3710
3800
|
}
|
|
3711
|
-
function
|
|
3712
|
-
const t = /* @__PURE__ */ new Set(), r =
|
|
3801
|
+
function ja(e) {
|
|
3802
|
+
const t = /* @__PURE__ */ new Set(), r = da(e);
|
|
3713
3803
|
if (r) {
|
|
3714
3804
|
const i = U(e.series), a = J(e.series);
|
|
3715
|
-
i === d.GaugeSeries && !
|
|
3716
|
-
const o = i === d.ScatterSeries || i === d.BoxPlotSeries || a === p.BarAndLineNoAggregation || a === p.BarAndLineSplitByNoAggregation || a === p.PieNoAggregation,
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
hr,
|
|
3720
|
-
xt,
|
|
3805
|
+
i === d.GaugeSeries && !pa(e) || a === p.PieFromFields || a === p.BarAndLineFromFields || a === p.BoxPlotMonoField || a === p.BoxPlotMultiFields || a === p.BoxPlotMonoFieldAndSplitBy || a === p.BoxPlotMultiFieldsAndSplitBy || t.add(r.x);
|
|
3806
|
+
const o = i === d.ScatterSeries || i === d.BoxPlotSeries || a === p.BarAndLineNoAggregation || a === p.BarAndLineSplitByNoAggregation || a === p.PieNoAggregation, u = [
|
|
3807
|
+
it,
|
|
3808
|
+
rt,
|
|
3721
3809
|
vr,
|
|
3722
|
-
|
|
3810
|
+
At,
|
|
3811
|
+
Fr,
|
|
3812
|
+
ue.outStatistics.outStatisticFieldName ?? ""
|
|
3723
3813
|
];
|
|
3724
3814
|
let c = [];
|
|
3725
|
-
if (i === d.BoxPlotSeries ? c =
|
|
3815
|
+
if (i === d.BoxPlotSeries ? c = ba({
|
|
3726
3816
|
showMean: e.showMean,
|
|
3727
3817
|
seriesConfig: e.series
|
|
3728
|
-
}) : c = e.series.map((
|
|
3729
|
-
const { query: f } =
|
|
3730
|
-
f && (
|
|
3818
|
+
}) : c = e.series.map((l) => "y" in l ? l.y : void 0).filter((l) => l !== void 0).flat(), o ? c.forEach((l) => t.add(l)) : u.push(...c), e.series.forEach((l) => {
|
|
3819
|
+
const { query: f } = l;
|
|
3820
|
+
f && (ye(f.where) || t.add(We(f.where)), f.groupByFieldsForStatistics && f.groupByFieldsForStatistics.forEach((m) => t.add(m)), f.outStatistics && f.outStatistics.forEach((m) => t.add(m.onStatisticField)));
|
|
3731
3821
|
}), i === d.GaugeSeries && e.axes?.[0] !== void 0) {
|
|
3732
|
-
const
|
|
3733
|
-
|
|
3822
|
+
const l = e.axes?.[0];
|
|
3823
|
+
l && "minimumFromField" in l && typeof l.minimumFromField == "string" && t.add(l.minimumFromField), l && "maximumFromField" in l && typeof l.maximumFromField == "string" && t.add(l.maximumFromField);
|
|
3734
3824
|
}
|
|
3735
|
-
|
|
3736
|
-
t.delete(
|
|
3825
|
+
u.forEach((l) => {
|
|
3826
|
+
t.delete(l);
|
|
3737
3827
|
});
|
|
3738
3828
|
}
|
|
3739
3829
|
return Array.from(t.values()).filter((i) => !H(i));
|
|
3740
3830
|
}
|
|
3741
|
-
async function
|
|
3831
|
+
async function Ha(e, t) {
|
|
3742
3832
|
let r;
|
|
3743
|
-
const i = (await
|
|
3744
|
-
|
|
3833
|
+
const i = (await D(
|
|
3834
|
+
E(document.documentElement).t9nLocale,
|
|
3745
3835
|
I("./assets/common/t9n"),
|
|
3746
3836
|
"messages."
|
|
3747
|
-
)).errorStrings, a = await
|
|
3837
|
+
)).errorStrings, a = await Ie(t), n = ja(e).filter((o) => !ut(o, a));
|
|
3748
3838
|
if (n.length > 0) {
|
|
3749
3839
|
const o = n.join(", ");
|
|
3750
3840
|
r = {
|
|
3751
|
-
keyword:
|
|
3841
|
+
keyword: Y.LayerFieldsNotFound,
|
|
3752
3842
|
message: z(i.errors.layerFieldsNotFound, { fieldNames: o }),
|
|
3753
3843
|
params: o
|
|
3754
3844
|
};
|
|
3755
3845
|
}
|
|
3756
3846
|
return r;
|
|
3757
3847
|
}
|
|
3758
|
-
async function
|
|
3848
|
+
async function gr(e) {
|
|
3759
3849
|
const { input: t, queryObject: r, allowUsingObjectIdStat: i } = e;
|
|
3760
3850
|
let a = [];
|
|
3761
3851
|
if (r !== void 0) {
|
|
3762
|
-
const s = await
|
|
3852
|
+
const s = await fr({
|
|
3763
3853
|
seriesConfigs: t.series,
|
|
3764
3854
|
queryObject: r,
|
|
3765
3855
|
allowUsingObjectIdStat: i
|
|
3766
3856
|
});
|
|
3767
3857
|
a = a.concat(s);
|
|
3768
3858
|
}
|
|
3769
|
-
return a = a.concat(await
|
|
3859
|
+
return a = a.concat(await mr(t)), a;
|
|
3770
3860
|
}
|
|
3771
|
-
async function
|
|
3861
|
+
async function pr(e, t) {
|
|
3772
3862
|
let r = [];
|
|
3773
3863
|
if (e !== void 0) {
|
|
3774
|
-
const i = await
|
|
3864
|
+
const i = await dr(e);
|
|
3775
3865
|
if (i !== void 0)
|
|
3776
3866
|
r = r.concat(i);
|
|
3777
3867
|
else if (t !== void 0) {
|
|
3778
|
-
const a = await
|
|
3868
|
+
const a = await Ha(t, e);
|
|
3779
3869
|
a !== void 0 && (r = r.concat(a));
|
|
3780
3870
|
}
|
|
3781
3871
|
}
|
|
3782
3872
|
return r;
|
|
3783
3873
|
}
|
|
3784
|
-
const
|
|
3785
|
-
findCustomErrors:
|
|
3786
|
-
findWarnings:
|
|
3787
|
-
findNumericAggregationWarnings:
|
|
3788
|
-
findDuplicateSeriesIDWarnings:
|
|
3789
|
-
findLayerLoadError:
|
|
3790
|
-
createStartingSchema:
|
|
3791
|
-
extractSchemaNameFromRefPath:
|
|
3792
|
-
customizeValidationErrors:
|
|
3874
|
+
const Xn = {
|
|
3875
|
+
findCustomErrors: pr,
|
|
3876
|
+
findWarnings: gr,
|
|
3877
|
+
findNumericAggregationWarnings: fr,
|
|
3878
|
+
findDuplicateSeriesIDWarnings: mr,
|
|
3879
|
+
findLayerLoadError: dr,
|
|
3880
|
+
createStartingSchema: xe,
|
|
3881
|
+
extractSchemaNameFromRefPath: ur,
|
|
3882
|
+
customizeValidationErrors: cr
|
|
3793
3883
|
};
|
|
3794
|
-
async function
|
|
3884
|
+
async function Jn(e) {
|
|
3795
3885
|
const { input: t, queryObject: r, allowUsingObjectIdStat: i } = e;
|
|
3796
3886
|
let a;
|
|
3797
|
-
if (
|
|
3887
|
+
if (ca(t?.version).versionStatus === oe.Newer)
|
|
3798
3888
|
a = { valid: !0, schemaErrors: [], customErrors: [], warnings: [] };
|
|
3799
3889
|
else {
|
|
3800
|
-
const s = await
|
|
3890
|
+
const s = await Ga(t);
|
|
3801
3891
|
let n = [], o = [];
|
|
3802
|
-
t !== void 0 && s.length === 0 && (o = await
|
|
3892
|
+
t !== void 0 && s.length === 0 && (o = await pr(r, t), o.length === 0 && (n = await gr({ input: t, queryObject: r, allowUsingObjectIdStat: i }))), a = {
|
|
3803
3893
|
valid: s.length === 0 && n.length === 0 && o.length === 0,
|
|
3804
3894
|
schemaErrors: s,
|
|
3805
3895
|
customErrors: o,
|
|
@@ -3808,7 +3898,7 @@ async function Gn(e) {
|
|
|
3808
3898
|
}
|
|
3809
3899
|
return a;
|
|
3810
3900
|
}
|
|
3811
|
-
function
|
|
3901
|
+
function Kn(e) {
|
|
3812
3902
|
const t = U(e?.series);
|
|
3813
3903
|
let r = !1;
|
|
3814
3904
|
switch (t) {
|
|
@@ -3823,7 +3913,7 @@ function jn(e) {
|
|
|
3823
3913
|
}
|
|
3824
3914
|
case d.PieSeries: {
|
|
3825
3915
|
const i = e?.series;
|
|
3826
|
-
J(i) === p.PieFromFields ? r = (i?.[0]?.query?.outStatistics?.length ?? 0) === 0 : r = (i?.[0]?.x?.length ?? 0) === 0 || i?.[0]?.x ===
|
|
3916
|
+
J(i) === p.PieFromFields ? r = (i?.[0]?.query?.outStatistics?.length ?? 0) === 0 : r = (i?.[0]?.x?.length ?? 0) === 0 || i?.[0]?.x === rt;
|
|
3827
3917
|
break;
|
|
3828
3918
|
}
|
|
3829
3919
|
case d.BoxPlotSeries: {
|
|
@@ -3842,51 +3932,51 @@ function jn(e) {
|
|
|
3842
3932
|
}
|
|
3843
3933
|
return r;
|
|
3844
3934
|
}
|
|
3845
|
-
const
|
|
3935
|
+
const Zn = [
|
|
3846
3936
|
{
|
|
3847
|
-
unit:
|
|
3937
|
+
unit: q.Second,
|
|
3848
3938
|
threshold: 6e4,
|
|
3849
3939
|
unitMs: 1e3,
|
|
3850
3940
|
preferredIntervalSize: [1, 2, 3, 5, 6, 10, 12, 15, 20, 30, 60]
|
|
3851
3941
|
},
|
|
3852
3942
|
{
|
|
3853
|
-
unit:
|
|
3943
|
+
unit: q.Minute,
|
|
3854
3944
|
threshold: 36e5,
|
|
3855
3945
|
unitMs: 1e3 * 60,
|
|
3856
3946
|
preferredIntervalSize: [1, 2, 3, 5, 6, 10, 12, 15, 20, 30, 60]
|
|
3857
3947
|
},
|
|
3858
3948
|
{
|
|
3859
|
-
unit:
|
|
3949
|
+
unit: q.Hour,
|
|
3860
3950
|
threshold: 864e5,
|
|
3861
3951
|
unitMs: 1e3 * 60 * 60,
|
|
3862
3952
|
preferredIntervalSize: [1, 2, 3, 4, 6, 8, 12, 24]
|
|
3863
3953
|
},
|
|
3864
3954
|
{
|
|
3865
|
-
unit:
|
|
3955
|
+
unit: q.Day,
|
|
3866
3956
|
threshold: 6048e5,
|
|
3867
3957
|
unitMs: 1e3 * 60 * 60 * 24,
|
|
3868
3958
|
preferredIntervalSize: [1, 2, 3, 4, 5, 6, 7]
|
|
3869
3959
|
},
|
|
3870
3960
|
{
|
|
3871
|
-
unit:
|
|
3961
|
+
unit: q.Week,
|
|
3872
3962
|
threshold: 24192e5,
|
|
3873
3963
|
unitMs: 1e3 * 60 * 60 * 24 * 7,
|
|
3874
3964
|
preferredIntervalSize: [1, 2, 3, 4]
|
|
3875
3965
|
},
|
|
3876
3966
|
{
|
|
3877
|
-
unit:
|
|
3967
|
+
unit: q.Month,
|
|
3878
3968
|
threshold: 290304e5,
|
|
3879
3969
|
unitMs: 1e3 * 60 * 60 * 24 * 7 * 4,
|
|
3880
3970
|
preferredIntervalSize: [1, 2, 3, 4, 6, 12]
|
|
3881
3971
|
},
|
|
3882
3972
|
{
|
|
3883
|
-
unit:
|
|
3973
|
+
unit: q.Year,
|
|
3884
3974
|
threshold: Number.MAX_SAFE_INTEGER,
|
|
3885
3975
|
unitMs: 1e3 * 60 * 60 * 24 * 7 * 4 * 12,
|
|
3886
3976
|
preferredIntervalSize: [1, 2, 4, 5, 10, 25, 50, 100]
|
|
3887
3977
|
}
|
|
3888
|
-
],
|
|
3889
|
-
...
|
|
3978
|
+
], eo = "{ groupByFieldsForStatistics } WHEN { dateField }>='{ startDate }' AND { dateField }{ endDateOperand }'{ endDate }' THEN '{ y }|{ binIndex}'", to = [
|
|
3979
|
+
...Tr,
|
|
3890
3980
|
"ar-u-nu-latn",
|
|
3891
3981
|
"en-AU",
|
|
3892
3982
|
"en-GB",
|
|
@@ -3899,210 +3989,213 @@ const Hn = [
|
|
|
3899
3989
|
"it-IT"
|
|
3900
3990
|
];
|
|
3901
3991
|
export {
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3992
|
+
Pt as $,
|
|
3993
|
+
Ye as A,
|
|
3994
|
+
Ue as B,
|
|
3995
|
+
lr as C,
|
|
3996
|
+
Yn as D,
|
|
3997
|
+
ba as E,
|
|
3998
|
+
ha as F,
|
|
3999
|
+
bn as G,
|
|
4000
|
+
va as H,
|
|
4001
|
+
hn as I,
|
|
4002
|
+
C as J,
|
|
4003
|
+
Zn as K,
|
|
4004
|
+
eo as L,
|
|
4005
|
+
gs as M,
|
|
4006
|
+
Mr as N,
|
|
4007
|
+
ue as O,
|
|
4008
|
+
Rr as P,
|
|
4009
|
+
ps as Q,
|
|
3920
4010
|
W as R,
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
4011
|
+
qr as S,
|
|
4012
|
+
Lt as T,
|
|
4013
|
+
Vr as U,
|
|
4014
|
+
ys as V,
|
|
4015
|
+
Ss as W,
|
|
4016
|
+
bs as X,
|
|
4017
|
+
it as Y,
|
|
4018
|
+
_r as Z,
|
|
3929
4019
|
j as _,
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
4020
|
+
ca as a,
|
|
4021
|
+
Mn as a$,
|
|
4022
|
+
hs as a0,
|
|
4023
|
+
ze as a1,
|
|
3934
4024
|
A as a2,
|
|
3935
|
-
|
|
3936
|
-
|
|
4025
|
+
It as a3,
|
|
4026
|
+
v as a4,
|
|
3937
4027
|
Le as a5,
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
4028
|
+
Ur as a6,
|
|
4029
|
+
xs as a7,
|
|
4030
|
+
Je as a8,
|
|
4031
|
+
vs as a9,
|
|
4032
|
+
Is as aA,
|
|
4033
|
+
Ds as aB,
|
|
4034
|
+
Es as aC,
|
|
4035
|
+
Ns as aD,
|
|
4036
|
+
ks as aE,
|
|
4037
|
+
Os as aF,
|
|
4038
|
+
Ms as aG,
|
|
4039
|
+
ei as aH,
|
|
4040
|
+
ti as aI,
|
|
4041
|
+
ri as aJ,
|
|
4042
|
+
Rs as aK,
|
|
4043
|
+
ii as aL,
|
|
4044
|
+
qs as aM,
|
|
4045
|
+
Vs as aN,
|
|
4046
|
+
_s as aO,
|
|
4047
|
+
ai as aP,
|
|
4048
|
+
$s as aQ,
|
|
4049
|
+
Us as aR,
|
|
4050
|
+
si as aS,
|
|
4051
|
+
ni as aT,
|
|
4052
|
+
zs as aU,
|
|
4053
|
+
Qs as aV,
|
|
4054
|
+
Bt as aW,
|
|
4055
|
+
x as aX,
|
|
4056
|
+
te as aY,
|
|
4057
|
+
Y as aZ,
|
|
4058
|
+
On as a_,
|
|
4059
|
+
Fs as aa,
|
|
4060
|
+
Re as ab,
|
|
4061
|
+
ce as ac,
|
|
4062
|
+
De as ad,
|
|
4063
|
+
de as ae,
|
|
4064
|
+
ie as af,
|
|
4065
|
+
As as ag,
|
|
4066
|
+
zr as ah,
|
|
4067
|
+
Qr as ai,
|
|
4068
|
+
Wr as aj,
|
|
4069
|
+
Ts as ak,
|
|
4070
|
+
Gr as al,
|
|
4071
|
+
jr as am,
|
|
3982
4072
|
Se as an,
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4073
|
+
Hr as ao,
|
|
4074
|
+
Yr as ap,
|
|
4075
|
+
Xr as aq,
|
|
4076
|
+
Cs as ar,
|
|
4077
|
+
Jr as as,
|
|
4078
|
+
ws as at,
|
|
4079
|
+
Bs as au,
|
|
4080
|
+
Kr as av,
|
|
4081
|
+
Zr as aw,
|
|
4082
|
+
Ls as ax,
|
|
4083
|
+
Ps as ay,
|
|
4084
|
+
Fe as az,
|
|
4085
|
+
da as b,
|
|
4086
|
+
Hs as b$,
|
|
4087
|
+
Ie as b0,
|
|
4088
|
+
ut as b1,
|
|
4089
|
+
Rn as b2,
|
|
4090
|
+
sr as b3,
|
|
4091
|
+
qn as b4,
|
|
4092
|
+
Vn as b5,
|
|
4093
|
+
_n as b6,
|
|
4094
|
+
$n as b7,
|
|
4095
|
+
Un as b8,
|
|
4096
|
+
zn as b9,
|
|
4097
|
+
Oa as bA,
|
|
4098
|
+
lt as bB,
|
|
4099
|
+
Ra as bC,
|
|
4100
|
+
qa as bD,
|
|
4101
|
+
Va as bE,
|
|
4102
|
+
ir as bF,
|
|
4103
|
+
_a as bG,
|
|
4104
|
+
kn as bH,
|
|
4105
|
+
xn as bI,
|
|
4106
|
+
nt as bJ,
|
|
4107
|
+
Aa as bK,
|
|
4108
|
+
Ta as bL,
|
|
4109
|
+
ot as bM,
|
|
4110
|
+
vn as bN,
|
|
4111
|
+
k as bO,
|
|
4112
|
+
Kt as bP,
|
|
4113
|
+
Ca as bQ,
|
|
4114
|
+
wa as bR,
|
|
4115
|
+
Fn as bS,
|
|
4116
|
+
An as bT,
|
|
4117
|
+
Tn as bU,
|
|
4118
|
+
O as bV,
|
|
4119
|
+
Ba as bW,
|
|
4120
|
+
Cn as bX,
|
|
4121
|
+
to as bY,
|
|
4122
|
+
Gs as bZ,
|
|
4123
|
+
js as b_,
|
|
4124
|
+
Qn as ba,
|
|
4125
|
+
Wn as bb,
|
|
4126
|
+
$a as bc,
|
|
4127
|
+
Ua as bd,
|
|
4128
|
+
Gn as be,
|
|
4129
|
+
jn as bf,
|
|
4130
|
+
za as bg,
|
|
4131
|
+
Qa as bh,
|
|
4132
|
+
Hn as bi,
|
|
4133
|
+
wn as bj,
|
|
4134
|
+
Pa as bk,
|
|
4135
|
+
Bn as bl,
|
|
4136
|
+
Ln as bm,
|
|
4137
|
+
Pn as bn,
|
|
4138
|
+
In as bo,
|
|
4139
|
+
Da as bp,
|
|
4140
|
+
Dn as bq,
|
|
4141
|
+
En as br,
|
|
4142
|
+
Ea as bs,
|
|
4143
|
+
Nn as bt,
|
|
4144
|
+
Ae as bu,
|
|
4145
|
+
er as bv,
|
|
4146
|
+
tr as bw,
|
|
4147
|
+
Te as bx,
|
|
4148
|
+
Na as by,
|
|
4149
|
+
ka as bz,
|
|
4150
|
+
ne as c,
|
|
4151
|
+
Zi as c0,
|
|
4152
|
+
ra as c1,
|
|
4153
|
+
Wt as c2,
|
|
4154
|
+
Ys as c3,
|
|
4065
4155
|
Xs as c4,
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4156
|
+
Js as c5,
|
|
4157
|
+
Ks as c6,
|
|
4158
|
+
Zs as c7,
|
|
4159
|
+
H as c8,
|
|
4160
|
+
ia as c9,
|
|
4161
|
+
en as ca,
|
|
4162
|
+
tn as cb,
|
|
4163
|
+
rn as cc,
|
|
4164
|
+
an as cd,
|
|
4165
|
+
sn as ce,
|
|
4166
|
+
nn as cf,
|
|
4167
|
+
on as cg,
|
|
4168
|
+
aa as ch,
|
|
4169
|
+
sa as ci,
|
|
4170
|
+
ln as cj,
|
|
4171
|
+
un as ck,
|
|
4172
|
+
cn as cl,
|
|
4173
|
+
dn as cm,
|
|
4174
|
+
fn as cn,
|
|
4175
|
+
p as co,
|
|
4176
|
+
Ws as cp,
|
|
4177
|
+
ft as cq,
|
|
4178
|
+
mn as d,
|
|
4179
|
+
We as e,
|
|
4180
|
+
na as f,
|
|
4181
|
+
ar as g,
|
|
4182
|
+
Pe as h,
|
|
4183
|
+
ye as i,
|
|
4184
|
+
fa as j,
|
|
4092
4185
|
J as k,
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4186
|
+
pn as l,
|
|
4187
|
+
ma as m,
|
|
4188
|
+
gn as n,
|
|
4189
|
+
yn as o,
|
|
4190
|
+
Xn as p,
|
|
4191
|
+
Kn as q,
|
|
4192
|
+
K as r,
|
|
4193
|
+
ga as s,
|
|
4194
|
+
pa as t,
|
|
4195
|
+
oa as u,
|
|
4196
|
+
Jn as v,
|
|
4197
|
+
la as w,
|
|
4198
|
+
Sn as x,
|
|
4199
|
+
ya as y,
|
|
4200
|
+
$e as z
|
|
4108
4201
|
};
|