@nasa-terra/components 0.0.64 → 0.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.RLZRFF3I.js → chunk.2A2HFMGZ.js} +1 -1
- package/cdn/chunks/{chunk.LSITBA74.js → chunk.2QANHSCY.js} +1 -1
- package/cdn/chunks/{chunk.IVH6LMFP.js → chunk.2VDC2CLR.js} +1 -1
- package/cdn/chunks/{chunk.IGWX4N7H.js → chunk.3MIPIE6V.js} +1 -1
- package/cdn/chunks/{chunk.R5KSJUJS.js → chunk.5EPVHMFA.js} +1 -1
- package/cdn/chunks/{chunk.K5KGOR5O.js → chunk.5HS2P4QF.js} +1 -1
- package/cdn/chunks/{chunk.QBCKG623.js → chunk.5JKUUXXD.js} +1 -1
- package/cdn/chunks/{chunk.EJSPSGLJ.js → chunk.5JLTH2LZ.js} +26 -1
- package/cdn/chunks/{chunk.RKI4MNB2.js → chunk.5QLXSATY.js} +13 -13
- package/cdn/chunks/{chunk.2UXI7L3Z.js → chunk.6ZUOFZAK.js} +1 -1
- package/cdn/chunks/{chunk.R7LPV4MK.js → chunk.76RNZX2A.js} +1 -1
- package/cdn/chunks/{chunk.ZQQJXV5V.js → chunk.7IQH7BQC.js} +1 -1
- package/cdn/chunks/{chunk.7CI746RD.js → chunk.AOJTBQKP.js} +1 -1
- package/cdn/chunks/{chunk.BOZ7KL3G.js → chunk.BI76W67M.js} +1 -1
- package/cdn/chunks/{chunk.ORTTHTRR.js → chunk.BOGE65ZY.js} +1 -1
- package/cdn/chunks/{chunk.4IW2ACWY.js → chunk.C7NEKS3B.js} +2 -2
- package/cdn/chunks/{chunk.2IQ72HC2.js → chunk.CQUNIMB6.js} +1 -1
- package/cdn/chunks/{chunk.JFEIADEF.js → chunk.DV54QIG7.js} +2 -2
- package/cdn/chunks/{chunk.WZ6P7TO4.js → chunk.DYOCIII6.js} +4 -4
- package/cdn/chunks/{chunk.QD6G5X25.js → chunk.E7LVY6QB.js} +1 -1
- package/cdn/chunks/{chunk.OAXQ6WW5.js → chunk.EXIJCLV5.js} +1 -1
- package/cdn/chunks/{chunk.JJMS4YQI.js → chunk.FHFFLCE4.js} +7 -7
- package/cdn/chunks/{chunk.LRZRZOOA.js → chunk.FP5FRSMY.js} +5 -5
- package/cdn/chunks/{chunk.XOXD2WOT.js → chunk.FRSCLRYD.js} +1 -1
- package/cdn/chunks/{chunk.II36YEIQ.js → chunk.FUKHJNAX.js} +9 -6
- package/cdn/chunks/{chunk.755FQY3M.js → chunk.H6F3VHB2.js} +12 -12
- package/cdn/chunks/{chunk.JLDKV2NB.js → chunk.HZHS4RMI.js} +1 -1
- package/cdn/chunks/{chunk.JSIXNCNG.js → chunk.JDQ6TQCQ.js} +19 -14
- package/cdn/chunks/{chunk.6YDRYXMY.js → chunk.JIBQZDEG.js} +1 -1
- package/cdn/chunks/{chunk.JQICLV3P.js → chunk.K3JEGUHG.js} +3 -3
- package/cdn/chunks/{chunk.TTKA3KTH.js → chunk.M7WGJM54.js} +1 -1
- package/cdn/chunks/{chunk.U5556MHN.js → chunk.MOVW5G4G.js} +6 -6
- package/cdn/chunks/{chunk.ZH356JFJ.js → chunk.N2TTTIPA.js} +12 -12
- package/cdn/chunks/{chunk.CX2OWDSZ.js → chunk.N5GAZEUH.js} +1 -1
- package/cdn/chunks/{chunk.KX4K43F2.js → chunk.NC5TCHFE.js} +2 -2
- package/cdn/chunks/{chunk.JE2LZVOP.js → chunk.OC666EPD.js} +1 -1
- package/cdn/chunks/{chunk.Y6ERTCCJ.js → chunk.PDR3XIUD.js} +6 -0
- package/cdn/chunks/{chunk.CZ5CHJEV.js → chunk.QB7GRCXW.js} +1 -1
- package/cdn/chunks/{chunk.DWB4WJKI.js → chunk.QJ4KM4TA.js} +1 -1
- package/cdn/chunks/{chunk.FYCYWJW7.js → chunk.QVZIEWRW.js} +1 -1
- package/cdn/chunks/{chunk.CH7CM4WG.js → chunk.R4TNI2PU.js} +3 -3
- package/cdn/chunks/{chunk.W7KGG72U.js → chunk.SIQLNOLM.js} +1 -1
- package/cdn/chunks/{chunk.OOJ6KQXC.js → chunk.SUU6GE6N.js} +1 -1
- package/cdn/chunks/{chunk.AEDS2IVC.js → chunk.T27OOS5L.js} +1 -1
- package/cdn/chunks/{chunk.XQ7X7Y6Z.js → chunk.T2KAO3UD.js} +1 -1
- package/cdn/chunks/{chunk.V32IK76Z.js → chunk.T37LTQ4C.js} +14 -9
- package/cdn/chunks/{chunk.77BTAFB3.js → chunk.TAW4DCZW.js} +1 -1
- package/cdn/chunks/{chunk.NYOIWW7M.js → chunk.TIANXDJM.js} +7 -7
- package/cdn/chunks/{chunk.ZPQV5GSR.js → chunk.VON4E7FJ.js} +1 -1
- package/cdn/chunks/{chunk.4IPMV6FL.js → chunk.WN54FAZ2.js} +1 -1
- package/cdn/chunks/{chunk.A3W72BHN.js → chunk.YQK5E5T2.js} +1 -1
- package/cdn/chunks/{chunk.XSJ76IQS.js → chunk.ZDCD6475.js} +1 -1
- package/cdn/chunks/{chunk.WTOBFIYB.js → chunk.ZVC7SBSS.js} +31 -7
- package/cdn/components/accordion/accordion.component.js +3 -3
- package/cdn/components/accordion/accordion.js +4 -4
- package/cdn/components/alert/alert.component.js +2 -2
- package/cdn/components/alert/alert.js +3 -3
- package/cdn/components/browse-variables/browse-variables.component.d.ts +1 -0
- package/cdn/components/browse-variables/browse-variables.component.js +11 -11
- package/cdn/components/browse-variables/browse-variables.controller.js +2 -2
- package/cdn/components/browse-variables/browse-variables.js +12 -12
- package/cdn/components/button/button.component.js +2 -2
- package/cdn/components/button/button.js +3 -3
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +4 -4
- package/cdn/components/combobox/combobox.js +5 -5
- package/cdn/components/data-rods/data-rods.component.js +26 -26
- package/cdn/components/data-rods/data-rods.js +27 -27
- package/cdn/components/data-subsetter/data-subsetter.component.js +21 -21
- package/cdn/components/data-subsetter/data-subsetter.controller.js +2 -2
- package/cdn/components/data-subsetter/data-subsetter.js +22 -22
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +25 -25
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +26 -26
- 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-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 +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 +9 -9
- package/cdn/components/login/login.js +10 -10
- package/cdn/components/map/leaflet-utils.js +1 -1
- package/cdn/components/map/map.component.js +6 -5
- package/cdn/components/map/map.js +7 -6
- package/cdn/components/plot/plot.component.js +3 -3
- package/cdn/components/plot/plot.js +4 -4
- package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +1 -0
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +5 -5
- package/cdn/components/plot-toolbar/plot-toolbar.js +6 -6
- 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 +2 -0
- package/cdn/components/spatial-picker/spatial-picker.component.js +7 -7
- package/cdn/components/spatial-picker/spatial-picker.js +8 -8
- package/cdn/components/spatial-picker/spatial-picker.styles.js +1 -1
- package/cdn/components/time-average-map/time-average-map.component.js +9 -9
- package/cdn/components/time-average-map/time-average-map.controller.js +2 -2
- package/cdn/components/time-average-map/time-average-map.js +10 -10
- package/cdn/components/time-series/time-series.component.d.ts +1 -0
- package/cdn/components/time-series/time-series.component.js +13 -13
- package/cdn/components/time-series/time-series.controller.js +2 -2
- package/cdn/components/time-series/time-series.js +14 -14
- package/cdn/components/variable-combobox/variable-combobox.component.js +6 -6
- package/cdn/components/variable-combobox/variable-combobox.js +7 -7
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +7 -7
- package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +1 -1
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +8 -8
- package/cdn/custom-elements.json +1759 -1712
- package/cdn/react/index.d.ts +6 -6
- package/cdn/terra-ui-components.js +91 -91
- package/cdn/types/vue/index.d.ts +225 -219
- package/cdn/vscode.html-custom-data.json +158 -157
- package/cdn/web-types.json +318 -308
- package/dist/chunks/{chunk.ME2IKNPM.js → chunk.2KHKJBOB.js} +1 -1
- package/dist/chunks/{chunk.KVIEDTRG.js → chunk.2OOE2V74.js} +1 -1
- package/dist/chunks/{chunk.U5L2QSBL.js → chunk.2RUMLCNG.js} +1 -1
- package/dist/chunks/{chunk.S2BPUSXT.js → chunk.34ZROIP4.js} +1 -1
- package/dist/chunks/{chunk.WFLLPBSK.js → chunk.3JVESZWK.js} +1 -1
- package/dist/chunks/{chunk.7E2HKL6U.js → chunk.5PBPZZYM.js} +1 -1
- package/dist/chunks/{chunk.2NH3CZZZ.js → chunk.6HUNVCKY.js} +26 -1
- package/dist/chunks/{chunk.OKEYDVUM.js → chunk.6MTPABT6.js} +1 -1
- package/dist/chunks/{chunk.AQOGDZ4T.js → chunk.7RT5CEB6.js} +6 -0
- package/dist/chunks/{chunk.LX25FOB6.js → chunk.7SZ5FLBG.js} +5 -5
- package/dist/chunks/{chunk.I2YZYT2B.js → chunk.AKP5NSM6.js} +14 -9
- package/dist/chunks/{chunk.4FSARFIO.js → chunk.AP4TJGMK.js} +1 -1
- package/dist/chunks/{chunk.Q5FXU5CD.js → chunk.BT3OM7YW.js} +1 -1
- package/dist/chunks/{chunk.TCQUNRTZ.js → chunk.CTYCOFYG.js} +1 -1
- package/dist/chunks/{chunk.XUTN7WYX.js → chunk.DBWZYUMX.js} +1 -1
- package/dist/chunks/{chunk.OGC7AJP3.js → chunk.EOUI57NU.js} +1 -1
- package/dist/chunks/{chunk.PRFLPUK5.js → chunk.ETL6SVKH.js} +3 -3
- package/dist/chunks/{chunk.NFPUQWGV.js → chunk.FHX7T2OA.js} +13 -13
- package/dist/chunks/{chunk.Q4PPKP6U.js → chunk.GM6TGL7L.js} +1 -1
- package/dist/chunks/{chunk.3P5AXHYE.js → chunk.HRP2UCAE.js} +1 -1
- package/dist/chunks/{chunk.EO3NQW6Q.js → chunk.I52J3GOW.js} +2 -2
- package/dist/chunks/{chunk.WDQG7CSH.js → chunk.JGUDK23O.js} +5 -5
- package/dist/chunks/{chunk.ONCAHBEI.js → chunk.JLB3AJLB.js} +7 -7
- package/dist/chunks/{chunk.OC4QTK6B.js → chunk.JLXWDK6Q.js} +1 -1
- package/dist/chunks/{chunk.OUNZ45XC.js → chunk.KB7DEF3R.js} +1 -1
- package/dist/chunks/{chunk.AHRF7VBU.js → chunk.KRJLTCAP.js} +6 -3
- package/dist/chunks/{chunk.3DPKZNWN.js → chunk.MHGQR4W2.js} +1 -1
- package/dist/chunks/{chunk.FBDSOFND.js → chunk.MQJRL4UB.js} +1 -1
- package/dist/chunks/{chunk.AG3VYRFO.js → chunk.N5RBPPIG.js} +1 -1
- package/dist/chunks/{chunk.IZOH52KU.js → chunk.N7QDVMX3.js} +1 -1
- package/dist/chunks/{chunk.6RWPBX4B.js → chunk.NGMZML6J.js} +1 -1
- package/dist/chunks/{chunk.AHOG6HKX.js → chunk.OO7FUQ6P.js} +1 -1
- package/dist/chunks/{chunk.2LTBYPN4.js → chunk.PE7UEIVX.js} +31 -7
- package/dist/chunks/{chunk.RVTURMO5.js → chunk.PSJFGFBP.js} +3 -3
- package/dist/chunks/{chunk.LBKVB3EI.js → chunk.QCPKB2RQ.js} +1 -1
- package/dist/chunks/{chunk.POXSSDZR.js → chunk.QFYOTBLT.js} +15 -10
- package/dist/chunks/{chunk.NQJU5RSP.js → chunk.QXGOVVWV.js} +1 -1
- package/dist/chunks/{chunk.57AS3PVY.js → chunk.RG376NBJ.js} +1 -1
- package/dist/chunks/{chunk.VKHUWPJF.js → chunk.S4SOS6YI.js} +1 -1
- package/dist/chunks/{chunk.5ACVPMQS.js → chunk.SC2Q3UUF.js} +1 -1
- package/dist/chunks/{chunk.7SX5EJUZ.js → chunk.V5URSACK.js} +1 -1
- package/dist/chunks/{chunk.4EQ45IC6.js → chunk.VNUPHGI3.js} +9 -9
- package/dist/chunks/{chunk.QY2D5MZY.js → chunk.VUC6OYZI.js} +1 -1
- package/dist/chunks/{chunk.KQEF5XW2.js → chunk.WOD3IAR2.js} +1 -1
- package/dist/chunks/{chunk.RMYFG5HS.js → chunk.XNHODSUI.js} +1 -1
- package/dist/chunks/{chunk.IAA33R4X.js → chunk.XPEGNLOR.js} +2 -2
- package/dist/chunks/{chunk.XUI4GSXF.js → chunk.XYWAGUD5.js} +1 -1
- package/dist/chunks/{chunk.UI7LI6ME.js → chunk.Y2LZH62Y.js} +1 -1
- package/dist/chunks/{chunk.WKPYLGNW.js → chunk.Y54UJLRZ.js} +1 -1
- package/dist/chunks/{chunk.33FZQUN2.js → chunk.YLMWEEA2.js} +2 -2
- package/dist/chunks/{chunk.STHFWPXN.js → chunk.YO2CHERX.js} +1 -1
- package/dist/chunks/{chunk.RN6T4OBF.js → chunk.YW6MGSTP.js} +1 -1
- package/dist/chunks/{chunk.5IYMVP3K.js → chunk.Z3HX7EEA.js} +11 -11
- package/dist/components/accordion/accordion.component.js +3 -3
- package/dist/components/accordion/accordion.js +4 -4
- package/dist/components/alert/alert.component.js +2 -2
- package/dist/components/alert/alert.js +3 -3
- package/dist/components/browse-variables/browse-variables.component.d.ts +1 -0
- package/dist/components/browse-variables/browse-variables.component.js +10 -10
- package/dist/components/browse-variables/browse-variables.controller.js +1 -1
- package/dist/components/browse-variables/browse-variables.js +11 -11
- 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 +2 -2
- package/dist/components/combobox/combobox.js +3 -3
- package/dist/components/data-rods/data-rods.component.js +24 -24
- package/dist/components/data-rods/data-rods.js +25 -25
- package/dist/components/data-subsetter/data-subsetter.component.js +20 -20
- package/dist/components/data-subsetter/data-subsetter.js +21 -21
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +24 -24
- package/dist/components/data-subsetter-history/data-subsetter-history.js +25 -25
- 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-range-slider/date-range-slider.component.js +2 -2
- package/dist/components/date-range-slider/date-range-slider.js +3 -3
- package/dist/components/dialog/dialog.component.js +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 +9 -9
- package/dist/components/login/login.js +10 -10
- package/dist/components/map/leaflet-utils.js +1 -1
- package/dist/components/map/map.component.js +6 -5
- package/dist/components/map/map.js +7 -6
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +1 -0
- package/dist/components/plot-toolbar/plot-toolbar.component.js +4 -4
- package/dist/components/plot-toolbar/plot-toolbar.js +5 -5
- 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 +2 -0
- package/dist/components/spatial-picker/spatial-picker.component.js +7 -7
- package/dist/components/spatial-picker/spatial-picker.js +8 -8
- package/dist/components/spatial-picker/spatial-picker.styles.js +1 -1
- package/dist/components/time-average-map/time-average-map.component.js +6 -6
- package/dist/components/time-average-map/time-average-map.js +7 -7
- package/dist/components/time-series/time-series.component.d.ts +1 -0
- package/dist/components/time-series/time-series.component.js +10 -10
- package/dist/components/time-series/time-series.js +11 -11
- 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 +1759 -1712
- package/dist/react/index.d.ts +6 -6
- package/dist/terra-ui-components.js +87 -87
- package/dist/{terra_ui_components-0.0.64-py3-none-any.whl → terra_ui_components-0.0.66-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.64.tar.gz → terra_ui_components-0.0.66.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +225 -219
- package/dist/vscode.html-custom-data.json +158 -157
- package/dist/web-types.json +318 -308
- package/package.json +1 -1
- package/cdn/chunks/{chunk.U5XB7PAD.js → chunk.2UIKXGCO.js} +3 -3
- package/cdn/chunks/{chunk.665QSS6M.js → chunk.FK35YOPT.js} +4 -4
- package/cdn/chunks/{chunk.ICVN26UP.js → chunk.PI4LM4FQ.js} +3 -3
|
@@ -18,9 +18,14 @@ import {
|
|
|
18
18
|
init_dirname();
|
|
19
19
|
init_buffer();
|
|
20
20
|
init_process();
|
|
21
|
-
var _host, _catalog, _getCatalogRepository, getCatalogRepository_fn;
|
|
21
|
+
var _host, _catalog, _selectVariables, selectVariables_fn, _getCatalogRepository, getCatalogRepository_fn;
|
|
22
22
|
var BrowseVariablesController = class {
|
|
23
|
+
// TODO: fix this type, it should be VariableCatalogInterface
|
|
23
24
|
constructor(host) {
|
|
25
|
+
/**
|
|
26
|
+
* Selects variables from the search response that are in the selectedVariableEntryIds list
|
|
27
|
+
*/
|
|
28
|
+
__privateAdd(this, _selectVariables);
|
|
24
29
|
__privateAdd(this, _getCatalogRepository);
|
|
25
30
|
__privateAdd(this, _host, void 0);
|
|
26
31
|
__privateAdd(this, _catalog, void 0);
|
|
@@ -35,6 +40,7 @@ var BrowseVariablesController = class {
|
|
|
35
40
|
signal
|
|
36
41
|
}
|
|
37
42
|
);
|
|
43
|
+
__privateMethod(this, _selectVariables, selectVariables_fn).call(this, searchResponse);
|
|
38
44
|
return searchResponse;
|
|
39
45
|
},
|
|
40
46
|
args: () => [__privateGet(this, _host).searchQuery, __privateGet(this, _host).selectedFacets]
|
|
@@ -58,6 +64,25 @@ var BrowseVariablesController = class {
|
|
|
58
64
|
};
|
|
59
65
|
_host = new WeakMap();
|
|
60
66
|
_catalog = new WeakMap();
|
|
67
|
+
_selectVariables = new WeakSet();
|
|
68
|
+
selectVariables_fn = async function(searchResponse) {
|
|
69
|
+
if (!__privateGet(this, _host).selectedVariableEntryIds || __privateGet(this, _host).selectedVariables.length > 0) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
const variableEntryIds = __privateGet(this, _host).selectedVariableEntryIds.split(",");
|
|
73
|
+
const variables = searchResponse.variables.filter((variable) => {
|
|
74
|
+
return variableEntryIds.includes(variable.dataFieldId) || variableEntryIds.includes(
|
|
75
|
+
`${variable.dataProductShortName}_${variable.dataProductVersion}_${variable.dataFieldShortName}`
|
|
76
|
+
);
|
|
77
|
+
});
|
|
78
|
+
const missingVariableIds = variableEntryIds.filter(
|
|
79
|
+
(id) => !variables.some((variable) => variable.dataFieldId === id)
|
|
80
|
+
);
|
|
81
|
+
const missingVariables = await Promise.all(
|
|
82
|
+
missingVariableIds.map((id) => __privateGet(this, _catalog).getVariable(id))
|
|
83
|
+
);
|
|
84
|
+
__privateGet(this, _host).selectedVariables = [...variables, ...missingVariables];
|
|
85
|
+
};
|
|
61
86
|
_getCatalogRepository = new WeakSet();
|
|
62
87
|
getCatalogRepository_fn = function() {
|
|
63
88
|
if (__privateGet(this, _host).catalog === "giovanni") {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Leaflet
|
|
3
|
+
} from "./chunk.C7NEKS3B.js";
|
|
4
|
+
import {
|
|
5
|
+
leaflet_styles_default
|
|
6
|
+
} from "./chunk.Z2YYVPVO.js";
|
|
1
7
|
import {
|
|
2
8
|
MapController
|
|
3
9
|
} from "./chunk.26Y3U5MM.js";
|
|
@@ -7,12 +13,6 @@ import {
|
|
|
7
13
|
import {
|
|
8
14
|
leaflet_draw_styles_default
|
|
9
15
|
} from "./chunk.ARB3UVS4.js";
|
|
10
|
-
import {
|
|
11
|
-
Leaflet
|
|
12
|
-
} from "./chunk.4IW2ACWY.js";
|
|
13
|
-
import {
|
|
14
|
-
leaflet_styles_default
|
|
15
|
-
} from "./chunk.Z2YYVPVO.js";
|
|
16
16
|
import {
|
|
17
17
|
h
|
|
18
18
|
} from "./chunk.EDY6YM3Y.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
TerraElement,
|
|
27
27
|
component_styles_default
|
|
28
|
-
} from "./chunk.
|
|
28
|
+
} from "./chunk.AOJTBQKP.js";
|
|
29
29
|
import {
|
|
30
30
|
e,
|
|
31
31
|
n,
|
|
@@ -86,14 +86,14 @@ var TerraMap = class extends TerraElement {
|
|
|
86
86
|
hideBoundingBoxDrawTool: this.hideBoundingBoxSelection,
|
|
87
87
|
hidePointSelectionDrawTool: this.hidePointSelection
|
|
88
88
|
});
|
|
89
|
-
this.map.on(
|
|
90
|
-
"
|
|
91
|
-
(layer) => this.emit("terra-map-change", {
|
|
89
|
+
this.map.on("draw", (layer) => {
|
|
90
|
+
this.emit("terra-map-change", {
|
|
92
91
|
detail: __spreadValues({
|
|
93
|
-
cause: "draw"
|
|
92
|
+
cause: "draw",
|
|
93
|
+
type: "latLng" in layer ? "point" /* POINT */ : "bounds" in layer ? "bbox" /* BBOX */ : void 0
|
|
94
94
|
}, layer)
|
|
95
|
-
})
|
|
96
|
-
);
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
97
|
this.map.on(
|
|
98
98
|
"clear",
|
|
99
99
|
(_e) => this.emit("terra-map-change", {
|
|
@@ -538,7 +538,7 @@ var TerraElement = class extends s {
|
|
|
538
538
|
};
|
|
539
539
|
/* eslint-disable */
|
|
540
540
|
// @ts-expect-error This is auto-injected at build time.
|
|
541
|
-
TerraElement.version = "0.0.
|
|
541
|
+
TerraElement.version = "0.0.66";
|
|
542
542
|
TerraElement.dependencies = {};
|
|
543
543
|
__decorateClass([
|
|
544
544
|
n()
|
|
@@ -10435,7 +10435,7 @@ function parseBoundingBox(inputString) {
|
|
|
10435
10435
|
const coords = inputString.split(",");
|
|
10436
10436
|
if (coords.length !== 2 && coords.length !== 4) {
|
|
10437
10437
|
throw new Error(
|
|
10438
|
-
'Input
|
|
10438
|
+
'Input must contain exactly 2 or 4 numbers. e.g "9.51, 21.80" or "52.03, -9.38, 96.33, 32.90"'
|
|
10439
10439
|
);
|
|
10440
10440
|
}
|
|
10441
10441
|
if (coords.length == 2) {
|
|
@@ -10507,7 +10507,7 @@ var Leaflet = class {
|
|
|
10507
10507
|
this.map.setView(options.initialValue, 5);
|
|
10508
10508
|
return;
|
|
10509
10509
|
}
|
|
10510
|
-
if (((_a = options.initialValue) == null ? void 0 : _a.length) > 0) {
|
|
10510
|
+
if (options.initialValue && (((_a = options.initialValue) == null ? void 0 : _a.length) > 0 || "getNorthEast" in options.initialValue)) {
|
|
10511
10511
|
L2.rectangle(options.initialValue, {
|
|
10512
10512
|
stroke: true,
|
|
10513
10513
|
color: "#3388ff",
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk.SHDK2N2Y.js";
|
|
4
4
|
import {
|
|
5
5
|
TerraButton
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.5JKUUXXD.js";
|
|
7
7
|
import {
|
|
8
8
|
TerraElement,
|
|
9
9
|
component_styles_default
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.AOJTBQKP.js";
|
|
11
11
|
import {
|
|
12
12
|
e,
|
|
13
13
|
n
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
plot_styles_default
|
|
3
|
-
} from "./chunk.4VO545RN.js";
|
|
4
1
|
import {
|
|
5
2
|
require_plotly_min
|
|
6
3
|
} from "./chunk.O7ZKAFVG.js";
|
|
4
|
+
import {
|
|
5
|
+
plot_styles_default
|
|
6
|
+
} from "./chunk.4VO545RN.js";
|
|
7
7
|
import {
|
|
8
8
|
watch
|
|
9
9
|
} from "./chunk.ZEDYVCUT.js";
|
|
10
10
|
import {
|
|
11
11
|
TerraElement,
|
|
12
12
|
component_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.AOJTBQKP.js";
|
|
14
14
|
import {
|
|
15
15
|
e,
|
|
16
16
|
n
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
c
|
|
3
|
+
} from "./chunk.NFS2RDEX.js";
|
|
4
|
+
import {
|
|
5
|
+
h
|
|
6
|
+
} from "./chunk.EDY6YM3Y.js";
|
|
1
7
|
import {
|
|
2
8
|
combobox_styles_default
|
|
3
9
|
} from "./chunk.H2ZXIXPU.js";
|
|
@@ -5,12 +11,6 @@ import {
|
|
|
5
11
|
clearSelection,
|
|
6
12
|
walkToOption
|
|
7
13
|
} from "./chunk.CRDKTZBT.js";
|
|
8
|
-
import {
|
|
9
|
-
c
|
|
10
|
-
} from "./chunk.NFS2RDEX.js";
|
|
11
|
-
import {
|
|
12
|
-
h
|
|
13
|
-
} from "./chunk.EDY6YM3Y.js";
|
|
14
14
|
import {
|
|
15
15
|
n as n2
|
|
16
16
|
} from "./chunk.QFJLPXXJ.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
TerraElement,
|
|
28
28
|
component_styles_default
|
|
29
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.AOJTBQKP.js";
|
|
30
30
|
import {
|
|
31
31
|
n,
|
|
32
32
|
r
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loader_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.T2KAO3UD.js";
|
|
4
4
|
import {
|
|
5
5
|
login_styles_default
|
|
6
6
|
} from "./chunk.PJUSGZQ3.js";
|
|
7
7
|
import {
|
|
8
8
|
AuthController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.3MIPIE6V.js";
|
|
10
10
|
import {
|
|
11
11
|
icon_default
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.2VDC2CLR.js";
|
|
13
13
|
import {
|
|
14
14
|
button_default
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.7IQH7BQC.js";
|
|
16
16
|
import {
|
|
17
17
|
TerraElement,
|
|
18
18
|
component_styles_default
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.AOJTBQKP.js";
|
|
20
20
|
import {
|
|
21
21
|
n
|
|
22
22
|
} from "./chunk.KACZXI5J.js";
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
DB_NAME,
|
|
3
3
|
getDataByKey
|
|
4
4
|
} from "./chunk.T24K5VZW.js";
|
|
5
|
-
import {
|
|
6
|
-
require_plotly_min
|
|
7
|
-
} from "./chunk.O7ZKAFVG.js";
|
|
8
5
|
import {
|
|
9
6
|
plot_toolbar_styles_default
|
|
10
7
|
} from "./chunk.J4IIXP4W.js";
|
|
8
|
+
import {
|
|
9
|
+
require_plotly_min
|
|
10
|
+
} from "./chunk.O7ZKAFVG.js";
|
|
11
11
|
import {
|
|
12
12
|
h
|
|
13
13
|
} from "./chunk.EDY6YM3Y.js";
|
|
14
14
|
import {
|
|
15
15
|
TerraButton
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.5JKUUXXD.js";
|
|
17
17
|
import {
|
|
18
18
|
TerraIcon
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.QJ4KM4TA.js";
|
|
20
20
|
import {
|
|
21
21
|
watch
|
|
22
22
|
} from "./chunk.ZEDYVCUT.js";
|
|
23
23
|
import {
|
|
24
24
|
TerraElement,
|
|
25
25
|
component_styles_default
|
|
26
|
-
} from "./chunk.
|
|
26
|
+
} from "./chunk.AOJTBQKP.js";
|
|
27
27
|
import {
|
|
28
28
|
e,
|
|
29
29
|
n,
|
|
@@ -70,6 +70,9 @@ var TerraPlotToolbar = class extends TerraElement {
|
|
|
70
70
|
}
|
|
71
71
|
this.menu.focus();
|
|
72
72
|
}
|
|
73
|
+
closeMenu() {
|
|
74
|
+
this.activeMenuItem = null;
|
|
75
|
+
}
|
|
73
76
|
render() {
|
|
74
77
|
return h(
|
|
75
78
|
!this.catalogVariable ? x`<div class="spacer"></div>` : x` <header>
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TerraVariableCombobox
|
|
3
|
-
} from "./chunk.CH7CM4WG.js";
|
|
4
1
|
import {
|
|
5
2
|
TerraTimeSeries
|
|
6
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.JDQ6TQCQ.js";
|
|
7
4
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk.
|
|
5
|
+
TerraVariableCombobox
|
|
6
|
+
} from "./chunk.R4TNI2PU.js";
|
|
10
7
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./chunk.
|
|
8
|
+
TerraDateRangeSlider
|
|
9
|
+
} from "./chunk.SUU6GE6N.js";
|
|
13
10
|
import {
|
|
14
11
|
data_rods_styles_default
|
|
15
12
|
} from "./chunk.JFG62QF5.js";
|
|
13
|
+
import {
|
|
14
|
+
TerraSpatialPicker
|
|
15
|
+
} from "./chunk.ZVC7SBSS.js";
|
|
16
16
|
import {
|
|
17
17
|
GiovanniVariableCatalog
|
|
18
18
|
} from "./chunk.E4Y3ZGGY.js";
|
|
19
|
-
import {
|
|
20
|
-
getUTCDate
|
|
21
|
-
} from "./chunk.VYOUAAH7.js";
|
|
22
19
|
import {
|
|
23
20
|
h
|
|
24
21
|
} from "./chunk.3AZLGGEX.js";
|
|
22
|
+
import {
|
|
23
|
+
getUTCDate
|
|
24
|
+
} from "./chunk.VYOUAAH7.js";
|
|
25
25
|
import {
|
|
26
26
|
TerraElement,
|
|
27
27
|
component_styles_default
|
|
28
|
-
} from "./chunk.
|
|
28
|
+
} from "./chunk.AOJTBQKP.js";
|
|
29
29
|
import {
|
|
30
30
|
n,
|
|
31
31
|
r
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TimeSeriesController
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.FK35YOPT.js";
|
|
4
4
|
import {
|
|
5
5
|
time_series_styles_default
|
|
6
6
|
} from "./chunk.TPKJOGOH.js";
|
|
7
|
-
import {
|
|
8
|
-
TerraPlot
|
|
9
|
-
} from "./chunk.WZ6P7TO4.js";
|
|
10
7
|
import {
|
|
11
8
|
TerraPlotToolbar
|
|
12
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.FUKHJNAX.js";
|
|
10
|
+
import {
|
|
11
|
+
TerraPlot
|
|
12
|
+
} from "./chunk.DYOCIII6.js";
|
|
13
13
|
import {
|
|
14
14
|
AuthController
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.3MIPIE6V.js";
|
|
16
16
|
import {
|
|
17
17
|
h
|
|
18
18
|
} from "./chunk.EDY6YM3Y.js";
|
|
19
19
|
import {
|
|
20
20
|
TerraLoader
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.TAW4DCZW.js";
|
|
22
22
|
import {
|
|
23
23
|
GiovanniVariableCatalog
|
|
24
24
|
} from "./chunk.E4Y3ZGGY.js";
|
|
25
|
-
import {
|
|
26
|
-
formatDate
|
|
27
|
-
} from "./chunk.VYOUAAH7.js";
|
|
28
25
|
import {
|
|
29
26
|
h as h2,
|
|
30
27
|
s
|
|
31
28
|
} from "./chunk.3AZLGGEX.js";
|
|
29
|
+
import {
|
|
30
|
+
formatDate
|
|
31
|
+
} from "./chunk.VYOUAAH7.js";
|
|
32
32
|
import {
|
|
33
33
|
TerraButton
|
|
34
|
-
} from "./chunk.
|
|
34
|
+
} from "./chunk.5JKUUXXD.js";
|
|
35
35
|
import {
|
|
36
36
|
TerraIcon
|
|
37
|
-
} from "./chunk.
|
|
37
|
+
} from "./chunk.QJ4KM4TA.js";
|
|
38
38
|
import {
|
|
39
39
|
TerraAlert
|
|
40
|
-
} from "./chunk.
|
|
40
|
+
} from "./chunk.SIQLNOLM.js";
|
|
41
41
|
import {
|
|
42
42
|
TerraElement,
|
|
43
43
|
component_styles_default
|
|
44
|
-
} from "./chunk.
|
|
44
|
+
} from "./chunk.AOJTBQKP.js";
|
|
45
45
|
import {
|
|
46
46
|
e,
|
|
47
47
|
n,
|
|
@@ -266,8 +266,10 @@ abortDataLoad_fn = function() {
|
|
|
266
266
|
};
|
|
267
267
|
_handleComponentLeave = new WeakSet();
|
|
268
268
|
handleComponentLeave_fn = function(event) {
|
|
269
|
+
var _a;
|
|
269
270
|
const relatedTarget = event.relatedTarget;
|
|
270
271
|
if (!this.contains(relatedTarget)) {
|
|
272
|
+
(_a = this.plotToolbar) == null ? void 0 : _a.closeMenu();
|
|
271
273
|
}
|
|
272
274
|
};
|
|
273
275
|
_getYAxisLabel = new WeakSet();
|
|
@@ -345,6 +347,9 @@ __decorateClass([
|
|
|
345
347
|
__decorateClass([
|
|
346
348
|
e("terra-plot")
|
|
347
349
|
], TerraTimeSeries.prototype, "plot", 2);
|
|
350
|
+
__decorateClass([
|
|
351
|
+
e("terra-plot-toolbar")
|
|
352
|
+
], TerraTimeSeries.prototype, "plotToolbar", 2);
|
|
348
353
|
__decorateClass([
|
|
349
354
|
r()
|
|
350
355
|
], TerraTimeSeries.prototype, "catalogVariable", 2);
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk.XZXJLHTQ.js";
|
|
12
12
|
import {
|
|
13
13
|
icon_default
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.2VDC2CLR.js";
|
|
15
15
|
import {
|
|
16
16
|
n as n2
|
|
17
17
|
} from "./chunk.QFJLPXXJ.js";
|
|
@@ -23,14 +23,14 @@ import {
|
|
|
23
23
|
} from "./chunk.WOK6C4SG.js";
|
|
24
24
|
import {
|
|
25
25
|
button_default
|
|
26
|
-
} from "./chunk.
|
|
26
|
+
} from "./chunk.7IQH7BQC.js";
|
|
27
27
|
import {
|
|
28
28
|
watch
|
|
29
29
|
} from "./chunk.ZEDYVCUT.js";
|
|
30
30
|
import {
|
|
31
31
|
TerraElement,
|
|
32
32
|
component_styles_default
|
|
33
|
-
} from "./chunk.
|
|
33
|
+
} from "./chunk.AOJTBQKP.js";
|
|
34
34
|
import {
|
|
35
35
|
n,
|
|
36
36
|
r
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./chunk.CUBZ2AR7.js";
|
|
10
10
|
import {
|
|
11
11
|
TimeAvgMapController
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.2UIKXGCO.js";
|
|
13
13
|
import {
|
|
14
14
|
time_average_map_styles_default
|
|
15
15
|
} from "./chunk.LS7CBIGK.js";
|
|
16
16
|
import {
|
|
17
17
|
TerraPlotToolbar
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.FUKHJNAX.js";
|
|
19
19
|
import {
|
|
20
20
|
AuthController
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.3MIPIE6V.js";
|
|
22
22
|
import {
|
|
23
23
|
h
|
|
24
24
|
} from "./chunk.EDY6YM3Y.js";
|
|
@@ -30,17 +30,17 @@ import {
|
|
|
30
30
|
} from "./chunk.3AZLGGEX.js";
|
|
31
31
|
import {
|
|
32
32
|
TerraButton
|
|
33
|
-
} from "./chunk.
|
|
33
|
+
} from "./chunk.5JKUUXXD.js";
|
|
34
34
|
import {
|
|
35
35
|
TerraIcon
|
|
36
|
-
} from "./chunk.
|
|
36
|
+
} from "./chunk.QJ4KM4TA.js";
|
|
37
37
|
import {
|
|
38
38
|
watch
|
|
39
39
|
} from "./chunk.ZEDYVCUT.js";
|
|
40
40
|
import {
|
|
41
41
|
TerraElement,
|
|
42
42
|
component_styles_default
|
|
43
|
-
} from "./chunk.
|
|
43
|
+
} from "./chunk.AOJTBQKP.js";
|
|
44
44
|
import {
|
|
45
45
|
e,
|
|
46
46
|
n,
|