@cpra/mp-ui 0.3.1 → 0.4.0
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/cpra-mp-ui.js +30 -20
- package/dist/cpra-mp-ui.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/cpra-mp-ui.js
CHANGED
|
@@ -651,17 +651,23 @@ class lp {
|
|
|
651
651
|
n
|
|
652
652
|
);
|
|
653
653
|
}
|
|
654
|
-
getMapStyleUrl({
|
|
654
|
+
getMapStyleUrl({
|
|
655
|
+
analysis: t,
|
|
656
|
+
mapOptions: n,
|
|
657
|
+
extraParams: r = []
|
|
658
|
+
}) {
|
|
655
659
|
return this.structure.visualizationsMap.map.getSpecUrl(
|
|
656
660
|
this,
|
|
657
661
|
{
|
|
658
662
|
analysis: t,
|
|
659
663
|
includeTimeDimension: !0
|
|
660
664
|
},
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
+
[
|
|
666
|
+
...Object.keys(n).map(
|
|
667
|
+
(o) => [Ec(o), n[o]]
|
|
668
|
+
),
|
|
669
|
+
...r
|
|
670
|
+
]
|
|
665
671
|
);
|
|
666
672
|
}
|
|
667
673
|
getModelGroup() {
|
|
@@ -14657,26 +14663,30 @@ function G2({
|
|
|
14657
14663
|
}) {
|
|
14658
14664
|
return dt(Um), dt(Qm), Pc(IS), Nc(), /* @__PURE__ */ x(If, { children: e });
|
|
14659
14665
|
}
|
|
14660
|
-
function W2({
|
|
14661
|
-
|
|
14666
|
+
function W2({
|
|
14667
|
+
className: e = "",
|
|
14668
|
+
styleParams: t = []
|
|
14669
|
+
}) {
|
|
14670
|
+
const n = Qe(Da), r = Qe(Et), o = Qe(Rt).getMapCatalogQuery(), [a, s] = dt(
|
|
14662
14671
|
Kr
|
|
14663
|
-
), [
|
|
14664
|
-
analysis:
|
|
14665
|
-
mapOptions:
|
|
14666
|
-
|
|
14672
|
+
), [i, c] = dt(Fc), l = Aa(_c), d = Qe(Gc), u = o.getMapStyleUrl({
|
|
14673
|
+
analysis: r,
|
|
14674
|
+
mapOptions: d,
|
|
14675
|
+
extraParams: t
|
|
14676
|
+
}), m = o.dataset.grid.label.toLowerCase(), [h, b, f] = i;
|
|
14667
14677
|
return /* @__PURE__ */ x(
|
|
14668
14678
|
K0,
|
|
14669
14679
|
{
|
|
14670
|
-
center: [
|
|
14680
|
+
center: [f, b],
|
|
14671
14681
|
className: e,
|
|
14672
|
-
gridLabel:
|
|
14673
|
-
maxSelectedGeographies:
|
|
14674
|
-
selectedGeographies:
|
|
14675
|
-
setMapLoading:
|
|
14676
|
-
setMapPosition:
|
|
14677
|
-
setSelectedGeographies:
|
|
14678
|
-
styleUrl:
|
|
14679
|
-
zoom:
|
|
14682
|
+
gridLabel: m,
|
|
14683
|
+
maxSelectedGeographies: n,
|
|
14684
|
+
selectedGeographies: a,
|
|
14685
|
+
setMapLoading: l,
|
|
14686
|
+
setMapPosition: c,
|
|
14687
|
+
setSelectedGeographies: s,
|
|
14688
|
+
styleUrl: u,
|
|
14689
|
+
zoom: h
|
|
14680
14690
|
}
|
|
14681
14691
|
);
|
|
14682
14692
|
}
|