bfg-common 1.4.236 → 1.4.238

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.
@@ -2207,7 +2207,8 @@
2207
2207
  "from2": "ад",
2208
2208
  "to2": "К",
2209
2209
  "resetToDefault": "Скінуць да стандартных",
2210
- "theValueTooLarge": "Значэнне можа быць занадта вялікім"
2210
+ "theValueTooLarge": "Значэнне можа быць занадта вялікім",
2211
+ "closed": "Закрыты"
2211
2212
  },
2212
2213
  "auth": {
2213
2214
  "welcomeTo": "Сардэчна запрашаем у",
@@ -2675,5 +2676,25 @@
2675
2676
  "bindingSettingsDescription": "Уключыце гэтую функцыю, каб аўтаматычна прывязваць выбраныя шаблоны метрык да хоста ў Zabbix.",
2676
2677
  "deleteConfirmation": "Пацвярджэнне выдалення",
2677
2678
  "deleteDescription": "Вы ўпэўнены, што хочаце выдаліць хост «{0}» з сервера Zabbix «{1}»?"
2679
+ },
2680
+ "remoteConsole": {
2681
+ "remoteConsoleSessions": "Аддаленыя сеансы кансолі",
2682
+ "rcSessions": "Сесіі RC",
2683
+ "noActiveSessions": "Зараз няма актыўных сеансаў.",
2684
+ "sessionNumber": "Сеанс {0}",
2685
+ "sessionType": "Тып сесіі",
2686
+ "session": "Сесія",
2687
+ "clientHwid": "HWID кліента",
2688
+ "cancelSession": "Адмяніць сеанс",
2689
+ "sentBytes": "Адпраўленыя байты",
2690
+ "sendBytes": "Адправіць байт",
2691
+ "receivedBytes": "Атрыманыя байты",
2692
+ "avgBitrate": "сярэдні Бітрэйт",
2693
+ "locking": "Блакаванне",
2694
+ "confirmSessionCancellation": "Пацвердзіце адмену сеанса",
2695
+ "sessionCancellationDescription": "Вы ўпэўнены, што хочаце скасаваць сеанс “{0}” з віртуальнай машыны “{1}”?",
2696
+ "channelHistory": "Гісторыя канала",
2697
+ "receiveBytes": "Атрымлівайце байты",
2698
+ "noClosedSessions": "На дадзены момант закрытых сеансаў няма."
2678
2699
  }
2679
2700
  }
@@ -2211,7 +2211,8 @@
2211
2211
  "from2": "from",
2212
2212
  "to2": "To",
2213
2213
  "resetToDefault": "Reset To Default",
2214
- "theValueTooLarge": "The value may be too large"
2214
+ "theValueTooLarge": "The value may be too large",
2215
+ "closed": "Closed"
2215
2216
  },
2216
2217
  "auth": {
2217
2218
  "welcomeTo": "Welcome to",
@@ -2679,5 +2680,25 @@
2679
2680
  "bindingSettingsDescription": "Enable this feature to automatically bind selected metric templates to the host in Zabbix.",
2680
2681
  "deleteConfirmation": "Delete Confirmation",
2681
2682
  "deleteDescription": "Are you sure you want to delete host “{0}” from Zabbix server “{1}”?"
2683
+ },
2684
+ "remoteConsole": {
2685
+ "remoteConsoleSessions": "Remote Console Sessions",
2686
+ "rcSessions": "RC Sessions",
2687
+ "noActiveSessions": "There are currently no active sessions available.",
2688
+ "sessionNumber": "Session {0}",
2689
+ "sessionType": "Session Type",
2690
+ "session": "Session",
2691
+ "clientHwid": "Client HWID",
2692
+ "cancelSession": "Cancel Session",
2693
+ "sentBytes": "Sent Bytes",
2694
+ "sendBytes": "Send Bytes",
2695
+ "receivedBytes": "Received Bytes",
2696
+ "avgBitrate": "Avg. Bitrate",
2697
+ "locking": "Locking",
2698
+ "confirmSessionCancellation": "Confirm Session Cancellation",
2699
+ "sessionCancellationDescription": "Are you sure you want to cancel session “{0}” from virtual machine “{1}”?",
2700
+ "channelHistory": "Channel History",
2701
+ "receiveBytes": "Receive Bytes",
2702
+ "noClosedSessions": "There are currently no closed sessions available."
2682
2703
  }
2683
2704
  }
