bfg-common 1.3.171 → 1.3.172

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.
@@ -2304,5 +2304,7 @@
2304
2304
  "storageSensorsAlert": "Дэман cim Broker невялікага памеру (SFCBD) не запушчаны. Гэты дэман перадае дадзеныя аб стане сховішчы. Калі ласка, глядзіце { link } для атрымання інфармацыі аб уключэнні гэтай службы.",
2305
2305
  "thisKbArticle": "гэты артыкул базы ведаў",
2306
2306
  "noAlertOrWarningOutOfSensors": "Няма абвестак або папярэджанняў ад датчыкаў {sensors}.",
2307
- "eventLogEntries": "Запісы ў часопісе падзей"
2307
+ "eventLogEntries": "Запісы ў часопісе падзей",
2308
+ "dataLock": "Блакаванне дадзеных",
2309
+ "backupManager": "Менеджэр рэзервовага капіявання"
2308
2310
  }
@@ -2308,5 +2308,7 @@
2308
2308
  "storageSensorsAlert": "The Small Footprint CIM Broker Daemon (SFCBD) is not running. Storage health data is reported by this daemon. Please see { link } for information on enabling this service.",
2309
2309
  "thisKbArticle": "this KB article",
2310
2310
  "noAlertOrWarningOutOfSensors": "No alerts or warnings out of {sensors} sensors.",
2311
- "eventLogEntries": "Event log entries"
2311
+ "eventLogEntries": "Event log entries",
2312
+ "dataLock": "Data Lock",
2313
+ "backupManager": "Backup Manager"
2312
2314
  }
@@ -2308,5 +2308,7 @@
2308
2308
  "storageSensorsAlert": "Փոքր չափի CIM Broker Daemon-ը (SFCBD) չի գործարկվել: Այս Daemon-ը փոխանցում է պահեստավորման կարգավիճակի տվյալները: Խնդրում ենք տեսնել { link } մասին տեղեկությունների համար հնարավորություն տալով այս ծառայությունը.",
2309
2309
  "thisKbArticle": "այս KB հոդվածը",
2310
2310
  "noAlertOrWarningOutOfSensors": "{sensors} սենսորներից ծանուցումներ կամ նախազգուշացումներ չկան:",
2311
- "eventLogEntries": "Իրադարձությունների Մատյան գրառումներ"
2311
+ "eventLogEntries": "Իրադարձությունների Մատյան գրառումներ",
2312
+ "dataLock": "Տվյալների կողպեք",
2313
+ "backupManager": "Կրկնօրինակման կառավարիչ"
2312
2314
  }
@@ -2307,5 +2307,7 @@
2307
2307
  "storageSensorsAlert": "Small Footprint Cim Broker Daemon (SFCBD) жұмыс істемейді. Сақтау денсаулығы туралы деректерді осы демон хабарлайды. Осы қызметті қосу туралы ақпаратты { link } бөлімінен қараңыз.",
2308
2308
  "thisKbArticle": "осы КБ мақаласы",
2309
2309
  "noAlertOrWarningOutOfSensors": "{sensors} сенсорларынан ескертулер немесе ескертулер жоқ.",
2310
- "eventLogEntries": "Оқиғалар журналының жазбалары"
2310
+ "eventLogEntries": "Оқиғалар журналының жазбалары",
2311
+ "dataLock": "Деректерді құлыптау",
2312
+ "backupManager": "Сақтық көшірме менеджері"
2311
2313
  }
@@ -2313,5 +2313,7 @@
2313
2313
  "storageSensorsAlert": "Демон CIM Broker небольшого размера (SFCBD) не запущен. Этот демон передает данные о состоянии хранилища. Пожалуйста, смотрите { link } для получения информации о включении этой службы.",
2314
2314
  "thisKbArticle": "эта статья базы знаний",
2315
2315
  "noAlertOrWarningOutOfSensors": "Нет оповещений или предупреждений от датчиков {sensors}.",
