bfg-common 1.5.106 → 1.5.107
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 +12 -7
- package/assets/localization/local_en.json +12 -7
- package/assets/localization/local_hy.json +12 -7
- package/assets/localization/local_kk.json +12 -7
- package/assets/localization/local_ru.json +11 -4
- package/assets/localization/local_zh.json +15 -10
- package/assets/scss/clarity/local_ar.json +1 -1
- package/assets/scss/common/normalize.scss +9 -1
- package/components/atoms/alert/Notification.vue +2 -4
- package/components/atoms/autocomplete/Autocomplete.vue +65 -18
- package/components/atoms/collapse/CollapseNav.vue +7 -3
- 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 +1 -2
- 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 +18 -9
- package/components/atoms/modal/Modal.vue +5 -3
- 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 +3 -5
- package/components/atoms/popover/lib/models/interfaces.ts +4 -0
- package/components/atoms/select/TheSelect.vue +5 -4
- 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 +1 -3
- package/components/atoms/switch/Switch.vue +6 -6
- package/components/atoms/table/compact/Compact.vue +23 -20
- package/components/atoms/table/dataGrid/DataGrid.vue +27 -24
- package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +5 -5
- package/components/atoms/table/dataGrid/DataGridPage.vue +6 -8
- package/components/atoms/table/info/Info.vue +13 -7
- package/components/atoms/table/info/lib/models/interfaces.ts +1 -0
- package/components/atoms/table/simpleEvent/SimpleEvent.vue +1 -1
- package/components/atoms/table/simpleInfo/SimpleInfo.vue +1 -1
- package/components/atoms/tabs/Tabs.vue +4 -2
- package/components/atoms/tooltip/Signpost.vue +1 -0
- package/components/atoms/tooltip/Tooltip.vue +1 -1
- package/components/atoms/tooltip/TooltipError.vue +1 -0
- 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 +1 -0
- 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 +4 -2
- package/components/common/feedback/Message.vue +5 -5
- package/components/common/feedback/VisitPortal.vue +1 -0
- 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 +26 -6
- package/components/common/layout/theHeader/feedback/new/additionalDetails/AdditionalDetails.vue +23 -8
- 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 +8 -7
- package/components/common/layout/theHeader/feedback/new/tabs/Tabs.vue +1 -1
- package/components/common/layout/theHeader/helpMenu/aboutNew/AboutNew.vue +31 -22
- package/components/common/layout/theHeader/helpMenu/aboutOld/AboutOld.vue +2 -7
- 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 +40 -26
- 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 +2 -5
- 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 +2 -3
- 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 +5 -1
- 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/tableOld/lib/config/tableConfig.ts +2 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/lib/config/objectTable.ts +10 -3
- 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 +21 -5
- 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 +4 -3
- 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 +9 -0
- package/components/common/readyToComplete/New.vue +66 -0
- package/components/common/readyToComplete/Old.vue +15 -0
- package/components/common/readyToComplete/ReadyToComplete.vue +5 -3
- package/components/common/split/horizontal/HorizontalNew.vue +2 -2
- package/components/common/split/vertical/VerticalNew.vue +4 -4
- package/components/common/titleBar/titleBarNew/notification/Notification.vue +372 -0
- package/components/common/titleBar/titleBarNew/notification/lib/config/tabsData.ts +47 -0
- package/components/common/titleBar/titleBarNew/notification/lib/models/interfaces.ts +10 -0
- package/components/common/titleBar/titleBarNew/notification/lib/models/types.ts +3 -0
- package/components/common/vm/actions/add/Add.vue +69 -11
- package/components/common/vm/actions/add/New.vue +262 -81
- package/components/common/vm/actions/add/Old.vue +56 -3
- package/components/common/vm/actions/add/{FolderTreeView.vue → folderTreeView/FolderTreeView.vue} +16 -27
- package/components/common/vm/actions/add/folderTreeView/New.vue +40 -0
- package/components/common/vm/actions/add/folderTreeView/Old.vue +50 -0
- package/components/common/vm/actions/add/lib/config/steps.ts +19 -3
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +4 -6
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue +78 -20
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveNew.vue +37 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuNew.vue +3 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocketNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/maxCpu/MaxCpuNew.vue +2 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/model/ModelNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/SharesNew.vue +3 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/TooltipNew.vue +15 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/LimitNew.vue +3 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/MemoryNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +39 -5
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/CacheNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIopsNew.vue +3 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/ModeNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/ProvisioningNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/SharingNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetworkNew.vue +2 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterTypeNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIoNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGridNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbControllerNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/ReservationNew.vue +3 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardNew.vue +2 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/ModelNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplaysNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/DelayNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/FirmwareNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsNew.vue +3 -0
- 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 +1 -0
- 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 +1 -0
- package/components/common/vm/actions/common/select/compatibility/Compatibility.vue +21 -83
- package/components/common/vm/actions/common/select/compatibility/New.vue +165 -0
- package/components/common/vm/actions/common/select/compatibility/Old.vue +107 -0
- package/components/common/vm/actions/common/select/computeResource/ComputeResource.vue +45 -75
- package/components/common/vm/actions/common/select/computeResource/New.vue +141 -0
- package/components/common/vm/actions/common/select/computeResource/Old.vue +99 -0
- package/components/common/vm/actions/common/select/computeResource/treeView/New.vue +44 -0
- package/components/common/vm/actions/common/select/computeResource/treeView/Old.vue +48 -0
- package/components/common/vm/actions/common/select/computeResource/{TreeView.vue → treeView/TreeView.vue} +28 -34
- package/components/common/vm/actions/common/select/createType/New.vue +1 -1
- package/components/common/vm/actions/common/select/name/New.vue +123 -20
- package/components/common/vm/actions/common/select/name/Old.vue +24 -24
- package/components/common/vm/actions/common/select/os/New.vue +122 -0
- package/components/common/vm/actions/common/select/os/Old.vue +152 -0
- package/components/common/vm/actions/common/select/os/Os.vue +139 -0
- package/components/common/vm/actions/common/select/storage/new/New.vue +116 -86
- package/components/common/vm/actions/common/select/storage/new/lib/config/table.ts +156 -3
- package/components/common/vm/actions/common/select/storage/new/lib/models/interfaces.ts +6 -0
- package/components/common/vm/actions/common/select/storage/new/lib/utils/utils.ts +21 -0
- package/components/common/vm/actions/common/select/template/Template.vue +2 -3
- 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 +27 -21
- package/components/common/wizards/vm/migrate/Migrate.vue +48 -10
- package/components/common/wizards/vm/migrate/lib/config/steps.ts +62 -16
- package/components/common/wizards/vm/migrate/lib/validations.ts +20 -9
- package/components/common/wizards/vm/migrate/vmOrigin/VmOrigin.vue +94 -0
- package/components/common/wizards/vm/migrate/vmOrigin/lib/models/interfaces.ts +19 -0
- package/components/common/wizards/vm/migrate/vmOrigin/lib/utils/constructItems.ts +74 -0
- package/lib/utils/utils.ts +9 -0
- package/package.json +2 -2
- package/components/common/vm/actions/common/select/os/os.vue +0 -218
- /package/components/common/vm/actions/common/select/storage/{StorageOld.vue → Old.vue} +0 -0
|
@@ -5,18 +5,18 @@
|
|
|
5
5
|
>
|
|
6
6
|
<atoms-the-icon
|
|
7
7
|
v-show="!isOpen"
|
|
8
|
+
:data-id="`${props.testId}-open-icon`"
|
|
8
9
|
class="angle-icon clr-icon"
|
|
9
10
|
name="angle"
|
|
10
|
-
:data-id="`${props.testId}-open-icon`"
|
|
11
11
|
@click="onFocusInput"
|
|
12
12
|
/>
|
|
13
13
|
<input
|
|
14
14
|
:id="id"
|
|
15
15
|
v-model="modelValueLocal"
|
|
16
16
|
:data-id="`${props.testId}-search-input`"
|
|
17
|
+
:disabled="props.disabled"
|
|
17
18
|
type="text"
|
|
18
19
|
tabindex="-1"
|
|
19
|
-
:disabled="props.disabled"
|
|
20
20
|
@focus="showMenu"
|
|
21
21
|
@blur="hideMenu"
|
|
22
22
|
/>
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
/>
|
|
30
30
|
|
|
31
31
|
<Teleport to="body">
|
|
32
|
-
<div v-show="isOpen" class="dropdown-menu"
|
|
32
|
+
<div v-show="isOpen" :style="dropdownMenuStyles" class="dropdown-menu">
|
|
33
33
|
<button
|
|
34
34
|
v-for="(item, key) in props.items"
|
|
35
35
|
:key="key"
|
|
@@ -71,7 +71,7 @@ const modelValueLocal = computed<string | number | undefined>({
|
|
|
71
71
|
|
|
72
72
|
const id = `combobox${useUniqueId()}`
|
|
73
73
|
|
|
74
|
-
const dropdownMenuStyles = ref({})
|
|
74
|
+
const dropdownMenuStyles = ref<any>({})
|
|
75
75
|
const showMenu = (): void => {
|
|
76
76
|
isOpen.value = true
|
|
77
77
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="container-datepicker">
|
|
3
3
|
<atoms-the-icon
|
|
4
|
-
name="calendar"
|
|
5
4
|
:class="[`btn-show-calendar calendar-id-${uniqueId}`]"
|
|
6
5
|
:data-id="`${props.testId}-toggle-icon`"
|
|
6
|
+
name="calendar"
|
|
7
7
|
@click.stop="showHideCalendar"
|
|
8
8
|
/>
|
|
9
9
|
<div
|
|
10
10
|
v-show="isShowCalendar"
|
|
11
|
-
class="the-datepicer"
|
|
12
11
|
:style="[{ top: calendarTop + 'px' }, { left: calendarLeft + 'px' }]"
|
|
12
|
+
class="the-datepicer"
|
|
13
13
|
@click.stop
|
|
14
14
|
>
|
|
15
15
|
<div v-show="showAllMonths" class="content-month">
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
<div class="content-buttons-arrow">
|
|
30
30
|
<button
|
|
31
31
|
:id="`${props.testId}-prev-button`"
|
|
32
|
+
:data-id="`${props.testId}-select-prev-year`"
|
|
32
33
|
class="calendar-btn"
|
|
33
34
|
title="Previous decade"
|
|
34
|
-
:data-id="`${props.testId}-select-prev-year`"
|
|
35
35
|
@click="prevYear"
|
|
36
36
|
>
|
|
37
37
|
<atoms-the-icon
|
|
@@ -42,18 +42,18 @@
|
|
|
42
42
|
</button>
|
|
43
43
|
<button
|
|
44
44
|
:id="`${props.testId}-current-year-button`"
|
|
45
|
+
:data-id="`${props.testId}-select-current-year`"
|
|
45
46
|
class="calendar-btn set-current-data"
|
|
46
47
|
title="Current decade"
|
|
47
|
-
:data-id="`${props.testId}-select-current-year`"
|
|
48
48
|
@click="setCurrentYear"
|
|
49
49
|
>
|
|
50
50
|
<atoms-the-icon name="calendar-current-date" class="current-btn" />
|
|
51
51
|
</button>
|
|
52
52
|
<button
|
|
53
53
|
:id="`${props.testId}-next-button`"
|
|
54
|
+
:data-id="`${props.testId}-select-next-year`"
|
|
54
55
|
class="calendar-btn"
|
|
55
56
|
title="Next decade"
|
|
56
|
-
:data-id="`${props.testId}-select-next-year`"
|
|
57
57
|
@click="nextYear"
|
|
58
58
|
>
|
|
59
59
|
<atoms-the-icon
|
|
@@ -80,18 +80,18 @@
|
|
|
80
80
|
<div class="date top-menu">
|
|
81
81
|
<button
|
|
82
82
|
:id="`${props.testId}-current-month-button`"
|
|
83
|
+
:data-id="`${props.testId}-show-all-months`"
|
|
83
84
|
class="calendar-btn show-all-months"
|
|
84
85
|
title="Select Month"
|
|
85
|
-
:data-id="`${props.testId}-show-all-months`"
|
|
86
86
|
@click="showAllMonths = true"
|
|
87
87
|
>
|
|
88
88
|
{{ currentMonth }}
|
|
89
89
|
</button>
|
|
90
90
|
<button
|
|
91
91
|
:id="`${props.testId}-current-year-button`"
|
|
92
|
+
:data-id="`${props.testId}-select-all-years`"
|
|
92
93
|
class="calendar-btn current-year"
|
|
93
94
|
title="Select Year"
|
|
94
|
-
:data-id="`${props.testId}-select-all-years`"
|
|
95
95
|
@click="showAllYears = true"
|
|
96
96
|
>
|
|
97
97
|
{{ currentYear }}
|
|
@@ -100,9 +100,9 @@
|
|
|
100
100
|
<div class="content-buttons-arrow">
|
|
101
101
|
<button
|
|
102
102
|
:id="`${props.testId}-prev-month-button`"
|
|
103
|
+
:data-id="`${props.testId}-select-prev-month`"
|
|
103
104
|
class="calendar-btn"
|
|
104
105
|
title="Previous Month"
|
|
105
|
-
:data-id="`${props.testId}-select-prev-month`"
|
|
106
106
|
@click="prevMonth"
|
|
107
107
|
>
|
|
108
108
|
<atoms-the-icon
|
|
@@ -113,9 +113,9 @@
|
|
|
113
113
|
</button>
|
|
114
114
|
<button
|
|
115
115
|
:id="`${props.testId}-current-date-button`"
|
|
116
|
+
:data-id="`${props.testId}-set-current-date`"
|
|
116
117
|
class="calendar-btn set-current-data"
|
|
117
118
|
title="Current Month"
|
|
118
|
-
:data-id="`${props.testId}-set-current-date`"
|
|
119
119
|
@click="setCurrentDate"
|
|
120
120
|
>
|
|
121
121
|
<atoms-the-icon
|
|
@@ -125,9 +125,9 @@
|
|
|
125
125
|
</button>
|
|
126
126
|
<button
|
|
127
127
|
:id="`${props.testId}-next-month-icon`"
|
|
128
|
+
:data-id="`${props.testId}-select-next-month`"
|
|
128
129
|
class="calendar-btn"
|
|
129
130
|
title="Next Month"
|
|
130
|
-
:data-id="`${props.testId}-select-next-month`"
|
|
131
131
|
@click="nextMonth"
|
|
132
132
|
>
|
|
133
133
|
<atoms-the-icon
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
<div :class="['dropdown', { open }]">
|
|
3
3
|
<div
|
|
4
4
|
v-on-click-outside="onClickOutsideHandler"
|
|
5
|
-
class="dropdown-toggle-container"
|
|
6
5
|
:data-id="`${props.testId}-show-dropdown-menu`"
|
|
6
|
+
class="dropdown-toggle-container"
|
|
7
7
|
@click="showDropMenu"
|
|
8
8
|
>
|
|
9
9
|
<span class="nav-link">
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
<div v-for="(item, key) in dropMenu" :key="key">
|
|
25
25
|
<button
|
|
26
26
|
:id="`${props.testId}-item`"
|
|
27
|
-
class="dropdown-item"
|
|
28
27
|
:class="item.disabled && 'disabled'"
|
|
29
28
|
:data-id="item.testId"
|
|
29
|
+
class="dropdown-item"
|
|
30
30
|
@click="onSelect(key)"
|
|
31
31
|
>
|
|
32
32
|
<a
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
import { vOnClickOutside } from '@vueuse/components'
|
|
49
49
|
import type { UI_I_DropMenu } from '~/components/atoms/dropdown/dropdown/lib/models/interfaces'
|
|
50
50
|
|
|
51
|
-
const emits = defineEmits(['select'])
|
|
52
51
|
const props = withDefaults(
|
|
53
52
|
defineProps<{
|
|
54
53
|
dropMenu: UI_I_DropMenu<string>[]
|
|
@@ -57,6 +56,7 @@ const props = withDefaults(
|
|
|
57
56
|
}>(),
|
|
58
57
|
{ testId: 'ui-dropdown' }
|
|
59
58
|
)
|
|
59
|
+
const emits = defineEmits(['select'])
|
|
60
60
|
|
|
61
61
|
const open = ref<boolean>(false)
|
|
62
62
|
const showDropMenu = (): void => {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
<div :class="['dropdown-tree dropdown', { open }]">
|
|
3
3
|
<button
|
|
4
4
|
:id="`${props.testId}`"
|
|
5
|
-
class="btn btn-outline-primary dropdown-toggle"
|
|
6
5
|
:data-id="`${props.testId}-toggle-tree`"
|
|
6
|
+
class="btn btn-outline-primary dropdown-toggle"
|
|
7
7
|
@click.stop="toggle"
|
|
8
8
|
>
|
|
9
9
|
<span class="title">{{ props.title }}</span>
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
:id="`${props.testId}-item-${key}-${key2}`"
|
|
18
18
|
:key="key2"
|
|
19
19
|
:disabled="item2.disabled"
|
|
20
|
-
class="btn dropdown-item"
|
|
21
20
|
:data-id="item2.testId"
|
|
21
|
+
class="btn dropdown-item"
|
|
22
22
|
@click="select(item2)"
|
|
23
23
|
>
|
|
24
24
|
{{ item2.text }}
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
</template>
|
|
30
30
|
|
|
31
31
|
<script setup lang="ts">
|
|
32
|
-
import {
|
|
32
|
+
import type {
|
|
33
33
|
UI_I_DropdownTreeItem,
|
|
34
34
|
UI_I_DropdownTreeItemChild,
|
|
35
35
|
} from '~/components/atoms/dropdown/tree/lib/models/interfaces'
|
|
@@ -34,17 +34,19 @@ const props = defineProps<{
|
|
|
34
34
|
grabItemKey: string
|
|
35
35
|
}>()
|
|
36
36
|
const emits = defineEmits<{
|
|
37
|
-
(
|
|
37
|
+
(event: 'drop', value: UI_I_DropEvent): void
|
|
38
38
|
}>()
|
|
39
39
|
|
|
40
|
-
const presentItems = computed(() => props.items)
|
|
40
|
+
const presentItems = computed<any>(() => props.items)
|
|
41
41
|
|
|
42
|
-
const dragDropItemGrab = computed(
|
|
42
|
+
const dragDropItemGrab = computed<any>(
|
|
43
|
+
() => grabItem.value?.[props.grabItemKey]
|
|
44
|
+
)
|
|
43
45
|
let dragDropItemGrabElem: HTMLElement
|
|
44
46
|
|
|
45
47
|
const hoveredItemPosition = ref<number>(-1)
|
|
46
48
|
const isGrab = ref<boolean>(false)
|
|
47
|
-
const grabItem = ref(null)
|
|
49
|
+
const grabItem = ref<any>(null)
|
|
48
50
|
const grab = (item: any, event: Event): void => {
|
|
49
51
|
isGrab.value = true
|
|
50
52
|
grabItem.value = item
|
|
@@ -61,22 +63,29 @@ let setDragDropItemGrabElemPosition = (event: any): void => {
|
|
|
61
63
|
setDragDropItemGrabElemPosition = useThrottle(setDragDropItemGrabElemPosition)
|
|
62
64
|
|
|
63
65
|
const windowMousemove = (event: Event): void => {
|
|
64
|
-
if (!isGrab.value) {
|
|
66
|
+
if (!isGrab.value) {
|
|
67
|
+
return
|
|
68
|
+
}
|
|
65
69
|
|
|
66
70
|
setDragDropItemGrabElemPosition(event)
|
|
67
71
|
}
|
|
68
72
|
const windowMouseup = (): void => {
|
|
69
|
-
if (!isGrab.value) {
|
|
73
|
+
if (!isGrab.value) {
|
|
74
|
+
return
|
|
75
|
+
}
|
|
70
76
|
isGrab.value = false
|
|
71
|
-
if (hoveredItemPosition.value === -1) {
|
|
77
|
+
if (hoveredItemPosition.value === -1) {
|
|
78
|
+
return
|
|
79
|
+
}
|
|
72
80
|
|
|
73
81
|
emits('drop', {
|
|
74
82
|
target: grabItem.value,
|
|
75
|
-
toPosition: hoveredItemPosition.value
|
|
83
|
+
toPosition: hoveredItemPosition.value,
|
|
76
84
|
})
|
|
77
85
|
}
|
|
78
86
|
onMounted(() => {
|
|
79
|
-
dragDropItemGrabElem =
|
|
87
|
+
dragDropItemGrabElem =
|
|
88
|
+
(document.getElementById('drag-drop-item-grab') as HTMLDivElement) || null
|
|
80
89
|
window.addEventListener('mousemove', windowMousemove)
|
|
81
90
|
window.addEventListener('mouseup', windowMouseup)
|
|
82
91
|
})
|
|
@@ -51,17 +51,19 @@
|
|
|
51
51
|
<button
|
|
52
52
|
:id="`${props.testId}-apply-button`"
|
|
53
53
|
:data-id="`${props.testId}-apply-button`"
|
|
54
|
-
class="
|
|
55
|
-
|
|
54
|
+
:class="[
|
|
55
|
+
'btn btn-primary',
|
|
56
|
+
props.loading && 'modal-dialog__loader',
|
|
57
|
+
]"
|
|
56
58
|
:disabled="props.disabledSubmit"
|
|
57
59
|
@click="submit"
|
|
58
60
|
>
|
|
59
61
|
<atoms-loader-pre-loader
|
|
60
62
|
v-if="props.loading"
|
|
61
63
|
id="loader"
|
|
62
|
-
class="absolute-center button__loading"
|
|
63
64
|
:test-id="`${props.testId}-button-loader`"
|
|
64
65
|
:show="props.loading"
|
|
66
|
+
class="absolute-center button__loading"
|
|
65
67
|
/>
|
|
66
68
|
<span v-else>
|
|
67
69
|
{{ localization.common.ok }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div v-if="props.show" class="modal clr-wizard wizard-xl">
|
|
3
|
-
<div class="modal-dialog modal-xl relative"
|
|
3
|
+
<div :data-id="props.testId" class="modal-dialog modal-xl relative">
|
|
4
4
|
<div class="modal-content-wrapper">
|
|
5
5
|
<nav class="modal-nav clr-wizard-stepnav-wrapper">
|
|
6
6
|
<h1 class="clr-wizard-title">
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
</slot>
|
|
25
25
|
<button
|
|
26
26
|
:id="`${props.testId}-close-icon`"
|
|
27
|
-
class="close"
|
|
28
27
|
:data-id="`${props.testId}-close-button`"
|
|
28
|
+
class="close"
|
|
29
29
|
@click="hide"
|
|
30
30
|
>
|
|
31
31
|
<atoms-the-icon class="close-icon" name="close" />
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
</div>
|
|
34
34
|
<div class="modal-body">
|
|
35
35
|
<slot
|
|
36
|
-
name="modalBody"
|
|
37
36
|
:title="heading"
|
|
38
37
|
:description="stepDescription"
|
|
38
|
+
name="modalBody"
|
|
39
39
|
/>
|
|
40
40
|
</div>
|
|
41
41
|
<div class="modal-footer">
|
|
42
42
|
<slot name="modalFooter">
|
|
43
43
|
<button
|
|
44
44
|
:id="`${props.testId}-cancel-button`"
|
|
45
|
-
class="btn btn-link"
|
|
46
45
|
:data-id="`${props.testId}-cancel-button`"
|
|
46
|
+
class="btn btn-link"
|
|
47
47
|
@click="hide"
|
|
48
48
|
>
|
|
49
49
|
{{ localization.common.cancel }}
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
<button
|
|
52
52
|
v-show="props.stepPosition > 0"
|
|
53
53
|
:id="`${props.testId}-back-button`"
|
|
54
|
-
class="btn btn-outline"
|
|
55
54
|
:data-id="`${props.testId}-back-button`"
|
|
55
|
+
class="btn btn-outline"
|
|
56
56
|
@click="back"
|
|
57
57
|
>
|
|
58
58
|
{{ localization.common.back }}
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
<button
|
|
61
61
|
v-if="props.stepPosition === props.stepItems.length - 1"
|
|
62
62
|
:id="`${props.testId}-finish-button`"
|
|
63
|
-
class="btn btn-success"
|
|
64
63
|
:data-id="`${props.testId}-finish-button`"
|
|
64
|
+
class="btn btn-success"
|
|
65
65
|
@click="finish"
|
|
66
66
|
>
|
|
67
67
|
{{ localization.common.finish }}
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
v-else
|
|
71
71
|
:id="`${props.testId}-next-button`"
|
|
72
72
|
:disabled="props.disabledNext"
|
|
73
|
-
class="btn btn-primary"
|
|
74
73
|
:data-id="`${props.testId}-next-button`"
|
|
74
|
+
class="btn btn-primary"
|
|
75
75
|
@click="next"
|
|
76
76
|
>
|
|
77
77
|
{{ localization.common.next }}
|
|
@@ -114,7 +114,7 @@ const emits = defineEmits<{
|
|
|
114
114
|
(event: 'next'): void
|
|
115
115
|
(event: 'back'): void
|
|
116
116
|
(event: 'hide'): void
|
|
117
|
-
(event: 'change-step',
|
|
117
|
+
(event: 'change-step', value: number): void
|
|
118
118
|
}>()
|
|
119
119
|
|
|
120
120
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="notification-bar">
|
|
3
|
-
<div
|
|
3
|
+
<div :style="{ 'background-color': color }" class="alerts">
|
|
4
4
|
<div v-if="props.items.length > 1" class="alerts-pager ng-star-inserted">
|
|
5
5
|
<div class="alerts-pager-control page-control">
|
|
6
6
|
<div class="alerts-page-down">
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
</div>
|
|
33
33
|
|
|
34
34
|
<div class="alert-text-truncate">
|
|
35
|
-
<div class="alert alert-app-level
|
|
35
|
+
<div :class="['alert alert-app-level', currentNotification.status]">
|
|
36
36
|
<div class="alert-items">
|
|
37
37
|
<div class="alert-item">
|
|
38
38
|
<div class="alert-icon-wrapper">
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<slot name="elem" />
|
|
9
9
|
</div>
|
|
10
10
|
<Teleport to="body">
|
|
11
|
-
<div
|
|
11
|
+
<div :style="popoverPosition" class="popover__content">
|
|
12
12
|
<slot name="content" />
|
|
13
13
|
</div>
|
|
14
14
|
</Teleport>
|
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
</template>
|
|
17
17
|
|
|
18
18
|
<script setup lang="ts">
|
|
19
|
+
import type { UI_I_PositionEl } from '~/components/atoms/popover/lib/models/interfaces'
|
|
20
|
+
|
|
19
21
|
const props = withDefaults(
|
|
20
22
|
defineProps<{
|
|
21
23
|
testId?: string | number
|
|
@@ -29,10 +31,6 @@ const emits = defineEmits<{
|
|
|
29
31
|
(event: 'click'): void
|
|
30
32
|
}>()
|
|
31
33
|
|
|
32
|
-
interface UI_I_PositionEl {
|
|
33
|
-
top: string
|
|
34
|
-
left: string
|
|
35
|
-
}
|
|
36
34
|
const popoverPosition = ref<UI_I_PositionEl | null>(null)
|
|
37
35
|
|
|
38
36
|
const id = ref<string>(`popover${useUniqueId()}`)
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
<Teleport to="body">
|
|
19
19
|
<ul
|
|
20
20
|
v-show="open"
|
|
21
|
-
@mouseenter="hover = true"
|
|
22
|
-
@mouseleave="hover = false"
|
|
23
|
-
class="select-menu"
|
|
24
21
|
:style="selectMenuStyles"
|
|
22
|
+
class="select-menu"
|
|
23
|
+
@mouseleave="hover = false"
|
|
24
|
+
@mouseenter="hover = true"
|
|
25
25
|
>
|
|
26
26
|
<li
|
|
27
27
|
v-for="item in props.options"
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
<script setup lang="ts">
|
|
43
43
|
import type { UI_I_Option } from '~/components/atoms/select/lib/models/interfaces'
|
|
44
|
+
|
|
44
45
|
const props = withDefaults(
|
|
45
46
|
defineProps<{
|
|
46
47
|
modelValue: number | string
|
|
@@ -56,7 +57,7 @@ const emits = defineEmits<{
|
|
|
56
57
|
|
|
57
58
|
const open = ref<boolean>(false)
|
|
58
59
|
const hover = ref<boolean>(false)
|
|
59
|
-
const selectMenuStyles = ref({})
|
|
60
|
+
const selectMenuStyles = ref<any>({})
|
|
60
61
|
|
|
61
62
|
const selectedItem = computed<UI_I_Option | undefined>(() => {
|
|
62
63
|
return props.options.find((option) => option.value === props.modelValue)
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
<button
|
|
22
22
|
:id="`${props.testId}-step-button-${key}`"
|
|
23
23
|
:data-id="`${item.testId}-step-button`"
|
|
24
|
-
class="btn btn-link clr-wizard-stepnav-link"
|
|
25
24
|
:style="{ 'margin-left': '8px' }"
|
|
26
25
|
:disabled="item.disabled"
|
|
26
|
+
class="btn btn-link clr-wizard-stepnav-link"
|
|
27
27
|
@click="changeStep(key)"
|
|
28
28
|
>
|
|
29
29
|
<span class="clr-wizard-stepnav-link-title">{{ item.text }}</span>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div class="flex-align-center">
|
|
3
3
|
<div class="switch-body">
|
|
4
4
|
<input :id="props.testId" v-model="value" type="checkbox" />
|
|
5
|
-
<label
|
|
5
|
+
<label :for="props.testId" class="switch-label"></label>
|
|
6
6
|
</div>
|
|
7
7
|
<label :for="props.testId"><slot></slot></label>
|
|
8
8
|
</div>
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
<script setup lang="ts">
|
|
12
12
|
const props = withDefaults(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
defineProps<{
|
|
14
|
+
modelValue: boolean
|
|
15
|
+
testId?: string
|
|
16
|
+
}>(),
|
|
17
|
+
{ testId: 'ui-switch' }
|
|
18
18
|
)
|
|
19
19
|
|
|
20
20
|
const emits = defineEmits<{
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
<div class="datagrid-row-master datagrid-row-flex">
|
|
11
11
|
<div class="datagrid-row-scrollable">
|
|
12
12
|
<div
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
v-for="(item, key) in props.headItems"
|
|
14
|
+
:key="key"
|
|
15
|
+
:style="{
|
|
16
16
|
width: columnsWidth[key],
|
|
17
17
|
}"
|
|
18
|
-
|
|
18
|
+
class="datagrid-column datagrid-fixed-width"
|
|
19
19
|
>
|
|
20
20
|
<div class="datagrid-column-flex">
|
|
21
21
|
<div class="datagrid-column-title">
|
|
@@ -34,21 +34,21 @@
|
|
|
34
34
|
</div>
|
|
35
35
|
<template v-if="props.bodyItems.length">
|
|
36
36
|
<div
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
v-for="(item, key) in props.bodyItems"
|
|
38
|
+
:key="key"
|
|
39
|
+
:class="['datagrid-body-row datagrid-row animation']"
|
|
40
40
|
>
|
|
41
41
|
<div>
|
|
42
42
|
<div class="datagrid-row-master datagrid-row-flex">
|
|
43
43
|
<div class="datagrid-row-scrollable">
|
|
44
44
|
<div class="datagrid-scrolling-cells">
|
|
45
45
|
<div
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
:style="{
|
|
46
|
+
v-for="(item2, key2) in item"
|
|
47
|
+
:key="item2"
|
|
48
|
+
:style="{
|
|
50
49
|
width: `${columnsWidth[key2]}`,
|
|
51
50
|
}"
|
|
51
|
+
class="datagrid-cell datagrid-fixed-width"
|
|
52
52
|
>
|
|
53
53
|
<div class="flex-align-center h-100">
|
|
54
54
|
<slot :name="item2.key" :item="item2">
|
|
@@ -87,14 +87,14 @@
|
|
|
87
87
|
import type { UI_I_HeadItem } from '~/components/atoms/table/compact/lib/models/interfaces'
|
|
88
88
|
|
|
89
89
|
const props = withDefaults(
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
90
|
+
defineProps<{
|
|
91
|
+
headItems: UI_I_HeadItem[]
|
|
92
|
+
bodyItems: any // don't know what array fields will be
|
|
93
|
+
loading?: boolean
|
|
94
|
+
}>(),
|
|
95
|
+
{
|
|
96
|
+
loading: false,
|
|
97
|
+
}
|
|
98
98
|
)
|
|
99
99
|
|
|
100
100
|
const columnsWidth = ref<string[]>([])
|
|
@@ -111,7 +111,10 @@ const setDataGridWidth = (): void => {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
const emptyWidthCount = props.headItems.filter((item) => !item.width).length
|
|
114
|
-
const existWidthsSum = props.headItems.reduce(
|
|
114
|
+
const existWidthsSum = props.headItems.reduce(
|
|
115
|
+
(acum, item) => (acum += item.width),
|
|
116
|
+
0
|
|
117
|
+
)
|
|
115
118
|
const equalGridWidth = (dataGridWidth - existWidthsSum) / emptyWidthCount
|
|
116
119
|
props.headItems.forEach((item) => {
|
|
117
120
|
const elementMax = Math.max(equalGridWidth, item.width)
|