@@ -2211,7 +2211,8 @@
2211
2211
  "from2": "ից",
2212
2212
  "to2": "Դեպի",
2213
2213
  "resetToDefault": "Վերականգնել լռելյայնին",
2214
- "theValueTooLarge": "Արժեքը կարող է չափազանց մեծ լինել"
2214
+ "theValueTooLarge": "Արժեքը կարող է չափազանց մեծ լինել",
2215
+ "closed": "Փակված է"
2215
2216
  },
2216
2217
  "auth": {
2217
2218
  "welcomeTo": "Բարի գալուստ",
@@ -2679,5 +2680,25 @@
2679
2680
  "bindingSettingsDescription": "Միացրեք այս հատկությունը՝ ընտրված չափման ձևանմուշները Zabbix-ի հոսթին ավտոմատ կերպով կապելու համար:",
2680
2681
  "deleteConfirmation": "Ջնջել հաստատումը",
2681
2682
  "deleteDescription": "Իսկապե՞ս ուզում եք ջնջել «{0}» հոսթը Zabbix «{1}» սերվերից:"
2683
+ },
2684
+ "remoteConsole": {
2685
+ "remoteConsoleSessions": "Վահանակի հեռավոր նստաշրջաններ",
2686
+ "rcSessions": "RC նիստեր",
2687
+ "noActiveSessions": "Ներկայումս ակտիվ նիստեր չկան:",
2688
+ "sessionNumber": "Նիստ {0}",
2689
+ "sessionType": "Նստաշրջանի տեսակը",
2690
+ "session": "Նիստ",
2691
+ "clientHwid": "Հաճախորդի HWID",
2692
+ "cancelSession": "Չեղարկել նիստը",
2693
+ "sentBytes": "Ուղարկված բայթեր",
2694
+ "sendBytes": "Ուղարկեք բայթեր",
2695
+ "receivedBytes": "Ստացված բայթեր",
2696
+ "avgBitrate": "Միջին Բիթային արագություն",
2697
+ "locking": "Կողպում",
2698
+ "confirmSessionCancellation": "Հաստատեք նստաշրջանի չեղարկումը",
2699
+ "sessionCancellationDescription": "Իսկապե՞ս ուզում եք չեղարկել «{0}» սեսիան «{1}» վիրտուալ մեքենայից:",
2700
+ "channelHistory": "Ալիքի պատմություն",
2701
+ "receiveBytes": "Ստացեք բայթեր",
2702
+ "noClosedSessions": "Ներկայումս փակ նիստեր չկան:"
2682
2703
  }
2683
2704
  }
@@ -2210,7 +2210,8 @@
2210
2210
  "from2": "бастап",
2211
2211
  "to2": "К",
2212
2212
  "resetToDefault": "Әдепкіге қайта орнату",
2213
- "theValueTooLarge": "Мән тым үлкен болуы мүмкін"
2213
+ "theValueTooLarge": "Мән тым үлкен болуы мүмкін",
2214
+ "closed": "Жабық"
2214
2215
  },
2215
2216
  "auth": {
2216
2217
  "welcomeTo": "Қош келдіңіз",
@@ -2678,5 +2679,25 @@
2678
2679
  "bindingSettingsDescription": "Таңдалған метрикалық үлгілерді Zabbix жүйесіндегі хостқа автоматты түрде байланыстыру үшін осы мүмкіндікті қосыңыз.",
2679
2680
  "deleteConfirmation": "Растауды жою",
2680
2681
  "deleteDescription": "\"{0}\" хостын \"{1}\" Zabbix серверінен шынымен жойғыңыз келе ме?"
2682
+ },
2683
+ "remoteConsole": {
2684
+ "remoteConsoleSessions": "Қашықтағы консоль сеанстары",
2685
+ "rcSessions": "RC сеанстары",
2686
+ "noActiveSessions": "Қазіргі уақытта қолжетімді сеанстар жоқ.",
2687
+ "sessionNumber": "{0}-сессия",
2688
+ "sessionType": "Сеанс түрі",
2689
+ "session": "Сеанс",
2690
+ "clientHwid": "HWID клиенті",
2691
+ "cancelSession": "Сеансты тоқтату",
2692
+ "sentBytes": "Жіберілген байттар",
2693
+ "sendBytes": "Байттарды жіберу",
2694
+ "receivedBytes": "Алынған байттар",
2695
+ "avgBitrate": "Орт. Бит жылдамдығы",
2696
+ "locking": "Құлыптау",
2697
+ "confirmSessionCancellation": "Сеансты тоқтатуды растаңыз",
2698
+ "sessionCancellationDescription": "\"{1}\" виртуалды машинасынан \"{0}\" сеансынан бас тартқыңыз келетініне сенімдісіз бе?",
2699
+ "channelHistory": "Арна тарихы",
2700
+ "receiveBytes": "Байттар алу",
2701
+ "noClosedSessions": "Қазіргі уақытта жабық сеанстар жоқ."
2681
2702
  }
