view-design
Advanced tools
Comparing version 4.3.2 to 4.4.0-rc.1
{ | ||
"name": "view-design", | ||
"version": "4.3.2", | ||
"version": "4.4.0-rc.1", | ||
"title": "ViewUI", | ||
@@ -5,0 +5,0 @@ "description": "A high quality UI components Library with Vue.js", |
@@ -34,5 +34,5 @@ <p align="center"> | ||
- Dozens of useful and beautiful components. | ||
- Friendly API. It's made for people with any skill level. | ||
- Extensive documentation and demos. | ||
- It is quite beautiful. | ||
- Friendly API. It's made for people with any skills level. | ||
- Extensive documentations and demos. | ||
- It is quite awesome. | ||
- Supports both Vue.js 2 and Vue.js 1. | ||
@@ -101,3 +101,3 @@ | ||
If you want to contribute or have questions or bugs to report: | ||
If you want to contribute us or in case you are haiving any doubt. | ||
@@ -104,0 +104,0 @@ **Questions:** Find other users at the [Gitter chat](https://gitter.im/iview/iview) or post on [StackOverflow using `[iview-ui]` tag](https://stackoverflow.com/questions/tagged/iview-ui) |
@@ -43,3 +43,5 @@ | ||
methods: { | ||
handleClick (cell) { | ||
handleClick (cell, e) { | ||
e.stopPropagation(); | ||
if (cell.disabled || cell.type === 'weekLabel') return; | ||
@@ -46,0 +48,0 @@ const newDate = new Date(clearHours(cell.date)); |
@@ -5,3 +5,3 @@ import Modal from './confirm'; | ||
function getModalInstance (render = undefined) { | ||
function getModalInstance (render = undefined, lockScroll = true) { | ||
modalInstance = modalInstance || Modal.newInstance({ | ||
@@ -11,3 +11,4 @@ closable: false, | ||
footerHide: true, | ||
render: render | ||
render: render, | ||
lockScroll | ||
}); | ||
@@ -20,3 +21,4 @@ | ||
const render = ('render' in options) ? options.render : undefined; | ||
let instance = getModalInstance(render); | ||
const lockScroll = ('lockScroll' in options) ? options.lockScroll : true; | ||
let instance = getModalInstance(render, lockScroll); | ||
@@ -70,2 +72,2 @@ options.onRemove = function () { | ||
export default Modal; | ||
export default Modal; |
// used for Modal & $Spin & Drawer | ||
import { getScrollBarSize } from '../../utils/assist'; | ||
export default { | ||
props: { | ||
lockScroll: { | ||
type: Boolean, | ||
default: true | ||
} | ||
}, | ||
methods: { | ||
@@ -29,2 +35,3 @@ checkScrollBar () { | ||
addScrollEffect () { | ||
if (!this.lockScroll) return; | ||
this.checkScrollBar(); | ||
@@ -35,2 +42,3 @@ this.setScrollBar(); | ||
removeScrollEffect() { | ||
if (!this.lockScroll) return; | ||
if (this.checkMaskInVisible()) { | ||
@@ -37,0 +45,0 @@ document.body.style.overflow = ''; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
11381664
53670
35