Fixed #595 - Typescript definitions improvement
parent
9aa51b2877
commit
1d72c920a1
|
@ -1,10 +1,12 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class Accordion extends Vue {
|
||||
declare class Accordion extends Vue {
|
||||
multiple?: boolean;
|
||||
$emit(eventName: 'tab-open', e: {originalEvent: Event, tab: any}): this;
|
||||
$emit(eventName: 'tab-close', e: {originalEvent: Event, tab: any}): this;
|
||||
$slots: {
|
||||
'': VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Accordion;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class AccordionTab extends Vue {
|
||||
declare class AccordionTab extends Vue {
|
||||
header?: string;
|
||||
active?: boolean;
|
||||
disabled?: boolean;
|
||||
|
@ -8,4 +8,6 @@ export declare class AccordionTab extends Vue {
|
|||
'': VNode[];
|
||||
header: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default AccordionTab;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class AutoComplete extends Vue {
|
||||
declare class AutoComplete extends Vue {
|
||||
modelValue?: any;
|
||||
suggestions?: any[];
|
||||
field?: string;
|
||||
|
@ -20,3 +20,5 @@ export declare class AutoComplete extends Vue {
|
|||
list: VNode[];
|
||||
};
|
||||
}
|
||||
|
||||
export default AutoComplete;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class BlockUI extends Vue {
|
||||
declare class BlockUI extends Vue {
|
||||
blocked?: boolean;
|
||||
fullScreen?: boolean;
|
||||
baseZIndex?: number;
|
||||
|
@ -10,4 +10,6 @@ export declare class BlockUI extends Vue {
|
|||
$slots: {
|
||||
'': VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default BlockUI;
|
|
@ -1,6 +1,8 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class Breadcrumb extends Vue {
|
||||
declare class Breadcrumb extends Vue {
|
||||
home?: any;
|
||||
model?: any[];
|
||||
}
|
||||
}
|
||||
|
||||
export default Breadcrumb;
|
|
@ -1,9 +1,11 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class Button extends Vue {
|
||||
declare class Button extends Vue {
|
||||
label?: string;
|
||||
icon?: string;
|
||||
iconPos?: string;
|
||||
badge?: string;
|
||||
badgeClass?: string;
|
||||
}
|
||||
}
|
||||
|
||||
export default Button;
|
|
@ -13,7 +13,7 @@ export interface LocaleSettings {
|
|||
weekHeader?: string;
|
||||
}
|
||||
|
||||
export declare class Calendar extends Vue {
|
||||
declare class Calendar extends Vue {
|
||||
modelValue?: Date | Date[];
|
||||
selectionMode?: string;
|
||||
dateFormat?: string;
|
||||
|
@ -65,4 +65,6 @@ export declare class Calendar extends Vue {
|
|||
date: VNode[];
|
||||
footer: VNode[];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export default Calendar;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class Card extends Vue {
|
||||
declare class Card extends Vue {
|
||||
$slots: {
|
||||
header: VNode[];
|
||||
title: VNode[];
|
||||
|
@ -8,4 +8,6 @@ export declare class Card extends Vue {
|
|||
content: VNode[];
|
||||
footer: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Card;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, {VNode} from 'vue';
|
||||
|
||||
export declare class Carousel extends Vue {
|
||||
declare class Carousel extends Vue {
|
||||
value?: any;
|
||||
page?: number;
|
||||
numVisible?: number;
|
||||
|
@ -18,4 +18,6 @@ export declare class Carousel extends Vue {
|
|||
header: VNode[];
|
||||
footer: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Carousel;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class Chart extends Vue {
|
||||
declare class Chart extends Vue {
|
||||
type?: string;
|
||||
data?: object;
|
||||
options?: object;
|
||||
|
@ -10,4 +10,6 @@ export declare class Chart extends Vue {
|
|||
refresh(): void;
|
||||
reinit(): void;
|
||||
generateLegend(): void | any;
|
||||
}
|
||||
}
|
||||
|
||||
export default Chart;
|
|
@ -1,8 +1,10 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class Checkbox extends Vue {
|
||||
declare class Checkbox extends Vue {
|
||||
value?: null;
|
||||
modelValue?: null;
|
||||
binary?: boolean;
|
||||
$emit(eventName: string, event: Event): this;
|
||||
}
|
||||
}
|
||||
|
||||
export default Checkbox;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class Chips extends Vue {
|
||||
declare class Chips extends Vue {
|
||||
modelValue?: any[];
|
||||
max?: number;
|
||||
addOnBlur?: boolean;
|
||||
|
@ -11,4 +11,6 @@ export declare class Chips extends Vue {
|
|||
$slots: {
|
||||
chip: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Chips;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class ColorPicker extends Vue {
|
||||
declare class ColorPicker extends Vue {
|
||||
modelValue?: any;
|
||||
defaultColor?: any;
|
||||
inline?: boolean;
|
||||
|
@ -11,4 +11,6 @@ export declare class ColorPicker extends Vue {
|
|||
baseZIndex?: number;
|
||||
ariaLabelledBy?: string;
|
||||
$emit(eventName: 'input', value: any): this;
|
||||
}
|
||||
}
|
||||
|
||||
export default ColorPicker;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class Column extends Vue {
|
||||
declare class Column extends Vue {
|
||||
columnKey?: any;
|
||||
field?: string;
|
||||
sortField?: string;
|
||||
|
@ -28,4 +28,6 @@ export declare class Column extends Vue {
|
|||
reorderableColumn?: boolean;
|
||||
rowEditor?: boolean;
|
||||
frozen?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
export default Column;
|
|
@ -1,5 +1,7 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class ColumnGroup extends Vue {
|
||||
declare class ColumnGroup extends Vue {
|
||||
type?: string;
|
||||
}
|
||||
}
|
||||
|
||||
export default ColumnGroup;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class ContextMenu extends Vue {
|
||||
declare class ContextMenu extends Vue {
|
||||
model?: any[];
|
||||
appendTo?: string;
|
||||
autoZIndex?: boolean;
|
||||
|
@ -9,4 +9,6 @@ export declare class ContextMenu extends Vue {
|
|||
toggle(event: Event): void;
|
||||
show(event: Event, target?: any): void;
|
||||
hide(): void;
|
||||
}
|
||||
}
|
||||
|
||||
export default ContextMenu;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class DataTable extends Vue {
|
||||
declare class DataTable extends Vue {
|
||||
value?: any[];
|
||||
dataKey?: string;
|
||||
rows?: number;
|
||||
|
@ -85,4 +85,6 @@ export declare class DataTable extends Vue {
|
|||
empty: VNode[];
|
||||
footer: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default DataTable;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class DataView extends Vue {
|
||||
declare class DataView extends Vue {
|
||||
value?: any[];
|
||||
layout?: string;
|
||||
rows?: number;
|
||||
|
@ -25,4 +25,6 @@ export declare class DataView extends Vue {
|
|||
grid: VNode[];
|
||||
footer: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default DataView;
|
|
@ -1,6 +1,8 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class DataViewLayoutOptions extends Vue {
|
||||
declare class DataViewLayoutOptions extends Vue {
|
||||
value?: string;
|
||||
$emit(eventName: 'input', layout: string): this;
|
||||
}
|
||||
}
|
||||
|
||||
export default DataViewLayoutOptions;
|
|
@ -1,8 +1,10 @@
|
|||
import Vue, {VNode} from 'vue';
|
||||
|
||||
export declare class DeferredContent extends Vue {
|
||||
declare class DeferredContent extends Vue {
|
||||
$emit(eventName: 'load'): this;
|
||||
$slots: {
|
||||
'': VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default DeferredContent;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, {VNode} from 'vue';
|
||||
|
||||
export declare class Dialog extends Vue {
|
||||
declare class Dialog extends Vue {
|
||||
header?: any;
|
||||
footer?: any;
|
||||
visible?: boolean;
|
||||
|
@ -24,3 +24,5 @@ export declare class Dialog extends Vue {
|
|||
footer: VNode[];
|
||||
}
|
||||
}
|
||||
|
||||
export default Dialog;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class Dropdown extends Vue {
|
||||
declare class Dropdown extends Vue {
|
||||
modelValue?: any;
|
||||
options?: any[];
|
||||
optionLabel?: string;
|
||||
|
@ -30,4 +30,6 @@ export declare class Dropdown extends Vue {
|
|||
$slot: {
|
||||
option: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Dropdown;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class Editor extends Vue {
|
||||
declare class Editor extends Vue {
|
||||
modelValue?: string;
|
||||
placeholder?: string;
|
||||
readonly?: boolean;
|
||||
|
@ -11,4 +11,6 @@ export declare class Editor extends Vue {
|
|||
$slot: {
|
||||
toolbar: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Editor;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class Fieldset extends Vue {
|
||||
declare class Fieldset extends Vue {
|
||||
legend?: string;
|
||||
toggleable?: boolean;
|
||||
collapsed?: boolean;
|
||||
|
@ -9,4 +9,6 @@ export declare class Fieldset extends Vue {
|
|||
'': VNode[];
|
||||
legend: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Fieldset;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class FileUpload extends Vue {
|
||||
declare class FileUpload extends Vue {
|
||||
name?: string;
|
||||
url?: string;
|
||||
mode?: string;
|
||||
|
@ -25,4 +25,6 @@ export declare class FileUpload extends Vue {
|
|||
$emit(eventName: 'error', e: { originalEvent: Event, files: any }): this;
|
||||
$emit(eventName: 'before-send', e: { xhr: XMLHttpRequest, formData: any }): this;
|
||||
$emit(eventName: 'clear'): this;
|
||||
}
|
||||
}
|
||||
|
||||
export default FileUpload;
|
|
@ -1,6 +1,8 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class FullCalendar extends Vue {
|
||||
declare class FullCalendar extends Vue {
|
||||
events?: any[];
|
||||
options?: object;
|
||||
}
|
||||
}
|
||||
|
||||
export default FullCalendar;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, {VNode} from 'vue';
|
||||
|
||||
export declare class Galleria extends Vue {
|
||||
declare class Galleria extends Vue {
|
||||
id?: string;
|
||||
value?: any;
|
||||
activeIndex?: number;
|
||||
|
@ -34,3 +34,5 @@ export declare class Galleria extends Vue {
|
|||
thumbnail: VNode[];
|
||||
}
|
||||
}
|
||||
|
||||
export default Galleria;
|
|
@ -1,8 +1,10 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class InlineMessage extends Vue {
|
||||
declare class InlineMessage extends Vue {
|
||||
severity?: string;
|
||||
$slots: {
|
||||
'': VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default InlineMessage;
|
|
@ -1,10 +1,12 @@
|
|||
import Vue, {VNode} from 'vue';
|
||||
|
||||
export declare class Inplace extends Vue {
|
||||
declare class Inplace extends Vue {
|
||||
closable?: boolean;
|
||||
active?: boolean;
|
||||
$slots: {
|
||||
display: VNode[];
|
||||
content: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Inplace;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class InputMask extends Vue {
|
||||
declare class InputMask extends Vue {
|
||||
modelValue?: string;
|
||||
slotChar?: string;
|
||||
mask?: string;
|
||||
|
@ -13,4 +13,6 @@ export declare class InputMask extends Vue {
|
|||
$emit(eventName: 'keypress', event: Event): this;
|
||||
$emit(eventName: 'paste', event: Event): this;
|
||||
$emit(eventName: 'complete', event: Event): this;
|
||||
}
|
||||
}
|
||||
|
||||
export default InputMask;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class InputNumber extends Vue {
|
||||
declare class InputNumber extends Vue {
|
||||
modelValue?: number;
|
||||
format?: boolean;
|
||||
showButtons?: boolean;
|
||||
|
@ -27,3 +27,5 @@ export declare class InputNumber extends Vue {
|
|||
$emit(eventName: string, value: number | Event): this;
|
||||
$emit(eventName: 'input', e: {originalEvent: Event, value: any}): this;
|
||||
}
|
||||
|
||||
export default InputNumber;
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class InputSwitch extends Vue {
|
||||
declare class InputSwitch extends Vue {
|
||||
modelValue?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
export default InputSwitch;
|
|
@ -1,6 +1,8 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class InputText extends Vue {
|
||||
declare class InputText extends Vue {
|
||||
value?: string;
|
||||
$emit(eventName: 'input', value: string): this;
|
||||
}
|
||||
}
|
||||
|
||||
export default InputText;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class Listbox extends Vue {
|
||||
declare class Listbox extends Vue {
|
||||
modelValue?: any;
|
||||
options?: any[];
|
||||
optionLabel?: string;
|
||||
|
@ -22,4 +22,6 @@ export declare class Listbox extends Vue {
|
|||
$slots: {
|
||||
option: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Listbox;
|
|
@ -1,6 +1,8 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class MegaMenu extends Vue {
|
||||
declare class MegaMenu extends Vue {
|
||||
model?: any[];
|
||||
orientation?: string;
|
||||
}
|
||||
}
|
||||
|
||||
export default MegaMenu;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class Menu extends Vue {
|
||||
declare class Menu extends Vue {
|
||||
popup?: boolean;
|
||||
model?: any[];
|
||||
appendTo?: string;
|
||||
|
@ -10,3 +10,5 @@ export declare class Menu extends Vue {
|
|||
show(event: Event, target?: any): void;
|
||||
hide(): void;
|
||||
}
|
||||
|
||||
export default Menu;
|
|
@ -1,5 +1,7 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class Menubar extends Vue {
|
||||
declare class Menubar extends Vue {
|
||||
model?: any[];
|
||||
}
|
||||
}
|
||||
|
||||
export default Menubar;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class Message extends Vue {
|
||||
declare class Message extends Vue {
|
||||
severity?: string;
|
||||
closable?: boolean;
|
||||
sticky?: boolean;
|
||||
|
@ -8,4 +8,6 @@ export declare class Message extends Vue {
|
|||
$slots: {
|
||||
'': VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Message;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, {VNode} from 'vue';
|
||||
|
||||
export declare class MultiSelect extends Vue {
|
||||
declare class MultiSelect extends Vue {
|
||||
modelValue?: any;
|
||||
options?: any[];
|
||||
optionLabel?: string;
|
||||
|
@ -30,3 +30,5 @@ export declare class MultiSelect extends Vue {
|
|||
option: VNode[];
|
||||
}
|
||||
}
|
||||
|
||||
export default MultiSelect;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, {VNode} from 'vue';
|
||||
|
||||
export declare class OrderList extends Vue {
|
||||
declare class OrderList extends Vue {
|
||||
modelValue?: any[];
|
||||
dataKey?: string;
|
||||
selection?: any[];
|
||||
|
@ -11,4 +11,6 @@ export declare class OrderList extends Vue {
|
|||
header: VNode[];
|
||||
item: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default OrderList;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, {VNode} from 'vue';
|
||||
|
||||
export declare class OrganizationChart extends Vue {
|
||||
declare class OrganizationChart extends Vue {
|
||||
value?: any;
|
||||
selectionKeys?: any;
|
||||
selectionMode?: string;
|
||||
|
@ -13,4 +13,6 @@ export declare class OrganizationChart extends Vue {
|
|||
$slots: {
|
||||
[key: string]: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default OrganizationChart;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class OverlayPanel extends Vue {
|
||||
declare class OverlayPanel extends Vue {
|
||||
ismissable?: boolean;
|
||||
showCloseIcon?: boolean;
|
||||
appendTo?: string;
|
||||
|
@ -14,3 +14,5 @@ export declare class OverlayPanel extends Vue {
|
|||
'': VNode[];
|
||||
}
|
||||
}
|
||||
|
||||
export default OverlayPanel;
|
|
@ -7,7 +7,7 @@ export interface PageState {
|
|||
pageCount: number
|
||||
}
|
||||
|
||||
export declare class Paginator extends Vue {
|
||||
declare class Paginator extends Vue {
|
||||
totalRecords?: number;
|
||||
rows?: number;
|
||||
first?: number;
|
||||
|
@ -21,4 +21,6 @@ export declare class Paginator extends Vue {
|
|||
left: VNode[];
|
||||
right: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Paginator;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, {VNode} from 'vue';
|
||||
|
||||
export declare class Panel extends Vue {
|
||||
declare class Panel extends Vue {
|
||||
header?: string;
|
||||
toggleable?: boolean;
|
||||
collapsed?: boolean;
|
||||
|
@ -9,4 +9,6 @@ export declare class Panel extends Vue {
|
|||
'': VNode[];
|
||||
header: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Panel;
|
|
@ -1,5 +1,7 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class PanelMenu extends Vue {
|
||||
declare class PanelMenu extends Vue {
|
||||
model?: any[];
|
||||
}
|
||||
}
|
||||
|
||||
export default PanelMenu;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class Password extends Vue {
|
||||
declare class Password extends Vue {
|
||||
modelValue?: string;
|
||||
promptLabel?: string;
|
||||
mediumRegex?: string;
|
||||
|
@ -10,4 +10,6 @@ export declare class Password extends Vue {
|
|||
strongLabel?: string;
|
||||
feedback?: boolean;
|
||||
$emit(eventName: string, event: Event): this;
|
||||
}
|
||||
}
|
||||
|
||||
export default Password;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, {VNode} from 'vue';
|
||||
|
||||
export declare class PickList extends Vue {
|
||||
declare class PickList extends Vue {
|
||||
modelValue?: any[][];
|
||||
selection?: any[][];
|
||||
dataKey?: string;
|
||||
|
@ -15,4 +15,6 @@ export declare class PickList extends Vue {
|
|||
header: VNode[];
|
||||
item: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default PickList;
|
|
@ -1,7 +1,9 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class ProgressBar extends Vue {
|
||||
declare class ProgressBar extends Vue {
|
||||
value?: number;
|
||||
mode?: string;
|
||||
showValue?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
export default ProgressBar;
|
|
@ -1,7 +1,9 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class ProgressSpinner extends Vue {
|
||||
declare class ProgressSpinner extends Vue {
|
||||
strokeWidth?: string;
|
||||
fill?: string;
|
||||
animationDuration?: string;
|
||||
}
|
||||
}
|
||||
|
||||
export default ProgressSpinner;
|
|
@ -1,7 +1,9 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class RadioButton extends Vue {
|
||||
declare class RadioButton extends Vue {
|
||||
value?: any;
|
||||
modelValue?: any;
|
||||
$emit(eventName: string, event: Event): this;
|
||||
}
|
||||
}
|
||||
|
||||
export default RadioButton;
|
|
@ -1,10 +1,12 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class Rating extends Vue {
|
||||
declare class Rating extends Vue {
|
||||
modelValue?: number;
|
||||
disabled?: boolean;
|
||||
readonly?: boolean;
|
||||
stars?: number;
|
||||
cancel?: boolean;
|
||||
$emit(eventName: 'change', e: { originalEvent: Event, value: any }): this;
|
||||
}
|
||||
}
|
||||
|
||||
export default Rating;
|
|
@ -1,3 +1,5 @@
|
|||
import Directive from 'vue';
|
||||
|
||||
export declare interface Ripple extends Directive {}
|
||||
declare interface Ripple extends Directive {}
|
||||
|
||||
export default Ripple;
|
|
@ -1,3 +1,5 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class Row extends Vue {}
|
||||
declare class Row extends Vue {}
|
||||
|
||||
export default Row;
|
|
@ -1,7 +1,9 @@
|
|||
import Vue, {VNode} from 'vue';
|
||||
|
||||
export declare class ScrollPanel extends Vue {
|
||||
declare class ScrollPanel extends Vue {
|
||||
$slots: {
|
||||
'': VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default ScrollPanel;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class SelectButton extends Vue {
|
||||
declare class SelectButton extends Vue {
|
||||
modelValue?: any;
|
||||
options?: any[];
|
||||
optionLabel?: string;
|
||||
|
@ -15,4 +15,6 @@ export declare class SelectButton extends Vue {
|
|||
$slots: {
|
||||
option: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default SelectButton;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class Sidebar extends Vue {
|
||||
declare class Sidebar extends Vue {
|
||||
visible?: boolean;
|
||||
position?: string;
|
||||
baseZIndex?: number;
|
||||
|
@ -14,4 +14,6 @@ export declare class Sidebar extends Vue {
|
|||
$slots: {
|
||||
'': VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Sidebar;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class Slider extends Vue {
|
||||
declare class Slider extends Vue {
|
||||
modelValue?: number | any[];
|
||||
min?: number;
|
||||
max?: number;
|
||||
|
@ -11,4 +11,6 @@ export declare class Slider extends Vue {
|
|||
ariaLabelledBy?: string;
|
||||
$emit(eventName: 'change', value: any): this;
|
||||
$emit(eventName: 'slideend', e: {originalEvent: Event, values: any}): this;
|
||||
}
|
||||
}
|
||||
|
||||
export default Slider;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class SplitButton extends Vue {
|
||||
declare class SplitButton extends Vue {
|
||||
label?: string;
|
||||
icon?: string;
|
||||
model?: any[];
|
||||
|
@ -10,4 +10,6 @@ export declare class SplitButton extends Vue {
|
|||
baseZIndex?: number;
|
||||
appendTo?: string;
|
||||
$emit(eventName: 'click', event: Event): this;
|
||||
}
|
||||
}
|
||||
|
||||
export default SplitButton;
|
|
@ -1,6 +1,8 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class Steps extends Vue {
|
||||
declare class Steps extends Vue {
|
||||
model?: any[];
|
||||
readonly?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
export default Steps;
|
|
@ -1,5 +1,7 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class TabMenu extends Vue {
|
||||
declare class TabMenu extends Vue {
|
||||
model?: any[];
|
||||
}
|
||||
}
|
||||
|
||||
export default TabMenu;
|
|
@ -1,9 +1,11 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class TabPanel extends Vue {
|
||||
declare class TabPanel extends Vue {
|
||||
header?: any;
|
||||
disabled?: boolean;
|
||||
$slots: {
|
||||
'': VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default TabPanel;
|
|
@ -1,9 +1,11 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class TabView extends Vue {
|
||||
declare class TabView extends Vue {
|
||||
activeIndex?: number;
|
||||
$emit(eventName: 'tab-change', e: { originalEvent: Event, tab: any }): this;
|
||||
$slots: {
|
||||
'': VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default TabView;
|
|
@ -1,6 +1,8 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class Terminal extends Vue {
|
||||
declare class Terminal extends Vue {
|
||||
welcomeMessage?: string;
|
||||
prompt?: string;
|
||||
}
|
||||
}
|
||||
|
||||
export default Terminal;
|
|
@ -1,6 +1,8 @@
|
|||
export declare class TerminalService {
|
||||
declare class TerminalService {
|
||||
$on(action: string, fn: any): any;
|
||||
$emit(action: string, params?: any): any;
|
||||
$off(action: string, id: number): void;
|
||||
$subscribed(action: string): boolean;
|
||||
}
|
||||
}
|
||||
|
||||
export default TerminalService;
|
|
@ -1,7 +1,9 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class Textarea extends Vue {
|
||||
declare class Textarea extends Vue {
|
||||
value?: string;
|
||||
autoResize?: boolean;
|
||||
$emit(eventName: 'input', value: string): this;
|
||||
}
|
||||
}
|
||||
|
||||
export default Textarea;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class TieredMenu extends Vue {
|
||||
declare class TieredMenu extends Vue {
|
||||
popup?: boolean;
|
||||
model?: any[];
|
||||
appendTo?: string;
|
||||
|
@ -10,3 +10,5 @@ export declare class TieredMenu extends Vue {
|
|||
show(event: Event, target?: any): void;
|
||||
hide(): void;
|
||||
}
|
||||
|
||||
export default TieredMenu;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class Timeline extends Vue {
|
||||
declare class Timeline extends Vue {
|
||||
value?: any[];
|
||||
align?: string;
|
||||
layout?: string;
|
||||
|
@ -10,4 +10,6 @@ export declare class Timeline extends Vue {
|
|||
opposite: VNode[];
|
||||
marker: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Timeline;
|
|
@ -1,6 +1,8 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class Toast extends Vue {
|
||||
declare class Toast extends Vue {
|
||||
group?: string;
|
||||
position?: string;
|
||||
}
|
||||
}
|
||||
|
||||
export default Toast;
|
|
@ -12,4 +12,5 @@ declare module 'vue/types/vue' {
|
|||
interface Vue {
|
||||
$toast: ToastServiceMethods;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class ToggleButton extends Vue {
|
||||
declare class ToggleButton extends Vue {
|
||||
value?: boolean;
|
||||
onIcon?: string;
|
||||
offIcon?: string;
|
||||
|
@ -8,4 +8,6 @@ export declare class ToggleButton extends Vue {
|
|||
offLabel?: string;
|
||||
iconPos?: string;
|
||||
$emit(eventName: string, event: Event): this;
|
||||
}
|
||||
}
|
||||
|
||||
export default ToggleButton;
|
|
@ -1,8 +1,10 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare class Toolbar extends Vue {
|
||||
declare class Toolbar extends Vue {
|
||||
$slots: {
|
||||
left: VNode[];
|
||||
right: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Toolbar;
|
|
@ -1,3 +1,5 @@
|
|||
import Directive from 'vue';
|
||||
|
||||
export declare interface Tooltip extends Directive {}
|
||||
declare interface Tooltip extends Directive {}
|
||||
|
||||
export default Tooltip;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, {VNode} from 'vue';
|
||||
|
||||
export declare class Tree extends Vue {
|
||||
declare class Tree extends Vue {
|
||||
value?: any;
|
||||
expandedKeys?: any;
|
||||
selectionKeys?: any;
|
||||
|
@ -20,4 +20,6 @@ export declare class Tree extends Vue {
|
|||
$slots: {
|
||||
[key: string]: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Tree;
|
|
@ -1,6 +1,6 @@
|
|||
import Vue, {VNode} from 'vue';
|
||||
|
||||
export declare class TreeTable extends Vue {
|
||||
declare class TreeTable extends Vue {
|
||||
value?: any;
|
||||
expandedKeys?: any;
|
||||
selectionKeys?: any;
|
||||
|
@ -50,4 +50,6 @@ export declare class TreeTable extends Vue {
|
|||
empty: VNode[];
|
||||
footer: VNode[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default TreeTable;
|
|
@ -1,6 +1,8 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export declare class TriStateCheckbox extends Vue {
|
||||
declare class TriStateCheckbox extends Vue {
|
||||
modelValue?: any;
|
||||
$emit(eventName: string, event: Event): this;
|
||||
}
|
||||
}
|
||||
|
||||
export default TriStateCheckbox;
|
Loading…
Reference in New Issue