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