bfg-common 1.4.193 → 1.4.195

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.
@@ -2058,7 +2058,7 @@
2058
2058
  "confirmRemoveVmFromInventory": "Remove the selected virtual machine from the inventory?",
2059
2059
  "integration": "Інтэграцыя",
2060
2060
  "zabbix": "Zabbix",
2061
- "loginZabbixAccount": "Увайдзіце на сервер Zabbix",
2061
+ "loginZabbixAccount": "Увайдзіце на Сервер Zabbix",
2062
2062
  "newView": "Новы выгляд",
2063
2063
  "viewDesc": "Выберыце прагляд, які будзе выкарыстоўвацца кліентам {trademark}",
2064
2064
  "kindValidationDescription": "Няправільны тып запісу",
@@ -2618,5 +2618,9 @@
2618
2618
  "tasks": "З задачамі",
2619
2619
  "frontReqs": "З рэгулярнымі запытамі",
2620
2620
  "related": "Роднасныя"
2621
+ },
2622
+ "zabbix": {
2623
+ "zabbixVersions": "Zabbix версіі",
2624
+ "zabbixVersionsDesc": "Калі ласка, абярыце версію сервера Zabbix, на якой вы хочаце ўвайсці: 5.0 або 6.0."
2621
2625
  }
2622
2626
  }
@@ -2061,7 +2061,7 @@
2061
2061
  "confirmRemoveVmFromInventory": "Remove the selected virtual machine from the inventory?",
2062
2062
  "integration": "Integration",
2063
2063
  "zabbix": "Zabbix",
2064
- "loginZabbixAccount": "Login to Zabbix server",
2064
+ "loginZabbixAccount": "Login to Zabbix Server",
2065
2065
  "newView": "New view",
2066
2066
  "viewDesc": "Select view to be used by {trademark} Client",
2067
2067
  "kindValidationDescription": "Invalid record kind",
@@ -2622,5 +2622,9 @@
2622
2622
  "tasks": "With Tasks",
2623
2623
  "frontReqs": "With regular requests",
2624
2624
  "related": "Related"
2625
+ },
2626
+ "zabbix": {
2627
+ "zabbixVersions": "Zabbix Versions",
2628
+ "zabbixVersionsDesc": "Please choose the Zabbix server version you would like to log in to: 5.0 or 6.0."
2625
2629
  }
2626
2630
  }
@@ -2061,7 +2061,7 @@
2061
2061
  "confirmRemoveVmFromInventory": "Հեռացնե՞լ ընտրված վիրտուալ մեքենան գույքագրումից:",
2062
2062
  "integration": "Ինտեգրում",
2063
2063
  "zabbix": "Zabbix",
2064
- "loginZabbixAccount": "Մուտք գործեք Zabbix սերվեր",
2064
+ "loginZabbixAccount": "Մուտք գործեք Zabbix Սերվեր",
2065
2065
  "newView": "Նոր տեսարան",
2066
2066
  "viewDesc": "Ընտրեք տեսքը, որը կօգտագործվի {trademark} Client-ի կողմից",
2067
2067
  "kindValidationDescription": "Գրառման անվավեր տեսակ",
@@ -2622,5 +2622,9 @@
2622
2622
  "tasks": "Առաջադրանքներով",
2623
2623
  "frontReqs": "Կանոնավոր խնդրանքներով",
2624
2624
  "related": "Առնչվող"
2625
+ },
2626
+ "zabbix": {
2627
+ "zabbixVersions": "Zabbix տարբերակները",
2628
+ "zabbixVersionsDesc": "Խնդրում ենք ընտրել Zabbix սերվերի տարբերակը, որում ցանկանում եք մուտք գործել՝ 5.0 կամ 6.0:"
2625
2629
  }
2626
2630
  }
@@ -2060,7 +2060,7 @@
2060
2060
  "confirmRemoveVmFromInventory": "Таңдалған виртуалды машинаны түгендеуден жою керек пе?",
2061
2061
  "integration": "Интеграция",
