bfg-common 1.4.352 → 1.4.354

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.
@@ -61,13 +61,6 @@
61
61
  min-width="96px"
62
62
  @click="onSubmit"
63
63
  >
64
- <ui-icon
65
- v-if="selectedTab === 'light-bulb'"
66
- name="icon-auto-deploy"
67
- width="20"
68
- height="20"
69
- class="feedback__btn-icon"
70
- />
71
64
  {{ modalFooterButtonNames }}
72
65
  </ui-button>
73
66
  </div>
@@ -134,8 +127,5 @@ const onSubmit = (): void => {
134
127
  line-height: 15.73px;
135
128
  margin-top: 24px;
136
129
  }
137
- &__btn-icon {
138
- margin-right: 5px;
139
- }
140
130
  }
141
131
  </style>
@@ -1,12 +1,14 @@
1
1
  <template>
2
2
  <div class="additional-details">
3
- <common-layout-the-header-feedback-new-additional-details-headline />
3
+
4
4
  </div>
5
5
  </template>
6
6
 
7
- <script lang="ts" setup></script>
7
+ <script lang="ts" setup>
8
+ </script>
8
9
 
9
10
  <style lang="scss" scoped>
10
11
  .additional-details {
12
+
11
13
  }
12
14
  </style>
@@ -509,7 +509,7 @@ const vmItemsFunc = (
509
509
  {
510
510
  id: 3,
511
511
  name: localization.inventoryMonitor.writeCount,
512
- description: localization.inventoryMonitor.averageNumberOfReadCount,
512
+ description: localization.inventoryMonitor.averageNumberOfWriteCount,
513
513
  measurement: localization.common.write,
514
514
  units: localization.common.num,
515
515
  nameEn: 'write count',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.352",
4
+ "version": "1.4.354",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",
@@ -17,8 +17,15 @@ export const recentTasks = (
17
17
  return b.start_time - a.start_time
18
18
  })
19
19
  .map((task) => {
20
+ let args: any = {}
21
+ try {
22
+ args = base64.decode(task.args)
23
+ } catch (error) {
24
+ args = {}
25
+ }
26
+
20
27
  return {
21
- args: base64.decode(task.args),
28
+ args,
22
29
  completion: task.completion + '' || '-',
23
30
  queuedFor: task.creation_time - task.start_time,
24
31
  execution: Math.abs(task.start_time - task.completion),
@@ -1,84 +0,0 @@
1
- <template>
2
- <div class="headline">
3
- <span class="headline__label">
4
- {{ localization.common.additionalDetails }}
5
- </span>
6
- <ui-icon
7
- id="feedback-additional-details-info-icon"
8
- name="info"
9
- width="18"
10
- height="18"
11
- :color="isShowInfo ? '#008FD6' : '#9DA6AD'"
12
- class="info-icon pointer"
13
- @click="isShowInfo = !isShowInfo"
14
- />
15
- <ui-popup-window
16
- v-model="isShowInfo"
17
- width="232px"
18
- :elem-id="'feedback-additional-details-info-icon'"
19
- >
20
- <div class="common-widget-info">
21
- <div class="headline justify-between flex-align-center">
22
- <div class="flex-align-center">
23
- <ui-icon-icon3 name="info-2" width="16px" height="16px" />
24
- <span class="title">
25
- {{ localization.feedback.additionalDetailsHelp }}
26
- </span>
27
- </div>
28
- <ui-icon
29
- name="close"
30
- class="pointer hide-icon"
31
- width="16px"
32
- height="16px"
33
- @click="isShowInfo = false"
34
- />
35
- </div>
36
-
37
- <div class="common-widget-info-description">
38
- {{ localization.feedback.additionalDetailsTooltip }}
39
- </div>
40
- </div>
41
- </ui-popup-window>
42
- </div>
43
- </template>
44
-
45
- <script lang="ts" setup>
46
- import type { UI_I_Localization } from '~/lib/models/interfaces'
47
-
48
- const localization = computed<UI_I_Localization>(() => useLocal())
49
-
50
- const isShowInfo = ref<boolean>(false)
51
- </script>
52
-
53
- <style lang="scss" scoped>
54
- @import 'assets/scss/common/mixins.scss';
55
- .headline {
56
- @include flex($align: center);
57
- margin-top: 16px;
58
- &__label {
59
- line-height: 38px;
60
- font-size: 16px;
61
- font-weight: 500;
62
- color: #4d5d69;
63
- margin-right: 8px;
64
- }
65
- .common-widget-info {
66
- padding: 16px;
67
-
68
- .title {
69
- font-size: 14px;
70
- font-weight: 500;
71
- line-height: 16.94px;
72
- color: var(--zabbix-text-color);
73
- margin-left: 8px;
74
- }
75
-
76
- .common-widget-info-description {
77
- font-size: 13px;
78
- line-height: 15.73px;
79
- color: var(--zabbix-text-color);
80
- margin-top: 12px;
81
- }
82
- }
83
- }
84
- </style>