bfg-common 1.2.35 → 1.2.36

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.
Files changed (85) hide show
  1. package/assets/localization/local_be.json +2 -2
  2. package/assets/localization/local_en.json +2 -2
  3. package/assets/localization/local_hy.json +2 -2
  4. package/assets/localization/local_kk.json +2 -2
  5. package/assets/localization/local_ru.json +9 -9
  6. package/assets/localization/local_zh.json +2 -2
  7. package/components/atoms/TheIcon2.vue +0 -1
  8. package/components/atoms/alert/Notification.vue +167 -167
  9. package/components/atoms/autocomplete/Autocomplete.vue +236 -236
  10. package/components/atoms/datepicker/Datepicker.vue +612 -612
  11. package/components/atoms/list/SelectList.vue +62 -62
  12. package/components/atoms/nav/NavBar.vue +116 -116
  13. package/components/atoms/nav/VerticalNavBar.vue +89 -89
  14. package/components/atoms/notificationBar/NotificationBar.vue +175 -175
  15. package/components/atoms/perPage/PerPage.vue +52 -52
  16. package/components/atoms/popup/SimplePopup.vue +90 -90
  17. package/components/atoms/step/VerticalStep.vue +104 -104
  18. package/components/atoms/switch/Switch.vue +107 -107
  19. package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +206 -206
  20. package/components/atoms/table/dataGrid/DataGridPage.vue +189 -189
  21. package/components/atoms/tabs/Tabs.vue +189 -189
  22. package/components/atoms/tooltip/Signpost.vue +224 -224
  23. package/components/common/BadBrowser.vue +24 -5
  24. package/components/common/adapterManager/AddAdapterWarningModal.vue +82 -82
  25. package/components/common/adapterManager/NoActiveAdaptersModal.vue +62 -62
  26. package/components/common/adapterManager/NoConnectedActiveAdaptersModal.vue +62 -62
  27. package/components/common/browse/Browse.vue +182 -182
  28. package/components/common/browse/blocks/Title.vue +66 -66
  29. package/components/common/diagramMain/Diagram.vue +186 -186
  30. package/components/common/diagramMain/DiagramMain.vue +986 -986
  31. package/components/common/diagramMain/adapter/AdapterItem.vue +227 -227
  32. package/components/common/diagramMain/adapter/AdapterItems.vue +57 -57
  33. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +339 -339
  34. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +202 -202
  35. package/components/common/diagramMain/modals/remove/RemoveModal.vue +226 -226
  36. package/components/common/diagramMain/network/Contents.vue +238 -238
  37. package/components/common/feedback/Buttons.vue +232 -232
  38. package/components/common/feedback/Message.vue +468 -468
  39. package/components/common/feedback/VisitPortal.vue +54 -54
  40. package/components/common/help/navbar/left/Left.vue +159 -159
  41. package/components/common/help/navbar/left/utils/constructAccordion.ts +27 -27
  42. package/components/common/mainNavigationPanel/MainNavigationPanel.vue +359 -359
  43. package/components/common/modals/Rename.vue +165 -165
  44. package/components/common/monitor/models/interfaces.ts +1 -0
  45. package/components/common/perPage/PerPage.vue +51 -51
  46. package/components/common/recursionTree/RecursionTree.vue +201 -201
  47. package/components/common/vm/actions/add/config/capabilities.ts +338 -338
  48. package/components/common/vm/actions/add/customizeHardware/virtualHardware/VirtualHardware.vue +657 -657
  49. package/components/common/vm/actions/add/customizeHardware/virtualHardware/cpu/CoresPerSocket.vue +109 -109
  50. package/components/common/vm/actions/add/customizeHardware/virtualHardware/cpu/Cpu.vue +383 -383
  51. package/components/common/vm/actions/add/customizeHardware/virtualHardware/limit/Limit.vue +234 -234
  52. package/components/common/vm/actions/add/customizeHardware/virtualHardware/limit/config/options.ts +28 -28
  53. package/components/common/vm/actions/add/customizeHardware/virtualHardware/memory/Memory.vue +316 -316
  54. package/components/common/vm/actions/add/customizeHardware/virtualHardware/memory/config/memoryOptions.ts +35 -35
  55. package/components/common/vm/actions/add/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +445 -445
  56. package/components/common/vm/actions/add/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +288 -288
  57. package/components/common/vm/actions/add/customizeHardware/virtualHardware/reservation/Reservation.vue +235 -235
  58. package/components/common/vm/actions/add/customizeHardware/virtualHardware/videoCard/VideoCard.vue +177 -177
  59. package/components/common/vm/actions/add/customizeHardware/vmoptions/bootOptions/order/Order.vue +197 -197
  60. package/components/common/vm/actions/add/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +181 -181
  61. package/components/common/vm/actions/add/customizeHardware/vmoptions/remoteConsoleOptions/CopyPaste.vue +51 -51
  62. package/components/common/vm/actions/add/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +253 -253
  63. package/components/common/vm/actions/add/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +55 -55
  64. package/components/common/vm/actions/add/select/storage/config/config.ts +154 -154
  65. package/components/common/vm/actions/clone/Clone.vue +544 -544
  66. package/components/common/vm/actions/clone/select/options/Options.vue +65 -65
  67. package/components/common/vm/actions/clone/utils.ts +43 -43
  68. package/components/common/wizards/datastore/add/Add.vue +0 -1
  69. package/components/common/wizards/datastore/add/nfs/Nfs.vue +91 -94
  70. package/components/common/wizards/datastore/add/nfs/configuration/Configuration.vue +373 -377
  71. package/components/common/wizards/datastore/add/nfs/configuration/serversList/ServersList.vue +123 -123
  72. package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +54 -54
  73. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/hostTable/HostTable.vue +131 -131
  74. package/components/common/wizards/datastore/add/sharedStorm/partitionConfiguration/PartitionConfiguration.vue +230 -230
  75. package/composables/useLocal.ts +38 -38
  76. package/minify.js +146 -146
  77. package/models/store/interfaces.ts +37 -37
  78. package/models/store/storage/interfaces.ts +32 -32
  79. package/models/store/types.ts +32 -32
  80. package/modules/fixContentBuild/utils/methods.ts +114 -114
  81. package/package.json +1 -1
  82. package/public/spice-console/application/codec.js +257 -257
  83. package/public/spice-console/lib/rasterEngine.js +907 -907
  84. package/public/spice-console/network/spicechannel.js +369 -369
  85. package/utils/contentBuild.ts +34 -34
