Types and shothand for PickList

pull/41/head
cagataycivici 2019-07-19 22:53:46 +03:00
parent 20ec1d8266
commit bb46411302
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,2 @@
'use strict'; 'use strict';
module.exports = require('./components/orderlist/OrderList.vue'); module.exports = require('./components/orderlist/OrderList.vue');

1
exports/picklist.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export * from './components/picklist/PickList';

3
exports/picklist.js Normal file
View File

@ -0,0 +1,3 @@
'use strict';
module.exports = require('./components/picklist/PickList.vue');

View File

@ -1,12 +1,16 @@
import Vue, {VNode} from 'vue'; import Vue, {VNode} from 'vue';
export declare class PickList extends Vue { export declare class PickList extends Vue {
value?: any[]; value?: any[][];
selection?: any[][];
dataKey?: string; dataKey?: string;
selection?: any[];
metaKeySelection?: boolean; metaKeySelection?: boolean;
listStyle?: any; listStyle?: any;
$emit(eventName: 'reorder', e: { originalEvent: Event, value: any[]; direction: string}): this; $emit(eventName: 'reorder', e: { originalEvent: Event, value: any[]; direction: string}): this;
$emit(eventName: 'move-to-target', e: { originalEvent: Event, items: [] }): this;
$emit(eventName: 'move-all-to-target', e: { originalEvent: Event, items: [] }): this;
$emit(eventName: 'move-to-source', e: { originalEvent: Event, items: [] }): this;
$emit(eventName: 'move-all-tou-source', e: { originalEvent: Event, items: [] }): this;
$slots: { $slots: {
header: VNode[]; header: VNode[];
item: VNode[]; item: VNode[];