@nasa-terra/components 0.0.30 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/chunks/chunk.UUUQALNS.js → cdn/chunks/chunk.34QPQLNK.js} +1 -1
- package/{dist/chunks/chunk.H6K7DI54.js → cdn/chunks/chunk.3NKO2T67.js} +1 -1
- package/cdn/chunks/{chunk.ZP7GOIAS.js → chunk.45AXXS6V.js} +1 -1
- package/{dist/chunks/chunk.KF6GNNY4.js → cdn/chunks/chunk.4IM4LTKE.js} +1 -1
- package/cdn/chunks/{chunk.LCPNNUVW.js → chunk.67R3HZQ3.js} +1 -1
- package/cdn/chunks/{chunk.HFMQVMLF.js → chunk.6JBWOMQU.js} +4 -4
- package/{dist/chunks/chunk.SOQ4CR5P.js → cdn/chunks/chunk.6NFDKY7P.js} +1 -1
- package/cdn/chunks/{chunk.UXTJ3UQP.js → chunk.7IT4KQFG.js} +61 -24
- package/{dist/chunks/chunk.R7ZFWMFX.js → cdn/chunks/chunk.7VREZYX5.js} +1 -1
- package/cdn/chunks/{chunk.SBI2FAOG.js → chunk.ADQK6QTU.js} +1 -1
- package/cdn/chunks/{chunk.DDGJ6BLG.js → chunk.CGCCGLTN.js} +1 -1
- package/cdn/chunks/{chunk.GSG6MPDX.js → chunk.CGMSLBSF.js} +1 -1
- package/cdn/chunks/{chunk.I6AG4GNV.js → chunk.DMMXH25Q.js} +1 -1
- package/cdn/chunks/{chunk.HXEZAY6X.js → chunk.E6DWFRD6.js} +7 -2
- package/cdn/chunks/{chunk.ZLX4LVIZ.js → chunk.F2W7INSC.js} +1 -1
- package/{dist/chunks/chunk.KZQGAFNS.js → cdn/chunks/chunk.FCVQMZFI.js} +1 -1
- package/cdn/chunks/{chunk.N4W3LSG4.js → chunk.HMPD7STE.js} +1 -1
- package/cdn/chunks/{chunk.X4S4SQKL.js → chunk.ID7OJYAQ.js} +1 -1
- package/cdn/chunks/{chunk.EKLIR3WI.js → chunk.JYFIK3K2.js} +1 -1
- package/cdn/chunks/{chunk.AX2SA27I.js → chunk.KA7HBTWB.js} +1 -1
- package/{dist/chunks/chunk.2QTJHB7F.js → cdn/chunks/chunk.KE4H5SNV.js} +1 -1
- package/cdn/chunks/{chunk.2B5MWFZJ.js → chunk.KXN5IM45.js} +1 -1
- package/{dist/chunks/chunk.HRODIECS.js → cdn/chunks/chunk.MFZ6PKUB.js} +1 -1
- package/cdn/chunks/{chunk.RE7Y5324.js → chunk.N4UVPPEY.js} +1 -1
- package/cdn/chunks/{chunk.XHVCGLFU.js → chunk.NDDVQ6L7.js} +1 -1
- package/cdn/chunks/chunk.NFOKSMM5.js +100 -0
- package/cdn/chunks/{chunk.KJEKFNS4.js → chunk.NRTX2VEY.js} +15 -15
- package/{dist/chunks/chunk.P4V6NTUB.js → cdn/chunks/chunk.NWLGET32.js} +1 -1
- package/{dist/chunks/chunk.XJZRUYAI.js → cdn/chunks/chunk.OA75DMQH.js} +1 -1
- package/cdn/chunks/{chunk.N3DIGSJT.js → chunk.OTOZCJEJ.js} +1 -1
- package/cdn/chunks/{chunk.TSLU66AK.js → chunk.P3O5LHGA.js} +1 -1
- package/cdn/chunks/{chunk.TVLFTKMX.js → chunk.PRG2L4PB.js} +3 -3
- package/cdn/chunks/{chunk.U2IVCX3M.js → chunk.QF2JNZWM.js} +7 -7
- package/cdn/chunks/{chunk.SULSGF5G.js → chunk.QFNOH7ML.js} +1 -1
- package/cdn/chunks/{chunk.QKFBOZ3A.js → chunk.R6FGH4XJ.js} +1 -1
- package/cdn/chunks/{chunk.MJAGRW43.js → chunk.ROWDYHUA.js} +1 -1
- package/cdn/chunks/{chunk.HLNHG2BS.js → chunk.RPLWVZAO.js} +1 -1
- package/cdn/chunks/{chunk.6RTRSHJT.js → chunk.S43QNDTT.js} +4 -4
- package/cdn/chunks/{chunk.VKEDPAJJ.js → chunk.STJK5HW6.js} +1 -1
- package/cdn/chunks/{chunk.7F6COZGY.js → chunk.TEJY3UUA.js} +1 -1
- package/cdn/chunks/{chunk.ABJ2K7TM.js → chunk.TW7UO5LZ.js} +1 -1
- package/cdn/chunks/{chunk.QALWOJYN.js → chunk.USBBFUH3.js} +1 -1
- package/cdn/chunks/{chunk.O7MMFKKX.js → chunk.UTWWCV4P.js} +1 -1
- package/cdn/chunks/{chunk.SI3J4IDI.js → chunk.VP4L3SK4.js} +1 -1
- package/cdn/chunks/{chunk.STX2OFFU.js → chunk.WB4CCJOS.js} +1 -1
- package/cdn/chunks/{chunk.57KITL7R.js → chunk.X4DCIQMZ.js} +13 -13
- package/cdn/chunks/{chunk.MU5CIHVF.js → chunk.XFQGSMVG.js} +1 -1
- package/cdn/chunks/{chunk.GDSSJKN2.js → chunk.XJ6CQ2W6.js} +4 -4
- package/{dist/chunks/chunk.XTWS7MM5.js → cdn/chunks/chunk.XP6C4SEV.js} +1 -1
- package/cdn/chunks/{chunk.ZXJ4IGW5.js → chunk.XP6TX54B.js} +1 -1
- package/{dist/chunks/chunk.3SSCVJFM.js → cdn/chunks/chunk.XTP2RSXK.js} +1 -1
- package/cdn/chunks/{chunk.KFKV4IIY.js → chunk.Y5GIUMUI.js} +7 -7
- package/cdn/chunks/{chunk.EFOVA2JJ.js → chunk.YEANOYYH.js} +3 -3
- package/cdn/components/browse-variables/browse-variables.component.js +15 -15
- package/cdn/components/browse-variables/browse-variables.js +16 -16
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +3 -3
- package/cdn/components/combobox/combobox.js +4 -4
- package/cdn/components/date-picker/date-picker.component.d.ts +2 -1
- package/cdn/components/date-picker/date-picker.component.js +3 -3
- package/cdn/components/date-picker/date-picker.js +4 -4
- package/cdn/components/date-picker/date-picker.styles.js +1 -1
- package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
- package/cdn/components/date-range-slider/date-range-slider.js +4 -4
- package/cdn/components/dialog/dialog.component.js +2 -2
- package/cdn/components/dialog/dialog.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +11 -11
- package/cdn/components/login/login.js +12 -12
- package/cdn/components/map/map.component.js +3 -3
- package/cdn/components/map/map.js +4 -4
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spatial-picker/spatial-picker.component.d.ts +1 -0
- package/cdn/components/spatial-picker/spatial-picker.component.js +4 -4
- package/cdn/components/spatial-picker/spatial-picker.js +5 -5
- package/cdn/components/time-series/time-series.component.js +21 -21
- package/cdn/components/time-series/time-series.js +22 -22
- package/cdn/components/variable-combobox/variable-combobox.component.js +9 -9
- package/cdn/components/variable-combobox/variable-combobox.controller.js +1 -1
- package/cdn/components/variable-combobox/variable-combobox.js +10 -10
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +9 -9
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +10 -10
- package/cdn/custom-elements.json +1280 -1258
- package/cdn/react/browse-variables/index.js +16 -16
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +4 -4
- package/cdn/react/date-picker/index.js +4 -4
- package/cdn/react/date-range-slider/index.js +4 -4
- package/cdn/react/dialog/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/index.d.ts +3 -3
- package/cdn/react/index.js +62 -62
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +12 -12
- package/cdn/react/map/index.js +4 -4
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +5 -5
- package/cdn/react/time-series/index.js +22 -22
- package/cdn/react/variable-combobox/index.js +10 -10
- package/cdn/react/variable-keyword-search/index.js +10 -10
- package/cdn/terra-ui-components.js +65 -65
- package/cdn/types/vue/index.d.ts +121 -119
- package/cdn/vscode.html-custom-data.json +101 -114
- package/cdn/web-types.json +223 -224
- package/dist/chunks/{chunk.3J5TZOPP.js → chunk.25WJQ7KM.js} +12 -12
- package/dist/chunks/{chunk.BVCKNDN2.js → chunk.2BQ6TINK.js} +1 -1
- package/dist/chunks/{chunk.YF6EKHHQ.js → chunk.2OVZTWWG.js} +1 -1
- package/dist/chunks/{chunk.TOKOGZDW.js → chunk.2QR73K4U.js} +1 -1
- package/dist/chunks/{chunk.KY7CFQ2L.js → chunk.2RF2Z5CD.js} +1 -1
- package/dist/chunks/{chunk.RFLNQ553.js → chunk.2RGOE43Z.js} +3 -3
- package/dist/chunks/{chunk.BCU2ZKJ4.js → chunk.3RSSOF4N.js} +1 -1
- package/{cdn/chunks/chunk.LMBQZGKV.js → dist/chunks/chunk.5UAD7NG6.js} +1 -1
- package/{cdn/chunks/chunk.F2MIC3AX.js → dist/chunks/chunk.627K5GW3.js} +1 -1
- package/dist/chunks/{chunk.F5UDJENT.js → chunk.64VS7ZEB.js} +1 -1
- package/dist/chunks/{chunk.DJICCDFZ.js → chunk.6DEA236E.js} +61 -24
- package/{cdn/chunks/chunk.PXFI6DWW.js → dist/chunks/chunk.732UJVBH.js} +1 -1
- package/{cdn/chunks/chunk.5YPKED3D.js → dist/chunks/chunk.7S3UELGR.js} +1 -1
- package/dist/chunks/{chunk.YFE22UAS.js → chunk.AZGNN574.js} +1 -1
- package/{cdn/chunks/chunk.VJ4KDMYT.js → dist/chunks/chunk.B55IZ3M4.js} +1 -1
- package/{cdn/chunks/chunk.MMPYQ7JX.js → dist/chunks/chunk.CHYO37DC.js} +1 -1
- package/dist/chunks/{chunk.FAIVIYKA.js → chunk.CM5OHOIF.js} +7 -2
- package/dist/chunks/{chunk.3JQPZWUE.js → chunk.CZ4INNVH.js} +1 -1
- package/dist/chunks/{chunk.E5OMSMPR.js → chunk.DVT7CNFJ.js} +4 -4
- package/dist/chunks/{chunk.BXMFNRIQ.js → chunk.EN4RP7HN.js} +1 -1
- package/dist/chunks/{chunk.DP5CSX6S.js → chunk.ERXQMVWQ.js} +1 -1
- package/dist/chunks/{chunk.3K3BQXON.js → chunk.EYJC6YDH.js} +1 -1
- package/{cdn/chunks/chunk.SSOHEVCW.js → dist/chunks/chunk.FDSOKDBT.js} +1 -1
- package/dist/chunks/{chunk.JPTE36KF.js → chunk.G2MHDK5I.js} +1 -1
- package/dist/chunks/{chunk.KAU6YSSX.js → chunk.GBODT7FO.js} +1 -1
- package/dist/chunks/{chunk.3IIDXU4S.js → chunk.GW2WYWMG.js} +1 -1
- package/dist/chunks/{chunk.NRFKLACI.js → chunk.KFMI5D6T.js} +3 -3
- package/dist/chunks/{chunk.LDXAXITL.js → chunk.KHJGOYOR.js} +4 -4
- package/dist/chunks/{chunk.2WHOFNO7.js → chunk.LQFIL3ON.js} +1 -1
- package/dist/chunks/{chunk.IPMALKFU.js → chunk.LSNAOLMR.js} +1 -1
- package/dist/chunks/{chunk.NY3FWCB4.js → chunk.LWBZSQZX.js} +1 -1
- package/{cdn/chunks/chunk.2KO7WMDA.js → dist/chunks/chunk.N7IXE4IK.js} +1 -1
- package/dist/chunks/{chunk.NQ2Y66ML.js → chunk.NC43VLYJ.js} +1 -1
- package/dist/chunks/{chunk.6P4UBSKH.js → chunk.OIJXME34.js} +4 -4
- package/dist/chunks/{chunk.NE2F3K3V.js → chunk.OIWUZ2H2.js} +4 -4
- package/dist/chunks/{chunk.XBGMPAGN.js → chunk.Q3CEA2UC.js} +1 -1
- package/dist/chunks/{chunk.U4VDOWEL.js → chunk.QOXUMRO6.js} +1 -1
- package/dist/chunks/{chunk.RO6IKZZJ.js → chunk.RYHY5K2E.js} +1 -1
- package/dist/chunks/{chunk.TOSECFXS.js → chunk.S75FAS7X.js} +4 -4
- package/dist/chunks/{chunk.RAGOKALJ.js → chunk.U7A6IXI3.js} +1 -1
- package/dist/chunks/{chunk.ED4EXVSJ.js → chunk.UDGY6W5F.js} +1 -1
- package/{cdn/chunks/chunk.567ZKY6U.js → dist/chunks/chunk.UEIAU65T.js} +1 -1
- package/{cdn/chunks/chunk.BJNWBPC2.js → dist/chunks/chunk.VDQ46VSP.js} +1 -1
- package/dist/chunks/{chunk.MY3D3SMW.js → chunk.VHC5HC4R.js} +1 -1
- package/{cdn/chunks/chunk.63W2KW34.js → dist/chunks/chunk.WXQWKBZJ.js} +1 -1
- package/dist/chunks/{chunk.CY76LRGV.js → chunk.XGPPOLEQ.js} +1 -1
- package/dist/chunks/chunk.XNW4KHCW.js +97 -0
- package/dist/chunks/{chunk.F7GS6U3O.js → chunk.XW27AKQN.js} +1 -1
- package/dist/chunks/{chunk.A3JXDHJG.js → chunk.YFREFMLO.js} +1 -1
- package/dist/chunks/{chunk.PVN5GF75.js → chunk.YHM6IBZY.js} +8 -8
- package/dist/chunks/{chunk.2RGRL45T.js → chunk.YUQKRPEG.js} +1 -1
- package/dist/chunks/{chunk.Z2X4WGGX.js → chunk.YYJVWDB2.js} +1 -1
- package/{cdn/chunks/chunk.2ZTQTPGQ.js → dist/chunks/chunk.ZQTNCNEY.js} +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +12 -12
- package/dist/components/browse-variables/browse-variables.js +13 -13
- package/dist/components/button/button.component.js +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +3 -3
- package/dist/components/combobox/combobox.js +4 -4
- package/dist/components/date-picker/date-picker.component.d.ts +2 -1
- package/dist/components/date-picker/date-picker.component.js +3 -3
- package/dist/components/date-picker/date-picker.js +4 -4
- package/dist/components/date-picker/date-picker.styles.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.component.js +3 -3
- package/dist/components/date-range-slider/date-range-slider.js +4 -4
- package/dist/components/dialog/dialog.component.js +2 -2
- package/dist/components/dialog/dialog.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/login/login.component.js +8 -8
- package/dist/components/login/login.js +9 -9
- package/dist/components/map/map.component.js +3 -3
- package/dist/components/map/map.js +4 -4
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.component.d.ts +1 -0
- package/dist/components/spatial-picker/spatial-picker.component.js +4 -4
- package/dist/components/spatial-picker/spatial-picker.js +5 -5
- package/dist/components/time-series/time-series.component.js +16 -16
- package/dist/components/time-series/time-series.js +17 -17
- package/dist/components/variable-combobox/variable-combobox.component.js +6 -6
- package/dist/components/variable-combobox/variable-combobox.js +7 -7
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +6 -6
- package/dist/components/variable-keyword-search/variable-keyword-search.js +7 -7
- package/dist/custom-elements.json +1280 -1258
- package/dist/react/browse-variables/index.js +13 -13
- package/dist/react/button/index.js +3 -3
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +4 -4
- package/dist/react/date-picker/index.js +4 -4
- package/dist/react/date-range-slider/index.js +4 -4
- package/dist/react/dialog/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +57 -57
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +9 -9
- package/dist/react/map/index.js +4 -4
- package/dist/react/plot/index.js +3 -3
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +5 -5
- package/dist/react/time-series/index.js +17 -17
- package/dist/react/variable-combobox/index.js +7 -7
- package/dist/react/variable-keyword-search/index.js +7 -7
- package/dist/terra-ui-components.js +60 -60
- package/dist/{terra_ui_components-0.0.30-py3-none-any.whl → terra_ui_components-0.0.32-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.30.tar.gz → terra_ui_components-0.0.32.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +121 -119
- package/dist/vscode.html-custom-data.json +101 -114
- package/dist/web-types.json +223 -224
- package/package.json +1 -1
- package/cdn/chunks/chunk.CEIZPS3F.js +0 -14
- package/dist/chunks/chunk.W5W4VEOX.js +0 -11
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
format
|
|
6
6
|
} from "./chunk.BPNFS4ED.js";
|
|
7
|
-
import {
|
|
8
|
-
mergeTooltips
|
|
9
|
-
} from "./chunk.KW4TJM4C.js";
|
|
10
7
|
import {
|
|
11
8
|
date_range_slider_styles_default
|
|
12
9
|
} from "./chunk.WTMN7OUL.js";
|
|
10
|
+
import {
|
|
11
|
+
mergeTooltips
|
|
12
|
+
} from "./chunk.KW4TJM4C.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.CBV7M6CJ.js";
|
|
16
16
|
import {
|
|
17
17
|
TerraElement,
|
|
18
18
|
component_styles_default
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.KA7HBTWB.js";
|
|
20
20
|
import {
|
|
21
21
|
e,
|
|
22
22
|
n
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
date_picker_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.NFOKSMM5.js";
|
|
4
4
|
import {
|
|
5
5
|
TerraElement,
|
|
6
6
|
component_styles_default
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.KA7HBTWB.js";
|
|
8
8
|
import {
|
|
9
9
|
e,
|
|
10
10
|
n
|
|
@@ -3586,8 +3586,9 @@ var TerraDatePicker = class extends TerraElement {
|
|
|
3586
3586
|
this.weekNumbers = false;
|
|
3587
3587
|
this.static = false;
|
|
3588
3588
|
this.position = "auto";
|
|
3589
|
-
this.theme = "light";
|
|
3590
3589
|
this.showMonths = 1;
|
|
3590
|
+
this.hideLabel = false;
|
|
3591
|
+
this.label = "Select Date";
|
|
3591
3592
|
}
|
|
3592
3593
|
firstUpdated() {
|
|
3593
3594
|
this.flatpickrElement.addEventListener("change", this.handleChange.bind(this));
|
|
@@ -3604,24 +3605,57 @@ var TerraDatePicker = class extends TerraElement {
|
|
|
3604
3605
|
}
|
|
3605
3606
|
render() {
|
|
3606
3607
|
return x`
|
|
3607
|
-
<
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3608
|
+
<div class="date-picker">
|
|
3609
|
+
<label
|
|
3610
|
+
for="date-picker__input"
|
|
3611
|
+
class=${this.hideLabel ? "sr-only" : "date-picker__input_label"}
|
|
3612
|
+
>${this.label}</label
|
|
3613
|
+
>
|
|
3614
|
+
<div class="date-picker__input_fields">
|
|
3615
|
+
<lit-flatpickr
|
|
3616
|
+
id="date-picker__input"
|
|
3617
|
+
class="form-control"
|
|
3618
|
+
.mode=${this.range ? "range" : "single"}
|
|
3619
|
+
.minDate=${this.minDate}
|
|
3620
|
+
.maxDate=${this.maxDate}
|
|
3621
|
+
.defaultDate=${this.range ? [this.startDate, this.endDate].filter(
|
|
3622
|
+
Boolean
|
|
3623
|
+
) : this.startDate}
|
|
3624
|
+
.allowInput=${this.allowInput}
|
|
3625
|
+
.altFormat=${this.altFormat}
|
|
3626
|
+
.altInput=${this.altInput}
|
|
3627
|
+
.altInputClass=${this.altInputClass}
|
|
3628
|
+
.dateFormat=${this.dateFormat}
|
|
3629
|
+
.enableTime=${this.enableTime}
|
|
3630
|
+
.time24hr=${this.time24hr}
|
|
3631
|
+
.weekNumbers=${this.weekNumbers}
|
|
3632
|
+
.static=${this.static}
|
|
3633
|
+
.position=${this.position}
|
|
3634
|
+
.showMonths=${this.showMonths}
|
|
3635
|
+
theme="material_blue"
|
|
3636
|
+
></lit-flatpickr>
|
|
3637
|
+
<button
|
|
3638
|
+
class="date-picker__input_icon_button"
|
|
3639
|
+
type="button"
|
|
3640
|
+
@click=${() => this.flatpickrElement.open()}
|
|
3641
|
+
>
|
|
3642
|
+
<svg
|
|
3643
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3644
|
+
fill="none"
|
|
3645
|
+
viewBox="0 0 24 24"
|
|
3646
|
+
stroke-width="1.5"
|
|
3647
|
+
stroke="currentColor"
|
|
3648
|
+
class="w-6 h-6"
|
|
3649
|
+
>
|
|
3650
|
+
<path
|
|
3651
|
+
stroke-linecap="round"
|
|
3652
|
+
stroke-linejoin="round"
|
|
3653
|
+
d="M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5"
|
|
3654
|
+
/>
|
|
3655
|
+
</svg>
|
|
3656
|
+
</button>
|
|
3657
|
+
</div>
|
|
3658
|
+
</div>
|
|
3625
3659
|
`;
|
|
3626
3660
|
}
|
|
3627
3661
|
};
|
|
@@ -3674,12 +3708,15 @@ __decorateClass([
|
|
|
3674
3708
|
__decorateClass([
|
|
3675
3709
|
n()
|
|
3676
3710
|
], TerraDatePicker.prototype, "position", 2);
|
|
3677
|
-
__decorateClass([
|
|
3678
|
-
n()
|
|
3679
|
-
], TerraDatePicker.prototype, "theme", 2);
|
|
3680
3711
|
__decorateClass([
|
|
3681
3712
|
n({ type: Number, attribute: "show-months" })
|
|
3682
3713
|
], TerraDatePicker.prototype, "showMonths", 2);
|
|
3714
|
+
__decorateClass([
|
|
3715
|
+
n({ attribute: "hide-label", type: Boolean })
|
|
3716
|
+
], TerraDatePicker.prototype, "hideLabel", 2);
|
|
3717
|
+
__decorateClass([
|
|
3718
|
+
n()
|
|
3719
|
+
], TerraDatePicker.prototype, "label", 2);
|
|
3683
3720
|
__decorateClass([
|
|
3684
3721
|
e("lit-flatpickr")
|
|
3685
3722
|
], TerraDatePicker.prototype, "flatpickrElement", 2);
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.POKHGMEN.js";
|
|
4
4
|
import {
|
|
5
5
|
TerraMap
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.XJ6CQ2W6.js";
|
|
7
7
|
import {
|
|
8
8
|
StringifyBoundingBox,
|
|
9
9
|
parseBoundingBox
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
TerraElement,
|
|
13
13
|
component_styles_default
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.KA7HBTWB.js";
|
|
15
15
|
import {
|
|
16
16
|
e,
|
|
17
17
|
n,
|
|
@@ -44,6 +44,10 @@ var TerraSpatialPicker = class extends TerraElement {
|
|
|
44
44
|
_blur(e2) {
|
|
45
45
|
const inputValue = e2.target.value;
|
|
46
46
|
this.mapValue = inputValue === "" ? [] : parseBoundingBox(inputValue);
|
|
47
|
+
this.isExpanded = false;
|
|
48
|
+
}
|
|
49
|
+
_focus() {
|
|
50
|
+
this.isExpanded = true;
|
|
47
51
|
}
|
|
48
52
|
_click() {
|
|
49
53
|
this.isExpanded = !this.isExpanded;
|
|
@@ -112,6 +116,7 @@ var TerraSpatialPicker = class extends TerraElement {
|
|
|
112
116
|
aria-controls="map"
|
|
113
117
|
aria-expanded=${this.isExpanded}
|
|
114
118
|
@blur=${this._blur}
|
|
119
|
+
@focus=${this._focus}
|
|
115
120
|
/>
|
|
116
121
|
<terra-button
|
|
117
122
|
shape="square-left"
|
|
@@ -366,7 +366,7 @@ var TerraElement = class extends s {
|
|
|
366
366
|
};
|
|
367
367
|
/* eslint-disable */
|
|
368
368
|
// @ts-expect-error This is auto-injected at build time.
|
|
369
|
-
TerraElement.version = "0.0.
|
|
369
|
+
TerraElement.version = "0.0.32";
|
|
370
370
|
TerraElement.dependencies = {};
|
|
371
371
|
__decorateClass([
|
|
372
372
|
n()
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import {
|
|
2
|
+
i
|
|
3
|
+
} from "./chunk.PH7RLQK2.js";
|
|
4
|
+
|
|
5
|
+
// src/components/date-picker/date-picker.styles.ts
|
|
6
|
+
var date_picker_styles_default = i`
|
|
7
|
+
:host {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
position: relative;
|
|
10
|
+
max-width: 600px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:host input {
|
|
14
|
+
box-shadow: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host .form-control {
|
|
18
|
+
display: block;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 36px;
|
|
21
|
+
padding: 6px 12px;
|
|
22
|
+
background-image: none;
|
|
23
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
|
24
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
|
25
|
+
-webkit-transition:
|
|
26
|
+
border-color ease-in-out 0.15s,
|
|
27
|
+
box-shadow ease-in-out 0.15s;
|
|
28
|
+
transition:
|
|
29
|
+
background-color 0.2s ease,
|
|
30
|
+
border-color 0.2s ease;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:host .date-picker__input_fields {
|
|
34
|
+
position: relative;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:host lit-flatpickr {
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:host lit-flatpickr::part(input) {
|
|
42
|
+
display: block;
|
|
43
|
+
width: 100%;
|
|
44
|
+
height: 36px;
|
|
45
|
+
padding: 6px 12px;
|
|
46
|
+
background-image: none;
|
|
47
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
|
48
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
|
49
|
+
-webkit-transition:
|
|
50
|
+
border-color ease-in-out 0.15s,
|
|
51
|
+
box-shadow ease-in-out 0.15s;
|
|
52
|
+
transition:
|
|
53
|
+
background-color 0.2s ease,
|
|
54
|
+
border-color 0.2s ease;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:host .date-picker__input_icon_button {
|
|
58
|
+
position: absolute;
|
|
59
|
+
top: 0;
|
|
60
|
+
right: 0;
|
|
61
|
+
height: 36px;
|
|
62
|
+
padding: 0px;
|
|
63
|
+
z-index: 2;
|
|
64
|
+
margin-block: 0;
|
|
65
|
+
margin-inline: 0;
|
|
66
|
+
background: none;
|
|
67
|
+
border: none;
|
|
68
|
+
cursor: pointer;
|
|
69
|
+
display: flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
justify-content: center;
|
|
72
|
+
width: 36px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
:host .date-picker__input_icon_button svg {
|
|
76
|
+
height: 1.4rem;
|
|
77
|
+
width: 1.4rem;
|
|
78
|
+
color: currentColor;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:host .date-picker__input_icon_button:hover {
|
|
82
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
:host .sr-only {
|
|
86
|
+
position: absolute;
|
|
87
|
+
width: 1px;
|
|
88
|
+
height: 1px;
|
|
89
|
+
padding: 0;
|
|
90
|
+
margin: -1px;
|
|
91
|
+
overflow: hidden;
|
|
92
|
+
clip: rect(0, 0, 0, 0);
|
|
93
|
+
white-space: nowrap;
|
|
94
|
+
border: 0;
|
|
95
|
+
}
|
|
96
|
+
`;
|
|
97
|
+
|
|
98
|
+
export {
|
|
99
|
+
date_picker_styles_default
|
|
100
|
+
};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TerraVariableKeywordSearch
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.YEANOYYH.js";
|
|
4
4
|
import {
|
|
5
5
|
TerraSkeleton
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.67R3HZQ3.js";
|
|
7
7
|
import {
|
|
8
8
|
getRandomIntInclusive
|
|
9
9
|
} from "./chunk.7PAVW6KC.js";
|
|
10
10
|
import {
|
|
11
11
|
TerraLoader
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.CGMSLBSF.js";
|
|
13
13
|
import {
|
|
14
14
|
TerraIcon
|
|
15
|
-
} from "./chunk.
|
|
16
|
-
import {
|
|
17
|
-
BrowseVariablesController
|
|
18
|
-
} from "./chunk.GJXX5TSE.js";
|
|
19
|
-
import {
|
|
20
|
-
s
|
|
21
|
-
} from "./chunk.UGTZ22DI.js";
|
|
22
|
-
import {
|
|
23
|
-
browse_variables_styles_default
|
|
24
|
-
} from "./chunk.4EVDB43F.js";
|
|
15
|
+
} from "./chunk.QFNOH7ML.js";
|
|
25
16
|
import {
|
|
26
17
|
TerraButton
|
|
27
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.QF2JNZWM.js";
|
|
28
19
|
import {
|
|
29
20
|
watch
|
|
30
21
|
} from "./chunk.CBV7M6CJ.js";
|
|
31
22
|
import {
|
|
32
23
|
TerraElement,
|
|
33
24
|
component_styles_default
|
|
34
|
-
} from "./chunk.
|
|
25
|
+
} from "./chunk.KA7HBTWB.js";
|
|
35
26
|
import {
|
|
36
27
|
n,
|
|
37
28
|
r
|
|
38
29
|
} from "./chunk.QCK7PTWV.js";
|
|
30
|
+
import {
|
|
31
|
+
BrowseVariablesController
|
|
32
|
+
} from "./chunk.GJXX5TSE.js";
|
|
33
|
+
import {
|
|
34
|
+
s
|
|
35
|
+
} from "./chunk.UGTZ22DI.js";
|
|
36
|
+
import {
|
|
37
|
+
browse_variables_styles_default
|
|
38
|
+
} from "./chunk.4EVDB43F.js";
|
|
39
39
|
import {
|
|
40
40
|
T,
|
|
41
41
|
x
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk.QB5SASDL.js";
|
|
18
18
|
import {
|
|
19
19
|
icon_default
|
|
20
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.CGCCGLTN.js";
|
|
21
21
|
import {
|
|
22
22
|
Fuse
|
|
23
23
|
} from "./chunk.U7L2FN7F.js";
|
|
@@ -29,14 +29,14 @@ import {
|
|
|
29
29
|
} from "./chunk.2XCNCXGV.js";
|
|
30
30
|
import {
|
|
31
31
|
button_default
|
|
32
|
-
} from "./chunk.
|
|
32
|
+
} from "./chunk.ID7OJYAQ.js";
|
|
33
33
|
import {
|
|
34
34
|
watch
|
|
35
35
|
} from "./chunk.CBV7M6CJ.js";
|
|
36
36
|
import {
|
|
37
37
|
TerraElement,
|
|
38
38
|
component_styles_default
|
|
39
|
-
} from "./chunk.
|
|
39
|
+
} from "./chunk.KA7HBTWB.js";
|
|
40
40
|
import {
|
|
41
41
|
n,
|
|
42
42
|
r
|
|
@@ -7,24 +7,24 @@ import {
|
|
|
7
7
|
o,
|
|
8
8
|
s
|
|
9
9
|
} from "./chunk.GNSDRDLV.js";
|
|
10
|
-
import {
|
|
11
|
-
watch
|
|
12
|
-
} from "./chunk.CBV7M6CJ.js";
|
|
13
|
-
import {
|
|
14
|
-
button_styles_default
|
|
15
|
-
} from "./chunk.YVG2XG3L.js";
|
|
16
10
|
import {
|
|
17
11
|
e
|
|
18
12
|
} from "./chunk.YVSJQ4KD.js";
|
|
13
|
+
import {
|
|
14
|
+
watch
|
|
15
|
+
} from "./chunk.CBV7M6CJ.js";
|
|
19
16
|
import {
|
|
20
17
|
TerraElement,
|
|
21
18
|
component_styles_default
|
|
22
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.KA7HBTWB.js";
|
|
23
20
|
import {
|
|
24
21
|
e as e2,
|
|
25
22
|
n as n2,
|
|
26
23
|
r
|
|
27
24
|
} from "./chunk.QCK7PTWV.js";
|
|
25
|
+
import {
|
|
26
|
+
button_styles_default
|
|
27
|
+
} from "./chunk.YVG2XG3L.js";
|
|
28
28
|
import {
|
|
29
29
|
__decorateClass,
|
|
30
30
|
__privateAdd,
|