@@ -1,65 +1,65 @@
1
- <template>
2
- <div class="select-options">
3
- <div class="checkbox">
4
- <input
5
- id="customize-os"
6
- v-model="selectedOptions"
7
- type="checkbox"
8
- value="customize-os"
9
- />
10
- <label for="customize-os">{{
11
- localization.customizeTheOperatingSystem
12
- }}</label>
13
- </div>
14
- <div class="checkbox">
15
- <input
16
- id="customize-hardware"
17
- v-model="selectedOptions"
18
- type="checkbox"
19
- value="customize-hardware"
20
- />
21
- <label for="customize-hardware">{{
22
- localization.customizeThisVirtualMachineHardware
23
- }}</label>
24
- </div>
25
- <div class="checkbox">
26
- <input
27
- id="power-on"
28
- v-model="selectedOptions"
29
- type="checkbox"
30
- value="power-on"
31
- />
32
- <label for="power-on">{{
33
- localization.powerOnVirtualMachineAfterCreation
34
- }}</label>
35
- </div>
36
- </div>
37
- </template>
38
-
39
- <script setup lang="ts">
40
- import type { UI_I_Localization } from '~/models/interfaces'
41
-
42
- const props = defineProps<{
43
- selectOptionsSubmit: number
44
- }>()
45
-
46
- const emits = defineEmits<{
47
- (event: 'submit', value: string[]): void
48
- }>()
49
- const localization = computed<UI_I_Localization>(() => useLocal())
50
-
51
- const selectedOptions = ref<string[]>([])
52
- watch(() => props.selectOptionsSubmit, () => {
53
- emits('submit', selectedOptions.value)
54
- })
55
- </script>
56
-
57
- <style scoped lang="scss">
58
- .select-options {
59
- padding: 12px 0 0;
60
-
61
- .checkbox {
62
- margin: 6px 0;
63
- }
64
- }
65
- </style>
1
+ <template>
2
+ <div class="select-options">
3
+ <div class="checkbox">
4
+ <input
5
+ id="customize-os"
6
+ v-model="selectedOptions"
7
+ type="checkbox"
8
+ value="customize-os"
9
+ />
10
+ <label for="customize-os">{{
11
+ localization.customizeTheOperatingSystem
12
+ }}</label>
13
+ </div>
14
+ <div class="checkbox">
15
+ <input
16
+ id="customize-hardware"
17
+ v-model="selectedOptions"
18
+ type="checkbox"
19
+ value="customize-hardware"
20
+ />
21
+ <label for="customize-hardware">{{
22
+ localization.customizeThisVirtualMachineHardware
23
+ }}</label>
24
+ </div>
25
+ <div class="checkbox">
26
+ <input
27
+ id="power-on"
28
+ v-model="selectedOptions"
29
+ type="checkbox"
30
+ value="power-on"
31
+ />
32
+ <label for="power-on">{{
33
+ localization.powerOnVirtualMachineAfterCreation
34
+ }}</label>
35
+ </div>
36
+ </div>
37
+ </template>
38
+
39
+ <script setup lang="ts">
40
+ import type { UI_I_Localization } from '~/models/interfaces'
41
+
42
+ const props = defineProps<{
43
+ selectOptionsSubmit: number
44
+ }>()
45
+
46
+ const emits = defineEmits<{
47
+ (event: 'submit', value: string[]): void
48
+ }>()
49
+ const localization = computed<UI_I_Localization>(() => useLocal())
50
+
51
+ const selectedOptions = ref<string[]>([])
52
+ watch(() => props.selectOptionsSubmit, () => {
53
+ emits('submit', selectedOptions.value)
54
+ })
55
+ </script>
56
+
57
+ <style scoped lang="scss">
58
+ .select-options {
59
+ padding: 12px 0 0;
60
+
61
+ .checkbox {
62
+ margin: 6px 0;
63
+ }
64
+ }
65
+ </style>
@@ -1,43 +1,43 @@
1
- import { UI_I_Localization } from '~/models/interfaces'
2
- import { UI_I_VerticalStepItem } from '~/components/atoms/models/interfaces'
3
- import { UI_T_Project } from '~/models/types'
4
-
5
- export const stepItemsFunc = (
6
- localization: UI_I_Localization,
7
- project: UI_T_Project
8
- ): UI_I_VerticalStepItem[] => {
9
- if (project === 'sphere') {
10
- return []
11
- }
12
- return [
13
- {
14
- text: localization.selectName,
15
- disabled: false,
16
- complete: false,
17
- },
18
- { text: localization.selectStorage, disabled: true, complete: false },
19
- { text: localization.selectCloneOptions, disabled: true, complete: false },
20
- {
21
- text: localization.customizeHardware,
22
- disabled: true,
23
- complete: false,
24
- },
25
- { text: localization.readyComplete, disabled: true, complete: false },
26
- ]
27
- }
28
-
29
- export const subTitleFunc = (
30
- localization: UI_I_Localization,
31
- project: UI_T_Project
32
- ): string[] => {
33
- if (project === 'sphere') {
34
- return []
35
- }
36
- return [
37
- localization.specifyUniqueName,
38
- localization.selectStorageConfigurationDiskFiles,
39
- localization.chooseGuestOSInstalledVmAndMachineTypeUsedCreateVm,
40
- localization.selectFurtherCloneOptions,
41
- localization.clickFinishStartCreation,
42
- ]
43
- }
1
+ import { UI_I_Localization } from '~/models/interfaces'
2
+ import { UI_I_VerticalStepItem } from '~/components/atoms/models/interfaces'
3
+ import { UI_T_Project } from '~/models/types'
4
+
5
+ export const stepItemsFunc = (
6
+ localization: UI_I_Localization,
7
+ project: UI_T_Project
8
+ ): UI_I_VerticalStepItem[] => {
9
+ if (project === 'sphere') {
10
+ return []
11
+ }
12
+ return [
13
+ {
14
+ text: localization.selectName,
15
+ disabled: false,
16
+ complete: false,
17
+ },
18
+ { text: localization.selectStorage, disabled: true, complete: false },
19
+ { text: localization.selectCloneOptions, disabled: true, complete: false },
20
+ {
21
+ text: localization.customizeHardware,
22
+ disabled: true,
23
+ complete: false,
24
+ },
25
+ { text: localization.readyComplete, disabled: true, complete: false },
26
+ ]
27
+ }
28
+
29
+ export const subTitleFunc = (
30
+ localization: UI_I_Localization,
31
+ project: UI_T_Project
32
+ ): string[] => {
33
+ if (project === 'sphere') {
34
+ return []
35
+ }
36
+ return [
37
+ localization.specifyUniqueName,
38
+ localization.selectStorageConfigurationDiskFiles,
39
+ localization.chooseGuestOSInstalledVmAndMachineTypeUsedCreateVm,
40
+ localization.selectFurtherCloneOptions,
41
+ localization.clickFinishStartCreation,
42
+ ]
43
+ }
@@ -44,7 +44,6 @@
44
44
 
