@opentiny/vue-dynamic-scroller 2.20.0 → 2.21.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 CHANGED
@@ -2,8 +2,7 @@ function _extends() {
2
2
  return _extends = Object.assign ? Object.assign.bind() : function(n) {
3
3
  for (var e = 1; e < arguments.length; e++) {
4
4
  var t = arguments[e];
5
- for (var r in t)
6
- ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
5
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
7
6
  }
8
7
  return n;
9
8
  }, _extends.apply(null, arguments);
@@ -55,7 +54,7 @@ var DynamicScroller = defineComponent({
55
54
  });
56
55
  }
57
56
  });
58
- var version = "2.20.0";
57
+ var version = "2.21.0";
59
58
  DynamicScroller.IdState = RecycleScroller.IdState;
60
59
  DynamicScroller.install = function(Vue) {
61
60
  Vue.component(DynamicScroller.name, DynamicScroller);
package/lib/pc.js CHANGED
@@ -9,33 +9,9 @@ function normalizeComponent(scriptExports, render, staticRenderFns, functionalTe
9
9
  options.staticRenderFns = staticRenderFns;
10
10
  options._compiled = true;
11
11
  }
12
- if (functionalTemplate) {
13
- options.functional = true;
14
- }
15
- if (scopeId) {
16
- options._scopeId = "data-v-" + scopeId;
17
- }
18
12
  var hook;
19
- if (moduleIdentifier) {
20
- hook = function hook2(context) {
21
- context = context || // cached call
22
- this.$vnode && this.$vnode.ssrContext || // stateful
23
- this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
24
- if (!context && typeof __VUE_SSR_CONTEXT__ !== "undefined") {
25
- context = __VUE_SSR_CONTEXT__;
26
- }
27
- if (injectStyles) {
28
- injectStyles.call(this, context);
29
- }
30
- if (context && context._registeredComponents) {
31
- context._registeredComponents.add(moduleIdentifier);
32
- }
33
- };
34
- options._ssrRegister = hook;
35
- } else if (injectStyles) {
36
- hook = shadowMode ? function() {
37
- injectStyles.call(this, (options.functional ? this.parent : this).$root.$options.shadowRoot);
38
- } : injectStyles;
13
+ if (injectStyles) {
14
+ hook = injectStyles;
39
15
  }
40
16
  if (hook) {
41
17
  if (options.functional) {
@@ -128,7 +104,7 @@ var render = function render2() {
128
104
  };
129
105
  var staticRenderFns = [];
130
106
  var __cssModules = {};
131
- var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles, null, null, null);
107
+ var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles);
132
108
  function __vue2_injectStyles(context) {
133
109
  for (var o in __cssModules) {
134
110
  this[o] = __cssModules[o];
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@opentiny/vue-dynamic-scroller",
3
- "version": "2.20.0",
3
+ "version": "2.21.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": "~2.20.0",
11
- "@opentiny/vue-renderless": "~3.20.0",
12
- "@opentiny/vue-recycle-scroller": "~2.20.0"
10
+ "@opentiny/vue-common": "~2.21.0",
11
+ "@opentiny/vue-renderless": "~3.21.0",
12
+ "@opentiny/vue-recycle-scroller": "~2.21.0"
13
13
  },
14
14
  "license": "MIT",
15
15
  "types": "index.d.ts"