UNPKG

3.27 kBTypeScriptView Raw
1import { App } from 'vue'
2import { VXETableConfigOptions, VXETableCore } from './v-x-e-table'
3
4import { Icon } from './icon'
5import { Table } from './table'
6import { Column } from './column'
7import { Colgroup } from './colgroup'
8import { Grid } from './grid'
9import { Toolbar } from './toolbar'
10import { Pager } from './pager'
11import { Checkbox } from './checkbox'
12import { CheckboxGroup } from './checkbox-group'
13import { Radio } from './radio'
14import { RadioGroup } from './radio-group'
15import { RadioButton } from './radio-button'
16import { Input } from './input'
17import { Textarea } from './textarea'
18import { Button } from './button'
19import { ButtonGroup } from './button-group'
20import { Select } from './select'
21import { Optgroup } from './optgroup'
22import { Option } from './option'
23import { Modal } from './modal'
24import { Drawer } from './drawer'
25import { Tooltip } from './tooltip'
26import { Form } from './form'
27import { FormGather } from './form-gather'
28import { FormItem } from './form-item'
29import { Switch } from './switch'
30import { List } from './list'
31import { Pulldown } from './pulldown'
32
33export function install(app: App, options?: VXETableConfigOptions): void
34
35declare module '@vue/runtime-core' {
36 export interface GlobalComponents {
37 VXETable: VXETableCore
38
39 VxeIcon: typeof Icon
40 VxeTable: typeof Table
41 VxeColumn: typeof Column
42 VxeColgroup: typeof Colgroup
43 VxeGrid: typeof Grid
44 VxeToolbar: typeof Toolbar
45 VxePager: typeof Pager
46 VxeCheckbox: typeof Checkbox
47 VxeCheckboxGroup: typeof CheckboxGroup
48 VxeRadio: typeof Radio
49 VxeRadioGroup: typeof RadioGroup
50 VxeRadioButton: typeof RadioButton
51 VxeInput: typeof Input
52 VxeTextarea: typeof Textarea
53 VxeButton: typeof Button
54 VxeButtonGroup: typeof ButtonGroup
55 VxeSelect: typeof Select
56 VxeOptgroup: typeof Optgroup
57 VxeOption: typeof Option
58 VxeModal: typeof Modal
59 VxeDrawer: typeof Drawer
60 VxeTooltip: typeof Tooltip
61 VxeForm: typeof Form
62 VxeFormGather: typeof FormGather
63 VxeFormItem: typeof FormItem
64 VxeSwitch: typeof Switch
65 VxeList: typeof List
66 VxePulldown: typeof Pulldown
67 }
68}
69
70declare global {
71 interface Window {
72 VXETable: VXETableCore;
73 }
74}
75
76// Constructor
77export * from './v-x-e-table'
78export * from './component'
79
80// Component
81export * from './icon'
82export * from './loading'
83export * from './table'
84export * from './column'
85export * from './colgroup'
86export * from './grid'
87export * from './toolbar'
88export * from './pager'
89export * from './checkbox'
90export * from './checkbox-group'
91export * from './radio'
92export * from './radio-group'
93export * from './radio-button'
94export * from './input'
95export * from './textarea'
96export * from './button'
97export * from './button-group'
98export * from './select'
99export * from './optgroup'
100export * from './option'
101export * from './modal'
102export * from './drawer'
103export * from './tooltip'
104export * from './form'
105export * from './form-gather'
106export * from './form-item'
107export * from './switch'
108export * from './list'
109export * from './pulldown'
110
111// Table module
112export * from './module'
113
114// Table plugins
115export * from './plugins'