@velkymx/vibeui 0.8.2 → 1.0.2
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/AGENTS.md +44 -0
- package/README.md +245 -58
- package/dist/purify.es-1D-VntFD.mjs +679 -0
- package/dist/src/App.vue.d.ts +3 -0
- package/dist/src/components/HelloWorld.vue.d.ts +6 -0
- package/dist/src/components/VibeAccordion.vue.d.ts +89 -0
- package/dist/{components → src/components}/VibeAlert.vue.d.ts +24 -30
- package/dist/src/components/VibeAutocomplete.vue.d.ts +74 -0
- package/dist/{components → src/components}/VibeBadge.vue.d.ts +10 -18
- package/dist/src/components/VibeBreadcrumb.vue.d.ts +51 -0
- package/dist/{components → src/components}/VibeButton.vue.d.ts +16 -20
- package/dist/{components → src/components}/VibeButtonGroup.vue.d.ts +10 -18
- package/dist/{components → src/components}/VibeCard.vue.d.ts +51 -24
- package/dist/{components → src/components}/VibeCarousel.vue.d.ts +27 -49
- package/dist/src/components/VibeChartBar.vue.d.ts +61 -0
- package/dist/src/components/VibeChartLine.vue.d.ts +70 -0
- package/dist/src/components/VibeChartPie.vue.d.ts +34 -0
- package/dist/{components → src/components}/VibeCloseButton.vue.d.ts +9 -7
- package/dist/{components → src/components}/VibeCol.vue.d.ts +9 -17
- package/dist/src/components/VibeCollapse.vue.d.ts +76 -0
- package/dist/src/components/VibeContainer.vue.d.ts +36 -0
- package/dist/src/components/VibeDataTable.vue.d.ts +131 -0
- package/dist/src/components/VibeDatePicker.vue.d.ts +120 -0
- package/dist/src/components/VibeDraggable.vue.d.ts +77 -0
- package/dist/{components → src/components}/VibeDropdown.vue.d.ts +46 -43
- package/dist/src/components/VibeDroppable.vue.d.ts +70 -0
- package/dist/src/components/VibeFileInput.vue.d.ts +127 -0
- package/dist/{components → src/components}/VibeFormCheckbox.vue.d.ts +30 -22
- package/dist/{components → src/components}/VibeFormDatepicker.vue.d.ts +27 -30
- package/dist/{components → src/components}/VibeFormGroup.vue.d.ts +11 -14
- package/dist/{components → src/components}/VibeFormInput.vue.d.ts +22 -23
- package/dist/{components → src/components}/VibeFormRadio.vue.d.ts +23 -24
- package/dist/{components → src/components}/VibeFormSelect.vue.d.ts +28 -34
- package/dist/{components → src/components}/VibeFormSpinbutton.vue.d.ts +31 -34
- package/dist/{components → src/components}/VibeFormSwitch.vue.d.ts +22 -23
- package/dist/{components → src/components}/VibeFormTextarea.vue.d.ts +24 -25
- package/dist/{components → src/components}/VibeFormWysiwyg.vue.d.ts +24 -23
- package/dist/src/components/VibeHero.vue.d.ts +108 -0
- package/dist/{components → src/components}/VibeIcon.vue.d.ts +27 -7
- package/dist/{components → src/components}/VibeInputGroup.vue.d.ts +11 -13
- package/dist/{components → src/components}/VibeLink.vue.d.ts +14 -18
- package/dist/{components → src/components}/VibeListGroup.vue.d.ts +26 -22
- package/dist/{components → src/components}/VibeModal.vue.d.ts +29 -45
- package/dist/{components → src/components}/VibeNav.vue.d.ts +40 -20
- package/dist/{components → src/components}/VibeNavbar.vue.d.ts +12 -19
- package/dist/src/components/VibeNavbarBrand.vue.d.ts +34 -0
- package/dist/src/components/VibeNavbarNav.vue.d.ts +80 -0
- package/dist/{components → src/components}/VibeNavbarToggle.vue.d.ts +7 -5
- package/dist/{components → src/components}/VibeOffcanvas.vue.d.ts +28 -43
- package/dist/{components → src/components}/VibePagination.vue.d.ts +38 -29
- package/dist/{components → src/components}/VibePlaceholder.vue.d.ts +9 -17
- package/dist/src/components/VibePopover.vue.d.ts +72 -0
- package/dist/src/components/VibeProgress.vue.d.ts +37 -0
- package/dist/src/components/VibeResizable.vue.d.ts +140 -0
- package/dist/{components → src/components}/VibeRow.vue.d.ts +9 -17
- package/dist/src/components/VibeScrollspy.vue.d.ts +89 -0
- package/dist/src/components/VibeSkeleton.vue.d.ts +54 -0
- package/dist/src/components/VibeSlider.vue.d.ts +77 -0
- package/dist/src/components/VibeSortable.vue.d.ts +59 -0
- package/dist/{components → src/components}/VibeSpinner.vue.d.ts +4 -7
- package/dist/src/components/VibeStepper.vue.d.ts +133 -0
- package/dist/src/components/VibeTab.vue.d.ts +41 -0
- package/dist/src/components/VibeTabContent.vue.d.ts +56 -0
- package/dist/src/components/VibeTabs.vue.d.ts +78 -0
- package/dist/{components → src/components}/VibeToast.vue.d.ts +40 -42
- package/dist/src/components/VibeToastHost.vue.d.ts +16 -0
- package/dist/src/components/VibeTooltip.vue.d.ts +63 -0
- package/dist/src/components/chart/chartColors.d.ts +3 -0
- package/dist/src/components/chart/chartResize.d.ts +2 -0
- package/dist/src/components/chart/chartTooltip.d.ts +2 -0
- package/dist/src/components/chart/chartTypes.d.ts +6 -0
- package/dist/src/components/chart/drawBar.d.ts +5 -0
- package/dist/src/components/chart/drawLine.d.ts +18 -0
- package/dist/src/components/chart/drawPie.d.ts +4 -0
- package/dist/src/components/dndStore.d.ts +7 -0
- package/dist/{components → src/components}/index.d.ts +18 -1
- package/dist/{composables → src/composables}/useBreakpoints.d.ts +1 -0
- package/dist/{composables → src/composables}/useColorMode.d.ts +1 -1
- package/dist/src/composables/useForm.d.ts +22 -0
- package/dist/src/composables/useId.d.ts +2 -0
- package/dist/src/composables/usePosition.d.ts +20 -0
- package/dist/src/composables/useToast.d.ts +52 -0
- package/dist/src/directives/vTooltip.d.ts +24 -0
- package/dist/{index.d.ts → src/index.d.ts} +6 -0
- package/dist/src/injectionKeys.d.ts +28 -0
- package/dist/{types.d.ts → src/types.d.ts} +32 -6
- package/dist/src/utils/safeCss.d.ts +16 -0
- package/dist/src/utils/safeHref.d.ts +7 -0
- package/dist/src/utils/sanitizeHtml.d.ts +13 -0
- package/dist/vibeui.css +2 -1
- package/dist/vibeui.es.js +8351 -3508
- package/dist/vibeui.umd.js +3 -1
- package/docs/README.md +85 -13
- package/docs/components/advanced/popover.md +27 -52
- package/docs/components/advanced/scrollspy.md +57 -15
- package/docs/components/advanced/tooltip.md +26 -47
- package/docs/components/card/card.md +9 -1
- package/docs/components/charts/chart-bar.md +129 -0
- package/docs/components/charts/chart-line.md +136 -0
- package/docs/components/charts/chart-pie.md +102 -0
- package/docs/components/core/alert.md +27 -5
- package/docs/components/core/badge.md +0 -6
- package/docs/components/core/button-group.md +0 -6
- package/docs/components/core/button.md +1 -1
- package/docs/components/core/close-button.md +5 -5
- package/docs/components/core/link.md +60 -17
- package/docs/components/core/placeholder.md +0 -6
- package/docs/components/core/skeleton.md +40 -0
- package/docs/components/core/spinner.md +0 -6
- package/docs/components/data/datatable.md +29 -10
- package/docs/components/hero/hero.md +64 -0
- package/docs/components/interactive/accordion.md +29 -0
- package/docs/components/interactive/carousel.md +19 -4
- package/docs/components/interactive/collapse.md +3 -2
- package/docs/components/interactive/date-picker.md +78 -0
- package/docs/components/interactive/draggable.md +91 -0
- package/docs/components/interactive/dropdown.md +54 -18
- package/docs/components/interactive/modal.md +15 -20
- package/docs/components/interactive/offcanvas.md +4 -1
- package/docs/components/interactive/resizable.md +73 -0
- package/docs/components/interactive/slider.md +57 -0
- package/docs/components/interactive/sortable.md +52 -0
- package/docs/components/interactive/stepper.md +83 -0
- package/docs/components/interactive/tabs.md +66 -0
- package/docs/components/interactive/toast.md +93 -30
- package/docs/components/layout/col.md +0 -6
- package/docs/components/layout/container.md +0 -6
- package/docs/components/layout/row.md +0 -6
- package/docs/components/list/list-group.md +4 -0
- package/docs/components/navigation/breadcrumb.md +4 -0
- package/docs/components/navigation/nav.md +64 -1
- package/docs/components/navigation/navbar.md +2 -0
- package/docs/components/navigation/pagination.md +16 -0
- package/docs/components/progress/progress.md +7 -1
- package/docs/composables/color-mode.md +44 -6
- package/docs/composables/use-form.md +78 -0
- package/docs/composables/use-position.md +68 -0
- package/docs/composables/use-toast.md +91 -0
- package/docs/directives/v-tooltip.md +58 -0
- package/docs/forms/README.md +60 -61
- package/docs/forms/autocomplete.md +96 -0
- package/docs/forms/file-input.md +97 -0
- package/docs/forms/form-checkbox.md +75 -25
- package/docs/forms/form-datepicker.md +58 -28
- package/docs/forms/form-group.md +79 -44
- package/docs/forms/form-input.md +88 -31
- package/docs/forms/form-radio.md +60 -36
- package/docs/forms/form-select.md +75 -31
- package/docs/forms/form-spinbutton.md +72 -33
- package/docs/forms/form-switch.md +53 -25
- package/docs/forms/form-textarea.md +60 -29
- package/docs/forms/form-wysiwyg.md +73 -38
- package/docs/forms/input-group.md +53 -34
- package/docs/forms/validation.md +135 -521
- package/docs/getting-started/starter-template.md +136 -0
- package/docs/superpowers/plans/2026-05-12-vibe-charts.md +1999 -0
- package/docs/superpowers/plans/2026-05-29-e2e-browser-testing.md +615 -0
- package/docs/superpowers/specs/2026-05-12-charting-design.md +185 -0
- package/docs/superpowers/specs/2026-05-29-e2e-browser-testing-design.md +168 -0
- package/docs/utilities/position.md +82 -0
- package/docs/versioning.md +57 -0
- package/examples/README.md +201 -0
- package/examples/album.html +262 -0
- package/examples/blog.html +166 -0
- package/examples/carousel.html +114 -0
- package/examples/checkout.html +275 -0
- package/examples/cover.html +89 -0
- package/examples/dashboard.html +156 -0
- package/examples/index.html +129 -0
- package/examples/jumbotron.html +56 -0
- package/examples/mobile-dashboard.html +138 -0
- package/examples/pricing.html +172 -0
- package/examples/product.html +145 -0
- package/examples/sidebars.html +166 -0
- package/examples/sign-in.html +119 -0
- package/examples/starter.html +314 -0
- package/examples/sticky-footer-navbar.html +70 -0
- package/examples/sticky-footer.html +60 -0
- package/examples/test-simple.html +91 -0
- package/llms.txt +407 -47
- package/package.json +42 -13
- package/dist/App.vue.d.ts +0 -2
- package/dist/components/HelloWorld.vue.d.ts +0 -5
- package/dist/components/VibeAccordion.vue.d.ts +0 -90
- package/dist/components/VibeBreadcrumb.vue.d.ts +0 -47
- package/dist/components/VibeCollapse.vue.d.ts +0 -84
- package/dist/components/VibeContainer.vue.d.ts +0 -44
- package/dist/components/VibeDataTable.vue.d.ts +0 -76
- package/dist/components/VibeNavbarBrand.vue.d.ts +0 -42
- package/dist/components/VibeNavbarNav.vue.d.ts +0 -61
- package/dist/components/VibePopover.vue.d.ts +0 -95
- package/dist/components/VibeProgress.vue.d.ts +0 -45
- package/dist/components/VibeScrollspy.vue.d.ts +0 -77
- package/dist/components/VibeTabContent.vue.d.ts +0 -74
- package/dist/components/VibeTooltip.vue.d.ts +0 -86
- package/dist/composables/useId.d.ts +0 -5
- package/dist/types/index.d.ts +0 -6
- /package/dist/{composables → src/composables}/useBackButton.d.ts +0 -0
- /package/dist/{composables → src/composables}/useFormValidation.d.ts +0 -0
- /package/dist/{main.d.ts → src/main.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CarouselItem } from '../types';
|
|
1
|
+
import { CarouselItem, ComponentError } from '../types';
|
|
2
2
|
interface BootstrapCarousel {
|
|
3
3
|
to: (index: number) => void;
|
|
4
4
|
next: () => void;
|
|
@@ -7,24 +7,17 @@ interface BootstrapCarousel {
|
|
|
7
7
|
cycle: () => void;
|
|
8
8
|
dispose: () => void;
|
|
9
9
|
}
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
caption?(_: {
|
|
14
|
-
item: CarouselItem;
|
|
15
|
-
index: number;
|
|
16
|
-
}): any;
|
|
17
|
-
};
|
|
18
|
-
refs: {
|
|
19
|
-
carouselRef: HTMLDivElement;
|
|
20
|
-
};
|
|
21
|
-
rootEl: HTMLDivElement;
|
|
10
|
+
declare var __VLS_1: {
|
|
11
|
+
item: CarouselItem;
|
|
12
|
+
index: number;
|
|
22
13
|
};
|
|
23
|
-
type
|
|
24
|
-
|
|
14
|
+
type __VLS_Slots = {} & {
|
|
15
|
+
caption?: (props: typeof __VLS_1) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
25
18
|
id: {
|
|
26
19
|
type: StringConstructor;
|
|
27
|
-
default:
|
|
20
|
+
default: undefined;
|
|
28
21
|
};
|
|
29
22
|
modelValue: {
|
|
30
23
|
type: NumberConstructor;
|
|
@@ -75,31 +68,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
75
68
|
required: true;
|
|
76
69
|
};
|
|
77
70
|
}>, {
|
|
78
|
-
bsInstance: import('vue').Ref<{
|
|
79
|
-
to: (index: number) => void;
|
|
80
|
-
next: () => void;
|
|
81
|
-
prev: () => void;
|
|
82
|
-
pause: () => void;
|
|
83
|
-
cycle: () => void;
|
|
84
|
-
dispose: () => void;
|
|
85
|
-
} | null, BootstrapCarousel | {
|
|
86
|
-
to: (index: number) => void;
|
|
87
|
-
next: () => void;
|
|
88
|
-
prev: () => void;
|
|
89
|
-
pause: () => void;
|
|
90
|
-
cycle: () => void;
|
|
91
|
-
dispose: () => void;
|
|
92
|
-
} | null>;
|
|
93
71
|
refresh: () => Promise<void>;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
|
|
72
|
+
_unsafe_bsInstance: import('vue').ShallowRef<BootstrapCarousel | null, BootstrapCarousel | null>;
|
|
73
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
74
|
+
"update:modelValue": (index: number) => any;
|
|
75
|
+
"component-error": (error: ComponentError) => any;
|
|
76
|
+
slide: (event: Event) => any;
|
|
77
|
+
slid: (event: Event) => any;
|
|
99
78
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
100
79
|
id: {
|
|
101
80
|
type: StringConstructor;
|
|
102
|
-
default:
|
|
81
|
+
default: undefined;
|
|
103
82
|
};
|
|
104
83
|
modelValue: {
|
|
105
84
|
type: NumberConstructor;
|
|
@@ -150,29 +129,28 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
150
129
|
required: true;
|
|
151
130
|
};
|
|
152
131
|
}>> & Readonly<{
|
|
153
|
-
"onUpdate:modelValue"?: ((
|
|
154
|
-
"onComponent-error"?: ((
|
|
155
|
-
onSlide?: ((
|
|
156
|
-
onSlid?: ((
|
|
132
|
+
"onUpdate:modelValue"?: ((index: number) => any) | undefined;
|
|
133
|
+
"onComponent-error"?: ((error: ComponentError) => any) | undefined;
|
|
134
|
+
onSlide?: ((event: Event) => any) | undefined;
|
|
135
|
+
onSlid?: ((event: Event) => any) | undefined;
|
|
157
136
|
}>, {
|
|
137
|
+
dark: boolean;
|
|
158
138
|
modelValue: number;
|
|
159
139
|
fade: boolean;
|
|
160
140
|
pause: string | boolean;
|
|
161
|
-
|
|
141
|
+
wrap: boolean;
|
|
142
|
+
touch: boolean;
|
|
162
143
|
id: string;
|
|
163
144
|
controls: boolean;
|
|
164
145
|
indicators: boolean;
|
|
165
146
|
ride: string | boolean;
|
|
166
147
|
interval: number | boolean;
|
|
167
148
|
keyboard: boolean;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
carouselRef: HTMLDivElement;
|
|
172
|
-
}, HTMLDivElement>;
|
|
173
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
149
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
150
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
151
|
+
declare const _default: typeof __VLS_export;
|
|
174
152
|
export default _default;
|
|
175
|
-
type
|
|
153
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
176
154
|
new (): {
|
|
177
155
|
$slots: S;
|
|
178
156
|
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ChartData, ChartLegendPosition } from '../types';
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
data: {
|
|
5
|
+
type: PropType<ChartData>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
legend: {
|
|
9
|
+
type: PropType<ChartLegendPosition>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
height: {
|
|
13
|
+
type: PropType<number | string>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
showAxes: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
showGrid: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
stacked: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
+
data: {
|
|
30
|
+
type: PropType<ChartData>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
legend: {
|
|
34
|
+
type: PropType<ChartLegendPosition>;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
height: {
|
|
38
|
+
type: PropType<number | string>;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
showAxes: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
showGrid: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
stacked: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
}>> & Readonly<{}>, {
|
|
54
|
+
legend: ChartLegendPosition;
|
|
55
|
+
height: string | number;
|
|
56
|
+
showAxes: boolean;
|
|
57
|
+
showGrid: boolean;
|
|
58
|
+
stacked: boolean;
|
|
59
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
60
|
+
declare const _default: typeof __VLS_export;
|
|
61
|
+
export default _default;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ChartData, ChartLegendPosition } from '../types';
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
data: {
|
|
5
|
+
type: PropType<ChartData>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
legend: {
|
|
9
|
+
type: PropType<ChartLegendPosition>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
height: {
|
|
13
|
+
type: PropType<number | string>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
showAxes: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
showGrid: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
smooth: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
fill: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
data: {
|
|
34
|
+
type: PropType<ChartData>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
legend: {
|
|
38
|
+
type: PropType<ChartLegendPosition>;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
height: {
|
|
42
|
+
type: PropType<number | string>;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
showAxes: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
showGrid: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
smooth: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
fill: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
}>> & Readonly<{}>, {
|
|
62
|
+
legend: ChartLegendPosition;
|
|
63
|
+
fill: boolean;
|
|
64
|
+
height: string | number;
|
|
65
|
+
smooth: boolean;
|
|
66
|
+
showAxes: boolean;
|
|
67
|
+
showGrid: boolean;
|
|
68
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
69
|
+
declare const _default: typeof __VLS_export;
|
|
70
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ChartData, ChartLegendPosition } from '../types';
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
data: {
|
|
5
|
+
type: PropType<ChartData>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
legend: {
|
|
9
|
+
type: PropType<ChartLegendPosition>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
height: {
|
|
13
|
+
type: PropType<number | string>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
data: {
|
|
18
|
+
type: PropType<ChartData>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
legend: {
|
|
22
|
+
type: PropType<ChartLegendPosition>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
height: {
|
|
26
|
+
type: PropType<number | string>;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
}>> & Readonly<{}>, {
|
|
30
|
+
legend: ChartLegendPosition;
|
|
31
|
+
height: string | number;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComponentError } from '../types';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
3
|
disabled: {
|
|
3
4
|
type: BooleanConstructor;
|
|
4
5
|
default: boolean;
|
|
@@ -11,9 +12,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
12
|
type: StringConstructor;
|
|
12
13
|
default: string;
|
|
13
14
|
};
|
|
14
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
-
"component-error": (
|
|
16
|
-
click: (
|
|
15
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
|
+
"component-error": (error: ComponentError) => any;
|
|
17
|
+
click: (event: MouseEvent) => any;
|
|
17
18
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
19
|
disabled: {
|
|
19
20
|
type: BooleanConstructor;
|
|
@@ -28,11 +29,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
28
29
|
default: string;
|
|
29
30
|
};
|
|
30
31
|
}>> & Readonly<{
|
|
31
|
-
"onComponent-error"?: ((
|
|
32
|
-
onClick?: ((
|
|
32
|
+
"onComponent-error"?: ((error: ComponentError) => any) | undefined;
|
|
33
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
33
34
|
}>, {
|
|
34
35
|
disabled: boolean;
|
|
35
36
|
ariaLabel: string;
|
|
36
37
|
white: boolean;
|
|
37
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
39
|
+
declare const _default: typeof __VLS_export;
|
|
38
40
|
export default _default;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { Tag, ColSize, OrderValue, AlignItems } from '../types';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
default?(_: {}): any;
|
|
7
|
-
};
|
|
8
|
-
refs: {};
|
|
9
|
-
rootEl: any;
|
|
3
|
+
declare var __VLS_8: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
6
|
};
|
|
11
|
-
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
8
|
tag: {
|
|
14
9
|
type: PropType<Tag>;
|
|
15
10
|
default: string;
|
|
@@ -90,9 +85,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
90
85
|
type: PropType<AlignItems>;
|
|
91
86
|
default: undefined;
|
|
92
87
|
};
|
|
93
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
94
|
-
"component-error": (...args: any[]) => void;
|
|
95
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
88
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
96
89
|
tag: {
|
|
97
90
|
type: PropType<Tag>;
|
|
98
91
|
default: string;
|
|
@@ -173,9 +166,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
173
166
|
type: PropType<AlignItems>;
|
|
174
167
|
default: undefined;
|
|
175
168
|
};
|
|
176
|
-
}>> & Readonly<{
|
|
177
|
-
"onComponent-error"?: ((...args: any[]) => any) | undefined;
|
|
178
|
-
}>, {
|
|
169
|
+
}>> & Readonly<{}>, {
|
|
179
170
|
sm: boolean | ColSize;
|
|
180
171
|
lg: boolean | ColSize;
|
|
181
172
|
md: boolean | ColSize;
|
|
@@ -197,9 +188,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
197
188
|
orderXxl: OrderValue;
|
|
198
189
|
alignSelf: AlignItems;
|
|
199
190
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
200
|
-
declare const
|
|
191
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
192
|
+
declare const _default: typeof __VLS_export;
|
|
201
193
|
export default _default;
|
|
202
|
-
type
|
|
194
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
203
195
|
new (): {
|
|
204
196
|
$slots: S;
|
|
205
197
|
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Tag, ComponentError } from '../types';
|
|
2
|
+
declare var __VLS_9: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_9) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
|
+
id: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: undefined;
|
|
10
|
+
};
|
|
11
|
+
modelValue: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
tag: {
|
|
16
|
+
type: () => Tag;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
horizontal: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
isNav: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
28
|
+
"update:modelValue": (value: boolean) => any;
|
|
29
|
+
"component-error": (error: ComponentError) => any;
|
|
30
|
+
show: () => any;
|
|
31
|
+
hidden: () => any;
|
|
32
|
+
hide: () => any;
|
|
33
|
+
shown: () => any;
|
|
34
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
35
|
+
id: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
39
|
+
modelValue: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
tag: {
|
|
44
|
+
type: () => Tag;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
horizontal: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
isNav: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
}>> & Readonly<{
|
|
56
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
57
|
+
"onComponent-error"?: ((error: ComponentError) => any) | undefined;
|
|
58
|
+
onShow?: (() => any) | undefined;
|
|
59
|
+
onHidden?: (() => any) | undefined;
|
|
60
|
+
onHide?: (() => any) | undefined;
|
|
61
|
+
onShown?: (() => any) | undefined;
|
|
62
|
+
}>, {
|
|
63
|
+
modelValue: boolean;
|
|
64
|
+
tag: Tag;
|
|
65
|
+
horizontal: boolean;
|
|
66
|
+
id: string;
|
|
67
|
+
isNav: boolean;
|
|
68
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
69
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
70
|
+
declare const _default: typeof __VLS_export;
|
|
71
|
+
export default _default;
|
|
72
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
73
|
+
new (): {
|
|
74
|
+
$slots: S;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Tag, ContainerType } from '../types';
|
|
3
|
+
declare var __VLS_8: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_8) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
|
+
fluid: {
|
|
9
|
+
type: PropType<boolean | ContainerType>;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
tag: {
|
|
13
|
+
type: PropType<Tag>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
fluid: {
|
|
18
|
+
type: PropType<boolean | ContainerType>;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
tag: {
|
|
22
|
+
type: PropType<Tag>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
}>> & Readonly<{}>, {
|
|
26
|
+
tag: Tag;
|
|
27
|
+
fluid: boolean | ContainerType;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { DataTableColumn, ComponentError } from '../types';
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<{
|
|
4
|
+
currentPage?: number;
|
|
5
|
+
perPage?: number;
|
|
6
|
+
sortBy?: string | undefined;
|
|
7
|
+
sortDesc?: boolean;
|
|
8
|
+
} & import('vue').ExtractPublicPropTypes<{
|
|
9
|
+
items: {
|
|
10
|
+
type: () => T[];
|
|
11
|
+
default: () => never[];
|
|
12
|
+
};
|
|
13
|
+
columns: {
|
|
14
|
+
type: () => DataTableColumn<T>[];
|
|
15
|
+
required: boolean;
|
|
16
|
+
};
|
|
17
|
+
rowKey: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
striped: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
bordered: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
borderless: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
hover: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
small: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
responsive: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
stack: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
variant: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
searchable: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
sortable: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
paginated: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
searchPlaceholder: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
searchDebounce: {
|
|
70
|
+
type: NumberConstructor;
|
|
71
|
+
default: number;
|
|
72
|
+
};
|
|
73
|
+
showEmpty: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
emptyText: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
showPerPage: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
showInfo: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
infoText: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
filteredInfoText: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
perPageOptions: {
|
|
98
|
+
type: () => number[];
|
|
99
|
+
default: () => number[];
|
|
100
|
+
};
|
|
101
|
+
}> & {
|
|
102
|
+
"onComponent-error"?: ((error: ComponentError) => any) | undefined;
|
|
103
|
+
"onUpdate:currentPage"?: ((value: number) => any) | undefined;
|
|
104
|
+
"onUpdate:perPage"?: ((value: number) => any) | undefined;
|
|
105
|
+
"onUpdate:sortBy"?: ((value: string | undefined) => any) | undefined;
|
|
106
|
+
"onUpdate:sortDesc"?: ((value: boolean) => any) | undefined;
|
|
107
|
+
"onRow-clicked"?: ((item: T, globalIndex: number) => any) | undefined;
|
|
108
|
+
}> & (typeof globalThis extends {
|
|
109
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
110
|
+
} ? P : {});
|
|
111
|
+
expose: (exposed: {}) => void;
|
|
112
|
+
attrs: any;
|
|
113
|
+
slots: { [K in `cell(${keyof T & string})`]?: ((props: {
|
|
114
|
+
item: T;
|
|
115
|
+
value: T[keyof T & string];
|
|
116
|
+
index: number;
|
|
117
|
+
}) => any) | undefined; };
|
|
118
|
+
emit: {
|
|
119
|
+
(e: "row-clicked", item: T, globalIndex: number): void;
|
|
120
|
+
(e: "component-error", error: ComponentError): void;
|
|
121
|
+
} & (((event: "update:currentPage", value: number) => void) & ((event: "update:perPage", value: number) => void) & ((event: "update:sortBy", value: string | undefined) => void) & ((event: "update:sortDesc", value: boolean) => void));
|
|
122
|
+
}>) => import('vue').VNode & {
|
|
123
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
124
|
+
};
|
|
125
|
+
declare const _default: typeof __VLS_export;
|
|
126
|
+
export default _default;
|
|
127
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
128
|
+
[K in keyof T]: T[K];
|
|
129
|
+
} : {
|
|
130
|
+
[K in keyof T as K]: T[K];
|
|
131
|
+
}) & {};
|