bfg-common 1.2.68 → 1.2.70

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 (84) hide show
  1. package/assets/localization/local_be.json +1 -2
  2. package/assets/localization/local_en.json +1 -2
  3. package/assets/localization/local_hy.json +1 -2
  4. package/assets/localization/local_kk.json +1 -2
  5. package/assets/localization/local_ru.json +1 -2
  6. package/assets/localization/local_zh.json +1 -2
  7. package/components/atoms/alert/Notification.vue +167 -167
  8. package/components/atoms/autocomplete/Autocomplete.vue +236 -236
  9. package/components/atoms/datepicker/Datepicker.vue +612 -612
  10. package/components/atoms/list/SelectList.vue +62 -62
  11. package/components/atoms/nav/NavBar.vue +116 -116
  12. package/components/atoms/nav/VerticalNavBar.vue +89 -89
  13. package/components/atoms/notificationBar/NotificationBar.vue +175 -175
  14. package/components/atoms/perPage/PerPage.vue +52 -52
  15. package/components/atoms/popup/SimplePopup.vue +90 -90
  16. package/components/atoms/step/VerticalStep.vue +104 -104
  17. package/components/atoms/switch/Switch.vue +107 -107
  18. package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +206 -206
  19. package/components/atoms/table/dataGrid/DataGridPage.vue +189 -189
  20. package/components/atoms/tabs/Tabs.vue +189 -189
  21. package/components/atoms/tooltip/Signpost.vue +224 -224
  22. package/components/common/BadBrowser.vue +114 -114
  23. package/components/common/adapterManager/AddAdapterWarningModal.vue +82 -82
  24. package/components/common/adapterManager/NoActiveAdaptersModal.vue +62 -62
  25. package/components/common/adapterManager/NoConnectedActiveAdaptersModal.vue +62 -62
  26. package/components/common/browse/Browse.vue +182 -182
  27. package/components/common/browse/blocks/Title.vue +66 -66
  28. package/components/common/diagramMain/Diagram.vue +186 -186
  29. package/components/common/diagramMain/DiagramMain.vue +986 -986
  30. package/components/common/diagramMain/adapter/AdapterItem.vue +227 -227
  31. package/components/common/diagramMain/adapter/AdapterItems.vue +57 -57
  32. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +339 -339
  33. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +202 -202
  34. package/components/common/diagramMain/modals/remove/RemoveModal.vue +226 -226
  35. package/components/common/diagramMain/network/Contents.vue +238 -238
  36. package/components/common/feedback/Buttons.vue +227 -232
  37. package/components/common/feedback/Feedback.vue +261 -261
  38. package/components/common/feedback/Message.vue +509 -506
  39. package/components/common/feedback/VisitPortal.vue +53 -53
  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/modals/Rename.vue +165 -165
  43. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/Table.vue +136 -136
  44. package/components/common/perPage/PerPage.vue +51 -51
  45. package/components/common/recursionTree/RecursionTree.vue +201 -201
  46. package/components/common/vm/actions/clone/Clone.vue +545 -545
  47. package/components/common/vm/actions/clone/select/options/Options.vue +65 -65
  48. package/components/common/vm/actions/clone/utils.ts +43 -43
  49. package/components/common/vm/actions/common/config/capabilities.ts +338 -338
  50. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +678 -678
  51. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CoresPerSocket.vue +109 -109
  52. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +383 -383
  53. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/Limit.vue +234 -234
  54. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/config/options.ts +28 -28
  55. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +316 -316
  56. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/config/memoryOptions.ts +35 -35
  57. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +445 -445
  58. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +288 -288
  59. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/Reservation.vue +235 -235
  60. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +177 -177
  61. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +197 -197
  62. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +181 -181
  63. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/CopyPaste.vue +51 -51
  64. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +253 -253
  65. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +55 -55
  66. package/components/common/vm/actions/common/select/storage/Storage.vue +194 -194
  67. package/components/common/vm/actions/common/select/storage/config/config.ts +154 -154
  68. package/components/common/wizards/datastore/add/nfs/Nfs.vue +94 -94
  69. package/components/common/wizards/datastore/add/nfs/configuration/Configuration.vue +377 -377
  70. package/components/common/wizards/datastore/add/nfs/configuration/serversList/ServersList.vue +123 -123
  71. package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +54 -54
  72. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/hostTable/HostTable.vue +131 -131
  73. package/components/common/wizards/datastore/add/sharedStorm/partitionConfiguration/PartitionConfiguration.vue +230 -230
  74. package/composables/useLocal.ts +38 -38
  75. package/minify.js +146 -146
  76. package/models/store/interfaces.ts +37 -37
  77. package/models/store/storage/interfaces.ts +32 -32
  78. package/models/store/types.ts +32 -32
  79. package/modules/fixContentBuild/utils/methods.ts +114 -114
  80. package/package.json +1 -1
  81. package/public/spice-console/application/codec.js +257 -257
  82. package/public/spice-console/lib/rasterEngine.js +907 -907
  83. package/public/spice-console/network/spicechannel.js +369 -369
  84. package/utils/contentBuild.ts +34 -34
