bfg-common 1.3.530 → 1.3.532
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/layout/theHeader/ThemeSwitch.vue +4 -4
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguageNew.vue +2 -2
- package/components/common/layout/theHeader/userMenu/modals/preferences/view/ViewNew.vue +9 -12
- package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/DeviceSelection.vue +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<ui-switch v-model="model" size="
|
|
2
|
+
<ui-switch v-model="model" size="md" dark>
|
|
3
3
|
<template #rightIcon>
|
|
4
4
|
<ui-icon name="light-theme" width="14" height="14" />
|
|
5
5
|
</template>
|
|
@@ -22,8 +22,8 @@ const model = computed({
|
|
|
22
22
|
get() {
|
|
23
23
|
return props.isDarkTheme
|
|
24
24
|
},
|
|
25
|
-
set() {
|
|
26
|
-
emits('change-theme-mode')
|
|
25
|
+
set(newValue: boolean) {
|
|
26
|
+
emits('change-theme-mode', newValue)
|
|
27
27
|
},
|
|
28
28
|
})
|
|
29
|
-
</script>
|
|
29
|
+
</script>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
size="sm"
|
|
23
23
|
/>
|
|
24
24
|
|
|
25
|
-
<span v-if="item.selectLang" class="select">
|
|
25
|
+
<span v-if="item.selectLang" class="select-language">
|
|
26
26
|
<common-select-language
|
|
27
27
|
:normalize-lang="locales"
|
|
28
28
|
:selected-lang="selectedLanguageLocal"
|
|
@@ -149,7 +149,7 @@ watch(
|
|
|
149
149
|
margin-bottom: 12px;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
.select {
|
|
152
|
+
.select-language {
|
|
153
153
|
margin-left: 8px;
|
|
154
154
|
}
|
|
155
155
|
</style>
|
|
@@ -14,14 +14,7 @@
|
|
|
14
14
|
</div>
|
|
15
15
|
|
|
16
16
|
<div class="flex-align-center">
|
|
17
|
-
<
|
|
18
|
-
<input
|
|
19
|
-
id="view"
|
|
20
|
-
v-model="isNewViewLocal"
|
|
21
|
-
type="checkbox"
|
|
22
|
-
class="switch"
|
|
23
|
-
@change="onChange"
|
|
24
|
-
/>
|
|
17
|
+
<ui-switch v-model="isNewViewLocal" :label="localization.newView" />
|
|
25
18
|
</div>
|
|
26
19
|
</div>
|
|
27
20
|
</div>
|
|
@@ -35,7 +28,14 @@ const props = defineProps<{
|
|
|
35
28
|
isNewView: boolean
|
|
36
29
|
}>()
|
|
37
30
|
|
|
38
|
-
const isNewViewLocal =
|
|
31
|
+
const isNewViewLocal = computed({
|
|
32
|
+
get() {
|
|
33
|
+
return props.isNewView
|
|
34
|
+
},
|
|
35
|
+
set(newValue: boolean) {
|
|
36
|
+
emits('update', newValue)
|
|
37
|
+
},
|
|
38
|
+
})
|
|
39
39
|
|
|
40
40
|
const emits = defineEmits<{
|
|
41
41
|
(event: 'update', value: boolean): void
|
|
@@ -52,9 +52,6 @@ const description = computed<string>(() => {
|
|
|
52
52
|
)
|
|
53
53
|
})
|
|
54
54
|
|
|
55
|
-
const onChange = (): void => {
|
|
56
|
-
emits('update', isNewViewLocal.value)
|
|
57
|
-
}
|
|
58
55
|
</script>
|
|
59
56
|
|
|
60
57
|
<style lang="scss" scoped>
|
package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/DeviceSelection.vue
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<atoms-the-icon class="error-icon" name="info-circle" />
|
|
31
31
|
</div>
|
|
32
32
|
|
|
33
|
-
<div class="clr-subtext" data-id="datastore-name-
|
|
33
|
+
<div class="clr-subtext" data-id="storm-datastore-name-field-require">
|
|
34
34
|
{{ formErrors?.errors?.name?.[0] || '' }}
|
|
35
35
|
</div>
|
|
36
36
|
</div>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bfg-common",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.532",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "nuxt build",
|
|
7
7
|
"dev": "nuxt dev --port=3002",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@vueuse/components": "^10.1.2",
|
|
36
36
|
"date-fns": "^2.29.3",
|
|
37
37
|
"bfg-nuxt-3-graph": "^1.0.15",
|
|
38
|
-
"bfg-uikit": "1.0.
|
|
38
|
+
"bfg-uikit": "1.0.78",
|
|
39
39
|
"html2canvas": "^1.4.1",
|
|
40
40
|
"prettier-eslint": "^15.0.1"
|
|
41
41
|
}
|