@opentiny/vue-dynamic-scroller 3.13.0 → 3.15.0
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/lib/index.js +1 -1
- package/lib/pc.js +16 -16
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -59,7 +59,7 @@ var DynamicScroller = defineComponent({
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
|
-
var version = "3.
|
|
62
|
+
var version = "3.15.0";
|
|
63
63
|
DynamicScroller.IdState = RecycleScroller.IdState;
|
|
64
64
|
DynamicScroller.install = function(Vue) {
|
|
65
65
|
Vue.component(DynamicScroller.name, DynamicScroller);
|
package/lib/pc.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { renderless, api } from
|
|
2
|
-
import { defineComponent, props, setup
|
|
3
|
-
import RecycleScroller from
|
|
4
|
-
import { resolveComponent, openBlock, createBlock, mergeProps, withCtx, renderSlot, normalizeProps, guardReactiveProps } from
|
|
5
|
-
|
|
1
|
+
import { renderless, api } from '@opentiny/vue-renderless/dynamic-scroller/vue';
|
|
2
|
+
import { defineComponent, props, setup, emitter } from '@opentiny/vue-common';
|
|
3
|
+
import RecycleScroller from '@opentiny/vue-recycle-scroller';
|
|
4
|
+
import { resolveComponent, openBlock, createBlock, mergeProps, withCtx, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
|
|
5
|
+
|
|
6
|
+
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
6
7
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
7
8
|
if (it)
|
|
8
9
|
return (it = it.call(o)).next.bind(it);
|
|
9
|
-
if (Array.isArray(o) || (it =
|
|
10
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
10
11
|
if (it)
|
|
11
12
|
o = it;
|
|
12
13
|
var i = 0;
|
|
@@ -18,20 +19,20 @@ function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
|
|
|
18
19
|
}
|
|
19
20
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
20
21
|
}
|
|
21
|
-
function
|
|
22
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
22
23
|
if (!o)
|
|
23
24
|
return;
|
|
24
25
|
if (typeof o === "string")
|
|
25
|
-
return
|
|
26
|
+
return _arrayLikeToArray(o, minLen);
|
|
26
27
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
27
28
|
if (n === "Object" && o.constructor)
|
|
28
29
|
n = o.constructor.name;
|
|
29
30
|
if (n === "Map" || n === "Set")
|
|
30
31
|
return Array.from(o);
|
|
31
32
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
32
|
-
return
|
|
33
|
+
return _arrayLikeToArray(o, minLen);
|
|
33
34
|
}
|
|
34
|
-
function
|
|
35
|
+
function _arrayLikeToArray(arr, len) {
|
|
35
36
|
if (len == null || len > arr.length)
|
|
36
37
|
len = arr.length;
|
|
37
38
|
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
@@ -40,7 +41,7 @@ function _arrayLikeToArray_tiny(arr, len) {
|
|
|
40
41
|
}
|
|
41
42
|
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
42
43
|
var target = sfc.__vccOpts || sfc;
|
|
43
|
-
for (var _iterator =
|
|
44
|
+
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
44
45
|
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
45
46
|
target[key] = val;
|
|
46
47
|
}
|
|
@@ -54,8 +55,8 @@ var _sfc_main = defineComponent({
|
|
|
54
55
|
components: {
|
|
55
56
|
TinyRecycleScroller: RecycleScroller
|
|
56
57
|
},
|
|
57
|
-
setup: function setup(props2, context) {
|
|
58
|
-
return
|
|
58
|
+
setup: function setup$1(props2, context) {
|
|
59
|
+
return setup({
|
|
59
60
|
props: props2,
|
|
60
61
|
context,
|
|
61
62
|
renderless,
|
|
@@ -104,6 +105,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
104
105
|
}, 16, ["items", "min-item-size", "direction", "key-field", "list-tag", "item-tag", "onResize", "onVisible"]);
|
|
105
106
|
}
|
|
106
107
|
var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
};
|
|
108
|
+
|
|
109
|
+
export { pc as default };
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-dynamic-scroller",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"type": "module",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@opentiny/vue-common": "~3.
|
|
11
|
-
"@opentiny/vue-renderless": "~3.
|
|
12
|
-
"@opentiny/vue-recycle-scroller": "~3.
|
|
10
|
+
"@opentiny/vue-common": "~3.15.0",
|
|
11
|
+
"@opentiny/vue-renderless": "~3.15.0",
|
|
12
|
+
"@opentiny/vue-recycle-scroller": "~3.15.0"
|
|
13
13
|
},
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"types": "index.d.ts"
|