@arcgis/map-components 5.2.0-next.24 → 5.2.0-next.26
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/2NYG7G7M.js +2 -0
- package/dist/cdn/{RDYFXGBG.js → 2SEZT4WZ.js} +1 -1
- package/dist/cdn/32XG4IQO.js +2 -0
- package/dist/cdn/{SLPRDDKL.js → 333FN2FH.js} +1 -1
- package/dist/cdn/{O3S3JGUF.js → 3ACWQZMG.js} +1 -1
- package/dist/cdn/{3ZLJBZUR.js → 3IVI7KSX.js} +1 -1
- package/dist/cdn/{NIH6ZDQF.js → 3MDY3AXY.js} +1 -1
- package/dist/cdn/{CIMTQPRO.js → 3TFVMVSU.js} +1 -1
- package/dist/cdn/{5OIAYTR6.js → 3UEX6WWW.js} +1 -1
- package/dist/cdn/{JDWZTXWP.js → 3XUZ45XB.js} +1 -1
- package/dist/cdn/{OGNQD4YE.js → 3XWUH3TJ.js} +1 -1
- package/dist/cdn/{XHCEMCMK.js → 3YDQP3TL.js} +1 -1
- package/dist/cdn/{WR7D5AWQ.js → 42N4OII5.js} +1 -1
- package/dist/cdn/{ZN5DPJ47.js → 435CL2BU.js} +1 -1
- package/dist/cdn/{TA7BOHI2.js → 43OLIA7Q.js} +1 -1
- package/dist/cdn/45O57WR4.js +2 -0
- package/dist/cdn/{FHL4L2ZY.js → 45OF43WO.js} +1 -1
- package/dist/cdn/{CXHORYLL.js → 4DU47CLL.js} +1 -1
- package/dist/cdn/{7TA73NAM.js → 4ICKT52U.js} +1 -1
- package/dist/cdn/4IKFF53M.js +2 -0
- package/dist/cdn/4JHO27KW.js +2 -0
- package/dist/cdn/{TALJULOQ.js → 4L35X2II.js} +1 -1
- package/dist/cdn/{KDXJMMWU.js → 4NMNJIYV.js} +1 -1
- package/dist/cdn/4RGFCQOB.js +2 -0
- package/dist/cdn/{4BJSMXKG.js → 54WXILYF.js} +1 -1
- package/dist/cdn/{A6O75S47.js → 63RAMAYF.js} +1 -1
- package/dist/cdn/{EVEGXXQF.js → 6EKV3B5S.js} +1 -1
- package/dist/cdn/{MOQQDHMJ.js → 6FOYKQEP.js} +1 -1
- package/dist/cdn/{25YGNXRQ.js → 6HJM34BD.js} +1 -1
- package/dist/cdn/{KHIEG5JF.js → 6HXM4D4W.js} +1 -1
- package/dist/cdn/{ACMQRVHQ.js → 6IEKX6LJ.js} +1 -1
- package/dist/cdn/6JMYHTFN.js +2 -0
- package/dist/cdn/{NGTGQ4VB.js → 6O7GP3C3.js} +1 -1
- package/dist/cdn/{JPLUPA6R.js → 6PS3YIDY.js} +1 -1
- package/dist/cdn/{KVM3SKQX.js → 6S7LUYCJ.js} +1 -1
- package/dist/cdn/{KRXDH2HI.js → 6ZJFTT6R.js} +1 -1
- package/dist/cdn/{IN7S26X4.js → 6ZP6GZS7.js} +1 -1
- package/dist/cdn/{Y62ISVYZ.js → 75PSCL4A.js} +1 -1
- package/dist/cdn/{IFWIGLKK.js → 7ED4UQDB.js} +1 -1
- package/dist/cdn/{HNA422YB.js → 7GXEJLOM.js} +1 -1
- package/dist/cdn/7KPJBKO6.js +2 -0
- package/dist/cdn/{5LM2XZIK.js → 7LRGEABA.js} +1 -1
- package/dist/cdn/{K23ECU7I.js → 7MKSGCWC.js} +1 -1
- package/dist/cdn/{JKGGA54X.js → 7MWEEVVD.js} +1 -1
- package/dist/cdn/{VZNQJ644.js → 7PTCONZB.js} +1 -1
- package/dist/cdn/{4NPLHQZG.js → 7XUCMK3B.js} +1 -1
- package/dist/cdn/{LMNWYSI3.js → 7ZVWCRXE.js} +1 -1
- package/dist/cdn/A2Q7UAOI.js +3 -0
- package/dist/cdn/{XJMQFTSS.js → AEBJAVUX.js} +1 -1
- package/dist/cdn/{K6U6L7EK.js → AGTJNHWI.js} +1 -1
- package/dist/cdn/{YEPPZ46U.js → ATLWKCAP.js} +1 -1
- package/dist/cdn/AU7UZMXF.js +2 -0
- package/dist/cdn/{6EFOGQLH.js → AW7PMR3D.js} +1 -1
- package/dist/cdn/{LKRXUVVK.js → B2ZGMSHQ.js} +1 -1
- package/dist/cdn/{O5TKBG2D.js → B7P66JTS.js} +1 -1
- package/dist/cdn/{USYDTYRK.js → BCXPJXAK.js} +1 -1
- package/dist/cdn/BK6P2PBO.js +2 -0
- package/dist/cdn/{KUUKJIQM.js → BPQPJXPT.js} +1 -1
- package/dist/cdn/{MRDKTBHD.js → BPXKEXYV.js} +1 -1
- package/dist/cdn/{F7ZQA7S5.js → BRDTU3O6.js} +1 -1
- package/dist/cdn/{LLPO63LQ.js → BXLXZYRC.js} +1 -1
- package/dist/cdn/{VG7WYAOD.js → CCFKZSFO.js} +1 -1
- package/dist/cdn/{JXS44YCP.js → COGFFO5G.js} +1 -1
- package/dist/cdn/{5BIMGLS7.js → CTUD7CTJ.js} +1 -1
- package/dist/cdn/{RDFCQM5U.js → CX5LLKOW.js} +1 -1
- package/dist/cdn/DBJFHC3S.js +2 -0
- package/dist/cdn/DFMHSA2D.js +2 -0
- package/dist/cdn/{G46IIKPN.js → DLMGAC2A.js} +1 -1
- package/dist/cdn/{IJQZON2Z.js → DU6OKLV4.js} +1 -1
- package/dist/cdn/{PIRSSTSR.js → DUDVPO32.js} +1 -1
- package/dist/cdn/{OKHEBRQW.js → DUWXDGIW.js} +1 -1
- package/dist/cdn/EBWDF4RR.js +2 -0
- package/dist/cdn/{RP3SPYWY.js → EEF3VY5V.js} +1 -1
- package/dist/cdn/{DYG6G3ZY.js → EFYUNXBG.js} +1 -1
- package/dist/cdn/{LDYIWX26.js → EI7NXMGF.js} +1 -1
- package/dist/cdn/{WGR4TMS3.js → EIHTWPOP.js} +1 -1
- package/dist/cdn/{L4BJVEKK.js → EK44YZYH.js} +1 -1
- package/dist/cdn/{P5N66JAU.js → EK7GAWIV.js} +1 -1
- package/dist/cdn/{AAMJRMEX.js → EL6TAK3S.js} +1 -1
- package/dist/cdn/{MXY2C4UH.js → ENSUS3VL.js} +1 -1
- package/dist/cdn/{JMJ3LJGR.js → ESTUA4YE.js} +1 -1
- package/dist/cdn/{SEG3YDME.js → EVYO2SIO.js} +1 -1
- package/dist/cdn/{FOFJHQ4Z.js → FCRUDE4P.js} +1 -1
- package/dist/cdn/{NGMHPU5E.js → FCRWSG6Z.js} +1 -1
- package/dist/cdn/{76M43EVT.js → FJT2YAI6.js} +1 -1
- package/dist/cdn/{SLTQSWGA.js → G4CPNGQ6.js} +1 -1
- package/dist/cdn/{XIOGQDJH.js → GJIDZ4M6.js} +1 -1
- package/dist/cdn/{P3U6DQN6.js → GLNO2ZMW.js} +1 -1
- package/dist/cdn/{HBEXNLQM.js → GPPU5K5J.js} +1 -1
- package/dist/cdn/{ZUXQKICJ.js → GPVFCWMU.js} +1 -1
- package/dist/cdn/{TOVZMHWU.js → GRUB3M36.js} +1 -1
- package/dist/cdn/{JMRI4LOI.js → H3J6GAKO.js} +1 -1
- package/dist/cdn/H6MYLGUN.js +2 -0
- package/dist/cdn/{HNFXE43W.js → HIHYNNEU.js} +1 -1
- package/dist/cdn/{FT7ETWDM.js → HKTQWWXP.js} +1 -1
- package/dist/cdn/{23VXN3VB.js → HOIUABRJ.js} +1 -1
- package/dist/cdn/I5MVHBKV.js +2 -0
- package/dist/cdn/{BXKNMJRR.js → IDZCPNFC.js} +1 -1
- package/dist/cdn/{XHZ4LEYE.js → IHVHH3Z4.js} +1 -1
- package/dist/cdn/IKBRNNUA.js +2 -0
- package/dist/cdn/{NSE7MO5B.js → IPLVHFN5.js} +1 -1
- package/dist/cdn/{W3HICVNX.js → IQSSVLSC.js} +1 -1
- package/dist/cdn/ITCLBS5H.js +2 -0
- package/dist/cdn/{ZFFLDL4P.js → IZVYML7I.js} +1 -1
- package/dist/cdn/{CM2CNZDR.js → JBD3X2G7.js} +1 -1
- package/dist/cdn/{C4F6EN5S.js → JCHYVWCR.js} +1 -1
- package/dist/cdn/JCRPP54Z.js +2 -0
- package/dist/cdn/{GXVM7UPW.js → JLZJ354E.js} +1 -1
- package/dist/cdn/JSQZYDU6.js +2 -0
- package/dist/cdn/{YJP7TIKT.js → K3BJFKYY.js} +1 -1
- package/dist/cdn/{IGK4DKJ2.js → K5M3ZRVS.js} +1 -1
- package/dist/cdn/{GWZQD2KS.js → K7LJE67S.js} +1 -1
- package/dist/cdn/{FX7YHZMN.js → K7UC43CL.js} +1 -1
- package/dist/cdn/{YJM4JJRY.js → KBHTEAAG.js} +1 -1
- package/dist/cdn/{VOZ7A7UW.js → KG2IHV32.js} +1 -1
- package/dist/cdn/{IXZEUVT2.js → KLXEJCTT.js} +1 -1
- package/dist/cdn/{H47NPYUM.js → KPOSO4HB.js} +1 -1
- package/dist/cdn/{MFNC5YCH.js → KQT5MAFE.js} +1 -1
- package/dist/cdn/{DKH7GP3H.js → KXLCQG2D.js} +1 -1
- package/dist/cdn/{KLZFVT3D.js → KZBBEVWQ.js} +1 -1
- package/dist/cdn/{TMTDOGUQ.js → LA3UYF7I.js} +1 -1
- package/dist/cdn/{OOGQULHG.js → LKR52VUM.js} +1 -1
- package/dist/cdn/{OOLXNUY7.js → MAJ3JPSY.js} +1 -1
- package/dist/cdn/{FKGPQIBN.js → MDXQUNKW.js} +1 -1
- package/dist/cdn/{J33ULIDR.js → MECGUFOT.js} +1 -1
- package/dist/cdn/{UGOZSFW2.js → MGAHLABQ.js} +1 -1
- package/dist/cdn/{UNJTV3EI.js → MMNJNQ3Q.js} +1 -1
- package/dist/cdn/{REGSXPSY.js → MOIULPNJ.js} +1 -1
- package/dist/cdn/{UCPXN4Y5.js → MPYM4XNR.js} +1 -1
- package/dist/cdn/{2HQBEMYE.js → MTYQJ4TB.js} +1 -1
- package/dist/cdn/{6FRKBUG7.js → MZ35VFYR.js} +1 -1
- package/dist/cdn/{6ANMW473.js → N3JXA7DZ.js} +1 -1
- package/dist/cdn/{6HLRQHTF.js → NANWWHJ6.js} +1 -1
- package/dist/cdn/{2ENPU5CD.js → NAWH5P73.js} +1 -1
- package/dist/cdn/{Q6WNAJIC.js → NC472JXT.js} +1 -1
- package/dist/cdn/{BZNHYPVY.js → NCHQCPM6.js} +1 -1
- package/dist/cdn/{PDXPDGIN.js → NQSW6QJ6.js} +1 -1
- package/dist/cdn/{4BGPI3L3.js → NR53EGV6.js} +1 -1
- package/dist/cdn/{HVUITMRU.js → NRYA6EOZ.js} +1 -1
- package/dist/cdn/{EN3H2GBU.js → NVKY5H7W.js} +1 -1
- package/dist/cdn/{TOWBALAU.js → NXELRSXN.js} +1 -1
- package/dist/cdn/{O24XZVUV.js → NYS47GN2.js} +1 -1
- package/dist/cdn/{XDS3ZIHV.js → O7SRECHG.js} +1 -1
- package/dist/cdn/{2DSE5WHM.js → OF562TYT.js} +1 -1
- package/dist/cdn/{FAWJCFZQ.js → OMHMO6DD.js} +1 -1
- package/dist/cdn/{ZRRENPUV.js → OPP5DWFT.js} +1 -1
- package/dist/cdn/{HJ72UWKP.js → PIRA7ITO.js} +1 -1
- package/dist/cdn/{DFZK7FIP.js → PKS3JYAN.js} +1 -1
- package/dist/cdn/{TQHPE2X2.js → PLLSFCLD.js} +1 -1
- package/dist/cdn/{EQSDRIG6.js → PXZ7GYGB.js} +1 -1
- package/dist/cdn/{AC3GTCHJ.js → QAU5TWTZ.js} +1 -1
- package/dist/cdn/{SJIHZIXG.js → QFH7PJYV.js} +1 -1
- package/dist/cdn/{GJNYMDKO.js → QKCBJKWT.js} +1 -1
- package/dist/cdn/{M2MJH2FX.js → R5NVFWFA.js} +1 -1
- package/dist/cdn/R6Y3QBJZ.js +2 -0
- package/dist/cdn/{CFM2RF2I.js → R72MT5TQ.js} +1 -1
- package/dist/cdn/{KVE5RIEE.js → RKXL42SK.js} +1 -1
- package/dist/cdn/{TPZUKUI7.js → RO35U2LW.js} +1 -1
- package/dist/cdn/{J2ZJJKEI.js → ROIAI7KY.js} +1 -1
- package/dist/cdn/{FPX4MV2U.js → S3NMAVL6.js} +1 -1
- package/dist/cdn/S7HZFJQZ.js +2 -0
- package/dist/cdn/SAEE5GTI.js +2 -0
- package/dist/cdn/{KTXZR4IK.js → SBUR54TP.js} +1 -1
- package/dist/cdn/{PGCAY24R.js → SFP62RAJ.js} +1 -1
- package/dist/cdn/{GJMQ36NP.js → SGY36MUJ.js} +1 -1
- package/dist/cdn/{KG7UUIXV.js → SHJGMBBY.js} +1 -1
- package/dist/cdn/{Z42EKLRO.js → SJP5NLRB.js} +1 -1
- package/dist/cdn/{Y34KC34C.js → SNDTIGUT.js} +1 -1
- package/dist/cdn/{EMFCOFJ7.js → SPJCXMMT.js} +1 -1
- package/dist/cdn/{5Y3L2RDW.js → SSVJJAR5.js} +1 -1
- package/dist/cdn/{2HCFI5P5.js → SWKWLPLG.js} +1 -1
- package/dist/cdn/{UCEBZVNP.js → TA7JY4OV.js} +1 -1
- package/dist/cdn/{LDIKIEPN.js → TAFFNLUI.js} +1 -1
- package/dist/cdn/{H2U2JK4T.js → TCFK2EXM.js} +1 -1
- package/dist/cdn/{RMIR7645.js → TCKCE5NB.js} +1 -1
- package/dist/cdn/{BCFML3VR.js → TCS6CS2V.js} +1 -1
- package/dist/cdn/{DPZPIVA7.js → TCYTMU4A.js} +1 -1
- package/dist/cdn/{ITRTOO6W.js → TDEIRM7H.js} +1 -1
- package/dist/cdn/{CTPATSJU.js → TMOESX4H.js} +1 -1
- package/dist/cdn/{TUTJXJ6H.js → TSL4BZHI.js} +1 -1
- package/dist/cdn/{3M2ZWBEY.js → TZAGBPDN.js} +1 -1
- package/dist/cdn/{64S26ZIP.js → TZHGOM2Y.js} +1 -1
- package/dist/cdn/{2MO6LJPR.js → UEYLTX3J.js} +1 -1
- package/dist/cdn/{FG75P4KZ.js → UFGA4NGM.js} +1 -1
- package/dist/cdn/{6LYXJS6X.js → UMJTWBQ3.js} +1 -1
- package/dist/cdn/{ZZRHGYCY.js → UQIJOVPD.js} +1 -1
- package/dist/cdn/{RAUCP5RZ.js → V2FVPSX3.js} +1 -1
- package/dist/cdn/{Q4PNCUBK.js → V7MKCC7O.js} +1 -1
- package/dist/cdn/{QBTISG6Z.js → VAYZZ5OC.js} +1 -1
- package/dist/cdn/{L4UGJGS2.js → VHIOEBAH.js} +1 -1
- package/dist/cdn/{JCTU3MST.js → VJ2SMYNX.js} +1 -1
- package/dist/cdn/{6FMZAOVP.js → VLJKBHDD.js} +1 -1
- package/dist/cdn/{5SZX4F2U.js → VLXRN5II.js} +1 -1
- package/dist/cdn/{RXXEVGCM.js → VRWFW2LF.js} +1 -1
- package/dist/cdn/{YGAY263P.js → VSXLCBBA.js} +1 -1
- package/dist/cdn/{MDHIPDGE.js → VYBNGAPG.js} +1 -1
- package/dist/cdn/{HHSGISLJ.js → W2WYFYTT.js} +1 -1
- package/dist/cdn/{YAJLIV63.js → W5HSEDAR.js} +1 -1
- package/dist/cdn/{IPJSPBVN.js → WBLJSZV4.js} +1 -1
- package/dist/cdn/{KUPGJQBQ.js → WKQXQLLR.js} +1 -1
- package/dist/cdn/XJU225AF.js +2 -0
- package/dist/cdn/{TCQVDAIJ.js → XJVFSXPM.js} +1 -1
- package/dist/cdn/XMBA7QLQ.js +2 -0
- package/dist/cdn/XPSJ37QH.js +2 -0
- package/dist/cdn/{VPF46BTA.js → YCVINCOI.js} +1 -1
- package/dist/cdn/{EM4QPCQL.js → YMCZRMWW.js} +1 -1
- package/dist/cdn/{V6GGLHFM.js → YMHPA3VC.js} +1 -1
- package/dist/cdn/YOXKII2K.js +2 -0
- package/dist/cdn/{SF7HIXTT.js → YSLSCMZ4.js} +1 -1
- package/dist/cdn/{6WOZIOJH.js → YU7SUXHY.js} +1 -1
- package/dist/cdn/{ZAYZVEUD.js → YUCJQ6XI.js} +1 -1
- package/dist/cdn/{LXVRZSZ6.js → YUV3XEWE.js} +1 -1
- package/dist/cdn/{RCRVCOEZ.js → Z66KOPPI.js} +1 -1
- package/dist/cdn/{TI4T3QPS.js → Z77JVENV.js} +1 -1
- package/dist/cdn/{J5LPKT5M.js → ZBWHLMXA.js} +1 -1
- package/dist/cdn/{QXTTJTWV.js → ZQBMKJX7.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/css.js +25 -0
- package/dist/chunks/earth-utils.js +21 -0
- package/dist/chunks/keyboard-utils.js +15 -0
- package/dist/chunks/layer-list-next.js +7 -0
- package/dist/chunks/layer-list-utils.js +6 -6
- package/dist/chunks/runtime.js +5 -5
- package/dist/components/arcgis-basemap-gallery/customElement.js +33 -32
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +108 -125
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +85 -103
- package/dist/components/arcgis-daylight/customElement.js +174 -190
- package/dist/components/arcgis-editor/customElement.js +18 -6
- package/dist/components/arcgis-feature-media/customElement.js +45 -44
- package/dist/components/arcgis-feature-table/customElement.js +34 -34
- package/dist/components/arcgis-features/customElement.js +26 -25
- package/dist/components/arcgis-features-next/customElement.js +22 -21
- package/dist/components/arcgis-floor-filter/customElement.js +3 -3
- package/dist/components/arcgis-layer-list-item-indicator/customElement.js +51 -9
- package/dist/components/arcgis-layer-list-next/customElement.js +111 -110
- package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +45 -26
- package/dist/components/arcgis-navigation-toggle/index.js +1 -0
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +3 -1
- package/dist/components/arcgis-paste/customElement.d.ts +6 -0
- package/dist/components/arcgis-paste/customElement.js +9 -6
- package/dist/components/arcgis-popup/customElement.d.ts +2 -3
- package/dist/components/arcgis-popup/customElement.js +27 -27
- package/dist/components/arcgis-shadow-cast/customElement.js +96 -85
- package/dist/components/arcgis-sketch/customElement.d.ts +16 -1
- package/dist/components/arcgis-sketch/customElement.js +25 -19
- package/dist/components/arcgis-table-list-next/customElement.js +59 -80
- package/dist/components/arcgis-time-of-day-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +105 -110
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/package.json +4 -4
- package/dist/cdn/5RXWVXJA.js +0 -2
- package/dist/cdn/6LACZH6O.js +0 -2
- package/dist/cdn/BGWYOIKY.js +0 -2
- package/dist/cdn/BV6DN77M.js +0 -2
- package/dist/cdn/GOXEUMKX.js +0 -2
- package/dist/cdn/GQF32YL2.js +0 -2
- package/dist/cdn/GUBDP7SN.js +0 -2
- package/dist/cdn/HTCDJDRI.js +0 -2
- package/dist/cdn/I6IJUCE6.js +0 -2
- package/dist/cdn/IHDXJ4C3.js +0 -2
- package/dist/cdn/IJZYN6XT.js +0 -2
- package/dist/cdn/IXWSTLNL.js +0 -2
- package/dist/cdn/IYEZB6EU.js +0 -2
- package/dist/cdn/JD2JNE73.js +0 -2
- package/dist/cdn/KLKFMZ7U.js +0 -2
- package/dist/cdn/MV56NKNP.js +0 -2
- package/dist/cdn/NR6V3DTH.js +0 -2
- package/dist/cdn/PKBVONJW.js +0 -3
- package/dist/cdn/SRKKE3UN.js +0 -2
- package/dist/cdn/VL2VVN6C.js +0 -2
- package/dist/cdn/VRWFDVP6.js +0 -2
- package/dist/cdn/VVATJD2C.js +0 -2
- package/dist/cdn/VZVNKP6W.js +0 -2
- package/dist/cdn/YUBFK6NS.js +0 -2
- package/dist/chunks/layer-list-item-indicator.js +0 -74
- package/dist/chunks/layer-list-item.js +0 -6
- /package/dist/cdn/{OTZMVWAB.js → H7BPQQ3W.js} +0 -0
|
@@ -4,38 +4,22 @@ import { watch as ge, when as ue, whenOnce as pe } from "@arcgis/core/core/react
|
|
|
4
4
|
import * as me from "@arcgis/core/intl.js";
|
|
5
5
|
import fe from "@arcgis/core/views/3d/environment/SunLighting.js";
|
|
6
6
|
import _e from "@arcgis/core/views/3d/environment/VirtualLighting.js";
|
|
7
|
-
import { LitElement as be, createEvent as B, safeStyleMap as V, nothing as
|
|
7
|
+
import { LitElement as be, createEvent as B, safeStyleMap as V, nothing as R } from "@arcgis/lumina";
|
|
8
8
|
import { css as ve, html as m } from "lit";
|
|
9
9
|
import { createRef as q, ref as G } from "lit/directives/ref.js";
|
|
10
10
|
import { u as we } from "../../chunks/useT9n.js";
|
|
11
11
|
import { u as ye } from "../../chunks/useView.js";
|
|
12
|
+
import { t as Y } from "../../chunks/earth-utils.js";
|
|
12
13
|
import { m as N } from "../../chunks/handle.js";
|
|
13
|
-
import { o as C, i as p, l as
|
|
14
|
+
import { o as C, i as p, l as Z, b as D, d as W, g as xe } from "../../chunks/time-utils.js";
|
|
14
15
|
import { r as Se, b as De, d as Te } from "../../chunks/async-utils.js";
|
|
15
|
-
import { createTrackingTarget as ke, runTracked as
|
|
16
|
-
import { C as
|
|
16
|
+
import { createTrackingTarget as ke, runTracked as K, signal as Pe } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
17
|
+
import { C as Q } from "../../chunks/component-wrapper.js";
|
|
17
18
|
import { V as T } from "../../chunks/visible-element.js";
|
|
18
|
-
function
|
|
19
|
-
return r / 15;
|
|
20
|
-
}
|
|
21
|
-
function $e(r, e) {
|
|
22
|
-
const t = r?.[0];
|
|
23
|
-
if (t == null)
|
|
24
|
-
return null;
|
|
25
|
-
e || (e = { hours: 0, minutes: 0, seconds: 0 }), e.hours = Ce(t);
|
|
26
|
-
const i = e.hours % 1;
|
|
27
|
-
e.hours -= i, e.minutes = i * 60;
|
|
28
|
-
const n = e.minutes % 1;
|
|
29
|
-
return e.minutes -= n, e.seconds = Math.round(n * 60), e;
|
|
30
|
-
}
|
|
31
|
-
function Q(r) {
|
|
32
|
-
const e = $e([r.longitude, r.latitude]);
|
|
33
|
-
return e == null ? 0 : Math.round(e.hours + e.minutes / 60 + e.seconds / 3600);
|
|
34
|
-
}
|
|
35
|
-
function se(r, e) {
|
|
19
|
+
function ne(r, e) {
|
|
36
20
|
return (r % e + e) % e;
|
|
37
21
|
}
|
|
38
|
-
class
|
|
22
|
+
class Ce {
|
|
39
23
|
#e;
|
|
40
24
|
#i;
|
|
41
25
|
#r = ke(() => {
|
|
@@ -44,13 +28,13 @@ class ze {
|
|
|
44
28
|
constructor(e) {
|
|
45
29
|
this.#i = e;
|
|
46
30
|
let t;
|
|
47
|
-
|
|
31
|
+
K(this.#r, () => {
|
|
48
32
|
t = e();
|
|
49
33
|
}), this.#e = Pe(t);
|
|
50
34
|
}
|
|
51
35
|
#t() {
|
|
52
36
|
const e = this.#e.value;
|
|
53
|
-
|
|
37
|
+
K(this.#r, () => {
|
|
54
38
|
this.#e.value = this.#i(e);
|
|
55
39
|
});
|
|
56
40
|
}
|
|
@@ -62,29 +46,29 @@ class ze {
|
|
|
62
46
|
}
|
|
63
47
|
}
|
|
64
48
|
function A(r) {
|
|
65
|
-
return new
|
|
49
|
+
return new Ce(r);
|
|
66
50
|
}
|
|
67
|
-
var L = Math.PI, u = Math.sin, k = Math.cos,
|
|
68
|
-
function
|
|
69
|
-
return r.valueOf() /
|
|
51
|
+
var L = Math.PI, u = Math.sin, k = Math.cos, $e = Math.asin, ze = Math.acos, y = L / 180, ae = 1e3 * 60 * 60 * 24, oe = 2440588, le = 2451545;
|
|
52
|
+
function Oe(r) {
|
|
53
|
+
return r.valueOf() / ae - 0.5 + oe;
|
|
70
54
|
}
|
|
71
55
|
function O(r) {
|
|
72
|
-
return new Date((r + 0.5 -
|
|
56
|
+
return new Date((r + 0.5 - oe) * ae);
|
|
73
57
|
}
|
|
74
|
-
function
|
|
75
|
-
return
|
|
58
|
+
function Ue(r) {
|
|
59
|
+
return Oe(r) - le;
|
|
76
60
|
}
|
|
77
61
|
var X = y * 23.4397;
|
|
78
|
-
function
|
|
79
|
-
return
|
|
62
|
+
function Me(r, e) {
|
|
63
|
+
return $e(u(e) * k(X) + k(e) * u(X) * u(r));
|
|
80
64
|
}
|
|
81
|
-
function
|
|
65
|
+
function Le(r) {
|
|
82
66
|
return y * (357.5291 + 0.98560028 * r);
|
|
83
67
|
}
|
|
84
|
-
function
|
|
68
|
+
function Ee(r) {
|
|
85
69
|
return y * (1.9148 * u(r) + 0.02 * u(2 * r) + 3e-4 * u(3 * r));
|
|
86
70
|
}
|
|
87
|
-
function
|
|
71
|
+
function He(r, e) {
|
|
88
72
|
var t = y * 102.9372;
|
|
89
73
|
return r + e + t + L;
|
|
90
74
|
}
|
|
@@ -106,7 +90,7 @@ var I = [
|
|
|
106
90
|
[ 6, "goldenHourEnd", "goldenHour" ]
|
|
107
91
|
*/
|
|
108
92
|
], ce = 9e-4;
|
|
109
|
-
function
|
|
93
|
+
function Ae(r, e) {
|
|
110
94
|
return Math.round(r - ce - e / (2 * L));
|
|
111
95
|
}
|
|
112
96
|
function ee(r, e, t) {
|
|
@@ -115,17 +99,17 @@ function ee(r, e, t) {
|
|
|
115
99
|
function te(r, e, t) {
|
|
116
100
|
return le + r + 53e-4 * u(e) - 69e-4 * u(2 * t);
|
|
117
101
|
}
|
|
118
|
-
function
|
|
119
|
-
return
|
|
102
|
+
function Ie(r, e, t) {
|
|
103
|
+
return ze((u(r) - u(e) * u(t)) / (k(e) * k(t)));
|
|
120
104
|
}
|
|
121
105
|
S.getTimes = function(r, e, t) {
|
|
122
|
-
var i = y * -t,
|
|
106
|
+
var i = y * -t, s = y * e, n = Ue(r), a = Ae(n, i), o = ee(0, i, a), c = Le(o), d = Ee(c), l = He(c, d), h = Me(l, 0), g = te(o, c, l);
|
|
123
107
|
function w(H) {
|
|
124
|
-
var z =
|
|
108
|
+
var z = Ie(H, s, h), de = ee(z, i, a);
|
|
125
109
|
return te(de, c, l);
|
|
126
110
|
}
|
|
127
111
|
function x(H) {
|
|
128
|
-
var z = (u(H) - u(
|
|
112
|
+
var z = (u(H) - u(s) * u(h)) / (k(s) * k(h));
|
|
129
113
|
return z < -1 ? S.PolarException.MIDNIGHT_SUN : z > 1 ? S.PolarException.POLAR_NIGHT : S.PolarException.NORMAL;
|
|
130
114
|
}
|
|
131
115
|
var _ = {
|
|
@@ -137,7 +121,7 @@ S.getTimes = function(r, e, t) {
|
|
|
137
121
|
$ = I[b], E = w($[0] * y), j = g - (E - g), _[$[1]] = O(j), _[$[2]] = O(E);
|
|
138
122
|
return _.polarException = x(I[0][0] * y), _;
|
|
139
123
|
};
|
|
140
|
-
const
|
|
124
|
+
const Ne = {
|
|
141
125
|
spring: { dayOfMonth: 20, month: 2 },
|
|
142
126
|
// Northern Spring equinox in 2014 - March 20
|
|
143
127
|
summer: { dayOfMonth: 21, month: 5 },
|
|
@@ -146,121 +130,121 @@ const Je = {
|
|
|
146
130
|
// Northern Fall equinox in 2014 - September 23
|
|
147
131
|
winter: { dayOfMonth: 21, month: 11 }
|
|
148
132
|
// Northern Winter solstice in 2014 - December 21
|
|
149
|
-
},
|
|
133
|
+
}, J = ["spring", "summer", "fall", "winter"];
|
|
150
134
|
function P(r, e, t) {
|
|
151
|
-
const i =
|
|
152
|
-
return
|
|
135
|
+
const i = F(e, t), { dayOfMonth: s, month: n } = Ne[i], a = new Date(r.getTime());
|
|
136
|
+
return a.setMonth(n, s), a;
|
|
153
137
|
}
|
|
154
|
-
function
|
|
155
|
-
const t =
|
|
156
|
-
return
|
|
138
|
+
function Je(r, e) {
|
|
139
|
+
const t = Re(r);
|
|
140
|
+
return F(t, e);
|
|
157
141
|
}
|
|
158
|
-
function
|
|
159
|
-
const e = r.getTime(), t = P(r, "spring", "northern").getTime(), i = P(r, "summer", "northern").getTime(),
|
|
160
|
-
return e >= t && e < i ? "spring" : e >= i && e <
|
|
142
|
+
function Re(r) {
|
|
143
|
+
const e = r.getTime(), t = P(r, "spring", "northern").getTime(), i = P(r, "summer", "northern").getTime(), s = P(r, "fall", "northern").getTime(), n = P(r, "winter", "northern").getTime();
|
|
144
|
+
return e >= t && e < i ? "spring" : e >= i && e < s ? "summer" : e >= s && e < n ? "fall" : "winter";
|
|
161
145
|
}
|
|
162
|
-
function
|
|
163
|
-
return e === "northern" ? r :
|
|
146
|
+
function F(r, e) {
|
|
147
|
+
return e === "northern" ? r : Fe(r);
|
|
164
148
|
}
|
|
165
149
|
function ie(r) {
|
|
166
150
|
return r >= 0 ? "northern" : "southern";
|
|
167
151
|
}
|
|
168
|
-
function
|
|
169
|
-
const e =
|
|
170
|
-
return
|
|
152
|
+
function Fe(r) {
|
|
153
|
+
const e = J.indexOf(r);
|
|
154
|
+
return J[(e + 2) % 4];
|
|
171
155
|
}
|
|
172
|
-
const
|
|
173
|
-
function
|
|
174
|
-
const
|
|
175
|
-
if (
|
|
176
|
-
const l =
|
|
177
|
-
|
|
156
|
+
const je = 1440, Be = 864e5;
|
|
157
|
+
function Ve(r, e, t, i) {
|
|
158
|
+
const s = S.getTimes(r, e, t), n = s.sunrise, a = s.sunset, o = C(r, i), c = C(n, i), d = C(a, i);
|
|
159
|
+
if (o.getUTCDate() !== c.getUTCDate() || o.getUTCDate() !== d.getUTCDate()) {
|
|
160
|
+
const l = o.getTime() - c.getTime() > 0 ? 1 : -1;
|
|
161
|
+
n.setUTCDate(n.getUTCDate() + l), a.setUTCDate(a.getUTCDate() + l);
|
|
178
162
|
}
|
|
179
163
|
return {
|
|
180
|
-
sunrise:
|
|
181
|
-
sunset:
|
|
164
|
+
sunrise: n,
|
|
165
|
+
sunset: a
|
|
182
166
|
};
|
|
183
167
|
}
|
|
184
|
-
const
|
|
168
|
+
const qe = 100, Ge = 1e3, v = 12e5, U = 72e5;
|
|
185
169
|
function re(r, e) {
|
|
186
|
-
return
|
|
170
|
+
return ne(r + e, 24);
|
|
187
171
|
}
|
|
188
|
-
function
|
|
172
|
+
function Ye({
|
|
189
173
|
mode: r,
|
|
190
174
|
lighting: e,
|
|
191
175
|
getPlaySpeed: t,
|
|
192
176
|
onProgress: i,
|
|
193
|
-
beforeProgress:
|
|
177
|
+
beforeProgress: s
|
|
194
178
|
}) {
|
|
195
|
-
let
|
|
196
|
-
function o
|
|
197
|
-
const c = e.date, d = Date.now() - (
|
|
179
|
+
let n = -1;
|
|
180
|
+
function a(o = Date.now()) {
|
|
181
|
+
const c = e.date, d = Date.now() - (o ?? 0);
|
|
198
182
|
if (r === "day") {
|
|
199
|
-
|
|
200
|
-
const h = t() /
|
|
183
|
+
o = Date.now();
|
|
184
|
+
const h = t() / qe * d;
|
|
201
185
|
if (h > 0) {
|
|
202
186
|
let g = new Date(c.getTime() + h);
|
|
203
187
|
const w = e.displayUTCOffset ?? 0, x = re(g.getUTCHours(), w), _ = re(c.getUTCHours(), w);
|
|
204
|
-
x < _ && (g = new Date(c.getTime() + h -
|
|
188
|
+
x < _ && (g = new Date(c.getTime() + h - Be));
|
|
205
189
|
const b = e.clone();
|
|
206
|
-
|
|
190
|
+
s?.(), e.date = g, i?.(b, e);
|
|
207
191
|
}
|
|
208
|
-
} else if (d >
|
|
209
|
-
|
|
192
|
+
} else if (d > Ge) {
|
|
193
|
+
o = Date.now();
|
|
210
194
|
const l = (c.getUTCMonth() + 1) % 12, h = new Date(c.getTime());
|
|
211
195
|
h.setUTCMonth(l);
|
|
212
196
|
const g = e.clone();
|
|
213
|
-
|
|
197
|
+
s?.(), e.date = h, i?.(g, e);
|
|
214
198
|
}
|
|
215
|
-
|
|
199
|
+
n = requestAnimationFrame(() => a(o));
|
|
216
200
|
}
|
|
217
|
-
return
|
|
201
|
+
return a(), N(() => cancelAnimationFrame(n));
|
|
218
202
|
}
|
|
219
|
-
const
|
|
220
|
-
function
|
|
203
|
+
const M = v / 4;
|
|
204
|
+
function Ze(r, e, t, i) {
|
|
221
205
|
const {
|
|
222
|
-
day:
|
|
223
|
-
night:
|
|
224
|
-
twilight:
|
|
225
|
-
} = i,
|
|
206
|
+
day: s,
|
|
207
|
+
night: n = s,
|
|
208
|
+
twilight: a = s
|
|
209
|
+
} = i, o = s * M, c = n * M, d = a * M;
|
|
226
210
|
if (r == null || e == null || Number.isNaN(r.getTime()) && Number.isNaN(e.getTime()))
|
|
227
|
-
return
|
|
228
|
-
const l = t.getTime(), h = r.getTime(), g = e.getTime(), w = h -
|
|
229
|
-
let f =
|
|
230
|
-
return l >= w && l <= x ? l - w <= v ? f = c - (l - w) / v * (c - d) : x - l <= v / 2 ? f =
|
|
211
|
+
return o;
|
|
212
|
+
const l = t.getTime(), h = r.getTime(), g = e.getTime(), w = h - U / 2, x = h + U / 2, _ = g - U / 3 * 2, b = g + U / 3;
|
|
213
|
+
let f = o;
|
|
214
|
+
return l >= w && l <= x ? l - w <= v ? f = c - (l - w) / v * (c - d) : x - l <= v / 2 ? f = o - (x - 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;
|
|
231
215
|
}
|
|
232
|
-
const Qe = ve`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}:host{width:350px}.root{display:flex;flex-direction:column;overflow:visible;gap:var(--calcite-spacing-md);justify-content:space-between;padding:var(--arcgis-internal-padding);position:relative;calcite-label{--calcite-label-margin-bottom: 0}&.loading>*:not(calcite-scrim){opacity:0}}.unsupported{padding:0 var(--calcite-spacing-lg);animation:esri-fade-in .25s ease-in-out}.slider{margin-block-start:0rem}.time-configuration{--date-play-button-offset: 11px;--slider-play-button-offset: var(--calcite-spacing-md);display:grid;gap:var(--calcite-spacing-md);grid-template-columns:1fr min-content;.slider-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--slider-play-button-offset))}}.timezone-input-container{grid-column:1;min-width:0;+span{grid-column:2}}.date-picker-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--date-play-button-offset))}}calcite-button{place-self:center}}`, Xe = {
|
|
216
|
+
const We = ve`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}:host{width:350px}.root{display:flex;flex-direction:column;overflow:visible;gap:var(--calcite-spacing-md);justify-content:space-between;padding:var(--arcgis-internal-padding);position:relative;calcite-label{--calcite-label-margin-bottom: 0}&.loading>*:not(calcite-scrim){opacity:0}}.unsupported{padding:0 var(--calcite-spacing-lg);animation:esri-fade-in .25s ease-in-out}.slider{margin-block-start:0rem}.time-configuration{--date-play-button-offset: 11px;--slider-play-button-offset: var(--calcite-spacing-md);display:grid;gap:var(--calcite-spacing-md);grid-template-columns:1fr min-content;.slider-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--slider-play-button-offset))}}.timezone-input-container{grid-column:1;min-width:0;+span{grid-column:2}}.date-picker-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--date-play-button-offset))}}calcite-button{place-self:center}}`, Ke = {
|
|
233
217
|
day: 1,
|
|
234
218
|
night: 6,
|
|
235
219
|
twilight: 2 / 3
|
|
236
220
|
};
|
|
237
|
-
class
|
|
221
|
+
class Qe extends be {
|
|
238
222
|
constructor() {
|
|
239
|
-
super(...arguments), this.messages = we({ blocking: !0 }), this.#i = "none", this.#r = null, this.#l = q(), this.#g = q(), this.#u = 200, this.#p = 200, this.#c = !1, this.#
|
|
223
|
+
super(...arguments), this.messages = we({ blocking: !0 }), this.#i = "none", this.#r = null, this.#l = q(), this.#g = q(), this.#u = 200, this.#p = 200, this.#c = !1, this.#a = {}, this._offset = A((e) => {
|
|
240
224
|
const t = this._lighting, i = p(t) ? t.displayUTCOffset : void 0;
|
|
241
225
|
return this.#t ? e : i ?? e;
|
|
242
226
|
}), this._timesliderPosition = A((e) => {
|
|
243
227
|
const t = this._lighting;
|
|
244
228
|
if (!p(t))
|
|
245
229
|
return e;
|
|
246
|
-
const i = t.displayUTCOffset ?? this.utcOffset ?? 0,
|
|
230
|
+
const i = t.displayUTCOffset ?? this.utcOffset ?? 0, s = t.date;
|
|
247
231
|
if (this.#t)
|
|
248
232
|
return e;
|
|
249
|
-
if (
|
|
250
|
-
const { minutesSinceMidnight:
|
|
251
|
-
return
|
|
233
|
+
if (W(s)) {
|
|
234
|
+
const { minutesSinceMidnight: n } = D(s, i);
|
|
235
|
+
return n;
|
|
252
236
|
}
|
|
253
237
|
return e;
|
|
254
238
|
}), this._localDate = A((e) => {
|
|
255
239
|
const t = xe(this._view, this.utcOffset);
|
|
256
240
|
return this.#t ? e : t ?? e;
|
|
257
|
-
}), this.view = ye(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 = B(), this.arcgisUserDateTimeChange = B(), this.#
|
|
241
|
+
}), this.view = ye(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 = B(), this.arcgisUserDateTimeChange = B(), this.#o = !1;
|
|
258
242
|
}
|
|
259
243
|
static {
|
|
260
244
|
this.properties = { localDateAsString: 32, view: 0, _playingState: 16, _sunlightingDisabled: 16, autoDestroyDisabled: 5, currentSeason: 1, dateOrSeason: 3, dayPlaying: 5, _directShadowsDisabled: 16, headingLevel: 9, hideDatePicker: 5, hideHeader: 5, hidePlayButtons: 5, hideShadowsToggle: 5, hideSunLightingToggle: 5, hideTimezone: 5, icon: 3, label: 1, playSpeedMultiplier: 9, referenceElement: 1, timeSliderSteps: 9, utcOffset: 9, timeSliderPosition: 9, localDate: 1, yearPlaying: 5 };
|
|
261
245
|
}
|
|
262
246
|
static {
|
|
263
|
-
this.styles =
|
|
247
|
+
this.styles = We;
|
|
264
248
|
}
|
|
265
249
|
get _view() {
|
|
266
250
|
return this.view?.type === "3d" ? this.view : void 0;
|
|
@@ -274,26 +258,26 @@ class et extends be {
|
|
|
274
258
|
#u;
|
|
275
259
|
#p;
|
|
276
260
|
#c;
|
|
277
|
-
#
|
|
278
|
-
return this.#
|
|
261
|
+
#s(e, t) {
|
|
262
|
+
return this.#o || this.#c ? !1 : (this.#a[e] = t, !0);
|
|
279
263
|
}
|
|
280
264
|
#m() {
|
|
281
|
-
const { utcOffset: e, timeSliderPosition: t, localDate: i, directShadowsDisabled:
|
|
265
|
+
const { utcOffset: e, timeSliderPosition: t, localDate: i, directShadowsDisabled: s, sunlightingDisabled: n } = this.#a;
|
|
282
266
|
if (this.#c = !0, e != null)
|
|
283
267
|
if (t == null && i == null) {
|
|
284
|
-
const
|
|
285
|
-
p(
|
|
268
|
+
const a = this._lighting;
|
|
269
|
+
p(a) ? (a.displayUTCOffset = e, this.#h(e, a)) : this._offset.mutate(e);
|
|
286
270
|
} else
|
|
287
271
|
this.utcOffset = e;
|
|
288
|
-
t != null && (this.timeSliderPosition = t), i && (this.localDate = i),
|
|
272
|
+
t != null && (this.timeSliderPosition = t), i && (this.localDate = i), s != null && (this._directShadowsDisabled = s), n != null && (this._sunlightingDisabled = n), this.#a = {}, this.#c = !1;
|
|
289
273
|
}
|
|
290
274
|
#d() {
|
|
291
275
|
if (this.requestUpdate(), this.#t)
|
|
292
276
|
return;
|
|
293
277
|
const e = Se(() => {
|
|
294
278
|
if (p(this._lighting)) {
|
|
295
|
-
const t = this.utcOffset ?? 0, i = this.timeSliderPosition ?? 0,
|
|
296
|
-
this._lighting.date =
|
|
279
|
+
const t = this.utcOffset ?? 0, i = this.timeSliderPosition ?? 0, s = this.localDate;
|
|
280
|
+
this._lighting.date = Z(s, i, t), this._lighting.displayUTCOffset = t;
|
|
297
281
|
}
|
|
298
282
|
this.#t?.remove();
|
|
299
283
|
}, { timeout: this.#u });
|
|
@@ -302,25 +286,25 @@ class et extends be {
|
|
|
302
286
|
});
|
|
303
287
|
}
|
|
304
288
|
#f(e) {
|
|
305
|
-
const t = this.utcOffset ?? e.displayUTCOffset ?? 0, { minutesSinceMidnight: i, localDate:
|
|
306
|
-
this.#t?.remove(), e.date =
|
|
289
|
+
const t = this.utcOffset ?? e.displayUTCOffset ?? 0, { minutesSinceMidnight: i, localDate: s } = D(e.date, t), n = this.timeSliderPosition ?? i, a = this.localDateAsString ?? s;
|
|
290
|
+
this.#t?.remove(), e.date = Z(a, n, t), e.displayUTCOffset = t;
|
|
307
291
|
}
|
|
308
292
|
#_({ scale: e, disabled: t }) {
|
|
309
293
|
const { messages: i } = this;
|
|
310
|
-
return m`<calcite-label .scale=${e} class="date-picker-container">${i.date}${
|
|
311
|
-
const
|
|
312
|
-
this._stopPlaying(), this.localDate =
|
|
313
|
-
} })}</calcite-label>${T({ hidden: this.hidePlayButtons, children:
|
|
294
|
+
return m`<calcite-label .scale=${e} class="date-picker-container">${i.date}${Xe({ disabled: t, scale: e, date: this.localDateAsString, onDateChange: (s) => {
|
|
295
|
+
const n = s.currentTarget.value, a = Array.isArray(n) ? n[0] : n;
|
|
296
|
+
this._stopPlaying(), this.localDate = a, this._emitUserDateTimeChangeEvent();
|
|
297
|
+
} })}</calcite-label>${T({ hidden: this.hidePlayButtons, children: se({ playing: this.yearPlaying, disabled: t, label: i.playYear, onClick: () => {
|
|
314
298
|
this._playingState === "year" ? this._playingState = "none" : this._playingState = "year";
|
|
315
299
|
}, scale: e }) })}`;
|
|
316
300
|
}
|
|
317
301
|
#b({ scale: e, disabled: t }) {
|
|
318
302
|
const { messages: i } = this;
|
|
319
|
-
return m`<calcite-label .scale=${e} class="date-picker-container">${i.season}${
|
|
320
|
-
this._stopPlaying(), this.currentSeason =
|
|
303
|
+
return m`<calcite-label .scale=${e} class="date-picker-container">${i.season}${et({ scale: e, selectedSeason: this.currentSeason, disabled: t, messages: i, onSeasonChange: (s) => {
|
|
304
|
+
this._stopPlaying(), this.currentSeason = s.currentTarget.value;
|
|
321
305
|
} })}</calcite-label>`;
|
|
322
306
|
}
|
|
323
|
-
#
|
|
307
|
+
#a;
|
|
324
308
|
get #v() {
|
|
325
309
|
return this.#g?.value?.startTime;
|
|
326
310
|
}
|
|
@@ -331,7 +315,7 @@ class et extends be {
|
|
|
331
315
|
return this.#i;
|
|
332
316
|
}
|
|
333
317
|
set _playingState(e) {
|
|
334
|
-
this.#i = e, this.#
|
|
318
|
+
this.#i = e, this.#n?.remove(), e === "none" ? this.#e?.remove() : (this._play(e), this._emitUserDateTimeChangeEvent());
|
|
335
319
|
}
|
|
336
320
|
get _lighting() {
|
|
337
321
|
return this._view?.environment?.lighting;
|
|
@@ -340,36 +324,36 @@ class et extends be {
|
|
|
340
324
|
return !p(this._lighting);
|
|
341
325
|
}
|
|
342
326
|
set _sunlightingDisabled(e) {
|
|
343
|
-
this.#
|
|
327
|
+
this.#s("sunlightingDisabled", e);
|
|
344
328
|
const t = this._view?.environment;
|
|
345
329
|
if (t == null)
|
|
346
330
|
return;
|
|
347
|
-
const i = t.lighting,
|
|
331
|
+
const i = t.lighting, s = this.#r;
|
|
348
332
|
this.#r = i;
|
|
349
|
-
const
|
|
333
|
+
const n = {
|
|
350
334
|
directShadowsEnabled: i.directShadowsEnabled,
|
|
351
335
|
glow: i.glow
|
|
352
336
|
};
|
|
353
|
-
p(i) && (
|
|
354
|
-
const
|
|
355
|
-
let
|
|
356
|
-
|
|
337
|
+
p(i) && (n.cameraTrackingEnabled = i.cameraTrackingEnabled);
|
|
338
|
+
const a = e ? "virtual" : "sun";
|
|
339
|
+
let o;
|
|
340
|
+
s?.type === a ? o = s : o = e ? new _e() : new fe({
|
|
357
341
|
date: C(
|
|
358
342
|
C(this.localDate, this.timeSliderPosition ?? 0, "minutes"),
|
|
359
343
|
// this.localDate already includes the UTC offset, so we need to remove the offset to get the correct UTC date for the SunLighting configuration
|
|
360
344
|
this.utcOffset ?? 0
|
|
361
345
|
),
|
|
362
346
|
displayUTCOffset: this.utcOffset
|
|
363
|
-
}),
|
|
347
|
+
}), o.set(n), t.lighting = o, e || (this._stopPlaying(), this.#l.value && (this.#l.value.open = !1));
|
|
364
348
|
}
|
|
365
349
|
get currentSeason() {
|
|
366
350
|
const e = this._view?.camera?.position?.latitude ?? 0, t = ie(e);
|
|
367
|
-
return
|
|
351
|
+
return Je(this.localDate, t);
|
|
368
352
|
}
|
|
369
353
|
set currentSeason(e) {
|
|
370
354
|
this._stopPlaying();
|
|
371
|
-
const t = this._view?.camera?.position?.latitude ?? 0, i = ie(t),
|
|
372
|
-
this.localDate = P(this.localDate,
|
|
355
|
+
const t = this._view?.camera?.position?.latitude ?? 0, i = ie(t), s = F(e, i);
|
|
356
|
+
this.localDate = P(this.localDate, s, "northern"), this._emitUserDateTimeChangeEvent();
|
|
373
357
|
}
|
|
374
358
|
get dayPlaying() {
|
|
375
359
|
return this._playingState === "day";
|
|
@@ -381,35 +365,35 @@ class et extends be {
|
|
|
381
365
|
return !this._lighting?.directShadowsEnabled;
|
|
382
366
|
}
|
|
383
367
|
set _directShadowsDisabled(e) {
|
|
384
|
-
this.#
|
|
368
|
+
this.#s("directShadowsDisabled", e), this._lighting && (this._lighting.directShadowsEnabled = !e);
|
|
385
369
|
}
|
|
386
370
|
get utcOffset() {
|
|
387
371
|
return this._offset.value;
|
|
388
372
|
}
|
|
389
373
|
set utcOffset(e) {
|
|
390
|
-
this._offset.mutate(e), !this.#
|
|
374
|
+
this._offset.mutate(e), !this.#s("utcOffset", e) && this.#d();
|
|
391
375
|
}
|
|
392
376
|
get timeSliderPosition() {
|
|
393
377
|
return this._timesliderPosition.value;
|
|
394
378
|
}
|
|
395
379
|
set timeSliderPosition(e) {
|
|
396
|
-
this._timesliderPosition.mutate(
|
|
380
|
+
this._timesliderPosition.mutate(ne(e ?? 0, je)), !this.#s("timeSliderPosition", e) && this.#d();
|
|
397
381
|
}
|
|
398
382
|
get localDate() {
|
|
399
383
|
return this._localDate.value != null ? new Date(this._localDate.value) : /* @__PURE__ */ new Date();
|
|
400
384
|
}
|
|
401
385
|
set localDate(e) {
|
|
402
386
|
if (typeof e == "string" && /^\d{4}-\d{2}-\d{2}$/u.test(e)) {
|
|
403
|
-
if (this._localDate.mutate(e), this.#
|
|
387
|
+
if (this._localDate.mutate(e), this.#s("localDate", e))
|
|
404
388
|
return;
|
|
405
389
|
this.#d();
|
|
406
390
|
return;
|
|
407
391
|
}
|
|
408
392
|
const t = new Date(e);
|
|
409
|
-
if (
|
|
393
|
+
if (W(t)) {
|
|
410
394
|
t.setUTCFullYear(t.getFullYear(), t.getMonth(), t.getDate());
|
|
411
395
|
const i = t.toISOString().slice(0, 10);
|
|
412
|
-
if (this._localDate.mutate(i), this.#
|
|
396
|
+
if (this._localDate.mutate(i), this.#s("localDate", i))
|
|
413
397
|
return;
|
|
414
398
|
this.#d();
|
|
415
399
|
}
|
|
@@ -429,7 +413,7 @@ class et extends be {
|
|
|
429
413
|
// UTC offset.
|
|
430
414
|
ge(() => {
|
|
431
415
|
const e = this._view?.camera?.position;
|
|
432
|
-
return e ?
|
|
416
|
+
return e ? Y(e) : void 0;
|
|
433
417
|
}, (e, t) => {
|
|
434
418
|
this.#w(e, t);
|
|
435
419
|
}, { sync: !0, initial: !0 }),
|
|
@@ -440,16 +424,16 @@ class et extends be {
|
|
|
440
424
|
this.requestUpdate();
|
|
441
425
|
})
|
|
442
426
|
]), this.manager.onDisconnected(() => {
|
|
443
|
-
this.#e?.remove(), this.#t?.remove(), this.#
|
|
427
|
+
this.#e?.remove(), this.#t?.remove(), this.#n?.remove();
|
|
444
428
|
});
|
|
445
429
|
}
|
|
446
430
|
willUpdate(e) {
|
|
447
|
-
if (super.willUpdate(e), !!this.#
|
|
448
|
-
const t = this.utcOffset ?? 0, { minutesSinceMidnight: i, localDate:
|
|
449
|
-
this._timesliderPosition.mutate(i), this._localDate.mutate(
|
|
431
|
+
if (super.willUpdate(e), !!this.#o && p(this._lighting) && e.has("utcOffset") && !e.has("localDate") && !e.has("timeSliderPosition")) {
|
|
432
|
+
const t = this.utcOffset ?? 0, { minutesSinceMidnight: i, localDate: s } = D(this._lighting.date, t);
|
|
433
|
+
this._timesliderPosition.mutate(i), this._localDate.mutate(s);
|
|
450
434
|
}
|
|
451
435
|
}
|
|
452
|
-
#
|
|
436
|
+
#o;
|
|
453
437
|
async loaded() {
|
|
454
438
|
const e = new AbortController();
|
|
455
439
|
this.manager.onDisconnected(() => ({
|
|
@@ -458,18 +442,18 @@ class et extends be {
|
|
|
458
442
|
}
|
|
459
443
|
})), await De(pe(() => this._view?.ready, { signal: e.signal }).then(() => {
|
|
460
444
|
const t = this._lighting, i = this._view?.camera?.position;
|
|
461
|
-
if (this.#
|
|
462
|
-
const
|
|
463
|
-
this.#h(
|
|
445
|
+
if (this.#a.utcOffset == null && p(t) && t.displayUTCOffset == null && i) {
|
|
446
|
+
const n = Y(i);
|
|
447
|
+
this.#h(n, t);
|
|
464
448
|
}
|
|
465
|
-
this.#
|
|
466
|
-
const
|
|
467
|
-
|
|
449
|
+
this.#o = !0, this.#m();
|
|
450
|
+
const s = this._playingState;
|
|
451
|
+
s !== "none" && this.#e == null && this._play(s);
|
|
468
452
|
}));
|
|
469
453
|
}
|
|
470
454
|
#w(e, t) {
|
|
471
455
|
const i = this._lighting;
|
|
472
|
-
if (!(!this.#
|
|
456
|
+
if (!(!this.#o || !p(i) || !i.cameraTrackingEnabled || e == null)) {
|
|
473
457
|
if (t == null && i.displayUTCOffset == null) {
|
|
474
458
|
this.#h(e, i);
|
|
475
459
|
return;
|
|
@@ -479,8 +463,8 @@ class et extends be {
|
|
|
479
463
|
}
|
|
480
464
|
#h(e, t) {
|
|
481
465
|
t.displayUTCOffset = e, this._offset.mutate(e);
|
|
482
|
-
const { minutesSinceMidnight: i, localDate:
|
|
483
|
-
this._timesliderPosition.mutate(i), this._localDate.mutate(
|
|
466
|
+
const { minutesSinceMidnight: i, localDate: s } = D(t.date, e);
|
|
467
|
+
this._timesliderPosition.mutate(i), this._localDate.mutate(s), this.requestUpdate();
|
|
484
468
|
}
|
|
485
469
|
_emitUserDateTimeChangeEvent() {
|
|
486
470
|
this.isConnected && this.arcgisUserDateTimeChange.emit();
|
|
@@ -488,20 +472,20 @@ class et extends be {
|
|
|
488
472
|
_stopPlaying() {
|
|
489
473
|
this._playingState = "none";
|
|
490
474
|
}
|
|
491
|
-
#
|
|
475
|
+
#n;
|
|
492
476
|
#y(e) {
|
|
493
|
-
if (this.#
|
|
477
|
+
if (this.#n)
|
|
494
478
|
return;
|
|
495
479
|
const t = setTimeout(() => {
|
|
496
|
-
const i = e.displayUTCOffset ?? 0,
|
|
497
|
-
this._timesliderPosition.mutate(
|
|
480
|
+
const i = e.displayUTCOffset ?? 0, s = e.date, { minutesSinceMidnight: n } = D(s, i);
|
|
481
|
+
this._timesliderPosition.mutate(n), this.#n?.remove();
|
|
498
482
|
}, this.#p);
|
|
499
|
-
this.#
|
|
500
|
-
clearTimeout(t), this.#
|
|
483
|
+
this.#n = N(() => {
|
|
484
|
+
clearTimeout(t), this.#n = void 0;
|
|
501
485
|
const i = this._lighting;
|
|
502
486
|
if (p(i)) {
|
|
503
|
-
const
|
|
504
|
-
this._timesliderPosition.mutate(
|
|
487
|
+
const s = i.displayUTCOffset ?? 0, n = i.date, { minutesSinceMidnight: a } = D(n, s);
|
|
488
|
+
this._timesliderPosition.mutate(a);
|
|
505
489
|
}
|
|
506
490
|
});
|
|
507
491
|
}
|
|
@@ -514,63 +498,63 @@ class et extends be {
|
|
|
514
498
|
if (!p(i))
|
|
515
499
|
return;
|
|
516
500
|
this.#f(i);
|
|
517
|
-
let
|
|
518
|
-
this.#e =
|
|
501
|
+
let s = 0;
|
|
502
|
+
this.#e = Ye({
|
|
519
503
|
mode: e,
|
|
520
504
|
lighting: i,
|
|
521
505
|
beforeProgress: () => {
|
|
522
|
-
|
|
506
|
+
s = this.#v ?? 0;
|
|
523
507
|
},
|
|
524
|
-
onProgress: (
|
|
525
|
-
this._timesliderPosition.mutate(
|
|
508
|
+
onProgress: (n, a) => {
|
|
509
|
+
this._timesliderPosition.mutate(s), this.#y(a);
|
|
526
510
|
},
|
|
527
511
|
getPlaySpeed: () => {
|
|
528
|
-
const
|
|
529
|
-
if (
|
|
530
|
-
const
|
|
531
|
-
return
|
|
512
|
+
const n = this._view, a = this._view?.environment.lighting;
|
|
513
|
+
if (n != null && p(a)) {
|
|
514
|
+
const o = n.camera.position.latitude ?? 0, c = n.camera.position.longitude ?? 0, { sunrise: d, sunset: l } = Ve(a.date, o, c, a.displayUTCOffset ?? 0);
|
|
515
|
+
return Ze(d, l, a.date, Ke) * this.playSpeedMultiplier;
|
|
532
516
|
} else
|
|
533
|
-
return
|
|
517
|
+
return M * this.playSpeedMultiplier;
|
|
534
518
|
}
|
|
535
519
|
});
|
|
536
520
|
}
|
|
537
521
|
render() {
|
|
538
|
-
const { messages: e, dateOrSeason: t } = this, i = this._sunlightingDisabled,
|
|
522
|
+
const { messages: e, dateOrSeason: t } = this, i = this._sunlightingDisabled, s = "m";
|
|
539
523
|
if (!(this._view?.type === "3d"))
|
|
540
|
-
return
|
|
541
|
-
const
|
|
542
|
-
return
|
|
524
|
+
return Q({ class: "root", label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: m`<div class="unsupported"><p>${e.unsupported}</p></div>` });
|
|
525
|
+
const a = (this.utcOffset ?? 0) * 60, o = this.view?.ready === !0, c = Array.isArray(this.timeSliderSteps) ? this.timeSliderSteps.at(0) : this.timeSliderSteps;
|
|
526
|
+
return Q({ class: { root: !0, loading: !o }, label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: m`${o ? void 0 : m`<calcite-scrim loading></calcite-scrim>`}<div class="time-configuration" style=${V({ columnGap: this.hidePlayButtons ? "0" : void 0 })}><calcite-label class="slider-container" .scale=${s}>${e.timeSliderLabel}<arcgis-time-of-day-slider class="slider" .disabled=${this._sunlightingDisabled} mode=single .startTime=${this.timeSliderPosition ?? 0} .steps=${c} style=${V({ gridArea: "slider" })} @arcgisTimeChange=${({ currentTarget: d }) => {
|
|
543
527
|
this._stopPlaying(), this._emitUserDateTimeChangeEvent(), this.timeSliderPosition = d.startTime;
|
|
544
|
-
}} ${G(this.#g)}></arcgis-time-of-day-slider></calcite-label>${T({ hidden: this.hidePlayButtons, children:
|
|
528
|
+
}} ${G(this.#g)}></arcgis-time-of-day-slider></calcite-label>${T({ hidden: this.hidePlayButtons, children: se({ disabled: this._sunlightingDisabled, playing: this.dayPlaying, label: e.playDay, onClick: () => {
|
|
545
529
|
this._playingState === "day" ? this._stopPlaying() : this._playingState = "day";
|
|
546
|
-
}, scale:
|
|
530
|
+
}, scale: s }) })}${T({ hidden: this.hideTimezone, children: m`<calcite-label .scale=${s} class="timezone-input-container">${e.timezone}<calcite-input-time-zone mode=offset overlay-positioning=fixed .scale=${s} .disabled=${this._sunlightingDisabled} .value=${`${a}`} .referenceDate=${this.localDateAsString} @calciteInputTimeZoneChange=${(d) => {
|
|
547
531
|
const l = +d.target.value;
|
|
548
532
|
this.utcOffset = l / 60, this._stopPlaying();
|
|
549
|
-
}} ${G(this.#l)}></calcite-input-time-zone></calcite-label><span></span>` })}${T({ hidden: this.hideDatePicker, children: t === "date" ? this.#_({ scale:
|
|
533
|
+
}} ${G(this.#l)}></calcite-input-time-zone></calcite-label><span></span>` })}${T({ hidden: this.hideDatePicker, children: t === "date" ? this.#_({ scale: s, disabled: i }) : this.#b({ scale: s, disabled: i }) })}</div>${T({ hidden: this.hideSunLightingToggle, children: tt({ scale: s, messages: e.sunLightingToggle, sunlightingEnabled: !this._sunlightingDisabled, onSunLightingToggle: (d) => {
|
|
550
534
|
this._sunlightingDisabled = !d;
|
|
551
|
-
} }) })}${T({ hidden: this.hideShadowsToggle, children:
|
|
535
|
+
} }) })}${T({ hidden: this.hideShadowsToggle, children: it({ scale: s, messages: e.shadowsToggle, onShadowCheckboxChange: (d) => {
|
|
552
536
|
this._directShadowsDisabled = !d;
|
|
553
537
|
}, shadowEnabled: !this._directShadowsDisabled }) })}` });
|
|
554
538
|
}
|
|
555
539
|
}
|
|
556
|
-
function
|
|
557
|
-
return m`<calcite-button appearance=solid .scale=${
|
|
540
|
+
function se({ disabled: r, playing: e, onClick: t, label: i, scale: s = "m" }) {
|
|
541
|
+
return m`<calcite-button appearance=solid .scale=${s} .disabled=${r} .iconStart=${e ? "pause-f" : "play-f"} .label=${i} @click=${t} round title=${i ?? R} type=button></calcite-button>`;
|
|
558
542
|
}
|
|
559
|
-
function
|
|
543
|
+
function Xe({ disabled: r, date: e, onDateChange: t, scale: i }) {
|
|
560
544
|
return m`<calcite-input-date-picker data-testid=daylight-date-picker .disabled=${r} overlay-positioning=fixed placement=bottom .value=${e} .scale=${i} @calciteInputDatePickerChange=${t}></calcite-input-date-picker>`;
|
|
561
545
|
}
|
|
562
|
-
function
|
|
563
|
-
return m`<calcite-select .disabled=${e} .label=${r.season} .scale=${t} .value=${i} @calciteSelectChange=${(
|
|
564
|
-
n
|
|
565
|
-
}}>${
|
|
546
|
+
function et({ messages: r, disabled: e, scale: t, selectedSeason: i, onSeasonChange: s }) {
|
|
547
|
+
return m`<calcite-select .disabled=${e} .label=${r.season} .scale=${t} .value=${i} @calciteSelectChange=${(n) => {
|
|
548
|
+
s(n);
|
|
549
|
+
}}>${J.map((n) => m`<calcite-option .selected=${i === n} .value=${n}>${r[n]}</calcite-option>`)}</calcite-select>`;
|
|
566
550
|
}
|
|
567
|
-
function
|
|
568
|
-
return m`<calcite-label layout=inline .scale=${i} title=${r?.tooltip ??
|
|
551
|
+
function tt({ messages: r, sunlightingEnabled: e, onSunLightingToggle: t, scale: i }) {
|
|
552
|
+
return m`<calcite-label layout=inline .scale=${i} title=${r?.tooltip ?? R}><calcite-checkbox .scale=${i} .checked=${e} @calciteCheckboxChange=${(s) => t(s.target.checked)}></calcite-checkbox>${r?.label}</calcite-label>`;
|
|
569
553
|
}
|
|
570
|
-
function
|
|
571
|
-
return m`<calcite-label layout=inline .scale=${i} title=${r?.tooltip ??
|
|
554
|
+
function it({ messages: r, shadowEnabled: e, onShadowCheckboxChange: t, scale: i }) {
|
|
555
|
+
return m`<calcite-label layout=inline .scale=${i} title=${r?.tooltip ?? R}><calcite-checkbox .checked=${e} @calciteCheckboxChange=${(s) => t(s.target.checked)}></calcite-checkbox>${r.label}</calcite-label>`;
|
|
572
556
|
}
|
|
573
|
-
he("arcgis-daylight",
|
|
557
|
+
he("arcgis-daylight", Qe);
|
|
574
558
|
export {
|
|
575
|
-
|
|
559
|
+
Qe as ArcgisDaylight
|
|
576
560
|
};
|