bfg-common 1.5.93 → 1.5.95
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/scss/common/normalize.scss +9 -1
- package/components/atoms/alert/Notification.vue +2 -4
- package/components/atoms/autocomplete/Autocomplete.vue +5 -6
- 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 +2 -2
- 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/details/lib/models/interfaces.ts +1 -0
- 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 +1 -1
- package/components/common/layout/theHeader/feedback/new/additionalDetails/AdditionalDetails.vue +9 -7
- package/components/common/layout/theHeader/feedback/new/additionalDetails/Headline.vue +2 -3
- 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 +2 -3
- package/components/common/layout/theHeader/helpMenu/aboutNew/AboutNew.vue +2 -2
- 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 +8 -8
- 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/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/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/wizards/datastore/add/Add.vue +0 -1
- package/components/common/wizards/datastore/add/New.vue +1 -16
- package/components/common/wizards/datastore/add/lib/models/interfaces.ts +1 -1
- package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/lib/models/interfaces.ts +0 -10
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDevice.vue +78 -223
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +19 -188
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceOld.vue +199 -12
- package/components/common/wizards/datastore/add/steps/nameAndDevice/lib/config/selectOptions.ts +6 -3
- package/components/common/wizards/datastore/add/steps/nameAndDevice/lib/models/interfaces.ts +1 -11
- package/components/common/wizards/datastore/add/steps/nameAndDevice/table/Table.vue +22 -33
- package/components/common/wizards/datastore/add/steps/nameAndDevice/table/lib/models/interfaces.ts +14 -0
- package/components/common/wizards/datastore/add/steps/nameAndDevice/table/new/New.vue +118 -0
- package/components/common/wizards/datastore/add/steps/nameAndDevice/table/new/lib/config/lunDiskTable.ts +86 -0
- package/components/common/wizards/datastore/add/steps/nameAndDevice/table/old/Old.vue +133 -0
- package/components/common/wizards/datastore/add/steps/readyComplete/ReadyCompleteNew.vue +1 -0
- package/components/common/wizards/datastore/add/steps/readyComplete/lib/config/propertiesDetails.ts +9 -3
- package/package.json +1 -1
- package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/lib/models/types.ts +0 -1
- package/components/common/wizards/datastore/add/steps/nameAndDevice/lib/models/types.ts +0 -1
- /package/components/common/wizards/datastore/add/steps/nameAndDevice/table/{lib → old/lib}/config/lunDiskTable.ts +0 -0
- /package/components/common/wizards/datastore/add/steps/nameAndDevice/table/{lib → old/lib}/config/tableKeys.ts +0 -0
- /package/components/common/wizards/datastore/add/steps/nameAndDevice/table/{lib → old/lib}/models/types.ts +0 -0
|
@@ -26,7 +26,7 @@ html:not(.is-new-view) {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
[dir=
|
|
29
|
+
[dir='rtl'] {
|
|
30
30
|
.tree-node-text {
|
|
31
31
|
text-align: right;
|
|
32
32
|
}
|
|
@@ -69,6 +69,10 @@ b {
|
|
|
69
69
|
font-weight: 700;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
+
.d-none {
|
|
73
|
+
display: none;
|
|
74
|
+
}
|
|
75
|
+
|
|
72
76
|
.flex {
|
|
73
77
|
display: flex;
|
|
74
78
|
}
|
|
@@ -86,6 +90,10 @@ b {
|
|
|
86
90
|
flex: 1;
|
|
87
91
|
}
|
|
88
92
|
|
|
93
|
+
.h-auto {
|
|
94
|
+
height: auto;
|
|
95
|
+
}
|
|
96
|
+
|
|
89
97
|
.flex-align-center {
|
|
90
98
|
@include flex($align: center);
|
|
91
99
|
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="notification">
|
|
3
3
|
<div
|
|
4
|
-
class="notification-container-wrap animation"
|
|
5
|
-
:class="{ active: isActive }"
|
|
4
|
+
:class="['notification-container-wrap animation', { active: isActive }]"
|
|
6
5
|
>
|
|
7
6
|
<div class="notification-container">
|
|
8
7
|
<div v-show="props.show" class="toast">
|
|
9
8
|
<atoms-the-icon
|
|
10
|
-
class="toast-icon"
|
|
11
|
-
:class="iconName !== 'info' && 'with'"
|
|
12
9
|
:name="iconName"
|
|
10
|
+
:class="['toast-icon', iconName !== 'info' && 'with']"
|
|
13
11
|
/>
|
|
14
12
|
<div class="toast-content">
|
|
15
13
|
<div class="flex-align-center flex-space-between">
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<atoms-loader-pre-loader
|
|
6
6
|
id="loader"
|
|
7
7
|
:test-id="`${props.testId}-pre-loader`"
|
|
8
|
-
class="content-area__loading"
|
|
9
8
|
:show="true"
|
|
9
|
+
class="content-area__loading"
|
|
10
10
|
/>
|
|
11
11
|
</div>
|
|
12
12
|
<div class="search-icon">
|
|
@@ -23,11 +23,10 @@
|
|
|
23
23
|
:id="`${props.testId}-search-input`"
|
|
24
24
|
v-model.trim="searchLocal"
|
|
25
25
|
:data-id="`${props.testId}-search-input`"
|
|
26
|
+
:class="['search-input', fieldErrorText && 'clr-input']"
|
|
27
|
+
:placeholder="props.placeholder"
|
|
26
28
|
type="text"
|
|
27
|
-
class="search-input"
|
|
28
|
-
:class="fieldErrorText && 'clr-input'"
|
|
29
29
|
autocomplete="off"
|
|
30
|
-
:placeholder="props.placeholder"
|
|
31
30
|
@blur="onInitValidation"
|
|
32
31
|
@input="onSearch"
|
|
33
32
|
/>
|
|
@@ -69,7 +68,7 @@
|
|
|
69
68
|
</template>
|
|
70
69
|
|
|
71
70
|
<script setup lang="ts">
|
|
72
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
71
|
+
// import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
73
72
|
|
|
74
73
|
const props = withDefaults(
|
|
75
74
|
defineProps<{
|
|
@@ -94,7 +93,7 @@ const emits = defineEmits<{
|
|
|
94
93
|
(event: 'select', value: string): void
|
|
95
94
|
}>()
|
|
96
95
|
|
|
97
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
96
|
+
// const localization = computed<UI_I_Localization>(() => useLocal())
|
|
98
97
|
|
|
99
98
|
const searchLocal = defineModel<string>()
|
|
100
99
|
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
@mousedown="showMenu"
|
|
13
13
|
>
|
|
14
14
|
<atoms-the-icon
|
|
15
|
-
name="ellipsis-horizontal"
|
|
16
15
|
:class="['collapse-icon', { active: open }]"
|
|
16
|
+
name="ellipsis-horizontal"
|
|
17
17
|
width="16px"
|
|
18
18
|
height="16px"
|
|
19
19
|
/>
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
<li
|
|
29
29
|
v-for="(item, key) in props.items"
|
|
30
30
|
:key="key"
|
|
31
|
-
class="navbar-dropdown-menu-item"
|
|
32
31
|
:title="item.title"
|
|
32
|
+
class="navbar-dropdown-menu-item"
|
|
33
33
|
@mousedown.stop
|
|
34
34
|
>
|
|
35
35
|
<div
|
|
@@ -64,6 +64,10 @@ const props = withDefaults(
|
|
|
64
64
|
testId?: string
|
|
65
65
|
}>(),
|
|
66
66
|
{
|
|
67
|
+
isLink: undefined,
|
|
68
|
+
value: undefined,
|
|
69
|
+
popupClass: undefined,
|
|
70
|
+
closeAfterClick: undefined,
|
|
67
71
|
testId: '',
|
|
68
72
|
}
|
|
69
73
|
)
|
|
@@ -92,7 +96,7 @@ const collapsedBtnActive = computed<boolean>(() => {
|
|
|
92
96
|
|
|
93
97
|
const open = ref<boolean>(false)
|
|
94
98
|
const hover = ref<boolean>(false)
|
|
95
|
-
const dropdownMenuStyles = ref({})
|
|
99
|
+
const dropdownMenuStyles = ref<any>({})
|
|
96
100
|
const showMenu = (): void => {
|
|
97
101
|
if (open.value) {
|
|
98
102
|
hideMenu(true)
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
<input
|
|
36
36
|
:id="`select-file-button-${props.item.type}`"
|
|
37
37
|
:data-id="`${item.testId}-button`"
|
|
38
|
-
type="file"
|
|
39
38
|
:disabled="props.item.disabled"
|
|
40
39
|
:multiple="false"
|
|
40
|
+
type="file"
|
|
41
41
|
class="input-file"
|
|
42
42
|
@change="(event) => onSelectFiles(event)"
|
|
43
43
|
/>
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
id="search-input"
|
|
23
23
|
v-model="search"
|
|
24
24
|
:data-id="`${props.testId}-search-field`"
|
|
25
|
+
:placeholder="localization.common.search"
|
|
25
26
|
type="search"
|
|
26
27
|
autocomplete="off"
|
|
27
28
|
maxlength="300"
|
|
28
29
|
class="form-control dropdown-search-box"
|
|
29
|
-
:placeholder="localization.common.search"
|
|
30
30
|
@input="onInputSearch"
|
|
31
31
|
/>
|
|
32
32
|
<div class="dropdown-result-holder">
|
|
@@ -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)
|