@opengis/admin 0.1.81 → 0.1.83

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. package/README.md +29 -29
  2. package/config.js +4 -4
  3. package/dist/{IconChevronDown-D5JGurpf.js → IconChevronDown-B7bJL5rk.js} +1 -1
  4. package/dist/{add-page-DjmhHq_I.js → add-page-D5TrUydC.js} +1 -1
  5. package/dist/{admin-interface-CIA9Y-Dz.js → admin-interface-Cv1M1Cmt.js} +370 -352
  6. package/dist/{admin-view-DABvcRfg.js → admin-view-vVXbKHih.js} +45 -45
  7. package/dist/admin.js +1 -1
  8. package/dist/admin.umd.cjs +63 -61
  9. package/dist/assets/logo.svg +41 -41
  10. package/dist/{card-page-B_Vr2qvx.js → card-page-BbP6doYG.js} +146 -126
  11. package/dist/{card-view-XmNFtrP8.js → card-view-C2YWCaFs.js} +1 -1
  12. package/dist/{edit-page-ELlQWVFa.js → edit-page-BRKTh4MZ.js} +1 -1
  13. package/dist/{import-file-CsnR0UjH.js → import-file-DA-DiiaH.js} +6024 -5941
  14. package/dist/style.css +1 -1
  15. package/module/settings/card/admin.roles.table/access.hbs +27 -27
  16. package/module/settings/card/admin.roles.table/general_info.hbs +16 -16
  17. package/module/settings/card/admin.roles.table/index.yml +14 -14
  18. package/module/settings/card/admin.roles.table/users.hbs +27 -27
  19. package/module/settings/card/admin.routes.table/general_info.hbs +40 -40
  20. package/module/settings/card/admin.routes.table/index.yml +8 -8
  21. package/module/settings/card/admin.routes.table/users.hbs +33 -33
  22. package/module/settings/card/admin.users.table/general_info.hbs +25 -25
  23. package/module/settings/card/admin.users.table/index.yml +12 -12
  24. package/module/settings/card/admin.users.table/logs.hbs +30 -30
  25. package/module/settings/card/admin.users.table/user_roles.hbs +24 -24
  26. package/module/settings/cls/core.actions.json +17 -13
  27. package/module/settings/cls/core.scope.json +13 -13
  28. package/module/settings/cls/properties.site_status.json +13 -13
  29. package/module/settings/cls/properties.widget_status.json +13 -13
  30. package/module/settings/cls/users.user_type.json +13 -13
  31. package/module/settings/form/admin.access.form.json +36 -36
  32. package/module/settings/form/admin.custom_column.form.json +71 -71
  33. package/module/settings/form/admin.properties.form.json +15 -15
  34. package/module/settings/form/admin.roles.form.json +19 -19
  35. package/module/settings/form/admin.routes.form.json +25 -25
  36. package/module/settings/form/admin.user_properties.form.json +15 -15
  37. package/module/settings/form/admin.user_roles.form.json +21 -21
  38. package/module/settings/form/admin.users.form.json +153 -153
  39. package/module/settings/form/user.user_roles.form.json +13 -13
  40. package/module/settings/interface/admin.properties.json +4 -4
  41. package/module/settings/interface/admin.roles.json +4 -4
  42. package/module/settings/interface/admin.routes.json +4 -4
  43. package/module/settings/interface/admin.users.json +4 -4
  44. package/module/settings/menu.json +50 -50
  45. package/module/settings/select/core.roles.json +2 -2
  46. package/module/settings/select/core.routes.sql +1 -1
  47. package/module/settings/select/core.user_mentioned.sql +1 -1
  48. package/module/settings/select/core.user_uid.sql +1 -1
  49. package/module/settings/table/admin.access.table.json +83 -83
  50. package/module/settings/table/admin.custom_column.table.json +99 -99
  51. package/module/settings/table/admin.properties.table.json +39 -39
  52. package/module/settings/table/admin.roles.table.json +64 -64
  53. package/module/settings/table/admin.routes.table.json +68 -68
  54. package/module/settings/table/admin.user_properties.table.json +34 -34
  55. package/module/settings/table/admin.user_roles.table.json +72 -72
  56. package/module/settings/table/admin.users.table.json +121 -121
  57. package/package.json +81 -81
  58. package/plugin.js +29 -27
  59. package/server/helpers/controllers/badge.js +11 -11
  60. package/server/helpers/controllers/hb.js +2 -2
  61. package/server/helpers/controllers/map.js +2 -2
  62. package/server/helpers/controllers/mls.js +2 -2
  63. package/server/helpers/controllers/token.js +15 -15
  64. package/server/helpers/controllers/vue.js +2 -2
  65. package/server/helpers/index.mjs +17 -17
  66. package/server/plugins/access/funcs/getAdminAccess.js +15 -0
  67. package/server/plugins/access/index.mjs +6 -0
  68. package/server/plugins/adminHook.js +93 -93
  69. package/server/plugins/cron.js +10 -10
  70. package/server/plugins/docs.js +28 -28
  71. package/server/plugins/hook.js +223 -223
  72. package/server/plugins/vite.js +71 -71
  73. package/server/routes/access/controllers/access.group.js +30 -0
  74. package/server/routes/access/controllers/access.group.post.js +44 -0
  75. package/server/routes/access/index.mjs +63 -0
  76. package/server/routes/calendar/controllers/calendar.data.js +87 -87
  77. package/server/routes/calendar/index.mjs +7 -7
  78. package/server/routes/calendar/schema.js +21 -21
  79. package/server/routes/data/controllers/cardData.js +81 -79
  80. package/server/routes/data/controllers/cardTabData.js +49 -49
  81. package/server/routes/data/controllers/funcs/getFilterSQL/index.js +92 -92
  82. package/server/routes/data/controllers/funcs/getFilterSQL/util/formatValue.js +170 -170
  83. package/server/routes/data/controllers/funcs/getFilterSQL/util/getCustomQuery.js +13 -13
  84. package/server/routes/data/controllers/funcs/getFilterSQL/util/getFilterQuery.js +64 -64
  85. package/server/routes/data/controllers/funcs/getFilterSQL/util/getOptimizedQuery.js +12 -12
  86. package/server/routes/data/controllers/funcs/getFilterSQL/util/getTableSql.js +34 -34
  87. package/server/routes/data/controllers/tableData.js +20 -20
  88. package/server/routes/data/controllers/tableDataId.js +27 -27
  89. package/server/routes/data/controllers/tableFilter.js +63 -63
  90. package/server/routes/data/controllers/tokenInfo.js +10 -0
  91. package/server/routes/data/controllers/utils/assignTokens.js +30 -30
  92. package/server/routes/data/controllers/utils/getColumns.js +8 -8
  93. package/server/routes/data/index.mjs +17 -15
  94. package/server/routes/data/schema.js +54 -54
  95. package/server/routes/menu/controllers/getMenu.js +67 -67
  96. package/server/routes/menu/index.mjs +5 -5
  97. package/server/routes/notifications/controllers/readNotifications.js +27 -27
  98. package/server/routes/notifications/controllers/testEmail.js +35 -35
  99. package/server/routes/notifications/controllers/userNotifications.js +53 -53
  100. package/server/routes/notifications/funcs/addNotification.js +21 -21
  101. package/server/routes/notifications/funcs/sendNotification.js +105 -105
  102. package/server/routes/notifications/hook/onWidgetSet.js +57 -57
  103. package/server/routes/notifications/index.mjs +27 -27
  104. package/server/routes/notifications/schema.js +16 -16
  105. package/server/routes/properties/controllers/admin.properties.get.js +29 -29
  106. package/server/routes/properties/controllers/user.properties.get.js +30 -30
  107. package/server/routes/properties/controllers/user.properties.post.js +30 -30
  108. package/server/routes/properties/funcs/getSettings.js +56 -56
  109. package/server/routes/properties/funcs/setSettings.js +44 -44
  110. package/server/routes/properties/funcs/utils/dataInsert.js +26 -26
  111. package/server/routes/properties/index.mjs +14 -14
  112. package/server/routes/properties/schema.js +10 -10
  113. package/server/routes/root.mjs +3 -3
  114. package/server/routes/templates/controllers/getTemplate.js +26 -26
  115. package/server/routes/templates/index.mjs +16 -16
  116. package/server/routes/templates/schema.js +8 -8
  117. package/server/routes/user/controllers/user.cls.id.js +14 -14
  118. package/server/routes/user/controllers/user.cls.js +71 -71
  119. package/server/routes/user/controllers/user.cls.post.js +52 -52
  120. package/server/routes/user/controllers/user.info.js +17 -17
  121. package/server/routes/user/schema.js +14 -14
  122. package/server/routes/widget/controllers/utils/historyFormat.js +75 -75
  123. package/server/routes/widget/controllers/utils/obj2db.js +13 -13
  124. package/server/routes/widget/controllers/widget.del.js +41 -41
  125. package/server/routes/widget/controllers/widget.get.js +96 -96
  126. package/server/routes/widget/controllers/widget.set.js +76 -76
  127. package/server/routes/widget/index.mjs +11 -11
  128. package/server/routes/widget/schema.js +12 -12
  129. package/server/templates/cls/itree.recrzone_category.json +73 -73
  130. package/server/templates/cls/test.json +9 -9
  131. package/server/templates/form/admin.user_cls.data.form.json +49 -49
  132. package/server/templates/form/admin.user_group_rel.form.json +21 -21
  133. package/server/templates/form/cp_building.form.json +32 -32
  134. package/server/templates/form/form-user-pass.json +10 -10
  135. package/server/templates/form/form-user_group.json +39 -39
  136. package/server/templates/form/form-users.json +156 -156
  137. package/server/templates/form/user_group_access.form.json +22 -22
  138. package/server/templates/select/account_id.json +2 -2
  139. package/server/templates/table/gis.dataset.table.json +43 -43
  140. package/server/templates/table/management.user_group.table.json +112 -112
  141. package/server/templates/table/management.users.table.json +126 -126
  142. package/utils.js +29 -26
