bfg-common 1.0.52 → 1.0.53

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 (63) hide show
  1. package/assets/localization/local_be.json +1 -1
  2. package/assets/localization/local_en.json +1 -1
  3. package/assets/localization/local_hy.json +1 -1
  4. package/assets/localization/local_kk.json +1 -1
  5. package/assets/localization/local_ru.json +1 -1
  6. package/assets/localization/local_zh.json +1 -1
  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/modal/bySteps/BySteps.vue +234 -234
  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 +174 -174
  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/DataGrid.vue +40 -17
  20. package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +204 -204
  21. package/components/atoms/table/dataGrid/DataGridPage.vue +189 -189
  22. package/components/atoms/table/dataGrid/DataGridPagination.vue +83 -83
  23. package/components/atoms/tabs/Tabs.vue +189 -189
  24. package/components/atoms/tooltip/Signpost.vue +224 -224
  25. package/components/common/accordion/Accordion.vue +3 -13
  26. package/components/common/accordion/Recursion.vue +16 -23
  27. package/components/common/accordion/models/interfaces.ts +0 -1
  28. package/components/common/adapterManager/AddAdapterWarningModal.vue +82 -82
  29. package/components/common/adapterManager/NoActiveAdaptersModal.vue +62 -62
  30. package/components/common/adapterManager/NoConnectedActiveAdaptersModal.vue +62 -62
  31. package/components/common/browse/Browse.vue +182 -182
  32. package/components/common/browse/blocks/Title.vue +66 -66
  33. package/components/common/diagramMain/adapter/AdapterItem.vue +227 -227
  34. package/components/common/diagramMain/adapter/AdapterItems.vue +57 -57
  35. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +339 -339
  36. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +202 -202
  37. package/components/common/diagramMain/modals/remove/RemoveModal.vue +226 -226
  38. package/components/common/diagramMain/modals/viewSettings/Info.vue +94 -94
  39. package/components/common/diagramMain/network/Contents.vue +238 -238
  40. package/components/common/feedback/Buttons.vue +232 -232
  41. package/components/common/feedback/Message.vue +468 -468
  42. package/components/common/feedback/VisitPortal.vue +54 -54
  43. package/components/common/mainNavigationPanel/MainNavigationPanel.vue +359 -359
  44. package/components/common/modals/Rename.vue +165 -165
  45. package/components/common/perPage/PerPage.vue +51 -51
  46. package/components/common/recursionTree/RecursionTree.vue +201 -201
  47. package/components/common/wizards/datastore/add/nfs/configuration/Configuration.vue +373 -373
  48. package/components/common/wizards/datastore/add/nfs/configuration/serversList/ServersList.vue +123 -123
  49. package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +54 -54
  50. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/hostTable/HostTable.vue +131 -131
  51. package/components/common/wizards/datastore/add/sharedStorm/partitionConfiguration/PartitionConfiguration.vue +230 -230
  52. package/models/store/storage/interfaces.ts +32 -32
  53. package/package.json +1 -1
  54. package/public/spice-console/application/codec.js +257 -257
  55. package/public/spice-console/lib/rasterEngine.js +907 -907
  56. package/public/spice-console/network/spicechannel.js +369 -369
  57. package/public/spice-console-minify/lib/decoder/dixie.min.js +4 -4
  58. package/public/spice-console-minify/lib/jgestures.min.js +24 -24
  59. package/public/spice-console-minify/lib/jquery-2.0.3.min.js +24 -24
  60. package/public/spice-console-minify/lib/jquery-mousewheel.min.js +11 -11
  61. package/public/spice-console-minify/lib/jquery-visibility.min.js +1 -1
  62. package/public/spice-console-minify/lib/lodash.4.0.0.min.js +5 -5
  63. package/components/common/accordion/utils/accordion.ts +0 -31
