quasar-ui-sellmate-ui-kit 1.9.2 → 1.9.4
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/dist/index.css +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.rtl.css +1 -1
- package/dist/index.rtl.min.css +1 -1
- package/package.json +1 -1
- package/src/components/SSelectSearchAutoComplete.vue +16 -4
- package/dist/index.common.js +0 -6
- package/dist/index.esm.js +0 -6
- package/dist/index.umd.js +0 -6427
- package/dist/index.umd.min.js +0 -6
package/dist/index.css
CHANGED
package/dist/index.min.css
CHANGED
package/dist/index.rtl.css
CHANGED
package/dist/index.rtl.min.css
CHANGED
package/package.json
CHANGED
|
@@ -7,7 +7,10 @@
|
|
|
7
7
|
<template v-if="!isSelect && isSearchAutoComplete">
|
|
8
8
|
<div class="q-mt-xs s-select-search-auto-complete-options-wrapper">
|
|
9
9
|
<q-item v-for="options in filteredOptions" :key="options.value" class="select-items full-height q-pa-none items-center">
|
|
10
|
-
<span @click="selectOption(options)" class="full-width">{{ options.label }}</span>
|
|
10
|
+
<!-- <span @click="selectOption(options)" class="full-width">{{ options.label }}</span> -->
|
|
11
|
+
<q-item-section>
|
|
12
|
+
<q-item-label @click="selectOption(options)">{{ options.label }}</q-item-label>
|
|
13
|
+
</q-item-section>
|
|
11
14
|
</q-item>
|
|
12
15
|
</div>
|
|
13
16
|
</template>
|
|
@@ -44,14 +47,20 @@
|
|
|
44
47
|
import { defineComponent, ref, watch } from 'vue';
|
|
45
48
|
import {
|
|
46
49
|
QIcon,
|
|
50
|
+
QSelect,
|
|
51
|
+
QItem,
|
|
47
52
|
} from 'quasar';
|
|
48
53
|
import { searchIcon } from '../assets/icons.js';
|
|
54
|
+
import SInput from './SInput';
|
|
49
55
|
|
|
50
56
|
export default defineComponent({
|
|
51
57
|
name: 'SSelectSearchAutoComplete',
|
|
52
58
|
emits: ['selectOption', 'onSearch'],
|
|
53
59
|
components: {
|
|
54
60
|
QIcon,
|
|
61
|
+
QSelect,
|
|
62
|
+
QItem,
|
|
63
|
+
SInput,
|
|
55
64
|
},
|
|
56
65
|
props: {
|
|
57
66
|
options: Array,
|
|
@@ -118,10 +127,13 @@ export default defineComponent({
|
|
|
118
127
|
@import "../css/extends.scss";
|
|
119
128
|
@import "../css/variable.scss";
|
|
120
129
|
.s-select-search-auto-complete-options-wrapper {
|
|
130
|
+
position: absolute;
|
|
131
|
+
background: white;
|
|
132
|
+
cursor: pointer;
|
|
133
|
+
z-index: 1;
|
|
121
134
|
.q-item {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
cursor: pointer
|
|
135
|
+
padding: 12px 8px;
|
|
136
|
+
width: 264px;
|
|
125
137
|
}
|
|
126
138
|
}
|
|
127
139
|
|