@opengis/admin 0.2.100 → 0.2.101

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. package/README.md +97 -97
  2. package/config.js +4 -4
  3. package/dist/add-page-CIxr0QVt.js +117 -0
  4. package/dist/{admin-interface-DFFEal-W.js → admin-interface-DohUSsAx.js} +4 -4
  5. package/dist/{admin-view-b5KwotVh.js → admin-view-hNFc7Wm7.js} +2 -2
  6. package/dist/admin.js +1 -1
  7. package/dist/admin.umd.cjs +50 -50
  8. package/dist/assets/logo.svg +41 -41
  9. package/dist/{card-view-B3HWf-ai.js → card-view-BXGlPipy.js} +1 -1
  10. package/dist/edit-page-COqubwSc.js +138 -0
  11. package/dist/{import-file-KIwaXkBT.js → import-file-CIA2eGIc.js} +9174 -9173
  12. package/dist/style.css +1 -1
  13. package/module/settings/card/admin.accounts.table/index.yml +7 -7
  14. package/module/settings/card/admin.accounts.table/rules.hbs +18 -18
  15. package/module/settings/card/admin.accounts.table/users.hbs +13 -13
  16. package/module/settings/card/admin.routes.table/groups.hbs +11 -11
  17. package/module/settings/card/admin.routes.table/index.yml +11 -11
  18. package/module/settings/card/admin.routes.table/users.hbs +16 -16
  19. package/module/settings/cls/core.actions.json +17 -17
  20. package/module/settings/cls/core.scope.json +13 -13
  21. package/module/settings/cls/properties.site_status.json +13 -13
  22. package/module/settings/cls/properties.widget_status.json +13 -13
  23. package/module/settings/cls/users.user_type.json +13 -13
  24. package/module/settings/cls/yes_no.json +11 -11
  25. package/module/settings/form/admin.accounts.form.json +13 -13
  26. package/module/settings/form/admin.properties.form.json +15 -15
  27. package/module/settings/form/admin.roles.form.json +21 -21
  28. package/module/settings/form/admin.user_properties.form.json +15 -15
  29. package/module/settings/form/admin.user_roles_card.form.json +13 -13
  30. package/module/settings/interface/admin.properties.json +4 -4
  31. package/module/settings/interface/admin.roles.json +4 -4
  32. package/module/settings/interface/admin.routes.json +4 -4
  33. package/module/settings/interface/admin.users.json +4 -4
  34. package/module/settings/select/core.routes.sql +1 -1
  35. package/module/settings/select/core.user_mentioned.sql +1 -1
  36. package/module/settings/select/core.user_uid.sql +1 -1
  37. package/module/settings/table/admin.properties.table.json +39 -39
  38. package/module/settings/table/admin.user_properties.table.json +34 -34
  39. package/package.json +2 -2
  40. package/plugin.js +29 -29
  41. package/server/helpers/core/badge.js +16 -16
  42. package/server/helpers/core/buttonHelper.js +21 -21
  43. package/server/helpers/core/select.js +48 -48
  44. package/server/helpers/core/token.js +18 -18
  45. package/server/helpers/index.js +31 -31
  46. package/server/helpers/list/buttonHelper.js +21 -21
  47. package/server/helpers/list/utils/button.js +5 -5
  48. package/server/helpers/temp/contentList.js +58 -58
  49. package/server/helpers/temp/ifCond.js +101 -101
  50. package/server/helpers/utils/button.js +5 -5
  51. package/server/plugins/access/index.mjs +6 -6
  52. package/server/plugins/adminHook.js +81 -81
  53. package/server/plugins/cron.js +10 -10
  54. package/server/plugins/docs.js +28 -28
  55. package/server/routes/access/controllers/access.group.js +29 -29
  56. package/server/routes/access/controllers/access.group.post.js +54 -54
  57. package/server/routes/access/index.mjs +11 -11
  58. package/server/routes/access/schema.mjs +67 -67
  59. package/server/routes/calendar/controllers/calendar.data.js +125 -125
  60. package/server/routes/calendar/index.mjs +7 -7
  61. package/server/routes/calendar/schema.js +21 -21
  62. package/server/routes/data/controllers/cardData.js +106 -106
  63. package/server/routes/data/controllers/cardTabData.js +49 -49
  64. package/server/routes/data/controllers/funcs/getFilterSQL/index.js +92 -92
  65. package/server/routes/data/controllers/funcs/getFilterSQL/util/formatValue.js +170 -170
  66. package/server/routes/data/controllers/funcs/getFilterSQL/util/getCustomQuery.js +13 -13
  67. package/server/routes/data/controllers/funcs/getFilterSQL/util/getFilterQuery.js +64 -64
  68. package/server/routes/data/controllers/funcs/getFilterSQL/util/getOptimizedQuery.js +12 -12
  69. package/server/routes/data/controllers/funcs/getFilterSQL/util/getTableSql.js +34 -34
  70. package/server/routes/data/controllers/tableData.js +29 -29
  71. package/server/routes/data/controllers/tableDataId.js +27 -27
  72. package/server/routes/data/controllers/tableFilter.js +96 -96
  73. package/server/routes/data/controllers/tokenInfo.js +9 -9
  74. package/server/routes/data/controllers/utils/assignTokens.js +30 -30
  75. package/server/routes/data/controllers/utils/conditions.js +20 -20
  76. package/server/routes/data/controllers/utils/getColumns.js +8 -8
  77. package/server/routes/data/index.mjs +20 -20
  78. package/server/routes/data/schema.js +54 -54
  79. package/server/routes/menu/index.mjs +5 -5
  80. package/server/routes/notifications/controllers/readNotifications.js +27 -27
  81. package/server/routes/notifications/controllers/testEmail.js +35 -35
  82. package/server/routes/notifications/controllers/userNotifications.js +53 -53
  83. package/server/routes/notifications/funcs/addNotification.js +21 -21
  84. package/server/routes/notifications/funcs/sendNotification.js +92 -92
  85. package/server/routes/notifications/hook/onWidgetSet.js +57 -57
  86. package/server/routes/notifications/index.mjs +26 -26
  87. package/server/routes/notifications/schema.js +16 -16
  88. package/server/routes/print/controllers/cardPrint.js +134 -134
  89. package/server/routes/properties/funcs/getSettings.js +56 -56
  90. package/server/routes/properties/schema.js +10 -10
  91. package/server/routes/root.mjs +3 -3
  92. package/server/routes/templates/controllers/getTemplate.js +49 -49
  93. package/server/routes/templates/index.mjs +16 -16
  94. package/server/routes/templates/schema.js +8 -8
  95. package/server/routes/user/controllers/user.cls.id.js +14 -14
  96. package/server/routes/user/controllers/user.cls.js +71 -71
  97. package/server/routes/user/controllers/user.info.js +17 -17
  98. package/server/routes/user/schema.js +14 -14
  99. package/server/routes/widget/controllers/utils/obj2db.js +13 -13
  100. package/server/routes/widget/controllers/widget.del.js +47 -47
  101. package/server/routes/widget/controllers/widget.set.js +76 -76
  102. package/server/routes/widget/index.mjs +11 -11
  103. package/server/routes/widget/schema.js +12 -12
  104. package/server/templates/cls/itree.recrzone_category.json +73 -73
  105. package/server/templates/cls/test.json +9 -9
  106. package/server/templates/form/admin.user_cls.data.form.json +49 -49
  107. package/server/templates/form/admin.user_group_rel.form.json +21 -21
  108. package/server/templates/form/form-user-pass.json +10 -10
  109. package/server/templates/form/form-user_group.json +39 -39
  110. package/server/templates/form/form-users.json +156 -156
  111. package/server/templates/form/user_group_access.form.json +22 -22
  112. package/server/templates/select/account_id.json +2 -2
  113. package/server/templates/setting/test.json +5 -5
  114. package/server/templates/table/gis.dataset.table.json +43 -43
  115. package/server/templates/table/management.user_group.table.json +112 -112
  116. package/server/templates/table/management.users.table.json +126 -126
  117. package/utils.js +29 -29
  118. package/dist/add-page-BPeSBq3h.js +0 -104
  119. package/dist/edit-page-9C2XLl8H.js +0 -125