@@ -1,104 +1,104 @@
1
- <template>
2
- <div :class="['clr-wizard-stepnav', props.type]">
3
- <div class="clr-wizard-stepnav-list">
4
- <div
5
- v-for="(item, key) in props.items"
6
- :key="key"
7
- :class="[
8
- 'clr-wizard clr-wizard-stepnav-item clr-nav-link nav-item',
9
- { disabled: item.disabled },
10
- { active: key === props.stepPosition },
11
- { complete: item.complete },
12
- ]"
13
- >
14
- <atoms-the-icon
15
- v-if="type === 'check'"
16
- :style="{ opacity: item.complete ? 1 : 0 }"
17
- width="14px"
18
- fill="#3aab24"
19
- name="check"
20
- />
21
- <button
22
- :id="`${props.testId}-step-button-${key}`"
23
- class="btn btn-link clr-wizard-stepnav-link"
24
- :style="{ 'margin-left': '8px' }"
25
- :disabled="item.disabled"
26
- @click="changeStep(key)"
27
- >
28
- <span class="clr-wizard-stepnav-link-title">{{ item.text }}</span>
29
- </button>
30
- </div>
31
- </div>
32
- </div>
33
- </template>
34
-
35
- <script setup lang="ts">
36
- import { UI_I_VerticalStepItem } from '~/components/atoms/models/interfaces'
37
-
38
- const props = withDefaults(
39
- defineProps<{
40
- items: UI_I_VerticalStepItem[]
41
- stepPosition: number
42
- type?: string
43
- testId?: string
44
- }>(),
45
- { testId: 'ui-vertical-step' }
46
- )
47
- const emits = defineEmits<{
48
- (event: 'change', num: number): void
49
- }>()
50
-
51
- const changeStep = (key: number) => {
52
- emits('change', key)
53
- }
54
- </script>
55
-
56
- <style scoped lang="scss">
57
- .clr-wizard-stepnav {
58
- &.check {
59
- .clr-wizard-stepnav-item {
60
- box-shadow: none;
61
- display: flex;
62
- align-items: center;
63
-
64
- button {
65
- height: auto;
66
- font-size: 13px;
67
- border-radius: 3px;
68
- //margin-left: 4px;
69
- }
70
- }
71
- }
72
- .clr-wizard-stepnav-item {
73
- padding: 0.3rem 0 0.4rem;
74
-
75
- &.active {
76
- button:hover,
77
- button {
78
- color: var(--vertical-steps-active-color);
79
- background-color: var(--vertical-steps-active-bg-color);
80
- cursor: default;
81
- span {
82
- color: var(--checkbox-mark-color);
83
- }
84
- }
85
- }
86
- &.complete:not(&.active) {
87
- button {
88
- background: var(--block-view-bg-color3);
89
- }
90
- button:hover {
91
- color: var(--vertical-steps-complete-color);
92
- background-color: var(--vertical-steps-complete-bg-color);
93
- border-bottom: 1px solid var(--vertical-steps-hover-border-color);
94
- }
95
- }
96
- button {
97
- color: var(--add-vm-context-title);
98
- .clr-wizard-stepnav-link-title {
99
- font-size: 14px;
100
- }
101
- }
102
- }
103
- }
104
- </style>
1
+ <template>
2
+ <div :class="['clr-wizard-stepnav', props.type]">
3
+ <div class="clr-wizard-stepnav-list">
4
+ <div
5
+ v-for="(item, key) in props.items"
6
+ :key="key"
7
+ :class="[
8
+ 'clr-wizard clr-wizard-stepnav-item clr-nav-link nav-item',
9
+ { disabled: item.disabled },
10
+ { active: key === props.stepPosition },
11
+ { complete: item.complete },
12
+ ]"
13
+ >
14
+ <atoms-the-icon
15
+ v-if="type === 'check'"
16
+ :style="{ opacity: item.complete ? 1 : 0 }"
17
+ width="14px"
18
+ fill="#3aab24"
19
+ name="check"
20
+ />
21
+ <button
22
+ :id="`${props.testId}-step-button-${key}`"
23
+ class="btn btn-link clr-wizard-stepnav-link"
24
+ :style="{ 'margin-left': '8px' }"
25
+ :disabled="item.disabled"
26
+ @click="changeStep(key)"
27
+ >
28
+ <span class="clr-wizard-stepnav-link-title">{{ item.text }}</span>
29
+ </button>
30
+ </div>
31
+ </div>
32
+ </div>
33
+ </template>
34
+
35
+ <script setup lang="ts">
36
+ import { UI_I_VerticalStepItem } from '~/components/atoms/models/interfaces'
37
+
38
+ const props = withDefaults(
39
+ defineProps<{
40
+ items: UI_I_VerticalStepItem[]
41
+ stepPosition: number
42
+ type?: string
43
+ testId?: string
44
+ }>(),
45
+ { testId: 'ui-vertical-step' }
46
+ )
47
+ const emits = defineEmits<{
48
+ (event: 'change', num: number): void
49
+ }>()
50
+
51
+ const changeStep = (key: number) => {
52
+ emits('change', key)
53
+ }
54
+ </script>
55
+
56
+ <style scoped lang="scss">
57
+ .clr-wizard-stepnav {
58
+ &.check {
59
+ .clr-wizard-stepnav-item {
60
+ box-shadow: none;
61
+ display: flex;
62
+ align-items: center;
63
+
64
+ button {
65
+ height: auto;
66
+ font-size: 13px;
67
+ border-radius: 3px;
68
+ //margin-left: 4px;
69
+ }
70
+ }
71
+ }
72
+ .clr-wizard-stepnav-item {
73
+ padding: 0.3rem 0 0.4rem;
74
+
75
+ &.active {
76
+ button:hover,
77
+ button {
78
+ color: var(--vertical-steps-active-color);
79
+ background-color: var(--vertical-steps-active-bg-color);
80
+ cursor: default;
81
+ span {
82
+ color: var(--checkbox-mark-color);
83
+ }
84
+ }
85
+ }
86
+ &.complete:not(&.active) {
87
+ button {
88
+ background: var(--block-view-bg-color3);
89
+ }
90
+ button:hover {
91
+ color: var(--vertical-steps-complete-color);
92
+ background-color: var(--vertical-steps-complete-bg-color);
93
+ border-bottom: 1px solid var(--vertical-steps-hover-border-color);
94
+ }
95
+ }
96
+ button {
97
+ color: var(--add-vm-context-title);
98
+ .clr-wizard-stepnav-link-title {
99
+ font-size: 14px;
100
+ }
101
+ }
102
+ }
103
+ }
104
+ </style>
@@ -1,107 +1,107 @@
1
- <template>
2
- <div class="switch-body">
3
- <input :id="props.testId" v-model="value" type="checkbox" />
4
- <label class="switch-label" :for="props.testId"> </label>
5
- </div>
6
- </template>
7
-
8
- <script setup lang="ts">
9
- const props = withDefaults(
10
- defineProps<{
11
- modelValue: boolean
12
- testId?: string
13
- }>(),
14
- { testId: 'ui-switch' }
15
- )
16
-
17
- const emits = defineEmits<{
18
- (event: 'update:model-value', value: boolean): void
19
- }>()
20
-
21
- const value = computed<boolean>({
22
- get() {
23
- return props.modelValue
24
- },
25
- set(newValue) {
26
- emits('update:model-value', newValue)
27
- },
28
- })
29
- </script>
30
-
31
- <style>
32
- :root {
33
- --label-before-bg-color: #737373;
34
- --label-after-bg-color: #fff;
35
- --label-before-box-shadow: 0 0 0.1rem 0.1rem #69c0e2;
36
- }
37
-
38
- :root.dark-theme {
39
- --label-before-bg-color: #fff;
40
- --label-after-bg-color: #1b2a32;
41
- --label-before-box-shadow: 0 0 0;
42
- }
43
- </style>
44
-
45
- <style scoped lang="scss">
46
- .switch-body {
47
- width: max-content;
48
- position: relative;
49
- height: 1.2rem;
50
-
51
- input[type='checkbox'] {
52
- position: absolute;
53
- top: 0.3rem;
54
- right: 0.3rem;
55
- height: 0.8rem;
56
- width: 0.8rem;
57
- opacity: 0;
58
- }
59
- .switch-label {
60
- display: block;
61
- position: relative;
62
- cursor: pointer;
63
- height: 1.2rem;
64
- }
65
- .switch-label {
66
- &:before {
67
- position: absolute;
68
- display: inline-block;
69
- content: '';
70
- height: 18px;
71
- width: 33px;
72
- border-radius: 0.45rem;
73
- border: 2px solid var(--label-before-bg-color);
74
- background-color: var(--label-before-bg-color);
75
- transition: 0.15s ease-in;
76
- transition-property: border-color, background-color;
77
- }
78
-
79
- &:after {
80
- position: absolute;
81
- display: inline-block;
82
- content: '';
83
- height: 14.5px;
84
- width: 14.5px;
85
- border: 1px solid var(--label-after-bg-color);
86
- border-radius: 50%;
87
- background-color: var(--label-after-bg-color);
88
- bottom: 12.5px;
89
- transition: 0.15s ease-in;
90
- }
91
- }
92
-
93
- & input[type='checkbox']:focus + label:before {
94
- box-shadow: var(--label-before-box-shadow);
95
- }
96
- & input[type='checkbox']:checked + label:before {
97
- border-color: #62a420;
98
- background-color: #62a420;
99
- }
100
- & input[type='checkbox']:checked + label:after {
101
- left: 15px;
102
- }
103
- & input[type='checkbox'] + label:after {
104
- left: 3px;
105
- }
106
- }
107
- </style>
1
+ <template>
2
+ <div class="switch-body">
3
+ <input :id="props.testId" v-model="value" type="checkbox" />
4
+ <label class="switch-label" :for="props.testId"> </label>
5
+ </div>
6
+ </template>
7
+
8
+ <script setup lang="ts">
9
+ const props = withDefaults(
10
+ defineProps<{
11
+ modelValue: boolean
12
+ testId?: string
13
+ }>(),
14
+ { testId: 'ui-switch' }
15
+ )
16
+
17
+ const emits = defineEmits<{
18
+ (event: 'update:model-value', value: boolean): void
19
+ }>()
20
+
21
+ const value = computed<boolean>({
22
+ get() {
23
+ return props.modelValue
24
+ },
25
+ set(newValue) {
26
+ emits('update:model-value', newValue)
27
+ },
28
+ })
29
+ </script>
30
+
31
+ <style>
32
+ :root {
33
+ --label-before-bg-color: #737373;
34
+ --label-after-bg-color: #fff;
35
+ --label-before-box-shadow: 0 0 0.1rem 0.1rem #69c0e2;
36
+ }
37
+
38
+ :root.dark-theme {
39
+ --label-before-bg-color: #fff;
40
+ --label-after-bg-color: #1b2a32;
41
+ --label-before-box-shadow: 0 0 0;
42
+ }
43
+ </style>
44
+
45
+ <style scoped lang="scss">
46
+ .switch-body {
47
+ width: max-content;
48
+ position: relative;
49
+ height: 1.2rem;
50
+
51
+ input[type='checkbox'] {
52
+ position: absolute;
53
+ top: 0.3rem;
54
+ right: 0.3rem;
55
+ height: 0.8rem;
56
+ width: 0.8rem;
57
+ opacity: 0;
58
+ }
59
+ .switch-label {
60
+ display: block;
61
+ position: relative;
62
+ cursor: pointer;
63
+ height: 1.2rem;
64
+ }
65
+ .switch-label {
66
+ &:before {
67
+ position: absolute;
68
+ display: inline-block;
69
+ content: '';
70
+ height: 18px;
71
+ width: 33px;
72
+ border-radius: 0.45rem;
73
+ border: 2px solid var(--label-before-bg-color);
74
+ background-color: var(--label-before-bg-color);
75
+ transition: 0.15s ease-in;
76
+ transition-property: border-color, background-color;
77
+ }
78
+
79
+ &:after {
80
+ position: absolute;
81
+ display: inline-block;
82
+ content: '';
83
+ height: 14.5px;
84
+ width: 14.5px;
85
+ border: 1px solid var(--label-after-bg-color);
86
+ border-radius: 50%;
87
+ background-color: var(--label-after-bg-color);
88
+ bottom: 12.5px;
89
+ transition: 0.15s ease-in;
90
+ }
91
+ }
92
+
93
+ & input[type='checkbox']:focus + label:before {
94
+ box-shadow: var(--label-before-box-shadow);
95
+ }
96
+ & input[type='checkbox']:checked + label:before {
97
+ border-color: #62a420;
98
+ background-color: #62a420;
99
+ }
100
+ & input[type='checkbox']:checked + label:after {
101
+ left: 15px;
102
+ }
103
+ & input[type='checkbox'] + label:after {
104
+ left: 3px;
105
+ }
106
+ }
107
+ </style>
@@ -207,7 +207,11 @@
207
207
  <div class="datagrid-scrolling-cells">
