@beeq/react 1.8.0 → 1.8.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.
@@ -1,13 +1,4 @@
1
1
  'use client';
2
-
3
- /**
4
- * This file was automatically generated by the Stencil React Output Target.
5
- * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
6
- */
7
-
8
- /* eslint-disable */
9
-
10
- import { type BqAccordionCustomEvent, type BqBreadcrumbItemCustomEvent, type BqButtonCustomEvent, type BqCheckboxCustomEvent, type BqDatePickerCustomEvent, type BqInputCustomEvent, type BqOptionCustomEvent, type BqOptionListCustomEvent, type BqRadioCustomEvent, type BqRadioGroupCustomEvent, type BqSelectCustomEvent, type BqSideMenuCustomEvent, type BqSideMenuItemCustomEvent, type BqSliderCustomEvent, type BqStepItemCustomEvent, type BqSwitchCustomEvent, type BqTabCustomEvent, type BqTabGroupCustomEvent, type BqTagCustomEvent, type BqTextareaCustomEvent, type BqToastCustomEvent, type TSliderValue } from "@beeq/core";
11
2
  import { BqAccordionGroup as BqAccordionGroupElement, defineCustomElement as defineBqAccordionGroup } from "@beeq/core/dist/components/bq-accordion-group.js";
12
3
  import { BqAccordion as BqAccordionElement, defineCustomElement as defineBqAccordion } from "@beeq/core/dist/components/bq-accordion.js";
13
4
  import { BqAlert as BqAlertElement, defineCustomElement as defineBqAlert } from "@beeq/core/dist/components/bq-alert.js";
@@ -50,21 +41,9 @@ import { BqTag as BqTagElement, defineCustomElement as defineBqTag } from "@beeq
50
41
  import { BqTextarea as BqTextareaElement, defineCustomElement as defineBqTextarea } from "@beeq/core/dist/components/bq-textarea.js";
51
42
  import { BqToast as BqToastElement, defineCustomElement as defineBqToast } from "@beeq/core/dist/components/bq-toast.js";
52
43
  import { BqTooltip as BqTooltipElement, defineCustomElement as defineBqTooltip } from "@beeq/core/dist/components/bq-tooltip.js";
53
- import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
54
44
  import { createComponent } from '@stencil/react-output-target/runtime';
55
45
  import React from 'react';
56
-
57
- type BqAccordionEvents = {
58
- onBqBlur: EventName<BqAccordionCustomEvent<HTMLBqAccordionElement>>,
59
- onBqFocus: EventName<BqAccordionCustomEvent<HTMLBqAccordionElement>>,
60
- onBqOpen: EventName<BqAccordionCustomEvent<HTMLBqAccordionElement>>,
61
- onBqAfterOpen: EventName<BqAccordionCustomEvent<HTMLBqAccordionElement>>,
62
- onBqClose: EventName<BqAccordionCustomEvent<HTMLBqAccordionElement>>,
63
- onBqAfterClose: EventName<BqAccordionCustomEvent<HTMLBqAccordionElement>>,
64
- onBqClick: EventName<BqAccordionCustomEvent<HTMLBqAccordionElement>>
65
- };
66
-
67
- export const BqAccordion: StencilReactComponent<BqAccordionElement, BqAccordionEvents> = /*@__PURE__*/ createComponent<BqAccordionElement, BqAccordionEvents>({
46
+ export const BqAccordion = /*@__PURE__*/ createComponent({
68
47
  tagName: 'bq-accordion',
69
48
  elementClass: BqAccordionElement,
70
49
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -77,29 +56,18 @@ export const BqAccordion: StencilReactComponent<BqAccordionElement, BqAccordionE
77
56
  onBqClose: 'bqClose',
78
57
  onBqAfterClose: 'bqAfterClose',
79
58
  onBqClick: 'bqClick'
80
- } as BqAccordionEvents,
59
+ },
81
60
  defineCustomElement: defineBqAccordion
82
61
  });
