bfg-common 1.4.751 → 1.4.753
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/context/recursion/RecursionNew.vue +1 -0
- package/components/common/layout/theHeader/feedback/new/description/Description.vue +1 -0
- package/components/common/layout/theHeader/feedback/new/email/Email.vue +1 -1
- package/components/common/split/horizontal/HorizontalNew.vue +2 -10
- package/components/common/split/horizontal/HorizontalOld.vue +2 -10
- package/package.json +2 -2
|
@@ -47,6 +47,8 @@
|
|
|
47
47
|
</template>
|
|
48
48
|
|
|
49
49
|
<script setup lang="ts">
|
|
50
|
+
import { isRtl } from 'bfg-uikit/lib/config/trl'
|
|
51
|
+
|
|
50
52
|
const props = withDefaults(
|
|
51
53
|
defineProps<{
|
|
52
54
|
parentElementSelector: string
|
|
@@ -68,19 +70,11 @@ const emits = defineEmits<{
|
|
|
68
70
|
(event: 'dragend', value: number): void
|
|
69
71
|
}>()
|
|
70
72
|
|
|
71
|
-
// TODO remove
|
|
72
|
-
const isRtl = ref<boolean>(useLocalStorage('rtl').value)
|
|
73
|
-
window.addEventListener('storage', () => {
|
|
74
|
-
isRtl.value = useLocalStorage('rtl')
|
|
75
|
-
})
|
|
76
|
-
//
|
|
77
73
|
const leftPanelStyle = computed(() => {
|
|
78
74
|
let width = `calc(${leftPanelWLocal.value}% - 1.5px)`
|
|
79
|
-
// TODO remove
|
|
80
75
|
if (isRtl.value) {
|
|
81
76
|
width = `calc(${100 - leftPanelWLocal.value}% - 1.5px)`
|
|
82
77
|
}
|
|
83
|
-
//
|
|
84
78
|
if (props.showToggleButton && leftPanelCollapsed.value) {
|
|
85
79
|
width = '20px'
|
|
86
80
|
}
|
|
@@ -91,11 +85,9 @@ const leftPanelStyle = computed(() => {
|
|
|
91
85
|
|
|
92
86
|
const rightPanelStyle = computed(() => {
|
|
93
87
|
let width = `calc(${100 - leftPanelWLocal.value}% - 1.5px)`
|
|
94
|
-
// TODO remove
|
|
95
88
|
if (isRtl.value) {
|
|
96
89
|
width = `calc(${leftPanelWLocal.value}% - 1.5px)`
|
|
97
90
|
}
|
|
98
|
-
//
|
|
99
91
|
if (props.showToggleButton && leftPanelCollapsed.value) {
|
|
100
92
|
width = 'calc(100% - 20px)'
|
|
101
93
|
}
|
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
</template>
|
|
44
44
|
|
|
45
45
|
<script setup lang="ts">
|
|
46
|
+
import { isRtl } from 'bfg-uikit/lib/config/trl'
|
|
47
|
+
|
|
46
48
|
const props = withDefaults(
|
|
47
49
|
defineProps<{
|
|
48
50
|
parentElementSelector: string
|
|
@@ -64,19 +66,11 @@ const emits = defineEmits<{
|
|
|
64
66
|
(event: 'dragend', value: number): void
|
|
65
67
|
}>()
|
|
66
68
|
|
|
67
|
-
// TODO remove
|
|
68
|
-
const isRtl = ref<boolean>(useLocalStorage('rtl').value)
|
|
69
|
-
window.addEventListener('storage', () => {
|
|
70
|
-
isRtl.value = useLocalStorage('rtl')
|
|
71
|
-
})
|
|
72
|
-
//
|
|
73
69
|
const leftPanelStyle = computed(() => {
|
|
74
70
|
let width = `calc(${leftPanelW.value}% - 1.5px)`
|
|
75
|
-
// TODO remove
|
|
76
71
|
if (isRtl.value) {
|
|
77
72
|
width = `calc(${100 - leftPanelW.value}% - 1.5px)`
|
|
78
73
|
}
|
|
79
|
-
//
|
|
80
74
|
if (props.showToggleButton && leftPanelCollapsed.value) {
|
|
81
75
|
width = '20px'
|
|
82
76
|
}
|
|
@@ -86,11 +80,9 @@ const leftPanelStyle = computed(() => {
|
|
|
86
80
|
})
|
|
87
81
|
const rightPanelStyle = computed(() => {
|
|
88
82
|
let width = `calc(${100 - leftPanelW.value}% - 1.5px)`
|
|
89
|
-
// TODO remove
|
|
90
83
|
if (isRtl.value) {
|
|
91
84
|
width = `calc(${leftPanelW.value}% - 1.5px)`
|
|
92
85
|
}
|
|
93
|
-
//
|
|
94
86
|
if (props.showToggleButton && leftPanelCollapsed.value) {
|
|
95
87
|
width = 'calc(100% - 20px)'
|
|
96
88
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bfg-common",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.753",
|
|
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.17",
|
|
38
|
-
"bfg-uikit": "1.0.
|
|
38
|
+
"bfg-uikit": "1.0.320",
|
|
39
39
|
"html2canvas": "^1.4.1",
|
|
40
40
|
"prettier-eslint": "^15.0.1"
|
|
41
41
|
}
|