vxe-pc-ui 4.9.19 → 4.9.20
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 +11 -2
- package/es/card/style.css +45 -10
- package/es/card/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/list/style.css +13 -0
- package/es/list/style.min.css +1 -1
- package/es/menu/style.css +34 -8
- package/es/menu/style.min.css +1 -1
- package/es/select/style.css +0 -1
- package/es/select/style.min.css +1 -1
- package/es/split/src/split.js +13 -3
- package/es/split/style.css +13 -0
- package/es/split/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tabs/src/tabs.js +10 -1
- package/es/tabs/style.css +78 -16
- package/es/tabs/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/dom.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-card/style.css +45 -10
- package/es/vxe-card/style.min.css +1 -1
- package/es/vxe-list/style.css +13 -0
- package/es/vxe-list/style.min.css +1 -1
- package/es/vxe-menu/style.css +34 -8
- package/es/vxe-menu/style.min.css +1 -1
- package/es/vxe-select/style.css +0 -1
- package/es/vxe-select/style.min.css +1 -1
- package/es/vxe-split/style.css +13 -0
- package/es/vxe-split/style.min.css +1 -1
- package/es/vxe-tabs/style.css +78 -16
- package/es/vxe-tabs/style.min.css +1 -1
- package/lib/card/src/card.js +12 -1
- package/lib/card/src/card.min.js +1 -1
- package/lib/card/style/style.css +45 -10
- package/lib/card/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 +40 -6
- package/lib/index.umd.min.js +1 -1
- package/lib/list/style/style.css +13 -0
- package/lib/list/style/style.min.css +1 -1
- package/lib/menu/style/style.css +34 -8
- package/lib/menu/style/style.min.css +1 -1
- package/lib/select/style/style.css +0 -1
- package/lib/select/style/style.min.css +1 -1
- package/lib/split/src/split.js +14 -2
- package/lib/split/src/split.min.js +1 -1
- package/lib/split/style/style.css +13 -0
- package/lib/split/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tabs/src/tabs.js +11 -0
- package/lib/tabs/src/tabs.min.js +1 -1
- package/lib/tabs/style/style.css +78 -16
- package/lib/tabs/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/dom.js +1 -1
- package/lib/ui/src/dom.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-card/style/style.css +45 -10
- package/lib/vxe-card/style/style.min.css +1 -1
- package/lib/vxe-list/style/style.css +13 -0
- package/lib/vxe-list/style/style.min.css +1 -1
- package/lib/vxe-menu/style/style.css +34 -8
- package/lib/vxe-menu/style/style.min.css +1 -1
- package/lib/vxe-select/style/style.css +0 -1
- package/lib/vxe-select/style/style.min.css +1 -1
- package/lib/vxe-split/style/style.css +13 -0
- package/lib/vxe-split/style/style.min.css +1 -1
- package/lib/vxe-tabs/style/style.css +78 -16
- package/lib/vxe-tabs/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/card/src/card.ts +10 -1
- package/packages/split/src/split.ts +14 -3
- package/packages/tabs/src/tabs.ts +11 -1
- package/packages/ui/src/dom.ts +1 -1
- package/styles/components/card.scss +65 -11
- package/styles/components/list.scss +13 -0
- package/styles/components/menu.scss +35 -8
- package/styles/components/select.scss +0 -2
- package/styles/components/split.scss +13 -0
- package/styles/components/tabs.scss +38 -19
- package/styles/theme/base.scss +9 -3
- package/types/components/card.d.ts +3 -1
- package/types/components/split.d.ts +3 -1
- package/types/components/tabs.d.ts +3 -1
- /package/es/icon/{iconfont.1757242939473.ttf → iconfont.1757386401857.ttf} +0 -0
- /package/es/icon/{iconfont.1757242939473.woff → iconfont.1757386401857.woff} +0 -0
- /package/es/icon/{iconfont.1757242939473.woff2 → iconfont.1757386401857.woff2} +0 -0
- /package/es/{iconfont.1757242939473.ttf → iconfont.1757386401857.ttf} +0 -0
- /package/es/{iconfont.1757242939473.woff → iconfont.1757386401857.woff} +0 -0
- /package/es/{iconfont.1757242939473.woff2 → iconfont.1757386401857.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1757242939473.ttf → iconfont.1757386401857.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1757242939473.woff → iconfont.1757386401857.woff} +0 -0
- /package/lib/icon/style/{iconfont.1757242939473.woff2 → iconfont.1757386401857.woff2} +0 -0
- /package/lib/{iconfont.1757242939473.ttf → iconfont.1757386401857.ttf} +0 -0
- /package/lib/{iconfont.1757242939473.woff → iconfont.1757386401857.woff} +0 -0
- /package/lib/{iconfont.1757242939473.woff2 → iconfont.1757386401857.woff2} +0 -0
|
@@ -10,13 +10,6 @@
|
|
|
10
10
|
&.is--shadow {
|
|
11
11
|
box-shadow: var(--vxe-ui-base-popup-box-shadow);
|
|
12
12
|
}
|
|
13
|
-
&.is--padding {
|
|
14
|
-
.vxe-card--body-content,
|
|
15
|
-
.vxe-card--body-left,
|
|
16
|
-
.vxe-card--body-right {
|
|
17
|
-
padding: var(--vxe-ui-card-padding);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
13
|
&.is--border {
|
|
21
14
|
border: 1px solid var(--vxe-ui-input-border-color);
|
|
22
15
|
.vxe-card--header {
|
|
@@ -35,10 +28,6 @@
|
|
|
35
28
|
.vxe-card--header {
|
|
36
29
|
flex-shrink: 0;
|
|
37
30
|
}
|
|
38
|
-
.vxe-card--header,
|
|
39
|
-
.vxe-card--footer {
|
|
40
|
-
padding: var(--vxe-ui-card-padding);
|
|
41
|
-
}
|
|
42
31
|
.vxe-card--body {
|
|
43
32
|
overflow: hidden;
|
|
44
33
|
flex-grow: 1;
|
|
@@ -66,3 +55,68 @@
|
|
|
66
55
|
white-space: nowrap;
|
|
67
56
|
}
|
|
68
57
|
}
|
|
58
|
+
|
|
59
|
+
.vxe-card {
|
|
60
|
+
font-size: var(--vxe-ui-font-size-default);
|
|
61
|
+
& > .vxe-card--header,
|
|
62
|
+
& > .vxe-card--footer {
|
|
63
|
+
padding: var(--vxe-ui-card-padding-default);
|
|
64
|
+
}
|
|
65
|
+
&.is--padding {
|
|
66
|
+
& > .vxe-card--body {
|
|
67
|
+
.vxe-card--body-content,
|
|
68
|
+
.vxe-card--body-left,
|
|
69
|
+
.vxe-card--body-right {
|
|
70
|
+
padding: var(--vxe-ui-card-padding-default);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
&.size--medium {
|
|
75
|
+
font-size: var(--vxe-ui-font-size-medium);
|
|
76
|
+
& > .vxe-card--header,
|
|
77
|
+
& > .vxe-card--footer {
|
|
78
|
+
padding: var(--vxe-ui-card-padding-medium);
|
|
79
|
+
}
|
|
80
|
+
&.is--padding {
|
|
81
|
+
& > .vxe-card--body {
|
|
82
|
+
.vxe-card--body-content,
|
|
83
|
+
.vxe-card--body-left,
|
|
84
|
+
.vxe-card--body-right {
|
|
85
|
+
padding: var(--vxe-ui-card-padding-medium);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
&.size--small {
|
|
91
|
+
font-size: var(--vxe-ui-font-size-small);
|
|
92
|
+
& > .vxe-card--header,
|
|
93
|
+
& > .vxe-card--footer {
|
|
94
|
+
padding: var(--vxe-ui-card-padding-small);
|
|
95
|
+
}
|
|
96
|
+
&.is--padding {
|
|
97
|
+
& > .vxe-card--body {
|
|
98
|
+
.vxe-card--body-content,
|
|
99
|
+
.vxe-card--body-left,
|
|
100
|
+
.vxe-card--body-right {
|
|
101
|
+
padding: var(--vxe-ui-card-padding-small);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
&.size--mini {
|
|
107
|
+
font-size: var(--vxe-ui-font-size-mini);
|
|
108
|
+
& > .vxe-card--header,
|
|
109
|
+
& > .vxe-card--footer {
|
|
110
|
+
padding: var(--vxe-ui-card-padding-mini);
|
|
111
|
+
}
|
|
112
|
+
&.is--padding {
|
|
113
|
+
& > .vxe-card--body {
|
|
114
|
+
.vxe-card--body-content,
|
|
115
|
+
.vxe-card--body-left,
|
|
116
|
+
.vxe-card--body-right {
|
|
117
|
+
padding: var(--vxe-ui-card-padding-mini);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -25,4 +25,17 @@
|
|
|
25
25
|
|
|
26
26
|
.vxe-list--virtual-wrapper {
|
|
27
27
|
height: 100px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.vxe-list {
|
|
31
|
+
font-size: var(--vxe-ui-font-size-default);
|
|
32
|
+
&.size--medium {
|
|
33
|
+
font-size: var(--vxe-ui-font-size-medium);
|
|
34
|
+
}
|
|
35
|
+
&.size--small {
|
|
36
|
+
font-size: var(--vxe-ui-font-size-small);
|
|
37
|
+
}
|
|
38
|
+
&.size--mini {
|
|
39
|
+
font-size: var(--vxe-ui-font-size-mini);
|
|
40
|
+
}
|
|
28
41
|
}
|
|
@@ -13,9 +13,7 @@
|
|
|
13
13
|
min-height: 4em;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
.vxe-menu
|
|
17
|
-
.vxe-menu--collapse-wrapper {
|
|
18
|
-
font-size: var(--vxe-ui-font-size-default);
|
|
16
|
+
.vxe-menu {
|
|
19
17
|
color: var(--vxe-ui-font-color);
|
|
20
18
|
font-family: var(--vxe-ui-font-family);
|
|
21
19
|
background-color: var(--vxe-ui-layout-background-color);
|
|
@@ -45,7 +43,6 @@
|
|
|
45
43
|
display: flex;
|
|
46
44
|
flex-direction: row;
|
|
47
45
|
align-items: center;
|
|
48
|
-
height: var(--vxe-ui-menu-item-height);
|
|
49
46
|
color: var(--vxe-ui-font-color);
|
|
50
47
|
text-decoration: none;
|
|
51
48
|
user-select: none;
|
|
@@ -96,10 +93,6 @@
|
|
|
96
93
|
}
|
|
97
94
|
}
|
|
98
95
|
|
|
99
|
-
.vxe-menu--item-level3 {
|
|
100
|
-
font-size: 13px;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
96
|
.vxe-menu--item-group {
|
|
104
97
|
display: none;
|
|
105
98
|
}
|
|
@@ -121,3 +114,37 @@
|
|
|
121
114
|
}
|
|
122
115
|
}
|
|
123
116
|
}
|
|
117
|
+
|
|
118
|
+
.vxe-menu--item-level3 {
|
|
119
|
+
font-size: 13px;
|
|
120
|
+
}
|
|
121
|
+
.vxe-menu--item-link {
|
|
122
|
+
height: var(--vxe-ui-menu-item-height-default);
|
|
123
|
+
}
|
|
124
|
+
.vxe-menu {
|
|
125
|
+
font-size: var(--vxe-ui-font-size-default);
|
|
126
|
+
&.size--medium {
|
|
127
|
+
font-size: var(--vxe-ui-font-size-medium);
|
|
128
|
+
.vxe-menu--item-link {
|
|
129
|
+
height: var(--vxe-ui-menu-item-height-medium);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
&.size--small {
|
|
133
|
+
font-size: var(--vxe-ui-font-size-small);
|
|
134
|
+
.vxe-menu--item-link {
|
|
135
|
+
height: var(--vxe-ui-menu-item-height-small);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
&.size--mini {
|
|
139
|
+
font-size: var(--vxe-ui-font-size-mini);
|
|
140
|
+
.vxe-menu--item-link {
|
|
141
|
+
height: var(--vxe-ui-menu-item-height-mini);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
&.size--small,
|
|
145
|
+
&.size--mini {
|
|
146
|
+
.vxe-menu--item-level3 {
|
|
147
|
+
font-size: 12px;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
@@ -299,4 +299,17 @@
|
|
|
299
299
|
& > .vxe-split {
|
|
300
300
|
height: 100%;
|
|
301
301
|
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.vxe-split {
|
|
305
|
+
font-size: var(--vxe-ui-font-size-default);
|
|
306
|
+
&.size--medium {
|
|
307
|
+
font-size: var(--vxe-ui-font-size-medium);
|
|
308
|
+
}
|
|
309
|
+
&.size--small {
|
|
310
|
+
font-size: var(--vxe-ui-font-size-small);
|
|
311
|
+
}
|
|
312
|
+
&.size--mini {
|
|
313
|
+
font-size: var(--vxe-ui-font-size-mini);
|
|
314
|
+
}
|
|
302
315
|
}
|
|
@@ -590,7 +590,6 @@ $scrollbarOffsetSize: 20px;
|
|
|
590
590
|
}
|
|
591
591
|
&.pos--top,
|
|
592
592
|
&.pos--bottom {
|
|
593
|
-
height: var(--vxe-ui-tabs-header-height-default);
|
|
594
593
|
.vxe-tabs-header--item-wrapper {
|
|
595
594
|
flex-direction: row;
|
|
596
595
|
width: 100%;
|
|
@@ -684,21 +683,6 @@ $scrollbarOffsetSize: 20px;
|
|
|
684
683
|
}
|
|
685
684
|
}
|
|
686
685
|
|
|
687
|
-
.vxe-tabs {
|
|
688
|
-
.vxe-tabs-header--item-inner {
|
|
689
|
-
height: var(--vxe-ui-tabs-header-height-default);
|
|
690
|
-
}
|
|
691
|
-
.vxe-tabs-header--active-line {
|
|
692
|
-
&.type--card {
|
|
693
|
-
height: var(--vxe-ui-tabs-header-height-default);
|
|
694
|
-
}
|
|
695
|
-
&.type--border-card {
|
|
696
|
-
height: calc(var(--vxe-ui-tabs-header-height-default) + 1px);
|
|
697
|
-
line-height: calc(var(--vxe-ui-tabs-header-height-default) + 1px);
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
|
|
702
686
|
.vxe-tabs--default,
|
|
703
687
|
.vxe-tabs--card,
|
|
704
688
|
.vxe-tabs--border-card,
|
|
@@ -712,9 +696,44 @@ $scrollbarOffsetSize: 20px;
|
|
|
712
696
|
border-bottom: 2px solid transparent;
|
|
713
697
|
}
|
|
714
698
|
}
|
|
715
|
-
|
|
716
|
-
|
|
699
|
+
|
|
700
|
+
@mixin getTabsSizeStyle ($fontSize, $headHeight) {
|
|
701
|
+
font-size: $fontSize;
|
|
717
702
|
.vxe-tabs-header--item-inner {
|
|
718
|
-
height:
|
|
703
|
+
height: $headHeight;
|
|
704
|
+
}
|
|
705
|
+
.vxe-tabs-header--active-line {
|
|
706
|
+
&.type--card {
|
|
707
|
+
height: $headHeight;
|
|
708
|
+
}
|
|
709
|
+
&.type--border-card {
|
|
710
|
+
height: calc($headHeight + 1px);
|
|
711
|
+
line-height: calc($headHeight + 1px);
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
.vxe-tabs-header--wrapper {
|
|
715
|
+
&.pos--top,
|
|
716
|
+
&.pos--bottom {
|
|
717
|
+
height: $headHeight;
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
.vxe-tabs--card,
|
|
721
|
+
.vxe-tabs--round-card {
|
|
722
|
+
.vxe-tabs-header--item-inner {
|
|
723
|
+
height: calc($headHeight - 1px);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
.vxe-tabs {
|
|
729
|
+
@include getTabsSizeStyle(var(--vxe-ui-font-size-default), var(--vxe-ui-tabs-header-height-default));
|
|
730
|
+
&.size--medium {
|
|
731
|
+
@include getTabsSizeStyle(var(--vxe-ui-font-size-medium), var(--vxe-ui-tabs-header-height-medium));
|
|
732
|
+
}
|
|
733
|
+
&.size--small {
|
|
734
|
+
@include getTabsSizeStyle(var(--vxe-ui-font-size-small), var(--vxe-ui-tabs-header-height-small));
|
|
735
|
+
}
|
|
736
|
+
&.size--mini {
|
|
737
|
+
@include getTabsSizeStyle(var(--vxe-ui-font-size-mini), var(--vxe-ui-tabs-header-height-mini));
|
|
719
738
|
}
|
|
720
739
|
}
|
package/styles/theme/base.scss
CHANGED
|
@@ -30,7 +30,10 @@
|
|
|
30
30
|
--vxe-ui-layout-aside-collapse-width: 60px;
|
|
31
31
|
|
|
32
32
|
/*menu*/
|
|
33
|
-
--vxe-ui-menu-item-height: 44px;
|
|
33
|
+
--vxe-ui-menu-item-height-default: 44px;
|
|
34
|
+
--vxe-ui-menu-item-height-medium: 40px;
|
|
35
|
+
--vxe-ui-menu-item-height-small: 36px;
|
|
36
|
+
--vxe-ui-menu-item-height-mini: 32px;
|
|
34
37
|
--vxe-ui-menu-icon-width: 1.5em;
|
|
35
38
|
|
|
36
39
|
/*button*/
|
|
@@ -160,7 +163,10 @@
|
|
|
160
163
|
--vxe-ui-upload-image-wh-mini: 72px;
|
|
161
164
|
|
|
162
165
|
/*card*/
|
|
163
|
-
--vxe-ui-card-padding: 12px;
|
|
166
|
+
--vxe-ui-card-padding-default: 12px;
|
|
167
|
+
--vxe-ui-card-padding-medium: 10px;
|
|
168
|
+
--vxe-ui-card-padding-small: 8px;
|
|
169
|
+
--vxe-ui-card-padding-mini: 6px;
|
|
164
170
|
|
|
165
171
|
/*tree*/
|
|
166
172
|
--vxe-ui-tree-node-height: 2em;
|
|
@@ -181,7 +187,7 @@
|
|
|
181
187
|
--vxe-ui-calendar-notice-selected-background-color: var(--vxe-ui-calendar-selected-color);
|
|
182
188
|
|
|
183
189
|
/*split*/
|
|
184
|
-
--vxe-ui-split-handle-bar-horizontal-width:
|
|
190
|
+
--vxe-ui-split-handle-bar-horizontal-width: 0.68em;
|
|
185
191
|
--vxe-ui-split-handle-bar-horizontal-height: 6.8em;
|
|
186
192
|
--vxe-ui-split-handle-bar-vertical-width: var(--vxe-ui-split-handle-bar-horizontal-height);
|
|
187
193
|
--vxe-ui-split-handle-bar-vertical-height: var(--vxe-ui-split-handle-bar-horizontal-width);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
2
|
-
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf } from '@vxe-ui/core'
|
|
2
|
+
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf, VxeComponentSizeType } from '@vxe-ui/core'
|
|
3
3
|
|
|
4
4
|
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
5
5
|
|
|
@@ -31,6 +31,7 @@ export namespace VxeCardPropTypes {
|
|
|
31
31
|
export type Loading = boolean
|
|
32
32
|
export type Shadow = boolean
|
|
33
33
|
export type Padding = boolean
|
|
34
|
+
export type Size = VxeComponentSizeType
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
export type VxeCardProps = {
|
|
@@ -42,6 +43,7 @@ export type VxeCardProps = {
|
|
|
42
43
|
loading?: VxeCardPropTypes.Loading
|
|
43
44
|
shadow?: VxeCardPropTypes.Shadow
|
|
44
45
|
padding?: VxeCardPropTypes.Padding
|
|
46
|
+
size?: VxeCardPropTypes.Size
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
export interface CardPrivateComputed {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RenderFunction, SetupContext, Ref, ComputedRef } from 'vue'
|
|
2
|
-
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf } from '@vxe-ui/core'
|
|
2
|
+
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf, VxeComponentSizeType } from '@vxe-ui/core'
|
|
3
3
|
import { VxeSplitPaneProps, VxeSplitPanePropTypes } from './split-pane'
|
|
4
4
|
|
|
5
5
|
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
@@ -24,6 +24,7 @@ export interface SplitPrivateRef {
|
|
|
24
24
|
export interface VxeSplitPrivateRef extends SplitPrivateRef { }
|
|
25
25
|
|
|
26
26
|
export namespace VxeSplitPropTypes {
|
|
27
|
+
export type Size = VxeComponentSizeType
|
|
27
28
|
export type Height = string | number
|
|
28
29
|
export type Width = string | number
|
|
29
30
|
export type Padding = boolean
|
|
@@ -85,6 +86,7 @@ export namespace VxeSplitPropTypes {
|
|
|
85
86
|
}
|
|
86
87
|
|
|
87
88
|
export type VxeSplitProps = {
|
|
89
|
+
size?: VxeSplitPropTypes.Size
|
|
88
90
|
/**
|
|
89
91
|
* 高度
|
|
90
92
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
2
|
-
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf } from '@vxe-ui/core'
|
|
2
|
+
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf, VxeComponentSizeType } from '@vxe-ui/core'
|
|
3
3
|
import { VxeTabPaneProps, VxeTabPaneDefines, VxeTabPanePropTypes } from './tab-pane'
|
|
4
4
|
|
|
5
5
|
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
@@ -25,6 +25,7 @@ export interface VxeTabsPrivateRef extends TabsPrivateRef { }
|
|
|
25
25
|
|
|
26
26
|
export namespace VxeTabsPropTypes {
|
|
27
27
|
export type ModelValue = undefined | null | VxeTabPanePropTypes.Name
|
|
28
|
+
export type Size = VxeComponentSizeType
|
|
28
29
|
export type Options = VxeTabPaneProps[]
|
|
29
30
|
export type DestroyOnClose = boolean
|
|
30
31
|
export type Width = string | number
|
|
@@ -115,6 +116,7 @@ export namespace VxeTabsPropTypes {
|
|
|
115
116
|
|
|
116
117
|
export type VxeTabsProps = {
|
|
117
118
|
modelValue?: VxeTabsPropTypes.ModelValue
|
|
119
|
+
size?: VxeTabsPropTypes.Size
|
|
118
120
|
options?: VxeTabsPropTypes.Options
|
|
119
121
|
destroyOnClose?: VxeTabsPropTypes.DestroyOnClose
|
|
120
122
|
width?: VxeTabsPropTypes.Width
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|