@esri/solutions-components 1.2.0-next.12 → 1.2.0-next.14
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/{A6UAK3NB.js → 275D3YQA.js} +2 -2
- package/dist/cdn/{DVPSYCHQ.js → 27I2DU2C.js} +2 -2
- package/dist/cdn/{WVCB3UCK.js → 27JI2VQ2.js} +2 -2
- package/dist/cdn/{SWP2URKV.js → 27LWIDZP.js} +2 -2
- package/dist/cdn/{WWHNRE5D.js → 2AN7ELSH.js} +2 -2
- package/dist/cdn/{F5AX56BO.js → 2AXIORVV.js} +1 -1
- package/dist/cdn/{I6SBOL3I.js → 2DGB5L7S.js} +1 -1
- package/dist/cdn/2JNJ6NTC.js +18 -0
- package/dist/cdn/{VR5BXTSI.js → 2KKY4D26.js} +2 -2
- package/dist/cdn/{5T4R7E2N.js → 2NEXO4CL.js} +2 -2
- package/dist/cdn/{KYJSQUTW.js → 2PQ2DS43.js} +2 -2
- package/dist/cdn/{PUITVZY4.js → 2UWPI3SL.js} +1 -1
- package/dist/cdn/{RSHDS4TF.js → 32CJQFYT.js} +1 -1
- package/dist/cdn/{CMJKMVQY.js → 32KLJCZ5.js} +2 -2
- package/dist/cdn/{6ZPQA647.js → 35FQADFO.js} +3 -3
- package/dist/cdn/{EPJEWGJS.js → 3I7S3ZV4.js} +2 -2
- package/dist/cdn/{TXTSJOWY.js → 3JGSO6KR.js} +2 -2
- package/dist/cdn/{PIC5CO66.js → 3JLPYT3H.js} +2 -2
- package/dist/cdn/{SH7U7LIP.js → 3QPYBQCK.js} +3 -3
- package/dist/cdn/{NVCYWUCC.js → 3R72A4LX.js} +2 -2
- package/dist/cdn/{ETQVNI2F.js → 3SZTNCCQ.js} +2 -2
- package/dist/cdn/{7VYIWHIR.js → 3TZNTRGM.js} +2 -2
- package/dist/cdn/{KPSEV6N2.js → 3XM3G7I5.js} +1 -1
- package/dist/cdn/{EZPPHIOL.js → 47HZO7HH.js} +2 -2
- package/dist/cdn/4DG5M3F4.js +4 -0
- package/dist/cdn/{6BKEDJKD.js → 4DHQUG3W.js} +2 -2
- package/dist/cdn/{EU765NYY.js → 4FALCKMG.js} +2 -2
- package/dist/cdn/4GUQBFYH.js +18 -0
- package/dist/cdn/4MS4GKD3.js +18 -0
- package/dist/cdn/{DMZEV3QL.js → 4VTYPOLQ.js} +1 -1
- package/dist/cdn/{ER5N4SED.js → 4WWV5LXT.js} +2 -2
- package/dist/cdn/{U2AH6HCX.js → 4X6WXZQL.js} +2 -2
- package/dist/cdn/{OWAKZB2C.js → 4XVIRWML.js} +2 -2
- package/dist/cdn/{PYAAGHCO.js → 4Z3GVHCU.js} +2 -2
- package/dist/cdn/{AOLALLVT.js → 55PIVHXI.js} +2 -2
- package/dist/cdn/{HARWKHLL.js → 55SZWBDG.js} +3 -3
- package/dist/cdn/{4RHFO4TW.js → 57VUM2OX.js} +2 -2
- package/dist/cdn/{GASRMGF3.js → 5AGT5STX.js} +3 -3
- package/dist/cdn/{3O74T2BW.js → 5BLRWVVT.js} +2 -2
- package/dist/cdn/5BPJLXIU.js +4 -0
- package/dist/cdn/{RDTOYXUO.js → 5D6QFA7E.js} +2 -2
- package/dist/cdn/{6PZUE6IO.js → 5EVX3HTC.js} +2 -2
- package/dist/cdn/5LY5OONV.js +18 -0
- package/dist/cdn/{X4RBG23P.js → 5M3POXXX.js} +2 -2
- package/dist/cdn/{BECTXYQR.js → 5OZ5KLPF.js} +2 -2
- package/dist/cdn/{LVFQXSDW.js → 5VS5R36W.js} +2 -2
- package/dist/cdn/{QCMIJZGN.js → 64IH7HAU.js} +2 -2
- package/dist/cdn/{CPG2Y2W7.js → 64KLEAWB.js} +2 -2
- package/dist/cdn/{M4CWB45H.js → 67YBSQOW.js} +2 -2
- package/dist/cdn/{2YWHJCLQ.js → 6BYQHGKG.js} +2 -2
- package/dist/cdn/6CH6MP7M.js +18 -0
- package/dist/cdn/{TJGX5XSU.js → 6HZDA6VL.js} +2 -2
- package/dist/cdn/{HBNOQKMZ.js → 6KL3NJRR.js} +1 -1
- package/dist/cdn/{4WBQWYHY.js → 6KMU4IZC.js} +2 -2
- package/dist/cdn/{5DRKNWXM.js → 6MQTHJAJ.js} +2 -2
- package/dist/cdn/{PT3PZ3UQ.js → 6NTONBY4.js} +2 -2
- package/dist/cdn/6OXM73V7.js +4 -0
- package/dist/cdn/{J3XGJZHY.js → 6PK752UJ.js} +2 -2
- package/dist/cdn/{F5JDDSKB.js → 6UQXA4EH.js} +2 -2
- package/dist/cdn/{DWMTPMTE.js → 77F3Y4SZ.js} +2 -2
- package/dist/cdn/{AQZGTNDN.js → 7BLXQDEK.js} +2 -2
- package/dist/cdn/{RDTPIHCU.js → 7C563I5Y.js} +2 -2
- package/dist/cdn/{556HOOAI.js → 7FDUBCB6.js} +2 -2
- package/dist/cdn/{DKWW6TDI.js → 7HCS7QDO.js} +2 -2
- package/dist/cdn/{WT4JGTP5.js → 7INSFWLF.js} +2 -2
- package/dist/cdn/{7BA3EETU.js → 7RXY54AE.js} +2 -2
- package/dist/cdn/{WGZYM5TX.js → 7SYXERJO.js} +1 -1
- package/dist/cdn/7WEJILVE.js +4 -0
- package/dist/cdn/{6IWGTNZ4.js → 7XLXELEX.js} +2 -2
- package/dist/cdn/{J6I3BI3Z.js → A437YTBB.js} +2 -2
- package/dist/cdn/{VHFFLFX3.js → AADW5ILT.js} +2 -2
- package/dist/cdn/{HLNHH2W3.js → ACRHJFIK.js} +2 -2
- package/dist/cdn/{BNMCJ4MT.js → AFVKHRR2.js} +3 -3
- package/dist/cdn/AKYVL4SJ.js +18 -0
- package/dist/cdn/{HZ2P2WXN.js → AOB5K76I.js} +2 -2
- package/dist/cdn/{I5NAGGEE.js → AROFWN7J.js} +2 -2
- package/dist/cdn/{VX6NO6UP.js → ATHCVVJJ.js} +1 -1
- package/dist/cdn/{7P6BX7E4.js → AU5GOE2S.js} +1 -1
- package/dist/cdn/{YCD665BP.js → AUHY5KDY.js} +2 -2
- package/dist/cdn/{AJZZG5L2.js → AVGRHD4G.js} +2 -2
- package/dist/cdn/{W4LG25Z4.js → B6MXVUM7.js} +3 -3
- package/dist/cdn/{SP2Q4NT6.js → BH44LJSG.js} +2 -2
- package/dist/cdn/{4C2LNWD6.js → BMZSYER5.js} +1 -1
- package/dist/cdn/{WBTHCVQF.js → BNGZYVGD.js} +2 -2
- package/dist/cdn/{O3KQ6Y6F.js → BPZYGUMF.js} +2 -2
- package/dist/cdn/{VBQTZTKH.js → BT3PZ755.js} +1 -1
- package/dist/cdn/{Q53UUWOH.js → BZ2BCVFJ.js} +2 -2
- package/dist/cdn/{PR3RF7M4.js → BZGPGXVO.js} +2 -2
- package/dist/cdn/{VXSM5QR4.js → C44APEWJ.js} +2 -2
- package/dist/cdn/{3Y6POPNT.js → CAOSAERX.js} +2 -2
- package/dist/cdn/{PH5PMG7G.js → CDKJFB3T.js} +2 -2
- package/dist/cdn/{IZMEDDJ7.js → CFSE4FBZ.js} +2 -2
- package/dist/cdn/{MBKQOC4C.js → CJQCUJAM.js} +2 -2
- package/dist/cdn/{A52BJ3BN.js → CKNLHB2K.js} +3 -3
- package/dist/cdn/{SLFXAXL7.js → CNYLCR6J.js} +2 -2
- package/dist/cdn/{PPARIX3H.js → CRJF3MOM.js} +2 -2
- package/dist/cdn/{DATKNLPV.js → CS2LIBSE.js} +2 -2
- package/dist/cdn/{L3HZ5XQK.js → CUJAQZ7Q.js} +2 -2
- package/dist/cdn/{6MY2W6GE.js → CVHMFFUJ.js} +2 -2
- package/dist/cdn/CWUQXXM2.js +4 -0
- package/dist/cdn/{5MMBDZVF.js → DA6O63VU.js} +2 -2
- package/dist/cdn/{AY34LEQJ.js → DDORSIZO.js} +2 -2
- package/dist/cdn/{46WCESWZ.js → DEHAUXXO.js} +2 -2
- package/dist/cdn/{KVGR3ILD.js → DG3J22ET.js} +2 -2
- package/dist/cdn/{BUXOG4XM.js → DGAAG2WP.js} +2 -2
- package/dist/cdn/{BBP6BMFX.js → DGALIRFU.js} +2 -2
- package/dist/cdn/{CRNJDG7E.js → DJIPWE3W.js} +2 -2
- package/dist/cdn/{WEX26FZW.js → DM2QASNK.js} +2 -2
- package/dist/cdn/{TOKM37U3.js → DMLSWP4B.js} +2 -2
- package/dist/cdn/{Y5ADOUXJ.js → DUSKO4ZL.js} +2 -2
- package/dist/cdn/{3CLE7NQM.js → E5356ZMA.js} +2 -2
- package/dist/cdn/{7R7OEZVJ.js → E7X4JPJZ.js} +2 -2
- package/dist/cdn/{EEP7FQZ2.js → ED5F2TPC.js} +1 -1
- package/dist/cdn/{XWWVF6VR.js → EDFQHWSA.js} +2 -2
- package/dist/cdn/{H3KTBU5N.js → EMDJVLHN.js} +2 -2
- package/dist/cdn/{HDHQI2WB.js → ERPKGUIG.js} +2 -2
- package/dist/cdn/{BL3BVTYK.js → EW33PWBK.js} +1 -1
- package/dist/cdn/{47OAGG4H.js → EYYXEXIY.js} +2 -2
- package/dist/cdn/{TS4CBMB4.js → F4ML5DAH.js} +2 -2
- package/dist/cdn/{Y2C2EQVN.js → F4YER46Y.js} +2 -2
- package/dist/cdn/{DHROLZEC.js → F6HR2OXE.js} +2 -2
- package/dist/cdn/{KJRRUGB7.js → F6NAYPRN.js} +2 -2
- package/dist/cdn/{V3DPSJYM.js → FB7AKBYZ.js} +2 -2
- package/dist/cdn/{VUBCFVLA.js → FC7SCLY3.js} +2 -2
- package/dist/cdn/{7YOPUVEZ.js → FCF6DXVK.js} +2 -2
- package/dist/cdn/{PEX6BIKS.js → FFZOA5VY.js} +2 -2
- package/dist/cdn/{KGE5Z2KB.js → FJLQNJZC.js} +2 -2
- package/dist/cdn/{JLZEMRVJ.js → FLMHLO43.js} +2 -2
- package/dist/cdn/{5QC6BGFF.js → FQUI4DDD.js} +2 -2
- package/dist/cdn/{I6FWBDMC.js → FRA2DQWF.js} +2 -2
- package/dist/cdn/{XJZMY3OI.js → FRWCYHC7.js} +2 -2
- package/dist/cdn/{RV6BTKGN.js → G3LGAMBQ.js} +2 -2
- package/dist/cdn/{4KD77TI4.js → G57QOE4P.js} +2 -2
- package/dist/cdn/{RVJS4KMU.js → G5TP26AI.js} +2 -2
- package/dist/cdn/{P2L2ZPRZ.js → G6MDAFDN.js} +2 -2
- package/dist/cdn/{N2J7PO2U.js → GAYYLVCV.js} +3 -3
- package/dist/cdn/{4ILXIPJB.js → GCFYG2IP.js} +2 -2
- package/dist/cdn/{H4XGYCEK.js → GESWKJMD.js} +2 -2
- package/dist/cdn/{5UEJXZIG.js → GFHDLACH.js} +2 -2
- package/dist/cdn/{IIRMGFPC.js → GG5322XB.js} +2 -2
- package/dist/cdn/{BM22PXXX.js → GICZBA3H.js} +2 -2
- package/dist/cdn/{AF4YTG3T.js → GKDBDC5Q.js} +2 -2
- package/dist/cdn/{VCB77HRY.js → GPTEAVC5.js} +2 -2
- package/dist/cdn/{V6375P2J.js → GRL5XFU3.js} +2 -2
- package/dist/cdn/{UQEUL3DF.js → GZ4MUQVE.js} +2 -2
- package/dist/cdn/{Z7MKRO2D.js → H3D27G4Z.js} +2 -2
- package/dist/cdn/{GGWG433S.js → H7LI4JLZ.js} +1 -1
- package/dist/cdn/{B44X4D5S.js → HAXUZW3B.js} +2 -2
- package/dist/cdn/{LVVEQVWY.js → HCGGITXI.js} +2 -2
- package/dist/cdn/{EWNPSDA2.js → HHCUJ2TU.js} +2 -2
- package/dist/cdn/{G7OSQTOK.js → HKHRMYR3.js} +2 -2
- package/dist/cdn/{SLNIHUC6.js → HU23U4PP.js} +2 -2
- package/dist/cdn/{PPFIAK2D.js → IEGO27TP.js} +2 -2
- package/dist/cdn/{XHC564RC.js → IIDHHI6H.js} +2 -2
- package/dist/cdn/IJBIJEFV.js +18 -0
- package/dist/cdn/{5WRZKY7U.js → IJCGATIB.js} +2 -2
- package/dist/cdn/{CERLLUV3.js → INIUEMX5.js} +2 -2
- package/dist/cdn/{GAKJ4DNH.js → IRZ5Q6P6.js} +2 -2
- package/dist/cdn/{GWYUOS6I.js → IVMQMFER.js} +2 -2
- package/dist/cdn/{LH5B7KT7.js → IXHQQUJE.js} +3 -3
- package/dist/cdn/{IQFJFKCO.js → J4PD5ZQ7.js} +1 -1
- package/dist/cdn/{FOHUUA47.js → JAY4QLVZ.js} +2 -2
- package/dist/cdn/{ZUU3HZSH.js → JE6G7YCF.js} +2 -2
- package/dist/cdn/{4K54GYY4.js → JH3DG6QD.js} +3 -3
- package/dist/cdn/{P5GDH2ST.js → JKJ2E3QC.js} +2 -2
- package/dist/cdn/{NZ5HLWBC.js → JLFUNC3I.js} +2 -2
- package/dist/cdn/{7WGBJA6B.js → JODMPBQI.js} +2 -2
- package/dist/cdn/{STPLMTCK.js → JOSXFLJM.js} +2 -2
- package/dist/cdn/JQONUFIG.js +18 -0
- package/dist/cdn/{W47SOUDK.js → K743ADKQ.js} +2 -2
- package/dist/cdn/{UVVRF7P6.js → K74PB5FR.js} +1 -1
- package/dist/cdn/{UL6OC27X.js → KISPGYCP.js} +2 -2
- package/dist/cdn/{ILIHVGKD.js → KKXIEFPA.js} +2 -2
- package/dist/cdn/{6FO4YAN7.js → KLJWOWTJ.js} +2 -2
- package/dist/cdn/{IF443MUR.js → KQIP55UX.js} +2 -2
- package/dist/cdn/{2GZUSXYH.js → KQWVAVJY.js} +2 -2
- package/dist/cdn/{ARZASPDX.js → KTWF7YEW.js} +2 -2
- package/dist/cdn/{NP4QDQNH.js → KUPVTR4P.js} +2 -2
- package/dist/cdn/{LDKUW6EI.js → KVC6QETL.js} +2 -2
- package/dist/cdn/{WAPSCM5Q.js → KW7MDDY3.js} +1 -1
- package/dist/cdn/{H3MZEDAZ.js → L2KEAIFF.js} +2 -2
- package/dist/cdn/{XAULUYYM.js → L3254555.js} +2 -2
- package/dist/cdn/{6MYWDSLQ.js → L3Q3HM35.js} +1 -1
- package/dist/cdn/{CBOOWC4K.js → L5VACHLZ.js} +2 -2
- package/dist/cdn/{TOFNMQGY.js → LBTMKK7G.js} +2 -2
- package/dist/cdn/{LAWOR3WN.js → LDLY6XKA.js} +2 -2
- package/dist/cdn/{OCGZIEOZ.js → LGVRRCS5.js} +2 -2
- package/dist/cdn/{GDZBIFXO.js → LK5HDTLK.js} +2 -2
- package/dist/cdn/{M65AXZ5G.js → LLKMGYSP.js} +2 -2
- package/dist/cdn/{D7OB7ENK.js → LMAODDCB.js} +2 -2
- package/dist/cdn/{PSYECZ4C.js → LOXYPSQZ.js} +2 -2
- package/dist/cdn/{O5IVRDV6.js → LQZ5FBXA.js} +2 -2
- package/dist/cdn/{ZPTSOCFQ.js → LR4UN32O.js} +2 -2
- package/dist/cdn/{MGYRRS6Z.js → LRR4ZR5H.js} +2 -2
- package/dist/cdn/{UMY33C3F.js → LZ5XRNJU.js} +2 -2
- package/dist/cdn/{O5H5BGS3.js → M35BYI7Y.js} +2 -2
- package/dist/cdn/{WCFCTYNP.js → M3PIEBE5.js} +3 -3
- package/dist/cdn/{2E7WLOKE.js → M7P2ZTLV.js} +2 -2
- package/dist/cdn/{KN7HO52G.js → MDIV2FIJ.js} +2 -2
- package/dist/cdn/{A7G7SRFT.js → MDNDODSS.js} +2 -2
- package/dist/cdn/{EMCCFJY2.js → MJ3U6PJY.js} +2 -2
- package/dist/cdn/{Z6X5YQBP.js → MOSTA2DP.js} +1 -1
- package/dist/cdn/{JRMDQIAC.js → MPNGG3EB.js} +2 -2
- package/dist/cdn/{3ZMLIO2Z.js → MR4CUJA5.js} +2 -2
- package/dist/cdn/{BVS5CJVJ.js → MR7TKHWW.js} +2 -2
- package/dist/cdn/{YMBYDVQX.js → MSOGJSYT.js} +2 -2
- package/dist/cdn/{XMBXJUNJ.js → N3V7I4KP.js} +1 -1
- package/dist/cdn/N5SMXPJM.js +4 -0
- package/dist/cdn/{JISXLU4B.js → N6FSCHMI.js} +2 -2
- package/dist/cdn/{ENTE2FWL.js → NAEHM6JI.js} +2 -2
- package/dist/cdn/{5LCWHTSB.js → NCQJQIGP.js} +2 -2
- package/dist/cdn/{LBL7YXK7.js → NSBCSLHQ.js} +2 -2
- package/dist/cdn/{UZWI2BWH.js → NWFXWOAO.js} +2 -2
- package/dist/cdn/{4ZYCXL6Y.js → NY4VVXOI.js} +2 -2
- package/dist/cdn/{2TS5JRM2.js → NZLIU3NZ.js} +2 -2
- package/dist/cdn/{2BD4G2BY.js → O7XMERIK.js} +2 -2
- package/dist/cdn/{YR4ZQNRK.js → OA5BDZZH.js} +2 -2
- package/dist/cdn/{DAH75NDC.js → OENFSWWX.js} +2 -2
- package/dist/cdn/{73UBKOR7.js → OGINZV2L.js} +1 -1
- package/dist/cdn/{EPRLXSPX.js → OHAUP2TS.js} +2 -2
- package/dist/cdn/{AG2XI553.js → OVB6WWYJ.js} +2 -2
- package/dist/cdn/{MQOQNXC5.js → OVDOY2TB.js} +2 -2
- package/dist/cdn/{PPF27IN2.js → OVEIHKZZ.js} +2 -2
- package/dist/cdn/{5S4MCO7E.js → OVVYNB4P.js} +2 -2
- package/dist/cdn/{VFZOGSG6.js → OWNE3NKH.js} +4 -4
- package/dist/cdn/{NQRIGQLF.js → OWNKZH3J.js} +3 -3
- package/dist/cdn/{Z7ZABYMC.js → OWPOIGI3.js} +2 -2
- package/dist/cdn/{IO6CMOFI.js → OYR5JAG3.js} +3 -3
- package/dist/cdn/{5TIKT6VX.js → OZP2AS5I.js} +2 -2
- package/dist/cdn/{VGQL5KHW.js → OZXJ2M5O.js} +2 -2
- package/dist/cdn/{BE5INC5J.js → PAWE5LYT.js} +2 -2
- package/dist/cdn/{GUXQRPSG.js → PB5W7EYR.js} +2 -2
- package/dist/cdn/{DGJ272RS.js → PCJDMYM4.js} +2 -2
- package/dist/cdn/{J6CYMW24.js → PDBMILPZ.js} +1 -1
- package/dist/cdn/{5HEFGENU.js → PHDYMI4U.js} +2 -2
- package/dist/cdn/{SWFNPXRC.js → PNSRB675.js} +2 -2
- package/dist/cdn/{45CWNVM4.js → PNZWOZIO.js} +1 -1
- package/dist/cdn/{SR5BKSJN.js → POIPE7OT.js} +2 -2
- package/dist/cdn/{IE3UPQ5P.js → PUCYFTMU.js} +2 -2
- package/dist/cdn/{JFWDCPOK.js → PZGSUW4E.js} +2 -2
- package/dist/cdn/{KO7TRU4W.js → Q253POJJ.js} +1 -1
- package/dist/cdn/{OCSTLVAU.js → Q25NUDBB.js} +2 -2
- package/dist/cdn/{F5MH4H3W.js → QBACNHT4.js} +2 -2
- package/dist/cdn/{52LZNY5Z.js → QBVRFM7C.js} +2 -2
- package/dist/cdn/{3DYLDJJU.js → QESHG4WZ.js} +2 -2
- package/dist/cdn/{A6GUU5AX.js → QOSVCQEN.js} +2 -2
- package/dist/cdn/{3VH6VRIL.js → QTDYELK6.js} +1 -1
- package/dist/cdn/{MGNBTR3T.js → QU2RIV42.js} +2 -2
- package/dist/cdn/QWXBFNTX.js +4 -0
- package/dist/cdn/{B7WRSGID.js → R45VY7IL.js} +2 -2
- package/dist/cdn/{K2OF74BM.js → R4LWV66S.js} +2 -2
- package/dist/cdn/{FQNHGIZU.js → RDKSB4BZ.js} +2 -2
- package/dist/cdn/{BPER6MAD.js → REM4XQLE.js} +2 -2
- package/dist/cdn/{4HZ2QAYA.js → RFLPQTHR.js} +1 -1
- package/dist/cdn/{BPKUJR36.js → RGEOJKWT.js} +1 -1
- package/dist/cdn/RHH5VDPN.js +4 -0
- package/dist/cdn/{LR5I37WQ.js → RKGMIWAB.js} +1 -1
- package/dist/cdn/{A65G4H3I.js → RKI47VQ2.js} +2 -2
- package/dist/cdn/{K6XSASXJ.js → RKIYQIND.js} +2 -2
- package/dist/cdn/{BH4D4I66.js → RSERAAVS.js} +2 -2
- package/dist/cdn/RXTPHD3N.js +4 -0
- package/dist/cdn/{CV7SIYQB.js → S3UOX3S5.js} +2 -2
- package/dist/cdn/{EZYPPXI5.js → S5HZ3ZDX.js} +2 -2
- package/dist/cdn/{N77LXFJO.js → SCHYFVMA.js} +1 -1
- package/dist/cdn/{MPUVRSSI.js → SDATDAKA.js} +2 -2
- package/dist/cdn/SE7AJBLC.js +18 -0
- package/dist/cdn/{6T2KRIOV.js → SFSJYGXN.js} +1 -1
- package/dist/cdn/SIV3TXNM.js +18 -0
- package/dist/cdn/{6I2WO3MS.js → SLDGR2DM.js} +2 -2
- package/dist/cdn/{I3NAOZQE.js → SQKB5YHF.js} +1 -1
- package/dist/cdn/{OMVASHW4.js → T66ZKGRR.js} +1 -1
- package/dist/cdn/{623F524K.js → T6TRDLLW.js} +2 -2
- package/dist/cdn/{YUKX5NZM.js → TDYZLGUB.js} +2 -2
- package/dist/cdn/{OSCEM2U7.js → TFX7FLLB.js} +2 -2
- package/dist/cdn/{VV5IZXCT.js → TLXOAJK5.js} +2 -2
- package/dist/cdn/{TDIHNWSU.js → TX7XEQOI.js} +1 -1
- package/dist/cdn/{4XO5DA2Z.js → TYRLD7J2.js} +2 -2
- package/dist/cdn/{P57LLTO4.js → TYSGRYCE.js} +2 -2
- package/dist/cdn/{AT2MYDNO.js → TZG6SUZL.js} +2 -2
- package/dist/cdn/{KQBZDRA2.js → U3YMG7NH.js} +2 -2
- package/dist/cdn/{A4VEFLVI.js → U62Y6WZO.js} +2 -2
- package/dist/cdn/{JIDFDNXL.js → UCPFFUQC.js} +2 -2
- package/dist/cdn/{35IPNWIA.js → ULJ5HIFK.js} +2 -2
- package/dist/cdn/{GIG2YOSZ.js → UPJWS62Y.js} +2 -2
- package/dist/cdn/{7P7TUPYX.js → UYXUVFKE.js} +2 -2
- package/dist/cdn/{PO3FWL25.js → V5TIHCQF.js} +2 -2
- package/dist/cdn/{HLPASQSC.js → VC3WICDQ.js} +2 -2
- package/dist/cdn/{JB23XI2C.js → VD6EFCRJ.js} +2 -2
- package/dist/cdn/{4BB65RBC.js → VDCKQGGM.js} +2 -2
- package/dist/cdn/{4M27ZLPU.js → VG77G3L3.js} +2 -2
- package/dist/cdn/{7TRPIZH3.js → VHJXFNTB.js} +2 -2
- package/dist/cdn/{6BTTNO72.js → VJWAIQPC.js} +2 -2
- package/dist/cdn/{VBIP22FA.js → VKLLQNEW.js} +2 -2
- package/dist/cdn/{6AGOEJ5R.js → VN2Z7U4S.js} +2 -2
- package/dist/cdn/{CICA44LA.js → VNHY7WVH.js} +2 -2
- package/dist/cdn/VNZX5NLF.js +4 -0
- package/dist/cdn/{5DBLECTA.js → VQCSCWLK.js} +2 -2
- package/dist/cdn/{5A2YF5CO.js → VYCVM7AQ.js} +1 -1
- package/dist/cdn/{S5TXEMDA.js → VYETQ5OQ.js} +2 -2
- package/dist/cdn/{RHOVMU5R.js → W5LN2VYT.js} +2 -2
- package/dist/cdn/{EBJCBGMZ.js → WAOQ3JCJ.js} +2 -2
- package/dist/cdn/{IJHGYFOF.js → WC7D5CTI.js} +2 -2
- package/dist/cdn/WDUEH22A.js +4 -0
- package/dist/cdn/{LDSPXKLJ.js → WNWEV3AC.js} +2 -2
- package/dist/cdn/{PRFQ4DSW.js → WOF27X3U.js} +1 -1
- package/dist/cdn/{CTPO5PIR.js → WR2MBTUF.js} +2 -2
- package/dist/cdn/{WPNIULXA.js → WTGX35K4.js} +2 -2
- package/dist/cdn/{RX3ADE2L.js → WTU66RJH.js} +2 -2
- package/dist/cdn/{23SQJFTU.js → WTZ5V3MZ.js} +2 -2
- package/dist/cdn/{VMGVLHKO.js → WYUUHAX5.js} +1 -1
- package/dist/cdn/{NEDWBRTH.js → X5XLKUPY.js} +2 -2
- package/dist/cdn/{XUAVDQZL.js → X73PGIQR.js} +2 -2
- package/dist/cdn/{PQ4TJ3PN.js → X7S4K6O4.js} +2 -2
- package/dist/cdn/{SBH72B4E.js → XEIR3HD2.js} +3 -3
- package/dist/cdn/{QCNEXFZZ.js → XGMVUDCR.js} +2 -2
- package/dist/cdn/{QRSZX4MW.js → XJV42NPL.js} +2 -2
- package/dist/cdn/{NACRE5IL.js → XQYMKMCD.js} +2 -2
- package/dist/cdn/{KJ2OF567.js → XTSZRRWZ.js} +3 -3
- package/dist/cdn/{RQO7QXBP.js → XU5Y7VU2.js} +2 -2
- package/dist/cdn/{ZPDX4PMZ.js → XUFAW7KH.js} +2 -2
- package/dist/cdn/{HNV3KWGU.js → XUJUH4UK.js} +2 -2
- package/dist/cdn/{NAMORLIM.js → XUTQASNK.js} +2 -2
- package/dist/cdn/{EIXLDHP6.js → XW6UDQOC.js} +2 -2
- package/dist/cdn/{VVWNWDYZ.js → Y2HBFVM4.js} +2 -2
- package/dist/cdn/{3SFF7YJN.js → Y3LT4KUT.js} +1 -1
- package/dist/cdn/{ZXOBUIZD.js → Y3TZCUDN.js} +2 -2
- package/dist/cdn/Y4NZE64P.js +4 -0
- package/dist/cdn/{6KSFG3EX.js → Y4RGBYW4.js} +2 -2
- package/dist/cdn/{AI3LZ2AZ.js → Y7LGH6KN.js} +1 -1
- package/dist/cdn/{WEVP46XF.js → YK3CVDW7.js} +2 -2
- package/dist/cdn/{ZBY7UHRE.js → YK7CSNSO.js} +2 -2
- package/dist/cdn/{RGLTVSJ6.js → YYLWNW2V.js} +2 -2
- package/dist/cdn/{KJPGVC2V.js → YYS3KCN2.js} +3 -3
- package/dist/cdn/{L65HSJJ4.js → Z27EOVYK.js} +2 -2
- package/dist/cdn/Z6DZIVF7.js +18 -0
- package/dist/cdn/{7LKMLVFM.js → ZASSV5QG.js} +2 -2
- package/dist/cdn/{ZXS2W5HZ.js → ZBPVWS4U.js} +2 -2
- package/dist/cdn/{FWDMOFW7.js → ZDRTTMHR.js} +2 -2
- package/dist/cdn/{HL3AEROY.js → ZERWOJO6.js} +3 -3
- package/dist/cdn/{M5LJIBVH.js → ZMWV3XIS.js} +2 -2
- package/dist/cdn/{POBIFQ67.js → ZPI3URP2.js} +8 -6
- package/dist/cdn/{EUE7NALH.js → ZPJLLGVT.js} +2 -2
- package/dist/cdn/{CRFFARNR.js → ZQ53XSXJ.js} +2 -2
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -0
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +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 +1 -1
- 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 +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.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/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.d.ts +94 -9
- package/dist/components/arcgis-solutions-assistant/customElement.js +272 -63
- package/dist/components/arcgis-solutions-assistant/index.d.ts +4 -4
- package/dist/components/arcgis-solutions-assistant/index.js +4 -4
- package/dist/components/arcgis-solutions-assistant/utils/querySolutions.d.ts +22 -0
- package/dist/components/basemap-gallery/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 +3 -3
- 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/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/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-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/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-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +22 -19
- package/dist/components/solution-contents/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-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/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
- package/dist/components/solution-item-accordion/customElement.js +13 -9
- package/dist/components/solution-item-details/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-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.d.ts +2 -0
- package/dist/components/solutions-all-panel/customElement.js +52 -44
- package/dist/components/solutions-all-panel/index.d.ts +1 -0
- package/dist/components/solutions-all-panel/index.js +1 -0
- package/dist/components/solutions-all-shell/customElement.js +29 -26
- package/dist/components/solutions-deploy-app/customElement.js +10 -10
- package/dist/components/solutions-deploy-app-nav/customElement.js +17 -17
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +12 -12
- package/dist/components/solutions-deployed-shell/customElement.js +11 -11
- package/dist/components/solutions-filter-panel/customElement.d.ts +6 -0
- package/dist/components/solutions-filter-panel/customElement.js +39 -30
- package/dist/components/solutions-filter-panel/index.d.ts +1 -0
- package/dist/components/solutions-filter-panel/index.js +1 -0
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +32 -35
- package/dist/components/solutions-resources/index.d.ts +0 -1
- package/dist/components/solutions-resources/index.js +0 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +27 -25
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +340 -20
- package/dist/docs/docs.json +317 -12
- package/dist/docs/vscode.html-custom-data.json +26 -4
- package/dist/docs/web-types.json +77 -11
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +4 -4
- package/dist/types/lumina.d.ts +4 -3
- package/dist/types/preact.d.ts +4 -3
- package/dist/types/preact10.d.ts +4 -3
- package/dist/types/react.d.ts +4 -3
- package/dist/types/stencil.d.ts +4 -3
- package/package.json +1 -1
- package/dist/cdn/245N3FPP.js +0 -18
- package/dist/cdn/3GU7ZNWV.js +0 -4
- package/dist/cdn/4MZUR4NG.js +0 -18
- package/dist/cdn/4YIZEZKC.js +0 -18
- package/dist/cdn/7KOW2EXB.js +0 -18
- package/dist/cdn/7RBR34BU.js +0 -4
- package/dist/cdn/AWABXH72.js +0 -4
- package/dist/cdn/BNM5IE3R.js +0 -4
- package/dist/cdn/BXXEXFCL.js +0 -4
- package/dist/cdn/EIGLYFM4.js +0 -4
- package/dist/cdn/EVTRPFR5.js +0 -4
- package/dist/cdn/J7NJWEKO.js +0 -18
- package/dist/cdn/JDT4UAPF.js +0 -18
- package/dist/cdn/JOKQFCIP.js +0 -4
- package/dist/cdn/MVUCG4NF.js +0 -18
- package/dist/cdn/NK2GZCRX.js +0 -4
- package/dist/cdn/ON3NCOVN.js +0 -4
- package/dist/cdn/RSNVWFY4.js +0 -18
- package/dist/cdn/SYZNHJO4.js +0 -18
- package/dist/cdn/UIZKUEAJ.js +0 -4
- package/dist/cdn/UPROQTFG.js +0 -18
- package/dist/cdn/VBFK6RWN.js +0 -4
- package/dist/cdn/ZDHTWREA.js +0 -18
|
@@ -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.14 */
|
|
4
|
+
import"./Q253POJJ.js";var e="Nu ave\u021Bi suficiente credite pentru efectuarea acestei opera\u021Bii. Contacta\u021Bi administratorul de sistem ArcGIS pentru asisten\u021B\u0103.",a="Acest instrument a fost publicat dintr-o agend\u0103. Accesul la ArcGIS Notebooks este blocat pentru organiza\u021Bia dvs. Contacta\u021Bi administratorul pentru a ajusta setarea.",i="${ dataPath } nu trebuie s\u0103 aib\u0103 ${ additionalProperty }.",r="${ dataPath } trebuie s\u0103 corespund\u0103 schemei uneia dintre acestea: ${ schemaOptions }.",t="\xCEncerca\u021Bi s\u0103 salva\u021Bi harta din nou.",s="Estimarea creditului a e\u0219uat. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i estima\u021Bi creditele din nou.",u="S-a produs o eroare la executarea analizei.",o="${ dataPath } trebuie s\u0103 fie egal cu una dintre aceste valori permise: ${ allowedValues }.",n="Nu s-a reu\u0219it salvarea istoricului analizei",l="Spa\u021Biu de stocare al istoricului este plin. Elimina\u021Bi unele elemente din istoricul analizei \u0219i \xEEncerca\u021Bi s\u0103 salva\u021Bi din nou.",c="Denumirea serviciului con\u021Bine unul sau mai multe caractere nevalide.",d="Salvarea stratului tematic temporar ca strat tematic de obiect spa\u021Bial g\u0103zduit nu s-a \xEEncheiat.",m="Nu s-a reu\u0219it ob\u021Binerea propriet\u0103\u021Bilor esen\u021Biale.",p="Nu s-a reu\u0219it \xEEnc\u0103rcarea stratului tematic.",v="Stratul tematic nu este disponibil.",E="${ dataPath } nu trebuie s\u0103 aib\u0103 mai mult de ${ limit } articole.",b="A survenit o eroare la salvarea modelului. \xCEncerca\u021Bi salvarea din nou.",f="${ dataPath } nu trebuie s\u0103 aib\u0103 mai pu\u021Bin de ${ limit } articole.",h="${ dataPath } nu trebuie s\u0103 fie mai scurt de ${ limit } caractere.",P="Nu s-a reu\u0219it \xEEnc\u0103rcarea elementului de model. Asigura\u021Bi-v\u0103 c\u0103 modelul exist\u0103 \u0219i c\u0103 permisiunea de acces a fost acordat\u0103.",S="Nu s-a reu\u0219it finalizarea solicit\u0103rii.",y="Nu ave\u021Bi permisiunea de a executa acest instrument. <calcite-link target='_blank' href='${ docLink }'>Afla\u021Bi mai multe</calcite-link>",N="Nu s-a reu\u0219it conectarea la portal.",$="Nu s-a reu\u0219it citirea datelor de intrare.",g="${ dataPath } are lips\u0103 o proprietate denumit\u0103 ${ missingProperty }.",F="Exist\u0103 deja un strat tematic cu rezultate cu acest nume. Straturile tematice rezultate trebuie s\u0103 aib\u0103 nume unice \xEEn toat\u0103 organiza\u021Bia. V\u0103 rug\u0103m s\u0103 folosi\u021Bi un nume diferit.",I="Numele de ie\u0219ire con\u021Bine unul sau mai multe caractere nevalide. <a href='${docLink}' target='_blank'>Afla\u021Bi mai multe.</a>",k="Publicarea stratului tematic temporar ca strat tematic g\u0103zduit a e\u0219uat din cauza unuia sau a mai multor c\xE2mpuri nevalide. Re-executa\u021Bi instrumentul pentru a crea un strat tematic cu c\xE2mpuri valide.",z="Trimiterea lucr\u0103rii nu a reu\u0219it. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i executa\u021Bi analiza din nou.",T="${ dataPath } trebuie s\u0103 aib\u0103 cel pu\u021Bin un caracter non-spa\u021Biu gol.",x={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:u,enumValues:o,failedToSaveHistory:n,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:d,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:v,maxItems:E,mbFailedToSave:b,minItems:f,minLength:h,modelNotFound:P,networkError:S,noPermissionToAccessTool:y,portalLoadError:N,queryFeaturesError:$,requiredProperty:g,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:k,toolValidationError:z,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,x as default,u as defaultError,o as enumValues,n as failedToSaveHistory,l as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,d as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,E as maxItems,b as mbFailedToSave,f as minItems,h as minLength,P as modelNotFound,S as networkError,y as noPermissionToAccessTool,N as portalLoadError,$ as queryFeaturesError,g as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,k as temporaryLayerFieldsError,z 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.
|
|
4
|
-
import{J as l,L as I}from"./
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import{J as l,L as I}from"./Y4RGBYW4.js";import{h}from"./32CJQFYT.js";function w(i){return i.reduce((r,n)=>{let t=n.item.title||n.item.name;if(n.type==="Feature Service"&&(n.item.typeKeywords||[]).indexOf("View Service")<0&&r.indexOf(t)<0){let e=l(n,"properties.service.spatialReference.wkid");r.push({id:n.itemId,name:t,enabled:e.toString().startsWith(h),wkid:e})}return r},[])}function b(i){let r=x(i),n=r.reduce((t,e)=>(t.push(e.id),t),[]);return i.reduce((t,e)=>{if(n.indexOf(e.itemId)>-1){let d=r.filter(o=>o.id===e.itemId);t.push(y(e,i,d[0].dependencies))}return t},[])}function x(i){let r=[];function n(s,c){let u=s.findIndex(a=>c===a.itemId);return u>=0?s[u]:null}function t(s,c,u=[]){let a=n(i,s);if(a){let p={id:s,dependencies:[]};u.indexOf(s)<0&&(u.push(s),a.dependencies.forEach(m=>{let f=e.indexOf(m);f>=0&&e.splice(f,1),t(m,p.dependencies,u)})),c.push(p)}}let e=$(i),d=i.filter(s=>e.indexOf(s.itemId)<0).sort((s,c)=>c.dependencies.length-s.dependencies.length);e=e.concat(d.map(s=>s.itemId));let o=e.shift();for(;typeof o<"u";)t(o,r),o=e.shift();return r}function S(i){return[{id:"",title:i.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:i.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:i.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:i.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:i.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function U(i,r){let n=[];return i.forEach(t=>{let e={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:r.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&e.dependencies.push({id:t.itemId,title:r.url,value:`{{${t.itemId}.url}}`}),t.type==="Feature Service"&&(e.dependencies.push({id:t.itemId,title:r.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),v(t.properties.layers||[],e,t,r),v(t.properties.tables||[],e,t,r)),n.push(e)}),n}function k(i,r){let n={};i.forEach(d=>{n[d.id]=d.enabled});let t=l(r,"params.wkid.default"),e=I(r,"params.wkid.attributes.required",!1);return t?{enabled:e,default:t,services:n}:{enabled:e,services:n}}function v(i,r,n,t){i.forEach(e=>{let d=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;r.dependencies.push({id:n.itemId,title:`${d} (${t.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),r.dependencies.push({id:n.itemId,title:`${d} (${t.name})`,value:`{{${n.itemId}.layer${e.id}.name||${d}}}`})})}function y(i,r,n){return{id:i.itemId||"",title:i.item.title||"",dependencies:g(n,r),type:i.item.type||"",typeKeywords:i.item.typeKeywords||[]}}function g(i,r){let n=[],t=i.reduce((e,d)=>(e.push(d.id),n.push(d),e),[]);return r.reduce((e,d)=>{let o=t.indexOf(d.itemId);return o>-1&&e.push(y(d,r,n[o].dependencies)),e},[])}function $(i){let r=i.map(n=>n.itemId);return i.forEach(n=>{(n.dependencies||[]).forEach(t=>{let e=r.indexOf(t);e>=0&&r.splice(e,1)})}),r}export{w as a,b,S as c,U as d,k as e};
|
|
@@ -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 s}from"./
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import{a as s}from"./DEHAUXXO.js";import{a as l,b as p}from"./7SYXERJO.js";import{d as m}from"./3XM3G7I5.js";import"./RSERAAVS.js";import{a}from"./SQKB5YHF.js";import"./Q253POJJ.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
|
|
@@ -0,0 +1,18 @@
|
|
|
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.14 */
|
|
4
|
+
import k from"./5M3POXXX.js";import j from"./4FALCKMG.js";import e from"./OVEIHKZZ.js";import{b as w}from"./LLKMGYSP.js";import{a as y,c as f,d as C}from"./PNZWOZIO.js";import b from"./HHCUJ2TU.js";import{b as i}from"./A437YTBB.js";import"./Y4RGBYW4.js";import"./YYLWNW2V.js";import"./EW33PWBK.js";import"./E7X4JPJZ.js";import"./6MQTHJAJ.js";import"./FB7AKBYZ.js";import"./2AXIORVV.js";import"./SCHYFVMA.js";import"./2PQ2DS43.js";import"./RFLPQTHR.js";import"./J4PD5ZQ7.js";import"./6KL3NJRR.js";import"./HCGGITXI.js";import"./ACRHJFIK.js";import"./GZ4MUQVE.js";import"./3XM3G7I5.js";import"./OGINZV2L.js";import"./RSERAAVS.js";import"./SQKB5YHF.js";import"./MOSTA2DP.js";import{m as g,o}from"./32CJQFYT.js";import{a as m}from"./CDKJFB3T.js";import"./WDUEH22A.js";import"./VNHY7WVH.js";import{b as u}from"./JKJ2E3QC.js";import{D as p,E as _,G as r,h,i as s,j as c,l as d,o as a}from"./BT3PZ755.js";import"./Q253POJJ.js";export default $arcgis.t(([,,n,x])=>{var S=h`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding-inline-start:var(--calcite-spacing-base);padding-top:var(--calcite-spacing-base)}.solutions-briefcase{margin:auto;padding-top:var(--calcite-spacing-xxxl)}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}`,v=5,l=class extends _{constructor(){super(),this.sortType="created",this._cards=[],this._cardsFetching=!1,this._modifiedCheckTry=0,this._newId="",this._refs={},this._showDeleteCompleteAlert=!1,this._translations=m({name:"solutions-deployed-panel",blocking:!0}),this._agoTerms=o,this._allCards=[],this._authContextConsumer=i({context:f,subscribe:!0}),this._baseAgoTerms=o,this._categories=[],this._configContextConsumer=i({context:C,subscribe:!0,callback:async e=>{e&&(this._initCardsFetchers(),this._isOrgAdmin=w(this._authContextConsumer.value),await this._getDeployedSolutions())}}),this._delay=!1,this._isOrgAdmin=!1,this._owner=g.OWNER,this._sortField="created",this._sortOrder="desc",this._userSessionContextConsumer=i({context:y,subscribe:!0}),this.deployedCardsFetched=a(),this.searchTermSet=a(),this.listenOn(window,"solutionDeleted",e=>{this._modifiedCheckTry=v,this.reload(e.detail.showAlert,e.detail.refreshSolutionsTimeout)}),this.listenOn(window,"solutionConfigureDialogClose",e=>{e.detail&&this.reload(!1,!1)}),this.listenOn(window,"deployProgressEnd",e=>{this._modifiedCheckTry=v,this._refresh(e)}),this.listenOn(window,"sortTypeChanged",e=>{e.detail&&e.detail.scope==="deployments"&&(this.sortType=e.detail.sortType,this.searchSolutions(e.detail))}),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="deployments"&&this.searchSolutions(e.detail.option)})}static{this.properties={sortType:1,_cards:16,_cardsFetching:16,_modifiedCheckTry:16,_newId:16,_refs:16,_showDeleteCompleteAlert:16,_translations:16}}static{this.styles=S}async reload(e=!0,t=!0){this._initCardsFetchers(),e&&(this._showDeleteCompleteAlert=!0),t?setTimeout(()=>{(async()=>{try{await this._getDeployedSolutions()}catch(T){console.error("Error getting deployed solutions:",T)}})()},500):await this._getDeployedSolutions()}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):e.type==="owner"&&(this._owner=e.value):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),await this._getDeployedSolutions()}async setSearchOptions(e){e&&("searchTerm"in e&&(this._textSearch(e.searchTerm),this.searchTermSet.emit({searchTerm:e.searchTerm,scope:"deployments"})),"sortType"in e&&this._sortCards(e))}render(){let e=this._cardsFetching?"":"display-none",t=this._cardsFetching?"display-none":"";return s`<h1><calcite-loader class=${r(e)} .label=${this._translations.fetchingDeployedSolutions}></calcite-loader><calcite-panel class=${r(t)}><calcite-card-group class="card-group" .label=${this._translations.allDeployed}>${this._renderCards()}</calcite-card-group><calcite-alert auto-close auto-close-duration=fast icon=check-circle kind=success .label=${this._translations.deleteComplete} .open=${this._showDeleteCompleteAlert} @calciteAlertClose=${()=>{this._showDeleteCompleteAlert=!1}}><div slot=title>${this._translations.deleteComplete}</div></calcite-alert></calcite-panel></h1>`}updated(e){e.has("_refs")&&this._newId&&Object.keys(this._refs).indexOf(this._newId)>-1&&(this._refs[this._newId].renderConfigureDialog(!0),this._newId="")}_initCardsFetchers(){if(this._configContextConsumer.value){let e=this._configContextConsumer.value;this._cardsFetcher=new n(e.locale,e.orgUrl,e.portalUrl),this._cardsFetcherDeployed=new n(e.locale,e.orgUrl,e.portalUrl)}}_renderCards(){return this._cards.length?(this._refs={},this._cards.map(e=>s`<solution-deployed-card .allowDelete=${this._isOrgAdmin||e.owner===this._userSessionContextConsumer.value.username||this.checkDeletePermissions()} .card=${e} .deployedDate=${e.created} .description=${e.snippet} .diagramKey=${this._configContextConsumer.value?.diagramKey} .heading=${e.title} id=${e.id??d} .itemId=${e.id} .owner=${e.owner} .thumbnail=${e.thumbnailUrl} ${p(this._handleRefs)}></solution-deployed-card>`)):s`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><span>${this._translations.noSolutionsYet}</span><span>${this._translations.noSolutionsInstruction}</span></div></div>`}_handleRefs(e){e&&(this._refs[e.id]=e)}async _getDeployedSolutions(){let e=this._authContextConsumer.value||this._configContextConsumer.value?.authentication;if(e.IsSignedIn){this._cardsFetching=!0;let t=await x(e,this._userSessionContextConsumer.value||this._configContextConsumer.value?.userSession,this._cardsFetcher,this._cardsFetcherDeployed,this._agoTerms,this._sortField,this._sortOrder,this._delay,this._categories,this._allCards,this._owner);this._modifiedCheckTry>0&&(this._cards.length===t?.cards.length?(this._modifiedCheckTry--,this._getDeployedSolutions()):this._modifiedCheckTry=0),this._cards=t?.cards??[],this.deployedCardsFetched.emit(this._cards.length),this._cardsFetching=!1}}_getSolutionsBriefcase(){return s`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${c`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):(t==="updated"||t==="created")&&(this._sortOrder="desc",this._sortField=t),this.sortType=t}_clearFilterCategories(){this._categories=[]}checkDeletePermissions(){let e=this._authContextConsumer.value;return e?.PortalUserPrivileges&&e.PortalUserPrivileges.length>0?e.PortalUserPrivileges.some(t=>t==="portal:admin:deleteItems"):!1}async _refresh(e){let t=e.detail;t&&(this._newId=t,await this._getDeployedSolutions())}};u("solutions-deployed-panel",l);return l},b,e,j,k)
|
|
@@ -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 l}from"./
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import{a as l}from"./2AN7ELSH.js";import{b as h}from"./CAOSAERX.js";import"./WDUEH22A.js";import"./VNHY7WVH.js";import{E as r,G as n,h as i,i as a}from"./BT3PZ755.js";import"./Q253POJJ.js";var c=i`:host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:.5rem .75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:.5em .7em;font-weight:400}`,m={content:"instant-apps-keyboard-shortcuts__content"},o=class extends r{constructor(){super(...arguments),this._messages=l({name:"instant-apps-keyboard-shortcuts",blocking:!0})}static{this.properties={view:0}}static{this.styles=c}_getMapViewCommands(){let t=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this._messages.mapShortcuts.N,show:t},{alias:"A",title:this._messages.mapShortcuts.A,show:t},{alias:"D",title:this._messages.mapShortcuts.D,show:t},{alias:"+",title:this._messages.mapShortcuts.plus,show:!0},{alias:"-",title:this._messages.mapShortcuts.minus,show:!0}]:[];return this._messages?e.filter(s=>s.show):[]}_getSceneViewCommands(){let t=this.view?.type==="3d"&&this.view.viewingMode==="global",e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!!t},{alias:"P",title:this._messages.sceneShortcuts.P,show:!0},{alias:"N",title:this._messages.sceneShortcuts.N,show:!0},{alias:"W",title:this._messages.sceneShortcuts.W,show:!0},{alias:"A",title:this._messages.sceneShortcuts.A,show:!0},{alias:"D",title:this._messages.sceneShortcuts.D,show:!0},{alias:"S",title:this._messages.sceneShortcuts.S,show:!0},{alias:"J",title:this._messages.sceneShortcuts.globalCommands.J,show:!!t},{alias:"U",title:this._messages.sceneShortcuts.globalCommands.U,show:!!t}]:[];return this._messages?e.filter(s=>s.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}render(){let t=this.view?.type==="2d"||!this.view?this._getMapViewCommands():this._getSceneViewCommands(),e=this._isMacLike()?"Option":"Alt";return a`<calcite-block open class=${n(m.content)} .heading=${this._messages.generalShortcuts?.label}><table>${this.renderTableHeader()}<tr><td>${`${e} + M`}</td><td>${this._messages.generalShortcuts?.title}</td></tr></table><calcite-label>${this._messages.generalShortcuts?.title}</calcite-label><table>${this.renderTableHeader()}${t.map(s=>a`<tr><td>${s.alias}</td><td>${s.title}</td></tr>`)}</table></calcite-block>`}renderTableHeader(){return this._messages?a`<tr><th>${this._messages.generalShortcuts?.shortcut}</th><th>${this._messages.generalShortcuts?.action}</th></tr>`:null}};h("instant-apps-keyboard-shortcuts",o);export{o as InstantAppsKeyboardShortcuts};
|
|
@@ -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.14 */
|
|
4
4
|
var i=(e,t="v")=>{if(!e)return e;let n=e.indexOf("?")>-1?"&":"?";return e+=`${n}${t}=${new Date().getTime()}`,e};export{i 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 c from"./
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import c from"./EDFQHWSA.js";import a from"./27JI2VQ2.js";import{b as $}from"./CAOSAERX.js";import"./VNHY7WVH.js";import{C as S,D as L,E as b,G as o,I as _,h as m,i as n,o as I,r as f}from"./BT3PZ755.js";import"./Q253POJJ.js";export default $arcgis.t(([,{f:l,h:v}])=>{var y=m`@layer{:host{display:block;position:relative}:host .instant-apps-language-translator-search__input{width:235.5px}:host .instant-apps-language-translator-search__suggestion-list{position:absolute;margin:0;padding:0;width:100%;max-height:30vh;overflow:auto;border-left:none;background-color:var(--calcite-color-foreground-1);border:1px solid #c0c0c0;z-index:702}:host .instant-apps-language-translator-search__suggestion-list-item:first-child{border:none}:host .instant-apps-language-translator-search__suggestion-list-item{margin-top:0;padding:.8em 1em;border-top:solid 1px rgba(110,110,110,.3);display:flex;flex-direction:column;cursor:pointer;word-break:break-word}:host .instant-apps-language-translator-search__suggestion-list-item:hover{background-color:var(--calcite-color-foreground-2)}}`,h="instant-apps-language-translator-search",p={input:`${h}__input`,suggestionList:`${h}__suggestion-list`,suggestionListItem:`${h}__suggestion-list-item`},d=class extends b{constructor(){super(...arguments),this.searchInput=S(),this.results=[],this.suggestionSelected=I()}static{this.properties={results:16,t9nPlaceholder:1}}static{this.styles=y}static{this.shadowRootOptions=f}handleSearch(t){let e=t.target.value?.toLowerCase()?.trim(),s=l.get("uiData"),u=v(),a=l.get("portalItemResourceT9n"),r=l.get("currentLanguage"),g=a?.[r]??{},c=this.getSettingDataItems(u).filter(this.matchedResultsCallback(s,g,e,r));this.results=[...c.map(i=>({fieldName:i,...s.get(i)}))]}matchedResultsCallback(t,e,s,u){return a=>{let r=t.get(a),{label:g}=r.userLocaleData,{value:c}=r.userLocaleData,i=t.get("translatedLanguageLabels")?.[u]?.[a],w=e?.[a],x=this.testUserInput(g,s),k=this.testUserInput(c,s),D=this.testUserInput(i,s),R=this.testUserInput(w,s);return x||k||D||R}}getSettingDataItems(t){return t.filter(e=>e!=="locales"&&e!=="translatedLanguageLabels")}testUserInput(t,e){return!!t?.trim()&&!!e?.trim()&&t?.toLowerCase()?.search(e)!==-1}selectSuggestion(t){let e=t.target.getAttribute("data-field-name");this.suggestionSelected.emit(e),this.resetSearchInput()}resetSearchInput(){this.searchInput.value&&(this.searchInput.value.value=""),this.results=[]}render(){return n`${this.renderSearchInput()}${this.renderSuggestions()}`}renderSearchInput(){return n`<calcite-input class=${o(p.input)} @calciteInputInput=${this.handleSearch} type=search .placeholder=${this.t9nPlaceholder} icon=search ${L(this.searchInput)}></calcite-input>`}renderSuggestions(){return this.results.length>0?this.renderSuggestionList():null}renderSuggestionList(){return n`<ul class=${o(p.suggestionList)}>${this.results.map(t=>this.renderSuggestionListItem(t))}</ul>`}renderSuggestionListItem(t){return n`<li @click=${this.selectSuggestion} class=${o(p.suggestionListItem)} data-field-name=${t.fieldName??_}>${t.userLocaleData.label}</li>`}};$("instant-apps-language-translator-search",d);return d},a,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 S}from"./V3DPSJYM.js";import{b as d,c as g,i as y,j as N}from"./KYJSQUTW.js";import{a as I}from"./IQFJFKCO.js";import{a as M,e as E,f as T,g as F}from"./LVVEQVWY.js";import{a as $,b as R}from"./UQEUL3DF.js";import{d as l,e as p,f as c}from"./KPSEV6N2.js";import{a as A}from"./73UBKOR7.js";import{a as x}from"./I3NAOZQE.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import{a as S}from"./FB7AKBYZ.js";import{b as d,c as g,i as y,j as N}from"./2PQ2DS43.js";import{a as I}from"./J4PD5ZQ7.js";import{a as M,e as E,f as T,g as F}from"./HCGGITXI.js";import{a as $,b as R}from"./GZ4MUQVE.js";import{d as l,e as p,f as c}from"./3XM3G7I5.js";import{a as A}from"./OGINZV2L.js";import{a as x}from"./SQKB5YHF.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
|
|
@@ -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 i}from"./
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import{a as i}from"./BMZSYER5.js";import{a}from"./T6TRDLLW.js";import"./2PQ2DS43.js";import"./RFLPQTHR.js";import"./J4PD5ZQ7.js";import"./6KL3NJRR.js";import"./ACRHJFIK.js";import{a as o}from"./FRWCYHC7.js";import{a as s}from"./7BLXQDEK.js";import"./GZ4MUQVE.js";import"./3XM3G7I5.js";import"./RSERAAVS.js";import"./SQKB5YHF.js";import{b as r}from"./FLMHLO43.js";import"./RKI47VQ2.js";import"./KQIP55UX.js";import"./4VTYPOLQ.js";import"./DJIPWE3W.js";import"./L3Q3HM35.js";import"./RGEOJKWT.js";import"./DGAAG2WP.js";import"./MOSTA2DP.js";import"./UYXUVFKE.js";import"./ZMWV3XIS.js";import"./XGMVUDCR.js";import"./FC7SCLY3.js";import"./L2KEAIFF.js";import"./LOXYPSQZ.js";import"./7HCS7QDO.js";import"./7FDUBCB6.js";import"./TFX7FLLB.js";import"./7INSFWLF.js";import"./HAXUZW3B.js";import"./2DGB5L7S.js";import"./N3V7I4KP.js";import"./SFSJYGXN.js";import"./Q253POJJ.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{d as buildUiSchema};
|
|
@@ -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.14 */
|
|
4
|
+
import{a,b}from"./UYXUVFKE.js";import"./7INSFWLF.js";import"./HAXUZW3B.js";import"./2DGB5L7S.js";import"./N3V7I4KP.js";import"./SFSJYGXN.js";import"./Q253POJJ.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
|
@@ -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 t}from"./
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import{a as t}from"./FLMHLO43.js";import"./RKI47VQ2.js";import"./KQIP55UX.js";import"./4VTYPOLQ.js";import"./DJIPWE3W.js";import"./L3Q3HM35.js";import"./RGEOJKWT.js";import"./DGAAG2WP.js";import"./MOSTA2DP.js";import"./UYXUVFKE.js";import"./ZMWV3XIS.js";import"./XGMVUDCR.js";import"./FC7SCLY3.js";import"./L2KEAIFF.js";import"./LOXYPSQZ.js";import"./7HCS7QDO.js";import"./7FDUBCB6.js";import"./TFX7FLLB.js";import"./7INSFWLF.js";import"./HAXUZW3B.js";import"./2DGB5L7S.js";import"./N3V7I4KP.js";import"./SFSJYGXN.js";import"./Q253POJJ.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
|
|
@@ -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,b as i,c as l,d as s,e as t}from"./
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import{a as e,b as i,c as l,d as s,e as t}from"./32KLJCZ5.js";import{a as r}from"./FLMHLO43.js";import"./RKI47VQ2.js";import"./KQIP55UX.js";import"./4VTYPOLQ.js";import"./DJIPWE3W.js";import"./L3Q3HM35.js";import"./RGEOJKWT.js";import"./DGAAG2WP.js";import"./MOSTA2DP.js";import"./UYXUVFKE.js";import"./ZMWV3XIS.js";import"./XGMVUDCR.js";import"./FC7SCLY3.js";import"./L2KEAIFF.js";import"./LOXYPSQZ.js";import"./7HCS7QDO.js";import"./7FDUBCB6.js";import"./TFX7FLLB.js";import"./7INSFWLF.js";import"./HAXUZW3B.js";import"./2DGB5L7S.js";import"./N3V7I4KP.js";import"./SFSJYGXN.js";import"./Q253POJJ.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
|
|
@@ -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 o}from"./
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import{a as o}from"./Y3LT4KUT.js";import{b as l}from"./MOSTA2DP.js";import"./Q253POJJ.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
|
|
@@ -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{w as a}from"./
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import{w as a}from"./GZ4MUQVE.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g 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 from"./
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import a from"./HHCUJ2TU.js";export default $arcgis.t(([{a:e}])=>{function u(r){return Array.isArray(r)?r:Array.from(r)}function c(r,o){let t=s(o),n=e([{k:"id",v:r}])||"";return t?`${t}/home/item.html${n}`:""}function m(r,o,t){let n=s(t);return n?`${n}/sharing/rest/content/items/${r}/resources/${o}`:""}function s(r){return r?.PortalSubset?.orgUrl||r?.PortalUrl||""}return{a:u,b:c,c:m}},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 e}from"./
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import{a as e}from"./HAXUZW3B.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r 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 e,c as t,e as a,g as s,k as o}from"./
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import{a as e,c as t,e as a,g as s,k as o}from"./N3V7I4KP.js";var u=["hub:group:edit","hub:group:settings","hub:group:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],i={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:o,access:{type:"string",enum:["private","org","public"],default:"private"},isSharedUpdate:{type:"boolean",enum:[!1,!0],default:!1},leavingDisallowed:{type:"boolean",enum:[!1,!0],default:!1},isOpenData:{type:"boolean",enum:[!1,!0],default:!1},membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"},isViewOnly:{type:"boolean",enum:[!1,!0],default:!1},_join:{type:"string",enum:["invite","request","auto"],default:"invite"},hiddenMembers:{type:"boolean",enum:[!1,!0],default:!1},isDiscussable:s,tags:a}};export{u as a,i 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 as e}from"./
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import{b as e}from"./SFSJYGXN.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
|
|
@@ -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.14 */
|
|
4
|
+
import"./Q253POJJ.js";var e="Vous ne disposez pas de suffisamment de cr\xE9dits pour effectuer cette op\xE9ration. Contactez votre administrateur syst\xE8me ArcGIS pour obtenir de l\u2019aide.",r="Cet outil a \xE9t\xE9 publi\xE9 \xE0 partir d\u2019un notebook. L\u2019acc\xE8s \xE0 ArcGIS Notebooks est bloqu\xE9 pour votre organisation. Contactez votre administrateur pour lui demander de modifier ce param\xE8tre.",a="${ dataPath } ne doit pas comporter la propri\xE9t\xE9 suivante\xA0: ${ additionalProperty }.",t="${ dataPath } doit correspondre \xE0 l\u2019une des structures suivantes\xA0: ${ schemaOptions }.",s="R\xE9essayez d\u2019enregistrer la carte.",o="\xC9chec de l\u2019estimation des cr\xE9dits. Faites d\xE9filer vers le bas, corrigez les erreurs et relancez l\u2019estimation des cr\xE9dits.",i="Une erreur s\u2019est produite lors de l\u2019ex\xE9cution de l\u2019analyse.",n="${ dataPath } doit correspondre \xE0 l\u2019une des valeurs autoris\xE9es suivantes\xA0: ${ allowedValues }.",c="\xC9chec de l\u2019enregistrement de l\u2019historique d\u2019analyse",l="L\u2019espace de stockage de l\u2019historique est satur\xE9. Supprimez certains \xE9l\xE9ments de l\u2019historique d\u2019analyse et r\xE9essayez d\u2019enregistrer.",d="Le nom du service contient un ou plusieurs caract\xE8res non valides.",u="L\u2019enregistrement de la couche temporaire en tant que couche d\u2019entit\xE9s h\xE9berg\xE9e a \xE9chou\xE9.",m="\xC9chec de l\u2019obtention des propri\xE9t\xE9s cl\xE9s.",p="\xC9chec du chargement de la couche.",h="La couche n\u2019est pas disponible.",v="${ dataPath } ne doit pas comporter plus de ${ limit }\xA0\xE9l\xE9ments.",y="Une erreur est survenue lors de l\u2019enregistrement du mod\xE8le. R\xE9essayez d\u2019enregistrer.",E="${ dataPath } ne doit pas comporter moins de ${ limit }\xA0\xE9l\xE9ments.",f="${ dataPath } ne doit pas comporter moins de ${ limit }\xA0caract\xE8res.",g="\xC9chec du chargement de l\u2019\xE9l\xE9ment de mod\xE8le. Assurez-vous que le mod\xE8le existe et que l\u2019autorisation d\u2019acc\xE8s a \xE9t\xE9 accord\xE9e.",P="\xC9chec du traitement de la requ\xEAte.",b="Vous n\u2019\xEAtes pas autoris\xE9 \xE0 ex\xE9cuter cet outil. <calcite-link target='_blank' href='${ docLink }'>En savoir plus</calcite-link>",S="\xC9chec de la connexion au portail.",L="\xC9chec de la lecture des donn\xE9es en entr\xE9e.",$="${ dataPath } ne comporte pas la propri\xE9t\xE9 suivante\xA0: ${ missingProperty }.",F="Une couche de r\xE9sultat portant ce nom existe d\xE9j\xE0. Les couches de r\xE9sultat doivent porter des noms uniques au sein de l\u2019organisation. Utilisez un autre nom.",k="Le nom en sortie contient un ou plusieurs caract\xE8res non valides. <a href='${docLink}' target='_blank'>En savoir plus.</a>",q="La publication de la couche temporaire en tant que couche h\xE9berg\xE9e a \xE9chou\xE9 car un ou plusieurs champs ne sont pas valides. Relancez l\u2019outil pour cr\xE9er une couche avec des champs valides.",z="\xC9chec de l\u2019envoi de la t\xE2che. Faites d\xE9filer vers le bas, corrigez les erreurs et r\xE9ex\xE9cutez l\u2019analyse.",I="${ dataPath } doit comporter au moins un caract\xE8re autre qu\u2019un espace.",x={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:s,creditEstimationError:o,defaultError:i,enumValues:n,failedToSaveHistory:c,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:y,minItems:E,minLength:f,modelNotFound:g,networkError:P,noPermissionToAccessTool:b,portalLoadError:S,queryFeaturesError:L,requiredProperty:$,serviceNameExistsError:F,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:q,toolValidationError:z,whiteSpacePattern:I};export{e as InsufficientCreditsError,r as accessBlocked,a as additionalProperty,t as anyOfValues,s as cannotWriteToItemResource,o as creditEstimationError,x as default,i as defaultError,n as enumValues,c as failedToSaveHistory,l as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,y as mbFailedToSave,E as minItems,f as minLength,g as modelNotFound,P as networkError,b as noPermissionToAccessTool,S as portalLoadError,L as queryFeaturesError,$ as requiredProperty,F as serviceNameExistsError,k as specialCharactersInServiceNameError,q as temporaryLayerFieldsError,z as toolValidationError,I 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.14 */
|
|
4
4
|
var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t as b,P as c};
|
|
@@ -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.14 */
|
|
4
|
+
import{a as $}from"./CDKJFB3T.js";import"./WDUEH22A.js";import"./VNHY7WVH.js";import{b as w}from"./JKJ2E3QC.js";import{D as h,E as _,G as y,I as d,h as g,i as a,k as m,l as u,o as v,t as f,u as b,v as x}from"./BT3PZ755.js";import"./Q253POJJ.js";var c=class extends x{constructor(e){if(super(e),this.it=u,e.type!==f.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===u||e==null)return this._t=void 0,this.it=e;if(e===m)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};c.directiveName="unsafeHTML",c.resultType=1;var S=b(c);var I=g`:host{display:block;height:100%}.display-flex-row{display:flex;flex-direction:row}.padding-left-10{padding-left:10px}.chat-container{display:flex;flex-direction:column;gap:0px;max-width:600px;height:75%;background-color:var(--calcite-color-foreground-3);padding:1px}.chat-container_expanded{display:flex;flex-direction:column;gap:0px;max-width:100%;height:95%;background-color:var(--calcite-color-background);border-radius:10px;padding:10px}.chat-panel{--calcite-panel-header-background-color: var(--calcite-color-brand);--calcite-panel-action-background-color: var(--calcite-color-brand);--calcite-panel-heading-text-color: var(--calcite-color-background);--calcite-dialog-min-size-y: 90vh;--calcite-dialog-max-size-y: 90vh}.chat-panel-heading{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.chat-messages{display:flex;flex-direction:column;gap:12px;padding:4px;height:100%;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-brand);--calcite-card-border-color: var(--calcite-color-brand);color:var(--calcite-color-background);text-align:left}.system-message{align-self:flex-start;background:var(--calcite-color-foreground-2);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3);text-align:left}.loader-message{align-self:flex-start;background:var(--calcite-color-foreground-3);border-radius:8px;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3)}.message-content{padding:0;font-size:14px}.message-content-pad{padding-bottom:10px;font-size:14px}.message-content-summary{padding-bottom:14px}.message-content-alignment{display:flex;align-items:center;gap:var(--calcite-spacing-md);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}.padding-top-10{padding-top:10px}.chip-content{padding:5px 5px 5px 0}.chat-input{display:flex;flex-direction:row;flex-grow:1}.table-cell{--calcite-table-cell-background: var(--calcite-color-foreground-3)}.cursor-pointer{cursor:pointer}.notice-border-color{--temp-initial-brand: var(--calcite-color-brand)}.notice-border-color calcite-notice{--calcite-color-brand: #ddd;--calcite-icon-color: var(--temp-initial-brand)}.notice-border-color calcite-notice *{--calcite-color-brand: var(--temp-initial-brand)}.solution-card{padding:5px 0;text-decoration:none;display:block;width:100%;cursor:pointer}.solution-card calcite-card{display:flex;flex-direction:column;max-height:132px;overflow:hidden;--calcite-card-corner-radius: var(--calcite-corner-radius-round) !important;--calcite-card-shadow: var(--calcite-shadow-sm);--calcite-card-background-color: var(--calcite-card-background-color) }.solution-card div[slot=thumbnail]{max-height:100%;width:100%;position:relative;&:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;transition:all .15s ease-in-out}}.solution-card div[slot=thumbnail] img{max-height:100%;width:100%;object-fit:cover}.solution-card span[slot=description]{padding-top:10px}.solution-card calcite-chip{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);visibility:hidden;pointer-events:none;opacity:0;transition:all .15s ease-in-out;z-index:9999}.solution-card:hover calcite-chip{visibility:visible;opacity:1}.solution-card:hover div[slot=thumbnail]:after{background-color:#00000080}.solution-card:hover h3{text-decoration:underline}.references-container{padding-top:10px;display:block}.references-container.collapsed{display:none}.width-100{width:100%}.disclaimer-div{display:flex;gap:var(--calcite-spacing-sm);font-size:var(--calcite-font-size--0);color:var(--calcite-color-text-1)}`;var k="https://www.arcgis.com/sharing/rest/content/items/";async function T(r){return await q(r)}async function q(r){let e=k+r+"?f=json";try{let t=await fetch(e,{method:"GET"});if(!t.ok)throw new Error(`HTTP error! Status: ${t.status}`);return await t.json()}catch(t){return{error:t.message}}}var p=class extends _{constructor(){super(),this.serverRoot="https://aiservices-beta.arcgis.com/",this.solutionAIurl=`${this.serverRoot}skills/solution_deployment/chat`,this.docAIurl=`${this.serverRoot}skills/doc_ai_assistant/chat`,this.token=null,this.open=!1,this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this._isLoading=!1,this._isLoadingText="",this.messages=[],this._translations=$({name:"arcgis-solutions-assistant",blocking:!0}),this.closeAssistant=v(),this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setMessageContainerRef=e=>{this._chatContainer=e},this._setInputRef=e=>{this._inputRef=e,this._inputRef.addEventListener("keydown",t=>{t.key==="Enter"&&!t.shiftKey&&(t.preventDefault(),this.handleSendMessage())}),setTimeout(()=>{this._inputRef?.focus()},100)},this._submitQuestion=e=>{this._inputRef&&(this._inputRef.value=e,this.handleSendMessage())},this.listenOn(window,"submitQuestion",e=>{this._submitQuestion(e.detail)})}static{this.properties={serverRoot:1,solutionAIurl:1,docAIurl:1,token:1,open:5,conversationStore:16,_isLoading:16,_isLoadingText:16,messages:16,_translations:16}}static{this.styles=I}async handleSendMessage(){if(!this._inputRef?.value.trim())return;this._isLoading=!0;let e=this._inputRef.value.trim();this._inputRef.value="";let t={message:e,context:{debug:!1,kind:"SolutionRequest"}};if(this.conversationStore.conversationId!==null){if(t.conversationId=this.conversationStore.conversationId,this.token){let i={author:"human",inquiryId:this.conversationStore.inquiryId?this.conversationStore.inquiryId:"",message:e,render:this._renderSimpleTextMessage(e,"human")};this.messages=[...this.messages,i];let s=await this.requestAIServer(t,this.token,this.solutionAIurl);this.loopRequest(s,this.token,this.solutionAIurl)}}else if(this.token){let i={author:"human",inquiryId:"",message:e,render:this._renderSimpleTextMessage(e,"human")};this.messages=[...this.messages,i];let s=await this.requestAIServer(t,this.token,this.solutionAIurl);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token,this.solutionAIurl)}}async loopRequest(e,t,i){let s=e;for(this._isLoading=!0;s.hasMore;){let o={conversationId:s.conversationId,ackSequenceNumber:s.sequenceNumber,inquiryId:s.inquiryId};if(s=await this.requestAIServer(o,t,i),s.context)if(this.conversationStore.context=s.context,s.context.intent)switch(s.context.intent){case"Solution question":this.messages.push({message:s.message??"",author:"ai",inquiryId:s.inquiryId});let n={message:s.message,conversationId:o.conversationId,context:{kind:"DocAIAssistantRequest",filters:{products:"ArcGIS Solutions"}}};s=await this.requestAIServer(n,t,this.docAIurl);break;case"Recommend solution":if(s.context.results&&s.context.results?.length>0){let l={message:s.message??"",author:"ai",inquiryId:s.inquiryId,render:this._renderSuggestedSolutions(s.message??"",s.context.results)};this.messages.push(l)}break;default:this.messages.push({author:"ai",inquiryId:s.inquiryId,message:s.message??"",render:this._renderSimpleTextMessage(s.message??"","ai")});break}else if(s.context.results)for(let n of s.context.results)n.reply!==""&&(this._isLoadingText="",this.messages.push({message:n.reply,author:"ai",inquiryId:s.inquiryId,render:this._renderDocAssistantResults(n.reply,n.ref,n.followupQuestions)}));else{this.messages.push({author:"ai",inquiryId:s.inquiryId,message:s.message??"",render:this._renderSimpleTextMessage(s.message??"","ai")});break}}this._isLoading=!1}async requestAIServer(e,t,i){try{let s=await(await fetch(i,{method:"POST",headers:{"Content-Type":"application/json",token:t},body:JSON.stringify(e)})).json();if(s)return s;throw new Error("No data returned")}catch(s){throw new Error(`Request failed: ${s}`)}}resetChat(){let e=this.messages[this.messages.length-1];if(e.author!=="system"&&e.inquiryId!=="-1"){this._resetConversation();let t={author:"system",inquiryId:"-1",message:this._translations.newConversationStarted,render:this._renderSimpleTextMessage(this._translations.newConversationStarted,"system","speech-bubble-plus")};this.messages=[...this.messages,t],this._inputRef&&(this._inputRef.value="")}}willUpdate(e){this.messages.length===0&&this._translations.defaultStartUpMessage&&(this.messages=[{author:"ai",inquiryId:"",message:this._translations.defaultStartUpMessage,render:this._renderSimpleTextMessage(this._translations.defaultStartUpMessage,"ai")}])}updated(e){(e.size||this._isLoading)&&this._scrollToBottom()}_renderSolutionQuestionReferences(e){return e.map(t=>a`<div class="message-content-pad"><a href=${t.url??d} target=_blank>${t.title}</a></div>`)}_renderSolutionQuestionFollowup(e){return e.map(t=>a`<calcite-chip class="chip-content cursor-pointer" kind=brand .label=${t} @click=${()=>{this._submitFollowupQuestion(t)}}>${t}</calcite-chip>`)}_renderSolutionsQuestionTable(e,t,i){let s=this._renderSolutionQuestionReferences(t),o=this._renderSolutionQuestionFollowup(i);return a`<div><div slot=description class="message-content">${S(this._markdownToHTML(e))}<div style="display: flex; justify-content: flex-start;"><calcite-button appearance=outline icon-end=chevron-down icon-start=link @click=${n=>{let l=n.currentTarget.parentElement?.nextElementSibling;l.classList.toggle("collapsed"),n.currentTarget.setAttribute("icon-end",l.classList.contains("collapsed")?"chevron-down":"chevron-up")}}>${`${t.length} ${t.length===1?this._translations.solutionsDocReference:this._translations.solutionsDocReferences}`}</calcite-button></div><div class="references-container collapsed">${s}</div></div><div class="padding-top-10">${o}</div></div>`}_renderSolutionCard(e,t){return a`<a class="solution-card" id=${t??d} @click=${()=>{this._emitItemIdFromAI(t)}}>${a`<calcite-card thumbnail-position=inline-start><div slot=thumbnail><img src=${e.thumbnail??d} alt=Thumbnail><calcite-chip icon=launch label="View solution">${this._translations.viewSolutionInApp}</calcite-chip></div><h3 slot=heading><b>${e.title}</b></h3><span slot=description>${e.snippet}</span></calcite-card>`}</a>`}_renderExistingSolutionsTable(e,t){let i=t.map(s=>{let o=s.thumbnail.match(/\/items\/([a-f0-9]+)\//);return o?this._renderSolutionCard(s,o[1]):null}).filter(s=>s!==null);return a`<div><div slot=description class="message-content"><div class="message-content-summary">${e}</div>${i}</div></div>`}_renderSimpleTextMessage(e,t,i){return t==="system"?a`<div class="message-content message-content-alignment">${i&&a`<calcite-icon .icon=${i}></calcite-icon>`||""}${e}</div>`:a`<calcite-card class=${y(t==="human"?"user-message":"system-message")}><div class="message-content">${e}</div></calcite-card>`}_renderDocAssistantResults(e,t,i){return a`<calcite-card class="system-message"><div class="message-content">${this._renderSolutionsQuestionTable(e,t,i)}</div></calcite-card>`}_renderSuggestedSolutions(e,t){return a`<calcite-card class="system-message"><div class="message-content">${this._renderExistingSolutionsTable(e,t)}</div></calcite-card>`}render(){return a`<calcite-dialog class="chat-panel" .open=${this.open} resizable .heading=${this._translations.solutionAssistantTitle} id=example-dialog placement=bottom-start @calciteDialogClose=${()=>{this.closeAssistant.emit(!0),this.open=!1}}><span class="chat-panel-heading" slot=header-content>${this._translations.solutionAssistantTitle}<calcite-chip .label=${this._translations.betaTag} .value=${this._translations.betaTag}>${this._translations.betaTag}</calcite-chip></span>${this.messages.length>1?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent icon-end=speech-bubble-plus label="New conversation" kind=neutral></calcite-button>`:""}<div class="chat-messages" ${h(this._setMessageContainerRef)}>${this.messages.map(e=>e.render)}${this._isLoading&&a`<calcite-card class="loader-message"><div class="message-content display-flex-row"><calcite-loader .label=${this._isLoadingText} inline scale=s></calcite-loader>${this._isLoadingText!=""&&a`<div class="padding-left-10">${this._isLoadingText}</div>`||""}</div></calcite-card>`||""}</div><div slot=footer class="width-100"><div class="chat-input"><calcite-text-area resize=none rows=2 .placeholder=${this._translations.sendMessage} value ${h(this._setInputRef)}></calcite-text-area><calcite-button icon-start=send appearance=outline kind=neutral @click=${this.handleSendMessage} .disabled=${!!this._isLoading}></calcite-button></div><div class="disclaimer-div padding-top-10" slot=footer><calcite-icon icon=information scale=s></calcite-icon>${this._translations.disclaimerMessage}<a href=https://trust.arcgis.com/en/security-concern/ target=_blank>${this._translations.reportConcern}</a></div></div></calcite-dialog>`}_scrollToBottom(){this._chatContainer&&setTimeout(()=>{this._chatContainer&&(this._chatContainer.scrollTop=this._chatContainer.scrollHeight)},100)}_markdownToHTML(e){return e=e.replace(/###### (.*)/gu,"<h6>$1</h6>"),e=e.replace(/##### (.*)/gu,"<h5>$1</h5>"),e=e.replace(/#### (.*)/gu,"<h4>$1</h4>"),e=e.replace(/### (.*)/gu,"<h3>$1</h3>"),e=e.replace(/## (.*)/gu,"<h2>$1</h2>"),e=e.replace(/# (.*)/gu,"<h1>$1</h1>"),e=e.replace(/\*\*(.*?)\*\*/gu,"<strong>$1</strong>"),e=e.replace(/\*(.*?)\*/gu,"<em>$1</em>"),e=e.replace(/^\s*\*\s+(.*)/gmu,"<li>$1</li>"),e=e.replace(/(<li>.*<\/li>)/gu,"<ul>$1</ul>"),e=e.replace(/\[\[(\d+)\]\]\((.*?)\)/gu,'<a href="$2" target="_blank" rel="noopener noreferrer">[$1]</a>'),e=e.replace(/\n\n+/gu,"</p><p>"),e=e.replace(/^(?!<h|<ul|<li|<p>)(.*)$/gmu,"<p>$1</p>"),e}_emitItemIdFromAI(e){this._querySolutions(e).then(t=>{let i=t.typeKeywords.filter(o=>o.includes("solutionid")),s=new CustomEvent("solutionIDFromAssistant",{detail:i.length>0?i[0]:e,bubbles:!0,composed:!0});window.dispatchEvent(s)})}_submitFollowupQuestion(e){let t=new CustomEvent("submitQuestion",{detail:e,bubbles:!0,composed:!0});window.dispatchEvent(t)}async _querySolutions(e){let t=await T(e);if("error"in t)throw new Error(t.error);return t}};w("arcgis-solutions-assistant",p);export{p as ArcgisSolutionsAssistant};
|
|
@@ -1,7 +1,7 @@
|
|
|
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.14 */
|
|
4
|
+
import{a as e}from"./VDCKQGGM.js";import"./Y4RGBYW4.js";import"./YYLWNW2V.js";import"./EW33PWBK.js";import"./E7X4JPJZ.js";import"./6MQTHJAJ.js";import"./FB7AKBYZ.js";import"./2AXIORVV.js";import"./SCHYFVMA.js";import"./2PQ2DS43.js";import"./RFLPQTHR.js";import"./J4PD5ZQ7.js";import"./6KL3NJRR.js";import"./HCGGITXI.js";import"./ACRHJFIK.js";import"./GZ4MUQVE.js";import"./3XM3G7I5.js";import"./OGINZV2L.js";import"./RSERAAVS.js";import"./SQKB5YHF.js";import"./MOSTA2DP.js";import"./32CJQFYT.js";import{a as p}from"./CDKJFB3T.js";import"./WDUEH22A.js";import"./VNHY7WVH.js";import{b as h}from"./JKJ2E3QC.js";import{C as a,D as s,E as c,h as m,i as l,j as o,r}from"./BT3PZ755.js";import"./Q253POJJ.js";var u=m`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -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 as d}from"./
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import{c as d}from"./BT3PZ755.js";var r=class extends Event{constructor(t,e,n,s){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e,this.callback=n,this.subscribe=s??!1}};var a=class{constructor(t,e,n,s){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(o,c)=>{this.unsubscribe&&(this.unsubscribe!==c&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=o,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(o,c)),this.unsubscribe=c},this.host=t,e.context!==void 0){let o=e;this.context=o.context,this.callback=o.callback,this.subscribe=o.subscribe??!1}else this.context=e,this.callback=n,this.subscribe=s??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new r(this.context,this.host,this.t,this.subscribe))}};var u=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let n=e||!Object.is(t,this.o);this.o=t,n&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:n}]of this.subscriptions)e(this.o,n)},t!==void 0&&(this.value=t)}addCallback(t,e,n){if(!n)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:s}=this.subscriptions.get(t);t(this.value,s)}clearCallbacks(){this.subscriptions.clear()}};var l=class extends Event{constructor(t,e){super("context-provider",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e}},h=class extends u{constructor(t,e,n){super(e.context!==void 0?e.initialValue:n),this.onContextRequest=s=>{if(s.context!==this.context)return;let o=s.contextTarget??s.composedPath()[0];o!==this.host&&(s.stopPropagation(),this.addCallback(s.callback,o,s.subscribe))},this.onProviderRequest=s=>{if(s.context!==this.context||(s.contextTarget??s.composedPath()[0])===this.host)return;let o=new Set;for(let[c,{consumerHost:x}]of this.subscriptions)o.has(c)||(o.add(c),x.dispatchEvent(new r(this.context,x,c,!0)));s.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new l(this.context,this.host))}};var A=i=>{let t=d(),e=new h(t.el,i);return t.addController(e),e},B=i=>{let t=d(),e=new a(t.el,i);return t.addController(e),e};export{A as a,B as b};
|
|
@@ -1,7 +1,7 @@
|
|
|
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 r}from"./
|
|
3
|
+
v1.2.0-next.14 */
|
|
4
|
+
import{a as r}from"./VDCKQGGM.js";import{g as n}from"./Y4RGBYW4.js";import"./YYLWNW2V.js";import"./EW33PWBK.js";import"./E7X4JPJZ.js";import"./6MQTHJAJ.js";import"./FB7AKBYZ.js";import"./2AXIORVV.js";import"./SCHYFVMA.js";import"./2PQ2DS43.js";import"./RFLPQTHR.js";import"./J4PD5ZQ7.js";import"./6KL3NJRR.js";import"./HCGGITXI.js";import"./ACRHJFIK.js";import"./GZ4MUQVE.js";import"./3XM3G7I5.js";import"./OGINZV2L.js";import"./RSERAAVS.js";import"./SQKB5YHF.js";import"./MOSTA2DP.js";import{b as i}from"./32CJQFYT.js";import{a as b}from"./CDKJFB3T.js";import"./WDUEH22A.js";import"./VNHY7WVH.js";import{b as _}from"./JKJ2E3QC.js";import{E as u,G as p,H as m,h,i as a,l as o}from"./BT3PZ755.js";import"./Q253POJJ.js";var f=h`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|