bfg-common 1.2.178 → 1.2.179

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 (71) hide show
  1. package/assets/localization/local_be.json +3 -1
  2. package/assets/localization/local_en.json +3 -1
  3. package/assets/localization/local_hy.json +3 -1
  4. package/assets/localization/local_kk.json +3 -1
  5. package/assets/localization/local_ru.json +3 -1
  6. package/assets/localization/local_zh.json +3 -1
  7. package/assets/scss/common/icons/icons-2.scss +222 -222
  8. package/components/atoms/switch/Switch.vue +107 -107
  9. package/components/atoms/table/dataGrid/DataGrid.vue +1489 -1490
  10. package/components/common/BadBrowser.vue +114 -114
  11. package/components/common/adapterManager/AddAdapterWarningModal.vue +82 -82
  12. package/components/common/adapterManager/NoActiveAdaptersModal.vue +62 -62
  13. package/components/common/adapterManager/NoConnectedActiveAdaptersModal.vue +62 -62
  14. package/components/common/browse/blocks/Title.vue +66 -66
  15. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +339 -339
  16. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +202 -202
  17. package/components/common/diagramMain/modals/remove/RemoveModal.vue +226 -226
  18. package/components/common/feedback/Feedback.vue +261 -261
  19. package/components/common/feedback/VisitPortal.vue +53 -53
  20. package/components/common/help/navbar/left/utils/constructAccordion.ts +27 -27
  21. package/components/common/recursionTree/RecursionTree.vue +201 -201
  22. package/components/common/tools/Actions.vue +167 -164
  23. package/components/common/vm/actions/clone/Clone.vue +545 -545
  24. package/components/common/vm/actions/clone/select/options/Options.vue +65 -65
  25. package/components/common/vm/actions/clone/utils.ts +43 -43
  26. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CoresPerSocket.vue +109 -109
  27. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +394 -394
  28. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/Limit.vue +234 -234
  29. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/config/options.ts +28 -28
  30. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +316 -316
  31. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/config/memoryOptions.ts +35 -35
  32. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +447 -447
  33. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbController.vue +77 -77
  34. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/Reservation.vue +235 -235
  35. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +177 -177
  36. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +197 -197
  37. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +181 -181
  38. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/CopyPaste.vue +51 -51
  39. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +253 -253
  40. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +55 -55
  41. package/components/common/vm/actions/common/select/storage/config/config.ts +154 -154
  42. package/components/common/vm/utils/powerActions.ts +55 -55
  43. package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +54 -54
  44. package/components/common/wizards/vm/migrate/Migrate.vue +13 -2
  45. package/components/common/wizards/vm/migrate/config/constructDataReady.ts +1 -2
  46. package/components/common/wizards/vm/migrate/models/interfaces.ts +4 -0
  47. package/components/common/wizards/vm/migrate/select/computeResource/ComputeResource.vue +45 -8
  48. package/components/common/wizards/vm/migrate/select/computeResource/models/enums.ts +6 -0
  49. package/components/common/wizards/vm/migrate/select/computeResource/models/interfaces.ts +30 -0
  50. package/components/common/wizards/vm/migrate/select/computeResource/models/types.ts +12 -0
  51. package/components/common/wizards/vm/migrate/select/computeResource/tableView/TableView.vue +78 -26
  52. package/components/common/wizards/vm/migrate/select/computeResource/tableView/config/hostTable.ts +16 -33
  53. package/components/common/wizards/vm/migrate/select/computeResource/tableView/models/interfaces.ts +29 -0
  54. package/components/common/wizards/vm/migrate/select/priority/config/typeOptions.ts +2 -2
  55. package/components/common/wizards/vm/migrate/select/priority/models/types.ts +1 -1
  56. package/components/common/wizards/vm/migrate/select/storage/Storage.vue +27 -17
  57. package/components/layout/theHeader/utils/localization.ts +32 -32
  58. package/composables/useLocal.ts +38 -38
  59. package/minify.js +146 -146
  60. package/models/composables/useMyFetch/interfaces.ts +25 -25
  61. package/models/interfaces.ts +49 -49
  62. package/models/store/interfaces.ts +37 -37
  63. package/models/store/storage/interfaces.ts +32 -32
  64. package/models/store/types.ts +43 -43
  65. package/modules/fixContentBuild/utils/methods.ts +114 -114
  66. package/package.json +1 -1
  67. package/public/spice-console/application/codec.js +257 -257
  68. package/public/spice-console/lib/rasterEngine.js +907 -907
  69. package/public/spice-console/network/spicechannel.js +369 -369
  70. package/utils/contentBuild.ts +34 -34
  71. package/utils/sendTask.ts +77 -77