@@ -1,42 +1,42 @@
1
- <svg viewBox="0 0 1823 249" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path
3
- 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"
4
- fill="#CE3936"
5
- />
6
- <path
7
- 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"
8
- fill="#CE3936"
9
- />
10
- <path
11
- 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"
12
- fill="#CE3936"
13
- />
14
- <path
15
- 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"
16
- fill="#CE3935"
17
- />
18
- <path
19
- 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"
20
- fill="#CE3935"
21
- />
22
- <path
23
- 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"
24
- fill="#CE3935"
25
- />
26
- <path
27
- 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"
28
- fill="#CE3935"
29
- />
30
- <path
31
- 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"
32
- fill="#CE3935"
33
- />
34
- <path
35
- 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"
36
- fill="#CE3935"
37
- />
38
- <path
39
- 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"
40
- fill="#CE3935"
41
- />
1
+ <svg viewBox="0 0 1823 249" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path
3
+ 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"
4
+ fill="#CE3936"
5
+ />
6
+ <path
7
+ 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"
8
+ fill="#CE3936"
9
+ />
10
+ <path
11
+ 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"
12
+ fill="#CE3936"
13
+ />
14
+ <path
15
+ 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"
16
+ fill="#CE3935"
17
+ />
18
+ <path
19
+ 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"
20
+ fill="#CE3935"
21
+ />
22
+ <path
23
+ 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"
24
+ fill="#CE3935"
25
+ />
26
+ <path
27
+ 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"
28
+ fill="#CE3935"
29
+ />
30
+ <path
31
+ 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"
32
+ fill="#CE3935"
33
+ />
34
+ <path
35
+ 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"
36
+ fill="#CE3935"
37
+ />
38
+ <path
39
+ 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"
40
+ fill="#CE3935"
41
+ />
42
42
  </svg>
