@opengis/admin 0.1.76 → 0.1.78
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-BMnTiJIv.js → IconChevronDown-DWLdkAUG.js} +1 -1
- package/dist/{add-page-BxK4iJe4.js → add-page-GDPnGgQK.js} +1 -1
- package/dist/{admin-interface-D9vWpTqM.js → admin-interface-DOqhM3SD.js} +4 -4
- package/dist/{admin-view-DPtlpZue.js → admin-view-xnJ3u3oI.js} +3 -3
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +41 -25
- package/dist/assets/logo.svg +41 -41
- package/dist/{card-page-KnsaeAPW.js → card-page-DhYFr0FI.js} +52 -50
- package/dist/{card-view-BAC53pSQ.js → card-view-CuKF08UR.js} +1 -1
- package/dist/{edit-page-D2KM1hue.js → edit-page-J0eDzIuJ.js} +1 -1
- package/dist/{import-file-C3Slz6rJ.js → import-file-REG5YZVe.js} +4905 -4713
- 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 +13 -13
- 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 +27 -27
- 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/vue.js +2 -2
- package/server/helpers/index.mjs +15 -15
- package/server/plugins/adminHook.js +93 -93
- package/server/plugins/cron.js +10 -10
- package/server/plugins/docs.js +28 -28
- package/server/plugins/hook.js +214 -214
- package/server/plugins/vite.js +71 -71
- package/server/routes/calendar/controllers/calendar.data.js +88 -88
- package/server/routes/calendar/index.mjs +7 -7
- package/server/routes/calendar/schema.js +21 -21
- package/server/routes/data/controllers/cardData.js +61 -57
- 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 +11 -11
- package/server/routes/data/controllers/tableDataId.js +27 -27
- package/server/routes/data/controllers/tableFilter.js +63 -63
- 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 +15 -15
- 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 +57 -57
- 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/user.properties.get.js +34 -34
- 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 +22 -22
- package/server/routes/templates/index.mjs +14 -14
- package/server/routes/templates/scheme.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 +39 -39
- 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 +26 -26
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 V, h as z, _ as A, u as L, a as q } from "./import-file-
|
2
|
-
import { computed as B, resolveComponent as R, openBlock as r, createElementBlock as s, createElementVNode as d, toDisplayString as
|
1
|
+
import { g as V, h as z, _ as A, u as L, a as q } from "./import-file-REG5YZVe.js";
|
2
|
+
import { computed as B, resolveComponent as R, openBlock as r, createElementBlock as s, createElementVNode as d, toDisplayString as H, createVNode as N, withCtx as E, createTextVNode as S, createBlock as T, createCommentVNode as u, normalizeClass as D, Fragment as C, renderList as j, resolveDynamicComponent as i } from "vue";
|
3
3
|
const G = { class: "h-[76px] bg-white border rounded-xl flex items-center justify-between px-[20px] mb-[16px]" }, O = { class: "text-lg font-semibold md:text-xl text-stone-800 dark:text-neutral-200" }, F = { class: "flex items-center gap-[6px]" }, I = {
|
4
4
|
__name: "admin-card-header",
|
5
5
|
props: {
|
@@ -21,17 +21,17 @@ const G = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
|
|
21
21
|
}
|
22
22
|
);
|
23
23
|
return (x, g) => {
|
24
|
-
const
|
24
|
+
const k = R("router-link");
|
25
25
|
return r(), s("div", G, [
|
26
26
|
d("div", null, [
|
27
27
|
d("button", {
|
28
28
|
onClick: t,
|
29
29
|
class: "text-sm h-[20px] text-blue-600 font-medium hover:border-b-2 hover:border-b-blue-500"
|
30
30
|
}, " До таблиці "),
|
31
|
-
d("h2", O,
|
31
|
+
d("h2", O, H(n.title), 1)
|
32
32
|
]),
|
33
33
|
d("div", F, [
|
34
|
-
N(
|
34
|
+
N(k, {
|
35
35
|
to: p.value,
|
36
36
|
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"
|
37
37
|
}, {
|
@@ -63,14 +63,14 @@ const G = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
|
|
63
63
|
return c || this.$router.replace("/404"), c == null ? void 0 : c.path;
|
64
64
|
},
|
65
65
|
getTitle() {
|
66
|
-
var n, c, a, l, t, p, x, g,
|
66
|
+
var n, c, a, l, t, p, x, g, k, e, f, M, o, w, _;
|
67
67
|
if ((a = (c = (n = this.objectData) == null ? void 0 : n.rows) == null ? void 0 : c[0]) != null && a.name)
|
68
|
-
return ((x = (p = (t = (l = this.objectData) == null ? void 0 : l.rows) == null ? void 0 : t[0]) == null ? void 0 : p.name) == null ? void 0 : x.length) < 35 ? (e = (
|
68
|
+
return ((x = (p = (t = (l = this.objectData) == null ? void 0 : l.rows) == null ? void 0 : t[0]) == null ? void 0 : p.name) == null ? void 0 : x.length) < 35 ? (e = (k = (g = this.objectData) == null ? void 0 : g.rows) == null ? void 0 : k[0]) == null ? void 0 : e.name : ((w = (o = (M = (f = this.objectData) == null ? void 0 : f.rows) == null ? void 0 : M[0]) == null ? void 0 : o.name) == null ? void 0 : w.slice(0, 35)) + " ...";
|
69
69
|
{
|
70
|
-
const h = (
|
70
|
+
const h = (_ = this.flattenMenu(L.value)) == null ? void 0 : _.find(
|
71
71
|
(b) => {
|
72
|
-
var
|
73
|
-
return (b == null ? void 0 : b.table) === ((
|
72
|
+
var y, v;
|
73
|
+
return (b == null ? void 0 : b.table) === ((v = (y = this.$route) == null ? void 0 : y.params) == null ? void 0 : v.table);
|
74
74
|
}
|
75
75
|
);
|
76
76
|
return h == null ? void 0 : h.ua;
|
@@ -104,12 +104,14 @@ const G = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
|
|
104
104
|
return "grid-cols-12";
|
105
105
|
},
|
106
106
|
checkActiveComponent() {
|
107
|
-
var n, c, a, l, t, p, x, g,
|
107
|
+
var n, c, a, l, t, p, x, g, k;
|
108
108
|
if ((c = (n = this.$route) == null ? void 0 : n.query) != null && c.tab)
|
109
109
|
this.component = (l = (a = this.$route) == null ? void 0 : a.query) == null ? void 0 : l.tab;
|
110
110
|
else {
|
111
|
-
const e = (p = (t = this.objectData) == null ? void 0 : t.panels) == null ? void 0 : p.find(
|
112
|
-
|
111
|
+
const e = (p = (t = this.objectData) == null ? void 0 : t.panels) == null ? void 0 : p.find(
|
112
|
+
(f) => (f == null ? void 0 : f.type) === "tabs" || (f == null ? void 0 : f.type) === "vertical-tabs"
|
113
|
+
);
|
114
|
+
(x = e == null ? void 0 : e.items) != null && x.length && (this.component = ((g = e.items[0]) == null ? void 0 : g.component) || ((k = e.items[0]) == null ? void 0 : k.name));
|
113
115
|
}
|
114
116
|
},
|
115
117
|
flattenMenu(n) {
|
@@ -154,10 +156,10 @@ const G = { class: "h-[76px] bg-white border rounded-xl flex items-center justif
|
|
154
156
|
class: "p-[20px] border-t"
|
155
157
|
}, ho = ["innerHTML"];
|
156
158
|
function bo(n, c, a, l, t, p) {
|
157
|
-
var g,
|
159
|
+
var g, k;
|
158
160
|
const x = R("AdminCardHeader");
|
159
161
|
return r(), s("div", $, [
|
160
|
-
((g = t.objectData) == null ? void 0 : g.isHeader) !== !1 ? (r(),
|
162
|
+
((g = t.objectData) == null ? void 0 : g.isHeader) !== !1 ? (r(), T(x, {
|
161
163
|
key: 0,
|
162
164
|
title: p.getTitle,
|
163
165
|
"get-route": p.getRoute
|
@@ -165,69 +167,69 @@ function bo(n, c, a, l, t, p) {
|
|
165
167
|
d("div", {
|
166
168
|
class: D(["grid gap-[20px]", p.getGridClass()])
|
167
169
|
}, [
|
168
|
-
(r(!0), s(
|
169
|
-
var
|
170
|
+
(r(!0), s(C, null, j((k = t.objectData) == null ? void 0 : k.panels, (e, f) => {
|
171
|
+
var M;
|
170
172
|
return r(), s("div", {
|
171
|
-
key:
|
173
|
+
key: f,
|
172
174
|
class: D(p.getColClass(e.col))
|
173
175
|
}, [
|
174
176
|
e != null && e.name ? (r(), s("div", J, [
|
175
|
-
d("h2", K,
|
177
|
+
d("h2", K, H((e == null ? void 0 : e.title) || "Панель"), 1),
|
176
178
|
d("div", {
|
177
179
|
class: "p-[20px] border-t",
|
178
|
-
innerHTML: (
|
180
|
+
innerHTML: (M = t.objectData) == null ? void 0 : M.data[e == null ? void 0 : e.name]
|
179
181
|
}, null, 8, Q)
|
180
182
|
])) : e.type === "container" ? (r(), s("div", U, [
|
181
|
-
(r(!0), s(
|
182
|
-
var
|
183
|
+
(r(!0), s(C, null, j(e.items, (o, w) => {
|
184
|
+
var _, h, b, y, v;
|
183
185
|
return r(), s("div", {
|
184
|
-
key:
|
186
|
+
key: w,
|
185
187
|
class: D([{ "mb-[20px]": e.items.length > 1 }, "bg-white border rounded-xl"])
|
186
188
|
}, [
|
187
|
-
o != null && o.title ? (r(), s("h2", W,
|
189
|
+
o != null && o.title ? (r(), s("h2", W, H((o == null ? void 0 : o.title) || "Панель"), 1)) : u("", !0),
|
188
190
|
o != null && o.component ? (r(), s("div", {
|
189
191
|
key: 1,
|
190
192
|
class: D(["p-[20px]", { "border-t": o == null ? void 0 : o.title }])
|
191
193
|
}, [
|
192
|
-
(r(),
|
193
|
-
geometry: (h = (
|
194
|
+
(r(), T(i(o.component), {
|
195
|
+
geometry: (h = (_ = t.objectData) == null ? void 0 : _.rows[0]) == null ? void 0 : h.geom,
|
194
196
|
zoom: 16,
|
195
|
-
id: (
|
197
|
+
id: (y = (b = n.$route) == null ? void 0 : b.params) == null ? void 0 : y.id
|
196
198
|
}, null, 8, ["geometry", "id"]))
|
197
199
|
], 2)) : u("", !0),
|
198
200
|
o != null && o.name ? (r(), s("div", X, [
|
199
201
|
d("div", {
|
200
|
-
innerHTML: (
|
202
|
+
innerHTML: (v = t.objectData) == null ? void 0 : v.data[o == null ? void 0 : o.name]
|
201
203
|
}, null, 8, Y)
|
202
204
|
])) : u("", !0)
|
203
205
|
], 2);
|
204
206
|
}), 128))
|
205
207
|
])) : u("", !0),
|
206
|
-
(e == null ? void 0 : e.type) === "tabs" ? (r(), s(
|
208
|
+
(e == null ? void 0 : e.type) === "tabs" ? (r(), s(C, { key: 2 }, [
|
207
209
|
d("nav", Z, [
|
208
|
-
(r(!0), s(
|
210
|
+
(r(!0), s(C, null, j(e == null ? void 0 : e.items, (o) => (r(), s("button", {
|
209
211
|
key: (o == null ? void 0 : o.name) || (o == null ? void 0 : o.component),
|
210
|
-
onClick: (
|
212
|
+
onClick: (w) => t.component = (o == null ? void 0 : o.component) || (o == null ? void 0 : o.name),
|
211
213
|
class: D(["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", {
|
212
214
|
" 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),
|
213
215
|
"": t.component !== (o == null ? void 0 : o.component) && t.component !== (o == null ? void 0 : o.name)
|
214
216
|
}])
|
215
|
-
},
|
217
|
+
}, H(o == null ? void 0 : o.title), 11, m))), 128))
|
216
218
|
]),
|
217
|
-
(r(!0), s(
|
218
|
-
var
|
219
|
-
return r(), s(
|
219
|
+
(r(!0), s(C, null, j(e.items, (o, w) => {
|
220
|
+
var _, h, b, y, v;
|
221
|
+
return r(), s(C, { key: w }, [
|
220
222
|
t.component === (o == null ? void 0 : o.component) || t.component === (o == null ? void 0 : o.name) ? (r(), s("div", oo, [
|
221
223
|
o != null && o.component ? (r(), s("div", eo, [
|
222
|
-
(r(),
|
223
|
-
geometry: (h = (
|
224
|
+
(r(), T(i(o.component), {
|
225
|
+
geometry: (h = (_ = t.objectData) == null ? void 0 : _.rows[0]) == null ? void 0 : h.geom,
|
224
226
|
zoom: 16,
|
225
|
-
id: (
|
227
|
+
id: (y = (b = n.$route) == null ? void 0 : b.params) == null ? void 0 : y.id
|
226
228
|
}, null, 8, ["geometry", "id"]))
|
227
229
|
])) : u("", !0),
|
228
230
|
o != null && o.name ? (r(), s("div", to, [
|
229
231
|
d("div", {
|
230
|
-
innerHTML: (
|
232
|
+
innerHTML: (v = t.objectData) == null ? void 0 : v.data[o == null ? void 0 : o.name]
|
231
233
|
}, null, 8, ro)
|
232
234
|
])) : u("", !0)
|
233
235
|
])) : u("", !0)
|
@@ -236,30 +238,30 @@ function bo(n, c, a, l, t, p) {
|
|
236
238
|
], 64)) : u("", !0),
|
237
239
|
(e == null ? void 0 : e.type) === "vertical-tabs" ? (r(), s("div", no, [
|
238
240
|
d("nav", so, [
|
239
|
-
(r(!0), s(
|
241
|
+
(r(!0), s(C, null, j(e == null ? void 0 : e.items, (o) => (r(), s("button", {
|
240
242
|
key: (o == null ? void 0 : o.name) || (o == null ? void 0 : o.component),
|
241
|
-
onClick: (
|
243
|
+
onClick: (w) => t.component = (o == null ? void 0 : o.component) || (o == null ? void 0 : o.name),
|
242
244
|
class: D(["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", {
|
243
245
|
"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),
|
244
246
|
"text-gray-500": t.component !== (o == null ? void 0 : o.component) && t.component !== (o == null ? void 0 : o.name)
|
245
247
|
}])
|
246
|
-
},
|
248
|
+
}, H(o == null ? void 0 : o.title), 11, co))), 128))
|
247
249
|
]),
|
248
250
|
d("div", ao, [
|
249
|
-
(r(!0), s(
|
250
|
-
var
|
251
|
-
return r(), s(
|
251
|
+
(r(!0), s(C, null, j(e.items, (o, w) => {
|
252
|
+
var _, h, b, y, v;
|
253
|
+
return r(), s(C, { key: w }, [
|
252
254
|
t.component === (o == null ? void 0 : o.component) || t.component === (o == null ? void 0 : o.name) ? (r(), s("div", lo, [
|
253
255
|
o != null && o.component ? (r(), s("div", uo, [
|
254
|
-
(r(),
|
255
|
-
geometry: (h = (
|
256
|
+
(r(), T(i(o.component), {
|
257
|
+
geometry: (h = (_ = t.objectData) == null ? void 0 : _.rows[0]) == null ? void 0 : h.geom,
|
256
258
|
zoom: 16,
|
257
|
-
id: (
|
259
|
+
id: (y = (b = n.$route) == null ? void 0 : b.params) == null ? void 0 : y.id
|
258
260
|
}, null, 8, ["geometry", "id"]))
|
259
261
|
])) : u("", !0),
|
260
262
|
o != null && o.name ? (r(), s("div", po, [
|
261
263
|
d("div", {
|
262
|
-
innerHTML: (
|
264
|
+
innerHTML: (v = t.objectData) == null ? void 0 : v.data[o == null ? void 0 : o.name]
|
263
265
|
}, null, 8, ho)
|
264
266
|
])) : u("", !0)
|
265
267
|
])) : u("", !0)
|
@@ -272,7 +274,7 @@ function bo(n, c, a, l, t, p) {
|
|
272
274
|
], 2)
|
273
275
|
]);
|
274
276
|
}
|
275
|
-
const fo = /* @__PURE__ */ A(P, [["render", bo], ["__scopeId", "data-v-
|
277
|
+
const fo = /* @__PURE__ */ A(P, [["render", bo], ["__scopeId", "data-v-7bc72f0a"]]);
|
276
278
|
export {
|
277
279
|
fo as default
|
278
280
|
};
|
@@ -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-REG5YZVe.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() {
|