bfg-common 1.1.21 → 1.1.23

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 (69) hide show
  1. package/assets/localization/local_be.json +12 -1
  2. package/assets/localization/local_en.json +12 -1
  3. package/assets/localization/local_hy.json +12 -1
  4. package/assets/localization/local_kk.json +12 -1
  5. package/assets/localization/local_ru.json +12 -1
  6. package/assets/localization/local_zh.json +12 -1
  7. package/components/atoms/DiagramIcon.vue +53 -6
  8. package/components/atoms/TheIcon2.vue +14 -27
  9. package/components/atoms/alert/Notification.vue +167 -167
  10. package/components/atoms/autocomplete/Autocomplete.vue +236 -236
  11. package/components/atoms/datepicker/Datepicker.vue +612 -612
  12. package/components/atoms/list/SelectList.vue +62 -62
  13. package/components/atoms/nav/NavBar.vue +116 -116
  14. package/components/atoms/nav/VerticalNavBar.vue +89 -89
  15. package/components/atoms/notificationBar/NotificationBar.vue +174 -174
  16. package/components/atoms/perPage/PerPage.vue +52 -52
  17. package/components/atoms/popup/SimplePopup.vue +90 -90
  18. package/components/atoms/step/VerticalStep.vue +104 -104
  19. package/components/atoms/switch/Switch.vue +107 -107
  20. package/components/atoms/table/dataGrid/DataGrid.vue +2 -3
  21. package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +204 -204
  22. package/components/atoms/table/dataGrid/DataGridPage.vue +189 -189
  23. package/components/atoms/tabs/Tabs.vue +189 -189
  24. package/components/atoms/tooltip/Signpost.vue +224 -224
  25. package/components/common/adapterManager/AddAdapterWarningModal.vue +82 -82
  26. package/components/common/adapterManager/NoActiveAdaptersModal.vue +62 -62
  27. package/components/common/adapterManager/NoConnectedActiveAdaptersModal.vue +62 -62
  28. package/components/common/browse/Browse.vue +182 -182
  29. package/components/common/browse/blocks/Title.vue +66 -66
  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/modals/viewSettings/ViewSettings.vue +1 -1
  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 +139 -139
  41. package/components/common/help/navbar/left/utils/constructAccordion.ts +27 -27
  42. package/components/common/help/navbar/right/Right.vue +4 -4
  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/vm/actions/add/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +445 -452
  48. package/components/common/vm/actions/add/select/storage/config/config.ts +154 -154
  49. package/components/common/wizards/datastore/add/nfs/configuration/Configuration.vue +373 -373
  50. package/components/common/wizards/datastore/add/nfs/configuration/serversList/ServersList.vue +123 -123
  51. package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +54 -54
  52. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/hostTable/HostTable.vue +131 -131
  53. package/components/common/wizards/datastore/add/sharedStorm/partitionConfiguration/PartitionConfiguration.vue +230 -230
  54. package/models/store/interfaces.ts +37 -37
  55. package/models/store/storage/interfaces.ts +32 -32
  56. package/models/store/types.ts +32 -32
  57. package/modules/fixContentBuild/index.ts +80 -80
  58. package/modules/fixContentBuild/utils/methods.ts +114 -114
  59. package/package.json +1 -1
  60. package/public/spice-console/application/codec.js +257 -257
  61. package/public/spice-console/lib/rasterEngine.js +907 -907
  62. package/public/spice-console/network/spicechannel.js +369 -369
  63. package/public/spice-console-minify/lib/decoder/dixie.min.js +4 -4
  64. package/public/spice-console-minify/lib/jgestures.min.js +24 -24
  65. package/public/spice-console-minify/lib/jquery-2.0.3.min.js +24 -24
  66. package/public/spice-console-minify/lib/jquery-mousewheel.min.js +11 -11
  67. package/public/spice-console-minify/lib/jquery-visibility.min.js +1 -1
  68. package/public/spice-console-minify/lib/lodash.4.0.0.min.js +5 -5
  69. package/utils/contentBuild.ts +34 -34
@@ -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>
@@ -945,6 +945,7 @@ onUnmounted(() => {
945
945
  }
946
946
 
947
947
  .datagrid-table-wrapper {
948
+ width: max-content;
948
949
  display: flex;
949
950
  flex: 1 1 auto;
950
951
  min-height: 100%;
@@ -1058,9 +1059,7 @@ onUnmounted(() => {
1058
1059
 
1059
1060
  .datagrid-filter-toggle {
1060
1061
  background: unset;
1061
- position: absolute;
1062
- right: 2px;
1063
- top: calc(50% - 8px);
1062
+ margin-top: -2px;
1064
1063
 
1065
1064
  .filter-icon {
1066
1065
  width: 16px;