2316
- "eventLogEntries": "Записи в журнале событий"
2316
+ "eventLogEntries": "Записи в журнале событий",
2317
+ "dataLock": "Блокировка данных",
2318
+ "backupManager": "Менеджер резервного копирования"
2317
2319
  }
@@ -2307,5 +2307,7 @@
2307
2307
  "storageSensorsAlert": "占用空间小的Cim代理守护程序(SFCBD)未运行。 存储运行状况数据由此守护程序报告。 有关启用此服务的信息,请参阅{link}。",
2308
2308
  "thisKbArticle": "此知识库文章",
2309
2309
  "noAlertOrWarningOutOfSensors": "{sensors} 传感器没有发出警报或警告。",
2310
- "eventLogEntries": "事件日志条目"
2310
+ "eventLogEntries": "事件日志条目",
2311
+ "dataLock": "数据锁",
2312
+ "backupManager": "备份管理器"
2311
2313
  }
@@ -111,6 +111,10 @@
111
111
  .vx-icon-removeIcon {
112
112
  background-position: 0 74.649766511%;
113
113
  }
114
+ .vsphere-icon-storage-system-refresh {
115
+ background-position: 0 3.8025350233%;
116
+ }
117
+
114
118
 
115
119
  /* _____BACKGROUND IMAGE_____ */
116
120
  .icon-roll-back,
@@ -149,6 +153,7 @@
149
153
  .icon-storage-profile-32x,
150
154
  .icon-tasks,
151
155
  .vx-icon-removeIcon,
