bfg-common 1.2.67 → 1.2.69

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 (81) hide show
  1. package/components/atoms/alert/Notification.vue +167 -167
  2. package/components/atoms/autocomplete/Autocomplete.vue +236 -236
  3. package/components/atoms/datepicker/Datepicker.vue +612 -612
  4. package/components/atoms/list/SelectList.vue +62 -62
  5. package/components/atoms/nav/NavBar.vue +116 -116
  6. package/components/atoms/nav/VerticalNavBar.vue +89 -89
  7. package/components/atoms/notificationBar/NotificationBar.vue +175 -175
  8. package/components/atoms/perPage/PerPage.vue +52 -52
  9. package/components/atoms/popup/SimplePopup.vue +90 -90
  10. package/components/atoms/step/VerticalStep.vue +104 -104
  11. package/components/atoms/switch/Switch.vue +107 -107
  12. package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +206 -206
  13. package/components/atoms/table/dataGrid/DataGridPage.vue +189 -189
  14. package/components/atoms/tabs/Tabs.vue +189 -189
  15. package/components/atoms/tooltip/Signpost.vue +224 -224
  16. package/components/common/BadBrowser.vue +114 -114
  17. package/components/common/accordion/Accordion.vue +7 -14
  18. package/components/common/accordion/utils/accordion.ts +1 -1
  19. package/components/common/adapterManager/AddAdapterWarningModal.vue +82 -82
  20. package/components/common/adapterManager/NoActiveAdaptersModal.vue +62 -62
  21. package/components/common/adapterManager/NoConnectedActiveAdaptersModal.vue +62 -62
  22. package/components/common/browse/Browse.vue +182 -182
  23. package/components/common/browse/blocks/Title.vue +66 -66
  24. package/components/common/diagramMain/Diagram.vue +186 -186
  25. package/components/common/diagramMain/DiagramMain.vue +986 -986
  26. package/components/common/diagramMain/adapter/AdapterItem.vue +227 -227
  27. package/components/common/diagramMain/adapter/AdapterItems.vue +57 -57
  28. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +339 -339
  29. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +202 -202
  30. package/components/common/diagramMain/modals/remove/RemoveModal.vue +226 -226
  31. package/components/common/diagramMain/network/Contents.vue +238 -238
  32. package/components/common/feedback/Buttons.vue +227 -227
  33. package/components/common/feedback/Feedback.vue +261 -261
  34. package/components/common/feedback/Message.vue +506 -506
  35. package/components/common/feedback/VisitPortal.vue +53 -53
  36. package/components/common/help/navbar/left/Left.vue +164 -159
  37. package/components/common/help/navbar/left/utils/constructAccordion.ts +27 -27
  38. package/components/common/modals/Rename.vue +165 -165
  39. package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModal.vue +2 -1
  40. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/Table.vue +9 -3
  41. package/components/common/perPage/PerPage.vue +51 -51
  42. package/components/common/recursionTree/RecursionTree.vue +201 -201
  43. package/components/common/vm/actions/clone/Clone.vue +545 -545
  44. package/components/common/vm/actions/clone/select/options/Options.vue +65 -65
  45. package/components/common/vm/actions/clone/utils.ts +43 -43
  46. package/components/common/vm/actions/common/config/capabilities.ts +338 -338
  47. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +678 -678
  48. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CoresPerSocket.vue +109 -109
  49. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +383 -383
  50. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/Limit.vue +234 -234
  51. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/config/options.ts +28 -28
  52. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +316 -316
  53. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/config/memoryOptions.ts +35 -35
  54. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +445 -445
  55. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +288 -288
  56. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/Reservation.vue +235 -235
  57. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +177 -177
  58. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +197 -197
  59. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +181 -181
  60. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/CopyPaste.vue +51 -51
  61. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +253 -253
  62. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +55 -55
  63. package/components/common/vm/actions/common/select/storage/Storage.vue +194 -194
  64. package/components/common/vm/actions/common/select/storage/config/config.ts +154 -154
  65. package/components/common/wizards/datastore/add/nfs/Nfs.vue +94 -94
  66. package/components/common/wizards/datastore/add/nfs/configuration/Configuration.vue +377 -377
  67. package/components/common/wizards/datastore/add/nfs/configuration/serversList/ServersList.vue +123 -123
  68. package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +54 -54
  69. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/hostTable/HostTable.vue +131 -131
  70. package/components/common/wizards/datastore/add/sharedStorm/partitionConfiguration/PartitionConfiguration.vue +230 -230
  71. package/composables/useLocal.ts +38 -38
  72. package/minify.js +146 -146
  73. package/models/store/interfaces.ts +37 -37
  74. package/models/store/storage/interfaces.ts +32 -32
  75. package/models/store/types.ts +32 -32
  76. package/modules/fixContentBuild/utils/methods.ts +114 -114
  77. package/package.json +1 -1
  78. package/public/spice-console/application/codec.js +257 -257
  79. package/public/spice-console/lib/rasterEngine.js +907 -907
  80. package/public/spice-console/network/spicechannel.js +369 -369
  81. package/utils/contentBuild.ts +34 -34
@@ -1,227 +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
- </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>
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>