@opengis/admin 0.1.36 → 0.1.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/README.md +29 -29
  2. package/config.js +4 -4
  3. package/dist/IconSearch-BtomZb8r.js +26 -0
  4. package/dist/{add-page-C5g2yN5N.js → add-page-B2luTaID.js} +1 -1
  5. package/dist/{admin-interface-zpEN5ODZ.js → admin-interface-BTkZcKR5.js} +155 -154
  6. package/dist/{admin-view-DD8_bEjC.js → admin-view--m-d7PyT.js} +75 -74
  7. package/dist/admin.js +1 -1
  8. package/dist/admin.umd.cjs +85 -85
  9. package/dist/{card-page-BpMHxKbw.js → card-page-DD80MOw6.js} +21 -21
  10. package/dist/{card-view-Ddro0nc4.js → card-view-BGniLwQl.js} +1 -1
  11. package/dist/{edit-page-BL9SogVY.js → edit-page-DS2vRs3y.js} +1 -1
  12. package/dist/{import-file-DBSDU17c.js → import-file-ChmncuMJ.js} +14232 -14736
  13. package/dist/style.css +1 -1
  14. package/module/settings/card/admin.roles.table/access.hbs +27 -27
  15. package/module/settings/card/admin.roles.table/general_info.hbs +16 -16
  16. package/module/settings/card/admin.roles.table/index.yml +14 -14
  17. package/module/settings/card/admin.roles.table/users.hbs +27 -27
  18. package/module/settings/card/admin.routes.table/general_info.hbs +40 -40
  19. package/module/settings/card/admin.routes.table/index.yml +8 -8
  20. package/module/settings/card/admin.routes.table/users.hbs +33 -33
  21. package/module/settings/card/admin.users.table/general_info.hbs +25 -25
  22. package/module/settings/card/admin.users.table/index.yml +12 -12
  23. package/module/settings/card/admin.users.table/logs.hbs +30 -30
  24. package/module/settings/card/admin.users.table/user_roles.hbs +24 -24
  25. package/module/settings/cls/core.actions.json +13 -13
  26. package/module/settings/cls/core.scope.json +13 -13
  27. package/module/settings/cls/properties.site_status.json +13 -13
  28. package/module/settings/cls/properties.widget_status.json +13 -13
  29. package/module/settings/cls/users.user_type.json +13 -13
  30. package/module/settings/form/admin.access.form.json +36 -36
  31. package/module/settings/form/admin.properties.form.json +15 -15
  32. package/module/settings/form/admin.roles.form.json +19 -19
  33. package/module/settings/form/admin.routes.form.json +25 -25
  34. package/module/settings/form/admin.table_properties.form.json +70 -70
  35. package/module/settings/form/admin.user_properties.form.json +15 -15
  36. package/module/settings/form/admin.user_roles.form.json +21 -21
  37. package/module/settings/form/admin.users.form.json +150 -150
  38. package/module/settings/form/user.user_roles.form.json +13 -13
  39. package/module/settings/interface/admin.properties.json +4 -4
  40. package/module/settings/interface/admin.roles.json +4 -4
  41. package/module/settings/interface/admin.routes.json +4 -4
  42. package/module/settings/interface/admin.users.json +4 -4
  43. package/module/settings/menu.json +45 -50
  44. package/module/settings/select/core.roles.json +2 -2
  45. package/module/settings/select/core.user_uid.sql +1 -1
  46. package/module/settings/table/admin.access.table.json +77 -77
  47. package/module/settings/table/admin.properties.table.json +33 -33
  48. package/module/settings/table/admin.roles.table.json +58 -58
  49. package/module/settings/table/admin.routes.table.json +55 -55
  50. package/module/settings/table/admin.table_properties.table.json +81 -81
  51. package/module/settings/table/admin.user_properties.table.json +28 -28
  52. package/module/settings/table/admin.user_roles.table.json +66 -66
  53. package/module/settings/table/admin.users.table.json +119 -119
  54. package/package.json +74 -74
  55. package/plugin.js +101 -102
  56. package/server/helpers/controllers/badge.js +11 -11
  57. package/server/helpers/controllers/hb.js +2 -2
  58. package/server/helpers/controllers/map.js +2 -2
  59. package/server/helpers/controllers/mls.js +2 -2
  60. package/server/helpers/controllers/vue.js +2 -2
  61. package/server/helpers/index.mjs +13 -13
  62. package/server/plugins/docs.js +28 -28
  63. package/server/plugins/hook.js +166 -166
  64. package/server/plugins/vite.js +69 -69
  65. package/server/routes/data/controllers/cardData.js +56 -56
  66. package/server/routes/data/controllers/cardTabData.js +39 -39
  67. package/server/routes/data/controllers/funcs/getFilterSQL/index.js +85 -85
  68. package/server/routes/data/controllers/funcs/getFilterSQL/util/formatValue.js +142 -142
  69. package/server/routes/data/controllers/funcs/getFilterSQL/util/getCustomQuery.js +13 -13
  70. package/server/routes/data/controllers/funcs/getFilterSQL/util/getFilterQuery.js +67 -67
  71. package/server/routes/data/controllers/funcs/getFilterSQL/util/getOptimizedQuery.js +12 -12
  72. package/server/routes/data/controllers/funcs/getFilterSQL/util/getTableSql.js +34 -34
  73. package/server/routes/data/controllers/tableData.js +121 -121
  74. package/server/routes/data/controllers/tableDataId.js +27 -27
  75. package/server/routes/data/controllers/tableFilter.js +55 -55
  76. package/server/routes/data/controllers/utils/assignTokens.js +30 -30
  77. package/server/routes/data/controllers/utils/getColumns.js +21 -21
  78. package/server/routes/data/index.mjs +12 -12
  79. package/server/routes/menu/controllers/getMenu.js +33 -33
  80. package/server/routes/menu/index.mjs +5 -5
  81. package/server/routes/properties/controllers/admin.properties.get.js +29 -29
  82. package/server/routes/properties/controllers/user.properties.get.js +34 -34
  83. package/server/routes/properties/controllers/user.properties.post.js +30 -30
  84. package/server/routes/properties/funcs/getSettings.js +56 -56
  85. package/server/routes/properties/funcs/setSettings.js +44 -44
  86. package/server/routes/properties/funcs/utils/dataInsert.js +26 -26
  87. package/server/routes/properties/index.mjs +26 -26
  88. package/server/routes/root.mjs +3 -3
  89. package/server/routes/templates/controllers/getTemplate.js +14 -14
  90. package/server/routes/templates/index.mjs +14 -14
  91. package/server/templates/cls/itree.recrzone_category.json +73 -73
  92. package/server/templates/cls/test.json +9 -9
  93. package/server/templates/form/admin.user_cls.data.form.json +49 -49
  94. package/server/templates/form/admin.user_group_rel.form.json +21 -21
  95. package/server/templates/form/cp_building.form.json +32 -32
  96. package/server/templates/form/form-user-pass.json +10 -10
  97. package/server/templates/form/form-user_group.json +39 -39
  98. package/server/templates/form/form-users.json +156 -156
  99. package/server/templates/form/user_group_access.form.json +22 -22
  100. package/server/templates/select/account_id.json +2 -2
  101. package/server/templates/table/gis.dataset.table.json +43 -43
  102. package/server/templates/table/management.user_group.table.json +112 -112
  103. package/server/templates/table/management.users.table.json +126 -126
  104. package/utils.js +8 -8
