@opengis/gis 0.2.138 → 0.2.140

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,9 +1,9 @@
1
1
  import { defineComponent as H, resolveDirective as Oe, openBlock as u, createElementBlock as m, createElementVNode as n, Fragment as O, renderList as G, toDisplayString as p, withDirectives as be, createTextVNode as Ge, normalizeClass as re, ref as $, watch as j, computed as h, vModelText as Qe, onMounted as We, onBeforeUnmount as Xe, unref as Ke, createCommentVNode as q, createVNode as N, withCtx as Ye, createBlock as F, resolveDynamicComponent as Ze } from "vue";
2
2
  import { useRouter as He, useRoute as Je } from "vue-router";
3
3
  import { TooltipDirective as et, notify as I } from "@opengis/core";
4
- import { _ as tt, u as st, f as nt, M as lt, i as rt, j as ye, F as ot } from "./index-EC3Olk5_.js";
5
- import { _ as it, a as at, b as ut, c as ct } from "./HeaderActions.vue_vue_type_script_setup_true_lang-BKB0pYYI.js";
6
- import { _ as xe } from "./ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-wx74T-CS.js";
4
+ import { _ as tt, u as st, f as nt, M as lt, i as rt, j as ye, F as ot } from "./index-Cc6sBxOx.js";
5
+ import { _ as it, a as at, b as ut, c as ct } from "./HeaderActions.vue_vue_type_script_setup_true_lang-CJcEbD_-.js";
6
+ import { _ as xe } from "./ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-DBdegFCb.js";
7
7
  const dt = { class: "flex-1 overflow-y-auto p-4 sm:p-6" }, ft = { class: "space-y-3" }, mt = { class: "bg-white p-3 rounded-xl border border-gray-200 shadow-sm" }, pt = { class: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-2" }, gt = { class: "text-xs text-gray-500 mb-1" }, yt = {
8
8
  key: 0,
9
9
  class: "text-base text-md font-semibold text-gray-900"
@@ -2,9 +2,9 @@ import { defineComponent as B, mergeModels as j, useModel as S, computed as h, d
2
2
  import { useRoute as Z, useRouter as ee } from "vue-router";
3
3
  import { notify as F } from "@opengis/core";
4
4
  import { _ as te } from "./TableFormHeader.vue_vue_type_script_setup_true_lang-Mci_tseM.js";
5
- import { V as N } from "./vs-datatable-DU071Vhx.js";
6
- import { _ as z, n as R, m as E, r as H } from "./import-utils-CnnPnei7.js";
7
- import { a as ae, b as le, c as se, d as oe, e as ie } from "./index-EC3Olk5_.js";
5
+ import { V as N } from "./vs-datatable-BA5JkZ_J.js";
6
+ import { _ as z, n as R, m as E, r as H } from "./import-utils-DUL4oJas.js";
7
+ import { a as ae, b as le, c as se, d as oe, e as ie } from "./index-Cc6sBxOx.js";
8
8
  import { LucideChevronRight as re } from "lucide-vue-next";
9
9
  import { _ as ne } from "./MapSettingsTabs.vue_vue_type_script_setup_true_lang-CKCK3NqY.js";
10
10
  const ue = { class: "vs-form" }, de = { class: "vs-form__body auto-rows-max container" }, ce = { class: "flex flex-wrap" }, me = { class: "h-fit w-full mb-6 bg-white border border-gray-200 rounded-lg p-6" }, ve = { class: "h-fit w-full flex flex-wrap" }, pe = { class: "w-full" }, fe = /* @__PURE__ */ B({
@@ -442,8 +442,9 @@ const ue = { class: "vs-form" }, de = { class: "vs-form__body auto-rows-max cont
442
442
  validators: ["required"]
443
443
  },
444
444
  data: {
445
- type: "text",
445
+ type: "select",
446
446
  label: "Класифікатор",
447
+ data: "admin.cls.name",
447
448
  conditions: ["format", "in", ["select", "badge", "tags"]]
448
449
  }
449
450
  /* meta: {
@@ -1,12 +1,12 @@
1
1
  import { openBlock as C, createElementBlock as D, createElementVNode as v, defineComponent as ee, ref as S, watch as I, createTextVNode as qi, createVNode as j, createBlock as M, createCommentVNode as q, defineAsyncComponent as Ki, unref as ve, withCtx as We, withDirectives as qe, vModelText as Ke, normalizeClass as he, Fragment as Hn, renderList as Vn, toDisplayString as ue, getCurrentInstance as qn, onBeforeUnmount as Kn, toRef as zi, computed as Fe, onMounted as Gi, resolveDynamicComponent as Qi } from "vue";
2
2
  import { useRoute as Wi, useRouter as Ji } from "vue-router";
3
3
  import { notify as Q } from "@opengis/core";
4
- import { _ as Re, u as Ie, f as Zi, M as Xi, g as el, h as nl, i as il, j as kn, k as ll, l as rl, m as tl, s as Cn, n as ol } from "./index-EC3Olk5_.js";
5
- import { _ as ul, a as al, b as sl, c as cl } from "./HeaderActions.vue_vue_type_script_setup_true_lang-BKB0pYYI.js";
6
- import { S as fl, C as dl } from "./CardIcon-Cmz6uC1l.js";
4
+ import { _ as Re, u as Ie, f as Zi, M as Xi, g as el, h as nl, i as il, j as kn, k as ll, l as rl, m as tl, s as Cn, n as ol } from "./index-Cc6sBxOx.js";
5
+ import { _ as ul, a as al, b as sl, c as cl } from "./HeaderActions.vue_vue_type_script_setup_true_lang-CJcEbD_-.js";
6
+ import { S as fl, C as dl } from "./CardIcon-DCczXarc.js";
7
7
  import { _ as zn } from "./MonacoEditor.vue_vue_type_script_setup_true_lang-D3ZPeXMw.js";
8
- import { V as $e } from "./vs-datatable-DU071Vhx.js";
9
- import { _ as ln, m as rn, r as xe } from "./import-utils-CnnPnei7.js";
8
+ import { V as $e } from "./vs-datatable-BA5JkZ_J.js";
9
+ import { _ as ln, m as rn, r as xe } from "./import-utils-DUL4oJas.js";
10
10
  /*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */
11
11
  function Gn(e) {
12
12
  return typeof e > "u" || e === null;
@@ -1553,7 +1553,12 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1553
1553
  { text: "Бейдж", id: "badge" }
1554
1554
  ]
1555
1555
  },
1556
- data: { type: "text", label: "Data" }
1556
+ data: {
1557
+ type: "select",
1558
+ label: "Класифікатор",
1559
+ data: "admin.cls.name"
1560
+ // conditions: ["meta", "in", ["badge", "select", "tags"]],
1561
+ }
1557
1562
  };
1558
1563
  function m() {
1559
1564
  u.value = l.value.map((p) => p.name || p.id), t.value = !0;
@@ -1869,7 +1874,12 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
1869
1874
  ]
1870
1875
  },
1871
1876
  is_admin: { type: "Switcher", label: "Тільки для адміністративної частини" },
1872
- data: { type: "text", label: "Data" }
1877
+ data: {
1878
+ type: "select",
1879
+ label: "Класифікатор",
1880
+ data: "admin.cls.name"
1881
+ // conditions: ['format', 'in', ['select', 'badge', 'tags']],
1882
+ }
1873
1883
  /* meta: {
1874
1884
  type: "combobox",
1875
1885
  label: "Мета",
@@ -2014,8 +2024,9 @@ ${V}` : V;
2014
2024
  type: "Switcher"
2015
2025
  },
2016
2026
  data: {
2017
- type: "text",
2027
+ type: "select",
2018
2028
  label: "Класифікатор",
2029
+ data: "admin.cls.name",
2019
2030
  conditions: ["type", "in", ["autocomplete", "select", "check"]],
2020
2031
  validators: ["required"]
2021
2032
  }
@@ -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-EC3Olk5_.js";
4
+ import { _ as u } from "./index-Cc6sBxOx.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({
@@ -1,3 +1,10 @@
1
- select distinct name as id, name from admin.cls
2
- where parent is null
1
+ select *
2
+ from
3
+ (
4
+ select distinct name as id, name from admin.cls
5
+ where parent is null
6
+ union all
7
+ select distinct name as id, name || ' (користувацький)' from admin.user_cls
8
+ where parent is null
9
+ )q
3
10
  order by name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengis/gis",
3
- "version": "0.2.138",
3
+ "version": "0.2.140",
4
4
  "type": "module",
5
5
  "author": "Softpro",
6
6
  "main": "./dist/index.js",