2682
2703
  }
@@ -2213,7 +2213,8 @@
2213
2213
  "from2": "От",
2214
2214
  "to2": "До",
2215
2215
  "resetToDefault": "Сбросить настройки по умолчанию",
2216
- "theValueTooLarge": "Значение может быть слишком большим"
2216
+ "theValueTooLarge": "Значение может быть слишком большим",
2217
+ "closed": "Закрыто"
2217
2218
  },
2218
2219
  "auth": {
2219
2220
  "welcomeTo": "Добро пожаловать в",
@@ -2681,5 +2682,25 @@
2681
2682
  "bindingSettingsDescription": "Включите эту функцию, чтобы автоматически привязывать выбранные шаблоны метрик к хосту в Zabbix.",
2682
2683
  "deleteConfirmation": "Удалить подтверждение",
2683
2684
  "deleteDescription": "Вы уверены, что хотите удалить хост «{0}» с сервера Zabbix «{1}»?"
2685
+ },
2686
+ "remoteConsole": {
2687
+ "remoteConsoleSessions": "Сеансы удаленной консоли",
2688
+ "rcSessions": "Сеанс УК",
2689
+ "noActiveSessions": "На данный момент активных сеансов нет.",
2690
+ "sessionNumber": "Сеанс {0}",
2691
+ "sessionType": "Тип сеанса",
2692
+ "session": "Сеанс",
2693
+ "clientHwid": "HWID клиента",
2694
+ "cancelSession": "Отменить сеанс",
2695
+ "sentBytes": "Отправленные байты",
2696
+ "sendBytes": "Отправить байты",
2697
+ "receivedBytes": "Полученные байты",
2698
+ "avgBitrate": "Среднее Битрейт",
2699
+ "locking": "Блокировка",
2700
+ "confirmSessionCancellation": "Подтвердите отмену сеанса",
2701
+ "sessionCancellationDescription": "Вы уверены, что хотите отменить сеанс «{0}» с виртуальной машины «{1}»?",
2702
+ "channelHistory": "История канала",
2703
+ "receiveBytes": "Получить байты",
2704
+ "noClosedSessions": "На данный момент закрытых сессий нет."
2684
2705
  }
2685
2706
  }
@@ -2209,7 +2209,8 @@
2209
2209
  "from2": "从",
2210
2210
  "to2": "到",
2211
2211
  "resetToDefault": "重置为默认值",
2212
- "theValueTooLarge": "该值可能太大"
2212
+ "theValueTooLarge": "该值可能太大",
2213
+ "closed": "关闭"
2213
2214
  },
2214
2215
  "auth": {
2215
2216
  "welcomeTo": "欢迎来到",
@@ -2677,5 +2678,25 @@
2677
2678
  "bindingSettingsDescription": "启用此功能可自动将选定的指标模板绑定到 Zabbix 中的主机。",
2678
2679
  "deleteConfirmation": "删除确认",
2679
2680
  "deleteDescription": "您确定要从 Zabbix 服务器“{1}”中删除主机“{0}”吗?"
2681
+ },
2682
+ "remoteConsole": {
2683
+ "remoteConsoleSessions": "远程控制台会话",
2684
+ "rcSessions": "RC 会议",
2685
+ "noActiveSessions": "当前没有可用的活动会话。",
2686
+ "sessionNumber": "会话{0}",
2687
+ "sessionType": "会话类型",
2688
+ "session": "会议",
2689
+ "clientHwid": "客户端硬件标识符",
2690
+ "cancelSession": "取消会话",
2691
+ "sentBytes": "发送字节数",
2692
+ "sendBytes": "发送字节",
2693
+ "receivedBytes": "接收字节数",
2694
+ "avgBitrate": "平均。比特率",
2695
+ "locking": "锁定",
2696
+ "confirmSessionCancellation": "确认会话取消",
2697
+ "sessionCancellationDescription": "您确定要从虚拟机“{1}”取消会话“{0}”吗?",
2698
+ "channelHistory": "频道历史",
2699
+ "receiveBytes": "接收字节",
2700
+ "noClosedSessions": "目前没有可用的闭门会议。"
2680
2701
  }
