File tree 4 files changed +45
-3
lines changed
components/DropdownMultiselect
4 files changed +45
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sparc-design-system-components-2" ,
3
- "version" : " 0.0.22 " ,
3
+ "version" : " 0.0.23 " ,
4
4
"private" : false ,
5
5
"scripts" : {
6
6
"dev" : " vite" ,
Original file line number Diff line number Diff line change 10
10
<main >
11
11
<el-icon ><Folder /></el-icon >
12
12
13
+ <el-select
14
+ v-model =" month"
15
+ class =" mr-8 month"
16
+ placeholder =" Month"
17
+ >
18
+ <el-option
19
+ v-for =" (month, index) in months"
20
+ :key =" index"
21
+ :label =" month"
22
+ :value =" month"
23
+ />
24
+ </el-select >
25
+ <el-input-number
26
+ v-model =" year"
27
+ controls-position =" right"
28
+ placeholder =" Year"
29
+ :precision =" 0"
30
+ :min =" 2000"
31
+ :max =" 2040"
32
+ disabled
33
+ />
34
+
13
35
<div >
14
36
15
37
<sparc-checkbox
21
43
:display =" item.display"
22
44
/>
23
45
</div >
46
+
24
47
<div >
25
48
<sparc-checkbox
26
49
v-model =" checkboxVal"
1168
1191
' right-center' ,
1169
1192
' right-bottom'
1170
1193
])
1194
+ const months = [
1195
+ ' Jan' ,
1196
+ ' Feb' ,
1197
+ ' Mar' ,
1198
+ ' Apr' ,
1199
+ ' May' ,
1200
+ ' Jun' ,
1201
+ ' Jul' ,
1202
+ ' Aug' ,
1203
+ ' Sep' ,
1204
+ ' Oct' ,
1205
+ ' Nov' ,
1206
+ ' Dec'
1207
+ ]
1171
1208
let value = ref (' ' )
1172
1209
let selectVal = ref ([])
1173
1210
const radioVal = ref (" 1" )
1198
1235
const pageCount = ref (100 )
1199
1236
const selectedPage = ref (3 )
1200
1237
const tabCard = ref (contentTabCard)
1238
+ const month = ref (' Mar' )
1239
+ const year = ref (2020 )
1201
1240
1202
1241
return {
1242
+ months,
1243
+ month,
1244
+ year,
1203
1245
checkboxVal,
1204
1246
checkboxVal2,
1205
1247
checkboxItem,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ $--font-path: '~element-plus/lib/theme-chalk/fonts';
17
17
@import ' ./components/_el-table' ;
18
18
@import ' ./components/_el-dialog' ;
19
19
20
- @import ' ./components/_el-input' ;
20
+ // @import './components/_el-input';
21
21
@import ' ./components/_el-select' ;
22
22
@import ' ./components/_el-popover' ;
23
23
Original file line number Diff line number Diff line change 3
3
<div @click =" onArrowClicked" :class =" showCollapsibleArrow ? 'label-header-clickable' : ''" class =" label-header" >
4
4
<span >
5
5
<span class =" label-title" >{{ label }}</span >
6
- <sparc-tooltip >
6
+ <sparc-tooltip placement = " bottom-center " >
7
7
<template #item >
8
8
<help-icon v-if =" showHelpIcon" class =" ml-4 help-icon" width =" 20" height =" 20" />
9
9
</template >
You can’t perform that action at this time.
0 commit comments