@opengis/gis 0.2.129 → 0.2.131

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.
Files changed (25) hide show
  1. package/dist/{CardIcon-DgpYeKbG.js → CardIcon-Bty3pjDA.js} +1 -1
  2. package/dist/{EntityTablePage-DNdVavT4.js → EntityTablePage-Bx4SIoW8.js} +1 -1
  3. package/dist/{ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-DQnIBCpE.js → ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-DRnlsqEC.js} +24 -22
  4. package/dist/{HeaderActions.vue_vue_type_script_setup_true_lang-Cg2y4sIa.js → HeaderActions.vue_vue_type_script_setup_true_lang-CpDC-v8-.js} +345 -321
  5. package/dist/{MapSettings-CHF3VpUu.js → MapSettings-Bw4WyHXT.js} +12 -12
  6. package/dist/{RastersTablePage-Ci3P3r4c.js → RastersTablePage-Cjb2zg5J.js} +1 -1
  7. package/dist/cartocss-sXf_ZeCv.js +1053 -0
  8. package/dist/{import-utils-ElncWVJV.js → import-utils-DdinjlC4.js} +1 -1
  9. package/dist/{index-UGx54M0Q.js → index-DtOSF_ba.js} +377 -386
  10. package/dist/index.css +1 -1
  11. package/dist/index.js +4 -4
  12. package/dist/index.umd.cjs +41 -41
  13. package/dist/raster-D7fESzin.js +792 -0
  14. package/dist/{register-BfNUPbey.js → register-C_mb5TbK.js} +3 -3
  15. package/dist/{service-DsykdHry.js → service-BUb9DRGZ.js} +911 -879
  16. package/dist/{vs-datatable-D6g7tjZo.js → vs-datatable-D-FY2azp.js} +1 -1
  17. package/package.json +2 -2
  18. package/server/routes/gis/cartocss/get.cartocss.js +11 -2
  19. package/server/routes/gis/registers/add.registry.js +3 -4
  20. package/server/routes/gis/registers/funcs/columns.js +2 -4
  21. package/server/routes/mapnik/controllers/pretile.js +7 -9
  22. package/server/routes/mapnik/controllers/rtile.js +13 -1
  23. package/server/routes/mapnik/functions/cartoBounds.js +6 -2
  24. package/dist/cartocss-BsaIlSRb.js +0 -894
  25. package/dist/raster-BDWEafwx.js +0 -663
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as n, createElementVNode as l } from "vue";
2
- import { _ as o } from "./index-UGx54M0Q.js";
2
+ import { _ as o } from "./index-DtOSF_ba.js";
3
3
  const s = {}, a = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  width: "24",
@@ -3,7 +3,7 @@ import { RefreshCw as ie, Plus as ue } from "lucide-vue-next";
3
3
  import { useRoute as ce, useRouter as de } from "vue-router";
4
4
  import { VsPagination as fe, notify as Q } from "@opengis/core";
5
5
  import { FilterField as me, Filter as he } from "@opengis/filter";
6
- import { F as ge, _ as ve } from "./index-UGx54M0Q.js";
6
+ import { F as ge, _ as ve } from "./index-DtOSF_ba.js";
7
7
  import { _ as pe } from "./TableFormHeader.vue_vue_type_script_setup_true_lang-Mci_tseM.js";
8
8
  const xe = { class: "flex-1 flex flex-col bg-gray-50 h-screen overflow-hidden p-0 m-0" }, be = {
9
9
  key: 0,
@@ -1,19 +1,21 @@
1
1
  import { defineComponent as y, computed as f, watch as d, createCommentVNode as x } from "vue";
2
- import { f as b, u as _ } from "./index-UGx54M0Q.js";
3
- const I = /* @__PURE__ */ y({
2
+ import { f as C, u as b } from "./index-DtOSF_ba.js";
3
+ const h = /* @__PURE__ */ y({
4
4
  __name: "ExtentOutlineLayer",
5
5
  props: {
6
6
  extent: {},
7
7
  layerId: {},
8
- beforeId: {}
8
+ beforeId: {},
9
+ lineColor: {},
10
+ lineWidth: {}
9
11
  },
10
12
  setup(c) {
11
- const a = c, o = a.layerId || "extent-outline-layer", m = `${o}-source`, l = f(() => {
12
- const t = a.extent;
13
+ const o = c, n = o.layerId || "extent-outline-layer", m = `${n}-source`, s = f(() => {
14
+ const { extent: t } = o;
13
15
  if (!t || t.length !== 4) return null;
14
- const [e, r, s, u] = t;
15
- return [e, r, s, u].some(
16
- (i) => typeof i != "number" || Number.isNaN(i)
16
+ const [e, r, l, i] = t;
17
+ return [e, r, l, i].some(
18
+ (u) => typeof u != "number" || Number.isNaN(u)
17
19
  ) ? null : {
18
20
  type: "FeatureCollection",
19
21
  features: [
@@ -24,47 +26,47 @@ const I = /* @__PURE__ */ y({
24
26
  type: "Polygon",
25
27
  coordinates: [[
26
28
  [e, r],
27
- [s, r],
28
- [s, u],
29
- [e, u],
29
+ [l, r],
30
+ [l, i],
31
+ [e, i],
30
32
  [e, r]
31
33
  ]]
32
34
  }
33
35
  }
34
36
  ]
35
37
  };
36
- }), p = b(), n = _(o, {
38
+ }), p = C(), a = b(n, {
37
39
  sourceId: m,
38
40
  source: {
39
41
  type: "geojson",
40
- data: l.value || { type: "FeatureCollection", features: [] }
42
+ data: s.value || { type: "FeatureCollection", features: [] }
41
43
  },
42
44
  layer: {
43
- id: o,
45
+ id: n,
44
46
  type: "line",
45
47
  paint: {
46
- "line-color": "#ef4444",
47
- "line-width": 2
48
+ "line-color": o.lineColor ?? "#ef4444",
49
+ "line-width": o.lineWidth ?? 2
48
50
  }
49
51
  },
50
- beforeId: a.beforeId ?? null
52
+ beforeId: o.beforeId ?? null
51
53
  });
52
54
  return d(
53
- () => l.value,
55
+ () => s.value,
54
56
  (t) => {
55
57
  var r;
56
58
  if (!t) {
57
- n.setVisible(!1), n.setData({ type: "FeatureCollection", features: [] });
59
+ a.setVisible(!1), a.setData({ type: "FeatureCollection", features: [] });
58
60
  return;
59
61
  }
60
- n.setVisible(!0), n.setData(t);
62
+ a.setVisible(!0), a.setData(t);
61
63
  const e = (r = p.map) == null ? void 0 : r.value;
62
- e != null && e.moveLayer && e.getLayer(o) && e.moveLayer(o);
64
+ e != null && e.moveLayer && e.getLayer(n) && e.moveLayer(n);
63
65
  },
64
66
  { immediate: !0 }
65
67
  ), (t, e) => x("", !0);
66
68
  }
67
69
  });
68
70
  export {
69
- I as _
71
+ h as _
70
72
  };