2681
2702
  }
@@ -3,7 +3,7 @@ import {
3
3
  frequencyOnOrdinalNumberFunc,
4
4
  } from '~/components/common/pages/scheduledTasks/modals/common/frequency/on/lib/config/options'
5
5
 
6
- export type T_FrequencyWeeksDays = ReturnType<
6
+ export type UI_T_FrequencyWeeksDays = ReturnType<
7
7
  typeof frequencyOnWeeksDaysFunc
8
8
  >[number]['value']
9
9
 
@@ -1,6 +1,5 @@
1
1
  import type {
2
2
  UI_I_ScheduleNewTasksForm,
3
- I_TakeSnapshotForm,
4
3
  } from '~/components/common/pages/scheduledTasks/modals/lib/models/interfaces'
5
4
 
6
5
  export const scheduledTaskDefaultFormFunc = (): UI_I_ScheduleNewTasksForm => {
@@ -19,10 +18,3 @@ export const scheduledTaskDefaultFormFunc = (): UI_I_ScheduleNewTasksForm => {
19
18
  frg_on_week_days: [],
20
19
  }
21
20
  }
22
-
23
- export const scheduledTaskSnapshotDefaultFormFunc = (): I_TakeSnapshotForm => {
24
- return {
25
- name: '',
26
- description: '',
27
- }
28
- }
@@ -1,4 +1,4 @@
1
- import type { T_FrequencyWeeksDays } from '~/components/common/pages/scheduledTasks/modals/common/frequency/on/lib/models/types'
1
+ import type { UI_T_FrequencyWeeksDays } from '~/components/common/pages/scheduledTasks/modals/common/frequency/on/lib/models/types'
2
2
 
