goodteditor-ui 1.0.36 → 1.0.37
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 -4
package/package.json
CHANGED
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
class="w-100 pull-left"
|
|
101
101
|
@click.native.stop
|
|
102
102
|
@select-option="onDatalistSelectOption"
|
|
103
|
-
v-bind="{ size, options }"
|
|
103
|
+
v-bind="{ size, options, class: datalistCssClass }"
|
|
104
104
|
:cursorIndex.sync="dataListCursorIndex"
|
|
105
105
|
ref="datalist"
|
|
106
106
|
>
|
|
@@ -155,18 +155,18 @@
|
|
|
155
155
|
<div class="col col-vmid text-truncate">
|
|
156
156
|
<div
|
|
157
157
|
class="text-truncate"
|
|
158
|
-
style="min-height: calc(var(--line-height)*1em)"
|
|
158
|
+
style="min-height: calc(var(--line-height) * 1em)"
|
|
159
159
|
>
|
|
160
160
|
{{ getOptionLabel(option) }}
|
|
161
161
|
</div>
|
|
162
162
|
</div>
|
|
163
163
|
<div class="col col-auto col-vmid" v-if="isOptionSelected(option)">
|
|
164
|
-
<i class="mdi mdi-check" style="line-height:1"></i>
|
|
164
|
+
<i class="mdi mdi-check" style="line-height: 1"></i>
|
|
165
165
|
</div>
|
|
166
166
|
</div>
|
|
167
167
|
<div
|
|
168
168
|
class="text-truncate"
|
|
169
|
-
style="min-height: calc(var(--line-height)*1rem)"
|
|
169
|
+
style="min-height: calc(var(--line-height) * 1rem)"
|
|
170
170
|
v-else
|
|
171
171
|
>
|
|
172
172
|
{{ getOptionLabel(option) }}
|
|
@@ -238,6 +238,13 @@ export default {
|
|
|
238
238
|
return [];
|
|
239
239
|
},
|
|
240
240
|
},
|
|
241
|
+
/**
|
|
242
|
+
* Datalist css classes (optional)
|
|
243
|
+
*/
|
|
244
|
+
datalistCssClass: {
|
|
245
|
+
type: [String, Array],
|
|
246
|
+
default: '',
|
|
247
|
+
},
|
|
241
248
|
/**
|
|
242
249
|
* Allow multiple selection
|
|
243
250
|
*/
|