Comparing version 1.0.0-alpha.10 to 1.0.0-alpha.11
@@ -22,3 +22,3 @@ { | ||
"type": "Boolean", | ||
"desc": "Float above the parent container (which must at least have relative position)" | ||
"desc": "Tell QBagde if it should float to the top right side of the relative positioned parent element or not" | ||
}, | ||
@@ -25,0 +25,0 @@ "align": { |
@@ -70,19 +70,2 @@ { | ||
}, | ||
"floating": { | ||
"type": "Boolean", | ||
"desc": "Tell the QChip if it should float to the top right side of the relative positioned parent element or not" | ||
}, | ||
"pointing": { | ||
"type": "String", | ||
"desc": "Does the QChip to display a pointer arrow", | ||
"values": [ | ||
"up", | ||
"right", | ||
"down", | ||
"left" | ||
], | ||
"examples": [ | ||
"up" | ||
] | ||
}, | ||
"square": { | ||
@@ -89,0 +72,0 @@ "type": "Boolean", |
@@ -116,3 +116,2 @@ const map = { | ||
"QVideo": "src/components/video/QVideo.js", | ||
"ClickOutside": "src/directives/ClickOutside.js", | ||
"CloseDialog": "src/directives/CloseDialog.js", | ||
@@ -119,0 +118,0 @@ "CloseMenu": "src/directives/CloseMenu.js", |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-alpha.10 | ||
* Quasar Framework v1.0.0-alpha.11 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
@@ -280,4 +280,2 @@ { | ||
"selected", | ||
"floating", | ||
"pointing", | ||
"square", | ||
@@ -284,0 +282,0 @@ "outline", |
{ | ||
"name": "quasar", | ||
"version": "1.0.0-alpha.10", | ||
"version": "1.0.0-alpha.11", | ||
"description": "Build responsive SPA, SSR, PWA, Hybrid Mobile Apps and Electron apps, all simultaneously using the same codebase", | ||
@@ -5,0 +5,0 @@ "module": "src/index.esm.js", |
@@ -13,3 +13,3 @@ { | ||
"type": "Boolean", | ||
"desc": "Float above the parent container (which must at least have relative position)" | ||
"desc": "Tell QBagde if it should float to the top right side of the relative positioned parent element or not" | ||
}, | ||
@@ -16,0 +16,0 @@ |
@@ -30,9 +30,7 @@ import Vue from 'vue' | ||
}, | ||
selected: Boolean, | ||
selected: { | ||
type: Boolean, | ||
default: null | ||
}, | ||
floating: Boolean, | ||
pointing: { | ||
type: String, | ||
validator: v => ['up', 'right', 'down', 'left'].includes(v) | ||
}, | ||
square: Boolean, | ||
@@ -57,5 +55,4 @@ outline: Boolean, | ||
disabled: this.disable, | ||
'q-chip--dense': this.dense || this.floating, | ||
'q-chip--dense': this.dense, | ||
'q-chip--outline': this.outline, | ||
'q-chip--floating': this.floating, | ||
'q-chip--selected': this.selected, | ||
@@ -68,7 +65,7 @@ 'q-chip--clickable cursor-pointer non-selectable q-hoverable': this.isClickable, | ||
hasLeftIcon () { | ||
return this.selected || this.icon | ||
return this.selected === true || this.icon !== void 0 | ||
}, | ||
isClickable () { | ||
return !this.disable && this.clickable | ||
return !this.disable && (this.clickable === true || this.selected !== null) | ||
}, | ||
@@ -105,20 +102,5 @@ | ||
if (this.pointing) { | ||
child.push(h('div', { | ||
staticClass: 'q-chip__pointer absolute', | ||
class: { | ||
[`q-chip__pointer--${this.pointing}`]: true, | ||
[`text-${this.color}`]: this.color | ||
} | ||
})) | ||
this.isClickable && child.push(h('div', { | ||
staticClass: 'q-chip__pointer q-chip__pointer--hover absolute', | ||
class: `q-chip__pointer--${this.pointing}` | ||
})) | ||
} | ||
this.hasLeftIcon && child.push(h(QIcon, { | ||
staticClass: 'q-chip__icon q-chip__icon--left', | ||
props: { name: this.selected ? this.$q.icon.chip.selected : this.icon } | ||
props: { name: this.selected === true ? this.$q.icon.chip.selected : this.icon } | ||
})) | ||
@@ -125,0 +107,0 @@ |
@@ -43,14 +43,2 @@ { | ||
"floating": { | ||
"type": "Boolean", | ||
"desc": "Tell the QChip if it should float to the top right side of the relative positioned parent element or not" | ||
}, | ||
"pointing": { | ||
"type": "String", | ||
"desc": "Does the QChip to display a pointer arrow", | ||
"values": [ "up", "right", "down", "left" ], | ||
"examples": [ "up" ] | ||
}, | ||
"square": { | ||
@@ -57,0 +45,0 @@ "extends": "square" |
@@ -8,3 +8,3 @@ import Vue from 'vue' | ||
import ClickOutside from '../../directives/ClickOutside.js' | ||
import ClickOutside from './ClickOutside.js' | ||
import { getScrollTarget } from '../../utils/scroll.js' | ||
@@ -11,0 +11,0 @@ import { position, listenOpts } from '../../utils/event.js' |
@@ -1,2 +0,1 @@ | ||
import ClickOutside from './directives/ClickOutside.js' | ||
import CloseDialog from './directives/CloseDialog.js' | ||
@@ -14,3 +13,2 @@ import CloseMenu from './directives/CloseMenu.js' | ||
export { | ||
ClickOutside, | ||
CloseDialog, | ||
@@ -17,0 +15,0 @@ CloseMenu, |
import Vue from 'vue' | ||
import uid from '../utils/uid.js' | ||
let inject | ||
function fillInject (root) { | ||
const | ||
instance = new Vue(), | ||
skip = ['el', 'created', 'activated', 'deactivated', 'beforeMount', 'methods', 'mounted', 'render', 'mixins'] | ||
.concat(Object.keys(instance.$root.$options)) | ||
inject = {} | ||
Object.keys(root) | ||
.filter(name => skip.includes(name) === false) | ||
.forEach(p => { | ||
inject[p] = root[p] | ||
}) | ||
} | ||
export default { | ||
@@ -25,3 +42,3 @@ methods: { | ||
render (h) { | ||
render () { | ||
this.__portal !== void 0 && this.__portal.$forceUpdate() | ||
@@ -34,5 +51,12 @@ return null | ||
this.__portal = new Vue({ | ||
if (inject === void 0) { | ||
fillInject(this.$root.$options) | ||
} | ||
this.__portal = new Vue(Object.assign({}, inject, { | ||
render: h => this.__render(h), | ||
components: this.$options.components, | ||
directives: this.$options.directives, | ||
created () { | ||
@@ -45,3 +69,3 @@ this.portalParentId = id | ||
} | ||
}).$mount() | ||
})).$mount() | ||
}, | ||
@@ -48,0 +72,0 @@ |
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 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 too big to display
Sorry, the diff of this file is too big to display
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
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
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
4600060
108906