bfg-common 1.5.104 → 1.5.106
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/img/icons/icons-sprite-dark-3.svg +227 -227
- package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
- package/assets/img/icons/icons-sprite-light-3.svg +227 -227
- package/assets/img/icons/icons-sprite-light-5.svg +488 -488
- package/assets/localization/local_be.json +7 -12
- package/assets/localization/local_en.json +7 -12
- package/assets/localization/local_hy.json +7 -12
- package/assets/localization/local_kk.json +7 -12
- package/assets/localization/local_ru.json +4 -11
- package/assets/localization/local_zh.json +10 -15
- package/assets/scss/clarity/local_ar.json +1 -1
- package/assets/scss/common/normalize.scss +1 -9
- package/components/atoms/alert/Notification.vue +4 -2
- package/components/atoms/autocomplete/Autocomplete.vue +18 -65
- package/components/atoms/collapse/CollapseNav.vue +3 -7
- package/components/atoms/collapse/CollapseNavItem.vue +1 -1
- package/components/atoms/comboDropdownMenu/ComboDropdownMenu.vue +1 -1
- package/components/atoms/combobox/Combobox.vue +4 -4
- package/components/atoms/datepicker/Datepicker.vue +10 -10
- package/components/atoms/dropdown/Portlet.vue +2 -1
- package/components/atoms/dropdown/dropdown/Dropdown.vue +3 -3
- package/components/atoms/dropdown/tree/Tree.vue +3 -3
- package/components/atoms/list/SelectList.vue +1 -1
- package/components/atoms/list/dragDropList/DragDropList.vue +9 -18
- package/components/atoms/modal/Modal.vue +3 -5
- package/components/atoms/modal/bySteps/BySteps.vue +8 -8
- package/components/atoms/nav/NavBar.vue +1 -1
- package/components/atoms/nav/VerticalNavBar.vue +1 -1
- package/components/atoms/notificationBar/NotificationBar.vue +2 -2
- package/components/atoms/popover/Popover.vue +5 -3
- package/components/atoms/select/TheSelect.vue +4 -5
- package/components/atoms/stack/StackBlock.vue +1 -1
- package/components/atoms/stack/StackContent.vue +1 -1
- package/components/atoms/step/VerticalStep.vue +1 -1
- package/components/atoms/step/lib/models/verticalStepItem.ts +3 -1
- package/components/atoms/switch/Switch.vue +6 -6
- package/components/atoms/table/compact/Compact.vue +20 -23
- package/components/atoms/table/dataGrid/DataGrid.vue +24 -27
- package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +5 -5
- package/components/atoms/table/dataGrid/DataGridPage.vue +8 -6
- package/components/atoms/table/info/Info.vue +7 -13
- package/components/atoms/table/info/lib/models/interfaces.ts +0 -1
- package/components/atoms/table/simpleEvent/SimpleEvent.vue +1 -1
- package/components/atoms/table/simpleInfo/SimpleInfo.vue +1 -1
- package/components/atoms/tabs/Tabs.vue +2 -4
- package/components/atoms/tooltip/Signpost.vue +0 -1
- package/components/atoms/tooltip/Tooltip.vue +1 -1
- package/components/atoms/tooltip/TooltipError.vue +0 -1
- package/components/atoms/wizard/Wizard.vue +1 -1
- package/components/atoms/wizard/step/Step.vue +1 -1
- package/components/common/accordion/Recursion.vue +2 -2
- package/components/common/adapterManager/AddAdapterModal.vue +2 -2
- package/components/common/adapterManager/ui/actions/AddAdapterButton.vue +1 -1
- package/components/common/adapterManager/ui/table/Adapters.vue +1 -1
- package/components/common/adapterManager/ui/table/Header.vue +1 -1
- package/components/common/adapterManager/ui/table/Table.vue +4 -4
- package/components/common/browse/Browse.vue +1 -1
- package/components/common/browse/BrowseNew.vue +3 -3
- package/components/common/browse/BrowseOld.vue +3 -3
- package/components/common/browse/blocks/TitleNew.vue +4 -4
- package/components/common/browse/blocks/TitleOld.vue +5 -5
- package/components/common/browse/blocks/contents/Files.vue +1 -1
- package/components/common/browse/blocks/contents/FilesOld.vue +2 -2
- package/components/common/browse/blocks/contents/filesNew/FilesNew.vue +1 -1
- package/components/common/browse/blocks/info/Date.vue +0 -1
- package/components/common/chartOptionsModal/counters/timespan/form/FormNew.vue +1 -1
- package/components/common/context/Context.vue +1 -1
- package/components/common/context/recursion/RecursionOld.vue +2 -2
- package/components/common/details/DetailsItem.vue +1 -1
- package/components/common/feedback/Buttons.vue +1 -1
- package/components/common/feedback/Feedback.vue +2 -4
- package/components/common/feedback/Message.vue +5 -5
- package/components/common/feedback/VisitPortal.vue +0 -1
- package/components/common/graph/graphNew/GraphNew.vue +2 -2
- package/components/common/graph/lib/utils/renderGraph.ts +1 -1
- package/components/common/layout/theHeader/feedback/new/New.vue +6 -26
- package/components/common/layout/theHeader/feedback/new/additionalDetails/AdditionalDetails.vue +8 -23
- package/components/common/layout/theHeader/feedback/new/additionalDetails/Headline.vue +4 -4
- package/components/common/layout/theHeader/feedback/new/description/Description.vue +1 -1
- package/components/common/layout/theHeader/feedback/new/email/Email.vue +1 -1
- package/components/common/layout/theHeader/feedback/new/subtitle/Subtitle.vue +7 -8
- package/components/common/layout/theHeader/feedback/new/tabs/Tabs.vue +1 -1
- package/components/common/layout/theHeader/helpMenu/aboutNew/AboutNew.vue +22 -31
- package/components/common/layout/theHeader/helpMenu/aboutOld/AboutOld.vue +7 -2
- package/components/common/layout/theHeader/helpMenu/helpMenuOld/HelpMenuOld.vue +1 -1
- package/components/common/layout/theHeader/modals/Reconnect.vue +2 -2
- package/components/common/layout/theHeader/modals/RedirectLogin.vue +3 -3
- package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePassword.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePasswordNew.vue +26 -40
- package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePasswordOld.vue +3 -3
- package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesNew.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesOld.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguageNew.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguageOld.vue +5 -2
- package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsoleOld.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/InventoryNew.vue +1 -1
- package/components/common/layout/theHeader/userMenu/userMenuNew/UserMenuNew.vue +2 -2
- package/components/common/layout/theHeader/userMenu/userMenuNew/lib/config/dropMenu.ts +1 -1
- package/components/common/layout/theHeader/userMenu/userMenuOld/UserMenuOld.vue +1 -1
- package/components/common/mainNavigationPanel/MainNavigationPanelOld.vue +2 -2
- package/components/common/modals/Rename.vue +2 -2
- package/components/common/modals/confirmByInput/ConfirmByInput.vue +3 -2
- package/components/common/modals/confirmByInput/ConfirmByInputOld.vue +3 -3
- package/components/common/modals/confirmation/ConfirmationOld.vue +1 -1
- package/components/common/modals/unsavedChanges/UnsavedChanges.vue +1 -1
- package/components/common/monitor/advanced/Advanced.vue +1 -1
- package/components/common/monitor/advanced/AdvancedNew.vue +1 -1
- package/components/common/monitor/advanced/AdvancedOld.vue +1 -1
- package/components/common/monitor/advanced/graphView/GraphViewNew.vue +1 -1
- package/components/common/monitor/advanced/graphView/GraphViewOld.vue +1 -1
- package/components/common/monitor/advanced/table/Table.vue +1 -1
- package/components/common/monitor/advanced/table/tableNew/TableNew.vue +2 -2
- package/components/common/monitor/advanced/table/tableOld/lib/config/performanceDatatable.ts +2 -2
- package/components/common/monitor/advanced/tools/ToolsOld.vue +2 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModalOld.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/NotificationOld.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/actions/ActionsOld.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/actions/lib/utils/optionsActions.ts +1 -5
- package/components/common/monitor/advanced/tools/chartOptionsModal/actions/saveOptionsModal/SaveOptionsModal.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/CountersNew.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/utils.ts +1040 -1040
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/tableOld/lib/config/tableConfig.ts +2 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/lib/config/objectTable.ts +3 -10
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/objectNew/ObjectNew.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/objectOld/ObjectOld.vue +2 -2
- package/components/common/monitor/advanced/tools/lib/config/advancedToolbar.ts +5 -21
- package/components/common/monitor/advanced/tools/lib/utils/countCores.ts +1 -1
- package/components/common/monitor/lib/models/interfaces.ts +1 -1
- package/components/common/monitor/overview/filters/customIntervalModal/CustomIntervalModalOld.vue +3 -3
- package/components/common/monitor/overview/filters/customIntervalModal/customIntervalModalNew/CustomIntervalModalNew.vue +3 -4
- package/components/common/monitor/resourceAllocation/lib/models/interfaces.ts +8 -8
- package/components/common/monitor/resourceAllocation/resourceAllocation.vue +2 -2
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +1 -1
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/Notification.vue +1 -1
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/SaveOptionsModal.vue +1 -1
- package/components/common/pages/hardwareHealth/tableView/lib/config/alertWarningTable.ts +1 -1
- package/components/common/pages/hardwareHealth/tableView/lib/config/historyTestimonyTable.ts +5 -5
- package/components/common/pages/shortcuts/block/BlockNew.vue +0 -9
- package/components/common/readyToComplete/ReadyToComplete.vue +3 -5
- package/components/common/split/horizontal/HorizontalNew.vue +2 -2
- package/components/common/split/vertical/VerticalNew.vue +4 -4
- package/components/common/vm/actions/add/Add.vue +11 -69
- package/components/common/vm/actions/add/{folderTreeView/FolderTreeView.vue → FolderTreeView.vue} +27 -16
- package/components/common/vm/actions/add/New.vue +81 -262
- package/components/common/vm/actions/add/Old.vue +3 -56
- package/components/common/vm/actions/add/lib/config/steps.ts +3 -19
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +6 -4
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue +20 -78
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveNew.vue +3 -37
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuNew.vue +1 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocketNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/maxCpu/MaxCpuNew.vue +0 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/model/ModelNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/SharesNew.vue +0 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/TooltipNew.vue +3 -15
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/LimitNew.vue +0 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/MemoryNew.vue +1 -4
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +5 -39
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/CacheNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIopsNew.vue +0 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/ModeNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/ProvisioningNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/SharingNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetworkNew.vue +1 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterTypeNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIoNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGridNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbControllerNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/ReservationNew.vue +0 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardNew.vue +1 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/ModelNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplaysNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/DelayNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/FirmwareNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsNew.vue +0 -3
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/New.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/KeymapNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/PasswordNew.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionNew.vue +0 -1
- package/components/common/vm/actions/common/select/compatibility/Compatibility.vue +83 -21
- package/components/common/vm/actions/common/select/computeResource/ComputeResource.vue +75 -45
- package/components/common/vm/actions/common/select/computeResource/{treeView/TreeView.vue → TreeView.vue} +34 -28
- package/components/common/vm/actions/common/select/createType/New.vue +1 -1
- package/components/common/vm/actions/common/select/name/New.vue +20 -123
- package/components/common/vm/actions/common/select/name/Old.vue +24 -24
- package/components/common/vm/actions/common/select/os/os.vue +218 -0
- package/components/common/vm/actions/common/select/storage/new/New.vue +86 -116
- package/components/common/vm/actions/common/select/storage/new/lib/config/table.ts +3 -156
- package/components/common/vm/actions/common/select/template/Template.vue +3 -2
- package/components/common/vm/actions/common/select/template/TemplateTreeView.vue +1 -1
- package/components/common/vm/actions/editSettings/lib/config/modal.ts +1 -1
- package/components/common/vm/actions/editSettings/new/New.vue +21 -27
- package/components/common/wizards/vm/migrate/Migrate.vue +10 -48
- package/components/common/wizards/vm/migrate/lib/config/steps.ts +16 -62
- package/components/common/wizards/vm/migrate/lib/validations.ts +9 -20
- package/lib/utils/utils.ts +0 -9
- package/package.json +2 -2
- package/components/atoms/popover/lib/models/interfaces.ts +0 -4
- package/components/common/readyToComplete/New.vue +0 -66
- package/components/common/readyToComplete/Old.vue +0 -15
- package/components/common/titleBar/titleBarNew/notification/Notification.vue +0 -372
- package/components/common/titleBar/titleBarNew/notification/lib/config/tabsData.ts +0 -47
- package/components/common/titleBar/titleBarNew/notification/lib/models/interfaces.ts +0 -10
- package/components/common/titleBar/titleBarNew/notification/lib/models/types.ts +0 -3
- package/components/common/vm/actions/add/folderTreeView/New.vue +0 -40
- package/components/common/vm/actions/add/folderTreeView/Old.vue +0 -50
- package/components/common/vm/actions/common/select/compatibility/New.vue +0 -165
- package/components/common/vm/actions/common/select/compatibility/Old.vue +0 -107
- package/components/common/vm/actions/common/select/computeResource/New.vue +0 -141
- package/components/common/vm/actions/common/select/computeResource/Old.vue +0 -99
- package/components/common/vm/actions/common/select/computeResource/treeView/New.vue +0 -44
- package/components/common/vm/actions/common/select/computeResource/treeView/Old.vue +0 -48
- package/components/common/vm/actions/common/select/os/New.vue +0 -122
- package/components/common/vm/actions/common/select/os/Old.vue +0 -152
- package/components/common/vm/actions/common/select/os/Os.vue +0 -139
- package/components/common/vm/actions/common/select/storage/new/lib/models/interfaces.ts +0 -6
- package/components/common/vm/actions/common/select/storage/new/lib/utils/utils.ts +0 -21
- package/components/common/wizards/vm/migrate/vmOrigin/VmOrigin.vue +0 -94
- package/components/common/wizards/vm/migrate/vmOrigin/lib/models/interfaces.ts +0 -19
- package/components/common/wizards/vm/migrate/vmOrigin/lib/utils/constructItems.ts +0 -74
- /package/components/common/vm/actions/common/select/storage/{Old.vue → StorageOld.vue} +0 -0
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
:id="`${props.testId}-${inputId}-all`"
|
|
55
55
|
v-model="selectedAll"
|
|
56
56
|
:data-id="`${props.testId}-filter-all`"
|
|
57
|
-
:value="-1"
|
|
58
57
|
type="checkbox"
|
|
59
58
|
class="checkbox-btn"
|
|
59
|
+
:value="-1"
|
|
60
60
|
@change="changeAll"
|
|
61
61
|
/>
|
|
62
62
|
<label
|
|
@@ -149,9 +149,9 @@
|
|
|
149
149
|
<atoms-popup-simple-popup
|
|
150
150
|
v-model="filterShow[key]"
|
|
151
151
|
:test-id="`${props.testId}-filter`"
|
|
152
|
+
top="100%"
|
|
152
153
|
:left="key === 0 ? '0' : ''"
|
|
153
154
|
:right="key !== 0 ? '0' : ''"
|
|
154
|
-
top="100%"
|
|
155
155
|
>
|
|
156
156
|
<input
|
|
157
157
|
:id="`${props.testId}-filter-input-${key}`"
|
|
@@ -257,8 +257,8 @@
|
|
|
257
257
|
<slot
|
|
258
258
|
v-if="props.type"
|
|
259
259
|
:key="key"
|
|
260
|
-
:item="item"
|
|
261
260
|
name="type"
|
|
261
|
+
:item="item"
|
|
262
262
|
>
|
|
263
263
|
<div
|
|
264
264
|
:class="
|
|
@@ -313,10 +313,7 @@
|
|
|
313
313
|
</div>
|
|
314
314
|
</div>
|
|
315
315
|
</div>
|
|
316
|
-
<div
|
|
317
|
-
:data-id="`${item[0].testId}-select-row-scrollable`"
|
|
318
|
-
class="datagrid-row-scrollable"
|
|
319
|
-
>
|
|
316
|
+
<div class="datagrid-row-scrollable">
|
|
320
317
|
<div class="datagrid-scrolling-cells">
|
|
321
318
|
<div
|
|
322
319
|
v-for="(item2, key2) in item"
|
|
@@ -490,8 +487,8 @@
|
|
|
490
487
|
|
|
491
488
|
<atoms-loader
|
|
492
489
|
v-show="props.loading"
|
|
493
|
-
:test-id="`${props.testId}-spinner`"
|
|
494
490
|
class="datagrid-spinner"
|
|
491
|
+
:test-id="`${props.testId}-spinner`"
|
|
495
492
|
/>
|
|
496
493
|
</div>
|
|
497
494
|
</div>
|
|
@@ -624,9 +621,9 @@ const columnKeysLocal = computed<UI_T_ColumnKeys>({
|
|
|
624
621
|
})
|
|
625
622
|
|
|
626
623
|
const selectedAll = ref<boolean>(false)
|
|
627
|
-
const changeAll = (
|
|
624
|
+
const changeAll = (e: UI_I_HTMLSelectElement): void => {
|
|
628
625
|
const newSelectedRow: (number | string)[] = []
|
|
629
|
-
if (
|
|
626
|
+
if (e.target.checked) {
|
|
630
627
|
bodyItemsPresent.value.forEach((row) => {
|
|
631
628
|
if (row[0]?.disabled) return
|
|
632
629
|
|
|
@@ -645,7 +642,7 @@ let memoryWidth = '0'
|
|
|
645
642
|
const showedInfoRow = ref<UI_I_BodyItem | null>(null)
|
|
646
643
|
const showedInfoCol = ref<UI_I_BodyItem[] | null>(null)
|
|
647
644
|
|
|
648
|
-
const isShowInfo = computed
|
|
645
|
+
const isShowInfo = computed(
|
|
649
646
|
() =>
|
|
650
647
|
showedInfoRow.value &&
|
|
651
648
|
showedInfoRow.value.id === props.selectedRow &&
|
|
@@ -722,7 +719,7 @@ const selectRowById = (item: UI_I_BodyItem): void => {
|
|
|
722
719
|
emits('update:selected-row', id)
|
|
723
720
|
}
|
|
724
721
|
const changeSelectedRow = (
|
|
725
|
-
|
|
722
|
+
e: UI_I_HTMLSelectElement,
|
|
726
723
|
id: number | string
|
|
727
724
|
): void => {
|
|
728
725
|
if (props.type === 'checkbox' && Array.isArray(selectedRowLocal.value)) {
|
|
@@ -730,7 +727,7 @@ const changeSelectedRow = (
|
|
|
730
727
|
emits('change', newSelectedRow)
|
|
731
728
|
emits('update:selected-row', newSelectedRow)
|
|
732
729
|
|
|
733
|
-
changeSelectedAll(
|
|
730
|
+
changeSelectedAll(e.target.checked)
|
|
734
731
|
return
|
|
735
732
|
}
|
|
736
733
|
|
|
@@ -822,7 +819,7 @@ const bodyItemsPresent = computed<UI_I_BodyItem[][]>(() => {
|
|
|
822
819
|
return {
|
|
823
820
|
...item,
|
|
824
821
|
// Если текст пустой нужно поставить '--' для экспорта
|
|
825
|
-
text: item.text !== '' ? item.text :
|
|
822
|
+
text: item.text !== '' ? item.text : '--'
|
|
826
823
|
}
|
|
827
824
|
})
|
|
828
825
|
})
|
|
@@ -975,15 +972,15 @@ watch(
|
|
|
975
972
|
|
|
976
973
|
const grabColumn = ref<number>(-1)
|
|
977
974
|
const grabStartX = ref<number>(0)
|
|
978
|
-
const setGrab = (key: number,
|
|
975
|
+
const setGrab = (key: number, e: MouseEvent): void => {
|
|
979
976
|
if (props.withInfo && key === 0) return
|
|
980
977
|
|
|
981
978
|
if (!isShowHiddenInfo.value) {
|
|
982
979
|
grabColumn.value = key
|
|
983
980
|
const currentWidth = parseInt(columnsWidth.value[grabColumn.value][0])
|
|
984
|
-
grabStartX.value =
|
|
981
|
+
grabStartX.value = e.clientX - currentWidth
|
|
985
982
|
if (isRtl.value) {
|
|
986
|
-
grabStartX.value =
|
|
983
|
+
grabStartX.value = e.clientX + currentWidth
|
|
987
984
|
}
|
|
988
985
|
}
|
|
989
986
|
}
|
|
@@ -1000,17 +997,17 @@ const mouseup = (): void => {
|
|
|
1000
997
|
}
|
|
1001
998
|
|
|
1002
999
|
let resizeObserve: ResizeObserver
|
|
1003
|
-
let mousemove = (
|
|
1000
|
+
let mousemove = (e: MouseEvent): void => {
|
|
1004
1001
|
if (grabColumn.value === -1) return
|
|
1005
1002
|
|
|
1006
|
-
|
|
1003
|
+
e.preventDefault()
|
|
1007
1004
|
isDrag.value = true
|
|
1008
1005
|
resizeObserve.disconnect()
|
|
1009
1006
|
|
|
1010
1007
|
const minWidth = parseInt(columnsWidth.value[grabColumn.value][1])
|
|
1011
|
-
let changeX = Math.max(
|
|
1008
|
+
let changeX = Math.max(e.clientX - grabStartX.value, minWidth)
|
|
1012
1009
|
if (isRtl.value) {
|
|
1013
|
-
changeX = Math.max(grabStartX.value -
|
|
1010
|
+
changeX = Math.max(grabStartX.value - e.clientX, minWidth)
|
|
1014
1011
|
}
|
|
1015
1012
|
|
|
1016
1013
|
columnsWidth.value[grabColumn.value] = [`${changeX}px`, `${minWidth}px`]
|
|
@@ -1018,15 +1015,15 @@ let mousemove = (event: MouseEvent): void => {
|
|
|
1018
1015
|
mousemove = useThrottle(mousemove)
|
|
1019
1016
|
|
|
1020
1017
|
const setResizeObserve = (): void => {
|
|
1021
|
-
const
|
|
1018
|
+
const el = document.getElementById(outerWrapper)
|
|
1022
1019
|
|
|
1023
|
-
if (!
|
|
1020
|
+
if (!el) {
|
|
1024
1021
|
setTimeout(setResizeObserve, 0)
|
|
1025
1022
|
return
|
|
1026
1023
|
}
|
|
1027
1024
|
|
|
1028
1025
|
resizeObserve = new ResizeObserver(setColumnWidth)
|
|
1029
|
-
resizeObserve.observe(
|
|
1026
|
+
resizeObserve.observe(el)
|
|
1030
1027
|
}
|
|
1031
1028
|
|
|
1032
1029
|
let resizeObserveWithInfo: ResizeObserver
|
|
@@ -1041,15 +1038,15 @@ const setColumnWidthWithInfo = (ent: ResizeObserverEntry[]): void => {
|
|
|
1041
1038
|
}
|
|
1042
1039
|
|
|
1043
1040
|
const setResizeObserveWithInfo = (): void => {
|
|
1044
|
-
const
|
|
1041
|
+
const el = document.querySelector('.datagrid')
|
|
1045
1042
|
|
|
1046
|
-
if (!
|
|
1043
|
+
if (!el) {
|
|
1047
1044
|
setTimeout(setResizeObserveWithInfo, 0)
|
|
1048
1045
|
return
|
|
1049
1046
|
}
|
|
1050
1047
|
|
|
1051
1048
|
resizeObserveWithInfo = new ResizeObserver(setColumnWidthWithInfo)
|
|
1052
|
-
resizeObserveWithInfo.observe(
|
|
1049
|
+
resizeObserveWithInfo.observe(el)
|
|
1053
1050
|
}
|
|
1054
1051
|
|
|
1055
1052
|
// Export
|
|
@@ -94,13 +94,13 @@ const isLast = computed<boolean>(
|
|
|
94
94
|
() => props.columnKeys.filter((columnKey) => columnKey.show).length === 1
|
|
95
95
|
)
|
|
96
96
|
|
|
97
|
-
const change = (
|
|
98
|
-
const newColumnKeys = props.columnKeys.map((columnKey,
|
|
99
|
-
if (
|
|
97
|
+
const change = (e: UI_I_HTMLSelectElement, key: number): void => {
|
|
98
|
+
const newColumnKeys = props.columnKeys.map((columnKey, i) => {
|
|
99
|
+
if (i !== key) {
|
|
100
100
|
return columnKey
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
columnKey.show =
|
|
103
|
+
columnKey.show = e.target.checked
|
|
104
104
|
return columnKey
|
|
105
105
|
})
|
|
106
106
|
emits('update:column-keys', newColumnKeys)
|
|
@@ -138,7 +138,7 @@ const toggle = (): void => {
|
|
|
138
138
|
setDropdownStyle()
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
const dropdownStyles = ref
|
|
141
|
+
const dropdownStyles = ref({})
|
|
142
142
|
const setDropdownStyle = (): void => {
|
|
143
143
|
const elem = document.getElementById(columnSwitchId.value)
|
|
144
144
|
if (!elem) {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<button
|
|
4
4
|
:id="`${props.testId}-first-button`"
|
|
5
5
|
:data-id="`${props.testId}-first-button`"
|
|
6
|
-
:disabled="currentPage === 1"
|
|
7
6
|
class="pagination-first"
|
|
7
|
+
:disabled="currentPage === 1"
|
|
8
8
|
@click="changeCurrentPage(1)"
|
|
9
9
|
>
|
|
10
10
|
<atoms-the-icon
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
<button
|
|
18
18
|
:id="`${props.testId}-prev-button`"
|
|
19
19
|
:data-id="`${props.testId}-prev-button`"
|
|
20
|
-
:disabled="currentPage === 1"
|
|
21
20
|
class="pagination-previous"
|
|
21
|
+
:disabled="currentPage === 1"
|
|
22
22
|
@click="changeCurrentPage(currentPage - 1)"
|
|
23
23
|
>
|
|
24
24
|
<atoms-the-icon
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
<button
|
|
45
45
|
:id="`${props.testId}-next-button`"
|
|
46
46
|
:data-id="`${props.testId}-next-button`"
|
|
47
|
-
:disabled="currentPage === props.totalPages"
|
|
48
47
|
class="pagination-next"
|
|
48
|
+
:disabled="currentPage === props.totalPages"
|
|
49
49
|
@click="changeCurrentPage(currentPage + 1)"
|
|
50
50
|
>
|
|
51
51
|
<atoms-the-icon
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
<button
|
|
59
59
|
:id="`${props.testId}-last-button`"
|
|
60
60
|
:data-id="`${props.testId}-last-button`"
|
|
61
|
-
:disabled="currentPage === props.totalPages"
|
|
62
61
|
class="pagination-last"
|
|
62
|
+
:disabled="currentPage === props.totalPages"
|
|
63
63
|
@click="changeCurrentPage(props.totalPages)"
|
|
64
64
|
>
|
|
65
65
|
<atoms-the-icon
|
|
@@ -73,6 +73,8 @@
|
|
|
73
73
|
</template>
|
|
74
74
|
|
|
75
75
|
<script setup lang="ts">
|
|
76
|
+
import type { UI_I_HTMLSelectElement } from '~/lib/models/interfaces'
|
|
77
|
+
|
|
76
78
|
const props = withDefaults(
|
|
77
79
|
defineProps<{
|
|
78
80
|
page: number
|
|
@@ -113,8 +115,8 @@ const changeCurrentPage = (page: number): void => {
|
|
|
113
115
|
if (page > props.totalPages || page < 1) return
|
|
114
116
|
changePageAndLazy(page)
|
|
115
117
|
}
|
|
116
|
-
const changeCurrentPageManual = (
|
|
117
|
-
const newVal = parseInt(
|
|
118
|
+
const changeCurrentPageManual = (e: any): void => {
|
|
119
|
+
const newVal = parseInt(e.target.value)
|
|
118
120
|
|
|
119
121
|
if (typeof newVal !== 'number' || isNaN(newVal)) {
|
|
120
122
|
currentPageLazy.value = currentPage.value
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
<table
|
|
2
|
+
<!-- TODO refactoring-->
|
|
3
|
+
<table class="table table-vertical">
|
|
4
4
|
<tbody>
|
|
5
|
-
<tr v-for="
|
|
5
|
+
<tr v-for="item in list" :key="item.id">
|
|
6
6
|
<th
|
|
7
7
|
scope="row"
|
|
8
8
|
:class="['vm-name-label', item.isProperty && 'hard-disk-properties']"
|
|
9
9
|
>
|
|
10
10
|
{{ item.label }}
|
|
11
11
|
</th>
|
|
12
|
-
<td
|
|
12
|
+
<td class="vm-name">
|
|
13
13
|
<slot :name="item.key">
|
|
14
14
|
{{ item.value }}
|
|
15
15
|
</slot>
|
|
@@ -22,15 +22,9 @@
|
|
|
22
22
|
<script lang="ts" setup>
|
|
23
23
|
import type { UI_I_TableInfoItem } from '~/components/atoms/table/info/lib/models/interfaces'
|
|
24
24
|
|
|
25
|
-
const props =
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
testId?: string
|
|
29
|
-
}>(),
|
|
30
|
-
{
|
|
31
|
-
testId: '',
|
|
32
|
-
}
|
|
33
|
-
)
|
|
25
|
+
const props = defineProps<{
|
|
26
|
+
items: UI_I_TableInfoItem[]
|
|
27
|
+
}>()
|
|
34
28
|
|
|
35
29
|
const list = computed<UI_I_TableInfoItem[]>(() => {
|
|
36
30
|
return props.items.map((item) => {
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
<td v-for="item in props.headItems" :key="item.text" class="row">
|
|
7
7
|
<span> {{ item.text }}</span>
|
|
8
8
|
<span
|
|
9
|
-
:data-id="`${item.testId}-select-node`"
|
|
10
9
|
class="underlined"
|
|
10
|
+
:data-id="`${item.testId}-select-node`"
|
|
11
11
|
@click="selectNode(item.value)"
|
|
12
12
|
>
|
|
13
13
|
{{ item.value }}
|
|
@@ -4,10 +4,8 @@
|
|
|
4
4
|
<li
|
|
5
5
|
v-for="(item, key) in props.items"
|
|
6
6
|
:key="item.path"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
detectButtonRemainderCount === key && 'last-button',
|
|
10
|
-
]"
|
|
7
|
+
class="nav-item"
|
|
8
|
+
:class="detectButtonRemainderCount === key && 'last-button'"
|
|
11
9
|
>
|
|
12
10
|
<atoms-collapse-nav-item
|
|
13
11
|
:is-link="props.isLink"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div v-if="props.show" class="modal clr-wizard wizard-xl">
|
|
3
3
|
<div
|
|
4
|
-
:style="{ 'max-height': props.maxHeight }"
|
|
5
4
|
class="modal-dialog modal-xl relative"
|
|
5
|
+
:style="{ 'max-height': props.maxHeight }"
|
|
6
6
|
>
|
|
7
7
|
<div class="modal-content-wrapper">
|
|
8
8
|
<nav class="modal-nav clr-wizard-stepnav-wrapper">
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
props.selectedScheme[key]?.dataId) ||
|
|
17
17
|
step.testId
|
|
18
18
|
}-step-button`"
|
|
19
|
+
class="btn btn-link clr-wizard-stepnav-link"
|
|
19
20
|
:style="{ 'margin-left': '8px' }"
|
|
20
21
|
:disabled="step.status.disabled"
|
|
21
|
-
class="btn btn-link clr-wizard-stepnav-link"
|
|
22
22
|
@click="changeStep(step)"
|
|
23
23
|
>
|
|
24
24
|
<span class="clr-wizard-stepnav-link-title">
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
2
|
+
<div class="accordion" :class="{ disabled: props.accordion.disabled }">
|
|
3
3
|
<nuxt-link
|
|
4
4
|
v-development="props.accordion.development"
|
|
5
|
+
class="accordion-item"
|
|
5
6
|
:to="accordionLocal.path"
|
|
6
7
|
:data-id="accordionLocal.testId"
|
|
7
|
-
class="accordion-item"
|
|
8
8
|
active-class="active"
|
|
9
9
|
@click.prevent="onSelect(accordionLocal)"
|
|
10
10
|
>
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
</template>
|
|
35
35
|
|
|
36
36
|
<script setup lang="ts">
|
|
37
|
-
import
|
|
37
|
+
import {
|
|
38
38
|
UI_I_Localization,
|
|
39
39
|
UI_I_ItemsWithTotalCounts,
|
|
40
40
|
} from '~/lib/models/interfaces'
|
|
41
|
-
import
|
|
41
|
+
import {
|
|
42
42
|
UI_I_Adapter,
|
|
43
43
|
UI_I_SwitchAdapterItem,
|
|
44
44
|
} from '~/components/common/diagramMain/lib/models/interfaces'
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
</template>
|
|
59
59
|
|
|
60
60
|
<script setup lang="ts">
|
|
61
|
-
import
|
|
61
|
+
import {
|
|
62
62
|
UI_I_Adapter,
|
|
63
63
|
UI_I_AdapterStatus,
|
|
64
64
|
UI_I_SwitchAdapterItem,
|
|
@@ -94,9 +94,9 @@ const props = withDefaults(
|
|
|
94
94
|
)
|
|
95
95
|
|
|
96
96
|
const emits = defineEmits<{
|
|
97
|
-
(event: 'click-empty-space',
|
|
98
|
-
(event: 'select-add-adapter',
|
|
99
|
-
(event: 'select-adapter',
|
|
97
|
+
(event: 'click-empty-space', ev: Event): void
|
|
98
|
+
(event: 'select-add-adapter', id: string): void
|
|
99
|
+
(event: 'select-adapter', id: string): void
|
|
100
100
|
}>()
|
|
101
101
|
|
|
102
102
|
const onClickEmptySpace = (event: Event): void => {
|
|
@@ -96,7 +96,7 @@ const nodesLocal = computed<any[]>(() => {
|
|
|
96
96
|
|
|
97
97
|
const loadingNodeId = ref<string>('')
|
|
98
98
|
|
|
99
|
-
const nodesLocalWithLoading = computed
|
|
99
|
+
const nodesLocalWithLoading = computed(() => {
|
|
100
100
|
const nodesWithLoading = setLoadingOnNodeById(
|
|
101
101
|
nodesLocal.value,
|
|
102
102
|
loadingNodeId.value
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
<ui-modal
|
|
3
3
|
v-if="props.show"
|
|
4
4
|
:title="localization.common.selectFile"
|
|
5
|
-
:texts="modalButtonsText"
|
|
6
|
-
:is-disabled-accept="!props.selectedFile"
|
|
7
5
|
test-id="browse"
|
|
8
6
|
size="md"
|
|
9
|
-
width="864px"
|
|
10
7
|
show
|
|
8
|
+
width="864px"
|
|
9
|
+
:texts="modalButtonsText"
|
|
10
|
+
:is-disabled-accept="!props.selectedFile"
|
|
11
11
|
@submit="emits('submit')"
|
|
12
12
|
@hide="emits('hide')"
|
|
13
13
|
>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<atoms-modal
|
|
3
3
|
test-id="browse"
|
|
4
|
+
width="864px"
|
|
5
|
+
height="586px"
|
|
4
6
|
:show="props.show"
|
|
5
7
|
:title="localization.common.selectFile"
|
|
6
8
|
:disabled-submit="!props.selectedFile"
|
|
7
|
-
width="864px"
|
|
8
|
-
height="586px"
|
|
9
9
|
@submit="emits('submit')"
|
|
10
10
|
@hide="emits('hide')"
|
|
11
11
|
>
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
fill="#666"
|
|
19
19
|
/>
|
|
20
20
|
<input
|
|
21
|
-
:placeholder="localization.common.filter"
|
|
22
21
|
type="text"
|
|
23
22
|
data-id="browse-filter-input"
|
|
23
|
+
:placeholder="localization.common.filter"
|
|
24
24
|
/>
|
|
25
25
|
</div>
|
|
26
26
|
<common-browse-blocks-container
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
2
|
+
<div class="title-block" :style="blockWidth">
|
|
3
3
|
<div
|
|
4
4
|
:class="[
|
|
5
5
|
'title-block__container',
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
:style="blockWidth"
|
|
9
9
|
>
|
|
10
10
|
<div
|
|
11
|
-
:style="blockTitleWidth"
|
|
12
11
|
class="title-block__title pointer"
|
|
12
|
+
:style="blockTitleWidth"
|
|
13
13
|
@click="emits('sort')"
|
|
14
14
|
>
|
|
15
15
|
<b>{{ props.title }}</b>
|
|
@@ -47,8 +47,8 @@ const emits = defineEmits<{
|
|
|
47
47
|
(event: 'sort'): void
|
|
48
48
|
}>()
|
|
49
49
|
|
|
50
|
-
const blockWidth = computed
|
|
51
|
-
const blockTitleWidth = computed
|
|
50
|
+
const blockWidth = computed(() => ({ width: `${props.width}px` }))
|
|
51
|
+
const blockTitleWidth = computed(() => ({
|
|
52
52
|
width: `${
|
|
53
53
|
props.width -
|
|
54
54
|
(props.position === 'first-block' || props.position === 'third-block'
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
<div
|
|
2
|
+
<div class="title-block" :style="blockWidth">
|
|
3
|
+
<div class="title-block__container" :style="blockWidth">
|
|
4
4
|
<div
|
|
5
|
-
:style="blockTitleWidth"
|
|
6
5
|
class="title-block__title pointer"
|
|
6
|
+
:style="blockTitleWidth"
|
|
7
7
|
@click="emits('sort')"
|
|
8
8
|
>
|
|
9
9
|
<b>{{ props.title }}</b>
|
|
@@ -37,8 +37,8 @@ const emits = defineEmits<{
|
|
|
37
37
|
(event: 'sort'): void
|
|
38
38
|
}>()
|
|
39
39
|
|
|
40
|
-
const blockWidth = computed
|
|
41
|
-
const blockTitleWidth = computed
|
|
40
|
+
const blockWidth = computed(() => ({ width: `${props.width}px` }))
|
|
41
|
+
const blockTitleWidth = computed(() => ({ width: `${props.width - 2}px` }))
|
|
42
42
|
</script>
|
|
43
43
|
|
|
44
44
|
<style scoped lang="scss">
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
]"
|
|
10
10
|
@click="onSelectFile(file)"
|
|
11
11
|
>
|
|
12
|
-
<span
|
|
12
|
+
<span class="file-view__icon" :class="file.iconClassName"></span>
|
|
13
13
|
<span class="file-view__text">{{ file.name }}</span>
|
|
14
14
|
</li>
|
|
15
15
|
</template>
|
|
@@ -23,7 +23,7 @@ const props = defineProps<{
|
|
|
23
23
|
}>()
|
|
24
24
|
|
|
25
25
|
const emits = defineEmits<{
|
|
26
|
-
(event: 'select-file',
|
|
26
|
+
(event: 'select-file', file: any): void
|
|
27
27
|
}>()
|
|
28
28
|
|
|
29
29
|
const onSelectFile = (file: any): void => {
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
v-model="localSelectedCustomTimeLocal"
|
|
34
34
|
:items="constructedCustomTimeOptions"
|
|
35
35
|
:disabled="isDisabledCustomFormLast"
|
|
36
|
-
:margin-between-trigger="4"
|
|
37
36
|
test-id="custom-time"
|
|
38
37
|
select-width="100%"
|
|
39
38
|
size="md"
|
|
39
|
+
:margin-between-trigger="4"
|
|
40
40
|
/>
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|