@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.
Files changed (200) hide show
  1. package/AGENTS.md +44 -0
  2. package/README.md +245 -58
  3. package/dist/purify.es-1D-VntFD.mjs +679 -0
  4. package/dist/src/App.vue.d.ts +3 -0
  5. package/dist/src/components/HelloWorld.vue.d.ts +6 -0
  6. package/dist/src/components/VibeAccordion.vue.d.ts +89 -0
  7. package/dist/{components → src/components}/VibeAlert.vue.d.ts +24 -30
  8. package/dist/src/components/VibeAutocomplete.vue.d.ts +74 -0
  9. package/dist/{components → src/components}/VibeBadge.vue.d.ts +10 -18
  10. package/dist/src/components/VibeBreadcrumb.vue.d.ts +51 -0
  11. package/dist/{components → src/components}/VibeButton.vue.d.ts +16 -20
  12. package/dist/{components → src/components}/VibeButtonGroup.vue.d.ts +10 -18
  13. package/dist/{components → src/components}/VibeCard.vue.d.ts +51 -24
  14. package/dist/{components → src/components}/VibeCarousel.vue.d.ts +27 -49
  15. package/dist/src/components/VibeChartBar.vue.d.ts +61 -0
  16. package/dist/src/components/VibeChartLine.vue.d.ts +70 -0
  17. package/dist/src/components/VibeChartPie.vue.d.ts +34 -0
  18. package/dist/{components → src/components}/VibeCloseButton.vue.d.ts +9 -7
  19. package/dist/{components → src/components}/VibeCol.vue.d.ts +9 -17
  20. package/dist/src/components/VibeCollapse.vue.d.ts +76 -0
  21. package/dist/src/components/VibeContainer.vue.d.ts +36 -0
  22. package/dist/src/components/VibeDataTable.vue.d.ts +131 -0
  23. package/dist/src/components/VibeDatePicker.vue.d.ts +120 -0
  24. package/dist/src/components/VibeDraggable.vue.d.ts +77 -0
  25. package/dist/{components → src/components}/VibeDropdown.vue.d.ts +46 -43
  26. package/dist/src/components/VibeDroppable.vue.d.ts +70 -0
  27. package/dist/src/components/VibeFileInput.vue.d.ts +127 -0
  28. package/dist/{components → src/components}/VibeFormCheckbox.vue.d.ts +30 -22
  29. package/dist/{components → src/components}/VibeFormDatepicker.vue.d.ts +27 -30
  30. package/dist/{components → src/components}/VibeFormGroup.vue.d.ts +11 -14
  31. package/dist/{components → src/components}/VibeFormInput.vue.d.ts +22 -23
  32. package/dist/{components → src/components}/VibeFormRadio.vue.d.ts +23 -24
  33. package/dist/{components → src/components}/VibeFormSelect.vue.d.ts +28 -34
  34. package/dist/{components → src/components}/VibeFormSpinbutton.vue.d.ts +31 -34
  35. package/dist/{components → src/components}/VibeFormSwitch.vue.d.ts +22 -23
  36. package/dist/{components → src/components}/VibeFormTextarea.vue.d.ts +24 -25
  37. package/dist/{components → src/components}/VibeFormWysiwyg.vue.d.ts +24 -23
  38. package/dist/src/components/VibeHero.vue.d.ts +108 -0
  39. package/dist/{components → src/components}/VibeIcon.vue.d.ts +27 -7
  40. package/dist/{components → src/components}/VibeInputGroup.vue.d.ts +11 -13
  41. package/dist/{components → src/components}/VibeLink.vue.d.ts +14 -18
  42. package/dist/{components → src/components}/VibeListGroup.vue.d.ts +26 -22
  43. package/dist/{components → src/components}/VibeModal.vue.d.ts +29 -45
  44. package/dist/{components → src/components}/VibeNav.vue.d.ts +40 -20
  45. package/dist/{components → src/components}/VibeNavbar.vue.d.ts +12 -19
  46. package/dist/src/components/VibeNavbarBrand.vue.d.ts +34 -0
  47. package/dist/src/components/VibeNavbarNav.vue.d.ts +80 -0
  48. package/dist/{components → src/components}/VibeNavbarToggle.vue.d.ts +7 -5
  49. package/dist/{components → src/components}/VibeOffcanvas.vue.d.ts +28 -43
  50. package/dist/{components → src/components}/VibePagination.vue.d.ts +38 -29
  51. package/dist/{components → src/components}/VibePlaceholder.vue.d.ts +9 -17
  52. package/dist/src/components/VibePopover.vue.d.ts +72 -0
  53. package/dist/src/components/VibeProgress.vue.d.ts +37 -0
  54. package/dist/src/components/VibeResizable.vue.d.ts +140 -0
  55. package/dist/{components → src/components}/VibeRow.vue.d.ts +9 -17
  56. package/dist/src/components/VibeScrollspy.vue.d.ts +89 -0
  57. package/dist/src/components/VibeSkeleton.vue.d.ts +54 -0
  58. package/dist/src/components/VibeSlider.vue.d.ts +77 -0
  59. package/dist/src/components/VibeSortable.vue.d.ts +59 -0
  60. package/dist/{components → src/components}/VibeSpinner.vue.d.ts +4 -7
  61. package/dist/src/components/VibeStepper.vue.d.ts +133 -0
  62. package/dist/src/components/VibeTab.vue.d.ts +41 -0
  63. package/dist/src/components/VibeTabContent.vue.d.ts +56 -0
  64. package/dist/src/components/VibeTabs.vue.d.ts +78 -0
  65. package/dist/{components → src/components}/VibeToast.vue.d.ts +40 -42
  66. package/dist/src/components/VibeToastHost.vue.d.ts +16 -0
  67. package/dist/src/components/VibeTooltip.vue.d.ts +63 -0
  68. package/dist/src/components/chart/chartColors.d.ts +3 -0
  69. package/dist/src/components/chart/chartResize.d.ts +2 -0
  70. package/dist/src/components/chart/chartTooltip.d.ts +2 -0
  71. package/dist/src/components/chart/chartTypes.d.ts +6 -0
  72. package/dist/src/components/chart/drawBar.d.ts +5 -0
  73. package/dist/src/components/chart/drawLine.d.ts +18 -0
  74. package/dist/src/components/chart/drawPie.d.ts +4 -0
  75. package/dist/src/components/dndStore.d.ts +7 -0
  76. package/dist/{components → src/components}/index.d.ts +18 -1
  77. package/dist/{composables → src/composables}/useBreakpoints.d.ts +1 -0
  78. package/dist/{composables → src/composables}/useColorMode.d.ts +1 -1
  79. package/dist/src/composables/useForm.d.ts +22 -0
  80. package/dist/src/composables/useId.d.ts +2 -0
  81. package/dist/src/composables/usePosition.d.ts +20 -0
  82. package/dist/src/composables/useToast.d.ts +52 -0
  83. package/dist/src/directives/vTooltip.d.ts +24 -0
  84. package/dist/{index.d.ts → src/index.d.ts} +6 -0
  85. package/dist/src/injectionKeys.d.ts +28 -0
  86. package/dist/{types.d.ts → src/types.d.ts} +32 -6
  87. package/dist/src/utils/safeCss.d.ts +16 -0
  88. package/dist/src/utils/safeHref.d.ts +7 -0
  89. package/dist/src/utils/sanitizeHtml.d.ts +13 -0
  90. package/dist/vibeui.css +2 -1
  91. package/dist/vibeui.es.js +8351 -3508
  92. package/dist/vibeui.umd.js +3 -1
  93. package/docs/README.md +85 -13
  94. package/docs/components/advanced/popover.md +27 -52
  95. package/docs/components/advanced/scrollspy.md +57 -15
  96. package/docs/components/advanced/tooltip.md +26 -47
  97. package/docs/components/card/card.md +9 -1
  98. package/docs/components/charts/chart-bar.md +129 -0
  99. package/docs/components/charts/chart-line.md +136 -0
  100. package/docs/components/charts/chart-pie.md +102 -0
  101. package/docs/components/core/alert.md +27 -5
  102. package/docs/components/core/badge.md +0 -6
  103. package/docs/components/core/button-group.md +0 -6
  104. package/docs/components/core/button.md +1 -1
  105. package/docs/components/core/close-button.md +5 -5
  106. package/docs/components/core/link.md +60 -17
  107. package/docs/components/core/placeholder.md +0 -6
  108. package/docs/components/core/skeleton.md +40 -0
  109. package/docs/components/core/spinner.md +0 -6
  110. package/docs/components/data/datatable.md +29 -10
  111. package/docs/components/hero/hero.md +64 -0
  112. package/docs/components/interactive/accordion.md +29 -0
  113. package/docs/components/interactive/carousel.md +19 -4
  114. package/docs/components/interactive/collapse.md +3 -2
  115. package/docs/components/interactive/date-picker.md +78 -0
  116. package/docs/components/interactive/draggable.md +91 -0
  117. package/docs/components/interactive/dropdown.md +54 -18
  118. package/docs/components/interactive/modal.md +15 -20
  119. package/docs/components/interactive/offcanvas.md +4 -1
  120. package/docs/components/interactive/resizable.md +73 -0
  121. package/docs/components/interactive/slider.md +57 -0
  122. package/docs/components/interactive/sortable.md +52 -0
  123. package/docs/components/interactive/stepper.md +83 -0
  124. package/docs/components/interactive/tabs.md +66 -0
  125. package/docs/components/interactive/toast.md +93 -30
  126. package/docs/components/layout/col.md +0 -6
  127. package/docs/components/layout/container.md +0 -6
  128. package/docs/components/layout/row.md +0 -6
  129. package/docs/components/list/list-group.md +4 -0
  130. package/docs/components/navigation/breadcrumb.md +4 -0
  131. package/docs/components/navigation/nav.md +64 -1
  132. package/docs/components/navigation/navbar.md +2 -0
  133. package/docs/components/navigation/pagination.md +16 -0
  134. package/docs/components/progress/progress.md +7 -1
  135. package/docs/composables/color-mode.md +44 -6
  136. package/docs/composables/use-form.md +78 -0
  137. package/docs/composables/use-position.md +68 -0
  138. package/docs/composables/use-toast.md +91 -0
  139. package/docs/directives/v-tooltip.md +58 -0
  140. package/docs/forms/README.md +60 -61
  141. package/docs/forms/autocomplete.md +96 -0
  142. package/docs/forms/file-input.md +97 -0
  143. package/docs/forms/form-checkbox.md +75 -25
  144. package/docs/forms/form-datepicker.md +58 -28
  145. package/docs/forms/form-group.md +79 -44
  146. package/docs/forms/form-input.md +88 -31
  147. package/docs/forms/form-radio.md +60 -36
  148. package/docs/forms/form-select.md +75 -31
  149. package/docs/forms/form-spinbutton.md +72 -33
  150. package/docs/forms/form-switch.md +53 -25
  151. package/docs/forms/form-textarea.md +60 -29
  152. package/docs/forms/form-wysiwyg.md +73 -38
  153. package/docs/forms/input-group.md +53 -34
  154. package/docs/forms/validation.md +135 -521
  155. package/docs/getting-started/starter-template.md +136 -0
  156. package/docs/superpowers/plans/2026-05-12-vibe-charts.md +1999 -0
  157. package/docs/superpowers/plans/2026-05-29-e2e-browser-testing.md +615 -0
  158. package/docs/superpowers/specs/2026-05-12-charting-design.md +185 -0
  159. package/docs/superpowers/specs/2026-05-29-e2e-browser-testing-design.md +168 -0
  160. package/docs/utilities/position.md +82 -0
  161. package/docs/versioning.md +57 -0
  162. package/examples/README.md +201 -0
  163. package/examples/album.html +262 -0
  164. package/examples/blog.html +166 -0
  165. package/examples/carousel.html +114 -0
  166. package/examples/checkout.html +275 -0
  167. package/examples/cover.html +89 -0
  168. package/examples/dashboard.html +156 -0
  169. package/examples/index.html +129 -0
  170. package/examples/jumbotron.html +56 -0
  171. package/examples/mobile-dashboard.html +138 -0
  172. package/examples/pricing.html +172 -0
  173. package/examples/product.html +145 -0
  174. package/examples/sidebars.html +166 -0
  175. package/examples/sign-in.html +119 -0
  176. package/examples/starter.html +314 -0
  177. package/examples/sticky-footer-navbar.html +70 -0
  178. package/examples/sticky-footer.html +60 -0
  179. package/examples/test-simple.html +91 -0
  180. package/llms.txt +407 -47
  181. package/package.json +42 -13
  182. package/dist/App.vue.d.ts +0 -2
  183. package/dist/components/HelloWorld.vue.d.ts +0 -5
  184. package/dist/components/VibeAccordion.vue.d.ts +0 -90
  185. package/dist/components/VibeBreadcrumb.vue.d.ts +0 -47
  186. package/dist/components/VibeCollapse.vue.d.ts +0 -84
  187. package/dist/components/VibeContainer.vue.d.ts +0 -44
  188. package/dist/components/VibeDataTable.vue.d.ts +0 -76
  189. package/dist/components/VibeNavbarBrand.vue.d.ts +0 -42
  190. package/dist/components/VibeNavbarNav.vue.d.ts +0 -61
  191. package/dist/components/VibePopover.vue.d.ts +0 -95
  192. package/dist/components/VibeProgress.vue.d.ts +0 -45
  193. package/dist/components/VibeScrollspy.vue.d.ts +0 -77
  194. package/dist/components/VibeTabContent.vue.d.ts +0 -74
  195. package/dist/components/VibeTooltip.vue.d.ts +0 -86
  196. package/dist/composables/useId.d.ts +0 -5
  197. package/dist/types/index.d.ts +0 -6
  198. /package/dist/{composables → src/composables}/useBackButton.d.ts +0 -0
  199. /package/dist/{composables → src/composables}/useFormValidation.d.ts +0 -0
  200. /package/dist/{main.d.ts → src/main.d.ts} +0 -0
