@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
|
@@ -1,84 +1,85 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { watch as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { u as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { b as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
|
|
2
|
+
import { c as be } from "../../chunks/runtime.js";
|
|
3
|
+
import { watch as Q, when as ve, whenOnce as ye } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { getZonedDateTimeParts as P, createZonedDate as Y, formatCalendarDate as I } from "@arcgis/core/core/timeUtils.js";
|
|
5
|
+
import * as we from "@arcgis/core/intl.js";
|
|
6
|
+
import M from "@arcgis/core/views/3d/environment/SunLighting.js";
|
|
7
|
+
import xe from "@arcgis/core/views/3d/environment/VirtualLighting.js";
|
|
8
|
+
import { LitElement as Se, createEvent as X, safeStyleMap as ee, nothing as G } from "@arcgis/lumina";
|
|
9
|
+
import { css as De, html as u } from "lit";
|
|
10
|
+
import { createRef as te, ref as ie } from "lit/directives/ref.js";
|
|
11
|
+
import { u as Te } from "../../chunks/useT9n.js";
|
|
12
|
+
import { u as ke } from "../../chunks/useView.js";
|
|
13
|
+
import { t as R } from "../../chunks/earth-utils.js";
|
|
14
|
+
import { m as B } from "../../chunks/handle.js";
|
|
15
|
+
import { o as N, i as h, b as F, d as U, l as J, r as Ce, s as re, g as Pe } from "../../chunks/time-utils.js";
|
|
16
|
+
import { b as Oe, r as $e, g as Me, e as Ue } from "../../chunks/async-utils.js";
|
|
17
|
+
import { createTrackingTarget as ze, runTracked as se, signal as Le } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
18
|
+
import { C as ne } from "../../chunks/component-wrapper.js";
|
|
19
|
+
import { V as S } from "../../chunks/visible-element.js";
|
|
20
|
+
function ge(r, e) {
|
|
20
21
|
return (r % e + e) % e;
|
|
21
22
|
}
|
|
22
|
-
class
|
|
23
|
-
#
|
|
24
|
-
#
|
|
25
|
-
#
|
|
26
|
-
this.#
|
|
23
|
+
class Ee {
|
|
24
|
+
#t;
|
|
25
|
+
#d;
|
|
26
|
+
#h = ze(() => {
|
|
27
|
+
this.#i();
|
|
27
28
|
});
|
|
28
29
|
constructor(e) {
|
|
29
|
-
this.#
|
|
30
|
+
this.#d = e;
|
|
30
31
|
let t;
|
|
31
|
-
|
|
32
|
+
se(this.#h, () => {
|
|
32
33
|
t = e();
|
|
33
|
-
}), this.#
|
|
34
|
+
}), this.#t = Le(t);
|
|
34
35
|
}
|
|
35
|
-
#
|
|
36
|
-
const e = this.#
|
|
37
|
-
|
|
38
|
-
this.#
|
|
36
|
+
#i() {
|
|
37
|
+
const e = this.#t.value;
|
|
38
|
+
se(this.#h, () => {
|
|
39
|
+
this.#t.value = this.#d(e);
|
|
39
40
|
});
|
|
40
41
|
}
|
|
41
42
|
mutate(e) {
|
|
42
|
-
this.#
|
|
43
|
+
this.#t.value = e;
|
|
43
44
|
}
|
|
44
45
|
get value() {
|
|
45
|
-
return this.#
|
|
46
|
+
return this.#t.value;
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
|
-
function
|
|
49
|
-
return new
|
|
49
|
+
function j(r) {
|
|
50
|
+
return new Ee(r);
|
|
50
51
|
}
|
|
51
|
-
var
|
|
52
|
-
function
|
|
53
|
-
return r.valueOf() /
|
|
52
|
+
var Z = Math.PI, f = Math.sin, k = Math.cos, Ze = Math.asin, Ae = Math.acos, w = Z / 180, ue = 1e3 * 60 * 60 * 24, fe = 2440588, pe = 2451545;
|
|
53
|
+
function He(r) {
|
|
54
|
+
return r.valueOf() / ue - 0.5 + fe;
|
|
54
55
|
}
|
|
55
|
-
function
|
|
56
|
-
return new Date((r + 0.5 -
|
|
56
|
+
function z(r) {
|
|
57
|
+
return new Date((r + 0.5 - fe) * ue);
|
|
57
58
|
}
|
|
58
|
-
function
|
|
59
|
-
return
|
|
59
|
+
function Ie(r) {
|
|
60
|
+
return He(r) - pe;
|
|
60
61
|
}
|
|
61
|
-
var
|
|
62
|
-
function
|
|
63
|
-
return
|
|
62
|
+
var ae = w * 23.4397;
|
|
63
|
+
function Re(r, e) {
|
|
64
|
+
return Ze(f(e) * k(ae) + k(e) * f(ae) * f(r));
|
|
64
65
|
}
|
|
65
|
-
function
|
|
66
|
-
return
|
|
66
|
+
function Ne(r) {
|
|
67
|
+
return w * (357.5291 + 0.98560028 * r);
|
|
67
68
|
}
|
|
68
|
-
function
|
|
69
|
-
return
|
|
69
|
+
function Fe(r) {
|
|
70
|
+
return w * (1.9148 * f(r) + 0.02 * f(2 * r) + 3e-4 * f(3 * r));
|
|
70
71
|
}
|
|
71
|
-
function
|
|
72
|
-
var t =
|
|
73
|
-
return r + e + t +
|
|
72
|
+
function Je(r, e) {
|
|
73
|
+
var t = w * 102.9372;
|
|
74
|
+
return r + e + t + Z;
|
|
74
75
|
}
|
|
75
|
-
var
|
|
76
|
-
|
|
76
|
+
var D = {};
|
|
77
|
+
D.PolarException = {
|
|
77
78
|
NORMAL: 0,
|
|
78
79
|
MIDNIGHT_SUN: 1,
|
|
79
80
|
POLAR_NIGHT: 2
|
|
80
81
|
};
|
|
81
|
-
var
|
|
82
|
+
var q = [
|
|
82
83
|
[-0.83, "sunrise", "sunset"]
|
|
83
84
|
// none of the below are currently used -> disabled to avoid unnecessary calculations,
|
|
84
85
|
// as all elements of 'times' are evaluated on every sunCalc.getTimes call.
|
|
@@ -89,39 +90,39 @@ var F = [
|
|
|
89
90
|
[ -18, "nightEnd", "night" ],
|
|
90
91
|
[ 6, "goldenHourEnd", "goldenHour" ]
|
|
91
92
|
*/
|
|
92
|
-
],
|
|
93
|
-
function
|
|
94
|
-
return Math.round(r -
|
|
95
|
-
}
|
|
96
|
-
function
|
|
97
|
-
return
|
|
98
|
-
}
|
|
99
|
-
function
|
|
100
|
-
return
|
|
101
|
-
}
|
|
102
|
-
function
|
|
103
|
-
return
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
var i =
|
|
107
|
-
function
|
|
108
|
-
var $ =
|
|
109
|
-
return
|
|
110
|
-
}
|
|
111
|
-
function x(
|
|
112
|
-
var $ = (
|
|
113
|
-
return $ < -1 ?
|
|
114
|
-
}
|
|
115
|
-
var
|
|
116
|
-
solarNoon:
|
|
117
|
-
nadir:
|
|
118
|
-
polarException:
|
|
119
|
-
},
|
|
120
|
-
for (
|
|
121
|
-
|
|
122
|
-
return
|
|
93
|
+
], me = 9e-4;
|
|
94
|
+
function je(r, e) {
|
|
95
|
+
return Math.round(r - me - e / (2 * Z));
|
|
96
|
+
}
|
|
97
|
+
function oe(r, e, t) {
|
|
98
|
+
return me + (r + e) / (2 * Z) + t;
|
|
99
|
+
}
|
|
100
|
+
function le(r, e, t) {
|
|
101
|
+
return pe + r + 53e-4 * f(e) - 69e-4 * f(2 * t);
|
|
102
|
+
}
|
|
103
|
+
function qe(r, e, t) {
|
|
104
|
+
return Ae((f(r) - f(e) * f(t)) / (k(e) * k(t)));
|
|
105
|
+
}
|
|
106
|
+
D.getTimes = function(r, e, t) {
|
|
107
|
+
var i = w * -t, s = w * e, n = Ie(r), a = je(n, i), l = oe(0, i, a), d = Ne(l), o = Fe(d), c = Je(d, o), p = Re(c, 0), g = le(l, d, c);
|
|
108
|
+
function m(H) {
|
|
109
|
+
var $ = qe(H, s, p), _e = oe($, i, a);
|
|
110
|
+
return le(_e, d, c);
|
|
111
|
+
}
|
|
112
|
+
function x(H) {
|
|
113
|
+
var $ = (f(H) - f(s) * f(p)) / (k(s) * k(p));
|
|
114
|
+
return $ < -1 ? D.PolarException.MIDNIGHT_SUN : $ > 1 ? D.PolarException.POLAR_NIGHT : D.PolarException.NORMAL;
|
|
115
|
+
}
|
|
116
|
+
var b = {
|
|
117
|
+
solarNoon: z(g),
|
|
118
|
+
nadir: z(g - 0.5),
|
|
119
|
+
polarException: D.PolarException.NORMAL
|
|
120
|
+
}, v, _, O, A, K;
|
|
121
|
+
for (v = 0, _ = q.length; v < _; v += 1)
|
|
122
|
+
O = q[v], A = m(O[0] * w), K = g - (A - g), b[O[1]] = z(K), b[O[2]] = z(A);
|
|
123
|
+
return b.polarException = x(q[0][0] * w), b;
|
|
123
124
|
};
|
|
124
|
-
const
|
|
125
|
+
const Be = {
|
|
125
126
|
spring: { dayOfMonth: 20, month: 2 },
|
|
126
127
|
// Northern Spring equinox in 2014 - March 20
|
|
127
128
|
summer: { dayOfMonth: 21, month: 5 },
|
|
@@ -130,191 +131,215 @@ const Fe = {
|
|
|
130
131
|
// Northern Fall equinox in 2014 - September 23
|
|
131
132
|
winter: { dayOfMonth: 21, month: 11 }
|
|
132
133
|
// Northern Winter solstice in 2014 - December 21
|
|
133
|
-
},
|
|
134
|
+
}, V = ["spring", "summer", "fall", "winter"];
|
|
134
135
|
function C(r, e, t) {
|
|
135
|
-
const i =
|
|
136
|
+
const i = W(e, t), { dayOfMonth: s, month: n } = Be[i], a = new Date(r.getTime());
|
|
136
137
|
return a.setMonth(n, s), a;
|
|
137
138
|
}
|
|
138
|
-
function
|
|
139
|
-
const t =
|
|
140
|
-
return
|
|
139
|
+
function Ve(r, e) {
|
|
140
|
+
const t = Ye(r);
|
|
141
|
+
return W(t, e);
|
|
141
142
|
}
|
|
142
|
-
function
|
|
143
|
+
function Ye(r) {
|
|
143
144
|
const e = r.getTime(), t = C(r, "spring", "northern").getTime(), i = C(r, "summer", "northern").getTime(), s = C(r, "fall", "northern").getTime(), n = C(r, "winter", "northern").getTime();
|
|
144
145
|
return e >= t && e < i ? "spring" : e >= i && e < s ? "summer" : e >= s && e < n ? "fall" : "winter";
|
|
145
146
|
}
|
|
146
|
-
function
|
|
147
|
-
return e === "northern" ? r :
|
|
147
|
+
function W(r, e) {
|
|
148
|
+
return e === "northern" ? r : Ge(r);
|
|
148
149
|
}
|
|
149
|
-
function
|
|
150
|
+
function ce(r) {
|
|
150
151
|
return r >= 0 ? "northern" : "southern";
|
|
151
152
|
}
|
|
152
|
-
function
|
|
153
|
-
const e =
|
|
154
|
-
return
|
|
153
|
+
function Ge(r) {
|
|
154
|
+
const e = V.indexOf(r);
|
|
155
|
+
return V[(e + 2) % 4];
|
|
156
|
+
}
|
|
157
|
+
const We = 1440, Ke = 864e5;
|
|
158
|
+
function T({ hour: r, minute: e }) {
|
|
159
|
+
return r * 60 + e;
|
|
160
|
+
}
|
|
161
|
+
function Qe(r) {
|
|
162
|
+
return { year: r.getUTCFullYear(), month: r.getUTCMonth() + 1, day: r.getUTCDate() };
|
|
163
|
+
}
|
|
164
|
+
function Xe(r, e, t) {
|
|
165
|
+
const i = P(r, t);
|
|
166
|
+
if (!i)
|
|
167
|
+
return r;
|
|
168
|
+
const s = new Date(r.getTime() + e), n = P(s, t);
|
|
169
|
+
return !n || n.year === i.year && n.month === i.month && n.day === i.day ? s : Y(i, T(n), t) ?? s;
|
|
155
170
|
}
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
171
|
+
function et(r, e) {
|
|
172
|
+
const t = P(r, e);
|
|
173
|
+
if (!t)
|
|
174
|
+
return r;
|
|
175
|
+
const i = t.month % 12 + 1, s = t.year + (i === 1 ? 1 : 0), n = new Date(Date.UTC(s, i, 0)).getUTCDate();
|
|
176
|
+
return Y({ year: s, month: i, day: Math.min(t.day, n) }, T(t), e) ?? r;
|
|
177
|
+
}
|
|
178
|
+
function tt(r, e, t, i) {
|
|
179
|
+
const s = D.getTimes(r, e, t), n = s.sunrise, a = s.sunset, l = N(r, i), d = N(n, i), o = N(a, i);
|
|
180
|
+
if (l.getUTCDate() !== d.getUTCDate() || l.getUTCDate() !== o.getUTCDate()) {
|
|
181
|
+
const c = l.getTime() - d.getTime() > 0 ? 1 : -1;
|
|
182
|
+
n.setUTCDate(n.getUTCDate() + c), a.setUTCDate(a.getUTCDate() + c);
|
|
162
183
|
}
|
|
163
|
-
return {
|
|
164
|
-
sunrise: n,
|
|
165
|
-
sunset: a
|
|
166
|
-
};
|
|
184
|
+
return { sunrise: n, sunset: a };
|
|
167
185
|
}
|
|
168
|
-
const
|
|
169
|
-
function
|
|
170
|
-
return
|
|
186
|
+
const it = 100, rt = 1e3, y = 12e5, L = 72e5;
|
|
187
|
+
function de(r, e) {
|
|
188
|
+
return ge(r + e, 24);
|
|
171
189
|
}
|
|
172
|
-
function
|
|
190
|
+
function st({
|
|
173
191
|
mode: r,
|
|
174
192
|
lighting: e,
|
|
175
193
|
getPlaySpeed: t,
|
|
176
|
-
|
|
177
|
-
|
|
194
|
+
getNextDate: i,
|
|
195
|
+
onProgress: s,
|
|
196
|
+
beforeProgress: n
|
|
178
197
|
}) {
|
|
179
|
-
let
|
|
180
|
-
function
|
|
181
|
-
const
|
|
198
|
+
let a = -1;
|
|
199
|
+
function l(d = Date.now()) {
|
|
200
|
+
const o = e.date, c = Date.now() - (d ?? 0);
|
|
182
201
|
if (r === "day") {
|
|
183
|
-
|
|
184
|
-
const
|
|
185
|
-
if (
|
|
186
|
-
let
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
202
|
+
d = Date.now();
|
|
203
|
+
const g = t() / it * c;
|
|
204
|
+
if (g > 0) {
|
|
205
|
+
let m = i?.(o, r, g);
|
|
206
|
+
if (!m) {
|
|
207
|
+
m = new Date(o.getTime() + g);
|
|
208
|
+
const b = e.displayUTCOffset ?? 0, v = de(m.getUTCHours(), b), _ = de(o.getUTCHours(), b);
|
|
209
|
+
v < _ && (m = new Date(o.getTime() + g - Ke));
|
|
210
|
+
}
|
|
211
|
+
const x = e.clone();
|
|
212
|
+
n?.(), e.date = m, s?.(x, e);
|
|
213
|
+
}
|
|
214
|
+
} else if (c > rt) {
|
|
215
|
+
d = Date.now();
|
|
216
|
+
const p = i?.(o, r, 0) ?? new Date(o.getTime());
|
|
217
|
+
if (!i) {
|
|
218
|
+
const m = (o.getUTCMonth() + 1) % 12;
|
|
219
|
+
p.setUTCMonth(m);
|
|
191
220
|
}
|
|
192
|
-
} else if (d > Ye) {
|
|
193
|
-
o = Date.now();
|
|
194
|
-
const l = (c.getUTCMonth() + 1) % 12, h = new Date(c.getTime());
|
|
195
|
-
h.setUTCMonth(l);
|
|
196
221
|
const g = e.clone();
|
|
197
|
-
|
|
222
|
+
n?.(), e.date = p, s?.(g, e);
|
|
198
223
|
}
|
|
199
|
-
|
|
224
|
+
a = requestAnimationFrame(() => l(d));
|
|
200
225
|
}
|
|
201
|
-
return
|
|
226
|
+
return l(), B(() => cancelAnimationFrame(a));
|
|
202
227
|
}
|
|
203
|
-
const
|
|
204
|
-
function
|
|
228
|
+
const E = y / 4;
|
|
229
|
+
function nt(r, e, t, i) {
|
|
205
230
|
const {
|
|
206
231
|
day: s,
|
|
207
232
|
night: n = s,
|
|
208
233
|
twilight: a = s
|
|
209
|
-
} = i,
|
|
234
|
+
} = i, l = s * E, d = n * E, o = a * E;
|
|
210
235
|
if (r == null || e == null || Number.isNaN(r.getTime()) && Number.isNaN(e.getTime()))
|
|
211
|
-
return
|
|
212
|
-
const
|
|
213
|
-
let
|
|
214
|
-
return
|
|
236
|
+
return l;
|
|
237
|
+
const c = t.getTime(), p = r.getTime(), g = e.getTime(), m = p - L / 2, x = p + L / 2, b = g - L / 3 * 2, v = g + L / 3;
|
|
238
|
+
let _ = l;
|
|
239
|
+
return c >= m && c <= x ? c - m <= y ? _ = d - (c - m) / y * (d - o) : x - c <= y / 2 ? _ = l - (x - c) / y * 2 * (l - o) : _ = o : c >= b && c <= v ? c - b <= y / 2 ? _ = l - (c - b) / y * 2 * (l - o) : v - c <= y ? _ = d - (v - c) / y * (d - o) : _ = o : (c < p || c > g) && (_ = d), _;
|
|
215
240
|
}
|
|
216
|
-
const Ke = ve`.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}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}:host{width:350px}.root{display:flex;flex-direction:column;overflow:visible;gap:var(--calcite-spacing-md);justify-content:space-between;padding:var(--arcgis-internal-padding);position:relative;calcite-label{--calcite-label-margin-bottom: 0}&.loading>*:not(calcite-scrim){opacity:0}}.unsupported{padding:0 var(--calcite-spacing-lg);animation:esri-fade-in .25s ease-in-out}.slider{margin-block-start:0rem}.time-configuration{--date-play-button-offset: 11px;--slider-play-button-offset: var(--calcite-spacing-md);display:grid;gap:var(--calcite-spacing-md);grid-template-columns:1fr min-content;.slider-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--slider-play-button-offset))}}.timezone-input-container{grid-column:1;min-width:0;+span{grid-column:2}}.date-picker-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--date-play-button-offset))}}calcite-button{place-self:center}}`, Qe = {
|
|
241
|
+
const at = De`.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}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}:host{width:350px}.root{display:flex;flex-direction:column;overflow:visible;gap:var(--calcite-spacing-md);justify-content:space-between;padding:var(--arcgis-internal-padding);position:relative;calcite-label{--calcite-label-margin-bottom: 0}&.loading>*:not(calcite-scrim){opacity:0}}.unsupported{padding:0 var(--calcite-spacing-lg);animation:esri-fade-in .25s ease-in-out}.slider{margin-block-start:0rem}.time-configuration{--date-play-button-offset: 11px;--slider-play-button-offset: var(--calcite-spacing-md);display:grid;gap:var(--calcite-spacing-md);grid-template-columns:1fr min-content;.slider-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--slider-play-button-offset))}}.time-label{align-items:center;display:flex;gap:var(--calcite-spacing-sm);+.slider{margin-block:var(--calcite-spacing-sm)}}.timezone-input-container{grid-column:1;min-width:0;+span{grid-column:2}}.date-picker-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--date-play-button-offset))}}calcite-button{place-self:center}}`, ot = {
|
|
217
242
|
day: 1,
|
|
218
243
|
night: 6,
|
|
219
244
|
twilight: 2 / 3
|
|
220
245
|
};
|
|
221
|
-
class
|
|
246
|
+
class lt extends Se {
|
|
222
247
|
constructor() {
|
|
223
|
-
super(...arguments), this.messages =
|
|
224
|
-
const t = this._lighting, i =
|
|
225
|
-
return this.#
|
|
226
|
-
}), this.#
|
|
248
|
+
super(...arguments), this.messages = Te({ blocking: !0 }), this.#d = "none", this.#h = null, this.#o = !1, this.#e = !1, this.#p = te(), this.#T = te(), this.#P = 200, this.#O = 200, this.#m = !1, this.#f = {}, this.#l = j((e) => {
|
|
249
|
+
const t = this._lighting, i = h(t) ? t.displayUTCOffset : void 0, s = this.#_(t) ? this.#n(t.date) : void 0;
|
|
250
|
+
return this.#e ? e : s ?? i ?? e;
|
|
251
|
+
}), this.#s = j((e) => {
|
|
227
252
|
const t = this._lighting;
|
|
228
|
-
if (!
|
|
253
|
+
if (!h(t))
|
|
229
254
|
return e;
|
|
230
|
-
const i = t.
|
|
231
|
-
if (this.#
|
|
255
|
+
const i = t.date;
|
|
256
|
+
if (this.#e)
|
|
232
257
|
return e;
|
|
233
|
-
if (
|
|
234
|
-
const { minutesSinceMidnight:
|
|
235
|
-
return
|
|
258
|
+
if (F(i)) {
|
|
259
|
+
const { minutesSinceMidnight: s } = this.#x(i);
|
|
260
|
+
return s;
|
|
236
261
|
}
|
|
237
262
|
return e;
|
|
238
|
-
}), this.#r =
|
|
239
|
-
const t =
|
|
240
|
-
return this.#
|
|
241
|
-
}), this.#
|
|
263
|
+
}), this.#r = j((e) => {
|
|
264
|
+
const t = this._lighting, i = this.#_(t) ? this.#x(t.date).localDate : Pe(this._view, this.utcOffset);
|
|
265
|
+
return this.#e ? e : i ?? e;
|
|
266
|
+
}), this.#c = !1, this.#k = "offset", this.view = ke(this), this.autoDestroyDisabled = !1, this.dateOrSeason = "date", this.headingLevel = 2, this.hideDatePicker = !1, this.hideHeader = !1, this.hidePlayButtons = !1, this.hideShadowsToggle = !1, this.hideSunLightingToggle = !1, this.hideTimezone = !1, this.icon = "brightness", this.playSpeedMultiplier = 1, this.timeSliderSteps = 5, this.arcgisReady = X(), this.arcgisUserDateTimeChange = X();
|
|
242
267
|
}
|
|
243
268
|
static {
|
|
244
|
-
this.properties = { _playingState: 16, _sunlightingDisabled: 16, _directShadowsDisabled: 16, localDateAsString: 32, view: 0, autoDestroyDisabled: 5, currentSeason: 1, dateOrSeason: 3, dayPlaying: 5, headingLevel: 9, hideDatePicker: 5, hideHeader: 5, hidePlayButtons: 5, hideShadowsToggle: 5, hideSunLightingToggle: 5, hideTimezone: 5, icon: 3, label: 1, playSpeedMultiplier: 9, referenceElement: 1, timeSliderSteps: 9, utcOffset: 9, timeSliderPosition: 9, localDate: 1, yearPlaying: 5 };
|
|
269
|
+
this.properties = { _playingState: 16, _sunlightingDisabled: 16, _directShadowsDisabled: 16, localDateAsString: 32, view: 0, autoDestroyDisabled: 5, currentSeason: 1, dateOrSeason: 3, dayPlaying: 5, headingLevel: 9, hideDatePicker: 5, hideHeader: 5, hidePlayButtons: 5, hideShadowsToggle: 5, hideSunLightingToggle: 5, hideTimezone: 5, icon: 3, label: 1, playSpeedMultiplier: 9, referenceElement: 1, timeSliderSteps: 9, timeZoneMode: 1, utcOffset: 9, timeSliderPosition: 9, localDate: 1, yearPlaying: 5 };
|
|
245
270
|
}
|
|
246
271
|
static {
|
|
247
|
-
this.styles =
|
|
272
|
+
this.styles = at;
|
|
248
273
|
}
|
|
249
274
|
get _view() {
|
|
250
275
|
return this.view?.type === "3d" ? this.view : void 0;
|
|
251
276
|
}
|
|
252
|
-
#e;
|
|
253
|
-
#n;
|
|
254
|
-
#a;
|
|
255
277
|
#t;
|
|
256
|
-
#g;
|
|
257
|
-
#_;
|
|
258
|
-
#b;
|
|
259
|
-
#v;
|
|
260
|
-
#u;
|
|
261
|
-
#c;
|
|
262
|
-
get #x() {
|
|
263
|
-
return this.#_?.value?.startTime;
|
|
264
|
-
}
|
|
265
278
|
#d;
|
|
279
|
+
#h;
|
|
266
280
|
#i;
|
|
281
|
+
#o;
|
|
282
|
+
#e;
|
|
283
|
+
#p;
|
|
284
|
+
#T;
|
|
285
|
+
#P;
|
|
286
|
+
#O;
|
|
287
|
+
#m;
|
|
288
|
+
#f;
|
|
289
|
+
get #U() {
|
|
290
|
+
return this.#T?.value?.startTime;
|
|
291
|
+
}
|
|
292
|
+
#l;
|
|
293
|
+
#s;
|
|
267
294
|
#r;
|
|
268
295
|
get _lighting() {
|
|
269
296
|
return this._view?.environment?.lighting;
|
|
270
297
|
}
|
|
271
|
-
#
|
|
272
|
-
#
|
|
298
|
+
#c;
|
|
299
|
+
#k;
|
|
300
|
+
#g;
|
|
273
301
|
get _playingState() {
|
|
274
|
-
return this.#
|
|
302
|
+
return this.#d;
|
|
275
303
|
}
|
|
276
304
|
set _playingState(e) {
|
|
277
|
-
this.#
|
|
305
|
+
this.#d = e, this.#g?.remove(), e === "none" ? this.#t?.remove() : (this.#M(e), this.#y());
|
|
278
306
|
}
|
|
279
307
|
get _sunlightingDisabled() {
|
|
280
|
-
return !
|
|
308
|
+
return !h(this._lighting);
|
|
281
309
|
}
|
|
282
310
|
set _sunlightingDisabled(e) {
|
|
283
|
-
this.#
|
|
311
|
+
this.#u("sunlightingDisabled", e);
|
|
284
312
|
const t = this._view?.environment;
|
|
285
313
|
if (t == null)
|
|
286
314
|
return;
|
|
287
|
-
const i = t.lighting, s = this.#
|
|
288
|
-
this.#
|
|
315
|
+
const i = t.lighting, s = this.#h;
|
|
316
|
+
this.#h = i;
|
|
289
317
|
const n = {
|
|
290
318
|
directShadowsEnabled: i.directShadowsEnabled,
|
|
291
319
|
glow: i.glow
|
|
292
320
|
};
|
|
293
|
-
|
|
321
|
+
h(i) && (n.cameraTrackingEnabled = i.cameraTrackingEnabled);
|
|
294
322
|
const a = e ? "virtual" : "sun";
|
|
295
|
-
let
|
|
296
|
-
s?.type === a ?
|
|
297
|
-
date: I(this.localDateAsString ?? this.localDate, this.timeSliderPosition ?? 0, this.utcOffset ?? 0),
|
|
298
|
-
displayUTCOffset: this.utcOffset
|
|
299
|
-
}), o.set(n), t.lighting = o, e || (this.#s(), this.#g.value && (this.#g.value.open = !1));
|
|
323
|
+
let l;
|
|
324
|
+
s?.type === a ? l = s : l = e ? new xe() : this.#L(), l.set(n), t.lighting = l, e || (this.#a(), this.#p.value && (this.#p.value.open = !1));
|
|
300
325
|
}
|
|
301
326
|
get _directShadowsDisabled() {
|
|
302
327
|
return !this._lighting?.directShadowsEnabled;
|
|
303
328
|
}
|
|
304
329
|
set _directShadowsDisabled(e) {
|
|
305
|
-
this.#
|
|
330
|
+
this.#u("directShadowsDisabled", e), this._lighting && (this._lighting.directShadowsEnabled = !e);
|
|
306
331
|
}
|
|
307
332
|
get localDateAsString() {
|
|
308
333
|
return this.#r.value ?? void 0;
|
|
309
334
|
}
|
|
310
335
|
get currentSeason() {
|
|
311
|
-
const e = this._view?.camera?.position?.latitude ?? 0, t =
|
|
312
|
-
return
|
|
336
|
+
const e = this._view?.camera?.position?.latitude ?? 0, t = ce(e);
|
|
337
|
+
return Ve(this.localDate, t);
|
|
313
338
|
}
|
|
314
339
|
set currentSeason(e) {
|
|
315
|
-
this.#
|
|
316
|
-
const t = this._view?.camera?.position?.latitude ?? 0, i =
|
|
317
|
-
this.localDate = C(this.localDate, s, "northern"), this.#
|
|
340
|
+
this.#a();
|
|
341
|
+
const t = this._view?.camera?.position?.latitude ?? 0, i = ce(t), s = W(e, i);
|
|
342
|
+
this.localDate = C(this.localDate, s, "northern"), this.#y();
|
|
318
343
|
}
|
|
319
344
|
get dayPlaying() {
|
|
320
345
|
return this._playingState === "day";
|
|
@@ -322,35 +347,45 @@ class Xe extends be {
|
|
|
322
347
|
set dayPlaying(e) {
|
|
323
348
|
this._playingState = e ? "day" : "none";
|
|
324
349
|
}
|
|
350
|
+
get timeZoneMode() {
|
|
351
|
+
return this.#k;
|
|
352
|
+
}
|
|
353
|
+
set timeZoneMode(e) {
|
|
354
|
+
this.#c || (this.#k = e);
|
|
355
|
+
}
|
|
325
356
|
get utcOffset() {
|
|
326
|
-
return this.#
|
|
357
|
+
return this.#l.value;
|
|
327
358
|
}
|
|
328
359
|
set utcOffset(e) {
|
|
329
|
-
this
|
|
360
|
+
if (this.timeZoneMode === "region") {
|
|
361
|
+
this.#D();
|
|
362
|
+
return;
|
|
363
|
+
}
|
|
364
|
+
this.#e = !0, this.#l.mutate(e), !this.#u("utcOffset", e) && this.#b(!1);
|
|
330
365
|
}
|
|
331
366
|
get timeSliderPosition() {
|
|
332
|
-
return this.#
|
|
367
|
+
return this.#s.value;
|
|
333
368
|
}
|
|
334
369
|
set timeSliderPosition(e) {
|
|
335
|
-
this.#
|
|
370
|
+
this.#e = !0, this.#s.mutate(ge(e ?? 0, We)), !this.#u("timeSliderPosition", e) && this.#b(!0);
|
|
336
371
|
}
|
|
337
372
|
get localDate() {
|
|
338
373
|
return this.#r.value != null ? new Date(this.#r.value) : /* @__PURE__ */ new Date();
|
|
339
374
|
}
|
|
340
375
|
set localDate(e) {
|
|
341
376
|
if (typeof e == "string" && /^\d{4}-\d{2}-\d{2}$/u.test(e)) {
|
|
342
|
-
if (this.#r.mutate(e), this.#
|
|
377
|
+
if (this.#e = !0, this.#r.mutate(e), this.#u("localDate", e))
|
|
343
378
|
return;
|
|
344
|
-
this.#
|
|
379
|
+
this.#b(!0);
|
|
345
380
|
return;
|
|
346
381
|
}
|
|
347
382
|
const t = new Date(e);
|
|
348
|
-
if (
|
|
349
|
-
t.setUTCFullYear(t.getFullYear(), t.getMonth(), t.getDate());
|
|
383
|
+
if (F(t)) {
|
|
384
|
+
this.#e = !0, t.setUTCFullYear(t.getFullYear(), t.getMonth(), t.getDate());
|
|
350
385
|
const i = t.toISOString().slice(0, 10);
|
|
351
|
-
if (this.#r.mutate(i), this.#
|
|
386
|
+
if (this.#r.mutate(i), this.#u("localDate", i))
|
|
352
387
|
return;
|
|
353
|
-
this.#
|
|
388
|
+
this.#b(!0);
|
|
354
389
|
}
|
|
355
390
|
}
|
|
356
391
|
get yearPlaying() {
|
|
@@ -366,26 +401,32 @@ class Xe extends be {
|
|
|
366
401
|
this.manager.onLifecycle(() => [
|
|
367
402
|
// When camera tracking is enabled, update the displayed timezone whenever the camera crosses into a new rounded
|
|
368
403
|
// UTC offset.
|
|
369
|
-
|
|
404
|
+
Q(() => {
|
|
370
405
|
const e = this._view?.camera?.position;
|
|
371
|
-
return e ?
|
|
406
|
+
return e ? R(e) : void 0;
|
|
372
407
|
}, (e, t) => {
|
|
373
|
-
this.#
|
|
408
|
+
this.#N(e, t);
|
|
374
409
|
}, { sync: !0, initial: !0 }),
|
|
375
|
-
|
|
376
|
-
this
|
|
410
|
+
Q(() => {
|
|
411
|
+
const e = this._lighting;
|
|
412
|
+
return [this._view?.timeZone, e, h(e) ? e.date : void 0];
|
|
413
|
+
}, (e, t) => {
|
|
414
|
+
this._playingState === "day" && t && e[0] === t[0] && e[1] === t[1] || this.#D();
|
|
415
|
+
}, { sync: !0, initial: !0 }),
|
|
416
|
+
ve(() => !h(this._lighting), () => {
|
|
417
|
+
this.#a();
|
|
377
418
|
}),
|
|
378
|
-
|
|
419
|
+
we.onLocaleChange(() => {
|
|
379
420
|
this.requestUpdate();
|
|
380
421
|
})
|
|
381
422
|
]), this.manager.onDisconnected(() => {
|
|
382
|
-
this.#
|
|
423
|
+
this.#t?.remove(), this.#i?.remove(), this.#g?.remove();
|
|
383
424
|
});
|
|
384
425
|
}
|
|
385
426
|
willUpdate(e) {
|
|
386
|
-
if (super.willUpdate(e), !!this.#
|
|
387
|
-
const t = this.utcOffset ?? 0, { minutesSinceMidnight: i, localDate: s } =
|
|
388
|
-
this.#
|
|
427
|
+
if (super.willUpdate(e), !!this.#c && this.timeZoneMode === "offset" && h(this._lighting) && e.has("utcOffset") && !e.has("localDate") && !e.has("timeSliderPosition")) {
|
|
428
|
+
const t = this.utcOffset ?? 0, { minutesSinceMidnight: i, localDate: s } = U(this._lighting.date, t);
|
|
429
|
+
this.#s.mutate(i), this.#r.mutate(s);
|
|
389
430
|
}
|
|
390
431
|
}
|
|
391
432
|
async loaded() {
|
|
@@ -394,172 +435,256 @@ class Xe extends be {
|
|
|
394
435
|
remove: () => {
|
|
395
436
|
e.abort();
|
|
396
437
|
}
|
|
397
|
-
})), await
|
|
438
|
+
})), await Oe(ye(() => this._view?.ready, { signal: e.signal }).then(() => {
|
|
398
439
|
const t = this._lighting, i = this._view?.camera?.position;
|
|
399
|
-
if (this.#
|
|
400
|
-
const n =
|
|
401
|
-
this.#
|
|
440
|
+
if (this.timeZoneMode === "offset" && this.#f.utcOffset == null && h(t) && t.displayUTCOffset == null && i) {
|
|
441
|
+
const n = R(i);
|
|
442
|
+
this.#v(n, t);
|
|
402
443
|
}
|
|
403
|
-
this.#
|
|
444
|
+
this.#c = !0, this.#_(t) && this.#D(t), this.#z(), h(this._lighting) || (this.timeZoneMode === "region" ? this.#F() : this.#J());
|
|
404
445
|
const s = this._playingState;
|
|
405
|
-
s !== "none" && this.#
|
|
446
|
+
s !== "none" && this.#t == null && this.#M(s);
|
|
406
447
|
}));
|
|
407
448
|
}
|
|
408
|
-
#
|
|
409
|
-
return this.#
|
|
449
|
+
#u(e, t) {
|
|
450
|
+
return this.#c || this.#m ? !1 : (this.#f[e] = t, !0);
|
|
410
451
|
}
|
|
411
|
-
#
|
|
412
|
-
const { utcOffset: e, timeSliderPosition: t, localDate: i, directShadowsDisabled: s, sunlightingDisabled: n } = this.#
|
|
413
|
-
if (this.#
|
|
452
|
+
#z() {
|
|
453
|
+
const { utcOffset: e, timeSliderPosition: t, localDate: i, directShadowsDisabled: s, sunlightingDisabled: n } = this.#f;
|
|
454
|
+
if (this.#m = !0, this.timeZoneMode === "offset" && e != null)
|
|
414
455
|
if (t == null && i == null) {
|
|
415
456
|
const a = this._lighting;
|
|
416
|
-
|
|
457
|
+
h(a) ? (a.displayUTCOffset = e, this.#v(e, a)) : this.#l.mutate(e);
|
|
417
458
|
} else
|
|
418
459
|
this.utcOffset = e;
|
|
419
|
-
t != null && (this.timeSliderPosition = t), i && (this.localDate = i), s != null && (this._directShadowsDisabled = s), n != null && (this._sunlightingDisabled = n), this.#
|
|
460
|
+
t != null && (this.timeSliderPosition = t), i && (this.localDate = i), s != null && (this._directShadowsDisabled = s), n != null && (this._sunlightingDisabled = n), this.#f = {}, this.#m = !1, this.#i || (this.#e = !1);
|
|
461
|
+
}
|
|
462
|
+
#_(e) {
|
|
463
|
+
return this.timeZoneMode === "region" && h(e) && F(e.date);
|
|
464
|
+
}
|
|
465
|
+
#L() {
|
|
466
|
+
return this.timeZoneMode === "region" ? this.#E() : this.#Z();
|
|
467
|
+
}
|
|
468
|
+
#E() {
|
|
469
|
+
const e = /* @__PURE__ */ new Date(), t = this.#C(e, 0) ?? e;
|
|
470
|
+
return new M({ date: t, displayUTCOffset: this.#n(t) });
|
|
471
|
+
}
|
|
472
|
+
#C(e, t) {
|
|
473
|
+
const i = this.#w, s = P(e, i);
|
|
474
|
+
if (!s)
|
|
475
|
+
return null;
|
|
476
|
+
const n = this.#r.value == null ? s : Qe(this.localDate), a = this.timeSliderPosition ?? t ?? T(s);
|
|
477
|
+
return Y(n, a, i);
|
|
478
|
+
}
|
|
479
|
+
#Z() {
|
|
480
|
+
const e = J(this.localDateAsString ?? this.localDate, this.timeSliderPosition ?? 0, this.utcOffset ?? 0);
|
|
481
|
+
return new M({ date: e, displayUTCOffset: this.utcOffset });
|
|
420
482
|
}
|
|
421
|
-
#
|
|
422
|
-
if (this.requestUpdate(), this.#
|
|
483
|
+
#b(e) {
|
|
484
|
+
if (this.#e = !0, this.requestUpdate(), this.#o ||= e, this.#i)
|
|
423
485
|
return;
|
|
424
|
-
const
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
this.#
|
|
430
|
-
}, { timeout: this.#b });
|
|
431
|
-
this.#t = J(() => {
|
|
432
|
-
ke(e), this.#t = void 0;
|
|
486
|
+
const t = $e(() => {
|
|
487
|
+
const i = this._lighting;
|
|
488
|
+
h(i) && (this.timeZoneMode === "region" ? this.#A(i) : this.#H(i)), this.#i?.remove(), this.#D();
|
|
489
|
+
}, { timeout: this.#P });
|
|
490
|
+
this.#i = B(() => {
|
|
491
|
+
Ue(t), this.#i = void 0, this.#o = !1, this.#e = !1;
|
|
433
492
|
});
|
|
434
493
|
}
|
|
435
|
-
#
|
|
436
|
-
|
|
437
|
-
|
|
494
|
+
#A(e) {
|
|
495
|
+
if (!this.#o) {
|
|
496
|
+
e.displayUTCOffset = this.#n(e.date);
|
|
497
|
+
return;
|
|
498
|
+
}
|
|
499
|
+
const t = this.#C(e.date, 0);
|
|
500
|
+
t && (e.date = t, e.displayUTCOffset = this.#n(t));
|
|
501
|
+
}
|
|
502
|
+
#H(e) {
|
|
503
|
+
const t = this.utcOffset ?? 0;
|
|
504
|
+
if (!this.#o) {
|
|
505
|
+
e.displayUTCOffset = t;
|
|
506
|
+
return;
|
|
507
|
+
}
|
|
508
|
+
e.date = J(this.localDate, this.timeSliderPosition ?? 0, t), e.displayUTCOffset = t;
|
|
509
|
+
}
|
|
510
|
+
#I(e) {
|
|
511
|
+
if (!this.#o) {
|
|
512
|
+
e.displayUTCOffset = this.#n(e.date);
|
|
513
|
+
return;
|
|
514
|
+
}
|
|
515
|
+
const t = this.#C(e.date);
|
|
516
|
+
t && (e.date = t, e.displayUTCOffset = this.#n(t)), this.#i?.remove();
|
|
438
517
|
}
|
|
439
|
-
#
|
|
518
|
+
#R(e) {
|
|
519
|
+
const t = this.utcOffset ?? e.displayUTCOffset ?? 0;
|
|
520
|
+
if (!this.#o) {
|
|
521
|
+
e.displayUTCOffset = t, this.#i?.remove();
|
|
522
|
+
return;
|
|
523
|
+
}
|
|
524
|
+
const i = U(e.date, t), s = this.localDateAsString ?? i.localDate, n = this.timeSliderPosition ?? i.minutesSinceMidnight;
|
|
525
|
+
e.date = J(s, n, t), e.displayUTCOffset = t, this.#i?.remove();
|
|
526
|
+
}
|
|
527
|
+
#N(e, t) {
|
|
440
528
|
const i = this._lighting;
|
|
441
|
-
if (!(!this.#
|
|
529
|
+
if (!(this.timeZoneMode === "region" || !this.#c || !h(i) || !i.cameraTrackingEnabled || e == null)) {
|
|
442
530
|
if (t == null && i.displayUTCOffset == null) {
|
|
443
|
-
this.#
|
|
531
|
+
this.#v(e, i);
|
|
444
532
|
return;
|
|
445
533
|
}
|
|
446
|
-
i.displayUTCOffset != null && (i.displayUTCOffset = e), this.#
|
|
534
|
+
i.displayUTCOffset != null && (i.displayUTCOffset = e), this.#v(e, i);
|
|
447
535
|
}
|
|
448
536
|
}
|
|
449
|
-
#
|
|
450
|
-
t.displayUTCOffset = e, this
|
|
537
|
+
#v(e, t) {
|
|
538
|
+
t.displayUTCOffset = e, this.#$(e, t.date);
|
|
539
|
+
}
|
|
540
|
+
#F() {
|
|
541
|
+
const e = new M(), t = this.#S(e.date);
|
|
542
|
+
t && (this.timeSliderPosition == null && this.#s.mutate(T(t)), this.localDateAsString == null && this.#r.mutate(I(t)), this.#l.mutate(this.#n(e.date)), this.requestUpdate());
|
|
451
543
|
}
|
|
452
|
-
#
|
|
453
|
-
const e = this._view?.camera?.position, t = this.utcOffset ?? (e ?
|
|
454
|
-
this
|
|
544
|
+
#J() {
|
|
545
|
+
const e = this._view?.camera?.position, t = this.utcOffset ?? (e ? R(e) : 0), i = new M({ displayUTCOffset: t });
|
|
546
|
+
this.#$(t, i.date, { fillMissingOnly: !0 });
|
|
455
547
|
}
|
|
456
|
-
|
|
457
|
-
const { minutesSinceMidnight: s, localDate: n } =
|
|
458
|
-
(!i || this.utcOffset == null) && this.#
|
|
548
|
+
#$(e, t, { fillMissingOnly: i = !1 } = {}) {
|
|
549
|
+
const { minutesSinceMidnight: s, localDate: n } = U(t, e);
|
|
550
|
+
(!i || this.utcOffset == null) && this.#l.mutate(e), (!i || this.timeSliderPosition == null) && this.#s.mutate(s), (!i || this.localDateAsString == null) && this.#r.mutate(n), this.requestUpdate();
|
|
459
551
|
}
|
|
460
|
-
#
|
|
552
|
+
#y() {
|
|
461
553
|
this.isConnected && this.arcgisUserDateTimeChange.emit();
|
|
462
554
|
}
|
|
463
|
-
#
|
|
555
|
+
#a() {
|
|
464
556
|
this._playingState = "none";
|
|
465
557
|
}
|
|
466
|
-
#
|
|
467
|
-
if (this.#
|
|
558
|
+
#j(e) {
|
|
559
|
+
if (this.#g)
|
|
468
560
|
return;
|
|
469
561
|
const t = setTimeout(() => {
|
|
470
|
-
const i = e.
|
|
471
|
-
this.#
|
|
472
|
-
},
|
|
473
|
-
this.#
|
|
474
|
-
clearTimeout(t), this.#
|
|
562
|
+
const i = e.date, { minutesSinceMidnight: s } = this.#x(i);
|
|
563
|
+
this.#s.mutate(s), this.#g?.remove();
|
|
564
|
+
}, Me(this.#O));
|
|
565
|
+
this.#g = B(() => {
|
|
566
|
+
clearTimeout(t), this.#g = void 0;
|
|
475
567
|
const i = this._lighting;
|
|
476
|
-
if (
|
|
477
|
-
const s = i.
|
|
478
|
-
this.#
|
|
568
|
+
if (h(i)) {
|
|
569
|
+
const s = i.date, { minutesSinceMidnight: n } = this.#x(s);
|
|
570
|
+
this.#s.mutate(n);
|
|
479
571
|
}
|
|
480
572
|
});
|
|
481
573
|
}
|
|
482
|
-
#
|
|
483
|
-
this.#
|
|
574
|
+
#M(e) {
|
|
575
|
+
this.#t?.remove();
|
|
484
576
|
const t = this._view;
|
|
485
577
|
if (t == null || this._sunlightingDisabled)
|
|
486
578
|
return;
|
|
487
579
|
const i = t.environment.lighting;
|
|
488
|
-
if (!
|
|
580
|
+
if (!h(i))
|
|
489
581
|
return;
|
|
490
|
-
this.#
|
|
582
|
+
this.timeZoneMode === "region" ? this.#I(i) : this.#R(i);
|
|
491
583
|
let s = 0;
|
|
492
|
-
this.#
|
|
584
|
+
this.#t = st({
|
|
493
585
|
mode: e,
|
|
494
586
|
lighting: i,
|
|
587
|
+
// The default animation adds elapsed UTC time. Regional mode advances wall-clock values instead so DST
|
|
588
|
+
// transitions and short months preserve valid local dates and times.
|
|
589
|
+
getNextDate: this.timeZoneMode === "region" ? (n, a, l) => a === "day" ? Xe(n, l, this.#w) : et(n, this.#w) : void 0,
|
|
495
590
|
beforeProgress: () => {
|
|
496
|
-
s = this.#
|
|
591
|
+
s = this.#U ?? 0;
|
|
497
592
|
},
|
|
498
593
|
onProgress: (n, a) => {
|
|
499
|
-
this.#
|
|
594
|
+
this.timeZoneMode === "region" && (a.displayUTCOffset = this.#n(a.date)), this.#s.mutate(s), this.#j(a);
|
|
500
595
|
},
|
|
501
596
|
getPlaySpeed: () => {
|
|
502
597
|
const n = this._view, a = this._view?.environment.lighting;
|
|
503
|
-
if (n != null &&
|
|
504
|
-
const
|
|
505
|
-
return
|
|
598
|
+
if (n != null && h(a)) {
|
|
599
|
+
const l = n.camera.position.latitude ?? 0, d = n.camera.position.longitude ?? 0, o = this.timeZoneMode === "region" ? this.#n(a.date) : a.displayUTCOffset ?? 0, { sunrise: c, sunset: p } = tt(a.date, l, d, o);
|
|
600
|
+
return nt(c, p, a.date, ot) * this.playSpeedMultiplier;
|
|
506
601
|
} else
|
|
507
|
-
return
|
|
602
|
+
return E * this.playSpeedMultiplier;
|
|
508
603
|
}
|
|
509
604
|
});
|
|
510
605
|
}
|
|
511
|
-
#
|
|
606
|
+
get #w() {
|
|
607
|
+
return Ce(this._view?.timeZone ?? re);
|
|
608
|
+
}
|
|
609
|
+
#n(e) {
|
|
610
|
+
const t = this.#S(e);
|
|
611
|
+
if (!t)
|
|
612
|
+
throw new RangeError("Invalid date or time zone");
|
|
613
|
+
return t.offsetMinutes / 60;
|
|
614
|
+
}
|
|
615
|
+
#x(e) {
|
|
616
|
+
const t = this.timeZoneMode === "region" ? this.#S(e) : null;
|
|
617
|
+
return t ? {
|
|
618
|
+
localDate: I(t),
|
|
619
|
+
minutesSinceMidnight: T(t)
|
|
620
|
+
} : U(e, this.utcOffset ?? 0);
|
|
621
|
+
}
|
|
622
|
+
#S(e) {
|
|
623
|
+
return P(e, this.#w);
|
|
624
|
+
}
|
|
625
|
+
#D(e = this._lighting) {
|
|
626
|
+
if (!this.#c || !this.#_(e) || this.#e)
|
|
627
|
+
return;
|
|
628
|
+
const t = this.#S(e.date);
|
|
629
|
+
if (!t)
|
|
630
|
+
return;
|
|
631
|
+
const i = this.#n(e.date);
|
|
632
|
+
e.displayUTCOffset = i, this.#l.mutate(i), this.#r.mutate(I(t)), this.#s.mutate(T(t)), this.requestUpdate();
|
|
633
|
+
}
|
|
634
|
+
#q({ scale: e, disabled: t }) {
|
|
512
635
|
const { messages: i } = this;
|
|
513
|
-
return
|
|
636
|
+
return u`<calcite-label .scale=${e} class="date-picker-container">${i.date}${ct({ disabled: t, scale: e, date: this.localDateAsString, onDateChange: (s) => {
|
|
514
637
|
const n = s.currentTarget.value, a = Array.isArray(n) ? n[0] : n;
|
|
515
|
-
this.#
|
|
516
|
-
} })}</calcite-label>${
|
|
638
|
+
this.#a(), this.localDate = a, this.#y();
|
|
639
|
+
} })}</calcite-label>${S({ hidden: this.hidePlayButtons, children: he({ playing: this.yearPlaying, disabled: t, label: i.playYear, onClick: () => {
|
|
517
640
|
this._playingState === "year" ? this._playingState = "none" : this._playingState = "year";
|
|
518
641
|
}, scale: e }) })}`;
|
|
519
642
|
}
|
|
520
|
-
|
|
643
|
+
#B({ scale: e, disabled: t }) {
|
|
521
644
|
const { messages: i } = this;
|
|
522
|
-
return
|
|
523
|
-
this.#
|
|
645
|
+
return u`<calcite-label .scale=${e} class="date-picker-container">${i.season}${dt({ scale: e, selectedSeason: this.currentSeason, disabled: t, messages: i, onSeasonChange: (s) => {
|
|
646
|
+
this.#a(), this.currentSeason = s.currentTarget.value;
|
|
524
647
|
} })}</calcite-label>`;
|
|
525
648
|
}
|
|
526
649
|
render() {
|
|
527
650
|
const { messages: e, dateOrSeason: t } = this, i = this._sunlightingDisabled, s = "m";
|
|
528
651
|
if (!(this._view?.type === "3d"))
|
|
529
|
-
return
|
|
530
|
-
const a = (this.utcOffset ?? 0) * 60,
|
|
531
|
-
return
|
|
532
|
-
this
|
|
533
|
-
}}
|
|
534
|
-
this
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
this.
|
|
540
|
-
} }
|
|
541
|
-
this.
|
|
652
|
+
return ne({ class: "root", label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: u`<div class="unsupported"><p>${e.unsupported}</p></div>` });
|
|
653
|
+
const a = (this.utcOffset ?? 0) * 60, l = this.view?.ready === !0, d = Array.isArray(this.timeSliderSteps) ? this.timeSliderSteps.at(0) : this.timeSliderSteps;
|
|
654
|
+
return ne({ class: { root: !0, loading: !l }, label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: u`${l ? void 0 : u`<calcite-scrim loading></calcite-scrim>`}<div class="time-configuration" style=${ee({ columnGap: this.hidePlayButtons ? "0" : void 0 })}><calcite-label class="slider-container" .scale=${s}>${this.timeZoneMode === "region" ? u`<span class="time-label">${e.timeSliderLabel}${S({ hidden: this.hideTimezone, children: u`<arcgis-time-zone-chip .disabled=${i} .timeZone=${this._view?.timeZone ?? re} .visualScale=${s} @click=${(o) => o.stopPropagation()} @arcgisInternalTimeZoneChange=${(o) => {
|
|
655
|
+
this._view && (this._view.timeZone = o.detail);
|
|
656
|
+
}}></arcgis-time-zone-chip>` })}</span>` : e.timeSliderLabel}<arcgis-time-of-day-slider class="slider" .disabled=${this._sunlightingDisabled} mode=single .startTime=${this.timeSliderPosition ?? 0} .steps=${d} style=${ee({ gridArea: "slider" })} @arcgisTimeChange=${({ currentTarget: o }) => {
|
|
657
|
+
this.#a(), this.timeSliderPosition = o.startTime, this.#y();
|
|
658
|
+
}} ${ie(this.#T)}></arcgis-time-of-day-slider></calcite-label>${S({ hidden: this.hidePlayButtons, children: he({ disabled: this._sunlightingDisabled, playing: this.dayPlaying, label: e.playDay, onClick: () => {
|
|
659
|
+
this._playingState === "day" ? this.#a() : this._playingState = "day";
|
|
660
|
+
}, scale: s }) })}${this.timeZoneMode === "offset" ? S({ hidden: this.hideTimezone, children: u`<calcite-label .scale=${s} class="timezone-input-container">${e.timezone}<calcite-input-time-zone data-testid=daylight-time-zone-input mode=offset overlay-positioning=fixed .scale=${s} .disabled=${this._sunlightingDisabled} .value=${`${a}`} .referenceDate=${this.localDateAsString} @calciteInputTimeZoneChange=${(o) => {
|
|
661
|
+
const c = +o.target.value;
|
|
662
|
+
this.utcOffset = c / 60, this.#a();
|
|
663
|
+
}} ${ie(this.#p)}></calcite-input-time-zone></calcite-label><span></span>` }) : void 0}${S({ hidden: this.hideDatePicker, children: t === "date" ? this.#q({ scale: s, disabled: i }) : this.#B({ scale: s, disabled: i }) })}</div>${S({ hidden: this.hideSunLightingToggle, children: ht({ scale: s, messages: e.sunLightingToggle, sunlightingEnabled: !this._sunlightingDisabled, onSunLightingToggle: (o) => {
|
|
664
|
+
this._sunlightingDisabled = !o;
|
|
665
|
+
} }) })}${S({ hidden: this.hideShadowsToggle, children: gt({ scale: s, messages: e.shadowsToggle, onShadowCheckboxChange: (o) => {
|
|
666
|
+
this._directShadowsDisabled = !o;
|
|
542
667
|
}, shadowEnabled: !this._directShadowsDisabled }) })}` });
|
|
543
668
|
}
|
|
544
669
|
}
|
|
545
|
-
function
|
|
546
|
-
return
|
|
670
|
+
function he({ disabled: r, playing: e, onClick: t, label: i, scale: s = "m" }) {
|
|
671
|
+
return u`<calcite-button appearance=solid .scale=${s} .disabled=${r} .iconStart=${e ? "pause-f" : "play-f"} .label=${i} @click=${t} round title=${i ?? G} type=button></calcite-button>`;
|
|
547
672
|
}
|
|
548
|
-
function
|
|
549
|
-
return
|
|
673
|
+
function ct({ disabled: r, date: e, onDateChange: t, scale: i }) {
|
|
674
|
+
return u`<calcite-input-date-picker data-testid=daylight-date-picker .disabled=${r} overlay-positioning=fixed placement=bottom .value=${e} .scale=${i} @calciteInputDatePickerChange=${t}></calcite-input-date-picker>`;
|
|
550
675
|
}
|
|
551
|
-
function
|
|
552
|
-
return
|
|
676
|
+
function dt({ messages: r, disabled: e, scale: t, selectedSeason: i, onSeasonChange: s }) {
|
|
677
|
+
return u`<calcite-select .disabled=${e} .label=${r.season} .scale=${t} .value=${i} @calciteSelectChange=${(n) => {
|
|
553
678
|
s(n);
|
|
554
|
-
}}>${
|
|
679
|
+
}}>${V.map((n) => u`<calcite-option .selected=${i === n} .value=${n}>${r[n]}</calcite-option>`)}</calcite-select>`;
|
|
555
680
|
}
|
|
556
|
-
function
|
|
557
|
-
return
|
|
681
|
+
function ht({ messages: r, sunlightingEnabled: e, onSunLightingToggle: t, scale: i }) {
|
|
682
|
+
return u`<calcite-label layout=inline .scale=${i} title=${r?.tooltip ?? G}><calcite-checkbox .scale=${i} .checked=${e} @calciteCheckboxChange=${(s) => t(s.target.checked)}></calcite-checkbox>${r?.label}</calcite-label>`;
|
|
558
683
|
}
|
|
559
|
-
function
|
|
560
|
-
return
|
|
684
|
+
function gt({ messages: r, shadowEnabled: e, onShadowCheckboxChange: t, scale: i }) {
|
|
685
|
+
return u`<calcite-label layout=inline .scale=${i} title=${r?.tooltip ?? G}><calcite-checkbox .checked=${e} @calciteCheckboxChange=${(s) => t(s.target.checked)}></calcite-checkbox>${r.label}</calcite-label>`;
|
|
561
686
|
}
|
|
562
|
-
|
|
687
|
+
be("arcgis-daylight", lt);
|
|
563
688
|
export {
|
|
564
|
-
|
|
689
|
+
lt as ArcgisDaylight
|
|
565
690
|
};
|