@nasa-terra/components 0.0.146 → 0.0.148
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/cdn/chunks/chunk.26DDUSR7.js +1001 -0
- package/cdn/chunks/chunk.2AQWWBQP.js +83 -0
- package/cdn/chunks/chunk.2D24PNY3.js +977 -0
- package/cdn/chunks/chunk.2ERJP7EQ.js +19 -0
- package/cdn/chunks/chunk.2H5RKQQE.js +29 -0
- package/cdn/chunks/chunk.2HBCWWZY.js +155 -0
- package/cdn/chunks/chunk.2MOKVZJ5.js +110 -0
- package/cdn/chunks/chunk.2OATTCJS.js +60 -0
- package/cdn/chunks/chunk.2QLCPLJA.js +83 -0
- package/cdn/chunks/chunk.2U7IQRQF.js +29 -0
- package/cdn/chunks/chunk.3EEC7I6T.js +77 -0
- package/cdn/chunks/chunk.3FMOE22A.js +29 -0
- package/cdn/chunks/chunk.3GXOGKXF.js +19 -0
- package/cdn/chunks/chunk.3IITJSKJ.js +19 -0
- package/cdn/chunks/chunk.3IIWIDHX.js +19 -0
- package/cdn/chunks/chunk.3MFQHCTU.js +306 -0
- package/cdn/chunks/chunk.3MKYZ6M6.js +33 -0
- package/cdn/chunks/chunk.3P6RBNDU.js +524 -0
- package/cdn/chunks/chunk.3SO4K6Y3.js +355 -0
- package/cdn/chunks/chunk.3T3MJAQE.js +1885 -0
- package/cdn/chunks/chunk.3TGD65LI.js +29 -0
- package/cdn/chunks/chunk.42DMRGGV.js +235 -0
- package/cdn/chunks/chunk.4IRR2CH7.js +293 -0
- package/cdn/chunks/chunk.4N5QSR7H.js +113 -0
- package/cdn/chunks/chunk.4NP5NRI4.js +93 -0
- package/cdn/chunks/chunk.4R6JWWNF.js +19 -0
- package/cdn/chunks/chunk.4TZ3EHG3.js +19 -0
- package/cdn/chunks/chunk.4UL4WO5H.js +146 -0
- package/cdn/chunks/chunk.4XNBPCMS.js +30 -0
- package/cdn/chunks/chunk.53RLWPIG.js +19 -0
- package/cdn/chunks/chunk.57YZ5M3S.js +29 -0
- package/cdn/chunks/chunk.5BKRGPYR.js +37 -0
- package/cdn/chunks/chunk.5EMIO54T.js +19 -0
- package/cdn/chunks/chunk.5ICGSIFG.js +29 -0
- package/cdn/chunks/chunk.5RSJLHKI.js +19 -0
- package/cdn/chunks/chunk.5RYT4QNM.js +157 -0
- package/cdn/chunks/chunk.5UXU4BFG.js +29 -0
- package/cdn/chunks/chunk.644RAZC5.js +19 -0
- package/cdn/chunks/chunk.66YPQHM6.js +19 -0
- package/cdn/chunks/chunk.6DYWTPAR.js +19 -0
- package/cdn/chunks/chunk.6HSNJXZ2.js +29 -0
- package/cdn/chunks/chunk.6MEDBU74.js +19 -0
- package/cdn/chunks/chunk.75ADXWMK.js +19 -0
- package/cdn/chunks/chunk.7LXJ3MSC.js +281 -0
- package/cdn/chunks/chunk.7WPNUNM3.js +29 -0
- package/cdn/chunks/chunk.AKTZRHS6.js +32 -0
- package/cdn/chunks/chunk.ANM54WWD.js +499 -0
- package/cdn/chunks/chunk.AOBM3K6V.js +19 -0
- package/cdn/chunks/chunk.ATRAU34R.js +47 -0
- package/cdn/chunks/chunk.AV2ZLQJ4.js +32 -0
- package/cdn/chunks/chunk.B4OZ2O2H.js +19 -0
- package/cdn/chunks/chunk.B55VP7NG.js +730 -0
- package/cdn/chunks/chunk.B66MMPY3.js +19 -0
- package/cdn/chunks/chunk.BB4JADJY.js +189 -0
- package/cdn/chunks/chunk.BBA4O6MU.js +19 -0
- package/cdn/chunks/chunk.BEYOFXDN.js +259 -0
- package/cdn/chunks/chunk.BITUWHVL.js +54 -0
- package/cdn/chunks/chunk.BNRQEYYG.js +74 -0
- package/cdn/chunks/chunk.BVYTDYJM.js +19 -0
- package/cdn/chunks/chunk.C7DGAKZF.js +248 -0
- package/cdn/chunks/chunk.CGMFTEYF.js +67 -0
- package/cdn/chunks/chunk.CHVHBCFK.js +19 -0
- package/cdn/chunks/chunk.CKPSC2YQ.js +19 -0
- package/cdn/chunks/chunk.CNHZIATM.js +19 -0
- package/cdn/chunks/chunk.CPT5FSUS.js +29 -0
- package/cdn/chunks/chunk.CYZSNUSR.js +19 -0
- package/cdn/chunks/chunk.D4SARMFF.js +29 -0
- package/cdn/chunks/chunk.D5QT4HAC.js +357 -0
- package/cdn/chunks/chunk.D6KLB4SR.js +264 -0
- package/cdn/chunks/chunk.D7HIWLCB.js +19 -0
- package/cdn/chunks/chunk.DIUECPZ6.js +29 -0
- package/cdn/chunks/chunk.DO3GPKMH.js +239 -0
- package/cdn/chunks/chunk.DTVVJVWX.js +36 -0
- package/cdn/chunks/chunk.EG5SCAMM.js +29 -0
- package/cdn/chunks/chunk.EGTBQ75C.js +279 -0
- package/cdn/chunks/chunk.EKADLA4J.js +477 -0
- package/cdn/chunks/chunk.ERM35NF4.js +93 -0
- package/cdn/chunks/chunk.F7ZYEGQL.js +19 -0
- package/cdn/chunks/chunk.FBR43ZJC.js +19 -0
- package/cdn/chunks/chunk.FDPKDOMW.js +19 -0
- package/cdn/chunks/chunk.FN2VVYJB.js +610 -0
- package/cdn/chunks/chunk.FNWEDAUS.js +32 -0
- package/cdn/chunks/chunk.FOTBSPL7.js +32 -0
- package/cdn/chunks/chunk.FSMXDSCC.js +29 -0
- package/cdn/chunks/chunk.FVA7XOQZ.js +136 -0
- package/cdn/chunks/chunk.FXM6K5HM.js +217 -0
- package/cdn/chunks/chunk.G3ZAT7U7.js +19 -0
- package/cdn/chunks/chunk.GDWMHE72.js +19 -0
- package/cdn/chunks/chunk.GVVU2QFZ.js +230 -0
- package/cdn/chunks/chunk.GWC5SERB.js +29 -0
- package/cdn/chunks/chunk.GWLLGOGA.js +435 -0
- package/cdn/chunks/chunk.HG7YEH4N.js +19 -0
- package/cdn/chunks/chunk.HI4LY57S.js +19 -0
- package/cdn/chunks/chunk.HNDHHR5X.js +29 -0
- package/cdn/chunks/chunk.HNE4DLKP.js +276 -0
- package/cdn/chunks/chunk.HTY5XIP3.js +36 -0
- package/cdn/chunks/chunk.IG5VNZ6L.js +621 -0
- package/cdn/chunks/chunk.IIE7WTXU.js +19 -0
- package/cdn/chunks/chunk.IMVTBJCP.js +288 -0
- package/cdn/chunks/chunk.ISOII3AR.js +372 -0
- package/cdn/chunks/chunk.IVXZL4I7.js +32 -0
- package/cdn/chunks/chunk.IWVNVNRD.js +134 -0
- package/cdn/chunks/chunk.IYTQ7JXJ.js +32 -0
- package/cdn/chunks/chunk.J2JNOWNB.js +493 -0
- package/cdn/chunks/chunk.J4S3AKGX.js +29 -0
- package/cdn/chunks/chunk.JFHC3LXJ.js +56 -0
- package/cdn/chunks/chunk.JFIILRD3.js +19 -0
- package/cdn/chunks/chunk.JLXOCSMS.js +19 -0
- package/cdn/chunks/chunk.JTNRV7ID.js +33858 -0
- package/cdn/chunks/chunk.JTUFJGZC.js +71 -0
- package/cdn/chunks/chunk.JXBBNPEC.js +315 -0
- package/cdn/chunks/chunk.JYWDOFNE.js +19 -0
- package/cdn/chunks/chunk.K5LF4PYF.js +19 -0
- package/cdn/chunks/chunk.KANKIMPQ.js +36 -0
- package/cdn/chunks/chunk.KDBSESEK.js +1966 -0
- package/cdn/chunks/chunk.KDGXIPVR.js +19 -0
- package/cdn/chunks/chunk.KDSWQWNC.js +32 -0
- package/cdn/chunks/chunk.KKSZHZQQ.js +165 -0
- package/cdn/chunks/chunk.KNKXGGFO.js +19 -0
- package/cdn/chunks/chunk.KT5CTAJQ.js +278 -0
- package/cdn/chunks/chunk.L2EN6MIT.js +32 -0
- package/cdn/chunks/chunk.LHDGZGVJ.js +35 -0
- package/cdn/chunks/chunk.LRI354CM.js +29 -0
- package/cdn/chunks/chunk.LSEV2FOG.js +754 -0
- package/cdn/chunks/chunk.LUMFXOPG.js +19 -0
- package/cdn/chunks/chunk.MGYTJVL4.js +19 -0
- package/cdn/chunks/chunk.MHK5DELH.js +538 -0
- package/cdn/chunks/chunk.MMYZK7Q3.js +32 -0
- package/cdn/chunks/chunk.MNM6A2JQ.js +32 -0
- package/cdn/chunks/chunk.MOSKKKZX.js +19 -0
- package/cdn/chunks/chunk.NHD37PG6.js +19 -0
- package/cdn/chunks/chunk.NJZERCJI.js +19 -0
- package/cdn/chunks/chunk.NLYZZIUI.js +99 -0
- package/cdn/chunks/chunk.OBYCJJXH.js +35 -0
- package/cdn/chunks/chunk.ODGMYUOU.js +33 -0
- package/cdn/chunks/chunk.OJ3UDF4X.js +35 -0
- package/cdn/chunks/chunk.OKCZX5F2.js +29 -0
- package/cdn/chunks/chunk.OMTCS2GC.js +315 -0
- package/cdn/chunks/chunk.OY56IRUX.js +33 -0
- package/cdn/chunks/chunk.PD4A4TIR.js +234 -0
- package/cdn/chunks/chunk.PD5GVIKL.js +29 -0
- package/cdn/chunks/chunk.PEMCUYYB.js +29 -0
- package/cdn/chunks/chunk.PFQHUWXK.js +33 -0
- package/cdn/chunks/chunk.PGIPD5G7.js +188 -0
- package/cdn/chunks/chunk.PL2AO7PI.js +286 -0
- package/cdn/chunks/chunk.PUNY2RWF.js +19 -0
- package/cdn/chunks/chunk.PV65AF4K.js +302 -0
- package/cdn/chunks/chunk.PVOCCXS6.js +2183 -0
- package/cdn/chunks/chunk.PYFU643H.js +29 -0
- package/cdn/chunks/chunk.PZEI6LMM.js +599 -0
- package/cdn/chunks/chunk.QBGXKSWO.js +19 -0
- package/cdn/chunks/chunk.QECFDRRV.js +134 -0
- package/cdn/chunks/chunk.QKUGZK23.js +19 -0
- package/cdn/chunks/chunk.QO7AARYC.js +49 -0
- package/cdn/chunks/chunk.R2634BBP.js +123 -0
- package/cdn/chunks/chunk.R2QOLEAO.js +19 -0
- package/cdn/chunks/chunk.R46ULJYO.js +29 -0
- package/cdn/chunks/chunk.RJ5FJQMJ.js +359 -0
- package/cdn/chunks/chunk.RWM4STRJ.js +99 -0
- package/cdn/chunks/chunk.RYY6E6I5.js +29 -0
- package/cdn/chunks/chunk.RZZHOKXL.js +230 -0
- package/cdn/chunks/chunk.S3TT2KXB.js +19 -0
- package/cdn/chunks/chunk.S63W7HPL.js +62 -0
- package/cdn/chunks/chunk.SAA5UB7R.js +19 -0
- package/cdn/chunks/chunk.SEQFSNN4.js +33 -0
- package/cdn/chunks/chunk.SFPZ4F2U.js +19 -0
- package/cdn/chunks/chunk.SIKETPO7.js +151 -0
- package/cdn/chunks/chunk.SQHYAFR7.js +106 -0
- package/cdn/chunks/chunk.SXQD7P7K.js +19 -0
- package/cdn/chunks/chunk.SZLGHFXH.js +32 -0
- package/cdn/chunks/chunk.T4EQTEDI.js +79 -0
- package/cdn/chunks/chunk.TILZAS6I.js +29 -0
- package/cdn/chunks/chunk.TOZJSWZM.js +257 -0
- package/cdn/chunks/chunk.TPRNW63I.js +19 -0
- package/cdn/chunks/chunk.U455YRJT.js +190 -0
- package/cdn/chunks/chunk.UHGVHFE5.js +19 -0
- package/cdn/chunks/chunk.UR3D3K6M.js +19 -0
- package/cdn/chunks/chunk.URX2ZWKZ.js +29 -0
- package/cdn/chunks/chunk.UUBDATBB.js +224 -0
- package/cdn/chunks/chunk.UUVPLPDH.js +231 -0
- package/cdn/chunks/chunk.V2WY3ENM.js +86 -0
- package/cdn/chunks/chunk.V4HB4LHW.js +29 -0
- package/cdn/chunks/chunk.VBX2KUZ2.js +35 -0
- package/cdn/chunks/chunk.VCE5BG7N.js +904 -0
- package/cdn/chunks/chunk.VDZPOK2I.js +19 -0
- package/cdn/chunks/chunk.VI5QVF3V.js +104 -0
- package/cdn/chunks/chunk.VLE3E7OU.js +92 -0
- package/cdn/chunks/chunk.VLEV62AV.js +32 -0
- package/cdn/chunks/chunk.VP7HTSN3.js +34 -0
- package/cdn/chunks/chunk.VV5S6NQM.js +32 -0
- package/cdn/chunks/chunk.VYYAY7UO.js +39 -0
- package/cdn/chunks/chunk.W2U2PUDN.js +19 -0
- package/cdn/chunks/chunk.W3K2METX.js +132 -0
- package/cdn/chunks/chunk.WARBDBRT.js +32 -0
- package/cdn/chunks/chunk.WFGGEDAO.js +36 -0
- package/cdn/chunks/chunk.WIDJLVQP.js +19 -0
- package/cdn/chunks/chunk.WMSHRPLY.js +158 -0
- package/cdn/chunks/chunk.WTSRJBCY.js +19 -0
- package/cdn/chunks/chunk.WWBN32X3.js +37 -0
- package/cdn/chunks/chunk.WZS26FZO.js +34 -0
- package/cdn/chunks/chunk.X2VZXSKW.js +615 -0
- package/cdn/chunks/chunk.XBTSXAMY.js +634 -0
- package/cdn/chunks/chunk.XDHVQ5Q6.js +29 -0
- package/cdn/chunks/chunk.XGGFUM66.js +29 -0
- package/cdn/chunks/chunk.YAQ7CZNB.js +60 -0
- package/cdn/chunks/chunk.YEZI2CO4.js +19 -0
- package/cdn/chunks/chunk.YO4X3RWQ.js +662 -0
- package/cdn/chunks/chunk.YROWZNHD.js +33 -0
- package/cdn/chunks/chunk.YU2DGS7L.js +78 -0
- package/cdn/chunks/chunk.Z36A6L6K.js +41 -0
- package/cdn/chunks/chunk.Z7AS724G.js +19 -0
- package/cdn/chunks/chunk.ZDXG4NZB.js +19 -0
- package/cdn/chunks/chunk.ZEM2CRPM.js +29 -0
- package/cdn/chunks/chunk.ZTYJERMM.js +55346 -0
- package/cdn/chunks/chunk.ZVQIG4FI.js +10729 -0
- package/cdn/components/accordion/accordion.component.js +5 -5
- package/cdn/components/accordion/accordion.js +6 -6
- package/cdn/components/alert/alert.component.js +3 -3
- package/cdn/components/alert/alert.js +4 -4
- package/cdn/components/avatar/avatar.component.js +7 -7
- package/cdn/components/avatar/avatar.js +8 -8
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
- package/cdn/components/breadcrumb/breadcrumb.js +3 -3
- package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
- package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
- package/cdn/components/browse-variables/browse-variables.component.js +17 -17
- package/cdn/components/browse-variables/browse-variables.js +18 -18
- package/cdn/components/button/button.component.js +8 -8
- package/cdn/components/button/button.js +9 -9
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/caption/caption.component.js +2 -2
- package/cdn/components/caption/caption.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +8 -8
- package/cdn/components/checkbox/checkbox.js +9 -9
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +6 -6
- package/cdn/components/combobox/combobox.js +7 -7
- package/cdn/components/data-access/data-access.component.d.ts +0 -2
- package/cdn/components/data-access/data-access.component.js +34 -34
- package/cdn/components/data-access/data-access.controller.d.ts +3 -0
- package/cdn/components/data-access/data-access.controller.js +2 -2
- package/cdn/components/data-access/data-access.js +35 -35
- package/cdn/components/data-access/data-access.styles.js +1 -1
- package/cdn/components/data-grid/data-grid.component.js +5 -5
- package/cdn/components/data-grid/data-grid.js +6 -6
- package/cdn/components/data-rods/data-rods.component.d.ts +11 -8
- package/cdn/components/data-rods/data-rods.component.js +44 -44
- package/cdn/components/data-rods/data-rods.js +45 -45
- package/cdn/components/data-rods/data-rods.styles.js +1 -1
- package/cdn/components/data-subsetter/data-subsetter.component.d.ts +6 -0
- package/cdn/components/data-subsetter/data-subsetter.component.js +46 -45
- package/cdn/components/data-subsetter/data-subsetter.controller.d.ts +4 -0
- package/cdn/components/data-subsetter/data-subsetter.controller.js +2 -2
- package/cdn/components/data-subsetter/data-subsetter.js +47 -46
- package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.d.ts +3 -0
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +48 -47
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +49 -48
- package/cdn/components/data-subsetter-history/data-subsetter-history.styles.js +1 -1
- package/cdn/components/date-picker/date-picker.component.d.ts +15 -1
- package/cdn/components/date-picker/date-picker.component.js +16 -16
- package/cdn/components/date-picker/date-picker.js +17 -17
- package/cdn/components/date-picker/date-picker.styles.js +1 -1
- package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
- package/cdn/components/date-range-slider/date-range-slider.js +3 -3
- package/cdn/components/dialog/dialog.component.js +10 -10
- package/cdn/components/dialog/dialog.js +11 -11
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/earthdata-login/earthdata-login.component.d.ts +2 -2
- package/cdn/components/earthdata-login/earthdata-login.component.js +17 -17
- package/cdn/components/earthdata-login/earthdata-login.js +18 -18
- package/cdn/components/earthdata-login/earthdata-login.styles.js +1 -1
- package/cdn/components/file-upload/file-upload.component.js +2 -2
- package/cdn/components/file-upload/file-upload.js +3 -3
- package/cdn/components/icon/icon.component.js +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/input/input.component.js +8 -8
- package/cdn/components/input/input.js +9 -9
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +13 -13
- package/cdn/components/login/login.js +14 -14
- package/cdn/components/map/leaflet-utils.js +1 -1
- package/cdn/components/map/map.component.d.ts +5 -0
- package/cdn/components/map/map.component.js +7 -7
- package/cdn/components/map/map.js +8 -8
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +11 -11
- package/cdn/components/menu-item/menu-item.js +12 -12
- package/cdn/components/menu-item/submenu-controller.js +3 -3
- package/cdn/components/option/option.component.js +6 -6
- package/cdn/components/option/option.js +7 -7
- package/cdn/components/pagination/pagination.component.js +6 -6
- package/cdn/components/pagination/pagination.js +7 -7
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +4 -0
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +20 -20
- package/cdn/components/plot-toolbar/plot-toolbar.controller.js +2 -2
- package/cdn/components/plot-toolbar/plot-toolbar.js +21 -21
- package/cdn/components/plot-toolbar/plot-toolbar.styles.js +1 -1
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/radio/radio.component.js +4 -4
- package/cdn/components/radio/radio.js +5 -5
- package/cdn/components/radio-group/radio-group.component.js +2 -2
- package/cdn/components/radio-group/radio-group.js +3 -3
- package/cdn/components/scroll-hint/scroll-hint.component.js +4 -4
- package/cdn/components/scroll-hint/scroll-hint.js +5 -5
- package/cdn/components/select/select.component.js +10 -10
- package/cdn/components/select/select.js +11 -11
- package/cdn/components/site-header/site-header.component.js +5 -5
- package/cdn/components/site-header/site-header.js +5 -5
- package/cdn/components/site-navigation/site-navigation.component.js +2 -2
- package/cdn/components/site-navigation/site-navigation.js +2 -2
- package/cdn/components/skeleton/skeleton.component.js +3 -3
- package/cdn/components/skeleton/skeleton.js +4 -4
- package/cdn/components/skeleton/skeleton.styles.js +1 -1
- package/cdn/components/slider/slider.component.js +2 -2
- package/cdn/components/slider/slider.js +3 -3
- package/cdn/components/spatial-picker/spatial-picker.component.d.ts +11 -1
- package/cdn/components/spatial-picker/spatial-picker.component.js +18 -18
- package/cdn/components/spatial-picker/spatial-picker.js +19 -19
- package/cdn/components/status-indicator/status-indicator.component.js +2 -2
- package/cdn/components/status-indicator/status-indicator.js +3 -3
- package/cdn/components/stepper/stepper.component.js +2 -2
- package/cdn/components/stepper/stepper.js +3 -3
- package/cdn/components/stepper-step/stepper-step.component.js +6 -6
- package/cdn/components/stepper-step/stepper-step.js +7 -7
- package/cdn/components/tab/tab.component.js +6 -6
- package/cdn/components/tab/tab.js +7 -7
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/tabs/tabs.component.js +6 -6
- package/cdn/components/tabs/tabs.js +7 -7
- package/cdn/components/tag/tag.component.js +6 -6
- package/cdn/components/tag/tag.js +7 -7
- package/cdn/components/textarea/textarea.component.js +4 -4
- package/cdn/components/textarea/textarea.js +5 -5
- package/cdn/components/time-average-map/time-average-map.component.js +28 -28
- package/cdn/components/time-average-map/time-average-map.controller.js +2 -2
- package/cdn/components/time-average-map/time-average-map.js +29 -29
- package/cdn/components/time-series/time-series.component.d.ts +3 -0
- package/cdn/components/time-series/time-series.component.js +28 -28
- package/cdn/components/time-series/time-series.controller.js +2 -2
- package/cdn/components/time-series/time-series.js +29 -29
- package/cdn/components/toast/toast.component.js +4 -4
- package/cdn/components/toast/toast.js +5 -5
- package/cdn/components/toggle/toggle.component.js +4 -4
- package/cdn/components/toggle/toggle.js +5 -5
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/variable-combobox/lib.js +3 -3
- package/cdn/components/variable-combobox/variable-combobox.component.js +17 -17
- package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
- package/cdn/components/variable-combobox/variable-combobox.js +18 -18
- package/cdn/components/variable-combobox/variable-combobox.styles.js +1 -1
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +13 -13
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +14 -14
- package/cdn/custom-elements.json +4190 -3701
- package/cdn/events/events.d.ts +1 -0
- package/cdn/events/terra-date-selection-invalid.d.ts +8 -0
- package/cdn/metadata-catalog/types.d.ts +50 -0
- package/cdn/react/accordion/index.js +6 -6
- package/cdn/react/alert/index.js +4 -4
- package/cdn/react/avatar/index.js +8 -8
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +3 -3
- package/cdn/react/breadcrumbs/index.js +3 -3
- package/cdn/react/browse-variables/index.js +18 -18
- package/cdn/react/button/index.js +9 -9
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/caption/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/checkbox/index.js +9 -9
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +7 -7
- package/cdn/react/data-access/index.js +35 -35
- package/cdn/react/data-grid/index.js +6 -6
- package/cdn/react/data-rods/index.d.ts +1 -14
- package/cdn/react/data-rods/index.js +45 -45
- package/cdn/react/data-subsetter/index.js +47 -46
- package/cdn/react/data-subsetter-history/index.js +49 -48
- package/cdn/react/date-picker/index.js +17 -17
- package/cdn/react/date-range-slider/index.js +3 -3
- package/cdn/react/dialog/index.js +11 -11
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/earthdata-login/index.js +18 -18
- package/cdn/react/file-upload/index.js +3 -3
- package/cdn/react/icon/index.js +4 -4
- package/cdn/react/index.d.ts +13 -13
- package/cdn/react/index.js +205 -205
- package/cdn/react/input/index.js +9 -9
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +14 -14
- package/cdn/react/map/index.js +8 -8
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +12 -12
- package/cdn/react/option/index.js +7 -7
- package/cdn/react/pagination/index.js +7 -7
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/plot-toolbar/index.js +21 -21
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/radio/index.js +5 -5
- package/cdn/react/radio-group/index.js +3 -3
- package/cdn/react/scroll-hint/index.js +5 -5
- package/cdn/react/select/index.js +11 -11
- package/cdn/react/site-header/index.js +6 -6
- package/cdn/react/site-navigation/index.js +3 -3
- package/cdn/react/skeleton/index.js +4 -4
- package/cdn/react/slider/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +19 -19
- package/cdn/react/status-indicator/index.js +3 -3
- package/cdn/react/stepper/index.js +3 -3
- package/cdn/react/stepper-step/index.js +7 -7
- package/cdn/react/tab/index.js +7 -7
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tabs/index.js +7 -7
- package/cdn/react/tag/index.js +7 -7
- package/cdn/react/textarea/index.js +5 -5
- package/cdn/react/time-average-map/index.js +29 -29
- package/cdn/react/time-series/index.js +29 -29
- package/cdn/react/toast/index.js +5 -5
- package/cdn/react/toggle/index.js +5 -5
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/variable-combobox/index.js +18 -18
- package/cdn/react/variable-keyword-search/index.js +14 -14
- package/cdn/terra-ui-components.js +197 -197
- package/cdn/types/vue/index.d.ts +496 -474
- package/cdn/utilities/mimetypes.js +1 -1
- package/cdn/vscode.html-custom-data.json +453 -440
- package/cdn/web-types.json +1067 -1014
- package/dist/chunks/chunk.225CQIHF.js +21 -0
- package/dist/chunks/chunk.23NL6ZID.js +48 -0
- package/dist/chunks/chunk.27VEWOE2.js +11 -0
- package/dist/chunks/chunk.2AX4NEBF.js +21 -0
- package/dist/chunks/chunk.37WDKFQW.js +11 -0
- package/dist/chunks/chunk.3EOSRM3R.js +581 -0
- package/dist/chunks/chunk.3JD6HGNN.js +21 -0
- package/dist/chunks/chunk.3SGB3VBU.js +11 -0
- package/dist/chunks/chunk.3VRSQ22I.js +24 -0
- package/dist/chunks/chunk.3Y7NLDT6.js +11 -0
- package/dist/chunks/chunk.4QTY4LH5.js +21 -0
- package/dist/chunks/chunk.4QWSTAMH.js +67 -0
- package/dist/chunks/chunk.4UPEOG4O.js +11 -0
- package/dist/chunks/chunk.5D6LFFNK.js +262 -0
- package/dist/chunks/chunk.5JJAAFGL.js +24 -0
- package/dist/chunks/chunk.5QKQVWTG.js +21 -0
- package/dist/chunks/chunk.6HTYXK7E.js +21 -0
- package/dist/chunks/chunk.6OJFJ2RJ.js +11 -0
- package/dist/chunks/chunk.6OSDDX66.js +484 -0
- package/dist/chunks/chunk.6PIIVWL2.js +11 -0
- package/dist/chunks/chunk.6ZGFIHNP.js +24 -0
- package/dist/chunks/chunk.7B6X7DHL.js +295 -0
- package/dist/chunks/chunk.7DFDOSYG.js +11 -0
- package/dist/chunks/chunk.7MCHHBVR.js +83 -0
- package/dist/chunks/chunk.7S4MACUL.js +291 -0
- package/dist/chunks/chunk.7XDECDSY.js +11 -0
- package/dist/chunks/chunk.7XPVJG6D.js +11 -0
- package/dist/chunks/chunk.7YCTS7D5.js +78 -0
- package/dist/chunks/chunk.A3DB425J.js +67 -0
- package/dist/chunks/chunk.A4H6CEUU.js +220 -0
- package/dist/chunks/chunk.A4X2ND7D.js +214 -0
- package/dist/chunks/chunk.A6IOTSWP.js +25 -0
- package/dist/chunks/chunk.AMP7AS5J.js +27 -0
- package/dist/chunks/chunk.AROKPEWE.js +24 -0
- package/dist/chunks/chunk.ATWV37F4.js +85 -0
- package/dist/chunks/chunk.B2BDIQ77.js +21 -0
- package/dist/chunks/chunk.BOUCDQ5E.js +21 -0
- package/dist/chunks/chunk.BQS4ALCP.js +21 -0
- package/dist/chunks/chunk.BS3ZR5OV.js +143 -0
- package/dist/chunks/chunk.C5HMGVOF.js +29 -0
- package/dist/chunks/chunk.C5YX3GEP.js +28 -0
- package/dist/chunks/chunk.CHRZZULX.js +39 -0
- package/dist/chunks/chunk.CQFFIIPF.js +596 -0
- package/dist/chunks/chunk.D7FMZP4J.js +21 -0
- package/dist/chunks/chunk.DCG76X4I.js +21 -0
- package/dist/chunks/chunk.DCT4KLOR.js +11 -0
- package/dist/chunks/chunk.DFM34CDQ.js +451 -0
- package/dist/chunks/chunk.DJJU2S3Z.js +11 -0
- package/dist/chunks/chunk.DMY4UO4L.js +24 -0
- package/dist/chunks/chunk.DO6GYJM7.js +344 -0
- package/dist/chunks/chunk.DS6HRAYC.js +124 -0
- package/dist/chunks/chunk.DUY3B52C.js +11 -0
- package/dist/chunks/chunk.E4DC3QBB.js +11 -0
- package/dist/chunks/chunk.EBCKBDHV.js +623 -0
- package/dist/chunks/chunk.EEIJGEXU.js +29 -0
- package/dist/chunks/chunk.EYBVDF3P.js +11 -0
- package/dist/chunks/chunk.F62QBG2N.js +89 -0
- package/dist/chunks/chunk.FIQTM6W5.js +11 -0
- package/dist/chunks/chunk.FLDXLDUB.js +24 -0
- package/dist/chunks/chunk.FVDYJYPJ.js +123 -0
- package/dist/chunks/chunk.G3AA4DMA.js +11 -0
- package/dist/chunks/chunk.G63ROAAR.js +101 -0
- package/dist/chunks/chunk.GANIXVIN.js +305 -0
- package/dist/chunks/chunk.GSOMC544.js +21 -0
- package/dist/chunks/chunk.GWGCNFAS.js +27 -0
- package/dist/chunks/chunk.HADTJTYW.js +11 -0
- package/dist/chunks/chunk.HCC3SGE2.js +219 -0
- package/dist/chunks/chunk.HJGREKWD.js +28 -0
- package/dist/chunks/chunk.HNDLZGSW.js +112 -0
- package/dist/chunks/chunk.I3PYZE5P.js +26 -0
- package/dist/chunks/chunk.I5O3RKW5.js +11 -0
- package/dist/chunks/chunk.I7CJTIHU.js +443 -0
- package/dist/chunks/chunk.IFFBYJCV.js +28 -0
- package/dist/chunks/chunk.IHX6TM6F.js +11 -0
- package/dist/chunks/chunk.ITJ2HR5O.js +27 -0
- package/dist/chunks/chunk.IZOYRHVA.js +25 -0
- package/dist/chunks/chunk.J26ZTP7Z.js +75 -0
- package/dist/chunks/chunk.J54LUHUQ.js +477 -0
- package/dist/chunks/chunk.J5VZGFO2.js +719 -0
- package/dist/chunks/chunk.JB5255IQ.js +298 -0
- package/dist/chunks/chunk.JCI4Y5TT.js +21 -0
- package/dist/chunks/chunk.JERQ33CW.js +11 -0
- package/dist/chunks/chunk.JJHC3B4G.js +11 -0
- package/dist/chunks/chunk.JJLLFOGY.js +21 -0
- package/dist/chunks/chunk.JQBOFTWP.js +180 -0
- package/dist/chunks/chunk.JYZMVEQL.js +11 -0
- package/dist/chunks/chunk.JZMZCNGJ.js +11 -0
- package/dist/chunks/chunk.JZNVXLYF.js +48 -0
- package/dist/chunks/chunk.K5WQM4UU.js +24 -0
- package/dist/chunks/chunk.KHPNEX2A.js +266 -0
- package/dist/chunks/chunk.KMPHHRML.js +11 -0
- package/dist/chunks/chunk.KTUM2QQ2.js +21 -0
- package/dist/chunks/chunk.L3A2H33W.js +11 -0
- package/dist/chunks/chunk.LA3YEVTQ.js +20 -0
- package/dist/chunks/chunk.LAJJMOC2.js +220 -0
- package/dist/chunks/chunk.LBHFPLA3.js +230 -0
- package/dist/chunks/chunk.LFKJOXXB.js +97 -0
- package/dist/chunks/chunk.LHGDBIYN.js +11 -0
- package/dist/chunks/chunk.LQLCGKT2.js +21 -0
- package/dist/chunks/chunk.LTD7CX77.js +11 -0
- package/dist/chunks/chunk.LUHQTATL.js +33 -0
- package/dist/chunks/chunk.LWL4QCJZ.js +609 -0
- package/dist/chunks/chunk.LZ6OPFCV.js +11 -0
- package/dist/chunks/chunk.M5VZW6Q6.js +11 -0
- package/dist/chunks/chunk.M73RLYTA.js +11 -0
- package/dist/chunks/chunk.M7DVNPNX.js +24 -0
- package/dist/chunks/chunk.MXRBLHPO.js +64 -0
- package/dist/chunks/chunk.N34ILCS2.js +21 -0
- package/dist/chunks/chunk.N3KIJL5I.js +25 -0
- package/dist/chunks/chunk.N6FTCZ7Z.js +21 -0
- package/dist/chunks/chunk.N6KQLZFC.js +24 -0
- package/dist/chunks/chunk.N7Q2NIOP.js +24 -0
- package/dist/chunks/chunk.NOSBGPKU.js +91 -0
- package/dist/chunks/chunk.NOYQMNOB.js +11 -0
- package/dist/chunks/chunk.NQV2TYTH.js +11 -0
- package/dist/chunks/chunk.NS2UMYPL.js +11 -0
- package/dist/chunks/chunk.NW6IXCII.js +11 -0
- package/dist/chunks/chunk.NXTMFC6N.js +422 -0
- package/dist/chunks/chunk.OAPVISGG.js +11 -0
- package/dist/chunks/chunk.OAWTV6OW.js +135 -0
- package/dist/chunks/chunk.OB56RTW3.js +213 -0
- package/dist/chunks/chunk.ODJODHOK.js +21 -0
- package/dist/chunks/chunk.OGHO5VTJ.js +11 -0
- package/dist/chunks/chunk.OMFW6SVM.js +11 -0
- package/dist/chunks/chunk.OTVNHZYR.js +11 -0
- package/dist/chunks/chunk.OVYIY632.js +11 -0
- package/dist/chunks/chunk.OWB7Q5BJ.js +474 -0
- package/dist/chunks/chunk.OXZDHEKP.js +24 -0
- package/dist/chunks/chunk.PT65UMX3.js +1870 -0
- package/dist/chunks/chunk.PXCHGP5J.js +733 -0
- package/dist/chunks/chunk.Q5AVCA2Z.js +11 -0
- package/dist/chunks/chunk.QGDX4EOW.js +145 -0
- package/dist/chunks/chunk.QH4PQQMY.js +57 -0
- package/dist/chunks/chunk.QHPQUJPP.js +11 -0
- package/dist/chunks/chunk.QHXKV3FL.js +153 -0
- package/dist/chunks/chunk.QI54DZLW.js +277 -0
- package/dist/chunks/chunk.QSZTBBNL.js +25 -0
- package/dist/chunks/chunk.QT46RXAO.js +11 -0
- package/dist/chunks/chunk.QV53WIRP.js +24 -0
- package/dist/chunks/chunk.QXGAOOH7.js +206 -0
- package/dist/chunks/chunk.QY2Y5V5F.js +11 -0
- package/dist/chunks/chunk.QZ5E4JEE.js +21 -0
- package/dist/chunks/chunk.R425EOH5.js +252 -0
- package/dist/chunks/chunk.R4WPJKDT.js +985 -0
- package/dist/chunks/chunk.RGPUC66W.js +24 -0
- package/dist/chunks/chunk.RPBO7HIU.js +11 -0
- package/dist/chunks/chunk.RPYDJZWV.js +121 -0
- package/dist/chunks/chunk.RYHV6SLD.js +11 -0
- package/dist/chunks/chunk.RYLQFCPI.js +11 -0
- package/dist/chunks/chunk.S56BRI76.js +240 -0
- package/dist/chunks/chunk.SHFVA64T.js +11 -0
- package/dist/chunks/chunk.SKDPK5ZB.js +11 -0
- package/dist/chunks/chunk.SSH2CHYX.js +591 -0
- package/dist/chunks/chunk.STENSWSM.js +21 -0
- package/dist/chunks/chunk.SWV36K5V.js +11 -0
- package/dist/chunks/chunk.T26ST6IU.js +244 -0
- package/dist/chunks/chunk.T2JN2DN4.js +52 -0
- package/dist/chunks/chunk.T35OF52O.js +21 -0
- package/dist/chunks/chunk.T6GGLB67.js +245 -0
- package/dist/chunks/chunk.TP5UEBJX.js +28 -0
- package/dist/chunks/chunk.U3KWKUPN.js +355 -0
- package/dist/chunks/chunk.U4GUGRXA.js +11 -0
- package/dist/chunks/chunk.U7DAHBKR.js +247 -0
- package/dist/chunks/chunk.UAXAHNDQ.js +280 -0
- package/dist/chunks/chunk.UDGDZENG.js +61 -0
- package/dist/chunks/chunk.ULO6HTVQ.js +11 -0
- package/dist/chunks/chunk.UYHH5MCG.js +27 -0
- package/dist/chunks/chunk.V4XZHDFY.js +21 -0
- package/dist/chunks/chunk.V5CA5XVT.js +21 -0
- package/dist/chunks/chunk.V5LCG7NP.js +525 -0
- package/dist/chunks/chunk.VFSU5TRX.js +264 -0
- package/dist/chunks/chunk.VLKBBBZO.js +11 -0
- package/dist/chunks/chunk.VP5UYVR6.js +21 -0
- package/dist/chunks/chunk.VREO7CLL.js +86 -0
- package/dist/chunks/chunk.VT7G4GF5.js +11 -0
- package/dist/chunks/chunk.VVEOPQ32.js +21 -0
- package/dist/chunks/chunk.VWLAMQ7D.js +11 -0
- package/dist/chunks/chunk.VX3NQJ2J.js +21 -0
- package/dist/chunks/chunk.WGV3I4B6.js +11 -0
- package/dist/chunks/chunk.WI5LX747.js +52 -0
- package/dist/chunks/chunk.WPTDAZ2I.js +31 -0
- package/dist/chunks/chunk.WTUZLKBY.js +43 -0
- package/dist/chunks/chunk.WYHVVKRO.js +345 -0
- package/dist/chunks/chunk.WZQ3VXRE.js +11 -0
- package/dist/chunks/chunk.X3XBLLUJ.js +278 -0
- package/dist/chunks/chunk.XBY4A2BL.js +24 -0
- package/dist/chunks/chunk.XF6ACISK.js +11 -0
- package/dist/chunks/chunk.XGLZQCBK.js +11 -0
- package/dist/chunks/chunk.XJJM7P2M.js +25 -0
- package/dist/chunks/chunk.XJRDI2TX.js +224 -0
- package/dist/chunks/chunk.XMCG3LCH.js +21 -0
- package/dist/chunks/chunk.XR75EBXL.js +24 -0
- package/dist/chunks/chunk.Y2PGR3AT.js +960 -0
- package/dist/chunks/chunk.Y6NEYAKK.js +1122 -0
- package/dist/chunks/chunk.YBN6JNDD.js +21 -0
- package/dist/chunks/chunk.YCHLOAWZ.js +180 -0
- package/dist/chunks/chunk.YDNUKCIR.js +180 -0
- package/dist/chunks/chunk.YET5FM7I.js +93 -0
- package/dist/chunks/chunk.YI254PCT.js +11 -0
- package/dist/chunks/chunk.Z3VMD3EF.js +21 -0
- package/dist/chunks/chunk.Z6VJGGMO.js +2170 -0
- package/dist/chunks/chunk.ZD3VDD6H.js +74 -0
- package/dist/chunks/chunk.ZFL7YIXD.js +345 -0
- package/dist/chunks/chunk.ZJGSVAVB.js +11 -0
- package/dist/chunks/chunk.ZKCEIYA3.js +43 -0
- package/dist/chunks/chunk.ZKWJI53L.js +844 -0
- package/dist/chunks/chunk.ZMM7GYSP.js +26 -0
- package/dist/chunks/chunk.ZRENH7JC.js +409 -0
- package/dist/components/accordion/accordion.component.js +5 -5
- package/dist/components/accordion/accordion.js +6 -6
- package/dist/components/alert/alert.component.js +3 -3
- package/dist/components/alert/alert.js +4 -4
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +3 -3
- package/dist/components/breadcrumbs/breadcrumbs.component.js +2 -2
- package/dist/components/breadcrumbs/breadcrumbs.js +3 -3
- package/dist/components/browse-variables/browse-variables.component.js +13 -13
- package/dist/components/browse-variables/browse-variables.js +14 -14
- package/dist/components/button/button.component.js +5 -5
- package/dist/components/button/button.js +6 -6
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/caption/caption.component.js +2 -2
- package/dist/components/caption/caption.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +2 -2
- package/dist/components/combobox/combobox.js +3 -3
- package/dist/components/data-access/data-access.component.d.ts +0 -2
- package/dist/components/data-access/data-access.component.js +27 -27
- package/dist/components/data-access/data-access.controller.d.ts +3 -0
- package/dist/components/data-access/data-access.controller.js +2 -2
- package/dist/components/data-access/data-access.js +28 -28
- package/dist/components/data-access/data-access.styles.js +1 -1
- package/dist/components/data-grid/data-grid.component.js +3 -3
- package/dist/components/data-grid/data-grid.js +4 -4
- package/dist/components/data-rods/data-rods.component.d.ts +11 -8
- package/dist/components/data-rods/data-rods.component.js +35 -35
- package/dist/components/data-rods/data-rods.js +36 -36
- package/dist/components/data-rods/data-rods.styles.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.component.d.ts +6 -0
- package/dist/components/data-subsetter/data-subsetter.component.js +39 -38
- package/dist/components/data-subsetter/data-subsetter.controller.d.ts +4 -0
- package/dist/components/data-subsetter/data-subsetter.controller.js +2 -2
- package/dist/components/data-subsetter/data-subsetter.js +40 -39
- package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.component.d.ts +3 -0
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +41 -40
- package/dist/components/data-subsetter-history/data-subsetter-history.js +42 -41
- package/dist/components/data-subsetter-history/data-subsetter-history.styles.js +1 -1
- package/dist/components/date-picker/date-picker.component.d.ts +15 -1
- package/dist/components/date-picker/date-picker.component.js +11 -11
- package/dist/components/date-picker/date-picker.js +12 -12
- package/dist/components/date-picker/date-picker.styles.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
- package/dist/components/date-range-slider/date-range-slider.js +3 -3
- package/dist/components/dialog/dialog.component.js +7 -7
- package/dist/components/dialog/dialog.js +8 -8
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/earthdata-login/earthdata-login.component.d.ts +2 -2
- package/dist/components/earthdata-login/earthdata-login.component.js +13 -13
- package/dist/components/earthdata-login/earthdata-login.js +14 -14
- package/dist/components/earthdata-login/earthdata-login.styles.js +1 -1
- package/dist/components/file-upload/file-upload.component.js +2 -2
- package/dist/components/file-upload/file-upload.js +3 -3
- package/dist/components/icon/icon.component.js +3 -3
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/input/input.component.js +5 -5
- package/dist/components/input/input.js +6 -6
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/login/login.component.js +10 -10
- package/dist/components/login/login.js +11 -11
- package/dist/components/map/leaflet-utils.js +1 -1
- package/dist/components/map/map.component.d.ts +5 -0
- package/dist/components/map/map.component.js +5 -5
- package/dist/components/map/map.js +6 -6
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- package/dist/components/option/option.component.js +4 -4
- package/dist/components/option/option.js +5 -5
- package/dist/components/pagination/pagination.component.js +4 -4
- package/dist/components/pagination/pagination.js +5 -5
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +4 -0
- package/dist/components/plot-toolbar/plot-toolbar.component.js +16 -16
- package/dist/components/plot-toolbar/plot-toolbar.controller.js +2 -2
- package/dist/components/plot-toolbar/plot-toolbar.js +17 -17
- package/dist/components/plot-toolbar/plot-toolbar.styles.js +1 -1
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/radio/radio.component.js +2 -2
- package/dist/components/radio/radio.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +2 -2
- package/dist/components/radio-group/radio-group.js +3 -3
- package/dist/components/scroll-hint/scroll-hint.component.js +4 -4
- package/dist/components/scroll-hint/scroll-hint.js +5 -5
- package/dist/components/select/select.component.js +8 -8
- package/dist/components/select/select.js +9 -9
- package/dist/components/site-header/site-header.component.js +5 -5
- package/dist/components/site-header/site-header.js +5 -5
- package/dist/components/site-navigation/site-navigation.component.js +2 -2
- package/dist/components/site-navigation/site-navigation.js +2 -2
- package/dist/components/skeleton/skeleton.component.js +3 -3
- package/dist/components/skeleton/skeleton.js +4 -4
- package/dist/components/skeleton/skeleton.styles.js +1 -1
- package/dist/components/slider/slider.component.js +2 -2
- package/dist/components/slider/slider.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.component.d.ts +11 -1
- package/dist/components/spatial-picker/spatial-picker.component.js +13 -13
- package/dist/components/spatial-picker/spatial-picker.js +14 -14
- package/dist/components/status-indicator/status-indicator.component.js +2 -2
- package/dist/components/status-indicator/status-indicator.js +3 -3
- package/dist/components/stepper/stepper.component.js +2 -2
- package/dist/components/stepper/stepper.js +3 -3
- package/dist/components/stepper-step/stepper-step.component.js +4 -4
- package/dist/components/stepper-step/stepper-step.js +5 -5
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/tabs/tabs.component.js +4 -4
- package/dist/components/tabs/tabs.js +5 -5
- package/dist/components/tag/tag.component.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-average-map/time-average-map.component.js +24 -24
- package/dist/components/time-average-map/time-average-map.controller.js +2 -2
- package/dist/components/time-average-map/time-average-map.js +25 -25
- package/dist/components/time-series/time-series.component.d.ts +3 -0
- package/dist/components/time-series/time-series.component.js +24 -24
- package/dist/components/time-series/time-series.controller.js +2 -2
- package/dist/components/time-series/time-series.js +25 -25
- package/dist/components/toast/toast.component.js +4 -4
- package/dist/components/toast/toast.js +5 -5
- package/dist/components/toggle/toggle.component.js +2 -2
- package/dist/components/toggle/toggle.js +3 -3
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/variable-combobox/variable-combobox.component.js +9 -9
- package/dist/components/variable-combobox/variable-combobox.js +10 -10
- package/dist/components/variable-combobox/variable-combobox.styles.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +9 -9
- package/dist/components/variable-keyword-search/variable-keyword-search.js +10 -10
- package/dist/custom-elements.json +4190 -3701
- package/dist/events/events.d.ts +1 -0
- package/dist/events/terra-date-selection-invalid.d.ts +8 -0
- package/dist/metadata-catalog/types.d.ts +50 -0
- package/dist/react/accordion/index.js +6 -6
- package/dist/react/alert/index.js +4 -4
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +3 -3
- package/dist/react/breadcrumbs/index.js +3 -3
- package/dist/react/browse-variables/index.js +14 -14
- package/dist/react/button/index.js +6 -6
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/caption/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +3 -3
- package/dist/react/data-access/index.js +28 -28
- package/dist/react/data-grid/index.js +4 -4
- package/dist/react/data-rods/index.d.ts +1 -14
- package/dist/react/data-rods/index.js +36 -36
- package/dist/react/data-subsetter/index.js +40 -39
- package/dist/react/data-subsetter-history/index.js +42 -41
- package/dist/react/date-picker/index.js +12 -12
- package/dist/react/date-range-slider/index.js +3 -3
- package/dist/react/dialog/index.js +8 -8
- package/dist/react/divider/index.js +3 -3
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/earthdata-login/index.js +14 -14
- package/dist/react/file-upload/index.js +3 -3
- package/dist/react/icon/index.js +4 -4
- package/dist/react/index.d.ts +13 -13
- package/dist/react/index.js +195 -195
- package/dist/react/input/index.js +6 -6
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +11 -11
- package/dist/react/map/index.js +6 -6
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +8 -8
- package/dist/react/option/index.js +5 -5
- package/dist/react/pagination/index.js +5 -5
- package/dist/react/plot/index.js +3 -3
- package/dist/react/plot-toolbar/index.js +17 -17
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/radio/index.js +3 -3
- package/dist/react/radio-group/index.js +3 -3
- package/dist/react/scroll-hint/index.js +5 -5
- package/dist/react/select/index.js +9 -9
- package/dist/react/site-header/index.js +6 -6
- package/dist/react/site-navigation/index.js +3 -3
- package/dist/react/skeleton/index.js +4 -4
- package/dist/react/slider/index.js +3 -3
- package/dist/react/spatial-picker/index.js +14 -14
- package/dist/react/status-indicator/index.js +3 -3
- package/dist/react/stepper/index.js +3 -3
- package/dist/react/stepper-step/index.js +5 -5
- package/dist/react/tab/index.js +5 -5
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/tabs/index.js +5 -5
- package/dist/react/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/time-average-map/index.js +25 -25
- package/dist/react/time-series/index.js +25 -25
- package/dist/react/toast/index.js +5 -5
- package/dist/react/toggle/index.js +3 -3
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/variable-combobox/index.js +10 -10
- package/dist/react/variable-keyword-search/index.js +10 -10
- package/dist/terra-ui-components.js +187 -187
- package/dist/terra_ui_components-0.0.148-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.148.tar.gz +0 -0
- package/dist/types/vue/index.d.ts +496 -474
- package/dist/utilities/mimetypes.js +1 -1
- package/dist/vscode.html-custom-data.json +453 -440
- package/dist/web-types.json +1067 -1014
- package/package.json +1 -2
- package/cdn/chunks/chunk.26TEQ6WM.js +0 -158
- package/cdn/chunks/chunk.2FIXNDLC.js +0 -251
- package/cdn/chunks/chunk.2RPLIZVS.js +0 -67
- package/cdn/chunks/chunk.333RLFSA.js +0 -19
- package/cdn/chunks/chunk.34UNC3GQ.js +0 -19
- package/cdn/chunks/chunk.35A3RZ36.js +0 -19
- package/cdn/chunks/chunk.3BB6KOTU.js +0 -29
- package/cdn/chunks/chunk.3CBNAYQU.js +0 -74
- package/cdn/chunks/chunk.3CDNVAN6.js +0 -19
- package/cdn/chunks/chunk.3IZL7JFG.js +0 -19
- package/cdn/chunks/chunk.3NJN4KC3.js +0 -19
- package/cdn/chunks/chunk.3QAIAFO3.js +0 -2073
- package/cdn/chunks/chunk.3QXUJ74V.js +0 -33860
- package/cdn/chunks/chunk.45XFWGEL.js +0 -110
- package/cdn/chunks/chunk.46IUPYDY.js +0 -34
- package/cdn/chunks/chunk.4AESZBPS.js +0 -19
- package/cdn/chunks/chunk.4DSXPYCX.js +0 -240
- package/cdn/chunks/chunk.4HVT3AYY.js +0 -224
- package/cdn/chunks/chunk.4LQT63JV.js +0 -472
- package/cdn/chunks/chunk.4R66EEIQ.js +0 -491
- package/cdn/chunks/chunk.4S36TQZA.js +0 -32
- package/cdn/chunks/chunk.4UFYI2TK.js +0 -10718
- package/cdn/chunks/chunk.4VZUFBAT.js +0 -29
- package/cdn/chunks/chunk.5QKUGTZK.js +0 -19
- package/cdn/chunks/chunk.63OPLSTP.js +0 -132
- package/cdn/chunks/chunk.6DCM5OAX.js +0 -165
- package/cdn/chunks/chunk.6EUASDEF.js +0 -32
- package/cdn/chunks/chunk.6PDKWTOW.js +0 -279
- package/cdn/chunks/chunk.6USIKX2F.js +0 -56
- package/cdn/chunks/chunk.6ZKLPYZO.js +0 -225
- package/cdn/chunks/chunk.74MTSB4V.js +0 -189
- package/cdn/chunks/chunk.7KILO3Q2.js +0 -19
- package/cdn/chunks/chunk.7KK6F7D6.js +0 -19
- package/cdn/chunks/chunk.7M2J6PQV.js +0 -19
- package/cdn/chunks/chunk.7RCNCS4U.js +0 -198
- package/cdn/chunks/chunk.AH6W6EGS.js +0 -77
- package/cdn/chunks/chunk.AOMJDSJK.js +0 -19
- package/cdn/chunks/chunk.BELI5KYA.js +0 -37
- package/cdn/chunks/chunk.BFFHLV3I.js +0 -254
- package/cdn/chunks/chunk.BHGXXCYB.js +0 -357
- package/cdn/chunks/chunk.BKLEC3CU.js +0 -29
- package/cdn/chunks/chunk.C5KDVAED.js +0 -19
- package/cdn/chunks/chunk.C5XMJ6GC.js +0 -309
- package/cdn/chunks/chunk.C7HGTDOW.js +0 -29
- package/cdn/chunks/chunk.CG5GXLMN.js +0 -660
- package/cdn/chunks/chunk.COAFHV5O.js +0 -34
- package/cdn/chunks/chunk.CRIQ2HH3.js +0 -104
- package/cdn/chunks/chunk.CT74TCIR.js +0 -29
- package/cdn/chunks/chunk.CUQNHQ4C.js +0 -19
- package/cdn/chunks/chunk.CZF4J7JK.js +0 -151
- package/cdn/chunks/chunk.D75BRFV5.js +0 -231
- package/cdn/chunks/chunk.DANCFYIG.js +0 -29
- package/cdn/chunks/chunk.DEQWGUZ4.js +0 -32
- package/cdn/chunks/chunk.DNCSD3KI.js +0 -35
- package/cdn/chunks/chunk.DO4YHYLM.js +0 -226
- package/cdn/chunks/chunk.DRBMRRWZ.js +0 -372
- package/cdn/chunks/chunk.DSFRJYYP.js +0 -943
- package/cdn/chunks/chunk.DSYXR3BP.js +0 -299
- package/cdn/chunks/chunk.DWH7UJHQ.js +0 -33
- package/cdn/chunks/chunk.DWJN2RMV.js +0 -93
- package/cdn/chunks/chunk.EOPCPKE6.js +0 -19
- package/cdn/chunks/chunk.EQVTAI4H.js +0 -234
- package/cdn/chunks/chunk.F4RKWV6A.js +0 -33
- package/cdn/chunks/chunk.F73O5LKK.js +0 -134
- package/cdn/chunks/chunk.FAUYMYXO.js +0 -32
- package/cdn/chunks/chunk.FOACIGWR.js +0 -435
- package/cdn/chunks/chunk.FSSA437M.js +0 -19
- package/cdn/chunks/chunk.FT5GOSIZ.js +0 -48
- package/cdn/chunks/chunk.FTC6M36W.js +0 -32
- package/cdn/chunks/chunk.GDJPXXU2.js +0 -286
- package/cdn/chunks/chunk.GGXENRVM.js +0 -189
- package/cdn/chunks/chunk.GH3N6WLV.js +0 -19
- package/cdn/chunks/chunk.GS3E3TDU.js +0 -19
- package/cdn/chunks/chunk.GSJP6LKE.js +0 -78
- package/cdn/chunks/chunk.GY5STF6S.js +0 -32
- package/cdn/chunks/chunk.H33J7DDG.js +0 -30
- package/cdn/chunks/chunk.HL6HZSXT.js +0 -29
- package/cdn/chunks/chunk.HNPM3U57.js +0 -599
- package/cdn/chunks/chunk.HTQMUUU5.js +0 -92
- package/cdn/chunks/chunk.I3FHCOWV.js +0 -524
- package/cdn/chunks/chunk.I4SYW63O.js +0 -19
- package/cdn/chunks/chunk.I5GRYJHJ.js +0 -55346
- package/cdn/chunks/chunk.I7TO5DYG.js +0 -259
- package/cdn/chunks/chunk.IENWNMGK.js +0 -29
- package/cdn/chunks/chunk.II54QLOE.js +0 -134
- package/cdn/chunks/chunk.IIRL2FNO.js +0 -19
- package/cdn/chunks/chunk.IO62OT3T.js +0 -29
- package/cdn/chunks/chunk.IV3AD6YR.js +0 -477
- package/cdn/chunks/chunk.J2K53JZV.js +0 -34
- package/cdn/chunks/chunk.J32BQ36H.js +0 -19
- package/cdn/chunks/chunk.J43MPEAH.js +0 -32
- package/cdn/chunks/chunk.JA7WHI2E.js +0 -19
- package/cdn/chunks/chunk.JAXOIJPB.js +0 -36
- package/cdn/chunks/chunk.JGWY7JB7.js +0 -276
- package/cdn/chunks/chunk.JHEBRXRN.js +0 -99
- package/cdn/chunks/chunk.JLAMV75H.js +0 -19
- package/cdn/chunks/chunk.JNHT5IDD.js +0 -19
- package/cdn/chunks/chunk.JRQDMBDQ.js +0 -29
- package/cdn/chunks/chunk.JS5NFG3L.js +0 -615
- package/cdn/chunks/chunk.JW5SC6TB.js +0 -662
- package/cdn/chunks/chunk.JYDAF3OI.js +0 -99
- package/cdn/chunks/chunk.K2RPZYGD.js +0 -19
- package/cdn/chunks/chunk.K6SKQZRX.js +0 -157
- package/cdn/chunks/chunk.K7DWE6A2.js +0 -19
- package/cdn/chunks/chunk.KFWE3PI3.js +0 -29
- package/cdn/chunks/chunk.KG2ZEBJA.js +0 -19
- package/cdn/chunks/chunk.KP5INWSH.js +0 -29
- package/cdn/chunks/chunk.KRE6VDHG.js +0 -19
- package/cdn/chunks/chunk.KUMBN4KZ.js +0 -621
- package/cdn/chunks/chunk.KYET5TXI.js +0 -49
- package/cdn/chunks/chunk.LEBRE2AX.js +0 -630
- package/cdn/chunks/chunk.LF3HCT3R.js +0 -19
- package/cdn/chunks/chunk.LMWA3TR5.js +0 -19
- package/cdn/chunks/chunk.LQK4V62C.js +0 -29
- package/cdn/chunks/chunk.M56CSDHS.js +0 -1966
- package/cdn/chunks/chunk.MG44BWAJ.js +0 -29
- package/cdn/chunks/chunk.MMP54S4L.js +0 -264
- package/cdn/chunks/chunk.MN2PZAG7.js +0 -19
- package/cdn/chunks/chunk.MRU3TO7V.js +0 -278
- package/cdn/chunks/chunk.N5OIKLPM.js +0 -1811
- package/cdn/chunks/chunk.NL7O5H6G.js +0 -29
- package/cdn/chunks/chunk.NQBSBVGX.js +0 -29
- package/cdn/chunks/chunk.NU3XX242.js +0 -93
- package/cdn/chunks/chunk.O76ZUUDB.js +0 -19
- package/cdn/chunks/chunk.OWWVZKC6.js +0 -62
- package/cdn/chunks/chunk.OXAD7TJE.js +0 -19
- package/cdn/chunks/chunk.OXFWDFQH.js +0 -36
- package/cdn/chunks/chunk.P23GHIII.js +0 -29
- package/cdn/chunks/chunk.P4QOVWCD.js +0 -538
- package/cdn/chunks/chunk.P7YIMODT.js +0 -83
- package/cdn/chunks/chunk.PD6PXDRN.js +0 -359
- package/cdn/chunks/chunk.PMHWZDH2.js +0 -19
- package/cdn/chunks/chunk.PNBW3TZS.js +0 -19
- package/cdn/chunks/chunk.PSNRE2C3.js +0 -83
- package/cdn/chunks/chunk.PSOU4Y7G.js +0 -284
- package/cdn/chunks/chunk.Q2SEY4AZ.js +0 -33
- package/cdn/chunks/chunk.Q6XHOSCO.js +0 -19
- package/cdn/chunks/chunk.Q6ZGHQRK.js +0 -19
- package/cdn/chunks/chunk.QDHDD2N5.js +0 -123
- package/cdn/chunks/chunk.QJG3KXAL.js +0 -754
- package/cdn/chunks/chunk.QWQNSHBX.js +0 -35
- package/cdn/chunks/chunk.RQAS5OPB.js +0 -39
- package/cdn/chunks/chunk.RTUVIFIB.js +0 -29
- package/cdn/chunks/chunk.S4AGLUO5.js +0 -460
- package/cdn/chunks/chunk.SB7UPBIM.js +0 -32
- package/cdn/chunks/chunk.SHGCC64O.js +0 -60
- package/cdn/chunks/chunk.SHJEJNKL.js +0 -29
- package/cdn/chunks/chunk.SLV2OR4Q.js +0 -19
- package/cdn/chunks/chunk.SP6FG3TT.js +0 -32
- package/cdn/chunks/chunk.SQC7WP2K.js +0 -19
- package/cdn/chunks/chunk.SR66RTLP.js +0 -29
- package/cdn/chunks/chunk.SSLZPL2W.js +0 -19
- package/cdn/chunks/chunk.SXYURTO3.js +0 -19
- package/cdn/chunks/chunk.SZ7QDR65.js +0 -19
- package/cdn/chunks/chunk.TGDEPCW7.js +0 -136
- package/cdn/chunks/chunk.THNF6IDH.js +0 -19
- package/cdn/chunks/chunk.TI2AV2RR.js +0 -19
- package/cdn/chunks/chunk.TR63NOZP.js +0 -230
- package/cdn/chunks/chunk.TSLZA2FP.js +0 -79
- package/cdn/chunks/chunk.TTWXM2ZR.js +0 -35
- package/cdn/chunks/chunk.TVMLBXLQ.js +0 -32
- package/cdn/chunks/chunk.UAWQVKAK.js +0 -19
- package/cdn/chunks/chunk.UGU3XYQD.js +0 -302
- package/cdn/chunks/chunk.UMFK5I56.js +0 -19
- package/cdn/chunks/chunk.UO5UHJ26.js +0 -29
- package/cdn/chunks/chunk.UVKZZ2T6.js +0 -113
- package/cdn/chunks/chunk.UZASZOT4.js +0 -19
- package/cdn/chunks/chunk.V6NXXMUV.js +0 -19
- package/cdn/chunks/chunk.VAJM46IT.js +0 -86
- package/cdn/chunks/chunk.VAKXJJMW.js +0 -32
- package/cdn/chunks/chunk.VEXXISSG.js +0 -170
- package/cdn/chunks/chunk.VIH63JZW.js +0 -904
- package/cdn/chunks/chunk.VTOLWHAC.js +0 -155
- package/cdn/chunks/chunk.VXFQ6YXS.js +0 -36
- package/cdn/chunks/chunk.VZLD5ALF.js +0 -33
- package/cdn/chunks/chunk.W3MAHBWR.js +0 -19
- package/cdn/chunks/chunk.W4AT2KM4.js +0 -229
- package/cdn/chunks/chunk.W6TQ7PLD.js +0 -47
- package/cdn/chunks/chunk.WDYBJ6MP.js +0 -19
- package/cdn/chunks/chunk.WDYKT6BB.js +0 -106
- package/cdn/chunks/chunk.WE4Y4OKP.js +0 -19
- package/cdn/chunks/chunk.WJ6D57KB.js +0 -60
- package/cdn/chunks/chunk.WRKHVFU4.js +0 -610
- package/cdn/chunks/chunk.WSHPXHE4.js +0 -33
- package/cdn/chunks/chunk.X5IFMJ7Z.js +0 -35
- package/cdn/chunks/chunk.X756CPUC.js +0 -71
- package/cdn/chunks/chunk.XAYWMZ7I.js +0 -32
- package/cdn/chunks/chunk.XCA3QQDP.js +0 -36
- package/cdn/chunks/chunk.XKUBPV5Q.js +0 -29
- package/cdn/chunks/chunk.XLKYVRUZ.js +0 -29
- package/cdn/chunks/chunk.XPIDY722.js +0 -29
- package/cdn/chunks/chunk.XRDXKLB2.js +0 -19
- package/cdn/chunks/chunk.XUWZKWEZ.js +0 -190
- package/cdn/chunks/chunk.XYCI56NE.js +0 -89
- package/cdn/chunks/chunk.XYPD5HVK.js +0 -32
- package/cdn/chunks/chunk.Y5UU3CTS.js +0 -41
- package/cdn/chunks/chunk.Y73EGWS7.js +0 -32
- package/cdn/chunks/chunk.YEUJ4FIZ.js +0 -19
- package/cdn/chunks/chunk.YJGQGHEJ.js +0 -19
- package/cdn/chunks/chunk.YOLSEJL6.js +0 -29
- package/cdn/chunks/chunk.YOTUTBEH.js +0 -29
- package/cdn/chunks/chunk.YQIUUJXV.js +0 -29
- package/cdn/chunks/chunk.YQTU2DAJ.js +0 -29
- package/cdn/chunks/chunk.YSAISDDW.js +0 -29
- package/cdn/chunks/chunk.YSEKNG3U.js +0 -19
- package/cdn/chunks/chunk.YUGCZ7I7.js +0 -954
- package/cdn/chunks/chunk.YXZOHD7K.js +0 -19
- package/cdn/chunks/chunk.Z3SKKVNE.js +0 -188
- package/cdn/chunks/chunk.ZEZ3WIPO.js +0 -32
- package/cdn/chunks/chunk.ZFSZC5Z2.js +0 -37
- package/cdn/chunks/chunk.ZJXUTHZT.js +0 -19
- package/cdn/chunks/chunk.ZN5XZBHT.js +0 -19
- package/cdn/chunks/chunk.ZPKTMYTG.js +0 -19
- package/cdn/chunks/chunk.ZQVQ6FSW.js +0 -19
- package/cdn/chunks/chunk.ZTXK4OVT.js +0 -19
- package/dist/chunks/chunk.272C2YWD.js +0 -26
- package/dist/chunks/chunk.2CYXSEIN.js +0 -252
- package/dist/chunks/chunk.2DG3Q7IC.js +0 -21
- package/dist/chunks/chunk.2H7Y4QZW.js +0 -591
- package/dist/chunks/chunk.2HUN6GJ3.js +0 -25
- package/dist/chunks/chunk.2LK4JESZ.js +0 -33
- package/dist/chunks/chunk.2PS2PN6Q.js +0 -11
- package/dist/chunks/chunk.2UBLLNCB.js +0 -39
- package/dist/chunks/chunk.2VVD2A2K.js +0 -180
- package/dist/chunks/chunk.2XMI7J7T.js +0 -11
- package/dist/chunks/chunk.2Y2SR6DW.js +0 -214
- package/dist/chunks/chunk.33XWRKO2.js +0 -21
- package/dist/chunks/chunk.34S6BUWK.js +0 -97
- package/dist/chunks/chunk.3M5K2VRJ.js +0 -241
- package/dist/chunks/chunk.43FM3KSR.js +0 -25
- package/dist/chunks/chunk.4BI42KGC.js +0 -21
- package/dist/chunks/chunk.4QPRUZEC.js +0 -619
- package/dist/chunks/chunk.566T2F6Y.js +0 -927
- package/dist/chunks/chunk.5BITUPPF.js +0 -26
- package/dist/chunks/chunk.5K55E6UH.js +0 -25
- package/dist/chunks/chunk.5LGEYTNV.js +0 -86
- package/dist/chunks/chunk.5MFCRVZF.js +0 -43
- package/dist/chunks/chunk.5RA4RDAP.js +0 -29
- package/dist/chunks/chunk.5WD4JMKK.js +0 -11
- package/dist/chunks/chunk.632RS25N.js +0 -178
- package/dist/chunks/chunk.6E2LZKYR.js +0 -21
- package/dist/chunks/chunk.6E2QO3XK.js +0 -11
- package/dist/chunks/chunk.6FZ2OXVK.js +0 -27
- package/dist/chunks/chunk.7674U7FT.js +0 -215
- package/dist/chunks/chunk.7G5DA24B.js +0 -21
- package/dist/chunks/chunk.7JDN2WWK.js +0 -21
- package/dist/chunks/chunk.7JL3JHA7.js +0 -67
- package/dist/chunks/chunk.7MULIJ2V.js +0 -11
- package/dist/chunks/chunk.7SAH6Z4T.js +0 -11
- package/dist/chunks/chunk.A2INHFJK.js +0 -21
- package/dist/chunks/chunk.ACQ4M2O6.js +0 -11
- package/dist/chunks/chunk.ADJ5VE2P.js +0 -11
- package/dist/chunks/chunk.AJVI74TO.js +0 -21
- package/dist/chunks/chunk.ARSHNYXW.js +0 -451
- package/dist/chunks/chunk.ATSVQANB.js +0 -21
- package/dist/chunks/chunk.AZKZPA7C.js +0 -11
- package/dist/chunks/chunk.B5AMVJI2.js +0 -11
- package/dist/chunks/chunk.BC6A67OX.js +0 -57
- package/dist/chunks/chunk.BFSJNBME.js +0 -89
- package/dist/chunks/chunk.BHGMB774.js +0 -11
- package/dist/chunks/chunk.BPL6QBOC.js +0 -11
- package/dist/chunks/chunk.BTMCLVTO.js +0 -25
- package/dist/chunks/chunk.BZ4EGENA.js +0 -11
- package/dist/chunks/chunk.BZIMYDU3.js +0 -11
- package/dist/chunks/chunk.C3XZFEXH.js +0 -21
- package/dist/chunks/chunk.C5VYJNUD.js +0 -11
- package/dist/chunks/chunk.C7NVT5BB.js +0 -11
- package/dist/chunks/chunk.C7RRERDA.js +0 -121
- package/dist/chunks/chunk.CB4BFMQ2.js +0 -213
- package/dist/chunks/chunk.CCKUPM6P.js +0 -21
- package/dist/chunks/chunk.D34OOYKG.js +0 -74
- package/dist/chunks/chunk.D4N327EY.js +0 -11
- package/dist/chunks/chunk.D6T2AM4K.js +0 -11
- package/dist/chunks/chunk.DONCLRFH.js +0 -11
- package/dist/chunks/chunk.DVUOT6X5.js +0 -288
- package/dist/chunks/chunk.E73J7ZLS.js +0 -24
- package/dist/chunks/chunk.EEXUEFRN.js +0 -11
- package/dist/chunks/chunk.EIND5KV5.js +0 -733
- package/dist/chunks/chunk.EYAQBN4W.js +0 -48
- package/dist/chunks/chunk.F5ZRM4UT.js +0 -75
- package/dist/chunks/chunk.FASDFTRM.js +0 -11
- package/dist/chunks/chunk.FCTGPHU3.js +0 -345
- package/dist/chunks/chunk.FE2YRT4I.js +0 -21
- package/dist/chunks/chunk.FMKYICQO.js +0 -11
- package/dist/chunks/chunk.FVXSKUHQ.js +0 -11
- package/dist/chunks/chunk.G2CDB7TC.js +0 -422
- package/dist/chunks/chunk.GHMLBVRL.js +0 -85
- package/dist/chunks/chunk.GL7N4E5F.js +0 -11
- package/dist/chunks/chunk.GNBUCAE6.js +0 -61
- package/dist/chunks/chunk.GPYQWPH7.js +0 -24
- package/dist/chunks/chunk.GUFOEB2X.js +0 -443
- package/dist/chunks/chunk.GXHBB2BK.js +0 -11
- package/dist/chunks/chunk.H2NGVL75.js +0 -262
- package/dist/chunks/chunk.HB2GAHRY.js +0 -21
- package/dist/chunks/chunk.HEHCI264.js +0 -937
- package/dist/chunks/chunk.HFFC7CSH.js +0 -61
- package/dist/chunks/chunk.HHRVCYCP.js +0 -21
- package/dist/chunks/chunk.HMJLRO3D.js +0 -11
- package/dist/chunks/chunk.HNTSD6YN.js +0 -11
- package/dist/chunks/chunk.HTDDMELY.js +0 -472
- package/dist/chunks/chunk.HXWXSALW.js +0 -21
- package/dist/chunks/chunk.HY3XO5AM.js +0 -11
- package/dist/chunks/chunk.I4ZGJAIX.js +0 -11
- package/dist/chunks/chunk.I6KFGCKW.js +0 -25
- package/dist/chunks/chunk.ICNQF3X6.js +0 -153
- package/dist/chunks/chunk.IJ6ATH2G.js +0 -64
- package/dist/chunks/chunk.IM2LRIG2.js +0 -145
- package/dist/chunks/chunk.IU24O5FP.js +0 -11
- package/dist/chunks/chunk.J4Y5WGFW.js +0 -143
- package/dist/chunks/chunk.JF5XMQYM.js +0 -11
- package/dist/chunks/chunk.JLZUVFCE.js +0 -287
- package/dist/chunks/chunk.JX2ZA72Z.js +0 -220
- package/dist/chunks/chunk.JXMVGVD3.js +0 -525
- package/dist/chunks/chunk.JYE3UZ7F.js +0 -11
- package/dist/chunks/chunk.K6BGAPBU.js +0 -28
- package/dist/chunks/chunk.KDXR6RAM.js +0 -37
- package/dist/chunks/chunk.KSCTOVEE.js +0 -24
- package/dist/chunks/chunk.KUWB3YHJ.js +0 -220
- package/dist/chunks/chunk.KVWBDTVE.js +0 -2062
- package/dist/chunks/chunk.LPAGMHYK.js +0 -291
- package/dist/chunks/chunk.LSQAN2LD.js +0 -1124
- package/dist/chunks/chunk.LU6W37BH.js +0 -596
- package/dist/chunks/chunk.LXK6XVBB.js +0 -21
- package/dist/chunks/chunk.LYRQFZC4.js +0 -31
- package/dist/chunks/chunk.M43H3QV7.js +0 -11
- package/dist/chunks/chunk.M5WTUNKV.js +0 -409
- package/dist/chunks/chunk.MFJTWHZU.js +0 -78
- package/dist/chunks/chunk.MGURDS27.js +0 -11
- package/dist/chunks/chunk.MLDZ7FRM.js +0 -11
- package/dist/chunks/chunk.MP32V6JF.js +0 -11
- package/dist/chunks/chunk.MQQMR33R.js +0 -48
- package/dist/chunks/chunk.MRQ6SEQL.js +0 -11
- package/dist/chunks/chunk.MYBSXZHT.js +0 -278
- package/dist/chunks/chunk.N2AO3RT2.js +0 -21
- package/dist/chunks/chunk.N5HDKOE2.js +0 -180
- package/dist/chunks/chunk.NC25XWUR.js +0 -28
- package/dist/chunks/chunk.NF6TS7VE.js +0 -247
- package/dist/chunks/chunk.NLAMUPJI.js +0 -11
- package/dist/chunks/chunk.NQUSYESD.js +0 -24
- package/dist/chunks/chunk.NSKAS64G.js +0 -24
- package/dist/chunks/chunk.NZ6XNFVY.js +0 -24
- package/dist/chunks/chunk.NZI2QIFX.js +0 -11
- package/dist/chunks/chunk.OA66EY7V.js +0 -24
- package/dist/chunks/chunk.OPOM5NYB.js +0 -21
- package/dist/chunks/chunk.OUX5ZAJF.js +0 -642
- package/dist/chunks/chunk.OW63IENW.js +0 -11
- package/dist/chunks/chunk.P4Q45ICU.js +0 -21
- package/dist/chunks/chunk.PDVPPLE5.js +0 -214
- package/dist/chunks/chunk.PEKVWKYT.js +0 -21
- package/dist/chunks/chunk.PFOPI3VS.js +0 -180
- package/dist/chunks/chunk.PG4X2ILS.js +0 -123
- package/dist/chunks/chunk.PGYLMEJG.js +0 -11
- package/dist/chunks/chunk.PHCONS2C.js +0 -609
- package/dist/chunks/chunk.PHQ3RHOR.js +0 -21
- package/dist/chunks/chunk.PMH2735I.js +0 -27
- package/dist/chunks/chunk.PSH7C3UE.js +0 -25
- package/dist/chunks/chunk.PX6C7WJR.js +0 -21
- package/dist/chunks/chunk.Q3OACK3T.js +0 -101
- package/dist/chunks/chunk.Q4F7GQU3.js +0 -11
- package/dist/chunks/chunk.QB3XAEYL.js +0 -844
- package/dist/chunks/chunk.QCFFEUZ5.js +0 -11
- package/dist/chunks/chunk.QOVVZBY3.js +0 -21
- package/dist/chunks/chunk.QT6YMUXC.js +0 -264
- package/dist/chunks/chunk.QTHHBDBZ.js +0 -458
- package/dist/chunks/chunk.QX46P4FI.js +0 -11
- package/dist/chunks/chunk.RKMMXUAP.js +0 -112
- package/dist/chunks/chunk.ROL2DCAI.js +0 -11
- package/dist/chunks/chunk.ROTDM5PO.js +0 -345
- package/dist/chunks/chunk.RQ27EUVN.js +0 -190
- package/dist/chunks/chunk.RQQ26HU2.js +0 -1796
- package/dist/chunks/chunk.RQQ4RAE2.js +0 -52
- package/dist/chunks/chunk.RRXSF7XM.js +0 -11
- package/dist/chunks/chunk.RUCPPCGA.js +0 -11
- package/dist/chunks/chunk.RVD7MSQR.js +0 -27
- package/dist/chunks/chunk.RXX63TG2.js +0 -24
- package/dist/chunks/chunk.SAQ5NDKK.js +0 -11
- package/dist/chunks/chunk.SBHGRKRD.js +0 -21
- package/dist/chunks/chunk.SBP7DZY7.js +0 -20
- package/dist/chunks/chunk.SH2IRK72.js +0 -28
- package/dist/chunks/chunk.SJRFSZMI.js +0 -24
- package/dist/chunks/chunk.SUZXJVRK.js +0 -11
- package/dist/chunks/chunk.T2CPSS72.js +0 -24
- package/dist/chunks/chunk.T6N4WCHK.js +0 -11
- package/dist/chunks/chunk.TBBIOPLP.js +0 -11
- package/dist/chunks/chunk.TJZCEVOT.js +0 -21
- package/dist/chunks/chunk.TKHC4G3V.js +0 -29
- package/dist/chunks/chunk.TNQZIZIY.js +0 -11
- package/dist/chunks/chunk.TWJ4YDDO.js +0 -24
- package/dist/chunks/chunk.TYK2UK63.js +0 -27
- package/dist/chunks/chunk.U7XCMFST.js +0 -11
- package/dist/chunks/chunk.UMIRLEHN.js +0 -11
- package/dist/chunks/chunk.V2TFKPNC.js +0 -449
- package/dist/chunks/chunk.VLTP62H6.js +0 -581
- package/dist/chunks/chunk.VMYE2VST.js +0 -11
- package/dist/chunks/chunk.W2XHRASZ.js +0 -93
- package/dist/chunks/chunk.W76ILJ5S.js +0 -477
- package/dist/chunks/chunk.WGW3TXWJ.js +0 -11
- package/dist/chunks/chunk.WKH3Y2IJ.js +0 -355
- package/dist/chunks/chunk.WMN2KKK6.js +0 -245
- package/dist/chunks/chunk.WYF6KIZP.js +0 -21
- package/dist/chunks/chunk.X44YYIHU.js +0 -24
- package/dist/chunks/chunk.X5X4UZZJ.js +0 -11
- package/dist/chunks/chunk.XC6VGXDZ.js +0 -78
- package/dist/chunks/chunk.XEWYYXQO.js +0 -11
- package/dist/chunks/chunk.XEZX22LQ.js +0 -28
- package/dist/chunks/chunk.XJJJ5N44.js +0 -83
- package/dist/chunks/chunk.XT7WLI7S.js +0 -24
- package/dist/chunks/chunk.XUVQISFH.js +0 -21
- package/dist/chunks/chunk.XWTM6QEP.js +0 -24
- package/dist/chunks/chunk.XWUMRPTO.js +0 -21
- package/dist/chunks/chunk.XXFWP5HJ.js +0 -124
- package/dist/chunks/chunk.Y6KGVJTI.js +0 -271
- package/dist/chunks/chunk.YB2HW4RD.js +0 -11
- package/dist/chunks/chunk.YHNSW265.js +0 -229
- package/dist/chunks/chunk.YHQMEGNP.js +0 -21
- package/dist/chunks/chunk.YOEQGKZU.js +0 -214
- package/dist/chunks/chunk.YZ7YDVM4.js +0 -161
- package/dist/chunks/chunk.Z3NYHC6Y.js +0 -11
- package/dist/chunks/chunk.Z6G2TOJC.js +0 -241
- package/dist/chunks/chunk.ZHZTZFLC.js +0 -11
- package/dist/chunks/chunk.ZLMZ6AJ4.js +0 -24
- package/dist/chunks/chunk.ZMP2JJRB.js +0 -91
- package/dist/chunks/chunk.ZWGUQYJA.js +0 -52
- package/dist/terra_ui_components-0.0.146-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.146.tar.gz +0 -0
|
@@ -0,0 +1,1966 @@
|
|
|
1
|
+
import {
|
|
2
|
+
popup_styles_default
|
|
3
|
+
} from "./chunk.UPT6DHPH.js";
|
|
4
|
+
import {
|
|
5
|
+
e
|
|
6
|
+
} from "./chunk.P3OLQVQM.js";
|
|
7
|
+
import {
|
|
8
|
+
TerraElement,
|
|
9
|
+
component_styles_default,
|
|
10
|
+
e as e2,
|
|
11
|
+
n
|
|
12
|
+
} from "./chunk.YO4X3RWQ.js";
|
|
13
|
+
import {
|
|
14
|
+
x
|
|
15
|
+
} from "./chunk.3ZQGAH53.js";
|
|
16
|
+
import {
|
|
17
|
+
__decorateClass,
|
|
18
|
+
__objRest,
|
|
19
|
+
__spreadProps,
|
|
20
|
+
__spreadValues,
|
|
21
|
+
init_buffer,
|
|
22
|
+
init_dirname,
|
|
23
|
+
init_process
|
|
24
|
+
} from "./chunk.CZA6CSBG.js";
|
|
25
|
+
|
|
26
|
+
// src/components/popup/popup.component.ts
|
|
27
|
+
init_dirname();
|
|
28
|
+
init_buffer();
|
|
29
|
+
init_process();
|
|
30
|
+
|
|
31
|
+
// node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
32
|
+
init_dirname();
|
|
33
|
+
init_buffer();
|
|
34
|
+
init_process();
|
|
35
|
+
|
|
36
|
+
// node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
37
|
+
init_dirname();
|
|
38
|
+
init_buffer();
|
|
39
|
+
init_process();
|
|
40
|
+
|
|
41
|
+
// node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
42
|
+
init_dirname();
|
|
43
|
+
init_buffer();
|
|
44
|
+
init_process();
|
|
45
|
+
var min = Math.min;
|
|
46
|
+
var max = Math.max;
|
|
47
|
+
var round = Math.round;
|
|
48
|
+
var floor = Math.floor;
|
|
49
|
+
var createCoords = (v) => ({
|
|
50
|
+
x: v,
|
|
51
|
+
y: v
|
|
52
|
+
});
|
|
53
|
+
var oppositeSideMap = {
|
|
54
|
+
left: "right",
|
|
55
|
+
right: "left",
|
|
56
|
+
bottom: "top",
|
|
57
|
+
top: "bottom"
|
|
58
|
+
};
|
|
59
|
+
var oppositeAlignmentMap = {
|
|
60
|
+
start: "end",
|
|
61
|
+
end: "start"
|
|
62
|
+
};
|
|
63
|
+
function clamp(start, value, end) {
|
|
64
|
+
return max(start, min(value, end));
|
|
65
|
+
}
|
|
66
|
+
function evaluate(value, param) {
|
|
67
|
+
return typeof value === "function" ? value(param) : value;
|
|
68
|
+
}
|
|
69
|
+
function getSide(placement) {
|
|
70
|
+
return placement.split("-")[0];
|
|
71
|
+
}
|
|
72
|
+
function getAlignment(placement) {
|
|
73
|
+
return placement.split("-")[1];
|
|
74
|
+
}
|
|
75
|
+
function getOppositeAxis(axis) {
|
|
76
|
+
return axis === "x" ? "y" : "x";
|
|
77
|
+
}
|
|
78
|
+
function getAxisLength(axis) {
|
|
79
|
+
return axis === "y" ? "height" : "width";
|
|
80
|
+
}
|
|
81
|
+
var yAxisSides = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
82
|
+
function getSideAxis(placement) {
|
|
83
|
+
return yAxisSides.has(getSide(placement)) ? "y" : "x";
|
|
84
|
+
}
|
|
85
|
+
function getAlignmentAxis(placement) {
|
|
86
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
87
|
+
}
|
|
88
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
89
|
+
if (rtl === void 0) {
|
|
90
|
+
rtl = false;
|
|
91
|
+
}
|
|
92
|
+
const alignment = getAlignment(placement);
|
|
93
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
94
|
+
const length = getAxisLength(alignmentAxis);
|
|
95
|
+
let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
|
|
96
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
97
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
98
|
+
}
|
|
99
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
100
|
+
}
|
|
101
|
+
function getExpandedPlacements(placement) {
|
|
102
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
103
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
104
|
+
}
|
|
105
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
106
|
+
return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);
|
|
107
|
+
}
|
|
108
|
+
var lrPlacement = ["left", "right"];
|
|
109
|
+
var rlPlacement = ["right", "left"];
|
|
110
|
+
var tbPlacement = ["top", "bottom"];
|
|
111
|
+
var btPlacement = ["bottom", "top"];
|
|
112
|
+
function getSideList(side, isStart, rtl) {
|
|
113
|
+
switch (side) {
|
|
114
|
+
case "top":
|
|
115
|
+
case "bottom":
|
|
116
|
+
if (rtl)
|
|
117
|
+
return isStart ? rlPlacement : lrPlacement;
|
|
118
|
+
return isStart ? lrPlacement : rlPlacement;
|
|
119
|
+
case "left":
|
|
120
|
+
case "right":
|
|
121
|
+
return isStart ? tbPlacement : btPlacement;
|
|
122
|
+
default:
|
|
123
|
+
return [];
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
127
|
+
const alignment = getAlignment(placement);
|
|
128
|
+
let list = getSideList(getSide(placement), direction === "start", rtl);
|
|
129
|
+
if (alignment) {
|
|
130
|
+
list = list.map((side) => side + "-" + alignment);
|
|
131
|
+
if (flipAlignment) {
|
|
132
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
return list;
|
|
136
|
+
}
|
|
137
|
+
function getOppositePlacement(placement) {
|
|
138
|
+
return placement.replace(/left|right|bottom|top/g, (side) => oppositeSideMap[side]);
|
|
139
|
+
}
|
|
140
|
+
function expandPaddingObject(padding) {
|
|
141
|
+
return __spreadValues({
|
|
142
|
+
top: 0,
|
|
143
|
+
right: 0,
|
|
144
|
+
bottom: 0,
|
|
145
|
+
left: 0
|
|
146
|
+
}, padding);
|
|
147
|
+
}
|
|
148
|
+
function getPaddingObject(padding) {
|
|
149
|
+
return typeof padding !== "number" ? expandPaddingObject(padding) : {
|
|
150
|
+
top: padding,
|
|
151
|
+
right: padding,
|
|
152
|
+
bottom: padding,
|
|
153
|
+
left: padding
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
function rectToClientRect(rect) {
|
|
157
|
+
const {
|
|
158
|
+
x: x2,
|
|
159
|
+
y,
|
|
160
|
+
width,
|
|
161
|
+
height
|
|
162
|
+
} = rect;
|
|
163
|
+
return {
|
|
164
|
+
width,
|
|
165
|
+
height,
|
|
166
|
+
top: y,
|
|
167
|
+
left: x2,
|
|
168
|
+
right: x2 + width,
|
|
169
|
+
bottom: y + height,
|
|
170
|
+
x: x2,
|
|
171
|
+
y
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
176
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
177
|
+
let {
|
|
178
|
+
reference,
|
|
179
|
+
floating
|
|
180
|
+
} = _ref;
|
|
181
|
+
const sideAxis = getSideAxis(placement);
|
|
182
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
183
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
184
|
+
const side = getSide(placement);
|
|
185
|
+
const isVertical = sideAxis === "y";
|
|
186
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
187
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
188
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
189
|
+
let coords;
|
|
190
|
+
switch (side) {
|
|
191
|
+
case "top":
|
|
192
|
+
coords = {
|
|
193
|
+
x: commonX,
|
|
194
|
+
y: reference.y - floating.height
|
|
195
|
+
};
|
|
196
|
+
break;
|
|
197
|
+
case "bottom":
|
|
198
|
+
coords = {
|
|
199
|
+
x: commonX,
|
|
200
|
+
y: reference.y + reference.height
|
|
201
|
+
};
|
|
202
|
+
break;
|
|
203
|
+
case "right":
|
|
204
|
+
coords = {
|
|
205
|
+
x: reference.x + reference.width,
|
|
206
|
+
y: commonY
|
|
207
|
+
};
|
|
208
|
+
break;
|
|
209
|
+
case "left":
|
|
210
|
+
coords = {
|
|
211
|
+
x: reference.x - floating.width,
|
|
212
|
+
y: commonY
|
|
213
|
+
};
|
|
214
|
+
break;
|
|
215
|
+
default:
|
|
216
|
+
coords = {
|
|
217
|
+
x: reference.x,
|
|
218
|
+
y: reference.y
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
switch (getAlignment(placement)) {
|
|
222
|
+
case "start":
|
|
223
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
224
|
+
break;
|
|
225
|
+
case "end":
|
|
226
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
227
|
+
break;
|
|
228
|
+
}
|
|
229
|
+
return coords;
|
|
230
|
+
}
|
|
231
|
+
var computePosition = async (reference, floating, config) => {
|
|
232
|
+
const {
|
|
233
|
+
placement = "bottom",
|
|
234
|
+
strategy = "absolute",
|
|
235
|
+
middleware = [],
|
|
236
|
+
platform: platform2
|
|
237
|
+
} = config;
|
|
238
|
+
const validMiddleware = middleware.filter(Boolean);
|
|
239
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
|
|
240
|
+
let rects = await platform2.getElementRects({
|
|
241
|
+
reference,
|
|
242
|
+
floating,
|
|
243
|
+
strategy
|
|
244
|
+
});
|
|
245
|
+
let {
|
|
246
|
+
x: x2,
|
|
247
|
+
y
|
|
248
|
+
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
249
|
+
let statefulPlacement = placement;
|
|
250
|
+
let middlewareData = {};
|
|
251
|
+
let resetCount = 0;
|
|
252
|
+
for (let i = 0; i < validMiddleware.length; i++) {
|
|
253
|
+
const {
|
|
254
|
+
name,
|
|
255
|
+
fn
|
|
256
|
+
} = validMiddleware[i];
|
|
257
|
+
const {
|
|
258
|
+
x: nextX,
|
|
259
|
+
y: nextY,
|
|
260
|
+
data,
|
|
261
|
+
reset
|
|
262
|
+
} = await fn({
|
|
263
|
+
x: x2,
|
|
264
|
+
y,
|
|
265
|
+
initialPlacement: placement,
|
|
266
|
+
placement: statefulPlacement,
|
|
267
|
+
strategy,
|
|
268
|
+
middlewareData,
|
|
269
|
+
rects,
|
|
270
|
+
platform: platform2,
|
|
271
|
+
elements: {
|
|
272
|
+
reference,
|
|
273
|
+
floating
|
|
274
|
+
}
|
|
275
|
+
});
|
|
276
|
+
x2 = nextX != null ? nextX : x2;
|
|
277
|
+
y = nextY != null ? nextY : y;
|
|
278
|
+
middlewareData = __spreadProps(__spreadValues({}, middlewareData), {
|
|
279
|
+
[name]: __spreadValues(__spreadValues({}, middlewareData[name]), data)
|
|
280
|
+
});
|
|
281
|
+
if (reset && resetCount <= 50) {
|
|
282
|
+
resetCount++;
|
|
283
|
+
if (typeof reset === "object") {
|
|
284
|
+
if (reset.placement) {
|
|
285
|
+
statefulPlacement = reset.placement;
|
|
286
|
+
}
|
|
287
|
+
if (reset.rects) {
|
|
288
|
+
rects = reset.rects === true ? await platform2.getElementRects({
|
|
289
|
+
reference,
|
|
290
|
+
floating,
|
|
291
|
+
strategy
|
|
292
|
+
}) : reset.rects;
|
|
293
|
+
}
|
|
294
|
+
({
|
|
295
|
+
x: x2,
|
|
296
|
+
y
|
|
297
|
+
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
298
|
+
}
|
|
299
|
+
i = -1;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
return {
|
|
303
|
+
x: x2,
|
|
304
|
+
y,
|
|
305
|
+
placement: statefulPlacement,
|
|
306
|
+
strategy,
|
|
307
|
+
middlewareData
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
async function detectOverflow(state, options) {
|
|
311
|
+
var _await$platform$isEle;
|
|
312
|
+
if (options === void 0) {
|
|
313
|
+
options = {};
|
|
314
|
+
}
|
|
315
|
+
const {
|
|
316
|
+
x: x2,
|
|
317
|
+
y,
|
|
318
|
+
platform: platform2,
|
|
319
|
+
rects,
|
|
320
|
+
elements,
|
|
321
|
+
strategy
|
|
322
|
+
} = state;
|
|
323
|
+
const {
|
|
324
|
+
boundary = "clippingAncestors",
|
|
325
|
+
rootBoundary = "viewport",
|
|
326
|
+
elementContext = "floating",
|
|
327
|
+
altBoundary = false,
|
|
328
|
+
padding = 0
|
|
329
|
+
} = evaluate(options, state);
|
|
330
|
+
const paddingObject = getPaddingObject(padding);
|
|
331
|
+
const altContext = elementContext === "floating" ? "reference" : "floating";
|
|
332
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
333
|
+
const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
|
|
334
|
+
element: ((_await$platform$isEle = await (platform2.isElement == null ? void 0 : platform2.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform2.getDocumentElement == null ? void 0 : platform2.getDocumentElement(elements.floating)),
|
|
335
|
+
boundary,
|
|
336
|
+
rootBoundary,
|
|
337
|
+
strategy
|
|
338
|
+
}));
|
|
339
|
+
const rect = elementContext === "floating" ? {
|
|
340
|
+
x: x2,
|
|
341
|
+
y,
|
|
342
|
+
width: rects.floating.width,
|
|
343
|
+
height: rects.floating.height
|
|
344
|
+
} : rects.reference;
|
|
345
|
+
const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
|
|
346
|
+
const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
|
|
347
|
+
x: 1,
|
|
348
|
+
y: 1
|
|
349
|
+
} : {
|
|
350
|
+
x: 1,
|
|
351
|
+
y: 1
|
|
352
|
+
};
|
|
353
|
+
const elementClientRect = rectToClientRect(platform2.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform2.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
354
|
+
elements,
|
|
355
|
+
rect,
|
|
356
|
+
offsetParent,
|
|
357
|
+
strategy
|
|
358
|
+
}) : rect);
|
|
359
|
+
return {
|
|
360
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
361
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
362
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
363
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
var arrow = (options) => ({
|
|
367
|
+
name: "arrow",
|
|
368
|
+
options,
|
|
369
|
+
async fn(state) {
|
|
370
|
+
const {
|
|
371
|
+
x: x2,
|
|
372
|
+
y,
|
|
373
|
+
placement,
|
|
374
|
+
rects,
|
|
375
|
+
platform: platform2,
|
|
376
|
+
elements,
|
|
377
|
+
middlewareData
|
|
378
|
+
} = state;
|
|
379
|
+
const {
|
|
380
|
+
element,
|
|
381
|
+
padding = 0
|
|
382
|
+
} = evaluate(options, state) || {};
|
|
383
|
+
if (element == null) {
|
|
384
|
+
return {};
|
|
385
|
+
}
|
|
386
|
+
const paddingObject = getPaddingObject(padding);
|
|
387
|
+
const coords = {
|
|
388
|
+
x: x2,
|
|
389
|
+
y
|
|
390
|
+
};
|
|
391
|
+
const axis = getAlignmentAxis(placement);
|
|
392
|
+
const length = getAxisLength(axis);
|
|
393
|
+
const arrowDimensions = await platform2.getDimensions(element);
|
|
394
|
+
const isYAxis = axis === "y";
|
|
395
|
+
const minProp = isYAxis ? "top" : "left";
|
|
396
|
+
const maxProp = isYAxis ? "bottom" : "right";
|
|
397
|
+
const clientProp = isYAxis ? "clientHeight" : "clientWidth";
|
|
398
|
+
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
399
|
+
const startDiff = coords[axis] - rects.reference[axis];
|
|
400
|
+
const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
|
|
401
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
402
|
+
if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
|
|
403
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
404
|
+
}
|
|
405
|
+
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
406
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
407
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
408
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
409
|
+
const min$1 = minPadding;
|
|
410
|
+
const max2 = clientSize - arrowDimensions[length] - maxPadding;
|
|
411
|
+
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
412
|
+
const offset3 = clamp(min$1, center, max2);
|
|
413
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset3 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
414
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max2 : 0;
|
|
415
|
+
return {
|
|
416
|
+
[axis]: coords[axis] + alignmentOffset,
|
|
417
|
+
data: __spreadValues({
|
|
418
|
+
[axis]: offset3,
|
|
419
|
+
centerOffset: center - offset3 - alignmentOffset
|
|
420
|
+
}, shouldAddOffset && {
|
|
421
|
+
alignmentOffset
|
|
422
|
+
}),
|
|
423
|
+
reset: shouldAddOffset
|
|
424
|
+
};
|
|
425
|
+
}
|
|
426
|
+
});
|
|
427
|
+
var flip = function(options) {
|
|
428
|
+
if (options === void 0) {
|
|
429
|
+
options = {};
|
|
430
|
+
}
|
|
431
|
+
return {
|
|
432
|
+
name: "flip",
|
|
433
|
+
options,
|
|
434
|
+
async fn(state) {
|
|
435
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
|
436
|
+
const {
|
|
437
|
+
placement,
|
|
438
|
+
middlewareData,
|
|
439
|
+
rects,
|
|
440
|
+
initialPlacement,
|
|
441
|
+
platform: platform2,
|
|
442
|
+
elements
|
|
443
|
+
} = state;
|
|
444
|
+
const _a = evaluate(options, state), {
|
|
445
|
+
mainAxis: checkMainAxis = true,
|
|
446
|
+
crossAxis: checkCrossAxis = true,
|
|
447
|
+
fallbackPlacements: specifiedFallbackPlacements,
|
|
448
|
+
fallbackStrategy = "bestFit",
|
|
449
|
+
fallbackAxisSideDirection = "none",
|
|
450
|
+
flipAlignment = true
|
|
451
|
+
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
452
|
+
"mainAxis",
|
|
453
|
+
"crossAxis",
|
|
454
|
+
"fallbackPlacements",
|
|
455
|
+
"fallbackStrategy",
|
|
456
|
+
"fallbackAxisSideDirection",
|
|
457
|
+
"flipAlignment"
|
|
458
|
+
]);
|
|
459
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
460
|
+
return {};
|
|
461
|
+
}
|
|
462
|
+
const side = getSide(placement);
|
|
463
|
+
const initialSideAxis = getSideAxis(initialPlacement);
|
|
464
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
465
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
466
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
467
|
+
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
|
|
468
|
+
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
469
|
+
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
470
|
+
}
|
|
471
|
+
const placements2 = [initialPlacement, ...fallbackPlacements];
|
|
472
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
473
|
+
const overflows = [];
|
|
474
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
475
|
+
if (checkMainAxis) {
|
|
476
|
+
overflows.push(overflow[side]);
|
|
477
|
+
}
|
|
478
|
+
if (checkCrossAxis) {
|
|
479
|
+
const sides2 = getAlignmentSides(placement, rects, rtl);
|
|
480
|
+
overflows.push(overflow[sides2[0]], overflow[sides2[1]]);
|
|
481
|
+
}
|
|
482
|
+
overflowsData = [...overflowsData, {
|
|
483
|
+
placement,
|
|
484
|
+
overflows
|
|
485
|
+
}];
|
|
486
|
+
if (!overflows.every((side2) => side2 <= 0)) {
|
|
487
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
|
488
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
489
|
+
const nextPlacement = placements2[nextIndex];
|
|
490
|
+
if (nextPlacement) {
|
|
491
|
+
const ignoreCrossAxisOverflow = checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : false;
|
|
492
|
+
if (!ignoreCrossAxisOverflow || // We leave the current main axis only if every placement on that axis
|
|
493
|
+
// overflows the main axis.
|
|
494
|
+
overflowsData.every((d) => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
|
|
495
|
+
return {
|
|
496
|
+
data: {
|
|
497
|
+
index: nextIndex,
|
|
498
|
+
overflows: overflowsData
|
|
499
|
+
},
|
|
500
|
+
reset: {
|
|
501
|
+
placement: nextPlacement
|
|
502
|
+
}
|
|
503
|
+
};
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
507
|
+
if (!resetPlacement) {
|
|
508
|
+
switch (fallbackStrategy) {
|
|
509
|
+
case "bestFit": {
|
|
510
|
+
var _overflowsData$filter2;
|
|
511
|
+
const placement2 = (_overflowsData$filter2 = overflowsData.filter((d) => {
|
|
512
|
+
if (hasFallbackAxisSideDirection) {
|
|
513
|
+
const currentSideAxis = getSideAxis(d.placement);
|
|
514
|
+
return currentSideAxis === initialSideAxis || // Create a bias to the `y` side axis due to horizontal
|
|
515
|
+
// reading directions favoring greater width.
|
|
516
|
+
currentSideAxis === "y";
|
|
517
|
+
}
|
|
518
|
+
return true;
|
|
519
|
+
}).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
520
|
+
if (placement2) {
|
|
521
|
+
resetPlacement = placement2;
|
|
522
|
+
}
|
|
523
|
+
break;
|
|
524
|
+
}
|
|
525
|
+
case "initialPlacement":
|
|
526
|
+
resetPlacement = initialPlacement;
|
|
527
|
+
break;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
if (placement !== resetPlacement) {
|
|
531
|
+
return {
|
|
532
|
+
reset: {
|
|
533
|
+
placement: resetPlacement
|
|
534
|
+
}
|
|
535
|
+
};
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
return {};
|
|
539
|
+
}
|
|
540
|
+
};
|
|
541
|
+
};
|
|
542
|
+
var originSides = /* @__PURE__ */ new Set(["left", "top"]);
|
|
543
|
+
async function convertValueToCoords(state, options) {
|
|
544
|
+
const {
|
|
545
|
+
placement,
|
|
546
|
+
platform: platform2,
|
|
547
|
+
elements
|
|
548
|
+
} = state;
|
|
549
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
550
|
+
const side = getSide(placement);
|
|
551
|
+
const alignment = getAlignment(placement);
|
|
552
|
+
const isVertical = getSideAxis(placement) === "y";
|
|
553
|
+
const mainAxisMulti = originSides.has(side) ? -1 : 1;
|
|
554
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
555
|
+
const rawValue = evaluate(options, state);
|
|
556
|
+
let {
|
|
557
|
+
mainAxis,
|
|
558
|
+
crossAxis,
|
|
559
|
+
alignmentAxis
|
|
560
|
+
} = typeof rawValue === "number" ? {
|
|
561
|
+
mainAxis: rawValue,
|
|
562
|
+
crossAxis: 0,
|
|
563
|
+
alignmentAxis: null
|
|
564
|
+
} : {
|
|
565
|
+
mainAxis: rawValue.mainAxis || 0,
|
|
566
|
+
crossAxis: rawValue.crossAxis || 0,
|
|
567
|
+
alignmentAxis: rawValue.alignmentAxis
|
|
568
|
+
};
|
|
569
|
+
if (alignment && typeof alignmentAxis === "number") {
|
|
570
|
+
crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
|
|
571
|
+
}
|
|
572
|
+
return isVertical ? {
|
|
573
|
+
x: crossAxis * crossAxisMulti,
|
|
574
|
+
y: mainAxis * mainAxisMulti
|
|
575
|
+
} : {
|
|
576
|
+
x: mainAxis * mainAxisMulti,
|
|
577
|
+
y: crossAxis * crossAxisMulti
|
|
578
|
+
};
|
|
579
|
+
}
|
|
580
|
+
var offset = function(options) {
|
|
581
|
+
if (options === void 0) {
|
|
582
|
+
options = 0;
|
|
583
|
+
}
|
|
584
|
+
return {
|
|
585
|
+
name: "offset",
|
|
586
|
+
options,
|
|
587
|
+
async fn(state) {
|
|
588
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
|
589
|
+
const {
|
|
590
|
+
x: x2,
|
|
591
|
+
y,
|
|
592
|
+
placement,
|
|
593
|
+
middlewareData
|
|
594
|
+
} = state;
|
|
595
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
596
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
597
|
+
return {};
|
|
598
|
+
}
|
|
599
|
+
return {
|
|
600
|
+
x: x2 + diffCoords.x,
|
|
601
|
+
y: y + diffCoords.y,
|
|
602
|
+
data: __spreadProps(__spreadValues({}, diffCoords), {
|
|
603
|
+
placement
|
|
604
|
+
})
|
|
605
|
+
};
|
|
606
|
+
}
|
|
607
|
+
};
|
|
608
|
+
};
|
|
609
|
+
var shift = function(options) {
|
|
610
|
+
if (options === void 0) {
|
|
611
|
+
options = {};
|
|
612
|
+
}
|
|
613
|
+
return {
|
|
614
|
+
name: "shift",
|
|
615
|
+
options,
|
|
616
|
+
async fn(state) {
|
|
617
|
+
const {
|
|
618
|
+
x: x2,
|
|
619
|
+
y,
|
|
620
|
+
placement
|
|
621
|
+
} = state;
|
|
622
|
+
const _a = evaluate(options, state), {
|
|
623
|
+
mainAxis: checkMainAxis = true,
|
|
624
|
+
crossAxis: checkCrossAxis = false,
|
|
625
|
+
limiter = {
|
|
626
|
+
fn: (_ref) => {
|
|
627
|
+
let {
|
|
628
|
+
x: x3,
|
|
629
|
+
y: y2
|
|
630
|
+
} = _ref;
|
|
631
|
+
return {
|
|
632
|
+
x: x3,
|
|
633
|
+
y: y2
|
|
634
|
+
};
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
638
|
+
"mainAxis",
|
|
639
|
+
"crossAxis",
|
|
640
|
+
"limiter"
|
|
641
|
+
]);
|
|
642
|
+
const coords = {
|
|
643
|
+
x: x2,
|
|
644
|
+
y
|
|
645
|
+
};
|
|
646
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
647
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
648
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
649
|
+
let mainAxisCoord = coords[mainAxis];
|
|
650
|
+
let crossAxisCoord = coords[crossAxis];
|
|
651
|
+
if (checkMainAxis) {
|
|
652
|
+
const minSide = mainAxis === "y" ? "top" : "left";
|
|
653
|
+
const maxSide = mainAxis === "y" ? "bottom" : "right";
|
|
654
|
+
const min2 = mainAxisCoord + overflow[minSide];
|
|
655
|
+
const max2 = mainAxisCoord - overflow[maxSide];
|
|
656
|
+
mainAxisCoord = clamp(min2, mainAxisCoord, max2);
|
|
657
|
+
}
|
|
658
|
+
if (checkCrossAxis) {
|
|
659
|
+
const minSide = crossAxis === "y" ? "top" : "left";
|
|
660
|
+
const maxSide = crossAxis === "y" ? "bottom" : "right";
|
|
661
|
+
const min2 = crossAxisCoord + overflow[minSide];
|
|
662
|
+
const max2 = crossAxisCoord - overflow[maxSide];
|
|
663
|
+
crossAxisCoord = clamp(min2, crossAxisCoord, max2);
|
|
664
|
+
}
|
|
665
|
+
const limitedCoords = limiter.fn(__spreadProps(__spreadValues({}, state), {
|
|
666
|
+
[mainAxis]: mainAxisCoord,
|
|
667
|
+
[crossAxis]: crossAxisCoord
|
|
668
|
+
}));
|
|
669
|
+
return __spreadProps(__spreadValues({}, limitedCoords), {
|
|
670
|
+
data: {
|
|
671
|
+
x: limitedCoords.x - x2,
|
|
672
|
+
y: limitedCoords.y - y,
|
|
673
|
+
enabled: {
|
|
674
|
+
[mainAxis]: checkMainAxis,
|
|
675
|
+
[crossAxis]: checkCrossAxis
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
});
|
|
679
|
+
}
|
|
680
|
+
};
|
|
681
|
+
};
|
|
682
|
+
var size = function(options) {
|
|
683
|
+
if (options === void 0) {
|
|
684
|
+
options = {};
|
|
685
|
+
}
|
|
686
|
+
return {
|
|
687
|
+
name: "size",
|
|
688
|
+
options,
|
|
689
|
+
async fn(state) {
|
|
690
|
+
var _state$middlewareData, _state$middlewareData2;
|
|
691
|
+
const {
|
|
692
|
+
placement,
|
|
693
|
+
rects,
|
|
694
|
+
platform: platform2,
|
|
695
|
+
elements
|
|
696
|
+
} = state;
|
|
697
|
+
const _a = evaluate(options, state), {
|
|
698
|
+
apply = () => {
|
|
699
|
+
}
|
|
700
|
+
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
701
|
+
"apply"
|
|
702
|
+
]);
|
|
703
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
704
|
+
const side = getSide(placement);
|
|
705
|
+
const alignment = getAlignment(placement);
|
|
706
|
+
const isYAxis = getSideAxis(placement) === "y";
|
|
707
|
+
const {
|
|
708
|
+
width,
|
|
709
|
+
height
|
|
710
|
+
} = rects.floating;
|
|
711
|
+
let heightSide;
|
|
712
|
+
let widthSide;
|
|
713
|
+
if (side === "top" || side === "bottom") {
|
|
714
|
+
heightSide = side;
|
|
715
|
+
widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
|
|
716
|
+
} else {
|
|
717
|
+
widthSide = side;
|
|
718
|
+
heightSide = alignment === "end" ? "top" : "bottom";
|
|
719
|
+
}
|
|
720
|
+
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
721
|
+
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
722
|
+
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
723
|
+
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
724
|
+
const noShift = !state.middlewareData.shift;
|
|
725
|
+
let availableHeight = overflowAvailableHeight;
|
|
726
|
+
let availableWidth = overflowAvailableWidth;
|
|
727
|
+
if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
|
|
728
|
+
availableWidth = maximumClippingWidth;
|
|
729
|
+
}
|
|
730
|
+
if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
|
|
731
|
+
availableHeight = maximumClippingHeight;
|
|
732
|
+
}
|
|
733
|
+
if (noShift && !alignment) {
|
|
734
|
+
const xMin = max(overflow.left, 0);
|
|
735
|
+
const xMax = max(overflow.right, 0);
|
|
736
|
+
const yMin = max(overflow.top, 0);
|
|
737
|
+
const yMax = max(overflow.bottom, 0);
|
|
738
|
+
if (isYAxis) {
|
|
739
|
+
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
|
740
|
+
} else {
|
|
741
|
+
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
await apply(__spreadProps(__spreadValues({}, state), {
|
|
745
|
+
availableWidth,
|
|
746
|
+
availableHeight
|
|
747
|
+
}));
|
|
748
|
+
const nextDimensions = await platform2.getDimensions(elements.floating);
|
|
749
|
+
if (width !== nextDimensions.width || height !== nextDimensions.height) {
|
|
750
|
+
return {
|
|
751
|
+
reset: {
|
|
752
|
+
rects: true
|
|
753
|
+
}
|
|
754
|
+
};
|
|
755
|
+
}
|
|
756
|
+
return {};
|
|
757
|
+
}
|
|
758
|
+
};
|
|
759
|
+
};
|
|
760
|
+
|
|
761
|
+
// node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
762
|
+
init_dirname();
|
|
763
|
+
init_buffer();
|
|
764
|
+
init_process();
|
|
765
|
+
function hasWindow() {
|
|
766
|
+
return typeof window !== "undefined";
|
|
767
|
+
}
|
|
768
|
+
function getNodeName(node) {
|
|
769
|
+
if (isNode(node)) {
|
|
770
|
+
return (node.nodeName || "").toLowerCase();
|
|
771
|
+
}
|
|
772
|
+
return "#document";
|
|
773
|
+
}
|
|
774
|
+
function getWindow(node) {
|
|
775
|
+
var _node$ownerDocument;
|
|
776
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
777
|
+
}
|
|
778
|
+
function getDocumentElement(node) {
|
|
779
|
+
var _ref;
|
|
780
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
781
|
+
}
|
|
782
|
+
function isNode(value) {
|
|
783
|
+
if (!hasWindow()) {
|
|
784
|
+
return false;
|
|
785
|
+
}
|
|
786
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
787
|
+
}
|
|
788
|
+
function isElement(value) {
|
|
789
|
+
if (!hasWindow()) {
|
|
790
|
+
return false;
|
|
791
|
+
}
|
|
792
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
793
|
+
}
|
|
794
|
+
function isHTMLElement(value) {
|
|
795
|
+
if (!hasWindow()) {
|
|
796
|
+
return false;
|
|
797
|
+
}
|
|
798
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
799
|
+
}
|
|
800
|
+
function isShadowRoot(value) {
|
|
801
|
+
if (!hasWindow() || typeof ShadowRoot === "undefined") {
|
|
802
|
+
return false;
|
|
803
|
+
}
|
|
804
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
805
|
+
}
|
|
806
|
+
var invalidOverflowDisplayValues = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
807
|
+
function isOverflowElement(element) {
|
|
808
|
+
const {
|
|
809
|
+
overflow,
|
|
810
|
+
overflowX,
|
|
811
|
+
overflowY,
|
|
812
|
+
display
|
|
813
|
+
} = getComputedStyle2(element);
|
|
814
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
|
|
815
|
+
}
|
|
816
|
+
var tableElements = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
817
|
+
function isTableElement(element) {
|
|
818
|
+
return tableElements.has(getNodeName(element));
|
|
819
|
+
}
|
|
820
|
+
var topLayerSelectors = [":popover-open", ":modal"];
|
|
821
|
+
function isTopLayer(element) {
|
|
822
|
+
return topLayerSelectors.some((selector) => {
|
|
823
|
+
try {
|
|
824
|
+
return element.matches(selector);
|
|
825
|
+
} catch (_e) {
|
|
826
|
+
return false;
|
|
827
|
+
}
|
|
828
|
+
});
|
|
829
|
+
}
|
|
830
|
+
var transformProperties = ["transform", "translate", "scale", "rotate", "perspective"];
|
|
831
|
+
var willChangeValues = ["transform", "translate", "scale", "rotate", "perspective", "filter"];
|
|
832
|
+
var containValues = ["paint", "layout", "strict", "content"];
|
|
833
|
+
function isContainingBlock(elementOrCss) {
|
|
834
|
+
const webkit = isWebKit();
|
|
835
|
+
const css = isElement(elementOrCss) ? getComputedStyle2(elementOrCss) : elementOrCss;
|
|
836
|
+
return transformProperties.some((value) => css[value] ? css[value] !== "none" : false) || (css.containerType ? css.containerType !== "normal" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit && (css.filter ? css.filter !== "none" : false) || willChangeValues.some((value) => (css.willChange || "").includes(value)) || containValues.some((value) => (css.contain || "").includes(value));
|
|
837
|
+
}
|
|
838
|
+
function getContainingBlock(element) {
|
|
839
|
+
let currentNode = getParentNode(element);
|
|
840
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
841
|
+
if (isContainingBlock(currentNode)) {
|
|
842
|
+
return currentNode;
|
|
843
|
+
} else if (isTopLayer(currentNode)) {
|
|
844
|
+
return null;
|
|
845
|
+
}
|
|
846
|
+
currentNode = getParentNode(currentNode);
|
|
847
|
+
}
|
|
848
|
+
return null;
|
|
849
|
+
}
|
|
850
|
+
function isWebKit() {
|
|
851
|
+
if (typeof CSS === "undefined" || !CSS.supports)
|
|
852
|
+
return false;
|
|
853
|
+
return CSS.supports("-webkit-backdrop-filter", "none");
|
|
854
|
+
}
|
|
855
|
+
var lastTraversableNodeNames = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
856
|
+
function isLastTraversableNode(node) {
|
|
857
|
+
return lastTraversableNodeNames.has(getNodeName(node));
|
|
858
|
+
}
|
|
859
|
+
function getComputedStyle2(element) {
|
|
860
|
+
return getWindow(element).getComputedStyle(element);
|
|
861
|
+
}
|
|
862
|
+
function getNodeScroll(element) {
|
|
863
|
+
if (isElement(element)) {
|
|
864
|
+
return {
|
|
865
|
+
scrollLeft: element.scrollLeft,
|
|
866
|
+
scrollTop: element.scrollTop
|
|
867
|
+
};
|
|
868
|
+
}
|
|
869
|
+
return {
|
|
870
|
+
scrollLeft: element.scrollX,
|
|
871
|
+
scrollTop: element.scrollY
|
|
872
|
+
};
|
|
873
|
+
}
|
|
874
|
+
function getParentNode(node) {
|
|
875
|
+
if (getNodeName(node) === "html") {
|
|
876
|
+
return node;
|
|
877
|
+
}
|
|
878
|
+
const result = (
|
|
879
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
880
|
+
node.assignedSlot || // DOM Element detected.
|
|
881
|
+
node.parentNode || // ShadowRoot detected.
|
|
882
|
+
isShadowRoot(node) && node.host || // Fallback.
|
|
883
|
+
getDocumentElement(node)
|
|
884
|
+
);
|
|
885
|
+
return isShadowRoot(result) ? result.host : result;
|
|
886
|
+
}
|
|
887
|
+
function getNearestOverflowAncestor(node) {
|
|
888
|
+
const parentNode = getParentNode(node);
|
|
889
|
+
if (isLastTraversableNode(parentNode)) {
|
|
890
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
891
|
+
}
|
|
892
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
893
|
+
return parentNode;
|
|
894
|
+
}
|
|
895
|
+
return getNearestOverflowAncestor(parentNode);
|
|
896
|
+
}
|
|
897
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
898
|
+
var _node$ownerDocument2;
|
|
899
|
+
if (list === void 0) {
|
|
900
|
+
list = [];
|
|
901
|
+
}
|
|
902
|
+
if (traverseIframes === void 0) {
|
|
903
|
+
traverseIframes = true;
|
|
904
|
+
}
|
|
905
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
906
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
907
|
+
const win = getWindow(scrollableAncestor);
|
|
908
|
+
if (isBody) {
|
|
909
|
+
const frameElement = getFrameElement(win);
|
|
910
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
911
|
+
}
|
|
912
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
913
|
+
}
|
|
914
|
+
function getFrameElement(win) {
|
|
915
|
+
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
// node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
919
|
+
function getCssDimensions(element) {
|
|
920
|
+
const css = getComputedStyle2(element);
|
|
921
|
+
let width = parseFloat(css.width) || 0;
|
|
922
|
+
let height = parseFloat(css.height) || 0;
|
|
923
|
+
const hasOffset = isHTMLElement(element);
|
|
924
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
925
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
926
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
927
|
+
if (shouldFallback) {
|
|
928
|
+
width = offsetWidth;
|
|
929
|
+
height = offsetHeight;
|
|
930
|
+
}
|
|
931
|
+
return {
|
|
932
|
+
width,
|
|
933
|
+
height,
|
|
934
|
+
$: shouldFallback
|
|
935
|
+
};
|
|
936
|
+
}
|
|
937
|
+
function unwrapElement(element) {
|
|
938
|
+
return !isElement(element) ? element.contextElement : element;
|
|
939
|
+
}
|
|
940
|
+
function getScale(element) {
|
|
941
|
+
const domElement = unwrapElement(element);
|
|
942
|
+
if (!isHTMLElement(domElement)) {
|
|
943
|
+
return createCoords(1);
|
|
944
|
+
}
|
|
945
|
+
const rect = domElement.getBoundingClientRect();
|
|
946
|
+
const {
|
|
947
|
+
width,
|
|
948
|
+
height,
|
|
949
|
+
$
|
|
950
|
+
} = getCssDimensions(domElement);
|
|
951
|
+
let x2 = ($ ? round(rect.width) : rect.width) / width;
|
|
952
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
953
|
+
if (!x2 || !Number.isFinite(x2)) {
|
|
954
|
+
x2 = 1;
|
|
955
|
+
}
|
|
956
|
+
if (!y || !Number.isFinite(y)) {
|
|
957
|
+
y = 1;
|
|
958
|
+
}
|
|
959
|
+
return {
|
|
960
|
+
x: x2,
|
|
961
|
+
y
|
|
962
|
+
};
|
|
963
|
+
}
|
|
964
|
+
var noOffsets = /* @__PURE__ */ createCoords(0);
|
|
965
|
+
function getVisualOffsets(element) {
|
|
966
|
+
const win = getWindow(element);
|
|
967
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
968
|
+
return noOffsets;
|
|
969
|
+
}
|
|
970
|
+
return {
|
|
971
|
+
x: win.visualViewport.offsetLeft,
|
|
972
|
+
y: win.visualViewport.offsetTop
|
|
973
|
+
};
|
|
974
|
+
}
|
|
975
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
976
|
+
if (isFixed === void 0) {
|
|
977
|
+
isFixed = false;
|
|
978
|
+
}
|
|
979
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
980
|
+
return false;
|
|
981
|
+
}
|
|
982
|
+
return isFixed;
|
|
983
|
+
}
|
|
984
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
985
|
+
if (includeScale === void 0) {
|
|
986
|
+
includeScale = false;
|
|
987
|
+
}
|
|
988
|
+
if (isFixedStrategy === void 0) {
|
|
989
|
+
isFixedStrategy = false;
|
|
990
|
+
}
|
|
991
|
+
const clientRect = element.getBoundingClientRect();
|
|
992
|
+
const domElement = unwrapElement(element);
|
|
993
|
+
let scale = createCoords(1);
|
|
994
|
+
if (includeScale) {
|
|
995
|
+
if (offsetParent) {
|
|
996
|
+
if (isElement(offsetParent)) {
|
|
997
|
+
scale = getScale(offsetParent);
|
|
998
|
+
}
|
|
999
|
+
} else {
|
|
1000
|
+
scale = getScale(element);
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
1004
|
+
let x2 = (clientRect.left + visualOffsets.x) / scale.x;
|
|
1005
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1006
|
+
let width = clientRect.width / scale.x;
|
|
1007
|
+
let height = clientRect.height / scale.y;
|
|
1008
|
+
if (domElement) {
|
|
1009
|
+
const win = getWindow(domElement);
|
|
1010
|
+
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1011
|
+
let currentWin = win;
|
|
1012
|
+
let currentIFrame = getFrameElement(currentWin);
|
|
1013
|
+
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
1014
|
+
const iframeScale = getScale(currentIFrame);
|
|
1015
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1016
|
+
const css = getComputedStyle2(currentIFrame);
|
|
1017
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1018
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1019
|
+
x2 *= iframeScale.x;
|
|
1020
|
+
y *= iframeScale.y;
|
|
1021
|
+
width *= iframeScale.x;
|
|
1022
|
+
height *= iframeScale.y;
|
|
1023
|
+
x2 += left;
|
|
1024
|
+
y += top;
|
|
1025
|
+
currentWin = getWindow(currentIFrame);
|
|
1026
|
+
currentIFrame = getFrameElement(currentWin);
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
return rectToClientRect({
|
|
1030
|
+
width,
|
|
1031
|
+
height,
|
|
1032
|
+
x: x2,
|
|
1033
|
+
y
|
|
1034
|
+
});
|
|
1035
|
+
}
|
|
1036
|
+
function getWindowScrollBarX(element, rect) {
|
|
1037
|
+
const leftScroll = getNodeScroll(element).scrollLeft;
|
|
1038
|
+
if (!rect) {
|
|
1039
|
+
return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
|
1040
|
+
}
|
|
1041
|
+
return rect.left + leftScroll;
|
|
1042
|
+
}
|
|
1043
|
+
function getHTMLOffset(documentElement, scroll) {
|
|
1044
|
+
const htmlRect = documentElement.getBoundingClientRect();
|
|
1045
|
+
const x2 = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
|
|
1046
|
+
const y = htmlRect.top + scroll.scrollTop;
|
|
1047
|
+
return {
|
|
1048
|
+
x: x2,
|
|
1049
|
+
y
|
|
1050
|
+
};
|
|
1051
|
+
}
|
|
1052
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1053
|
+
let {
|
|
1054
|
+
elements,
|
|
1055
|
+
rect,
|
|
1056
|
+
offsetParent,
|
|
1057
|
+
strategy
|
|
1058
|
+
} = _ref;
|
|
1059
|
+
const isFixed = strategy === "fixed";
|
|
1060
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1061
|
+
const topLayer = elements ? isTopLayer(elements.floating) : false;
|
|
1062
|
+
if (offsetParent === documentElement || topLayer && isFixed) {
|
|
1063
|
+
return rect;
|
|
1064
|
+
}
|
|
1065
|
+
let scroll = {
|
|
1066
|
+
scrollLeft: 0,
|
|
1067
|
+
scrollTop: 0
|
|
1068
|
+
};
|
|
1069
|
+
let scale = createCoords(1);
|
|
1070
|
+
const offsets = createCoords(0);
|
|
1071
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1072
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1073
|
+
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
1074
|
+
scroll = getNodeScroll(offsetParent);
|
|
1075
|
+
}
|
|
1076
|
+
if (isHTMLElement(offsetParent)) {
|
|
1077
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1078
|
+
scale = getScale(offsetParent);
|
|
1079
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1080
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1084
|
+
return {
|
|
1085
|
+
width: rect.width * scale.x,
|
|
1086
|
+
height: rect.height * scale.y,
|
|
1087
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
|
|
1088
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
|
|
1089
|
+
};
|
|
1090
|
+
}
|
|
1091
|
+
function getClientRects(element) {
|
|
1092
|
+
return Array.from(element.getClientRects());
|
|
1093
|
+
}
|
|
1094
|
+
function getDocumentRect(element) {
|
|
1095
|
+
const html = getDocumentElement(element);
|
|
1096
|
+
const scroll = getNodeScroll(element);
|
|
1097
|
+
const body = element.ownerDocument.body;
|
|
1098
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1099
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1100
|
+
let x2 = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1101
|
+
const y = -scroll.scrollTop;
|
|
1102
|
+
if (getComputedStyle2(body).direction === "rtl") {
|
|
1103
|
+
x2 += max(html.clientWidth, body.clientWidth) - width;
|
|
1104
|
+
}
|
|
1105
|
+
return {
|
|
1106
|
+
width,
|
|
1107
|
+
height,
|
|
1108
|
+
x: x2,
|
|
1109
|
+
y
|
|
1110
|
+
};
|
|
1111
|
+
}
|
|
1112
|
+
var SCROLLBAR_MAX = 25;
|
|
1113
|
+
function getViewportRect(element, strategy) {
|
|
1114
|
+
const win = getWindow(element);
|
|
1115
|
+
const html = getDocumentElement(element);
|
|
1116
|
+
const visualViewport = win.visualViewport;
|
|
1117
|
+
let width = html.clientWidth;
|
|
1118
|
+
let height = html.clientHeight;
|
|
1119
|
+
let x2 = 0;
|
|
1120
|
+
let y = 0;
|
|
1121
|
+
if (visualViewport) {
|
|
1122
|
+
width = visualViewport.width;
|
|
1123
|
+
height = visualViewport.height;
|
|
1124
|
+
const visualViewportBased = isWebKit();
|
|
1125
|
+
if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
|
|
1126
|
+
x2 = visualViewport.offsetLeft;
|
|
1127
|
+
y = visualViewport.offsetTop;
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
const windowScrollbarX = getWindowScrollBarX(html);
|
|
1131
|
+
if (windowScrollbarX <= 0) {
|
|
1132
|
+
const doc = html.ownerDocument;
|
|
1133
|
+
const body = doc.body;
|
|
1134
|
+
const bodyStyles = getComputedStyle(body);
|
|
1135
|
+
const bodyMarginInline = doc.compatMode === "CSS1Compat" ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
|
|
1136
|
+
const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
|
|
1137
|
+
if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {
|
|
1138
|
+
width -= clippingStableScrollbarWidth;
|
|
1139
|
+
}
|
|
1140
|
+
} else if (windowScrollbarX <= SCROLLBAR_MAX) {
|
|
1141
|
+
width += windowScrollbarX;
|
|
1142
|
+
}
|
|
1143
|
+
return {
|
|
1144
|
+
width,
|
|
1145
|
+
height,
|
|
1146
|
+
x: x2,
|
|
1147
|
+
y
|
|
1148
|
+
};
|
|
1149
|
+
}
|
|
1150
|
+
var absoluteOrFixed = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
1151
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
1152
|
+
const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
|
|
1153
|
+
const top = clientRect.top + element.clientTop;
|
|
1154
|
+
const left = clientRect.left + element.clientLeft;
|
|
1155
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1156
|
+
const width = element.clientWidth * scale.x;
|
|
1157
|
+
const height = element.clientHeight * scale.y;
|
|
1158
|
+
const x2 = left * scale.x;
|
|
1159
|
+
const y = top * scale.y;
|
|
1160
|
+
return {
|
|
1161
|
+
width,
|
|
1162
|
+
height,
|
|
1163
|
+
x: x2,
|
|
1164
|
+
y
|
|
1165
|
+
};
|
|
1166
|
+
}
|
|
1167
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1168
|
+
let rect;
|
|
1169
|
+
if (clippingAncestor === "viewport") {
|
|
1170
|
+
rect = getViewportRect(element, strategy);
|
|
1171
|
+
} else if (clippingAncestor === "document") {
|
|
1172
|
+
rect = getDocumentRect(getDocumentElement(element));
|
|
1173
|
+
} else if (isElement(clippingAncestor)) {
|
|
1174
|
+
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1175
|
+
} else {
|
|
1176
|
+
const visualOffsets = getVisualOffsets(element);
|
|
1177
|
+
rect = {
|
|
1178
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
1179
|
+
y: clippingAncestor.y - visualOffsets.y,
|
|
1180
|
+
width: clippingAncestor.width,
|
|
1181
|
+
height: clippingAncestor.height
|
|
1182
|
+
};
|
|
1183
|
+
}
|
|
1184
|
+
return rectToClientRect(rect);
|
|
1185
|
+
}
|
|
1186
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
1187
|
+
const parentNode = getParentNode(element);
|
|
1188
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1189
|
+
return false;
|
|
1190
|
+
}
|
|
1191
|
+
return getComputedStyle2(parentNode).position === "fixed" || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1192
|
+
}
|
|
1193
|
+
function getClippingElementAncestors(element, cache) {
|
|
1194
|
+
const cachedResult = cache.get(element);
|
|
1195
|
+
if (cachedResult) {
|
|
1196
|
+
return cachedResult;
|
|
1197
|
+
}
|
|
1198
|
+
let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
|
|
1199
|
+
let currentContainingBlockComputedStyle = null;
|
|
1200
|
+
const elementIsFixed = getComputedStyle2(element).position === "fixed";
|
|
1201
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1202
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1203
|
+
const computedStyle = getComputedStyle2(currentNode);
|
|
1204
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1205
|
+
if (!currentNodeIsContaining && computedStyle.position === "fixed") {
|
|
1206
|
+
currentContainingBlockComputedStyle = null;
|
|
1207
|
+
}
|
|
1208
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1209
|
+
if (shouldDropCurrentNode) {
|
|
1210
|
+
result = result.filter((ancestor) => ancestor !== currentNode);
|
|
1211
|
+
} else {
|
|
1212
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
1213
|
+
}
|
|
1214
|
+
currentNode = getParentNode(currentNode);
|
|
1215
|
+
}
|
|
1216
|
+
cache.set(element, result);
|
|
1217
|
+
return result;
|
|
1218
|
+
}
|
|
1219
|
+
function getClippingRect(_ref) {
|
|
1220
|
+
let {
|
|
1221
|
+
element,
|
|
1222
|
+
boundary,
|
|
1223
|
+
rootBoundary,
|
|
1224
|
+
strategy
|
|
1225
|
+
} = _ref;
|
|
1226
|
+
const elementClippingAncestors = boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1227
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1228
|
+
const firstClippingAncestor = clippingAncestors[0];
|
|
1229
|
+
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1230
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1231
|
+
accRect.top = max(rect.top, accRect.top);
|
|
1232
|
+
accRect.right = min(rect.right, accRect.right);
|
|
1233
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1234
|
+
accRect.left = max(rect.left, accRect.left);
|
|
1235
|
+
return accRect;
|
|
1236
|
+
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1237
|
+
return {
|
|
1238
|
+
width: clippingRect.right - clippingRect.left,
|
|
1239
|
+
height: clippingRect.bottom - clippingRect.top,
|
|
1240
|
+
x: clippingRect.left,
|
|
1241
|
+
y: clippingRect.top
|
|
1242
|
+
};
|
|
1243
|
+
}
|
|
1244
|
+
function getDimensions(element) {
|
|
1245
|
+
const {
|
|
1246
|
+
width,
|
|
1247
|
+
height
|
|
1248
|
+
} = getCssDimensions(element);
|
|
1249
|
+
return {
|
|
1250
|
+
width,
|
|
1251
|
+
height
|
|
1252
|
+
};
|
|
1253
|
+
}
|
|
1254
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1255
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1256
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1257
|
+
const isFixed = strategy === "fixed";
|
|
1258
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1259
|
+
let scroll = {
|
|
1260
|
+
scrollLeft: 0,
|
|
1261
|
+
scrollTop: 0
|
|
1262
|
+
};
|
|
1263
|
+
const offsets = createCoords(0);
|
|
1264
|
+
function setLeftRTLScrollbarOffset() {
|
|
1265
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1266
|
+
}
|
|
1267
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1268
|
+
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
1269
|
+
scroll = getNodeScroll(offsetParent);
|
|
1270
|
+
}
|
|
1271
|
+
if (isOffsetParentAnElement) {
|
|
1272
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1273
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1274
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1275
|
+
} else if (documentElement) {
|
|
1276
|
+
setLeftRTLScrollbarOffset();
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
if (isFixed && !isOffsetParentAnElement && documentElement) {
|
|
1280
|
+
setLeftRTLScrollbarOffset();
|
|
1281
|
+
}
|
|
1282
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1283
|
+
const x2 = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
1284
|
+
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
1285
|
+
return {
|
|
1286
|
+
x: x2,
|
|
1287
|
+
y,
|
|
1288
|
+
width: rect.width,
|
|
1289
|
+
height: rect.height
|
|
1290
|
+
};
|
|
1291
|
+
}
|
|
1292
|
+
function isStaticPositioned(element) {
|
|
1293
|
+
return getComputedStyle2(element).position === "static";
|
|
1294
|
+
}
|
|
1295
|
+
function getTrueOffsetParent(element, polyfill) {
|
|
1296
|
+
if (!isHTMLElement(element) || getComputedStyle2(element).position === "fixed") {
|
|
1297
|
+
return null;
|
|
1298
|
+
}
|
|
1299
|
+
if (polyfill) {
|
|
1300
|
+
return polyfill(element);
|
|
1301
|
+
}
|
|
1302
|
+
let rawOffsetParent = element.offsetParent;
|
|
1303
|
+
if (getDocumentElement(element) === rawOffsetParent) {
|
|
1304
|
+
rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
|
1305
|
+
}
|
|
1306
|
+
return rawOffsetParent;
|
|
1307
|
+
}
|
|
1308
|
+
function getOffsetParent(element, polyfill) {
|
|
1309
|
+
const win = getWindow(element);
|
|
1310
|
+
if (isTopLayer(element)) {
|
|
1311
|
+
return win;
|
|
1312
|
+
}
|
|
1313
|
+
if (!isHTMLElement(element)) {
|
|
1314
|
+
let svgOffsetParent = getParentNode(element);
|
|
1315
|
+
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
1316
|
+
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
1317
|
+
return svgOffsetParent;
|
|
1318
|
+
}
|
|
1319
|
+
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
1320
|
+
}
|
|
1321
|
+
return win;
|
|
1322
|
+
}
|
|
1323
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1324
|
+
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
1325
|
+
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1326
|
+
}
|
|
1327
|
+
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
1328
|
+
return win;
|
|
1329
|
+
}
|
|
1330
|
+
return offsetParent || getContainingBlock(element) || win;
|
|
1331
|
+
}
|
|
1332
|
+
var getElementRects = async function(data) {
|
|
1333
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1334
|
+
const getDimensionsFn = this.getDimensions;
|
|
1335
|
+
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
1336
|
+
return {
|
|
1337
|
+
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
1338
|
+
floating: {
|
|
1339
|
+
x: 0,
|
|
1340
|
+
y: 0,
|
|
1341
|
+
width: floatingDimensions.width,
|
|
1342
|
+
height: floatingDimensions.height
|
|
1343
|
+
}
|
|
1344
|
+
};
|
|
1345
|
+
};
|
|
1346
|
+
function isRTL(element) {
|
|
1347
|
+
return getComputedStyle2(element).direction === "rtl";
|
|
1348
|
+
}
|
|
1349
|
+
var platform = {
|
|
1350
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1351
|
+
getDocumentElement,
|
|
1352
|
+
getClippingRect,
|
|
1353
|
+
getOffsetParent,
|
|
1354
|
+
getElementRects,
|
|
1355
|
+
getClientRects,
|
|
1356
|
+
getDimensions,
|
|
1357
|
+
getScale,
|
|
1358
|
+
isElement,
|
|
1359
|
+
isRTL
|
|
1360
|
+
};
|
|
1361
|
+
function rectsAreEqual(a, b) {
|
|
1362
|
+
return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
|
|
1363
|
+
}
|
|
1364
|
+
function observeMove(element, onMove) {
|
|
1365
|
+
let io = null;
|
|
1366
|
+
let timeoutId;
|
|
1367
|
+
const root = getDocumentElement(element);
|
|
1368
|
+
function cleanup() {
|
|
1369
|
+
var _io;
|
|
1370
|
+
clearTimeout(timeoutId);
|
|
1371
|
+
(_io = io) == null || _io.disconnect();
|
|
1372
|
+
io = null;
|
|
1373
|
+
}
|
|
1374
|
+
function refresh(skip, threshold) {
|
|
1375
|
+
if (skip === void 0) {
|
|
1376
|
+
skip = false;
|
|
1377
|
+
}
|
|
1378
|
+
if (threshold === void 0) {
|
|
1379
|
+
threshold = 1;
|
|
1380
|
+
}
|
|
1381
|
+
cleanup();
|
|
1382
|
+
const elementRectForRootMargin = element.getBoundingClientRect();
|
|
1383
|
+
const {
|
|
1384
|
+
left,
|
|
1385
|
+
top,
|
|
1386
|
+
width,
|
|
1387
|
+
height
|
|
1388
|
+
} = elementRectForRootMargin;
|
|
1389
|
+
if (!skip) {
|
|
1390
|
+
onMove();
|
|
1391
|
+
}
|
|
1392
|
+
if (!width || !height) {
|
|
1393
|
+
return;
|
|
1394
|
+
}
|
|
1395
|
+
const insetTop = floor(top);
|
|
1396
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
|
1397
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1398
|
+
const insetLeft = floor(left);
|
|
1399
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1400
|
+
const options = {
|
|
1401
|
+
rootMargin,
|
|
1402
|
+
threshold: max(0, min(1, threshold)) || 1
|
|
1403
|
+
};
|
|
1404
|
+
let isFirstUpdate = true;
|
|
1405
|
+
function handleObserve(entries) {
|
|
1406
|
+
const ratio = entries[0].intersectionRatio;
|
|
1407
|
+
if (ratio !== threshold) {
|
|
1408
|
+
if (!isFirstUpdate) {
|
|
1409
|
+
return refresh();
|
|
1410
|
+
}
|
|
1411
|
+
if (!ratio) {
|
|
1412
|
+
timeoutId = setTimeout(() => {
|
|
1413
|
+
refresh(false, 1e-7);
|
|
1414
|
+
}, 1e3);
|
|
1415
|
+
} else {
|
|
1416
|
+
refresh(false, ratio);
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
1420
|
+
refresh();
|
|
1421
|
+
}
|
|
1422
|
+
isFirstUpdate = false;
|
|
1423
|
+
}
|
|
1424
|
+
try {
|
|
1425
|
+
io = new IntersectionObserver(handleObserve, __spreadProps(__spreadValues({}, options), {
|
|
1426
|
+
// Handle <iframe>s
|
|
1427
|
+
root: root.ownerDocument
|
|
1428
|
+
}));
|
|
1429
|
+
} catch (_e) {
|
|
1430
|
+
io = new IntersectionObserver(handleObserve, options);
|
|
1431
|
+
}
|
|
1432
|
+
io.observe(element);
|
|
1433
|
+
}
|
|
1434
|
+
refresh(true);
|
|
1435
|
+
return cleanup;
|
|
1436
|
+
}
|
|
1437
|
+
function autoUpdate(reference, floating, update, options) {
|
|
1438
|
+
if (options === void 0) {
|
|
1439
|
+
options = {};
|
|
1440
|
+
}
|
|
1441
|
+
const {
|
|
1442
|
+
ancestorScroll = true,
|
|
1443
|
+
ancestorResize = true,
|
|
1444
|
+
elementResize = typeof ResizeObserver === "function",
|
|
1445
|
+
layoutShift = typeof IntersectionObserver === "function",
|
|
1446
|
+
animationFrame = false
|
|
1447
|
+
} = options;
|
|
1448
|
+
const referenceEl = unwrapElement(reference);
|
|
1449
|
+
const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...getOverflowAncestors(floating)] : [];
|
|
1450
|
+
ancestors.forEach((ancestor) => {
|
|
1451
|
+
ancestorScroll && ancestor.addEventListener("scroll", update, {
|
|
1452
|
+
passive: true
|
|
1453
|
+
});
|
|
1454
|
+
ancestorResize && ancestor.addEventListener("resize", update);
|
|
1455
|
+
});
|
|
1456
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1457
|
+
let reobserveFrame = -1;
|
|
1458
|
+
let resizeObserver = null;
|
|
1459
|
+
if (elementResize) {
|
|
1460
|
+
resizeObserver = new ResizeObserver((_ref) => {
|
|
1461
|
+
let [firstEntry] = _ref;
|
|
1462
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1463
|
+
resizeObserver.unobserve(floating);
|
|
1464
|
+
cancelAnimationFrame(reobserveFrame);
|
|
1465
|
+
reobserveFrame = requestAnimationFrame(() => {
|
|
1466
|
+
var _resizeObserver;
|
|
1467
|
+
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
|
1468
|
+
});
|
|
1469
|
+
}
|
|
1470
|
+
update();
|
|
1471
|
+
});
|
|
1472
|
+
if (referenceEl && !animationFrame) {
|
|
1473
|
+
resizeObserver.observe(referenceEl);
|
|
1474
|
+
}
|
|
1475
|
+
resizeObserver.observe(floating);
|
|
1476
|
+
}
|
|
1477
|
+
let frameId;
|
|
1478
|
+
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1479
|
+
if (animationFrame) {
|
|
1480
|
+
frameLoop();
|
|
1481
|
+
}
|
|
1482
|
+
function frameLoop() {
|
|
1483
|
+
const nextRefRect = getBoundingClientRect(reference);
|
|
1484
|
+
if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
|
|
1485
|
+
update();
|
|
1486
|
+
}
|
|
1487
|
+
prevRefRect = nextRefRect;
|
|
1488
|
+
frameId = requestAnimationFrame(frameLoop);
|
|
1489
|
+
}
|
|
1490
|
+
update();
|
|
1491
|
+
return () => {
|
|
1492
|
+
var _resizeObserver2;
|
|
1493
|
+
ancestors.forEach((ancestor) => {
|
|
1494
|
+
ancestorScroll && ancestor.removeEventListener("scroll", update);
|
|
1495
|
+
ancestorResize && ancestor.removeEventListener("resize", update);
|
|
1496
|
+
});
|
|
1497
|
+
cleanupIo == null || cleanupIo();
|
|
1498
|
+
(_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
|
|
1499
|
+
resizeObserver = null;
|
|
1500
|
+
if (animationFrame) {
|
|
1501
|
+
cancelAnimationFrame(frameId);
|
|
1502
|
+
}
|
|
1503
|
+
};
|
|
1504
|
+
}
|
|
1505
|
+
var offset2 = offset;
|
|
1506
|
+
var shift2 = shift;
|
|
1507
|
+
var flip2 = flip;
|
|
1508
|
+
var size2 = size;
|
|
1509
|
+
var arrow2 = arrow;
|
|
1510
|
+
var computePosition2 = (reference, floating, options) => {
|
|
1511
|
+
const cache = /* @__PURE__ */ new Map();
|
|
1512
|
+
const mergedOptions = __spreadValues({
|
|
1513
|
+
platform
|
|
1514
|
+
}, options);
|
|
1515
|
+
const platformWithCache = __spreadProps(__spreadValues({}, mergedOptions.platform), {
|
|
1516
|
+
_c: cache
|
|
1517
|
+
});
|
|
1518
|
+
return computePosition(reference, floating, __spreadProps(__spreadValues({}, mergedOptions), {
|
|
1519
|
+
platform: platformWithCache
|
|
1520
|
+
}));
|
|
1521
|
+
};
|
|
1522
|
+
|
|
1523
|
+
// node_modules/composed-offset-position/dist/composed-offset-position.browser.min.mjs
|
|
1524
|
+
init_dirname();
|
|
1525
|
+
init_buffer();
|
|
1526
|
+
init_process();
|
|
1527
|
+
function t(t2) {
|
|
1528
|
+
return r(t2);
|
|
1529
|
+
}
|
|
1530
|
+
function o(t2) {
|
|
1531
|
+
return t2.assignedSlot ? t2.assignedSlot : t2.parentNode instanceof ShadowRoot ? t2.parentNode.host : t2.parentNode;
|
|
1532
|
+
}
|
|
1533
|
+
function r(t2) {
|
|
1534
|
+
for (let e3 = t2; e3; e3 = o(e3))
|
|
1535
|
+
if (e3 instanceof Element && "none" === getComputedStyle(e3).display)
|
|
1536
|
+
return null;
|
|
1537
|
+
for (let e3 = o(t2); e3; e3 = o(e3)) {
|
|
1538
|
+
if (!(e3 instanceof Element))
|
|
1539
|
+
continue;
|
|
1540
|
+
const t3 = getComputedStyle(e3);
|
|
1541
|
+
if ("contents" !== t3.display) {
|
|
1542
|
+
if ("static" !== t3.position || "none" !== t3.filter)
|
|
1543
|
+
return e3;
|
|
1544
|
+
if ("BODY" === e3.tagName)
|
|
1545
|
+
return e3;
|
|
1546
|
+
}
|
|
1547
|
+
}
|
|
1548
|
+
return null;
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
// src/components/popup/popup.component.ts
|
|
1552
|
+
function isVirtualElement(e3) {
|
|
1553
|
+
return e3 !== null && typeof e3 === "object" && "getBoundingClientRect" in e3 && ("contextElement" in e3 ? e3.contextElement instanceof Element : true);
|
|
1554
|
+
}
|
|
1555
|
+
var TerraPopup = class extends TerraElement {
|
|
1556
|
+
constructor() {
|
|
1557
|
+
super(...arguments);
|
|
1558
|
+
this.active = false;
|
|
1559
|
+
this.placement = "top";
|
|
1560
|
+
this.strategy = "absolute";
|
|
1561
|
+
this.distance = 0;
|
|
1562
|
+
this.skidding = 0;
|
|
1563
|
+
this.arrow = false;
|
|
1564
|
+
this.arrowPlacement = "anchor";
|
|
1565
|
+
this.arrowPadding = 10;
|
|
1566
|
+
this.flip = false;
|
|
1567
|
+
this.flipFallbackPlacements = "";
|
|
1568
|
+
this.flipFallbackStrategy = "best-fit";
|
|
1569
|
+
this.flipPadding = 0;
|
|
1570
|
+
this.shift = false;
|
|
1571
|
+
this.shiftPadding = 0;
|
|
1572
|
+
this.autoSizePadding = 0;
|
|
1573
|
+
this.hoverBridge = false;
|
|
1574
|
+
this.updateHoverBridge = () => {
|
|
1575
|
+
if (this.hoverBridge && this.anchorEl) {
|
|
1576
|
+
const anchorRect = this.anchorEl.getBoundingClientRect();
|
|
1577
|
+
const popupRect = this.popup.getBoundingClientRect();
|
|
1578
|
+
const isVertical = this.placement.includes("top") || this.placement.includes("bottom");
|
|
1579
|
+
let topLeftX = 0;
|
|
1580
|
+
let topLeftY = 0;
|
|
1581
|
+
let topRightX = 0;
|
|
1582
|
+
let topRightY = 0;
|
|
1583
|
+
let bottomLeftX = 0;
|
|
1584
|
+
let bottomLeftY = 0;
|
|
1585
|
+
let bottomRightX = 0;
|
|
1586
|
+
let bottomRightY = 0;
|
|
1587
|
+
if (isVertical) {
|
|
1588
|
+
if (anchorRect.top < popupRect.top) {
|
|
1589
|
+
topLeftX = anchorRect.left;
|
|
1590
|
+
topLeftY = anchorRect.bottom;
|
|
1591
|
+
topRightX = anchorRect.right;
|
|
1592
|
+
topRightY = anchorRect.bottom;
|
|
1593
|
+
bottomLeftX = popupRect.left;
|
|
1594
|
+
bottomLeftY = popupRect.top;
|
|
1595
|
+
bottomRightX = popupRect.right;
|
|
1596
|
+
bottomRightY = popupRect.top;
|
|
1597
|
+
} else {
|
|
1598
|
+
topLeftX = popupRect.left;
|
|
1599
|
+
topLeftY = popupRect.bottom;
|
|
1600
|
+
topRightX = popupRect.right;
|
|
1601
|
+
topRightY = popupRect.bottom;
|
|
1602
|
+
bottomLeftX = anchorRect.left;
|
|
1603
|
+
bottomLeftY = anchorRect.top;
|
|
1604
|
+
bottomRightX = anchorRect.right;
|
|
1605
|
+
bottomRightY = anchorRect.top;
|
|
1606
|
+
}
|
|
1607
|
+
} else {
|
|
1608
|
+
if (anchorRect.left < popupRect.left) {
|
|
1609
|
+
topLeftX = anchorRect.right;
|
|
1610
|
+
topLeftY = anchorRect.top;
|
|
1611
|
+
topRightX = popupRect.left;
|
|
1612
|
+
topRightY = popupRect.top;
|
|
1613
|
+
bottomLeftX = anchorRect.right;
|
|
1614
|
+
bottomLeftY = anchorRect.bottom;
|
|
1615
|
+
bottomRightX = popupRect.left;
|
|
1616
|
+
bottomRightY = popupRect.bottom;
|
|
1617
|
+
} else {
|
|
1618
|
+
topLeftX = popupRect.right;
|
|
1619
|
+
topLeftY = popupRect.top;
|
|
1620
|
+
topRightX = anchorRect.left;
|
|
1621
|
+
topRightY = anchorRect.top;
|
|
1622
|
+
bottomLeftX = popupRect.right;
|
|
1623
|
+
bottomLeftY = popupRect.bottom;
|
|
1624
|
+
bottomRightX = anchorRect.left;
|
|
1625
|
+
bottomRightY = anchorRect.bottom;
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
this.style.setProperty("--hover-bridge-top-left-x", `${topLeftX}px`);
|
|
1629
|
+
this.style.setProperty("--hover-bridge-top-left-y", `${topLeftY}px`);
|
|
1630
|
+
this.style.setProperty("--hover-bridge-top-right-x", `${topRightX}px`);
|
|
1631
|
+
this.style.setProperty("--hover-bridge-top-right-y", `${topRightY}px`);
|
|
1632
|
+
this.style.setProperty("--hover-bridge-bottom-left-x", `${bottomLeftX}px`);
|
|
1633
|
+
this.style.setProperty("--hover-bridge-bottom-left-y", `${bottomLeftY}px`);
|
|
1634
|
+
this.style.setProperty(
|
|
1635
|
+
"--hover-bridge-bottom-right-x",
|
|
1636
|
+
`${bottomRightX}px`
|
|
1637
|
+
);
|
|
1638
|
+
this.style.setProperty(
|
|
1639
|
+
"--hover-bridge-bottom-right-y",
|
|
1640
|
+
`${bottomRightY}px`
|
|
1641
|
+
);
|
|
1642
|
+
}
|
|
1643
|
+
};
|
|
1644
|
+
}
|
|
1645
|
+
async connectedCallback() {
|
|
1646
|
+
super.connectedCallback();
|
|
1647
|
+
await this.updateComplete;
|
|
1648
|
+
this.start();
|
|
1649
|
+
}
|
|
1650
|
+
disconnectedCallback() {
|
|
1651
|
+
super.disconnectedCallback();
|
|
1652
|
+
this.stop();
|
|
1653
|
+
}
|
|
1654
|
+
async updated(changedProps) {
|
|
1655
|
+
super.updated(changedProps);
|
|
1656
|
+
if (changedProps.has("active")) {
|
|
1657
|
+
if (this.active) {
|
|
1658
|
+
this.start();
|
|
1659
|
+
} else {
|
|
1660
|
+
this.stop();
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
if (changedProps.has("anchor")) {
|
|
1664
|
+
this.handleAnchorChange();
|
|
1665
|
+
}
|
|
1666
|
+
if (this.active) {
|
|
1667
|
+
await this.updateComplete;
|
|
1668
|
+
this.reposition();
|
|
1669
|
+
}
|
|
1670
|
+
}
|
|
1671
|
+
async handleAnchorChange() {
|
|
1672
|
+
await this.stop();
|
|
1673
|
+
if (this.anchor && typeof this.anchor === "string") {
|
|
1674
|
+
const root = this.getRootNode();
|
|
1675
|
+
this.anchorEl = root.getElementById(this.anchor);
|
|
1676
|
+
} else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {
|
|
1677
|
+
this.anchorEl = this.anchor;
|
|
1678
|
+
} else {
|
|
1679
|
+
this.anchorEl = this.querySelector('[slot="anchor"]');
|
|
1680
|
+
}
|
|
1681
|
+
if (this.anchorEl instanceof HTMLSlotElement) {
|
|
1682
|
+
this.anchorEl = this.anchorEl.assignedElements({
|
|
1683
|
+
flatten: true
|
|
1684
|
+
})[0];
|
|
1685
|
+
}
|
|
1686
|
+
if (this.anchorEl && this.active) {
|
|
1687
|
+
this.start();
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
start() {
|
|
1691
|
+
if (!this.anchorEl || !this.active) {
|
|
1692
|
+
return;
|
|
1693
|
+
}
|
|
1694
|
+
this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {
|
|
1695
|
+
this.reposition();
|
|
1696
|
+
});
|
|
1697
|
+
}
|
|
1698
|
+
async stop() {
|
|
1699
|
+
return new Promise((resolve) => {
|
|
1700
|
+
if (this.cleanup) {
|
|
1701
|
+
this.cleanup();
|
|
1702
|
+
this.cleanup = void 0;
|
|
1703
|
+
this.removeAttribute("data-current-placement");
|
|
1704
|
+
this.style.removeProperty("--auto-size-available-width");
|
|
1705
|
+
this.style.removeProperty("--auto-size-available-height");
|
|
1706
|
+
requestAnimationFrame(() => resolve());
|
|
1707
|
+
} else {
|
|
1708
|
+
resolve();
|
|
1709
|
+
}
|
|
1710
|
+
});
|
|
1711
|
+
}
|
|
1712
|
+
/** Forces the popup to recalculate and reposition itself. */
|
|
1713
|
+
reposition() {
|
|
1714
|
+
if (!this.active || !this.anchorEl) {
|
|
1715
|
+
return;
|
|
1716
|
+
}
|
|
1717
|
+
const middleware = [
|
|
1718
|
+
// The offset middleware goes first
|
|
1719
|
+
offset2({ mainAxis: this.distance, crossAxis: this.skidding })
|
|
1720
|
+
];
|
|
1721
|
+
if (this.sync) {
|
|
1722
|
+
middleware.push(
|
|
1723
|
+
size2({
|
|
1724
|
+
apply: ({ rects }) => {
|
|
1725
|
+
const syncWidth = this.sync === "width" || this.sync === "both";
|
|
1726
|
+
const syncHeight = this.sync === "height" || this.sync === "both";
|
|
1727
|
+
this.popup.style.width = syncWidth ? `${rects.reference.width}px` : "";
|
|
1728
|
+
this.popup.style.height = syncHeight ? `${rects.reference.height}px` : "";
|
|
1729
|
+
}
|
|
1730
|
+
})
|
|
1731
|
+
);
|
|
1732
|
+
} else {
|
|
1733
|
+
this.popup.style.width = "";
|
|
1734
|
+
this.popup.style.height = "";
|
|
1735
|
+
}
|
|
1736
|
+
if (this.flip) {
|
|
1737
|
+
middleware.push(
|
|
1738
|
+
flip2({
|
|
1739
|
+
boundary: this.flipBoundary,
|
|
1740
|
+
// @ts-expect-error - We're converting a string attribute to an array here
|
|
1741
|
+
fallbackPlacements: this.flipFallbackPlacements,
|
|
1742
|
+
fallbackStrategy: this.flipFallbackStrategy === "best-fit" ? "bestFit" : "initialPlacement",
|
|
1743
|
+
padding: this.flipPadding
|
|
1744
|
+
})
|
|
1745
|
+
);
|
|
1746
|
+
}
|
|
1747
|
+
if (this.shift) {
|
|
1748
|
+
middleware.push(
|
|
1749
|
+
shift2({
|
|
1750
|
+
boundary: this.shiftBoundary,
|
|
1751
|
+
padding: this.shiftPadding
|
|
1752
|
+
})
|
|
1753
|
+
);
|
|
1754
|
+
}
|
|
1755
|
+
if (this.autoSize) {
|
|
1756
|
+
middleware.push(
|
|
1757
|
+
size2({
|
|
1758
|
+
boundary: this.autoSizeBoundary,
|
|
1759
|
+
padding: this.autoSizePadding,
|
|
1760
|
+
apply: ({ availableWidth, availableHeight }) => {
|
|
1761
|
+
if (this.autoSize === "vertical" || this.autoSize === "both") {
|
|
1762
|
+
this.style.setProperty(
|
|
1763
|
+
"--auto-size-available-height",
|
|
1764
|
+
`${availableHeight}px`
|
|
1765
|
+
);
|
|
1766
|
+
} else {
|
|
1767
|
+
this.style.removeProperty("--auto-size-available-height");
|
|
1768
|
+
}
|
|
1769
|
+
if (this.autoSize === "horizontal" || this.autoSize === "both") {
|
|
1770
|
+
this.style.setProperty(
|
|
1771
|
+
"--auto-size-available-width",
|
|
1772
|
+
`${availableWidth}px`
|
|
1773
|
+
);
|
|
1774
|
+
} else {
|
|
1775
|
+
this.style.removeProperty("--auto-size-available-width");
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
})
|
|
1779
|
+
);
|
|
1780
|
+
} else {
|
|
1781
|
+
this.style.removeProperty("--auto-size-available-width");
|
|
1782
|
+
this.style.removeProperty("--auto-size-available-height");
|
|
1783
|
+
}
|
|
1784
|
+
if (this.arrow) {
|
|
1785
|
+
middleware.push(
|
|
1786
|
+
arrow2({
|
|
1787
|
+
element: this.arrowEl,
|
|
1788
|
+
padding: this.arrowPadding
|
|
1789
|
+
})
|
|
1790
|
+
);
|
|
1791
|
+
}
|
|
1792
|
+
const getOffsetParent2 = this.strategy === "absolute" ? (element) => platform.getOffsetParent(element, t) : platform.getOffsetParent;
|
|
1793
|
+
computePosition2(this.anchorEl, this.popup, {
|
|
1794
|
+
placement: this.placement,
|
|
1795
|
+
middleware,
|
|
1796
|
+
strategy: this.strategy,
|
|
1797
|
+
platform: __spreadProps(__spreadValues({}, platform), {
|
|
1798
|
+
getOffsetParent: getOffsetParent2
|
|
1799
|
+
})
|
|
1800
|
+
}).then(({ x: x2, y, middlewareData, placement }) => {
|
|
1801
|
+
const isRtl = false;
|
|
1802
|
+
const staticSide = {
|
|
1803
|
+
top: "bottom",
|
|
1804
|
+
right: "left",
|
|
1805
|
+
bottom: "top",
|
|
1806
|
+
left: "right"
|
|
1807
|
+
}[placement.split("-")[0]];
|
|
1808
|
+
this.setAttribute("data-current-placement", placement);
|
|
1809
|
+
Object.assign(this.popup.style, {
|
|
1810
|
+
left: `${x2}px`,
|
|
1811
|
+
top: `${y}px`
|
|
1812
|
+
});
|
|
1813
|
+
if (this.arrow) {
|
|
1814
|
+
const arrowX = middlewareData.arrow.x;
|
|
1815
|
+
const arrowY = middlewareData.arrow.y;
|
|
1816
|
+
let top = "";
|
|
1817
|
+
let right = "";
|
|
1818
|
+
let bottom = "";
|
|
1819
|
+
let left = "";
|
|
1820
|
+
if (this.arrowPlacement === "start") {
|
|
1821
|
+
const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1822
|
+
top = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1823
|
+
right = isRtl ? value : "";
|
|
1824
|
+
left = isRtl ? "" : value;
|
|
1825
|
+
} else if (this.arrowPlacement === "end") {
|
|
1826
|
+
const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1827
|
+
right = isRtl ? "" : value;
|
|
1828
|
+
left = isRtl ? value : "";
|
|
1829
|
+
bottom = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1830
|
+
} else if (this.arrowPlacement === "center") {
|
|
1831
|
+
left = typeof arrowX === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
|
|
1832
|
+
top = typeof arrowY === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
|
|
1833
|
+
} else {
|
|
1834
|
+
left = typeof arrowX === "number" ? `${arrowX}px` : "";
|
|
1835
|
+
top = typeof arrowY === "number" ? `${arrowY}px` : "";
|
|
1836
|
+
}
|
|
1837
|
+
Object.assign(this.arrowEl.style, {
|
|
1838
|
+
top,
|
|
1839
|
+
right,
|
|
1840
|
+
bottom,
|
|
1841
|
+
left,
|
|
1842
|
+
[staticSide]: "calc(var(--arrow-size-diagonal) * -1)"
|
|
1843
|
+
});
|
|
1844
|
+
}
|
|
1845
|
+
});
|
|
1846
|
+
requestAnimationFrame(() => this.updateHoverBridge());
|
|
1847
|
+
this.emit("terra-reposition");
|
|
1848
|
+
}
|
|
1849
|
+
render() {
|
|
1850
|
+
return x`
|
|
1851
|
+
<slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
|
|
1852
|
+
|
|
1853
|
+
<span
|
|
1854
|
+
part="hover-bridge"
|
|
1855
|
+
class=${e({
|
|
1856
|
+
"popup-hover-bridge": true,
|
|
1857
|
+
"popup-hover-bridge--visible": this.hoverBridge && this.active
|
|
1858
|
+
})}
|
|
1859
|
+
></span>
|
|
1860
|
+
|
|
1861
|
+
<div
|
|
1862
|
+
part="popup"
|
|
1863
|
+
class=${e({
|
|
1864
|
+
popup: true,
|
|
1865
|
+
"popup--active": this.active,
|
|
1866
|
+
"popup--fixed": this.strategy === "fixed",
|
|
1867
|
+
"popup--has-arrow": this.arrow
|
|
1868
|
+
})}
|
|
1869
|
+
>
|
|
1870
|
+
<slot></slot>
|
|
1871
|
+
${this.arrow ? x`<div
|
|
1872
|
+
part="arrow"
|
|
1873
|
+
class="popup__arrow"
|
|
1874
|
+
role="presentation"
|
|
1875
|
+
></div>` : ""}
|
|
1876
|
+
</div>
|
|
1877
|
+
`;
|
|
1878
|
+
}
|
|
1879
|
+
};
|
|
1880
|
+
TerraPopup.styles = [component_styles_default, popup_styles_default];
|
|
1881
|
+
__decorateClass([
|
|
1882
|
+
e2(".popup")
|
|
1883
|
+
], TerraPopup.prototype, "popup", 2);
|
|
1884
|
+
__decorateClass([
|
|
1885
|
+
e2(".popup__arrow")
|
|
1886
|
+
], TerraPopup.prototype, "arrowEl", 2);
|
|
1887
|
+
__decorateClass([
|
|
1888
|
+
n()
|
|
1889
|
+
], TerraPopup.prototype, "anchor", 2);
|
|
1890
|
+
__decorateClass([
|
|
1891
|
+
n({ type: Boolean, reflect: true })
|
|
1892
|
+
], TerraPopup.prototype, "active", 2);
|
|
1893
|
+
__decorateClass([
|
|
1894
|
+
n({ reflect: true })
|
|
1895
|
+
], TerraPopup.prototype, "placement", 2);
|
|
1896
|
+
__decorateClass([
|
|
1897
|
+
n({ reflect: true })
|
|
1898
|
+
], TerraPopup.prototype, "strategy", 2);
|
|
1899
|
+
__decorateClass([
|
|
1900
|
+
n({ type: Number })
|
|
1901
|
+
], TerraPopup.prototype, "distance", 2);
|
|
1902
|
+
__decorateClass([
|
|
1903
|
+
n({ type: Number })
|
|
1904
|
+
], TerraPopup.prototype, "skidding", 2);
|
|
1905
|
+
__decorateClass([
|
|
1906
|
+
n({ type: Boolean })
|
|
1907
|
+
], TerraPopup.prototype, "arrow", 2);
|
|
1908
|
+
__decorateClass([
|
|
1909
|
+
n({ attribute: "arrow-placement" })
|
|
1910
|
+
], TerraPopup.prototype, "arrowPlacement", 2);
|
|
1911
|
+
__decorateClass([
|
|
1912
|
+
n({ attribute: "arrow-padding", type: Number })
|
|
1913
|
+
], TerraPopup.prototype, "arrowPadding", 2);
|
|
1914
|
+
__decorateClass([
|
|
1915
|
+
n({ type: Boolean })
|
|
1916
|
+
], TerraPopup.prototype, "flip", 2);
|
|
1917
|
+
__decorateClass([
|
|
1918
|
+
n({
|
|
1919
|
+
attribute: "flip-fallback-placements",
|
|
1920
|
+
converter: {
|
|
1921
|
+
fromAttribute: (value) => {
|
|
1922
|
+
return value.split(" ").map((p) => p.trim()).filter((p) => p !== "");
|
|
1923
|
+
},
|
|
1924
|
+
toAttribute: (value) => {
|
|
1925
|
+
return value.join(" ");
|
|
1926
|
+
}
|
|
1927
|
+
}
|
|
1928
|
+
})
|
|
1929
|
+
], TerraPopup.prototype, "flipFallbackPlacements", 2);
|
|
1930
|
+
__decorateClass([
|
|
1931
|
+
n({ attribute: "flip-fallback-strategy" })
|
|
1932
|
+
], TerraPopup.prototype, "flipFallbackStrategy", 2);
|
|
1933
|
+
__decorateClass([
|
|
1934
|
+
n({ type: Object })
|
|
1935
|
+
], TerraPopup.prototype, "flipBoundary", 2);
|
|
1936
|
+
__decorateClass([
|
|
1937
|
+
n({ attribute: "flip-padding", type: Number })
|
|
1938
|
+
], TerraPopup.prototype, "flipPadding", 2);
|
|
1939
|
+
__decorateClass([
|
|
1940
|
+
n({ type: Boolean })
|
|
1941
|
+
], TerraPopup.prototype, "shift", 2);
|
|
1942
|
+
__decorateClass([
|
|
1943
|
+
n({ type: Object })
|
|
1944
|
+
], TerraPopup.prototype, "shiftBoundary", 2);
|
|
1945
|
+
__decorateClass([
|
|
1946
|
+
n({ attribute: "shift-padding", type: Number })
|
|
1947
|
+
], TerraPopup.prototype, "shiftPadding", 2);
|
|
1948
|
+
__decorateClass([
|
|
1949
|
+
n({ attribute: "auto-size" })
|
|
1950
|
+
], TerraPopup.prototype, "autoSize", 2);
|
|
1951
|
+
__decorateClass([
|
|
1952
|
+
n()
|
|
1953
|
+
], TerraPopup.prototype, "sync", 2);
|
|
1954
|
+
__decorateClass([
|
|
1955
|
+
n({ type: Object })
|
|
1956
|
+
], TerraPopup.prototype, "autoSizeBoundary", 2);
|
|
1957
|
+
__decorateClass([
|
|
1958
|
+
n({ attribute: "auto-size-padding", type: Number })
|
|
1959
|
+
], TerraPopup.prototype, "autoSizePadding", 2);
|
|
1960
|
+
__decorateClass([
|
|
1961
|
+
n({ attribute: "hover-bridge", type: Boolean })
|
|
1962
|
+
], TerraPopup.prototype, "hoverBridge", 2);
|
|
1963
|
+
|
|
1964
|
+
export {
|
|
1965
|
+
TerraPopup
|
|
1966
|
+
};
|