@@ -1,114 +1,114 @@
1
- <template>
2
- <div class="bad-browser">
3
- <div class="main-block">
4
- <h1 class="title-block">
5
- {{ localization.browserOutDate }}
6
- </h1>
7
- <p class="first description-text">
8
- {{ firstDescriptionText }}
9
- </p>
10
- <div class="browsers-block">
11
- <a
12
- href="https://www.google.com/chrome/"
13
- target="_blank"
14
- class="browser-link"
15
- >
16
- <div class="browser-item">
17
- <atoms-the-icon2 name="chrome" class="browser-icon" />
18
- <p class="browser-name">Chrome</p>
19
- </div>
20
- </a>
21
- <a
22
- href="https://www.mozilla.org/en-US/"
23
- target="_blank"
24
- class="browser-link"
25
- >
26
- <div class="browser-item">
27
- <atoms-the-icon2 name="firefox" class="browser-icon" />
28
- <p class="browser-name">Firefox</p>
29
- </div>
30
- </a>
31
- <a
32
- href="https://support.apple.com/downloads/safari"
33
- target="_blank"
34
- class="browser-link"
35
- >
36
- <div class="browser-item">
37
- <atoms-the-icon2 name="safari" class="browser-icon" />
38
- <p class="browser-name">Safari</p>
39
- </div>
40
- </a>
41
- <a
42
- href="https://www.microsoft.com/en-us/edge/download?form=MA13FJ"
43
- target="_blank"
44
- class="browser-link last"
45
- >
46
- <div class="browser-item">
47
- <atoms-the-icon2 name="edge" class="browser-icon" />
48
- <p class="browser-name">Edge</p>
49
- </div>
50
- </a>
51
- </div>
52
- <p>
53
- {{ localization.browserOutDateDesc2 }}
54
- <a href="#">{{ localization.browserOutDateDesc3 }}</a>
55
- </p>
56
- </div>
57
- </div>
58
- </template>
59
-
60
- <script setup lang="ts">
61
- import { UI_I_Localization } from '~/models/interfaces'
62
-
63
- const props = defineProps<{
64
- projectName: string
65
- }>()
66
-
67
- const localization = computed<UI_I_Localization>(() => useLocal())
68
-
69
- const firstDescriptionText = computed<string>(() =>
70
- localization.value.browserOutDateDesc.replace('{0}', props.projectName)
71
- )
72
- </script>
73
-
74
- <style scoped lang="scss">
75
- .bad-browser {
76
- height: inherit;
77
- display: flex;
78
- justify-content: center;
79
- align-items: center;
80
-
81
- .main-block {
82
- width: max-content;
83
- padding: 20px 40px;
84
- text-align: center;
85
-
86
- .title-block {
87
- font-size: 32px;
88
- font-weight: 400;
89
- }
90
- .description-text {
91
- &.first {
92
- margin: 0 auto;
93
- max-width: 400px;
94
- }
95
- }
96
- .browsers-block {
97
- margin: 20px 0;
98
- display: flex;
99
- align-items: center;
100
- justify-content: center;
101
-
102
- .browser-link:not(.last) {
103
- margin-right: 40px;
104
- }
105
-
106
- .browser-item {
107
- .browser-icon {
108
- width: 60px;
109
- }
110
- }
111
- }
112
- }
113
- }
114
- </style>
1
+ <template>
2
+ <div class="bad-browser">
3
+ <div class="main-block">
4
+ <h1 class="title-block">
5
+ {{ localization.browserOutDate }}
6
+ </h1>
7
+ <p class="first description-text">
8
+ {{ firstDescriptionText }}
9
+ </p>
10
+ <div class="browsers-block">
11
+ <a
12
+ href="https://www.google.com/chrome/"
13
+ target="_blank"
14
+ class="browser-link"
15
+ >
16
+ <div class="browser-item">
17
+ <atoms-the-icon2 name="chrome" class="browser-icon" />
18
+ <p class="browser-name">Chrome</p>
19
+ </div>
20
+ </a>
21
+ <a
22
+ href="https://www.mozilla.org/en-US/"
23
+ target="_blank"
24
+ class="browser-link"
25
+ >
26
+ <div class="browser-item">
27
+ <atoms-the-icon2 name="firefox" class="browser-icon" />
28
+ <p class="browser-name">Firefox</p>
29
+ </div>
30
+ </a>
31
+ <a
32
+ href="https://support.apple.com/downloads/safari"
33
+ target="_blank"
34
+ class="browser-link"
35
+ >
36
+ <div class="browser-item">
37
+ <atoms-the-icon2 name="safari" class="browser-icon" />
38
+ <p class="browser-name">Safari</p>
39
+ </div>
40
+ </a>
41
+ <a
42
+ href="https://www.microsoft.com/en-us/edge/download?form=MA13FJ"
43
+ target="_blank"
44
+ class="browser-link last"
45
+ >
46
+ <div class="browser-item">
47
+ <atoms-the-icon2 name="edge" class="browser-icon" />
48
+ <p class="browser-name">Edge</p>
49
+ </div>
50
+ </a>
51
+ </div>
52
+ <p>
53
+ {{ localization.browserOutDateDesc2 }}
54
+ <a href="#">{{ localization.browserOutDateDesc3 }}</a>
55
+ </p>
56
+ </div>
57
+ </div>
58
+ </template>
59
+
60
+ <script setup lang="ts">
61
+ import { UI_I_Localization } from '~/models/interfaces'
62
+
63
+ const props = defineProps<{
64
+ projectName: string
65
+ }>()
66
+
67
+ const localization = computed<UI_I_Localization>(() => useLocal())
68
+
69
+ const firstDescriptionText = computed<string>(() =>
70
+ localization.value.browserOutDateDesc.replace('{0}', props.projectName)
71
+ )
72
+ </script>
73
+
74
+ <style scoped lang="scss">
75
+ .bad-browser {
76
+ height: inherit;
77
+ display: flex;
78
+ justify-content: center;
79
+ align-items: center;
80
+
81
+ .main-block {
82
+ width: max-content;
83
+ padding: 20px 40px;
84
+ text-align: center;
85
+
86
+ .title-block {
87
+ font-size: 32px;
88
+ font-weight: 400;
89
+ }
90
+ .description-text {
91
+ &.first {
92
+ margin: 0 auto;
93
+ max-width: 400px;
94
+ }
95
+ }
96
+ .browsers-block {
97
+ margin: 20px 0;
98
+ display: flex;
99
+ align-items: center;
100
+ justify-content: center;
101
+
102
+ .browser-link:not(.last) {
103
+ margin-right: 40px;
104
+ }
105
+
106
+ .browser-item {
107
+ .browser-icon {
108
+ width: 60px;
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
114
+ </style>
@@ -1,82 +1,82 @@
1
- <template>
2
- <div>
3
- <atoms-modal
4
- test-id="add-adapter-warning"
5
- width="576"
6
- height="420"
7
- :show="props.show"
8
- :title="props.title"
9
- class="diagram-action__remove"
10
- @hide="onHideModal"
11
- >
12
- <template #modalBody>
13
- <div class="modal-body-content modal-body-content__confirmation">
14
- <div class="confirm-icon-container">
15
- <atoms-diagram-icon name="is-warning" />
16
- </div>
17
- <p class="preserve-newlines">
18
- {{ localization.noFreeNetworkAdaptersAddSwitch }}
19
- </p>
20
- </div>
21
- </template>
22
- <template #modalFooter>
23
- <span>
24
- <button
25
- :id="`${props.testId}-modal-close-button`"
26
- type="button"
27
- class="btn btn-primary"
28
- @click="onHideModal"
29
- >
30
- {{ localization.ok }}
31
- </button>
32
- </span>
33
- </template>
34
- </atoms-modal>
35
- </div>
36
- </template>
37
-
38
- <script setup lang="ts">
39
- import { UI_I_Localization } from '~/models/interfaces'
40
-
41
- // Props from up
42
- const props = defineProps<{
43
- show: boolean
44
- modalName: string
45
- viewName: string
46
- title: string
47
- testId: string
48
- }>()
49
-
50
- // UI_I_Localization
51
- const localization = computed<UI_I_Localization>(() => useLocal())
52
-
53
- // Modal
54
- const emits = defineEmits<{
55
- (event: 'hide'): void
56
- }>()
57
- const onHideModal = (): void => {
58
- emits('hide')
59
- }
60
- </script>
61
-
62
- <style scoped lang="scss">
63
- :deep(.diagram-action__remove) {
64
- .modal-body-content {
65
- display: flex;
66
-
67
- .confirm-icon-container {
68
- margin-right: 20px;
69
- }
70
-
71
- .preserve-newlines {
72
- white-space: pre-line;
73
- font-size: 15px;
74
- }
75
- }
76
- }
77
- .table-fixed-height {
78
- min-height: 287px;
79
- max-height: 287px;
80
- overflow-y: auto;
81
- }
82
- </style>
1
+ <template>
2
+ <div>
3
+ <atoms-modal
4
+ test-id="add-adapter-warning"
5
+ width="576"
6
+ height="420"
7
+ :show="props.show"
8
+ :title="props.title"
9
+ class="diagram-action__remove"
10
+ @hide="onHideModal"
11
+ >
12
+ <template #modalBody>
13
+ <div class="modal-body-content modal-body-content__confirmation">
14
+ <div class="confirm-icon-container">
15
+ <atoms-diagram-icon name="is-warning" />
16
+ </div>
17
+ <p class="preserve-newlines">
18
+ {{ localization.noFreeNetworkAdaptersAddSwitch }}
19
+ </p>
20
+ </div>
21
+ </template>
22
+ <template #modalFooter>
23
+ <span>
24
+ <button
25
+ :id="`${props.testId}-modal-close-button`"
26
+ type="button"
27
+ class="btn btn-primary"
28
+ @click="onHideModal"
29
+ >
30
+ {{ localization.ok }}
31
+ </button>
32
+ </span>
33
+ </template>
34
+ </atoms-modal>
35
+ </div>
36
+ </template>
37
+
38
+ <script setup lang="ts">
39
+ import { UI_I_Localization } from '~/models/interfaces'
40
+
41
+ // Props from up
42
+ const props = defineProps<{
43
+ show: boolean
44
+ modalName: string
45
+ viewName: string
46
+ title: string
47
+ testId: string
48
+ }>()
49
+
50
+ // UI_I_Localization
51
+ const localization = computed<UI_I_Localization>(() => useLocal())
52
+
53
+ // Modal
54
+ const emits = defineEmits<{
55
+ (event: 'hide'): void
56
+ }>()
57
+ const onHideModal = (): void => {
58
+ emits('hide')
59
+ }
60
+ </script>
61
+
62
+ <style scoped lang="scss">
63
+ :deep(.diagram-action__remove) {
64
+ .modal-body-content {
65
+ display: flex;
66
+
67
+ .confirm-icon-container {
68
+ margin-right: 20px;
69
+ }
70
+
71
+ .preserve-newlines {
72
+ white-space: pre-line;
73
+ font-size: 15px;
74
+ }
75
+ }
76
+ }
77
+ .table-fixed-height {
78
+ min-height: 287px;
79
+ max-height: 287px;
80
+ overflow-y: auto;
81
+ }
82
+ </style>
@@ -1,62 +1,62 @@
1
- <template>
2
- <div>
3
- <atoms-modal
4
- test-id="no-active-adapters"
5
- width="576px"
6
- height="257px"
7
- :show="props.show"
8
- :title="localization.physicalNetworkAdaptersWarning"
9
- @hide="onHide"
10
- @submit="onSubmit"
11
- >
12
- <template #modalBody>
13
- <div class="modal-body-content modal-body-content__confirmation">
14
- <div class="confirm-icon-container">
15
- <atoms-diagram-icon name="is-warning" />
16
- </div>
17
- <p class="preserve-newlines">
18
- {{
19
- `${localization.thereAreNoActivePhysicalNetworkAdaptersForSwitch}
20
-
21
- ${localization.okOrCancelToReviewYourChanges}`
22
- }}
23
- </p>
24
- </div>
25
- </template>
26
- </atoms-modal>
27
- </div>
28
- </template>
29
-
30
- <script setup lang="ts">
31
- import { UI_I_Localization } from '~/models/interfaces'
32
-
33
- const props = defineProps<{
34
- show: boolean
35
- title: string
36
- }>()
37
-
38
- const emits = defineEmits<{
39
- (event: 'hide'): void
40
- (event: 'submit'): void
41
- }>()
42
-
43
- const onHide = () => emits('hide')
44
- const onSubmit = () => emits('submit')
45
-
46
- const localization = computed<UI_I_Localization>(() => useLocal())
47
- </script>
48
-
49
- <style scoped lang="scss">
50
- :deep(.modal-body-content.modal-body-content__confirmation) {
51
- display: flex;
52
-
53
- .confirm-icon-container {
54
- margin-right: 20px;
55
- }
56
-
57
- .preserve-newlines {
58
- white-space: pre-line;
59
- font-size: 15px;
60
- }
61
- }
62
- </style>
1
+ <template>
2
+ <div>
3
+ <atoms-modal
4
+ test-id="no-active-adapters"
5
+ width="576px"
6
+ height="257px"
7
+ :show="props.show"
8
+ :title="localization.physicalNetworkAdaptersWarning"
9
+ @hide="onHide"
10
+ @submit="onSubmit"
11
+ >
12
+ <template #modalBody>
13
+ <div class="modal-body-content modal-body-content__confirmation">
14
+ <div class="confirm-icon-container">
15
+ <atoms-diagram-icon name="is-warning" />
16
+ </div>
17
+ <p class="preserve-newlines">
18
+ {{
19
+ `${localization.thereAreNoActivePhysicalNetworkAdaptersForSwitch}
20
+
21
+ ${localization.okOrCancelToReviewYourChanges}`
22
+ }}
23
+ </p>
24
+ </div>
25
+ </template>
26
+ </atoms-modal>
27
+ </div>
28
+ </template>
29
+
30
+ <script setup lang="ts">
31
+ import { UI_I_Localization } from '~/models/interfaces'
32
+
33
+ const props = defineProps<{
34
+ show: boolean
35
+ title: string
36
+ }>()
37
+
38
+ const emits = defineEmits<{
39
+ (event: 'hide'): void
40
+ (event: 'submit'): void
41
+ }>()
42
+
43
+ const onHide = () => emits('hide')
44
+ const onSubmit = () => emits('submit')
45
+
46
+ const localization = computed<UI_I_Localization>(() => useLocal())
47
+ </script>
48
+
49
+ <style scoped lang="scss">
50
+ :deep(.modal-body-content.modal-body-content__confirmation) {
51
+ display: flex;
52
+
53
+ .confirm-icon-container {
54
+ margin-right: 20px;
55
+ }
56
+
57
+ .preserve-newlines {
58
+ white-space: pre-line;
59
+ font-size: 15px;
60
+ }
61
+ }
62
+ </style>
@@ -1,62 +1,62 @@
1
- <template>
2
- <div>
3
- <atoms-modal
4
- test-id="no-connected-active-adapter"
5
- width="576px"
6
- height="257px"
7
- :show="props.show"
8
- :title="localization.physicalNetworkAdaptersWarning"
9
- @hide="onHide"
10
- @submit="onSubmit"
11
- >
12
- <template #modalBody>
13
- <div class="modal-body-content modal-body-content__confirmation">
14
- <div class="confirm-icon-container">
15
- <atoms-diagram-icon name="is-warning" />
16
- </div>
17
- <p class="preserve-newlines">
18
- {{
19
- `${localization.allActiveAdaptersAreDisconnected}
20
-
21
- ${localization.okOrCancelToReviewYourChanges}`
22
- }}
23
- </p>
24
- </div>
25
- </template>
26
- </atoms-modal>
27
- </div>
28
- </template>
29
-
30
- <script setup lang="ts">
31
- import { UI_I_Localization } from '~/models/interfaces'
32
-
33
- const props = defineProps<{
34
- show: boolean
35
- title: string
36
- }>()
37
-
38
- const emits = defineEmits<{
39
- (event: 'hide'): void
40
- (event: 'submit'): void
41
- }>()
42
-
43
- const onHide = () => emits('hide')
44
- const onSubmit = () => emits('submit')
45
-
46
- const localization = computed<UI_I_Localization>(() => useLocal())
47
- </script>
48
-
49
- <style scoped lang="scss">
50
- :deep(.modal-body-content.modal-body-content__confirmation) {
51
- display: flex;
52
-
53
- .confirm-icon-container {
54
- margin-right: 20px;
55
- }
56
-
57
- .preserve-newlines {
58
- white-space: pre-line;
59
- font-size: 15px;
60
- }
61
- }
62
- </style>
1
+ <template>
2
+ <div>
3
+ <atoms-modal
4
+ test-id="no-connected-active-adapter"
5
+ width="576px"
6
+ height="257px"
7
+ :show="props.show"
8
+ :title="localization.physicalNetworkAdaptersWarning"
9
+ @hide="onHide"
10
+ @submit="onSubmit"
11
+ >
12
+ <template #modalBody>
13
+ <div class="modal-body-content modal-body-content__confirmation">
14
+ <div class="confirm-icon-container">
15
+ <atoms-diagram-icon name="is-warning" />
16
+ </div>
17
+ <p class="preserve-newlines">
18
+ {{
19
+ `${localization.allActiveAdaptersAreDisconnected}
20
+
21
+ ${localization.okOrCancelToReviewYourChanges}`
22
+ }}
23
+ </p>
24
+ </div>
25
+ </template>
26
+ </atoms-modal>
27
+ </div>
28
+ </template>
29
+
30
+ <script setup lang="ts">
31
+ import { UI_I_Localization } from '~/models/interfaces'
32
+
33
+ const props = defineProps<{
34
+ show: boolean
35
+ title: string
36
+ }>()
37
+
38
+ const emits = defineEmits<{
39
+ (event: 'hide'): void
40
+ (event: 'submit'): void
41
+ }>()
42
+
43
+ const onHide = () => emits('hide')
44
+ const onSubmit = () => emits('submit')
45
+
46
+ const localization = computed<UI_I_Localization>(() => useLocal())
47
+ </script>
48
+
49
+ <style scoped lang="scss">
50
+ :deep(.modal-body-content.modal-body-content__confirmation) {
51
+ display: flex;
52
+
53
+ .confirm-icon-container {
54
+ margin-right: 20px;
55
+ }
56
+
57
+ .preserve-newlines {
58
+ white-space: pre-line;
59
+ font-size: 15px;
60
+ }
61
+ }
62
+ </style>