@arcgis/map-components 5.2.0-next.89 → 5.2.0-next.90
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/{DCSOI7OB.js → 24XXJOOX.js} +1 -1
- package/dist/cdn/{2BDZP327.js → 2FTL6T53.js} +1 -1
- package/dist/cdn/{6NGRUK5C.js → 2LDYIMCE.js} +1 -1
- package/dist/cdn/{BDKJXRDB.js → 2M33G6FR.js} +1 -1
- package/dist/cdn/{RQXUHSYJ.js → 2QADMC6K.js} +1 -1
- package/dist/cdn/{7J5Z2RHQ.js → 2VLRQ46L.js} +1 -1
- package/dist/cdn/{NB5DQKQY.js → 2VSQARQL.js} +1 -1
- package/dist/cdn/{PCEAIDCB.js → 2XHGISYY.js} +1 -1
- package/dist/cdn/323SSBOJ.js +2 -0
- package/dist/cdn/{EUPC4HDK.js → 32DXZW7Z.js} +1 -1
- package/dist/cdn/{UPCPKKRL.js → 35VRWQWE.js} +1 -1
- package/dist/cdn/{R2TL7RGF.js → 36TZJXHA.js} +1 -1
- package/dist/cdn/{HCH34CVA.js → 3BBEFRTR.js} +1 -1
- package/dist/cdn/{JK24EYII.js → 3J7PCUNV.js} +1 -1
- package/dist/cdn/{P5ZCQPIG.js → 3N2HSTRS.js} +1 -1
- package/dist/cdn/{IMG5GOJB.js → 3RKXZISX.js} +1 -1
- package/dist/cdn/{LJAHKEOX.js → 3RMUQ4SS.js} +1 -1
- package/dist/cdn/{KNMMVZVV.js → 3SCF2TGT.js} +1 -1
- package/dist/cdn/{THO5LAWY.js → 3TAYDIE5.js} +1 -1
- package/dist/cdn/{BVBHK4ZA.js → 3VE3XLKT.js} +1 -1
- package/dist/cdn/{SRKRAAYN.js → 3VZGQUZE.js} +1 -1
- package/dist/cdn/{3KVV7ZIB.js → 3WUSU6XP.js} +1 -1
- package/dist/cdn/{OW3LJYAW.js → 4CJBWGTY.js} +1 -1
- package/dist/cdn/{V522HKV2.js → 4FZ5GGDI.js} +1 -1
- package/dist/cdn/{YE74X5AX.js → 4GE4A5ZF.js} +1 -1
- package/dist/cdn/{SHZFDTMM.js → 4H6N4JTU.js} +1 -1
- package/dist/cdn/{CK5JA6LG.js → 4LKGHKBM.js} +1 -1
- package/dist/cdn/{3KYGTOFI.js → 4MUCONAD.js} +1 -1
- package/dist/cdn/{MG6N3FKM.js → 4TUA2QEW.js} +1 -1
- package/dist/cdn/{LTOXLO3L.js → 56KR4KYO.js} +1 -1
- package/dist/cdn/{3AQ6NC3C.js → 5DI7RMZ6.js} +1 -1
- package/dist/cdn/{3L7T2IRD.js → 5EOKOS52.js} +1 -1
- package/dist/cdn/{JZC42PXS.js → 5GIJFUEJ.js} +1 -1
- package/dist/cdn/{MUBRFGFC.js → 5GN3PNTI.js} +1 -1
- package/dist/cdn/5HNZ27R4.js +2 -0
- package/dist/cdn/{HR3K5XIF.js → 5IEGTCFV.js} +1 -1
- package/dist/cdn/{CFB4ZR5F.js → 5KXZQI7G.js} +1 -1
- package/dist/cdn/{JTUIUWLI.js → 5POTZZ3V.js} +1 -1
- package/dist/cdn/{TPG3TU6B.js → 5W4MBIKY.js} +1 -1
- package/dist/cdn/{RSGPA5UD.js → 67ZLFQ5D.js} +1 -1
- package/dist/cdn/{ONQKJHQF.js → 6BRAQ2VJ.js} +1 -1
- package/dist/cdn/{TAIZWQYU.js → 6HSLIZLD.js} +1 -1
- package/dist/cdn/{YFM2FNJN.js → 6I6P36ZC.js} +1 -1
- package/dist/cdn/{6PFEONTQ.js → 7HRK777D.js} +1 -1
- package/dist/cdn/{SWRUFDGD.js → 7PCTYMRK.js} +1 -1
- package/dist/cdn/AACTDN7T.js +2 -0
- package/dist/cdn/{2FM2FJAY.js → ANSNQBZW.js} +1 -1
- package/dist/cdn/{M66G67OC.js → AOVBGBGS.js} +1 -1
- package/dist/cdn/{QWQY366N.js → APQ2XNV7.js} +1 -1
- package/dist/cdn/{T7ZMS2L5.js → ARJHGUGG.js} +1 -1
- package/dist/cdn/{SPLMY3ET.js → AYRZUPV2.js} +1 -1
- package/dist/cdn/{3T7L7UT5.js → AZYY5BTK.js} +1 -1
- package/dist/cdn/{XOOKXM7J.js → B2HPLGXB.js} +1 -1
- package/dist/cdn/{PWEF6IKF.js → B35PDXSH.js} +1 -1
- package/dist/cdn/{EVJT3HJ5.js → B3W2SZIJ.js} +1 -1
- package/dist/cdn/{M2AZC3NB.js → B5WHS7ER.js} +1 -1
- package/dist/cdn/{NFWFRHUT.js → BBFLUSKF.js} +1 -1
- package/dist/cdn/{TRFWUKXA.js → BPB6FTQK.js} +1 -1
- package/dist/cdn/{VMFPLBAW.js → BQUWJGGL.js} +1 -1
- package/dist/cdn/{7EOPPY5X.js → C32RBBXZ.js} +1 -1
- package/dist/cdn/{TATKNXHR.js → CEY5WBEU.js} +1 -1
- package/dist/cdn/{WYC7AP3B.js → CFANWKE6.js} +1 -1
- package/dist/cdn/{D66WATT4.js → CGDMP7IH.js} +1 -1
- package/dist/cdn/{S4PVHHL4.js → CJLQURQH.js} +1 -1
- package/dist/cdn/{YMDPLIAN.js → CS5IVOG4.js} +1 -1
- package/dist/cdn/{XM2OBGXW.js → D325DZEQ.js} +1 -1
- package/dist/cdn/{FJRDNR2D.js → D3G3JFB6.js} +1 -1
- package/dist/cdn/{H3N46TKW.js → DCGOOUOL.js} +1 -1
- package/dist/cdn/{AKWAWGJI.js → DDGXUCQU.js} +1 -1
- package/dist/cdn/{NSOKY65Q.js → DNOSWCRM.js} +1 -1
- package/dist/cdn/{NWNMBN2U.js → DSLMWFTR.js} +1 -1
- package/dist/cdn/ECXFGOCB.js +2 -0
- package/dist/cdn/{DFS7UXXA.js → EGJRBN3G.js} +1 -1
- package/dist/cdn/{5VHJTIA4.js → ENCUTG4J.js} +1 -1
- package/dist/cdn/{IEEZAVKI.js → EQGGVVNX.js} +1 -1
- package/dist/cdn/{22ORLWUA.js → EV2EASMH.js} +1 -1
- package/dist/cdn/{YGR7EQPR.js → F3G626XT.js} +1 -1
- package/dist/cdn/{CXM6X7CR.js → FAQNHEA4.js} +1 -1
- package/dist/cdn/{PL5FJKWH.js → FAS3CA6C.js} +1 -1
- package/dist/cdn/{3FTPFEZR.js → FD7U6V53.js} +1 -1
- package/dist/cdn/{K4BAIY7T.js → FLVENMD3.js} +1 -1
- package/dist/cdn/{MTIYKLWI.js → FQBZ4RIZ.js} +1 -1
- package/dist/cdn/{BWHORDTQ.js → FQTVI2JC.js} +1 -1
- package/dist/cdn/{4H6PSGCG.js → GRVXZRHO.js} +1 -1
- package/dist/cdn/{WXRDRJO2.js → H2MG6U2T.js} +1 -1
- package/dist/cdn/{Q7AWV6T7.js → HASESZDN.js} +1 -1
- package/dist/cdn/{5X3EBFJW.js → HEYHZKI2.js} +1 -1
- package/dist/cdn/{GVT6ZVGQ.js → HOUQ3XZ3.js} +1 -1
- package/dist/cdn/{GNVPXNTX.js → HRC67J4X.js} +1 -1
- package/dist/cdn/{UFKHTNLP.js → HRX3VZC6.js} +1 -1
- package/dist/cdn/{Q7TBJT42.js → HTDQ3T52.js} +1 -1
- package/dist/cdn/{BTKSII6C.js → HW3TRZY4.js} +1 -1
- package/dist/cdn/{6BNYO33V.js → HXOGSZ3H.js} +1 -1
- package/dist/cdn/{3W4IH5LQ.js → I5EJ7LOJ.js} +1 -1
- package/dist/cdn/{A2LHW4XE.js → I5SI3FWI.js} +1 -1
- package/dist/cdn/IBHSU6LP.js +2 -0
- package/dist/cdn/{WBTZYFQY.js → IBOB5TYX.js} +1 -1
- package/dist/cdn/{6NDLOXKQ.js → IE5OHRX5.js} +1 -1
- package/dist/cdn/{3MHQ3Y3W.js → IFWRNEPD.js} +1 -1
- package/dist/cdn/{MQX2F54G.js → II5MODDO.js} +1 -1
- package/dist/cdn/{EU3QJKJW.js → IITMDFOP.js} +1 -1
- package/dist/cdn/{3XE3WNGC.js → IWVSKFSS.js} +1 -1
- package/dist/cdn/{PMU2DO3P.js → J6TT6SMU.js} +1 -1
- package/dist/cdn/{AG6XG3QV.js → JCSG35A7.js} +1 -1
- package/dist/cdn/{7XDG253K.js → JGMSDKM3.js} +1 -1
- package/dist/cdn/{QTBE7N34.js → JK4KRK6P.js} +1 -1
- package/dist/cdn/{MYV6ULJI.js → JTBVK3AS.js} +1 -1
- package/dist/cdn/{SUUKWB22.js → JVP63EMR.js} +1 -1
- package/dist/cdn/{UP4ICAUO.js → K43HEYQI.js} +1 -1
- package/dist/cdn/{D5AGKEQQ.js → K4HD2F6W.js} +1 -1
- package/dist/cdn/{2PBI4WYR.js → K4TLP5XG.js} +1 -1
- package/dist/cdn/{EGUVICJF.js → K66ZH3DH.js} +1 -1
- package/dist/cdn/{JDKASAQ4.js → KEE5SJGE.js} +1 -1
- package/dist/cdn/{DPZYWN5Y.js → KENF5DVZ.js} +1 -1
- package/dist/cdn/{K5ORNQ7G.js → KIDAEQ5W.js} +1 -1
- package/dist/cdn/{5F4TM4DQ.js → KJSNL3R6.js} +1 -1
- package/dist/cdn/{NCBGRPO4.js → KNMX3FG5.js} +1 -1
- package/dist/cdn/{RS4YM3X3.js → KNUETGYG.js} +1 -1
- package/dist/cdn/{KKBLRTCV.js → KPOJXBNC.js} +1 -1
- package/dist/cdn/{SMEKIUGI.js → KPX2JCBN.js} +1 -1
- package/dist/cdn/{4Q6IWOPE.js → L2FVENA7.js} +1 -1
- package/dist/cdn/{WFGN3Z2K.js → L2LZHMH7.js} +1 -1
- package/dist/cdn/{4TMQMYFX.js → L66K2IBM.js} +1 -1
- package/dist/cdn/{XDNADMUB.js → L6B6VGZX.js} +1 -1
- package/dist/cdn/{7Q62J3QW.js → L72D4UTS.js} +1 -1
- package/dist/cdn/{YQMNH4EU.js → LGAYYLQL.js} +1 -1
- package/dist/cdn/{VGAUTY3U.js → LIK2D5WG.js} +1 -1
- package/dist/cdn/{SDJO7TU2.js → LINQYJP4.js} +1 -1
- package/dist/cdn/{3CFRD2EN.js → LKAMRNMI.js} +1 -1
- package/dist/cdn/{6AEBAXJV.js → LL7FJHEJ.js} +1 -1
- package/dist/cdn/{LGO6UJXQ.js → LMBTPOT3.js} +1 -1
- package/dist/cdn/{FXGGTFFX.js → LOTMKNUM.js} +1 -1
- package/dist/cdn/{Z24LPE5P.js → LVUQ55Y3.js} +1 -1
- package/dist/cdn/{UZPRFNYH.js → M3TJQPJ3.js} +1 -1
- package/dist/cdn/{HTEIMRY6.js → M6FA6DZH.js} +1 -1
- package/dist/cdn/{24PDYG7O.js → M7ARKSCG.js} +1 -1
- package/dist/cdn/{2VSEEB47.js → MDICIYVG.js} +1 -1
- package/dist/cdn/{AVJ3D46P.js → MIHS4UUO.js} +1 -1
- package/dist/cdn/{XO23SMXO.js → MIRKEWHI.js} +1 -1
- package/dist/cdn/{TIOCQR7Z.js → MJ2CLOUC.js} +1 -1
- package/dist/cdn/{62LN764Z.js → MJRXLGST.js} +1 -1
- package/dist/cdn/{6KXGNGPR.js → MR3VAM44.js} +1 -1
- package/dist/cdn/MSNVY4PH.js +2 -0
- package/dist/cdn/{J2S23AFG.js → MU6AVJOK.js} +1 -1
- package/dist/cdn/{XWALVOZP.js → MZ2KYVWD.js} +1 -1
- package/dist/cdn/{4W3T75SY.js → NCYBFT2Y.js} +1 -1
- package/dist/cdn/{C3XXTXZL.js → NIFDFP4Q.js} +1 -1
- package/dist/cdn/{BITXHOPV.js → NN4RJSCH.js} +1 -1
- package/dist/cdn/{SJT4UC5B.js → NOVBQIN5.js} +1 -1
- package/dist/cdn/{VXAY5W6P.js → NWLNFKT6.js} +1 -1
- package/dist/cdn/{AY7A2WZ2.js → NXBXO7PE.js} +1 -1
- package/dist/cdn/{FHWOIM57.js → O6F37YLT.js} +1 -1
- package/dist/cdn/{TLVYAP5O.js → OEGPO4V4.js} +1 -1
- package/dist/cdn/{7JCPGA62.js → OF6BYN4Z.js} +1 -1
- package/dist/cdn/{HJPTFBQB.js → OU7XFISZ.js} +1 -1
- package/dist/cdn/{2XRY235R.js → OWT2YYBJ.js} +1 -1
- package/dist/cdn/{67PVPQ2A.js → PFX6VX2N.js} +1 -1
- package/dist/cdn/{DRER5LNM.js → PLQVU2Q5.js} +1 -1
- package/dist/cdn/{453C7IUP.js → PODV4OTG.js} +1 -1
- package/dist/cdn/{UPRC5DGZ.js → PPTHUNKC.js} +1 -1
- package/dist/cdn/{MKKJTX2G.js → PSX4TLHP.js} +1 -1
- package/dist/cdn/{EFSE3OHY.js → PUNT3Q36.js} +1 -1
- package/dist/cdn/{3NWZC6DC.js → Q2GU7GDS.js} +1 -1
- package/dist/cdn/{A4X5YDA6.js → Q7SMGP5R.js} +1 -1
- package/dist/cdn/{IZLJF7QK.js → QB7T5YZ4.js} +1 -1
- package/dist/cdn/{RHXVVGD3.js → QE6XRKDY.js} +1 -1
- package/dist/cdn/{YX5QEVKH.js → QV5ZPD7H.js} +1 -1
- package/dist/cdn/{645DRFAT.js → QVFP6VNW.js} +1 -1
- package/dist/cdn/{G43HMCDY.js → QWZOLPCK.js} +1 -1
- package/dist/cdn/{VCRTOOTR.js → RCGLBAHP.js} +1 -1
- package/dist/cdn/{ZC2ZAUG3.js → RFJWLEKY.js} +1 -1
- package/dist/cdn/RIBE2H6U.js +2 -0
- package/dist/cdn/{USGNZSD3.js → RT4SQ4PV.js} +1 -1
- package/dist/cdn/{7OFFUYIA.js → RTFIAQWR.js} +1 -1
- package/dist/cdn/{BRSERGCB.js → RTUHTKTO.js} +1 -1
- package/dist/cdn/{NV7K5IBW.js → S474C2LJ.js} +1 -1
- package/dist/cdn/{V4W4ZP6M.js → S7OFSONY.js} +1 -1
- package/dist/cdn/{BPHJ4VBC.js → SD5FKQFO.js} +1 -1
- package/dist/cdn/{AEWE5NOZ.js → SJJ7QEQX.js} +1 -1
- package/dist/cdn/{DGE4UXLM.js → SNO5W2NO.js} +1 -1
- package/dist/cdn/{C4LCKYWW.js → SOOJLVZP.js} +1 -1
- package/dist/cdn/{KRIHSRTS.js → SSHNAKNA.js} +1 -1
- package/dist/cdn/{CYJZ7T4S.js → STWRT3F7.js} +1 -1
- package/dist/cdn/{BHM6MPAV.js → SVXVFWF5.js} +1 -1
- package/dist/cdn/{SDWFNKIL.js → SYDGAFU5.js} +1 -1
- package/dist/cdn/{4GEFIIBU.js → TBJOTUJP.js} +1 -1
- package/dist/cdn/{BQLJNLRI.js → TDGUCMON.js} +1 -1
- package/dist/cdn/{ZDGUYB7C.js → TVV525SY.js} +1 -1
- package/dist/cdn/{WVFQTFUT.js → TY7RUZSW.js} +1 -1
- package/dist/cdn/{OOZOKLAN.js → TYEPGXJH.js} +1 -1
- package/dist/cdn/UBD7D3LO.js +2 -0
- package/dist/cdn/{EAYOGF4C.js → UEBDFBOK.js} +1 -1
- package/dist/cdn/{ZSFJNJIA.js → UKJYTLTV.js} +1 -1
- package/dist/cdn/{LEKQIXDS.js → UP7UPFAE.js} +1 -1
- package/dist/cdn/{LPVFDDKF.js → UREENOOH.js} +1 -1
- package/dist/cdn/{SWFTXNVA.js → UTAQGRV3.js} +1 -1
- package/dist/cdn/{N73PMH4J.js → UTOVD7WO.js} +1 -1
- package/dist/cdn/{IA6DGMKU.js → UU4FSZYG.js} +1 -1
- package/dist/cdn/{VNUQ4CCT.js → UYFMNOGK.js} +1 -1
- package/dist/cdn/{JKGEHJS3.js → V2UDGBN4.js} +1 -1
- package/dist/cdn/{6KVXHFAI.js → V2ZCE7D4.js} +1 -1
- package/dist/cdn/{GJKLQ4DF.js → VAOBL5U2.js} +1 -1
- package/dist/cdn/{S2PCZUXW.js → VK2AQNZW.js} +1 -1
- package/dist/cdn/{SVPEZ73H.js → VNT4QL2K.js} +1 -1
- package/dist/cdn/{N2QRRWRV.js → VNZUXNWJ.js} +1 -1
- package/dist/cdn/{YCU2NW3W.js → VRC5MLVY.js} +1 -1
- package/dist/cdn/{WN23CO4W.js → VRRD4HXH.js} +1 -1
- package/dist/cdn/{J7O4NTZK.js → W3M6NBVO.js} +1 -1
- package/dist/cdn/{YT6GA6QR.js → WE2GHP5E.js} +1 -1
- package/dist/cdn/{D6MRDGUC.js → WQQVESNN.js} +1 -1
- package/dist/cdn/{WXLC6FPD.js → WTBRS6C4.js} +2 -2
- package/dist/cdn/{PYVC7VOE.js → WUPMOIP3.js} +1 -1
- package/dist/cdn/{2BVXNQ3U.js → WVGSH2QD.js} +1 -1
- package/dist/cdn/{JJB3SLCR.js → WXX3WGFE.js} +1 -1
- package/dist/cdn/{7HL2TQ7E.js → X4RJMWSU.js} +1 -1
- package/dist/cdn/{H3AOF7G6.js → X5M3AEQM.js} +1 -1
- package/dist/cdn/{QQJFRYNU.js → XM2OSRTS.js} +1 -1
- package/dist/cdn/{JXBEE5GW.js → XRTSGX32.js} +1 -1
- package/dist/cdn/{R2YJFR4T.js → XWHCPDF5.js} +1 -1
- package/dist/cdn/{YHNRTH56.js → XXA7VSON.js} +1 -1
- package/dist/cdn/{XBEXETEH.js → XZVWADEG.js} +1 -1
- package/dist/cdn/{FXK4G4VK.js → YLXNHUYF.js} +1 -1
- package/dist/cdn/{MQKMDGBE.js → YNC35BAZ.js} +1 -1
- package/dist/cdn/{WQNFBJ7C.js → YTRY74ZP.js} +1 -1
- package/dist/cdn/{FUDA5H6R.js → YVZI2KY2.js} +1 -1
- package/dist/cdn/{I4VCDQAJ.js → YXKHHGAI.js} +1 -1
- package/dist/cdn/{ATJRAUEJ.js → Z3GGFI6Z.js} +1 -1
- package/dist/cdn/{XHXRRAGH.js → Z3XLCKLP.js} +1 -1
- package/dist/cdn/{5EP57RZK.js → ZFLMRC4G.js} +1 -1
- package/dist/cdn/{E5HTVW5O.js → ZFQLBEGC.js} +1 -1
- package/dist/cdn/ZGEJX5IU.js +2 -0
- package/dist/cdn/{SDCDW6LW.js → ZJEYDRKM.js} +1 -1
- package/dist/cdn/{I2D75Q7M.js → ZKW6OUEO.js} +1 -1
- package/dist/cdn/{62UEF6RI.js → ZZHPGKBQ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-features/customElement.js +82 -74
- package/dist/components/arcgis-features-next/customElement.js +99 -91
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +19 -19
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +5 -5
- package/dist/cdn/2GQ6KVNI.js +0 -2
- package/dist/cdn/6ZURXEAE.js +0 -2
- package/dist/cdn/BHADA675.js +0 -2
- package/dist/cdn/G7KSSNBD.js +0 -2
- package/dist/cdn/KYZ4TF64.js +0 -2
- package/dist/cdn/QIBBS7Z2.js +0 -2
- package/dist/cdn/RS5BEGC5.js +0 -2
- package/dist/cdn/WNHPFEPA.js +0 -2
- package/dist/cdn/WXSIUEVC.js +0 -2
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as O } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as R, html as a } from "lit";
|
|
4
|
-
import { keyed as
|
|
4
|
+
import { keyed as D } from "lit/directives/keyed.js";
|
|
5
5
|
import B from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
|
|
6
|
-
import { u as
|
|
6
|
+
import { u as H } from "../../chunks/useT9n.js";
|
|
7
7
|
import { log as A } from "@arcgis/toolkit/log";
|
|
8
|
-
import { classes as
|
|
9
|
-
import { useDirection as
|
|
10
|
-
import { m as
|
|
11
|
-
import { LitElement as
|
|
8
|
+
import { classes as y } from "@arcgis/toolkit/dom";
|
|
9
|
+
import { useDirection as P, usePropertyChange as z, bypassReadOnly as x } from "@arcgis/lumina/controllers";
|
|
10
|
+
import { m as U } from "../../chunks/useViewModel.js";
|
|
11
|
+
import { LitElement as Z, createEvent as T, renderElement as K, nothing as h, safeClassMap as I } from "@arcgis/lumina";
|
|
12
12
|
import { substitute as u, formatNumber as C } from "@arcgis/core/intl.js";
|
|
13
13
|
import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
|
|
14
|
-
import { t as
|
|
15
|
-
import { stripHTML as
|
|
14
|
+
import { t as j, z as G } from "../../chunks/action-utils.js";
|
|
15
|
+
import { stripHTML as V } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
16
16
|
import E from "@arcgis/core/core/Collection.js";
|
|
17
|
-
import { g as
|
|
18
|
-
import { renderingSanitizer as
|
|
19
|
-
import { initializeProjection as
|
|
20
|
-
import
|
|
21
|
-
import { createRef as b, ref as
|
|
22
|
-
import { a as
|
|
23
|
-
const
|
|
17
|
+
import { g as q } from "../../chunks/feature-utils.js";
|
|
18
|
+
import { renderingSanitizer as F } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
19
|
+
import { initializeProjection as W } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
20
|
+
import X from "@arcgis/core/support/actions/ActionButton.js";
|
|
21
|
+
import { createRef as b, ref as w } from "lit/directives/ref.js";
|
|
22
|
+
import { a as J, b as Q } from "../../chunks/keyboard-utils.js";
|
|
23
|
+
const Y = R`: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)}.header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.content-feature{--calcite-flow-item-footer-padding: 0}.feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.action-exit{transform:scaleX(-1)}`, ee = new X({
|
|
24
24
|
icon: "magnifying-glass-plus",
|
|
25
25
|
id: "zoom-to-feature",
|
|
26
26
|
title: "{messages.zoom}"
|
|
27
|
-
}), M =
|
|
28
|
-
function
|
|
29
|
-
return
|
|
27
|
+
}), M = ee.clone(), te = 25;
|
|
28
|
+
function ie(k) {
|
|
29
|
+
return k?.declaredClass.startsWith("esri.layers.") ?? !1;
|
|
30
30
|
}
|
|
31
|
-
const
|
|
32
|
-
class
|
|
31
|
+
const se = U(B);
|
|
32
|
+
class ne extends Z {
|
|
33
33
|
constructor() {
|
|
34
|
-
super(...arguments), this._direction =
|
|
34
|
+
super(...arguments), this._direction = P(), this._fetchFeaturesController = null, this._featureMenuIntersectionObserverCallback = ([e]) => {
|
|
35
35
|
e?.isIntersecting && this.viewModel.featurePage != null && this.viewModel.featurePage++;
|
|
36
36
|
}, this._featureMenuIntersectionObserver = new IntersectionObserver(this._featureMenuIntersectionObserverCallback, {
|
|
37
37
|
root: window.document
|
|
38
|
-
}), this._featureMenuIntersectionObserverNode = null, this._rootFlowItemNode = b(), this._featureMenuViewportNode = b(), this._actionBarMenuNode = b(), this._flowContainerNode = b(), this.messages =
|
|
38
|
+
}), this._featureMenuIntersectionObserverNode = null, this._rootFlowItemNode = b(), this._featureMenuViewportNode = b(), this._actionBarMenuNode = b(), this._flowContainerNode = b(), this.messages = H(), this._selectedFeatureComponent = b(), this._cancelOpenRelatedFeature = () => {
|
|
39
39
|
const { _openRelatedFeatureAbortController: e } = this;
|
|
40
40
|
e && e.abort(), this._openRelatedFeatureAbortController = null;
|
|
41
|
-
}, this._openRelatedFeatureAbortController = null, this.flowItems = new E(), this.viewModel =
|
|
41
|
+
}, this._spinnerVisible = !1, this._spinnerVisibilityTimeout = null, this._openRelatedFeatureAbortController = null, this.flowItems = new E(), this.viewModel = se(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new E(), this.heading = this.viewModel.title, 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.hideExpressionContent = !1, 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.visible, this.promises = this.viewModel.promises, 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.arcgisPropertyChange = z()("active", "collapsed", "effectiveHeading", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = T(), this.arcgisClose = T(), this.arcgisTriggerAction = T();
|
|
42
42
|
}
|
|
43
43
|
static {
|
|
44
44
|
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, _featureFlowItemSelected: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapseDirection: 1, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, effectiveHeading: 32, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureViewModelAbilities: 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, 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, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
|
|
45
45
|
}
|
|
46
46
|
static {
|
|
47
|
-
this.styles =
|
|
47
|
+
this.styles = Y;
|
|
48
48
|
}
|
|
49
49
|
get _hideActionText() {
|
|
50
50
|
if (!this.responsiveActionsEnabled)
|
|
@@ -119,18 +119,18 @@ class te extends z {
|
|
|
119
119
|
this.open = !1;
|
|
120
120
|
}
|
|
121
121
|
async destroy() {
|
|
122
|
-
await this.manager.destroy(), this._removeSpinner(this.referenceElement), this._cancelOpenRelatedFeature(), this._removeFlowItems(), this._unobserveFeatureMenuObserver(), this._cancelFetchingFeatures(), this._featureMenuIntersectionObserver?.disconnect();
|
|
122
|
+
await this.manager.destroy(), this._clearSpinnerVisibilityTimeout(), this._removeSpinner(this.referenceElement), this._cancelOpenRelatedFeature(), this._removeFlowItems(), this._unobserveFeatureMenuObserver(), this._cancelFetchingFeatures(), this._featureMenuIntersectionObserver?.disconnect();
|
|
123
123
|
}
|
|
124
124
|
async fetchFeatures(e, t) {
|
|
125
125
|
this._cancelFetchingFeatures();
|
|
126
|
-
const { signal: s } = t ?? {}, i = new AbortController(), { signal:
|
|
127
|
-
if (this._fetchFeaturesController = i, !e && this.view && this.location && (await
|
|
128
|
-
signal:
|
|
126
|
+
const { signal: s } = t ?? {}, i = new AbortController(), { signal: n } = i, o = s ? AbortSignal.any([n, s]) : n;
|
|
127
|
+
if (this._fetchFeaturesController = i, !e && this.view && this.location && (await W(this.location.spatialReference, this.view.spatialReference, null, {
|
|
128
|
+
signal: o
|
|
129
129
|
}), e = this.view.toScreen(this.location) ?? void 0), !e)
|
|
130
130
|
return;
|
|
131
131
|
const l = await this.viewModel.fetchFeatures(e, {
|
|
132
132
|
...t,
|
|
133
|
-
signal:
|
|
133
|
+
signal: o
|
|
134
134
|
});
|
|
135
135
|
this.location = l.location, this.promises = l.pendingFeatures;
|
|
136
136
|
}
|
|
@@ -147,13 +147,13 @@ class te extends z {
|
|
|
147
147
|
if (A("warn", this, "The triggerAction() method is deprecated since 5.1. Trigger actions with manual user interaction within the component.", {
|
|
148
148
|
once: !0
|
|
149
149
|
}), !e.disabled)
|
|
150
|
-
return e?.type === "toggle" && (e.value = !e.value), await
|
|
150
|
+
return e?.type === "toggle" && (e.value = !e.value), await j(e, this.viewModel);
|
|
151
151
|
}
|
|
152
152
|
connectedCallback() {
|
|
153
153
|
super.connectedCallback(), this._createSpinner();
|
|
154
154
|
}
|
|
155
155
|
disconnectedCallback() {
|
|
156
|
-
super.disconnectedCallback(), this._removeSpinner(this.referenceElement);
|
|
156
|
+
super.disconnectedCallback(), this._clearSpinnerVisibilityTimeout(), this._removeSpinner(this.referenceElement);
|
|
157
157
|
}
|
|
158
158
|
loaded() {
|
|
159
159
|
this.manager.onLifecycle(() => [
|
|
@@ -185,15 +185,15 @@ class te extends z {
|
|
|
185
185
|
}
|
|
186
186
|
updated() {
|
|
187
187
|
const e = this._selectedFeatureComponent.value ?? void 0;
|
|
188
|
-
this.selectedFeatureComponent !== e &&
|
|
188
|
+
this.selectedFeatureComponent !== e && x(() => this.selectedFeatureComponent = e);
|
|
189
189
|
}
|
|
190
190
|
_syncSelectedDrillInFeature() {
|
|
191
191
|
const e = this.flowItems.getItemAt(this.flowItems.length - 1);
|
|
192
|
-
|
|
192
|
+
x(() => this.selectedDrillInFeature = e?.graphic ?? void 0);
|
|
193
193
|
}
|
|
194
194
|
_syncEffectiveHeading() {
|
|
195
195
|
const e = this._calculateEffectiveHeading();
|
|
196
|
-
this.effectiveHeading !== e &&
|
|
196
|
+
this.effectiveHeading !== e && x(() => this.effectiveHeading = e);
|
|
197
197
|
}
|
|
198
198
|
_cancelFetchingFeatures() {
|
|
199
199
|
this._fetchFeaturesController?.abort(), this._fetchFeaturesController = null;
|
|
@@ -207,8 +207,8 @@ class te extends z {
|
|
|
207
207
|
const i = s?.graphic;
|
|
208
208
|
if (!i)
|
|
209
209
|
return;
|
|
210
|
-
const
|
|
211
|
-
t.set(
|
|
210
|
+
const n = q(i), o = ie(n) ? n : null, l = t.get(o) ?? [];
|
|
211
|
+
t.set(o, [...l, s]);
|
|
212
212
|
}), t;
|
|
213
213
|
}
|
|
214
214
|
_handleCollapseToggle() {
|
|
@@ -226,11 +226,11 @@ class te extends z {
|
|
|
226
226
|
}
|
|
227
227
|
if (this._removeFlowItems(), await this.viewModel.zoomTo({ target: i }), this._openRelatedFeatureAbortController !== t)
|
|
228
228
|
return;
|
|
229
|
-
const
|
|
229
|
+
const n = await import("@arcgis/core/geometry/operators/labelPointOperator.js");
|
|
230
230
|
if (this._openRelatedFeatureAbortController !== t)
|
|
231
231
|
return;
|
|
232
|
-
const
|
|
233
|
-
|
|
232
|
+
const o = n.execute(i);
|
|
233
|
+
o != null && (this.location = o), this.features = [s], this.open = !0, await this.setFocus(), this._openRelatedFeatureAbortController === t && (this._openRelatedFeatureAbortController = null);
|
|
234
234
|
}
|
|
235
235
|
_handlePaginationMenuButton() {
|
|
236
236
|
this._updateFeatureMenu();
|
|
@@ -273,12 +273,12 @@ class te extends z {
|
|
|
273
273
|
this._unobserveFeatureMenuObserver(), e && this._featureMenuIntersectionObserver.observe(e), this._featureMenuIntersectionObserverNode = e;
|
|
274
274
|
}
|
|
275
275
|
_getActionTitle(e) {
|
|
276
|
-
const { messages: t, selectedFeature: s } = this, { id: i } = e,
|
|
277
|
-
return l &&
|
|
276
|
+
const { messages: t, selectedFeature: s } = this, { id: i } = e, n = s?.attributes, o = e.title ?? "", l = i === "zoom-to-feature" ? u(o, { messages: t }) : i === "remove-selected-feature" ? u(o, { messages: t }) : i === "zoom-to-clustered-features" ? u(o, { messages: t }) : i === "browse-clustered-features" ? u(o, { messages: t }) : e.title;
|
|
277
|
+
return l && n ? u(l, n) : l ?? "";
|
|
278
278
|
}
|
|
279
279
|
_onMainKeydown(e) {
|
|
280
280
|
const { key: t } = e;
|
|
281
|
-
|
|
281
|
+
J(t, this._direction) && (e.stopPropagation(), this._handleFeatureMenuBack(), this.previous(), this.setFocus()), Q(t, this._direction) && (e.stopPropagation(), this._handleFeatureMenuBack(), this.next(), this.setFocus());
|
|
282
282
|
}
|
|
283
283
|
_featureMenuViewportScrollTop() {
|
|
284
284
|
this._featureMenuViewportNode.value?.scrollContentTo({ top: 0 });
|
|
@@ -324,9 +324,17 @@ class te extends z {
|
|
|
324
324
|
_removeSpinner(e) {
|
|
325
325
|
e?.manager?.component?.extraContent?.remove(this._spinnerEl), this._spinnerEl = void 0;
|
|
326
326
|
}
|
|
327
|
+
_clearSpinnerVisibilityTimeout() {
|
|
328
|
+
this._spinnerVisibilityTimeout != null && (clearTimeout(this._spinnerVisibilityTimeout), this._spinnerVisibilityTimeout = null);
|
|
329
|
+
}
|
|
330
|
+
_getSpinnerTrackLocation() {
|
|
331
|
+
return !this.hideSpinner && this.viewModel.visible && this.viewModel?.waitingForResult ? this._spinnerVisible ? !0 : (this._spinnerVisibilityTimeout ??= setTimeout(() => {
|
|
332
|
+
this._spinnerVisibilityTimeout = null, this._spinnerVisible = !0, this._createSpinner();
|
|
333
|
+
}, te), !1) : (this._clearSpinnerVisibilityTimeout(), this._spinnerVisible = !1, !1);
|
|
334
|
+
}
|
|
327
335
|
_createSpinner() {
|
|
328
336
|
const e = this.referenceElement;
|
|
329
|
-
e && (this._removeSpinner(e), this._spinnerEl =
|
|
337
|
+
e && (this._removeSpinner(e), this._spinnerEl = K(a`<arcgis-spinner .label=${this.messages.loading ?? ""} .trackLocation=${this._getSpinnerTrackLocation()} .location=${this.viewModel?.location ?? void 0} .view=${this.viewModel?.view ?? void 0}></arcgis-spinner>`), e.manager?.component?.extraContent?.add(this._spinnerEl));
|
|
330
338
|
}
|
|
331
339
|
render() {
|
|
332
340
|
return a`<div class="root" @keydown=${this._onMainKeydown}>${this._renderHeader()}${this._renderContentContainer()}</div>`;
|
|
@@ -351,9 +359,9 @@ class te extends z {
|
|
|
351
359
|
})}</div>`;
|
|
352
360
|
}
|
|
353
361
|
_renderFeatureMenuButton() {
|
|
354
|
-
const { messages: e, viewModel: t } = this, { featureCount: s,
|
|
355
|
-
return a`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${
|
|
356
|
-
index: C(
|
|
362
|
+
const { messages: e, viewModel: t } = this, { featureCount: s, streamingFeatures: i, selectedFeatureIndex: n, pendingPromisesCount: o } = t, l = o > 0 || i;
|
|
363
|
+
return a`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${l} @click=${this._handlePaginationMenuButton} .text=${u(e.pageText ?? "", {
|
|
364
|
+
index: C(n + 1),
|
|
357
365
|
total: C(s)
|
|
358
366
|
})} text-enabled title=${e.selectFeature ?? h}></calcite-action>`;
|
|
359
367
|
}
|
|
@@ -362,14 +370,14 @@ class te extends z {
|
|
|
362
370
|
return a`<calcite-action-bar class="pagination-action-bar" expand-toggle-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${e ?? ""} @click=${this._previousFeature} .text=${e ?? ""} title=${e ?? "" ?? h}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${t ?? ""} @click=${this._nextFeature} .text=${t ?? ""} title=${t ?? "" ?? h}></calcite-action></calcite-action-group></calcite-action-bar>`;
|
|
363
371
|
}
|
|
364
372
|
_renderFeatureMenuItem(e) {
|
|
365
|
-
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: s, featureViewModels: i } = this.viewModel,
|
|
366
|
-
return a`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(
|
|
373
|
+
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: s, featureViewModels: i } = this.viewModel, n = e === s, o = i.indexOf(e);
|
|
374
|
+
return a`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(o)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(o)} .selected=${n} @calciteListItemSelect=${() => this._selectFeature(o)}><span .innerHTML=${(F.sanitize(e.title) || this.messages.untitled) ?? ""} slot=content></span>${t === "list" ? a`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` : null}</calcite-list-item>`;
|
|
367
375
|
}
|
|
368
376
|
_renderFeatureMenu() {
|
|
369
377
|
const { messages: e, viewModel: t } = this, s = this._groupResultsByLayer(), i = this.initialDisplayMode === "list" ? "none" : "single";
|
|
370
|
-
return t.featureViewModels.length ? a`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${i}>${Array.from(s.keys(), (
|
|
371
|
-
const
|
|
372
|
-
return !this.hideFeatureListLayerTitle && l !== null ?
|
|
378
|
+
return t.featureViewModels.length ? a`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${i}>${Array.from(s.keys(), (n) => {
|
|
379
|
+
const o = s.get(n)?.map((c) => this._renderFeatureMenuItem(c)), l = n ? n.title ?? this.messages.untitled : null;
|
|
380
|
+
return !this.hideFeatureListLayerTitle && l !== null ? D(n ?? "map-graphics", a`<calcite-list-item-group .heading=${l}>${o}</calcite-list-item-group>`) : o;
|
|
373
381
|
})}</calcite-list>` : null;
|
|
374
382
|
}
|
|
375
383
|
_renderHeaderAction(e) {
|
|
@@ -380,43 +388,43 @@ class te extends z {
|
|
|
380
388
|
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
381
389
|
}
|
|
382
390
|
_renderContentFeature() {
|
|
383
|
-
const { headingLevel: e, hideCloseButton: t, _isCollapsed: s, _collapseEnabled: i, _featureFlowItemSelected:
|
|
391
|
+
const { headingLevel: e, hideCloseButton: t, _isCollapsed: s, _collapseEnabled: i, _featureFlowItemSelected: n, featureNavigationTop: o, flowItems: l, initialDisplayMode: c, selectedFeature: f, hideHeading: g } = this, { active: v, selectedFeatureViewModel: p, content: m } = this.viewModel, d = this._getHeading();
|
|
384
392
|
if (c === "list" && !f)
|
|
385
393
|
return null;
|
|
386
|
-
const
|
|
387
|
-
return a`<calcite-flow-item class=${
|
|
394
|
+
const _ = l.length === 0 && n, $ = p ? !p.content : !m;
|
|
395
|
+
return a`<calcite-flow-item class=${I(y({
|
|
388
396
|
"content-feature": !0,
|
|
389
397
|
"flow-item-collapsed": s
|
|
390
|
-
}))} .closable=${!t} .closed=${!
|
|
398
|
+
}))} .closable=${!t} .closed=${!v} .collapsed=${s} .collapseDirection=${this.collapseDirection ?? (o ? "down" : "up")} .collapsible=${i} .headingLevel=${e} .selected=${_} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${!g && d ? V(d) : void 0} ${w(this._rootFlowItemNode)}>${!g && d ? a`<div slot=heading><div .innerHTML=${F.sanitize(d ?? "") ?? ""}></div></div>` : null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${I(y("container", "content-container", {
|
|
391
399
|
"content-hidden": $
|
|
392
400
|
}))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
393
401
|
}
|
|
394
402
|
_renderFeatureMenuContainer() {
|
|
395
|
-
const { viewModel: e, hideCloseButton: t, featureMenuTitle: s, messages: i, initialDisplayMode:
|
|
396
|
-
if (
|
|
403
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: s, messages: i, initialDisplayMode: n, featureMenuOpen: o, _featureFlowItemSelected: l, _collapseEnabled: c, _isCollapsed: f, featureNavigationTop: g, headingLevel: v } = this, { active: p, featureViewModels: m, streamingFeatures: d, pendingPromisesCount: _ } = e, $ = _ > 0 || d, N = s ?? i.selectFeature;
|
|
404
|
+
if (n === "feature" && !o)
|
|
397
405
|
return null;
|
|
398
|
-
const
|
|
399
|
-
return a`<calcite-flow-item class=${
|
|
406
|
+
const S = !l;
|
|
407
|
+
return a`<calcite-flow-item class=${I(y({
|
|
400
408
|
"flow-item-collapsed": f
|
|
401
|
-
}))} .closable=${
|
|
402
|
-
total:
|
|
403
|
-
})} .heading=${this.hideFeatureMenuHeading ? void 0 :
|
|
404
|
-
|
|
405
|
-
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${
|
|
409
|
+
}))} .closable=${n === "list" && !t} .closed=${!p} .collapsed=${n === "list" && f} .collapseDirection=${this.collapseDirection ?? (g ? "down" : "up")} .collapsible=${n === "list" && c} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} .description=${this.hideFeatureMenuHeading ? void 0 : u(i.total ?? "", {
|
|
410
|
+
total: m.length
|
|
411
|
+
})} .heading=${this.hideFeatureMenuHeading ? void 0 : N} .headingLevel=${v} .loading=${e.waitingForContents} .selected=${S} @calciteFlowItemBack=${(L) => {
|
|
412
|
+
L.preventDefault(), this._handleFeatureMenuBack();
|
|
413
|
+
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${w(this._featureMenuViewportNode)}>${n === "list" ? this._renderHeaderActions() : null}${$ ? a`<calcite-loader class="loader" inline .label=${i.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${w(this._featureMenuIntersectionObserverCreated)}></div>${n === "feature" ? a`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${i.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
406
414
|
}
|
|
407
415
|
_renderFlowItem(e, t) {
|
|
408
|
-
const { messages: s, hideCloseButton: i, hideSelectFeature:
|
|
409
|
-
return a`<calcite-flow-item .closable=${!i} .closed=${!
|
|
410
|
-
|
|
411
|
-
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${l ? null : a`<div slot=heading><div .innerHTML=${
|
|
416
|
+
const { messages: s, hideCloseButton: i, hideSelectFeature: n, active: o, hideHeading: l } = this, c = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, f = c && !n, g = e.flowType === "feature-association", v = s.returnToInitialFeature ?? "", p = s?.selectFeature, m = this._getActionTitle(M), d = !this.hideActionBar && g && c;
|
|
417
|
+
return a`<calcite-flow-item .closable=${!i} .closed=${!o} .description=${V(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${l ? void 0 : V(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(_) => {
|
|
418
|
+
_.preventDefault(), this._handleDrillInBackClick();
|
|
419
|
+
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${l ? null : a`<div slot=heading><div .innerHTML=${F.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${F.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${v ?? ""} title=${v ?? "" ?? h}></calcite-action>${f ? a`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? h}></calcite-action>` : null}${d ? a`<calcite-action-bar expand-toggle-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${M.disabled} .icon=${M.icon ?? void 0} .loading=${M.active} scale=s text-enabled .text=${m} title=${m ?? h} @click=${() => G(this.viewModel, M, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
|
|
412
420
|
}
|
|
413
421
|
_renderContentContainer() {
|
|
414
|
-
const e = this.flowItems?.toArray(), t = e?.map((i,
|
|
415
|
-
return a`<calcite-flow ${
|
|
422
|
+
const e = this.flowItems?.toArray(), t = e?.map((i, n) => this._renderFlowItem(i, this._featureFlowItemSelected && n === e.length - 1)), s = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(), t] : [this._renderContentFeature(), t, this._renderFeatureMenuContainer()];
|
|
423
|
+
return a`<calcite-flow ${w(this._flowContainerNode)}>${s}</calcite-flow>`;
|
|
416
424
|
}
|
|
417
425
|
_renderActionBar() {
|
|
418
426
|
const t = this.viewModel.selectedFeatureViewModel?.isFeatureFromTable && !this.location ? this.viewModel.allActions.filter((s) => s.id !== M.id) : this.viewModel.allActions;
|
|
419
|
-
return !this._isCollapsed && !this.hideActionBar && t.length ? a`<calcite-action-bar expand-toggle-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${
|
|
427
|
+
return !this._isCollapsed && !this.hideActionBar && t.length ? a`<calcite-action-bar expand-toggle-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${w(this._actionBarMenuNode)}>${this._renderActions()}</calcite-action-group></calcite-action-bar>` : null;
|
|
420
428
|
}
|
|
421
429
|
_renderActions() {
|
|
422
430
|
return this.viewModel.allActions.toArray().map((e) => {
|
|
@@ -426,10 +434,10 @@ class te extends z {
|
|
|
426
434
|
}
|
|
427
435
|
_renderContent() {
|
|
428
436
|
const { content: e, selectedFeatureViewModel: t } = this.viewModel;
|
|
429
|
-
return t ? a`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${
|
|
437
|
+
return t ? a`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${w(this._selectedFeatureComponent)}></arcgis-feature>` : typeof e == "string" ? D(e, a`<div .innerHTML=${F.sanitize(e) ?? ""}></div>`) : e ?? null;
|
|
430
438
|
}
|
|
431
439
|
}
|
|
432
|
-
O("arcgis-features",
|
|
440
|
+
O("arcgis-features", ne);
|
|
433
441
|
export {
|
|
434
|
-
|
|
442
|
+
ne as ArcgisFeatures
|
|
435
443
|
};
|