Comparing version 1.0.0-beta.20 to 1.0.0-beta.21
@@ -222,2 +222,13 @@ { | ||
"default": "scale" | ||
}, | ||
"component": { | ||
"type": "Any", | ||
"desc": "Use custom dialog component; use along with 'root' prop where possible; if using this prop, all others described here will be supplied to your custom component" | ||
}, | ||
"root": { | ||
"type": "Object", | ||
"desc": "Required if using 'component' prop and you need access to vuex store, router and so on; Specify root of your App", | ||
"examples": [ | ||
"root: this.$root" | ||
] | ||
} | ||
@@ -224,0 +235,0 @@ }, |
@@ -326,2 +326,5 @@ { | ||
"desc": "Default slot in the devland unslotted content of the component" | ||
}, | ||
"label": { | ||
"desc": "Customize main button's content through this slot, unless you're using the 'icon' and 'label' props" | ||
} | ||
@@ -328,0 +331,0 @@ }, |
@@ -57,2 +57,9 @@ { | ||
}, | ||
"slot": { | ||
"type": "String", | ||
"desc": "Slot name to use for this button content; Useful for customizing content or even add tooltips", | ||
"examples": [ | ||
"mySlot" | ||
] | ||
}, | ||
"...props": { | ||
@@ -59,0 +66,0 @@ "type": "Any", |
@@ -20,2 +20,13 @@ { | ||
}, | ||
"default-view": { | ||
"type": "String", | ||
"desc": "The default view of the picker", | ||
"default": "spectrum", | ||
"values": [ | ||
"spectrum", | ||
"tune", | ||
"palette" | ||
], | ||
"category": "behavior" | ||
}, | ||
"format-model": { | ||
@@ -37,2 +48,12 @@ "type": "String", | ||
}, | ||
"no-header": { | ||
"type": "Boolean", | ||
"desc": "Do not render header", | ||
"category": "behavior" | ||
}, | ||
"no-footer": { | ||
"type": "Boolean", | ||
"desc": "Do not render footer; Useful when you want a specific view ('default-view' prop) and don't want the user to be able to switch it", | ||
"category": "behavior" | ||
}, | ||
"disable": { | ||
@@ -39,0 +60,0 @@ "type": "Boolean", |
@@ -127,3 +127,3 @@ { | ||
"type": "Boolean", | ||
"desc": "Disables the default behavior where drawer can be swiped out of view; Useful for iOS platforms where it might interfere with Safari's 'swipe to go to previous/next page' feature", | ||
"desc": "Disables the default behavior where drawer can be swiped out of view (applies to drawer content only); Useful for iOS platforms where it might interfere with Safari's 'swipe to go to previous/next page' feature", | ||
"category": "behavior" | ||
@@ -130,0 +130,0 @@ } |
@@ -781,4 +781,20 @@ { | ||
"desc": "Recomputes menu position" | ||
}, | ||
"updateInputValue": { | ||
"desc": "If 'use-input' is specified, this updates the value that it holds", | ||
"params": { | ||
"value": { | ||
"type": "String", | ||
"desc": "String to set the input value to", | ||
"examples": [ | ||
"hotel" | ||
] | ||
}, | ||
"noFilter": { | ||
"type": "Boolean", | ||
"desc": "Set to true if you don't want the filter (if any) to be also triggered" | ||
} | ||
} | ||
} | ||
} | ||
} |
@@ -322,9 +322,15 @@ { | ||
"params": { | ||
"files": { | ||
"type": "Array", | ||
"desc": "Uploaded files" | ||
}, | ||
"xhr": { | ||
"info": { | ||
"type": "Object", | ||
"desc": "XMLHttpRequest that has been used to upload this batch of files" | ||
"desc": "Object containing information about the event", | ||
"definition": { | ||
"files": { | ||
"type": "Array", | ||
"desc": "Uploaded files" | ||
}, | ||
"xhr": { | ||
"type": "Object", | ||
"desc": "XMLHttpRequest that has been used to upload this batch of files" | ||
} | ||
} | ||
} | ||
@@ -336,9 +342,15 @@ } | ||
"params": { | ||
"files": { | ||
"type": "Array", | ||
"desc": "Files which encountered error" | ||
}, | ||
"xhr": { | ||
"info": { | ||
"type": "Object", | ||
"desc": "XMLHttpRequest that has been used to upload this batch of files" | ||
"desc": "Object containing information about the event", | ||
"definition": { | ||
"files": { | ||
"type": "Array", | ||
"desc": "Files which encountered error" | ||
}, | ||
"xhr": { | ||
"type": "Object", | ||
"desc": "XMLHttpRequest that has been used to upload this batch of files" | ||
} | ||
} | ||
} | ||
@@ -350,9 +362,15 @@ } | ||
"params": { | ||
"files": { | ||
"type": "Array", | ||
"desc": "Files which are now uploading" | ||
}, | ||
"xhr": { | ||
"info": { | ||
"type": "Object", | ||
"desc": "XMLHttpRequest used for uploading" | ||
"desc": "Object containing information about the event", | ||
"definition": { | ||
"files": { | ||
"type": "Array", | ||
"desc": "Files which are now uploading" | ||
}, | ||
"xhr": { | ||
"type": "Object", | ||
"desc": "XMLHttpRequest used for uploading" | ||
} | ||
} | ||
} | ||
@@ -359,0 +377,0 @@ } |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.0.0-beta.20 | ||
* Quasar Framework v1.0.0-beta.21 | ||
* (c) 2016-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
@@ -36,11 +36,2 @@ import Vue, { VueConstructor } from 'vue' | ||
export interface CloseDialog { | ||
} | ||
export interface CloseMenu { | ||
} | ||
export interface ClosePopup { | ||
} | ||
export interface Cookies { | ||
@@ -93,3 +84,5 @@ get(name : string): string | ||
transitionShow? : string | ||
transitionHide? : string }): { | ||
transitionHide? : string | ||
component? : any | ||
root? : any }): { | ||
onOk? : Function | ||
@@ -101,5 +94,2 @@ onCancel? : Function | ||
export interface GoBack { | ||
} | ||
export interface Loading { | ||
@@ -188,2 +178,78 @@ isActive? : boolean | ||
export interface Screen { | ||
width? : number | ||
height? : number | ||
sizes? : { | ||
sm? : number | ||
md? : number | ||
lg? : number | ||
xl? : number } | ||
lt? : { | ||
sm? : boolean | ||
md? : boolean | ||
lg? : boolean | ||
xl? : boolean } | ||
gt? : { | ||
xs? : boolean | ||
sm? : boolean | ||
md? : boolean | ||
lg? : boolean } | ||
xs? : boolean | ||
sm? : boolean | ||
md? : boolean | ||
lg? : boolean | ||
xl? : boolean | ||
setSizes(breakpoints : { | ||
sm? : number | ||
md? : number | ||
lg? : number | ||
xl? : number }): void | ||
setDebounce(amount : number): void | ||
} | ||
export interface SessionStorage { | ||
has(key : string): boolean | ||
getLength(): number | ||
getItem(key : string): any | ||
getIndex(index : number): any | ||
getAll(): any | ||
set(key : string, value : any): void | ||
remove(key : string): void | ||
clear(): void | ||
isEmpty(): boolean | ||
} | ||
export interface CloseDialog { | ||
} | ||
export interface CloseMenu { | ||
} | ||
export interface ClosePopup { | ||
} | ||
export interface GoBack { | ||
} | ||
export interface Ripple { | ||
} | ||
export interface Scroll { | ||
} | ||
export interface ScrollFire { | ||
} | ||
export interface TouchHold { | ||
} | ||
export interface TouchPan { | ||
} | ||
export interface TouchRepeat { | ||
} | ||
export interface TouchSwipe { | ||
} | ||
export interface QAjaxBar extends Vue { | ||
@@ -488,3 +554,6 @@ position? : string | ||
defaultValue? : string | ||
defaultView? : string | ||
formatModel? : string | ||
noHeader? : boolean | ||
noFooter? : boolean | ||
disable? : boolean | ||
@@ -514,2 +583,19 @@ readonly? : boolean | ||
export interface QTime extends Vue { | ||
value? : string | ||
landscape? : boolean | ||
color? : string | ||
textColor? : string | ||
dark? : boolean | ||
readonly? : boolean | ||
disable? : boolean | ||
format24h? : boolean | ||
options? : Function | ||
hourOptions? : any[] | ||
minuteOptions? : any[] | ||
secondOptions? : any[] | ||
withSeconds? : boolean | ||
nowBtn? : boolean | ||
} | ||
export interface QDialog extends Vue { | ||
@@ -539,24 +625,2 @@ contentClass? : any[] | string | any | ||
export interface QDrawer extends Vue { | ||
value? : boolean | ||
side? : string | ||
overlay? : boolean | ||
width? : number | ||
mini? : boolean | ||
miniWidth? : number | ||
breakpoint? : number | ||
behavior? : string | ||
bordered? : boolean | ||
elevated? : boolean | ||
persistent? : boolean | ||
showIfAbove? : boolean | ||
contentClass? : any[] | string | any | ||
contentStyle? : any[] | string | any | ||
noSwipeOpen? : boolean | ||
noSwipeClose? : boolean | ||
show(evt? : any): void | ||
hide(evt? : any): void | ||
toggle(evt? : any): void | ||
} | ||
export interface QEditor extends Vue { | ||
@@ -604,37 +668,2 @@ fullscreen? : boolean | ||
export interface QExpansionItem extends Vue { | ||
to? : string | any | ||
exact? : boolean | ||
append? : boolean | ||
replace? : boolean | ||
activeClass? : string | ||
exactActiveClass? : string | ||
disable? : boolean | ||
value? : boolean | ||
icon? : string | ||
expandIcon? : string | ||
expandIconClass? : any[] | string | any | ||
label? : string | ||
labelLines? : number | string | ||
caption? : string | ||
captionLines? : number | string | ||
dark? : boolean | ||
dense? : boolean | ||
duration? : number | ||
headerInsetLevel? : number | ||
contentInsetLevel? : number | ||
expandSeparator? : boolean | ||
defaultOpened? : boolean | ||
expandIconToggle? : boolean | ||
switchToggleSide? : boolean | ||
denseToggle? : boolean | ||
group? : string | ||
popup? : boolean | ||
headerStyle? : any[] | string | any | ||
headerClass? : any[] | string | any | ||
show(evt? : any): void | ||
hide(evt? : any): void | ||
toggle(evt? : any): void | ||
} | ||
export interface QFab extends Vue { | ||
@@ -706,9 +735,2 @@ value? : boolean | ||
export interface QFooter extends Vue { | ||
value? : boolean | ||
reveal? : boolean | ||
bordered? : boolean | ||
elevated? : boolean | ||
} | ||
export interface QForm extends Vue { | ||
@@ -721,10 +743,2 @@ autofocus? : boolean | ||
export interface QHeader extends Vue { | ||
value? : boolean | ||
reveal? : boolean | ||
revealOffset? : number | ||
bordered? : boolean | ||
elevated? : boolean | ||
} | ||
export interface QIcon extends Vue { | ||
@@ -823,36 +837,2 @@ name? : string | ||
export interface QItem extends Vue { | ||
to? : string | any | ||
exact? : boolean | ||
append? : boolean | ||
replace? : boolean | ||
activeClass? : string | ||
exactActiveClass? : string | ||
disable? : boolean | ||
active? : boolean | ||
dark? : boolean | ||
clickable? : boolean | ||
dense? : boolean | ||
insetLevel? : number | ||
tabindex? : number | string | ||
tag? : string | ||
manualFocus? : boolean | ||
focused? : boolean | ||
} | ||
export interface QItemLabel extends Vue { | ||
overline? : boolean | ||
caption? : boolean | ||
header? : boolean | ||
lines? : number | string | ||
} | ||
export interface QItemSection extends Vue { | ||
avatar? : boolean | ||
thumbnail? : boolean | ||
side? : boolean | ||
top? : boolean | ||
noWrap? : boolean | ||
} | ||
export interface QKnob extends Vue { | ||
@@ -876,2 +856,39 @@ value? : number | ||
export interface QDrawer extends Vue { | ||
value? : boolean | ||
side? : string | ||
overlay? : boolean | ||
width? : number | ||
mini? : boolean | ||
miniWidth? : number | ||
breakpoint? : number | ||
behavior? : string | ||
bordered? : boolean | ||
elevated? : boolean | ||
persistent? : boolean | ||
showIfAbove? : boolean | ||
contentClass? : any[] | string | any | ||
contentStyle? : any[] | string | any | ||
noSwipeOpen? : boolean | ||
noSwipeClose? : boolean | ||
show(evt? : any): void | ||
hide(evt? : any): void | ||
toggle(evt? : any): void | ||
} | ||
export interface QFooter extends Vue { | ||
value? : boolean | ||
reveal? : boolean | ||
bordered? : boolean | ||
elevated? : boolean | ||
} | ||
export interface QHeader extends Vue { | ||
value? : boolean | ||
reveal? : boolean | ||
revealOffset? : number | ||
bordered? : boolean | ||
elevated? : boolean | ||
} | ||
export interface QLayout extends Vue { | ||
@@ -882,2 +899,16 @@ view? : string | ||
export interface QPage extends Vue { | ||
padding? : boolean | ||
styleFn? : Function | ||
} | ||
export interface QPageContainer extends Vue { | ||
} | ||
export interface QPageSticky extends Vue { | ||
position? : string | ||
offset? : any[] | ||
expand? : boolean | ||
} | ||
export interface QLinearProgress extends Vue { | ||
@@ -896,2 +927,71 @@ value? : number | ||
export interface QExpansionItem extends Vue { | ||
to? : string | any | ||
exact? : boolean | ||
append? : boolean | ||
replace? : boolean | ||
activeClass? : string | ||
exactActiveClass? : string | ||
disable? : boolean | ||
value? : boolean | ||
icon? : string | ||
expandIcon? : string | ||
expandIconClass? : any[] | string | any | ||
label? : string | ||
labelLines? : number | string | ||
caption? : string | ||
captionLines? : number | string | ||
dark? : boolean | ||
dense? : boolean | ||
duration? : number | ||
headerInsetLevel? : number | ||
contentInsetLevel? : number | ||
expandSeparator? : boolean | ||
defaultOpened? : boolean | ||
expandIconToggle? : boolean | ||
switchToggleSide? : boolean | ||
denseToggle? : boolean | ||
group? : string | ||
popup? : boolean | ||
headerStyle? : any[] | string | any | ||
headerClass? : any[] | string | any | ||
show(evt? : any): void | ||
hide(evt? : any): void | ||
toggle(evt? : any): void | ||
} | ||
export interface QItem extends Vue { | ||
to? : string | any | ||
exact? : boolean | ||
append? : boolean | ||
replace? : boolean | ||
activeClass? : string | ||
exactActiveClass? : string | ||
disable? : boolean | ||
active? : boolean | ||
dark? : boolean | ||
clickable? : boolean | ||
dense? : boolean | ||
insetLevel? : number | ||
tabindex? : number | string | ||
tag? : string | ||
manualFocus? : boolean | ||
focused? : boolean | ||
} | ||
export interface QItemLabel extends Vue { | ||
overline? : boolean | ||
caption? : boolean | ||
header? : boolean | ||
lines? : number | string | ||
} | ||
export interface QItemSection extends Vue { | ||
avatar? : boolean | ||
thumbnail? : boolean | ||
side? : boolean | ||
top? : boolean | ||
noWrap? : boolean | ||
} | ||
export interface QList extends Vue { | ||
@@ -905,9 +1005,5 @@ bordered? : boolean | ||
export interface QMarkupTable extends Vue { | ||
dense? : boolean | ||
dark? : boolean | ||
flat? : boolean | ||
bordered? : boolean | ||
separator? : string | ||
wrapCells? : boolean | ||
export interface QSlideItem extends Vue { | ||
leftColor? : string | ||
rightColor? : string | ||
} | ||
@@ -948,2 +1044,14 @@ | ||
export interface QResizeObserver extends Vue { | ||
debounce? : string | number | ||
trigger(immediately? : boolean): void | ||
} | ||
export interface QScrollObserver extends Vue { | ||
debounce? : string | number | ||
horizontal? : boolean | ||
trigger(immediately? : boolean): void | ||
getPosition(): void | ||
} | ||
export interface QOptionGroup extends Vue { | ||
@@ -962,10 +1070,2 @@ value? : any | ||
export interface QPage extends Vue { | ||
padding? : boolean | ||
styleFn? : Function | ||
} | ||
export interface QPageContainer extends Vue { | ||
} | ||
export interface QPageScroller extends Vue { | ||
@@ -979,8 +1079,2 @@ position? : string | ||
export interface QPageSticky extends Vue { | ||
position? : string | ||
offset? : any[] | ||
expand? : boolean | ||
} | ||
export interface QPagination extends Vue { | ||
@@ -1096,24 +1190,2 @@ value : number | ||
export interface QResizeObserver extends Vue { | ||
debounce? : string | number | ||
trigger(immediately? : boolean): void | ||
} | ||
export interface QRouteTab extends Vue { | ||
to : string | any | ||
exact? : boolean | ||
append? : boolean | ||
replace? : boolean | ||
activeClass? : string | ||
exactActiveClass? : string | ||
disable? : boolean | ||
ripple? : boolean | any | ||
icon? : string | ||
label? : number | string | ||
alert? : boolean | string | ||
name? : number | string | ||
noCaps? : boolean | ||
tabindex? : number | string | ||
} | ||
export interface QScrollArea extends Vue { | ||
@@ -1128,9 +1200,2 @@ thumbStyle? : any | ||
export interface QScrollObserver extends Vue { | ||
debounce? : string | number | ||
horizontal? : boolean | ||
trigger(immediately? : boolean): void | ||
getPosition(): void | ||
} | ||
export interface QSelect extends Vue { | ||
@@ -1204,2 +1269,3 @@ error? : boolean | ||
updateMenuPosition(): void | ||
updateInputValue(value? : string, noFilter? : boolean): void | ||
} | ||
@@ -1215,7 +1281,2 @@ | ||
export interface QSlideItem extends Vue { | ||
leftColor? : string | ||
rightColor? : string | ||
} | ||
export interface QSlideTransition extends Vue { | ||
@@ -1409,13 +1470,2 @@ appear? : boolean | ||
export interface QTab extends Vue { | ||
ripple? : boolean | any | ||
icon? : string | ||
label? : number | string | ||
alert? : boolean | string | ||
name? : number | string | ||
noCaps? : boolean | ||
tabindex? : number | string | ||
disable? : boolean | ||
} | ||
export interface QTabPanel extends Vue { | ||
@@ -1438,2 +1488,11 @@ name : any | ||
export interface QMarkupTable extends Vue { | ||
dense? : boolean | ||
dark? : boolean | ||
flat? : boolean | ||
bordered? : boolean | ||
separator? : string | ||
wrapCells? : boolean | ||
} | ||
export interface QTable extends Vue { | ||
@@ -1500,2 +1559,44 @@ fullscreen? : boolean | ||
export interface QTd extends Vue { | ||
props? : any | ||
autoWidth? : boolean | ||
} | ||
export interface QTh extends Vue { | ||
props? : any | ||
autoWidth? : boolean | ||
} | ||
export interface QTr extends Vue { | ||
props? : any | ||
} | ||
export interface QRouteTab extends Vue { | ||
to : string | any | ||
exact? : boolean | ||
append? : boolean | ||
replace? : boolean | ||
activeClass? : string | ||
exactActiveClass? : string | ||
disable? : boolean | ||
ripple? : boolean | any | ||
icon? : string | ||
label? : number | string | ||
alert? : boolean | string | ||
name? : number | string | ||
noCaps? : boolean | ||
tabindex? : number | string | ||
} | ||
export interface QTab extends Vue { | ||
ripple? : boolean | any | ||
icon? : string | ||
label? : number | string | ||
alert? : boolean | string | ||
name? : number | string | ||
noCaps? : boolean | ||
tabindex? : number | string | ||
disable? : boolean | ||
} | ||
export interface QTabs extends Vue { | ||
@@ -1519,29 +1620,2 @@ value? : number | string | ||
export interface QTd extends Vue { | ||
props? : any | ||
autoWidth? : boolean | ||
} | ||
export interface QTh extends Vue { | ||
props? : any | ||
autoWidth? : boolean | ||
} | ||
export interface QTime extends Vue { | ||
value? : string | ||
landscape? : boolean | ||
color? : string | ||
textColor? : string | ||
dark? : boolean | ||
readonly? : boolean | ||
disable? : boolean | ||
format24h? : boolean | ||
options? : Function | ||
hourOptions? : any[] | ||
minuteOptions? : any[] | ||
secondOptions? : any[] | ||
withSeconds? : boolean | ||
nowBtn? : boolean | ||
} | ||
export interface QTimeline extends Vue { | ||
@@ -1611,6 +1685,2 @@ color? : string | ||
export interface QTr extends Vue { | ||
props? : any | ||
} | ||
export interface QTree extends Vue { | ||
@@ -1689,66 +1759,2 @@ nodes : any[] | ||
export interface Ripple { | ||
} | ||
export interface Screen { | ||
width? : number | ||
height? : number | ||
sizes? : { | ||
sm? : number | ||
md? : number | ||
lg? : number | ||
xl? : number } | ||
lt? : { | ||
sm? : boolean | ||
md? : boolean | ||
lg? : boolean | ||
xl? : boolean } | ||
gt? : { | ||
xs? : boolean | ||
sm? : boolean | ||
md? : boolean | ||
lg? : boolean } | ||
xs? : boolean | ||
sm? : boolean | ||
md? : boolean | ||
lg? : boolean | ||
xl? : boolean | ||
setSizes(breakpoints : { | ||
sm? : number | ||
md? : number | ||
lg? : number | ||
xl? : number }): void | ||
setDebounce(amount : number): void | ||
} | ||
export interface Scroll { | ||
} | ||
export interface ScrollFire { | ||
} | ||
export interface SessionStorage { | ||
has(key : string): boolean | ||
getLength(): number | ||
getItem(key : string): any | ||
getIndex(index : number): any | ||
getAll(): any | ||
set(key : string, value : any): void | ||
remove(key : string): void | ||
clear(): void | ||
isEmpty(): boolean | ||
} | ||
export interface TouchHold { | ||
} | ||
export interface TouchPan { | ||
} | ||
export interface TouchRepeat { | ||
} | ||
export interface TouchSwipe { | ||
} | ||
export interface QVueGlobals { | ||
@@ -1801,3 +1807,5 @@ addressbarColor: AddressbarColor | ||
transitionShow? : string | ||
transitionHide? : string }): { | ||
transitionHide? : string | ||
component? : any | ||
root? : any }): { | ||
onOk? : Function | ||
@@ -1839,8 +1847,4 @@ onCancel? : Function | ||
export const BottomSheet: BottomSheet | ||
export const CloseDialog: CloseDialog | ||
export const CloseMenu: CloseMenu | ||
export const ClosePopup: ClosePopup | ||
export const Cookies: Cookies | ||
export const Dialog: Dialog | ||
export const GoBack: GoBack | ||
export const Loading: Loading | ||
@@ -1852,2 +1856,15 @@ export const LoadingBar: LoadingBar | ||
export const Platform: Platform | ||
export const Screen: Screen | ||
export const SessionStorage: SessionStorage | ||
export const CloseDialog: CloseDialog | ||
export const CloseMenu: CloseMenu | ||
export const ClosePopup: ClosePopup | ||
export const GoBack: GoBack | ||
export const Ripple: Ripple | ||
export const Scroll: Scroll | ||
export const ScrollFire: ScrollFire | ||
export const TouchHold: TouchHold | ||
export const TouchPan: TouchPan | ||
export const TouchRepeat: TouchRepeat | ||
export const TouchSwipe: TouchSwipe | ||
export const QAjaxBar: VueConstructor<QAjaxBar> | ||
@@ -1876,12 +1893,9 @@ export const QAvatar: VueConstructor<QAvatar> | ||
export const QDate: VueConstructor<QDate> | ||
export const QTime: VueConstructor<QTime> | ||
export const QDialog: VueConstructor<QDialog> | ||
export const QDrawer: VueConstructor<QDrawer> | ||
export const QEditor: VueConstructor<QEditor> | ||
export const QExpansionItem: VueConstructor<QExpansionItem> | ||
export const QFab: VueConstructor<QFab> | ||
export const QFabAction: VueConstructor<QFabAction> | ||
export const QField: VueConstructor<QField> | ||
export const QFooter: VueConstructor<QFooter> | ||
export const QForm: VueConstructor<QForm> | ||
export const QHeader: VueConstructor<QHeader> | ||
export const QIcon: VueConstructor<QIcon> | ||
@@ -1892,17 +1906,23 @@ export const QImg: VueConstructor<QImg> | ||
export const QInput: VueConstructor<QInput> | ||
export const QKnob: VueConstructor<QKnob> | ||
export const QDrawer: VueConstructor<QDrawer> | ||
export const QFooter: VueConstructor<QFooter> | ||
export const QHeader: VueConstructor<QHeader> | ||
export const QLayout: VueConstructor<QLayout> | ||
export const QPage: VueConstructor<QPage> | ||
export const QPageContainer: VueConstructor<QPageContainer> | ||
export const QPageSticky: VueConstructor<QPageSticky> | ||
export const QLinearProgress: VueConstructor<QLinearProgress> | ||
export const QExpansionItem: VueConstructor<QExpansionItem> | ||
export const QItem: VueConstructor<QItem> | ||
export const QItemLabel: VueConstructor<QItemLabel> | ||
export const QItemSection: VueConstructor<QItemSection> | ||
export const QKnob: VueConstructor<QKnob> | ||
export const QLayout: VueConstructor<QLayout> | ||
export const QLinearProgress: VueConstructor<QLinearProgress> | ||
export const QList: VueConstructor<QList> | ||
export const QMarkupTable: VueConstructor<QMarkupTable> | ||
export const QSlideItem: VueConstructor<QSlideItem> | ||
export const QMenu: VueConstructor<QMenu> | ||
export const QNoSsr: VueConstructor<QNoSsr> | ||
export const QResizeObserver: VueConstructor<QResizeObserver> | ||
export const QScrollObserver: VueConstructor<QScrollObserver> | ||
export const QOptionGroup: VueConstructor<QOptionGroup> | ||
export const QPage: VueConstructor<QPage> | ||
export const QPageContainer: VueConstructor<QPageContainer> | ||
export const QPageScroller: VueConstructor<QPageScroller> | ||
export const QPageSticky: VueConstructor<QPageSticky> | ||
export const QPagination: VueConstructor<QPagination> | ||
@@ -1916,9 +1936,5 @@ export const QParallax: VueConstructor<QParallax> | ||
export const QRating: VueConstructor<QRating> | ||
export const QResizeObserver: VueConstructor<QResizeObserver> | ||
export const QRouteTab: VueConstructor<QRouteTab> | ||
export const QScrollArea: VueConstructor<QScrollArea> | ||
export const QScrollObserver: VueConstructor<QScrollObserver> | ||
export const QSelect: VueConstructor<QSelect> | ||
export const QSeparator: VueConstructor<QSeparator> | ||
export const QSlideItem: VueConstructor<QSlideItem> | ||
export const QSlideTransition: VueConstructor<QSlideTransition> | ||
@@ -1951,10 +1967,12 @@ export const QSlider: VueConstructor<QSlider> | ||
export const QStepperNavigation: VueConstructor<QStepperNavigation> | ||
export const QTab: VueConstructor<QTab> | ||
export const QTabPanel: VueConstructor<QTabPanel> | ||
export const QTabPanels: VueConstructor<QTabPanels> | ||
export const QMarkupTable: VueConstructor<QMarkupTable> | ||
export const QTable: VueConstructor<QTable> | ||
export const QTabs: VueConstructor<QTabs> | ||
export const QTd: VueConstructor<QTd> | ||
export const QTh: VueConstructor<QTh> | ||
export const QTime: VueConstructor<QTime> | ||
export const QTr: VueConstructor<QTr> | ||
export const QRouteTab: VueConstructor<QRouteTab> | ||
export const QTab: VueConstructor<QTab> | ||
export const QTabs: VueConstructor<QTabs> | ||
export const QTimeline: VueConstructor<QTimeline> | ||
@@ -1966,15 +1984,5 @@ export const QTimelineEntry: VueConstructor<QTimelineEntry> | ||
export const QTooltip: VueConstructor<QTooltip> | ||
export const QTr: VueConstructor<QTr> | ||
export const QTree: VueConstructor<QTree> | ||
export const QUploader: VueConstructor<QUploader> | ||
export const QVideo: VueConstructor<QVideo> | ||
export const Ripple: Ripple | ||
export const Screen: Screen | ||
export const Scroll: Scroll | ||
export const ScrollFire: ScrollFire | ||
export const SessionStorage: SessionStorage | ||
export const TouchHold: TouchHold | ||
export const TouchPan: TouchPan | ||
export const TouchRepeat: TouchRepeat | ||
export const TouchSwipe: TouchSwipe | ||
import './vue' |
@@ -53,7 +53,7 @@ { | ||
"attributes": [ | ||
"align", | ||
"separator", | ||
"active-color", | ||
"gutter", | ||
"separator-color", | ||
"active-color", | ||
"gutter" | ||
"align" | ||
], | ||
@@ -79,3 +79,2 @@ "description": "" | ||
"ripple", | ||
"align", | ||
"type", | ||
@@ -103,2 +102,3 @@ "to", | ||
"tabindex", | ||
"align", | ||
"stack", | ||
@@ -113,19 +113,6 @@ "stretch", | ||
}, | ||
"q-btn-group": { | ||
"attributes": [ | ||
"unelevated", | ||
"outline", | ||
"flat", | ||
"rounded", | ||
"push", | ||
"stretch", | ||
"glossy", | ||
"spread" | ||
], | ||
"description": "" | ||
}, | ||
"q-btn-dropdown": { | ||
"attributes": [ | ||
"value", | ||
"ripple", | ||
"align", | ||
"type", | ||
@@ -153,2 +140,3 @@ "to", | ||
"tabindex", | ||
"align", | ||
"stack", | ||
@@ -159,4 +147,6 @@ "stretch", | ||
"split", | ||
"disable-main-btn", | ||
"disable-dropdown", | ||
"content-style", | ||
"content-class", | ||
"content-style", | ||
"cover", | ||
@@ -166,10 +156,23 @@ "persistent", | ||
"menu-anchor", | ||
"menu-self", | ||
"disable-main-btn", | ||
"disable-dropdown" | ||
"menu-self" | ||
], | ||
"description": "" | ||
}, | ||
"q-btn-group": { | ||
"attributes": [ | ||
"spread", | ||
"outline", | ||
"flat", | ||
"unelevated", | ||
"rounded", | ||
"push", | ||
"stretch", | ||
"glossy" | ||
], | ||
"description": "" | ||
}, | ||
"q-btn-toggle": { | ||
"attributes": [ | ||
"ripple", | ||
"value", | ||
"options", | ||
@@ -180,2 +183,3 @@ "color", | ||
"toggle-text-color", | ||
"spread", | ||
"outline", | ||
@@ -194,5 +198,3 @@ "flat", | ||
"stack", | ||
"stretch", | ||
"spread", | ||
"ripple" | ||
"stretch" | ||
], | ||
@@ -210,6 +212,2 @@ "description": "" | ||
}, | ||
"q-card-section": { | ||
"attributes": [], | ||
"description": "" | ||
}, | ||
"q-card-actions": { | ||
@@ -222,4 +220,10 @@ "attributes": [ | ||
}, | ||
"q-card-section": { | ||
"attributes": [], | ||
"description": "" | ||
}, | ||
"q-carousel": { | ||
"attributes": [ | ||
"fullscreen", | ||
"value", | ||
"animated", | ||
@@ -230,3 +234,2 @@ "infinite", | ||
"transition-next", | ||
"fullscreen", | ||
"height", | ||
@@ -245,2 +248,9 @@ "padding", | ||
}, | ||
"q-carousel-control": { | ||
"attributes": [ | ||
"position", | ||
"offset" | ||
], | ||
"description": "" | ||
}, | ||
"q-carousel-slide": { | ||
@@ -254,9 +264,2 @@ "attributes": [ | ||
}, | ||
"q-carousel-control": { | ||
"attributes": [ | ||
"position", | ||
"offset" | ||
], | ||
"description": "" | ||
}, | ||
"q-chat-message": { | ||
@@ -282,2 +285,3 @@ "attributes": [ | ||
"attributes": [ | ||
"value", | ||
"val", | ||
@@ -294,4 +298,4 @@ "true-value", | ||
"tabindex", | ||
"toggle-indeterminate", | ||
"indeterminate-value" | ||
"indeterminate-value", | ||
"toggle-indeterminate" | ||
], | ||
@@ -309,2 +313,3 @@ "description": "" | ||
"text-color", | ||
"value", | ||
"selected", | ||
@@ -322,2 +327,3 @@ "square", | ||
"attributes": [ | ||
"value", | ||
"min", | ||
@@ -334,4 +340,3 @@ "max", | ||
"show-value", | ||
"reverse", | ||
"instant-feedback" | ||
"reverse" | ||
], | ||
@@ -342,4 +347,8 @@ "description": "" | ||
"attributes": [ | ||
"value", | ||
"default-value", | ||
"default-view", | ||
"format-model", | ||
"no-header", | ||
"no-footer", | ||
"disable", | ||
@@ -353,2 +362,3 @@ "readonly", | ||
"attributes": [ | ||
"value", | ||
"landscape", | ||
@@ -360,4 +370,5 @@ "color", | ||
"disable", | ||
"calendar", | ||
"default-year-month", | ||
"calendar", | ||
"default-view", | ||
"events", | ||
@@ -368,4 +379,3 @@ "event-color", | ||
"today-btn", | ||
"minimal", | ||
"default-view" | ||
"minimal" | ||
], | ||
@@ -376,2 +386,3 @@ "description": "" | ||
"attributes": [ | ||
"value", | ||
"landscape", | ||
@@ -397,9 +408,8 @@ "color", | ||
"content-style", | ||
"value", | ||
"persistent", | ||
"auto-close", | ||
"no-esc-dismiss", | ||
"no-backdrop-dismiss", | ||
"no-route-dismiss", | ||
"no-refocus", | ||
"no-focus", | ||
"auto-close", | ||
"seamless", | ||
@@ -409,6 +419,8 @@ "maximized", | ||
"full-height", | ||
"square", | ||
"position", | ||
"transition-show", | ||
"transition-hide" | ||
"transition-hide", | ||
"square", | ||
"no-refocus", | ||
"no-focus" | ||
], | ||
@@ -420,3 +432,7 @@ "description": "" | ||
"fullscreen", | ||
"value", | ||
"readonly", | ||
"square", | ||
"flat", | ||
"dense", | ||
"disable", | ||
@@ -430,5 +446,5 @@ "min-height", | ||
"toolbar-color", | ||
"toolbar-bg", | ||
"toolbar-text-color", | ||
"toolbar-toggle-color", | ||
"toolbar-bg", | ||
"toolbar-outline", | ||
@@ -438,6 +454,3 @@ "toolbar-push", | ||
"content-style", | ||
"content-class", | ||
"square", | ||
"flat", | ||
"dense" | ||
"content-class" | ||
], | ||
@@ -448,2 +461,7 @@ "description": "" | ||
"attributes": [ | ||
"value", | ||
"icon", | ||
"active-icon", | ||
"direction", | ||
"persistent", | ||
"outline", | ||
@@ -454,7 +472,3 @@ "push", | ||
"text-color", | ||
"glossy", | ||
"icon", | ||
"active-icon", | ||
"direction", | ||
"persistent" | ||
"glossy" | ||
], | ||
@@ -465,2 +479,3 @@ "description": "" | ||
"attributes": [ | ||
"icon", | ||
"outline", | ||
@@ -472,3 +487,2 @@ "push", | ||
"glossy", | ||
"icon", | ||
"to", | ||
@@ -495,2 +509,5 @@ "replace" | ||
"dark", | ||
"loading", | ||
"clearable", | ||
"clear-icon", | ||
"filled", | ||
@@ -500,17 +517,13 @@ "outlined", | ||
"standout", | ||
"square", | ||
"loading", | ||
"bottom-slots", | ||
"hide-bottom-space", | ||
"counter", | ||
"rounded", | ||
"square", | ||
"dense", | ||
"item-aligned", | ||
"counter", | ||
"clearable", | ||
"clear-icon", | ||
"items-aligned", | ||
"disable", | ||
"readonly", | ||
"autofocus", | ||
"maxlength", | ||
"max-values" | ||
"maxlength" | ||
], | ||
@@ -555,3 +568,3 @@ "description": "" | ||
"offset", | ||
"scroll-target", | ||
"scrollTarget", | ||
"disable", | ||
@@ -564,7 +577,7 @@ "reverse" | ||
"attributes": [ | ||
"transition-show", | ||
"transition-hide", | ||
"showing", | ||
"color", | ||
"size", | ||
"transition-show", | ||
"transition-hide", | ||
"dark" | ||
@@ -576,2 +589,5 @@ ], | ||
"attributes": [ | ||
"mask", | ||
"fill-mask", | ||
"unmasked-value", | ||
"error", | ||
@@ -591,2 +607,5 @@ "error-message", | ||
"dark", | ||
"loading", | ||
"clearable", | ||
"clear-icon", | ||
"filled", | ||
@@ -596,22 +615,16 @@ "outlined", | ||
"standout", | ||
"square", | ||
"loading", | ||
"bottom-slots", | ||
"hide-bottom-space", | ||
"counter", | ||
"rounded", | ||
"square", | ||
"dense", | ||
"item-aligned", | ||
"counter", | ||
"clearable", | ||
"clear-icon", | ||
"items-aligned", | ||
"disable", | ||
"readonly", | ||
"autofocus", | ||
"maxlength", | ||
"max-values", | ||
"mask", | ||
"fill-mask", | ||
"unmasked-value", | ||
"value", | ||
"type", | ||
"debounce", | ||
"maxlength", | ||
"autogrow", | ||
@@ -625,4 +638,6 @@ "input-class", | ||
"attributes": [ | ||
"value", | ||
"min", | ||
"max", | ||
"step", | ||
"color", | ||
@@ -635,7 +650,3 @@ "center-color", | ||
"angle", | ||
"indeterminate", | ||
"show-value", | ||
"reverse", | ||
"instant-feedback", | ||
"step", | ||
"tabindex", | ||
@@ -647,13 +658,7 @@ "disable", | ||
}, | ||
"q-layout": { | ||
"attributes": [ | ||
"container", | ||
"view" | ||
], | ||
"description": "" | ||
}, | ||
"q-drawer": { | ||
"attributes": [ | ||
"value", | ||
"side", | ||
"overlay", | ||
"side", | ||
"width", | ||
@@ -668,4 +673,4 @@ "mini", | ||
"show-if-above", | ||
"content-class", | ||
"content-style", | ||
"content-class", | ||
"no-swipe-open", | ||
@@ -678,2 +683,3 @@ "no-swipe-close" | ||
"attributes": [ | ||
"value", | ||
"reveal", | ||
@@ -687,2 +693,3 @@ "bordered", | ||
"attributes": [ | ||
"value", | ||
"reveal", | ||
@@ -695,2 +702,9 @@ "reveal-offset", | ||
}, | ||
"q-layout": { | ||
"attributes": [ | ||
"view", | ||
"container" | ||
], | ||
"description": "" | ||
}, | ||
"q-page": { | ||
@@ -715,12 +729,51 @@ "attributes": [ | ||
}, | ||
"q-list": { | ||
"q-linear-progress": { | ||
"attributes": [ | ||
"bordered", | ||
"dense", | ||
"separator", | ||
"value", | ||
"buffer", | ||
"color", | ||
"track-color", | ||
"dark", | ||
"padding" | ||
"reverse", | ||
"stripe", | ||
"indeterminate", | ||
"query", | ||
"rounded" | ||
], | ||
"description": "" | ||
}, | ||
"q-expansion-item": { | ||
"attributes": [ | ||
"to", | ||
"exact", | ||
"append", | ||
"replace", | ||
"active-class", | ||
"exact-active-class", | ||
"disable", | ||
"value", | ||
"icon", | ||
"expand-icon", | ||
"expand-icon-class", | ||
"label", | ||
"label-lines", | ||
"caption", | ||
"caption-lines", | ||
"dark", | ||
"dense", | ||
"duration", | ||
"header-inset-level", | ||
"content-inset-level", | ||
"expand-separator", | ||
"default-opened", | ||
"expand-icon-toggle", | ||
"switch-toggle-side", | ||
"dense-toggle", | ||
"group", | ||
"popup", | ||
"header-style", | ||
"header-class" | ||
], | ||
"description": "" | ||
}, | ||
"q-item": { | ||
@@ -742,7 +795,16 @@ "attributes": [ | ||
"tag", | ||
"focused", | ||
"manual-focus" | ||
"manual-focus", | ||
"focused" | ||
], | ||
"description": "" | ||
}, | ||
"q-item-label": { | ||
"attributes": [ | ||
"overline", | ||
"caption", | ||
"header", | ||
"lines" | ||
], | ||
"description": "" | ||
}, | ||
"q-item-section": { | ||
@@ -758,41 +820,9 @@ "attributes": [ | ||
}, | ||
"q-item-label": { | ||
"q-list": { | ||
"attributes": [ | ||
"overline", | ||
"caption", | ||
"header", | ||
"lines" | ||
], | ||
"description": "" | ||
}, | ||
"q-expansion-item": { | ||
"attributes": [ | ||
"to", | ||
"exact", | ||
"append", | ||
"replace", | ||
"active-class", | ||
"exact-active-class", | ||
"disable", | ||
"icon", | ||
"label", | ||
"label-lines", | ||
"caption", | ||
"caption-lines", | ||
"bordered", | ||
"dense", | ||
"separator", | ||
"dark", | ||
"dense", | ||
"expand-icon", | ||
"expand-icon-class", | ||
"duration", | ||
"header-inset-level", | ||
"content-inset-level", | ||
"expand-separator", | ||
"default-opened", | ||
"expand-icon-toggle", | ||
"switch-toggle-side", | ||
"dense-toggle", | ||
"group", | ||
"popup", | ||
"header-style", | ||
"header-class" | ||
"padding" | ||
], | ||
@@ -814,18 +844,19 @@ "description": "" | ||
"content-style", | ||
"transition-show", | ||
"transition-hide", | ||
"persistent", | ||
"auto-close", | ||
"no-parent-event", | ||
"no-refocus", | ||
"no-focus", | ||
"value", | ||
"fit", | ||
"cover", | ||
"square", | ||
"anchor", | ||
"self", | ||
"offset", | ||
"no-parent-event", | ||
"touch-position", | ||
"persistent", | ||
"auto-close", | ||
"square", | ||
"no-refocus", | ||
"no-focus", | ||
"max-height", | ||
"max-width" | ||
"max-width", | ||
"transition-show", | ||
"transition-hide" | ||
], | ||
@@ -856,2 +887,3 @@ "description": "" | ||
"attributes": [ | ||
"value", | ||
"options", | ||
@@ -881,2 +913,3 @@ "type", | ||
"attributes": [ | ||
"value", | ||
"min", | ||
@@ -907,2 +940,3 @@ "max", | ||
"attributes": [ | ||
"value", | ||
"title", | ||
@@ -914,5 +948,5 @@ "buttons", | ||
"color", | ||
"validate", | ||
"content-class", | ||
"content-style", | ||
"validate", | ||
"disable" | ||
@@ -926,2 +960,3 @@ ], | ||
"context-menu", | ||
"value", | ||
"breakpoint" | ||
@@ -931,16 +966,2 @@ ], | ||
}, | ||
"q-linear-progress": { | ||
"attributes": [ | ||
"buffer", | ||
"color", | ||
"track-color", | ||
"dark", | ||
"reverse", | ||
"stripe", | ||
"indeterminate", | ||
"query", | ||
"rounded" | ||
], | ||
"description": "" | ||
}, | ||
"q-pull-to-refresh": { | ||
@@ -957,2 +978,3 @@ "attributes": [ | ||
"attributes": [ | ||
"value", | ||
"val", | ||
@@ -972,22 +994,23 @@ "label", | ||
"attributes": [ | ||
"value", | ||
"min", | ||
"max", | ||
"step", | ||
"drag-range", | ||
"drag-range-only", | ||
"color", | ||
"label", | ||
"label-color", | ||
"dark", | ||
"dense", | ||
"label", | ||
"left-label-color", | ||
"right-label-color", | ||
"left-label-value", | ||
"right-label-value", | ||
"label-always", | ||
"markers", | ||
"snap", | ||
"dark", | ||
"dense", | ||
"disable", | ||
"readonly", | ||
"tabindex", | ||
"drag-range", | ||
"drag-only-range", | ||
"left-label-color", | ||
"right-label-color", | ||
"left-label-value", | ||
"right-label-value" | ||
"tabindex" | ||
], | ||
@@ -998,2 +1021,3 @@ "description": "" | ||
"attributes": [ | ||
"value", | ||
"max", | ||
@@ -1035,2 +1059,5 @@ "icon", | ||
"dark", | ||
"loading", | ||
"clearable", | ||
"clear-icon", | ||
"filled", | ||
@@ -1040,21 +1067,16 @@ "outlined", | ||
"standout", | ||
"square", | ||
"loading", | ||
"bottom-slots", | ||
"hide-bottom-space", | ||
"counter", | ||
"rounded", | ||
"square", | ||
"dense", | ||
"item-aligned", | ||
"counter", | ||
"clearable", | ||
"clear-icon", | ||
"items-aligned", | ||
"disable", | ||
"readonly", | ||
"autofocus", | ||
"maxlength", | ||
"max-values", | ||
"value", | ||
"multiple", | ||
"display-value", | ||
"display-value-sanitize", | ||
"dropdown-icon", | ||
"options", | ||
@@ -1066,2 +1088,4 @@ "option-value", | ||
"hide-dropdown-icon", | ||
"dropdown-icon", | ||
"max-values", | ||
"options-dense", | ||
@@ -1104,2 +1128,3 @@ "options-dark", | ||
"attributes": [ | ||
"value", | ||
"min", | ||
@@ -1109,13 +1134,13 @@ "max", | ||
"color", | ||
"label", | ||
"label-color", | ||
"dark", | ||
"dense", | ||
"label", | ||
"label-value", | ||
"label-always", | ||
"markers", | ||
"snap", | ||
"dark", | ||
"dense", | ||
"disable", | ||
"readonly", | ||
"tabindex", | ||
"label-value" | ||
"tabindex" | ||
], | ||
@@ -1130,4 +1155,4 @@ "description": "" | ||
"attributes": [ | ||
"size", | ||
"color", | ||
"size", | ||
"thickness" | ||
@@ -1139,4 +1164,4 @@ ], | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1147,4 +1172,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1155,4 +1180,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1163,4 +1188,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1171,4 +1196,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1179,4 +1204,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1187,4 +1212,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1195,4 +1220,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1203,4 +1228,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1211,4 +1236,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1219,4 +1244,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1227,4 +1252,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1235,4 +1260,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1243,4 +1268,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1251,4 +1276,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1259,4 +1284,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1267,4 +1292,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1275,4 +1300,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1283,4 +1308,4 @@ "description": "" | ||
"attributes": [ | ||
"color", | ||
"size" | ||
"size", | ||
"color" | ||
], | ||
@@ -1291,10 +1316,11 @@ "description": "" | ||
"attributes": [ | ||
"value", | ||
"horizontal", | ||
"limits", | ||
"disable", | ||
"dark", | ||
"before-class", | ||
"after-class", | ||
"separator-class", | ||
"separator-style" | ||
"separator-style", | ||
"dark" | ||
], | ||
@@ -1325,2 +1351,3 @@ "description": "" | ||
"attributes": [ | ||
"value", | ||
"animated", | ||
@@ -1338,4 +1365,4 @@ "infinite", | ||
"contracted", | ||
"inactive-icon", | ||
"inactive-color", | ||
"inactive-icon", | ||
"done-icon", | ||
@@ -1354,4 +1381,12 @@ "done-color", | ||
}, | ||
"q-tab-panel": { | ||
"attributes": [ | ||
"name", | ||
"disable" | ||
], | ||
"description": "" | ||
}, | ||
"q-tab-panels": { | ||
"attributes": [ | ||
"value", | ||
"animated", | ||
@@ -1365,6 +1400,10 @@ "infinite", | ||
}, | ||
"q-tab-panel": { | ||
"q-markup-table": { | ||
"attributes": [ | ||
"name", | ||
"disable" | ||
"dense", | ||
"dark", | ||
"flat", | ||
"bordered", | ||
"separator", | ||
"wrap-cells" | ||
], | ||
@@ -1376,10 +1415,2 @@ "description": "" | ||
"fullscreen", | ||
"sort-method", | ||
"filter", | ||
"filter-method", | ||
"pagination", | ||
"rows-per-page-options", | ||
"selection", | ||
"selected", | ||
"visible-columns", | ||
"data", | ||
@@ -1391,2 +1422,3 @@ "row-key", | ||
"columns", | ||
"visible-columns", | ||
"loading", | ||
@@ -1409,7 +1441,14 @@ "title", | ||
"table-style", | ||
"table-class" | ||
"table-class", | ||
"filter", | ||
"filter-method", | ||
"pagination", | ||
"rows-per-page-options", | ||
"selection", | ||
"selected", | ||
"sort-method" | ||
], | ||
"description": "" | ||
}, | ||
"q-th": { | ||
"q-td": { | ||
"attributes": [ | ||
@@ -1421,10 +1460,4 @@ "props", | ||
}, | ||
"q-tr": { | ||
"q-th": { | ||
"attributes": [ | ||
"props" | ||
], | ||
"description": "" | ||
}, | ||
"q-td": { | ||
"attributes": [ | ||
"props", | ||
@@ -1435,30 +1468,24 @@ "auto-width" | ||
}, | ||
"q-markup-table": { | ||
"q-tr": { | ||
"attributes": [ | ||
"dense", | ||
"dark", | ||
"flat", | ||
"bordered", | ||
"separator", | ||
"wrap-cells" | ||
"props" | ||
], | ||
"description": "" | ||
}, | ||
"q-tabs": { | ||
"q-route-tab": { | ||
"attributes": [ | ||
"align", | ||
"breakpoint", | ||
"vertical", | ||
"shrink", | ||
"active-color", | ||
"active-bg-color", | ||
"indicator-color", | ||
"left-icon", | ||
"right-icon", | ||
"top-indicator", | ||
"switch-indicator", | ||
"narrow-indicator", | ||
"inline-label", | ||
"to", | ||
"exact", | ||
"append", | ||
"replace", | ||
"active-class", | ||
"exact-active-class", | ||
"disable", | ||
"ripple", | ||
"icon", | ||
"label", | ||
"alert", | ||
"name", | ||
"no-caps", | ||
"dense" | ||
"tabindex" | ||
], | ||
@@ -1480,18 +1507,19 @@ "description": "" | ||
}, | ||
"q-route-tab": { | ||
"q-tabs": { | ||
"attributes": [ | ||
"ripple", | ||
"icon", | ||
"label", | ||
"alert", | ||
"name", | ||
"value", | ||
"vertical", | ||
"align", | ||
"breakpoint", | ||
"active-color", | ||
"active-bg-color", | ||
"indicator-color", | ||
"left-icon", | ||
"right-icon", | ||
"shrink", | ||
"switch-indicator", | ||
"narrow-indicator", | ||
"inline-label", | ||
"no-caps", | ||
"tabindex", | ||
"disable", | ||
"to", | ||
"exact", | ||
"append", | ||
"replace", | ||
"active-class", | ||
"exact-active-class" | ||
"dense" | ||
], | ||
@@ -1524,2 +1552,3 @@ "description": "" | ||
"attributes": [ | ||
"value", | ||
"val", | ||
@@ -1556,13 +1585,13 @@ "true-value", | ||
"attributes": [ | ||
"target", | ||
"context-menu", | ||
"content-class", | ||
"content-style", | ||
"value", | ||
"max-height", | ||
"max-width", | ||
"transition-show", | ||
"transition-hide", | ||
"max-height", | ||
"max-width", | ||
"anchor", | ||
"self", | ||
"offset", | ||
"target", | ||
"delay" | ||
@@ -1616,2 +1645,3 @@ ], | ||
"readonly", | ||
"factory", | ||
"url", | ||
@@ -1621,8 +1651,6 @@ "method", | ||
"headers", | ||
"fields", | ||
"form-fields", | ||
"with-credentials", | ||
"send-raw", | ||
"batch", | ||
"factory" | ||
"batch" | ||
], | ||
@@ -1629,0 +1657,0 @@ "description": "" |
{ | ||
"name": "quasar", | ||
"version": "1.0.0-beta.20", | ||
"version": "1.0.0-beta.21", | ||
"description": "High performance, Material Design 2, full front end stack with Vue.js -- build SPA, SSR, PWA, Hybrid Mobile Apps and Electron apps, all simultaneously using the same codebase", | ||
@@ -76,4 +76,2 @@ "module": "src/index.esm.js", | ||
"json-beautify": "^1.0.1", | ||
"lodash.clonedeep": "^4.5.0", | ||
"lodash.kebabcase": "^4.1.1", | ||
"lru-cache": "^5.1.1", | ||
@@ -80,0 +78,0 @@ "memory-fs": "^0.4.1", |
@@ -116,3 +116,3 @@ ![Quasar Framework logo](https://cdn.rawgit.com/quasarframework/quasar-art/863c14bd/dist/svg/quasar-logo-full-inline.svg) | ||
**Please use the appropriate Github repo to report issues. See "Related Components" above.** For example, a bug related to CLI should be reported to the CLI repo, one related to build issues to Quasar Framework Templates repo and so on. | ||
**Please use the appropriate GitHub repo to report issues. See "Related Components" above.** For example, a bug related to CLI should be reported to the CLI repo, one related to build issues to Quasar Framework Templates repo and so on. | ||
@@ -119,0 +119,0 @@ - The issue list of the repository is **exclusively** for bug reports and feature requests. For anything else please use the [Community Forum](https://forum.quasar-framework.org). |
@@ -53,2 +53,6 @@ import Vue from 'vue' | ||
render (h) { | ||
const label = this.$scopedSlots.label !== void 0 | ||
? this.$scopedSlots.label() | ||
: [] | ||
const Arrow = [ | ||
@@ -114,3 +118,3 @@ h(QIcon, { | ||
} | ||
}, Arrow) | ||
}, label.concat(Arrow)) | ||
} | ||
@@ -132,3 +136,3 @@ | ||
} | ||
}) | ||
}, label) | ||
@@ -135,0 +139,0 @@ return h(QBtnGroup, { |
@@ -95,2 +95,6 @@ { | ||
"extends": "default" | ||
}, | ||
"label": { | ||
"desc": "Customize main button's content through this slot, unless you're using the 'icon' and 'label' props" | ||
} | ||
@@ -97,0 +101,0 @@ }, |
@@ -6,2 +6,4 @@ import Vue from 'vue' | ||
import slot from '../../utils/slot.js' | ||
export default Vue.extend({ | ||
@@ -18,3 +20,5 @@ name: 'QBtnToggle', | ||
required: true, | ||
validator: v => v.every(opt => ('label' in opt || 'icon' in opt) && 'value' in opt) | ||
validator: v => v.every( | ||
opt => ('label' in opt || 'icon' in opt || 'slot' in opt) && 'value' in opt | ||
) | ||
}, | ||
@@ -112,5 +116,5 @@ | ||
} | ||
}) | ||
}, opt.slot !== void 0 ? slot(this, opt.slot) : void 0) | ||
)) | ||
} | ||
}) |
@@ -35,2 +35,7 @@ { | ||
}, | ||
"slot": { | ||
"type": "String", | ||
"desc": "Slot name to use for this button content; Useful for customizing content or even add tooltips", | ||
"examples": [ "mySlot" ] | ||
}, | ||
"...props": { | ||
@@ -37,0 +42,0 @@ "type": "Any", |
@@ -41,2 +41,7 @@ import Vue from 'vue' | ||
defaultValue: String, | ||
defaultView: { | ||
type: String, | ||
default: 'spectrum', | ||
validator: v => ['spectrum', 'tune', 'palette'] | ||
}, | ||
@@ -49,2 +54,5 @@ formatModel: { | ||
noHeader: Boolean, | ||
noFooter: Boolean, | ||
disable: Boolean, | ||
@@ -64,3 +72,3 @@ readonly: Boolean, | ||
: (this.formatModel.startsWith('hex') ? 'hex' : 'rgb'), | ||
view: 'spectrum', | ||
view: this.defaultView, | ||
model: this.__parseModel(this.value || this.defaultValue) | ||
@@ -163,2 +171,12 @@ } | ||
render (h) { | ||
const child = [ this.__getContent(h) ] | ||
this.noHeader !== true && child.unshift( | ||
this.__getHeader(h) | ||
) | ||
this.noFooter !== true && child.push( | ||
this.__getFooter(h) | ||
) | ||
return h('div', { | ||
@@ -170,7 +188,3 @@ staticClass: 'q-color-picker', | ||
} | ||
}, [ | ||
this.__getHeader(h), | ||
this.__getContent(h), | ||
this.__getFooter(h) | ||
]) | ||
}, child) | ||
}, | ||
@@ -177,0 +191,0 @@ |
@@ -16,2 +16,10 @@ { | ||
"default-view": { | ||
"type": "String", | ||
"desc": "The default view of the picker", | ||
"default": "spectrum", | ||
"values": [ "spectrum", "tune", "palette" ], | ||
"category": "behavior" | ||
}, | ||
"format-model": { | ||
@@ -26,2 +34,14 @@ "type": "String", | ||
"no-header": { | ||
"type": "Boolean", | ||
"desc": "Do not render header", | ||
"category": "behavior" | ||
}, | ||
"no-footer": { | ||
"type": "Boolean", | ||
"desc": "Do not render footer; Useful when you want a specific view ('default-view' prop) and don't want the user to be able to switch it", | ||
"category": "behavior" | ||
}, | ||
"disable": { | ||
@@ -28,0 +48,0 @@ "extends": "disable" |
@@ -48,2 +48,4 @@ import Vue from 'vue' | ||
return this.actions.map(action => { | ||
const img = action.avatar || action.img | ||
return action.label === void 0 | ||
@@ -69,6 +71,10 @@ ? h(QSeparator, { | ||
? h(QIcon, { props: { name: action.icon, color: action.color } }) | ||
: h('img', { | ||
attrs: { src: action.avatar || action.img }, | ||
staticClass: action.avatar ? 'q-bottom-sheet__avatar' : null | ||
}), | ||
: ( | ||
img | ||
? h('img', { | ||
attrs: { src: img }, | ||
staticClass: action.avatar ? 'q-bottom-sheet__avatar' : null | ||
}) | ||
: h('div', { staticClass: 'q-bottom-sheet__empty-icon' }) | ||
), | ||
@@ -82,2 +88,4 @@ h('div', [ action.label ]) | ||
return this.actions.map(action => { | ||
const img = action.avatar || action.img | ||
return action.label === void 0 | ||
@@ -103,6 +111,10 @@ ? h(QSeparator, { props: { spaced: true, dark: this.dark } }) | ||
? h(QIcon, { props: { name: action.icon, color: action.color } }) | ||
: h('img', { | ||
attrs: { src: action.avatar || action.img }, | ||
staticClass: action.avatar ? 'q-bottom-sheet__avatar' : null | ||
}) | ||
: ( | ||
img | ||
? h('img', { | ||
attrs: { src: img }, | ||
staticClass: action.avatar ? 'q-bottom-sheet__avatar' : null | ||
}) | ||
: null | ||
) | ||
]), | ||
@@ -109,0 +121,0 @@ h(QItemSection, [ action.label ]) |
@@ -229,3 +229,14 @@ function getBlockElement (el, parent) { | ||
document.execCommand(cmd, false, param) | ||
if (this.vm.$q.platform.is.ie === true || this.vm.$q.platform.is.edge === true) { | ||
// workaround for IE/Edge, otherwise it messes up | ||
// the DOM of toolbar | ||
const dummyDiv = document.createElement('div') | ||
this.vm.$refs.content.appendChild(dummyDiv) | ||
document.execCommand(cmd, false, param) | ||
dummyDiv.remove() | ||
} | ||
else { | ||
document.execCommand(cmd, false, param) | ||
} | ||
done() | ||
@@ -232,0 +243,0 @@ } |
@@ -292,3 +292,5 @@ import Vue from 'vue' | ||
this.focus() | ||
this.$q.platform.is.ie && this.$nextTick(this.__onInput) | ||
if (this.$q.platform.is.ie === true || this.$q.platform.is.edge === true) { | ||
this.$nextTick(this.__onInput) | ||
} | ||
if (update) { | ||
@@ -295,0 +297,0 @@ this.refreshToolbar() |
@@ -496,2 +496,12 @@ import Vue from 'vue' | ||
render (h) { | ||
const directives = [{ | ||
name: 'touch-pan', | ||
modifiers: { | ||
horizontal: true, | ||
mouse: true, | ||
mouseAllDir: true | ||
}, | ||
value: this.__closeByTouch | ||
}] | ||
const child = [ | ||
@@ -520,14 +530,4 @@ this.noSwipeOpen !== true && this.belowBreakpoint === true | ||
: null, | ||
on: { | ||
click: this.hide | ||
}, | ||
directives: [{ | ||
name: 'touch-pan', | ||
modifiers: { | ||
horizontal: true, | ||
mouse: true, | ||
mouseAllDir: true | ||
}, | ||
value: this.__closeByTouch | ||
}] | ||
on: { click: this.hide }, | ||
directives | ||
}) : null | ||
@@ -560,3 +560,6 @@ ] | ||
style: this.style, | ||
on: this.onNativeEvents | ||
on: this.onNativeEvents, | ||
directives: this.mobileView === true && this.noSwipeClose !== true | ||
? directives | ||
: void 0 | ||
}, content) | ||
@@ -563,0 +566,0 @@ ])) |
@@ -113,3 +113,3 @@ { | ||
"type": "Boolean", | ||
"desc": "Disables the default behavior where drawer can be swiped out of view; Useful for iOS platforms where it might interfere with Safari's 'swipe to go to previous/next page' feature", | ||
"desc": "Disables the default behavior where drawer can be swiped out of view (applies to drawer content only); Useful for iOS platforms where it might interfere with Safari's 'swipe to go to previous/next page' feature", | ||
"category": "behavior" | ||
@@ -116,0 +116,0 @@ } |
@@ -513,4 +513,19 @@ { | ||
"desc": "Recomputes menu position" | ||
}, | ||
"updateInputValue": { | ||
"desc": "If 'use-input' is specified, this updates the value that it holds", | ||
"params": { | ||
"value": { | ||
"type": "String", | ||
"desc": "String to set the input value to", | ||
"examples": [ "hotel" ] | ||
}, | ||
"noFilter": { | ||
"type": "Boolean", | ||
"desc": "Set to true if you don't want the filter (if any) to be also triggered" | ||
} | ||
} | ||
} | ||
} | ||
} |
@@ -155,7 +155,4 @@ import { between } from '../../utils/format.js' | ||
this.__updateValue(true) | ||
this.__blur() | ||
if (this.__nextFocus !== void 0 && !this.$q.platform.is.mobile) { | ||
this.$refs[this.__nextFocus + 'Thumb'].focus() | ||
} | ||
document.removeEventListener('mouseup', this.__deactivate, true) | ||
@@ -166,3 +163,3 @@ }, | ||
this.__updatePosition(evt, this.__getDragging(evt)) | ||
this.__updateValue() | ||
this.__updateValue(true) | ||
}, | ||
@@ -169,0 +166,0 @@ |
@@ -271,11 +271,17 @@ { | ||
"params": { | ||
"files": { | ||
"type": "Array", | ||
"desc": "Uploaded files", | ||
"__exemption": [ "examples" ] | ||
}, | ||
"xhr": { | ||
"info": { | ||
"type": "Object", | ||
"desc": "XMLHttpRequest that has been used to upload this batch of files", | ||
"__exemption": [ "examples" ] | ||
"desc": "Object containing information about the event", | ||
"definition": { | ||
"files": { | ||
"type": "Array", | ||
"desc": "Uploaded files", | ||
"__exemption": [ "examples" ] | ||
}, | ||
"xhr": { | ||
"type": "Object", | ||
"desc": "XMLHttpRequest that has been used to upload this batch of files", | ||
"__exemption": [ "examples" ] | ||
} | ||
} | ||
} | ||
@@ -288,11 +294,17 @@ } | ||
"params": { | ||
"files": { | ||
"type": "Array", | ||
"desc": "Files which encountered error", | ||
"__exemption": [ "examples" ] | ||
}, | ||
"xhr": { | ||
"info": { | ||
"type": "Object", | ||
"desc": "XMLHttpRequest that has been used to upload this batch of files", | ||
"__exemption": [ "examples" ] | ||
"desc": "Object containing information about the event", | ||
"definition": { | ||
"files": { | ||
"type": "Array", | ||
"desc": "Files which encountered error", | ||
"__exemption": [ "examples" ] | ||
}, | ||
"xhr": { | ||
"type": "Object", | ||
"desc": "XMLHttpRequest that has been used to upload this batch of files", | ||
"__exemption": [ "examples" ] | ||
} | ||
} | ||
} | ||
@@ -305,11 +317,17 @@ } | ||
"params": { | ||
"files": { | ||
"type": "Array", | ||
"desc": "Files which are now uploading", | ||
"__exemption": [ "examples" ] | ||
}, | ||
"xhr": { | ||
"info": { | ||
"type": "Object", | ||
"desc": "XMLHttpRequest used for uploading", | ||
"__exemption": [ "examples" ] | ||
"desc": "Object containing information about the event", | ||
"definition": { | ||
"files": { | ||
"type": "Array", | ||
"desc": "Files which are now uploading", | ||
"__exemption": [ "examples" ] | ||
}, | ||
"xhr": { | ||
"type": "Object", | ||
"desc": "XMLHttpRequest used for uploading", | ||
"__exemption": [ "examples" ] | ||
} | ||
} | ||
} | ||
@@ -316,0 +334,0 @@ } |
@@ -178,9 +178,5 @@ import QBtn from '../btn/QBtn.js' | ||
this.queuedFiles = this.queuedFiles.filter(f => f.name !== file.name) | ||
this.__emit('removed', [ file ]) | ||
this.$emit('removed', [ file ]) | ||
}, | ||
__emit (evt, payload) { | ||
this.$listeners[evt] !== void 0 && this.$emit(evt, payload) | ||
}, | ||
__getProgressLabel (p) { | ||
@@ -292,3 +288,3 @@ return (p * 100).toFixed(2) + '%' | ||
this.queuedFiles = this.queuedFiles.concat(files) | ||
this.__emit('added', files) | ||
this.$emit('added', files) | ||
this.autoUpload === true && this.upload() | ||
@@ -295,0 +291,0 @@ }) |
@@ -84,14 +84,18 @@ function getFn (prop) { | ||
__runFactory (payload) { | ||
__runFactory (files) { | ||
this.workingThreads++ | ||
if (typeof this.factory !== 'function') { | ||
this.__uploadFiles(payload, {}) | ||
this.__uploadFiles(files, {}) | ||
return | ||
} | ||
const res = this.factory(payload) | ||
const res = this.factory(files) | ||
if (!res) { | ||
this.$emit('factory-fail') | ||
this.$emit( | ||
'factory-failed', | ||
new Error('QUploader: factory() does not return properly'), | ||
files | ||
) | ||
this.workingThreads-- | ||
@@ -105,3 +109,3 @@ } | ||
this.promises = this.promises.filter(p => p !== res) | ||
this.__uploadFiles(payload, factory) | ||
this.__uploadFiles(files, factory) | ||
} | ||
@@ -112,6 +116,2 @@ }).catch(err => { | ||
const files = Array.isArray(payload) | ||
? payload | ||
: [ payload ] | ||
this.queuedFiles = this.queuedFiles.concat(files) | ||
@@ -126,3 +126,3 @@ files.forEach(f => { this.__updateFile(f, 'failed') }) | ||
else { | ||
this.__uploadFiles(payload, res || {}) | ||
this.__uploadFiles(files, res || {}) | ||
} | ||
@@ -200,3 +200,3 @@ }, | ||
files.forEach(f => { this.__updateFile(f, 'uploaded') }) | ||
this.__emit('uploaded', { files, xhr }) | ||
this.$emit('uploaded', { files, xhr }) | ||
} | ||
@@ -208,3 +208,3 @@ else { | ||
files.forEach(f => { this.__updateFile(f, 'failed') }) | ||
this.__emit('failed', { files, xhr }) | ||
this.$emit('failed', { files, xhr }) | ||
} | ||
@@ -242,7 +242,7 @@ | ||
this.__emit('uploading', { files, xhr }) | ||
this.$emit('uploading', { files, xhr }) | ||
this.xhrs.push(xhr) | ||
if (sendRaw === true) { | ||
xhr.send(files) | ||
xhr.send(new Blob(files)) | ||
} | ||
@@ -249,0 +249,0 @@ else { |
@@ -13,15 +13,8 @@ import Vue from 'vue' | ||
if (Vue === void 0) { | ||
console.error('[ Quasar ] Vue is required to run. Please add a script tag for it before loading Quasar.') | ||
} | ||
else { | ||
Vue.use({ install }, { | ||
components, | ||
directives, | ||
plugins, | ||
config: typeof window !== 'undefined' | ||
? (window.quasarConfig || {}) | ||
: {} | ||
}) | ||
} | ||
Vue.use({ install }, { | ||
components, | ||
directives, | ||
plugins, | ||
config: window.quasarConfig || {} | ||
}) | ||
@@ -28,0 +21,0 @@ export default { |
@@ -1,20 +0,3 @@ | ||
import Vue from 'vue' | ||
import { getVm } from '../utils/vm.js' | ||
let inject | ||
function fillInject (root) { | ||
const | ||
options = (new Vue()).$root.$options, | ||
skip = ['el', 'created', 'activated', 'deactivated', 'beforeMount', 'methods', 'mounted', 'render', 'mixins'] | ||
.concat(Object.keys(options).filter(key => options[key] !== null)) | ||
inject = {} | ||
Object.keys(root) | ||
.filter(name => skip.includes(name) === false) | ||
.forEach(p => { | ||
inject[p] = root[p] | ||
}) | ||
} | ||
export default { | ||
@@ -49,9 +32,3 @@ inheritAttrs: false, | ||
beforeMount () { | ||
if (inject === void 0) { | ||
fillInject(this.$root.$options) | ||
} | ||
const obj = { | ||
...inject, | ||
inheritAttrs: false, | ||
@@ -79,3 +56,3 @@ | ||
this.__portal = new Vue(obj).$mount() | ||
this.__portal = getVm(this, obj).$mount() | ||
}, | ||
@@ -82,0 +59,0 @@ |
@@ -171,2 +171,14 @@ { | ||
"default": "scale" | ||
}, | ||
"component": { | ||
"type": "Any", | ||
"desc": "Use custom dialog component; use along with 'root' prop where possible; if using this prop, all others described here will be supplied to your custom component", | ||
"__exemption": [ "examples" ] | ||
}, | ||
"root": { | ||
"type": "Object", | ||
"desc": "Required if using 'component' prop and you need access to vuex store, router and so on; Specify root of your App", | ||
"examples": [ "root: this.$root" ] | ||
} | ||
@@ -173,0 +185,0 @@ } |
import Vue from 'vue' | ||
import { isSSR } from '../plugins/Platform.js' | ||
import { getVm } from './vm.js' | ||
@@ -12,3 +13,3 @@ const ssrAPI = { | ||
export default function (DefaultComponent) { | ||
return ({ className, class: klass, style, component, ...props }) => { | ||
return ({ className, class: klass, style, component, root, ...props }) => { | ||
if (isSSR === true) { return ssrAPI } | ||
@@ -74,4 +75,3 @@ | ||
const vmData = {} | ||
Vue.util.defineReactive(vmData, 'props', props) | ||
Vue.observable(props) | ||
@@ -82,3 +82,7 @@ const DialogComponent = component !== void 0 | ||
let vm = new Vue({ | ||
const attrs = component === void 0 | ||
? props | ||
: void 0 | ||
let vm = getVm(root, { | ||
el: node, | ||
@@ -89,3 +93,4 @@ | ||
ref: 'dialog', | ||
props: vmData.props, | ||
props, | ||
attrs, | ||
on | ||
@@ -92,0 +97,0 @@ }) |
@@ -0,1 +1,26 @@ | ||
import Vue from 'vue' | ||
let inject | ||
function fillInject (root) { | ||
const | ||
options = (new Vue()).$root.$options, | ||
skip = [ 'el', 'methods', 'render', 'mixins' ] | ||
.concat(Vue.config._lifecycleHooks) | ||
.concat(Object.keys(options).filter(key => options[key] !== null)) | ||
inject = {} | ||
Object.keys(root) | ||
.filter(name => skip.includes(name) === false) | ||
.forEach(p => { | ||
inject[p] = root[p] | ||
}) | ||
} | ||
export function getVm (root, vm) { | ||
inject === void 0 && root !== void 0 && fillInject(root.$root.$options) | ||
return new Vue(inject !== void 0 ? { ...inject, ...vm } : vm) | ||
} | ||
export function getAllChildren (vm) { | ||
@@ -2,0 +27,0 @@ let children = vm.$children |
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 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
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
5538546
51
121819