@arcgis/map-components 6.0.0-next.2 → 6.0.0-next.20
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/{OJIYHIGC.js → 23L5GSFN.js} +1 -1
- package/dist/cdn/{SIFBGT4D.js → 27HLXBPP.js} +1 -1
- package/dist/cdn/2C4EHM32.js +2 -0
- package/dist/cdn/2CV4EHYO.js +2 -0
- package/dist/cdn/2JOUXCA5.js +2 -0
- package/dist/cdn/{S6BPBG7D.js → 2T3ALADJ.js} +1 -1
- package/dist/cdn/2ZNQABOI.js +2 -0
- package/dist/cdn/35EYUDTJ.js +2 -0
- package/dist/cdn/{YDZZPLVB.js → 3ND2HQVC.js} +1 -1
- package/dist/cdn/3POODM7N.js +2 -0
- package/dist/cdn/3SX4JMXA.js +2 -0
- package/dist/cdn/{ZAUG5MSY.js → 3SZ3FE66.js} +1 -1
- package/dist/cdn/3TGVVG6M.js +2 -0
- package/dist/cdn/3VB6M2GX.js +2 -0
- package/dist/cdn/3XEUTP6J.js +2 -0
- package/dist/cdn/3YQDH3QT.js +2 -0
- package/dist/cdn/{TKILR2SM.js → 3ZFHZPWM.js} +1 -1
- package/dist/cdn/454VHWQQ.js +2 -0
- package/dist/cdn/4CLSMFD2.js +2 -0
- package/dist/cdn/4EGKJPJ2.js +2 -0
- package/dist/cdn/{H7NR6B6S.js → 4EHW2LXW.js} +1 -1
- package/dist/cdn/4IJC4V6Z.js +2 -0
- package/dist/cdn/{V2YPYCU6.js → 4IQJMQQZ.js} +1 -1
- package/dist/cdn/4JL3FLRV.js +2 -0
- package/dist/cdn/{WSHG4LV7.js → 4NW2V4RQ.js} +1 -1
- package/dist/cdn/4XEZYOW7.js +2 -0
- package/dist/cdn/5EBCPTE5.js +2 -0
- package/dist/cdn/{PPAFKBPN.js → 5FA37EZ6.js} +1 -1
- package/dist/cdn/5JRZJANG.js +2 -0
- package/dist/cdn/5P7WPXOY.js +2 -0
- package/dist/cdn/5RCFYMHK.js +2 -0
- package/dist/cdn/{HQWUQFN5.js → 5T4TPTPA.js} +1 -1
- package/dist/cdn/5UF6YKFN.js +2 -0
- package/dist/cdn/5VXEMMLV.js +2 -0
- package/dist/cdn/5Y45LLBY.js +2 -0
- package/dist/cdn/{2UKSCGYU.js → 64TOY3PA.js} +1 -1
- package/dist/cdn/66RQ6K6J.js +2 -0
- package/dist/cdn/6BMZP72L.js +2 -0
- package/dist/cdn/6DDIOOI6.js +2 -0
- package/dist/cdn/6IF5KBOJ.js +2 -0
- package/dist/cdn/{7DM32WQP.js → 6LUCQLB7.js} +1 -1
- package/dist/cdn/6NCZTAOF.js +2 -0
- package/dist/cdn/6S6CZJKN.js +2 -0
- package/dist/cdn/6XODSQWR.js +2 -0
- package/dist/cdn/{ZSPYPXBY.js → 7465ANAR.js} +1 -1
- package/dist/cdn/7CHCF6IX.js +2 -0
- package/dist/cdn/7EIWYGE2.js +2 -0
- package/dist/cdn/7FA44B44.js +2 -0
- package/dist/cdn/7IGSTLKW.js +4 -0
- package/dist/cdn/7NB627L5.js +2 -0
- package/dist/cdn/{EMXGW73P.js → 7QA26M4F.js} +1 -1
- package/dist/cdn/{RVIHQZ44.js → 7SDUVBEL.js} +1 -1
- package/dist/cdn/AA4RF7H6.js +2 -0
- package/dist/cdn/{ESOCZAMZ.js → AB74IWXX.js} +1 -1
- package/dist/cdn/AD2IA3IS.js +2 -0
- package/dist/cdn/AFYLXNX3.js +2 -0
- package/dist/cdn/{HI7BF3DL.js → AI3ETXGZ.js} +1 -1
- package/dist/cdn/{JRCEICO2.js → AKAOYYJ7.js} +1 -1
- package/dist/cdn/{FHHVGI4H.js → ALZFPS2D.js} +1 -1
- package/dist/cdn/ASHCHM4V.js +2 -0
- package/dist/cdn/ATLQSGEK.js +2 -0
- package/dist/cdn/{FZAQZSRA.js → AVLV4PPI.js} +1 -1
- package/dist/cdn/AWB7XOHF.js +2 -0
- package/dist/cdn/AXJE2SZV.js +2 -0
- package/dist/cdn/B7D5ZTB2.js +2 -0
- package/dist/cdn/{EK7Y6JBZ.js → BE5M3N7T.js} +1 -1
- package/dist/cdn/BK2UM27Y.js +2 -0
- package/dist/cdn/BKSKZ6W6.js +2 -0
- package/dist/cdn/{OAYNZFL2.js → BNZFCSS2.js} +1 -1
- package/dist/cdn/{AO6ONNIJ.js → BP7H6IBX.js} +1 -1
- package/dist/cdn/{Z6AVJWLP.js → BPNUA7MC.js} +1 -1
- package/dist/cdn/BRGIHQI3.js +2 -0
- package/dist/cdn/{6VO7G2UX.js → BSTT6ICQ.js} +1 -1
- package/dist/cdn/{EV7IIQBP.js → BT755NSP.js} +1 -1
- package/dist/cdn/BWM4ZVN7.js +2 -0
- package/dist/cdn/C2YP473B.js +2 -0
- package/dist/cdn/C6XAWMZK.js +2 -0
- package/dist/cdn/{VTCE3YQW.js → CBAI4VLY.js} +1 -1
- package/dist/cdn/{5TKSFDKY.js → CD2XIXN5.js} +1 -1
- package/dist/cdn/{WBBTZNZU.js → CESPPRYQ.js} +1 -1
- package/dist/cdn/{YQV2OMBS.js → CEVISDMV.js} +1 -1
- package/dist/cdn/CEW6QJGT.js +2 -0
- package/dist/cdn/CG7BTPM3.js +2 -0
- package/dist/cdn/CI6VWQ63.js +2 -0
- package/dist/cdn/{CKS5ACAB.js → CUFP5Q3Z.js} +1 -1
- package/dist/cdn/{DUMHDAYP.js → CYH72IDQ.js} +1 -1
- package/dist/cdn/CYUO2UNT.js +2 -0
- package/dist/cdn/CYXNSUYF.js +2 -0
- package/dist/cdn/{FSBLGH6E.js → D6GJRZJV.js} +1 -1
- package/dist/cdn/D7T33U5Z.js +2 -0
- package/dist/cdn/{P2I63WVL.js → DAZLYCHV.js} +1 -1
- package/dist/cdn/DE4OSJG5.js +2 -0
- package/dist/cdn/{VUAYNF3K.js → DIXSGC2P.js} +1 -1
- package/dist/cdn/{CAC3OOFR.js → DQDUD556.js} +1 -1
- package/dist/cdn/{A6H4JIO7.js → DQRQZK5Y.js} +1 -1
- package/dist/cdn/DQSP4RFL.js +2 -0
- package/dist/cdn/{2BUURGFL.js → DRD2FAEC.js} +1 -1
- package/dist/cdn/DSIYRWN2.js +2 -0
- package/dist/cdn/DUKK2PHD.js +2 -0
- package/dist/cdn/{2DAGREZP.js → DWQQDLIU.js} +1 -1
- package/dist/cdn/{PIDNZKSJ.js → DYUFBVXE.js} +1 -1
- package/dist/cdn/{XP74F2F6.js → EBQ537XN.js} +1 -1
- package/dist/cdn/{DN2EFA4T.js → EGD2CSA7.js} +1 -1
- package/dist/cdn/ELAKAKPE.js +2 -0
- package/dist/cdn/{SQEKT3GV.js → ENHMLZOY.js} +1 -1
- package/dist/cdn/EPNWPJZ6.js +2 -0
- package/dist/cdn/{ZO7TUIUE.js → ERULVBEV.js} +1 -1
- package/dist/cdn/EVJFKABL.js +4 -0
- package/dist/cdn/{PBHNO4J7.js → EVQL7FMR.js} +1 -1
- package/dist/cdn/EWM5PERI.js +2 -0
- package/dist/cdn/EXSZCSCL.js +2 -0
- package/dist/cdn/F2EOAAKS.js +2 -0
- package/dist/cdn/F2QSG3HU.js +2 -0
- package/dist/cdn/{RUYAWRPV.js → F4AJCUZ6.js} +1 -1
- package/dist/cdn/FFVPO4JB.js +2 -0
- package/dist/cdn/{R5TXJ5FN.js → FIYZBOAN.js} +1 -1
- package/dist/cdn/FNJBBQT5.js +2 -0
- package/dist/cdn/FTFHL3EA.js +2 -0
- package/dist/cdn/FUJYJKDU.js +2 -0
- package/dist/cdn/FUSAMFLS.js +2 -0
- package/dist/cdn/GBJY4A36.js +2 -0
- package/dist/cdn/GCTF7CS7.js +2 -0
- package/dist/cdn/{HTC4LCZQ.js → GD4XR5XA.js} +1 -1
- package/dist/cdn/{M7AFSV3C.js → GE4QV5JC.js} +1 -1
- package/dist/cdn/{UUHCMLK6.js → GGUWUNUA.js} +1 -1
- package/dist/cdn/GIBXI44G.js +2 -0
- package/dist/cdn/GWXQ6CHV.js +2 -0
- package/dist/cdn/{GNSNEUMI.js → H22SGLVH.js} +1 -1
- package/dist/cdn/{W3TSTSES.js → H6KJMGY6.js} +1 -1
- package/dist/cdn/{Z2UUXST4.js → H6SIAY6D.js} +1 -1
- package/dist/cdn/H7QBBTTP.js +2 -0
- package/dist/cdn/HJZRNUBU.js +2 -0
- package/dist/cdn/HKB7SRFI.js +2 -0
- package/dist/cdn/{26URLKXD.js → HS2TQPAG.js} +1 -1
- package/dist/cdn/HWRPCOVE.js +2 -0
- package/dist/cdn/I3FQUA77.js +2 -0
- package/dist/cdn/IAIVTB2Q.js +2 -0
- package/dist/cdn/ID3UU7QE.js +2 -0
- package/dist/cdn/{2SO5S66J.js → IEZGQ2LC.js} +1 -1
- package/dist/cdn/{QKZ552KI.js → IQ4ADF3I.js} +1 -1
- package/dist/cdn/{M3FI4K44.js → ITRBNYSS.js} +1 -1
- package/dist/cdn/IU5QHF6T.js +2 -0
- package/dist/cdn/IU7BOICX.js +2 -0
- package/dist/cdn/{ZHSESERJ.js → IZKG2DP3.js} +1 -1
- package/dist/cdn/J7VECW7F.js +2 -0
- package/dist/cdn/{XDU23V37.js → JAH2AKJ5.js} +1 -1
- package/dist/cdn/JB6WQEFJ.js +2 -0
- package/dist/cdn/JCCTYIZ2.js +2 -0
- package/dist/cdn/JPFLHUNR.js +2 -0
- package/dist/cdn/JSHCS4Y6.js +2 -0
- package/dist/cdn/JVC5XNYJ.js +2 -0
- package/dist/cdn/K7OB5AHB.js +2 -0
- package/dist/cdn/KIFEVB5D.js +2 -0
- package/dist/cdn/{KBA5OIES.js → KLY36SOM.js} +1 -1
- package/dist/cdn/KM7PWRG2.js +2 -0
- package/dist/cdn/{M6YVO33A.js → KQDXSX5Y.js} +1 -1
- package/dist/cdn/KQZYGYQO.js +2 -0
- package/dist/cdn/KRJCOTGC.js +2 -0
- package/dist/cdn/KV5K3ATE.js +2 -0
- package/dist/cdn/KWPVYPJ5.js +2 -0
- package/dist/cdn/KZUUBMYO.js +2 -0
- package/dist/cdn/{YZJKSAQ5.js → L4HKKYNC.js} +1 -1
- package/dist/cdn/{F5IHFPKA.js → L726CUBZ.js} +1 -1
- package/dist/cdn/LB52TH7O.js +2 -0
- package/dist/cdn/LDC5FSWA.js +2 -0
- package/dist/cdn/{HY2JY2TT.js → LFSVKJXI.js} +1 -1
- package/dist/cdn/LKMQHTBY.js +2 -0
- package/dist/cdn/LL3DXDKE.js +2 -0
- package/dist/cdn/LMI7MLKS.js +2 -0
- package/dist/cdn/LOF4XAJZ.js +2 -0
- package/dist/cdn/LPXSF4M6.js +2 -0
- package/dist/cdn/{MYLIX42T.js → LXLZB2JC.js} +1 -1
- package/dist/cdn/LXME6MU5.js +2 -0
- package/dist/cdn/{5DY7GHBN.js → M2HYKS62.js} +1 -1
- package/dist/cdn/{WO26ZR5Z.js → M4M3QTI4.js} +1 -1
- package/dist/cdn/M6COQWFB.js +2 -0
- package/dist/cdn/M6CSJLXC.js +2 -0
- package/dist/cdn/{FQSHLYKX.js → M76PF7SP.js} +1 -1
- package/dist/cdn/{WNWTWPV6.js → MGE3J5KE.js} +1 -1
- package/dist/cdn/MGQA3G43.js +2 -0
- package/dist/cdn/{HKVIWCPL.js → MPIIQAQO.js} +1 -1
- package/dist/cdn/MRCZ6R25.js +2 -0
- package/dist/cdn/MWFZNICV.js +2 -0
- package/dist/cdn/NEQJAZLZ.js +2 -0
- package/dist/cdn/NHGQ7T4H.js +2 -0
- package/dist/cdn/NIMNZJJZ.js +2 -0
- package/dist/cdn/{OAMA6SL3.js → NR2RFSZB.js} +1 -1
- package/dist/cdn/NU75HQA2.js +2 -0
- package/dist/cdn/NY7PPWFQ.js +2 -0
- package/dist/cdn/O7ZXS622.js +2 -0
- package/dist/cdn/OBQUHPHJ.js +2 -0
- package/dist/cdn/OFBCNFBW.js +2 -0
- package/dist/cdn/{BQBWXR6P.js → OISNNHIG.js} +1 -1
- package/dist/cdn/OLEUR4YB.js +2 -0
- package/dist/cdn/{4IU5R6VO.js → ONSMVZAM.js} +1 -1
- package/dist/cdn/OT43XHBV.js +2 -0
- package/dist/cdn/{2ZMXUAQZ.js → P3ZJLVKC.js} +1 -1
- package/dist/cdn/{N3DTZRST.js → P7XX5RSZ.js} +1 -1
- package/dist/cdn/{DSD2SY73.js → PBXO27K2.js} +1 -1
- package/dist/cdn/{UVJWDKLK.js → PSD74QRS.js} +1 -1
- package/dist/cdn/{IQEEQOMD.js → PST64E7E.js} +1 -1
- package/dist/cdn/{TDZIH5OK.js → PVAKLYII.js} +1 -1
- package/dist/cdn/{FPPWXIBA.js → QABRDQFJ.js} +1 -1
- package/dist/cdn/QCYQNVPL.js +2 -0
- package/dist/cdn/QE7SN2DZ.js +2 -0
- package/dist/cdn/QFWFBHIF.js +2 -0
- package/dist/cdn/{SAOLD6MH.js → QMH2OBF6.js} +1 -1
- package/dist/cdn/QPHKPPYM.js +2 -0
- package/dist/cdn/{MA7GBKLW.js → QYOTQQAL.js} +1 -1
- package/dist/cdn/QYYYQIAI.js +2 -0
- package/dist/cdn/R2KMEDRH.js +2 -0
- package/dist/cdn/R3VD3PEO.js +2 -0
- package/dist/cdn/{53OXTCE6.js → R5DBF7SZ.js} +1 -1
- package/dist/cdn/RLYKTTAI.js +2 -0
- package/dist/cdn/ROHGHCK6.js +2 -0
- package/dist/cdn/RQ2MM3DQ.js +2 -0
- package/dist/cdn/RQT2PVDJ.js +2 -0
- package/dist/cdn/RSNXBYXL.js +2 -0
- package/dist/cdn/{PWHXRRFU.js → RTZG4WTI.js} +1 -1
- package/dist/cdn/RUMWDBIU.js +2 -0
- package/dist/cdn/{E54VGGFM.js → RVJKTOGT.js} +1 -1
- package/dist/cdn/RYQW6GPV.js +2 -0
- package/dist/cdn/{JS3IKVKM.js → S5MD2X3H.js} +1 -1
- package/dist/cdn/SBYVR52H.js +2 -0
- package/dist/cdn/{DY2EOHFD.js → SDMJGSR7.js} +1 -1
- package/dist/cdn/{ZDMSSGIM.js → SFMD5PPC.js} +1 -1
- package/dist/cdn/{SMVLPJDD.js → SIIF27TS.js} +1 -1
- package/dist/cdn/SIXKHDVJ.js +2 -0
- package/dist/cdn/SMRY445Z.js +2 -0
- package/dist/cdn/{IAWXCNTX.js → SNEMD7IN.js} +1 -1
- package/dist/cdn/{PGUZODKZ.js → SNGKRGPF.js} +1 -1
- package/dist/cdn/{QEPANMVK.js → SQI6CU3W.js} +1 -1
- package/dist/cdn/SQXGDXHV.js +2 -0
- package/dist/cdn/{OUC5HWPQ.js → STOPSNWH.js} +1 -1
- package/dist/cdn/{MICLX7QW.js → SW6UOJIE.js} +1 -1
- package/dist/cdn/T2ONRGQX.js +2 -0
- package/dist/cdn/T2UN4CJT.js +2 -0
- package/dist/cdn/{Q4L65YE5.js → T5XVILYA.js} +1 -1
- package/dist/cdn/TFXSKVB7.js +2 -0
- package/dist/cdn/{3ONY25MG.js → THIUS6HZ.js} +1 -1
- package/dist/cdn/TIUFHDP2.js +2 -0
- package/dist/cdn/TJC7VHRZ.js +2 -0
- package/dist/cdn/{D7FBQECJ.js → TT57O767.js} +1 -1
- package/dist/cdn/TTDOASDI.js +2 -0
- package/dist/cdn/TTGQ4Y7X.js +2 -0
- package/dist/cdn/TWPVYHJG.js +2 -0
- package/dist/cdn/U7FYQAUZ.js +2 -0
- package/dist/cdn/{HPWF3IQV.js → U7WRQCRV.js} +1 -1
- package/dist/cdn/UBCDF55B.js +2 -0
- package/dist/cdn/UHP6ZS6H.js +2 -0
- package/dist/cdn/{3GHQZCMV.js → UJLIKFS6.js} +1 -1
- package/dist/cdn/UJYW2LBF.js +2 -0
- package/dist/cdn/UKB45JOM.js +2 -0
- package/dist/cdn/{Z2WYULU3.js → UN65FKRA.js} +1 -1
- package/dist/cdn/{VDEMMP33.js → UQLRFL2S.js} +1 -1
- package/dist/cdn/{6MCDOI5M.js → V3HQQ6TJ.js} +1 -1
- package/dist/cdn/{MTFIK3F4.js → V7OBQRSG.js} +1 -1
- package/dist/cdn/VBSWB2VR.js +2 -0
- package/dist/cdn/{VLPNB2Z3.js → VCJ6M3PX.js} +1 -1
- package/dist/cdn/VHYR3UPY.js +2 -0
- package/dist/cdn/{52CUDGKY.js → VIMOA3H7.js} +1 -1
- package/dist/cdn/{J3FRSWZD.js → VLGRGILZ.js} +1 -1
- package/dist/cdn/VQDXE456.js +2 -0
- package/dist/cdn/{65MI3MW2.js → VTER7AQ2.js} +1 -1
- package/dist/cdn/{J6HOUEVT.js → VWHNYGBM.js} +1 -1
- package/dist/cdn/VYM3TR3Q.js +2 -0
- package/dist/cdn/W472ZYUY.js +2 -0
- package/dist/cdn/{ZIBQTNB6.js → WALR7J3I.js} +1 -1
- package/dist/cdn/{3C6FN5WT.js → WD4TPDI6.js} +1 -1
- package/dist/cdn/WNRWNZGL.js +2 -0
- package/dist/cdn/WQF3SS53.js +2 -0
- package/dist/cdn/{LYT35TNY.js → WQIIAMYV.js} +1 -1
- package/dist/cdn/WTRZ6OZV.js +2 -0
- package/dist/cdn/{PZZU36OG.js → WV2GLDRQ.js} +1 -1
- package/dist/cdn/{PCOXR45L.js → X5RVRRKO.js} +1 -1
- package/dist/cdn/X5WMEO4X.js +2 -0
- package/dist/cdn/XCHCC6HT.js +2 -0
- package/dist/cdn/XDQ6UHVN.js +2 -0
- package/dist/cdn/XFPFS6PS.js +2 -0
- package/dist/cdn/XNHTHY3W.js +2 -0
- package/dist/cdn/{OAMPGCZF.js → XOOSPWUF.js} +1 -1
- package/dist/cdn/XSEDC76K.js +2 -0
- package/dist/cdn/XX6G24PV.js +2 -0
- package/dist/cdn/XYEUSNMJ.js +2 -0
- package/dist/cdn/XYQWC4QA.js +2 -0
- package/dist/cdn/Y3S6WJN2.js +2 -0
- package/dist/cdn/Y6WTYXVP.js +2 -0
- package/dist/cdn/{QT7GRA34.js → Y7ILKQZU.js} +1 -1
- package/dist/cdn/YAVRBZ5C.js +2 -0
- package/dist/cdn/YCQWS3JT.js +2 -0
- package/dist/cdn/{5RAIBYCT.js → YECZWYQZ.js} +1 -1
- package/dist/cdn/{WS46QSWM.js → YFYFQWXG.js} +1 -1
- package/dist/cdn/{RRSU6QD4.js → YMAEN7NR.js} +1 -1
- package/dist/cdn/YNMIPIKK.js +2 -0
- package/dist/cdn/YR4YEJ2N.js +2 -0
- package/dist/cdn/YSE67FR2.js +2 -0
- package/dist/cdn/Z24QDG3E.js +3 -0
- package/dist/cdn/{B32GNMHD.js → Z66I2FAE.js} +1 -1
- package/dist/cdn/ZDLHDQCX.js +2 -0
- package/dist/cdn/ZIQRARXE.js +2 -0
- package/dist/cdn/ZMXN6PZS.js +2 -0
- package/dist/cdn/ZN52ACGS.js +2 -0
- package/dist/cdn/ZNAOFUAU.js +2 -0
- package/dist/cdn/{FACY5XHG.js → ZO5WNVFD.js} +1 -1
- package/dist/cdn/ZOLOOVHX.js +2 -0
- package/dist/cdn/ZPA5JUPD.js +2 -0
- package/dist/cdn/{HBWEW6R7.js → ZQL4CTJK.js} +1 -1
- package/dist/cdn/{EPAR65ZP.js → ZUYPKJYL.js} +1 -1
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/attachment-utils.js +5 -5
- package/dist/chunks/dateUtils.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/loader-utils.js +43 -0
- package/dist/chunks/resources.js +10 -4
- package/dist/chunks/slots.js +3 -3
- package/dist/chunks/useArcgisViewReadyError.js +224 -158
- package/dist/components/arcgis-add-attachment-view/customElement.d.ts +42 -9
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +8 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +8 -3
- package/dist/components/arcgis-attachment-detail-view/customElement.d.ts +200 -0
- package/dist/components/arcgis-attachment-detail-view/customElement.js +126 -0
- package/dist/components/arcgis-attachment-detail-view/index.d.ts +1 -0
- package/dist/components/arcgis-attachment-detail-view/index.js +8 -0
- package/dist/components/arcgis-attachment-preview/customElement.d.ts +47 -9
- package/dist/components/arcgis-attachment-preview/customElement.js +12 -10
- package/dist/components/arcgis-attachment-thumbnail/customElement.d.ts +42 -9
- package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +42 -9
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +10 -10
- package/dist/components/arcgis-building-level-item/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +3 -3
- package/dist/components/arcgis-coordinate-conversion-next/customElement.js +29 -29
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +8 -3
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +8 -3
- package/dist/components/arcgis-editor/customElement.d.ts +26 -21
- package/dist/components/arcgis-editor/customElement.js +19 -14
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +15 -7
- package/dist/components/arcgis-elevation-profile/customElement.js +93 -89
- package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +7 -0
- package/dist/components/arcgis-exploratory-analysis/customElement.js +51 -51
- package/dist/components/arcgis-feature-fields/customElement.js +20 -20
- package/dist/components/arcgis-feature-form-field/customElement.d.ts +42 -9
- package/dist/components/arcgis-feature-next/customElement.js +21 -14
- package/dist/components/arcgis-feature-table/customElement.d.ts +58 -39
- package/dist/components/arcgis-features/customElement.d.ts +1 -1
- package/dist/components/arcgis-features/customElement.js +12 -11
- package/dist/components/arcgis-features-next/customElement.d.ts +10 -4
- package/dist/components/arcgis-features-next/customElement.js +171 -141
- package/dist/components/arcgis-fullscreen/customElement.js +4 -4
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +2 -0
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +15 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +27 -20
- package/dist/components/arcgis-link-chart/customElement.js +28 -28
- package/dist/components/arcgis-locate/customElement.js +6 -6
- package/dist/components/arcgis-map/customElement.d.ts +44 -36
- package/dist/components/arcgis-map/customElement.js +21 -21
- package/dist/components/arcgis-measurement-content/customElement.js +6 -6
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +8 -5
- package/dist/components/arcgis-popup/customElement.d.ts +10 -4
- package/dist/components/arcgis-popup/customElement.js +32 -28
- package/dist/components/arcgis-print-datum-transformation-input/customElement.js +17 -17
- package/dist/components/arcgis-scene/customElement.d.ts +27 -20
- package/dist/components/arcgis-scene/customElement.js +19 -19
- package/dist/components/arcgis-search/customElement.d.ts +1 -2
- package/dist/components/arcgis-selection-list/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +19 -10
- package/dist/components/arcgis-sketch/customElement.js +146 -178
- package/dist/components/arcgis-slice/customElement.js +24 -24
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +12 -4
- package/dist/components/arcgis-slider-scale-range/customElement.js +5 -5
- package/dist/components/arcgis-slider-scale-range/spriteSheetsUtils.d.ts +8 -3
- package/dist/components/arcgis-swipe/customElement.d.ts +10 -9
- package/dist/components/arcgis-swipe/customElement.js +246 -46
- package/dist/components/arcgis-swipe/types.d.ts +3 -0
- package/dist/components/arcgis-table-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +2 -4
- package/dist/components/arcgis-time-bar/customElement.js +122 -120
- package/dist/components/arcgis-time-bar-date/customElement.js +10 -10
- package/dist/components/arcgis-time-bar-extent/customElement.js +9 -9
- package/dist/components/arcgis-time-bar-slider/customElement.js +49 -54
- package/dist/components/arcgis-track/customElement.d.ts +3 -3
- package/dist/components/arcgis-track/types.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +100 -20
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +9 -5
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +61 -68
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +117 -29
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +10 -10
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +56 -9
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +26 -3
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +53 -50
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +237 -33
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +37 -37
- package/dist/components/arcgis-video/customElement.js +6 -6
- package/dist/components/arcgis-video-player/VideoPlayerViewModel.d.ts +2 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +2 -6
- package/dist/components/arcgis-video-player/types.d.ts +6 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +30 -10
- package/dist/components/arcgis-volume-measurement/customElement.js +62 -62
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/loader.js +8 -7
- package/dist/types/lumina.d.ts +14 -5
- package/dist/types/preact.d.ts +15 -5
- package/dist/types/react.d.ts +16 -5
- package/dist/types/stencil.d.ts +14 -5
- package/package.json +9 -9
- package/dist/cdn/2BGZVOT3.js +0 -2
- package/dist/cdn/2F4IGA4W.js +0 -2
- package/dist/cdn/2KPCMM7D.js +0 -2
- package/dist/cdn/2S7DLLA7.js +0 -2
- package/dist/cdn/2TY3T3GH.js +0 -2
- package/dist/cdn/2U3VASQT.js +0 -2
- package/dist/cdn/3N5MWYUQ.js +0 -2
- package/dist/cdn/3UMLR76Y.js +0 -4
- package/dist/cdn/3VCGDZEU.js +0 -2
- package/dist/cdn/4432P7Z5.js +0 -2
- package/dist/cdn/44CQCIZB.js +0 -2
- package/dist/cdn/4B2TLORL.js +0 -2
- package/dist/cdn/4IWYFG2G.js +0 -2
- package/dist/cdn/4KQA2GRX.js +0 -2
- package/dist/cdn/4O3HLHQQ.js +0 -2
- package/dist/cdn/4PI54LJH.js +0 -2
- package/dist/cdn/4WKWYFIH.js +0 -2
- package/dist/cdn/4XJ6RYYC.js +0 -2
- package/dist/cdn/4ZLIA5OM.js +0 -2
- package/dist/cdn/5AMF6NZN.js +0 -2
- package/dist/cdn/5ESNA4SF.js +0 -2
- package/dist/cdn/62IE7RFR.js +0 -2
- package/dist/cdn/67PT3A4A.js +0 -2
- package/dist/cdn/6A2OF3TO.js +0 -2
- package/dist/cdn/6QH2NH2Z.js +0 -2
- package/dist/cdn/6UYEO5Q7.js +0 -2
- package/dist/cdn/77U2VO5P.js +0 -2
- package/dist/cdn/7DFCYS72.js +0 -2
- package/dist/cdn/7FCZLFJD.js +0 -2
- package/dist/cdn/7FFBCPVE.js +0 -2
- package/dist/cdn/7TULU5QF.js +0 -2
- package/dist/cdn/7VDBR3SK.js +0 -2
- package/dist/cdn/7VJQVX42.js +0 -2
- package/dist/cdn/A3DPMZWE.js +0 -2
- package/dist/cdn/A4VK42OW.js +0 -2
- package/dist/cdn/A7RLC6ZT.js +0 -2
- package/dist/cdn/AL3PLZEE.js +0 -2
- package/dist/cdn/ALVAGE57.js +0 -2
- package/dist/cdn/AS4FG6IT.js +0 -2
- package/dist/cdn/BI2SI2HK.js +0 -2
- package/dist/cdn/BLOQ2AJ5.js +0 -2
- package/dist/cdn/BM4TS2RT.js +0 -2
- package/dist/cdn/BQGY4YCS.js +0 -2
- package/dist/cdn/BTVNXUZQ.js +0 -2
- package/dist/cdn/BVTEQMDF.js +0 -2
- package/dist/cdn/CBVICP6P.js +0 -2
- package/dist/cdn/CHL5VZJQ.js +0 -3
- package/dist/cdn/CNYZSE22.js +0 -2
- package/dist/cdn/COCGWEUR.js +0 -2
- package/dist/cdn/CP5JALYQ.js +0 -2
- package/dist/cdn/CPYVZPJ7.js +0 -2
- package/dist/cdn/CR6PVUCT.js +0 -2
- package/dist/cdn/DDSIQO4G.js +0 -2
- package/dist/cdn/DK7HXJSX.js +0 -2
- package/dist/cdn/DLWQZHNA.js +0 -2
- package/dist/cdn/DTORO2OE.js +0 -2
- package/dist/cdn/DYUCS5QP.js +0 -2
- package/dist/cdn/DYWCAORU.js +0 -2
- package/dist/cdn/E5L3MOIC.js +0 -2
- package/dist/cdn/EHEWQ23K.js +0 -2
- package/dist/cdn/EOAVDNBZ.js +0 -2
- package/dist/cdn/EPH5BN6X.js +0 -2
- package/dist/cdn/EZCHUWDK.js +0 -2
- package/dist/cdn/F34QQ4DO.js +0 -2
- package/dist/cdn/FDJGQHUA.js +0 -2
- package/dist/cdn/FF7BSRYW.js +0 -2
- package/dist/cdn/FIZMK7GS.js +0 -1
- package/dist/cdn/G26V76WA.js +0 -2
- package/dist/cdn/GCEBFEZ5.js +0 -2
- package/dist/cdn/GFNCEZSN.js +0 -2
- package/dist/cdn/GHVT7W4O.js +0 -2
- package/dist/cdn/GII4POXM.js +0 -2
- package/dist/cdn/GIIYVCKT.js +0 -2
- package/dist/cdn/GJKFDTVX.js +0 -2
- package/dist/cdn/GK47522P.js +0 -2
- package/dist/cdn/GS2HJTMU.js +0 -2
- package/dist/cdn/GUHSWQMF.js +0 -2
- package/dist/cdn/GUZYCRYS.js +0 -2
- package/dist/cdn/HDHWPKJ4.js +0 -2
- package/dist/cdn/HKLBQ7JD.js +0 -2
- package/dist/cdn/HQSY7TKA.js +0 -2
- package/dist/cdn/IDIAWXUO.js +0 -2
- package/dist/cdn/IFR4IYSI.js +0 -2
- package/dist/cdn/IITDAOGZ.js +0 -2
- package/dist/cdn/ILQDA7LL.js +0 -2
- package/dist/cdn/IQOQTYRR.js +0 -2
- package/dist/cdn/JBK5HTJ2.js +0 -2
- package/dist/cdn/JF7VJGL4.js +0 -2
- package/dist/cdn/K23R26AN.js +0 -2
- package/dist/cdn/K7ELALW4.js +0 -2
- package/dist/cdn/K7XSWKZ2.js +0 -2
- package/dist/cdn/KCLVDXWB.js +0 -2
- package/dist/cdn/KFTFKI6A.js +0 -2
- package/dist/cdn/KGUALNRF.js +0 -4
- package/dist/cdn/KLVBRTYU.js +0 -2
- package/dist/cdn/KPUEQZ7O.js +0 -2
- package/dist/cdn/KVYBIOH5.js +0 -2
- package/dist/cdn/L2F4HQYY.js +0 -2
- package/dist/cdn/L46JLXJT.js +0 -2
- package/dist/cdn/LC37F7HF.js +0 -2
- package/dist/cdn/LKAJVIS2.js +0 -2
- package/dist/cdn/M2LKA37F.js +0 -2
- package/dist/cdn/M42QFFPZ.js +0 -2
- package/dist/cdn/M5KYBYZT.js +0 -2
- package/dist/cdn/MA2GVVQJ.js +0 -2
- package/dist/cdn/MCMACXJV.js +0 -2
- package/dist/cdn/MDWBYUFG.js +0 -2
- package/dist/cdn/MFWSWLBW.js +0 -2
- package/dist/cdn/MMYODAC2.js +0 -2
- package/dist/cdn/MQYTZX24.js +0 -2
- package/dist/cdn/MUNSXJ5X.js +0 -2
- package/dist/cdn/MWIDHMQZ.js +0 -2
- package/dist/cdn/NFCFPU7K.js +0 -2
- package/dist/cdn/NJPPZJ3L.js +0 -2
- package/dist/cdn/NQOS7L2J.js +0 -2
- package/dist/cdn/NY7RHFLZ.js +0 -2
- package/dist/cdn/O5YJPUFM.js +0 -2
- package/dist/cdn/O6HYZKBU.js +0 -2
- package/dist/cdn/OPNJGHML.js +0 -2
- package/dist/cdn/OSDGWHZZ.js +0 -2
- package/dist/cdn/P3PXDT5V.js +0 -2
- package/dist/cdn/PBYHBRG7.js +0 -2
- package/dist/cdn/PDH2DA3L.js +0 -2
- package/dist/cdn/PGK2ZJCX.js +0 -2
- package/dist/cdn/PGSBUAGV.js +0 -2
- package/dist/cdn/PGXNWDD3.js +0 -2
- package/dist/cdn/PJ5OUPGO.js +0 -2
- package/dist/cdn/PMRI66RQ.js +0 -2
- package/dist/cdn/PZSKFFTG.js +0 -2
- package/dist/cdn/PZUVKZGQ.js +0 -2
- package/dist/cdn/QOIURU47.js +0 -2
- package/dist/cdn/QPSAD5DG.js +0 -2
- package/dist/cdn/QTB5YKHB.js +0 -2
- package/dist/cdn/QWIDIEXY.js +0 -2
- package/dist/cdn/R5QMO5FY.js +0 -2
- package/dist/cdn/R5TCWJ6V.js +0 -2
- package/dist/cdn/R5YW65AI.js +0 -2
- package/dist/cdn/R67ZOCIR.js +0 -2
- package/dist/cdn/RGTUSH6U.js +0 -2
- package/dist/cdn/RVEUCXT4.js +0 -2
- package/dist/cdn/RZGWZ2FJ.js +0 -2
- package/dist/cdn/S7ORGB5E.js +0 -2
- package/dist/cdn/SEY3WDK2.js +0 -2
- package/dist/cdn/SG55TVJ5.js +0 -2
- package/dist/cdn/SHU4AE2X.js +0 -2
- package/dist/cdn/SIZZ3BQA.js +0 -2
- package/dist/cdn/SK5CTCTZ.js +0 -2
- package/dist/cdn/SLAFIIZU.js +0 -2
- package/dist/cdn/SLSGW7B6.js +0 -2
- package/dist/cdn/SNNAV3AS.js +0 -2
- package/dist/cdn/SR4V2CUQ.js +0 -2
- package/dist/cdn/TA723HWT.js +0 -2
- package/dist/cdn/THJMCEEO.js +0 -2
- package/dist/cdn/TIBX6CCV.js +0 -2
- package/dist/cdn/TJQ3GP5V.js +0 -2
- package/dist/cdn/TO6SOEDF.js +0 -2
- package/dist/cdn/TPVHN6P2.js +0 -2
- package/dist/cdn/TSNUOFL7.js +0 -2
- package/dist/cdn/U5DIWFPP.js +0 -2
- package/dist/cdn/UTV2A7J4.js +0 -2
- package/dist/cdn/UUNHAVGJ.js +0 -2
- package/dist/cdn/VDKEQI3H.js +0 -2
- package/dist/cdn/VZ6UFS6H.js +0 -2
- package/dist/cdn/W6PA72LV.js +0 -2
- package/dist/cdn/WK4TNKKC.js +0 -2
- package/dist/cdn/WQI5PKS4.js +0 -2
- package/dist/cdn/WUTCKBNC.js +0 -2
- package/dist/cdn/X7BOBKIH.js +0 -2
- package/dist/cdn/XCTPKDKL.js +0 -2
- package/dist/cdn/XYF36P2O.js +0 -2
- package/dist/cdn/Y42K6IOP.js +0 -2
- package/dist/cdn/YCHVPSSP.js +0 -2
- package/dist/cdn/YFTQR2WS.js +0 -2
- package/dist/cdn/YTLRTUMD.js +0 -2
- package/dist/cdn/YZUSPKNF.js +0 -2
- package/dist/cdn/Z2ABUIL3.js +0 -2
- package/dist/cdn/Z3W7LQ5M.js +0 -2
- package/dist/cdn/Z7H4V2JZ.js +0 -2
- package/dist/cdn/ZF4DFDLT.js +0 -2
- package/dist/cdn/ZFO3PVZQ.js +0 -2
- package/dist/cdn/ZGOAZB5L.js +0 -2
- package/dist/cdn/ZKWI43WZ.js +0 -2
- /package/dist/cdn/{ND3V4Z4F.js → 33LESQ6T.js} +0 -0
|
@@ -1,55 +1,56 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as B, html as
|
|
4
|
-
import { keyed as
|
|
2
|
+
import { c as P } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as B, html as n } from "lit";
|
|
4
|
+
import { keyed as E } from "lit/directives/keyed.js";
|
|
5
5
|
import H from "@arcgis/core/support/actions/ActionButton.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { LitElement as
|
|
9
|
-
import { useDirection as
|
|
6
|
+
import T from "@arcgis/core/core/Collection.js";
|
|
7
|
+
import z from "@arcgis/core/popup/FeaturesModel.js";
|
|
8
|
+
import { LitElement as V, createEvent as y, renderElement as Z, nothing as g, safeClassMap as x } from "@arcgis/lumina";
|
|
9
|
+
import { useDirection as U, usePropertyChange as K, bypassReadOnly as D } from "@arcgis/lumina/controllers";
|
|
10
10
|
import { classes as I } from "@arcgis/toolkit/dom";
|
|
11
|
-
import { slotChangeHasContent as
|
|
12
|
-
import { createRef as _, ref as
|
|
13
|
-
import { initializeProjection as
|
|
14
|
-
import { t as
|
|
15
|
-
import { m as
|
|
11
|
+
import { slotChangeHasContent as L } from "@arcgis/toolkit/dom/slots";
|
|
12
|
+
import { createRef as _, ref as m } from "lit/directives/ref.js";
|
|
13
|
+
import { initializeProjection as j } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
14
|
+
import { t as q } from "../../chunks/action-utils.js";
|
|
15
|
+
import { m as G } from "../../chunks/useViewModel.js";
|
|
16
16
|
import { renderingSanitizer as w } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
17
|
-
import { stripHTML as
|
|
18
|
-
import { substitute as
|
|
19
|
-
import { u as
|
|
20
|
-
import { when as
|
|
21
|
-
import { getGraphicOriginTitle as
|
|
22
|
-
import { a as
|
|
23
|
-
import { b as
|
|
17
|
+
import { stripHTML as M } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
18
|
+
import { substitute as u, formatNumber as b } from "@arcgis/core/intl.js";
|
|
19
|
+
import { u as W } from "../../chunks/useT9n.js";
|
|
20
|
+
import { when as X, watch as h } from "@arcgis/core/core/reactiveUtils.js";
|
|
21
|
+
import { getGraphicOriginTitle as J } from "@arcgis/core/graphic/getGraphicOriginTitle.js";
|
|
22
|
+
import { a as S } from "../../chunks/maybe.js";
|
|
23
|
+
import { b as Q, a as Y, c as ee } from "../../chunks/keyboard-utils.js";
|
|
24
24
|
import { g as R } from "../../chunks/feature-utils.js";
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
import { c as k } from "../../chunks/loader-utils.js";
|
|
26
|
+
const te = B`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-item-header-border-block-end: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty,.content-hidden){padding:var(--arcgis-internal-padding-md, var(--calcite-spacing-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-spacing-xxs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.content-feature{--calcite-flow-item-footer-padding: 0;--calcite-flow-header-top-space: 0}.feature-menu-observer{flex:0 0 1px;height:1px;margin-block-start:-1px}.action-exit{transform:scaleX(-1)}.flow-item-drill-in{--calcite-flow-item-footer-padding: 0}.diagnostics-notice{padding:var(--calcite-space-md)}`;
|
|
27
|
+
function ie(v) {
|
|
27
28
|
return v?.declaredClass.startsWith("esri.layers.") ?? !1;
|
|
28
29
|
}
|
|
29
|
-
function
|
|
30
|
+
function se(v) {
|
|
30
31
|
if (!(!v || !("featureReduction" in v)))
|
|
31
32
|
return v.featureReduction?.type;
|
|
32
33
|
}
|
|
33
|
-
const
|
|
34
|
-
class oe extends
|
|
34
|
+
const ae = G(z), ne = 5;
|
|
35
|
+
class oe extends V {
|
|
35
36
|
constructor() {
|
|
36
37
|
super(...arguments), this._zoomToFeature = new H({
|
|
37
38
|
icon: "magnifying-glass-plus",
|
|
38
39
|
id: "zoom-to-feature",
|
|
39
40
|
title: "{messages.zoom}"
|
|
40
41
|
}), this._fetchFeaturesController = null, this._featureMenuIntersectionObserverCallback = ([e]) => {
|
|
41
|
-
e?.isIntersecting && this.
|
|
42
|
+
e?.isIntersecting && this._loadMoreFeatures();
|
|
42
43
|
}, this._featureMenuIntersectionObserver = new IntersectionObserver(this._featureMenuIntersectionObserverCallback, {
|
|
43
44
|
root: window.document
|
|
44
|
-
}), this._featureMenuIntersectionObserverNode = null, this._setFocusAnimationFrameId = null, this._setFocusAnimationFrameResolve = null, this._rootFlowItemNode = _(), this._featureMenuViewportNode = _(), this._actionBarMenuNode = _(), this._flowContainerNode = _(), this._aggregatedFeaturesComponent = _(), this.messages =
|
|
45
|
-
this._openRelatedFeatureAbortController =
|
|
46
|
-
}, this._spinnerVisible = !1, this.
|
|
45
|
+
}), this._featureMenuIntersectionObserverNode = null, this._setFocusAnimationFrameId = null, this._setFocusAnimationFrameResolve = null, this._rootFlowItemNode = _(), this._featureMenuViewportNode = _(), this._actionBarMenuNode = _(), this._flowContainerNode = _(), this._aggregatedFeaturesComponent = _(), this.messages = W(), this._selectedFeatureComponent = _(), this._actionFlowItems = /* @__PURE__ */ new WeakSet(), this._direction = U(), this._cancelOpenRelatedFeature = () => {
|
|
46
|
+
this._openRelatedFeatureAbortController = S(this._openRelatedFeatureAbortController);
|
|
47
|
+
}, this._spinnerVisible = !1, this._openRelatedFeatureAbortController = null, this.flowItems = new T(), this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._aggregatedFeaturesLoading = !1, this._hasActionsStartSlotContent = !1, this._hasActionsEndSlotContent = !1, this._selectedFeatureLoading = !1, this._lastSettledCollapseEnabled = !1, this._lastSettledHeading = "", this.viewModel = ae(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.focusTrapEnabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.diagnostics = this.viewModel.diagnostics, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.effectiveHeading = this.viewModel.effectiveHeading, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = !1, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureItemAbilities = this.viewModel.featureItemAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new T(), this.heading = this.viewModel.heading, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSelectFeature = !1, this.hideSpinner = !1, this.hideContent = !1, this.chartAnimationDisabled = this.viewModel.featureItemAbilities?.chartAnimation, this.hideAttachmentsContent = this.viewModel.featureItemAbilities?.attachmentsContent, this.hideEmptyRelationshipContent = !1, this.hideCustomContent = this.viewModel.featureItemAbilities?.customContent, this.hideExpressionContent = !1, this.hideFieldsContent = this.viewModel.featureItemAbilities?.fieldsContent, this.hideMediaContent = this.viewModel.featureItemAbilities?.mediaContent, this.hideRelationshipContent = this.viewModel.featureItemAbilities?.relationshipContent, this.hideTextContent = this.viewModel.featureItemAbilities?.textContent, this.hideUtilityNetworkContent = this.viewModel.featureItemAbilities?.utilityNetworkAssociationsContent, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.open = this.viewModel.open, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisClose = y(), this.arcgisPropertyChange = K()("active", "collapsed", "effectiveHeading", "featureCount", "featureMenuOpen", "features", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = y(), this.arcgisTriggerAction = y();
|
|
47
48
|
}
|
|
48
49
|
static {
|
|
49
|
-
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _aggregatedFeatureCount: 16, _selectedAggregatedFeatureIndex: 16, _aggregatedFeaturesLoading: 16, _hasActionsStartSlotContent: 16, _hasActionsEndSlotContent: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, _selectedFeatureHeading: 16,
|
|
50
|
+
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _aggregatedFeatureCount: 16, _selectedAggregatedFeatureIndex: 16, _aggregatedFeaturesLoading: 16, _hasActionsStartSlotContent: 16, _hasActionsEndSlotContent: 16, _selectedFeatureLoading: 16, _lastSettledCollapseEnabled: 16, _lastSettledHeading: 16, _selectedFeatureViewModel: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, _selectedFeatureHeading: 16, _headingLabel: 16, _backLabel: 16, _selectedFeatureContent: 16, _selectedFeaturePending: 16, _featureFlowItemSelected: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, focusTrapEnabled: 5, collapseDirection: 1, collapsed: 5, content: 1, diagnostics: 0, defaultPopupTemplateEnabled: 5, effectiveHeading: 32, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureItemAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSelectFeature: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideEmptyRelationshipContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
|
|
50
51
|
}
|
|
51
52
|
static {
|
|
52
|
-
this.styles =
|
|
53
|
+
this.styles = te;
|
|
53
54
|
}
|
|
54
55
|
get _hideActionText() {
|
|
55
56
|
if (!this.responsiveActionsEnabled)
|
|
@@ -64,17 +65,29 @@ class oe extends z {
|
|
|
64
65
|
return this._collapseEnabled && this.collapsed;
|
|
65
66
|
}
|
|
66
67
|
get _collapseEnabled() {
|
|
67
|
-
return this.showCollapseButton && (this.initialDisplayMode === "list" || !!(this.heading || this._selectedFeatureHeading) && !!(this.content || this._selectedFeatureContent));
|
|
68
|
+
return this.showCollapseButton && (this.initialDisplayMode === "list" || !!(this.heading || this._selectedFeatureHeading) && !!(this.content || this._selectedFeatureContent) || this._selectedFeaturePending && this._lastSettledCollapseEnabled);
|
|
68
69
|
}
|
|
69
70
|
get _selectedFeatureHeading() {
|
|
70
71
|
return this.viewModel.selectedFeatureItem?.heading;
|
|
71
72
|
}
|
|
72
|
-
get
|
|
73
|
-
|
|
73
|
+
get _headingLabel() {
|
|
74
|
+
const e = this._selectedFeatureHeading ?? this.heading;
|
|
75
|
+
return e ? M(e) : void 0;
|
|
76
|
+
}
|
|
77
|
+
get _backLabel() {
|
|
78
|
+
const e = this._headingLabel, { messages: t } = this;
|
|
79
|
+
return e ? u(t.backLabel ?? "", { title: e }) : t.back;
|
|
74
80
|
}
|
|
75
81
|
get _selectedFeatureContent() {
|
|
76
82
|
return this.viewModel.selectedFeatureItem?.content;
|
|
77
83
|
}
|
|
84
|
+
get _selectedFeaturePending() {
|
|
85
|
+
const { selectedFeature: e, selectedFeatureItem: t } = this.viewModel;
|
|
86
|
+
if (!e)
|
|
87
|
+
return !1;
|
|
88
|
+
const i = this._selectedFeatureViewModel, s = i?.state;
|
|
89
|
+
return t == null || t.waitingForContent || i?.graphic !== e || s !== "ready" && s !== "error";
|
|
90
|
+
}
|
|
78
91
|
get _featureFlowItemSelected() {
|
|
79
92
|
return this.initialDisplayMode === "list" ? !!this.selectedFeature : !this.featureMenuOpen;
|
|
80
93
|
}
|
|
@@ -85,16 +98,16 @@ class oe extends z {
|
|
|
85
98
|
this.open = !1;
|
|
86
99
|
}
|
|
87
100
|
async destroy() {
|
|
88
|
-
await this.manager.destroy(), this.
|
|
101
|
+
await this.manager.destroy(), this._removeSpinner(this.referenceElement), this._cancelOpenRelatedFeature(), this._cancelSetFocusAnimationFrame(), this._removeFlowItems(), this._unobserveFeatureMenuObserver(), this._cancelFetchingFeatures(), this._featureMenuIntersectionObserver?.disconnect();
|
|
89
102
|
}
|
|
90
103
|
async fetchFeatures(e, t) {
|
|
91
104
|
this._cancelFetchingFeatures();
|
|
92
|
-
const { signal: i } = t ?? {}, s = new AbortController(), { signal:
|
|
93
|
-
this._fetchFeaturesController = s, !e && this.view && this.location && (await
|
|
94
|
-
signal:
|
|
105
|
+
const { signal: i } = t ?? {}, s = new AbortController(), { signal: a } = s, o = i ? AbortSignal.any([a, i]) : a;
|
|
106
|
+
this._fetchFeaturesController = s, !e && this.view && this.location && (await j(this.location.spatialReference, this.view.spatialReference, null, {
|
|
107
|
+
signal: o
|
|
95
108
|
}), e = this.view.toScreen(this.location) ?? void 0), e && await this.viewModel.fetchFeatures(e, {
|
|
96
109
|
...t,
|
|
97
|
-
signal:
|
|
110
|
+
signal: o
|
|
98
111
|
});
|
|
99
112
|
}
|
|
100
113
|
next() {
|
|
@@ -120,13 +133,34 @@ class oe extends z {
|
|
|
120
133
|
connectedCallback() {
|
|
121
134
|
super.connectedCallback(), this._createSpinner();
|
|
122
135
|
}
|
|
136
|
+
willUpdate() {
|
|
137
|
+
const e = this._selectedFeaturePending, { effectiveHeading: t } = this.viewModel;
|
|
138
|
+
e || (this._lastSettledCollapseEnabled = this._collapseEnabled), (t || !e) && (this._lastSettledHeading = t ?? "");
|
|
139
|
+
}
|
|
123
140
|
updated() {
|
|
124
141
|
const e = this._selectedFeatureComponent.value ?? void 0;
|
|
125
|
-
this.selectedFeatureComponent !== e && D(() => this.selectedFeatureComponent = e)
|
|
142
|
+
this.selectedFeatureComponent !== e && (this._selectedFeatureViewModel = e?.viewModel, D(() => this.selectedFeatureComponent = e)), this.componentOnReady().then(() => {
|
|
143
|
+
const t = this._featureMenuIntersectionObserverNode;
|
|
144
|
+
this.isConnected && t && (this._featureMenuIntersectionObserver.unobserve(t), this._featureMenuIntersectionObserver.observe(t));
|
|
145
|
+
});
|
|
126
146
|
}
|
|
127
147
|
loaded() {
|
|
128
148
|
this.manager.onLifecycle(() => [
|
|
129
|
-
|
|
149
|
+
k({
|
|
150
|
+
getLoading: () => this.viewModel.waitingForResult,
|
|
151
|
+
setEffectiveLoading: (e) => {
|
|
152
|
+
this._spinnerVisible = e, this._createSpinner();
|
|
153
|
+
},
|
|
154
|
+
timeout: 25,
|
|
155
|
+
minShownDuration: 0
|
|
156
|
+
}),
|
|
157
|
+
k({
|
|
158
|
+
getLoading: () => this._selectedFeaturePending,
|
|
159
|
+
setEffectiveLoading: (e) => {
|
|
160
|
+
this._selectedFeatureLoading = e;
|
|
161
|
+
}
|
|
162
|
+
}),
|
|
163
|
+
X(() => [this.initialDisplayMode === "list" && !!this.viewModel?.selectedFeature, this.viewModel?.active], () => {
|
|
130
164
|
this.setFocus();
|
|
131
165
|
}),
|
|
132
166
|
h(() => [this.flowItems?.length, this.featureMenuOpen], () => {
|
|
@@ -136,8 +170,14 @@ class oe extends z {
|
|
|
136
170
|
h(() => this.viewModel?.view?.scale, () => this._viewScaleChange()),
|
|
137
171
|
h(() => this.viewModel?.view, (e, t) => t && this._viewChange()),
|
|
138
172
|
h(() => this._spinnerEl?.screenLocation, () => this._closeOpenActionMenu()),
|
|
139
|
-
h(() => this.selectedFeatureComponent?.viewModel, () => this._removeFlowItems()),
|
|
140
|
-
h(() => this.viewModel?.
|
|
173
|
+
h(() => this.selectedFeatureComponent?.viewModel, (e, t) => t && this._removeFlowItems()),
|
|
174
|
+
h(() => [this.viewModel?.features.at(0), this.viewModel?.featureCount ?? 0], ([e, t], i) => {
|
|
175
|
+
const [s, a] = i ?? [void 0, 0];
|
|
176
|
+
(e !== s || t < a) && this._featureMenuViewportScrollTop();
|
|
177
|
+
}),
|
|
178
|
+
h(() => [this.featureMenuOpen, this.initialDisplayMode, this.open], () => {
|
|
179
|
+
this.viewModel.featureMenuOpen = this.featureMenuOpen, this.open && (this.featureMenuOpen || this.initialDisplayMode === "list") && (this.viewModel.featurePage = 1);
|
|
180
|
+
}, { initial: !0 }),
|
|
141
181
|
h(() => this.flowItems.toArray(), () => this._handleFlowItemsChange(), { initial: !0 }),
|
|
142
182
|
h(() => this.viewModel.aggregatedFeaturesEnabled, (e) => {
|
|
143
183
|
e || (this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._aggregatedFeaturesLoading = !1, this._removeFlowItems());
|
|
@@ -150,13 +190,16 @@ class oe extends z {
|
|
|
150
190
|
this.viewModel?.view,
|
|
151
191
|
this.viewModel?.location,
|
|
152
192
|
this.viewModel?.pendingLocation,
|
|
153
|
-
this.viewModel?.waitingForResult,
|
|
154
193
|
this.viewModel?.open
|
|
155
194
|
], () => this._createSpinner(), { initial: !0 })
|
|
156
195
|
]);
|
|
157
196
|
}
|
|
158
197
|
disconnectedCallback() {
|
|
159
|
-
super.disconnectedCallback(), this.
|
|
198
|
+
super.disconnectedCallback(), this._selectedFeatureLoading = !1, this._spinnerVisible = !1, this._cancelSetFocusAnimationFrame(), this._removeSpinner(this.referenceElement);
|
|
199
|
+
}
|
|
200
|
+
_loadMoreFeatures() {
|
|
201
|
+
const { viewModel: e } = this, { featurePage: t, featuresPerPage: i, features: s } = e;
|
|
202
|
+
e.open && (this.initialDisplayMode === "list" || this.featureMenuOpen) && t != null && t * i < s.length && (e.featurePage = t + 1);
|
|
160
203
|
}
|
|
161
204
|
_resolveSetFocusAnimationFrame() {
|
|
162
205
|
const e = this._setFocusAnimationFrameResolve;
|
|
@@ -166,21 +209,19 @@ class oe extends z {
|
|
|
166
209
|
this._setFocusAnimationFrameId != null && (cancelAnimationFrame(this._setFocusAnimationFrameId), this._setFocusAnimationFrameId = null), this._resolveSetFocusAnimationFrame();
|
|
167
210
|
}
|
|
168
211
|
_cancelFetchingFeatures() {
|
|
169
|
-
this._fetchFeaturesController =
|
|
212
|
+
this._fetchFeaturesController = S(this._fetchFeaturesController);
|
|
170
213
|
}
|
|
171
214
|
_handleClose() {
|
|
172
215
|
this.close(), this.arcgisClose.emit();
|
|
173
216
|
}
|
|
174
217
|
_groupResultsByLayer() {
|
|
175
|
-
const {
|
|
176
|
-
|
|
177
|
-
const
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
o || (o = [], t.set(r, o)), o.push(i);
|
|
183
|
-
}), t;
|
|
218
|
+
const { features: e, featurePage: t, featuresPerPage: i } = this.viewModel, s = /* @__PURE__ */ new Map(), a = Math.min((t ?? 0) * i, e.length);
|
|
219
|
+
for (let o = 0; o < a; o++) {
|
|
220
|
+
const r = e[o], l = R(r), d = ie(l) ? l : null;
|
|
221
|
+
let c = s.get(d);
|
|
222
|
+
c || (c = [], s.set(d, c)), c.push(o);
|
|
223
|
+
}
|
|
224
|
+
return s;
|
|
184
225
|
}
|
|
185
226
|
_handleCollapseToggle() {
|
|
186
227
|
this.collapsed = !this.collapsed;
|
|
@@ -197,11 +238,11 @@ class oe extends z {
|
|
|
197
238
|
}
|
|
198
239
|
if (this._removeFlowItems(), await this.viewModel.zoomTo({ target: s }), t.signal.aborted)
|
|
199
240
|
return;
|
|
200
|
-
const { labelPointExecute:
|
|
241
|
+
const { labelPointExecute: a } = await import("@arcgis/core/geometry/operators/labelPointOperator.js");
|
|
201
242
|
if (t.signal.aborted)
|
|
202
243
|
return;
|
|
203
|
-
const
|
|
204
|
-
|
|
244
|
+
const o = a(s);
|
|
245
|
+
o != null && (this.location = o), this.features = [i], this.open = !0, this._openRelatedFeatureAbortController = null;
|
|
205
246
|
}
|
|
206
247
|
_handlePaginationMenuButton() {
|
|
207
248
|
this._updateFeatureMenu();
|
|
@@ -241,22 +282,24 @@ class oe extends z {
|
|
|
241
282
|
this._featureMenuIntersectionObserverNode && this._featureMenuIntersectionObserver.unobserve(this._featureMenuIntersectionObserverNode);
|
|
242
283
|
}
|
|
243
284
|
_featureMenuIntersectionObserverCreated(e) {
|
|
244
|
-
this.
|
|
285
|
+
e !== this._featureMenuIntersectionObserverNode && (this._unobserveFeatureMenuObserver(), this._featureMenuIntersectionObserverNode = e ?? null);
|
|
245
286
|
}
|
|
246
287
|
_getActionLabel(e, t) {
|
|
247
|
-
|
|
248
|
-
|
|
288
|
+
if (e.id !== "zoom-to-feature")
|
|
289
|
+
return null;
|
|
290
|
+
const { messages: i } = this, s = t?.heading, a = t ? s && M(s) : this._headingLabel;
|
|
291
|
+
return a ? u(i.zoomLabel ?? "", {
|
|
249
292
|
messages: i,
|
|
250
|
-
title:
|
|
251
|
-
}) :
|
|
293
|
+
title: a
|
|
294
|
+
}) : i.zoom ?? "";
|
|
252
295
|
}
|
|
253
296
|
_getActionTitle(e, t) {
|
|
254
|
-
const { messages: i } = this, s = t ? t.graphic : this.selectedFeature, { id:
|
|
255
|
-
return l &&
|
|
297
|
+
const { messages: i } = this, s = t ? t.graphic : this.selectedFeature, { id: a } = e, o = s?.attributes, r = e.title ?? "", l = a === "zoom-to-feature" ? u(r, { messages: i }) : a === "remove-selected-feature" ? u(r, { messages: i }) : a === "zoom-to-aggregated-features" ? u(r, { messages: i }) : a === "browse-aggregated-features" ? u(r, { messages: i }) : e.title;
|
|
298
|
+
return l && o ? u(l, o) : l ?? "";
|
|
256
299
|
}
|
|
257
300
|
_onMainKeydown(e) {
|
|
258
301
|
const { key: t } = e;
|
|
259
|
-
e.defaultPrevented ||
|
|
302
|
+
e.defaultPrevented || Q(e) || (Y(t, this._direction, { horizontalOnly: !0 }) && (e.preventDefault(), e.stopPropagation(), this._closeFeatureMenu(), this.previous()), ee(t, this._direction, { horizontalOnly: !0 }) && (e.preventDefault(), e.stopPropagation(), this._closeFeatureMenu(), this.next()));
|
|
260
303
|
}
|
|
261
304
|
_featureMenuViewportScrollTop() {
|
|
262
305
|
this._featureMenuViewportNode.value?.scrollContentTo({ top: 0 });
|
|
@@ -270,11 +313,11 @@ class oe extends z {
|
|
|
270
313
|
return;
|
|
271
314
|
e?.type === "toggle" && (e.value = !e.value);
|
|
272
315
|
const i = t && "allActions" in t ? t.viewModel : void 0;
|
|
273
|
-
|
|
316
|
+
q(e, this.viewModel, i), this.arcgisTriggerAction.emit({ action: e });
|
|
274
317
|
}
|
|
275
318
|
_viewScaleChange() {
|
|
276
319
|
const { selectedFeature: e } = this, t = R(e);
|
|
277
|
-
!e?.isAggregate ||
|
|
320
|
+
!e?.isAggregate || se(t) !== "cluster" || (this.viewModel.aggregatedFeaturesEnabled = !1, this.open = !1, this.clear());
|
|
278
321
|
}
|
|
279
322
|
_viewChange() {
|
|
280
323
|
this.viewModel.clear(), this.open = !1, this._aggregatedFeatureCount = 0, this._removeFlowItems();
|
|
@@ -315,39 +358,33 @@ class oe extends z {
|
|
|
315
358
|
this.flowItems?.pop()?.destroy();
|
|
316
359
|
}
|
|
317
360
|
_getHeading() {
|
|
361
|
+
if (this.hideHeading)
|
|
362
|
+
return "";
|
|
318
363
|
const { effectiveHeading: e } = this.viewModel;
|
|
319
|
-
return !this.
|
|
364
|
+
return e || !this._selectedFeaturePending ? e ?? "" : this._lastSettledHeading || (this._selectedFeatureLoading ? this.messages.loading ?? "" : "");
|
|
320
365
|
}
|
|
321
366
|
_handleActionsStartSlotChange(e) {
|
|
322
|
-
this._hasActionsStartSlotContent =
|
|
367
|
+
this._hasActionsStartSlotContent = L(e);
|
|
323
368
|
}
|
|
324
369
|
_handleActionsEndSlotChange(e) {
|
|
325
|
-
this._hasActionsEndSlotContent =
|
|
370
|
+
this._hasActionsEndSlotContent = L(e);
|
|
326
371
|
}
|
|
327
372
|
_removeSpinner(e) {
|
|
328
373
|
e?.manager?.component?.extraContent?.remove(this._spinnerEl), this._spinnerEl = void 0;
|
|
329
374
|
}
|
|
330
|
-
_clearSpinnerVisibilityTimeout() {
|
|
331
|
-
this._spinnerVisibilityTimeout != null && (clearTimeout(this._spinnerVisibilityTimeout), this._spinnerVisibilityTimeout = null);
|
|
332
|
-
}
|
|
333
|
-
_getSpinnerTrackLocation() {
|
|
334
|
-
return !this.hideSpinner && this.viewModel.open && this.viewModel?.waitingForResult ? this._spinnerVisible ? !0 : (this._spinnerVisibilityTimeout ??= setTimeout(() => {
|
|
335
|
-
this._spinnerVisibilityTimeout = null, this._spinnerVisible = !0, this._createSpinner();
|
|
336
|
-
}, ne), !1) : (this._clearSpinnerVisibilityTimeout(), this._spinnerVisible = !1, !1);
|
|
337
|
-
}
|
|
338
375
|
_createSpinner() {
|
|
339
376
|
const e = this.referenceElement;
|
|
340
|
-
e && (this._removeSpinner(e), this._spinnerEl =
|
|
377
|
+
e && (this._removeSpinner(e), this._spinnerEl = Z(n`<arcgis-spinner .label=${this.messages.loading ?? ""} .trackLocation=${!this.hideSpinner && this.viewModel.open && this._spinnerVisible} .location=${this.viewModel?.pendingLocation ?? this.viewModel?.location ?? void 0} .referenceElement=${e} .view=${this.viewModel?.view ?? void 0}></arcgis-spinner>`), e.manager?.component?.extraContent?.add(this._spinnerEl));
|
|
341
378
|
}
|
|
342
379
|
#e(e) {
|
|
343
380
|
const t = e && "allActions" in e ? e : void 0, { selectedFeatureItem: i } = this.viewModel;
|
|
344
381
|
if (t && !t.allActions)
|
|
345
382
|
return [];
|
|
346
383
|
const s = t ? t.isFeatureFromTable : i?.isFeatureFromTable;
|
|
347
|
-
return (t?.allActions ?? i?.allActions ?? (!e && this.viewModel.includeDefaultActions ? this.viewModel.defaultActions.concat(this.viewModel.actions) : this.viewModel.actions)).toArray().filter((
|
|
384
|
+
return (t?.allActions ?? i?.allActions ?? (!e && this.viewModel.includeDefaultActions ? this.viewModel.defaultActions.concat(this.viewModel.actions) : this.viewModel.actions)).toArray().filter((r) => !(e && r.id === "browse-aggregated-features") && !(s && !this.location && r.id === this._zoomToFeature.id));
|
|
348
385
|
}
|
|
349
386
|
render() {
|
|
350
|
-
return
|
|
387
|
+
return n`<div class="root">${this._renderContentContainer()}</div>`;
|
|
351
388
|
}
|
|
352
389
|
_renderFeatureNavigation() {
|
|
353
390
|
return [
|
|
@@ -356,61 +393,56 @@ class oe extends z {
|
|
|
356
393
|
];
|
|
357
394
|
}
|
|
358
395
|
_renderHeader() {
|
|
359
|
-
return this.featureNavigationTop && this._featureNavigationVisible ?
|
|
396
|
+
return this.featureNavigationTop && this._featureNavigationVisible ? n`<div slot=header-top class="header">${this._renderFeatureNavigation()}</div>` : null;
|
|
360
397
|
}
|
|
361
398
|
_renderFooter() {
|
|
362
|
-
return !this.featureNavigationTop && this._featureNavigationVisible ?
|
|
399
|
+
return !this.featureNavigationTop && this._featureNavigationVisible ? n`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>` : null;
|
|
363
400
|
}
|
|
364
401
|
_renderFeaturePaginationText(e, t) {
|
|
365
402
|
const { messages: i } = this;
|
|
366
|
-
return
|
|
367
|
-
index:
|
|
368
|
-
total:
|
|
403
|
+
return n`<div class="pagination-text">${u(i.pageText ?? "", {
|
|
404
|
+
index: b(t + 1),
|
|
405
|
+
total: b(e)
|
|
369
406
|
})}</div>`;
|
|
370
407
|
}
|
|
371
408
|
_renderFeatureMenuButton() {
|
|
372
|
-
const { messages: e, viewModel: t } = this, { featureCount: i, streamingFeatures: s, selectedFeatureIndex:
|
|
373
|
-
return
|
|
374
|
-
index:
|
|
375
|
-
total:
|
|
409
|
+
const { messages: e, viewModel: t } = this, { featureCount: i, streamingFeatures: s, selectedFeatureIndex: a } = t;
|
|
410
|
+
return n`<calcite-action class="pagination-menu-button" icon=list .label=${e.showAllFeatures ?? ""} .loading=${s} @click=${this._handlePaginationMenuButton} .text=${u(e.pageText ?? "", {
|
|
411
|
+
index: b(a + 1),
|
|
412
|
+
total: b(i)
|
|
376
413
|
})} text-enabled title=${e.showAllFeatures ?? "" ?? g}></calcite-action>`;
|
|
377
414
|
}
|
|
378
415
|
_renderPagination(e, t) {
|
|
379
416
|
const { previous: i, next: s } = this.messages;
|
|
380
|
-
return
|
|
417
|
+
return n`<calcite-action-bar class="pagination-action-bar" expand-toggle-disabled layout=horizontal overflow-mode=none scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${i ?? ""} @click=${e} .text=${i ?? ""} title=${i ?? "" ?? g}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${s ?? ""} @click=${t} .text=${s ?? ""} title=${s ?? "" ?? g}></calcite-action></calcite-action-group></calcite-action-bar>`;
|
|
381
418
|
}
|
|
382
|
-
_renderFeatureMenuItem(e
|
|
383
|
-
const { initialDisplayMode:
|
|
384
|
-
return
|
|
419
|
+
_renderFeatureMenuItem(e) {
|
|
420
|
+
const { initialDisplayMode: t } = this, { featureModels: i, selectedFeatureIndex: s } = this.viewModel, a = i[e], o = a?.state === "ready" ? a.heading : "", r = e === s;
|
|
421
|
+
return n`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(e)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(e)} .selected=${r} @calciteListItemSelect=${() => this._selectFeature(e)}><span .innerHTML=${(w.sanitize(o) || (a?.state === "loading" ? this.messages.loading : this.messages.untitled)) ?? ""} slot=content></span>${t === "list" ? n`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` : null}</calcite-list-item>`;
|
|
385
422
|
}
|
|
386
423
|
_renderFeatureMenu() {
|
|
387
|
-
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(), s =
|
|
388
|
-
t.
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
const o = i.get(r)?.map((c) => {
|
|
392
|
-
const u = s.get(c);
|
|
393
|
-
return u == null ? null : this._renderFeatureMenuItem(c, u);
|
|
394
|
-
}), l = r ? r.title ?? this.messages.untitled : null;
|
|
395
|
-
return !this.hideFeatureListLayerTitle && l !== null ? T(r ?? "map-graphics", a`<calcite-list-item-group .heading=${l}>${o}</calcite-list-item-group>`) : o;
|
|
424
|
+
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(), s = this.initialDisplayMode === "list" ? "none" : "single";
|
|
425
|
+
return t.features.length ? n`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${s}>${Array.from(i, ([a, o]) => {
|
|
426
|
+
const r = o.map((d) => this._renderFeatureMenuItem(d)), l = a ? a.title ?? this.messages.untitled : null;
|
|
427
|
+
return !this.hideFeatureListLayerTitle && l !== null ? E(a ?? "map-graphics", n`<calcite-list-item-group .heading=${l}>${r}</calcite-list-item-group>`) : r;
|
|
396
428
|
})}</calcite-list>` : null;
|
|
397
429
|
}
|
|
398
430
|
_renderHeaderAction(e) {
|
|
399
431
|
const t = e.title || "";
|
|
400
|
-
return e.visible ?
|
|
432
|
+
return e.visible ? n`<calcite-action .active=${e.type === "toggle" ? e.value : !1} .disabled=${e.disabled} .icon=${e.icon ?? void 0} .indicator=${e.active} .loading=${e.active} @click=${() => this._triggerAction(e)} slot=header-actions-end .text=${t} title=${t ?? g}></calcite-action>` : null;
|
|
401
433
|
}
|
|
402
434
|
_renderHeaderActions() {
|
|
403
435
|
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
404
436
|
}
|
|
405
437
|
_renderContentFeature(e) {
|
|
406
|
-
const { headingLevel: t, hideCloseButton: i, _isCollapsed: s, _collapseEnabled:
|
|
407
|
-
if (
|
|
438
|
+
const { headingLevel: t, hideCloseButton: i, _isCollapsed: s, _collapseEnabled: a, featureNavigationTop: o, initialDisplayMode: r, selectedFeature: l, hideHeading: d } = this, { active: c, selectedFeatureItem: f, content: C } = this.viewModel, p = this._getHeading();
|
|
439
|
+
if (r === "list" && !l)
|
|
408
440
|
return null;
|
|
409
|
-
const F =
|
|
410
|
-
return
|
|
441
|
+
const F = !this._selectedFeaturePending && (f ? !f.content : !C);
|
|
442
|
+
return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${x(I({
|
|
411
443
|
"content-feature": !0,
|
|
412
444
|
"flow-item-collapsed": s
|
|
413
|
-
}))} .closable=${!i} .closed=${!
|
|
445
|
+
}))} .closable=${!i} .closed=${!c} .collapsed=${s} .collapseDirection=${this.collapseDirection ?? (o ? "down" : "up")} .collapsible=${a} .headingLevel=${t} .selected=${e} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController || this._selectedFeatureLoading} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} @keydown=${this._onMainKeydown} .heading=${!d && p ? M(p) : void 0} ${m(this._rootFlowItemNode)}>${this._renderHeader()}${!d && p ? n`<div slot=heading><div .innerHTML=${w.sanitize(p ?? "") ?? ""}></div></div>` : null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${x(I("container", "content-container", {
|
|
414
446
|
"content-hidden": F
|
|
415
447
|
}))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
416
448
|
}
|
|
@@ -419,74 +451,72 @@ class oe extends z {
|
|
|
419
451
|
return t != null && "effectiveMaxZoom" in t.constraints && t.constraints.effectiveMaxZoom >= 0 && t.zoom >= t.constraints.effectiveMaxZoom ? e.maxRecordCountDescriptionRefineResultsMaxZoomLevel : e.maxRecordCountDescriptionRefineResults;
|
|
420
452
|
}
|
|
421
453
|
_renderDiagnosticsList(e) {
|
|
422
|
-
const { messages: t } = this, i = Array.from(e, (s) =>
|
|
423
|
-
return i.length ?
|
|
454
|
+
const { messages: t } = this, i = Array.from(e, (s) => J(s) ?? t.untitled);
|
|
455
|
+
return i.length ? n`<p>${t.maxRecordCountDescriptionWithLayerList}</p><ul>${i.map((s) => n`<li>${s}</li>`)}</ul><p>${this._renderDiagnosticsRefineResults()}</p>` : null;
|
|
424
456
|
}
|
|
425
457
|
_renderDiagnosticsMultipleLayers() {
|
|
426
458
|
const { messages: e } = this;
|
|
427
|
-
return
|
|
459
|
+
return n`<p>${e.maxRecordCountDescriptionMultipleLayers}</p><p>${this._renderDiagnosticsRefineResults()}</p>`;
|
|
428
460
|
}
|
|
429
461
|
_renderDiagnostics() {
|
|
430
462
|
const { messages: e } = this, { diagnostics: t } = this.viewModel, i = t?.layerLimitExceeded;
|
|
431
|
-
return i?.size ?
|
|
463
|
+
return i?.size ? n`<calcite-notice class="diagnostics-notice" open kind=info scale=s><span slot=title>${e.maxRecordCountHeading}</span><div slot=message>${i.size <= ne ? this._renderDiagnosticsList(i) : this._renderDiagnosticsMultipleLayers()}</div></calcite-notice>` : null;
|
|
432
464
|
}
|
|
433
465
|
_renderFeatureMenuContainer() {
|
|
434
|
-
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode:
|
|
435
|
-
|
|
436
|
-
});
|
|
437
|
-
if (n === "feature" && !r)
|
|
466
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: a, featureMenuOpen: o, _featureFlowItemSelected: r, _collapseEnabled: l, _isCollapsed: d, featureNavigationTop: c, headingLevel: f } = this, { active: C, features: p, streamingFeatures: F } = e, $ = i ?? s.selectFeature, A = this._backLabel;
|
|
467
|
+
if (a === "feature" && !o)
|
|
438
468
|
return null;
|
|
439
|
-
const
|
|
440
|
-
return
|
|
441
|
-
"flow-item-collapsed":
|
|
442
|
-
}))} .closable=${!t} .closed=${!C} .collapsed=${
|
|
469
|
+
const O = !r;
|
|
470
|
+
return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${x(I({
|
|
471
|
+
"flow-item-collapsed": d
|
|
472
|
+
}))} .closable=${!t} .closed=${!C} .collapsed=${a === "list" && d} .collapseDirection=${this.collapseDirection ?? (c ? "down" : "up")} .collapsible=${a === "list" && l} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand, back: A }} .description=${this.hideFeatureMenuHeading ? void 0 : u(s.total ?? "", {
|
|
443
473
|
total: p.length
|
|
444
|
-
})} .heading=${this.hideFeatureMenuHeading ? void 0 :
|
|
474
|
+
})} .heading=${this.hideFeatureMenuHeading ? void 0 : $} .headingLevel=${f} .loading=${e.waitingForResult} .selected=${O} @calciteFlowItemBack=${(N) => {
|
|
445
475
|
N.preventDefault(), this._handleFeatureMenuBack();
|
|
446
|
-
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${
|
|
476
|
+
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${m(this._featureMenuViewportNode)}>${a === "list" ? this._renderHeaderActions() : null}${F ? n`<calcite-loader class="loader" inline .label=${s.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}${this._renderDiagnostics()}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" aria-hidden=true ${m(this._featureMenuIntersectionObserverCreated)}></div>${a === "feature" ? n`<calcite-button scale=s appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full .label=${A} title=${A ?? g}>${s.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
447
477
|
}
|
|
448
478
|
_renderFlowItem(e, t) {
|
|
449
|
-
const { hideCloseButton: i, active: s, hideHeading:
|
|
479
|
+
const { hideCloseButton: i, active: s, hideHeading: a, hideSelectFeature: o, messages: r } = this, l = r.returnToInitialFeature ?? "", d = r?.selectFeature, c = "showAllEnabled" in e ? e.showAllEnabled : !1, f = e.flowType === "feature" || e.flowType === "feature-association" || e.flowType === "feature-relationship" && !c, p = e.flowType !== "feature" && f && "isFeatureFromTable" in e && !e.isFeatureFromTable && !o, F = e.flowType === "feature" && this.viewModel.aggregatedFeaturesEnabled ? n`<div class="footer" slot=footer>${this._renderPagination(() => {
|
|
450
480
|
this._aggregatedFeaturesComponent.value?.previous();
|
|
451
481
|
}, () => {
|
|
452
482
|
this._aggregatedFeaturesComponent.value?.next();
|
|
453
483
|
})}${this._renderFeaturePaginationText(this._aggregatedFeatureCount, this._selectedAggregatedFeatureIndex)}</div>` : null;
|
|
454
|
-
return
|
|
455
|
-
|
|
456
|
-
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${
|
|
484
|
+
return n`<calcite-flow-item .closable=${!i} .closed=${!s} .focusTrapEnabled=${this.focusTrapEnabled} class="flow-item-drill-in" .description=${M(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${a ? void 0 : M(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${($) => {
|
|
485
|
+
$.preventDefault(), this._handleDrillInBackClick();
|
|
486
|
+
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${a ? null : n`<div slot=heading><div .innerHTML=${w.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${w.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${l ?? ""} title=${l ?? "" ?? g}></calcite-action>${p ? n`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${d ?? ""} title=${d ?? g}></calcite-action>` : null}${f && this._renderActionBar(e) || ""}<div class="container">${e}</div>${F}</calcite-flow-item>`;
|
|
457
487
|
}
|
|
458
488
|
_renderContentContainer() {
|
|
459
|
-
const e = this.flowItems?.toArray(), t = e.length > 0, i = this.viewModel.aggregatedFeaturesEnabled && this.viewModel.selectedFeature?.isAggregate && !t, s = i && e.length === 0,
|
|
460
|
-
return
|
|
489
|
+
const e = this.flowItems?.toArray(), t = e.length > 0, i = this.viewModel.aggregatedFeaturesEnabled && this.viewModel.selectedFeature?.isAggregate && !t, s = i && e.length === 0, a = e.length === 0 && this._featureFlowItemSelected && !i, o = e?.map((d, c) => this._renderFlowItem(d, this._featureFlowItemSelected && c === e.length - 1)), r = this._renderBrowseAggregateContainer(!!s), l = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(a)] : [this._renderContentFeature(a), this._renderFeatureMenuContainer()];
|
|
490
|
+
return n`<calcite-flow ${m(this._flowContainerNode)}>${l}${r}${o}</calcite-flow>`;
|
|
461
491
|
}
|
|
462
492
|
_renderBrowseAggregateContainer(e) {
|
|
463
|
-
const { hideCloseButton: t, active: i, messages: s } = this, { selectedFeature:
|
|
464
|
-
|
|
465
|
-
});
|
|
466
|
-
return r ? a`<calcite-flow-item .selected=${e} .closable=${!t} .closed=${!i} .focusTrapEnabled=${this.focusTrapEnabled} .description=${this._aggregatedFeatureCount ? d(s.total ?? "", {
|
|
493
|
+
const { hideCloseButton: t, active: i, messages: s } = this, { selectedFeature: a } = this.viewModel, o = this.viewModel.aggregatedFeaturesEnabled && a?.isAggregate, r = this._backLabel;
|
|
494
|
+
return o ? n`<calcite-flow-item .selected=${e} .closable=${!t} .closed=${!i} .focusTrapEnabled=${this.focusTrapEnabled} .description=${this._aggregatedFeatureCount ? u(s.total ?? "", {
|
|
467
495
|
total: this._aggregatedFeatureCount
|
|
468
496
|
}) : ""} .heading=${s.aggregatedFeatures} @calciteFlowItemBack=${(l) => {
|
|
469
497
|
l.preventDefault(), this.viewModel.aggregatedFeaturesEnabled = !1;
|
|
470
498
|
}} .messageOverrides=${{
|
|
471
|
-
back:
|
|
472
|
-
}} .loading=${this._aggregatedFeaturesLoading} @calciteFlowItemClose=${this._handleClose}><arcgis-aggregated-features .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .feature=${
|
|
499
|
+
back: r
|
|
500
|
+
}} .loading=${this._aggregatedFeaturesLoading} @calciteFlowItemClose=${this._handleClose}><arcgis-aggregated-features .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .feature=${a ?? void 0} .flowItems=${this.flowItems} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map ?? void 0} .messageOverrides=${this.messageOverrides} .messages=${s} @arcgisPropertyChange=${this._handleAggregatedFeaturesPropertyChange} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.view ?? void 0} ${m(this._aggregatedFeaturesComponent)}></arcgis-aggregated-features><calcite-button appearance=transparent @click=${() => this.viewModel.aggregatedFeaturesEnabled = !1} slot=footer-start scale=s width=full .label=${r} title=${r ?? g}>${s.back}</calcite-button></calcite-flow-item>` : null;
|
|
473
501
|
}
|
|
474
502
|
_renderActionBar(e) {
|
|
475
503
|
const t = this.#e(e), i = !!t.length || this._hasActionsStartSlotContent || this._hasActionsEndSlotContent, s = this._isCollapsed || this.hideActionBar || !i;
|
|
476
|
-
return
|
|
504
|
+
return n`<calcite-action-bar expand-toggle-disabled .expanded=${!this._hideActionText} scale=s slot=${(s ? void 0 : "action-bar") ?? g} .hidden=${s}><slot name=actions-start @slotchange=${this._handleActionsStartSlotChange}></slot><calcite-action-group overlay-positioning=fixed scale=s ${m(this._actionBarMenuNode)}>${this._renderActions(t, e)}</calcite-action-group><slot name=actions-end @slotchange=${this._handleActionsEndSlotChange}></slot></calcite-action-bar>`;
|
|
477
505
|
}
|
|
478
506
|
_renderActions(e, t) {
|
|
479
507
|
return e.map((i) => {
|
|
480
|
-
const s = this._getActionTitle(i, t),
|
|
481
|
-
return
|
|
508
|
+
const s = this._getActionTitle(i, t), a = this._getActionLabel(i, t);
|
|
509
|
+
return n`<calcite-action .active=${i.type === "toggle" ? i.value : !1} .disabled=${i.disabled} .icon=${i.icon ?? void 0} .loading=${i.active} scale=s .textEnabled=${!this._hideActionText} .text=${s ?? ""} .label=${a ?? s} title=${a ?? s ?? g} .hidden=${!i.visible} @click=${() => this._triggerAction(i, t)}></calcite-action>`;
|
|
482
510
|
});
|
|
483
511
|
}
|
|
484
512
|
_renderContent() {
|
|
485
|
-
const { content: e,
|
|
486
|
-
return t ?
|
|
513
|
+
const { content: e, selectedFeature: t, includeDefaultActions: i, actions: s } = this.viewModel;
|
|
514
|
+
return t ? n`<arcgis-feature-next .actions=${s} .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .includeDefaultActions=${i} .location=${this.location} .map=${this.map} .messageOverrides=${this.messageOverrides} @arcgisPropertyChange=${() => {
|
|
515
|
+
this._selectedFeatureViewModel = this._selectedFeatureComponent.value?.viewModel;
|
|
516
|
+
}} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${m(this._selectedFeatureComponent)}></arcgis-feature-next>` : typeof e == "string" ? E(e, n`<div .innerHTML=${w.sanitize(e) ?? ""}></div>`) : e ?? null;
|
|
487
517
|
}
|
|
488
518
|
}
|
|
489
|
-
|
|
519
|
+
P("arcgis-features-next", oe);
|
|
490
520
|
export {
|
|
491
521
|
oe as ArcgisFeaturesNext
|
|
492
522
|
};
|