208
208
  <div
209
209
  v-for="(item2, key2) in item"
210
- v-show="!isShowHiddenInfo || item2.key === 'icon'"
210
+ v-show="
211
+ !isShowHiddenInfo ||
212
+ item2.key === 'col1' ||
213
+ item2.key === 'icon'
214
+ "
211
215
  :key="key2"
212
216
  :style="{
213
217
  width: columnsWidth[key2][0],
@@ -217,13 +221,21 @@
217
221
  :class="{
218
222
  'hidden-text-triangle':
219
223
  isShowHiddenInfo &&
220
- item2.key === 'icon' &&
221
- item2.data?.iconClassName,
224
+ item2.key === 'col1' &&
225
+ item2.data?.iconClassName === '11',
222
226
  }"
223
227
  >
224
- <div class="flex-align-center h-100">
228
+ <div
229
+ :class="[
230
+ 'flex-align-center h-100',
231
+ {
232
+ 'double-arrow-width':
233
+ item2.data?.name === 'doubleArrows',
234
+ },
235
+ ]"
236
+ >
225
237
  <div
226
- v-if="item2.data?.text"
238
+ v-if="item2.data?.name === 'doubleArrows'"
227
239
  class="double-arrow-wrap"
228
240
  :class="{
229
241
  'arrow-selected':