45
45
  <common-wizards-datastore-add-nfs
46
46
  v-show="datastoreType === 'nfs' && !isShowCompleteBlock"
47
- :mode="props.mode"
48
47
  :step-position="stepPosition"
49
48
  :datastore-type="datastoreType"
50
49
  :nfs-configuration-submit="nfsConfigurationSubmit"
@@ -1,94 +1,91 @@
1
- <template>
2
- <div class="nfs-container">
3
- <span class="nfs-container__desc">{{ stepSubTitle }}</span>
4
-
5
- <common-wizards-datastore-add-nfs-version
6
- v-show="props.stepPosition === 1"
7
- v-model:version="nfsVersion"
8
- />
9
-
10
- <common-wizards-datastore-add-nfs-configuration
11
- v-show="props.stepPosition === 2"
12
- :mode="props.mode"
13
- :nfs-version="nfsVersion"
14
- :nfs-configuration-submit="nfsConfigurationSubmit"
15
- @loading="(e) => emits('loading', e)"
16
- @next="applyChangesAndNext"
17
- />
18
-
19
- <!-- <templates-home-datastore-actions-add-nfs-kerberos-authentication-->
20
- <!-- v-show="nfsVersion === 'nfs-4.1' && props.stepPosition === 3"-->
21
- <!-- :nfs-version="nfsVersion"-->
22
- <!-- />--><!-- TODO Он будет когда будем делать групповое -->
23
-
24
- <!-- <templates-home-datastore-actions-add-nfs-accessibility-->
25
- <!-- v-if="showHostAccessibility"-->
26
- <!-- :host-accessibility-submit="hostAccessibilitySubmit"-->
27
- <!-- @next="applyChangesAndNext"-->
28
- <!-- />-->
29
- <!-- TODO Он будет когда будем делать групповое -->
30
- </div>
31
- </template>
32
-
33
- <script lang="ts" setup>
34
- import { UI_I_Localization } from '~/models/interfaces'
35
- import {
36
- UI_T_DatastoreType,
37
- UI_T_NfsType,
38
- UI_T_WizardDatastoreMode,
39
- } from '~/components/common/wizards/datastore/add/models/types'
40
- import { UI_I_ConfigurationSendDataNfs } from '~/components/common/wizards/datastore/add/nfs/configuration/models/interfaces'
41
- import { subTitleFunc } from '~/components/common/wizards/datastore/add/config/stepItems'
42
-
43
- const props = defineProps<{
44
- mode: UI_T_WizardDatastoreMode
45
- stepPosition: number
46
- datastoreType: UI_T_DatastoreType
47
- nfsConfigurationSubmit: number
48
- hostAccessibilitySubmit: number
49
- }>()
50
- const emits = defineEmits<{
51
- (event: 'loading', value: boolean): void
52
- (event: 'submit', value: UI_I_ConfigurationSendDataNfs): void
53
- (event: 'change-nfs-version', value: UI_T_NfsType): void
54
- }>()
55
-
56
- const localization = computed<UI_I_Localization>(() => useLocal())
57
-
58
- const nfsVersion = ref<UI_T_NfsType>('nfs-3')
59
-
60
- const stepSubTitle = computed<string>(() => {
61
- const { datastoreType, stepPosition } = props
62
- return subTitleFunc(
63
- localization.value,
64
- datastoreType,
65
- stepPosition,
66
- nfsVersion.value
67
- )
68
- })
69
-
70
- // const showHostAccessibility = computed<boolean>(() => {
71
- // return (
72
- // (props.stepPosition === 4 && nfsVersion.value === 'nfs-4.1') ||
73
- // (props.stepPosition === 3 && nfsVersion.value === 'nfs-3')
74
- // )
75
- // })
76
-
77
- watch(nfsVersion, (val: UI_T_NfsType) => {
78
- emits('change-nfs-version', val)
79
- })
80
-
81
- const applyChangesAndNext = (event: UI_I_ConfigurationSendDataNfs): void => {
82
- emits('submit', event)
83
- }
84
- </script>
85
-
86
- <style lang="scss" scoped>
87
- @import '~/assets/scss/common/mixins.scss';
88
- .nfs-container {
89
- @include flex($dir: column);
90
- height: 100%;
91
- &__desc {
92
- }
93
- }
94
- </style>
1
+ <template>
2
+ <div class="nfs-container">
3
+ <span class="nfs-container__desc">{{ stepSubTitle }}</span>
4
+
5
+ <common-wizards-datastore-add-nfs-version
6
+ v-show="props.stepPosition === 1"
7
+ v-model:version="nfsVersion"
8
+ />
9
+
10
+ <common-wizards-datastore-add-nfs-configuration
11
+ v-show="props.stepPosition === 2"
12
+ :nfs-version="nfsVersion"
13
+ :nfs-configuration-submit="nfsConfigurationSubmit"
14
+ @loading="(e) => emits('loading', e)"
15
+ @next="applyChangesAndNext"
16
+ />
17
+
18
+ <!-- <templates-home-datastore-actions-add-nfs-kerberos-authentication-->
19
+ <!-- v-show="nfsVersion === 'nfs-4.1' && props.stepPosition === 3"-->
20
+ <!-- :nfs-version="nfsVersion"-->
21
+ <!-- />--><!-- TODO Он будет когда будем делать групповое -->
22
+
23
+ <!-- <templates-home-datastore-actions-add-nfs-accessibility-->
24
+ <!-- v-if="showHostAccessibility"-->
25
+ <!-- :host-accessibility-submit="hostAccessibilitySubmit"-->
26
+ <!-- @next="applyChangesAndNext"-->
27
+ <!-- />-->
28
+ <!-- TODO Он будет когда будем делать групповое -->
29
+ </div>
30
+ </template>
31
+
32
+ <script lang="ts" setup>
33
+ import { UI_I_Localization } from '~/models/interfaces'
34
+ import {
35
+ UI_T_DatastoreType,
36
+ UI_T_NfsType,
37
+ } from '~/components/common/wizards/datastore/add/models/types'
38
+ import { UI_I_ConfigurationSendDataNfs } from '~/components/common/wizards/datastore/add/nfs/configuration/models/interfaces'
39
+ import { subTitleFunc } from '~/components/common/wizards/datastore/add/config/stepItems'
40
+
41
+ const props = defineProps<{
42
+ stepPosition: number
43
+ datastoreType: UI_T_DatastoreType
44
+ nfsConfigurationSubmit: number
45
+ hostAccessibilitySubmit: number
46
+ }>()
47
+ const emits = defineEmits<{
48
+ (event: 'loading', value: boolean): void
49
+ (event: 'submit', value: UI_I_ConfigurationSendDataNfs): void
50
+ (event: 'change-nfs-version', value: UI_T_NfsType): void
51
+ }>()
52
+
53
+ const localization = computed<UI_I_Localization>(() => useLocal())
54
+
55
+ const nfsVersion = ref<UI_T_NfsType>('nfs-3')
56
+
57
+ const stepSubTitle = computed<string>(() => {
58
+ const { datastoreType, stepPosition } = props
59
+ return subTitleFunc(
60
+ localization.value,
61
+ datastoreType,
62
+ stepPosition,
63
+ nfsVersion.value
64
+ )
65
+ })
66
+
67
+ // const showHostAccessibility = computed<boolean>(() => {
68
+ // return (
69
+ // (props.stepPosition === 4 && nfsVersion.value === 'nfs-4.1') ||
70
+ // (props.stepPosition === 3 && nfsVersion.value === 'nfs-3')
71
+ // )
72
+ // })
73
+
74
+ watch(nfsVersion, (val: UI_T_NfsType) => {
75
+ emits('change-nfs-version', val)
76
+ })
77
+
78
+ const applyChangesAndNext = (event: UI_I_ConfigurationSendDataNfs): void => {
79
+ emits('submit', event)
80
+ }
81
+ </script>
82
+
83
+ <style lang="scss" scoped>
84
+ @import '~/assets/scss/common/mixins.scss';
85
+ .nfs-container {
86
+ @include flex($dir: column);
87
+ height: 100%;
88
+ &__desc {
89
+ }
90
+ }
91
+ </style>