@bubblesjs/vue-infinite-scroll 0.0.4 → 0.0.6
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.d.ts +2 -4
- package/dist/index.js +3 -7
- package/dist/{index.css → style.css} +0 -1
- package/package.json +13 -12
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as vue0 from "vue";
|
|
2
|
-
|
|
3
1
|
//#region src/InfiniteScoll.vue.d.ts
|
|
4
2
|
type __VLS_Props = {
|
|
5
3
|
animationTime?: number;
|
|
@@ -8,9 +6,9 @@ declare var __VLS_1: {};
|
|
|
8
6
|
type __VLS_Slots = {} & {
|
|
9
7
|
default?: (props: typeof __VLS_1) => any;
|
|
10
8
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
10
|
animationTime: number;
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
13
|
declare const _default: typeof __VLS_export;
|
|
16
14
|
type __VLS_WithSlots<T, S> = T & {
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { createElementBlock, createElementVNode, defineComponent, nextTick, normalizeStyle, openBlock, ref, renderSlot, useSlots, useTemplateRef, watch } from "vue";
|
|
2
|
-
|
|
3
2
|
//#region src/InfiniteScoll.vue?vue&type=script&setup=true&lang.ts
|
|
4
3
|
const _hoisted_1 = { class: "warper" };
|
|
5
|
-
var InfiniteScoll_vue_vue_type_script_setup_true_lang_default =
|
|
4
|
+
var InfiniteScoll_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
6
5
|
__name: "InfiniteScoll",
|
|
7
6
|
props: { animationTime: {
|
|
8
7
|
type: Number,
|
|
@@ -54,7 +53,6 @@ var InfiniteScoll_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
54
53
|
};
|
|
55
54
|
}
|
|
56
55
|
});
|
|
57
|
-
|
|
58
56
|
//#endregion
|
|
59
57
|
//#region \0plugin-vue:export-helper
|
|
60
58
|
var _plugin_vue_export_helper_default = (sfc, props) => {
|
|
@@ -62,10 +60,8 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
|
|
|
62
60
|
for (const [key, val] of props) target[key] = val;
|
|
63
61
|
return target;
|
|
64
62
|
};
|
|
65
|
-
|
|
66
63
|
//#endregion
|
|
67
64
|
//#region src/InfiniteScoll.vue
|
|
68
|
-
var InfiniteScoll_default =
|
|
69
|
-
|
|
65
|
+
var InfiniteScoll_default = /*#__PURE__*/ _plugin_vue_export_helper_default(InfiniteScoll_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-e9fa5fec"]]);
|
|
70
66
|
//#endregion
|
|
71
|
-
export { InfiniteScoll_default as InfiniteScoll };
|
|
67
|
+
export { InfiniteScoll_default as InfiniteScoll };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bubblesjs/vue-infinite-scroll",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.6",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "A scroll-infinite for a Vue3 component.",
|
|
7
7
|
"author": "bubblesplant<435012357@qq.com>",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"dist"
|
|
26
26
|
],
|
|
27
27
|
"publishConfig": {
|
|
28
|
-
"access": "public"
|
|
28
|
+
"access": "public",
|
|
29
|
+
"registry": "https://registry.npmjs.org/"
|
|
29
30
|
},
|
|
30
31
|
"peerDependencies": {
|
|
31
32
|
"vue": "^3.0.0"
|
|
@@ -35,24 +36,24 @@
|
|
|
35
36
|
"@types/node": "^24.10.1",
|
|
36
37
|
"@unocss/eslint-plugin": "^66.5.10",
|
|
37
38
|
"@vitejs/plugin-vue": "^6.0.2",
|
|
38
|
-
"@vitest/browser-playwright": "
|
|
39
|
+
"@vitest/browser-playwright": "4.1.10",
|
|
39
40
|
"bumpp": "^10.3.2",
|
|
40
41
|
"eslint": "^9.39.2",
|
|
41
42
|
"eslint-plugin-format": "^1.1.0",
|
|
42
43
|
"playwright": "^1.57.0",
|
|
43
|
-
"tsdown": "^0.18.2",
|
|
44
44
|
"typescript": "^5.9.3",
|
|
45
|
-
"vite": "
|
|
46
|
-
"vitest": "
|
|
45
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.2.4",
|
|
46
|
+
"vitest": "4.1.10",
|
|
47
47
|
"vitest-browser-vue": "^2.0.1",
|
|
48
|
-
"vue": "^3.5.
|
|
49
|
-
"vue-tsc": "^3.1.6"
|
|
48
|
+
"vue": "^3.5.38",
|
|
49
|
+
"vue-tsc": "^3.1.6",
|
|
50
|
+
"vite-plus": "0.2.4"
|
|
50
51
|
},
|
|
51
52
|
"scripts": {
|
|
52
|
-
"build": "
|
|
53
|
-
"dev": "
|
|
54
|
-
"play": "
|
|
55
|
-
"test": "
|
|
53
|
+
"build": "vp pack",
|
|
54
|
+
"dev": "vp pack --watch",
|
|
55
|
+
"play": "vp dev",
|
|
56
|
+
"test": "vp test",
|
|
56
57
|
"typecheck": "vue-tsc --noEmit",
|
|
57
58
|
"release": "bumpp && pnpm publish"
|
|
58
59
|
}
|