@opengis/gis 0.2.145 → 0.2.147

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.
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as F, mergeModels as O, defineAsyncComponent as I, useModel as R, ref as y, watch as K, openBlock as o, createElementBlock as s, createElementVNode as e, createVNode as $, unref as x, withCtx as S, createStaticVNode as V, useSlots as P, computed as H, Fragment as b, createTextVNode as U, createCommentVNode as N, renderList as A, normalizeStyle as Q, toDisplayString as M, normalizeClass as z, withModifiers as X, createBlock as Y, resolveDynamicComponent as ee, withDirectives as te, renderSlot as ne } from "vue";
2
2
  import { notify as E } from "@opengis/core";
3
3
  import { Edit as le, Trash as oe } from "lucide-vue-next";
4
- import { _ as u } from "./index-DJKZSGVW.js";
4
+ import { _ as u } from "./index-wy3j6by2.js";
5
5
  const se = { class: "flex items-center justify-center col-span-3 gap-2" }, re = { class: "flex justify-end p-[20px] gap-[10px] border-t w-full" }, ie = /* @__PURE__ */ F({
6
6
  __name: "vs-datatable-controls",
7
7
  props: /* @__PURE__ */ O({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengis/gis",
3
- "version": "0.2.145",
3
+ "version": "0.2.147",
4
4
  "type": "module",
5
5
  "author": "Softpro",
6
6
  "main": "./dist/index.js",
@@ -39,12 +39,12 @@ export default async function layerList({
39
39
  select * from
40
40
  (
41
41
  select service_id as id, name, category, style, bbox::box2d as extent, st_asgeojson(bbox)::json as geom, coalesce('/api/vtile/'||service_id||'/ua/{z}/{x}/{y}.vmt',null) as url, coalesce(service_type, 'vtile') as service, group_id,
42
- popup, card, filters, source_path
42
+ popup, card, filters, source_path, legend
43
43
  from gis.services s where is_active and
44
44
  ${whereServices}
45
45
  union all
46
46
  select ogc_service_id as id, name, category, null as style, geom::box2d as extent, st_asgeojson(geom)::json as geom, url, 'ogc' as service, group_id,
47
- null as popup, null as card, null as filters, table_name as source_path
47
+ null as popup, null as card, null as filters, table_name as source_path, null as legend
48
48
  from gis.ogc_service s where enabled and
49
49
  ${whereOgcServices}
50
50
  union all
@@ -59,13 +59,13 @@ export default async function layerList({
59
59
  ),
60
60
  '='
61
61
  )||'/{z}/{x}/{y}.png',null) as url, 'raster' as service, group_id,
62
- null as popup, null as card, null as filters, source_path
62
+ null as popup, null as card, null as filters, source_path, null as legend
63
63
  from gis.rasters s where is_active and
64
64
  ${whereRasters}
65
65
  union all
66
66
  select cartocss_id as id, name, null as category, style, geom::box2d as bbox, st_asgeojson(geom)::json as geom,
67
67
  coalesce('/api/gis-rtile/'||cartocss_id||'/{z}/{x}/{y}.png',null) as url, 'cartocss' as service, group_id,
68
- null as popup, null as card, null as filters, null as source_path
68
+ null as popup, null as card, null as filters, null as source_path, null as legend
69
69
  from gis.cartocss s where enabled and
70
70
  ${whereCartocss}
71
71
  )q order by q.name