@arcgis/map-components 5.2.0-next.93 → 5.2.0-next.95
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/{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/2F6NRCC5.js +2 -0
- package/dist/cdn/{GRVXZRHO.js → 2GDWXNYN.js} +1 -1
- package/dist/cdn/{SJJ7QEQX.js → 2HYRTMJ6.js} +1 -1
- package/dist/cdn/376WTHOL.js +2 -0
- 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/{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/7N4V2IN6.js +2 -0
- package/dist/cdn/{HTDQ3T52.js → 7TKEMQVG.js} +1 -1
- package/dist/cdn/{VNT4QL2K.js → 7TTSWTGP.js} +1 -1
- package/dist/cdn/7ZZWKH2U.js +3 -0
- package/dist/cdn/{HAUHWMHN.js → A3DPBGUE.js} +1 -1
- package/dist/cdn/{EVKOQOVV.js → A6Z7H75I.js} +1 -1
- package/dist/cdn/{TY7RUZSW.js → ADSOI3MN.js} +1 -1
- package/dist/cdn/{RCGLBAHP.js → AEGRRGUN.js} +1 -1
- package/dist/cdn/{W2HQAUUA.js → AKNAVXKD.js} +1 -1
- package/dist/cdn/{6I6P36ZC.js → AUTF57U5.js} +1 -1
- package/dist/cdn/{YXKHHGAI.js → AXEVIUBZ.js} +1 -1
- package/dist/cdn/AY2PVEY5.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/{I22IJPSN.js → BQJHJ74K.js} +1 -1
- package/dist/cdn/BR6D5EO4.js +2 -0
- 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/{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/{UEBDFBOK.js → CDMVB72W.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/{XRTSGX32.js → D5TJRWW3.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/{56KR4KYO.js → E3ILZB5S.js} +1 -1
- package/dist/cdn/{YTRY74ZP.js → E5TRFG7X.js} +1 -1
- 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/{2GM4O42V.js → FY6IGGPV.js} +1 -1
- package/dist/cdn/{Z3GGFI6Z.js → FZDURX2Y.js} +1 -1
- package/dist/cdn/{F3G626XT.js → G2BLA5NQ.js} +1 -1
- package/dist/cdn/{2AKHVAG7.js → G7HOUS4O.js} +1 -1
- package/dist/cdn/{MIRKEWHI.js → GG7KEBIO.js} +1 -1
- package/dist/cdn/GH2RPE3P.js +2 -0
- 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/HF3GCBAI.js +2 -0
- package/dist/cdn/{S7OFSONY.js → HIG6CVQX.js} +1 -1
- package/dist/cdn/{BSLVN2NW.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/{DMFYRFSD.js → JKOIMKKL.js} +1 -1
- package/dist/cdn/{KX3XJGXZ.js → JOPAUFUX.js} +1 -1
- package/dist/cdn/{A5ZHWVI3.js → JOUNNARF.js} +1 -1
- package/dist/cdn/JVC76RB3.js +2 -0
- package/dist/cdn/K2FKS4AS.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/{IITMDFOP.js → KZPPV365.js} +1 -1
- package/dist/cdn/{SVXVFWF5.js → L3YJAQBN.js} +1 -1
- package/dist/cdn/{I5EJ7LOJ.js → LKCX5SXM.js} +1 -1
- 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/MIIHAXAZ.js +2 -0
- package/dist/cdn/MLXWIPK2.js +2 -0
- 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/{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/O6CGTOAO.js +2 -0
- 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/{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/{35VRWQWE.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/{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/{X5M3AEQM.js → S3QMZKDY.js} +1 -1
- package/dist/cdn/{VLKHH2Y6.js → S5XIZ2L4.js} +1 -1
- 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/{DDGXUCQU.js → SSJBKHEN.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/{DCGOOUOL.js → XFA3SAYB.js} +1 -1
- package/dist/cdn/{Q2GU7GDS.js → XKRMD24I.js} +1 -1
- package/dist/cdn/XQH6U57U.js +2 -0
- 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/{B23TN7FG.js → XZGU6TR6.js} +1 -1
- package/dist/cdn/{AOVBGBGS.js → YB3YZ6U5.js} +1 -1
- package/dist/cdn/YDP5A3EP.js +2 -0
- package/dist/cdn/{YNC35BAZ.js → YELCBIGX.js} +1 -1
- package/dist/cdn/{H2MG6U2T.js → YHNCQVNV.js} +1 -1
- package/dist/cdn/{FD7U6V53.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/{DDGANMOY.js → ZSDNX326.js} +1 -1
- package/dist/cdn/{GC65JYR2.js → ZTLILWC7.js} +1 -1
- 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/utility-network-trace-configuration-picker/t9n/messages.en.json +1 -0
- 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/keyboard-utils.js +14 -8
- package/dist/chunks/layer-list-item.js +13 -13
- package/dist/chunks/useArcgisViewReadyError.js +14 -9
- 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-media/customElement.js +47 -47
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +17 -17
- package/dist/components/arcgis-features-next/customElement.js +31 -27
- package/dist/components/arcgis-link-chart/customElement.js +23 -20
- package/dist/components/arcgis-map/customElement.js +15 -12
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +15 -12
- 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.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.js +6 -0
- package/dist/components/arcgis-utility-network-picker/customElement.js +18 -15
- 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-configuration-picker/customElement.d.ts +89 -0
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +137 -0
- package/dist/components/arcgis-utility-network-trace-configuration-picker/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-configuration-picker/index.js +9 -0
- package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +137 -206
- package/dist/components/arcgis-utility-network-trace-inputs-next/index.js +1 -6
- 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-weather/customElement.js +1 -1
- 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 +29 -3
- package/dist/loader.js +7 -4
- package/dist/types/lumina.d.ts +24 -7
- package/dist/types/preact.d.ts +27 -8
- package/dist/types/react.d.ts +30 -9
- package/dist/types/stencil.d.ts +24 -7
- package/package.json +5 -5
- package/dist/cdn/323SSBOJ.js +0 -2
- package/dist/cdn/32XG4IQO.js +0 -2
- package/dist/cdn/34CXVCB3.js +0 -2
- package/dist/cdn/BXDUMWWE.js +0 -2
- package/dist/cdn/ECXFGOCB.js +0 -2
- package/dist/cdn/FLVENMD3.js +0 -2
- package/dist/cdn/FR3EHEIV.js +0 -2
- package/dist/cdn/HEYHZKI2.js +0 -3
- package/dist/cdn/I5DFLVVJ.js +0 -2
- package/dist/cdn/IORWRMMG.js +0 -2
- package/dist/cdn/J3743ZYD.js +0 -2
- package/dist/cdn/KGXZG3YI.js +0 -2
- package/dist/cdn/MSNVY4PH.js +0 -2
- package/dist/cdn/NO6MFBNV.js +0 -2
- package/dist/cdn/NP5NJFWN.js +0 -2
- package/dist/cdn/Q6TYHAOA.js +0 -2
- package/dist/cdn/R6ZUE6GP.js +0 -2
- package/dist/cdn/RJSJ53UD.js +0 -2
- package/dist/cdn/SYDGAFU5.js +0 -2
- package/dist/cdn/VY2FRIAX.js +0 -2
- package/dist/cdn/ZGEJX5IU.js +0 -2
- package/dist/cdn/ZTRUEI25.js +0 -2
- package/dist/cdn/assets/utility-network-subnetwork-info-next/t9n/messages.en.json +0 -1
- package/dist/components/arcgis-utility-network-subnetwork-info-next/customElement.d.ts +0 -29
- package/dist/components/arcgis-utility-network-subnetwork-info-next/customElement.js +0 -35
- package/dist/support/time-utils.d.ts +0 -7
- /package/dist/components/{arcgis-utility-network-subnetwork-info-next → arcgis-time-zone-chip}/index.d.ts +0 -0
- /package/dist/components/{arcgis-utility-network-subnetwork-info-next/index.js → arcgis-utility-network-elements-result-item/index.d.ts} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-label";
|
|
2
2
|
import "@esri/calcite-components/components/calcite-scrim";
|
|
3
|
+
import "../arcgis-time-zone-chip/index.js";
|
|
3
4
|
import "../arcgis-time-of-day-slider/index.js";
|
|
4
5
|
import "@esri/calcite-components/components/calcite-input-time-zone";
|
|
5
6
|
import "@esri/calcite-components/components/calcite-button";
|
|
@@ -7,7 +7,7 @@ import c from "@arcgis/core/widgets/Directions.js";
|
|
|
7
7
|
import { LitElement as l, createEvent as d } from "@arcgis/lumina";
|
|
8
8
|
import { log as g } from "@arcgis/toolkit/log";
|
|
9
9
|
import { m as p } from "../../chunks/useWidget.js";
|
|
10
|
-
import {
|
|
10
|
+
import { f as h } from "../../chunks/component-utils.js";
|
|
11
11
|
import { css as m } from "lit";
|
|
12
12
|
import { u as f } from "../../chunks/useLayerById.js";
|
|
13
13
|
const u = m`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-search{flex-flow:row;justify-content:center;align-items:center;width:240px;display:flex}.esri-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: 240px;width:31px}.esri-search__autocomplete{flex:1}.esri-search__container{flex-flow:row;flex:1 0 100%;align-items:stretch;display:flex;position:relative}.esri-search__form{flex-flow:row;flex:1 0;align-items:stretch;margin:0;padding:0;display:flex}.esri-search-result-renderer calcite-block,.esri-search-result-renderer calcite-block[expanded]{margin-block:0;border:0;margin-block-start:var(--calcite-spacing-md)}.esri-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}:host{display:flex}.esri-directions{display:flex;flex:1 1 auto;overflow:hidden}.esri-directions calcite-flow-item{--calcite-color-background: var(--calcite-color-foreground-1)}.esri-directions calcite-flow{z-index:1;position:relative}.esri-directions__accordion{--calcite-accordion-border-color: transparent}.esri-directions__stop-container{--calcite-list-border-color: transparent;--calcite-list-background-color-hover: var(--calcite-color-foreground-1);margin-block-start:var(--calcite-spacing-sm);display:flex}.esri-directions__stop-list{flex:auto}.esri-directions__action-container{margin-top:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm);display:flex}.esri-directions__add-stop-button{margin-inline-end:var(--calcite-spacing-xs)}.esri-directions__departure-time{--calcite-label-margin-bottom: 0}.esri-directions__departure-time-options{margin-bottom:var(--calcite-spacing-sm);display:flex}.esri-directions__departure-time-options calcite-input-date-picker,.esri-directions__departure-time-options calcite-input-time-picker{flex:1}.esri-directions__directions-header{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);flex-direction:column;display:flex}.esri-directions__header-stops{gap:var(--calcite-spacing-base) var(--calcite-spacing-xxs);font-size:var(--calcite-font-size--1);grid-template-columns:auto 1fr;margin-block-end:var(--calcite-spacing-base);display:grid}.esri-directions__directions-header-stop-name{text-overflow:ellipsis;color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium);overflow:hidden}.esri-directions__edit-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__edit-information-container{border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);background-color:var(--calcite-color-surface-1);padding:var(--calcite-spacing-md)}.esri-directions__edit-toolbar-container{margin:var(--calcite-spacing-md);flex-flow:column;align-items:flex-start;display:flex}.esri-directions__edit-toolbar{border-width:var(--calcite-border-width-sm);border-radius:var(--calcite-corner-radius-round);border-style:solid;border-color:var(--calcite-color-foreground-3);flex-flow:row;display:flex;overflow:hidden}.esri-directions__solve-route{border-inline-start:solid var(--calcite-border-width-sm) var(--calcite-color-border-3)}.esri-directions__flex-column{flex-direction:column;display:flex}.esri-directions__flex-row{flex-direction:row;display:flex}.esri-directions__label-emphasize{font-weight:var(--calcite-font-weight-medium)}.esri-directions__label-no-bottom-margin{--calcite-label-margin-bottom: 0}.esri-directions__margin-inline-medium{margin-inline:var(--calcite-spacing-md)}.esri-directions__padding-medium{padding:var(--calcite-spacing-md)}.esri-directions__route-item{margin:var(--calcite-spacing-md);border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-round);flex:1 0 auto;width:auto;margin-block-start:var(--calcite-spacing-sm);display:flex;overflow:hidden}.esri-directions__route-item-button{background-color:transparent;padding:var(--calcite-spacing-sm) var(--calcite-spacing-md);text-align:unset;font-family:var(--calcite-font-family);border:none;flex:1 0 auto;align-items:center;margin:0;padding-inline-end:var(--calcite-spacing-xs);display:flex;calcite-icon{color:var(--calcite-action-text-color)}}.esri-directions__route-item-button:hover{background-color:var(--calcite-color-foreground-2);cursor:pointer}.esri-directions__route-item-button-content{flex-direction:column;flex:1 0 auto;display:flex}.esri-directions__route-item-label{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-md);font-weight:var(--calcite-font-weight-medium)}.esri-directions__route-item-description{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-regular)}.esri-directions__optimize-section{--calcite-block-section-header-text-color: var(--calcite-color-text-1)}.esri-directions__optimize-switches{cursor:pointer;margin-inline-start:var(--calcite-spacing-md)}.esri-directions__panel-header-action{align-items:center;display:flex}.esri-directions__primary-flow-item{flex-flow:column;flex:auto;justify-content:flex-start;align-items:stretch;display:flex;overflow:visible}.esri-directions__primary-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__primary-footer-centered{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md);flex-flow:column wrap;align-items:center;display:flex}.esri-directions__primary-footer-loader{--calcite-loader-spacing: 0;margin-top:var(--calcite-spacing-md);margin-bottom:var(--calcite-spacing-md)}.esri-directions__save-error{flex-direction:column;align-items:center;display:flex}.esri-directions__save-error-icon{margin-top:calc(var(--calcite-spacing-lg) * 3);margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-status-danger)}.esri-directions__save-error-label{margin-inline:var(--calcite-spacing-sm)}.esri-directions__save-process-loader{padding-top:calc(var(--calcite-spacing-lg) * 3);padding-bottom:calc(var(--calcite-spacing-lg) * 2)}.esri-directions__selected-feature-container{margin-inline:var(--calcite-spacing-md);height:100px;overflow-y:auto}.esri-directions__separator{margin:var(--calcite-spacing-md) 0;background-color:var(--calcite-color-border-3);height:var(--calcite-border-width-sm)}.esri-directions__stop-item .esri-search{width:auto}.esri-directions__print-document{box-sizing:border-box;z-index:var(--calcite-z-index-overlay);background-color:var(--calcite-color-foreground-1);width:100%;height:100%;position:fixed;top:0;left:0;overflow-y:scroll}.esri-directions__print-body{padding-inline:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header{margin-bottom:var(--calcite-spacing-lg);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);align-items:center;display:flex}.esri-directions__print-header-label{padding-block:var(--calcite-spacing-sm);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-bold);flex-direction:column;flex-grow:1;display:flex}.esri-directions__print-section{margin-top:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header-buttons{padding-inline-end:var(--calcite-spacing-md);display:flex}.esri-directions__print--avoid-page-break{break-inside:avoid}@media print{body.esri-directions__print-media{margin:0;padding:0}body.esri-directions__print-media>:not(div.esri-directions__print-document){display:none}}@media print{.esri-directions__print-document{height:auto;position:static;overflow:visible}.esri-directions__print--hide-on-print{display:none}}`, v = p(c), t = "map-components:arcgis-directions";
|
|
@@ -12,17 +12,17 @@ import te from "@arcgis/core/popup/FieldInfo.js";
|
|
|
12
12
|
import V from "@arcgis/core/popup/content/support/ChartMediaInfoValueSeries.js";
|
|
13
13
|
import { unsafeGetCalciteModeName as ie } from "@arcgis/toolkit/dom";
|
|
14
14
|
import { renderingSanitizer as N } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
15
|
-
import { f as A, b as R, l as z, m as X, n as ae, o as E, i as re, p as ne, h as
|
|
16
|
-
import {
|
|
17
|
-
const
|
|
15
|
+
import { f as A, b as R, l as z, m as X, n as ae, o as E, i as re, p as ne, h as P, s as se } from "../../chunks/feature-utils.js";
|
|
16
|
+
import { b as oe, a as le, c as ce } from "../../chunks/keyboard-utils.js";
|
|
17
|
+
const de = W`.container{display:flex;flex-flow:row wrap;align-items:center;margin-top:var(--calcite-spacing-xs);width:100%;min-height:150px}.container .pagination-button{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding-block:var(--calcite-spacing-xs);padding-inline:var(--calcite-spacing-xs);color:var(--calcite-color-text-3)}.container .pagination-button:hover,.container .pagination-button:focus{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1);fill:var(--calcite-color-text-1)}.item-title{margin:0;font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-snug)}.item-caption{padding-block-start:var(--calcite-spacing-xxs);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-snug)}.item{display:flex;align-items:flex-start;justify-content:center;margin-block:var(--calcite-spacing-xs);width:100%;height:auto}.item-navigation{display:flex;flex:0 1 100%;align-items:flex-start;justify-content:space-between;margin-block-end:var(--calcite-spacing-xs)}.item-text{margin-inline-end:var(--calcite-spacing-xs)}.pagination{display:flex;flex:0 0 auto;align-items:center;overflow:hidden}.pagination:only-child{margin-inline-start:auto}.pagination-text{padding-inline:var(--calcite-spacing-xxs);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.item-container{flex:0 1 auto;width:100%}.item-container img{max-width:100%}.item-container img[src$=".SVG"],.item-container img[src$=".svg"]{width:100%}.chart{width:100%;height:155px}`;
|
|
18
18
|
function $(S) {
|
|
19
19
|
if (!A(S))
|
|
20
20
|
return null;
|
|
21
21
|
const [e, t] = S.split("/").slice(1);
|
|
22
22
|
return { layerId: e, fieldName: t };
|
|
23
23
|
}
|
|
24
|
-
const k = 15, C = "category", w = "value",
|
|
25
|
-
class
|
|
24
|
+
const k = 15, C = "category", w = "value", ue = "rgba(50, 50, 50, 1)", he = 250, fe = 500, me = 200;
|
|
25
|
+
class pe extends Q {
|
|
26
26
|
constructor() {
|
|
27
27
|
super(...arguments), this._direction = G(), this._prefersReducedMotion = q("(prefers-reduced-motion)"), this.activeMediaInfoIndex = 0, this.chartAnimationDisabled = !1, this.headingLevel = 2;
|
|
28
28
|
}
|
|
@@ -30,7 +30,7 @@ class fe extends Q {
|
|
|
30
30
|
this.properties = { _refreshIntervalInfo: 16, messages: 0, values: 0, expressionValues: 0, activeMediaInfoIndex: 9, chartAnimationDisabled: 5, activeMediaInfo: 32, formattedMediaInfos: 32, description: 1, fieldInfoMap: 0, layer: 0, mediaInfos: 0, popupTemplate: 0, relatedInfos: 0, formattedValues: 0, heading: 1, graphic: 0, formattedMediaInfoCount: 32, headingLevel: 9 };
|
|
31
31
|
}
|
|
32
32
|
static {
|
|
33
|
-
this.styles =
|
|
33
|
+
this.styles = de;
|
|
34
34
|
}
|
|
35
35
|
get activeMediaInfo() {
|
|
36
36
|
return this.formattedMediaInfos[this.activeMediaInfoIndex] || null;
|
|
@@ -134,18 +134,18 @@ class fe extends Q {
|
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
_setChartValue(e) {
|
|
137
|
-
const { value: t, values: i, expressionValues: a, formattedValues: n, chartType: s, layer: o } = e, { popupTemplate: r, relatedInfos: c } = this, { fields:
|
|
138
|
-
if (t.fields = ae(
|
|
137
|
+
const { value: t, values: i, expressionValues: a, formattedValues: n, chartType: s, layer: o } = e, { popupTemplate: r, relatedInfos: c } = this, { fields: m, normalizeField: d } = t, l = o;
|
|
138
|
+
if (t.fields = ae(m, l), d && (t.normalizeField = E(d, l)), !m.some((f) => !!(n[f] != null || A(f) && c?.size)))
|
|
139
139
|
return;
|
|
140
140
|
const u = r?.fieldInfos ?? [];
|
|
141
|
-
t.series = [],
|
|
141
|
+
t.series = [], m.forEach((f, h) => {
|
|
142
142
|
const g = t.colors?.[h];
|
|
143
|
-
if (A(
|
|
143
|
+
if (A(f)) {
|
|
144
144
|
t.series = [
|
|
145
145
|
...t.series,
|
|
146
146
|
...this._getRelatedChartInfos({
|
|
147
147
|
fieldInfos: u,
|
|
148
|
-
fieldName:
|
|
148
|
+
fieldName: f,
|
|
149
149
|
formattedValues: n,
|
|
150
150
|
expressionValues: a,
|
|
151
151
|
chartType: s,
|
|
@@ -161,7 +161,7 @@ class fe extends Q {
|
|
|
161
161
|
chartType: s,
|
|
162
162
|
formattedValues: n,
|
|
163
163
|
expressionValues: a,
|
|
164
|
-
fieldName:
|
|
164
|
+
fieldName: f,
|
|
165
165
|
fieldInfos: u,
|
|
166
166
|
color: g
|
|
167
167
|
});
|
|
@@ -169,7 +169,7 @@ class fe extends Q {
|
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
171
|
_getRelatedChartInfos(e) {
|
|
172
|
-
const { fieldInfos: t, fieldName: i, formattedValues: a, chartType: n, value: s, color: o, expressionValues: r } = e, c = [],
|
|
172
|
+
const { fieldInfos: t, fieldName: i, formattedValues: a, chartType: n, value: s, color: o, expressionValues: r } = e, c = [], m = $(i), d = m && this.relatedInfos?.get(m.layerId);
|
|
173
173
|
if (!d)
|
|
174
174
|
return c;
|
|
175
175
|
const { relatedFeatures: l, relation: p } = d;
|
|
@@ -179,7 +179,7 @@ class fe extends Q {
|
|
|
179
179
|
return l.forEach((h) => {
|
|
180
180
|
const g = h.attributes;
|
|
181
181
|
g && Object.keys(g).forEach((x) => {
|
|
182
|
-
x ===
|
|
182
|
+
x === m.fieldName && c.push(this._getChartOption({
|
|
183
183
|
value: s,
|
|
184
184
|
values: g,
|
|
185
185
|
formattedValues: a,
|
|
@@ -198,19 +198,19 @@ class fe extends Q {
|
|
|
198
198
|
return i === "pie-chart" ? `${e}` : `${e}: ${t}`;
|
|
199
199
|
}
|
|
200
200
|
_getChartOption(e) {
|
|
201
|
-
const { value: t, values: i, formattedValues: a, expressionValues: n, fieldName: s, relatedFieldName: o, fieldInfos: r, chartType: c, hasMultipleRelatedFeatures:
|
|
201
|
+
const { value: t, values: i, formattedValues: a, expressionValues: n, fieldName: s, relatedFieldName: o, fieldInfos: r, chartType: c, hasMultipleRelatedFeatures: m, color: d } = e, { layer: l, graphic: p } = this, u = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { normalizeField: f, tooltipField: h } = t, g = f ? A(f) ? i[$(f).fieldName] : i[f] : null, x = re(s) && n?.[s] !== void 0 ? n[s] : o && i[o] !== void 0 ? i[o] : i[s] !== void 0 ? i[s] : a[s], I = x === void 0 ? null : x && g && typeof x == "number" && typeof g == "number" ? x / g : x, v = ne(r, s), M = E(s, l), b = (h && a[h] !== void 0 ? a[h] : P({
|
|
202
202
|
fieldInfo: v || new te({ fieldName: M }),
|
|
203
203
|
expressionInfos: this.popupTemplate?.expressionInfos,
|
|
204
204
|
graphic: p,
|
|
205
205
|
layer: l
|
|
206
|
-
})) ?? "",
|
|
206
|
+
})) ?? "", Y = a[M] ?? "", L = I != null ? typeof I == "number" ? I : Number(I) : null;
|
|
207
207
|
if (A(s)) {
|
|
208
|
-
const T = u.get(s.toLowerCase()), U = h ? u.get(h.toLowerCase()) : null,
|
|
208
|
+
const T = u.get(s.toLowerCase()), U = h ? u.get(h.toLowerCase()) : null, D = T?.fieldName ?? s, F = m && h ? $(h).fieldName : U?.fieldName ?? h, O = (m && F ? i[F] : a[F] ?? (T && P({ fieldInfo: T, layer: l, graphic: p })) ?? T?.fieldName ?? o) ?? "", H = (m && o ? i[o] : a[D]) ?? "";
|
|
209
209
|
return new V({
|
|
210
210
|
fieldName: s,
|
|
211
211
|
tooltip: this._getTooltip({
|
|
212
|
-
label:
|
|
213
|
-
value:
|
|
212
|
+
label: O,
|
|
213
|
+
value: H,
|
|
214
214
|
chartType: c
|
|
215
215
|
}),
|
|
216
216
|
color: d,
|
|
@@ -221,7 +221,7 @@ class fe extends Q {
|
|
|
221
221
|
fieldName: s,
|
|
222
222
|
tooltip: this._getTooltip({
|
|
223
223
|
label: b,
|
|
224
|
-
value:
|
|
224
|
+
value: Y,
|
|
225
225
|
chartType: c
|
|
226
226
|
}),
|
|
227
227
|
color: d,
|
|
@@ -258,25 +258,25 @@ class fe extends Q {
|
|
|
258
258
|
root: a
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
|
-
|
|
261
|
+
_handleMediaKeydown(e) {
|
|
262
262
|
const { key: t } = e;
|
|
263
|
-
oe(t, this._direction) && (e.stopPropagation(), this.previous()),
|
|
263
|
+
e.defaultPrevented || oe(e) || (le(t, this._direction, { horizontalOnly: !0 }) && (e.stopPropagation(), e.preventDefault(), this.previous()), ce(t, this._direction, { horizontalOnly: !0 }) && (e.stopPropagation(), e.preventDefault(), this.next()));
|
|
264
264
|
}
|
|
265
265
|
_canAnimateChart() {
|
|
266
266
|
return !this.chartAnimationDisabled && !this._prefersReducedMotion;
|
|
267
267
|
}
|
|
268
268
|
_getChartAnimationMS() {
|
|
269
|
-
return this._canAnimateChart() ?
|
|
269
|
+
return this._canAnimateChart() ? he : 0;
|
|
270
270
|
}
|
|
271
271
|
_getChartSeriesAnimationMS() {
|
|
272
|
-
return this._canAnimateChart() ?
|
|
272
|
+
return this._canAnimateChart() ? fe : 0;
|
|
273
273
|
}
|
|
274
274
|
async _customizeChartTooltip(e, t = "horizontal") {
|
|
275
275
|
const { color: i } = await import("@amcharts/amcharts5/index.js");
|
|
276
276
|
e.setAll({
|
|
277
277
|
pointerOrientation: t
|
|
278
278
|
}), e.get("background")?.setAll({
|
|
279
|
-
stroke: i(
|
|
279
|
+
stroke: i(ue)
|
|
280
280
|
}), e.label.setAll({
|
|
281
281
|
direction: this._direction,
|
|
282
282
|
oversizedBehavior: "wrap",
|
|
@@ -287,9 +287,9 @@ class fe extends Q {
|
|
|
287
287
|
const [{ Tooltip: i }, { PieChart: a, PieSeries: n }] = await Promise.all([
|
|
288
288
|
import("@amcharts/amcharts5/index.js"),
|
|
289
289
|
import("@amcharts/amcharts5/percent.js")
|
|
290
|
-
]), { mediaInfo: s, root: o } = e, { title: r } = s, c = 5,
|
|
290
|
+
]), { mediaInfo: s, root: o } = e, { title: r } = s, c = 5, m = s?.altText || s?.title || "", d = o.container.children.push(a.new(o, {
|
|
291
291
|
role: "figure",
|
|
292
|
-
ariaLabel:
|
|
292
|
+
ariaLabel: m,
|
|
293
293
|
focusable: !0,
|
|
294
294
|
paddingBottom: c,
|
|
295
295
|
paddingTop: c,
|
|
@@ -317,14 +317,14 @@ class fe extends Q {
|
|
|
317
317
|
return e.forEach((i) => t = Math.min(i.value, t)), t;
|
|
318
318
|
}
|
|
319
319
|
async _createColumnChart(e, t, i) {
|
|
320
|
-
const [{ Tooltip: a, Scrollbar: n }, { CategoryAxis: s, AxisRendererX: o, AxisRendererY: r, ValueAxis: c, ColumnSeries:
|
|
320
|
+
const [{ Tooltip: a, Scrollbar: n }, { CategoryAxis: s, AxisRendererX: o, AxisRendererY: r, ValueAxis: c, ColumnSeries: m }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: d, root: l } = t, { value: p, title: u } = d, { _direction: f } = this;
|
|
321
321
|
e.setAll({
|
|
322
322
|
wheelX: "panX",
|
|
323
323
|
wheelY: "zoomX"
|
|
324
324
|
});
|
|
325
325
|
const h = e.xAxes.push(s.new(l, {
|
|
326
326
|
renderer: o.new(l, {
|
|
327
|
-
inversed:
|
|
327
|
+
inversed: f === "rtl"
|
|
328
328
|
}),
|
|
329
329
|
categoryField: C
|
|
330
330
|
}));
|
|
@@ -336,11 +336,11 @@ class fe extends Q {
|
|
|
336
336
|
min: this._getMinSeriesValue(p.series)
|
|
337
337
|
}));
|
|
338
338
|
g.get("renderer").labels.template.setAll({
|
|
339
|
-
direction:
|
|
339
|
+
direction: f
|
|
340
340
|
});
|
|
341
341
|
const x = "{categoryX}", I = a.new(l, {
|
|
342
342
|
labelText: x
|
|
343
|
-
}), v = e.series.push(
|
|
343
|
+
}), v = e.series.push(m.new(l, {
|
|
344
344
|
name: u,
|
|
345
345
|
xAxis: h,
|
|
346
346
|
yAxis: g,
|
|
@@ -357,7 +357,7 @@ class fe extends Q {
|
|
|
357
357
|
})), h.data.setAll(i), v.data.setAll(i), v.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
358
358
|
}
|
|
359
359
|
async _createBarChart(e, t, i) {
|
|
360
|
-
const [{ Tooltip: a, Scrollbar: n }, { CategoryAxis: s, AxisRendererX: o, AxisRendererY: r, ValueAxis: c, ColumnSeries:
|
|
360
|
+
const [{ Tooltip: a, Scrollbar: n }, { CategoryAxis: s, AxisRendererX: o, AxisRendererY: r, ValueAxis: c, ColumnSeries: m }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: d, root: l } = t, { value: p, title: u } = d, { _direction: f } = this;
|
|
361
361
|
e.setAll({
|
|
362
362
|
wheelX: "panY",
|
|
363
363
|
wheelY: "zoomY"
|
|
@@ -374,16 +374,16 @@ class fe extends Q {
|
|
|
374
374
|
const g = e.xAxes.push(c.new(l, {
|
|
375
375
|
renderer: o.new(l, {
|
|
376
376
|
inside: !1,
|
|
377
|
-
inversed:
|
|
377
|
+
inversed: f === "rtl"
|
|
378
378
|
}),
|
|
379
379
|
min: this._getMinSeriesValue(p.series)
|
|
380
380
|
}));
|
|
381
381
|
g.get("renderer").labels.template.setAll({
|
|
382
|
-
direction:
|
|
382
|
+
direction: f
|
|
383
383
|
});
|
|
384
384
|
const x = "{categoryY}", I = a.new(l, {
|
|
385
385
|
labelText: x
|
|
386
|
-
}), v = e.series.push(
|
|
386
|
+
}), v = e.series.push(m.new(l, {
|
|
387
387
|
name: u,
|
|
388
388
|
xAxis: g,
|
|
389
389
|
yAxis: h,
|
|
@@ -400,14 +400,14 @@ class fe extends Q {
|
|
|
400
400
|
})), h.data.setAll(i), v.data.setAll(i), v.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
401
401
|
}
|
|
402
402
|
async _createLineChart(e, t, i) {
|
|
403
|
-
const [{ Tooltip: a, Scrollbar: n }, { CategoryAxis: s, AxisRendererX: o, AxisRendererY: r, ValueAxis: c, LineSeries:
|
|
403
|
+
const [{ Tooltip: a, Scrollbar: n }, { CategoryAxis: s, AxisRendererX: o, AxisRendererY: r, ValueAxis: c, LineSeries: m }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { root: d, mediaInfo: l } = t, { value: p, title: u } = l, { _direction: f } = this;
|
|
404
404
|
e.setAll({
|
|
405
405
|
wheelX: "panX",
|
|
406
406
|
wheelY: "zoomX"
|
|
407
407
|
});
|
|
408
408
|
const h = e.xAxes.push(s.new(d, {
|
|
409
409
|
renderer: o.new(d, {
|
|
410
|
-
inversed:
|
|
410
|
+
inversed: f === "rtl"
|
|
411
411
|
}),
|
|
412
412
|
categoryField: C
|
|
413
413
|
}));
|
|
@@ -419,7 +419,7 @@ class fe extends Q {
|
|
|
419
419
|
min: this._getMinSeriesValue(p.series)
|
|
420
420
|
}));
|
|
421
421
|
g.get("renderer").labels.template.setAll({
|
|
422
|
-
direction:
|
|
422
|
+
direction: f
|
|
423
423
|
});
|
|
424
424
|
const x = "{categoryX}", I = i[0]?.lineSettings?.stroke, v = a.new(d, {
|
|
425
425
|
getFillFromSprite: !I,
|
|
@@ -428,7 +428,7 @@ class fe extends Q {
|
|
|
428
428
|
I && v.get("background")?.setAll({
|
|
429
429
|
fill: I
|
|
430
430
|
});
|
|
431
|
-
const M = e.series.push(
|
|
431
|
+
const M = e.series.push(m.new(d, {
|
|
432
432
|
name: u,
|
|
433
433
|
xAxis: h,
|
|
434
434
|
yAxis: g,
|
|
@@ -484,7 +484,7 @@ class fe extends Q {
|
|
|
484
484
|
this._chartRoot?.dispose(), this._chartRoot = void 0, e && this._createChart(e);
|
|
485
485
|
}
|
|
486
486
|
render() {
|
|
487
|
-
return _`<div class="root" @
|
|
487
|
+
return _`<div class="root" @keydown=${this._handleMediaKeydown}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderMedia()}</div>`;
|
|
488
488
|
}
|
|
489
489
|
_renderMedia() {
|
|
490
490
|
const { formattedMediaInfoCount: e, activeMediaInfoIndex: t } = this, i = this._renderMediaText();
|
|
@@ -503,8 +503,8 @@ class fe extends Q {
|
|
|
503
503
|
_renderImageMediaInfo(e) {
|
|
504
504
|
if (!e.value)
|
|
505
505
|
return null;
|
|
506
|
-
const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: n, title: s } = e, { sourceURL: o, linkURL: r } = i,
|
|
507
|
-
return (r ? _`<a href=${r ?? y} rel=${d ?? y} target=${
|
|
506
|
+
const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: n, title: s } = e, { sourceURL: o, linkURL: r } = i, m = se(r ?? void 0) ? "_blank" : "_self", d = m === "_blank" ? "noreferrer" : "", l = a ? t : null, p = l ? l.sourceURL : o, u = _`<img alt=${(n || s) ?? y} src=${p ?? void 0 ?? y}>`;
|
|
507
|
+
return (r ? _`<a href=${r ?? y} rel=${d ?? y} target=${m ?? y} title=${s ?? y}>${u}</a>` : null) ?? u;
|
|
508
508
|
}
|
|
509
509
|
_renderChartMediaInfo(e) {
|
|
510
510
|
const { activeMediaInfoIndex: t, formattedMediaInfoCount: i } = this;
|
|
@@ -525,7 +525,7 @@ class fe extends Q {
|
|
|
525
525
|
return _`<button .ariaLabel=${i} class="pagination-button" @click=${n} tabindex=0 title=${i ?? y} type=button><calcite-icon flip-rtl class="pagination-icon" .icon=${a} scale=s></calcite-icon></button>`;
|
|
526
526
|
}
|
|
527
527
|
async _renderChart(e) {
|
|
528
|
-
const { root: t, mediaInfo: i } = e, { value: a, type: n } = i, [{ default: s }, { default: o }, { default: r }, { esriChartColorSet: c }, { ColorSet:
|
|
528
|
+
const { root: t, mediaInfo: i } = e, { value: a, type: n } = i, [{ default: s }, { default: o }, { default: r }, { esriChartColorSet: c }, { ColorSet: m, Theme: d }] = await Promise.all([
|
|
529
529
|
import("@amcharts/amcharts5/themes/Animated.js"),
|
|
530
530
|
import("@amcharts/amcharts5/themes/Dark.js"),
|
|
531
531
|
import("@amcharts/amcharts5/themes/Responsive.js"),
|
|
@@ -535,12 +535,12 @@ class fe extends Q {
|
|
|
535
535
|
l.rule("ColorSet").set("colors", c), l.rule("ColorSet").set("reuse", !0);
|
|
536
536
|
const p = [r.new(t), l];
|
|
537
537
|
ie(this.el) === "dark" && p.push(o.new(t)), this._canAnimateChart() && p.push(s.new(t)), t.setThemes(p);
|
|
538
|
-
const u = await this._getRendererColors(),
|
|
538
|
+
const u = await this._getRendererColors(), f = await this._getSeriesColors(a.series), h = m.new(t, {}), g = f.get(a.series[0]), x = g ? {
|
|
539
539
|
lineSettings: {
|
|
540
540
|
stroke: g
|
|
541
541
|
}
|
|
542
542
|
} : void 0, I = a.series.map((v, M) => {
|
|
543
|
-
const b =
|
|
543
|
+
const b = f.get(v) || u.get(v.fieldName) || h.getIndex(M);
|
|
544
544
|
return {
|
|
545
545
|
[C]: v.tooltip,
|
|
546
546
|
[w]: v.value,
|
|
@@ -554,7 +554,7 @@ class fe extends Q {
|
|
|
554
554
|
n === "pie-chart" ? this._createPieChart(e, I) : this._createXYChart(e, I);
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
B("arcgis-feature-media",
|
|
557
|
+
B("arcgis-feature-media", pe);
|
|
558
558
|
export {
|
|
559
|
-
|
|
559
|
+
pe as ArcgisFeatureMedia
|
|
560
560
|
};
|
|
@@ -9,7 +9,7 @@ import { unsafeGetCalciteModeName as b } from "@arcgis/toolkit/dom";
|
|
|
9
9
|
import * as a from "@arcgis/toolkit/log";
|
|
10
10
|
import { u as p } from "../../chunks/useLayerById.js";
|
|
11
11
|
import { m as f } from "../../chunks/useWidget.js";
|
|
12
|
-
import {
|
|
12
|
+
import { f as n, g as v } from "../../chunks/component-utils.js";
|
|
13
13
|
import c from "@arcgis/core/layers/Layer.js";
|
|
14
14
|
import { css as _ } from "lit";
|
|
15
15
|
async function w(i, e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as L } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as R, html as a } from "lit";
|
|
4
4
|
import { keyed as D } from "lit/directives/keyed.js";
|
|
5
5
|
import B from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
|
|
@@ -19,17 +19,17 @@ import { renderingSanitizer as F } from "@arcgis/core/applications/Components/sa
|
|
|
19
19
|
import { initializeProjection as W } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
20
20
|
import X from "@arcgis/core/support/actions/ActionButton.js";
|
|
21
21
|
import { createRef as b, ref as w } from "lit/directives/ref.js";
|
|
22
|
-
import {
|
|
23
|
-
const
|
|
22
|
+
import { b as J, a as Q, c as Y } from "../../chunks/keyboard-utils.js";
|
|
23
|
+
const ee = 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)}`, te = new X({
|
|
24
24
|
icon: "magnifying-glass-plus",
|
|
25
25
|
id: "zoom-to-feature",
|
|
26
26
|
title: "{messages.zoom}"
|
|
27
|
-
}), M =
|
|
28
|
-
function
|
|
27
|
+
}), M = te.clone(), ie = 25;
|
|
28
|
+
function se(k) {
|
|
29
29
|
return k?.declaredClass.startsWith("esri.layers.") ?? !1;
|
|
30
30
|
}
|
|
31
|
-
const
|
|
32
|
-
class
|
|
31
|
+
const ne = U(B);
|
|
32
|
+
class oe extends Z {
|
|
33
33
|
constructor() {
|
|
34
34
|
super(...arguments), this._direction = P(), this._fetchFeaturesController = null, this._featureMenuIntersectionObserverCallback = ([e]) => {
|
|
35
35
|
e?.isIntersecting && this.viewModel.featurePage != null && this.viewModel.featurePage++;
|
|
@@ -38,13 +38,13 @@ class ne extends Z {
|
|
|
38
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._spinnerVisible = !1, this._spinnerVisibilityTimeout = null, 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 = ne(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 = ee;
|
|
48
48
|
}
|
|
49
49
|
get _hideActionText() {
|
|
50
50
|
if (!this.responsiveActionsEnabled)
|
|
@@ -207,7 +207,7 @@ class ne extends Z {
|
|
|
207
207
|
const i = s?.graphic;
|
|
208
208
|
if (!i)
|
|
209
209
|
return;
|
|
210
|
-
const n = q(i), o =
|
|
210
|
+
const n = q(i), o = se(n) ? n : null, l = t.get(o) ?? [];
|
|
211
211
|
t.set(o, [...l, s]);
|
|
212
212
|
}), t;
|
|
213
213
|
}
|
|
@@ -278,7 +278,7 @@ class ne extends Z {
|
|
|
278
278
|
}
|
|
279
279
|
_onMainKeydown(e) {
|
|
280
280
|
const { key: t } = e;
|
|
281
|
-
J(t, this._direction) && (e.stopPropagation(), this._handleFeatureMenuBack(), this.previous(), this.setFocus()),
|
|
281
|
+
e.defaultPrevented || J(e) || (Q(t, this._direction, { horizontalOnly: !0 }) && (e.stopPropagation(), e.preventDefault(), this._handleFeatureMenuBack(), this.previous(), this.setFocus()), Y(t, this._direction, { horizontalOnly: !0 }) && (e.stopPropagation(), e.preventDefault(), this._handleFeatureMenuBack(), this.next(), this.setFocus()));
|
|
282
282
|
}
|
|
283
283
|
_featureMenuViewportScrollTop() {
|
|
284
284
|
this._featureMenuViewportNode.value?.scrollContentTo({ top: 0 });
|
|
@@ -330,7 +330,7 @@ class ne extends Z {
|
|
|
330
330
|
_getSpinnerTrackLocation() {
|
|
331
331
|
return !this.hideSpinner && this.viewModel.visible && this.viewModel?.waitingForResult ? this._spinnerVisible ? !0 : (this._spinnerVisibilityTimeout ??= setTimeout(() => {
|
|
332
332
|
this._spinnerVisibilityTimeout = null, this._spinnerVisible = !0, this._createSpinner();
|
|
333
|
-
},
|
|
333
|
+
}, ie), !1) : (this._clearSpinnerVisibilityTimeout(), this._spinnerVisible = !1, !1);
|
|
334
334
|
}
|
|
335
335
|
_createSpinner() {
|
|
336
336
|
const e = this.referenceElement;
|
|
@@ -403,13 +403,13 @@ class ne extends Z {
|
|
|
403
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
404
|
if (n === "feature" && !o)
|
|
405
405
|
return null;
|
|
406
|
-
const
|
|
406
|
+
const O = !l;
|
|
407
407
|
return a`<calcite-flow-item class=${I(y({
|
|
408
408
|
"flow-item-collapsed": f
|
|
409
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
410
|
total: m.length
|
|
411
|
-
})} .heading=${this.hideFeatureMenuHeading ? void 0 : N} .headingLevel=${v} .loading=${e.waitingForContents} .selected=${
|
|
412
|
-
|
|
411
|
+
})} .heading=${this.hideFeatureMenuHeading ? void 0 : N} .headingLevel=${v} .loading=${e.waitingForContents} .selected=${O} @calciteFlowItemBack=${(S) => {
|
|
412
|
+
S.preventDefault(), this._handleFeatureMenuBack();
|
|
413
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>`;
|
|
414
414
|
}
|
|
415
415
|
_renderFlowItem(e, t) {
|
|
@@ -437,7 +437,7 @@ class ne extends Z {
|
|
|
437
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;
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
|
-
|
|
440
|
+
L("arcgis-features", oe);
|
|
441
441
|
export {
|
|
442
|
-
|
|
442
|
+
oe as ArcgisFeatures
|
|
443
443
|
};
|