2062
2062
  "zabbix": "Zabbix",
2063
- "loginZabbixAccount": "Zabbix серверіне кіріңіз",
2063
+ "loginZabbixAccount": "Zabbix Серверіне кіріңіз",
2064
2064
  "newView": "Жаңа көрініс",
2065
2065
  "viewDesc": "{trademark} Client пайдаланатын көріністі таңдаңыз",
2066
2066
  "kindValidationDescription": "Жарамсыз жазба түрі",
@@ -2621,5 +2621,9 @@
2621
2621
  "tasks": "Тапсырмалармен",
2622
2622
  "frontReqs": "Тұрақты сұраныстармен",
2623
2623
  "related": "Қатысты"
2624
+ },
2625
+ "zabbix": {
2626
+ "zabbixVersions": "Zabbix нұсқалары",
2627
+ "zabbixVersionsDesc": "Жүйеге кіргіңіз келетін Zabbix сервер нұсқасын таңдаңыз: 5.0 немесе 6.0."
2624
2628
  }
2625
2629
  }
@@ -2063,7 +2063,7 @@
2063
2063
  "confirmRemoveVmFromInventory": "Удалить выбранную виртуальную машину из инвентаря?",
2064
2064
  "integration": "Интеграция",
2065
2065
  "zabbix": "Zabbix",
2066
- "loginZabbixAccount": "Вход на сервер Zabbix",
2066
+ "loginZabbixAccount": "Вход на Сервер Zabbix",
2067
2067
  "newView": "Новый вид",
2068
2068
  "viewDesc": "Выберите представление, которое будет использоваться клиентом {trademark}.",
2069
2069
  "kindValidationDescription": "Неверный тип записи",
@@ -2624,5 +2624,9 @@
2624
2624
  "tasks": "C Тасками",
2625
2625
  "frontReqs": "C регулярными запросамы",
2626
2626
  "related": "Связанный"
2627
+ },
2628
+ "zabbix": {
2629
+ "zabbixVersions": "Версии Забфикса",
2630
+ "zabbixVersionsDesc": "Пожалуйста, выберите версию сервера Zabbix, на которую вы хотите войти: 5.0 или 6.0."
2627
2631
  }
2628
2632
  }
@@ -2620,5 +2620,9 @@
2620
2620
  "tasks": "有任务",
2621
2621
  "frontReqs": "定期提出要求",
2622
2622
  "related": "有关的"
2623
+ },
2624
+ "zabbix": {
2625
+ "zabbixVersions": "Zabbix 版本",
2626
+ "zabbixVersionsDesc": "请选择您要登录的Zabbix服务器版本:5.0或6.0。"
2623
2627
  }
2624
2628
  }
@@ -224,6 +224,7 @@
224
224
  .icon-vSphere-dsIsoImage,
225
225
  .icon-vSphere-dsFile,
226
226
  .vsphere-icon-dv-switch,
227
+ .vx-icon-import,
227
228
  .host-ui-icon-shutdown,
228
229
  .host-ui-icon-standby,
229
230
  .host-ui-icon-poweron,
@@ -48,10 +48,6 @@
48
48
  @update-period-type="emits('update-period-type', $event)"
49
49
  @update-custom-time="emits('update-custom-time', $event)"
50
50
  @delete-option="emits('delete-option')"
51
- @update-custom-date-from="emits('update-custom-date-from', $event)"
52
- @update-custom-date-to="emits('update-custom-date-to', $event)"
53
- @update-custom-time-from="emits('update-custom-time-from', $event)"
54
- @update-custom-time-to="emits('update-custom-time-to', $event)"
55
51
  @submit-options="emits('submit-options', $event)"
56
52
  />
57
53
 
@@ -151,10 +147,6 @@ const emits = defineEmits<{
151
147
  (event: 'update-period-type', value: string): void
152
148
  (event: 'update-custom-time', value: string): void
153
149
  (event: 'delete-option'): void
154
- (event: 'update-custom-date-from', value: string): void
155
- (event: 'update-custom-date-to', value: string): void
156
- (event: 'update-custom-time-from', value: string): void
157
- (event: 'update-custom-time-to', value: string): void
158
150
  (event: 'submit-options', value: UI_I_OptionsForm): void
159
151
  (event: 'update:selected-timespan-type', value: string): void
160
152
  }>()