package/README.md CHANGED
@@ -1,97 +1,97 @@
1
- ![alt text](https://cdn.softpro.ua/data/npm/admin/opengis-admin.png)
2
-
3
- [![NPM version](https://img.shields.io/npm/v/@opengis/admin?style=plain)](https://www.npmjs.com/package/@opengis/admin)
4
- [![NPM last update](https://img.shields.io/npm/last-update/@opengis/admin?style=plain)]()
5
- [![NPM downloads](https://img.shields.io/npm/dw/@opengis/admin?style=plain)]()
6
- [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=plain)](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>&nbsp;&nbsp;
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>&nbsp;&nbsp;
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>&nbsp;&nbsp;
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>&nbsp;&nbsp;
93
- </p>
94
-
95
- ### License
96
-
97
- Copyright © SOFTPRO. All rights reserved.
1
+ ![alt text](https://cdn.softpro.ua/data/npm/admin/opengis-admin.png)
2
+
3
+ [![NPM version](https://img.shields.io/npm/v/@opengis/admin?style=plain)](https://www.npmjs.com/package/@opengis/admin)
4
+ [![NPM last update](https://img.shields.io/npm/last-update/@opengis/admin?style=plain)]()
5
+ [![NPM downloads](https://img.shields.io/npm/dw/@opengis/admin?style=plain)]()
6
+ [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=plain)](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>&nbsp;&nbsp;
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>&nbsp;&nbsp;
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>&nbsp;&nbsp;
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>&nbsp;&nbsp;
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;
@@ -0,0 +1,117 @@
1
+ import { _ as h, u as p, e as u } from "./import-file-CIA2eGIc.js";
2
+ import { resolveComponent as d, openBlock as b, createElementBlock as g, createElementVNode as n, createBlock as f, normalizeStyle as x, createCommentVNode as w } from "vue";
3
+ const y = {
4
+ data() {
5
+ return {
6
+ formValues: {},
7
+ scheme: null,
8
+ table: "",
9
+ token: "",
10
+ api: "",
11
+ style: null
12
+ };
13
+ },
14
+ mounted() {
15
+ this.getFormScheme();
16
+ },
17
+ methods: {
18
+ flattenMenu(e) {
19
+ const t = [];
20
+ return e.forEach((s) => {
21
+ s.menu ? t.push(...this.flattenMenu(s.menu)) : t.push(s);
22
+ }), t;
23
+ },
24
+ async getFormScheme() {
25
+ var i, a;
26
+ const e = this.flattenMenu(p.value);
27
+ e != null && e.length || this.$router.replace("/404");
28
+ const t = e == null ? void 0 : e.find((r) => {
29
+ var o, l;
30
+ return (r == null ? void 0 : r.path) == ((l = (o = this.$route) == null ? void 0 : o.query) == null ? void 0 : l.table);
31
+ });
32
+ t || this.$router.replace("/404");
33
+ const s = t == null ? void 0 : t.table;
34
+ this.table = s;
35
+ try {
36
+ const r = await u.get(`/api/table-data/${s}`), { data: o } = await u.get(
37
+ `/api/template/form/${(i = r == null ? void 0 : r.data) == null ? void 0 : i.form}`
38
+ );
39
+ this.scheme = (o == null ? void 0 : o.schema) || o, this.style = (o == null ? void 0 : o.style) || null, this.api = (o == null ? void 0 : o.api) || "", this.token = (a = r == null ? void 0 : r.data) == null ? void 0 : a.addToken;
40
+ } catch {
41
+ }
42
+ },
43
+ getGroupedErrorNotification(e, t) {
44
+ if (!e || !t) return "";
45
+ const s = {};
46
+ return Object.entries(e).forEach(([a, r]) => {
47
+ var l;
48
+ const o = ((l = t[a]) == null ? void 0 : l.ua) || a;
49
+ r.forEach((m) => {
50
+ const c = m.message;
51
+ s[c] || (s[c] = []), s[c].push(`"${o}"`);
52
+ });
53
+ }), Object.entries(s).map(([a, r]) => `<b>${a}:</b> ${r.join(", ")}`).join("<br>") || "Сталася помилка валідації";
54
+ },
55
+ async createObject() {
56
+ const e = this.$refs.form;
57
+ try {
58
+ await e.doValidation(), await u.post(
59
+ this.api || `/api/table/${this.token}`,
60
+ this.formValues
61
+ ), await this.$router.back(), await this.$notify({
62
+ title: "Успішно!",
63
+ message: "Об'єкт успішно створено",
64
+ type: "success"
65
+ });
66
+ } catch {
67
+ const s = this.getGroupedErrorNotification(
68
+ e == null ? void 0 : e.formErrors,
69
+ e == null ? void 0 : e.scheme
70
+ );
71
+ this.$notify({
72
+ title: "Помилка!",
73
+ message: s,
74
+ type: "error"
75
+ });
76
+ }
77
+ }
78
+ }
79
+ }, k = { class: "bg-gray-50 lg:w-[calc(100vw-260px)] w-[100vw]" }, v = { class: "h-[76px] mt-[15px] flex items-center justify-between mx-[20px] px-[20px] bg-white border rounded-xl" }, V = { class: "flex items-center gap-[6px]" }, _ = {
80
+ style: { height: "calc(100vh - 165px)" },
81
+ class: "bg-gray-50 p-[20px] flex lg:w-[calc(100vw-260px)] w-[100vw]"
82
+ }, $ = { class: "bg-white w-full rounded-xl border p-[20px] overflow-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar:horizontal]:h-[8px] [&::-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" };
83
+ function j(e, t, s, i, a, r) {
84
+ const o = d("VsForm");
85
+ return b(), g("div", k, [
86
+ n("div", v, [
87
+ t[3] || (t[3] = n("h2", { class: "text-xl font-medium" }, "Створити", -1)),
88
+ n("div", V, [
89
+ n("button", {
90
+ onClick: t[0] || (t[0] = (l) => e.$router.back()),
91
+ class: "flex items-center px-3 py-2 text-sm font-medium text-gray-800 duration-300 bg-white border border-gray-100 rounded-lg shadow gap-x-2 focus:outline-none hover:bg-gray-50 hover:border-gray-100"
92
+ }, " Скасувати "),
93
+ n("button", {
94
+ onClick: t[1] || (t[1] = (...l) => r.createObject && r.createObject(...l)),
95
+ class: "inline-flex items-center px-3 py-2 text-sm font-medium text-white duration-300 bg-blue-600 border border-transparent rounded-lg gap-x-2 hover:bg-blue-700 hover:text-white"
96
+ }, " Зберегти ")
97
+ ])
98
+ ]),
99
+ n("div", _, [
100
+ n("div", $, [
101
+ a.scheme ? (b(), f(o, {
102
+ key: 0,
103
+ ref: "form",
104
+ scheme: a.scheme,
105
+ style: x(a.style),
106
+ modelValue: a.formValues,
107
+ "onUpdate:modelValue": t[2] || (t[2] = (l) => a.formValues = l),
108
+ class: "p-0 mt-[20px]"
109
+ }, null, 8, ["scheme", "style", "modelValue"])) : w("", !0)
110
+ ])
111
+ ])
112
+ ]);
113
+ }
114
+ const O = /* @__PURE__ */ h(y, [["render", j]]);
115
+ export {
116
+ O as default
117
+ };
@@ -1,4 +1,4 @@
1
- import { _ as T, g as Re, h as Je, i as Ge, e as F, I as Le, j as Me, k as B, A as N, V as Ke, l as Qe, m as Xe, n as Ye, o as Ze, p as et, q as tt, a as st, r as nt, u as je, s as lt } from "./import-file-KIwaXkBT.js";
1
+ import { _ as T, g as Re, h as Je, i as Ge, e as F, I as Le, j as Me, k as B, A as N, V as Ke, l as Qe, m as Xe, n as Ye, o as Ze, p as et, q as tt, a as st, r as nt, u as je, s as lt } from "./import-file-CIA2eGIc.js";
2
2
  import { openBlock as o, createElementBlock as i, createTextVNode as P, toDisplayString as $, createElementVNode as l, normalizeClass as S, createCommentVNode as v, resolveComponent as b, Fragment as C, createVNode as g, withCtx as I, createBlock as k, renderList as D, withModifiers as rt, withDirectives as M, vModelRadio as ot, createStaticVNode as at, vModelCheckbox as it, Transition as z, vModelText as dt, renderSlot as ut, vShow as U, Teleport as ct, getCurrentInstance as ze, ref as q, resolveDynamicComponent as O, defineComponent as pt, normalizeStyle as Fe } from "vue";
3
3
  const bt = {
4
4
  data() {
@@ -895,7 +895,7 @@ function zs(t, e, n, a, s, r) {
895
895
  ])
896
896
  ]);
897
897
  }
898
- const qs = /* @__PURE__ */ T(Ps, [["render", zs], ["__scopeId", "data-v-e1f274c9"]]), Os = {
898
+ const qs = /* @__PURE__ */ T(Ps, [["render", zs], ["__scopeId", "data-v-c6318482"]]), Os = {
899
899
  components: {
900
900
  AdminComponentIs: N,
901
901
  AdminTree: qs,
@@ -1806,7 +1806,7 @@ function il(t, e, n, a, s, r) {
1806
1806
  onClick: (j) => {
1807
1807
  r.pushToCard(p == null ? void 0 : p.id), r.pushToLinkCard(r.columns[0], p);
1808
1808
  },
1809
- class: S(["font-medium", [
1809
+ class: S(["font-medium text-start", [
1810
1810
  ...r.getCustomStyles(r.columns[0]),
1811
1811
  (($e = this.tableData) == null ? void 0 : $e.card) === !1 ? "" : " text-blue-600 decoration-2 focus:outline-none focus:underline hover:text-blue-600 hover:underline"
1812
1812
  ]])
@@ -1901,7 +1901,7 @@ function il(t, e, n, a, s, r) {
1901
1901
  ])
1902
1902
  ]);
1903
1903
  }
1904
- const dl = /* @__PURE__ */ T(Bn, [["render", il], ["__scopeId", "data-v-dc5b48b8"]]), ul = {
1904
+ const dl = /* @__PURE__ */ T(Bn, [["render", il], ["__scopeId", "data-v-40106c61"]]), ul = {
1905
1905
  components: { AdminTable: dl },
1906
1906
  data() {
1907
1907
  return {
@@ -1,4 +1,4 @@
1
- import { _ as x, I as K, s as C, a as W, u as T, b as X, c as Y, d as ee, e as A, f as q } from "./import-file-KIwaXkBT.js";
1
+ import { _ as x, I as K, s as C, a as W, u as T, b as X, c as Y, d as ee, e as A, f as q } from "./import-file-CIA2eGIc.js";
2
2
  import { openBlock as n, createElementBlock as i, createElementVNode as o, createStaticVNode as P, resolveComponent as p, normalizeClass as f, createTextVNode as B, toDisplayString as N, createCommentVNode as w, createVNode as h, Transition as te, withCtx as y, withDirectives as re, Fragment as j, renderList as F, vShow as le, createBlock as U, resolveDynamicComponent as S, withModifiers as oe } from "vue";
3
3
  const se = {}, ne = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -661,7 +661,7 @@ function f1(t, e, l, u, s, r) {
661
661
  ])
662
662
  ]);
663
663
  }
664
- const m1 = /* @__PURE__ */ x(h1, [["render", f1], ["__scopeId", "data-v-79c10cab"]]);
664
+ const m1 = /* @__PURE__ */ x(h1, [["render", f1], ["__scopeId", "data-v-34da2042"]]);
665
665
  export {
666
666
  m1 as default
667
667
  };
package/dist/admin.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./import-file-KIwaXkBT.js";
1
+ import { t as e } from "./import-file-CIA2eGIc.js";
2
2
  export {
3
3
  e as default
4
4
  };