wave-ui 3.10.1 → 3.11.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.
Files changed (99) hide show
  1. package/dist/types/$waveui.d.ts +29 -0
  2. package/dist/types/$waveui.js +2 -0
  3. package/dist/types/colors.d.ts +503 -0
  4. package/dist/types/colors.js +2 -0
  5. package/dist/types/components/WAccordion.d.ts +226 -0
  6. package/dist/types/components/WAccordion.js +2 -0
  7. package/dist/types/components/WAlert.d.ts +225 -0
  8. package/dist/types/components/WAlert.js +2 -0
  9. package/dist/types/components/WApp.d.ts +84 -0
  10. package/dist/types/components/WApp.js +2 -0
  11. package/dist/types/components/WBadge.d.ts +194 -0
  12. package/dist/types/components/WBadge.js +2 -0
  13. package/dist/types/components/WBreadcrumbs.d.ts +129 -0
  14. package/dist/types/components/WBreadcrumbs.js +2 -0
  15. package/dist/types/components/WButton.d.ts +218 -0
  16. package/dist/types/components/WButton.js +2 -0
  17. package/dist/types/components/WCard.d.ts +140 -0
  18. package/dist/types/components/WCard.js +2 -0
  19. package/dist/types/components/WCheckbox.d.ts +132 -0
  20. package/dist/types/components/WCheckbox.js +2 -0
  21. package/dist/types/components/WCheckboxes.d.ts +141 -0
  22. package/dist/types/components/WCheckboxes.js +2 -0
  23. package/dist/types/components/WConfirm.d.ts +250 -0
  24. package/dist/types/components/WConfirm.js +2 -0
  25. package/dist/types/components/WDialog.d.ts +189 -0
  26. package/dist/types/components/WDialog.js +2 -0
  27. package/dist/types/components/WDivider.d.ts +49 -0
  28. package/dist/types/components/WDivider.js +2 -0
  29. package/dist/types/components/WDrawer.d.ts +249 -0
  30. package/dist/types/components/WDrawer.js +2 -0
  31. package/dist/types/components/WFlex.d.ts +137 -0
  32. package/dist/types/components/WFlex.js +2 -0
  33. package/dist/types/components/WForm.d.ts +165 -0
  34. package/dist/types/components/WForm.js +2 -0
  35. package/dist/types/components/WFormElement.d.ts +112 -0
  36. package/dist/types/components/WFormElement.js +2 -0
  37. package/dist/types/components/WGrid.d.ts +51 -0
  38. package/dist/types/components/WGrid.js +2 -0
  39. package/dist/types/components/WIcon.d.ts +167 -0
  40. package/dist/types/components/WIcon.js +2 -0
  41. package/dist/types/components/WImage.d.ts +172 -0
  42. package/dist/types/components/WImage.js +2 -0
  43. package/dist/types/components/WInput.d.ts +338 -0
  44. package/dist/types/components/WInput.js +2 -0
  45. package/dist/types/components/WList.d.ts +336 -0
  46. package/dist/types/components/WList.js +2 -0
  47. package/dist/types/components/WMenu.d.ts +250 -0
  48. package/dist/types/components/WMenu.js +2 -0
  49. package/dist/types/components/WNotification.d.ts +283 -0
  50. package/dist/types/components/WNotification.js +2 -0
  51. package/dist/types/components/WNotificationManager.d.ts +33 -0
  52. package/dist/types/components/WNotificationManager.js +2 -0
  53. package/dist/types/components/WOverlay.d.ts +118 -0
  54. package/dist/types/components/WOverlay.js +2 -0
  55. package/dist/types/components/WProgress.d.ts +177 -0
  56. package/dist/types/components/WProgress.js +2 -0
  57. package/dist/types/components/WRadio.d.ts +121 -0
  58. package/dist/types/components/WRadio.js +2 -0
  59. package/dist/types/components/WRadios.d.ts +129 -0
  60. package/dist/types/components/WRadios.js +2 -0
  61. package/dist/types/components/WRating.d.ts +176 -0
  62. package/dist/types/components/WRating.js +2 -0
  63. package/dist/types/components/WSelect.d.ts +371 -0
  64. package/dist/types/components/WSelect.js +2 -0
  65. package/dist/types/components/WSlider.d.ts +263 -0
  66. package/dist/types/components/WSlider.js +2 -0
  67. package/dist/types/components/WSpinner.d.ts +101 -0
  68. package/dist/types/components/WSpinner.js +2 -0
  69. package/dist/types/components/WSteps.d.ts +29 -0
  70. package/dist/types/components/WSteps.js +2 -0
  71. package/dist/types/components/WSwitch.d.ts +132 -0
  72. package/dist/types/components/WSwitch.js +2 -0
  73. package/dist/types/components/WTable.d.ts +406 -0
  74. package/dist/types/components/WTable.js +2 -0
  75. package/dist/types/components/WTabs.d.ts +301 -0
  76. package/dist/types/components/WTabs.js +2 -0
  77. package/dist/types/components/WTag.d.ts +160 -0
  78. package/dist/types/components/WTag.js +2 -0
  79. package/dist/types/components/WTextarea.d.ts +243 -0
  80. package/dist/types/components/WTextarea.js +2 -0
  81. package/dist/types/components/WTimeline.d.ts +102 -0
  82. package/dist/types/components/WTimeline.js +2 -0
  83. package/dist/types/components/WToolbar.d.ts +134 -0
  84. package/dist/types/components/WToolbar.js +2 -0
  85. package/dist/types/components/WTooltip.d.ts +170 -0
  86. package/dist/types/components/WTooltip.js +2 -0
  87. package/dist/types/components/WTree.d.ts +359 -0
  88. package/dist/types/components/WTree.js +2 -0
  89. package/dist/types/components/index.d.ts +42 -0
  90. package/dist/types/components/index.js +2 -0
  91. package/dist/types/extra-vue-types.d.ts +8 -0
  92. package/dist/types/extra-vue-types.js +2 -0
  93. package/dist/types/index.d.ts +5 -0
  94. package/dist/types/index.js +4 -0
  95. package/dist/types/plugin.d.ts +19 -0
  96. package/dist/types/plugin.js +2 -0
  97. package/package.json +8 -2
  98. package/src/wave-ui/components/w-parallax.vue +0 -1
  99. package/src/wave-ui/index.d.ts +21 -0
