@velkymx/vibeui 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +362 -1
- package/dist/App.vue.d.ts +2 -0
- package/dist/components/HelloWorld.vue.d.ts +5 -0
- package/dist/components/VibeAccordion.vue.d.ts +51 -0
- package/dist/components/VibeAccordionItem.vue.d.ts +57 -0
- package/dist/components/VibeAlert.vue.d.ts +61 -0
- package/dist/components/VibeBadge.vue.d.ts +52 -0
- package/dist/components/VibeBreadcrumb.vue.d.ts +43 -0
- package/dist/components/VibeBreadcrumbItem.vue.d.ts +51 -0
- package/dist/components/VibeButton.vue.d.ts +99 -0
- package/dist/components/VibeButtonGroup.vue.d.ts +61 -0
- package/dist/components/VibeCard.vue.d.ts +126 -0
- package/dist/components/VibeCardBody.vue.d.ts +34 -0
- package/dist/components/VibeCardFooter.vue.d.ts +34 -0
- package/dist/components/VibeCardHeader.vue.d.ts +34 -0
- package/dist/components/VibeCardImg.vue.d.ts +44 -0
- package/dist/components/VibeCardText.vue.d.ts +33 -0
- package/dist/components/VibeCardTitle.vue.d.ts +33 -0
- package/dist/components/VibeCarousel.vue.d.ts +137 -0
- package/dist/components/VibeCarouselSlide.vue.d.ts +80 -0
- package/dist/components/VibeCloseButton.vue.d.ts +38 -0
- package/dist/components/VibeCol.vue.d.ts +206 -0
- package/dist/components/VibeCollapse.vue.d.ts +70 -0
- package/dist/components/VibeContainer.vue.d.ts +44 -0
- package/dist/components/VibeDataTable.vue.d.ts +261 -0
- package/dist/components/VibeDropdown.vue.d.ts +96 -0
- package/dist/components/VibeDropdownItem.vue.d.ts +81 -0
- package/dist/components/VibeFormCheckbox.vue.d.ts +134 -0
- package/dist/components/VibeFormDatepicker.vue.d.ts +154 -0
- package/dist/components/VibeFormGroup.vue.d.ts +112 -0
- package/dist/components/VibeFormInput.vue.d.ts +154 -0
- package/dist/components/VibeFormRadio.vue.d.ts +132 -0
- package/dist/components/VibeFormSelect.vue.d.ts +167 -0
- package/dist/components/VibeFormSpinbutton.vue.d.ts +176 -0
- package/dist/components/VibeFormSwitch.vue.d.ts +107 -0
- package/dist/components/VibeFormTextarea.vue.d.ts +163 -0
- package/dist/components/VibeFormWysiwyg.vue.d.ts +156 -0
- package/dist/components/VibeIcon.vue.d.ts +83 -0
- package/dist/components/VibeListGroup.vue.d.ts +63 -0
- package/dist/components/VibeListGroupItem.vue.d.ts +90 -0
- package/dist/components/VibeModal.vue.d.ts +126 -0
- package/dist/components/VibeNav.vue.d.ts +81 -0
- package/dist/components/VibeNavItem.vue.d.ts +80 -0
- package/dist/components/VibeNavbar.vue.d.ts +71 -0
- package/dist/components/VibeNavbarBrand.vue.d.ts +42 -0
- package/dist/components/VibeNavbarNav.vue.d.ts +36 -0
- package/dist/components/VibeNavbarToggle.vue.d.ts +26 -0
- package/dist/components/VibeOffcanvas.vue.d.ts +89 -0
- package/dist/components/VibePagination.vue.d.ts +72 -0
- package/dist/components/VibePaginationItem.vue.d.ts +62 -0
- package/dist/components/VibePlaceholder.vue.d.ts +70 -0
- package/dist/components/VibePopover.vue.d.ts +69 -0
- package/dist/components/VibeProgress.vue.d.ts +33 -0
- package/dist/components/VibeProgressBar.vue.d.ts +88 -0
- package/dist/components/VibeRow.vue.d.ts +269 -0
- package/dist/components/VibeScrollspy.vue.d.ts +71 -0
- package/dist/components/VibeSpinner.vue.d.ts +55 -0
- package/dist/components/VibeTabContent.vue.d.ts +44 -0
- package/dist/components/VibeTabPane.vue.d.ts +70 -0
- package/dist/components/VibeToast.vue.d.ts +90 -0
- package/dist/components/VibeTooltip.vue.d.ts +60 -0
- package/dist/components/index.d.ts +63 -0
- package/dist/composables/useFormValidation.d.ts +26 -0
- package/dist/index.d.ts +3 -0
- package/dist/main.d.ts +0 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types.d.ts +100 -0
- package/dist/vibeui.es.js +1262 -1018
- package/dist/vibeui.umd.js +1 -1
- package/package.json +9 -4
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
img?(_: {}): any;
|
|
5
|
+
caption?(_: {}): any;
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
|
+
active: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
interval: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
imgSrc: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
imgAlt: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
caption: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
captionText: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
|
+
"component-error": (...args: any[]) => void;
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
40
|
+
active: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
interval: {
|
|
45
|
+
type: NumberConstructor;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
imgSrc: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
imgAlt: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
caption: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
60
|
+
captionText: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
64
|
+
}>> & Readonly<{
|
|
65
|
+
"onComponent-error"?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
}>, {
|
|
67
|
+
caption: string;
|
|
68
|
+
active: boolean;
|
|
69
|
+
interval: number;
|
|
70
|
+
imgSrc: string;
|
|
71
|
+
imgAlt: string;
|
|
72
|
+
captionText: string;
|
|
73
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
74
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
75
|
+
export default _default;
|
|
76
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
77
|
+
new (): {
|
|
78
|
+
$slots: S;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
disabled: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
white: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
ariaLabel: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"component-error": (...args: any[]) => void;
|
|
16
|
+
click: (...args: any[]) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
+
disabled: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
white: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
ariaLabel: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{
|
|
31
|
+
"onComponent-error"?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
ariaLabel: string;
|
|
36
|
+
white: boolean;
|
|
37
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Tag, ColSize, OrderValue, AlignItems } from '../types';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
|
+
tag: {
|
|
14
|
+
type: PropType<Tag>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
cols: {
|
|
18
|
+
type: PropType<ColSize | boolean>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
sm: {
|
|
22
|
+
type: PropType<ColSize | boolean>;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
md: {
|
|
26
|
+
type: PropType<ColSize | boolean>;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
lg: {
|
|
30
|
+
type: PropType<ColSize | boolean>;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
xl: {
|
|
34
|
+
type: PropType<ColSize | boolean>;
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
xxl: {
|
|
38
|
+
type: PropType<ColSize | boolean>;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
offset: {
|
|
42
|
+
type: NumberConstructor;
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
45
|
+
offsetSm: {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
offsetMd: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
offsetLg: {
|
|
54
|
+
type: NumberConstructor;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
offsetXl: {
|
|
58
|
+
type: NumberConstructor;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
offsetXxl: {
|
|
62
|
+
type: NumberConstructor;
|
|
63
|
+
default: undefined;
|
|
64
|
+
};
|
|
65
|
+
order: {
|
|
66
|
+
type: PropType<OrderValue>;
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
orderSm: {
|
|
70
|
+
type: PropType<OrderValue>;
|
|
71
|
+
default: undefined;
|
|
72
|
+
};
|
|
73
|
+
orderMd: {
|
|
74
|
+
type: PropType<OrderValue>;
|
|
75
|
+
default: undefined;
|
|
76
|
+
};
|
|
77
|
+
orderLg: {
|
|
78
|
+
type: PropType<OrderValue>;
|
|
79
|
+
default: undefined;
|
|
80
|
+
};
|
|
81
|
+
orderXl: {
|
|
82
|
+
type: PropType<OrderValue>;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
orderXxl: {
|
|
86
|
+
type: PropType<OrderValue>;
|
|
87
|
+
default: undefined;
|
|
88
|
+
};
|
|
89
|
+
alignSelf: {
|
|
90
|
+
type: PropType<AlignItems>;
|
|
91
|
+
default: undefined;
|
|
92
|
+
};
|
|
93
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
94
|
+
"component-error": (...args: any[]) => void;
|
|
95
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
96
|
+
tag: {
|
|
97
|
+
type: PropType<Tag>;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
cols: {
|
|
101
|
+
type: PropType<ColSize | boolean>;
|
|
102
|
+
default: undefined;
|
|
103
|
+
};
|
|
104
|
+
sm: {
|
|
105
|
+
type: PropType<ColSize | boolean>;
|
|
106
|
+
default: undefined;
|
|
107
|
+
};
|
|
108
|
+
md: {
|
|
109
|
+
type: PropType<ColSize | boolean>;
|
|
110
|
+
default: undefined;
|
|
111
|
+
};
|
|
112
|
+
lg: {
|
|
113
|
+
type: PropType<ColSize | boolean>;
|
|
114
|
+
default: undefined;
|
|
115
|
+
};
|
|
116
|
+
xl: {
|
|
117
|
+
type: PropType<ColSize | boolean>;
|
|
118
|
+
default: undefined;
|
|
119
|
+
};
|
|
120
|
+
xxl: {
|
|
121
|
+
type: PropType<ColSize | boolean>;
|
|
122
|
+
default: undefined;
|
|
123
|
+
};
|
|
124
|
+
offset: {
|
|
125
|
+
type: NumberConstructor;
|
|
126
|
+
default: undefined;
|
|
127
|
+
};
|
|
128
|
+
offsetSm: {
|
|
129
|
+
type: NumberConstructor;
|
|
130
|
+
default: undefined;
|
|
131
|
+
};
|
|
132
|
+
offsetMd: {
|
|
133
|
+
type: NumberConstructor;
|
|
134
|
+
default: undefined;
|
|
135
|
+
};
|
|
136
|
+
offsetLg: {
|
|
137
|
+
type: NumberConstructor;
|
|
138
|
+
default: undefined;
|
|
139
|
+
};
|
|
140
|
+
offsetXl: {
|
|
141
|
+
type: NumberConstructor;
|
|
142
|
+
default: undefined;
|
|
143
|
+
};
|
|
144
|
+
offsetXxl: {
|
|
145
|
+
type: NumberConstructor;
|
|
146
|
+
default: undefined;
|
|
147
|
+
};
|
|
148
|
+
order: {
|
|
149
|
+
type: PropType<OrderValue>;
|
|
150
|
+
default: undefined;
|
|
151
|
+
};
|
|
152
|
+
orderSm: {
|
|
153
|
+
type: PropType<OrderValue>;
|
|
154
|
+
default: undefined;
|
|
155
|
+
};
|
|
156
|
+
orderMd: {
|
|
157
|
+
type: PropType<OrderValue>;
|
|
158
|
+
default: undefined;
|
|
159
|
+
};
|
|
160
|
+
orderLg: {
|
|
161
|
+
type: PropType<OrderValue>;
|
|
162
|
+
default: undefined;
|
|
163
|
+
};
|
|
164
|
+
orderXl: {
|
|
165
|
+
type: PropType<OrderValue>;
|
|
166
|
+
default: undefined;
|
|
167
|
+
};
|
|
168
|
+
orderXxl: {
|
|
169
|
+
type: PropType<OrderValue>;
|
|
170
|
+
default: undefined;
|
|
171
|
+
};
|
|
172
|
+
alignSelf: {
|
|
173
|
+
type: PropType<AlignItems>;
|
|
174
|
+
default: undefined;
|
|
175
|
+
};
|
|
176
|
+
}>> & Readonly<{
|
|
177
|
+
"onComponent-error"?: ((...args: any[]) => any) | undefined;
|
|
178
|
+
}>, {
|
|
179
|
+
sm: boolean | ColSize;
|
|
180
|
+
lg: boolean | ColSize;
|
|
181
|
+
md: boolean | ColSize;
|
|
182
|
+
xl: boolean | ColSize;
|
|
183
|
+
xxl: boolean | ColSize;
|
|
184
|
+
tag: Tag;
|
|
185
|
+
cols: boolean | ColSize;
|
|
186
|
+
offset: number;
|
|
187
|
+
offsetSm: number;
|
|
188
|
+
offsetMd: number;
|
|
189
|
+
offsetLg: number;
|
|
190
|
+
offsetXl: number;
|
|
191
|
+
offsetXxl: number;
|
|
192
|
+
order: OrderValue;
|
|
193
|
+
orderSm: OrderValue;
|
|
194
|
+
orderMd: OrderValue;
|
|
195
|
+
orderLg: OrderValue;
|
|
196
|
+
orderXl: OrderValue;
|
|
197
|
+
orderXxl: OrderValue;
|
|
198
|
+
alignSelf: AlignItems;
|
|
199
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
200
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
201
|
+
export default _default;
|
|
202
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
203
|
+
new (): {
|
|
204
|
+
$slots: S;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { Tag } from '../types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
12
|
+
id: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
tag: {
|
|
21
|
+
type: () => Tag;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
horizontal: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
"update:modelValue": (...args: any[]) => void;
|
|
30
|
+
"component-error": (...args: any[]) => void;
|
|
31
|
+
show: (...args: any[]) => void;
|
|
32
|
+
shown: (...args: any[]) => void;
|
|
33
|
+
hide: (...args: any[]) => void;
|
|
34
|
+
hidden: (...args: any[]) => void;
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
36
|
+
id: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
modelValue: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
tag: {
|
|
45
|
+
type: () => Tag;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
horizontal: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
}>> & Readonly<{
|
|
53
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
54
|
+
"onComponent-error"?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
56
|
+
onShown?: ((...args: any[]) => any) | undefined;
|
|
57
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
}>, {
|
|
60
|
+
modelValue: boolean;
|
|
61
|
+
tag: Tag;
|
|
62
|
+
horizontal: boolean;
|
|
63
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
64
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
65
|
+
export default _default;
|
|
66
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
67
|
+
new (): {
|
|
68
|
+
$slots: S;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Tag, ContainerType } from '../types';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
|
+
fluid: {
|
|
14
|
+
type: PropType<boolean | ContainerType>;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
tag: {
|
|
18
|
+
type: PropType<Tag>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
"component-error": (...args: any[]) => void;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
+
fluid: {
|
|
25
|
+
type: PropType<boolean | ContainerType>;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
tag: {
|
|
29
|
+
type: PropType<Tag>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
}>> & Readonly<{
|
|
33
|
+
"onComponent-error"?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
tag: Tag;
|
|
36
|
+
fluid: boolean | ContainerType;
|
|
37
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import { DataTableColumn } from '../types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Partial<Record<`cell(${string})`, (_: {
|
|
5
|
+
item: any;
|
|
6
|
+
value: any;
|
|
7
|
+
index: number;
|
|
8
|
+
}) => any>>;
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
|
+
items: {
|
|
15
|
+
type: () => any[];
|
|
16
|
+
default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
columns: {
|
|
19
|
+
type: () => DataTableColumn[];
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
striped: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
bordered: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
borderless: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
hover: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
small: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
responsive: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
variant: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
searchable: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
sortable: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
paginated: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
searchPlaceholder: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
searchDebounce: {
|
|
67
|
+
type: NumberConstructor;
|
|
68
|
+
default: number;
|
|
69
|
+
};
|
|
70
|
+
perPage: {
|
|
71
|
+
type: NumberConstructor;
|
|
72
|
+
default: number;
|
|
73
|
+
};
|
|
74
|
+
currentPage: {
|
|
75
|
+
type: NumberConstructor;
|
|
76
|
+
default: number;
|
|
77
|
+
};
|
|
78
|
+
perPageOptions: {
|
|
79
|
+
type: () => number[];
|
|
80
|
+
default: () => number[];
|
|
81
|
+
};
|
|
82
|
+
sortBy: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: undefined;
|
|
85
|
+
};
|
|
86
|
+
sortDesc: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
showEmpty: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
emptyText: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
showPerPage: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
showInfo: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
infoText: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
filteredInfoText: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
115
|
+
"component-error": (...args: any[]) => void;
|
|
116
|
+
"update:currentPage": (...args: any[]) => void;
|
|
117
|
+
"update:perPage": (...args: any[]) => void;
|
|
118
|
+
"update:sortBy": (...args: any[]) => void;
|
|
119
|
+
"update:sortDesc": (...args: any[]) => void;
|
|
120
|
+
"row-clicked": (...args: any[]) => void;
|
|
121
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
122
|
+
items: {
|
|
123
|
+
type: () => any[];
|
|
124
|
+
default: () => never[];
|
|
125
|
+
};
|
|
126
|
+
columns: {
|
|
127
|
+
type: () => DataTableColumn[];
|
|
128
|
+
required: true;
|
|
129
|
+
};
|
|
130
|
+
striped: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
bordered: {
|
|
135
|
+
type: BooleanConstructor;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
borderless: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
hover: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
small: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
responsive: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
variant: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
default: undefined;
|
|
157
|
+
};
|
|
158
|
+
searchable: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
sortable: {
|
|
163
|
+
type: BooleanConstructor;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
paginated: {
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
default: boolean;
|
|
169
|
+
};
|
|
170
|
+
searchPlaceholder: {
|
|
171
|
+
type: StringConstructor;
|
|
172
|
+
default: string;
|
|
173
|
+
};
|
|
174
|
+
searchDebounce: {
|
|
175
|
+
type: NumberConstructor;
|
|
176
|
+
default: number;
|
|
177
|
+
};
|
|
178
|
+
perPage: {
|
|
179
|
+
type: NumberConstructor;
|
|
180
|
+
default: number;
|
|
181
|
+
};
|
|
182
|
+
currentPage: {
|
|
183
|
+
type: NumberConstructor;
|
|
184
|
+
default: number;
|
|
185
|
+
};
|
|
186
|
+
perPageOptions: {
|
|
187
|
+
type: () => number[];
|
|
188
|
+
default: () => number[];
|
|
189
|
+
};
|
|
190
|
+
sortBy: {
|
|
191
|
+
type: StringConstructor;
|
|
192
|
+
default: undefined;
|
|
193
|
+
};
|
|
194
|
+
sortDesc: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
};
|
|
198
|
+
showEmpty: {
|
|
199
|
+
type: BooleanConstructor;
|
|
200
|
+
default: boolean;
|
|
201
|
+
};
|
|
202
|
+
emptyText: {
|
|
203
|
+
type: StringConstructor;
|
|
204
|
+
default: string;
|
|
205
|
+
};
|
|
206
|
+
showPerPage: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: boolean;
|
|
209
|
+
};
|
|
210
|
+
showInfo: {
|
|
211
|
+
type: BooleanConstructor;
|
|
212
|
+
default: boolean;
|
|
213
|
+
};
|
|
214
|
+
infoText: {
|
|
215
|
+
type: StringConstructor;
|
|
216
|
+
default: string;
|
|
217
|
+
};
|
|
218
|
+
filteredInfoText: {
|
|
219
|
+
type: StringConstructor;
|
|
220
|
+
default: string;
|
|
221
|
+
};
|
|
222
|
+
}>> & Readonly<{
|
|
223
|
+
"onComponent-error"?: ((...args: any[]) => any) | undefined;
|
|
224
|
+
"onUpdate:currentPage"?: ((...args: any[]) => any) | undefined;
|
|
225
|
+
"onUpdate:perPage"?: ((...args: any[]) => any) | undefined;
|
|
226
|
+
"onUpdate:sortBy"?: ((...args: any[]) => any) | undefined;
|
|
227
|
+
"onUpdate:sortDesc"?: ((...args: any[]) => any) | undefined;
|
|
228
|
+
"onRow-clicked"?: ((...args: any[]) => any) | undefined;
|
|
229
|
+
}>, {
|
|
230
|
+
variant: string;
|
|
231
|
+
small: boolean;
|
|
232
|
+
items: any[];
|
|
233
|
+
currentPage: number;
|
|
234
|
+
striped: boolean;
|
|
235
|
+
hover: boolean;
|
|
236
|
+
bordered: boolean;
|
|
237
|
+
borderless: boolean;
|
|
238
|
+
responsive: boolean;
|
|
239
|
+
searchable: boolean;
|
|
240
|
+
sortable: boolean;
|
|
241
|
+
paginated: boolean;
|
|
242
|
+
searchPlaceholder: string;
|
|
243
|
+
searchDebounce: number;
|
|
244
|
+
perPage: number;
|
|
245
|
+
perPageOptions: number[];
|
|
246
|
+
sortBy: string;
|
|
247
|
+
sortDesc: boolean;
|
|
248
|
+
showEmpty: boolean;
|
|
249
|
+
emptyText: string;
|
|
250
|
+
showPerPage: boolean;
|
|
251
|
+
showInfo: boolean;
|
|
252
|
+
infoText: string;
|
|
253
|
+
filteredInfoText: string;
|
|
254
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
255
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
256
|
+
export default _default;
|
|
257
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
258
|
+
new (): {
|
|
259
|
+
$slots: S;
|
|
260
|
+
};
|
|
261
|
+
};
|