goodteditor-ui 1.0.16 → 1.0.17
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/package.json +1 -1
- package/src/components/ui/Select.vue +11 -10
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<div class="ui-select-label u-select-none">
|
|
11
11
|
<template v-if="multiple">
|
|
12
12
|
<template v-if="optionsSelected.length">
|
|
13
|
-
<!--
|
|
13
|
+
<!--
|
|
14
14
|
@slot Label slot for multiple mode
|
|
15
15
|
@binding {Object} option option
|
|
16
16
|
@binding {any} value option's value
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
</slot>
|
|
42
42
|
</template>
|
|
43
43
|
<div class="ui-select-placeholder events-none" v-else>
|
|
44
|
-
<!--
|
|
44
|
+
<!--
|
|
45
45
|
@slot Placeholder slot
|
|
46
46
|
-->
|
|
47
47
|
<slot name="placeholder">
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
</template>
|
|
52
52
|
|
|
53
53
|
<template v-else>
|
|
54
|
-
<!--
|
|
54
|
+
<!--
|
|
55
55
|
@slot Label slot for single mode
|
|
56
56
|
@binding {Object} option option
|
|
57
57
|
@binding {any} value option's value
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
{{ getOptionLabel(optionsSelected[0]) }}
|
|
70
70
|
</slot>
|
|
71
71
|
<div class="ui-select-placeholder events-none" v-else>
|
|
72
|
-
<!--
|
|
72
|
+
<!--
|
|
73
73
|
@slot Placeholder slot
|
|
74
74
|
-->
|
|
75
75
|
<slot name="placeholder">
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
</div>
|
|
79
79
|
</template>
|
|
80
80
|
</div>
|
|
81
|
-
<!--
|
|
81
|
+
<!--
|
|
82
82
|
@slot Open state icon slot
|
|
83
83
|
-->
|
|
84
84
|
<slot name="icon-open" v-if="popoverShow">
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
<i class="mdi mdi-chevron-up"></i>
|
|
87
87
|
</div>
|
|
88
88
|
</slot>
|
|
89
|
-
<!--
|
|
89
|
+
<!--
|
|
90
90
|
@slot Close state icon slot
|
|
91
91
|
-->
|
|
92
92
|
<slot name="icon-close" v-else>
|
|
@@ -105,13 +105,13 @@
|
|
|
105
105
|
ref="datalist"
|
|
106
106
|
>
|
|
107
107
|
<template #header>
|
|
108
|
-
<!--
|
|
108
|
+
<!--
|
|
109
109
|
@slot Dropdown header slot
|
|
110
110
|
-->
|
|
111
111
|
<slot name="dropdown-header"></slot>
|
|
112
112
|
</template>
|
|
113
113
|
<template #option="{ option, index, cursorIndex }">
|
|
114
|
-
<!--
|
|
114
|
+
<!--
|
|
115
115
|
@slot Label slot for single mode
|
|
116
116
|
@binding {Object} option option
|
|
117
117
|
@binding {any} value option's value
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
@binding {Number} cursorIndex current cursor index
|
|
122
122
|
@binding {Function} selectOption function that selects option
|
|
123
123
|
@binding {Function} deselectOption function that deselects option
|
|
124
|
-
@binding {Function} toggleOption function that toggles option selection
|
|
124
|
+
@binding {Function} toggleOption function that toggles option selection
|
|
125
125
|
@binding {Number} optionIndex option's index
|
|
126
126
|
@binding {Boolean} isOptionSelected option selection status
|
|
127
127
|
-->
|
|
@@ -148,6 +148,7 @@
|
|
|
148
148
|
'bg-grey-lighter': index == cursorIndex,
|
|
149
149
|
}"
|
|
150
150
|
:key="index"
|
|
151
|
+
:title="getOptionLabel(option)"
|
|
151
152
|
@click="toggleOption(option)"
|
|
152
153
|
>
|
|
153
154
|
<div class="row row-collapse" v-if="multiple">
|
|
@@ -174,7 +175,7 @@
|
|
|
174
175
|
</slot>
|
|
175
176
|
</template>
|
|
176
177
|
<template #footer>
|
|
177
|
-
<!--
|
|
178
|
+
<!--
|
|
178
179
|
@slot Dropdown footer slot
|
|
179
180
|
-->
|
|
180
181
|
<slot name="dropdown-footer"></slot>
|