@@ -124,10 +124,6 @@
124
124
  @update-custom-time="emits('update-custom-time', $event)"
125
125
  @delete-option="onDeleteOption"
126
126
  @save-option-name="onSaveOptionName"
127
- @update-custom-date-from="emits('update-custom-date-from', $event)"
128
- @update-custom-date-to="emits('update-custom-date-to', $event)"
129
- @update-custom-time-from="emits('update-custom-time-from', $event)"
130
- @update-custom-time-to="emits('update-custom-time-to', $event)"
131
127
  @submit-options="emits('submit-options', $event)"
132
128
  />
133
129
  </template>
@@ -195,10 +191,6 @@ const emits = defineEmits<{
195
191
  (event: 'update-period-type', value: string): void
196
192
  (event: 'update-custom-time', value: string): void
197
193
  (event: 'delete-option'): void
198
- (event: 'update-custom-date-from', value: string): void
199
- (event: 'update-custom-date-to', value: string): void
200
- (event: 'update-custom-time-from', value: string): void
201
- (event: 'update-custom-time-to', value: string): void
202
194
  (event: 'submit-options', value: UI_I_OptionsForm): void
203
195
  (event: 'update:selected-timespan-type', value: string): void
204
196
  }>()
@@ -122,10 +122,6 @@ const emits = defineEmits<{
122
122
  (event: 'update-custom-time', value: string): void
123
123
  (event: 'delete-option'): void
124
124
  (event: 'save-option-name'): void
125
- (event: 'update-custom-date-from', value: string): void
126
- (event: 'update-custom-date-to', value: string): void
127
- (event: 'update-custom-time-from', value: string): void
128
- (event: 'update-custom-time-to', value: string): void
129
125
  (event: 'submit-options', value: UI_I_OptionsForm): void
130
126
  (event: 'select-objects', value: string): void
131
127
  }>()
@@ -99,6 +99,17 @@ const getTotalCores = (): void => {
99
99
  firstRequest = true
100
100
  }
101
101
  }
102
+ const updateSelectedRow = (): void => {
103
+ if (selectedRow.value.length) return
104
+
105
+ if (props.type === 'vm' && props.chart === 'network') {
106
+ selectedRow.value = []
107
+
108
+ if (props.currentItems.length === 1) {
109
+ selectedRow.value.push(props.currentItems[0])
110
+ }
111
+ }
112
+ }
102
113
  watch(
103
114
  () => props.selectedMetricsKeys,
104
115
  () => {
@@ -174,6 +185,7 @@ watch(
174
185
  }
175
186
 
176
187
  bodyItems.value = table.bodyItems(items)
188
+ updateSelectedRow()
177
189
  },
178
190
  { immediate: true, deep: true }
179
191
  )
@@ -187,7 +199,8 @@ watch(
187
199
  selectedItems.push(items[newValue]?.target_object)
188
200
  } else if (props.type === 'vm' && ['network'].includes(props.chart)) {
189
201
  newValue.forEach((key) => {
190
- selectedItems.push(items[key].target_object)
202
+ const newItem = items[key]?.target_object
203
+ newItem && selectedItems.push(newItem)
191
204
  })
192
205
  } else
193
206
  newValue.forEach((key) => {
@@ -35,6 +35,7 @@ export interface UI_I_Localization {
35
35
  scheduledTasks: UI_I_ArbitraryObject<string>
36
36
  license: UI_I_ArbitraryObject<string>
37
37
  events: UI_I_ArbitraryObject<string>
38
+ zabbix: UI_I_ArbitraryObject<string>
38
39
  }
39
40
  export interface UI_I_SendTaskParams {
40
41
  method: string
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.193",
4
+ "version": "1.4.195",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",