@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,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,18 +136,21 @@ 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;
|
|
159
152
|
placeholder: string;
|
|
153
|
+
multiple: boolean;
|
|
160
154
|
required: boolean;
|
|
161
155
|
id: string;
|
|
162
156
|
validationState: ValidationState;
|
|
@@ -165,13 +159,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
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;
|
|
166
162
|
vertical: boolean;
|
|
163
|
+
wrap: boolean;
|
|
167
164
|
required: boolean;
|
|
168
165
|
step: number;
|
|
169
166
|
id: string;
|
|
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,16 +92,19 @@ 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;
|
|
107
|
+
inline: boolean;
|
|
109
108
|
required: boolean;
|
|
110
109
|
id: string;
|
|
111
110
|
validationState: ValidationState;
|
|
@@ -113,6 +112,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
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,15 +141,17 @@ 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;
|
|
@@ -164,11 +162,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
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;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { ValidationState, ValidationRule, ValidatorFunction } from '../types';
|
|
3
|
-
declare const
|
|
2
|
+
import { ValidationState, ValidationRule, ValidatorFunction, ComponentError } from '../types';
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
8
|
id: {
|
|
9
9
|
type: StringConstructor;
|
|
10
|
-
default:
|
|
10
|
+
default: undefined;
|
|
11
11
|
};
|
|
12
12
|
label: {
|
|
13
13
|
type: StringConstructor;
|
|
@@ -65,13 +65,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
65
65
|
type: StringConstructor;
|
|
66
66
|
default: string;
|
|
67
67
|
};
|
|
68
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
69
|
-
"update:modelValue": (
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
68
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
69
|
+
"update:modelValue": (value: string) => any;
|
|
70
|
+
"component-error": (error: ComponentError) => any;
|
|
71
|
+
blur: () => any;
|
|
72
|
+
change: () => any;
|
|
73
|
+
focus: () => any;
|
|
74
|
+
validate: () => any;
|
|
75
|
+
ready: (instance: unknown) => any;
|
|
75
76
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
76
77
|
modelValue: {
|
|
77
78
|
type: StringConstructor;
|
|
@@ -79,7 +80,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
79
80
|
};
|
|
80
81
|
id: {
|
|
81
82
|
type: StringConstructor;
|
|
82
|
-
default:
|
|
83
|
+
default: undefined;
|
|
83
84
|
};
|
|
84
85
|
label: {
|
|
85
86
|
type: StringConstructor;
|
|
@@ -138,18 +139,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
138
139
|
default: string;
|
|
139
140
|
};
|
|
140
141
|
}>> & Readonly<{
|
|
141
|
-
"onUpdate:modelValue"?: ((
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
142
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
143
|
+
"onComponent-error"?: ((error: ComponentError) => any) | undefined;
|
|
144
|
+
onBlur?: (() => any) | undefined;
|
|
145
|
+
onChange?: (() => any) | undefined;
|
|
146
|
+
onFocus?: (() => any) | undefined;
|
|
147
|
+
onValidate?: (() => any) | undefined;
|
|
148
|
+
onReady?: ((instance: unknown) => any) | undefined;
|
|
147
149
|
}>, {
|
|
148
150
|
modelValue: string;
|
|
149
151
|
label: string;
|
|
150
152
|
disabled: boolean;
|
|
151
153
|
placeholder: string;
|
|
152
154
|
height: string;
|
|
155
|
+
toolbar: string | boolean | unknown[];
|
|
153
156
|
required: boolean;
|
|
154
157
|
theme: "snow" | "bubble";
|
|
155
158
|
id: string;
|
|
@@ -159,9 +162,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
159
162
|
validationRules: ValidatorFunction | ValidationRule[];
|
|
160
163
|
validateOn: "blur" | "change";
|
|
161
164
|
helpText: string;
|
|
162
|
-
toolbar: string | boolean | unknown[];
|
|
163
165
|
mobileToolbar: string | boolean | unknown[];
|
|
164
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
165
|
-
|
|
166
|
-
}, HTMLDivElement>;
|
|
166
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
167
|
+
declare const _default: typeof __VLS_export;
|
|
167
168
|
export default _default;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Variant, Tag, ContainerType } from '../types';
|
|
3
|
+
declare var __VLS_8: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_8) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
|
+
variant: {
|
|
9
|
+
type: () => Variant;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
textVariant: {
|
|
13
|
+
type: () => Variant;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
border: {
|
|
17
|
+
type: () => Variant;
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
20
|
+
align: {
|
|
21
|
+
type: () => "start" | "center" | "end";
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
fluid: {
|
|
25
|
+
type: PropType<boolean | ContainerType>;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
minHeight: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
bgImage: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
overlay: {
|
|
37
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
gradient: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
tag: {
|
|
45
|
+
type: () => Tag;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
49
|
+
variant: {
|
|
50
|
+
type: () => Variant;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
textVariant: {
|
|
54
|
+
type: () => Variant;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
border: {
|
|
58
|
+
type: () => Variant;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
align: {
|
|
62
|
+
type: () => "start" | "center" | "end";
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
fluid: {
|
|
66
|
+
type: PropType<boolean | ContainerType>;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
minHeight: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: undefined;
|
|
72
|
+
};
|
|
73
|
+
bgImage: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: undefined;
|
|
76
|
+
};
|
|
77
|
+
overlay: {
|
|
78
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
gradient: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
tag: {
|
|
86
|
+
type: () => Tag;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
}>> & Readonly<{}>, {
|
|
90
|
+
border: Variant;
|
|
91
|
+
variant: Variant;
|
|
92
|
+
tag: Tag;
|
|
93
|
+
overlay: string | boolean;
|
|
94
|
+
fluid: boolean | ContainerType;
|
|
95
|
+
textVariant: Variant;
|
|
96
|
+
align: "start" | "end" | "center";
|
|
97
|
+
minHeight: string;
|
|
98
|
+
bgImage: string;
|
|
99
|
+
gradient: string;
|
|
100
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
101
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
102
|
+
declare const _default: typeof __VLS_export;
|
|
103
|
+
export default _default;
|
|
104
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
105
|
+
new (): {
|
|
106
|
+
$slots: S;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
|
|
2
|
+
import { ComponentError } from '../types';
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
4
|
icon: {
|
|
4
5
|
type: StringConstructor;
|
|
5
6
|
required: true;
|
|
@@ -32,9 +33,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
32
33
|
type: PropType<90 | 180 | 270>;
|
|
33
34
|
default: undefined;
|
|
34
35
|
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
ariaHidden: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
ariaLabel: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
45
|
+
"component-error": (error: ComponentError) => any;
|
|
46
|
+
click: (event: MouseEvent) => any;
|
|
38
47
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
39
48
|
icon: {
|
|
40
49
|
type: StringConstructor;
|
|
@@ -68,16 +77,27 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
68
77
|
type: PropType<90 | 180 | 270>;
|
|
69
78
|
default: undefined;
|
|
70
79
|
};
|
|
80
|
+
ariaHidden: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
ariaLabel: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: undefined;
|
|
87
|
+
};
|
|
71
88
|
}>> & Readonly<{
|
|
72
|
-
"onComponent-error"?: ((
|
|
73
|
-
onClick?: ((
|
|
89
|
+
"onComponent-error"?: ((error: ComponentError) => any) | undefined;
|
|
90
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
74
91
|
}>, {
|
|
75
92
|
color: string;
|
|
76
93
|
size: "sm" | "lg" | "1x" | "2x" | "3x" | "4x" | "5x";
|
|
94
|
+
ariaLabel: string;
|
|
77
95
|
fontSize: string;
|
|
78
96
|
customClass: string;
|
|
79
97
|
flipH: boolean;
|
|
80
98
|
flipV: boolean;
|
|
81
99
|
rotate: 90 | 180 | 270;
|
|
82
|
-
|
|
100
|
+
ariaHidden: boolean;
|
|
101
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
102
|
+
declare const _default: typeof __VLS_export;
|
|
83
103
|
export default _default;
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { Size, Tag } from '../types';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
refs: {};
|
|
11
|
-
rootEl: any;
|
|
3
|
+
declare var __VLS_8: {}, __VLS_10: {}, __VLS_12: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
prepend?: (props: typeof __VLS_8) => any;
|
|
6
|
+
} & {
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
|
+
} & {
|
|
9
|
+
append?: (props: typeof __VLS_12) => any;
|
|
12
10
|
};
|
|
13
|
-
|
|
14
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
15
12
|
size: {
|
|
16
13
|
type: PropType<Size>;
|
|
17
14
|
default: undefined;
|
|
@@ -51,9 +48,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
51
48
|
prepend: string;
|
|
52
49
|
append: string;
|
|
53
50
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
54
|
-
declare const
|
|
51
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
52
|
+
declare const _default: typeof __VLS_export;
|
|
55
53
|
export default _default;
|
|
56
|
-
type
|
|
54
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
57
55
|
new (): {
|
|
58
56
|
$slots: S;
|
|
59
57
|
};
|