@arcgis/map-components 4.34.0-next.134 → 4.34.0-next.136
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/2AWXJ2VU.js +4 -0
- package/dist/cdn/2CKO64N5.js +4 -0
- package/dist/cdn/{UUARFPPX.js → 2E3IZCNJ.js} +2 -2
- package/dist/cdn/2PRC7BRZ.js +4 -0
- package/dist/cdn/{YX36NVYE.js → 2QPWIWX2.js} +2 -2
- package/dist/cdn/{Q4K3CT7V.js → 2UJM4TWQ.js} +2 -2
- package/dist/cdn/2WH7KFN4.js +4 -0
- package/dist/cdn/2YE6ZN5G.js +4 -0
- package/dist/cdn/{6OH77X6Q.js → 36NTTKGP.js} +2 -2
- package/dist/cdn/{HJBWF5OA.js → 37YNS273.js} +2 -2
- package/dist/cdn/{WEHDS3F4.js → 3DTHXZVD.js} +2 -2
- package/dist/cdn/{PE7POGGR.js → 3F67DNOF.js} +2 -2
- package/dist/cdn/{QUZMLVKP.js → 3FCF5HOT.js} +2 -2
- package/dist/cdn/3RNZBAFP.js +4 -0
- package/dist/cdn/{C3DZ5YQC.js → 3YLMJHRP.js} +2 -2
- package/dist/cdn/{FKWFWPPQ.js → 43GYMCKX.js} +2 -2
- package/dist/cdn/{54MLARHW.js → 444BDG3E.js} +2 -2
- package/dist/cdn/{HGY4MNJJ.js → 47DSQKC5.js} +2 -2
- package/dist/cdn/{MXB5LBNL.js → 4B77EZUJ.js} +2 -2
- package/dist/cdn/{SOOCYZVO.js → 4BKHKOJQ.js} +2 -2
- package/dist/cdn/{P2S5LVEJ.js → 4LSSHT4R.js} +2 -2
- package/dist/cdn/{XWLZT6GW.js → 4MOVYO26.js} +2 -2
- package/dist/cdn/{JCV6NA33.js → 4NIIU33K.js} +2 -2
- package/dist/cdn/{MONJXBIA.js → 4SY4JB5I.js} +2 -2
- package/dist/cdn/{W7UCSPBE.js → 4VQTMTGJ.js} +2 -2
- package/dist/cdn/52DDEKR2.js +4 -0
- package/dist/cdn/{2FE25NNX.js → 5MBXFKNH.js} +2 -2
- package/dist/cdn/{6HITIHOY.js → 5MMOUO55.js} +2 -2
- package/dist/cdn/5OMPOZXM.js +4 -0
- package/dist/cdn/6F2NFRIO.js +4 -0
- package/dist/cdn/{Z3QV7DHJ.js → 6J4EHT5D.js} +2 -2
- package/dist/cdn/6MBCKRZT.js +4 -0
- package/dist/cdn/{5WU4B5MM.js → 73DSDZ2Z.js} +2 -2
- package/dist/cdn/7ATYBWVM.js +4 -0
- package/dist/cdn/7EFFBKWT.js +4 -0
- package/dist/cdn/{OUDN2GI4.js → 7FKU6S2W.js} +1 -1
- package/dist/cdn/{5DO6WOG5.js → 7FS3USGD.js} +2 -2
- package/dist/cdn/7LMNNSRZ.js +4 -0
- package/dist/cdn/{7F6MYIJ6.js → 7MWUFJF7.js} +2 -2
- package/dist/cdn/{5CSTIRMA.js → 7NPYRIVG.js} +2 -2
- package/dist/cdn/{7G7H2OUJ.js → 7OHDMLNT.js} +2 -2
- package/dist/cdn/{TFAHOPVO.js → 7R2O2X62.js} +2 -2
- package/dist/cdn/A7VWO3LK.js +4 -0
- package/dist/cdn/{N5VVNVGO.js → ADDDUIVU.js} +1 -1
- package/dist/cdn/{NJGTA6M2.js → AHQTSHI7.js} +2 -2
- package/dist/cdn/{KMNGR3LX.js → AJINQUSG.js} +2 -2
- package/dist/cdn/{LTG4AL7H.js → AL5RYMBF.js} +2 -2
- package/dist/cdn/ALJFMU24.js +4 -0
- package/dist/cdn/{OKNRREFK.js → AOV5HUGZ.js} +2 -2
- package/dist/cdn/{AKHN5OCL.js → AROMXD7P.js} +2 -2
- package/dist/cdn/{XYFAJOAI.js → AUVCMP74.js} +1 -1
- package/dist/cdn/{F4RISB35.js → AXHXIZUR.js} +2 -2
- package/dist/cdn/{AQ3UJDKT.js → AYLAVP7O.js} +2 -2
- package/dist/cdn/{COKFGMPE.js → B2KBZZPF.js} +2 -2
- package/dist/cdn/B6DWC4HR.js +4 -0
- package/dist/cdn/B77F2BMY.js +4 -0
- package/dist/cdn/BC6KFOZG.js +4 -0
- package/dist/cdn/BCS2QZPQ.js +4 -0
- package/dist/cdn/BG7MF33P.js +4 -0
- package/dist/cdn/BLBBPPO2.js +4 -0
- package/dist/cdn/{PGLKEHLS.js → C66LOUBH.js} +1 -1
- package/dist/cdn/{VFBSKRDQ.js → CHF6YHQU.js} +2 -2
- package/dist/cdn/CPWEMALT.js +4 -0
- package/dist/cdn/{JWMTN423.js → DAUZUSCL.js} +2 -2
- package/dist/cdn/DAYAKCAT.js +4 -0
- package/dist/cdn/{AGZOSJ3A.js → DNSW76CW.js} +2 -2
- package/dist/cdn/{WCN7OQML.js → DOPWEHXE.js} +2 -2
- package/dist/cdn/{HRJUI6MM.js → DXPSZVAQ.js} +2 -2
- package/dist/cdn/E2MOK67P.js +4 -0
- package/dist/cdn/E5OVVVCE.js +4 -0
- package/dist/cdn/{KWXIL65J.js → ECO32H6J.js} +2 -2
- package/dist/cdn/{HBUWXMAT.js → EDNWA4N3.js} +2 -2
- package/dist/cdn/{WAGIEVEF.js → EI4RXA5Z.js} +2 -2
- package/dist/cdn/{ISWYNTU4.js → EJ3SSH55.js} +1 -1
- package/dist/cdn/{722BRSEV.js → EKEUD63G.js} +2 -2
- package/dist/cdn/{LCDT4WTA.js → EWHFLI2D.js} +2 -2
- package/dist/cdn/EWIW3XM7.js +4 -0
- package/dist/cdn/{GXAPMWUN.js → F3OTS54K.js} +2 -2
- package/dist/cdn/F5PBNMNH.js +4 -0
- package/dist/cdn/{VYYE7B6S.js → F6KABHJZ.js} +2 -2
- package/dist/cdn/{62PLVYLI.js → F7RRAK7E.js} +2 -2
- package/dist/cdn/{YRP5AGQY.js → FOEADGJF.js} +1 -1
- package/dist/cdn/{JVMITHWY.js → FP5H2JON.js} +2 -2
- package/dist/cdn/{3LOZGPZW.js → FQV2S3CQ.js} +3 -3
- package/dist/cdn/{SLI2O4IP.js → FRUZARDE.js} +2 -2
- package/dist/cdn/{ITD6MLK4.js → FW6MIZNR.js} +2 -2
- package/dist/cdn/{QSXRT7VX.js → FWL4OKRC.js} +2 -2
- package/dist/cdn/G2KBVZH5.js +4 -0
- package/dist/cdn/G3U5A7GA.js +4 -0
- package/dist/cdn/{BQJ2G3T2.js → GHNGRNVF.js} +2 -2
- package/dist/cdn/GPBTCLYS.js +4 -0
- package/dist/cdn/{EHZATRNU.js → GXH4MWGY.js} +2 -2
- package/dist/cdn/{M6BDLGUY.js → H2AW4ONA.js} +2 -2
- package/dist/cdn/{XFIIKDF4.js → H7TFNNAC.js} +2 -2
- package/dist/cdn/{G66J2LJ2.js → HBO3CQKU.js} +2 -2
- package/dist/cdn/{CLCF7EC6.js → HE6V5EJX.js} +2 -2
- package/dist/cdn/{VWUD3TWO.js → HFRYGY6B.js} +2 -2
- package/dist/cdn/{NS42CN5H.js → HHASMZFK.js} +2 -2
- package/dist/cdn/HNN3FSPB.js +4 -0
- package/dist/cdn/HY6MHY7Z.js +4 -0
- package/dist/cdn/HYMLHJFF.js +4 -0
- package/dist/cdn/HZAAL4NE.js +4 -0
- package/dist/cdn/{TX4LAEAJ.js → I56GR5A6.js} +2 -2
- package/dist/cdn/{3DQ4N76V.js → I5AGHG3B.js} +2 -2
- package/dist/cdn/{OG4OJXG7.js → I7XLAPQ4.js} +2 -2
- package/dist/cdn/II62YVQZ.js +4 -0
- package/dist/cdn/{7G47VMUV.js → IOPC5OG3.js} +2 -2
- package/dist/cdn/IR36NKTC.js +4 -0
- package/dist/cdn/{WBQ3XF24.js → J6KXJQQP.js} +2 -2
- package/dist/cdn/J7DWBXDG.js +4 -0
- package/dist/cdn/JD2WCBCB.js +4 -0
- package/dist/cdn/{MSAHFPH5.js → JEWE6P7J.js} +1 -1
- package/dist/cdn/{AVCMAM3H.js → JHZVKHWJ.js} +2 -2
- package/dist/cdn/JJME2ZJC.js +4 -0
- package/dist/cdn/{CAEKE3MV.js → JLLYTTWC.js} +1 -1
- package/dist/cdn/{FTCBOHFX.js → JZNBQ4KD.js} +2 -2
- package/dist/cdn/{QW7UTJSI.js → K2HR77UZ.js} +2 -2
- package/dist/cdn/KINN5GXM.js +4 -0
- package/dist/cdn/{JSXXKMEZ.js → L77T27NC.js} +1 -1
- package/dist/cdn/LGCFIT47.js +4 -0
- package/dist/cdn/{I33BSJSU.js → LNXI2LKX.js} +2 -2
- package/dist/cdn/{JA2EZ7JR.js → LV25MVTC.js} +2 -2
- package/dist/cdn/{45HN63IS.js → LWBMF76X.js} +1 -1
- package/dist/cdn/{EVL5CCGU.js → M7ESO7GN.js} +2 -2
- package/dist/cdn/{YRBQVWNY.js → MADDW32S.js} +2 -2
- package/dist/cdn/{FSDQZJUP.js → MFMJ4UE7.js} +2 -2
- package/dist/cdn/{EP73D7NC.js → MYRUVBXH.js} +2 -2
- package/dist/cdn/{PXY4VFMX.js → MYRXKP2G.js} +2 -2
- package/dist/cdn/{KFJ3F6AU.js → N4LXGTRF.js} +2 -2
- package/dist/cdn/N6AY5IPK.js +4 -0
- package/dist/cdn/{SAWQSLP7.js → N6VRFZ2H.js} +2 -2
- package/dist/cdn/{BRF7AB4R.js → NAV4WQUO.js} +2 -2
- package/dist/cdn/NL273BFN.js +4 -0
- package/dist/cdn/{KHWHU6M3.js → NMMUNIQE.js} +2 -2
- package/dist/cdn/{DBJW3EVE.js → NXBYYB6O.js} +2 -2
- package/dist/cdn/{G3A5UEB4.js → O4G2N5ZD.js} +2 -2
- package/dist/cdn/{OTKVP4N2.js → O4Y6VEOJ.js} +2 -2
- package/dist/cdn/{MI6MD7EC.js → O755C4EN.js} +2 -2
- package/dist/cdn/{GQRH4DLZ.js → OCN3VWKD.js} +2 -2
- package/dist/cdn/{IV75Z5D6.js → OGVUSVQJ.js} +2 -2
- package/dist/cdn/OKXOZWDO.js +4 -0
- package/dist/cdn/{36MSZWZB.js → OLIT7V6Y.js} +2 -2
- package/dist/cdn/ONQDBKYE.js +4 -0
- package/dist/cdn/{TJ4ORLQN.js → ONZGCMYA.js} +2 -2
- package/dist/cdn/{JRJ7XAQM.js → OON3R2RE.js} +2 -2
- package/dist/cdn/{LEZVALQR.js → OROLTFCS.js} +2 -2
- package/dist/cdn/{T6PRZN5A.js → ORPJBWUM.js} +2 -2
- package/dist/cdn/{4ALK7I2B.js → P2QCOSKK.js} +2 -2
- package/dist/cdn/{SDQVMJHA.js → P47ZNKYA.js} +2 -2
- package/dist/cdn/PCR5WF3E.js +4 -0
- package/dist/cdn/{W3JMPEMY.js → PE2CAQBP.js} +2 -2
- package/dist/cdn/PHQ4BYYY.js +4 -0
- package/dist/cdn/{FD5C3NON.js → PP44LBZN.js} +2 -2
- package/dist/cdn/{EOGD7KHE.js → PTKZS7E4.js} +2 -2
- package/dist/cdn/{M5CXARRG.js → PWYUI526.js} +2 -2
- package/dist/cdn/{XMM5QJNY.js → QCCHBRS3.js} +2 -2
- package/dist/cdn/{DWMURSSX.js → QCKIO3P2.js} +2 -2
- package/dist/cdn/{OS6FGPP7.js → QEJCWG7B.js} +2 -2
- package/dist/cdn/{JCRMJZZS.js → QGN4AYAN.js} +2 -2
- package/dist/cdn/QJJWKQ6N.js +4 -0
- package/dist/cdn/QLHBA6NY.js +4 -0
- package/dist/cdn/QULNDV6D.js +4 -0
- package/dist/cdn/{DMWOWPOJ.js → QW6IT3OR.js} +2 -2
- package/dist/cdn/{NZVTMNU5.js → RHNCCT7R.js} +2 -2
- package/dist/cdn/{3KWJRXUO.js → RKGQ2QC4.js} +2 -2
- package/dist/cdn/{22EFCSSD.js → RN5OGTAB.js} +1 -1
- package/dist/cdn/RXURZ7FU.js +4 -0
- package/dist/cdn/{3ME6SBWH.js → S27SCNE7.js} +2 -2
- package/dist/cdn/{LSUIN7L5.js → S5UVF3XJ.js} +2 -2
- package/dist/cdn/{5F2VVIG4.js → SB2PJC33.js} +2 -2
- package/dist/cdn/{LUVZWVTW.js → SBQD7YKY.js} +2 -2
- package/dist/cdn/{BNXA45HP.js → SGIK65YM.js} +2 -2
- package/dist/cdn/{GWHTRMJM.js → SQMWKIXD.js} +2 -2
- package/dist/cdn/{SQQ6S4OA.js → SXDKUG2C.js} +2 -2
- package/dist/cdn/{LA3XHTIJ.js → SZWSCCHN.js} +2 -2
- package/dist/cdn/{XFDKD5MT.js → T2QRV3ZN.js} +2 -2
- package/dist/cdn/{QZWTIQUV.js → T32EUXH7.js} +2 -2
- package/dist/cdn/{C5DSCCPL.js → T7O3XCWH.js} +2 -2
- package/dist/cdn/{AYO4BZ3L.js → TDCNBHTW.js} +2 -2
- package/dist/cdn/{DTJL2WXY.js → TP3BGHUZ.js} +2 -2
- package/dist/cdn/{AYB576YX.js → TQW32XE4.js} +2 -2
- package/dist/cdn/{2LSNEJZ2.js → UALJAA7A.js} +2 -2
- package/dist/cdn/{HOYFZOPS.js → UJTALBBU.js} +2 -2
- package/dist/cdn/{F5TR63WW.js → UKQSHT44.js} +1 -1
- package/dist/cdn/UR627OKC.js +4 -0
- package/dist/cdn/{U6KBFEOA.js → UUKCXJ5Q.js} +2 -2
- package/dist/cdn/{ILR5OQ27.js → UXJRK5GA.js} +2 -2
- package/dist/cdn/VAF25EZN.js +4 -0
- package/dist/cdn/VBENI2PY.js +4 -0
- package/dist/cdn/VBRUDX2O.js +4 -0
- package/dist/cdn/{RMPW45HN.js → VJXUIR23.js} +2 -2
- package/dist/cdn/{5KL34Q5B.js → VYEHWPBP.js} +2 -2
- package/dist/cdn/{WXWTNEGG.js → WATZOJI3.js} +2 -2
- package/dist/cdn/WEYI4P3K.js +4 -0
- package/dist/cdn/WGP5REG2.js +4 -0
- package/dist/cdn/{HY63LDZG.js → WISRHD3J.js} +2 -2
- package/dist/cdn/{5JSSMSUK.js → WOUP5ADA.js} +2 -2
- package/dist/cdn/{NHM6IZ4D.js → WWO5HKYQ.js} +1 -1
- package/dist/cdn/{XDVWHCLN.js → WYXHPC2J.js} +2 -2
- package/dist/cdn/{KGDDNXTL.js → WZSLPNWJ.js} +2 -2
- package/dist/cdn/{Y7USR2HB.js → X3AVSJWF.js} +2 -2
- package/dist/cdn/{O4H72BWM.js → XAFCKHB2.js} +2 -2
- package/dist/cdn/{OS7OK24K.js → XBINAH5L.js} +2 -2
- package/dist/cdn/{I2MTYK2R.js → XKPEFGKS.js} +2 -2
- package/dist/cdn/{C25XCIII.js → XMOXXRZH.js} +2 -2
- package/dist/cdn/{ZQJQQLK5.js → XW2CGTMO.js} +2 -2
- package/dist/cdn/{KCANY5A7.js → Y267NLPJ.js} +2 -2
- package/dist/cdn/{NGP67CBQ.js → YDB3RSCC.js} +2 -2
- package/dist/cdn/{I6V4DZ5G.js → YJZ3SHNV.js} +2 -2
- package/dist/cdn/{327KKNL4.js → YMF77Z7I.js} +2 -2
- package/dist/cdn/{DGTC6637.js → Z5AGAZNK.js} +2 -2
- package/dist/cdn/{DQ7XSVJU.js → Z6YDHIBR.js} +2 -2
- package/dist/cdn/Z7ZJPEGG.js +4 -0
- package/dist/cdn/ZGSURGBG.js +4 -0
- package/dist/cdn/ZIETGZHZ.js +4 -0
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.en.json +1 -0
- 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 +2 -2
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +12 -12
- package/dist/chunks/layer-list.js +2 -2
- 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 +8 -8
- 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 +8 -8
- package/dist/components/arcgis-area-measurement-3d/customElement.js +14 -14
- package/dist/components/arcgis-attachments/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +44 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +11 -11
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +11 -11
- package/dist/components/arcgis-bookmarks/customElement.js +13 -13
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.js +10 -10
- package/dist/components/arcgis-coordinate-conversion/css.d.ts +26 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +209 -69
- package/dist/components/arcgis-coordinate-conversion/customElement.js +319 -16
- package/dist/components/arcgis-coordinate-conversion/index.d.ts +7 -0
- package/dist/components/arcgis-coordinate-conversion/index.js +7 -0
- package/dist/components/arcgis-coordinate-conversion/interfaces.d.ts +20 -0
- package/dist/components/arcgis-daylight/customElement.js +216 -216
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +17 -17
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +11 -11
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +6 -6
- package/dist/components/arcgis-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.js +10 -10
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +6 -6
- 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 +2 -2
- package/dist/components/arcgis-feature-media/customElement.js +2 -2
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +6 -9
- package/dist/components/arcgis-features/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/customElement.js +4 -4
- package/dist/components/arcgis-fullscreen/customElement.js +5 -5
- package/dist/components/arcgis-grid-controls/customElement.js +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.js +7 -7
- 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 +5 -5
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +8 -8
- 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 +2 -2
- 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 +13 -13
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +6 -6
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +4 -4
- 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.d.ts +313 -316
- package/dist/components/arcgis-popup/customElement.js +62 -62
- package/dist/components/arcgis-popup/interfaces.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.js +8 -8
- 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-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +12 -12
- package/dist/components/arcgis-scale-range-slider/customElement.js +8 -8
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.js +16 -16
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.js +9 -9
- package/dist/components/arcgis-slice/customElement.js +6 -6
- 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 +4 -4
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.js +7 -7
- package/dist/components/arcgis-track/customElement.js +4 -4
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +5 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.js +6 -6
- 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.js +1 -1
- 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 +46 -46
- package/dist/components/arcgis-zoom/customElement.js +10 -10
- package/dist/docs/api.json +528 -311
- package/dist/docs/docs.json +434 -284
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +76 -36
- package/dist/docs/web-types.json +160 -104
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +4 -4
- package/dist/support/heading.d.ts +2 -1
- package/dist/types/lumina.d.ts +4 -3
- package/dist/types/preact.d.ts +4 -3
- package/dist/types/preact10.d.ts +4 -3
- package/dist/types/react.d.ts +4 -3
- package/dist/types/stencil.d.ts +4 -3
- package/package.json +4 -4
- package/dist/cdn/36T2B4QE.js +0 -4
- package/dist/cdn/4QTHNIWZ.js +0 -4
- package/dist/cdn/4URHM24J.js +0 -4
- package/dist/cdn/5FGKOY7J.js +0 -4
- package/dist/cdn/5NH4GPGY.js +0 -4
- package/dist/cdn/5NJFZZEW.js +0 -4
- package/dist/cdn/AC2VB62C.js +0 -4
- package/dist/cdn/B2IN65Q7.js +0 -4
- package/dist/cdn/BNOXXX7Q.js +0 -4
- package/dist/cdn/BPWXXZB3.js +0 -4
- package/dist/cdn/CIM5I4HG.js +0 -4
- package/dist/cdn/CJOMIXWQ.js +0 -4
- package/dist/cdn/DVED5GOP.js +0 -4
- package/dist/cdn/E4SPSWIX.js +0 -4
- package/dist/cdn/ECZMSGLS.js +0 -4
- package/dist/cdn/EXNNOMKQ.js +0 -4
- package/dist/cdn/FMPZKTVA.js +0 -4
- package/dist/cdn/FSNKDY5N.js +0 -4
- package/dist/cdn/G6EVUMPV.js +0 -4
- package/dist/cdn/HTXOHTSB.js +0 -4
- package/dist/cdn/ICECQXTU.js +0 -4
- package/dist/cdn/ICWQNZHR.js +0 -4
- package/dist/cdn/IF4BTXQ4.js +0 -4
- package/dist/cdn/IRZZOTCJ.js +0 -4
- package/dist/cdn/JC5FECSI.js +0 -4
- package/dist/cdn/KFCT42O5.js +0 -4
- package/dist/cdn/KZLZV6IK.js +0 -4
- package/dist/cdn/LPGOGQSL.js +0 -4
- package/dist/cdn/LQ4E2REN.js +0 -4
- package/dist/cdn/LU7KIWX4.js +0 -4
- package/dist/cdn/MOGEVM7H.js +0 -4
- package/dist/cdn/MWFVXB2E.js +0 -4
- package/dist/cdn/MWV7UIU2.js +0 -4
- package/dist/cdn/O4Z2TD3J.js +0 -4
- package/dist/cdn/OFODJ5TB.js +0 -4
- package/dist/cdn/OOFR3YDD.js +0 -4
- package/dist/cdn/PJZPKNJI.js +0 -4
- package/dist/cdn/PWIANIP6.js +0 -4
- package/dist/cdn/Q3TSJ5P6.js +0 -4
- package/dist/cdn/QPZ3LMOA.js +0 -4
- package/dist/cdn/QQDDLH6S.js +0 -4
- package/dist/cdn/QWMC4PJA.js +0 -4
- package/dist/cdn/RCTZEGUO.js +0 -4
- package/dist/cdn/SLA3EAPY.js +0 -4
- package/dist/cdn/SRCC6TOL.js +0 -4
- package/dist/cdn/T5CFGDQC.js +0 -4
- package/dist/cdn/TWLYT6SK.js +0 -4
- package/dist/cdn/UKMJ3ZPM.js +0 -4
- package/dist/cdn/UXGU6GBT.js +0 -4
- package/dist/cdn/VFPAFQWU.js +0 -4
- package/dist/cdn/VIEQXBWQ.js +0 -4
- package/dist/cdn/W3XE4XZH.js +0 -4
- package/dist/cdn/WCNGLFV7.js +0 -4
- package/dist/cdn/WXZJ7SV7.js +0 -4
- package/dist/cdn/XEYXPXDI.js +0 -4
- package/dist/cdn/XGO73VQC.js +0 -4
- package/dist/cdn/XXJNWIO5.js +0 -4
- package/dist/cdn/YOOE3OXE.js +0 -4
- package/dist/cdn/Z6T3HIZD.js +0 -4
- package/dist/cdn/ZBJC2BPG.js +0 -4
|
@@ -4,7 +4,7 @@ import { css as ve, html as h } from "lit";
|
|
|
4
4
|
import { u as we } from "../../chunks/useT9n.js";
|
|
5
5
|
import xe from "@arcgis/core/views/3d/environment/SunLighting.js";
|
|
6
6
|
import ye from "@arcgis/core/views/3d/environment/VirtualLighting.js";
|
|
7
|
-
import { ref as
|
|
7
|
+
import { ref as oe, createRef as q } from "lit/directives/ref.js";
|
|
8
8
|
import { formatDate as j } from "@arcgis/core/intl.js";
|
|
9
9
|
import { u as Se } from "../../chunks/useView.js";
|
|
10
10
|
import { g as W } from "../../chunks/globalCss.js";
|
|
@@ -14,8 +14,8 @@ import { watch as Q, whenOnce as $e } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
14
14
|
import { b as Ce } from "../../chunks/async-utils.js";
|
|
15
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
16
16
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
17
|
-
v4.34.0-next.
|
|
18
|
-
const Pe = 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{--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:1.3em}.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:#303030}.esri-menu__list-item:active{background-color:#000}.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:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.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:22px;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:22px;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}.wrapper{width:350px;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}.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}`;
|
|
17
|
+
v4.34.0-next.136 */
|
|
18
|
+
const Pe = 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{--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}.wrapper{width:350px;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}.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}`;
|
|
19
19
|
Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
20
20
|
const X = {
|
|
21
21
|
milliseconds: 1,
|
|
@@ -31,43 +31,43 @@ const X = {
|
|
|
31
31
|
decades: 31536e7,
|
|
32
32
|
centuries: 31536e8
|
|
33
33
|
};
|
|
34
|
-
function E(
|
|
35
|
-
return
|
|
34
|
+
function E(t, e, i) {
|
|
35
|
+
return t === 0 ? 0 : t * X[e] / X[i];
|
|
36
36
|
}
|
|
37
|
-
function z(
|
|
38
|
-
return
|
|
37
|
+
function z(t) {
|
|
38
|
+
return t instanceof Date && !Number.isNaN(t.getTime());
|
|
39
39
|
}
|
|
40
|
-
function $(
|
|
41
|
-
const r = new Date(
|
|
40
|
+
function $(t, e, i = "hours") {
|
|
41
|
+
const r = new Date(t.getTime()), n = E(e, i, "milliseconds");
|
|
42
42
|
return r.setTime(r.getTime() + n), r;
|
|
43
43
|
}
|
|
44
|
-
function O(
|
|
45
|
-
const
|
|
44
|
+
function O(t, e) {
|
|
45
|
+
const i = E(e, "hours", "milliseconds"), r = new Date(t.getTime() + i), n = r.toISOString().slice(0, 10), s = r.getUTCHours() * 60 + r.getUTCMinutes();
|
|
46
46
|
return { localDate: n, minutesSinceMidnight: s };
|
|
47
47
|
}
|
|
48
48
|
var I = Math.PI, g = Math.sin, D = Math.cos, ze = Math.asin, Oe = Math.acos, w = I / 180, le = 1e3 * 60 * 60 * 24, ce = 2440588, de = 2451545;
|
|
49
|
-
function Me(
|
|
50
|
-
return
|
|
49
|
+
function Me(t) {
|
|
50
|
+
return t.valueOf() / le - 0.5 + ce;
|
|
51
51
|
}
|
|
52
|
-
function M(
|
|
53
|
-
return new Date((
|
|
52
|
+
function M(t) {
|
|
53
|
+
return new Date((t + 0.5 - ce) * le);
|
|
54
54
|
}
|
|
55
|
-
function Ue(
|
|
56
|
-
return Me(
|
|
55
|
+
function Ue(t) {
|
|
56
|
+
return Me(t) - de;
|
|
57
57
|
}
|
|
58
58
|
var ee = w * 23.4397;
|
|
59
|
-
function Le(
|
|
60
|
-
return ze(g(e) * D(ee) + D(e) * g(ee) * g(
|
|
59
|
+
function Le(t, e) {
|
|
60
|
+
return ze(g(e) * D(ee) + D(e) * g(ee) * g(t));
|
|
61
61
|
}
|
|
62
|
-
function Ee(
|
|
63
|
-
return w * (357.5291 + 0.98560028 *
|
|
62
|
+
function Ee(t) {
|
|
63
|
+
return w * (357.5291 + 0.98560028 * t);
|
|
64
64
|
}
|
|
65
|
-
function He(
|
|
66
|
-
return w * (1.9148 * g(
|
|
65
|
+
function He(t) {
|
|
66
|
+
return w * (1.9148 * g(t) + 0.02 * g(2 * t) + 3e-4 * g(3 * t));
|
|
67
67
|
}
|
|
68
|
-
function Ae(
|
|
69
|
-
var
|
|
70
|
-
return
|
|
68
|
+
function Ae(t, e) {
|
|
69
|
+
var i = w * 102.9372;
|
|
70
|
+
return t + e + i + I;
|
|
71
71
|
}
|
|
72
72
|
var S = {};
|
|
73
73
|
S.PolarException = {
|
|
@@ -87,23 +87,23 @@ var J = [
|
|
|
87
87
|
[ 6, "goldenHourEnd", "goldenHour" ]
|
|
88
88
|
*/
|
|
89
89
|
], he = 9e-4;
|
|
90
|
-
function Ie(
|
|
91
|
-
return Math.round(
|
|
90
|
+
function Ie(t, e) {
|
|
91
|
+
return Math.round(t - he - e / (2 * I));
|
|
92
92
|
}
|
|
93
|
-
function
|
|
94
|
-
return he + (
|
|
93
|
+
function te(t, e, i) {
|
|
94
|
+
return he + (t + e) / (2 * I) + i;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
97
|
-
return de +
|
|
96
|
+
function ie(t, e, i) {
|
|
97
|
+
return de + t + 53e-4 * g(e) - 69e-4 * g(2 * i);
|
|
98
98
|
}
|
|
99
|
-
function Ne(
|
|
100
|
-
return Oe((g(
|
|
99
|
+
function Ne(t, e, i) {
|
|
100
|
+
return Oe((g(t) - g(e) * g(i)) / (D(e) * D(i)));
|
|
101
101
|
}
|
|
102
|
-
S.getTimes = function(
|
|
103
|
-
var r = w * -
|
|
102
|
+
S.getTimes = function(t, e, i) {
|
|
103
|
+
var r = w * -i, n = w * e, s = Ue(t), a = Ie(s, r), o = te(0, r, a), d = Ee(o), c = He(d), l = Ae(d, c), m = Le(l, 0), f = ie(o, d, l);
|
|
104
104
|
function x(F) {
|
|
105
|
-
var P = Ne(F, n, m), pe =
|
|
106
|
-
return
|
|
105
|
+
var P = Ne(F, n, m), pe = te(P, r, a);
|
|
106
|
+
return ie(pe, d, l);
|
|
107
107
|
}
|
|
108
108
|
function T(F) {
|
|
109
109
|
var P = (g(F) - g(n) * g(m)) / (D(n) * D(m));
|
|
@@ -128,50 +128,50 @@ const Fe = {
|
|
|
128
128
|
winter: { dayOfMonth: 21, month: 11 }
|
|
129
129
|
// Northern Winter solstice in 2014 - December 21
|
|
130
130
|
}, V = ["spring", "summer", "fall", "winter"];
|
|
131
|
-
function k(
|
|
132
|
-
const r = B(e,
|
|
133
|
-
return
|
|
131
|
+
function k(t, e, i) {
|
|
132
|
+
const r = B(e, i), { dayOfMonth: n, month: s } = Fe[r], a = new Date(t.getTime());
|
|
133
|
+
return a.setMonth(s, n), a;
|
|
134
134
|
}
|
|
135
|
-
function Je(
|
|
136
|
-
const
|
|
137
|
-
return B(
|
|
135
|
+
function Je(t, e) {
|
|
136
|
+
const i = Re(t);
|
|
137
|
+
return B(i, e);
|
|
138
138
|
}
|
|
139
|
-
function Re(
|
|
140
|
-
const e =
|
|
141
|
-
return e >=
|
|
139
|
+
function Re(t) {
|
|
140
|
+
const e = t.getTime(), i = k(t, "spring", "northern").getTime(), r = k(t, "summer", "northern").getTime(), n = k(t, "fall", "northern").getTime(), s = k(t, "winter", "northern").getTime();
|
|
141
|
+
return e >= i && e < r ? "spring" : e >= r && e < n ? "summer" : e >= n && e < s ? "fall" : "winter";
|
|
142
142
|
}
|
|
143
|
-
function B(
|
|
144
|
-
return e === "northern" ?
|
|
143
|
+
function B(t, e) {
|
|
144
|
+
return e === "northern" ? t : je(t);
|
|
145
145
|
}
|
|
146
|
-
function re(
|
|
147
|
-
return
|
|
146
|
+
function re(t) {
|
|
147
|
+
return t >= 0 ? "northern" : "southern";
|
|
148
148
|
}
|
|
149
|
-
function je(
|
|
150
|
-
const e = V.indexOf(
|
|
149
|
+
function je(t) {
|
|
150
|
+
const e = V.indexOf(t);
|
|
151
151
|
return V[(e + 2) % 4];
|
|
152
152
|
}
|
|
153
153
|
const H = 1440, Ve = 864e5;
|
|
154
|
-
function Be(
|
|
155
|
-
const n = S.getTimes(
|
|
156
|
-
if (
|
|
157
|
-
const l =
|
|
158
|
-
s.setUTCDate(s.getUTCDate() + l),
|
|
154
|
+
function Be(t, e, i, r) {
|
|
155
|
+
const n = S.getTimes(t, e, i), s = n.sunrise, a = n.sunset, o = $(t, r), d = $(s, r), c = $(a, r);
|
|
156
|
+
if (o.getUTCDate() !== d.getUTCDate() || o.getUTCDate() !== c.getUTCDate()) {
|
|
157
|
+
const l = o.getTime() - d.getTime() > 0 ? 1 : -1;
|
|
158
|
+
s.setUTCDate(s.getUTCDate() + l), a.setUTCDate(a.getUTCDate() + l);
|
|
159
159
|
}
|
|
160
160
|
return {
|
|
161
161
|
sunrise: s,
|
|
162
|
-
sunset:
|
|
162
|
+
sunset: a
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
|
-
function p(
|
|
166
|
-
return
|
|
165
|
+
function p(t) {
|
|
166
|
+
return t?.type === "sun";
|
|
167
167
|
}
|
|
168
|
-
function ge(
|
|
168
|
+
function ge(t) {
|
|
169
169
|
return {
|
|
170
|
-
remove:
|
|
170
|
+
remove: t
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
function Z(
|
|
174
|
-
return (
|
|
173
|
+
function Z(t, e) {
|
|
174
|
+
return (t % e + e) % e;
|
|
175
175
|
}
|
|
176
176
|
const ue = {
|
|
177
177
|
hour: "numeric",
|
|
@@ -181,79 +181,79 @@ const ue = {
|
|
|
181
181
|
hour: "numeric",
|
|
182
182
|
timeZone: "UTC"
|
|
183
183
|
};
|
|
184
|
-
function Ge(
|
|
185
|
-
const e = Math.round(E(
|
|
184
|
+
function Ge(t) {
|
|
185
|
+
const e = Math.round(E(t, "minutes", "hours"));
|
|
186
186
|
return new Date(E(e, "hours", "milliseconds"));
|
|
187
187
|
}
|
|
188
|
-
function Ye(
|
|
189
|
-
return new Date(
|
|
188
|
+
function Ye(t) {
|
|
189
|
+
return new Date(t * 6e4);
|
|
190
190
|
}
|
|
191
|
-
function qe(
|
|
192
|
-
const e = Ge(
|
|
193
|
-
let
|
|
194
|
-
return
|
|
191
|
+
function qe(t) {
|
|
192
|
+
const e = Ge(t);
|
|
193
|
+
let i = j(e, ue);
|
|
194
|
+
return i.includes(" ") && (i = j(e, Ze), i = i.replace(":00", "")), i;
|
|
195
195
|
}
|
|
196
|
-
function We(
|
|
197
|
-
const e = Ye(
|
|
198
|
-
let
|
|
199
|
-
return
|
|
196
|
+
function We(t) {
|
|
197
|
+
const e = Ye(t);
|
|
198
|
+
let i = j(e, ue);
|
|
199
|
+
return t !== 0 && i === "00:00" && (i = "24:00"), i;
|
|
200
200
|
}
|
|
201
|
-
const Ke = (
|
|
201
|
+
const Ke = (t, e) => {
|
|
202
202
|
switch (e) {
|
|
203
203
|
case "tick":
|
|
204
|
-
return qe(
|
|
204
|
+
return qe(t);
|
|
205
205
|
case "max":
|
|
206
206
|
case "min":
|
|
207
207
|
case "value":
|
|
208
|
-
return We(
|
|
208
|
+
return We(t);
|
|
209
209
|
}
|
|
210
|
-
}, Qe = H - 1, Xe = 5,
|
|
211
|
-
function
|
|
212
|
-
return h`<calcite-slider class="slider" .disabled=${
|
|
213
|
-
const
|
|
214
|
-
|
|
215
|
-
}} .scale=${
|
|
210
|
+
}, Qe = H - 1, Xe = 5, et = Qe / 6;
|
|
211
|
+
function tt(t) {
|
|
212
|
+
return h`<calcite-slider class="slider" .disabled=${t.disabled} fill-placement=none label-ticks label-handles .labelFormatter=${Ke} min=0 .max=${H - 1} @calciteSliderInput=${(e) => {
|
|
213
|
+
const i = Array.isArray(e.target.value) ? e.target.value[0] : e.target.value;
|
|
214
|
+
i != null && t.onTimeChanged(i);
|
|
215
|
+
}} .scale=${t.scale} .step=${Xe} style=${fe({ gridArea: "slider" })} .ticks=${et} .value=${Z(t.value ?? 0, H)} ${oe(t.ref)}></calcite-slider>`;
|
|
216
216
|
}
|
|
217
|
-
function
|
|
218
|
-
return
|
|
217
|
+
function it(t, e) {
|
|
218
|
+
return t / 15;
|
|
219
219
|
}
|
|
220
|
-
function
|
|
221
|
-
const
|
|
222
|
-
if (
|
|
220
|
+
function rt(t, e) {
|
|
221
|
+
const i = t?.[0];
|
|
222
|
+
if (i == null)
|
|
223
223
|
return null;
|
|
224
|
-
e || (e = { hours: 0, minutes: 0, seconds: 0 }), e.hours =
|
|
224
|
+
e || (e = { hours: 0, minutes: 0, seconds: 0 }), e.hours = it(i);
|
|
225
225
|
const r = e.hours % 1;
|
|
226
226
|
e.hours -= r, e.minutes = r * 60;
|
|
227
227
|
const n = e.minutes % 1;
|
|
228
228
|
return e.minutes -= n, e.seconds = Math.round(n * 60), e;
|
|
229
229
|
}
|
|
230
|
-
function
|
|
231
|
-
const e =
|
|
230
|
+
function nt(t) {
|
|
231
|
+
const e = rt([t.longitude, t.latitude]);
|
|
232
232
|
return e == null ? 0 : Math.round(e.hours + e.minutes / 60 + e.seconds / 3600);
|
|
233
233
|
}
|
|
234
|
-
const
|
|
235
|
-
function ne(
|
|
236
|
-
return Z(
|
|
234
|
+
const st = 100, at = 1e3, _ = 12e5, U = 72e5;
|
|
235
|
+
function ne(t, e) {
|
|
236
|
+
return Z(t + e, 24);
|
|
237
237
|
}
|
|
238
|
-
function
|
|
239
|
-
mode:
|
|
238
|
+
function ot({
|
|
239
|
+
mode: t,
|
|
240
240
|
lighting: e,
|
|
241
|
-
getPlaySpeed:
|
|
241
|
+
getPlaySpeed: i
|
|
242
242
|
}) {
|
|
243
243
|
let r = -1;
|
|
244
244
|
function n(s = Date.now()) {
|
|
245
|
-
const
|
|
246
|
-
if (
|
|
245
|
+
const a = e.date, o = Date.now() - (s ?? 0);
|
|
246
|
+
if (t === "day") {
|
|
247
247
|
s = Date.now();
|
|
248
|
-
const c =
|
|
248
|
+
const c = i() / st * o;
|
|
249
249
|
if (c > 0) {
|
|
250
|
-
let l = new Date(
|
|
251
|
-
const m = e.displayUTCOffset ?? 0, f = ne(l.getUTCHours(), m), x = ne(
|
|
252
|
-
f < x && (l = new Date(
|
|
250
|
+
let l = new Date(a.getTime() + c);
|
|
251
|
+
const m = e.displayUTCOffset ?? 0, f = ne(l.getUTCHours(), m), x = ne(a.getUTCHours(), m);
|
|
252
|
+
f < x && (l = new Date(a.getTime() + c - Ve)), e.date = l;
|
|
253
253
|
}
|
|
254
|
-
} else if (
|
|
254
|
+
} else if (o > at) {
|
|
255
255
|
s = Date.now();
|
|
256
|
-
const d = (
|
|
256
|
+
const d = (a.getUTCMonth() + 1) % 12, c = new Date(a.getTime());
|
|
257
257
|
c.setUTCMonth(d), e.date = c;
|
|
258
258
|
}
|
|
259
259
|
r = requestAnimationFrame(() => n(s));
|
|
@@ -261,70 +261,70 @@ function ai({
|
|
|
261
261
|
return n(), ge(() => cancelAnimationFrame(r));
|
|
262
262
|
}
|
|
263
263
|
const L = _ / 4;
|
|
264
|
-
function
|
|
264
|
+
function lt(t, e, i, r) {
|
|
265
265
|
const {
|
|
266
266
|
day: n,
|
|
267
267
|
night: s = n,
|
|
268
|
-
twilight:
|
|
269
|
-
} = r,
|
|
270
|
-
if (
|
|
271
|
-
return
|
|
272
|
-
const l =
|
|
273
|
-
let u =
|
|
274
|
-
return l >= x && l <= T ? l - x <= _ ? u = d - (l - x) / _ * (d - c) : T - l <= _ / 2 ? u =
|
|
275
|
-
}
|
|
276
|
-
function y(
|
|
277
|
-
return
|
|
278
|
-
}
|
|
279
|
-
function se(
|
|
280
|
-
const { children: e, hideHeader:
|
|
268
|
+
twilight: a = n
|
|
269
|
+
} = r, o = n * L, d = s * L, c = a * L;
|
|
270
|
+
if (t == null || e == null || Number.isNaN(t.getTime()) && Number.isNaN(e.getTime()))
|
|
271
|
+
return o;
|
|
272
|
+
const l = i.getTime(), m = t.getTime(), f = e.getTime(), x = m - U / 2, T = m + U / 2, b = f - U / 3 * 2, v = f + U / 3;
|
|
273
|
+
let u = o;
|
|
274
|
+
return l >= x && l <= T ? l - x <= _ ? u = d - (l - x) / _ * (d - c) : T - l <= _ / 2 ? u = o - (T - l) / _ * 2 * (o - c) : u = c : l >= b && l <= v ? l - b <= _ / 2 ? u = o - (l - b) / _ * 2 * (o - c) : v - l <= _ ? u = d - (v - l) / _ * (d - c) : u = c : (l < m || l > f) && (u = d), u;
|
|
275
|
+
}
|
|
276
|
+
function y(t) {
|
|
277
|
+
return t.hidden ? null : t.children;
|
|
278
|
+
}
|
|
279
|
+
function se(t) {
|
|
280
|
+
const { children: e, hideHeader: i, headingLevel: r = 2, label: n, title: s } = t;
|
|
281
281
|
return h`<div aria-label=${n ?? A} class=${_e({
|
|
282
|
-
[
|
|
282
|
+
[t.class]: !0,
|
|
283
283
|
[W.widget]: !0,
|
|
284
284
|
[W.panel]: !0
|
|
285
|
-
})} role=presentation>${y({ hidden:
|
|
285
|
+
})} role=presentation>${y({ hidden: i || !s, children: De({ level: r, children: s }) })}${e}</div>`;
|
|
286
286
|
}
|
|
287
|
-
class
|
|
288
|
-
#
|
|
287
|
+
class ct {
|
|
288
|
+
#t;
|
|
289
289
|
#r;
|
|
290
290
|
#n = Te(() => {
|
|
291
|
-
this.#
|
|
291
|
+
this.#i();
|
|
292
292
|
});
|
|
293
293
|
constructor(e) {
|
|
294
294
|
this.#r = e;
|
|
295
|
-
let
|
|
295
|
+
let i;
|
|
296
296
|
K(this.#n, () => {
|
|
297
|
-
|
|
298
|
-
}), this.#
|
|
297
|
+
i = e();
|
|
298
|
+
}), this.#t = ke(i);
|
|
299
299
|
}
|
|
300
|
-
#
|
|
301
|
-
const e = this.#
|
|
300
|
+
#i() {
|
|
301
|
+
const e = this.#t.value;
|
|
302
302
|
K(this.#n, () => {
|
|
303
|
-
this.#
|
|
303
|
+
this.#t.value = this.#r(e);
|
|
304
304
|
});
|
|
305
305
|
}
|
|
306
306
|
mutate(e) {
|
|
307
|
-
this.#
|
|
307
|
+
this.#t.value = e;
|
|
308
308
|
}
|
|
309
309
|
get value() {
|
|
310
|
-
return this.#
|
|
310
|
+
return this.#t.value;
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
function R(
|
|
314
|
-
return new
|
|
313
|
+
function R(t) {
|
|
314
|
+
return new ct(t);
|
|
315
315
|
}
|
|
316
|
-
const
|
|
316
|
+
const dt = {
|
|
317
317
|
day: 1,
|
|
318
318
|
night: 6,
|
|
319
319
|
twilight: 2 / 3
|
|
320
320
|
};
|
|
321
|
-
class
|
|
321
|
+
class ht extends be {
|
|
322
322
|
constructor() {
|
|
323
|
-
super(...arguments), this.messages = we({ blocking: !0 }), this.#r = "none", this.#n = null, this.#
|
|
323
|
+
super(...arguments), this.messages = we({ blocking: !0 }), this.#r = "none", this.#n = null, this.#a = q(), this.#s = q(), this.#c = 200, this.#e = {}, this._offset = R((e) => p(this.lighting) ? this.lighting.displayUTCOffset ?? e : e), this._timesliderPosition = R((e) => {
|
|
324
324
|
if (p(this.lighting)) {
|
|
325
|
-
const
|
|
325
|
+
const i = this.lighting.displayUTCOffset ?? 0, r = this.lighting.date;
|
|
326
326
|
if (z(r)) {
|
|
327
|
-
const { minutesSinceMidnight: n } = O(r,
|
|
327
|
+
const { minutesSinceMidnight: n } = O(r, i);
|
|
328
328
|
return n;
|
|
329
329
|
} else
|
|
330
330
|
return e;
|
|
@@ -332,9 +332,9 @@ class hi extends be {
|
|
|
332
332
|
return e;
|
|
333
333
|
}), this._localDate = R((e) => {
|
|
334
334
|
if (p(this.lighting)) {
|
|
335
|
-
const
|
|
335
|
+
const i = this.lighting.displayUTCOffset ?? 0, r = this.lighting.date;
|
|
336
336
|
if (z(r)) {
|
|
337
|
-
const { localDate: n } = O(r,
|
|
337
|
+
const { localDate: n } = O(r, i);
|
|
338
338
|
return n;
|
|
339
339
|
} else
|
|
340
340
|
return e;
|
|
@@ -351,38 +351,38 @@ class hi extends be {
|
|
|
351
351
|
get _view() {
|
|
352
352
|
return this.view?.type === "3d" ? this.view : void 0;
|
|
353
353
|
}
|
|
354
|
-
#
|
|
354
|
+
#t;
|
|
355
355
|
#r;
|
|
356
356
|
#n;
|
|
357
|
-
#
|
|
358
|
-
#
|
|
357
|
+
#i;
|
|
358
|
+
#a;
|
|
359
359
|
#s;
|
|
360
360
|
#c;
|
|
361
|
-
#
|
|
362
|
-
if (this.#
|
|
361
|
+
#o() {
|
|
362
|
+
if (this.#i)
|
|
363
363
|
return;
|
|
364
364
|
const e = requestIdleCallback(() => {
|
|
365
|
-
if (this.#
|
|
366
|
-
const
|
|
367
|
-
this.lighting.date =
|
|
365
|
+
if (this.#i?.remove(), p(this.lighting)) {
|
|
366
|
+
const i = this.utcOffset ?? 0, r = this.timeSliderPosition ?? 0, n = this.localDate, s = r - i * 60, a = $(n, s, "minutes");
|
|
367
|
+
this.lighting.date = a, this.lighting.displayUTCOffset = i;
|
|
368
368
|
}
|
|
369
369
|
}, { timeout: this.#c });
|
|
370
|
-
this.#
|
|
371
|
-
cancelIdleCallback(e), this.#
|
|
370
|
+
this.#i = ge(() => {
|
|
371
|
+
cancelIdleCallback(e), this.#i = void 0;
|
|
372
372
|
});
|
|
373
373
|
}
|
|
374
|
-
#d({ scale: e, disabled:
|
|
374
|
+
#d({ scale: e, disabled: i }) {
|
|
375
375
|
const { messages: r } = this;
|
|
376
|
-
return h`<calcite-label .scale=${e}>${r.date}${
|
|
377
|
-
const s = n.currentTarget.value,
|
|
378
|
-
this._stopPlaying(), this.localDate =
|
|
379
|
-
}, playButtons: y({ hidden: this.hidePlayButtons, children:
|
|
376
|
+
return h`<calcite-label .scale=${e}>${r.date}${gt({ disabled: i, scale: e, date: this.localDateAsString, onDateChange: (n) => {
|
|
377
|
+
const s = n.currentTarget.value, a = Array.isArray(s) ? s[0] : s;
|
|
378
|
+
this._stopPlaying(), this.localDate = a, this._emitUserDateTimeChangeEvent();
|
|
379
|
+
}, playButtons: y({ hidden: this.hidePlayButtons, children: ae({ scale: e, playing: this.yearPlaying, disabled: i, label: r.playYear, onClick: () => {
|
|
380
380
|
this.playingState === "year" ? this.playingState = "none" : this.playingState = "year";
|
|
381
381
|
} }) }) })}</calcite-label>`;
|
|
382
382
|
}
|
|
383
|
-
#h({ scale: e, disabled:
|
|
383
|
+
#h({ scale: e, disabled: i }) {
|
|
384
384
|
const { messages: r } = this;
|
|
385
|
-
return h`<calcite-label .scale=${e}>${r.season}${
|
|
385
|
+
return h`<calcite-label .scale=${e}>${r.season}${ut({ scale: e, selectedSeason: this.currentSeason, disabled: i, messages: r, onSeasonChange: (n) => {
|
|
386
386
|
this._stopPlaying(), this.currentSeason = n.currentTarget.value;
|
|
387
387
|
} })}</calcite-label>`;
|
|
388
388
|
}
|
|
@@ -397,7 +397,7 @@ class hi extends be {
|
|
|
397
397
|
return this.#r;
|
|
398
398
|
}
|
|
399
399
|
set playingState(e) {
|
|
400
|
-
this.#r = e, e === "none" ? this.#
|
|
400
|
+
this.#r = e, e === "none" ? this.#t?.remove() : (this._play(e), this._emitUserDateTimeChangeEvent());
|
|
401
401
|
}
|
|
402
402
|
get lighting() {
|
|
403
403
|
return this._view?.environment?.lighting;
|
|
@@ -410,26 +410,26 @@ class hi extends be {
|
|
|
410
410
|
}
|
|
411
411
|
set sunlightingDisabled(e) {
|
|
412
412
|
this.#e.sunlightingDisabled = e;
|
|
413
|
-
const
|
|
414
|
-
if (
|
|
413
|
+
const i = this._view?.environment;
|
|
414
|
+
if (i == null)
|
|
415
415
|
return;
|
|
416
|
-
const r =
|
|
416
|
+
const r = i.lighting, n = this.#n;
|
|
417
417
|
this.#n = r;
|
|
418
418
|
const s = {
|
|
419
419
|
directShadowsEnabled: r.directShadowsEnabled
|
|
420
420
|
};
|
|
421
421
|
p(r) && (s.cameraTrackingEnabled = r.cameraTrackingEnabled);
|
|
422
|
-
const
|
|
423
|
-
let
|
|
424
|
-
n != null && n.type ===
|
|
422
|
+
const a = e ? "virtual" : "sun";
|
|
423
|
+
let o;
|
|
424
|
+
n != null && n.type === a ? o = n : o = e ? new ye() : new xe(), o.set(s), i.lighting = o, e || (this._stopPlaying(), this.#a.value && (this.#a.value.open = !1));
|
|
425
425
|
}
|
|
426
426
|
get currentSeason() {
|
|
427
|
-
const e = this._view?.camera?.position?.latitude ?? 0,
|
|
428
|
-
return Je(this.localDate,
|
|
427
|
+
const e = this._view?.camera?.position?.latitude ?? 0, i = re(e);
|
|
428
|
+
return Je(this.localDate, i);
|
|
429
429
|
}
|
|
430
430
|
set currentSeason(e) {
|
|
431
431
|
this._stopPlaying();
|
|
432
|
-
const
|
|
432
|
+
const i = this._view?.camera?.position?.latitude ?? 0, r = re(i), n = B(e, r);
|
|
433
433
|
this.localDate = k(this.localDate, n, "northern"), this._emitUserDateTimeChangeEvent();
|
|
434
434
|
}
|
|
435
435
|
get dayPlaying() {
|
|
@@ -448,23 +448,23 @@ class hi extends be {
|
|
|
448
448
|
return this._offset.value;
|
|
449
449
|
}
|
|
450
450
|
set utcOffset(e) {
|
|
451
|
-
this._offset.mutate(e), this.#
|
|
451
|
+
this._offset.mutate(e), this.#o();
|
|
452
452
|
}
|
|
453
453
|
get timeSliderPosition() {
|
|
454
454
|
return this._timesliderPosition.value;
|
|
455
455
|
}
|
|
456
456
|
set timeSliderPosition(e) {
|
|
457
|
-
this._timesliderPosition.mutate(Z(e ?? 0, H)), this.#
|
|
457
|
+
this._timesliderPosition.mutate(Z(e ?? 0, H)), this.#o();
|
|
458
458
|
}
|
|
459
459
|
get localDate() {
|
|
460
460
|
return this._localDate.value != null ? new Date(this._localDate.value) : /* @__PURE__ */ new Date();
|
|
461
461
|
}
|
|
462
462
|
set localDate(e) {
|
|
463
|
-
const
|
|
464
|
-
if (z(
|
|
465
|
-
|
|
466
|
-
const r =
|
|
467
|
-
this._localDate.mutate(r), this.#
|
|
463
|
+
const i = new Date(e);
|
|
464
|
+
if (z(i)) {
|
|
465
|
+
i.setUTCFullYear(i.getFullYear(), i.getMonth(), i.getDate());
|
|
466
|
+
const r = i.toISOString().slice(0, 10);
|
|
467
|
+
this._localDate.mutate(r), this.#o();
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
get yearPlaying() {
|
|
@@ -481,27 +481,27 @@ class hi extends be {
|
|
|
481
481
|
Q(() => {
|
|
482
482
|
let e = null;
|
|
483
483
|
if (p(this.lighting)) {
|
|
484
|
-
const
|
|
484
|
+
const i = this.lighting.displayUTCOffset ?? 0, r = this.lighting.date;
|
|
485
485
|
if (z(r)) {
|
|
486
|
-
const { minutesSinceMidnight: n } = O(r,
|
|
486
|
+
const { minutesSinceMidnight: n } = O(r, i);
|
|
487
487
|
e = n;
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
490
|
return e;
|
|
491
491
|
}, (e) => {
|
|
492
|
-
const
|
|
493
|
-
e != null &&
|
|
492
|
+
const i = this.#g;
|
|
493
|
+
e != null && i !== e && this._emitUserDateTimeChangeEvent();
|
|
494
494
|
}, { sync: !0 }),
|
|
495
495
|
Q(() => this._view?.camera?.position, (e) => {
|
|
496
|
-
e && p(this.lighting) && this.lighting.cameraTrackingEnabled && (this.lighting.displayUTCOffset =
|
|
496
|
+
e && p(this.lighting) && this.lighting.cameraTrackingEnabled && (this.lighting.displayUTCOffset = nt(e));
|
|
497
497
|
})
|
|
498
498
|
]), this.manager.onDisconnected(() => {
|
|
499
|
-
this.#
|
|
499
|
+
this.#t?.remove(), this.#i?.remove();
|
|
500
500
|
});
|
|
501
501
|
}
|
|
502
502
|
willUpdate(e) {
|
|
503
503
|
if (super.willUpdate(e), !!this.#l && p(this.lighting) && e.has("utcOffset")) {
|
|
504
|
-
const
|
|
504
|
+
const i = this.utcOffset ?? 0, r = this.lighting.displayUTCOffset ?? 0, n = this.timeSliderPosition ?? 0, s = this.localDate, a = n - r * 60, o = $(s, a, "minutes"), { minutesSinceMidnight: d, localDate: c } = O(o, i);
|
|
505
505
|
this._timesliderPosition.mutate(d), this._localDate.mutate(c);
|
|
506
506
|
}
|
|
507
507
|
}
|
|
@@ -523,61 +523,61 @@ class hi extends be {
|
|
|
523
523
|
this.playingState = "none";
|
|
524
524
|
}
|
|
525
525
|
_play(e) {
|
|
526
|
-
this.#
|
|
527
|
-
const
|
|
528
|
-
if (
|
|
526
|
+
this.#t?.remove();
|
|
527
|
+
const i = this._view;
|
|
528
|
+
if (i == null || this.sunlightingDisabled)
|
|
529
529
|
return;
|
|
530
|
-
const r =
|
|
531
|
-
p(r) && (this.#
|
|
530
|
+
const r = i.environment.lighting;
|
|
531
|
+
p(r) && (this.#t = ot({
|
|
532
532
|
mode: e,
|
|
533
533
|
lighting: r,
|
|
534
534
|
getPlaySpeed: () => {
|
|
535
535
|
const n = this._view, s = this._view?.environment.lighting;
|
|
536
536
|
if (n != null && p(s)) {
|
|
537
|
-
const
|
|
538
|
-
return
|
|
537
|
+
const a = n.camera.position.latitude ?? 0, o = n.camera.position.longitude ?? 0, { sunrise: d, sunset: c } = Be(s.date, a, o, s.displayUTCOffset ?? 0);
|
|
538
|
+
return lt(d, c, s.date, dt) * this.playSpeedMultiplier;
|
|
539
539
|
} else
|
|
540
540
|
return L * this.playSpeedMultiplier;
|
|
541
541
|
}
|
|
542
542
|
}));
|
|
543
543
|
}
|
|
544
544
|
render() {
|
|
545
|
-
const { messages: e, dateOrSeason:
|
|
545
|
+
const { messages: e, dateOrSeason: i } = this, r = this.sunlightingDisabled, n = "s";
|
|
546
546
|
if (!this.supported)
|
|
547
547
|
return se({ class: "wrapper", label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: h`<div class="unsupported"><p>${e.unsupported}</p></div>` });
|
|
548
548
|
const s = (this.utcOffset ?? 0) * 60;
|
|
549
|
-
return se({ class: "wrapper", label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: h`<div class="day-container"><calcite-label class="slider-container" .scale=${n}>${e.timeSliderLabel}${
|
|
550
|
-
this._stopPlaying(), this._emitUserDateTimeChangeEvent(), this.timeSliderPosition =
|
|
551
|
-
} })}</calcite-label>${y({ hidden: this.hidePlayButtons, children: h`<div class="slider-play-button">${
|
|
549
|
+
return se({ class: "wrapper", label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: h`<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, onTimeChanged: (a) => {
|
|
550
|
+
this._stopPlaying(), this._emitUserDateTimeChangeEvent(), this.timeSliderPosition = a;
|
|
551
|
+
} })}</calcite-label>${y({ hidden: this.hidePlayButtons, children: h`<div class="slider-play-button">${ae({ scale: n, disabled: this.sunlightingDisabled, playing: this.dayPlaying, label: e.playDay, onClick: () => {
|
|
552
552
|
this.playingState === "day" ? this._stopPlaying() : this.playingState = "day";
|
|
553
|
-
} })}</div>` })}</div>${y({ hidden: this.hideTimezone, children: h`<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=${(
|
|
554
|
-
const
|
|
555
|
-
this.utcOffset =
|
|
556
|
-
}} ${
|
|
557
|
-
this.sunlightingDisabled = !
|
|
558
|
-
} }) })}${y({ hidden: this.hideShadowsToggle, children:
|
|
559
|
-
this.directShadowsDisabled = !
|
|
553
|
+
} })}</div>` })}</div>${y({ hidden: this.hideTimezone, children: h`<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) => {
|
|
554
|
+
const o = +a.target.value;
|
|
555
|
+
this.utcOffset = o / 60, this._stopPlaying();
|
|
556
|
+
}} ${oe(this.#a)}></calcite-input-time-zone></calcite-label>` })}${y({ hidden: this.hideDatePicker, children: i === "date" ? this.#d({ scale: n, disabled: r }) : this.#h({ scale: n, disabled: r }) })}${y({ hidden: this.hideSunLightingToggle, children: pt({ scale: n, messages: e.sunLightingToggle, sunlightingEnabled: !this.sunlightingDisabled, onSunLightingToggle: (a) => {
|
|
557
|
+
this.sunlightingDisabled = !a;
|
|
558
|
+
} }) })}${y({ hidden: this.hideShadowsToggle, children: mt({ scale: n, messages: e.shadowsToggle, onShadowCheckboxChange: (a) => {
|
|
559
|
+
this.directShadowsDisabled = !a;
|
|
560
560
|
}, shadowEnabled: !this.directShadowsDisabled }) })}` });
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
|
-
function
|
|
564
|
-
return h`<calcite-button appearance=solid .scale=${n} .disabled=${
|
|
563
|
+
function ae({ disabled: t, playing: e, onClick: i, label: r, scale: n }) {
|
|
564
|
+
return h`<calcite-button appearance=solid .scale=${n} .disabled=${t} .iconStart=${e ? "pause-f" : "play-f"} .label=${r} @click=${i} round title=${r ?? A} type=button></calcite-button>`;
|
|
565
565
|
}
|
|
566
|
-
function
|
|
567
|
-
return h`<div class="date-container"><calcite-input-date-picker data-testid=daylight-date-picker .disabled=${
|
|
566
|
+
function gt({ disabled: t, date: e, onDateChange: i, scale: r, playButtons: n }) {
|
|
567
|
+
return h`<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>`;
|
|
568
568
|
}
|
|
569
|
-
function
|
|
570
|
-
return h`<calcite-select .disabled=${e} .label=${
|
|
569
|
+
function ut({ messages: t, disabled: e, scale: i, selectedSeason: r, onSeasonChange: n }) {
|
|
570
|
+
return h`<calcite-select .disabled=${e} .label=${t.season} .scale=${i} .value=${r} @calciteSelectChange=${(s) => {
|
|
571
571
|
n(s);
|
|
572
|
-
}}>${V.map((s) => h`<calcite-option .selected=${r === s} .value=${s}>${
|
|
572
|
+
}}>${V.map((s) => h`<calcite-option .selected=${r === s} .value=${s}>${t[s]}</calcite-option>`)}</calcite-select>`;
|
|
573
573
|
}
|
|
574
|
-
function
|
|
575
|
-
return h`<calcite-label layout=inline .scale=${r} title=${
|
|
574
|
+
function pt({ messages: t, sunlightingEnabled: e, onSunLightingToggle: i, scale: r }) {
|
|
575
|
+
return h`<calcite-label layout=inline .scale=${r} title=${t?.tooltip ?? A}><calcite-checkbox .scale=${r} .checked=${e} @calciteCheckboxChange=${(n) => i(n.target.checked)}></calcite-checkbox>${t?.label}</calcite-label>`;
|
|
576
576
|
}
|
|
577
|
-
function
|
|
578
|
-
return h`<calcite-label layout=inline .scale=${r} title=${
|
|
577
|
+
function mt({ messages: t, shadowEnabled: e, onShadowCheckboxChange: i, scale: r }) {
|
|
578
|
+
return h`<calcite-label layout=inline .scale=${r} title=${t?.tooltip ?? A}><calcite-checkbox .checked=${e} @calciteCheckboxChange=${(n) => i(n.target.checked)}></calcite-checkbox>${t.label}</calcite-label>`;
|
|
579
579
|
}
|
|
580
|
-
me("arcgis-daylight",
|
|
580
|
+
me("arcgis-daylight", ht);
|
|
581
581
|
export {
|
|
582
|
-
|
|
582
|
+
ht as ArcgisDaylight
|
|
583
583
|
};
|