@opentiny/vue-scrollbar
Advanced tools
Comparing version 3.12.0 to 3.13.0-alpha.0
@@ -12,2 +12,3 @@ import { createVNode } from "vue"; | ||
vertical: Boolean, | ||
show: Boolean, | ||
size: String, | ||
@@ -27,6 +28,6 @@ move: Number | ||
render: function render() { | ||
var size = this.size, move = this.move, renderThumbStyle = this.renderThumbStyle, clickTrackHandler = this.clickTrackHandler, clickThumbHandler = this.clickThumbHandler, bar = this.state.bar; | ||
var size = this.size, move = this.move, show = this.show, renderThumbStyle = this.renderThumbStyle, clickTrackHandler = this.clickTrackHandler, clickThumbHandler = this.clickThumbHandler, bar = this.state.bar; | ||
return createVNode("div", { | ||
"ref": "bar", | ||
"class": ["tiny-scrollbar__bar", "is-" + bar.key], | ||
"class": ["tiny-scrollbar__bar", "is-" + bar.key, show ? "is-show" : ""], | ||
"onMousedown": clickTrackHandler | ||
@@ -59,2 +60,4 @@ }, [createVNode("div", { | ||
noresize: Boolean, | ||
// select 选择器下拉框数据过多时默认显示滚动条 | ||
show: Boolean, | ||
tag: { | ||
@@ -80,3 +83,3 @@ type: String, | ||
var _this = this; | ||
var tag = this.tag, $slots = this.vm.$slots, native = this.native, wrapStyle = this.wrapStyle, wrapClass = this.wrapClass, viewStyle = this.viewStyle, viewClass = this.viewClass, handleScroll = this.handleScroll, state = this.state, marginBottomAdjust = this.marginBottomAdjust; | ||
var tag = this.tag, $slots = this.vm.$slots, native = this.native, wrapStyle = this.wrapStyle, wrapClass = this.wrapClass, viewStyle = this.viewStyle, viewClass = this.viewClass, handleScroll = this.handleScroll, state = this.state, show = this.show, marginBottomAdjust = this.marginBottomAdjust; | ||
var gutter = scrollbarWidth(); | ||
@@ -119,7 +122,9 @@ var style = wrapStyle; | ||
"move": state.moveX, | ||
"size": state.sizeWidth | ||
"size": state.sizeWidth, | ||
"show": show | ||
}, null), createVNode(_sfc_main$1, { | ||
"vertical": true, | ||
"move": state.moveY, | ||
"size": state.sizeHeight | ||
"size": state.sizeHeight, | ||
"show": show | ||
}, null)]; | ||
@@ -138,3 +143,3 @@ } | ||
}); | ||
var version = "3.12.0"; | ||
var version = "3.13.0-alpha.0"; | ||
_sfc_main.install = function(Vue) { | ||
@@ -141,0 +146,0 @@ Vue.component(_sfc_main.name, _sfc_main); |
{ | ||
"name": "@opentiny/vue-scrollbar", | ||
"version": "3.12.0", | ||
"version": "3.13.0-alpha.0", | ||
"description": "", | ||
@@ -10,4 +10,4 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.12.0", | ||
"@opentiny/vue-common": "~3.12.0" | ||
"@opentiny/vue-renderless": "~3.13.0-alpha.0", | ||
"@opentiny/vue-common": "~3.13.0-alpha.0" | ||
}, | ||
@@ -14,0 +14,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6179
3
146
2
+ Added@opentiny/vue-common@3.13.1(transitive)
+ Added@opentiny/vue-locale@3.13.0(transitive)
+ Added@opentiny/vue-renderless@3.13.2(transitive)
+ Added@opentiny/vue-theme@3.13.3(transitive)
+ Added@opentiny/vue-theme-mobile@3.13.0(transitive)
- Removed@opentiny/vue-common@3.12.0(transitive)
- Removed@opentiny/vue-locale@3.12.0(transitive)
- Removed@opentiny/vue-renderless@3.12.1(transitive)
- Removed@opentiny/vue-theme@3.12.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.12.0(transitive)