@esri/solutions-components 1.0.0-next.20250613 → 1.0.0-next.20250618
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{NI6W7D5A.js → 2244Y2MO.js} +2 -2
- package/dist/cdn/{PZ4QY622.js → 24QKZMCL.js} +2 -2
- package/dist/cdn/{KUDZ5D7L.js → 25FHC6WS.js} +2 -2
- package/dist/cdn/{RBVM5G3M.js → 2FGKASUU.js} +2 -2
- package/dist/cdn/{QSZMGRE6.js → 2MR4I2BY.js} +2 -2
- package/dist/cdn/{DWW72S7K.js → 2PNCS4ES.js} +2 -2
- package/dist/cdn/{XNWAPK5V.js → 2TVUME4P.js} +2 -2
- package/dist/cdn/{GFZBEF2X.js → 2VYLMG7R.js} +2 -2
- package/dist/cdn/{66BP63VM.js → 2WLDVDNI.js} +2 -2
- package/dist/cdn/{MZY3EBXD.js → 2XEZFUUZ.js} +2 -2
- package/dist/cdn/{SGXXUYPR.js → 33FARYS4.js} +2 -2
- package/dist/cdn/{IF3A3DMK.js → 374THQEK.js} +3 -3
- package/dist/cdn/{WDBQW7IX.js → 3IVUXC6K.js} +2 -2
- package/dist/cdn/{B25NMROT.js → 3K2M3ZJ7.js} +2 -2
- package/dist/cdn/{X3C4SWBZ.js → 3NFWFQKJ.js} +2 -2
- package/dist/cdn/{Q6RSACS2.js → 3TMTXONC.js} +2 -2
- package/dist/cdn/{6RLCUNUI.js → 3UJWF2O4.js} +2 -2
- package/dist/cdn/{MHGX7IC4.js → 3VJ4OJBR.js} +1 -1
- package/dist/cdn/3WZDTHDA.js +4 -0
- package/dist/cdn/{ERDIVQ25.js → 44HGIWYU.js} +2 -2
- package/dist/cdn/{RAOIGUOR.js → 44R4RRIN.js} +2 -2
- package/dist/cdn/{ZPNMD2RT.js → 4EDJBRS2.js} +1 -1
- package/dist/cdn/{2EPS5SYY.js → 4JOV276H.js} +2 -2
- package/dist/cdn/{KDUSIRYT.js → 4K5SMLME.js} +2 -2
- package/dist/cdn/{N7LCND73.js → 4N5SFTZS.js} +1 -1
- package/dist/cdn/{PKZWKHVE.js → 4PQZIN5W.js} +2 -2
- package/dist/cdn/{FOBRIUEH.js → 4SH5J6QB.js} +2 -2
- package/dist/cdn/{IALX23CK.js → 4VAXISBH.js} +2 -2
- package/dist/cdn/{P2M5FUPS.js → 52DERCIP.js} +2 -2
- package/dist/cdn/55D7LERM.js +18 -0
- package/dist/cdn/{VEEP6F3T.js → 5CJ5UXZE.js} +2 -2
- package/dist/cdn/{QMGASUOO.js → 5FC4XKJM.js} +2 -2
- package/dist/cdn/{OXKZ4WL5.js → 5FQ3LHYT.js} +2 -2
- package/dist/cdn/{66GDPGJ4.js → 5JQOX6HV.js} +2 -2
- package/dist/cdn/{OHWUPE3N.js → 5NPT5B76.js} +2 -2
- package/dist/cdn/{X7CCOJBI.js → 5NR4JSYD.js} +1 -1
- package/dist/cdn/{OTLIXGZN.js → 5S6RNUPL.js} +1 -1
- package/dist/cdn/{U5YN7LKZ.js → 5XE5QQBN.js} +1 -1
- package/dist/cdn/6BZNU2TA.js +4 -0
- package/dist/cdn/{7FVHNQUY.js → 6EDK7AMA.js} +2 -2
- package/dist/cdn/{L3IKBHLJ.js → 6EXPZYAN.js} +2 -2
- package/dist/cdn/{UZYRU2CV.js → 6FURXZTX.js} +2 -2
- package/dist/cdn/{KXVNO4A5.js → 6SAVY66F.js} +1 -1
- package/dist/cdn/{YDLBEEXI.js → 6V6EVZXQ.js} +2 -2
- package/dist/cdn/{MTEXHIUZ.js → 6XWKSRVY.js} +2 -2
- package/dist/cdn/{QH3NPYAQ.js → 6YBZSHGK.js} +2 -2
- package/dist/cdn/{2Y73A3MC.js → 74YGVXNR.js} +2 -2
- package/dist/cdn/{LHP5SZ5Q.js → 7GMUS2LS.js} +1 -1
- package/dist/cdn/{NCJNH5ZN.js → 7PM3GU7K.js} +2 -2
- package/dist/cdn/{ZAP6T3AI.js → 7WZU2DWQ.js} +2 -2
- package/dist/cdn/{NJMEDUPT.js → 7XTA2OC4.js} +2 -2
- package/dist/cdn/{2CO25KUU.js → 7XTAIDC7.js} +2 -2
- package/dist/cdn/{SDSGL4OS.js → A4TDLONO.js} +2 -2
- package/dist/cdn/{5NPDUIR3.js → ABBIOVTY.js} +2 -2
- package/dist/cdn/{IAC5U4FW.js → ACNKDAEK.js} +2 -2
- package/dist/cdn/{YQ62X2PW.js → AFZHAYZU.js} +2 -2
- package/dist/cdn/{TW5CSUJI.js → AIU4AH74.js} +2 -2
- package/dist/cdn/{MVCOK2CK.js → AM6U5KXG.js} +2 -2
- package/dist/cdn/{7HNEFBST.js → AUFISDUF.js} +2 -2
- package/dist/cdn/{DX3JGAPB.js → B455LJUS.js} +2 -2
- package/dist/cdn/{2JCMVX4M.js → BAPCWA5D.js} +1 -1
- package/dist/cdn/{5DPFMR4I.js → BCBHVM7D.js} +1 -1
- package/dist/cdn/{OL7UAB72.js → BFY7IDVP.js} +2 -2
- package/dist/cdn/{6AJFPNS6.js → BMAKHKN7.js} +2 -2
- package/dist/cdn/{33L6GMXG.js → BNFPGA7K.js} +2 -2
- package/dist/cdn/{3IMYYEAA.js → BOSCZ675.js} +2 -2
- package/dist/cdn/{72ABS7Y2.js → BRZVBJCV.js} +2 -2
- package/dist/cdn/{VRTRTGZA.js → BUOXTJUP.js} +2 -2
- package/dist/cdn/{ZJVPDHYK.js → BX7KWN5V.js} +2 -2
- package/dist/cdn/{MFFHR33L.js → BXQJDMPG.js} +2 -2
- package/dist/cdn/{UC2ZDCJ4.js → BYLNGYZM.js} +2 -2
- package/dist/cdn/{S7XCGTZK.js → C2U5I6SG.js} +2 -2
- package/dist/cdn/{AF64VHQT.js → C3NFGCVR.js} +2 -2
- package/dist/cdn/{CGZYVYUK.js → C63JBRL7.js} +2 -2
- package/dist/cdn/{I6NUVFSK.js → C6KHQNY4.js} +2 -2
- package/dist/cdn/{C2AIE2T2.js → C6VO4ZTH.js} +1 -1
- package/dist/cdn/{DXFLMIEH.js → CA46MKTG.js} +2 -2
- package/dist/cdn/{DH27ODVZ.js → CHG7NEXI.js} +2 -2
- package/dist/cdn/{Z2JRY3A7.js → CNUSPWTX.js} +2 -2
- package/dist/cdn/{PGM2D4BL.js → CPPGUGUJ.js} +2 -2
- package/dist/cdn/{OOPBP5XR.js → CWJEUFSX.js} +2 -2
- package/dist/cdn/{2IW5OPGT.js → CXFSUXVU.js} +1 -1
- package/dist/cdn/{EXBNMAE6.js → D2UQQP3J.js} +1 -1
- package/dist/cdn/{LCSMIPHM.js → D4VNGPET.js} +2 -2
- package/dist/cdn/{W4KUVWND.js → D4Z5SEOU.js} +2 -2
- package/dist/cdn/{SP5YHQIJ.js → DEMETEO5.js} +2 -2
- package/dist/cdn/{FK3LVUKS.js → DGMUEXX5.js} +2 -2
- package/dist/cdn/{KFHHWR7Q.js → DGX3VNBF.js} +2 -2
- package/dist/cdn/{45JZSDFM.js → DIBSSNLF.js} +2 -2
- package/dist/cdn/{UKVIZZJA.js → DKDDSSZO.js} +1 -1
- package/dist/cdn/{OTGVNQI2.js → DNTD5DIN.js} +2 -2
- package/dist/cdn/{ZCSKWHOT.js → DQFV5W24.js} +2 -2
- package/dist/cdn/{DASHRYX4.js → DRFV4N6J.js} +1 -1
- package/dist/cdn/{5HO6CGS5.js → DWJVRI4L.js} +2 -2
- package/dist/cdn/{DZYWA7TU.js → EAXBLKRL.js} +2 -2
- package/dist/cdn/{E64YVOUB.js → EI7IFIR5.js} +2 -2
- package/dist/cdn/{RYBBDSVC.js → ENXXOCBV.js} +2 -2
- package/dist/cdn/{TC5MSHUC.js → EQ6HIJ73.js} +1 -1
- package/dist/cdn/{NSX3F6PK.js → EQAAMDKN.js} +2 -2
- package/dist/cdn/{SPJHTFGW.js → EQREWO2C.js} +2 -2
- package/dist/cdn/{TZU3WM3P.js → EU2AABK5.js} +2 -2
- package/dist/cdn/{2TBU3VSR.js → EWJGPFTB.js} +2 -2
- package/dist/cdn/{GSQAL2KY.js → F2YS2KUB.js} +2 -2
- package/dist/cdn/{VEPIEGAH.js → F4OUREFO.js} +2 -2
- package/dist/cdn/{BOD65ZU4.js → F5A3JXRF.js} +2 -2
- package/dist/cdn/{X67KLNQ2.js → FBYRFPWQ.js} +1 -1
- package/dist/cdn/{MLNYLKNC.js → FCGCC64A.js} +1 -1
- package/dist/cdn/{C5K2J7H4.js → FI7JBBNV.js} +2 -2
- package/dist/cdn/{7DTXJNDH.js → FMKTLZLW.js} +2 -2
- package/dist/cdn/{IAJEOYDY.js → FNC6JCNV.js} +2 -2
- package/dist/cdn/{H47GJ6H5.js → FWHLFA72.js} +2 -2
- package/dist/cdn/{VXBW6YBU.js → FXD5UJQZ.js} +2 -2
- package/dist/cdn/{H6BFVMYO.js → GGASZ5GX.js} +2 -2
- package/dist/cdn/{ZYM7TYLE.js → GH4AB7FC.js} +2 -2
- package/dist/cdn/{PQ4JMMPZ.js → GJ7VFIAL.js} +2 -2
- package/dist/cdn/{BNKH37TY.js → GK64B4Y5.js} +1 -1
- package/dist/cdn/{YD7TNP2F.js → GKUP7YBW.js} +2 -2
- package/dist/cdn/{VC3IFEV6.js → GPWOBF4O.js} +2 -2
- package/dist/cdn/{O3RRQFC7.js → GQZJXEOJ.js} +2 -2
- package/dist/cdn/{2CXGIE2Y.js → GUAZDGXF.js} +2 -2
- package/dist/cdn/{REX5WEEL.js → GXE3T5ME.js} +2 -2
- package/dist/cdn/GYB5EHKN.js +4 -0
- package/dist/cdn/{UOKEIQSK.js → H3LTFVD3.js} +2 -2
- package/dist/cdn/{VH4KD2UB.js → H5NYMCNF.js} +1 -1
- package/dist/cdn/{RJ3KA2QH.js → H7KRIZYY.js} +2 -2
- package/dist/cdn/{M7AKF2FM.js → HCQWDC5Y.js} +2 -2
- package/dist/cdn/{TPKKNJPF.js → HDN3HX4F.js} +4 -4
- package/dist/cdn/{65PMG2PU.js → HE52H5T7.js} +2 -2
- package/dist/cdn/{B3A3AMPV.js → HR52TSAG.js} +2 -2
- package/dist/cdn/{KF2RPBWH.js → HS44A7DV.js} +2 -2
- package/dist/cdn/{XHSVY2EB.js → I223WFEJ.js} +2 -2
- package/dist/cdn/{N3FYHZ2M.js → I3FMSIRV.js} +2 -2
- package/dist/cdn/{6MQ5O5LY.js → I42ZIETY.js} +2 -2
- package/dist/cdn/{2PFHWIEU.js → I7DZRYJ4.js} +2 -2
- package/dist/cdn/{4IS37ZST.js → INYQWKVM.js} +2 -2
- package/dist/cdn/{RP24U6QA.js → IOQRMBVE.js} +2 -2
- package/dist/cdn/{QFECG4JS.js → IRYLEP5E.js} +2 -2
- package/dist/cdn/{WCOVLACF.js → ISHMKYCT.js} +2 -2
- package/dist/cdn/{K7TEZ7PM.js → IWMOD5XS.js} +1 -1
- package/dist/cdn/{UKW2PIRS.js → J646NFBU.js} +2 -2
- package/dist/cdn/{274YYYMS.js → JHMQASWG.js} +2 -2
- package/dist/cdn/{V6ZZBJ75.js → JJUGJ2NQ.js} +2 -2
- package/dist/cdn/{DVVDE2AV.js → JLQQYQLO.js} +1 -1
- package/dist/cdn/{FWKD6EYP.js → JQ3EXPCH.js} +2 -2
- package/dist/cdn/{QF52CHR2.js → JSZS4YMI.js} +2 -2
- package/dist/cdn/{6MV7IVTY.js → JVSLJLHC.js} +3 -3
- package/dist/cdn/{CILM6ZZK.js → JZSLUW6H.js} +1 -1
- package/dist/cdn/{WXYWYY3L.js → KM37RWWT.js} +1 -1
- package/dist/cdn/{AJP3NB7X.js → KNYCOY2Y.js} +2 -2
- package/dist/cdn/{MHCFCKU5.js → KPRXODCN.js} +1 -1
- package/dist/cdn/KTQP6SYQ.js +4 -0
- package/dist/cdn/KWW7BGHU.js +18 -0
- package/dist/cdn/{JSD4D4IU.js → L3GNYUZS.js} +2 -2
- package/dist/cdn/{PTID7RWS.js → L7ILT6B2.js} +2 -2
- package/dist/cdn/{WUXC3NVU.js → L7UWX4OU.js} +1 -1
- package/dist/cdn/{JBOSZIGQ.js → LE3S7LTK.js} +2 -2
- package/dist/cdn/{D5LXSOBF.js → LES5OEWI.js} +2 -2
- package/dist/cdn/{TH36Z3EQ.js → LKVPVDSP.js} +2 -2
- package/dist/cdn/{7XO35MKM.js → LNKNTWPS.js} +2 -2
- package/dist/cdn/{TYZZAW7E.js → LOKBQU54.js} +2 -2
- package/dist/cdn/{GAEUS47T.js → LOXXCK32.js} +2 -2
- package/dist/cdn/LUUUOSAV.js +4 -0
- package/dist/cdn/{UPQTLWZA.js → M3AWJV2X.js} +2 -2
- package/dist/cdn/{5TICPJ6T.js → MCNJCP36.js} +1 -1
- package/dist/cdn/{X6YB4RRP.js → MEXVBPZO.js} +2 -2
- package/dist/cdn/{22VDIWCV.js → MIGXPLDO.js} +2 -2
- package/dist/cdn/{UR3FAOLQ.js → MIIAMCI3.js} +2 -2
- package/dist/cdn/{XHNIG4LQ.js → ML4HH2XO.js} +2 -2
- package/dist/cdn/{KKBRAZNY.js → N2LVCOS2.js} +2 -2
- package/dist/cdn/{V6CU25IV.js → N4N2PUAH.js} +2 -2
- package/dist/cdn/{XWSLSQGX.js → NBZYGS2Y.js} +2 -2
- package/dist/cdn/{2NUECUOL.js → ND56OQM6.js} +2 -2
- package/dist/cdn/{XQJLGH6W.js → ND5MBWWM.js} +2 -2
- package/dist/cdn/{5UJ4IPXJ.js → NEDXNA46.js} +2 -2
- package/dist/cdn/{6DNHQQ3A.js → NKC3NX4V.js} +2 -2
- package/dist/cdn/{4JCBZIU7.js → NL35B74B.js} +2 -2
- package/dist/cdn/{SHEOGGDB.js → NLQHFP2V.js} +2 -2
- package/dist/cdn/NOEB4RRW.js +18 -0
- package/dist/cdn/NUITK3CM.js +4 -0
- package/dist/cdn/{NW4UWDEC.js → NZZDCUMO.js} +2 -2
- package/dist/cdn/{OZAZROXV.js → O4P2M4CZ.js} +2 -2
- package/dist/cdn/{S3YNSR6B.js → ODI4ESEW.js} +1 -1
- package/dist/cdn/{QZITIAU7.js → OEPIVYUB.js} +2 -2
- package/dist/cdn/{DBXTXE2N.js → ONVDNXC7.js} +1 -1
- package/dist/cdn/{UY2NUYYG.js → ORUFW7OP.js} +2 -2
- package/dist/cdn/{PWFNEOMW.js → OTWYBSQC.js} +2 -2
- package/dist/cdn/{Y34X2BEZ.js → OXLLAXGS.js} +2 -2
- package/dist/cdn/{PY2SRIID.js → PEHYETIA.js} +2 -2
- package/dist/cdn/{ERWALFVE.js → PEJJRGU6.js} +2 -2
- package/dist/cdn/{QHKUHSB4.js → PHNTRSWP.js} +2 -2
- package/dist/cdn/{ZQMYQNUW.js → PLXLQ3CQ.js} +2 -2
- package/dist/cdn/PQ3QQ2DX.js +18 -0
- package/dist/cdn/{7F5VKLCK.js → PTQDMYK2.js} +1 -1
- package/dist/cdn/{6QYNVEGC.js → PWYGDLAO.js} +2 -2
- package/dist/cdn/{377IXJY2.js → PXVQ4MS7.js} +1 -1
- package/dist/cdn/{2T3B74OY.js → PZXL5JWK.js} +2 -2
- package/dist/cdn/{N5IMLUEJ.js → Q4XPLYRK.js} +2 -2
- package/dist/cdn/{W4BK25RV.js → QDCFIPUZ.js} +2 -2
- package/dist/cdn/{7DGHICZE.js → QMUCWJBP.js} +2 -2
- package/dist/cdn/{A72736JC.js → QW5IVKR3.js} +2 -2
- package/dist/cdn/{6PO4KLK2.js → RAWSWD7G.js} +1 -1
- package/dist/cdn/{FVBTKN3N.js → RC3Q3RXK.js} +1 -1
- package/dist/cdn/{6JQDE67P.js → REYE7QSP.js} +2 -2
- package/dist/cdn/{MJUSVFEE.js → RFO7GXOU.js} +1 -1
- package/dist/cdn/RJTFNQCX.js +4 -0
- package/dist/cdn/{IJOSG4N5.js → RKVT7IG3.js} +1 -1
- package/dist/cdn/{YSBCE6IL.js → RLKPDTX4.js} +1 -1
- package/dist/cdn/{OBFREFMC.js → RNAXM3HG.js} +2 -2
- package/dist/cdn/{TQ6RZ33F.js → RNCHLAHC.js} +1 -1
- package/dist/cdn/{M3QOKP23.js → RTUHEWZ2.js} +2 -2
- package/dist/cdn/{4EDMGBIS.js → RYDUEVW4.js} +2 -2
- package/dist/cdn/{NMMFRIU6.js → SCAFPUFM.js} +2 -2
- package/dist/cdn/{PSNN2F3O.js → SEDBVNWJ.js} +2 -2
- package/dist/cdn/{MYTDLSKW.js → SHWVKFYE.js} +2 -2
- package/dist/cdn/{RRKAGWN6.js → SJT6JTUS.js} +2 -2
- package/dist/cdn/{QV7PB2KD.js → SLMYC2BZ.js} +2 -2
- package/dist/cdn/{LPFHKDLD.js → SOI2KF4J.js} +1 -1
- package/dist/cdn/{QQSAJPIY.js → SOSQZMAV.js} +2 -2
- package/dist/cdn/{JTGDHH2G.js → SQW3C6SV.js} +2 -2
- package/dist/cdn/{7FEZLKY7.js → STLC6O54.js} +2 -2
- package/dist/cdn/{GWKZIPJH.js → SUG4ZWOX.js} +2 -2
- package/dist/cdn/{ZUQWIUGY.js → SVHKJM4Z.js} +2 -2
- package/dist/cdn/{D2SRSVHL.js → T4G7UDTD.js} +2 -2
- package/dist/cdn/{4NASOTXM.js → TAMNRSJC.js} +1 -1
- package/dist/cdn/{6MUGOANO.js → TBF3A2JM.js} +2 -2
- package/dist/cdn/{HN5MMXWZ.js → TNT7W35H.js} +2 -2
- package/dist/cdn/{E4EIYPLL.js → TQDMQEZW.js} +2 -2
- package/dist/cdn/{B7UAO4LR.js → TQZKMCLT.js} +2 -2
- package/dist/cdn/{2DKM6FJB.js → TTJCLLYP.js} +2 -2
- package/dist/cdn/{KWKZT7B5.js → TWFPTVX7.js} +2 -2
- package/dist/cdn/{ZSBHYTRL.js → TZ6WSXOI.js} +2 -2
- package/dist/cdn/{4QPHTDMN.js → U6BMGUYM.js} +2 -2
- package/dist/cdn/{CXKUQGUM.js → UBJU2THW.js} +2 -2
- package/dist/cdn/{3Q3S4KCD.js → UDYGXKHM.js} +2 -2
- package/dist/cdn/{2J67PINK.js → ULFGT4R7.js} +2 -2
- package/dist/cdn/{I62RYEPM.js → UPKWDR5L.js} +2 -2
- package/dist/cdn/{OGJBWQ2A.js → UPNQ6TPG.js} +2 -2
- package/dist/cdn/{F2HTXL46.js → UQSOC5MG.js} +2 -2
- package/dist/cdn/{DI4XSN3O.js → UTVZOV34.js} +2 -2
- package/dist/cdn/{FSX5ISCK.js → V23K3N7V.js} +2 -2
- package/dist/cdn/{3IRDRDFA.js → V44QI423.js} +2 -2
- package/dist/cdn/{LBK2B2KM.js → V4RAUR7Y.js} +2 -2
- package/dist/cdn/{T6H5UYKM.js → VED422NC.js} +2 -2
- package/dist/cdn/{P3SBMKK7.js → VGHIMU7N.js} +2 -2
- package/dist/cdn/{MVV4NNJ5.js → VHUYPEZN.js} +2 -2
- package/dist/cdn/{VHMJSA7X.js → VSIFE3SH.js} +2 -2
- package/dist/cdn/{BAKMXZ7G.js → VTIGVKIS.js} +2 -2
- package/dist/cdn/{LGQFUJLP.js → VU7QI6OD.js} +2 -2
- package/dist/cdn/{YINO6TQT.js → VZ726QB2.js} +2 -2
- package/dist/cdn/{OKEZMB6G.js → W3NB425M.js} +2 -2
- package/dist/cdn/{NLV4FZCC.js → W4RLT3O3.js} +2 -2
- package/dist/cdn/{ZOP3G47D.js → W6NQLDGV.js} +2 -2
- package/dist/cdn/WAEKIWCS.js +4 -0
- package/dist/cdn/{YDQYV74W.js → WFISTQRC.js} +2 -2
- package/dist/cdn/{YUKV3NWK.js → WGZW544H.js} +2 -2
- package/dist/cdn/{UPA7CZWG.js → WHS25D4U.js} +2 -2
- package/dist/cdn/{T67LMZC2.js → WLFEE6M6.js} +2 -2
- package/dist/cdn/WMXABBDN.js +4 -0
- package/dist/cdn/{HEG6SMKM.js → WTKAMWU5.js} +2 -2
- package/dist/cdn/{FIBRPI6R.js → WUT2ZZ3H.js} +2 -2
- package/dist/cdn/XSFAEVZR.js +4 -0
- package/dist/cdn/{PN3T6KFP.js → XXZWFBWQ.js} +2 -2
- package/dist/cdn/{ENBESLVD.js → XZJE3HMV.js} +1 -1
- package/dist/cdn/{HS6GUC22.js → Y43ESBMM.js} +2 -2
- package/dist/cdn/{MU7TM2F2.js → Y6PI7UZQ.js} +1 -1
- package/dist/cdn/{MK7REF7S.js → YCPBEFQ6.js} +1 -1
- package/dist/cdn/{GOSNXA6P.js → YGV3NAYM.js} +2 -2
- package/dist/cdn/{OSZACI45.js → YN2RPACQ.js} +2 -2
- package/dist/cdn/{XBAMLJBK.js → YPJNVXLV.js} +2 -2
- package/dist/cdn/{YIKSDDBF.js → YXJHWCOM.js} +2 -2
- package/dist/cdn/{7J7JEO5J.js → YY6IVALJ.js} +2 -2
- package/dist/cdn/{4OT4W6QT.js → YZSSPKU4.js} +2 -2
- package/dist/cdn/{KAVI5FEZ.js → Z2JYQSV7.js} +1 -1
- package/dist/cdn/{FSKJTN3T.js → Z4L3MA4P.js} +2 -2
- package/dist/cdn/ZD3B5CQI.js +18 -0
- package/dist/cdn/{JVLS6G3W.js → ZGCTEB2Y.js} +2 -2
- package/dist/cdn/{Z6TNCHWU.js → ZJJOMQAI.js} +2 -2
- package/dist/cdn/{FOWQMKU2.js → ZKWRIM7W.js} +2 -2
- package/dist/cdn/{XT7PFAWR.js → ZLGDVCWF.js} +2 -2
- package/dist/cdn/{ZWICHMUP.js → ZQQTCO2U.js} +2 -2
- package/dist/cdn/{2TJPUN6O.js → ZRX5NPWE.js} +2 -2
- package/dist/cdn/{W3TTJTGV.js → ZSXYETQI.js} +2 -2
- package/dist/cdn/{QN7LS2QQ.js → ZXOCAHX5.js} +2 -2
- package/dist/cdn/{OGBEUJ35.js → ZYS5MFJN.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-configure-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +24 -23
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +8 -7
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +2 -2
- package/dist/components/crowdsource-reporter/customElement.js +61 -49
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +12 -12
- 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 +30 -25
- package/dist/components/map-card/customElement.js +31 -30
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.d.ts +9 -0
- package/dist/components/solution-configure-dialog/customElement.js +45 -17
- package/dist/components/solution-configure-dialog/index.d.ts +7 -1
- package/dist/components/solution-configure-dialog/index.js +7 -1
- package/dist/components/solution-configure-titles/customElement.d.ts +10 -0
- package/dist/components/solution-configure-titles/customElement.js +49 -16
- package/dist/components/solution-configure-titles/index.d.ts +5 -1
- package/dist/components/solution-configure-titles/index.js +5 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-items-diagram/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +10 -10
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +109 -3
- package/dist/docs/docs.json +105 -5
- package/dist/docs/vscode.html-custom-data.json +14 -2
- package/dist/docs/web-types.json +45 -5
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/dist/utils/interfaces.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cdn/BJUDP4CV.js +0 -4
- package/dist/cdn/CKVKWVOH.js +0 -18
- package/dist/cdn/H5JSQR72.js +0 -18
- package/dist/cdn/KG63GRNH.js +0 -4
- package/dist/cdn/LBJBSIYL.js +0 -4
- package/dist/cdn/M3VFFWM2.js +0 -4
- package/dist/cdn/M5U5CJTL.js +0 -4
- package/dist/cdn/NQWWH65Q.js +0 -4
- package/dist/cdn/OVMH6ABW.js +0 -18
- package/dist/cdn/PQFKVNAR.js +0 -4
- package/dist/cdn/VM6LPXEK.js +0 -4
- package/dist/cdn/X2U56JE5.js +0 -18
- package/dist/cdn/XXYS5XVH.js +0 -18
- package/dist/cdn/YLIEQBKF.js +0 -4
- package/dist/cdn/Z7OOU2TV.js +0 -4
@@ -0,0 +1,18 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import"./FCGCC64A.js";import{b as A}from"./HDN3HX4F.js";import"./AFZHAYZU.js";import"./IRYLEP5E.js";import"./6SAVY66F.js";import"./ZSXYETQI.js";import"./ML4HH2XO.js";import"./44HGIWYU.js";import"./Z2JYQSV7.js";import"./GK64B4Y5.js";import"./YCPBEFQ6.js";import"./SLMYC2BZ.js";import"./2VYLMG7R.js";import"./BCBHVM7D.js";import"./RKVT7IG3.js";import"./D2UQQP3J.js";import"./FNC6JCNV.js";import"./WLFEE6M6.js";import"./C6VO4ZTH.js";import"./H5NYMCNF.js";import"./ODI4ESEW.js";import"./ONVDNXC7.js";import{a as C}from"./JQ3EXPCH.js";import"./GGASZ5GX.js";import{c as F,d as O,j as y}from"./DGX3VNBF.js";import{j as b}from"./WMXABBDN.js";import{c as S}from"./L7UWX4OU.js";import{a as u,b as g}from"./UDYGXKHM.js";import{b as x}from"./4EDJBRS2.js";import{a as E}from"./UBJU2THW.js";import{D as T,c as w,d as o,f as c,n as p,p as I,y as v,z as f}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var H=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}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}}`,m=class extends v{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.featureSelectionMode="multiple",this.selectedRelatedIds=[],this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=E({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._enabledLayerIds=[],this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=u(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._shareNode=u(),this._toolbar=u(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this._searchNode=u(),this.featureSelectionChange=p(),this.toggleFilter=p(),this.showDelete=p(),this.relatedRecordToggled=p(),this.editMultipleFeatures=p(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"featuresSelected",this.featuresSelected),this.listenOn(window,"createWorkFlowStarted",this.createWorkFlowStarted),this.listenOn(window,"backFromCreateWorkFlow",this.backFromCreateWorkFlow),C(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,featureSelectionMode:1,selectedRelatedIds:0,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,showOnlyUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,_allIds:16,_csvExporting:16,_fetchingData:16,_filterActive:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=H}static{this.shadowRootOptions=I}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("selectedRelatedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedRelatedIds"))!==JSON.stringify(this.selectedRelatedIds))&&this.selectedRelatedIdsWatchHandler(),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}}async appLayoutWatchHandler(){await this._initToolInfos(),this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}async enableCSVWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}async mapHiddenWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}async isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&await this._initToolInfos()}async mapInfoWatchHandler(){this._enabledLayerIds=this.mapInfo?.layerOptions?.layers.map(e=>e.id)||[],this._table&&(this._resetColumnTemplates(),this._sortTable())}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this._creatingFeature||this._mapClicked(e)}))}async _layerWatchHandler(){this._fetchingData=!0,await this._layer?.when(async()=>{this._definitionExpression=this._layer?.definitionExpression||"",this._floorField=this._layer?.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this._updateShareUrl(),this._fetchingData=!1})}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0])),this.selectedIds.length===0&&setTimeout(()=>{this.featureSelectionChange.emit(this.selectedIds)},700)}async selectedRelatedIdsWatchHandler(){this._validateEnabledActions(),this.selectedRelatedIds.length>0&&(this._relatedFeatureTable?.rowHighlightIds.removeAll(),this._relatedFeatureTable?.rowHighlightIds.add(this.selectedRelatedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(e,t){await this._handleFilterUpdate(e),t?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):t===!1&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle?.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(e){this._shouldUpdateTableOnExtentChange=e}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}async beforeMapInfoChange(e){let t=e.detail.ref,i=e.detail.mapInfo;if(this._hasPendingEdits()){e.preventDefault();let s=await this._validateActiveEdits([],this.selectedIds);await t.setMapByID(s?i.id:e.detail.currentId,!s)}}async editorInitialized(e){this._shouldUpdateTableOnExtentChange=!1,this._editor=e.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(e){let t=e.detail.selectedFeature[0],i=Number(t.getObjectId()),s=this._table;if(s.rowHighlightIds.length&&s.rowHighlightIds.removeAll(),s.rowHighlightIds.add(i),this._highlightFeatures(i),this.zoomAndScrollToSelected&&s&&this.mapView){let a=s.viewModel.getObjectIdIndex(i);s.scrollToIndex(a);let l=t.layer,h=this.mapView.allLayerViews.toArray(),r;h.some(async n=>n.layer.title===l?.title&&n.layer.type==="feature"?(r=n,this.mapView&&await y([i],r,this.mapView,!0,void 0,this.zoomToScale),!0):!1)}}async beforeLayerSelectionChange(e){if(this._hasPendingEdits()){e.preventDefault();let t=e.detail.ref,i=await this._validateActiveEdits([],this.selectedIds);return e.detail.selectedIds?await t.setLayerByIds(i?e.detail.newIds:e.detail.currentIds,!0):await t.setLayerById(i?e.detail.newId:e.detail.currentId,!0)}}async layerSelectionChange(e){await this._layerSelectionChanged(e)}async editsComplete(e){let t=e.detail;(t==="delete"||t==="add")&&(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(e){this._floorFacility=e.detail,this._updateFloorDefinitionExpression()}async levelChanged(e){this._floorLevel=e.detail,this._updateFloorDefinitionExpression()}async siteChanged(e){this._floorSite=e.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async mapChanged(){this._queryingData=!1,this._creatingFeature=!1,this._clearSelection()}async featuresSelected(e){e.detail.forEach(t=>{let i=this._table?.highlightIds.indexOf(t);i&&i<0&&this._table?.highlightIds.add(t)})}createWorkFlowStarted(){this._creatingFeature=!0}backFromCreateWorkFlow(){this._creatingFeature=!1}async load(){await this._initModules(),await this._initToolInfos()}render(){let e=this._fetchingData?"display-none":"",t=this._fetchingData?"":"display-none",i=this._queryingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",h=this._canShowFullTextSearch();return this._validateActiveActions(),o`<div><calcite-scrim class=${f(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile&&o`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${h&&o`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${r=>void this._searchTextChanged(r)} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??c} type=search ${g(this._searchNode)}></calcite-input></div>`||""}<calcite-loader class=${f(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${f(e)} ${g(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:o`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell></div>`}async _initModules(){let[e,t,i,s]=await x(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate","esri/rest/support/RelationshipQuery"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i,this.RelationshipQuery=s}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t&&t.includes(this._searchExpression)?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{field_names}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return o`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??c}><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div>`}_getActionsEnd(e){let t=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer,i=this._relatedFeatureTable||this._table;return o`<div class="display-flex" slot=${e??c}><field-selection .layer=${t} .mapView=${this.mapView} .table=${i}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return o`<div class=${"height-51-px width-full display-flex"} slot=${e??c} ${g(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return o`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??c} layout=horizontal><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading,t.toolTip)),e),[])}_validateEnabledActions(){let e=this._getSelectedIds().length,t=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(i=>{i&&t.indexOf(i.icon)>-1&&(i.disabled=i.icon==="pencil"?e<2||e>b:e<1,i.toolTip=i.icon==="pencil"?e>b?this._translations.featureEditLimitNotice:this._translations.editMultiple:i.toolTip)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}async _initToolInfos(){let e=this._getSelectedIds().length>0,t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable,i=this.featureSelectionMode==="multiple"&&this._layer?.capabilities?.operations.supportsUpdate,s=this._getSelectedIds().length<2||this._getSelectedIds().length>b,a=!this.mapHidden&&!t,l=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),h=this._featuresEmpty(),r=this.featureSelectionMode==="single",n=this.enableCSV;if(this._relatedFeatureTable){let _=await this._queryRelatedFeatures();n=_&&Object.keys(_).length>0}let d=[];l&&d.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.toggleFilter.emit(),disabled:!1,toolTip:this._translations.filters}),a&&d.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e,toolTip:this._translations.zoom}),i&&d.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this._getSelectedIds()),disabled:s,toolTip:this._translations.editMultiple}),this._deleteEnabled&&d.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0,toolTip:this._translations.delete}),d.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e,toolTip:this._translations.clearSelection}),this._relatedFeatureTable||d.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e,toolTip:this._showOnlySelected?this._translations.showAll:this._translations.showSelected}),!r&&!this._relatedFeatureTable&&d.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:h,toolTip:this._translations.selectAll}),!r&&!this._relatedFeatureTable&&d.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:h,toolTip:this._translations.switchSelected}),d.push({active:!1,icon:"refresh",indicator:!1,func:()=>void this._refresh(),label:this._translations.refresh,disabled:!1,toolTip:this._translations.refresh}),n&&d.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:h,toolTip:this._translations.exportCSV}),this._toolInfos=[...d]}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresEmpty(){return this._allIds?.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,l,h,r){let n=this._layer===void 0?!0:l;return o`<calcite-action .active=${e} appearance=solid .disabled=${n} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${h} @click=${a} text text-enabled><div class="display-flex"><span class="label-override padding-start-1-4">${s}</span></div></calcite-action>${this._getToolTip("auto",`layer-table-${t}`,r)}`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return this.mapView&&o`<div id=${this._getId(e)??c}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${g(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`||""}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return o`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return o`<div class="display-flex" id=${this._getId(e)??c}>${o`<calcite-action appearance=solid .disabled=${a} .id=${`layer-table-${e}`} @click=${i} text><calcite-icon class="danger-icon-color" .icon=${e} scale=s></calcite-icon><span class="label-override padding-start-1-4 danger-label-color">${t}</span></calcite-action>`}${this._getToolTip("bottom",`layer-table-${e}`,t)}</div>`}_getIds(){let e=this._relatedFeatureTable??this._table;return this._relatedFeatureTable&&this._table&&this._table.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(e=this._table),e?.highlightIds.map(t=>Number.parseInt(t.toString(),10)).toArray()??[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=this.FeatureTable&&new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,relatedRecordsEnabled:!0,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!1,multiSortEnabled:!1,attachmentsEnabled:this.hasAttachmentsEnabled(this._layer),visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this.reactiveUtils&&this._table?.viewModel.addHandles(this.reactiveUtils.watch(()=>this._table.size,i=>{this._size=i})),this.reactiveUtils?.watch(()=>this._table?.relatedTable,async i=>{if(i){if(i.rowHighlightIds.length){let a={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(a)}let s=i.layer;if(this._checkEditEnabled(s),i.editingEnabled=this._editEnabled&&this.enableInlineEdit,i.attachmentsEnabled=this.hasAttachmentsEnabled(s),i.relatedRecordsEnabled=!0,this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let a=i.layer.popupTemplate?.fieldInfos,l=this._getColumnTemplates(i.layer.id,i.layer.fields,a);this._relatedFeatureTable.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:l})}i.highlightIds.on("change",a=>{this._handleOnChange(a)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0;let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}hasAttachmentsEnabled(e){if(!e?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:i}}}=e;return t&&i}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()],i=this._getSelectedLayer(t);this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(i=this._layer,await this._initToolInfos()),i&&this.relatedRecordToggled.emit(i),this.featureSelectionMode==="single"&&(this._relatedFeatureTable&&t.length>1?(this._relatedFeatureTable.highlightIds.remove(t[0]),t.shift()):t.length>1&&!this._selectAllActive&&(this._table?.highlightIds.remove(t[0]),t.shift())),!this._relatedFeatureTable||this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]?(this.selectedRelatedIds=[],this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._highlightFeatures(this.selectedIds[0])):this.selectedRelatedIds=t.reverse(),this._finishOnChange()}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}if(s){let a=this._relatedFeatureTable&&this._relatedFeatureTable.highlightIds.length>0?this._relatedFeatureTable:this._table;i=!1,this._skipEditCheck=!0,e.length>0?a?.highlightIds.removeMany(e):t.length>0&&a?.highlightIds.addMany(t)}}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&!this._relatedFeatureTable&&(this._table&&this._getSelectedIds().length>0?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected());let e=this._getSelectedIds();setTimeout(()=>{this.featureSelectionChange.emit(e)},50)}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this.selectedIds.length>0&&this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);t?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some((a,l)=>i&&i[l]?JSON.stringify(i[l])!==JSON.stringify(a):!1);if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:t});let a=t.map(l=>l.fieldName);this._initColumnsInfo(a)}}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);this._tableNode&&await this._getTable(this._tableNode,t)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(this._layer),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._table.attachmentsEnabled=this.hasAttachmentsEnabled(this._layer),this._table.relatedRecordsEnabled=!0,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await this.reactiveUtils?.once(()=>this._table?.state==="loaded").then(async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table?.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),await this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)})}catch(e){console.log(e)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await S(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(e){this._editEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(l=>l.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange&&this.appLayout==="splitView"){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._allIds=await this.queryAllIds()}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);if(i&&i.results.length>0){let s=i.results;if(this.featureSelectionMode==="single"){this._table?.highlightIds.removeAll();let a=s[0].graphic.getObjectId();if(a){let l=this._table?.highlightIds.indexOf(a);l!==void 0&&l<0&&this._table?.highlightIds.add(a)}}else s.forEach(a=>{let l=Number(a.graphic.getObjectId()),h=this._table?.highlightIds.indexOf(l);h&&h<0&&l&&this._table?.highlightIds.add(l)});this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)}else await this.clearSelection()}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this._relatedFeatureTable||(this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll()),this._relatedFeatureTable&&(this._relatedFeatureTable?.highlightIds.removeAll(),this.selectedRelatedIds=[]),this._finishOnChange()}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer;if(!e)return;let t={},i=this._getIds();if(this._relatedFeatureTable?.tableParent&&this._relatedFeatureTable.rowHighlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let h=await this._queryRelatedFeatures(),r=[];h&&h[l]?.features&&(h[l].features.forEach(n=>{n.attributes&&r.push(n.attributes[e.objectIdField])}),i=r.length>0?r:[])}}t[e.id]={selectionSetNames:[e.title||""],ids:i,layer:e};let s=this._relatedFeatureTable??this._table;if(!s)return;let a=s&&s.columns.toArray().reduce((l,h)=>{if(!h.hidden){let r=h?.name||h?.fieldName;r&&l.push(r.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await A(this.mapView.map,t,!1,!1,!0,a,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}async _queryRelatedFeatures(){let e=this._relatedFeatureTable?this._relatedFeatureTable?this._relatedFeatureTable.layer:this._relatedFeatureTable.tableParent?.layer:this._layer,t=this._relatedFeatureTable?.tableParent?.highlightIds?.items[0],i=this._relatedFeatureTable?.tableParent?.layer,s=e?.relationships?.find(l=>i.relationships?.some(h=>h.id===l.id)),a=this.RelationshipQuery&&new this.RelationshipQuery({objectIds:[t],outFields:["*"],relationshipId:s?.id});return t&&a&&await i.queryRelatedFeatures(a).catch(async l=>{console.error(l)})}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(){if(await this._validateActiveEdits([],this.selectedIds)){this._table&&await this._table.refresh(),this._relatedFeatureTable&&await this._relatedFeatureTable.refresh(),this._allIds=await this.queryAllIds();let e=this._getSelectedLayer(this.selectedRelatedIds);e&&this.relatedRecordToggled.emit(e);let t=this._getSelectedIds();this.featureSelectionChange.emit(t)}}_getSelectedIds(){let e;return this._relatedFeatureTable?this.selectedRelatedIds.length>0?e=this.selectedRelatedIds:e=this._relatedFeatureTable.tableParent?.highlightIds.toArray()??[]:e=this.selectedIds,e}_getSelectedLayer(e){let t;return this._relatedFeatureTable?e.length>0?t=this._relatedFeatureTable.layer:t=this._relatedFeatureTable.tableParent?.layer:t=this._layer,t}async _clearSearchText(){if(this._searchNode.value){this._searchNode.value.value="";let e={target:{value:""}};await this._searchTextChanged(e)}}async _zoom(){this._layer&&this.mapView&&await y(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0,await this._clearSearchText();let i=this.mapView&&await O(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await F(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,await this._initToolInfos(),this._getFullTextSearchInfo()})}this._creatingFeature=!1,this._fetchingData=!1}_getColumnTemplates(e,t,i){let s;this.mapInfo?.layerOptions?.layers.some(n=>n.id===e?(s=n,!0):!1);let a=this._layer?.attributeTableTemplate?.elements,l=[];a?.length>0&&this.honorMapFieldSettings&&(l=a.map(n=>n.fieldName));let h=s?.fields&&s?.fieldOrder?s.fieldOrder.filter(n=>s?.fields&&s.fields.indexOf(n)>-1):l.length>0?l:void 0,r;return t&&(r=t.reduce((n,d)=>{let _={type:"field",fieldName:d.name,label:this.getFieldLabel(d,i),menuConfig:this._getMenuConfig(d.name)};return s&&s.fields&&s?.fields?.length>0?s.fields.indexOf(d.name)>-1&&n.push(_):l.length>0?l.indexOf(d.name)>-1&&n.push(_):n.push(_),n},[])),r?h?r?.sort(this._sortFields.bind(this,h)):r:[]}getFieldLabel(e,t){let i=e.alias?e.alias:e.name;return t?.some(s=>s.fieldName===e.name?(i=s.label,!0):!1),i||e.name}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};T("layer-table",m);export{m as LayerTable};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{a,b}from"./5JQOX6HV.js";import"./OEPIVYUB.js";import"./KPRXODCN.js";import"./UQSOC5MG.js";import"./XZJE3HMV.js";import"./JLQQYQLO.js";import"./DKDDSSZO.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{e as l}from"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{e as l}from"./FMKTLZLW.js";import{a as o,f as r,z as c}from"./SOI2KF4J.js";import"./BAPCWA5D.js";import{a as p,c as t,d as g,e as d}from"./GGASZ5GX.js";import"./DKDDSSZO.js";var h=':host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}',u=h,a={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator"},m=class{constructor(n){p(this,n),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0,this.closeLandingPage=void 0,this.signInDropdownItems=void 0,this.ready=!1,this.isSignedIn=!1,this.user=void 0,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){l(this),await this.initSignIn()}render(){let n=this.ready?this.renderContent():null;return t(g,{key:"da0c1f1bb7efb0c0bd243612ab6212b61d6e9d2e"},n)}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return t("div",{class:a.base},this.isSignedIn?this.renderSignInDropdown():this.renderSignInButton())}renderSignInDropdown(){let n=this.type==="navigation"?"m":"s",i=this.showIndicator?a.indicator:"",s=this.user?.id??this.user?.sourceJSON?.id;return t("calcite-dropdown",{placement:"bottom-end",scale:n},this.type==="navigation"?t("calcite-navigation-user",{class:i,slot:"trigger",thumbnail:this.user?.thumbnailUrl??"","full-name":this.user?.fullName,username:this.user?.username,"user-id":s,textDisabled:!0}):t("button",{slot:"trigger"},t("calcite-avatar",{class:i,thumbnail:this.user?.thumbnailUrl??"","full-name":this.user?.fullName,username:this.user?.username,"user-id":s})),t("slot",{name:"sign-in-dropdown-top"}),t("calcite-dropdown-group",{"selection-mode":"none"},this.signInDropdownItems?.map(e=>t("calcite-dropdown-item",{onClick:e.onClick},e.label)),t("calcite-dropdown-item",{onClick:this.signOut.bind(this)},this.messages?.signOut)))}renderSignInButton(){let n=this.type==="navigation"?"transparent":"solid",i=this.type==="navigation"?a.SignInBtn:"";return t("calcite-button",{class:i,onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:n},this.messages?.signIn)}renderLandingPageSignIn(){return t("div",{class:a.buttonContainer},t("calcite-button",{class:a.entryButton,scale:"l",onClick:this.landingPageSignIn.bind(this)},this.messages?.signIn),t("calcite-button",{class:a.entryButton,scale:"l",appearance:"outline-fill",onClick:this.guestOnClick.bind(this)},this.messages?.continueAsGuest))}async initSignIn(){if(this.portal==null||this.oauthappid==null)return;let[n,i]=await Promise.all([o(),c()]);this.idManager=n,this.info=await r({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await i.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user))}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let n=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=n,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let n=new Date,i=2e3;localStorage.setItem("signing-in",n.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},i)}get el(){return d(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};m.style=u;export{m as instant_apps_sign_in};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as s}from"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{a as s}from"./RC3Q3RXK.js";import{a as r}from"./HR52TSAG.js";import"./2VYLMG7R.js";import"./BCBHVM7D.js";import"./RKVT7IG3.js";import"./D2UQQP3J.js";import{a as o}from"./EI7IFIR5.js";import"./WLFEE6M6.js";import"./C6VO4ZTH.js";import"./ODI4ESEW.js";import"./DKDDSSZO.js";var y=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}},...r(e,t.thumbnail,s(t),"group",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}}]}]}]});export{y as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250618 */
|
4
4
|
var u=(i,r)=>r.split(".").reduce(function(e,n){let l=n.match(/\[(.*?)\]$/);if(l){let t=l[1],s=n.replace(l[0],"");if(parseInt(t,10)>-1){let a=parseInt(t,10);return Array.isArray(e[s])&&e[s][a]?e[s][a]:void 0}else return o(e[s],t)}else return e&&e[n]!==void 0?e[n]!==null&&e[n].$use?u(i,e[n].$use):e[n]:void 0},i);function o(i,r){let e=r.split("(");if(!e||e.length!==2)return;let n,l=e[0],t=e[1].replace(")","").split(",").map(s=>s.trim());switch(l){case"findBy":let s=t[0],a;d(t[1])?a=parseFloat(t[1]):a=t[1].replace(/'/g,""),n=i.find(f=>f[s]===a);break;default:n=void 0}return n}function d(i){return!isNaN(parseFloat(i))}export{u as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{b as e}from"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{b as e}from"./KPRXODCN.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250618 */
|
4
4
|
function o(e){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}export{o as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as D,b as w}from"./UPA7CZWG.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./P3SBMKK7.js";import"./7HNEFBST.js";import{a as _,b as L}from"./7DTXJNDH.js";import{C as S,D as y}from"./LPFHKDLD.js";import"./2JCMVX4M.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./H6BFVMYO.js";import"./UKVIZZJA.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",i={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(l=>l.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:i.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:i.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:i.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:i.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:i.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:i.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:i.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:i.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:i.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(l=>{let o=c.includes(l)?"partial":"full",p=_[o],{language:u,translated:h}=p[l],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${l}`,value:l},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],l=n===e-1?i.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:l,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:i.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:i.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:i.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),l=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(l),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let l=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(l,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{a as D,b as w}from"./WHS25D4U.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./VGHIMU7N.js";import"./AUFISDUF.js";import{a as _,b as L}from"./FMKTLZLW.js";import{C as S,D as y}from"./SOI2KF4J.js";import"./BAPCWA5D.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./GGASZ5GX.js";import"./DKDDSSZO.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",i={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(l=>l.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:i.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:i.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:i.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:i.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:i.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:i.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:i.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:i.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:i.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(l=>{let o=c.includes(l)?"partial":"full",p=_[o],{language:u,translated:h}=p[l],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${l}`,value:l},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],l=n===e-1?i.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:l,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:i.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:i.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:i.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),l=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(l),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let l=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(l,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a,b}from"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{a,b}from"./PHNTRSWP.js";import"./UQSOC5MG.js";import"./XZJE3HMV.js";import"./JLQQYQLO.js";import"./DKDDSSZO.js";export{a as PageEditorTypes,b as PageSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import"./DKDDSSZO.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l as buildUiSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as C}from"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{a as C}from"./JQ3EXPCH.js";import"./GGASZ5GX.js";import{d as I}from"./DGX3VNBF.js";import{a as s}from"./WMXABBDN.js";import"./L7UWX4OU.js";import{a as h,b as r}from"./UDYGXKHM.js";import{a as x}from"./UBJU2THW.js";import{A as v,D as L,c as g,d as l,f as w,n as b,p as y,y as $,z as m}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var F=g`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as i}from"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{a as i}from"./SLMYC2BZ.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{a as e}from"./UQSOC5MG.js";var s=["hub:page:edit","hub:page:create"],a=Object.assign(Object.assign({},e),{properties:Object.assign({},e.properties)});export{s as a,a as b};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as n}from"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{a as n}from"./UBJU2THW.js";import{D as r,c as s,d as t,p as i,y as o}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var a=s`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{d as w,e as L}from"./DGX3VNBF.js";import"./WMXABBDN.js";import"./L7UWX4OU.js";import{a as c,b as p}from"./UDYGXKHM.js";import{b as V}from"./4EDJBRS2.js";import{a as b}from"./UBJU2THW.js";import{D as v,c as y,d as l,n as h,p as f,y as M,z as m}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var E=y`@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}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.edit-location-btn{margin:5px;display:flex}.esri-editor__panel-content{padding-block:10px!important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`,u=class extends M{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel="",this.isMobile=!1,this.selectedLayerId="",this.showGuidingMsg=!0,this.submitNewReportsMessage="",this.updateMapPosition=!1,this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this.showSketchWidgets=!1,this.allowMultipleCreation=!1,this._currentPage="templatePicker",this._editorLoading=!1,this._inValidGeomtryDrawn=!1,this._translations=b({name:"create-feature",blocking:!0}),this._addingAttachment=!1,this._calciteNotice=c(),this._isSubmitBtnClicked=!1,this._mapViewContainer=c(),this._searchDiv=c(),this._guidingMessageRefNode=c(),this.success=h(),this.fail=h(),this.drawComplete=h(),this.editingLocation=h(),this.editingAttachment=h(),this.progressStatus=h(),this.modeChanged=h()}static{this.properties={customizeSubmit:5,enableSearch:5,enableSnapping:5,floorLevel:1,formElements:1,isMobile:5,mapView:0,searchConfiguration:0,selectedLayerId:1,showGuidingMsg:5,submitNewReportsMessage:1,updateMapPosition:5,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,showSketchWidgets:5,allowMultipleCreation:5,_currentPage:16,_editorLoading:16,_inValidGeomtryDrawn:16,_translations:16}}static{this.styles=E}static{this.shadowRootOptions=f}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("isMobile")&&this.hasUpdated&&this.isMobileHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){this.mapView&&await this.mapView.when(async()=>{await this.init()})}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(e){if(e){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){if(this._selectedLayer.templates&&this._editor){let t=this._selectedLayer.templates[0],i={layer:this._selectedLayer,template:t};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(i),await this.hideEditorsElements()}}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(e){this._editor&&(e?await this._setFloorLevel(e):this.reportingArea&&this.reportingAreaLayer&&this._currentPage!=="drawing"?await this.queryIntersectingFeatures():this._currentPage!=="drawing"&&(this._inValidGeomtryDrawn=!1,this.drawComplete.emit(this._inValidGeomtryDrawn)))}async showForm(){this.progressStatus.emit(100),this._container?.classList.remove("display-none"),this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._currentPage="featureForm"}async load(){await this.initModules()}async loaded(){await this.init()}async updated(){if(this.isMobile&&this.updateMapPosition){let e=this._currentPage==="drawing"?80:30,t=this.enableSearch?this._searchDiv.value?.offsetHeight:0;await this._calciteNotice.value?.componentOnReady();let i=(this._calciteNotice.value?.offsetHeight||0)+t+e;this._mapViewContainer.value&&(this._mapViewContainer.value.style.top=`${i}px`)}this.reportingAreaMessage&&this._guidingMessageRefNode.value?.children[0]&&(this._guidingMessageRefNode.value.children[0].style.margin="0px")}disconnectedCallback(){super.disconnectedCallback(),this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&this.mapView?.ui.view&&((this.mapView?.ui.view).grid=null))}render(){let e=this._currentPage==="drawing"||this._currentPage==="editing"?"":"display-none",t=this._editorLoading?"":"display-none",i=this._editorLoading?"display-none":"",s=this.isMobile&&this.updateMapPosition?"show-map":"display-none",a=this._inValidGeomtryDrawn?"danger":"success",r=this._inValidGeomtryDrawn?"exclamation-mark-triangle":"lightbulb",n=this.showGuidingMsg&&this._currentPage!=="templatePicker",d=this._translations.chooseCategoryMsg;return this._inValidGeomtryDrawn?d=this.reportingAreaMessage||this._translations.reportOutsideAreaMessage:this._currentPage==="drawing"||this._currentPage==="editing"?d=this._translations.provideLocationMsg:this._currentPage==="featureForm"&&(d=this._translations.provideDetailsMsg),l`${n&&l`<calcite-notice class="notice-msg" .icon=${r} .kind=${a} open ${p(this._calciteNotice)}><div slot=message .innerHTML=${d??""} ${p(this._guidingMessageRefNode)}></div></calcite-notice>`||""}<calcite-loader class=${m(t)} label scale=s></calcite-loader>${this._currentPage==="featureForm"&&this.isMobile&&l`<calcite-button appearance=transparent class="edit-location-btn" icon-start=pin @click=${this.editLocation}>${this._translations.editLocationLabel}</calcite-button>`||""}<div class=${m(i)} id=feature-form></div>${this.enableSearch&&l`<div class=${`search-widget ${e} ${i}`} id=search-widget-ref ${p(this._searchDiv)}></div>`||""}<div class=${m(s)} ${p(this._mapViewContainer)}></div>`}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile&&this.updateMapPosition?this.createMobileMapView():this._loadWidgets()))}async initModules(){let[e,t,i,s,a,r,n,d]=await V(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView","esri/widgets/Home"]);this.Editor=e,this.reactiveUtils=t,this.Search=i,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=r,this.MapView=n,this.Home=d}async createMobileMapView(){this._mapViewContainer.value&&this.MapView&&this.mapView&&(this._mapViewContainer.value.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer.value,zoom:this.mapView.zoom,center:this.mapView.center}).when(e=>{this._updatedMapView=e;let t=this.Home&&new this.Home({view:this._updatedMapView});t&&this._updatedMapView.ui.add(t,"top-left"),this._loadWidgets()},e=>{console.log(e)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();let e=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");let t=this._updatedMapView&&await L(this._updatedMapView),i=this.mapView&&await w(this.mapView,this.selectedLayerId);if(i&&(this._selectedLayer=i,!this._selectedLayer?.isTable&&t&&t.forEach(s=>{e.push({layer:s,enabled:s?.type==="feature"&&s?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this.Editor&&(this._editor=new this.Editor({view:this._updatedMapView,layerInfos:e,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:this.showSketchWidgets&&this._selectedLayer?.geometryType!=="point"},container:this._container}),this._mapViewContainer.value?this.el.insertBefore(this._container,this._mapViewContainer.value):this.el.appendChild(this._container),this._selectedLayer?.isTable&&(this._editorLoading=!0),this._editor)){let s=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="adding-attachment"||o==="editing-attachment"?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)});s&&this._editor.viewModel.addHandles(s);let a=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,o=>{o==="ready"&&this._editor?.viewModel?.activeWorkflow?.type!=="create-features"&&(this.progressStatus.emit(50),this._editorLoading=!0)});a&&this._editor.viewModel.addHandles(a);let r=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,o=>{o==="ready"&&this._editor?.viewModel.featureFormViewModel&&this._currentPage!=="editing"&&(this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))),setTimeout(()=>{this._setFloorLevel(this.floorLevel)},50),!this.allowMultipleCreation&&this._editor.activeWorkflow&&(this._editor.activeWorkflow.data.creationInfo.maxFeatures=1),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit(!1))});r&&this._editor.viewModel.addHandles(r);let n=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="creating-features"&&this._editor?.viewModel.featureFormViewModel&&this._editor.viewModel.featureFormViewModel.state==="disabled"&&(this._mapViewContainer.value?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))});n&&this._editor.viewModel.addHandles(n),this._editor.on("sketch-create",async o=>{o.detail.state==="complete"&&(this._drawnGeometry=o.detail.graphic.geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures())});let d;this._editor.on("sketch-update",o=>{clearTimeout(d),d=window.setTimeout(async()=>{this._drawnGeometry=o.detail.graphics[0].geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures()},50)})}}async queryIntersectingFeatures(){let e=this.mapView&&await w(this.mapView,this.reportingAreaLayer);if(e){let t=e.createQuery();t.geometry=this._drawnGeometry,t.spatialRelationship="intersects";let i=await e.queryFeatureCount(t)===0;this._inValidGeomtryDrawn=i,this.drawComplete.emit(this._inValidGeomtryDrawn)}}editLocation(){this.progressStatus.emit(75),this.editingLocation.emit(),this._container?.classList.add("display-none"),this._mapViewContainer.value?.classList.replace("hide-map","show-map"),this._currentPage="editing"}async startCreate(){return await this.hideEditorsElements(),new Promise((e,t)=>{if(this._editor?.viewModel.featureTemplatesViewModel.items?.length){let i=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.addHandles(this._editor.viewModel.featureTemplatesViewModel.on("select",()=>{this.progressStatus.emit(75),setTimeout(()=>{this.hideEditorsElements().then(()=>{e({})},a=>t(a))},700)})),i.length===1&&this._editor.viewModel.featureTemplatesViewModel.select(i[0]);let s=i.length>1;this.hideEditorsElements().then(()=>{s&&e({})},a=>s&&t(a))}})}async createSearchWidget(){if(this._updatedMapView&&this.Search){let e={view:this._updatedMapView};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(e),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let t;this._search.viewModel.addHandles(this._search.on("search-complete",s=>{this._updatedMapView?.goTo(s.results[0].results[0].extent),this._selectedLayer?.geometryType==="point"&&(t=s.results[0].results[0]?.feature.geometry)}));let i=this.reactiveUtils?.watch(()=>this._search?.viewModel.state,s=>{s==="ready"&&setTimeout(()=>{if(this._editor?.viewModel.sketchViewModel?.createGraphic&&t)this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",t),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements();else if(this._editor?.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel.updateGraphics.length>0&&t){let a=this._editor?.viewModel.sketchViewModel?.updateGraphics.getItemAt(0);a&&(a.set("geometry",t),this._editor?.viewModel.sketchViewModel?.update(a),this.hideEditorsElements())}},100)});i&&this._search.viewModel.addHandles(i)}}_getSearchConfig(e,t){let i="includeDefaultSources",s=e.sources;return s&&s?.length>0?(e[i]=!1,s.forEach(a=>{if(a.hasOwnProperty("layer")){let r=a,n=r.layer?.id,d=n?t.map?.findLayerById(n):"",o=r?.layer?.url;d?r.layer=d:o&&this.FeatureLayer&&(r.layer=new this.FeatureLayer(o))}}),s?.forEach(a=>{if(a.hasOwnProperty("locator")){let r=a;if(r?.name==="ArcGIS World Geocoding Service"){let n=r.outFields||["Addr_type","Match_addr","StAddr","City"];r.outFields=n,r.singleLineFieldName="SingleLine"}r.url=r.url,delete r.url}})):e={...e,includeDefaultSources:!0},e}async _setFloorLevel(e){if(!e)return;let t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i){let s=t.fields.find(a=>a.name===i);if(s&&!t?.formTemplate)this._editor?.viewModel.featureFormViewModel&&(this._editor.viewModel.featureFormViewModel.setValue(s.name,e),s.editable=!1);else if(t.formTemplate&&this.formElements&&this.ExpressionInfo&&this.FieldElement){let a=new this.ExpressionInfo({expression:`'${e}'`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),r=new this.FieldElement({label:i,editableExpression:"false",fieldName:i,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:a.name});this._updatedMapView?.map.editableLayers.forEach(n=>{let d=this.formElements.orgElements,o=this.formElements.orgExpressionInfos,g=[...d];if(g.push(r),n.type==="feature"&&this.FormTemplate){let _=n,S=new this.FormTemplate({title:_?.formTemplate?.title,description:_?.formTemplate?.description,elements:g,expressionInfos:[a].concat(o)});n.formTemplate=S}})}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};v("create-feature",u);export{u as CreateFeature};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250618 */
|
4
4
|
var s="calcite-mode-light",t="calcite-mode-dark";function o(r){let e=r?.closest(`.${t}, .${s}`);return e==null?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e?.classList.contains(t)?"dark":"light"}export{o as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a,b}from"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{a,b}from"./CPPGUGUJ.js";import"./UQSOC5MG.js";import"./XZJE3HMV.js";import"./JLQQYQLO.js";import"./DKDDSSZO.js";export{a as ContentEditorTypes,b as ContentSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250618 */
|
4
4
|
var e={"hub:initiative:events":!1,"hub:initiative:content":!0,"hub:initiative:discussions":!1},i=["hub:initiative","hub:initiative:create","hub:initiative:delete","hub:initiative:edit","hub:initiative:view","hub:initiative:owner","hub:initiative:canChangeAccess","hub:initiative:events","hub:initiative:content","hub:initiative:discussions","hub:initiative:workspace","hub:initiative:workspace:overview","hub:initiative:workspace:dashboard","hub:initiative:workspace:details","hub:initiative:workspace:metrics","hub:initiative:workspace:projects","hub:initiative:workspace:projects:member","hub:initiative:workspace:projects:manager","hub:initiative:workspace:settings","hub:initiative:workspace:collaborators","hub:initiative:workspace:content","hub:initiative:workspace:events","hub:initiative:workspace:metrics","hub:initiative:workspace:catalogs","hub:initiative:workspace:catalog","hub:initiative:workspace:catalog:content","hub:initiative:workspace:catalog:events","hub:initiative:workspace:associationGroup:create","hub:initiative:manage"],t=[{permission:"hub:initiative",services:["portal"],licenses:["hub-premium"]},{permission:"hub:initiative:create",dependencies:["hub:initiative"],authenticated:!0,privileges:["portal:user:createItem"]},{permission:"hub:initiative:view",services:["portal"],authenticated:!1,licenses:["hub-premium","hub-basic"]},{permission:"hub:initiative:owner",dependencies:["hub:initiative"],authenticated:!0,entityOwner:!0},{permission:"hub:initiative:edit",services:["portal"],authenticated:!0,entityEdit:!0,licenses:["hub-premium","hub-basic"]},{permission:"hub:initiative:delete",dependencies:["hub:initiative"],authenticated:!0,entityDelete:!0},{permission:"hub:initiative:canChangeAccess",dependencies:["hub:initiative"],authenticated:!0,assertions:[{property:"context:currentUser.privileges",type:"contains-some",value:["portal:admin:shareToPublic","portal:admin:shareToOrg","portal:user:shareToPublic","portal:user:shareToOrg"]},{property:"entity:itemControl",type:"eq",value:"admin"}]},{permission:"hub:initiative:events",dependencies:["hub:initiative:view"]},{permission:"hub:initiative:content",dependencies:["hub:initiative:edit"]},{permission:"hub:initiative:discussions",dependencies:["hub:initiative:view"]},{permission:"hub:initiative:workspace",dependencies:["hub:feature:workspace"]},{permission:"hub:initiative:workspace:overview",dependencies:["hub:initiative:workspace","hub:initiative:view"]},{permission:"hub:initiative:workspace:dashboard",dependencies:["hub:initiative:workspace","hub:initiative:view"]},{permission:"hub:initiative:workspace:details",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:metrics",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:projects",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:projects:member",dependencies:["hub:initiative:workspace:projects"],assertions:[{property:"context:currentUser",type:"is-group-member",value:"entity:associations.groupId"}]},{permission:"hub:initiative:workspace:projects:manager",dependencies:["hub:initiative:workspace:projects"],assertions:[{property:"context:currentUser",type:"is-group-admin",value:"entity:associations.groupId"}]},{permission:"hub:initiative:workspace:settings",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:collaborators",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:content",dependencies:["hub:initiative:workspace","hub:initiative:edit"],availability:["alpha"]},{permission:"hub:initiative:workspace:events",dependencies:["hub:initiative:workspace","hub:initiative:edit"],availability:["alpha"]},{permission:"hub:initiative:workspace:metrics",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:catalogs",dependencies:["hub:initiative:workspace","hub:feature:catalogs","hub:initiative:edit"]},{permission:"hub:initiative:workspace:catalog",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:catalog:content",dependencies:["hub:initiative:workspace:catalog"]},{permission:"hub:initiative:workspace:catalog:events",dependencies:["hub:initiative:workspace:catalog","hub:event","hub:feature:catalogs:edit:advanced"]},{permission:"hub:initiative:manage",dependencies:["hub:initiative:edit"]},{permission:"hub:initiative:workspace:associationGroup:create",dependencies:["hub:initiative:workspace:projects","hub:group:create"]}];var r={"hub:project:events":!1,"hub:project:content":!0,"hub:project:discussions":!1},a=["hub:project","hub:project:create","hub:project:delete","hub:project:edit","hub:project:view","hub:project:owner","hub:project:canChangeAccess","hub:project:events","hub:project:content","hub:project:discussions","hub:project:associations","hub:project:workspace","hub:project:workspace:overview","hub:project:workspace:dashboard","hub:project:workspace:details","hub:project:workspace:initiatives","hub:project:workspace:settings","hub:project:workspace:collaborators","hub:project:workspace:content","hub:project:workspace:events","hub:project:workspace:metrics","hub:project:workspace:catalog","hub:project:workspace:catalog:content","hub:project:workspace:catalog:events","hub:project:manage"],n=[{permission:"hub:project",services:["portal"],licenses:["hub-premium"]},{permission:"hub:project:create",authenticated:!0,dependencies:["hub:project"],privileges:["portal:user:createItem"]},{permission:"hub:project:view",services:["portal"]},{permission:"hub:project:edit",services:["portal"],authenticated:!0,entityEdit:!0,licenses:["hub-premium","hub-basic"]},{permission:"hub:project:delete",dependencies:["hub:project"],authenticated:!0,entityDelete:!0},{permission:"hub:project:owner",dependencies:["hub:project"],authenticated:!0,entityOwner:!0},{permission:"hub:project:canChangeAccess",dependencies:["hub:project"],authenticated:!0,assertions:[{property:"context:currentUser.privileges",type:"contains-some",value:["portal:admin:shareToPublic","portal:admin:shareToOrg","portal:user:shareToPublic","portal:user:shareToOrg"]},{property:"entity:itemControl",type:"eq",value:"admin"}]},{permission:"hub:project:events",dependencies:["hub:project:view"],entityConfigurable:!0},{permission:"hub:project:content",dependencies:["hub:project:edit"]},{permission:"hub:project:discussions",dependencies:["hub:project:view"]},{permission:"hub:project:associations",dependencies:["hub:project:view"]},{permission:"hub:project:workspace"},{permission:"hub:project:workspace:overview",dependencies:["hub:project:workspace","hub:project:view"]},{permission:"hub:project:workspace:dashboard",dependencies:["hub:project:workspace","hub:project:view"]},{permission:"hub:project:workspace:details",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:initiatives",dependencies:["hub:project:workspace","hub:project:associations","hub:project:edit"]},{permission:"hub:project:workspace:settings",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:collaborators",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:content",dependencies:["hub:project:workspace","hub:project:edit"],availability:["alpha"],environments:["qaext"]},{permission:"hub:project:workspace:events",dependencies:["hub:project:workspace","hub:project:edit"],availability:["alpha"],environments:["qaext"]},{permission:"hub:project:workspace:metrics",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:catalog",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:catalog:content",dependencies:["hub:project:workspace:catalog"]},{permission:"hub:project:workspace:catalog:events",dependencies:["hub:project:workspace:catalog","hub:event","hub:feature:catalogs:edit:advanced"]},{permission:"hub:project:manage",dependencies:["hub:project:edit"]}];export{e as a,i as b,t as c,r as d,a as e,n as f};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{e as l,f as o}from"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{e as l,f as o}from"./ZSXYETQI.js";import{d as g}from"./GK64B4Y5.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as m,b as o,c as T,d as E}from"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{a as m,b as o,c as T,d as E}from"./ZYS5MFJN.js";import{a as t,b as e}from"./RFO7GXOU.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./JLQQYQLO.js";import"./DKDDSSZO.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{a as r}from"./UBJU2THW.js";import{D as n,c as t,d as s,p as i,y as o}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var a=t`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import"./DKDDSSZO.js";var i=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.discussionSettings.moderation.label",elements:[{labelKey:"shared.fields.discussable.label",scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",labels:["{{shared.fields.discussable.enabled.label:translate}}",`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:["{{shared.fields.discussable.disabled.label:translate}}",`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],layout:"horizontal",styles:{"max-width":"45rem"},type:"radio"}}]}]});export{i as buildUiSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as b,c as f}from"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{a as b,c as f}from"./5XE5QQBN.js";import{M as C,r as _}from"./AFZHAYZU.js";import"./IRYLEP5E.js";import"./6SAVY66F.js";import"./ZSXYETQI.js";import"./ML4HH2XO.js";import"./44HGIWYU.js";import"./Z2JYQSV7.js";import"./GK64B4Y5.js";import"./YCPBEFQ6.js";import"./SLMYC2BZ.js";import"./2VYLMG7R.js";import"./BCBHVM7D.js";import"./RKVT7IG3.js";import"./D2UQQP3J.js";import"./FNC6JCNV.js";import"./WLFEE6M6.js";import"./C6VO4ZTH.js";import"./H5NYMCNF.js";import"./ODI4ESEW.js";import{a as g}from"./UBJU2THW.js";import{B as m,D as u,c as h,d as o,n as a,p as d,x as l,y as p}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var y=h`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250618 */
|
4
4
|
var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t as b,P as c};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250618 */
|
4
4
|
var i=n=>{var l;return((l=n.links)===null||l===void 0?void 0:l.thumbnail)||n.thumbnailUrl};export{i as a};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as h,b as d}from"./
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{a as h,b as d}from"./UDYGXKHM.js";import{b as c}from"./4EDJBRS2.js";import{D as n,c as r,d as a,n as s,y as o}from"./TAMNRSJC.js";import"./DKDDSSZO.js";var m=r`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250618 */
|
4
4
|
var n;(function(i){i.InPerson="inPerson",i.Online="online",i.Both="both"})(n||(n={}));var o;(function(i){i.Unlimited="unlimited",i.Fixed="fixed"})(o||(o={}));export{n as a,o as b};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250618 */
|
4
|
+
import{b as e,e as r}from"./2244Y2MO.js";import"./FBYRFPWQ.js";import"./EQ6HIJ73.js";import"./3K2M3ZJ7.js";import{c as t}from"./KM37RWWT.js";import"./44HGIWYU.js";import"./5NR4JSYD.js";import"./2VYLMG7R.js";import"./BCBHVM7D.js";import"./RKVT7IG3.js";import"./D2UQQP3J.js";import"./WLFEE6M6.js";import"./C6VO4ZTH.js";import"./ODI4ESEW.js";import"./CXFSUXVU.js";import"./DKDDSSZO.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};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250618 */
|
4
4
|
function c(e){let t={};if(Array.isArray(e))t=e.map(c);else if(typeof e=="object"){if(e===null)return e;for(let r in e)if(e.hasOwnProperty(r)){let n=e[r];n!=null&&typeof n=="object"?n instanceof Date?t[r]=new Date(n.getTime()):typeof Blob<"u"&&n instanceof Blob?t[r]=new Blob([n],{type:n.type}):t[r]=c(n):t[r]=n}}else t=e;return t}function s(e,t){return e.filter(n=>n!==t)}function l(e="i"){return`${e}${Math.random().toString(36).substr(2,8)}`}function a(e,t){return e!=null&&(t=c(t),t.push(e)),t}function d(e){e=e.toLowerCase(),e=e.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi," ");let t=/(\-|\_|\.|\s)+(.)?/g,r=/(^|\/)([A-Z])/g;return e.replace(t,function(n,i,u){return u?u.toUpperCase():""}).replace(r,function(n,i,u){return n.toLowerCase()})}function p(e,t,r){return r.indexOf(e)===t}function f(e,t,r=!0){let n=c(e);return Object.keys(t).reduce((i,u)=>{if(t[u]!==null&&t[u]!==void 0){let o=c(t[u]);Array.isArray(o)?i[u]=o:r&&typeof o=="object"?i[u]=f(i[u]||{},o,r):i[u]=o}return i},n)}function x(e,t){let r=[],n=0;for(;n<e.length;)r.push(e.slice(n,n+t)),n+=t;return r}var y=e=>e==null;export{c as a,s as b,l as c,a as d,d as e,p as f,f as g,x as h,y as i};
|