@esri/hub-web-components 0.36.2 → 0.37.0
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/24SIYWED.js +2 -0
- package/dist/cdn/25TYOHZS.js +2 -0
- package/dist/cdn/26WZVQ5A.js +2 -0
- package/dist/cdn/2B273BBV.js +2 -0
- package/dist/cdn/2B6D4MGZ.js +2 -0
- package/dist/cdn/2C25X57H.js +2 -0
- package/dist/cdn/2DD3P2GE.js +2 -0
- package/dist/cdn/2DPSKE3B.js +2 -0
- package/dist/cdn/2GV5ZJVP.js +2 -0
- package/dist/cdn/2GWRW6YG.js +2 -0
- package/dist/cdn/2KL5NQNG.js +2 -0
- package/dist/cdn/2KUCG2EL.js +2 -0
- package/dist/cdn/2NJPYBHN.js +2 -0
- package/dist/cdn/2PUMWMNI.js +2 -0
- package/dist/cdn/2SYN4GLC.js +2 -0
- package/dist/cdn/2TYW7KEN.js +2 -0
- package/dist/cdn/2W2UGJLH.js +2 -0
- package/dist/cdn/2WQEISGF.js +2 -0
- package/dist/cdn/2YBIU2GX.js +2 -0
- package/dist/cdn/377TGY4P.js +2 -0
- package/dist/cdn/37IO4VH2.js +2 -0
- package/dist/cdn/3BJZIUVK.js +2 -0
- package/dist/cdn/3C4D6M7U.js +2 -0
- package/dist/cdn/3CQWO3Y4.js +2 -0
- package/dist/cdn/3J67YE6G.js +2 -0
- package/dist/cdn/3LB3CYSI.js +2 -0
- package/dist/cdn/3MGFA2AN.js +2 -0
- package/dist/cdn/3PBVJ3CK.js +2 -0
- package/dist/cdn/3WN3ZWUP.js +2 -0
- package/dist/cdn/3ZHXUPIY.js +2 -0
- package/dist/cdn/3ZMBKQ2H.js +2 -0
- package/dist/cdn/42CWBYSM.js +2 -0
- package/dist/cdn/42NTJTRV.js +2 -0
- package/dist/cdn/44KVKET3.js +2 -0
- package/dist/cdn/46NFE3O2.js +2 -0
- package/dist/cdn/47ZOSUE6.js +2 -0
- package/dist/cdn/4BGLQILZ.js +2 -0
- package/dist/cdn/4BRNZPNW.js +2 -0
- package/dist/cdn/4DPYGRIJ.js +2 -0
- package/dist/cdn/4EWTHNEV.js +2 -0
- package/dist/cdn/4KSDWTJW.js +2 -0
- package/dist/cdn/4PQFUUUG.js +2 -0
- package/dist/cdn/4QDRXQMV.js +2 -0
- package/dist/cdn/4QEFMWHF.js +2 -0
- package/dist/cdn/4ST5ERWK.js +2 -0
- package/dist/cdn/4UIONHOK.js +2 -0
- package/dist/cdn/4ZRQCNU2.js +2 -0
- package/dist/cdn/53V23CCM.js +2 -0
- package/dist/cdn/56OZPWMC.js +2 -0
- package/dist/cdn/5E5J7S54.js +49 -0
- package/dist/cdn/5FBDGDSL.js +2 -0
- package/dist/cdn/5GNQYAFV.js +2 -0
- package/dist/cdn/5H44EM56.js +2 -0
- package/dist/cdn/5IANXD5L.js +2 -0
- package/dist/cdn/5IZIKW4H.js +2 -0
- package/dist/cdn/5J32RGDU.js +2 -0
- package/dist/cdn/5KNXEVQR.js +2 -0
- package/dist/cdn/5LEP3IWV.js +2 -0
- package/dist/cdn/5LJT6UGG.js +2 -0
- package/dist/cdn/5NJXZL7F.js +2 -0
- package/dist/cdn/5NZ5IS7D.js +2 -0
- package/dist/cdn/5ORZPL23.js +2 -0
- package/dist/cdn/5TU3W6P3.js +2 -0
- package/dist/cdn/5V53QYYF.js +2 -0
- package/dist/cdn/635V3Q2N.js +2 -0
- package/dist/cdn/65DPLBLL.js +2 -0
- package/dist/cdn/66HUEQL5.js +2 -0
- package/dist/cdn/6762DBBI.js +2 -0
- package/dist/cdn/6F3NCMF3.js +2 -0
- package/dist/cdn/6FPKPREN.js +2 -0
- package/dist/cdn/6GJMQB5A.js +2 -0
- package/dist/cdn/6IRHI22W.js +9 -0
- package/dist/cdn/6KXJSY7Y.js +2 -0
- package/dist/cdn/6LDEVQEO.js +2 -0
- package/dist/cdn/6LZU7UCO.js +2 -0
- package/dist/cdn/6M5DP7YF.js +2 -0
- package/dist/cdn/6P7RNVD7.js +2 -0
- package/dist/cdn/6R5V3EGL.js +2 -0
- package/dist/cdn/6SPPONRY.js +2 -0
- package/dist/cdn/6SSTOHH4.js +2 -0
- package/dist/cdn/6TZEJNM7.js +2 -0
- package/dist/cdn/6VA6IJMP.js +2 -0
- package/dist/cdn/6VE4Q3FO.js +2 -0
- package/dist/cdn/6WUAXFQV.js +2 -0
- package/dist/cdn/6YRKIUVP.js +2 -0
- package/dist/cdn/72R6GI5S.js +2 -0
- package/dist/cdn/733IZVMO.js +3 -0
- package/dist/cdn/74ZD6Q4N.js +2 -0
- package/dist/cdn/75EIUMLW.js +2 -0
- package/dist/cdn/7CZUONP3.js +2 -0
- package/dist/cdn/7GI7PCWY.js +10 -0
- package/dist/cdn/7GTUV67W.js +2 -0
- package/dist/cdn/7J2N6ILF.js +2 -0
- package/dist/cdn/7JWWAXIQ.js +2 -0
- package/dist/cdn/7LNSUWQP.js +2 -0
- package/dist/cdn/7MGY3JJQ.js +2 -0
- package/dist/cdn/7SELLYRO.js +2 -0
- package/dist/cdn/7SOJDYGK.js +2 -0
- package/dist/cdn/7TFL3HIH.js +2 -0
- package/dist/cdn/7UDDAIEI.js +2 -0
- package/dist/cdn/A36IL72A.js +2 -0
- package/dist/cdn/A6FB2POK.js +2 -0
- package/dist/cdn/ACG7WDUT.js +2 -0
- package/dist/cdn/AE6NCYFW.js +2 -0
- package/dist/cdn/AEPE3IDB.js +2 -0
- package/dist/cdn/AG22T6F4.js +2 -0
- package/dist/cdn/AHZOMFUT.js +2 -0
- package/dist/cdn/AJKLRRS4.js +2 -0
- package/dist/cdn/AJOXWMDO.js +2 -0
- package/dist/cdn/AKTKIQXI.js +2 -0
- package/dist/cdn/AL7OLCOX.js +2 -0
- package/dist/cdn/ALUW2GDJ.js +2 -0
- package/dist/cdn/AM4QVJ44.js +2 -0
- package/dist/cdn/AOSKEGOL.js +2 -0
- package/dist/cdn/ARGXJJIR.js +2 -0
- package/dist/cdn/AUG7ESKO.js +2 -0
- package/dist/cdn/AYFB34A7.js +2 -0
- package/dist/cdn/AYK4IBDR.js +2 -0
- package/dist/cdn/AZ3MRUIU.js +2 -0
- package/dist/cdn/AZKQPOHN.js +2 -0
- package/dist/cdn/B5FN4TVW.js +2 -0
- package/dist/cdn/B6CP7FIT.js +2 -0
- package/dist/cdn/B7DFSP27.js +2 -0
- package/dist/cdn/BASDWRBA.js +2 -0
- package/dist/cdn/BCAWS3NJ.js +2 -0
- package/dist/cdn/BFNODBIF.js +2 -0
- package/dist/cdn/BHYFMWFH.js +10 -0
- package/dist/cdn/BMRPHSYL.js +2 -0
- package/dist/cdn/BPSQ3CGL.js +2 -0
- package/dist/cdn/BU6RNCBS.js +2 -0
- package/dist/cdn/BZKD5DHH.js +2 -0
- package/dist/cdn/C27C7ZCS.js +101 -0
- package/dist/cdn/C3RZCB5I.js +2 -0
- package/dist/cdn/C43VMDWA.js +2 -0
- package/dist/cdn/C7GXIRVU.js +2 -0
- package/dist/cdn/CBIG4EMI.js +2 -0
- package/dist/cdn/CCX2K4AC.js +2 -0
- package/dist/cdn/CCXXOCUE.js +2 -0
- package/dist/cdn/CD6LKEQL.js +2 -0
- package/dist/cdn/CD736SN3.js +2 -0
- package/dist/cdn/CH532URJ.js +2 -0
- package/dist/cdn/CHXKFI5R.js +2 -0
- package/dist/cdn/CNZGOCEQ.js +2 -0
- package/dist/cdn/CQ5TAYO5.js +2 -0
- package/dist/cdn/CRYH3HP6.js +2 -0
- package/dist/cdn/CU2TSBCT.js +2 -0
- package/dist/cdn/CWML23HX.js +2 -0
- package/dist/cdn/CXKNNQK7.js +2 -0
- package/dist/cdn/D2RDQCR6.js +2 -0
- package/dist/cdn/D4NLBWYJ.js +2 -0
- package/dist/cdn/D4XKOLDN.js +2 -0
- package/dist/cdn/DAN7ZYNO.js +2 -0
- package/dist/cdn/DBFWM3C6.js +2 -0
- package/dist/cdn/DCLYV35L.js +2 -0
- package/dist/cdn/DCXY72PD.js +2 -0
- package/dist/cdn/DD6UFQOQ.js +2 -0
- package/dist/cdn/DELUZ744.js +2 -0
- package/dist/cdn/DFSIBYHN.js +2 -0
- package/dist/cdn/DH2QF3YA.js +2 -0
- package/dist/cdn/DIQDWGSW.js +2 -0
- package/dist/cdn/DJ3H7LZE.js +2 -0
- package/dist/cdn/DKMYTCOT.js +2 -0
- package/dist/cdn/DLGNRZAS.js +2 -0
- package/dist/cdn/DMWDEJZX.js +2 -0
- package/dist/cdn/DOER2ALA.js +2 -0
- package/dist/cdn/DOOSTAKT.js +2 -0
- package/dist/cdn/DPDYPCY7.js +2 -0
- package/dist/cdn/DSFT4TPF.js +2 -0
- package/dist/cdn/DSULDCNU.js +2 -0
- package/dist/cdn/DSUO5O7O.js +2 -0
- package/dist/cdn/DWHYYJWL.js +2 -0
- package/dist/cdn/DYGPQ2O2.js +2 -0
- package/dist/cdn/DZCEYSVA.js +2 -0
- package/dist/cdn/DZSQQ3ZC.js +2 -0
- package/dist/cdn/E2O5UVKQ.js +2 -0
- package/dist/cdn/E2RL5I2B.js +2 -0
- package/dist/cdn/E2TALV72.js +2 -0
- package/dist/cdn/E6BGJQ3F.js +6 -0
- package/dist/cdn/E6QW4CZ3.js +3 -0
- package/dist/cdn/E7RQDZEF.js +2 -0
- package/dist/cdn/EIMMNTTE.js +2 -0
- package/dist/cdn/EOF2UXV6.js +2 -0
- package/dist/cdn/EONYH67A.js +2 -0
- package/dist/cdn/EOUHIRVU.js +2 -0
- package/dist/cdn/ERN7BZFG.js +2 -0
- package/dist/cdn/ETC47ZTE.js +2 -0
- package/dist/cdn/ETZTDOJJ.js +2 -0
- package/dist/cdn/EXVLM3LY.js +2 -0
- package/dist/cdn/F4PVRAMX.js +2 -0
- package/dist/cdn/F56NG6UR.js +2 -0
- package/dist/cdn/FCTOGFDS.js +7 -0
- package/dist/cdn/FDDXGLRF.js +2 -0
- package/dist/cdn/FFNG2BKG.js +2 -0
- package/dist/cdn/FJLYCKFY.js +2 -0
- package/dist/cdn/FKDTJXGG.js +2 -0
- package/dist/cdn/FLC2JTMP.js +2 -0
- package/dist/cdn/FM3HYPTZ.js +2 -0
- package/dist/cdn/FMBEHWFY.js +2 -0
- package/dist/cdn/FMSRANRD.js +2 -0
- package/dist/cdn/FOYZAUE2.js +2 -0
- package/dist/cdn/FPFWOG6D.js +2 -0
- package/dist/cdn/FQQX35FA.js +2 -0
- package/dist/cdn/FS2LVAOJ.js +2 -0
- package/dist/cdn/FY3KPATI.js +2 -0
- package/dist/cdn/FZ7ZK37I.js +2 -0
- package/dist/cdn/FZCPWCBD.js +2 -0
- package/dist/cdn/FZNKGW4A.js +2 -0
- package/dist/cdn/G22UXAIP.js +2 -0
- package/dist/cdn/G4YSKUJY.js +2 -0
- package/dist/cdn/GEQLOXC6.js +2 -0
- package/dist/cdn/GEUS66D2.js +2 -0
- package/dist/cdn/GI572WEZ.js +2 -0
- package/dist/cdn/GJINUBO7.js +2 -0
- package/dist/cdn/GJIZO3BY.js +2 -0
- package/dist/cdn/GJRBKC6D.js +2 -0
- package/dist/cdn/GL6QTMXS.js +2 -0
- package/dist/cdn/GLK5OMGB.js +2 -0
- package/dist/cdn/GMWTEYRI.js +2 -0
- package/dist/cdn/GQUZD452.js +2 -0
- package/dist/cdn/GRUKKSRF.js +2 -0
- package/dist/cdn/GS3XIBLN.js +2 -0
- package/dist/cdn/GSGLH4CM.js +2 -0
- package/dist/cdn/GVF26EON.js +2 -0
- package/dist/cdn/GVWJBDZW.js +2 -0
- package/dist/cdn/GZOH7TH2.js +2 -0
- package/dist/cdn/H2EOGBZS.js +2 -0
- package/dist/cdn/H2V2RZ6M.js +2 -0
- package/dist/cdn/H3CSIYXV.js +2 -0
- package/dist/cdn/H5FX7Z53.js +2 -0
- package/dist/cdn/HA3MYKR7.js +2 -0
- package/dist/cdn/HEPYE6RX.js +2 -0
- package/dist/cdn/HETF33XY.js +2 -0
- package/dist/cdn/HF75SET4.js +2 -0
- package/dist/cdn/HFYPZ352.js +2 -0
- package/dist/cdn/HH5PXKUQ.js +2 -0
- package/dist/cdn/HH7X5PFK.js +2 -0
- package/dist/cdn/HIJBZFJC.js +2 -0
- package/dist/cdn/HINK5GJN.js +2 -0
- package/dist/cdn/HITR5JF7.js +2 -0
- package/dist/cdn/HM2SQ34E.js +2 -0
- package/dist/cdn/HPOK6EKK.js +2 -0
- package/dist/cdn/HSFPILSC.js +2 -0
- package/dist/cdn/HSYH2RF2.js +2 -0
- package/dist/cdn/HTQGWSTE.js +2 -0
- package/dist/cdn/HTY7ODQW.js +2 -0
- package/dist/cdn/HTYDCXX6.js +2 -0
- package/dist/cdn/HUVYHMSC.js +2 -0
- package/dist/cdn/HUZVX2LX.js +2 -0
- package/dist/cdn/HV466M4A.js +2 -0
- package/dist/cdn/HWUCFNAD.js +2 -0
- package/dist/cdn/HYUPDCJS.js +2 -0
- package/dist/cdn/HZHPBMYE.js +2 -0
- package/dist/cdn/I3DM7WYF.js +2 -0
- package/dist/cdn/I3LGHXIN.js +2 -0
- package/dist/cdn/I4SZ26IC.js +2 -0
- package/dist/cdn/I6XITM7G.js +14 -0
- package/dist/cdn/I6ZBOCIY.js +2 -0
- package/dist/cdn/ICFGB4YA.js +2 -0
- package/dist/cdn/IDHZRKXF.js +2 -0
- package/dist/cdn/IEDSJLNB.js +2 -0
- package/dist/cdn/IGSOBBXK.js +2 -0
- package/dist/cdn/II3OUQDN.js +2 -0
- package/dist/cdn/IIAM2J7I.js +2 -0
- package/dist/cdn/IKDCKYJ5.js +2 -0
- package/dist/cdn/ILLXAWCL.js +2 -0
- package/dist/cdn/IONZ3SDQ.js +2 -0
- package/dist/cdn/IS7DQMPO.js +2 -0
- package/dist/cdn/ISFEEC67.js +2 -0
- package/dist/cdn/ISLB62MU.js +2 -0
- package/dist/cdn/IU5YH2S4.js +2 -0
- package/dist/cdn/IXINH2FU.js +2 -0
- package/dist/cdn/IZ43EVPH.js +2 -0
- package/dist/cdn/IZFBGDUY.js +2 -0
- package/dist/cdn/J2P53GWU.js +2 -0
- package/dist/cdn/J4D2HORK.js +2 -0
- package/dist/cdn/J62I2GA3.js +2 -0
- package/dist/cdn/J7JW6ADT.js +2 -0
- package/dist/cdn/JASFUUT6.js +2 -0
- package/dist/cdn/JBND67XM.js +2 -0
- package/dist/cdn/JG22JJ4C.js +2 -0
- package/dist/cdn/JI5AIZ2W.js +2 -0
- package/dist/cdn/JSOZV4HA.js +2 -0
- package/dist/cdn/JTE4CLWD.js +2 -0
- package/dist/cdn/JWQCCXL5.js +2 -0
- package/dist/cdn/JZB5X2MB.js +2 -0
- package/dist/cdn/K2DF2MZK.js +2 -0
- package/dist/cdn/K33RVKQD.js +2 -0
- package/dist/cdn/K3HMF5GC.js +2 -0
- package/dist/cdn/K4VVZ2OR.js +2 -0
- package/dist/cdn/K5O2OVOP.js +2 -0
- package/dist/cdn/K672BF4Z.js +2 -0
- package/dist/cdn/KA2RH2XA.js +2 -0
- package/dist/cdn/KBPJADC7.js +57 -0
- package/dist/cdn/KBYHLIWL.js +2 -0
- package/dist/cdn/KI2RNLIW.js +2 -0
- package/dist/cdn/KI6QCKOX.js +2 -0
- package/dist/cdn/KIEYQKES.js +2 -0
- package/dist/cdn/KKON6KFT.js +2 -0
- package/dist/cdn/KNZCVIQZ.js +2 -0
- package/dist/cdn/KOIXC3C5.js +2 -0
- package/dist/cdn/KQGFPGAG.js +2 -0
- package/dist/cdn/KUB4GMLQ.js +2 -0
- package/dist/cdn/KVTXAGQO.js +2 -0
- package/dist/cdn/KWMAHRAP.js +2 -0
- package/dist/cdn/KXGSUPO6.js +2 -0
- package/dist/cdn/KZOKH7DH.js +2 -0
- package/dist/cdn/L3H4QXUA.js +2 -0
- package/dist/cdn/L4D75PLE.js +50 -0
- package/dist/cdn/L4XSNBXO.js +2 -0
- package/dist/cdn/L6IQ6LTS.js +2 -0
- package/dist/cdn/LA2OL44Q.js +2 -0
- package/dist/cdn/LDJN5446.js +2 -0
- package/dist/cdn/LEVMADAS.js +2 -0
- package/dist/cdn/LG3VZTHJ.js +2 -0
- package/dist/cdn/LG5BO6HC.js +2 -0
- package/dist/cdn/LK454DSU.js +2 -0
- package/dist/cdn/LLGS7DKU.js +2 -0
- package/dist/cdn/LLX4O2ZL.js +2 -0
- package/dist/cdn/LNVYZ53G.js +2 -0
- package/dist/cdn/LPMAR4KQ.js +2 -0
- package/dist/cdn/LQ4GVKBA.js +2 -0
- package/dist/cdn/LUYCD6XC.js +2 -0
- package/dist/cdn/LVCMKKG7.js +2 -0
- package/dist/cdn/LY5D6DDL.js +2 -0
- package/dist/cdn/LYGNBPBU.js +2 -0
- package/dist/cdn/M5TH54YS.js +3 -0
- package/dist/cdn/MAKNOF2E.js +2 -0
- package/dist/cdn/MBDZ6CTU.js +2 -0
- package/dist/cdn/MBJNG2TV.js +2 -0
- package/dist/cdn/MCXCKUVJ.js +2 -0
- package/dist/cdn/ME6P5KK5.js +2 -0
- package/dist/cdn/MGC3EC3F.js +2 -0
- package/dist/cdn/MIGVC3YS.js +2 -0
- package/dist/cdn/MILBEJO3.js +2 -0
- package/dist/cdn/MPHKEKH4.js +2 -0
- package/dist/cdn/MS3RNOP5.js +2 -0
- package/dist/cdn/MUN2QI43.js +2 -0
- package/dist/cdn/MUVLHU4H.js +2 -0
- package/dist/cdn/MWFTBYF7.js +22 -0
- package/dist/cdn/MYXI3DVH.js +2 -0
- package/dist/cdn/MYXIS5RQ.js +2 -0
- package/dist/cdn/N2SCAU7I.js +2 -0
- package/dist/cdn/N6GGGJDB.js +2 -0
- package/dist/cdn/N7CJXIRA.js +2 -0
- package/dist/cdn/NABNAFFZ.js +2 -0
- package/dist/cdn/NC3HXMKH.js +2 -0
- package/dist/cdn/NCTESU3D.js +2 -0
- package/dist/cdn/NE7SMAEP.js +2 -0
- package/dist/cdn/NFD3QJ6J.js +2 -0
- package/dist/cdn/NFY3ASEY.js +2 -0
- package/dist/cdn/NPWIO5CS.js +2 -0
- package/dist/cdn/NR4ANSZX.js +2 -0
- package/dist/cdn/NSMWYS6Z.js +2 -0
- package/dist/cdn/NUH2IEG5.js +2 -0
- package/dist/cdn/NW2YTW26.js +2 -0
- package/dist/cdn/NYFFZ52T.js +2 -0
- package/dist/cdn/NZG4KZHV.js +2 -0
- package/dist/cdn/O247GUBF.js +2 -0
- package/dist/cdn/OAFVLHOP.js +2 -0
- package/dist/cdn/OB5GUG4Q.js +2 -0
- package/dist/cdn/OF3K6ILR.js +2 -0
- package/dist/cdn/OGP4ICMS.js +2 -0
- package/dist/cdn/OHGAZBGC.js +2 -0
- package/dist/cdn/OHHSI5BP.js +2 -0
- package/dist/cdn/OHRPOEMD.js +2 -0
- package/dist/cdn/OLBIGEZV.js +2 -0
- package/dist/cdn/OQNAOTWQ.js +2 -0
- package/dist/cdn/OQOFL4GS.js +2 -0
- package/dist/cdn/OYSFOPFK.js +2 -0
- package/dist/cdn/OZDJZBGR.js +2 -0
- package/dist/cdn/P32YXLHN.js +2 -0
- package/dist/cdn/P4SQ46RJ.js +2 -0
- package/dist/cdn/P5C64FCP.js +2 -0
- package/dist/cdn/P7D42LBQ.js +2 -0
- package/dist/cdn/PJFE4OSA.js +2 -0
- package/dist/cdn/PM6CSPJD.js +2 -0
- package/dist/cdn/PMG4LRKI.js +2 -0
- package/dist/cdn/PTT753DR.js +2 -0
- package/dist/cdn/PUDNBWDK.js +2 -0
- package/dist/cdn/PVUKIX2R.js +2 -0
- package/dist/cdn/PWESAKVV.js +6 -0
- package/dist/cdn/PXIEZUFC.js +2 -0
- package/dist/cdn/Q4GV7FFJ.js +2 -0
- package/dist/cdn/Q5A7L43T.js +2 -0
- package/dist/cdn/Q5LOYC24.js +2 -0
- package/dist/cdn/QA5B2Y37.js +2 -0
- package/dist/cdn/QEFXV6RZ.js +2 -0
- package/dist/cdn/QFSHQXGM.js +2 -0
- package/dist/cdn/QK2OPJGK.js +2 -0
- package/dist/cdn/QK4D6OMO.js +2 -0
- package/dist/cdn/QMYN3FVH.js +2 -0
- package/dist/cdn/QQRKMUCB.js +2 -0
- package/dist/cdn/QQS6Z4FZ.js +5468 -0
- package/dist/cdn/QSJ7YSO6.js +2 -0
- package/dist/cdn/QTIJHBJB.js +2 -0
- package/dist/cdn/QTKEVJG2.js +2 -0
- package/dist/cdn/QVFTGLEP.js +2 -0
- package/dist/cdn/QW4LROIM.js +2 -0
- package/dist/cdn/QWOHM2SY.js +2 -0
- package/dist/cdn/QYHIY3ME.js +2 -0
- package/dist/cdn/QYIYNECI.js +2 -0
- package/dist/cdn/R4PTOUBU.js +2 -0
- package/dist/cdn/R7CH3OBE.js +2 -0
- package/dist/cdn/R7OW7BC6.js +2 -0
- package/dist/cdn/RBHMRIVU.js +2 -0
- package/dist/cdn/RGKBSVQD.js +2 -0
- package/dist/cdn/RGS7XNRL.js +4 -0
- package/dist/cdn/RGTW5L2M.js +2 -0
- package/dist/cdn/RL2IUUBA.js +2 -0
- package/dist/cdn/RLTWZY2Y.js +2 -0
- package/dist/cdn/ROWHAGC5.js +2 -0
- package/dist/cdn/RPCTY5PP.js +2 -0
- package/dist/cdn/RPW6M2RS.js +2 -0
- package/dist/cdn/RTTSVKW2.js +2 -0
- package/dist/cdn/RTUW32PG.js +2 -0
- package/dist/cdn/RXVVMKTZ.js +2 -0
- package/dist/cdn/S2TL4ARK.js +2 -0
- package/dist/cdn/S57GAUCL.js +3 -0
- package/dist/cdn/S6DY4JGI.js +2 -0
- package/dist/cdn/S6XQNPGY.js +2 -0
- package/dist/cdn/SCTDVE2P.js +2 -0
- package/dist/cdn/SD326B2E.js +2 -0
- package/dist/cdn/SDXNFZ6Q.js +2 -0
- package/dist/cdn/SDZ7AXWI.js +2 -0
- package/dist/cdn/SEZVVM5Z.js +2 -0
- package/dist/cdn/SGM4YRBH.js +2 -0
- package/dist/cdn/SNSHV52T.js +2 -0
- package/dist/cdn/SP3TJB3V.js +2 -0
- package/dist/cdn/SR3IHWFL.js +2 -0
- package/dist/cdn/SVAOM6PB.js +2 -0
- package/dist/cdn/SZJPVJS6.js +2 -0
- package/dist/cdn/T3M236GE.js +2 -0
- package/dist/cdn/TARH5FST.js +2 -0
- package/dist/cdn/TBD7PFFA.js +2 -0
- package/dist/cdn/TC2QNSUN.js +2 -0
- package/dist/cdn/TCBYBEBE.js +2 -0
- package/dist/cdn/TCCZ5S2A.js +2 -0
- package/dist/cdn/TFMTKJFO.js +2 -0
- package/dist/cdn/TGK6L2ZE.js +2 -0
- package/dist/cdn/TH5ZUUV3.js +2 -0
- package/dist/cdn/THLIDOGM.js +2 -0
- package/dist/cdn/TJLG5Q5Y.js +2 -0
- package/dist/cdn/TJMJIAXA.js +2 -0
- package/dist/cdn/TO5XR7VA.js +2 -0
- package/dist/cdn/TQ5M7ABM.js +2 -0
- package/dist/cdn/TVZTOZL7.js +2 -0
- package/dist/cdn/TXQQV57A.js +2 -0
- package/dist/cdn/U2H7HOIC.js +2 -0
- package/dist/cdn/U7SPPU37.js +2 -0
- package/dist/cdn/UA2PWQXW.js +2 -0
- package/dist/cdn/UADY5XO7.js +2 -0
- package/dist/cdn/UC7PCLBG.js +2 -0
- package/dist/cdn/UCBTNECN.js +2 -0
- package/dist/cdn/UCNRE4DW.js +23 -0
- package/dist/cdn/UCUSWPVC.js +2 -0
- package/dist/cdn/UEMRCQKF.js +2 -0
- package/dist/cdn/UGI23J3C.js +2 -0
- package/dist/cdn/UGPEDWIJ.js +4 -0
- package/dist/cdn/UJKN7G7W.js +2 -0
- package/dist/cdn/UJZ32HDH.js +2 -0
- package/dist/cdn/UMST4RFY.js +2 -0
- package/dist/cdn/UN6MRXZW.js +2 -0
- package/dist/cdn/UOAJQR2X.js +2 -0
- package/dist/cdn/UR5INQGU.js +2 -0
- package/dist/cdn/USNX342T.js +2 -0
- package/dist/cdn/UTQMJRMF.js +2 -0
- package/dist/cdn/UUGPYRMY.js +2 -0
- package/dist/cdn/UWA2UA4S.js +2 -0
- package/dist/cdn/UXDEAKSF.js +2 -0
- package/dist/cdn/UYYBCR75.js +2 -0
- package/dist/cdn/V33D2RRV.js +2 -0
- package/dist/cdn/V3U3RRL7.js +2 -0
- package/dist/cdn/V6SKJ43C.js +2 -0
- package/dist/cdn/V6XW7PC2.js +2 -0
- package/dist/cdn/V7H25Z5U.js +2 -0
- package/dist/cdn/V7PXTC6I.js +2 -0
- package/dist/cdn/VANWWSL3.js +2 -0
- package/dist/cdn/VCGND4NR.js +2 -0
- package/dist/cdn/VFVNN33U.js +2 -0
- package/dist/cdn/VHIRPM4L.js +2 -0
- package/dist/cdn/VIC2IR7N.js +2 -0
- package/dist/cdn/VJ4I63OO.js +2 -0
- package/dist/cdn/VPJ4NGJ5.js +2 -0
- package/dist/cdn/VT5NU2WH.js +2 -0
- package/dist/cdn/VVZSLXLZ.js +2 -0
- package/dist/cdn/VXJI546E.js +2 -0
- package/dist/cdn/W2VLXDRD.js +39 -0
- package/dist/cdn/W37GIL2C.js +2 -0
- package/dist/cdn/W57XOSMI.js +2 -0
- package/dist/cdn/W6BMVYH7.js +2 -0
- package/dist/cdn/W6GBJ4BL.js +2 -0
- package/dist/cdn/WBUC7HJI.js +2 -0
- package/dist/cdn/WEJLZVU6.js +2 -0
- package/dist/cdn/WFV47RA4.js +4 -0
- package/dist/cdn/WFWIIWQC.js +2 -0
- package/dist/cdn/WGUAKT5I.js +2 -0
- package/dist/cdn/WJED2YG7.js +2 -0
- package/dist/cdn/WJFIZ6DL.js +2 -0
- package/dist/cdn/WL6CGZLR.js +2 -0
- package/dist/cdn/WMNWHF5U.js +2 -0
- package/dist/cdn/WN7GK2WG.js +2 -0
- package/dist/cdn/WPADWRCH.js +2 -0
- package/dist/cdn/WSZ646NX.js +2 -0
- package/dist/cdn/WTJOWA2D.js +2 -0
- package/dist/cdn/WTTSGDHM.js +2 -0
- package/dist/cdn/WU3HYV7B.js +2 -0
- package/dist/cdn/WVZNJMRA.js +2 -0
- package/dist/cdn/WYR6Q7EO.js +2 -0
- package/dist/cdn/X5GRVXSY.js +2 -0
- package/dist/cdn/XGOWY36W.js +2 -0
- package/dist/cdn/XI72UBIK.js +2 -0
- package/dist/cdn/XIWVNNXH.js +2 -0
- package/dist/cdn/XKQTJFVJ.js +2 -0
- package/dist/cdn/XKUKAFLE.js +2 -0
- package/dist/cdn/XLV625TR.js +2 -0
- package/dist/cdn/XN55PVRJ.js +2 -0
- package/dist/cdn/XP6ZXTST.js +2 -0
- package/dist/cdn/XX3BCLUI.js +2 -0
- package/dist/cdn/XYUMPZMT.js +2 -0
- package/dist/cdn/XZDHV5BV.js +2 -0
- package/dist/cdn/Y7N6UKCC.js +2 -0
- package/dist/cdn/YBDFIKTN.js +2 -0
- package/dist/cdn/YCEXTCZD.js +2 -0
- package/dist/cdn/YDWT2GP5.js +2 -0
- package/dist/cdn/YHO7A5RX.js +2 -0
- package/dist/cdn/YKYTSHP4.js +2 -0
- package/dist/cdn/YLRR2XFD.js +2 -0
- package/dist/cdn/YMX7NNEY.js +3 -0
- package/dist/cdn/YQMHCSXF.js +2 -0
- package/dist/cdn/YRCBIK2Y.js +2 -0
- package/dist/cdn/YVXHYFKJ.js +2 -0
- package/dist/cdn/YWXDWRYJ.js +2 -0
- package/dist/cdn/Z2Z5RGR2.js +2 -0
- package/dist/cdn/Z3TOG5XS.js +2 -0
- package/dist/cdn/Z756THCU.js +2 -0
- package/dist/cdn/Z7Q6BWC3.js +2 -0
- package/dist/cdn/ZC36M5LD.js +2 -0
- package/dist/cdn/ZCQJ26PE.js +2 -0
- package/dist/cdn/ZFP6AZG7.js +2 -0
- package/dist/cdn/ZKXOPB4E.js +2 -0
- package/dist/cdn/ZM3EAORZ.js +2 -0
- package/dist/cdn/ZNEDALBA.js +2 -0
- package/dist/cdn/ZQPTNYU6.js +2 -0
- package/dist/cdn/ZR5F7KBC.js +2 -0
- package/dist/cdn/ZT74OVX5.js +2 -0
- package/dist/cdn/ZUFDLSS7.js +2 -0
- package/dist/cdn/ZVGAVULD.js +2 -0
- package/dist/cdn/ZX3NL6MQ.js +2 -0
- package/dist/cdn/ZXTOK4AF.js +2 -0
- package/dist/cdn/assets/chat-ui/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -4
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/findColumnAndNodeIndex.js +1 -3
- package/dist/chunks/getResponsiveClasses.js +1 -3
- package/dist/chunks/interpolate-translations.js +1 -3
- package/dist/chunks/isNodeVisible.js +1 -3
- package/dist/chunks/layoutContext.js +1 -3
- package/dist/chunks/migrateTextCard.js +1 -3
- package/dist/chunks/processLayout.js +1 -3
- package/dist/chunks/runtime.js +4 -5
- package/dist/chunks/state.js +1 -3
- package/dist/chunks/typeGuards.js +1 -3
- package/dist/chunks/useGlobalContext.js +1 -3
- package/dist/chunks/useT9n.js +1 -3
- package/dist/chunks/util.js +1 -3
- package/dist/components/arcgis-chat-shell/customElement.d.ts +37 -16
- package/dist/components/arcgis-chat-shell/customElement.js +8 -11
- package/dist/components/arcgis-chat-shell/index.d.ts +0 -4
- package/dist/components/arcgis-chat-ui/customElement.d.ts +148 -64
- package/dist/components/arcgis-chat-ui/customElement.js +15 -18
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +2 -4
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +34 -36
- package/dist/components/arcgis-chat-ui/index.d.ts +0 -5
- package/dist/components/arcgis-chat-ui/util/types.d.ts +8 -29
- package/dist/components/arcgis-hub-ai-assistant/customElement.d.ts +76 -58
- package/dist/components/arcgis-hub-ai-assistant/customElement.js +6 -9
- package/dist/components/arcgis-hub-ai-assistant/index.d.ts +0 -4
- package/dist/components/arcgis-hub-ai-assistant/util/framework.d.ts +69 -176
- package/dist/components/arcgis-hub-entity-associations-card/customElement.d.ts +14 -28
- package/dist/components/arcgis-hub-entity-associations-card/customElement.js +2 -4
- package/dist/components/arcgis-hub-entity-associations-card/index.d.ts +0 -1
- package/dist/components/arcgis-hub-entity-metrics-card/customElement.d.ts +8 -20
- package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +5 -8
- package/dist/components/arcgis-hub-entity-metrics-card/index.d.ts +0 -1
- package/dist/components/arcgis-hub-entity-status-card/customElement.d.ts +24 -11
- package/dist/components/arcgis-hub-entity-status-card/customElement.js +3 -5
- package/dist/components/arcgis-hub-entity-status-card/index.d.ts +0 -1
- package/dist/components/arcgis-hub-entity-view-layout/customElement.d.ts +81 -21
- package/dist/components/arcgis-hub-entity-view-layout/customElement.js +2 -12
- package/dist/components/arcgis-hub-entity-view-layout/index.d.ts +0 -3
- package/dist/components/arcgis-layout/customElement.d.ts +49 -46
- package/dist/components/arcgis-layout/customElement.js +8 -11
- package/dist/components/arcgis-layout/index.d.ts +0 -2
- package/dist/components/arcgis-layout-column/customElement.js +3 -5
- package/dist/components/arcgis-layout-container/customElement.d.ts +311 -49
- package/dist/components/arcgis-layout-container/customElement.js +10 -18
- package/dist/components/arcgis-layout-container/index.d.ts +0 -9
- package/dist/components/arcgis-layout-editor-toolbar/customElement.js +8 -10
- package/dist/components/arcgis-layout-node-controls/customElement.js +15 -14
- package/dist/components/arcgis-layout-node-editor/customElement.js +6 -8
- package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +2 -4
- package/dist/components/arcgis-layout-node-wrapper/customElement.js +5 -7
- package/dist/components/arcgis-layout-row/customElement.js +3 -5
- package/dist/components/arcgis-layout-section/customElement.js +3 -5
- package/dist/components/arcgis-nav-card/customElement.d.ts +52 -41
- package/dist/components/arcgis-nav-card/customElement.js +7 -10
- package/dist/components/arcgis-nav-card/index.d.ts +0 -5
- package/dist/components/arcgis-text-card/customElement.d.ts +11 -12
- package/dist/components/arcgis-text-card/customElement.js +6 -9
- package/dist/components/layouts/components/layout-node/customElement.js +3 -5
- package/dist/components/layouts/utils/layout-event-types.d.ts +4 -12
- package/dist/docs/api.json +1 -2758
- package/dist/docs/docs.json +1 -2538
- package/dist/docs/vscode.css-custom-data.json +1 -6
- package/dist/docs/vscode.html-custom-data.json +1 -257
- package/dist/docs/web-types.json +1 -757
- package/dist/embed-config.js +1 -3
- package/dist/index.d.ts +77 -124
- package/dist/index.js +1 -3
- package/dist/loader.d.ts +1 -1
- package/dist/loader.js +10 -12
- package/dist/types/components.d.ts +2 -1
- package/dist/types/lumina.d.ts +38 -38
- package/dist/types/preact.d.ts +41 -41
- package/dist/types/react.d.ts +38 -38
- package/dist/types/stencil.d.ts +38 -38
- package/package.json +44 -23
- package/dist/cdn/23N6W2XZ.js +0 -4
- package/dist/cdn/275FHRKN.js +0 -4
- package/dist/cdn/27F6TPCS.js +0 -4
- package/dist/cdn/27U5R6LS.js +0 -4
- package/dist/cdn/2DHYXSZJ.js +0 -4
- package/dist/cdn/2ECOUWIG.js +0 -4
- package/dist/cdn/2EHESUUD.js +0 -4
- package/dist/cdn/2EYFNNQK.js +0 -4
- package/dist/cdn/2F7RV46R.js +0 -4
- package/dist/cdn/2GOQSJ5T.js +0 -4
- package/dist/cdn/2JVRYYJP.js +0 -4
- package/dist/cdn/2LS7I4ZX.js +0 -4
- package/dist/cdn/2P64B6XL.js +0 -4
- package/dist/cdn/2QCDGVM4.js +0 -4
- package/dist/cdn/2SXEAW54.js +0 -4
- package/dist/cdn/2THHHAJ2.js +0 -4
- package/dist/cdn/2XB42DAL.js +0 -4
- package/dist/cdn/2YDUDHXA.js +0 -4
- package/dist/cdn/2ZDKVOTP.js +0 -4
- package/dist/cdn/35M3SKBJ.js +0 -4
- package/dist/cdn/35NSLO2Y.js +0 -4
- package/dist/cdn/36MK2EXQ.js +0 -4
- package/dist/cdn/37FRIOCE.js +0 -4
- package/dist/cdn/37VSTUPM.js +0 -4
- package/dist/cdn/3ATMJEPW.js +0 -4
- package/dist/cdn/3BDJY5BX.js +0 -4
- package/dist/cdn/3EDB42ZS.js +0 -4
- package/dist/cdn/3I34MZEX.js +0 -4
- package/dist/cdn/3IZHO3XL.js +0 -4
- package/dist/cdn/3JEIYM7F.js +0 -5
- package/dist/cdn/3K67RLX4.js +0 -4
- package/dist/cdn/3KLUHSC5.js +0 -4
- package/dist/cdn/3MWAPECD.js +0 -4
- package/dist/cdn/3NANCCHZ.js +0 -8
- package/dist/cdn/3NS4OARL.js +0 -4
- package/dist/cdn/3OGQWIGK.js +0 -4
- package/dist/cdn/3R77KLWR.js +0 -4
- package/dist/cdn/3SINT6IY.js +0 -4
- package/dist/cdn/3UHTLHNL.js +0 -4
- package/dist/cdn/3VU6MQCN.js +0 -4
- package/dist/cdn/42GNBIQC.js +0 -4
- package/dist/cdn/42TC5MUI.js +0 -4
- package/dist/cdn/44G3VL2P.js +0 -4
- package/dist/cdn/45JOGUIC.js +0 -4
- package/dist/cdn/46BOI5OY.js +0 -4
- package/dist/cdn/46TKGLEV.js +0 -4
- package/dist/cdn/4AU2VLXK.js +0 -41
- package/dist/cdn/4AUZGHBY.js +0 -4
- package/dist/cdn/4FWCTO5Z.js +0 -4
- package/dist/cdn/4GJWAZAM.js +0 -4
- package/dist/cdn/4GLJPXIC.js +0 -4
- package/dist/cdn/4H7COY5K.js +0 -4
- package/dist/cdn/4HFM7CFR.js +0 -4
- package/dist/cdn/4INYJFY5.js +0 -4
- package/dist/cdn/4IOISN3W.js +0 -4
- package/dist/cdn/4JJXKJO4.js +0 -4
- package/dist/cdn/4MA4XE5T.js +0 -4
- package/dist/cdn/4RGQ4DK7.js +0 -4
- package/dist/cdn/4SRO4GBN.js +0 -52
- package/dist/cdn/4TABEIHC.js +0 -4
- package/dist/cdn/4WO4QOTH.js +0 -4
- package/dist/cdn/4WXJ5RAV.js +0 -4
- package/dist/cdn/532DX3BO.js +0 -4
- package/dist/cdn/55EWEJDE.js +0 -4
- package/dist/cdn/55EX5FKG.js +0 -4
- package/dist/cdn/55GXZBXL.js +0 -4
- package/dist/cdn/55KDVWVA.js +0 -6
- package/dist/cdn/55XW4CQF.js +0 -4
- package/dist/cdn/5AGFUSNI.js +0 -4
- package/dist/cdn/5B42DZCB.js +0 -5
- package/dist/cdn/5CISGAIA.js +0 -4
- package/dist/cdn/5H4KFHK7.js +0 -4
- package/dist/cdn/5JKRLZYI.js +0 -8
- package/dist/cdn/5KWQPSJS.js +0 -4
- package/dist/cdn/5OUNJXIP.js +0 -4
- package/dist/cdn/5UGW2XZT.js +0 -4
- package/dist/cdn/5VRP6DW2.js +0 -4
- package/dist/cdn/5XW2FH55.js +0 -4
- package/dist/cdn/5YP55NTH.js +0 -4
- package/dist/cdn/5YPL66F7.js +0 -4
- package/dist/cdn/5ZPPAF6W.js +0 -4
- package/dist/cdn/63O4WMQL.js +0 -4
- package/dist/cdn/65JIJXEQ.js +0 -4
- package/dist/cdn/65TFPXXY.js +0 -4
- package/dist/cdn/66ZISCR6.js +0 -4
- package/dist/cdn/67HEP6KG.js +0 -4
- package/dist/cdn/67PKG2EB.js +0 -4
- package/dist/cdn/6EQZUST4.js +0 -4
- package/dist/cdn/6K3LC6CH.js +0 -4
- package/dist/cdn/6KWOWU2Z.js +0 -4
- package/dist/cdn/6O7K7UFT.js +0 -4
- package/dist/cdn/6OJMBA73.js +0 -4
- package/dist/cdn/6PJHKXLK.js +0 -4
- package/dist/cdn/6SAKZ22T.js +0 -4
- package/dist/cdn/6U4RCZDQ.js +0 -4
- package/dist/cdn/6VGHC5HS.js +0 -4
- package/dist/cdn/6WTWRZM6.js +0 -4
- package/dist/cdn/6Y6JDA6N.js +0 -4
- package/dist/cdn/6YU6DYYT.js +0 -4
- package/dist/cdn/6YWJ4C5F.js +0 -4
- package/dist/cdn/6YWWV2OW.js +0 -4
- package/dist/cdn/73CZV75P.js +0 -4
- package/dist/cdn/755BZUI2.js +0 -4
- package/dist/cdn/75Z5QMLZ.js +0 -4
- package/dist/cdn/77BM2RZ7.js +0 -4
- package/dist/cdn/77QGMIVG.js +0 -4
- package/dist/cdn/7BIZJ5CA.js +0 -4
- package/dist/cdn/7DAW2MAL.js +0 -4
- package/dist/cdn/7EAC2TIQ.js +0 -4
- package/dist/cdn/7FBH6TR2.js +0 -4
- package/dist/cdn/7FDMUCWK.js +0 -4
- package/dist/cdn/7GDAWMPY.js +0 -4
- package/dist/cdn/7HD23FOG.js +0 -4
- package/dist/cdn/7HHMWN47.js +0 -4
- package/dist/cdn/7J3F5BWJ.js +0 -4
- package/dist/cdn/7MUBNZ6O.js +0 -4
- package/dist/cdn/7N5EDJDD.js +0 -4
- package/dist/cdn/7NI3FUYB.js +0 -4
- package/dist/cdn/7NMWZDJE.js +0 -4
- package/dist/cdn/7NZBRMSJ.js +0 -4
- package/dist/cdn/7O5WJZNW.js +0 -4
- package/dist/cdn/7P7DPT2S.js +0 -4
- package/dist/cdn/7SJYWMWQ.js +0 -4
- package/dist/cdn/7TP55GOP.js +0 -4
- package/dist/cdn/7TUECNL3.js +0 -4
- package/dist/cdn/7UG32IMJ.js +0 -4
- package/dist/cdn/7VHCBHXV.js +0 -4
- package/dist/cdn/7WEWB3RB.js +0 -4
- package/dist/cdn/7Z3BEP7R.js +0 -4
- package/dist/cdn/A33YIYKX.js +0 -4
- package/dist/cdn/A3T3JHAT.js +0 -4
- package/dist/cdn/A5AYE47V.js +0 -4
- package/dist/cdn/A5O2NTWA.js +0 -4
- package/dist/cdn/AAQEOXA6.js +0 -4
- package/dist/cdn/ABZKGHD4.js +0 -4
- package/dist/cdn/ACHKJEPE.js +0 -4
- package/dist/cdn/ADHUCB3E.js +0 -4
- package/dist/cdn/AEMFZ7DJ.js +0 -4
- package/dist/cdn/AG67QKP3.js +0 -4
- package/dist/cdn/AHBP4VDN.js +0 -4
- package/dist/cdn/AJSON6AU.js +0 -4
- package/dist/cdn/ANKXEUBF.js +0 -4
- package/dist/cdn/AO5GWLKA.js +0 -4
- package/dist/cdn/AO7NAFDT.js +0 -4
- package/dist/cdn/AOIA5QS4.js +0 -4
- package/dist/cdn/B4JVA2NG.js +0 -4
- package/dist/cdn/B6IUHY7X.js +0 -4
- package/dist/cdn/B7X34H5U.js +0 -4
- package/dist/cdn/BAL44ZRR.js +0 -4
- package/dist/cdn/BALQQD5M.js +0 -4
- package/dist/cdn/BE5RH3YF.js +0 -4
- package/dist/cdn/BEX7FP5K.js +0 -4
- package/dist/cdn/BFGN5PIQ.js +0 -4
- package/dist/cdn/BIJKRQBY.js +0 -4
- package/dist/cdn/BINMKNA4.js +0 -4
- package/dist/cdn/BJHVV3QQ.js +0 -4
- package/dist/cdn/BKPVGAJB.js +0 -59
- package/dist/cdn/BL4DSQYC.js +0 -4
- package/dist/cdn/BLTDMSA7.js +0 -4
- package/dist/cdn/BQBD2DYN.js +0 -4
- package/dist/cdn/BQGTAI65.js +0 -4
- package/dist/cdn/BRNIYDQI.js +0 -4
- package/dist/cdn/BVEJI67A.js +0 -4
- package/dist/cdn/BW2JHKMR.js +0 -4
- package/dist/cdn/BYA3KMW3.js +0 -4
- package/dist/cdn/BZOGYTKT.js +0 -4
- package/dist/cdn/C35BKIUH.js +0 -4
- package/dist/cdn/C3JLSPAT.js +0 -4
- package/dist/cdn/C67URHFR.js +0 -4
- package/dist/cdn/C67WP7MS.js +0 -4
- package/dist/cdn/C6AQ57B5.js +0 -4
- package/dist/cdn/CDZIPYKL.js +0 -4
- package/dist/cdn/CFA5WEQ4.js +0 -4
- package/dist/cdn/CH7OZZPH.js +0 -4
- package/dist/cdn/CHLKYXQJ.js +0 -4
- package/dist/cdn/CVAEERSJ.js +0 -4
- package/dist/cdn/D2PUGPNE.js +0 -4
- package/dist/cdn/D37RW6DM.js +0 -4
- package/dist/cdn/D4BTW4HP.js +0 -4
- package/dist/cdn/D4P6UND3.js +0 -4
- package/dist/cdn/D5EAYWJU.js +0 -4
- package/dist/cdn/D6ABLQKG.js +0 -4
- package/dist/cdn/DCXA72P4.js +0 -4
- package/dist/cdn/DDY7JIJ6.js +0 -4
- package/dist/cdn/DGJN7MAO.js +0 -4
- package/dist/cdn/DHHWJYBV.js +0 -4
- package/dist/cdn/DJMUU3DF.js +0 -4
- package/dist/cdn/DN3W3QWA.js +0 -4
- package/dist/cdn/DNM3WXJN.js +0 -4
- package/dist/cdn/DOTK332X.js +0 -4
- package/dist/cdn/DP2XJ3D2.js +0 -4
- package/dist/cdn/DQSJYXPO.js +0 -4
- package/dist/cdn/DYL7KYHS.js +0 -4
- package/dist/cdn/E3WWPI7Y.js +0 -4
- package/dist/cdn/E445II4R.js +0 -4
- package/dist/cdn/E4JKSRCJ.js +0 -4
- package/dist/cdn/E4PN3RFI.js +0 -4
- package/dist/cdn/E4RTEACV.js +0 -4
- package/dist/cdn/E5GKRHG5.js +0 -4
- package/dist/cdn/E6SKCXTA.js +0 -4
- package/dist/cdn/EAPLKV2F.js +0 -4
- package/dist/cdn/EE5M4R7L.js +0 -4
- package/dist/cdn/EENXZK33.js +0 -4
- package/dist/cdn/EEP5SC3Q.js +0 -4
- package/dist/cdn/EEZWJCAI.js +0 -4
- package/dist/cdn/EHQQNEKV.js +0 -4
- package/dist/cdn/EJ72P2EL.js +0 -4
- package/dist/cdn/ELOXOFXR.js +0 -4
- package/dist/cdn/ENYCM2BZ.js +0 -4
- package/dist/cdn/EQY55BIN.js +0 -4
- package/dist/cdn/EUJMZDKO.js +0 -4
- package/dist/cdn/EVUT4MY7.js +0 -4
- package/dist/cdn/EWIXPOTG.js +0 -4
- package/dist/cdn/EXEA2U5Y.js +0 -4
- package/dist/cdn/F2IQQSLX.js +0 -4
- package/dist/cdn/F2ZVBXKP.js +0 -4
- package/dist/cdn/F44SBKUG.js +0 -4
- package/dist/cdn/F45Z3UD5.js +0 -4
- package/dist/cdn/F46A6W7U.js +0 -4
- package/dist/cdn/FBBSMT6Z.js +0 -4
- package/dist/cdn/FCPASE7R.js +0 -4
- package/dist/cdn/FEKS34G6.js +0 -4
- package/dist/cdn/FHI65R74.js +0 -4
- package/dist/cdn/FHO6NOPQ.js +0 -4
- package/dist/cdn/FKGQH4GY.js +0 -4
- package/dist/cdn/FLH7F6U4.js +0 -4
- package/dist/cdn/FMATC3WT.js +0 -4
- package/dist/cdn/FMIHPL42.js +0 -4
- package/dist/cdn/FQTFDGIQ.js +0 -4
- package/dist/cdn/FSDGM2AN.js +0 -4
- package/dist/cdn/FTTVWVFK.js +0 -4
- package/dist/cdn/FTWVC57H.js +0 -4
- package/dist/cdn/FUVIMEYY.js +0 -4
- package/dist/cdn/FWAWHAFR.js +0 -4
- package/dist/cdn/FY3A5A57.js +0 -4
- package/dist/cdn/FYERXL6Y.js +0 -4
- package/dist/cdn/FZKWQOCD.js +0 -4
- package/dist/cdn/FZQBKEKK.js +0 -4
- package/dist/cdn/G3FTBUSH.js +0 -4
- package/dist/cdn/G4FKEAQV.js +0 -4
- package/dist/cdn/G4ZR75UC.js +0 -4
- package/dist/cdn/G72C3232.js +0 -4
- package/dist/cdn/GB6W6WWU.js +0 -4
- package/dist/cdn/GBO4UUHW.js +0 -4
- package/dist/cdn/GEXR5MLE.js +0 -4
- package/dist/cdn/GFOKP74Y.js +0 -4
- package/dist/cdn/GGQTBNLJ.js +0 -4
- package/dist/cdn/GJJ7LJJG.js +0 -4
- package/dist/cdn/GJZRCLPU.js +0 -4
- package/dist/cdn/GKMAAIGN.js +0 -4
- package/dist/cdn/GMULUMPH.js +0 -4
- package/dist/cdn/GN4KY7H4.js +0 -4
- package/dist/cdn/GOGXUCYY.js +0 -4
- package/dist/cdn/GSRECN2Z.js +0 -4
- package/dist/cdn/GWPYV2KX.js +0 -4
- package/dist/cdn/GWVP4IFU.js +0 -4
- package/dist/cdn/GXVTMQSU.js +0 -4
- package/dist/cdn/GYEEQUIG.js +0 -4
- package/dist/cdn/GYTNDG3P.js +0 -4
- package/dist/cdn/HF6BDQ6N.js +0 -4
- package/dist/cdn/HHETNGII.js +0 -4
- package/dist/cdn/HIQRIHSJ.js +0 -4
- package/dist/cdn/HNIK2PZA.js +0 -4
- package/dist/cdn/HP2YGZ7I.js +0 -4
- package/dist/cdn/HPYJOZTI.js +0 -4
- package/dist/cdn/HQ2FHS27.js +0 -4
- package/dist/cdn/HSMRPCEX.js +0 -4
- package/dist/cdn/HUB47M56.js +0 -4
- package/dist/cdn/HWD3SXLY.js +0 -4
- package/dist/cdn/HXLBX4JF.js +0 -4
- package/dist/cdn/HXOY7JUN.js +0 -4
- package/dist/cdn/I22KJABQ.js +0 -4
- package/dist/cdn/IAGEN52E.js +0 -4
- package/dist/cdn/IEKZTKS7.js +0 -4
- package/dist/cdn/IF6JBFZS.js +0 -4
- package/dist/cdn/IFXTKCYD.js +0 -4
- package/dist/cdn/IG3KK4GI.js +0 -4
- package/dist/cdn/IJZQYCXL.js +0 -4
- package/dist/cdn/IMO4XFVL.js +0 -24
- package/dist/cdn/INKOL5SL.js +0 -4
- package/dist/cdn/IOGVG3UZ.js +0 -4
- package/dist/cdn/IQG54FJA.js +0 -4
- package/dist/cdn/IQOKNUCH.js +0 -4
- package/dist/cdn/IV6B6JJ6.js +0 -4
- package/dist/cdn/IWKRDSIB.js +0 -4
- package/dist/cdn/IXBJ77XU.js +0 -4
- package/dist/cdn/J2MBCCXQ.js +0 -4
- package/dist/cdn/J4JQXXDL.js +0 -4
- package/dist/cdn/J4KFKO7C.js +0 -4
- package/dist/cdn/J6VTDIOA.js +0 -4
- package/dist/cdn/JA3MN6JC.js +0 -4
- package/dist/cdn/JBD43LBV.js +0 -4
- package/dist/cdn/JC33AFPY.js +0 -4
- package/dist/cdn/JCKU5LHF.js +0 -4
- package/dist/cdn/JEOKO63T.js +0 -4
- package/dist/cdn/JG5CAU3D.js +0 -4
- package/dist/cdn/JGBEZFB5.js +0 -4
- package/dist/cdn/JJTHMSAZ.js +0 -4
- package/dist/cdn/JKAX7AE6.js +0 -4
- package/dist/cdn/JLUZHFEF.js +0 -4
- package/dist/cdn/JNBS66XH.js +0 -4
- package/dist/cdn/JNUR4CQL.js +0 -4
- package/dist/cdn/JOXMJ2FC.js +0 -4
- package/dist/cdn/JPRV42GI.js +0 -4
- package/dist/cdn/JPVBZB44.js +0 -4
- package/dist/cdn/JTIDUTP7.js +0 -4
- package/dist/cdn/JTQACUQ3.js +0 -4
- package/dist/cdn/JXECAVSQ.js +0 -4
- package/dist/cdn/JXQGETHA.js +0 -4
- package/dist/cdn/JXRGZBMK.js +0 -4
- package/dist/cdn/JYMTWRDN.js +0 -4
- package/dist/cdn/K3LRZLCJ.js +0 -4
- package/dist/cdn/K3UXAYBZ.js +0 -4
- package/dist/cdn/K52ED3JH.js +0 -4
- package/dist/cdn/K6R5SBOJ.js +0 -4
- package/dist/cdn/K7D47XCP.js +0 -4
- package/dist/cdn/KBYTUMKM.js +0 -4
- package/dist/cdn/KEVZM3OI.js +0 -4
- package/dist/cdn/KFEELHHS.js +0 -4
- package/dist/cdn/KIP5TDFY.js +0 -4
- package/dist/cdn/KLB7Z3YN.js +0 -4
- package/dist/cdn/KNCNTZCH.js +0 -4
- package/dist/cdn/KOKGMGFL.js +0 -4
- package/dist/cdn/KOTERMBO.js +0 -4
- package/dist/cdn/KRMPSD3F.js +0 -4
- package/dist/cdn/KS5H5XKS.js +0 -4
- package/dist/cdn/KSITFAXI.js +0 -4
- package/dist/cdn/KVB4FC5S.js +0 -4
- package/dist/cdn/KWPHPCRW.js +0 -4
- package/dist/cdn/KWYD4R3E.js +0 -4
- package/dist/cdn/KXJ2PUUU.js +0 -4
- package/dist/cdn/L23IMB5P.js +0 -4
- package/dist/cdn/L3USTO6H.js +0 -4
- package/dist/cdn/L43OZW4B.js +0 -4
- package/dist/cdn/L4GW4COF.js +0 -4
- package/dist/cdn/L4K64IR7.js +0 -4
- package/dist/cdn/LBJLDOYG.js +0 -4
- package/dist/cdn/LC66JMGS.js +0 -4
- package/dist/cdn/LD4MZ6GK.js +0 -4
- package/dist/cdn/LL4ZVKHU.js +0 -4
- package/dist/cdn/LN53V6BD.js +0 -4
- package/dist/cdn/LNGU4ALS.js +0 -4
- package/dist/cdn/LNGWJTRV.js +0 -4
- package/dist/cdn/LRB5ZQVC.js +0 -4
- package/dist/cdn/LSKW6UHW.js +0 -4
- package/dist/cdn/M2FYOBGZ.js +0 -4
- package/dist/cdn/M2TDQAYO.js +0 -4
- package/dist/cdn/M362E7UC.js +0 -4
- package/dist/cdn/M52FOHHH.js +0 -4
- package/dist/cdn/M5UFLFEC.js +0 -4
- package/dist/cdn/M7C64RMA.js +0 -4
- package/dist/cdn/MA4MTAJN.js +0 -4
- package/dist/cdn/MA6EYJPW.js +0 -4
- package/dist/cdn/MC4KWHCA.js +0 -4
- package/dist/cdn/MCY5C72G.js +0 -4
- package/dist/cdn/MJJ5BBN2.js +0 -4
- package/dist/cdn/MJYNRDEF.js +0 -4
- package/dist/cdn/MN34FQZ2.js +0 -4
- package/dist/cdn/MP6I2EKO.js +0 -4
- package/dist/cdn/MPGGGES4.js +0 -4
- package/dist/cdn/MQ44GBZQ.js +0 -4
- package/dist/cdn/MR7TPTUX.js +0 -4
- package/dist/cdn/MRGXBNYI.js +0 -4
- package/dist/cdn/MS4LIAG4.js +0 -4
- package/dist/cdn/MT7THRI5.js +0 -4
- package/dist/cdn/MU3IWV2Z.js +0 -4
- package/dist/cdn/MUR2U2VM.js +0 -4
- package/dist/cdn/MVSOHNDD.js +0 -4
- package/dist/cdn/MXC2JXSB.js +0 -4
- package/dist/cdn/N5PVV2WJ.js +0 -4
- package/dist/cdn/N7WFOPU7.js +0 -4
- package/dist/cdn/NAS76S6Q.js +0 -4
- package/dist/cdn/NBHREWV5.js +0 -4
- package/dist/cdn/NCG7TINR.js +0 -4
- package/dist/cdn/NCKL5I2B.js +0 -4
- package/dist/cdn/NDNNLSQE.js +0 -4
- package/dist/cdn/NIITT37R.js +0 -4
- package/dist/cdn/NIUPAU6A.js +0 -4
- package/dist/cdn/NJ4RYY7M.js +0 -4
- package/dist/cdn/NJAOO7AT.js +0 -4
- package/dist/cdn/NJEDGRTT.js +0 -4
- package/dist/cdn/NLN7H6JK.js +0 -4
- package/dist/cdn/NMQLYCYS.js +0 -4
- package/dist/cdn/NNF3MGFT.js +0 -4
- package/dist/cdn/NOTTXOQS.js +0 -4
- package/dist/cdn/NQBTGPRM.js +0 -4
- package/dist/cdn/NQUO7JKE.js +0 -4
- package/dist/cdn/NR2GVG2P.js +0 -4
- package/dist/cdn/NRWVVW7K.js +0 -4
- package/dist/cdn/NUCWGH2Y.js +0 -4
- package/dist/cdn/NURAQGWN.js +0 -4
- package/dist/cdn/NX3YJ4QV.js +0 -4
- package/dist/cdn/NYON5ZTM.js +0 -4
- package/dist/cdn/O2CQOLBK.js +0 -4
- package/dist/cdn/O2LA4HCN.js +0 -4
- package/dist/cdn/O3BWMGAV.js +0 -4
- package/dist/cdn/O6FCDTGJ.js +0 -4
- package/dist/cdn/OATBLUS3.js +0 -4
- package/dist/cdn/OHKEAC2D.js +0 -4
- package/dist/cdn/OIUCQNK4.js +0 -4
- package/dist/cdn/OOEHXWST.js +0 -4
- package/dist/cdn/OOK546MO.js +0 -4
- package/dist/cdn/OTDBMVMD.js +0 -4
- package/dist/cdn/OTR532PR.js +0 -4
- package/dist/cdn/OUCPKXPQ.js +0 -4
- package/dist/cdn/OUNHCRMY.js +0 -4
- package/dist/cdn/OUOKI3DR.js +0 -4
- package/dist/cdn/OUQO5OPQ.js +0 -4
- package/dist/cdn/OVD456WZ.js +0 -4
- package/dist/cdn/OWK6Y3VH.js +0 -4
- package/dist/cdn/OZBS7QJN.js +0 -4
- package/dist/cdn/P6BWHRL3.js +0 -4
- package/dist/cdn/P6G77QCA.js +0 -4
- package/dist/cdn/PAKJ2B53.js +0 -4
- package/dist/cdn/PC5JRT7R.js +0 -4
- package/dist/cdn/PC6Y5W4I.js +0 -4
- package/dist/cdn/PEKDGBAJ.js +0 -4
- package/dist/cdn/PFGE6PRP.js +0 -4
- package/dist/cdn/PGCKEYPR.js +0 -12
- package/dist/cdn/PI67ROZ5.js +0 -4
- package/dist/cdn/PJGGJUOK.js +0 -4
- package/dist/cdn/PJM65ANE.js +0 -4
- package/dist/cdn/PJVUBHMT.js +0 -4
- package/dist/cdn/PLBPDMDG.js +0 -4
- package/dist/cdn/PNQLRDP5.js +0 -4
- package/dist/cdn/PQIMUC3W.js +0 -4
- package/dist/cdn/PXTT2ACA.js +0 -11
- package/dist/cdn/PYCV5OUJ.js +0 -4
- package/dist/cdn/Q2537NVD.js +0 -9
- package/dist/cdn/Q4MSH5BF.js +0 -4
- package/dist/cdn/Q5YYHBV4.js +0 -4
- package/dist/cdn/QE63H3RK.js +0 -4
- package/dist/cdn/QF6JIVBK.js +0 -4
- package/dist/cdn/QFLXSCS3.js +0 -4
- package/dist/cdn/QGFGSQ3T.js +0 -4
- package/dist/cdn/QITHK2VZ.js +0 -4
- package/dist/cdn/QM7WXUH5.js +0 -4
- package/dist/cdn/QNJODJPL.js +0 -4
- package/dist/cdn/QOAS53GT.js +0 -4
- package/dist/cdn/QPDUZCRZ.js +0 -4
- package/dist/cdn/QQJHRXYO.js +0 -4
- package/dist/cdn/QVP567RY.js +0 -4
- package/dist/cdn/QVXVKVGV.js +0 -4
- package/dist/cdn/QWNWJYQF.js +0 -4
- package/dist/cdn/R2D2XNRZ.js +0 -4
- package/dist/cdn/R35XHRRS.js +0 -4
- package/dist/cdn/R5W5532D.js +0 -4
- package/dist/cdn/R6JME5OD.js +0 -4
- package/dist/cdn/R6LBV3Z4.js +0 -4
- package/dist/cdn/RCUXCD4P.js +0 -4
- package/dist/cdn/RDZWQAPS.js +0 -4
- package/dist/cdn/RFZI2SRT.js +0 -4
- package/dist/cdn/RGP2Z3S4.js +0 -4
- package/dist/cdn/RHTIUG2O.js +0 -4
- package/dist/cdn/RIYCXEYB.js +0 -4
- package/dist/cdn/RIZ55DJG.js +0 -4
- package/dist/cdn/RNTBJAVN.js +0 -5
- package/dist/cdn/ROK7XIVL.js +0 -4
- package/dist/cdn/ROVN6OOF.js +0 -4
- package/dist/cdn/RP44T3XW.js +0 -4
- package/dist/cdn/RRBVBT3L.js +0 -4
- package/dist/cdn/RRCL6ONM.js +0 -4
- package/dist/cdn/RXB2J2LR.js +0 -4
- package/dist/cdn/RZETLIZU.js +0 -4
- package/dist/cdn/RZNKOYFE.js +0 -4
- package/dist/cdn/RZPZLRMD.js +0 -4
- package/dist/cdn/RZYSF5UQ.js +0 -4
- package/dist/cdn/S5JLQ2IU.js +0 -4
- package/dist/cdn/S5MMCXR5.js +0 -4
- package/dist/cdn/S5X5QROD.js +0 -4
- package/dist/cdn/S6HPRAQK.js +0 -4
- package/dist/cdn/SCHYF4WP.js +0 -4
- package/dist/cdn/SCQZXC4R.js +0 -4
- package/dist/cdn/SDP2PKUA.js +0 -4
- package/dist/cdn/SDUTNGKA.js +0 -4
- package/dist/cdn/SDV53K6F.js +0 -4
- package/dist/cdn/SE6YNCIG.js +0 -4
- package/dist/cdn/SHU5W64E.js +0 -4
- package/dist/cdn/SHWREAPR.js +0 -4
- package/dist/cdn/SI4JN6UE.js +0 -4
- package/dist/cdn/SLF5GAG5.js +0 -4
- package/dist/cdn/SLJJZNHT.js +0 -4
- package/dist/cdn/SLX4ZDYH.js +0 -4
- package/dist/cdn/SM3W342U.js +0 -4
- package/dist/cdn/SMUVBCYN.js +0 -4
- package/dist/cdn/STJLTHNT.js +0 -4
- package/dist/cdn/STTBWAGQ.js +0 -16
- package/dist/cdn/SWDB5GF2.js +0 -4
- package/dist/cdn/T3E2XKFY.js +0 -4
- package/dist/cdn/TF4PLKO6.js +0 -4
- package/dist/cdn/TFV5BND7.js +0 -4
- package/dist/cdn/THYELZ6Z.js +0 -4
- package/dist/cdn/TJEI5PBW.js +0 -4
- package/dist/cdn/TLKGGRKI.js +0 -4
- package/dist/cdn/TLXZDCWC.js +0 -4
- package/dist/cdn/TMI2NYGW.js +0 -4
- package/dist/cdn/TMYIZTE5.js +0 -4
- package/dist/cdn/TR5Y4OBZ.js +0 -4
- package/dist/cdn/TTEVQMAG.js +0 -4
- package/dist/cdn/TTK6IQ4A.js +0 -4
- package/dist/cdn/TTWVMUA3.js +0 -25
- package/dist/cdn/TUQR6PHO.js +0 -4
- package/dist/cdn/TVHY3U6N.js +0 -4
- package/dist/cdn/TWPOICKM.js +0 -4
- package/dist/cdn/U5V4JBRW.js +0 -4
- package/dist/cdn/U66TPVOJ.js +0 -4
- package/dist/cdn/U6JOQYDP.js +0 -4
- package/dist/cdn/U7UFT4TL.js +0 -4
- package/dist/cdn/UAPM5F6Z.js +0 -4
- package/dist/cdn/UCYHCB4C.js +0 -4
- package/dist/cdn/UDSKJPEA.js +0 -4
- package/dist/cdn/UF4C4KKB.js +0 -4
- package/dist/cdn/UFYDW7OH.js +0 -4
- package/dist/cdn/UGEUUHMA.js +0 -4
- package/dist/cdn/UJ7B3RYB.js +0 -4
- package/dist/cdn/UJXELXT7.js +0 -4
- package/dist/cdn/UKNMQKUT.js +0 -4
- package/dist/cdn/UMFR2EDX.js +0 -4
- package/dist/cdn/UMPPGZRA.js +0 -4
- package/dist/cdn/UN3PSOWW.js +0 -4
- package/dist/cdn/UO44TYJ3.js +0 -4
- package/dist/cdn/UOWJZBHK.js +0 -4
- package/dist/cdn/UP2L3ZWZ.js +0 -4
- package/dist/cdn/UQN735OX.js +0 -51
- package/dist/cdn/URHQ63VU.js +0 -4
- package/dist/cdn/US2ARALS.js +0 -4
- package/dist/cdn/UUGFQ2HG.js +0 -4
- package/dist/cdn/UVGG6MPZ.js +0 -4
- package/dist/cdn/UVQT64CF.js +0 -4
- package/dist/cdn/UW4GOCXP.js +0 -4
- package/dist/cdn/UW4SEWRF.js +0 -4
- package/dist/cdn/UXFILQEQ.js +0 -4
- package/dist/cdn/UZXCTC2F.js +0 -4
- package/dist/cdn/V2LGHDAX.js +0 -4
- package/dist/cdn/V2NVSI22.js +0 -5
- package/dist/cdn/V2P4ZML3.js +0 -4
- package/dist/cdn/V2SAL62K.js +0 -4
- package/dist/cdn/V4IN6E4E.js +0 -6
- package/dist/cdn/V4XBEUVT.js +0 -4
- package/dist/cdn/V6JS4ENO.js +0 -4
- package/dist/cdn/VDODPDTT.js +0 -4
- package/dist/cdn/VEZNQ773.js +0 -4
- package/dist/cdn/VG63SJJR.js +0 -4
- package/dist/cdn/VGX2Y725.js +0 -4
- package/dist/cdn/VICKRTCU.js +0 -4
- package/dist/cdn/VJHB4PQP.js +0 -4
- package/dist/cdn/VL6MJSJY.js +0 -4
- package/dist/cdn/VLKP54EX.js +0 -4
- package/dist/cdn/VMAZUPWE.js +0 -4
- package/dist/cdn/VNQUWJ5A.js +0 -4
- package/dist/cdn/VQIWTNQA.js +0 -4
- package/dist/cdn/VYDCRKGF.js +0 -4
- package/dist/cdn/VZAGU3XL.js +0 -5
- package/dist/cdn/W3B6TIT5.js +0 -4
- package/dist/cdn/W6KWGXG4.js +0 -4
- package/dist/cdn/W6OLV43Y.js +0 -59
- package/dist/cdn/WANZXP6T.js +0 -5
- package/dist/cdn/WCA3T7PU.js +0 -4
- package/dist/cdn/WCWS2M7P.js +0 -4
- package/dist/cdn/WFUO7RY3.js +0 -4
- package/dist/cdn/WG22EBMC.js +0 -6
- package/dist/cdn/WHZZUUD2.js +0 -4
- package/dist/cdn/WJ5ARG27.js +0 -4
- package/dist/cdn/WKJD3B52.js +0 -4
- package/dist/cdn/WLMFBAA4.js +0 -4
- package/dist/cdn/WM3JPZJP.js +0 -4
- package/dist/cdn/WMKDXU54.js +0 -4
- package/dist/cdn/WMTGRSXS.js +0 -4
- package/dist/cdn/WNBBLIRZ.js +0 -4
- package/dist/cdn/WNNAUK65.js +0 -4
- package/dist/cdn/WO4HJPLA.js +0 -4
- package/dist/cdn/WPZUYOOQ.js +0 -4
- package/dist/cdn/WQSVMNPQ.js +0 -4
- package/dist/cdn/WQY2VKG7.js +0 -4
- package/dist/cdn/WQZCNNTB.js +0 -4
- package/dist/cdn/WTEHMVCT.js +0 -4
- package/dist/cdn/WUOKP6QG.js +0 -4
- package/dist/cdn/WUYWLMQP.js +0 -4
- package/dist/cdn/WWRIVPOG.js +0 -4
- package/dist/cdn/WXJB6XXG.js +0 -4
- package/dist/cdn/X4EJJCW7.js +0 -4
- package/dist/cdn/X6EUCVKE.js +0 -4
- package/dist/cdn/X6MQPAUR.js +0 -4
- package/dist/cdn/XBGQSZRW.js +0 -4
- package/dist/cdn/XBWGQQLX.js +0 -4
- package/dist/cdn/XBYQ4KDE.js +0 -4
- package/dist/cdn/XC7FAG73.js +0 -4
- package/dist/cdn/XELMN4CA.js +0 -4
- package/dist/cdn/XFTTPIPR.js +0 -4
- package/dist/cdn/XHYLHKNU.js +0 -4
- package/dist/cdn/XIU5BZCM.js +0 -4
- package/dist/cdn/XJ43A3U3.js +0 -4
- package/dist/cdn/XJLJ6ZOF.js +0 -4
- package/dist/cdn/XK34CFUD.js +0 -4
- package/dist/cdn/XKNGJWP6.js +0 -4
- package/dist/cdn/XLN7LIYK.js +0 -4
- package/dist/cdn/XPTEBX7D.js +0 -4
- package/dist/cdn/XSAUJAUI.js +0 -4
- package/dist/cdn/XT572UC3.js +0 -12
- package/dist/cdn/XUBXM6YR.js +0 -4
- package/dist/cdn/XVAM5O7R.js +0 -4
- package/dist/cdn/XVF2SK3P.js +0 -4
- package/dist/cdn/XY2VZLXS.js +0 -4
- package/dist/cdn/XZOVMMWF.js +0 -4
- package/dist/cdn/Y42JMJ4E.js +0 -4
- package/dist/cdn/Y4E3UJX7.js +0 -4
- package/dist/cdn/Y4JTR6CX.js +0 -4
- package/dist/cdn/Y5JIRK2F.js +0 -4
- package/dist/cdn/YA4KOUXO.js +0 -4
- package/dist/cdn/YAAA2NZA.js +0 -4
- package/dist/cdn/YAWG4V23.js +0 -4
- package/dist/cdn/YBFFZW2A.js +0 -4
- package/dist/cdn/YDFLXPCN.js +0 -4
- package/dist/cdn/YFLCHD2S.js +0 -4
- package/dist/cdn/YFWLPCOQ.js +0 -4
- package/dist/cdn/YGKPTPLD.js +0 -4
- package/dist/cdn/YKDUL7W4.js +0 -4
- package/dist/cdn/YL7SB3HH.js +0 -4
- package/dist/cdn/YLA42YVT.js +0 -4
- package/dist/cdn/YMVF7TG2.js +0 -4
- package/dist/cdn/YNGHLPFI.js +0 -4
- package/dist/cdn/YOBQQDTU.js +0 -5470
- package/dist/cdn/YPMJI6UD.js +0 -4
- package/dist/cdn/YPTCQNA3.js +0 -4
- package/dist/cdn/YQB74A3V.js +0 -4
- package/dist/cdn/YQIRJMZQ.js +0 -4
- package/dist/cdn/YQL3IIVR.js +0 -4
- package/dist/cdn/YRGJD4VB.js +0 -4
- package/dist/cdn/YS3UNLUP.js +0 -4
- package/dist/cdn/YSOMI367.js +0 -4
- package/dist/cdn/YVJNYDIY.js +0 -4
- package/dist/cdn/YXICRI4L.js +0 -4
- package/dist/cdn/YXK6KDQG.js +0 -4
- package/dist/cdn/Z25YEEZO.js +0 -4
- package/dist/cdn/Z6CFELIT.js +0 -4
- package/dist/cdn/Z6N2OLHB.js +0 -4
- package/dist/cdn/ZBEVHOY7.js +0 -4
- package/dist/cdn/ZCOPTR7V.js +0 -4
- package/dist/cdn/ZCYS2NFV.js +0 -4
- package/dist/cdn/ZEF47TPP.js +0 -4
- package/dist/cdn/ZESTNAGF.js +0 -4
- package/dist/cdn/ZGDRYRSV.js +0 -4
- package/dist/cdn/ZH2VB7YY.js +0 -4
- package/dist/cdn/ZH6CYFWN.js +0 -4
- package/dist/cdn/ZHPVCELO.js +0 -4
- package/dist/cdn/ZJ2P2SRT.js +0 -4
- package/dist/cdn/ZLIT5DA5.js +0 -4
- package/dist/cdn/ZNU7RGVB.js +0 -4
- package/dist/cdn/ZQ4UBBE3.js +0 -4
- package/dist/cdn/ZQ7WKGYV.js +0 -4
- package/dist/cdn/ZR6TGIFS.js +0 -4
- package/dist/cdn/ZREPNK6I.js +0 -4
- package/dist/cdn/ZSEAFPXM.js +0 -4
- package/dist/cdn/ZUTCI2U4.js +0 -4
- package/dist/cdn/ZVE3TI4H.js +0 -4
- package/dist/cdn/ZWFAI4MK.js +0 -4
- package/dist/cdn/ZZ3ZIPMF.js +0 -4
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.d.ts +0 -13
- package/dist/components/arcgis-chat-ui/functional/chat-action/index.d.ts +0 -3
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.d.ts +0 -13
- package/dist/components/arcgis-chat-ui/functional/chat-response/index.d.ts +0 -7
- package/dist/components/arcgis-chat-ui/util/contentFallback.d.ts +0 -1
- package/dist/components/arcgis-chat-ui/util/customElement.d.ts +0 -38
- package/dist/components/arcgis-hub-ai-assistant/util/configuration.d.ts +0 -6
- package/dist/components/arcgis-hub-ai-assistant/util/customElement.d.ts +0 -11
- package/dist/components/arcgis-hub-ai-assistant/util/map.d.ts +0 -2
- package/dist/components/arcgis-hub-ai-assistant/util/types.d.ts +0 -23
- package/dist/components/arcgis-hub-entity-view-layout/utils/buildDefaultEntityLayout.d.ts +0 -5
- package/dist/components/arcgis-hub-entity-view-layout/utils/buildDefaultProjectLayout.d.ts +0 -5
- package/dist/components/arcgis-hub-entity-view-layout/utils/buildLayoutFromEntityView.d.ts +0 -7
- package/dist/components/arcgis-layout-column/customElement.d.ts +0 -43
- package/dist/components/arcgis-layout-column/index.d.ts +0 -2
- package/dist/components/arcgis-layout-editor-toolbar/customElement.d.ts +0 -34
- package/dist/components/arcgis-layout-editor-toolbar/index.d.ts +0 -8
- package/dist/components/arcgis-layout-node-controls/customElement.d.ts +0 -58
- package/dist/components/arcgis-layout-node-controls/index.d.ts +0 -7
- package/dist/components/arcgis-layout-node-editor/customElement.d.ts +0 -22
- package/dist/components/arcgis-layout-node-editor/index.d.ts +0 -3
- package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.d.ts +0 -18
- package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/index.d.ts +0 -4
- package/dist/components/arcgis-layout-node-wrapper/customElement.d.ts +0 -23
- package/dist/components/arcgis-layout-node-wrapper/index.d.ts +0 -7
- package/dist/components/arcgis-layout-row/customElement.d.ts +0 -33
- package/dist/components/arcgis-layout-row/index.d.ts +0 -2
- package/dist/components/arcgis-layout-section/customElement.d.ts +0 -33
- package/dist/components/arcgis-layout-section/index.d.ts +0 -2
- package/dist/components/arcgis-text-card/utils/migrateTextCard.d.ts +0 -27
- package/dist/components/layouts/components/layout-node/customElement.d.ts +0 -31
- package/dist/components/layouts/components/layout-node/index.d.ts +0 -21
- package/dist/components/layouts/utils/deepFreeze.d.ts +0 -11
- package/dist/components/layouts/utils/findColumnAndNodeIndex.d.ts +0 -19
- package/dist/components/layouts/utils/findNodesReferencingVariable.d.ts +0 -13
- package/dist/components/layouts/utils/findVariableUsagesInNode.d.ts +0 -9
- package/dist/components/layouts/utils/getAddableLayoutNodes.d.ts +0 -12
- package/dist/components/layouts/utils/getLayoutNodeConfig.d.ts +0 -12
- package/dist/components/layouts/utils/getLayoutNodeConfigs.d.ts +0 -16
- package/dist/components/layouts/utils/getResponsiveClasses.d.ts +0 -44
- package/dist/components/layouts/utils/isNodeVisible.d.ts +0 -9
- package/dist/components/layouts/utils/layoutContext.d.ts +0 -29
- package/dist/components/layouts/utils/lockLayout.d.ts +0 -9
- package/dist/components/layouts/utils/memoizeAsync.d.ts +0 -7
- package/dist/components/layouts/utils/migrations/getLayoutNodeMigrationFn.d.ts +0 -12
- package/dist/components/layouts/utils/migrations/migrateLayout.d.ts +0 -19
- package/dist/components/layouts/utils/processLayout.d.ts +0 -2
- package/dist/components/layouts/utils/removeNode.d.ts +0 -11
- package/dist/components/layouts/utils/removeUnreferencedVariables.d.ts +0 -8
- package/dist/components/layouts/utils/repositionNode.d.ts +0 -11
- package/dist/components/layouts/utils/typeGuards.d.ts +0 -25
- package/dist/components/layouts/utils/validateLayout.d.ts +0 -7
- package/dist/controllers/querystring.d.ts +0 -102
- package/dist/controllers/useGlobalContext.d.ts +0 -6
- package/dist/controllers/useT9n.d.ts +0 -1
- package/dist/embed-config.d.ts +0 -27
- package/dist/html/arcgis-layout/fixtures/blocks-and-cards-layout.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/entity-view-layout.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/fluid-section-layout.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/holy-grail-layout.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/index.d.ts +0 -9
- package/dist/html/arcgis-layout/fixtures/multiple-column-layout.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/nested-rows-columns-layout.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/nogutters-align-offset.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/single-column-layout.d.ts +0 -2
- package/dist/html/arcgis-layout/fixtures/tabbed-layout.d.ts +0 -2
- package/dist/runtime.d.ts +0 -6
- package/dist/util/getTranslatedString.d.ts +0 -15
- package/dist/util/interpolate-translations.d.ts +0 -18
- package/dist/util/interpolate.d.ts +0 -16
- package/dist/util/querySelectorAllDeep.d.ts +0 -7
- package/dist/util/state.d.ts +0 -7
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as m}from"./Q5A7L43T.js";import{a as b,b as q,c as L}from"./VANWWSL3.js";import{a as U}from"./UADY5XO7.js";import{e as W}from"./GLK5OMGB.js";import"./FQQX35FA.js";import"./5LEP3IWV.js";import{g as $,h as M,m as _}from"./TARH5FST.js";import"./HH5PXKUQ.js";import"./42NTJTRV.js";import{a as T}from"./KI2RNLIW.js";import{a as J}from"./NUH2IEG5.js";import{a as z}from"./LK454DSU.js";import"./E2RL5I2B.js";import"./YLRR2XFD.js";import"./JSOZV4HA.js";import{D as V,E as O,F as B,n as N}from"./VXJI546E.js";import"./ZQPTNYU6.js";import"./UCUSWPVC.js";import"./HTYDCXX6.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import"./2NJPYBHN.js";import"./635V3Q2N.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import"./XP6ZXTST.js";import"./LVCMKKG7.js";import"./UTQMJRMF.js";import"./AEPE3IDB.js";import"./UR5INQGU.js";import"./HV466M4A.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import"./HSFPILSC.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import{f as x,g as E}from"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import{a as P}from"./A6FB2POK.js";import c from"./K5O2OVOP.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import{a as k}from"./37IO4VH2.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import"./RL2IUUBA.js";import{a as j}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import{a as F}from"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import{a as I}from"./USNX342T.js";import{b as f,c as Y,d as K,e as C,h as S,i as Q}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([,{c:X,j:Z},{n:H,w:ee}])=>{var te={type:"Polygon",coordinates:[[[180,-90],[180,90],[-180,90],[-180,-90],[180,-90]]]},se=(e,t,s,i,r)=>{let a=Math.ceil(e/t);return a>i?(I.warn(`Discussions requests exceeds desired threshold, throttling to ${r}ms per batch.`),r):s/a},ie=async(e,t,s=10,i=!0)=>{let r=async a=>{var o;let n=(o=a.start)!==null&&o!==void 0?o:1,h=Object.assign({data:Object.assign({num:s,relations:[O.REPLIES,O.CHANNEL,O.CHANNEL_ACL],sortBy:V.UPDATED_AT,sortOrder:N.DESC,start:n},a)},t),d=B(h);if(n===1){let{total:l}=await d,c=n+s,p=[d],v=i?se(l,s,2500,10,250):0;for(;c<=l;)await J(v),p.push(...await r(Object.assign(Object.assign({geometry:te},a),{start:c}))),c=c+s;return p}return[d]};try{let a=await Promise.all([...await r(Object.assign(Object.assign({},e),{discussion:`${e.discussion}%?id=%`})),...await r(Object.assign(Object.assign({},e),{geometry:te,discussion:`${e.discussion}%`}))]),o=[],n=a.map(({items:h})=>h).flat().filter(h=>o.includes(h.id)?!1:(o.push(h.id),!0));return $(n)}catch(a){let{message:o}=a;I.error("Could not fetch on-map discussions:",o)}},re=".sc-arcgis-hub-discussions-map-integrator-h{display:block}@media only screen and (min-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{padding:0px}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + 4.5rem);left:calc(var(--left-offset) - 5rem - 25rem);max-height:calc(var(--panel-height) - 6rem)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset));left:calc(var(--left-offset))}}@media only screen and (max-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) + 0.05rem);top:calc(var(--top-offset) + var(--panel-height) * .5);max-height:calc(var(--panel-height) * .5);height:calc(var(--panel-height) * .5);left:0.95rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:100%}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + var(--panel-height) * .45)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) - 0.95rem);top:calc(var(--panel-height) + 3.2rem);left:0.5rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:1rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:100%}}",ae=re,g=function(e,t,s,i){var r=arguments.length,a=r<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,s,i);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(a=(r<3?o(a):r>3?o(t,s,a):o(t,s))||a);return r>3&&a&&Object.defineProperty(t,s,a),a},u=class{constructor(e){Q(this,e),this.arcgisHubMapPopoverOpen=C(this,"arcgisHubMapPopoverOpen",7),this.arcgisHubMapPopoverClear=C(this,"arcgisHubMapPopoverClear",7),this.hubTelemetry=C(this,"hubTelemetry",7),this.initialized=!1,this.cachedFeatures=[],this.unsavedExistingGeometry=[],this.cachedRelatedFeatureGeometry={},this.layerIds=[],this.persistAttribute="__persist__",this.view=void 0,this.discussionsRef=void 0,this.drawRef=void 0,this.mapRef=void 0,this.theme={},this.discussion=void 0,this.entity=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.isHub=void 0,this.isMobile=void 0,this.activeFeature=void 0,this.activeMapDiscussion=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=X(),this.viewHeight=void 0,this.viewWidth=void 0,this.preview=!0,this.previewHeight=void 0,this.leftOffset=void 0,this.topOffset=void 0,this.mapActionNoticeActive=void 0,this.activePost=void 0,this.activeGraphicDetails=void 0,k(this,"makeGraphic","makeCalloutGraphic","setCalloutSymbolOnPointerMove","calculateOffsets","handlePointerMove","handleMapClickDiscussions","handleViewSizeChange","handleMapDrawSelect","handleEditActiveGraphic","handleDeleteActiveGraphic","handlePostPendingGraphic","addRelatedFeature","removeRelatedFeature","cancelAddRelatedFeature","getRelatedFeature","renderAddLocation","renderRemoveLocation","renderPostLocationEditOptions","renderPostLocationPrimaryOptions")}async componentWillLoad(){this.initialize(),this.intl=await j.loadIntlForComponent(this.element)}connectedCallback(){Z(this)}disconnectedCallback(){this.teardown(),this.disconnectContext()}eventTargetIsDiscussionsRef(e){return e.target===this.discussionsRef||e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef}emitHubTelemetry(e){this.hubTelemetry.emit(Object.assign(Object.assign({},e),{postId:this.sketchPostId,channelId:this.currentDiscussionsRef.channelId}))}async initialize(){let{view:e,_context:t}=this;if(this.arcgis=await import("./7MGY3JJQ.js").then(m=>m.default),this.saveInitialDrawOptions(),e&&t){if(await e.when(),this.addGeometryGraphicsLayer(),this.addStagedGeometryGraphicsLayer(),this.addCalloutGraphicsLayer(),this.addHighlightGraphicsLayer(),await this.fetchSubject(),this.fetchPosts(),this.handleViewSizeChange(),this.cachedFeatures.length)try{await this.refreshFeatures(this.cachedFeatures)}catch(s){I.warn("Cannot add discussions features to the map",s.message)}this.setDiscussionsRefHasMap(!0),this.mapViewSizeChangeHandler=this.arcgis.watch(()=>[e.height,e.width],this.handleViewSizeChange),this.mapViewCenterChangeHandler=this.arcgis.watch(()=>e.center,this.calculateOffsets),this.initialized=!0}}attachView(e,t){let{initialized:s}=this;e&&e!==t?(s&&this.teardown(),this.initialize()):!e&&s&&this.teardown()}attachdiscussionsRef(e){let{initialized:t}=this;e&&!t&&this.initialize()}handleDrawRefUpdate(){this.saveInitialDrawOptions()}calculateOffsets(){let{view:e,preview:t,graphicGeometry:s,isOffset:i,previewHeight:r,activeMapDiscussion:a}=this;if(e&&a&&s){let{container:o}=e,{top:n,left:h,right:d}=o.getBoundingClientRect(),l=e.toScreen(s),c=i?l.x+5:l.x,p=i?l.y-34:l.y;this.leftOffset=t?c+h:d,this.topOffset=t?p+n-r:n}}handlePreviewDidLoad(e){let{detail:t}=e;this.previewHeight=0,this.previewHeight=t}handlePreviewExpanded(){this.preview=!1}handleSearchWidgetPanelToggled(e){let{target:t,detail:s}=e,i=z(s,F.dictionary.category.interaction.action.close.label.search),{mapRef:r}=this;t===r&&!i&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}handleGeometryGoTo(e){let{detail:t}=e,s=[...this.geometryGraphicsLayer.graphics.toArray(),...this.calloutGraphicsLayer.graphics.toArray()],i=[];if(t){let r=t.id,a=t.parentId?t.parentId:t.id;i=s.filter(({attributes:{id:o,parentId:n}})=>o===a||r&&n===r)}else{let{activeMapDiscussion:{locationId:r}}=this;i=s.filter(({attributes:{relatedFeatureId:a}})=>a===r)}i.length&&this.goTo(i)}handleGeometryFeature(e){let{detail:{post:t,create:s}}=e;this.unsavedExistingGeometry=[],this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:r}})=>r!==t.id),M(t)&&(this.cachedFeatures=[...this.cachedFeatures,...M(t)],s&&this.cachedFeatures.map(r=>{let{properties:{id:a}}=r,{parentId:o}=t;return a===o&&("replyCount"in r.properties||(r.properties.replyCount=0),r.properties.replyCount+=1),r}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0))}handleGeometryFeatureDeleted(e){let{detail:{id:t,parentId:s}}=e;this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:i}})=>i!==t).map(i=>{let{properties:{id:r}}=i;return r===s&&(i.properties.replyCount-=1),i}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0)}handleGeometryFeatureSelect(e){this.selectFeature(e.detail)}selectFeature(e){let{properties:{id:t,relatedFeatureId:s,index:i,unsaved:r}}=e;this.clearHoverActiveGraphics();let a=this.getMatchingGraphic(e);if(a&&this.addHighlightGraphic(!1,a,b.ACTIVE,!1),r){let o=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(i);s&&(o=this.makeGraphic(e)),this.goTo(o)}else{let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:d,__index__:l}}=n;return s?s==h:d==t&&(l===null||i==l)});if(o){this.addHighlightGraphic(!0,o,b.ACTIVE,!1);let n=s?this.cachedRelatedFeatureGeometry[s].arcgis:this.getGraphicById(t,i);this.goTo(n)}}}handleGeometryFeatureHighlight(e){let{detail:{properties:{id:t,relatedFeatureId:s,index:i,unsaved:r}}}=e;this.clearHoverActiveGraphics();let a=this.getMatchingGraphic(e.detail);if(a&&this.addHighlightGraphic(!1,a,b.HOVER,!1),!r){let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:d,__index__:l}}=n;return s?s==h:d==t&&(l===null||i==l)});o&&this.addHighlightGraphic(!0,o,b.HOVER,!1)}}handleFeatureRemove(e){let{detail:{properties:{id:t,relatedFeatureId:s,index:i,unsaved:r}}}=e;this.removeGraphic(t,s,i,r)}removeGraphic(e,t,s,i){let{currentDiscussionsRef:{unsavedFeatures:r,unsavedRelatedFeatures:a,unsavedExistingFeatures:o}}=this;if(i)if(t)this.currentDiscussionsRef.unsavedRelatedFeatures=[...a.slice(0,s),...a.slice(s+1,a.length)];else{this.currentDiscussionsRef.unsavedFeatures=[...r.slice(0,s),...r.slice(s+1,r.length)];let n=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(s);this.unsavedGeometryGraphicsLayer.graphics.remove(n)}else{let n=c=>{let{attributes:{relatedFeatureId:p,id:v,__index__:w}}=c;return t?t==p:v==e&&(w===null||+s==+w)},h=this.calloutGraphicsLayer.graphics.find(n);h&&(h.visible=!1);let d=this.geometryGraphicsLayer.graphics.find(n);d&&(d.visible=!1);let l=this.postToGeoJSON(null,{id:e,index:+s});this.currentDiscussionsRef.unsavedExistingFeatures=[...o.filter(({properties:{id:c,index:p}})=>!(e===c&&+s==+p)),l]}this.clearHoverActiveGraphics(!0)}handleGeometryDrawCreate(e){let{detail:{post:t,postType:s}}=e;this.sketchPostType=s,this.sketchPostId=t?.id,this.drawRef.buffer=!1,this.drawRef.disablePrimaryOptions=!0,this.drawRef.disableEditOptions=!0,this.drawRef.drawTip=void 0,this.drawRef.enableMapTips=!0}handleGeometryDrawTypeSelect(e){this.mapActionNoticeActive=!0,this.drawRef.setActiveTool(e.detail)}handleGeometryDrawDone(){this.mapActionNoticeActive=!1,this.drawRef.setActiveTool(void 0),this.deletePendingGraphics()}handleGeometryDrawCancel(){this.drawRef.setActiveTool(void 0)}handleActiveToolChange(e){let{detail:t}=e;t&&(this.deletePendingGraphics(),this.arcgisHubMapPopoverClear.emit())}handleGeometryDrawEdit(e){let{detail:{properties:{id:t,index:s,unsaved:i}}}=e;this.preview=!1,this.editGraphic(t,s,i)}editGraphic(e,t,s){let{drawRef:i}=this,{geometry:r}=s?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(t):this.getGraphicById(e,t);this.hideLayers(),this.goTo(r),this.sketchPostId=e,this.sketchIndex=t,this.sketchIsUnsaved=s,this.drawRef.geometry=void 0,setTimeout(()=>{i.geometry=r,i.disablePrimaryOptions=!0,i.disableEditOptions=!1,i.buffer=!1,i.enableMapTips=!0},0)}handlePostEditorReady(e){this.activePost=e.detail}handleGeometryDrawEditCancel(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers()}handleDrawGraphicsChange(e){var t;let{detail:{graphics:s,save:i,canceled:r,unsaved:a}}=e,{sketchPostId:o,sketchIndex:n,sketchIsUnsaved:h}=this,{executeGeneralize:d,webMercatorToGeographic:l}=this.arcgis,c=s.getItemAt(0);if(c.geometry=d(c.geometry.clone(),q(this.view)),i&&this.drawRef.disablePrimaryOptions){this.drawRef.disableEditOptions=!0;let p=l(c.geometry),v=x(p);if(h){let G=this.currentDiscussionsRef.unsavedFeatures.map((D,y)=>(y===n&&(D.geometry=v),D));this.currentDiscussionsRef.unsavedFeatures=G;let R=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(n);R.geometry=c.geometry,!((t=R.attributes)===null||t===void 0)&&t.pending&&setTimeout(()=>{this.activeGraphicDetails={id:o,index:n,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},150)}else{let G=this.postToGeoJSON(v,{index:n,id:o});this.currentDiscussionsRef.unsavedExistingFeatures=[...this.currentDiscussionsRef.unsavedExistingFeatures.filter(({properties:{index:y}})=>y!==n),G];let R=this.getGraphicById(o,n);this.unsavedExistingGeometry.filter(({id:y,index:A})=>y===o&&A===n).length||this.unsavedExistingGeometry.push({id:o,index:n,geometry:R.geometry.clone()}),R.geometry=c.geometry}this.drawRef.forceReset(),this.showLayers();let w=_(v);this.emitHubTelemetry(F.dictionary.category.content.action.update.label.location.details[w])}else if(r)this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers();else if(a){this.drawRef.forceReset(),c.symbol=L[c.geometry.type](b.DEFAULT,this.themeWithDefaults[c.geometry.type]),c.attributes={pending:!0},this.addGraphicsToGraphicsLayer(this.unsavedGeometryGraphicsLayer,[c]);let p=[];s.forEach(v=>{let w=l(v.geometry),G=x(w);p.push({type:"Feature",geometry:G,properties:{id:this.sketchPostId,pending:!0}});let R=_(G);this.emitHubTelemetry(F.dictionary.category.content.action.create.label.location.details[R])}),this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures,...p],setTimeout(()=>{this.activeGraphicDetails={id:o,index:this.unsavedGeometryGraphicsLayer.graphics.length-1,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},250)}}handleGeometryDrawReset(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.restoreInitialDrawOptions(),this.showLayers()}handleGeometryClearAll(){this.resetStagedFeatures(),this.restoreInitialDrawOptions(),this.showLayers(),this.unsavedGeometryGraphicsLayer.graphics.removeAll();let e=t=>{t.visible=!0};this.geometryGraphicsLayer.graphics.forEach(e),this.calloutGraphicsLayer.graphics.forEach(e),this.mapActionNoticeActive=!1,this.activePost=void 0}async handleMapDrawSelect(e){let{detail:t}=e,{targetLayer:s}=this,{results:i}=await this.view.hitTest(t,{include:s}),r=H(i);if(r?.graphic&&this.drawRef.disableEditOptions){let{graphic:a}=r,o=a.layer.objectIdField,n=a.attributes[o];if(this.cacheRelatedFeatureGeometry([n]),!a.attributes.hasOwnProperty(s.displayField)){let{features:[l]}=await s.queryFeatures({objectIds:[n],outFields:["*"],returnGeometry:!1});l&&(a.attributes=l.attributes)}let h=this.currentDiscussionsRef.unsavedRelatedFeatures.map(l=>l.objectId),d=this.renderAddLocation;h.includes(n)&&(d=this.renderRemoveLocation),this.selectedGraphic=a,this.drawRef.enableMapTips=!1,this.arcgisHubMapPopoverOpen.emit({geometry:a.geometry,view:this.view,render:d,source:"action"}),this.highlightGraphic(a)}else this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.highlightGraphic()}handleDiscussionsClose(e){(e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef)&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}addRelatedFeature(){let e=this.selectedGraphic.layer.objectIdField,t=this.selectedGraphic.attributes[e];this.selectedGraphic.geometry=this.arcgis.webMercatorToGeographic(this.selectedGraphic.geometry);let s={postId:this.sketchPostId,objectId:t,feature:x(this.selectedGraphic.toJSON())};this.currentDiscussionsRef.unsavedRelatedFeatures=[...this.currentDiscussionsRef.unsavedRelatedFeatures,s],this.highlightGraphic(),this.arcgisHubMapPopoverClear.emit(),this.drawRef.enableMapTips=!0,this.emitHubTelemetry(F.dictionary.category.interaction.action.select.label.content)}removeRelatedFeature(){let{currentDiscussionsRef:{unsavedRelatedFeatures:e}}=this,t=this.selectedGraphic.layer.objectIdField,s=this.selectedGraphic.attributes[t],i=this.currentDiscussionsRef.unsavedRelatedFeatures.findIndex(r=>r.objectId==s);this.currentDiscussionsRef.unsavedRelatedFeatures=[...e.slice(0,i),...e.slice(i+1,e.length)],this.cancelAddRelatedFeature(),this.emitHubTelemetry(F.dictionary.category.interaction.action.deselect.label.content)}cancelAddRelatedFeature(){this.arcgisHubMapPopoverClear.emit(),this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.clearHighlights()}setDiscussionsRefHasMap(e){this.discussionsRef&&(this.discussionsRef.hasMap=e)}teardown(){this.clearHighlights(),this.removeViewHandlers(),this.removeLayers(),this.resetSelect(),this.setDiscussionsRefHasMap(!1)}async fetchSubject(){let{discussion:e,entity:t,entityId:s,entityType:i,_context:r,discussionSettings:a}=this,o=await W({discussion:e,entity:t,entityId:s,entityType:i,discussionSettings:a},r.hubRequestOptions,!0);Object.assign(this,o)}fetchPosts(){ie(this.searchParams,this._context.hubRequestOptions).then(e=>{e?.features&&(this.cachedFeatures=e.features,this.initialized&&this.refreshFeatures(e.features))})}addGeometryGraphicsLayer(){this.geometryGraphicsLayer=new this.arcgis.GraphicsLayer({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.geometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addStagedGeometryGraphicsLayer(){this.unsavedGeometryGraphicsLayer=new this.arcgis.GraphicsLayer({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.unsavedGeometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addCalloutGraphicsLayer(){this.calloutGraphicsLayer=new this.arcgis.GraphicsLayer({graphics:[],effect:"drop-shadow(0px, 2px, 8px, rgba(0, 0, 0, .20))",elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.calloutGraphicsLayer),this.layerIds.push(this.calloutGraphicsLayer.id),this.mapPointerMoveHandler=this.view.on("pointer-move",this.handlePointerMove),this.mapClickDiscussionsHandler=this.view.on("click",this.handleMapClickDiscussions)}addHighlightGraphicsLayer(){this.highlightGraphicsLayer=new this.arcgis.GraphicsLayer({graphics:[],elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.highlightGraphicsLayer),this.layerIds.push(this.highlightGraphicsLayer.id)}addHighlightGraphic(e,t,s,i){var r,a,o;let{themeWithDefaults:n,highlightGraphicsLayer:h,persistAttribute:d,is3D:l}=this,c=t.clone();if(e)c.symbol=L.callout(s,Object.assign(Object.assign({},n.callout),{isOffset:(r=t?.attributes)===null||r===void 0?void 0:r.isOffset,is3D:l}),(a=c.attributes)===null||a===void 0?void 0:a.totalCount);else if(!((o=t?.geometry)===null||o===void 0)&&o.type){let p=t.geometry.type;c.symbol=L[t.geometry.type](s,Object.assign({},n[p])),this.clearHoverActiveGraphics(i)}c.attributes=Object.assign(Object.assign({},c.attributes),{[d]:i}),h.add(c)}setCalloutSymbolOnPointerMove(e){this.view.hitTest(e,{include:this.calloutGraphicsLayer}).then(t=>{if(this.clearHoverActiveGraphics(!1),t.results.length){let s=H(t.results),{graphic:i}=s;this.addHighlightGraphic(!0,i,b.HOVER,!1)}})}setLocationEditPopover(e){this.view.hitTest(e,{include:[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer]}).then(t=>{if(t.results.length){let{results:[s]}=t,i=s.layer===this.unsavedGeometryGraphicsLayer,r=s.layer===this.geometryGraphicsLayer,a,o,n;if(i){let h=this.unsavedGeometryGraphicsLayer.graphics.findIndex(d=>d===s.graphic);a=void 0,o=h,n=!0}if(r&&this.activePost){let{id:h}=this.activePost,{graphic:{attributes:{id:d,__index__:l}}}=s,c=l||null;h===d&&(a=h,o=c,n=!1)}if(o!==void 0){let{geometry:h,attributes:d}=s.graphic;this.activeGraphicDetails={id:a,index:o,unsaved:n,geometry:h};let l=d?.pending?this.renderPostLocationPrimaryOptions:this.renderPostLocationEditOptions;this.arcgisHubMapPopoverOpen.emit({geometry:h,view:this.view,render:l,source:"action"})}}})}publishPendingGraphics(){this.unsavedGeometryGraphicsLayer.graphics.forEach(e=>{e.attributes.pending&&delete e.attributes.pending}),this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.map(e=>(e.properties.pending&&delete e.properties.pending,e))}deletePendingGraphics(){let e=this.unsavedGeometryGraphicsLayer.graphics.find(t=>{var s;return(s=t.attributes)===null||s===void 0?void 0:s.pending});this.unsavedGeometryGraphicsLayer.remove(e),this.currentDiscussionsRef&&(this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.filter(t=>t.properties.pending?!t.properties.pending:!0))}removeLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>this.removeLayer(e))}hideLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=.1)}showLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=1)}removeLayer(e){e&&e.destroy()}emptyFeatures(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer].forEach(e=>e.removeAll())}addGraphicsToGraphicsLayer(e,t){e.addMany(t)}async refreshFeatures(e){this.emptyFeatures(),this.resetSelect(),e.forEach(c=>{var p;return c.properties.totalCount=(p=c.properties.replyCount)!==null&&p!==void 0?p:0});let t=({geometry:c})=>!!c,s=e.map(this.makeGraphic).filter(t),i=e.map(this.makeCalloutGraphic).filter(t),r=({properties:c})=>!!T(c.discussion).features,a=e.filter(r),o=Array.from(new Set(a.map(({properties:{discussion:c}})=>T(c).features.map(p=>p)).flat()));await this.cacheRelatedFeatureGeometry(o);let n=[],h=[];for(let c of a){if(h.includes(c.properties.id))continue;h.push(c.properties.id);let{properties:p}=c,{features:v}=T(p.discussion);p.totalCount=0,v.forEach(w=>{var G;let R=({properties:{relatedFeatureId:y}})=>y==w,D=n.find(R);if(D){let{properties:y}=D,A=((G=p.totalCount)!==null&&G!==void 0?G:0)+1;y.totalCount+=A}else try{let y=this.getRelatedFeature(w);y.properties=Object.assign(Object.assign({},c.properties),{relatedFeatureId:w}),n.push(y)}catch(y){I.warn("Failed to access post related feature:",y.message)}})}let d=n.map(this.makeCalloutGraphic),l=[...i,...d];this.addGraphicsToGraphicsLayer(this.geometryGraphicsLayer,s),this.addGraphicsToGraphicsLayer(this.calloutGraphicsLayer,l),this.activeFeature&&(this.selectFeature(this.activeFeature),this.activeFeature=void 0)}pointToExtent(e,t=.0025){let{x:s,y:i,spatialReference:r}=e;return new this.arcgis.Extent({xmin:s-t,ymin:i-t,xmax:s+t,ymax:i+t,spatialReference:r})}goTo(e){if(!this.view)return;let t=e;t.geometry&&t.geometry.type==="point"&&(t=this.pointToExtent(t.geometry)),t.extent&&(t=t.extent.clone().expand(2)),this.view.goTo(t,{duration:1e3}).catch(s=>{this.arcgis.isAbortError(s)||I.error("Failed to zoom map to target feature or extent:",s.message)})}postToGeoJSON(e,t){return{type:"Feature",geometry:e,properties:t}}makeGraphic(e){var t;let s=E(e),i=this.arcgis.Graphic.fromJSON(s);return!((t=i?.geometry)===null||t===void 0)&&t.type&&(i.symbol=L[i.geometry.type](b.DEFAULT,this.themeWithDefaults[i.geometry.type])),i}makeCalloutGraphic(e){var t;let{is3D:s}=this,{callout:i}=L,{geometry:r,properties:a}=e,[o,n]=r.coordinates.flat(1/0),h=!a.relatedFeatureId&&e.geometry.type==="Point",d=E({type:"Feature",geometry:{type:"Point",coordinates:[o,n]},properties:Object.assign(Object.assign({},a),{replyCount:a.replyCount||0,isOffset:h})}),l=this.arcgis.Graphic.fromJSON(d);return l.symbol=i(b.DEFAULT,Object.assign(Object.assign({},this.themeWithDefaults.callout),{isOffset:h,is3D:s}),(t=e.properties)===null||t===void 0?void 0:t.totalCount),l}getRelatedFeature(e){return{type:"Feature",geometry:this.cachedRelatedFeatureGeometry[e].geojson,properties:{}}}async cacheRelatedFeatureGeometry(e){let{cachedRelatedFeatureGeometry:t,targetLayer:s}=this;if(!s){I.warn("Discussions service layer not defined; ingnoring related features");return}let i=Object.keys(t),r=e.filter(a=>!i.includes(`${a}`));if(r.length){let a={where:"1=1",objectIds:r.map(n=>+n),returnGeometry:!0,outSpatialReference:{wkid:4326},outFields:[this.targetLayer.objectIdField,this.targetLayer.displayField]},{features:o}=await this.targetLayer.queryFeatures(a);o.forEach(({geometry:n,attributes:h})=>{let d=x(n);this.cachedRelatedFeatureGeometry[h[this.targetLayer.objectIdField]]={arcgis:n,geojson:d}})}}getMatchingGraphic(e){let{properties:{id:t,relatedFeatureId:s,index:i,unsaved:r}}=e,a;return s&&this.cachedRelatedFeatureGeometry[s]?a=new this.arcgis.Graphic({geometry:this.cachedRelatedFeatureGeometry[s].arcgis}):a=r?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(i):this.getGraphicById(t,i),a}getGraphicById(e,t){return this.geometryGraphicsLayer.graphics.find(({attributes:{id:i,__index__:r}})=>{let a=t!==null?t==r:!0;return i===e&&a})}highlightGraphic(e){this.clearHighlights(),e&&this.view.whenLayerView(e.layer).then(t=>{this.highlightHandle=t.highlight(e)})}clearHighlights(){this.highlightHandle&&(this.highlightHandle.remove(),this.highlightHandle=null)}clearHoverActiveGraphics(e){let{persistAttribute:t,highlightGraphicsLayer:s}=this;if(e)s.removeAll();else{let i=s.graphics.filter(({attributes:r})=>!r[t]);s.removeMany(i.toArray())}}removeViewHandlers(){[this.mapPointerMoveHandler,this.mapClickDiscussionsHandler,this.mapViewSizeChangeHandler,this.mapViewCenterChangeHandler].forEach(e=>{e&&(e.remove(),e=null)})}resetSelect(){this.clearHighlights()}saveInitialDrawOptions(){let{drawRef:{buffer:e,disableEditOptions:t,disablePrimaryOptions:s,enableMapTips:i}}=this;this.initialDrawOptions={buffer:e,disableEditOptions:t,disablePrimaryOptions:s,enableMapTips:i}}restoreInitialDrawOptions(){let{initialDrawOptions:{buffer:e,disableEditOptions:t,disablePrimaryOptions:s,enableMapTips:i}}=this;this.drawRef.buffer=e,this.drawRef.disableEditOptions=t,this.drawRef.disablePrimaryOptions=s,this.drawRef.enableMapTips=i,this.drawRef.setActiveTool(void 0),this.drawRef.forceReset()}resetStagedFeatures(){this.currentDiscussionsRef.unsavedFeatures=[],this.currentDiscussionsRef.unsavedRelatedFeatures=[],this.currentDiscussionsRef.unsavedExistingFeatures=[],this.unsavedExistingGeometry.forEach(({id:e,index:t,geometry:s})=>{let i=this.getGraphicById(e,t);i.geometry=s}),this.unsavedExistingGeometry=[]}handleMapClickDiscussions(e){this.view.hitTest(e,{include:[this.calloutGraphicsLayer]}).then(t=>{if(t.results.length){this.mapRef&&ee(this.mapRef),this.preview=!1,this.clearHoverActiveGraphics(!0);let s=H(t.results),{graphic:i}=s;this.graphicGeometry=i.geometry,this.isOffset=i.attributes.isOffset;let{attributes:{parentId:r,channelId:a,id:o,relatedFeatureId:n}}=i;if(n){let h=n;this.activeMapDiscussion={channelId:a,locationId:h}}else this.activeMapDiscussion={channelId:a,postId:r?o:void 0,parentId:r||o};this.addHighlightGraphic(!0,i,b.ACTIVE,!0),setTimeout(()=>{this.preview=!0},0)}})}handleViewSizeChange(){let{view:{height:e,width:t}}=this;this.viewHeight=e,this.viewWidth=t}handlePointerMove(e){this.setCalloutSymbolOnPointerMove(e),this.setLocationEditPopover(e)}handleEditActiveGraphic(){let{id:e,index:t,unsaved:s}=this.activeGraphicDetails;this.editGraphic(e,t,s)}handleDeleteActiveGraphic(){let{id:e,index:t,unsaved:s}=this.activeGraphicDetails;this.removeGraphic(e,null,t,s),this.arcgisHubMapPopoverClear.emit()}handlePostPendingGraphic(){this.publishPendingGraphics(),this.arcgisHubMapPopoverClear.emit(),this.currentDiscussionsRef.unsavedFeatures.length===1&&(this.drawRef.drawTip=this.intl.t("draw.tip"))}get searchParams(){var e;let t={channels:(e=this.discussionSettings)===null||e===void 0?void 0:e.allowedChannelIds,discussion:this.discussion};return Object.entries(t).reduce((s,[i,r])=>r?Object.assign(Object.assign({},s),{[i]:r}):s,{})}get currentDiscussionsRef(){return this.activeMapDiscussion?this.onMapDiscussionsRef:this.discussionsRef}get themeWithDefaults(){let{theme:e}=this,t={};return["point","polyline","polygon","callout"].forEach(s=>{t[s]=Object.assign(Object.assign({},U[s]),e[s])}),t}get is3D(){let{view:e}=this;return e.hasOwnProperty("camera")}get targetLayer(){return this.view.map.allLayers.filter(e=>e.type==="feature"&&!this.layerIds.includes(e.id)).getItemAt(0)}get styles(){let{view:e,viewWidth:t,viewHeight:s,leftOffset:i,topOffset:r,previewHeight:a,preview:o}=this,n={};if(e){let{container:h}=e;if(!h)return;let{top:d,left:l,right:c,bottom:p}=h.getBoundingClientRect();n={"--left-offset":`${i??0}px`,"--top-offset":`${r??0}px`,"--panel-left":`${l??0}px`,"--panel-height":`${o?(s??0)-(a??0):(p??0)-(d??0)}px`,"--panel-width":`${(c??0)-(l??0)}px`,"--view-width":`${t??0}px`,"--view-height":`${s??0}px`}}return n}renderAddLocation(){let{intl:e,sketchPostType:t}=this;return f(S,null,f("calcite-action-group",null,f("calcite-action",{appearance:"solid",icon:"check",onClick:this.addRelatedFeature,text:e.t(`prompt.add.${t}`),textEnabled:!0})),f("calcite-action-group",null,f("calcite-action",{appearance:"solid",icon:"undo",onClick:this.cancelAddRelatedFeature,text:e.t("prompt.remove.existing"),textEnabled:!0})))}renderRemoveLocation(){return f("calcite-action-pad",{"expand-disabled":!0,expanded:!0,layout:"horizontal"},f("calcite-action",{appearance:"solid",icon:"trash",onClick:this.removeRelatedFeature,text:this.intl.t("location.remove"),textEnabled:!0}))}renderPostLocationPrimaryOptions(){let{activeGraphicDetails:{geometry:{type:e}},intl:t,sketchPostType:s}=this;return f(S,null,f("calcite-action-group",null,f("calcite-action",{appearance:"solid",icon:"check",onClick:this.handlePostPendingGraphic,text:t.t(`prompt.add.${s}`),"text-enabled":!0})),f("calcite-action-group",null,f("calcite-action",{appearance:"solid",icon:e==="point"?"move":"pencil",onClick:this.handleEditActiveGraphic,text:t.t(`prompt.edit.${e}`),"text-enabled":!0}),f("calcite-action",{appearance:"solid",icon:"trash",onClick:this.handleDeleteActiveGraphic,text:t.t(`prompt.remove.${e}`),"text-enabled":!0})))}renderPostLocationEditOptions(){let{intl:e}=this;return f("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal"},f("calcite-action",{appearance:"solid",icon:"pencil",onClick:this.handleEditActiveGraphic,text:e.t("prompt.location.edit")}),f("calcite-action",{appearance:"solid",icon:"trash",onClick:this.handleDeleteActiveGraphic,text:e.t("prompt.location.delete")}))}renderMapDiscussion(){let{activeMapDiscussion:e,discussion:t,isHub:s,entityId:i,entity:r,entityType:a,showChannelAvatar:o,showChannelName:n,discussionSettings:h}=this;return this.preview?f("arcgis-hub-discussions-map-preview",{channelId:e.channelId,discussion:t,locationId:e.locationId,parentId:e.postId?e.parentId:void 0,postId:e.postId||e.parentId,ref:d=>{this.onMapDiscussionsPreviewRef=d},showChannelAvatar:o}):f("arcgis-hub-discussions",{channelId:e.channelId,disableNavigation:!e.locationId,discussion:t,discussionSettings:h,dismissible:!0,enableGoTo:!0,entity:r,entityId:i,entityType:a,hasMap:!0,isHub:s,locationId:e.locationId,parentId:e.parentId,postId:e.postId,ref:d=>{this.onMapDiscussionsRef=d},showChannelAvatar:o,showChannelName:n})}render(){let{activeMapDiscussion:e,styles:t,view:s,mapActionNoticeActive:i}=this;return f(Y,{key:"46dbb46244c22430c13999f006787d95d1a6ec21","data-element":"discussions-map-integrator",style:t},e&&this.renderMapDiscussion(),s&&i&&f("arcgis-hub-discussions-map-action-notice",{view:s}))}static get assetsDirs(){return["locales"]}get element(){return K(this)}static get watchers(){return{_context:["initialize"],view:["attachView"],discussionsRef:["attachdiscussionsRef"],drawRef:["handleDrawRefUpdate"],preview:["calculateOffsets"],previewHeight:["calculateOffsets"]}}};g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryGoTo",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryFeature",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryFeatureDeleted",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryFeatureSelect",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryFeatureHighlight",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleFeatureRemove",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryDrawCreate",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryDrawTypeSelect",null);g([m({when(e){var t,s;return e.target===this.drawRef?!0:(((s=(t=e).composedPath)===null||s===void 0?void 0:s.call(t))||[]).includes(this.drawRef)}})],u.prototype,"handleActiveToolChange",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryDrawEdit",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handlePostEditorReady",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryDrawEditCancel",null);g([m({when(e){var t,s;return e.target===this.drawRef?!0:(((s=(t=e).composedPath)===null||s===void 0?void 0:s.call(t))||[]).includes(this.drawRef)}})],u.prototype,"handleDrawGraphicsChange",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryDrawReset",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryClearAll",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleDiscussionsClose",null);g([P({timeout:50})],u.prototype,"setLocationEditPopover",null);g([m({when(e){return e}}),P({timeout:50})],u.prototype,"refreshFeatures",null);g([m({when(){return this.geometryGraphicsLayer}})],u.prototype,"getGraphicById",null);g([m({when(){return this.highlightGraphicsLayer}})],u.prototype,"clearHoverActiveGraphics",null);g([m({when(){return this.drawRef}})],u.prototype,"saveInitialDrawOptions",null);g([m({when(){return this.drawRef&&this.initialDrawOptions}})],u.prototype,"restoreInitialDrawOptions",null);g([m({when(){return this.currentDiscussionsRef}})],u.prototype,"resetStagedFeatures",null);g([m({when(){return!this.mapActionNoticeActive}})],u.prototype,"handleMapClickDiscussions",null);g([P({timeout:50})],u.prototype,"handleViewSizeChange",null);g([P({timeout:15})],u.prototype,"handlePointerMove",null);g([m({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],u.prototype,"renderPostLocationPrimaryOptions",null);g([m({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],u.prototype,"renderPostLocationEditOptions",null);u.style=ae;return u},"config",a,c)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as p}from"./37IO4VH2.js";import{a as d}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import"./USNX342T.js";import{b as s,c as b,d as m,e as c,i as f}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var P=':host{position:relative;display:block;overflow:hidden;min-height:20.625rem}.edit-step__loader{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.edit-step__crop-thumb-container{position:relative;width:100%;overflow:hidden}.edit-step__crop-thumb-container--hidden{visibility:hidden}.edit-step__translucent-container{position:absolute;top:0px;overflow:hidden;left:50%;cursor:all-scroll;transform:translate(-50%)}.edit-step__translucent-container:after{position:absolute;top:0px;right:0px;bottom:0px;left:0px;box-sizing:border-box;height:100%;width:100%;content:"";opacity:0.9;border:1.875rem solid white}.edit-step__transparent-container{position:absolute;box-sizing:border-box;overflow-x:visible;outline:2px solid transparent;outline-offset:2px;background-color:var(--calcite-color-foreground-3);border:1px solid var(--calcite-color-border-1);margin-right:-50%;top:50%;left:50%;transform:translate(-50%, -50%)}.edit-step__preview-image{position:absolute;left:0px;top:0px;margin:0px;transform-origin:50% 50%}.edit-step__preview-image--loading{visibility:hidden}.edit-step__transparent-container:focus .edit-step__preview-image{box-shadow:0px 0px 6px 4px var(--calcite-color-brand)}.edit-step__zoom-control--hidden{visibility:hidden}.edit-step__zoom-control-label{display:flex;height:2rem}.edit-step__zoom-control-label-spacer{flex:1 1 0%}',x=P,S=class{constructor(t){f(this,t),this.arcgisImageUploadEditStepImageChanged=c(this,"arcgisImageUploadEditStepImageChanged",7),this.handleWheel=e=>{e.preventDefault();let i=e.deltaY>0?this.imageProperties.scale*1/1.1:this.imageProperties.scale*1.1;this.zoomValue=`${50+Math.log(i)/Math.log(1.1)}`,this.imageProperties=Object.assign(Object.assign({},this.imageProperties),{scale:i})},this.handleDragStart=()=>{this.dragging=!0},this.handleDrag=e=>{if(!this.dragging)return;let{touches:i}=e,{clientX:a,clientY:n}=e;if(a===void 0||n===void 0){if(!i.length)return;a=i[0].clientX,n=i[0].clientY}if(!this.previousPosition){this.previousPosition={top:n,left:a};return}let{top:r,left:o}=this.previousPosition,h=n-r,l=a-o;this.imageProperties=Object.assign(Object.assign({},this.imageProperties),{top:this.imageProperties.top+h,left:this.imageProperties.left+l}),this.previousPosition={top:r+h,left:o+l}},this.handleDragEnd=()=>{this.dragging=!1,this.previousPosition=void 0},this.handleImageLoaded=()=>{if(this.editingExisting){this.loadingImage=!1,this.imageProperties=Object.assign(Object.assign({},this.imageProperties),{scale:this.height/this.imageEl.width,top:0,left:0,origin:{x:"0%",y:"0%"}}),this.isLoading=!1;return}let e=this.aspectRatio>1?this.height*this.aspectRatio:this.height,{clientWidth:i,clientHeight:a}=this.imageEl,n=i>a?i:a,r=e/n,o=Object.assign({},this.imageProperties);o=Object.assign(Object.assign({},o),{top:this.height/2-a/2,left:this.height*this.aspectRatio/2-i/2,origin:{x:"50%",y:"50%"}}),this.zoomToFit&&(o=Object.assign(Object.assign({},o),{scale:r}),this.initiallySettingZoom=!0,this.zoomValue=`${50+Math.log(r)/Math.log(1.1)}`),this.imageProperties=Object.assign({},o),this.isLoading=!1},this.handleZoomInput=e=>{if(this.initiallySettingZoom){this.initiallySettingZoom=!1;return}this.zoomValue=e.target.value,this.imageProperties=Object.assign(Object.assign({},this.imageProperties),{scale:Math.pow(1.1,e.target.value-50)})},this.handleImageKeydown=e=>{let i=e.key,a=!1;switch(i){case"ArrowUp":this.imageProperties=Object.assign(Object.assign({},this.imageProperties),{top:this.imageProperties.top-1}),a=!0;break;case"ArrowDown":this.imageProperties=Object.assign(Object.assign({},this.imageProperties),{top:this.imageProperties.top+1}),a=!0;break;case"ArrowLeft":this.imageProperties=Object.assign(Object.assign({},this.imageProperties),{left:this.imageProperties.left-1}),a=!0;break;case"ArrowRight":this.imageProperties=Object.assign(Object.assign({},this.imageProperties),{left:this.imageProperties.left+1}),a=!0;break}a&&e.preventDefault()},this.aspectRatio=void 0,this.previewSrc=void 0,this.loadingImage=!1,this.editingExisting=!1,this.zoomToFit=!1,this.height=void 0,this.imageProperties={scale:1,top:0,left:0,origin:{x:"50%",y:"50%"}},this.dragging=!1,this.previousPosition=void 0,this.previewStyle=void 0,this.zoomValue="50",this.initiallySettingZoom=!1,this.firstImagePropertiesChange=!0,this.isLoading=!0,p(this,"handleWheel","handleDragStart","handleDrag","handleDragEnd","handleImageLoaded","handleZoomInput","handleZoomInput","getImageEl","getImageContainerEl")}async componentWillLoad(){this.intl=await d.loadIntlForComponent(this.el);let t=60,e=this.height*this.aspectRatio,i=`${this.height+t}px`;this.thumbContainerStyle={height:i},this.translucentContainerStyle={width:`${e+t}px`,height:i},this.transparentContainerStyle={width:`${e}px`,height:`${this.height}px`},this.previewStyle={transform:`scale(${this.imageProperties.scale})`,top:`${this.imageProperties.top}px`,left:`${this.imageProperties.left}px`,transformOrigin:`${this.imageProperties.origin.x} ${this.imageProperties.origin.y}`}}componentDidLoad(){this.imageContainerEl.focus()}getImageExtent(){let t=this.imageEl.getBoundingClientRect(),e=this.imageContainerEl.getBoundingClientRect();return{left:(e.left-t.left)/t.width,right:(e.right-t.left)/t.width,top:(e.top-t.top)/t.height,bottom:(e.bottom-t.top)/t.height}}getDrawDimensions(){let t=this.imageEl.getBoundingClientRect(),e=this.imageContainerEl.getBoundingClientRect(),i=t.top-e.top>0?t.top-e.top:0,a=t.left-e.left>0?t.left-e.left:0,n=t.left<e.left?e.left:t.left,r=t.top<e.top?e.top:t.top,o=t.right>e.right?e.right:t.right,h=t.bottom>e.bottom?e.bottom:t.bottom;return{left:a/e.width,top:i/e.height,width:(o-n)/e.width,height:(h-r)/e.height}}async getDrawParameters(){let t=this.height*this.aspectRatio,e=this.height,{left:i,right:a,top:n,bottom:r}=this.getImageExtent(),o={left:i<0?0:i,top:n<0?0:n,right:a>1?1:a,bottom:r>1?1:r},h=this.getDrawDimensions(),l=this.imageEl.clientWidth,g=this.imageEl.clientHeight,u=o.left*l,_=o.top*g,I=o.right*l-o.left*l,y=o.bottom*g-o.top*g,v=a*l-i*l,w=r*g-n*g;return{selectionX:u,selectionY:_,selectionWidth:I,selectionHeight:y,canvasWidth:v,canvasHeight:w,minWidth:t,minHeight:e,drawDimensions:h}}handleImagePropertiesChange(){this.previewStyle={transform:`scale(${this.imageProperties.scale})`,top:`${this.imageProperties.top}px`,left:`${this.imageProperties.left}px`,transformOrigin:`${this.imageProperties.origin.x} ${this.imageProperties.origin.y}`},this.firstImagePropertiesChange?(this.firstImagePropertiesChange=!1,this.zoomToFit&&this.arcgisImageUploadEditStepImageChanged.emit()):this.arcgisImageUploadEditStepImageChanged.emit()}getImageContainerEl(t){this.imageContainerEl=t}getImageEl(t){this.imageEl=t}render(){return s(b,{key:"0c77a352dad4489133bd555861dbc4f3e3fb7c9c",onWheel:this.handleWheel},s("calcite-loader",{key:"7c4bed2de7fcdbfbccabe380f5243399d7b34f81",class:"edit-step__loader",hidden:!this.isLoading,label:""}),s("div",{key:"63c796fce11108b822900a4af8971921af1f70d0",class:`edit-step__crop-thumb-container ${this.isLoading?"edit-step__crop-thumb-container--hidden":""}`,style:this.thumbContainerStyle},s("div",{key:"01400895bf01fc05b1d3209d0a2b555fad9946b8",class:"edit-step__translucent-container",onMouseDown:this.handleDragStart,onMouseMove:this.handleDrag,onMouseOut:this.handleDragEnd,onMouseUp:this.handleDragEnd,onTouchEnd:this.handleDragEnd,onTouchMove:this.handleDrag,onTouchStart:this.handleDragStart,style:this.translucentContainerStyle},s("div",{key:"6974255be69693aeef643adbe84eca49a87890cc",class:"edit-step__transparent-container",onKeyDown:this.handleImageKeydown,ref:this.getImageContainerEl,style:this.transparentContainerStyle,tabIndex:0},s("img",{key:"3609a98770772a85a2b8c76516dd30a440a7d849",alt:"",class:`edit-step__preview-image ${this.loadingImage?"edit-step__preview-image--loading":""}`,onLoad:this.handleImageLoaded,ref:this.getImageEl,src:this.previewSrc,style:this.previewStyle})))),s("calcite-label",{key:"9aeb15377117321a52fc654000c10028abdc1d2b",class:`edit-step__zoom-control ${this.isLoading?"edit-step__zoom-control--hidden":""}`,"disable-spacing":!0},this.intl.t("zoom"),s("calcite-slider",{key:"14e15acab2edea793af19b36c494491e162db6e8","aria-label":this.intl.t("zoom"),max:100,min:0,onCalciteSliderInput:this.handleZoomInput,scale:"l",value:+this.zoomValue}),s("div",{key:"3f6b37cf06f3bf2d665654bb0973d50f197b7ad3",class:"edit-step__zoom-control-label"},s("div",{key:"872c3351507a941afec6df348320e10ea4a9b749",class:"edit-step__zoom-control-icon-s"},s("calcite-icon",{key:"662835585664fb07d05f98fe89d8d69fab4f7eac",icon:"image",scale:"s"})),s("div",{key:"d423cc036e57c821948e48bc63b8a0a08780517b",class:"edit-step__zoom-control-label-spacer"}),s("div",{key:"f72cf89637efd9da00a77765e316b8b9bc0d5ff4",class:"edit-step__zoom-control-icon-l"},s("calcite-icon",{key:"b3224b6e1affd1a45df960f4d21501b971af8492",icon:"image",scale:"l"})))))}static get assetsDirs(){return["locales"]}get el(){return m(this)}static get watchers(){return{imageProperties:["handleImagePropertiesChange"]}}};S.style=x;var D=".file-step{text-align:center}.file-step__upload-icon{margin-bottom:0.5rem;margin-top:0.25rem;color:var(--calcite-color-text-3)}.file-step__upload-icon calcite-icon{width:4rem;height:4rem}.file-step__drag-text{margin-bottom:0.25rem;font-size:var(--calcite-font-size-2);line-height:1.5rem;font-weight:var(--calcite-font-weight-medium)}.file-step__browse-button{margin-top:1rem}.file-step__file-input{display:none}",E=D,C=class{async componentWillLoad(){this.intl=await d.loadIntlForComponent(this.el)}constructor(t){f(this,t),this.arcgisImageUploadFileStepFileChange=c(this,"arcgisImageUploadFileStepFileChange",7),this.arcgisImageUploadFileStepInvalidFile=c(this,"arcgisImageUploadFileStepInvalidFile",7),this.handleDragOver=e=>{e.preventDefault()},this.handleDrop=e=>{e.preventDefault(),this.processFile(e.dataTransfer.files[0])},this.handleFileInputChange=e=>{this.processFile(e.target.files[0])},this.triggerErrorState=e=>{this.errorMessage=this.intl.t(e),setTimeout(()=>{this.resetErrorState()},3e3)},this.resetErrorState=()=>{this.errorMessage=void 0},this.sizeDescription=void 0,this.errorMessage=void 0,p(this,"handleButtonClick","setFileInputEl","handleDragOver","handleDrop","handleFileInputChange")}get headingIntl(){let{errorMessage:t}=this,e="dragDrop";return t&&(e="errorHeading"),e}get description(){let{errorMessage:t}=this,e=this.sizeDescription;return t&&(e=this.errorMessage),e}processFile(t){if(t&&t){if(!this.isValidFile(t)){this.arcgisImageUploadFileStepInvalidFile.emit(),this.triggerErrorState("unsupportedFileTypeError");return}let e=new FileReader;e.onload=async i=>{this.arcgisImageUploadFileStepFileChange.emit({dataURL:i.target.result,fileName:t.name||""})},e.readAsDataURL(t)}}isValidFile(t){return t?.name&&/\.(gif|jpg|jpeg|png)$/i.test(t.name)}handleButtonClick(){this.fileInput.click()}setFileInputEl(t){this.fileInput=t}render(){return s("div",{key:"360b78a0e1f744a4de3eba18c8cc588a76b5e250","aria-label":this.intl.t(this.headingIntl),class:"file-step",onDragEnter:this.handleDragOver,onDragOver:this.handleDragOver,onDrop:this.handleDrop},s("div",{key:"0f8a1e14db526f811486559fd1e6339c92734da6",class:"file-step__upload-icon"},s("calcite-icon",{key:"854ad346b3018b5bcacd0acab36af8147feb86cd",icon:"upload"})),s("div",{key:"42bd93c547a5bdc856386320206ffc8de234313d"},s("div",{key:"a43000c6b2c4f317557deea534527e43796cddda","aria-label":this.intl.t(this.headingIntl),class:{"file-step__drag-text":!0,error:!!this.errorMessage}},this.intl.t(this.headingIntl)),this.description&&s("div",{"aria-label":this.description},this.description),s("calcite-button",{key:"2be50e5db7c25143007980b5f8a8d8d95c697461",appearance:"outline",class:"file-step__browse-button",iconStart:"image",kind:"neutral",onClick:this.handleButtonClick,round:!0,scale:"m"},this.intl.t("browse")),s("input",{key:"121a4e06827451854132ac02d57585c1115fc7aa",accept:".jpg,.gif,.png,image/jpg,image/gif,image/png",class:"file-step__file-input",onChange:this.handleFileInputChange,ref:this.setFileInputEl,type:"file"})))}static get assetsDirs(){return["locales"]}get el(){return m(this)}};C.style=E;export{S as arcgis_hub_image_upload_edit_step,C as arcgis_hub_image_upload_file_step};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as c}from"./WJFIZ6DL.js";import"./LVCMKKG7.js";import{a as p}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import{c as f}from"./ZM3EAORZ.js";import"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import{a as m}from"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as l,c as b,d as y,i as d}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:g}])=>{var w=".sc-arcgis-hub-user-content-pane-h{display:block;height:100%}",k=w,h=function(e,t,i,s){var n=arguments.length,a=n<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,i,s);else for(var r=e.length-1;r>=0;r--)(o=e[r])&&(a=(n<3?o(a):n>3?o(t,i,a):o(t,i))||a);return n>3&&a&&Object.defineProperty(t,i,a),a},u=class{constructor(e){d(this,e),this.resultCallback=(t,i,s,n)=>{if(m(n,"itemControl",null)==="admin"){let C=f(n,this._context);t.actionLinks=[{tooltip:this.intl.t("actionLinks.manage"),label:this.intl.t("actionLinks.manage"),ariaLabel:this.intl.t("actionLinks.ariaManage",{title:t.title}),href:C,showLabel:!0,icon:"gear",buttonStyle:"outline",buttonKind:"neutral"}]}let r=[{label:this.intl.t("type"),value:n.type},{label:this.intl.t("owner"),value:n.owner},{label:this.intl.t("updated"),value:this.intl.formatDate(n.updatedDate)}];return t.additionalInfo=r,t},this.isMobile=!1,this._context=g()}get currentUser(){return this._context.currentUser}get baseQuery(){return{targetEntity:"item",filters:[{predicates:[]}]}}async componentWillLoad(){this.intl=await p.loadIntlForComponent(this.element),this.initGalleryState()}initGalleryState(){let e=new URLSearchParams(globalThis.location.search).get("type");e&&(this.galleryState={type:e})}get accessFacet(){let e=this._context.isPortal,t=!!this._context.communityOrgId,i=[{label:this.intl.t("facets.content.myContent"),key:"mine",selected:!0,predicates:[{owner:this.currentUser.username}]},{label:this.intl.t("facets.content.myOrganizationContent"),key:"organization",selected:!1,predicates:[{orgid:this._context.currentUser.orgId}]}];return!e&&t&&i.push({label:this.intl.t("facets.content.myCommunityOrganizationContent"),key:"community",selected:!1,predicates:[{orgid:this._context.communityOrgId}]}),e||i.push({label:this.intl.t("facets.content.all"),key:"all",selected:!1,predicates:[]}),{label:this.intl.t("facets.content.label"),key:"access",display:"single-select",operation:"OR",options:i}}get facets(){return[this.accessFacet,"modified","type","tags","categories"]}render(){return l(b,{key:"11219441b77c422f72d43f32b133f431fbdb51e3","data-element":"user-content"},l("arcgis-hub-workspace-pane",{key:"8b1a931b940235b6b08a57970a444a4acc3ba1e0",isMobile:this.isMobile,"sticky-footer":!0},l("h2",{key:"fd474735ccde34b131f02b32c19ee8d1e00f4344",slot:"title"},this.intl.t("content")),l("arcgis-hub-gallery",{key:"f876a0aba91496f5370c1a018074a4f2153b6069",callback:this.resultCallback,facets:this.facets,include:"item.itemControl",layout:"compact",layoutOptions:["compact","grid","list","map"],limit:30,linkTarget:"siteRelative",mobileView:this.isMobile,query:this.baseQuery,showChips:!0,showFacets:!0,showLayoutSwitcher:!0,showMoreResultsBtn:!0,showResultsCount:!0,showSearch:!0,showSort:!0,showThumbnail:!0,sortField:"modified",sortOrder:"desc",state:this.galleryState})))}static get assetsDirs(){return["locales"]}get element(){return y(this)}};h([c()],u.prototype,"baseQuery",null);h([c()],u.prototype,"accessFacet",null);h([c()],u.prototype,"facets",null);u.style=k;return u},a)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
function p(e,t={}){let{isAuthenticated:s,hasCookie:o,orgBaseUrl:r,orgHasSSO:u}=t,i=e;return n(i)&&(i=c(i),s&&(o||u)&&(i=l(i,r))),i}function n(e){return a(e).endsWith("arcgis.com")}function a(e){let t=e.split("/"),s=t[2];return e.indexOf("http")!==0&&(s=t[0]),s}function c(e){let t=e;return n(e)&&(e.indexOf("http")!==0?t=`https://${e}`:e.indexOf("https:")!==0&&(t=e.replace("http:","https:"))),t}function l(e,t){let s=e;if(n(e)&&n(t)&&f(e)){let o=e.split("arcgis.com")[0];s=e.replace(`${o}arcgis.com`,t)}return s}function f(e){let t=!0,s=a(e);return["survey123.","survey123dev.","survey123qa.","insights.","insightsdev.","insightsqa.","urban.","urbandev.","urbanqa.","solutions.","services.","storymaps.","storymaps2dev.","storymaps2qa.","storymapsqa.","storymapsdev.","hub.arcgis.com","hubqa.arcgis.com","hubdev.arcgis.com","opendata.arcgis.com","opendataqa.arcgis.com","opendatadev.arcgis.com","experience.","experienceqa.","experiencedev.","livingatlas.","bao.","communityanalyst.","hub-sandbox-compass."].forEach(o=>{s.indexOf(o)!==-1&&(t=!1)}),t&&["embedGallery.html"].forEach(o=>{e.indexOf(o)!==-1&&(t=!1)}),t}function d(){let e=!1;return m()&&document.cookie.indexOf("esri_aopc")>-1&&(e=!0),e}function m(){let e=!1;if(window){let t=window.location.hostname||"";["arcgis.com"].some(o=>t===o||t.endsWith(`.${o}`))&&(e=!0)}return e}export{p as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as h}from"./37IO4VH2.js";import{a as c}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import"./USNX342T.js";import{b as u,d as p,e as m,i as v}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var I=class{constructor(i){v(this,i),this.arcgisConfigurationEditorFieldInputChange=m(this,"arcgisConfigurationEditorFieldInputChange",7),this.params=void 0,h(this,"handleCalciteInputDatePickerChange")}async componentWillLoad(){await this.loadTranslations()}async loadTranslations(){this.intl=await c.loadIntlForComponent(this.element)}handleCalciteInputDatePickerChange(i){let a=i.target;this.arcgisConfigurationEditorFieldInputChange.emit(a.value)}render(){var i,a,t,e,n,o,s,l,r,d;return u("calcite-input-date-picker",{key:"97b5cbe334e66f350a39715c0158850702e25344",disabled:this.params.disabled,label:!((a=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||a===void 0)&&a.range?this.intl.t("inputDatePickerRangeLabel"):this.intl.t("inputDatePickerLabel"),layout:((e=(t=this.params.uiSchema)===null||t===void 0?void 0:t.options)===null||e===void 0?void 0:e.layout)||"horizontal",min:(o=(n=this.params.uiSchema)===null||n===void 0?void 0:n.options)===null||o===void 0?void 0:o.min,onCalciteInputDatePickerChange:this.handleCalciteInputDatePickerChange,overlayPositioning:(l=(s=this.params.uiSchema)===null||s===void 0?void 0:s.options)===null||l===void 0?void 0:l.overlayPositioning,range:(d=(r=this.params.uiSchema)===null||r===void 0?void 0:r.options)===null||d===void 0?void 0:d.range,scale:this.params.scale,value:this.params.value})}static get assetsDirs(){return["locales"]}get element(){return p(this)}};export{I as hub_field_input_date};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as s}from"./H2V2RZ6M.js";import{a as c,b as i,c as f}from"./KUB4GMLQ.js";import{a as o}from"./FDDXGLRF.js";import{b as m}from"./RGKBSVQD.js";import{h as n}from"./FZ7ZK37I.js";function p(a){return c(a).then(r=>{let t=`${`${m(a)}/content/users/${r}`}/createFolder`;return a.params=Object.assign({title:a.title},a.params),n(t,a)})}function u(a){return a.multipart&&!a.filename?Promise.reject(new Error("The filename is required for a multipart request.")):c(a).then(r=>{let e=`${m(a)}/content/users/${r}`,t=`${e}/addItem`;a.folderId&&(t=`${e}/${a.folderId}/addItem`),a.params=Object.assign(Object.assign({},a.params),a.item),a.params.extent&&i(a.params.extent)&&(a.params.extent=f(a.params.extent));let l=o(a,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},a.params)});return n(t,l)})}function b(a){let r=Object.assign({folderId:null},a);return u(r)}function P(a){let r=a.partNum;return!Number.isInteger(r)||r<1||r>1e4?Promise.reject(new Error("The part number must be an integer between 1 to 10000, inclusive.")):c(a).then(e=>{let t=`${m(a)}/content/users/${e}/items/${a.id}/addPart?partNum=${r}`,l=o(a,["file"],{params:Object.assign({},a.params)});return n(t,l)})}function $(a){return c(a).then(r=>{let e=`${m(a)}/content/users/${r}/items/${a.id}/commit`,t=o(a,[],{params:Object.assign(Object.assign({},a.params),a.item)});return n(e,t)})}function w(a){return c(a).then(r=>{let e=`${m(a)}/content/users/${r}/items/${a.id}/cancel`;return n(e,a)})}function d(a){return a.params=Object.assign(Object.assign({},a.params),I(a.item)),a}function I(a){let r=JSON.parse(JSON.stringify(a));return r.data&&(typeof Blob<"u"&&a.data instanceof Blob||a.data.constructor.name==="ReadStream"?r.file=a.data:r.text=a.data,delete r.data),r}function N(...a){return b(d(a[0]))}function B(...a){return s(d(a[0]))}function S(...a){return $(d(a[0]))}export{p as a,P as b,w as c,N as d,B as e,S as f};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
var e={"360 VR Experience":"360 VR Experience","Apache Parquet":"Apache Parquet","AppBuilder Widget Package":"AppBuilder Widget Package","Desktop Add In":"Desktop Add In","Explorer Add In":"Explorer Add In","Explorer Map":"Explorer Map","Explorer Layer":"Explorer Layer","Windows Mobile Package":"Windows Mobile Package","ArcGIS Pro Add In":"ArcGIS Pro Add In","ArcGIS Pro Configuration":"ArcGIS Pro Configuration","Globe Document":"Globe Document","Map Document":"Map Document","ArcPad Package":"ArcPad Package","Published Map":"Published Map","Scene Document":"Scene Document","CityEngine Web Scene":"CityEngine Web Scene","Code Sample":"Code Sample","CSV Collection":"CSV Collection",CSV:"CSV","CAD Drawing":"CAD Drawing","Deep Learning Package":"Deep Learning Package","Desktop Application":"Desktop Application","Desktop Application Template":"Desktop Application Template","Desktop Style":"Desktop Style","Earth Configuration":"Earth Configuration","Feature Collection":"Feature Collection","File Geodatabase":"File Geodatabase",GeoJson:"GeoJson","Geoprocessing Package":"Geoprocessing Package",GeoPackage:"GeoPackage","Geoprocessing Sample":"Geoprocessing Sample",GML:"GML","Image Collection":"Image Collection",Image:"Image","iWork Keynote":"iWork Keynote","iWork Numbers":"iWork Numbers","iWork Pages":"iWork Pages","KML Collection":"KML Collection",KML:"KML",Layer:"Layer","Layer Package":"Layer Package",Layout:"Layout","Locator Package":"Locator Package","Map Package":"Map Package","Map Template":"Map Template","Microsoft Excel":"Microsoft Excel","Microsoft Powerpoint":"Microsoft Powerpoint","Visio Document":"Visio Document","Microsoft Word":"Microsoft Word","Mobile Basemap Package":"Mobile Basemap Package","Mobile Map Package":"Mobile Map Package","Mobile Scene Package":"Mobile Scene Package",Notebook:"Notebook",PDF:"PDF","Pro Map":"Pro Map","Pro Report":"Pro Report","Project Package":"Project Package","Project Template":"Project Template","Raster function template":"Raster function template","Rule Package":"Rule Package","Scene Package":"Scene Package","Service Definition":"Service Definition",Shapefile:"Shapefile","Survey123 Add In":"Survey123 Add In","Tile Package":"Tile Package","Vector Tile Package":"Vector Tile Package","Workflow Manager Package":"Workflow Manager Package","Document Link":"Document Link","Feature Service":"Feature Service","Geocoding Service":"Geocoding Service","Geodata Service":"Geodata Service","Geometry Service":"Geometry Service","Geoprocessing Service":"Geoprocessing Service","Geoenrichment Service":"Geoenrichment Service","Globe Service":"Globe Service","Image Service":"Image Service","Map Service":"Map Service","Network Analysis Service":"Network Analysis Service","Vector Tile Service":"Vector Tile Service",WFS:"WFS",WMS:"WMS",WMTS:"WMTS",OGCFeatureServer:"OGCFeatureServer","Scene Service":"Scene Service","Stream Service":"Stream Service","Workflow Manager Service":"Workflow Manager Service","Web Mapping Application":"Web Mapping Application","Mobile Application":"Mobile Application","AppBuilder Extension":"AppBuilder Extension","Google Drive":"Google Drive",Dropbox:"Dropbox",OneDrive:"OneDrive",StoryMap:"StoryMap",Dashboard:"Dashboard","Hub Project":"Hub Project","Hub Initiative":"Hub Initiative","Hub Site Application":"Hub Site Application","Web Experience":"Web Experience","Insights Workbook Package":"Insights Workbook Package",Application:"Application","ArcGIS Explorer Application Configuration":"ArcGIS Explorer Application Configuration","ArcMap Document":"ArcMap Document","Layer File":"Layer File",ogcFeature:"ogcFeature",FeatureServer:"Feature Service",GeocodeServer:"GeocodeServer",GeoDataServer:"GeoDataServer",GeometryServer:"GeometryServer",GeoenrichmentServer:"GeoenrichmentServer",GPServer:"GPServer",GlobeServer:"GlobeServer",ImageServer:"ImageServer",MapServer:"MapServer",NAServer:"NAServer",ElevationServer:"ElevationServer",VectorTileServer:"VectorTileServer","Scene Server":"Scene Server",StreamServer:"StreamServer",WMServer:"WMServer",TiledImageServer:"TiledImageServer"};export{e as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{b as I}from"./4QDRXQMV.js";import{a as R}from"./CWML23HX.js";import{a as f}from"./FLC2JTMP.js";import{a as E}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import"./USNX342T.js";import{b as n,c as y,d as A,h as P,i as S}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var F=".telemetry-tabular-table{width:200px}:host .telemetry-tabular-table{display:block;height:100%;width:auto}",M=F,O=class{constructor(t){S(this,t),this.PAGE_VIEWS_TABLE_PAGE_SIZE=7,this._pageChanged=!1,this.handlePageChange=e=>{e.stopPropagation(),this._pageChanged=!0,this.startItemNumber=this._paginationRef.startItem},this.setTableCellRef=e=>{this._firstCellRef=e},this.data=void 0,this.reportTitle=void 0,this.titleTooltip=void 0,this.subtitle=void 0,this.options={},this.isLoading=void 0,this.columns=void 0,this.rows=void 0,this.isTransforming=!0,this.startItemNumber=void 0}async componentWillLoad(){this.intl=await E.loadIntlForComponent(this.element)}async componentDidRender(){var t,e;!this._paginationRef&&this._calciteTableRef&&(this._paginationRef=(t=this._calciteTableRef.shadowRoot)===null||t===void 0?void 0:t.querySelector("calcite-pagination"),this.startItemNumber=(e=this._paginationRef)===null||e===void 0?void 0:e.startItem),this._pageChanged&&this._firstCellRef&&(this._firstCellRef.setFocus(),this._pageChanged=!1)}handleChange(){this.isLoading||this.transform(this.data,this.options).then(({columns:t,rows:e})=>{this.columns=t,this.rows=e}).finally(()=>{this.isTransforming=!1})}async transform(t,e){let r=[],c=[],{seriesTransforms:h={},dataTransforms:l}=e,L=t.map(async g=>{let w=[],G=await Object.entries(g).map(async([s,a])=>{var p,b,_,T,C;let d={},u=!1;if(a!==void 0){let v=s;if(Object.values(I).includes(s)&&(s=s.split(":")[1],u=!0),!c.includes(s)){let o=((p=h[s])===null||p===void 0?void 0:p.title)||((b=l?.find(m=>m.name===v))===null||b===void 0?void 0:b.title)||this.capitalize(s),i={key:s,header:o,headerCellAlignment:f.center,contentCellAlignment:u?f.end:f.start};c.push(s),u?r.push(i):r.unshift(i)}if(d[s]=a,u||w.push(a),!((_=h[s])===null||_===void 0)&&_.value){let{display:o,link:i}=h[s].value,m=o?await o(a):a;d[s]=i?n("a",{href:i.href?await i.href(a):a,target:i.target},m):m}else{let o=((C=(T=l?.find(i=>i.name===v))===null||T===void 0?void 0:T.value)===null||C===void 0?void 0:C.display)||(i=>i);d[s]=o(a)}}return d});return this.resolveRow(G,w.join("|"))}),N=await Promise.all(L).then(g=>g);return{columns:r,rows:N}}async resolveRow(t,e){let r=await Promise.all(t);return r.push({key:e}),r.reduce((c,h)=>Object.assign(c,h),{})}capitalize(t){return t[0].toUpperCase()+t.slice(1).toLowerCase()}get shouldRenderErrorTablePagination(){return this.rows.length>this.PAGE_VIEWS_TABLE_PAGE_SIZE}render(){let t={heading:this.intl.t("pageViewTable.emptyState"),icon:"check-circle"};return n(y,{key:"b1ab47f9b6c2b7dadf3fb519976f6e758cde21bb"},this.isLoading||this.isTransforming?n("arcgis-skeleton-loader",{active:!0,rows:4,showFooter:!0}):n(P,null,n("calcite-table",{caption:this.reportTitle,class:"telemetry-tabular-table",onCalciteTablePageChange:this.handlePageChange,"page-size":this.shouldRenderErrorTablePagination&&this.PAGE_VIEWS_TABLE_PAGE_SIZE,ref:e=>this._calciteTableRef=e,striped:!0},n(R,{columns:this.columns,emptyHelpState:t,rows:this.rows,setFirstCellRefCallback:this.setTableCellRef,startItem:this.startItemNumber?this.startItemNumber:1}))))}static get assetsDirs(){return["locales"]}get element(){return A(this)}static get watchers(){return{data:["handleChange"],options:["handleChange"]}}};O.style=M;export{O as arcgis_telemetry_tabular};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as T}from"./HM2SQ34E.js";import{a as g}from"./D4XKOLDN.js";import{a as $}from"./UR5INQGU.js";import{r as o}from"./HEPYE6RX.js";function v(a={displayType:"stat-card",metricId:void 0},r,c){let{value:i,valueType:e,dynamicMetric:p}=a,t=$(a,["value","valueType","dynamicMetric"]),{layerId:n,itemId:s,field:b,statistic:m,serviceUrl:k,fieldType:h,sourceLink:l,sourceTitle:y,allowExpressionSet:d,expressionSet:f,legacyWhere:u}=p||{},{entityInfo:w,metricName:I}=c||{},L={source:a.type==="dynamic"?{type:"service-query",serviceUrl:k,layerId:n,field:b,statistic:m,where:u||D(d?f:[])}:{type:"static-value",value:i,valueType:e},name:I||r,entityInfo:w||{id:void 0,name:void 0,type:void 0},id:r};delete t.itemId;let N=Object.assign(Object.assign({},t),{displayType:t.displayType||"stat-card",visibility:t.visibility||g.hidden,metricId:r,fieldType:h,itemId:s,expressionSet:f,allowExpressionSet:d,statistic:m,sourceLink:a.type==="dynamic"&&l?l:t.sourceLink,sourceTitle:a.type==="dynamic"&&y?y:t.sourceTitle,allowLink:a.type==="dynamic"?t.allowDynamicLink:t.allowLink,type:a.type});return{metric:L,displayConfig:N}}function D(a=[]){let r=a.map(c=>{let{field:i,values:e,relationship:p}=c,t=s=>s.replace&&s.replace(/(['])/g,"$1$1");if(!e||!e.length||!i||!i.name)return!1;let n;switch(i.type){case"esriFieldTypeString":n=p===T.LIKE?`${i.name} like '%${e[0]}%'`:`(${i.name} IN (${e.map(s=>`'${t(s)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof e[0]=="string"&&(n=`${i.name} >= timestamp '${t(e[0])} 00:00:00'`),typeof e[1]=="string"&&(n=`${i.name} <= timestamp '${t(e[1])} 23:59:59'`),typeof e[0]=="string"&&typeof e[1]=="string"&&(n=`${i.name} >= timestamp '${t(e[0])} 00:00:00' AND ${i.name} <= timestamp '${t(e[1])} 23:59:59'`);break;default:o(e[0])||(n=`(${i.name}) >= ${e[0]}`),o(e[1])||(n=`(${i.name}) <= ${e[1]}`),!o(e[0])&&!o(e[1])&&(n=`(${i.name}) >= ${e[0]} AND (${i.name}) <= ${e[1]}`);break}return n}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(r)}export{v as a,D as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
var a=(t,e)=>({isAny:{value:"isAny",label:`{{operatorConfigs.isAny.${e||"default"}:translate}}`},isAll:{value:"isAll",label:`{{operatorConfigs.isAll.${e||"default"}:translate}}`},isExactly:{value:"isExactly",label:`{{operatorConfigs.isExactly.${e||"default"}:translate}}`},isNot:{value:"isNot",label:`{{operatorConfigs.isNot.${e||"default"}:translate}}`},isBefore:{value:"isBefore",label:`{{operatorConfigs.isBefore.${e||"default"}:translate}}`},isAfter:{value:"isAfter",label:`{{operatorConfigs.isAfter.${e||"default"}:translate}}`},isBetween:{value:"isBetween",label:`{{operatorConfigs.isBetween.${e||"default"}:translate}}`}})[t];export{a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as m}from"./KUB4GMLQ.js";import{b as o}from"./RGKBSVQD.js";import{h as n}from"./FZ7ZK37I.js";function $(r){return m(r).then(t=>{let e=`${o(r)}/content/users/${t}/items/${r.id}/protect`;return n(e,r)})}function f(r){return m(r).then(t=>{let e=`${o(r)}/content/users/${t}/items/${r.id}/unprotect`;return n(e,r)})}export{$ as a,f as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as r}from"./LDJN5446.js";import{q as t}from"./6LDEVQEO.js";async function m(o,e){let{editGroups:a,readGroups:u}=await t(Object.assign({eventId:o},e.hubRequestOptions)),n=s=>s.length?r(Object.assign({q:`id:(${s.join(" OR ")})`,num:s.length},e.requestOptions)):Promise.resolve({results:[]}),[{results:i},{results:p}]=await Promise.all([u,a].map(n));return[...i,...p]}export{m as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as s}from"./CD736SN3.js";import{g as a}from"./7J2N6ILF.js";import{N as r}from"./VXJI546E.js";import"./ZQPTNYU6.js";import"./UCUSWPVC.js";import"./HTYDCXX6.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import"./2NJPYBHN.js";import"./635V3Q2N.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import"./XP6ZXTST.js";import"./LVCMKKG7.js";import"./UR5INQGU.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import"./HSFPILSC.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import{a as e}from"./37IO4VH2.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import"./RL2IUUBA.js";import{a as o}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import b from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as i,c as n,d as p,e as m,i as c}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:h}])=>{var u=5,l=(t,y,f,_)=>(t.summary=void 0,t),b=".project-about__initiatives.sc-arcgis-hub-project-about calcite-button.sc-arcgis-hub-project-about{margin-top:1.5rem}h2.sc-arcgis-hub-project-about{margin:0 0 0.75rem 0;font-size:var(--calcite-font-size-2);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold)}",d=b,g=class{constructor(t){c(this,t),this.arcgisHubEntityAboutTabChange=m(this,"arcgisHubEntityAboutTabChange",7),this.entity=void 0,this.path="",this._associatedInitiativesCount=0,e(this,"handleTabChange")}async init(){try{if(this._associatedInitiativesQuery=this.project&&await a(this.project,"initiative",this._context),this._associatedInitiativesQuery){let{total:t}=await r(this._associatedInitiativesQuery,{requestOptions:this._context.hubRequestOptions});this._associatedInitiativesCount=t}}catch{}}get _context(){return h()}get project(){return this.entity}async componentWillLoad(){this.intl=await o.loadIntlForComponent(this.element),this.init()}handleTabChange(t){this.arcgisHubEntityAboutTabChange.emit(t)}renderAssociatedInitiatives(){return i("div",{class:"project-about__initiatives"},i("h2",null,this.intl.t("associatedInitiatives")),i("arcgis-hub-gallery",{callback:l,limit:u,linkTarget:"siteRelative",path:this.path,query:this._associatedInitiativesQuery,showAdditionalInfo:!1,showOwner:!1,showThumbnail:!1,showType:!1}),i("calcite-button",{appearance:"outline","data-scroll":"scroll","data-tab":s.Initiatives,onClick:this.handleTabChange,round:!0},this.intl.t("exploreAssociations")))}render(){return i(n,{key:"54f2e8c6c0287d79ef0d739a49b1ba18316d9237","data-element":"project-about"},i("arcgis-hub-entity-about",{key:"4ff07fa1c910999334ac5eb6893761917e8d70a5",entity:this.entity,path:this.path},i("div",{key:"e14594da1d8d071daba39f074c8c02fb5fa4620c",slot:"sidebar"},this._associatedInitiativesCount>0&&this.renderAssociatedInitiatives())))}static get assetsDirs(){return["locales"]}get element(){return p(this)}static get watchers(){return{entity:["init"]}}};g.style=d;return g},b)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as u}from"./EONYH67A.js";import{a as g}from"./GEUS66D2.js";import{h as p}from"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import{a as c}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import{f as h,g as m,h as d}from"./ZM3EAORZ.js";import{a as o}from"./YCEXTCZD.js";import"./5V53QYYF.js";import{c as s}from"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as e,c as k,d as f,e as l,i as v}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:b}])=>{var U=({context:r,label:i,scale:a,user:t,slot:w,onClick:y})=>{if(!r)return;let{currentUser:C,session:n}=r;return t=t||C,e("calcite-navigation-user",{fullName:t?.fullName,label:i,onClick:y,scale:a,slot:w,style:{height:"100%"},thumbnail:t?.thumbnail&&p(n?.portal,t,n?.token),userId:t?.id,username:t?.username})},H=':host{display:flex;cursor:pointer}[slot="trigger"]{background-color:transparent;border:transparent;display:flex;cursor:pointer;align-items:center}',P=H,x=class{constructor(r){v(this,r),this.arcgisHubUserProfileSignout=l(this,"arcgisHubUserProfileSignout",7),this.hubTelemetry=l(this,"hubTelemetry",7),this.arcgisHubUserProfileLinkClick=l(this,"arcgisHubUserProfileLinkClick",7),this.handleDropdownClick=()=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.interaction.action.open.label.menu.details.user})},this.handleLinkClick=i=>{let a=i.target.href;this.arcgisHubUserProfileLinkClick.emit({clickEvent:i,href:a})},this.handleViewProfileClick=i=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.navigation.action.view.label.users.details.profile}),this.handleLinkClick(i)},this.handleViewOverviewClick=i=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.navigation.action.view.label.orgs.details.overview}),this.handleLinkClick(i)},this.handleWorkspaceHomeClick=i=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.navigation.action.view.label.users.details.workspace}),this.handleLinkClick(i)},this.handleAGOClick=()=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.navigation.action.external.label.arcGisOnline.details.myContent});let i=this.agoContentUrl;window.open(i,"_blank")},this.handleSignOut=()=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.interaction.action.authenticate.label.signout}),this.arcgisHubUserProfileSignout.emit()},this.variant="default"}get context(){return b()}async componentWillLoad(){this.intl=await c.loadIntlForComponent(this.element)}get profileUrl(){return h(this.context)}get overviewUrl(){return m(this.context)}get workspaceHomeUrl(){return d(this.context)}get agoContentUrl(){return g(this.context.portalUrl)}get useWorkspaceLink(){return s("hub:feature:workspace:user",this.context).access}renderUserProfileTrigger(){return this.variant==="minimal"?e("button",{"aria-label":this.intl.t("triggerAriaLabel"),onClick:this.handleDropdownClick,slot:"trigger"},e(u,{context:this.context})):e("div",{"aria-label":this.intl.t("triggerAriaLabel"),slot:"trigger"},e(U,{context:this.context,onClick:this.handleDropdownClick,slot:"user"}))}renderMenu(){return e("calcite-dropdown",null,this.renderUserProfileTrigger(),e("calcite-dropdown-group",{selectionMode:"none"},e("calcite-dropdown-item",{href:this.profileUrl,onClick:this.handleViewProfileClick},this.intl.t("viewProfile")),this.useWorkspaceLink?e("calcite-dropdown-item",{href:this.workspaceHomeUrl,onClick:this.handleWorkspaceHomeClick},this.intl.t("viewWorkspace")):e("calcite-dropdown-item",{href:this.overviewUrl,onClick:this.handleViewOverviewClick},this.intl.t("viewOverview")),e("slot",null),e("calcite-dropdown-item",{iconEnd:"launch",onClick:this.handleAGOClick},this.context.isPortal?this.intl.t("openEnterprise"):this.intl.t("openAGO")),e("calcite-dropdown-item",{onClick:this.handleSignOut},this.intl.t("signOut"))))}render(){var r;return e(k,{key:"f15986a64098938cef5efa66e23f39b359ce539d","data-element":"user-profile"},((r=this.context)===null||r===void 0?void 0:r.isAuthenticated)&&this.renderMenu())}static get assetsDirs(){return["locales"]}get element(){return f(this)}};x.style=P;return x},a)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as y}from"./KIEYQKES.js";import{a as h}from"./LLX4O2ZL.js";import{a as b}from"./ZVGAVULD.js";import"./V3U3RRL7.js";import{a as u}from"./37IO4VH2.js";import{a as m}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import{a as d}from"./YCEXTCZD.js";import"./5V53QYYF.js";import{a as c,g as p}from"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as a,c as f,d as S,e as g,h as v,i as _}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var C={required:[],type:"object",properties:{title:{type:"string",maxLength:255},description:{type:"string",maxLength:500},canCollapse:{type:"boolean"}}},E={type:"Layout",elements:[{labelKey:"title",scope:"/properties/title",type:"Control"},{labelKey:"description",scope:"/properties/description",type:"Control",options:{control:"hub-field-input-input",type:"textarea"}}]},T={required:["title"],type:"object",properties:{title:{type:"string",maxLength:255,minLength:1},timeframe:{type:"string"},stageDescription:{type:"string",maxLength:500},link:{type:"object",properties:{href:{type:"string",if:{minLength:1},then:{format:"url"}},title:{type:"string"}}},status:{type:"string",default:"notStarted"}}},x={type:"Layout",elements:[{labelKey:"title",scope:"/properties/title",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"titleRequiredError"}]}},{labelKey:"timeframe",scope:"/properties/timeframe",type:"Control"},{labelKey:"stageDescription",scope:"/properties/stageDescription",type:"Control",options:{control:"hub-field-input-input",type:"textarea"}},{labelKey:"linkHref",scope:"/properties/link/properties/href",type:"Control",options:{helperText:{labelKey:"linkHrefHelperText"},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"linkHrefFormatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"linkTitle",scope:"/properties/link/properties/title",type:"Control"},{labelKey:"status",scope:"/properties/status",type:"Control",options:{control:"hub-field-input-combobox",clearDisabled:!0,selectionMode:"single",placeholder:"{{setStatus:translate}}",items:Object.keys(h).map(e=>({value:e,label:`{{${e}:translate}}`}))}}]},A=".sc-arcgis-hub-timeline-editor-h{display:block}calcite-sortable-list.sc-arcgis-hub-timeline-editor{margin-bottom:1.5rem}.stage-editor.sc-arcgis-hub-timeline-editor{margin-left:1rem}calcite-combobox.sc-arcgis-hub-timeline-editor{margin-bottom:0.5rem}.collapse-toggle-heading.sc-arcgis-hub-timeline-editor{display:flex;gap:0.25rem}.steps-heading.sc-arcgis-hub-timeline-editor{padding-top:0.75rem;padding-bottom:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.add-step-btn.sc-arcgis-hub-timeline-editor{margin-bottom:1.5rem}",O=A,I=class{constructor(e){_(this,e),this.arcgisHubTimelineEditorChange=g(this,"arcgisHubTimelineEditorChange",7),this.hubTelemetry=g(this,"hubTelemetry",7),this._timelineSchema=c(C),this._timelineUiSchema=c(E),this._stageSchema=c(T),this.handleRemoveStage=t=>{var i;let s=(i=t.target)===null||i===void 0?void 0:i.getAttribute("data-key"),l=[...this._timeline.stages],n;l.forEach((o,r)=>{o.key===s&&(n=r)}),isNaN(n)||l.splice(n,1),this._currentStageIdx=-1,this.updateStages(l),this.hubTelemetry.emit(Object.assign(Object.assign({},d.dictionary.category.interaction.action.remove.label.step.details.timeline),{count:l.length}))},this.handleStageEditorChangeEvent=t=>{var i;t.stopPropagation();let s=(i=t.target)===null||i===void 0?void 0:i.getAttribute("data-key"),l=[...this._timeline.stages];l.forEach((n,o)=>{n.key===s&&(l[o]=Object.assign(Object.assign({},n),t.detail.values))}),this.updateStages(l,t.detail.valid)},this.onStageEditorOpen=t=>{var i;let s=(i=t.target)===null||i===void 0?void 0:i.getAttribute("data-key");[...this._timeline.stages].forEach((n,o)=>{n.key===s&&(this._currentStageIdx=o)})},this.handleCalciteTileSelect=t=>{this._timeline.canCollapse=!!+t.target.dataset.value,this.arcgisHubTimelineEditorChange.emit({values:this._timeline,valid:!0});let i=t.target.checked?"enable":"disable";this.hubTelemetry.emit(Object.assign(Object.assign({},d.dictionary.category.interaction.action[i].label.collapse.details.timeline),{count:this.stages.length}))},this.values=void 0,this.showTitleAndDescription=!0,this.stages=[],this._currentStageIdx=-1,u(this,"handleAddStage","handleEditorChangeEvent","handleStageOrderChangeEvent","translationFunc")}async componentWillLoad(){var e;this.intl=await m.loadIntlForComponent(this.element),this._timeline=this.values,this.stages=((e=this.values)===null||e===void 0?void 0:e.stages)||[],this._stageUiSchema=c(b(this.intl,x))}get isCollapseToggleDisabled(){var e;return((e=this._timeline.stages)===null||e===void 0?void 0:e.length)<6}translationFunc(e,t,i){return this.intl.t(e,t,i)}updateStages(e,t=!0){this.stages=e,this._timeline.stages=e,(this._timeline.canCollapse||this._timeline.canCollapse===void 0&&this.stages.length>=6)&&(this._timeline.canCollapse=this.stages.length>=6),this.arcgisHubTimelineEditorChange.emit({values:this._timeline,valid:t})}handleAddStage(){let e=p("stage"),t={key:e,title:"",timeframe:"",stageDescription:"",status:h.notStarted},i=[...this._timeline.stages||[]],s=i.push(t);this._currentStageIdx=s-1,this.updateStages(i),setTimeout(()=>{this.setStageFocus(e)},300),this.hubTelemetry.emit(Object.assign(Object.assign({},d.dictionary.category.interaction.action.add.label.step.details.timeline),{count:s}))}setStageFocus(e){this.element.querySelector(`calcite-block[data-key=${e}] arcgis-configuration-editor`).setFocus()}handleEditorChangeEvent(e){e.stopPropagation(),this._timeline=Object.assign(Object.assign({},this._timeline),e.detail.values),this.arcgisHubTimelineEditorChange.emit({values:this._timeline,valid:e.detail.valid})}handleStageOrderChangeEvent(e){var t,i;e.stopPropagation();let s=(t=this._timeline.stages[this._currentStageIdx])===null||t===void 0?void 0:t.key,l=((i=e.target)===null||i===void 0?void 0:i.children)||[],n=Array.from(l).map(r=>r.getAttribute("data-key")),o=[...this._timeline.stages];o.sort(function(r,k){return n.indexOf(r.key)-n.indexOf(k.key)}),this._currentStageIdx=o.findIndex(r=>r.key===s),this.updateStages(o)}renderStages(){return a("calcite-block-group",{"drag-enabled":!0,onCalciteBlockGroupOrderChange:this.handleStageOrderChangeEvent},this.stages.map((e,t)=>this.renderStage(e,t)))}renderStage(e,t){let i={title:e.title,timeframe:e.timeframe,stageDescription:e.stageDescription,link:e.link,status:e.status};return a(v,null,a("calcite-block",{collapsible:!0,"data-key":e.key,description:e.timeframe,"drag-handle":!0,expanded:t===this._currentStageIdx,heading:e.title,key:e.key,onCalciteBlockToggle:this.onStageEditorOpen},e.status&&a("calcite-icon",{icon:y(e.status),scale:"s",slot:"icon-start"}),a("calcite-card",{class:"stage-editor",dir:this.intl.direction},a("arcgis-configuration-editor",{"data-key":e.key,onArcgisConfigurationEditorChange:this.handleStageEditorChangeEvent,schema:this._stageSchema,t:this.translationFunc,uiSchema:this._stageUiSchema,values:i}),a("calcite-button",{appearance:"transparent","data-key":e.key,kind:"danger",onClick:this.handleRemoveStage,round:!0,scale:"m",width:"auto"},this.intl.t("delete")))))}render(){var e,t,i,s;let l={title:(e=this._timeline)===null||e===void 0?void 0:e.title,description:(t=this._timeline)===null||t===void 0?void 0:t.description};return a(f,{key:"a1ef7911813af872c7416942815fb76b65472cab","data-element":"timeline-editor"},this.showTitleAndDescription&&a("arcgis-configuration-editor",{onArcgisConfigurationEditorChange:this.handleEditorChangeEvent,schema:this._timelineSchema,t:this.translationFunc,uiSchema:this._timelineUiSchema,values:l}),a("calcite-label",{key:"f3d71b3d9520cba3dcb843c19f0b97c546d90de7"},a("div",{key:"4a161d86bfce2ca7985398fdb18f293d6f61a1ed",class:"collapse-toggle-heading"},this.intl.t("enableCollapse"),a("div",{key:"adf96f6210df46fa2029047be06368c6d255e1a5"},a("calcite-icon",{key:"e56ead9a94c7c6505c056dc782550ff54a85e5cf",icon:"information-f",id:"collapse-tooltip",scale:"s"}),a("calcite-tooltip",{key:"1e160ee5b299a3ee7eee5fd2d86c7a7591c22005",label:this.intl.t("collapseToggle"),placement:"right","reference-element":"collapse-tooltip"},a("span",{key:"4b9434003b4004ef33663a686609f20e9ce196e9"},this.intl.t("collapseToggleTooltip"))))),a("calcite-tile-group",{key:"8eff0434d06253b5cf0f1bfa8491fc3d9a8bac04",disabled:this.isCollapseToggleDisabled,label:this.intl.t("enableCollapse"),layout:"vertical",selectionAppearance:"icon",selectionMode:"single-persist"},a("calcite-tile",{key:"72a4094aec2fbe5363539a90a9c5191ad530d75a","data-value":"0",description:this.intl.t("showFullDescription"),heading:this.intl.t("showFull"),onCalciteTileSelect:this.handleCalciteTileSelect,selected:!(!((i=this._timeline)===null||i===void 0)&&i.canCollapse)}),a("calcite-tile",{key:"dd626299a31129a2d8cc673594644a62d219a1b6","data-value":"1",description:this.intl.t("showCollapsedDescription"),heading:this.intl.t("showCollapsed"),onCalciteTileSelect:this.handleCalciteTileSelect,selected:(s=this._timeline)===null||s===void 0?void 0:s.canCollapse}))),a("div",{key:"a5dcb0a0ef5b84ba54734540d959b6bcade00a18",class:"steps-heading"},this.intl.t("steps")),this.renderStages(),a("calcite-button",{key:"3f9cb89b031cc6c53f0ae396281e7cbadeb73bbc",appearance:"outline-fill",class:"add-step-btn",color:"blue",onClick:this.handleAddStage,round:!0,type:"button",width:"auto"},this.intl.t("addNewStep")))}static get assetsDirs(){return["locales"]}get element(){return S(this)}};I.style=O;export{I as arcgis_hub_timeline_editor};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{n as a}from"./K4VVZ2OR.js";import"./THLIDOGM.js";import"./FZNKGW4A.js";import"./LK454DSU.js";import"./AYFB34A7.js";import"./53V23CCM.js";import"./SNSHV52T.js";import"./HITR5JF7.js";import"./E2RL5I2B.js";import"./4ZRQCNU2.js";import"./YLRR2XFD.js";import"./LEVMADAS.js";import"./U7SPPU37.js";import"./JSOZV4HA.js";import"./VXJI546E.js";import"./ZQPTNYU6.js";import"./UCUSWPVC.js";import"./HTYDCXX6.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import"./ZUFDLSS7.js";import"./2NJPYBHN.js";import"./635V3Q2N.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import"./XP6ZXTST.js";import"./LVCMKKG7.js";import"./UTQMJRMF.js";import"./AEPE3IDB.js";import"./UR5INQGU.js";import"./HV466M4A.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import"./HSFPILSC.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import"./RL2IUUBA.js";import"./J2P53GWU.js";import b from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import{a as o}from"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as e,c as s,h as p,i as n}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:l}])=>{var c=".sc-arcgis-hub-site-search-wrapper-h{display:block}",m=c,d=class{constructor(i){n(this,i),this.entity=void 0,this.identifier="",this.type=void 0,this.view="browseAll",this.mode="separate",this.term="",this.loading=!0}get _context(){return l()}async onIdentifierChange(){await this.loadEntity()}async loadEntity(){this.loading=!0,this.type&&this.identifier&&this._context&&(this.entity=await a(this.type,this.identifier,this._context),this.loading=!1)}componentWillLoad(){this.entity?this.loading=!1:!this.entity&&this._context&&this.identifier&&this.type&&this.loadEntity()}get catalogs(){return o(this.entity,"catalogs",[])}get showBrowseAll(){return this.catalogs.length>1}onSearchChange(i){this.term=i.detail}renderLoading(){return e("div",null,"Loading...")}renderContent(){let i=this.mode==="separate";return e(p,null,this.mode==="unified"&&e("arcgis-hub-search-input",{placeholder:"Search..."}),e("calcite-tabs",null,e("calcite-tab-nav",{slot:"title-group"},e("calcite-tab-title",{name:"browseAll",selected:this.view==="browseAll"},"Browse All"),this.catalogs.map((t,r)=>e("calcite-tab-title",{key:r,name:t.title,selected:this.view===t.title},t.emojii," ",t.title))),e("calcite-tab",{name:"browseAll"},e("arcgis-hub-browse-all",{entity:this.entity,mode:"combined",showSearch:i,term:this.term})),this.catalogs.map((t,r)=>e("calcite-tab",{key:r,name:t.title},e("arcgis-hub-catalog",{catalogs:[t],facets:h,layout:"grid",showSearch:i,term:this.term})))))}render(){return e(s,{key:"3119071e2d3e3d2efaf800c214a4866fd5a3363e","data-element":"entity-view-wrapper"},this.loading?this.renderLoading():this.renderContent())}static get watchers(){return{type:["onIdentifierChange"],identifier:["onIdentifierChange"]}}},h=[{label:"Access",key:"access",display:"multi-select",operation:"OR",options:[{label:"Public",key:"public",selected:!1,predicates:[{access:"public"}]},{label:"Shared",key:"shared",selected:!1,predicates:[{access:"shared"}]},{label:"Org",key:"org",selected:!1,predicates:[{access:"org"}]},{label:"Mine",key:"mine",selected:!1,predicates:[{owner:"dbouwman_dc"}]}]},{label:"Types",key:"types",display:"multi-select",pageSize:4,operation:"OR",options:[{label:"Projects",key:"projects",selected:!1,predicates:[{type:"Hub Project"}]},{label:"Web Maps",key:"webmaps",selected:!1,predicates:[{type:"Web Map"}]},{label:"Sites",key:"sites",selected:!1,predicates:[{type:"Hub Site Application"}]},{label:"Services",key:"services",selected:!1,predicates:[{type:["Feature Service","Map Service"]}]},{label:"Apps",key:"apps",selected:!1,predicates:[{type:{any:["Code Sample","Web Mapping Application","Mobile Application","Application","Desktop Application Template","Desktop Application","Operation View","Dashboard","Operations Dashboard Extension","Workforce Project","Insights Workbook","Insights Page","Insights Model","Hub Page","Hub Initiative","Hub Site Application","StoryMap","Web Experience","Web Experience Template","Form"],not:["Code Attachment","Featured Items","Symbol Set","Color Set","Windows Viewer Add In","Windows Viewer Configuration","Map Area","Indoors Map Configuration"]},typekeywords:{not:["MapAreaPackage","SMX"]}}]},{label:"Story Maps",key:"storymaps",selected:!1,predicates:[{type:"StoryMap"},{type:"Web Mapping Application",typekeywords:"Story Map"}]},{label:"Dashboards",key:"dashboards",selected:!1,predicates:[{type:"Dashboard",typekeywords:{any:["Dashboard"],not:["ArcGIS Operation View","Add In","Extension"]}}]},{label:"Document",key:"documents",selected:!1,predicates:[{typekeywords:{any:["Document"],not:["MapAreaPackage","SMX"]},type:{any:["Image","Layout","Desktop Style","Project Template","Report Template","Pro Report","Statistical Data Collection","360 VR Experience","netCDF","PDF","CSV","Administrative Report","Raster function template"],not:["Image Service","Explorer Document","Explorer Map","Globe Document","Scene Document","Code Attachment","Featured Items","Symbol Set","ColorSet","Windows Viewer Add In","Windows Viewer Configuration","Map Area","Indoors Map Configuration"]}}]}]}];d.style=m;return d},b)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import e from"./VFVNN33U.js";import"./6IRHI22W.js";import"./AJOXWMDO.js";import"./W6GBJ4BL.js";import{a as u}from"./WU3HYV7B.js";import"./PM6CSPJD.js";import"./DYGPQ2O2.js";import{a as h}from"./AJKLRRS4.js";import{a as c}from"./37IO4VH2.js";import a from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import{a as p}from"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as m,e as d,i as b}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([,{d:g}])=>{var P=class{constructor(t){b(this,t),this.arcgisConfigurationEditorFieldInputChange=d(this,"arcgisConfigurationEditorFieldInputChange",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.params=void 0,c(this,"handleCalciteSegmentedControlChange")}handleCalciteSegmentedControlChange(t){this.arcgisConfigurationEditorFieldInputChange.emit(t.target.value),this.hubTelemetry.emit(Object.assign(Object.assign({},p.dictionary.category.interaction.action.select),{label:this.params.telemetryLabel,details:t.target.value}))}renderOptions({schema:t,uiSchema:e,value:f,t:C}){return(t.enum||[]).map((i,o)=>{var r,a,s,n,l;let v=!((r=e.options)===null||r===void 0)&&r.labels?((a=e.options)===null||a===void 0?void 0:a.labels[o])||i:u(e,i,C,{path:"label",fallback:i}),_=((s=e.options)===null||s===void 0?void 0:s.icons)&&((n=e.options)===null||n===void 0?void 0:n.icons[o]),y=((l=e.options)===null||l===void 0?void 0:l.rules)||[];return!g(y[o],this.params.model).includes(h.HIDE)&&m("calcite-segmented-control-item",{checked:i===f,"data-option-index":o,iconStart:_,key:i,value:i},v)})}render(){var t;return m("calcite-segmented-control",{key:"b0e94655b1b1f69f744d2a6720829891da288a2b",disabled:this.params.disabled,layout:"horizontal",name:this.params.schema.title,onCalciteSegmentedControlChange:this.handleCalciteSegmentedControlChange,scale:this.params.scale,width:(t=this.params.uiSchema.options)===null||t===void 0?void 0:t.width},this.renderOptions(this.params))}};return P},a,e)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{b as _}from"./CH532URJ.js";import{b as f}from"./UOAJQR2X.js";import{a as C}from"./PM6CSPJD.js";import{a as b}from"./WJFIZ6DL.js";import"./LVCMKKG7.js";import{a as y}from"./37IO4VH2.js";import{a as v}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import{a as g}from"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import{s as u}from"./HEPYE6RX.js";import{a as p}from"./7GTUV67W.js";import"./USNX342T.js";import{b as o,c as S,d as I,e as m,h as d,i as k}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:w,j:E}])=>{function T(e,t){let i;if(e.length===0)return{targetEntity:t,filters:[{operation:"OR",predicates:[{type:["Code Attachment"]}]}]};switch(t){case"user":i={targetEntity:t,filters:[{operation:"OR",predicates:[{username:e}]}]};break;default:i={targetEntity:t,filters:[{operation:"OR",predicates:[{id:e}]}]}}return i}var G='hub-field-input-gallery-picker .gallery-picker__selected-entities{margin-bottom:1.5rem}hub-field-input-gallery-picker calcite-list-item [slot="actions-start"]{margin-top:10px;margin-left:0.75rem}hub-field-input-gallery-picker calcite-list-item{--calcite-font-size--2:var(--calcite-font-size--1);--tw-shadow:var(--twShadowNew, 0 1px 0 var(--calcite-color-border-3))}hub-field-input-gallery-picker calcite-link{display:flex;flex-direction:column;align-items:center;justify-content:center}hub-field-input-gallery-picker .gallery-picker__button-container{display:flex;flex-wrap:wrap;gap:0.75rem}arcgis-hub-gallery{margin-bottom:1rem}calcite-list-item>calcite-button{margin-inline-end:0.25rem}',P=G,O=function(e,t,i,l){var n=arguments.length,s=n<3?t:l===null?l=Object.getOwnPropertyDescriptor(t,i):l,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,i,l);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(n<3?a(s):n>3?a(t,i,s):a(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},R=class{connectedCallback(){E(this)}disconnectedCallback(){this.disconnectContext()}constructor(e){k(this,e),this.arcgisConfigurationEditorFieldInputChange=m(this,"arcgisConfigurationEditorFieldInputChange",7),this.hubTelemetry=m(this,"hubTelemetry",7),this.setTriggerElement=t=>{this.triggerElement=t},this.handleHubTelemetry=t=>{t.stopPropagation(),this.hubTelemetry.emit(Object.assign({details:this.params.telemetryLabel},t.detail))},this.handleAddContentComplete=t=>{t.stopPropagation(),this.selectedIds=[...this.selectedIds,t.detail.entities[0].id],this.gallerySelection[this.targetEntity]=this.selectedIds,this.arcgisConfigurationEditorFieldInputChange.emit(this.selectedIds)},this.params=void 0,this.styles=void 0,this.isMobile=!1,this._context=w(),this.inaccessibleContentIds=[],this.isOpen=!1,this.gallerySelection=void 0,this.selectedIds=void 0,this.triggerElement=void 0,y(this,"handleGalleryPickerSelectionUpdate","handleGalleryPickerOpen","handleGalleryPickerClose","handleAddContentComplete","handleArcgisHubGalleryResultsChange","handleInaccessibleContentRemove")}async componentWillLoad(){this.selectedIds=Array.isArray(this.params.value)?this.params.value:[],this.gallerySelection=this.convertEntityIdsToGallerySelection(),this.intl=await v.loadIntlForComponent(this.element)}async onParamsChange(){let e=this.selectedIds||[],t=Array.isArray(this.params.value)?this.params.value:[],i=t.some(n=>!e.includes(n)),l=e.some(n=>!t.includes(n));(i||l)&&(this.selectedIds=t,this.gallerySelection=this.convertEntityIdsToGallerySelection())}get targetEntity(){var e,t;return((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.targetEntity)||"item"}get limit(){var e,t;return(t=(e=this.params)===null||e===void 0?void 0:e.schema)===null||t===void 0?void 0:t.maxItems}get selectionMode(){return this.params.schema.maxItems===1?"single":"multiple"}get canReorder(){var e,t,i,l,n,s;let a=!0;return C((i=(t=(e=this.params)===null||e===void 0?void 0:e.uiSchema)===null||t===void 0?void 0:t.options)===null||i===void 0?void 0:i.canReorder)||(a=(n=(l=this.params.uiSchema)===null||l===void 0?void 0:l.options)===null||n===void 0?void 0:n.canReorder),a&&((s=this.selectedIds)===null||s===void 0?void 0:s.length)>1}get pickerTitle(){var e,t;let i,l=((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.pickerTitle)&&_(this.params.uiSchema,this.params.t,"options.pickerTitle");return l?i=l:i=this.limit===1?this.intl.t(`select${u(this.targetEntity)}`):this.intl.t(`select${u(this.targetEntity)}s`),i}get query(){return T(this.selectedIds,this.targetEntity)}get allowRemoveAction(){var e,t,i,l;return!((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0)&&t.hasOwnProperty("allowRemove")?(l=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||l===void 0?void 0:l.allowRemove:!0}get actionLinks(){let e=[];return this.allowRemoveAction&&e.push({action:"remove",ariaLabel:this.intl.t("remove"),buttonStyle:"outline",disabled:this.params.disabled,icon:"x",label:this.intl.t("remove")}),e}get _showThumbnail(){var e;return(e=p(this.params,"uiSchema.options.showThumbnail"))!==null&&e!==void 0?e:!0}convertEntityIdsToGallerySelection(){return{[this.targetEntity]:this.params.value}}convertGallerySelectionToEntityIds(e){return e[this.targetEntity]}handleGalleryPickerOpen(){this.isOpen=!0}handleGalleryPickerClose(){this.isOpen=!1}handleGalleryPickerSelectionUpdate(e){let t=this.convertGallerySelectionToEntityIds(e.detail);this.selectedIds=t,this.arcgisConfigurationEditorFieldInputChange.emit(t),this.isOpen=!1}handleArcgisHubGalleryResultsChange(e){let t=e.detail.map(i=>i.id);this.inaccessibleContentIds=this.selectedIds.filter(i=>!t.includes(i))}actionHandler(e){e.detail.action==="remove"&&this.handleGallerySelectionRemove(e)}handleGallerySelectionRemove(e){let t=e.detail.model.id;this.handleSelectionRemove(t)}handleInaccessibleContentRemove(e){let t=e.target.getAttribute("data-id");this.handleSelectionRemove(t),this.inaccessibleContentIds=this.inaccessibleContentIds.filter(i=>i!==t)}handleSelectionRemove(e){this.selectedIds=this.selectedIds.filter(i=>i!==e),this.gallerySelection[this.targetEntity]=this.gallerySelection[this.targetEntity].filter(i=>i!==e),this.arcgisConfigurationEditorFieldInputChange.emit(this.selectedIds);let t={item:"content",group:"groups",user:"users",channel:"channel"}[this.targetEntity]||"content";this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.remove.label[t]),{details:this.params.telemetryLabel,count:this.selectedIds.length}))}handleSelectEntitiesOrderChange(e){let{oldIndex:t,newIndex:i}=e.detail,l=[...this.selectedIds],[n]=l.splice(t,1);l.splice(i,0,n),this.selectedIds=l,this.gallerySelection[this.targetEntity]=l,this.arcgisConfigurationEditorFieldInputChange.emit(l)}renderSelectedEntities(){var e,t,i,l,n;return o(d,null,o("arcgis-hub-gallery",{cardActionLinks:this.actionLinks,include:(t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.include,layout:"compact",limit:this.selectedIds.length,linkTarget:(n=(l=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||l===void 0?void 0:l.linkTarget)!==null&&n!==void 0?n:"siteRelative",mobileView:this.isMobile,onArcgisHubGalleryResultsChange:this.handleArcgisHubGalleryResultsChange,query:this.query,reorderable:this.canReorder,showEmptyState:!1,showThumbnail:this._showThumbnail,sortByIds:this.selectedIds}),this.inaccessibleContentIds.length>0&&this.renderInaccessibleContent())}renderGalleryPickerButton(){var e,t,i,l,n,s,a,r,c,h;let A=!((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0)&&t.appearance?(l=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||l===void 0?void 0:l.appearance:!((s=(n=this.params.uiSchema)===null||n===void 0?void 0:n.options)===null||s===void 0)&&s.showAddContent?"solid":"outline-fill";return o(d,null,o("calcite-button",{appearance:A,class:"gallery-picker__select",disabled:this.isOpen||this.params.disabled,kind:(r=(a=this.params.uiSchema)===null||a===void 0?void 0:a.options)===null||r===void 0?void 0:r.kind,label:this.pickerTitle,onClick:this.handleGalleryPickerOpen,ref:this.setTriggerElement,round:!0,width:(h=(c=this.params.uiSchema)===null||c===void 0?void 0:c.options)===null||h===void 0?void 0:h.width},this.pickerTitle))}renderGalleryPicker(){var e,t,i,l,n,s,a;return o("arcgis-wormhole",{elAttributes:{unthemed:""}},o("arcgis-hub-gallery-picker",{catalogs:(t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.catalogs,facets:(l=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||l===void 0?void 0:l.facets,gallerySelection:this.gallerySelection,isMobile:this.isMobile,limit:this.limit,linkTarget:"siteRelative",modalOptions:(n=this.params.uiSchema)===null||n===void 0?void 0:n.options,modalTitle:this.pickerTitle,onArcgisHubGalleryPickerClose:this.handleGalleryPickerClose,onArcgisHubGalleryPickerSelectionUpdate:this.handleGalleryPickerSelectionUpdate,onHubTelemetry:this.handleHubTelemetry,open:this.isOpen,selectionMode:this.selectionMode,showAllCollectionFacet:(a=(s=this.params.uiSchema)===null||s===void 0?void 0:s.options)===null||a===void 0?void 0:a.showAllCollectionFacet,showSearch:!0,targetEntity:this.targetEntity,triggerElement:this.triggerElement}))}get addContentConfig(){var e,t;let i=((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.addContentTypes)||f(this._context,[this.targetEntity]);return{state:"enabled",create:{workflow:"create",targetEntity:this.targetEntity,types:i}}}get shouldRenderSelectButton(){var e,t,i,l;let n=this.selectedIds.length<this.limit||this.limit===void 0;return!((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0)&&t.hasOwnProperty("showSelect")?((l=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||l===void 0?void 0:l.showSelect)&&n:n}get shouldRenderAddContent(){var e,t;return((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.showAddContent)&&(this.limit===void 0||this.selectedIds.length<this.limit)}renderAddContentPicker(){var e,t;return o("arcgis-hub-add-content",{allowGroupSelection:(t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.allowGroupSelection,buttonProps:{appearance:"outline-fill",disabled:this.params.disabled},config:this.targetEntity==="item"?this.addContentConfig:null,entityType:this.targetEntity,onArcgisHubAddContentWorkflowComplete:this.handleAddContentComplete})}renderInaccessibleContent(){let e=this.targetEntity==="item"||!this.targetEntity?"content":this.targetEntity;return o(d,null,this.inaccessibleContentIds.map(t=>o("calcite-list-item",{appearance:"outline",description:this.intl.t(`inaccessibleContent.${e}Description`),"icon-start":"exclamation-mark-triangle","interaction-mode":"static",label:this.intl.t("inaccessibleContent.label",{type:e,id:t}),"selection-mode":"none"},this.allowRemoveAction&&this.renderRemoveAction(t,e))))}renderRemoveAction(e,t){return o("calcite-button",{appearance:"outline","data-id":e,disabled:this.params.disabled,iconEnd:"x",label:this.intl.t("inaccessibleContent.removeActionAriaLabel",{type:t}),onClick:this.handleInaccessibleContentRemove,round:!0,slot:"actions-end"})}render(){return o(S,{key:"6f6119239bb1b29d4adff3d8941cabae62381cec","data-element":"gallery-picker-field",style:this.styles},!!this.selectedIds.length&&this.renderSelectedEntities(),o("div",{key:"22eba5577d086054662cef23b78b30aedc3af1ed",class:"gallery-picker__button-container"},this.shouldRenderSelectButton&&this.renderGalleryPickerButton(),this.shouldRenderAddContent&&this.renderAddContentPicker()),this.isOpen&&this.renderGalleryPicker())}static get assetsDirs(){return["locales"]}get element(){return I(this)}static get watchers(){return{params:["onParamsChange"]}}};O([b("selectedIds","targetEntity")],R.prototype,"query",null);R.style=P;return R},a)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{b as f}from"./N6GGGJDB.js";import{b as c}from"./6F3NCMF3.js";import{a as p}from"./AJKLRRS4.js";import"./YLRR2XFD.js";import{N as u}from"./VXJI546E.js";import"./ZQPTNYU6.js";import"./UCUSWPVC.js";import"./HTYDCXX6.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import"./2NJPYBHN.js";import"./635V3Q2N.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import"./XP6ZXTST.js";import{a as m}from"./WJFIZ6DL.js";import{a as y}from"./ZVGAVULD.js";import"./V3U3RRL7.js";import"./LVCMKKG7.js";import"./UR5INQGU.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import"./HSFPILSC.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import"./RL2IUUBA.js";import{a as k}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import{a as d,g as h}from"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as r,c as g,d as b,e as _,h as v,i as L}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:E}])=>{var K={type:"object",required:["label"],properties:{source:{type:"string",default:"external",enum:["external","content"]},label:{type:"string"},description:{type:"string"},href:{type:"string"},contentId:{type:"array",maxItems:1,items:{type:"string"}},section:{type:"string"}},allOf:[{if:{properties:{source:{const:"external"},href:{minLength:1}}},then:{properties:{href:{format:"url"}}}},{if:{required:["source"],properties:{source:{const:"external"}}},then:{required:["href"]}},{if:{required:["source"],properties:{source:{const:"content"}}},then:{required:["contentId"],properties:{contentId:{not:{const:[]}}}}}]},S=i=>{let e=[],t=i.type==="block"?"block":`button${i.links.findIndex(n=>n.key===i.editKey)+1}`;return i.type==="block"&&(e=A(i.links)),{type:"Layout",elements:[{type:"Section",labelKey:`linkEditor.title.${t}`,options:{section:"card",actions:[{action:"delete",slot:"footer-start",label:"Delete",kind:"danger",appearance:"transparent",round:!0},{action:"cancel",slot:"footer-end",label:"Cancel",appearance:"transparent",kind:"neutral",round:!0},{action:"save",slot:"footer-end",label:"Save",round:!0,disableWhenInvalid:!0}]},elements:[{scope:"/properties/source",type:"Control",options:{control:"hub-field-input-radio",labels:["{{linkEditor.link.source.external.label:translate}}","{{linkEditor.link.source.content.label:translate}}"]}},{scope:"/properties/label",labelKey:"linkEditor.link.label.label",type:"Control",options:{helperText:{labelKey:`linkEditor.link.label.helperText.${i.type}`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"linkEditor.link.label.requiredError"}]}},...i.type==="block"?[{scope:"/properties/description",labelKey:"linkEditor.link.description.label",type:"Control",options:{helperText:{labelKey:"linkEditor.link.description.helperText"}}}]:[],{scope:"/properties/href",labelKey:"linkEditor.link.href.label",type:"Control",rule:{effect:p.HIDE,condition:{scope:"/properties/source",schema:{const:"content"}}},options:{messages:[{type:"ERROR",keyword:"minLength",icon:!0,labelKey:"linkEditor.link.href.requiredError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:"linkEditor.link.href.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{scope:"/properties/contentId",labelKey:"linkEditor.link.contentId.label",type:"Control",rule:{effect:p.HIDE,condition:{scope:"/properties/source",schema:{const:"external"}}},options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:i.catalogs,facets:i.facets,messages:[{type:"ERROR",keyword:"not",icon:!0,labelKey:"linkEditor.link.contentId.requiredError"}],showAllCollectionFacet:!0}},...i.type==="block"?[{scope:"/properties/section",labelKey:"linkEditor.link.section.label",type:"Control",options:{control:"hub-field-input-combobox",items:e,selectionMode:"single",disabled:!e.length,placeholder:e.length?"{{linkEditor.link.section.placeholder.notSet:translate}}":"{{linkEditor.link.section.placeholder.noSections:translate}}"}}]:[]]}]}},A=i=>i.reduce((e,t)=>(t.kind==="section"&&e.push({value:t.key,label:t.label}),e),[]),I={type:"object",required:["label"],properties:{label:{type:"string"},description:{type:"string"}}},x={type:"layout",elements:[{type:"Section",labelKey:"sectionEditor.title",options:{section:"card",actions:[{action:"delete",slot:"footer-start",label:"Delete",kind:"danger",appearance:"outline",round:!0},{action:"cancel",slot:"footer-end",label:"Cancel",appearance:"outline",round:!0},{action:"save",slot:"footer-end",label:"Save",round:!0,disableWhenInvalid:!0}]},elements:[{scope:"/properties/label",labelKey:"sectionEditor.section.label.label",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"sectionEditor.section.label.requiredError"}]}},{scope:"/properties/description",labelKey:"sectionEditor.section.description.label",type:"Control"},{type:"Slot",options:{name:"delete-warning"}}]}]};function O(i,e){let t=i[e]||[];return t.length?{targetEntity:e,filters:[{operation:"OR",predicates:[{id:t}]}]}:null}var R='hub-composite-input-action-links>calcite-sortable-list{margin-top:1.5rem}[slot="actions-end"]{display:flex}calcite-link calcite-action{height:100%}calcite-link.content-link{display:block}.action-links__add calcite-button:not(:first-child){margin-left:0.5rem}.action-links__section calcite-sortable-list{margin-left:1.5rem}',w=R,F=function(i,e,t,n){var o=arguments.length,s=o<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(i,e,t,n);else for(var a=i.length-1;a>=0;a--)(l=i[a])&&(s=(o<3?l(s):o>3?l(e,t,s):l(e,t))||s);return o>3&&s&&Object.defineProperty(e,t,s),s},C=class{constructor(i){L(this,i),this.arcgisCompositeActionLinksFieldChange=_(this,"arcgisCompositeActionLinksFieldChange",7),this._linkSchema=d(K),this._sectionSchema=d(I),this._sectionUiSchema=d(x),this.findLinkByKey=(e,t=this._links)=>f(t,o=>o?.key===e),this.translationFunc=(e,t,n)=>this.intl.t(e,t,n),this.resetUnsavedChanges=()=>{this._unsavedChanges=[...this._links],this._editKey=void 0,this._showDeleteWarning=!1},this.setInternalLinkHref=async e=>{var t,n,o;if(e._href="",e.contentId){let s=O({item:e?.contentId},"item"),l={requestOptions:(t=this._context)===null||t===void 0?void 0:t.hubRequestOptions},a=await u(s,l);a?.results.length&&(!((n=a.results[0].links)===null||n===void 0)&&n.siteRelative)&&(e._href=(o=a.results[0].links)===null||o===void 0?void 0:o.siteRelative)}return e},this.handleAddLink=e=>{let t=e.currentTarget.getAttribute("data-type")==="section";this.resetUnsavedChanges();let n=h("link"),o=t?{key:n,kind:"section",label:void 0,description:void 0,children:[]}:{key:n,kind:"external",source:"external",href:void 0,icon:void 0,label:void 0,description:void 0};this._links=[...this._links,o],this._unsavedChanges=this._links,this._editKey=n},this.handleEditLink=e=>{let t=this._editKey,n=e.currentTarget.getAttribute("data-key");t===n?this.resetUnsavedChanges():this._editKey=n},this.handleDeleteLink=()=>{var e;let t=this.findLinkByKey(this._editKey);t.kind==="section"&&(!((e=t.children)===null||e===void 0)&&e.length)?this._showDeleteWarning=!0:(this._links=c(this._links,n=>n?.key!==this._editKey),this.resetUnsavedChanges(),this.arcgisCompositeActionLinksFieldChange.emit(this.transformLinksToEmit(this._links)))},this.handleSaveLink=()=>{let e=this.findLinkByKey(this._editKey),t=this.findLinkByKey(this._editKey,this._unsavedChanges);if(this._links=[...this._unsavedChanges],e.section!==t.section){this._links=c(this._links,o=>o?.key!==this._editKey);let n=this.findLinkByKey(t.section);n?n.children.push(t):this._links.push(t)}this.resetUnsavedChanges(),this.arcgisCompositeActionLinksFieldChange.emit(this.transformLinksToEmit(this._links))},this.handleLinkEditorChange=e=>{let t=e.currentTarget.getAttribute("data-key"),n=d(this._unsavedChanges),o=this.findLinkByKey(t,n);Object.entries(e.detail.values).forEach(([s,l])=>{o[s]=l,s==="source"&&(o.kind=l,l==="external"?delete o.contentId:l==="content"&&delete o.href),o.kind==="content"&&s==="contentId"&&this.setInternalLinkHref(o)}),this._unsavedChanges=n},this.handleCancelLink=()=>{!this.findLinkByKey(this._editKey).label&&(this._links=c(this._links,n=>n?.key!==this._editKey)),this.resetUnsavedChanges()},this.handleLinkEditorAction=e=>{let{action:t}=e.detail;t==="save"?this.handleSaveLink():t==="delete"?this.handleDeleteLink():t==="cancel"&&this.handleCancelLink()},this.handleLinkOrderChange=e=>{var t;let n=((t=e.target)===null||t===void 0?void 0:t.children)||[],o=Array.from(n).map(l=>l.getAttribute("data-key")),s=[...this._links];s.sort(function(l,a){return o.indexOf(l.key)-o.indexOf(a.key)}),this._links=s,this.arcgisCompositeActionLinksFieldChange.emit(this.transformLinksToEmit(this._links))},this.links=[],this.catalogs=void 0,this.facets=void 0,this.type="block",this._links=void 0,this._editKey=void 0,this._showDeleteWarning=void 0}async componentWillLoad(){this.intl=await k.loadIntlForComponent(this.element),this._links=await this.transformLinksForEditor(this.links),this._unsavedChanges=this._links}get _context(){return E()}get _linkUiSchema(){return y(this.intl,S({catalogs:this.catalogs,facets:this.facets,type:this.type,links:this._links,editKey:this._editKey}))}async transformLinksForEditor(i,e){return Promise.all(i.map(async t=>{var n;let o=Object.assign(Object.assign({},t),{key:h("link")});return t.kind==="section"&&(!((n=t.children)===null||n===void 0)&&n.length)&&(o.children=await this.transformLinksForEditor(t.children,o)),t.kind==="content"&&t.contentId&&(o.contentId=[t.contentId],await this.setInternalLinkHref(o)),t.kind!=="section"&&(o.source=t.kind),e&&(o.section=e.key),o}))}transformLinksToEmit(i){return d(i).map(e=>{let t=Object.assign({},e);return e.kind==="section"&&(t.children=this.transformLinksToEmit(e.children)),delete t.source,delete t.key,delete t.section,e.kind==="content"&&e.contentId.length&&(t.contentId=e.contentId[0],delete t._href),t})}renderLinks(i=[]){return r("calcite-block-group",{"drag-enabled":!0,onCalciteBlockGroupOrderChange:this.handleLinkOrderChange},i.map(e=>e.kind==="section"?this.renderSection(e,i.length>1):this.renderLink(e,i.length>1)))}renderSection(i,e){return i.label?r("div",{class:"action-links__section","data-key":i.key},r("calcite-block",{description:i.description,"drag-handle":e,expanded:this._editKey===i.key,heading:i.label,key:i.key},i.icon&&r("div",{slot:"icon-start"},r("calcite-icon",{icon:i.icon})),r("div",{slot:"actions-end"},this.renderBlockActions(i.key)),this._editKey===i.key&&this.renderSectionEditor()),this.renderLinks(i.children)):this.renderSectionEditor()}renderLink(i,e){return i.label?r("calcite-block",{"data-key":i.key,description:i.description,"drag-handle":e,expanded:this._editKey===i.key,heading:i.label,key:i.key},i.icon&&r("div",{slot:"icon-start"},r("calcite-icon",{icon:i.icon})),r("div",{slot:"actions-end"},this.renderBlockActions(i.key)),this._editKey===i.key&&this.renderLinkEditor()):this.renderLinkEditor()}renderBlockActions(i){let e=this.findLinkByKey(i),t=e.kind==="external"?e.href:e._href;return r(v,null,r("calcite-action",{"data-key":e.key,icon:"pencil",onClick:this.handleEditLink,text:""}),e.kind==="section"?r("calcite-action",{disabled:!0,icon:"chevron-down",text:""}):r("calcite-link",{class:"content-link",href:t,rel:"noreferrer",target:"_blank"},r("calcite-action",{"data-key":e.key,icon:"launch",label:this.intl.t("linkEditor.preview"),text:""})))}renderSectionEditor(){let i=this.findLinkByKey(this._editKey);return i&&r("arcgis-configuration-editor",{"data-key":i.key,onArcgisConfigurationEditorChange:this.handleLinkEditorChange,onArcgisConfigurationEditorSectionAction:this.handleLinkEditorAction,schema:this._sectionSchema,t:this.translationFunc,uiSchema:this._sectionUiSchema,values:i},this._showDeleteWarning&&r("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,slot:"delete-warning"},r("div",{slot:"title"},this.intl.t("deleteNotice.title")),r("div",{slot:"message"},this.intl.t("deleteNotice.message"))))}renderLinkEditor(){let i=this.findLinkByKey(this._editKey);return i&&r("arcgis-configuration-editor",{"data-key":i.key,onArcgisConfigurationEditorChange:this.handleLinkEditorChange,onArcgisConfigurationEditorSectionAction:this.handleLinkEditorAction,schema:this._linkSchema,t:this.translationFunc,uiSchema:this._linkUiSchema,values:i})}renderAddButtons(){var i,e,t,n,o;return this.type==="block"?[r("calcite-button",{disabled:this._editKey,key:"primary",onClick:this.handleAddLink,round:!0},this.intl.t("addLink")),r("calcite-button",{appearance:"outline-fill","data-type":"section",disabled:this._editKey,key:"secondary",onClick:this.handleAddLink,round:!0},this.intl.t("addSection"))]:[r("calcite-button",{appearance:"outline-fill","data-key":(i=this._links[0])===null||i===void 0?void 0:i.key,key:"primary",kind:"neutral",onClick:this._links[0]?this.handleEditLink:this.handleAddLink,round:!0},!((e=this._links[0])===null||e===void 0)&&e.label?this._links[0].label:this.intl.t("addFirstAction")),!!(!((t=this._links[0])===null||t===void 0)&&t.label)&&r("calcite-button",{appearance:"outline-fill","data-key":(n=this._links[1])===null||n===void 0?void 0:n.key,key:"secondary",kind:"neutral",onClick:this._links[1]?this.handleEditLink:this.handleAddLink,round:!0},!((o=this._links[1])===null||o===void 0)&&o.label?this._links[1].label:this.intl.t("addSecondAction"))]}render(){return r(g,{key:"7037003e565236978756d0fd36ff8bd6556cccb7","data-element":"action-links-field"},r("div",{key:"ff276a1236381877b3d61d539885a574585203f8",class:"action-links__add"},this.renderAddButtons()),!!this._links.length&&this.renderLinks(this._links))}static get assetsDirs(){return["locales"]}get element(){return b(this)}};F([m("_links","_editKey")],C.prototype,"_linkUiSchema",null);C.style=w;return C},a)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as b}from"./P7D42LBQ.js";import{d as c}from"./2B6D4MGZ.js";import{a as u}from"./7GTUV67W.js";function l(t,e,r,s,n,a){let i={[n]:{targetEntity:n,filters:r}};return{schemaVersion:1,title:a||`{{${t}catalog.${e}:translate}}`,scopes:i,collections:s}}function m(t){let e=t.trustedOrgs.find(r=>r.from.orgId===t.currentUser.orgId);return t.isCommunityOrg&&e?e.to.orgId:t.communityOrgId}var v=["myContent","favorites","organization","world","partners","community","livingAtlas"],E=["editGroups","viewGroups","allGroups","myGroups","orgGroups","communityGroups","publicGroups"],y=["myEvents","orgEvents","worldEvents"];function f(t){return t&&t.slice(-1)!=="."?`${t}.`:t}function j(t,e,r,s,n){let a={item:[...v],group:[...E],event:[...y]}[e];if(r.some(i=>!a.includes(i)))throw new Error(`Requested catalogs must be of the same targetEntity type: ${e}`);return r.map(i=>w(t,i,e,Object.assign(Object.assign({},n||{}),{user:s.currentUser,context:s})))}function w(t,e,r,s){switch(r){case"item":return O(t,e,s);case"group":return I(t,e,s);case"event":return A(t,e,s);default:throw new Error(`Wellknown catalog not implemented for "${r}"`)}}function d(t,e){if(!e||!e.user)throw new Error(`User needed to get "${t}" catalog`)}function O(t,e,r){t=f(t);let s,n=u(r,"filters")||[],a=u(r,"context"),i=G(t,"item",r?.collectionNames);switch(e){case"myContent":d(e,r),s=l(t,e,[{predicates:[{owner:r.user.username}]},...n],i,"item");break;case"favorites":d(e,r),s=l(t,e,[{predicates:[{group:r.user.favGroupId}]},...n],i,"item");break;case"organization":d(e,r),s=l(t,e,[{predicates:[{orgid:r.user.orgId}]},...n],i,"item");break;case"partners":let o=a.trustedOrgIds.filter(p=>p!==a.currentUser.orgId&&p!==m(a));o.length&&(s=l(t,e,[{predicates:[{orgid:o,searchUserAccess:"includeTrustedOrgs"}]},...n],i,"item"));break;case"community":let g=m(a);g&&(s=l(t,e,[{predicates:[{orgid:g}]},...n],i,"item",a.isCommunityOrg?h(g,a):void 0));break;case"livingAtlas":d(e,r),s=l(t,e,[{predicates:[{owner:"Esri_LivingAtlas"}]}],i,"item");break;case"world":s=l(t,e,[{predicates:[{type:{not:["code attachment"]}}]},...n],i,"item");break}return s}function h(t,e){return e.trustedOrgs.find(s=>s.to.orgId===t).to.name}function I(t,e,r){let s,{context:n,filters:a=[]}=r||{};t=f(t);let i=[{targetEntity:"group",key:e,label:e,scope:{targetEntity:"group",filters:[{predicates:[{q:"*"}]}]}}],o=b(n,"currentUser.groups",[]).reduce((g,p)=>(p.userMembership.memberType==="admin"&&g.push(p.id),g),[]);switch(e){case"editGroups":d(e,r),s=l(t,e,[{predicates:[{capabilities:["updateitemcontrol"]}]},...a],i,"group");break;case"viewGroups":d(e,r),s=l(t,e,[{predicates:[{capabilities:{not:["updateitemcontrol"]}}]},...a],i,"group");break;case"allGroups":d(e,r),s=l(t,e,[{predicates:[{capabilities:[""]}]},...a],i,"group");break;case"myGroups":d(e,r),s=l(t,e,[{predicates:[{owner:u(n,"currentUser.username")}]},...a],i,"group");break;case"orgGroups":d(e,r),s=l(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"currentUser.orgId"),id:o}]},...a],i,"group");break;case"communityGroups":d(e,r),s=l(t,e,[{predicates:[{orgid:u(n,"communityOrgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"communityOrgId"),id:o}]},...a],i,"group");break;case"publicGroups":s=l(t,e,[{predicates:[{orgid:{not:[u(n,"currentUser.orgId")]}}]},...a],i,"group");break}return s}function A(t,e,r){let s,{context:n,filters:a=[]}=r||{};t=f(t);let i=[{key:e,label:e,targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}];switch(e){case"myEvents":d(e,r),s=l(t,e,[{predicates:[{owner:u(n,"currentUser.id")}]},...a],i,"event");break;case"orgEvents":d(e,r),s=l(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId")}]},...a],i,"event");break;case"worldEvents":s=l(t,e,[{predicates:[{access:["public","private","org"]}]},...a],i,"event");break}return s}function k(t,e){return{appAndMap:{key:"appAndMap",label:`{{${t}collection.appsAndMaps:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:[...c("app"),...c("map")]}]}]}},dataset:{key:"dataset",label:`{{${t}collection.dataset:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("dataset")}]}]}},document:{key:"document",label:`{{${t}collection.documents:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("document")}]}]}},feedback:{key:"feedback",label:`{{${t}collection.feedback:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("feedback")}]}]}},site:{key:"site",label:`{{${t}collection.sites:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("site")}]}]}},template:{key:"template",label:`{{${t}collection.templates:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("template")}]}]}},project:{key:"project",label:`{{${t}collection.projects:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("project")}]}]}},initiative:{key:"initiative",label:`{{${t}collection.initiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}},projectAndInitiative:{key:"projectAndInitiative",label:`{{${t}collection.projectsAndInitiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{operation:"OR",predicates:[{type:c("project")},{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}}}}function C(){return["appAndMap","dataset","document","feedback","site","project"]}function G(t,e,r){t=f(t);let s=k(t,e),n=C();return(r?.length?r:n).reduce((i,o)=>(s[o]&&i.push(s[o]),i),[])}function _(t,e,r){return t=f(t),k(t,e)[r]}export{l as a,m as b,v as c,E as d,y as e,f,j as g,w as h,G as i,_ as j};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as c}from"./FDDXGLRF.js";import{b as u}from"./RGKBSVQD.js";import{e as r,h}from"./FZ7ZK37I.js";var a=class e{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let s=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(r(`${s} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(r("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(r('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(r('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new e(this.q+"")}addModifier(t){return this.currentModifer?(r(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(r(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(r(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&r("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function m(e,t){let s;typeof e=="string"||e instanceof a?s={httpMethod:"GET",params:{q:e}}:s=c(e,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let i;switch(t){case"item":i="/search";break;case"group":i="/community/groups";break;case"groupContent":if(typeof e!="string"&&!(e instanceof a)&&e.groupId)i=`/content/groups/${e.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":i="/community/users";break;default:i="/portals/self/users/search";break}let p=u(s)+i;return h(p,s).then(o=>(o.nextStart&&o.nextStart!==-1&&(o.nextPage=function(){let n;return typeof e=="string"||e instanceof a?n={q:e,start:o.nextStart}:(n=e,n.start=o.nextStart),m(n,t)}),o))}function g(e){return m(e,"item")}export{a,m as b,g as c};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as u,b as i}from"./GJRBKC6D.js";import{a as n,b as p}from"./QK2OPJGK.js";import{a as o}from"./ZM3EAORZ.js";async function w(s,a,e){let t=o(s),r;switch(t){case"event":r=await u(a,s,e);break;default:r=s,await p(s.id,a,e.requestOptions,s.owner);break}return r}async function f(s,a,e){let t=o(s),r;switch(t){case"event":r=await i(a,s,e);break;default:r=s,await n(s.id,a,e.requestOptions,s.owner);break}return r}export{w as a,f as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{n as r}from"./K4VVZ2OR.js";import"./THLIDOGM.js";import"./FZNKGW4A.js";import"./LK454DSU.js";import"./AYFB34A7.js";import"./53V23CCM.js";import"./SNSHV52T.js";import"./HITR5JF7.js";import"./E2RL5I2B.js";import"./4ZRQCNU2.js";import"./YLRR2XFD.js";import"./LEVMADAS.js";import"./U7SPPU37.js";import"./JSOZV4HA.js";import"./VXJI546E.js";import"./ZQPTNYU6.js";import"./UCUSWPVC.js";import"./HTYDCXX6.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import"./ZUFDLSS7.js";import"./2NJPYBHN.js";import"./635V3Q2N.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import"./XP6ZXTST.js";import"./LVCMKKG7.js";import"./UTQMJRMF.js";import"./AEPE3IDB.js";import"./UR5INQGU.js";import"./HV466M4A.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import"./HSFPILSC.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import"./RL2IUUBA.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as t,c as e,e as o,h as p,i as m}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:n}])=>{var s=".sc-arcgis-hub-entity-view-wrapper-h{display:block}",a=s,h=class{constructor(i){m(this,i),this.arcgisHubEntityViewWrapperViewChanged=o(this,"arcgisHubEntityViewWrapperViewChanged",7),this.entity=void 0,this.identifier="",this.type=void 0,this.view="view",this.mode="default",this.breadcrumbs=[],this.path="",this.loading=!0}get _context(){return n()}async onIdentifierChange(){await this.loadEntity()}async loadEntity(){this.loading=!0,this.type&&this.identifier&&this._context&&(this.entity=await r(this.type,this.identifier,this._context),this.loading=!1)}componentWillLoad(){this.entity?this.loading=!1:!this.entity&&this._context&&this.identifier&&this.type&&this.loadEntity()}renderLoading(){return t("div",null,"Loading...")}onEditClick(){this.view="workspace",this.arcgisHubEntityViewWrapperViewChanged.emit("workspace")}onViewClick(){this.view="view",this.arcgisHubEntityViewWrapperViewChanged.emit("view")}renderContent(){return t(p,null,this.view==="workspace"?this.renderWorkspace():this.renderView())}renderWorkspace(){return t("arcgis-hub-workspace",{entity:this.entity,layout:this.mode})}renderView(){let i="arcgis-hub-entity-view";return this.entity.type==="Group"&&(i="arcgis-hub-entity-view"),t("div",{class:"container"},t("arcgis-hub-entity-breadcrumbs",{breadcrumbs:this.breadcrumbs}),t(i,{entity:this.entity,mode:this.mode,path:this.path},t("slot",{name:"header"})))}render(){return t(e,{key:"c2e90c8b3a79cb768c8c0a1b59d8baa58aeb68fa","data-element":"entity-view-wrapper"},this.loading?this.renderLoading():this.renderContent())}static get watchers(){return{type:["onIdentifierChange"],identifier:["onIdentifierChange"]}}};h.style=a;return h},a)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as y,b as S,c as _,d as F}from"./XZDHV5BV.js";import{d as E}from"./L6IQ6LTS.js";import{a as b}from"./PM6CSPJD.js";import"./K4VVZ2OR.js";import"./THLIDOGM.js";import"./FZNKGW4A.js";import"./LK454DSU.js";import"./AYFB34A7.js";import"./53V23CCM.js";import"./SNSHV52T.js";import"./HITR5JF7.js";import"./E2RL5I2B.js";import"./4ZRQCNU2.js";import"./YLRR2XFD.js";import"./LEVMADAS.js";import"./U7SPPU37.js";import"./JSOZV4HA.js";import"./VXJI546E.js";import"./ZQPTNYU6.js";import"./UCUSWPVC.js";import"./HTYDCXX6.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import"./ZUFDLSS7.js";import"./2NJPYBHN.js";import"./635V3Q2N.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import"./XP6ZXTST.js";import"./LVCMKKG7.js";import"./UTQMJRMF.js";import"./AEPE3IDB.js";import"./UR5INQGU.js";import"./HV466M4A.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import"./HSFPILSC.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import{a as k}from"./37IO4VH2.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import"./RL2IUUBA.js";import{a as C}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import{g}from"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as c,c as T,d as V,e as O,h as $,i as D}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:I,j:U}])=>{var M="arcgis-configuration-editor{margin-top:0.5rem;margin-bottom:0.5rem}",H=M,R=class{connectedCallback(){U(this)}disconnectedCallback(){this.disconnectContext()}constructor(i){D(this,i),this.arcgisCompositeExpressionSetFieldChange=O(this,"arcgisCompositeExpressionSetFieldChange",7),this.values={},this.fields=[],this.expressions=[],this._context=I(),k(this,"translationFunc","handleEditorChangeEvent","handleAddExpression","handleDeleteExpression")}async componentWillLoad(){this.intl=await C.loadIntlForComponent(this.element),this.values&&(this.expressions=this.repairExpressionsFromMigration(this.values),this.internalValues=this.transformExpressionsToSchemaValues(this.expressions)),this._uiSchema=S(this.getUiSchemaElements(this.expressions)),this._schema=y(this.getSchemaProperties(this.expressions))}getSchemaProperties(i){return i?.reduce((t,e)=>{var o,s;if(e){let l=(o=e?.field)===null||o===void 0?void 0:o.type,r={type:"string",enum:[...(s=this.fields)===null||s===void 0?void 0:s.map(d=>d.name),""]};if(t=Object.assign(Object.assign({},t),{[`combobox-${e.key}`]:r}),l){let d=this.intl.t(e?.relationship||F[l]),m={type:"string",default:d,enum:[d]};t=Object.assign(Object.assign({},t),{[`select-${e.key}`]:m});let a=l==="esriFieldTypeString"||l==="esriFieldTypeDate"?{type:"string"}:{type:"number"};if(t=Object.assign(Object.assign({},t),{[`value-1-${e.key}`]:a}),l!=="esriFieldTypeString"){let p={type:l==="esriFieldTypeDate"?"string":"number"};t=Object.assign(Object.assign({},t),{[`value-2-${e.key}`]:p})}}}return t},{})}getUiSchemaElements(i){return i?.reduce((t,e)=>{var o,s,l,n,r,d,m;if(e){let a=[],p=(o=e?.field)===null||o===void 0?void 0:o.type,A={scope:`/properties/combobox-${e.key}`,type:"Control",label:this.intl.t("selectAttribute"),options:{control:"hub-field-input-combobox",items:(s=this.fields)===null||s===void 0?void 0:s.map(u=>({value:u.name,label:u.name,icon:E(u.type)})),allowCustomValues:!1,selectionMode:"single",overlayPositioning:"fixed"}};if(a.push(A),p){let u={scope:`/properties/select-${e.key}`,type:"Control",label:this.intl.t("filterType"),options:{control:"hub-field-input-select",disabled:!0}};a.push(u);let v={},f;p==="esriFieldTypeString"?(f=this.intl.t("filterValue"),v=!((r=(n=(l=e?.field)===null||l===void 0?void 0:l.domain)===null||n===void 0?void 0:n.codedValues)===null||r===void 0)&&r.length?{control:"hub-field-input-combobox",allowCustomValues:!1,selectionMode:"single",overlayPositioning:"fixed",items:(m=(d=e?.field)===null||d===void 0?void 0:d.domain)===null||m===void 0?void 0:m.codedValues.map(h=>({value:h.name,label:h.name}))}:{control:"hub-field-input-input"}):p==="esriFieldTypeDate"?(f=this.intl.t("startingDate"),v={control:"hub-field-input-date",overlayPositioning:"fixed"}):(f=this.intl.t("startingValue"),v={control:"hub-field-input-input",type:"number"});let P={scope:`/properties/value-1-${e.key}`,type:"Control",label:f,options:v};if(a.push(P),p!=="esriFieldTypeString"){let h={};h=p==="esriFieldTypeDate"?{control:"hub-field-input-date",overlayPositioning:"fixed"}:{control:"hub-field-input-input",type:"number"};let L=p==="esriFieldTypeDate"?this.intl.t("endingDate"):this.intl.t("endingValue"),N={scope:`/properties/value-2-${e.key}`,type:"Control",label:L,options:h};a.push(N)}}let j={type:"Section",label:this.intl.t("attributeFilter"),options:{section:"block",scale:"s",collapsible:!1,open:!0,actions:[{alignment:"end",icon:"trash",key:e.key,label:this.intl.t("deleteFilter"),onClick:this.handleDeleteExpression,scale:"s",textEnabled:!0}]},elements:a};t=[...t,j]}return t},[])}repairExpressionsFromMigration(i){return i.map(t=>{var e,o;if(t.key||(t.key=g("expression-")),!(!((e=t.field)===null||e===void 0)&&e.type)&&(!((o=t.field)===null||o===void 0)&&o.name)){let s=t.field.name,l=this.fields.find(n=>n.name===s);t.field=l}return t})}transformExpressionsToSchemaValues(i){return i.reduce((t,e)=>{let{key:o,values:s=[],field:l}=e;return t=Object.assign(Object.assign({},t),{[`combobox-${o}`]:l?.name,[`value-1-${o}`]:s[0],[`value-2-${o}`]:s[1]}),t},{})}handleEditorChangeEvent(i){i.stopImmediatePropagation(),i.stopPropagation();let{valid:t,values:e}=i.detail;this.updateExpressionsAndValuesOnChange(this.expressions,e,this.fields),this.isValid=t,t&&this.arcgisCompositeExpressionSetFieldChange.emit(this.expressions)}updateExpressionsAndValuesOnChange(i,t,e){let o=!1,s=i.reduce((l,n)=>{var r,d,m;let a={key:n.key,values:[]},p=t[`combobox-${n?.key}`];return p&&(a=this.updateExpressionField(a,p,e),a=this.updateExpressionRelationship(a),a=this.updateExpressionValues(a,n,t),t=this.updateInternalValues(a,t)),(((r=a?.field)===null||r===void 0?void 0:r.name)!==((d=n?.field)===null||d===void 0?void 0:d.name)||p==""&&((m=n.field)===null||m===void 0?void 0:m.name)!==void 0)&&(o=!0),l=[...l,a],l},[]);o&&(this.updateSchema(s),this.updateUiSchema(s)),this.expressions=s,this.internalValues=t}updateExpressionField(i,t,e){let o=e.find(s=>s.name===t);return o&&(i.field=o),i}updateExpressionRelationship(i){var t;return i.relationship=((t=i?.field)===null||t===void 0?void 0:t.type)==="esriFieldTypeString"?i.relationship=_.IS_EXACTLY:i.relationship=_.BETWEEN,i}updateExpressionValues(i,t,e){var o,s;((o=i?.field)===null||o===void 0?void 0:o.name)!==((s=t?.field)===null||s===void 0?void 0:s.name)&&(e[`value-1-${i?.key}`]=void 0,e[`value-2-${i?.key}`]=void 0);let l=e[`value-1-${i?.key}`],n=e[`value-2-${i?.key}`],r=[];return b(l)||(r[0]=l),b(n)||(r[1]=n),i.values=r,i}updateInternalValues(i,t){return i.key&&i.relationship&&(t[`select-${i.key}`]=this.intl.t(i.relationship)),t}translationFunc(i,t,e){return this.intl.t(i,t,e)}updateSchema(i){this._schema=y(this.getSchemaProperties(i))}updateUiSchema(i){this._uiSchema=S(this.getUiSchemaElements(i))}handleAddExpression(){let i=[...this.expressions],t={values:[],key:g("expression-")};i.push(t),this.updateSchema(i),this.updateUiSchema(i),this.expressions=i}handleDeleteExpression(i){let t=i.target,e=t?.getAttribute("data-key"),o=[...this.expressions];o=o.reduce((s,l)=>(l.key!==e&&(s=[...s,l]),s),[]),this.updateSchema(o),this.updateUiSchema(o),this.arcgisCompositeExpressionSetFieldChange.emit(o),this.expressions=o}resetExpressions(i){let t=[...this.expressions],e=t.length;t=t.filter(o=>i.find(s=>{var l,n;return s.name===((l=o?.field)===null||l===void 0?void 0:l.name)&&s.type===((n=o?.field)===null||n===void 0?void 0:n.type)})),this.updateSchema(t),this.updateUiSchema(t),this.expressions.length!==e&&this.arcgisCompositeExpressionSetFieldChange.emit(t),this.expressions=t}renderExpressionSet(){if(this.fields.length)return c($,null,c("arcgis-configuration-editor",{onArcgisConfigurationEditorChange:this.handleEditorChangeEvent,schema:this._schema,t:this.translationFunc,uiSchema:this._uiSchema,values:this.internalValues||this.values}),c("calcite-button",{appearance:"outline-fill",color:"blue",iconStart:"filter",onClick:this.handleAddExpression,round:!0},this.intl.t("addFilter")))}render(){return c(T,{key:"c1439331b191cf9398fe15f835b5daa2dea11a8c"},this.renderExpressionSet())}static get assetsDirs(){return["locales"]}get element(){return V(this)}static get watchers(){return{_context:["updateUiSchema"],fields:["resetExpressions"]}}};R.style=H;return R},a)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{a as c}from"./K2DF2MZK.js";import{a as t}from"./RL2IUUBA.js";import{a as e}from"./7GTUV67W.js";function G(o){let{privileges:r=[]}=o;return t(r,"portal:user:createItem")}function B(o,r){let s=!1,d=["admin","update"],{itemControl:l,owner:n,orgId:i}=o,{roleId:p,role:u,username:I,groups:g,orgId:f}=r,O=t(d,l)||!!n&&n===I||!!(!!i&&i===f)&&!p&&u==="org_admin",a=G(r);if(a&&O)s=!0;else if(a){let h=[...e(o,"groupIds")||[],e(o,"properties.collaborationGroupId")],C=m=>c(m)&&t(h,m.id);s=g.some(C)}return s}export{G as a,B as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{d as _}from"./MGC3EC3F.js";import"./HINK5GJN.js";import{a as y}from"./WJFIZ6DL.js";import{a as p}from"./ZVGAVULD.js";import"./V3U3RRL7.js";import"./MS3RNOP5.js";import"./LVCMKKG7.js";import{a as m}from"./UCNRE4DW.js";import{a as g}from"./4QEFMWHF.js";import"./J2P53GWU.js";import{a as u}from"./YCEXTCZD.js";import"./5V53QYYF.js";import{a as o,d as f,g as h}from"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as a,c as F,d as b,e as c,i as k}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var B=t=>{var e;return{type:"Layout",elements:[{scope:"/properties/predicates",type:"Control",options:{control:"arcgis-hub-predicates-builder",availablePredicateProperties:t.availablePredicateProperties,targetEntity:t.targetEntity,uiOptions:(e=t.uiOptions)===null||e===void 0?void 0:e.predicates,messages:[{type:"ERROR",keyword:"minItems",hidden:!0}]}}]}},E=".filters__add.sc-arcgis-hub-filters-builder:not(:first-child){margin-top:1rem}.filters__block.sc-arcgis-hub-filters-builder{border-top:1px solid var(--calcite-color-border-3);border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.filters__block.sc-arcgis-hub-filters-builder:not(:first-child){margin-top:0.5rem}",C=E,R=function(t,e,i,r){var l=arguments.length,s=l<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,i,r);else for(var d=t.length-1;d>=0;d--)(n=t[d])&&(s=(l<3?n(s):l>3?n(e,i,s):n(e,i))||s);return l>3&&s&&Object.defineProperty(e,i,s),s},v=class{constructor(t){k(this,t),this.arcgisHubFiltersBuilderChange=c(this,"arcgisHubFiltersBuilderChange",7),this.hubTelemetry=c(this,"hubTelemetry",7),this._filterSchema=o(_),this._lastRenderFiltersCount=0,this.translationFunc=(e,i,r)=>this._intl.t(e,i,r),this.findFilterByKey=(e,i=this._filters)=>f(i,"key",e),this.handleFilterEditorChange=e=>{let{values:i,valid:r}=e.detail;e.stopPropagation();let l=e.currentTarget.getAttribute("data-key"),s=this.findFilterByKey(l);g(s,o(i)),s.isValid=r,this.arcgisHubFiltersBuilderChange.emit(this.transformFiltersToEmit(this._filters))},this.handleAddFilterClicked=()=>{this.addFilter(),this.hubTelemetry.emit(Object.assign(Object.assign({},u.dictionary.category.interaction.action.select.label.newFilter),{details:this.targetEntity,count:this._filters.length}))},this.addFilter=e=>{let i=h("filter"),r={key:i,isValid:!1,predicates:[]};this._filters=[...this._filters,r],this._editKey=i,e||this.arcgisHubFiltersBuilderChange.emit(this.transformFiltersToEmit(this._filters))},this.setAddFilterButtonRef=e=>{e&&(this._createFilterButtonRef=e)},this.setFilterBlockRef=e=>{e&&(this._filterBlockRef=e)},this.handleEditFilter=e=>{this._editKey=e.currentTarget.getAttribute("data-key")},this.handleDeleteFilter=e=>{let i=e.currentTarget.getAttribute("data-key");this._filters=this._filters.filter(r=>r?.key!==i),this._editKey=null,this.arcgisHubFiltersBuilderChange.emit(this.transformFiltersToEmit(this._filters)),this._createFilterButtonRef&&this._createFilterButtonRef.setFocus()},this.filters=[],this.targetEntity=void 0,this.availablePredicateProperties=void 0,this.uiOptions=void 0,this.isMobile=!1,this._filters=[],this._editKey=void 0}async handleTargetEntityChange(){this._filters=[],this.addFilter(!0)}async handleFiltersChange(t){(!t||!t.length)&&(this._filters=[],this.addFilter(!0))}async componentWillLoad(){this._intl=await m.loadIntlForComponent(this.element),this._filters=this.transformFiltersForEditor(this.filters),this._lastRenderFiltersCount=this._filters.length,this._filters.length||this.addFilter()}componentDidRender(){this._lastRenderFiltersCount!==this._filters.length&&(this._lastRenderFiltersCount=this._filters.length,this._filterBlockRef&&this._filterBlockRef.setFocus&&this._filterBlockRef.setFocus())}get _filterUiSchema(){return p(this._intl,B({targetEntity:this.targetEntity,availablePredicateProperties:this.availablePredicateProperties,uiOptions:this.uiOptions}))}get _isValid(){let t=this.findFilterByKey(this._editKey);return t?t?.isValid:!0}transformFiltersForEditor(t=[]){return t.map(e=>{let i=o(e);return i.key=h("filter"),i.isValid=!0,i})}transformFiltersToEmit(t){return t.map(i=>{let r=o(i);return delete r.key,delete r.isValid,r})}renderAddButton(){var t,e;return(!(!((t=this.uiOptions)===null||t===void 0)&&t.max)||this._filters.length<((e=this.uiOptions)===null||e===void 0?void 0:e.max))&&a("calcite-button",{appearance:"outline-fill",class:"filters__add",disabled:!this._isValid,onClick:this.handleAddFilterClicked,ref:this.setAddFilterButtonRef,round:!0,width:"full"},this._intl.t("newFilter"))}renderFilters(t=[]){return t.map((e,i)=>this.renderFilter(e,i))}renderFilter(t,e){var i;let r=!((i=t.predicates)===null||i===void 0)&&i.length?Object.keys(t.predicates[0])[0]:void 0,l=e+1,s=this._intl.t("block.heading.default",{filterNum:l,parameter:r}),n=r?this._intl.t(`block.heading.${r.toLowerCase()==="orgid"?"organizations":r}`,{filterNum:l,targetEntity:this.targetEntity},{fallback:s}):this._intl.t("block.heading.untitled");return a("calcite-block",{class:"filters__block",collapsible:!0,"data-key":t.key,disabled:this._editKey!==t.key&&!this._isValid,expanded:this._editKey===t.key,heading:n,key:t.key,onCalciteBlockOpen:this.handleEditFilter,overlayPositioning:"fixed",ref:this.setFilterBlockRef},a("div",{slot:"actions-end"},this.renderBlockActions(t.key,n)),this._editKey===t.key&&this.renderFilterEditor())}renderBlockActions(t,e){let i=this.findFilterByKey(t);return a("calcite-action",{"data-key":i.key,icon:"trash",onClick:this.handleDeleteFilter,text:this._intl.t("block.actions.delete",{label:e})})}renderFilterEditor(){let t=this.findFilterByKey(this._editKey);return t&&a("arcgis-configuration-editor",{"data-key":t.key,isMobile:this.isMobile,onArcgisConfigurationEditorChange:this.handleFilterEditorChange,schema:this._filterSchema,t:this.translationFunc,uiSchema:this._filterUiSchema,values:t})}render(){var t;return a(F,{key:"7dca334cb5027385c726769044d6f6c8839210cd","data-element":"filters-builder"},!!(!((t=this._filters)===null||t===void 0)&&t.length)&&this.renderFilters(this._filters),this.renderAddButton())}static get assetsDirs(){return["locales"]}get element(){return b(this)}static get watchers(){return{targetEntity:["handleTargetEntityChange"],filters:["handleFiltersChange"]}}};R([y("targetEntity","availablePredicateProperties","uiOptions")],v.prototype,"_filterUiSchema",null);v.style=C;export{v as arcgis_hub_filters_builder};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import{b as e,c as r}from"./HUVYHMSC.js";import{a as n}from"./7GTUV67W.js";async function g(a,s,i,p,o){let t=[];try{t=e(i)}catch(c){return{identifier:a,isContained:!1,catalogInfo:{},duration:0,reason:n(c,"message")||"An error occurred while parsing path."}}return o&&(t=[...t,{id:"root",hubEntityType:"site",catalog:o}]),r(a,s,t,p)}var u=a=>!!a.isOpenData;export{g as a,u as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import m from"./3C4D6M7U.js";import l from"./ERN7BZFG.js";import k from"./72R6GI5S.js";import j from"./HETF33XY.js";import i from"./2YBIU2GX.js";import h from"./IDHZRKXF.js";import g from"./HIJBZFJC.js";import f from"./B5FN4TVW.js";import e from"./VCGND4NR.js";import d from"./YDWT2GP5.js";import c from"./DZCEYSVA.js";import b from"./733IZVMO.js";import a from"./C27C7ZCS.js";import"./AJOXWMDO.js";import"./2PUMWMNI.js";import"./L3H4QXUA.js";import"./BMRPHSYL.js";import"./5V53QYYF.js";import"./7GTUV67W.js";import"./USNX342T.js";import"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([,,,,,,,,,,,,,,,,,,,,,{$:g,Ja:c,Y:d,a:m,fa:K},{O:b,R:n,r:a,t:p,v:y},,,,,,,,,{T:H,U:$},{a:_,b:u,c:L,d:k,e:v,f:C,g:I,h:M,i:B,j:F,k:z,l:O,m:j,n:f,o:D,p:V,q:x,t:A},{a:T,b:w,c:G,d:J}])=>{var P=Object.defineProperty,W=Object.getOwnPropertyDescriptor,l=(S,e,i,s)=>{for(var t=W(e,i),r=S.length-1,h;r>=0;r--)(h=S[r])&&(t=h(e,i,t)||t);return t&&P(e,i,t),t},o=class extends ${constructor(){super(...arguments),this._chartType=m.ComboLineAndBarSeries}async setup(e){await this.loadConfigFromLayer(e),this.setupLocalProps(),e.config!==void 0&&(y(e.config?.series)&&this.initDefaultSeries(),await this.updateSeriesFromLayerFilter()),typeof this.resolveSetup=="function"&&this.resolveSetup()}generateDefaultConfig(){let e=K(this.commonStrings);return e.series=[g({commonStrings:this.commonStrings,objectIDField:c(this.layerInfo.layer).idField})],e}initDefaultSeries(){this.defaultSeries=d({commonStrings:this.commonStrings,objectIDField:c(this.layerInfo.layer).idField})}setSeriesType(e,i){if(e<this._config.series.length&&e>=0){let s=this._config.series[e],t;if(i===m.BarSeries&&a(s)){let r={...s};delete r.lineSymbol,delete r.markerSymbol,delete r.lineSmoothed,delete r.markerVisible,delete r.areaColor,delete r.stackNegativeValuesToBaseline,t={...g({commonStrings:this.commonStrings,objectIDField:c(this.layerInfo.layer).idField}),...r,type:m.BarSeries,y:[s.y].flat()[0]},t.fillSymbol&&(t.fillSymbol={...t.fillSymbol,color:s.lineSymbol?.color})}else if(i===m.LineSeries&&p(s)){let r={...s};delete r.fillSymbol,delete r.hideOversizedStackedLabels,delete r.hideOversizedSideBySideLabels,t={...d({commonStrings:this.commonStrings,objectIDField:c(this.layerInfo.layer).idField}),...r,type:m.LineSeries},t.lineSymbol&&(t.lineSymbol={...t.lineSymbol,color:s.fillSymbol?.color})}t!==void 0&&(this._config.series[e]=t)}}getSeriesLineStyle(e){return _(e,this._config)}setSeriesLineStyle(e,i){let s=this._config.series?.[i];a(s)&&u(e,i,this._config)}getSeriesLineWidth(e){return L(e,this._config)}setSeriesLineWidth(e,i){let s=this._config.series?.[i];a(s)&&k(e,i,this._config)}getSeriesMarkerColor(e){return v(e,this._config)}setSeriesMarkerColor(e,i){let s=this._config.series?.[i];a(s)&&C(e,i,this._config)}getSeriesMarkerStyle(e){return I(e,this._config)}setSeriesMarkerStyle(e,i){let s=this._config.series?.[i];a(s)&&M(e,i,this._config)}getSeriesMarkerSize(e){return B(e,this._config)}setSeriesMarkerSize(e,i){let s=this._config.series?.[i];a(s)&&F(e,i,this._config)}isLineSmoothed(e){return z(e,this._config)}setLineSmoothed(e,i){let s=this._config.series?.[i];a(s)&&O({smoothed:e,seriesIndex:i,config:this._config})}isAreaVisible(e){return j(e,this._config)}setAreaVisible(e,i){let s=this._config.series?.[i];a(s)&&f({visible:e,seriesIndex:i,config:this._config})}isMarkerVisible(e){return D(e,this._config)}setMarkerVisible(e,i){let s=this._config.series?.[i];a(s)&&V({visible:e,seriesIndex:i,config:this._config})}getAreaColor(e){return x(e,this._config)}setAreaColor(e,i){let s=this._config.series?.[i];a(s)&&(f({visible:!0,seriesIndex:i,config:this._config}),H(e,i,this._config))}getSeriesHideOversizedSideBySideLabels(e){return T(e,this._config)}setSeriesHideOversizedSideBySideLabels(e,i){let s=this._config.series?.[i];p(s)&&w(e,i,this._config)}getSeriesHideOversizedStackedLabels(e){return G(e,this._config)}setSeriesHideOversizedStackedLabels(e,i){let s=this._config.series?.[i];p(s)&&J(e,i,this._config)}};l([n],o.prototype,"setSeriesType");l([n],o.prototype,"setSeriesLineStyle");l([n],o.prototype,"setSeriesLineWidth");l([n],o.prototype,"setSeriesMarkerColor");l([n],o.prototype,"setSeriesMarkerStyle");l([n],o.prototype,"setSeriesMarkerSize");l([n],o.prototype,"setLineSmoothed");l([n],o.prototype,"setAreaVisible");l([n],o.prototype,"setMarkerVisible");l([n],o.prototype,"setAreaColor");l([n],o.prototype,"setSeriesHideOversizedSideBySideLabels");l([n],o.prototype,"setSeriesHideOversizedStackedLabels");var q=[A];b(o,q);return o},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","core/sql","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","layers/FeatureLayer","layers/support/Field","layers/support/fieldUtils","portal/Portal","rest/support/FeatureSet","applications/Components/reactiveUtils",a,b,c,d,e,f,g,h,i,j,k,l,m)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
+
import"./IONZ3SDQ.js";export default $arcgis.t(([{default:r},{default:a},{default:x},{default:s},{default:u},{default:c},{default:d},{default:y},{default:G},{project:S},{watch:C},{execute:g},{execute:k},{execute:E},{execute:M},{isSimple:V}])=>{return{Extent:c,Geometry:u,Graphic:x,GraphicsLayer:a,GroupLayer:r,Point:d,Polygon:G,Polyline:y,SketchViewModel:s,executeBuffer:g,executeContains:k,executeCrosses:M,executeWithin:E,project:S,simplifyOperatorIsSimple:V,watch:C}},"layers/GroupLayer","layers/GraphicsLayer","Graphic","widgets/Sketch/SketchViewModel","geometry/Geometry","geometry/Extent","geometry/Point","geometry/Polyline","geometry/Polygon","geometry/support/webMercatorUtils","core/reactiveUtils","geometry/operators/bufferOperator","geometry/operators/containsOperator","geometry/operators/withinOperator","geometry/operators/crossesOperator","geometry/operators/simplifyOperator")
|