bfg-common 1.4.577 → 1.4.579

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,74 +1,79 @@
1
- <template>
2
- <div class="home-total-quantities">
3
- <h1>
4
- {{ localization.home.totalQuantities }}
5
- </h1>
6
-
7
- <div class="grid-container">
8
- <common-pages-home-widgets-vms :vms="vms" :loading="props.loading" />
9
-
10
- <common-pages-home-widgets-hosts
11
- :hosts="hosts"
12
- :loading="props.loading"
13
- />
14
- </div>
15
- </div>
16
-
17
- <div class="home-total-warnings">
18
- <h1>
19
- {{ localization.home.totalAlertsWarnings }}
20
- </h1>
21
-
22
- <div class="grid-container">
23
- <common-pages-home-widgets-warnings
24
- :alerts="alerts || []"
25
- :loading="props.loading"
26
- />
27
-
28
- <common-pages-home-widgets-services
29
- :services="services || []"
30
- :loading="props.loading"
31
- />
32
- </div>
33
- </div>
34
- </template>
35
-
36
- <script lang="ts" setup>
37
- import type { UI_I_Localization } from '~/lib/models/interfaces'
38
- import type {
39
- UI_I_Alert,
40
- UI_I_Hosts,
41
- UI_I_Vms,
42
- UI_I_Service,
43
- } from '~/components/common/pages/home/lib/models/interfaces'
44
-
45
- const props = defineProps<{
46
- vms: UI_I_Vms
47
- hosts: UI_I_Hosts
48
- alerts: UI_I_Alert[]
49
- services: UI_I_Service[]
50
- loading: boolean
51
- }>()
52
-
53
- const localization = computed<UI_I_Localization>(() => useLocal())
54
- </script>
55
-
56
- <style lang="scss" scoped>
57
- .home-total-warnings,
58
- .home-total-quantities {
59
- margin-top: 24px;
60
- & > h1 {
61
- font-size: 14px;
62
- font-weight: 400;
63
- line-height: 16.94px;
64
- color: #9da6ad;
65
- margin-bottom: 12px;
66
- }
67
- }
68
-
69
- .grid-container {
70
- display: grid;
71
- grid-template-columns: repeat(2, 1fr);
72
- grid-column-gap: 12px;
73
- }
74
- </style>
1
+ <template>
2
+ <div class="home-total-quantities">
3
+ <h1>
4
+ {{ localization.home.totalQuantities }}
5
+ </h1>
6
+
7
+ <div class="grid-container">
8
+ <common-pages-home-widgets-vms :vms="vms" :loading="props.loading" />
9
+
10
+ <common-pages-home-widgets-hosts
11
+ :hosts="hosts"
12
+ :loading="props.loading"
13
+ />
14
+ </div>
15
+ </div>
16
+
17
+ <div class="home-total-warnings">
18
+ <h1>
19
+ {{ localization.home.totalAlertsWarnings }}
20
+ </h1>
21
+
22
+ <div class="grid-container">
23
+ <common-pages-home-widgets-warnings
24
+ :alerts="alerts || []"
25
+ :loading="props.loading"
26
+ />
27
+
28
+ <common-pages-home-widgets-services
29
+ :services="services || []"
30
+ :loading="props.loading"
31
+ />
32
+ </div>
33
+ </div>
34
+ </template>
35
+
36
+ <script lang="ts" setup>
37
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
38
+ import type {
39
+ UI_I_Alert,
40
+ UI_I_Hosts,
41
+ UI_I_Vms,
42
+ UI_I_Service,
43
+ } from '~/components/common/pages/home/lib/models/interfaces'
44
+
45
+ const props = defineProps<{
46
+ vms: UI_I_Vms
47
+ hosts: UI_I_Hosts
48
+ alerts: UI_I_Alert[]
49
+ services: UI_I_Service[]
50
+ loading: boolean
51
+ }>()
52
+
53
+ const localization = computed<UI_I_Localization>(() => useLocal())
54
+ </script>
55
+
56
+ <style lang="scss" scoped>
57
+ .home-total-warnings,
58
+ .home-total-quantities {
59
+ margin-top: 24px;
60
+ & > h1 {
61
+ font-size: 14px;
62
+ font-weight: 400;
63
+ line-height: 16.94px;
64
+ color: #9da6ad;
65
+ margin-bottom: 12px;
66
+ }
67
+ }
68
+
69
+ .grid-container {
70
+ display: grid;
71
+ grid-template-columns: repeat(2, 1fr);
72
+ grid-column-gap: 12px;
73
+
74
+ @media (max-width: 1024px) {
75
+ grid-template-columns: 1fr;
76
+ grid-row-gap: 12px;
77
+ }
78
+ }
79
+ </style>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.577",
4
+ "version": "1.4.579",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",