@@ -232,7 +244,7 @@
232
244
  }"
233
245
  >
234
246
  <atoms-the-icon
235
- v-if="item2.data?.text"
247
+ v-if="item2.data?.name === 'doubleArrows'"
236
248
  name="doubleArrows"
237
249
  class="double-arrow"
238
250
  :class="{
@@ -271,7 +283,10 @@
271
283
  }"
272
284
  >
273
285
  <div class="header">
274
- <slot name="hiddenInfoHeader" />
286
+ <slot
287
+ name="hiddenInfoHeader"
288
+ :item="item"
289
+ />
275
290
  <button
276
291
  :id="`${props.testId}-hidden-info-toggle-icon-${key}-${key2}`"
277
292
  class="signpost-action close"
@@ -455,7 +470,9 @@ let memoryWidth = '0'
455
470
  const doubleArrowClick = () => {
456
471
  if (!isShowHiddenInfo.value) {
457
472
  memoryWidth = columnsWidth.value[1][0]
458
- columnsWidth.value[1][0] = columnsWidth.value[1][1] // min width of 1st column
473
+ columnsWidth.value[1][0] = '162px'
474
+ // min width of 1st column
475
+ // columnsWidth.value[1][1]
459
476
  } else {
460
477
  columnsWidth.value[1][0] = memoryWidth
461
478
  }
@@ -953,9 +970,9 @@ onUnmounted(() => {
953
970
  margin-right: -5%;
954
971
  position: absolute;
955
972
  transform: rotate(225deg);
956
- border-bottom: 21px solid transparent;
957
- border-right: 21px solid var(--global-bg-color);
958
- bottom: 4%;
973
+ border-bottom: 15px solid transparent;
974
+ border-right: 15px solid var(--global-bg-color);
975
+ bottom: 26%;
959
976
  right: 0;
960
977
  z-index: 1000003;
961
978
  }
@@ -964,9 +981,9 @@ onUnmounted(() => {
964
981
  margin-right: -5%;
965
982
  transform: rotate(-135deg);
966
983
  position: absolute;
967
- border-bottom: 22px solid transparent;
968
- border-right: 22px solid var(--global-border-color);
969
- bottom: 3%;
984
+ border-bottom: 16px solid transparent;
985
+ border-right: 16px solid var(--global-border-color);
986
+ bottom: 23%;
970
987
  right: 0%;
971
988
  z-index: 1000002;
972
989
  }
@@ -1233,9 +1250,15 @@ onUnmounted(() => {
1233
1250
  }
1234
1251
  }
1235
1252
  }
1253
+ .double-arrow-width {
1254
+ width: 47px;
1255
+ }
1236
1256
  .double-arrow-wrap {
1237
- width: 22px;
1238
- height: 22px;
1257
+ width: 30px;
1258
+ height: 20px;
1259
+ padding-top: 1px;
1260
+ padding-left: 5px;
1261
+ cursor: pointer;
1239
1262
  background-color: transparent;
1240
1263
 
1241
1264
  .double-arrow {
@@ -1252,7 +1275,7 @@ onUnmounted(() => {
1252
1275
  }
1253
1276
  .double-arrow-wrap.arrow-selected {
1254
1277
  background-color: #0079b8;
1255
- border-radius: 5px;
1278
+ border-radius: 3px;
1256
1279
  }
1257
1280
  </style>
1258
1281