@opengis/admin 0.4.29 → 0.4.30
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.
- package/README.md +97 -97
- package/dist/{add-page-VsKeXogR.js → add-page-CJiibLCq.js} +4 -4
- package/dist/{admin-interface-CRxPKyYw.js → admin-interface-CWYn_DpQ.js} +31 -31
- package/dist/{admin-view-ulbtCtj1.js → admin-view-BWIQS9Bz.js} +28 -28
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +37 -37
- package/dist/assets/logo.svg +41 -41
- package/dist/{card-view-DibuO4qO.js → card-view-BLbhwgys.js} +3 -3
- package/dist/{edit-page-DTvgV6IT.js → edit-page-BlUcQCal.js} +8 -8
- package/dist/{import-file-BCkV-vfK.js → import-file-C-q7nPgl.js} +10534 -10449
- package/dist/{profile-page-pFO4XMgi.js → profile-page-CNKg_oQx.js} +2 -2
- package/dist/style.css +1 -1
- package/module/settings/card/admin.accounts.table/index.yml +7 -7
- package/module/settings/card/admin.accounts.table/rules.hbs +18 -18
- package/module/settings/card/admin.accounts.table/users.hbs +13 -13
- package/module/settings/card/admin.routes.table/groups.hbs +11 -11
- package/module/settings/card/admin.routes.table/users.hbs +16 -16
- package/module/settings/cls/core.actions.json +17 -17
- package/module/settings/cls/core.scope.json +13 -13
- package/module/settings/cls/properties.site_status.json +13 -13
- package/module/settings/cls/properties.widget_status.json +13 -13
- package/module/settings/cls/yes_no.json +11 -11
- package/module/settings/form/admin.accounts.form.json +13 -13
- package/module/settings/form/admin.properties.form.json +15 -15
- package/module/settings/form/admin.roles.form.json +21 -21
- package/module/settings/form/admin.user_properties.form.json +15 -15
- package/module/settings/form/admin.user_roles_card.form.json +13 -13
- package/module/settings/interface/admin.properties.json +4 -4
- package/module/settings/interface/admin.roles.json +4 -4
- package/module/settings/interface/admin.routes.json +4 -4
- package/module/settings/interface/admin.users.json +4 -4
- package/module/settings/select/core.routes.sql +1 -1
- package/module/settings/select/core.user_mentioned.sql +1 -1
- package/module/settings/select/core.user_uid.sql +1 -1
- package/module/settings/table/admin.properties.table.json +39 -39
- package/module/settings/table/admin.user_properties.table.json +34 -34
- package/package.json +2 -3
- package/server/helpers/core/coalesce.js +7 -7
- package/server/helpers/core/select.js +48 -48
- package/server/helpers/core/token.js +18 -18
- package/server/helpers/list/buttonHelper.js +21 -21
- package/server/helpers/temp/contentList.js +58 -58
- package/server/helpers/temp/ifCond.js +101 -101
- package/server/helpers/utils/button.js +5 -5
- package/server/helpers/utils/mdToHTML.js +17 -17
- package/server/plugins/cron.js +10 -10
- package/server/plugins/docs.js +28 -28
- package/server/routes/calendar/controllers/calendar.data.js +124 -124
- package/server/routes/calendar/index.mjs +7 -7
- package/server/routes/notifications/controllers/readNotifications.js +18 -18
- package/server/routes/notifications/controllers/testEmail.js +35 -35
- package/server/routes/notifications/controllers/userNotifications.js +53 -53
- package/server/routes/notifications/hook/onWidgetSet.js +56 -56
- package/server/routes/notifications/index.mjs +26 -26
- package/server/routes/root.mjs +3 -3
- package/server/routes/user/controllers/user.cls.id.js +14 -14
- package/server/routes/user/controllers/user.cls.js +72 -72
- package/server/routes/user/controllers/user.info.js +17 -17
- package/server/templates/cls/itree.recrzone_category.json +73 -73
- package/server/templates/cls/test.json +9 -9
- package/server/templates/form/admin.user_cls.data.form.json +49 -49
- package/server/templates/form/admin.user_group_rel.form.json +21 -21
- package/server/templates/form/form-user-pass.json +10 -10
- package/server/templates/form/form-user_group.json +39 -39
- package/server/templates/form/form-users.json +156 -156
- package/server/templates/form/user_group_access.form.json +22 -22
- package/server/templates/select/account_id.json +2 -2
- package/server/templates/table/gis.dataset.table.json +43 -43
- package/server/templates/table/management.user_group.table.json +112 -112
- package/server/templates/table/management.users.table.json +126 -126
- package/server/utils/addNotification.js +21 -21
- package/server/utils/sendNotification.js +89 -89
package/README.md
CHANGED
@@ -1,97 +1,97 @@
|
|
1
|
-

|
2
|
-
|
3
|
-
[](https://www.npmjs.com/package/@opengis/admin)
|
4
|
-
[]()
|
5
|
-
[]()
|
6
|
-
[](http://standardjs.com/)
|
7
|
-
|
8
|
-
This package standardizes the entire website administration process. Built using the **Fastify** and **Vite** frameworks for reactive, component-driven development.
|
9
|
-
|
10
|
-
### Features
|
11
|
-
|
12
|
-
- **Real-time Editing** - Simplifies and accelerates the development process.
|
13
|
-
- **Customization** - Enabling developers to add custom components, templates, and modules.
|
14
|
-
- **Database Management** - Provides tools to facilitate seamless management and interaction with PostgreSQL.
|
15
|
-
- **Base Theme** - A clean and practical design inspired by Preline.
|
16
|
-
- **Info Cards** - Easily created using pre-built layouts or custom Vue components.
|
17
|
-
- **Geometry Visualization** - Enables visualization and editing of geometric data, using geometry inputs.
|
18
|
-
- **User Settings** - Includes functionality for managing user settings, creating user groups, and defining roles with interface permissions.
|
19
|
-
|
20
|
-
---
|
21
|
-
|
22
|
-
### Install
|
23
|
-
|
24
|
-
```bash
|
25
|
-
npm i @opengis/admin
|
26
|
-
```
|
27
|
-
|
28
|
-
### Usage
|
29
|
-
|
30
|
-
```js
|
31
|
-
fastify.register(import('@opengis/admin'), config);
|
32
|
-
```
|
33
|
-
|
34
|
-
```js
|
35
|
-
import v3admin from '@opengis/admin';
|
36
|
-
import '@opengis/admin/dist/style.css';
|
37
|
-
v3admin.install(app);
|
38
|
-
```
|
39
|
-
|
40
|
-
---
|
41
|
-
|
42
|
-
### Documentation
|
43
|
-
|
44
|
-
For a detailed understanding of `admin`, its features, and how to use them, refer to our [Documentation](https://apidocs.softpro.ua/admin/).
|
45
|
-
|
46
|
-
---
|
47
|
-
|
48
|
-
### Technology stack
|
49
|
-
|
50
|
-
<a href="https://fastify.dev/" target="_blank">
|
51
|
-
<img src="https://img.shields.io/badge/Fastify-323330?style=for-the-badge&logo=fastify" /></a>
|
52
|
-
|
53
|
-
<a href="https://vuejs.org/" target="_blank">
|
54
|
-
<img src="https://img.shields.io/badge/Vue%20js-323330?style=for-the-badge&logo=vuedotjs&logoColor=4FC08D" /></a>
|
55
|
-
|
56
|
-
<a href="https://vite.dev/" target="_blank">
|
57
|
-
<img src="https://img.shields.io/badge/Vite-323330?style=for-the-badge&logo=vite" /></a>
|
58
|
-
|
59
|
-
<a href="https://tiptap.dev/" target="_blank">
|
60
|
-
<img src="https://img.shields.io/badge/TipTap-323330?style=for-the-badge&logo=tiptap&logoColor=4FC08D" /></a>
|
61
|
-
|
62
|
-
<a href="https://www.postgresql.org/" target="_blank">
|
63
|
-
<img src="https://img.shields.io/badge/PostgreSQL-323330?style=for-the-badge&logo=postgresql&logoColor=white" /></a>
|
64
|
-
|
65
|
-
<a href="https://maplibre.org/" target="_blank">
|
66
|
-
<img src="https://img.shields.io/badge/Maplibre-323330?style=for-the-badge&logo=maplibre&logoColor=87b2f0" /></a>
|
67
|
-
|
68
|
-
<a href="https://handlebarsjs.com/" target="_blank">
|
69
|
-
<img src="https://img.shields.io/badge/Handlebars%20js-323330?style=for-the-badge&logo=handlebarsdotjs&logoColor=f0772b" /></a>
|
70
|
-
|
71
|
-
<a href="https://redis.io/" target="_blank">
|
72
|
-
<img src="https://img.shields.io/badge/redis-323330.svg?&style=for-the-badge&logo=redis&logoColor=%23DD0031" /></a>
|
73
|
-
|
74
|
-
---
|
75
|
-
|
76
|
-
### Contribute
|
77
|
-
|
78
|
-
Feel free to contact us through our website [SOFTPRO.UA](https://softpro.ua) or email <info@softpro.ua>
|
79
|
-
|
80
|
-
- Report bugs
|
81
|
-
- Share your ideas
|
82
|
-
- Ask questions
|
83
|
-
|
84
|
-
### Follow Us
|
85
|
-
|
86
|
-
[Official site](https://softpro.ua)
|
87
|
-
|
88
|
-
<p>
|
89
|
-
<a href="https://www.instagram.com/gissoftpro/" target="_blank"><img src="https://cdn.softpro.ua/data/npm/instagram.png" alt="Softpro Instagram" title="oftpro Instagram"></a>
|
90
|
-
<a href="https://www.facebook.com/gissoftpro" target="_blank"><img src="https://cdn.softpro.ua/data/npm/facebook.png" alt="Softpro Facebook" title="Softpro Facebook"></a>
|
91
|
-
<a href="https://t.me/softprogis" target="_blank"><img src="https://cdn.softpro.ua/data/npm/telegram.png" alt="Softpro Telegram" title="Softpro Telegram"></a>
|
92
|
-
<a href="https://www.linkedin.com/in/softpro-ukraine-a8876b282/recent-activity/all/" target="_blank"><img src="https://cdn.softpro.ua/data/npm/social/linkedin.png" alt="Softpro Linkedin" title="Softpro LinkedIn"></a>
|
93
|
-
</p>
|
94
|
-
|
95
|
-
### License
|
96
|
-
|
97
|
-
Copyright © SOFTPRO. All rights reserved.
|
1
|
+

|
2
|
+
|
3
|
+
[](https://www.npmjs.com/package/@opengis/admin)
|
4
|
+
[]()
|
5
|
+
[]()
|
6
|
+
[](http://standardjs.com/)
|
7
|
+
|
8
|
+
This package standardizes the entire website administration process. Built using the **Fastify** and **Vite** frameworks for reactive, component-driven development.
|
9
|
+
|
10
|
+
### Features
|
11
|
+
|
12
|
+
- **Real-time Editing** - Simplifies and accelerates the development process.
|
13
|
+
- **Customization** - Enabling developers to add custom components, templates, and modules.
|
14
|
+
- **Database Management** - Provides tools to facilitate seamless management and interaction with PostgreSQL.
|
15
|
+
- **Base Theme** - A clean and practical design inspired by Preline.
|
16
|
+
- **Info Cards** - Easily created using pre-built layouts or custom Vue components.
|
17
|
+
- **Geometry Visualization** - Enables visualization and editing of geometric data, using geometry inputs.
|
18
|
+
- **User Settings** - Includes functionality for managing user settings, creating user groups, and defining roles with interface permissions.
|
19
|
+
|
20
|
+
---
|
21
|
+
|
22
|
+
### Install
|
23
|
+
|
24
|
+
```bash
|
25
|
+
npm i @opengis/admin
|
26
|
+
```
|
27
|
+
|
28
|
+
### Usage
|
29
|
+
|
30
|
+
```js
|
31
|
+
fastify.register(import('@opengis/admin'), config);
|
32
|
+
```
|
33
|
+
|
34
|
+
```js
|
35
|
+
import v3admin from '@opengis/admin';
|
36
|
+
import '@opengis/admin/dist/style.css';
|
37
|
+
v3admin.install(app);
|
38
|
+
```
|
39
|
+
|
40
|
+
---
|
41
|
+
|
42
|
+
### Documentation
|
43
|
+
|
44
|
+
For a detailed understanding of `admin`, its features, and how to use them, refer to our [Documentation](https://apidocs.softpro.ua/admin/).
|
45
|
+
|
46
|
+
---
|
47
|
+
|
48
|
+
### Technology stack
|
49
|
+
|
50
|
+
<a href="https://fastify.dev/" target="_blank">
|
51
|
+
<img src="https://img.shields.io/badge/Fastify-323330?style=for-the-badge&logo=fastify" /></a>
|
52
|
+
|
53
|
+
<a href="https://vuejs.org/" target="_blank">
|
54
|
+
<img src="https://img.shields.io/badge/Vue%20js-323330?style=for-the-badge&logo=vuedotjs&logoColor=4FC08D" /></a>
|
55
|
+
|
56
|
+
<a href="https://vite.dev/" target="_blank">
|
57
|
+
<img src="https://img.shields.io/badge/Vite-323330?style=for-the-badge&logo=vite" /></a>
|
58
|
+
|
59
|
+
<a href="https://tiptap.dev/" target="_blank">
|
60
|
+
<img src="https://img.shields.io/badge/TipTap-323330?style=for-the-badge&logo=tiptap&logoColor=4FC08D" /></a>
|
61
|
+
|
62
|
+
<a href="https://www.postgresql.org/" target="_blank">
|
63
|
+
<img src="https://img.shields.io/badge/PostgreSQL-323330?style=for-the-badge&logo=postgresql&logoColor=white" /></a>
|
64
|
+
|
65
|
+
<a href="https://maplibre.org/" target="_blank">
|
66
|
+
<img src="https://img.shields.io/badge/Maplibre-323330?style=for-the-badge&logo=maplibre&logoColor=87b2f0" /></a>
|
67
|
+
|
68
|
+
<a href="https://handlebarsjs.com/" target="_blank">
|
69
|
+
<img src="https://img.shields.io/badge/Handlebars%20js-323330?style=for-the-badge&logo=handlebarsdotjs&logoColor=f0772b" /></a>
|
70
|
+
|
71
|
+
<a href="https://redis.io/" target="_blank">
|
72
|
+
<img src="https://img.shields.io/badge/redis-323330.svg?&style=for-the-badge&logo=redis&logoColor=%23DD0031" /></a>
|
73
|
+
|
74
|
+
---
|
75
|
+
|
76
|
+
### Contribute
|
77
|
+
|
78
|
+
Feel free to contact us through our website [SOFTPRO.UA](https://softpro.ua) or email <info@softpro.ua>
|
79
|
+
|
80
|
+
- Report bugs
|
81
|
+
- Share your ideas
|
82
|
+
- Ask questions
|
83
|
+
|
84
|
+
### Follow Us
|
85
|
+
|
86
|
+
[Official site](https://softpro.ua)
|
87
|
+
|
88
|
+
<p>
|
89
|
+
<a href="https://www.instagram.com/gissoftpro/" target="_blank"><img src="https://cdn.softpro.ua/data/npm/instagram.png" alt="Softpro Instagram" title="oftpro Instagram"></a>
|
90
|
+
<a href="https://www.facebook.com/gissoftpro" target="_blank"><img src="https://cdn.softpro.ua/data/npm/facebook.png" alt="Softpro Facebook" title="Softpro Facebook"></a>
|
91
|
+
<a href="https://t.me/softprogis" target="_blank"><img src="https://cdn.softpro.ua/data/npm/telegram.png" alt="Softpro Telegram" title="Softpro Telegram"></a>
|
92
|
+
<a href="https://www.linkedin.com/in/softpro-ukraine-a8876b282/recent-activity/all/" target="_blank"><img src="https://cdn.softpro.ua/data/npm/social/linkedin.png" alt="Softpro Linkedin" title="Softpro LinkedIn"></a>
|
93
|
+
</p>
|
94
|
+
|
95
|
+
### License
|
96
|
+
|
97
|
+
Copyright © SOFTPRO. All rights reserved.
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { _ as d,
|
2
|
-
import { resolveComponent as b,
|
1
|
+
import { _ as d, f as m, u as f, s as g } from "./import-file-C-q7nPgl.js";
|
2
|
+
import { resolveComponent as b, createElementBlock as x, openBlock as h, createElementVNode as i, normalizeClass as y, normalizeStyle as p, createBlock as w, createCommentVNode as v } from "vue";
|
3
3
|
const $ = {
|
4
4
|
data() {
|
5
5
|
return {
|
@@ -16,7 +16,7 @@ const $ = {
|
|
16
16
|
},
|
17
17
|
computed: {
|
18
18
|
color() {
|
19
|
-
return
|
19
|
+
return g.value.buttonColor || "blue";
|
20
20
|
}
|
21
21
|
},
|
22
22
|
methods: {
|
@@ -28,7 +28,7 @@ const $ = {
|
|
28
28
|
},
|
29
29
|
async getFormScheme() {
|
30
30
|
var l, o;
|
31
|
-
const t = this.flattenMenu(
|
31
|
+
const t = this.flattenMenu(f.value);
|
32
32
|
t != null && t.length || this.$router.replace("/404");
|
33
33
|
const e = t == null ? void 0 : t.find((s) => {
|
34
34
|
var r, n;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { _ as T, h as Je, i as Ke, j as Ge,
|
2
|
-
import {
|
1
|
+
import { _ as T, h as Je, i as Ke, j as Ge, f as L, I as Qe, s as R, k as K, V as Xe, l as Ye, m as Ze, n as et, A as G, o as tt, p as st, b as nt, q as at, r as lt, a as rt, t as ot, v as it, u as Ee } from "./import-file-C-q7nPgl.js";
|
2
|
+
import { createElementBlock as d, openBlock as r, createTextVNode as z, createElementVNode as a, toDisplayString as A, createCommentVNode as k, normalizeClass as w, resolveComponent as p, Fragment as $, createVNode as x, withCtx as P, createBlock as y, renderList as V, withModifiers as dt, Transition as Q, withDirectives as X, renderSlot as ut, vShow as Y, Teleport as ct, getCurrentInstance as Ue, ref as H, resolveDynamicComponent as J, defineComponent as ht, withKeys as pt, normalizeStyle as W } from "vue";
|
3
3
|
const bt = {
|
4
4
|
data() {
|
5
5
|
return {
|
@@ -91,10 +91,10 @@ function xt(e, t, n, o, s, l) {
|
|
91
91
|
"stroke-width": "2",
|
92
92
|
"stroke-linecap": "round",
|
93
93
|
"stroke-linejoin": "round"
|
94
|
-
}, t[1] || (t[1] = [
|
94
|
+
}, [...t[1] || (t[1] = [
|
95
95
|
a("path", { d: "m5 12 7-7 7 7" }, null, -1),
|
96
96
|
a("path", { d: "M12 19V5" }, null, -1)
|
97
|
-
]), 2)) : k("", !0)
|
97
|
+
])], 2)) : k("", !0)
|
98
98
|
])
|
99
99
|
])) : (r(), d("p", mt, A(l.label), 1))
|
100
100
|
], 512);
|
@@ -112,7 +112,7 @@ const yt = /* @__PURE__ */ T(bt, [["render", xt]]), vt = {}, kt = {
|
|
112
112
|
class: "icon icon-tabler icons-tabler-outline icon-tabler-link"
|
113
113
|
};
|
114
114
|
function _t(e, t) {
|
115
|
-
return r(), d("svg", kt, t[0] || (t[0] = [
|
115
|
+
return r(), d("svg", kt, [...t[0] || (t[0] = [
|
116
116
|
a("path", {
|
117
117
|
stroke: "none",
|
118
118
|
d: "M0 0h24v24H0z",
|
@@ -121,13 +121,13 @@ function _t(e, t) {
|
|
121
121
|
a("path", { d: "M9 15l6 -6" }, null, -1),
|
122
122
|
a("path", { d: "M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464" }, null, -1),
|
123
123
|
a("path", { d: "M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463" }, null, -1)
|
124
|
-
]));
|
124
|
+
])]);
|
125
125
|
}
|
126
126
|
const Ct = /* @__PURE__ */ T(vt, [["render", _t]]), wt = {
|
127
127
|
components: {
|
128
|
-
IconMore:
|
128
|
+
IconMore: Ge,
|
129
129
|
IconDelete: Ke,
|
130
|
-
IconEdit:
|
130
|
+
IconEdit: Je,
|
131
131
|
IconLink: Ct
|
132
132
|
},
|
133
133
|
emits: ["updateTable"],
|
@@ -238,7 +238,7 @@ function Vt(e, t, n, o, s, l) {
|
|
238
238
|
}, {
|
239
239
|
default: P(() => [
|
240
240
|
x(g, { color: "#000" }),
|
241
|
-
t[4] || (t[4] = z(" Редагувати "))
|
241
|
+
t[4] || (t[4] = z(" Редагувати ", -1))
|
242
242
|
]),
|
243
243
|
_: 1
|
244
244
|
}, 8, ["to"])) : k("", !0),
|
@@ -304,12 +304,12 @@ const Ft = /* @__PURE__ */ T(wt, [["render", Vt]]), jt = {}, Lt = {
|
|
304
304
|
"stroke-linejoin": "round"
|
305
305
|
};
|
306
306
|
function zt(e, t, n, o, s, l) {
|
307
|
-
return r(), d("svg", Lt, t[0] || (t[0] = [
|
307
|
+
return r(), d("svg", Lt, [...t[0] || (t[0] = [
|
308
308
|
a("path", { d: "m3 16 4 4 4-4" }, null, -1),
|
309
309
|
a("path", { d: "M7 20V4" }, null, -1),
|
310
310
|
a("path", { d: "m21 8-4-4-4 4" }, null, -1),
|
311
311
|
a("path", { d: "M17 4v16" }, null, -1)
|
312
|
-
]));
|
312
|
+
])]);
|
313
313
|
}
|
314
314
|
const qt = /* @__PURE__ */ T(jt, [["render", zt]]), Mt = {}, Bt = {
|
315
315
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -324,7 +324,7 @@ const qt = /* @__PURE__ */ T(jt, [["render", zt]]), Mt = {}, Bt = {
|
|
324
324
|
class: "icon icon-tabler icons-tabler-outline icon-tabler-rosette-discount-check"
|
325
325
|
};
|
326
326
|
function Nt(e, t, n, o, s, l) {
|
327
|
-
return r(), d("svg", Bt, t[0] || (t[0] = [
|
327
|
+
return r(), d("svg", Bt, [...t[0] || (t[0] = [
|
328
328
|
a("path", {
|
329
329
|
stroke: "none",
|
330
330
|
d: "M0 0h24v24H0z",
|
@@ -332,7 +332,7 @@ function Nt(e, t, n, o, s, l) {
|
|
332
332
|
}, null, -1),
|
333
333
|
a("path", { d: "M5 7.2a2.2 2.2 0 0 1 2.2 -2.2h1a2.2 2.2 0 0 0 1.55 -.64l.7 -.7a2.2 2.2 0 0 1 3.12 0l.7 .7c.412 .41 .97 .64 1.55 .64h1a2.2 2.2 0 0 1 2.2 2.2v1c0 .58 .23 1.138 .64 1.55l.7 .7a2.2 2.2 0 0 1 0 3.12l-.7 .7a2.2 2.2 0 0 0 -.64 1.55v1a2.2 2.2 0 0 1 -2.2 2.2h-1a2.2 2.2 0 0 0 -1.55 .64l-.7 .7a2.2 2.2 0 0 1 -3.12 0l-.7 -.7a2.2 2.2 0 0 0 -1.55 -.64h-1a2.2 2.2 0 0 1 -2.2 -2.2v-1a2.2 2.2 0 0 0 -.64 -1.55l-.7 -.7a2.2 2.2 0 0 1 0 -3.12l.7 -.7a2.2 2.2 0 0 0 .64 -1.55v-1" }, null, -1),
|
334
334
|
a("path", { d: "M9 12l2 2l4 -4" }, null, -1)
|
335
|
-
]));
|
335
|
+
])]);
|
336
336
|
}
|
337
337
|
const Ot = /* @__PURE__ */ T(Mt, [["render", Nt]]), Et = {
|
338
338
|
components: { IconExport: qt, IconChevronDown: Qe, IconSuccess: Ot },
|
@@ -488,7 +488,7 @@ function ss(e, t, n, o, s, l) {
|
|
488
488
|
height: "16",
|
489
489
|
width: "16"
|
490
490
|
}),
|
491
|
-
t[7] || (t[7] = z(" Експорт "))
|
491
|
+
t[7] || (t[7] = z(" Експорт ", -1))
|
492
492
|
]),
|
493
493
|
x(f, {
|
494
494
|
visible: s.isOpen,
|
@@ -601,14 +601,14 @@ const ns = /* @__PURE__ */ T(Et, [["render", ss]]), as = {}, ls = {
|
|
601
601
|
class: "icon icon-tabler icons-tabler-outline icon-tabler-minus"
|
602
602
|
};
|
603
603
|
function rs(e, t, n, o, s, l) {
|
604
|
-
return r(), d("svg", ls, t[0] || (t[0] = [
|
604
|
+
return r(), d("svg", ls, [...t[0] || (t[0] = [
|
605
605
|
a("path", {
|
606
606
|
stroke: "none",
|
607
607
|
d: "M0 0h24v24H0z",
|
608
608
|
fill: "none"
|
609
609
|
}, null, -1),
|
610
610
|
a("path", { d: "M5 12l14 0" }, null, -1)
|
611
|
-
]));
|
611
|
+
])]);
|
612
612
|
}
|
613
613
|
const os = /* @__PURE__ */ T(as, [["render", rs]]), is = {
|
614
614
|
components: { IconPlus: K, IconMinus: os },
|
@@ -656,14 +656,14 @@ function ps(e, t, n, o, s, l) {
|
|
656
656
|
])
|
657
657
|
]);
|
658
658
|
}
|
659
|
-
const bs = /* @__PURE__ */ T(is, [["render", ps], ["__scopeId", "data-v-
|
659
|
+
const bs = /* @__PURE__ */ T(is, [["render", ps], ["__scopeId", "data-v-e1f274c9"]]), fs = {
|
660
660
|
components: {
|
661
661
|
AdminComponentIs: G,
|
662
662
|
AdminTree: bs,
|
663
|
-
VsNoData:
|
664
|
-
VsWidgetComments:
|
665
|
-
VsWidgetMap:
|
666
|
-
VsWidgetFileList:
|
663
|
+
VsNoData: et,
|
664
|
+
VsWidgetComments: Ze,
|
665
|
+
VsWidgetMap: Ye,
|
666
|
+
VsWidgetFileList: Xe
|
667
667
|
},
|
668
668
|
props: { table: String, columns: Array, row: Object }
|
669
669
|
}, gs = {
|
@@ -741,7 +741,7 @@ function Ts(e, t, n, o, s, l) {
|
|
741
741
|
height: "16",
|
742
742
|
width: "16"
|
743
743
|
}),
|
744
|
-
t[4] || (t[4] = z(" Фільтри ")),
|
744
|
+
t[4] || (t[4] = z(" Фільтри ", -1)),
|
745
745
|
n.onFilters ? (r(), d("span", Ss, A(n.onFilters), 1)) : k("", !0)
|
746
746
|
]),
|
747
747
|
x(Q, { name: "fade" }, {
|
@@ -809,14 +809,14 @@ const js = /* @__PURE__ */ T(Ds, [["render", Fs]]), Ls = {}, zs = {
|
|
809
809
|
class: "icon icon-tabler icons-tabler-outline icon-tabler-filter"
|
810
810
|
};
|
811
811
|
function qs(e, t, n, o, s, l) {
|
812
|
-
return r(), d("svg", zs, t[0] || (t[0] = [
|
812
|
+
return r(), d("svg", zs, [...t[0] || (t[0] = [
|
813
813
|
a("path", {
|
814
814
|
stroke: "none",
|
815
815
|
d: "M0 0h24v24H0z",
|
816
816
|
fill: "none"
|
817
817
|
}, null, -1),
|
818
818
|
a("path", { d: "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z" }, null, -1)
|
819
|
-
]));
|
819
|
+
])]);
|
820
820
|
}
|
821
821
|
const Ms = /* @__PURE__ */ T(Ls, [["render", qs]]), Bs = {
|
822
822
|
components: { IconFilter2: Ms, IconCheck2: st },
|
@@ -959,14 +959,14 @@ const Ws = /* @__PURE__ */ T(Bs, [["render", Rs]]), Hs = { class: "flex items-ce
|
|
959
959
|
class: "icon icon-tabler icons-tabler-outline icon-tabler-check"
|
960
960
|
};
|
961
961
|
function en(e, t, n, o, s, l) {
|
962
|
-
return r(), d("svg", Zs, t[0] || (t[0] = [
|
962
|
+
return r(), d("svg", Zs, [...t[0] || (t[0] = [
|
963
963
|
a("path", {
|
964
964
|
stroke: "none",
|
965
965
|
d: "M0 0h24v24H0z",
|
966
966
|
fill: "none"
|
967
967
|
}, null, -1),
|
968
968
|
a("path", { d: "M5 12l5 5l10 -10" }, null, -1)
|
969
|
-
]));
|
969
|
+
])]);
|
970
970
|
}
|
971
971
|
const tn = /* @__PURE__ */ T(Ys, [["render", en]]), sn = ht({
|
972
972
|
components: { IconChevronDown: nt, IconCheck: tn },
|
@@ -1135,13 +1135,13 @@ const hn = /* @__PURE__ */ T(sn, [["render", cn]]), pn = {
|
|
1135
1135
|
AdminTableControl: Ft,
|
1136
1136
|
AdminTableExport: ns,
|
1137
1137
|
// AdminTablePrint,
|
1138
|
-
AdminTableColumnsHidden:
|
1138
|
+
AdminTableColumnsHidden: it,
|
1139
1139
|
AdminTableColumn: yt,
|
1140
|
-
AdminNodata:
|
1140
|
+
AdminNodata: ot,
|
1141
1141
|
IconPlus: K,
|
1142
1142
|
IconSearch: rt,
|
1143
1143
|
AdminTableCardInfo: ws,
|
1144
|
-
IconOpenCard:
|
1144
|
+
IconOpenCard: lt,
|
1145
1145
|
AdminComponentIs: G,
|
1146
1146
|
AdminTableFilters: Is,
|
1147
1147
|
AdminTableTabs: js,
|
@@ -1217,7 +1217,7 @@ const hn = /* @__PURE__ */ T(sn, [["render", cn]]), pn = {
|
|
1217
1217
|
// await this.getTableData();
|
1218
1218
|
// },
|
1219
1219
|
searchValue: {
|
1220
|
-
handler:
|
1220
|
+
handler: at(async function(e) {
|
1221
1221
|
var t;
|
1222
1222
|
this.page = 1, await this.getTableData(), this.$router.push({
|
1223
1223
|
...this.$route,
|
@@ -1391,7 +1391,7 @@ function Fn(e, t, n, o, s, l) {
|
|
1391
1391
|
height: "16",
|
1392
1392
|
width: "16"
|
1393
1393
|
}),
|
1394
|
-
t[5] || (t[5] = z(" Додати "))
|
1394
|
+
t[5] || (t[5] = z(" Додати ", -1))
|
1395
1395
|
]),
|
1396
1396
|
_: 1
|
1397
1397
|
}, 8, ["to", "class"]))
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import { _ as y, I as K, s as g, a as X, u as A, b as se, c as Y, d as ue, e as ie, f as de, g as ce } from "./import-file-
|
1
|
+
import { createElementBlock as u, openBlock as n, createElementVNode as o, createStaticVNode as Q, resolveComponent as p, createCommentVNode as w, createVNode as h, normalizeClass as f, createTextVNode as V, toDisplayString as B, Transition as q, withCtx as _, withDirectives as W, Fragment as U, renderList as P, vShow as J, createBlock as T, resolveDynamicComponent as F, ref as le, onMounted as ae, computed as oe, withModifiers as ne } from "vue";
|
2
|
+
import { _ as y, I as K, s as g, a as X, u as A, b as se, c as Y, d as ue, e as ie, f as de, g as ce } from "./import-file-C-q7nPgl.js";
|
3
3
|
import "./user-DCzCj0wb.js";
|
4
4
|
const he = {}, ge = {
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -12,7 +12,7 @@ const he = {}, ge = {
|
|
12
12
|
class: "icon icon-tabler icons-tabler-outline icon-tabler-logout"
|
13
13
|
};
|
14
14
|
function pe(t, e, r, s, a, l) {
|
15
|
-
return n(), u("svg", ge, e[0] || (e[0] = [
|
15
|
+
return n(), u("svg", ge, [...e[0] || (e[0] = [
|
16
16
|
o("path", {
|
17
17
|
stroke: "none",
|
18
18
|
d: "M0 0h24v24H0z",
|
@@ -21,7 +21,7 @@ function pe(t, e, r, s, a, l) {
|
|
21
21
|
o("path", { d: "M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2" }, null, -1),
|
22
22
|
o("path", { d: "M9 12h12l-3 -3" }, null, -1),
|
23
23
|
o("path", { d: "M18 15l3 -3" }, null, -1)
|
24
|
-
]));
|
24
|
+
])]);
|
25
25
|
}
|
26
26
|
const G = /* @__PURE__ */ y(he, [["render", pe]]), fe = {}, be = {
|
27
27
|
viewBox: "0 0 1823 249",
|
@@ -29,9 +29,9 @@ const G = /* @__PURE__ */ y(he, [["render", pe]]), fe = {}, be = {
|
|
29
29
|
xmlns: "http://www.w3.org/2000/svg"
|
30
30
|
};
|
31
31
|
function xe(t, e, r, s, a, l) {
|
32
|
-
return n(), u("svg", be, e[0] || (e[0] = [
|
32
|
+
return n(), u("svg", be, [...e[0] || (e[0] = [
|
33
33
|
Q('<path d="M218.88 96.05C223.55 99.19 228.69 101.56 234.09 103.07V145.42C212.05 151.54 195.83 171.79 195.83 195.75C195.83 200.22 196.41 204.65 197.53 208.94L160.92 230.08C156.82 226.06 152.08 222.73 146.91 220.24V171.62C164.83 163.13 176.59 145.06 176.59 124.48C176.59 123.17 176.54 121.86 176.44 120.56L218.88 96.05ZM220.32 79.09L160.97 113.36C162.04 116.88 162.61 120.61 162.61 124.48C162.61 142.66 149.93 157.87 132.93 161.76V230.05C143.4 232.46 152.23 239.16 157.46 248.21L215 214.99C211.7 209.34 209.81 202.77 209.81 195.75C209.81 174.62 226.94 157.49 248.07 157.49V91.02C237.14 91.02 227.29 86.43 220.32 79.09Z" fill="#CE3936"></path><path d="M161.39 19.13L197.44 39.94C196.39 44.11 195.84 48.42 195.84 52.75C195.84 54.21 195.9 55.65 196.02 57.1L153.9 81.42C145.27 75.5 134.95 72.24 124.36 72.24C113.83 72.24 103.57 75.47 94.96 81.32L52.71 56.93C52.82 55.55 52.88 54.16 52.88 52.76C52.88 48.43 52.34 44.12 51.28 39.95L87.3 19.16C96.98 28.89 110.26 34.58 124.34 34.58C138.42 34.57 151.7 28.87 161.39 19.13ZM157.77 0.919983C151.24 12.66 138.71 20.6 124.33 20.6C109.95 20.6 97.44 12.67 90.9 0.939983L33.9 33.85C37.08 39.43 38.91 45.88 38.91 52.76C38.91 56.71 38.31 60.52 37.2 64.11L96.46 98.32C103.44 90.87 113.36 86.22 124.37 86.22C135.44 86.22 145.41 90.93 152.39 98.44L211.59 64.27C210.45 60.64 209.83 56.78 209.83 52.77C209.83 45.89 211.65 39.44 214.84 33.86L157.77 0.919983Z" fill="#CE3936"></path><path d="M29.97 95.95L72.28 120.38C72.17 121.74 72.12 123.1 72.12 124.47C72.12 145.02 83.86 163.08 101.74 171.58V220.23C96.58 222.71 91.84 226.04 87.75 230.05L51.17 208.93C52.29 204.64 52.87 200.21 52.87 195.74C52.87 171.78 36.65 151.53 14.61 145.41V103.06C20.07 101.55 25.27 99.14 29.97 95.95ZM28.5 78.97C21.52 86.38 11.63 91.02 0.640015 91.02V157.49C21.77 157.49 38.9 174.62 38.9 195.75C38.9 202.77 37 209.33 33.71 214.99L91.2 248.18C96.43 239.14 105.25 232.45 115.71 230.04V161.73C98.74 157.81 86.09 142.62 86.09 124.46C86.09 120.54 86.68 116.75 87.78 113.18L28.5 78.97Z" fill="#CE3936"></path><path d="M498.39 177.5V144.88C498.39 128.55 485.11 115.27 468.78 115.27H343.22C342.69 115.27 342.18 115.32 341.67 115.4H337.19C332.35 115.4 328.42 111.46 328.42 106.63V74C328.42 69.16 332.36 65.23 337.19 65.23H486.33C492.08 65.23 496.75 60.57 496.75 54.81C496.75 49.06 492.08 44.39 486.33 44.39H337.19C320.86 44.39 307.58 57.67 307.58 74V106.62C307.58 122.95 320.86 136.23 337.19 136.23H462.75C463.28 136.23 463.79 136.18 464.3 136.1H468.78C473.62 136.1 477.55 140.04 477.55 144.87V177.49C477.55 182.33 473.61 186.26 468.78 186.26H319.64C313.89 186.26 309.22 190.92 309.22 196.68C309.22 202.43 313.89 207.1 319.64 207.1H468.78C485.11 207.11 498.39 193.83 498.39 177.5Z" fill="#CE3935"></path><path d="M710.7 177.32V75.24C710.7 58.91 697.42 45.63 681.09 45.63H550.05C533.72 45.63 520.44 58.91 520.44 75.24V177.32C520.44 193.65 533.72 206.93 550.05 206.93H681.1C697.42 206.93 710.7 193.65 710.7 177.32ZM541.27 75.24C541.27 70.4 545.21 66.47 550.04 66.47H681.09C685.93 66.47 689.86 70.41 689.86 75.24V177.32C689.86 182.16 685.92 186.09 681.09 186.09H550.05C545.21 186.09 541.28 182.15 541.28 177.32V75.24H541.27Z" fill="#CE3935"></path><path d="M1823 177.32V75.24C1823 58.91 1809.72 45.63 1793.39 45.63H1662.34C1646.01 45.63 1632.73 58.91 1632.73 75.24V177.32C1632.73 193.65 1646.01 206.93 1662.34 206.93H1793.39C1809.72 206.93 1823 193.65 1823 177.32ZM1653.57 75.24C1653.57 70.4 1657.51 66.47 1662.34 66.47H1793.39C1798.23 66.47 1802.16 70.41 1802.16 75.24V177.32C1802.16 182.16 1798.22 186.09 1793.39 186.09H1662.34C1657.5 186.09 1653.57 182.15 1653.57 177.32V75.24Z" fill="#CE3935"></path><path d="M756.76 196.51V152H849.42C855.17 152 859.84 147.34 859.84 141.58C859.84 135.83 855.17 131.16 849.42 131.16H756.76V75.23C756.76 70.39 760.7 66.46 765.53 66.46H893.29C899.04 66.46 903.71 61.8 903.71 56.04C903.71 50.29 899.04 45.62 893.29 45.62H765.53C749.2 45.62 735.92 58.9 735.92 75.23V196.5C735.92 202.25 740.59 206.92 746.34 206.92C752.09 206.93 756.76 202.27 756.76 196.51Z" fill="#CE3935"></path><path d="M933.86 66.47H1006.51V194.32C1006.51 200.07 1011.18 204.74 1016.93 204.74C1022.68 204.74 1027.35 200.07 1027.35 194.32V66.47H1100C1105.75 66.47 1110.42 61.81 1110.42 56.05C1110.42 50.3 1105.76 45.63 1100 45.63H933.86C928.11 45.63 923.44 50.29 923.44 56.05C923.45 61.81 928.11 66.47 933.86 66.47Z" fill="#CE3935"></path><path d="M1218.44 204.19C1224.19 204.19 1228.86 199.53 1228.86 193.77V152H1368.13C1384.46 152 1397.74 138.72 1397.74 122.39V75.24C1397.74 58.91 1384.46 45.63 1368.13 45.63H1237.63C1221.3 45.63 1208.02 58.91 1208.02 75.24V193.77C1208.02 199.53 1212.68 204.19 1218.44 204.19ZM1237.63 66.47H1368.13C1372.97 66.47 1376.9 70.41 1376.9 75.24V122.39C1376.9 127.23 1372.96 131.16 1368.13 131.16H1228.86V75.23C1228.86 70.41 1232.79 66.47 1237.63 66.47Z" fill="#CE3935"></path><path d="M1430.64 204.19C1436.39 204.19 1441.06 199.53 1441.06 193.77V152H1523.95C1524.57 153.18 1525.42 154.26 1526.51 155.17L1581.89 201.23C1583.83 202.85 1586.2 203.64 1588.55 203.64C1591.54 203.64 1594.5 202.36 1596.57 199.88C1600.25 195.46 1599.64 188.89 1595.22 185.21L1555.29 152H1580.33C1596.66 152 1609.94 138.72 1609.94 122.39V75.24C1609.94 58.91 1596.66 45.63 1580.33 45.63H1449.83C1433.5 45.63 1420.22 58.91 1420.22 75.24V193.77C1420.22 199.53 1424.88 204.19 1430.64 204.19ZM1449.83 66.47H1580.33C1585.17 66.47 1589.1 70.41 1589.1 75.24V122.39C1589.1 127.23 1585.17 131.16 1580.33 131.16H1441.06V75.23C1441.05 70.41 1444.99 66.47 1449.83 66.47Z" fill="#CE3935"></path>', 10)
|
34
|
-
]));
|
34
|
+
])]);
|
35
35
|
}
|
36
36
|
const ee = /* @__PURE__ */ y(fe, [["render", xe]]), ve = {
|
37
37
|
components: { IconChevronDown: K },
|
@@ -188,7 +188,7 @@ const Ce = /* @__PURE__ */ y(ve, [["render", ye]]), ze = {}, Me = {
|
|
188
188
|
"stroke-linejoin": "round"
|
189
189
|
};
|
190
190
|
function He(t, e, r, s, a, l) {
|
191
|
-
return n(), u("svg", Me, e[0] || (e[0] = [
|
191
|
+
return n(), u("svg", Me, [...e[0] || (e[0] = [
|
192
192
|
o("circle", {
|
193
193
|
cx: "12",
|
194
194
|
cy: "12",
|
@@ -196,7 +196,7 @@ function He(t, e, r, s, a, l) {
|
|
196
196
|
}, null, -1),
|
197
197
|
o("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }, null, -1),
|
198
198
|
o("path", { d: "M12 17h.01" }, null, -1)
|
199
|
-
]));
|
199
|
+
])]);
|
200
200
|
}
|
201
201
|
const te = /* @__PURE__ */ y(ze, [["render", He]]), Le = {}, Ve = {
|
202
202
|
class: "shrink-0 size-4 rounded-full",
|
@@ -204,9 +204,9 @@ const te = /* @__PURE__ */ y(ze, [["render", He]]), Le = {}, Ve = {
|
|
204
204
|
viewBox: "0 0 512 512"
|
205
205
|
};
|
206
206
|
function $e(t, e, r, s, a, l) {
|
207
|
-
return n(), u("svg", Ve, e[0] || (e[0] = [
|
207
|
+
return n(), u("svg", Ve, [...e[0] || (e[0] = [
|
208
208
|
Q('<g fill-rule="evenodd"><g stroke-width="1pt"><path fill="#bd3d44" d="M0 0h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0z" transform="scale(3.9385)"></path><path fill="#fff" d="M0 10h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0z" transform="scale(3.9385)"></path></g><path fill="#192f5d" d="M0 0h98.8v70H0z" transform="scale(3.9385)"></path><path fill="#fff" d="M8.2 3l1 2.8H12L9.7 7.5l.9 2.7-2.4-1.7L6 10.2l.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7L74 8.5l-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 7.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 24.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 21.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 38.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 35.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 52.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 49.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 66.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 63.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9z" transform="scale(3.9385)"></path></g>', 1)
|
209
|
-
]));
|
209
|
+
])]);
|
210
210
|
}
|
211
211
|
const Ie = /* @__PURE__ */ y(Le, [["render", $e]]), Oe = {}, De = {
|
212
212
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -218,7 +218,7 @@ const Ie = /* @__PURE__ */ y(Le, [["render", $e]]), Oe = {}, De = {
|
|
218
218
|
"xml:space": "preserve"
|
219
219
|
};
|
220
220
|
function je(t, e, r, s, a, l) {
|
221
|
-
return n(), u("svg", De, e[0] || (e[0] = [
|
221
|
+
return n(), u("svg", De, [...e[0] || (e[0] = [
|
222
222
|
o("defs", null, null, -1),
|
223
223
|
o("g", {
|
224
224
|
style: { stroke: "none", "stroke-width": "0", "stroke-dasharray": "none", "stroke-linecap": "butt", "stroke-linejoin": "miter", "stroke-miterlimit": "10", fill: "none", "fill-rule": "nonzero", opacity: "1" },
|
@@ -237,7 +237,7 @@ function je(t, e, r, s, a, l) {
|
|
237
237
|
"stroke-linecap": "round"
|
238
238
|
})
|
239
239
|
], -1)
|
240
|
-
]));
|
240
|
+
])]);
|
241
241
|
}
|
242
242
|
const Ne = /* @__PURE__ */ y(Oe, [["render", je]]), Be = {}, Ee = {
|
243
243
|
class: "shrink-0 size-3.5 text-gray-800 dark:text-neutral-200",
|
@@ -252,9 +252,9 @@ const Ne = /* @__PURE__ */ y(Oe, [["render", je]]), Be = {}, Ee = {
|
|
252
252
|
"stroke-linejoin": "round"
|
253
253
|
};
|
254
254
|
function Te(t, e, r, s, a, l) {
|
255
|
-
return n(), u("svg", Ee, e[0] || (e[0] = [
|
255
|
+
return n(), u("svg", Ee, [...e[0] || (e[0] = [
|
256
256
|
o("polyline", { points: "20 6 9 17 4 12" }, null, -1)
|
257
|
-
]));
|
257
|
+
])]);
|
258
258
|
}
|
259
259
|
const Ue = /* @__PURE__ */ y(Be, [["render", Te]]), Ze = {
|
260
260
|
components: { IconQuestion: te, IconUSA: Ie, IconUkraine: Ne, IconTick: Ue },
|
@@ -626,9 +626,9 @@ const ut = /* @__PURE__ */ y(tt, [["render", st]]), it = { class: "relative w-fi
|
|
626
626
|
class: "flex items-center gap-x-3 py-2 px-3 rounded-lg text-sm text-gray-800 hover:bg-gray-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-hidden focus:bg-gray-100 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
|
627
627
|
to: "/admin.settings"
|
628
628
|
}, {
|
629
|
-
default: _(() => s[1] || (s[1] = [
|
630
|
-
V(" Налаштування ")
|
631
|
-
])),
|
629
|
+
default: _(() => [...s[1] || (s[1] = [
|
630
|
+
V(" Налаштування ", -1)
|
631
|
+
])]),
|
632
632
|
_: 1
|
633
633
|
})
|
634
634
|
]),
|
@@ -787,9 +787,9 @@ const wt = /* @__PURE__ */ y(ft, [["render", _t], ["__scopeId", "data-v-3cea82a7
|
|
787
787
|
}, Ct = {
|
788
788
|
components: {
|
789
789
|
IconQuestion: te,
|
790
|
-
IconUser:
|
790
|
+
IconUser: ie,
|
791
791
|
AdminNotification: Y,
|
792
|
-
IconUserOutline:
|
792
|
+
IconUserOutline: ue,
|
793
793
|
IconLogout: G
|
794
794
|
},
|
795
795
|
data() {
|
@@ -817,12 +817,12 @@ const wt = /* @__PURE__ */ y(ft, [["render", _t], ["__scopeId", "data-v-3cea82a7
|
|
817
817
|
}
|
818
818
|
},
|
819
819
|
created() {
|
820
|
-
this.userData = this.$user,
|
820
|
+
this.userData = this.$user, ce.value = this.$settings;
|
821
821
|
},
|
822
822
|
methods: {
|
823
823
|
async logout() {
|
824
824
|
try {
|
825
|
-
await
|
825
|
+
await de.get("/logout"), await window.history.pushState({}, "", "/login"), await location.reload(), localStorage.removeItem("user");
|
826
826
|
} catch {
|
827
827
|
}
|
828
828
|
},
|
@@ -861,9 +861,9 @@ function Et(t, e, r, s, a, l) {
|
|
861
861
|
o("div", {
|
862
862
|
class: "flex lg:hidden",
|
863
863
|
onClick: e[0] || (e[0] = (k) => t.$parent.showMenu = !0)
|
864
|
-
}, e[4] || (e[4] = [
|
864
|
+
}, [...e[4] || (e[4] = [
|
865
865
|
Q('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-menu-2"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l16 0"></path><path d="M4 12l16 0"></path><path d="M4 18l16 0"></path></svg>', 1)
|
866
|
-
])),
|
866
|
+
])]),
|
867
867
|
o("div", zt, [
|
868
868
|
h(x, { trigger: "hover" }, {
|
869
869
|
reference: _(() => [
|
@@ -875,7 +875,7 @@ function Et(t, e, r, s, a, l) {
|
|
875
875
|
])
|
876
876
|
]),
|
877
877
|
default: _(() => [
|
878
|
-
e[5] || (e[5] = V(" Допомога "))
|
878
|
+
e[5] || (e[5] = V(" Допомога ", -1))
|
879
879
|
]),
|
880
880
|
_: 1
|
881
881
|
}),
|
@@ -886,7 +886,7 @@ function Et(t, e, r, s, a, l) {
|
|
886
886
|
])
|
887
887
|
]),
|
888
888
|
default: _(() => [
|
889
|
-
e[6] || (e[6] = V(" Сповіщення "))
|
889
|
+
e[6] || (e[6] = V(" Сповіщення ", -1))
|
890
890
|
]),
|
891
891
|
_: 1
|
892
892
|
}),
|
@@ -911,7 +911,7 @@ function Et(t, e, r, s, a, l) {
|
|
911
911
|
];
|
912
912
|
}),
|
913
913
|
default: _(() => [
|
914
|
-
e[7] || (e[7] = V(" Профіль "))
|
914
|
+
e[7] || (e[7] = V(" Профіль ", -1))
|
915
915
|
]),
|
916
916
|
_: 1
|
917
917
|
})
|
@@ -956,7 +956,7 @@ function Et(t, e, r, s, a, l) {
|
|
956
956
|
}, {
|
957
957
|
default: _(() => [
|
958
958
|
h(H, { class: "size-4" }),
|
959
|
-
e[8] || (e[8] = V(" Профіль "))
|
959
|
+
e[8] || (e[8] = V(" Профіль ", -1))
|
960
960
|
]),
|
961
961
|
_: 1
|
962
962
|
})
|
@@ -970,7 +970,7 @@ function Et(t, e, r, s, a, l) {
|
|
970
970
|
class: "w-full flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 hover:text-red-500 focus:outline-none focus:bg-gray-100 focus:text-red-500 dark:text-white dark:hover:bg-neutral-800 dark:focus:bg-neutral-800 dark:hover:text-red-500 dark:focus:text-red-500"
|
971
971
|
}, [
|
972
972
|
h(E, { class: "size-4" }),
|
973
|
-
e[9] || (e[9] = V(" Вийти "))
|
973
|
+
e[9] || (e[9] = V(" Вийти ", -1))
|
974
974
|
])
|
975
975
|
])
|
976
976
|
])) : w("", !0)
|
package/dist/admin.js
CHANGED