@esri/solutions-components 1.0.0-next.20250605 → 1.0.0-next.20250613
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/assets/config/appConfig.json.d.ts +1 -1
- package/dist/assets/spatialReferences.json.d.ts +3 -0
- package/dist/cdn/{TULGRERT.js → 22VDIWCV.js} +2 -2
- package/dist/cdn/{ROVGEAF3.js → 274YYYMS.js} +2 -2
- package/dist/cdn/{SP2JO6Q3.js → 2CO25KUU.js} +2 -2
- package/dist/cdn/{HEPGER72.js → 2CXGIE2Y.js} +2 -2
- package/dist/cdn/{D37USTZ3.js → 2DKM6FJB.js} +2 -2
- package/dist/cdn/2EPS5SYY.js +18 -0
- package/dist/cdn/{4ZGXBIVH.js → 2IW5OPGT.js} +1 -1
- package/dist/cdn/{NE2UAOWL.js → 2J67PINK.js} +2 -2
- package/dist/cdn/{FSN5FQRG.js → 2JCMVX4M.js} +1 -1
- package/dist/cdn/{B22SBUCC.js → 2NUECUOL.js} +2 -2
- package/dist/cdn/{FJU4NZYE.js → 2PFHWIEU.js} +2 -2
- package/dist/cdn/{34F5RSDO.js → 2T3B74OY.js} +2 -2
- package/dist/cdn/{EJFAX7DQ.js → 2TBU3VSR.js} +3 -3
- package/dist/cdn/{XOLJEZVW.js → 2TJPUN6O.js} +2 -2
- package/dist/cdn/{7K5ZFURJ.js → 2Y73A3MC.js} +2 -2
- package/dist/cdn/{L23ZIKAY.js → 33L6GMXG.js} +2 -2
- package/dist/cdn/{KMPEI3WK.js → 377IXJY2.js} +1 -1
- package/dist/cdn/{LMBHKGYA.js → 3IMYYEAA.js} +2 -2
- package/dist/cdn/{UYHKYPA5.js → 3IRDRDFA.js} +2 -2
- package/dist/cdn/{FNEE7DUR.js → 3Q3S4KCD.js} +2 -2
- package/dist/cdn/45JZSDFM.js +32 -0
- package/dist/cdn/{CZL4FXMV.js → 4EDMGBIS.js} +2 -2
- package/dist/cdn/{2UP2HWNK.js → 4IS37ZST.js} +3 -3
- package/dist/cdn/{GK37CEKN.js → 4JCBZIU7.js} +2 -2
- package/dist/cdn/{XSPGKSFV.js → 4NASOTXM.js} +3 -3
- package/dist/cdn/{VLUKESNO.js → 4OT4W6QT.js} +2 -2
- package/dist/cdn/{R2CS5FOZ.js → 4QPHTDMN.js} +2 -2
- package/dist/cdn/{QB54S7F4.js → 5DPFMR4I.js} +1 -1
- package/dist/cdn/{F3L5GFZI.js → 5HO6CGS5.js} +2 -2
- package/dist/cdn/{I6Q6CZKU.js → 5NPDUIR3.js} +2 -2
- package/dist/cdn/{HPKI63DN.js → 5TICPJ6T.js} +1 -1
- package/dist/cdn/{AHQ3XGAS.js → 5UJ4IPXJ.js} +2 -2
- package/dist/cdn/{O6TVLT3A.js → 65PMG2PU.js} +2 -2
- package/dist/cdn/{MXZE6DRA.js → 66BP63VM.js} +2 -2
- package/dist/cdn/{5M4BUTK4.js → 66GDPGJ4.js} +2 -2
- package/dist/cdn/6AJFPNS6.js +18 -0
- package/dist/cdn/{GQGYZ5UC.js → 6DNHQQ3A.js} +2 -2
- package/dist/cdn/{I4DZFH7G.js → 6JQDE67P.js} +2 -2
- package/dist/cdn/{W2MSJDRL.js → 6MQ5O5LY.js} +2 -2
- package/dist/cdn/6MUGOANO.js +18 -0
- package/dist/cdn/6MV7IVTY.js +18 -0
- package/dist/cdn/{2IQP5CPJ.js → 6PO4KLK2.js} +1 -1
- package/dist/cdn/{3T72AHYQ.js → 6QYNVEGC.js} +2 -2
- package/dist/cdn/6RLCUNUI.js +4 -0
- package/dist/cdn/72ABS7Y2.js +4 -0
- package/dist/cdn/{XSYAZ3QX.js → 7DGHICZE.js} +2 -2
- package/dist/cdn/{TFY5N3WM.js → 7DTXJNDH.js} +2 -2
- package/dist/cdn/{ZRMVLR6Z.js → 7F5VKLCK.js} +1 -1
- package/dist/cdn/{CQZPEOV3.js → 7FEZLKY7.js} +2 -2
- package/dist/cdn/{P7IZEV4L.js → 7FVHNQUY.js} +2 -2
- package/dist/cdn/{NJS2N5K3.js → 7HNEFBST.js} +2 -2
- package/dist/cdn/{3CA2UUPB.js → 7J7JEO5J.js} +2 -2
- package/dist/cdn/7XO35MKM.js +4 -0
- package/dist/cdn/A72736JC.js +18 -0
- package/dist/cdn/{2K4LEPDI.js → AF64VHQT.js} +2 -2
- package/dist/cdn/{A6VHGI5U.js → AJP3NB7X.js} +2 -2
- package/dist/cdn/{3S7YVVVZ.js → B25NMROT.js} +2 -2
- package/dist/cdn/{MUSGKJHI.js → B3A3AMPV.js} +2 -2
- package/dist/cdn/{WNKH5IG6.js → B7UAO4LR.js} +2 -2
- package/dist/cdn/{SA6AJPBT.js → BAKMXZ7G.js} +2 -2
- package/dist/cdn/BJUDP4CV.js +4 -0
- package/dist/cdn/BNKH37TY.js +4 -0
- package/dist/cdn/{6FA2FL3C.js → BOD65ZU4.js} +2 -2
- package/dist/cdn/{YNKDS73P.js → C2AIE2T2.js} +2 -2
- package/dist/cdn/C5K2J7H4.js +4 -0
- package/dist/cdn/{FM5G7FRN.js → CGZYVYUK.js} +2 -2
- package/dist/cdn/{XUJO4B4K.js → CILM6ZZK.js} +1 -1
- package/dist/cdn/CKVKWVOH.js +18 -0
- package/dist/cdn/{FCGJ2VZH.js → CXKUQGUM.js} +2 -2
- package/dist/cdn/{5TQFPX44.js → D2SRSVHL.js} +2 -2
- package/dist/cdn/D5LXSOBF.js +4 -0
- package/dist/cdn/{U4TZ7FO3.js → DASHRYX4.js} +1 -1
- package/dist/cdn/{GKGR6CL5.js → DBXTXE2N.js} +1 -1
- package/dist/cdn/{PB7R6EJV.js → DH27ODVZ.js} +2 -2
- package/dist/cdn/{CTHU3ZDE.js → DI4XSN3O.js} +2 -2
- package/dist/cdn/{DQBC22ZI.js → DVVDE2AV.js} +1 -1
- package/dist/cdn/DWW72S7K.js +4 -0
- package/dist/cdn/DX3JGAPB.js +18 -0
- package/dist/cdn/{3PFSXVNI.js → DXFLMIEH.js} +2 -2
- package/dist/cdn/{EACONZXN.js → DZYWA7TU.js} +2 -2
- package/dist/cdn/E4EIYPLL.js +18 -0
- package/dist/cdn/{JCWH5TGE.js → E64YVOUB.js} +2 -2
- package/dist/cdn/{7H5QHDT3.js → ENBESLVD.js} +1 -1
- package/dist/cdn/ERDIVQ25.js +4 -0
- package/dist/cdn/{DFH335RF.js → ERWALFVE.js} +2 -2
- package/dist/cdn/{TT63U5XZ.js → EXBNMAE6.js} +1 -1
- package/dist/cdn/{ZIZC3PWT.js → F2HTXL46.js} +2 -2
- package/dist/cdn/FIBRPI6R.js +4 -0
- package/dist/cdn/{GRYSKL7I.js → FK3LVUKS.js} +2 -2
- package/dist/cdn/{PMETOHGA.js → FOBRIUEH.js} +2 -2
- package/dist/cdn/{TWXRBFOF.js → FOWQMKU2.js} +2 -2
- package/dist/cdn/{PSFFYGFC.js → FSKJTN3T.js} +2 -2
- package/dist/cdn/{YHJQLEL5.js → FSX5ISCK.js} +2 -2
- package/dist/cdn/{V4EKVAQ2.js → FVBTKN3N.js} +1 -1
- package/dist/cdn/{B2ZUA2SA.js → FWKD6EYP.js} +2 -2
- package/dist/cdn/GAEUS47T.js +4 -0
- package/dist/cdn/GFZBEF2X.js +4 -0
- package/dist/cdn/{WL5HYM67.js → GOSNXA6P.js} +2 -2
- package/dist/cdn/GSQAL2KY.js +4 -0
- package/dist/cdn/{OG3HGM7O.js → GWKZIPJH.js} +2 -2
- package/dist/cdn/H47GJ6H5.js +18 -0
- package/dist/cdn/H5JSQR72.js +18 -0
- package/dist/cdn/{WUF32TGT.js → H6BFVMYO.js} +2 -2
- package/dist/cdn/{J7MKHQD5.js → HEG6SMKM.js} +2 -2
- package/dist/cdn/{RJCEZOX5.js → HN5MMXWZ.js} +2 -2
- package/dist/cdn/{4D4Q4I4W.js → HS6GUC22.js} +2 -2
- package/dist/cdn/I62RYEPM.js +18 -0
- package/dist/cdn/{NL5KEH5L.js → I6NUVFSK.js} +2 -2
- package/dist/cdn/{D3MPEAVK.js → IAC5U4FW.js} +2 -2
- package/dist/cdn/{N74LH7NF.js → IAJEOYDY.js} +2 -2
- package/dist/cdn/{PGUKFHUT.js → IALX23CK.js} +2 -2
- package/dist/cdn/{IJU4WTDO.js → IF3A3DMK.js} +2 -2
- package/dist/cdn/IJOSG4N5.js +4 -0
- package/dist/cdn/{4RAQTPVG.js → JBOSZIGQ.js} +2 -2
- package/dist/cdn/{76RSSIAE.js → JSD4D4IU.js} +2 -2
- package/dist/cdn/{CT4IZZF2.js → JTGDHH2G.js} +2 -2
- package/dist/cdn/{ZRH55DSX.js → JVLS6G3W.js} +2 -2
- package/dist/cdn/{7HTKOKPV.js → K7TEZ7PM.js} +1 -1
- package/dist/cdn/{UWKDTPML.js → KAVI5FEZ.js} +1 -1
- package/dist/cdn/{6VLCRTPG.js → KDUSIRYT.js} +2 -2
- package/dist/cdn/{T2W5CMQT.js → KF2RPBWH.js} +2 -2
- package/dist/cdn/{3I4OEU4B.js → KFHHWR7Q.js} +2 -2
- package/dist/cdn/KG63GRNH.js +4 -0
- package/dist/cdn/{LFRLPN2S.js → KKBRAZNY.js} +2 -2
- package/dist/cdn/{PDE5YS33.js → KUDZ5D7L.js} +2 -2
- package/dist/cdn/KWKZT7B5.js +4 -0
- package/dist/cdn/{NJ3ACG6J.js → KXVNO4A5.js} +2 -2
- package/dist/cdn/L3IKBHLJ.js +4 -0
- package/dist/cdn/LBJBSIYL.js +4 -0
- package/dist/cdn/{LU6KZOCK.js → LBK2B2KM.js} +2 -2
- package/dist/cdn/{H7DFMVRR.js → LCSMIPHM.js} +2 -2
- package/dist/cdn/{T4XGEVZN.js → LGQFUJLP.js} +2 -2
- package/dist/cdn/{VYJNSH4L.js → LHP5SZ5Q.js} +1 -1
- package/dist/cdn/{DUWNVKPD.js → LPFHKDLD.js} +1 -1
- package/dist/cdn/{ND4M76E6.js → M3QOKP23.js} +2 -2
- package/dist/cdn/M3VFFWM2.js +4 -0
- package/dist/cdn/M5U5CJTL.js +4 -0
- package/dist/cdn/{JJL2DXOK.js → M7AKF2FM.js} +2 -2
- package/dist/cdn/{NZBLJRVM.js → MFFHR33L.js} +2 -2
- package/dist/cdn/{5XNGEXET.js → MHCFCKU5.js} +1 -1
- package/dist/cdn/{26YTMD6C.js → MHGX7IC4.js} +1 -1
- package/dist/cdn/{FBEKXE53.js → MJUSVFEE.js} +1 -1
- package/dist/cdn/MK7REF7S.js +4 -0
- package/dist/cdn/MLNYLKNC.js +3 -0
- package/dist/cdn/{GB5JUBYE.js → MTEXHIUZ.js} +2 -2
- package/dist/cdn/MU7TM2F2.js +4 -0
- package/dist/cdn/{4SADSXOQ.js → MVCOK2CK.js} +2 -2
- package/dist/cdn/MVV4NNJ5.js +4 -0
- package/dist/cdn/{TTCDYWE4.js → MYTDLSKW.js} +2 -2
- package/dist/cdn/{STFHU6UJ.js → MZY3EBXD.js} +2 -2
- package/dist/cdn/{JURO4ER3.js → N3FYHZ2M.js} +2 -2
- package/dist/cdn/{JOUJ6B3E.js → N5IMLUEJ.js} +2 -2
- package/dist/cdn/{EKG3CXMP.js → N7LCND73.js} +1 -1
- package/dist/cdn/NCJNH5ZN.js +4 -0
- package/dist/cdn/{D4ZAKPPN.js → NI6W7D5A.js} +2 -2
- package/dist/cdn/{DL73WI42.js → NJMEDUPT.js} +2 -2
- package/dist/cdn/{DVL6LPJA.js → NLV4FZCC.js} +2 -2
- package/dist/cdn/{P3FCJEZO.js → NMMFRIU6.js} +2 -2
- package/dist/cdn/NQWWH65Q.js +4 -0
- package/dist/cdn/{3R3QUK2F.js → NSX3F6PK.js} +2 -2
- package/dist/cdn/{FJTPGHCP.js → NW4UWDEC.js} +2 -2
- package/dist/cdn/{VPORF37W.js → O3RRQFC7.js} +2 -2
- package/dist/cdn/OBFREFMC.js +18 -0
- package/dist/cdn/{ZFYQGS6G.js → OGBEUJ35.js} +2 -2
- package/dist/cdn/OGJBWQ2A.js +4 -0
- package/dist/cdn/{JANCWVYC.js → OHWUPE3N.js} +2 -2
- package/dist/cdn/OKEZMB6G.js +18 -0
- package/dist/cdn/{H6KOMX3B.js → OL7UAB72.js} +2 -2
- package/dist/cdn/{DUW7R25K.js → OOPBP5XR.js} +2 -2
- package/dist/cdn/OSZACI45.js +18 -0
- package/dist/cdn/{2WRSC34B.js → OTGVNQI2.js} +2 -2
- package/dist/cdn/{DKEAKE2K.js → OTLIXGZN.js} +1 -1
- package/dist/cdn/OVMH6ABW.js +18 -0
- package/dist/cdn/{T3YBLIK3.js → OXKZ4WL5.js} +2 -2
- package/dist/cdn/{PLF2X6MM.js → OZAZROXV.js} +2 -2
- package/dist/cdn/{WMFM2LJJ.js → P2M5FUPS.js} +2 -2
- package/dist/cdn/{NU2EHQKG.js → P3SBMKK7.js} +2 -2
- package/dist/cdn/{GNVUXY6S.js → PGM2D4BL.js} +2 -2
- package/dist/cdn/{CZC5E6PT.js → PKZWKHVE.js} +2 -2
- package/dist/cdn/{WSM3I5LT.js → PN3T6KFP.js} +2 -2
- package/dist/cdn/PQ4JMMPZ.js +4 -0
- package/dist/cdn/PQFKVNAR.js +4 -0
- package/dist/cdn/{BVF77XL3.js → PSNN2F3O.js} +2 -2
- package/dist/cdn/{W2YR6DCI.js → PTID7RWS.js} +2 -2
- package/dist/cdn/{XLFGPXWZ.js → PWFNEOMW.js} +2 -2
- package/dist/cdn/PY2SRIID.js +18 -0
- package/dist/cdn/PZ4QY622.js +4 -0
- package/dist/cdn/Q6RSACS2.js +4 -0
- package/dist/cdn/{T5NML6EW.js → QF52CHR2.js} +2 -2
- package/dist/cdn/{YESDLOJA.js → QFECG4JS.js} +2 -2
- package/dist/cdn/{SPASMJZ7.js → QH3NPYAQ.js} +2 -2
- package/dist/cdn/{JDEXVRJ5.js → QHKUHSB4.js} +2 -2
- package/dist/cdn/{EFQJYMT3.js → QMGASUOO.js} +2 -2
- package/dist/cdn/{6UUULLLC.js → QN7LS2QQ.js} +2 -2
- package/dist/cdn/{JPYE25NL.js → QQSAJPIY.js} +2 -2
- package/dist/cdn/{Q2SYWGNQ.js → QSZMGRE6.js} +2 -2
- package/dist/cdn/{T62HZRZ4.js → QV7PB2KD.js} +2 -2
- package/dist/cdn/{2P5UHGEH.js → QZITIAU7.js} +2 -2
- package/dist/cdn/{YNOM76J7.js → RAOIGUOR.js} +2 -2
- package/dist/cdn/{4RRDEPWJ.js → RBVM5G3M.js} +2 -2
- package/dist/cdn/{3RJL5JGR.js → REX5WEEL.js} +2 -2
- package/dist/cdn/{TB6EIWVL.js → RJ3KA2QH.js} +2 -2
- package/dist/cdn/{FUXLF2VF.js → RP24U6QA.js} +2 -2
- package/dist/cdn/{WZEIIAU2.js → RRKAGWN6.js} +2 -2
- package/dist/cdn/{CIHLT7JJ.js → RYBBDSVC.js} +2 -2
- package/dist/cdn/{KN36CLI6.js → S3YNSR6B.js} +1 -1
- package/dist/cdn/{IL2JAPH7.js → S7XCGTZK.js} +2 -2
- package/dist/cdn/{MVBPZBKK.js → SDSGL4OS.js} +2 -2
- package/dist/cdn/{KI4MEEVP.js → SGXXUYPR.js} +2 -2
- package/dist/cdn/{36QOQZUH.js → SHEOGGDB.js} +2 -2
- package/dist/cdn/SP5YHQIJ.js +18 -0
- package/dist/cdn/{OGO5SDYD.js → SPJHTFGW.js} +2 -2
- package/dist/cdn/T67LMZC2.js +4 -0
- package/dist/cdn/{I3DYDXPP.js → T6H5UYKM.js} +2 -2
- package/dist/cdn/{MANN6WHT.js → TC5MSHUC.js} +1 -1
- package/dist/cdn/{UXLQNMFU.js → TH36Z3EQ.js} +2 -2
- package/dist/cdn/{5WBJ7JHK.js → TPKKNJPF.js} +4 -4
- package/dist/cdn/{UTDSMFWL.js → TQ6RZ33F.js} +1 -1
- package/dist/cdn/{RPSFV63U.js → TW5CSUJI.js} +2 -2
- package/dist/cdn/{HBJNKM2C.js → TYZZAW7E.js} +2 -2
- package/dist/cdn/{PGUOGQLS.js → TZU3WM3P.js} +2 -2
- package/dist/cdn/{OGISVN6B.js → U5YN7LKZ.js} +1 -1
- package/dist/cdn/{ONPGGFF4.js → UC2ZDCJ4.js} +2 -2
- package/dist/cdn/{NUVLGW3I.js → UKVIZZJA.js} +2 -2
- package/dist/cdn/UKW2PIRS.js +4 -0
- package/dist/cdn/UOKEIQSK.js +4 -0
- package/dist/cdn/{WCDC3LA2.js → UPA7CZWG.js} +2 -2
- package/dist/cdn/{AOA73IL2.js → UPQTLWZA.js} +2 -2
- package/dist/cdn/{CH2SVK4L.js → UR3FAOLQ.js} +2 -2
- package/dist/cdn/{ELZ7PG6K.js → UY2NUYYG.js} +2 -2
- package/dist/cdn/{NLIFCBCW.js → UZYRU2CV.js} +2 -2
- package/dist/cdn/{FNTEHVST.js → V6CU25IV.js} +2 -2
- package/dist/cdn/V6ZZBJ75.js +4 -0
- package/dist/cdn/VC3IFEV6.js +18 -0
- package/dist/cdn/{ZMNMOEFY.js → VEEP6F3T.js} +2 -2
- package/dist/cdn/{LLHQVJKK.js → VEPIEGAH.js} +2 -2
- package/dist/cdn/{JGA5STLE.js → VH4KD2UB.js} +1 -1
- package/dist/cdn/VHMJSA7X.js +4 -0
- package/dist/cdn/VM6LPXEK.js +4 -0
- package/dist/cdn/{SBYXJC54.js → VRTRTGZA.js} +2 -2
- package/dist/cdn/{R3TVF6ES.js → VXBW6YBU.js} +2 -2
- package/dist/cdn/W3TTJTGV.js +4 -0
- package/dist/cdn/{F3B6EWIS.js → W4BK25RV.js} +2 -2
- package/dist/cdn/{MQX3K4RF.js → W4KUVWND.js} +3 -3
- package/dist/cdn/{FAMDDI7C.js → WCOVLACF.js} +2 -2
- package/dist/cdn/{XKZSGZGT.js → WDBQW7IX.js} +2 -2
- package/dist/cdn/{VHB6NDP6.js → WUXC3NVU.js} +1 -1
- package/dist/cdn/WXYWYY3L.js +4 -0
- package/dist/cdn/{QADXDV6V.js → X2U56JE5.js} +2 -2
- package/dist/cdn/{66C54WBP.js → X3C4SWBZ.js} +2 -2
- package/dist/cdn/{I6GLKTED.js → X67KLNQ2.js} +1 -1
- package/dist/cdn/{HITJF4RQ.js → X6YB4RRP.js} +2 -2
- package/dist/cdn/{XYVZEUU3.js → X7CCOJBI.js} +1 -1
- package/dist/cdn/{Z55KW3GE.js → XBAMLJBK.js} +2 -2
- package/dist/cdn/XHNIG4LQ.js +4 -0
- package/dist/cdn/{TROND5WN.js → XHSVY2EB.js} +2 -2
- package/dist/cdn/XNWAPK5V.js +4 -0
- package/dist/cdn/{O7NFPTWX.js → XQJLGH6W.js} +2 -2
- package/dist/cdn/{7Z27VXFW.js → XT7PFAWR.js} +2 -2
- package/dist/cdn/{HRSOPFCG.js → XWSLSQGX.js} +2 -2
- package/dist/cdn/XXYS5XVH.js +18 -0
- package/dist/cdn/{4L4IBTJF.js → Y34X2BEZ.js} +2 -2
- package/dist/cdn/{J6PNQKBC.js → YD7TNP2F.js} +2 -2
- package/dist/cdn/{SRNUXUPT.js → YDLBEEXI.js} +2 -2
- package/dist/cdn/{ZRJNRVE3.js → YDQYV74W.js} +2 -2
- package/dist/cdn/{55R3KRVW.js → YIKSDDBF.js} +2 -2
- package/dist/cdn/{6AYWXJGE.js → YINO6TQT.js} +2 -2
- package/dist/cdn/YLIEQBKF.js +4 -0
- package/dist/cdn/YQ62X2PW.js +6 -0
- package/dist/cdn/{5JEZVAD4.js → YSBCE6IL.js} +1 -1
- package/dist/cdn/{HVZJ36FS.js → YUKV3NWK.js} +3 -3
- package/dist/cdn/{N67Z7ZNA.js → Z2JRY3A7.js} +2 -2
- package/dist/cdn/{MLJEVKSP.js → Z6TNCHWU.js} +2 -2
- package/dist/cdn/Z7OOU2TV.js +4 -0
- package/dist/cdn/{GMIFING2.js → ZAP6T3AI.js} +2 -2
- package/dist/cdn/{C4NNXXEU.js → ZCSKWHOT.js} +2 -2
- package/dist/cdn/{Y2F6P2NH.js → ZJVPDHYK.js} +2 -2
- package/dist/cdn/{HVNXNVUK.js → ZOP3G47D.js} +2 -2
- package/dist/cdn/{JI774UUM.js → ZPNMD2RT.js} +1 -1
- package/dist/cdn/{55C6EXD4.js → ZQMYQNUW.js} +2 -2
- package/dist/cdn/{PHJTNAEQ.js → ZSBHYTRL.js} +2 -2
- package/dist/cdn/{POF7HICC.js → ZUQWIUGY.js} +2 -2
- package/dist/cdn/{WRV54M6S.js → ZWICHMUP.js} +2 -2
- package/dist/cdn/{ZYH25ZQL.js → ZYM7TYLE.js} +2 -2
- package/dist/cdn/assets/layer-table/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.js +3 -9
- package/dist/chunks/appConfig.js +11 -0
- package/dist/chunks/cardFetchingUtils.js +102 -150
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/helpers.js +76 -0
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +38 -21
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +2 -2
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/privilegeUtils.js +56 -0
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +24 -23
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.d.ts +6 -0
- package/dist/components/create-feature/customElement.js +8 -8
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +16 -16
- package/dist/components/crowdsource-reporter/customElement.js +19 -16
- 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 +24 -18
- 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 +70 -66
- package/dist/components/map-card/customElement.d.ts +12 -0
- package/dist/components/map-card/customElement.js +53 -48
- package/dist/components/map-draw-tools/customElement.js +2 -2
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +2 -2
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +22 -18
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +2 -2
- package/dist/components/map-tools/customElement.js +3 -3
- 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 +2 -2
- package/dist/components/refine-selection/customElement.js +2 -2
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/{solution-configure-panel → solution-configure-dialog}/customElement.d.ts +1 -1
- package/dist/components/{solution-configure-panel → solution-configure-dialog}/customElement.js +8 -8
- 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.d.ts +24 -0
- package/dist/components/solution-delete-dialog/customElement.js +70 -15
- package/dist/components/solution-delete-dialog/index.d.ts +5 -0
- package/dist/components/solution-delete-dialog/index.js +5 -0
- package/dist/components/solution-deploy-dialog/customElement.d.ts +42 -0
- package/dist/components/solution-deploy-dialog/customElement.js +154 -16
- package/dist/components/solution-deploy-dialog/index.d.ts +9 -0
- package/dist/components/solution-deploy-dialog/index.js +9 -0
- package/dist/components/solution-deployed-card/customElement.d.ts +9 -0
- package/dist/components/solution-deployed-card/customElement.js +24 -14
- package/dist/components/solution-deployed-card/index.d.ts +1 -0
- package/dist/components/solution-deployed-card/index.js +1 -0
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.d.ts +4 -11
- package/dist/components/solution-details-card/customElement.js +16 -16
- package/dist/components/solution-details-panel/customElement.d.ts +14 -0
- package/dist/components/solution-details-panel/customElement.js +240 -17
- package/dist/components/solution-details-panel/index.d.ts +14 -0
- package/dist/components/solution-details-panel/index.js +14 -0
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-items-diagram/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +14 -14
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.d.ts +10 -8
- package/dist/components/solutions-all-panel/customElement.js +51 -53
- package/dist/components/solutions-all-shell/customElement.d.ts +1 -1
- package/dist/components/solutions-all-shell/customElement.js +31 -29
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +23 -21
- package/dist/components/solutions-deployed-shell/customElement.d.ts +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +28 -26
- package/dist/components/solutions-filter-panel/customElement.d.ts +8 -3
- package/dist/components/solutions-filter-panel/customElement.js +82 -101
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +741 -282
- package/dist/docs/docs.json +847 -322
- package/dist/docs/vscode.html-custom-data.json +47 -48
- package/dist/docs/web-types.json +268 -95
- package/dist/index.d.ts +68 -11
- package/dist/index.js +1 -1
- package/dist/loader.js +9 -10
- package/dist/types/lumina.d.ts +20 -15
- package/dist/types/preact.d.ts +21 -17
- package/dist/types/react.d.ts +22 -19
- package/dist/types/stencil.d.ts +20 -15
- package/dist/utils/cardFetchingUtils.d.ts +3 -3
- package/dist/utils/interfaces.d.ts +94 -9
- package/dist/utils/privilegeUtils.d.ts +14 -0
- package/package.json +3 -2
- package/dist/cdn/33CJMY5K.js +0 -18
- package/dist/cdn/3FEML345.js +0 -18
- package/dist/cdn/3IP3UCC6.js +0 -4
- package/dist/cdn/4OW4FAGV.js +0 -18
- package/dist/cdn/4ZZY4G5L.js +0 -4
- package/dist/cdn/5CTYL5OX.js +0 -4
- package/dist/cdn/5VVOF3UA.js +0 -4
- package/dist/cdn/6BLHHHGI.js +0 -18
- package/dist/cdn/6QGWW2DJ.js +0 -4
- package/dist/cdn/AS2YP4CC.js +0 -4
- package/dist/cdn/BFNEXKKP.js +0 -18
- package/dist/cdn/C3JZDZSB.js +0 -4
- package/dist/cdn/C5ZEFQEX.js +0 -4
- package/dist/cdn/CMO56LFB.js +0 -4
- package/dist/cdn/CR2HG4F6.js +0 -4
- package/dist/cdn/D57MZFOU.js +0 -4
- package/dist/cdn/DDWTO2EM.js +0 -4
- package/dist/cdn/DL42SYVU.js +0 -4
- package/dist/cdn/EI3DVNTC.js +0 -4
- package/dist/cdn/GAEZB6HN.js +0 -4
- package/dist/cdn/HA2OGFHW.js +0 -4
- package/dist/cdn/HIYIOXEQ.js +0 -4
- package/dist/cdn/I2GIDS2K.js +0 -4
- package/dist/cdn/IPXVQFFH.js +0 -4
- package/dist/cdn/J2ZOLADT.js +0 -4
- package/dist/cdn/JH33JHRL.js +0 -4
- package/dist/cdn/KCMPZ54Y.js +0 -18
- package/dist/cdn/KS3MADXB.js +0 -4
- package/dist/cdn/LK4UQLYZ.js +0 -18
- package/dist/cdn/LROPDZCW.js +0 -4
- package/dist/cdn/M6XME7OM.js +0 -4
- package/dist/cdn/NHGBIUB5.js +0 -18
- package/dist/cdn/OEHWO6ML.js +0 -18
- package/dist/cdn/PEOMHSG3.js +0 -4
- package/dist/cdn/PFGUJCMD.js +0 -18
- package/dist/cdn/PGXMYR7Q.js +0 -18
- package/dist/cdn/PIBSUTGK.js +0 -18
- package/dist/cdn/PJPC75F5.js +0 -4
- package/dist/cdn/RMYNQEIN.js +0 -18
- package/dist/cdn/RRRRSVAS.js +0 -4
- package/dist/cdn/SYSZXXPY.js +0 -4
- package/dist/cdn/TKRGTLNR.js +0 -18
- package/dist/cdn/TQ2X7VMW.js +0 -6
- package/dist/cdn/U44MKOB3.js +0 -4
- package/dist/cdn/VJPEZ2CS.js +0 -18
- package/dist/cdn/VK73BGU2.js +0 -18
- package/dist/cdn/VLHFZNHN.js +0 -4
- package/dist/cdn/VUAQDVTL.js +0 -18
- package/dist/cdn/XCZRYZDV.js +0 -4
- package/dist/cdn/XEG2HRCV.js +0 -4
- package/dist/cdn/XK4Y3NEC.js +0 -18
- package/dist/cdn/YNVH5WET.js +0 -4
- package/dist/cdn/YS42NZJY.js +0 -4
- package/dist/cdn/YZNBB7J7.js +0 -4
- package/dist/cdn/ZE5UWIMJ.js +0 -4
- package/dist/cdn/ZIAYAVCI.js +0 -18
- package/dist/cdn/ZVTVCHDD.js +0 -18
- package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +0 -1
- package/dist/components/solution-deploy-panel/customElement.d.ts +0 -18
- package/dist/components/solution-deploy-panel/customElement.js +0 -72
- package/dist/components/solution-deploy-panel/index.d.ts +0 -12
- package/dist/components/solution-deploy-panel/index.js +0 -12
- /package/dist/cdn/assets/{solution-configure-panel → solution-configure-dialog}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solution-configure-panel → solution-configure-dialog}/t9n/messages.json +0 -0
- /package/dist/components/{solution-configure-panel → solution-configure-dialog}/index.d.ts +0 -0
- /package/dist/components/{solution-configure-panel → solution-configure-dialog}/index.js +0 -0
package/dist/cdn/VUAQDVTL.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250605 */
|
4
|
-
import{a as m}from"./GMIFING2.js";import"./DKEAKE2K.js";import{a as f,b as I,d as y}from"./3I4OEU4B.js";import"./C3JZDZSB.js";import"./VHB6NDP6.js";import{a as d,b as c}from"./FNEE7DUR.js";import{a as w}from"./FCGJ2VZH.js";import{D as u,E as p,F as o,I as L,c as _,d as a,g as l,o as h,q as g}from"./XSPGKSFV.js";import"./NUVLGW3I.js";var v=_`@layer{/** @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
|
-
*/:host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom: 0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}.popover-list{overflow:auto;width:250px}}`,b=class extends u{constructor(){super(...arguments),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.isMobile=!1,this.showOnlyUpdatableLayers=!1,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=!1,this.showTablesDisabled=!1,this.showSingleLayerAsLabel=!1,this.type="select",this.showLayersListInPopover=!1,this.referenceElement="",this.force=!1,this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=!1,this.ids=[],this.selectedName="",this._translations=w({name:"map-layer-picker",blocking:!0}),this.defaultLayerHonored=!1,this._layerSelectElement=d(),this._layerComboboxElement=d(),this._skipEditCheck=!1,this._popover=d(),this.beforeLayerSelectionChange=h(),this.idsFound=h(),this.noLayersFound=h(),this.layerSelectionChange=h()}static{this.properties={appearance:1,defaultLayerId:1,display:1,enabledLayerIds:0,height:9,isMobile:5,mapView:0,showOnlyUpdatableLayers:5,placeholderIcon:1,selectedIds:0,scale:1,showTables:5,showTablesDisabled:5,showSingleLayerAsLabel:5,type:1,showLayersListInPopover:5,referenceElement:1,force:16,_hasMultipleLayers:16,_hasValidLayers:16,_isDropdownOpen:16,ids:16,selectedName:16,_translations:16}}static{this.styles=v}static{this.shadowRootOptions=g}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("type")&&(this._layerElement=this.type==="select"?this._layerSelectElement:this._layerComboboxElement),e.has("selectedIds")&&this.hasUpdated&&this.mapView&&(async()=>{let t=await y(this.mapView,this.selectedIds[0]);this.selectedName=t?.title??""})(),e.has("enabledLayerIds")&&this.hasUpdated&&this.enabledLayerIdsWatchHandler()}async enabledLayerIdsWatchHandler(){let e=!this.enabledLayerIds.includes(this.selectedIds[0]),t=this.enabledLayerIds.some(s=>!this.ids.includes(s));e?this.mapViewWatchHandler():t&&this._setLayers(),this._hasMultipleLayers=this.enabledLayerIds.length>1}async mapViewWatchHandler(){await this._setLayers(),this.ids?.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,await this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(e,t=!1){this._skipEditCheck=t,!t||t&&e!==this.selectedIds[0]?this._setSelectedLayer(e):t&&e===this.selectedIds[0]&&(this.force=!0,setTimeout(()=>{this.force=!1},10)),this._skipEditCheck=!1}async setLayerByIds(e,t=!1){this._skipEditCheck=t,this._layerSelectionChange(e),this._skipEditCheck=!1}async updateLayer(){await this._setSelectedLayer(this.ids[0])}async load(){await this._setLayers(),this.ids?.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,await this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}render(){let e="map-layer-picker",t=this.height&&this.height>0&&!this.showLayersListInPopover?{height:`${this.height.toString()}px`}:{};return t={...t,display:this.display},a`<div class="map-layer-picker-container" style=${o(t)}><div class="map-layer-picker" style=${o(t)}>${this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():this.type==="combobox"?this._getCombobox(e):this.type==="select"?this._getSelect(e):this.showLayersListInPopover?this._getMapLayerPopOver():this._getDropdown(e):this._getInvalidPlaceholder()}</div></div>`}loaded(){if(this.ids?.length>0||this.selectedIds?.length===1){let e=this.selectedIds.length===1?this.selectedIds[0]:this.ids[0];this.type==="select"?this._layerElement.value&&(this._layerElement.value.value=e):this.type==="dropdown"&&(this.selectedName=this._layerNameHash&&Object.keys(this._layerNameHash).indexOf(e)>-1?this._layerNameHash[e].name:this._tableNameHash&&Object.keys(this._tableNameHash).indexOf(e)>-1?this._tableNameHash[e].name:"")}this._popover.value?.addEventListener("calcitePopoverOpen",()=>{this.el.querySelector("calcite-dropdown-item[selected]").setFocus()})}_getMapLayerPopOver(){let e=this.height&&this.height>0?{height:`${this.height.toString()}px`}:{};return a`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=auto .referenceElement=${this.referenceElement} scale=s ${c(this._popover)}><div class=popover-list style=${o(e)}>${this._getMapLayerOptions()}</div></calcite-popover>`}_getInvalidPlaceholder(){return a`<div><calcite-notice class="height-100" icon=exclamation-mark-triangle id=no-valid-layers kind=danger open><div slot=message>${this._translations.noLayersFound}</div></calcite-notice><calcite-tooltip .label=${this._translations.enableEditUpdate} placement=bottom reference-element=no-valid-layers><span>${this._translations.enableEditUpdate}</span></calcite-tooltip></div>`}_getSingleLayerPlaceholder(){let e=this._getItemTypeIcon();return a`<div class="layer-picker-label-container cursor-default"><calcite-icon .icon=${e} scale=s></calcite-icon><calcite-label class="no-bottom-margin padding-start-1">${this.selectedName}</calcite-label></div>`}_getSelect(e){return a`<calcite-select id=${e??l} label @calciteSelectChange=${()=>this._layerSelectionChange()} .scale=${this.scale} ${c(this._layerElement)}>${this._getMapLayerOptions()}</calcite-select>`}_getCombobox(e){return a`<calcite-combobox clear-disabled id=${e??l} label @calciteComboboxChange=${()=>this._layerSelectionChange()} .placeholderIcon=${this.placeholderIcon} .scale=${this.scale} selection-mode=single ${c(this._layerElement)}>${this._getMapLayerOptions()}</calcite-combobox>`}_getDropdown(e){return a`<calcite-dropdown class="layer-picker-dropdown" @calciteDropdownBeforeClose=${()=>this._isDropdownOpen=!1} @calciteDropdownBeforeOpen=${()=>this._isDropdownOpen=!0}>${this.isMobile?this._getDropdownButton():this._getActionDropdownButton(e)}<calcite-dropdown-group selection-mode=single>${this._getMapLayerOptions()}</calcite-dropdown-group></calcite-dropdown>`}_getActionDropdownButton(e){return a`<calcite-action id=${e??l} slot=trigger text>${this._getDropdownButton()}</calcite-action>`}_getDropdownButton(){let e=this._getItemTypeIcon(),t=this.isMobile?"":"max-width-350",s=this.isMobile?"trigger":"",i=this._isDropdownOpen?"chevron-up":"chevron-down";return a`<calcite-button alignment=icon-end-space-between .appearance=${this.appearance} class=${p(t)} .iconEnd=${i} .iconStart=${e} kind=neutral slot=${s??l} width=full><div>${this.selectedName}</div></calcite-button>`}_getItemTypeIcon(){let e="layers";if(this.selectedIds.length>0&&this._layerNameHash){let t=this.selectedIds[0];e=Object.keys(this._layerNameHash).indexOf(t)>-1?"layers":"table"}return e}_getMapLayerOptions(){return this.ids.reduce((e,t)=>(this._validLayer(t)?e.push(this._getItem(t,"layer")):this._validTable(t)&&e.push(this._getItem(t,"table")),e),[])}_getItem(e,t){let s=t==="layer"&&this._layerNameHash?this._layerNameHash[e]:this._tableNameHash?this._tableNameHash[e]:void 0,i=this.showOnlyUpdatableLayers?s&&!s.supportsUpdate:!1,r=s?.name,n=this.selectedIds.indexOf(e)>-1;return this.type==="combobox"?a`<calcite-combobox-item .disabled=${i} .selected=${n} .textLabel=${r} .value=${e}></calcite-combobox-item>`:this.type==="select"?a`<calcite-option .disabled=${i} .label=${r} .selected=${n} .value=${e}></calcite-option>`:this.force&&n||!this.force?a`<calcite-dropdown-group class=${p(i?"disabled":"")} id=${r??l} .selectionMode=${i?"none":"single"}><calcite-dropdown-item .disabled=${!!(t==="table"&&this.showTablesDisabled)} .iconStart=${t} @click=${i?void 0:()=>void this._setSelectedLayer(e)} .selected=${n}>${r}</calcite-dropdown-item></calcite-dropdown-group>`:null}async _setSelectedLayer(e){if(e!==this.selectedIds[0]){let t;if(this.defaultLayerId&&!this.defaultLayerHonored&&(t=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=t!==void 0,e=this.defaultLayerHonored?this.defaultLayerId:e),t=t||this._getLayerFromHash(e),!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:e,ref:this.el}).defaultPrevented)return;this.selectedName=t?.name,this.selectedIds=[e],this._popover.value&&(this._popover.value.open=!1),this.layerSelectionChange.emit(this.selectedIds)}else{let t=this.mapView&&await y(this.mapView,this.selectedIds[0]);this.selectedName=t?.title||""}}_getLayerFromHash(e){return this._layerNameHash&&Object.keys(this._layerNameHash).indexOf(e)>-1?this._layerNameHash[e]:this._tableNameHash&&Object.keys(this._tableNameHash).indexOf(e)>-1?this._tableNameHash[e]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();let e=[];this._layerNameHash&&(e=this.showOnlyUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash));let t=[];this._tableNameHash&&(t=this.showTables?this.showOnlyUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[]),this.ids=[...e.reverse().filter(s=>this.enabledLayerIds?.length>0?this.enabledLayerIds.reverse().indexOf(s)>-1:!0),...t.reverse().filter(s=>this.enabledLayerIds?.length>0?this.enabledLayerIds.reverse().indexOf(s)>-1:!0)],this.idsFound.emit({layerIds:e,tableIds:t})}}_getEditableIds(e){return Object.keys(e).filter(t=>e[t].supportsUpdate)}async _initLayerTableHash(){this._layerNameHash=this.mapView&&await f(this.mapView,this.showOnlyUpdatableLayers),this._tableNameHash=this.showTables&&this.mapView?await I(this.mapView,this.showOnlyUpdatableLayers):{}}_validLayer(e){let t=this._layerNameHash&&this._layerNameHash[e]?.name;return t!==void 0&&Object.keys(m.managedLayers).indexOf(t)<0&&(this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(e)>-1:!0)}_validTable(e){let t=this._tableNameHash&&this._tableNameHash[e]?.name,s=t&&this.showTables;return s?m.managedTables.indexOf(t)<0&&(this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(e)>-1:!0):s!==void 0}_layerSelectionChange(e){if(this._layerElement.value){let t=e||(Array.isArray(this._layerElement.value.value)?this._layerElement.value.value:[this._layerElement.value.value]);if(JSON.stringify(t)!==JSON.stringify([""])){if(!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:t,ref:this.el}).defaultPrevented)return;this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds)}}}};L("map-layer-picker",b);export{b as MapLayerPicker};
|
package/dist/cdn/XCZRYZDV.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250605 */
|
4
|
-
import{a,b}from"./WSM3I5LT.js";import"./XUJO4B4K.js";import"./ZFYQGS6G.js";import"./FBEKXE53.js";import"./DQBC22ZI.js";import"./NUVLGW3I.js";export{a as EventEditorTypes,b as buildSchema};
|
package/dist/cdn/XEG2HRCV.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250605 */
|
4
|
-
import{a as s}from"./LROPDZCW.js";import"./KMPEI3WK.js";import"./T62HZRZ4.js";import"./KN36CLI6.js";import"./4ZGXBIVH.js";import"./NUVLGW3I.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};
|
package/dist/cdn/XK4Y3NEC.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250605 */
|
4
|
-
import{a as I}from"./B2ZUA2SA.js";import"./WUF32TGT.js";import{d as C}from"./3I4OEU4B.js";import{a as s}from"./C3JZDZSB.js";import"./VHB6NDP6.js";import{a as h,b as r}from"./FNEE7DUR.js";import{a as x}from"./FCGJ2VZH.js";import{D as $,E as m,F as v,I as L,c as g,d as l,g as w,o as b,q as y}from"./XSPGKSFV.js";import"./NUVLGW3I.js";var F=g`@layer{/** @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
|
-
*/:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.padding-1-2{padding:.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.z-index-1{z-index:1}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none!important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button,.esri-floor-filter__level-button,.esri-floor-filter__browse-button{width:40px!important;height:40px!important}.position-absolute-50{position:absolute;inset:50px 0 0}.position-absolute-0{position:absolute;inset:0}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0}.floating-container .floating-button{box-shadow:0 10px 25px #5c5d5e99;-webkit-transform:translatey(5px);transform:translatey(5px);-webkit-transition:all .3s;transition:all .3s}.z-index-0{z-index:0!important}.z-index-1{z-index:1!important}.filter-content-space{--calcite-dialog-content-space: 0px}.background-dark{background:var(--calcite-color-background)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}}`,_=class extends ${constructor(){super(),this.coverPageEnabled=!1,this.customInfoText="",this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.honorMapFieldSettings=!1,this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableSnapping=!0,this.enableZoom=!0,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.popupHeaderColor="",this.popupHeaderHoverColor="",this.popupHeaderHoverTextColor="",this.popupHeaderTextColor="",this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this.enableSelectionTool=!0,this.featureSelectionMode="multiple",this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._translations=x({name:"crowdsource-manager",blocking:!0}),this._layoutMode=s.GRID,this._panelOpen=!0,this._numSelected=0,this._filterOpen=!1,this._showInformationHeader=!0,this._layerExpressions=[],this._layerIds=[],this._isLoading=!0,this._mapExtentFilterChecked=!1,this._deleteIds=[],this._defaultAppLayoutHonored=!1,this._defaultCenterHonored=!1,this._defaultLevelHonored=!1,this._layerTable=h(),this._shouldSetMapView=!1,this._filterList=h(),this._mapCard=h(),this._isMapViewOnLoad=!1,this.showIntroductionWindow=b(),this.showCoverPage=b(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"popupClosed",this.popupClosed),this.listenOn(window,"layoutChanged",this.layoutChanged),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"showDelete",this.showDelete),this.listenOn(window,"idsFound",this.idsFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"relatedRecordToggled",this.relatedRecordToggled),I(window)}static{this.properties={appLayout:1,appProxies:1,basemapConfig:0,coverPageEnabled:5,customInfoText:1,defaultAppLayout:1,defaultCenter:1,defaultGlobalId:1,defaultLayer:1,defaultLevel:1,defaultOid:1,defaultWebmap:1,honorMapFieldSettings:5,introductionWindowEnabled:5,enableAutoRefresh:5,enableBasemap:5,enableColumnReorder:5,enableCSV:5,enableFloorFilter:5,enableFullscreen:5,enableHome:5,enableLegend:5,enableSearch:5,enableShare:5,enableSnapping:5,enableZoom:5,mapInfos:0,onlyShowUpdatableLayers:5,popupHeaderColor:1,popupHeaderHoverColor:1,popupHeaderHoverTextColor:1,popupHeaderTextColor:1,searchConfiguration:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,theme:1,zoomAndScrollToSelected:5,zoomToScale:9,enableSelectionTool:5,featureSelectionMode:1,_deleteDialogOpen:16,_enableCreateFeatures:16,_hideFooter:16,_hideTable:16,_isMobile:16,_translations:16,_layer:16,_layoutMode:16,_mapInfo:16,_mapView:16,_panelOpen:16,_numSelected:16,_filterOpen:16,_showInformationHeader:16,_layerExpressions:16,_layerIds:16,_isLoading:16,_mapExtentFilterChecked:16,_deleteIds:16}}static{this.styles=F}static{this.shadowRootOptions=y}willUpdate(e){e.has("appLayout")&&this.appLayout&&this.appLayoutWatchHandler(this.appLayout,e.get("appLayout")),e.has("enableZoom")&&(this.hasUpdated||this.enableZoom!==!0)&&this.enableZoomWatchHandler()}appLayoutWatchHandler(e,t){e!==t&&(this._layerTable.value?.validateTableUpdate(e==="splitView"),this._setActiveLayout(e),this.appLayout==="mapView"&&this._layer?.isTable&&this._mapCard.value&&this._mapCard.value.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.value&&this._layerTable.value.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async featureSelectionChange(e){this._numSelected=e.detail?.length}async popupClosed(){this._isMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(e){this._layoutMode=e.detail}async mapChanged(e){this._mapChange=e.detail,this.showHideMapPopupAndTable(!1),await this._mapChange?.mapView.when(async()=>{await this._setMapView()})}async layerSelectionChange(e){let t=e.detail[0],i=this._mapView&&await C(this._mapView,t);i&&await i.when(()=>{i.isTable&&!this._isMobile&&(this.appLayout="tableView"),this._layer=i,this._initLayerExpressions(),this._handleFilterListReset(),this._isLoading=!1})}async showDelete(e){this._deleteIds=e.detail.ids,this._deleteDialogOpen=!0}async idsFound(e){this._layerIds=e.detail.layerIds}async clearSelection(){this.showHideMapPopupAndTable(!1)}async relatedRecordToggled(e){let t=e.detail;this._relatedTableLayer=t}load(){this._resizeObserver=new ResizeObserver(()=>this._onResize())}render(){let e=this.popupHeaderColor&&this.popupHeaderColor!=="#FFFFFF"?"border-width-0":"";return l`<calcite-shell class="position-relative"><calcite-panel class=${`width-full height-full ${e}`} .loading=${this._isLoading}>${this._getBody(this._layoutMode,this._panelOpen,this._hideTable)}</calcite-panel>${this._getFooter()}</calcite-shell>${this._filterModal()}${!this._isMobile&&this._deleteModal()||""}`}async updated(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}loaded(){this._resizeObserver?.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad=this.appLayout==="mapView",this._setActiveLayout(this.appLayout)}_getFooter(){let e=this._numSelected>0,t=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._relatedTableLayer:this._layer,i=this._layer?.editingEnabled&&this._layer.capabilities?.operations.supportsDelete;return this._isMobile&&e&&!this._hideFooter?l`<div class=${"width-100"} slot=footer><div class="display-flex padding-1-2"><calcite-button appearance=solid id=solutions-show @click=${()=>this.showHideMapPopupAndTable(!0)} width=full>${this._translations.view.replace("{{n}}",this._numSelected.toString())}</calcite-button>${i?l`<delete-button class="padding-inline-start-1 width-full" id=solutions-delete .ids=${this.updateIdsToBeDeleted()} @deleteClicked=${this.updateIdsToBeDeleted} .layer=${t}></delete-button>`:void 0}</div></div>`:void 0}updateIdsToBeDeleted(){return this._deleteIds=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._layerTable.value.selectedRelatedIds:this._layerTable.value?.selectedIds,this._deleteIds}_setActiveLayout(e){e==="splitView"&&!this._panelOpen&&this._toggleLayout(),e==="mapView"?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(e,t){let i="";switch(e){case s.HORIZONTAL:i=t?"chevrons-up":"chevrons-down";break;case s.VERTICAL:i=t?"chevrons-left":"chevrons-right";break;case s.GRID:i=t?"chevrons-left":"chevrons-right";break}return i}_getMapSizeClass(e,t,i){let a="";switch(e){case s.HORIZONTAL:a=`${t&&!i?"height-1-2 display-grid":t&&i?"height-full":"height-0"} width-full position-relative`;break;case s.GRID:a=`height-full position-relative ${t?"width-1-3":"width-0"}`;break;case s.VERTICAL:a=`height-full position-relative ${t?"width-1-2":"width-0"}`;break}return a}_getTableSizeClass(e,t){let i="";switch(e){case s.HORIZONTAL:i=`${t?"height-1-2":"height-full"} width-full display-flex flex-column`;break;case s.GRID:i=`${t?"width-2-3":"width-full"} height-full display-flex`;break;case s.VERTICAL:i=`${t?"width-1-2":"width-full"} height-full display-flex`;break}return i}_getBody(e,t,i){let a=e===s.HORIZONTAL?"":"display-flex",o=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class="width-full height-full position-absolute"><div class=${`width-full height-full overflow-hidden ${a}`}>${this._getMapAndCard(e,t,i)}${this._getTable(e,t,i)}</div>${this.coverPageEnabled&&l`<div class="floating-container" @click=${this.coverPageButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=content-minimal kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}${this.introductionWindowEnabled&&l`<div class="floating-container" @click=${this.infoButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=information-letter kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}</calcite-panel>`}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(e,t,i){let a=this._getMapSizeClass(e,t,i);return l`<div class=${`${a} overflow-hidden z-index-1`}>${this._getMapNode(t)}${this._getPopupExpandNode()}</div>`}_getMapNode(e){let t=this.appLayout==="mapView",i=this.appLayout==="tableView",a=this._isMobile?"height-full":t||i?"position-absolute-0":this._layoutMode===s.HORIZONTAL&&(!this._isMobile||e)?"":"adjusted-height-50",o=this.defaultWebmap&&this.defaultLayer,n=this.enableSelectionTool&&this.featureSelectionMode==="multiple"&&!this._layer?.isTable,d=["home","legend","search","fullscreen","basemap","floorfilter","selectiontool"],p=["map-picker","map-layer-picker"];return l`<div class=${`${a} overflow-hidden`} id=card-mapView><map-card .appLayout=${this.appLayout} .appProxies=${this.appProxies} .basemapConfig=${this.basemapConfig} class="width-full" .defaultLayerId=${o?this.defaultLayer:""} .defaultWebmapId=${this.defaultWebmap} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableSearch=${this.enableSearch} .enableSelectionTool=${n} .enableShare=${this.enableShare} enable-single-expand .featureSelectionMode=${this.featureSelectionMode} .hide=${!this._isMobile&&i} zoom-tools-size=s .isMapLayout=${t} .isMobile=${this._isMobile} .mapInfo=${this._mapInfo} .mapInfos=${this.mapInfos?.filter(c=>c.visible!==!1)} map-widgets-index=0 map-widgets-position=top-left mobile-map-widgets-position=top-right map-widgets-size=m .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .selectedFeaturesIds=${this._layerTable.value?.selectedIds??[]} .selectedLayer=${this._layer} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} stack-tools .theme=${this.theme} .mapToolsOrder=${d} .mobileToolsOrder=${p} .zoomToScale=${this.zoomToScale} ${r(this._mapCard)}></map-card></div>`}_getPopupExpandNode(){let e=this._isMobile?"height-full":"height-full position-relative",t=this._isMobile&&this._showInformationHeader?"display-none height-0":"",i=this.popupHeaderColor?"":this._isMobile?"calcite-mode-light":"calcite-mode-dark",a=this._isMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isMobile?"display-none height-0":"",o=this.mapInfos?.length>1&&this.appLayout==="tableView"?"position-relative top-51":"",n=this.appLayout!=="tableView"?"position-sticky":"";return l`<div class=${`${i} ${e} ${a} ${o} ${n}`} style=${v({"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor})}><calcite-panel>${!this._isMobile&&this._showInformationHeader||this._numSelected>0&&!this._isMobile?l`<div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-icon icon=information scale=s></calcite-icon><div class="padding-inline-start-75">${this._translations.information}</div></div>`:l`<div></div>`}${this._getCardNode()}</calcite-panel></div>`}_getCardNode(){let e=this.appLayout==="mapView",t=this.appLayout==="tableView",i=this._isMobile?"height-full":t&&this.mapInfos?.length>1?"adjusted-height-100-51":e||t?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isMobile?"height-full":"height-50":"adjusted-height-50_25",a=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<div class=${`width-50 height-full ${a}`}><card-manager class=${`${i} width-full`} .customInfoText=${this.customInfoText} .enableCreateFeatures=${this._enableCreateFeatures&&!this._isMobile} .enableEditGeometry=${this?._mapInfo?.enableEditGeometry} .enableSnapping=${this.enableSnapping} .isMobile=${this._isMobile} .layerOrTable=${this._layer} .mapView=${this?._mapView} @backFromCreateWorkFlow=${()=>{this._showInformationHeader=!0}} @createWorkFlowStarted=${()=>{this.appLayout=this._layer?.isTable?"tableView":"mapView",this._showInformationHeader=!1}} @featureOrRecordSubmitted=${()=>this._layerTable.value&&void this._layerTable.value.refresh()} .selectedFeaturesIds=${this._layerTable.value?.selectedIds} .selectingFeatureFromMap=${this.appLayout==="mapView"} .showSketchWidgets=${this._layer?.geometryType!=="point"} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected}></card-manager></div>`}_getTable(e,t,i){let a=this.appLayout==="mapView",o=this.appLayout==="tableView",n=i&&this._isMobile?"visibility-hidden":a?"display-none":"",d=a?"height-full width-full z-index-0":"display-none",p=this._getTableSizeClass(e,t),c=e===s.HORIZONTAL?"horizontal":"vertical",T=e===s.HORIZONTAL?"header":"panel-start",u=this.defaultWebmap&&this.defaultLayer,f=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,S=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map(M=>Number.parseInt(M,10)):[Number.parseInt(this.defaultOid,10)]:void 0;return l`<calcite-shell class=${`${p} border-bottom z-index-1`}>${this._isMobile?void 0:l`<calcite-action-bar class="border-sides" expand-disabled .layout=${c} slot=${T??w}>${this.getActions(e,t)}</calcite-action-bar>`}<div class=${`width-full height-full position-relative z-index-0 ${n}`}><layer-table .appLayout=${this.appLayout} .defaultGlobalId=${u?f:void 0} .defaultLayerId=${u?this.defaultLayer:""} .defaultOid=${u&&!f?S:void 0} .enableAutoRefresh=${this.enableAutoRefresh} .enableCSV=${this.enableCSV} .enableColumnReorder=${this.enableColumnReorder} .enableInlineEdit=${this?._mapInfo?.enableInlineEdit} .enableShare=${this.enableShare} .featureSelectionMode=${this.featureSelectionMode} .honorMapFieldSettings=${this.honorMapFieldSettings} .isMobile=${this._isMobile} .mapHidden=${o} .mapInfo=${this._mapInfo} .mapView=${this?._mapView} .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} .showNewestFirst=${this.showNewestFirst} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected} .zoomToScale=${this.zoomToScale} ${r(this._layerTable)}></layer-table></div><div class=${m(d)} id=full-map-view></div></calcite-shell>`}getActions(e,t){let i=this._getDividerIcon(e,t),a=t?this._translations.close:this._translations.open,o="toggle-layout";return l`<calcite-action .active=${this.appLayout==="splitView"} class="toggle-node" .disabled=${this._layer?.isTable} icon=browser id=browser-action @click=${()=>{this.appLayout="splitView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-action><span>${this._translations.splitView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="tableView"} class="toggle-node" icon=dock-left id=dock-left-action @click=${()=>{this.appLayout="tableView"}} text></calcite-action><calcite-tooltip placement=right reference-element=dock-left-action><span>${this._translations.tableView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="mapView"} class="toggle-node" .disabled=${this._layer?.isTable} icon=browser-map id=browser-map-action @click=${()=>{this.appLayout="mapView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-map-action><span>${this._translations.mapView}</span></calcite-tooltip><calcite-action class="toggle-node" .icon=${i} id=${o} @click=${()=>this._toggleLayout()} slot=actions-end text></calcite-action><calcite-tooltip placement=bottom .referenceElement=${o}><span>${a}</span></calcite-tooltip>`}_deleteModal(){let e=(this._layerTable.value?.selectedRelatedIds?.length??0)>0?this._relatedTableLayer:this._layer;return l`<delete-dialog id=deleteDialogId .ids=${this._deleteIds} .layer=${e} @deleteDialogClose=${()=>this._deleteDialogOpen=!1} .open=${this._deleteDialogOpen}></delete-dialog>`}_mapExtentFilter(){let e=this._layerExpressions?.length===0;return l`<calcite-panel><div><calcite-block class=${m(this.theme==="dark"?"background-dark":"")} heading menu-placement=bottom-end open><div class="filter-extent-container"><div class="filter-extent-message"><span>${this._translations.filterByExtentMsg}</span><calcite-icon icon=information id=filter-message-info scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top reference-element=filter-message-info>${this._translations.filterByExtentTooltipMsg}</calcite-tooltip></div><calcite-switch .checked=${this._mapExtentFilterChecked} @calciteSwitchChange=${t=>{let i=!!(t.target.checked||this._filterList.value?.filterCount&&this._filterList.value?.filterCount>0);this._layerTable.value&&this._layerTable.value?.filterUpdate(i,t.target.checked),this._mapCard.value&&this._mapCard.value?.updateFilterState(i),this._mapExtentFilterChecked=t.target.checked}} scale=m></calcite-switch></div></calcite-block>${e&&l`<div class="filter-modal-buttons" slot=footer><calcite-button appearance=outline @click=${this._handleFilterListReset} width=full>${this._translations.Resetfilter}</calcite-button><calcite-button @click=${this._closeFilter} width=full>${this._translations.close}</calcite-button></div>`||""}</div></calcite-panel>`}_filterModal(){let e=this._layerExpressions?.length>0,t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-dialog class=${`filter-content-space ${t}`} .heading=${this._translations.filter.replace("{{title}}",this._layer?.title||"")} id=solutions-filter-dialog-manager kind=brand modal @calciteDialogClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width=s>${!this._layer?.isTable&&this._mapExtentFilter()||""}${e&&this._mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._layerExpressions} @filterListReset=${this._handleFilterListReset} @filterUpdate=${()=>void this._updateFilter()} .view=${this._mapView} ${r(this._filterList)}></instant-apps-filter-list>`||""}</calcite-dialog>`}_updateFilter(){let e=this._filterList?.value?.filterCount&&this._filterList.value.filterCount>0||this._mapExtentFilterChecked;this._layerTable.value&&this._layerTable.value?.filterUpdate(e),this._mapCard.value&&this._mapCard.value.updateFilterState(e)}_initLayerExpressions(){let e=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=e?e.filter(t=>t.id===this._layer?.id):[]}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._mapExtentFilterChecked=!1,this._mapCard.value&&this._mapCard.value.resetFilter(),this._layerTable.value&&this._layerTable.value.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.value&&this._layerTable.value.closeFilter())}_onResize(){let e=this.el.offsetWidth<=1024,t=!this._isMobile&&e;this._isMobile=e,t&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this.appLayout="splitView"):(this._layer?.isTable&&(this.appLayout="tableView"),this._isMobile=!1),this._layoutMode=this._isMobile?s.HORIZONTAL:s.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if(this.appLayout!=="mapView"){let e=document.getElementById("full-map-view")?.childNodes[0],t=document.getElementById("card-mapView");e&&t&&t.appendChild(e)}}_showMapInFullView(){let e=document.getElementById("card-mapView")?.childNodes,t;e?.forEach(a=>{!t&&a.mapView&&(t=a)});let i=document.getElementById("full-map-view");t&&i&&i.appendChild(t)}showHideMapPopupAndTable(e){this._hideTable=e,this._hideFooter=e}_getMapInfo(e){let t;return this.mapInfos.some(i=>i.id===e?(t={...i},!0):!1),t}async _setMapView(){let e=this._mapChange&&this._getMapInfo(this._mapChange.id);if(e&&this._mapChange){this._mapInfo=e,this._initLayerExpressions(),this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;let t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map(a=>Number.parseFloat(a)),i=!this.defaultLevel||this._defaultLevelHonored?void 0:Number.parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView?.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView?.ui.remove("zoom")}};L("crowdsource-manager",_);export{_ as CrowdsourceManager};
|
package/dist/cdn/YNVH5WET.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250605 */
|
4
|
-
import{a as c,b as e,c as s,d as x}from"./YNKDS73P.js";function o(r={}){return r.portal?x(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function i(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function h(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function p(r){return r.join(",")}function N(r,t){let n=b(r,t),a=Object.assign({httpMethod:"GET"},t);return e(n,a)}var b=(r,t)=>`${typeof t=="string"?t:o(t)}/content/items/${r}`;function F(r,t){let n=`${b(r,t)}/data`,a=Object.assign({httpMethod:"GET",params:{}},t);return a.file&&(a.params.f=null),e(n,a).catch(m=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(m.message))throw m})}function Y(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/delete`;return e(n,r)})}function z(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),e(n,r)})}function L(r,t){let n=r||"self",a=`${o(t)}/portals/${n}/settings`,m=Object.assign({httpMethod:"GET"},t);return e(a,m)}function y(r){return i(r).then(t=>{let n=r.folderId?`${o(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${o(r)}/content/users/${t}/items/${r.item.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&h(r.params.extent)&&(r.params.extent=p(r.params.extent)),e(n,r)})}function O(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),e(n,r)})}function nr(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),e(n,r)})}function I(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):i(r).then(t=>{let n=`${o(r)}/content/users/${t}`,a=`${n}/addItem`;r.folderId&&(a=`${n}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&h(r.params.extent)&&(r.params.extent=p(r.params.extent));let m=s(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return e(a,m)})}function dr(r){let t=Object.assign({folderId:null},r);return I(t)}var f=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let n=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(c(`${n} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(c("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(c('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(c('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(c(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(c(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(c(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&c("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function l(r,t){let n;typeof r=="string"||r instanceof f?n={httpMethod:"GET",params:{q:r}}:n=s(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let a;switch(t){case"item":a="/search";break;case"group":a="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof f)&&r.groupId)a=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":a="/community/users";break;default:a="/portals/self/users/search";break}let m=o(n)+a;return e(m,n).then(u=>(u.nextStart&&u.nextStart!==-1&&(u.nextPage=function(){let d;return typeof r=="string"||r instanceof f?d={q:r,start:u.nextStart}:(d=r,d.start=u.nextStart),l(d,t)}),u))}function U(r){return l(r,"item")}function xt(r){return l(r,"groupContent")}function We(r,t){let n=r||"self",a=`${o(t)}/portals/${n}`,m=Object.assign({httpMethod:"GET"},t);return e(a,m)}export{o as a,y as b,O as c,nr as d,dr as e,N as f,F as g,Y as h,z as i,f as j,U as k,xt as l,We as m,L as n};
|
package/dist/cdn/YS42NZJY.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250605 */
|
4
|
-
import{g as r,t as s,u as i,y as o}from"./XSPGKSFV.js";var c=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,a]){return e!==this.key&&(o(t),this.key=e),a}});export{c as a};
|
package/dist/cdn/YZNBB7J7.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250605 */
|
4
|
-
import{a as u,e as h}from"./CIHLT7JJ.js";import{a}from"./GRYSKL7I.js";import"./DKEAKE2K.js";import"./TQ2X7VMW.js";import"./4ZZY4G5L.js";import"./M6XME7OM.js";import"./YNVH5WET.js";import"./YNKDS73P.js";import"./KN36CLI6.js";import"./C3JZDZSB.js";import{D as i,I as l,o,q as n}from"./XSPGKSFV.js";import"./NUVLGW3I.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};
|
package/dist/cdn/ZE5UWIMJ.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250605 */
|
4
|
-
import{b as e,e as r}from"./D4ZAKPPN.js";import"./I6GLKTED.js";import"./MANN6WHT.js";import"./3S7YVVVZ.js";import{d as t}from"./3IP3UCC6.js";import"./XYVZEUU3.js";import"./GAEZB6HN.js";import"./QB54S7F4.js";import"./M6XME7OM.js";import"./TT63U5XZ.js";import"./YNVH5WET.js";import"./YNKDS73P.js";import"./KN36CLI6.js";import"./4ZGXBIVH.js";import"./NUVLGW3I.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
|
package/dist/cdn/ZIAYAVCI.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250605 */
|
4
|
-
import{a as E}from"./B2ZUA2SA.js";import"./WUF32TGT.js";import{a as C,c as m,d,e as _,f as x,g as S}from"./3I4OEU4B.js";import"./C3JZDZSB.js";import{b as v}from"./VHB6NDP6.js";import{a as h,b as o}from"./FNEE7DUR.js";import{b as I}from"./JI774UUM.js";import{a as $}from"./FCGJ2VZH.js";import{D as L,E as u,I as F,c as w,d as a,g as p,o as y,q as b}from"./XSPGKSFV.js";import"./NUVLGW3I.js";var k=w`@layer{/** @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
|
-
*/:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.width-full{width:100%!important}.width-0{width:0}.height-full{height:100%!important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}}`,f=class extends L{constructor(){super(),this.center="",this.commentButtonText="",this.commentSubmittedMessage="",this.defaultWebmap="",this.description="",this.enableAnonymousAccess=!1,this.enableAnonymousComments=!1,this.enableComments=!1,this.enableHome=!0,this.enableLogin=!1,this.enableNewReports=!1,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=!1,this.layerExpressions=[],this.layerId="",this.level="",this.loginTitle="",this.mapInfos=[],this.objectId="",this.reportButtonText="",this.reportsHeader="",this.reportSubmittedMessage="",this.showComments=!1,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage="",this.theme="light",this.floorLevel="",this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this._featureCreationFailedErrorMsg="",this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._reportSubmitted=!1,this._selectedLayerName="",this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=$({name:"crowdsource-reporter",blocking:!0}),this._updatedProgressBarStatus=25,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1,this._showNextButton=!1,this._submitNextButtonDisabled=!1,this._createFeature=h(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=h(),this._featureList=h(),this._selectedRelatedFeature=[],this._filterList=h(),this._layerList=h(),this._createRelatedFeature=h(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=h(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlert=h(),this.togglePanel=y(),E(window)}static{this.properties={center:1,commentButtonText:1,commentSubmittedMessage:1,defaultWebmap:1,description:1,enableAnonymousAccess:5,enableAnonymousComments:5,enableComments:5,enableHome:5,enableLogin:5,enableNewReports:5,enableSearch:5,enableSnapping:5,enableZoom:5,isMobile:5,layerExpressions:0,layerId:1,level:1,loginTitle:1,mapInfos:0,mapView:0,objectId:1,reportButtonText:1,reportingOptions:0,reportsHeader:1,reportSubmittedMessage:1,searchConfiguration:0,showComments:5,showUserImageInCommentsList:5,showFeatureSymbol:5,showMyReportsOnly:5,submitNewReportsMessage:1,theme:1,zoomToScale:9,floorLevel:1,showFullCommentTitle:5,filterByMapExtent:5,sortOption:1,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,_featureCreationFailedErrorMsg:16,_filterActive:16,_flowItems:16,_hasValidLayers:16,_mapInfo:16,_reportSubmitted:16,_selectedLayerName:16,_showSubmitCancelButton:16,_showLoadingIndicator:16,_sidePanelCollapsed:16,_translations:16,_updatedProgressBarStatus:16,_updatedSorting:16,_updatedSortOption:16,_commentSubmitted:16,_addingCommentFailed:16,_filterOpen:16,_showNextButton:16,_submitNextButtonDisabled:16}}static{this.styles=k}static{this.shadowRootOptions=b}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.mapViewWatchHandler(),e.has("floorLevel")&&this.floorLevelWatchHandler(),(e.has("reportingAreaLayer")||e.has("reportingArea")&&this.hasUpdated)&&setTimeout(()=>{this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)},50),e.has("showMyReportsOnly")&&(this.hasUpdated||this.showMyReportsOnly!==!1)&&this.showMyReportsOnlyWatchHandler(),e.has("sortOption")&&(this.hasUpdated||this.sortOption!=="newest")&&this.sortOptionWatchHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentChangeWatchHandler(),e.has("layerExpressions")&&(this.hasUpdated||this.layerExpressions?.length>0)&&this.layerExpressionsWatchHandler(),e.has("showFeatureSymbol")&&(this.hasUpdated||this.showFeatureSymbol!==!1)&&this.showFeatureSymbolWatchHandler(),(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList.value?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}async isMobileWatchHandler(e){this.updatePanelState(!1,this._showFullPanel),e&&this._flowItems[this._flowItems.length-1]==="filter-panel"?(await this.backFromFilterPanel(),this._filterOpen=!0):!e&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async mapViewWatchHandler(){await this.mapView?.when(async()=>{this.setInitExpressions(),await this.setMapView()})}async floorLevelWatchHandler(){if(this._editableLayerIds)for(let e of this._editableLayerIds){let t=this.mapView&&await d(this.mapView,e);t&&t.floorInfo?.floorField&&this._updateFloorDefinitionExpression(t)}this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value&&await this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh(),this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}async sortOptionWatchHandler(){this.updateSortingOptions()}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){this.resetFilterList(),await this.handleSelectedLayersFilter(),await this._featureList.value?.refresh()}async showFeatureSymbolWatchHandler(){await this._featureList.value?.refresh()}async updateLayerExpressionsT9n(e){if(this._t9nLayerExpressions=e||this.layerExpressions,this._filterList.value!=null)await this._filterList.value.handleUpdatingT9nData(this._t9nLayerExpressions);else if(this._currentLayerExpressions!=null){let t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}async load(){this._urlParamsLoaded=!1,await this._initModules(),await this.mapView?.when(async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter(e=>{let t=e&&this.reportingOptions&&this.reportingOptions[e];return t&&t.visible}):[],this.setInitExpressions(),await this.setMapView()})}render(){let e=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return a`${this._reportSubmitted&&a`<calcite-alert auto-close class=${`${e} report-submitted-msg`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._reportSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.reportSubmittedMessage||this._translations.submitMsg)??""} ${o(this._reportSubmittedAlert)}></div></calcite-alert>`||""}${this._featureCreationFailedErrorMsg&&a`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._featureCreationFailedErrorMsg=""}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._featureCreationFailedErrorMsg}</div></calcite-alert>`||""}${this._commentSubmitted&&a`<calcite-alert auto-close class=${`report-submitted ${e}`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._commentSubmitted=!1}} open placement=top><div slot=message>${this.commentSubmittedMessage||this._translations.commentSubmittedMsg}</div></calcite-alert>`||""}${this._addingCommentFailed&&a`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._addingCommentFailed=!1}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.addingCommentFailedMsg}</div></calcite-alert>`||""}<div><calcite-shell content-behind>${this._getReporter()}</calcite-shell></div>${this.isMobile&&this.filterModal()||""}`}updated(){this.reportSubmittedMessage&&this._reportSubmittedAlert.value?.children[0]&&(this._reportSubmittedAlert.value.children[0].style.margin="0px")}async _initModules(){let[e,t,i,s]=await I(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter","esri/rest/identify","esri/rest/support/IdentifyParameters"]);this.reactiveUtils=e,this.FeatureFilter=t,this.identify=i,this.IdentifyParameters=s}async setSelectedLayer(e,t){this._selectedLayerId=e,this._selectedLayer=this.mapView&&await d(this.mapView,e),this._selectedLayerName=t,this._validLayers.forEach(i=>{this._nonVisibleValidLayers.find(s=>s.id===i.id)||i.set("visible",!e||i.id===e)})}_getLayersConfig(e){return this.reportingOptions&&this.reportingOptions[e]?this.reportingOptions[e]:null}_getReporter(){let e=[];this._flowItems.forEach(i=>{switch(i){case"layer-list":e.push(this.getLayerListFlowItem());break;case"feature-list":e.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":e.push(this.getFilterPanel());break;case"feature-details":e.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":e.push(this.getChooseCategoryFlowItem());break;case"feature-create":e.push(this.getFeatureCreateFlowItem());break;case"comment-details":e.push(this.getCommentDetailsFlowItem());break;case"add-comment":e.push(this.getAddCommentFlowItem());break}});let t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return a`<calcite-panel class=${`width-full ${t}`}>${this.mapView?a`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:a`<calcite-loader label scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&a`<calcite-modal aria-labelledby=modal-title class="modal" kind=brand @calciteModalClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width-scale=s><div class="display-flex align-center" id=modal-title slot=header>${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)}</div><div slot=content>${this.mapView&&a`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._filterActive=!1,this._featureList.value&&this._featureList.value.refresh()}} @filterUpdate=${()=>{this._filterList.value?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList.value?.filterCount>0)}} reset-btn .view=${this.mapView} ${o(this._filterList)}></instant-apps-filter-list>`||""}</div></calcite-modal>`||""}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,this._filterList.value!=null&&(this._currentLayerExpressions=await this._filterList.value.getCurrentLayerExpressions())}async sortOptionClick(e,t,i){this._updatedSorting={field:e,order:t},this._updatedSortOption=i}_toggleSort(){let e=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return a`<calcite-popover auto-close label offset-distance=0 .placement=${this.isMobile?"leading-start":"bottom-start"} pointer-disabled reference-element=sort-popover><calcite-list label selection-mode=single-persist><calcite-list-item .label=${this._translations.sortNewest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")}} .selected=${this._updatedSortOption==="newest"} value=newest></calcite-list-item><calcite-list-item .label=${this._translations.sortOldest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")}} .selected=${this._updatedSortOption==="oldest"} value=oldest></calcite-list-item>${e&&a`<calcite-list-item .label=${this._translations.sortHighestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t!==void 0&&this.sortOptionClick(t,"desc","highestVoted")}} .selected=${this._updatedSortOption==="highestVoted"} value=highestVoted></calcite-list-item><calcite-list-item .label=${this._translations.sortLowestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t&&this.sortOptionClick(t,"asc","lowestVoted")}} .selected=${this._updatedSortOption==="lowestVoted"} value=lowestVoted></calcite-list-item>`||""}</calcite-list></calcite-popover>`}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(e){this._showLoadingIndicator=!0,this._filterActive=e,this._featureList.value&&await this._featureList.value.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&a`<calcite-button appearance=solid @click=${this.navigateToChooseCategory} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel><layer-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} .layers=${this._editableLayerIds?.length>0?this._editableLayerIds:this._layers} .mapView=${this.mapView} @layerSelect=${this.displayFeaturesList} @layersListLoaded=${this.layerListLoaded} show-feature-count show-next-icon ${o(this._layerList)}></layer-list></calcite-panel></calcite-flow-item>`}getChooseCategoryFlowItem(){let e=this.reportingOptions?Object.keys(this.reportingOptions).filter(t=>this.reportingOptions&&this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd):[];return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="reporting-layer-list"}><calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.chooseCategoryMsg}</div></calcite-notice><layer-list class="height-full" .layers=${e} .mapView=${this.mapView} @layerSelect=${this.navigateToCreateFeature}></layer-list></calcite-panel></calcite-flow-item>`}getFeatureCreateFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} @calciteFlowItemBack=${this.backFromCreateFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-create"}>${this._showSubmitCancelButton&&a`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${this._submitNextButtonDisabled} @click=${this._showNextButton?this.onNextButtonClick.bind(this):this.onCreateFeatureSubmitButtonClick.bind(this)} width=full>${this._showNextButton?this._translations.next:this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}<calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><create-feature customize-submit enable-search .enableSnapping=${this.enableSnapping} .floorLevel=${this.floorLevel} .formElements=${this._formElements.find(e=>e.id===this._selectedLayerId)} .reportingAreaLayer=${this.reportingAreaLayer} .isMobile=${this.isMobile} .mapView=${this.mapView} @drawComplete=${this.onFormReady} @editingLocation=${this.editingLocation} @editingAttachment=${this.showSubmitCancelButton} @fail=${this.createFeatureFailed} @modeChanged=${this.backFromCreateFeaturePanel} @progressStatus=${this.updatedProgressStatus} @success=${this.onReportSubmitted} .searchConfiguration=${this.searchConfiguration} .selectedLayerId=${this._selectedLayerId} .reportingArea=${this.reportingArea} .reportingAreaMessage=${this.reportingAreaMessage} .submitNewReportsMessage=${this.submitNewReportsMessage} update-map-position ${o(this._createFeature)}></create-feature></calcite-panel></calcite-flow-item>`}updatedProgressStatus(e){this._updatedProgressBarStatus=e.detail}onFormReady(e){this._submitNextButtonDisabled=e.detail,this._showSubmitCancelButton=!0}editingLocation(){this._showNextButton=!0}showSubmitCancelButton(e){this._showSubmitCancelButton=!e.detail}onCreateFeatureSubmitButtonClick(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this._createFeature.value.submit())}backFromCreateFeaturePanel(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onNextButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._showSubmitCancelButton=!0,this._createFeature.value.showForm())}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature.value&&this._createRelatedFeature.value.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature.value&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(e){console.error(e.detail),this._featureCreationFailedErrorMsg=e.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(e){console.error(e.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,this._featureDetails.value&&await this._featureDetails.value.refresh(this._currentFeature),setTimeout(()=>{this._showLoadingIndicator=!1},300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList.value&&await this._layerList.value.refresh(),this._editableLayerIds.length===1?(this._featureList.value&&await this._featureList.value.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(e){e.detail.layerId&&e.detail.layerName&&await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(e){this._nonVisibleValidLayers.find(t=>t.id===this._selectedLayerId)&&this._selectedLayer&&this._selectedLayer.set("visible",e)}async layerListLoaded(e){if(this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"||this._flowItems[0]==="feature-list"){let t=e.detail,i=this.mapView&&await _(this.mapView),s=[];this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(l=>{t.includes(l.id)&&(this._validLayers.push(l),l.visible||this._nonVisibleValidLayers.push(l),this._getLayersConfig(l.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[l.id]&&this._layerItemsHash[l.id].supportsAdd&&s.push(l.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}}async displayFeaturesList(e){await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId}updateSortingOptions(){let e=this.sortOption===""?"newest":this.sortOption,t=e==="oldest"||e==="lowestVoted"?"asc":"desc",i=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"",s=this._selectedLayer&&(e==="newest"||e==="oldest")?this._selectedLayer?.objectIdField:i;this._updatedSorting={field:s||"",order:t},this._updatedSortOption=!i&&(e==="highestVoted"||e==="lowestVoted")?"newest":e}async backFromFilterPanel(){this._filterList.value!=null&&(this._currentLayerExpressions=await this._filterList.value.getCurrentLayerExpressions()),this._featureList.value&&await this._featureList.value.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;let e=[...this._flowItems];if(e[e.length-1]==="comment-details"||e[e.length-1]==="add-comment"||this.clearHighlights(),(e[e.length-1]==="reporting-layer-list"||e[e.length-1]==="feature-create"&&(e[0]==="feature-list"||e[e.length-2]==="feature-list"))&&this.updatePanelState(this._sidePanelCollapsed,!1),e.pop(),e.length===1&&e[0]==="layer-list"){this.navigateToHomePage();return}this._flowItems=[...e]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(e,t){this._sidePanelCollapsed=e,this._showFullPanel=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(e){await this.setSelectedFeatures([e.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){let e=this._currentFeature?.layer,t=this.mapView&&await x(this.mapView);e.relationships?.some(i=>{let s=t?.filter(l=>e.url===l.url&&l.layerId===i.relatedTableId);return s&&s.length>0?(this._relatedTable=s[0],!0):!1})}async updatingFeatureDetails(e){this._showLoadingIndicator=e}async selectionChanged(e){this.updatingFeatureDetails(!0),await this.setCurrentFeature(e.detail.selectedFeature[0]),this.highlightOnMap(e.detail.selectedFeature[0]),this._selectedFeatureIndex=e.detail.selectedFeatureIndex,this._featureDetails.value&&await this._featureDetails.value.refresh(e.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(e){this._selectedRelatedFeature=[e.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(e,t){let i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash&&this._layerItemsHash[this._selectedLayerId].supportsAdd,s=this._currentLayerExpressions?.length;return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${t} .loading=${!this.isMobile&&this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-list"}>${this._toggleSort()}<calcite-action icon=sort-ascending-arrow id=sort-popover slot=header-actions-end .text=${this._translations.sort} title=${this._translations.sort??p}></calcite-action>${s&&a`<calcite-action icon=filter .indicator=${this._filterActive} @click=${()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]}} slot=header-actions-end .text=${this._translations.filter} title=${this._translations.filter??p}></calcite-action>`||""}${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.enableNewReports&&i&&a`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${a`<feature-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} highlight-on-hover .mapView=${this.mapView} .noFeaturesFoundMsg=${this._translations.featureErrorMsg} @featureClick=${()=>{this._showLoadingIndicator=!0}} @featureSelect=${this.onFeatureSelectFromList} page-size=30 .reportingOptions=${this.reportingOptions} .selectedLayerId=${e} .showFeatureSymbol=${this.showFeatureSymbol} .sortingInfo=${this._updatedSorting} ${o(this._featureList)}></feature-list>`}</calcite-panel></calcite-flow-item>`}getFilterPanel(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromFilterPanel} .selected=${this._flowItems[this._flowItems.length-1]==="filter-panel"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer><div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${!this._filterActive} @click=${this.resetFilterList} width=full>${this._translations.resetFilter}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromFilterPanel} width=full>${this._translations.close}</calcite-button></div></div><calcite-panel>${this.mapView&&a`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>{let e=this._filterList.value?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${o(this._filterList)}></instant-apps-filter-list>`||""}</calcite-panel></calcite-flow-item>`}getFeatureDetailsFlowItem(){let e=this._selectedLayer?.relationships,t=this._getLayersConfig(this._selectedLayerId)?.comment&&e&&e.length>0&&this._relatedTable;return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.mapView&&a`<instant-apps-social-share class=share-node flip-rtl popover-button-icon-scale=s remove-popover-offset scale=m share-button-color=neutral share-button-type=action slot=header-actions-end social-media .view=${this.mapView} ${o(this._shareNode)}></instant-apps-social-share>`||""}${this._selectedFeature.length>1&&this.getFeaturesPagination()||""}<calcite-panel><feature-details class=full-height .enableSnapping=${this.enableSnapping} .graphics=${this._selectedFeature} .layerItemsHash=${this._layerItemsHash} .mapView=${this.mapView} @addComment=${this.showAddCommentsPanel} @commentClick=${()=>{this._showLoadingIndicator=!0}} @commentSelect=${this.onCommentSelectFromList} @featureSelectionChange=${this.selectionChanged} @likeOrDislikeClicked=${()=>{this._featureList.value&&this._featureList.value.refresh(!0)}} @loadingStatus=${i=>void this.updatingFeatureDetails(i.detail)} .reportingOptions=${this.reportingOptions} .showFullCommentTitle=${this.showFullCommentTitle} .showUserImageInCommentsList=${this.showUserImageInCommentsList} ${o(this._featureDetails)}></feature-details>${t&&a`<calcite-button appearance=solid @click=${this.showAddCommentsPanel} slot=footer width=full>${this.commentButtonText||this._translations.comment}</calcite-button>`||""}</calcite-panel></calcite-flow-item>`}getFeaturesPagination(){return a`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left id=solutions-back @click=${()=>this._featureDetails.value&&void this._featureDetails.value.back()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-button appearance=transparent @click=${()=>this._featureDetails.value&&void this._featureDetails.value.toggleListView()} scale=s><span class="pagination-count">${this._getCount()}</span></calcite-button><div><calcite-button appearance=transparent icon-start=chevron-right id=solutions-next @click=${()=>this._featureDetails.value&&void this._featureDetails.value.next()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`}getCommentDetailsFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="comment-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this._selectedRelatedFeature} .mapView=${this.mapView} @selectionChanged=${()=>{this._showLoadingIndicator=!1}}></info-card></calcite-panel></calcite-flow-item>`}getAddCommentFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromCreateRelatedFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="add-comment"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer>${this._showSubmitCancelButton&&a`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" @click=${this.onCreateRelatedFeatureSubmitButtonClick} width=full>${this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateRelatedFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}</div><calcite-panel><create-related-feature customize-submit .enableSnapping=${this.enableSnapping} .mapView=${this.mapView} @fail=${this.addCommentFailed} @formReady=${this.onFormReady} @isActionPending=${this.showSubmitCancelButton} @success=${this.onCommentSubmitted} .selectedFeature=${this._currentFeature} .table=${this._relatedTable} ${o(this._createRelatedFeature)}></create-related-feature></calcite-panel></calcite-flow-item>`}async setSelectedFeatures(e){this._selectedFeature=e,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:void 0)}async setCurrentFeature(e){if(this._currentFeature=e,e&&e.layer){let t=e.layer;t.title&&this.setSelectedLayer(t.id,t.title),this._currentFeatureId=e.attributes[t.objectIdField],this._getLayersConfig(t.id)?.comment&&t.relationships&&t.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(e){if(this.clearHighlights(),e&&e.geometry&&e.layer&&e.layer.id!==void 0){let t=this.mapView&&await m(this.mapView,e.layer.id.toString());if(t){t.highlightOptions=null;let i=Number(e.getObjectId());this._highlightHandle=this.mapView&&await S([i],t,this.mapView,!0,this.zoomToScale)}}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return a`<calcite-action .icon=${this._sidePanelCollapsed?"chevrons-up":"chevrons-down"} @click=${this.toggleSidePanel} slot=header-actions-end .text=${(this._sidePanelCollapsed?this._translations.expand:this._translations.collapse)||""}></calcite-action>`}async setMapView(){await this.getLayersToShowInList(),await this._updateFeatures(),this._editableLayerIds?.length===1?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView&&(this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0))}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",this.onMapClick.bind(this))}async onMapClick(e){if(this.mapView){this.mapView.popupEnabled=!1;let t=await this.mapView.hitTest(e),i=[],s=[],l=[],n=!1;t.results.length>0&&t.results.forEach(c=>{c.type==="graphic"&&i.push(c.graphic)}),i.length>0&&(await this._setReportingGraphics(i),s=this._getNonReportingLayerGraphics(i)),this._mapImageryLayersId.length>0&&(l=await this._getIdentifiedGraphics(e.mapPoint),n=l.length>0);let r=s.concat(l);if(r.length>0){this.mapView.popupEnabled=!0;let c={features:r,location:e.mapPoint,updateLocationEnabled:!n};await this.mapView.openPopup(c)}}}async _setReportingGraphics(e){let t=e.filter(i=>{if(i.layer?.type==="feature"){let s=i.layer;return this._validLayers.includes(s)}else return!1});t.length>0&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(e[0])):this._flowItems=[...this._flowItems,"feature-details"])}_getNonReportingLayerGraphics(e){return e.filter(t=>{if(t.layer?.type==="feature"){let i=t.layer;return!this._validLayers.includes(i)&&i?.popupEnabled&&i?.id}else return!1})}async _getIdentifiedGraphics(e){let t=this.IdentifyParameters&&new this.IdentifyParameters({geometry:e,tolerance:3,mapExtent:this.mapView?.extent}),i=this._mapImageryLayersId.map(async n=>{let r=this.mapView&&await d(this.mapView,n);if(r?.url&&t)return await this.identify?.identify(r.url,t)}),s=await Promise.all(i),l=[];return s.forEach(n=>{n.results.forEach(r=>{let c=Object.keys(r.feature.attributes).map(g=>({fieldName:g,label:g}));r.feature.popupTemplate={title:r.layerName,content:[{type:"fields",fieldInfos:c}]},l.push(r.feature)})}),l}_getCount(){let e=(this._selectedFeatureIndex+1).toString(),t=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)}_updateFloorDefinitionExpression(e){let t=`${e?.floorInfo?.floorField} = '${this.floorLevel}'`,i=e.definitionExpression;e.definitionExpression=i&&i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):t,this._floorExpression=t}_getFormElements(){let e=this._selectedLayer;if(e?.floorInfo?.floorField&&this.floorLevel&&e?.formTemplate){let t=this._formElements.find(i=>i.id===e.id);(this._formElements.length===0||!t)&&this._formElements.push({id:e.id,orgElements:e.formTemplate.elements,orgExpressionInfos:e.formTemplate.expressionInfos})}}reduceToConfiguredLayers(e,t){return Object.keys(e).reduce((i,s)=>{let l=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&l&&i.push(s),i},[])}refreshLists(){setTimeout(()=>{this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh()},50)}async _updateFeatures(){for(let e of this._editableLayerIds){let t=this.mapView&&await m(this.mapView,e);t&&(await this._showMyFeaturesOnly(t),t.layer?.floorInfo?.floorField&&this.floorLevel&&this._updateFloorDefinitionExpression(t.layer))}}async _showMyFeaturesOnly(e){let t=(this.mapView?.map).portalItem.portal?.credential?.userId;if(t&&e){let i=e.layer.editFieldsInfo?.creatorField.toLowerCase();e.filter=this.showMyReportsOnly&&i&&this.FeatureFilter?new this.FeatureFilter({where:i+"='"+t+"'"}):null}}async getLayersToShowInList(){let e=this.mapView&&await C(this.mapView,!0),t=this.mapView&&await _(this.mapView),i=[];t?.forEach(s=>{s?.type==="feature"&&s?.editingEnabled&&s?.capabilities?.operations?.supportsAdd&&(e[s.id].supportsAdd=!0),s?.editingEnabled||i.push(s.id)}),this._editableLayerIds=this.reduceToConfiguredLayers(e,i),this._layerItemsHash=e}async renderFeaturesList(){this._flowItems=["feature-list"];let e={detail:this._editableLayerIds};await this.layerListLoaded(e),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0]?.title||""),this.updateSortingOptions(),this.handleSelectedLayersFilter()}_updateShareURL(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this._selectedLayerId?t.searchParams.set("layerid",this._selectedLayerId):t.searchParams.delete("layerid"),this._selectedFeature?.length?t.searchParams.set("oid",this._currentFeatureId):t.searchParams.delete("oid"),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView?.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){let e=this.mapView&&await d(this.mapView,this.layerId);if(e){let t=this.mapView&&await v([Number(this.objectId)],e,[],!0,this.mapView.spatialReference);t?.length&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems[this._flowItems.length-1]!=="feature-details"?this._flowItems=[...this._flowItems,"feature-details"]:this._flowItems=[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){let e=this.layerExpressions?structuredClone(this.layerExpressions.filter(t=>t.id===this._selectedLayerId)):[];this._t9nLayerExpressions!=null&&this.handleLayerExpressionsT9n(e,this._t9nLayerExpressions),this._currentLayerExpressions=e,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){let e=this.mapView&&await d(this.mapView,this._prevSelectedLayerId);e&&this._initDefExpressions&&(e.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}resetFilterList(){this._filterList.value?.forceReset(),this._selectedLayer!==void 0&&this._initDefExpressions&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(this._selectedLayer===void 0)return;let e=[];if(this._currentLayerExpressions&&this._currentLayerExpressions?.length>0){let t=this._currentLayerExpressions[0];for(let i of t.expressions){let{active:s,definitionExpression:l}=i;s&&l&&e.push(`(${l})`)}this._filterActive=e.length>0,this.updateFilterLayerDefExpression(e,t.operator)}}updateFilterLayerDefExpression(e,t){let i=this._initDefExpressions&&this._initDefExpressions[this._selectedLayerId],s=e?.length>0&&i?`(${e.join(t)}) AND (${i})`:e.length>0?e.join(t):i;this._selectedLayer&&(this._selectedLayer.definitionExpression=s)}setInitExpressions(){if(this._initDefExpressions={},this.mapView==null)return;let e=this.mapView.map;e.allLayers.concat(e.allTables).forEach(t=>{if(t.type==="map-image"&&!this._mapImageryLayersId.includes(t.id)){this._mapImageryLayersId.push(t.id);return}if(t.type!=="feature")return;let i=t;this._initDefExpressions&&(this._initDefExpressions[i.id]=i.definitionExpression||"")})}handleLayerExpressionsT9n(e,t){e?.forEach(i=>{let s=t?.find(l=>l.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(l=>{let n=s.expressions?.find(r=>r.id===l.id);n!=null&&(l.name=n.name)}))})}};F("crowdsource-reporter",f);export{f as CrowdsourceReporter};
|
package/dist/cdn/ZVTVCHDD.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250605 */
|
4
|
-
import{b as m,c as h}from"./5WBJ7JHK.js";import"./TQ2X7VMW.js";import"./4ZZY4G5L.js";import"./M6XME7OM.js";import"./YNVH5WET.js";import"./YNKDS73P.js";import"./KN36CLI6.js";import"./GKGR6CL5.js";import"./VHB6NDP6.js";import{a as b,b as g}from"./FNEE7DUR.js";import{b as d}from"./JI774UUM.js";import{a as c}from"./FCGJ2VZH.js";import{D as o,I as p,c as n,d as r}from"./XSPGKSFV.js";import"./NUVLGW3I.js";var u=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],y=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),D=n`/** @license
|
5
|
-
* 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
|
-
*/:host{display:block}`,s=class extends o{constructor(){super(...arguments),this.disabled=!1,this._translations=c({name:"pdf-download",blocking:!0}),this._labelInfoElement=b()}static{this.properties={defaultNumLabelsPerPage:9,disabled:5,_translations:16}}static{this.styles=D}async downloadCSV(e,a,i,l=!0){return m(e,a,!0,i,l)}async downloadPDF(e,a,i=!1,l="",t=""){let P=this._labelInfoElement.value?this._labelInfoElement.value.selectedOption?.value:"";return h(e,a,P,i,l,t)}async load(){await this._initModules()}render(){return r`<calcite-select .disabled=${this.disabled} label ${g(this._labelInfoElement)}>${this._renderOptions()}</calcite-select>`}async _initModules(){let[e]=await d(["esri/intl"]);this._intl=e}_getLabelSizeText(e){let a=e.descriptionPDF.labelsPerPageDisplay,i=e.descriptionPDF.labelWidthDisplay+" x "+e.descriptionPDF.labelHeightDisplay;return this._translations.pdfLabel?this._translations.pdfLabel.replace("{{n}}",a).replace("{{labelSize}}",i):""}_renderOptions(){let e=y;return(e.default||e).sort((a,i)=>{let l=Number.parseInt(a.descriptionPDF.labelsPerPageDisplay,10),t=Number.parseInt(i.descriptionPDF.labelsPerPageDisplay,10);return l<t?-1:l>t?1:0}).map((a,i)=>{let l=!1;return(this.defaultNumLabelsPerPage?Number.parseInt(a.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:i===0)&&(l=!0),r`<calcite-option .selected=${l} .value=${a}>${this._getLabelSizeText(a)}</calcite-option>`})}};p("pdf-download",s);export{s as PdfDownload};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"cancel":"Cancel","close":"Close","customize":"Customize","deploy":"Deploy","failedToDeploy":"{{solution}} failed to be deployed.","options":"Options","solutionName":"Solution name","solutionNameErrorLength":"The solution name is too long.","solutionNameErrorSpecialCharacter":"The solution name contains a special character which is not allowed.","solutionNameErrorUniqueName":"A solution named {{proposedName}} already exists in your content. Please choose a different name.","solutionNameHint":"Provide a unique name for your solution deployment","spatialReference":"Spatial reference","title":"Deploy {{solution}}","tryAgain":"Try again"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"cancel":"Cancel","close":"Close","customize":"Customize","deploy":"Deploy","failedToDeploy":"{{solution}} failed to be deployed.","options":"Options","solutionName":"Solution name","solutionNameErrorLength":"The solution name is too long.","solutionNameErrorSpecialCharacter":"The solution name contains a special character which is not allowed.","solutionNameErrorUniqueName":"A solution named {{proposedName}} already exists in your content. Please choose a different name.","solutionNameHint":"Provide a unique name for your solution deployment","spatialReference":"Spatial reference","title":"Deploy {{solution}}","tryAgain":"Try again"}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/// <reference types="../../index.d.ts" />
|
2
|
-
import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
|
3
|
-
import { ITemplateInfo } from '../../utils/interfaces';
|
4
|
-
|
5
|
-
export declare class SolutionDeployPanel extends LitElement {
|
6
|
-
/** The solution that will be deployed */
|
7
|
-
solutionItem: ITemplateInfo | undefined;
|
8
|
-
/**
|
9
|
-
* the wkid to match against.
|
10
|
-
*
|
11
|
-
* @default '3857'
|
12
|
-
*/
|
13
|
-
wkid: string;
|
14
|
-
/** Closes the panel */
|
15
|
-
close(): void;
|
16
|
-
/** Deploys a solution */
|
17
|
-
deploy(): void;
|
18
|
-
}
|
@@ -1,72 +0,0 @@
|
|
1
|
-
import { c as a } from "../../chunks/runtime.js";
|
2
|
-
import { html as e } from "lit-html";
|
3
|
-
import { u as s } from "../../chunks/useT9n.js";
|
4
|
-
import { LitElement as l, noShadowRoot as r, nothing as n } from "@arcgis/lumina";
|
5
|
-
import { css as c } from "@lit/reactive-element/css-tag.js";
|
6
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
7
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
8
|
-
v1.0.0-next.20250605 */
|
9
|
-
const h = c`@layer{/** @license
|
10
|
-
* Copyright 2025 Esri
|
11
|
-
*
|
12
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
13
|
-
* you may not use this file except in compliance with the License.
|
14
|
-
* You may obtain a copy of the License at
|
15
|
-
*
|
16
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
17
|
-
*
|
18
|
-
* Unless required by applicable law or agreed to in writing, software
|
19
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
20
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
21
|
-
* See the License for the specific language governing permissions and
|
22
|
-
* limitations under the License.
|
23
|
-
*/.error-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.panel-bg-white{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.spacer-top-bottom{padding-top:25px;padding-bottom:25px}}`, d = "3857";
|
24
|
-
class p extends l {
|
25
|
-
constructor() {
|
26
|
-
super(...arguments), this.solutionItem = void 0, this.wkid = d, this._isFormValid = !0, this._showAlertFailed = !1, this._showAlertNameErrorDescription = "", this._showAlertNameError = !1, this._translations = s({ name: "solution-deploy-panel", blocking: !0 });
|
27
|
-
}
|
28
|
-
static {
|
29
|
-
this.properties = { solutionItem: 0, wkid: 1, _isFormValid: 16, _showAlertFailed: 16, _showAlertNameErrorDescription: 16, _showAlertNameError: 16, _translations: 16 };
|
30
|
-
}
|
31
|
-
static {
|
32
|
-
this.styles = h;
|
33
|
-
}
|
34
|
-
static {
|
35
|
-
this.shadowRootOptions = r;
|
36
|
-
}
|
37
|
-
close() {
|
38
|
-
const t = this._translations.title.replace("{{solution}}", this.solutionItem?.title ?? ""), i = document.getElementById(t);
|
39
|
-
i.open = !1;
|
40
|
-
}
|
41
|
-
closeAlert() {
|
42
|
-
this._showAlertFailed = !1;
|
43
|
-
}
|
44
|
-
deploy() {
|
45
|
-
alert("deploy something");
|
46
|
-
}
|
47
|
-
render() {
|
48
|
-
return e`<calcite-dialog .heading=${this._translations.title.replace("{{solution}}", this.solutionItem?.title ?? "")} id=${this._translations.title.replace("{{solution}}", this.solutionItem?.title ?? "") ?? n} modal open outside-close-disabled><calcite-panel class="panel-bg-white">${this.renderUpdateSolutionName()}<div class="spacer-top-bottom"></div>${this.renderSpatialReferenceSelection()}<calcite-button appearance=outline @click=${this.close} slot=footer-end>${this._translations.cancel}</calcite-button>${this._isFormValid ? e`<calcite-button kind=brand slot=footer-end>${this._translations.deploy}</calcite-button>` : e`<calcite-button kind=brand slot=footer-end disabled>${this._translations.deploy}</calcite-button>`}<calcite-alert icon=exclamation-mark-triangle kind=danger .label=${this._translations.failedToDeploy.replace("{{solution}}", this.solutionItem?.title ?? "")} .open=${this._showAlertFailed} slot=actions><div slot=title>${this._translations.failedToDeploy.replace("{{solution}}", this.solutionItem?.title ?? "")}</div><calcite-action icon=recurrence @click=${() => {
|
49
|
-
this.deploy();
|
50
|
-
}} slot=actions-end .text=${this._translations.tryAgain} text-enabled></calcite-action><calcite-action icon=x @click=${this.closeAlert} slot=actions-end .text=${this._translations.close}></calcite-action></calcite-alert></calcite-panel></calcite-dialog>`;
|
51
|
-
}
|
52
|
-
renderUpdateSolutionName() {
|
53
|
-
return e`<div><calcite-label>${this._translations.solutionName}<calcite-input .label=${this._translations.solutionNameHint} @calciteInputInput=${(t) => {
|
54
|
-
this._isFormValid = this._validateName(t.target.value);
|
55
|
-
}} .placeholder=${this._translations.solutionNameHint} required scale=m .value=${this.solutionItem?.title}></calcite-input></calcite-label>${this._showAlertNameError && e`<calcite-label layout=inline><calcite-icon class="error-icon-color" icon=exclamation-mark-triangle scale=s></calcite-icon>${this._showAlertNameErrorDescription}</calcite-label>` || ""}</div>`;
|
56
|
-
}
|
57
|
-
renderSpatialReferenceSelection() {
|
58
|
-
return e`<div><calcite-label>${this._translations.options}<calcite-accordion><calcite-accordion-item .description=${this.wkid} .heading=${this._translations.spatialReference}><calcite-button appearance=outline slot=actions-end>${this._translations.customize}</calcite-button><analysis-spatial-reference-selector @analysisSpatialReferenceValueChange=${(t) => {
|
59
|
-
t.detail?.latestWkid && (this.wkid = t.detail.latestWkid.toString());
|
60
|
-
}}></analysis-spatial-reference-selector></calcite-accordion-item></calcite-accordion></calcite-label></div>`;
|
61
|
-
}
|
62
|
-
_validateName(t) {
|
63
|
-
if (t.length > 256)
|
64
|
-
return this._showAlertNameError = !0, this._showAlertNameErrorDescription = this._translations.solutionNameErrorLength, !1;
|
65
|
-
const i = /[-()[\]$%#]/u.test(t), o = t.startsWith(" ");
|
66
|
-
return i || o ? (this._showAlertNameError = !0, this._showAlertNameErrorDescription = this._translations.solutionNameErrorSpecialCharacter, !1) : (this._showAlertNameError = !1, this._showAlertNameErrorDescription = this._translations.solutionNameErrorUniqueName, this._showAlertNameError = !1, this._showAlertNameErrorDescription = "", !0);
|
67
|
-
}
|
68
|
-
}
|
69
|
-
a("solution-deploy-panel", p);
|
70
|
-
export {
|
71
|
-
p as SolutionDeployPanel
|
72
|
-
};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import "@esri/calcite-components/components/calcite-dialog";
|
2
|
-
import "@esri/calcite-components/components/calcite-panel";
|
3
|
-
import "@esri/calcite-components/components/calcite-button";
|
4
|
-
import "@esri/calcite-components/components/calcite-alert";
|
5
|
-
import "@esri/calcite-components/components/calcite-action";
|
6
|
-
import "@esri/calcite-components/components/calcite-label";
|
7
|
-
import "@esri/calcite-components/components/calcite-input";
|
8
|
-
import "@esri/calcite-components/components/calcite-icon";
|
9
|
-
import "@esri/calcite-components/components/calcite-accordion";
|
10
|
-
import "@esri/calcite-components/components/calcite-accordion-item";
|
11
|
-
import "@arcgis/analysis-components/dist/components/analysis-spatial-reference-selector.js";
|
12
|
-
export * from "./customElement.js";
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import "@esri/calcite-components/components/calcite-dialog";
|
2
|
-
import "@esri/calcite-components/components/calcite-panel";
|
3
|
-
import "@esri/calcite-components/components/calcite-button";
|
4
|
-
import "@esri/calcite-components/components/calcite-alert";
|
5
|
-
import "@esri/calcite-components/components/calcite-action";
|
6
|
-
import "@esri/calcite-components/components/calcite-label";
|
7
|
-
import "@esri/calcite-components/components/calcite-input";
|
8
|
-
import "@esri/calcite-components/components/calcite-icon";
|
9
|
-
import "@esri/calcite-components/components/calcite-accordion";
|
10
|
-
import "@esri/calcite-components/components/calcite-accordion-item";
|
11
|
-
import "@arcgis/analysis-components/dist/components/analysis-spatial-reference-selector.js";
|
12
|
-
export * from "./customElement.js";
|
/package/dist/cdn/assets/{solution-configure-panel → solution-configure-dialog}/t9n/messages.en.json
RENAMED
File without changes
|
/package/dist/cdn/assets/{solution-configure-panel → solution-configure-dialog}/t9n/messages.json
RENAMED
File without changes
|
File without changes
|
File without changes
|