bfg-common 1.0.66 → 1.0.67

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 (62) hide show
  1. package/assets/localization/local_be.json +6 -6
  2. package/assets/localization/local_en.json +6 -6
  3. package/assets/localization/local_hy.json +6 -6
  4. package/assets/localization/local_kk.json +6 -6
  5. package/assets/localization/local_ru.json +6 -6
  6. package/assets/localization/local_zh.json +6 -6
  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/DataGridColumnSwitch.vue +204 -204
  20. package/components/atoms/table/dataGrid/DataGridPage.vue +189 -189
  21. package/components/atoms/table/dataGrid/DataGridPagination.vue +83 -83
  22. package/components/atoms/tabs/Tabs.vue +189 -189
  23. package/components/atoms/tooltip/Signpost.vue +224 -224
  24. package/components/common/accordion/models/interfaces.ts +1 -1
  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/Info.vue +94 -94
  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/mainNavigationPanel/MainNavigationPanel.vue +359 -359
  41. package/components/common/modals/Rename.vue +165 -165
  42. package/components/common/perPage/PerPage.vue +51 -51
  43. package/components/common/recursionTree/RecursionTree.vue +201 -201
  44. package/components/common/select/radio/models/interfaces.ts +0 -2
  45. package/components/common/wizards/datastore/add/nfs/configuration/Configuration.vue +373 -373
  46. package/components/common/wizards/datastore/add/nfs/configuration/serversList/ServersList.vue +123 -123
  47. package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +54 -54
  48. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/hostTable/HostTable.vue +131 -131
  49. package/components/common/wizards/datastore/add/sharedStorm/partitionConfiguration/PartitionConfiguration.vue +230 -230
  50. package/components/common/wizards/datastore/add/types/Types.vue +14 -72
  51. package/components/common/wizards/datastore/add/types/config/typeOptions.ts +3 -11
  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
