@velkymx/vibeui 0.9.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +44 -0
- package/CLAUDE.md +48 -0
- package/README.md +222 -197
- package/dist/App.vue.d.ts +2 -1
- package/dist/components/HelloWorld.vue.d.ts +2 -1
- package/dist/components/VibeAccordion.vue.d.ts +39 -40
- package/dist/components/VibeAlert.vue.d.ts +21 -37
- package/dist/components/VibeAutocomplete.vue.d.ts +59 -31
- package/dist/components/VibeBadge.vue.d.ts +10 -18
- package/dist/components/VibeBreadcrumb.vue.d.ts +25 -21
- package/dist/components/VibeButton.vue.d.ts +13 -17
- package/dist/components/VibeButtonGroup.vue.d.ts +11 -19
- package/dist/components/VibeCard.vue.d.ts +51 -24
- package/dist/components/VibeCarousel.vue.d.ts +27 -49
- package/dist/components/VibeChartBar.vue.d.ts +61 -0
- package/dist/components/VibeChartLine.vue.d.ts +70 -0
- package/dist/components/VibeChartPie.vue.d.ts +34 -0
- package/dist/components/VibeCloseButton.vue.d.ts +9 -7
- package/dist/components/VibeCol.vue.d.ts +9 -17
- package/dist/components/VibeCollapse.vue.d.ts +24 -32
- package/dist/components/VibeContainer.vue.d.ts +9 -17
- package/dist/components/VibeDataTable.vue.d.ts +122 -63
- package/dist/components/VibeDatePicker.vue.d.ts +4 -6
- package/dist/components/VibeDraggable.vue.d.ts +9 -13
- package/dist/components/VibeDropdown.vue.d.ts +46 -43
- package/dist/components/VibeDroppable.vue.d.ts +9 -13
- package/dist/components/VibeFileInput.vue.d.ts +14 -20
- package/dist/components/VibeFormCheckbox.vue.d.ts +30 -22
- package/dist/components/VibeFormDatepicker.vue.d.ts +27 -30
- package/dist/components/VibeFormErrorSummary.vue.d.ts +17 -0
- package/dist/components/VibeFormGroup.vue.d.ts +10 -13
- package/dist/components/VibeFormInput.vue.d.ts +60 -25
- package/dist/components/VibeFormRadio.vue.d.ts +23 -24
- package/dist/components/VibeFormSelect.vue.d.ts +28 -34
- package/dist/components/VibeFormSpinbutton.vue.d.ts +31 -34
- package/dist/components/VibeFormSwitch.vue.d.ts +22 -23
- package/dist/components/VibeFormTextarea.vue.d.ts +24 -25
- package/dist/components/VibeFormWysiwyg.vue.d.ts +23 -22
- package/dist/components/VibeHero.vue.d.ts +117 -0
- package/dist/components/VibeIcon.vue.d.ts +27 -7
- package/dist/components/VibeInputGroup.vue.d.ts +12 -14
- package/dist/components/VibeLink.vue.d.ts +14 -18
- package/dist/components/VibeListGroup.vue.d.ts +26 -22
- package/dist/components/VibeModal.vue.d.ts +47 -45
- package/dist/components/VibeNav.vue.d.ts +40 -20
- package/dist/components/VibeNavbar.vue.d.ts +12 -19
- package/dist/components/VibeNavbarBrand.vue.d.ts +9 -17
- package/dist/components/VibeNavbarNav.vue.d.ts +52 -33
- package/dist/components/VibeNavbarToggle.vue.d.ts +7 -5
- package/dist/components/VibeOffcanvas.vue.d.ts +28 -43
- package/dist/components/VibePagination.vue.d.ts +38 -29
- package/dist/components/VibePlaceholder.vue.d.ts +9 -17
- package/dist/components/VibePopover.vue.d.ts +17 -40
- package/dist/components/VibeProgress.vue.d.ts +13 -21
- package/dist/components/VibeResizable.vue.d.ts +10 -14
- package/dist/components/VibeRow.vue.d.ts +9 -17
- package/dist/components/VibeScrollspy.vue.d.ts +37 -25
- package/dist/components/VibeSkeleton.vue.d.ts +2 -1
- package/dist/components/VibeSlider.vue.d.ts +4 -5
- package/dist/components/VibeSortable.vue.d.ts +37 -18
- package/dist/components/VibeSpinner.vue.d.ts +4 -7
- package/dist/components/VibeStepper.vue.d.ts +32 -31
- package/dist/components/VibeTab.vue.d.ts +7 -11
- package/dist/components/VibeTabContent.vue.d.ts +13 -31
- package/dist/components/VibeTabs.vue.d.ts +9 -13
- package/dist/components/VibeToast.vue.d.ts +31 -44
- package/dist/components/VibeToastHost.vue.d.ts +2 -1
- package/dist/components/VibeTooltip.vue.d.ts +16 -39
- package/dist/components/chart/chartColors.d.ts +3 -0
- package/dist/components/chart/chartResize.d.ts +2 -0
- package/dist/components/chart/chartTooltip.d.ts +2 -0
- package/dist/components/chart/chartTypes.d.ts +6 -0
- package/dist/components/chart/drawBar.d.ts +5 -0
- package/dist/components/chart/drawLine.d.ts +18 -0
- package/dist/components/chart/drawPie.d.ts +4 -0
- package/dist/components/dndStore.d.ts +1 -0
- package/dist/components/index.d.ts +6 -1
- package/dist/composables/useBreakpoints.d.ts +1 -0
- package/dist/composables/useColorMode.d.ts +1 -1
- package/dist/composables/useId.d.ts +1 -4
- package/dist/directives/vTooltip.d.ts +2 -3
- package/dist/injectionKeys.d.ts +34 -0
- package/dist/purify.es-eYghtX9j.mjs +735 -0
- package/dist/types.d.ts +23 -2
- package/dist/utils/routeKey.d.ts +11 -0
- package/dist/utils/safeCss.d.ts +16 -0
- package/dist/utils/safeHref.d.ts +7 -0
- package/dist/utils/sanitizeHtml.d.ts +13 -0
- package/dist/vibeui.css +2 -1
- package/dist/vibeui.es.js +8527 -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 +145 -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 +437 -0
- package/docs/components/hero/hero.md +65 -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 +151 -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 +114 -0
- package/docs/components/navigation/pagination.md +163 -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-error-summary.md +96 -0
- package/docs/forms/form-group.md +118 -0
- package/docs/forms/form-input.md +140 -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 +801 -0
- package/package.json +44 -14
- package/dist/types/index.d.ts +0 -6
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
errors: {
|
|
3
|
+
type: () => Record<string, string>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
+
focus: (key: string) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
errors: {
|
|
10
|
+
type: () => Record<string, string>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{
|
|
14
|
+
onFocus?: ((key: string) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
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
|
-
import { InputType, ValidationState, ValidationRule, ValidatorFunction, Size } from '../types';
|
|
3
|
-
declare const
|
|
4
|
-
modelValue: {
|
|
5
|
-
type: PropType<string | number>;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
2
|
+
import { InputType, ValidationState, ValidationRule, ValidatorFunction, Size, AutocompleteType, InputMode } from '../types';
|
|
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,34 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
69
65
|
type: BooleanConstructor;
|
|
70
66
|
default: boolean;
|
|
71
67
|
};
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
68
|
+
showToggle: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
showPasswordStrength: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
autocomplete: {
|
|
77
|
+
type: PropType<AutocompleteType>;
|
|
78
|
+
default: undefined;
|
|
79
|
+
};
|
|
80
|
+
inputmode: {
|
|
81
|
+
type: PropType<InputMode>;
|
|
82
|
+
default: undefined;
|
|
83
|
+
};
|
|
80
84
|
modelValue: {
|
|
81
85
|
type: PropType<string | number>;
|
|
82
|
-
default: string;
|
|
83
86
|
};
|
|
87
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
88
|
+
"update:modelValue": (value: string | number) => any;
|
|
89
|
+
} & {
|
|
90
|
+
input: (event: Event) => any;
|
|
91
|
+
blur: (event: FocusEvent) => any;
|
|
92
|
+
change: (event: Event) => any;
|
|
93
|
+
focus: (event: FocusEvent) => any;
|
|
94
|
+
validate: () => any;
|
|
95
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
84
96
|
type: {
|
|
85
97
|
type: PropType<InputType>;
|
|
86
98
|
default: string;
|
|
@@ -145,30 +157,53 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
145
157
|
type: BooleanConstructor;
|
|
146
158
|
default: boolean;
|
|
147
159
|
};
|
|
160
|
+
showToggle: {
|
|
161
|
+
type: BooleanConstructor;
|
|
162
|
+
default: boolean;
|
|
163
|
+
};
|
|
164
|
+
showPasswordStrength: {
|
|
165
|
+
type: BooleanConstructor;
|
|
166
|
+
default: boolean;
|
|
167
|
+
};
|
|
168
|
+
autocomplete: {
|
|
169
|
+
type: PropType<AutocompleteType>;
|
|
170
|
+
default: undefined;
|
|
171
|
+
};
|
|
172
|
+
inputmode: {
|
|
173
|
+
type: PropType<InputMode>;
|
|
174
|
+
default: undefined;
|
|
175
|
+
};
|
|
176
|
+
modelValue: {
|
|
177
|
+
type: PropType<string | number>;
|
|
178
|
+
};
|
|
148
179
|
}>> & Readonly<{
|
|
149
|
-
"onUpdate:modelValue"?: ((
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
onValidate?: ((
|
|
180
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
181
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
182
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
183
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
184
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
185
|
+
onValidate?: (() => any) | undefined;
|
|
155
186
|
}>, {
|
|
156
|
-
modelValue: string | number;
|
|
157
187
|
type: InputType;
|
|
158
188
|
label: string;
|
|
159
189
|
size: Size;
|
|
160
190
|
disabled: boolean;
|
|
161
191
|
focusRing: boolean;
|
|
192
|
+
id: string;
|
|
162
193
|
placeholder: string;
|
|
163
|
-
required: boolean;
|
|
164
194
|
plaintext: boolean;
|
|
165
|
-
|
|
195
|
+
required: boolean;
|
|
166
196
|
readonly: boolean;
|
|
167
197
|
validationState: ValidationState;
|
|
168
198
|
validationMessage: string;
|
|
169
199
|
validationRules: ValidatorFunction | ValidationRule[];
|
|
170
|
-
validateOn: "
|
|
200
|
+
validateOn: "input" | "blur" | "change";
|
|
171
201
|
helpText: string;
|
|
172
202
|
noWrapper: boolean;
|
|
203
|
+
showToggle: boolean;
|
|
204
|
+
showPasswordStrength: boolean;
|
|
205
|
+
autocomplete: AutocompleteType;
|
|
206
|
+
inputmode: InputMode;
|
|
173
207
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
208
|
+
declare const _default: typeof __VLS_export;
|
|
174
209
|
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,24 +116,27 @@ 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;
|
|
134
|
-
required: boolean;
|
|
135
132
|
id: string;
|
|
133
|
+
inline: boolean;
|
|
134
|
+
required: boolean;
|
|
136
135
|
validationState: ValidationState;
|
|
137
136
|
validationMessage: string;
|
|
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;
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { FormSelectOption, ValidationState, ValidationRule, ValidatorFunction, Size } from '../types';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
default?(_: {}): any;
|
|
7
|
-
};
|
|
8
|
-
refs: {};
|
|
9
|
-
rootEl: HTMLDivElement;
|
|
2
|
+
import { FormSelectOption, FormSelectOptionValue, ValidationState, ValidationRule, ValidatorFunction, Size } from '../types';
|
|
3
|
+
declare var __VLS_1: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
6
|
};
|
|
11
|
-
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
|
-
modelValue: {
|
|
14
|
-
type: PropType<any>;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
7
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
17
8
|
id: {
|
|
18
9
|
type: StringConstructor;
|
|
19
10
|
default: undefined;
|
|
@@ -74,17 +65,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
74
65
|
type: StringConstructor;
|
|
75
66
|
default: undefined;
|
|
76
67
|
};
|
|
77
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
78
|
-
"update:modelValue": (...args: any[]) => void;
|
|
79
|
-
blur: (...args: any[]) => void;
|
|
80
|
-
change: (...args: any[]) => void;
|
|
81
|
-
focus: (...args: any[]) => void;
|
|
82
|
-
validate: (...args: any[]) => void;
|
|
83
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
84
68
|
modelValue: {
|
|
85
|
-
type: PropType<
|
|
86
|
-
default: string;
|
|
69
|
+
type: PropType<string | number | boolean | FormSelectOptionValue[] | null>;
|
|
87
70
|
};
|
|
71
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
72
|
+
"update:modelValue": (value: FormSelectOptionValue | FormSelectOptionValue[]) => any;
|
|
73
|
+
} & {
|
|
74
|
+
blur: (event: FocusEvent) => any;
|
|
75
|
+
change: (event: Event) => any;
|
|
76
|
+
focus: (event: FocusEvent) => any;
|
|
77
|
+
validate: () => any;
|
|
78
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
88
79
|
id: {
|
|
89
80
|
type: StringConstructor;
|
|
90
81
|
default: undefined;
|
|
@@ -145,33 +136,36 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
145
136
|
type: StringConstructor;
|
|
146
137
|
default: undefined;
|
|
147
138
|
};
|
|
139
|
+
modelValue: {
|
|
140
|
+
type: PropType<string | number | boolean | FormSelectOptionValue[] | null>;
|
|
141
|
+
};
|
|
148
142
|
}>> & Readonly<{
|
|
149
|
-
"onUpdate:modelValue"?: ((
|
|
150
|
-
onBlur?: ((
|
|
151
|
-
onChange?: ((
|
|
152
|
-
onFocus?: ((
|
|
153
|
-
onValidate?: ((
|
|
143
|
+
"onUpdate:modelValue"?: ((value: FormSelectOptionValue | FormSelectOptionValue[]) => any) | undefined;
|
|
144
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
145
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
146
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
147
|
+
onValidate?: (() => any) | undefined;
|
|
154
148
|
}>, {
|
|
155
|
-
modelValue: any;
|
|
156
149
|
label: string;
|
|
157
150
|
size: Size;
|
|
158
151
|
disabled: boolean;
|
|
152
|
+
id: string;
|
|
159
153
|
placeholder: string;
|
|
154
|
+
multiple: boolean;
|
|
160
155
|
required: boolean;
|
|
161
|
-
id: string;
|
|
162
156
|
validationState: ValidationState;
|
|
163
157
|
validationMessage: string;
|
|
164
158
|
validationRules: ValidatorFunction | ValidationRule[];
|
|
165
159
|
validateOn: "blur" | "change";
|
|
166
160
|
helpText: string;
|
|
167
161
|
options: FormSelectOption[];
|
|
168
|
-
multiple: boolean;
|
|
169
162
|
selectSize: number;
|
|
170
163
|
htmlSize: number;
|
|
171
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
172
|
-
declare const
|
|
164
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
165
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
166
|
+
declare const _default: typeof __VLS_export;
|
|
173
167
|
export default _default;
|
|
174
|
-
type
|
|
168
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
175
169
|
new (): {
|
|
176
170
|
$slots: S;
|
|
177
171
|
};
|
|
@@ -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: NumberConstructor;
|
|
6
|
-
default: number;
|
|
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;
|
|
@@ -70,21 +65,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
70
65
|
type: BooleanConstructor;
|
|
71
66
|
default: boolean;
|
|
72
67
|
};
|
|
73
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
74
|
-
"update:modelValue": (...args: any[]) => void;
|
|
75
|
-
blur: (...args: any[]) => void;
|
|
76
|
-
change: (...args: any[]) => void;
|
|
77
|
-
focus: (...args: any[]) => void;
|
|
78
|
-
input: (...args: any[]) => void;
|
|
79
|
-
validate: (...args: any[]) => void;
|
|
80
|
-
increment: (...args: any[]) => void;
|
|
81
|
-
decrement: (...args: any[]) => void;
|
|
82
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
83
68
|
modelValue: {
|
|
84
|
-
type:
|
|
85
|
-
default: number;
|
|
86
|
-
validator: (value: any) => boolean;
|
|
69
|
+
type: PropType<number>;
|
|
87
70
|
};
|
|
71
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
72
|
+
"update:modelValue": (value: 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
|
+
increment: (value: number) => any;
|
|
80
|
+
decrement: (value: number) => any;
|
|
81
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
88
82
|
id: {
|
|
89
83
|
type: StringConstructor;
|
|
90
84
|
default: undefined;
|
|
@@ -149,32 +143,35 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
149
143
|
type: BooleanConstructor;
|
|
150
144
|
default: boolean;
|
|
151
145
|
};
|
|
146
|
+
modelValue: {
|
|
147
|
+
type: PropType<number>;
|
|
148
|
+
};
|
|
152
149
|
}>> & Readonly<{
|
|
153
|
-
"onUpdate:modelValue"?: ((
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
onValidate?: ((
|
|
159
|
-
onIncrement?: ((
|
|
160
|
-
onDecrement?: ((
|
|
150
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
151
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
152
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
153
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
154
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
155
|
+
onValidate?: (() => any) | undefined;
|
|
156
|
+
onIncrement?: ((value: number) => any) | undefined;
|
|
157
|
+
onDecrement?: ((value: number) => any) | undefined;
|
|
161
158
|
}>, {
|
|
162
|
-
modelValue: number;
|
|
163
159
|
label: string;
|
|
164
160
|
size: Size;
|
|
165
161
|
disabled: boolean;
|
|
162
|
+
id: string;
|
|
166
163
|
vertical: boolean;
|
|
164
|
+
wrap: boolean;
|
|
167
165
|
required: boolean;
|
|
168
166
|
step: number;
|
|
169
|
-
|
|
170
|
-
|
|
167
|
+
min: number;
|
|
168
|
+
max: number;
|
|
171
169
|
readonly: boolean;
|
|
172
170
|
validationState: ValidationState;
|
|
173
171
|
validationMessage: string;
|
|
174
172
|
validationRules: ValidatorFunction | ValidationRule[];
|
|
175
|
-
validateOn: "
|
|
173
|
+
validateOn: "input" | "blur" | "change";
|
|
176
174
|
helpText: string;
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
175
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
176
|
+
declare const _default: typeof __VLS_export;
|
|
180
177
|
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: BooleanConstructor;
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
4
|
id: {
|
|
9
5
|
type: StringConstructor;
|
|
10
6
|
default: undefined;
|
|
@@ -45,17 +41,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
45
41
|
type: StringConstructor;
|
|
46
42
|
default: undefined;
|
|
47
43
|
};
|
|
48
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
49
|
-
"update:modelValue": (...args: any[]) => void;
|
|
50
|
-
blur: (...args: any[]) => void;
|
|
51
|
-
change: (...args: any[]) => void;
|
|
52
|
-
focus: (...args: any[]) => void;
|
|
53
|
-
validate: (...args: any[]) => void;
|
|
54
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
55
44
|
modelValue: {
|
|
56
|
-
type:
|
|
57
|
-
default: boolean;
|
|
45
|
+
type: PropType<boolean>;
|
|
58
46
|
};
|
|
47
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
48
|
+
"update:modelValue": (value: boolean) => any;
|
|
49
|
+
} & {
|
|
50
|
+
blur: (event: FocusEvent) => any;
|
|
51
|
+
change: (event: Event) => any;
|
|
52
|
+
focus: (event: FocusEvent) => any;
|
|
53
|
+
validate: () => any;
|
|
54
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
59
55
|
id: {
|
|
60
56
|
type: StringConstructor;
|
|
61
57
|
default: undefined;
|
|
@@ -96,23 +92,26 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
96
92
|
type: StringConstructor;
|
|
97
93
|
default: undefined;
|
|
98
94
|
};
|
|
95
|
+
modelValue: {
|
|
96
|
+
type: PropType<boolean>;
|
|
97
|
+
};
|
|
99
98
|
}>> & Readonly<{
|
|
100
|
-
"onUpdate:modelValue"?: ((
|
|
101
|
-
onBlur?: ((
|
|
102
|
-
onChange?: ((
|
|
103
|
-
onFocus?: ((
|
|
104
|
-
onValidate?: ((
|
|
99
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
100
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
101
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
102
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
103
|
+
onValidate?: (() => any) | undefined;
|
|
105
104
|
}>, {
|
|
106
|
-
modelValue: boolean;
|
|
107
105
|
label: string;
|
|
108
106
|
disabled: boolean;
|
|
109
|
-
required: boolean;
|
|
110
107
|
id: string;
|
|
108
|
+
inline: boolean;
|
|
109
|
+
required: boolean;
|
|
111
110
|
validationState: ValidationState;
|
|
112
111
|
validationMessage: string;
|
|
113
112
|
validationRules: ValidatorFunction | ValidationRule[];
|
|
114
113
|
validateOn: "blur" | "change";
|
|
115
114
|
helpText: string;
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
116
|
+
declare const _default: typeof __VLS_export;
|
|
118
117
|
export default _default;
|
|
@@ -1,10 +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
|
-
};
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
4
|
id: {
|
|
9
5
|
type: StringConstructor;
|
|
10
6
|
default: undefined;
|
|
@@ -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
|
-
type:
|
|
82
|
-
default: string;
|
|
69
|
+
type: PropType<string>;
|
|
83
70
|
};
|
|
71
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
72
|
+
"update:modelValue": (value: string) => 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
|
id: {
|
|
85
81
|
type: StringConstructor;
|
|
86
82
|
default: undefined;
|
|
@@ -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>;
|
|
146
|
+
};
|
|
148
147
|
}>> & Readonly<{
|
|
149
|
-
"onUpdate:modelValue"?: ((
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
onValidate?: ((
|
|
148
|
+
"onUpdate:modelValue"?: ((value: string) => 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;
|
|
157
155
|
label: string;
|
|
158
156
|
size: Size;
|
|
159
157
|
disabled: boolean;
|
|
158
|
+
id: string;
|
|
160
159
|
placeholder: string;
|
|
161
160
|
required: boolean;
|
|
162
|
-
id: string;
|
|
163
161
|
readonly: boolean;
|
|
164
162
|
validationState: ValidationState;
|
|
165
163
|
validationMessage: string;
|
|
166
164
|
validationRules: ValidatorFunction | ValidationRule[];
|
|
167
|
-
validateOn: "
|
|
165
|
+
validateOn: "input" | "blur" | "change";
|
|
168
166
|
helpText: string;
|
|
169
167
|
rows: string | number;
|
|
170
168
|
maxlength: string | number;
|
|
171
169
|
noResize: boolean;
|
|
172
170
|
showCharCount: boolean;
|
|
173
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
171
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
172
|
+
declare const _default: typeof __VLS_export;
|
|
174
173
|
export default _default;
|