@opentiny/vue-dynamic-scroller 3.9.0 → 3.11.0-alpha.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
@@ -57,7 +57,7 @@ var DynamicScroller = defineComponent({
57
57
  });
58
58
  }
59
59
  });
60
- var version = "5.0.0-mf.0";
60
+ var version = "3.11.0-alpha.0";
61
61
  DynamicScroller.IdState = RecycleScroller.IdState;
62
62
  DynamicScroller.install = function(Vue) {
63
63
  Vue.component(DynamicScroller.name, DynamicScroller);
package/lib/pc.js CHANGED
@@ -2,7 +2,7 @@ import { renderless, api } from "@opentiny/vue-renderless/dynamic-scroller/vue";
2
2
  import { defineComponent, props, setup as _setup, emitter } from "@opentiny/vue-common";
3
3
  import RecycleScroller from "@opentiny/vue-recycle-scroller";
4
4
  import { resolveComponent, openBlock, createBlock, mergeProps, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
5
- function _createForOfIteratorHelperLoose(o, allowArrayLike) {
5
+ function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
6
6
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
7
7
  if (it)
8
8
  return (it = it.call(o)).next.bind(it);
@@ -40,7 +40,7 @@ function _arrayLikeToArray(arr, len) {
40
40
  }
41
41
  var _export_sfc = function _export_sfc2(sfc, props) {
42
42
  var target = sfc.__vccOpts || sfc;
43
- for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
43
+ for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
44
44
  var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
45
45
  target[key] = val;
46
46
  }
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@opentiny/vue-dynamic-scroller",
3
- "version": "3.9.0",
3
+ "version": "3.11.0-alpha.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
7
7
  "sideEffects": false,
8
+ "type": "module",
8
9
  "dependencies": {
9
- "@opentiny/vue-common": "~3.9.0",
10
- "@opentiny/vue-renderless": "~3.9.0",
11
- "@opentiny/vue-recycle-scroller": "~3.9.0"
10
+ "@opentiny/vue-common": "~3.11.0-alpha.0",
11
+ "@opentiny/vue-renderless": "~3.11.0-alpha.0",
12
+ "@opentiny/vue-recycle-scroller": "~3.11.0-alpha.0"
12
13
  },
13
14
  "license": "MIT",
14
15
  "types": "index.d.ts"
package/src/index.d.ts CHANGED
@@ -21,7 +21,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
21
21
  default: string;
22
22
  };
23
23
  minItemSize: {
24
- type: (NumberConstructor | StringConstructor)[];
24
+ type: (StringConstructor | NumberConstructor)[];
25
25
  required: true;
26
26
  };
27
27
  tiny_mode: StringConstructor;
@@ -30,9 +30,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
30
30
  tiny_renderless: FunctionConstructor;
31
31
  tiny_theme: StringConstructor;
32
32
  tiny_chart_theme: ObjectConstructor;
33
- }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
34
34
  [key: string]: any;
35
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
35
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
36
36
  items: {
37
37
  type: ArrayConstructor;
38
38
  required: true;
@@ -55,7 +55,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
55
55
  default: string;
56
56
  };
57
57
  minItemSize: {
58
- type: (NumberConstructor | StringConstructor)[];
58
+ type: (StringConstructor | NumberConstructor)[];
59
59
  required: true;
60
60
  };
61
61
  tiny_mode: StringConstructor;
@@ -70,5 +70,5 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
70
70
  keyField: string;
71
71
  listTag: string;
72
72
  itemTag: string;
73
- }>;
73
+ }, {}>;
74
74
  export default _default;
package/src/pc.vue.d.ts CHANGED
@@ -1,11 +1,47 @@
1
- declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{
2
- [x: string]: any;
3
- }>, any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("visible" | "resize")[], "visible" | "resize", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
4
- [x: string]: any;
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
2
+ tiny_mode?: any;
3
+ tiny_mode_root?: any;
4
+ tiny_template?: any;
5
+ tiny_renderless?: any;
6
+ _constants?: any;
7
+ tiny_theme?: any;
8
+ tiny_chart_theme?: any;
9
+ direction?: any;
10
+ items?: any;
11
+ keyField?: any;
12
+ listTag?: any;
13
+ itemTag?: any;
14
+ minItemSize?: any;
15
+ }>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("visible" | "resize")[], "visible" | "resize", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
16
+ tiny_mode?: any;
17
+ tiny_mode_root?: any;
18
+ tiny_template?: any;
19
+ tiny_renderless?: any;
20
+ _constants?: any;
21
+ tiny_theme?: any;
22
+ tiny_chart_theme?: any;
23
+ direction?: any;
24
+ items?: any;
25
+ keyField?: any;
26
+ listTag?: any;
27
+ itemTag?: any;
28
+ minItemSize?: any;
5
29
  }>>> & {
6
- onVisible?: ((...args: any[]) => any) | undefined;
7
30
  onResize?: ((...args: any[]) => any) | undefined;
31
+ onVisible?: ((...args: any[]) => any) | undefined;
8
32
  }, {
9
- [x: string]: any;
10
- }>;
11
- export default _sfc_main;
33
+ readonly tiny_mode?: any;
34
+ readonly tiny_mode_root?: any;
35
+ readonly tiny_template?: any;
36
+ readonly tiny_renderless?: any;
37
+ readonly _constants?: any;
38
+ readonly tiny_theme?: any;
39
+ readonly tiny_chart_theme?: any;
40
+ readonly direction?: any;
41
+ readonly items?: any;
42
+ readonly keyField?: any;
43
+ readonly listTag?: any;
44
+ readonly itemTag?: any;
45
+ readonly minItemSize?: any;
46
+ }, {}>;
47
+ export default _default;