bfg-common 1.5.127 → 1.5.128
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/components/common/wizards/datastore/add/steps/hostAccessibility/table/old/Old.vue +11 -2
- package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigure.vue +1 -53
- package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigureOld.vue +3 -3
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="data-table-view">
|
|
3
3
|
<atoms-table-data-grid
|
|
4
|
-
v-model:selected-row="
|
|
4
|
+
v-model:selected-row="selectedHostLocal"
|
|
5
5
|
v-model:page-size="pagination.pageSize"
|
|
6
6
|
v-model:page="pagination.page"
|
|
7
7
|
type="checkbox"
|
|
@@ -37,7 +37,7 @@ import { UI_I_CompatibleHostsTableItem } from '~/components/common/wizards/datas
|
|
|
37
37
|
import * as compatibleTable from '~/components/common/wizards/datastore/add/steps/hostAccessibility/table/old/lib/config/compatibleTable'
|
|
38
38
|
import * as incompatibleTable from '~/components/common/wizards/datastore/add/steps/hostAccessibility/table/old/lib/config/incompatibleTable'
|
|
39
39
|
|
|
40
|
-
const
|
|
40
|
+
const formSelectedHostsIdLocal = defineModel<string[]>()
|
|
41
41
|
const props = defineProps<{
|
|
42
42
|
tableData: UI_I_CompatibleHostsTableItem[]
|
|
43
43
|
tableType: UI_T_HostsAccessibilityTab
|
|
@@ -64,6 +64,15 @@ const headItems = computed<UI_I_HeadItem[]>(() =>
|
|
|
64
64
|
const bodyItems = computed<UI_I_BodyItem[][]>(() => {
|
|
65
65
|
return tables[props.tableType].bodyItems(props.tableData)
|
|
66
66
|
})
|
|
67
|
+
|
|
68
|
+
const selectedHostLocal = ref<number[]>(formSelectedHostsIdLocal.value || [])
|
|
69
|
+
watch(selectedHostLocal, (newValue: number[]) => {
|
|
70
|
+
if (formSelectedHostsIdLocal.value.length && !newValue.length) {
|
|
71
|
+
selectedHostLocal.value = formSelectedHostsIdLocal.value
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
formSelectedHostsIdLocal.value = newValue
|
|
75
|
+
})
|
|
67
76
|
</script>
|
|
68
77
|
|
|
69
78
|
<style lang="scss" scoped>
|
|
@@ -40,56 +40,4 @@ const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
|
40
40
|
const isShowAlertInfo = ref<boolean>(props.project === 'procurator')
|
|
41
41
|
</script>
|
|
42
42
|
|
|
43
|
-
<style lang="scss" scoped>
|
|
44
|
-
@import '~/assets/scss/common/mixins.scss';
|
|
45
|
-
.configuration {
|
|
46
|
-
@include flex($dir: column, $just: space-between);
|
|
47
|
-
height: 100%;
|
|
48
|
-
& > h6 {
|
|
49
|
-
font-weight: 500;
|
|
50
|
-
font-size: 14px;
|
|
51
|
-
padding-top: 6px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&__alert-info {
|
|
55
|
-
:deep(.alert-text) {
|
|
56
|
-
font-size: 11px;
|
|
57
|
-
letter-spacing: normal;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
.clr-form-control {
|
|
61
|
-
margin-top: 0;
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: row;
|
|
64
|
-
|
|
65
|
-
.clr-control-container {
|
|
66
|
-
min-height: 48px;
|
|
67
|
-
&.clr-error {
|
|
68
|
-
.clr-subtext,
|
|
69
|
-
.error-icon {
|
|
70
|
-
display: block;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
.error-icon {
|
|
74
|
-
display: none;
|
|
75
|
-
}
|
|
76
|
-
.error-icon {
|
|
77
|
-
fill: #db2100;
|
|
78
|
-
width: 24px;
|
|
79
|
-
height: 24px;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
&__servers-list {
|
|
84
|
-
height: 170px;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
.flex-align-center {
|
|
88
|
-
&.input-action-wrapper {
|
|
89
|
-
width: 260px;
|
|
90
|
-
}
|
|
91
|
-
input {
|
|
92
|
-
width: 210px;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
</style>
|
|
43
|
+
<style lang="scss" scoped></style>
|
package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigureOld.vue
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
<script lang="ts" setup>
|
|
115
115
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
116
116
|
import type { UI_I_WizardStep } from '~/components/atoms/wizard/lib/models/interfaces'
|
|
117
|
-
import type { UI_I_InitialValidationFields } from '~/components/common/wizards/datastore/add/
|
|
117
|
+
import type { UI_I_InitialValidationFields } from '~/components/common/wizards/datastore/add/steps/nameAndConfigure/lib/models/interfaces'
|
|
118
118
|
import type { UI_I_CreateDatastoreForm } from '~/components/common/wizards/datastore/add/lib/models/interfaces'
|
|
119
119
|
import { dynamicSteps } from '~/components/common/wizards/datastore/add/lib/config/steps'
|
|
120
120
|
|
|
@@ -180,14 +180,14 @@ const onHideAlert = (): void =>
|
|
|
180
180
|
</script>
|
|
181
181
|
|
|
182
182
|
<style lang="scss" scoped>
|
|
183
|
-
@import '
|
|
183
|
+
@import 'assets/scss/common/mixins.scss';
|
|
184
184
|
.configuration {
|
|
185
185
|
@include flex($dir: column, $just: space-between);
|
|
186
|
-
height: 100%;
|
|
187
186
|
& > h6 {
|
|
188
187
|
font-weight: 500;
|
|
189
188
|
font-size: 14px;
|
|
190
189
|
padding-top: 6px;
|
|
190
|
+
margin-bottom: 10px;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
&__alert-info {
|