3
3
  export interface UI_I_ScheduleNewTasksForm {
4
4
  task_name: string
@@ -10,12 +10,7 @@ export interface UI_I_ScheduleNewTasksForm {
10
10
  frg_start_on_time: number | null
11
11
  frg_monthly_day: number
12
12
  frq_ordinal_number: string
13
- frq_week_day: T_FrequencyWeeksDays
13
+ frq_week_day: UI_T_FrequencyWeeksDays
14
14
  frg_on_time: number | null
15
15
  frg_on_week_days: number[]
16
16
  }
17
-
18
- export interface I_TakeSnapshotForm {
19
- name: string
20
- description: string
21
- }
@@ -1,16 +1,4 @@
1
- import type { UI_I_Localization } from '~/lib/models/interfaces'
2
1
  import type { UI_I_ScheduleNewTasksForm } from '~/components/common/pages/scheduledTasks/modals/lib/models/interfaces'
3
- export const defineScheduleTaskModalTitle = (
4
- title: string,
5
- isEdit: boolean
6
- ): string => {
7
- const localization: UI_I_Localization = useLocal()
8
-
9
- const { scheduleNewTasks, scheduleTaskEdit } = localization.common
10
- const modalMode = isEdit ? scheduleTaskEdit : scheduleNewTasks
11
-
12
- return `${modalMode} (${title})`
13
- }
14
2
 
15
3
  export const buttonDisabled = (form: UI_I_ScheduleNewTasksForm): boolean => {
16
4
  const { task_name, frequency } = form
@@ -13,7 +13,6 @@
13
13
  <template #modalBody="{ selectedStep }">
14
14
  <atoms-loader v-show="!vmSettings" id="loader" />
15
15
  <div v-if="vmSettings" class="vm-context">
16
- <!-- TODO refactoring-->
17
16
  <common-pages-scheduled-tasks-modals-common-new-task-form
18
17
  v-show="selectedStep.id === dynamicSteps.scheduledTasks"
19
18
  v-model="newTaskForm"
@@ -136,7 +135,9 @@ import {
136
135
  } from '~/components/common/vm/actions/clone/lib/config/steps'
137
136
  import Wizard from '~/components/atoms/wizard/lib/utils/utils'
138
137
  import { mapCapabilities } from '~/components/common/vm/actions/common/lib/utils/capabilities'
139
- import { scheduledTaskDefaultFormFunc } from '~/components/common/pages/scheduledTasks/lib/config/createScheduledTask'
138
+ import {
139
+ scheduledTaskDefaultFormFunc
140
+ } from "~/components/common/pages/scheduledTasks/modals/lib/config/createScheduledTask";
140
141
 
141
142
  const props = defineProps<{
142
143
  project: UI_T_Project
@@ -13,7 +13,6 @@
13
13
  @submit="onFinish"
14
14
  >
15
15
  <template #modalBody="{ selectedStep }">
16
- <!-- TODO refactoring move to common-->
17
16
  <common-pages-scheduled-tasks-modals-common-new-task-form
18
17
  v-if="selectedStep.id === 0"
19
18
  v-model="newScheduledTaskForm"
@@ -96,10 +95,12 @@ import type { UI_I_VmSettings } from '~/lib/models/store/vm/interfaces'
96
95
  import type { UI_I_TreeNode } from '~/components/common/recursionTree/lib/models/interfaces'
97
96
  import type { UI_I_StorageConfigurePerDiskItem } from '~/components/common/wizards/vm/migrate/select/storage/configure/disk/table/lib/models/interfaces'
98
97
  import type { UI_I_TableInfoItem } from '~/components/atoms/table/info/lib/models/interfaces'
99
- import type { UI_I_ScheduleNewTasksForm } from '~/components/common/pages/scheduledTasks/lib/models/interfaces'
98
+ import type {UI_I_ScheduleNewTasksForm} from "~/components/common/pages/scheduledTasks/modals/lib/models/interfaces";
100
99
  import { constructDataReadyViewFunc } from '~/components/common/wizards/vm/migrate/lib/config/constructDataReady'
101
- import { scheduledTaskDefaultFormFunc } from '~/components/common/pages/scheduledTasks/lib/config/createScheduledTask'
102
100
  import * as validation from '~/components/common/wizards/vm/migrate/lib/validations'
101
+ import {
102
+ scheduledTaskDefaultFormFunc
103
+ } from "~/components/common/pages/scheduledTasks/modals/lib/config/createScheduledTask";
103
104
 
104
105
  const props = defineProps<{
105
106
  project: UI_T_Project
@@ -1,5 +1,5 @@
1
- import { UI_I_Localization } from '~/lib/models/interfaces'
2
- import { UI_I_WizardStep } from '~/components/atoms/wizard/lib/models/interfaces'
1
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
2
+ import type { UI_I_WizardStep } from '~/components/atoms/wizard/lib/models/interfaces'
3
3
  import { UI_E_WIZARD_STATUS } from '~/components/atoms/wizard/lib/models/enums'
4
4
 
5
5
  export const stepsFunc = (
@@ -36,6 +36,7 @@ export interface UI_I_Localization {
36
36
  license: UI_I_ArbitraryObject<string>
37
37
  events: UI_I_ArbitraryObject<string>
38
38
  zabbix: UI_I_ArbitraryObject<string>
39
+ remoteConsole: UI_I_ArbitraryObject<string>
39
40
  }
40
41
  export interface UI_I_SendTaskParams {
41
42
  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.236",
4
+ "version": "1.4.238",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",
@@ -1,18 +0,0 @@
1
- import type { UI_I_ScheduleNewTasksForm } from '~/components/common/pages/scheduledTasks/lib/models/interfaces'
2
-
3
- export const scheduledTaskDefaultFormFunc = (): UI_I_ScheduleNewTasksForm => {
4
- return {
5
- task_name: '',
6
- description: '',
7
- frequency: '',
8
- frg_after_startup: 0,
9
- frg_interval: 1,
10
- frg_end_time: null,
11
- frg_start_on_time: null,
12
- frg_monthly_day: 0,
13
- frq_week_day: '',
14
- frq_ordinal_number: '',
15
- frg_on_time: null,
16
- frg_on_week_days: [],
17
- }
18
- }
@@ -1,14 +0,0 @@
1
- export interface UI_I_ScheduleNewTasksForm {
2
- task_name: string
3
- description: string
4
- frequency: string
5
- frg_after_startup: number
6
- frg_interval: number
7
- frg_end_time: number | null
8
- frg_start_on_time: number | null
9
- frg_monthly_day: number
10
- frq_ordinal_number: string
11
- frq_week_day: string
12
- frg_on_time: number | null
13
- frg_on_week_days: number[]
14
- }