@@ -0,0 +1,176 @@
1
+ import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import { PublicProps, ResolveProps } from '../extra-vue-types';
3
+ export interface WaveRatingProps {
4
+ /**
5
+ * ``value` in Vue 2.`
6
+ * Dictates the current rating value. When the user rates, the `v-model` value will be updated.
7
+ * @property {any} modelValue
8
+ * @see https://antoniandre.github.io/wave-ui/w-rating
9
+ */
10
+ modelValue?: any;
11
+ /**
12
+ * The total count of buttons (usually stars) to display in the rating component.
13
+ * @property {number|string} max - Default: 5
14
+ * @see https://antoniandre.github.io/wave-ui/w-rating
15
+ */
16
+ max?: number | string;
17
+ /**
18
+ * Sets the color of the rating active icons (when hovering or when showing the current rating).
19
+ * Accepts all the color names of the color palette, status colors, or custom colors (learn more about the colors in the `colors` knowledge base page).
20
+ * Providing a color hex, rgb(a) or hsl(a) will not work.
21
+ * @property {string} color - Default: 'primary'
22
+ * @see https://antoniandre.github.io/wave-ui/w-rating
23
+ * @see https://antoniandre.github.io/wave-ui/colors
24
+ */
25
+ color?: string;
26
+ /**
27
+ * Sets color of the background icons (grey by default).
28
+ * Accepts all the color names of the color palette, status colors, or custom colors (learn more about the colors in the `colors` knowledge base page).
29
+ * Providing a color hex, rgb(a) or hsl(a) will not work.
30
+ * @property {string} bgColor
31
+ * @see https://antoniandre.github.io/wave-ui/w-rating
32
+ * @see https://antoniandre.github.io/wave-ui/colors
33
+ */
34
+ bgColor?: string;
35
+ /**
36
+ * Sets the icon (star by default) of each button of the rating component.
37
+ * Accepts a string: e.g. `mdi mdi-home`.
38
+ * @property {string} icon - Default: 'wi-star'
39
+ * @see https://antoniandre.github.io/wave-ui/w-rating
40
+ */
41
+ icon?: string;
42
+ /**
43
+ * Sets the size of the rating component (font-size).
44
+ * @property {boolean} xs
45
+ * @see https://antoniandre.github.io/wave-ui/w-rating
46
+ */
47
+ xs?: boolean;
48
+ /**
49
+ * Sets the size of the rating component (font-size).
50
+ * @property {boolean} sm
51
+ * @see https://antoniandre.github.io/wave-ui/w-rating
52
+ */
53
+ sm?: boolean;
54
+ /**
55
+ * Sets the size of the rating component (font-size).
56
+ * @property {boolean} md
57
+ * @see https://antoniandre.github.io/wave-ui/w-rating
58
+ */
59
+ md?: boolean;
60
+ /**
61
+ * Sets the size of the rating component (font-size).
62
+ * @property {boolean} lg
63
+ * @see https://antoniandre.github.io/wave-ui/w-rating
64
+ */
65
+ lg?: boolean;
66
+ /**
67
+ * Sets the size of the rating component (font-size).
68
+ * @property {boolean} xl
69
+ * @see https://antoniandre.github.io/wave-ui/w-rating
70
+ */
71
+ xl?: boolean;
72
+ /**
73
+ * Removes the ripple animation on click of one of the buttons.
74
+ * @property {boolean} noRipple
75
+ * @see https://antoniandre.github.io/wave-ui/w-rating
76
+ */
77
+ noRipple?: boolean;
78
+ /**
79
+ * TODO: Add Description
80
+ * @property {boolean} dark
81
+ * @see https://antoniandre.github.io/wave-ui/w-rating
82
+ */
83
+ dark?: boolean;
84
+ /**
85
+ * TODO: Add Description
86
+ * @property {boolean} light
87
+ * @see https://antoniandre.github.io/wave-ui/w-rating
88
+ */
89
+ light?: boolean;
90
+ }
91
+ export interface WaveRatingEmits {
92
+ /**
93
+ * Emitted each time the rating changes.<br>Updates the v-model value in Vue 2.x only.
94
+ * @param {any} renameMe1 - The current rating.
95
+ * @see https://antoniandre.github.io/wave-ui/w-rating
96
+ */
97
+ 'onInput'?: (renameMe1: any) => void;
98
+ /**
99
+ * Emitted each time the rating changes.<br>Updates the v-model value in Vue 3 only.
100
+ * @param {any} renameMe1 - The current rating.
101
+ * @see https://antoniandre.github.io/wave-ui/w-rating
102
+ */
103
+ 'onUpdate:modelValue'?: (renameMe1: any) => void;
104
+ /**
105
+ * Emitted when the rating component is focused (any button).
106
+ * @param {any} renameMe1 - The associated focus DOM event.
107
+ * @see https://antoniandre.github.io/wave-ui/w-rating
108
+ */
109
+ 'onFocus'?: (renameMe1: any) => void;
110
+ /**
111
+ * Emitted when the rating component is blurred (any button).
112
+ * @param {any} renameMe1 - The associated blur DOM event.
113
+ * @see https://antoniandre.github.io/wave-ui/w-rating
114
+ */
115
+ 'onBlur'?: (renameMe1: any) => void;
116
+ }
117
+ export interface WaveRatingComputeds extends ComputedOptions {
118
+ /**
119
+ * TODO: Add Description
120
+ * @see https://antoniandre.github.io/wave-ui/w-rating
121
+ */
122
+ size: ComputedGetter<any>;
123
+ /**
124
+ * TODO: Add Description
125
+ * @see https://antoniandre.github.io/wave-ui/w-rating
126
+ */
127
+ classes: ComputedGetter<any>;
128
+ /**
129
+ * TODO: Add Description
130
+ * @see https://antoniandre.github.io/wave-ui/w-rating
131
+ */
132
+ halfStarStyle: ComputedGetter<any>;
133
+ }
134
+ export interface WaveRatingMethods extends MethodOptions {
135
+ /**
136
+ * TODO: Add Description
137
+ * @param {any} i
138
+ * @see https://antoniandre.github.io/wave-ui/w-rating
139
+ */
140
+ onButtonClick(i: any): void;
141
+ /**
142
+ * TODO: Add Description
143
+ * @param {any} e
144
+ * @see https://antoniandre.github.io/wave-ui/w-rating
145
+ */
146
+ onFocus(e: any): void;
147
+ /**
148
+ * TODO: Add Description
149
+ * @param {any} e
150
+ * @see https://antoniandre.github.io/wave-ui/w-rating
151
+ */
152
+ onBlur(e: any): void;
153
+ /**
154
+ * TODO: Add Description
155
+ * @param {any} e
156
+ * @see https://antoniandre.github.io/wave-ui/w-rating
157
+ */
158
+ onKeydown(e: any): void;
159
+ /**
160
+ * TODO: Add Description
161
+ * @param {any} i
162
+ * @see https://antoniandre.github.io/wave-ui/w-rating
163
+ */
164
+ buttonClasses(i: any): void;
165
+ }
166
+ export type WaveRatingSlots = SlotsType<{
167
+ /**
168
+ * Provide a custom content for each item.
169
+ * @param {any} index The item index, starting at 1.
170
+ * @see https://antoniandre.github.io/wave-ui/w-rating
171
+ */
172
+ 'item': (_: {
173
+ index: any;
174
+ }) => any;
175
+ }>;
176
+ export type WRating = DefineComponent<WaveRatingProps, {}, {}, WaveRatingComputeds, WaveRatingMethods, {}, {}, WaveRatingEmits & EmitsOptions, string, PublicProps, ResolveProps<WaveRatingProps & WaveRatingEmits, EmitsOptions>, ExtractDefaultPropTypes<WaveRatingProps>, WaveRatingSlots>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,371 @@
1
+ import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import { PublicProps, ResolveProps } from '../extra-vue-types';
3
+ export interface WaveSelectProps {
4
+ /**
5
+ * Expecting an array of objects. Each object being a select list item, it should include at least a `label` attribute.
6
+ * @property {Array<any>} [items]
7
+ * @see https://antoniandre.github.io/wave-ui/w-select
8
+ */
9
+ items: Array<any>;
10
+ /**
11
+ * ``value` in Vue 2.`
12
+ * The current selection of the select field.
13
+ * Gets updated on selection change.
14
+ * @property {any} modelValue
15
+ * @see https://antoniandre.github.io/wave-ui/w-select
16
+ */
17
+ modelValue?: any;
18
+ /**
19
+ * Allows multiple selections. When set to `true`, the list of choices will stay open after selecting an item.
20
+ * @property {boolean} multiple
21
+ * @see https://antoniandre.github.io/wave-ui/w-select
22
+ */
23
+ multiple?: boolean;
24
+ /**
25
+ * Provide a placeholder for the select field. If a label is positioned inside, it will be moved above the field so it doesn't overlap.
26
+ * @property {string} placeholder
27
+ * @see https://antoniandre.github.io/wave-ui/w-select
28
+ */
29
+ placeholder?: string;
30
+ /**
31
+ * Sets a visible label for the select field.
32
+ * @property {string} label
33
+ * @see https://antoniandre.github.io/wave-ui/w-select
34
+ */
35
+ label?: string;
36
+ /**
37
+ * Sets the position of the label to one of the following positions: 'left\', \'right\', \'inside\'.
38
+ * @property {string} labelPosition - Default: 'inside'
39
+ * @see https://antoniandre.github.io/wave-ui/w-select
40
+ */
41
+ labelPosition?: string;
42
+ /**
43
+ * Adds an icon on the left inside the select field.
44
+ * Accepts a string: e.g. `mdi mdi-eye`.
45
+ * @property {string} innerIconLeft
46
+ * @see https://antoniandre.github.io/wave-ui/w-select
47
+ */
48
+ innerIconLeft?: string;
49
+ /**
50
+ * Adds an icon on the right inside the select field.
51
+ * Accepts a string: e.g. `mdi mdi-eye`.
52
+ * @property {string} innerIconRight - Default: 'wi-triangle-down'
53
+ * @see https://antoniandre.github.io/wave-ui/w-select
54
+ */
55
+ innerIconRight?: string;
56
+ /**
57
+ * Prevents moving the label above the select field when the `labelPosition` is equal to `inside`. If a placeholder is present, it will be hidden and the label will be displayed instead.
58
+ * When a value is set the static label is replaced by the textual value.
59
+ * @property {boolean} staticLabel
60
+ * @see https://antoniandre.github.io/wave-ui/w-select
61
+ */
62
+ staticLabel?: boolean;
63
+ /**
64
+ * The property name (aka "key") in each item object where to find the label of the item.
65
+ * @property {string} itemLabelKey - Default: 'label'
66
+ * @see https://antoniandre.github.io/wave-ui/w-select
67
+ */
68
+ itemLabelKey?: string;
69
+ /**
70
+ * The property name (aka "key") in each item object where to find the color of the item.
71
+ * By default, the `color` key of the current item will be used to render this item in this color.
72
+ * You can also provide an empty string to disable this feature.
73
+ * @property {string} itemColorKey - Default: 'color'
74
+ * @see https://antoniandre.github.io/wave-ui/w-select
75
+ */
76
+ itemColorKey?: string;
77
+ /**
78
+ * The property name (aka "key") in each item object where to find the value of the item.
79
+ * @property {string} itemValueKey - Default: 'value'
80
+ * @see https://antoniandre.github.io/wave-ui/w-select
81
+ */
82
+ itemValueKey?: string;
83
+ /**
84
+ * Applies a custom CSS class to each select list item.
85
+ * @property {string} itemClass
86
+ * @see https://antoniandre.github.io/wave-ui/w-select
87
+ */
88
+ itemClass?: string;
89
+ /**
90
+ * Applies a custom CSS class to the select list's floating menu element.
91
+ * @property {string} menuClass
92
+ * @see https://antoniandre.github.io/wave-ui/w-select
93
+ */
94
+ menuClass?: string;
95
+ /**
96
+ * TODO: Add Description
97
+ * @property {string} color - Default: 'primary'
98
+ * @see https://antoniandre.github.io/wave-ui/w-select
99
+ */
100
+ color?: string;
101
+ /**
102
+ * TODO: Add Description
103
+ * @property {string} bgColor
104
+ * @see https://antoniandre.github.io/wave-ui/w-select
105
+ */
106
+ bgColor?: string;
107
+ /**
108
+ * TODO: Add Description
109
+ * @property {string} labelColor - Default: 'primary'
110
+ * @see https://antoniandre.github.io/wave-ui/w-select
111
+ */
112
+ labelColor?: string;
113
+ /**
114
+ * TODO: Add Description
115
+ * @property {string} selectionColor - Default: 'primary'
116
+ * @see https://antoniandre.github.io/wave-ui/w-select
117
+ */
118
+ selectionColor?: string;
119
+ /**
120
+ * TODO: Add Description
121
+ * @property {boolean} outline
122
+ * @see https://antoniandre.github.io/wave-ui/w-select
123
+ */
124
+ outline?: boolean;
125
+ /**
126
+ * TODO: Add Description
127
+ * @property {boolean} round
128
+ * @see https://antoniandre.github.io/wave-ui/w-select
129
+ */
130
+ round?: boolean;
131
+ /**
132
+ * TODO: Add Description
133
+ * @property {boolean} shadow
134
+ * @see https://antoniandre.github.io/wave-ui/w-select
135
+ */
136
+ shadow?: boolean;
137
+ /**
138
+ * TODO: Add Description
139
+ * @property {boolean} tile
140
+ * @see https://antoniandre.github.io/wave-ui/w-select
141
+ */
142
+ tile?: boolean;
143
+ /**
144
+ * TODO: Add Description
145
+ * @property {boolean} returnObject
146
+ * @see https://antoniandre.github.io/wave-ui/w-select
147
+ */
148
+ returnObject?: boolean;
149
+ /**
150
+ * TODO: Add Description
151
+ * @property {boolean} noUnselect
152
+ * @see https://antoniandre.github.io/wave-ui/w-select
153
+ */
154
+ noUnselect?: boolean;
155
+ /**
156
+ * TODO: Add Description
157
+ * @property {{}} menuProps
158
+ * @see https://antoniandre.github.io/wave-ui/w-select
159
+ */
160
+ menuProps?: {};
161
+ /**
162
+ * TODO: Add Description
163
+ * @property {boolean} dark
164
+ * @see https://antoniandre.github.io/wave-ui/w-select
165
+ */
166
+ dark?: boolean;
167
+ /**
168
+ * TODO: Add Description
169
+ * @property {boolean} light
170
+ * @see https://antoniandre.github.io/wave-ui/w-select
171
+ */
172
+ light?: boolean;
173
+ /**
174
+ * TODO: Add Description
175
+ * @property {boolean} fitToContent
176
+ * @see https://antoniandre.github.io/wave-ui/w-select
177
+ */
178
+ fitToContent?: boolean;
179
+ }
180
+ export interface WaveSelectEmits {
181
+ /**
182
+ * Emitted each time the selected item(s) changes.<br>Updates the v-model value in Vue 2.x only.
183
+ * @param {any} renameMe1 - The new selected value(s). Array if <code>multiple</code> is set to <code>true</code>, single value otherwise.
184
+ * @see https://antoniandre.github.io/wave-ui/w-select
185
+ */
186
+ 'onInput'?: (renameMe1: any) => void;
187
+ /**
188
+ * Emitted each time the selected item(s) changes.<br>Updates the v-model value in Vue 3 only.
189
+ * @param {any} renameMe1 - The new selected value(s). Array if <code>multiple</code> is set to <code>true</code>, single value otherwise.
190
+ * @see https://antoniandre.github.io/wave-ui/w-select
191
+ */
192
+ 'onUpdate:modelValue'?: (renameMe1: any) => void;
193
+ /**
194
+ * Emitted on select focus.
195
+ * @param {any} renameMe1 - The associated focus DOM event.
196
+ * @see https://antoniandre.github.io/wave-ui/w-select
197
+ */
198
+ 'onFocus'?: (renameMe1: any) => void;
199
+ /**
200
+ * Emitted on select blur.
201
+ * @param {any} renameMe1 - The associated blur DOM event.
202
+ * @see https://antoniandre.github.io/wave-ui/w-select
203
+ */
204
+ 'onBlur'?: (renameMe1: any) => void;
205
+ /**
206
+ * Emitted on select list item click.
207
+ * @param {any} renameMe1 - The clicked item object.
208
+ * @see https://antoniandre.github.io/wave-ui/w-select
209
+ */
210
+ 'onItemClick'?: (renameMe1: any) => void;
211
+ /**
212
+ * Emitted on list item select (click or <kbd>enter</kbd> keydown).
213
+ * @param {any} renameMe1 - The selected item object.
214
+ * @see https://antoniandre.github.io/wave-ui/w-select
215
+ */
216
+ 'onItemSelect'?: (renameMe1: any) => void;
217
+ /**
218
+ * Emitted on click of the left inner icon, if any.
219
+ * @param {any} renameMe1 - The associated click DOM event.
220
+ * @see https://antoniandre.github.io/wave-ui/w-select
221
+ */
222
+ 'onClick:innerIconLeft'?: (renameMe1: any) => void;
223
+ /**
224
+ * Emitted on click of the right inner icon, if any.
225
+ * @param {any} renameMe1 - The associated click DOM event.
226
+ * @see https://antoniandre.github.io/wave-ui/w-select
227
+ */
228
+ 'onClick:innerIconRight'?: (renameMe1: any) => void;
229
+ }
230
+ export interface WaveSelectComputeds extends ComputedOptions {
231
+ /**
232
+ * TODO: Add Description
233
+ * @see https://antoniandre.github.io/wave-ui/w-select
234
+ */
235
+ selectItems: ComputedGetter<any>;
236
+ /**
237
+ * TODO: Add Description
238
+ * @see https://antoniandre.github.io/wave-ui/w-select
239
+ */
240
+ hasValue: ComputedGetter<any>;
241
+ /**
242
+ * TODO: Add Description
243
+ * @see https://antoniandre.github.io/wave-ui/w-select
244
+ */
245
+ hasLabel: ComputedGetter<any>;
246
+ /**
247
+ * TODO: Add Description
248
+ * @see https://antoniandre.github.io/wave-ui/w-select
249
+ */
250
+ showLabelInside: ComputedGetter<any>;
251
+ /**
252
+ * TODO: Add Description
253
+ * @see https://antoniandre.github.io/wave-ui/w-select
254
+ */
255
+ selectionString: ComputedGetter<any>;
256
+ /**
257
+ * TODO: Add Description
258
+ * @see https://antoniandre.github.io/wave-ui/w-select
259
+ */
260
+ classes: ComputedGetter<any>;
261
+ /**
262
+ * TODO: Add Description
263
+ * @see https://antoniandre.github.io/wave-ui/w-select
264
+ */
265
+ inputWrapClasses: ComputedGetter<any>;
266
+ }
267
+ export interface WaveSelectMethods extends MethodOptions {
268
+ /**
269
+ * TODO: Add Description
270
+ * @param {any} e
271
+ * @see https://antoniandre.github.io/wave-ui/w-select
272
+ */
273
+ onFocus(e: any): void;
274
+ /**
275
+ * TODO: Add Description
276
+ * @param {any} e
277
+ * @see https://antoniandre.github.io/wave-ui/w-select
278
+ */
279
+ onBlur(e: any): void;
280
+ /**
281
+ * TODO: Add Description
282
+ * @param {any} e
283
+ * @see https://antoniandre.github.io/wave-ui/w-select
284
+ */
285
+ onKeydown(e: any): void;
286
+ /**
287
+ * TODO: Add Description
288
+ * @param {any} items
289
+ * @see https://antoniandre.github.io/wave-ui/w-select
290
+ */
291
+ onInput(items: any): void;
292
+ /**
293
+ * TODO: Add Description
294
+ * @see https://antoniandre.github.io/wave-ui/w-select
295
+ */
296
+ onInputFieldClick(): void;
297
+ /**
298
+ * TODO: Add Description
299
+ * @param {any} e
300
+ * @see https://antoniandre.github.io/wave-ui/w-select
301
+ */
302
+ onListItemSelect(e: any): void;
303
+ /**
304
+ * TODO: Add Description
305
+ * @see https://antoniandre.github.io/wave-ui/w-select
306
+ */
307
+ onReset(): void;
308
+ /**
309
+ * TODO: Add Description
310
+ * @param {any} items
311
+ * @see https://antoniandre.github.io/wave-ui/w-select
312
+ */
313
+ checkSelection(items: any): void;
314
+ /**
315
+ * TODO: Add Description
316
+ * @see https://antoniandre.github.io/wave-ui/w-select
317
+ */
318
+ openMenu(): void;
319
+ /**
320
+ * TODO: Add Description
321
+ * @see https://antoniandre.github.io/wave-ui/w-select
322
+ */
323
+ closeMenu(): void;
324
+ }
325
+ export type WaveSelectSlots = SlotsType<{
326
+ /**
327
+ * The label content, if the `label` prop is not flexible enough.
328
+ * @see https://antoniandre.github.io/wave-ui/w-select
329
+ */
330
+ 'default': () => any;
331
+ /**
332
+ * Provide a custom template for the selection string.
333
+ * @param {any} item The selected item(s) object(s). May be an array if `multiple` is `true`, or a single object otherwise.
334
+ * @see https://antoniandre.github.io/wave-ui/w-select
335
+ */
336
+ 'selection': (_: {
337
+ item: any;
338
+ }) => any;
339
+ /**
340
+ * `x` is an integer starting at `1`.
341
+ * Provide a custom content for a single select list item: the item at the index `x`.
342
+ * @param {any} item The current item object.
343
+ * @param {any} selected A Boolean representing the selected state of the list item.
344
+ * @param {any} index The index of the list item.
345
+ * @see https://antoniandre.github.io/wave-ui/w-select
346
+ */
347
+ 'item.x': (_: {
348
+ item: any;
349
+ selected: any;
350
+ index: any;
351
+ }) => any;
352
+ /**
353
+ * Provide a common custom template for all the select list items.
354
+ * @param {any} item The current item object.
355
+ * @param {any} selected A Boolean representing the selected state of the list item.
356
+ * @param {any} index The index of the list item.
357
+ * @see https://antoniandre.github.io/wave-ui/w-select
358
+ */
359
+ 'item': (_: {
360
+ item: any;
361
+ selected: any;
362
+ index: any;
363
+ }) => any;
364
+ } & {
365
+ [k in `item${number}`]: (_: {
366
+ item: any;
367
+ selected: any;
368
+ index: any;
369
+ }) => any;
370
+ }>;
371
+ export type WSelect = DefineComponent<WaveSelectProps, {}, {}, WaveSelectComputeds, WaveSelectMethods, {}, {}, WaveSelectEmits & EmitsOptions, string, PublicProps, ResolveProps<WaveSelectProps & WaveSelectEmits, EmitsOptions>, ExtractDefaultPropTypes<WaveSelectProps>, WaveSelectSlots>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });