@opengis/admin 0.2.149 → 0.3.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.
- package/README.md +97 -97
- package/config.js +4 -4
- package/dist/{add-page-CvL7rYN4.js → add-page-BITdPM_Q.js} +4 -4
- package/dist/{admin-interface-CTzTp9x1.js → admin-interface-B4lFdAo2.js} +15 -15
- package/dist/{admin-view-C-2dbRd9.js → admin-view-BBfaVOCs.js} +7 -7
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +103 -103
- package/dist/assets/logo.svg +41 -41
- package/dist/{card-view-jmneUYgh.js → card-view-Cl_Fctq9.js} +3 -3
- package/dist/{edit-page-Dbk6O_E6.js → edit-page-xZRumD1s.js} +4 -4
- package/dist/{import-file-6A9ezE8C.js → import-file-bNbV7TKQ.js} +17003 -16881
- package/dist/{profile-page-EwvWJwxF.js → profile-page-D0qkXqbP.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/users.user_type.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 +1 -1
- package/server/helpers/core/badge.js +16 -16
- package/server/helpers/core/buttonHelper.js +21 -21
- 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/list/utils/button.js +5 -5
- 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/access/index.mjs +6 -6
- package/server/plugins/adminHook.js +81 -81
- package/server/plugins/cron.js +10 -10
- package/server/plugins/docs.js +28 -28
- package/server/routes/access/controllers/access.group.js +29 -29
- package/server/routes/access/controllers/access.group.post.js +54 -54
- package/server/routes/access/index.mjs +11 -11
- package/server/routes/access/schema.mjs +67 -67
- package/server/routes/calendar/controllers/calendar.data.js +125 -125
- package/server/routes/calendar/index.mjs +7 -7
- package/server/routes/calendar/schema.js +21 -21
- package/server/routes/data/controllers/cardTabData.js +49 -49
- package/server/routes/data/controllers/funcs/getFilterSQL/index.js +92 -92
- package/server/routes/data/controllers/funcs/getFilterSQL/util/formatValue.js +170 -170
- package/server/routes/data/controllers/funcs/getFilterSQL/util/getCustomQuery.js +13 -13
- package/server/routes/data/controllers/funcs/getFilterSQL/util/getFilterQuery.js +64 -64
- package/server/routes/data/controllers/funcs/getFilterSQL/util/getOptimizedQuery.js +12 -12
- package/server/routes/data/controllers/funcs/getFilterSQL/util/getTableSql.js +34 -34
- package/server/routes/data/controllers/tableData.js +31 -31
- package/server/routes/data/controllers/tableDataId.js +27 -27
- package/server/routes/data/controllers/tokenInfo.js +9 -9
- package/server/routes/data/controllers/utils/assignTokens.js +30 -30
- package/server/routes/data/controllers/utils/conditions.js +20 -20
- package/server/routes/data/controllers/utils/getColumns.js +8 -8
- package/server/routes/data/index.mjs +20 -20
- package/server/routes/data/schema.js +54 -54
- package/server/routes/notifications/controllers/readNotifications.js +27 -27
- package/server/routes/notifications/controllers/testEmail.js +35 -35
- package/server/routes/notifications/controllers/userNotifications.js +53 -53
- package/server/routes/notifications/funcs/addNotification.js +21 -21
- package/server/routes/notifications/funcs/sendNotification.js +92 -92
- package/server/routes/notifications/hook/onWidgetSet.js +56 -56
- package/server/routes/notifications/index.mjs +26 -26
- package/server/routes/notifications/schema.js +16 -16
- package/server/routes/print/controllers/cardPrint.js +135 -135
- package/server/routes/properties/schema.js +10 -10
- package/server/routes/report/controllers/data.js +76 -76
- package/server/routes/report/controllers/list.js +18 -18
- package/server/routes/report/index.mjs +7 -7
- package/server/routes/report/utils/formatValue.js +179 -179
- package/server/routes/root.mjs +3 -3
- package/server/routes/templates/controllers/getTemplate.js +49 -49
- package/server/routes/templates/index.mjs +16 -16
- package/server/routes/templates/schema.js +8 -8
- package/server/routes/user/controllers/user.cls.id.js +14 -14
- package/server/routes/user/controllers/user.cls.js +71 -71
- package/server/routes/user/controllers/user.info.js +17 -17
- package/server/routes/user/schema.js +14 -14
- package/server/routes/widget/controllers/widget.del.js +47 -47
- package/server/routes/widget/controllers/widget.set.js +84 -84
- package/server/routes/widget/hook/onWidgetSet.js +12 -12
- package/server/routes/widget/index.mjs +16 -16
- package/server/routes/widget/schema.js +12 -12
- 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/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.
|
package/config.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { readFile } from 'fs/promises';
|
2
|
-
import fs from 'fs';
|
3
|
-
const config = fs.existsSync('config.json') ? JSON.parse(await readFile('config.json')) : {};
|
4
|
-
|
1
|
+
import { readFile } from 'fs/promises';
|
2
|
+
import fs from 'fs';
|
3
|
+
const config = fs.existsSync('config.json') ? JSON.parse(await readFile('config.json')) : {};
|
4
|
+
|
5
5
|
export default config;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { _ as h,
|
2
|
-
import { resolveComponent as d,
|
1
|
+
import { _ as h, e as u, u as p } from "./import-file-bNbV7TKQ.js";
|
2
|
+
import { resolveComponent as d, createElementBlock as g, openBlock as b, createElementVNode as n, createBlock as f, createCommentVNode as x, normalizeStyle as w } from "vue";
|
3
3
|
const y = {
|
4
4
|
data() {
|
5
5
|
return {
|
@@ -104,11 +104,11 @@ function j(t, e, o, i, a, r) {
|
|
104
104
|
key: 0,
|
105
105
|
ref: "form",
|
106
106
|
scheme: a.scheme,
|
107
|
-
style:
|
107
|
+
style: w(a.style),
|
108
108
|
modelValue: a.formValues,
|
109
109
|
"onUpdate:modelValue": e[2] || (e[2] = (l) => a.formValues = l),
|
110
110
|
class: "p-0 mt-[20px]"
|
111
|
-
}, null, 8, ["scheme", "style", "modelValue"])) :
|
111
|
+
}, null, 8, ["scheme", "style", "modelValue"])) : x("", !0)
|
112
112
|
])
|
113
113
|
])
|
114
114
|
]);
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { _ as T, g as Be, h as Oe, i as Ne,
|
2
|
-
import {
|
1
|
+
import { _ as T, g as Be, h as Oe, i as Ne, e as j, I as Ue, j as Pe, k as U, V as Ee, l as He, m as Re, n as We, A as E, o as Je, p as Ge, q as Ke, r as Qe, a as Xe, t as Ye, u as Ve, s as Ze } from "./import-file-bNbV7TKQ.js";
|
2
|
+
import { createElementBlock as i, openBlock as r, createTextVNode as P, createElementVNode as l, toDisplayString as $, createCommentVNode as v, normalizeClass as I, resolveComponent as p, Fragment as A, createVNode as x, withCtx as S, createBlock as k, renderList as D, withModifiers as et, createStaticVNode as tt, withDirectives as z, vModelCheckbox as st, Transition as B, vModelText as nt, renderSlot as lt, vShow as H, Teleport as rt, getCurrentInstance as Fe, ref as O, resolveDynamicComponent as N, defineComponent as at, normalizeStyle as De } from "vue";
|
3
3
|
const ot = {
|
4
4
|
data() {
|
5
5
|
return {
|
@@ -97,9 +97,9 @@ function ct(t, e, n, o, s, a) {
|
|
97
97
|
}
|
98
98
|
const pt = /* @__PURE__ */ T(ot, [["render", ct]]), ht = {
|
99
99
|
components: {
|
100
|
-
IconMore:
|
100
|
+
IconMore: Ne,
|
101
101
|
IconDelete: Oe,
|
102
|
-
IconEdit:
|
102
|
+
IconEdit: Be
|
103
103
|
},
|
104
104
|
emits: ["updateTable"],
|
105
105
|
props: {
|
@@ -169,13 +169,13 @@ const pt = /* @__PURE__ */ T(ot, [["render", ct]]), ht = {
|
|
169
169
|
id: (e = this.item) == null ? void 0 : e.id,
|
170
170
|
api: t == null ? void 0 : t.api,
|
171
171
|
title: t == null ? void 0 : t.title
|
172
|
-
}), await this.$emit("update-table")) : await this.$v3plugin.$api({
|
172
|
+
}), await this.$emit("update-table")) : (await this.$v3plugin.$api({
|
173
173
|
confirm: t == null ? void 0 : t.confirm,
|
174
174
|
api: t == null ? void 0 : t.api,
|
175
175
|
method: t == null ? void 0 : t.method,
|
176
176
|
id: (n = this.item) == null ? void 0 : n.id,
|
177
177
|
isId: (t == null ? void 0 : t.isId) || !1
|
178
|
-
});
|
178
|
+
}), await this.$emit("update-table"));
|
179
179
|
}
|
180
180
|
}
|
181
181
|
}, bt = { class: "inline-flex" }, ft = { class: "inline-flex items-center justify-center bg-white border rounded-lg shadow-sm size-7 gap-x-2 border-stone-200 text-stone-800 hover:bg-stone-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-50" }, gt = { class: "flex flex-col items-start" }, mt = ["onClick"], xt = { class: "text-gray-800" }, yt = {
|
@@ -756,14 +756,14 @@ function vs(t, e, n, o, s, a) {
|
|
756
756
|
])
|
757
757
|
]);
|
758
758
|
}
|
759
|
-
const _s = /* @__PURE__ */ T(gs, [["render", vs], ["__scopeId", "data-v-
|
759
|
+
const _s = /* @__PURE__ */ T(gs, [["render", vs], ["__scopeId", "data-v-c6318482"]]), Cs = {
|
760
760
|
components: {
|
761
761
|
AdminComponentIs: E,
|
762
762
|
AdminTree: _s,
|
763
|
-
VsNoData:
|
764
|
-
VsWidgetComments:
|
765
|
-
VsWidgetMap:
|
766
|
-
VsWidgetFileList:
|
763
|
+
VsNoData: We,
|
764
|
+
VsWidgetComments: Re,
|
765
|
+
VsWidgetMap: He,
|
766
|
+
VsWidgetFileList: Ee
|
767
767
|
},
|
768
768
|
props: { table: String, columns: Array, row: Object }
|
769
769
|
}, ws = {
|
@@ -1293,11 +1293,11 @@ const _n = /* @__PURE__ */ T(hn, [["render", vn]]), Cn = {
|
|
1293
1293
|
// AdminTablePrint,
|
1294
1294
|
AdminTableColumnsHidden: cs,
|
1295
1295
|
AdminTableColumn: pt,
|
1296
|
-
AdminNodata:
|
1296
|
+
AdminNodata: Ye,
|
1297
1297
|
IconPlus: U,
|
1298
|
-
IconSearch:
|
1298
|
+
IconSearch: Xe,
|
1299
1299
|
AdminTableCardInfo: js,
|
1300
|
-
IconOpenCard:
|
1300
|
+
IconOpenCard: Qe,
|
1301
1301
|
AdminComponentIs: E,
|
1302
1302
|
AdminTableFilters: Bs,
|
1303
1303
|
AdminTableTabs: Hs,
|
@@ -1364,7 +1364,7 @@ const _n = /* @__PURE__ */ T(hn, [["render", vn]]), Cn = {
|
|
1364
1364
|
this.tableData = null, await this.getTableData();
|
1365
1365
|
},
|
1366
1366
|
searchValue: {
|
1367
|
-
handler:
|
1367
|
+
handler: Ke(async function(t) {
|
1368
1368
|
var e;
|
1369
1369
|
this.page = 1, await this.getTableData(), this.$router.push({
|
1370
1370
|
...this.$route,
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { _ as C, I as G, s as v, a as J, u as T, b as K, c as W, d as X, e as Y, f as ee } from "./import-file-
|
2
|
-
import {
|
1
|
+
import { _ as C, I as G, s as v, a as J, u as T, b as K, c as W, d as X, e as Y, f as ee } from "./import-file-bNbV7TKQ.js";
|
2
|
+
import { createElementBlock as a, openBlock as s, createElementVNode as o, createStaticVNode as A, resolveComponent as g, createCommentVNode as _, createVNode as d, normalizeClass as p, createTextVNode as L, toDisplayString as V, Transition as te, withCtx as k, withDirectives as re, Fragment as Z, renderList as P, vShow as le, createBlock as U, resolveDynamicComponent as S, withModifiers as oe } from "vue";
|
3
3
|
import "./user-B_2kh6ic.js";
|
4
4
|
const ne = {}, se = {
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -472,9 +472,9 @@ function Je(t, e, l, u, n, r) {
|
|
472
472
|
const Ke = /* @__PURE__ */ C(Ae, [["render", Je], ["__scopeId", "data-v-7ea2b8c5"]]), We = {
|
473
473
|
components: {
|
474
474
|
IconQuestion: q,
|
475
|
-
IconUser:
|
475
|
+
IconUser: X,
|
476
476
|
AdminNotification: W,
|
477
|
-
IconUserOutline:
|
477
|
+
IconUserOutline: K,
|
478
478
|
IconLogout: R
|
479
479
|
},
|
480
480
|
data() {
|
@@ -502,12 +502,12 @@ const Ke = /* @__PURE__ */ C(Ae, [["render", Je], ["__scopeId", "data-v-7ea2b8c5
|
|
502
502
|
}
|
503
503
|
},
|
504
504
|
created() {
|
505
|
-
this.userData = this.$user,
|
505
|
+
this.userData = this.$user, ee.value = this.$settings;
|
506
506
|
},
|
507
507
|
methods: {
|
508
508
|
async logout() {
|
509
509
|
try {
|
510
|
-
await
|
510
|
+
await Y.get("/logout"), await window.history.pushState({}, "", "/login"), await location.reload(), localStorage.removeItem("user");
|
511
511
|
} catch {
|
512
512
|
}
|
513
513
|
},
|
@@ -697,7 +697,7 @@ function f1(t, e, l, u, n, r) {
|
|
697
697
|
])
|
698
698
|
]);
|
699
699
|
}
|
700
|
-
const k1 = /* @__PURE__ */ C(h1, [["render", f1], ["__scopeId", "data-v-
|
700
|
+
const k1 = /* @__PURE__ */ C(h1, [["render", f1], ["__scopeId", "data-v-34da2042"]]);
|
701
701
|
export {
|
702
702
|
k1 as default
|
703
703
|
};
|
package/dist/admin.js
CHANGED