@esri/solutions-components 1.2.0-next.30 → 1.2.0-next.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/26CIPTQN.js +4 -0
- package/dist/cdn/{UQDX4HH7.js → 26CIVFI7.js} +2 -2
- package/dist/cdn/{JBJKRXXO.js → 26ZMWP6Z.js} +2 -2
- package/dist/cdn/{XPA5STW7.js → 27Q7IH64.js} +2 -2
- package/dist/cdn/{TE7MJY7J.js → 2BG4TYOD.js} +2 -2
- package/dist/cdn/{RYTGUQNW.js → 2GPTZNVI.js} +2 -2
- package/dist/cdn/{WMWRHS2O.js → 2H7IYD2F.js} +2 -2
- package/dist/cdn/{6YD2HBWD.js → 2IOG6JI2.js} +2 -2
- package/dist/cdn/{B4GTYQZH.js → 2ITFRR75.js} +2 -2
- package/dist/cdn/{C6XXEAWS.js → 2KCNUGHU.js} +2 -2
- package/dist/cdn/{5AWDPORB.js → 2KXZDC54.js} +2 -2
- package/dist/cdn/{DPZVQEH4.js → 2KYKQUHK.js} +2 -2
- package/dist/cdn/{DOUPRF5M.js → 2NNRS6QJ.js} +2 -2
- package/dist/cdn/2SHK7ROD.js +4 -0
- package/dist/cdn/{OKEQ6VW4.js → 2SQJ42QL.js} +2 -2
- package/dist/cdn/{5NTV25EH.js → 2VBJ24WG.js} +2 -2
- package/dist/cdn/{ON3VIYPQ.js → 2ZCAWD3F.js} +2 -2
- package/dist/cdn/{EDB5QBJ4.js → 32OKNC7F.js} +1 -1
- package/dist/cdn/{F2EIQ3EO.js → 3CE2JQRD.js} +2 -2
- package/dist/cdn/{HMBSQFUJ.js → 3CQH3UC2.js} +2 -2
- package/dist/cdn/{7VMUOYRC.js → 3EF32E4B.js} +2 -2
- package/dist/cdn/{GGMFABEF.js → 3FHCXLTP.js} +2 -2
- package/dist/cdn/{TUMBFPWA.js → 3FRGP6NR.js} +2 -2
- package/dist/cdn/{UXPVRSYI.js → 3FUHLW24.js} +2 -2
- package/dist/cdn/{EZU7FJ4I.js → 3GKOLG3P.js} +2 -2
- package/dist/cdn/{Q5KLXIL2.js → 3HXDXA5V.js} +2 -2
- package/dist/cdn/3JZF6PQM.js +4 -0
- package/dist/cdn/{34PDVGEI.js → 3T7IYLMO.js} +2 -2
- package/dist/cdn/{U3RN3VMR.js → 3Y4L5QPG.js} +2 -2
- package/dist/cdn/{JQHH2OCZ.js → 3YPVT2SF.js} +2 -2
- package/dist/cdn/43KJ7ZGS.js +18 -0
- package/dist/cdn/{SWMICF3O.js → 44PDCPXG.js} +2 -2
- package/dist/cdn/{LONY44WL.js → 4B4DVSY5.js} +2 -2
- package/dist/cdn/{D465QWTQ.js → 4BBPYTMJ.js} +2 -2
- package/dist/cdn/{FKNP522A.js → 4EWKLZQB.js} +1 -1
- package/dist/cdn/{3FWMXAKG.js → 4FCZ4AZ7.js} +2 -2
- package/dist/cdn/{2IKATLLY.js → 4FLNSTTX.js} +2 -2
- package/dist/cdn/{K54HDSYB.js → 4GSMGWKQ.js} +2 -2
- package/dist/cdn/{6TAASZPW.js → 4Q6AVQE7.js} +2 -2
- package/dist/cdn/{PLRNVZN6.js → 4TH2AQWE.js} +2 -2
- package/dist/cdn/{F2QEERVM.js → 4WHF6Z3F.js} +2 -2
- package/dist/cdn/{PCJIW7J4.js → 4WSQCQFN.js} +2 -2
- package/dist/cdn/{BPOQYDR5.js → 4X5LCVEW.js} +2 -2
- package/dist/cdn/{QYQGUEKK.js → 5NCLW4RU.js} +2 -2
- package/dist/cdn/{2YRUPZI2.js → 5RVBDF5G.js} +2 -2
- package/dist/cdn/{EIY2RNYU.js → 5VA6CQMM.js} +2 -2
- package/dist/cdn/{4SKQUXSZ.js → 5XXUCV3V.js} +2 -2
- package/dist/cdn/{FP6CVRPP.js → 5YJPALMY.js} +2 -2
- package/dist/cdn/{MRS7JBCM.js → 64F2C7FH.js} +2 -2
- package/dist/cdn/{B7RCE3HL.js → 6AP7BDVC.js} +3 -3
- package/dist/cdn/{JACZFLX5.js → 6BSQ4FI6.js} +2 -2
- package/dist/cdn/{QTHKDVZA.js → 6CDMAYRH.js} +2 -2
- package/dist/cdn/{LGY6RHRJ.js → 6CRO3RMM.js} +2 -2
- package/dist/cdn/{JC7USH53.js → 6FQEMJLG.js} +1 -1
- package/dist/cdn/{74G765B3.js → 6GINIJMQ.js} +2 -2
- package/dist/cdn/{7HFPD7CI.js → 6KMBNOZ3.js} +2 -2
- package/dist/cdn/{MRRQXIAY.js → 6KVTLN7I.js} +1 -1
- package/dist/cdn/{T66GPNTR.js → 6L5JZ6CY.js} +2 -2
- package/dist/cdn/{KPWGBLMQ.js → 6LD6WQRF.js} +2 -2
- package/dist/cdn/{4R3HMKHB.js → 6WIKCCYS.js} +2 -2
- package/dist/cdn/{AXOVLMEZ.js → 6WXAPOXD.js} +2 -2
- package/dist/cdn/{WP6QUJD5.js → 6YSJ5I5V.js} +2 -2
- package/dist/cdn/{XDQ5U3RX.js → 7BKAYHD3.js} +2 -2
- package/dist/cdn/{VWZIPDPO.js → 7DFRNIIN.js} +2 -2
- package/dist/cdn/{H3WB7ANQ.js → 7GMTKVDP.js} +2 -2
- package/dist/cdn/{PVKLE7AC.js → 7KD2EYNO.js} +2 -2
- package/dist/cdn/{DUH2FCJG.js → 7KQEUB3J.js} +2 -2
- package/dist/cdn/{JHUQCA3Z.js → 7LHHPXFC.js} +2 -2
- package/dist/cdn/{ZLWE4SGQ.js → 7P6J3DF5.js} +1 -1
- package/dist/cdn/{5PWFCMK4.js → 7SETBRJQ.js} +2 -2
- package/dist/cdn/{AZCLMDQA.js → 7WVIQXD6.js} +2 -2
- package/dist/cdn/{AUZIEPJY.js → 7Y73EJQK.js} +2 -2
- package/dist/cdn/{WNNXONB6.js → A3DZ652X.js} +2 -2
- package/dist/cdn/{3Z6YZFUQ.js → A56WOLMU.js} +2 -2
- package/dist/cdn/{BDJVTVGV.js → AA3OODB2.js} +2 -2
- package/dist/cdn/{6NKXBHT3.js → AA5S43EA.js} +2 -2
- package/dist/cdn/{MCPVXPMM.js → ABT5YG3I.js} +1 -1
- package/dist/cdn/{KIOXB2OZ.js → ADFNFEXR.js} +2 -2
- package/dist/cdn/{4ETQSIFF.js → AIWE35NS.js} +2 -2
- package/dist/cdn/{B7ALYLRG.js → APRQR7XL.js} +2 -2
- package/dist/cdn/{CAC5OPSW.js → AQMXUMFV.js} +2 -2
- package/dist/cdn/{AT2K2TZK.js → AT4QQS4E.js} +2 -2
- package/dist/cdn/{TISZ6QTW.js → ATVG5O7I.js} +2 -2
- package/dist/cdn/{J7QDKBVB.js → AWZINHAE.js} +2 -2
- package/dist/cdn/{SZVZ7L22.js → AZY3OG5Z.js} +2 -2
- package/dist/cdn/{YLAFYD5G.js → B3QZGAKL.js} +2 -2
- package/dist/cdn/{6DCWHIG6.js → B6ACMA5B.js} +2 -2
- package/dist/cdn/{HQX2UTQA.js → BCC43MR4.js} +2 -2
- package/dist/cdn/{RBY55AW4.js → BEXA43V2.js} +2 -2
- package/dist/cdn/{ZPV3TQLX.js → BG7THPYT.js} +2 -2
- package/dist/cdn/{EVNTAGJW.js → BNT5DJGY.js} +2 -2
- package/dist/cdn/{EORDZOGU.js → BOJKJLWQ.js} +2 -2
- package/dist/cdn/{KJQJXQFO.js → BYPEUWGZ.js} +2 -2
- package/dist/cdn/{JTVBLWSK.js → BZCZ7VL4.js} +2 -2
- package/dist/cdn/{LYQT3N5Z.js → C5HMYUFH.js} +1 -1
- package/dist/cdn/{HXVM7BGX.js → CCWREFPV.js} +2 -2
- package/dist/cdn/{GWPPIURG.js → CG54KNHW.js} +2 -2
- package/dist/cdn/{QOAKCYXR.js → CHGMM5CE.js} +2 -2
- package/dist/cdn/{WR2PXMWC.js → CN2QKE6N.js} +2 -2
- package/dist/cdn/CPXQZ3SL.js +18 -0
- package/dist/cdn/{SLTVLCFQ.js → CQRE2M4F.js} +2 -2
- package/dist/cdn/{2GFXYPLE.js → CWFWYRT4.js} +2 -2
- package/dist/cdn/{U7CHN77W.js → CWPWSVA7.js} +2 -2
- package/dist/cdn/{HDWF5BGC.js → CZ5X5637.js} +1 -1
- package/dist/cdn/CZB5Z7GA.js +4 -0
- package/dist/cdn/{UN3HEMCS.js → D447J5GT.js} +2 -2
- package/dist/cdn/{JFL4U4UA.js → D4QLXXIE.js} +2 -2
- package/dist/cdn/{UWIIDEOZ.js → DDU4V5V6.js} +2 -2
- package/dist/cdn/{LPOSNNLD.js → DKSGQFJD.js} +2 -2
- package/dist/cdn/{KV6OFAYE.js → DPRMLSWB.js} +2 -2
- package/dist/cdn/{24DMHUEK.js → DPX5WAK6.js} +2 -2
- package/dist/cdn/{GFEO3V7B.js → DSESXQAF.js} +2 -2
- package/dist/cdn/{CNZTLIB3.js → E6TINCRP.js} +2 -2
- package/dist/cdn/{UE4JYH6Q.js → E7AJJ7UX.js} +2 -2
- package/dist/cdn/{72XEQTIF.js → E7BTZQRN.js} +2 -2
- package/dist/cdn/{WL6ES3HJ.js → EB6Y35GJ.js} +2 -2
- package/dist/cdn/{3ICH54JL.js → EJ7ULT5F.js} +2 -2
- package/dist/cdn/EJQOZRVC.js +4 -0
- package/dist/cdn/{ZQLLWXUS.js → EKGKWXEB.js} +1 -1
- package/dist/cdn/EKP4LAMB.js +160 -0
- package/dist/cdn/{7S7DGB25.js → ELMP3CV5.js} +2 -2
- package/dist/cdn/{2ZIO725Y.js → ESDGUCHM.js} +2 -2
- package/dist/cdn/{OCTGDVTD.js → ESLRUAYH.js} +1 -1
- package/dist/cdn/{TC3U37J7.js → ET2O476H.js} +2 -2
- package/dist/cdn/{Y7MPYZYV.js → EWL35ZZV.js} +2 -2
- package/dist/cdn/{DLDZLA7R.js → EZWJABZU.js} +2 -2
- package/dist/cdn/{J2A24DGF.js → F37R3OXJ.js} +1 -1
- package/dist/cdn/{L4ENNIQZ.js → F5A5P5TO.js} +2 -2
- package/dist/cdn/{36VKRU3A.js → F7FPLRM7.js} +2 -2
- package/dist/cdn/{OVWAIW4T.js → FEHN4KPL.js} +4 -4
- package/dist/cdn/FMCVXTPQ.js +4 -0
- package/dist/cdn/{ITJX53EA.js → FWANARJ7.js} +2 -2
- package/dist/cdn/{OOHID67S.js → FY32LSLJ.js} +2 -2
- package/dist/cdn/{4U3FPTF5.js → FYNEWFSC.js} +2 -2
- package/dist/cdn/{2HXRWLJY.js → G25LXNP5.js} +2 -2
- package/dist/cdn/{YUE54TGU.js → G3RMVSCM.js} +2 -2
- package/dist/cdn/{2RHNGWV3.js → GA6IWULR.js} +2 -2
- package/dist/cdn/{DFEHZSKJ.js → GBNDVZDC.js} +2 -2
- package/dist/cdn/{7NHT4ID4.js → GD2DMOOA.js} +2 -2
- package/dist/cdn/{ISBYRWUS.js → GFCB6UVI.js} +2 -2
- package/dist/cdn/{TQZZQ74I.js → GFIYGODA.js} +1 -1
- package/dist/cdn/{B7V66ZZG.js → GHCAZWON.js} +1 -1
- package/dist/cdn/{TDB43YAO.js → GHELMKMF.js} +2 -2
- package/dist/cdn/{25MYRWPK.js → GMIEOLX5.js} +2 -2
- package/dist/cdn/{ZKOJOIGE.js → GMMJSQCO.js} +2 -2
- package/dist/cdn/{QTQ5VFMI.js → GPA7SOWJ.js} +2 -2
- package/dist/cdn/{6M575VM5.js → GRFZ2FCA.js} +1 -1
- package/dist/cdn/{ZLJ5FGJ6.js → GWQCD476.js} +2 -2
- package/dist/cdn/{MMRBO6I4.js → GXVFUFAX.js} +2 -2
- package/dist/cdn/{OSOFOQEK.js → GZPX7N7S.js} +2 -2
- package/dist/cdn/{NMEYVDKO.js → H3DUPFBO.js} +2 -2
- package/dist/cdn/{RMJBQVZQ.js → H3KAICJN.js} +2 -2
- package/dist/cdn/{QSX5S7NE.js → H3QLA57G.js} +2 -2
- package/dist/cdn/{R6C247GY.js → H6DRMF2A.js} +2 -2
- package/dist/cdn/{TXZZ7IGA.js → HAKLSL2C.js} +1 -1
- package/dist/cdn/{MBBBUQA7.js → HBZOEYFG.js} +2 -2
- package/dist/cdn/{7F6JTIWK.js → HGTZFPBI.js} +2 -2
- package/dist/cdn/{VZLRW2AX.js → HJZYONIH.js} +2 -2
- package/dist/cdn/{QCGMRCNR.js → HKGZIXAW.js} +2 -2
- package/dist/cdn/{GAQ3EPIU.js → HMVNFKGE.js} +2 -2
- package/dist/cdn/{QH7G7WSC.js → HTJXA6GN.js} +2 -2
- package/dist/cdn/{M77VUV2Q.js → HWS6ASNJ.js} +2 -2
- package/dist/cdn/HZZL7AU3.js +4 -0
- package/dist/cdn/{63WA56NY.js → I3BWD2LX.js} +2 -2
- package/dist/cdn/I5ZQTYAN.js +4 -0
- package/dist/cdn/{PNAS5XAC.js → IBGVJQ3D.js} +1 -1
- package/dist/cdn/{NGL5DBBP.js → IDR3G6QJ.js} +2 -2
- package/dist/cdn/{X4O2UX77.js → IEP7RNEW.js} +2 -2
- package/dist/cdn/{R5UVF7YP.js → IJ2XYITD.js} +2 -2
- package/dist/cdn/{FEWO73EQ.js → ISBOWSOF.js} +2 -2
- package/dist/cdn/{6QXC35GC.js → IWFECRP6.js} +2 -2
- package/dist/cdn/{277565E7.js → IZIT3Q6M.js} +2 -2
- package/dist/cdn/{NLPH7XLY.js → J4HGP2TR.js} +2 -2
- package/dist/cdn/{PKH6X23Q.js → J4KULWAC.js} +2 -2
- package/dist/cdn/{OOC5Y54N.js → JM4DQYUF.js} +2 -2
- package/dist/cdn/{BMYOJ35W.js → JPU2OPHN.js} +2 -2
- package/dist/cdn/{L5LXFBXD.js → JPZU2BUG.js} +2 -2
- package/dist/cdn/{DUBCPEXD.js → JSKC5AKJ.js} +2 -2
- package/dist/cdn/{XEQGJKML.js → JXU4HAWE.js} +2 -2
- package/dist/cdn/{Y27TXUN2.js → K6QUJXWV.js} +4 -4
- package/dist/cdn/{OJFZ6T4L.js → KBQJQVZP.js} +2 -2
- package/dist/cdn/{QG473DGW.js → KFTMUTWW.js} +2 -2
- package/dist/cdn/{XQURVTFE.js → KHJ277OT.js} +1 -1
- package/dist/cdn/{Y5BS3BHR.js → KQL6O3FK.js} +2 -2
- package/dist/cdn/{OHWJG6P3.js → KV6E2SFN.js} +2 -2
- package/dist/cdn/{KRGPHVWG.js → KYQKVXNP.js} +2 -2
- package/dist/cdn/{5LKRTP4M.js → L563AYUP.js} +2 -2
- package/dist/cdn/{HGN2PHJG.js → L7MBYDMB.js} +2 -2
- package/dist/cdn/{TPMDZI3N.js → LDYUDDLO.js} +2 -2
- package/dist/cdn/{TZC7FR57.js → LEIIQ3A6.js} +2 -2
- package/dist/cdn/{H4UX7IPM.js → LKKXUC52.js} +2 -2
- package/dist/cdn/{GPLPJI55.js → LKN6XSL5.js} +2 -2
- package/dist/cdn/{NS2BBVPW.js → LORQGESC.js} +2 -2
- package/dist/cdn/{ASR3PHZX.js → LPBE2FHF.js} +2 -2
- package/dist/cdn/LR5BWGNC.js +4 -0
- package/dist/cdn/{XLTAB44X.js → LV3XG53H.js} +2 -2
- package/dist/cdn/{KUQK2ONH.js → LWHILP4F.js} +2 -2
- package/dist/cdn/{FDUPZ25R.js → M3ZETHYO.js} +2 -2
- package/dist/cdn/{NGHRTOE5.js → M7X7Z3UY.js} +1 -1
- package/dist/cdn/{STNJMHAQ.js → MAZUKK57.js} +2 -2
- package/dist/cdn/{RYDA2GVY.js → MB4RZXW5.js} +2 -2
- package/dist/cdn/{CUAZD4LK.js → MBPSOAK3.js} +2 -2
- package/dist/cdn/{Z6455FX4.js → MD7MMSUZ.js} +1 -1
- package/dist/cdn/{2776LBZR.js → ML4FQKR3.js} +2 -2
- package/dist/cdn/{AWBOSR4C.js → MPUF2TPM.js} +1 -1
- package/dist/cdn/{ILTORA35.js → MRSWEWWB.js} +2 -2
- package/dist/cdn/{RKXN5H6E.js → MTURX67L.js} +2 -2
- package/dist/cdn/{PGGLPX3Y.js → N57KFLJ6.js} +2 -2
- package/dist/cdn/{4T73N7V2.js → NEMKCYHR.js} +2 -2
- package/dist/cdn/{BBIGCWRV.js → NFRC2QRL.js} +2 -2
- package/dist/cdn/{YFRAG76M.js → NKNKTKHO.js} +2 -2
- package/dist/cdn/{OGFYIHYL.js → NM44M4IW.js} +2 -2
- package/dist/cdn/{E6CHHVGK.js → NMKJ5JOM.js} +2 -2
- package/dist/cdn/{RH7MI7ML.js → NNA3NDDO.js} +2 -2
- package/dist/cdn/{W5WC3DQR.js → NOCFSXVG.js} +2 -2
- package/dist/cdn/{H2R75MHA.js → NPAHQC2C.js} +2 -2
- package/dist/cdn/{LAOPK2BR.js → NUOQWKHY.js} +2 -2
- package/dist/cdn/{EVNUKA47.js → NZDTEHWH.js} +2 -2
- package/dist/cdn/{2PW6ABS2.js → NZQGONJV.js} +2 -2
- package/dist/cdn/NZXEDJEA.js +18 -0
- package/dist/cdn/{HYVUOIDV.js → O7S3FCYR.js} +1 -1
- package/dist/cdn/{SZSFIVOE.js → OEIUCKZ7.js} +2 -2
- package/dist/cdn/{ZL226NXE.js → OF2SUOO3.js} +2 -2
- package/dist/cdn/{OGFRY2XT.js → OGODOUBS.js} +2 -2
- package/dist/cdn/{XQK2EEXA.js → OMYBTBPL.js} +2 -2
- package/dist/cdn/{EGM522HI.js → OO6FJRTO.js} +1 -1
- package/dist/cdn/{LKEA7WT3.js → OPMQCAR3.js} +2 -2
- package/dist/cdn/{MYKMNK6X.js → OVWM6TYS.js} +2 -2
- package/dist/cdn/{AK4FP6HL.js → OXM25VGF.js} +1 -1
- package/dist/cdn/{HVONRLYE.js → P44724IG.js} +2 -2
- package/dist/cdn/{O5O4WPGT.js → P7UXKWMX.js} +2 -2
- package/dist/cdn/{2U7L5PBM.js → POMBIM2T.js} +2 -2
- package/dist/cdn/{GPLD4OLN.js → POS6K2UE.js} +1 -1
- package/dist/cdn/{FG6WOVWI.js → PST6SAY2.js} +2 -2
- package/dist/cdn/{YWB3PVWJ.js → Q52VS7JD.js} +2 -2
- package/dist/cdn/{LJ37OTR5.js → Q67LCQR5.js} +2 -2
- package/dist/cdn/Q6QBQRTG.js +4 -0
- package/dist/cdn/{5QGNITLO.js → Q74EQS3O.js} +2 -2
- package/dist/cdn/{P32GLMOO.js → QCBF6D2I.js} +2 -2
- package/dist/cdn/{KJ7FA4KA.js → QDOHJRID.js} +2 -2
- package/dist/cdn/{U6IZ7NDO.js → QFL5XGCR.js} +2 -2
- package/dist/cdn/{3WDCAEUK.js → QJMIHCYA.js} +2 -2
- package/dist/cdn/{NALQ7ZA4.js → QNZCOWWV.js} +2 -2
- package/dist/cdn/{CEUB4OXF.js → QRBXPHG6.js} +2 -2
- package/dist/cdn/{BV53Z64R.js → QRYOQHNP.js} +2 -2
- package/dist/cdn/QSYA2APQ.js +4 -0
- package/dist/cdn/{GJYH7TRE.js → QVJ7QQVE.js} +2 -2
- package/dist/cdn/{C4AGRX46.js → QWCZAOXA.js} +2 -2
- package/dist/cdn/{65ZZ77SE.js → R2Y4BFBA.js} +1 -1
- package/dist/cdn/{NEVLWT5F.js → R5U2WANE.js} +2 -2
- package/dist/cdn/{F5Z37SAY.js → RCR3LGTO.js} +2 -2
- package/dist/cdn/{J62SMQQ7.js → RDTGNHBE.js} +2 -2
- package/dist/cdn/{HC4IU67I.js → REITZYXX.js} +2 -2
- package/dist/cdn/{HXI2RJM3.js → RKDFCEV6.js} +2 -2
- package/dist/cdn/{6RA3RUIS.js → RO4XDPUY.js} +2 -2
- package/dist/cdn/{27GKKFQI.js → RQ5KHDEQ.js} +2 -2
- package/dist/cdn/{N3YA5MDL.js → RSA4AWTB.js} +2 -2
- package/dist/cdn/{QRR2HRFO.js → RX5LXQBF.js} +2 -2
- package/dist/cdn/{UVYMD3SU.js → RZWTSUJZ.js} +2 -2
- package/dist/cdn/{V33LR6IS.js → SBR5OKMT.js} +2 -2
- package/dist/cdn/{J45MBO4E.js → SEJZOKLD.js} +2 -2
- package/dist/cdn/{WIIOBTYW.js → SH26YDC5.js} +2 -2
- package/dist/cdn/{WNSRF7JD.js → SHN4JOAS.js} +2 -2
- package/dist/cdn/{QVX3HKWH.js → SJOOBDVL.js} +2 -2
- package/dist/cdn/{GLIEFW2W.js → SLMFVTWE.js} +1 -1
- package/dist/cdn/{FA3IKFAL.js → SMNRWNUV.js} +1 -1
- package/dist/cdn/{ITD43QIH.js → SUGCGTUE.js} +2 -2
- package/dist/cdn/{3JCJJ2GF.js → SXGZX66A.js} +2 -2
- package/dist/cdn/T6U4HMPV.js +4 -0
- package/dist/cdn/{72SAT2FH.js → TCD2EBVI.js} +1 -1
- package/dist/cdn/{LMLBAQTW.js → TCPOSEXP.js} +2 -2
- package/dist/cdn/{VF3BOXK6.js → TFFGKLXZ.js} +1 -1
- package/dist/cdn/{UJ7M33YD.js → TG66S6FW.js} +1 -1
- package/dist/cdn/{Y7YN2IIU.js → TJ3ELT7Y.js} +2 -2
- package/dist/cdn/{YZLM4OIF.js → TM3QT4MY.js} +2 -2
- package/dist/cdn/TNAZAPLS.js +18 -0
- package/dist/cdn/{UNU2VFCG.js → TVBP7E34.js} +2 -2
- package/dist/cdn/{IJGEUPSK.js → TWIBC25F.js} +2 -2
- package/dist/cdn/{P7TBO62O.js → TXF4E6LF.js} +1 -1
- package/dist/cdn/{S362MWIR.js → TYQ5FGMD.js} +2 -2
- package/dist/cdn/{S2AT5YY2.js → UC6KMQRH.js} +2 -2
- package/dist/cdn/UCN2N7DB.js +4 -0
- package/dist/cdn/{ZGWPTRGZ.js → UE2IX2RL.js} +2 -2
- package/dist/cdn/UEOJE65W.js +89 -0
- package/dist/cdn/{CP4HACAH.js → UFE4G4RJ.js} +1 -1
- package/dist/cdn/{D2D2CPBJ.js → UHZSVZPK.js} +2 -2
- package/dist/cdn/{AE6H6ELK.js → UJO2FYV6.js} +2 -2
- package/dist/cdn/{TF7HCU4R.js → UNAA6QIJ.js} +2 -2
- package/dist/cdn/{O4LF5ZK4.js → UO7CVYHI.js} +2 -2
- package/dist/cdn/{KXFJ5CVI.js → UUPE5QOV.js} +2 -2
- package/dist/cdn/{NQNIGRVW.js → UV2WNCQF.js} +2 -2
- package/dist/cdn/{XP2EQZNN.js → UV62PU26.js} +2 -2
- package/dist/cdn/{JNSLXW7O.js → UW3ZGSQU.js} +2 -2
- package/dist/cdn/{WA6JCIVJ.js → V2WCN5DX.js} +2 -2
- package/dist/cdn/{FLQEDTUI.js → VNIE2PXO.js} +2 -2
- package/dist/cdn/{5HZVV4CF.js → VP4CHRDT.js} +1 -1
- package/dist/cdn/{SQ4ONYA6.js → VQFP6AZI.js} +2 -2
- package/dist/cdn/{CYDNA2QI.js → VQIF3HW2.js} +2 -2
- package/dist/cdn/{NDBQUUTO.js → VWCVOS6M.js} +1 -1
- package/dist/cdn/{SJGKDRLS.js → VXKH2VOP.js} +1 -1
- package/dist/cdn/{EB2JKK3D.js → VY4RTYGY.js} +2 -2
- package/dist/cdn/{PGWOXALJ.js → VZNCCCR4.js} +2 -2
- package/dist/cdn/{47L5OVTL.js → W3QOBRE2.js} +2 -2
- package/dist/cdn/{JFT5UZJT.js → W3UAB5V7.js} +2 -2
- package/dist/cdn/{7QLGF5J6.js → WBLATNLZ.js} +2 -2
- package/dist/cdn/{QDHG7XI7.js → WDH5XQN5.js} +2 -2
- package/dist/cdn/{QNUGOWWM.js → WDK5H56L.js} +2 -2
- package/dist/cdn/{XTBZMRJM.js → WF6EYQVV.js} +2 -2
- package/dist/cdn/{VFV5JCQN.js → WI5VAMGJ.js} +2 -2
- package/dist/cdn/{CQKXZVLC.js → WKYLL2JX.js} +2 -2
- package/dist/cdn/{4EXGNBXW.js → WPY4LC3K.js} +2 -2
- package/dist/cdn/{65GKVZWM.js → WQBQCO4B.js} +2 -2
- package/dist/cdn/{MBGLCBIC.js → WQSKVYFF.js} +2 -2
- package/dist/cdn/{FRS5F6O5.js → WTS5H53O.js} +2 -2
- package/dist/cdn/{3FYPCIOV.js → WTZNO7PN.js} +2 -2
- package/dist/cdn/{RJAI2F2A.js → X4ZKBTN4.js} +2 -2
- package/dist/cdn/{HN2G2EYZ.js → XCSYY3XX.js} +2 -2
- package/dist/cdn/{ECKEIM2Y.js → XDQDDZ44.js} +2 -2
- package/dist/cdn/{WFJNZNPO.js → XH7Q5FKW.js} +2 -2
- package/dist/cdn/{SH2FEGSB.js → XJMRQKZW.js} +2 -2
- package/dist/cdn/{GOLJIOZF.js → XS3JXY2Q.js} +2 -2
- package/dist/cdn/{QN7Y6QOZ.js → XZ627753.js} +2 -2
- package/dist/cdn/{NWANGG5T.js → Y6WUVKKJ.js} +2 -2
- package/dist/cdn/{LMF2IQVY.js → YA5GFONS.js} +2 -2
- package/dist/cdn/{BHDNLSI7.js → YARWRAKS.js} +1 -1
- package/dist/cdn/YCB5OBM7.js +18 -0
- package/dist/cdn/YFF7HPPF.js +18 -0
- package/dist/cdn/{OU7QCTNJ.js → YLYTCJC5.js} +2 -2
- package/dist/cdn/{5MKH7FO7.js → YR2Q4MEZ.js} +2 -2
- package/dist/cdn/{BUF25CTJ.js → YTP3FLYV.js} +1 -1
- package/dist/cdn/{LIQY6VUI.js → Z4KFLWH7.js} +2 -2
- package/dist/cdn/{JN3I6HM2.js → Z62OH3MN.js} +2 -2
- package/dist/cdn/{ECGNRFQC.js → Z7WH3PY4.js} +2 -2
- package/dist/cdn/{BX56GQJM.js → ZCRLXSR3.js} +2 -2
- package/dist/cdn/{2GMVKD6U.js → ZGABFMI5.js} +2 -2
- package/dist/cdn/{MXKXWU54.js → ZGCTHCV6.js} +1 -1
- package/dist/cdn/{EHZVBSNG.js → ZKG2VPKR.js} +2 -2
- package/dist/cdn/{3CSYZLTP.js → ZMPDT3BZ.js} +2 -2
- package/dist/cdn/{3VWHKZED.js → ZN4UP4WI.js} +2 -2
- package/dist/cdn/{KAFYTKP3.js → ZOD4ZXTC.js} +2 -2
- package/dist/cdn/{DTHSN36M.js → ZS5WKHPW.js} +2 -2
- package/dist/cdn/{PJFQYGK6.js → ZUJ3VJF5.js} +2 -2
- package/dist/cdn/{LWNDAKHU.js → ZWPKTGXD.js} +2 -2
- 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 +37 -37
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.d.ts +2 -2
- package/dist/components/arcgis-solutions-assistant/customElement.js +771 -592
- package/dist/components/arcgis-solutions-assistant/index.d.ts +2 -2
- package/dist/components/arcgis-solutions-assistant/index.js +2 -2
- package/dist/components/arcgis-solutions-assistant/utils/typewriter-text.d.ts +48 -0
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +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.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-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-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/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-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +20 -23
- package/dist/components/solutions-deploy-app/customElement.js +33 -25
- package/dist/components/solutions-deploy-app-nav/customElement.js +12 -12
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +27 -17
- package/dist/components/solutions-deployed-shell/index.d.ts +2 -0
- package/dist/components/solutions-deployed-shell/index.js +2 -0
- package/dist/components/solutions-filter-panel/customElement.d.ts +1 -7
- package/dist/components/solutions-filter-panel/customElement.js +25 -18
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +5 -5
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +4 -33
- package/dist/docs/docs.json +6 -28
- package/dist/docs/vscode.html-custom-data.json +1 -6
- package/dist/docs/web-types.json +2 -15
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/preact10.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/Auth.d.ts +2 -0
- package/dist/utils/interfaces.d.ts +5 -0
- package/package.json +1 -1
- package/dist/cdn/2DKKN6C2.js +0 -4
- package/dist/cdn/346BLCF2.js +0 -4
- package/dist/cdn/6FNOQGIZ.js +0 -4
- package/dist/cdn/ABDQSCIZ.js +0 -18
- package/dist/cdn/B4OV3LHY.js +0 -4
- package/dist/cdn/BPXPCMXX.js +0 -18
- package/dist/cdn/BTBWYAZW.js +0 -18
- package/dist/cdn/F6BFZHUG.js +0 -4
- package/dist/cdn/GD43N373.js +0 -4
- package/dist/cdn/GNLAHRZT.js +0 -18
- package/dist/cdn/I73WIDZD.js +0 -4
- package/dist/cdn/IJCG3D4S.js +0 -4
- package/dist/cdn/JXBEZT5A.js +0 -4
- package/dist/cdn/MT4KKD5M.js +0 -4
- package/dist/cdn/MYMVJFH4.js +0 -64
- package/dist/cdn/NLLMNIAA.js +0 -4
- package/dist/cdn/NTLJHWLQ.js +0 -89
- package/dist/cdn/PPT7MVPV.js +0 -4
- package/dist/cdn/PTTGFXZZ.js +0 -18
- package/dist/cdn/YOA42CLH.js +0 -18
- package/dist/cdn/ZIRTUZJU.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import{a as u}from"./Q67LCQR5.js";import a from"./QSYA2APQ.js";import{a as C}from"./ZS5WKHPW.js";import{a as x}from"./ATVG5O7I.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./MPUF2TPM.js";import{b as S}from"./GMIEOLX5.js";import"./4WSQCQFN.js";import"./MAZUKK57.js";import{D as E,E as v,F as T,H as d,h as y,i as s,s as I}from"./HTJXA6GN.js";import"./KHJ277OT.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=x({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${C("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import g from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import g from"./ET2O476H.js";import e from"./EB6Y35GJ.js";import c from"./ESDGUCHM.js";import{a as v,c as b,d as I}from"./UFE4G4RJ.js";import a from"./AA3OODB2.js";import{b as h}from"./KV6E2SFN.js";import"./FEHN4KPL.js";import"./UNAA6QIJ.js";import"./GRFZ2FCA.js";import"./QDOHJRID.js";import"./UJO2FYV6.js";import"./6CRO3RMM.js";import"./TXF4E6LF.js";import"./TG66S6FW.js";import"./UE2IX2RL.js";import"./VP4CHRDT.js";import"./32OKNC7F.js";import"./7P6J3DF5.js";import"./HMVNFKGE.js";import"./2KCNUGHU.js";import"./F5A5P5TO.js";import"./SMNRWNUV.js";import"./YARWRAKS.js";import"./ZGABFMI5.js";import"./O7S3FCYR.js";import"./ZGCTHCV6.js";import{k as w,l as x,o as T,p as u}from"./ESLRUAYH.js";import{a as f}from"./WQBQCO4B.js";import"./4WSQCQFN.js";import"./MAZUKK57.js";import{b as C}from"./W3UAB5V7.js";import{F as S,h as _,i as n,j as y,p as d}from"./HTJXA6GN.js";import"./KHJ277OT.js";export default $arcgis.t(([,{c:A},g,L])=>{var O=_`/** @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.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import{a as u,e as h}from"./LDYUDDLO.js";import{a}from"./E6TINCRP.js";import"./FEHN4KPL.js";import"./UNAA6QIJ.js";import"./GRFZ2FCA.js";import"./QDOHJRID.js";import"./UJO2FYV6.js";import"./6CRO3RMM.js";import"./TXF4E6LF.js";import"./TG66S6FW.js";import"./UE2IX2RL.js";import"./VP4CHRDT.js";import"./32OKNC7F.js";import"./7P6J3DF5.js";import"./HMVNFKGE.js";import"./2KCNUGHU.js";import"./F5A5P5TO.js";import"./SMNRWNUV.js";import"./YARWRAKS.js";import"./ZGABFMI5.js";import"./O7S3FCYR.js";import"./ZGCTHCV6.js";import"./ESLRUAYH.js";import{b as l}from"./W3UAB5V7.js";import{F as i,p as o,s as n}from"./HTJXA6GN.js";import"./KHJ277OT.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as l}from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import{b as l}from"./R2Y4BFBA.js";import{b as m}from"./W3UAB5V7.js";import{D as p,E as o,F as n,h as t,i as r}from"./HTJXA6GN.js";import"./KHJ277OT.js";var h=t`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{i as d,j as i}from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import{i as d,j as i}from"./UJO2FYV6.js";import{a as c}from"./MD7MMSUZ.js";import{a as p}from"./32OKNC7F.js";import{a as s}from"./O7S3FCYR.js";function f(r){let e=!1;return r&&(e=!(r.typeKeywords||[]).includes(c)),e}function w(r,e){let o=(r||[]).filter(t=>t!==c);return e||o.push(c),o}var y=class{constructor(e){this.mappings=e}storeToEntity(e,o){let t=S(e,o,this.mappings);if(s(e,"item")){let n=s(e,"item");i("canEdit",["admin","update"].includes(n.itemControl),t),i("canDelete",n.itemControl==="admin",t),i("canRecycle",n.canRecycle||!1,t),i("protected",n.protected,t)}return t}entityToStore(e,o){return C(e,o,this.mappings)}};function C(r,e,o){if(s(e,"item")){let t=s(e,"item");t.typeKeywords&&(t.typeKeywords=s(r,"isDiscussable")?t.typeKeywords.filter(n=>n!==c):[...t.typeKeywords,c],i("item.typeKeywords",t.typeKeywords,e))}return m(r,"entityKey",e,"storeKey",o)}function S(r,e,o){if(s(r,"item")){let t=s(r,"item");i("isDiscussable",f(t),e)}return m(r,"storeKey",e,"entityKey",o)}function m(r,e,o,t,n){let u=p(o);return n.forEach(l=>{let g=s(l,e),A=s(l,t),a=s(r,g);a!=null&&d(u,A,a,!0)}),u}export{f as a,w as b,y as c,C as d,S as e};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import"./KHJ277OT.js";var s=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.allowRegistration.label`,scope:"/properties/allowRegistration",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.allowRegistration.helperText`},labels:[`{{${e}.fields.allowRegistration.enabled.label:translate}}`,`{{${e}.fields.allowRegistration.disabled.label:translate}}`],descriptions:[`{{${e}.fields.allowRegistration.enabled.description:translate}}`,`{{${e}.fields.allowRegistration.disabled.description:translate}}`],icons:["user-calendar","circle-disallowed"],layout:"horizontal"}},{labelKey:`${e}.fields.notifyAttendees.label`,scope:"/properties/notifyAttendees",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.notifyAttendees.helperText`},labels:[`{{${e}.fields.notifyAttendees.enabled.label:translate}}`,`{{${e}.fields.notifyAttendees.disabled.label:translate}}`],descriptions:[`{{${e}.fields.notifyAttendees.enabled.description:translate}}`,`{{${e}.fields.notifyAttendees.disabled.description:translate}}`],icons:["envelope","circle-disallowed"],layout:"horizontal"}}]}]});export{s as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
4
|
function c(e){let t={};if(Array.isArray(e))t=e.map(c);else if(typeof e=="object"){if(e===null)return e;for(let r in e)if(e.hasOwnProperty(r)){let n=e[r];n!=null&&typeof n=="object"?n instanceof Date?t[r]=new Date(n.getTime()):typeof Blob<"u"&&n instanceof Blob?t[r]=new Blob([n],{type:n.type}):t[r]=c(n):t[r]=n}}else t=e;return t}function s(e,t){return e.filter(n=>n!==t)}function l(e="i"){return`${e}${Math.random().toString(36).substr(2,8)}`}function a(e,t){return e!=null&&(t=c(t),t.push(e)),t}function d(e){e=e.toLowerCase(),e=e.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi," ");let t=/(\-|\_|\.|\s)+(.)?/g,r=/(^|\/)([A-Z])/g;return e.replace(t,function(n,i,u){return u?u.toUpperCase():""}).replace(r,function(n,i,u){return n.toLowerCase()})}function p(e,t,r){return r.indexOf(e)===t}function f(e,t,r=!0){let n=c(e);return Object.keys(t).reduce((i,u)=>{if(t[u]!==null&&t[u]!==void 0){let o=c(t[u]);Array.isArray(o)?i[u]=o:r&&typeof o=="object"?i[u]=f(i[u]||{},o,r):i[u]=o}return i},n)}function x(e,t){let r=[],n=0;for(;n<e.length;)r.push(e.slice(n,n+t)),n+=t;return r}var y=e=>e==null;export{c as a,s as b,l as c,a as d,d as e,p as f,f as g,x as h,y as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import"./KHJ277OT.js";var e="K proveden\xED t\xE9to operace nem\xE1te dostatek kredit\u016F. Po\u017E\xE1dejte o pomoc spr\xE1vce syst\xE9mu ArcGIS.",o="Tento n\xE1stroj byl publikov\xE1n z notebooku. P\u0159\xEDstup k ArcGIS Notebooks je pro va\u0161i organizaci zablokov\xE1n. Pro \xFApravu nastaven\xED se obra\u0165te na spr\xE1vce.",a="${ dataPath } nesm\xED obsahovat ${ additionalProperty }.",t="${ dataPath } se mus\xED shodovat s\xA0jedn\xEDm z\xA0t\u011Bchto sch\xE9mat: ${ schemaOptions }.",r="Zkuste mapu znovu ulo\u017Eit.",s="Odhad kredit\u016F se nezda\u0159il. P\u0159ejd\u011Bte dol\u016F, opravte chyby a znovu odhadn\u011Bte kredity.",n="P\u0159i prov\xE1d\u011Bn\xED anal\xFDzy do\u0161lo k chyb\u011B.",i="${ dataPath } se mus\xED rovnat jedn\xE9 z\xA0t\u011Bchto povolen\xFDch hodnot: ${ allowedValues }.",l="Nepoda\u0159ilo se ulo\u017Eit historii anal\xFDzy",d="\xDAlo\u017Ei\u0161t\u011B historie je pln\xE9. Odstra\u0148te n\u011Bkter\xE9 polo\u017Eky z\xA0historie anal\xFDzy a\xA0zkuste ulo\u017Een\xED zopakovat.",v="N\xE1zev slu\u017Eby obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F.",u="Ukl\xE1d\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy prvk\u016F nebylo dokon\u010Deno.",p="Nepoda\u0159ilo se z\xEDskat vlastnosti kl\xED\u010De.",c="Vrstvu se nepoda\u0159ilo na\u010D\xEDst.",m="Vrstva nen\xED k dispozici.",k="${ dataPath } nesm\xED obsahovat v\xEDce ne\u017E ${ limit } polo\u017Eek.",h="P\u0159i ukl\xE1d\xE1n\xED modelu do\u0161lo k chyb\u011B. Zkuste ulo\u017Eit znovu.",y="${ dataPath } nesm\xED obsahovat m\xE9n\u011B ne\u017E ${ limit } polo\u017Eek.",b="${ dataPath } nesm\xED b\xFDt krat\u0161\xED ne\u017E ${ limit } znak\u016F.",z="Nepoda\u0159ilo se na\u010D\xEDst polo\u017Eku modelu. Ujist\u011Bte se, \u017Ee model existuje a\xA0\u017Ee bylo ud\u011Bleno p\u0159\xEDstupov\xE9 opr\xE1vn\u011Bn\xED.",P="Po\u017Eadavek se nepoda\u0159ilo dokon\u010Dit.",j="Ke spu\u0161t\u011Bn\xED tohoto n\xE1stroje nem\xE1te opr\xE1vn\u011Bn\xED. <calcite-link target='_blank' href='${ docLink }'>Dal\u0161\xED informace</calcite-link>",E="Nepoda\u0159ilo se p\u0159ihl\xE1sit k port\xE1lu.",S="Nepoda\u0159ilo se p\u0159e\u010D\xEDst vstupn\xED data.",f="V ${ dataPath } chyb\xED vlastnost s n\xE1zvem ${ missingProperty }.",$="Vrstva v\xFDsledk\u016F s t\xEDmto n\xE1zvem ji\u017E existuje. Vrstvy v\xFDsledk\u016F mus\xED b\xFDt pojmenov\xE1ny jedine\u010Dn\u011B v cel\xE9 organizaci. Pou\u017Eijte jin\xFD n\xE1zev.",N="V\xFDstupn\xED n\xE1zev obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F. <a href='${docLink}' target='_blank'>V\xEDce informac\xED.</a>",F="Publikov\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy se nezda\u0159ilo kv\u016Fli jednomu nebo v\xEDce neplatn\xFDm pol\xEDm. Spus\u0165te n\xE1stroj znovu a\xA0vytvo\u0159te vrstvu s\xA0platn\xFDmi poli.",I="Odesl\xE1n\xED \xFAlohy se nezda\u0159ilo. P\u0159ejd\u011Bte dol\u016F, opravte chyby a\xA0spus\u0165te anal\xFDzu znovu.",V="${ dataPath } mus\xED obsahovat alespo\u0148 jeden znak jin\xFD ne\u017E mezera.",T={InsufficientCreditsError:e,accessBlocked:o,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:r,creditEstimationError:s,defaultError:n,enumValues:i,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:p,layerLoadFailure:c,layerUnavailable:m,maxItems:k,mbFailedToSave:h,minItems:y,minLength:b,modelNotFound:z,networkError:P,noPermissionToAccessTool:j,portalLoadError:E,queryFeaturesError:S,requiredProperty:f,serviceNameExistsError:$,specialCharactersInServiceNameError:N,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:V};export{e as InsufficientCreditsError,o as accessBlocked,a as additionalProperty,t as anyOfValues,r as cannotWriteToItemResource,s as creditEstimationError,T as default,n as defaultError,i as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,p as keyPropertiesError,c as layerLoadFailure,m as layerUnavailable,k as maxItems,h as mbFailedToSave,y as minItems,b as minLength,z as modelNotFound,P as networkError,j as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,f as requiredProperty,$ as serviceNameExistsError,N as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,V as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as p}from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import{a as p}from"./OO6FJRTO.js";import{a as m}from"./EKGKWXEB.js";import{a as c}from"./M7X7Z3UY.js";import{b as g}from"./GMIEOLX5.js";import{F as d,H as o,I as a,h as l,i as e,l as i,p as r}from"./HTJXA6GN.js";import"./KHJ277OT.js";var u=l`:host{--instant-apps-header-height: auto;--instant-apps-header-min-height: 50px;--instant-apps-header-title-text-link-decoration: underline;--instant-apps-header-height--logo-scale--s: 55px;--instant-apps-header-logo-width--logo-scale--s: 35px;--instant-apps-header-logo-height--logo-scale--s: 35px;--instant-apps-header-height--logo-scale--m: 70px;--instant-apps-header-logo-width--logo-scale--m: 50px;--instant-apps-header-logo-height--logo-scale--m: 50px;--instant-apps-header-height--logo-scale--l: 80px;--instant-apps-header-logo-width--logo-scale--l: 60px;--instant-apps-header-logo-height--logo-scale--l: 60px;--instant-apps-header-actions-end-height: auto;width:100%}:host .image.image_resized img{width:100%}:host .header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .header-container{display:flex;align-items:center;width:100%;height:inherit}:host .header-container slot{display:flex;height:inherit}:host .header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .header-container ::slotted(*) calcite-button{height:100%}:host .header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration);overflow:hidden}:host .header-content img{margin:10px}:host .header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .header-content #infoButton{margin-inline-start:10px}:host .header-content.center{justify-content:center}:host .header-content.right{justify-content:end}:host .header.height-s{height:var(--instant-apps-header-height--logo-scale--s)}:host .header.height-s h1{font-size:1.125rem}:host .header.height-s img{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .header.height-m{height:var(--instant-apps-header-height--logo-scale--m)}:host .header.height-m img{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .header.height-l{height:var(--instant-apps-header-height--logo-scale--l)}:host .header.height-l h1{font-size:1.375rem}:host .header.height-l img{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}`,s={base:"header",headerContainer:"header-container",headerContent:"header-content",actionsEndContainer:"actions-end-container"},h=class extends d{constructor(){super(...arguments),this._sanitizer=new c({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.handleMobileMediaQueryChange=t=>{let{matches:n}=t;if(n){this.logoScale="s";return}this.logoScale=this.initialScale},this.initialScale="m",this.titleText="",this.logoScale="m",this.infoButton=!1,this.infoIsOpen=!1,this.headerAlignment="left",this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=p.medium[1],this.infoIsOpenChanged=r({cancelable:!1})}static{this.properties={initialScale:16,titleText:1,titleTextLink:1,backgroundColor:1,textColor:1,logoImage:1,logoScale:3,logoImageAltText:1,logoLink:1,infoButton:7,infoIsOpen:7,infoTitleText:1,customHeaderHtml:1,headerAlignment:1,customHeaderCss:1,fontFamily:3,mobileWidthBreakpoint:9}}static{this.styles=u}async toggleInfo(){this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen)}load(){this.handleMobileBreakpoints(),this.sanitizeCustomHeaderHtml()}willUpdate(t){t.has("customHeaderHtml")&&this.sanitizeCustomHeaderHtml()}disconnectedCallback(){super.disconnectedCallback(),this._mobileMediaQuery?.removeEventListener("change",this.handleMobileMediaQueryChange)}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}handleMobileBreakpoints(){this.initialScale=this.logoScale,this._mobileMediaQuery=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`),this._mobileMediaQuery.matches&&(this.logoScale="s"),this._mobileMediaQuery.addEventListener("change",this.handleMobileMediaQueryChange)}get hasEmptyLogo(){return this.logoImage==="undefined"||this.logoImage?.split("?")[0]==="undefined"||this.logoImage?.split("?")[0]===""||!this.logoImage}render(){let t=this.renderLogo(),n=this.renderTitle(),f=m(this.fontFamily);return this.customHeaderHtml?[e`<style>${this.customHeaderCss}</style>`,e`<div id=customHeader .innerHTML=${this.customHeaderHtml??""}></div>`]:e`<header class=${o({[s.base]:s.base,[`height-${this.logoScale}`]:!!t})} style=${a({backgroundColor:this.backgroundColor,fontFamily:f})}><div class=${o(s.headerContainer)}><span class=${`${s.headerContent} ${this.headerAlignment}`}>${t}${n}${this.infoButton?e`<calcite-button style=${a({"--calcite-color-text-1":this.textColor})} id=infoButton alignment=start appearance=transparent kind=neutral icon-start=information-f scale=s .label=${this.infoTitleText} title=${this.infoTitleText??i} @click=${this.toggleInfo}></calcite-button>`:null}</span><div class=${o(s.actionsEndContainer)}><slot name=actions-end></slot></div></div></header>`}renderLogo(){if(this.hasEmptyLogo)return null;let t=e`<img src=${this.logoImage??i} alt=${this.logoImageAltText??i}>`;return this.logoLink?e`<a href=${this.logoLink??i} target=_blank>${t}</a>`:t}renderTitle(){return this.titleText&&this.titleTextLink?e`<a style=${a({color:this.textColor})} href=${this.titleTextLink??i} rel="noopener noreferrer" target=_blank>${e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}</a>`:e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}};g("instant-apps-header",h);export{h as InstantAppsHeader};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{d as s}from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import{d as s}from"./2KCNUGHU.js";import"./ZGABFMI5.js";import"./O7S3FCYR.js";import"./ZGCTHCV6.js";import"./KHJ277OT.js";var a=async(e,r,l)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.groupAccess.label`,scope:"/properties/_associations/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.groupAccess.helperText`},labels:[`{{${e}.fields.groupAccess.private.label:translate}}`,`{{${e}.fields.groupAccess.org.label:translate}}`,`{{${e}.fields.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.groupAccess.private.description:translate}}`,`{{${e}.fields.groupAccess.org.description:translate}}`,`{{${e}.fields.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/_associations/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org:translate}}`,`{{${e}.fields.membershipAccess.collab:translate}}`,`{{${e}.fields.membershipAccess.any:translate}}`],disabled:[!1,!s("platform:portal:user:addExternalMembersToGroup",l).access,!s("platform:portal:user:addExternalMembersToGroup",l).access]}}]}]});export{a as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as e}from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import{b as e}from"./CZ5X5637.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import{a as d}from"./3T7IYLMO.js";import{a as u,b as t,c as h}from"./F37R3OXJ.js";import"./ZGABFMI5.js";import{a as w}from"./O7S3FCYR.js";import"./KHJ277OT.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as h}from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import{a as h}from"./WQBQCO4B.js";import"./4WSQCQFN.js";import"./MAZUKK57.js";import{b as p}from"./W3UAB5V7.js";import{F as d,h as r,i as l,l as c,p as n}from"./HTJXA6GN.js";import"./KHJ277OT.js";var y=r`/** @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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import b from"./BG7THPYT.js";import{c as p}from"./UFE4G4RJ.js";import a from"./AA3OODB2.js";import{b as d}from"./KV6E2SFN.js";import"./FEHN4KPL.js";import"./UNAA6QIJ.js";import"./GRFZ2FCA.js";import"./QDOHJRID.js";import"./UJO2FYV6.js";import"./6CRO3RMM.js";import"./TXF4E6LF.js";import"./TG66S6FW.js";import"./UE2IX2RL.js";import"./VP4CHRDT.js";import"./32OKNC7F.js";import"./7P6J3DF5.js";import"./HMVNFKGE.js";import"./2KCNUGHU.js";import"./F5A5P5TO.js";import"./SMNRWNUV.js";import"./YARWRAKS.js";import"./ZGABFMI5.js";import"./O7S3FCYR.js";import"./ZGCTHCV6.js";import"./ESLRUAYH.js";import{a as h}from"./WQBQCO4B.js";import"./4WSQCQFN.js";import"./MAZUKK57.js";import{b as l}from"./W3UAB5V7.js";import{D as r,E as n,F as c,J as i,h as o,i as s}from"./HTJXA6GN.js";import"./KHJ277OT.js";export default $arcgis.t(([,{c:g}])=>{var u=o`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import b from"./FP6CVRPP.js";import a from"./MT4KKD5M.js";import{a as _}from"./DTHSN36M.js";import{b as y}from"./25MYRWPK.js";import"./STNJMHAQ.js";import{D as $,E as T,G as l,I as g,h as C,i as r,o as x,r as L}from"./QH7G7WSC.js";import"./XQURVTFE.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,b)
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import b from"./5YJPALMY.js";import a from"./QSYA2APQ.js";import{a as _}from"./ZS5WKHPW.js";import{b as y}from"./GMIEOLX5.js";import"./MAZUKK57.js";import{E as $,F as T,H as l,J as g,h as C,i as r,p as x,s as L}from"./HTJXA6GN.js";import"./KHJ277OT.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,b)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import{a as O}from"./GRFZ2FCA.js";import{e as _}from"./TG66S6FW.js";import{a as l,f as p}from"./32OKNC7F.js";import"./O7S3FCYR.js";import"./KHJ277OT.js";function C(e,a){let i=[];return O(e,(t,o)=>(o.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let o=q(a),r,u,s,m,d;switch(o){case"stat":s=import("./GMMJSQCO.js"),m={"hub:card:stat":()=>import("./3YPVT2SF.js")}[a],await Promise.all([s,m()]).then(async([f,c])=>{let{MetricSchema:n}=f;r=l(n),u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(d=c.buildDefaults(e,i,t))});break;case"follow":s=import("./CG54KNHW.js"),m={"hub:card:follow":()=>import("./AT4QQS4E.js")}[a],await Promise.all([s,m()]).then(([f,c])=>{let{FollowSchema:n}=f;r=l(n),u=c.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./2ITFRR75.js"),m=import("./NUOQWKHY.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:o}=a;o||(o=""),t.maxLength=_(o);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:o}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let o=a.split(":")[1],r,u,s;switch(o){case"site":let{getSiteSchema:m}=await import("./AZY3OG5Z.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./POMBIM2T.js"),"hub:site:create":()=>import("./4FCZ4AZ7.js"),"hub:site:followers":()=>import("./I3BWD2LX.js"),"hub:site:discussions":()=>import("./G25LXNP5.js"),"hub:site:settings":()=>import("./AA5S43EA.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./Z7WH3PY4.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./4B4DVSY5.js"),"hub:discussion:create":()=>import("./E7BTZQRN.js"),"hub:discussion:settings":()=>import("./7KQEUB3J.js"),"hub:discussion:settings:discussions":()=>import("./LKKXUC52.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./26CIPTQN.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./L7MBYDMB.js"),"hub:channel:create":()=>import("./T6U4HMPV.js")}[a]();u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(s=await c.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./CZB5Z7GA.js");r=l(n);let v=await{"hub:project:edit":()=>import("./CCWREFPV.js"),"hub:project:create":()=>import("./B6ACMA5B.js"),"hub:project:create2":()=>import("./AIWE35NS.js"),"hub:project:metrics":()=>import("./HGTZFPBI.js"),"hub:project:settings":()=>import("./KBQJQVZP.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./EJQOZRVC.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./TVBP7E34.js"),"hub:initiative:create":()=>import("./CQRE2M4F.js"),"hub:initiative:create2":()=>import("./JM4DQYUF.js"),"hub:initiative:metrics":()=>import("./J4KULWAC.js"),"hub:initiative:associations":()=>import("./3EF32E4B.js"),"hub:initiative:settings":()=>import("./ZUJ3VJF5.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./KFTMUTWW.js");r=l(I);let D=await{"hub:page:edit":()=>import("./RZWTSUJZ.js"),"hub:page:create":()=>import("./SJOOBDVL.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./ZKG2VPKR.js");r=l(K);let U=await{"hub:content:edit":()=>import("./ZCRLXSR3.js"),"hub:content:discussions":()=>import("./P7UXKWMX.js"),"hub:content:settings":()=>import("./RSA4AWTB.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./LORQGESC.js");r=l(y);let k=await{"hub:template:edit":()=>import("./QVJ7QQVE.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./UCN2N7DB.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./HWS6ASNJ.js"),"hub:group:create:association":()=>import("./MB4RZXW5.js"),"hub:group:create:view":()=>import("./LV3XG53H.js"),"hub:group:create:edit":()=>import("./LPBE2FHF.js"),"hub:group:create":()=>import("./ISBOWSOF.js"),"hub:group:edit":()=>import("./Q74EQS3O.js"),"hub:group:settings":()=>import("./TJ3ELT7Y.js"),"hub:group:discussions":()=>import("./BYPEUWGZ.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./6WIKCCYS.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./F7FPLRM7.js"),"hub:survey:settings":()=>import("./JXU4HAWE.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./HZZL7AU3.js"),"hub:event:edit":()=>import("./SH26YDC5.js"),"hub:event:registrants":()=>import("./QNZCOWWV.js")}[a](),H=await{"hub:event:create":()=>import("./IDR3G6QJ.js"),"hub:event:edit":()=>import("./7BKAYHD3.js"),"hub:event:registrants":()=>import("./2ZCAWD3F.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./5NCLW4RU.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./HJZYONIH.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./7WVIQXD6.js");r=l(N);let P=await{"hub:user:settings":()=>import("./D4QLXXIE.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as i}from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import{a as i}from"./ZGABFMI5.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import b from"./ESDGUCHM.js";import{d as f}from"./UFE4G4RJ.js";import a from"./AA3OODB2.js";import{b as m}from"./KV6E2SFN.js";import"./FEHN4KPL.js";import"./UNAA6QIJ.js";import"./GRFZ2FCA.js";import"./QDOHJRID.js";import"./UJO2FYV6.js";import"./6CRO3RMM.js";import"./TXF4E6LF.js";import"./TG66S6FW.js";import"./UE2IX2RL.js";import"./VP4CHRDT.js";import"./32OKNC7F.js";import"./7P6J3DF5.js";import"./HMVNFKGE.js";import"./2KCNUGHU.js";import"./F5A5P5TO.js";import"./SMNRWNUV.js";import"./YARWRAKS.js";import"./ZGABFMI5.js";import"./O7S3FCYR.js";import"./ZGCTHCV6.js";import{a as u}from"./ZS5WKHPW.js";import"./ESLRUAYH.js";import{a as h}from"./WQBQCO4B.js";import"./4WSQCQFN.js";import"./MAZUKK57.js";import{b as g}from"./W3UAB5V7.js";import{F as p,J as n,h as d,i,p as o}from"./HTJXA6GN.js";import"./KHJ277OT.js";export default $arcgis.t(([,{d:s,h:x,i:b}])=>{var _=d`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as e}from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import{a as e}from"./6GINIJMQ.js";import"./AQMXUMFV.js";import"./NMKJ5JOM.js";import"./6KVTLN7I.js";import"./FWANARJ7.js";import"./OXM25VGF.js";import"./IBGVJQ3D.js";import"./JSKC5AKJ.js";import"./ZGCTHCV6.js";import"./A56WOLMU.js";import"./ZWPKTGXD.js";import"./REITZYXX.js";import"./5RVBDF5G.js";import"./BEXA43V2.js";import"./OGODOUBS.js";import"./KYQKVXNP.js";import"./UHZSVZPK.js";import"./2GPTZNVI.js";import"./3FHCXLTP.js";import"./ZN4UP4WI.js";import"./ABT5YG3I.js";import"./6FQEMJLG.js";import{a as t}from"./CZ5X5637.js";import"./KHJ277OT.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f as buildUiSchema};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import e from"./EB6Y35GJ.js";import{c as w}from"./GFIYGODA.js";import d from"./ESDGUCHM.js";import{a as g,b as S,c as C,d as f}from"./UFE4G4RJ.js";import a from"./AA3OODB2.js";import{a as r}from"./KV6E2SFN.js";import"./FEHN4KPL.js";import"./UNAA6QIJ.js";import"./GRFZ2FCA.js";import"./QDOHJRID.js";import"./UJO2FYV6.js";import"./6CRO3RMM.js";import"./TXF4E6LF.js";import"./TG66S6FW.js";import"./UE2IX2RL.js";import"./VP4CHRDT.js";import"./32OKNC7F.js";import"./7P6J3DF5.js";import"./HMVNFKGE.js";import"./2KCNUGHU.js";import"./F5A5P5TO.js";import"./SMNRWNUV.js";import"./YARWRAKS.js";import"./ZGABFMI5.js";import"./O7S3FCYR.js";import"./ZGCTHCV6.js";import{p as v}from"./ESLRUAYH.js";import{a as m}from"./WQBQCO4B.js";import"./4WSQCQFN.js";import"./MAZUKK57.js";import{b as y}from"./W3UAB5V7.js";import{D as i,E as s,F as T,H as h,h as b,i as _,p as c}from"./HTJXA6GN.js";import"./KHJ277OT.js";export default $arcgis.t(([,{g:x,h:k},$])=>{var L=b`/** @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
|
+
*/.back-color-override{background-color:var(--calcite-color-foreground-2);--calcite-tab-border-color: var(--calcite-color-foreground-3)}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tabs{--calcite-color-focus: transparent;height:100%}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-resources-shell,solutions-deployed-shell,solutions-all-shell,calcite-tab-nav,solution-deployed-card-panel{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-3);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box}.overflow-auto{overflow:auto}`,u=class extends T{constructor(){super(),this.sortType="relevance",this.useLocalAppConfig=!1,this.authentication=void 0,this._isLoaded=!1,this.isMobile=!1,this._translations=m({name:"solutions-deploy-app",blocking:!0}),this._agoTerms=`${v}`,this._allCards=[],this._allShell=i(),this._allTab=i(),this._allTabTitle=i(),this._resourcesTab=i(),this._resourcesTabTitle=i(),this._authContextProvider=r({context:C}),this._categories=[],this._configContextProvider=r({context:f}),this._delay=!1,this._deployAppNav=i(),this._deployedCardPanel=i(),this._deployedCardTab=i(),this._deployedCardTabTitle=i(),this._detailsShell=i(),this._detailsTab=i(),this._detailsTabTitle=i(),this._getSuggested=!1,this._isMobileContextProvider=r({context:S}),this._mySolutionsShell=i(),this._mySolutionsTab=i(),this._mySolutionsTabTitle=i(),this._sortField="relevance",this._sortOrder="desc",this._userSessionContextProvider=r({context:g}),this.deployAppTabSelected=c(),this.detailsCardSelected=c(),this.deployedCardSelected=c(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"deployedCardSelected",this._deployedCardSelected),this.listenOn(window,"deployProgressEnd",this._deployProgressEnd),this.listenOn(window,"navTabSelected",this._setActiveTab),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={appConfig:1,sortType:1,useLocalAppConfig:5,authentication:16,_isLoaded:16,isMobile:16,_translations:16}}static{this.styles=L}async selectTab(t,e){if(this._isLoaded){let a=this._getDefaultSearchOptions(e);switch(t.tabType){case"all-solutions":this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0,a&&await this._allShell.value?.searchSolutions(a);break;case"resources":this._resourcesTab.value.selected=!0,this._resourcesTabTitle.value.selected=!0;break;case"deployed-card":alert("need to figure out the lookup here since it will need to happen based on id");break;case"details":if(this._allCards){let l=x(this._allCards,t.tabTitleOrId);l=l||k(this._allCards,t.tabTitleOrId),l?(this._detailsTab.value.selected=!0,this._detailsTabTitle.value.selected=!0,this.detailsCardSelected.emit(l)):(t.tabType="all-solutions",this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0)}break;case"deployments":this._mySolutionsTab.value.selected=!0,this._mySolutionsTabTitle.value.selected=!0,a&&await this._mySolutionsShell.value?.searchSolutions(a);break}this._setActiveTab(new CustomEvent("setActiveTab",{detail:t})),this._blurTabs()}else this._initTab=t,this._initFilters=e}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){this.useLocalAppConfig&&(this.appConfig=w)}render(){let t=this._isLoaded?"display-none":"",e=this._isLoaded?"":"display-none";return _`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} @authInit=${this._handleAuthInit} slot=header .useLocalAppConfig=${this.useLocalAppConfig} ${s(this._deployAppNav)}></solutions-deploy-app-nav><div class="border" slot=header></div><solutions-searchsort-toolbar .isMobile=${this.isMobile} slot=header></solutions-searchsort-toolbar><calcite-loader class=${h(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader><calcite-tabs class=${h(e)} scale=l><calcite-tab-nav class="display-none" slot=title-group><calcite-tab-title ${s(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${s(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${s(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${s(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${s(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${s(this._allTab)}><solutions-all-shell class="height-100" ${s(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${s(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${s(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${s(this._resourcesTab)}><solutions-resources-shell class="height-100"></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${s(this._detailsTab)}><solution-details-panel class="height-100" ${s(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${s(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100 overflow-auto" ${s(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></calcite-shell>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}async _handleAuthInit(t){let e=t.detail;e.userSession&&this._userSessionContextProvider.setValue(e.userSession),e.authentication&&(this.authentication=e.authentication,this._authContextProvider.setValue(this.authentication)),this._cardsFetcher=new $(e.locale,e.orgUrl,e.portalUrl),await this._getSolutions(e.primarySolutionsGroupId),e.allCards=this._allCards,this._configContextProvider.setValue(e),this._isLoaded=!0,this._handleSignInParamRedirect(),this._initTab&&(this.selectTab(this._initTab,this._initFilters),this._initTab=void 0,this._initFilters=void 0)}_mediaQueryChange(t){this.isMobile=t.matches,this._isMobileContextProvider.setValue(this.isMobile)}_setActiveTab(t){let e=t.detail.tabType;switch(e){case"all-solutions":this._allTabTitle.value?.click();break;case"deployments":this._mySolutionsTabTitle.value?.click();break;case"resources":this._resourcesTabTitle.value?.click();break;case"deployed-card":this._deployedCardTabTitle.value?.click();case"details":this._detailsTabTitle.value?.click();break}e!=="details"&&(this._deployAppNav.value.activateMenuItem(e),this.deployAppTabSelected.emit(e))}_detailsCardSelected(){this._detailsTabTitle.value.selected=!0,this._detailsTab.value.selected=!0,this._deployAppNav.value.clearMenuItems()}_deployedCardSelected(){this._deployedCardTabTitle.value.selected=!0,this._deployedCardTab.value.selected=!0,this._deployAppNav.value.clearMenuItems()}_deployProgressEnd(){this._mySolutionsTabTitle.value.selected=!0,this._mySolutionsTab.value.selected=!0}async _getSolutions(t){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},t,"",this._userSessionContextProvider.value,{num:1e3});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards),this._allCards}_blurTabs(){this._allTabTitle.value?.blur(),this._resourcesTabTitle.value?.blur(),this._detailsTabTitle.value?.blur(),this._mySolutionsTabTitle.value?.blur()}_handleSignInParamRedirect(){let t=new URLSearchParams(window.location.search),e=t.get("signInParam");if(e&&!this._initTab){this._initTab={tabType:e},t.delete("signInParam");let a=t.toString()?`${window.location.pathname}?${t.toString()}`:window.location.pathname;window.history.replaceState(null,"",a)}}_getDefaultSearchOptions(t){let e;if(t){let a=t.domain,l=t.industry,p=t.offerType,n=t.searchTerm,A="",o=t.sortField,d=t.owner;e=a||l?{type:a?"domain":l?"industry":""}:void 0,a&&(e=e?{...e,domain:a}:{domain:a}),l&&(e=e?{...e,industry:l}:{industry:l}),n&&(e=e?{...e,searchTerm:n}:{searchTerm:n}),e&&(e={...e,displayValue:A}),o&&(e=e?{...e,sortType:o}:{sortType:o}),p&&(o=p.toLowerCase(),e=e?{...e,sortType:o}:{sortType:o}),d&&(e=e?{...e,owner:d}:{owner:d})}return e}};y("solutions-deploy-app",u);return u},a,d,e)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as c,b as n,c as y}from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import{a as c,b as n,c as y}from"./VWCVOS6M.js";import{b as d}from"./W3UAB5V7.js";import{D as a,E as s,F as m,h as u,i as t,p}from"./HTJXA6GN.js";import"./KHJ277OT.js";var h=u`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as s}from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import{a as s}from"./VQIF3HW2.js";import"./UE2IX2RL.js";import"./VP4CHRDT.js";import"./32OKNC7F.js";import"./7P6J3DF5.js";import{a as i,b as a}from"./WBLATNLZ.js";import"./QCBF6D2I.js";import"./HMVNFKGE.js";import"./2KCNUGHU.js";import{a as o}from"./SBR5OKMT.js";import{a as r}from"./UV2WNCQF.js";import"./F5A5P5TO.js";import"./SMNRWNUV.js";import"./YARWRAKS.js";import"./ZGABFMI5.js";import"./O7S3FCYR.js";import"./6GINIJMQ.js";import"./AQMXUMFV.js";import"./NMKJ5JOM.js";import"./6KVTLN7I.js";import"./FWANARJ7.js";import"./OXM25VGF.js";import"./IBGVJQ3D.js";import"./JSKC5AKJ.js";import"./ZGCTHCV6.js";import"./A56WOLMU.js";import"./ZWPKTGXD.js";import"./REITZYXX.js";import"./5RVBDF5G.js";import"./BEXA43V2.js";import"./OGODOUBS.js";import"./KYQKVXNP.js";import"./UHZSVZPK.js";import"./2GPTZNVI.js";import"./3FHCXLTP.js";import"./ZN4UP4WI.js";import"./ABT5YG3I.js";import"./6FQEMJLG.js";import"./CZ5X5637.js";import"./KHJ277OT.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{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.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"discussion",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 r(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await i(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),mapTools:["polygon","rectangle"],noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.details.label`,elements:[{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{control:"hub-field-input-input",type:"textarea",messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]}]});export{u as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import c from"./7GMTKVDP.js";import b from"./WQSKVYFF.js";import"./Q67LCQR5.js";import a from"./QSYA2APQ.js";import{a as m}from"./ZS5WKHPW.js";import"./MPUF2TPM.js";import{b as h}from"./GMIEOLX5.js";import"./MAZUKK57.js";import{D as r,E as o,F as p,H as i,h as d,i as t}from"./HTJXA6GN.js";import"./KHJ277OT.js";export default $arcgis.t(([,{b:c},{r:y}])=>{var f=d`:host{display:block}:host .esri-legend__layer-table,:host .instant-apps-interactive-legend__nested-unique-symbol{margin:0}:host .hide{display:none}`,e={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"},n=class extends p{constructor(){super(),this.legendLayerCaption=r(),this.expanded=!0,this.titleText="",this.listenOn(window,"legendLayerExpandUpdated",this.legendLayerExpandUpdatedEmitted)}static{this.properties={expanded:16,activeLayerInfo:0,isSizeRamp:5,isChild:5,isColorRamp:5,isRelationshipRamp:5,isInteractive:5,zoomTo:5,legendElement:0,titleText:1,legendvm:0,legendElementIndex:9}}static{this.styles=f}legendLayerExpandUpdatedEmitted(){this.legendLayerCaption.value&&(this.expanded=this.legendLayerCaption.value.expanded)}render(){let g=this.isChild?e.layerChildTable:e.layerTable,a=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,v=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${e.layerTableSizeRamp}`:"",$=this.isInteractive?"":` ${e.nonInteractive}`,x=y(this.activeLayerInfo)?` ${e.nestedUniqueSymbol}`:"",s=a&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let l=c.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];s=l===void 0?!0:l}return t`<div class=${`${g}${v}${$}${x}`}><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-caption`} class=${i(this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&a?"hide":"show")}><instant-apps-interactive-legend-legend-element-caption .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} ${o(this.legendLayerCaption)}></instant-apps-interactive-legend-legend-element-caption></div>${m("content",t`<div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`} class=${i(s?"show":"hide")}><slot name=content></slot></div>`)}</div>`}};h("instant-apps-interactive-legend-legend-element",n);return n},a,b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
4
|
function i(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(e);n<t.length;n++)o.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(r[t[n]]=e[t[n]]);return r}export{i as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.31 */
|
|
4
|
+
import"./KHJ277OT.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l as buildUiSchema};
|