@nasa-terra/components 0.0.198 → 0.0.200
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/GeoTIFF.VXDS234A.js +20754 -0
- package/cdn/chunks/chunk.22K3ASXQ.js +62 -0
- package/cdn/chunks/chunk.22YYG5T3.js +364 -0
- package/cdn/chunks/chunk.237CAJ4E.js +234 -0
- package/cdn/chunks/chunk.2AGOVOKY.js +19 -0
- package/cdn/chunks/chunk.2AQ4DWRT.js +138 -0
- package/cdn/chunks/chunk.2EKZ6PMU.js +19 -0
- package/cdn/chunks/chunk.2IMFMBAO.js +19 -0
- package/cdn/chunks/chunk.2SRKUJIF.js +158 -0
- package/cdn/chunks/chunk.2TM7BKAY.js +543 -0
- package/cdn/chunks/chunk.33YJP7MI.js +113 -0
- package/cdn/chunks/chunk.35B4WZA2.js +19 -0
- package/cdn/chunks/chunk.35FW6JQN.js +610 -0
- package/cdn/chunks/chunk.37ZSWJEY.js +925 -0
- package/cdn/chunks/chunk.3UIHCWKZ.js +29 -0
- package/cdn/chunks/chunk.4GFUIW55.js +29 -0
- package/cdn/chunks/chunk.4HTEUTHY.js +19 -0
- package/cdn/chunks/chunk.4L7AK4GX.js +74 -0
- package/cdn/chunks/chunk.4QAPEPKV.js +19 -0
- package/cdn/chunks/chunk.53B2ADK3.js +56075 -0
- package/cdn/chunks/chunk.55WRSCJY.js +978 -0
- package/cdn/chunks/chunk.5HZOFXIW.js +32 -0
- package/cdn/chunks/chunk.5I7EJKUF.js +29 -0
- package/cdn/chunks/chunk.5WY6U6ZD.js +19 -0
- package/cdn/chunks/chunk.5YMEJ2HW.js +29 -0
- package/cdn/chunks/chunk.5YMVKN3L.js +19 -0
- package/cdn/chunks/chunk.645RP6PO.js +19 -0
- package/cdn/chunks/chunk.67I6N5T3.js +32 -0
- package/cdn/chunks/chunk.6EZRRDKD.js +29 -0
- package/cdn/chunks/chunk.6LTZG5BR.js +19 -0
- package/cdn/chunks/chunk.6UWDJWHZ.js +29 -0
- package/cdn/chunks/chunk.6X6QHOXA.js +41 -0
- package/cdn/chunks/chunk.72YPZG3A.js +1975 -0
- package/cdn/chunks/chunk.76WTRGHU.js +19 -0
- package/cdn/chunks/chunk.7EJFTCTS.js +592 -0
- package/cdn/chunks/chunk.7FWVTECG.js +155 -0
- package/cdn/chunks/chunk.7NPZ3NNG.js +33 -0
- package/cdn/chunks/chunk.7P7YF5AG.js +19 -0
- package/cdn/chunks/chunk.7X22RVNF.js +672 -0
- package/cdn/chunks/chunk.A35DYTQA.js +29 -0
- package/cdn/chunks/chunk.A4SDQO2B.js +32 -0
- package/cdn/chunks/chunk.A57F3Z5Z.js +106 -0
- package/cdn/chunks/chunk.AFEHLJOD.js +230 -0
- package/cdn/chunks/chunk.AFJNRCDT.js +71 -0
- package/cdn/chunks/chunk.AHX4FQI7.js +51 -0
- package/cdn/chunks/chunk.ALCZPQMP.js +33 -0
- package/cdn/chunks/chunk.AOQ45IKG.js +19 -0
- package/cdn/chunks/chunk.AQFFDCEY.js +19 -0
- package/cdn/chunks/chunk.AQSGAQTF.js +29 -0
- package/cdn/chunks/chunk.AV6EWZUQ.js +19 -0
- package/cdn/chunks/chunk.B35FANVS.js +29 -0
- package/cdn/chunks/chunk.B4MS6VWQ.js +195 -0
- package/cdn/chunks/chunk.BHUAEKJD.js +276 -0
- package/cdn/chunks/chunk.BOL5PXSR.js +19 -0
- package/cdn/chunks/chunk.BT7RVB7W.js +657 -0
- package/cdn/chunks/chunk.BTW6CCUL.js +259 -0
- package/cdn/chunks/chunk.BY4TY5YO.js +278 -0
- package/cdn/chunks/chunk.BZFJ6XDH.js +38 -0
- package/cdn/chunks/chunk.C47DI5S4.js +443 -0
- package/cdn/chunks/chunk.CF5UIDMB.js +60 -0
- package/cdn/chunks/chunk.CNWAUC6R.js +19 -0
- package/cdn/chunks/chunk.CR6J5O3B.js +19 -0
- package/cdn/chunks/chunk.CUOL7ZLU.js +29 -0
- package/cdn/chunks/chunk.CXU7UUG5.js +29 -0
- package/cdn/chunks/chunk.D45EUIAY.js +298 -0
- package/cdn/chunks/chunk.D7LXSRPA.js +47 -0
- package/cdn/chunks/chunk.DJBUFBVH.js +35 -0
- package/cdn/chunks/chunk.DQSN2HRA.js +19 -0
- package/cdn/chunks/chunk.DUQOT6LG.js +19 -0
- package/cdn/chunks/chunk.E3EZQDS2.js +19 -0
- package/cdn/chunks/chunk.E5G62PCF.js +293 -0
- package/cdn/chunks/chunk.EBLLWPKJ.js +29 -0
- package/cdn/chunks/chunk.ELNFMESU.js +224 -0
- package/cdn/chunks/chunk.ELP4G37Y.js +19 -0
- package/cdn/chunks/chunk.ESAVXMOK.js +29 -0
- package/cdn/chunks/chunk.EVXCDWEK.js +19 -0
- package/cdn/chunks/chunk.EZGCGYHR.js +32 -0
- package/cdn/chunks/chunk.FF6RYBZH.js +83 -0
- package/cdn/chunks/chunk.FI4YBHHD.js +1339 -0
- package/cdn/chunks/chunk.FKMWKHU4.js +19 -0
- package/cdn/chunks/chunk.FOMOMN2R.js +93 -0
- package/cdn/chunks/chunk.FPRDZO74.js +377 -0
- package/cdn/chunks/chunk.FQ7GYAM6.js +450 -0
- package/cdn/chunks/chunk.FWOG7W7G.js +19 -0
- package/cdn/chunks/chunk.GBIRPGIZ.js +19 -0
- package/cdn/chunks/chunk.GCCNVPUP.js +33 -0
- package/cdn/chunks/chunk.GEXMYKN6.js +19 -0
- package/cdn/chunks/chunk.GLV7IM44.js +29 -0
- package/cdn/chunks/chunk.GTSD3RXV.js +32 -0
- package/cdn/chunks/chunk.GTZLRBU6.js +15 -0
- package/cdn/chunks/chunk.GUK7VMT5.js +190 -0
- package/cdn/chunks/chunk.GWKH3CLP.js +19 -0
- package/cdn/chunks/chunk.GYZOSZRQ.js +36 -0
- package/cdn/chunks/chunk.H4HEB4ER.js +110 -0
- package/cdn/chunks/chunk.H55WHCAH.js +29 -0
- package/cdn/chunks/chunk.H6KRH5P2.js +17685 -0
- package/cdn/chunks/chunk.H7PFNRZC.js +19 -0
- package/cdn/chunks/chunk.HBG4C57A.js +34 -0
- package/cdn/chunks/chunk.HT4VXYXY.js +37 -0
- package/cdn/chunks/chunk.HTY4OINL.js +19 -0
- package/cdn/chunks/chunk.HYPSB6EN.js +524 -0
- package/cdn/chunks/chunk.HYZPA7O5.js +36 -0
- package/cdn/chunks/chunk.HZDP5DDD.js +19 -0
- package/cdn/chunks/chunk.IH6V43NT.js +19 -0
- package/cdn/chunks/chunk.IK2SGPIW.js +5463 -0
- package/cdn/chunks/chunk.ISUXVNMN.js +19 -0
- package/cdn/chunks/chunk.IU46TB7O.js +132 -0
- package/cdn/chunks/chunk.IYBWOV2C.js +1660 -0
- package/cdn/chunks/chunk.JDOWPVSJ.js +32 -0
- package/cdn/chunks/chunk.JQIQYHYS.js +34 -0
- package/cdn/chunks/chunk.JX3LVSGD.js +19 -0
- package/cdn/chunks/chunk.JYQEDEGJ.js +19 -0
- package/cdn/chunks/chunk.K3IZCOE2.js +19 -0
- package/cdn/chunks/chunk.K4LUO6QF.js +36 -0
- package/cdn/chunks/chunk.KBT6IPHV.js +19 -0
- package/cdn/chunks/chunk.KC4U5UVG.js +68 -0
- package/cdn/chunks/chunk.KG5LAQGX.js +37 -0
- package/cdn/chunks/chunk.KMER3IDE.js +29 -0
- package/cdn/chunks/chunk.KYRAV2AH.js +277 -0
- package/cdn/chunks/chunk.L4JZ24PE.js +19 -0
- package/cdn/chunks/chunk.LNV4U7DG.js +29 -0
- package/cdn/chunks/chunk.LPJQVIZJ.js +29 -0
- package/cdn/chunks/chunk.LY2GSFDD.js +32 -0
- package/cdn/chunks/chunk.LZXHPGRW.js +19 -0
- package/cdn/chunks/chunk.M3TPDRI3.js +616 -0
- package/cdn/chunks/chunk.M6QQY2ST.js +17603 -0
- package/cdn/chunks/chunk.MN6ZUUP5.js +19 -0
- package/cdn/chunks/chunk.MPYGI52D.js +19 -0
- package/cdn/chunks/chunk.MT33TVQC.js +60 -0
- package/cdn/chunks/chunk.MTZHUNOJ.js +29 -0
- package/cdn/chunks/chunk.MVVUX7LF.js +359 -0
- package/cdn/chunks/chunk.MWW325LP.js +2546 -0
- package/cdn/chunks/chunk.MXPYZ4NU.js +19 -0
- package/cdn/chunks/chunk.MYWP2D5C.js +19 -0
- package/cdn/chunks/chunk.MZKFJYOZ.js +49 -0
- package/cdn/chunks/chunk.N37FLG5H.js +29 -0
- package/cdn/chunks/chunk.N43SVPNI.js +151 -0
- package/cdn/chunks/chunk.N6AJA3G4.js +19 -0
- package/cdn/chunks/chunk.NDALC32H.js +604 -0
- package/cdn/chunks/chunk.NQ7ZT5GF.js +35 -0
- package/cdn/chunks/chunk.NRP27IFE.js +357 -0
- package/cdn/chunks/chunk.NV5HIRCL.js +4735 -0
- package/cdn/chunks/chunk.NVVFTXBE.js +82 -0
- package/cdn/chunks/chunk.NWRNR2NO.js +19 -0
- package/cdn/chunks/chunk.NYAS4VCX.js +538 -0
- package/cdn/chunks/chunk.OCOILS4L.js +531 -0
- package/cdn/chunks/chunk.OMJXPU5O.js +33 -0
- package/cdn/chunks/chunk.OOCN2MEO.js +104 -0
- package/cdn/chunks/chunk.OPR25IBK.js +29 -0
- package/cdn/chunks/chunk.PF6HHPHM.js +1691 -0
- package/cdn/chunks/chunk.PGGR7VBX.js +134 -0
- package/cdn/chunks/chunk.PN4ABUFE.js +35 -0
- package/cdn/chunks/chunk.PPFZCYHA.js +19 -0
- package/cdn/chunks/chunk.PRTHW3YW.js +32 -0
- package/cdn/chunks/chunk.PTZIASYI.js +29 -0
- package/cdn/chunks/chunk.PY3TJXZ7.js +30 -0
- package/cdn/chunks/chunk.QAQMCUVV.js +19 -0
- package/cdn/chunks/chunk.QJORI76J.js +29 -0
- package/cdn/chunks/chunk.QYUFONQI.js +78 -0
- package/cdn/chunks/chunk.RSRIVUCO.js +36 -0
- package/cdn/chunks/chunk.RXWFFS6L.js +29 -0
- package/cdn/chunks/chunk.S3YL7XMD.js +19 -0
- package/cdn/chunks/chunk.S7YJPZDB.js +35 -0
- package/cdn/chunks/chunk.SC5DKRCX.js +29 -0
- package/cdn/chunks/chunk.SE55TMVG.js +143 -0
- package/cdn/chunks/chunk.SGEP3FXE.js +136 -0
- package/cdn/chunks/chunk.SLDQHSC6.js +19 -0
- package/cdn/chunks/chunk.SMASZ43V.js +29 -0
- package/cdn/chunks/chunk.SRZ5LTBO.js +37 -0
- package/cdn/chunks/chunk.SSDQIIOR.js +19 -0
- package/cdn/chunks/chunk.SSOM7RQK.js +32 -0
- package/cdn/chunks/chunk.SSWHJUU4.js +32 -0
- package/cdn/chunks/chunk.SU5BQLHH.js +36 -0
- package/cdn/chunks/chunk.SVAVLXQ2.js +19 -0
- package/cdn/chunks/chunk.TAGA7EGX.js +348 -0
- package/cdn/chunks/chunk.TJAMJ3MW.js +19 -0
- package/cdn/chunks/chunk.U2SQXRXV.js +29 -0
- package/cdn/chunks/chunk.U2TL6OCG.js +19 -0
- package/cdn/chunks/chunk.UA5BJAJD.js +32 -0
- package/cdn/chunks/chunk.UB2WIHOB.js +33 -0
- package/cdn/chunks/chunk.UIVZN63B.js +19 -0
- package/cdn/chunks/chunk.UJ6CLNLP.js +29 -0
- package/cdn/chunks/chunk.UTV4V2OE.js +478 -0
- package/cdn/chunks/chunk.UUUD46S3.js +1862 -0
- package/cdn/chunks/chunk.UW7PP2PX.js +19 -0
- package/cdn/chunks/chunk.V7DC2HOO.js +188 -0
- package/cdn/chunks/chunk.VE66D7IC.js +19 -0
- package/cdn/chunks/chunk.VF5XGLA6.js +19 -0
- package/cdn/chunks/chunk.VGWHMGE2.js +162 -0
- package/cdn/chunks/chunk.VLTCS4SJ.js +29 -0
- package/cdn/chunks/chunk.VSIX6Q6J.js +231 -0
- package/cdn/chunks/chunk.W2IPAMIN.js +416 -0
- package/cdn/chunks/chunk.WL2A23LE.js +19 -0
- package/cdn/chunks/chunk.WLU62KO7.js +537 -0
- package/cdn/chunks/chunk.WQOSNK27.js +99 -0
- package/cdn/chunks/chunk.WTXOXZ7B.js +29 -0
- package/cdn/chunks/chunk.XOQLFJ47.js +631 -0
- package/cdn/chunks/chunk.XP4TBHBK.js +19 -0
- package/cdn/chunks/chunk.XRQAIKYE.js +310 -0
- package/cdn/chunks/chunk.XZ7PWZVI.js +266 -0
- package/cdn/chunks/chunk.XZPHDJEG.js +86 -0
- package/cdn/chunks/chunk.Y4UTWYK7.js +19 -0
- package/cdn/chunks/chunk.Y6XPBZIT.js +1197 -0
- package/cdn/chunks/chunk.Y7XP7KYY.js +19 -0
- package/cdn/chunks/chunk.YCPFQYZ4.js +2781 -0
- package/cdn/chunks/chunk.YXBSUHVR.js +39 -0
- package/cdn/chunks/chunk.Z3RVDKOC.js +15 -0
- package/cdn/chunks/chunk.Z4GIIMIT.js +32 -0
- package/cdn/chunks/chunk.ZCBSCQDJ.js +904 -0
- package/cdn/chunks/chunk.ZCYCGN4E.js +32 -0
- package/cdn/chunks/chunk.ZERLGTGY.js +19 -0
- package/cdn/chunks/chunk.ZGOGAQSH.js +32 -0
- package/cdn/chunks/chunk.ZLEY6EQQ.js +123 -0
- package/cdn/chunks/chunk.ZV34U2K5.js +19 -0
- package/cdn/chunks/chunk.ZWGXUP6E.js +35 -0
- package/cdn/chunks/chunk.ZY5VE52C.js +92 -0
- package/cdn/chunks/lerc.WZVXX72L.js +2097 -0
- package/cdn/components/accordion/accordion.component.js +6 -6
- package/cdn/components/accordion/accordion.js +7 -7
- package/cdn/components/alert/alert.component.js +2 -2
- package/cdn/components/alert/alert.js +3 -3
- package/cdn/components/avatar/avatar.component.js +6 -6
- package/cdn/components/avatar/avatar.js +7 -7
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/banner/banner.component.js +2 -2
- package/cdn/components/banner/banner.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 +12 -12
- package/cdn/components/browse-variables/browse-variables.js +13 -13
- package/cdn/components/button/button.component.js +5 -5
- package/cdn/components/button/button.js +6 -6
- 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 +6 -6
- package/cdn/components/checkbox/checkbox.js +7 -7
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +2 -2
- package/cdn/components/combobox/combobox.js +3 -3
- package/cdn/components/data-access/data-access.component.js +36 -26
- package/cdn/components/data-access/data-access.js +37 -27
- package/cdn/components/data-grid/data-grid.component.js +3 -3
- package/cdn/components/data-grid/data-grid.js +4 -4
- package/cdn/components/data-rods/data-rods.component.js +46 -36
- package/cdn/components/data-rods/data-rods.js +47 -37
- package/cdn/components/data-subsetter/data-subsetter.component.d.ts +1 -0
- package/cdn/components/data-subsetter/data-subsetter.component.js +45 -35
- package/cdn/components/data-subsetter/data-subsetter.js +46 -36
- package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +47 -37
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +48 -38
- package/cdn/components/date-picker/date-picker.component.js +11 -11
- package/cdn/components/date-picker/date-picker.js +12 -12
- 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 +6 -6
- package/cdn/components/dialog/dialog.js +7 -7
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/dropdown/dropdown.component.js +4 -4
- package/cdn/components/dropdown/dropdown.js +5 -5
- package/cdn/components/earthdata-login/earthdata-login.component.js +12 -12
- package/cdn/components/earthdata-login/earthdata-login.js +13 -13
- package/cdn/components/file-upload/file-upload.component.js +2 -2
- package/cdn/components/file-upload/file-upload.js +3 -3
- package/cdn/components/harmony-history/harmony-history.component.js +8 -8
- package/cdn/components/harmony-history/harmony-history.js +9 -9
- package/cdn/components/icon/icon.component.js +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/input/input.component.js +5 -5
- package/cdn/components/input/input.js +6 -6
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +10 -10
- package/cdn/components/login/login.js +11 -11
- package/cdn/components/map/controls/draw-toolbar.control.js +3 -1
- package/cdn/components/map/layers/base.layer.d.ts +7 -0
- package/cdn/components/map/layers/base.layer.js +12 -0
- package/cdn/components/map/layers/borders.layer.d.ts +6 -0
- package/cdn/components/map/layers/borders.layer.js +14 -0
- package/cdn/components/map/layers/bordersStyleConfig.d.ts +29 -0
- package/cdn/components/map/layers/bordersStyleConfig.js +7 -0
- package/cdn/components/map/layers/labels.layer.d.ts +6 -0
- package/cdn/components/map/layers/labels.layer.js +14 -0
- package/cdn/components/map/layers/labelsStyleConfig.d.ts +2337 -0
- package/cdn/components/map/layers/labelsStyleConfig.js +7 -0
- package/cdn/components/map/map.component.d.ts +42 -0
- package/cdn/components/map/map.component.js +16 -6
- package/cdn/components/map/map.js +17 -7
- package/cdn/components/map/map.service.d.ts +50 -1
- package/cdn/components/map/map.service.js +13 -3
- package/cdn/components/map/map.styles.js +1 -1
- 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 +7 -7
- package/cdn/components/menu-item/menu-item.js +8 -8
- package/cdn/components/option/option.component.js +5 -5
- package/cdn/components/option/option.js +6 -6
- package/cdn/components/pagination/pagination.component.js +5 -5
- package/cdn/components/pagination/pagination.js +6 -6
- package/cdn/components/plot/plot.component.js +3 -3
- package/cdn/components/plot/plot.js +4 -4
- 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.js +27 -17
- package/cdn/components/plot-toolbar/plot-toolbar.js +28 -18
- 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 +2 -2
- package/cdn/components/radio/radio.js +3 -3
- 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 +5 -5
- package/cdn/components/scroll-hint/scroll-hint.js +6 -6
- package/cdn/components/select/select.component.js +7 -7
- package/cdn/components/select/select.js +8 -8
- 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 +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- 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.js +25 -15
- package/cdn/components/spatial-picker/spatial-picker.js +26 -16
- 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 +5 -5
- package/cdn/components/stepper-step/stepper-step.js +6 -6
- package/cdn/components/tab/tab.component.js +5 -5
- package/cdn/components/tab/tab.js +6 -6
- 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 +5 -5
- package/cdn/components/tabs/tabs.js +6 -6
- package/cdn/components/tag/tag.component.js +5 -5
- package/cdn/components/tag/tag.js +6 -6
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-average-map/time-average-map.component.d.ts +12 -8
- package/cdn/components/time-average-map/time-average-map.component.js +34 -24
- package/cdn/components/time-average-map/time-average-map.controller.d.ts +5 -0
- package/cdn/components/time-average-map/time-average-map.controller.js +1 -1
- package/cdn/components/time-average-map/time-average-map.js +35 -25
- package/cdn/components/time-average-map/time-average-map.styles.js +1 -1
- package/cdn/components/time-series/time-series.component.js +34 -24
- package/cdn/components/time-series/time-series.controller.d.ts +5 -0
- package/cdn/components/time-series/time-series.controller.js +1 -1
- package/cdn/components/time-series/time-series.js +35 -25
- package/cdn/components/toast/toast.component.js +3 -3
- package/cdn/components/toast/toast.js +4 -4
- package/cdn/components/toggle/toggle.component.js +2 -2
- package/cdn/components/toggle/toggle.js +3 -3
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/variable-combobox/variable-combobox.component.js +11 -11
- package/cdn/components/variable-combobox/variable-combobox.js +12 -12
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +8 -8
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +9 -9
- package/cdn/custom-elements.json +5947 -5851
- package/cdn/events/events.d.ts +1 -1
- package/cdn/events/terra-map-change.d.ts +6 -0
- package/cdn/react/accordion/index.js +7 -7
- package/cdn/react/alert/index.js +3 -3
- package/cdn/react/avatar/index.js +7 -7
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/banner/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 +13 -13
- package/cdn/react/button/index.js +6 -6
- 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 +7 -7
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +3 -3
- package/cdn/react/data-access/index.js +37 -27
- package/cdn/react/data-grid/index.js +4 -4
- package/cdn/react/data-rods/index.js +47 -37
- package/cdn/react/data-subsetter/index.js +46 -36
- package/cdn/react/data-subsetter-history/index.js +48 -38
- package/cdn/react/date-picker/index.js +12 -12
- package/cdn/react/date-range-slider/index.js +3 -3
- package/cdn/react/dialog/index.js +7 -7
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/dropdown/index.js +5 -5
- package/cdn/react/earthdata-login/index.js +13 -13
- package/cdn/react/file-upload/index.js +3 -3
- package/cdn/react/harmony-history/index.js +9 -9
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/index.d.ts +10 -10
- package/cdn/react/index.js +226 -216
- package/cdn/react/input/index.js +6 -6
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +11 -11
- package/cdn/react/map/index.js +17 -7
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +8 -8
- package/cdn/react/option/index.js +6 -6
- package/cdn/react/pagination/index.js +6 -6
- package/cdn/react/plot/index.js +4 -4
- package/cdn/react/plot-toolbar/index.js +28 -18
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/radio/index.js +3 -3
- package/cdn/react/radio-group/index.js +3 -3
- package/cdn/react/scroll-hint/index.js +6 -6
- package/cdn/react/select/index.js +8 -8
- package/cdn/react/site-header/index.js +6 -6
- package/cdn/react/site-navigation/index.js +3 -3
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/slider/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +26 -16
- package/cdn/react/status-indicator/index.js +3 -3
- package/cdn/react/stepper/index.js +3 -3
- package/cdn/react/stepper-step/index.js +6 -6
- package/cdn/react/tab/index.js +6 -6
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tabs/index.js +6 -6
- package/cdn/react/tag/index.js +6 -6
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-average-map/index.js +35 -25
- package/cdn/react/time-series/index.js +35 -25
- package/cdn/react/toast/index.js +4 -4
- package/cdn/react/toggle/index.js +3 -3
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/variable-combobox/index.js +12 -12
- package/cdn/react/variable-keyword-search/index.js +9 -9
- package/cdn/terra-ui-components.js +225 -215
- package/cdn/types/vue/index.d.ts +586 -564
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/vscode.html-custom-data.json +356 -350
- package/cdn/web-types.json +1096 -1082
- package/dist/chunks/chunk.2CRFHCUV.js +22 -0
- package/dist/chunks/chunk.2DKGDYTF.js +1 -0
- package/dist/chunks/chunk.2ESMQYVF.js +1 -0
- package/dist/chunks/chunk.2GTYM73W.js +41 -0
- package/dist/chunks/chunk.2MCIVOCH.js +1 -0
- package/dist/chunks/chunk.2TEQHV6L.js +280 -0
- package/dist/chunks/chunk.3XXPZXA4.js +1 -0
- package/dist/chunks/chunk.42DJXYDW.js +1 -0
- package/dist/chunks/chunk.4ELXGK2Z.js +1 -0
- package/dist/chunks/chunk.4FPDNZFX.js +23 -0
- package/dist/chunks/chunk.4HUDFTIJ.js +1 -0
- package/dist/chunks/chunk.4I4QZ5VT.js +1 -0
- package/dist/chunks/chunk.4J4YPWYR.js +1 -0
- package/dist/chunks/chunk.4MHLU2UG.js +1 -0
- package/dist/chunks/chunk.4MLVZOVY.js +5 -0
- package/dist/chunks/chunk.4RFUYJZR.js +6 -0
- package/dist/chunks/chunk.4YZRJ6SW.js +8 -0
- package/dist/chunks/chunk.5BIASLJU.js +1 -0
- package/dist/chunks/chunk.5EHI56PN.js +1 -0
- package/dist/chunks/chunk.5KSUTJT4.js +1 -0
- package/dist/chunks/chunk.5TIIL5N2.js +1 -0
- package/dist/chunks/chunk.5V5KTY3D.js +1 -0
- package/dist/chunks/chunk.5YJXFKWN.js +176 -0
- package/dist/chunks/chunk.65Z4JL5X.js +35 -0
- package/dist/chunks/chunk.67W7E3EQ.js +1 -0
- package/dist/chunks/chunk.6CB64B2U.js +1 -0
- package/dist/chunks/chunk.6CYXCDFU.js +1 -0
- package/dist/chunks/chunk.6ECFMEPZ.js +1 -0
- package/dist/chunks/chunk.6H7GBCHK.js +1 -0
- package/dist/chunks/chunk.6KCJFKJJ.js +24 -0
- package/dist/chunks/chunk.6NMFAJUY.js +1 -0
- package/dist/chunks/chunk.6OVOBLEB.js +1 -0
- package/dist/chunks/chunk.6UFB3UHW.js +1 -0
- package/dist/chunks/chunk.6YCD322Y.js +1 -0
- package/dist/chunks/chunk.6ZKAGXYF.js +1 -0
- package/dist/chunks/chunk.72I3GVSW.js +99 -0
- package/dist/chunks/chunk.74T7SQEP.js +113 -0
- package/dist/chunks/chunk.7CNB7PBM.js +1 -0
- package/dist/chunks/chunk.7GTYKWFY.js +1 -0
- package/dist/chunks/chunk.7REAYBDC.js +1 -0
- package/dist/chunks/chunk.7YVK2KAH.js +16 -0
- package/dist/chunks/chunk.7ZWLPBZ2.js +1 -0
- package/dist/chunks/chunk.ABNG2MMS.js +1 -0
- package/dist/chunks/chunk.ABOMZZ5W.js +1 -0
- package/dist/chunks/chunk.AJORM3JY.js +299 -0
- package/dist/chunks/chunk.ATX7REBU.js +1 -0
- package/dist/chunks/chunk.AUCKD6VQ.js +26 -0
- package/dist/chunks/chunk.AV5MTWD4.js +1 -0
- package/dist/chunks/chunk.AWRW7MMY.js +1 -0
- package/dist/chunks/chunk.AYEBTFZT.js +433 -0
- package/dist/chunks/chunk.AZZW4HXP.js +1 -0
- package/dist/chunks/chunk.B37PAYRF.js +26 -0
- package/dist/chunks/chunk.B5WI74JH.js +1 -0
- package/dist/chunks/chunk.BCI323BR.js +1 -0
- package/dist/chunks/chunk.BEJQIPA3.js +1 -0
- package/dist/chunks/chunk.BPWU4HLE.js +1 -0
- package/dist/chunks/chunk.C24G2IKI.js +9 -0
- package/dist/chunks/chunk.C72MEN4K.js +1 -0
- package/dist/chunks/chunk.CAMF5ULQ.js +1 -0
- package/dist/chunks/chunk.CHJBPRAW.js +1 -0
- package/dist/chunks/chunk.CR6A4NHN.js +39 -0
- package/dist/chunks/chunk.CXJA6HBX.js +35 -0
- package/dist/chunks/chunk.D7OJXCTX.js +11 -0
- package/dist/chunks/chunk.DAUE6BIF.js +37 -0
- package/dist/chunks/chunk.DIL2BMCN.js +1 -0
- package/dist/chunks/chunk.DQK2UXR4.js +47 -0
- package/dist/chunks/chunk.DTPW7HGE.js +1 -0
- package/dist/chunks/chunk.DZFGS2F6.js +1 -0
- package/dist/chunks/chunk.E3YBU7VY.js +1 -0
- package/dist/chunks/chunk.E4TZK6WJ.js +1 -0
- package/dist/chunks/chunk.EAPRKWW2.js +20 -0
- package/dist/chunks/chunk.EG7SPBRG.js +1 -0
- package/dist/chunks/chunk.EIJJC5B2.js +1 -0
- package/dist/chunks/chunk.EKNHAXS5.js +1 -0
- package/dist/chunks/chunk.EM3LS6OR.js +1 -0
- package/dist/chunks/chunk.EMXIBRS4.js +1 -0
- package/dist/chunks/chunk.ERBLNOPF.js +780 -0
- package/dist/chunks/chunk.EWB3NYCM.js +1 -0
- package/dist/chunks/chunk.EXABIDHR.js +1 -0
- package/dist/chunks/chunk.F7RVHCEK.js +62 -0
- package/dist/chunks/chunk.FAHKHSCZ.js +1 -0
- package/dist/chunks/chunk.FNZNA3S7.js +74 -0
- package/dist/chunks/chunk.FVA5GL7Q.js +43 -0
- package/dist/chunks/chunk.GCNLLJCR.js +1 -0
- package/dist/chunks/chunk.GQHSSWB5.js +1 -0
- package/dist/chunks/chunk.GVWSI2VA.js +55 -0
- package/dist/chunks/chunk.H5IHSMIW.js +1 -0
- package/dist/chunks/chunk.H742VBGY.js +1 -0
- package/dist/chunks/chunk.HKUBTRPD.js +1 -0
- package/dist/chunks/chunk.HKWG237B.js +1 -0
- package/dist/chunks/chunk.HL5D2TYJ.js +1 -0
- package/dist/chunks/chunk.HNQ3NJOC.js +1 -0
- package/dist/chunks/chunk.HSSHJEF7.js +1 -0
- package/dist/chunks/chunk.HVKQOUEK.js +1 -0
- package/dist/chunks/chunk.IBZ74ROK.js +1 -0
- package/dist/chunks/chunk.IEENQ4UI.js +1 -0
- package/dist/chunks/chunk.IJVMESW7.js +1 -0
- package/dist/chunks/chunk.IKHT7VYP.js +1 -0
- package/dist/chunks/chunk.IRKRVHUS.js +75 -0
- package/dist/chunks/chunk.ISMI3XBI.js +1 -0
- package/dist/chunks/chunk.J4SQCN5S.js +1 -0
- package/dist/chunks/chunk.JBA4XHXB.js +1 -0
- package/dist/chunks/chunk.JDK4TOCT.js +1 -0
- package/dist/chunks/chunk.JR4SV4AJ.js +80 -0
- package/dist/chunks/chunk.JUYXCY7U.js +1 -0
- package/dist/chunks/chunk.JVK5XH2Z.js +1 -0
- package/dist/chunks/chunk.KHENOYII.js +1 -0
- package/dist/chunks/chunk.KPEX4DLT.js +33 -0
- package/dist/chunks/chunk.KQETTTFA.js +1 -0
- package/dist/chunks/chunk.KRQB5VTT.js +1 -0
- package/dist/chunks/chunk.KVM555JK.js +1 -0
- package/dist/chunks/chunk.KVWVUH5W.js +19 -0
- package/dist/chunks/chunk.KYYIY3VW.js +1 -0
- package/dist/chunks/chunk.L265LOLF.js +1 -0
- package/dist/chunks/chunk.LELQ3MLG.js +122 -0
- package/dist/chunks/chunk.LMSK5NZM.js +43 -0
- package/dist/chunks/chunk.LNZCRC25.js +1 -0
- package/dist/chunks/chunk.LRZ3UVGV.js +1 -0
- package/dist/chunks/chunk.LW4GPYOC.js +1 -0
- package/dist/chunks/chunk.LXUBL7WM.js +1 -0
- package/dist/chunks/chunk.MEAK3R6S.js +1 -0
- package/dist/chunks/chunk.MI6ETUDG.js +8 -0
- package/dist/chunks/chunk.MKP24AIE.js +1 -0
- package/dist/chunks/chunk.MLW7OO6S.js +1 -0
- package/dist/chunks/chunk.MPGGFMBM.js +154 -0
- package/dist/chunks/chunk.MQXM5OIU.js +1 -0
- package/dist/chunks/chunk.MRG32HPF.js +572 -0
- package/dist/chunks/chunk.MSW6PNGT.js +1 -0
- package/dist/chunks/chunk.MVIOASOW.js +1 -0
- package/dist/chunks/chunk.MYBTQYE2.js +1 -0
- package/dist/chunks/chunk.NCSTNLHF.js +1 -0
- package/dist/chunks/chunk.NHLOAWLZ.js +1 -0
- package/dist/chunks/chunk.NM25YKOZ.js +1 -0
- package/dist/chunks/chunk.NNMEQPYF.js +1 -0
- package/dist/chunks/chunk.NRLOR4RH.js +14 -0
- package/dist/chunks/chunk.NVJPTRSH.js +55 -0
- package/dist/chunks/chunk.NVZD36RJ.js +1 -0
- package/dist/chunks/chunk.NYPAUATV.js +1 -0
- package/dist/chunks/chunk.O5J725ZK.js +1 -0
- package/dist/chunks/chunk.OPNWS6JR.js +1 -0
- package/dist/chunks/chunk.ORCMYTT7.js +25 -0
- package/dist/chunks/chunk.OWZWK64C.js +1 -0
- package/dist/chunks/chunk.OXIQHXEA.js +1 -0
- package/dist/chunks/chunk.P4FS7V3Q.js +48 -0
- package/dist/chunks/chunk.P66PH4HE.js +12 -0
- package/dist/chunks/chunk.PG3MVCO7.js +64 -0
- package/dist/chunks/chunk.PPNJDKQY.js +1 -0
- package/dist/chunks/chunk.PR7E6KYS.js +1 -0
- package/dist/chunks/chunk.PRRB6QHI.js +67 -0
- package/dist/chunks/chunk.PTZQ2Q4Y.js +1 -0
- package/dist/chunks/chunk.PVOR5CHG.js +1 -0
- package/dist/chunks/chunk.Q3BZF2QB.js +145 -0
- package/dist/chunks/chunk.QFTS2Y7T.js +1 -0
- package/dist/chunks/chunk.QJFDXLKO.js +55 -0
- package/dist/chunks/chunk.QJJS46NW.js +1 -0
- package/dist/chunks/chunk.QJZ7DNM2.js +1 -0
- package/dist/chunks/chunk.QMX7Q3SG.js +1 -0
- package/dist/chunks/chunk.QUULVCZU.js +1 -0
- package/dist/chunks/chunk.R3MHM2PW.js +1 -0
- package/dist/chunks/chunk.R6V7TXMZ.js +30 -0
- package/dist/chunks/chunk.RADCYW3L.js +1 -0
- package/dist/chunks/chunk.RINSXPBE.js +1 -0
- package/dist/chunks/chunk.RNECMNQO.js +1 -0
- package/dist/chunks/chunk.S4CD7KZC.js +1 -0
- package/dist/chunks/chunk.SPNO75Q4.js +514 -0
- package/dist/chunks/chunk.SUIFXJ7I.js +4 -0
- package/dist/chunks/chunk.TAQ6A3B7.js +2 -0
- package/dist/chunks/chunk.TCBHHMAF.js +30 -0
- package/dist/chunks/chunk.TEINAKZU.js +125 -0
- package/dist/chunks/chunk.TKX2MEYT.js +1 -0
- package/dist/chunks/chunk.TLCAPP5P.js +1 -0
- package/dist/chunks/chunk.TUFCG7OE.js +1 -0
- package/dist/chunks/chunk.TULLW62S.js +1 -0
- package/dist/chunks/chunk.UHN4YWEW.js +148 -0
- package/dist/chunks/chunk.URWWKHIG.js +1 -0
- package/dist/chunks/chunk.USS474XK.js +1 -0
- package/dist/chunks/chunk.UVOP5UMS.js +5 -0
- package/dist/chunks/chunk.UZ2Q2O6L.js +1 -0
- package/dist/chunks/chunk.VAIPQDUH.js +1 -0
- package/dist/chunks/chunk.VHRRMUNG.js +17 -0
- package/dist/chunks/chunk.VQRNQT7I.js +157 -0
- package/dist/chunks/chunk.VRF47KVU.js +1 -0
- package/dist/chunks/chunk.VXN7TL2I.js +1 -0
- package/dist/chunks/chunk.VXQXB23S.js +1 -0
- package/dist/chunks/chunk.VZDGZU7R.js +20 -0
- package/dist/chunks/chunk.WBGNKXCG.js +1 -0
- package/dist/chunks/chunk.WDWQLUEK.js +61 -0
- package/dist/chunks/chunk.WJDOBCXK.js +300 -0
- package/dist/chunks/chunk.WSBEZGR7.js +1 -0
- package/dist/chunks/chunk.WUCBUYBR.js +1 -0
- package/dist/chunks/chunk.WUGT5ECK.js +1 -0
- package/dist/chunks/chunk.X2TBH63H.js +9 -0
- package/dist/chunks/chunk.X6ESAQVU.js +27 -0
- package/dist/chunks/chunk.XLAJCD5W.js +1 -0
- package/dist/chunks/chunk.XTEJMVEU.js +41 -0
- package/dist/chunks/chunk.Y3DXVGV3.js +1 -0
- package/dist/chunks/chunk.YAVNESAE.js +1 -0
- package/dist/chunks/chunk.YPX3GEDB.js +1 -0
- package/dist/chunks/chunk.YWBN56UR.js +1 -0
- package/dist/chunks/chunk.YZVMLY7K.js +1 -0
- package/dist/chunks/chunk.ZGUIKRKT.js +65 -0
- package/dist/chunks/chunk.ZHCPQCAT.js +100 -0
- package/dist/chunks/chunk.ZIZYD6CK.js +1 -0
- package/dist/chunks/chunk.ZLHKXQMP.js +1198 -0
- package/dist/chunks/chunk.ZOWAJRXH.js +11 -0
- package/dist/chunks/chunk.ZQZFLK2U.js +1 -0
- package/dist/chunks/chunk.ZTPG767K.js +1 -0
- package/dist/chunks/chunk.ZYYOFHS4.js +121 -0
- package/dist/components/accordion/accordion.component.js +1 -1
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/alert/alert.component.js +1 -1
- package/dist/components/alert/alert.js +1 -1
- package/dist/components/avatar/avatar.component.js +1 -1
- package/dist/components/avatar/avatar.js +1 -1
- package/dist/components/badge/badge.component.js +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/banner/banner.component.js +1 -1
- package/dist/components/banner/banner.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +1 -1
- package/dist/components/browse-variables/browse-variables.js +1 -1
- package/dist/components/button/button.component.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/button-group/button-group.component.js +1 -1
- package/dist/components/button-group/button-group.js +1 -1
- package/dist/components/caption/caption.component.js +1 -1
- package/dist/components/caption/caption.js +1 -1
- package/dist/components/card/card.component.js +1 -1
- package/dist/components/card/card.js +1 -1
- package/dist/components/checkbox/checkbox.component.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/chip/chip.component.js +1 -1
- package/dist/components/chip/chip.js +1 -1
- package/dist/components/combobox/combobox.component.js +1 -1
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/data-access/data-access.component.js +1 -1
- package/dist/components/data-access/data-access.js +1 -1
- package/dist/components/data-grid/data-grid.component.js +1 -1
- package/dist/components/data-grid/data-grid.js +1 -1
- package/dist/components/data-rods/data-rods.component.js +1 -1
- package/dist/components/data-rods/data-rods.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.component.d.ts +1 -0
- package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.js +1 -1
- package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
- package/dist/components/date-picker/date-picker.component.js +1 -1
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.js +1 -1
- package/dist/components/dialog/dialog.component.js +1 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/divider/divider.component.js +1 -1
- package/dist/components/divider/divider.js +1 -1
- package/dist/components/dropdown/dropdown.component.js +1 -1
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
- package/dist/components/earthdata-login/earthdata-login.js +1 -1
- package/dist/components/file-upload/file-upload.component.js +1 -1
- package/dist/components/file-upload/file-upload.js +1 -1
- package/dist/components/harmony-history/harmony-history.component.js +1 -1
- package/dist/components/harmony-history/harmony-history.js +1 -1
- package/dist/components/icon/icon.component.js +1 -1
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/icon/library.js +1 -1
- package/dist/components/input/input.component.js +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/loader/loader.component.js +1 -1
- package/dist/components/loader/loader.js +1 -1
- package/dist/components/login/login.component.js +1 -1
- package/dist/components/login/login.js +1 -1
- package/dist/components/map/layers/base.layer.d.ts +7 -0
- package/dist/components/map/layers/base.layer.js +1 -0
- package/dist/components/map/layers/borders.layer.d.ts +6 -0
- package/dist/components/map/layers/borders.layer.js +1 -0
- package/dist/components/map/layers/bordersStyleConfig.d.ts +29 -0
- package/dist/components/map/layers/bordersStyleConfig.js +1 -0
- package/dist/components/map/layers/labels.layer.d.ts +6 -0
- package/dist/components/map/layers/labels.layer.js +1 -0
- package/dist/components/map/layers/labelsStyleConfig.d.ts +2337 -0
- package/dist/components/map/layers/labelsStyleConfig.js +1 -0
- package/dist/components/map/map.component.d.ts +42 -0
- package/dist/components/map/map.component.js +1 -1
- package/dist/components/map/map.js +1 -1
- package/dist/components/map/map.service.d.ts +50 -1
- package/dist/components/map/map.service.js +1 -1
- package/dist/components/map/map.styles.js +1 -1
- package/dist/components/menu/menu.component.js +1 -1
- package/dist/components/menu/menu.js +1 -1
- package/dist/components/menu-item/menu-item.component.js +1 -1
- package/dist/components/menu-item/menu-item.js +1 -1
- package/dist/components/option/option.component.js +1 -1
- package/dist/components/option/option.js +1 -1
- package/dist/components/pagination/pagination.component.js +1 -1
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/plot/plot.component.js +1 -1
- package/dist/components/plot/plot.js +1 -1
- 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.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
- package/dist/components/popup/popup.component.js +1 -1
- package/dist/components/popup/popup.js +1 -1
- package/dist/components/progress-bar/progress-bar.component.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +1 -1
- package/dist/components/radio/radio.component.js +1 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-group/radio-group.component.js +1 -1
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
- package/dist/components/scroll-hint/scroll-hint.js +1 -1
- package/dist/components/select/select.component.js +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/site-header/site-header.component.js +1 -1
- package/dist/components/site-header/site-header.js +1 -1
- package/dist/components/site-navigation/site-navigation.component.js +1 -1
- package/dist/components/site-navigation/site-navigation.js +1 -1
- package/dist/components/skeleton/skeleton.component.js +1 -1
- package/dist/components/skeleton/skeleton.js +1 -1
- package/dist/components/slider/slider.component.js +1 -1
- package/dist/components/slider/slider.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.js +1 -1
- package/dist/components/status-indicator/status-indicator.component.js +1 -1
- package/dist/components/status-indicator/status-indicator.js +1 -1
- package/dist/components/stepper/stepper.component.js +1 -1
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/stepper-step/stepper-step.component.js +1 -1
- package/dist/components/stepper-step/stepper-step.js +1 -1
- package/dist/components/tab/tab.component.js +1 -1
- package/dist/components/tab/tab.js +1 -1
- package/dist/components/tab-panel/tab-panel.component.js +1 -1
- package/dist/components/tab-panel/tab-panel.js +1 -1
- package/dist/components/tabs/tabs.component.js +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/tag/tag.component.js +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/textarea/textarea.component.js +1 -1
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/components/time-average-map/time-average-map.component.d.ts +12 -8
- package/dist/components/time-average-map/time-average-map.component.js +1 -1
- package/dist/components/time-average-map/time-average-map.controller.d.ts +5 -0
- package/dist/components/time-average-map/time-average-map.controller.js +1 -1
- package/dist/components/time-average-map/time-average-map.js +1 -1
- package/dist/components/time-average-map/time-average-map.styles.js +1 -1
- package/dist/components/time-series/time-series.component.js +1 -1
- package/dist/components/time-series/time-series.controller.d.ts +5 -0
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +1 -1
- package/dist/components/toast/toast.component.js +1 -1
- package/dist/components/toast/toast.js +1 -1
- package/dist/components/toggle/toggle.component.js +1 -1
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/tooltip/tooltip.component.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
- package/dist/custom-elements.json +5947 -5851
- package/dist/events/events.d.ts +1 -1
- package/dist/events/terra-map-change.d.ts +6 -0
- package/dist/react/accordion/index.js +1 -1
- package/dist/react/alert/index.js +1 -1
- package/dist/react/avatar/index.js +1 -1
- package/dist/react/badge/index.js +1 -1
- package/dist/react/banner/index.js +1 -1
- package/dist/react/breadcrumb/index.js +1 -1
- package/dist/react/breadcrumbs/index.js +1 -1
- package/dist/react/browse-variables/index.js +1 -1
- package/dist/react/button/index.js +1 -1
- package/dist/react/button-group/index.js +1 -1
- package/dist/react/caption/index.js +1 -1
- package/dist/react/card/index.js +1 -1
- package/dist/react/checkbox/index.js +1 -1
- package/dist/react/chip/index.js +1 -1
- package/dist/react/combobox/index.js +1 -1
- package/dist/react/data-access/index.js +1 -1
- package/dist/react/data-grid/index.js +1 -1
- package/dist/react/data-rods/index.js +1 -1
- package/dist/react/data-subsetter/index.js +1 -1
- package/dist/react/data-subsetter-history/index.js +1 -1
- package/dist/react/date-picker/index.js +1 -1
- package/dist/react/date-range-slider/index.js +1 -1
- package/dist/react/dialog/index.js +1 -1
- package/dist/react/divider/index.js +1 -1
- package/dist/react/dropdown/index.js +1 -1
- package/dist/react/earthdata-login/index.js +1 -1
- package/dist/react/file-upload/index.js +1 -1
- package/dist/react/harmony-history/index.js +1 -1
- package/dist/react/icon/index.js +1 -1
- package/dist/react/index.d.ts +10 -10
- package/dist/react/index.js +1 -1
- package/dist/react/input/index.js +1 -1
- package/dist/react/loader/index.js +1 -1
- package/dist/react/login/index.js +1 -1
- package/dist/react/map/index.js +1 -1
- package/dist/react/menu/index.js +1 -1
- package/dist/react/menu-item/index.js +1 -1
- package/dist/react/option/index.js +1 -1
- package/dist/react/pagination/index.js +1 -1
- package/dist/react/plot/index.js +1 -1
- package/dist/react/plot-toolbar/index.js +1 -1
- package/dist/react/popup/index.js +1 -1
- package/dist/react/progress-bar/index.js +1 -1
- package/dist/react/radio/index.js +1 -1
- package/dist/react/radio-group/index.js +1 -1
- package/dist/react/scroll-hint/index.js +1 -1
- package/dist/react/select/index.js +1 -1
- package/dist/react/site-header/index.js +1 -1
- package/dist/react/site-navigation/index.js +1 -1
- package/dist/react/skeleton/index.js +1 -1
- package/dist/react/slider/index.js +1 -1
- package/dist/react/spatial-picker/index.js +1 -1
- package/dist/react/status-indicator/index.js +1 -1
- package/dist/react/stepper/index.js +1 -1
- package/dist/react/stepper-step/index.js +1 -1
- package/dist/react/tab/index.js +1 -1
- package/dist/react/tab-panel/index.js +1 -1
- package/dist/react/tabs/index.js +1 -1
- package/dist/react/tag/index.js +1 -1
- package/dist/react/textarea/index.js +1 -1
- package/dist/react/time-average-map/index.js +1 -1
- package/dist/react/time-series/index.js +1 -1
- package/dist/react/toast/index.js +1 -1
- package/dist/react/toggle/index.js +1 -1
- package/dist/react/tooltip/index.js +1 -1
- package/dist/react/variable-combobox/index.js +1 -1
- package/dist/react/variable-keyword-search/index.js +1 -1
- package/dist/terra-ui-components.js +1 -1
- package/dist/terra_ui_components-0.0.200-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.200.tar.gz +0 -0
- package/dist/types/vue/index.d.ts +586 -564
- package/dist/utilities/icon-library.js +1 -1
- package/dist/vscode.html-custom-data.json +356 -350
- package/dist/web-types.json +1096 -1082
- package/package.json +2 -1
- package/cdn/chunks/GeoTIFF.NRJSPXBW.js +0 -21958
- package/cdn/chunks/chunk.25SASHHO.js +0 -60
- package/cdn/chunks/chunk.27NEXEZY.js +0 -19
- package/cdn/chunks/chunk.2FFK57ZH.js +0 -1264
- package/cdn/chunks/chunk.2FGK3J7F.js +0 -29
- package/cdn/chunks/chunk.2FSQRD2X.js +0 -32
- package/cdn/chunks/chunk.2P5VNQ3Q.js +0 -36
- package/cdn/chunks/chunk.34EBDDZ2.js +0 -19
- package/cdn/chunks/chunk.3AK225D4.js +0 -35
- package/cdn/chunks/chunk.3DB6PNAX.js +0 -36
- package/cdn/chunks/chunk.3IYEHDGU.js +0 -19
- package/cdn/chunks/chunk.3KHEMQPI.js +0 -19
- package/cdn/chunks/chunk.3Q2LDNOY.js +0 -276
- package/cdn/chunks/chunk.3RCH7UZU.js +0 -19
- package/cdn/chunks/chunk.3UIUIYCO.js +0 -32
- package/cdn/chunks/chunk.3VQHJIOH.js +0 -277
- package/cdn/chunks/chunk.4FFCJHOF.js +0 -29
- package/cdn/chunks/chunk.4GDEK6CA.js +0 -1975
- package/cdn/chunks/chunk.4KGQA5PY.js +0 -657
- package/cdn/chunks/chunk.4OGJ2ZSG.js +0 -195
- package/cdn/chunks/chunk.4VSXBUU6.js +0 -377
- package/cdn/chunks/chunk.4Z7MSJL7.js +0 -19
- package/cdn/chunks/chunk.53FLKCIC.js +0 -19
- package/cdn/chunks/chunk.5ASO3OUZ.js +0 -138
- package/cdn/chunks/chunk.5D655ZE7.js +0 -19
- package/cdn/chunks/chunk.5ETTKUDG.js +0 -188
- package/cdn/chunks/chunk.5IQUQXEQ.js +0 -19
- package/cdn/chunks/chunk.5LXVG2NR.js +0 -2713
- package/cdn/chunks/chunk.5SWFG3T6.js +0 -151
- package/cdn/chunks/chunk.673RMALO.js +0 -104
- package/cdn/chunks/chunk.6EVMKXR5.js +0 -32
- package/cdn/chunks/chunk.6HUTR57W.js +0 -19
- package/cdn/chunks/chunk.6JSHABDB.js +0 -32
- package/cdn/chunks/chunk.763TTBY7.js +0 -93
- package/cdn/chunks/chunk.763WHPEC.js +0 -132
- package/cdn/chunks/chunk.7BKQAOA6.js +0 -904
- package/cdn/chunks/chunk.7EKX7V3C.js +0 -32
- package/cdn/chunks/chunk.7T7SZ2MG.js +0 -224
- package/cdn/chunks/chunk.7UOLOECG.js +0 -19
- package/cdn/chunks/chunk.7XXKTRE2.js +0 -62
- package/cdn/chunks/chunk.AAQP4ZRG.js +0 -36
- package/cdn/chunks/chunk.ACM6IUFA.js +0 -29
- package/cdn/chunks/chunk.ACQRX6KA.js +0 -2546
- package/cdn/chunks/chunk.AE7GQ2OH.js +0 -162
- package/cdn/chunks/chunk.AOAMCCLA.js +0 -230
- package/cdn/chunks/chunk.AOCKA5FE.js +0 -19
- package/cdn/chunks/chunk.AQ5UEM6S.js +0 -136
- package/cdn/chunks/chunk.ATCMXTT6.js +0 -155
- package/cdn/chunks/chunk.AXUUEQIQ.js +0 -19
- package/cdn/chunks/chunk.BDDP57YT.js +0 -616
- package/cdn/chunks/chunk.BIO3CT7R.js +0 -19
- package/cdn/chunks/chunk.BX4XMEDL.js +0 -32
- package/cdn/chunks/chunk.C4Q3HQT3.js +0 -19
- package/cdn/chunks/chunk.CCVZBOJU.js +0 -19
- package/cdn/chunks/chunk.CFWEN4DK.js +0 -19
- package/cdn/chunks/chunk.CKRCCLC4.js +0 -1197
- package/cdn/chunks/chunk.COOTH73Y.js +0 -158
- package/cdn/chunks/chunk.CQQ7A6TB.js +0 -19
- package/cdn/chunks/chunk.CSSDZBIW.js +0 -29
- package/cdn/chunks/chunk.CVCOATX4.js +0 -29
- package/cdn/chunks/chunk.CYHEIQK4.js +0 -19
- package/cdn/chunks/chunk.D5MA5XD2.js +0 -19
- package/cdn/chunks/chunk.D65VLQ5F.js +0 -925
- package/cdn/chunks/chunk.DDAV4MHH.js +0 -33
- package/cdn/chunks/chunk.DTCGB6MX.js +0 -29
- package/cdn/chunks/chunk.DVOT5I62.js +0 -266
- package/cdn/chunks/chunk.E23DSFKG.js +0 -19
- package/cdn/chunks/chunk.E3AMPHJV.js +0 -29
- package/cdn/chunks/chunk.ED45RVQ7.js +0 -134
- package/cdn/chunks/chunk.EN2T3RPZ.js +0 -19
- package/cdn/chunks/chunk.EQ6SQSU4.js +0 -113
- package/cdn/chunks/chunk.F3KZAEMI.js +0 -86
- package/cdn/chunks/chunk.FAHOVJJQ.js +0 -19
- package/cdn/chunks/chunk.FETH5QYA.js +0 -92
- package/cdn/chunks/chunk.FGO5SZJJ.js +0 -29
- package/cdn/chunks/chunk.FOWCYICQ.js +0 -19
- package/cdn/chunks/chunk.FP46ENK2.js +0 -106
- package/cdn/chunks/chunk.FQDDBEJS.js +0 -478
- package/cdn/chunks/chunk.FRXGVFPM.js +0 -32
- package/cdn/chunks/chunk.G2JFFI24.js +0 -19
- package/cdn/chunks/chunk.G6U6RXJS.js +0 -82
- package/cdn/chunks/chunk.GB6CFGNH.js +0 -29
- package/cdn/chunks/chunk.GGTQYGC5.js +0 -458
- package/cdn/chunks/chunk.GJEUR34A.js +0 -32
- package/cdn/chunks/chunk.GL4VHOZ6.js +0 -631
- package/cdn/chunks/chunk.GMM3EOD6.js +0 -9743
- package/cdn/chunks/chunk.GN3JMZRR.js +0 -29
- package/cdn/chunks/chunk.GQBAO7NT.js +0 -29
- package/cdn/chunks/chunk.GXV3SI3E.js +0 -310
- package/cdn/chunks/chunk.H4E67GBN.js +0 -32
- package/cdn/chunks/chunk.HP5JGXDX.js +0 -19
- package/cdn/chunks/chunk.HPESON7W.js +0 -443
- package/cdn/chunks/chunk.HPFSUZ5Z.js +0 -294
- package/cdn/chunks/chunk.HTRP2HMU.js +0 -19
- package/cdn/chunks/chunk.IOPMJDF5.js +0 -19
- package/cdn/chunks/chunk.IPOUZRQQ.js +0 -33
- package/cdn/chunks/chunk.J2MEB73Q.js +0 -19
- package/cdn/chunks/chunk.J2YY5O2V.js +0 -543
- package/cdn/chunks/chunk.J534EJQR.js +0 -19
- package/cdn/chunks/chunk.J5YZLQZG.js +0 -19
- package/cdn/chunks/chunk.JALTEGNG.js +0 -19
- package/cdn/chunks/chunk.JERVD5PR.js +0 -30
- package/cdn/chunks/chunk.JINQBHNW.js +0 -60
- package/cdn/chunks/chunk.JJOHTWOC.js +0 -36
- package/cdn/chunks/chunk.JZPB2P2H.js +0 -34
- package/cdn/chunks/chunk.JZXYV4F3.js +0 -19
- package/cdn/chunks/chunk.KDMCTX4V.js +0 -19
- package/cdn/chunks/chunk.KJ2GVCPZ.js +0 -29
- package/cdn/chunks/chunk.KJUPXC55.js +0 -41
- package/cdn/chunks/chunk.KLHRICOA.js +0 -19
- package/cdn/chunks/chunk.LBDLTKYA.js +0 -34
- package/cdn/chunks/chunk.LBTS6K2C.js +0 -19
- package/cdn/chunks/chunk.LJNSIKDU.js +0 -74
- package/cdn/chunks/chunk.LMEJH2BQ.js +0 -234
- package/cdn/chunks/chunk.LOTR636L.js +0 -19
- package/cdn/chunks/chunk.LP56SNNW.js +0 -19
- package/cdn/chunks/chunk.LQUILBH4.js +0 -19
- package/cdn/chunks/chunk.LRWHUN6Q.js +0 -19
- package/cdn/chunks/chunk.LSLLV44U.js +0 -35
- package/cdn/chunks/chunk.LWN6Z2MT.js +0 -610
- package/cdn/chunks/chunk.M67NQHER.js +0 -259
- package/cdn/chunks/chunk.MVC3GRDP.js +0 -524
- package/cdn/chunks/chunk.MZPYNFAK.js +0 -19
- package/cdn/chunks/chunk.NAYEMU6V.js +0 -594
- package/cdn/chunks/chunk.NBV7BO7K.js +0 -35
- package/cdn/chunks/chunk.NBVGG52Y.js +0 -19
- package/cdn/chunks/chunk.NCBYWOID.js +0 -33
- package/cdn/chunks/chunk.NEXXYMR2.js +0 -29
- package/cdn/chunks/chunk.NGS4A7JM.js +0 -960
- package/cdn/chunks/chunk.NPWYBDA7.js +0 -19
- package/cdn/chunks/chunk.O4C2GKGK.js +0 -357
- package/cdn/chunks/chunk.O7LDEO3Y.js +0 -36
- package/cdn/chunks/chunk.OKZX2FLN.js +0 -190
- package/cdn/chunks/chunk.OMDMKCSO.js +0 -68
- package/cdn/chunks/chunk.OMV3UFK5.js +0 -19
- package/cdn/chunks/chunk.OUPRETB6.js +0 -537
- package/cdn/chunks/chunk.OWEAZGNG.js +0 -29
- package/cdn/chunks/chunk.P3IZXZD7.js +0 -19
- package/cdn/chunks/chunk.P4PYSONI.js +0 -1985
- package/cdn/chunks/chunk.P5L2C7D6.js +0 -33
- package/cdn/chunks/chunk.PAFDTAPQ.js +0 -71
- package/cdn/chunks/chunk.PFTM3PHG.js +0 -110
- package/cdn/chunks/chunk.PZT47FKK.js +0 -19
- package/cdn/chunks/chunk.Q7SENWN7.js +0 -32
- package/cdn/chunks/chunk.QAEFL5ZA.js +0 -29
- package/cdn/chunks/chunk.QJUVPP3K.js +0 -19
- package/cdn/chunks/chunk.QLB2HRLZ.js +0 -19
- package/cdn/chunks/chunk.QWF3B66L.js +0 -29
- package/cdn/chunks/chunk.QXZWFB45.js +0 -19
- package/cdn/chunks/chunk.QZU24DVR.js +0 -47
- package/cdn/chunks/chunk.R3DMTQZ7.js +0 -99
- package/cdn/chunks/chunk.R77CTO6K.js +0 -32
- package/cdn/chunks/chunk.R7LMVJAZ.js +0 -83
- package/cdn/chunks/chunk.RCOD7FFJ.js +0 -278
- package/cdn/chunks/chunk.RKS4PEGG.js +0 -330
- package/cdn/chunks/chunk.RRPDBZZG.js +0 -19
- package/cdn/chunks/chunk.RT45YBDH.js +0 -19
- package/cdn/chunks/chunk.S6FUVU5G.js +0 -19
- package/cdn/chunks/chunk.SKBS4BJN.js +0 -24561
- package/cdn/chunks/chunk.SPWQ65KD.js +0 -29
- package/cdn/chunks/chunk.SR3N2FYU.js +0 -78
- package/cdn/chunks/chunk.STHBAAN2.js +0 -538
- package/cdn/chunks/chunk.SX3JRN4T.js +0 -599
- package/cdn/chunks/chunk.TDMPHDKJ.js +0 -19
- package/cdn/chunks/chunk.TFXTRVKP.js +0 -29
- package/cdn/chunks/chunk.TKY6BLP4.js +0 -19
- package/cdn/chunks/chunk.TUOTP4CD.js +0 -19
- package/cdn/chunks/chunk.UDHCKILF.js +0 -29
- package/cdn/chunks/chunk.UI656UYI.js +0 -56075
- package/cdn/chunks/chunk.UQSFYHDF.js +0 -29
- package/cdn/chunks/chunk.UXFIJ2ZX.js +0 -293
- package/cdn/chunks/chunk.UYNLPW2B.js +0 -298
- package/cdn/chunks/chunk.VH3CFXFW.js +0 -39
- package/cdn/chunks/chunk.VIBJ6GTB.js +0 -231
- package/cdn/chunks/chunk.VU5YCBI7.js +0 -29
- package/cdn/chunks/chunk.VZZ5VWGT.js +0 -515
- package/cdn/chunks/chunk.WFSXAREE.js +0 -51
- package/cdn/chunks/chunk.WIYWTJBS.js +0 -29
- package/cdn/chunks/chunk.WJ6P74RX.js +0 -672
- package/cdn/chunks/chunk.WOGYXGQJ.js +0 -29
- package/cdn/chunks/chunk.WRH6KGLB.js +0 -32
- package/cdn/chunks/chunk.WVFK7SEA.js +0 -19
- package/cdn/chunks/chunk.WY7Z4HZC.js +0 -19
- package/cdn/chunks/chunk.WZWTQD7Z.js +0 -29
- package/cdn/chunks/chunk.X2VWBUE3.js +0 -19
- package/cdn/chunks/chunk.X4BGAKNR.js +0 -123
- package/cdn/chunks/chunk.X4HGAHKQ.js +0 -35
- package/cdn/chunks/chunk.X7YHUN2A.js +0 -19
- package/cdn/chunks/chunk.XA72A6DU.js +0 -19
- package/cdn/chunks/chunk.XC7Z44CM.js +0 -19
- package/cdn/chunks/chunk.XFCD7OFY.js +0 -33
- package/cdn/chunks/chunk.XLQG5E2P.js +0 -37
- package/cdn/chunks/chunk.XTGUW4UW.js +0 -35
- package/cdn/chunks/chunk.XUTJ666V.js +0 -19
- package/cdn/chunks/chunk.XWRI2TBI.js +0 -19
- package/cdn/chunks/chunk.YGLWUTM5.js +0 -29
- package/cdn/chunks/chunk.YNXKSK2K.js +0 -29
- package/cdn/chunks/chunk.YSK7YOI2.js +0 -359
- package/cdn/chunks/chunk.Z2ZM5DA2.js +0 -37
- package/cdn/chunks/chunk.Z7HEB67J.js +0 -29
- package/cdn/chunks/chunk.ZEFZMBN5.js +0 -29
- package/cdn/chunks/chunk.ZKIDCWMN.js +0 -32
- package/cdn/chunks/chunk.ZLKXOXOU.js +0 -49
- package/cdn/chunks/chunk.ZMRWSDKT.js +0 -29
- package/cdn/chunks/chunk.ZQFRHM65.js +0 -32
- package/cdn/chunks/chunk.ZYWUJLL7.js +0 -29
- package/cdn/chunks/lerc.4U2WA6NV.js +0 -2097
- package/dist/chunks/chunk.24SX4FMU.js +0 -1
- package/dist/chunks/chunk.2GXQG2C6.js +0 -1
- package/dist/chunks/chunk.2XKK72BX.js +0 -1
- package/dist/chunks/chunk.2XPGS7YP.js +0 -48
- package/dist/chunks/chunk.2ZYNR23M.js +0 -1
- package/dist/chunks/chunk.36HLLZYQ.js +0 -1
- package/dist/chunks/chunk.3CU7KNNE.js +0 -1
- package/dist/chunks/chunk.3ITVVL3P.js +0 -1
- package/dist/chunks/chunk.3W34LXSN.js +0 -1
- package/dist/chunks/chunk.3Y6WWRX4.js +0 -1
- package/dist/chunks/chunk.4GQ4J4RQ.js +0 -47
- package/dist/chunks/chunk.4QD3ZYJY.js +0 -24
- package/dist/chunks/chunk.4R2LB5BK.js +0 -1
- package/dist/chunks/chunk.4UFR7QMC.js +0 -1
- package/dist/chunks/chunk.52ODFIC3.js +0 -1
- package/dist/chunks/chunk.55EGVUKA.js +0 -8
- package/dist/chunks/chunk.5FJJ7CKA.js +0 -1
- package/dist/chunks/chunk.5GXF4QPJ.js +0 -1
- package/dist/chunks/chunk.5HMYUJA4.js +0 -11
- package/dist/chunks/chunk.5TC6SHQD.js +0 -1
- package/dist/chunks/chunk.5Y2ANPPB.js +0 -121
- package/dist/chunks/chunk.64BYIJHY.js +0 -1
- package/dist/chunks/chunk.6ETTLWXK.js +0 -1
- package/dist/chunks/chunk.6FH4FIIS.js +0 -157
- package/dist/chunks/chunk.6NISHRMO.js +0 -1
- package/dist/chunks/chunk.6OIEAUAO.js +0 -9
- package/dist/chunks/chunk.6SIPIJUK.js +0 -19
- package/dist/chunks/chunk.6XQYLPLE.js +0 -1
- package/dist/chunks/chunk.6ZY5ELEO.js +0 -1
- package/dist/chunks/chunk.73NL7DL3.js +0 -1
- package/dist/chunks/chunk.75UA5KEJ.js +0 -1
- package/dist/chunks/chunk.7L35TYU5.js +0 -1
- package/dist/chunks/chunk.7NFE6ZZV.js +0 -1
- package/dist/chunks/chunk.7SDRQM32.js +0 -1
- package/dist/chunks/chunk.7YCJNGUN.js +0 -148
- package/dist/chunks/chunk.A4MX5WMW.js +0 -43
- package/dist/chunks/chunk.A673HJFE.js +0 -1
- package/dist/chunks/chunk.AFIUQX3S.js +0 -20
- package/dist/chunks/chunk.AGRACYBL.js +0 -1
- package/dist/chunks/chunk.AOIZBSP4.js +0 -14
- package/dist/chunks/chunk.AXF5M76D.js +0 -35
- package/dist/chunks/chunk.BOTQGLFI.js +0 -1190
- package/dist/chunks/chunk.BQC5WG2F.js +0 -1
- package/dist/chunks/chunk.BS64IZTS.js +0 -1
- package/dist/chunks/chunk.BXVCOWUZ.js +0 -122
- package/dist/chunks/chunk.BYA3HDVE.js +0 -154
- package/dist/chunks/chunk.C3X67ZLF.js +0 -1
- package/dist/chunks/chunk.CBBP6HID.js +0 -1
- package/dist/chunks/chunk.CFCILO2Y.js +0 -1
- package/dist/chunks/chunk.CLLARK3K.js +0 -27
- package/dist/chunks/chunk.CNWVGJYN.js +0 -127
- package/dist/chunks/chunk.CO4V5XB7.js +0 -1
- package/dist/chunks/chunk.CXDMJZ4A.js +0 -1
- package/dist/chunks/chunk.D2RDQWCD.js +0 -1
- package/dist/chunks/chunk.DA3J4VXR.js +0 -145
- package/dist/chunks/chunk.DBNR7FR7.js +0 -1
- package/dist/chunks/chunk.DCBVJQPK.js +0 -1
- package/dist/chunks/chunk.DCM3VMX3.js +0 -1
- package/dist/chunks/chunk.DD4HJH47.js +0 -6
- package/dist/chunks/chunk.DDWDUBXM.js +0 -30
- package/dist/chunks/chunk.DMWYZA3Y.js +0 -1
- package/dist/chunks/chunk.DPTTMTMJ.js +0 -1
- package/dist/chunks/chunk.DXEDGBWD.js +0 -11
- package/dist/chunks/chunk.EJZK2KGV.js +0 -1
- package/dist/chunks/chunk.ELNLFTBC.js +0 -8
- package/dist/chunks/chunk.F3CMUMHO.js +0 -1
- package/dist/chunks/chunk.F6QDIBZ2.js +0 -1
- package/dist/chunks/chunk.FB7XCQPI.js +0 -1
- package/dist/chunks/chunk.FC7OUKJM.js +0 -1
- package/dist/chunks/chunk.FCBH4XA6.js +0 -20
- package/dist/chunks/chunk.FDOGNNGJ.js +0 -1
- package/dist/chunks/chunk.FJYHLRCI.js +0 -1
- package/dist/chunks/chunk.FKPKXR4K.js +0 -1
- package/dist/chunks/chunk.FQUY53QY.js +0 -1
- package/dist/chunks/chunk.FR7BDEKN.js +0 -1
- package/dist/chunks/chunk.FVAIGJMJ.js +0 -1
- package/dist/chunks/chunk.G3QY2X2J.js +0 -1
- package/dist/chunks/chunk.GCRALU2G.js +0 -30
- package/dist/chunks/chunk.GJA52HAR.js +0 -1
- package/dist/chunks/chunk.GJBPFJ2K.js +0 -1
- package/dist/chunks/chunk.GVJLQQRL.js +0 -55
- package/dist/chunks/chunk.H5C34R7T.js +0 -1
- package/dist/chunks/chunk.H633XPHC.js +0 -1
- package/dist/chunks/chunk.HIK6ESFZ.js +0 -1
- package/dist/chunks/chunk.HVOJ5I2Q.js +0 -1
- package/dist/chunks/chunk.I3MPRNEW.js +0 -1
- package/dist/chunks/chunk.IIFFGPR4.js +0 -1
- package/dist/chunks/chunk.IQHS4SSB.js +0 -22
- package/dist/chunks/chunk.IRXHB5LN.js +0 -1
- package/dist/chunks/chunk.IUTF6RLJ.js +0 -1
- package/dist/chunks/chunk.J4OEX4V7.js +0 -1
- package/dist/chunks/chunk.J54CLY55.js +0 -176
- package/dist/chunks/chunk.JJ2RKYZX.js +0 -1
- package/dist/chunks/chunk.JKHYEFZ7.js +0 -67
- package/dist/chunks/chunk.JLLYBW5K.js +0 -1
- package/dist/chunks/chunk.JNEOJDFH.js +0 -1
- package/dist/chunks/chunk.JNGVL46L.js +0 -1
- package/dist/chunks/chunk.JPRQO25T.js +0 -1
- package/dist/chunks/chunk.JYCCPLLK.js +0 -1
- package/dist/chunks/chunk.KTR74BUH.js +0 -9
- package/dist/chunks/chunk.KX3QK6AG.js +0 -1
- package/dist/chunks/chunk.LAV7B5HQ.js +0 -75
- package/dist/chunks/chunk.LCVY7UI3.js +0 -1
- package/dist/chunks/chunk.LFSREVFB.js +0 -1
- package/dist/chunks/chunk.LIL2OD6B.js +0 -1
- package/dist/chunks/chunk.LK4BRRBC.js +0 -1
- package/dist/chunks/chunk.LMSZJF64.js +0 -1
- package/dist/chunks/chunk.LNU5A3P4.js +0 -1
- package/dist/chunks/chunk.LX4TKJE4.js +0 -1
- package/dist/chunks/chunk.MCGELDAA.js +0 -300
- package/dist/chunks/chunk.MITQ2OXL.js +0 -1
- package/dist/chunks/chunk.MJR76YOH.js +0 -1
- package/dist/chunks/chunk.MLKC2NGO.js +0 -23
- package/dist/chunks/chunk.MPNC775E.js +0 -1
- package/dist/chunks/chunk.MWFVVSXA.js +0 -41
- package/dist/chunks/chunk.NLRMSHFU.js +0 -26
- package/dist/chunks/chunk.NOEBPPRY.js +0 -1
- package/dist/chunks/chunk.NOZEVQR4.js +0 -1
- package/dist/chunks/chunk.NX7IFT72.js +0 -1
- package/dist/chunks/chunk.OGDWQJZD.js +0 -280
- package/dist/chunks/chunk.OIJKFVKH.js +0 -80
- package/dist/chunks/chunk.OPCENTDH.js +0 -1
- package/dist/chunks/chunk.OVJTQS3R.js +0 -1
- package/dist/chunks/chunk.OY3LFRUC.js +0 -1
- package/dist/chunks/chunk.P34GHQPV.js +0 -299
- package/dist/chunks/chunk.P4DO532S.js +0 -1
- package/dist/chunks/chunk.P4MGQ55S.js +0 -1
- package/dist/chunks/chunk.P6F4F5QD.js +0 -1
- package/dist/chunks/chunk.P6ZQBWYA.js +0 -498
- package/dist/chunks/chunk.PJ6I3F64.js +0 -1
- package/dist/chunks/chunk.PKDR4N72.js +0 -1
- package/dist/chunks/chunk.PNDOGBBH.js +0 -35
- package/dist/chunks/chunk.PPMANAS7.js +0 -25
- package/dist/chunks/chunk.PSO4FXBN.js +0 -1
- package/dist/chunks/chunk.PURJ6A7V.js +0 -12
- package/dist/chunks/chunk.PXBLOJC2.js +0 -26
- package/dist/chunks/chunk.Q2WAGLNI.js +0 -1
- package/dist/chunks/chunk.Q4KUQYWO.js +0 -1
- package/dist/chunks/chunk.QDDRKEFK.js +0 -1
- package/dist/chunks/chunk.QGIQ5722.js +0 -1
- package/dist/chunks/chunk.QIRR5SHU.js +0 -1
- package/dist/chunks/chunk.QX7ATWZI.js +0 -1
- package/dist/chunks/chunk.QYVIUHVB.js +0 -38
- package/dist/chunks/chunk.R5W2QDX7.js +0 -1
- package/dist/chunks/chunk.RAHGHMXI.js +0 -1
- package/dist/chunks/chunk.RDYM773Z.js +0 -1
- package/dist/chunks/chunk.RK2WIN35.js +0 -1
- package/dist/chunks/chunk.ROUAWWLV.js +0 -1
- package/dist/chunks/chunk.RVOEFT5U.js +0 -1
- package/dist/chunks/chunk.RZU3COUL.js +0 -1
- package/dist/chunks/chunk.S3AX4H3V.js +0 -64
- package/dist/chunks/chunk.S5DZSTMC.js +0 -1
- package/dist/chunks/chunk.S5QAVZ6U.js +0 -17
- package/dist/chunks/chunk.S6VRSSO6.js +0 -1
- package/dist/chunks/chunk.SD6CXJRC.js +0 -2
- package/dist/chunks/chunk.SHFZMIFP.js +0 -39
- package/dist/chunks/chunk.SJ53VOP3.js +0 -1
- package/dist/chunks/chunk.SMIYI4II.js +0 -5
- package/dist/chunks/chunk.SMKE3JC5.js +0 -74
- package/dist/chunks/chunk.SPXXTRWH.js +0 -1
- package/dist/chunks/chunk.SXS6TOEP.js +0 -1
- package/dist/chunks/chunk.T2YVRM7D.js +0 -1
- package/dist/chunks/chunk.TAOFCQZQ.js +0 -1
- package/dist/chunks/chunk.TFVXGDQM.js +0 -37
- package/dist/chunks/chunk.TKVQOZQV.js +0 -1
- package/dist/chunks/chunk.TLSNSBFZ.js +0 -1
- package/dist/chunks/chunk.TQPOCOGE.js +0 -62
- package/dist/chunks/chunk.UL54RDR4.js +0 -1
- package/dist/chunks/chunk.UNHHJHFU.js +0 -1
- package/dist/chunks/chunk.UQN3GWLF.js +0 -1
- package/dist/chunks/chunk.UWTZQQSB.js +0 -1
- package/dist/chunks/chunk.V36IF7ZI.js +0 -1
- package/dist/chunks/chunk.V6SKIMFL.js +0 -43
- package/dist/chunks/chunk.VB25KRVB.js +0 -1
- package/dist/chunks/chunk.VMJ66H2K.js +0 -55
- package/dist/chunks/chunk.VVGU3MRZ.js +0 -61
- package/dist/chunks/chunk.WGDASVED.js +0 -1
- package/dist/chunks/chunk.WSQAOKNW.js +0 -572
- package/dist/chunks/chunk.WTWPPELF.js +0 -1
- package/dist/chunks/chunk.WUVKUAFQ.js +0 -1
- package/dist/chunks/chunk.WXPNSREU.js +0 -55
- package/dist/chunks/chunk.WZMBYYJZ.js +0 -1
- package/dist/chunks/chunk.X35TMCUS.js +0 -4
- package/dist/chunks/chunk.X4FGTGNS.js +0 -33
- package/dist/chunks/chunk.XB2SWVUB.js +0 -1
- package/dist/chunks/chunk.XM6WREG5.js +0 -1
- package/dist/chunks/chunk.XUX7B3MY.js +0 -113
- package/dist/chunks/chunk.XV2F2D73.js +0 -780
- package/dist/chunks/chunk.XXD4ILGD.js +0 -1
- package/dist/chunks/chunk.XYAXUANC.js +0 -1
- package/dist/chunks/chunk.Y6VOJNJH.js +0 -441
- package/dist/chunks/chunk.YASIML6Z.js +0 -5
- package/dist/chunks/chunk.YKXFFCAA.js +0 -65
- package/dist/chunks/chunk.YYECXERO.js +0 -1
- package/dist/chunks/chunk.ZBOS3NT4.js +0 -1
- package/dist/chunks/chunk.ZE3GRFIA.js +0 -16
- package/dist/chunks/chunk.ZH2NCLUA.js +0 -100
- package/dist/chunks/chunk.ZH45GJVZ.js +0 -1
- package/dist/chunks/chunk.ZNF2N7SP.js +0 -1
- package/dist/chunks/chunk.ZNJUJR6V.js +0 -99
- package/dist/chunks/chunk.ZR77WP3G.js +0 -1
- package/dist/chunks/chunk.ZVIT7ATK.js +0 -1
- package/dist/chunks/chunk.ZZTRPSS7.js +0 -1
- package/dist/terra_ui_components-0.0.198-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.198.tar.gz +0 -0
|
@@ -1,1975 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
popup_styles_default
|
|
3
|
-
} from "./chunk.7UCY22RR.js";
|
|
4
|
-
import {
|
|
5
|
-
e
|
|
6
|
-
} from "./chunk.KGXAA5I2.js";
|
|
7
|
-
import {
|
|
8
|
-
TerraElement,
|
|
9
|
-
component_styles_default,
|
|
10
|
-
e as e2,
|
|
11
|
-
n
|
|
12
|
-
} from "./chunk.WJ6P74RX.js";
|
|
13
|
-
import {
|
|
14
|
-
b
|
|
15
|
-
} from "./chunk.RRCYT4LP.js";
|
|
16
|
-
import {
|
|
17
|
-
__decorateClass,
|
|
18
|
-
__objRest,
|
|
19
|
-
__spreadProps,
|
|
20
|
-
__spreadValues,
|
|
21
|
-
init_buffer,
|
|
22
|
-
init_dirname,
|
|
23
|
-
init_process
|
|
24
|
-
} from "./chunk.ZEOVK2FE.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
|
-
function clamp(start, value, end) {
|
|
60
|
-
return max(start, min(value, end));
|
|
61
|
-
}
|
|
62
|
-
function evaluate(value, param) {
|
|
63
|
-
return typeof value === "function" ? value(param) : value;
|
|
64
|
-
}
|
|
65
|
-
function getSide(placement) {
|
|
66
|
-
return placement.split("-")[0];
|
|
67
|
-
}
|
|
68
|
-
function getAlignment(placement) {
|
|
69
|
-
return placement.split("-")[1];
|
|
70
|
-
}
|
|
71
|
-
function getOppositeAxis(axis) {
|
|
72
|
-
return axis === "x" ? "y" : "x";
|
|
73
|
-
}
|
|
74
|
-
function getAxisLength(axis) {
|
|
75
|
-
return axis === "y" ? "height" : "width";
|
|
76
|
-
}
|
|
77
|
-
function getSideAxis(placement) {
|
|
78
|
-
const firstChar = placement[0];
|
|
79
|
-
return firstChar === "t" || firstChar === "b" ? "y" : "x";
|
|
80
|
-
}
|
|
81
|
-
function getAlignmentAxis(placement) {
|
|
82
|
-
return getOppositeAxis(getSideAxis(placement));
|
|
83
|
-
}
|
|
84
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
85
|
-
if (rtl === void 0) {
|
|
86
|
-
rtl = false;
|
|
87
|
-
}
|
|
88
|
-
const alignment = getAlignment(placement);
|
|
89
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
90
|
-
const length = getAxisLength(alignmentAxis);
|
|
91
|
-
let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
|
|
92
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
93
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
94
|
-
}
|
|
95
|
-
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
96
|
-
}
|
|
97
|
-
function getExpandedPlacements(placement) {
|
|
98
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
99
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
100
|
-
}
|
|
101
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
102
|
-
return placement.includes("start") ? placement.replace("start", "end") : placement.replace("end", "start");
|
|
103
|
-
}
|
|
104
|
-
var lrPlacement = ["left", "right"];
|
|
105
|
-
var rlPlacement = ["right", "left"];
|
|
106
|
-
var tbPlacement = ["top", "bottom"];
|
|
107
|
-
var btPlacement = ["bottom", "top"];
|
|
108
|
-
function getSideList(side, isStart, rtl) {
|
|
109
|
-
switch (side) {
|
|
110
|
-
case "top":
|
|
111
|
-
case "bottom":
|
|
112
|
-
if (rtl)
|
|
113
|
-
return isStart ? rlPlacement : lrPlacement;
|
|
114
|
-
return isStart ? lrPlacement : rlPlacement;
|
|
115
|
-
case "left":
|
|
116
|
-
case "right":
|
|
117
|
-
return isStart ? tbPlacement : btPlacement;
|
|
118
|
-
default:
|
|
119
|
-
return [];
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
123
|
-
const alignment = getAlignment(placement);
|
|
124
|
-
let list = getSideList(getSide(placement), direction === "start", rtl);
|
|
125
|
-
if (alignment) {
|
|
126
|
-
list = list.map((side) => side + "-" + alignment);
|
|
127
|
-
if (flipAlignment) {
|
|
128
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
return list;
|
|
132
|
-
}
|
|
133
|
-
function getOppositePlacement(placement) {
|
|
134
|
-
const side = getSide(placement);
|
|
135
|
-
return oppositeSideMap[side] + placement.slice(side.length);
|
|
136
|
-
}
|
|
137
|
-
function expandPaddingObject(padding) {
|
|
138
|
-
return __spreadValues({
|
|
139
|
-
top: 0,
|
|
140
|
-
right: 0,
|
|
141
|
-
bottom: 0,
|
|
142
|
-
left: 0
|
|
143
|
-
}, padding);
|
|
144
|
-
}
|
|
145
|
-
function getPaddingObject(padding) {
|
|
146
|
-
return typeof padding !== "number" ? expandPaddingObject(padding) : {
|
|
147
|
-
top: padding,
|
|
148
|
-
right: padding,
|
|
149
|
-
bottom: padding,
|
|
150
|
-
left: padding
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
function rectToClientRect(rect) {
|
|
154
|
-
const {
|
|
155
|
-
x,
|
|
156
|
-
y,
|
|
157
|
-
width,
|
|
158
|
-
height
|
|
159
|
-
} = rect;
|
|
160
|
-
return {
|
|
161
|
-
width,
|
|
162
|
-
height,
|
|
163
|
-
top: y,
|
|
164
|
-
left: x,
|
|
165
|
-
right: x + width,
|
|
166
|
-
bottom: y + height,
|
|
167
|
-
x,
|
|
168
|
-
y
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
// node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
173
|
-
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
174
|
-
let {
|
|
175
|
-
reference,
|
|
176
|
-
floating
|
|
177
|
-
} = _ref;
|
|
178
|
-
const sideAxis = getSideAxis(placement);
|
|
179
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
180
|
-
const alignLength = getAxisLength(alignmentAxis);
|
|
181
|
-
const side = getSide(placement);
|
|
182
|
-
const isVertical = sideAxis === "y";
|
|
183
|
-
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
184
|
-
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
185
|
-
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
186
|
-
let coords;
|
|
187
|
-
switch (side) {
|
|
188
|
-
case "top":
|
|
189
|
-
coords = {
|
|
190
|
-
x: commonX,
|
|
191
|
-
y: reference.y - floating.height
|
|
192
|
-
};
|
|
193
|
-
break;
|
|
194
|
-
case "bottom":
|
|
195
|
-
coords = {
|
|
196
|
-
x: commonX,
|
|
197
|
-
y: reference.y + reference.height
|
|
198
|
-
};
|
|
199
|
-
break;
|
|
200
|
-
case "right":
|
|
201
|
-
coords = {
|
|
202
|
-
x: reference.x + reference.width,
|
|
203
|
-
y: commonY
|
|
204
|
-
};
|
|
205
|
-
break;
|
|
206
|
-
case "left":
|
|
207
|
-
coords = {
|
|
208
|
-
x: reference.x - floating.width,
|
|
209
|
-
y: commonY
|
|
210
|
-
};
|
|
211
|
-
break;
|
|
212
|
-
default:
|
|
213
|
-
coords = {
|
|
214
|
-
x: reference.x,
|
|
215
|
-
y: reference.y
|
|
216
|
-
};
|
|
217
|
-
}
|
|
218
|
-
switch (getAlignment(placement)) {
|
|
219
|
-
case "start":
|
|
220
|
-
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
221
|
-
break;
|
|
222
|
-
case "end":
|
|
223
|
-
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
224
|
-
break;
|
|
225
|
-
}
|
|
226
|
-
return coords;
|
|
227
|
-
}
|
|
228
|
-
async function detectOverflow(state, options) {
|
|
229
|
-
var _await$platform$isEle;
|
|
230
|
-
if (options === void 0) {
|
|
231
|
-
options = {};
|
|
232
|
-
}
|
|
233
|
-
const {
|
|
234
|
-
x,
|
|
235
|
-
y,
|
|
236
|
-
platform: platform2,
|
|
237
|
-
rects,
|
|
238
|
-
elements,
|
|
239
|
-
strategy
|
|
240
|
-
} = state;
|
|
241
|
-
const {
|
|
242
|
-
boundary = "clippingAncestors",
|
|
243
|
-
rootBoundary = "viewport",
|
|
244
|
-
elementContext = "floating",
|
|
245
|
-
altBoundary = false,
|
|
246
|
-
padding = 0
|
|
247
|
-
} = evaluate(options, state);
|
|
248
|
-
const paddingObject = getPaddingObject(padding);
|
|
249
|
-
const altContext = elementContext === "floating" ? "reference" : "floating";
|
|
250
|
-
const element = elements[altBoundary ? altContext : elementContext];
|
|
251
|
-
const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
|
|
252
|
-
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)),
|
|
253
|
-
boundary,
|
|
254
|
-
rootBoundary,
|
|
255
|
-
strategy
|
|
256
|
-
}));
|
|
257
|
-
const rect = elementContext === "floating" ? {
|
|
258
|
-
x,
|
|
259
|
-
y,
|
|
260
|
-
width: rects.floating.width,
|
|
261
|
-
height: rects.floating.height
|
|
262
|
-
} : rects.reference;
|
|
263
|
-
const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
|
|
264
|
-
const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
|
|
265
|
-
x: 1,
|
|
266
|
-
y: 1
|
|
267
|
-
} : {
|
|
268
|
-
x: 1,
|
|
269
|
-
y: 1
|
|
270
|
-
};
|
|
271
|
-
const elementClientRect = rectToClientRect(platform2.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform2.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
272
|
-
elements,
|
|
273
|
-
rect,
|
|
274
|
-
offsetParent,
|
|
275
|
-
strategy
|
|
276
|
-
}) : rect);
|
|
277
|
-
return {
|
|
278
|
-
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
279
|
-
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
280
|
-
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
281
|
-
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
282
|
-
};
|
|
283
|
-
}
|
|
284
|
-
var MAX_RESET_COUNT = 50;
|
|
285
|
-
var computePosition = async (reference, floating, config) => {
|
|
286
|
-
const {
|
|
287
|
-
placement = "bottom",
|
|
288
|
-
strategy = "absolute",
|
|
289
|
-
middleware = [],
|
|
290
|
-
platform: platform2
|
|
291
|
-
} = config;
|
|
292
|
-
const platformWithDetectOverflow = platform2.detectOverflow ? platform2 : __spreadProps(__spreadValues({}, platform2), {
|
|
293
|
-
detectOverflow
|
|
294
|
-
});
|
|
295
|
-
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
|
|
296
|
-
let rects = await platform2.getElementRects({
|
|
297
|
-
reference,
|
|
298
|
-
floating,
|
|
299
|
-
strategy
|
|
300
|
-
});
|
|
301
|
-
let {
|
|
302
|
-
x,
|
|
303
|
-
y
|
|
304
|
-
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
305
|
-
let statefulPlacement = placement;
|
|
306
|
-
let resetCount = 0;
|
|
307
|
-
const middlewareData = {};
|
|
308
|
-
for (let i2 = 0; i2 < middleware.length; i2++) {
|
|
309
|
-
const currentMiddleware = middleware[i2];
|
|
310
|
-
if (!currentMiddleware) {
|
|
311
|
-
continue;
|
|
312
|
-
}
|
|
313
|
-
const {
|
|
314
|
-
name,
|
|
315
|
-
fn
|
|
316
|
-
} = currentMiddleware;
|
|
317
|
-
const {
|
|
318
|
-
x: nextX,
|
|
319
|
-
y: nextY,
|
|
320
|
-
data,
|
|
321
|
-
reset
|
|
322
|
-
} = await fn({
|
|
323
|
-
x,
|
|
324
|
-
y,
|
|
325
|
-
initialPlacement: placement,
|
|
326
|
-
placement: statefulPlacement,
|
|
327
|
-
strategy,
|
|
328
|
-
middlewareData,
|
|
329
|
-
rects,
|
|
330
|
-
platform: platformWithDetectOverflow,
|
|
331
|
-
elements: {
|
|
332
|
-
reference,
|
|
333
|
-
floating
|
|
334
|
-
}
|
|
335
|
-
});
|
|
336
|
-
x = nextX != null ? nextX : x;
|
|
337
|
-
y = nextY != null ? nextY : y;
|
|
338
|
-
middlewareData[name] = __spreadValues(__spreadValues({}, middlewareData[name]), data);
|
|
339
|
-
if (reset && resetCount < MAX_RESET_COUNT) {
|
|
340
|
-
resetCount++;
|
|
341
|
-
if (typeof reset === "object") {
|
|
342
|
-
if (reset.placement) {
|
|
343
|
-
statefulPlacement = reset.placement;
|
|
344
|
-
}
|
|
345
|
-
if (reset.rects) {
|
|
346
|
-
rects = reset.rects === true ? await platform2.getElementRects({
|
|
347
|
-
reference,
|
|
348
|
-
floating,
|
|
349
|
-
strategy
|
|
350
|
-
}) : reset.rects;
|
|
351
|
-
}
|
|
352
|
-
({
|
|
353
|
-
x,
|
|
354
|
-
y
|
|
355
|
-
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
356
|
-
}
|
|
357
|
-
i2 = -1;
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
return {
|
|
361
|
-
x,
|
|
362
|
-
y,
|
|
363
|
-
placement: statefulPlacement,
|
|
364
|
-
strategy,
|
|
365
|
-
middlewareData
|
|
366
|
-
};
|
|
367
|
-
};
|
|
368
|
-
var arrow = (options) => ({
|
|
369
|
-
name: "arrow",
|
|
370
|
-
options,
|
|
371
|
-
async fn(state) {
|
|
372
|
-
const {
|
|
373
|
-
x,
|
|
374
|
-
y,
|
|
375
|
-
placement,
|
|
376
|
-
rects,
|
|
377
|
-
platform: platform2,
|
|
378
|
-
elements,
|
|
379
|
-
middlewareData
|
|
380
|
-
} = state;
|
|
381
|
-
const {
|
|
382
|
-
element,
|
|
383
|
-
padding = 0
|
|
384
|
-
} = evaluate(options, state) || {};
|
|
385
|
-
if (element == null) {
|
|
386
|
-
return {};
|
|
387
|
-
}
|
|
388
|
-
const paddingObject = getPaddingObject(padding);
|
|
389
|
-
const coords = {
|
|
390
|
-
x,
|
|
391
|
-
y
|
|
392
|
-
};
|
|
393
|
-
const axis = getAlignmentAxis(placement);
|
|
394
|
-
const length = getAxisLength(axis);
|
|
395
|
-
const arrowDimensions = await platform2.getDimensions(element);
|
|
396
|
-
const isYAxis = axis === "y";
|
|
397
|
-
const minProp = isYAxis ? "top" : "left";
|
|
398
|
-
const maxProp = isYAxis ? "bottom" : "right";
|
|
399
|
-
const clientProp = isYAxis ? "clientHeight" : "clientWidth";
|
|
400
|
-
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
401
|
-
const startDiff = coords[axis] - rects.reference[axis];
|
|
402
|
-
const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
|
|
403
|
-
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
404
|
-
if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
|
|
405
|
-
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
406
|
-
}
|
|
407
|
-
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
408
|
-
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
409
|
-
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
410
|
-
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
411
|
-
const min$1 = minPadding;
|
|
412
|
-
const max2 = clientSize - arrowDimensions[length] - maxPadding;
|
|
413
|
-
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
414
|
-
const offset3 = clamp(min$1, center, max2);
|
|
415
|
-
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset3 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
416
|
-
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max2 : 0;
|
|
417
|
-
return {
|
|
418
|
-
[axis]: coords[axis] + alignmentOffset,
|
|
419
|
-
data: __spreadValues({
|
|
420
|
-
[axis]: offset3,
|
|
421
|
-
centerOffset: center - offset3 - alignmentOffset
|
|
422
|
-
}, shouldAddOffset && {
|
|
423
|
-
alignmentOffset
|
|
424
|
-
}),
|
|
425
|
-
reset: shouldAddOffset
|
|
426
|
-
};
|
|
427
|
-
}
|
|
428
|
-
});
|
|
429
|
-
var flip = function(options) {
|
|
430
|
-
if (options === void 0) {
|
|
431
|
-
options = {};
|
|
432
|
-
}
|
|
433
|
-
return {
|
|
434
|
-
name: "flip",
|
|
435
|
-
options,
|
|
436
|
-
async fn(state) {
|
|
437
|
-
var _middlewareData$arrow, _middlewareData$flip;
|
|
438
|
-
const {
|
|
439
|
-
placement,
|
|
440
|
-
middlewareData,
|
|
441
|
-
rects,
|
|
442
|
-
initialPlacement,
|
|
443
|
-
platform: platform2,
|
|
444
|
-
elements
|
|
445
|
-
} = state;
|
|
446
|
-
const _a = evaluate(options, state), {
|
|
447
|
-
mainAxis: checkMainAxis = true,
|
|
448
|
-
crossAxis: checkCrossAxis = true,
|
|
449
|
-
fallbackPlacements: specifiedFallbackPlacements,
|
|
450
|
-
fallbackStrategy = "bestFit",
|
|
451
|
-
fallbackAxisSideDirection = "none",
|
|
452
|
-
flipAlignment = true
|
|
453
|
-
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
454
|
-
"mainAxis",
|
|
455
|
-
"crossAxis",
|
|
456
|
-
"fallbackPlacements",
|
|
457
|
-
"fallbackStrategy",
|
|
458
|
-
"fallbackAxisSideDirection",
|
|
459
|
-
"flipAlignment"
|
|
460
|
-
]);
|
|
461
|
-
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
462
|
-
return {};
|
|
463
|
-
}
|
|
464
|
-
const side = getSide(placement);
|
|
465
|
-
const initialSideAxis = getSideAxis(initialPlacement);
|
|
466
|
-
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
467
|
-
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
468
|
-
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
469
|
-
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
|
|
470
|
-
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
471
|
-
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
472
|
-
}
|
|
473
|
-
const placements2 = [initialPlacement, ...fallbackPlacements];
|
|
474
|
-
const overflow = await platform2.detectOverflow(state, detectOverflowOptions);
|
|
475
|
-
const overflows = [];
|
|
476
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
477
|
-
if (checkMainAxis) {
|
|
478
|
-
overflows.push(overflow[side]);
|
|
479
|
-
}
|
|
480
|
-
if (checkCrossAxis) {
|
|
481
|
-
const sides2 = getAlignmentSides(placement, rects, rtl);
|
|
482
|
-
overflows.push(overflow[sides2[0]], overflow[sides2[1]]);
|
|
483
|
-
}
|
|
484
|
-
overflowsData = [...overflowsData, {
|
|
485
|
-
placement,
|
|
486
|
-
overflows
|
|
487
|
-
}];
|
|
488
|
-
if (!overflows.every((side2) => side2 <= 0)) {
|
|
489
|
-
var _middlewareData$flip2, _overflowsData$filter;
|
|
490
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
491
|
-
const nextPlacement = placements2[nextIndex];
|
|
492
|
-
if (nextPlacement) {
|
|
493
|
-
const ignoreCrossAxisOverflow = checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : false;
|
|
494
|
-
if (!ignoreCrossAxisOverflow || // We leave the current main axis only if every placement on that axis
|
|
495
|
-
// overflows the main axis.
|
|
496
|
-
overflowsData.every((d) => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
|
|
497
|
-
return {
|
|
498
|
-
data: {
|
|
499
|
-
index: nextIndex,
|
|
500
|
-
overflows: overflowsData
|
|
501
|
-
},
|
|
502
|
-
reset: {
|
|
503
|
-
placement: nextPlacement
|
|
504
|
-
}
|
|
505
|
-
};
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b2) => a.overflows[1] - b2.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
509
|
-
if (!resetPlacement) {
|
|
510
|
-
switch (fallbackStrategy) {
|
|
511
|
-
case "bestFit": {
|
|
512
|
-
var _overflowsData$filter2;
|
|
513
|
-
const placement2 = (_overflowsData$filter2 = overflowsData.filter((d) => {
|
|
514
|
-
if (hasFallbackAxisSideDirection) {
|
|
515
|
-
const currentSideAxis = getSideAxis(d.placement);
|
|
516
|
-
return currentSideAxis === initialSideAxis || // Create a bias to the `y` side axis due to horizontal
|
|
517
|
-
// reading directions favoring greater width.
|
|
518
|
-
currentSideAxis === "y";
|
|
519
|
-
}
|
|
520
|
-
return true;
|
|
521
|
-
}).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a, b2) => a[1] - b2[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
522
|
-
if (placement2) {
|
|
523
|
-
resetPlacement = placement2;
|
|
524
|
-
}
|
|
525
|
-
break;
|
|
526
|
-
}
|
|
527
|
-
case "initialPlacement":
|
|
528
|
-
resetPlacement = initialPlacement;
|
|
529
|
-
break;
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
if (placement !== resetPlacement) {
|
|
533
|
-
return {
|
|
534
|
-
reset: {
|
|
535
|
-
placement: resetPlacement
|
|
536
|
-
}
|
|
537
|
-
};
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
return {};
|
|
541
|
-
}
|
|
542
|
-
};
|
|
543
|
-
};
|
|
544
|
-
var originSides = /* @__PURE__ */ new Set(["left", "top"]);
|
|
545
|
-
async function convertValueToCoords(state, options) {
|
|
546
|
-
const {
|
|
547
|
-
placement,
|
|
548
|
-
platform: platform2,
|
|
549
|
-
elements
|
|
550
|
-
} = state;
|
|
551
|
-
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
552
|
-
const side = getSide(placement);
|
|
553
|
-
const alignment = getAlignment(placement);
|
|
554
|
-
const isVertical = getSideAxis(placement) === "y";
|
|
555
|
-
const mainAxisMulti = originSides.has(side) ? -1 : 1;
|
|
556
|
-
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
557
|
-
const rawValue = evaluate(options, state);
|
|
558
|
-
let {
|
|
559
|
-
mainAxis,
|
|
560
|
-
crossAxis,
|
|
561
|
-
alignmentAxis
|
|
562
|
-
} = typeof rawValue === "number" ? {
|
|
563
|
-
mainAxis: rawValue,
|
|
564
|
-
crossAxis: 0,
|
|
565
|
-
alignmentAxis: null
|
|
566
|
-
} : {
|
|
567
|
-
mainAxis: rawValue.mainAxis || 0,
|
|
568
|
-
crossAxis: rawValue.crossAxis || 0,
|
|
569
|
-
alignmentAxis: rawValue.alignmentAxis
|
|
570
|
-
};
|
|
571
|
-
if (alignment && typeof alignmentAxis === "number") {
|
|
572
|
-
crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
|
|
573
|
-
}
|
|
574
|
-
return isVertical ? {
|
|
575
|
-
x: crossAxis * crossAxisMulti,
|
|
576
|
-
y: mainAxis * mainAxisMulti
|
|
577
|
-
} : {
|
|
578
|
-
x: mainAxis * mainAxisMulti,
|
|
579
|
-
y: crossAxis * crossAxisMulti
|
|
580
|
-
};
|
|
581
|
-
}
|
|
582
|
-
var offset = function(options) {
|
|
583
|
-
if (options === void 0) {
|
|
584
|
-
options = 0;
|
|
585
|
-
}
|
|
586
|
-
return {
|
|
587
|
-
name: "offset",
|
|
588
|
-
options,
|
|
589
|
-
async fn(state) {
|
|
590
|
-
var _middlewareData$offse, _middlewareData$arrow;
|
|
591
|
-
const {
|
|
592
|
-
x,
|
|
593
|
-
y,
|
|
594
|
-
placement,
|
|
595
|
-
middlewareData
|
|
596
|
-
} = state;
|
|
597
|
-
const diffCoords = await convertValueToCoords(state, options);
|
|
598
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
599
|
-
return {};
|
|
600
|
-
}
|
|
601
|
-
return {
|
|
602
|
-
x: x + diffCoords.x,
|
|
603
|
-
y: y + diffCoords.y,
|
|
604
|
-
data: __spreadProps(__spreadValues({}, diffCoords), {
|
|
605
|
-
placement
|
|
606
|
-
})
|
|
607
|
-
};
|
|
608
|
-
}
|
|
609
|
-
};
|
|
610
|
-
};
|
|
611
|
-
var shift = function(options) {
|
|
612
|
-
if (options === void 0) {
|
|
613
|
-
options = {};
|
|
614
|
-
}
|
|
615
|
-
return {
|
|
616
|
-
name: "shift",
|
|
617
|
-
options,
|
|
618
|
-
async fn(state) {
|
|
619
|
-
const {
|
|
620
|
-
x,
|
|
621
|
-
y,
|
|
622
|
-
placement,
|
|
623
|
-
platform: platform2
|
|
624
|
-
} = state;
|
|
625
|
-
const _a = evaluate(options, state), {
|
|
626
|
-
mainAxis: checkMainAxis = true,
|
|
627
|
-
crossAxis: checkCrossAxis = false,
|
|
628
|
-
limiter = {
|
|
629
|
-
fn: (_ref) => {
|
|
630
|
-
let {
|
|
631
|
-
x: x2,
|
|
632
|
-
y: y2
|
|
633
|
-
} = _ref;
|
|
634
|
-
return {
|
|
635
|
-
x: x2,
|
|
636
|
-
y: y2
|
|
637
|
-
};
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
641
|
-
"mainAxis",
|
|
642
|
-
"crossAxis",
|
|
643
|
-
"limiter"
|
|
644
|
-
]);
|
|
645
|
-
const coords = {
|
|
646
|
-
x,
|
|
647
|
-
y
|
|
648
|
-
};
|
|
649
|
-
const overflow = await platform2.detectOverflow(state, detectOverflowOptions);
|
|
650
|
-
const crossAxis = getSideAxis(getSide(placement));
|
|
651
|
-
const mainAxis = getOppositeAxis(crossAxis);
|
|
652
|
-
let mainAxisCoord = coords[mainAxis];
|
|
653
|
-
let crossAxisCoord = coords[crossAxis];
|
|
654
|
-
if (checkMainAxis) {
|
|
655
|
-
const minSide = mainAxis === "y" ? "top" : "left";
|
|
656
|
-
const maxSide = mainAxis === "y" ? "bottom" : "right";
|
|
657
|
-
const min2 = mainAxisCoord + overflow[minSide];
|
|
658
|
-
const max2 = mainAxisCoord - overflow[maxSide];
|
|
659
|
-
mainAxisCoord = clamp(min2, mainAxisCoord, max2);
|
|
660
|
-
}
|
|
661
|
-
if (checkCrossAxis) {
|
|
662
|
-
const minSide = crossAxis === "y" ? "top" : "left";
|
|
663
|
-
const maxSide = crossAxis === "y" ? "bottom" : "right";
|
|
664
|
-
const min2 = crossAxisCoord + overflow[minSide];
|
|
665
|
-
const max2 = crossAxisCoord - overflow[maxSide];
|
|
666
|
-
crossAxisCoord = clamp(min2, crossAxisCoord, max2);
|
|
667
|
-
}
|
|
668
|
-
const limitedCoords = limiter.fn(__spreadProps(__spreadValues({}, state), {
|
|
669
|
-
[mainAxis]: mainAxisCoord,
|
|
670
|
-
[crossAxis]: crossAxisCoord
|
|
671
|
-
}));
|
|
672
|
-
return __spreadProps(__spreadValues({}, limitedCoords), {
|
|
673
|
-
data: {
|
|
674
|
-
x: limitedCoords.x - x,
|
|
675
|
-
y: limitedCoords.y - y,
|
|
676
|
-
enabled: {
|
|
677
|
-
[mainAxis]: checkMainAxis,
|
|
678
|
-
[crossAxis]: checkCrossAxis
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
});
|
|
682
|
-
}
|
|
683
|
-
};
|
|
684
|
-
};
|
|
685
|
-
var size = function(options) {
|
|
686
|
-
if (options === void 0) {
|
|
687
|
-
options = {};
|
|
688
|
-
}
|
|
689
|
-
return {
|
|
690
|
-
name: "size",
|
|
691
|
-
options,
|
|
692
|
-
async fn(state) {
|
|
693
|
-
var _state$middlewareData, _state$middlewareData2;
|
|
694
|
-
const {
|
|
695
|
-
placement,
|
|
696
|
-
rects,
|
|
697
|
-
platform: platform2,
|
|
698
|
-
elements
|
|
699
|
-
} = state;
|
|
700
|
-
const _a = evaluate(options, state), {
|
|
701
|
-
apply = () => {
|
|
702
|
-
}
|
|
703
|
-
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
704
|
-
"apply"
|
|
705
|
-
]);
|
|
706
|
-
const overflow = await platform2.detectOverflow(state, detectOverflowOptions);
|
|
707
|
-
const side = getSide(placement);
|
|
708
|
-
const alignment = getAlignment(placement);
|
|
709
|
-
const isYAxis = getSideAxis(placement) === "y";
|
|
710
|
-
const {
|
|
711
|
-
width,
|
|
712
|
-
height
|
|
713
|
-
} = rects.floating;
|
|
714
|
-
let heightSide;
|
|
715
|
-
let widthSide;
|
|
716
|
-
if (side === "top" || side === "bottom") {
|
|
717
|
-
heightSide = side;
|
|
718
|
-
widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
|
|
719
|
-
} else {
|
|
720
|
-
widthSide = side;
|
|
721
|
-
heightSide = alignment === "end" ? "top" : "bottom";
|
|
722
|
-
}
|
|
723
|
-
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
724
|
-
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
725
|
-
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
726
|
-
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
727
|
-
const noShift = !state.middlewareData.shift;
|
|
728
|
-
let availableHeight = overflowAvailableHeight;
|
|
729
|
-
let availableWidth = overflowAvailableWidth;
|
|
730
|
-
if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
|
|
731
|
-
availableWidth = maximumClippingWidth;
|
|
732
|
-
}
|
|
733
|
-
if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
|
|
734
|
-
availableHeight = maximumClippingHeight;
|
|
735
|
-
}
|
|
736
|
-
if (noShift && !alignment) {
|
|
737
|
-
const xMin = max(overflow.left, 0);
|
|
738
|
-
const xMax = max(overflow.right, 0);
|
|
739
|
-
const yMin = max(overflow.top, 0);
|
|
740
|
-
const yMax = max(overflow.bottom, 0);
|
|
741
|
-
if (isYAxis) {
|
|
742
|
-
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
|
743
|
-
} else {
|
|
744
|
-
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
|
745
|
-
}
|
|
746
|
-
}
|
|
747
|
-
await apply(__spreadProps(__spreadValues({}, state), {
|
|
748
|
-
availableWidth,
|
|
749
|
-
availableHeight
|
|
750
|
-
}));
|
|
751
|
-
const nextDimensions = await platform2.getDimensions(elements.floating);
|
|
752
|
-
if (width !== nextDimensions.width || height !== nextDimensions.height) {
|
|
753
|
-
return {
|
|
754
|
-
reset: {
|
|
755
|
-
rects: true
|
|
756
|
-
}
|
|
757
|
-
};
|
|
758
|
-
}
|
|
759
|
-
return {};
|
|
760
|
-
}
|
|
761
|
-
};
|
|
762
|
-
};
|
|
763
|
-
|
|
764
|
-
// node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
765
|
-
init_dirname();
|
|
766
|
-
init_buffer();
|
|
767
|
-
init_process();
|
|
768
|
-
function hasWindow() {
|
|
769
|
-
return typeof window !== "undefined";
|
|
770
|
-
}
|
|
771
|
-
function getNodeName(node) {
|
|
772
|
-
if (isNode(node)) {
|
|
773
|
-
return (node.nodeName || "").toLowerCase();
|
|
774
|
-
}
|
|
775
|
-
return "#document";
|
|
776
|
-
}
|
|
777
|
-
function getWindow(node) {
|
|
778
|
-
var _node$ownerDocument;
|
|
779
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
780
|
-
}
|
|
781
|
-
function getDocumentElement(node) {
|
|
782
|
-
var _ref;
|
|
783
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
784
|
-
}
|
|
785
|
-
function isNode(value) {
|
|
786
|
-
if (!hasWindow()) {
|
|
787
|
-
return false;
|
|
788
|
-
}
|
|
789
|
-
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
790
|
-
}
|
|
791
|
-
function isElement(value) {
|
|
792
|
-
if (!hasWindow()) {
|
|
793
|
-
return false;
|
|
794
|
-
}
|
|
795
|
-
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
796
|
-
}
|
|
797
|
-
function isHTMLElement(value) {
|
|
798
|
-
if (!hasWindow()) {
|
|
799
|
-
return false;
|
|
800
|
-
}
|
|
801
|
-
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
802
|
-
}
|
|
803
|
-
function isShadowRoot(value) {
|
|
804
|
-
if (!hasWindow() || typeof ShadowRoot === "undefined") {
|
|
805
|
-
return false;
|
|
806
|
-
}
|
|
807
|
-
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
808
|
-
}
|
|
809
|
-
function isOverflowElement(element) {
|
|
810
|
-
const {
|
|
811
|
-
overflow,
|
|
812
|
-
overflowX,
|
|
813
|
-
overflowY,
|
|
814
|
-
display
|
|
815
|
-
} = getComputedStyle2(element);
|
|
816
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== "inline" && display !== "contents";
|
|
817
|
-
}
|
|
818
|
-
function isTableElement(element) {
|
|
819
|
-
return /^(table|td|th)$/.test(getNodeName(element));
|
|
820
|
-
}
|
|
821
|
-
function isTopLayer(element) {
|
|
822
|
-
try {
|
|
823
|
-
if (element.matches(":popover-open")) {
|
|
824
|
-
return true;
|
|
825
|
-
}
|
|
826
|
-
} catch (_e) {
|
|
827
|
-
}
|
|
828
|
-
try {
|
|
829
|
-
return element.matches(":modal");
|
|
830
|
-
} catch (_e) {
|
|
831
|
-
return false;
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
var willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
|
|
835
|
-
var containRe = /paint|layout|strict|content/;
|
|
836
|
-
var isNotNone = (value) => !!value && value !== "none";
|
|
837
|
-
var isWebKitValue;
|
|
838
|
-
function isContainingBlock(elementOrCss) {
|
|
839
|
-
const css = isElement(elementOrCss) ? getComputedStyle2(elementOrCss) : elementOrCss;
|
|
840
|
-
return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || "") || containRe.test(css.contain || "");
|
|
841
|
-
}
|
|
842
|
-
function getContainingBlock(element) {
|
|
843
|
-
let currentNode = getParentNode(element);
|
|
844
|
-
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
845
|
-
if (isContainingBlock(currentNode)) {
|
|
846
|
-
return currentNode;
|
|
847
|
-
} else if (isTopLayer(currentNode)) {
|
|
848
|
-
return null;
|
|
849
|
-
}
|
|
850
|
-
currentNode = getParentNode(currentNode);
|
|
851
|
-
}
|
|
852
|
-
return null;
|
|
853
|
-
}
|
|
854
|
-
function isWebKit() {
|
|
855
|
-
if (isWebKitValue == null) {
|
|
856
|
-
isWebKitValue = typeof CSS !== "undefined" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none");
|
|
857
|
-
}
|
|
858
|
-
return isWebKitValue;
|
|
859
|
-
}
|
|
860
|
-
function isLastTraversableNode(node) {
|
|
861
|
-
return /^(html|body|#document)$/.test(getNodeName(node));
|
|
862
|
-
}
|
|
863
|
-
function getComputedStyle2(element) {
|
|
864
|
-
return getWindow(element).getComputedStyle(element);
|
|
865
|
-
}
|
|
866
|
-
function getNodeScroll(element) {
|
|
867
|
-
if (isElement(element)) {
|
|
868
|
-
return {
|
|
869
|
-
scrollLeft: element.scrollLeft,
|
|
870
|
-
scrollTop: element.scrollTop
|
|
871
|
-
};
|
|
872
|
-
}
|
|
873
|
-
return {
|
|
874
|
-
scrollLeft: element.scrollX,
|
|
875
|
-
scrollTop: element.scrollY
|
|
876
|
-
};
|
|
877
|
-
}
|
|
878
|
-
function getParentNode(node) {
|
|
879
|
-
if (getNodeName(node) === "html") {
|
|
880
|
-
return node;
|
|
881
|
-
}
|
|
882
|
-
const result = (
|
|
883
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
884
|
-
node.assignedSlot || // DOM Element detected.
|
|
885
|
-
node.parentNode || // ShadowRoot detected.
|
|
886
|
-
isShadowRoot(node) && node.host || // Fallback.
|
|
887
|
-
getDocumentElement(node)
|
|
888
|
-
);
|
|
889
|
-
return isShadowRoot(result) ? result.host : result;
|
|
890
|
-
}
|
|
891
|
-
function getNearestOverflowAncestor(node) {
|
|
892
|
-
const parentNode = getParentNode(node);
|
|
893
|
-
if (isLastTraversableNode(parentNode)) {
|
|
894
|
-
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
895
|
-
}
|
|
896
|
-
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
897
|
-
return parentNode;
|
|
898
|
-
}
|
|
899
|
-
return getNearestOverflowAncestor(parentNode);
|
|
900
|
-
}
|
|
901
|
-
function getOverflowAncestors(node, list, traverseIframes) {
|
|
902
|
-
var _node$ownerDocument2;
|
|
903
|
-
if (list === void 0) {
|
|
904
|
-
list = [];
|
|
905
|
-
}
|
|
906
|
-
if (traverseIframes === void 0) {
|
|
907
|
-
traverseIframes = true;
|
|
908
|
-
}
|
|
909
|
-
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
910
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
911
|
-
const win = getWindow(scrollableAncestor);
|
|
912
|
-
if (isBody) {
|
|
913
|
-
const frameElement = getFrameElement(win);
|
|
914
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
915
|
-
} else {
|
|
916
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
function getFrameElement(win) {
|
|
920
|
-
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
// node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
924
|
-
function getCssDimensions(element) {
|
|
925
|
-
const css = getComputedStyle2(element);
|
|
926
|
-
let width = parseFloat(css.width) || 0;
|
|
927
|
-
let height = parseFloat(css.height) || 0;
|
|
928
|
-
const hasOffset = isHTMLElement(element);
|
|
929
|
-
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
930
|
-
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
931
|
-
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
932
|
-
if (shouldFallback) {
|
|
933
|
-
width = offsetWidth;
|
|
934
|
-
height = offsetHeight;
|
|
935
|
-
}
|
|
936
|
-
return {
|
|
937
|
-
width,
|
|
938
|
-
height,
|
|
939
|
-
$: shouldFallback
|
|
940
|
-
};
|
|
941
|
-
}
|
|
942
|
-
function unwrapElement(element) {
|
|
943
|
-
return !isElement(element) ? element.contextElement : element;
|
|
944
|
-
}
|
|
945
|
-
function getScale(element) {
|
|
946
|
-
const domElement = unwrapElement(element);
|
|
947
|
-
if (!isHTMLElement(domElement)) {
|
|
948
|
-
return createCoords(1);
|
|
949
|
-
}
|
|
950
|
-
const rect = domElement.getBoundingClientRect();
|
|
951
|
-
const {
|
|
952
|
-
width,
|
|
953
|
-
height,
|
|
954
|
-
$
|
|
955
|
-
} = getCssDimensions(domElement);
|
|
956
|
-
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
957
|
-
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
958
|
-
if (!x || !Number.isFinite(x)) {
|
|
959
|
-
x = 1;
|
|
960
|
-
}
|
|
961
|
-
if (!y || !Number.isFinite(y)) {
|
|
962
|
-
y = 1;
|
|
963
|
-
}
|
|
964
|
-
return {
|
|
965
|
-
x,
|
|
966
|
-
y
|
|
967
|
-
};
|
|
968
|
-
}
|
|
969
|
-
var noOffsets = /* @__PURE__ */ createCoords(0);
|
|
970
|
-
function getVisualOffsets(element) {
|
|
971
|
-
const win = getWindow(element);
|
|
972
|
-
if (!isWebKit() || !win.visualViewport) {
|
|
973
|
-
return noOffsets;
|
|
974
|
-
}
|
|
975
|
-
return {
|
|
976
|
-
x: win.visualViewport.offsetLeft,
|
|
977
|
-
y: win.visualViewport.offsetTop
|
|
978
|
-
};
|
|
979
|
-
}
|
|
980
|
-
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
981
|
-
if (isFixed === void 0) {
|
|
982
|
-
isFixed = false;
|
|
983
|
-
}
|
|
984
|
-
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
985
|
-
return false;
|
|
986
|
-
}
|
|
987
|
-
return isFixed;
|
|
988
|
-
}
|
|
989
|
-
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
990
|
-
if (includeScale === void 0) {
|
|
991
|
-
includeScale = false;
|
|
992
|
-
}
|
|
993
|
-
if (isFixedStrategy === void 0) {
|
|
994
|
-
isFixedStrategy = false;
|
|
995
|
-
}
|
|
996
|
-
const clientRect = element.getBoundingClientRect();
|
|
997
|
-
const domElement = unwrapElement(element);
|
|
998
|
-
let scale = createCoords(1);
|
|
999
|
-
if (includeScale) {
|
|
1000
|
-
if (offsetParent) {
|
|
1001
|
-
if (isElement(offsetParent)) {
|
|
1002
|
-
scale = getScale(offsetParent);
|
|
1003
|
-
}
|
|
1004
|
-
} else {
|
|
1005
|
-
scale = getScale(element);
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
1008
|
-
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
1009
|
-
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
1010
|
-
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1011
|
-
let width = clientRect.width / scale.x;
|
|
1012
|
-
let height = clientRect.height / scale.y;
|
|
1013
|
-
if (domElement) {
|
|
1014
|
-
const win = getWindow(domElement);
|
|
1015
|
-
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1016
|
-
let currentWin = win;
|
|
1017
|
-
let currentIFrame = getFrameElement(currentWin);
|
|
1018
|
-
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
1019
|
-
const iframeScale = getScale(currentIFrame);
|
|
1020
|
-
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1021
|
-
const css = getComputedStyle2(currentIFrame);
|
|
1022
|
-
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1023
|
-
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1024
|
-
x *= iframeScale.x;
|
|
1025
|
-
y *= iframeScale.y;
|
|
1026
|
-
width *= iframeScale.x;
|
|
1027
|
-
height *= iframeScale.y;
|
|
1028
|
-
x += left;
|
|
1029
|
-
y += top;
|
|
1030
|
-
currentWin = getWindow(currentIFrame);
|
|
1031
|
-
currentIFrame = getFrameElement(currentWin);
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
return rectToClientRect({
|
|
1035
|
-
width,
|
|
1036
|
-
height,
|
|
1037
|
-
x,
|
|
1038
|
-
y
|
|
1039
|
-
});
|
|
1040
|
-
}
|
|
1041
|
-
function getWindowScrollBarX(element, rect) {
|
|
1042
|
-
const leftScroll = getNodeScroll(element).scrollLeft;
|
|
1043
|
-
if (!rect) {
|
|
1044
|
-
return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
|
1045
|
-
}
|
|
1046
|
-
return rect.left + leftScroll;
|
|
1047
|
-
}
|
|
1048
|
-
function getHTMLOffset(documentElement, scroll) {
|
|
1049
|
-
const htmlRect = documentElement.getBoundingClientRect();
|
|
1050
|
-
const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
|
|
1051
|
-
const y = htmlRect.top + scroll.scrollTop;
|
|
1052
|
-
return {
|
|
1053
|
-
x,
|
|
1054
|
-
y
|
|
1055
|
-
};
|
|
1056
|
-
}
|
|
1057
|
-
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1058
|
-
let {
|
|
1059
|
-
elements,
|
|
1060
|
-
rect,
|
|
1061
|
-
offsetParent,
|
|
1062
|
-
strategy
|
|
1063
|
-
} = _ref;
|
|
1064
|
-
const isFixed = strategy === "fixed";
|
|
1065
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
1066
|
-
const topLayer = elements ? isTopLayer(elements.floating) : false;
|
|
1067
|
-
if (offsetParent === documentElement || topLayer && isFixed) {
|
|
1068
|
-
return rect;
|
|
1069
|
-
}
|
|
1070
|
-
let scroll = {
|
|
1071
|
-
scrollLeft: 0,
|
|
1072
|
-
scrollTop: 0
|
|
1073
|
-
};
|
|
1074
|
-
let scale = createCoords(1);
|
|
1075
|
-
const offsets = createCoords(0);
|
|
1076
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1077
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1078
|
-
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
1079
|
-
scroll = getNodeScroll(offsetParent);
|
|
1080
|
-
}
|
|
1081
|
-
if (isOffsetParentAnElement) {
|
|
1082
|
-
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1083
|
-
scale = getScale(offsetParent);
|
|
1084
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1085
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1086
|
-
}
|
|
1087
|
-
}
|
|
1088
|
-
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1089
|
-
return {
|
|
1090
|
-
width: rect.width * scale.x,
|
|
1091
|
-
height: rect.height * scale.y,
|
|
1092
|
-
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
|
|
1093
|
-
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
|
|
1094
|
-
};
|
|
1095
|
-
}
|
|
1096
|
-
function getClientRects(element) {
|
|
1097
|
-
return Array.from(element.getClientRects());
|
|
1098
|
-
}
|
|
1099
|
-
function getDocumentRect(element) {
|
|
1100
|
-
const html = getDocumentElement(element);
|
|
1101
|
-
const scroll = getNodeScroll(element);
|
|
1102
|
-
const body = element.ownerDocument.body;
|
|
1103
|
-
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1104
|
-
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1105
|
-
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1106
|
-
const y = -scroll.scrollTop;
|
|
1107
|
-
if (getComputedStyle2(body).direction === "rtl") {
|
|
1108
|
-
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1109
|
-
}
|
|
1110
|
-
return {
|
|
1111
|
-
width,
|
|
1112
|
-
height,
|
|
1113
|
-
x,
|
|
1114
|
-
y
|
|
1115
|
-
};
|
|
1116
|
-
}
|
|
1117
|
-
var SCROLLBAR_MAX = 25;
|
|
1118
|
-
function getViewportRect(element, strategy) {
|
|
1119
|
-
const win = getWindow(element);
|
|
1120
|
-
const html = getDocumentElement(element);
|
|
1121
|
-
const visualViewport = win.visualViewport;
|
|
1122
|
-
let width = html.clientWidth;
|
|
1123
|
-
let height = html.clientHeight;
|
|
1124
|
-
let x = 0;
|
|
1125
|
-
let y = 0;
|
|
1126
|
-
if (visualViewport) {
|
|
1127
|
-
width = visualViewport.width;
|
|
1128
|
-
height = visualViewport.height;
|
|
1129
|
-
const visualViewportBased = isWebKit();
|
|
1130
|
-
if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
|
|
1131
|
-
x = visualViewport.offsetLeft;
|
|
1132
|
-
y = visualViewport.offsetTop;
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
const windowScrollbarX = getWindowScrollBarX(html);
|
|
1136
|
-
if (windowScrollbarX <= 0) {
|
|
1137
|
-
const doc = html.ownerDocument;
|
|
1138
|
-
const body = doc.body;
|
|
1139
|
-
const bodyStyles = getComputedStyle(body);
|
|
1140
|
-
const bodyMarginInline = doc.compatMode === "CSS1Compat" ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
|
|
1141
|
-
const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
|
|
1142
|
-
if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {
|
|
1143
|
-
width -= clippingStableScrollbarWidth;
|
|
1144
|
-
}
|
|
1145
|
-
} else if (windowScrollbarX <= SCROLLBAR_MAX) {
|
|
1146
|
-
width += windowScrollbarX;
|
|
1147
|
-
}
|
|
1148
|
-
return {
|
|
1149
|
-
width,
|
|
1150
|
-
height,
|
|
1151
|
-
x,
|
|
1152
|
-
y
|
|
1153
|
-
};
|
|
1154
|
-
}
|
|
1155
|
-
function getInnerBoundingClientRect(element, strategy) {
|
|
1156
|
-
const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
|
|
1157
|
-
const top = clientRect.top + element.clientTop;
|
|
1158
|
-
const left = clientRect.left + element.clientLeft;
|
|
1159
|
-
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1160
|
-
const width = element.clientWidth * scale.x;
|
|
1161
|
-
const height = element.clientHeight * scale.y;
|
|
1162
|
-
const x = left * scale.x;
|
|
1163
|
-
const y = top * scale.y;
|
|
1164
|
-
return {
|
|
1165
|
-
width,
|
|
1166
|
-
height,
|
|
1167
|
-
x,
|
|
1168
|
-
y
|
|
1169
|
-
};
|
|
1170
|
-
}
|
|
1171
|
-
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1172
|
-
let rect;
|
|
1173
|
-
if (clippingAncestor === "viewport") {
|
|
1174
|
-
rect = getViewportRect(element, strategy);
|
|
1175
|
-
} else if (clippingAncestor === "document") {
|
|
1176
|
-
rect = getDocumentRect(getDocumentElement(element));
|
|
1177
|
-
} else if (isElement(clippingAncestor)) {
|
|
1178
|
-
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1179
|
-
} else {
|
|
1180
|
-
const visualOffsets = getVisualOffsets(element);
|
|
1181
|
-
rect = {
|
|
1182
|
-
x: clippingAncestor.x - visualOffsets.x,
|
|
1183
|
-
y: clippingAncestor.y - visualOffsets.y,
|
|
1184
|
-
width: clippingAncestor.width,
|
|
1185
|
-
height: clippingAncestor.height
|
|
1186
|
-
};
|
|
1187
|
-
}
|
|
1188
|
-
return rectToClientRect(rect);
|
|
1189
|
-
}
|
|
1190
|
-
function hasFixedPositionAncestor(element, stopNode) {
|
|
1191
|
-
const parentNode = getParentNode(element);
|
|
1192
|
-
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1193
|
-
return false;
|
|
1194
|
-
}
|
|
1195
|
-
return getComputedStyle2(parentNode).position === "fixed" || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1196
|
-
}
|
|
1197
|
-
function getClippingElementAncestors(element, cache) {
|
|
1198
|
-
const cachedResult = cache.get(element);
|
|
1199
|
-
if (cachedResult) {
|
|
1200
|
-
return cachedResult;
|
|
1201
|
-
}
|
|
1202
|
-
let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
|
|
1203
|
-
let currentContainingBlockComputedStyle = null;
|
|
1204
|
-
const elementIsFixed = getComputedStyle2(element).position === "fixed";
|
|
1205
|
-
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1206
|
-
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1207
|
-
const computedStyle = getComputedStyle2(currentNode);
|
|
1208
|
-
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1209
|
-
if (!currentNodeIsContaining && computedStyle.position === "fixed") {
|
|
1210
|
-
currentContainingBlockComputedStyle = null;
|
|
1211
|
-
}
|
|
1212
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && (currentContainingBlockComputedStyle.position === "absolute" || currentContainingBlockComputedStyle.position === "fixed") || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1213
|
-
if (shouldDropCurrentNode) {
|
|
1214
|
-
result = result.filter((ancestor) => ancestor !== currentNode);
|
|
1215
|
-
} else {
|
|
1216
|
-
currentContainingBlockComputedStyle = computedStyle;
|
|
1217
|
-
}
|
|
1218
|
-
currentNode = getParentNode(currentNode);
|
|
1219
|
-
}
|
|
1220
|
-
cache.set(element, result);
|
|
1221
|
-
return result;
|
|
1222
|
-
}
|
|
1223
|
-
function getClippingRect(_ref) {
|
|
1224
|
-
let {
|
|
1225
|
-
element,
|
|
1226
|
-
boundary,
|
|
1227
|
-
rootBoundary,
|
|
1228
|
-
strategy
|
|
1229
|
-
} = _ref;
|
|
1230
|
-
const elementClippingAncestors = boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1231
|
-
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1232
|
-
const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
|
|
1233
|
-
let top = firstRect.top;
|
|
1234
|
-
let right = firstRect.right;
|
|
1235
|
-
let bottom = firstRect.bottom;
|
|
1236
|
-
let left = firstRect.left;
|
|
1237
|
-
for (let i2 = 1; i2 < clippingAncestors.length; i2++) {
|
|
1238
|
-
const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i2], strategy);
|
|
1239
|
-
top = max(rect.top, top);
|
|
1240
|
-
right = min(rect.right, right);
|
|
1241
|
-
bottom = min(rect.bottom, bottom);
|
|
1242
|
-
left = max(rect.left, left);
|
|
1243
|
-
}
|
|
1244
|
-
return {
|
|
1245
|
-
width: right - left,
|
|
1246
|
-
height: bottom - top,
|
|
1247
|
-
x: left,
|
|
1248
|
-
y: top
|
|
1249
|
-
};
|
|
1250
|
-
}
|
|
1251
|
-
function getDimensions(element) {
|
|
1252
|
-
const {
|
|
1253
|
-
width,
|
|
1254
|
-
height
|
|
1255
|
-
} = getCssDimensions(element);
|
|
1256
|
-
return {
|
|
1257
|
-
width,
|
|
1258
|
-
height
|
|
1259
|
-
};
|
|
1260
|
-
}
|
|
1261
|
-
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1262
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1263
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
1264
|
-
const isFixed = strategy === "fixed";
|
|
1265
|
-
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1266
|
-
let scroll = {
|
|
1267
|
-
scrollLeft: 0,
|
|
1268
|
-
scrollTop: 0
|
|
1269
|
-
};
|
|
1270
|
-
const offsets = createCoords(0);
|
|
1271
|
-
function setLeftRTLScrollbarOffset() {
|
|
1272
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
1273
|
-
}
|
|
1274
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1275
|
-
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
1276
|
-
scroll = getNodeScroll(offsetParent);
|
|
1277
|
-
}
|
|
1278
|
-
if (isOffsetParentAnElement) {
|
|
1279
|
-
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1280
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1281
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1282
|
-
} else if (documentElement) {
|
|
1283
|
-
setLeftRTLScrollbarOffset();
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1286
|
-
if (isFixed && !isOffsetParentAnElement && documentElement) {
|
|
1287
|
-
setLeftRTLScrollbarOffset();
|
|
1288
|
-
}
|
|
1289
|
-
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1290
|
-
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
1291
|
-
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
1292
|
-
return {
|
|
1293
|
-
x,
|
|
1294
|
-
y,
|
|
1295
|
-
width: rect.width,
|
|
1296
|
-
height: rect.height
|
|
1297
|
-
};
|
|
1298
|
-
}
|
|
1299
|
-
function isStaticPositioned(element) {
|
|
1300
|
-
return getComputedStyle2(element).position === "static";
|
|
1301
|
-
}
|
|
1302
|
-
function getTrueOffsetParent(element, polyfill) {
|
|
1303
|
-
if (!isHTMLElement(element) || getComputedStyle2(element).position === "fixed") {
|
|
1304
|
-
return null;
|
|
1305
|
-
}
|
|
1306
|
-
if (polyfill) {
|
|
1307
|
-
return polyfill(element);
|
|
1308
|
-
}
|
|
1309
|
-
let rawOffsetParent = element.offsetParent;
|
|
1310
|
-
if (getDocumentElement(element) === rawOffsetParent) {
|
|
1311
|
-
rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
|
1312
|
-
}
|
|
1313
|
-
return rawOffsetParent;
|
|
1314
|
-
}
|
|
1315
|
-
function getOffsetParent(element, polyfill) {
|
|
1316
|
-
const win = getWindow(element);
|
|
1317
|
-
if (isTopLayer(element)) {
|
|
1318
|
-
return win;
|
|
1319
|
-
}
|
|
1320
|
-
if (!isHTMLElement(element)) {
|
|
1321
|
-
let svgOffsetParent = getParentNode(element);
|
|
1322
|
-
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
1323
|
-
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
1324
|
-
return svgOffsetParent;
|
|
1325
|
-
}
|
|
1326
|
-
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
1327
|
-
}
|
|
1328
|
-
return win;
|
|
1329
|
-
}
|
|
1330
|
-
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1331
|
-
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
1332
|
-
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1333
|
-
}
|
|
1334
|
-
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
1335
|
-
return win;
|
|
1336
|
-
}
|
|
1337
|
-
return offsetParent || getContainingBlock(element) || win;
|
|
1338
|
-
}
|
|
1339
|
-
var getElementRects = async function(data) {
|
|
1340
|
-
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1341
|
-
const getDimensionsFn = this.getDimensions;
|
|
1342
|
-
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
1343
|
-
return {
|
|
1344
|
-
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
1345
|
-
floating: {
|
|
1346
|
-
x: 0,
|
|
1347
|
-
y: 0,
|
|
1348
|
-
width: floatingDimensions.width,
|
|
1349
|
-
height: floatingDimensions.height
|
|
1350
|
-
}
|
|
1351
|
-
};
|
|
1352
|
-
};
|
|
1353
|
-
function isRTL(element) {
|
|
1354
|
-
return getComputedStyle2(element).direction === "rtl";
|
|
1355
|
-
}
|
|
1356
|
-
var platform = {
|
|
1357
|
-
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1358
|
-
getDocumentElement,
|
|
1359
|
-
getClippingRect,
|
|
1360
|
-
getOffsetParent,
|
|
1361
|
-
getElementRects,
|
|
1362
|
-
getClientRects,
|
|
1363
|
-
getDimensions,
|
|
1364
|
-
getScale,
|
|
1365
|
-
isElement,
|
|
1366
|
-
isRTL
|
|
1367
|
-
};
|
|
1368
|
-
function rectsAreEqual(a, b2) {
|
|
1369
|
-
return a.x === b2.x && a.y === b2.y && a.width === b2.width && a.height === b2.height;
|
|
1370
|
-
}
|
|
1371
|
-
function observeMove(element, onMove) {
|
|
1372
|
-
let io = null;
|
|
1373
|
-
let timeoutId;
|
|
1374
|
-
const root = getDocumentElement(element);
|
|
1375
|
-
function cleanup() {
|
|
1376
|
-
var _io;
|
|
1377
|
-
clearTimeout(timeoutId);
|
|
1378
|
-
(_io = io) == null || _io.disconnect();
|
|
1379
|
-
io = null;
|
|
1380
|
-
}
|
|
1381
|
-
function refresh(skip, threshold) {
|
|
1382
|
-
if (skip === void 0) {
|
|
1383
|
-
skip = false;
|
|
1384
|
-
}
|
|
1385
|
-
if (threshold === void 0) {
|
|
1386
|
-
threshold = 1;
|
|
1387
|
-
}
|
|
1388
|
-
cleanup();
|
|
1389
|
-
const elementRectForRootMargin = element.getBoundingClientRect();
|
|
1390
|
-
const {
|
|
1391
|
-
left,
|
|
1392
|
-
top,
|
|
1393
|
-
width,
|
|
1394
|
-
height
|
|
1395
|
-
} = elementRectForRootMargin;
|
|
1396
|
-
if (!skip) {
|
|
1397
|
-
onMove();
|
|
1398
|
-
}
|
|
1399
|
-
if (!width || !height) {
|
|
1400
|
-
return;
|
|
1401
|
-
}
|
|
1402
|
-
const insetTop = floor(top);
|
|
1403
|
-
const insetRight = floor(root.clientWidth - (left + width));
|
|
1404
|
-
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1405
|
-
const insetLeft = floor(left);
|
|
1406
|
-
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1407
|
-
const options = {
|
|
1408
|
-
rootMargin,
|
|
1409
|
-
threshold: max(0, min(1, threshold)) || 1
|
|
1410
|
-
};
|
|
1411
|
-
let isFirstUpdate = true;
|
|
1412
|
-
function handleObserve(entries) {
|
|
1413
|
-
const ratio = entries[0].intersectionRatio;
|
|
1414
|
-
if (ratio !== threshold) {
|
|
1415
|
-
if (!isFirstUpdate) {
|
|
1416
|
-
return refresh();
|
|
1417
|
-
}
|
|
1418
|
-
if (!ratio) {
|
|
1419
|
-
timeoutId = setTimeout(() => {
|
|
1420
|
-
refresh(false, 1e-7);
|
|
1421
|
-
}, 1e3);
|
|
1422
|
-
} else {
|
|
1423
|
-
refresh(false, ratio);
|
|
1424
|
-
}
|
|
1425
|
-
}
|
|
1426
|
-
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
1427
|
-
refresh();
|
|
1428
|
-
}
|
|
1429
|
-
isFirstUpdate = false;
|
|
1430
|
-
}
|
|
1431
|
-
try {
|
|
1432
|
-
io = new IntersectionObserver(handleObserve, __spreadProps(__spreadValues({}, options), {
|
|
1433
|
-
// Handle <iframe>s
|
|
1434
|
-
root: root.ownerDocument
|
|
1435
|
-
}));
|
|
1436
|
-
} catch (_e) {
|
|
1437
|
-
io = new IntersectionObserver(handleObserve, options);
|
|
1438
|
-
}
|
|
1439
|
-
io.observe(element);
|
|
1440
|
-
}
|
|
1441
|
-
refresh(true);
|
|
1442
|
-
return cleanup;
|
|
1443
|
-
}
|
|
1444
|
-
function autoUpdate(reference, floating, update, options) {
|
|
1445
|
-
if (options === void 0) {
|
|
1446
|
-
options = {};
|
|
1447
|
-
}
|
|
1448
|
-
const {
|
|
1449
|
-
ancestorScroll = true,
|
|
1450
|
-
ancestorResize = true,
|
|
1451
|
-
elementResize = typeof ResizeObserver === "function",
|
|
1452
|
-
layoutShift = typeof IntersectionObserver === "function",
|
|
1453
|
-
animationFrame = false
|
|
1454
|
-
} = options;
|
|
1455
|
-
const referenceEl = unwrapElement(reference);
|
|
1456
|
-
const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...floating ? getOverflowAncestors(floating) : []] : [];
|
|
1457
|
-
ancestors.forEach((ancestor) => {
|
|
1458
|
-
ancestorScroll && ancestor.addEventListener("scroll", update, {
|
|
1459
|
-
passive: true
|
|
1460
|
-
});
|
|
1461
|
-
ancestorResize && ancestor.addEventListener("resize", update);
|
|
1462
|
-
});
|
|
1463
|
-
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1464
|
-
let reobserveFrame = -1;
|
|
1465
|
-
let resizeObserver = null;
|
|
1466
|
-
if (elementResize) {
|
|
1467
|
-
resizeObserver = new ResizeObserver((_ref) => {
|
|
1468
|
-
let [firstEntry] = _ref;
|
|
1469
|
-
if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {
|
|
1470
|
-
resizeObserver.unobserve(floating);
|
|
1471
|
-
cancelAnimationFrame(reobserveFrame);
|
|
1472
|
-
reobserveFrame = requestAnimationFrame(() => {
|
|
1473
|
-
var _resizeObserver;
|
|
1474
|
-
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
|
1475
|
-
});
|
|
1476
|
-
}
|
|
1477
|
-
update();
|
|
1478
|
-
});
|
|
1479
|
-
if (referenceEl && !animationFrame) {
|
|
1480
|
-
resizeObserver.observe(referenceEl);
|
|
1481
|
-
}
|
|
1482
|
-
if (floating) {
|
|
1483
|
-
resizeObserver.observe(floating);
|
|
1484
|
-
}
|
|
1485
|
-
}
|
|
1486
|
-
let frameId;
|
|
1487
|
-
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1488
|
-
if (animationFrame) {
|
|
1489
|
-
frameLoop();
|
|
1490
|
-
}
|
|
1491
|
-
function frameLoop() {
|
|
1492
|
-
const nextRefRect = getBoundingClientRect(reference);
|
|
1493
|
-
if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
|
|
1494
|
-
update();
|
|
1495
|
-
}
|
|
1496
|
-
prevRefRect = nextRefRect;
|
|
1497
|
-
frameId = requestAnimationFrame(frameLoop);
|
|
1498
|
-
}
|
|
1499
|
-
update();
|
|
1500
|
-
return () => {
|
|
1501
|
-
var _resizeObserver2;
|
|
1502
|
-
ancestors.forEach((ancestor) => {
|
|
1503
|
-
ancestorScroll && ancestor.removeEventListener("scroll", update);
|
|
1504
|
-
ancestorResize && ancestor.removeEventListener("resize", update);
|
|
1505
|
-
});
|
|
1506
|
-
cleanupIo == null || cleanupIo();
|
|
1507
|
-
(_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
|
|
1508
|
-
resizeObserver = null;
|
|
1509
|
-
if (animationFrame) {
|
|
1510
|
-
cancelAnimationFrame(frameId);
|
|
1511
|
-
}
|
|
1512
|
-
};
|
|
1513
|
-
}
|
|
1514
|
-
var offset2 = offset;
|
|
1515
|
-
var shift2 = shift;
|
|
1516
|
-
var flip2 = flip;
|
|
1517
|
-
var size2 = size;
|
|
1518
|
-
var arrow2 = arrow;
|
|
1519
|
-
var computePosition2 = (reference, floating, options) => {
|
|
1520
|
-
const cache = /* @__PURE__ */ new Map();
|
|
1521
|
-
const mergedOptions = __spreadValues({
|
|
1522
|
-
platform
|
|
1523
|
-
}, options);
|
|
1524
|
-
const platformWithCache = __spreadProps(__spreadValues({}, mergedOptions.platform), {
|
|
1525
|
-
_c: cache
|
|
1526
|
-
});
|
|
1527
|
-
return computePosition(reference, floating, __spreadProps(__spreadValues({}, mergedOptions), {
|
|
1528
|
-
platform: platformWithCache
|
|
1529
|
-
}));
|
|
1530
|
-
};
|
|
1531
|
-
|
|
1532
|
-
// node_modules/composed-offset-position/dist/composed-offset-position.browser.min.mjs
|
|
1533
|
-
init_dirname();
|
|
1534
|
-
init_buffer();
|
|
1535
|
-
init_process();
|
|
1536
|
-
function e3(t) {
|
|
1537
|
-
return i(t);
|
|
1538
|
-
}
|
|
1539
|
-
function r(t) {
|
|
1540
|
-
return t.assignedSlot ? t.assignedSlot : t.parentNode instanceof ShadowRoot ? t.parentNode.host : t.parentNode;
|
|
1541
|
-
}
|
|
1542
|
-
function i(e4) {
|
|
1543
|
-
for (let t = e4; t; t = r(t))
|
|
1544
|
-
if (t instanceof Element && "none" === getComputedStyle(t).display)
|
|
1545
|
-
return null;
|
|
1546
|
-
for (let n2 = r(e4); n2; n2 = r(n2)) {
|
|
1547
|
-
if (!(n2 instanceof Element))
|
|
1548
|
-
continue;
|
|
1549
|
-
const e5 = getComputedStyle(n2);
|
|
1550
|
-
if ("contents" !== e5.display) {
|
|
1551
|
-
if ("static" !== e5.position || isContainingBlock(e5))
|
|
1552
|
-
return n2;
|
|
1553
|
-
if ("BODY" === n2.tagName)
|
|
1554
|
-
return n2;
|
|
1555
|
-
}
|
|
1556
|
-
}
|
|
1557
|
-
return null;
|
|
1558
|
-
}
|
|
1559
|
-
|
|
1560
|
-
// src/components/popup/popup.component.ts
|
|
1561
|
-
function isVirtualElement(e4) {
|
|
1562
|
-
return e4 !== null && typeof e4 === "object" && "getBoundingClientRect" in e4 && ("contextElement" in e4 ? e4.contextElement instanceof Element : true);
|
|
1563
|
-
}
|
|
1564
|
-
var TerraPopup = class extends TerraElement {
|
|
1565
|
-
constructor() {
|
|
1566
|
-
super(...arguments);
|
|
1567
|
-
this.active = false;
|
|
1568
|
-
this.placement = "top";
|
|
1569
|
-
this.strategy = "absolute";
|
|
1570
|
-
this.distance = 0;
|
|
1571
|
-
this.skidding = 0;
|
|
1572
|
-
this.arrow = false;
|
|
1573
|
-
this.arrowPlacement = "anchor";
|
|
1574
|
-
this.arrowPadding = 10;
|
|
1575
|
-
this.flip = false;
|
|
1576
|
-
this.flipFallbackPlacements = "";
|
|
1577
|
-
this.flipFallbackStrategy = "best-fit";
|
|
1578
|
-
this.flipPadding = 0;
|
|
1579
|
-
this.shift = false;
|
|
1580
|
-
this.shiftPadding = 0;
|
|
1581
|
-
this.autoSizePadding = 0;
|
|
1582
|
-
this.hoverBridge = false;
|
|
1583
|
-
this.updateHoverBridge = () => {
|
|
1584
|
-
if (this.hoverBridge && this.anchorEl) {
|
|
1585
|
-
const anchorRect = this.anchorEl.getBoundingClientRect();
|
|
1586
|
-
const popupRect = this.popup.getBoundingClientRect();
|
|
1587
|
-
const isVertical = this.placement.includes("top") || this.placement.includes("bottom");
|
|
1588
|
-
let topLeftX = 0;
|
|
1589
|
-
let topLeftY = 0;
|
|
1590
|
-
let topRightX = 0;
|
|
1591
|
-
let topRightY = 0;
|
|
1592
|
-
let bottomLeftX = 0;
|
|
1593
|
-
let bottomLeftY = 0;
|
|
1594
|
-
let bottomRightX = 0;
|
|
1595
|
-
let bottomRightY = 0;
|
|
1596
|
-
if (isVertical) {
|
|
1597
|
-
if (anchorRect.top < popupRect.top) {
|
|
1598
|
-
topLeftX = anchorRect.left;
|
|
1599
|
-
topLeftY = anchorRect.bottom;
|
|
1600
|
-
topRightX = anchorRect.right;
|
|
1601
|
-
topRightY = anchorRect.bottom;
|
|
1602
|
-
bottomLeftX = popupRect.left;
|
|
1603
|
-
bottomLeftY = popupRect.top;
|
|
1604
|
-
bottomRightX = popupRect.right;
|
|
1605
|
-
bottomRightY = popupRect.top;
|
|
1606
|
-
} else {
|
|
1607
|
-
topLeftX = popupRect.left;
|
|
1608
|
-
topLeftY = popupRect.bottom;
|
|
1609
|
-
topRightX = popupRect.right;
|
|
1610
|
-
topRightY = popupRect.bottom;
|
|
1611
|
-
bottomLeftX = anchorRect.left;
|
|
1612
|
-
bottomLeftY = anchorRect.top;
|
|
1613
|
-
bottomRightX = anchorRect.right;
|
|
1614
|
-
bottomRightY = anchorRect.top;
|
|
1615
|
-
}
|
|
1616
|
-
} else {
|
|
1617
|
-
if (anchorRect.left < popupRect.left) {
|
|
1618
|
-
topLeftX = anchorRect.right;
|
|
1619
|
-
topLeftY = anchorRect.top;
|
|
1620
|
-
topRightX = popupRect.left;
|
|
1621
|
-
topRightY = popupRect.top;
|
|
1622
|
-
bottomLeftX = anchorRect.right;
|
|
1623
|
-
bottomLeftY = anchorRect.bottom;
|
|
1624
|
-
bottomRightX = popupRect.left;
|
|
1625
|
-
bottomRightY = popupRect.bottom;
|
|
1626
|
-
} else {
|
|
1627
|
-
topLeftX = popupRect.right;
|
|
1628
|
-
topLeftY = popupRect.top;
|
|
1629
|
-
topRightX = anchorRect.left;
|
|
1630
|
-
topRightY = anchorRect.top;
|
|
1631
|
-
bottomLeftX = popupRect.right;
|
|
1632
|
-
bottomLeftY = popupRect.bottom;
|
|
1633
|
-
bottomRightX = anchorRect.left;
|
|
1634
|
-
bottomRightY = anchorRect.bottom;
|
|
1635
|
-
}
|
|
1636
|
-
}
|
|
1637
|
-
this.style.setProperty("--hover-bridge-top-left-x", `${topLeftX}px`);
|
|
1638
|
-
this.style.setProperty("--hover-bridge-top-left-y", `${topLeftY}px`);
|
|
1639
|
-
this.style.setProperty("--hover-bridge-top-right-x", `${topRightX}px`);
|
|
1640
|
-
this.style.setProperty("--hover-bridge-top-right-y", `${topRightY}px`);
|
|
1641
|
-
this.style.setProperty("--hover-bridge-bottom-left-x", `${bottomLeftX}px`);
|
|
1642
|
-
this.style.setProperty("--hover-bridge-bottom-left-y", `${bottomLeftY}px`);
|
|
1643
|
-
this.style.setProperty(
|
|
1644
|
-
"--hover-bridge-bottom-right-x",
|
|
1645
|
-
`${bottomRightX}px`
|
|
1646
|
-
);
|
|
1647
|
-
this.style.setProperty(
|
|
1648
|
-
"--hover-bridge-bottom-right-y",
|
|
1649
|
-
`${bottomRightY}px`
|
|
1650
|
-
);
|
|
1651
|
-
}
|
|
1652
|
-
};
|
|
1653
|
-
}
|
|
1654
|
-
async connectedCallback() {
|
|
1655
|
-
super.connectedCallback();
|
|
1656
|
-
await this.updateComplete;
|
|
1657
|
-
this.start();
|
|
1658
|
-
}
|
|
1659
|
-
disconnectedCallback() {
|
|
1660
|
-
super.disconnectedCallback();
|
|
1661
|
-
this.stop();
|
|
1662
|
-
}
|
|
1663
|
-
async updated(changedProps) {
|
|
1664
|
-
super.updated(changedProps);
|
|
1665
|
-
if (changedProps.has("active")) {
|
|
1666
|
-
if (this.active) {
|
|
1667
|
-
this.start();
|
|
1668
|
-
} else {
|
|
1669
|
-
this.stop();
|
|
1670
|
-
}
|
|
1671
|
-
}
|
|
1672
|
-
if (changedProps.has("anchor")) {
|
|
1673
|
-
this.handleAnchorChange();
|
|
1674
|
-
}
|
|
1675
|
-
if (this.active) {
|
|
1676
|
-
await this.updateComplete;
|
|
1677
|
-
this.reposition();
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1680
|
-
async handleAnchorChange() {
|
|
1681
|
-
await this.stop();
|
|
1682
|
-
if (this.anchor && typeof this.anchor === "string") {
|
|
1683
|
-
const root = this.getRootNode();
|
|
1684
|
-
this.anchorEl = root.getElementById(this.anchor);
|
|
1685
|
-
} else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {
|
|
1686
|
-
this.anchorEl = this.anchor;
|
|
1687
|
-
} else {
|
|
1688
|
-
this.anchorEl = this.querySelector('[slot="anchor"]');
|
|
1689
|
-
}
|
|
1690
|
-
if (this.anchorEl instanceof HTMLSlotElement) {
|
|
1691
|
-
this.anchorEl = this.anchorEl.assignedElements({
|
|
1692
|
-
flatten: true
|
|
1693
|
-
})[0];
|
|
1694
|
-
}
|
|
1695
|
-
if (this.anchorEl && this.active) {
|
|
1696
|
-
this.start();
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
start() {
|
|
1700
|
-
if (!this.anchorEl || !this.active) {
|
|
1701
|
-
return;
|
|
1702
|
-
}
|
|
1703
|
-
this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {
|
|
1704
|
-
this.reposition();
|
|
1705
|
-
});
|
|
1706
|
-
}
|
|
1707
|
-
async stop() {
|
|
1708
|
-
return new Promise((resolve) => {
|
|
1709
|
-
if (this.cleanup) {
|
|
1710
|
-
this.cleanup();
|
|
1711
|
-
this.cleanup = void 0;
|
|
1712
|
-
this.removeAttribute("data-current-placement");
|
|
1713
|
-
this.style.removeProperty("--auto-size-available-width");
|
|
1714
|
-
this.style.removeProperty("--auto-size-available-height");
|
|
1715
|
-
requestAnimationFrame(() => resolve());
|
|
1716
|
-
} else {
|
|
1717
|
-
resolve();
|
|
1718
|
-
}
|
|
1719
|
-
});
|
|
1720
|
-
}
|
|
1721
|
-
/** Forces the popup to recalculate and reposition itself. */
|
|
1722
|
-
reposition() {
|
|
1723
|
-
if (!this.active || !this.anchorEl) {
|
|
1724
|
-
return;
|
|
1725
|
-
}
|
|
1726
|
-
const middleware = [
|
|
1727
|
-
// The offset middleware goes first
|
|
1728
|
-
offset2({ mainAxis: this.distance, crossAxis: this.skidding })
|
|
1729
|
-
];
|
|
1730
|
-
if (this.sync) {
|
|
1731
|
-
middleware.push(
|
|
1732
|
-
size2({
|
|
1733
|
-
apply: ({ rects }) => {
|
|
1734
|
-
const syncWidth = this.sync === "width" || this.sync === "both";
|
|
1735
|
-
const syncHeight = this.sync === "height" || this.sync === "both";
|
|
1736
|
-
this.popup.style.width = syncWidth ? `${rects.reference.width}px` : "";
|
|
1737
|
-
this.popup.style.height = syncHeight ? `${rects.reference.height}px` : "";
|
|
1738
|
-
}
|
|
1739
|
-
})
|
|
1740
|
-
);
|
|
1741
|
-
} else {
|
|
1742
|
-
this.popup.style.width = "";
|
|
1743
|
-
this.popup.style.height = "";
|
|
1744
|
-
}
|
|
1745
|
-
if (this.flip) {
|
|
1746
|
-
middleware.push(
|
|
1747
|
-
flip2({
|
|
1748
|
-
boundary: this.flipBoundary,
|
|
1749
|
-
// @ts-expect-error - We're converting a string attribute to an array here
|
|
1750
|
-
fallbackPlacements: this.flipFallbackPlacements,
|
|
1751
|
-
fallbackStrategy: this.flipFallbackStrategy === "best-fit" ? "bestFit" : "initialPlacement",
|
|
1752
|
-
padding: this.flipPadding
|
|
1753
|
-
})
|
|
1754
|
-
);
|
|
1755
|
-
}
|
|
1756
|
-
if (this.shift) {
|
|
1757
|
-
middleware.push(
|
|
1758
|
-
shift2({
|
|
1759
|
-
boundary: this.shiftBoundary,
|
|
1760
|
-
padding: this.shiftPadding
|
|
1761
|
-
})
|
|
1762
|
-
);
|
|
1763
|
-
}
|
|
1764
|
-
if (this.autoSize) {
|
|
1765
|
-
middleware.push(
|
|
1766
|
-
size2({
|
|
1767
|
-
boundary: this.autoSizeBoundary,
|
|
1768
|
-
padding: this.autoSizePadding,
|
|
1769
|
-
apply: ({ availableWidth, availableHeight }) => {
|
|
1770
|
-
if (this.autoSize === "vertical" || this.autoSize === "both") {
|
|
1771
|
-
this.style.setProperty(
|
|
1772
|
-
"--auto-size-available-height",
|
|
1773
|
-
`${availableHeight}px`
|
|
1774
|
-
);
|
|
1775
|
-
} else {
|
|
1776
|
-
this.style.removeProperty("--auto-size-available-height");
|
|
1777
|
-
}
|
|
1778
|
-
if (this.autoSize === "horizontal" || this.autoSize === "both") {
|
|
1779
|
-
this.style.setProperty(
|
|
1780
|
-
"--auto-size-available-width",
|
|
1781
|
-
`${availableWidth}px`
|
|
1782
|
-
);
|
|
1783
|
-
} else {
|
|
1784
|
-
this.style.removeProperty("--auto-size-available-width");
|
|
1785
|
-
}
|
|
1786
|
-
}
|
|
1787
|
-
})
|
|
1788
|
-
);
|
|
1789
|
-
} else {
|
|
1790
|
-
this.style.removeProperty("--auto-size-available-width");
|
|
1791
|
-
this.style.removeProperty("--auto-size-available-height");
|
|
1792
|
-
}
|
|
1793
|
-
if (this.arrow) {
|
|
1794
|
-
middleware.push(
|
|
1795
|
-
arrow2({
|
|
1796
|
-
element: this.arrowEl,
|
|
1797
|
-
padding: this.arrowPadding
|
|
1798
|
-
})
|
|
1799
|
-
);
|
|
1800
|
-
}
|
|
1801
|
-
const getOffsetParent2 = this.strategy === "absolute" ? (element) => platform.getOffsetParent(element, e3) : platform.getOffsetParent;
|
|
1802
|
-
computePosition2(this.anchorEl, this.popup, {
|
|
1803
|
-
placement: this.placement,
|
|
1804
|
-
middleware,
|
|
1805
|
-
strategy: this.strategy,
|
|
1806
|
-
platform: __spreadProps(__spreadValues({}, platform), {
|
|
1807
|
-
getOffsetParent: getOffsetParent2
|
|
1808
|
-
})
|
|
1809
|
-
}).then(({ x, y, middlewareData, placement }) => {
|
|
1810
|
-
const isRtl = false;
|
|
1811
|
-
const staticSide = {
|
|
1812
|
-
top: "bottom",
|
|
1813
|
-
right: "left",
|
|
1814
|
-
bottom: "top",
|
|
1815
|
-
left: "right"
|
|
1816
|
-
}[placement.split("-")[0]];
|
|
1817
|
-
this.setAttribute("data-current-placement", placement);
|
|
1818
|
-
Object.assign(this.popup.style, {
|
|
1819
|
-
left: `${x}px`,
|
|
1820
|
-
top: `${y}px`
|
|
1821
|
-
});
|
|
1822
|
-
if (this.arrow) {
|
|
1823
|
-
const arrowX = middlewareData.arrow.x;
|
|
1824
|
-
const arrowY = middlewareData.arrow.y;
|
|
1825
|
-
let top = "";
|
|
1826
|
-
let right = "";
|
|
1827
|
-
let bottom = "";
|
|
1828
|
-
let left = "";
|
|
1829
|
-
if (this.arrowPlacement === "start") {
|
|
1830
|
-
const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1831
|
-
top = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1832
|
-
right = isRtl ? value : "";
|
|
1833
|
-
left = isRtl ? "" : value;
|
|
1834
|
-
} else if (this.arrowPlacement === "end") {
|
|
1835
|
-
const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1836
|
-
right = isRtl ? "" : value;
|
|
1837
|
-
left = isRtl ? value : "";
|
|
1838
|
-
bottom = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1839
|
-
} else if (this.arrowPlacement === "center") {
|
|
1840
|
-
left = typeof arrowX === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
|
|
1841
|
-
top = typeof arrowY === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
|
|
1842
|
-
} else {
|
|
1843
|
-
left = typeof arrowX === "number" ? `${arrowX}px` : "";
|
|
1844
|
-
top = typeof arrowY === "number" ? `${arrowY}px` : "";
|
|
1845
|
-
}
|
|
1846
|
-
Object.assign(this.arrowEl.style, {
|
|
1847
|
-
top,
|
|
1848
|
-
right,
|
|
1849
|
-
bottom,
|
|
1850
|
-
left,
|
|
1851
|
-
[staticSide]: "calc(var(--arrow-size-diagonal) * -1)"
|
|
1852
|
-
});
|
|
1853
|
-
}
|
|
1854
|
-
});
|
|
1855
|
-
requestAnimationFrame(() => this.updateHoverBridge());
|
|
1856
|
-
this.emit("terra-reposition");
|
|
1857
|
-
}
|
|
1858
|
-
render() {
|
|
1859
|
-
return b`
|
|
1860
|
-
<slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
|
|
1861
|
-
|
|
1862
|
-
<span
|
|
1863
|
-
part="hover-bridge"
|
|
1864
|
-
class=${e({
|
|
1865
|
-
"popup-hover-bridge": true,
|
|
1866
|
-
"popup-hover-bridge--visible": this.hoverBridge && this.active
|
|
1867
|
-
})}
|
|
1868
|
-
></span>
|
|
1869
|
-
|
|
1870
|
-
<div
|
|
1871
|
-
part="popup"
|
|
1872
|
-
class=${e({
|
|
1873
|
-
popup: true,
|
|
1874
|
-
"popup--active": this.active,
|
|
1875
|
-
"popup--fixed": this.strategy === "fixed",
|
|
1876
|
-
"popup--has-arrow": this.arrow
|
|
1877
|
-
})}
|
|
1878
|
-
>
|
|
1879
|
-
<slot></slot>
|
|
1880
|
-
${this.arrow ? b`<div
|
|
1881
|
-
part="arrow"
|
|
1882
|
-
class="popup__arrow"
|
|
1883
|
-
role="presentation"
|
|
1884
|
-
></div>` : ""}
|
|
1885
|
-
</div>
|
|
1886
|
-
`;
|
|
1887
|
-
}
|
|
1888
|
-
};
|
|
1889
|
-
TerraPopup.styles = [component_styles_default, popup_styles_default];
|
|
1890
|
-
__decorateClass([
|
|
1891
|
-
e2(".popup")
|
|
1892
|
-
], TerraPopup.prototype, "popup", 2);
|
|
1893
|
-
__decorateClass([
|
|
1894
|
-
e2(".popup__arrow")
|
|
1895
|
-
], TerraPopup.prototype, "arrowEl", 2);
|
|
1896
|
-
__decorateClass([
|
|
1897
|
-
n()
|
|
1898
|
-
], TerraPopup.prototype, "anchor", 2);
|
|
1899
|
-
__decorateClass([
|
|
1900
|
-
n({ type: Boolean, reflect: true })
|
|
1901
|
-
], TerraPopup.prototype, "active", 2);
|
|
1902
|
-
__decorateClass([
|
|
1903
|
-
n({ reflect: true })
|
|
1904
|
-
], TerraPopup.prototype, "placement", 2);
|
|
1905
|
-
__decorateClass([
|
|
1906
|
-
n({ reflect: true })
|
|
1907
|
-
], TerraPopup.prototype, "strategy", 2);
|
|
1908
|
-
__decorateClass([
|
|
1909
|
-
n({ type: Number })
|
|
1910
|
-
], TerraPopup.prototype, "distance", 2);
|
|
1911
|
-
__decorateClass([
|
|
1912
|
-
n({ type: Number })
|
|
1913
|
-
], TerraPopup.prototype, "skidding", 2);
|
|
1914
|
-
__decorateClass([
|
|
1915
|
-
n({ type: Boolean })
|
|
1916
|
-
], TerraPopup.prototype, "arrow", 2);
|
|
1917
|
-
__decorateClass([
|
|
1918
|
-
n({ attribute: "arrow-placement" })
|
|
1919
|
-
], TerraPopup.prototype, "arrowPlacement", 2);
|
|
1920
|
-
__decorateClass([
|
|
1921
|
-
n({ attribute: "arrow-padding", type: Number })
|
|
1922
|
-
], TerraPopup.prototype, "arrowPadding", 2);
|
|
1923
|
-
__decorateClass([
|
|
1924
|
-
n({ type: Boolean })
|
|
1925
|
-
], TerraPopup.prototype, "flip", 2);
|
|
1926
|
-
__decorateClass([
|
|
1927
|
-
n({
|
|
1928
|
-
attribute: "flip-fallback-placements",
|
|
1929
|
-
converter: {
|
|
1930
|
-
fromAttribute: (value) => {
|
|
1931
|
-
return value.split(" ").map((p) => p.trim()).filter((p) => p !== "");
|
|
1932
|
-
},
|
|
1933
|
-
toAttribute: (value) => {
|
|
1934
|
-
return value.join(" ");
|
|
1935
|
-
}
|
|
1936
|
-
}
|
|
1937
|
-
})
|
|
1938
|
-
], TerraPopup.prototype, "flipFallbackPlacements", 2);
|
|
1939
|
-
__decorateClass([
|
|
1940
|
-
n({ attribute: "flip-fallback-strategy" })
|
|
1941
|
-
], TerraPopup.prototype, "flipFallbackStrategy", 2);
|
|
1942
|
-
__decorateClass([
|
|
1943
|
-
n({ type: Object })
|
|
1944
|
-
], TerraPopup.prototype, "flipBoundary", 2);
|
|
1945
|
-
__decorateClass([
|
|
1946
|
-
n({ attribute: "flip-padding", type: Number })
|
|
1947
|
-
], TerraPopup.prototype, "flipPadding", 2);
|
|
1948
|
-
__decorateClass([
|
|
1949
|
-
n({ type: Boolean })
|
|
1950
|
-
], TerraPopup.prototype, "shift", 2);
|
|
1951
|
-
__decorateClass([
|
|
1952
|
-
n({ type: Object })
|
|
1953
|
-
], TerraPopup.prototype, "shiftBoundary", 2);
|
|
1954
|
-
__decorateClass([
|
|
1955
|
-
n({ attribute: "shift-padding", type: Number })
|
|
1956
|
-
], TerraPopup.prototype, "shiftPadding", 2);
|
|
1957
|
-
__decorateClass([
|
|
1958
|
-
n({ attribute: "auto-size" })
|
|
1959
|
-
], TerraPopup.prototype, "autoSize", 2);
|
|
1960
|
-
__decorateClass([
|
|
1961
|
-
n()
|
|
1962
|
-
], TerraPopup.prototype, "sync", 2);
|
|
1963
|
-
__decorateClass([
|
|
1964
|
-
n({ type: Object })
|
|
1965
|
-
], TerraPopup.prototype, "autoSizeBoundary", 2);
|
|
1966
|
-
__decorateClass([
|
|
1967
|
-
n({ attribute: "auto-size-padding", type: Number })
|
|
1968
|
-
], TerraPopup.prototype, "autoSizePadding", 2);
|
|
1969
|
-
__decorateClass([
|
|
1970
|
-
n({ attribute: "hover-bridge", type: Boolean })
|
|
1971
|
-
], TerraPopup.prototype, "hoverBridge", 2);
|
|
1972
|
-
|
|
1973
|
-
export {
|
|
1974
|
-
TerraPopup
|
|
1975
|
-
};
|