156
+ .vsphere-icon-storage-system-refresh,
152
157
  .vsphere-icon-snapshot-run {
153
158
  background-image: url('../img/icons/icons-sprite-light-4.svg');
154
159
  html.dark-theme & {
@@ -189,6 +194,7 @@
189
194
  .active .icon-vm-customizationManager-32x .active .icon-tasks,
190
195
  .active .icon-tasks,
191
196
  .active .vx-icon-removeIcon,
197
+ .active .vsphere-icon-storage-system-refresh,
192
198
  .active .vsphere-icon-snapshot-run {
193
199
  background-image: url('../img/icons/icons-sprite-dark-4.svg');
194
200
 
@@ -245,6 +251,7 @@
245
251
  .icon-tasks,
246
252
  .vsphere-icon-user,
247
253
  .vx-icon-removeIcon,
254
+ .vsphere-icon-storage-system-refresh,
248
255
  .vsphere-icon-snapshot-run {
249
256
  width: 18px;
250
257
  min-width: 18px;
@@ -10,12 +10,12 @@
10
10
  <div class="datagrid-row-master datagrid-row-flex">
11
11
  <div class="datagrid-row-scrollable">
12
12
  <div
13
- v-for="(item, key) in props.headItems"
14
- :key="key"
15
- :style="{
13
+ v-for="(item, key) in props.headItems"
14
+ :key="key"
15
+ :style="{
16
16
  width: columnsWidth[key],
17
17
  }"
18
- class="datagrid-column datagrid-fixed-width"
18
+ class="datagrid-column datagrid-fixed-width"
19
19
  >
20
20
  <div class="datagrid-column-flex">
21
21
  <div class="datagrid-column-title">
@@ -34,19 +34,19 @@
34
34
  </div>
35
35
  <template v-if="props.bodyItems.length">
36
36
  <div
37
- v-for="(item, key) in props.bodyItems"
38
- :key="key"
39
- :class="['datagrid-body-row datagrid-row animation']"
37
+ v-for="(item, key) in props.bodyItems"
38
+ :key="key"
39
+ :class="['datagrid-body-row datagrid-row animation']"
40
40
  >
41
41
  <div>
42
42
  <div class="datagrid-row-master datagrid-row-flex">
43
43
  <div class="datagrid-row-scrollable">
44
44
  <div class="datagrid-scrolling-cells">
45
45
  <div
46
- v-for="(item2, key2) in item"
47
- :key="item2"
48
- class="datagrid-cell datagrid-fixed-width"
49
- :style="{
46
+ v-for="(item2, key2) in item"
47
+ :key="item2"
48
+ class="datagrid-cell datagrid-fixed-width"
49
+ :style="{
50
50
  width: `${columnsWidth[key2]}`,
51
51
  }"
52
52
  >
@@ -87,14 +87,14 @@
87
87
  import { UI_I_HeadItem } from '~/components/atoms/table/compact/lib/models/interfaces'
88
88
 
89
89
  const props = withDefaults(
90
- defineProps<{
91
- headItems: UI_I_HeadItem[]
92
- bodyItems: any // don't know what array fields will be
93
- loading?: boolean
94
- }>(),
95
- {
96
- loading: false,
97
- }
90
+ defineProps<{
91
+ headItems: UI_I_HeadItem[]
92
+ bodyItems: any // don't know what array fields will be
93
+ loading?: boolean
94
+ }>(),
95
+ {
96
+ loading: false,
97
+ }
98
98
  )
99
99
 
100
100
  const columnsWidth = ref<string[]>([])
@@ -110,9 +110,10 @@ const setDataGridWidth = (): void => {
110
110
  return
111
111
  }
112
112
 
113
- const emptyWidthCount = props.headItems.filter((item) => !!item.width).length
113
+ const emptyWidthCount = props.headItems.filter((item) => !item.width).length
114
+ const existWidthsSum = props.headItems.reduce((acum, item) => acum += item.width, 0)
115
+ const equalGridWidth = (dataGridWidth - existWidthsSum) / emptyWidthCount
114
116
  props.headItems.forEach((item) => {
115
- const equalGridWidth = dataGridWidth / emptyWidthCount
116
117
  const elementMax = Math.max(equalGridWidth, item.width)
117
118
  columnsWidth.value.push(`${elementMax}px`)
118
119
  })
@@ -228,7 +228,7 @@
228
228
  class="datagrid-cell datagrid-fixed-width"
229
229
  >
230
230
  <div
231
- v-if="item[0]?.data?.isShowToggleIcon || true"
231
+ v-if="item[0]?.isShowToggleIcon || true"
232
232
  class="flex-align-center"
233
233
  >
234
234
  <button
@@ -3,6 +3,7 @@ export interface UI_I_BodyItem {
3
3
  text: string | number
4
4
  id: number | string
5
5
  selected?: boolean
6
+ isShowToggleIcon?: boolean
6
7
  /*
7
8
  Для сортировки нужно вот так отправить
8
9
  data: {
@@ -17,6 +17,7 @@ export type UI_T_ActionType =
17
17
  | 'revertLatestSnapshot'
18
18
  | 'deleteAllSnapshots'
19
19
  | 'manageSnapshots'
20
+ | 'newBackupPolicy'
20
21
  | 'addNetworking'
21
22
 
22
23
  export type UI_T_CustomizeHardwareField =
@@ -31,7 +31,7 @@ const localization = computed<UI_I_Localization>(() => useLocal())
31
31
  const model = defineModel<number[]>()
32
32
 
33
33
  const selectedOption = ref<number>(0)
34
- const options = ref<UI_I_SelectInputItem[]>(optionsFunc(localization))
34
+ const options = ref<UI_I_SelectInputItem[]>(optionsFunc(localization.value))
35
35
 
36
36
  const isCustom = computed<boolean>(() => selectedOption.value === 2)
37
37
  const selectDay = (value: number): void => {
@@ -6,5 +6,5 @@ export const optionsFunc = (
6
6
  ): UI_I_SelectInputItem[] => [
7
7
  { label: localization.daily, value: 0 },
8
8
  { label: localization.weekly, value: 1 },
9
- { label: localization.custmo, value: 2 },
9
+ { label: localization.custom, value: 2 },
10
10
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.171",
4
+ "version": "1.3.172",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",