@opengis/admin 0.3.88 → 0.3.89

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,6 +1,6 @@
1
- import { _ as n, f as m } from "./import-file-CaKzUkmh.js";
1
+ import { _ as n, g as m } from "./import-file-Bl666LSJ.js";
2
2
  import { u as p } from "./user-B_2kh6ic.js";
3
- import { resolveComponent as f, createElementBlock as d, openBlock as u, createElementVNode as o, createBlock as h, createCommentVNode as b } from "vue";
3
+ import { resolveComponent as d, openBlock as u, createElementBlock as f, createElementVNode as o, createBlock as h, createCommentVNode as b } from "vue";
4
4
  const x = {
5
5
  data() {
6
6
  return {
@@ -50,8 +50,8 @@ const x = {
50
50
  }
51
51
  }, g = { class: "flex justify-center pt-[20px] pb-[20px] pl-[20px] h-[calc(100vh-58px)]" }, k = { class: "bg-white rounded-xl p-[20px]" }, y = { class: "flex-1 overflow-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500" }, w = { class: "flex" };
52
52
  function _(r, t, a, l, e, s) {
53
- const i = f("VsForm");
54
- return u(), d("div", g, [
53
+ const i = d("VsForm");
54
+ return u(), f("div", g, [
55
55
  o("div", k, [
56
56
  t[2] || (t[2] = o("h2", { class: "mb-[20px] text-center" }, "Профіль", -1)),
57
57
  o("div", y, [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengis/admin",
3
- "version": "0.3.88",
3
+ "version": "0.3.89",
4
4
  "description": "This project Softpro Admin",
5
5
  "main": "dist/admin.js",
6
6
  "type": "module",
@@ -118,7 +118,7 @@ export default async function widgetGet({
118
118
  const q1 = `select ${username} as author, u.login, a.cdate, a.editor_date from ${tableName} a
119
119
  left join admin.users u on a.${authorIdColumn}=u.uid where a.${pk}=$1 limit 1`;
120
120
 
121
- const data = pg.pk['admin.users'] && pk && tableName ? await pg.query(q, [objectid]).then(el => el.rows?.[0] || {}) : {};
121
+ const data = pg.pk['admin.users'] && pk && tableName ? await pg.query(q, [objectid, params.type === 'gallery' ? galleryExtList : null].filter((el) => el)).then(el => el.rows?.[0] || {}) : {};
122
122
 
123
123
  if (query.debug && user?.user_type === 'admin') {
124
124
  return {