bfg-common 1.2.229 → 1.2.231
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.
|
@@ -98,6 +98,12 @@
|
|
|
98
98
|
.host-ui-icon-renewCertificate {
|
|
99
99
|
background-position: 0 36.7088607595%;
|
|
100
100
|
}
|
|
101
|
+
.network-lib-ui-icon-statusGreen {
|
|
102
|
+
background-position: 0 39.2405063291%;
|
|
103
|
+
}
|
|
104
|
+
.network-lib-ui-icon-statusRed {
|
|
105
|
+
background-position: 0 35.4430379747%;
|
|
106
|
+
}
|
|
101
107
|
|
|
102
108
|
/* _____BACKGROUND IMAGE_____ */
|
|
103
109
|
.host-ui-icon-renewCertificate,
|
|
@@ -132,7 +138,9 @@
|
|
|
132
138
|
.icon-auto-deploy,
|
|
133
139
|
.icon-Host_Policy-32x,
|
|
134
140
|
.icon-certificate-32x,
|
|
135
|
-
.icon-content-libraries
|
|
141
|
+
.icon-content-libraries,
|
|
142
|
+
.network-lib-ui-icon-statusGreen,
|
|
143
|
+
.network-lib-ui-icon-statusRed {
|
|
136
144
|
background-image: url('@/assets/img/icons/icons-sprite-light-1.svg');
|
|
137
145
|
|
|
138
146
|
html.dark-theme & {
|
|
@@ -169,7 +177,9 @@
|
|
|
169
177
|
.active .vsphere-icon-datacenter-error,
|
|
170
178
|
.active .vsphere-icon-datacenter-warning,
|
|
171
179
|
.active .icon-auto-deploy,
|
|
172
|
-
.active .icon-content-libraries
|
|
180
|
+
.active .icon-content-libraries,
|
|
181
|
+
.active .network-lib-ui-icon-statusGreen,
|
|
182
|
+
.active .network-lib-ui-icon-statusRed {
|
|
173
183
|
background-image: url('@/assets/img/icons/icons-sprite-dark-1.svg');
|
|
174
184
|
html.dark-theme & {
|
|
175
185
|
background-image: url('@/assets/img/icons/icons-sprite-light-1.svg');
|
|
@@ -215,7 +225,9 @@
|
|
|
215
225
|
.vsphere-icon-datacenter-error,
|
|
216
226
|
.vsphere-icon-datacenter-warning,
|
|
217
227
|
.icon-auto-deploy,
|
|
218
|
-
.icon-content-libraries
|
|
228
|
+
.icon-content-libraries,
|
|
229
|
+
.network-lib-ui-icon-statusGreen,
|
|
230
|
+
.network-lib-ui-icon-statusRed {
|
|
219
231
|
width: 18px;
|
|
220
232
|
min-width: 18px;
|
|
221
233
|
height: 18px;
|
|
@@ -18,6 +18,7 @@ import type { UI_I_ViewSettingsFields } from '~/components/common/tools/viewSett
|
|
|
18
18
|
|
|
19
19
|
const props = withDefaults(
|
|
20
20
|
defineProps<{
|
|
21
|
+
modelValue?: number | string
|
|
21
22
|
tabs?: UI_I_CollapseNavItem[]
|
|
22
23
|
viewSettingsFields?: UI_I_ViewSettingsFields[]
|
|
23
24
|
activeDefaultTab?: number | string
|
|
@@ -28,9 +29,21 @@ const props = withDefaults(
|
|
|
28
29
|
tabs: undefined,
|
|
29
30
|
}
|
|
30
31
|
)
|
|
32
|
+
const emits = defineEmits<{
|
|
33
|
+
(event: 'update:model-value', value: number | string): void
|
|
34
|
+
}>()
|
|
31
35
|
|
|
32
|
-
|
|
33
|
-
const selectedTabViewSettings =
|
|
36
|
+
const activeDefaultTabLocal = ref<number | string>(props.activeDefaultTab)
|
|
37
|
+
const selectedTabViewSettings = computed<number | string>({
|
|
38
|
+
get() {
|
|
39
|
+
return activeDefaultTabLocal.value ?? props.modelValue
|
|
40
|
+
},
|
|
41
|
+
set(newValue) {
|
|
42
|
+
props.modelValue
|
|
43
|
+
? emits('update:model-value', newValue)
|
|
44
|
+
: (activeDefaultTabLocal.value = newValue)
|
|
45
|
+
},
|
|
46
|
+
})
|
|
34
47
|
|
|
35
48
|
// Filtering the selected tab content
|
|
36
49
|
// const viewSettingsTabContent = (tab: number): UI_I_ViewSettingsFields[] =>
|