@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
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
type IsoDate = string;
|
|
3
|
+
type DateValue = IsoDate | null;
|
|
4
|
+
type RangeValue = [DateValue, DateValue];
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: PropType<DateValue | RangeValue>;
|
|
8
|
+
default: null;
|
|
9
|
+
};
|
|
10
|
+
range: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
min: {
|
|
15
|
+
type: PropType<IsoDate>;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
max: {
|
|
19
|
+
type: PropType<IsoDate>;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
disabledDates: {
|
|
23
|
+
type: PropType<IsoDate[]>;
|
|
24
|
+
default: () => never[];
|
|
25
|
+
};
|
|
26
|
+
format: {
|
|
27
|
+
type: PropType<(iso: IsoDate) => string>;
|
|
28
|
+
default: undefined;
|
|
29
|
+
};
|
|
30
|
+
placeholder: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
weekStart: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
default: number;
|
|
37
|
+
};
|
|
38
|
+
id: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
label: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
disabled: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
}>, {
|
|
51
|
+
open: () => void;
|
|
52
|
+
close: () => void;
|
|
53
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
54
|
+
"update:modelValue": (value: DateValue | RangeValue) => any;
|
|
55
|
+
close: () => any;
|
|
56
|
+
open: () => any;
|
|
57
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
58
|
+
modelValue: {
|
|
59
|
+
type: PropType<DateValue | RangeValue>;
|
|
60
|
+
default: null;
|
|
61
|
+
};
|
|
62
|
+
range: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
min: {
|
|
67
|
+
type: PropType<IsoDate>;
|
|
68
|
+
default: undefined;
|
|
69
|
+
};
|
|
70
|
+
max: {
|
|
71
|
+
type: PropType<IsoDate>;
|
|
72
|
+
default: undefined;
|
|
73
|
+
};
|
|
74
|
+
disabledDates: {
|
|
75
|
+
type: PropType<IsoDate[]>;
|
|
76
|
+
default: () => never[];
|
|
77
|
+
};
|
|
78
|
+
format: {
|
|
79
|
+
type: PropType<(iso: IsoDate) => string>;
|
|
80
|
+
default: undefined;
|
|
81
|
+
};
|
|
82
|
+
placeholder: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
weekStart: {
|
|
87
|
+
type: NumberConstructor;
|
|
88
|
+
default: number;
|
|
89
|
+
};
|
|
90
|
+
id: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: undefined;
|
|
93
|
+
};
|
|
94
|
+
label: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: undefined;
|
|
97
|
+
};
|
|
98
|
+
disabled: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
}>> & Readonly<{
|
|
103
|
+
"onUpdate:modelValue"?: ((value: DateValue | RangeValue) => any) | undefined;
|
|
104
|
+
onClose?: (() => any) | undefined;
|
|
105
|
+
onOpen?: (() => any) | undefined;
|
|
106
|
+
}>, {
|
|
107
|
+
modelValue: DateValue | RangeValue;
|
|
108
|
+
label: string;
|
|
109
|
+
disabled: boolean;
|
|
110
|
+
placeholder: string;
|
|
111
|
+
range: boolean;
|
|
112
|
+
id: string;
|
|
113
|
+
min: string;
|
|
114
|
+
max: string;
|
|
115
|
+
disabledDates: string[];
|
|
116
|
+
format: (iso: IsoDate) => string;
|
|
117
|
+
weekStart: number;
|
|
118
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
119
|
+
declare const _default: typeof __VLS_export;
|
|
120
|
+
export default _default;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare var __VLS_11: {
|
|
3
|
+
isDragging: boolean;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_11) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9
|
+
payload: {
|
|
10
|
+
type: PropType<unknown>;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
group: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
disabled: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
tag: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
26
|
+
dragend: (payload: {
|
|
27
|
+
payload: unknown;
|
|
28
|
+
group: string;
|
|
29
|
+
event: DragEvent;
|
|
30
|
+
}) => any;
|
|
31
|
+
dragstart: (payload: {
|
|
32
|
+
payload: unknown;
|
|
33
|
+
group: string;
|
|
34
|
+
event: DragEvent;
|
|
35
|
+
}) => any;
|
|
36
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
+
payload: {
|
|
38
|
+
type: PropType<unknown>;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
group: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
disabled: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
tag: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
}>> & Readonly<{
|
|
54
|
+
onDragend?: ((payload: {
|
|
55
|
+
payload: unknown;
|
|
56
|
+
group: string;
|
|
57
|
+
event: DragEvent;
|
|
58
|
+
}) => any) | undefined;
|
|
59
|
+
onDragstart?: ((payload: {
|
|
60
|
+
payload: unknown;
|
|
61
|
+
group: string;
|
|
62
|
+
event: DragEvent;
|
|
63
|
+
}) => any) | undefined;
|
|
64
|
+
}>, {
|
|
65
|
+
tag: string;
|
|
66
|
+
disabled: boolean;
|
|
67
|
+
group: string;
|
|
68
|
+
payload: undefined;
|
|
69
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
70
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
71
|
+
declare const _default: typeof __VLS_export;
|
|
72
|
+
export default _default;
|
|
73
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
74
|
+
new (): {
|
|
75
|
+
$slots: S;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
@@ -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
|
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
declare var __VLS_13: {
|
|
2
|
+
isOver: boolean;
|
|
3
|
+
};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_13) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
|
+
group: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
acceptGroups: {
|
|
13
|
+
type: () => string[];
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
disabled: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
tag: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
25
|
+
dragenter: (event: DragEvent) => any;
|
|
26
|
+
dragleave: (event: DragEvent) => any;
|
|
27
|
+
drop: (payload: {
|
|
28
|
+
payload: unknown;
|
|
29
|
+
group: string;
|
|
30
|
+
event: DragEvent;
|
|
31
|
+
}) => any;
|
|
32
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
group: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
acceptGroups: {
|
|
38
|
+
type: () => string[];
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
disabled: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
tag: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{
|
|
50
|
+
onDragenter?: ((event: DragEvent) => any) | undefined;
|
|
51
|
+
onDragleave?: ((event: DragEvent) => any) | undefined;
|
|
52
|
+
onDrop?: ((payload: {
|
|
53
|
+
payload: unknown;
|
|
54
|
+
group: string;
|
|
55
|
+
event: DragEvent;
|
|
56
|
+
}) => any) | undefined;
|
|
57
|
+
}>, {
|
|
58
|
+
tag: string;
|
|
59
|
+
disabled: boolean;
|
|
60
|
+
group: string;
|
|
61
|
+
acceptGroups: string[];
|
|
62
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
63
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
64
|
+
declare const _default: typeof __VLS_export;
|
|
65
|
+
export default _default;
|
|
66
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
67
|
+
new (): {
|
|
68
|
+
$slots: S;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Size } from '../types';
|
|
3
|
+
declare var __VLS_1: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
dropzone?: (props: typeof __VLS_1) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: PropType<File[]>;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
id: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
label: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
20
|
+
multiple: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
accept: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
maxSize: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
dragDrop: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
size: {
|
|
41
|
+
type: PropType<Size>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
helpText: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
dropzoneText: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
}>, {
|
|
53
|
+
clearFiles: () => void;
|
|
54
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
55
|
+
invalid: (rejected: File[]) => any;
|
|
56
|
+
"update:modelValue": (files: File[]) => any;
|
|
57
|
+
change: (files: File[]) => any;
|
|
58
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
59
|
+
modelValue: {
|
|
60
|
+
type: PropType<File[]>;
|
|
61
|
+
default: () => never[];
|
|
62
|
+
};
|
|
63
|
+
id: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: undefined;
|
|
66
|
+
};
|
|
67
|
+
label: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: undefined;
|
|
70
|
+
};
|
|
71
|
+
multiple: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
accept: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: undefined;
|
|
78
|
+
};
|
|
79
|
+
maxSize: {
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
default: undefined;
|
|
82
|
+
};
|
|
83
|
+
dragDrop: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
disabled: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
size: {
|
|
92
|
+
type: PropType<Size>;
|
|
93
|
+
default: undefined;
|
|
94
|
+
};
|
|
95
|
+
helpText: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
dropzoneText: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
}>> & Readonly<{
|
|
104
|
+
onInvalid?: ((rejected: File[]) => any) | undefined;
|
|
105
|
+
"onUpdate:modelValue"?: ((files: File[]) => any) | undefined;
|
|
106
|
+
onChange?: ((files: File[]) => any) | undefined;
|
|
107
|
+
}>, {
|
|
108
|
+
modelValue: File[];
|
|
109
|
+
label: string;
|
|
110
|
+
size: Size;
|
|
111
|
+
disabled: boolean;
|
|
112
|
+
multiple: boolean;
|
|
113
|
+
id: string;
|
|
114
|
+
helpText: string;
|
|
115
|
+
accept: string;
|
|
116
|
+
maxSize: number;
|
|
117
|
+
dragDrop: boolean;
|
|
118
|
+
dropzoneText: string;
|
|
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;
|
|
122
|
+
export default _default;
|
|
123
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
124
|
+
new (): {
|
|
125
|
+
$slots: S;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
@@ -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,26 +124,30 @@ 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
|
-
required: boolean;
|
|
132
|
-
reverse: boolean;
|
|
133
137
|
label: string;
|
|
138
|
+
reverse: boolean;
|
|
134
139
|
disabled: boolean;
|
|
140
|
+
inline: boolean;
|
|
135
141
|
value: string | number | boolean;
|
|
142
|
+
required: boolean;
|
|
136
143
|
id: string;
|
|
137
144
|
validationState: ValidationState;
|
|
138
145
|
validationMessage: string;
|
|
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";
|
|
144
|
-
required: boolean;
|
|
139
|
+
type: "date" | "time" | "datetime-local" | "month" | "week";
|
|
145
140
|
label: string;
|
|
146
141
|
size: Size;
|
|
147
142
|
disabled: boolean;
|
|
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;
|