@esri/solutions-components 1.2.0-next.59 → 1.2.0-next.60
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/{7GJZVYMJ.js → 22GH5WFX.js} +2 -2
- package/dist/cdn/{TQMR5HGV.js → 24IN4UPG.js} +2 -2
- package/dist/cdn/{LCLYBKCD.js → 25S4YYPR.js} +1 -1
- package/dist/cdn/{BBQXDOWW.js → 2CJ5ETBI.js} +2 -2
- package/dist/cdn/{IHBY23HX.js → 2EZ2T3HV.js} +2 -2
- package/dist/cdn/{CBZDTXQB.js → 2IAKNCRC.js} +2 -2
- package/dist/cdn/{DMBTOCEZ.js → 2KLTC6O5.js} +2 -2
- package/dist/cdn/{YJMOB55J.js → 2LQ6UZTT.js} +2 -2
- package/dist/cdn/{JDYZI422.js → 2QT4FWZI.js} +2 -2
- package/dist/cdn/{25B25ZXH.js → 2WAKVF6V.js} +2 -2
- package/dist/cdn/2ZAI2L2Z.js +4 -0
- package/dist/cdn/{RX3SI5Y3.js → 35CB3CIG.js} +2 -2
- package/dist/cdn/{VZNN27BA.js → 3C7EEW26.js} +2 -2
- package/dist/cdn/{6HYCSSIB.js → 3MXNBCEX.js} +2 -2
- package/dist/cdn/3Q7MPYBN.js +4 -0
- package/dist/cdn/{43PJPKFV.js → 3S7MAI7H.js} +2 -2
- package/dist/cdn/3TTOX4BB.js +4 -0
- package/dist/cdn/{DEQAS2SR.js → 3UZFYGDX.js} +2 -2
- package/dist/cdn/{CCWPI2S2.js → 3X5566EC.js} +2 -2
- package/dist/cdn/{X65LJF4A.js → 45S22WSU.js} +2 -2
- package/dist/cdn/{M3PFZFCV.js → 46UPVPEV.js} +1 -1
- package/dist/cdn/{E3VEVFOM.js → 4B2V45V5.js} +2 -2
- package/dist/cdn/{WNFSWEYG.js → 4B45SS3L.js} +2 -2
- package/dist/cdn/{EHKQB23N.js → 4KDH67ME.js} +1 -1
- package/dist/cdn/{37RKRUT7.js → 4KFYFEVG.js} +2 -2
- package/dist/cdn/{N4S2GKS4.js → 4MFPZMLB.js} +1 -1
- package/dist/cdn/{LVXMAQMH.js → 4N5CTUVM.js} +2 -2
- package/dist/cdn/{6HSZ4CIQ.js → 4VJV22PL.js} +2 -2
- package/dist/cdn/4VTDE7WM.js +4 -0
- package/dist/cdn/{6PUGDNEU.js → 4WNXJSEW.js} +2 -2
- package/dist/cdn/{D5F4NJD7.js → 4XUHKCM3.js} +2 -2
- package/dist/cdn/{JSLYUXDO.js → 4ZUI33B3.js} +2 -2
- package/dist/cdn/{OLGLXFX4.js → 542KFAVB.js} +2 -2
- package/dist/cdn/{DHQHELQN.js → 54ED5CXQ.js} +2 -2
- package/dist/cdn/{MALBTWOR.js → 55BTIKND.js} +2 -2
- package/dist/cdn/{ENLBWWOF.js → 5A33WQAT.js} +2 -2
- package/dist/cdn/{MD5I2SFA.js → 5BILAT4P.js} +2 -2
- package/dist/cdn/{M3YOYCLJ.js → 5CEVZOKP.js} +2 -2
- package/dist/cdn/{WBQWG3E2.js → 5CXNGEOT.js} +2 -2
- package/dist/cdn/{WP7SIAQC.js → 5KBG56UB.js} +2 -2
- package/dist/cdn/{KB4DWCEJ.js → 5MFTYGYS.js} +2 -2
- package/dist/cdn/{7NUTECWV.js → 5O4YCDNG.js} +2 -2
- package/dist/cdn/{6W24BQES.js → 5TEHU4A3.js} +2 -2
- package/dist/cdn/{JVUHIWEV.js → 5UHH33AX.js} +2 -2
- package/dist/cdn/{X7PMPPET.js → 64ZV5SC6.js} +2 -2
- package/dist/cdn/{YTZQHJWX.js → 65VZKYXC.js} +2 -2
- package/dist/cdn/{6BWLIZSJ.js → 66RDTM4T.js} +2 -2
- package/dist/cdn/{QMAH5HXL.js → 6AE27ENC.js} +2 -2
- package/dist/cdn/{WWB4B72X.js → 6AY42FOZ.js} +2 -2
- package/dist/cdn/{3RZEX2U3.js → 6BYDV3EW.js} +2 -2
- package/dist/cdn/{RZEEFQBW.js → 6CNOIOZQ.js} +2 -2
- package/dist/cdn/{BT7H2Z4P.js → 6FVZXZD6.js} +2 -2
- package/dist/cdn/{QVLTIXTS.js → 6GOVJOEP.js} +1 -1
- package/dist/cdn/{WFUQ3JOS.js → 6HTNO2RE.js} +2 -2
- package/dist/cdn/{7OQOH2NF.js → 6JWWLPWA.js} +2 -2
- package/dist/cdn/{LBABYSBX.js → 6KLBYZFM.js} +1 -1
- package/dist/cdn/{3DQJP7MM.js → 6N5NPFCF.js} +1 -1
- package/dist/cdn/{GVUNBPYT.js → 6YX67STC.js} +2 -2
- package/dist/cdn/{EBUWGWRS.js → 6ZX35J5Z.js} +2 -2
- package/dist/cdn/{NB6AUGD2.js → 77X5GFH7.js} +2 -2
- package/dist/cdn/{MZ7IE5RN.js → 7AEU6P43.js} +2 -2
- package/dist/cdn/{AHHXZV45.js → 7AH7N5XT.js} +2 -2
- package/dist/cdn/{3QUJWKYF.js → 7FQXWGOC.js} +2 -2
- package/dist/cdn/{JX2YC2NI.js → 7IB6W2XU.js} +2 -2
- package/dist/cdn/{P2IDE5OP.js → 7MHE37ND.js} +2 -2
- package/dist/cdn/{6JIQMVN5.js → 7UAODYVA.js} +2 -2
- package/dist/cdn/{VPYAKTHV.js → 7WO57UW7.js} +2 -2
- package/dist/cdn/7YYWVE2S.js +4 -0
- package/dist/cdn/{3B6DM4IK.js → 7ZR4MPQZ.js} +2 -2
- package/dist/cdn/{HGZ446BS.js → A3HBTAZT.js} +3 -3
- package/dist/cdn/{ZX3SVFKK.js → A6EVVFF5.js} +1 -1
- package/dist/cdn/{NFNNSMZV.js → AHRD7AGX.js} +2 -2
- package/dist/cdn/{6BZURHMF.js → AOTAJDNP.js} +2 -2
- package/dist/cdn/APHETGJW.js +4 -0
- package/dist/cdn/{XZBKRV2G.js → APPQU75R.js} +2 -2
- package/dist/cdn/{5PSL2TWL.js → AR6I4F7I.js} +2 -2
- package/dist/cdn/{EW7J3KH5.js → ARJYRYDO.js} +2 -2
- package/dist/cdn/{DDBK5RTK.js → AU6YGJUT.js} +2 -2
- package/dist/cdn/{BWMIWQM2.js → AURJV7BW.js} +2 -2
- package/dist/cdn/{G2RPRNB2.js → AXNUZSJ6.js} +2 -2
- package/dist/cdn/{DWBJS3UU.js → AXSGVQ6P.js} +2 -2
- package/dist/cdn/{QVEJGSWG.js → B72I6V6F.js} +2 -2
- package/dist/cdn/{7XZWHACO.js → BGAY3YMT.js} +2 -2
- package/dist/cdn/{DDFYGY3P.js → BJ7ITM4Z.js} +2 -2
- package/dist/cdn/{XRJP6JXR.js → BMUBVYWB.js} +2 -2
- package/dist/cdn/{PIIVS5YM.js → BTLCSZS6.js} +2 -2
- package/dist/cdn/{VLM7BVOC.js → BURTSBUG.js} +2 -2
- package/dist/cdn/{ETO5FRK3.js → BXPMHWOX.js} +2 -2
- package/dist/cdn/{FPGWP5VL.js → C2RIOHYE.js} +2 -2
- package/dist/cdn/{7WUMZFTS.js → C32KHGLO.js} +2 -2
- package/dist/cdn/{MNRZLJQR.js → C4C7KF52.js} +1 -1
- package/dist/cdn/{KDR33FHO.js → C5IIHI76.js} +2 -2
- package/dist/cdn/{DGGDUOI2.js → CBEROJ4E.js} +2 -2
- package/dist/cdn/{T23F3H3W.js → CFTL75CW.js} +2 -2
- package/dist/cdn/CGZFXEML.js +4 -0
- package/dist/cdn/{SHIKGCFR.js → CJZPJFAS.js} +2 -2
- package/dist/cdn/{XSRKYX35.js → CKNI5JQZ.js} +2 -2
- package/dist/cdn/{LEL5VZQY.js → CLGO7JPJ.js} +2 -2
- package/dist/cdn/{7MDJN2BV.js → CNDUM26C.js} +2 -2
- package/dist/cdn/{KJW6C53V.js → CNEHMBZW.js} +1 -1
- package/dist/cdn/{4FRJW5HL.js → CQ3N5OAF.js} +2 -2
- package/dist/cdn/{Q45TPXYT.js → CTCPMABN.js} +2 -2
- package/dist/cdn/{2EYNMSVI.js → CTLSDIIG.js} +2 -2
- package/dist/cdn/{3G3R2OZV.js → CTMUKS54.js} +2 -2
- package/dist/cdn/{VWS2JKA6.js → CZ7OZ7WB.js} +2 -2
- package/dist/cdn/{Y3C3OCUK.js → D4HJALUO.js} +2 -2
- package/dist/cdn/{5MAZ5ZVP.js → D7E2HKRL.js} +2 -2
- package/dist/cdn/{TAVLKZOW.js → DAU34542.js} +2 -2
- package/dist/cdn/{CX5FTZXB.js → DCZYU4L6.js} +2 -2
- package/dist/cdn/{DQFLJUCX.js → DHDV37FH.js} +2 -2
- package/dist/cdn/{TTG53ZSH.js → DHWSNW5P.js} +2 -2
- package/dist/cdn/{QWS5G4EH.js → DHZ5UA72.js} +1 -1
- package/dist/cdn/{5UMVW5IU.js → DSMKW3R5.js} +2 -2
- package/dist/cdn/{VPB2MNMR.js → DVPHVSDL.js} +2 -2
- package/dist/cdn/{VLJ2FMNG.js → E5D2NJVY.js} +2 -2
- package/dist/cdn/{KN5E4MQG.js → E6VAH377.js} +2 -2
- package/dist/cdn/{3LTVBZW2.js → E6ZJGJIL.js} +2 -2
- package/dist/cdn/{X4QRLB57.js → EDH5P6Q7.js} +2 -2
- package/dist/cdn/{E4EVKH7R.js → EGAV5W7I.js} +2 -2
- package/dist/cdn/{LL2N6WE4.js → EJK6FW2Z.js} +1 -1
- package/dist/cdn/{LJGIMINH.js → ENLS3ON7.js} +2 -2
- package/dist/cdn/{7ZCQHB4L.js → ERDVBBRX.js} +2 -2
- package/dist/cdn/{6CN3ZYLP.js → ERJ7WRMG.js} +2 -2
- package/dist/cdn/{RGGCXN32.js → EUGPRFL4.js} +2 -2
- package/dist/cdn/{VLXWVYFE.js → F2O4WKM6.js} +1 -1
- package/dist/cdn/F2RRVGZ2.js +4 -0
- package/dist/cdn/{VVHFDNIP.js → FC4NR45A.js} +2 -2
- package/dist/cdn/{MAHNU7KE.js → FNJ2SV5I.js} +2 -2
- package/dist/cdn/{J2YB64DJ.js → FOKCZWOQ.js} +2 -2
- package/dist/cdn/{BJWSTVLX.js → FRISKWYY.js} +2 -2
- package/dist/cdn/FS4FOH3D.js +4 -0
- package/dist/cdn/{IHBXCUXC.js → FSB6TM6Q.js} +2 -2
- package/dist/cdn/{L7SW75RR.js → FT22BE2Q.js} +2 -2
- package/dist/cdn/{JFXRBPOD.js → FTRTGXW7.js} +2 -2
- package/dist/cdn/{3KHQWDAE.js → FYBSJAMQ.js} +2 -2
- package/dist/cdn/{NUMSNTTV.js → G6LTOZJF.js} +2 -2
- package/dist/cdn/{F5LPHHYL.js → G72TLXN2.js} +2 -2
- package/dist/cdn/{DT7AW2GV.js → GDA44E5L.js} +2 -2
- package/dist/cdn/{4QGAJAMT.js → GDCPRSCH.js} +2 -2
- package/dist/cdn/GGIS4CC6.js +4 -0
- package/dist/cdn/{3Y3FMA7U.js → GK66FWMX.js} +2 -2
- package/dist/cdn/{I2F5BV6P.js → GONKLRTB.js} +2 -2
- package/dist/cdn/{SY3P6EMA.js → GORSVRD2.js} +2 -2
- package/dist/cdn/{UCYWBULG.js → GRW5JAFG.js} +2 -2
- package/dist/cdn/{44FUEGZZ.js → GUFWLMXD.js} +2 -2
- package/dist/cdn/{POIFA2UD.js → GXHJQQCL.js} +2 -2
- package/dist/cdn/{4WQLUSGK.js → H4MLUVTV.js} +2 -2
- package/dist/cdn/{VET7HBDC.js → H6QRA25K.js} +2 -2
- package/dist/cdn/HDKINGQW.js +4 -0
- package/dist/cdn/{GMCYP5CG.js → HEW7XMPJ.js} +2 -2
- package/dist/cdn/{A54TR2SR.js → HFOH5YAJ.js} +2 -2
- package/dist/cdn/{ISORN3KD.js → HIWCPXI4.js} +2 -2
- package/dist/cdn/HM4AHTQA.js +4 -0
- package/dist/cdn/{HCZYN74N.js → HMCZQXAN.js} +2 -2
- package/dist/cdn/{6ZK3CKFF.js → HOZY6EI4.js} +2 -2
- package/dist/cdn/{WLOHWAHJ.js → HWMTN5ZA.js} +2 -2
- package/dist/cdn/{AQYE5ZHB.js → HYKFAUBN.js} +2 -2
- package/dist/cdn/{EEEBLVFP.js → I2GKR2VA.js} +2 -2
- package/dist/cdn/{B5T26PJP.js → I2ZUPDGL.js} +2 -2
- package/dist/cdn/{32JOQV7W.js → I5XRY7QD.js} +2 -2
- package/dist/cdn/{XEUQIIFT.js → IIWGQLYN.js} +2 -2
- package/dist/cdn/{U32CZ5HV.js → IJ245FDS.js} +2 -2
- package/dist/cdn/{TKRHJCFT.js → IKCE3HR4.js} +2 -2
- package/dist/cdn/{HXNPMV7T.js → ILEKKEKK.js} +2 -2
- package/dist/cdn/{ODE7EDZN.js → J6VXDYLB.js} +1 -1
- package/dist/cdn/{OWYGZ3CC.js → JBY2LVLC.js} +2 -2
- package/dist/cdn/{UXFKDTYZ.js → JCODPNFL.js} +2 -2
- package/dist/cdn/{LSE4ZVG6.js → JHF5JR4C.js} +2 -2
- package/dist/cdn/{BAV2DQ4A.js → JISBULOQ.js} +2 -2
- package/dist/cdn/{YXQL3IPN.js → JJ7ZGFCV.js} +2 -2
- package/dist/cdn/{CCW5VHE2.js → JJKBP6VP.js} +2 -2
- package/dist/cdn/{KWUHBUOY.js → JNZZAE7R.js} +2 -2
- package/dist/cdn/{XA5T3ZWL.js → JOMW3W6X.js} +2 -2
- package/dist/cdn/{ZOJSFAMZ.js → JP6UDOIU.js} +2 -2
- package/dist/cdn/{PVDWBCF2.js → JPLACREE.js} +2 -2
- package/dist/cdn/{BMUSQVXD.js → JQKYSOGE.js} +1 -1
- package/dist/cdn/{FEFR3FRY.js → JQQORYBM.js} +2 -2
- package/dist/cdn/{CENVPG32.js → JQW2KPJK.js} +2 -2
- package/dist/cdn/{DWJYRIXW.js → JTMPBZCY.js} +2 -2
- package/dist/cdn/{JGDHGRVO.js → JUN72POY.js} +2 -2
- package/dist/cdn/{ITXB3UY7.js → JXNGGIST.js} +2 -2
- package/dist/cdn/{NMKEXRKI.js → K5GHIYOF.js} +2 -2
- package/dist/cdn/{OMFGYAGB.js → K6F7LOXC.js} +2 -2
- package/dist/cdn/{SB345CLE.js → K6NKAZBD.js} +1 -1
- package/dist/cdn/{PTEYVE2O.js → K7YP5PDD.js} +2 -2
- package/dist/cdn/{JLEQROY3.js → KAJZSBBY.js} +2 -2
- package/dist/cdn/{5BN6LD6R.js → KQJ5NCH6.js} +2 -2
- package/dist/cdn/{B7626KRT.js → KS2TXTJB.js} +1 -1
- package/dist/cdn/KST6M5H6.js +4 -0
- package/dist/cdn/{NCJTFCTZ.js → KU7YFFLU.js} +2 -2
- package/dist/cdn/{VUW4NIX5.js → KXCASIUR.js} +1 -1
- package/dist/cdn/{TVQMISGG.js → L5QIQ6XB.js} +2 -2
- package/dist/cdn/{HTQJOJTI.js → L6CDXESS.js} +2 -2
- package/dist/cdn/{PRBIN2BU.js → LC53SJ67.js} +2 -2
- package/dist/cdn/{P4RBDOR6.js → LDWBOY5O.js} +2 -2
- package/dist/cdn/{DIHWASFL.js → LHRZ7IBA.js} +4 -4
- package/dist/cdn/{MBQP2ZCK.js → LUGOSNDF.js} +2 -2
- package/dist/cdn/{A4XV4N4U.js → M3KP4ULO.js} +2 -2
- package/dist/cdn/{QDEJN7KB.js → M4JSPVOB.js} +2 -2
- package/dist/cdn/{W4H632T7.js → M7RJNNBQ.js} +2 -2
- package/dist/cdn/{KQDF42LD.js → MC5TSFO6.js} +2 -2
- package/dist/cdn/{7S55QL7L.js → MGTGTJF2.js} +2 -2
- package/dist/cdn/{SNHSCHSU.js → MJOCAQYG.js} +2 -2
- package/dist/cdn/{MVLXVTLA.js → N2EZQGSH.js} +2 -2
- package/dist/cdn/{4O4WAAXE.js → N2ZLUG26.js} +2 -2
- package/dist/cdn/{DNTG6VCZ.js → N3W52TLJ.js} +2 -2
- package/dist/cdn/{7DBUXIIV.js → N3WXY7EJ.js} +2 -2
- package/dist/cdn/{KPC2ODJP.js → N5V5PPBQ.js} +2 -2
- package/dist/cdn/{RK67BRJG.js → N6VW2C5V.js} +2 -2
- package/dist/cdn/{XLJX5VYK.js → NCOWGV7K.js} +2 -2
- package/dist/cdn/{NGSG7I2S.js → NF7C27BU.js} +2 -2
- package/dist/cdn/{GWZQ77OI.js → NIX6S7F4.js} +2 -2
- package/dist/cdn/{AC2VIC6A.js → NJDA4LPT.js} +2 -2
- package/dist/cdn/{YNMKRCJI.js → NJN5EPQ4.js} +2 -2
- package/dist/cdn/{XARJKYUN.js → NK5C67VR.js} +1 -1
- package/dist/cdn/{HFNJDY5O.js → NKNXRQAV.js} +2 -2
- package/dist/cdn/{CCQPRWZI.js → NLVAFEJX.js} +2 -2
- package/dist/cdn/{KKPHEGTZ.js → NMTVBRAS.js} +2 -2
- package/dist/cdn/{5RP4YGCC.js → NOGPPLBH.js} +2 -2
- package/dist/cdn/{GURFWBHZ.js → NRA2XWTH.js} +2 -2
- package/dist/cdn/{7F56MSPW.js → NRD46FCK.js} +2 -2
- package/dist/cdn/{LGRJQFUN.js → NRH5UT5G.js} +2 -2
- package/dist/cdn/{D5MWETEN.js → NTTL23B5.js} +2 -2
- package/dist/cdn/{GD64EVQX.js → NVQ6TXGS.js} +2 -2
- package/dist/cdn/{QCW7B6B5.js → NX6CRTAS.js} +2 -2
- package/dist/cdn/{ZKTW6VPN.js → NY4MAF55.js} +2 -2
- package/dist/cdn/{2LUJUNTI.js → O5PY3MEI.js} +2 -2
- package/dist/cdn/{LMA7VQL6.js → O7AV7GPK.js} +2 -2
- package/dist/cdn/{PHKWGZMN.js → OAIWU3G2.js} +2 -2
- package/dist/cdn/{CGAFT2XD.js → OB4IBA7J.js} +2 -2
- package/dist/cdn/{UEQ2M7OE.js → OBI4A4AA.js} +1 -1
- package/dist/cdn/{H2CANEYT.js → OSUCA7CY.js} +1 -1
- package/dist/cdn/{TLCC3WKK.js → OXWGYPXL.js} +2 -2
- package/dist/cdn/OY6SET3T.js +4 -0
- package/dist/cdn/{3KR4IDMY.js → P5F6E4BB.js} +2 -2
- package/dist/cdn/{3ROAGKJU.js → PKVTULHS.js} +2 -2
- package/dist/cdn/{6TGQHAFE.js → PLGFKWRR.js} +2 -2
- package/dist/cdn/{N367AMWJ.js → PTDYPOBH.js} +2 -2
- package/dist/cdn/{S3HX5IPM.js → PWZXYVX5.js} +1 -1
- package/dist/cdn/Q5VHOWDO.js +4 -0
- package/dist/cdn/{4E2QUIHI.js → QGEJHDKV.js} +2 -2
- package/dist/cdn/{I2BJW5OQ.js → QMT2B3M5.js} +2 -2
- package/dist/cdn/{KYIHDSUV.js → QU5W75PN.js} +2 -2
- package/dist/cdn/{WFIHKSYE.js → QVQG7XLV.js} +2 -2
- package/dist/cdn/{TRX2L7PJ.js → QZHTC427.js} +2 -2
- package/dist/cdn/{DVUXVX3H.js → RF3JRSKX.js} +2 -2
- package/dist/cdn/{HX7NQUEU.js → RFUX4G37.js} +2 -2
- package/dist/cdn/{EPGHDNIB.js → RFWZ3BG4.js} +2 -2
- package/dist/cdn/{B57ADFKI.js → RJ4NCL2V.js} +2 -2
- package/dist/cdn/{3PVHACQL.js → RKIQ5DUF.js} +1 -1
- package/dist/cdn/{RMA2JBKB.js → RLCYPEXM.js} +1 -1
- package/dist/cdn/{NIKIN4B5.js → RODDEQZP.js} +2 -2
- package/dist/cdn/{JGMQLYZN.js → RPRDW34S.js} +2 -2
- package/dist/cdn/{V7HEDLHM.js → RVQYDMMJ.js} +1 -1
- package/dist/cdn/{X2OGYKSC.js → RYTV4M2W.js} +2 -2
- package/dist/cdn/{HPWCOH2B.js → S2GLQ7ZY.js} +1 -1
- package/dist/cdn/{SIE4ZKUQ.js → SADSRCE6.js} +2 -2
- package/dist/cdn/{ZYDSFGZT.js → SBSDLWOC.js} +2 -2
- package/dist/cdn/{5NUKQCRO.js → SHP3U3JY.js} +2 -2
- package/dist/cdn/{JAP3AOW3.js → T2GOSVXE.js} +1 -1
- package/dist/cdn/{6YPLG3FF.js → T2KFMS3E.js} +2 -2
- package/dist/cdn/{ISA5XXM5.js → T7D3VOZH.js} +1 -1
- package/dist/cdn/{5JSUD3U7.js → TBBACRUK.js} +1 -1
- package/dist/cdn/{SH7LPYYM.js → TBX5YM7Y.js} +2 -2
- package/dist/cdn/{SJU2YRAX.js → TEDF2YLW.js} +2 -2
- package/dist/cdn/{2XKGPSPT.js → TGDEP6QV.js} +2 -2
- package/dist/cdn/{S6V57F65.js → TIVFVKSV.js} +2 -2
- package/dist/cdn/{6SZEED4O.js → TMAKLZXE.js} +2 -2
- package/dist/cdn/{6DPMFNGR.js → TPC7NEBD.js} +2 -2
- package/dist/cdn/{4CULZZ7A.js → TUKEY4JX.js} +2 -2
- package/dist/cdn/{EFPPKG2I.js → TZLKWPKE.js} +1 -1
- package/dist/cdn/{VPAX4SKK.js → U5Y5C2T7.js} +2 -2
- package/dist/cdn/U74L7VJM.js +4 -0
- package/dist/cdn/{ZBLGJ35H.js → UCYKJ3G4.js} +2 -2
- package/dist/cdn/{HMFF7KAP.js → UK7HJV5Q.js} +2 -2
- package/dist/cdn/{W3GW7PX4.js → UM5VAPJJ.js} +2 -2
- package/dist/cdn/{RW4DP44R.js → UNXHL3PD.js} +2 -2
- package/dist/cdn/UTCZEP45.js +4 -0
- package/dist/cdn/{2BWXNIBU.js → UTJOHATU.js} +2 -2
- package/dist/cdn/UUIEPEEK.js +4 -0
- package/dist/cdn/{P372OUGB.js → UYBRDZJB.js} +1 -1
- package/dist/cdn/{EGPTG5G2.js → V5T2QK5Z.js} +3 -3
- package/dist/cdn/{A2SSHOEE.js → V6P7MNAU.js} +2 -2
- package/dist/cdn/{66HZ4CFW.js → VAAKEDW6.js} +2 -2
- package/dist/cdn/{QZUNCGIF.js → VBXJSOCP.js} +2 -2
- package/dist/cdn/{A5P6FRV7.js → VDIJAOXE.js} +2 -2
- package/dist/cdn/{BV67KGE3.js → VGEFJTQ7.js} +2 -2
- package/dist/cdn/{SYRGH4IP.js → VI6A3Y4V.js} +2 -2
- package/dist/cdn/{4OYU3VYB.js → VIHFAHTC.js} +2 -2
- package/dist/cdn/{IOQCMJDM.js → VJ2T3Q32.js} +2 -2
- package/dist/cdn/{T4M3T4RS.js → VJTZDKH6.js} +2 -2
- package/dist/cdn/{32UWEOGE.js → VKEAIQ7W.js} +2 -2
- package/dist/cdn/{WI2PK5PH.js → VLJVPFSV.js} +2 -2
- package/dist/cdn/{HIH6KSUX.js → VTTSGBR5.js} +1 -1
- package/dist/cdn/{LVWOAPCF.js → VXR2PQEH.js} +2 -2
- package/dist/cdn/{PVEHCRYW.js → VYKWK2BX.js} +2 -2
- package/dist/cdn/{XD7A67EU.js → W62W3LOA.js} +2 -2
- package/dist/cdn/{NJYV6KX6.js → W6LHCK7P.js} +2 -2
- package/dist/cdn/{CO2DP2DI.js → WCFSF7A6.js} +2 -2
- package/dist/cdn/{ZZ6ICIIG.js → WE6UE3KJ.js} +2 -2
- package/dist/cdn/{CD3AZHCX.js → WEOL6RSK.js} +2 -2
- package/dist/cdn/{W5OTI4GJ.js → WFIOSSYN.js} +2 -2
- package/dist/cdn/{A2FZ36I2.js → WFPKRTD3.js} +2 -2
- package/dist/cdn/WGEGKLDT.js +4 -0
- package/dist/cdn/WGRUBU2Y.js +4 -0
- package/dist/cdn/{4TMG2MRJ.js → WIX6R4XI.js} +2 -2
- package/dist/cdn/{YNL7TZVR.js → WQZZSYO5.js} +1 -1
- package/dist/cdn/{OIQRL57S.js → WUZDDPQU.js} +2 -2
- package/dist/cdn/{LLGXL2FM.js → WX2RTJ3T.js} +1 -1
- package/dist/cdn/{OV44LC7H.js → WYHW2ASX.js} +2 -2
- package/dist/cdn/{K6WR5EDK.js → X6UQRYBW.js} +2 -2
- package/dist/cdn/{XX6OFWI6.js → XO3YBGIL.js} +2 -2
- package/dist/cdn/{FZJLIT7Z.js → XZQZZC3C.js} +1 -1
- package/dist/cdn/{CJPCNBVG.js → YCKVHLNK.js} +2 -2
- package/dist/cdn/{H7HNI5VC.js → YHKV4IMA.js} +2 -2
- package/dist/cdn/{XITP2HVP.js → YIXNCAFO.js} +2 -2
- package/dist/cdn/{ZYAUUZNK.js → YKML7M7J.js} +2 -2
- package/dist/cdn/{ZR4Y7QSQ.js → YKSQ7TEX.js} +2 -2
- package/dist/cdn/{PZEMU6YN.js → YLWCZLWX.js} +2 -2
- package/dist/cdn/{4GZQCBLE.js → YPOFETNV.js} +2 -2
- package/dist/cdn/{AUESZVU4.js → YRJBKF6C.js} +2 -2
- package/dist/cdn/{6V4III7E.js → YUD3M45U.js} +2 -2
- package/dist/cdn/{GQBI4FHB.js → YVDXF4UB.js} +2 -2
- package/dist/cdn/YXKSGCHP.js +4 -0
- package/dist/cdn/{SPA4CCTH.js → ZCVLEFOZ.js} +2 -2
- package/dist/cdn/{NGJZW2XA.js → ZEOSRRT3.js} +2 -2
- package/dist/cdn/{3BQF3XCQ.js → ZGSIGKHE.js} +2 -2
- package/dist/cdn/{26CCKO42.js → ZIBWJVYK.js} +2 -2
- package/dist/cdn/{U62MSJKG.js → ZKK5CT2Y.js} +2 -2
- package/dist/cdn/{7LW2YQNW.js → ZLSRPXWT.js} +1 -1
- package/dist/cdn/{H2A4E2V5.js → ZMOPA7LL.js} +2 -2
- package/dist/cdn/{7IN6BWTZ.js → ZP32JPRG.js} +2 -2
- package/dist/cdn/{TRD4MHP2.js → ZQGM6XZT.js} +2 -2
- package/dist/cdn/{CUKHOOVQ.js → ZWBLEX27.js} +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +10 -10
- package/dist/chunks/Auth.js.map +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +2 -2
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +2 -2
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solutions-deploy-app-nav.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-basemap-gallery/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-floor-filter/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +2 -2
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +2 -2
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/373TXH6X.js +0 -4
- package/dist/cdn/4BC5PUYF.js +0 -4
- package/dist/cdn/4KV6D3RM.js +0 -4
- package/dist/cdn/5UC4CYX3.js +0 -4
- package/dist/cdn/7HIBIE5S.js +0 -4
- package/dist/cdn/7IWH6D5M.js +0 -4
- package/dist/cdn/B4KVKAMX.js +0 -4
- package/dist/cdn/CPIYJUUR.js +0 -4
- package/dist/cdn/FFVKKDWT.js +0 -4
- package/dist/cdn/GC4R6XRD.js +0 -4
- package/dist/cdn/HCZ5DMOB.js +0 -4
- package/dist/cdn/KEHSAGKX.js +0 -4
- package/dist/cdn/MUBMA2CZ.js +0 -4
- package/dist/cdn/PYQKMCG2.js +0 -4
- package/dist/cdn/SBRT4GZR.js +0 -4
- package/dist/cdn/SVGTK3UD.js +0 -4
- package/dist/cdn/VMEMQMFU.js +0 -4
- package/dist/cdn/WUW4CFR7.js +0 -4
- package/dist/cdn/X5DNRQC4.js +0 -4
- package/dist/cdn/XC3YLDVR.js +0 -4
- package/dist/cdn/ZTETANBH.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import"./OBI4A4AA.js";var e="\uD06C\uB808\uB527\uC774 \uBD80\uC871\uD558\uC5EC \uD574\uB2F9 \uC791\uC5C5\uC744 \uC218\uD589\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. ArcGIS \uC2DC\uC2A4\uD15C \uAD00\uB9AC\uC790\uC5D0\uAC8C \uC9C0\uC6D0\uC744 \uBB38\uC758\uD558\uC138\uC694.",a="\uC774 \uB3C4\uAD6C\uB294 Notebook\uC5D0\uC11C \uBC1C\uD589\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uD574\uB2F9 \uAE30\uAD00\uC5D0 \uB300\uD574 ArcGIS Notebooks \uC811\uADFC\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uC124\uC815\uC744 \uC870\uC815\uD558\uB824\uBA74 \uAD00\uB9AC\uC790\uC5D0\uAC8C \uBB38\uC758\uD558\uC138\uC694.",r="${ dataPath }\uC5D0\uB294 ${ additionalProperty }\uC774(\uAC00) \uC5C6\uC5B4\uC57C \uD569\uB2C8\uB2E4.",t="${ dataPath }\uC740(\uB294) ${ schemaOptions } \uC911 \uD558\uB098\uC758 \uC2A4\uD0A4\uB9C8\uC640 \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4.",o="\uB9F5\uC744 \uB2E4\uC2DC \uC800\uC7A5\uD574 \uBCF4\uC138\uC694.",s="\uD06C\uB808\uB527 \uC608\uCE21\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uC544\uB798\uB85C \uC2A4\uD06C\uB864\uD558\uC5EC \uC624\uB958\uB97C \uC218\uC815\uD558\uACE0 \uD06C\uB808\uB527\uC744 \uB2E4\uC2DC \uC608\uCE21\uD558\uC138\uC694.",i="\uBD84\uC11D\uC744 \uC2E4\uD589\uD558\uB294 \uB3D9\uC548 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4.",l="${ dataPath }\uC740(\uB294) \uD5C8\uC6A9\uB41C \uAC12(${ allowedValues }) \uC911 \uD558\uB098\uC640 \uAC19\uC544\uC57C \uD569\uB2C8\uB2E4.",d="\uBD84\uC11D \uD788\uC2A4\uD1A0\uB9AC\uB97C \uC800\uC7A5\uD558\uC9C0 \uBABB\uD568",n="\uD788\uC2A4\uD1A0\uB9AC \uC800\uC7A5\uC18C\uAC00 \uAC00\uB4DD \uCC3C\uC2B5\uB2C8\uB2E4. \uBD84\uC11D \uD788\uC2A4\uD1A0\uB9AC\uC5D0\uC11C \uC77C\uBD80 \uD56D\uBAA9\uC744 \uC81C\uAC70\uD558\uACE0 \uB2E4\uC2DC \uC800\uC7A5\uD574 \uBCF4\uC138\uC694.",c="\uC11C\uBE44\uC2A4 \uC774\uB984\uC5D0 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uBB38\uC790\uAC00 \uD558\uB098 \uC774\uC0C1 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",m="\uC784\uC2DC \uB808\uC774\uC5B4\uB97C \uD638\uC2A4\uD305 \uD53C\uCC98 \uB808\uC774\uC5B4\uB85C \uC800\uC7A5\uD558\uB294 \uC791\uC5C5\uC774 \uC644\uB8CC\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.",u="\uD0A4 \uB4F1\uB85D\uC815\uBCF4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",E="\uB808\uC774\uC5B4\uB97C \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",h="\uB808\uC774\uC5B4\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",y="${ dataPath }\uC5D0\uB294 ${ limit }\uAC1C \uC774\uD558\uC758 \uD56D\uBAA9\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4.",P="\uBAA8\uB378\uC744 \uC800\uC7A5\uD558\uB294 \uB3D9\uC548 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC800\uC7A5\uD574 \uBCF4\uC138\uC694.",p="${ dataPath }\uC5D0\uB294 ${ limit }\uAC1C \uC774\uC0C1\uC758 \uD56D\uBAA9\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4.",S="${ dataPath }\uC740(\uB294) ${ limit }\uC790\uBCF4\uB2E4 \uC9E7\uC73C\uBA74 \uC548 \uB429\uB2C8\uB2E4.",$="\uBAA8\uB378 \uD56D\uBAA9\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uBAA8\uB378\uC774 \uC874\uC7AC\uD558\uACE0 \uC811\uADFC \uAD8C\uD55C\uC774 \uBD80\uC5EC\uB418\uC5C8\uB294\uC9C0 \uD655\uC778\uD558\uC138\uC694.",v="\uC694\uCCAD\uC744 \uC644\uB8CC\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",f="\uC774 \uB3C4\uAD6C\uB97C \uC2E4\uD589\uD560 \uAD8C\uD55C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. <calcite-link target='_blank' href='${ docLink }'>\uC790\uC138\uD55C \uC815\uBCF4</calcite-link>",k="\uD3EC\uD138\uC5D0 \uB85C\uADF8\uC778\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",F="\uC785\uB825 \uB370\uC774\uD130\uB97C \uC77D\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",I="${ dataPath }\uC5D0 ${ missingProperty } \uB4F1\uB85D\uC815\uBCF4\uAC00 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",T="\uC774 \uACB0\uACFC \uB808\uC774\uC5B4 \uC774\uB984\uC774 \uC774\uBBF8 \uC874\uC7AC\uD569\uB2C8\uB2E4. \uACB0\uACFC \uB808\uC774\uC5B4 \uC774\uB984\uC740 \uAE30\uAD00 \uC804\uCCB4\uC5D0\uC11C \uACE0\uC720\uD574\uC57C \uD569\uB2C8\uB2E4. \uB2E4\uB978 \uC774\uB984\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.",b="\uACB0\uACFC \uC774\uB984\uC5D0 \uD558\uB098 \uC774\uC0C1\uC758 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uBB38\uC790\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. <a href='${docLink}' target='_blank'>\uC790\uC138\uD788 \uC54C\uC544\uBCF4\uC138\uC694.</a>",L="\uD558\uB098 \uC774\uC0C1\uC758 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uD544\uB4DC\uB85C \uC778\uD574 \uC784\uC2DC \uB808\uC774\uC5B4\uB97C \uD638\uC2A4\uD305 \uB808\uC774\uC5B4\uB85C \uBC1C\uD589\uD558\uB294 \uC791\uC5C5\uC774 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uB3C4\uAD6C\uB97C \uB2E4\uC2DC \uC2E4\uD589\uD558\uC5EC \uC720\uD6A8\uD55C \uD544\uB4DC\uAC00 \uC788\uB294 \uB808\uC774\uC5B4\uB97C \uC0DD\uC131\uD558\uC138\uC694.",N="\uC791\uC5C5\uC744 \uC81C\uCD9C\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uC544\uB798\uB85C \uC2A4\uD06C\uB864\uD558\uC5EC \uC624\uB958\uB97C \uC218\uC815\uD558\uACE0 \uBD84\uC11D\uC744 \uB2E4\uC2DC \uC2E4\uD589\uD558\uC138\uC694.",g="${ dataPath }\uC740(\uB294) \uACF5\uBC31 \uC774\uC678\uC758 \uBB38\uC790\uB97C 1\uAC1C \uC774\uC0C1 \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import c from"./G6LTOZJF.js";import b from"./2KLTC6O5.js";import a from"./H4MLUVTV.js";import{J as T,mb as B,nb as u,q as N}from"./FNJ2SV5I.js";import{g as U}from"./WX2RTJ3T.js";export default $arcgis.t(([{o:J,p:M},{e:k,f:y,g:K,k:F,l:w},{a:A,b:h,c:_,e:C}])=>{var j=class{constructor(r,t,s){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=r,this.orgUrl=t,this.portalUrl=s,this.anonAgolSession=new U({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(r){this.cardCache.push(r)}getCache(){return this.cardCache}removeFromCache(r){this.cardCache=this.cardCache.filter(t=>t.id!==r)}requestAvailableSolutionCards(r,t,s,e,a,o){let l=a?.start?a.start:1,d=a?.num?a.num:24,f=this.portalUrl+"/sharing/rest",p=this.agolPortalUrl+"/sharing/rest",g=this.anonAgolSession,v=JSON.stringify(r.categories);if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==v||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:v,sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=C(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let i;if(o&&o.size>0){let n=A(this.cardCache,o);i=h(n,l,d)}else i=h(this.cardCache,l,d);return Promise.resolve(i)}let R={filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,categories:r?.categories?this.convertSearchCategories(r.categories):""},P=[];if(t){let i=e||new U({});P.push(u(t,r.q,i,R,f))}return s&&P.push(u(s,r.q,g,R,p)),Promise.allSettled(P).then(i=>{let n=[];i.forEach((m,x)=>{let D=!!t&&x===0;if(m.status==="fulfilled"){let E=m.value,S="",I=!1;D?S=this.portalUrl:(S=this.agolPortalUrl,I=!0),E.results.forEach(b=>{b.sourcePortalUrl=S,b.knownToBePublicSource=I}),n.push(E)}else if(m.status==="rejected")throw new Error(D?m.reason.message:"enterpriseCannotAccessAGO")}),n.length===0?this.cardCache=[]:n.length===1?this.cardCache=this.getCardsFromResponse(n[0]):this.cardCache=C(this.getCardsFromResponse(this.mergeResponses(n)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let O;if(o&&o.size>0){let m=A(this.cardCache,o);O=h(m,l,d)}else O=h(this.cardCache,l,d);return Promise.resolve(O)}).catch(i=>Promise.reject(new Error(i.message)))}requestDeployedSolutionCards(r,t){let s=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(r.q)||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:"[]",sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=C(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let a=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let e={q:r.q,filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,authentication:t,portal:s,categories:r?.categories?JSON.stringify(r.categories):""};return B(e).then(a=>{this.cardCache=this.getCardsFromResponse(a);let o=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(r){return r&&(Array.isArray(r)?r=r.map(t=>JSON.stringify(Array.isArray(t)?t:[t])):r=JSON.stringify([r])),r}getCardsFromResponse(r){return r.results.length>0?N(r.results).map(e=>{let a={id:e.id,title:e.title,snippet:e.snippet||"",description:e.description||"",url:e.url||"",itemUrl:this.orgUrl+"/home/item.html"+y([{k:"id",v:e.id}])||"",thumbnailFilename:e.thumbnail,thumbnailUrl:K(e.id,e.thumbnail,this.cMissingImageDataURI,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),tryitUrl:e.url||"",typeKeywords:e.typeKeywords,learnMoreUrl:e.properties?.learnMoreUrl||"",createdMs:e.created,created:F(e.created,this.locale),modified:F(e.modified,this.locale),numViews:e.numViews,tags:e.tags,categories:e.groupCategories&&e.groupCategories.length>0?e.groupCategories:e.categories||[],licenseInfo:k(e.licenseInfo),deployCommonId:w(e.typeKeywords||[],"solutionid-"),deployVersion:w(e.typeKeywords||[],"solutionversion-"),canDelete:e.created>16183314e5,preview:this.preparePreviewImageUrls(e.id,e.properties?.preview,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),sourcePortalUrl:e.sourcePortalUrl||"",knownToBePublicSource:e.knownToBePublicSource||!1,waitId:"",relatedSolutions:T(e,"properties.relatedSolutions")||[],owner:e.owner};return a.deployCommonId!==""&&a.deployVersion!==""?a:null}).filter(e=>e!=null):[]}mergeResponses(r){let t=0;r.forEach(e=>t+=e.total);let s=[];return r.forEach(e=>s=s.concat(e.results)),{query:r[0].query,start:1,num:t,nextStart:-1,total:t,results:s}}preparePreviewImageUrls(r,t,s){return t?t.map(e=>(e.format==="image"&&(e.name=s+"/sharing/rest/content/items/"+r+"/resources/"+e.name),e)):[]}};async function Z(c,r,t,s,e=M,a="created",o="desc",l=!1,d=[],f=[],p){if(!c?.IsSignedIn)return;let g={q:e,filter:"type:Solution",sortField:a,sortOrder:o,delay:l,categories:d};return g.q+=V(c,p),await z(r,g,s,f)}function V(c,r){let t="",s=c.PortalUserOrg,e=c.PortalUserName;return s&&(t+=" orgid:"+s),r!==J.ORGANIZATION&&e&&(t+=" owner:"+e),t}async function z(c,r,t,s){let e=await t.requestDeployedSolutionCards(r,c),a=_(e.cards,s);return{cards:e.cards,relatedSolutions:a}}return{a:j,b:Z}},a,b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as e}from"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import{a as e}from"./FT22BE2Q.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as m}from"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import{a as m}from"./A6EVVFF5.js";import{a as f}from"./ZGSIGKHE.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
var c=["Application","City Engine Web Scene","CityEngine Web Scene","Dashboard","Insights Page","Insights Workbook","Operation View","Web Mapping Application","StoryMap","Web Experience","Urban Model"],s=["CSV Collection","CSV","Feature Collection Template","Feature Collection","Feature Layer","Feature Service","File Geodatabase","GeoJSON","GeoJson","KML Collection","KML","Microsoft Excel","Raster Layer","Shapefile","Stream Service","Table"],l=["CAD Drawing","Document Link","Hub Page","Site Page","Image","iWork Keynote","iWork Numbers","iWork Pages","Microsoft Powerpoint","Microsoft Visio","Microsoft Word","Notebook","PDF","Pro Map","Report Template"],p=["Hub Event"],g=["Form","Quick Capture Project"],d=["Hub Initiative"],u=["Solution"],S=["Hub Initiative Template"],k=["Image Collection","Image Service","Map Service Layer","Map Service","Scene Service","Scene Layer","Vector Tile Service","Web Map Service","Web Map Tile Service","Web Map","Web Scene","WFS","WMS","WMTS"],b=["360 VR Experience","3DTiles Package","3DTiles Service","API Key","Activity","Addin Package","Administrative Report","AllSource Project","Analysis Model","Apache Parquet","App Bundle","AppBuilder Extension","AppBuilder Widget Package","Application Configuration","Application SDK","ArcGIS Pro Add In","ArcGIS Pro Configuration","ArcPad Package","Arcade Module","Basemap Package","Big Data Analytic","Big Data File Share","Code Attachment","Code Sample","Color Set","Compact Tile Package","Content Category Set","Data Package Collection","Data Pipeline","Data Store","Deep Learning Package","Deep Learning Studio Project","Desktop Add In","Desktop Application","Desktop Application Template","Desktop Style","Earth Configuration","Esri Classification Schema","Esri Classifier Definition","Excalibur Imagery Project","Experience Builder Widget","Experience Builder Widget Package","Explorer Add In","Explorer Layer","Explorer Map","Export Package","Featured Items","Feed","GML","GeoBIM Application","GeoBIM Project","GeoPackage","Geocoding Service","Geodata Service","Geoenrichment Service","Geometry Service","Geoprocessing Package","Geoprocessing Sample","Geoprocessing Service","Globe Document","Globe Service","Group Layer","IPS Configuration","Indoors Map Configuration","Insights Data Engineering Model","Insights Data Engineering Workbook","Insights Model","Insights Script","Insights Theme","Insights Workbook Package","Kernel Gateway Connection","Knowledge Graph","Knowledge Graph Layer","Knowledge Graph Web Investigation","Knowledge Studio Project","Layer","Layer File","Layer Package","Layer Template","Layout","Legend","Living Atlas Export Package","Locator Package","Map Area","Map Document","Map Package","Map Service Definition","Map Template","Media Layer","Mission","Mission Report","Mission Template","Mobile Application","Mobile Basemap Package","Mobile Map Package","Mobile Scene Package","Native Application","Native Application Installer","Native Application Template","Network Analysis Service","Notebook Code Snippet Library","Notebook Code Snippets","OGCFeatureServer","Operations Dashboard Add In","Operations Dashboard Extension","Oriented Imagery Catalog","Ortho Mapping Project","Ortho Mapping Template","Pro Presentation","Pro Project","Pro Report","Pro Report Template","Project Package","Project Template","Published Map","QuickCapture Project","Raster Function Template","Real Time Analytic","Reality Mapping Project","Reality Studio Project","Relational Database Connection","Replication Package","Rule Package","SMX Item","SMX Map","SMX Theme","SQLite Geodatabase","Scene Document","Scene Package","Scene Package Part","Server","Service Definition","Statistical Data Collection","StoryMap Theme","Style","Suitability Model","Survey123 Add In","Symbol Service","Symbol Set","Task File","Tile Package","Urban Project","User License Type Extension","Vector Tile Package","Video Service","Viewer Configuration","Visio Document","WCS","Web AppBuilder Widget","Web Experience Template","Web Link Chart","Windows Mobile Package","Windows Viewer Add In","Workflow","Workflow Manager Package","Workflow Manager Service","Workforce Project","netCDF"],m=["Hub Site Application","Site Application"],r=a=>{if(!a)return;let e=a.toLocaleLowerCase();return Object.keys(i).find(t=>i[t].some(n=>n.toLocaleLowerCase()===e))},o=a=>{if(!a)return;let e=a.toLocaleLowerCase();return i[e]},i={app:c,dataset:s,document:l,event:p,feedback:g,initiative:d,template:S,solution:u,map:k,other:b,site:m};function P(a){return{other:"content",solution:"template"}[a]||a}function y(a){let e;switch(a.toLowerCase()){case"image service":e="dataset";break;case"feature service":case"raster layer":e="map";break;case"microsoft excel":e="document";break;case"cad drawing":case"feature collection template":case"report template":e="content";break;case"hub project":e="project";break;case"discussion":e="discussion";break;case"event":e="event";break;case"hub initiative":e="initiative";break;case"organization":e="organization";break;default:e=P(r(a))}return e}function A(a){let e;switch(a.toLowerCase()){case"content":e=o("other"),e=e.concat(["CAD Drawing","Feature Collection Template","Report Template"]);break;case"template":e=[...o("template"),...o("solution")];break;case"dataset":e=o(a.toLowerCase()).filter(t=>t!=="Feature Collection Template"&&t!=="Raster Layer"&&t!=="Microsoft Excel"),e=e.concat("Image Service");break;case"map":e=o(a.toLowerCase()).filter(t=>t!=="Image Service"),e=e.concat(["Raster Layer"]);break;case"document":e=o(a.toLowerCase()).filter(t=>t!=="CAD Drawing"&&t!=="Report Template"),e=e.concat("Microsoft Excel");break;case"project":e=["Hub Project"];break;case"discussion":e=["Discussion"];break;case"initiative":e=["Hub Initiative"];break;default:e=o(a.toLowerCase())}return e}export{y as a,A as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import b from"./DEQAS2SR.js";import a from"./QVLTIXTS.js";export default $arcgis.t(([I,q,V,v,{a:A,b:R}])=>{function K(e,n){return s=>{let t=s?.layer?.type;if(t==="feature"||t==="group"){let a=D(n,s).then(i=>i);a&&e.push(a);let l=i=>{let o=D(n,i).then(r=>r);o&&e.push(o)};s.children.forEach(i=>{l(i),i?.children?.length>0&&i.children.forEach(o=>{l(o),o?.children?.length>0&&o.children.forEach(r=>{l(r)})})})}}}async function D(e,n){try{let s=n?.layer?.type==="group",t=n?.layer?.layers?.some(f=>f.visible),a=n?.layer?.layers?.every(f=>!f?.legendEnabled);await I.whenOnce(()=>e?.state==="ready"),!s||s&&t?s&&a?await I.whenOnce(()=>n?.layer?.loaded):await I.whenOnce(()=>n?.ready):await I.whenOnce(()=>n?.legendElements);let l=n?.legendElements?.[0],i=new Map,o=n.layer,r=await e?.view?.whenLayerView(o),u=o.renderer?.field??"";l!==void 0&&l?.infos?.forEach(f=>{if(f.type==="symbol-table"){let d=[];f.infos.forEach(y=>{let h={count:null,selected:!1,legendElementInfo:y};d.push(h)});let p={count:null,selected:!1,legendElementInfo:f,nestedInfos:d};i.set(f.title,p)}else{let d={count:null,selected:!1,legendElementInfo:f};i.set(f.label??o.id,d)}});let c=[];return r?Promise.resolve({activeLayerInfo:n,title:r.layer.title,categories:i,field:u,queryExpressions:c,totalCount:null,fLayerView:r,legendElement:l}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function ne(e){let n={},s=[];e.activeLayerInfos.forEach(K(s,e));try{return(await Promise.all(s)).forEach(t=>{let a=t?.activeLayerInfo?.layer?.id;n[a]=t}),Promise.resolve(n)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function re(e){return Array.from(e,n=>n[1])}function te(e,n,s,t,a){if(t)return t?.nestedInfos?.[a];let l="label"in s&&s?.label?s?.label:n?.id;return e?.categories?.get(l)}function le(e){return A?.data?.[e?.id]}async function se(e,n,s,t,a){let{queryExpressions:l,fLayerView:i}=e;M(e,n,s,a);let o=l.every(f=>f&&f.includes("<>"))?" AND ":" OR ",r=l.join(o),u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null,{type:c}=t;if(c==="filter")i.filter=new V({where:r,timeExtent:u});else if(t.effect){let{includedEffect:f,excludedEffect:d}=t.effect,p=await v(d,i,"excludedEffect"),y=await v(f,i,"includedEffect");i.featureEffect=new q({filter:new V({where:r,timeExtent:u}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function P(e,n){let s=n?n?.layer?.renderer?.authoringInfo:null,t=s?s.fields:null,a=[];if(!t)return"";if(Object.hasOwn(e,"value"))return t.forEach(l=>{if(e.value===l)return;let i=`(${e.value} > ${l} OR (${l} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;a.push(i)}),a.join(" AND ");{let l=[];t.forEach(o=>{l.push(`${o} = 0`)});let i=[];if(t.length>2){t.forEach(r=>{t.forEach(u=>{if(r===u)return;let c=[];t.forEach(f=>{r===f||u===f||c.push(`${r} = ${u} AND (${r} > ${f} OR ${r} >= ${f})`)}),i.push(`(${c.join(" AND ")})`)})});let o=[];return t.forEach(r=>{o.push(`${r} IS NULL`)}),`(${l.join(" AND ")}) OR (${i.join(" OR ")}) OR (${o.join(" AND ")})`}else{let o=[];t.forEach(u=>{t.forEach(c=>{u!==c&&(o.push(`${u} = ${c}`),o.push(`(${l.join(" AND ")})`))})});let r=[];return t.forEach(u=>{t.forEach(c=>{u!==c&&r.push(`(${u} = 0 AND ${c} IS NULL) OR (${u} IS NULL AND ${c} IS NULL)`)})}),`(${o.join(" OR ")}) OR (${r.join(" OR ")})`}}}function M(e,n,s,t){let{field:a,legendElement:l,categories:i,fLayerView:o}=e,r=e?.queryExpressions;t&&Array.from(e.categories).map(h=>h[1]).forEach(h=>{h.nestedInfos?.every(E=>!E.selected)&&h.nestedInfos?.forEach(E=>{let $=a?`${a} = '${E.legendElementInfo.value}'`:null,m=$?r.indexOf($):-1;$&&m!==-1&&r.splice(m,1)})});let u=l?.infos,c=x(o),f=c?P(n,o):b(n,a,s,l,u??[],""),d=i?t?i.get(t.title)?.nestedInfos?.[s]:i.get(n.label??o?.layer?.id):null;d&&(d.selected=!d?.selected);let p=u&&u.length===1,y=r.indexOf(f);if(c){let h=r.indexOf(f);r.length===0||h===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]?r[0]="1=0":r&&r.length===1||r.length===1&&f!==r[0]&&r[0]==="1=0"?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"?r[0]=null:r.splice(h,1),r.join(" OR ")}else r.length===0||y===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]&&!p?r[0]="1=0":r&&r.length===1&&!p||r.length===1&&f!==r[0]&&r[0]==="1=0"&&!p?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"&&!p?r[0]=null:r.splice(y,1);if(t){let h=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{a&&`${a} = '${$.legendElementInfo.value}'`&&h.push(`${a} = '${$.legendElementInfo.value}'`)})}),h.forEach(E=>{r.includes(E)||r.push(E)})}}function b(e,n,s,t,a,l){let{value:i}=e;if(t?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&a?.length===1){if(Object.hasOwn(a?.[0],"value")&&Array.isArray(a?.[0].value)&&Object.hasOwn(a?.[a.length-2],"value")&&Array.isArray(a?.[a.length-2].value))return l?`((${n}/${l}) > ${a?.[0].value[1]}) OR ((${n}/${l}) < ${a?.[a.length-2].value[0]}) OR ${l} = 0 OR ${l} IS NULL`:`${n} > ${a?.[0].value[1]} OR ${n} < ${a?.[a.length-2].value[0]} OR ${n} IS NULL`;if(a?.length===1)return"1=0";{let o=[];a?.forEach(u=>{if(u?.value){let{value:c}=u,f=c.indexOf("'")!==-1?c.split("'").join("''"):null,d=f?`${n} <> '${f}'`:isNaN(c)||typeof c=="string"&&!c.trim()?`${n} <> '${c}'`:`${n} <> ${c} AND ${n} <> '${c}'`;o.push(d)}});let r=o.join(" AND ");return n&&r?`${r} OR ${n} IS NULL`:""}}else{let o=i.indexOf("'")!==-1?i.split("'").join("''"):null,r=Array.isArray(e.value),u=a&&a.length-1===s,c=!Object.hasOwn(a?.[a.length-1],"value"),f=a&&a.length-2===s;return r?l?u||c&&f?`(${n}/${l}) >= ${i[0]} AND (${n}/${l}) <= ${e.value[1]}`:`(${n}/${l}) > ${i[0]} AND (${n}/${l}) <= ${e.value[1]}`:u||c&&f?`${n} >= ${i[0]} AND ${n} <= ${i[1]}`:`${n} > ${i[0]} AND ${n} <= ${i[1]}`:a?.length===1&&n?isNaN(i)||!i.trim().length?`${n} <> '${i}'`:`${n} <> ${i} OR ${n} <> '${i}'`:o?`${n} = '${o}'`:isNaN(i)||!i.trim().length?`${n} = '${i}'`:`${n} = ${i} OR ${n} = '${i}'`}else return""}function ae(e){return Array.isArray(e)?e.every(n=>!n.selected):e&&Array.from(e.categories.entries()).every(n=>!n[1].selected)&&e.queryExpressions[0]!=="1=0"}function x(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function ie(e){return e?.legendElements[1]?.type==="relationship-ramp"}function oe(e,n,s){let t=e.layer?.renderer?.field,a=n?.type,l=e?.layerView,i=l?.layer?.renderer?.classBreakInfos,o=l?.layer?.renderer?.uniqueValueInfos&&t,r=a==="size-ramp",u=a==="color-ramp",c=a==="opacity-ramp",f=a==="heatmap-ramp",d=l&&i&&i.length>1,p=l?.layer?.renderer?.authoringInfo?.type,y=p==="class-breaks-color",h=p==="class-breaks-size",E=n?.infos?.length===1&&!t,$=p==="relationship"&&n?.type!=="size-ramp"&&n?.type!=="symbol-table",m=e?.layer?.type==="feature",g=m&&t&&!u&&!r&&d,L=!!(m&&t&&!u&&!r&&!d),O=!!(L||x(l)&&!r||y&&t||h&&t||E&&!t&&t!==null||$||o),z=e?.layer?.featureReduction&&e?.legendElements?.[s]?.type==="size-ramp",j=n?.type==="symbol-table"&&n?.infos?.length===1,C=!e?.legendElements.every(w=>w.type!=="color-ramp"),F=!e?.legendElements.every(w=>w.type!=="size-ramp"),T=j&&C,Q=j&&F,B=n?.infos?.every(w=>typeof w.value=="number"),G=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=p==="dot-density",J=S(e?.layer,t);return m&&!z&&!c&&!f&&!T&&!Q&&!B&&!G&&!H&&J?i?g||O:L||O:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(n=>{n.selected=!1}),e}function ce(e,n){e.categories.get(n)?.nestedInfos?.forEach(l=>{let i=`${e.field} = '${l.legendElementInfo.value}'`,o=e.queryExpressions.indexOf(i);o!==-1&&e.queryExpressions.splice(o,1),l.selected=!1});let s=[],t=Array.from(e.categories).map(l=>l[1]);t.forEach(l=>{l.nestedInfos?.every(i=>!i.selected)&&l.nestedInfos?.forEach(i=>{s.push(`${e.field} = '${i.legendElementInfo.value}'`)})}),s.forEach(l=>{e.queryExpressions.includes(l)||e.queryExpressions.push(l)});let a=e.queryExpressions.join(" OR ");return t.every(l=>l.nestedInfos?.every(i=>!i.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=a),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=a)),e}async function ue(e,n,s){let t=e.fLayerView.createQuery();if(s)if(s.nestedInfos.every(a=>!a.selected)){let a=s.nestedInfos.map(l=>`${e.field} = '${l.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=s.nestedInfos.filter(l=>l.selected).map(l=>`${e.field} = '${l.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=e.queryExpressions.join(" OR ");t.where=a}try{let{extent:a}=await e.fLayerView.layer.queryExtent(t);await n.goTo(a)}catch{}}function de(e){return e.map(n=>n?.count).reduce((n,s)=>n+s)}function ye(e){return e.map(n=>n?.nestedInfos?.map(s=>s.count).reduce((s,t)=>s+t)).reduce((n,s)=>n+s)}async function N(e,n,s,t,a,l,i,o){if(!n||!S(n?.layer,s))return;let r=n?.layer?.type==="feature"?n.createQuery():null,u=x(n)?P(t,n):t.type?b(i,s,o,t,t.infos):b(t,s,a,l,l.infos);r&&u&&(r.where=u==="1=0"?"1=1":u,e&&(r.geometry=e));try{let c=r?await n.queryFeatureCount(r):null;return Promise.resolve({[t.label??n?.layer?.id]:c})}catch(c){console.error("FAILURE AT 'getInfoCount': ",c)}return await Promise.resolve(null)}async function he(e,n){let s={...n},{activeLayerInfos:t}=e,a=e?.view?.extent,l={},i={};t.forEach(async o=>{let r=o.legendElements[0],u=o.layer,c=n[o?.layer?.id]?.fLayerView,f=u.renderer?.field,d=[];i[o.layer.id]=[],r?.infos?.forEach((y,h)=>{if(r.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach(($,m)=>{let g=N(a,c,f,y,h,r,$,m);E.push(g)}),i[o.layer.id].push(E)}else d.push(N(a,c,f,y,h,r)),i[o.layer.id]=d});let p=y=>{let h=[],E=y.legendElements[0],$=y.layer,m=n[y?.layer?.id]?.fLayerView,g=$.renderer?.field;E?.infos?.forEach((L,O)=>h.push(N(a,m,g,L,O,E))),i[y.layer.id]=h};o.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(h=>{p(h),h?.children?.length>0&&h.children.forEach(E=>{p(E)})})})});for(let o in i){let r=l[o];r||(r=l[o]={});let u=await Promise.all(i[o]);if(u.every(c=>Array.isArray(c))){let c=await Promise.all(u.map(async f=>(await Promise.all(f)).map(d=>d&&Object.values(d)[0])));r[o]=c,l[o]={...r[o]}}else{let c={};u.forEach(f=>{if(!f)return;let d=Object.keys(f)[0];c[d]=f[d]}),o&&(r[o]=c),l[o]={...r[o]}}}return t.forEach(o=>{let r=n[o.layer.id],u=o.layer.id;r?.categories?.forEach((f,d)=>{let p=Array.from(r?.categories).findIndex(y=>y[0]===d);if(f?.nestedInfos)f?.nestedInfos.forEach((y,h)=>{let E=l?.[o?.layer?.id]?.[p]?.[h];y.count=isNaN(E)?null:E});else{let y=l?.[u]?.[d];f.count=isNaN(y)?null:y}});let c=f=>{let d=f.layer.id;n[d]?.categories?.forEach((p,y)=>{let h=l?.[d]?.[y];p.count=h})};o?.children?.forEach(f=>{c(f),f?.children?.length>0&&f.children.forEach(d=>{c(d),d?.children?.length>0&&d.children.forEach(p=>{c(p)})})})}),await Promise.resolve(s)}function Ee(e,n){return e?.nestedInfos?.[n]}function pe(e){return Array.from(e).map(n=>n[1]).every(n=>!!n?.nestedInfos)}function $e(e){return!!e?.legendElements?.[0]?.infos?.every?.(n=>n?.type==="symbol-table")}function me(e,n){if(typeof n?.title=="string")return e?.categories?.get(n?.title)}function ge(e){let n="calcite-mode-",s=`${n}light`,t=`${n}dark`;return e.classList.contains(t)?t:s}function we(e){if(e.layerId&&e.intLegendLayerData){let n=e.layerId,s=e.intLegendLayerData,t={...A.data,[n]:s};R.set("data",t)}}function ve(e,n){let{type:s}=e;s==="filter"?W(n):s==="effect"&&X(e,n)}function W(e){e?.allLayerViews?.filter(n=>n?.layer?.type==="feature")?.forEach(n=>{let s=n,t=U(s);s.filter=t,s.set("featureEffect",null)})}function X(e,n){n?.allLayerViews?.filter(s=>s?.layer?.type==="feature").forEach(async s=>{let t=s;if(e?.effect&&t){let{includedEffect:a,excludedEffect:l}=e.effect,i=await v(l,t,"excludedEffect"),o=await v(a,t,"includedEffect"),r=U(t);t.featureEffect=new q({filter:r,includedEffect:o,excludedEffect:i}),t.set("filter",null)}})}function U(e){return e?.filter||e?.featureEffect?.filter}function S(e,n){let s=e?.fields,t=s&&s.map(a=>a.name);return n?t&&t.includes(n):!0}function Ie(e){let n=[];return e.forEach(s=>k(s,n)),n}function k(e,n){n.push(e),e.children&&e.children.length>0&&e.children.forEach(s=>{k(s,n)})}return{a:D,b:ne,c:re,d:te,e:le,f:se,g:ae,h:ie,i:oe,j:fe,k:ce,l:ue,m:de,n:ye,o:he,p:Ee,q:pe,r:$e,s:me,t:ge,u:we,v:ve,w:Ie}},"core/reactiveUtils","layers/support/FeatureEffect","layers/support/FeatureFilter",a,b)
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import b from"./3UZFYGDX.js";import a from"./6GOVJOEP.js";export default $arcgis.t(([I,q,V,v,{a:A,b:R}])=>{function K(e,n){return s=>{let t=s?.layer?.type;if(t==="feature"||t==="group"){let a=D(n,s).then(i=>i);a&&e.push(a);let l=i=>{let o=D(n,i).then(r=>r);o&&e.push(o)};s.children.forEach(i=>{l(i),i?.children?.length>0&&i.children.forEach(o=>{l(o),o?.children?.length>0&&o.children.forEach(r=>{l(r)})})})}}}async function D(e,n){try{let s=n?.layer?.type==="group",t=n?.layer?.layers?.some(f=>f.visible),a=n?.layer?.layers?.every(f=>!f?.legendEnabled);await I.whenOnce(()=>e?.state==="ready"),!s||s&&t?s&&a?await I.whenOnce(()=>n?.layer?.loaded):await I.whenOnce(()=>n?.ready):await I.whenOnce(()=>n?.legendElements);let l=n?.legendElements?.[0],i=new Map,o=n.layer,r=await e?.view?.whenLayerView(o),u=o.renderer?.field??"";l!==void 0&&l?.infos?.forEach(f=>{if(f.type==="symbol-table"){let d=[];f.infos.forEach(y=>{let h={count:null,selected:!1,legendElementInfo:y};d.push(h)});let p={count:null,selected:!1,legendElementInfo:f,nestedInfos:d};i.set(f.title,p)}else{let d={count:null,selected:!1,legendElementInfo:f};i.set(f.label??o.id,d)}});let c=[];return r?Promise.resolve({activeLayerInfo:n,title:r.layer.title,categories:i,field:u,queryExpressions:c,totalCount:null,fLayerView:r,legendElement:l}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function ne(e){let n={},s=[];e.activeLayerInfos.forEach(K(s,e));try{return(await Promise.all(s)).forEach(t=>{let a=t?.activeLayerInfo?.layer?.id;n[a]=t}),Promise.resolve(n)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function re(e){return Array.from(e,n=>n[1])}function te(e,n,s,t,a){if(t)return t?.nestedInfos?.[a];let l="label"in s&&s?.label?s?.label:n?.id;return e?.categories?.get(l)}function le(e){return A?.data?.[e?.id]}async function se(e,n,s,t,a){let{queryExpressions:l,fLayerView:i}=e;M(e,n,s,a);let o=l.every(f=>f&&f.includes("<>"))?" AND ":" OR ",r=l.join(o),u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null,{type:c}=t;if(c==="filter")i.filter=new V({where:r,timeExtent:u});else if(t.effect){let{includedEffect:f,excludedEffect:d}=t.effect,p=await v(d,i,"excludedEffect"),y=await v(f,i,"includedEffect");i.featureEffect=new q({filter:new V({where:r,timeExtent:u}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function P(e,n){let s=n?n?.layer?.renderer?.authoringInfo:null,t=s?s.fields:null,a=[];if(!t)return"";if(Object.hasOwn(e,"value"))return t.forEach(l=>{if(e.value===l)return;let i=`(${e.value} > ${l} OR (${l} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;a.push(i)}),a.join(" AND ");{let l=[];t.forEach(o=>{l.push(`${o} = 0`)});let i=[];if(t.length>2){t.forEach(r=>{t.forEach(u=>{if(r===u)return;let c=[];t.forEach(f=>{r===f||u===f||c.push(`${r} = ${u} AND (${r} > ${f} OR ${r} >= ${f})`)}),i.push(`(${c.join(" AND ")})`)})});let o=[];return t.forEach(r=>{o.push(`${r} IS NULL`)}),`(${l.join(" AND ")}) OR (${i.join(" OR ")}) OR (${o.join(" AND ")})`}else{let o=[];t.forEach(u=>{t.forEach(c=>{u!==c&&(o.push(`${u} = ${c}`),o.push(`(${l.join(" AND ")})`))})});let r=[];return t.forEach(u=>{t.forEach(c=>{u!==c&&r.push(`(${u} = 0 AND ${c} IS NULL) OR (${u} IS NULL AND ${c} IS NULL)`)})}),`(${o.join(" OR ")}) OR (${r.join(" OR ")})`}}}function M(e,n,s,t){let{field:a,legendElement:l,categories:i,fLayerView:o}=e,r=e?.queryExpressions;t&&Array.from(e.categories).map(h=>h[1]).forEach(h=>{h.nestedInfos?.every(E=>!E.selected)&&h.nestedInfos?.forEach(E=>{let $=a?`${a} = '${E.legendElementInfo.value}'`:null,m=$?r.indexOf($):-1;$&&m!==-1&&r.splice(m,1)})});let u=l?.infos,c=x(o),f=c?P(n,o):b(n,a,s,l,u??[],""),d=i?t?i.get(t.title)?.nestedInfos?.[s]:i.get(n.label??o?.layer?.id):null;d&&(d.selected=!d?.selected);let p=u&&u.length===1,y=r.indexOf(f);if(c){let h=r.indexOf(f);r.length===0||h===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]?r[0]="1=0":r&&r.length===1||r.length===1&&f!==r[0]&&r[0]==="1=0"?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"?r[0]=null:r.splice(h,1),r.join(" OR ")}else r.length===0||y===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]&&!p?r[0]="1=0":r&&r.length===1&&!p||r.length===1&&f!==r[0]&&r[0]==="1=0"&&!p?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"&&!p?r[0]=null:r.splice(y,1);if(t){let h=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{a&&`${a} = '${$.legendElementInfo.value}'`&&h.push(`${a} = '${$.legendElementInfo.value}'`)})}),h.forEach(E=>{r.includes(E)||r.push(E)})}}function b(e,n,s,t,a,l){let{value:i}=e;if(t?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&a?.length===1){if(Object.hasOwn(a?.[0],"value")&&Array.isArray(a?.[0].value)&&Object.hasOwn(a?.[a.length-2],"value")&&Array.isArray(a?.[a.length-2].value))return l?`((${n}/${l}) > ${a?.[0].value[1]}) OR ((${n}/${l}) < ${a?.[a.length-2].value[0]}) OR ${l} = 0 OR ${l} IS NULL`:`${n} > ${a?.[0].value[1]} OR ${n} < ${a?.[a.length-2].value[0]} OR ${n} IS NULL`;if(a?.length===1)return"1=0";{let o=[];a?.forEach(u=>{if(u?.value){let{value:c}=u,f=c.indexOf("'")!==-1?c.split("'").join("''"):null,d=f?`${n} <> '${f}'`:isNaN(c)||typeof c=="string"&&!c.trim()?`${n} <> '${c}'`:`${n} <> ${c} AND ${n} <> '${c}'`;o.push(d)}});let r=o.join(" AND ");return n&&r?`${r} OR ${n} IS NULL`:""}}else{let o=i.indexOf("'")!==-1?i.split("'").join("''"):null,r=Array.isArray(e.value),u=a&&a.length-1===s,c=!Object.hasOwn(a?.[a.length-1],"value"),f=a&&a.length-2===s;return r?l?u||c&&f?`(${n}/${l}) >= ${i[0]} AND (${n}/${l}) <= ${e.value[1]}`:`(${n}/${l}) > ${i[0]} AND (${n}/${l}) <= ${e.value[1]}`:u||c&&f?`${n} >= ${i[0]} AND ${n} <= ${i[1]}`:`${n} > ${i[0]} AND ${n} <= ${i[1]}`:a?.length===1&&n?isNaN(i)||!i.trim().length?`${n} <> '${i}'`:`${n} <> ${i} OR ${n} <> '${i}'`:o?`${n} = '${o}'`:isNaN(i)||!i.trim().length?`${n} = '${i}'`:`${n} = ${i} OR ${n} = '${i}'`}else return""}function ae(e){return Array.isArray(e)?e.every(n=>!n.selected):e&&Array.from(e.categories.entries()).every(n=>!n[1].selected)&&e.queryExpressions[0]!=="1=0"}function x(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function ie(e){return e?.legendElements[1]?.type==="relationship-ramp"}function oe(e,n,s){let t=e.layer?.renderer?.field,a=n?.type,l=e?.layerView,i=l?.layer?.renderer?.classBreakInfos,o=l?.layer?.renderer?.uniqueValueInfos&&t,r=a==="size-ramp",u=a==="color-ramp",c=a==="opacity-ramp",f=a==="heatmap-ramp",d=l&&i&&i.length>1,p=l?.layer?.renderer?.authoringInfo?.type,y=p==="class-breaks-color",h=p==="class-breaks-size",E=n?.infos?.length===1&&!t,$=p==="relationship"&&n?.type!=="size-ramp"&&n?.type!=="symbol-table",m=e?.layer?.type==="feature",g=m&&t&&!u&&!r&&d,L=!!(m&&t&&!u&&!r&&!d),O=!!(L||x(l)&&!r||y&&t||h&&t||E&&!t&&t!==null||$||o),z=e?.layer?.featureReduction&&e?.legendElements?.[s]?.type==="size-ramp",j=n?.type==="symbol-table"&&n?.infos?.length===1,C=!e?.legendElements.every(w=>w.type!=="color-ramp"),F=!e?.legendElements.every(w=>w.type!=="size-ramp"),T=j&&C,Q=j&&F,B=n?.infos?.every(w=>typeof w.value=="number"),G=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=p==="dot-density",J=S(e?.layer,t);return m&&!z&&!c&&!f&&!T&&!Q&&!B&&!G&&!H&&J?i?g||O:L||O:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(n=>{n.selected=!1}),e}function ce(e,n){e.categories.get(n)?.nestedInfos?.forEach(l=>{let i=`${e.field} = '${l.legendElementInfo.value}'`,o=e.queryExpressions.indexOf(i);o!==-1&&e.queryExpressions.splice(o,1),l.selected=!1});let s=[],t=Array.from(e.categories).map(l=>l[1]);t.forEach(l=>{l.nestedInfos?.every(i=>!i.selected)&&l.nestedInfos?.forEach(i=>{s.push(`${e.field} = '${i.legendElementInfo.value}'`)})}),s.forEach(l=>{e.queryExpressions.includes(l)||e.queryExpressions.push(l)});let a=e.queryExpressions.join(" OR ");return t.every(l=>l.nestedInfos?.every(i=>!i.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=a),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=a)),e}async function ue(e,n,s){let t=e.fLayerView.createQuery();if(s)if(s.nestedInfos.every(a=>!a.selected)){let a=s.nestedInfos.map(l=>`${e.field} = '${l.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=s.nestedInfos.filter(l=>l.selected).map(l=>`${e.field} = '${l.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=e.queryExpressions.join(" OR ");t.where=a}try{let{extent:a}=await e.fLayerView.layer.queryExtent(t);await n.goTo(a)}catch{}}function de(e){return e.map(n=>n?.count).reduce((n,s)=>n+s)}function ye(e){return e.map(n=>n?.nestedInfos?.map(s=>s.count).reduce((s,t)=>s+t)).reduce((n,s)=>n+s)}async function N(e,n,s,t,a,l,i,o){if(!n||!S(n?.layer,s))return;let r=n?.layer?.type==="feature"?n.createQuery():null,u=x(n)?P(t,n):t.type?b(i,s,o,t,t.infos):b(t,s,a,l,l.infos);r&&u&&(r.where=u==="1=0"?"1=1":u,e&&(r.geometry=e));try{let c=r?await n.queryFeatureCount(r):null;return Promise.resolve({[t.label??n?.layer?.id]:c})}catch(c){console.error("FAILURE AT 'getInfoCount': ",c)}return await Promise.resolve(null)}async function he(e,n){let s={...n},{activeLayerInfos:t}=e,a=e?.view?.extent,l={},i={};t.forEach(async o=>{let r=o.legendElements[0],u=o.layer,c=n[o?.layer?.id]?.fLayerView,f=u.renderer?.field,d=[];i[o.layer.id]=[],r?.infos?.forEach((y,h)=>{if(r.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach(($,m)=>{let g=N(a,c,f,y,h,r,$,m);E.push(g)}),i[o.layer.id].push(E)}else d.push(N(a,c,f,y,h,r)),i[o.layer.id]=d});let p=y=>{let h=[],E=y.legendElements[0],$=y.layer,m=n[y?.layer?.id]?.fLayerView,g=$.renderer?.field;E?.infos?.forEach((L,O)=>h.push(N(a,m,g,L,O,E))),i[y.layer.id]=h};o.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(h=>{p(h),h?.children?.length>0&&h.children.forEach(E=>{p(E)})})})});for(let o in i){let r=l[o];r||(r=l[o]={});let u=await Promise.all(i[o]);if(u.every(c=>Array.isArray(c))){let c=await Promise.all(u.map(async f=>(await Promise.all(f)).map(d=>d&&Object.values(d)[0])));r[o]=c,l[o]={...r[o]}}else{let c={};u.forEach(f=>{if(!f)return;let d=Object.keys(f)[0];c[d]=f[d]}),o&&(r[o]=c),l[o]={...r[o]}}}return t.forEach(o=>{let r=n[o.layer.id],u=o.layer.id;r?.categories?.forEach((f,d)=>{let p=Array.from(r?.categories).findIndex(y=>y[0]===d);if(f?.nestedInfos)f?.nestedInfos.forEach((y,h)=>{let E=l?.[o?.layer?.id]?.[p]?.[h];y.count=isNaN(E)?null:E});else{let y=l?.[u]?.[d];f.count=isNaN(y)?null:y}});let c=f=>{let d=f.layer.id;n[d]?.categories?.forEach((p,y)=>{let h=l?.[d]?.[y];p.count=h})};o?.children?.forEach(f=>{c(f),f?.children?.length>0&&f.children.forEach(d=>{c(d),d?.children?.length>0&&d.children.forEach(p=>{c(p)})})})}),await Promise.resolve(s)}function Ee(e,n){return e?.nestedInfos?.[n]}function pe(e){return Array.from(e).map(n=>n[1]).every(n=>!!n?.nestedInfos)}function $e(e){return!!e?.legendElements?.[0]?.infos?.every?.(n=>n?.type==="symbol-table")}function me(e,n){if(typeof n?.title=="string")return e?.categories?.get(n?.title)}function ge(e){let n="calcite-mode-",s=`${n}light`,t=`${n}dark`;return e.classList.contains(t)?t:s}function we(e){if(e.layerId&&e.intLegendLayerData){let n=e.layerId,s=e.intLegendLayerData,t={...A.data,[n]:s};R.set("data",t)}}function ve(e,n){let{type:s}=e;s==="filter"?W(n):s==="effect"&&X(e,n)}function W(e){e?.allLayerViews?.filter(n=>n?.layer?.type==="feature")?.forEach(n=>{let s=n,t=U(s);s.filter=t,s.set("featureEffect",null)})}function X(e,n){n?.allLayerViews?.filter(s=>s?.layer?.type==="feature").forEach(async s=>{let t=s;if(e?.effect&&t){let{includedEffect:a,excludedEffect:l}=e.effect,i=await v(l,t,"excludedEffect"),o=await v(a,t,"includedEffect"),r=U(t);t.featureEffect=new q({filter:r,includedEffect:o,excludedEffect:i}),t.set("filter",null)}})}function U(e){return e?.filter||e?.featureEffect?.filter}function S(e,n){let s=e?.fields,t=s&&s.map(a=>a.name);return n?t&&t.includes(n):!0}function Ie(e){let n=[];return e.forEach(s=>k(s,n)),n}function k(e,n){n.push(e),e.children&&e.children.length>0&&e.children.forEach(s=>{k(s,n)})}return{a:D,b:ne,c:re,d:te,e:le,f:se,g:ae,h:ie,i:oe,j:fe,k:ce,l:ue,m:de,n:ye,o:he,p:Ee,q:pe,r:$e,s:me,t:ge,u:we,v:ve,w:Ie}},"core/reactiveUtils","layers/support/FeatureEffect","layers/support/FeatureFilter",a,b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as P}from"./LCLYBKCD.js";import{a as v}from"./XLJX5VYK.js";import{a as F}from"./BAV2DQ4A.js";import{b as U}from"./MZ7IE5RN.js";import"./X65LJF4A.js";import"./VVHFDNIP.js";import{G as M,I as g,h as S,i as h,l as $,q as C}from"./HIH6KSUX.js";import"./UEQ2M7OE.js";export default $arcgis.t(([b,q,I,N])=>{var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),_=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(_||{}),L=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(L||{}),B=(a=>(a.Transparent="transparent",a))(B||{}),V=(a=>(a.Start="start",a.Center="center",a))(V||{}),R=S`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width:992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,T=`${x}--`,m=`${x}__`,j=P.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},D=class extends M{constructor(){super(...arguments),this._messages=F({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=C()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=R}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await b?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(b.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=new I([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{this.handles=new N,this.layers=new I([]),this.layerViews=new I([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,u=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:u,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],u=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=u;let y=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return y&&(d.timeExtent=y),d},c=()=>async i=>{let l=this.layerViews?.find(y=>y.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),u=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(u)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),u=d!==null,y=u?q.formatNumber(d,p):null,f=u?`${y}`:"";e[l].displayValue=f,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>b.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>b.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return b.watch(()=>this.view?.updating,()=>{b.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await b.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=b.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return v("instant-apps-scoreboard-base",h`<div class=${g(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${g(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?V.Start:V.Center,l=c?_.Left:_.Up,d=c?_.Right:_.Down,p={previous:l,next:d},u=o||e?_.Blank:p.previous,y=s||e?_.Blank:p.next,f={previous:o||e,next:s||e},E=B.Transparent,k=this.isMobile?L.Small:L.Large,w={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${u} .disabled=${f.previous} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.previous??""} .label=${w.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${y} .disabled=${f.next} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.next??""} .label=${w.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${g(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${g(r.item)}><span class=${g(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${g(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${g(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${T}calcite-`;return v(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${T}calcite-`,e=this._messages.loading;return v(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};U("instant-apps-scoreboard",D);return D},"core/reactiveUtils","intl","core/Collection","core/Handles")
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import{a as P}from"./25S4YYPR.js";import{a as v}from"./NCOWGV7K.js";import{a as F}from"./JISBULOQ.js";import{b as U}from"./7AEU6P43.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{G as M,I as g,h as S,i as h,l as $,q as C}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([b,q,I,N])=>{var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),_=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(_||{}),L=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(L||{}),B=(a=>(a.Transparent="transparent",a))(B||{}),V=(a=>(a.Start="start",a.Center="center",a))(V||{}),R=S`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width:992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,T=`${x}--`,m=`${x}__`,j=P.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},D=class extends M{constructor(){super(...arguments),this._messages=F({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=C()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=R}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await b?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(b.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=new I([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{this.handles=new N,this.layers=new I([]),this.layerViews=new I([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,u=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:u,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],u=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=u;let y=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return y&&(d.timeExtent=y),d},c=()=>async i=>{let l=this.layerViews?.find(y=>y.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),u=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(u)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),u=d!==null,y=u?q.formatNumber(d,p):null,f=u?`${y}`:"";e[l].displayValue=f,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>b.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>b.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return b.watch(()=>this.view?.updating,()=>{b.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await b.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=b.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return v("instant-apps-scoreboard-base",h`<div class=${g(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${g(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?V.Start:V.Center,l=c?_.Left:_.Up,d=c?_.Right:_.Down,p={previous:l,next:d},u=o||e?_.Blank:p.previous,y=s||e?_.Blank:p.next,f={previous:o||e,next:s||e},E=B.Transparent,k=this.isMobile?L.Small:L.Large,w={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${u} .disabled=${f.previous} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.previous??""} .label=${w.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${y} .disabled=${f.next} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.next??""} .label=${w.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${g(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${g(r.item)}><span class=${g(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${g(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${g(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${T}calcite-`;return v(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${T}calcite-`,e=this._messages.loading;return v(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};U("instant-apps-scoreboard",D);return D},"core/reactiveUtils","intl","core/Collection","core/Handles")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import"./OBI4A4AA.js";var e="\u60A8\u6CA1\u6709\u8DB3\u591F\u7684\u914D\u989D\u6765\u6267\u884C\u6B64\u64CD\u4F5C\u3002 \u8BF7\u8054\u7CFB ArcGIS \u7CFB\u7EDF\u7BA1\u7406\u5458\u83B7\u53D6\u5E2E\u52A9\u3002",a="\u8FD9\u4E2A\u5DE5\u5177\u662F\u4ECE\u7B14\u8BB0\u672C\u4E2D\u53D1\u5E03\u7684\u3002 \u60A8\u7684\u7EC4\u7EC7\u65E0\u6CD5\u8BBF\u95EE ArcGIS Notebooks\u3002 \u8BF7\u8054\u7CFB\u60A8\u7684\u7BA1\u7406\u5458\u6765\u8C03\u6574\u8BBE\u7F6E\u3002",r="${ dataPath } \u4E0D\u80FD\u6709 ${ additionalProperty }\u3002",t="${ dataPath } \u5FC5\u987B\u4E0E\u4E0B\u5217\u5404\u9879\u4E4B\u4E00\u7684\u65B9\u6848\u5339\u914D\uFF1A${ schemaOptions }\u3002",o="\u8BF7\u5C1D\u8BD5\u518D\u6B21\u4FDD\u5B58\u8BE5\u5730\u56FE\u3002",s="\u914D\u989D\u4F30\u7B97\u5931\u8D25\u3002 \u5411\u4E0B\u6EDA\u52A8\uFF0C\u66F4\u6B63\u9519\u8BEF\uFF0C\u7136\u540E\u518D\u6B21\u4F30\u7B97\u914D\u989D\u3002",i="\u8FD0\u884C\u5206\u6790\u65F6\u51FA\u9519\u3002",l="${ dataPath } \u5FC5\u987B\u7B49\u4E8E\u4EE5\u4E0B\u5141\u8BB8\u503C\u4E4B\u4E00\uFF1A${ allowedValues }\u3002",d="\u65E0\u6CD5\u4FDD\u5B58\u5206\u6790\u5386\u53F2\u8BB0\u5F55",n="\u5386\u53F2\u8BB0\u5F55\u5B58\u50A8\u5DF2\u6EE1\u3002 \u8BF7\u4ECE\u5206\u6790\u5386\u53F2\u8BB0\u5F55\u4E2D\u79FB\u9664\u4E00\u4E9B\u9879\u76EE\u5E76\u5C1D\u8BD5\u518D\u6B21\u4FDD\u5B58\u3002",c="\u670D\u52A1\u540D\u79F0\u5305\u542B\u4E00\u4E2A\u6216\u591A\u4E2A\u65E0\u6548\u5B57\u7B26\u3002",m="\u5C06\u4E34\u65F6\u56FE\u5C42\u4FDD\u5B58\u4E3A\u672A\u5B8C\u6210\u7684\u6258\u7BA1\u8981\u7D20\u56FE\u5C42\u3002",u="\u65E0\u6CD5\u83B7\u53D6\u5173\u952E\u5C5E\u6027\u3002",E="\u65E0\u6CD5\u52A0\u8F7D\u56FE\u5C42\u3002",h="\u56FE\u5C42\u4E0D\u53EF\u7528\u3002",y="${ dataPath } \u5305\u542B\u7684\u9879\u76EE\u6570\u91CF\u4E0D\u5E94\u591A\u4E8E ${ limit } \u4E2A\u3002",P="\u4FDD\u5B58\u6A21\u578B\u65F6\u53D1\u751F\u9519\u8BEF\u3002 \u8BF7\u518D\u6B21\u5C1D\u8BD5\u4FDD\u5B58\u3002",p="${ dataPath } \u5305\u542B\u7684\u9879\u76EE\u6570\u91CF\u4E0D\u5E94\u5C11\u4E8E ${ limit } \u4E2A\u3002",S="${ dataPath } \u4E0D\u5E94\u77ED\u4E8E ${ limit } \u4E2A\u5B57\u7B26\u3002",$="\u65E0\u6CD5\u52A0\u8F7D\u6A21\u578B\u9879\u3002 \u786E\u4FDD\u6A21\u578B\u5B58\u5728\u5E76\u4E14\u5DF2\u6388\u4E88\u8BBF\u95EE\u6743\u9650\u3002",v="\u65E0\u6CD5\u5B8C\u6210\u8BF7\u6C42\u3002",f="\u60A8\u6CA1\u6709\u8FD0\u884C\u6B64\u5DE5\u5177\u7684\u6743\u9650\u3002 <calcite-link target='_blank' href='${ docLink }'>\u4E86\u89E3\u8BE6\u7EC6\u4FE1\u606F</calcite-link>",F="\u65E0\u6CD5\u767B\u5F55\u95E8\u6237\u3002",I="\u65E0\u6CD5\u8BFB\u53D6\u8F93\u5165\u6570\u636E\u3002",k="${ dataPath } \u7F3A\u5C11\u540D\u4E3A ${ missingProperty } \u7684\u5C5E\u6027\u3002",T="\u5DF2\u5B58\u5728\u5177\u6709\u6B64\u540D\u79F0\u7684\u7ED3\u679C\u56FE\u5C42\u3002 \u5728\u6574\u4E2A\u7EC4\u7EC7\u4E2D\u7ED3\u679C\u56FE\u5C42\u540D\u79F0\u5FC5\u987B\u552F\u4E00\u3002 \u8BF7\u4F7F\u7528\u5176\u4ED6\u540D\u79F0\u3002",L="\u8F93\u51FA\u540D\u79F0\u5305\u542B\u4E00\u4E2A\u6216\u591A\u4E2A\u65E0\u6548\u5B57\u7B26\u3002 <a href='${docLink}' target='_blank'>\u4E86\u89E3\u8BE6\u7EC6\u4FE1\u606F\u3002</a>",b="\u7531\u4E8E\u4E00\u4E2A\u6216\u591A\u4E2A\u65E0\u6548\u5B57\u6BB5\uFF0C\u5C06\u4E34\u65F6\u56FE\u5C42\u53D1\u5E03\u4E3A\u6258\u7BA1\u56FE\u5C42\u5931\u8D25\u3002 \u91CD\u65B0\u8FD0\u884C\u8BE5\u5DE5\u5177\u4EE5\u521B\u5EFA\u5177\u6709\u6709\u6548\u5B57\u6BB5\u7684\u56FE\u5C42\u3002",N="\u4F5C\u4E1A\u63D0\u4EA4\u5931\u8D25\u3002 \u5411\u4E0B\u6EDA\u52A8\uFF0C\u66F4\u6B63\u9519\u8BEF\u5E76\u518D\u6B21\u8FD0\u884C\u8BE5\u5206\u6790\u3002",g="${ dataPath } \u5FC5\u987B\u81F3\u5C11\u5305\u542B\u4E00\u4E2A\u7A7A\u767D\u5B57\u7B26\u3002",C={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,C as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
var H=(c=>(c.H="H",c.M="M",c.L="L",c))(H||{}),O=(c=>(c[c.ALLIGATOR_CRACKING=1]="ALLIGATOR_CRACKING",c[c.BLEEDING=2]="BLEEDING",c[c.BLOCK_CRACKING=3]="BLOCK_CRACKING",c[c.BUMPS_SAGS=4]="BUMPS_SAGS",c[c.CORRUGATION=5]="CORRUGATION",c[c.DEPRESSION=6]="DEPRESSION",c[c.EDGE_CRACKING=7]="EDGE_CRACKING",c[c.REFLECTION_CRACKING=8]="REFLECTION_CRACKING",c[c.LANE_SHOULDER_DROP_OFF=9]="LANE_SHOULDER_DROP_OFF",c[c.LONG_TRANS_CRACKING=10]="LONG_TRANS_CRACKING",c[c.PATCHING_UTIL_CUT_PATCHING=11]="PATCHING_UTIL_CUT_PATCHING",c[c.POLISHED_AGGREGATE=12]="POLISHED_AGGREGATE",c[c.POTHOLES=13]="POTHOLES",c[c.RAILROAD_CROSSING=14]="RAILROAD_CROSSING",c[c.RUTTING=15]="RUTTING",c[c.SHOVING=16]="SHOVING",c[c.SLIPPAGE_CRACKING=17]="SLIPPAGE_CRACKING",c[c.SWELL=18]="SWELL",c[c.RAVELING=19]="RAVELING",c[c.WEATHERING=20]="WEATHERING",c))(O||{});function L(c,n,o,t=!1){let l=Number.parseInt(c),a=H[n],u=Number.parseFloat(o.toString());if(Number.isNaN(u)||u===0)return"";let r=t===!0||t.toString().toLowerCase()==="true",e;switch(l){case 1:e=$;break;case 2:e=k;break;case 3:e=K;break;case 4:e=U;break;case 5:e=F;break;case 6:e=p;break;case 7:e=x;break;case 8:e=B;break;case 9:e=j;break;case 10:e=W;break;case 11:e=q;break;case 12:e=E;break;case 13:e=z;break;case 14:e=J;break;case 15:e=Q;break;case 16:e=X;break;case 17:e=Y;break;case 18:e=Z;break;case 19:e=w;break;case 20:e=T;break}if(e){let C=e(a,Math.log10(u)),s=g(C),f=`${c}|${n}|${s}|${u}`;return r&&(console.log(`Deduct value: ${C}`),console.log(`Rounded deduct value: ${s}`),console.log(`Formatted devduct value (type|severity|roundedDV|density): ${f}`)),f}else return""}function G(c,n=!1){let o=c.indexOf("|")>-1?M(c,n):c.split(",").map(a=>Number.parseFloat(a)),t=n===!0||n.toString().toLowerCase()==="true",l=0;if(o=o.filter(a=>Math.abs(a)>0),o.length>0){let a=D(o,t);a!==void 0&&(l=100-g(a))}return l}function M(c,n){let o={},t=m(c),l=Object.keys(t).filter(a=>Object.keys(t[a]).length>1);return l.length>0&&l.forEach(a=>{let u,r,e,C,s,f;if(Object.keys(t[a]).forEach(d=>{d==="H"?(u=t[a][d].deductValue,C=t[a][d].density):d==="M"?(r=t[a][d].deductValue,s=t[a][d].density):(e=t[a][d].deductValue,f=t[a][d].density)}),u!==void 0&&r!==void 0&&e!==void 0&&C!==void 0&&s!==void 0&&f!==void 0){let _=(C&&s&&f?V:P)(a,u,r,e,C,s,f,n);_&&(o[a]=_,n&&(console.log("updates"),console.log(o)))}}),b(c,o)}function V(c,n,o,t,l,a,u,r){let e=G(`${n},${o},${t}`,!0);r&&(console.log("pci1"),console.log(e));let C=u+a,s=I(c,"M",C.toString(),n,r),f=a+l,d=I(c,"H",f.toString(),t,r),_=u+l,N=I(c,"H",_.toString(),o,r),v=u+a+l,h=I(c,"H",v.toString(),0,r);r&&(console.log("low med pci2"),console.log(s.pci),console.log("med high pci2"),console.log(d.pci),console.log("low high pci2"),console.log(N.pci),console.log("low med high pci2"),console.log(h.pci));let S=[s,d,N,h].reduce((R,A)=>A.pci>e&&(!R||A.pci>R.pci)?A:R,void 0);return S?S.dv:void 0}function P(c,n,o,t,l,a,u,r){let s=G(`${n||o},${t||o}`,!0);r&&(console.log("pci1"),console.log(s));let f=l||a,_=f+(u||a),v=I(c,f===l?"H":"M",_.toString(),0,r);return r&&(console.log("pci2"),console.log(v.pci)),v.pci>s?v.dv:void 0}function I(c,n,o,t,l){let u=L(c,n,o).split("|"),r=Number.parseFloat(u[2]);return{pci:G(`${u[2]},${t}`,l),dv:t?[r,t]:[r]}}function m(c){return c.split(",").reduce((n,o)=>{let t=o.split("|"),l=t[0],a=t[1],u=Number.parseFloat(t[2]),r=Number.parseFloat(t[3]);return n[l]||(n[l]={}),n[l][a]={deductValue:u,density:r},n},{})}function b(c,n){let o=[];return c.split(",").reduce((t,l)=>{let a=l.split("|"),u=a[0],r=Number.parseFloat(a[2]);return Object.keys(n).length>0&&n[u]?(o.push(u),t.push(...n[u]),delete n[u]):o.indexOf(u)<0&&t.push(r),t},[])}function i(c,n){return n.reduce((o,t,l)=>o+=l===0?t:l===1?t*c:t*Math.pow(c,l),0)}function g(c){return Math.round(c*10)/10}function $(c,n){return i(n,c==="H"?[30.71,29.22,9.407,-6.981,-2.158,3.047,-.6578]:c==="M"?[21.62,21.32,5.194,-1.343,.2341]:[11.31,16.05,7.572,-1.471])}function k(c,n){return i(n,c==="H"?[5.343,6.927,7.926,4.265,-.7582]:c==="M"?[2.38,5.483,4.128,.8366,.03659,.1052]:[.01391,.5079,1.576,1.191,.1329,.03823])}function K(c,n){return i(n,c==="H"?[7.926,11.93,8.826,3.432,-1.382]:c==="M"?[2.587,9.142,6.647,-.455,-.2439,.1107]:[.646,4.002,4.2,.4987,-.06269])}function U(c,n){return i(n,c==="H"?[52.77,38.07,8.964,-.4148,-1.589,2.478]:c==="M"?[24.66,27.86,15.73,3.295,-5.27,5.921,7.959]:[8.768,13.79,7.064,7.455,6.041,-1.739,-1.371])}function F(c,n){return i(n,c==="H"?[34.21,21.59,1.863,6.141,-.687,-1.885,.4916]:c==="M"?[15.78,19.69,6.276,-2.124,.5868,.06045]:[2.173,5.609,5.976,-.7348,-.2172,1.494,-.5659])}function p(c,n){return i(n,c==="H"?[17.84,5.904,9.406,18.28,-2.753,-7.798,2.402]:c==="M"?[8.471,3.171,10.25,12.2,-.9687,-4.601,1.079]:[4.836,-.7572,4.786,12.39,1.233,-4.871,.9749])}function x(c,n){return i(n,c==="H"?[14.99,13.5,10.62,5.15,-1.792,-2.826]:c==="M"?[9.177,10.26,5.704,-.6812,-.8588,.2123]:[3.049,4.802,4.058,-.3556,-1.55,1.02])}function B(c,n){return i(n,c==="H"?[14.99,17.21,27.63,31.13,-20.94,-18.82,9.985]:c==="M"?[9.9193,10.88,8.073,14.8,-3.792,-9.583,3.651]:[2.356,6.664,3.717,-1.393,1.94,1.785,-.9707])}function j(c,n){return i(n,c==="H"?[7.549,6.907,7.284,9.304,2.064]:c==="M"?[4.02,1.744,14.36,15.92,-40.22,23.6]:[2.004,1.065,9.706,11.75,-27.52,15.04])}function W(c,n){return i(n,c==="H"?[19.56,24.06,12.12,9.336,1.532,-4.396]:c==="M"?[9.751,15.53,4.719,1.369,1.206,-1.164]:[2.347,9.074,8.424,-1.338,-1.873,1.144])}function q(c,n){return i(n,c==="H"?[20.15,16.55,5.415,10.77,3.257,-4.502]:c==="M"?[10.28,12.71,6.174,1.928,.6923,-.4673]:[2.523,6.892,5.702,2.407,.2185,-.8722])}function E(c,n){return i(n,c==="H"||c==="M"||c==="L"?[3.417,-26.82,71.15,-76.22,38.52,-6.904]:[])}function z(c,n){return i(n,c==="H"?[110.7,60.66,2.378,-2.664]:c==="M"?[90.47,60.41,-.1123,-4.746]:[58.19,40.53,2.884,-1.443,.1195])}function J(c,n){return i(n,c==="H"?[20,38.64,-62.82,193.6,-162.7,41.22]:c==="M"?[6.994,23.47,-52.3,167.3,-143.6,37.64]:[1.998,-.7488,13.8,-.7917,-1.981])}function Q(c,n){return i(n,c==="H"?[27.61,25.19,8.557,1.65,-2.203]:c==="M"?[18.47,20.77,6.617,-1.13,-2.286]:[8.833,14.84,3.129,.1451,2.438,-1.279])}function X(c,n){return i(n,c==="H"?[18.7,20.17,10.3,4.694,1.331,-2.61]:c==="M"?[10.39,14.78,5.488,4.001,3.23,-2.387]:[4.002,10.66,6.332,-.5226,-.1923])}function Y(c,n){return i(n,c==="H"?[19.73,32.21,25.87,-2.871,-10.55,1.496,.7393]:c==="M"?[11.38,18.55,18.38,1.628,-7.596,.5841,.5946]:[5.144,12.95,11.95,-.833,-2.995,1.325,-.2113])}function Z(c,n){return i(n,c==="H"?[34,16.84,-23.09,41.17,-14.84]:c==="M"?[12,15.67,20.59,-28.33,21,-5.508]:[1.995,11.9,-12.83,16.74,-5.361])}function w(c,n){return i(n,c==="H"?[16.77,10.67,5.758,12.9,-.0633,-5.659,1.48]:c==="M"?[8.512,5.106,1.63,3.469,1.028,-1.211,.1938]:[])}function T(c,n){return i(n,c==="H"?[3.673,3.349,2.598,-1.233,2.754,2.434,-1.485]:c==="M"?[1.12,.9769,.93,-.5955,1.041,1.111,-.614]:[-.0386,-.0736,.834,1.63,-.0287,-.639,.1515])}function D(c,n){let o,t=c.filter(l=>l>2);if(t.length<=1)o=t.reduce((l,a)=>(l+=a,l),0),n&&(console.log("If none or only one individual deduct value is greater"),console.log("than two, the total value is used in place of the maximum CD"),console.log(`Max CDV: ${o}`));else{let l=c.sort((r,e)=>e-r),a=l[0],u=1+9/98*(100-a);if(n&&(console.log(`Deduct values sorted in descending order: ${l}`),console.log(`Highest deduct value: ${a}`),console.log(`Allowable number of deducts including fractions: ${u}`)),u<=10){let r=y(l,u);n&&console.log(`Reduce deduct values to the m largest including the fractional part: ${r}`);let e=cc(r,n);o=Math.max(...e),n&&console.log(`Max CDV: ${o}`)}else n&&console.log("Allowable number of deducts including fractions (must be less than or equal to ten)")}return o}function y(c,n){let o=n-Math.floor(n);return c.length<n?c:c.reduce((t,l,a)=>(a+1<n?t.push(l):o>0&&t.push(g(l*o)),t),[])}function cc(c,n){let o=c.length,t=[];for(;o>=1;)n&&console.log(`vals: ${c}`),t.push(nc(c,n)),o-=1,c.splice(o,1,2);return t}function nc(c,n){let o=c.reduce((l,a)=>l+=a,0),t=c.reduce((l,a)=>a>2?l+1:l,0);return oc(o,t,n)}function oc(c,n,o){let l=i(c,{7:[-9.482,.6045,3563e-7,-5448e-9],6:[-8.165,.5724,4266e-7,-4254e-9],5:[-7.932,.6091,3464e-7,-4265e-9],4:[-6.78,.6301,7376e-7,-6357e-9],3:[-5.015,.7546,-43e-5,-3075e-9],2:[-1.668,.7992,-3013e-7,-5214e-9],1:[1651e-18,1,-4249e-21,1149e-22]}[n>=7?7:n]);return o&&(console.log(`totalDV: ${c}`),console.log(`q: ${n}`),console.log(`CDV: ${l}`)),l}export{H as a,O as b,L as c,G as d};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import{a,b}from"./P5F6E4BB.js";import"./WFIOSSYN.js";import"./KXCASIUR.js";import"./FT22BE2Q.js";import"./RVQYDMMJ.js";import"./4MFPZMLB.js";import"./OBI4A4AA.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import"./OBI4A4AA.js";var e="U hebt niet genoeg credits om deze actie uit te voeren. Neem contact op met uw ArcGIS-systeembeheerder voor ondersteuning.",a="Deze tool is gepubliceerd vanaf een notebook. Toegang tot ArcGIS Notebooks is geblokkeerd voor uw organisatie. Neem contact op met uw beheerders om de instelling aan te passen.",t="${ dataPath } mag geen ${ additionalProperty } hebben.",r="${ dataPath } moet overeenkomen met het schema van een van deze: ${ schemaOptions }.",n="Probeer de kaart opnieuw op te slaan.",o="Kredietraming is mislukt. Scroll omlaag, corrigeer de fouten en voer een nieuwe kredietraming uit.",i="Er is een fout opgetreden bij het uitvoeren van de analyse.",s="${ dataPath } moet gelijk zijn aan een van deze toegelaten waarden: ${ allowedValues }.",l="Kan analysegeschiedenis niet opslaan",d="Het geschiedenisarchief is vol. Verwijder een paar items uit de analysegeschiedenis en probeer opnieuw op te slaan.",m="De naam van de service bevat een of meer ongeldige tekens.",g="Het opslaan van de tijdelijke laag als gehoste feature layer is niet voltooid.",u="Belangrijkste eigenschappen krijgen mislukt.",c="Kaartlaag laden mislukt.",h="Laag is niet beschikbaar",v="${ dataPath } mag niet meer dan ${ limit } items hebben.",p="Er is een fout opgetreden bij het opslaan van het model. Probeer opnieuw op te slaan.",k="${ dataPath } mag niet minder dan ${ limit } items hebben.",b="${ dataPath } mag niet korter zijn dan ${ limit } tekens.",E="Kan het modelitem niet laden. Controleer of het model bestaat en dat er toegangsmachtigingen zijn verleend.",f="Voltooien van verzoek is mislukt.",y="U bent niet gemachtigd voor het uitvoeren van deze tool. <calcite-link target='_blank' href='${ docLink }'>Meer informatie</calcite-link>",P="Kan niet inloggen bij portal.",S="Kan invoergegevens niet lezen.",w="${ dataPath } mist een eigenschap met de naam ${ missingProperty }.",$="Er bestaat al een resultaatlaag met deze naam. Resultaatlagen moeten uniek zijn binnen de organisatie. Gebruik een andere naam.",j="De uitvoernaam bevat een of meer ongeldige tekens. <a href='${docLink}' target='_blank'>Meer informatie.</a>",F="Het publiceren van de tijdelijke laag als een gehoste laag is mistlukt als gevolg van een of meer ongeldige velden. Voer de tool opnieuw uit om een laag met geldige velden te maken.",I="Taakindiening is mislukt. Scroll omlaag, corrigeer de fouten en voer de analyse opnieuw uit.",T="${ dataPath } moet minstens \xE9\xE9n non-whitespace teken hebben.",z={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:o,defaultError:i,enumValues:s,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:g,keyPropertiesError:u,layerLoadFailure:c,layerUnavailable:h,maxItems:v,mbFailedToSave:p,minItems:k,minLength:b,modelNotFound:E,networkError:f,noPermissionToAccessTool:y,portalLoadError:P,queryFeaturesError:S,requiredProperty:w,serviceNameExistsError:$,specialCharactersInServiceNameError:j,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,o as creditEstimationError,z as default,i as defaultError,s as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,g as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,c as layerLoadFailure,h as layerUnavailable,v as maxItems,p as mbFailedToSave,k as minItems,b as minLength,E as modelNotFound,f as networkError,y as noPermissionToAccessTool,P as portalLoadError,S as queryFeaturesError,w as requiredProperty,$ as serviceNameExistsError,j as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
var r;(function(e){e.simple="simple",e.informational="informational"})(r||(r={}));var l;(function(e){e.small="s",e.medium="m",e.large="l"})(l||(l={}));var n;(function(e){e.before="before",e.after="after",e.below="below"})(n||(n={}));var i;(function(e){e.none="none",e.icon="icon"})(i||(i={}));var o;(function(e){e.caretUp="caret-up",e.caretDown="caret-down",e.caretDouble="caret-double-horizontal"})(o||(o={}));var t;(function(e){e.dynamic="dynamic",e.static="static",e.itemQuery="itemQuery"})(t||(t={}));var u;(function(e){e.start="start",e.center="center",e.end="end"})(u||(u={}));var p;(function(e){e.square="square",e.round="round"})(p||(p={}));var a;(function(e){e.none="none",e.low="low",e.medium="medium",e.heavy="heavy"})(a||(a={}));var s;(function(e){e.h1="h1",e.h2="h2",e.h3="h3",e.h4="h4",e.h5="h5",e.h6="h6"})(s||(s={}));var d={type:"object",required:[],properties:{type:{type:"string",enum:Object.keys(t),default:t.dynamic},cardTitle:{type:"string"},value:{},valueType:{type:"string",default:"string",enum:["string","number","date"]},dynamicMetric:{type:"object"},allowUnitFormatting:{type:"boolean",default:!1},unit:{type:"string"},unitPosition:{type:"string",default:n.after,enum:Object.keys(n)},serverTimeout:{type:"number",maximum:95,minimum:5,default:10},subtitle:{type:"string"},trailingText:{type:"string"},textAlign:{type:"string",default:u.start},allowLink:{type:"boolean",default:!1},allowDynamicLink:{type:"boolean",default:!0},sourceLink:{type:"string"},sourceTitle:{type:"string"},valueColor:{type:"string"},layout:{type:"string",default:r.simple,enum:Object.keys(r)},dropShadow:{type:"string",default:a.none,enum:Object.keys(a)},icon:{type:"string",default:o.caretUp,enum:Object.values(o)},visualInterest:{type:"string",default:i.none,enum:Object.keys(i)},shareable:{type:"boolean",default:!1},shareableByValue:{type:"boolean",default:!1},shareableOnHover:{type:"boolean",default:!0},popoverText:{type:"string"},publisherText:{type:"string"}},allOf:[{$ref:"#/definitions/if-source-title-then-source-link"},{$ref:"#/definitions/value-type-value-mapping"},{$ref:"#/definitions/if-static-then-url-format"}],definitions:{"if-source-title-then-source-link":{if:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]},then:{required:["sourceLink"]}},"value-type-value-mapping":{if:{type:"object",properties:{valueType:{enum:["string","date"]}}},then:{type:"object",properties:{value:{type:"string"}}},else:{type:"object",properties:{value:{type:"number"}}}},"if-static-then-url-format":{if:{type:"object",properties:{type:{const:t.static}}},then:{type:"object",properties:{sourceLink:{format:"url"}}}}}};export{o as a,t as b,d as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import"./OBI4A4AA.js";var e="\u60A8\u6C92\u6709\u8DB3\u5920\u7684\u9EDE\u6578\u4F86\u57F7\u884C\u6B64\u64CD\u4F5C\u3002 \u806F\u7D61 ArcGIS \u7CFB\u7D71\u7BA1\u7406\u54E1\u4EE5\u53D6\u5F97\u5354\u52A9\u3002",a="\u6B64\u5DE5\u5177\u662F\u5F9E\u7B46\u8A18\u672C\u767C\u4F48\u7684\u3002 \u60A8\u7684\u7D44\u7E54\u5C0D ArcGIS Notebooks \u7684\u5B58\u53D6\u88AB\u5C01\u9396\u3002 \u8ACB\u806F\u7D61\u60A8\u7684\u7BA1\u7406\u54E1\u4EE5\u8ABF\u6574\u8A2D\u5B9A\u3002",r="${ dataPath } \u4E0D\u80FD\u6709 ${ additionalProperty }\u3002",t="${ dataPath } \u5FC5\u9808\u7B26\u5408\u4E0B\u5217\u5176\u4E2D\u4E00\u9805\u7D50\u69CB\u63CF\u8FF0: ${ schemaOptions }\u3002",o="\u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u5730\u5716\u3002",s="\u9EDE\u6578\u4F30\u8A08\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u4F30\u8A08\u9EDE\u6578\u3002",i="\u57F7\u884C\u5206\u6790\u6642\u767C\u751F\u932F\u8AA4\u3002",l="${ dataPath } \u5FC5\u9808\u7B49\u65BC\u4E0B\u5217\u5176\u4E2D\u4E00\u500B\u5141\u8A31\u503C: ${ allowedValues }\u3002",d="\u7121\u6CD5\u5132\u5B58\u5206\u6790\u6B77\u7A0B\u8A18\u9304",n="\u6B77\u7A0B\u8A18\u9304\u5132\u5B58\u9AD4\u6EFF\u6EA2\u3002 \u5F9E\u5206\u6790\u6B77\u53F2\u8A18\u9304\u4E2D\u79FB\u9664\u4E00\u4E9B\u9805\u76EE\u4E26\u5617\u8A66\u518D\u6B21\u5132\u5B58\u3002",c="\u670D\u52D9\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002",m="\u5C07\u81E8\u6642\u5716\u5C64\u5132\u5B58\u70BA\u8A17\u7BA1\u5716\u5FB5\u5716\u5C64\u672A\u5B8C\u6210\u3002",u="\u7121\u6CD5\u53D6\u5F97\u91D1\u9470\u5C6C\u6027\u3002",E="\u7121\u6CD5\u8F09\u5165\u5716\u5C64\u3002",h="\u5716\u5C64\u7121\u6CD5\u4F7F\u7528\u3002",y="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u591A\u65BC ${ limit } \u500B\u3002",P="\u5132\u5B58\u6A21\u578B\u6642\u767C\u751F\u932F\u8AA4\u3002 \u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u3002",p="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u5C11\u65BC ${ limit } \u500B\u3002",S="${ dataPath } \u4E0D\u61C9\u77ED\u65BC ${ limit } \u500B\u5B57\u5143\u3002",$="\u7121\u6CD5\u8F09\u5165\u6A21\u578B\u9805\u76EE\u3002 \u78BA\u5B9A\u6A21\u578B\u5B58\u5728\uFF0C\u4E26\u4E14\u5DF2\u6388\u4E88\u5B58\u53D6\u6B0A\u9650\u3002",v="\u7121\u6CD5\u5B8C\u6210\u8ACB\u6C42\u3002",f="\u60A8\u6C92\u6709\u57F7\u884C\u6B64\u5DE5\u5177\u7684\u6B0A\u9650\u3002 <calcite-link target='_blank' href='${ docLink }'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A</calcite-link>",F="\u7121\u6CD5\u767B\u5165\u5230\u5165\u53E3\u7DB2\u7AD9\u3002",I="\u7121\u6CD5\u8B80\u53D6\u8F38\u5165\u8CC7\u6599\u3002",k="${ dataPath } \u7F3A\u5C11\u540D\u70BA ${ missingProperty } \u7684\u5C6C\u6027\u3002",T="\u5DF2\u5B58\u5728\u6B64\u540D\u7A31\u7684\u7D50\u679C\u5716\u5C64\u3002 \u7D50\u679C\u5716\u5C64\u5728\u6574\u500B\u7D44\u7E54\u4E2D\u5FC5\u9808\u6709\u552F\u4E00\u540D\u7A31\u3002 \u8ACB\u4F7F\u7528\u4E0D\u540C\u7684\u540D\u7A31\u3002",L="\u8F38\u51FA\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002 <a href='${docLink}' target='_blank'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A\u3002</a>",b="\u7531\u65BC\u4E00\u6216\u591A\u500B\u7121\u6548\u6B04\u4F4D\uFF0C\u5C07\u81E8\u6642\u5716\u5C64\u767C\u4F48\u70BA\u8A17\u7BA1\u5716\u5C64\u5931\u6557\u3002 \u91CD\u65B0\u57F7\u884C\u5DE5\u5177\u4EE5\u5EFA\u7ACB\u5177\u5099\u6709\u6548\u6B04\u4F4D\u7684\u5716\u5C64\u3002",N="\u5DE5\u4F5C\u63D0\u4EA4\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u57F7\u884C\u5206\u6790\u3002",g="${ dataPath } \u81F3\u5C11\u5FC5\u9808\u6709\u4E00\u500B\u975E\u7A7A\u767D\u5B57\u5143\u3002",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import{a as n}from"./TPC7NEBD.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as p}from"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import{a as p}from"./T7D3VOZH.js";import{a as n}from"./F2O4WKM6.js";var l=1,f=e=>[{orgid:[e]},{type:{not:["Code Attachment"]}}],u=e=>[{orgId:e}],O={item:f,event:u};function j(e){if(n(e,"schemaVersion")===l)return e;{let t=p(e);return t=d(t),t}}function d(e){if(n(e,"schemaVersion")>1)return e;{let t={schemaVersion:1,title:"Default Catalog",scopes:{item:{targetEntity:"item",filters:[]},event:{targetEntity:"event",filters:[]}},collections:[]},s=n(e,"groups")||[],c=[];Array.isArray(s)&&s.length?c=s:typeof s=="string"&&(c=[s]),c.length&&(t.scopes=Object.entries(t.scopes).reduce((o,r)=>Object.assign(Object.assign({},o),{[r[0]]:Object.assign(Object.assign({},r[1]),{filters:[{predicates:[{group:c}]}]})}),{}));let i=n(e,"orgId");return i&&(t.scopes=Object.entries(t.scopes).reduce((o,r)=>{let a=r[0],g=r[1];return Object.assign(Object.assign({},o),{[a]:Object.assign(Object.assign({},g),{filters:[...g.filters,{operation:"AND",predicates:O[a](i)}]})})},{})),t}}export{j as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import b from"./4WNXJSEW.js";import a from"./IJ245FDS.js";import{a as $}from"./NCOWGV7K.js";import{a as L}from"./JISBULOQ.js";import{b as I}from"./7AEU6P43.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{G as d,I as h,i as n,t as u}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([,{e:i,f:f,h:C,j:k,m:c}])=>{var y="instant-apps-language-translator",O={lastItem:`${y}--last-item`},g=class extends d{constructor(){super(...arguments),this._messages=L({name:"instant-apps-language-translator",blocking:!0})}static{this.shadowRootOptions=u}render(){return k(this.el?.parentElement?.locales)?.length>0?this.renderUIData():this.renderNotice()}renderUIData(){if(!i?.uiData)return;let a=C();return n`<div>${a?.map((e,s)=>this.renderUIDataItem(e,s,a.length))}</div>`}renderUIDataItem(a,e,s){let r=this.el.parentElement,m=r.appSettings,b=m?.translatedLanguageLabels?.[i.currentLanguage],v=e===s-1?O.lastItem:"",D=m.content.find(t=>t.id===a);return $(`${a}-${e}`,n`<instant-apps-language-translator-item class=${h(v)} .fieldName=${a} .translatedLanguageLabels=${b} .setting=${D} .userLocaleInputOnChangeCallback=${async(t,l)=>{try{await r.userLocaleInputOnChangeCallback(t,l);let o=f.get("portalItemResource");c(o)}catch{}}} .translatedLocaleInputOnChangeCallback=${async(t,l,o,p)=>{try{await r.translatedLocaleInputOnChangeCallback(t,l,o,p),c(p)}catch{}}}></instant-apps-language-translator-item>`)}renderNotice(){let a=this._messages.noLanguage;return n`<calcite-notice open icon=exclamation-mark-triangle kind=warning><div slot=title>${a?.title}</div><div slot=message>${a?.message}</div></calcite-notice>`}};I("instant-apps-language-translator-content",g);return g},a,b)
|