83
-
84
- type BqAccordionGroupEvents = NonNullable<unknown>;
85
-
86
- export const BqAccordionGroup: StencilReactComponent<BqAccordionGroupElement, BqAccordionGroupEvents> = /*@__PURE__*/ createComponent<BqAccordionGroupElement, BqAccordionGroupEvents>({
62
+ export const BqAccordionGroup = /*@__PURE__*/ createComponent({
87
63
  tagName: 'bq-accordion-group',
88
64
  elementClass: BqAccordionGroupElement,
89
65
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
90
66
  react: React,
91
- events: {} as BqAccordionGroupEvents,
67
+ events: {},
92
68
  defineCustomElement: defineBqAccordionGroup
93
69
  });
94
-
95
- type BqAlertEvents = {
96
- onBqHide: EventName<CustomEvent<any>>,
97
- onBqShow: EventName<CustomEvent<any>>,
98
- onBqAfterShow: EventName<CustomEvent<any>>,
99
- onBqAfterHide: EventName<CustomEvent<any>>
100
- };
101
-
102
- export const BqAlert: StencilReactComponent<BqAlertElement, BqAlertEvents> = /*@__PURE__*/ createComponent<BqAlertElement, BqAlertEvents>({
70
+ export const BqAlert = /*@__PURE__*/ createComponent({
103
71
  tagName: 'bq-alert',
104
72
  elementClass: BqAlertElement,
105
73
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -109,50 +77,34 @@ export const BqAlert: StencilReactComponent<BqAlertElement, BqAlertEvents> = /*@
109
77
  onBqShow: 'bqShow',
110
78
  onBqAfterShow: 'bqAfterShow',
111
79
  onBqAfterHide: 'bqAfterHide'
112
- } as BqAlertEvents,
80
+ },
113
81
  defineCustomElement: defineBqAlert
114
82
  });
115
-
116
- type BqAvatarEvents = NonNullable<unknown>;
117
-
118
- export const BqAvatar: StencilReactComponent<BqAvatarElement, BqAvatarEvents> = /*@__PURE__*/ createComponent<BqAvatarElement, BqAvatarEvents>({
83
+ export const BqAvatar = /*@__PURE__*/ createComponent({
119
84
  tagName: 'bq-avatar',
120
85
  elementClass: BqAvatarElement,
121
86
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
122
87
  react: React,
123
- events: {} as BqAvatarEvents,
88
+ events: {},
124
89
  defineCustomElement: defineBqAvatar
125
90
  });
126
-
127
- type BqBadgeEvents = NonNullable<unknown>;
128
-
129
- export const BqBadge: StencilReactComponent<BqBadgeElement, BqBadgeEvents> = /*@__PURE__*/ createComponent<BqBadgeElement, BqBadgeEvents>({
91
+ export const BqBadge = /*@__PURE__*/ createComponent({
130
92
  tagName: 'bq-badge',
131
93
  elementClass: BqBadgeElement,
132
94
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
133
95
  react: React,
134
- events: {} as BqBadgeEvents,
96
+ events: {},
135
97
  defineCustomElement: defineBqBadge
136
98
  });
137
-
138
- type BqBreadcrumbEvents = NonNullable<unknown>;
139
-
140
- export const BqBreadcrumb: StencilReactComponent<BqBreadcrumbElement, BqBreadcrumbEvents> = /*@__PURE__*/ createComponent<BqBreadcrumbElement, BqBreadcrumbEvents>({
99
+ export const BqBreadcrumb = /*@__PURE__*/ createComponent({
141
100
  tagName: 'bq-breadcrumb',
142
101
  elementClass: BqBreadcrumbElement,
143
102
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
144
103
  react: React,
145
- events: {} as BqBreadcrumbEvents,
104
+ events: {},
146
105
  defineCustomElement: defineBqBreadcrumb
147
106
  });
148
-
149
- type BqBreadcrumbItemEvents = {
150
- onBqBlur: EventName<BqBreadcrumbItemCustomEvent<HTMLBqBreadcrumbItemElement>>,
151
- onBqFocus: EventName<BqBreadcrumbItemCustomEvent<HTMLBqBreadcrumbItemElement>>,
152
- onBqClick: EventName<BqBreadcrumbItemCustomEvent<HTMLBqBreadcrumbItemElement>>
153
- };
154
-
155
- export const BqBreadcrumbItem: StencilReactComponent<BqBreadcrumbItemElement, BqBreadcrumbItemEvents> = /*@__PURE__*/ createComponent<BqBreadcrumbItemElement, BqBreadcrumbItemEvents>({
107
+ export const BqBreadcrumbItem = /*@__PURE__*/ createComponent({
156
108
  tagName: 'bq-breadcrumb-item',
157
109
  elementClass: BqBreadcrumbItemElement,
158
110
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -161,17 +113,10 @@ export const BqBreadcrumbItem: StencilReactComponent<BqBreadcrumbItemElement, Bq
161
113
  onBqBlur: 'bqBlur',
162
114
  onBqFocus: 'bqFocus',
163
115
  onBqClick: 'bqClick'
164
- } as BqBreadcrumbItemEvents,
116
+ },
165
117
  defineCustomElement: defineBqBreadcrumbItem
166
118
  });
167
-
168
- type BqButtonEvents = {
169
- onBqBlur: EventName<BqButtonCustomEvent<HTMLBqButtonElement>>,
170
- onBqFocus: EventName<BqButtonCustomEvent<HTMLBqButtonElement>>,
171
- onBqClick: EventName<BqButtonCustomEvent<HTMLBqButtonElement>>
172
- };
173
-
174
- export const BqButton: StencilReactComponent<BqButtonElement, BqButtonEvents> = /*@__PURE__*/ createComponent<BqButtonElement, BqButtonEvents>({
119
+ export const BqButton = /*@__PURE__*/ createComponent({
175
120
  tagName: 'bq-button',
176
121
  elementClass: BqButtonElement,
177
122
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -180,28 +125,18 @@ export const BqButton: StencilReactComponent<BqButtonElement, BqButtonEvents> =
180
125
  onBqBlur: 'bqBlur',
181
126
  onBqFocus: 'bqFocus',
182
127
  onBqClick: 'bqClick'
183
- } as BqButtonEvents,
128
+ },
184
129
  defineCustomElement: defineBqButton
185
130
  });
186
-
187
- type BqCardEvents = NonNullable<unknown>;
188
-
189
- export const BqCard: StencilReactComponent<BqCardElement, BqCardEvents> = /*@__PURE__*/ createComponent<BqCardElement, BqCardEvents>({
131
+ export const BqCard = /*@__PURE__*/ createComponent({
190
132
  tagName: 'bq-card',
191
133
  elementClass: BqCardElement,
192
134
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
193
135
  react: React,
194
- events: {} as BqCardEvents,
136
+ events: {},
195
137
  defineCustomElement: defineBqCard
196
138
  });
197
-
198
- type BqCheckboxEvents = {
199
- onBqChange: EventName<CustomEvent<{ checked: boolean }>>,
200
- onBqFocus: EventName<BqCheckboxCustomEvent<HTMLBqCheckboxElement>>,
201
- onBqBlur: EventName<BqCheckboxCustomEvent<HTMLBqCheckboxElement>>
202
- };
203
-
204
- export const BqCheckbox: StencilReactComponent<BqCheckboxElement, BqCheckboxEvents> = /*@__PURE__*/ createComponent<BqCheckboxElement, BqCheckboxEvents>({
139
+ export const BqCheckbox = /*@__PURE__*/ createComponent({
205
140
  tagName: 'bq-checkbox',
206
141
  elementClass: BqCheckboxElement,
207
142
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -210,18 +145,10 @@ export const BqCheckbox: StencilReactComponent<BqCheckboxElement, BqCheckboxEven
210
145
  onBqChange: 'bqChange',
211
146
  onBqFocus: 'bqFocus',
212
147
  onBqBlur: 'bqBlur'
213
- } as BqCheckboxEvents,
148
+ },
214
149
  defineCustomElement: defineBqCheckbox
215
150
  });
216
-
217
- type BqDatePickerEvents = {
218
- onBqBlur: EventName<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>,
219
- onBqChange: EventName<BqDatePickerCustomEvent<{ value: string; el: HTMLBqDatePickerElement }>>,
220
- onBqClear: EventName<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>,
221
- onBqFocus: EventName<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>
222
- };
223
-
224
- export const BqDatePicker: StencilReactComponent<BqDatePickerElement, BqDatePickerEvents> = /*@__PURE__*/ createComponent<BqDatePickerElement, BqDatePickerEvents>({
151
+ export const BqDatePicker = /*@__PURE__*/ createComponent({
225
152
  tagName: 'bq-date-picker',
226
153
  elementClass: BqDatePickerElement,
227
154
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -231,19 +158,10 @@ export const BqDatePicker: StencilReactComponent<BqDatePickerElement, BqDatePick
231
158
  onBqChange: 'bqChange',
232
159
  onBqClear: 'bqClear',
233
160
  onBqFocus: 'bqFocus'
234
- } as BqDatePickerEvents,
161
+ },
235
162
  defineCustomElement: defineBqDatePicker
236
163
  });
237
-
238
- type BqDialogEvents = {
239
- onBqCancel: EventName<CustomEvent<void>>,
240
- onBqClose: EventName<CustomEvent<void>>,
241
- onBqOpen: EventName<CustomEvent<void>>,
242
- onBqAfterOpen: EventName<CustomEvent<void>>,
243
- onBqAfterClose: EventName<CustomEvent<void>>
244
- };
245
-
246
- export const BqDialog: StencilReactComponent<BqDialogElement, BqDialogEvents> = /*@__PURE__*/ createComponent<BqDialogElement, BqDialogEvents>({
164
+ export const BqDialog = /*@__PURE__*/ createComponent({
247
165
  tagName: 'bq-dialog',
248
166
  elementClass: BqDialogElement,
249
167
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -254,29 +172,18 @@ export const BqDialog: StencilReactComponent<BqDialogElement, BqDialogEvents> =
254
172
  onBqOpen: 'bqOpen',
255
173
  onBqAfterOpen: 'bqAfterOpen',
256
174
  onBqAfterClose: 'bqAfterClose'
257
- } as BqDialogEvents,
175
+ },
258
176
  defineCustomElement: defineBqDialog
259
177
  });
260
-
261
- type BqDividerEvents = NonNullable<unknown>;
262
-
263
- export const BqDivider: StencilReactComponent<BqDividerElement, BqDividerEvents> = /*@__PURE__*/ createComponent<BqDividerElement, BqDividerEvents>({
178
+ export const BqDivider = /*@__PURE__*/ createComponent({
264
179
  tagName: 'bq-divider',
265
180
  elementClass: BqDividerElement,
266
181
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
267
182
  react: React,
268
- events: {} as BqDividerEvents,
183
+ events: {},
269
184
  defineCustomElement: defineBqDivider
270
185
  });
271
-
272
- type BqDrawerEvents = {
273
- onBqClose: EventName<CustomEvent<any>>,
274
- onBqOpen: EventName<CustomEvent<any>>,
275
- onBqAfterOpen: EventName<CustomEvent<any>>,
276
- onBqAfterClose: EventName<CustomEvent<any>>
277
- };
278
-
279
- export const BqDrawer: StencilReactComponent<BqDrawerElement, BqDrawerEvents> = /*@__PURE__*/ createComponent<BqDrawerElement, BqDrawerEvents>({
186
+ export const BqDrawer = /*@__PURE__*/ createComponent({
280
187
  tagName: 'bq-drawer',
281
188
  elementClass: BqDrawerElement,
282
189
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -286,52 +193,34 @@ export const BqDrawer: StencilReactComponent<BqDrawerElement, BqDrawerEvents> =
286
193
  onBqOpen: 'bqOpen',
287
194
  onBqAfterOpen: 'bqAfterOpen',
288
195
  onBqAfterClose: 'bqAfterClose'
289
- } as BqDrawerEvents,
196
+ },
290
197
  defineCustomElement: defineBqDrawer
291
198
  });
292
-
293
- type BqDropdownEvents = { onBqOpen: EventName<CustomEvent<{ open: boolean }>> };
294
-
295
- export const BqDropdown: StencilReactComponent<BqDropdownElement, BqDropdownEvents> = /*@__PURE__*/ createComponent<BqDropdownElement, BqDropdownEvents>({
199
+ export const BqDropdown = /*@__PURE__*/ createComponent({
296
200
  tagName: 'bq-dropdown',
297
201
  elementClass: BqDropdownElement,
298
202
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
299
203
  react: React,
300
- events: { onBqOpen: 'bqOpen' } as BqDropdownEvents,
204
+ events: { onBqOpen: 'bqOpen' },
301
205
  defineCustomElement: defineBqDropdown
302
206
  });
303
-
304
- type BqEmptyStateEvents = NonNullable<unknown>;
305
-
306
- export const BqEmptyState: StencilReactComponent<BqEmptyStateElement, BqEmptyStateEvents> = /*@__PURE__*/ createComponent<BqEmptyStateElement, BqEmptyStateEvents>({
207
+ export const BqEmptyState = /*@__PURE__*/ createComponent({
307
208
  tagName: 'bq-empty-state',
308
209
  elementClass: BqEmptyStateElement,
309
210
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
310
211
  react: React,
311
- events: {} as BqEmptyStateEvents,
212
+ events: {},
312
213
  defineCustomElement: defineBqEmptyState
313
214
  });
314
-
315
- type BqIconEvents = { onSvgLoaded: EventName<CustomEvent<any>> };
316
-
317
- export const BqIcon: StencilReactComponent<BqIconElement, BqIconEvents> = /*@__PURE__*/ createComponent<BqIconElement, BqIconEvents>({
215
+ export const BqIcon = /*@__PURE__*/ createComponent({
318
216
  tagName: 'bq-icon',
319
217
  elementClass: BqIconElement,
320
218
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
321
219
  react: React,
322
- events: { onSvgLoaded: 'svgLoaded' } as BqIconEvents,
220
+ events: { onSvgLoaded: 'svgLoaded' },
323
221
  defineCustomElement: defineBqIcon
324
222
  });
325
-
326
- type BqInputEvents = {
327
- onBqBlur: EventName<BqInputCustomEvent<HTMLBqInputElement>>,
328
- onBqChange: EventName<BqInputCustomEvent<{ value: string | number | string[]; el: HTMLBqInputElement }>>,
329
- onBqClear: EventName<BqInputCustomEvent<HTMLBqInputElement>>,
330
- onBqFocus: EventName<BqInputCustomEvent<HTMLBqInputElement>>,
331
- onBqInput: EventName<BqInputCustomEvent<{ value: string | number | string[]; el: HTMLBqInputElement }>>
332
- };
333
-
334
- export const BqInput: StencilReactComponent<BqInputElement, BqInputEvents> = /*@__PURE__*/ createComponent<BqInputElement, BqInputEvents>({
223
+ export const BqInput = /*@__PURE__*/ createComponent({
335
224
  tagName: 'bq-input',
336
225
  elementClass: BqInputElement,
337
226
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -342,18 +231,10 @@ export const BqInput: StencilReactComponent<BqInputElement, BqInputEvents> = /*@
342
231
  onBqClear: 'bqClear',
343
232
  onBqFocus: 'bqFocus',
344
233
  onBqInput: 'bqInput'
345
- } as BqInputEvents,
234
+ },
346
235
  defineCustomElement: defineBqInput
347
236
  });
348
-
349
- type BqNotificationEvents = {
350
- onBqHide: EventName<CustomEvent<any>>,
351
- onBqShow: EventName<CustomEvent<any>>,
352
- onBqAfterOpen: EventName<CustomEvent<any>>,
353
- onBqAfterClose: EventName<CustomEvent<any>>
354
- };
355
-
356
- export const BqNotification: StencilReactComponent<BqNotificationElement, BqNotificationEvents> = /*@__PURE__*/ createComponent<BqNotificationElement, BqNotificationEvents>({
237
+ export const BqNotification = /*@__PURE__*/ createComponent({
357
238
  tagName: 'bq-notification',
358
239
  elementClass: BqNotificationElement,
359
240
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -363,18 +244,10 @@ export const BqNotification: StencilReactComponent<BqNotificationElement, BqNoti
363
244
  onBqShow: 'bqShow',
364
245
  onBqAfterOpen: 'bqAfterOpen',
365
246
  onBqAfterClose: 'bqAfterClose'
366
- } as BqNotificationEvents,
247
+ },
367
248
  defineCustomElement: defineBqNotification
368
249
  });
369
-
370
- type BqOptionEvents = {
371
- onBqBlur: EventName<BqOptionCustomEvent<HTMLBqOptionElement>>,
372
- onBqFocus: EventName<BqOptionCustomEvent<HTMLBqOptionElement>>,
373
- onBqClick: EventName<BqOptionCustomEvent<HTMLBqOptionElement>>,
374
- onBqEnter: EventName<BqOptionCustomEvent<HTMLBqOptionElement>>
375
- };
376
-
377
- export const BqOption: StencilReactComponent<BqOptionElement, BqOptionEvents> = /*@__PURE__*/ createComponent<BqOptionElement, BqOptionEvents>({
250
+ export const BqOption = /*@__PURE__*/ createComponent({
378
251
  tagName: 'bq-option',
379
252
  elementClass: BqOptionElement,
380
253
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -384,73 +257,50 @@ export const BqOption: StencilReactComponent<BqOptionElement, BqOptionEvents> =
384
257
  onBqFocus: 'bqFocus',
385
258
  onBqClick: 'bqClick',
386
259
  onBqEnter: 'bqEnter'
387
- } as BqOptionEvents,
260
+ },
388
261
  defineCustomElement: defineBqOption
389
262
  });
390
-
391
- type BqOptionGroupEvents = NonNullable<unknown>;
392
-
393
- export const BqOptionGroup: StencilReactComponent<BqOptionGroupElement, BqOptionGroupEvents> = /*@__PURE__*/ createComponent<BqOptionGroupElement, BqOptionGroupEvents>({
263
+ export const BqOptionGroup = /*@__PURE__*/ createComponent({
394
264
  tagName: 'bq-option-group',
395
265
  elementClass: BqOptionGroupElement,
396
266
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
397
267
  react: React,
398
- events: {} as BqOptionGroupEvents,
268
+ events: {},
399
269
  defineCustomElement: defineBqOptionGroup
400
270
  });
401
-
402
- type BqOptionListEvents = { onBqSelect: EventName<BqOptionListCustomEvent<{ value: string; item: HTMLBqOptionElement }>> };
403
-
404
- export const BqOptionList: StencilReactComponent<BqOptionListElement, BqOptionListEvents> = /*@__PURE__*/ createComponent<BqOptionListElement, BqOptionListEvents>({
271
+ export const BqOptionList = /*@__PURE__*/ createComponent({
405
272
  tagName: 'bq-option-list',
406
273
  elementClass: BqOptionListElement,
407
274
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
408
275
  react: React,
409
- events: { onBqSelect: 'bqSelect' } as BqOptionListEvents,
276
+ events: { onBqSelect: 'bqSelect' },
410
277
  defineCustomElement: defineBqOptionList
411
278
  });
412
-
413
- type BqPageTitleEvents = NonNullable<unknown>;
414
-
415
- export const BqPageTitle: StencilReactComponent<BqPageTitleElement, BqPageTitleEvents> = /*@__PURE__*/ createComponent<BqPageTitleElement, BqPageTitleEvents>({
279
+ export const BqPageTitle = /*@__PURE__*/ createComponent({
416
280
  tagName: 'bq-page-title',
417
281
  elementClass: BqPageTitleElement,
418
282
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
419
283
  react: React,
420
- events: {} as BqPageTitleEvents,
284
+ events: {},
421
285
  defineCustomElement: defineBqPageTitle
422
286
  });
423
-
424
- type BqPanelEvents = NonNullable<unknown>;
425
-
426
- export const BqPanel: StencilReactComponent<BqPanelElement, BqPanelEvents> = /*@__PURE__*/ createComponent<BqPanelElement, BqPanelEvents>({
287
+ export const BqPanel = /*@__PURE__*/ createComponent({
427
288
  tagName: 'bq-panel',
428
289
  elementClass: BqPanelElement,
429
290
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
430
291
  react: React,
431
- events: {} as BqPanelEvents,
292
+ events: {},
432
293
  defineCustomElement: defineBqPanel
433
294
  });
434
-
435
- type BqProgressEvents = NonNullable<unknown>;
436
-
437
- export const BqProgress: StencilReactComponent<BqProgressElement, BqProgressEvents> = /*@__PURE__*/ createComponent<BqProgressElement, BqProgressEvents>({
295
+ export const BqProgress = /*@__PURE__*/ createComponent({
438
296
  tagName: 'bq-progress',
439
297
  elementClass: BqProgressElement,
440
298
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
441
299
  react: React,
442
- events: {} as BqProgressEvents,
300
+ events: {},
443
301
  defineCustomElement: defineBqProgress
444
302
  });
445
-
446
- type BqRadioEvents = {
447
- onBqClick: EventName<BqRadioCustomEvent<HTMLBqRadioElement>>,
448
- onBqFocus: EventName<BqRadioCustomEvent<HTMLBqRadioElement>>,
449
- onBqBlur: EventName<BqRadioCustomEvent<HTMLBqRadioElement>>,
450
- onBqKeyDown: EventName<BqRadioCustomEvent<KeyboardEvent>>
451
- };
452
-
453
- export const BqRadio: StencilReactComponent<BqRadioElement, BqRadioEvents> = /*@__PURE__*/ createComponent<BqRadioElement, BqRadioEvents>({
303
+ export const BqRadio = /*@__PURE__*/ createComponent({
454
304
  tagName: 'bq-radio',
455
305
  elementClass: BqRadioElement,
456
306
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -460,29 +310,18 @@ export const BqRadio: StencilReactComponent<BqRadioElement, BqRadioEvents> = /*@
460
310
  onBqFocus: 'bqFocus',
461
311
  onBqBlur: 'bqBlur',
462
312
  onBqKeyDown: 'bqKeyDown'
463
- } as BqRadioEvents,
313
+ },
464
314
  defineCustomElement: defineBqRadio
465
315
  });
466
-
467
- type BqRadioGroupEvents = { onBqChange: EventName<BqRadioGroupCustomEvent<{ value: string; target: HTMLBqRadioElement }>> };
468
-
469
- export const BqRadioGroup: StencilReactComponent<BqRadioGroupElement, BqRadioGroupEvents> = /*@__PURE__*/ createComponent<BqRadioGroupElement, BqRadioGroupEvents>({
316
+ export const BqRadioGroup = /*@__PURE__*/ createComponent({
470
317
  tagName: 'bq-radio-group',
471
318
  elementClass: BqRadioGroupElement,
472
319
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
473
320
  react: React,
474
- events: { onBqChange: 'bqChange' } as BqRadioGroupEvents,
321
+ events: { onBqChange: 'bqChange' },
475
322
  defineCustomElement: defineBqRadioGroup
476
323
  });
477
-
478
- type BqSelectEvents = {
479
- onBqBlur: EventName<BqSelectCustomEvent<HTMLBqSelectElement>>,
480
- onBqClear: EventName<BqSelectCustomEvent<HTMLBqSelectElement>>,
481
- onBqFocus: EventName<BqSelectCustomEvent<HTMLBqSelectElement>>,
482
- onBqSelect: EventName<BqSelectCustomEvent<{ value: string | number | string[]; item: HTMLBqOptionElement }>>
483
- };
484
-
485
- export const BqSelect: StencilReactComponent<BqSelectElement, BqSelectEvents> = /*@__PURE__*/ createComponent<BqSelectElement, BqSelectEvents>({
324
+ export const BqSelect = /*@__PURE__*/ createComponent({
486
325
  tagName: 'bq-select',
487
326
  elementClass: BqSelectElement,
488
327
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -492,16 +331,10 @@ export const BqSelect: StencilReactComponent<BqSelectElement, BqSelectEvents> =
492
331
  onBqClear: 'bqClear',
493
332
  onBqFocus: 'bqFocus',
494
333
  onBqSelect: 'bqSelect'
495
- } as BqSelectEvents,
334
+ },
496
335
  defineCustomElement: defineBqSelect
497
336
  });
498
-
499
- type BqSideMenuEvents = {
500
- onBqCollapse: EventName<CustomEvent<{ collapse: boolean }>>,
501
- onBqSelect: EventName<BqSideMenuCustomEvent<HTMLBqSideMenuItemElement>>
502
- };
503
-
504
- export const BqSideMenu: StencilReactComponent<BqSideMenuElement, BqSideMenuEvents> = /*@__PURE__*/ createComponent<BqSideMenuElement, BqSideMenuEvents>({
337
+ export const BqSideMenu = /*@__PURE__*/ createComponent({
505
338
  tagName: 'bq-side-menu',
506
339
  elementClass: BqSideMenuElement,
507
340
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -509,17 +342,10 @@ export const BqSideMenu: StencilReactComponent<BqSideMenuElement, BqSideMenuEven
509
342
  events: {
510
343
  onBqCollapse: 'bqCollapse',
511
344
  onBqSelect: 'bqSelect'
512
- } as BqSideMenuEvents,
345
+ },
513
346
  defineCustomElement: defineBqSideMenu
514
347
  });
515
-
516
- type BqSideMenuItemEvents = {
517
- onBqBlur: EventName<BqSideMenuItemCustomEvent<HTMLBqSideMenuItemElement>>,
518
- onBqFocus: EventName<BqSideMenuItemCustomEvent<HTMLBqSideMenuItemElement>>,
519
- onBqClick: EventName<BqSideMenuItemCustomEvent<HTMLBqSideMenuItemElement>>
520
- };
521
-
522
- export const BqSideMenuItem: StencilReactComponent<BqSideMenuItemElement, BqSideMenuItemEvents> = /*@__PURE__*/ createComponent<BqSideMenuItemElement, BqSideMenuItemEvents>({
348
+ export const BqSideMenuItem = /*@__PURE__*/ createComponent({
523
349
  tagName: 'bq-side-menu-item',
524
350
  elementClass: BqSideMenuItemElement,
525
351
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -528,17 +354,10 @@ export const BqSideMenuItem: StencilReactComponent<BqSideMenuItemElement, BqSide
528
354
  onBqBlur: 'bqBlur',
529
355
  onBqFocus: 'bqFocus',
530
356
  onBqClick: 'bqClick'
531
- } as BqSideMenuItemEvents,
357
+ },
532
358
  defineCustomElement: defineBqSideMenuItem
533
359
  });
534
-
535
- type BqSliderEvents = {
536
- onBqChange: EventName<BqSliderCustomEvent<{ value: Exclude<TSliderValue, string>; el: HTMLBqSliderElement }>>,
537
- onBqBlur: EventName<BqSliderCustomEvent<HTMLBqSliderElement>>,
538
- onBqFocus: EventName<BqSliderCustomEvent<HTMLBqSliderElement>>
539
- };
540
-
541
- export const BqSlider: StencilReactComponent<BqSliderElement, BqSliderEvents> = /*@__PURE__*/ createComponent<BqSliderElement, BqSliderEvents>({
360
+ export const BqSlider = /*@__PURE__*/ createComponent({
542
361
  tagName: 'bq-slider',
543
362
  elementClass: BqSliderElement,
544
363
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -547,61 +366,42 @@ export const BqSlider: StencilReactComponent<BqSliderElement, BqSliderEvents> =
547
366
  onBqChange: 'bqChange',
548
367
  onBqBlur: 'bqBlur',
549
368
  onBqFocus: 'bqFocus'
550
- } as BqSliderEvents,
369
+ },
551
370
  defineCustomElement: defineBqSlider
552
371
  });
553
-
554
- type BqSpinnerEvents = NonNullable<unknown>;
555
-
556
- export const BqSpinner: StencilReactComponent<BqSpinnerElement, BqSpinnerEvents> = /*@__PURE__*/ createComponent<BqSpinnerElement, BqSpinnerEvents>({
372
+ export const BqSpinner = /*@__PURE__*/ createComponent({
557
373
  tagName: 'bq-spinner',
558
374
  elementClass: BqSpinnerElement,
559
375
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
560
376
  react: React,
561
- events: {} as BqSpinnerEvents,
377
+ events: {},
562
378
  defineCustomElement: defineBqSpinner
563
379
  });
564
-
565
- type BqStatusEvents = NonNullable<unknown>;
566
-
567
- export const BqStatus: StencilReactComponent<BqStatusElement, BqStatusEvents> = /*@__PURE__*/ createComponent<BqStatusElement, BqStatusEvents>({
380
+ export const BqStatus = /*@__PURE__*/ createComponent({
568
381
  tagName: 'bq-status',
569
382
  elementClass: BqStatusElement,
570
383
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
571
384
  react: React,
572
- events: {} as BqStatusEvents,
385
+ events: {},
573
386
  defineCustomElement: defineBqStatus
574
387
  });
575
-
576
- type BqStepItemEvents = { onBqClick: EventName<BqStepItemCustomEvent<{ target: HTMLBqStepItemElement; value: string }>> };
577
-
578
- export const BqStepItem: StencilReactComponent<BqStepItemElement, BqStepItemEvents> = /*@__PURE__*/ createComponent<BqStepItemElement, BqStepItemEvents>({
388
+ export const BqStepItem = /*@__PURE__*/ createComponent({
579
389
  tagName: 'bq-step-item',
580
390
  elementClass: BqStepItemElement,
581
391
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
582
392
  react: React,
583
- events: { onBqClick: 'bqClick' } as BqStepItemEvents,
393
+ events: { onBqClick: 'bqClick' },
584
394
  defineCustomElement: defineBqStepItem
585
395
  });
586
-
587
- type BqStepsEvents = NonNullable<unknown>;
588
-
589
- export const BqSteps: StencilReactComponent<BqStepsElement, BqStepsEvents> = /*@__PURE__*/ createComponent<BqStepsElement, BqStepsEvents>({
396
+ export const BqSteps = /*@__PURE__*/ createComponent({
590
397
  tagName: 'bq-steps',
591
398
  elementClass: BqStepsElement,
592
399
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
593
400
  react: React,
594
- events: {} as BqStepsEvents,
401
+ events: {},
595
402
  defineCustomElement: defineBqSteps
596
403
  });
597
-
598
- type BqSwitchEvents = {
599
- onBqChange: EventName<CustomEvent<{ checked: boolean }>>,
600
- onBqFocus: EventName<BqSwitchCustomEvent<HTMLBqSwitchElement>>,
601
- onBqBlur: EventName<BqSwitchCustomEvent<HTMLBqSwitchElement>>
602
- };
603
-
604
- export const BqSwitch: StencilReactComponent<BqSwitchElement, BqSwitchEvents> = /*@__PURE__*/ createComponent<BqSwitchElement, BqSwitchEvents>({
404
+ export const BqSwitch = /*@__PURE__*/ createComponent({
605
405
  tagName: 'bq-switch',
606
406
  elementClass: BqSwitchElement,
607
407
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -610,18 +410,10 @@ export const BqSwitch: StencilReactComponent<BqSwitchElement, BqSwitchEvents> =
610
410
  onBqChange: 'bqChange',
611
411
  onBqFocus: 'bqFocus',
612
412
  onBqBlur: 'bqBlur'
613
- } as BqSwitchEvents,
413
+ },
614
414
  defineCustomElement: defineBqSwitch
615
415
  });
616
-
617
- type BqTabEvents = {
618
- onBqClick: EventName<BqTabCustomEvent<HTMLBqTabElement>>,
619
- onBqFocus: EventName<BqTabCustomEvent<HTMLBqTabElement>>,
620
- onBqBlur: EventName<BqTabCustomEvent<HTMLBqTabElement>>,
621
- onBqKeyDown: EventName<BqTabCustomEvent<KeyboardEvent>>
622
- };
623
-
624
- export const BqTab: StencilReactComponent<BqTabElement, BqTabEvents> = /*@__PURE__*/ createComponent<BqTabElement, BqTabEvents>({
416
+ export const BqTab = /*@__PURE__*/ createComponent({
625
417
  tagName: 'bq-tab',
626
418
  elementClass: BqTabElement,
627
419
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -631,30 +423,18 @@ export const BqTab: StencilReactComponent<BqTabElement, BqTabEvents> = /*@__PURE
631
423
  onBqFocus: 'bqFocus',
632
424
  onBqBlur: 'bqBlur',
633
425
  onBqKeyDown: 'bqKeyDown'
634
- } as BqTabEvents,
426
+ },
635
427
  defineCustomElement: defineBqTab
636
428
  });
637
-
638
- type BqTabGroupEvents = { onBqChange: EventName<BqTabGroupCustomEvent<{ target: HTMLBqTabElement; value: string }>> };
639
-
640
- export const BqTabGroup: StencilReactComponent<BqTabGroupElement, BqTabGroupEvents> = /*@__PURE__*/ createComponent<BqTabGroupElement, BqTabGroupEvents>({
429
+ export const BqTabGroup = /*@__PURE__*/ createComponent({
641
430
  tagName: 'bq-tab-group',
642
431
  elementClass: BqTabGroupElement,
643
432
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
644
433
  react: React,
645
- events: { onBqChange: 'bqChange' } as BqTabGroupEvents,
434
+ events: { onBqChange: 'bqChange' },
646
435
  defineCustomElement: defineBqTabGroup
647
436
  });
648
-
649
- type BqTagEvents = {
650
- onBqClose: EventName<CustomEvent<any>>,
651
- onBqOpen: EventName<CustomEvent<any>>,
652
- onBqBlur: EventName<BqTagCustomEvent<HTMLBqTagElement>>,
653
- onBqClick: EventName<BqTagCustomEvent<HTMLBqTagElement>>,
654
- onBqFocus: EventName<BqTagCustomEvent<HTMLBqTagElement>>
655
- };
656
-
657
- export const BqTag: StencilReactComponent<BqTagElement, BqTagEvents> = /*@__PURE__*/ createComponent<BqTagElement, BqTagEvents>({
437
+ export const BqTag = /*@__PURE__*/ createComponent({
658
438
  tagName: 'bq-tag',
659
439
  elementClass: BqTagElement,
660
440
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -665,19 +445,10 @@ export const BqTag: StencilReactComponent<BqTagElement, BqTagEvents> = /*@__PURE
665
445
  onBqBlur: 'bqBlur',
666
446
  onBqClick: 'bqClick',
667
447
  onBqFocus: 'bqFocus'
668
- } as BqTagEvents,
448
+ },
669
449
  defineCustomElement: defineBqTag
670
450
  });
671
-
672
- type BqTextareaEvents = {
673
- onBqBlur: EventName<BqTextareaCustomEvent<HTMLBqTextareaElement>>,
674
- onBqChange: EventName<BqTextareaCustomEvent<{ value: string; el: HTMLBqTextareaElement }>>,
675
- onBqClear: EventName<BqTextareaCustomEvent<HTMLBqTextareaElement>>,
676
- onBqFocus: EventName<BqTextareaCustomEvent<HTMLBqTextareaElement>>,
677
- onBqInput: EventName<BqTextareaCustomEvent<{ value: string; el: HTMLBqTextareaElement }>>
678
- };
679
-
680
- export const BqTextarea: StencilReactComponent<BqTextareaElement, BqTextareaEvents> = /*@__PURE__*/ createComponent<BqTextareaElement, BqTextareaEvents>({
451
+ export const BqTextarea = /*@__PURE__*/ createComponent({
681
452
  tagName: 'bq-textarea',
682
453
  elementClass: BqTextareaElement,
683
454
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -688,16 +459,10 @@ export const BqTextarea: StencilReactComponent<BqTextareaElement, BqTextareaEven
688
459
  onBqClear: 'bqClear',
689
460
  onBqFocus: 'bqFocus',
690
461
  onBqInput: 'bqInput'
691
- } as BqTextareaEvents,
462
+ },
692
463
  defineCustomElement: defineBqTextarea
693
464
  });
694
-
695
- type BqToastEvents = {
696
- onBqHide: EventName<BqToastCustomEvent<HTMLBqToastElement>>,
697
- onBqShow: EventName<BqToastCustomEvent<HTMLBqToastElement>>
698
- };
699
-
700
- export const BqToast: StencilReactComponent<BqToastElement, BqToastEvents> = /*@__PURE__*/ createComponent<BqToastElement, BqToastEvents>({
465
+ export const BqToast = /*@__PURE__*/ createComponent({
701
466
  tagName: 'bq-toast',
702
467
  elementClass: BqToastElement,
703
468
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
@@ -705,17 +470,15 @@ export const BqToast: StencilReactComponent<BqToastElement, BqToastEvents> = /*@
705
470
  events: {
706
471
  onBqHide: 'bqHide',
707
472
  onBqShow: 'bqShow'
708
- } as BqToastEvents,
473
+ },
709
474
  defineCustomElement: defineBqToast
710
475
  });
711
-
712
- type BqTooltipEvents = NonNullable<unknown>;
713
-
714
- export const BqTooltip: StencilReactComponent<BqTooltipElement, BqTooltipEvents> = /*@__PURE__*/ createComponent<BqTooltipElement, BqTooltipEvents>({
476
+ export const BqTooltip = /*@__PURE__*/ createComponent({
715
477
  tagName: 'bq-tooltip',
716
478
  elementClass: BqTooltipElement,
717
479
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
718
480
  react: React,
719
- events: {} as BqTooltipEvents,
481
+ events: {},
720
482
  defineCustomElement: defineBqTooltip
721
483
  });
484
+ //# sourceMappingURL=components.js.map