File tree 4 files changed +21
-6
lines changed
4 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue3-hive-ui-kit" ,
3
3
"private" : false ,
4
- "version" : " 0.7.4 " ,
4
+ "version" : " 0.7.5 " ,
5
5
"type" : " module" ,
6
6
"description" : " UI kit for Vue 3" ,
7
7
"files" : [
Original file line number Diff line number Diff line change @@ -104,6 +104,8 @@ export const useListMethods = ({
104
104
const expand = ( ) => {
105
105
isExpanded . value = true ;
106
106
107
+ setFirstActiveValue ( ) ;
108
+
107
109
if ( currentValue . value && ! Array . isArray ( currentValue . value ) ) {
108
110
activeValue . value = currentValue . value ;
109
111
}
Original file line number Diff line number Diff line change @@ -237,15 +237,15 @@ const optionsObject = {
237
237
238
238
const maritalStatusList = ref ([
239
239
{
240
- id: 0 ,
240
+ id: 1 ,
241
241
title: ' холост' ,
242
242
},
243
243
{
244
- id: 1 ,
244
+ id: 2 ,
245
245
title: ' женат' ,
246
246
},
247
247
{
248
- id: 2 ,
248
+ id: 3 ,
249
249
title: ' женат2' ,
250
250
},
251
251
]);
@@ -823,7 +823,7 @@ const optionsObject1 = {
823
823
</widget-wrapper >
824
824
<widget-wrapper title =" Multiselect" >
825
825
{{ checkbox }}
826
- <!-- < hive-multiselect :options="a " v-model="store" with-null /> -- >
826
+ <hive-multiselect :options =" maritalStatusList " v-model =" multiselect " title-field = " title " value-field = " id " / >
827
827
<hive-textarea v-model =" text" resize-direction =" both" :style =" { width: '300px' }" disabled />
828
828
</widget-wrapper >
829
829
<widget-wrapper title =" Autocompelte" >
Original file line number Diff line number Diff line change @@ -36,6 +36,15 @@ import type { HiveUploadFilesType } from './components/hive-upload-file/hive-upl
36
36
37
37
import '@/assets/variables.scss' ;
38
38
39
+ /* import the fontawesome core */
40
+ import { library } from '@fortawesome/fontawesome-svg-core' ;
41
+
42
+ /* import font awesome icon component */
43
+ import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' ;
44
+
45
+ /* import specific icons */
46
+ import { faSearch , faXmark } from '@fortawesome/free-solid-svg-icons' ;
47
+
39
48
export {
40
49
HiveAutocomplete ,
41
50
HiveBadge ,
@@ -66,6 +75,10 @@ export {
66
75
Notification ,
67
76
notify ,
68
77
useNotification ,
78
+ library ,
79
+ FontAwesomeIcon ,
80
+ faSearch ,
81
+ faXmark ,
69
82
} ;
70
83
71
84
export type {
@@ -81,4 +94,4 @@ export type {
81
94
ChoosenNode ,
82
95
TreeImg ,
83
96
HiveUploadFilesType ,
84
- }
97
+ } ;
You can’t perform that action at this time.
0 commit comments