@opengis/admin 0.3.118 → 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.
Files changed (40) hide show
  1. package/dist/{add-page-DavTwzVm.js → add-page-fdr6t9-i.js} +4 -4
  2. package/dist/{admin-interface-CkP3cmKh.js → admin-interface-bYzTXuVs.js} +12 -12
  3. package/dist/{admin-view-BZGbVVk5.js → admin-view-3hBO0cXK.js} +6 -6
  4. package/dist/admin.js +1 -1
  5. package/dist/admin.umd.cjs +53 -53
  6. package/dist/{card-view-DucsmPGl.js → card-view-Dfgoq-T0.js} +3 -3
  7. package/dist/{edit-page-BWDgRNIM.js → edit-page-pykfh5fh.js} +8 -8
  8. package/dist/{import-file-CyxfCvxQ.js → import-file-DPcs2POV.js} +16373 -16503
  9. package/dist/{profile-page-CQvE2X4u.js → profile-page-UeVwkn5K.js} +4 -4
  10. package/package.json +8 -8
  11. package/plugin.js +3 -3
  12. package/server/plugins/hook.js +1 -2
  13. package/server/routes/calendar/schema.js +19 -16
  14. package/server/routes/notifications/schema.js +8 -2
  15. package/server/routes/user/schema.js +10 -4
  16. package/server/routes/data/controllers/cardData.js +0 -132
  17. package/server/routes/data/controllers/cardTabData.js +0 -50
  18. package/server/routes/data/controllers/funcs/getFilterSQL/index.js +0 -92
  19. package/server/routes/data/controllers/funcs/getFilterSQL/util/formatValue.js +0 -170
  20. package/server/routes/data/controllers/funcs/getFilterSQL/util/getCustomQuery.js +0 -13
  21. package/server/routes/data/controllers/funcs/getFilterSQL/util/getFilterQuery.js +0 -64
  22. package/server/routes/data/controllers/funcs/getFilterSQL/util/getOptimizedQuery.js +0 -12
  23. package/server/routes/data/controllers/funcs/getFilterSQL/util/getTableSql.js +0 -34
  24. package/server/routes/data/controllers/tableData.js +0 -45
  25. package/server/routes/data/controllers/tableDataId.js +0 -28
  26. package/server/routes/data/controllers/tableFilter.js +0 -10
  27. package/server/routes/data/controllers/tableInfo.js +0 -112
  28. package/server/routes/data/controllers/tokenInfo.js +0 -10
  29. package/server/routes/data/controllers/utils/assignTokens.js +0 -31
  30. package/server/routes/data/controllers/utils/conditions.js +0 -21
  31. package/server/routes/data/controllers/utils/getColumns.js +0 -9
  32. package/server/routes/data/index.mjs +0 -20
  33. package/server/routes/data/schema.js +0 -54
  34. package/server/routes/menu/controllers/getMenu.js +0 -81
  35. package/server/routes/menu/controllers/interfaces.js +0 -21
  36. package/server/routes/menu/index.mjs +0 -7
  37. package/server/routes/menu/schema.js +0 -0
  38. package/server/routes/templates/controllers/getTemplate.js +0 -45
  39. package/server/routes/templates/index.mjs +0 -16
  40. package/server/routes/templates/schema.js +0 -9
@@ -1,9 +1,9 @@
1
- import { resolveComponent as e, createBlock as r, openBlock as t } from "vue";
2
- import { _ as c } from "./import-file-CyxfCvxQ.js";
1
+ import { resolveComponent as e, openBlock as r, createBlock as t } from "vue";
2
+ import { _ as c } from "./import-file-DPcs2POV.js";
3
3
  const n = {};
4
4
  function s(_, p, a, i, f, m) {
5
5
  const o = e("router-view");
6
- return t(), r(o);
6
+ return r(), t(o);
7
7
  }
8
8
  const l = /* @__PURE__ */ c(n, [["render", s]]);
9
9
  export {
@@ -1,5 +1,5 @@
1
- import { _ as $, f as d, u as k, s as V } from "./import-file-CyxfCvxQ.js";
2
- import { resolveComponent as j, createElementBlock as g, openBlock as p, createElementVNode as m, createCommentVNode as b, normalizeClass as x, normalizeStyle as y, createBlock as E } from "vue";
1
+ import { _ as $, s as k, u as V, g as d } from "./import-file-DPcs2POV.js";
2
+ import { resolveComponent as j, openBlock as p, createElementBlock as g, createElementVNode as m, normalizeClass as b, createCommentVNode as x, normalizeStyle as y, createBlock as E } from "vue";
3
3
  const O = {
4
4
  data() {
5
5
  return {
@@ -15,7 +15,7 @@ const O = {
15
15
  },
16
16
  computed: {
17
17
  color() {
18
- return V.value.buttonColor || "blue";
18
+ return k.value.buttonColor || "blue";
19
19
  }
20
20
  },
21
21
  methods: {
@@ -27,7 +27,7 @@ const O = {
27
27
  },
28
28
  async getFormScheme() {
29
29
  var i, r;
30
- const t = this.flattenMenu(k.value);
30
+ const t = this.flattenMenu(V.value);
31
31
  t != null && t.length || this.$router.replace("/404");
32
32
  const e = t == null ? void 0 : t.find((s) => {
33
33
  var a, o;
@@ -119,11 +119,11 @@ function A(t, e, n, i, r, s) {
119
119
  (o = r.style) != null && o.draft ? (p(), g("button", {
120
120
  key: 0,
121
121
  onClick: e[1] || (e[1] = (c) => s.editObjectAndRedirect(!1)),
122
- class: x(`inline-flex items-center px-3 py-2 text-sm font-medium text-white duration-300 bg-${s.color}-700 border border-transparent rounded-lg gap-x-2 hover:bg-${s.color}-800 hover:text-white`)
123
- }, " Зберегти DRAFT ", 2)) : b("", !0),
122
+ class: b(`inline-flex items-center px-3 py-2 text-sm font-medium text-white duration-300 bg-${s.color}-700 border border-transparent rounded-lg gap-x-2 hover:bg-${s.color}-800 hover:text-white`)
123
+ }, " Зберегти DRAFT ", 2)) : x("", !0),
124
124
  m("button", {
125
125
  onClick: e[2] || (e[2] = (...c) => s.editObjectAndRedirect && s.editObjectAndRedirect(...c)),
126
- class: x(`inline-flex items-center px-3 py-2 text-sm font-medium text-white duration-300 bg-${s.color}-700 border border-transparent rounded-lg gap-x-2 hover:bg-${s.color}-800 hover:text-white`)
126
+ class: b(`inline-flex items-center px-3 py-2 text-sm font-medium text-white duration-300 bg-${s.color}-700 border border-transparent rounded-lg gap-x-2 hover:bg-${s.color}-800 hover:text-white`)
127
127
  }, " Зберегти ", 2)
128
128
  ])
129
129
  ]),
@@ -143,7 +143,7 @@ function A(t, e, n, i, r, s) {
143
143
  modelValue: r.formValues,
144
144
  "onUpdate:modelValue": e[3] || (e[3] = (c) => r.formValues = c),
145
145
  class: "p-[20px] h-full"
146
- }, null, 8, ["scheme", "columns", "style", "modelValue"])) : b("", !0)
146
+ }, null, 8, ["scheme", "columns", "style", "modelValue"])) : x("", !0)
147
147
  ])
148
148
  ], 4)
149
149
  ]);