bfg-common 1.6.76 → 1.6.77
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.
- package/assets/localization/local_be.json +4213 -4474
- package/assets/localization/local_en.json +4217 -4479
- package/assets/localization/local_hy.json +4217 -4478
- package/assets/localization/local_kk.json +4216 -4477
- package/assets/localization/local_ru.json +4216 -4477
- package/assets/localization/local_zh.json +4214 -4475
- package/assets/scss/common/global.scss +0 -11
- package/assets/scss/common/normalize.scss +0 -3
- package/assets/scss/common/theme.scss +2 -2
- package/components/atoms/dropdown/dropdown/Dropdown.vue +170 -170
- package/components/atoms/dropdown/dropdown/lib/models/interfaces.ts +10 -10
- package/components/atoms/stack/StackBlock.vue +1 -1
- package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +2 -2
- package/components/atoms/tooltip/TooltipError.vue +0 -3
- package/components/common/adapterManager/AdapterManagerNew.vue +0 -86
- package/components/common/adapterManager/addAdapterModal/AddAdapterModalNew.vue +1 -1
- package/components/common/adapterManager/addAdapterWarningModal/AddAdapterWarningModalNew.vue +1 -0
- package/components/common/adapterManager/ui/actions/bar/Bar.vue +0 -2
- package/components/common/adapterManager/ui/actions/bar/BarNew.vue +2 -3
- package/components/common/adapterManager/ui/table/adapters/AdaptersNew.vue +0 -1
- package/components/common/configure/physicalAdapters/PhysicalAdapters.vue +0 -6
- package/components/common/configure/physicalAdapters/PhysicalAdaptersNew.vue +192 -219
- package/components/common/configure/physicalAdapters/PhysicalAdaptersOld.vue +4 -6
- package/components/common/configure/physicalAdapters/buttons/Buttons.vue +0 -1
- package/components/common/configure/physicalAdapters/modals/edit/Edit.vue +1 -26
- package/components/common/configure/physicalAdapters/modals/edit/EditNew.vue +1 -30
- package/components/common/configure/physicalAdapters/modals/edit/lib/models/interfaces.ts +0 -5
- package/components/common/configure/physicalAdapters/tableView/TableViewNew.vue +1 -12
- package/components/common/configure/physicalAdapters/tableView/lib/config/physicalAdaptersTableConfigNew.ts +21 -21
- package/components/common/configure/physicalAdapters/tableView/lib/config/settings.ts +5 -12
- package/components/common/configure/physicalAdapters/tableView/lib/models/interfaces.ts +1 -4
- package/components/common/diagramMain/Diagram.vue +85 -169
- package/components/common/diagramMain/DiagramMain.vue +10 -40
- package/components/common/diagramMain/{header/HeaderOld.vue → Header.vue} +67 -78
- package/components/common/diagramMain/modals/Modals.vue +0 -4
- package/components/common/diagramMain/modals/editSettings/{confirmTeamingSettingsModal/ConfirmTeamingSettingsModalOld.vue → ConfirmTeamingSettingsModal.vue} +5 -2
- package/components/common/diagramMain/modals/editSettings/EditSettings.vue +102 -104
- package/components/common/diagramMain/modals/editSettings/{modal/EditSettingsModalOld.vue → EditSettingsModal.vue} +51 -12
- package/components/common/diagramMain/modals/editSettings/lib/models/interfaces.ts +0 -6
- package/components/common/diagramMain/modals/editSettings/tabs/{networkProperties/NetworkPropertiesOld.vue → NetworkProperties.vue} +113 -12
- package/components/common/diagramMain/modals/editSettings/tabs/{security/SecurityOld.vue → Security.vue} +48 -25
- package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +164 -0
- package/components/common/diagramMain/modals/editSettings/tabs/{teamingFailover/TeamingFailoverOld.vue → TeamingFailover.vue} +48 -11
- package/components/common/diagramMain/modals/editSettings/tabs/{trafficShaping/TrafficShapingOld.vue → TrafficShaping.vue} +134 -12
- package/components/common/diagramMain/modals/editSettings/tabs/port/{ipvFourSettings/IpvFourSettingsOld.vue → IpvFourSettings.vue} +152 -11
- package/components/common/diagramMain/modals/editSettings/tabs/port/{portProperties/PortPropertiesOld.vue → PortProperties.vue} +103 -12
- package/components/common/diagramMain/modals/lib/config/diagramConfig.ts +2 -43
- package/components/common/diagramMain/modals/lib/config/index.ts +1 -2
- package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +1 -1
- package/components/common/diagramMain/modals/lib/utils/index.ts +4 -34
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/MigrateVmkernelAdapter.vue +2 -2
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +1 -1
- package/components/common/layout/theHeader/ThemeSwitch.vue +1 -1
- package/components/common/layout/theHeader/modals/reconnect/New.vue +30 -38
- package/components/common/layout/theHeader/userMenu/modals/changePassword/New.vue +9 -8
- package/components/common/layout/theHeader/userMenu/modals/preferences/New.vue +0 -4
- package/components/common/layout/theHeader/userMenu/modals/preferences/Old.vue +2 -9
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +7 -11
- package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsole.vue +1 -7
- package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/config/consoleOptions.ts +5 -8
- package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/TimeFormat.vue +5 -9
- package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/lib/config/formatOptions.ts +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/view/Old.vue +9 -5
- package/components/common/layout/theHeader/userMenu/modals/preferences/view/View.vue +6 -9
- package/components/common/mainNavigationPanel/MainNavigationPanelNew.vue +1 -3
- package/components/common/modals/Rename.vue +1 -3
- package/components/common/noDataProvided/NoDataProvidedNew.vue +1 -1
- package/components/common/pages/backups/modals/createBackup/datastores/tableView/new/lib/config/table.ts +4 -4
- package/components/common/pages/backups/modals/createBackup/datastores/tableView/old/lib/config/table.ts +4 -4
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +253 -184
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/ActionsNew.vue +1 -1
- package/components/common/pages/scheduledTasks/table/lib/models/enums.ts +0 -9
- package/components/common/pages/scheduledTasks/table/new/New.vue +10 -12
- package/components/common/pages/tasks/Tasks.vue +1 -4
- package/components/common/pages/tasks/table/Table.vue +23 -25
- package/components/common/readyToComplete/New.vue +0 -1
- package/components/common/split/vertical/New.vue +8 -42
- package/components/common/split/vertical/Old.vue +2 -31
- package/components/common/split/vertical/Vertical.vue +0 -4
- package/components/common/tools/Actions.vue +3 -7
- package/components/common/tools/lib/models/interfaces.ts +0 -1
- package/components/common/vm/actions/add/New.vue +6 -21
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +1 -14
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/New.vue +0 -5
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Old.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/New.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/New.vue +0 -2
- package/components/common/vm/actions/common/select/options/New.vue +12 -14
- package/components/common/vm/actions/common/select/options/Old.vue +15 -16
- package/components/common/vm/actions/common/select/storage/new/lib/config/table.ts +15 -13
- package/components/common/vm/actions/confirm/Confirm.vue +0 -3
- package/components/common/vm/actions/rename/Old.vue +0 -1
- package/components/common/vm/snapshots/DetailView.vue +6 -6
- package/components/common/wizards/datastore/add/New.vue +0 -6
- package/components/common/wizards/datastore/add/lib/config/steps.ts +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/New.vue +1 -1
- package/components/common/wizards/network/add/Add.vue +2 -13
- package/components/common/wizards/network/add/AddNew.vue +26 -22
- package/components/common/wizards/network/add/lib/config/initialData.ts +4 -6
- package/components/common/wizards/network/add/lib/config/steps.ts +1 -1
- package/components/common/wizards/network/add/lib/models/interfaces.ts +0 -1
- package/components/common/wizards/network/add/lib/utils/utils.ts +1 -1
- package/components/common/wizards/network/add/steps/connectionSettings/ConnectionSettingsOld.vue +1 -5
- package/components/common/wizards/network/add/steps/ipFourSettings/IpFourSettingsNew.vue +8 -2
- package/components/common/wizards/network/add/steps/ipFourSettings/IpFourSettingsOld.vue +0 -3
- package/components/common/wizards/network/add/steps/portProperties/PortPropertiesNew.vue +8 -2
- package/components/common/wizards/network/add/steps/portProperties/PortPropertiesOld.vue +2 -6
- package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceNew.vue +3 -10
- package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceOld.vue +0 -4
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectNetwork.vue +1 -5
- package/components/common/wizards/network/add/validations/common.ts +1 -1
- package/components/common/wizards/vm/migrate/New.vue +3 -13
- package/components/common/wizards/vm/migrate/lib/config/constructDataReady.ts +0 -5
- package/components/common/wizards/vm/migrate/lib/config/steps.ts +2 -3
- package/components/common/wizards/vm/migrate/steps/computeResource/New.vue +1 -2
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/New.vue +21 -40
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/hostTable.ts +14 -44
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/models/enums.ts +0 -4
- package/components/common/wizards/vm/migrate/steps/priority/New.vue +2 -7
- package/components/common/wizards/vm/migrate/steps/selectStorage/New.vue +7 -22
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/New.vue +0 -6
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/table/new/New.vue +1 -4
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/table/new/lib/config/datastoreTable.ts +16 -12
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/New.vue +5 -10
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/lib/config/diskTable.ts +11 -16
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/old/lib/config/diskTable.ts +1 -7
- package/components/common/wizards/vm/migrate/steps/selectStorage/selectedPerDisk/New.vue +10 -17
- package/components/common/wizards/vm/migrate/steps/type/TypeNew.vue +0 -1
- package/components/common/wizards/vm/migrate/vmOrigin/New.vue +15 -35
- package/lib/models/store/tasks/enums.ts +0 -3
- package/lib/models/store/tasks/types.ts +6 -7
- package/package.json +1 -1
- package/plugins/directives.ts +5 -3
- package/public/spice-console/application/agent.js +17 -18
- package/store/tasks/actions.ts +8 -26
- package/store/tasks/mappers/recentTasks.ts +0 -1
- package/components/common/configure/physicalAdapters/modals/edit/lib/validations/validations.ts +0 -19
- package/components/common/diagramMain/header/Header.vue +0 -49
- package/components/common/diagramMain/header/HeaderNew.vue +0 -155
- package/components/common/diagramMain/modals/UnsavedChangesModal.vue +0 -32
- package/components/common/diagramMain/modals/editSettings/EditSettingsNew.vue +0 -285
- package/components/common/diagramMain/modals/editSettings/EditSettingsOld.vue +0 -254
- package/components/common/diagramMain/modals/editSettings/confirmTeamingSettingsModal/ConfirmTeamingSettingsModal.vue +0 -31
- package/components/common/diagramMain/modals/editSettings/confirmTeamingSettingsModal/ConfirmTeamingSettingsModalNew.vue +0 -82
- package/components/common/diagramMain/modals/editSettings/lib/config/config.ts +0 -15
- package/components/common/diagramMain/modals/editSettings/lib/utils/utils.ts +0 -177
- package/components/common/diagramMain/modals/editSettings/modal/EditSettingsModal.vue +0 -137
- package/components/common/diagramMain/modals/editSettings/modal/EditSettingsModalNew.vue +0 -91
- package/components/common/diagramMain/modals/editSettings/tabs/networkProperties/NetworkProperties.vue +0 -158
- package/components/common/diagramMain/modals/editSettings/tabs/networkProperties/NetworkPropertiesNew.vue +0 -262
- package/components/common/diagramMain/modals/editSettings/tabs/port/ipvFourSettings/IpvFourSettings.vue +0 -192
- package/components/common/diagramMain/modals/editSettings/tabs/port/ipvFourSettings/IpvFourSettingsNew.vue +0 -388
- package/components/common/diagramMain/modals/editSettings/tabs/port/portProperties/PortProperties.vue +0 -139
- package/components/common/diagramMain/modals/editSettings/tabs/port/portProperties/PortPropertiesNew.vue +0 -286
- package/components/common/diagramMain/modals/editSettings/tabs/security/Security.vue +0 -209
- package/components/common/diagramMain/modals/editSettings/tabs/security/SecurityNew.vue +0 -233
- package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchProperties.vue +0 -128
- package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchPropertiesNew.vue +0 -235
- package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchPropertiesOld.vue +0 -87
- package/components/common/diagramMain/modals/editSettings/tabs/teamingFailover/TeamingFailover.vue +0 -99
- package/components/common/diagramMain/modals/editSettings/tabs/teamingFailover/TeamingFailoverNew.vue +0 -319
- package/components/common/diagramMain/modals/editSettings/tabs/trafficShaping/TrafficShaping.vue +0 -173
- package/components/common/diagramMain/modals/editSettings/tabs/trafficShaping/TrafficShapingNew.vue +0 -348
- package/components/common/diagramMain/skeleton/Header.vue +0 -31
- package/components/common/diagramMain/skeleton/Switch.vue +0 -75
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/clusterTable.ts +0 -340
|
@@ -95,7 +95,7 @@ export const getHeaderDataFunc = (
|
|
|
95
95
|
text: localization.common.name,
|
|
96
96
|
isSortable: false,
|
|
97
97
|
sort: 'asc',
|
|
98
|
-
width: '
|
|
98
|
+
width: '180px',
|
|
99
99
|
show: true,
|
|
100
100
|
filter: false,
|
|
101
101
|
},
|
|
@@ -105,7 +105,7 @@ export const getHeaderDataFunc = (
|
|
|
105
105
|
text: localization.inventorySummary.state,
|
|
106
106
|
isSortable: false,
|
|
107
107
|
sort: 'asc',
|
|
108
|
-
width: '
|
|
108
|
+
width: '180px',
|
|
109
109
|
show: true,
|
|
110
110
|
filter: false,
|
|
111
111
|
},
|
|
@@ -115,7 +115,7 @@ export const getHeaderDataFunc = (
|
|
|
115
115
|
text: localization.common.capacity,
|
|
116
116
|
isSortable: false,
|
|
117
117
|
sort: 'asc',
|
|
118
|
-
width: '
|
|
118
|
+
width: '180px',
|
|
119
119
|
show: true,
|
|
120
120
|
filter: false,
|
|
121
121
|
},
|
|
@@ -125,7 +125,7 @@ export const getHeaderDataFunc = (
|
|
|
125
125
|
text: localization.common.provisioned,
|
|
126
126
|
isSortable: false,
|
|
127
127
|
sort: 'asc',
|
|
128
|
-
width: '
|
|
128
|
+
width: '180px',
|
|
129
129
|
show: true,
|
|
130
130
|
filter: false,
|
|
131
131
|
},
|
|
@@ -135,7 +135,7 @@ export const getHeaderDataFunc = (
|
|
|
135
135
|
text: localization.common.free,
|
|
136
136
|
isSortable: false,
|
|
137
137
|
sort: 'asc',
|
|
138
|
-
width: '
|
|
138
|
+
width: '180px',
|
|
139
139
|
show: true,
|
|
140
140
|
filter: false,
|
|
141
141
|
},
|
|
@@ -145,7 +145,7 @@ export const getHeaderDataFunc = (
|
|
|
145
145
|
text: localization.common.used,
|
|
146
146
|
isSortable: false,
|
|
147
147
|
sort: 'asc',
|
|
148
|
-
width: '
|
|
148
|
+
width: '180px',
|
|
149
149
|
show: true,
|
|
150
150
|
filter: false,
|
|
151
151
|
},
|
|
@@ -155,7 +155,7 @@ export const getHeaderDataFunc = (
|
|
|
155
155
|
text: localization.common.type,
|
|
156
156
|
isSortable: false,
|
|
157
157
|
sort: 'asc',
|
|
158
|
-
width: '
|
|
158
|
+
width: '180px',
|
|
159
159
|
show: true,
|
|
160
160
|
filter: false,
|
|
161
161
|
},
|
|
@@ -165,7 +165,7 @@ export const getHeaderDataFunc = (
|
|
|
165
165
|
text: localization.common.thinProvisioning,
|
|
166
166
|
isSortable: false,
|
|
167
167
|
sort: 'asc',
|
|
168
|
-
width: '
|
|
168
|
+
width: '180px',
|
|
169
169
|
show: true,
|
|
170
170
|
filter: false,
|
|
171
171
|
},
|
|
@@ -175,7 +175,7 @@ export const getHeaderDataFunc = (
|
|
|
175
175
|
text: localization.common.access,
|
|
176
176
|
isSortable: false,
|
|
177
177
|
sort: 'asc',
|
|
178
|
-
width: '
|
|
178
|
+
width: '180px',
|
|
179
179
|
show: true,
|
|
180
180
|
filter: false,
|
|
181
181
|
},
|
|
@@ -195,7 +195,7 @@ export const getHeaderDataFunc = (
|
|
|
195
195
|
text: localization.common.driverType,
|
|
196
196
|
isSortable: false,
|
|
197
197
|
sort: 'asc',
|
|
198
|
-
width: '
|
|
198
|
+
width: '180px',
|
|
199
199
|
show: true,
|
|
200
200
|
filter: false,
|
|
201
201
|
},
|
|
@@ -205,7 +205,7 @@ export const getHeaderDataFunc = (
|
|
|
205
205
|
text: localization.common.device,
|
|
206
206
|
isSortable: false,
|
|
207
207
|
sort: 'asc',
|
|
208
|
-
width: '
|
|
208
|
+
width: '180px',
|
|
209
209
|
show: true,
|
|
210
210
|
filter: false,
|
|
211
211
|
},
|
|
@@ -259,7 +259,11 @@ export const getBodyDataFunc = (
|
|
|
259
259
|
testId: `${storage.name}-${index}-thin-provisioning`,
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
const hardwareAccelerationKey =
|
|
262
|
+
const hardwareAccelerationKey =
|
|
263
|
+
E_StorageHardwareAcceleration[
|
|
264
|
+
storage.hardware_acceleration as keyof typeof E_StorageHardwareAcceleration
|
|
265
|
+
]
|
|
266
|
+
|
|
263
267
|
const hardwareAccelerationData = {
|
|
264
268
|
...HARDWARE_ACCELERATION_MAPPING[
|
|
265
269
|
hardwareAccelerationKey as keyof typeof HARDWARE_ACCELERATION_MAPPING
|
package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/New.vue
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
class="disk-table__configure-button"
|
|
24
24
|
@click="emits('configure')"
|
|
25
25
|
>
|
|
26
|
-
<ui-icon name="
|
|
26
|
+
<ui-icon name="config" width="16" height="16" />
|
|
27
27
|
{{ localization.inventoryTabs.configure }}
|
|
28
28
|
</ui-button>
|
|
29
29
|
</template>
|
|
@@ -159,19 +159,18 @@ const onSelectRow = (value: UI_I_DataTableBody[]): void => {
|
|
|
159
159
|
</style>
|
|
160
160
|
<style lang="scss" scoped>
|
|
161
161
|
.disk-table {
|
|
162
|
-
margin: 16px 0
|
|
162
|
+
margin: 16px 0;
|
|
163
163
|
:deep(.title-container) {
|
|
164
164
|
h5 {
|
|
165
165
|
margin-bottom: 0;
|
|
166
166
|
}
|
|
167
167
|
.title-container-top-info {
|
|
168
168
|
border-left: 1px solid var(--horizontal-line);
|
|
169
|
-
padding-left:
|
|
170
|
-
margin-left:
|
|
169
|
+
padding-left: 10px;
|
|
170
|
+
margin-left: 10px;
|
|
171
171
|
}
|
|
172
172
|
h6.title-container-top-selected-rows {
|
|
173
|
-
|
|
174
|
-
line-height: 20px;
|
|
173
|
+
line-height: inherit;
|
|
175
174
|
}
|
|
176
175
|
}
|
|
177
176
|
&__icon {
|
|
@@ -181,13 +180,9 @@ const onSelectRow = (value: UI_I_DataTableBody[]): void => {
|
|
|
181
180
|
font-size: 12px;
|
|
182
181
|
}
|
|
183
182
|
&__configure-button {
|
|
184
|
-
column-gap: 4px;
|
|
185
183
|
background: var(--select-bg);
|
|
186
184
|
border: 1px solid var(--line-color);
|
|
187
185
|
color: var(--title-form-first-color);
|
|
188
|
-
&.ui-btn.ui-btn-sm {
|
|
189
|
-
height: 28px;
|
|
190
|
-
}
|
|
191
186
|
&:hover {
|
|
192
187
|
background: var(--custom-button-default-hover-bg-color);
|
|
193
188
|
}
|
|
@@ -43,7 +43,7 @@ export const getHeaderDataFunc = (
|
|
|
43
43
|
text: localization.common.diskGroup,
|
|
44
44
|
isSortable: false,
|
|
45
45
|
sort: 'asc',
|
|
46
|
-
width: '
|
|
46
|
+
width: '180px',
|
|
47
47
|
show: true,
|
|
48
48
|
filter: false,
|
|
49
49
|
},
|
|
@@ -83,7 +83,7 @@ export const getHeaderDataFunc = (
|
|
|
83
83
|
text: localization.common.sharing,
|
|
84
84
|
isSortable: false,
|
|
85
85
|
sort: 'asc',
|
|
86
|
-
width: '
|
|
86
|
+
width: '180px',
|
|
87
87
|
show: true,
|
|
88
88
|
filter: false,
|
|
89
89
|
},
|
|
@@ -93,7 +93,7 @@ export const getHeaderDataFunc = (
|
|
|
93
93
|
text: localization.common.target,
|
|
94
94
|
isSortable: false,
|
|
95
95
|
sort: 'asc',
|
|
96
|
-
width: '
|
|
96
|
+
width: '180px',
|
|
97
97
|
show: true,
|
|
98
98
|
filter: false,
|
|
99
99
|
},
|
|
@@ -103,7 +103,7 @@ export const getHeaderDataFunc = (
|
|
|
103
103
|
text: localization.common.cache,
|
|
104
104
|
isSortable: false,
|
|
105
105
|
sort: 'asc',
|
|
106
|
-
width: '
|
|
106
|
+
width: '180px',
|
|
107
107
|
show: true,
|
|
108
108
|
filter: false,
|
|
109
109
|
},
|
|
@@ -113,7 +113,7 @@ export const getHeaderDataFunc = (
|
|
|
113
113
|
text: localization.common.ioControl,
|
|
114
114
|
isSortable: false,
|
|
115
115
|
sort: 'asc',
|
|
116
|
-
width: '
|
|
116
|
+
width: '180px',
|
|
117
117
|
show: true,
|
|
118
118
|
filter: false,
|
|
119
119
|
},
|
|
@@ -123,7 +123,7 @@ export const getHeaderDataFunc = (
|
|
|
123
123
|
text: localization.common.discard,
|
|
124
124
|
isSortable: false,
|
|
125
125
|
sort: 'asc',
|
|
126
|
-
width: '
|
|
126
|
+
width: '180px',
|
|
127
127
|
show: true,
|
|
128
128
|
filter: false,
|
|
129
129
|
},
|
|
@@ -133,7 +133,7 @@ export const getHeaderDataFunc = (
|
|
|
133
133
|
text: localization.common.diskMode,
|
|
134
134
|
isSortable: false,
|
|
135
135
|
sort: 'asc',
|
|
136
|
-
width: '
|
|
136
|
+
width: '180px',
|
|
137
137
|
show: true,
|
|
138
138
|
filter: false,
|
|
139
139
|
},
|
|
@@ -158,6 +158,7 @@ export const getBodyDataFunc = (
|
|
|
158
158
|
bodyData: UI_I_StorageConfigurePerDiskItem[],
|
|
159
159
|
localization: UI_I_Localization
|
|
160
160
|
): UI_I_DataTableBody[] => {
|
|
161
|
+
|
|
161
162
|
return bodyData.map((disk, index: number) => {
|
|
162
163
|
const diskFormat =
|
|
163
164
|
index === 0 ? 'N/A' : UI_E_SelectStorageDiskFormat[disk.disk_format]
|
|
@@ -183,12 +184,6 @@ export const getBodyDataFunc = (
|
|
|
183
184
|
: 'False'
|
|
184
185
|
: localization.common[diskSharingKey]
|
|
185
186
|
|
|
186
|
-
const diskCache = disk.extra.cache
|
|
187
|
-
const diskCacheValue =
|
|
188
|
-
!diskCache || ['none', 'n/a'].includes(diskCache.toLowerCase())
|
|
189
|
-
? '--'
|
|
190
|
-
: disk.extra.cache
|
|
191
|
-
|
|
192
187
|
return {
|
|
193
188
|
row: index,
|
|
194
189
|
collapse: false,
|
|
@@ -203,7 +198,7 @@ export const getBodyDataFunc = (
|
|
|
203
198
|
},
|
|
204
199
|
{
|
|
205
200
|
col: 'col1',
|
|
206
|
-
text: disk.disk_group
|
|
201
|
+
text: disk.disk_group,
|
|
207
202
|
},
|
|
208
203
|
{
|
|
209
204
|
col: 'col2',
|
|
@@ -226,10 +221,10 @@ export const getBodyDataFunc = (
|
|
|
226
221
|
data: diskSharingData,
|
|
227
222
|
},
|
|
228
223
|
|
|
229
|
-
{ col: 'col6', text: disk.extra.target
|
|
224
|
+
{ col: 'col6', text: disk.extra.target },
|
|
230
225
|
{
|
|
231
226
|
col: 'col7',
|
|
232
|
-
text:
|
|
227
|
+
text: disk.extra.cache,
|
|
233
228
|
},
|
|
234
229
|
{ col: 'col8', text: disk.extra.io_control },
|
|
235
230
|
{
|
|
@@ -79,12 +79,6 @@ export const bodyItems = (
|
|
|
79
79
|
? disk[vmMigrateDiskTableItemKeys[2]]
|
|
80
80
|
: `${disk.extra.disk_source} (${disk.extra.disk_size} ${localization.common.mb} )`
|
|
81
81
|
|
|
82
|
-
const diskCache = disk.extra[vmMigrateDiskTableItemKeys[7]]
|
|
83
|
-
const diskCacheValue =
|
|
84
|
-
!diskCache || ['none', 'n/a'].includes(diskCache.toLowerCase())
|
|
85
|
-
? '--'
|
|
86
|
-
: disk.extra[vmMigrateDiskTableItemKeys[7]]
|
|
87
|
-
|
|
88
82
|
bodyItems.push([
|
|
89
83
|
{
|
|
90
84
|
key: 'col0',
|
|
@@ -130,7 +124,7 @@ export const bodyItems = (
|
|
|
130
124
|
},
|
|
131
125
|
{
|
|
132
126
|
key: 'col7',
|
|
133
|
-
text:
|
|
127
|
+
text: disk.extra[vmMigrateDiskTableItemKeys[7]],
|
|
134
128
|
id: key,
|
|
135
129
|
testId: `disk-table-${key}`,
|
|
136
130
|
},
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
/>
|
|
11
11
|
|
|
12
12
|
<div>
|
|
13
|
-
<span class="icon-vm
|
|
13
|
+
<span class="icon-vm vsphere-icon-vm"></span>
|
|
14
14
|
</div>
|
|
15
15
|
|
|
16
16
|
<span v-if="props.data.length === 1" class="selected-per-disk__text">{{
|
|
@@ -31,13 +31,15 @@
|
|
|
31
31
|
dropdown-right
|
|
32
32
|
dropdown-bottom
|
|
33
33
|
>
|
|
34
|
-
<div
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
34
|
+
<div
|
|
35
|
+
v-for="(item, key) in props.data"
|
|
36
|
+
:key="key"
|
|
37
|
+
class="flex items-center"
|
|
38
|
+
>
|
|
39
|
+
<span class="icon-vm vsphere-icon-vm"></span>
|
|
40
|
+
<span class="selected-per-disk__text">
|
|
41
|
+
{{ item }}
|
|
42
|
+
</span>
|
|
41
43
|
</div>
|
|
42
44
|
</common-tooltip-help>
|
|
43
45
|
</div>
|
|
@@ -73,19 +75,12 @@ const onGoBack = (): void => {
|
|
|
73
75
|
color: var(--btn-primary-fill-bg-color);
|
|
74
76
|
margin-right: 8px;
|
|
75
77
|
cursor: pointer;
|
|
76
|
-
&:hover {
|
|
77
|
-
color: var(--btn-primary-fill-hover-bg-color);
|
|
78
|
-
}
|
|
79
78
|
}
|
|
80
79
|
&-vm {
|
|
81
80
|
display: block;
|
|
82
|
-
min-width: 20px;
|
|
83
81
|
width: 20px;
|
|
84
82
|
height: 20px;
|
|
85
83
|
margin-right: 8px;
|
|
86
|
-
&.small-margin {
|
|
87
|
-
margin-right: 4px;
|
|
88
|
-
}
|
|
89
84
|
}
|
|
90
85
|
}
|
|
91
86
|
|
|
@@ -94,8 +89,6 @@ const onGoBack = (): void => {
|
|
|
94
89
|
color: var(--title-form-first-color);
|
|
95
90
|
font-weight: 400;
|
|
96
91
|
font-size: 13px;
|
|
97
|
-
line-height: 18px;
|
|
98
|
-
align-self: center;
|
|
99
92
|
}
|
|
100
93
|
&__all-objects {
|
|
101
94
|
@include flex($align: center);
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
<span
|
|
4
|
-
class="tooltip-info__title"
|
|
5
|
-
@click.stop="isShowTooltipLocal = !isShowTooltipLocal"
|
|
6
|
-
>
|
|
7
|
-
{{ localization.common.vmOrigin }}
|
|
8
|
-
</span>
|
|
2
|
+
<div class="tooltip-info">
|
|
3
|
+
<span class="tooltip-info__title">{{ localization.common.vmOrigin }}</span>
|
|
9
4
|
<ui-icon
|
|
10
5
|
id="vm-origin-info-trigger"
|
|
11
|
-
class="tooltip-info__icon pointer"
|
|
6
|
+
:class="['tooltip-info__icon pointer', { active: isShowTooltipLocal }]"
|
|
12
7
|
name="info"
|
|
13
|
-
width="
|
|
14
|
-
height="
|
|
8
|
+
width="20"
|
|
9
|
+
height="20"
|
|
15
10
|
@click.stop="isShowTooltipLocal = !isShowTooltipLocal"
|
|
16
11
|
/>
|
|
17
12
|
<ui-popup-window
|
|
@@ -45,7 +40,7 @@
|
|
|
45
40
|
:key="item2.name"
|
|
46
41
|
class="flex items-center mt-2"
|
|
47
42
|
>
|
|
48
|
-
<span :class="
|
|
43
|
+
<span :class="item2.iconName"></span>
|
|
49
44
|
<span class="item-name">{{ item2.name }}</span>
|
|
50
45
|
</div>
|
|
51
46
|
</div>
|
|
@@ -72,29 +67,22 @@ const localization = computed<UI_I_Localization>(() => useLocal())
|
|
|
72
67
|
@import 'assets/scss/common/mixins.scss';
|
|
73
68
|
.tooltip-info {
|
|
74
69
|
@include flex($align: center);
|
|
75
|
-
column-gap: 8px;
|
|
76
|
-
&:hover {
|
|
77
|
-
.tooltip-info__title,
|
|
78
|
-
.tooltip-info__icon {
|
|
79
|
-
color: var(--close-icon);
|
|
80
|
-
cursor: pointer;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
&.isOpen {
|
|
84
|
-
.tooltip-info__title,
|
|
85
|
-
.tooltip-info__icon {
|
|
86
|
-
color: var(--btn-primary-fill-bg-color);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
70
|
&__title {
|
|
90
71
|
font-family: 'Inter', sans-serif;
|
|
91
|
-
color:
|
|
72
|
+
color: var(--title-form-first-color);
|
|
92
73
|
font-weight: 500;
|
|
93
74
|
font-size: 12px;
|
|
94
75
|
white-space: nowrap;
|
|
76
|
+
margin-right: 4px;
|
|
95
77
|
}
|
|
96
78
|
&__icon {
|
|
97
79
|
color: var(--form-icon-color);
|
|
80
|
+
&:hover {
|
|
81
|
+
color: var(--close-icon);
|
|
82
|
+
}
|
|
83
|
+
&.active {
|
|
84
|
+
color: var(--btn-primary-fill-bg-color);
|
|
85
|
+
}
|
|
98
86
|
}
|
|
99
87
|
|
|
100
88
|
.common-widget-info {
|
|
@@ -111,22 +99,14 @@ const localization = computed<UI_I_Localization>(() => useLocal())
|
|
|
111
99
|
&__content {
|
|
112
100
|
.item-row {
|
|
113
101
|
margin-top: 12px;
|
|
114
|
-
&:first-child {
|
|
115
|
-
margin-top: 20px;
|
|
116
|
-
}
|
|
117
102
|
}
|
|
118
103
|
.title-row {
|
|
119
104
|
font-family: 'Inter', sans-serif;
|
|
120
|
-
color:
|
|
105
|
+
color: var(--title-form-second-color);
|
|
121
106
|
font-weight: 500;
|
|
122
107
|
font-size: 13px;
|
|
123
|
-
line-height: 18px;
|
|
124
108
|
margin-bottom: 8px;
|
|
125
109
|
}
|
|
126
|
-
.icon-row {
|
|
127
|
-
width: 20px;
|
|
128
|
-
height: 20px;
|
|
129
|
-
}
|
|
130
110
|
|
|
131
111
|
.item-name {
|
|
132
112
|
font-family: 'Inter', sans-serif;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export type UI_T_TasksStateLoading = 'tasks' | 'recentTasks'
|
|
2
2
|
export type UI_T_TaskStatus =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
| 6 // warning
|
|
3
|
+
0 | // queued
|
|
4
|
+
1 | // running
|
|
5
|
+
2 | // completed
|
|
6
|
+
3 | // failed
|
|
7
|
+
4 | // canceled
|
|
8
|
+
5 // retrying
|
package/package.json
CHANGED
package/plugins/directives.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DirectiveBinding } from '@vue/runtime-core'
|
|
2
|
-
import type {
|
|
2
|
+
import type {UI_I_Localization} from "~/lib/models/interfaces";
|
|
3
3
|
|
|
4
4
|
export default defineNuxtPlugin((nuxtApp) => {
|
|
5
5
|
nuxtApp.vueApp.directive('development', {
|
|
@@ -22,7 +22,8 @@ function applyDevelopmentState(el: HTMLElement, isDevelopment: boolean) {
|
|
|
22
22
|
|
|
23
23
|
el.setAttribute('title', localization.value.common.inDevelopment)
|
|
24
24
|
el.setAttribute('disabled', 'true')
|
|
25
|
-
el.
|
|
25
|
+
el.style.opacity = '0.6'
|
|
26
|
+
el.style.cursor = 'not-allowed'
|
|
26
27
|
|
|
27
28
|
// Оборачиваем, чтобы не навешивать несколько обработчиков
|
|
28
29
|
const preventClick = (e: MouseEvent) => {
|
|
@@ -39,7 +40,8 @@ function applyDevelopmentState(el: HTMLElement, isDevelopment: boolean) {
|
|
|
39
40
|
|
|
40
41
|
function cleanupDevelopment(el: HTMLElement) {
|
|
41
42
|
el.removeAttribute('title')
|
|
42
|
-
el.
|
|
43
|
+
el.style.opacity = ''
|
|
44
|
+
el.style.cursor = ''
|
|
43
45
|
|
|
44
46
|
const handler = (el as any)._developmentClickHandler
|
|
45
47
|
if (handler) {
|
|
@@ -70,7 +70,6 @@ wdi.Agent = $.spcExtend(wdi.EventObject.prototype, {
|
|
|
70
70
|
|
|
71
71
|
setResolution: function(width, height) {
|
|
72
72
|
//TODO move this to a setting
|
|
73
|
-
// SC-2122
|
|
74
73
|
if(width < 800) {
|
|
75
74
|
width = 800;
|
|
76
75
|
}
|
|
@@ -81,23 +80,23 @@ wdi.Agent = $.spcExtend(wdi.EventObject.prototype, {
|
|
|
81
80
|
|
|
82
81
|
//adapt resolution, TODO: this needs to be refractored
|
|
83
82
|
var packetData = {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
83
|
+
type: wdi.AgentMessageTypes.VD_AGENT_MONITORS_CONFIG,
|
|
84
|
+
opaque: 0,
|
|
85
|
+
data: new wdi.VDAgentMonitorsConfig({
|
|
86
|
+
num_of_monitors: 1,
|
|
87
|
+
flags: 0,
|
|
88
|
+
data: new wdi.VDAgentMonConfig({
|
|
89
|
+
width: width,
|
|
90
|
+
height: height,
|
|
91
|
+
// Custom code
|
|
92
|
+
// depth: 64,
|
|
93
|
+
depth: 32, // SC-2122
|
|
94
|
+
// Custom code end
|
|
95
|
+
x: 0,
|
|
96
|
+
y: 0
|
|
97
|
+
})
|
|
98
|
+
})
|
|
99
|
+
};
|
|
101
100
|
this.sendAgentPacket(packetData);
|
|
102
101
|
},
|
|
103
102
|
|
package/store/tasks/actions.ts
CHANGED
|
@@ -18,7 +18,6 @@ import type {
|
|
|
18
18
|
} from '~/lib/models/store/tasks/interfaces'
|
|
19
19
|
import type { UI_I_TasksState } from '~/store/tasks/lib/models/interfaces'
|
|
20
20
|
import type { UI_I_RefreshStack } from '~/store/main/lib/interfaces'
|
|
21
|
-
import type { UI_T_Project } from '~/lib/models/types'
|
|
22
21
|
import { tasksConstructor } from '~/store/tasks/mappers/tasks'
|
|
23
22
|
import { recentTasks } from '~/store/tasks/mappers/recentTasks'
|
|
24
23
|
|
|
@@ -29,13 +28,9 @@ export default {
|
|
|
29
28
|
state: UI_I_TasksState
|
|
30
29
|
dispatch: <T>(arg0: string, arg1: T, arg2: UI_I_CommitOptions) => void
|
|
31
30
|
},
|
|
32
|
-
payload:
|
|
33
|
-
data: UI_I_DataTableQuery
|
|
34
|
-
project: UI_T_Project
|
|
35
|
-
}
|
|
31
|
+
payload: UI_I_DataTableQuery
|
|
36
32
|
): Promise<API_UI_I_Error | void> {
|
|
37
|
-
const {
|
|
38
|
-
const { page, pageSize, sortBy, filter } = data
|
|
33
|
+
const { page, pageSize, sortBy, filter } = payload
|
|
39
34
|
|
|
40
35
|
const query: UI_I_TableQuery = {
|
|
41
36
|
page_size: pageSize,
|
|
@@ -43,21 +38,7 @@ export default {
|
|
|
43
38
|
}
|
|
44
39
|
|
|
45
40
|
if (sortBy) query.sortBy = sortBy
|
|
46
|
-
if (filter)
|
|
47
|
-
if (project === 'procurator') {
|
|
48
|
-
query.filter = filter
|
|
49
|
-
} else {
|
|
50
|
-
const filters = filter.split(',')
|
|
51
|
-
filters.forEach((item) => {
|
|
52
|
-
const [field, value] = item.split('.')
|
|
53
|
-
|
|
54
|
-
if (field && value) {
|
|
55
|
-
// @ts-ignore
|
|
56
|
-
query[field] = value
|
|
57
|
-
}
|
|
58
|
-
})
|
|
59
|
-
}
|
|
60
|
-
}
|
|
41
|
+
if (filter) query.filter = filter
|
|
61
42
|
|
|
62
43
|
const queryJson: string = JSON.stringify({ type: 'tasks', ...query })
|
|
63
44
|
const lastQuery: string = context.state.taskQuery || ''
|
|
@@ -82,9 +63,7 @@ export default {
|
|
|
82
63
|
value: true,
|
|
83
64
|
})
|
|
84
65
|
},
|
|
85
|
-
onResponse({
|
|
86
|
-
response,
|
|
87
|
-
}: API_UI_I_Response<API_UI_I_Task<string> | null>) {
|
|
66
|
+
onResponse({ response }: API_UI_I_Response<API_UI_I_Task<string> | null>) {
|
|
88
67
|
const tasks = tasksConstructor(response._data)
|
|
89
68
|
|
|
90
69
|
context.commit('M_SET_TASKS_LIST', tasks)
|
|
@@ -161,7 +140,10 @@ export default {
|
|
|
161
140
|
payload: string
|
|
162
141
|
): Promise<void> {
|
|
163
142
|
// Скрываем кнопку cancel
|
|
164
|
-
context.commit(
|
|
143
|
+
context.commit(
|
|
144
|
+
'M_HIDE_CANCEL_RECENT_TASK_BY_ID',
|
|
145
|
+
payload
|
|
146
|
+
)
|
|
165
147
|
const { error } = await useMyFetch<
|
|
166
148
|
API_UI_I_RecentTask<string>,
|
|
167
149
|
API_UI_I_Error
|
package/components/common/configure/physicalAdapters/modals/edit/lib/validations/validations.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
2
|
-
|
|
3
|
-
export const vfNumberValidationFunc = (
|
|
4
|
-
vfNumber: number,
|
|
5
|
-
localization: UI_I_Localization,
|
|
6
|
-
isAlert = false
|
|
7
|
-
): string => {
|
|
8
|
-
if (vfNumber !== 0 && !vfNumber) {
|
|
9
|
-
return isAlert
|
|
10
|
-
? localization.inventoryConfigure.vfRequiredMessage
|
|
11
|
-
: localization.common.fieldRequired
|
|
12
|
-
} else if (vfNumber < 1 || vfNumber > 63) {
|
|
13
|
-
return isAlert
|
|
14
|
-
? localization.inventoryConfigure.vfNotNegativeMessage
|
|
15
|
-
: localization.inventoryConfigure.vfNotNegativeMessage
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
return ''
|
|
19
|
-
}
|