@@ -1,6 +1,6 @@
1
- import { g as J, h as K, _ as Q, u as I, a as U } from "./import-file-CsnR0UjH.js";
2
- import { getCurrentInstance as F, ref as E, computed as W, resolveComponent as G, openBlock as e, createElementBlock as r, createElementVNode as w, toDisplayString as O, createBlock as k, resolveDynamicComponent as B, createVNode as X, withCtx as Y, createTextVNode as Z, createCommentVNode as y, normalizeClass as P, Fragment as j, renderList as q } from "vue";
3
- const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justify-start px-[20px] mb-[16px]" }, m = { class: "mr-[10px]" }, oo = { class: "text-lg font-semibold md:text-xl text-stone-800 dark:text-neutral-200" }, to = { class: "flex items-center gap-[6px] ml-auto" }, eo = { class: "mr-[10px]" }, no = {
1
+ import { g as K, h as Q, _ as U, u as F, r as W, a as X } from "./import-file-DA-DiiaH.js";
2
+ import { getCurrentInstance as J, ref as G, computed as Y, resolveComponent as I, openBlock as e, createElementBlock as r, createElementVNode as k, toDisplayString as E, createBlock as j, resolveDynamicComponent as B, createVNode as Z, withCtx as $, createTextVNode as i, createCommentVNode as y, normalizeClass as z, Fragment as w, renderList as q } from "vue";
3
+ const m = { class: "h-[76px] bg-white border rounded-xl flex items-center justify-start px-[20px] mb-[16px]" }, oo = { class: "mr-[10px]" }, to = { class: "text-lg font-semibold md:text-xl text-stone-800 dark:text-neutral-200" }, eo = { class: "flex items-center gap-[6px] ml-auto" }, no = { class: "mr-[10px]" }, so = {
4
4
  __name: "admin-card-header",
5
5
  props: {
6
6
  title: {
@@ -13,17 +13,17 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
13
13
  slots: { type: Object }
14
14
  },
15
15
  setup(s) {
16
- var n, z, D, L, C;
17
- const { asyncTemplateSlot: a } = (C = (L = (D = (z = (n = F()) == null ? void 0 : n.appContext) == null ? void 0 : z.app) == null ? void 0 : D.config) == null ? void 0 : L.globalProperties) == null ? void 0 : C.utils, c = s, l = J(), t = K(), u = E(""), g = E(""), b = () => {
16
+ var n, V, C, L, D;
17
+ const { asyncTemplateSlot: a } = (D = (L = (C = (V = (n = J()) == null ? void 0 : n.appContext) == null ? void 0 : V.app) == null ? void 0 : C.config) == null ? void 0 : L.globalProperties) == null ? void 0 : D.utils, c = s, l = K(), t = Q(), u = G(""), g = G(""), h = () => {
18
18
  l.back();
19
- }, f = W(
19
+ }, f = Y(
20
20
  () => {
21
- var h;
22
- return `/edit?table=${c.getRoute}&id=${(h = t == null ? void 0 : t.params) == null ? void 0 : h.id}`;
21
+ var b;
22
+ return `/edit?table=${c.getRoute}&id=${(b = t == null ? void 0 : t.params) == null ? void 0 : b.id}`;
23
23
  }
24
24
  ), p = () => {
25
- var h, x, o, _;
26
- if (!((h = c.slots) != null && h.panelLeft)) return "div";
25
+ var b, x, o, _;
26
+ if (!((b = c.slots) != null && b.panelLeft)) return "div";
27
27
  if ((x = c.slots) != null && x.panelLeft.includes("<")) {
28
28
  const v = a("PanelLeft", (o = c.slots) == null ? void 0 : o.panelLeft, [
29
29
  "name"
@@ -32,8 +32,8 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
32
32
  } else
33
33
  g.value = (_ = c.slots) == null ? void 0 : _.panelLeft;
34
34
  }, d = () => {
35
- var h, x, o, _;
36
- if (!((h = c.slots) != null && h.panelRight)) return "div";
35
+ var b, x, o, _;
36
+ if (!((b = c.slots) != null && b.panelRight)) return "div";
37
37
  if ((x = c.slots) != null && x.panelRight.includes("<")) {
38
38
  const v = a("PanelRight", (o = c.slots) == null ? void 0 : o.panelRight, [
39
39
  "name"
@@ -42,27 +42,27 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
42
42
  } else
43
43
  u.value = (_ = c.slots) == null ? void 0 : _.panelRight;
44
44
  };
45
- return p(), d(), (h, x) => {
46
- const o = G("router-link");
47
- return e(), r("div", $, [
48
- w("div", m, [
49
- w("button", {
50
- onClick: b,
45
+ return p(), d(), (b, x) => {
46
+ const o = I("router-link");
47
+ return e(), r("div", m, [
48
+ k("div", oo, [
49
+ k("button", {
50
+ onClick: h,
51
51
  class: "text-sm h-[20px] text-blue-600 font-medium hover:border-b-2 hover:border-b-blue-500"
52
52
  }, " До таблиці "),
53
- w("h2", oo, O(s.title), 1)
53
+ k("h2", to, E(s.title), 1)
54
54
  ]),
55
- (e(), k(B(g.value))),
56
- w("div", to, [
57
- w("div", eo, [
58
- (e(), k(B(u.value)))
55
+ (e(), j(B(g.value))),
56
+ k("div", eo, [
57
+ k("div", no, [
58
+ (e(), j(B(u.value)))
59
59
  ]),
60
- X(o, {
60
+ Z(o, {
61
61
  to: f.value,
62
62
  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"
63
63
  }, {
64
- default: Y(() => x[0] || (x[0] = [
65
- Z(" Редагувати ")
64
+ default: $(() => x[0] || (x[0] = [
65
+ i(" Редагувати ")
66
66
  ])),
67
67
  _: 1
68
68
  }, 8, ["to"])
@@ -70,22 +70,23 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
70
70
  ]);
71
71
  };
72
72
  }
73
- }, so = {
73
+ }, ro = {
74
74
  __name: "admin-card-async-component",
75
75
  props: {
76
76
  slot: String,
77
- data: Object
77
+ data: Object,
78
+ objectData: Object
78
79
  },
79
80
  setup(s) {
80
- var u, g, b, f, p;
81
- const { asyncTemplateSlot: a } = (p = (f = (b = (g = (u = F()) == null ? void 0 : u.appContext) == null ? void 0 : g.app) == null ? void 0 : b.config) == null ? void 0 : f.globalProperties) == null ? void 0 : p.utils, c = E(""), l = s;
81
+ var u, g, h, f, p;
82
+ const { asyncTemplateSlot: a } = (p = (f = (h = (g = (u = J()) == null ? void 0 : u.appContext) == null ? void 0 : g.app) == null ? void 0 : h.config) == null ? void 0 : f.globalProperties) == null ? void 0 : p.utils, c = G(""), l = s;
82
83
  return (() => {
83
84
  const d = a("CustomComponent", l.slot, ["data"]);
84
85
  c.value = d;
85
- })(), (d, n) => (e(), k(B(c.value), { data: s.data }, null, 8, ["data"]));
86
+ })(), (d, n) => (e(), j(B(c.value), { data: s.objectData }, null, 8, ["data"]));
86
87
  }
87
- }, ro = {
88
- components: { AdminCardHeader: no, AdminCardAsyncComponent: so },
88
+ }, co = {
89
+ components: { AdminCardHeader: so, AdminCardAsyncComponent: ro },
89
90
  data() {
90
91
  return {
91
92
  objectData: null,
@@ -94,7 +95,7 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
94
95
  },
95
96
  computed: {
96
97
  getRoute() {
97
- const s = this.flattenMenu(I.value);
98
+ const s = this.flattenMenu(F.value);
98
99
  s != null && s.length || this.$router.replace("/404");
99
100
  const a = s == null ? void 0 : s.find((c) => {
100
101
  var l, t;
@@ -103,18 +104,21 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
103
104
  return a || this.$router.replace("/404"), a == null ? void 0 : a.path;
104
105
  },
105
106
  getTitle() {
106
- var s, a, c, l, t, u, g, b, f, p, d, n, z, D, L;
107
+ var s, a, c, l, t, u, g, h, f, p, d, n, V, C, L;
107
108
  if ((c = (a = (s = this.objectData) == null ? void 0 : s.rows) == null ? void 0 : a[0]) != null && c.name)
108
- return ((g = (u = (t = (l = this.objectData) == null ? void 0 : l.rows) == null ? void 0 : t[0]) == null ? void 0 : u.name) == null ? void 0 : g.length) < 35 ? (p = (f = (b = this.objectData) == null ? void 0 : b.rows) == null ? void 0 : f[0]) == null ? void 0 : p.name : ((D = (z = (n = (d = this.objectData) == null ? void 0 : d.rows) == null ? void 0 : n[0]) == null ? void 0 : z.name) == null ? void 0 : D.slice(0, 35)) + " ...";
109
+ return ((g = (u = (t = (l = this.objectData) == null ? void 0 : l.rows) == null ? void 0 : t[0]) == null ? void 0 : u.name) == null ? void 0 : g.length) < 35 ? (p = (f = (h = this.objectData) == null ? void 0 : h.rows) == null ? void 0 : f[0]) == null ? void 0 : p.name : ((C = (V = (n = (d = this.objectData) == null ? void 0 : d.rows) == null ? void 0 : n[0]) == null ? void 0 : V.name) == null ? void 0 : C.slice(0, 35)) + " ...";
109
110
  {
110
- const C = (L = this.flattenMenu(I.value)) == null ? void 0 : L.find(
111
- (h) => {
111
+ const D = (L = this.flattenMenu(F.value)) == null ? void 0 : L.find(
112
+ (b) => {
112
113
  var x, o;
113
- return (h == null ? void 0 : h.table) === ((o = (x = this.$route) == null ? void 0 : x.params) == null ? void 0 : o.table);
114
+ return (b == null ? void 0 : b.table) === ((o = (x = this.$route) == null ? void 0 : x.params) == null ? void 0 : o.table);
114
115
  }
115
116
  );
116
- return C == null ? void 0 : C.ua;
117
+ return D == null ? void 0 : D.ua;
117
118
  }
119
+ },
120
+ reloadPageTrigger() {
121
+ return W.value;
118
122
  }
119
123
  },
120
124
  async mounted() {
@@ -123,6 +127,9 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
123
127
  watch: {
124
128
  component(s) {
125
129
  this.$router.replace({ ...this.$route, query: { tab: s } });
130
+ },
131
+ reloadPageTrigger() {
132
+ this.getObjectData();
126
133
  }
127
134
  },
128
135
  methods: {
@@ -131,7 +138,7 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
131
138
  const { table: s, id: a } = (c = this.$route) == null ? void 0 : c.params;
132
139
  (!s || !a) && this.$router.replace("/404");
133
140
  try {
134
- const { data: l } = await U.get(`/api/table-data/${s}/${a}`);
141
+ const { data: l } = await X.get(`/api/table-data/${s}/${a}`);
135
142
  this.objectData = l;
136
143
  } catch (l) {
137
144
  console.error(l);
@@ -144,14 +151,14 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
144
151
  return "grid-cols-12";
145
152
  },
146
153
  checkActiveComponent() {
147
- var s, a, c, l, t, u, g, b, f;
154
+ var s, a, c, l, t, u, g, h, f;
148
155
  if ((a = (s = this.$route) == null ? void 0 : s.query) != null && a.tab)
149
156
  this.component = (l = (c = this.$route) == null ? void 0 : c.query) == null ? void 0 : l.tab;
150
157
  else {
151
158
  const p = (u = (t = this.objectData) == null ? void 0 : t.panels) == null ? void 0 : u.find(
152
159
  (d) => (d == null ? void 0 : d.type) === "tabs" || (d == null ? void 0 : d.type) === "vertical-tabs"
153
160
  );
154
- (g = p == null ? void 0 : p.items) != null && g.length && (this.component = ((b = p.items[0]) == null ? void 0 : b.component) || ((f = p.items[0]) == null ? void 0 : f.name));
161
+ (g = p == null ? void 0 : p.items) != null && g.length && (this.component = ((h = p.items[0]) == null ? void 0 : h.component) || ((f = p.items[0]) == null ? void 0 : f.name));
155
162
  }
156
163
  },
157
164
  flattenMenu(s) {
@@ -161,31 +168,31 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
161
168
  }), a;
162
169
  }
163
170
  }
164
- }, co = {
171
+ }, ao = {
165
172
  style: { width: "calc(100vw - 260px)", height: "calc(100vh - 60px)" },
166
173
  class: "p-4 overflow-y-auto bg-gray-50"
167
- }, ao = {
174
+ }, lo = {
168
175
  key: 0,
169
176
  class: "bg-white border rounded-xl"
170
- }, lo = { class: "p-[10px] pl-[20px] text-md font-[500]" }, uo = ["innerHTML"], po = { key: 1 }, ho = {
177
+ }, uo = { class: "p-[10px] pl-[20px] text-md font-[500]" }, po = ["innerHTML"], bo = { key: 1 }, ho = {
171
178
  key: 0,
172
179
  class: "p-[10px] pl-[20px] text-md font-[500]"
173
- }, bo = {
180
+ }, go = {
174
181
  key: 2,
175
182
  class: "p-[20px] border-t"
176
- }, go = ["innerHTML"], xo = { class: "flex space-x-1 w-full bg-white border border-b-0 rounded-tr-xl rounded-tl-xl h-[60px] items-center pl-[20px]" }, fo = ["onClick"], _o = {
183
+ }, xo = ["innerHTML"], fo = { class: "flex space-x-1 w-full bg-white border border-b-0 rounded-tr-xl rounded-tl-xl h-[60px] items-center pl-[20px]" }, _o = ["onClick"], yo = {
177
184
  key: 0,
178
185
  class: "bg-white border border-t-0 rounded-bl-xl rounded-br-xl"
179
- }, yo = {
186
+ }, vo = {
180
187
  key: 0,
181
188
  class: "p-[20px] border-t"
182
- }, vo = {
189
+ }, jo = {
183
190
  key: 1,
184
191
  class: "p-[20px] border-t"
185
- }, ko = ["innerHTML"], wo = {
192
+ }, ko = ["innerHTML"], Do = {
186
193
  key: 3,
187
194
  class: "flex"
188
- }, Co = { class: "flex flex-col space-y-2 w-[200px] border rounded-xl mr-4 h-auto items-start pl-[10px] bg-white py-[20px]" }, jo = ["onClick"], Do = { class: "flex-grow" }, Lo = {
195
+ }, wo = { class: "flex flex-col space-y-2 w-[200px] border rounded-xl mr-4 h-auto items-start pl-[10px] bg-white py-[20px]" }, Co = ["onClick"], Lo = { class: "flex-grow" }, To = {
189
196
  key: 0,
190
197
  class: "h-full bg-white border rounded-xl"
191
198
  }, Ao = {
@@ -195,135 +202,148 @@ const $ = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
195
202
  key: 1,
196
203
  class: "p-[20px] border-t"
197
204
  }, Mo = ["innerHTML"];
198
- function To(s, a, c, l, t, u) {
205
+ function Ho(s, a, c, l, t, u) {
199
206
  var f, p, d;
200
- const g = G("AdminCardHeader"), b = G("AdminCardAsyncComponent");
201
- return e(), r("div", co, [
202
- t.objectData && ((f = t.objectData) == null ? void 0 : f.isHeader) !== !1 ? (e(), k(g, {
207
+ const g = I("AdminCardHeader"), h = I("AdminCardAsyncComponent");
208
+ return e(), r("div", ao, [
209
+ t.objectData && ((f = t.objectData) == null ? void 0 : f.isHeader) !== !1 ? (e(), j(g, {
203
210
  key: 0,
204
211
  title: u.getTitle,
205
212
  "get-route": u.getRoute,
206
213
  slots: (p = t.objectData) == null ? void 0 : p.slots
207
214
  }, null, 8, ["title", "get-route", "slots"])) : y("", !0),
208
- w("div", {
209
- class: P(["grid gap-[20px]", u.getGridClass()])
215
+ k("div", {
216
+ class: z(["grid gap-[20px]", u.getGridClass()])
210
217
  }, [
211
- (e(!0), r(j, null, q((d = t.objectData) == null ? void 0 : d.panels, (n, z) => {
212
- var D, L, C, h, x;
218
+ (e(!0), r(w, null, q((d = t.objectData) == null ? void 0 : d.panels, (n, V) => {
219
+ var C, L, D, b, x;
213
220
  return e(), r("div", {
214
- key: z,
215
- class: P(u.getColClass(n.col))
221
+ key: V,
222
+ class: z(u.getColClass(n.col))
216
223
  }, [
217
- n != null && n.name ? (e(), r("div", ao, [
218
- w("h2", lo, O((n == null ? void 0 : n.title) || "Панель"), 1),
219
- (D = t.objectData) != null && D.html[n == null ? void 0 : n.name] ? (e(), r("div", {
224
+ n != null && n.name ? (e(), r("div", lo, [
225
+ k("h2", uo, E((n == null ? void 0 : n.title) || "Панель"), 1),
226
+ (C = t.objectData) != null && C.html[n == null ? void 0 : n.name] ? (e(), r("div", {
220
227
  key: 0,
221
228
  class: "p-[20px] border-t",
222
229
  innerHTML: (L = t.objectData) == null ? void 0 : L.html[n == null ? void 0 : n.name]
223
- }, null, 8, uo)) : (e(), k(b, {
230
+ }, null, 8, po)) : (e(), j(h, {
224
231
  key: 1,
225
- slot: (C = t.objectData) == null ? void 0 : C.vue[n == null ? void 0 : n.name],
226
- data: (x = (h = t.objectData) == null ? void 0 : h.rows) == null ? void 0 : x[0]
227
- }, null, 8, ["slot", "data"]))
228
- ])) : n.type === "container" ? (e(), r("div", po, [
229
- (e(!0), r(j, null, q(n.items, (o, _) => {
230
- var v, A, R, M, T, H, i, N, S, V;
232
+ slot: (D = t.objectData) == null ? void 0 : D.vue[n == null ? void 0 : n.name],
233
+ data: (x = (b = t.objectData) == null ? void 0 : b.rows) == null ? void 0 : x[0],
234
+ objectData: t.objectData
235
+ }, null, 8, ["slot", "data", "objectData"]))
236
+ ])) : n.type === "container" ? (e(), r("div", bo, [
237
+ (e(!0), r(w, null, q(n.items, (o, _) => {
238
+ var v, T, A, R, M, H, P, N, O, S;
231
239
  return e(), r("div", {
232
240
  key: _,
233
- class: P([{ "mb-[20px]": n.items.length > 1 }, "bg-white border rounded-xl"])
241
+ class: z([{ "mb-[20px]": n.items.length > 1 }, "bg-white border rounded-xl"])
234
242
  }, [
235
- o != null && o.title ? (e(), r("h2", ho, O((o == null ? void 0 : o.title) || "Панель"), 1)) : y("", !0),
243
+ o != null && o.title ? (e(), r("h2", ho, E((o == null ? void 0 : o.title) || "Панель"), 1)) : y("", !0),
236
244
  o != null && o.component ? (e(), r("div", {
237
245
  key: 1,
238
- class: P(["p-[20px]", { "border-t": o == null ? void 0 : o.title }])
246
+ class: z(["p-[20px]", { "border-t": o == null ? void 0 : o.title }])
239
247
  }, [
240
- (e(), k(B(o.component), {
241
- geometry: (A = (v = t.objectData) == null ? void 0 : v.rows[0]) == null ? void 0 : A.geom,
248
+ (e(), j(B(o.component), {
249
+ geometry: (T = (v = t.objectData) == null ? void 0 : v.rows[0]) == null ? void 0 : T.geom,
250
+ columns: o == null ? void 0 : o.columns,
251
+ token: o == null ? void 0 : o.token,
242
252
  zoom: 16,
243
- id: (M = (R = s.$route) == null ? void 0 : R.params) == null ? void 0 : M.id
244
- }, null, 8, ["geometry", "id"]))
253
+ data: t.objectData,
254
+ id: (R = (A = s.$route) == null ? void 0 : A.params) == null ? void 0 : R.id
255
+ }, null, 8, ["geometry", "columns", "token", "data", "id"]))
245
256
  ], 2)) : y("", !0),
246
- o != null && o.name ? (e(), r("div", bo, [
247
- (H = (T = t.objectData) == null ? void 0 : T.html) != null && H[o == null ? void 0 : o.name] ? (e(), r("div", {
257
+ o != null && o.name ? (e(), r("div", go, [
258
+ (H = (M = t.objectData) == null ? void 0 : M.html) != null && H[o == null ? void 0 : o.name] ? (e(), r("div", {
248
259
  key: 0,
249
- innerHTML: (i = t.objectData) == null ? void 0 : i.html[o == null ? void 0 : o.name]
250
- }, null, 8, go)) : (e(), k(b, {
260
+ innerHTML: (P = t.objectData) == null ? void 0 : P.html[o == null ? void 0 : o.name]
261
+ }, null, 8, xo)) : (e(), j(h, {
251
262
  key: 1,
252
263
  slot: (N = t.objectData) == null ? void 0 : N.vue[o == null ? void 0 : o.name],
253
- data: (V = (S = t.objectData) == null ? void 0 : S.rows) == null ? void 0 : V[0]
254
- }, null, 8, ["slot", "data"]))
264
+ data: (S = (O = t.objectData) == null ? void 0 : O.rows) == null ? void 0 : S[0],
265
+ objectData: t.objectData
266
+ }, null, 8, ["slot", "data", "objectData"]))
255
267
  ])) : y("", !0)
256
268
  ], 2);
257
269
  }), 128))
258
270
  ])) : y("", !0),
259
- (n == null ? void 0 : n.type) === "tabs" ? (e(), r(j, { key: 2 }, [
260
- w("nav", xo, [
261
- (e(!0), r(j, null, q(n == null ? void 0 : n.items, (o) => (e(), r("button", {
271
+ (n == null ? void 0 : n.type) === "tabs" ? (e(), r(w, { key: 2 }, [
272
+ k("nav", fo, [
273
+ (e(!0), r(w, null, q(n == null ? void 0 : n.items, (o) => (e(), r("button", {
262
274
  key: (o == null ? void 0 : o.name) || (o == null ? void 0 : o.component),
263
275
  onClick: (_) => t.component = (o == null ? void 0 : o.component) || (o == null ? void 0 : o.name),
264
- class: P(["px-2.5 h-[30px] py-1.5 relative inline-flex items-center gap-x-2 text-gray-500 hover:bg-gray-100 focus:bg-gray-100 hover:text-gray-800 text-sm whitespace-nowrap rounded-lg focus:outline-none", {
276
+ class: z(["px-2.5 h-[30px] py-1.5 relative inline-flex items-center gap-x-2 text-gray-500 hover:bg-gray-100 focus:bg-gray-100 hover:text-gray-800 text-sm whitespace-nowrap rounded-lg focus:outline-none", {
265
277
  " font-semibold after:absolute after:bottom-[-14px] after:left-2.5 after:right-2.5 after:z-10 after:h-0.5 after:bg-gray-800": t.component === (o == null ? void 0 : o.component) || t.component === (o == null ? void 0 : o.name),
266
278
  "": t.component !== (o == null ? void 0 : o.component) && t.component !== (o == null ? void 0 : o.name)
267
279
  }])
268
- }, O(o == null ? void 0 : o.title), 11, fo))), 128))
280
+ }, E(o == null ? void 0 : o.title), 11, _o))), 128))
269
281
  ]),
270
- (e(!0), r(j, null, q(n.items, (o, _) => {
271
- var v, A, R, M, T, H, i, N, S, V;
272
- return e(), r(j, { key: _ }, [
273
- t.component === (o == null ? void 0 : o.component) || t.component === (o == null ? void 0 : o.name) ? (e(), r("div", _o, [
274
- o != null && o.component ? (e(), r("div", yo, [
275
- (e(), k(B(o.component), {
276
- geometry: (A = (v = t.objectData) == null ? void 0 : v.rows[0]) == null ? void 0 : A.geom,
282
+ (e(!0), r(w, null, q(n.items, (o, _) => {
283
+ var v, T, A, R, M, H, P, N, O, S;
284
+ return e(), r(w, { key: _ }, [
285
+ t.component === (o == null ? void 0 : o.component) || t.component === (o == null ? void 0 : o.name) ? (e(), r("div", yo, [
286
+ o != null && o.component ? (e(), r("div", vo, [
287
+ (e(), j(B(o.component), {
288
+ data: t.objectData,
289
+ token: o == null ? void 0 : o.token,
290
+ columns: o == null ? void 0 : o.columns,
291
+ geometry: (T = (v = t.objectData) == null ? void 0 : v.rows[0]) == null ? void 0 : T.geom,
277
292
  zoom: 16,
278
- id: (M = (R = s.$route) == null ? void 0 : R.params) == null ? void 0 : M.id
279
- }, null, 8, ["geometry", "id"]))
293
+ id: (R = (A = s.$route) == null ? void 0 : A.params) == null ? void 0 : R.id
294
+ }, null, 8, ["data", "token", "columns", "geometry", "id"]))
280
295
  ])) : y("", !0),
281
- o != null && o.name ? (e(), r("div", vo, [
282
- (H = (T = t.objectData) == null ? void 0 : T.html) != null && H[o == null ? void 0 : o.name] ? (e(), r("div", {
296
+ o != null && o.name ? (e(), r("div", jo, [
297
+ (H = (M = t.objectData) == null ? void 0 : M.html) != null && H[o == null ? void 0 : o.name] ? (e(), r("div", {
283
298
  key: 0,
284
- innerHTML: (i = t.objectData) == null ? void 0 : i.html[o == null ? void 0 : o.name]
285
- }, null, 8, ko)) : (e(), k(b, {
299
+ innerHTML: (P = t.objectData) == null ? void 0 : P.html[o == null ? void 0 : o.name]
300
+ }, null, 8, ko)) : (e(), j(h, {
286
301
  key: 1,
287
302
  slot: (N = t.objectData) == null ? void 0 : N.vue[o == null ? void 0 : o.name],
288
- data: (V = (S = t.objectData) == null ? void 0 : S.rows) == null ? void 0 : V[0]
289
- }, null, 8, ["slot", "data"]))
303
+ data: (S = (O = t.objectData) == null ? void 0 : O.rows) == null ? void 0 : S[0],
304
+ objectData: t.objectData
305
+ }, null, 8, ["slot", "data", "objectData"]))
290
306
  ])) : y("", !0)
291
307
  ])) : y("", !0)
292
308
  ], 64);
293
309
  }), 128))
294
310
  ], 64)) : y("", !0),
295
- (n == null ? void 0 : n.type) === "vertical-tabs" ? (e(), r("div", wo, [
296
- w("nav", Co, [
297
- (e(!0), r(j, null, q(n == null ? void 0 : n.items, (o) => (e(), r("button", {
311
+ (n == null ? void 0 : n.type) === "vertical-tabs" ? (e(), r("div", Do, [
312
+ k("nav", wo, [
313
+ (e(!0), r(w, null, q(n == null ? void 0 : n.items, (o) => (e(), r("button", {
298
314
  key: (o == null ? void 0 : o.name) || (o == null ? void 0 : o.component),
299
315
  onClick: (_) => t.component = (o == null ? void 0 : o.component) || (o == null ? void 0 : o.name),
300
- class: P(["relative inline-flex items-center w-full py-1 text-sm border-transparent pe-4 gap-x-2 border-e-2 whitespace-nowrap hover:text-blue-600 focus:outline-none focus:text-blue-600", {
316
+ class: z(["relative inline-flex items-center w-full py-1 text-sm border-transparent pe-4 gap-x-2 border-e-2 whitespace-nowrap hover:text-blue-600 focus:outline-none focus:text-blue-600", {
301
317
  "font-semibold after:absolute after:top-[0] after:right-[-1px] after:h-full text-blue-600 after:w-[2px] after:bg-blue-600 ": t.component === (o == null ? void 0 : o.component) || t.component === (o == null ? void 0 : o.name),
302
318
  "text-gray-500": t.component !== (o == null ? void 0 : o.component) && t.component !== (o == null ? void 0 : o.name)
303
319
  }])
304
- }, O(o == null ? void 0 : o.title), 11, jo))), 128))
320
+ }, E(o == null ? void 0 : o.title), 11, Co))), 128))
305
321
  ]),
306
- w("div", Do, [
307
- (e(!0), r(j, null, q(n.items, (o, _) => {
308
- var v, A, R, M, T, H, i, N, S, V;
309
- return e(), r(j, { key: _ }, [
310
- t.component === (o == null ? void 0 : o.component) || t.component === (o == null ? void 0 : o.name) ? (e(), r("div", Lo, [
322
+ k("div", Lo, [
323
+ (e(!0), r(w, null, q(n.items, (o, _) => {
324
+ var v, T, A, R, M, H, P, N, O, S;
325
+ return e(), r(w, { key: _ }, [
326
+ t.component === (o == null ? void 0 : o.component) || t.component === (o == null ? void 0 : o.name) ? (e(), r("div", To, [
311
327
  o != null && o.component ? (e(), r("div", Ao, [
312
- (e(), k(B(o.component), {
313
- geometry: (A = (v = t.objectData) == null ? void 0 : v.rows[0]) == null ? void 0 : A.geom,
328
+ (e(), j(B(o.component), {
329
+ token: o == null ? void 0 : o.token,
330
+ data: t.objectData,
331
+ columns: o == null ? void 0 : o.columns,
332
+ geometry: (T = (v = t.objectData) == null ? void 0 : v.rows[0]) == null ? void 0 : T.geom,
314
333
  zoom: 16,
315
- id: (M = (R = s.$route) == null ? void 0 : R.params) == null ? void 0 : M.id
316
- }, null, 8, ["geometry", "id"]))
334
+ id: (R = (A = s.$route) == null ? void 0 : A.params) == null ? void 0 : R.id
335
+ }, null, 8, ["token", "data", "columns", "geometry", "id"]))
317
336
  ])) : y("", !0),
318
337
  o != null && o.name ? (e(), r("div", Ro, [
319
- (H = (T = t.objectData) == null ? void 0 : T.html) != null && H[o == null ? void 0 : o.name] ? (e(), r("div", {
338
+ (H = (M = t.objectData) == null ? void 0 : M.html) != null && H[o == null ? void 0 : o.name] ? (e(), r("div", {
320
339
  key: 0,
321
- innerHTML: (i = t.objectData) == null ? void 0 : i.html[o == null ? void 0 : o.name]
322
- }, null, 8, Mo)) : (e(), k(b, {
340
+ innerHTML: (P = t.objectData) == null ? void 0 : P.html[o == null ? void 0 : o.name]
341
+ }, null, 8, Mo)) : (e(), j(h, {
323
342
  key: 1,
324
343
  slot: (N = t.objectData) == null ? void 0 : N.vue[o == null ? void 0 : o.name],
325
- data: (V = (S = t.objectData) == null ? void 0 : S.rows) == null ? void 0 : V[0]
326
- }, null, 8, ["slot", "data"]))
344
+ data: (S = (O = t.objectData) == null ? void 0 : O.rows) == null ? void 0 : S[0],
345
+ objectData: t.objectData
346
+ }, null, 8, ["slot", "data", "objectData"]))
327
347
  ])) : y("", !0)
328
348
  ])) : y("", !0)
329
349
  ], 64);
@@ -335,7 +355,7 @@ function To(s, a, c, l, t, u) {
335
355
  ], 2)
336
356
  ]);
337
357
  }
338
- const No = /* @__PURE__ */ Q(ro, [["render", To], ["__scopeId", "data-v-6a1823cf"]]);
358
+ const Oo = /* @__PURE__ */ U(co, [["render", Ho], ["__scopeId", "data-v-e910042a"]]);
339
359
  export {
340
- No as default
360
+ Oo as default
341
361
  };
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as e, openBlock as r, createBlock as t } from "vue";
2
- import { _ as c } from "./import-file-CsnR0UjH.js";
2
+ import { _ as c } from "./import-file-DA-DiiaH.js";
3
3
  const n = {};
4
4
  function s(_, p, a, i, f, m) {
5
5
  const o = e("router-view");
@@ -1,4 +1,4 @@
1
- import { _ as d, u as m, a as n } from "./import-file-CsnR0UjH.js";
1
+ import { _ as d, u as m, a as n } from "./import-file-DA-DiiaH.js";
2
2
  import { resolveComponent as b, openBlock as u, createElementBlock as h, createElementVNode as a, createBlock as f, createCommentVNode as p } from "vue";
3
3
  const g = {
4
4
  data() {