@@ -1,15 +1,11 @@
1
1
  import { ValidationState } from '../types';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- default?(_: {}): any;
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
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
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;
@@ -92,9 +88,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
92
88
  default: undefined;
93
89
  };
94
90
  }>> & Readonly<{}>, {
95
- required: boolean;
96
91
  label: string;
97
92
  row: boolean;
93
+ required: boolean;
98
94
  validationState: ValidationState;
99
95
  validationMessage: string;
100
96
  helpText: string;
@@ -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, {}, HTMLDivElement>;
106
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
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 __VLS_WithTemplateSlots<T, S> = T & {
105
+ type __VLS_WithSlots<T, S> = T & {
109
106
  new (): {
110
107
  $slots: S;
111
108
  };
@@ -1,10 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { InputType, ValidationState, ValidationRule, ValidatorFunction, Size } from '../types';
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- modelValue: {
5
- type: PropType<string | number>;
6
- default: string;
7
- };
3
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
4
  type: {
9
5
  type: PropType<InputType>;
10
6
  default: string;
@@ -69,18 +65,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
69
65
  type: BooleanConstructor;
70
66
  default: boolean;
71
67
  };
72
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
73
- "update:modelValue": (...args: any[]) => void;
74
- blur: (...args: any[]) => void;
75
- change: (...args: any[]) => void;
76
- focus: (...args: any[]) => void;
77
- input: (...args: any[]) => void;
78
- validate: (...args: any[]) => void;
79
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
80
68
  modelValue: {
81
69
  type: PropType<string | number>;
82
- default: string;
83
70
  };
71
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
72
+ "update:modelValue": (value: string | number) => any;
73
+ } & {
74
+ input: (event: Event) => any;
75
+ blur: (event: FocusEvent) => any;
76
+ change: (event: Event) => any;
77
+ focus: (event: FocusEvent) => any;
78
+ validate: () => any;
79
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
84
80
  type: {
85
81
  type: PropType<InputType>;
86
82
  default: string;
@@ -145,30 +141,33 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
145
141
  type: BooleanConstructor;
146
142
  default: boolean;
147
143
  };
144
+ modelValue: {
145
+ type: PropType<string | number>;
146
+ };
148
147
  }>> & Readonly<{
149
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
150
- onBlur?: ((...args: any[]) => any) | undefined;
151
- onChange?: ((...args: any[]) => any) | undefined;
152
- onFocus?: ((...args: any[]) => any) | undefined;
153
- onInput?: ((...args: any[]) => any) | undefined;
154
- onValidate?: ((...args: any[]) => any) | undefined;
148
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
149
+ onInput?: ((event: Event) => any) | undefined;
150
+ onBlur?: ((event: FocusEvent) => any) | undefined;
151
+ onChange?: ((event: Event) => any) | undefined;
152
+ onFocus?: ((event: FocusEvent) => any) | undefined;
153
+ onValidate?: (() => any) | undefined;
155
154
  }>, {
156
- modelValue: string | number;
157
155
  type: InputType;
158
- required: boolean;
159
156
  label: string;
160
157
  size: Size;
161
158
  disabled: boolean;
162
159
  focusRing: boolean;
163
160
  placeholder: string;
164
161
  plaintext: boolean;
162
+ required: boolean;
165
163
  id: string;
166
164
  readonly: boolean;
167
165
  validationState: ValidationState;
168
166
  validationMessage: string;
169
167
  validationRules: ValidatorFunction | ValidationRule[];
170
- validateOn: "blur" | "change" | "input";
168
+ validateOn: "input" | "blur" | "change";
171
169
  helpText: string;
172
170
  noWrapper: boolean;
173
171
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
172
+ declare const _default: typeof __VLS_export;
174
173
  export default _default;
@@ -1,10 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { ValidationState, ValidationRule, ValidatorFunction } from '../types';
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
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: (StringConstructor | BooleanConstructor | NumberConstructor)[];
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"?: ((...args: any[]) => any) | undefined;
125
- onBlur?: ((...args: any[]) => any) | undefined;
126
- onChange?: ((...args: any[]) => any) | undefined;
127
- onFocus?: ((...args: any[]) => any) | undefined;
128
- onValidate?: ((...args: any[]) => any) | undefined;
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
- required: boolean;
132
- reverse: boolean;
133
129
  label: string;
130
+ reverse: boolean;
134
131
  disabled: boolean;
132
+ inline: boolean;
133
+ required: boolean;
135
134
  id: string;
136
135
  validationState: ValidationState;
137
136
  validationMessage: string;
138
137
  validationRules: ValidatorFunction | ValidationRule[];
139
138
  validateOn: "blur" | "change";
140
139
  helpText: string;
141
- inline: boolean;
142
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
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 function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
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
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
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<any>;
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,19 +136,22 @@ 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"?: ((...args: any[]) => any) | undefined;
150
- onBlur?: ((...args: any[]) => any) | undefined;
151
- onChange?: ((...args: any[]) => any) | undefined;
152
- onFocus?: ((...args: any[]) => any) | undefined;
153
- onValidate?: ((...args: any[]) => any) | undefined;
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
- required: boolean;
157
149
  label: string;
158
150
  size: Size;
159
151
  disabled: boolean;
160
152
  placeholder: string;
153
+ multiple: boolean;
154
+ required: boolean;
161
155
  id: string;
162
156
  validationState: ValidationState;
163
157
  validationMessage: string;
@@ -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, {}, HTMLDivElement>;
172
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
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 __VLS_WithTemplateSlots<T, S> = T & {
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 _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
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: NumberConstructor;
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"?: ((...args: any[]) => any) | undefined;
154
- onBlur?: ((...args: any[]) => any) | undefined;
155
- onChange?: ((...args: any[]) => any) | undefined;
156
- onFocus?: ((...args: any[]) => any) | undefined;
157
- onInput?: ((...args: any[]) => any) | undefined;
158
- onValidate?: ((...args: any[]) => any) | undefined;
159
- onIncrement?: ((...args: any[]) => any) | undefined;
160
- onDecrement?: ((...args: any[]) => any) | undefined;
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
- required: boolean;
164
159
  label: string;
165
160
  size: Size;
166
161
  disabled: boolean;
167
162
  vertical: boolean;
163
+ wrap: boolean;
164
+ required: boolean;
168
165
  step: number;
169
166
  id: string;
170
- wrap: boolean;
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: "blur" | "change" | "input";
173
+ validateOn: "input" | "blur" | "change";
176
174
  helpText: string;
177
- min: number;
178
- max: number;
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 _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
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: BooleanConstructor;
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"?: ((...args: any[]) => any) | undefined;
101
- onBlur?: ((...args: any[]) => any) | undefined;
102
- onChange?: ((...args: any[]) => any) | undefined;
103
- onFocus?: ((...args: any[]) => any) | undefined;
104
- onValidate?: ((...args: any[]) => any) | undefined;
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
- required: boolean;
108
105
  label: string;
109
106
  disabled: boolean;
107
+ inline: boolean;
108
+ required: boolean;
110
109
  id: string;
111
110
  validationState: ValidationState;
112
111
  validationMessage: string;
113
112
  validationRules: ValidatorFunction | ValidationRule[];
114
113
  validateOn: "blur" | "change";
115
114
  helpText: string;
116
- inline: boolean;
117
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
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 _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
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: StringConstructor;
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"?: ((...args: any[]) => any) | undefined;
150
- onBlur?: ((...args: any[]) => any) | undefined;
151
- onChange?: ((...args: any[]) => any) | undefined;
152
- onFocus?: ((...args: any[]) => any) | undefined;
153
- onInput?: ((...args: any[]) => any) | undefined;
154
- onValidate?: ((...args: any[]) => any) | undefined;
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
- required: boolean;
158
155
  label: string;
159
156
  size: Size;
160
157
  disabled: boolean;
161
158
  placeholder: string;
159
+ required: boolean;
162
160
  id: string;
163
161
  readonly: boolean;
164
162
  validationState: ValidationState;
165
163
  validationMessage: string;
166
164
  validationRules: ValidatorFunction | ValidationRule[];
167
- validateOn: "blur" | "change" | "input";
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, {}, HTMLDivElement>;
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 _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
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: () => string;
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": (...args: any[]) => void;
70
- blur: (...args: any[]) => void;
71
- change: (...args: any[]) => void;
72
- focus: (...args: any[]) => void;
73
- validate: (...args: any[]) => void;
74
- ready: (...args: any[]) => void;
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: () => string;
83
+ default: undefined;
83
84
  };
84
85
  label: {
85
86
  type: StringConstructor;
@@ -138,30 +139,30 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
138
139
  default: string;
139
140
  };
140
141
  }>> & Readonly<{
141
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
142
- onBlur?: ((...args: any[]) => any) | undefined;
143
- onChange?: ((...args: any[]) => any) | undefined;
144
- onFocus?: ((...args: any[]) => any) | undefined;
145
- onValidate?: ((...args: any[]) => any) | undefined;
146
- onReady?: ((...args: any[]) => any) | undefined;
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
- required: boolean;
150
151
  label: string;
151
152
  disabled: boolean;
152
153
  placeholder: string;
154
+ height: string;
155
+ toolbar: string | boolean | unknown[];
156
+ required: boolean;
153
157
  theme: "snow" | "bubble";
154
158
  id: string;
155
- height: string;
156
159
  readonly: boolean;
157
160
  validationState: ValidationState;
158
161
  validationMessage: string;
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
- editorContainer: HTMLDivElement;
166
- }, HTMLDivElement>;
166
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
167
+ declare const _default: typeof __VLS_export;
167
168
  export default _default;