@arcgis/map-components 4.34.0-next.144 → 4.34.0-next.146
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/{6P3ABQXI.js → 26ADAPBP.js} +2 -2
- package/dist/cdn/{RRZX4XY4.js → 2CC65BNR.js} +2 -2
- package/dist/cdn/{5ABZVLAA.js → 2L45AMAV.js} +2 -2
- package/dist/cdn/{XKM3T5U5.js → 2LPHBV2F.js} +2 -2
- package/dist/cdn/{MUW7D2FM.js → 33B6YJUM.js} +2 -2
- package/dist/cdn/{JKW2YQL5.js → 34JJW4AE.js} +2 -2
- package/dist/cdn/{T4GEMNMA.js → 3CC4SU7B.js} +1 -1
- package/dist/cdn/{TK6L6XXT.js → 3NP6NPQ5.js} +1 -1
- package/dist/cdn/{LVZE2WE5.js → 3WTYZCBO.js} +2 -2
- package/dist/cdn/{WOSBMNM2.js → 3ZU347TS.js} +2 -2
- package/dist/cdn/{EP4DGGCS.js → 437GE4S5.js} +2 -2
- package/dist/cdn/{5ALHMSTV.js → 4BQQIRYA.js} +2 -2
- package/dist/cdn/{BJOO46N4.js → 4TNACKTK.js} +2 -2
- package/dist/cdn/{5ZB3FAPN.js → 4UO2IG3V.js} +2 -2
- package/dist/cdn/{YV7K6JWU.js → 4ZXW4VFA.js} +2 -2
- package/dist/cdn/{DMPFKF35.js → 5FKX2NQR.js} +2 -2
- package/dist/cdn/{MLFA3YJK.js → 5HFWLRKO.js} +2 -2
- package/dist/cdn/{2GLM4NH4.js → 5I23PWEC.js} +3 -3
- package/dist/cdn/{ZO4ZKJDJ.js → 5JFQLLOP.js} +2 -2
- package/dist/cdn/{2BMAIIT7.js → 5KPMZSRB.js} +2 -2
- package/dist/cdn/{VHHNVDDP.js → 5M5S5OLK.js} +2 -2
- package/dist/cdn/{XENIHOA3.js → 5RG4HWME.js} +2 -2
- package/dist/cdn/6B2K2K75.js +9 -0
- package/dist/cdn/{MYSF22C3.js → 6J2JCFSX.js} +2 -2
- package/dist/cdn/{R7VYUKEC.js → 6NWD5KR5.js} +2 -2
- package/dist/cdn/{J6WRPCZL.js → 75SCVO4M.js} +2 -2
- package/dist/cdn/{N5BRS5FM.js → 76MKS2QW.js} +2 -2
- package/dist/cdn/{74CQ6W25.js → 7AFPALZO.js} +2 -2
- package/dist/cdn/{AME5EAK2.js → 7G6WHPNS.js} +2 -2
- package/dist/cdn/{RRQNCD4C.js → 7HC5EWVT.js} +2 -2
- package/dist/cdn/{4UJ4LQS5.js → 7TGLENLM.js} +2 -2
- package/dist/cdn/{JSKNPFQG.js → 7XX4ALFE.js} +2 -2
- package/dist/cdn/{GOONL4IL.js → 7YZXSKNI.js} +2 -2
- package/dist/cdn/{22ZW73UV.js → AC3BTCUY.js} +2 -2
- package/dist/cdn/{CLKIYDHE.js → AHBGQN74.js} +2 -2
- package/dist/cdn/{FTH4NCZE.js → ANZD65AM.js} +2 -2
- package/dist/cdn/{FVC2PPAA.js → ASQC555G.js} +1 -1
- package/dist/cdn/{EGLNKNSH.js → AZWACSVM.js} +2 -2
- package/dist/cdn/{4VK43QZF.js → BFHFZZTD.js} +2 -2
- package/dist/cdn/{DB5PRVC6.js → BHAGMEKK.js} +2 -2
- package/dist/cdn/{GLEQRMNH.js → BKZOMKK7.js} +2 -2
- package/dist/cdn/{LAUIDHJB.js → BMYSVZ6F.js} +2 -2
- package/dist/cdn/{3KXEGQXC.js → BO4YI7KP.js} +2 -2
- package/dist/cdn/{4RJWNA22.js → BVBSWYKM.js} +2 -2
- package/dist/cdn/{GRJ4RACY.js → BVPNWCDP.js} +2 -2
- package/dist/cdn/{TUPJLGAL.js → CBZ3BYPR.js} +2 -2
- package/dist/cdn/{BFZ5XTGZ.js → CEWB3RJN.js} +2 -2
- package/dist/cdn/{SP4LZL3J.js → CJHFLV44.js} +2 -2
- package/dist/cdn/{WYX3FJLN.js → CLGDRCGE.js} +2 -2
- package/dist/cdn/{AHQYITOZ.js → CQKL67OY.js} +2 -2
- package/dist/cdn/{IZJ6M7QA.js → CWUMRNU4.js} +2 -2
- package/dist/cdn/{G4BNMKMH.js → D4HTT4ZL.js} +2 -2
- package/dist/cdn/{AY6TO3YS.js → D6M7PGB7.js} +2 -2
- package/dist/cdn/{RQRANMA2.js → DC7LXW6P.js} +2 -2
- package/dist/cdn/{3XFJ4MOS.js → DIKQV5G5.js} +2 -2
- package/dist/cdn/DXVZYPRG.js +4 -0
- package/dist/cdn/{XL2CPPGF.js → DYT7Q3LE.js} +2 -2
- package/dist/cdn/{VVPGVFOP.js → ECK3XQVJ.js} +2 -2
- package/dist/cdn/{RXXECT4D.js → EQOIUFFK.js} +2 -2
- package/dist/cdn/{P2SGMNN5.js → ETIX63NO.js} +2 -2
- package/dist/cdn/{QRJEP3HU.js → EXCZRDJQ.js} +2 -2
- package/dist/cdn/{X6JPEEYN.js → EXTSJN3U.js} +2 -2
- package/dist/cdn/{RWAJA3MZ.js → FFJINJSZ.js} +2 -2
- package/dist/cdn/{MANCWJWJ.js → FGZ5U6A6.js} +2 -2
- package/dist/cdn/{JY7Q2EKR.js → FUKHS4LN.js} +2 -2
- package/dist/cdn/{EZIA7M2B.js → G3VPYGQE.js} +2 -2
- package/dist/cdn/{NPL5XZ4P.js → GCJAF63S.js} +2 -2
- package/dist/cdn/{F6VOSJYE.js → GR3URPKN.js} +2 -2
- package/dist/cdn/{LUBJ67BD.js → GRT5KCOI.js} +2 -2
- package/dist/cdn/{VAMFF3Z7.js → GSZTXZX2.js} +2 -2
- package/dist/cdn/{TNZ5C26Q.js → GT6FQDRU.js} +2 -2
- package/dist/cdn/{F36K4NHA.js → GUSWIBWQ.js} +2 -2
- package/dist/cdn/{VHML7TMW.js → GVTQCHMT.js} +2 -2
- package/dist/cdn/{O3XJKFOD.js → GX5KRHI4.js} +2 -2
- package/dist/cdn/{AAZJ3YCX.js → H5MTYLXM.js} +2 -2
- package/dist/cdn/{PHNWJ7DG.js → HBRH6MN3.js} +1 -1
- package/dist/cdn/{NDQLWGMI.js → HENPEXUY.js} +2 -2
- package/dist/cdn/{VNG5PEVP.js → HH6ZQ3GG.js} +2 -2
- package/dist/cdn/{33XFDTVU.js → HSFYE4DG.js} +2 -2
- package/dist/cdn/{IHJHSBUM.js → HUOFFGD5.js} +2 -2
- package/dist/cdn/{FERKNGMT.js → HYIFG7VB.js} +2 -2
- package/dist/cdn/{L4NEYQNX.js → I7H4OYUI.js} +2 -2
- package/dist/cdn/{5AA3SVOG.js → IO7PCP6T.js} +2 -2
- package/dist/cdn/{EIU3YLQN.js → ITA76ZYZ.js} +2 -2
- package/dist/cdn/{OESPD2L4.js → IY4WDMFR.js} +2 -2
- package/dist/cdn/{VLYEOL4Y.js → IZRKFHUM.js} +2 -2
- package/dist/cdn/{ROUHAZRM.js → J3U2UFOO.js} +1 -1
- package/dist/cdn/{EOJ5O7ZX.js → JH2NQPP3.js} +2 -2
- package/dist/cdn/{2TYIXCOR.js → JKFOF4TB.js} +2 -2
- package/dist/cdn/{K2MG5BVB.js → JMB2Z4X4.js} +2 -2
- package/dist/cdn/{PP7B7DUG.js → JMQUAFCP.js} +2 -2
- package/dist/cdn/{UEGNUXA7.js → JWMQBUCY.js} +2 -2
- package/dist/cdn/{E6CLGSZF.js → JXSG5VHK.js} +2 -2
- package/dist/cdn/{ZUSFH2SF.js → K2FF5E6C.js} +2 -2
- package/dist/cdn/{3WIXOU2F.js → K6P3JMXS.js} +2 -2
- package/dist/cdn/{552Y4GPR.js → KAKWZX5B.js} +2 -2
- package/dist/cdn/{FKXXFRUE.js → KF56VA4U.js} +1 -1
- package/dist/cdn/{2VLLKVGA.js → KG2HDMQV.js} +2 -2
- package/dist/cdn/{42CQ6ETR.js → KM4ISBZZ.js} +2 -2
- package/dist/cdn/{KDSSIDH6.js → KO7JAOYX.js} +2 -2
- package/dist/cdn/{XTQLR7ZN.js → KPA4HFYV.js} +2 -2
- package/dist/cdn/{WVFQCSGJ.js → L4V7OEVD.js} +2 -2
- package/dist/cdn/{EIEJ2FVP.js → LA4XRGMH.js} +2 -2
- package/dist/cdn/{5TK5CTVN.js → LGRN2H63.js} +2 -2
- package/dist/cdn/{BMRUV3ZQ.js → LJGLWQZA.js} +2 -2
- package/dist/cdn/{JJJGWUQ5.js → LRMOL2E6.js} +2 -2
- package/dist/cdn/{AC6OVPGJ.js → LTNBFWYJ.js} +2 -2
- package/dist/cdn/{UXLBMCEO.js → LUUW4HVM.js} +2 -2
- package/dist/cdn/{Z4EF6OHC.js → LWHJ4QM4.js} +2 -2
- package/dist/cdn/{EUNUZVK6.js → LXONWAWX.js} +2 -2
- package/dist/cdn/{AC756L2T.js → LYAU4NO5.js} +2 -2
- package/dist/cdn/{SIAJYWZH.js → LYDKJL2J.js} +2 -2
- package/dist/cdn/{LRJDGMHT.js → M2AVXDT3.js} +2 -2
- package/dist/cdn/{GWI3C7ON.js → M3TVTMVO.js} +2 -2
- package/dist/cdn/{UJ6ZLD5G.js → MBZMRRDI.js} +2 -2
- package/dist/cdn/{R2HFQPBY.js → MC2XSLMA.js} +2 -2
- package/dist/cdn/{HQWMROW2.js → MGT2WZAZ.js} +2 -2
- package/dist/cdn/{NX5PENLQ.js → MJ2JQECY.js} +2 -2
- package/dist/cdn/{S76COB5E.js → MONAQVGJ.js} +2 -2
- package/dist/cdn/{N3UASBYU.js → MQ6GHVQR.js} +2 -2
- package/dist/cdn/{WBTBOFRH.js → MVCHVAQK.js} +1 -1
- package/dist/cdn/{6RNJ5QLI.js → MVTI2NBJ.js} +2 -2
- package/dist/cdn/{UCQ5RNYT.js → N2NT6UES.js} +2 -2
- package/dist/cdn/{VQHP4N6V.js → NFW4ETT5.js} +2 -2
- package/dist/cdn/{R7H6MUKC.js → NHYMUGDM.js} +2 -2
- package/dist/cdn/{SJR5BTAS.js → NJEJGJX4.js} +1 -1
- package/dist/cdn/{JU5EATYG.js → NOJ3LAWB.js} +2 -2
- package/dist/cdn/{CGSQLBVL.js → NRYNTOCS.js} +2 -2
- package/dist/cdn/{QPO5QTW7.js → NSE4ZCOO.js} +2 -2
- package/dist/cdn/{VOP2H6XC.js → NTEYY6UG.js} +2 -2
- package/dist/cdn/NXBBXPII.js +4 -0
- package/dist/cdn/{6KFS6VG5.js → NXVYQHPS.js} +2 -2
- package/dist/cdn/{24IHOCXI.js → O2Q6XKQQ.js} +2 -2
- package/dist/cdn/{IIUGCTUD.js → OH4GOJH2.js} +2 -2
- package/dist/cdn/{KDWXBNN4.js → OIBTENFE.js} +2 -2
- package/dist/cdn/{67BWBYF4.js → OL5FNVFN.js} +2 -2
- package/dist/cdn/{5G253XKZ.js → OOOKXINA.js} +2 -2
- package/dist/cdn/{DES4LLHG.js → OPPON2R2.js} +2 -2
- package/dist/cdn/{FCF4X7DI.js → OPUZB4RJ.js} +2 -2
- package/dist/cdn/{52MLIQNU.js → OTEL56ZF.js} +2 -2
- package/dist/cdn/{WQAT6Q56.js → P4NLW3UN.js} +2 -2
- package/dist/cdn/{CL7KCVJC.js → PC4W4S3Z.js} +2 -2
- package/dist/cdn/{EADFSGQ5.js → PEZEX4LB.js} +2 -2
- package/dist/cdn/{5Y72YS4U.js → PFNILQRD.js} +2 -2
- package/dist/cdn/{22OT66JX.js → PIIR6MCL.js} +2 -2
- package/dist/cdn/{3PPHJMDP.js → PR6INXS6.js} +2 -2
- package/dist/cdn/{XGXE2BSV.js → PX5KJM3E.js} +2 -2
- package/dist/cdn/{42KNHDG4.js → Q4WD3D3K.js} +2 -2
- package/dist/cdn/{JMLWOK3S.js → Q5WY62HA.js} +2 -2
- package/dist/cdn/{67HDG4S4.js → QFDCHT27.js} +2 -2
- package/dist/cdn/{V7AMEYFQ.js → QKUNOAT3.js} +2 -2
- package/dist/cdn/{OAFYVWKJ.js → QRAGEZV6.js} +2 -2
- package/dist/cdn/{RJBVMNS5.js → QRHQOPYZ.js} +2 -2
- package/dist/cdn/{RGMZCUHO.js → QWEDENRR.js} +2 -2
- package/dist/cdn/{HHPKKZT3.js → R36NINHK.js} +2 -2
- package/dist/cdn/{7BOXIFQZ.js → R3BCXYO6.js} +2 -2
- package/dist/cdn/{FTS3IIEO.js → R67MJTY2.js} +2 -2
- package/dist/cdn/{ER267YG3.js → RBIGCOC3.js} +1 -1
- package/dist/cdn/{6OGWPL32.js → REZSNH33.js} +2 -2
- package/dist/cdn/{DIHDDHJU.js → RHSKFJZP.js} +2 -2
- package/dist/cdn/{QSNGKLLM.js → RL4WCFXM.js} +2 -2
- package/dist/cdn/{SP3VQ6ZX.js → SD6NTDAO.js} +2 -2
- package/dist/cdn/{PHEKBQHV.js → SLAOLWEA.js} +1 -1
- package/dist/cdn/{4M2STTUX.js → SZVTTNWE.js} +2 -2
- package/dist/cdn/{4EXECRIT.js → T4CRQUJS.js} +2 -2
- package/dist/cdn/{OLGJZJGF.js → T5I5YW7Y.js} +2 -2
- package/dist/cdn/{WYYVBMR5.js → THXJSMOP.js} +2 -2
- package/dist/cdn/{2F5WLYQ7.js → TN4XZL66.js} +2 -2
- package/dist/cdn/{WR4KHK7X.js → U24M6TJ2.js} +2 -2
- package/dist/cdn/{PEQEBXVR.js → UMBBLAAI.js} +1 -1
- package/dist/cdn/{HT3BILB3.js → UN4V7M4O.js} +2 -2
- package/dist/cdn/{IR6YLRPT.js → UNIOEES5.js} +2 -2
- package/dist/cdn/{G3PQ7GAT.js → UR42SOKX.js} +2 -2
- package/dist/cdn/USETEWEQ.js +4 -0
- package/dist/cdn/{KI33S4UV.js → V3YK5OP7.js} +1 -1
- package/dist/cdn/{LTEGJVNQ.js → V555WOKU.js} +2 -2
- package/dist/cdn/V7U6BQ5O.js +4 -0
- package/dist/cdn/{DZ7MTS4U.js → VC3TWVGT.js} +2 -2
- package/dist/cdn/{U5FDP4RT.js → VIF5F2YK.js} +2 -2
- package/dist/cdn/{XK7UDWTK.js → VOD3XMQD.js} +2 -2
- package/dist/cdn/{ZP54HN2N.js → VRK5V3BH.js} +2 -2
- package/dist/cdn/{PNKHTIU2.js → VSALTQFW.js} +2 -2
- package/dist/cdn/{L3XFOEYQ.js → VVX7FXUW.js} +2 -2
- package/dist/cdn/{BGJVFCUH.js → W2UI3D5T.js} +2 -2
- package/dist/cdn/{MG5C5YD7.js → W3WQUK7F.js} +2 -2
- package/dist/cdn/{B3XSOCTF.js → WCS3TOXP.js} +2 -2
- package/dist/cdn/{MGTFM3IJ.js → WEJOYJIZ.js} +2 -2
- package/dist/cdn/{QRJKKG4J.js → WVNYLOXB.js} +2 -2
- package/dist/cdn/{FNNPHHI3.js → WZ4GOCF5.js} +2 -2
- package/dist/cdn/{JBZXIDUM.js → X4VAGX4G.js} +2 -2
- package/dist/cdn/{UWPJ64I7.js → XA4HDFHX.js} +2 -2
- package/dist/cdn/{IHABCSJT.js → XNNV3TSX.js} +2 -2
- package/dist/cdn/{IF7X53UG.js → XTF56ZSV.js} +2 -2
- package/dist/cdn/{HA2GSRFS.js → XUOLBRKW.js} +2 -2
- package/dist/cdn/{JQR5J643.js → Y23P4WBJ.js} +2 -2
- package/dist/cdn/{MEE5DIRA.js → Y2HMC3HH.js} +2 -2
- package/dist/cdn/{3WRKSQR3.js → Y2Q5ERCK.js} +2 -2
- package/dist/cdn/{FAEV7IZQ.js → Y2W5RM74.js} +2 -2
- package/dist/cdn/{7VRHI2RM.js → Y4V6CKHC.js} +2 -2
- package/dist/cdn/Y5SOGCUC.js +4 -0
- package/dist/cdn/{FDFJ4GCW.js → Y76AR6QO.js} +2 -2
- package/dist/cdn/{BSNF46OZ.js → YGD7BNRM.js} +2 -2
- package/dist/cdn/{PSG6GCOU.js → YHPDZWZR.js} +2 -2
- package/dist/cdn/{DR3PKLBO.js → YJ75L3QJ.js} +2 -2
- package/dist/cdn/{JMYJWICS.js → YODRRAV4.js} +2 -2
- package/dist/cdn/{NHMOOVHX.js → YRATHRMU.js} +2 -2
- package/dist/cdn/{5MS3G6T6.js → YUROEQ3E.js} +2 -2
- package/dist/cdn/{BLWWI45X.js → YVQGVCGG.js} +2 -2
- package/dist/cdn/{BVWY3TQI.js → Z4W6GCBL.js} +2 -2
- package/dist/cdn/{7GTNNAVZ.js → ZAFY6D6K.js} +2 -2
- package/dist/cdn/{AXM2CNEC.js → ZE6WS2KY.js} +1 -1
- package/dist/cdn/{ILLWJNDS.js → ZHSJNPNP.js} +2 -2
- package/dist/cdn/{U6EZ4OE4.js → ZILJSZC3.js} +2 -2
- package/dist/cdn/{NU7LANUZ.js → ZOS6JESU.js} +2 -2
- package/dist/cdn/{2CKGPUJT.js → ZRAG4USV.js} +2 -2
- package/dist/cdn/{56VKTDPV.js → ZVU3MPKL.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/uiController.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +13 -1
- package/dist/components/arcgis-attachments/customElement.js +3 -3
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/animation.d.ts +3 -1
- package/dist/components/arcgis-daylight/customElement.js +220 -187
- package/dist/components/arcgis-daylight/daylight-time-slider.d.ts +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +2 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +10 -10
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +2 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +12 -12
- package/dist/components/arcgis-elevation-profile-next/ElevationProfileViewModel.d.ts +7 -6
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +19 -11
- package/dist/components/arcgis-elevation-profile-next/customElement.js +134 -136
- package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +2 -3
- package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +2 -2
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +18 -16
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +2 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +9 -9
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +12 -13
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -28
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +90 -47
- package/dist/docs/docs.json +108 -49
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +27 -12
- package/dist/index.js +1 -1
- package/dist/loader.js +6 -6
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/preact10.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +3 -3
- package/dist/cdn/564UHJYM.js +0 -9
- package/dist/cdn/DQ2NRFUH.js +0 -4
- package/dist/cdn/HFE3XTS7.js +0 -4
- package/dist/cdn/KTRTDHHM.js +0 -4
- package/dist/cdn/L6JLNSWN.js +0 -4
- package/dist/cdn/ZZCCMRQY.js +0 -4
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { c as fe } from "../../chunks/runtime.js";
|
|
2
|
-
import { safeStyleMap as _e, nothing as H, safeClassMap as be, LitElement as ve, createEvent as
|
|
3
|
-
import { css as we, html as
|
|
2
|
+
import { safeStyleMap as _e, nothing as H, safeClassMap as be, LitElement as ve, createEvent as Y } from "@arcgis/lumina";
|
|
3
|
+
import { css as we, html as u } from "lit";
|
|
4
4
|
import { u as xe } from "../../chunks/useT9n.js";
|
|
5
5
|
import ye from "@arcgis/core/views/3d/environment/SunLighting.js";
|
|
6
6
|
import Se from "@arcgis/core/views/3d/environment/VirtualLighting.js";
|
|
7
|
-
import { ref as
|
|
8
|
-
import * as
|
|
7
|
+
import { ref as ce, createRef as W } from "lit/directives/ref.js";
|
|
8
|
+
import * as K from "@arcgis/core/intl.js";
|
|
9
9
|
import { formatDate as J } from "@arcgis/core/intl.js";
|
|
10
10
|
import { u as De } from "../../chunks/useView.js";
|
|
11
|
-
import { g as
|
|
11
|
+
import { g as Q } from "../../chunks/globalCss.js";
|
|
12
12
|
import { H as Te } from "../../chunks/heading.js";
|
|
13
|
-
import { createTrackingTarget as ke, runTracked as
|
|
14
|
-
import { watch as
|
|
15
|
-
import { b as
|
|
13
|
+
import { createTrackingTarget as ke, runTracked as X, signal as Pe } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
14
|
+
import { watch as ee, whenOnce as Ce } from "@arcgis/core/core/reactiveUtils.js";
|
|
15
|
+
import { b as $e } from "../../chunks/async-utils.js";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
18
|
-
v4.34.0-next.
|
|
18
|
+
v4.34.0-next.146 */
|
|
19
19
|
const ze = we`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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}.wrapper{display:flex;flex-direction:column;overflow:hidden;gap:var(--calcite-spacing-md);justify-content:space-between;padding:var(--esri-widget-padding);calcite-label{--calcite-label-margin-bottom: 0}}.unsupported{padding:0 var(--calcite-spacing-lg);animation:esri-fade-in .25s ease-in-out}.date-container{display:flex;flex-direction:row;gap:var(--calcite-spacing-lg);align-items:center;justify-content:space-between}.play-pause-button{flex:0}.slider{flex:1;padding-block-end:var(--label-wrap-padding, 0)}.day-container{display:flex;flex:1;gap:var(--calcite-spacing-md)}.slider-container{flex:1}.slider-play-button{place-self:center;transform:translateY(8px)}.timezone-input{min-width:0}`;
|
|
20
20
|
Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
21
|
-
const
|
|
21
|
+
const te = {
|
|
22
22
|
milliseconds: 1,
|
|
23
23
|
seconds: 1e3,
|
|
24
24
|
minutes: 6e4,
|
|
@@ -33,45 +33,45 @@ const ee = {
|
|
|
33
33
|
centuries: 31536e8
|
|
34
34
|
};
|
|
35
35
|
function E(t, e, i) {
|
|
36
|
-
return t === 0 ? 0 : t *
|
|
36
|
+
return t === 0 ? 0 : t * te[e] / te[i];
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function O(t) {
|
|
39
39
|
return t instanceof Date && !Number.isNaN(t.getTime());
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function C(t, e, i = "hours") {
|
|
42
42
|
const r = new Date(t.getTime()), n = E(e, i, "milliseconds");
|
|
43
43
|
return r.setTime(r.getTime() + n), r;
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function T(t, e) {
|
|
46
46
|
const i = E(e, "hours", "milliseconds"), r = new Date(t.getTime() + i), n = r.toISOString().slice(0, 10), s = r.getUTCHours() * 60 + r.getUTCMinutes();
|
|
47
47
|
return { localDate: n, minutesSinceMidnight: s };
|
|
48
48
|
}
|
|
49
|
-
var I = Math.PI,
|
|
49
|
+
var I = Math.PI, p = Math.sin, k = Math.cos, Oe = Math.asin, Me = Math.acos, x = I / 180, de = 1e3 * 60 * 60 * 24, he = 2440588, ge = 2451545;
|
|
50
50
|
function Le(t) {
|
|
51
|
-
return t.valueOf() /
|
|
51
|
+
return t.valueOf() / de - 0.5 + he;
|
|
52
52
|
}
|
|
53
53
|
function M(t) {
|
|
54
|
-
return new Date((t + 0.5 -
|
|
54
|
+
return new Date((t + 0.5 - he) * de);
|
|
55
55
|
}
|
|
56
56
|
function Ue(t) {
|
|
57
|
-
return Le(t) -
|
|
57
|
+
return Le(t) - ge;
|
|
58
58
|
}
|
|
59
|
-
var
|
|
59
|
+
var ie = x * 23.4397;
|
|
60
60
|
function Ee(t, e) {
|
|
61
|
-
return Oe(
|
|
61
|
+
return Oe(p(e) * k(ie) + k(e) * p(ie) * p(t));
|
|
62
62
|
}
|
|
63
63
|
function Ae(t) {
|
|
64
|
-
return
|
|
64
|
+
return x * (357.5291 + 0.98560028 * t);
|
|
65
65
|
}
|
|
66
66
|
function He(t) {
|
|
67
|
-
return
|
|
67
|
+
return x * (1.9148 * p(t) + 0.02 * p(2 * t) + 3e-4 * p(3 * t));
|
|
68
68
|
}
|
|
69
69
|
function Ie(t, e) {
|
|
70
|
-
var i =
|
|
70
|
+
var i = x * 102.9372;
|
|
71
71
|
return t + e + i + I;
|
|
72
72
|
}
|
|
73
|
-
var
|
|
74
|
-
|
|
73
|
+
var D = {};
|
|
74
|
+
D.PolarException = {
|
|
75
75
|
NORMAL: 0,
|
|
76
76
|
MIDNIGHT_SUN: 1,
|
|
77
77
|
POLAR_NIGHT: 2
|
|
@@ -87,37 +87,37 @@ var R = [
|
|
|
87
87
|
[ -18, "nightEnd", "night" ],
|
|
88
88
|
[ 6, "goldenHourEnd", "goldenHour" ]
|
|
89
89
|
*/
|
|
90
|
-
],
|
|
90
|
+
], ue = 9e-4;
|
|
91
91
|
function Ne(t, e) {
|
|
92
|
-
return Math.round(t -
|
|
93
|
-
}
|
|
94
|
-
function ie(t, e, i) {
|
|
95
|
-
return ge + (t + e) / (2 * I) + i;
|
|
92
|
+
return Math.round(t - ue - e / (2 * I));
|
|
96
93
|
}
|
|
97
94
|
function re(t, e, i) {
|
|
98
|
-
return
|
|
95
|
+
return ue + (t + e) / (2 * I) + i;
|
|
96
|
+
}
|
|
97
|
+
function ne(t, e, i) {
|
|
98
|
+
return ge + t + 53e-4 * p(e) - 69e-4 * p(2 * i);
|
|
99
99
|
}
|
|
100
100
|
function Fe(t, e, i) {
|
|
101
|
-
return Me((
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
var r =
|
|
105
|
-
function
|
|
106
|
-
var
|
|
107
|
-
return
|
|
108
|
-
}
|
|
109
|
-
function
|
|
110
|
-
var
|
|
111
|
-
return
|
|
112
|
-
}
|
|
113
|
-
var
|
|
114
|
-
solarNoon: M(
|
|
115
|
-
nadir: M(
|
|
116
|
-
polarException:
|
|
117
|
-
},
|
|
118
|
-
for (
|
|
119
|
-
|
|
120
|
-
return
|
|
101
|
+
return Me((p(t) - p(e) * p(i)) / (k(e) * k(i)));
|
|
102
|
+
}
|
|
103
|
+
D.getTimes = function(t, e, i) {
|
|
104
|
+
var r = x * -i, n = x * e, s = Ue(t), a = Ne(s, r), o = re(0, r, a), c = Ae(o), d = He(c), l = Ie(c, d), h = Ee(l, 0), g = ne(o, c, l);
|
|
105
|
+
function w(F) {
|
|
106
|
+
var z = Fe(F, n, h), me = re(z, r, a);
|
|
107
|
+
return ne(me, c, l);
|
|
108
|
+
}
|
|
109
|
+
function y(F) {
|
|
110
|
+
var z = (p(F) - p(n) * p(h)) / (k(n) * k(h));
|
|
111
|
+
return z < -1 ? D.PolarException.MIDNIGHT_SUN : z > 1 ? D.PolarException.POLAR_NIGHT : D.PolarException.NORMAL;
|
|
112
|
+
}
|
|
113
|
+
var _ = {
|
|
114
|
+
solarNoon: M(g),
|
|
115
|
+
nadir: M(g - 0.5),
|
|
116
|
+
polarException: D.PolarException.NORMAL
|
|
117
|
+
}, b, f, $, N, G;
|
|
118
|
+
for (b = 0, f = R.length; b < f; b += 1)
|
|
119
|
+
$ = R[b], N = w($[0] * x), G = g - (N - g), _[$[1]] = M(G), _[$[2]] = M(N);
|
|
120
|
+
return _.polarException = y(R[0][0] * x), _;
|
|
121
121
|
};
|
|
122
122
|
const Re = {
|
|
123
123
|
spring: { dayOfMonth: 20, month: 2 },
|
|
@@ -129,22 +129,22 @@ const Re = {
|
|
|
129
129
|
winter: { dayOfMonth: 21, month: 11 }
|
|
130
130
|
// Northern Winter solstice in 2014 - December 21
|
|
131
131
|
}, V = ["spring", "summer", "fall", "winter"];
|
|
132
|
-
function
|
|
133
|
-
const r =
|
|
132
|
+
function P(t, e, i) {
|
|
133
|
+
const r = B(e, i), { dayOfMonth: n, month: s } = Re[r], a = new Date(t.getTime());
|
|
134
134
|
return a.setMonth(s, n), a;
|
|
135
135
|
}
|
|
136
136
|
function je(t, e) {
|
|
137
137
|
const i = Je(t);
|
|
138
|
-
return
|
|
138
|
+
return B(i, e);
|
|
139
139
|
}
|
|
140
140
|
function Je(t) {
|
|
141
|
-
const e = t.getTime(), i =
|
|
141
|
+
const e = t.getTime(), i = P(t, "spring", "northern").getTime(), r = P(t, "summer", "northern").getTime(), n = P(t, "fall", "northern").getTime(), s = P(t, "winter", "northern").getTime();
|
|
142
142
|
return e >= i && e < r ? "spring" : e >= r && e < n ? "summer" : e >= n && e < s ? "fall" : "winter";
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function B(t, e) {
|
|
145
145
|
return e === "northern" ? t : Ve(t);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function se(t) {
|
|
148
148
|
return t >= 0 ? "northern" : "southern";
|
|
149
149
|
}
|
|
150
150
|
function Ve(t) {
|
|
@@ -153,9 +153,9 @@ function Ve(t) {
|
|
|
153
153
|
}
|
|
154
154
|
const A = 1440, Ze = 864e5;
|
|
155
155
|
function Be(t, e, i, r) {
|
|
156
|
-
const n =
|
|
157
|
-
if (o.getUTCDate() !==
|
|
158
|
-
const l = o.getTime() -
|
|
156
|
+
const n = D.getTimes(t, e, i), s = n.sunrise, a = n.sunset, o = C(t, r), c = C(s, r), d = C(a, r);
|
|
157
|
+
if (o.getUTCDate() !== c.getUTCDate() || o.getUTCDate() !== d.getUTCDate()) {
|
|
158
|
+
const l = o.getTime() - c.getTime() > 0 ? 1 : -1;
|
|
159
159
|
s.setUTCDate(s.getUTCDate() + l), a.setUTCDate(a.getUTCDate() + l);
|
|
160
160
|
}
|
|
161
161
|
return {
|
|
@@ -163,15 +163,15 @@ function Be(t, e, i, r) {
|
|
|
163
163
|
sunset: a
|
|
164
164
|
};
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function m(t) {
|
|
167
167
|
return t?.type === "sun";
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function Z(t) {
|
|
170
170
|
return {
|
|
171
171
|
remove: t
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function q(t, e) {
|
|
175
175
|
return (t % e + e) % e;
|
|
176
176
|
}
|
|
177
177
|
const pe = {
|
|
@@ -213,84 +213,90 @@ const Qe = (t, e) => {
|
|
|
213
213
|
case "value":
|
|
214
214
|
return Ke(t);
|
|
215
215
|
}
|
|
216
|
-
}, Xe = A - 1, et =
|
|
217
|
-
function
|
|
218
|
-
return
|
|
216
|
+
}, Xe = A - 1, et = Xe / 4;
|
|
217
|
+
function tt(t) {
|
|
218
|
+
return u`<calcite-slider class="slider" .disabled=${t.disabled} fill-placement=none label-ticks label-handles .labelFormatter=${Qe} min=0 .max=${A - 1} @calciteSliderInput=${(e) => {
|
|
219
219
|
const i = Array.isArray(e.target.value) ? e.target.value[0] : e.target.value;
|
|
220
220
|
i != null && t.onTimeChanged(i);
|
|
221
|
-
}} .scale=${t.scale} .step=${
|
|
221
|
+
}} .scale=${t.scale} .step=${t.steps} snap style=${_e({ gridArea: "slider" })} .ticks=${et} .value=${q(t.value ?? 0, A)} ${ce(t.ref)}></calcite-slider>`;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function it(t, e) {
|
|
224
224
|
return t / 15;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function rt(t, e) {
|
|
227
227
|
const i = t?.[0];
|
|
228
228
|
if (i == null)
|
|
229
229
|
return null;
|
|
230
|
-
e || (e = { hours: 0, minutes: 0, seconds: 0 }), e.hours =
|
|
230
|
+
e || (e = { hours: 0, minutes: 0, seconds: 0 }), e.hours = it(i);
|
|
231
231
|
const r = e.hours % 1;
|
|
232
232
|
e.hours -= r, e.minutes = r * 60;
|
|
233
233
|
const n = e.minutes % 1;
|
|
234
234
|
return e.minutes -= n, e.seconds = Math.round(n * 60), e;
|
|
235
235
|
}
|
|
236
|
-
function
|
|
237
|
-
const e =
|
|
236
|
+
function nt(t) {
|
|
237
|
+
const e = rt([t.longitude, t.latitude]);
|
|
238
238
|
return e == null ? 0 : Math.round(e.hours + e.minutes / 60 + e.seconds / 3600);
|
|
239
239
|
}
|
|
240
|
-
const
|
|
241
|
-
function
|
|
242
|
-
return
|
|
240
|
+
const st = 100, at = 1e3, v = 12e5, L = 72e5;
|
|
241
|
+
function ae(t, e) {
|
|
242
|
+
return q(t + e, 24);
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function ot({
|
|
245
245
|
mode: t,
|
|
246
246
|
lighting: e,
|
|
247
|
-
getPlaySpeed: i
|
|
247
|
+
getPlaySpeed: i,
|
|
248
|
+
onProgress: r,
|
|
249
|
+
beforeProgress: n
|
|
248
250
|
}) {
|
|
249
|
-
let
|
|
250
|
-
function
|
|
251
|
-
const
|
|
251
|
+
let s = -1;
|
|
252
|
+
function a(o = Date.now()) {
|
|
253
|
+
const c = e.date, d = Date.now() - (o ?? 0);
|
|
252
254
|
if (t === "day") {
|
|
253
|
-
|
|
254
|
-
const
|
|
255
|
-
if (
|
|
256
|
-
let
|
|
257
|
-
const
|
|
258
|
-
|
|
255
|
+
o = Date.now();
|
|
256
|
+
const h = i() / st * d;
|
|
257
|
+
if (h > 0) {
|
|
258
|
+
let g = new Date(c.getTime() + h);
|
|
259
|
+
const w = e.displayUTCOffset ?? 0, y = ae(g.getUTCHours(), w), _ = ae(c.getUTCHours(), w);
|
|
260
|
+
y < _ && (g = new Date(c.getTime() + h - Ze));
|
|
261
|
+
const b = e.clone();
|
|
262
|
+
n?.(), e.date = g, r?.(b, e);
|
|
259
263
|
}
|
|
260
|
-
} else if (
|
|
261
|
-
|
|
262
|
-
const
|
|
263
|
-
|
|
264
|
+
} else if (d > at) {
|
|
265
|
+
o = Date.now();
|
|
266
|
+
const l = (c.getUTCMonth() + 1) % 12, h = new Date(c.getTime());
|
|
267
|
+
h.setUTCMonth(l);
|
|
268
|
+
const g = e.clone();
|
|
269
|
+
n?.(), e.date = h, r?.(g, e);
|
|
264
270
|
}
|
|
265
|
-
|
|
271
|
+
s = requestAnimationFrame(() => a(o));
|
|
266
272
|
}
|
|
267
|
-
return
|
|
273
|
+
return a(), Z(() => cancelAnimationFrame(s));
|
|
268
274
|
}
|
|
269
|
-
const U =
|
|
270
|
-
function
|
|
275
|
+
const U = v / 4;
|
|
276
|
+
function lt(t, e, i, r) {
|
|
271
277
|
const {
|
|
272
278
|
day: n,
|
|
273
279
|
night: s = n,
|
|
274
280
|
twilight: a = n
|
|
275
|
-
} = r, o = n * U,
|
|
281
|
+
} = r, o = n * U, c = s * U, d = a * U;
|
|
276
282
|
if (t == null || e == null || Number.isNaN(t.getTime()) && Number.isNaN(e.getTime()))
|
|
277
283
|
return o;
|
|
278
|
-
const l = i.getTime(),
|
|
279
|
-
let
|
|
280
|
-
return l >=
|
|
284
|
+
const l = i.getTime(), h = t.getTime(), g = e.getTime(), w = h - L / 2, y = h + L / 2, _ = g - L / 3 * 2, b = g + L / 3;
|
|
285
|
+
let f = o;
|
|
286
|
+
return l >= w && l <= y ? l - w <= v ? f = c - (l - w) / v * (c - d) : y - l <= v / 2 ? f = o - (y - l) / v * 2 * (o - d) : f = d : l >= _ && l <= b ? l - _ <= v / 2 ? f = o - (l - _) / v * 2 * (o - d) : b - l <= v ? f = c - (b - l) / v * (c - d) : f = d : (l < h || l > g) && (f = c), f;
|
|
281
287
|
}
|
|
282
|
-
function
|
|
288
|
+
function S(t) {
|
|
283
289
|
return t.hidden ? null : t.children;
|
|
284
290
|
}
|
|
285
|
-
function
|
|
291
|
+
function oe(t) {
|
|
286
292
|
const { children: e, hideHeader: i, headingLevel: r = 2, label: n, title: s } = t;
|
|
287
|
-
return
|
|
293
|
+
return u`<div aria-label=${n ?? H} class=${be({
|
|
288
294
|
[t.class]: !0,
|
|
289
|
-
[
|
|
290
|
-
[
|
|
291
|
-
})} role=presentation>${
|
|
295
|
+
[Q.widget]: !0,
|
|
296
|
+
[Q.panel]: !0
|
|
297
|
+
})} role=presentation>${S({ hidden: i || !s, children: Te({ level: r, children: s }) })}${e}</div>`;
|
|
292
298
|
}
|
|
293
|
-
class
|
|
299
|
+
class ct {
|
|
294
300
|
#t;
|
|
295
301
|
#r;
|
|
296
302
|
#n = ke(() => {
|
|
@@ -299,13 +305,13 @@ class dt {
|
|
|
299
305
|
constructor(e) {
|
|
300
306
|
this.#r = e;
|
|
301
307
|
let i;
|
|
302
|
-
|
|
308
|
+
X(this.#n, () => {
|
|
303
309
|
i = e();
|
|
304
|
-
}), this.#t =
|
|
310
|
+
}), this.#t = Pe(i);
|
|
305
311
|
}
|
|
306
312
|
#i() {
|
|
307
313
|
const e = this.#t.value;
|
|
308
|
-
|
|
314
|
+
X(this.#n, () => {
|
|
309
315
|
this.#t.value = this.#r(e);
|
|
310
316
|
});
|
|
311
317
|
}
|
|
@@ -317,36 +323,36 @@ class dt {
|
|
|
317
323
|
}
|
|
318
324
|
}
|
|
319
325
|
function j(t) {
|
|
320
|
-
return new
|
|
326
|
+
return new ct(t);
|
|
321
327
|
}
|
|
322
|
-
const
|
|
328
|
+
const dt = {
|
|
323
329
|
day: 1,
|
|
324
330
|
night: 6,
|
|
325
331
|
twilight: 2 / 3
|
|
326
332
|
};
|
|
327
|
-
class
|
|
333
|
+
class ht extends ve {
|
|
328
334
|
constructor() {
|
|
329
|
-
super(...arguments), this.messages = xe({ blocking: !0 }), this.#r = "none", this.#n = null, this.#
|
|
330
|
-
if (
|
|
335
|
+
super(...arguments), this.messages = xe({ blocking: !0 }), this.#r = "none", this.#n = null, this.#o = W(), this.#s = W(), this.#d = 200, this.#h = 200, this.#e = {}, this._offset = j((e) => m(this.lighting) ? this.lighting.displayUTCOffset ?? e : e), this._timesliderPosition = j((e) => {
|
|
336
|
+
if (m(this.lighting)) {
|
|
331
337
|
const i = this.lighting.displayUTCOffset ?? 0, r = this.lighting.date;
|
|
332
|
-
if (
|
|
333
|
-
const { minutesSinceMidnight: n } =
|
|
338
|
+
if (O(r)) {
|
|
339
|
+
const { minutesSinceMidnight: n } = T(r, i);
|
|
334
340
|
return n;
|
|
335
341
|
} else
|
|
336
342
|
return e;
|
|
337
343
|
}
|
|
338
344
|
return e;
|
|
339
345
|
}), this._localDate = j((e) => {
|
|
340
|
-
if (
|
|
346
|
+
if (m(this.lighting)) {
|
|
341
347
|
const i = this.lighting.displayUTCOffset ?? 0, r = this.lighting.date;
|
|
342
|
-
if (
|
|
343
|
-
const { localDate: n } =
|
|
348
|
+
if (O(r)) {
|
|
349
|
+
const { localDate: n } = T(r, i);
|
|
344
350
|
return n;
|
|
345
351
|
} else
|
|
346
352
|
return e;
|
|
347
353
|
}
|
|
348
354
|
return e;
|
|
349
|
-
}), this.view = De(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 =
|
|
355
|
+
}), this.view = De(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 = Y(), this.arcgisUserDateTimeChange = Y(), this.#c = !1;
|
|
350
356
|
}
|
|
351
357
|
static {
|
|
352
358
|
this.properties = { view: 0, playingState: 1, lighting: 32, supported: 32, sunlightingDisabled: 5, autoDestroyDisabled: 5, currentSeason: 1, dateOrSeason: 3, dayPlaying: 5, directShadowsDisabled: 5, headingLevel: 9, hideDatePicker: 5, hideHeader: 5, hidePlayButtons: 5, hideShadowsToggle: 5, hideSunLightingToggle: 5, hideTimezone: 5, icon: 3, label: 1, playSpeedMultiplier: 9, position: 1, referenceElement: 1, timeSliderSteps: 9, utcOffset: 9, timeSliderPosition: 9, localDate: 1, yearPlaying: 5 };
|
|
@@ -361,34 +367,35 @@ class gt extends ve {
|
|
|
361
367
|
#r;
|
|
362
368
|
#n;
|
|
363
369
|
#i;
|
|
364
|
-
#
|
|
370
|
+
#o;
|
|
365
371
|
#s;
|
|
366
|
-
#
|
|
367
|
-
#
|
|
372
|
+
#d;
|
|
373
|
+
#h;
|
|
374
|
+
#l() {
|
|
368
375
|
if (this.#i)
|
|
369
376
|
return;
|
|
370
377
|
const e = requestIdleCallback(() => {
|
|
371
|
-
if (this.#i?.remove(),
|
|
372
|
-
const i = this.utcOffset ?? 0, r = this.timeSliderPosition ?? 0, n = this.localDate, s = r - i * 60, a =
|
|
378
|
+
if (this.#i?.remove(), m(this.lighting)) {
|
|
379
|
+
const i = this.utcOffset ?? 0, r = this.timeSliderPosition ?? 0, n = this.localDate, s = r - i * 60, a = C(n, s, "minutes");
|
|
373
380
|
this.lighting.date = a, this.lighting.displayUTCOffset = i;
|
|
374
381
|
}
|
|
375
|
-
}, { timeout: this.#
|
|
376
|
-
this.#i =
|
|
382
|
+
}, { timeout: this.#d });
|
|
383
|
+
this.#i = Z(() => {
|
|
377
384
|
cancelIdleCallback(e), this.#i = void 0;
|
|
378
385
|
});
|
|
379
386
|
}
|
|
380
|
-
#
|
|
387
|
+
#u({ scale: e, disabled: i }) {
|
|
381
388
|
const { messages: r } = this;
|
|
382
|
-
return
|
|
389
|
+
return u`<calcite-label .scale=${e}>${r.date}${gt({ disabled: i, scale: e, date: this.localDateAsString, onDateChange: (n) => {
|
|
383
390
|
const s = n.currentTarget.value, a = Array.isArray(s) ? s[0] : s;
|
|
384
391
|
this._stopPlaying(), this.localDate = a, this._emitUserDateTimeChangeEvent();
|
|
385
|
-
}, playButtons:
|
|
392
|
+
}, playButtons: S({ hidden: this.hidePlayButtons, children: le({ scale: e, playing: this.yearPlaying, disabled: i, label: r.playYear, onClick: () => {
|
|
386
393
|
this.playingState === "year" ? this.playingState = "none" : this.playingState = "year";
|
|
387
394
|
} }) }) })}</calcite-label>`;
|
|
388
395
|
}
|
|
389
|
-
#
|
|
396
|
+
#p({ scale: e, disabled: i }) {
|
|
390
397
|
const { messages: r } = this;
|
|
391
|
-
return
|
|
398
|
+
return u`<calcite-label .scale=${e}>${r.season}${ut({ scale: e, selectedSeason: this.currentSeason, disabled: i, messages: r, onSeasonChange: (n) => {
|
|
392
399
|
this._stopPlaying(), this.currentSeason = n.currentTarget.value;
|
|
393
400
|
} })}</calcite-label>`;
|
|
394
401
|
}
|
|
@@ -403,7 +410,7 @@ class gt extends ve {
|
|
|
403
410
|
return this.#r;
|
|
404
411
|
}
|
|
405
412
|
set playingState(e) {
|
|
406
|
-
this.#r = e, e === "none" ? this.#t?.remove() : (this._play(e), this._emitUserDateTimeChangeEvent());
|
|
413
|
+
this.#r = e, this.#a?.remove(), e === "none" ? this.#t?.remove() : (this._play(e), this._emitUserDateTimeChangeEvent());
|
|
407
414
|
}
|
|
408
415
|
get lighting() {
|
|
409
416
|
return this._view?.environment?.lighting;
|
|
@@ -412,7 +419,7 @@ class gt extends ve {
|
|
|
412
419
|
return this._view?.type === "3d";
|
|
413
420
|
}
|
|
414
421
|
get sunlightingDisabled() {
|
|
415
|
-
return !
|
|
422
|
+
return !m(this.lighting);
|
|
416
423
|
}
|
|
417
424
|
set sunlightingDisabled(e) {
|
|
418
425
|
this.#e.sunlightingDisabled = e;
|
|
@@ -424,19 +431,19 @@ class gt extends ve {
|
|
|
424
431
|
const s = {
|
|
425
432
|
directShadowsEnabled: r.directShadowsEnabled
|
|
426
433
|
};
|
|
427
|
-
|
|
434
|
+
m(r) && (s.cameraTrackingEnabled = r.cameraTrackingEnabled);
|
|
428
435
|
const a = e ? "virtual" : "sun";
|
|
429
436
|
let o;
|
|
430
|
-
n != null && n.type === a ? o = n : o = e ? new Se() : new ye(), o.set(s), i.lighting = o, e || (this._stopPlaying(), this.#
|
|
437
|
+
n != null && n.type === a ? o = n : o = e ? new Se() : new ye(), o.set(s), i.lighting = o, e || (this._stopPlaying(), this.#o.value && (this.#o.value.open = !1));
|
|
431
438
|
}
|
|
432
439
|
get currentSeason() {
|
|
433
|
-
const e = this._view?.camera?.position?.latitude ?? 0, i =
|
|
440
|
+
const e = this._view?.camera?.position?.latitude ?? 0, i = se(e);
|
|
434
441
|
return je(this.localDate, i);
|
|
435
442
|
}
|
|
436
443
|
set currentSeason(e) {
|
|
437
444
|
this._stopPlaying();
|
|
438
|
-
const i = this._view?.camera?.position?.latitude ?? 0, r =
|
|
439
|
-
this.localDate =
|
|
445
|
+
const i = this._view?.camera?.position?.latitude ?? 0, r = se(i), n = B(e, r);
|
|
446
|
+
this.localDate = P(this.localDate, n, "northern"), this._emitUserDateTimeChangeEvent();
|
|
440
447
|
}
|
|
441
448
|
get dayPlaying() {
|
|
442
449
|
return this.playingState === "day";
|
|
@@ -454,23 +461,23 @@ class gt extends ve {
|
|
|
454
461
|
return this._offset.value;
|
|
455
462
|
}
|
|
456
463
|
set utcOffset(e) {
|
|
457
|
-
this._offset.mutate(e), this.#
|
|
464
|
+
this._offset.mutate(e), this.#l();
|
|
458
465
|
}
|
|
459
466
|
get timeSliderPosition() {
|
|
460
467
|
return this._timesliderPosition.value;
|
|
461
468
|
}
|
|
462
469
|
set timeSliderPosition(e) {
|
|
463
|
-
this._timesliderPosition.mutate(
|
|
470
|
+
this._timesliderPosition.mutate(q(e ?? 0, A)), this.#l();
|
|
464
471
|
}
|
|
465
472
|
get localDate() {
|
|
466
473
|
return this._localDate.value != null ? new Date(this._localDate.value) : /* @__PURE__ */ new Date();
|
|
467
474
|
}
|
|
468
475
|
set localDate(e) {
|
|
469
476
|
const i = new Date(e);
|
|
470
|
-
if (
|
|
477
|
+
if (O(i)) {
|
|
471
478
|
i.setUTCFullYear(i.getFullYear(), i.getMonth(), i.getDate());
|
|
472
479
|
const r = i.toISOString().slice(0, 10);
|
|
473
|
-
this._localDate.mutate(r), this.#
|
|
480
|
+
this._localDate.mutate(r), this.#l();
|
|
474
481
|
}
|
|
475
482
|
}
|
|
476
483
|
get yearPlaying() {
|
|
@@ -484,12 +491,12 @@ class gt extends ve {
|
|
|
484
491
|
}
|
|
485
492
|
async load() {
|
|
486
493
|
this.#e.utcOffset = this.utcOffset, this.#e.timeSliderPosition = this.timeSliderPosition, this.#e.localDate = this.localDateAsString, this.manager.onLifecycle(() => [
|
|
487
|
-
|
|
494
|
+
ee(() => {
|
|
488
495
|
let e = null;
|
|
489
|
-
if (
|
|
496
|
+
if (m(this.lighting)) {
|
|
490
497
|
const i = this.lighting.displayUTCOffset ?? 0, r = this.lighting.date;
|
|
491
|
-
if (
|
|
492
|
-
const { minutesSinceMidnight: n } =
|
|
498
|
+
if (O(r)) {
|
|
499
|
+
const { minutesSinceMidnight: n } = T(r, i);
|
|
493
500
|
e = n;
|
|
494
501
|
}
|
|
495
502
|
}
|
|
@@ -498,39 +505,39 @@ class gt extends ve {
|
|
|
498
505
|
const i = this.#g;
|
|
499
506
|
e != null && i !== e && this._emitUserDateTimeChangeEvent();
|
|
500
507
|
}, { sync: !0 }),
|
|
501
|
-
|
|
502
|
-
e &&
|
|
508
|
+
ee(() => this._view?.camera?.position, (e) => {
|
|
509
|
+
e && m(this.lighting) && this.lighting.cameraTrackingEnabled && (this.lighting.displayUTCOffset = nt(e));
|
|
503
510
|
}),
|
|
504
|
-
|
|
511
|
+
K.onLocaleChange(() => {
|
|
505
512
|
this.requestUpdate();
|
|
506
513
|
})
|
|
507
514
|
]), this.manager.onDisconnected(() => {
|
|
508
|
-
this.#t?.remove(), this.#i?.remove();
|
|
515
|
+
this.#t?.remove(), this.#i?.remove(), this.#a?.remove();
|
|
509
516
|
});
|
|
510
517
|
}
|
|
511
518
|
willUpdate(e) {
|
|
512
|
-
if (super.willUpdate(e), !!this.#
|
|
513
|
-
const i = this.utcOffset ?? 0, r = this.lighting.displayUTCOffset ?? 0, n = this.timeSliderPosition ?? 0, s = this.localDate, a = n - r * 60, o =
|
|
514
|
-
this._timesliderPosition.mutate(
|
|
519
|
+
if (super.willUpdate(e), !!this.#c && m(this.lighting) && e.has("utcOffset")) {
|
|
520
|
+
const i = this.utcOffset ?? 0, r = this.lighting.displayUTCOffset ?? 0, n = this.timeSliderPosition ?? 0, s = this.localDate, a = n - r * 60, o = C(s, a, "minutes"), { minutesSinceMidnight: c, localDate: d } = T(o, i);
|
|
521
|
+
this._timesliderPosition.mutate(c), this._localDate.mutate(d);
|
|
515
522
|
}
|
|
516
523
|
}
|
|
517
524
|
updated(e) {
|
|
518
525
|
super.updated(e), this._adjustTimeSliderLabels();
|
|
519
526
|
}
|
|
520
|
-
#
|
|
527
|
+
#c;
|
|
521
528
|
async loaded() {
|
|
522
529
|
const e = new AbortController();
|
|
523
530
|
this.manager.onDisconnected(() => ({
|
|
524
531
|
remove: () => {
|
|
525
532
|
e.abort();
|
|
526
533
|
}
|
|
527
|
-
})), await
|
|
534
|
+
})), await $e(Ce(() => this._view?.ready, { signal: e.signal }).then(() => {
|
|
528
535
|
this.utcOffset = this.#e.utcOffset ?? this.utcOffset, this.timeSliderPosition = this.#e.timeSliderPosition ?? this.timeSliderPosition, this.localDate = this.#e.localDate ?? this.localDate, this.#e.directShadowsDisabled != null && (this.directShadowsDisabled = this.#e.directShadowsDisabled), this.#e.sunlightingDisabled != null && (this.sunlightingDisabled = this.#e.sunlightingDisabled), this.#e = {};
|
|
529
|
-
})), this.#
|
|
536
|
+
})), this.#c = !0;
|
|
530
537
|
}
|
|
531
538
|
_adjustTimeSliderLabels() {
|
|
532
539
|
const e = this.#s.value;
|
|
533
|
-
e &&
|
|
540
|
+
e && ft(e, K.getLocale());
|
|
534
541
|
}
|
|
535
542
|
_emitUserDateTimeChangeEvent() {
|
|
536
543
|
this.isConnected && this.arcgisUserDateTimeChange.emit();
|
|
@@ -538,63 +545,89 @@ class gt extends ve {
|
|
|
538
545
|
_stopPlaying() {
|
|
539
546
|
this.playingState = "none";
|
|
540
547
|
}
|
|
548
|
+
#a;
|
|
549
|
+
#m(e) {
|
|
550
|
+
if (this.#a)
|
|
551
|
+
return;
|
|
552
|
+
const i = setTimeout(() => {
|
|
553
|
+
const r = e.displayUTCOffset ?? 0, n = e.date, { minutesSinceMidnight: s } = T(n, r);
|
|
554
|
+
this._timesliderPosition.mutate(s), this.#a?.remove();
|
|
555
|
+
}, this.#h);
|
|
556
|
+
this.#a = Z(() => {
|
|
557
|
+
clearTimeout(i), this.#a = void 0;
|
|
558
|
+
const r = this.lighting;
|
|
559
|
+
if (m(r)) {
|
|
560
|
+
const n = r.displayUTCOffset ?? 0, s = r.date, { minutesSinceMidnight: a } = T(s, n);
|
|
561
|
+
this._timesliderPosition.mutate(a);
|
|
562
|
+
}
|
|
563
|
+
});
|
|
564
|
+
}
|
|
541
565
|
_play(e) {
|
|
542
566
|
this.#t?.remove();
|
|
543
567
|
const i = this._view;
|
|
544
568
|
if (i == null || this.sunlightingDisabled)
|
|
545
569
|
return;
|
|
546
570
|
const r = i.environment.lighting;
|
|
547
|
-
|
|
571
|
+
if (!m(r))
|
|
572
|
+
return;
|
|
573
|
+
let n = 0;
|
|
574
|
+
this.#t = ot({
|
|
548
575
|
mode: e,
|
|
549
576
|
lighting: r,
|
|
577
|
+
beforeProgress: () => {
|
|
578
|
+
n = this.#g ?? 0;
|
|
579
|
+
},
|
|
580
|
+
onProgress: (s, a) => {
|
|
581
|
+
this._timesliderPosition.mutate(n), this.#m(a);
|
|
582
|
+
},
|
|
550
583
|
getPlaySpeed: () => {
|
|
551
|
-
const
|
|
552
|
-
if (
|
|
553
|
-
const
|
|
554
|
-
return
|
|
584
|
+
const s = this._view, a = this._view?.environment.lighting;
|
|
585
|
+
if (s != null && m(a)) {
|
|
586
|
+
const o = s.camera.position.latitude ?? 0, c = s.camera.position.longitude ?? 0, { sunrise: d, sunset: l } = Be(a.date, o, c, a.displayUTCOffset ?? 0);
|
|
587
|
+
return lt(d, l, a.date, dt) * this.playSpeedMultiplier;
|
|
555
588
|
} else
|
|
556
589
|
return U * this.playSpeedMultiplier;
|
|
557
590
|
}
|
|
558
|
-
})
|
|
591
|
+
});
|
|
559
592
|
}
|
|
560
593
|
render() {
|
|
561
594
|
const { messages: e, dateOrSeason: i } = this, r = this.sunlightingDisabled, n = "s";
|
|
562
595
|
if (!this.supported)
|
|
563
|
-
return
|
|
596
|
+
return oe({ class: "wrapper", label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: u`<div class="unsupported"><p>${e.unsupported}</p></div>` });
|
|
564
597
|
const s = (this.utcOffset ?? 0) * 60;
|
|
565
|
-
return
|
|
598
|
+
return oe({ class: "wrapper", label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: u`<div class="day-container"><calcite-label class="slider-container" .scale=${n}>${e.timeSliderLabel}${tt({ ref: this.#s, disabled: this.sunlightingDisabled, scale: n, value: this.timeSliderPosition ?? 0, steps: this.timeSliderSteps, onTimeChanged: (a) => {
|
|
566
599
|
this._stopPlaying(), this._emitUserDateTimeChangeEvent(), this.timeSliderPosition = a;
|
|
567
|
-
} })}</calcite-label>${
|
|
600
|
+
} })}</calcite-label>${S({ hidden: this.hidePlayButtons, children: u`<div class="slider-play-button">${le({ scale: n, disabled: this.sunlightingDisabled, playing: this.dayPlaying, label: e.playDay, onClick: () => {
|
|
568
601
|
this.playingState === "day" ? this._stopPlaying() : this.playingState = "day";
|
|
569
|
-
} })}</div>` })}</div>${
|
|
602
|
+
} })}</div>` })}</div>${S({ hidden: this.hideTimezone, children: u`<calcite-label scale=s>${e.timezone}<calcite-input-time-zone class="timezone-input" mode=offset overlay-positioning=fixed .scale=${n} .disabled=${this.sunlightingDisabled} .value=${`${s}`} .referenceDate=${this.localDateAsString} @calciteInputTimeZoneChange=${(a) => {
|
|
570
603
|
const o = +a.target.value;
|
|
571
604
|
this.utcOffset = o / 60, this._stopPlaying();
|
|
572
|
-
}} ${
|
|
605
|
+
}} ${ce(this.#o)}></calcite-input-time-zone></calcite-label>` })}${S({ hidden: this.hideDatePicker, children: i === "date" ? this.#u({ scale: n, disabled: r }) : this.#p({ scale: n, disabled: r }) })}${S({ hidden: this.hideSunLightingToggle, children: pt({ scale: n, messages: e.sunLightingToggle, sunlightingEnabled: !this.sunlightingDisabled, onSunLightingToggle: (a) => {
|
|
573
606
|
this.sunlightingDisabled = !a;
|
|
574
|
-
} }) })}${
|
|
607
|
+
} }) })}${S({ hidden: this.hideShadowsToggle, children: mt({ scale: n, messages: e.shadowsToggle, onShadowCheckboxChange: (a) => {
|
|
575
608
|
this.directShadowsDisabled = !a;
|
|
576
609
|
}, shadowEnabled: !this.directShadowsDisabled }) })}` });
|
|
577
610
|
}
|
|
578
611
|
}
|
|
579
|
-
function
|
|
580
|
-
return
|
|
612
|
+
function le({ disabled: t, playing: e, onClick: i, label: r, scale: n }) {
|
|
613
|
+
return u`<calcite-button appearance=solid .scale=${n} .disabled=${t} .iconStart=${e ? "pause-f" : "play-f"} .label=${r} @click=${i} round title=${r ?? H} type=button></calcite-button>`;
|
|
581
614
|
}
|
|
582
|
-
function
|
|
583
|
-
return
|
|
615
|
+
function gt({ disabled: t, date: e, onDateChange: i, scale: r, playButtons: n }) {
|
|
616
|
+
return u`<div class="date-container"><calcite-input-date-picker data-testid=daylight-date-picker .disabled=${t} overlay-positioning=fixed placement=bottom .value=${e} .scale=${r} @calciteInputDatePickerChange=${i}></calcite-input-date-picker>${n}</div>`;
|
|
584
617
|
}
|
|
585
|
-
function
|
|
586
|
-
return
|
|
618
|
+
function ut({ messages: t, disabled: e, scale: i, selectedSeason: r, onSeasonChange: n }) {
|
|
619
|
+
return u`<calcite-select .disabled=${e} .label=${t.season} .scale=${i} .value=${r} @calciteSelectChange=${(s) => {
|
|
587
620
|
n(s);
|
|
588
|
-
}}>${V.map((s) =>
|
|
621
|
+
}}>${V.map((s) => u`<calcite-option .selected=${r === s} .value=${s}>${t[s]}</calcite-option>`)}</calcite-select>`;
|
|
589
622
|
}
|
|
590
|
-
function
|
|
591
|
-
return
|
|
623
|
+
function pt({ messages: t, sunlightingEnabled: e, onSunLightingToggle: i, scale: r }) {
|
|
624
|
+
return u`<calcite-label layout=inline .scale=${r} title=${t?.tooltip ?? H}><calcite-checkbox .scale=${r} .checked=${e} @calciteCheckboxChange=${(n) => i(n.target.checked)}></calcite-checkbox>${t?.label}</calcite-label>`;
|
|
592
625
|
}
|
|
593
|
-
function
|
|
594
|
-
return
|
|
626
|
+
function mt({ messages: t, shadowEnabled: e, onShadowCheckboxChange: i, scale: r }) {
|
|
627
|
+
return u`<calcite-label layout=inline .scale=${r} title=${t?.tooltip ?? H}><calcite-checkbox .checked=${e} @calciteCheckboxChange=${(n) => i(n.target.checked)}></calcite-checkbox>${t.label}</calcite-label>`;
|
|
595
628
|
}
|
|
596
|
-
function
|
|
597
|
-
const i =
|
|
629
|
+
function ft(t, e) {
|
|
630
|
+
const i = bt(e), r = i?.language ?? "", n = i?.region ?? "", s = ["ar", "bg", "el", "en", "ko"].includes(r) || r === "zh" && ["HK", "TW"].includes(n);
|
|
598
631
|
if (t.style.setProperty("--label-wrap-padding", s ? "5px" : "0"), t.style.setProperty("--label-wrapping", s ? "normal" : "nowrap"), !t.hasAttribute("data-slider-label-stylesheet-attatched") && t.shadowRoot) {
|
|
599
632
|
const a = t.shadowRoot.adoptedStyleSheets, o = new CSSStyleSheet();
|
|
600
633
|
o.replaceSync(`
|
|
@@ -605,11 +638,11 @@ function _t(t, e) {
|
|
|
605
638
|
`), t.shadowRoot.adoptedStyleSheets = [...a, o], t.toggleAttribute("data-slider-label-stylesheet-attatched", !0);
|
|
606
639
|
}
|
|
607
640
|
}
|
|
608
|
-
const
|
|
609
|
-
function
|
|
610
|
-
return
|
|
641
|
+
const _t = /^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/u;
|
|
642
|
+
function bt(t) {
|
|
643
|
+
return _t.exec(t)?.groups;
|
|
611
644
|
}
|
|
612
|
-
fe("arcgis-daylight",
|
|
645
|
+
fe("arcgis-daylight", ht);
|
|
613
646
|
export {
|
|
614
|
-
|
|
647
|
+
ht as ArcgisDaylight
|
|
615
648
|
};
|