@velkymx/vibeui 0.9.0 → 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/CLAUDE.md +48 -0
- package/README.md +222 -197
- 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 +18 -34
- 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 +13 -17
- 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/{components → src/components}/VibeDatePicker.vue.d.ts +4 -6
- package/dist/{components → src/components}/VibeDraggable.vue.d.ts +9 -13
- package/dist/{components → src/components}/VibeDropdown.vue.d.ts +46 -43
- package/dist/{components → src/components}/VibeDroppable.vue.d.ts +9 -13
- package/dist/{components → src/components}/VibeFileInput.vue.d.ts +14 -20
- package/dist/{components → src/components}/VibeFormCheckbox.vue.d.ts +29 -21
- package/dist/{components → src/components}/VibeFormDatepicker.vue.d.ts +26 -29
- package/dist/{components → src/components}/VibeFormGroup.vue.d.ts +10 -13
- package/dist/{components → src/components}/VibeFormInput.vue.d.ts +22 -23
- package/dist/{components → src/components}/VibeFormRadio.vue.d.ts +22 -23
- package/dist/{components → src/components}/VibeFormSelect.vue.d.ts +27 -33
- package/dist/{components → src/components}/VibeFormSpinbutton.vue.d.ts +30 -33
- package/dist/{components → src/components}/VibeFormSwitch.vue.d.ts +21 -22
- package/dist/{components → src/components}/VibeFormTextarea.vue.d.ts +23 -24
- package/dist/{components → src/components}/VibeFormWysiwyg.vue.d.ts +22 -21
- 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/{components → src/components}/VibeResizable.vue.d.ts +10 -14
- package/dist/{components → src/components}/VibeRow.vue.d.ts +9 -17
- package/dist/src/components/VibeScrollspy.vue.d.ts +89 -0
- package/dist/{components → src/components}/VibeSkeleton.vue.d.ts +2 -1
- package/dist/{components → src/components}/VibeSlider.vue.d.ts +4 -5
- package/dist/src/components/VibeSortable.vue.d.ts +59 -0
- package/dist/{components → src/components}/VibeSpinner.vue.d.ts +4 -7
- package/dist/{components → src/components}/VibeStepper.vue.d.ts +32 -31
- package/dist/{components → src/components}/VibeTab.vue.d.ts +7 -11
- package/dist/src/components/VibeTabContent.vue.d.ts +56 -0
- package/dist/{components → src/components}/VibeTabs.vue.d.ts +9 -13
- package/dist/{components → src/components}/VibeToast.vue.d.ts +31 -44
- package/dist/{components → src/components}/VibeToastHost.vue.d.ts +2 -1
- 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/{components → src/components}/dndStore.d.ts +1 -0
- package/dist/{components → src/components}/index.d.ts +5 -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/useId.d.ts +2 -0
- package/dist/{directives → src/directives}/vTooltip.d.ts +2 -3
- package/dist/src/injectionKeys.d.ts +28 -0
- package/dist/{types.d.ts → src/types.d.ts} +21 -2
- 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 +8269 -5855
- package/dist/vibeui.umd.js +3 -1
- package/docs/README.md +225 -0
- package/docs/components/advanced/popover.md +125 -0
- package/docs/components/advanced/scrollspy.md +106 -0
- package/docs/components/advanced/tooltip.md +90 -0
- package/docs/components/card/card.md +223 -0
- 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 +94 -0
- package/docs/components/core/badge.md +75 -0
- package/docs/components/core/button-group.md +99 -0
- package/docs/components/core/button.md +127 -0
- package/docs/components/core/close-button.md +82 -0
- package/docs/components/core/link.md +79 -0
- package/docs/components/core/placeholder.md +129 -0
- package/docs/components/core/skeleton.md +40 -0
- package/docs/components/core/spinner.md +103 -0
- package/docs/components/data/datatable.md +435 -0
- package/docs/components/hero/hero.md +64 -0
- package/docs/components/interactive/accordion.md +121 -0
- package/docs/components/interactive/carousel.md +112 -0
- package/docs/components/interactive/collapse.md +106 -0
- package/docs/components/interactive/date-picker.md +78 -0
- package/docs/components/interactive/draggable.md +91 -0
- package/docs/components/interactive/dropdown.md +129 -0
- package/docs/components/interactive/modal.md +143 -0
- package/docs/components/interactive/offcanvas.md +92 -0
- 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 +177 -0
- package/docs/components/layout/col.md +117 -0
- package/docs/components/layout/container.md +53 -0
- package/docs/components/layout/row.md +107 -0
- package/docs/components/list/list-group.md +225 -0
- package/docs/components/navigation/breadcrumb.md +120 -0
- package/docs/components/navigation/nav.md +151 -0
- package/docs/components/navigation/navbar.md +108 -0
- package/docs/components/navigation/pagination.md +162 -0
- package/docs/components/progress/progress.md +188 -0
- package/docs/composables/back-button.md +28 -0
- package/docs/composables/breakpoints.md +54 -0
- package/docs/composables/color-mode.md +179 -0
- 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 +87 -0
- package/docs/forms/autocomplete.md +96 -0
- package/docs/forms/file-input.md +97 -0
- package/docs/forms/form-checkbox.md +100 -0
- package/docs/forms/form-datepicker.md +80 -0
- package/docs/forms/form-group.md +115 -0
- package/docs/forms/form-input.md +112 -0
- package/docs/forms/form-radio.md +82 -0
- package/docs/forms/form-select.md +98 -0
- package/docs/forms/form-spinbutton.md +94 -0
- package/docs/forms/form-switch.md +75 -0
- package/docs/forms/form-textarea.md +82 -0
- package/docs/forms/form-wysiwyg.md +99 -0
- package/docs/forms/input-group.md +70 -0
- package/docs/forms/validation.md +213 -0
- 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 +782 -0
- package/package.json +44 -14
- 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/VibeAutocomplete.vue.d.ts +0 -46
- 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/VibeSortable.vue.d.ts +0 -40
- 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}/useForm.d.ts +0 -0
- /package/dist/{composables → src/composables}/useFormValidation.d.ts +0 -0
- /package/dist/{composables → src/composables}/usePosition.d.ts +0 -0
- /package/dist/{composables → src/composables}/useToast.d.ts +0 -0
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/{main.d.ts → src/main.d.ts} +0 -0
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}): any;
|
|
8
|
-
};
|
|
9
|
-
refs: {};
|
|
10
|
-
rootEl: any;
|
|
2
|
+
declare var __VLS_11: {
|
|
3
|
+
isDragging: boolean;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_11) => any;
|
|
11
7
|
};
|
|
12
|
-
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
9
|
payload: {
|
|
15
10
|
type: PropType<unknown>;
|
|
16
11
|
default: undefined;
|
|
@@ -72,9 +67,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
72
67
|
group: string;
|
|
73
68
|
payload: undefined;
|
|
74
69
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
75
|
-
declare const
|
|
70
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
71
|
+
declare const _default: typeof __VLS_export;
|
|
76
72
|
export default _default;
|
|
77
|
-
type
|
|
73
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
78
74
|
new (): {
|
|
79
75
|
$slots: S;
|
|
80
76
|
};
|
|
@@ -1,28 +1,24 @@
|
|
|
1
|
-
import { Variant, Size, Direction, DropdownItem } from '../types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
item: DropdownItem;
|
|
9
|
-
index: number;
|
|
10
|
-
}): any;
|
|
11
|
-
item?(_: {
|
|
12
|
-
item: DropdownItem;
|
|
13
|
-
index: number;
|
|
14
|
-
}): any;
|
|
15
|
-
};
|
|
16
|
-
refs: {
|
|
17
|
-
dropdownRef: HTMLDivElement;
|
|
18
|
-
};
|
|
19
|
-
rootEl: HTMLDivElement;
|
|
1
|
+
import { Variant, Size, Direction, DropdownItem, ComponentError } from '../types';
|
|
2
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {
|
|
3
|
+
item: DropdownItem;
|
|
4
|
+
index: number;
|
|
5
|
+
}, __VLS_15: {
|
|
6
|
+
item: DropdownItem;
|
|
7
|
+
index: number;
|
|
20
8
|
};
|
|
21
|
-
type
|
|
22
|
-
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
button?: (props: typeof __VLS_1) => any;
|
|
11
|
+
} & {
|
|
12
|
+
button?: (props: typeof __VLS_3) => any;
|
|
13
|
+
} & {
|
|
14
|
+
header?: (props: typeof __VLS_5) => any;
|
|
15
|
+
} & {
|
|
16
|
+
item?: (props: typeof __VLS_15) => any;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
23
19
|
id: {
|
|
24
20
|
type: StringConstructor;
|
|
25
|
-
default:
|
|
21
|
+
default: undefined;
|
|
26
22
|
};
|
|
27
23
|
text: {
|
|
28
24
|
type: StringConstructor;
|
|
@@ -60,17 +56,21 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
60
56
|
show: () => void | undefined;
|
|
61
57
|
hide: () => void | undefined;
|
|
62
58
|
toggle: () => void | undefined;
|
|
63
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
64
|
-
"component-error": (
|
|
65
|
-
show: (
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
59
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
60
|
+
"component-error": (error: ComponentError) => any;
|
|
61
|
+
show: () => any;
|
|
62
|
+
hidden: () => any;
|
|
63
|
+
hide: () => any;
|
|
64
|
+
"item-click": (payload: {
|
|
65
|
+
item: DropdownItem;
|
|
66
|
+
index: number;
|
|
67
|
+
event: Event;
|
|
68
|
+
}) => any;
|
|
69
|
+
shown: () => any;
|
|
70
70
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
71
71
|
id: {
|
|
72
72
|
type: StringConstructor;
|
|
73
|
-
default:
|
|
73
|
+
default: undefined;
|
|
74
74
|
};
|
|
75
75
|
text: {
|
|
76
76
|
type: StringConstructor;
|
|
@@ -105,27 +105,30 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
105
105
|
default: boolean;
|
|
106
106
|
};
|
|
107
107
|
}>> & Readonly<{
|
|
108
|
-
"onComponent-error"?: ((
|
|
109
|
-
onShow?: ((
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
108
|
+
"onComponent-error"?: ((error: ComponentError) => any) | undefined;
|
|
109
|
+
onShow?: (() => any) | undefined;
|
|
110
|
+
onHidden?: (() => any) | undefined;
|
|
111
|
+
onHide?: (() => any) | undefined;
|
|
112
|
+
"onItem-click"?: ((payload: {
|
|
113
|
+
item: DropdownItem;
|
|
114
|
+
index: number;
|
|
115
|
+
event: Event;
|
|
116
|
+
}) => any) | undefined;
|
|
117
|
+
onShown?: (() => any) | undefined;
|
|
114
118
|
}>, {
|
|
115
|
-
variant: Variant;
|
|
116
119
|
text: string;
|
|
120
|
+
variant: Variant;
|
|
117
121
|
size: Size;
|
|
118
|
-
id: string;
|
|
119
122
|
split: boolean;
|
|
123
|
+
id: string;
|
|
120
124
|
direction: Direction;
|
|
121
125
|
menuEnd: boolean;
|
|
122
126
|
autoClose: string | boolean;
|
|
123
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
127
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
128
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
129
|
+
declare const _default: typeof __VLS_export;
|
|
127
130
|
export default _default;
|
|
128
|
-
type
|
|
131
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
129
132
|
new (): {
|
|
130
133
|
$slots: S;
|
|
131
134
|
};
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}): any;
|
|
7
|
-
};
|
|
8
|
-
refs: {};
|
|
9
|
-
rootEl: any;
|
|
1
|
+
declare var __VLS_13: {
|
|
2
|
+
isOver: boolean;
|
|
3
|
+
};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_13) => 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
|
group: {
|
|
14
9
|
type: StringConstructor;
|
|
15
10
|
default: string;
|
|
@@ -65,9 +60,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
65
60
|
group: string;
|
|
66
61
|
acceptGroups: string[];
|
|
67
62
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
68
|
-
declare const
|
|
63
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
64
|
+
declare const _default: typeof __VLS_export;
|
|
69
65
|
export default _default;
|
|
70
|
-
type
|
|
66
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
71
67
|
new (): {
|
|
72
68
|
$slots: S;
|
|
73
69
|
};
|
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { Size } from '../types';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
dropzone?(_: {}): any;
|
|
7
|
-
};
|
|
8
|
-
refs: {
|
|
9
|
-
inputRef: HTMLInputElement;
|
|
10
|
-
};
|
|
11
|
-
rootEl: HTMLDivElement;
|
|
3
|
+
declare var __VLS_1: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
dropzone?: (props: typeof __VLS_1) => any;
|
|
12
6
|
};
|
|
13
|
-
|
|
14
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
15
8
|
modelValue: {
|
|
16
9
|
type: PropType<File[]>;
|
|
17
10
|
default: () => never[];
|
|
@@ -56,10 +49,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
56
49
|
type: StringConstructor;
|
|
57
50
|
default: string;
|
|
58
51
|
};
|
|
59
|
-
}>, {
|
|
52
|
+
}>, {
|
|
53
|
+
clearFiles: () => void;
|
|
54
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
55
|
+
invalid: (rejected: File[]) => any;
|
|
60
56
|
"update:modelValue": (files: File[]) => any;
|
|
61
57
|
change: (files: File[]) => any;
|
|
62
|
-
invalid: (rejected: File[]) => any;
|
|
63
58
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
64
59
|
modelValue: {
|
|
65
60
|
type: PropType<File[]>;
|
|
@@ -106,27 +101,26 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
106
101
|
default: string;
|
|
107
102
|
};
|
|
108
103
|
}>> & Readonly<{
|
|
104
|
+
onInvalid?: ((rejected: File[]) => any) | undefined;
|
|
109
105
|
"onUpdate:modelValue"?: ((files: File[]) => any) | undefined;
|
|
110
106
|
onChange?: ((files: File[]) => any) | undefined;
|
|
111
|
-
onInvalid?: ((rejected: File[]) => any) | undefined;
|
|
112
107
|
}>, {
|
|
113
108
|
modelValue: File[];
|
|
114
109
|
label: string;
|
|
115
110
|
size: Size;
|
|
116
111
|
disabled: boolean;
|
|
112
|
+
multiple: boolean;
|
|
117
113
|
id: string;
|
|
118
114
|
helpText: string;
|
|
119
|
-
multiple: boolean;
|
|
120
115
|
accept: string;
|
|
121
116
|
maxSize: number;
|
|
122
117
|
dragDrop: boolean;
|
|
123
118
|
dropzoneText: string;
|
|
124
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
119
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
120
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
121
|
+
declare const _default: typeof __VLS_export;
|
|
128
122
|
export default _default;
|
|
129
|
-
type
|
|
123
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
130
124
|
new (): {
|
|
131
125
|
$slots: S;
|
|
132
126
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { ValidationState, ValidationRule, ValidatorFunction } from '../types';
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
type:
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
value: {
|
|
5
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
6
6
|
default: boolean;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
uncheckedValue: {
|
|
9
9
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
10
10
|
default: boolean;
|
|
11
11
|
};
|
|
@@ -57,18 +57,22 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
57
57
|
type: BooleanConstructor;
|
|
58
58
|
default: boolean;
|
|
59
59
|
};
|
|
60
|
+
modelValue: {
|
|
61
|
+
type: PropType<string | number | boolean | (string | number | boolean)[]>;
|
|
62
|
+
};
|
|
60
63
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
|
-
"update:modelValue": (
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
"update:modelValue": (value: string | number | boolean | (string | number | boolean)[]) => any;
|
|
65
|
+
} & {
|
|
66
|
+
blur: (event: FocusEvent) => any;
|
|
67
|
+
change: (event: Event) => any;
|
|
68
|
+
focus: (event: FocusEvent) => any;
|
|
69
|
+
validate: () => any;
|
|
66
70
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
67
|
-
|
|
68
|
-
type:
|
|
71
|
+
value: {
|
|
72
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
69
73
|
default: boolean;
|
|
70
74
|
};
|
|
71
|
-
|
|
75
|
+
uncheckedValue: {
|
|
72
76
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
73
77
|
default: boolean;
|
|
74
78
|
};
|
|
@@ -120,17 +124,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
120
124
|
type: BooleanConstructor;
|
|
121
125
|
default: boolean;
|
|
122
126
|
};
|
|
127
|
+
modelValue: {
|
|
128
|
+
type: PropType<string | number | boolean | (string | number | boolean)[]>;
|
|
129
|
+
};
|
|
123
130
|
}>> & Readonly<{
|
|
124
|
-
"onUpdate:modelValue"?: ((
|
|
125
|
-
onBlur?: ((
|
|
126
|
-
onChange?: ((
|
|
127
|
-
onFocus?: ((
|
|
128
|
-
onValidate?: ((
|
|
131
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean | (string | number | boolean)[]) => any) | undefined;
|
|
132
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
133
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
134
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
135
|
+
onValidate?: (() => any) | undefined;
|
|
129
136
|
}>, {
|
|
130
|
-
modelValue: any;
|
|
131
|
-
reverse: boolean;
|
|
132
137
|
label: string;
|
|
138
|
+
reverse: boolean;
|
|
133
139
|
disabled: boolean;
|
|
140
|
+
inline: boolean;
|
|
134
141
|
value: string | number | boolean;
|
|
135
142
|
required: boolean;
|
|
136
143
|
id: string;
|
|
@@ -139,7 +146,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
139
146
|
validationRules: ValidatorFunction | ValidationRule[];
|
|
140
147
|
validateOn: "blur" | "change";
|
|
141
148
|
helpText: string;
|
|
142
|
-
|
|
149
|
+
uncheckedValue: string | number | boolean;
|
|
143
150
|
indeterminate: boolean;
|
|
144
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
151
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
152
|
+
declare const _default: typeof __VLS_export;
|
|
145
153
|
export default _default;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { ValidationState, ValidationRule, ValidatorFunction, Size } from '../types';
|
|
3
|
-
declare const
|
|
4
|
-
modelValue: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
validator: (value: any) => boolean;
|
|
8
|
-
};
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9
4
|
id: {
|
|
10
5
|
type: StringConstructor;
|
|
11
6
|
default: undefined;
|
|
@@ -62,19 +57,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
62
57
|
type: () => "date" | "time" | "datetime-local" | "month" | "week";
|
|
63
58
|
default: string;
|
|
64
59
|
};
|
|
65
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
66
|
-
"update:modelValue": (...args: any[]) => void;
|
|
67
|
-
blur: (...args: any[]) => void;
|
|
68
|
-
change: (...args: any[]) => void;
|
|
69
|
-
focus: (...args: any[]) => void;
|
|
70
|
-
input: (...args: any[]) => void;
|
|
71
|
-
validate: (...args: any[]) => void;
|
|
72
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
73
60
|
modelValue: {
|
|
74
|
-
type:
|
|
75
|
-
default: string;
|
|
76
|
-
validator: (value: any) => boolean;
|
|
61
|
+
type: PropType<string>;
|
|
77
62
|
};
|
|
63
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
64
|
+
"update:modelValue": (value: string) => any;
|
|
65
|
+
} & {
|
|
66
|
+
input: (event: Event) => any;
|
|
67
|
+
blur: (event: FocusEvent) => any;
|
|
68
|
+
change: (event: Event) => any;
|
|
69
|
+
focus: (event: FocusEvent) => any;
|
|
70
|
+
validate: () => any;
|
|
71
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
78
72
|
id: {
|
|
79
73
|
type: StringConstructor;
|
|
80
74
|
default: undefined;
|
|
@@ -131,28 +125,31 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
131
125
|
type: () => "date" | "time" | "datetime-local" | "month" | "week";
|
|
132
126
|
default: string;
|
|
133
127
|
};
|
|
128
|
+
modelValue: {
|
|
129
|
+
type: PropType<string>;
|
|
130
|
+
};
|
|
134
131
|
}>> & Readonly<{
|
|
135
|
-
"onUpdate:modelValue"?: ((
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
onValidate?: ((
|
|
132
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
133
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
134
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
135
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
136
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
137
|
+
onValidate?: (() => any) | undefined;
|
|
141
138
|
}>, {
|
|
142
|
-
|
|
143
|
-
type: "time" | "date" | "datetime-local" | "month" | "week";
|
|
139
|
+
type: "date" | "time" | "datetime-local" | "month" | "week";
|
|
144
140
|
label: string;
|
|
145
141
|
size: Size;
|
|
146
142
|
disabled: boolean;
|
|
147
143
|
required: boolean;
|
|
148
144
|
id: string;
|
|
145
|
+
min: string;
|
|
146
|
+
max: string;
|
|
149
147
|
readonly: boolean;
|
|
150
148
|
validationState: ValidationState;
|
|
151
149
|
validationMessage: string;
|
|
152
150
|
validationRules: ValidatorFunction | ValidationRule[];
|
|
153
|
-
validateOn: "
|
|
151
|
+
validateOn: "input" | "blur" | "change";
|
|
154
152
|
helpText: string;
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
153
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
154
|
+
declare const _default: typeof __VLS_export;
|
|
158
155
|
export default _default;
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import { ValidationState } from '../types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
refs: {};
|
|
9
|
-
rootEl: HTMLDivElement;
|
|
2
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
default?: (props: typeof __VLS_3) => any;
|
|
10
7
|
};
|
|
11
|
-
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
9
|
label: {
|
|
14
10
|
type: StringConstructor;
|
|
15
11
|
default: undefined;
|
|
@@ -102,10 +98,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
102
98
|
floating: boolean;
|
|
103
99
|
labelCols: string | number;
|
|
104
100
|
labelAlign: "start" | "end" | "center";
|
|
105
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
106
|
-
declare const
|
|
101
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
102
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
103
|
+
declare const _default: typeof __VLS_export;
|
|
107
104
|
export default _default;
|
|
108
|
-
type
|
|
105
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
109
106
|
new (): {
|
|
110
107
|
$slots: S;
|
|
111
108
|
};
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { InputType, ValidationState, ValidationRule, ValidatorFunction, Size } from '../types';
|
|
3
|
-
declare const
|
|
4
|
-
modelValue: {
|
|
5
|
-
type: PropType<string | number>;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
4
|
type: {
|
|
9
5
|
type: PropType<InputType>;
|
|
10
6
|
default: string;
|
|
@@ -69,18 +65,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
69
65
|
type: BooleanConstructor;
|
|
70
66
|
default: boolean;
|
|
71
67
|
};
|
|
72
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
73
|
-
"update:modelValue": (...args: any[]) => void;
|
|
74
|
-
blur: (...args: any[]) => void;
|
|
75
|
-
change: (...args: any[]) => void;
|
|
76
|
-
focus: (...args: any[]) => void;
|
|
77
|
-
input: (...args: any[]) => void;
|
|
78
|
-
validate: (...args: any[]) => void;
|
|
79
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
80
68
|
modelValue: {
|
|
81
69
|
type: PropType<string | number>;
|
|
82
|
-
default: string;
|
|
83
70
|
};
|
|
71
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
72
|
+
"update:modelValue": (value: string | number) => any;
|
|
73
|
+
} & {
|
|
74
|
+
input: (event: Event) => any;
|
|
75
|
+
blur: (event: FocusEvent) => any;
|
|
76
|
+
change: (event: Event) => any;
|
|
77
|
+
focus: (event: FocusEvent) => any;
|
|
78
|
+
validate: () => any;
|
|
79
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
84
80
|
type: {
|
|
85
81
|
type: PropType<InputType>;
|
|
86
82
|
default: string;
|
|
@@ -145,30 +141,33 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
145
141
|
type: BooleanConstructor;
|
|
146
142
|
default: boolean;
|
|
147
143
|
};
|
|
144
|
+
modelValue: {
|
|
145
|
+
type: PropType<string | number>;
|
|
146
|
+
};
|
|
148
147
|
}>> & Readonly<{
|
|
149
|
-
"onUpdate:modelValue"?: ((
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
onValidate?: ((
|
|
148
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
149
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
150
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
151
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
152
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
153
|
+
onValidate?: (() => any) | undefined;
|
|
155
154
|
}>, {
|
|
156
|
-
modelValue: string | number;
|
|
157
155
|
type: InputType;
|
|
158
156
|
label: string;
|
|
159
157
|
size: Size;
|
|
160
158
|
disabled: boolean;
|
|
161
159
|
focusRing: boolean;
|
|
162
160
|
placeholder: string;
|
|
163
|
-
required: boolean;
|
|
164
161
|
plaintext: boolean;
|
|
162
|
+
required: boolean;
|
|
165
163
|
id: string;
|
|
166
164
|
readonly: boolean;
|
|
167
165
|
validationState: ValidationState;
|
|
168
166
|
validationMessage: string;
|
|
169
167
|
validationRules: ValidatorFunction | ValidationRule[];
|
|
170
|
-
validateOn: "
|
|
168
|
+
validateOn: "input" | "blur" | "change";
|
|
171
169
|
helpText: string;
|
|
172
170
|
noWrapper: boolean;
|
|
173
171
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
172
|
+
declare const _default: typeof __VLS_export;
|
|
174
173
|
export default _default;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { ValidationState, ValidationRule, ValidatorFunction } from '../types';
|
|
3
|
-
declare const
|
|
4
|
-
modelValue: {
|
|
5
|
-
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
4
|
value: {
|
|
9
5
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
10
6
|
required: true;
|
|
@@ -57,17 +53,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
57
53
|
type: BooleanConstructor;
|
|
58
54
|
default: boolean;
|
|
59
55
|
};
|
|
60
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
|
-
"update:modelValue": (...args: any[]) => void;
|
|
62
|
-
blur: (...args: any[]) => void;
|
|
63
|
-
change: (...args: any[]) => void;
|
|
64
|
-
focus: (...args: any[]) => void;
|
|
65
|
-
validate: (...args: any[]) => void;
|
|
66
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
67
56
|
modelValue: {
|
|
68
|
-
type:
|
|
69
|
-
default: string;
|
|
57
|
+
type: PropType<string | number | boolean>;
|
|
70
58
|
};
|
|
59
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
60
|
+
"update:modelValue": (value: string | number | boolean) => any;
|
|
61
|
+
} & {
|
|
62
|
+
blur: (event: FocusEvent) => any;
|
|
63
|
+
change: (event: Event) => any;
|
|
64
|
+
focus: (event: FocusEvent) => any;
|
|
65
|
+
validate: () => any;
|
|
66
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
71
67
|
value: {
|
|
72
68
|
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
73
69
|
required: true;
|
|
@@ -120,17 +116,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
120
116
|
type: BooleanConstructor;
|
|
121
117
|
default: boolean;
|
|
122
118
|
};
|
|
119
|
+
modelValue: {
|
|
120
|
+
type: PropType<string | number | boolean>;
|
|
121
|
+
};
|
|
123
122
|
}>> & Readonly<{
|
|
124
|
-
"onUpdate:modelValue"?: ((
|
|
125
|
-
onBlur?: ((
|
|
126
|
-
onChange?: ((
|
|
127
|
-
onFocus?: ((
|
|
128
|
-
onValidate?: ((
|
|
123
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
|
|
124
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
125
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
126
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
127
|
+
onValidate?: (() => any) | undefined;
|
|
129
128
|
}>, {
|
|
130
|
-
modelValue: string | number | boolean;
|
|
131
|
-
reverse: boolean;
|
|
132
129
|
label: string;
|
|
130
|
+
reverse: boolean;
|
|
133
131
|
disabled: boolean;
|
|
132
|
+
inline: boolean;
|
|
134
133
|
required: boolean;
|
|
135
134
|
id: string;
|
|
136
135
|
validationState: ValidationState;
|
|
@@ -138,6 +137,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
138
137
|
validationRules: ValidatorFunction | ValidationRule[];
|
|
139
138
|
validateOn: "blur" | "change";
|
|
140
139
|
helpText: string;
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
141
|
+
declare const _default: typeof __VLS_export;
|
|
143
142
|
export default _default;
|