@arcgis/map-components 5.2.0-next.94 → 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/{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/{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/{JZHBJAXX.js → AY2PVEY5.js} +1 -1
- 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/{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/{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/{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/HF3GCBAI.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/{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/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/{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/{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/{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/{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/{5QVEXW3X.js → XFA3SAYB.js} +1 -1
- package/dist/cdn/{Q2GU7GDS.js → XKRMD24I.js} +1 -1
- package/dist/cdn/{3MZKVY6A.js → XQH6U57U.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/{B23TN7FG.js → XZGU6TR6.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/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/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/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-table/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +23 -20
- package/dist/components/arcgis-map/customElement.js +15 -12
- 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.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/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 +20 -0
- package/dist/loader.js +6 -3
- package/dist/types/lumina.d.ts +19 -4
- package/dist/types/preact.d.ts +21 -4
- package/dist/types/react.d.ts +23 -4
- package/dist/types/stencil.d.ts +19 -4
- package/package.json +5 -5
- package/dist/cdn/2S3PMUG2.js +0 -2
- package/dist/cdn/323SSBOJ.js +0 -2
- package/dist/cdn/34CXVCB3.js +0 -2
- package/dist/cdn/3ZRONF3M.js +0 -2
- package/dist/cdn/ECXFGOCB.js +0 -2
- package/dist/cdn/FR3EHEIV.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/VURES5AT.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/support/time-utils.d.ts +0 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "5.2.0-next.
|
|
3
|
+
"version": "5.2.0-next.95",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"2D",
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@amcharts/amcharts5": "~5.20.3",
|
|
46
|
-
"@arcgis/common-components": "5.2.0-next.
|
|
47
|
-
"@arcgis/lumina": "5.2.0-next.
|
|
48
|
-
"@arcgis/toolkit": "5.2.0-next.
|
|
46
|
+
"@arcgis/common-components": "5.2.0-next.95",
|
|
47
|
+
"@arcgis/lumina": "5.2.0-next.95",
|
|
48
|
+
"@arcgis/toolkit": "5.2.0-next.95",
|
|
49
49
|
"lit": "^3.3.0",
|
|
50
50
|
"lodash-es": "^4.18.1",
|
|
51
51
|
"tslib": "^2.8.1"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@arcgis/core": "5.2.0-next.
|
|
54
|
+
"@arcgis/core": "5.2.0-next.95",
|
|
55
55
|
"@esri/calcite-components": "^5.2.0-next.52"
|
|
56
56
|
},
|
|
57
57
|
"css.customData": [
|
package/dist/cdn/2S3PMUG2.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import g from"./JZHBJAXX.js";import{a as b}from"./2GM4O42V.js";import{a as c}from"./TN5C3MSL.js";import{a as f}from"./UEBDFBOK.js";import e from"./ANSNQBZW.js";import"./5DI7RMZ6.js";import"./Q7SMGP5R.js";import d from"./SYDGAFU5.js";import"./QUZTFUWM.js";import"./NCYBFT2Y.js";import{L as n,M as o,N as l,O as h,T as p,b as a,w as r}from"./WTBRS6C4.js";import"./H6RQVSYM.js";export default $arcgis.t(([A,{watch:s},D,M,R,{c:u,d:g,e:d,f:y},{a:t,b:w,f:v},{a:V,b:_,c:C,d:E}])=>{var I=w(R,{}),k=w(M,{}),m=class extends l{constructor(){super(),this._attributionMode=null,this._containerRef=n(),this._mapRef=n(),this._uiController=new V(this),this._cameraProperties={},this.arcgisLoadError=C(this),this.arcgisViewReadyError=E(this),this._map=I(this),this.view=k(this),this.allLayerViews=this.view.allLayerViews,this.alphaCompositingEnabled=this.view.alphaCompositingEnabled,this.analyses=this.view.analyses,this.animationsDisabled=this.view.animationsEnabled,this.autoDestroyDisabled=!1,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.canZoomIn=this.view.canZoomIn,this.canZoomOut=this.view.canZoomOut,this.clippingArea=this.view.clippingArea,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.environment=this.view.environment,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.groundView=this.view.groundView,this.highlights=this.view.highlights,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.popupComponentEnabled=!1,this.qualityProfile=this.view.qualityProfile,this.ready=this.view.ready,this.selectionManager=this.view.selectionManager,this.slotGroupRefs=this._uiController.slotGroupRefs,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.viewingMode=this.view.viewingMode,this.visibleArea=this.view.visibleArea,this.arcgisViewAnalysisViewCreate=t(()=>this.view,"analysis-view-create"),this.arcgisViewAnalysisViewCreateError=t(()=>this.view,"analysis-view-create-error"),this.arcgisViewAnalysisViewDestroy=t(()=>this.view,"analysis-view-destroy"),this.arcgisViewChange=r(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDoubleTapDrag=t(()=>this.view,"double-tap-drag"),this.arcgisViewDrag=t(()=>this.view,"drag"),this.arcgisViewHold=t(()=>this.view,"hold"),this.arcgisViewImmediateClick=t(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=t(()=>this.view,"key-down"),this.arcgisViewKeyUp=t(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=t(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=t(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=t(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=t(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=t(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=t(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=t(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=r(),this.arcgisViewVerticalTwoFingerDrag=t(()=>this.view,"vertical-two-finger-drag"),_(this),this.view.ui={components:[]}}static{this.properties={_map:16,aria:0,view:32,allLayerViews:32,alphaCompositingEnabled:5,analyses:0,animationsDisabled:5,attributionItems:32,attributionMode:1,autoDestroyDisabled:5,basemap:1,basemapView:0,camera:0,cameraFov:9,cameraHeading:9,cameraPosition:1,cameraTilt:9,canZoomIn:36,canZoomOut:36,center:1,clippingArea:0,constraints:0,displayFilterDisabled:5,environment:0,extent:0,fatalError:0,floors:0,focusAreas:0,gamepad:32,graphics:0,ground:1,groundView:32,hideAttribution:5,highlights:0,interacting:32,itemId:3,layerViews:32,magnifier:32,map:0,navigating:32,navigation:0,padding:0,performanceInfo:32,popup:0,popupElement:32,popupDisabled:5,popupComponentEnabled:5,qualityProfile:1,ready:36,resolution:32,selectionManager:32,scale:9,slotGroupRefs:32,spatialReference:0,stationary:32,suspended:39,theme:0,timeExtent:0,timeZone:1,updating:36,viewingMode:1,viewpoint:0,visibleArea:32,zoom:9,loadErrorSources:0}}static{this.styles=[f,b]}get aria(){return this.view?.aria??null}set aria(i){this.view&&(this.view.aria=i)}get attributionItems(){return this.view?.attributionItems??[]}get attributionMode(){return this._attributionMode}set attributionMode(i){this._attributionMode=i,i!=="auto"&&(this.view.attributionMode=i)}get camera(){return this.view.camera}set camera(i){u(this.camera,i)||(this.view.camera=i)}get cameraFov(){let{view:i}=this;return i.ready?this.view.camera?.fov:this._cameraProperties.fov}set cameraFov(i){i!=null&&this._mutateCamera(e=>{e.fov=i})}get cameraHeading(){let{view:i}=this;return i.ready?i.camera?.heading:this._cameraProperties.heading}set cameraHeading(i){i!=null&&this._mutateCamera(e=>{e.heading=i})}get cameraPosition(){let{view:i}=this;if(i.ready)return i.camera?.position;let{position:e}=this._cameraProperties;return e?new D(e):void 0}set cameraPosition(i){let e=y(this.view.camera?.position,i);e&&this._mutateCamera(P=>{P.position=e})}get cameraTilt(){let{view:i}=this;return i.ready?i.camera?.tilt:this._cameraProperties.tilt}set cameraTilt(i){i!=null&&this._mutateCamera(e=>{e.tilt=i})}get center(){return this.view.center}set center(i){let e=d(i,this.view);e&&(this.view.center=e)}get extent(){return this.view.extent}set extent(i){i&&!this.extent.equals(i)&&(this.view.extent=i)}get focusAreas(){return this.map?this.map?.focusAreas:{areas:[],style:"bright"}}set focusAreas(i){this.map&&(this.map.focusAreas=i)}get gamepad(){return this.view.input.gamepad}get hideAttribution(){return!this.view.attributionVisible}set hideAttribution(i){this.view.attributionVisible=!i}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id}set itemId(i){v(this._map,this),this._map.portalItem={id:i},this.view.map=this._map}get navigating(){return this.view.navigating}get performanceInfo(){return this.view.performanceInfo}get popupElement(){return this._uiController.popupElement||null}get resolution(){return this.view.resolution}get scale(){return this.view.scale}set scale(i){this.view.scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint}set viewpoint(i){g(this.viewpoint,i)&&(this.view.viewpoint=i)}get zoom(){return this.view.zoom}set zoom(i){this.view.zoom=i}async closePopup(){this._uiController.closePopup()}async destroy(){await this.manager.destroy()}async fetchPopupFeatures(i,e){return this.view.fetchPopupFeatures(i,e)}async goTo(i,e){return await this.view.goTo(i,e)}async hitTest(i,e){return await this.view.hitTest(i,e)}async openPopup(i){this._uiController.openPopup(i)}async takeScreenshot(i){return await this.view.takeScreenshot(i)}toMap(i,e){return this.view.toMap(i,e)}toScreen(i){return this.view.toScreen(i)}async tryFatalErrorRecovery(){this.view.tryFatalErrorRecovery()}async viewOnReady(i,e){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(e)}async whenAnalysisView(i){return await this.view.whenAnalysisView(i)}async whenLayerView(i){return await this.view.whenLayerView(i)}async zoomIn(){this.view.zoomIn()}async zoomOut(){this.view.zoomOut()}loaded(){let i=this;i.el.childElem=this._mapRef.value,this.view.container??=i.el.childElem,this.map||=this._map,this.manager.onLifecycle(()=>[s(()=>this.map,e=>{e&&(this._map=e)},{initial:!0,sync:!0}),s(()=>this.view.stationary,()=>this.arcgisViewChange.emit(),{initial:!0}),s(()=>this.view.ready,e=>{e&&(this.camera=this.view.camera.clone().set(this._cameraProperties),this._cameraProperties={}),this.arcgisViewReadyChange.emit()},{initial:this.view.ready}),s(()=>this.view.attributionHeight,e=>{this._uiController.handleAttributionHeightChange(e)},{initial:!0})])}_mutateCamera(i){if(!this.view.ready){i(this._cameraProperties);return}let e=this.view.camera?.clone()??new A;i(e),this.camera=e}renderMain(){return a`<div class=${h(c.base)} ${o(this._mapRef)}></div>`}render(){return a`${this.renderMain()}<section class=${h(c.containerUI)} ${o(this._containerRef)}>${this._uiController.render()}</section>`}};p("arcgis-scene",m);return m},"Camera","core/reactiveUtils","geometry/Point","views/SceneView","WebScene",d,e,g)
|
package/dist/cdn/323SSBOJ.js
DELETED
package/dist/cdn/34CXVCB3.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import b from"./Q6TYHAOA.js";import{a as u,b as p,k as c}from"./O7RSAJOS.js";import{L as o,M as r,N as w,O as d,T as y,a as $,b as a}from"./WTBRS6C4.js";import"./H6RQVSYM.js";export default $arcgis.t(([I,_,{c:m,e:n,j:v,k:g,l:b}])=>{var k="TimeBar",T="Count",O="Please enter count",D="Date",U="Display",F="Choose how to display date and time.",M="End",S="Choose the time bar's end time.",C="Every {count} {timeUnit}",x="Every {duration}",Z={dateAndTime:"Date and time",dateOnly:"Date only"},z="Loop",R="Mode",B="Choose the time extent type shown by the time bar.",E={"cumulative-from-end":"Cumulative from end","cumulative-from-start":"Cumulative from start",instant:"Instant","time-window":"Time window"},P="Next",V="Overview",L="Play",N="Playback rate",q="The speed at which the time bar progresses.",A="Previous",j="Regular interval",G="Settings",H="Start",W="Choose the time bar's start time.",Y="Stop",J={discreteDates:"Discrete dates",evenlySpaced:"Evenly spaced",evenlySpacedTemplate:"{count} evenly spaced",freeMovement:"Free movement"},K="Stops",Q="Choose how the stops are generated for the time bar.",X="Time",ee="Time bar settings",te={day:"Day",hour:"Hour",millisecond:"Millisecond",minute:"Minute",month:"Month",second:"Second",week:"Week",year:"Year"},ie="Time zone",se="Choose the time zone used to display the date and time in the time bar.",ae={specific:"Specific time zone",system:"Device time zone",unknown:"No adjustment"},le="Unit",ne="Please select unit",ce="Units",oe={componentLabel:k,count:T,countPrompt:O,date:D,display:U,displayDescription:F,end:M,endDescription:S,everyDurationPartsTemplate:C,everyDurationTemplate:x,formatOptions:Z,loop:z,mode:R,modeDescription:B,modeOptions:E,next:P,overview:V,play:L,playbackRate:N,playbackRateDescription:q,previous:A,regularInterval:j,settings:G,start:H,startDescription:W,stop:Y,stopOptions:J,stops:K,stopsDescription:Q,time:X,timeBarSettings:ee,timeUnitOptions:te,timeZone:ie,timeZoneDescription:se,timeZoneOptions:ae,unit:le,unitPrompt:ne,units:ce},re=$`:host{background-color:var(--calcite-color-surface-2);block-size:calc(var(--calcite-font-size-relative-5xl) * 8);color:var(--calcite-color-text-1);font-family:var(--calcite-font-family);font-size:var(--calcite-font-size-sm);inline-size:max-content}calcite-flow-item{--calcite-color-background: var(--calcite-color-surface-2)}.disabled{opacity:var(--calcite-opacity-disabled);pointer-events:none}.playback-rate-content{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg);margin-block-start:var(--calcite-spacing-lg)}.end-content,.format-content,.mode-content,.start-content,.stops-content,.time-zone-content{margin-inline-start:calc(var(--calcite-spacing-lg) * 3);margin-inline-end:var(--calcite-spacing-lg);margin-block-start:var(--calcite-spacing-lg)}.stops-indent,.time-zone-indent{margin-inline-start:calc(var(--calcite-spacing-lg) * 1.5);margin-block-end:var(--calcite-spacing-lg)}.label-description{font-style:italic}.label-heading{font-weight:var(--calcite-font-weight-semibold)}.list-item--content{--calcite-label-margin-bottom: 0}.time-zone-input{width:calc(var(--calcite-size-md) * 5.5)}.time-zone-label{--calcite-color-background: transparent;--calcite-color-border-input: transparent;font-style:italic;margin-inline-start:calc(var(--calcite-spacing-md) * -1);margin-block-start:calc(var(--calcite-spacing-md) * -.5)}`,f=class extends w{constructor(){super(...arguments),this.#t=o(),this.#i=o(),this.#s=o(),this.#a=o(),this.#e={maximumFractionDigits:0,style:"unit",unitDisplay:"long"},this._selectedFlowItem="overview",this.autoDestroyDisabled=!1}static{this.properties={_timeUnitSettings:16,_defaultTimeZoneMode:16,_defaultStopCount:16,_defaultStopIntervalValue:16,_defaultStopIntervalUnit:16,_messages:16,_timeZoneMode:16,_stopCount:16,_stopIntervalValue:16,_stopIntervalUnit:16,_formatDescription:16,_playbackRateDescription:16,_formatStart:16,_formatEnd:16,_modeDescription:16,_selectedFlowItem:16,_stopDescription:16,autoDestroyDisabled:5,messages:0,viewModel:0}}static{this.styles=re}#l;#n;#c;#o;#t;#i;#s;#a;#e;get _timeUnitSettings(){let e={milliseconds:{timeUnit:"milliseconds",heading:this._messages.timeUnitOptions.millisecond,numberFormatOptions:{...this.#e,unit:"millisecond"}},seconds:{timeUnit:"seconds",heading:this._messages.timeUnitOptions.second,numberFormatOptions:{...this.#e,unit:"second"}},minutes:{timeUnit:"minutes",heading:this._messages.timeUnitOptions.minute,numberFormatOptions:{...this.#e,unit:"minute"}},hours:{timeUnit:"hours",heading:this._messages.timeUnitOptions.hour,numberFormatOptions:{...this.#e,unit:"hour"}},days:{timeUnit:"days",heading:this._messages.timeUnitOptions.day,numberFormatOptions:{...this.#e,unit:"day"}},weeks:{timeUnit:"weeks",heading:this._messages.timeUnitOptions.week,numberFormatOptions:{...this.#e,unit:"week"}},months:{timeUnit:"months",heading:this._messages.timeUnitOptions.month,numberFormatOptions:{...this.#e,unit:"month"}},years:{timeUnit:"years",heading:this._messages.timeUnitOptions.year,numberFormatOptions:{...this.#e,unit:"year"}}};return{get:t=>e[t],has:t=>t in e,values:Object.values(e)}}get _defaultTimeZoneMode(){switch(this.viewModel?.timeZone){case u:case void 0:return"system";case p:return"unknown";default:return"specific"}}get _defaultStopCount(){return m(this.viewModel?.stops)?this.viewModel.stops.count:10}get _defaultStopIntervalValue(){return n(this.viewModel?.stops)?this.viewModel.stops.interval.value:1}get _defaultStopIntervalUnit(){return n(this.viewModel?.stops)?this.viewModel.stops.interval.unit:"years"}get _messages(){return this.messages??oe}get _timeZoneMode(){return this.#o??this._defaultTimeZoneMode}set _timeZoneMode(e){let t=this._timeZoneMode;t!==e&&(this.#o=e,this.requestUpdate("_timeZoneMode",t))}get _stopCount(){return this.#l??this._defaultStopCount}set _stopCount(e){let t=this._stopCount;t!==e&&(this.#l=e,this.requestUpdate("_stopCount",t))}get _stopIntervalValue(){return this.#n??this._defaultStopIntervalValue}set _stopIntervalValue(e){let t=this._stopIntervalValue;t!==e&&(this.#n=e,this.requestUpdate("_stopIntervalValue",t))}get _stopIntervalUnit(){return this.#c??this._defaultStopIntervalUnit}set _stopIntervalUnit(e){let t=this._stopIntervalUnit;t!==e&&(this.#c=e,this.requestUpdate("_stopIntervalUnit",t))}get _formatDescription(){switch(this.viewModel?.format){case"date":return this._messages.formatOptions.dateOnly;case"date-time":return this._messages.formatOptions.dateAndTime;default:return""}}get _playbackRateDescription(){let{viewModel:e}=this;if(!e)return"";let t=e.formatNumber(e.playRate,this._timeUnitSettings.get("milliseconds").numberFormatOptions);return this._messages.everyDurationTemplate.replace("{duration}",t)}get _formatStart(){let{viewModel:e}=this,t=e?.fullTimeExtent?.start;return t?e.formatDateTime(t):""}get _formatEnd(){let{viewModel:e}=this,t=e?.fullTimeExtent?.end;return t?e.formatDateTime(t):""}get _modeDescription(){let e=this.viewModel?.mode;return e?this._messages.modeOptions[e]:""}get _stopDescription(){let{viewModel:e}=this,t=e?.stops;if(!t)return this._messages.stopOptions.freeMovement;if(m(t))return this._messages.stopOptions.evenlySpacedTemplate.replace("{count}",`${t.count}`);if(n(t)){let{value:i,unit:s}=t.interval;if(!this._timeUnitSettings.has(s))return this._messages.everyDurationPartsTemplate.replace("{count}",`${i}`).replace("{timeUnit}",s);let l=this._timeUnitSettings.get(s).numberFormatOptions,h=e.formatNumber(i,l);return this._messages.everyDurationTemplate.replace("{duration}",h)}return this._messages.stopOptions.discreteDates}async destroy(){await this.manager.destroy()}async navigateToOverview(){this._selectedFlowItem="overview"}#r(){let{viewModel:e}=this;if(!e?.fullTimeExtent||!this.#t.value?.value||!this.#i.value?.value)return;let t=this.#t.value.value,i=this.#i.value.value,s=c(e.timeZone),l=b(t,i,s);l&&(e.fullTimeExtent=new I({start:e.fullTimeExtent.start,end:l}))}#m(){let{viewModel:e}=this;if(!e?.fullTimeExtent||!this.#s.value?.value||!this.#a.value?.value)return;let t=this.#s.value.value,i=this.#a.value.value,s=c(e.timeZone),l=b(t,i,s);if(!l)return;let{end:h}=e.fullTimeExtent;e.fullTimeExtent=new I({start:l,end:h})}render(){let{viewModel:e}=this;if(!e)return null;let{disabled:t}=e;return a`<div class=${d({disabled:t})}><calcite-flow>${this.#h(e)}${this.#d(e)}${this.#u(e)}${this.#p(e)}${this.#v(e)}${this.#g(e)}${this.#b(e)}${this.#_(e)}</calcite-flow></div>`}#d(e){if(this._selectedFlowItem!=="end")return null;let{fullTimeExtent:t,disabled:i,timeZone:s}=e;if(!t?.end)return null;let l=c(s);return a`<calcite-flow-item .description=${this._messages.endDescription} .heading=${this._messages.end} @calciteFlowItemBack=${this.navigateToOverview} selected><div class="end-content"><calcite-label><span>${this._messages.date}</span><calcite-input-date-picker .disabled=${i} @calciteInputDatePickerChange=${this.#r} .value=${v(t.end,l)} ${r(this.#t)}></calcite-input-date-picker></calcite-label><calcite-label><span>${this._messages.time}</span><calcite-input-time-picker .disabled=${i} @calciteInputTimePickerChange=${this.#r} step=1 .value=${g(t.end,l)} ${r(this.#i)}></calcite-input-time-picker></calcite-label></div></calcite-flow-item>`}#u(e){return this._selectedFlowItem!=="format"?null:a`<calcite-flow-item .description=${this._messages.displayDescription} .heading=${this._messages.display} @calciteFlowItemBack=${this.navigateToOverview} selected><div class="format-content"><calcite-radio-button-group class="format-radio-button-group" layout=vertical name=format @calciteRadioButtonGroupChange=${t=>e.format=t.currentTarget.selectedItem?.value}><calcite-radio-button .labelText=${this._messages.formatOptions.dateOnly} value=date .checked=${e.format==="date"}></calcite-radio-button><calcite-radio-button .checked=${e.format==="date-time"} .labelText=${this._messages.formatOptions.dateAndTime} value=date-time></calcite-radio-button></calcite-radio-button-group></div></calcite-flow-item>`}#p(e){if(this._selectedFlowItem!=="mode")return null;let t=["instant","time-window","cumulative-from-start","cumulative-from-end"];return a`<calcite-flow-item .description=${this._messages.modeDescription} .heading=${this._messages.mode} @calciteFlowItemBack=${this.navigateToOverview} selected><div class="mode-content"><calcite-radio-button-group name=mode layout=vertical @calciteRadioButtonGroupChange=${i=>e.mode=i.currentTarget.selectedItem?.value} class="mode-radio-button-group">${t.map(i=>a`<calcite-radio-button .labelText=${this._messages.modeOptions[i]} .value=${i} .checked=${e.mode===i}></calcite-radio-button>`)}</calcite-radio-button-group></div></calcite-flow-item>`}#h(e){return a`<calcite-flow-item .selected=${this._selectedFlowItem==="overview"}><calcite-list .label=${this._messages.overview}><calcite-list-item @calciteListItemSelect=${()=>this._selectedFlowItem="format"}><div slot=content class="list-item--content"><calcite-label class="label-heading">${this._messages.display}</calcite-label><calcite-label class="label-description">${this._formatDescription}</calcite-label></div><calcite-icon slot=content-end scale=s icon=chevron-right flip-rtl></calcite-icon></calcite-list-item><calcite-list-item @calciteListItemSelect=${()=>this._selectedFlowItem="mode"}><div slot=content class="list-item--content"><calcite-label class="label-heading">${this._messages.mode}</calcite-label><calcite-label class="label-description">${this._modeDescription}</calcite-label></div><calcite-icon slot=content-end scale=s icon=chevron-right flip-rtl></calcite-icon></calcite-list-item><calcite-list-item @calciteListItemSelect=${()=>this._selectedFlowItem="time-zone"}><div slot=content class="list-item--content"><calcite-label class="label-heading">${this._messages.timeZone}</calcite-label>${this.#f()}</div><calcite-icon slot=content-end scale=s icon=chevron-right flip-rtl></calcite-icon></calcite-list-item><calcite-list-item @calciteListItemSelect=${()=>this._selectedFlowItem="start"}><div slot=content class="list-item--content"><calcite-label class="label-heading">${this._messages.start}</calcite-label><calcite-label class="label-description">${this._formatStart}</calcite-label></div><calcite-icon slot=content-end scale=s icon=chevron-right flip-rtl></calcite-icon></calcite-list-item><calcite-list-item @calciteListItemSelect=${()=>this._selectedFlowItem="end"}><div slot=content class="list-item--content"><calcite-label class="label-heading">${this._messages.end}</calcite-label><calcite-label class="label-description">${this._formatEnd}</calcite-label></div><calcite-icon slot=content-end scale=s icon=chevron-right flip-rtl></calcite-icon></calcite-list-item><calcite-list-item @calciteListItemSelect=${()=>this._selectedFlowItem="stops"}><div slot=content class="list-item--content"><calcite-label class="label-heading">${this._messages.stops}</calcite-label><calcite-label class="label-description">${this._stopDescription}</calcite-label></div><calcite-icon slot=content-end scale=s icon=chevron-right flip-rtl></calcite-icon></calcite-list-item><calcite-list-item @calciteListItemSelect=${()=>this._selectedFlowItem="playback-rate"}><div slot=content class="list-item--content"><calcite-label class="label-heading">${this._messages.playbackRate}</calcite-label><calcite-label class="label-description">${this._playbackRateDescription}</calcite-label></div><calcite-icon slot=content-end scale=s icon=chevron-right flip-rtl></calcite-icon></calcite-list-item><calcite-list-item><calcite-label slot=content class="label-heading">${this._messages.loop}</calcite-label><calcite-switch .checked=${e.loop} .label=${this._messages.loop} @calciteSwitchChange=${t=>e.loop=t.target.checked} slot=content-end></calcite-switch></calcite-list-item></calcite-list></calcite-flow-item>`}#v(e){if(this._selectedFlowItem!=="playback-rate")return null;let{playRate:t,disabled:i}=e;return a`<calcite-flow-item .description=${this._messages.playbackRateDescription} .heading=${this._messages.playbackRate} @calciteFlowItemBack=${this.navigateToOverview} selected><div class="playback-rate-content"><arcgis-slider .disabled=${i} .labelFormatter=${s=>e.formatNumber(s,this._timeUnitSettings.get("milliseconds").numberFormatOptions)} max=2000 min=100 @arcgisChange=${s=>e.playRate=s.target.values[0]} precision=0 steps=10 value-labels-display=always .values=${[t]}><arcgis-ticks max=2000 min=100 mode=value show-labels slot=content-end style="flex:1;" .values=${[100,500,1e3,1500,2e3]}></arcgis-ticks></arcgis-slider></div></calcite-flow-item>`}#g(e){if(this._selectedFlowItem!=="start")return null;let{fullTimeExtent:t,disabled:i,timeZone:s}=e;if(!t?.start)return null;let l=c(s);return a`<calcite-flow-item .description=${this._messages.startDescription} .heading=${this._messages.start} @calciteFlowItemBack=${this.navigateToOverview} selected><div class="start-content"><calcite-label><span>${this._messages.date}</span><calcite-input-date-picker .disabled=${i} @calciteInputDatePickerChange=${this.#m} .value=${v(t.start,l)} ${r(this.#s)}></calcite-input-date-picker></calcite-label><calcite-label><span>${this._messages.time}</span><calcite-input-time-picker .disabled=${i} @calciteInputTimePickerChange=${this.#m} step=1 .value=${g(t.start,l)} ${r(this.#a)}></calcite-input-time-picker></calcite-label></div></calcite-flow-item>`}#b(e){return this._selectedFlowItem!=="stops"?null:a`<calcite-flow-item .description=${this._messages.stopsDescription} .heading=${this._messages.stops} @calciteFlowItemBack=${this.navigateToOverview} selected><div class="stops-content"><calcite-radio-button-group .disabled=${e.disabled} class="mode-radio-button-group" layout=vertical name=stops><calcite-radio-button .checked=${!e.stops} .labelText=${this._messages.stopOptions.freeMovement} @calciteRadioButtonChange=${()=>{e.stops=void 0}} value></calcite-radio-button><calcite-radio-button .checked=${m(e.stops)} .labelText=${this._messages.stopOptions.evenlySpaced} @calciteRadioButtonChange=${()=>{e.stops={count:10}}} value></calcite-radio-button><div class="stops-indent"><calcite-input-number .disabled=${e.disabled||!m(e.stops)} integer min=1 .placeholder=${this._messages.countPrompt} .value=${`${this._stopCount}`} @calciteInputNumberChange=${t=>{let i=Number.parseInt(t.currentTarget.value,10);e.stops={count:i}}}></calcite-input-number></div><calcite-radio-button .checked=${n(e.stops)} .labelText=${this._messages.regularInterval} @calciteRadioButtonChange=${()=>{e.stops={interval:new _({value:this._stopIntervalValue,unit:this._stopIntervalUnit})}}} value></calcite-radio-button><div class="stops-indent"><calcite-label><span class=${d({disabled:e.disabled||!n(e.stops)})}>${this._messages.count}</span><calcite-input-number .disabled=${e.disabled||!n(e.stops)} integer min=1 .placeholder=${this._messages.countPrompt} .value=${`${this._stopIntervalValue}`} @calciteInputNumberChange=${t=>{this._stopIntervalValue=Number.parseInt(t.currentTarget.value,10),e.stops={interval:new _({value:this._stopIntervalValue,unit:this._stopIntervalUnit})}}}></calcite-input-number></calcite-label><calcite-label><span class=${d({disabled:e.disabled||!n(e.stops)})}>${this._messages.unit}</span><calcite-combobox .disabled=${e.disabled||!n(e.stops)} .label=${this._messages.units} .placeholder=${this._messages.unitPrompt} selection-mode=single-persist @calciteComboboxChange=${t=>{this._stopIntervalUnit=t.currentTarget.selectedItems[0]?.value,e.stops={interval:new _({value:this._stopIntervalValue,unit:this._stopIntervalUnit})}}}>${this._timeUnitSettings.values.map(({timeUnit:t,heading:i})=>a`<calcite-combobox-item .value=${t} .heading=${i} .selected=${this._stopIntervalUnit===t}></calcite-combobox-item>`)}</calcite-combobox></calcite-label></div></calcite-radio-button-group></div></calcite-flow-item>`}#_(e){return this._selectedFlowItem!=="time-zone"?null:a`<calcite-flow-item .description=${this._messages.timeZoneDescription} .heading=${this._messages.timeZone} @calciteFlowItemBack=${this.navigateToOverview} selected><div class="time-zone-content"><calcite-radio-button-group class="mode-radio-button-group" layout=vertical name=time-zone><calcite-radio-button .checked=${this._timeZoneMode==="system"} .labelText=${this._messages.timeZoneOptions.system} @calciteRadioButtonChange=${()=>{e.timeZone=u}} value></calcite-radio-button><calcite-radio-button .checked=${this._timeZoneMode==="unknown"} .labelText=${this._messages.timeZoneOptions.unknown} @calciteRadioButtonChange=${()=>{e.timeZone=p}} value></calcite-radio-button><calcite-radio-button .checked=${this._timeZoneMode==="specific"} .labelText=${this._messages.timeZoneOptions.specific} @calciteRadioButtonChange=${()=>{e.timeZone=u,this._timeZoneMode="specific"}} value></calcite-radio-button><div class="time-zone-indent"><calcite-input-time-zone class="time-zone-input" .disabled=${this._timeZoneMode!=="specific"} mode=region @calciteInputTimeZoneChange=${t=>e.timeZone=t.target.value} .value=${c(e.timeZone)}></calcite-input-time-zone></div></calcite-radio-button-group></div></calcite-flow-item>`}#f(){let{viewModel:e}=this;if(!e)return null;let{timeZone:t}=e;return t===p?a`<calcite-label class="label-description">${this._messages.timeZoneOptions.unknown}</calcite-label>`:a`<calcite-input-time-zone class="time-zone-label" mode=region overlay-positioning=fixed read-only .value=${c(t)}></calcite-input-time-zone>`}};y("arcgis-time-bar-settings",f);return f},"time/TimeExtent","time/TimeInterval",b)
|
package/dist/cdn/3ZRONF3M.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import f from"./JZHBJAXX.js";import{a as y}from"./2GM4O42V.js";import{a as p}from"./TN5C3MSL.js";import{a as d}from"./UEBDFBOK.js";import e from"./ANSNQBZW.js";import"./5DI7RMZ6.js";import"./Q7SMGP5R.js";import b from"./SYDGAFU5.js";import"./QUZTFUWM.js";import"./NCYBFT2Y.js";import{L as n,M as o,N as c,O as h,T as v,b as a,w as r}from"./WTBRS6C4.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:s},E,_,A,{d:u,e:g},{a:e,b:w,f:m},{a:b,b:f,c:V,d:C}])=>{var R=w(_,{}),D=w(E,{}),l=class extends c{constructor(){super(),this._attributionMode=null,this._containerRef=n(),this._mapRef=n(),this._uiController=new b(this),this.extraContent=new A,this.arcgisLoadError=V(this),this.arcgisViewReadyError=C(this),this._map=R(this),this.view=D(this),this.animationsDisabled=this.view.animationsEnabled,this.allLayerViews=this.view.allLayerViews,this.analyses=this.view.analyses,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.canZoomIn=this.view.canZoomIn,this.canZoomOut=this.view.canZoomOut,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.highlights=this.view.highlights,this.ipsInfo=this._map.ipsInfo,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.popupComponentEnabled=!1,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.selectionManager=this.view.selectionManager,this.slotGroupRefs=this._uiController.slotGroupRefs,this.spatialReference=this.view.spatialReference,this.spatialReferenceLocked=this.view.spatialReferenceLocked,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.visibleArea=this.view.visibleArea,this.arcgisViewAnalysisViewCreate=e(()=>this.view,"analysis-view-create"),this.arcgisViewAnalysisViewCreateError=e(()=>this.view,"analysis-view-create-error"),this.arcgisViewAnalysisViewDestroy=e(()=>this.view,"analysis-view-destroy"),this.arcgisViewChange=r(),this.arcgisViewClick=e(()=>this.view,"click"),this.arcgisViewDoubleClick=e(()=>this.view,"double-click"),this.arcgisViewDoubleTapDrag=e(()=>this.view,"double-tap-drag"),this.arcgisViewDrag=e(()=>this.view,"drag"),this.arcgisViewHold=e(()=>this.view,"hold"),this.arcgisViewImmediateClick=e(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=e(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=e(()=>this.view,"key-down"),this.arcgisViewKeyUp=e(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=e(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=e(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=e(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=e(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=e(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=e(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=e(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=e(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=e(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=r(),this.arcgisViewVerticalTwoFingerDrag=e(()=>this.view,"vertical-two-finger-drag"),f(this),this.view.ui={components:[]}}static{this.properties={_map:16,view:32,animationsDisabled:5,aria:0,allLayerViews:32,analyses:0,attributionItems:32,attributionMode:1,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,canZoomIn:36,canZoomOut:36,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,floors:0,focusAreas:0,gamepad:32,graphics:0,ground:1,hideAttribution:5,highlights:0,interacting:32,ipsInfo:0,itemId:3,layerViews:32,magnifier:32,map:0,navigating:32,navigation:0,padding:0,popup:0,popupElement:32,popupDisabled:5,popupComponentEnabled:5,ready:36,resizeAlign:1,resolution:40,rotation:9,scale:9,selectionManager:32,slotGroupRefs:32,spatialReference:0,spatialReferenceLocked:5,stationary:32,suspended:39,theme:0,timeExtent:0,timeZone:1,updating:36,viewpoint:0,visibleArea:32,zoom:9,loadErrorSources:0}}static{this.styles=[d,y]}get aria(){return this.view?.aria}set aria(i){this.view&&(this.view.aria=i)}get attributionItems(){return this.view?.attributionItems??[]}get attributionMode(){return this._attributionMode}set attributionMode(i){this._attributionMode=i,i!=="auto"&&(this.view.attributionMode=i)}get center(){return this.view.center}set center(i){let t=g(i,this.view);t&&(this.view.center=t)}get extent(){return this.view.extent}set extent(i){i&&!this.extent?.equals(i)&&(this.view.extent=i)}get focusAreas(){return this.map?this.map.focusAreas:{areas:[],style:"bright"}}set focusAreas(i){this.map&&(this.map.focusAreas=i)}get gamepad(){return this.view.input.gamepad}get hideAttribution(){return!this.view.attributionVisible}set hideAttribution(i){this.view.attributionVisible=!i}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id}set itemId(i){m(this._map,this),this._map.portalItem={id:i},this.view.map=this._map}get navigating(){return this.view.navigating}get popupElement(){return this._uiController.popupElement||null}get scale(){return this.view.scale}set scale(i){this.view.scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint}set viewpoint(i){u(this.viewpoint,i)&&(this.view.viewpoint=i)}get zoom(){return this.view.zoom}set zoom(i){this.view.zoom=i}async closePopup(){this._uiController.closePopup()}async destroy(){await this.manager.destroy()}async fetchPopupFeatures(i,t){return this.view.fetchPopupFeatures(i,t)}async goTo(i,t){return await this.view.goTo(i,t)}async hitTest(i,t){return await this.view.hitTest(i,t)}async openPopup(i){this._uiController.openPopup(i)}async takeScreenshot(i){return await this.view.takeScreenshot(i)}toMap(i){return this.view.toMap(i)}toScreen(i,t){return this.view.toScreen(i,t)}async tryFatalErrorRecovery(){this.view.tryFatalErrorRecovery()}async viewOnReady(i,t){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(t)}async whenAnalysisView(i){return await this.view.whenAnalysisView(i)}async whenLayerView(i){return await this.view?.whenLayerView(i)}async zoomIn(){this.view.zoomIn()}async zoomOut(){this.view.zoomOut()}loaded(){let i=this;i.el.childElem=this._mapRef.value,this.view.container??=i.el.childElem,this.map||=this._map,this.manager.onLifecycle(()=>[s(()=>this.map,t=>{t&&(this._map=t)},{initial:!0,sync:!0}),s(()=>this.view.stationary,()=>this.arcgisViewChange.emit(),{initial:!0}),s(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready}),s(()=>this.view.attributionHeight,t=>{this._uiController.handleAttributionHeightChange(t)},{initial:!0})])}renderMain(){return a`<div class=${h(p.base)} ${o(this._mapRef)}></div>`}render(){return a`${this.renderMain()}<section class=${h(p.containerUI)} ${o(this._containerRef)}>${this._uiController.render()}${this.extraContent}</section>`}};v("arcgis-map",l);return l},"core/reactiveUtils","views/MapView","WebMap","core/Collection",b,e,f)
|
package/dist/cdn/ECXFGOCB.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a}from"./KPOJXBNC.js";import"./LDDAJOTV.js";import"./5DI7RMZ6.js";import"./Q7SMGP5R.js";import"./QUZTFUWM.js";import"./NCYBFT2Y.js";import"./WTBRS6C4.js";import"./H6RQVSYM.js";export{a as ArcgisLayerListItemPanel};
|
package/dist/cdn/FR3EHEIV.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import c from"./MZWO5JYA.js";import b from"./HAUHWMHN.js";import"./VJVKFKSG.js";import{a as R}from"./WVGSH2QD.js";import"./5DI7RMZ6.js";import"./Q7SMGP5R.js";import"./QUZTFUWM.js";import"./NCYBFT2Y.js";import{M as u,N as f,T as v,a as p,b as a,o,q as d,r as y,w as h}from"./WTBRS6C4.js";import"./H6RQVSYM.js";export default $arcgis.t(([k,{a:$},{b:b,e:w}])=>{var E=p`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}arcgis-features-next{height:100%}calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}#elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.no-selectable-results{margin:0 var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.results-heading{display:flex;flex-direction:column;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-sm) var(--calcite-spacing-xl) var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`,g={dirtyAreasDiscovered:-2147208511,noValidControllers:-2147208935,pathNotFound:-2147208444},m=class extends f{constructor(){super(...arguments),this._messages=R({blocking:!0}),this.#l=!0,this.#t=[],this.#s=new Map,this.#n=new Map,this.#i=new Map,this.#a=new Map,this.#r=[],this._aggregatedGeometryDisabled=!1,this.aggregatedGeometryGraphicsColor=new k([255,255,0,.6]),this.hideActionBar=!1,this.hideFeatureResults=!1,this.isElementsSelected=!1,this.layers=[],this.state="ready",this.traceResultFeatures=[],this.autoDestroyDisabled=!1,this.arcgisAggregatedGeometryGraphicsColorChange=h(),this.arcgisHideGraphicsChange=h(),this.arcgisSelectedResultTypeChange=h(),this.arcgisTraceResultFeaturesReady=h()}static{this.properties={_aggregatedGeometryDisabled:16,_featuresComponentElement:16,aggregatedGeometryGraphicsColor:0,hideActionBar:5,hideFeatureResults:5,isElementsSelected:5,layers:0,messageOverrides:0,numResults:32,referenceElement:1,state:1,traceConfigTitle:1,traceError:0,traceResult:0,traceResultFeatures:0,utilityNetwork:0,view:0,autoDestroyDisabled:5}}static{this.styles=E}#l;#t;#c;#s;#n;#i;#a;#r;get numResults(){return this.traceResultFeatures.length+this.#t.length}clearAggregatedGeometryGraphics(){this.#c?.destroy()}async destroy(){this.#s.clear(),this.#i.clear(),this.#a.clear(),this.#c?.destroy(),this._featuresComponentElement?.destroy(),await this.manager.destroy()}load(){this.traceResult&&(this.#b(),this.#f().then(()=>this.#v()).finally(()=>{this.arcgisTraceResultFeaturesReady.emit(),this.state="ready"}))}willUpdate(e){e.has("isElementsSelected")&&this.arcgisSelectedResultTypeChange.emit(),e.has("traceResult")&&(this.isElementsSelected=!1,this.traceResult||(this.traceResultFeatures=[],this.#t=[]))}loaded(){this.traceResult&&(this.utilityNetwork||o("warn",this,d("utilityNetwork")),this.layers.length||o("warn",this,y("layers")),this.view||o("warn",this,d("view")))}disconnectedCallback(){super.disconnectedCallback(),this.#n.clear()}#d(e){e&&(this.#c=e)}#u(e){e&&(this._featuresComponentElement=e)}async#g([e,t]){let i=this.utilityNetwork?.getLayerIdBySourceId(e),s=this.#m(i),r=this.#p(t);if(i==null||!s){this.#t.push(...r);return}let l=s.createQuery();l.gdbVersion=this.utilityNetwork?.gdbVersion,l.objectIds=r.map(n=>n.objectId),l.outFields=["*"];let{features:c}=await b(s,l);c.forEach(n=>{let C=n.layer;n.getEffectivePopupTemplate(this.#l)||(n.popupTemplate=C.createPopupTemplate())}),w(s)?c.forEach(n=>this.#o(this.#i,n.layer.subtypeCode,n)):this.#s.set(i,c)}#o(e,t,i){let s=e.get(t);s==null?e.set(t,[i]):s.push(i)}#m(e){if(e==null)return;let t=this.#n,i=this.#r,s=t.get(e);if(s)return s;if(!i)return;let r=i.find(l=>"layerId"in l&&l.layerId===e);return r&&t.set(e,r),r}#p(e){return Array.from(new Map(e.map(t=>[t.globalId,t])).values())}#y(e){let{detail:t,target:i}=e;if(t.name==="hideGraphics"){e.stopPropagation();let s=i[t.name];this.arcgisHideGraphicsChange.emit(s)}if(t.name==="graphicsColor"){e.stopPropagation();let s=i[t.name];this.aggregatedGeometryGraphicsColor=s,this.arcgisAggregatedGeometryGraphicsColorChange.emit(s)}}async#f(){let{layers:e,utilityNetwork:t}=this;if(!t)return;try{t.loaded||(this.state="loading",await t.load())}catch(s){$(s,this,"Error while loading the selected utility network")}this.#r=e.filter(s=>t.isUtilityLayer(s));let i=this.#r.filter(s=>!s.loaded).map(s=>s.load());i.length>0&&(this.state="loading",(await Promise.allSettled(i)).forEach(s=>{s.status==="rejected"&&o("error",this,`Failed to load layer. Reason: ${s.reason}`)}))}async#v(){let e=Array.from(this.#a.entries());if(!e.length)return;this.state="loading";let t=e.map(r=>this.#g(r));(await Promise.allSettled(t)).forEach((r,l)=>{if(r.status==="rejected"){let[c]=e[l];o("error",this,`Failed to query features for source ${c}. Reason: ${r.reason}`)}});let i=Array.from(this.#s.values()),s=Array.from(this.#i.values());this.traceResultFeatures=i.concat(s).flat()}#b(){this.traceResult.elements?.forEach(e=>this.#o(this.#a,e.networkSourceId,e))}render(){let{traceError:e,traceResult:t}=this;if(e)return this.#E(e);if(!t)return this.#F();let{elements:i,globalFunctionResults:s,aggregatedGeometry:r}=t,l=!i.length&&!s.length&&!r,c=i.length>0&&!s.length&&!r;return l?this.#x():this.state==="loading"?this.#w():this.hideFeatureResults&&c?this.#R():this.isElementsSelected||c?a`<arcgis-features-next .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#l} .features=${this.traceResultFeatures} .hideActionBar=${this.hideActionBar} .hideCloseButton=${c} hide-select-feature initial-display-mode=list .messageOverrides=${this.messageOverrides} @arcgisClose=${()=>this.isElementsSelected=!1} open .referenceElement=${this.referenceElement} .view=${this.view} ${u(this.#u)}></arcgis-features-next>`:this.#$(t)}#w(){return a`<calcite-panel class="white-panel-background"><calcite-loader .label=${this._messages.gettingResults} .text=${this._messages.gettingResults}></calcite-loader></calcite-panel>`}#$(e){let{elements:t,globalFunctionResults:i,aggregatedGeometry:s}=e;return a`<calcite-panel class="white-panel-background">${this.#e()}${s!=null?a`<arcgis-utility-network-aggregated-geometry-result-item auto-destroy-disabled .graphicsColor=${this.aggregatedGeometryGraphicsColor} .traceResult=${e} .view=${this.view} @arcgisPropertyChange=${this.#y} ${u(this.#d)}></arcgis-utility-network-aggregated-geometry-result-item>`:null}${s!=null&&!t.length?this.#C():null}${t.length>0?this.hideFeatureResults?this.#h():this.#k():null}${i.length>0?a`<arcgis-utility-network-trace-functions-result-item .heading=${this._messages.headings.functions} .traceResult=${e}></arcgis-utility-network-trace-functions-result-item>`:null}</calcite-panel>`}#R(){return a`<calcite-panel class="white-panel-background">${this.#e()}${this.#h()}</calcite-panel>`}#h(){return a`<div class="no-selectable-results">${this._messages.resultFeaturesAreHidden}</div>`}#C(){return a`<div class="no-selectable-results">${this._messages.noSelectableFeatures}</div>`}#k(){let{_messages:e}=this;return a`<calcite-list .label=${e.headings.traceResultsGeneric}><calcite-list-item id=elements-list-item .label=${e.headings.features} @calciteListItemSelect=${()=>this.isElementsSelected=!0}><calcite-chip .label=${e.labels.numFeatures} scale=s slot=content-end>${this.numResults}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item></calcite-list>`}#e(){return a`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.traceConfigTitle?a`<div class="results-heading-subtitle">${this.traceConfigTitle}</div>`:null}</div>`}#E(e){let{_messages:t}=this,i=e.message;switch(e.details?.raw?.extendedCode){case g.dirtyAreasDiscovered:i=t.traceErrors.dirtyAreasDiscovered;break;case g.noValidControllers:i=t.traceErrors.noValidControllers;break;case g.pathNotFound:i=t.traceErrors.pathNotFound;break}return a`<calcite-panel class="white-panel-background">${this.#e()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${t.traceFailedHeading}</div><div class="no-results-description">${t.traceFailedDescription}</div><div class="no-results-description">${i}</div></div></calcite-panel>`}#x(){let{_messages:e}=this;return a`<calcite-panel class="white-panel-background">${this.#e()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${e.noResultsHeading}</div><div class="no-results-description">${e.noResultsDescription}</div></div></calcite-panel>`}#F(){let{_messages:e}=this;return a`<calcite-panel class="white-panel-background">${this.#e()}<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${e.noTraceConfigHeading}</div><div class="no-results-description">${e.noTraceConfigDescription}</div></div></calcite-panel>`}};v("arcgis-utility-network-trace-results-next",m);return m},"Color",b,c)
|
package/dist/cdn/MSNVY4PH.js
DELETED
package/dist/cdn/Q6TYHAOA.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{b as g}from"./O7RSAJOS.js";import{o as l}from"./WTBRS6C4.js";export default $arcgis.t(([d,{offsetDate:T,truncateDate:w}])=>{var c={count:10};function k(t){return b(t)&&t.interval.unit===g?(l("warn","arcgis-slider-time",'A stop interval with an "unknown" time unit is not supported. The default stop definition will be used.'),c):t}function x(t){return!!t&&"count"in t}function C(t){return!!t&&"dates"in t}function b(t){return!!t&&"interval"in t}var p=1e4;function y(t,r){let{start:e,end:n}=t;if(!e||!n||e.getTime()>n.getTime()||r<=0)return[];if(r>p)return y(t,c.count);let u=[],o=e.getTime(),i=n.getTime()-o;for(let s=0;s<=r;s++)u.push(new Date(o+s/r*i));return u}function U(t,r){let{start:e,end:n}=t,{value:u,unit:o}=r;if(!e||!n||e.getTime()>n.getTime()||u<=0)return[];let i=n.getTime()-e.getTime(),s=r.toMilliseconds();if(s<=0||i/s>p)return y(t,c.count);let m=[],a=e;for(;a.getTime()<=n.getTime();)m.push(new Date(a)),a=T(a,u,o);return m}function Z(t,r){let[e,n]=t;if(e)switch(r){case"time-window":return n?new d({start:e,end:n}):void 0;case"cumulative-from-start":return new d({start:null,end:e});case"cumulative-from-end":return new d({start:e,end:null});case"instant":return new d({start:e,end:e})}}function j(t,r,e,n){let{value:u,unit:o}=e;if(t.getTime()>r.getTime()||u<=0||o==="unknown")return[];let i=w(t,e,n),s=[];for(;i.getTime()<=r.getTime();)i.getTime()>=t.getTime()&&s.push(i),i=T(i,u,o,n);return s}function A(t,r){let e=new Intl.DateTimeFormat("en",{day:"2-digit",month:"2-digit",timeZone:r,year:"numeric"}).formatToParts(t),n=e.find(({type:i})=>i==="year")?.value??"1900",u=e.find(({type:i})=>i==="month")?.value??"01",o=e.find(({type:i})=>i==="day")?.value??"01";return`${n}-${u}-${o}`}function B(t,r){let e=new Intl.DateTimeFormat("en",{hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit",timeZone:r}).formatToParts(t),n=e.find(({type:i})=>i==="hour")?.value??"00",u=e.find(({type:i})=>i==="minute")?.value??"00",o=e.find(({type:i})=>i==="second")?.value??"00";return`${n}:${u}:${o}`}function N(t,r){let e=new Intl.DateTimeFormat("en",{hour12:!1,hour:"2-digit",minute:"2-digit",month:"2-digit",day:"2-digit",second:"2-digit",timeZone:r,year:"numeric"}).formatToParts(t),n=Number(e.find(({type:a})=>a==="year")?.value??0),u=Number(e.find(({type:a})=>a==="month")?.value??0),o=Number(e.find(({type:a})=>a==="day")?.value??0),i=Number(e.find(({type:a})=>a==="hour")?.value??0)%24,s=Number(e.find(({type:a})=>a==="minute")?.value??0),m=Number(e.find(({type:a})=>a==="second")?.value??0);return{year:n,month:u,day:o,hour:i,minute:s,second:m}}function D(t,r){let{year:e,month:n,day:u,hour:o,minute:i,second:s}=N(t,r);return Date.UTC(e,n-1,u,o,i,s)-t.getTime()}function E(t,r,e){let n=/^(\d{4})-(\d{2})-(\d{2})$/u.exec(t),u=/^(\d{2}):(\d{2}):(\d{2})$/u.exec(r);if(!n||!u)return;let o=Number(n[1]),i=Number(n[2]),s=Number(n[3]),m=Number(u[1]),a=Number(u[2]),h=Number(u[3]),f=new Date(Date.UTC(o,i-1,s,m,a,h)),v=D(f,e);return new Date(f.getTime()-v)}return{a:c,b:k,c:x,d:C,e:b,f:y,g:U,h:Z,i:j,j:A,k:B,l:E}},"time/TimeExtent","core/timeUtils")
|
package/dist/cdn/SYDGAFU5.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{c as l}from"./NCYBFT2Y.js";export default $arcgis.t(([{watch:d}])=>{function B(n){n.el.childElem&&(n.el.childElem.ownedBy=n.el);let e=p(n);if(!e){let r=l(n);if(!r){f(n);return}return a(r,n,!0),r}return E(e,n.el.parent)||(n.el.parent=e,e.localName==="arcgis-expand"?g(e,n):a(e,n,!1)),e}function p({el:n}){for(let e=n.parentElement;e;e=e?.parentElement??null){if(c.has(e.localName))return e;if("ownedBy"in e&&e.ownedBy instanceof HTMLElement&&c.has(e.ownedBy.localName))return e.ownedBy}}var c=new Set(["arcgis-map","arcgis-scene","arcgis-link-chart","arcgis-expand"]);function E(n,e){return n!==e?!1:n.localName==="arcgis-expand"}function t(n,e,r="arcgisReady"){let o=n;if(o.view)e(o.view);else{let i=function(m){m.target===n&&(t(n,e,r),n.removeEventListener(r,i))};n.addEventListener(r,i)}}var g=(n,e)=>t(n,r=>{let o=u(e);if(e.el.shadowRoot?n.content=e.el:e.el.childElem&&n.content!=null&&o.append(e.el.childElem),e.el.view=r,n.referenceElement){e.referenceElement=n.referenceElement;return}d(()=>n.referenceElement,i=>{e.referenceElement=i},{once:!0})}),a=(n,e,r)=>t(n,o=>{r&&f(e),e.el.view=o,e.referenceElement=n},"arcgisViewReadyChange");function N(n){return n==null||n===""}function R(n,e){return n?.position===e?.position&&n?.heading===e.heading&&n?.tilt===e.tilt&&n?.fov===e.fov}function x(n,e){return e===void 0||n?.targetGeometry!==e?.targetGeometry||n?.rotation!==e?.rotation||n?.scale!==e?.scale}function L(n,e){return s(e?.center,n)}function s(n,e){if(typeof e=="string")return s(n,e.split(",").map(Number));if(!n)return e;if(Array.isArray(e)){let r=e[0],o=e[1],i=e.length>2?e[2]:void 0;if(r!==n.longitude||o!==n.latitude||i!==n.z)return e}else if(e&&!n?.equals(e))return e}function f(n){n.el.childElem&&u(n).append(n.el.childElem)}function u(n){return n.el.shadowRoot??n.el}var F=n=>n.el.childElem;async function b(n){let e=typeof n=="function"?n():n;e&&("setFocus"in e&&typeof e.setFocus=="function"?await e.setFocus():e instanceof HTMLElement&&e.focus())}return{a:B,b:N,c:R,d:x,e:L,f:s,g:F,h:b}},"core/reactiveUtils")
|
package/dist/cdn/VURES5AT.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import e from"./JZHBJAXX.js";import{a as E}from"./2GM4O42V.js";import{a as g}from"./TN5C3MSL.js";import{a as A}from"./UEBDFBOK.js";import d from"./HAUHWMHN.js";import"./VJVKFKSG.js";import b from"./ANSNQBZW.js";import"./5DI7RMZ6.js";import"./Q7SMGP5R.js";import a from"./SYDGAFU5.js";import"./QUZTFUWM.js";import"./NCYBFT2Y.js";import{L as w,M as v,N as _,O as m,T as f,b as p,w as c}from"./WTBRS6C4.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:n},P,U,{fetchKnowledgeGraph:x},Q,{isAbortError:R},z,{d:V,e:I},{a:i,b:d,f:C},{b:u},{a:L,b:M,c:k,d:D}])=>{var Z=d(U,{}),F=d(P,{}),y=class extends _{constructor(){super(),this._attributionMode=null,this._containerRef=w(),this._mapRef=w(),this._uiController=new L(this),this._activeLoadAbortController=null,this.arcgisLoadError=k(this),this.arcgisViewReadyError=D(this),this._map=Z(this),this._baseCypherQuery="",this._serviceUrl="",this._propItemId="",this.view=F(this),this.animationsDisabled=this.view.animationsEnabled,this.allLayerViews=this.view.allLayerViews,this.analyses=this.view.analyses,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.canZoomIn=this.view.canZoomIn,this.canZoomOut=this.view.canZoomOut,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.fatalError=this.view.fatalError,this.graphics=this.view.graphics,this.highlights=this.view.highlights,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.popupComponentEnabled=!1,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.selectionManager=this.view.selectionManager,this.slotGroupRefs=this._uiController.slotGroupRefs,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.arcgisViewAnalysisViewCreate=i(()=>this.view,"analysis-view-create"),this.arcgisViewAnalysisViewCreateError=i(()=>this.view,"analysis-view-create-error"),this.arcgisViewAnalysisViewDestroy=i(()=>this.view,"analysis-view-destroy"),this.arcgisViewChange=c(),this.arcgisViewClick=i(()=>this.view,"click"),this.arcgisViewDoubleClick=i(()=>this.view,"double-click"),this.arcgisViewDoubleTapDrag=i(()=>this.view,"double-tap-drag"),this.arcgisViewDrag=i(()=>this.view,"drag"),this.arcgisViewHold=i(()=>this.view,"hold"),this.arcgisViewImmediateClick=i(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=i(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=i(()=>this.view,"key-down"),this.arcgisViewKeyUp=i(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=i(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=i(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=i(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=i(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=i(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=i(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=i(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=i(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=i(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=c(),this.arcgisViewVerticalTwoFingerDrag=i(()=>this.view,"vertical-two-finger-drag"),M(this),this.view.ui={components:[]}}static{this.properties={_map:16,_baseCypherQuery:16,_serviceUrl:16,_propItemId:16,view:32,animationsDisabled:5,aria:0,allLayerViews:32,analyses:0,attributionItems:32,attributionMode:1,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,canZoomIn:36,canZoomOut:36,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,focusAreas:0,graphics:0,hideAttribution:5,highlights:0,interacting:32,itemId:3,baseCypherQuery:3,serviceUrl:3,layerViews:32,magnifier:32,map:0,navigating:32,navigation:0,padding:0,popup:0,popupElement:32,popupDisabled:5,popupComponentEnabled:5,ready:36,resizeAlign:1,resolution:40,rotation:9,selectionManager:32,scale:9,slotGroupRefs:32,spatialReference:0,stationary:32,suspended:39,theme:0,timeExtent:0,timeZone:1,updating:36,viewpoint:0,zoom:9,loadErrorSources:0}}static{this.styles=[A,E]}get aria(){return this.view?.aria}set aria(e){this.view&&(this.view.aria=e)}get attributionItems(){return this.view?.attributionItems??[]}get attributionMode(){return this._attributionMode}set attributionMode(e){this._attributionMode=e,e!=="auto"&&(this.view.attributionMode=e)}get center(){return this.view.center}set center(e){let t=I(e,this.view);t&&(this.view.center=t)}get extent(){return this.view.extent}set extent(e){this.extent?.equals(e)||(this.view.extent=e)}get focusAreas(){return this.map?this.map?.focusAreas:{areas:[],style:"bright"}}set focusAreas(e){this.map&&(this.map.focusAreas=e)}get hideAttribution(){return!this.view.attributionVisible}set hideAttribution(e){this.view.attributionVisible=!e}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id}set itemId(e){this._propItemId=e}get baseCypherQuery(){return this._baseCypherQuery}set baseCypherQuery(e){this._baseCypherQuery=e}get serviceUrl(){return this._serviceUrl}set serviceUrl(e){this._serviceUrl=e}get navigating(){return this.view.navigating}get popupElement(){return this._uiController.popupElement||null}get scale(){return this.view.scale}set scale(e){this.view.scale=e}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint}set viewpoint(e){V(this.viewpoint,e)&&(this.view.viewpoint=e)}get zoom(){return this.view.zoom}set zoom(e){this.view.zoom=e}async closePopup(){this._uiController.closePopup()}async destroy(){await this.manager.destroy()}async fetchPopupFeatures(e,t){return this.view.fetchPopupFeatures(e,t)}async goTo(e,t){return await this.view.goTo(e,t)}async openPopup(e){this._uiController.openPopup(e)}toMap(e){return this.view.toMap(e)}toScreen(e,t){return this.view.toScreen(e,t)}async tryFatalErrorRecovery(){this.view.tryFatalErrorRecovery()}async viewOnReady(e,t){return await this.componentOnReady(),await this.view.whenReady().then(()=>e?.()).catch(t)}async whenAnalysisView(e){return await this.view.whenAnalysisView(e)}async whenLayerView(e){return await this.view.whenLayerView(e)}async zoomIn(){this.view.zoomIn()}async zoomOut(){this.view.zoomOut()}willUpdate(e){let t=()=>{this._activeLoadAbortController?.abort();let a=new AbortController;return this._activeLoadAbortController=a,a};if(e.has("_propItemId")||e.has("_serviceUrl")||e.has("_baseCypherQuery")){if(e.has("_propItemId")&&this._propItemId||e.has("_propItemId")&&!this._serviceUrl)t(),s.reCreateAccessor(this._map,this),s.setPortalItem(this._map,this._propItemId),s.setMap(this.view,this._map);else if(!this._propItemId)if(this._serviceUrl&&!this._baseCypherQuery){let a=t();s.fetchKnowledgeGraph(this._serviceUrl).then(l=>{let h=new s.WebLinkChart,o=new s.LinkChartLayer({url:l.url});o.load({signal:a?.signal});try{u(a.signal),h.add(o),this._setLinkChartAndZoom(h)}catch(b){if(!R(b))throw b}})}else if(this._baseCypherQuery&&this._serviceUrl){let a=t();s.fetchKnowledgeGraph(this._serviceUrl).then(l=>{s.WebLinkChart.fromCypherQuery(l,new Q({openCypherQuery:this._baseCypherQuery}),void 0,{signal:a?.signal}).then(async h=>{try{u(a.signal),this._setLinkChartAndZoom(h)}catch(o){if(!R(o))throw o}})})}else!this._serviceUrl&&e.has("_serviceUrl")&&(t(),s.setMap(this.view,null))}}loaded(){let e=this;e.el.childElem=this._mapRef.value,this.view.container??=e.el.childElem,s.setLocalPublicMap(this,this._map),this.manager.onLifecycle(()=>[n(()=>this.map,t=>{t&&s.setLocalPrivateMap(this,t)},{initial:!0,sync:!0}),n(()=>this.view.stationary,()=>this.arcgisViewChange.emit(),{initial:!0}),n(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready}),n(()=>this.view.attributionHeight,t=>{this._uiController.handleAttributionHeightChange(t)},{initial:!0})])}_setLinkChartAndZoom(e){s.reCreateAccessor(this._map,this),s.setLocalPrivateMap(this,e),s.setMap(this.view,e),this._map&&this.view.when(()=>{e.diagramNodesExtent&&this.view.goTo(e.diagramNodesExtent)})}renderMain(){return p`<div class=${m(g.base)} ${v(this._mapRef)}></div>`}render(){return p`${this.renderMain()}<section class=${m(g.containerUI)} ${v(this._containerRef)}>${this._uiController.render()}</section>`}},s={fetchKnowledgeGraph:async r=>await x(r),WebLinkChart:U,LinkChartLayer:z,setMap:(r,e)=>{r.map=e},setLocalPrivateMap:(r,e)=>{r._map=e},setLocalPublicMap:(r,e)=>{r.map||=e},setPortalItem(r,e){r.portalItem={id:e}},reCreateAccessor:C};f("arcgis-link-chart",y);return{ArcgisLinkChart:y,exportsForTests:s}},"core/reactiveUtils","views/LinkChartView","WebLinkChart","rest/knowledgeGraphService","rest/knowledgeGraph/GraphQueryStreaming","core/promiseUtils","layers/LinkChartLayer",a,b,d,e)
|
package/dist/cdn/VY2FRIAX.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as g}from"./56KR4KYO.js";import i from"./HAUHWMHN.js";import"./VJVKFKSG.js";import f from"./AZYY5BTK.js";import{a as v}from"./WVGSH2QD.js";import e from"./ANSNQBZW.js";import c from"./XXA7VSON.js";import"./5DI7RMZ6.js";import"./Q7SMGP5R.js";import b from"./SYDGAFU5.js";import"./QUZTFUWM.js";import"./NCYBFT2Y.js";import{M as h,N as m,T as y,a as p,b as a,o as d,w as n}from"./WTBRS6C4.js";import"./H6RQVSYM.js";export default $arcgis.t(([$,{when:_},T,,,,f,{a:b}])=>{var x=p`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}arcgis-utility-network-trace-inputs-next[mode=default]{height:auto}calcite-tabs{display:flex;flex-direction:column;height:100%}calcite-tab{--calcite-tab-content-space-y: 0;min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-tab:not([selected]){flex:0}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}calcite-notice{margin:var(--calcite-spacing-md)}.inputs-tab-container{display:flex;flex-direction:column;height:100%}.trace-inputs-warning{flex:none;height:fit-content;calcite-notice{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0}}`,R=f(T),u=class extends m{constructor(){super(...arguments),this._messages=v({blocking:!0}),this.#t=R(this),this.#s=[],this._activeTab="input",this._showMissingTerminalWarning=!1,this._showNoStartingPointsWarning=!1,this._mode="default",this.autoDestroyDisabled=!1,this.aggregatedGeometryGraphicsColor=new $([255,255,0,.6]),this.disableHighlightFeatureResults=!1,this.hideActionBar=!1,this.hideFeatureResults=!1,this.state=this.#t.state,this.view=this.#t.view,this.arcgisHideGraphicsChange=n(),this.arcgisReady=n(),this.arcgisTraceLocationSelectEnd=n(),this.arcgisTraceLocationSelectStart=n(),this.arcgisTraceResultClear=n(),this.arcgisTraceResultFeaturesReady=n()}static{this.properties={_activeTab:16,_traceError:16,_traceResult:16,_showMissingTerminalWarning:16,_showNoStartingPointsWarning:16,_mode:16,autoDestroyDisabled:5,beforeTraceLocationSelectStart:0,aggregatedGeometryGraphicsColor:0,disableHighlightFeatureResults:5,hideActionBar:5,hideFeatureResults:5,label:3,messageOverrides:0,traceResultFeatures:32,referenceElement:1,state:32,view:0}}static{this.styles=x}#t;#e;#i;get#c(){let{view:t}=this;return t?.map?t.map.allLayers.toArray().concat(t.map.allTables.toArray()):[]}#o;#s;get traceResultFeatures(){return this.#i?.traceResultFeatures??[]}async destroy(){this.#n(),this.#i?.destroy(),this.#e?.destroy(),await this.manager.destroy()}load(){this.manager.onLifecycle(()=>[_(()=>!this.#t.utilityNetwork,()=>this.#a("input"))])}#r(){this._traceResult=void 0,this.#n(),this.#g()}#l(){if(!this.#e)return;let{traceLocations:t,traceLocationFlagInfos:e,traceConfiguration:s,isSubnetworkNameTraceSelected:i}=this.#e,c=!!s?.subnetworkName,o=t?.some(r=>r.type==="starting-point"),l=e?.some(r=>!!r.flagProperties.terminalConfiguration&&!r.flagProperties.selectedTerminals?.size)??!1;this._traceError=void 0,this._showNoStartingPointsWarning=!i&&!o||i&&!c,this._showMissingTerminalWarning=l}#a(t){this._activeTab=t}#h(t){let{_messages:e}=this;switch(t){case"no-user-type-extension":return e.errors.loadErrors.noUserTypeExtension;case"no-utility-network":return e.errors.loadErrors.noUtilityNetwork;case"no-view":return e.errors.loadErrors.noView;case"sceneView-not-supported":return e.errors.loadErrors.sceneViewNotSupported;default:return t}}#n(){this.#s.forEach(t=>t.remove()),this.#s=[]}#g(){this.#i?.clearAggregatedGeometryGraphics()}#u(){let{_traceResult:t,view:e}=this,s=this.#t.utilityNetwork;!s||!t?.elements||!e||s.getObjectIdsFromElements(t.elements).forEach(i=>{let c=e.allLayerViews.find(l=>{let r=l.layer;if(s.isUtilityLayer(r)){let w=Number(i.layerUrl.split("/").pop());return r.layerId===w}return!1});if(!c)return;let o=c.highlight(i.objectIds);this.#s.push(o)})}async#p(){let t=this.#e?.selectedNamedTraceConfiguration,e=this.#e?.traceConfiguration;if(!(t?.traceType&&e)){d("error",this,"Trace configuration not found");return}let s=this.#e?.traceLocations;try{this._traceResult=await this.#t.executeTraceConfiguration({traceType:t.traceType,traceConfiguration:e,traceLocations:s??[],resultTypes:t.resultTypes,outSpatialReference:this.view?.spatialReference}),this.disableHighlightFeatureResults||this.#u()}catch(i){b(i,this,"Error while running trace"),this._traceError=i,this._traceResult=void 0}}#d(){this.#l(),!(this._showNoStartingPointsWarning||this._showMissingTerminalWarning)&&(this._showNoStartingPointsWarning=!1,this._showMissingTerminalWarning=!1,this.#r(),this.#a("results"),this.#p())}#m(t){t&&(this.#e=t)}#y(t){t&&(this.#i=t)}#b(t){t.stopPropagation(),this.arcgisHideGraphicsChange.emit(t.detail)}#v(t){t.stopPropagation(),this.arcgisTraceLocationSelectStart.emit(t.detail).defaultPrevented&&t.preventDefault()}#f(t){t.stopPropagation(),this.arcgisTraceLocationSelectEnd.emit()}#w(t){t.stopPropagation(),this.arcgisTraceResultFeaturesReady.emit()}#$(t){let e=t.detail;this.aggregatedGeometryGraphicsColor=e}#_(){this._showNoStartingPointsWarning=!1,this._showMissingTerminalWarning=!1}#T(){this.#t.utilityNetwork=this.#e?.selectedUtilityNetwork}#x(){let{_messages:t}=this;return a`<calcite-panel class="trace-inputs-warning"><calcite-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${()=>this._showMissingTerminalWarning=!1}><div slot=title>${t.errors.missingTerminalTitle}</div><div slot=message>${t.errors.missingTerminalBody}</div></calcite-notice></calcite-panel>`}#R(){let{_messages:t}=this;return a`<calcite-panel class="trace-inputs-warning"><calcite-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${()=>this._showNoStartingPointsWarning=!1}><div slot=title>${t.errors.noStartingPointsTitle}</div><div slot=message>${t.errors.noStartingPointsBody}</div></calcite-notice></calcite-panel>`}#k(){return g(`${this.el.id}__results-tab-item`,a`<calcite-tab .selected=${this._activeTab==="results"}>${this.state==="executing"?a`<calcite-panel><calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader></calcite-panel>`:a`<arcgis-utility-network-trace-results-next .autoDestroyDisabled=${this.autoDestroyDisabled} .aggregatedGeometryGraphicsColor=${this.aggregatedGeometryGraphicsColor} .hideActionBar=${this.hideActionBar} .hideFeatureResults=${this.hideFeatureResults} .layers=${this.#c} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .traceConfigTitle=${this.#o?.title} .traceError=${this._traceError} .traceResult=${this._traceResult} .utilityNetwork=${this.#t.utilityNetwork??void 0} .view=${this.view??void 0} @arcgisAggregatedGeometryGraphicsColorChange=${this.#$} @arcgisHideGraphicsChange=${this.#b} @arcgisTraceResultFeaturesReady=${this.#w} ${h(this.#y)}></arcgis-utility-network-trace-results-next>`}</calcite-tab>`)}#S(){let{_messages:t,_traceResult:e}=this,s=!!(e?.elements.length||e?.globalFunctionResults.length||e?.aggregatedGeometry)&&this.#i?.state==="ready",i=this.#i?.numResults??0;return a`<calcite-button appearance=outline width=full @click=${()=>{this.#a("input"),this.#r(),this.arcgisTraceResultClear.emit()}} .disabled=${!s} slot=footer>${i>0&&!this.hideFeatureResults&&this.state!=="executing"?t.buttons.clearResultsCustom.replace("{number}",i.toString()):t.buttons.clearResultsGeneric}</calcite-button>`}#C(){let{_mode:t}=this,{loadError:e}=this.#t,s=(e==="no-user-type-extension"||e==="sceneView-not-supported"?a`<calcite-notice kind=danger open scale=s slot=content-top width=auto><div slot=message>${this.#h(e)}</div></calcite-notice>`:void 0)??a`${this._showNoStartingPointsWarning&&t==="default"&&this.#R()||""}${this._showMissingTerminalWarning&&t==="default"&&this.#x()||""}<arcgis-utility-network-trace-inputs-next .autoDestroyDisabled=${this.autoDestroyDisabled} .hideActionBar=${this.hideActionBar} .referenceElement=${this.referenceElement} .view=${this.view??void 0} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisPropertyChange=${i=>{i.stopPropagation(),i.detail.name==="mode"&&(this._mode=i.target.mode)}} @arcgisSelectedNamedTraceConfigurationChange=${this.#_} @arcgisTraceLocationSelectEnd=${this.#f} @arcgisTraceLocationSelectStart=${this.#v} @arcgisUtilityNetworkChange=${this.#T} ${h(this.#m)}></arcgis-utility-network-trace-inputs-next>`;return g(`${this.el.id}__inputs-tab-item`,a`<calcite-tab .selected=${this._activeTab==="input"}><div class="inputs-tab-container">${s}</div></calcite-tab>`)}#N(){let{state:t}=this;if(this._mode!=="default")return null;let e=t==="disabled"||t==="loading"||!this.#e?.traceConfiguration;return a`<calcite-button appearance=solid width=full @click=${this.#d} slot=footer .disabled=${e}>${this._messages.buttons.getResults}</calcite-button>`}render(){let{_activeTab:t,state:e}=this;return a`<calcite-panel><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${()=>this.#a("input")} .selected=${t==="input"}>${this._messages.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${()=>this.#a("results")} .selected=${t==="results"} .disabled=${e==="disabled"||e==="loading"}>${this._messages.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.#C()}${this.#k()}</calcite-tabs>${t==="input"?this.#N():null}${t==="results"?this.#S():null}</calcite-panel>`}};y("arcgis-utility-network-trace-analysis-next",u);return u},"Color","core/reactiveUtils","networks/UtilityNetworkTraceAnalysis",b,c,e,f,i)
|
package/dist/cdn/ZGEJX5IU.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a}from"./JCSG35A7.js";import"./JCRPP54Z.js";import"./LDDAJOTV.js";import"./5DI7RMZ6.js";import"./Q7SMGP5R.js";import"./QUZTFUWM.js";import"./NCYBFT2Y.js";import"./WTBRS6C4.js";import"./H6RQVSYM.js";export{a as ArcgisLayerListItemIndicator};
|
package/dist/cdn/ZTRUEI25.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as P}from"./4RGFCQOB.js";import{e as F,f as M,g as k,h as E,i as oe,j as h}from"./O7RSAJOS.js";import{a as U}from"./IZ46HAUJ.js";import{a as q}from"./36TZJXHA.js";import{a as S}from"./POKO37D3.js";import c from"./HAUHWMHN.js";import"./VJVKFKSG.js";import"./LVUQ55Y3.js";import{a as ae}from"./WVGSH2QD.js";import"./JD74LG7K.js";import b from"./XXA7VSON.js";import"./5DI7RMZ6.js";import"./Q7SMGP5R.js";import a from"./SYDGAFU5.js";import"./QUZTFUWM.js";import"./NCYBFT2Y.js";import{L as B,M as G,N as ie,P as Y,Q as z,T as te,a as ee,b as m,w as R}from"./WTBRS6C4.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:ke,when:De,whenOnce:Te},_e,ce,$e,{createTrackingTarget:Ce,runTracked:de,signal:Oe},,{a:le},{f:re,g:se,h:ne}])=>{function be(r,e){return(r%e+e)%e}var J=class{#e;#n;#a=Ce(()=>{this.#i()});constructor(e){this.#n=e;let i;de(this.#a,()=>{i=e()}),this.#e=Oe(i)}#i(){let e=this.#e.value;de(this.#a,()=>{this.#e.value=this.#n(e)})}mutate(e){this.#e.value=e}get value(){return this.#e.value}};function Z(r){return new J(r)}var H=Math.PI,u=Math.sin,T=Math.cos,ze=Math.asin,Pe=Math.acos,w=H/180,ve=1e3*60*60*24,we=2440588,xe=2451545;function Ue(r){return r.valueOf()/ve-.5+we}function L(r){return new Date((r+.5-we)*ve)}function Me(r){return Ue(r)-xe}var he=w*23.4397;function Ee(r,e){return ze(u(e)*T(he)+T(e)*u(he)*u(r))}function Le(r){return w*(357.5291+.98560028*r)}function Ae(r){return w*(1.9148*u(r)+.02*u(2*r)+3e-4*u(3*r))}function Ne(r,e){var i=w*102.9372;return r+e+i+H}var D={};D.PolarException={NORMAL:0,MIDNIGHT_SUN:1,POLAR_NIGHT:2};var V=[[-.83,"sunrise","sunset"]],ye=9e-4;function He(r,e){return Math.round(r-ye-e/(2*H))}function ge(r,e,i){return ye+(r+e)/(2*H)+i}function ue(r,e,i){return xe+r+.0053*u(e)-.0069*u(2*i)}function Ie(r,e,i){return Pe((u(r)-u(e)*u(i))/(T(e)*T(i)))}D.getTimes=function(r,e,i){var t=w*-i,s=w*e,n=Me(r),a=He(n,t),c=ge(0,t,a),l=Le(c),d=Ae(l),o=Ne(l,d),g=Ee(o,0),p=ue(c,l,o);function x(j){var O=Ie(j,s,g),Se=ge(O,t,a);return ue(Se,l,o)}function y(j){var O=(u(j)-u(s)*u(g))/(T(s)*T(g));return O<-1?D.PolarException.MIDNIGHT_SUN:O>1?D.PolarException.POLAR_NIGHT:D.PolarException.NORMAL}var _={solarNoon:L(p),nadir:L(p-.5),polarException:D.PolarException.NORMAL},v,f,C,I,X;for(v=0,f=V.length;v<f;v+=1)C=V[v],I=x(C[0]*w),X=p-(I-p),_[C[1]]=L(X),_[C[2]]=L(I);return _.polarException=y(V[0][0]*w),_};var je={spring:{dayOfMonth:20,month:2},summer:{dayOfMonth:21,month:5},fall:{dayOfMonth:23,month:8},winter:{dayOfMonth:21,month:11}},K=["spring","summer","fall","winter"];function $(r,e,i){let t=W(e,i),{dayOfMonth:s,month:n}=je[t],a=new Date(r.getTime());return a.setMonth(n,s),a}function Re(r,e){let i=Be(r);return W(i,e)}function Be(r){let e=r.getTime(),i=$(r,"spring","northern").getTime(),t=$(r,"summer","northern").getTime(),s=$(r,"fall","northern").getTime(),n=$(r,"winter","northern").getTime();return e>=i&&e<t?"spring":e>=t&&e<s?"summer":e>=s&&e<n?"fall":"winter"}function W(r,e){return e==="northern"?r:Ge(r)}function pe(r){return r>=0?"northern":"southern"}function Ge(r){let e=K.indexOf(r);return K[(e+2)%4]}var Ye=1440,qe=864e5;function Fe(r,e,i,t){let s=D.getTimes(r,e,i),n=s.sunrise,a=s.sunset,c=M(r,t),l=M(n,t),d=M(a,t);if(c.getUTCDate()!==l.getUTCDate()||c.getUTCDate()!==d.getUTCDate()){let o=c.getTime()-l.getTime()>0?1:-1;n.setUTCDate(n.getUTCDate()+o),a.setUTCDate(a.getUTCDate()+o)}return{sunrise:n,sunset:a}}var Ze=100,Ve=1e3,b=12e5,A=72e5;function me(r,e){return be(r+e,24)}function Je({mode:r,lighting:e,getPlaySpeed:i,onProgress:t,beforeProgress:s}){let n=-1;function a(c=Date.now()){let l=e.date,d=Date.now()-(c??0);if(r==="day"){c=Date.now();let o=i()/Ze*d;if(o>0){let g=new Date(l.getTime()+o),p=e.displayUTCOffset??0,x=me(g.getUTCHours(),p),y=me(l.getUTCHours(),p);x<y&&(g=new Date(l.getTime()+o-qe));let _=e.clone();s?.(),e.date=g,t?.(_,e)}}else if(d>Ve){c=Date.now();let o=(l.getUTCMonth()+1)%12,g=new Date(l.getTime());g.setUTCMonth(o);let p=e.clone();s?.(),e.date=g,t?.(p,e)}n=requestAnimationFrame(()=>a(c))}return a(),U(()=>cancelAnimationFrame(n))}var N=b/4;function Ke(r,e,i,t){let{day:s,night:n=s,twilight:a=s}=t,c=s*N,l=n*N,d=a*N;if(r==null||e==null||Number.isNaN(r.getTime())&&Number.isNaN(e.getTime()))return c;let o=i.getTime(),g=r.getTime(),p=e.getTime(),x=g-A/2,y=g+A/2,_=p-A/3*2,v=p+A/3,f=c;return o>=x&&o<=y?o-x<=b?f=l-(o-x)/b*(l-d):y-o<=b/2?f=c-(y-o)/b*2*(c-d):f=d:o>=_&&o<=v?o-_<=b/2?f=c-(o-_)/b*2*(c-d):v-o<=b?f=l-(v-o)/b*(l-d):f=d:(o<g||o>p)&&(f=l),f}var Qe=ee`.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}}`,We={day:1,night:6,twilight:2/3},Q=class extends ie{constructor(){super(...arguments),this.messages=ae({blocking:!0}),this.#n="none",this.#a=null,this.#g=B(),this.#_=B(),this.#b=200,this.#v=200,this.#u=!1,this.#c={},this.#d=Z(e=>{let i=this._lighting,t=h(i)?i.displayUTCOffset:void 0;return this.#i?e:t??e}),this.#t=Z(e=>{let i=this._lighting;if(!h(i))return e;let t=i.displayUTCOffset??this.utcOffset??0,s=i.date;if(this.#i)return e;if(F(s)){let{minutesSinceMidnight:n}=k(s,t);return n}return e}),this.#r=Z(e=>{let i=oe(this._view,this.utcOffset);return this.#i?e:i??e}),this.#h=!1,this.view=le(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=R(),this.arcgisUserDateTimeChange=R()}static{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}}static{this.styles=Qe}get _view(){return this.view?.type==="3d"?this.view:void 0}#e;#n;#a;#i;#g;#_;#b;#v;#u;#c;get#y(){return this.#_?.value?.startTime}#d;#t;#r;get _lighting(){return this._view?.environment?.lighting}#h;#l;get _playingState(){return this.#n}set _playingState(e){this.#n=e,this.#l?.remove(),e==="none"?this.#e?.remove():(this.#x(e),this.#f())}get _sunlightingDisabled(){return!h(this._lighting)}set _sunlightingDisabled(e){this.#o("sunlightingDisabled",e);let i=this._view?.environment;if(i==null)return;let t=i.lighting,s=this.#a;this.#a=t;let n={directShadowsEnabled:t.directShadowsEnabled,glow:t.glow};h(t)&&(n.cameraTrackingEnabled=t.cameraTrackingEnabled);let a=e?"virtual":"sun",c;s?.type===a?c=s:c=e?new $e:new ce({date:E(this.localDateAsString??this.localDate,this.timeSliderPosition??0,this.utcOffset??0),displayUTCOffset:this.utcOffset}),c.set(n),i.lighting=c,e||(this.#s(),this.#g.value&&(this.#g.value.open=!1))}get _directShadowsDisabled(){return!this._lighting?.directShadowsEnabled}set _directShadowsDisabled(e){this.#o("directShadowsDisabled",e),this._lighting&&(this._lighting.directShadowsEnabled=!e)}get localDateAsString(){return this.#r.value??void 0}get currentSeason(){let e=this._view?.camera?.position?.latitude??0,i=pe(e);return Re(this.localDate,i)}set currentSeason(e){this.#s();let i=this._view?.camera?.position?.latitude??0,t=pe(i),s=W(e,t);this.localDate=$(this.localDate,s,"northern"),this.#f()}get dayPlaying(){return this._playingState==="day"}set dayPlaying(e){this._playingState=e?"day":"none"}get utcOffset(){return this.#d.value}set utcOffset(e){this.#d.mutate(e),!this.#o("utcOffset",e)&&this.#p()}get timeSliderPosition(){return this.#t.value}set timeSliderPosition(e){this.#t.mutate(be(e??0,Ye)),!this.#o("timeSliderPosition",e)&&this.#p()}get localDate(){return this.#r.value!=null?new Date(this.#r.value):new Date}set localDate(e){if(typeof e=="string"&&/^\d{4}-\d{2}-\d{2}$/u.test(e)){if(this.#r.mutate(e),this.#o("localDate",e))return;this.#p();return}let i=new Date(e);if(F(i)){i.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate());let t=i.toISOString().slice(0,10);if(this.#r.mutate(t),this.#o("localDate",t))return;this.#p()}}get yearPlaying(){return this._playingState==="year"}set yearPlaying(e){this._playingState=e?"year":"none"}async destroy(){await this.manager.destroy()}async load(){this.manager.onLifecycle(()=>[ke(()=>{let e=this._view?.camera?.position;return e?P(e):void 0},(e,i)=>{this.#D(e,i)},{sync:!0,initial:!0}),De(()=>!h(this._lighting),()=>{this.#s()}),_e.onLocaleChange(()=>{this.requestUpdate()})]),this.manager.onDisconnected(()=>{this.#e?.remove(),this.#i?.remove(),this.#l?.remove()})}willUpdate(e){if(super.willUpdate(e),!!this.#h&&h(this._lighting)&&e.has("utcOffset")&&!e.has("localDate")&&!e.has("timeSliderPosition")){let i=this.utcOffset??0,{minutesSinceMidnight:t,localDate:s}=k(this._lighting.date,i);this.#t.mutate(t),this.#r.mutate(s)}}async loaded(){let e=new AbortController;this.manager.onDisconnected(()=>({remove:()=>{e.abort()}})),await re(Te(()=>this._view?.ready,{signal:e.signal}).then(()=>{let i=this._lighting,t=this._view?.camera?.position;if(this.#c.utcOffset==null&&h(i)&&i.displayUTCOffset==null&&t){let n=P(t);this.#m(n,i)}this.#h=!0,this.#S(),h(this._lighting)||this.#T();let s=this._playingState;s!=="none"&&this.#e==null&&this.#x(s)}))}#o(e,i){return this.#h||this.#u?!1:(this.#c[e]=i,!0)}#S(){let{utcOffset:e,timeSliderPosition:i,localDate:t,directShadowsDisabled:s,sunlightingDisabled:n}=this.#c;if(this.#u=!0,e!=null)if(i==null&&t==null){let a=this._lighting;h(a)?(a.displayUTCOffset=e,this.#m(e,a)):this.#d.mutate(e)}else this.utcOffset=e;i!=null&&(this.timeSliderPosition=i),t&&(this.localDate=t),s!=null&&(this._directShadowsDisabled=s),n!=null&&(this._sunlightingDisabled=n),this.#c={},this.#u=!1}#p(){if(this.requestUpdate(),this.#i)return;let e=se(()=>{if(h(this._lighting)){let i=this.utcOffset??0,t=this.timeSliderPosition??0,s=this.localDate;this._lighting.date=E(s,t,i),this._lighting.displayUTCOffset=i}this.#i?.remove()},{timeout:this.#b});this.#i=U(()=>{ne(e),this.#i=void 0})}#k(e){let i=this.utcOffset??e.displayUTCOffset??0,{minutesSinceMidnight:t,localDate:s}=k(e.date,i),n=this.timeSliderPosition??t,a=this.localDateAsString??s;this.#i?.remove(),e.date=E(a,n,i),e.displayUTCOffset=i}#D(e,i){let t=this._lighting;if(!(!this.#h||!h(t)||!t.cameraTrackingEnabled||e==null)){if(i==null&&t.displayUTCOffset==null){this.#m(e,t);return}t.displayUTCOffset!=null&&(t.displayUTCOffset=e),this.#m(e,t)}}#m(e,i){i.displayUTCOffset=e,this.#w(e,i.date)}#T(){let e=this._view?.camera?.position,i=this.utcOffset??(e?P(e):0),t=new ce({displayUTCOffset:i});this.#w(i,t.date,{fillMissingOnly:!0})}#w(e,i,{fillMissingOnly:t=!1}={}){let{minutesSinceMidnight:s,localDate:n}=k(i,e);(!t||this.utcOffset==null)&&this.#d.mutate(e),(!t||this.timeSliderPosition==null)&&this.#t.mutate(s),(!t||this.localDateAsString==null)&&this.#r.mutate(n),this.requestUpdate()}#f(){this.isConnected&&this.arcgisUserDateTimeChange.emit()}#s(){this._playingState="none"}#$(e){if(this.#l)return;let i=setTimeout(()=>{let t=e.displayUTCOffset??0,s=e.date,{minutesSinceMidnight:n}=k(s,t);this.#t.mutate(n),this.#l?.remove()},this.#v);this.#l=U(()=>{clearTimeout(i),this.#l=void 0;let t=this._lighting;if(h(t)){let s=t.displayUTCOffset??0,n=t.date,{minutesSinceMidnight:a}=k(n,s);this.#t.mutate(a)}})}#x(e){this.#e?.remove();let i=this._view;if(i==null||this._sunlightingDisabled)return;let t=i.environment.lighting;if(!h(t))return;this.#k(t);let s=0;this.#e=Je({mode:e,lighting:t,beforeProgress:()=>{s=this.#y??0},onProgress:(n,a)=>{this.#t.mutate(s),this.#$(a)},getPlaySpeed:()=>{let n=this._view,a=this._view?.environment.lighting;if(n!=null&&h(a)){let c=n.camera.position.latitude??0,l=n.camera.position.longitude??0,{sunrise:d,sunset:o}=Fe(a.date,c,l,a.displayUTCOffset??0);return Ke(d,o,a.date,We)*this.playSpeedMultiplier}else return N*this.playSpeedMultiplier}})}#C({scale:e,disabled:i}){let{messages:t}=this;return m`<calcite-label .scale=${e} class="date-picker-container">${t.date}${Xe({disabled:i,scale:e,date:this.localDateAsString,onDateChange:s=>{let n=s.currentTarget.value,a=Array.isArray(n)?n[0]:n;this.#s(),this.localDate=a,this.#f()}})}</calcite-label>${S({hidden:this.hidePlayButtons,children:fe({playing:this.yearPlaying,disabled:i,label:t.playYear,onClick:()=>{this._playingState==="year"?this._playingState="none":this._playingState="year"},scale:e})})}`}#O({scale:e,disabled:i}){let{messages:t}=this;return m`<calcite-label .scale=${e} class="date-picker-container">${t.season}${ei({scale:e,selectedSeason:this.currentSeason,disabled:i,messages:t,onSeasonChange:s=>{this.#s(),this.currentSeason=s.currentTarget.value}})}</calcite-label>`}render(){let{messages:e,dateOrSeason:i}=this,t=this._sunlightingDisabled,s="m";if(this._view?.type!=="3d")return q({class:"root",label:e.componentLabel,title:e.title,hideHeader:this.hideHeader,headingLevel:this.headingLevel,children:m`<div class="unsupported"><p>${e.unsupported}</p></div>`});let n=(this.utcOffset??0)*60,a=this.view?.ready===!0,c=Array.isArray(this.timeSliderSteps)?this.timeSliderSteps.at(0):this.timeSliderSteps;return q({class:{root:!0,loading:!a},label:e.componentLabel,title:e.title,hideHeader:this.hideHeader,headingLevel:this.headingLevel,children:m`${a?void 0:m`<calcite-scrim loading></calcite-scrim>`}<div class="time-configuration" style=${Y({columnGap:this.hidePlayButtons?"0":void 0})}><calcite-label class="slider-container" .scale=${s}>${e.timeSliderLabel}<arcgis-time-of-day-slider class="slider" .disabled=${this._sunlightingDisabled} mode=single .startTime=${this.timeSliderPosition??0} .steps=${c} style=${Y({gridArea:"slider"})} @arcgisTimeChange=${({currentTarget:l})=>{this.#s(),this.timeSliderPosition=l.startTime,this.#f()}} ${G(this.#_)}></arcgis-time-of-day-slider></calcite-label>${S({hidden:this.hidePlayButtons,children:fe({disabled:this._sunlightingDisabled,playing:this.dayPlaying,label:e.playDay,onClick:()=>{this._playingState==="day"?this.#s():this._playingState="day"},scale:s})})}${S({hidden:this.hideTimezone,children:m`<calcite-label .scale=${s} class="timezone-input-container">${e.timezone}<calcite-input-time-zone mode=offset overlay-positioning=fixed .scale=${s} .disabled=${this._sunlightingDisabled} .value=${`${n}`} .referenceDate=${this.localDateAsString} @calciteInputTimeZoneChange=${l=>{let d=+l.target.value;this.utcOffset=d/60,this.#s()}} ${G(this.#g)}></calcite-input-time-zone></calcite-label><span></span>`})}${S({hidden:this.hideDatePicker,children:i==="date"?this.#C({scale:s,disabled:t}):this.#O({scale:s,disabled:t})})}</div>${S({hidden:this.hideSunLightingToggle,children:ii({scale:s,messages:e.sunLightingToggle,sunlightingEnabled:!this._sunlightingDisabled,onSunLightingToggle:l=>{this._sunlightingDisabled=!l}})})}${S({hidden:this.hideShadowsToggle,children:ti({scale:s,messages:e.shadowsToggle,onShadowCheckboxChange:l=>{this._directShadowsDisabled=!l},shadowEnabled:!this._directShadowsDisabled})})}`})}};function fe({disabled:r,playing:e,onClick:i,label:t,scale:s="m"}){return m`<calcite-button appearance=solid .scale=${s} .disabled=${r} .iconStart=${e?"pause-f":"play-f"} .label=${t} @click=${i} round title=${t??z} type=button></calcite-button>`}function Xe({disabled:r,date:e,onDateChange:i,scale:t}){return m`<calcite-input-date-picker data-testid=daylight-date-picker .disabled=${r} overlay-positioning=fixed placement=bottom .value=${e} .scale=${t} @calciteInputDatePickerChange=${i}></calcite-input-date-picker>`}function ei({messages:r,disabled:e,scale:i,selectedSeason:t,onSeasonChange:s}){return m`<calcite-select .disabled=${e} .label=${r.season} .scale=${i} .value=${t} @calciteSelectChange=${n=>{s(n)}}>${K.map(n=>m`<calcite-option .selected=${t===n} .value=${n}>${r[n]}</calcite-option>`)}</calcite-select>`}function ii({messages:r,sunlightingEnabled:e,onSunLightingToggle:i,scale:t}){return m`<calcite-label layout=inline .scale=${t} title=${r?.tooltip??z}><calcite-checkbox .scale=${t} .checked=${e} @calciteCheckboxChange=${s=>i(s.target.checked)}></calcite-checkbox>${r?.label}</calcite-label>`}function ti({messages:r,shadowEnabled:e,onShadowCheckboxChange:i,scale:t}){return m`<calcite-label layout=inline .scale=${t} title=${r?.tooltip??z}><calcite-checkbox .checked=${e} @calciteCheckboxChange=${s=>i(s.target.checked)}></calcite-checkbox>${r.label}</calcite-label>`}te("arcgis-daylight",Q);return Q},"core/reactiveUtils","intl","views/3d/environment/SunLighting","views/3d/environment/VirtualLighting","applications/Components/reactiveUtils",a,b,c)
|