vxe-pc-ui 3.20.0 → 3.20.2
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/es/card/src/card.js +20 -4
- package/es/drawer/src/drawer.js +75 -16
- package/es/drawer/style.css +13 -6
- package/es/drawer/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/language/fr-FR.js +29 -29
- package/es/layout-aside/src/layout-aside.js +10 -6
- package/es/layout-body/src/layout-body.js +24 -12
- package/es/list/src/list.js +131 -49
- package/es/list/style.css +25 -8
- package/es/list/style.min.css +1 -1
- package/es/menu/src/menu.js +2 -2
- package/es/modal/src/modal.js +73 -14
- package/es/modal/style.css +4 -0
- package/es/modal/style.min.css +1 -1
- package/es/scrollbar/src/scrollbar.js +87 -19
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tabs/src/tabs.js +21 -5
- package/es/tree/src/tree.js +460 -54
- package/es/tree/style.css +43 -0
- package/es/tree/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/ui/src/utils.js +3 -0
- package/es/vxe-drawer/style.css +13 -6
- package/es/vxe-drawer/style.min.css +1 -1
- package/es/vxe-list/style.css +25 -8
- package/es/vxe-list/style.min.css +1 -1
- package/es/vxe-modal/style.css +4 -0
- package/es/vxe-modal/style.min.css +1 -1
- package/es/vxe-tree/style.css +43 -0
- package/es/vxe-tree/style.min.css +1 -1
- package/lib/card/src/card.js +20 -4
- package/lib/card/src/card.min.js +1 -1
- package/lib/drawer/src/drawer.js +76 -12
- package/lib/drawer/src/drawer.min.js +1 -1
- package/lib/drawer/style/style.css +13 -6
- package/lib/drawer/style/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +956 -185
- package/lib/index.umd.min.js +1 -1
- package/lib/language/fr-FR.js +29 -29
- package/lib/language/fr-FR.min.js +1 -1
- package/lib/language/fr-FR.umd.js +29 -29
- package/lib/layout-aside/src/layout-aside.js +10 -9
- package/lib/layout-aside/src/layout-aside.min.js +1 -1
- package/lib/layout-body/src/layout-body.js +28 -20
- package/lib/layout-body/src/layout-body.min.js +1 -1
- package/lib/list/src/list.js +119 -46
- package/lib/list/src/list.min.js +1 -1
- package/lib/list/style/style.css +25 -8
- package/lib/list/style/style.min.css +1 -1
- package/lib/menu/src/menu.js +1 -1
- package/lib/menu/src/menu.min.js +1 -1
- package/lib/modal/src/modal.js +74 -12
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/modal/style/style.css +4 -0
- package/lib/modal/style/style.min.css +1 -1
- package/lib/scrollbar/src/scrollbar.js +92 -17
- package/lib/scrollbar/src/scrollbar.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tabs/src/tabs.js +21 -8
- package/lib/tabs/src/tabs.min.js +1 -1
- package/lib/tree/src/tree.js +438 -51
- package/lib/tree/src/tree.min.js +1 -1
- package/lib/tree/style/style.css +43 -0
- package/lib/tree/style/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/ui/src/utils.js +4 -0
- package/lib/ui/src/utils.min.js +1 -1
- package/lib/vxe-drawer/style/style.css +13 -6
- package/lib/vxe-drawer/style/style.min.css +1 -1
- package/lib/vxe-list/style/style.css +25 -8
- package/lib/vxe-list/style/style.min.css +1 -1
- package/lib/vxe-modal/style/style.css +4 -0
- package/lib/vxe-modal/style/style.min.css +1 -1
- package/lib/vxe-tree/style/style.css +43 -0
- package/lib/vxe-tree/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/card/src/card.ts +21 -4
- package/packages/drawer/src/drawer.ts +80 -16
- package/packages/language/fr-FR.ts +903 -903
- package/packages/layout-aside/src/layout-aside.ts +10 -6
- package/packages/layout-body/src/layout-body.ts +28 -15
- package/packages/list/src/list.ts +149 -55
- package/packages/menu/src/menu.ts +2 -2
- package/packages/modal/src/modal.ts +83 -19
- package/packages/scrollbar/src/scrollbar.ts +101 -19
- package/packages/tabs/src/tabs.ts +22 -9
- package/packages/tree/src/tree.ts +508 -65
- package/packages/ui/src/utils.ts +4 -0
- package/styles/components/drawer.scss +13 -6
- package/styles/components/list.scss +35 -10
- package/styles/components/modal.scss +4 -0
- package/styles/components/tree.scss +76 -0
- package/types/components/card.d.ts +10 -1
- package/types/components/drawer.d.ts +20 -0
- package/types/components/gantt-module/gantt-view.d.ts +24 -1
- package/types/components/gantt.d.ts +2 -0
- package/types/components/layout-aside.d.ts +10 -1
- package/types/components/layout-body.d.ts +10 -1
- package/types/components/list.d.ts +13 -2
- package/types/components/modal.d.ts +20 -0
- package/types/components/scrollbar.d.ts +16 -2
- package/types/components/table.d.ts +80 -6
- package/types/components/tabs.d.ts +10 -1
- package/types/components/tree.d.ts +35 -2
- /package/es/icon/{iconfont.1791880407207.ttf → iconfont.1792034961185.ttf} +0 -0
- /package/es/icon/{iconfont.1791880407207.woff → iconfont.1792034961185.woff} +0 -0
- /package/es/icon/{iconfont.1791880407207.woff2 → iconfont.1792034961185.woff2} +0 -0
- /package/es/{iconfont.1791880407207.ttf → iconfont.1792034961185.ttf} +0 -0
- /package/es/{iconfont.1791880407207.woff → iconfont.1792034961185.woff} +0 -0
- /package/es/{iconfont.1791880407207.woff2 → iconfont.1792034961185.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1791880407207.ttf → iconfont.1792034961185.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1791880407207.woff → iconfont.1792034961185.woff} +0 -0
- /package/lib/icon/style/{iconfont.1791880407207.woff2 → iconfont.1792034961185.woff2} +0 -0
- /package/lib/{iconfont.1791880407207.ttf → iconfont.1792034961185.ttf} +0 -0
- /package/lib/{iconfont.1791880407207.woff → iconfont.1792034961185.woff} +0 -0
- /package/lib/{iconfont.1791880407207.woff2 → iconfont.1792034961185.woff2} +0 -0
|
@@ -4,6 +4,8 @@ import XEUtils from 'xe-utils'
|
|
|
4
4
|
import { VxeUI } from '../../ui'
|
|
5
5
|
import { toCssUnit } from '../../ui/src/dom'
|
|
6
6
|
import { getThumbOffsetSize, getThumbSize, getScrollFromClick, getScrollFromDrag } from './util'
|
|
7
|
+
import { getDefaultConfig } from '../../ui/src/utils'
|
|
8
|
+
|
|
7
9
|
import VxeLoadingComponent from '../../loading'
|
|
8
10
|
|
|
9
11
|
import type { ScrollbarReactData, ScrollbarInternalData, VxeScrollbarEmits, ValueOf, VxeScrollbarPropTypes, VxeComponentStyleType } from '../../../types'
|
|
@@ -33,6 +35,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
33
35
|
name: 'VxeScrollbar',
|
|
34
36
|
props: {
|
|
35
37
|
id: [String, Number] as PropType<VxeScrollbarPropTypes.Id>,
|
|
38
|
+
viewId: [String, Number] as PropType<VxeScrollbarPropTypes.ViewId>,
|
|
36
39
|
width: [String, Number] as PropType<VxeScrollbarPropTypes.Width>,
|
|
37
40
|
height: [String, Number] as PropType<VxeScrollbarPropTypes.Height>,
|
|
38
41
|
minWidth: [String, Number] as PropType<VxeScrollbarPropTypes.MinWidth>,
|
|
@@ -48,6 +51,14 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
48
51
|
type: Boolean as PropType<VxeScrollbarPropTypes.Padding>,
|
|
49
52
|
default: () => getConfig().scrollbar.padding
|
|
50
53
|
},
|
|
54
|
+
autoHide: {
|
|
55
|
+
type: Boolean as PropType<VxeScrollbarPropTypes.AutoHide>,
|
|
56
|
+
default: () => getConfig().scrollbar.autoHide
|
|
57
|
+
},
|
|
58
|
+
visible: {
|
|
59
|
+
type: Boolean as PropType<VxeScrollbarPropTypes.Visible>,
|
|
60
|
+
default: () => getConfig().scrollbar.visible
|
|
61
|
+
},
|
|
51
62
|
xConfig: Object as PropType<VxeScrollbarPropTypes.XConfig>,
|
|
52
63
|
yConfig: Object as PropType<VxeScrollbarPropTypes.YConfig>,
|
|
53
64
|
className: {
|
|
@@ -92,8 +103,8 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
92
103
|
const props = $xeScrollbar
|
|
93
104
|
|
|
94
105
|
const { width, height, minWidth, minHeight, maxWidth, maxHeight } = props
|
|
95
|
-
const
|
|
96
|
-
const
|
|
106
|
+
const barWidth = $xeScrollbar.computeYWidth
|
|
107
|
+
const barHeight = $xeScrollbar.computeXHeight
|
|
97
108
|
const stys: VxeComponentStyleType = {}
|
|
98
109
|
if (width) {
|
|
99
110
|
stys.width = toCssUnit(width)
|
|
@@ -113,14 +124,56 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
113
124
|
if (maxHeight) {
|
|
114
125
|
stys.maxHeight = toCssUnit(maxHeight)
|
|
115
126
|
}
|
|
116
|
-
if (
|
|
117
|
-
stys['--vxe-ui-scrollbar-y-width'] = toCssUnit(
|
|
118
|
-
|
|
119
|
-
if (xOpts.height) {
|
|
120
|
-
stys['--vxe-ui-scrollbar-x-height'] = toCssUnit(xOpts.height)
|
|
127
|
+
if (barWidth || barHeight) {
|
|
128
|
+
stys['--vxe-ui-scrollbar-y-width'] = toCssUnit(barWidth || barHeight)
|
|
129
|
+
stys['--vxe-ui-scrollbar-x-height'] = toCssUnit(barHeight || barWidth)
|
|
121
130
|
}
|
|
122
131
|
return stys
|
|
123
132
|
},
|
|
133
|
+
computeXHeight () {
|
|
134
|
+
const $xeScrollbar = this
|
|
135
|
+
|
|
136
|
+
const xOpts = ($xeScrollbar as any).computeXOpts as VxeScrollbarPropTypes.XConfig
|
|
137
|
+
return xOpts.height
|
|
138
|
+
},
|
|
139
|
+
computeYWidth () {
|
|
140
|
+
const $xeScrollbar = this
|
|
141
|
+
|
|
142
|
+
const yOpts = ($xeScrollbar as any).computeYOpts as VxeScrollbarPropTypes.YConfig
|
|
143
|
+
return yOpts.width
|
|
144
|
+
},
|
|
145
|
+
computeXVisible () {
|
|
146
|
+
const $xeScrollbar = this
|
|
147
|
+
const props = $xeScrollbar
|
|
148
|
+
|
|
149
|
+
const { visible } = props
|
|
150
|
+
const xOpts = ($xeScrollbar as any).computeXOpts as VxeScrollbarPropTypes.XConfig
|
|
151
|
+
return getDefaultConfig(xOpts.visible, visible)
|
|
152
|
+
},
|
|
153
|
+
computeYVisible () {
|
|
154
|
+
const $xeScrollbar = this
|
|
155
|
+
const props = $xeScrollbar
|
|
156
|
+
|
|
157
|
+
const { visible } = props
|
|
158
|
+
const yOpts = ($xeScrollbar as any).computeYOpts as VxeScrollbarPropTypes.YConfig
|
|
159
|
+
return getDefaultConfig(yOpts.visible, visible)
|
|
160
|
+
},
|
|
161
|
+
computeXAutoHide () {
|
|
162
|
+
const $xeScrollbar = this
|
|
163
|
+
const props = $xeScrollbar
|
|
164
|
+
|
|
165
|
+
const { autoHide } = props
|
|
166
|
+
const xOpts = ($xeScrollbar as any).computeXOpts as VxeScrollbarPropTypes.XConfig
|
|
167
|
+
return getDefaultConfig(xOpts.autoHide, autoHide)
|
|
168
|
+
},
|
|
169
|
+
computeYAutoHide () {
|
|
170
|
+
const $xeScrollbar = this
|
|
171
|
+
const props = $xeScrollbar
|
|
172
|
+
|
|
173
|
+
const { autoHide } = props
|
|
174
|
+
const yOpts = ($xeScrollbar as any).computeYOpts as VxeScrollbarPropTypes.YConfig
|
|
175
|
+
return getDefaultConfig(yOpts.autoHide, autoHide)
|
|
176
|
+
},
|
|
124
177
|
computeWrapperClss () {
|
|
125
178
|
const $xeScrollbar = this
|
|
126
179
|
const props = $xeScrollbar
|
|
@@ -128,22 +181,24 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
128
181
|
|
|
129
182
|
const { native, className, padding } = props
|
|
130
183
|
const { yThumbHeight, xThumbWidth } = reactData
|
|
131
|
-
const xOpts = ($xeScrollbar as any).computeXOpts as VxeScrollbarPropTypes.XConfig
|
|
132
|
-
const yOpts = ($xeScrollbar as any).computeYOpts as VxeScrollbarPropTypes.YConfig
|
|
133
184
|
const xToTop = ($xeScrollbar as any).computeXToTop as boolean
|
|
134
185
|
const yToLeft = ($xeScrollbar as any).computeYToLeft as boolean
|
|
186
|
+
const xVisible = ($xeScrollbar as any).computeXVisible
|
|
187
|
+
const yVisible = ($xeScrollbar as any).computeYVisible
|
|
188
|
+
const xAutoHide = ($xeScrollbar as any).computeXAutoHide
|
|
189
|
+
const yAutoHide = ($xeScrollbar as any).computeYAutoHide
|
|
135
190
|
return domUtils.buildClass([
|
|
136
191
|
'vxe-scrollbar',
|
|
137
|
-
`ov-x--${
|
|
138
|
-
`ov-y--${
|
|
192
|
+
`ov-x--${xVisible === false ? 'hidden' : 'visible'}`,
|
|
193
|
+
`ov-y--${yVisible === false ? 'hidden' : 'visible'}`,
|
|
139
194
|
`sx-pos--${xToTop ? 'top' : 'bottom'}`,
|
|
140
195
|
`sy-pos--${yToLeft ? 'left' : 'right'}`,
|
|
141
196
|
native ? 'is--native' : 'is--virtual',
|
|
142
197
|
className
|
|
143
198
|
], {
|
|
144
199
|
'is--padding': padding,
|
|
145
|
-
'ov-x--auto-hide':
|
|
146
|
-
'ov-y--auto-hide':
|
|
200
|
+
'ov-x--auto-hide': xAutoHide,
|
|
201
|
+
'ov-y--auto-hide': yAutoHide,
|
|
147
202
|
'overflow-y': yThumbHeight,
|
|
148
203
|
'overflow-x': xThumbWidth
|
|
149
204
|
})
|
|
@@ -540,13 +595,13 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
540
595
|
const props = $xeScrollbar
|
|
541
596
|
const slots = $xeScrollbar.$scopedSlots
|
|
542
597
|
|
|
543
|
-
const { id, native, loading, viewAttrs } = props
|
|
598
|
+
const { id, native, loading, viewId, viewAttrs } = props
|
|
544
599
|
const wrapperStyle = $xeScrollbar.computeWrapperStyle
|
|
545
600
|
const wrapperClss = $xeScrollbar.computeWrapperClss
|
|
546
601
|
const viewClss = $xeScrollbar.computeViewClss
|
|
547
602
|
const viewInnerClss = $xeScrollbar.computeViewInnerClss
|
|
548
|
-
const
|
|
549
|
-
const
|
|
603
|
+
const xVisible = $xeScrollbar.computeXVisible
|
|
604
|
+
const yVisible = $xeScrollbar.computeYVisible
|
|
550
605
|
const defaultSlot = slots.default
|
|
551
606
|
return h('div', {
|
|
552
607
|
ref: 'refElem',
|
|
@@ -559,7 +614,10 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
559
614
|
h('div', {
|
|
560
615
|
ref: 'refViewElem',
|
|
561
616
|
class: viewClss,
|
|
562
|
-
attrs:
|
|
617
|
+
attrs: {
|
|
618
|
+
id: viewId || null,
|
|
619
|
+
...viewAttrs
|
|
620
|
+
},
|
|
563
621
|
on: {
|
|
564
622
|
scroll: $xeScrollbar.scrollEvent
|
|
565
623
|
}
|
|
@@ -570,7 +628,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
570
628
|
class: viewInnerClss
|
|
571
629
|
}, defaultSlot ? defaultSlot({}) : [])
|
|
572
630
|
]),
|
|
573
|
-
native ||
|
|
631
|
+
native || xVisible === false
|
|
574
632
|
? renderEmptyElement($xeScrollbar)
|
|
575
633
|
: h('div', {
|
|
576
634
|
ref: 'refTrackXElem',
|
|
@@ -591,7 +649,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
591
649
|
}
|
|
592
650
|
})
|
|
593
651
|
]),
|
|
594
|
-
native ||
|
|
652
|
+
native || yVisible === false
|
|
595
653
|
? renderEmptyElement($xeScrollbar)
|
|
596
654
|
: h('div', {
|
|
597
655
|
ref: 'refTrackYElem',
|
|
@@ -662,6 +720,30 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
662
720
|
|
|
663
721
|
$xeScrollbar.reFlag++
|
|
664
722
|
},
|
|
723
|
+
computeYWidth () {
|
|
724
|
+
const $xeScrollbar = this
|
|
725
|
+
|
|
726
|
+
$xeScrollbar.reFlag++
|
|
727
|
+
},
|
|
728
|
+
computeXHeight () {
|
|
729
|
+
const $xeScrollbar = this
|
|
730
|
+
|
|
731
|
+
$xeScrollbar.reFlag++
|
|
732
|
+
},
|
|
733
|
+
computeXVisible () {
|
|
734
|
+
const $xeScrollbar = this
|
|
735
|
+
|
|
736
|
+
$xeScrollbar.$nextTick(() => {
|
|
737
|
+
$xeScrollbar.reFlag++
|
|
738
|
+
})
|
|
739
|
+
},
|
|
740
|
+
computeYVisible () {
|
|
741
|
+
const $xeScrollbar = this
|
|
742
|
+
|
|
743
|
+
$xeScrollbar.$nextTick(() => {
|
|
744
|
+
$xeScrollbar.reFlag++
|
|
745
|
+
})
|
|
746
|
+
},
|
|
665
747
|
reFlag () {
|
|
666
748
|
const $xeScrollbar = this
|
|
667
749
|
|
|
@@ -4,7 +4,7 @@ import XEUtils from 'xe-utils'
|
|
|
4
4
|
import { createEvent, getConfig, getIcon, globalEvents, globalMixins, permission, renderEmptyElement } from '../../ui'
|
|
5
5
|
import { getSlotVNs } from '../../ui/src/vn'
|
|
6
6
|
import { toCssUnit, addClass, removeClass } from '../../ui/src/dom'
|
|
7
|
-
import { isEnableConf } from '../../ui/src/utils'
|
|
7
|
+
import { getDefaultConfig, isEnableConf } from '../../ui/src/utils'
|
|
8
8
|
import { createComponentLog } from '../../ui/src/log'
|
|
9
9
|
import VxeLoadingComponent from '../../loading'
|
|
10
10
|
import VxeScrollbarComponent from '../../scrollbar'
|
|
@@ -58,7 +58,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
58
58
|
},
|
|
59
59
|
useScrollbar: {
|
|
60
60
|
type: Boolean as PropType<VxeTabsPropTypes.UseScrollbar>,
|
|
61
|
-
default: () => getConfig().tabs.useScrollbar
|
|
61
|
+
default: () => getDefaultConfig(getConfig().tabs.useScrollbar, getConfig().useScrollbar)
|
|
62
62
|
},
|
|
63
63
|
scrollbarConfig: Object as PropType<VxeTabsPropTypes.ScrollbarConfig>,
|
|
64
64
|
// 已废弃
|
|
@@ -193,6 +193,24 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
193
193
|
const props = $xeTabs
|
|
194
194
|
|
|
195
195
|
return Object.assign({}, getConfig().tabs.scrollbarConfig, props.scrollbarConfig)
|
|
196
|
+
},
|
|
197
|
+
computeScrollbarProps () {
|
|
198
|
+
const $xeTabs = this
|
|
199
|
+
|
|
200
|
+
const scrollbarOpts = $xeTabs.computeScrollbarOpts as VxeTabsPropTypes.ScrollbarConfig
|
|
201
|
+
const { viewClassName, viewInnerClassName } = scrollbarOpts
|
|
202
|
+
return {
|
|
203
|
+
width: scrollbarOpts.width,
|
|
204
|
+
height: scrollbarOpts.height,
|
|
205
|
+
autoHide: scrollbarOpts.autoHide,
|
|
206
|
+
visible: scrollbarOpts.visible,
|
|
207
|
+
xConfig: scrollbarOpts.xConfig,
|
|
208
|
+
yConfig: scrollbarOpts.yConfig,
|
|
209
|
+
className: scrollbarOpts.className,
|
|
210
|
+
viewAttrs: scrollbarOpts.viewAttrs,
|
|
211
|
+
viewClassName: 'vxe-tabs-pane--scrollbar-item-view' + (viewClassName ? (' ' + viewClassName) : ''),
|
|
212
|
+
viewInnerClassName: 'vxe-tabs-pane--scrollbar-item-inner' + (viewClassName ? (' ' + viewInnerClassName) : '')
|
|
213
|
+
}
|
|
196
214
|
}
|
|
197
215
|
},
|
|
198
216
|
methods: {
|
|
@@ -840,8 +858,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
840
858
|
const { initNames, activeName } = reactData
|
|
841
859
|
const { name, slots } = item
|
|
842
860
|
const defaultSlot = slots ? slots.default : null
|
|
843
|
-
const
|
|
844
|
-
const { viewClassName, viewInnerClassName } = scrollbarOpts
|
|
861
|
+
const scrollbarProps = $xeTabs.computeScrollbarProps
|
|
845
862
|
if (name && initNames.includes(name)) {
|
|
846
863
|
return useScrollbar
|
|
847
864
|
? h(VxeScrollbarComponent, {
|
|
@@ -849,11 +866,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
849
866
|
class: ['vxe-tabs-pane--scrollbar-item', {
|
|
850
867
|
'is--visible': activeName === name
|
|
851
868
|
}],
|
|
852
|
-
props:
|
|
853
|
-
...scrollbarOpts,
|
|
854
|
-
viewClassName: 'vxe-tabs-pane--scrollbar-item-view' + (viewClassName ? (' ' + viewClassName) : ''),
|
|
855
|
-
viewInnerClassName: 'vxe-tabs-pane--scrollbar-item-inner' + (viewClassName ? (' ' + viewInnerClassName) : '')
|
|
856
|
-
},
|
|
869
|
+
props: scrollbarProps,
|
|
857
870
|
scopedSlots: {
|
|
858
871
|
default: () => defaultSlot ? $xeTabs.callSlot(defaultSlot, { name }, h) : []
|
|
859
872
|
}
|