@@ -1,7 +1,8 @@
1
- import { _ as h, I as S, a as T } from "./import-file-DBSDU17c.js";
1
+ import { _ as h, a as D } from "./import-file-ChmncuMJ.js";
2
2
  import { u as y } from "./userMenu-CT1xO2Pt.js";
3
- import { openBlock as c, createElementBlock as u, createElementVNode as o, createStaticVNode as Q, resolveComponent as d, normalizeClass as m, createTextVNode as $, toDisplayString as k, createVNode as p, Transition as A, withCtx as V, withDirectives as G, Fragment as M, renderList as O, vShow as q, createCommentVNode as F } from "vue";
4
- const U = {}, W = {
3
+ import { openBlock as c, createElementBlock as u, createElementVNode as o, createStaticVNode as N, resolveComponent as d, normalizeClass as v, createTextVNode as $, toDisplayString as k, createVNode as p, Transition as O, withCtx as V, withDirectives as S, Fragment as M, renderList as B, vShow as T, createCommentVNode as Q } from "vue";
4
+ import { I as A } from "./IconSearch-BtomZb8r.js";
5
+ const G = {}, q = {
5
6
  xmlns: "http://www.w3.org/2000/svg",
6
7
  viewBox: "0 0 24 24",
7
8
  fill: "none",
@@ -11,8 +12,8 @@ const U = {}, W = {
11
12
  "stroke-linejoin": "round",
12
13
  class: "icon icon-tabler icons-tabler-outline icon-tabler-logout"
13
14
  };
14
- function Y(n, e, t, r, s, l) {
15
- return c(), u("svg", W, e[0] || (e[0] = [
15
+ function F(n, e, t, r, s, l) {
16
+ return c(), u("svg", q, e[0] || (e[0] = [
16
17
  o("path", {
17
18
  stroke: "none",
18
19
  d: "M0 0h24v24H0z",
@@ -23,17 +24,17 @@ function Y(n, e, t, r, s, l) {
23
24
  o("path", { d: "M18 15l3 -3" }, null, -1)
24
25
  ]));
25
26
  }
26
- const J = /* @__PURE__ */ h(U, [["render", Y]]), K = {}, P = {
27
+ const U = /* @__PURE__ */ h(G, [["render", F]]), W = {}, Y = {
27
28
  viewBox: "0 0 1823 249",
28
29
  fill: "none",
29
30
  xmlns: "http://www.w3.org/2000/svg"
30
31
  };
31
- function R(n, e, t, r, s, l) {
32
- return c(), u("svg", P, e[0] || (e[0] = [
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)
32
+ function J(n, e, t, r, s, l) {
33
+ return c(), u("svg", Y, e[0] || (e[0] = [
34
+ N('<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
35
  ]));
35
36
  }
36
- const X = /* @__PURE__ */ h(K, [["render", R]]), e1 = {}, t1 = {
37
+ const K = /* @__PURE__ */ h(W, [["render", J]]), P = {}, R = {
37
38
  xmlns: "http://www.w3.org/2000/svg",
38
39
  viewBox: "0 0 24 24",
39
40
  fill: "none",
@@ -43,8 +44,8 @@ const X = /* @__PURE__ */ h(K, [["render", R]]), e1 = {}, t1 = {
43
44
  "stroke-linejoin": "round",
44
45
  class: "icon icon-tabler icons-tabler-outline icon-tabler-chevron-down"
45
46
  };
46
- function o1(n, e, t, r, s, l) {
47
- return c(), u("svg", t1, e[0] || (e[0] = [
47
+ function X(n, e, t, r, s, l) {
48
+ return c(), u("svg", R, e[0] || (e[0] = [
48
49
  o("path", {
49
50
  stroke: "none",
50
51
  d: "M0 0h24v24H0z",
@@ -53,8 +54,8 @@ function o1(n, e, t, r, s, l) {
53
54
  o("path", { d: "M6 9l6 6l6 -6" }, null, -1)
54
55
  ]));
55
56
  }
56
- const n1 = /* @__PURE__ */ h(e1, [["render", o1]]), r1 = {
57
- components: { IconChevronDown: n1 },
57
+ const e1 = /* @__PURE__ */ h(P, [["render", X]]), t1 = {
58
+ components: { IconChevronDown: e1 },
58
59
  props: { route: Object },
59
60
  mounted() {
60
61
  var n, e, t;
@@ -70,47 +71,47 @@ const n1 = /* @__PURE__ */ h(e1, [["render", o1]]), r1 = {
70
71
  isOpen: !1
71
72
  };
72
73
  }
73
- }, s1 = {
74
+ }, o1 = {
74
75
  key: 0,
75
76
  class: ""
76
- }, a1 = { class: "ml-[30px] py-[6px] before:block before:absolute relative w-[196px] flex flex-col gap-[6px] inline-block before:w-[2px] before:h-[100%] before:bg-gray-100 before:left-[-14px] cursor-pointer" }, l1 = { key: 1 };
77
- function c1(n, e, t, r, s, l) {
78
- var x, _, g, b, w, H, L, I, Z, E, j, z, B;
77
+ }, n1 = { class: "ml-[30px] py-[6px] before:block before:absolute relative w-[196px] flex flex-col gap-[6px] inline-block before:w-[2px] before:h-[100%] before:bg-gray-100 before:left-[-14px] cursor-pointer" }, r1 = { key: 1 };
78
+ function s1(n, e, t, r, s, l) {
79
+ var x, _, g, b, w, H, L, I, Z, E;
79
80
  const C = d("IconChevronDown"), f = d("router-link");
80
- return (x = t.route) != null && x.menu ? (c(), u("div", s1, [
81
+ return (x = t.route) != null && x.menu ? (c(), u("div", o1, [
81
82
  o("button", {
82
83
  onClick: e[0] || (e[0] = (i) => s.isOpen = !s.isOpen),
83
- class: m(["flex cursor-pointer gap-x-3 py-2 px-3 text-sm text-gray-800 justify-start w-full border-none focus:outline-none text-gray-800 rounded-lg items-center hover:bg-gray-100 duration-300", [
84
+ class: v(["flex cursor-pointer gap-x-3 py-2 px-3 text-sm text-gray-800 justify-start w-full border-none focus:outline-none text-gray-800 rounded-lg items-center hover:bg-gray-100 duration-300", [
84
85
  ((g = (_ = t.route) == null ? void 0 : _.menu) == null ? void 0 : g.some(
85
86
  (i) => {
86
- var a, v;
87
- return (i == null ? void 0 : i.path) === n.$route.path.replace("/", "") || (i == null ? void 0 : i.table) === ((v = (a = n.$route) == null ? void 0 : a.params) == null ? void 0 : v.table) && (i == null ? void 0 : i.table);
87
+ var a, m;
88
+ return (i == null ? void 0 : i.path) === n.$route.path.replace("/", "") || (i == null ? void 0 : i.table) === ((m = (a = n.$route) == null ? void 0 : a.params) == null ? void 0 : m.table) && (i == null ? void 0 : i.table);
88
89
  }
89
90
  )) && "bg-gray-100"
90
91
  ]])
91
92
  }, [
92
93
  $(k((b = t.route) == null ? void 0 : b.ua) + " ", 1),
93
94
  p(C, {
94
- class: m([[s.isOpen && "-rotate-180"], "ml-auto duration-300"]),
95
+ class: v([[s.isOpen && "-rotate-180"], "ml-auto duration-300"]),
95
96
  width: "14",
96
97
  height: "14"
97
98
  }, null, 8, ["class"])
98
99
  ], 2),
99
- p(A, { name: "fade" }, {
100
+ p(O, { name: "fade" }, {
100
101
  default: V(() => {
101
102
  var i;
102
103
  return [
103
- G(o("ul", a1, [
104
- (c(!0), u(M, null, O((i = t.route) == null ? void 0 : i.menu, (a, v) => {
105
- var D, N;
104
+ S(o("ul", n1, [
105
+ (c(!0), u(M, null, B((i = t.route) == null ? void 0 : i.menu, (a, m) => {
106
+ var j, z;
106
107
  return c(), u("li", {
107
- key: v,
108
+ key: m,
108
109
  class: "w-full"
109
110
  }, [
110
111
  p(f, {
111
112
  to: "/" + (a == null ? void 0 : a.path),
112
- class: m([[
113
- ((a == null ? void 0 : a.path) === n.$route.path.replace("/", "") || ((N = (D = n.$route) == null ? void 0 : D.params) == null ? void 0 : N.table) === (a == null ? void 0 : a.table) && (a == null ? void 0 : a.table)) && "bg-gray-100"
113
+ class: v([[
114
+ ((a == null ? void 0 : a.path) === n.$route.path.replace("/", "") || ((z = (j = n.$route) == null ? void 0 : j.params) == null ? void 0 : z.table) === (a == null ? void 0 : a.table) && (a == null ? void 0 : a.table)) && "bg-gray-100"
114
115
  ], "flex gap-x-4 py-2 px-3 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-none focus:bg-gray-100"])
115
116
  }, {
116
117
  default: V(() => [
@@ -121,17 +122,17 @@ function c1(n, e, t, r, s, l) {
121
122
  ]);
122
123
  }), 128))
123
124
  ], 512), [
124
- [q, s.isOpen]
125
+ [T, s.isOpen]
125
126
  ])
126
127
  ];
127
128
  }),
128
129
  _: 1
129
130
  })
130
- ])) : (c(), u("div", l1, [
131
+ ])) : (c(), u("div", r1, [
131
132
  p(f, {
132
- to: ((H = (w = t.route) == null ? void 0 : w.path) == null ? void 0 : H[0]) === "/" ? (L = t.route) == null ? void 0 : L.path : "/" + ((I = t.route) == null ? void 0 : I.path),
133
- class: m([[
134
- (((Z = t.route) == null ? void 0 : Z.path.replace("/", "")) === n.$route.path.replace("/", "") || ((j = (E = n.$route) == null ? void 0 : E.params) == null ? void 0 : j.table) === ((z = t.route) == null ? void 0 : z.table) && ((B = t.route) == null ? void 0 : B.table)) && "bg-gray-100"
133
+ to: (w = t.route) == null ? void 0 : w.path,
134
+ class: v([[
135
+ (((H = t.route) == null ? void 0 : H.path.replace("/", "")) === n.$route.path.replace("/", "") || ((I = (L = n.$route) == null ? void 0 : L.params) == null ? void 0 : I.table) === ((Z = t.route) == null ? void 0 : Z.table) && ((E = t.route) == null ? void 0 : E.table)) && "bg-gray-100"
135
136
  ], "flex gap-x-3 py-2 w-full font-[400] px-3 text-sm text-gray-800 rounded-lg items-center hover:bg-gray-100 duration-300 hover:text-gray-800"])
136
137
  }, {
137
138
  default: V(() => {
@@ -144,8 +145,8 @@ function c1(n, e, t, r, s, l) {
144
145
  }, 8, ["to", "class"])
145
146
  ]));
146
147
  }
147
- const u1 = /* @__PURE__ */ h(r1, [["render", c1]]), i1 = {
148
- components: { IconLogout: J, NavbarItem: u1, IconLogo: X, IconSearch: S },
148
+ const a1 = /* @__PURE__ */ h(t1, [["render", s1]]), l1 = {
149
+ components: { IconLogout: U, NavbarItem: a1, IconLogo: K, IconSearch: A },
149
150
  data() {
150
151
  return {
151
152
  activeIndex: null,
@@ -172,23 +173,23 @@ const u1 = /* @__PURE__ */ h(r1, [["render", c1]]), i1 = {
172
173
  }), e;
173
174
  }
174
175
  }
175
- }, p1 = { class: "flex flex-col h-[100vh] border-r w-[260px] shrink-0" }, d1 = { class: "relative" }, h1 = { class: "p-[16px] overflow-y-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" }, f1 = { class: "pb-3 w-full flex flex-col flex-wrap" }, C1 = {
176
+ }, c1 = { class: "flex flex-col h-[100vh] border-r w-[260px] shrink-0" }, u1 = { class: "relative" }, i1 = { class: "p-[16px] overflow-y-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" }, p1 = { class: "pb-3 w-full flex flex-col flex-wrap" }, d1 = {
176
177
  key: 0,
177
178
  class: "flex flex-col gap-[6px]"
178
- }, x1 = {
179
+ }, h1 = {
179
180
  key: 1,
180
181
  class: "text-gray-800 text-lg mt-[20px]"
181
182
  };
182
- function b1(n, e, t, r, s, l) {
183
+ function f1(n, e, t, r, s, l) {
183
184
  var g;
184
185
  const C = d("IconLogo"), f = d("IconSearch"), x = d("VsText"), _ = d("NavbarItem");
185
- return c(), u("div", p1, [
186
+ return c(), u("div", c1, [
186
187
  p(C, {
187
188
  height: "40",
188
189
  width: "200",
189
190
  class: "my-[20px] ml-[20px]"
190
191
  }),
191
- o("div", d1, [
192
+ o("div", u1, [
192
193
  p(f, {
193
194
  height: "16",
194
195
  width: "16",
@@ -203,21 +204,21 @@ function b1(n, e, t, r, s, l) {
203
204
  class: "[&>input]:h-[40px] [&>input]:block [&>input]:rounded-none [&>input]:border-x-0 [&>input]:pl-[60px] [&>input:focus]:outline-none [&>input:focus]:focus:ring-0 [&>input:focus]:border-y-gray-200 [&>input:focus]:border-y-1 [&>input:focus]:border-x-0"
204
205
  }, null, 8, ["modelValue"])
205
206
  ]),
206
- o("div", h1, [
207
- o("nav", f1, [
208
- (g = l.data) != null && g.length ? (c(), u("ul", C1, [
209
- (c(!0), u(M, null, O(l.data, (b, w) => (c(), u("li", {
207
+ o("div", i1, [
208
+ o("nav", p1, [
209
+ (g = l.data) != null && g.length ? (c(), u("ul", d1, [
210
+ (c(!0), u(M, null, B(l.data, (b, w) => (c(), u("li", {
210
211
  key: w,
211
212
  class: "flex flex-col gap-[6px]"
212
213
  }, [
213
214
  p(_, { route: b }, null, 8, ["route"])
214
215
  ]))), 128))
215
- ])) : (c(), u("div", x1, "Не знайдено"))
216
+ ])) : (c(), u("div", h1, "Не знайдено"))
216
217
  ])
217
218
  ])
218
219
  ]);
219
220
  }
220
- const g1 = /* @__PURE__ */ h(i1, [["render", b1]]), _1 = {}, w1 = {
221
+ const C1 = /* @__PURE__ */ h(l1, [["render", f1]]), x1 = {}, b1 = {
221
222
  class: "flex-shrink-0 size-4",
222
223
  xmlns: "http://www.w3.org/2000/svg",
223
224
  viewBox: "0 0 24 24",
@@ -227,8 +228,8 @@ const g1 = /* @__PURE__ */ h(i1, [["render", b1]]), _1 = {}, w1 = {
227
228
  "stroke-linecap": "round",
228
229
  "stroke-linejoin": "round"
229
230
  };
230
- function v1(n, e, t, r, s, l) {
231
- return c(), u("svg", w1, e[0] || (e[0] = [
231
+ function g1(n, e, t, r, s, l) {
232
+ return c(), u("svg", b1, e[0] || (e[0] = [
232
233
  o("circle", {
233
234
  cx: "12",
234
235
  cy: "12",
@@ -238,7 +239,7 @@ function v1(n, e, t, r, s, l) {
238
239
  o("path", { d: "M12 17h.01" }, null, -1)
239
240
  ]));
240
241
  }
241
- const m1 = /* @__PURE__ */ h(_1, [["render", v1]]), y1 = {}, $1 = {
242
+ const _1 = /* @__PURE__ */ h(x1, [["render", g1]]), w1 = {}, m1 = {
242
243
  class: "flex-shrink-0 size-4",
243
244
  xmlns: "http://www.w3.org/2000/svg",
244
245
  viewBox: "0 0 24 24",
@@ -248,33 +249,33 @@ const m1 = /* @__PURE__ */ h(_1, [["render", v1]]), y1 = {}, $1 = {
248
249
  "stroke-linecap": "round",
249
250
  "stroke-linejoin": "round"
250
251
  };
251
- function k1(n, e, t, r, s, l) {
252
- return c(), u("svg", $1, e[0] || (e[0] = [
252
+ function v1(n, e, t, r, s, l) {
253
+ return c(), u("svg", m1, e[0] || (e[0] = [
253
254
  o("path", { d: "M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9" }, null, -1),
254
255
  o("path", { d: "M10.3 21a1.94 1.94 0 0 0 3.4 0" }, null, -1)
255
256
  ]));
256
257
  }
257
- const V1 = /* @__PURE__ */ h(y1, [["render", k1]]), M1 = {
258
- components: { IconQuestion: m1, IconMessage: V1 }
259
- }, H1 = {
258
+ const y1 = /* @__PURE__ */ h(w1, [["render", v1]]), $1 = {
259
+ components: { IconQuestion: _1, IconMessage: y1 }
260
+ }, k1 = {
260
261
  class: "h-[60px] border-b flex justify-end px-[20px]",
261
262
  style: { width: "calc(100vw - 260px)" }
262
- }, L1 = { class: "flex items-center gap-[6px]" }, I1 = {
263
+ }, V1 = { class: "flex items-center gap-[6px]" }, M1 = {
263
264
  href: "docs-softpro.com",
264
265
  class: "size-[38px] inline-flex justify-center items-center gap-x-2 rounded-full border border-transparent text-gray-500 hover:bg-gray-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-100 dark:text-neutral-400 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"
265
- }, Z1 = { class: "hs-tooltip [--placement:bottom] inline-block show" }, E1 = { class: "hs-tooltip-toggle relative size-[38px] inline-flex justify-center items-center gap-x-2 rounded-full border border-transparent text-gray-500 hover:bg-gray-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-100" };
266
- function j1(n, e, t, r, s, l) {
266
+ }, H1 = { class: "hs-tooltip [--placement:bottom] inline-block show" }, L1 = { class: "hs-tooltip-toggle relative size-[38px] inline-flex justify-center items-center gap-x-2 rounded-full border border-transparent text-gray-500 hover:bg-gray-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-100" };
267
+ function I1(n, e, t, r, s, l) {
267
268
  const C = d("IconQuestion"), f = d("IconMessage");
268
- return c(), u("div", H1, [
269
- o("div", L1, [
270
- o("a", I1, [
269
+ return c(), u("div", k1, [
270
+ o("div", V1, [
271
+ o("a", M1, [
271
272
  p(C, {
272
273
  height: "24",
273
274
  width: "24"
274
275
  })
275
276
  ]),
276
- o("div", Z1, [
277
- o("button", E1, [
277
+ o("div", H1, [
278
+ o("button", L1, [
278
279
  p(f, {
279
280
  height: "24",
280
281
  width: "24"
@@ -300,8 +301,8 @@ function j1(n, e, t, r, s, l) {
300
301
  ])
301
302
  ]);
302
303
  }
303
- const z1 = /* @__PURE__ */ h(M1, [["render", j1]]), B1 = {
304
- components: { navbar: g1, AdminHeader: z1 },
304
+ const Z1 = /* @__PURE__ */ h($1, [["render", I1]]), E1 = {
305
+ components: { navbar: C1, AdminHeader: Z1 },
305
306
  mounted() {
306
307
  this.getMenu();
307
308
  },
@@ -313,26 +314,26 @@ const z1 = /* @__PURE__ */ h(M1, [["render", j1]]), B1 = {
313
314
  methods: {
314
315
  async getMenu() {
315
316
  try {
316
- const { data: n } = await T.get("/api/user-menu");
317
+ const { data: n } = await D.get("/api/user-menu");
317
318
  y.value = n;
318
319
  } catch {
319
320
  }
320
321
  }
321
322
  }
322
- }, D1 = { class: "admin-wrapper" }, N1 = { class: "flex flex-col" };
323
- function O1(n, e, t, r, s, l) {
323
+ }, j1 = { class: "admin-wrapper" }, z1 = { class: "flex flex-col" };
324
+ function B1(n, e, t, r, s, l) {
324
325
  const C = d("navbar"), f = d("admin-header"), x = d("router-view");
325
- return c(), u("div", D1, [
326
+ return c(), u("div", j1, [
326
327
  p(C),
327
- o("div", N1, [
328
+ o("div", z1, [
328
329
  l.isMenu ? (c(), u(M, { key: 0 }, [
329
330
  p(f),
330
331
  p(x)
331
- ], 64)) : F("", !0)
332
+ ], 64)) : Q("", !0)
332
333
  ])
333
334
  ]);
334
335
  }
335
- const A1 = /* @__PURE__ */ h(B1, [["render", O1], ["__scopeId", "data-v-3d7ecdff"]]);
336
+ const T1 = /* @__PURE__ */ h(E1, [["render", B1], ["__scopeId", "data-v-c3c91323"]]);
336
337
  export {
337
- A1 as default
338
+ T1 as default
338
339
  };
package/dist/admin.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b as f } from "./import-file-DBSDU17c.js";
1
+ import { b as f } from "./import-file-ChmncuMJ.js";
2
2
  export {
3
3
  f as default
4
4
  };