@@ -1,232 +1,227 @@
1
- <template>
2
- <div class="buttons">
3
- <div class="buttons-info">
4
- <div class="icon-wrap">
5
- <atoms-the-icon
6
- id="showHelpInfo"
7
- fill="#0072a3"
8
- width="24px"
9
- height="24px"
10
- name="info-circle"
11
- @click="isShowHelpInfo = !isShowHelpInfo"
12
- />
13
- </div>
14
- <span class="info-text">{{ localization.helpUsImprove }}</span>
15
- </div>
16
- <atoms-tooltip-signpost
17
- v-if="isShowHelpInfo"
18
- test-id="feedback-button"
19
- elem-id="showHelpInfo"
20
- class="help-info"
21
- @hide="isShowHelpInfo = false"
22
- >
23
- <h3>{{ localization.feedbackHelp }}</h3>
24
- <p>
25
- {{ localization.anyFeedbackYouProvideMay }}
26
- <a id="privacy-notice-link" target="_blank" href="#">
27
- {{ localization.procurator }} Privacy Notice.
28
- </a>
29
-
30
- {{ localization.youAreResponsibleForObfuscatingOrRemoving }}
31
- </p>
32
- </atoms-tooltip-signpost>
33
- <div class="buttons-body">
34
- <span class="text">{{ localization.selectAType }}</span>
35
- <div class="button-wrap">
36
- <button
37
- v-for="item in props.items"
38
- id="feedback-button"
39
- :key="item.key"
40
- :class="[
41
- 'btn btn-outline feedback-button',
42
- { active: item.key === props.select },
43
- ]"
44
- @click="onSelect(item.key)"
45
- >
46
- <atoms-the-icon2
47
- class="feedback-icon btn-icon has-solid clr-i-outline clr-i-outline-path-2"
48
- :name="item.iconName"
49
- />
50
- <span>{{ item.text }}</span>
51
- </button>
52
- </div>
53
- </div>
54
- </div>
55
- </template>
56
-
57
- <script setup lang="ts">
58
- import { UI_I_FeedbackButtonsItem } from './models/interfaces'
59
- import { UI_I_Localization } from '~/models/interfaces'
60
-
61
- const props = defineProps<{
62
- select: number | null
63
- items: UI_I_FeedbackButtonsItem[]
64
- }>()
65
- const emits = defineEmits<{
66
- (event: 'update:select', value: number): void
67
- }>()
68
-
69
- const localization = computed<UI_I_Localization>(() => useLocal())
70
-
71
- const onSelect = (value: number): void => {
72
- emits('update:select', value)
73
- }
74
- const isShowHelpInfo = ref(false)
75
- </script>
76
-
77
- <style scoped lang="scss">
78
- .buttons {
79
- .buttons-info {
80
- display: flex;
81
- flex-direction: row;
82
- align-items: center;
83
- margin-bottom: 20px;
84
-
85
- :deep(.icon-info-standart) {
86
- width: 20px !important;
87
- min-width: 20px !important;
88
- height: 20px;
89
- min-height: 20px;
90
- }
91
- .icon-wrap {
92
- cursor: pointer;
93
- height: 24px;
94
- width: 24px;
95
- .info-icon {
96
- height: 24px;
97
- }
98
- }
99
-
100
- .info-text {
101
- margin-left: 5px;
102
- }
103
- }
104
- .buttons-body {
105
- display: flex;
106
- flex-direction: row;
107
- align-items: flex-start;
108
- margin-bottom: 20px;
109
- .text {
110
- padding-top: 5px;
111
- min-width: 140px;
112
- margin-right: 10px;
113
- }
114
- .email {
115
- width: 100%;
116
- }
117
- .button-wrap {
118
- display: flex;
119
- flex-direction: row;
120
- align-items: center;
121
- justify-content: flex-start;
122
- font-size: 13px;
123
- font-weight: 400;
124
- letter-spacing: normal;
125
-
126
- .btn {
127
- transform: translate(0, 3px);
128
- text-transform: capitalize;
129
- padding: 5px;
130
- .text {
131
- color: var(--icon-fill-hover-color);
132
- }
133
-
134
- &.btn-outline.feedback-button {
135
- display: flex;
136
- flex-direction: row;
137
- align-items: center;
138
- }
139
- &.btn-outline.feedback-button .feedback-icon {
140
- width: 16px;
141
- height: 16px;
142
- margin-right: 3px;
143
- }
144
-
145
- color: var(--icon-fill-color);
146
- border: 1px solid var(--btn-border-color);
147
- border-bottom: 5px solid var(--btn-border-color);
148
- .has-solid.clr-i-outline.clr-i-outline-path-2 {
149
- fill: var(--icon-fill-color);
150
- }
151
- }
152
- }
153
- .button-wrap {
154
- .btn.btn-outline.feedback-button:hover {
155
- transform: translate(0px, 0px);
156
- color: var(--icon-fill-hover-color);
157
- border: 1px solid var(--btn-border-hover-color);
158
- border-bottom: 5px solid var(--btn-border-hover-color);
159
- .has-solid.clr-i-outline.clr-i-outline-path-2 {
160
- fill: var(--icon-fill-hover-color);
161
- }
162
- }
163
- .btn.btn-outline.feedback-button.active {
164
- border: 1px solid var(--btn-border-hover-color);
165
- border-bottom: 5px solid var(--btn-border-hover-color);
166
- }
167
- }
168
-
169
- &__last {
170
- margin-top: -20px;
171
- }
172
- }
173
- }
174
- .tooltip {
175
- position: relative;
176
- display: inline-block;
177
-
178
- & .tooltiptext {
179
- text-align: center;
180
- padding: 5px 2px;
181
- border-radius: 2px;
182
- border: 1px solid var(--global-font-color);
183
- color: var(--global-font-color);
184
- background-color: var(--global-bg-color);
185
- position: absolute;
186
- z-index: 1;
187
- }
188
- }
189
- .help-info {
190
- display: block;
191
- text-align: left;
192
- width: 360px;
193
- color: var(--modal-first-title);
194
-
195
- h3 {
196
- font-size: 22px;
197
- color: inherit;
198
- margin-top: 0px;
199
- text-transform: capitalize;
200
- }
201
-
202
- p {
203
- margin-top: 24px;
204
- text-transform: none;
205
- white-space: break-spaces;
206
- }
207
- a {
208
- color: var(--a-link-color);
209
- text-decoration: none;
210
- }
211
- }
212
- </style>
213
- <style>
214
- :root {
215
- --modal-secondary-title: #565656;
216
- --modal-first-title: #565656;
217
- --icon-fill-color: #1d1c1c;
218
- --icon-fill-hover-color: rgb(0, 121, 184);
219
- --btn-border-hover-color: #0079b8;
220
- --btn-border-color: #dedede;
221
- --a-link-color: #0072a3;
222
- }
223
- :root.dark-theme {
224
- --modal-secondary-title: #e9ecef;
225
- --modal-first-title: #adbbc4;
226
- --icon-fill-color: rgb(233, 236, 239);
227
- --icon-fill-hover-color: rgb(73, 175, 217);
228
- --btn-border-hover-color: #0079b8;
229
- --btn-border-color: rgb(14, 22, 27);
230
- --a-link-color: #4aaed9;
231
- }
232
- </style>
1
+ <template>
2
+ <div class="buttons">
3
+ <div class="buttons-info">
4
+ <div class="icon-wrap">
5
+ <atoms-the-icon
6
+ id="showHelpInfo"
7
+ fill="#0072a3"
8
+ width="24px"
9
+ height="24px"
10
+ name="info-circle"
11
+ @click="isShowHelpInfo = !isShowHelpInfo"
12
+ />
13
+ </div>
14
+ <span class="info-text">{{ localization.helpUsImprove }}</span>
15
+ </div>
16
+ <atoms-tooltip-signpost
17
+ v-if="isShowHelpInfo"
18
+ test-id="feedback-button"
19
+ elem-id="showHelpInfo"
20
+ class="help-info"
21
+ @hide="isShowHelpInfo = false"
22
+ >
23
+ <h3>{{ localization.feedbackHelp }}</h3>
24
+ <p>
25
+ {{ localization.anyFeedbackYouProvideMay }}
26
+ </p>
27
+ </atoms-tooltip-signpost>
28
+ <div class="buttons-body">
29
+ <span class="text">{{ localization.selectAType }}</span>
30
+ <div class="button-wrap">
31
+ <button
32
+ v-for="item in props.items"
33
+ id="feedback-button"
34
+ :key="item.key"
35
+ :class="[
36
+ 'btn btn-outline feedback-button',
37
+ { active: item.key === props.select },
38
+ ]"
39
+ @click="onSelect(item.key)"
40
+ >
41
+ <atoms-the-icon2
42
+ class="feedback-icon btn-icon has-solid clr-i-outline clr-i-outline-path-2"
43
+ :name="item.iconName"
44
+ />
45
+ <span>{{ item.text }}</span>
46
+ </button>
47
+ </div>
48
+ </div>
49
+ </div>
50
+ </template>
51
+
52
+ <script setup lang="ts">
53
+ import { UI_I_FeedbackButtonsItem } from './models/interfaces'
54
+ import { UI_I_Localization } from '~/models/interfaces'
55
+
56
+ const props = defineProps<{
57
+ select: number | null
58
+ items: UI_I_FeedbackButtonsItem[]
59
+ }>()
60
+ const emits = defineEmits<{
61
+ (event: 'update:select', value: number): void
62
+ }>()
63
+
64
+ const localization = computed<UI_I_Localization>(() => useLocal())
65
+
66
+ const onSelect = (value: number): void => {
67
+ emits('update:select', value)
68
+ }
69
+ const isShowHelpInfo = ref(false)
70
+ </script>
71
+
72
+ <style scoped lang="scss">
73
+ .buttons {
74
+ .buttons-info {
75
+ display: flex;
76
+ flex-direction: row;
77
+ align-items: center;
78
+ margin-bottom: 20px;
79
+
80
+ :deep(.icon-info-standart) {
81
+ width: 20px !important;
82
+ min-width: 20px !important;
83
+ height: 20px;
84
+ min-height: 20px;
85
+ }
86
+ .icon-wrap {
87
+ cursor: pointer;
88
+ height: 24px;
89
+ width: 24px;
90
+ .info-icon {
91
+ height: 24px;
92
+ }
93
+ }
94
+
95
+ .info-text {
96
+ margin-left: 5px;
97
+ }
98
+ }
99
+ .buttons-body {
100
+ display: flex;
101
+ flex-direction: row;
102
+ align-items: flex-start;
103
+ margin-bottom: 20px;
104
+ .text {
105
+ padding-top: 5px;
106
+ min-width: 140px;
107
+ margin-right: 10px;
108
+ }
109
+ .email {
110
+ width: 100%;
111
+ }
112
+ .button-wrap {
113
+ display: flex;
114
+ flex-direction: row;
115
+ align-items: center;
116
+ justify-content: flex-start;
117
+ font-size: 13px;
118
+ font-weight: 400;
119
+ letter-spacing: normal;
120
+
121
+ .btn {
122
+ transform: translate(0, 3px);
123
+ text-transform: capitalize;
124
+ padding: 5px;
125
+ .text {
126
+ color: var(--icon-fill-hover-color);
127
+ }
128
+
129
+ &.btn-outline.feedback-button {
130
+ display: flex;
131
+ flex-direction: row;
132
+ align-items: center;
133
+ }
134
+ &.btn-outline.feedback-button .feedback-icon {
135
+ width: 16px;
136
+ height: 16px;
137
+ margin-right: 3px;
138
+ }
139
+
140
+ color: var(--icon-fill-color);
141
+ border: 1px solid var(--btn-border-color);
142
+ border-bottom: 5px solid var(--btn-border-color);
143
+ .has-solid.clr-i-outline.clr-i-outline-path-2 {
144
+ fill: var(--icon-fill-color);
145
+ }
146
+ }
147
+ }
148
+ .button-wrap {
149
+ .btn.btn-outline.feedback-button:hover {
150
+ transform: translate(0px, 0px);
151
+ color: var(--icon-fill-hover-color);
152
+ border: 1px solid var(--btn-border-hover-color);
153
+ border-bottom: 5px solid var(--btn-border-hover-color);
154
+ .has-solid.clr-i-outline.clr-i-outline-path-2 {
155
+ fill: var(--icon-fill-hover-color);
156
+ }
157
+ }
158
+ .btn.btn-outline.feedback-button.active {
159
+ border: 1px solid var(--btn-border-hover-color);
160
+ border-bottom: 5px solid var(--btn-border-hover-color);
161
+ }
162
+ }
163
+
164
+ &__last {
165
+ margin-top: -20px;
166
+ }
167
+ }
168
+ }
169
+ .tooltip {
170
+ position: relative;
171
+ display: inline-block;
172
+
173
+ & .tooltiptext {
174
+ text-align: center;
175
+ padding: 5px 2px;
176
+ border-radius: 2px;
177
+ border: 1px solid var(--global-font-color);
178
+ color: var(--global-font-color);
179
+ background-color: var(--global-bg-color);
180
+ position: absolute;
181
+ z-index: 1;
182
+ }
183
+ }
184
+ .help-info {
185
+ display: block;
186
+ text-align: left;
187
+ width: 360px;
188
+ color: var(--modal-first-title);
189
+
190
+ h3 {
191
+ font-size: 22px;
192
+ color: inherit;
193
+ margin-top: 0px;
194
+ text-transform: capitalize;
195
+ }
196
+
197
+ p {
198
+ margin-top: 24px;
199
+ text-transform: none;
200
+ white-space: break-spaces;
201
+ }
202
+ a {
203
+ color: var(--a-link-color);
204
+ text-decoration: none;
205
+ }
206
+ }
207
+ </style>
208
+ <style>
209
+ :root {
210
+ --modal-secondary-title: #565656;
211
+ --modal-first-title: #565656;
212
+ --icon-fill-color: #1d1c1c;
213
+ --icon-fill-hover-color: rgb(0, 121, 184);
214
+ --btn-border-hover-color: #0079b8;
215
+ --btn-border-color: #dedede;
216
+ --a-link-color: #0072a3;
217
+ }
218
+ :root.dark-theme {
219
+ --modal-secondary-title: #e9ecef;
220
+ --modal-first-title: #adbbc4;
221
+ --icon-fill-color: rgb(233, 236, 239);
222
+ --icon-fill-hover-color: rgb(73, 175, 217);
223
+ --btn-border-hover-color: #0079b8;
224
+ --btn-border-color: rgb(14, 22, 27);
225
+ --a-link-color: #4aaed9;
226
+ }
227
+ </style>