@@ -1,66 +1,66 @@
1
- <template>
2
- <div class="title-block" :style="blockWidth">
3
- <div class="title-block__container" :style="blockWidth">
4
- <div class="title-block__title" :style="blockTitleWidth">
5
- <b>{{ props.title }}</b>
6
- </div>
7
- <div class="title-block__body">
8
- <slot name="content"></slot>
9
- </div>
10
- </div>
11
- </div>
12
- </template>
13
-
14
- <script setup lang="ts">
15
- const props = defineProps<{
16
- title: string
17
- width: number
18
- }>()
19
-
20
- const blockWidth = computed(() => ({ width: `${props.width}px` }))
21
- const blockTitleWidth = computed(() => ({ width: `${props.width - 2}px` }))
22
- </script>
23
-
24
- <style scoped lang="scss">
25
- .title-block {
26
- width: 100%;
27
- min-height: 400px;
28
- position: relative;
29
-
30
- &__container {
31
- position: absolute;
32
- top: 0;
33
- height: 400px;
34
- left: 0;
35
- display: flex;
36
- flex-direction: column;
37
- border-width: 1px;
38
- border-style: solid;
39
- border-color: rgb(204, 204, 204);
40
- border-image: initial;
41
- background: rgb(255, 255, 255);
42
- }
43
- &__title {
44
- background-color: rgb(231, 235, 239);
45
- flex: 0 0 auto;
46
- padding: 8px;
47
- border-bottom: 1px solid rgb(204, 204, 204);
48
- display: inline-block;
49
- white-space: nowrap;
50
- overflow: hidden !important;
51
- text-overflow: ellipsis;
52
-
53
- b {
54
- font-weight: bolder;
55
- font-size: 13px;
56
- letter-spacing: normal;
57
- font-family: Metropolis, Avenir Next, Helvetica Neue, Arial, sans-serif;
58
- color: #666;
59
- }
60
- }
61
- &__body {
62
- flex: 1 1 auto;
63
- overflow-y: auto;
64
- }
65
- }
66
- </style>
1
+ <template>
2
+ <div class="title-block" :style="blockWidth">
3
+ <div class="title-block__container" :style="blockWidth">
4
+ <div class="title-block__title" :style="blockTitleWidth">
5
+ <b>{{ props.title }}</b>
6
+ </div>
7
+ <div class="title-block__body">
8
+ <slot name="content"></slot>
9
+ </div>
10
+ </div>
11
+ </div>
12
+ </template>
13
+
14
+ <script setup lang="ts">
15
+ const props = defineProps<{
16
+ title: string
17
+ width: number
18
+ }>()
19
+
20
+ const blockWidth = computed(() => ({ width: `${props.width}px` }))
21
+ const blockTitleWidth = computed(() => ({ width: `${props.width - 2}px` }))
22
+ </script>
23
+
24
+ <style scoped lang="scss">
25
+ .title-block {
26
+ width: 100%;
27
+ min-height: 400px;
28
+ position: relative;
29
+
30
+ &__container {
31
+ position: absolute;
32
+ top: 0;
33
+ height: 400px;
34
+ left: 0;
35
+ display: flex;
36
+ flex-direction: column;
37
+ border-width: 1px;
38
+ border-style: solid;
39
+ border-color: rgb(204, 204, 204);
40
+ border-image: initial;
41
+ background: rgb(255, 255, 255);
42
+ }
43
+ &__title {
44
+ background-color: rgb(231, 235, 239);
45
+ flex: 0 0 auto;
46
+ padding: 8px;
47
+ border-bottom: 1px solid rgb(204, 204, 204);
48
+ display: inline-block;
49
+ white-space: nowrap;
50
+ overflow: hidden !important;
51
+ text-overflow: ellipsis;
52
+
53
+ b {
54
+ font-weight: bolder;
55
+ font-size: 13px;
56
+ letter-spacing: normal;
57
+ font-family: Metropolis, Avenir Next, Helvetica Neue, Arial, sans-serif;
58
+ color: #666;
59
+ }
60
+ }
61
+ &__body {
62
+ flex: 1 1 auto;
63
+ overflow-y: auto;
64
+ }
65
+ }
66
+ </style>
@@ -1,227 +1,227 @@
1
- <template>
2
- <g data-title="adapter-item-group">
3
- <common-diagram-main-highlights
4
- data-title="adapter-item"
5
- type="main-orange"
6
- width="276"
7
- height="18"
8
- x="430.5"
9
- :y="adapterSelectionPosition"
10
- :hide="!isConnectedAdapterToPortOrNetwork"
11
- />
12
-
13
- <common-diagram-main-highlights
14
- data-title="adapter-item"
15
- type="main-blue"
16
- width="276"
17
- height="18"
18
- x="430.5"
19
- :y="adapterSelectionPosition"
20
- :hide="!isSelectedAdapter"
21
- />
22
-
23
- <a
24
- :id="`${props.testId}-adapter-name`"
25
- data-title="adapter-name"
26
- cursor="pointer"
27
- @click="onSelectAdapter(props.adapter.id)"
28
- >
29
- <text
30
- dy="11px"
31
- font-size="12"
32
- font-weight="400"
33
- x="482"
34
- :y="props.adapter.adapterPosition"
35
- class="diagram__values"
36
- >
37
- {{ adapterName }}
38
- </text>
39
- </a>
40
-
41
- <foreignObject
42
- v-if="!props.adapter.carrier"
43
- data-title="adapter-connection-icon"
44
- width="18"
45
- height="18"
46
- x="446"
47
- :y="adapterSelectionPosition"
48
- >
49
- <atoms-diagram-icon name="adapter-carrier" />
50
- </foreignObject>
51
-
52
- <common-diagram-main-highlights
53
- data-title="adapter-item-line"
54
- type="line-orange"
55
- x="391.5"
56
- :y="adapterLinePosition"
57
- x2="362.5"
58
- :y2="adapterLinePosition"
59
- :hide="!isVisibleAdapterLine"
60
- />
61
-
62
- <foreignObject
63
- data-title="adapter-item-icon"
64
- width="18"
65
- height="18"
66
- x="462"
67
- :y="adapterIconPosition"
68
- >
69
- <div>
70
- <atoms-diagram-icon name="adapter-item-icon" />
71
- </div>
72
- </foreignObject>
73
-
74
- <foreignObject
75
- data-title="adapter-action-icon"
76
- width="18"
77
- height="18"
78
- x="682"
79
- :y="adapterActionIconPosition"
80
- cursor="pointer"
81
- >
82
- <div class="diagram-actions">
83
- <atoms-collapse-nav
84
- class="diagram-actions__icon"
85
- value="-1"
86
- popup-class="diagram-actions__popup"
87
- :close-after-click="true"
88
- :items="adapterPopupFields"
89
- @change="(value) => onShowModal(value, adapterProperties)"
90
- />
91
- </div>
92
- </foreignObject>
93
-
94
- <foreignObject
95
- v-if="props.adapter.carrier"
96
- data-title="adapter-second-connected-icon"
97
- width="18"
98
- height="18"
99
- x="396"
100
- :y="props.adapter.adapterPosition"
101
- >
102
- <div>
103
- <atoms-diagram-icon name="fill-adapter" />
104
- </div>
105
- </foreignObject>
106
-
107
- <foreignObject
108
- v-else
109
- data-title="adapter-second-not-connected-icon"
110
- width="18"
111
- height="18"
112
- x="396"
113
- :y="props.adapter.adapterPosition"
114
- >
115
- <div>
116
- <atoms-diagram-icon name="outline-adapter" />
117
- </div>
118
- </foreignObject>
119
- </g>
120
- </template>
121
-
122
- <script setup lang="ts">
123
- import {
124
- UI_I_Adapter,
125
- UI_I_ModalsInitialData,
126
- UI_I_SelectedAdapter,
127
- UI_I_SelectedPort,
128
- } from '~/components/common/diagramMain/models/interfaces'
129
- import { UI_I_Localization } from '~/models/interfaces'
130
- import { adapterPopupFieldsFunc } from '~/components/common/diagramMain/modals/config'
131
- import { dataForSelectedAdapterFunc } from '~/components/common/diagramMain/config'
132
-
133
- const props = defineProps<{
134
- adapter: UI_I_Adapter & { adapterPosition: number }
135
- selectedPort: UI_I_SelectedPort
136
- selectedAdapter: UI_I_SelectedAdapter
137
- networksCount: number
138
- testId: string
139
- }>()
140
-
141
- const emits = defineEmits<{
142
- (event: 'select-adapter', adapterId: string): void
143
- (
144
- event: 'show-modal',
145
- value: string,
146
- properties?: UI_I_ModalsInitialData
147
- ): void
148
- }>()
149
-
150
- const localization = computed<UI_I_Localization>(() => useLocal())
151
-
152
- const adapterPopupFields = adapterPopupFieldsFunc(localization.value)
153
-
154
- const adapterProperties = dataForSelectedAdapterFunc(props.adapter)
155
-
156
- const adapterSelectionPosition = computed<number>(
157
- () => props.adapter.adapterPosition - 1.5
158
- )
159
-
160
- const isConnectedAdapterToPortOrNetwork = computed<boolean>(() =>
161
- props.selectedPort.activeAdapters.includes(props.adapter.id)
162
- )
163
-
164
- const isSelectedAdapter = computed<boolean>(
165
- () => props.selectedAdapter.adapterId === props.adapter.id
166
- )
167
-
168
- const adapterLinePosition = computed<number>(
169
- () => props.adapter.adapterPosition + 7.5
170
- )
171
-
172
- const adapterIconPosition = computed<number>(
173
- () => props.adapter.adapterPosition - 3
174
- )
175
-
176
- const adapterActionIconPosition = computed<number>(
177
- () => props.adapter.adapterPosition - 2
178
- )
179
-
180
- const isVisibleAdapterLine = computed<boolean>(
181
- () =>
182
- (props.selectedPort.activeAdapters.includes(props.adapter.id) ||
183
- props.selectedAdapter.adapterId === props.adapter.id) &&
184
- props.adapter.status === 'active' &&
185
- !!props.networksCount
186
- )
187
-
188
- const adapterName = computed<string>(() =>
189
- props.adapter.status === 'active'
190
- ? props.adapter.fullName
191
- : props.adapter.name
192
- )
193
-
194
- const onSelectAdapter = (adapterId: string): void => {
195
- emits('select-adapter', adapterId)
196
- }
197
-
198
- const onShowModal = (
199
- value: string,
200
- properties?: UI_I_ModalsInitialData
201
- ): void => {
202
- emits('show-modal', value, properties)
203
- }
204
- </script>
205
-
206
- <style scoped lang="scss">
207
- @import '~/assets/scss/common/mixins.scss';
208
- .diagram {
209
- &__values {
210
- @include text($fs: 12px, $fw: 400);
211
- }
212
-
213
- &-actions {
214
- :deep(.diagram-actions__icon) {
215
- &.tabs-overflow {
216
- top: -12px;
217
- right: -13px;
218
- }
219
- .navbar-dropdown-menu {
220
- .navbar-dropdown-menu-item {
221
- background: red;
222
- }
223
- }
224
- }
225
- }
226
- }
227
- </style>
1
+ <template>
2
+ <g data-title="adapter-item-group">
3
+ <common-diagram-main-highlights
4
+ data-title="adapter-item"
5
+ type="main-orange"
6
+ width="276"
7
+ height="18"
8
+ x="430.5"
9
+ :y="adapterSelectionPosition"
10
+ :hide="!isConnectedAdapterToPortOrNetwork"
11
+ />
12
+
13
+ <common-diagram-main-highlights
14
+ data-title="adapter-item"
15
+ type="main-blue"
16
+ width="276"
17
+ height="18"
18
+ x="430.5"
19
+ :y="adapterSelectionPosition"
20
+ :hide="!isSelectedAdapter"
21
+ />
22
+
23
+ <a
24
+ :id="`${props.testId}-adapter-name`"
25
+ data-title="adapter-name"
26
+ cursor="pointer"
27
+ @click="onSelectAdapter(props.adapter.id)"
28
+ >
29
+ <text
30
+ dy="11px"
31
+ font-size="12"
32
+ font-weight="400"
33
+ x="482"
34
+ :y="props.adapter.adapterPosition"
35
+ class="diagram__values"
36
+ >
37
+ {{ adapterName }}
38
+ </text>
39
+ </a>
40
+
41
+ <foreignObject
42
+ v-if="!props.adapter.carrier"
43
+ data-title="adapter-connection-icon"
44
+ width="18"
45
+ height="18"
46
+ x="446"
47
+ :y="adapterSelectionPosition"
48
+ >
49
+ <atoms-diagram-icon name="adapter-carrier" />
50
+ </foreignObject>
51
+
52
+ <common-diagram-main-highlights
53
+ data-title="adapter-item-line"
54
+ type="line-orange"
55
+ x="391.5"
56
+ :y="adapterLinePosition"
57
+ x2="362.5"
58
+ :y2="adapterLinePosition"
59
+ :hide="!isVisibleAdapterLine"
60
+ />
61
+
62
+ <foreignObject
63
+ data-title="adapter-item-icon"
64
+ width="18"
65
+ height="18"
66
+ x="462"
67
+ :y="adapterIconPosition"
68
+ >
69
+ <div>
70
+ <atoms-diagram-icon name="adapter-item-icon" />
71
+ </div>
72
+ </foreignObject>
73
+
74
+ <foreignObject
75
+ data-title="adapter-action-icon"
76
+ width="18"
77
+ height="18"
78
+ x="682"
79
+ :y="adapterActionIconPosition"
80
+ cursor="pointer"
81
+ >
82
+ <div class="diagram-actions">
83
+ <atoms-collapse-nav
84
+ class="diagram-actions__icon"
85
+ value="-1"
86
+ popup-class="diagram-actions__popup"
87
+ :close-after-click="true"
88
+ :items="adapterPopupFields"
89
+ @change="(value) => onShowModal(value, adapterProperties)"
90
+ />
91
+ </div>
92
+ </foreignObject>
93
+
94
+ <foreignObject
95
+ v-if="props.adapter.carrier"
96
+ data-title="adapter-second-connected-icon"
97
+ width="18"
98
+ height="18"
99
+ x="396"
100
+ :y="props.adapter.adapterPosition"
101
+ >
102
+ <div>
103
+ <atoms-diagram-icon name="fill-adapter" />
104
+ </div>
105
+ </foreignObject>
106
+
107
+ <foreignObject
108
+ v-else
109
+ data-title="adapter-second-not-connected-icon"
110
+ width="18"
111
+ height="18"
112
+ x="396"
113
+ :y="props.adapter.adapterPosition"
114
+ >
115
+ <div>
116
+ <atoms-diagram-icon name="outline-adapter" />
117
+ </div>
118
+ </foreignObject>
119
+ </g>
120
+ </template>
121
+
122
+ <script setup lang="ts">
123
+ import {
124
+ UI_I_Adapter,
125
+ UI_I_ModalsInitialData,
126
+ UI_I_SelectedAdapter,
127
+ UI_I_SelectedPort,
128
+ } from '~/components/common/diagramMain/models/interfaces'
129
+ import { UI_I_Localization } from '~/models/interfaces'
130
+ import { adapterPopupFieldsFunc } from '~/components/common/diagramMain/modals/config'
131
+ import { dataForSelectedAdapterFunc } from '~/components/common/diagramMain/config'
132
+
133
+ const props = defineProps<{
134
+ adapter: UI_I_Adapter & { adapterPosition: number }
135
+ selectedPort: UI_I_SelectedPort
136
+ selectedAdapter: UI_I_SelectedAdapter
137
+ networksCount: number
138
+ testId: string
139
+ }>()
140
+
141
+ const emits = defineEmits<{
142
+ (event: 'select-adapter', adapterId: string): void
143
+ (
144
+ event: 'show-modal',
145
+ value: string,
146
+ properties?: UI_I_ModalsInitialData
147
+ ): void
148
+ }>()
149
+
150
+ const localization = computed<UI_I_Localization>(() => useLocal())
151
+
152
+ const adapterPopupFields = adapterPopupFieldsFunc(localization.value)
153
+
154
+ const adapterProperties = dataForSelectedAdapterFunc(props.adapter)
155
+
156
+ const adapterSelectionPosition = computed<number>(
157
+ () => props.adapter.adapterPosition - 1.5
158
+ )
159
+
160
+ const isConnectedAdapterToPortOrNetwork = computed<boolean>(() =>
161
+ props.selectedPort.activeAdapters.includes(props.adapter.id)
162
+ )
163
+
164
+ const isSelectedAdapter = computed<boolean>(
165
+ () => props.selectedAdapter.adapterId === props.adapter.id
166
+ )
167
+
168
+ const adapterLinePosition = computed<number>(
169
+ () => props.adapter.adapterPosition + 7.5
170
+ )
171
+
172
+ const adapterIconPosition = computed<number>(
173
+ () => props.adapter.adapterPosition - 3
174
+ )
175
+
176
+ const adapterActionIconPosition = computed<number>(
177
+ () => props.adapter.adapterPosition - 2
178
+ )
179
+
180
+ const isVisibleAdapterLine = computed<boolean>(
181
+ () =>
182
+ (props.selectedPort.activeAdapters.includes(props.adapter.id) ||
183
+ props.selectedAdapter.adapterId === props.adapter.id) &&
184
+ props.adapter.status === 'active' &&
185
+ !!props.networksCount
186
+ )
187
+
188
+ const adapterName = computed<string>(() =>
189
+ props.adapter.status === 'active'
190
+ ? props.adapter.fullName
191
+ : props.adapter.name
192
+ )
193
+
194
+ const onSelectAdapter = (adapterId: string): void => {
195
+ emits('select-adapter', adapterId)
196
+ }
197
+
198
+ const onShowModal = (
199
+ value: string,
200
+ properties?: UI_I_ModalsInitialData
201
+ ): void => {
202
+ emits('show-modal', value, properties)
203
+ }
204
+ </script>
205
+
206
+ <style scoped lang="scss">
207
+ @import '~/assets/scss/common/mixins.scss';
208
+ .diagram {
209
+ &__values {
210
+ @include text($fs: 12px, $fw: 400);
211
+ }
212
+
213
+ &-actions {
214
+ :deep(.diagram-actions__icon) {
215
+ &.tabs-overflow {
216
+ top: -12px;
217
+ right: -13px;
218
+ }
219
+ .navbar-dropdown-menu {
220
+ .navbar-dropdown-menu-item {
221
+ background: red;
222
+ }
223
+ }
224
+ }
225
+ }
226
+ }
227
+ </style>