@arcgis/map-components 6.0.0-next.2 → 6.0.0-next.21
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/22RLIDCP.js +2 -0
- package/dist/cdn/{5TKSFDKY.js → 27TSPXYV.js} +1 -1
- package/dist/cdn/{3ONY25MG.js → 2GPVEWYM.js} +1 -1
- package/dist/cdn/2IBL2HKQ.js +2 -0
- package/dist/cdn/2NM6UWC4.js +2 -0
- package/dist/cdn/{DSD2SY73.js → 2P5AJORF.js} +1 -1
- package/dist/cdn/2PLAZVGP.js +2 -0
- package/dist/cdn/2RQGZLOJ.js +2 -0
- package/dist/cdn/2SQGIY7T.js +2 -0
- package/dist/cdn/2UAH624K.js +2 -0
- package/dist/cdn/2WJ53TNR.js +2 -0
- package/dist/cdn/{2SO5S66J.js → 2YXWKKNB.js} +1 -1
- package/dist/cdn/{65MI3MW2.js → 32526XJ7.js} +1 -1
- package/dist/cdn/34XDXFK6.js +2 -0
- package/dist/cdn/3B4VHD67.js +2 -0
- package/dist/cdn/3EXEL7AM.js +2 -0
- package/dist/cdn/3GN3DAON.js +2 -0
- package/dist/cdn/{HI7BF3DL.js → 3MWXYWKR.js} +1 -1
- package/dist/cdn/3SXQLU4S.js +2 -0
- package/dist/cdn/{3C6FN5WT.js → 3W7KESW7.js} +1 -1
- package/dist/cdn/43IGD6V3.js +2 -0
- package/dist/cdn/4DPAOAMZ.js +2 -0
- package/dist/cdn/4FFEPX2D.js +2 -0
- package/dist/cdn/{ZHSESERJ.js → 4H2REMNG.js} +1 -1
- package/dist/cdn/4I6F64B2.js +2 -0
- package/dist/cdn/4IG6WUCI.js +2 -0
- package/dist/cdn/4LNXCEM5.js +2 -0
- package/dist/cdn/4LO7PNX7.js +2 -0
- package/dist/cdn/{UUHCMLK6.js → 4LWSF6AI.js} +1 -1
- package/dist/cdn/{FHHVGI4H.js → 4P4NKBQC.js} +1 -1
- package/dist/cdn/{QEPANMVK.js → 4PDZTEB2.js} +1 -1
- package/dist/cdn/4WZZZTT5.js +2 -0
- package/dist/cdn/55VX76T5.js +2 -0
- package/dist/cdn/57LPG3BE.js +2 -0
- package/dist/cdn/5A7LDBDR.js +2 -0
- package/dist/cdn/5DN4ONEW.js +2 -0
- package/dist/cdn/{RRSU6QD4.js → 5FBHHKRV.js} +1 -1
- package/dist/cdn/{PIDNZKSJ.js → 5GFPOTOB.js} +1 -1
- package/dist/cdn/{VLPNB2Z3.js → 5GGAWGSN.js} +1 -1
- package/dist/cdn/{R5TXJ5FN.js → 5GTPIPN7.js} +1 -1
- package/dist/cdn/5V6BNJ5O.js +2 -0
- package/dist/cdn/{FPPWXIBA.js → 5V6K43GW.js} +1 -1
- package/dist/cdn/{HTC4LCZQ.js → 5XZKVLHC.js} +1 -1
- package/dist/cdn/{AO6ONNIJ.js → 62HMPABL.js} +1 -1
- package/dist/cdn/62OAO327.js +2 -0
- package/dist/cdn/6DRXFSTW.js +2 -0
- package/dist/cdn/{WS46QSWM.js → 6G5QADEG.js} +1 -1
- package/dist/cdn/6HDYZ7WW.js +2 -0
- package/dist/cdn/6KYZMT4A.js +2 -0
- package/dist/cdn/6QWLMG5M.js +2 -0
- package/dist/cdn/6SL7YNKF.js +2 -0
- package/dist/cdn/6WFVZM5S.js +2 -0
- package/dist/cdn/6Y7Q7GRB.js +2 -0
- package/dist/cdn/74PUSJU5.js +2 -0
- package/dist/cdn/7EIN5VCY.js +2 -0
- package/dist/cdn/7EKBNXGL.js +2 -0
- package/dist/cdn/7ILT5PDJ.js +2 -0
- package/dist/cdn/7JK4JGPG.js +2 -0
- package/dist/cdn/7JPHMESH.js +2 -0
- package/dist/cdn/7LO6ACC7.js +2 -0
- package/dist/cdn/{N3DTZRST.js → 7V7LQ35Q.js} +1 -1
- package/dist/cdn/{SIFBGT4D.js → 7Y4SF2NT.js} +1 -1
- package/dist/cdn/7Y6PADB5.js +2 -0
- package/dist/cdn/{RVIHQZ44.js → 7YT5W57B.js} +1 -1
- package/dist/cdn/7ZWBGSCM.js +2 -0
- package/dist/cdn/A5IFDSOU.js +2 -0
- package/dist/cdn/{PPAFKBPN.js → AHWBCZBO.js} +1 -1
- package/dist/cdn/AKGUTL2V.js +2 -0
- package/dist/cdn/{PCOXR45L.js → AKTIOEYM.js} +1 -1
- package/dist/cdn/AMRGLUBB.js +2 -0
- package/dist/cdn/AOGDXJ2J.js +2 -0
- package/dist/cdn/ARN5ZKLI.js +2 -0
- package/dist/cdn/{KBA5OIES.js → AUP633OS.js} +1 -1
- package/dist/cdn/{HY2JY2TT.js → AYQJ2LTV.js} +1 -1
- package/dist/cdn/B2TICPHR.js +2 -0
- package/dist/cdn/BDZHLGVT.js +2 -0
- package/dist/cdn/{Z2UUXST4.js → BFYJTV6Q.js} +1 -1
- package/dist/cdn/BJ35LPCU.js +2 -0
- package/dist/cdn/BJI5DVB5.js +2 -0
- package/dist/cdn/BJJZGYBG.js +2 -0
- package/dist/cdn/BLYXYNGB.js +2 -0
- package/dist/cdn/{RUYAWRPV.js → BOPNSNUT.js} +1 -1
- package/dist/cdn/BUH3AQ7E.js +2 -0
- package/dist/cdn/{QT7GRA34.js → BVRQWRKX.js} +1 -1
- package/dist/cdn/C6K7TZ27.js +2 -0
- package/dist/cdn/{JS3IKVKM.js → CHMBPPHS.js} +1 -1
- package/dist/cdn/CLICUS2A.js +2 -0
- package/dist/cdn/COSETVX4.js +2 -0
- package/dist/cdn/{XP74F2F6.js → CWCVAPXD.js} +1 -1
- package/dist/cdn/CXXBV6RJ.js +2 -0
- package/dist/cdn/DCO26B7J.js +2 -0
- package/dist/cdn/DDGUDJJZ.js +2 -0
- package/dist/cdn/DEW5IWND.js +2 -0
- package/dist/cdn/DFNH6YRR.js +2 -0
- package/dist/cdn/DFTYQJWJ.js +2 -0
- package/dist/cdn/DFZ22GLY.js +2 -0
- package/dist/cdn/DGSTI5DI.js +2 -0
- package/dist/cdn/{B32GNMHD.js → DLUFAV4S.js} +1 -1
- package/dist/cdn/{J6HOUEVT.js → DPEWQQEB.js} +1 -1
- package/dist/cdn/DS6EUOYE.js +2 -0
- package/dist/cdn/DSIYRWN2.js +2 -0
- package/dist/cdn/DWPXOIRF.js +2 -0
- package/dist/cdn/{S6BPBG7D.js → DZIJPJS3.js} +1 -1
- package/dist/cdn/E6ZXXC74.js +2 -0
- package/dist/cdn/{PWHXRRFU.js → EB4V6SPF.js} +1 -1
- package/dist/cdn/{UVJWDKLK.js → ECA47Z37.js} +1 -1
- package/dist/cdn/ECUVJOIW.js +2 -0
- package/dist/cdn/ED2T4ASN.js +2 -0
- package/dist/cdn/EP27GLNL.js +2 -0
- package/dist/cdn/{EK7Y6JBZ.js → EXB4CY2Y.js} +1 -1
- package/dist/cdn/{SAOLD6MH.js → EZHYSI6R.js} +1 -1
- package/dist/cdn/F2DTKJTK.js +2 -0
- package/dist/cdn/F74YQZ2X.js +2 -0
- package/dist/cdn/{VUAYNF3K.js → FDESUDJ5.js} +1 -1
- package/dist/cdn/FGU7NUST.js +2 -0
- package/dist/cdn/{M6YVO33A.js → FH6Q5A5L.js} +1 -1
- package/dist/cdn/{EPAR65ZP.js → FJMXBIN5.js} +1 -1
- package/dist/cdn/FMLDKHWP.js +3 -0
- package/dist/cdn/FOKE5ILO.js +2 -0
- package/dist/cdn/{ZIBQTNB6.js → FQ3ZJA4Q.js} +1 -1
- package/dist/cdn/{MA7GBKLW.js → FZGMIIBX.js} +1 -1
- package/dist/cdn/G2ACNJGG.js +2 -0
- package/dist/cdn/G2PLGAUY.js +2 -0
- package/dist/cdn/{2BUURGFL.js → G4IKO2R6.js} +1 -1
- package/dist/cdn/G56N6RF4.js +2 -0
- package/dist/cdn/{M7AFSV3C.js → GCPR7XFU.js} +1 -1
- package/dist/cdn/{WBBTZNZU.js → GEOME3IC.js} +1 -1
- package/dist/cdn/{PZZU36OG.js → GFC6LS4L.js} +1 -1
- package/dist/cdn/GKNGEZCO.js +2 -0
- package/dist/cdn/{MICLX7QW.js → GPYZM5CC.js} +1 -1
- package/dist/cdn/GQQTIX2X.js +2 -0
- package/dist/cdn/H4BTVLCG.js +2 -0
- package/dist/cdn/{FQSHLYKX.js → HLOH2QPV.js} +1 -1
- package/dist/cdn/I52P5EXK.js +2 -0
- package/dist/cdn/{CAC3OOFR.js → IAYL44LK.js} +1 -1
- package/dist/cdn/IFLDLAK4.js +2 -0
- package/dist/cdn/IN7TMVRK.js +2 -0
- package/dist/cdn/IOUO7KBT.js +2 -0
- package/dist/cdn/{YQV2OMBS.js → IRFIHD5X.js} +1 -1
- package/dist/cdn/{MYLIX42T.js → IZFEOYED.js} +1 -1
- package/dist/cdn/JB6WQEFJ.js +2 -0
- package/dist/cdn/{YZJKSAQ5.js → JBD7Q5YD.js} +1 -1
- package/dist/cdn/JN6RVFAM.js +2 -0
- package/dist/cdn/JUOOKKZJ.js +2 -0
- package/dist/cdn/JUYPQUPQ.js +2 -0
- package/dist/cdn/KAG4QZ7K.js +2 -0
- package/dist/cdn/KE2ER3F7.js +2 -0
- package/dist/cdn/KIHYSYOL.js +2 -0
- package/dist/cdn/{QKZ552KI.js → KIWV2RIN.js} +1 -1
- package/dist/cdn/{A6H4JIO7.js → KOMTNQPT.js} +1 -1
- package/dist/cdn/{TKILR2SM.js → KXD4VEKE.js} +1 -1
- package/dist/cdn/{DY2EOHFD.js → L4WLEN3C.js} +1 -1
- package/dist/cdn/{OUC5HWPQ.js → L5XC4FXT.js} +1 -1
- package/dist/cdn/L6FLCEH6.js +2 -0
- package/dist/cdn/LILX2DJE.js +2 -0
- package/dist/cdn/LKGURYDH.js +2 -0
- package/dist/cdn/LRH4FKHU.js +2 -0
- package/dist/cdn/{HKVIWCPL.js → LS4U4GD5.js} +1 -1
- package/dist/cdn/{OAYNZFL2.js → LSLTIN2Q.js} +1 -1
- package/dist/cdn/LTFGTX7S.js +2 -0
- package/dist/cdn/LUW2PXWZ.js +2 -0
- package/dist/cdn/{7DM32WQP.js → LVIYMA67.js} +1 -1
- package/dist/cdn/LWVYNWD5.js +2 -0
- package/dist/cdn/LXHZGIW5.js +2 -0
- package/dist/cdn/LXJURAXP.js +2 -0
- package/dist/cdn/LXME6MU5.js +2 -0
- package/dist/cdn/M37TWKYP.js +2 -0
- package/dist/cdn/M3CIFZFR.js +2 -0
- package/dist/cdn/M5OK7RKI.js +2 -0
- package/dist/cdn/M7MRLBZA.js +2 -0
- package/dist/cdn/MA2DWIGR.js +2 -0
- package/dist/cdn/MBLS5ES4.js +2 -0
- package/dist/cdn/{PBHNO4J7.js → MDS3NVWM.js} +1 -1
- package/dist/cdn/{LYT35TNY.js → MEISDI2H.js} +1 -1
- package/dist/cdn/MGH6EHT7.js +2 -0
- package/dist/cdn/MNL7ONFB.js +2 -0
- package/dist/cdn/{6MCDOI5M.js → N2YWWQOS.js} +1 -1
- package/dist/cdn/N4D5I6Y4.js +2 -0
- package/dist/cdn/NHMHVWNB.js +2 -0
- package/dist/cdn/NKFAPBY3.js +2 -0
- package/dist/cdn/NQ3COROI.js +2 -0
- package/dist/cdn/NTHSQXKG.js +2 -0
- package/dist/cdn/NTT5IV4A.js +2 -0
- package/dist/cdn/{SQEKT3GV.js → NVKOZL7X.js} +1 -1
- package/dist/cdn/{SMVLPJDD.js → NVN2CATF.js} +1 -1
- package/dist/cdn/{EMXGW73P.js → NZQLQGTQ.js} +1 -1
- package/dist/cdn/{3GHQZCMV.js → O46PVNMT.js} +1 -1
- package/dist/cdn/O5HQ5YZK.js +2 -0
- package/dist/cdn/{XDU23V37.js → OFBWNR54.js} +1 -1
- package/dist/cdn/OJJSIN3V.js +2 -0
- package/dist/cdn/{JRCEICO2.js → OLSESBZ7.js} +1 -1
- package/dist/cdn/{HPWF3IQV.js → OLY5EME5.js} +1 -1
- package/dist/cdn/{FSBLGH6E.js → ONYCZO7Y.js} +1 -1
- package/dist/cdn/OQ6SYZBT.js +2 -0
- package/dist/cdn/{H7NR6B6S.js → ORVSAF3Z.js} +1 -1
- package/dist/cdn/{FZAQZSRA.js → OZF64H7N.js} +1 -1
- package/dist/cdn/P3565WG3.js +2 -0
- package/dist/cdn/P65FMRMP.js +2 -0
- package/dist/cdn/{ESOCZAMZ.js → PCXDOSKQ.js} +1 -1
- package/dist/cdn/PFSIUSDJ.js +2 -0
- package/dist/cdn/PHVKEWZ7.js +2 -0
- package/dist/cdn/PKYYNRBS.js +2 -0
- package/dist/cdn/PQ7NUE5C.js +4 -0
- package/dist/cdn/{5DY7GHBN.js → PRUHLC54.js} +1 -1
- package/dist/cdn/{ZDMSSGIM.js → PWZHB6VD.js} +1 -1
- package/dist/cdn/PXDX3LCI.js +2 -0
- package/dist/cdn/PYBUTNHM.js +2 -0
- package/dist/cdn/Q6RSVQNE.js +2 -0
- package/dist/cdn/Q7GF26CL.js +2 -0
- package/dist/cdn/QAOT2TJ6.js +2 -0
- package/dist/cdn/QET5SVDO.js +2 -0
- package/dist/cdn/QKGJVGXJ.js +2 -0
- package/dist/cdn/QUPDTNAC.js +2 -0
- package/dist/cdn/{BQBWXR6P.js → QVJ2FUNW.js} +1 -1
- package/dist/cdn/{Z2WYULU3.js → QWMDZDQA.js} +1 -1
- package/dist/cdn/{OAMA6SL3.js → QZVF23GH.js} +1 -1
- package/dist/cdn/{OAMPGCZF.js → RBRDUDEY.js} +1 -1
- package/dist/cdn/{ZSPYPXBY.js → REB4CHAK.js} +1 -1
- package/dist/cdn/RINX3CTL.js +2 -0
- package/dist/cdn/ROHGHCK6.js +2 -0
- package/dist/cdn/{OJIYHIGC.js → RTDY3HLR.js} +1 -1
- package/dist/cdn/S4L4V6FJ.js +2 -0
- package/dist/cdn/SAQ5BNZJ.js +2 -0
- package/dist/cdn/{53OXTCE6.js → SDLZ4BNM.js} +1 -1
- package/dist/cdn/{WNWTWPV6.js → SFDCS6A2.js} +1 -1
- package/dist/cdn/SI2DEXWH.js +2 -0
- package/dist/cdn/{VDEMMP33.js → SIT5NBLS.js} +1 -1
- package/dist/cdn/SJGQALDG.js +2 -0
- package/dist/cdn/SJGWHUCR.js +2 -0
- package/dist/cdn/SKAZPI3A.js +2 -0
- package/dist/cdn/{4IU5R6VO.js → SLNXNVPI.js} +1 -1
- package/dist/cdn/{2DAGREZP.js → SLQPDAGN.js} +1 -1
- package/dist/cdn/SU2SAOBL.js +2 -0
- package/dist/cdn/{VTCE3YQW.js → SXW4GFL3.js} +1 -1
- package/dist/cdn/{DN2EFA4T.js → T34W3GKP.js} +1 -1
- package/dist/cdn/T3MDSQ3T.js +2 -0
- package/dist/cdn/T4Z2B3T7.js +2 -0
- package/dist/cdn/TDYIVFVF.js +2 -0
- package/dist/cdn/{5RAIBYCT.js → TKD5T5DW.js} +1 -1
- package/dist/cdn/{IQEEQOMD.js → TP2KQRW6.js} +1 -1
- package/dist/cdn/U77WHUC6.js +2 -0
- package/dist/cdn/{TDZIH5OK.js → UE6EBLH3.js} +1 -1
- package/dist/cdn/UFDB6U6V.js +2 -0
- package/dist/cdn/UFK7DHVC.js +2 -0
- package/dist/cdn/UHDJ2SI5.js +2 -0
- package/dist/cdn/UI4IEVSV.js +2 -0
- package/dist/cdn/UKIVMO7H.js +2 -0
- package/dist/cdn/UPCWZNTA.js +2 -0
- package/dist/cdn/{E54VGGFM.js → UR3Z5YHW.js} +1 -1
- package/dist/cdn/{P2I63WVL.js → UVAUYBWF.js} +1 -1
- package/dist/cdn/{52CUDGKY.js → UVPQKV5P.js} +1 -1
- package/dist/cdn/{YDZZPLVB.js → UYAOMCP7.js} +1 -1
- package/dist/cdn/UYDXI4AK.js +4 -0
- package/dist/cdn/V4AT7ENI.js +2 -0
- package/dist/cdn/V4JCZIP5.js +2 -0
- package/dist/cdn/{GNSNEUMI.js → V7DMA5ZO.js} +1 -1
- package/dist/cdn/VEV3AAVP.js +2 -0
- package/dist/cdn/VHZM25YV.js +2 -0
- package/dist/cdn/{HQWUQFN5.js → VKO3CVBS.js} +1 -1
- package/dist/cdn/VLHURRRU.js +2 -0
- package/dist/cdn/VM5QVCMC.js +2 -0
- package/dist/cdn/VPDDFGYQ.js +2 -0
- package/dist/cdn/VWUH2VUY.js +2 -0
- package/dist/cdn/VWW5GBIK.js +2 -0
- package/dist/cdn/{ZAUG5MSY.js → W4GNRGIN.js} +1 -1
- package/dist/cdn/{ZO7TUIUE.js → WG5PHRPT.js} +1 -1
- package/dist/cdn/WKI4XW7G.js +2 -0
- package/dist/cdn/WTAAQHO3.js +2 -0
- package/dist/cdn/WUWF6ZDM.js +2 -0
- package/dist/cdn/{DUMHDAYP.js → WVKMYNN7.js} +1 -1
- package/dist/cdn/{2UKSCGYU.js → WW7YOPDY.js} +1 -1
- package/dist/cdn/{HBWEW6R7.js → XCSF7KJK.js} +1 -1
- package/dist/cdn/{MTFIK3F4.js → XGWYQ7FU.js} +1 -1
- package/dist/cdn/XLB473BN.js +2 -0
- package/dist/cdn/XLZB6JMZ.js +2 -0
- package/dist/cdn/{CKS5ACAB.js → XO7X6L4B.js} +1 -1
- package/dist/cdn/XPBFBRSY.js +2 -0
- package/dist/cdn/{2ZMXUAQZ.js → XQ2WXTW7.js} +1 -1
- package/dist/cdn/XTCYIS4Z.js +2 -0
- package/dist/cdn/{EV7IIQBP.js → XYAJT7LP.js} +1 -1
- package/dist/cdn/Y3E2FJPQ.js +2 -0
- package/dist/cdn/Y4C7JJCJ.js +2 -0
- package/dist/cdn/{J3FRSWZD.js → Y6NC7ML3.js} +1 -1
- package/dist/cdn/Y6WTYXVP.js +2 -0
- package/dist/cdn/{WSHG4LV7.js → Y7IM3OFU.js} +1 -1
- package/dist/cdn/Y7XSHXVA.js +2 -0
- package/dist/cdn/YAWLVMV6.js +2 -0
- package/dist/cdn/{PGUZODKZ.js → YBJ6ZAPO.js} +1 -1
- package/dist/cdn/YBSEIOQX.js +2 -0
- package/dist/cdn/YBXCTOS7.js +2 -0
- package/dist/cdn/{Z6AVJWLP.js → YC7VLNKI.js} +1 -1
- package/dist/cdn/YDILFOHE.js +2 -0
- package/dist/cdn/YEKQVWF5.js +2 -0
- package/dist/cdn/{W3TSTSES.js → YJROHURO.js} +1 -1
- package/dist/cdn/YYCTSS52.js +2 -0
- package/dist/cdn/Z42MH42I.js +2 -0
- package/dist/cdn/Z6NHKWWS.js +2 -0
- package/dist/cdn/ZC5YVHZ3.js +2 -0
- package/dist/cdn/{D7FBQECJ.js → ZCL4XHIZ.js} +1 -1
- package/dist/cdn/{IAWXCNTX.js → ZE4UHSTB.js} +1 -1
- package/dist/cdn/{26URLKXD.js → ZH3MW6H3.js} +1 -1
- package/dist/cdn/{Q4L65YE5.js → ZHYXFOYU.js} +1 -1
- package/dist/cdn/{6VO7G2UX.js → ZJPYW3TN.js} +1 -1
- package/dist/cdn/{F5IHFPKA.js → ZKKZQVJT.js} +1 -1
- package/dist/cdn/{FACY5XHG.js → ZNIMZP5R.js} +1 -1
- package/dist/cdn/{V2YPYCU6.js → ZNV3M5P2.js} +1 -1
- package/dist/cdn/ZPA5JUPD.js +2 -0
- package/dist/cdn/{M3FI4K44.js → ZSKO7HLH.js} +1 -1
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/attachment-utils.js +5 -5
- package/dist/chunks/dateUtils.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/loader-utils.js +43 -0
- package/dist/chunks/resources.js +10 -4
- package/dist/chunks/slots.js +3 -3
- package/dist/chunks/useArcgisViewReadyError.js +224 -158
- package/dist/components/arcgis-add-attachment-view/customElement.d.ts +42 -9
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +8 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +8 -3
- package/dist/components/arcgis-attachment-detail-view/customElement.d.ts +200 -0
- package/dist/components/arcgis-attachment-detail-view/customElement.js +126 -0
- package/dist/components/arcgis-attachment-detail-view/index.d.ts +1 -0
- package/dist/components/arcgis-attachment-detail-view/index.js +8 -0
- package/dist/components/arcgis-attachment-preview/customElement.d.ts +47 -9
- package/dist/components/arcgis-attachment-preview/customElement.js +12 -10
- package/dist/components/arcgis-attachment-thumbnail/customElement.d.ts +42 -9
- package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +42 -9
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +10 -10
- package/dist/components/arcgis-building-level-item/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +3 -3
- package/dist/components/arcgis-coordinate-conversion-next/customElement.js +29 -29
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +8 -3
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +8 -3
- package/dist/components/arcgis-editor/customElement.d.ts +26 -21
- package/dist/components/arcgis-editor/customElement.js +19 -14
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +15 -7
- package/dist/components/arcgis-elevation-profile/customElement.js +100 -102
- package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +7 -0
- package/dist/components/arcgis-exploratory-analysis/customElement.js +51 -51
- package/dist/components/arcgis-feature-fields/customElement.js +20 -20
- package/dist/components/arcgis-feature-form-field/customElement.d.ts +42 -9
- package/dist/components/arcgis-feature-next/customElement.js +21 -14
- package/dist/components/arcgis-feature-table/customElement.d.ts +58 -39
- package/dist/components/arcgis-features/customElement.d.ts +1 -1
- package/dist/components/arcgis-features/customElement.js +12 -11
- package/dist/components/arcgis-features-next/customElement.d.ts +10 -4
- package/dist/components/arcgis-features-next/customElement.js +174 -137
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -0
- package/dist/components/arcgis-floor-filter/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/interfaces.d.ts +72 -0
- package/dist/components/arcgis-fullscreen/customElement.js +4 -4
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +2 -0
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +15 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +27 -20
- package/dist/components/arcgis-link-chart/customElement.js +28 -28
- package/dist/components/arcgis-locate/customElement.js +6 -6
- package/dist/components/arcgis-map/customElement.d.ts +44 -36
- package/dist/components/arcgis-map/customElement.js +21 -21
- package/dist/components/arcgis-measurement-content/customElement.js +6 -6
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +8 -5
- package/dist/components/arcgis-popup/customElement.d.ts +10 -4
- package/dist/components/arcgis-popup/customElement.js +32 -28
- package/dist/components/arcgis-print-datum-transformation-input/customElement.js +17 -17
- package/dist/components/arcgis-scene/customElement.d.ts +27 -20
- package/dist/components/arcgis-scene/customElement.js +19 -19
- package/dist/components/arcgis-search/customElement.d.ts +1 -2
- package/dist/components/arcgis-selection-list/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +19 -10
- package/dist/components/arcgis-sketch/customElement.js +393 -235
- package/dist/components/arcgis-sketch/toolbar-sizing-controller.d.ts +96 -0
- package/dist/components/arcgis-slice/customElement.js +24 -24
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +12 -4
- package/dist/components/arcgis-slider-scale-range/customElement.js +5 -5
- package/dist/components/arcgis-slider-scale-range/spriteSheetsUtils.d.ts +8 -3
- package/dist/components/arcgis-swipe/customElement.d.ts +10 -9
- package/dist/components/arcgis-swipe/customElement.js +246 -46
- package/dist/components/arcgis-swipe/types.d.ts +3 -0
- package/dist/components/arcgis-table-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +2 -4
- package/dist/components/arcgis-time-bar/customElement.js +122 -120
- package/dist/components/arcgis-time-bar-date/customElement.js +10 -10
- package/dist/components/arcgis-time-bar-extent/customElement.js +9 -9
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +8 -0
- package/dist/components/arcgis-time-bar-slider/customElement.js +57 -62
- package/dist/components/arcgis-track/customElement.d.ts +3 -3
- package/dist/components/arcgis-track/types.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +100 -20
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +9 -5
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +61 -68
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +117 -29
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +10 -10
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +56 -9
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +26 -3
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +53 -50
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +237 -33
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +37 -37
- package/dist/components/arcgis-video/customElement.js +6 -6
- package/dist/components/arcgis-video-player/VideoPlayerViewModel.d.ts +2 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +2 -6
- package/dist/components/arcgis-video-player/types.d.ts +6 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +30 -10
- package/dist/components/arcgis-volume-measurement/customElement.js +62 -62
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.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 +22 -0
- package/dist/loader.js +9 -8
- package/dist/types/lumina.d.ts +17 -6
- package/dist/types/preact.d.ts +18 -6
- package/dist/types/react.d.ts +19 -6
- package/dist/types/stencil.d.ts +17 -6
- package/package.json +9 -9
- package/dist/cdn/2BGZVOT3.js +0 -2
- package/dist/cdn/2F4IGA4W.js +0 -2
- package/dist/cdn/2KPCMM7D.js +0 -2
- package/dist/cdn/2S7DLLA7.js +0 -2
- package/dist/cdn/2TY3T3GH.js +0 -2
- package/dist/cdn/2U3VASQT.js +0 -2
- package/dist/cdn/3N5MWYUQ.js +0 -2
- package/dist/cdn/3UMLR76Y.js +0 -4
- package/dist/cdn/3VCGDZEU.js +0 -2
- package/dist/cdn/4432P7Z5.js +0 -2
- package/dist/cdn/44CQCIZB.js +0 -2
- package/dist/cdn/4B2TLORL.js +0 -2
- package/dist/cdn/4IWYFG2G.js +0 -2
- package/dist/cdn/4KQA2GRX.js +0 -2
- package/dist/cdn/4O3HLHQQ.js +0 -2
- package/dist/cdn/4PI54LJH.js +0 -2
- package/dist/cdn/4WKWYFIH.js +0 -2
- package/dist/cdn/4XJ6RYYC.js +0 -2
- package/dist/cdn/4ZLIA5OM.js +0 -2
- package/dist/cdn/5AMF6NZN.js +0 -2
- package/dist/cdn/5ESNA4SF.js +0 -2
- package/dist/cdn/62IE7RFR.js +0 -2
- package/dist/cdn/67PT3A4A.js +0 -2
- package/dist/cdn/6A2OF3TO.js +0 -2
- package/dist/cdn/6QH2NH2Z.js +0 -2
- package/dist/cdn/6UYEO5Q7.js +0 -2
- package/dist/cdn/77U2VO5P.js +0 -2
- package/dist/cdn/7DFCYS72.js +0 -2
- package/dist/cdn/7FCZLFJD.js +0 -2
- package/dist/cdn/7FFBCPVE.js +0 -2
- package/dist/cdn/7TULU5QF.js +0 -2
- package/dist/cdn/7VDBR3SK.js +0 -2
- package/dist/cdn/7VJQVX42.js +0 -2
- package/dist/cdn/A3DPMZWE.js +0 -2
- package/dist/cdn/A4VK42OW.js +0 -2
- package/dist/cdn/A7RLC6ZT.js +0 -2
- package/dist/cdn/AL3PLZEE.js +0 -2
- package/dist/cdn/ALVAGE57.js +0 -2
- package/dist/cdn/AS4FG6IT.js +0 -2
- package/dist/cdn/BI2SI2HK.js +0 -2
- package/dist/cdn/BLOQ2AJ5.js +0 -2
- package/dist/cdn/BM4TS2RT.js +0 -2
- package/dist/cdn/BQGY4YCS.js +0 -2
- package/dist/cdn/BTVNXUZQ.js +0 -2
- package/dist/cdn/BVTEQMDF.js +0 -2
- package/dist/cdn/CBVICP6P.js +0 -2
- package/dist/cdn/CHL5VZJQ.js +0 -3
- package/dist/cdn/CNYZSE22.js +0 -2
- package/dist/cdn/COCGWEUR.js +0 -2
- package/dist/cdn/CP5JALYQ.js +0 -2
- package/dist/cdn/CPYVZPJ7.js +0 -2
- package/dist/cdn/CR6PVUCT.js +0 -2
- package/dist/cdn/DDSIQO4G.js +0 -2
- package/dist/cdn/DK7HXJSX.js +0 -2
- package/dist/cdn/DLWQZHNA.js +0 -2
- package/dist/cdn/DTORO2OE.js +0 -2
- package/dist/cdn/DYUCS5QP.js +0 -2
- package/dist/cdn/DYWCAORU.js +0 -2
- package/dist/cdn/E5L3MOIC.js +0 -2
- package/dist/cdn/EHEWQ23K.js +0 -2
- package/dist/cdn/EOAVDNBZ.js +0 -2
- package/dist/cdn/EPH5BN6X.js +0 -2
- package/dist/cdn/EZCHUWDK.js +0 -2
- package/dist/cdn/F34QQ4DO.js +0 -2
- package/dist/cdn/FDJGQHUA.js +0 -2
- package/dist/cdn/FF7BSRYW.js +0 -2
- package/dist/cdn/FIZMK7GS.js +0 -1
- package/dist/cdn/G26V76WA.js +0 -2
- package/dist/cdn/GCEBFEZ5.js +0 -2
- package/dist/cdn/GFNCEZSN.js +0 -2
- package/dist/cdn/GHVT7W4O.js +0 -2
- package/dist/cdn/GII4POXM.js +0 -2
- package/dist/cdn/GIIYVCKT.js +0 -2
- package/dist/cdn/GJKFDTVX.js +0 -2
- package/dist/cdn/GK47522P.js +0 -2
- package/dist/cdn/GS2HJTMU.js +0 -2
- package/dist/cdn/GUHSWQMF.js +0 -2
- package/dist/cdn/GUZYCRYS.js +0 -2
- package/dist/cdn/HDHWPKJ4.js +0 -2
- package/dist/cdn/HKLBQ7JD.js +0 -2
- package/dist/cdn/HQSY7TKA.js +0 -2
- package/dist/cdn/IDIAWXUO.js +0 -2
- package/dist/cdn/IFR4IYSI.js +0 -2
- package/dist/cdn/IITDAOGZ.js +0 -2
- package/dist/cdn/ILQDA7LL.js +0 -2
- package/dist/cdn/IQOQTYRR.js +0 -2
- package/dist/cdn/JBK5HTJ2.js +0 -2
- package/dist/cdn/JF7VJGL4.js +0 -2
- package/dist/cdn/K23R26AN.js +0 -2
- package/dist/cdn/K7ELALW4.js +0 -2
- package/dist/cdn/K7XSWKZ2.js +0 -2
- package/dist/cdn/KCLVDXWB.js +0 -2
- package/dist/cdn/KFTFKI6A.js +0 -2
- package/dist/cdn/KGUALNRF.js +0 -4
- package/dist/cdn/KLVBRTYU.js +0 -2
- package/dist/cdn/KPUEQZ7O.js +0 -2
- package/dist/cdn/KVYBIOH5.js +0 -2
- package/dist/cdn/L2F4HQYY.js +0 -2
- package/dist/cdn/L46JLXJT.js +0 -2
- package/dist/cdn/LC37F7HF.js +0 -2
- package/dist/cdn/LKAJVIS2.js +0 -2
- package/dist/cdn/M2LKA37F.js +0 -2
- package/dist/cdn/M42QFFPZ.js +0 -2
- package/dist/cdn/M5KYBYZT.js +0 -2
- package/dist/cdn/MA2GVVQJ.js +0 -2
- package/dist/cdn/MCMACXJV.js +0 -2
- package/dist/cdn/MDWBYUFG.js +0 -2
- package/dist/cdn/MFWSWLBW.js +0 -2
- package/dist/cdn/MMYODAC2.js +0 -2
- package/dist/cdn/MQYTZX24.js +0 -2
- package/dist/cdn/MUNSXJ5X.js +0 -2
- package/dist/cdn/MWIDHMQZ.js +0 -2
- package/dist/cdn/NFCFPU7K.js +0 -2
- package/dist/cdn/NJPPZJ3L.js +0 -2
- package/dist/cdn/NQOS7L2J.js +0 -2
- package/dist/cdn/NY7RHFLZ.js +0 -2
- package/dist/cdn/O5YJPUFM.js +0 -2
- package/dist/cdn/O6HYZKBU.js +0 -2
- package/dist/cdn/OPNJGHML.js +0 -2
- package/dist/cdn/OSDGWHZZ.js +0 -2
- package/dist/cdn/P3PXDT5V.js +0 -2
- package/dist/cdn/PBYHBRG7.js +0 -2
- package/dist/cdn/PDH2DA3L.js +0 -2
- package/dist/cdn/PGK2ZJCX.js +0 -2
- package/dist/cdn/PGSBUAGV.js +0 -2
- package/dist/cdn/PGXNWDD3.js +0 -2
- package/dist/cdn/PJ5OUPGO.js +0 -2
- package/dist/cdn/PMRI66RQ.js +0 -2
- package/dist/cdn/PZSKFFTG.js +0 -2
- package/dist/cdn/PZUVKZGQ.js +0 -2
- package/dist/cdn/QOIURU47.js +0 -2
- package/dist/cdn/QPSAD5DG.js +0 -2
- package/dist/cdn/QTB5YKHB.js +0 -2
- package/dist/cdn/QWIDIEXY.js +0 -2
- package/dist/cdn/R5QMO5FY.js +0 -2
- package/dist/cdn/R5TCWJ6V.js +0 -2
- package/dist/cdn/R5YW65AI.js +0 -2
- package/dist/cdn/R67ZOCIR.js +0 -2
- package/dist/cdn/RGTUSH6U.js +0 -2
- package/dist/cdn/RVEUCXT4.js +0 -2
- package/dist/cdn/RZGWZ2FJ.js +0 -2
- package/dist/cdn/S7ORGB5E.js +0 -2
- package/dist/cdn/SEY3WDK2.js +0 -2
- package/dist/cdn/SG55TVJ5.js +0 -2
- package/dist/cdn/SHU4AE2X.js +0 -2
- package/dist/cdn/SIZZ3BQA.js +0 -2
- package/dist/cdn/SK5CTCTZ.js +0 -2
- package/dist/cdn/SLAFIIZU.js +0 -2
- package/dist/cdn/SLSGW7B6.js +0 -2
- package/dist/cdn/SNNAV3AS.js +0 -2
- package/dist/cdn/SR4V2CUQ.js +0 -2
- package/dist/cdn/TA723HWT.js +0 -2
- package/dist/cdn/THJMCEEO.js +0 -2
- package/dist/cdn/TIBX6CCV.js +0 -2
- package/dist/cdn/TJQ3GP5V.js +0 -2
- package/dist/cdn/TO6SOEDF.js +0 -2
- package/dist/cdn/TPVHN6P2.js +0 -2
- package/dist/cdn/TSNUOFL7.js +0 -2
- package/dist/cdn/U5DIWFPP.js +0 -2
- package/dist/cdn/UTV2A7J4.js +0 -2
- package/dist/cdn/UUNHAVGJ.js +0 -2
- package/dist/cdn/VDKEQI3H.js +0 -2
- package/dist/cdn/VZ6UFS6H.js +0 -2
- package/dist/cdn/W6PA72LV.js +0 -2
- package/dist/cdn/WK4TNKKC.js +0 -2
- package/dist/cdn/WO26ZR5Z.js +0 -2
- package/dist/cdn/WQI5PKS4.js +0 -2
- package/dist/cdn/WUTCKBNC.js +0 -2
- package/dist/cdn/X7BOBKIH.js +0 -2
- package/dist/cdn/XCTPKDKL.js +0 -2
- package/dist/cdn/XYF36P2O.js +0 -2
- package/dist/cdn/Y42K6IOP.js +0 -2
- package/dist/cdn/YCHVPSSP.js +0 -2
- package/dist/cdn/YFTQR2WS.js +0 -2
- package/dist/cdn/YTLRTUMD.js +0 -2
- package/dist/cdn/YZUSPKNF.js +0 -2
- package/dist/cdn/Z2ABUIL3.js +0 -2
- package/dist/cdn/Z3W7LQ5M.js +0 -2
- package/dist/cdn/Z7H4V2JZ.js +0 -2
- package/dist/cdn/ZF4DFDLT.js +0 -2
- package/dist/cdn/ZFO3PVZQ.js +0 -2
- package/dist/cdn/ZGOAZB5L.js +0 -2
- package/dist/cdn/ZKWI43WZ.js +0 -2
- /package/dist/cdn/{ND3V4Z4F.js → UDXDE3LW.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as q } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as H, html as p, nothing as
|
|
3
|
+
import { css as H, html as p, nothing as b } from "lit";
|
|
4
4
|
import j from "@arcgis/core/core/Accessor.js";
|
|
5
5
|
import f from "@arcgis/core/time/TimeExtent.js";
|
|
6
6
|
import L from "@arcgis/core/webdoc/widgets/TimeSlider.js";
|
|
7
7
|
import G from "@arcgis/core/webdoc/Widgets.js";
|
|
8
8
|
import { a as U, b as X, i as Y } from "../../chunks/async-utils.js";
|
|
9
|
-
import { c as J, e as K, g as Z, i as
|
|
9
|
+
import { c as J, e as K, g as Z, i as I, h as Q, j as tt, k as et, l as N, a as it } from "../../chunks/dateUtils.js";
|
|
10
10
|
import { convertDateFormatToIntlOptions as E } from "@arcgis/core/intl.js";
|
|
11
11
|
import { r as st, u as at, s as nt } from "../../chunks/time-utils.js";
|
|
12
12
|
import ot from "@arcgis/core/time/TimeInterval.js";
|
|
@@ -14,28 +14,28 @@ import { getTimeSliderSettingsFromWebDocument as rt } from "@arcgis/core/support
|
|
|
14
14
|
import { log as lt } from "@arcgis/toolkit/log";
|
|
15
15
|
import { property as l, subclass as ct } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
16
16
|
import { watch as g, whenOnce as B } from "@arcgis/core/core/reactiveUtils.js";
|
|
17
|
-
import { LitElement as
|
|
18
|
-
import { createRef as ut, ref as
|
|
17
|
+
import { LitElement as mt, createEvent as ht } from "@arcgis/lumina";
|
|
18
|
+
import { createRef as ut, ref as O } from "lit/directives/ref.js";
|
|
19
19
|
import { getSlotAssignedElements as dt } from "@arcgis/toolkit/dom/slots";
|
|
20
20
|
import { m as pt } from "../../chunks/useViewModel.js";
|
|
21
21
|
import { useDirection as vt, usePropertyChange as gt } from "@arcgis/lumina/controllers";
|
|
22
22
|
import { u as ft } from "../../chunks/useT9n.js";
|
|
23
23
|
const z = /* @__PURE__ */ new WeakMap(), W = /* @__PURE__ */ new WeakMap();
|
|
24
24
|
function yt(t) {
|
|
25
|
-
const { locale: e, formatOptions: a } = t,
|
|
25
|
+
const { locale: e, formatOptions: a } = t, o = bt(a), c = new Intl.DateTimeFormat(e, o);
|
|
26
26
|
return z.set(t, c), c;
|
|
27
27
|
}
|
|
28
28
|
function wt(t) {
|
|
29
|
-
const { locale: e, formatOptions: a } = t,
|
|
30
|
-
return W.set(t,
|
|
29
|
+
const { locale: e, formatOptions: a } = t, o = new Intl.NumberFormat(e, a);
|
|
30
|
+
return W.set(t, o), o;
|
|
31
31
|
}
|
|
32
32
|
function xt(t) {
|
|
33
33
|
return z.get(t) ?? yt(t);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function _t(t) {
|
|
36
36
|
return W.get(t) ?? wt(t);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function bt(t) {
|
|
39
39
|
return t.timeZone ? {
|
|
40
40
|
...t,
|
|
41
41
|
timeZone: st(t.timeZone)
|
|
@@ -106,29 +106,29 @@ const i = (t, e) => ({ tick: t, tickFormat: e }), s = {
|
|
|
106
106
|
];
|
|
107
107
|
function Tt(t) {
|
|
108
108
|
return Et.map(({ tick: e, tickFormat: a }) => {
|
|
109
|
-
const
|
|
109
|
+
const o = new ot(e), c = o.toMilliseconds(), m = {
|
|
110
110
|
...a,
|
|
111
111
|
timeZone: t
|
|
112
112
|
};
|
|
113
|
-
return { duration: c, format:
|
|
113
|
+
return { duration: c, format: m, timeInterval: o };
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
116
|
var St = Object.defineProperty, Mt = Object.getOwnPropertyDescriptor, V = (t) => {
|
|
117
117
|
throw TypeError(t);
|
|
118
|
-
}, r = (t, e, a,
|
|
119
|
-
for (var c =
|
|
120
|
-
(u = t[
|
|
121
|
-
return
|
|
122
|
-
}, R = (t, e, a) => e.has(t) || V("Cannot " + a), T = (t, e, a) => (R(t, e, "read from private field"), a ? a.call(t) : e.get(t)), D = (t, e, a) => e.has(t) ? V("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, a), $t = (t, e, a,
|
|
123
|
-
let
|
|
118
|
+
}, r = (t, e, a, o) => {
|
|
119
|
+
for (var c = o > 1 ? void 0 : o ? Mt(e, a) : e, m = t.length - 1, u; m >= 0; m--)
|
|
120
|
+
(u = t[m]) && (c = (o ? u(e, a, c) : u(c)) || c);
|
|
121
|
+
return o && c && St(e, a, c), c;
|
|
122
|
+
}, R = (t, e, a) => e.has(t) || V("Cannot " + a), T = (t, e, a) => (R(t, e, "read from private field"), a ? a.call(t) : e.get(t)), D = (t, e, a) => e.has(t) ? V("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, a), $t = (t, e, a, o) => (R(t, e, "write to private field"), e.set(t, a), a), d = (t, e, a) => (R(t, e, "access private method"), a), w, S, h, P, k, F, A, x, M, C;
|
|
123
|
+
let n = class extends j {
|
|
124
124
|
constructor() {
|
|
125
|
-
super(...arguments), D(this,
|
|
125
|
+
super(...arguments), D(this, h), D(this, w, new AbortController()), D(this, S, !1), this.disabled = !1, this.format = "date", this.loadPersistedSettingsDisabled = !1, this.loop = !1, this.mode = "time-window", this.reverseAnimation = !1, this.savePersistedSettingsDisabled = !1, this.stops = K;
|
|
126
126
|
}
|
|
127
127
|
get _adjustedTickFormat() {
|
|
128
128
|
const { era: t, timeZone: e } = this;
|
|
129
129
|
return {
|
|
130
|
-
...this.tickFormat,
|
|
131
|
-
era: this.tickFormat?.year ? t : void 0,
|
|
130
|
+
...this.tickFormat?.format,
|
|
131
|
+
era: this.tickFormat?.format.year ? t : void 0,
|
|
132
132
|
timeZone: e
|
|
133
133
|
};
|
|
134
134
|
}
|
|
@@ -162,11 +162,11 @@ let o = class extends j {
|
|
|
162
162
|
get _thumbStopIndices() {
|
|
163
163
|
const { _thumbPositions: t, effectiveStopsEpoch: e } = this;
|
|
164
164
|
return !t || !e ? null : t.map((a) => {
|
|
165
|
-
const
|
|
166
|
-
if (
|
|
167
|
-
return
|
|
165
|
+
const o = e.indexOf(a);
|
|
166
|
+
if (o !== -1)
|
|
167
|
+
return o;
|
|
168
168
|
const c = e.reduce(
|
|
169
|
-
(
|
|
169
|
+
(m, u) => Math.abs(u - a) < Math.abs(m - a) ? u : m
|
|
170
170
|
);
|
|
171
171
|
return e.indexOf(c);
|
|
172
172
|
});
|
|
@@ -176,31 +176,31 @@ let o = class extends j {
|
|
|
176
176
|
return { ...E("long-time"), timeZone: t };
|
|
177
177
|
}
|
|
178
178
|
get canPrevious() {
|
|
179
|
-
return this._thumbStopIndices?.map((t) => --t).every((t) => d(this,
|
|
179
|
+
return this._thumbStopIndices?.map((t) => --t).every((t) => d(this, h, F).call(this, t)) ?? !1;
|
|
180
180
|
}
|
|
181
181
|
get canNext() {
|
|
182
|
-
return this._thumbStopIndices?.map((t) => ++t).every((t) => d(this,
|
|
182
|
+
return this._thumbStopIndices?.map((t) => ++t).every((t) => d(this, h, F).call(this, t)) ?? !1;
|
|
183
183
|
}
|
|
184
184
|
get effectiveStops() {
|
|
185
185
|
const { fullTimeExtent: t, stops: e } = this;
|
|
186
186
|
if (!e)
|
|
187
187
|
return;
|
|
188
188
|
if (Z(e)) {
|
|
189
|
-
const { dates:
|
|
190
|
-
if (!
|
|
189
|
+
const { dates: o } = e;
|
|
190
|
+
if (!o?.length)
|
|
191
191
|
return;
|
|
192
|
-
const c =
|
|
192
|
+
const c = o.sort(($, _) => $.getTime() - _.getTime());
|
|
193
193
|
if (!t?.start || !t?.end)
|
|
194
194
|
return c;
|
|
195
|
-
const { start:
|
|
195
|
+
const { start: m, end: u } = t, y = m.getTime(), v = u.getTime();
|
|
196
196
|
return c.filter(($) => {
|
|
197
|
-
const
|
|
198
|
-
return
|
|
197
|
+
const _ = $.getTime();
|
|
198
|
+
return _ >= y && _ <= v;
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
201
|
const a = e.timeExtent ?? t;
|
|
202
202
|
if (a)
|
|
203
|
-
return
|
|
203
|
+
return I(e) ? Q(a, e.count) : tt(a, e.interval);
|
|
204
204
|
}
|
|
205
205
|
get effectiveStopsEpoch() {
|
|
206
206
|
return this.effectiveStops?.map((t) => t.getTime());
|
|
@@ -212,14 +212,14 @@ let o = class extends j {
|
|
|
212
212
|
return !(this.disabled || this.state === "disabled" || this.timeZone === at);
|
|
213
213
|
}
|
|
214
214
|
get isOutOfRange() {
|
|
215
|
-
const { timeExtent: t, fullTimeExtent: e } = this, { start: a, end:
|
|
216
|
-
if (!a || !
|
|
215
|
+
const { timeExtent: t, fullTimeExtent: e } = this, { start: a, end: o } = e ?? {};
|
|
216
|
+
if (!a || !o || !t || t.isAllTime || t.isEmpty)
|
|
217
217
|
return !0;
|
|
218
|
-
const { start: c, end:
|
|
218
|
+
const { start: c, end: m } = t ?? {}, u = c != null && (c < a || c > o), y = m != null && (m > o || m < a);
|
|
219
219
|
return u || y;
|
|
220
220
|
}
|
|
221
221
|
set playRate(t) {
|
|
222
|
-
t <= 0 || t > 1e3 * 60 * 60 || (this.state === "playing" && d(this,
|
|
222
|
+
t <= 0 || t > 1e3 * 60 * 60 || (this.state === "playing" && d(this, h, A).call(this), this._set("playRate", t));
|
|
223
223
|
}
|
|
224
224
|
get state() {
|
|
225
225
|
return this.fullTimeExtent ? this._animationController ? "playing" : "ready" : "disabled";
|
|
@@ -230,6 +230,13 @@ let o = class extends j {
|
|
|
230
230
|
get tickFormats() {
|
|
231
231
|
return Tt(this.timeZone);
|
|
232
232
|
}
|
|
233
|
+
get tickValues() {
|
|
234
|
+
const { fullTimeExtent: t, tickFormat: e, timeZone: a } = this;
|
|
235
|
+
if (!t || !e)
|
|
236
|
+
return [];
|
|
237
|
+
const { start: o, end: c } = t;
|
|
238
|
+
return !o || !c ? [] : et(o, c, e.timeInterval, a).map((u) => u.getTime());
|
|
239
|
+
}
|
|
233
240
|
get timeZone() {
|
|
234
241
|
return this._userTimeZone ?? this.viewTimeZone ?? nt;
|
|
235
242
|
}
|
|
@@ -242,7 +249,7 @@ let o = class extends j {
|
|
|
242
249
|
//#endregion
|
|
243
250
|
//#region Public Methods
|
|
244
251
|
destroy() {
|
|
245
|
-
T(this, w).abort(), this.view?.unregisterComponent(this), d(this,
|
|
252
|
+
T(this, w).abort(), this.view?.unregisterComponent(this), d(this, h, M).call(this);
|
|
246
253
|
}
|
|
247
254
|
formatDate(t) {
|
|
248
255
|
return this._formatDate(t, this._dateFormat);
|
|
@@ -256,13 +263,6 @@ let o = class extends j {
|
|
|
256
263
|
formatTime(t) {
|
|
257
264
|
return this._formatDate(t, this._timeFormat);
|
|
258
265
|
}
|
|
259
|
-
getTickValues(t) {
|
|
260
|
-
const { fullTimeExtent: e, timeZone: a } = this;
|
|
261
|
-
if (!e)
|
|
262
|
-
return [];
|
|
263
|
-
const { start: n, end: c } = e;
|
|
264
|
-
return !n || !c ? [] : et(n, c, t, a).map((u) => u.getTime());
|
|
265
|
-
}
|
|
266
266
|
async initialize() {
|
|
267
267
|
this.addHandles([
|
|
268
268
|
/* This watch is used to initialize the timeExtent when the effectiveStops are first computed. */
|
|
@@ -347,16 +347,16 @@ let o = class extends j {
|
|
|
347
347
|
);
|
|
348
348
|
}
|
|
349
349
|
next() {
|
|
350
|
-
d(this,
|
|
350
|
+
d(this, h, x).call(this, { forward: !0, allowRestart: !1 });
|
|
351
351
|
}
|
|
352
352
|
play() {
|
|
353
|
-
d(this,
|
|
353
|
+
d(this, h, A).call(this);
|
|
354
354
|
}
|
|
355
355
|
previous() {
|
|
356
|
-
d(this,
|
|
356
|
+
d(this, h, x).call(this, { forward: !1, allowRestart: !1 });
|
|
357
357
|
}
|
|
358
358
|
stop() {
|
|
359
|
-
d(this,
|
|
359
|
+
d(this, h, M).call(this);
|
|
360
360
|
}
|
|
361
361
|
updateWebDocument(t) {
|
|
362
362
|
if (this.savePersistedSettingsDisabled)
|
|
@@ -365,7 +365,7 @@ let o = class extends j {
|
|
|
365
365
|
currentTimeExtent: this.timeExtent,
|
|
366
366
|
fullTimeExtent: this.fullTimeExtent,
|
|
367
367
|
loop: this.loop,
|
|
368
|
-
numStops:
|
|
368
|
+
numStops: I(this.stops) ? this.stops.count : null,
|
|
369
369
|
numThumbs: this.mode === "time-window" ? 2 : 1,
|
|
370
370
|
stopDelay: this.playRate,
|
|
371
371
|
stopInterval: it(this.stops) ? this.stops.interval : null,
|
|
@@ -377,13 +377,13 @@ let o = class extends j {
|
|
|
377
377
|
return xt({ locale: this.locale, formatOptions: e }).format(t);
|
|
378
378
|
}
|
|
379
379
|
_formatNumber(t, e) {
|
|
380
|
-
return
|
|
380
|
+
return _t({ locale: this.locale, formatOptions: e }).format(t);
|
|
381
381
|
}
|
|
382
382
|
//#endregion
|
|
383
383
|
};
|
|
384
384
|
w = /* @__PURE__ */ new WeakMap();
|
|
385
385
|
S = /* @__PURE__ */ new WeakMap();
|
|
386
|
-
|
|
386
|
+
h = /* @__PURE__ */ new WeakSet();
|
|
387
387
|
P = async function() {
|
|
388
388
|
try {
|
|
389
389
|
const { view: t } = this, e = this._animationController?.signal;
|
|
@@ -392,26 +392,26 @@ P = async function() {
|
|
|
392
392
|
Y(t) || lt("error", "arcgis-slider-time", "animation error", { detail: { error: t } }), this._animationController = void 0;
|
|
393
393
|
return;
|
|
394
394
|
}
|
|
395
|
-
d(this,
|
|
395
|
+
d(this, h, x).call(this, { forward: !this.reverseAnimation, allowRestart: !1 }), this._animationController && d(this, h, P).call(this);
|
|
396
396
|
};
|
|
397
397
|
k = function(t) {
|
|
398
398
|
return t ? this.canNext : this.canPrevious;
|
|
399
399
|
};
|
|
400
|
-
|
|
400
|
+
F = function(t) {
|
|
401
401
|
return t >= 0 && t < (this.effectiveStopsEpoch?.length ?? 0);
|
|
402
402
|
};
|
|
403
|
-
|
|
404
|
-
d(this,
|
|
403
|
+
A = function() {
|
|
404
|
+
d(this, h, M).call(this), this._animationController = new AbortController(), d(this, h, x).call(this, { forward: !this.reverseAnimation, allowRestart: !0 }), d(this, h, P).call(this);
|
|
405
405
|
};
|
|
406
406
|
x = function({ forward: t, allowRestart: e }) {
|
|
407
|
-
const { _thumbStopIndices: a, effectiveStopsEpoch:
|
|
408
|
-
if (!(!a || !
|
|
409
|
-
if (d(this,
|
|
410
|
-
const
|
|
411
|
-
this.timeExtent = d(this,
|
|
407
|
+
const { _thumbStopIndices: a, effectiveStopsEpoch: o } = this;
|
|
408
|
+
if (!(!a || !o))
|
|
409
|
+
if (d(this, h, k).call(this, t)) {
|
|
410
|
+
const m = a.map((u) => u + (t ? 1 : -1)).map((u) => o[u]);
|
|
411
|
+
this.timeExtent = d(this, h, C).call(this, m), !this.loop && !d(this, h, k).call(this, t) && this.stop();
|
|
412
412
|
} else if (this.loop || e) {
|
|
413
|
-
const c = Math.min(...a),
|
|
414
|
-
this.timeExtent = d(this,
|
|
413
|
+
const c = Math.min(...a), m = Math.max(...a), y = (t ? a.map((v) => v - c) : a.map((v) => v + (o.length - 1 - m))).map((v) => o[v]);
|
|
414
|
+
this.timeExtent = d(this, h, C).call(this, y);
|
|
415
415
|
} else
|
|
416
416
|
this.stop();
|
|
417
417
|
};
|
|
@@ -421,120 +421,123 @@ M = function() {
|
|
|
421
421
|
C = function(t) {
|
|
422
422
|
if (!t)
|
|
423
423
|
return;
|
|
424
|
-
const e = [...t].sort((a,
|
|
424
|
+
const e = [...t].sort((a, o) => a - o).map((a) => new Date(a));
|
|
425
425
|
return N(e, this.mode);
|
|
426
426
|
};
|
|
427
427
|
r([
|
|
428
428
|
l()
|
|
429
|
-
],
|
|
429
|
+
], n.prototype, "_adjustedTickFormat", 1);
|
|
430
430
|
r([
|
|
431
431
|
l()
|
|
432
|
-
],
|
|
432
|
+
], n.prototype, "_animationController", 2);
|
|
433
433
|
r([
|
|
434
434
|
l()
|
|
435
|
-
],
|
|
435
|
+
], n.prototype, "_dateFormat", 1);
|
|
436
436
|
r([
|
|
437
437
|
l()
|
|
438
|
-
],
|
|
438
|
+
], n.prototype, "_dateTimeFormat", 1);
|
|
439
439
|
r([
|
|
440
440
|
l()
|
|
441
|
-
],
|
|
441
|
+
], n.prototype, "_thumbPositions", 1);
|
|
442
442
|
r([
|
|
443
443
|
l()
|
|
444
|
-
],
|
|
444
|
+
], n.prototype, "_thumbStopIndices", 1);
|
|
445
445
|
r([
|
|
446
446
|
l()
|
|
447
|
-
],
|
|
447
|
+
], n.prototype, "_timeFormat", 1);
|
|
448
448
|
r([
|
|
449
449
|
l()
|
|
450
|
-
],
|
|
450
|
+
], n.prototype, "_userTimeZone", 2);
|
|
451
451
|
r([
|
|
452
452
|
l()
|
|
453
|
-
],
|
|
453
|
+
], n.prototype, "canPrevious", 1);
|
|
454
454
|
r([
|
|
455
455
|
l()
|
|
456
|
-
],
|
|
456
|
+
], n.prototype, "canNext", 1);
|
|
457
457
|
r([
|
|
458
458
|
l()
|
|
459
|
-
],
|
|
459
|
+
], n.prototype, "disabled", 2);
|
|
460
460
|
r([
|
|
461
461
|
l()
|
|
462
|
-
],
|
|
462
|
+
], n.prototype, "effectiveStops", 1);
|
|
463
463
|
r([
|
|
464
464
|
l()
|
|
465
|
-
],
|
|
465
|
+
], n.prototype, "effectiveStopsEpoch", 1);
|
|
466
466
|
r([
|
|
467
467
|
l()
|
|
468
|
-
],
|
|
468
|
+
], n.prototype, "era", 1);
|
|
469
469
|
r([
|
|
470
470
|
l()
|
|
471
|
-
],
|
|
471
|
+
], n.prototype, "format", 2);
|
|
472
472
|
r([
|
|
473
473
|
l({ type: f })
|
|
474
|
-
],
|
|
474
|
+
], n.prototype, "fullTimeExtent", 2);
|
|
475
475
|
r([
|
|
476
476
|
l()
|
|
477
|
-
],
|
|
477
|
+
], n.prototype, "interactive", 1);
|
|
478
478
|
r([
|
|
479
479
|
l()
|
|
480
|
-
],
|
|
480
|
+
], n.prototype, "isOutOfRange", 1);
|
|
481
481
|
r([
|
|
482
482
|
l()
|
|
483
|
-
],
|
|
483
|
+
], n.prototype, "loadPersistedSettingsDisabled", 2);
|
|
484
484
|
r([
|
|
485
485
|
l()
|
|
486
|
-
],
|
|
486
|
+
], n.prototype, "locale", 2);
|
|
487
487
|
r([
|
|
488
488
|
l()
|
|
489
|
-
],
|
|
489
|
+
], n.prototype, "loop", 2);
|
|
490
490
|
r([
|
|
491
491
|
l()
|
|
492
|
-
],
|
|
492
|
+
], n.prototype, "mode", 2);
|
|
493
493
|
r([
|
|
494
494
|
l({ value: 1e3 })
|
|
495
|
-
],
|
|
495
|
+
], n.prototype, "playRate", 1);
|
|
496
496
|
r([
|
|
497
497
|
l()
|
|
498
|
-
],
|
|
498
|
+
], n.prototype, "reverseAnimation", 2);
|
|
499
499
|
r([
|
|
500
500
|
l()
|
|
501
|
-
],
|
|
501
|
+
], n.prototype, "savePersistedSettingsDisabled", 2);
|
|
502
502
|
r([
|
|
503
503
|
l()
|
|
504
|
-
],
|
|
504
|
+
], n.prototype, "state", 1);
|
|
505
505
|
r([
|
|
506
506
|
l({ cast: J })
|
|
507
|
-
],
|
|
507
|
+
], n.prototype, "stops", 2);
|
|
508
508
|
r([
|
|
509
509
|
l()
|
|
510
|
-
],
|
|
510
|
+
], n.prototype, "tickFormat", 2);
|
|
511
511
|
r([
|
|
512
512
|
l()
|
|
513
|
-
],
|
|
513
|
+
], n.prototype, "tickFormatter", 1);
|
|
514
514
|
r([
|
|
515
515
|
l()
|
|
516
|
-
],
|
|
516
|
+
], n.prototype, "tickFormats", 1);
|
|
517
|
+
r([
|
|
518
|
+
l()
|
|
519
|
+
], n.prototype, "tickValues", 1);
|
|
517
520
|
r([
|
|
518
521
|
l({ type: f })
|
|
519
|
-
],
|
|
522
|
+
], n.prototype, "timeExtent", 2);
|
|
520
523
|
r([
|
|
521
524
|
l()
|
|
522
|
-
],
|
|
525
|
+
], n.prototype, "timeZone", 1);
|
|
523
526
|
r([
|
|
524
527
|
l()
|
|
525
|
-
],
|
|
528
|
+
], n.prototype, "view", 2);
|
|
526
529
|
r([
|
|
527
530
|
l()
|
|
528
|
-
],
|
|
529
|
-
|
|
531
|
+
], n.prototype, "viewTimeZone", 1);
|
|
532
|
+
n = r([
|
|
530
533
|
ct("components.time-bar.TimeBarViewModel")
|
|
531
|
-
],
|
|
532
|
-
const Dt = H`: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-
|
|
533
|
-
class kt extends
|
|
534
|
+
], n);
|
|
535
|
+
const Dt = H`: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{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight);transition:max-height var(--calcite-internal-animation-timing-medium) ease-in-out}:host([floating]) .action-bar{--calcite-action-bar-shadow: var(--arcgis-internal-box-shadow)}::slotted([slot="actions-end"]){border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding-inline-start:var(--calcite-spacing-sm)}.action-bar,.time-extent-group,.time-extent-group>slot{display:flex;flex:1 0 auto;place-items:center}.action-bar{--calcite-action-bar-shadow: none;--calcite-action-bar-background-color: var(--calcite-color-foreground-1)}.label{block-size:var(--calcite-size-fixed-xxxl);inline-size:175px}.settings{inline-size:calc(var(--arcgis-internal-panel-width) - 2 * var(--calcite-spacing-lg))}`, Pt = pt(n);
|
|
536
|
+
class kt extends mt {
|
|
534
537
|
constructor() {
|
|
535
|
-
super(...arguments), this._viewModel = Pt(this), this.messages = ft({ name: "time-bar", blocking: !0 }), this.#t = ut(), this.#e =
|
|
538
|
+
super(...arguments), this._direction = vt(), this._viewModel = Pt(this), this.messages = ft({ name: "time-bar", blocking: !0 }), this.#t = ut(), this.#e = (e) => {
|
|
536
539
|
this._settingsActionElement = e;
|
|
537
|
-
}, this.autoDestroyDisabled = !1, this.disabled = this._viewModel.disabled, this.effectiveStops = this._viewModel.effectiveStops, this.floating = !1, this.format = this._viewModel.format, this.fullTimeExtent = this._viewModel.fullTimeExtent, this.icon = "clock", this.loadPersistedSettingsDisabled = this._viewModel.loadPersistedSettingsDisabled, this.loop = this._viewModel.loop, this.mode = this._viewModel.mode, this.playRate = this._viewModel.playRate, this.reverseAnimation = this._viewModel.reverseAnimation, this.savePersistedSettingsDisabled = this._viewModel.savePersistedSettingsDisabled, this.showNext = !1, this.showPlay = !1, this.showPrevious = !1, this.showSettings = !1, this.showTimeExtent = !1, this.state = this._viewModel.state, this.stops = this._viewModel.stops, this.timeExtent = this._viewModel.timeExtent, this.timeZone = this._viewModel.timeZone, this.view = this._viewModel.view, this.arcgisPropertyChange = gt()("effectiveStops", "fullTimeExtent", "state", "timeExtent"), this.arcgisReady =
|
|
540
|
+
}, this.autoDestroyDisabled = !1, this.disabled = this._viewModel.disabled, this.effectiveStops = this._viewModel.effectiveStops, this.floating = !1, this.format = this._viewModel.format, this.fullTimeExtent = this._viewModel.fullTimeExtent, this.icon = "clock", this.loadPersistedSettingsDisabled = this._viewModel.loadPersistedSettingsDisabled, this.loop = this._viewModel.loop, this.mode = this._viewModel.mode, this.playRate = this._viewModel.playRate, this.reverseAnimation = this._viewModel.reverseAnimation, this.savePersistedSettingsDisabled = this._viewModel.savePersistedSettingsDisabled, this.showNext = !1, this.showPlay = !1, this.showPrevious = !1, this.showSettings = !1, this.showTimeExtent = !1, this.state = this._viewModel.state, this.stops = this._viewModel.stops, this.timeExtent = this._viewModel.timeExtent, this.timeZone = this._viewModel.timeZone, this.view = this._viewModel.view, this.arcgisPropertyChange = gt()("effectiveStops", "fullTimeExtent", "state", "timeExtent"), this.arcgisReady = ht();
|
|
538
541
|
}
|
|
539
542
|
static {
|
|
540
543
|
this.properties = { _settingsActionElement: 16, autoDestroyDisabled: 5, disabled: 5, effectiveStops: 32, floating: 7, format: 1, fullTimeExtent: 0, icon: 1, label: 1, loadPersistedSettingsDisabled: 5, loop: 5, messageOverrides: 0, mode: 1, playRate: 9, referenceElement: 1, reverseAnimation: 5, savePersistedSettingsDisabled: 5, showNext: 5, showPlay: 5, showPrevious: 5, showSettings: 5, showTimeExtent: 5, state: 32, stops: 0, timeExtent: 0, timeZone: 1, view: 0 };
|
|
@@ -544,7 +547,6 @@ class kt extends ht {
|
|
|
544
547
|
}
|
|
545
548
|
#t;
|
|
546
549
|
#e;
|
|
547
|
-
#i;
|
|
548
550
|
async applyTimeSettings(e) {
|
|
549
551
|
this._viewModel.set(e);
|
|
550
552
|
}
|
|
@@ -570,14 +572,14 @@ class kt extends ht {
|
|
|
570
572
|
e.has("messages") && (this._viewModel.locale = this.messages._lang);
|
|
571
573
|
}
|
|
572
574
|
#m(e) {
|
|
573
|
-
const { currentTarget: a } = e,
|
|
575
|
+
const { currentTarget: a } = e, o = (
|
|
574
576
|
// prioritizes slotted element (if it exists)
|
|
575
577
|
dt(a).at(0) ?? // fallback to default label
|
|
576
578
|
a.querySelector("arcgis-time-bar-extent")
|
|
577
579
|
);
|
|
578
|
-
|
|
580
|
+
o && (o.messages = this.messages, o.viewModel = this._viewModel);
|
|
579
581
|
}
|
|
580
|
-
async #
|
|
582
|
+
async #h() {
|
|
581
583
|
switch (this.state) {
|
|
582
584
|
case "disabled":
|
|
583
585
|
case "playing":
|
|
@@ -587,32 +589,32 @@ class kt extends ht {
|
|
|
587
589
|
}
|
|
588
590
|
}
|
|
589
591
|
render() {
|
|
590
|
-
return p`<div role=presentation><calcite-action-bar class="action-bar" layout=horizontal expand-toggle-disabled .floating=${this.floating} overflow-mode=none>${this
|
|
592
|
+
return p`<div role=presentation><calcite-action-bar class="action-bar" layout=horizontal expand-toggle-disabled .floating=${this.floating} overflow-mode=none>${this._direction === "ltr" ? p`${this.#i()}${this.#a()}${this.#c()}${this.#l()}${this.#s()}` : p`${this.#i()}${this.#l()}${this.#c()}${this.#a()}${this.#s()}`}</calcite-action-bar></div>`;
|
|
591
593
|
}
|
|
592
|
-
#
|
|
594
|
+
#i() {
|
|
593
595
|
return this.showNext || this.showPlay || this.showPrevious || this.showTimeExtent || this.showSettings ? null : p`<calcite-action disabled .text=${this.messages.componentLabel} text-enabled></calcite-action>`;
|
|
594
596
|
}
|
|
595
|
-
#
|
|
597
|
+
#s() {
|
|
596
598
|
return p`<slot name=actions-end slot=actions-end></slot>`;
|
|
597
599
|
}
|
|
600
|
+
#a() {
|
|
601
|
+
return this.showPrevious || this.showPlay || this.showNext ? p`<calcite-action-group>${this._direction === "ltr" ? p`${this.#o()}${this.#r()}${this.#n()}` : p`${this.#n()}${this.#r()}${this.#o()}`}</calcite-action-group>` : null;
|
|
602
|
+
}
|
|
598
603
|
#n() {
|
|
599
|
-
return this.
|
|
604
|
+
return this.showNext ? p`<calcite-action .disabled=${this._viewModel.isOutOfRange || !this._viewModel.interactive || !this.effectiveStops?.length || this.state === "playing" || !this.loop && !this._viewModel.canNext} icon=forward @click=${this.next} .text=${this.messages.next} title=${this.messages.next ?? b}></calcite-action>` : null;
|
|
600
605
|
}
|
|
601
606
|
#o() {
|
|
602
|
-
return this.
|
|
607
|
+
return this.showPlay ? p`<calcite-action .disabled=${this._viewModel.isOutOfRange || !this._viewModel.interactive || !this.effectiveStops?.length} .icon=${this.state === "playing" ? "pause-f" : "play-f"} @click=${this.#h} .text=${this.state === "playing" ? this.messages.stop : this.messages.play} title=${(this.state === "playing" ? this.messages.stop : this.messages.play) ?? b}></calcite-action>` : null;
|
|
603
608
|
}
|
|
604
609
|
#r() {
|
|
605
|
-
return this.
|
|
610
|
+
return this.showPrevious ? p`<calcite-action .disabled=${this._viewModel.isOutOfRange || !this._viewModel.interactive || !this.effectiveStops?.length || this.state === "playing" || !this.loop && !this._viewModel.canPrevious} icon=reverse @click=${this.previous} .text=${this.messages.previous} title=${this.messages.previous ?? b}></calcite-action>` : null;
|
|
606
611
|
}
|
|
607
612
|
#l() {
|
|
608
|
-
return this.
|
|
609
|
-
}
|
|
610
|
-
#c() {
|
|
611
|
-
return this.showSettings ? p`<calcite-action-group><calcite-action .disabled=${!this._viewModel.interactive} .text=${this.messages.settings} icon=sliders-horizontal title=${this.messages.settings ?? _} ${I(this.#i)}></calcite-action>${this._settingsActionElement ? p`<calcite-popover auto-close .heading=${this.messages.timeBarSettings} .label=${this.messages.timeBarSettings} .referenceElement=${this._settingsActionElement} @calcitePopoverClose=${() => {
|
|
613
|
+
return this.showSettings ? p`<calcite-action-group><calcite-action .disabled=${!this._viewModel.interactive} .text=${this.messages.settings} icon=sliders-horizontal title=${this.messages.settings ?? b} ${O(this.#e)}></calcite-action>${this._settingsActionElement ? p`<calcite-popover auto-close .heading=${this.messages.timeBarSettings} .label=${this.messages.timeBarSettings} .referenceElement=${this._settingsActionElement} @calcitePopoverClose=${() => {
|
|
612
614
|
this.#t.value?.navigateToOverview();
|
|
613
|
-
}} overlay-positioning=fixed><slot name=settings><arcgis-time-bar-settings .autoDestroyDisabled=${this.autoDestroyDisabled} class="settings" .messages=${this.messages} .viewModel=${this._viewModel} ${
|
|
615
|
+
}} overlay-positioning=fixed><slot name=settings><arcgis-time-bar-settings .autoDestroyDisabled=${this.autoDestroyDisabled} class="settings" .messages=${this.messages} .viewModel=${this._viewModel} ${O(this.#t)}></arcgis-time-bar-settings></slot></calcite-popover>` : void 0}</calcite-action-group>` : null;
|
|
614
616
|
}
|
|
615
|
-
#
|
|
617
|
+
#c() {
|
|
616
618
|
return this.showTimeExtent ? p`<calcite-action-group class="time-extent-group"><slot name=time-extent @slotchange=${this.#m}><arcgis-time-bar-extent .autoDestroyDisabled=${this.autoDestroyDisabled} class="label" .messages=${this.messages} .viewModel=${this._viewModel}></arcgis-time-bar-extent></slot></calcite-action-group>` : null;
|
|
617
619
|
}
|
|
618
620
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as l } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
const
|
|
6
|
-
class
|
|
3
|
+
import { css as c, html as s } from "lit";
|
|
4
|
+
import { LitElement as o, safeClassMap as r } from "@arcgis/lumina";
|
|
5
|
+
const d = c`:host{block-size:auto;display:inline-grid;inline-size:max-content}.align-center{justify-items:center}.align-end{justify-items:end}.align-start{justify-items:start}.date{font-weight:var(--calcite-font-weight-bold)}.disabled{opacity:var(--calcite-opacity-disabled)}.table-date,.table-date-time{align-content:center;align-items:center;display:grid;grid-template-columns:1fr}.table-date{grid-template-rows:var(--calcite-font-size-sm)}.table-date-time{grid-template-rows:var(--calcite-font-size-sm) var(--calcite-font-size-sm)}.time{font-weight:var(--calcite-font-weight-normal)}`;
|
|
6
|
+
class m extends o {
|
|
7
7
|
constructor() {
|
|
8
8
|
super(...arguments), this.align = "center", this.autoDestroyDisabled = !1;
|
|
9
9
|
}
|
|
@@ -11,7 +11,7 @@ class d extends c {
|
|
|
11
11
|
this.properties = { align: 1, autoDestroyDisabled: 5, date: 0, viewModel: 0 };
|
|
12
12
|
}
|
|
13
13
|
static {
|
|
14
|
-
this.styles =
|
|
14
|
+
this.styles = d;
|
|
15
15
|
}
|
|
16
16
|
async destroy() {
|
|
17
17
|
await this.manager.destroy();
|
|
@@ -20,16 +20,16 @@ class d extends c {
|
|
|
20
20
|
const { align: a, date: e, viewModel: t } = this;
|
|
21
21
|
if (!t || !e)
|
|
22
22
|
return null;
|
|
23
|
-
const {
|
|
23
|
+
const { interactive: n } = t, i = !n;
|
|
24
24
|
switch (t.format) {
|
|
25
25
|
case "date":
|
|
26
|
-
return
|
|
26
|
+
return s`<div class=${r({ "table-date": !0, [`align-${a}`]: !0, disabled: i })}><span class="date">${t.formatDate(e)}</span></div>`;
|
|
27
27
|
case "date-time":
|
|
28
|
-
return
|
|
28
|
+
return s`<div class=${r({ "table-date-time": !0, [`align-${a}`]: !0, disabled: i })}><span class="date">${t.formatDate(e)}</span><span class="time">${t.formatTime(e)}</span></div>`;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
l("arcgis-time-bar-date",
|
|
32
|
+
l("arcgis-time-bar-date", m);
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
m as ArcgisTimeBarDate
|
|
35
35
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
const
|
|
6
|
-
class
|
|
2
|
+
import { c as o } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as d, html as a } from "lit";
|
|
4
|
+
import { LitElement as m, safeClassMap as l } from "@arcgis/lumina";
|
|
5
|
+
const u = d`:host{background-color:var(--calcite-color-surface-2);block-size:max-content;color:var(--calcite-color-text-1);display:inline-grid;font-family:var(--calcite-font-family);font-size:var(--calcite-font-size-sm);inline-size:max-content;place-items:center}.dash{justify-self:center;border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-text-1);width:50%}.disabled{opacity:var(--calcite-opacity-disabled)}.end{justify-self:start}.start{justify-self:end}.table-cumulative,.table-extent,.table-instant{align-content:center;align-items:center;display:grid;grid-template-rows:1fr}.table-cumulative{grid-template-columns:max-content var(--calcite-spacing-fixed-sm) max-content}.table-extent{grid-template-columns:1fr var(--calcite-spacing-fixed-xxl) 1fr}.table-instant{grid-template-columns:1fr}.text{color:var(--calcite-color-text-3)}`;
|
|
6
|
+
class b extends m {
|
|
7
7
|
constructor() {
|
|
8
8
|
super(...arguments), this.autoDestroyDisabled = !1;
|
|
9
9
|
}
|
|
@@ -11,7 +11,7 @@ class u extends d {
|
|
|
11
11
|
this.properties = { autoDestroyDisabled: 5, messages: 0, viewModel: 0 };
|
|
12
12
|
}
|
|
13
13
|
static {
|
|
14
|
-
this.styles =
|
|
14
|
+
this.styles = u;
|
|
15
15
|
}
|
|
16
16
|
async destroy() {
|
|
17
17
|
await this.manager.destroy();
|
|
@@ -20,7 +20,7 @@ class u extends d {
|
|
|
20
20
|
const { messages: s, viewModel: t } = this;
|
|
21
21
|
if (!s || !t)
|
|
22
22
|
return null;
|
|
23
|
-
const {
|
|
23
|
+
const { interactive: n, timeExtent: c } = t, i = !n;
|
|
24
24
|
if (!c || c.isAllTime)
|
|
25
25
|
return a`<div class="table-instant"><span class=${l({ disabled: i, text: !0 })}>${s.noTimeExtent}</span></div>`;
|
|
26
26
|
if (c.isEmpty)
|
|
@@ -29,7 +29,7 @@ class u extends d {
|
|
|
29
29
|
return e && r ? e.getTime() === r.getTime() ? a`<div class="table-instant"><arcgis-time-bar-date align=center .autoDestroyDisabled=${this.autoDestroyDisabled} class="end" .date=${e} .viewModel=${t}></arcgis-time-bar-date></div>` : a`<div class="table-extent"><arcgis-time-bar-date align=end .autoDestroyDisabled=${this.autoDestroyDisabled} class="start" .date=${e} .viewModel=${t}></arcgis-time-bar-date><div class=${l({ dash: !0, disabled: i })}></div><arcgis-time-bar-date align=start .autoDestroyDisabled=${this.autoDestroyDisabled} class="end" .date=${r} .viewModel=${t}></arcgis-time-bar-date></div>` : e ? a`<div class="table-cumulative"><span class=${l({ disabled: i, text: !0 })}>${s.from}</span><div></div><arcgis-time-bar-date align=start .autoDestroyDisabled=${this.autoDestroyDisabled} class="start" .date=${e} .viewModel=${t}></arcgis-time-bar-date></div>` : r ? a`<div class="table-cumulative"><span class=${l({ disabled: i, text: !0 })}>${s.through}</span><div></div><arcgis-time-bar-date align=start .autoDestroyDisabled=${this.autoDestroyDisabled} class="start" .date=${r} .viewModel=${t}></arcgis-time-bar-date></div>` : null;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
o("arcgis-time-bar-extent", b);
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
b as ArcgisTimeBarExtent
|
|
35
35
|
};
|
|
@@ -274,4 +274,12 @@ export abstract class ArcgisTimeBarSlider extends LitElement {
|
|
|
274
274
|
accessor viewModel: TimeBarViewModel | undefined;
|
|
275
275
|
/** Permanently destroy the component. */
|
|
276
276
|
destroy(): Promise<void>;
|
|
277
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
278
|
+
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "activeValue" | "lockTimeWindow"; }>;
|
|
279
|
+
/** Emitted when the component associated with a map or scene view is ready for user interaction. */
|
|
280
|
+
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
281
|
+
readonly "@eventTypes": {
|
|
282
|
+
arcgisPropertyChange: ArcgisTimeBarSlider["arcgisPropertyChange"]["detail"];
|
|
283
|
+
arcgisReady: ArcgisTimeBarSlider["arcgisReady"]["detail"];
|
|
284
|
+
};
|
|
277
285
|
}
|