@arcgis/map-components 5.2.0-next.94 → 5.2.0-next.96
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/22TB66OC.js +2 -0
- package/dist/cdn/{VNX2AHM5.js → 25ELW5DP.js} +1 -1
- package/dist/cdn/{43XQKUF6.js → 26OEUDIF.js} +1 -1
- package/dist/cdn/{UTOVD7WO.js → 26WVOAIW.js} +1 -1
- package/dist/cdn/{HRC67J4X.js → 2D6JTL4E.js} +1 -1
- package/dist/cdn/376WTHOL.js +2 -0
- package/dist/cdn/{JZHBJAXX.js → 3AIQYNSA.js} +1 -1
- package/dist/cdn/3TTIKHXP.js +2 -0
- package/dist/cdn/{36TZJXHA.js → 44ELZBSR.js} +1 -1
- package/dist/cdn/{3VE3XLKT.js → 4LJO7QFG.js} +1 -1
- package/dist/cdn/{LVUQ55Y3.js → 4P2WLM6E.js} +1 -1
- package/dist/cdn/4QGIFHEA.js +2 -0
- package/dist/cdn/{V2UDGBN4.js → 4SOK3D4T.js} +1 -1
- package/dist/cdn/{7HRK777D.js → 4U3UYYQ5.js} +1 -1
- package/dist/cdn/{IBHSU6LP.js → 4WKKBT3F.js} +1 -1
- package/dist/cdn/4YFREAQ2.js +2 -0
- package/dist/cdn/{IGFJHWQN.js → 54HCOOFG.js} +1 -1
- package/dist/cdn/{MJ2CLOUC.js → 54M2I4JP.js} +1 -1
- package/dist/cdn/{4FZ5GGDI.js → 55HFRR2W.js} +1 -1
- package/dist/cdn/{ENCUTG4J.js → 564IIZBI.js} +1 -1
- package/dist/cdn/{XZVWADEG.js → 57GMYMVT.js} +1 -1
- package/dist/cdn/{QWZOLPCK.js → 5CKRSEWZ.js} +1 -1
- package/dist/cdn/{PFX6VX2N.js → 5H4I5K6T.js} +1 -1
- package/dist/cdn/{TDGUCMON.js → 5LGT6I7Y.js} +1 -1
- package/dist/cdn/{NQ5OGG4I.js → 5MMZAQYH.js} +1 -1
- package/dist/cdn/{UTAQGRV3.js → 5SVULVBJ.js} +1 -1
- package/dist/cdn/{QX7CIDD3.js → 5TX463UL.js} +1 -1
- package/dist/cdn/{WVGSH2QD.js → 5UVZPECS.js} +1 -1
- package/dist/cdn/{3SCF2TGT.js → 5YUG57HI.js} +1 -1
- package/dist/cdn/{EEVHASMU.js → 6A365EUI.js} +1 -1
- package/dist/cdn/{5DI7RMZ6.js → 6ERK6Z6K.js} +1 -1
- package/dist/cdn/{LIK2D5WG.js → 6F3A7GUW.js} +1 -1
- package/dist/cdn/{B2HPLGXB.js → 6G2T2G3Q.js} +1 -1
- package/dist/cdn/{K66ZH3DH.js → 6LUL555P.js} +1 -1
- package/dist/cdn/{K4HD2F6W.js → 6NRNLMJK.js} +1 -1
- package/dist/cdn/{LBYKVAQ2.js → 6S3ODLME.js} +1 -1
- package/dist/cdn/{4H6N4JTU.js → 6T5SVWDF.js} +1 -1
- package/dist/cdn/{4TUA2QEW.js → 6YNNDY3K.js} +1 -1
- package/dist/cdn/{UVD3M6B5.js → 777PJUNL.js} +1 -1
- package/dist/cdn/{DDGXUCQU.js → 77NK4UBY.js} +1 -1
- package/dist/cdn/{J6TT6SMU.js → 7EKSEHUY.js} +1 -1
- package/dist/cdn/{LINQYJP4.js → 7HZIEA5X.js} +1 -1
- package/dist/cdn/{VAOBL5U2.js → 7LR4MDUB.js} +1 -1
- package/dist/cdn/{HTDQ3T52.js → 7TKEMQVG.js} +1 -1
- package/dist/cdn/{VNT4QL2K.js → 7TTSWTGP.js} +1 -1
- package/dist/cdn/{5A6MVUCS.js → 7ZZWKH2U.js} +1 -1
- package/dist/cdn/{HAUHWMHN.js → A3DPBGUE.js} +1 -1
- package/dist/cdn/{TY7RUZSW.js → ADSOI3MN.js} +1 -1
- package/dist/cdn/{RCGLBAHP.js → AEGRRGUN.js} +1 -1
- package/dist/cdn/AJBOKAK6.js +2 -0
- package/dist/cdn/{W2HQAUUA.js → AKNAVXKD.js} +1 -1
- package/dist/cdn/{SJJ7QEQX.js → AOBYM5ZK.js} +1 -1
- package/dist/cdn/{6I6P36ZC.js → AUTF57U5.js} +1 -1
- package/dist/cdn/{YXKHHGAI.js → AXEVIUBZ.js} +1 -1
- package/dist/cdn/AZ6IOGGT.js +2 -0
- package/dist/cdn/{PLQVU2Q5.js → B4DLIKAN.js} +1 -1
- package/dist/cdn/{D3G3JFB6.js → B4JHLZUL.js} +1 -1
- package/dist/cdn/{B35PDXSH.js → BAI3SYHE.js} +1 -1
- package/dist/cdn/{IWVSKFSS.js → BJL2DTRG.js} +1 -1
- package/dist/cdn/{3VFBYBX4.js → BNZQH6YD.js} +1 -1
- package/dist/cdn/BOPKJR3D.js +2 -0
- package/dist/cdn/{I22IJPSN.js → BQJHJ74K.js} +1 -1
- package/dist/cdn/{2Z6FVTKT.js → BR6D5EO4.js} +1 -1
- package/dist/cdn/{TTDOV3LD.js → BRWY53GW.js} +1 -1
- package/dist/cdn/BV3Q2Y7F.js +2 -0
- package/dist/cdn/{TVV525SY.js → BVVR27JR.js} +1 -1
- package/dist/cdn/BZGHEINJ.js +2 -0
- package/dist/cdn/{ZJEYDRKM.js → C23PR4ZX.js} +1 -1
- package/dist/cdn/{7BOYQGKF.js → C2PS2HSE.js} +1 -1
- package/dist/cdn/{IFWRNEPD.js → CA5LXWO6.js} +1 -1
- package/dist/cdn/{MAPYP35W.js → CB564G7T.js} +1 -1
- package/dist/cdn/CDWU62VR.js +2 -0
- package/dist/cdn/{AF65YZXZ.js → CEMBX25Q.js} +1 -1
- package/dist/cdn/{3TAYDIE5.js → CEQXB7WX.js} +1 -1
- package/dist/cdn/CEW4IP7H.js +2 -0
- package/dist/cdn/{RJZ424ZP.js → CIPZN7LE.js} +1 -1
- package/dist/cdn/{V2ZCE7D4.js → CJ536VHT.js} +1 -1
- package/dist/cdn/{NMQLILVV.js → CX3OZJEH.js} +1 -1
- package/dist/cdn/{L2LZHMH7.js → D6BWGR3Z.js} +1 -1
- package/dist/cdn/{5IXZDVTF.js → DATBQXOK.js} +1 -1
- package/dist/cdn/{QB7T5YZ4.js → DBLLBQTY.js} +1 -1
- package/dist/cdn/{5IEGTCFV.js → DCCWOMAC.js} +1 -1
- package/dist/cdn/{APQ2XNV7.js → DFKHGL3E.js} +1 -1
- package/dist/cdn/{HW3TRZY4.js → DSROAKFP.js} +1 -1
- package/dist/cdn/DVGE5VPK.js +2 -0
- package/dist/cdn/{56KR4KYO.js → E3ILZB5S.js} +1 -1
- package/dist/cdn/{YTRY74ZP.js → E5TRFG7X.js} +1 -1
- package/dist/cdn/EDGLEFG3.js +2 -0
- package/dist/cdn/{ARJHGUGG.js → EFOY5CY5.js} +1 -1
- package/dist/cdn/{MIHS4UUO.js → EHMCN2NS.js} +1 -1
- package/dist/cdn/{DNOSWCRM.js → ETXQKL6T.js} +1 -1
- package/dist/cdn/{QVFP6VNW.js → EVXKGM66.js} +1 -1
- package/dist/cdn/{NUPOLDDX.js → EYHS3JDR.js} +1 -1
- package/dist/cdn/{7PCTYMRK.js → F2ZADKF4.js} +1 -1
- package/dist/cdn/{NXBXO7PE.js → F3JDX4A7.js} +1 -1
- package/dist/cdn/{UREENOOH.js → F5G3VJU7.js} +1 -1
- package/dist/cdn/{LOTMKNUM.js → FECA7CTQ.js} +1 -1
- package/dist/cdn/{VIHVSV4P.js → FFAM2LIE.js} +1 -1
- package/dist/cdn/FIIA3N5X.js +2 -0
- package/dist/cdn/{4LKGHKBM.js → FJT32TIN.js} +1 -1
- package/dist/cdn/{IXS5O6G4.js → FRAZUJ7K.js} +1 -1
- package/dist/cdn/{XM2OSRTS.js → FRSROWP4.js} +1 -1
- package/dist/cdn/{Z3GGFI6Z.js → FZDURX2Y.js} +1 -1
- package/dist/cdn/{F3G626XT.js → G2BLA5NQ.js} +1 -1
- package/dist/cdn/G743AW46.js +2 -0
- package/dist/cdn/{MIRKEWHI.js → GG7KEBIO.js} +1 -1
- package/dist/cdn/{B23TN7FG.js → GGKOLSCH.js} +1 -1
- package/dist/cdn/{DKP73IZU.js → GH2RPE3P.js} +1 -1
- package/dist/cdn/{ZZHPGKBQ.js → GIQDIWW4.js} +1 -1
- package/dist/cdn/{PSX4TLHP.js → GMSIYMNC.js} +1 -1
- package/dist/cdn/{VRC5MLVY.js → GVALHSMR.js} +1 -1
- package/dist/cdn/H7KG55LR.js +2 -0
- package/dist/cdn/{S7OFSONY.js → HIG6CVQX.js} +1 -1
- package/dist/cdn/{DEH55KP3.js → HISWL3K3.js} +1 -1
- package/dist/cdn/{EV2EASMH.js → HOKDRJ4R.js} +1 -1
- package/dist/cdn/{FQBZ4RIZ.js → HPISDMLX.js} +1 -1
- package/dist/cdn/{QVM6UFNB.js → HVHQMAZ4.js} +1 -1
- package/dist/cdn/{NCYBFT2Y.js → HYRFW7KG.js} +1 -1
- package/dist/cdn/I3VQ46FA.js +2 -0
- package/dist/cdn/{BQUWJGGL.js → I4KA3CNC.js} +1 -1
- package/dist/cdn/{WXX3WGFE.js → IBNFHSSF.js} +1 -1
- package/dist/cdn/{AZYY5BTK.js → IE7XJM27.js} +1 -1
- package/dist/cdn/{3TRAIJXM.js → J3KQKQSU.js} +1 -1
- package/dist/cdn/{L2FVENA7.js → JBJNQGGE.js} +1 -1
- package/dist/cdn/{K4TLP5XG.js → JFVNGZNJ.js} +1 -1
- package/dist/cdn/{4GE4A5ZF.js → JHWTX3YJ.js} +1 -1
- package/dist/cdn/{WTTWWX57.js → JKB6V2RD.js} +1 -1
- package/dist/cdn/{NHU5Q4AZ.js → JKOIMKKL.js} +1 -1
- package/dist/cdn/{IITMDFOP.js → JMYDF3AT.js} +1 -1
- package/dist/cdn/{76XDS6TG.js → JOPAUFUX.js} +1 -1
- package/dist/cdn/{A5ZHWVI3.js → JOUNNARF.js} +1 -1
- package/dist/cdn/JVC76RB3.js +2 -0
- package/dist/cdn/{5POTZZ3V.js → KFL7RYUP.js} +1 -1
- package/dist/cdn/{4MUCONAD.js → KGFMFLEB.js} +1 -1
- package/dist/cdn/{UKJYTLTV.js → KGJLTL75.js} +1 -1
- package/dist/cdn/{3N2HSTRS.js → KJTWHP5I.js} +1 -1
- package/dist/cdn/{LGAYYLQL.js → KMV445BK.js} +1 -1
- package/dist/cdn/{RT4SQ4PV.js → KR4EB5AC.js} +1 -1
- package/dist/cdn/{SVXVFWF5.js → L3YJAQBN.js} +1 -1
- package/dist/cdn/L4DWZT4V.js +2 -0
- package/dist/cdn/{KPOJXBNC.js → LMNH2RHA.js} +1 -1
- package/dist/cdn/{6BRAQ2VJ.js → LPB2JMJ5.js} +1 -1
- package/dist/cdn/{CQ7HNSA2.js → M4BXOW2Q.js} +1 -1
- package/dist/cdn/{Q7SMGP5R.js → M6LV7VM5.js} +1 -1
- package/dist/cdn/{RIBE2H6U.js → M7KQOIH2.js} +1 -1
- package/dist/cdn/{73N362E5.js → MH324PA6.js} +1 -1
- package/dist/cdn/{BKC42MLS.js → MIIHAXAZ.js} +1 -1
- package/dist/cdn/{O3G7XPDI.js → MLXWIPK2.js} +1 -1
- package/dist/cdn/{NN4RJSCH.js → MPHO6N5K.js} +1 -1
- package/dist/cdn/{KENF5DVZ.js → MSQKXANF.js} +1 -1
- package/dist/cdn/{2U6EB7BN.js → MXYWUI34.js} +1 -1
- package/dist/cdn/N2RLGXGJ.js +2 -0
- package/dist/cdn/{NOVBQIN5.js → NAEALB6J.js} +1 -1
- package/dist/cdn/{WUPMOIP3.js → NIGSZZQA.js} +1 -1
- package/dist/cdn/{JVP63EMR.js → NPIJLONQ.js} +1 -1
- package/dist/cdn/{I5SI3FWI.js → OCHBUJAT.js} +1 -1
- package/dist/cdn/{CH6EWFKV.js → OD3BO6AL.js} +1 -1
- package/dist/cdn/{PODV4OTG.js → ONZ7UTQO.js} +1 -1
- package/dist/cdn/{NIFDFP4Q.js → OVXR64PW.js} +1 -1
- package/dist/cdn/P2JBFLSB.js +2 -0
- package/dist/cdn/{IE5OHRX5.js → P63WHRTI.js} +1 -1
- package/dist/cdn/{MDICIYVG.js → P7DYWBMK.js} +1 -1
- package/dist/cdn/{TYEPGXJH.js → PAZBKL7R.js} +1 -1
- package/dist/cdn/{U2ZQWROE.js → PCRSL2XJ.js} +1 -1
- package/dist/cdn/{UYFMNOGK.js → PFP7KVAD.js} +1 -1
- package/dist/cdn/{JCSG35A7.js → PI55I5L7.js} +1 -1
- package/dist/cdn/{EQGGVVNX.js → PTKUNH6D.js} +1 -1
- package/dist/cdn/{5GN3PNTI.js → PWY44JI6.js} +1 -1
- package/dist/cdn/{O45XRDXJ.js → PXSNOIDS.js} +1 -1
- package/dist/cdn/{B5WHS7ER.js → Q446NT7X.js} +1 -1
- package/dist/cdn/{5HNZ27R4.js → QD3GVN2C.js} +1 -1
- package/dist/cdn/{UP7UPFAE.js → QGJBQDLI.js} +1 -1
- package/dist/cdn/{RTFIAQWR.js → QMJTMBWB.js} +1 -1
- package/dist/cdn/{MU6AVJOK.js → QTGJ2TIJ.js} +1 -1
- package/dist/cdn/{CGDMP7IH.js → QVAISNQE.js} +1 -1
- package/dist/cdn/{KJSNL3R6.js → QY2MHZO6.js} +1 -1
- package/dist/cdn/{M3TJQPJ3.js → R54BWOJL.js} +1 -1
- package/dist/cdn/{H32EDCZG.js → RBQLAUGL.js} +1 -1
- package/dist/cdn/{FAQNHEA4.js → RC2T53I5.js} +1 -1
- package/dist/cdn/RCQKTBVC.js +2 -0
- package/dist/cdn/{FAS3CA6C.js → REOCH4MZ.js} +1 -1
- package/dist/cdn/{2QADMC6K.js → REUYYFCX.js} +1 -1
- package/dist/cdn/{32DXZW7Z.js → RIVFCEGS.js} +1 -1
- package/dist/cdn/{WTBRS6C4.js → RM4OPQBM.js} +3 -3
- package/dist/cdn/{VLKHH2Y6.js → S5XIZ2L4.js} +1 -1
- package/dist/cdn/S7JDLOX2.js +2 -0
- package/dist/cdn/{B2FQHBTX.js → SB3WKE5H.js} +1 -1
- package/dist/cdn/{3WUSU6XP.js → SHMHGYVB.js} +1 -1
- package/dist/cdn/{QE6XRKDY.js → SLS6H5OI.js} +1 -1
- package/dist/cdn/SO3OASNI.js +2 -0
- package/dist/cdn/{EGJRBN3G.js → SOUZEOKR.js} +1 -1
- package/dist/cdn/{STWRT3F7.js → SQQKMKRG.js} +1 -1
- package/dist/cdn/{VK2AQNZW.js → SSNWCNXP.js} +1 -1
- package/dist/cdn/{CYWMBY4Y.js → SSWT6Y3N.js} +1 -1
- package/dist/cdn/{JFHEHJOQ.js → T6NUABZU.js} +1 -1
- package/dist/cdn/{MR3VAM44.js → T7WPIWCX.js} +1 -1
- package/dist/cdn/{3BBEFRTR.js → TDUAPWT6.js} +1 -1
- package/dist/cdn/{LL7FJHEJ.js → TVMNE62W.js} +1 -1
- package/dist/cdn/{5W4MBIKY.js → TZ23FBZ7.js} +1 -1
- package/dist/cdn/{VNZUXNWJ.js → U4L3Z5QH.js} +1 -1
- package/dist/cdn/{W3M6NBVO.js → UAGCCYQB.js} +1 -1
- package/dist/cdn/{DSLMWFTR.js → UC26JN7I.js} +1 -1
- package/dist/cdn/{3RMUQ4SS.js → UDUPHECB.js} +1 -1
- package/dist/cdn/{XWHCPDF5.js → UKFAXZIW.js} +1 -1
- package/dist/cdn/{RFJWLEKY.js → UMYF32YV.js} +1 -1
- package/dist/cdn/{QV5ZPD7H.js → UUPYWQ7D.js} +1 -1
- package/dist/cdn/{2VLRQ46L.js → UXSGOUNZ.js} +1 -1
- package/dist/cdn/{ZFQLBEGC.js → V42KBFW7.js} +1 -1
- package/dist/cdn/{AL52T6VH.js → VC4YUXRW.js} +1 -1
- package/dist/cdn/{KNUETGYG.js → VHHRBGXN.js} +1 -1
- package/dist/cdn/{TBJOTUJP.js → VHMDAMVX.js} +1 -1
- package/dist/cdn/{KIDAEQ5W.js → VWV6XWSU.js} +1 -1
- package/dist/cdn/{2M33G6FR.js → W3NK36SU.js} +1 -1
- package/dist/cdn/W5LZWE6R.js +2 -0
- package/dist/cdn/{5OQPTYP5.js → WCQUCDIY.js} +1 -1
- package/dist/cdn/{ANSNQBZW.js → WFPR2VUW.js} +1 -1
- package/dist/cdn/{SSHNAKNA.js → WIW3AOTK.js} +1 -1
- package/dist/cdn/{24XXJOOX.js → WNJOIQDJ.js} +1 -1
- package/dist/cdn/{L72D4UTS.js → WNLMIARH.js} +1 -1
- package/dist/cdn/{OF6BYN4Z.js → XAZNEI2W.js} +1 -1
- package/dist/cdn/{5QVEXW3X.js → XFA3SAYB.js} +1 -1
- package/dist/cdn/{Q2GU7GDS.js → XKRMD24I.js} +1 -1
- package/dist/cdn/{3J7PCUNV.js → XS3Z2WXL.js} +1 -1
- package/dist/cdn/{H4FPSA53.js → XWWXBWU2.js} +1 -1
- package/dist/cdn/{KPX2JCBN.js → XZ2BN6X5.js} +1 -1
- package/dist/cdn/{AOVBGBGS.js → YB3YZ6U5.js} +1 -1
- package/dist/cdn/{ISX6CEA3.js → YDP5A3EP.js} +1 -1
- package/dist/cdn/{YNC35BAZ.js → YELCBIGX.js} +1 -1
- package/dist/cdn/{H2MG6U2T.js → YHNCQVNV.js} +1 -1
- package/dist/cdn/{UNOCR34T.js → YIAGW5MM.js} +1 -1
- package/dist/cdn/{XXA7VSON.js → YOIVWFJK.js} +1 -1
- package/dist/cdn/{KNMX3FG5.js → YQMGSWPQ.js} +1 -1
- package/dist/cdn/{L6B6VGZX.js → Z3UPOVNZ.js} +1 -1
- package/dist/cdn/{ZKW6OUEO.js → ZGGQQPWY.js} +1 -1
- package/dist/cdn/{SNO5W2NO.js → ZJP2RY4T.js} +1 -1
- package/dist/cdn/{X4RJMWSU.js → ZOZSYLAP.js} +1 -1
- package/dist/cdn/{3FEDJ3XZ.js → ZSDNX326.js} +1 -1
- package/dist/cdn/{GC65JYR2.js → ZTLILWC7.js} +1 -1
- package/dist/cdn/assets/selection-list/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/time-bar/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/time-zone-chip/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/time-zone-selector/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-elements-result-item/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/video-player/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/component-utils.js +75 -63
- package/dist/chunks/dateUtils.js +41 -58
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/components/arcgis-aggregated-features/customElement.js +7 -7
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +5 -6
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +11 -1
- package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +2 -2
- package/dist/components/arcgis-daylight/customElement.d.ts +6 -0
- package/dist/components/arcgis-daylight/customElement.js +429 -304
- package/dist/components/arcgis-daylight/index.js +1 -0
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +27 -27
- package/dist/components/arcgis-feature-attachments/customElement.js +73 -60
- package/dist/components/arcgis-feature-next/customElement.d.ts +7 -0
- package/dist/components/arcgis-feature-next/customElement.js +12 -12
- package/dist/components/arcgis-feature-relationship/customElement.js +54 -45
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-features-next/customElement.d.ts +7 -0
- package/dist/components/arcgis-features-next/customElement.js +16 -16
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +25 -9
- package/dist/components/arcgis-link-chart/customElement.js +23 -20
- package/dist/components/arcgis-map/customElement.js +15 -12
- package/dist/components/arcgis-popup/customElement.d.ts +7 -0
- package/dist/components/arcgis-popup/customElement.js +15 -15
- package/dist/components/arcgis-scene/customElement.d.ts +2 -2
- package/dist/components/arcgis-scene/customElement.js +15 -12
- package/dist/components/arcgis-selection-list/customElement.d.ts +421 -0
- package/dist/components/arcgis-selection-list/customElement.js +279 -0
- package/dist/components/arcgis-selection-list/index.d.ts +1 -0
- package/dist/components/arcgis-selection-list/index.js +16 -0
- package/dist/components/arcgis-selection-list/types.d.ts +85 -0
- package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +1 -1
- package/dist/components/arcgis-time-bar/customElement.d.ts +3 -15
- package/dist/components/arcgis-time-bar-settings/customElement.js +63 -88
- package/dist/components/arcgis-time-bar-settings/index.js +1 -0
- package/dist/components/arcgis-time-zone-chip/customElement.d.ts +36 -0
- package/dist/components/arcgis-time-zone-chip/customElement.js +36 -0
- package/dist/components/arcgis-time-zone-chip/index.d.ts +1 -0
- package/dist/components/arcgis-time-zone-chip/index.js +4 -0
- package/dist/components/arcgis-time-zone-selector/customElement.js +56 -0
- package/dist/components/arcgis-time-zone-selector/index.js +6 -0
- package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-elements-result-item/customElement.d.ts +193 -0
- package/dist/components/arcgis-utility-network-elements-result-item/customElement.js +175 -0
- package/dist/components/arcgis-utility-network-elements-result-item/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-elements-result-item/index.js +6 -0
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +43 -0
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +76 -99
- package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +51 -10
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +67 -148
- package/dist/components/arcgis-utility-network-trace-results-next/index.js +1 -4
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +3 -0
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +9 -9
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.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 +30 -0
- package/dist/loader.js +14 -10
- package/dist/types/lumina.d.ts +29 -7
- package/dist/types/preact.d.ts +32 -7
- package/dist/types/react.d.ts +35 -7
- package/dist/types/stencil.d.ts +29 -7
- package/package.json +6 -6
- package/dist/cdn/2AKHVAG7.js +0 -2
- package/dist/cdn/2GM4O42V.js +0 -2
- package/dist/cdn/2S3PMUG2.js +0 -2
- package/dist/cdn/323SSBOJ.js +0 -2
- package/dist/cdn/34CXVCB3.js +0 -2
- package/dist/cdn/3MZKVY6A.js +0 -2
- package/dist/cdn/3ZRONF3M.js +0 -2
- package/dist/cdn/ECXFGOCB.js +0 -2
- package/dist/cdn/EVKOQOVV.js +0 -2
- package/dist/cdn/FR3EHEIV.js +0 -2
- package/dist/cdn/GRVXZRHO.js +0 -2
- package/dist/cdn/I5EJ7LOJ.js +0 -2
- package/dist/cdn/MSNVY4PH.js +0 -2
- package/dist/cdn/Q6TYHAOA.js +0 -2
- package/dist/cdn/SYDGAFU5.js +0 -2
- package/dist/cdn/UEBDFBOK.js +0 -2
- package/dist/cdn/VURES5AT.js +0 -2
- package/dist/cdn/VY2FRIAX.js +0 -2
- package/dist/cdn/X5M3AEQM.js +0 -2
- package/dist/cdn/XRTSGX32.js +0 -2
- package/dist/cdn/ZGEJX5IU.js +0 -2
- package/dist/cdn/ZTRUEI25.js +0 -2
- package/dist/support/time-utils.d.ts +0 -7
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { c as y } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as w, html as s } from "lit";
|
|
4
|
+
import { keyed as n } from "lit/directives/keyed.js";
|
|
5
|
+
import { ref as x } from "lit/directives/ref.js";
|
|
6
|
+
import { substitute as v, formatNumber as g } from "@arcgis/core/intl.js";
|
|
7
|
+
import { isGroupLayerItem as b, isLayerItem as I, isFeatureItem as C } from "@arcgis/core/widgets/support/SelectionList/selectionListUtils.js";
|
|
8
|
+
import L from "@arcgis/core/widgets/support/SelectionList/SelectionListViewModel.js";
|
|
9
|
+
import { LitElement as M, createEvent as F, nothing as u, safeClassMap as r } from "@arcgis/lumina";
|
|
10
|
+
import { usePropertyChange as S } from "@arcgis/lumina/controllers";
|
|
11
|
+
import { u as T } from "../../chunks/useT9n.js";
|
|
12
|
+
import { m as k } from "../../chunks/useViewModel.js";
|
|
13
|
+
const c = {
|
|
14
|
+
container: "container",
|
|
15
|
+
flowItem: "flow-item",
|
|
16
|
+
layerDropdown: "layer-dropdown",
|
|
17
|
+
listItemFeature: "feature",
|
|
18
|
+
listItemFeatureIcon: "feature-icon",
|
|
19
|
+
listItemIcon: "icon",
|
|
20
|
+
itemCount: "item-count",
|
|
21
|
+
notice: "notice",
|
|
22
|
+
panel: "panel",
|
|
23
|
+
totalCount: "total-count"
|
|
24
|
+
}, A = w`:host{width:100%;display:flex;height:100%;flex:1 1 0;>*{align-items:center;align-self:center;width:100%;height:100%}}.root{display:flex;flex-direction:column}calcite-flow{height:100%;width:100%}.container,.flow-item,.panel{display:flex}.flow-item{overflow:auto}.flow-item[scale=s] .container{gap:var(--calcite-spacing-sm);padding:var(--calcite-spacing-sm) 0}.flow-item[scale=m] .container{gap:var(--calcite-spacing-md);padding:var(--calcite-spacing-md) 0}.flow-item[scale=l] .container{gap:var(--calcite-spacing-lg);padding:var(--calcite-spacing-lg) 0}.container{flex-direction:column;background-color:var(--calcite-color-foreground-1)}.container>*{background-color:var(--calcite-color-foreground-1)}.container>*[scale=s]{padding:0 var(--calcite-spacing-sm) 0 var(--calcite-spacing-sm);font-size:var(--calcite-font-size-sm)}.container>*[scale=m]{padding:0 var(--calcite-spacing-md) 0 var(--calcite-spacing-md);font-size:var(--calcite-font-size-md)}.container>*[scale=l]{padding:0 var(--calcite-spacing-lg) 0 var(--calcite-spacing-lg);font-size:var(--calcite-font-size-lg)}.icon{display:flex;align-items:center;justify-content:center;min-width:var(--calcite-spacing-xxl);height:var(--calcite-spacing-xxl)}.icon span{line-height:0}.feature-icon .icon{margin-inline-start:calc(var(--calcite-spacing-lg) * -1)}.total-count{align-self:center;margin-inline:var(--calcite-spacing-xxs);line-height:initial}.item-count{display:flex;gap:.5em;align-items:center}`, D = k(L);
|
|
25
|
+
class P extends M {
|
|
26
|
+
constructor() {
|
|
27
|
+
super(...arguments), this.viewModel = D(this), this.messages = T(), this.#i = !1, this.#t = /* @__PURE__ */ new WeakSet(), this.#e = null, this.autoDestroyDisabled = !1, this.icon = "selection", this.view = this.viewModel.view, this.displayMode = "group", this.filterText = this.viewModel.filterText, this.hideFilter = !1, this.hideFilterNotice = !1, this.hideHeader = !1, this.hideItemCloseActions = !1, this.hideItemCount = !1, this.hideItemIcons = !1, this.hideItemMenus = !1, this.hideLayerFilter = !1, this.hideMenu = !1, this.hideTotalCount = !1, this.hideZoomToButton = !1, this.highlightOnHoverDisabled = !1, this.layer = this.viewModel.layer, this.maxVisibleFeatureCountPerLayer = this.viewModel.maxVisibleFeatureCountPerLayer, this.menuScale = "m", this.selectionManager = this.viewModel.selectionManager, this.visualScale = "s", this.arcgisPropertyChange = S()("state"), this.arcgisReady = F();
|
|
28
|
+
}
|
|
29
|
+
static {
|
|
30
|
+
this.properties = { hasFilterText: 16, isUpdating: 16, itemWithOpenMenu: 16, autoDestroyDisabled: 5, disabled: 5, icon: 1, label: 1, referenceElement: 1, view: 0, activeLayerItem: 32, afterListItemSelect: 0, allLayerItems: 32, count: 32, displayMode: 1, effectiveSelectionManager: 32, filterText: 1, hideFilter: 5, hideFilterNotice: 5, hideHeader: 5, hideItemCloseActions: 5, hideItemCount: 5, hideItemIcons: 5, hideItemMenus: 5, hideLayerFilter: 5, hideMenu: 5, hideTotalCount: 5, hideZoomToButton: 5, highlightOnHoverDisabled: 5, listItemActionConfigurations: 0, listItemUnavailableFunction: 0, layer: 0, layerItems: 32, maxVisibleFeatureCountExceeded: 32, maxVisibleFeatureCountPerLayer: 9, menuScale: 1, selectionManager: 0, state: 32, visibleFeatureCount: 32, visibleFeatureItems: 32, visibleLayerCount: 32, visualScale: 1 };
|
|
31
|
+
}
|
|
32
|
+
static {
|
|
33
|
+
this.styles = A;
|
|
34
|
+
}
|
|
35
|
+
#i;
|
|
36
|
+
#t;
|
|
37
|
+
#e;
|
|
38
|
+
get hasFilterText() {
|
|
39
|
+
const { filterText: e } = this;
|
|
40
|
+
return e != null && e !== "";
|
|
41
|
+
}
|
|
42
|
+
get isUpdating() {
|
|
43
|
+
return this.viewModel.isUpdating;
|
|
44
|
+
}
|
|
45
|
+
get disabled() {
|
|
46
|
+
return this.#i || this.state === "disabled";
|
|
47
|
+
}
|
|
48
|
+
set disabled(e) {
|
|
49
|
+
this.#i = e;
|
|
50
|
+
}
|
|
51
|
+
get activeLayerItem() {
|
|
52
|
+
return this.viewModel.activeLayerItem;
|
|
53
|
+
}
|
|
54
|
+
get allLayerItems() {
|
|
55
|
+
return this.viewModel.allLayerItems;
|
|
56
|
+
}
|
|
57
|
+
get count() {
|
|
58
|
+
return this.viewModel.effectiveCount;
|
|
59
|
+
}
|
|
60
|
+
get effectiveSelectionManager() {
|
|
61
|
+
return this.viewModel.effectiveSelectionManager;
|
|
62
|
+
}
|
|
63
|
+
get layerItems() {
|
|
64
|
+
return this.viewModel.layerItems;
|
|
65
|
+
}
|
|
66
|
+
get maxVisibleFeatureCountExceeded() {
|
|
67
|
+
return this.viewModel.maxVisibleFeatureCountExceeded;
|
|
68
|
+
}
|
|
69
|
+
get state() {
|
|
70
|
+
return this.viewModel.state;
|
|
71
|
+
}
|
|
72
|
+
get visibleFeatureCount() {
|
|
73
|
+
return this.viewModel.visibleFeatureCount;
|
|
74
|
+
}
|
|
75
|
+
get visibleFeatureItems() {
|
|
76
|
+
return this.viewModel.visibleFeatureItems;
|
|
77
|
+
}
|
|
78
|
+
get visibleLayerCount() {
|
|
79
|
+
return this.viewModel.visibleLayerCount;
|
|
80
|
+
}
|
|
81
|
+
async clear() {
|
|
82
|
+
this.viewModel.clear();
|
|
83
|
+
}
|
|
84
|
+
async collapseAll() {
|
|
85
|
+
this.viewModel.collapseAll();
|
|
86
|
+
}
|
|
87
|
+
async deselectItem(e) {
|
|
88
|
+
this.viewModel.deselectItem(e);
|
|
89
|
+
}
|
|
90
|
+
async destroy() {
|
|
91
|
+
this.viewModel?.destroy();
|
|
92
|
+
}
|
|
93
|
+
async expandAll() {
|
|
94
|
+
this.viewModel.expandAll();
|
|
95
|
+
}
|
|
96
|
+
async findLayerItem(e) {
|
|
97
|
+
return this.viewModel.findLayerItem(e);
|
|
98
|
+
}
|
|
99
|
+
async findParentItem(e) {
|
|
100
|
+
return this.viewModel.findParentItem(e);
|
|
101
|
+
}
|
|
102
|
+
async goToItem(e) {
|
|
103
|
+
this.viewModel.goToItem(e);
|
|
104
|
+
}
|
|
105
|
+
async removeFromSelection(e) {
|
|
106
|
+
this.viewModel.removeFromSelection(e);
|
|
107
|
+
}
|
|
108
|
+
async replace(e) {
|
|
109
|
+
this.viewModel.replace(e);
|
|
110
|
+
}
|
|
111
|
+
async selectItem(e) {
|
|
112
|
+
this.viewModel.selectSingleItem(e);
|
|
113
|
+
}
|
|
114
|
+
connectedCallback() {
|
|
115
|
+
super.connectedCallback(), this.#e = new IntersectionObserver((e, t) => {
|
|
116
|
+
const { messages: a } = this;
|
|
117
|
+
e.forEach((i) => {
|
|
118
|
+
if (!i.isIntersecting)
|
|
119
|
+
return;
|
|
120
|
+
const l = i.target;
|
|
121
|
+
if (this.#t.has(l)) {
|
|
122
|
+
t.unobserve(l);
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
const d = l.getAttribute("data-thumbnail-key"), o = d ? this._getFeatureItemByThumbnailKey(d) : void 0;
|
|
126
|
+
if (!o)
|
|
127
|
+
return;
|
|
128
|
+
this.#t.add(l);
|
|
129
|
+
const m = o.title && a.previewTemplateAriaLabel ? v(a.previewTemplateAriaLabel, { label: o.title }) : a.preview;
|
|
130
|
+
if (o.thumbnail) {
|
|
131
|
+
l.appendChild(o.thumbnail);
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
o.fetchThumbnail({ ariaLabel: m }).then((h) => h && l.appendChild(h)).catch(() => this.#t.delete(l));
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
disconnectedCallback() {
|
|
139
|
+
super.disconnectedCallback(), this.#e?.disconnect();
|
|
140
|
+
}
|
|
141
|
+
_closeItemMenu(e) {
|
|
142
|
+
(!e || e === this.itemWithOpenMenu) && (this.itemWithOpenMenu = void 0);
|
|
143
|
+
}
|
|
144
|
+
_getFeatureItemByThumbnailKey(e) {
|
|
145
|
+
return this.viewModel.visibleFeatureItems.find((t) => t.thumbnailKey === e);
|
|
146
|
+
}
|
|
147
|
+
_isItemUnavailable(e) {
|
|
148
|
+
return !e.layerIsVisible || this.listItemUnavailableFunction?.({ item: e }) || !1;
|
|
149
|
+
}
|
|
150
|
+
_makeObserverRef() {
|
|
151
|
+
let e = null;
|
|
152
|
+
return (t) => {
|
|
153
|
+
t ? (e = t, this.#e?.observe(t)) : e && (this.#e?.unobserve(e), e = null);
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
_afterListItemSelect(e, t) {
|
|
157
|
+
t.stopPropagation(), this._closeItemMenu(), this.afterListItemSelect?.({ item: e });
|
|
158
|
+
}
|
|
159
|
+
#o() {
|
|
160
|
+
if (this.hideTotalCount || this.hideHeader)
|
|
161
|
+
return;
|
|
162
|
+
const { count: e, messages: t } = this, a = g(e), i = t.selectionCount ? v(t.selectionCount, { count: a }) : void 0;
|
|
163
|
+
return s`<calcite-chip appearance=outline class=${r(c.totalCount)} .closable=${e > 0} .closed=${e === 0} .disabled=${this.disabled} .icon=${this.maxVisibleFeatureCountExceeded ? "exclamation-mark-triangle" : void 0} .label=${a} .scale=${this.visualScale} slot=header-actions-end title=${i ?? u} @calciteChipClose=${this.clear}>${a}</calcite-chip>`;
|
|
164
|
+
}
|
|
165
|
+
#c() {
|
|
166
|
+
if (this.hideHeader || this.hideMenu)
|
|
167
|
+
return;
|
|
168
|
+
const { menuScale: e, messages: t } = this, a = this.disabled || this.count === 0;
|
|
169
|
+
return [
|
|
170
|
+
s`<calcite-action .disabled=${a} icon=reset .scale=${e} slot=header-menu-actions .text=${t.clear ?? ""} text-enabled @click=${this.clear}></calcite-action>`,
|
|
171
|
+
s`<calcite-action .disabled=${a} icon=folders .scale=${e} slot=header-menu-actions .text=${t.collapseAll ?? ""} text-enabled @click=${this.collapseAll}></calcite-action>`
|
|
172
|
+
];
|
|
173
|
+
}
|
|
174
|
+
#r() {
|
|
175
|
+
const { layerItems: e, messages: t } = this;
|
|
176
|
+
if (this.count === 0 || e.length < 2 || this.hideLayerFilter)
|
|
177
|
+
return;
|
|
178
|
+
const a = t.allLayersCount ? v(t.allLayersCount, { count: e.length }) : "";
|
|
179
|
+
return s`<calcite-combobox class=${r(c.layerDropdown)} .disabled=${this.disabled} .label=${t.filterByLayer ?? ""} overlay-positioning=fixed .placeholder=${t.filterByLayer} .scale=${this.visualScale} selection-mode=single-persist @calciteComboboxChange=${({ currentTarget: i }) => {
|
|
180
|
+
this.filterText = void 0;
|
|
181
|
+
const l = i.selectedItems[0]?.value ?? void 0;
|
|
182
|
+
this.layer = l === "all-layers" ? void 0 : l;
|
|
183
|
+
}}>${n("all-layers", s`<calcite-combobox-item .heading=${a} icon=layers .selected=${this.layer == null} value=all-layers></calcite-combobox-item>`)}${this.layerItems.map((i) => this.#h(i))}</calcite-combobox>`;
|
|
184
|
+
}
|
|
185
|
+
#d() {
|
|
186
|
+
if (!(this.hideFilter || this.count === 0))
|
|
187
|
+
return s`<calcite-input clearable .disabled=${this.disabled} icon=search .placeholder=${this.messages.filter} .scale=${this.visualScale} .value=${this.filterText} @calciteInputInput=${({ target: { value: e } }) => {
|
|
188
|
+
this.filterText = e;
|
|
189
|
+
}}></calcite-input>`;
|
|
190
|
+
}
|
|
191
|
+
#h(e) {
|
|
192
|
+
const t = e.title || this.messages?.untitledLayer || "";
|
|
193
|
+
return n(e.key, s`<calcite-combobox-item .heading=${t} .icon=${e.iconName} .selected=${e.layer === this.layer} .value=${e.layer}></calcite-combobox-item>`);
|
|
194
|
+
}
|
|
195
|
+
#u() {
|
|
196
|
+
const { messages: e } = this;
|
|
197
|
+
if (this.visibleFeatureCount !== 0)
|
|
198
|
+
return s`<calcite-list .disabled=${this.disabled} display-mode=nested interaction-mode=interactive .label=${e.componentLabel ?? ""} .loading=${this.isUpdating} .scale=${this.visualScale} selection-mode=none>${this.#s(this.allLayerItems)}</calcite-list>`;
|
|
199
|
+
}
|
|
200
|
+
#s(e) {
|
|
201
|
+
return this.activeLayerItem ? this.#l(this.activeLayerItem) : e.map((t) => b(t) ? this.#v(t) : I(t) ? this.#l(t) : null).filter((t) => t != null);
|
|
202
|
+
}
|
|
203
|
+
#m() {
|
|
204
|
+
if (!(this.disabled || this.visibleFeatureCount > 0 || this.hideFilter || this.hideFilterNotice))
|
|
205
|
+
return s`<calcite-notice class=${r(c.notice)} icon=exclamation-mark-triangle kind=info open .scale=${this.visualScale} width=full><div slot=message>${this.messages.noMatchingFeatures}</div></calcite-notice>`;
|
|
206
|
+
}
|
|
207
|
+
#p(e) {
|
|
208
|
+
if (this.hideItemCount)
|
|
209
|
+
return;
|
|
210
|
+
const { messages: t } = this, a = g(e.total), i = g(e.visibleTotal), l = t.selectionCount ? v(t.selectionCount, { count: a }) : void 0;
|
|
211
|
+
return !this.hasFilterText && e.maxVisibleFeatureCountExceeded ? s`<span class=${r(c.itemCount)} slot=content-end title=${l ?? u}><calcite-icon icon=exclamation-mark-triangle scale=s title=${t.tooManyFeatures ?? u}></calcite-icon>${`${g(this.maxVisibleFeatureCountPerLayer)}+`}</span>` : s`<span class=${r(c.itemCount)} slot=content-end title=${l ?? u}>${i}</span>`;
|
|
212
|
+
}
|
|
213
|
+
#a(e) {
|
|
214
|
+
if (this.hideItemMenus)
|
|
215
|
+
return;
|
|
216
|
+
const { messages: t } = this, a = this.itemWithOpenMenu === e, i = C(e), l = I(e), d = b(e), o = i ? t.deselectFeature : l ? t.deselectLayer : t.deselectGroup;
|
|
217
|
+
return [
|
|
218
|
+
n("dropdown", s`<calcite-dropdown .open=${a} overlay-positioning=fixed placement=bottom-end .scale=${this.menuScale} slot=actions-end width=m @calciteDropdownClose=${() => this._closeItemMenu(e)} @calciteDropdownOpen=${() => {
|
|
219
|
+
this.itemWithOpenMenu = e;
|
|
220
|
+
}}>${n("action", s`<calcite-action icon=ellipsis .scale=${this.visualScale} slot=trigger .text=${t.menu ?? ""}></calcite-action>`)}${// Only render menu-items for open menu(s) to reduce
|
|
221
|
+
// the total number of list item elements in the DOM at any time.
|
|
222
|
+
a ? n("dropdown-group", s`<calcite-dropdown-group selection-mode=none>${this.hideZoomToButton ? void 0 : n("zoom-to", s`<calcite-dropdown-item icon-start=layer-zoom-to @calciteDropdownItemSelect=${() => this.goToItem(e)}>${t.zoomTo}</calcite-dropdown-item>`)}${n("select-single", s`<calcite-dropdown-item icon-start=selection-filter @calciteDropdownItemSelect=${() => this.selectItem(e)}>${i ? t.onlySelectFeature : t.onlySelectThis}</calcite-dropdown-item>`)}${n("clear-selection", s`<calcite-dropdown-item icon-start=selection-x @calciteDropdownItemSelect=${() => this.deselectItem(e)}>${o}</calcite-dropdown-item>`)}${this.listItemActionConfigurations?.map((m) => {
|
|
223
|
+
const { disabled: h, hidden: f, label: $, type: p } = m;
|
|
224
|
+
if (!(typeof f == "function" ? f({ item: e }) : !!f) && (!p || p === "feature" && i || p === "layer" && l || p === "group" && d))
|
|
225
|
+
return n(`custom-action-${$}`, s`<calcite-dropdown-item .disabled=${typeof h == "function" ? h({ item: e }) : !!h} .iconStart=${m.icon ?? void 0} @calciteDropdownItemSelect=${() => m.callback({ item: e })}>${$}</calcite-dropdown-item>`);
|
|
226
|
+
})}</calcite-dropdown-group>`) : void 0}</calcite-dropdown>`)
|
|
227
|
+
];
|
|
228
|
+
}
|
|
229
|
+
#v(e) {
|
|
230
|
+
const t = e.title || this.messages.untitledLayer;
|
|
231
|
+
if (e.visibleTotal === 0)
|
|
232
|
+
return;
|
|
233
|
+
const { displayMode: a } = this;
|
|
234
|
+
return a === "layer" || a === "feature" ? this.#s(e.items) : n(e.key, s`<calcite-list-item .closable=${!this.hideItemCloseActions} .expanded=${e.expanded} .iconStart=${this.hideItemIcons ? void 0 : e.iconName} .label=${t} .unavailable=${this._isItemUnavailable(e)} .value=${e.title} @calciteListItemCollapse=${(i) => {
|
|
235
|
+
i.stopPropagation(), e.expanded = !1;
|
|
236
|
+
}} @calciteListItemClose=${(i) => {
|
|
237
|
+
i.stopPropagation(), this.deselectItem(e);
|
|
238
|
+
}} @calciteListItemExpand=${(i) => {
|
|
239
|
+
i.stopPropagation(), e.expanded = !0;
|
|
240
|
+
}} @calciteListItemSelect=${(i) => this._afterListItemSelect(e, i)}>${this.#a(e)}${this.#s(e.items)}</calcite-list-item>`);
|
|
241
|
+
}
|
|
242
|
+
#l(e) {
|
|
243
|
+
if (e.visibleTotal === 0 || !e.visible)
|
|
244
|
+
return;
|
|
245
|
+
if (this.displayMode === "feature")
|
|
246
|
+
return this.#n(e.featureItems);
|
|
247
|
+
const { messages: t } = this, a = e.title || t.untitledLayer;
|
|
248
|
+
return n(e.key, s`<calcite-list-item .closable=${!this.hideItemCloseActions} .expanded=${e.expanded} .iconStart=${this.hideItemIcons ? void 0 : e.iconName} .label=${a} title=${(e.layerIsVisible ? void 0 : t.layerIsNotVisible) ?? u} .unavailable=${this._isItemUnavailable(e)} .value=${e.title} @calciteListItemCollapse=${(i) => {
|
|
249
|
+
i.stopPropagation(), e.expanded = !1;
|
|
250
|
+
}} @calciteListItemClose=${(i) => {
|
|
251
|
+
i.stopPropagation(), this.deselectItem(e);
|
|
252
|
+
}} @calciteListItemExpand=${(i) => {
|
|
253
|
+
i.stopPropagation(), e.expanded = !0;
|
|
254
|
+
}} @calciteListItemSelect=${(i) => this._afterListItemSelect(e, i)}>${this.#p(e)}${this.#a(e)}${this.#n(e.featureItems)}${e.maxVisibleFeatureCountExceeded ? s`<calcite-notice class=${r(c.notice)} icon=exclamation-mark-triangle kind=info open .scale=${this.visualScale}><div slot=message>${t.tooManyFeatures}</div></calcite-notice>` : void 0}</calcite-list-item>`);
|
|
255
|
+
}
|
|
256
|
+
#n(e) {
|
|
257
|
+
return e.map((t) => this.#g(t));
|
|
258
|
+
}
|
|
259
|
+
#g(e) {
|
|
260
|
+
if (!e.visible)
|
|
261
|
+
return;
|
|
262
|
+
const { highlightOnHoverDisabled: t, messages: a, viewModel: i } = this, l = e.title || a.untitledFeature, d = !this.hideItemIcons && this.displayMode !== "feature";
|
|
263
|
+
return n(e.key, s`<calcite-list-item class=${r(d ? c.listItemFeatureIcon : c.listItemFeature)} .closable=${!this.hideItemCloseActions} .label=${l} .unavailable=${this._isItemUnavailable(e)} .value=${l} @blur=${t ? void 0 : () => i.removeTemporaryHighlight()} @calciteListItemClose=${(o) => {
|
|
264
|
+
o.stopPropagation(), this.deselectItem(e);
|
|
265
|
+
}} @calciteListItemSelect=${(o) => this._afterListItemSelect(e, o)} @focus=${t ? void 0 : () => i.addTemporaryHighlight(e)} @pointerenter=${t ? void 0 : () => i.addTemporaryHighlight(e)} @pointerleave=${t ? void 0 : () => i.removeTemporaryHighlight()}>${this.#f(e)}${this.#a(e)}</calcite-list-item>`);
|
|
266
|
+
}
|
|
267
|
+
#f(e) {
|
|
268
|
+
if (!this.hideItemIcons)
|
|
269
|
+
return n("thumbnail-container", s`<div class=${r(c.listItemIcon)} slot=content-start>${n(e.thumbnailKey, s`<span data-thumbnail-key=${e.thumbnailKey ?? u} ${x(this._makeObserverRef())}></span>`)}</div>`);
|
|
270
|
+
}
|
|
271
|
+
render() {
|
|
272
|
+
const e = this.hideHeader ? void 0 : this.el.title || this.messages.selection;
|
|
273
|
+
return s`<div><calcite-flow><calcite-flow-item class=${r(c.flowItem)} .heading=${e} .loading=${this.state === "loading"} overlay-positioning=fixed .scale=${this.visualScale} selected><calcite-panel class=${r(c.panel)} .disabled=${this.disabled} overlay-positioning=fixed .scale=${this.visualScale}><div class=${r(c.container)}>${this.#r()}${this.#d()}${this.#u()}${this.#m()}</div></calcite-panel>${this.#o()}${this.#c()}</calcite-flow-item></calcite-flow></div>`;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
y("arcgis-selection-list", P);
|
|
277
|
+
export {
|
|
278
|
+
P as ArcgisSelectionList
|
|
279
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-chip";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-combobox";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-combobox-item";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-input";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
9
|
+
import "@esri/calcite-components/components/calcite-dropdown";
|
|
10
|
+
import "@esri/calcite-components/components/calcite-dropdown-group";
|
|
11
|
+
import "@esri/calcite-components/components/calcite-dropdown-item";
|
|
12
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
13
|
+
import "@esri/calcite-components/components/calcite-flow";
|
|
14
|
+
import "@esri/calcite-components/components/calcite-flow-item";
|
|
15
|
+
import "@esri/calcite-components/components/calcite-panel";
|
|
16
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { ListItem } from "@arcgis/core/widgets/support/SelectionList/types.js";
|
|
2
|
+
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A callback function that is called to determine if a menu action should be unavailable.
|
|
6
|
+
*
|
|
7
|
+
* @param params
|
|
8
|
+
* @since 5.2
|
|
9
|
+
*/
|
|
10
|
+
export type ListItemUnavailableFunction = (params: { item: ListItem; }) => boolean;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Configuration for list item menu actions.
|
|
14
|
+
*
|
|
15
|
+
* @since 5.2
|
|
16
|
+
*/
|
|
17
|
+
export interface ListItemActionConfiguration {
|
|
18
|
+
/**
|
|
19
|
+
* A label for the menu action. This will be displayed in the list item menu.
|
|
20
|
+
*
|
|
21
|
+
* @since 5.2
|
|
22
|
+
*/
|
|
23
|
+
label: string;
|
|
24
|
+
/** A callback function that is called when the menu action is selected. */
|
|
25
|
+
callback: ListItemActionCallbackFunction;
|
|
26
|
+
/**
|
|
27
|
+
* An optional callback function that is called to determine if the menu action should be disabled.
|
|
28
|
+
* If this function returns true, the menu action will be disabled. This value can also be a boolean.
|
|
29
|
+
*
|
|
30
|
+
* @since 5.2
|
|
31
|
+
*/
|
|
32
|
+
disabled?: ListItemActionDisabledFunction | boolean;
|
|
33
|
+
/**
|
|
34
|
+
* An optional callback function that is called to determine if the menu action should be hidden.
|
|
35
|
+
* If this function returns true, the menu action will be hidden. This value can also be a boolean.
|
|
36
|
+
*
|
|
37
|
+
* @since 5.2
|
|
38
|
+
*/
|
|
39
|
+
hidden?: ListItemActionHiddenFunction | boolean;
|
|
40
|
+
/**
|
|
41
|
+
* An optional property specifying an icon to display for the menu action.
|
|
42
|
+
*
|
|
43
|
+
* @since 5.2
|
|
44
|
+
*/
|
|
45
|
+
icon?: Icon["icon"];
|
|
46
|
+
/**
|
|
47
|
+
* The type of the list item that the menu action configuration applies to.
|
|
48
|
+
* If this property is not specified, the menu action will be available for all list item types.
|
|
49
|
+
*
|
|
50
|
+
* @since 5.2
|
|
51
|
+
*/
|
|
52
|
+
type?: null | undefined | "feature" | "group" | "layer";
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* A callback function that is called when a list item is selected.
|
|
57
|
+
*
|
|
58
|
+
* @param params
|
|
59
|
+
* @since 5.2
|
|
60
|
+
*/
|
|
61
|
+
export type ListItemSelectCallback = (params: { item: ListItem; }) => void;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* A callback function that is called when a menu action is selected.
|
|
65
|
+
*
|
|
66
|
+
* @param params
|
|
67
|
+
* @since 5.2
|
|
68
|
+
*/
|
|
69
|
+
export type ListItemActionCallbackFunction = (params: { item: ListItem; }) => void;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* A callback function that is called to determine if a menu action should be disabled.
|
|
73
|
+
*
|
|
74
|
+
* @param params
|
|
75
|
+
* @since 5.2
|
|
76
|
+
*/
|
|
77
|
+
export type ListItemActionDisabledFunction = (params: { item: ListItem; }) => boolean;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* A callback function that is called to determine if a menu action should be hidden.
|
|
81
|
+
*
|
|
82
|
+
* @param params
|
|
83
|
+
* @since 5.2
|
|
84
|
+
*/
|
|
85
|
+
export type ListItemActionHiddenFunction = (params: { item: ListItem; }) => boolean;
|
|
@@ -7,7 +7,7 @@ import type WebMap from "@arcgis/core/WebMap.js";
|
|
|
7
7
|
import type WebScene from "@arcgis/core/WebScene.js";
|
|
8
8
|
import type { DateTimeFormatOptions } from "@arcgis/core/intl/date.js";
|
|
9
9
|
import type { Format, Mode, State, Stops, TickFormat } from "./types.js";
|
|
10
|
-
import type { TimeZone } from "
|
|
10
|
+
import type { TimeZone } from "@arcgis/core/time/types.js";
|
|
11
11
|
|
|
12
12
|
export class TimeBarViewModel extends Accessor {
|
|
13
13
|
/** @default false */
|
|
@@ -281,6 +281,7 @@ export abstract class ArcgisTimeBar extends LitElement {
|
|
|
281
281
|
"time-window"?: string | undefined;
|
|
282
282
|
} | undefined;
|
|
283
283
|
next?: string | undefined;
|
|
284
|
+
noTimeZoneAdjustment?: string | undefined;
|
|
284
285
|
overview?: string | undefined;
|
|
285
286
|
play?: string | undefined;
|
|
286
287
|
playbackRate?: string | undefined;
|
|
@@ -313,11 +314,6 @@ export abstract class ArcgisTimeBar extends LitElement {
|
|
|
313
314
|
} | undefined;
|
|
314
315
|
timeZone?: string | undefined;
|
|
315
316
|
timeZoneDescription?: string | undefined;
|
|
316
|
-
timeZoneOptions?: {
|
|
317
|
-
specific?: string | undefined;
|
|
318
|
-
system?: string | undefined;
|
|
319
|
-
unknown?: string | undefined;
|
|
320
|
-
} | undefined;
|
|
321
317
|
unit?: string | undefined;
|
|
322
318
|
unitPrompt?: string | undefined;
|
|
323
319
|
units?: string | undefined;
|
|
@@ -348,6 +344,7 @@ export abstract class ArcgisTimeBar extends LitElement {
|
|
|
348
344
|
"time-window": string;
|
|
349
345
|
};
|
|
350
346
|
next: string;
|
|
347
|
+
noTimeZoneAdjustment: string;
|
|
351
348
|
overview: string;
|
|
352
349
|
play: string;
|
|
353
350
|
playbackRate: string;
|
|
@@ -380,11 +377,6 @@ export abstract class ArcgisTimeBar extends LitElement {
|
|
|
380
377
|
};
|
|
381
378
|
timeZone: string;
|
|
382
379
|
timeZoneDescription: string;
|
|
383
|
-
timeZoneOptions: {
|
|
384
|
-
specific: string;
|
|
385
|
-
system: string;
|
|
386
|
-
unknown: string;
|
|
387
|
-
};
|
|
388
380
|
unit: string;
|
|
389
381
|
unitPrompt: string;
|
|
390
382
|
units: string;
|
|
@@ -413,6 +405,7 @@ export abstract class ArcgisTimeBar extends LitElement {
|
|
|
413
405
|
"time-window": string;
|
|
414
406
|
};
|
|
415
407
|
next: string;
|
|
408
|
+
noTimeZoneAdjustment: string;
|
|
416
409
|
overview: string;
|
|
417
410
|
play: string;
|
|
418
411
|
playbackRate: string;
|
|
@@ -445,11 +438,6 @@ export abstract class ArcgisTimeBar extends LitElement {
|
|
|
445
438
|
};
|
|
446
439
|
timeZone: string;
|
|
447
440
|
timeZoneDescription: string;
|
|
448
|
-
timeZoneOptions: {
|
|
449
|
-
specific: string;
|
|
450
|
-
system: string;
|
|
451
|
-
unknown: string;
|
|
452
|
-
};
|
|
453
441
|
unit: string;
|
|
454
442
|
unitPrompt: string;
|
|
455
443
|
units: string;
|