classcard-ui 0.2.338 → 0.2.339
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/classcard-ui.common.js +62 -89
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +62 -89
- package/dist/classcard-ui.umd.js.map +1 -1
- package/dist/classcard-ui.umd.min.js +1 -1
- package/dist/classcard-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CMultiselect/CMultiselect.vue +5 -26
package/package.json
CHANGED
|
@@ -96,27 +96,7 @@
|
|
|
96
96
|
</template>
|
|
97
97
|
<template #list-footer>
|
|
98
98
|
<li ref="load" class="loader" v-show="hasNextPage">
|
|
99
|
-
|
|
100
|
-
class="h-5 w-5 animate-spin text-gray-400"
|
|
101
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
102
|
-
fill="none"
|
|
103
|
-
viewBox="0 0 24 24"
|
|
104
|
-
v-if="loading"
|
|
105
|
-
>
|
|
106
|
-
<circle
|
|
107
|
-
class="opacity-25"
|
|
108
|
-
cx="12"
|
|
109
|
-
cy="12"
|
|
110
|
-
r="10"
|
|
111
|
-
stroke="currentColor"
|
|
112
|
-
stroke-width="4"
|
|
113
|
-
></circle>
|
|
114
|
-
<path
|
|
115
|
-
class="opacity-75"
|
|
116
|
-
fill="currentColor"
|
|
117
|
-
d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
118
|
-
></path>
|
|
119
|
-
</svg>
|
|
99
|
+
Loading more options...
|
|
120
100
|
</li>
|
|
121
101
|
</template>
|
|
122
102
|
</v-select>
|
|
@@ -247,13 +227,12 @@ export default {
|
|
|
247
227
|
if (isIntersecting) {
|
|
248
228
|
const ul = target.offsetParent;
|
|
249
229
|
const scrollTop = target.offsetParent.scrollTop;
|
|
250
|
-
this.emitLoadNextPage();
|
|
251
|
-
|
|
252
|
-
ul.scrollTop = scrollTop;
|
|
230
|
+
this.emitLoadNextPage(ul, scrollTop);
|
|
231
|
+
this.scrollTop = scrollTop;
|
|
253
232
|
}
|
|
254
233
|
},
|
|
255
|
-
emitLoadNextPage: debounce(function () {
|
|
256
|
-
this.$emit("loadNextPage");
|
|
234
|
+
emitLoadNextPage: debounce(function (ul, scrollTop) {
|
|
235
|
+
this.$emit("loadNextPage", ul, scrollTop);
|
|
257
236
|
}, 300),
|
|
258
237
|
},
|
|
259
238
|
watch: {
|