@esri/solutions-components 1.0.0-next.20250521.1 → 1.0.0-next.20250527.1
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/{components/solutions-all-shell/assets → assets/config}/appConfig.json.d.ts +2 -2
- package/dist/cdn/{GJSNSMV5.js → 235HMCGP.js} +2 -2
- package/dist/cdn/{PZXLUUWJ.js → 27MRQWJF.js} +2 -2
- package/dist/cdn/{BZPPRNYK.js → 2B3Q4HD7.js} +2 -2
- package/dist/cdn/{DEXEV3CF.js → 2CBB2HLP.js} +2 -2
- package/dist/cdn/{7SPIT3JA.js → 2G5DQFP5.js} +2 -2
- package/dist/cdn/{MHYB5WW2.js → 2I7ZIAPF.js} +2 -2
- package/dist/cdn/{5D4SFQMX.js → 2JENJJ5Q.js} +2 -2
- package/dist/cdn/{DRFVJJFB.js → 2SCRBCST.js} +2 -2
- package/dist/cdn/{5SI2WE3S.js → 2SPBK2JC.js} +2 -2
- package/dist/cdn/2UBHX74M.js +18 -0
- package/dist/cdn/{OUGZWNO6.js → 2W7UVH23.js} +1 -1
- package/dist/cdn/{F3UYT636.js → 2WWZLR6Z.js} +2 -2
- package/dist/cdn/{VOD7YR56.js → 34ECDRMG.js} +2 -2
- package/dist/cdn/{NMDVSB55.js → 3BGUPUE3.js} +1 -1
- package/dist/cdn/{SZ6XDDRS.js → 3GWL7ZZR.js} +2 -2
- package/dist/cdn/{LAKS4FFK.js → 3KJASSVN.js} +2 -2
- package/dist/cdn/{VOJ7ETXL.js → 3Y2Q5QFM.js} +2 -2
- package/dist/cdn/44KWOYXI.js +4 -0
- package/dist/cdn/{HGEH7RJP.js → 462NEOXQ.js} +2 -2
- package/dist/cdn/{TMKXDITO.js → 47E56IWZ.js} +2 -2
- package/dist/cdn/{Y7AFN6OI.js → 4C3SN7HO.js} +2 -2
- package/dist/cdn/{XI2LPQ33.js → 4CXASUGF.js} +2 -2
- package/dist/cdn/4RKFDO7V.js +4 -0
- package/dist/cdn/{2PCAQBP3.js → 563I6KBO.js} +2 -2
- package/dist/cdn/{OT7ZKWCQ.js → 5646UVWD.js} +2 -2
- package/dist/cdn/{AAX2HQKV.js → 5ELHQQNT.js} +1 -1
- package/dist/cdn/{BXNKGYEI.js → 5M5CVIKP.js} +2 -2
- package/dist/cdn/{6Z2DWNPT.js → 5MIMVQY5.js} +1 -1
- package/dist/cdn/{CZDA3M6G.js → 5TBGB7YZ.js} +2 -2
- package/dist/cdn/{SYQ76GDV.js → 5TVQZ22P.js} +2 -2
- package/dist/cdn/{5VKMQKEK.js → 5YQ6I5EF.js} +1 -1
- package/dist/cdn/{ILY2OKMX.js → 65YPUCQG.js} +2 -2
- package/dist/cdn/{MUWBCKCV.js → 6F7EVZA2.js} +2 -2
- package/dist/cdn/{VSAXW4LJ.js → 6LY4PJLC.js} +2 -2
- package/dist/cdn/{TJDY5JFR.js → 6NFR7DWF.js} +2 -2
- package/dist/cdn/{KMDWJ4IU.js → 6Q6EWBBX.js} +2 -2
- package/dist/cdn/{LYRXJGDC.js → 6XL744QT.js} +2 -2
- package/dist/cdn/{ND6EAOAK.js → 72MDJVHR.js} +1 -1
- package/dist/cdn/{EF5JUDMP.js → 7APZ4O46.js} +2 -2
- package/dist/cdn/{XLIFIZT4.js → 7L34ACJ2.js} +1 -1
- package/dist/cdn/{VUZSRYII.js → 7T46C2WO.js} +2 -2
- package/dist/cdn/{7XECJH7Y.js → A42EXUKX.js} +1 -1
- package/dist/cdn/{NFAFQG7O.js → AAG5K33X.js} +2 -2
- package/dist/cdn/{A62HEPRS.js → ABK3KAVX.js} +2 -2
- package/dist/cdn/{B73J3DHK.js → AFMCTYMF.js} +2 -2
- package/dist/cdn/{TETTY42T.js → AIWKSKOS.js} +2 -2
- package/dist/cdn/{FDHX3KKE.js → AKIVXNOI.js} +2 -2
- package/dist/cdn/{2WHMOJKI.js → ASS7W7EF.js} +2 -2
- package/dist/cdn/{SWLJRRGU.js → AUJ4ZHP4.js} +2 -2
- package/dist/cdn/{ZMAGZDYI.js → AW2RDITX.js} +2 -2
- package/dist/cdn/{57TFREKC.js → AZ3OMUAO.js} +1 -1
- package/dist/cdn/{MBYLGI4U.js → BFX54VT3.js} +1 -1
- package/dist/cdn/{YLZ235UH.js → BGTACCYE.js} +2 -2
- package/dist/cdn/{B42KRM6Z.js → BKXP4PYE.js} +2 -2
- package/dist/cdn/{DNJH5UNS.js → BNMMRZMR.js} +1 -1
- package/dist/cdn/{3ZWTRRJN.js → BRGMMR6T.js} +1 -1
- package/dist/cdn/{ANGBSTZ3.js → BRZEMXNZ.js} +2 -2
- package/dist/cdn/BTH73JNS.js +4 -0
- package/dist/cdn/{TQT42IK7.js → BYBUA3SD.js} +1 -1
- package/dist/cdn/{BPTAOEJG.js → C2E5NBKB.js} +2 -2
- package/dist/cdn/{ELCX7XI2.js → CBUD7IB5.js} +2 -2
- package/dist/cdn/{57KCCA45.js → CCZ4QXEQ.js} +2 -2
- package/dist/cdn/{SB2ETAD7.js → CFSLUNQ7.js} +2 -2
- package/dist/cdn/{QCNZF3NJ.js → CNIE4S7A.js} +2 -2
- package/dist/cdn/{GJWFJRKH.js → D73WKPMQ.js} +2 -2
- package/dist/cdn/{24525IFF.js → DCEBLW5N.js} +2 -2
- package/dist/cdn/{YPZY5T64.js → DCOPVWLY.js} +2 -2
- package/dist/cdn/{F5UQ42HE.js → DF5QXKGH.js} +2 -2
- package/dist/cdn/{7WQVJT5F.js → DGNNFON4.js} +2 -2
- package/dist/cdn/{BFH5SO2L.js → DMPGY2CP.js} +1 -1
- package/dist/cdn/{4SKIALSW.js → DS7T3C76.js} +2 -2
- package/dist/cdn/{HDBFFEBB.js → DSUJM7KE.js} +2 -2
- package/dist/cdn/{WY3BALDA.js → DUW2CBFP.js} +2 -2
- package/dist/cdn/{3MEA5DUO.js → DZR5OU2Z.js} +2 -2
- package/dist/cdn/{AJMDPQVN.js → E2K4YXFY.js} +2 -2
- package/dist/cdn/{EVND7CLX.js → E7Z2VNGZ.js} +2 -2
- package/dist/cdn/{KF632BTH.js → EEZVGG7J.js} +2 -2
- package/dist/cdn/{DW5MNUDP.js → EIJGEZ3R.js} +1 -1
- package/dist/cdn/{JZPIPYHU.js → EJNMBFZU.js} +2 -2
- package/dist/cdn/{YZ45SJNV.js → EQYKWRWC.js} +2 -2
- package/dist/cdn/{2IN6EBD2.js → ERRVLDZR.js} +2 -2
- package/dist/cdn/{K47GFZZC.js → EUEDSIGE.js} +2 -2
- package/dist/cdn/{3BFU2N33.js → EY5KJVGY.js} +2 -2
- package/dist/cdn/F3SICAQV.js +8 -0
- package/dist/cdn/FDO6F6OD.js +18 -0
- package/dist/cdn/FHG3CDRP.js +4 -0
- package/dist/cdn/{NPHHJYBH.js → FHPVFDBQ.js} +2 -2
- package/dist/cdn/{EPSCUZ73.js → FM4LJPL6.js} +2 -2
- package/dist/cdn/{76ALAXVV.js → FNS5B3MH.js} +2 -2
- package/dist/cdn/{ZTVEA5RF.js → FTU72FJP.js} +1 -1
- package/dist/cdn/FTZVWKBM.js +18 -0
- package/dist/cdn/{L64TRNGF.js → G7O5ZQAS.js} +2 -2
- package/dist/cdn/{BJ2EZS3Z.js → GGUXZIFJ.js} +2 -2
- package/dist/cdn/{THVVAYVQ.js → GOHGYRVC.js} +2 -2
- package/dist/cdn/{7CKL36AK.js → GVYKKXOF.js} +1 -1
- package/dist/cdn/{WCEJDYKE.js → GX7IKAB3.js} +2 -2
- package/dist/cdn/{3OQDT2PX.js → GXDIQYY2.js} +2 -2
- package/dist/cdn/{EV7HBUTQ.js → GZOFO77D.js} +2 -2
- package/dist/cdn/{Z2Z7VXON.js → H2NMQTHO.js} +2 -2
- package/dist/cdn/{XRQCOVSZ.js → HEU5ADOI.js} +2 -2
- package/dist/cdn/{WXAL7UR7.js → HHBX6OJB.js} +2 -2
- package/dist/cdn/{G4WDN3WM.js → HK7LGCJZ.js} +2 -2
- package/dist/cdn/{6FO4Q3E6.js → HL27PBID.js} +2 -2
- package/dist/cdn/{ETE327MH.js → HM3CN2LF.js} +1 -1
- package/dist/cdn/HOBO4ZBX.js +18 -0
- package/dist/cdn/{XPISGP4X.js → HPUHAFAJ.js} +2 -2
- package/dist/cdn/{AEA2NSI4.js → HZY6CHAU.js} +2 -2
- package/dist/cdn/IHWO6477.js +4 -0
- package/dist/cdn/{HYXJ3R6E.js → IPINIAHE.js} +2 -2
- package/dist/cdn/IPPAEITK.js +18 -0
- package/dist/cdn/{ZG5TZZOJ.js → IS6FZQDO.js} +2 -2
- package/dist/cdn/{TX5LUCPB.js → IYDQFMAO.js} +2 -2
- package/dist/cdn/{UVSVC3WI.js → IYWM6PGT.js} +2 -2
- package/dist/cdn/{2N36AAZW.js → J2OGB6WD.js} +2 -2
- package/dist/cdn/{KZLVAEI2.js → J7HFP2SN.js} +2 -2
- package/dist/cdn/JCYSJLP3.js +4 -0
- package/dist/cdn/{YVCCBY5A.js → JF6NRNBV.js} +2 -2
- package/dist/cdn/{UVB3QATU.js → JGMZYU54.js} +2 -2
- package/dist/cdn/{JUWEYEWN.js → JJ7NWRPI.js} +2 -2
- package/dist/cdn/{3ZX46XLT.js → JO3IHRR7.js} +2 -2
- package/dist/cdn/{TG55KKIP.js → JPPXUPM6.js} +2 -2
- package/dist/cdn/{H3LE6IXK.js → JWXQ3ZOM.js} +2 -2
- package/dist/cdn/{LA6C6JAO.js → JY5VS7K2.js} +2 -2
- package/dist/cdn/{3QSJRZNT.js → K32Q3OHF.js} +2 -2
- package/dist/cdn/{ZG3PPQ55.js → K3OXWSA7.js} +2 -2
- package/dist/cdn/{OFNMFDPR.js → K3UY4EFA.js} +1 -1
- package/dist/cdn/{JUK6YN7M.js → K54ZYQZT.js} +2 -2
- package/dist/cdn/{MCVVXWUA.js → K77Y37K5.js} +2 -2
- package/dist/cdn/{J77NMDV5.js → KGLXLAY3.js} +1 -1
- package/dist/cdn/{BWYEDUZX.js → KMEQX57W.js} +2 -2
- package/dist/cdn/{RBNUMIQJ.js → KZ6GOXIR.js} +2 -2
- package/dist/cdn/{UKJQTCNY.js → L4A3TP42.js} +2 -2
- package/dist/cdn/{CE3PZUP3.js → L7V6N63X.js} +1 -1
- package/dist/cdn/LG5JARXR.js +4 -0
- package/dist/cdn/{CFSCFQIJ.js → LIOV5Z2T.js} +2 -2
- package/dist/cdn/{NNCVEOOC.js → LJ3WFFB2.js} +2 -2
- package/dist/cdn/{WGNTLBNS.js → LSGWT4PB.js} +2 -2
- package/dist/cdn/LU62UIKJ.js +4 -0
- package/dist/cdn/{HXJN6FVT.js → LUS4XGFV.js} +2 -2
- package/dist/cdn/{CKIF7ITD.js → LWII4SFH.js} +2 -2
- package/dist/cdn/{V2N5MGKX.js → LWT5ZPS5.js} +2 -2
- package/dist/cdn/M2JNL3YZ.js +5 -0
- package/dist/cdn/{POK67CCI.js → M3NHYVE5.js} +2 -2
- package/dist/cdn/M4SLCXFR.js +4 -0
- package/dist/cdn/{QHW6LKVE.js → M5PZM6MR.js} +2 -2
- package/dist/cdn/{2TGWW2EE.js → M6OYWH72.js} +2 -2
- package/dist/cdn/{TV6MVRLN.js → MCYHMQTR.js} +2 -2
- package/dist/cdn/{XFVJUICD.js → MKILC4CS.js} +2 -2
- package/dist/cdn/{MSJNBWKG.js → MMSYI6GH.js} +1 -1
- package/dist/cdn/{POZF7VFZ.js → MNIQAXS4.js} +1 -1
- package/dist/cdn/{GPUC2YAZ.js → MO6ELGZS.js} +1 -1
- package/dist/cdn/{PF6ZRQJ2.js → MWYXGDMB.js} +2 -2
- package/dist/cdn/{SHGCXAGA.js → NAICN42V.js} +2 -2
- package/dist/cdn/{NNWPGIM6.js → NF5LHYAO.js} +2 -2
- package/dist/cdn/{XM7J7FRK.js → NG43RYFN.js} +2 -2
- package/dist/cdn/{R7URESQA.js → NP3DZUOG.js} +2 -2
- package/dist/cdn/{UHGVCTXE.js → NSTT2IOP.js} +2 -2
- package/dist/cdn/{ASDGPISP.js → NUYU2UBS.js} +2 -2
- package/dist/cdn/{W7FRKETT.js → O4DKV6WM.js} +2 -2
- package/dist/cdn/{EQREHHBY.js → OBISJL4B.js} +2 -2
- package/dist/cdn/{U3MG73BI.js → OBQ5ECDX.js} +2 -2
- package/dist/cdn/{V6FMWC6D.js → OGAB72G7.js} +2 -2
- package/dist/cdn/OIDBNRLF.js +18 -0
- package/dist/cdn/{O5AVB7EE.js → OM7V7IHH.js} +2 -2
- package/dist/cdn/{FOESISXO.js → OOWZZIWB.js} +2 -2
- package/dist/cdn/{UXHI6HKV.js → OUIN7APR.js} +2 -2
- package/dist/cdn/{KU62FCLR.js → OVEGZJHW.js} +2 -2
- package/dist/cdn/{53ZP5E2V.js → OX5DEXZX.js} +2 -2
- package/dist/cdn/{CQDNZU4P.js → P67BXX6L.js} +2 -2
- package/dist/cdn/{U6ZZFZ5O.js → P6FYDYAK.js} +2 -2
- package/dist/cdn/{KOI3XUTI.js → P7U5QF6I.js} +2 -2
- package/dist/cdn/{23YJ5GOE.js → PALTMKJB.js} +2 -2
- package/dist/cdn/{NWN7Y7AR.js → PDHB7K5V.js} +2 -2
- package/dist/cdn/{FJEXAORI.js → PETX35OI.js} +2 -2
- package/dist/cdn/{NSEF4U3D.js → PNF3ZUSB.js} +2 -2
- package/dist/cdn/{2ECBDDEM.js → PRQU6X7H.js} +2 -2
- package/dist/cdn/{T2AD4OLC.js → PU3J4MZ3.js} +2 -2
- package/dist/cdn/PVJCHRCH.js +4 -0
- package/dist/cdn/{KFA5XB23.js → Q5X2S4MD.js} +1 -1
- package/dist/cdn/{NPBGB25Y.js → Q5ZQOFB2.js} +2 -2
- package/dist/cdn/{LRH5JW4Y.js → QDZSCCYH.js} +2 -2
- package/dist/cdn/{3QD6OQGN.js → QMAKEUC2.js} +2 -2
- package/dist/cdn/{YJEMF2Z6.js → QML66ZJW.js} +2 -2
- package/dist/cdn/{ZNZZHZ2Q.js → QTDIQRHK.js} +2 -2
- package/dist/cdn/{ON5Q5T5J.js → R4O6DVY6.js} +2 -2
- package/dist/cdn/{M3BZTOYS.js → R7E7P3BW.js} +2 -2
- package/dist/cdn/{AZ5AUWSV.js → R7FDRHLT.js} +2 -2
- package/dist/cdn/RMITVNXV.js +4 -0
- package/dist/cdn/{KH2BTRXI.js → ROI7GMNK.js} +1 -1
- package/dist/cdn/{JA2BLSMQ.js → RP7K3LJT.js} +2 -2
- package/dist/cdn/{HTVK2NSG.js → RQN5FKM7.js} +2 -2
- package/dist/cdn/{FFUCQ7IU.js → RS4LILZG.js} +2 -2
- package/dist/cdn/{DK32RK5U.js → RSJCSZWF.js} +1 -1
- package/dist/cdn/{KETFCI2P.js → RTKXKSUC.js} +2 -2
- package/dist/cdn/{UENHZJI6.js → RTT5SBQJ.js} +2 -2
- package/dist/cdn/{MV3DKW2Y.js → RUC3STWU.js} +2 -2
- package/dist/cdn/{2Z7AL4WY.js → S2O7NNWL.js} +2 -2
- package/dist/cdn/{GRBGQ3CY.js → S2W3JVOQ.js} +2 -2
- package/dist/cdn/{IGELH7BW.js → S3CJI2RF.js} +1 -1
- package/dist/cdn/{WYW6UPKP.js → SF6257JR.js} +1 -1
- package/dist/cdn/{6YGV5ZHN.js → SKHIZ4QA.js} +2 -2
- package/dist/cdn/{YP5ARNCZ.js → SMEMKVDF.js} +2 -2
- package/dist/cdn/{E2ACXLVV.js → SP7LJ3CU.js} +2 -2
- package/dist/cdn/{QP5IG75V.js → SQOKNHQQ.js} +2 -2
- package/dist/cdn/{Z3Z7UPMU.js → SQVXPJDM.js} +1 -1
- package/dist/cdn/{TLBQLRUA.js → STTUGNU7.js} +2 -2
- package/dist/cdn/{ODMUEFOT.js → SZGXZADB.js} +2 -2
- package/dist/cdn/{HRNJ6PPS.js → T5YBVEAU.js} +2 -2
- package/dist/cdn/{7BW7YOBF.js → TKPHO475.js} +2 -2
- package/dist/cdn/{CW6CCZ73.js → TM2VJ6VT.js} +2 -2
- package/dist/cdn/{KQ3XW3HT.js → TOWUBB5U.js} +2 -2
- package/dist/cdn/{25ZSQ4Y4.js → TPK7LVDB.js} +2 -2
- package/dist/cdn/{HAIBENUV.js → TVNGRZHA.js} +2 -2
- package/dist/cdn/{NG5O4EF2.js → TVWOFQVC.js} +2 -2
- package/dist/cdn/{NLAAOG7K.js → U2FJYTYH.js} +2 -2
- package/dist/cdn/{M4EOHQP3.js → U2VKBVBV.js} +2 -2
- package/dist/cdn/{QW25OYIP.js → U2ZT36OX.js} +2 -2
- package/dist/cdn/{JNJU5SA4.js → U6CTX64Y.js} +2 -2
- package/dist/cdn/UBBZOJAY.js +4 -0
- package/dist/cdn/{OQ2OHE4S.js → UFTXRN5O.js} +2 -2
- package/dist/cdn/{LREJHPPN.js → UFUUQSDI.js} +2 -2
- package/dist/cdn/{SWD5EGIW.js → UGDH6OHK.js} +1 -1
- package/dist/cdn/{DIR7QOWJ.js → UKSNIHPE.js} +2 -2
- package/dist/cdn/{6XL3O76R.js → UOCFZXCI.js} +2 -2
- package/dist/cdn/{NARZWJOL.js → UQQ7WIIG.js} +1 -1
- package/dist/cdn/{4W3OTNVQ.js → UQQLSZLW.js} +2 -2
- package/dist/cdn/{PSTNEQMA.js → UWTU3QFZ.js} +2 -2
- package/dist/cdn/{JYB6HV7M.js → UWZF6TGQ.js} +2 -2
- package/dist/cdn/{BRBPMYFG.js → V5TS3XKZ.js} +2 -2
- package/dist/cdn/{TLP53ZXS.js → VA5AX3JY.js} +2 -2
- package/dist/cdn/{45JWP6I3.js → VC55K7FD.js} +2 -2
- package/dist/cdn/{CGBW4C56.js → VEYCZIDH.js} +2 -2
- package/dist/cdn/{NZFOFQFK.js → VFC3KWOY.js} +2 -2
- package/dist/cdn/{73ZW6AZO.js → VHAKVCYG.js} +2 -2
- package/dist/cdn/{ZRDVHXEL.js → VHGLIJMI.js} +2 -2
- package/dist/cdn/{QJNE3P25.js → VJ5NWA7C.js} +2 -2
- package/dist/cdn/{4FV35CZ2.js → VLP6DDYE.js} +4 -4
- package/dist/cdn/{ME35VNVL.js → VLURIFFB.js} +2 -2
- package/dist/cdn/{4I5HWIEN.js → VNHRV4W2.js} +2 -2
- package/dist/cdn/{MW5Q3YCW.js → VVZJNJ36.js} +2 -2
- package/dist/cdn/{JY42QHUW.js → VWINHHXS.js} +2 -2
- package/dist/cdn/VYN2OV3J.js +4 -0
- package/dist/cdn/{W47KT5GG.js → W74YB7LO.js} +2 -2
- package/dist/cdn/{BEGVEBJJ.js → WK6KWLP7.js} +2 -2
- package/dist/cdn/{ANZR4N6V.js → WKWVZYU2.js} +2 -2
- package/dist/cdn/{HRTSR2SE.js → WMVWR4TI.js} +1 -1
- package/dist/cdn/{EMXWEQBM.js → WRLGEWRN.js} +1 -1
- package/dist/cdn/{VD6PGA3P.js → WSTFKNIK.js} +2 -2
- package/dist/cdn/{PFAB7BY6.js → WW6QSBNO.js} +2 -2
- package/dist/cdn/{2OTIFQIN.js → X34MWL2J.js} +2 -2
- package/dist/cdn/X3KFABXY.js +4 -0
- package/dist/cdn/{UZCXGQDN.js → X3OZJPGV.js} +2 -2
- package/dist/cdn/{RFHVHPG4.js → XAIHFHBP.js} +2 -2
- package/dist/cdn/{3YDR5TNM.js → XBMRPDNE.js} +2 -2
- package/dist/cdn/{VDWURYIO.js → XCH4UNRZ.js} +2 -2
- package/dist/cdn/{34ISDA3J.js → XGKEI55O.js} +2 -2
- package/dist/cdn/{FQH25K2H.js → XOEQRL52.js} +2 -2
- package/dist/cdn/{7DG3DSPE.js → Y2H34EQP.js} +2 -2
- package/dist/cdn/{ZUSH4SCO.js → Y2TULO3A.js} +2 -2
- package/dist/cdn/{R6U7AID6.js → Y2VUFZUV.js} +1 -1
- package/dist/cdn/{DIELHCE6.js → Y3FQP4NF.js} +2 -2
- package/dist/cdn/{ODRDYVBD.js → YSOIAQKF.js} +2 -2
- package/dist/cdn/{T6VGLWYO.js → YVIZHCBF.js} +2 -2
- package/dist/cdn/{YNVH5WOM.js → YYROVQF2.js} +1 -1
- package/dist/cdn/{EYCGOAQV.js → YZ4LCVJ7.js} +2 -2
- package/dist/cdn/{4NZAMBEG.js → Z2KZ6VY2.js} +2 -2
- package/dist/cdn/{EC5BCFOV.js → ZADW6QWU.js} +2 -2
- package/dist/cdn/{GGFHUOLW.js → ZFEYSYS5.js} +2 -2
- package/dist/cdn/{FHZLYB2S.js → ZFS6FBQX.js} +2 -2
- package/dist/cdn/{LGJZ53IQ.js → ZGTCOKGY.js} +2 -2
- package/dist/cdn/{ZVNQTPA6.js → ZJID6JNT.js} +3 -3
- package/dist/cdn/{UTA3GVUF.js → ZMPNHGIE.js} +2 -2
- package/dist/cdn/{L5RFIDWK.js → ZRRRCRK3.js} +2 -2
- package/dist/cdn/ZTFR55FL.js +18 -0
- package/dist/cdn/{IHYLQW3P.js → ZUNKV2EF.js} +1 -1
- package/dist/cdn/{7VOV57VQ.js → ZXQJLGRP.js} +4 -4
- package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +249 -0
- package/dist/chunks/cardFetchingUtils.js +476 -0
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/index.js +405 -313
- package/dist/chunks/interfaces.js +21 -17
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +3 -3
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +10 -10
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.d.ts +0 -6
- package/dist/components/layer-table/customElement.js +47 -57
- package/dist/components/layer-table/index.d.ts +0 -2
- package/dist/components/layer-table/index.js +0 -2
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +2 -2
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +14 -14
- package/dist/components/refine-selection/customElement.js +2 -2
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-panel/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-panel/customElement.d.ts +12 -0
- package/dist/components/solution-deploy-panel/customElement.js +44 -16
- package/dist/components/solution-deploy-panel/index.d.ts +10 -0
- package/dist/components/solution-deploy-panel/index.js +10 -0
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-items-diagram/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +2 -2
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.d.ts +2 -3
- package/dist/components/solutions-all-panel/customElement.js +84 -521
- package/dist/components/solutions-all-shell/customElement.d.ts +1 -0
- package/dist/components/solutions-all-shell/customElement.js +29 -24
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.d.ts +54 -0
- package/dist/components/solutions-deployed-panel/customElement.js +66 -17
- package/dist/components/solutions-deployed-panel/index.d.ts +2 -0
- package/dist/components/solutions-deployed-panel/index.js +2 -0
- package/dist/components/solutions-deployed-shell/customElement.d.ts +19 -0
- package/dist/components/solutions-deployed-shell/customElement.js +111 -17
- package/dist/components/solutions-deployed-shell/index.d.ts +10 -0
- package/dist/components/solutions-deployed-shell/index.js +10 -0
- package/dist/components/solutions-filter-panel/customElement.js +2 -2
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +662 -97
- package/dist/docs/docs.json +504 -38
- package/dist/docs/vscode.html-custom-data.json +105 -12
- package/dist/docs/web-types.json +207 -31
- package/dist/index.d.ts +31 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +7 -4
- package/dist/types/preact.d.ts +7 -4
- package/dist/types/react.d.ts +7 -4
- package/dist/types/stencil.d.ts +7 -4
- package/dist/utils/CardsFetcher.d.ts +5 -22
- package/dist/utils/cardFetchingUtils.d.ts +24 -0
- package/dist/utils/cardsHelpers.d.ts +2 -47
- package/dist/utils/helpers.d.ts +1 -21
- package/dist/utils/interfaces.d.ts +94 -1
- package/package.json +148 -147
- package/dist/cdn/3QIZTD4O.js +0 -4
- package/dist/cdn/7RN23NYN.js +0 -18
- package/dist/cdn/BEOKELUC.js +0 -4
- package/dist/cdn/BJFZKZXY.js +0 -4
- package/dist/cdn/G36LLGTJ.js +0 -4
- package/dist/cdn/H7LNTTBF.js +0 -4
- package/dist/cdn/HJNIOQBX.js +0 -4
- package/dist/cdn/HNLKT2BY.js +0 -4
- package/dist/cdn/HR7NBZ23.js +0 -18
- package/dist/cdn/I5FXIJHX.js +0 -4
- package/dist/cdn/IY54OHHB.js +0 -18
- package/dist/cdn/KONO75BP.js +0 -4
- package/dist/cdn/L4DGTHZ5.js +0 -5
- package/dist/cdn/LGMP6U2I.js +0 -4
- package/dist/cdn/MXFGKNUJ.js +0 -4
- package/dist/cdn/RKPAK25A.js +0 -18
- package/dist/cdn/U7SYT67J.js +0 -4
- package/dist/cdn/VDRSRH6X.js +0 -18
- package/dist/cdn/WU3WC633.js +0 -18
- package/dist/cdn/Y7RZLFOV.js +0 -4
- package/dist/cdn/ZVQ7AOB6.js +0 -18
- package/dist/cdn/assets/solutions-all-shell/appConfig.json +0 -1
@@ -1,12 +1,12 @@
|
|
1
1
|
declare const _default: {
|
2
|
-
"appId": "
|
2
|
+
"appId": "WNufTOT96eMYwAik",
|
3
3
|
"portalURL": "https://www.arcgis.com",
|
4
4
|
"primarySolutionsGroupId": "966b251241bb4e3bb9ee3f2b92921aa5",
|
5
5
|
"agoBasedEnterpriseSolutionsGroupId": "1d3a7ed66deb47269beea05ff9afd4c1",
|
6
6
|
"consoleMessageLevel": 1,
|
7
7
|
"cookiesFirstUseVar": "solutions-deployment-first-use",
|
8
8
|
"isRTL": false,
|
9
|
-
"locale": "",
|
9
|
+
"locale": "en",
|
10
10
|
"forceTrackingEnv": "dev",
|
11
11
|
"trackingEnabled": true,
|
12
12
|
"telemetry": {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as r,b as d}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as r,b as d}from"./DF5QXKGH.js";import{b as o}from"./MMSYI6GH.js";import{D as n,I as a,c as t,d as s}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var h=t`/**
|
5
5
|
* @license
|
6
6
|
* Copyright 2025 Esri
|
7
7
|
*
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as e}from"./HEU5ADOI.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{c as t}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{c as t}from"./Y2VUFZUV.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./WRLGEWRN.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{c as l}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{c as l}from"./UFTXRN5O.js";import"./SZGXZADB.js";import"./7L34ACJ2.js";import{b as n}from"./MMSYI6GH.js";import{D as c,I as h,c as o,o as s,q as r}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var d=o`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{f as C}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{f as C}from"./UFTXRN5O.js";import"./SZGXZADB.js";import"./7L34ACJ2.js";import{a as c,b as p}from"./DF5QXKGH.js";import{b}from"./MMSYI6GH.js";import{D as m,I as g,c as u,d as n,o as h,q as _}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var F=u`@layer{/**
|
5
5
|
* @license
|
6
6
|
* Copyright 2025 Esri
|
7
7
|
*
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as p,b as f,g as V,j as U,l as q,m as B,n as O,t as w,u as S,v as $,w as k}from"./KU62FCLR.js";import{a as E}from"./PSTNEQMA.js";import"./FQH25K2H.js";import{E as N,h as M,i as A}from"./YNVH5WOM.js";import{a as u,c as s,e as L,f as T,h as R}from"./A62HEPRS.js";import"./GPUC2YAZ.js";var X=".sc-instant-apps-interactive-legend-group-legend-element-h{display:block}.sc-instant-apps-interactive-legend-group-legend-element-h .esri-legend__service.sc-instant-apps-interactive-legend-group-legend-element{margin:0;padding:0}.sc-instant-apps-interactive-legend-group-legend-element-h .hide.sc-instant-apps-interactive-legend-group-legend-element{display:none}",Y=X,D={service:"esri-legend__service",groupLayer:"esri-legend__group-layer",groupContent:"esri-legend__group-content"},ee=class{constructor(e){u(this,e),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=!!this.layerCaption?.expanded}async componentWillLoad(){new MutationObserver(()=>{R(this.el)}).observe(this.el,{attributes:!0})}render(){return s("div",{key:"cf9f8f643477fc66b5ab9d4f69faa3591664e1a0",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:`${D.service} ${D.groupLayer}`},s("instant-apps-interactive-legend-layer-element-caption",{key:"10339df7a9d65d87f20c6bf8f84f4bd578495085",ref:e=>this.layerCaption=e,class:$(this.el),legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:this.isChild}),s("div",{key:"c41488c758479a0c3820187641b27d97a7de824d",class:`${D.groupContent} ${this.expanded?"show":"hide"}`},s("slot",{key:"4778c2674ac10a464aa4cca6ec080dfbdca53afa",name:"content"})))}get el(){return L(this)}};ee.style=Y;var te=".sc-instant-apps-interactive-legend-layer-element-h{display:block}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__service.sc-instant-apps-interactive-legend-layer-element{padding:0}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-layer-element{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-layer-element-h .hide.sc-instant-apps-interactive-legend-layer-element{display:none}",ne=te,z={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},ae=class{constructor(e){u(this,e),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=void 0,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=this.layerCaption.expanded}componentWillLoad(){new MutationObserver(()=>{R(this.el)}).observe(this.el,{attributes:!0})}render(){let e=this.activeLayerInfo.parent?` ${z.groupLayerChild}`:"";return s("div",{key:"aa39da1dd64aae1630988e2a1af8a2b7faea97d9",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:`${z.service}${e}`,tabIndex:0},s("instant-apps-interactive-legend-layer-element-caption",{key:"e7013faace5d61da9062c53c3336bddc3f87c1b4",ref:n=>{n&&(this.layerCaption=n)},legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:!!this.isChild,class:$(this.el)}),s("div",{key:"c54f12b6f0a1b1c17ff97c368fac17795e62e74a",id:`${this.activeLayerInfo?.layer?.id}-legend-layer`,class:`${z.layer}${this.expanded?" show":" hide"}`},s("slot",{key:"af29568610f22a76e2d9792c178b0b220cc0bb5d",name:"content"})))}get el(){return L(this)}};ae.style=ne;var ie=".sc-instant-apps-interactive-legend-legend-element-h{display:block}.sc-instant-apps-interactive-legend-legend-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-legend-element,.sc-instant-apps-interactive-legend-legend-element-h .instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-legend-element{margin:0}.sc-instant-apps-interactive-legend-legend-element-h .hide.sc-instant-apps-interactive-legend-legend-element{display:none}",se=ie,v={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},le=class{constructor(e){u(this,e),this.activeLayerInfo=void 0,this.isSizeRamp=void 0,this.isChild=void 0,this.isColorRamp=void 0,this.isRelationshipRamp=void 0,this.isInteractive=void 0,this.zoomTo=void 0,this.legendElement=void 0,this.titleText="",this.legendvm=void 0,this.legendElementIndex=void 0,this.messages=void 0,this.expanded=!0}legendLayerExpandUpdatedEmitted(){this.expanded=this.legendLayerCaption.expanded}render(){let e=this.isChild?v.layerChildTable:v.layerTable,n=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,t=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${v.layerTableSizeRamp}`:"",a=this.isInteractive?"":` ${v.nonInteractive}`,i=w(this.activeLayerInfo)?` ${v.nestedUniqueSymbol}`:"",l=n&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let c=f.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];l=c===void 0?!0:c}return s("div",{key:"cea3abec3b0d96dd275cadbf6c2446d92c4d39dd",class:`${e}${t}${a}${i}`},s("div",{key:"6124c13d37dee96cb88498f25b275196fd899af5",id:`${this.activeLayerInfo?.layer?.id}-legend-element-caption`,class:this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&n?"hide":"show"},s("instant-apps-interactive-legend-legend-element-caption",{key:"2c89bf0cb37046f020bdfed08e15abadd6513a1c",ref:r=>{r&&(this.legendLayerCaption=r)},legendvm:this.legendvm,activeLayerInfo:this.activeLayerInfo,layer:this.activeLayerInfo.layer,titleText:this.titleText,legendElement:this.legendElement,legendElementIndex:this.legendElementIndex,zoomTo:this.zoomTo,isInteractive:this.isInteractive,messages:this.messages})),s("div",{key:"content",id:`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`,class:l?"show":"hide"},s("slot",{key:"3ddd3cfe429bcd1a21c020dccc307395d89ba5c9",name:"content"})))}};le.style=se;var re=".sc-instant-apps-interactive-legend-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption{--instant-apps-interactive-legend-ui-padding:5px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;justify-content:flex-end;width:100%}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__show-all-btn.sc-instant-apps-interactive-legend-legend-element-caption{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:0.75rem;padding-inline-start:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__zoom-to-btn.sc-instant-apps-interactive-legend-legend-element-caption{--calcite-icon-color:var(--calcite-ui-brand);--calcite-color-transparent-hover:transparent}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;font-size:0.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;white-space:nowrap}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption calcite-button.sc-instant-apps-interactive-legend-legend-element-caption{margin:2px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-legend-element-caption-h:dir(rtl) .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:unset;margin-right:20px}",oe=re,b;(function(e){e.ZoomTo="magnifying-glass-plus",e.ShowAll="list-check-all"})(b||(b={}));var g={layerCaption:"esri-legend__layer-caption",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",layerCaptionBtnContainerNoText:"instant-apps-interactive-legend__layer-caption-btn-container--no-text",layerCaptionText:"instant-apps-interactive-legend__legend-layer-caption-text",compact:"instant-apps-interactive-legend__layer-caption--compact",showAll:"instant-apps-interactive-legend__show-all-btn",zoomTo:"instant-apps-interactive-legend__zoom-to-btn"},ce=class{constructor(e){u(this,e),this.showAllSelectedEvent=T(this,"showAllSelected",7),this.legendLayerExpandUpdatedEvent=T(this,"legendLayerExpandUpdated",7),this.legendvm=void 0,this.activeLayerInfo=void 0,this.layer=void 0,this.titleText=void 0,this.legendElementIndex=void 0,this.zoomTo=void 0,this.isInteractive=void 0,this.legendElement=void 0,this.expanded=!0,this.messages=void 0}render(){let e=w(this.activeLayerInfo),n=U(this.activeLayerInfo),{expanded:t}=this,a=f.get("compact"),i=a?` ${g.compact}`:"";if(e&&!this.titleText)return null;let l=this.titleText&&s("span",{class:g.layerCaptionText,title:this.titleText},this.titleText),r=(this.isInteractive||n)&&this.renderLegendElementCaptionControls();return s("div",{class:`${g.layerCaption}${i}`},s("calcite-action",{onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:t?this.messages?.collapse:this.messages?.expand,label:t?this.messages?.collapse:this.messages?.expand,scale:"s"}),a?[l,r]:[r,l])}renderLegendElementCaptionControls(){let e=this.titleText?"":` ${g.layerCaptionBtnContainerNoText}`;return s("div",{key:"layer-caption-btn-container",class:`${g.layerCaptionBtnContainer}${e}`},this.renderShowAllZoomToButtons())}renderShowAllZoomToButtons(){return f.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){let{data:e}=p,{id:n}=this.layer||{},t=e?.[n]?.categories?.size>1,a="zoomToCompact",i=this.zoomTo&&[s("calcite-action",{id:a,class:g.zoomTo,onClick:this.handleZoomTo(),icon:b.ZoomTo,appearance:"transparent",scale:"s",text:this.messages?.zoomTo}),s("calcite-tooltip",{"reference-element":a,placement:"top",label:this.messages?.zoomTo},this.messages?.zoomTo)],l=t&&s("button",{onClick:this.handleShowAll(),class:g.showAll},this.messages?.showAll);return[i,l]}renderButtonUI(){let{data:e}=p,{id:n}=this.layer||{},t=e?.[n]?.categories?.size>1,a="showAll",i="zoomTo",l=t&&[s("calcite-button",{key:"show-all-button",id:a,label:this.messages?.showAll,onClick:this.handleShowAll(),iconStart:b.ShowAll,appearance:"outline",round:!0}),s("calcite-tooltip",{referenceElement:a,placement:"top",label:this.messages?.showAll},this.messages?.showAll)],r=this.zoomTo&&[s("calcite-button",{key:"zoom-to-button",id:i,label:this.messages?.zoomTo,onClick:this.handleZoomTo(),iconStart:b.ZoomTo,appearance:"outline",round:!0}),s("calcite-tooltip",{"reference-element":i,placement:"top",label:this.messages?.zoomTo},this.messages?.zoomTo)];return[l,r]}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.legendLayerExpandUpdatedEvent.emit(),(this.activeLayerInfo?.legendElements?.filter(n=>n.type==="relationship-ramp")).length>0&&f.set("relationshipRampExpandStates",{...p.relationshipRampExpandStates,[this.activeLayerInfo.layer.id]:this.expanded})}}handleZoomTo(){return()=>{let e=V(this.layer),n=S(e,this.legendElement);O(e,this.legendvm.view,n)}}handleShowAll(){return()=>{let e=()=>{let i=B(t,this.legendElement.title);k({intLegendLayerData:i,layerId:this.layer.id})},n=()=>{let i=q(t);k({intLegendLayerData:i,layerId:this.layer.id})},t=p.data?.[this.layer?.id];if(S(t,this.legendElement)){e();return}n(),this.showAllSelectedEvent.emit()}}get el(){return L(this)}};ce.style=oe;var P=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),de=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),pe=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function he(e,n){return n===null?P.get("HH")[e]:P.get(n)?.[e]??null}function ge(e,n){return n===null?e:de.get(n)?.[e]??e}function J(e,n){return n===null?J(e,"HH"):pe.get(n)?.[e]??null}var ue=".sc-instant-apps-interactive-legend-relationship-h{display:block}.sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark .sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{background-color:var(--calcite-color-brand);color:#151515}",me=ue,fe=".sc-instant-apps-interactive-legend-relationship svg",Z=".sc-instant-apps-interactive-legend-relationship svg g:first-of-type",ve=".sc-instant-apps-interactive-legend-relationship svg g:last-of-type",y="esri-interactive-legend--selected-cell",j="esri-interactive-legend--instructional-text",G=2,W=3,ye=4,be=Object.freeze({0:"L",1:"H"}),xe=Object.freeze({0:"L",1:"M",2:"H"}),Le=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Ie={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},Ce=class{constructor(e){u(this,e),this.cellNodeCounter=0,this.filterMode=void 0,this.activeLayerInfo=void 0,this.legendElement=void 0,this.messages=void 0}applyInteractivity(){this.applyRelationshipRampInteractivity()}showAllSelectedEmitted(){let e=p.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,n=this.relationshipRamp.querySelector(Z),t=Array.from(n.children);e&&t?.forEach(a=>{a.removeAttribute("stroke"),a.removeAttribute("stroke-width"),a.removeAttribute("stroke-opacity"),a.setAttribute("aria-pressed","false"),a.classList.remove(y)})}async componentWillLoad(){let e=await N();this.symbolUtils=e}render(){return s("div",{key:"f5cf665a22adaa3f9e5529937fd96d7334e51933",ref:e=>{if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as p,b as f,g as V,j as U,l as q,m as B,n as O,t as w,u as S,v as $,w as k}from"./OVEGZJHW.js";import{a as E}from"./UWTU3QFZ.js";import"./XOEQRL52.js";import{E as N,h as M,i as A}from"./YYROVQF2.js";import{a as u,c as s,e as L,f as T,h as R}from"./ABK3KAVX.js";import"./MO6ELGZS.js";var X=".sc-instant-apps-interactive-legend-group-legend-element-h{display:block}.sc-instant-apps-interactive-legend-group-legend-element-h .esri-legend__service.sc-instant-apps-interactive-legend-group-legend-element{margin:0;padding:0}.sc-instant-apps-interactive-legend-group-legend-element-h .hide.sc-instant-apps-interactive-legend-group-legend-element{display:none}",Y=X,D={service:"esri-legend__service",groupLayer:"esri-legend__group-layer",groupContent:"esri-legend__group-content"},ee=class{constructor(e){u(this,e),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=!!this.layerCaption?.expanded}async componentWillLoad(){new MutationObserver(()=>{R(this.el)}).observe(this.el,{attributes:!0})}render(){return s("div",{key:"cf9f8f643477fc66b5ab9d4f69faa3591664e1a0",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:`${D.service} ${D.groupLayer}`},s("instant-apps-interactive-legend-layer-element-caption",{key:"10339df7a9d65d87f20c6bf8f84f4bd578495085",ref:e=>this.layerCaption=e,class:$(this.el),legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:this.isChild}),s("div",{key:"c41488c758479a0c3820187641b27d97a7de824d",class:`${D.groupContent} ${this.expanded?"show":"hide"}`},s("slot",{key:"4778c2674ac10a464aa4cca6ec080dfbdca53afa",name:"content"})))}get el(){return L(this)}};ee.style=Y;var te=".sc-instant-apps-interactive-legend-layer-element-h{display:block}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__service.sc-instant-apps-interactive-legend-layer-element{padding:0}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-layer-element{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-layer-element-h .hide.sc-instant-apps-interactive-legend-layer-element{display:none}",ne=te,z={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},ae=class{constructor(e){u(this,e),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=void 0,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=this.layerCaption.expanded}componentWillLoad(){new MutationObserver(()=>{R(this.el)}).observe(this.el,{attributes:!0})}render(){let e=this.activeLayerInfo.parent?` ${z.groupLayerChild}`:"";return s("div",{key:"aa39da1dd64aae1630988e2a1af8a2b7faea97d9",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:`${z.service}${e}`,tabIndex:0},s("instant-apps-interactive-legend-layer-element-caption",{key:"e7013faace5d61da9062c53c3336bddc3f87c1b4",ref:n=>{n&&(this.layerCaption=n)},legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:!!this.isChild,class:$(this.el)}),s("div",{key:"c54f12b6f0a1b1c17ff97c368fac17795e62e74a",id:`${this.activeLayerInfo?.layer?.id}-legend-layer`,class:`${z.layer}${this.expanded?" show":" hide"}`},s("slot",{key:"af29568610f22a76e2d9792c178b0b220cc0bb5d",name:"content"})))}get el(){return L(this)}};ae.style=ne;var ie=".sc-instant-apps-interactive-legend-legend-element-h{display:block}.sc-instant-apps-interactive-legend-legend-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-legend-element,.sc-instant-apps-interactive-legend-legend-element-h .instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-legend-element{margin:0}.sc-instant-apps-interactive-legend-legend-element-h .hide.sc-instant-apps-interactive-legend-legend-element{display:none}",se=ie,v={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},le=class{constructor(e){u(this,e),this.activeLayerInfo=void 0,this.isSizeRamp=void 0,this.isChild=void 0,this.isColorRamp=void 0,this.isRelationshipRamp=void 0,this.isInteractive=void 0,this.zoomTo=void 0,this.legendElement=void 0,this.titleText="",this.legendvm=void 0,this.legendElementIndex=void 0,this.messages=void 0,this.expanded=!0}legendLayerExpandUpdatedEmitted(){this.expanded=this.legendLayerCaption.expanded}render(){let e=this.isChild?v.layerChildTable:v.layerTable,n=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,t=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${v.layerTableSizeRamp}`:"",a=this.isInteractive?"":` ${v.nonInteractive}`,i=w(this.activeLayerInfo)?` ${v.nestedUniqueSymbol}`:"",l=n&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let c=f.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];l=c===void 0?!0:c}return s("div",{key:"cea3abec3b0d96dd275cadbf6c2446d92c4d39dd",class:`${e}${t}${a}${i}`},s("div",{key:"6124c13d37dee96cb88498f25b275196fd899af5",id:`${this.activeLayerInfo?.layer?.id}-legend-element-caption`,class:this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&n?"hide":"show"},s("instant-apps-interactive-legend-legend-element-caption",{key:"2c89bf0cb37046f020bdfed08e15abadd6513a1c",ref:r=>{r&&(this.legendLayerCaption=r)},legendvm:this.legendvm,activeLayerInfo:this.activeLayerInfo,layer:this.activeLayerInfo.layer,titleText:this.titleText,legendElement:this.legendElement,legendElementIndex:this.legendElementIndex,zoomTo:this.zoomTo,isInteractive:this.isInteractive,messages:this.messages})),s("div",{key:"content",id:`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`,class:l?"show":"hide"},s("slot",{key:"3ddd3cfe429bcd1a21c020dccc307395d89ba5c9",name:"content"})))}};le.style=se;var re=".sc-instant-apps-interactive-legend-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption{--instant-apps-interactive-legend-ui-padding:5px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;justify-content:flex-end;width:100%}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__show-all-btn.sc-instant-apps-interactive-legend-legend-element-caption{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:0.75rem;padding-inline-start:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__zoom-to-btn.sc-instant-apps-interactive-legend-legend-element-caption{--calcite-icon-color:var(--calcite-ui-brand);--calcite-color-transparent-hover:transparent}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;font-size:0.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;white-space:nowrap}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption calcite-button.sc-instant-apps-interactive-legend-legend-element-caption{margin:2px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-legend-element-caption-h:dir(rtl) .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:unset;margin-right:20px}",oe=re,b;(function(e){e.ZoomTo="magnifying-glass-plus",e.ShowAll="list-check-all"})(b||(b={}));var g={layerCaption:"esri-legend__layer-caption",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",layerCaptionBtnContainerNoText:"instant-apps-interactive-legend__layer-caption-btn-container--no-text",layerCaptionText:"instant-apps-interactive-legend__legend-layer-caption-text",compact:"instant-apps-interactive-legend__layer-caption--compact",showAll:"instant-apps-interactive-legend__show-all-btn",zoomTo:"instant-apps-interactive-legend__zoom-to-btn"},ce=class{constructor(e){u(this,e),this.showAllSelectedEvent=T(this,"showAllSelected",7),this.legendLayerExpandUpdatedEvent=T(this,"legendLayerExpandUpdated",7),this.legendvm=void 0,this.activeLayerInfo=void 0,this.layer=void 0,this.titleText=void 0,this.legendElementIndex=void 0,this.zoomTo=void 0,this.isInteractive=void 0,this.legendElement=void 0,this.expanded=!0,this.messages=void 0}render(){let e=w(this.activeLayerInfo),n=U(this.activeLayerInfo),{expanded:t}=this,a=f.get("compact"),i=a?` ${g.compact}`:"";if(e&&!this.titleText)return null;let l=this.titleText&&s("span",{class:g.layerCaptionText,title:this.titleText},this.titleText),r=(this.isInteractive||n)&&this.renderLegendElementCaptionControls();return s("div",{class:`${g.layerCaption}${i}`},s("calcite-action",{onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:t?this.messages?.collapse:this.messages?.expand,label:t?this.messages?.collapse:this.messages?.expand,scale:"s"}),a?[l,r]:[r,l])}renderLegendElementCaptionControls(){let e=this.titleText?"":` ${g.layerCaptionBtnContainerNoText}`;return s("div",{key:"layer-caption-btn-container",class:`${g.layerCaptionBtnContainer}${e}`},this.renderShowAllZoomToButtons())}renderShowAllZoomToButtons(){return f.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){let{data:e}=p,{id:n}=this.layer||{},t=e?.[n]?.categories?.size>1,a="zoomToCompact",i=this.zoomTo&&[s("calcite-action",{id:a,class:g.zoomTo,onClick:this.handleZoomTo(),icon:b.ZoomTo,appearance:"transparent",scale:"s",text:this.messages?.zoomTo}),s("calcite-tooltip",{"reference-element":a,placement:"top",label:this.messages?.zoomTo},this.messages?.zoomTo)],l=t&&s("button",{onClick:this.handleShowAll(),class:g.showAll},this.messages?.showAll);return[i,l]}renderButtonUI(){let{data:e}=p,{id:n}=this.layer||{},t=e?.[n]?.categories?.size>1,a="showAll",i="zoomTo",l=t&&[s("calcite-button",{key:"show-all-button",id:a,label:this.messages?.showAll,onClick:this.handleShowAll(),iconStart:b.ShowAll,appearance:"outline",round:!0}),s("calcite-tooltip",{referenceElement:a,placement:"top",label:this.messages?.showAll},this.messages?.showAll)],r=this.zoomTo&&[s("calcite-button",{key:"zoom-to-button",id:i,label:this.messages?.zoomTo,onClick:this.handleZoomTo(),iconStart:b.ZoomTo,appearance:"outline",round:!0}),s("calcite-tooltip",{"reference-element":i,placement:"top",label:this.messages?.zoomTo},this.messages?.zoomTo)];return[l,r]}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.legendLayerExpandUpdatedEvent.emit(),(this.activeLayerInfo?.legendElements?.filter(n=>n.type==="relationship-ramp")).length>0&&f.set("relationshipRampExpandStates",{...p.relationshipRampExpandStates,[this.activeLayerInfo.layer.id]:this.expanded})}}handleZoomTo(){return()=>{let e=V(this.layer),n=S(e,this.legendElement);O(e,this.legendvm.view,n)}}handleShowAll(){return()=>{let e=()=>{let i=B(t,this.legendElement.title);k({intLegendLayerData:i,layerId:this.layer.id})},n=()=>{let i=q(t);k({intLegendLayerData:i,layerId:this.layer.id})},t=p.data?.[this.layer?.id];if(S(t,this.legendElement)){e();return}n(),this.showAllSelectedEvent.emit()}}get el(){return L(this)}};ce.style=oe;var P=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),de=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),pe=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function he(e,n){return n===null?P.get("HH")[e]:P.get(n)?.[e]??null}function ge(e,n){return n===null?e:de.get(n)?.[e]??e}function J(e,n){return n===null?J(e,"HH"):pe.get(n)?.[e]??null}var ue=".sc-instant-apps-interactive-legend-relationship-h{display:block}.sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark .sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{background-color:var(--calcite-color-brand);color:#151515}",me=ue,fe=".sc-instant-apps-interactive-legend-relationship svg",Z=".sc-instant-apps-interactive-legend-relationship svg g:first-of-type",ve=".sc-instant-apps-interactive-legend-relationship svg g:last-of-type",y="esri-interactive-legend--selected-cell",j="esri-interactive-legend--instructional-text",G=2,W=3,ye=4,be=Object.freeze({0:"L",1:"H"}),xe=Object.freeze({0:"L",1:"M",2:"H"}),Le=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Ie={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},Ce=class{constructor(e){u(this,e),this.cellNodeCounter=0,this.filterMode=void 0,this.activeLayerInfo=void 0,this.legendElement=void 0,this.messages=void 0}applyInteractivity(){this.applyRelationshipRampInteractivity()}showAllSelectedEmitted(){let e=p.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,n=this.relationshipRamp.querySelector(Z),t=Array.from(n.children);e&&t?.forEach(a=>{a.removeAttribute("stroke"),a.removeAttribute("stroke-width"),a.removeAttribute("stroke-opacity"),a.setAttribute("aria-pressed","false"),a.classList.remove(y)})}async componentWillLoad(){let e=await N();this.symbolUtils=e}render(){return s("div",{key:"f5cf665a22adaa3f9e5529937fd96d7334e51933",ref:e=>{if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
|
5
5
|
rect:hover {
|
6
6
|
cursor: pointer;
|
7
7
|
opacity: 0.8;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as f}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as f}from"./5YQ6I5EF.js";import{e as b}from"./LWII4SFH.js";import{c as u,n as g,t as _,z as x}from"./YYROVQF2.js";import"./5MIMVQY5.js";import{a as m,c as a,d as w,e as v,f as y}from"./ABK3KAVX.js";import"./MO6ELGZS.js";var k=`
|
5
5
|
@media print {
|
6
6
|
@page {
|
7
7
|
size: Portrait;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as S}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as S}from"./WSTFKNIK.js";import"./VLP6DDYE.js";import"./ZXQJLGRP.js";import"./Y2TULO3A.js";import"./MNIQAXS4.js";import"./L4A3TP42.js";import"./HM3CN2LF.js";import"./BYBUA3SD.js";import"./FTU72FJP.js";import{c as d,d as u,g as v}from"./UFTXRN5O.js";import"./SZGXZADB.js";import"./7L34ACJ2.js";import{a as p,b as c}from"./DF5QXKGH.js";import{b}from"./MMSYI6GH.js";import{a as F}from"./YZ4LCVJ7.js";import{D as w,E as x,F as I,I as L,c as f,d as l,g as m,o as y,q as _}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var $=f`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{f as a}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{f as a}from"./OBQ5ECDX.js";var n={discussion:"/ember-arcgis-opendata-components/assets/images/placeholders/discussion.png",group:"/ember-arcgis-opendata-components/assets/images/placeholders/group.png",event:"/ember-arcgis-opendata-components/assets/images/placeholders/event.png",content:"/ember-arcgis-opendata-components/assets/images/placeholders/content.png"};function d(t,p,o,e,l){var i;let r=(i=n[e])!==null&&i!==void 0?i:n.content,c=a(r,l),s;return e==="group"?s={aspectRatio:1,sizeDescription:{labelKey:`${t}.fields._thumbnail.sizeDescription`}}:e==="event"?s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"},sources:["url"]}:s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"}},[{labelKey:e==="group"?`${t}.fields._thumbnail.label`:"shared.fields._thumbnail.label",scope:"/properties/_thumbnail",type:"Control",options:Object.assign({control:"hub-field-input-image-picker",imgSrc:o,defaultImgUrl:c,maxWidth:727,maxHeight:484},s)}]}export{d as a};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import d from"./M4SLCXFR.js";import{a as U,c as P}from"./AZ3OMUAO.js";import{b as T,n as x,o as b}from"./ZXQJLGRP.js";import"./Y2TULO3A.js";import"./MNIQAXS4.js";import"./L4A3TP42.js";import"./HM3CN2LF.js";import"./BYBUA3SD.js";import{j as w,k as y,l as a,m as c,n as I,o as u,p as A}from"./SZGXZADB.js";import{a as v}from"./YZ4LCVJ7.js";import{C as h,D as C,G as S,I as f,c as m,d as n,e as p,o as _}from"./5ELHQQNT.js";import"./MO6ELGZS.js";export default $arcgis.t(([{a:O,b:d,c:E}])=>{var F=m`/** @license
|
5
|
+
* Copyright 2025 Esri
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
*/calcite-panel{width:100%;height:100%}.card-group{overflow:hidden;padding:.5rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}`;async function N(s,e,t){let i=t;return s&&(s?.IsEnterprisePortal&&await D("",e)&&i.push(a.NOTEBOOK),await O(e)?t.push(a.VELOCITY):s?.PortalUserPrivileges&&[c.VELOCITYFEEDS,c.VELOCITYBIGDATA,c.VELOCITYREALTIME].forEach(o=>{let r=t.indexOf(o)||-1;r!==-1&&t.splice(r,1)}),i=i.concat(L(V(s),M(s))),i=i.concat(R(s)),i=i.concat(await $(s))),Promise.resolve(i)}function L(s,e){let t=[];return s&&e?t=[a.TRACKINGADMINANDTRACKING,a.TRACKINGADMIN,a.TRACKING]:s&&!e?t=[a.TRACKINGADMIN]:!s&&e&&(t=[a.TRACKING]),t}function R(s){return G(s)?[a.HUBPREMIUM]:[]}async function $(s){let e=await b(s?.RestUserSession);return await x(e,s?.RestUserSession)?[a.WORKFLOW]:[]}async function D(s,e){let t=s+"/sharing/rest",i={authentication:e,portal:t,params:{f:"json"}};return T(`${t}/portals/self/servers`,i).then(o=>o?.servers?.find(r=>r.serverFunction.indexOf("NotebookServer")>-1),o=>(console.error(o),!1))}function V(s){let e=s?.PortalUserSubset;return e?.role==="org_admin"&&!e?.hasOwnProperty("roleId")}function M(s){return s?.PortalSubset?.locationTrackingEnabled||!1}function G(s){return s?.PortalSubset?.hubPremiumEnabled||!1}var g=class extends C{constructor(){super(...arguments),this.authContextConsumer=h({context:P,subscribe:!0}),this.agoSolutionsGroupId="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="numviews",this.userSessionContextConsumer=h({context:U,subscribe:!0}),this.cards=[],this._translations=v({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${u} OR ${A}`,this._allCards=[],this._baseAgoTerms=u,this._categories=[],this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="numviews",this._sortOrder="desc",this._userPrivileges=[],this.cardsFetched=_()}static{this.properties={authContextConsumer:32,agoSolutionsGroupId:1,enterpriseSolutionsGroupId:1,locale:1,orgUrl:1,portalUrl:1,sortType:1,userSessionContextConsumer:32,cards:16,_translations:16}}static{this.styles=F}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this.cards=await this._getSolutions()}async load(){this._cardsFetcher=new d(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new d(this.locale,this.orgUrl,this.portalUrl),this.cards=await this._getSolutions(),await this._getDeployedSolutions(),this._userPrivileges=await this._getUserPrivileges(),console.log(this._userPrivileges)}render(){return n`<calcite-panel><calcite-card-group class="card-group" label>${this._renderCards()}</calcite-card-group></calcite-panel>`}_renderCards(){return this.cards.length?this.cards.map(e=>n`<solution-details-card .chip=${e.chip} .description=${e.description} .heading=${e.heading} itemId=${e.itemId??S} .thumbnail=${e.thumbnail}></solution-details-card>`):n`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.noSolutionsFound}</div></div>`}async _getSolutions(){let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},this.agoSolutionsGroupId,"",this.userSessionContextConsumer.value,{num:1e3}),t="/Categories/New Release",i=e?.cards.length?e.cards:[];this.sortType==="new"&&i.sort((r,l)=>r.categories.includes(t)&&!l.categories.includes(t)?-1:!r.categories.includes(t)&&l.categories.includes(t)?1:r.categories.includes(t)&&l.categories.includes(t)?r.categories.length-l.categories.length:0);let o=i.map(r=>({chip:r.categories.indexOf(t)>-1?"updated":"none",description:r.snippet,heading:r.title,itemId:r.id,thumbnail:r.thumbnailUrl}));return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards),this.cardsFetched.emit(o.length),o}async _getDeployedSolutions(){let e=this.authContextConsumer.value,t=this.userSessionContextConsumer.value;if(e&&t){let i=await E(e,t,this._cardsFetcher,this._cardsFetcherDeployed,I,"created");i&&(this._relatedSolutions=i.relatedSolutions,console.log(this._relatedSolutions))}}async _getUserPrivileges(){let e=[],t=this.authContextConsumer.value,i=this.userSessionContextConsumer.value;return i&&t&&(e=t.PortalUserPrivileges?await N(t,i,t?.PortalUserPrivileges):[]),e}_getSolutionsBriefcase(){return n`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${p`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;this._getSuggested=!1,this._sortOrder="desc",t==="suggested"?this._getSuggested=!0:t==="new"?this._sortField="relevance":(t==="relevance"||t==="title"||t==="numviews")&&(t==="title"&&(this._sortOrder="asc"),this._sortField=t),this.sortType=t}_filterCards(e){if(e.industry){let t=this._getIndustryValue(e.industry);if(e.domain){let i=this._getDomainValue(e.domain);this._categories=[`/Categories/${t}/${i}`]}else this._categories=[`/Categories/${t}`];this._getSolutions()}}_getDomainValue(e){return y[e]}_getIndustryValue(e){return e==="AEC"?"AEC":w[e]}_clearFilterCategories(){this._categories=[]}};f("solutions-all-panel",g);return g},d)
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
4
|
var R=(e=>(e.H="H",e.M="M",e.L="L",e))(R||{}),L=(e=>(e[e.ALLIGATOR_CRACKING=1]="ALLIGATOR_CRACKING",e[e.BLEEDING=2]="BLEEDING",e[e.BLOCK_CRACKING=3]="BLOCK_CRACKING",e[e.BUMPS_SAGS=4]="BUMPS_SAGS",e[e.CORRUGATION=5]="CORRUGATION",e[e.DEPRESSION=6]="DEPRESSION",e[e.EDGE_CRACKING=7]="EDGE_CRACKING",e[e.REFLECTION_CRACKING=8]="REFLECTION_CRACKING",e[e.LANE_SHOULDER_DROP_OFF=9]="LANE_SHOULDER_DROP_OFF",e[e.LONG_TRANS_CRACKING=10]="LONG_TRANS_CRACKING",e[e.PATCHING_UTIL_CUT_PATCHING=11]="PATCHING_UTIL_CUT_PATCHING",e[e.POLISHED_AGGREGATE=12]="POLISHED_AGGREGATE",e[e.POTHOLES=13]="POTHOLES",e[e.RAILROAD_CROSSING=14]="RAILROAD_CROSSING",e[e.RUTTING=15]="RUTTING",e[e.SHOVING=16]="SHOVING",e[e.SLIPPAGE_CRACKING=17]="SLIPPAGE_CRACKING",e[e.SWELL=18]="SWELL",e[e.RAVELING=19]="RAVELING",e[e.WEATHERING=20]="WEATHERING",e))(L||{});function S(e,o,u,t=!1){let r=Number.parseInt(e),n=R[o],l=Number.parseFloat(u.toString());if(Number.isNaN(l)||l===0)return"";let i=t===!0||t.toString().toLowerCase()==="true",s;switch(r){case 1:s=k;break;case 2:s=$;break;case 3:s=D;break;case 4:s=m;break;case 5:s=P;break;case 6:s=K;break;case 7:s=F;break;case 8:s=V;break;case 9:s=y;break;case 10:s=U;break;case 11:s=w;break;case 12:s=x;break;case 13:s=B;break;case 14:s=j;break;case 15:s=W;break;case 16:s=q;break;case 17:s=z;break;case 18:s=J;break;case 19:s=Q;break;case 20:s=X;break}if(s){let f=s(n,Math.log10(l)),g=p(f),d=`${e}|${o}|${g}|${l}`;return i&&(console.log(`Deduct value: ${f}`),console.log(`Rounded deduct value: ${g}`),console.log(`Formatted devduct value (type|severity|roundedDV|density): ${d}`)),d}else return""}function I(e,o=!1){let u=e.indexOf("|")>-1?h(e,o):e.split(",").map(n=>Number.parseFloat(n)),t=o===!0||o.toString().toLowerCase()==="true",r=0;if(u=u.filter(n=>Math.abs(n)>0),u.length>0){let n=Y(u,t);n!==void 0&&(r=100-p(n))}return r}function h(e,o){let u={},t=v(e),r=Object.keys(t).filter(n=>Object.keys(t[n]).length>1);return r.length>0&&r.forEach(n=>{let l,i,s,f,g,d;if(Object.keys(t[n]).forEach(c=>{c==="H"?(l=t[n][c].deductValue,f=t[n][c].density):c==="M"?(i=t[n][c].deductValue,g=t[n][c].density):(s=t[n][c].deductValue,d=t[n][c].density)}),l!==void 0&&i!==void 0&&s!==void 0&&f!==void 0&&g!==void 0&&d!==void 0){let c=(f&&g&&d?M:_)(n,l,i,s,f,g,d,o);c&&(u[n]=c,o&&(console.log("updates"),console.log(u)))}}),T(e,u)}function M(e,o,u,t,r,n,l,i){let s=I(`${o},${u},${t}`,!0);i&&(console.log("pci1"),console.log(s));let f=l+n,g=N(e,"M",f.toString(),o,i),d=n+r,c=N(e,"H",d.toString(),t,i),b=l+r,H=N(e,"H",b.toString(),u,i),O=l+n+r,A=N(e,"H",O.toString(),0,i);i&&(console.log("low med pci2"),console.log(g.pci),console.log("med high pci2"),console.log(c.pci),console.log("low high pci2"),console.log(H.pci),console.log("low med high pci2"),console.log(A.pci));let E=[g,c,H,A].reduce((C,G)=>G.pci>s&&(!C||G.pci>C.pci)?G:C,void 0);return E?E.dv:void 0}function _(e,o,u,t,r,n,l,i){let s=I(`${o||u},${t||u}`,!0);i&&(console.log("pci1"),console.log(s));let f=r||n,g=f+(l||n),d=N(e,f===r?"H":"M",g.toString(),0,i);return i&&(console.log("pci2"),console.log(d.pci)),d.pci>s?d.dv:void 0}function N(e,o,u,t,r){let n=S(e,o,u).split("|"),l=Number.parseFloat(n[2]);return{pci:I(`${n[2]},${t}`,r),dv:t?[l,t]:[l]}}function v(e){return e.split(",").reduce((o,u)=>{let t=u.split("|"),r=t[0],n=t[1],l=Number.parseFloat(t[2]),i=Number.parseFloat(t[3]);return o[r]||(o[r]={}),o[r][n]={deductValue:l,density:i},o},{})}function T(e,o){let u=[];return e.split(",").reduce((t,r)=>{let n=r.split("|"),l=n[0],i=Number.parseFloat(n[2]);return Object.keys(o).length>0&&o[l]?(u.push(l),t.push(...o[l]),delete o[l]):u.indexOf(l)<0&&t.push(i),t},[])}function a(e,o){return o.reduce((u,t,r)=>u+=r===0?t:r===1?t*e:t*Math.pow(e,r),0)}function p(e){return Math.round(e*10)/10}function k(e,o){return a(o,e==="H"?[30.71,29.22,9.407,-6.981,-2.158,3.047,-.6578]:e==="M"?[21.62,21.32,5.194,-1.343,.2341]:[11.31,16.05,7.572,-1.471])}function $(e,o){return a(o,e==="H"?[5.343,6.927,7.926,4.265,-.7582]:e==="M"?[2.38,5.483,4.128,.8366,.03659,.1052]:[.01391,.5079,1.576,1.191,.1329,.03823])}function D(e,o){return a(o,e==="H"?[7.926,11.93,8.826,3.432,-1.382]:e==="M"?[2.587,9.142,6.647,-.455,-.2439,.1107]:[.646,4.002,4.2,.4987,-.06269])}function m(e,o){return a(o,e==="H"?[52.77,38.07,8.964,-.4148,-1.589,2.478]:e==="M"?[24.66,27.86,15.73,3.295,-5.27,5.921,7.959]:[8.768,13.79,7.064,7.455,6.041,-1.739,-1.371])}function P(e,o){return a(o,e==="H"?[34.21,21.59,1.863,6.141,-.687,-1.885,.4916]:e==="M"?[15.78,19.69,6.276,-2.124,.5868,.06045]:[2.173,5.609,5.976,-.7348,-.2172,1.494,-.5659])}function K(e,o){return a(o,e==="H"?[17.84,5.904,9.406,18.28,-2.753,-7.798,2.402]:e==="M"?[8.471,3.171,10.25,12.2,-.9687,-4.601,1.079]:[4.836,-.7572,4.786,12.39,1.233,-4.871,.9749])}function F(e,o){return a(o,e==="H"?[14.99,13.5,10.62,5.15,-1.792,-2.826]:e==="M"?[9.177,10.26,5.704,-.6812,-.8588,.2123]:[3.049,4.802,4.058,-.3556,-1.55,1.02])}function V(e,o){return a(o,e==="H"?[14.99,17.21,27.63,31.13,-20.94,-18.82,9.985]:e==="M"?[9.9193,10.88,8.073,14.8,-3.792,-9.583,3.651]:[2.356,6.664,3.717,-1.393,1.94,1.785,-.9707])}function y(e,o){return a(o,e==="H"?[7.549,6.907,7.284,9.304,2.064]:e==="M"?[4.02,1.744,14.36,15.92,-40.22,23.6]:[2.004,1.065,9.706,11.75,-27.52,15.04])}function U(e,o){return a(o,e==="H"?[19.56,24.06,12.12,9.336,1.532,-4.396]:e==="M"?[9.751,15.53,4.719,1.369,1.206,-1.164]:[2.347,9.074,8.424,-1.338,-1.873,1.144])}function w(e,o){return a(o,e==="H"?[20.15,16.55,5.415,10.77,3.257,-4.502]:e==="M"?[10.28,12.71,6.174,1.928,.6923,-.4673]:[2.523,6.892,5.702,2.407,.2185,-.8722])}function x(e,o){return a(o,e==="H"||e==="M"||e==="L"?[3.417,-26.82,71.15,-76.22,38.52,-6.904]:[])}function B(e,o){return a(o,e==="H"?[110.7,60.66,2.378,-2.664]:e==="M"?[90.47,60.41,-.1123,-4.746]:[58.19,40.53,2.884,-1.443,.1195])}function j(e,o){return a(o,e==="H"?[20,38.64,-62.82,193.6,-162.7,41.22]:e==="M"?[6.994,23.47,-52.3,167.3,-143.6,37.64]:[1.998,-.7488,13.8,-.7917,-1.981])}function W(e,o){return a(o,e==="H"?[27.61,25.19,8.557,1.65,-2.203]:e==="M"?[18.47,20.77,6.617,-1.13,-2.286]:[8.833,14.84,3.129,.1451,2.438,-1.279])}function q(e,o){return a(o,e==="H"?[18.7,20.17,10.3,4.694,1.331,-2.61]:e==="M"?[10.39,14.78,5.488,4.001,3.23,-2.387]:[4.002,10.66,6.332,-.5226,-.1923])}function z(e,o){return a(o,e==="H"?[19.73,32.21,25.87,-2.871,-10.55,1.496,.7393]:e==="M"?[11.38,18.55,18.38,1.628,-7.596,.5841,.5946]:[5.144,12.95,11.95,-.833,-2.995,1.325,-.2113])}function J(e,o){return a(o,e==="H"?[34,16.84,-23.09,41.17,-14.84]:e==="M"?[12,15.67,20.59,-28.33,21,-5.508]:[1.995,11.9,-12.83,16.74,-5.361])}function Q(e,o){return a(o,e==="H"?[16.77,10.67,5.758,12.9,-.0633,-5.659,1.48]:e==="M"?[8.512,5.106,1.63,3.469,1.028,-1.211,.1938]:[])}function X(e,o){return a(o,e==="H"?[3.673,3.349,2.598,-1.233,2.754,2.434,-1.485]:e==="M"?[1.12,.9769,.93,-.5955,1.041,1.111,-.614]:[-.0386,-.0736,.834,1.63,-.0287,-.639,.1515])}function Y(e,o){let u,t=e.filter(r=>r>2);if(t.length<=1)u=t.reduce((r,n)=>(r+=n,r),0),o&&(console.log("If none or only one individual deduct value is greater"),console.log("than two, the total value is used in place of the maximum CD"),console.log(`Max CDV: ${u}`));else{let r=e.sort((i,s)=>s-i),n=r[0],l=1+9/98*(100-n);if(o&&(console.log(`Deduct values sorted in descending order: ${r}`),console.log(`Highest deduct value: ${n}`),console.log(`Allowable number of deducts including fractions: ${l}`)),l<=10){let i=Z(r,l);o&&console.log(`Reduce deduct values to the m largest including the fractional part: ${i}`);let s=e1(i,o);u=Math.max(...s),o&&console.log(`Max CDV: ${u}`)}else o&&console.log("Allowable number of deducts including fractions (must be less than or equal to ten)")}return u}function Z(e,o){let u=o-Math.floor(o);return e.length<o?e:e.reduce((t,r,n)=>(n+1<o?t.push(r):u>0&&t.push(p(r*u)),t),[])}function e1(e,o){let u=e.length,t=[];for(;u>=1;)o&&console.log(`vals: ${e}`),t.push(o1(e,o)),u-=1,e.splice(u,1,2);return t}function o1(e,o){let u=e.reduce((r,n)=>r+=n,0),t=e.reduce((r,n)=>n>2?r+1:r,0);return t1(u,t,o)}function t1(e,o,u){let t=a(e,{7:[-9.482,.6045,3563e-7,-5448e-9],6:[-8.165,.5724,4266e-7,-4254e-9],5:[-7.932,.6091,3464e-7,-4265e-9],4:[-6.78,.6301,7376e-7,-6357e-9],3:[-5.015,.7546,-43e-5,-3075e-9],2:[-1.668,.7992,-3013e-7,-5214e-9],1:[1651e-18,1,-4249e-21,1149e-22]}[o>=7?7:o]);return u&&(console.log(`totalDV: ${e}`),console.log(`q: ${o}`),console.log(`CDV: ${t}`)),t}export{R as a,L as b,S as c,I as d};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a}from"./2SPBK2JC.js";import"./OBQ5ECDX.js";import"./72MDJVHR.js";import"./MNIQAXS4.js";import"./ROI7GMNK.js";import{a as s,b as r}from"./CBUD7IB5.js";import"./UWZF6TGQ.js";import"./TVNGRZHA.js";import{a as o}from"./HHBX6OJB.js";import{a as i}from"./NSTT2IOP.js";import"./L4A3TP42.js";import"./HM3CN2LF.js";import"./L7V6N63X.js";import"./BYBUA3SD.js";import"./HEU5ADOI.js";import"./RSJCSZWF.js";import"./JGMZYU54.js";import"./SF6257JR.js";import"./NUYU2UBS.js";import"./EJNMBFZU.js";import"./OBISJL4B.js";import"./DZR5OU2Z.js";import"./MCYHMQTR.js";import"./TPK7LVDB.js";import"./TVWOFQVC.js";import"./R4O6DVY6.js";import"./Q5X2S4MD.js";import"./47E56IWZ.js";import"./GVYKKXOF.js";import"./JO3IHRR7.js";import"./NAICN42V.js";import"./GZOFO77D.js";import"./ZUNKV2EF.js";import"./VLURIFFB.js";import"./2B3Q4HD7.js";import"./Y2VUFZUV.js";import"./WRLGEWRN.js";import"./MO6ELGZS.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c as buildUiSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{b as m,c as h}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{b as m,c as h}from"./VLP6DDYE.js";import"./ZXQJLGRP.js";import"./Y2TULO3A.js";import"./MNIQAXS4.js";import"./L4A3TP42.js";import"./HM3CN2LF.js";import"./BYBUA3SD.js";import"./FTU72FJP.js";import"./7L34ACJ2.js";import{a as b,b as g}from"./DF5QXKGH.js";import{b as d}from"./MMSYI6GH.js";import{a as c}from"./YZ4LCVJ7.js";import{D as o,I as p,c as n,d as r}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var u=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],y=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),D=n`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
4
|
var e={"hub:initiative:events":!1,"hub:initiative:content":!0,"hub:initiative:discussions":!1},i=["hub:initiative","hub:initiative:create","hub:initiative:delete","hub:initiative:edit","hub:initiative:view","hub:initiative:owner","hub:initiative:canChangeAccess","hub:initiative:events","hub:initiative:content","hub:initiative:discussions","hub:initiative:workspace","hub:initiative:workspace:overview","hub:initiative:workspace:dashboard","hub:initiative:workspace:details","hub:initiative:workspace:metrics","hub:initiative:workspace:projects","hub:initiative:workspace:projects:member","hub:initiative:workspace:projects:manager","hub:initiative:workspace:settings","hub:initiative:workspace:collaborators","hub:initiative:workspace:content","hub:initiative:workspace:events","hub:initiative:workspace:metrics","hub:initiative:workspace:catalogs","hub:initiative:workspace:catalog","hub:initiative:workspace:catalog:content","hub:initiative:workspace:catalog:events","hub:initiative:workspace:associationGroup:create","hub:initiative:manage"],t=[{permission:"hub:initiative",services:["portal"],licenses:["hub-premium"]},{permission:"hub:initiative:create",dependencies:["hub:initiative"],authenticated:!0,privileges:["portal:user:createItem"]},{permission:"hub:initiative:view",services:["portal"],authenticated:!1,licenses:["hub-premium","hub-basic"]},{permission:"hub:initiative:owner",dependencies:["hub:initiative"],authenticated:!0,entityOwner:!0},{permission:"hub:initiative:edit",services:["portal"],authenticated:!0,entityEdit:!0,licenses:["hub-premium","hub-basic"]},{permission:"hub:initiative:delete",dependencies:["hub:initiative"],authenticated:!0,entityDelete:!0},{permission:"hub:initiative:canChangeAccess",dependencies:["hub:initiative"],authenticated:!0,assertions:[{property:"context:currentUser.privileges",type:"contains-some",value:["portal:admin:shareToPublic","portal:admin:shareToOrg","portal:user:shareToPublic","portal:user:shareToOrg"]},{property:"entity:itemControl",type:"eq",value:"admin"}]},{permission:"hub:initiative:events",dependencies:["hub:initiative:view"]},{permission:"hub:initiative:content",dependencies:["hub:initiative:edit"]},{permission:"hub:initiative:discussions",dependencies:["hub:initiative:view"]},{permission:"hub:initiative:workspace",dependencies:["hub:feature:workspace"]},{permission:"hub:initiative:workspace:overview",dependencies:["hub:initiative:workspace","hub:initiative:view"]},{permission:"hub:initiative:workspace:dashboard",dependencies:["hub:initiative:workspace","hub:initiative:view"]},{permission:"hub:initiative:workspace:details",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:metrics",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:projects",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:projects:member",dependencies:["hub:initiative:workspace:projects"],assertions:[{property:"context:currentUser",type:"is-group-member",value:"entity:associations.groupId"}]},{permission:"hub:initiative:workspace:projects:manager",dependencies:["hub:initiative:workspace:projects"],assertions:[{property:"context:currentUser",type:"is-group-admin",value:"entity:associations.groupId"}]},{permission:"hub:initiative:workspace:settings",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:collaborators",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:content",dependencies:["hub:initiative:workspace","hub:initiative:edit"],availability:["alpha"]},{permission:"hub:initiative:workspace:events",dependencies:["hub:initiative:workspace","hub:initiative:edit"],availability:["alpha"]},{permission:"hub:initiative:workspace:metrics",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:catalogs",dependencies:["hub:initiative:workspace","hub:feature:catalogs","hub:initiative:edit"]},{permission:"hub:initiative:workspace:catalog",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:catalog:content",dependencies:["hub:initiative:workspace:catalog"]},{permission:"hub:initiative:workspace:catalog:events",dependencies:["hub:initiative:workspace:catalog","hub:event","hub:feature:catalogs:edit:advanced"]},{permission:"hub:initiative:manage",dependencies:["hub:initiative:edit"]},{permission:"hub:initiative:workspace:associationGroup:create",dependencies:["hub:initiative:workspace:projects","hub:group:create"]}];var r={"hub:project:events":!1,"hub:project:content":!0,"hub:project:discussions":!1},a=["hub:project","hub:project:create","hub:project:delete","hub:project:edit","hub:project:view","hub:project:owner","hub:project:canChangeAccess","hub:project:events","hub:project:content","hub:project:discussions","hub:project:associations","hub:project:workspace","hub:project:workspace:overview","hub:project:workspace:dashboard","hub:project:workspace:details","hub:project:workspace:initiatives","hub:project:workspace:settings","hub:project:workspace:collaborators","hub:project:workspace:content","hub:project:workspace:events","hub:project:workspace:metrics","hub:project:workspace:catalog","hub:project:workspace:catalog:content","hub:project:workspace:catalog:events","hub:project:manage"],n=[{permission:"hub:project",services:["portal"],licenses:["hub-premium"]},{permission:"hub:project:create",authenticated:!0,dependencies:["hub:project"],privileges:["portal:user:createItem"]},{permission:"hub:project:view",services:["portal"]},{permission:"hub:project:edit",services:["portal"],authenticated:!0,entityEdit:!0,licenses:["hub-premium","hub-basic"]},{permission:"hub:project:delete",dependencies:["hub:project"],authenticated:!0,entityDelete:!0},{permission:"hub:project:owner",dependencies:["hub:project"],authenticated:!0,entityOwner:!0},{permission:"hub:project:canChangeAccess",dependencies:["hub:project"],authenticated:!0,assertions:[{property:"context:currentUser.privileges",type:"contains-some",value:["portal:admin:shareToPublic","portal:admin:shareToOrg","portal:user:shareToPublic","portal:user:shareToOrg"]},{property:"entity:itemControl",type:"eq",value:"admin"}]},{permission:"hub:project:events",dependencies:["hub:project:view"],entityConfigurable:!0},{permission:"hub:project:content",dependencies:["hub:project:edit"]},{permission:"hub:project:discussions",dependencies:["hub:project:view"]},{permission:"hub:project:associations",dependencies:["hub:project:view"]},{permission:"hub:project:workspace"},{permission:"hub:project:workspace:overview",dependencies:["hub:project:workspace","hub:project:view"]},{permission:"hub:project:workspace:dashboard",dependencies:["hub:project:workspace","hub:project:view"]},{permission:"hub:project:workspace:details",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:initiatives",dependencies:["hub:project:workspace","hub:project:associations","hub:project:edit"]},{permission:"hub:project:workspace:settings",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:collaborators",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:content",dependencies:["hub:project:workspace","hub:project:edit"],availability:["alpha"],environments:["qaext"]},{permission:"hub:project:workspace:events",dependencies:["hub:project:workspace","hub:project:edit"],availability:["alpha"],environments:["qaext"]},{permission:"hub:project:workspace:metrics",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:catalog",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:catalog:content",dependencies:["hub:project:workspace:catalog"]},{permission:"hub:project:workspace:catalog:events",dependencies:["hub:project:workspace:catalog","hub:event","hub:feature:catalogs:edit:advanced"]},{permission:"hub:project:manage",dependencies:["hub:project:edit"]}];export{e as a,i as b,t as c,r as d,a as e,n as f};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as l,b as a}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as l,b as a}from"./DF5QXKGH.js";import{b}from"./MMSYI6GH.js";import{a as f}from"./YZ4LCVJ7.js";import{D as w,E as o,I as u,c as _,d as h,g as c}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var $=_`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as F}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as F}from"./YVIZHCBF.js";import{j as x}from"./SZGXZADB.js";import{a as M}from"./YZ4LCVJ7.js";import{A as E,D as k,I as L,c as v,d as u,f as A,o as I,q as $,s as T,t as N,u as R,w as S,x as m,y as w,z as C}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var D=(n,e,l)=>{let r=new Map;for(let t=e;t<=l;t++)r.set(n[t],t);return r},U=N(class extends R{constructor(n){if(super(n),n.type!==T.CHILD)throw Error("repeat() can only be used in text expressions")}dt(n,e,l){let r;l===void 0?l=e:e!==void 0&&(r=e);let t=[],i=[],s=0;for(let a of n)t[s]=r?r(a,s):s,i[s]=l(a,s),s++;return{values:i,keys:t}}render(n,e,l){return this.dt(n,e,l).values}update(n,[e,l,r]){let t=C(n),{values:i,keys:s}=this.dt(e,l,r);if(!Array.isArray(t))return this.ut=s,i;let a=this.ut??=[],p=[],y,O,o=0,h=t.length-1,c=0,d=i.length-1;for(;o<=h&&c<=d;)if(t[o]===null)o++;else if(t[h]===null)h--;else if(a[o]===s[c])p[c]=m(t[o],i[c]),o++,c++;else if(a[h]===s[d])p[d]=m(t[h],i[d]),h--,d--;else if(a[o]===s[d])p[d]=m(t[o],i[d]),S(n,p[d+1],t[o]),o++,d--;else if(a[h]===s[c])p[c]=m(t[h],i[c]),S(n,t[o],t[h]),h--,c++;else if(y===void 0&&(y=D(s,c,d),O=D(a,o,h)),y.has(a[o]))if(y.has(a[h])){let g=O.get(s[c]),_=g!==void 0?t[g]:null;if(_===null){let f=S(n,t[o]);m(f,i[c]),p[c]=f}else p[c]=m(_,i[c]),S(n,t[o],_),t[g]=null;c++}else E(t[h]),h--;else E(t[o]),o++;for(;c<=d;){let g=S(n,p[d+1]);m(g,i[c]),p[c++]=g}for(;o<=h;){let g=t[o++];g!==null&&E(g)}return this.ut=s,w(n,p),A}});var P=v`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{d as I}from"./CKIF7ITD.js";import{C as x,b as g,c as w,z as v}from"./YNVH5WOM.js";import{a as V}from"./7XECJH7Y.js";import"./6Z2DWNPT.js";import{a as L,c,d as E,e as S,f as P}from"./A62HEPRS.js";import"./GPUC2YAZ.js";var D=":host{display:block;--instant-apps-scoreboard-background-color:var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color:var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom:0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0px 3px 15px rgba(0, 0, 0, 0.2);border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding:1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%, -15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:0.5vh;padding-bottom:0.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}",$=D,u="instant-apps-scoreboard",U=6,C=`${u}--`,p=`${u}__`,F=V.medium[1],m={BASE:u,itemsContainer:`${p}items-container`,items:`${p}items`,item:`${p}item`,label:`${p}item-label`,value:`${p}item-value`,valuePlaceholder:`${p}item-value-placeholder`,position:{bottom:`${p}position--bottom`,side:`${p}position--side`,left:`${p}position--left`,right:`${p}position--right`},mode:{floating:`${p}mode--floating`,pinned:`${p}mode--pinned`}},A=class{constructor(t){L(this,t),this.scoreboardItemsUpdated=P(this,"scoreboardItemsUpdated",7),this.view=void 0,this.items=void 0,this.position="bottom",this.mode="floating",this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.state="loading",this.messages=void 0,this.itemIndex=0,this.layers=void 0,this.layerViews=void 0,this.isMobile=!1}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state="calculating",await(this.view?.map).loadAll();let t=this.items.map(e=>e?.layer?.id),s=e=>e.type!=="feature"||!e.isTable,o=e=>e.type==="feature"||e.type==="scene",i=e=>t.includes(e.id),a=e=>s(e)&&o(e)&&i(e);this.layers=this.view?.map?.allLayers?.filter(e=>a(e)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(e=>e.outFields=["*"]);let t=[];this.layers.forEach(e=>{let n=e,r=this.view?.whenLayerView(n);t.push(r)});let i=(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled"&&e.value).map(e=>e.value),a=[];i.forEach(e=>a.push(this.reactiveUtils?.whenOnce(()=>!e.updating))),await Promise.all(a),this.layerViews=await g([...i])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state="calculating";let t=[...this.items],s=[];this.queryStatDefinitions(t,s);let o=await Promise.all(s);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(i=>this.items.push(i)),this.state="complete",this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async componentWillLoad(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});this.el?.parentElement&&t.observe(this.el.parentElement);try{this.state="loading",await this.initMessages()}catch{return this.state="disabled",Promise.reject(new Error("Failed to load messages"))}finally{if(!this.view||!this.items)this.state="disabled";else try{await this.initModules()}catch{this.state="disabled"}}}async componentDidLoad(){if(this.state!=="disabled")try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state="disabled",console.error(`${u}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){this.state="disabled",this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initMessages(){let t;try{return t=(await I(this.el))[0],this.messages={...this.messages,...t},Promise.resolve()}catch{console.error("FAILED TO LOAD MESSAGES")}}async initModules(){try{let[t,s]=await Promise.all([v(),x()]);return this.reactiveUtils=t,this.intl=s,this.handles=await w(),this.layers=await g([]),this.layerViews=await g([]),Promise.resolve()}catch(t){throw console.error(t),this.state="disabled",new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,s=t;try{return await s.loadAll(),Promise.resolve()}catch(o){throw console.error(o),this.state="disabled",new Error("Failed to load map resources")}}}generateUID(){return t=>{let s=Math.random(),o=Math.floor(Math.random()*10)+11,a=s.toString(o).replace("0.","");t.uid=a}}render(){let{state:t}=this,s=t==="loading",o=t==="calculating",i=t==="disabled",a=s||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null,e=this.getPositionClass,n=this.getStyleClass;return c(E,{key:"2ec5b4e44c244ee935453d96887e07633f2abf37",class:`${e} ${n}`},i?null:[a,this.items?.length>0?this.renderBase():null])}renderBase(){return c("div",{key:"instant-apps-scoreboard-base",class:u},this.renderContent())}renderContent(){let{state:t}=this;return t==="loading"?this.renderLoader():t==="calculating"||t==="complete"?this.renderItemsContainer():null}renderItemsContainer(){let[t,s]=this.renderPreviousNextButtons();return c("div",{class:m.itemsContainer},t,this.renderItems(),s)}renderPreviousNextButtons(){let t=this.getItemLimit(),s=this.items.filter(k=>k.visible)?.length<=t,o=this.itemIndex===0,i=this.isEnd,a=this.isMobile?!0:this.position==="bottom",e=a?"start":"center",l={previous:a?"chevron-left":"chevron-up",next:a?"chevron-right":"chevron-down"},d=o||s?"blank":l.previous,h=i||s?"blank":l.next,b={previous:o||s,next:i||s},_="transparent",f=this.isMobile?"s":"l",y={previous:this.messages?.previous,next:this.messages?.next};return[c("calcite-action",{onClick:this.previousItem.bind(this),icon:d,disabled:b.previous,alignment:e,scale:f,appearance:_,text:y.previous??"",label:y.previous}),c("calcite-action",{onClick:this.nextItem.bind(this),icon:h,disabled:b.next,alignment:e,scale:f,appearance:_,text:y.next??"",label:y.next})]}renderItems(){let{items:t}=m,o=this.getItemsToDisplay.map(i=>this.renderItem(i));return c("ul",{class:t},o)}renderItem(t){let{label:s}=t;return c("li",{class:m.item},c("span",{class:m.label,title:s},s),this.renderValue(t))}renderValue(t){let{displayValue:s}=t,o=this.state==="calculating",i=this.state==="disabled",a=s===void 0&&o,e=s||this.messages?.NA,r=!this.layers?.find(d=>t?.layer?.id===d.id)?.visible,l=a?this.renderValuePlaceholder():i?"":r?c("calcite-icon",{icon:"view-hide",scale:"l",title:this.messages?.layerVisibilityOff}):e;return c("span",{class:m.value},l)}renderValuePlaceholder(){return c("span",{class:m.valuePlaceholder})}renderProgress(){let t=`${C}calcite-`;return c("calcite-progress",{key:`${t}progress`,type:"indeterminate"})}renderLoader(){let t=`${C}calcite-`,s=this.messages?.loading;return c("calcite-loader",{key:`${t}loader`,label:s??"",text:s,scale:"m"})}get getPositionClass(){let{bottom:t,left:s,right:o,side:i}=m.position,a=`${this.position==="left"?s:o} ${i}`;return this.isMobile||this.position==="bottom"?t:a}get getStyleClass(){let{floating:t,pinned:s}=m.mode;return this.isMobile?s:this.mode==="floating"?t:s}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<F:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(s=>s.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),o=this.items.slice(this.items.length-t).map(a=>a.uid),i=this.items.slice(this.itemIndex,this.itemIndex+t).map(a=>a.uid);return o.every((a,e)=>a===i[e])}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,s){let o=e=>{let{field:n,operation:r}=e,l=n,d=`${n}_${r}`;return{onStatisticField:l,outStatisticFieldName:d,statisticType:r}},i=(e,n)=>{let r=this.queryType==="layer"?e.layer.createQuery():e.createQuery(),l=[n],d=this.geometry?this.geometry:this.view?.extent;r.outStatistics=l,r.geometry=d;let h=e?.filter?.timeExtent??e?.featureEffect?.filter?.timeExtent??null;return h&&(r.timeExtent=h),r},a=()=>async e=>{let n=this.layerViews?.find(h=>h.layer.id===e?.layer?.id);if(!n)return;let r=o(e),l=i(n,r),d=this.queryType==="layer"?n.layer.queryFeatures(l):n.queryFeatures(l);s.push(d)};t.forEach(a())}handleQueryFeaturesResponses(t,s){let o=e=>{let r=e.features[0],{attributes:l}=r;return Object.values(l)[0]},i=()=>({notation:"compact",compactDisplay:"short"}),a=()=>(e,n)=>{let r=o(e),l=i(),d=r!==null,h=d?this.intl.formatNumber(r,l):null,b=d?`${h}`:"";s[n].displayValue=b,s[n].value=r};t.forEach(a())}initStationaryWatcher(){let t={once:!0,initial:!0},s=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>s()),i="stationary-watcher-key";this.handles?.has(i)&&this.handles.remove(i),this.handles?.add(o(),i)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let s=[],o=i=>{let a=async()=>{let n=await this.view?.whenLayerView(i);await this.reactiveUtils.whenOnce(()=>!n?.updating),this.calculateScoreboardItemValues()},e=this.reactiveUtils.watch(()=>i?.visible,async()=>await a());s.push(e)};this.layers.forEach(o),this.handles?.add([...s],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?U:this.itemLimit}get el(){return S(this)}static get watchers(){return{items:["generateUIDs","storeLayers"],layers:["storeLayerViews"],geometry:["calculateScoreboardItemValuesFromGeometry"],layerViews:["calculateScoreboardItemValues"]}}};A.style=$;export{A as instant_apps_scoreboard};
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{d as I}from"./LWII4SFH.js";import{C as x,b as g,c as w,z as v}from"./YYROVQF2.js";import{a as V}from"./A42EXUKX.js";import"./5MIMVQY5.js";import{a as L,c,d as E,e as S,f as P}from"./ABK3KAVX.js";import"./MO6ELGZS.js";var D=":host{display:block;--instant-apps-scoreboard-background-color:var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color:var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom:0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0px 3px 15px rgba(0, 0, 0, 0.2);border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding:1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%, -15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:0.5vh;padding-bottom:0.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}",$=D,u="instant-apps-scoreboard",U=6,C=`${u}--`,p=`${u}__`,F=V.medium[1],m={BASE:u,itemsContainer:`${p}items-container`,items:`${p}items`,item:`${p}item`,label:`${p}item-label`,value:`${p}item-value`,valuePlaceholder:`${p}item-value-placeholder`,position:{bottom:`${p}position--bottom`,side:`${p}position--side`,left:`${p}position--left`,right:`${p}position--right`},mode:{floating:`${p}mode--floating`,pinned:`${p}mode--pinned`}},A=class{constructor(t){L(this,t),this.scoreboardItemsUpdated=P(this,"scoreboardItemsUpdated",7),this.view=void 0,this.items=void 0,this.position="bottom",this.mode="floating",this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.state="loading",this.messages=void 0,this.itemIndex=0,this.layers=void 0,this.layerViews=void 0,this.isMobile=!1}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state="calculating",await(this.view?.map).loadAll();let t=this.items.map(e=>e?.layer?.id),s=e=>e.type!=="feature"||!e.isTable,o=e=>e.type==="feature"||e.type==="scene",i=e=>t.includes(e.id),a=e=>s(e)&&o(e)&&i(e);this.layers=this.view?.map?.allLayers?.filter(e=>a(e)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(e=>e.outFields=["*"]);let t=[];this.layers.forEach(e=>{let n=e,r=this.view?.whenLayerView(n);t.push(r)});let i=(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled"&&e.value).map(e=>e.value),a=[];i.forEach(e=>a.push(this.reactiveUtils?.whenOnce(()=>!e.updating))),await Promise.all(a),this.layerViews=await g([...i])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state="calculating";let t=[...this.items],s=[];this.queryStatDefinitions(t,s);let o=await Promise.all(s);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(i=>this.items.push(i)),this.state="complete",this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async componentWillLoad(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});this.el?.parentElement&&t.observe(this.el.parentElement);try{this.state="loading",await this.initMessages()}catch{return this.state="disabled",Promise.reject(new Error("Failed to load messages"))}finally{if(!this.view||!this.items)this.state="disabled";else try{await this.initModules()}catch{this.state="disabled"}}}async componentDidLoad(){if(this.state!=="disabled")try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state="disabled",console.error(`${u}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){this.state="disabled",this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initMessages(){let t;try{return t=(await I(this.el))[0],this.messages={...this.messages,...t},Promise.resolve()}catch{console.error("FAILED TO LOAD MESSAGES")}}async initModules(){try{let[t,s]=await Promise.all([v(),x()]);return this.reactiveUtils=t,this.intl=s,this.handles=await w(),this.layers=await g([]),this.layerViews=await g([]),Promise.resolve()}catch(t){throw console.error(t),this.state="disabled",new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,s=t;try{return await s.loadAll(),Promise.resolve()}catch(o){throw console.error(o),this.state="disabled",new Error("Failed to load map resources")}}}generateUID(){return t=>{let s=Math.random(),o=Math.floor(Math.random()*10)+11,a=s.toString(o).replace("0.","");t.uid=a}}render(){let{state:t}=this,s=t==="loading",o=t==="calculating",i=t==="disabled",a=s||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null,e=this.getPositionClass,n=this.getStyleClass;return c(E,{key:"2ec5b4e44c244ee935453d96887e07633f2abf37",class:`${e} ${n}`},i?null:[a,this.items?.length>0?this.renderBase():null])}renderBase(){return c("div",{key:"instant-apps-scoreboard-base",class:u},this.renderContent())}renderContent(){let{state:t}=this;return t==="loading"?this.renderLoader():t==="calculating"||t==="complete"?this.renderItemsContainer():null}renderItemsContainer(){let[t,s]=this.renderPreviousNextButtons();return c("div",{class:m.itemsContainer},t,this.renderItems(),s)}renderPreviousNextButtons(){let t=this.getItemLimit(),s=this.items.filter(k=>k.visible)?.length<=t,o=this.itemIndex===0,i=this.isEnd,a=this.isMobile?!0:this.position==="bottom",e=a?"start":"center",l={previous:a?"chevron-left":"chevron-up",next:a?"chevron-right":"chevron-down"},d=o||s?"blank":l.previous,h=i||s?"blank":l.next,b={previous:o||s,next:i||s},_="transparent",f=this.isMobile?"s":"l",y={previous:this.messages?.previous,next:this.messages?.next};return[c("calcite-action",{onClick:this.previousItem.bind(this),icon:d,disabled:b.previous,alignment:e,scale:f,appearance:_,text:y.previous??"",label:y.previous}),c("calcite-action",{onClick:this.nextItem.bind(this),icon:h,disabled:b.next,alignment:e,scale:f,appearance:_,text:y.next??"",label:y.next})]}renderItems(){let{items:t}=m,o=this.getItemsToDisplay.map(i=>this.renderItem(i));return c("ul",{class:t},o)}renderItem(t){let{label:s}=t;return c("li",{class:m.item},c("span",{class:m.label,title:s},s),this.renderValue(t))}renderValue(t){let{displayValue:s}=t,o=this.state==="calculating",i=this.state==="disabled",a=s===void 0&&o,e=s||this.messages?.NA,r=!this.layers?.find(d=>t?.layer?.id===d.id)?.visible,l=a?this.renderValuePlaceholder():i?"":r?c("calcite-icon",{icon:"view-hide",scale:"l",title:this.messages?.layerVisibilityOff}):e;return c("span",{class:m.value},l)}renderValuePlaceholder(){return c("span",{class:m.valuePlaceholder})}renderProgress(){let t=`${C}calcite-`;return c("calcite-progress",{key:`${t}progress`,type:"indeterminate"})}renderLoader(){let t=`${C}calcite-`,s=this.messages?.loading;return c("calcite-loader",{key:`${t}loader`,label:s??"",text:s,scale:"m"})}get getPositionClass(){let{bottom:t,left:s,right:o,side:i}=m.position,a=`${this.position==="left"?s:o} ${i}`;return this.isMobile||this.position==="bottom"?t:a}get getStyleClass(){let{floating:t,pinned:s}=m.mode;return this.isMobile?s:this.mode==="floating"?t:s}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<F:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(s=>s.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),o=this.items.slice(this.items.length-t).map(a=>a.uid),i=this.items.slice(this.itemIndex,this.itemIndex+t).map(a=>a.uid);return o.every((a,e)=>a===i[e])}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,s){let o=e=>{let{field:n,operation:r}=e,l=n,d=`${n}_${r}`;return{onStatisticField:l,outStatisticFieldName:d,statisticType:r}},i=(e,n)=>{let r=this.queryType==="layer"?e.layer.createQuery():e.createQuery(),l=[n],d=this.geometry?this.geometry:this.view?.extent;r.outStatistics=l,r.geometry=d;let h=e?.filter?.timeExtent??e?.featureEffect?.filter?.timeExtent??null;return h&&(r.timeExtent=h),r},a=()=>async e=>{let n=this.layerViews?.find(h=>h.layer.id===e?.layer?.id);if(!n)return;let r=o(e),l=i(n,r),d=this.queryType==="layer"?n.layer.queryFeatures(l):n.queryFeatures(l);s.push(d)};t.forEach(a())}handleQueryFeaturesResponses(t,s){let o=e=>{let r=e.features[0],{attributes:l}=r;return Object.values(l)[0]},i=()=>({notation:"compact",compactDisplay:"short"}),a=()=>(e,n)=>{let r=o(e),l=i(),d=r!==null,h=d?this.intl.formatNumber(r,l):null,b=d?`${h}`:"";s[n].displayValue=b,s[n].value=r};t.forEach(a())}initStationaryWatcher(){let t={once:!0,initial:!0},s=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>s()),i="stationary-watcher-key";this.handles?.has(i)&&this.handles.remove(i),this.handles?.add(o(),i)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let s=[],o=i=>{let a=async()=>{let n=await this.view?.whenLayerView(i);await this.reactiveUtils.whenOnce(()=>!n?.updating),this.calculateScoreboardItemValues()},e=this.reactiveUtils.watch(()=>i?.visible,async()=>await a());s.push(e)};this.layers.forEach(o),this.handles?.add([...s],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?U:this.itemLimit}get el(){return S(this)}static get watchers(){return{items:["generateUIDs","storeLayers"],layers:["storeLayerViews"],geometry:["calculateScoreboardItemValuesFromGeometry"],layerViews:["calculateScoreboardItemValues"]}}};A.style=$;export{A as instant_apps_scoreboard};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a,b}from"./NAICN42V.js";import"./GZOFO77D.js";import"./ZUNKV2EF.js";import"./2B3Q4HD7.js";import"./Y2VUFZUV.js";import"./WRLGEWRN.js";import"./MO6ELGZS.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as O,c as R,d as g,e as u}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as O,c as R,d as g,e as u}from"./XAIHFHBP.js";import{a}from"./WMVWR4TI.js";import"./E7Z2VNGZ.js";import"./BNMMRZMR.js";import{c as s,e as o,f as c}from"./HK7LGCJZ.js";import"./SQVXPJDM.js";import"./OBQ5ECDX.js";import"./72MDJVHR.js";import"./MNIQAXS4.js";import"./ROI7GMNK.js";import"./L4A3TP42.js";import"./HM3CN2LF.js";import"./BYBUA3SD.js";import{c as r}from"./SF6257JR.js";import"./MO6ELGZS.js";var A={[r.channelRead]:s.READ,[r.channelWrite]:s.WRITE,[r.channelReadWrite]:s.READWRITE,[r.channelManage]:s.MANAGE,[r.channelModerate]:s.MODERATE,[r.channelOwner]:s.OWNER},C={[a.anonymous]:{category:o.ANONYMOUS_USER,subCategory:null},[a.authenticated]:{category:o.AUTHENTICATED_USER,subCategory:null},[a.group]:{category:o.GROUP,subCategory:c.MEMBER},[a.groupAdmin]:{category:o.GROUP,subCategory:c.ADMIN},[a.org]:{category:o.ORG,subCategory:c.MEMBER},[a.orgAdmin]:{category:o.ORG,subCategory:c.ADMIN},[a.owner]:{category:o.USER,subCategory:null},[a.user]:{category:o.USER,subCategory:null}};function i(n){function e(l,t){let E=C[t.collaborationType];return E?[...l,Object.assign(Object.assign({},E),{key:t.collaborationId||null,role:A[t.permission]})]:l}return{name:n.name,blockWords:n.blockWords,allowAsAnonymous:n.allowAsAnonymous,channelAclDefinition:n.permissions.reduce(e,[])}}async function f(n,e){let l=i(n),t=await O(Object.assign({data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function I(n,e){let l=i(n),t=await R(Object.assign({channelId:n.id,data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function T(n,e){await g(Object.assign({channelId:n},e.hubRequestOptions))}export{f as createHubChannel,T as deleteHubChannel,I as updateHubChannel};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as e,b as t}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as e,b as t}from"./GVYKKXOF.js";var n={if:{properties:{isAllDay:{const:!1}}},then:{required:["startTime","endTime"],properties:{endTime:{format:"timePickerTime",formatExclusiveMinimum:{$data:"1/startTime"}}}}},r={if:{properties:{attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineUrl"],properties:{onlineUrl:{format:"url"}}}},o={if:{properties:{onlineCapacityType:{const:t.Fixed},attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineCapacity"],properties:{onlineCapacity:{minimum:1}}}},p={if:{properties:{inPersonCapacityType:{const:t.Fixed},attendanceType:{enum:[e.InPerson,e.Both]}}},then:{required:["inPersonCapacity"],properties:{inPersonCapacity:{minimum:1}}}};export{n as a,r as b,o as c,p as d};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{g as c}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{g as c}from"./OBQ5ECDX.js";import{a as o}from"./BYBUA3SD.js";import{a as n}from"./Y2VUFZUV.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M as e,A as f};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as b}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as b}from"./JPPXUPM6.js";import"./F3SICAQV.js";import"./ZXQJLGRP.js";import"./Y2TULO3A.js";import"./MNIQAXS4.js";import"./L4A3TP42.js";import"./HM3CN2LF.js";import"./BYBUA3SD.js";import"./SZGXZADB.js";import{a as r}from"./YZ4LCVJ7.js";import{D as n,F as e,I as c,c as o,d as a,g as i,q as l}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var h=o`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{a as s}from"./HEU5ADOI.js";import"./RSJCSZWF.js";import"./JGMZYU54.js";import"./SF6257JR.js";import"./NUYU2UBS.js";import"./EJNMBFZU.js";import"./OBISJL4B.js";import"./DZR5OU2Z.js";import"./MCYHMQTR.js";import"./TPK7LVDB.js";import"./TVWOFQVC.js";import"./R4O6DVY6.js";import"./Q5X2S4MD.js";import"./47E56IWZ.js";import"./GVYKKXOF.js";import"./JO3IHRR7.js";import"./NAICN42V.js";import"./GZOFO77D.js";import"./ZUNKV2EF.js";import"./VLURIFFB.js";import"./2B3Q4HD7.js";import"./Y2VUFZUV.js";import"./WRLGEWRN.js";import"./MO6ELGZS.js";var c=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]});export{c as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{o,p as a,q as r,r as d,v as c,w as m}from"./
|
3
|
+
v1.0.0-next.20250527.1 */
|
4
|
+
import{o,p as a,q as r,r as d,v as c,w as m}from"./YYROVQF2.js";import{a as l,c as i,d as h,e as u}from"./ABK3KAVX.js";import"./MO6ELGZS.js";var f=".sc-instant-apps-measurement-tool-h .esri-measurement.sc-instant-apps-measurement-tool,.sc-instant-apps-measurement-tool-h .esri-coordinate-conversion.sc-instant-apps-measurement-tool{width:300px}.sc-instant-apps-measurement-tool-h .instant-apps-measurement-tool__hide.sc-instant-apps-measurement-tool{display:none}",v=f,p="instant-apps-measurement-tool",s={base:p,hide:`${p}__hide`},g=class{constructor(e){l(this,e),this.view=void 0,this.measureConfiguration=void 0,this.activeTool=void 0}async componentWillLoad(){await this._initModules()}componentDidLoad(){this._init()}render(){return i(h,{key:"f6bd046c04fd3c17204fd95e4ab5e85cab179671"},i("div",{key:"070603555cb6497ddd67f1f53ebaf89a59bd7c01",class:s.base},i("div",{key:"475bff4347c71401ecb292a74c59aac28b40952f",ref:e=>{e instanceof HTMLElement&&(this._measureElement=e)}}),i("div",{key:"9018f1338b598e9c02e1ea6239ab1ee57c460fa0",class:s.hide,ref:e=>{e instanceof HTMLElement&&(this._coordinateElement=e)}})))}disconnectedCallback(){this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,n]=await Promise.all([c(),o(),r()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=n}_init(){this._initMeasurementWidget(),this._initCoordinateWidget()}_updateToolType(e){this._setActiveTool(e)}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await m({view:this.view,container:this._measureElement,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget.clear(),this._coordinateElement?.classList.add(s.hide),e==="distance"?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement?.classList?.remove(s.hide)}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await a({view:this.view,storageEnabled:!1,container:this._coordinateElement}),t!=null)){let n=this._coordinateWidget.formats.find(_=>_.name===t);this._coordinateWidget?.conversions?.splice(0,0,await d({format:n}))}e!=null&&this._setActiveTool(e)}get el(){return u(this)}static get watchers(){return{activeTool:["_updateToolType"]}}};g.style=v;export{g as instant_apps_measurement_tool};
|